import * as i0 from '@angular/core';
import { Component, Inject, EventEmitter, Input, Output, NgModule } from '@angular/core';
import { AswConfirmDialog, AswConfirmDialogModule } from '@asoftwareworld/form-builder/form-control/confirm-dialog';
import { Constants } from '@asoftwareworld/form-builder/form-control/core';
import * as i1 from '@angular/forms';
import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
import * as i2 from '@angular/material/dialog';
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
import * as i3 from '@angular/material/divider';
import { MatDividerModule } from '@angular/material/divider';
import * as i4 from '@angular/material/form-field';
import * as i5 from '@angular/material/select';
import { MatSelectModule } from '@angular/material/select';
import * as i6 from '@angular/material/core';
import * as i7 from '@angular/material/button-toggle';
import { MatButtonToggleModule } from '@angular/material/button-toggle';
import * as i8 from '@angular/material/icon';
import { MatIconModule } from '@angular/material/icon';
import * as i9 from '@angular/material/input';
import { MatInputModule } from '@angular/material/input';
import * as i10 from '@angular/material/tooltip';
import { MatTooltipModule } from '@angular/material/tooltip';
import * as i2$1 from '@angular/common';
import { CommonModule } from '@angular/common';

/**
 * @license
 * Copyright ASW (A Software World) All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file
 */
class AswHeaderDialog {
    constructor(formBuilder, dialogRef, control) {
        this.formBuilder = formBuilder;
        this.dialogRef = dialogRef;
        this.control = control;
        this.constants = Constants;
    }
    ngOnInit() {
        this.validateFormBuilder();
        this.editProperty(this.control);
    }
    validateFormBuilder() {
        this.aswHeaderForm = this.formBuilder.group({
            label: ['', [Validators.required, Validators.minLength(5)]],
            subtype: [],
            column: [],
            style: []
        });
    }
    editProperty(control) {
        this.aswHeaderForm.setValue({
            label: control.label,
            subtype: control.subtype,
            style: control.style,
            column: control.column
        });
    }
    onNoClick() {
        this.dialogRef.close();
    }
    onSubmit() {
        if (this.aswHeaderForm.invalid) {
            return;
        }
        this.aswHeaderForm.value.controlType = this.control.controlType;
        this.dialogRef.close(this.aswHeaderForm.value);
    }
}
AswHeaderDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AswHeaderDialog, deps: [{ token: i1.FormBuilder }, { token: i2.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
AswHeaderDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: AswHeaderDialog, selector: "asw-header-dialog", ngImport: i0, template: "<h4 mat-dialog-title>Edit Property</h4>\r\n<mat-divider></mat-divider>\r\n<form [formGroup]=\"aswHeaderForm\" (ngSubmit)=\"onSubmit()\">\r\n    <mat-dialog-content class=\"mat-typography\">\r\n        <div class=\"asw-full-width\"><br>\r\n            <div class=\"row\">\r\n                <div class=\"col-md-12\">\r\n                    <mat-form-field appearance=\"outline\" class=\"asw-mat-form-field\">\r\n                        <mat-label>Label</mat-label>\r\n                        <input matInput type=\"text\"\r\n                                        name=\"label\"\r\n                                        placeholder=\"Enter label\"\r\n                                        matTooltip=\"Enter label\"\r\n                                        formControlName=\"label\" required>\r\n                        <mat-error class=\"asw-mat-error\" *ngFor=\"let validation of constants.accountValidationMessages.label\">\r\n                            <mat-error class=\"asw-mat-error\" *ngIf=\"aswHeaderForm.get('label')?.hasError(validation.type) && (aswHeaderForm.get('label')?.dirty || aswHeaderForm.get('label')?.touched)\">\r\n                                {{validation.message}}\r\n                            </mat-error>\r\n                        </mat-error>\r\n                    </mat-form-field>\r\n                </div>\r\n            </div>\r\n            <div class=\"row\">\r\n                <div class=\"col-md-6\">\r\n                    <mat-form-field appearance=\"outline\" class=\"asw-mat-form-field\">\r\n                        <mat-label>Type</mat-label>\r\n                        <mat-select formControlName=\"subtype\">\r\n                            <mat-option value=\"h1\">H1</mat-option>\r\n                            <mat-option value=\"h2\">H2</mat-option>\r\n                            <mat-option value=\"h3\">H3</mat-option>\r\n                            <mat-option value=\"h4\">H4</mat-option>\r\n                            <mat-option value=\"h5\">H5</mat-option>\r\n                            <mat-option value=\"h6\">H6</mat-option>\r\n                        </mat-select>\r\n                    </mat-form-field>\r\n                </div>\r\n                <div class=\"col-md-6\">\r\n                    Text style:\r\n                    <mat-button-toggle-group formControlName=\"style\" name=\"fontStyle\" aria-label=\"Font Style\">\r\n                        <mat-button-toggle value=\"text-left text-start\" aria-label=\"Text align left\">\r\n                            <mat-icon class=\"asw-mat-icon\">format_align_left</mat-icon>\r\n                        </mat-button-toggle>\r\n                        <mat-button-toggle value=\"text-center\" aria-label=\"Text align center\">\r\n                            <mat-icon class=\"asw-mat-icon\">format_align_center</mat-icon>\r\n                        </mat-button-toggle>\r\n                        <mat-button-toggle value=\"text-right text-end\" aria-label=\"Text align right\">\r\n                            <mat-icon class=\"asw-mat-icon\">format_align_right</mat-icon>\r\n                        </mat-button-toggle>\r\n                        <mat-button-toggle value=\"text-justify\" aria-label=\"Text align justify\">\r\n                            <mat-icon class=\"asw-mat-icon\">format_align_justify</mat-icon>\r\n                        </mat-button-toggle>\r\n                    </mat-button-toggle-group>\r\n                </div>\r\n            </div>\r\n            <div class=\"row\">\r\n                <div class=\"col-md-12\">\r\n                    <mat-form-field appearance=\"outline\" class=\"asw-mat-form-field\">\r\n                        <mat-label>Column Size</mat-label>\r\n                        <mat-select formControlName=\"column\" matTooltip=\"Select column size\">\r\n                            <mat-option *ngFor=\"let column of constants.columns\" [value]=\"column.value\">\r\n                                {{column.label}}\r\n                            </mat-option>\r\n                        </mat-select>\r\n                    </mat-form-field>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </mat-dialog-content>\r\n    <mat-dialog-actions align=\"end\">\r\n        <button mat-raised-button\r\n                type=\"button\"\r\n                class=\"btn btn-danger mr-2 mb-1 me-2\"\r\n                (click)=\"onNoClick()\">\r\n            No\r\n        </button>\r\n        <button mat-raised-button type=\"submit\"\r\n                class=\"btn btn-primary mb-1\"\r\n                cdkFocusInitial>\r\n            Yes\r\n        </button>\r\n    </mat-dialog-actions>\r\n</form>\r\n\r\n", components: [{ type: i3.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i6.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i7.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i4.MatLabel, selector: "mat-label" }, { type: i9.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl],      input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i10.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.MatError, selector: "mat-error", inputs: ["id"] }, { type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { type: i2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AswHeaderDialog, decorators: [{
            type: Component,
            args: [{ selector: 'asw-header-dialog', template: "<h4 mat-dialog-title>Edit Property</h4>\r\n<mat-divider></mat-divider>\r\n<form [formGroup]=\"aswHeaderForm\" (ngSubmit)=\"onSubmit()\">\r\n    <mat-dialog-content class=\"mat-typography\">\r\n        <div class=\"asw-full-width\"><br>\r\n            <div class=\"row\">\r\n                <div class=\"col-md-12\">\r\n                    <mat-form-field appearance=\"outline\" class=\"asw-mat-form-field\">\r\n                        <mat-label>Label</mat-label>\r\n                        <input matInput type=\"text\"\r\n                                        name=\"label\"\r\n                                        placeholder=\"Enter label\"\r\n                                        matTooltip=\"Enter label\"\r\n                                        formControlName=\"label\" required>\r\n                        <mat-error class=\"asw-mat-error\" *ngFor=\"let validation of constants.accountValidationMessages.label\">\r\n                            <mat-error class=\"asw-mat-error\" *ngIf=\"aswHeaderForm.get('label')?.hasError(validation.type) && (aswHeaderForm.get('label')?.dirty || aswHeaderForm.get('label')?.touched)\">\r\n                                {{validation.message}}\r\n                            </mat-error>\r\n                        </mat-error>\r\n                    </mat-form-field>\r\n                </div>\r\n            </div>\r\n            <div class=\"row\">\r\n                <div class=\"col-md-6\">\r\n                    <mat-form-field appearance=\"outline\" class=\"asw-mat-form-field\">\r\n                        <mat-label>Type</mat-label>\r\n                        <mat-select formControlName=\"subtype\">\r\n                            <mat-option value=\"h1\">H1</mat-option>\r\n                            <mat-option value=\"h2\">H2</mat-option>\r\n                            <mat-option value=\"h3\">H3</mat-option>\r\n                            <mat-option value=\"h4\">H4</mat-option>\r\n                            <mat-option value=\"h5\">H5</mat-option>\r\n                            <mat-option value=\"h6\">H6</mat-option>\r\n                        </mat-select>\r\n                    </mat-form-field>\r\n                </div>\r\n                <div class=\"col-md-6\">\r\n                    Text style:\r\n                    <mat-button-toggle-group formControlName=\"style\" name=\"fontStyle\" aria-label=\"Font Style\">\r\n                        <mat-button-toggle value=\"text-left text-start\" aria-label=\"Text align left\">\r\n                            <mat-icon class=\"asw-mat-icon\">format_align_left</mat-icon>\r\n                        </mat-button-toggle>\r\n                        <mat-button-toggle value=\"text-center\" aria-label=\"Text align center\">\r\n                            <mat-icon class=\"asw-mat-icon\">format_align_center</mat-icon>\r\n                        </mat-button-toggle>\r\n                        <mat-button-toggle value=\"text-right text-end\" aria-label=\"Text align right\">\r\n                            <mat-icon class=\"asw-mat-icon\">format_align_right</mat-icon>\r\n                        </mat-button-toggle>\r\n                        <mat-button-toggle value=\"text-justify\" aria-label=\"Text align justify\">\r\n                            <mat-icon class=\"asw-mat-icon\">format_align_justify</mat-icon>\r\n                        </mat-button-toggle>\r\n                    </mat-button-toggle-group>\r\n                </div>\r\n            </div>\r\n            <div class=\"row\">\r\n                <div class=\"col-md-12\">\r\n                    <mat-form-field appearance=\"outline\" class=\"asw-mat-form-field\">\r\n                        <mat-label>Column Size</mat-label>\r\n                        <mat-select formControlName=\"column\" matTooltip=\"Select column size\">\r\n                            <mat-option *ngFor=\"let column of constants.columns\" [value]=\"column.value\">\r\n                                {{column.label}}\r\n                            </mat-option>\r\n                        </mat-select>\r\n                    </mat-form-field>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </mat-dialog-content>\r\n    <mat-dialog-actions align=\"end\">\r\n        <button mat-raised-button\r\n                type=\"button\"\r\n                class=\"btn btn-danger mr-2 mb-1 me-2\"\r\n                (click)=\"onNoClick()\">\r\n            No\r\n        </button>\r\n        <button mat-raised-button type=\"submit\"\r\n                class=\"btn btn-primary mb-1\"\r\n                cdkFocusInitial>\r\n            Yes\r\n        </button>\r\n    </mat-dialog-actions>\r\n</form>\r\n\r\n" }]
        }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.MatDialogRef }, { type: undefined, decorators: [{
                    type: Inject,
                    args: [MAT_DIALOG_DATA]
                }] }]; } });

/**
 * @license
 * Copyright ASW (A Software World) All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file
 */
class AswHeader {
    constructor(dialog) {
        this.dialog = dialog;
        this.constants = Constants;
        /**
         * Header control
         */
        this.control = null;
        this.isPreviewTemplate = false;
        this.headerUpdateEvent = new EventEmitter();
        this.headerDeleteEvent = new EventEmitter();
    }
    /**
     * Delete header control based on control index
     * @param control header control items
     * @param controlIndex header control index
     */
    deleteHeaderDialog(control, controlIndex) {
        const dialogRef = this.dialog.open(AswConfirmDialog, {
            width: '350px',
            data: { name: control.label, message: this.constants.messages.waringMessage }
        });
        dialogRef.afterClosed().subscribe(result => {
            if (result !== undefined) {
                this.headerDeleteEvent.emit(controlIndex);
            }
        });
    }
    editHeaderDialog(control, controlIndex) {
        const dialogRef = this.dialog.open(AswHeaderDialog, {
            disableClose: true,
            width: '744px',
            data: control
        });
        dialogRef.afterClosed().subscribe(result => {
            if (result !== undefined) {
                this.headerUpdateEvent.emit({ control: result, index: controlIndex });
            }
        });
    }
}
AswHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AswHeader, deps: [{ token: i2.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
AswHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: AswHeader, selector: "asw-header", inputs: { control: "control", controlIndex: "controlIndex", isPreviewTemplate: "isPreviewTemplate" }, outputs: { headerUpdateEvent: "headerUpdateEvent", headerDeleteEvent: "headerDeleteEvent" }, ngImport: i0, template: "<ng-container *ngIf=\"control as control\">\r\n    <ng-container [ngSwitch]=\"control.subtype\">\r\n        <ng-container *ngSwitchCase=\"'h1'\">\r\n            <h1 [class]=\"control.style\">{{control.label}}</h1>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h2'\">\r\n            <h2 [class]=\"control.style\">{{control.label}}</h2>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h3'\">\r\n            <h3 [class]=\"control.style\">{{control.label}}</h3>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h4'\">\r\n            <h4 [class]=\"control.style\">{{control.label}}</h4>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h5'\">\r\n            <h5 [class]=\"control.style\">{{control.label}}</h5>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h6'\">\r\n            <h6 [class]=\"control.style\">{{control.label}}</h6>\r\n        </ng-container>\r\n    </ng-container>\r\n    <ng-template [ngIf]=\"isPreviewTemplate\">\r\n        <div class=\"row\">\r\n            <div class=\"col-md-12\">\r\n                <button mat-raised-button \r\n                        type=\"button\" \r\n                        matTooltip=\"Edit header control\" \r\n                        [matTooltipPosition]=\"'above'\" \r\n                        (click)=\"editHeaderDialog(control, controlIndex)\"\r\n                        class=\"asw-btn btn btn-sm btn-just-icon btn-outline-success mr-2 mb-1 me-2\">\r\n                    <i class=\"material-icons asw-material-icon\">edit</i>\r\n                </button>\r\n                <button mat-raised-button \r\n                        type=\"button\" \r\n                        matTooltip=\"Remove header control\" \r\n                        [matTooltipPosition]=\"'above'\" \r\n                        (click)=\"deleteHeaderDialog(control, controlIndex)\"\r\n                        class=\"asw-btn btn btn-sm btn-just-icon btn-outline-danger mb-1\">\r\n                    <i class=\"material-icons asw-material-icon\">close</i>\r\n                </button>\r\n            </div>                                            \r\n        </div>\r\n    </ng-template>    \r\n</ng-container>", directives: [{ type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i10.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AswHeader, decorators: [{
            type: Component,
            args: [{ selector: 'asw-header', template: "<ng-container *ngIf=\"control as control\">\r\n    <ng-container [ngSwitch]=\"control.subtype\">\r\n        <ng-container *ngSwitchCase=\"'h1'\">\r\n            <h1 [class]=\"control.style\">{{control.label}}</h1>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h2'\">\r\n            <h2 [class]=\"control.style\">{{control.label}}</h2>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h3'\">\r\n            <h3 [class]=\"control.style\">{{control.label}}</h3>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h4'\">\r\n            <h4 [class]=\"control.style\">{{control.label}}</h4>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h5'\">\r\n            <h5 [class]=\"control.style\">{{control.label}}</h5>\r\n        </ng-container>\r\n        <ng-container *ngSwitchCase=\"'h6'\">\r\n            <h6 [class]=\"control.style\">{{control.label}}</h6>\r\n        </ng-container>\r\n    </ng-container>\r\n    <ng-template [ngIf]=\"isPreviewTemplate\">\r\n        <div class=\"row\">\r\n            <div class=\"col-md-12\">\r\n                <button mat-raised-button \r\n                        type=\"button\" \r\n                        matTooltip=\"Edit header control\" \r\n                        [matTooltipPosition]=\"'above'\" \r\n                        (click)=\"editHeaderDialog(control, controlIndex)\"\r\n                        class=\"asw-btn btn btn-sm btn-just-icon btn-outline-success mr-2 mb-1 me-2\">\r\n                    <i class=\"material-icons asw-material-icon\">edit</i>\r\n                </button>\r\n                <button mat-raised-button \r\n                        type=\"button\" \r\n                        matTooltip=\"Remove header control\" \r\n                        [matTooltipPosition]=\"'above'\" \r\n                        (click)=\"deleteHeaderDialog(control, controlIndex)\"\r\n                        class=\"asw-btn btn btn-sm btn-just-icon btn-outline-danger mb-1\">\r\n                    <i class=\"material-icons asw-material-icon\">close</i>\r\n                </button>\r\n            </div>                                            \r\n        </div>\r\n    </ng-template>    \r\n</ng-container>" }]
        }], ctorParameters: function () { return [{ type: i2.MatDialog }]; }, propDecorators: { control: [{
                type: Input
            }], controlIndex: [{
                type: Input
            }], isPreviewTemplate: [{
                type: Input
            }], headerUpdateEvent: [{
                type: Output
            }], headerDeleteEvent: [{
                type: Output
            }] } });

/**
 * @license
 * Copyright ASW (A Software World) All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file
 */

/**
 * @license
 * Copyright ASW (A Software World) All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file
 */
class AswHeaderModule {
}
AswHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AswHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
AswHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AswHeaderModule, declarations: [AswHeader,
        AswHeaderDialog], imports: [CommonModule,
        FormsModule,
        ReactiveFormsModule,
        MatInputModule,
        MatSelectModule,
        MatDialogModule,
        MatDividerModule,
        MatButtonToggleModule,
        MatIconModule,
        MatTooltipModule,
        AswConfirmDialogModule], exports: [AswHeader,
        AswHeaderDialog] });
AswHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AswHeaderModule, imports: [[
            CommonModule,
            FormsModule,
            ReactiveFormsModule,
            MatInputModule,
            MatSelectModule,
            MatDialogModule,
            MatDividerModule,
            MatButtonToggleModule,
            MatIconModule,
            MatTooltipModule,
            AswConfirmDialogModule
        ]] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: AswHeaderModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [
                        CommonModule,
                        FormsModule,
                        ReactiveFormsModule,
                        MatInputModule,
                        MatSelectModule,
                        MatDialogModule,
                        MatDividerModule,
                        MatButtonToggleModule,
                        MatIconModule,
                        MatTooltipModule,
                        AswConfirmDialogModule
                    ],
                    declarations: [
                        AswHeader,
                        AswHeaderDialog
                    ],
                    exports: [
                        AswHeader,
                        AswHeaderDialog
                    ]
                }]
        }] });

/**
 * @license
 * Copyright ASW (A Software World) All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file
 */

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

export { AswHeader, AswHeaderDialog, AswHeaderModule };
//# sourceMappingURL=asoftwareworld-form-builder-form-control-header.mjs.map
