import { CommonModule } from '@angular/common';
import * as i0 from '@angular/core';
import { Inject, Component, Injectable } from '@angular/core';
import * as i2 from '@angular/forms';
import { FormsModule } from '@angular/forms';
import * as i1 from '@angular/material/dialog';
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
import * as i3 from '@angular/material/form-field';
import { MatFormFieldModule } from '@angular/material/form-field';
import * as i4 from '@angular/material/icon';
import { MatIconModule } from '@angular/material/icon';
import { SdButton } from '@sd-angular/core/components/button';
import { SdDate } from '@sd-angular/core/forms/date';
import { SdRadio } from '@sd-angular/core/forms/radio';
import * as uuid from 'uuid';

class DialogConfirmComponent {
    dialogRef;
    data;
    value;
    required = false;
    id = `I${uuid.v4()}`;
    constructor(dialogRef, data) {
        this.dialogRef = dialogRef;
        this.data = data;
        if (data?.input) {
            this.value = data?.input?.defaultValue ?? '';
            this.required = data?.input?.required || false;
        }
        if (data?.date) {
            this.value = data?.date?.defaultValue ?? '';
            this.required = data?.date?.required || false;
        }
        if (data?.radio) {
            this.value = data?.radio?.defaultValue ?? '';
            this.required = data?.radio?.required || false;
        }
    }
    onCancel = () => {
        this.dialogRef.close({ action: 'CANCEL', value: null });
    };
    onAccept = () => {
        // Always return an object with action and value for consistency
        if (this.data?.radio || this.data?.input || this.data?.date) {
            this.dialogRef.close({ action: 'ACCEPT', value: this.value });
        }
        else {
            this.dialogRef.close({ action: 'ACCEPT', value: null });
        }
    };
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DialogConfirmComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
    static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: DialogConfirmComponent, isStandalone: true, selector: "sd-dialog-confirm", ngImport: i0, template: "<div mat-dialog-title class=\"\">\r\n  @if (data.icon) {\r\n    <mat-icon>\r\n      {{ data.icon }}\r\n    </mat-icon>\r\n  }\r\n  <span class=\"T28M\" [innerHtml]=\"data.title || 'Confirm'\"></span>\r\n</div>\r\n<div mat-dialog-content>\r\n  <div class=\"T14R mb-4\" [innerHtml]=\"data.message\"></div>\r\n  @if (data.input) {\r\n    <mat-form-field appearance=\"outline\">\r\n      <textarea\r\n        style=\"width: 100%\"\r\n        matInput\r\n        [placeholder]=\"data.input.placeholder\"\r\n        [(ngModel)]=\"value\"\r\n        autocomplete=\"off\"\r\n        rows=\"5\"\r\n        [maxlength]=\"data.input.maxlength!\"></textarea>\r\n    </mat-form-field>\r\n  }\r\n  @if (data.date) {\r\n    <sd-date\r\n      [placeholder]=\"data.date.placeholder\"\r\n      [(model)]=\"value\"\r\n      type=\"date\"\r\n      [min]=\"data.date.min!\"\r\n      [max]=\"data.date.max!\"\r\n      [required]=\"data.date.required\">\r\n    </sd-date>\r\n  }\r\n  @if (data.radio) {\r\n    <sd-radio\r\n      [items]=\"data.radio.items\"\r\n      [valueField]=\"data.radio.valueField\"\r\n      [displayField]=\"data.radio.displayField\"\r\n      [display]=\"data.radio.display || 'column'\"\r\n      [(model)]=\"value\"\r\n      [required]=\"data.radio.required\">\r\n    </sd-radio>\r\n  }\r\n</div>\r\n<div mat-dialog-actions align=\"end\">\r\n  @if (data.noTitle) {\r\n    <sd-button [color]=\"data.noButtonColor || 'secondary'\" [title]=\"data.noTitle\" (click)=\"onCancel()\"></sd-button>\r\n  }\r\n  @if (data.yesTitle) {\r\n    <sd-button\r\n      class=\"ml-8\"\r\n      type=\"fill\"\r\n      [color]=\"data.yesButtonColor || 'primary'\"\r\n      [disabled]=\"required && !value\"\r\n      cdkFocusInitial\r\n      [title]=\"data.yesTitle\"\r\n      (click)=\"onAccept()\"></sd-button>\r\n  }\r\n</div>\r\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-light{color:var(--sd-light)!important}.bg-light{background:var(--sd-light)!important}.border-light{border-color:var(--sd-light)!important}.text-dark{color:var(--sd-dark)!important}.bg-dark{background:var(--sd-dark)!important}.border-dark{border-color:var(--sd-dark)!important}.text-black500{color:var(--sd-black500)!important}.bg-black500{background:var(--sd-black500)!important}.border-black500{border-color:var(--sd-black500)!important}.text-black400{color:var(--sd-black400)!important}.bg-black400{background:var(--sd-black400)!important}.border-black400{border-color:var(--sd-black400)!important}.text-black300{color:var(--sd-black300)!important}.bg-black300{background:var(--sd-black300)!important}.border-black300{border-color:var(--sd-black300)!important}.text-black200{color:var(--sd-black200)!important}.bg-black200{background:var(--sd-black200)!important}.border-black200{border-color:var(--sd-black200)!important}.text-black100{color:var(--sd-black100)!important}.bg-black100{background:var(--sd-black100)!important}.border-black100{border-color:var(--sd-black100)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}:host .mat-dialog-content{margin:0 -16px 16px!important}:host .mat-button{background-color:#f5f5f5}:host ::ng-deep .mat-dialog-title{display:flex;align-items:center;justify-content:flex-start}:host ::ng-deep .mat-dialog-title .mat-icon{margin-right:5px}:host{display:block}:host ::ng-deep .mat-dialog-title .mat-icon.info{color:var(--sd-info)}:host ::ng-deep .mat-dialog-title .mat-icon.warning{color:var(--sd-warning)}:host ::ng-deep .mat-dialog-title .mat-icon.success{color:var(--sd-success)}:host ::ng-deep .mat-dialog-title .mat-icon.error{color:var(--sd-error)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SdButton, selector: "sd-button", inputs: ["autoId", "type", "color", "size", "fontSet", "title", "width", "tooltip", "prefixIcon", "suffixIcon", "disabled", "loading"], outputs: ["click"] }, { kind: "component", type: SdDate, selector: "sd-date", inputs: ["autoId", "name", "size", "form", "label", "helperText", "placeholder", "hideInlineError", "required", "disabled", "viewed", "inlineError", "hyperlink", "appearance", "min", "minDate", "max", "maxDate", "model"], outputs: ["modelChange", "sdChange", "sdFocus"] }, { kind: "component", type: SdRadio, selector: "sd-radio", inputs: ["autoId", "name", "form", "label", "placeholder", "display", "model", "items", "valueField", "displayField", "required", "inlineError", "disabled", "viewed", "hyperlink"], outputs: ["modelChange", "sdChange", "sdSelection"] }] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: DialogConfirmComponent, decorators: [{
            type: Component,
            args: [{ selector: 'sd-dialog-confirm', imports: [CommonModule, FormsModule, MatDialogModule, MatFormFieldModule, MatIconModule, SdButton, SdDate, SdRadio], template: "<div mat-dialog-title class=\"\">\r\n  @if (data.icon) {\r\n    <mat-icon>\r\n      {{ data.icon }}\r\n    </mat-icon>\r\n  }\r\n  <span class=\"T28M\" [innerHtml]=\"data.title || 'Confirm'\"></span>\r\n</div>\r\n<div mat-dialog-content>\r\n  <div class=\"T14R mb-4\" [innerHtml]=\"data.message\"></div>\r\n  @if (data.input) {\r\n    <mat-form-field appearance=\"outline\">\r\n      <textarea\r\n        style=\"width: 100%\"\r\n        matInput\r\n        [placeholder]=\"data.input.placeholder\"\r\n        [(ngModel)]=\"value\"\r\n        autocomplete=\"off\"\r\n        rows=\"5\"\r\n        [maxlength]=\"data.input.maxlength!\"></textarea>\r\n    </mat-form-field>\r\n  }\r\n  @if (data.date) {\r\n    <sd-date\r\n      [placeholder]=\"data.date.placeholder\"\r\n      [(model)]=\"value\"\r\n      type=\"date\"\r\n      [min]=\"data.date.min!\"\r\n      [max]=\"data.date.max!\"\r\n      [required]=\"data.date.required\">\r\n    </sd-date>\r\n  }\r\n  @if (data.radio) {\r\n    <sd-radio\r\n      [items]=\"data.radio.items\"\r\n      [valueField]=\"data.radio.valueField\"\r\n      [displayField]=\"data.radio.displayField\"\r\n      [display]=\"data.radio.display || 'column'\"\r\n      [(model)]=\"value\"\r\n      [required]=\"data.radio.required\">\r\n    </sd-radio>\r\n  }\r\n</div>\r\n<div mat-dialog-actions align=\"end\">\r\n  @if (data.noTitle) {\r\n    <sd-button [color]=\"data.noButtonColor || 'secondary'\" [title]=\"data.noTitle\" (click)=\"onCancel()\"></sd-button>\r\n  }\r\n  @if (data.yesTitle) {\r\n    <sd-button\r\n      class=\"ml-8\"\r\n      type=\"fill\"\r\n      [color]=\"data.yesButtonColor || 'primary'\"\r\n      [disabled]=\"required && !value\"\r\n      cdkFocusInitial\r\n      [title]=\"data.yesTitle\"\r\n      (click)=\"onAccept()\"></sd-button>\r\n  }\r\n</div>\r\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-light{color:var(--sd-light)!important}.bg-light{background:var(--sd-light)!important}.border-light{border-color:var(--sd-light)!important}.text-dark{color:var(--sd-dark)!important}.bg-dark{background:var(--sd-dark)!important}.border-dark{border-color:var(--sd-dark)!important}.text-black500{color:var(--sd-black500)!important}.bg-black500{background:var(--sd-black500)!important}.border-black500{border-color:var(--sd-black500)!important}.text-black400{color:var(--sd-black400)!important}.bg-black400{background:var(--sd-black400)!important}.border-black400{border-color:var(--sd-black400)!important}.text-black300{color:var(--sd-black300)!important}.bg-black300{background:var(--sd-black300)!important}.border-black300{border-color:var(--sd-black300)!important}.text-black200{color:var(--sd-black200)!important}.bg-black200{background:var(--sd-black200)!important}.border-black200{border-color:var(--sd-black200)!important}.text-black100{color:var(--sd-black100)!important}.bg-black100{background:var(--sd-black100)!important}.border-black100{border-color:var(--sd-black100)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}:host .mat-dialog-content{margin:0 -16px 16px!important}:host .mat-button{background-color:#f5f5f5}:host ::ng-deep .mat-dialog-title{display:flex;align-items:center;justify-content:flex-start}:host ::ng-deep .mat-dialog-title .mat-icon{margin-right:5px}:host{display:block}:host ::ng-deep .mat-dialog-title .mat-icon.info{color:var(--sd-info)}:host ::ng-deep .mat-dialog-title .mat-icon.warning{color:var(--sd-warning)}:host ::ng-deep .mat-dialog-title .mat-icon.success{color:var(--sd-success)}:host ::ng-deep .mat-dialog-title .mat-icon.error{color:var(--sd-error)}\n"] }]
        }], ctorParameters: () => [{ type: i1.MatDialogRef }, { type: undefined, decorators: [{
                    type: Inject,
                    args: [MAT_DIALOG_DATA]
                }] }] });

class SdConfirmService {
    dialog;
    constructor(dialog) {
        this.dialog = dialog;
    }
    confirm = (message, option = {}) => {
        const dialogRef = this.dialog.open(DialogConfirmComponent, {
            width: option?.width || '400px',
            data: {
                title: option?.title || 'Xác nhận',
                message,
                yesTitle: option?.yesTitle || 'Đồng ý',
                noTitle: option?.noTitle || 'Hủy bỏ',
                noButtonColor: option?.noButtonColor || 'secondary',
                yesButtonColor: option?.yesButtonColor || 'primary',
            },
        });
        return new Promise((resolve, reject) => {
            dialogRef.afterClosed().subscribe(result => {
                if (result) {
                    if (result.action === 'CANCEL') {
                        reject(result.action);
                    }
                    else if (result.action === 'ACCEPT') {
                        resolve(result.value);
                    }
                }
            });
        });
    };
    withInput = (message, option) => {
        const dialogRef = this.dialog.open(DialogConfirmComponent, {
            width: '400px',
            data: {
                title: option?.title || 'Xác nhận',
                message,
                yesTitle: option?.yesTitle || 'Có',
                noTitle: option?.noTitle || 'Không',
                noButtonColor: option?.noButtonColor || 'secondary',
                yesButtonColor: option?.yesButtonColor || 'primary',
                input: {
                    maxlength: option?.maxlength || 255,
                    required: option?.required,
                    defaultValue: option?.defaultValue || '',
                },
            },
        });
        return new Promise((resolve, reject) => {
            dialogRef.afterClosed().subscribe(result => {
                if (result) {
                    if (result.action === 'CANCEL') {
                        reject(result.action);
                    }
                    else if (result.action === 'ACCEPT') {
                        resolve(result.value);
                    }
                }
            });
        });
    };
    withRadio = (message, option) => {
        const dialogRef = this.dialog.open(DialogConfirmComponent, {
            width: '400px',
            data: {
                title: option?.title || 'Xác nhận',
                message,
                yesTitle: option?.yesTitle || 'Có',
                noTitle: option?.noTitle || 'Không',
                noButtonColor: option?.noButtonColor || 'secondary',
                yesButtonColor: option?.yesButtonColor || 'primary',
                radio: {
                    items: option?.items || [],
                    valueField: option?.valueField || 'value',
                    displayField: option?.displayField || 'label',
                    display: option?.display || 'row',
                    required: option?.required,
                    defaultValue: option?.defaultValue,
                },
            },
        });
        return new Promise((resolve, reject) => {
            dialogRef.afterClosed().subscribe(result => {
                if (result) {
                    if (result.action === 'CANCEL') {
                        reject(result.action);
                    }
                    else if (result.action === 'ACCEPT') {
                        resolve(result.value);
                    }
                }
            });
        });
    };
    withDate = (message, option) => {
        const dialogRef = this.dialog.open(DialogConfirmComponent, {
            width: '400px',
            data: {
                title: option?.title || 'Xác nhận',
                message,
                yesTitle: option?.yesTitle || 'Có',
                noTitle: option?.noTitle || 'Không',
                noButtonColor: option?.noButtonColor || 'secondary',
                yesButtonColor: option?.yesButtonColor || 'primary',
                date: {
                    placeholder: option?.placeholder,
                    required: option?.required,
                    defaultValue: option?.defaultValue || '',
                },
            },
        });
        return new Promise((resolve, reject) => {
            dialogRef.afterClosed().subscribe(result => {
                if (result) {
                    if (result.action === 'CANCEL') {
                        reject(result.action);
                    }
                    else if (result.action === 'ACCEPT') {
                        resolve(result.value);
                    }
                }
            });
        });
    };
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SdConfirmService, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
    static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SdConfirmService, providedIn: 'root' });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SdConfirmService, decorators: [{
            type: Injectable,
            args: [{
                    providedIn: 'root',
                }]
        }], ctorParameters: () => [{ type: i1.MatDialog }] });

/*
 * Public API Surface of superdev-angular-core
 */

/**
 * Generated bundle index. Do not edit.
 */

export { DialogConfirmComponent, SdConfirmService };
//# sourceMappingURL=sd-angular-core-services-confirm.mjs.map
