UNPKG

@asoftwareworld/form-builder

Version:

ASW Form Builder helps you with rapid development and designed web forms which includes several controls. The key feature of Form Builder is to make your content attractive and effective. We can customize our control at run time and preview the same befor

209 lines (203 loc) 33.4 kB
import * as i0 from '@angular/core'; import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core'; import * as i1 from '@asoftwareworld/form-builder/form-control/core'; import { Constants, ObjectUtils, NotificationService } from '@asoftwareworld/form-builder/form-control/core'; import * as i2 from '@angular/common'; import { CommonModule } from '@angular/common'; import * as i3 from '@asoftwareworld/form-builder/form-control/autocomplete'; import { AswAutocompleteModule } from '@asoftwareworld/form-builder/form-control/autocomplete'; import * as i4 from '@asoftwareworld/form-builder/form-control/button'; import { AswButtonModule } from '@asoftwareworld/form-builder/form-control/button'; import * as i5 from '@asoftwareworld/form-builder/form-control/checkbox'; import { AswCheckboxModule } from '@asoftwareworld/form-builder/form-control/checkbox'; import * as i6 from '@asoftwareworld/form-builder/form-control/datepicker'; import { AswDatepickerModule } from '@asoftwareworld/form-builder/form-control/datepicker'; import * as i7 from '@asoftwareworld/form-builder/form-control/divider'; import { AswDividerModule } from '@asoftwareworld/form-builder/form-control/divider'; import * as i8 from '@asoftwareworld/form-builder/form-control/drawing'; import { AswDrawingModule } from '@asoftwareworld/form-builder/form-control/drawing'; import * as i9 from '@asoftwareworld/form-builder/form-control/gps'; import { AswGpsModule } from '@asoftwareworld/form-builder/form-control/gps'; import * as i10 from '@asoftwareworld/form-builder/form-control/header'; import { AswHeaderModule } from '@asoftwareworld/form-builder/form-control/header'; import * as i11 from '@asoftwareworld/form-builder/form-control/image'; import { AswImageModule } from '@asoftwareworld/form-builder/form-control/image'; import * as i12 from '@asoftwareworld/form-builder/form-control/multi-select'; import { AswMultiSelectModule } from '@asoftwareworld/form-builder/form-control/multi-select'; import * as i13 from '@asoftwareworld/form-builder/form-control/paragraph'; import { AswParagraphModule } from '@asoftwareworld/form-builder/form-control/paragraph'; import * as i14 from '@asoftwareworld/form-builder/form-control/select'; import { AswSelectModule } from '@asoftwareworld/form-builder/form-control/select'; import * as i15 from '@asoftwareworld/form-builder/form-control/signature'; import { AswSignatureModule } from '@asoftwareworld/form-builder/form-control/signature'; import * as i16 from '@asoftwareworld/form-builder/form-control/slide-toggle'; import { AswSlideToggleModule } from '@asoftwareworld/form-builder/form-control/slide-toggle'; import * as i17 from '@asoftwareworld/form-builder/form-control/textarea'; import { AswTextareaModule } from '@asoftwareworld/form-builder/form-control/textarea'; import * as i18 from '@asoftwareworld/form-builder/form-control/textfield'; import { AswTextFieldModule } from '@asoftwareworld/form-builder/form-control/textfield'; import * as i19 from '@asoftwareworld/form-builder/form-control/radio-button'; import { AswRadioButtonModule } from '@asoftwareworld/form-builder/form-control/radio-button'; import * as i20 from '@asoftwareworld/form-builder/form-control/qrcode'; import { QrCodeModule } from '@asoftwareworld/form-builder/form-control/qrcode'; import * as i21 from '@asoftwareworld/form-builder/form-control/number'; import { AswNumberModule } from '@asoftwareworld/form-builder/form-control/number'; import * as i22 from '@asoftwareworld/form-builder/form-control/calculation'; import { AswCalculationModule } from '@asoftwareworld/form-builder/form-control/calculation'; import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatSnackBarModule } from '@angular/material/snack-bar'; /** * @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 AswPreviewTemplate { notificationService; constants = Constants; formContainer = []; buttonClick = new EventEmitter(); aswModelChange = new EventEmitter(); constructor(notificationService) { this.notificationService = notificationService; } updatedControl(data) { this.formContainer.splice(data.index, 1, data.control); } buttonClicked(type) { if (type === 'reset') { this.formContainer = ObjectUtils.resetForm(this.formContainer); } else { const data = ObjectUtils.validateForm(this.formContainer); if (!data.isFormValid) { this.notificationService.openNotification('Please fill in the following required fields.' + ' \n \n' + data.labels.toString(), 'Close'); } else { this.buttonClick.emit(this.formContainer); } } } onSelectionChange(control) { this.aswModelChange.emit(control); } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: AswPreviewTemplate, deps: [{ token: i1.NotificationService }], target: i0.ɵɵFactoryTarget.Component }); static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", type: AswPreviewTemplate, selector: "asw-preview-template", inputs: { formContainer: "formContainer" }, outputs: { buttonClick: "buttonClick", aswModelChange: "aswModelChange" }, ngImport: i0, template: "<!-- <div class=\"row\">\r\n <div class=\"col-md-12 text-right\">\r\n <button mat-raised-button \r\n type=\"button\"\r\n class=\"btn btn-secondary btn-sm float-end mb-2\">Download Pdf\r\n </button> \r\n </div>\r\n</div> -->\r\n<div class=\"row\"> \r\n <div class=\"col-md-12\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"row\">\r\n <ng-container *ngFor=\"let control of formContainer; let i = index\">\r\n <ng-container [ngSwitch]=\"control.controlType\" class=\"asw-full-width\">\r\n <div [ngClass]=\"control.column\">\r\n <ng-container *ngSwitchCase=\"'autocomplete'\">\r\n <asw-autocomplete [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-autocomplete>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'header'\">\r\n <asw-header [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-header>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'qr-code'\">\r\n <asw-qrcode [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-qrcode>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'image'\">\r\n <asw-image [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (imageUpdateEvent)=\"updatedControl($event)\">\r\n </asw-image>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'textfield'\">\r\n <asw-textfield [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (aswModelChange)=\"onSelectionChange($event)\">\r\n </asw-textfield>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'textarea'\">\r\n <asw-textarea [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (aswModelChange)=\"onSelectionChange($event)\">\r\n </asw-textarea>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'number'\">\r\n <asw-number [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n [formControls]=\"formContainer\"\r\n (aswModelChange)=\"onSelectionChange($event)\">\r\n </asw-number>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'calculation'\">\r\n <asw-calculation [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (aswModelChange)=\"onSelectionChange($event)\">\r\n </asw-calculation>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'select'\">\r\n <asw-select [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-select>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'multi-select'\">\r\n <asw-multi-select [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-multi-select>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'radio'\">\r\n <asw-radio-button [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-radio-button>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'checkbox'\">\r\n <asw-checkbox [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-checkbox>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'datepicker'\">\r\n <asw-datepicker [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (dateChange)=\"onSelectionChange($event)\">\r\n </asw-datepicker>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'button'\">\r\n <asw-button [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (buttonClickEvent)=\"buttonClicked($event)\">\r\n </asw-button>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'paragraph'\">\r\n <asw-paragraph [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-paragraph>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'divider'\">\r\n <asw-divider [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-divider>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'slide-toggle'\">\r\n <asw-slide-toggle [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-slide-toggle>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'gps'\">\r\n <asw-gps [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (gpsAddressChange)=\"onSelectionChange($event)\">\r\n </asw-gps>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'signature'\">\r\n <asw-signature [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-signature>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'drawing'\">\r\n <asw-drawing [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-drawing>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </div> \r\n </div>\r\n </div>\r\n </div>\r\n</div>", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i3.AswAutocomplete, selector: "asw-autocomplete", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["autocompleteUpdateEvent", "autocompleteDeleteEvent", "selectionChange", "duplicateControl"] }, { kind: "component", type: i4.AswButton, selector: "asw-button", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["buttonClickEvent", "buttonUpdateEvent", "buttonDeleteEvent", "duplicateControl"] }, { kind: "component", type: i5.AswCheckbox, selector: "asw-checkbox", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["checkboxUpdateEvent", "checkboxDeleteEvent", "selectionChange", "duplicateControl"] }, { kind: "component", type: i6.AswDatepicker, selector: "asw-datepicker", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["datepickerUpdateEvent", "datepickerDeleteEvent", "dateChange", "duplicateControl"] }, { kind: "component", type: i7.AswDivider, selector: "asw-divider", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["dividerDeleteEvent", "duplicateControl"] }, { kind: "component", type: i8.AswDrawing, selector: "asw-drawing", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["drawingUpdateEvent", "drawingDeleteEvent", "duplicateControl"] }, { kind: "component", type: i9.AswGps, selector: "asw-gps", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["gpsUpdateEvent", "gpsDeleteEvent", "gpsAddressChange", "duplicateControl"] }, { kind: "component", type: i10.AswHeader, selector: "asw-header", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["headerUpdateEvent", "headerDeleteEvent", "duplicateControl"] }, { kind: "component", type: i11.AswImage, selector: "asw-image", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["imageUpdateEvent", "imageDeleteEvent", "duplicateControl"] }, { kind: "component", type: i12.AswMultiSelect, selector: "asw-multi-select", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["multiSelectUpdateEvent", "multiSelectDeleteEvent", "selectionChange", "duplicateControl"] }, { kind: "component", type: i13.AswParagraph, selector: "asw-paragraph", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["paragraphUpdateEvent", "paragraphDeleteEvent", "duplicateControl"] }, { kind: "component", type: i14.AswSelect, selector: "asw-select", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["selectUpdateEvent", "selectDeleteEvent", "selectionChange", "duplicateControl"] }, { kind: "component", type: i15.AswSignature, selector: "asw-signature", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["signatureUpdateEvent", "signatureDeleteEvent", "duplicateControl"] }, { kind: "component", type: i16.AswSlideToggle, selector: "asw-slide-toggle", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["slidetoggleUpdateEvent", "slidetoggleDeleteEvent", "selectionChange", "duplicateControl"] }, { kind: "component", type: i17.AswTextarea, selector: "asw-textarea", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["textAreaUpdateEvent", "textAreaDeleteEvent", "aswModelChange", "duplicateControl"] }, { kind: "component", type: i18.AswTextField, selector: "asw-textfield", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["textFieldUpdateEvent", "textFieldDeleteEvent", "aswModelChange", "duplicateControl"] }, { kind: "component", type: i19.AswRadioButton, selector: "asw-radio-button", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["radioButtonUpdateEvent", "radioButtonDeleteEvent", "selectionChange", "duplicateControl"] }, { kind: "component", type: i20.AswQrCode, selector: "asw-qrcode", inputs: ["control", "controlIndex", "isPreviewTemplate"], outputs: ["qrCodeUpdateEvent", "qrCodeDeleteEvent", "duplicateControl"] }, { kind: "component", type: i21.AswNumber, selector: "asw-number", inputs: ["control", "formControls", "controlIndex", "isPreviewTemplate"], outputs: ["numberUpdateEvent", "numberDeleteEvent", "aswModelChange", "duplicateControl"] }, { kind: "component", type: i22.AswCalculation, selector: "asw-calculation", inputs: ["control", "formControls", "controlIndex", "isPreviewTemplate"], outputs: ["calculationUpdateEvent", "calculationDeleteEvent", "aswModelChange", "duplicateControl"] }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: AswPreviewTemplate, decorators: [{ type: Component, args: [{ selector: 'asw-preview-template', template: "<!-- <div class=\"row\">\r\n <div class=\"col-md-12 text-right\">\r\n <button mat-raised-button \r\n type=\"button\"\r\n class=\"btn btn-secondary btn-sm float-end mb-2\">Download Pdf\r\n </button> \r\n </div>\r\n</div> -->\r\n<div class=\"row\"> \r\n <div class=\"col-md-12\">\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <div class=\"row\">\r\n <ng-container *ngFor=\"let control of formContainer; let i = index\">\r\n <ng-container [ngSwitch]=\"control.controlType\" class=\"asw-full-width\">\r\n <div [ngClass]=\"control.column\">\r\n <ng-container *ngSwitchCase=\"'autocomplete'\">\r\n <asw-autocomplete [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-autocomplete>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'header'\">\r\n <asw-header [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-header>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'qr-code'\">\r\n <asw-qrcode [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-qrcode>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'image'\">\r\n <asw-image [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (imageUpdateEvent)=\"updatedControl($event)\">\r\n </asw-image>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'textfield'\">\r\n <asw-textfield [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (aswModelChange)=\"onSelectionChange($event)\">\r\n </asw-textfield>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'textarea'\">\r\n <asw-textarea [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (aswModelChange)=\"onSelectionChange($event)\">\r\n </asw-textarea>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'number'\">\r\n <asw-number [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n [formControls]=\"formContainer\"\r\n (aswModelChange)=\"onSelectionChange($event)\">\r\n </asw-number>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'calculation'\">\r\n <asw-calculation [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (aswModelChange)=\"onSelectionChange($event)\">\r\n </asw-calculation>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'select'\">\r\n <asw-select [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-select>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'multi-select'\">\r\n <asw-multi-select [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-multi-select>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'radio'\">\r\n <asw-radio-button [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-radio-button>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'checkbox'\">\r\n <asw-checkbox [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-checkbox>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'datepicker'\">\r\n <asw-datepicker [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (dateChange)=\"onSelectionChange($event)\">\r\n </asw-datepicker>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'button'\">\r\n <asw-button [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (buttonClickEvent)=\"buttonClicked($event)\">\r\n </asw-button>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'paragraph'\">\r\n <asw-paragraph [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-paragraph>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'divider'\">\r\n <asw-divider [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-divider>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'slide-toggle'\">\r\n <asw-slide-toggle [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (selectionChange)=\"onSelectionChange($event)\">\r\n </asw-slide-toggle>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'gps'\">\r\n <asw-gps [control]=\"control\"\r\n [controlIndex]=\"i\"\r\n (gpsAddressChange)=\"onSelectionChange($event)\">\r\n </asw-gps>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'signature'\">\r\n <asw-signature [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-signature>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'drawing'\">\r\n <asw-drawing [control]=\"control\"\r\n [controlIndex]=\"i\">\r\n </asw-drawing>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </div> \r\n </div>\r\n </div>\r\n </div>\r\n</div>" }] }], ctorParameters: () => [{ type: i1.NotificationService }], propDecorators: { formContainer: [{ type: Input }], buttonClick: [{ type: Output }], aswModelChange: [{ 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 */ class AswPreviewTemplateModule { static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: AswPreviewTemplateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: AswPreviewTemplateModule, declarations: [AswPreviewTemplate], imports: [CommonModule, FormsModule, ReactiveFormsModule, AswAutocompleteModule, AswButtonModule, AswCheckboxModule, AswDatepickerModule, AswDividerModule, AswDrawingModule, AswGpsModule, AswHeaderModule, AswImageModule, AswMultiSelectModule, AswParagraphModule, AswSelectModule, AswSignatureModule, AswSlideToggleModule, AswTextareaModule, AswTextFieldModule, AswRadioButtonModule, MatSnackBarModule, QrCodeModule, AswNumberModule, AswCalculationModule], exports: [AswPreviewTemplate] }); static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: AswPreviewTemplateModule, providers: [ NotificationService, provideHttpClient(withInterceptorsFromDi()) ], imports: [CommonModule, FormsModule, ReactiveFormsModule, AswAutocompleteModule, AswButtonModule, AswCheckboxModule, AswDatepickerModule, AswDividerModule, AswDrawingModule, AswGpsModule, AswHeaderModule, AswImageModule, AswMultiSelectModule, AswParagraphModule, AswSelectModule, AswSignatureModule, AswSlideToggleModule, AswTextareaModule, AswTextFieldModule, AswRadioButtonModule, MatSnackBarModule, QrCodeModule, AswNumberModule, AswCalculationModule] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: AswPreviewTemplateModule, decorators: [{ type: NgModule, args: [{ declarations: [AswPreviewTemplate], exports: [AswPreviewTemplate], imports: [CommonModule, FormsModule, ReactiveFormsModule, AswAutocompleteModule, AswButtonModule, AswCheckboxModule, AswDatepickerModule, AswDividerModule, AswDrawingModule, AswGpsModule, AswHeaderModule, AswImageModule, AswMultiSelectModule, AswParagraphModule, AswSelectModule, AswSignatureModule, AswSlideToggleModule, AswTextareaModule, AswTextFieldModule, AswRadioButtonModule, MatSnackBarModule, QrCodeModule, AswNumberModule, AswCalculationModule], providers: [ NotificationService, provideHttpClient(withInterceptorsFromDi()) ] }] }] }); /** * @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 { AswPreviewTemplate, AswPreviewTemplateModule }; //# sourceMappingURL=asoftwareworld-form-builder-preview-template.mjs.map