special-forms 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.angular/cache/14.1.3/ng-packagr/content-v2/sha512/0f/5d/4e8fdfaa026b76a388545f18eec614210a0a9c380eaf0fdb454c56f605e2c6b46c66b88bef9113f9bc4521f472860463984614606b2be866123d0a825052 +1 -0
- package/.angular/cache/14.1.3/ng-packagr/content-v2/sha512/16/c3/534096c42a7bf78b4784f7588bb786086a1caf43aa10a3541b04a69a8ccf2b95af0e5febfc479a651ca4a84ac78e7b08f7f2e8e8bf0d616916cada66d305 +1 -0
- package/.angular/cache/14.1.3/ng-packagr/content-v2/sha512/29/bb/f15d4e8b0d33c1de4969216f0d8aee8b072848755e140b83746be03e9f941cda84a5e6c74c128aec4fb62b4c6c49bb0f911a99d40390bf73a3205d3dd17e +1 -0
- package/.angular/cache/14.1.3/ng-packagr/index-v5/09/8e/12e12ff81fc74249e744c65a0517fa1b481adc8330fff9f7cd8751aec608 +2 -1
- package/.angular/cache/14.1.3/ng-packagr/index-v5/74/b6/fa395f5b34ba0ef88964a666024b6c1bc05161fcfe410f167d6242757e90 +2 -1
- package/.angular/cache/14.1.3/ng-packagr/index-v5/9f/df/506a82e08d516c58b731cbaac17b2c19ca1a96f7e01510b011dd2bbbd161 +2 -1
- package/dist/special-forms/esm2020/lib/components/index.mjs +3 -4
- package/dist/special-forms/esm2020/lib/components/special-form/special-form.component.mjs +46 -28
- package/dist/special-forms/esm2020/lib/components/special-form/special-form.module.mjs +20 -15
- package/dist/special-forms/esm2020/public-api.mjs +1 -2
- package/dist/special-forms/fesm2015/special-forms.mjs +118 -161
- package/dist/special-forms/fesm2015/special-forms.mjs.map +1 -1
- package/dist/special-forms/fesm2020/special-forms.mjs +118 -161
- package/dist/special-forms/fesm2020/special-forms.mjs.map +1 -1
- package/dist/special-forms/lib/components/index.d.ts +2 -3
- package/dist/special-forms/lib/components/special-form/special-form.component.d.ts +10 -49
- package/dist/special-forms/lib/components/special-form/special-form.module.d.ts +12 -14
- package/dist/special-forms/public-api.d.ts +0 -1
- package/package.json +1 -1
- package/special-forms-1.1.0.tgz +0 -0
- package/dist/special-forms/esm2020/lib/components/special-form/special-form-array.module.mjs +0 -32
- package/dist/special-forms/esm2020/lib/core/directives/control-render.directive.mjs +0 -31
- package/dist/special-forms/esm2020/lib/core/directives/control-render.module.mjs +0 -18
- package/dist/special-forms/lib/components/special-form/special-form-array.module.d.ts +0 -11
- package/dist/special-forms/lib/core/directives/control-render.directive.d.ts +0 -13
- package/dist/special-forms/lib/core/directives/control-render.module.d.ts +0 -8
- package/special-forms-1.0.0.tgz +0 -0
- package/special-forms-1.0.1.tgz +0 -0
|
@@ -672,79 +672,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
672
672
|
}]
|
|
673
673
|
}] });
|
|
674
674
|
|
|
675
|
-
class FormControlsListPipe {
|
|
676
|
-
transform(controls) {
|
|
677
|
-
if (!controls)
|
|
678
|
-
return [];
|
|
679
|
-
return Object.values(controls)
|
|
680
|
-
.filter((control) => !control.hidden)
|
|
681
|
-
.map((control) => control);
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
FormControlsListPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
685
|
-
FormControlsListPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipe, name: "controlsList" });
|
|
686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipe, decorators: [{
|
|
687
|
-
type: Pipe,
|
|
688
|
-
args: [{ name: 'controlsList' }]
|
|
689
|
-
}] });
|
|
690
|
-
|
|
691
|
-
class FormControlsListPipeModule {
|
|
692
|
-
}
|
|
693
|
-
FormControlsListPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
694
|
-
FormControlsListPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipeModule, declarations: [FormControlsListPipe], imports: [CommonModule], exports: [FormControlsListPipe] });
|
|
695
|
-
FormControlsListPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipeModule, imports: [CommonModule] });
|
|
696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipeModule, decorators: [{
|
|
697
|
-
type: NgModule,
|
|
698
|
-
args: [{
|
|
699
|
-
declarations: [FormControlsListPipe],
|
|
700
|
-
imports: [CommonModule],
|
|
701
|
-
exports: [FormControlsListPipe],
|
|
702
|
-
}]
|
|
703
|
-
}] });
|
|
704
|
-
|
|
705
|
-
class FormControlsRenderDirective {
|
|
706
|
-
constructor(viewContainer) {
|
|
707
|
-
this.viewContainer = viewContainer;
|
|
708
|
-
this.componentsBuffer = {};
|
|
709
|
-
}
|
|
710
|
-
set controlSetter(control) {
|
|
711
|
-
this.viewContainer.clear();
|
|
712
|
-
const component = this.componentsBuffer[control.type];
|
|
713
|
-
if (component) {
|
|
714
|
-
const componentRef = this.viewContainer.createComponent(component);
|
|
715
|
-
componentRef.instance.control = control;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
FormControlsRenderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsRenderDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
720
|
-
FormControlsRenderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.3", type: FormControlsRenderDirective, selector: "[controlRender]", inputs: { componentsBuffer: ["components", "componentsBuffer"], controlSetter: ["control", "controlSetter"] }, ngImport: i0 });
|
|
721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsRenderDirective, decorators: [{
|
|
722
|
-
type: Directive,
|
|
723
|
-
args: [{
|
|
724
|
-
selector: `[controlRender]`,
|
|
725
|
-
}]
|
|
726
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { componentsBuffer: [{
|
|
727
|
-
type: Input,
|
|
728
|
-
args: ['components']
|
|
729
|
-
}], controlSetter: [{
|
|
730
|
-
type: Input,
|
|
731
|
-
args: ['control']
|
|
732
|
-
}] } });
|
|
733
|
-
|
|
734
|
-
class ControlsRenderDirectiveModule {
|
|
735
|
-
}
|
|
736
|
-
ControlsRenderDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ControlsRenderDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
737
|
-
ControlsRenderDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: ControlsRenderDirectiveModule, declarations: [FormControlsRenderDirective], imports: [CommonModule], exports: [FormControlsRenderDirective] });
|
|
738
|
-
ControlsRenderDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ControlsRenderDirectiveModule, imports: [CommonModule] });
|
|
739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ControlsRenderDirectiveModule, decorators: [{
|
|
740
|
-
type: NgModule,
|
|
741
|
-
args: [{
|
|
742
|
-
declarations: [FormControlsRenderDirective],
|
|
743
|
-
imports: [CommonModule],
|
|
744
|
-
exports: [FormControlsRenderDirective],
|
|
745
|
-
}]
|
|
746
|
-
}] });
|
|
747
|
-
|
|
748
675
|
class SpecialLabelComponent {
|
|
749
676
|
constructor() { }
|
|
750
677
|
ngOnInit() { }
|
|
@@ -766,28 +693,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
766
693
|
type: Input
|
|
767
694
|
}] } });
|
|
768
695
|
|
|
769
|
-
class
|
|
770
|
-
|
|
771
|
-
|
|
696
|
+
class SpecialLabelModule {
|
|
697
|
+
}
|
|
698
|
+
SpecialLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
699
|
+
SpecialLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SpecialLabelModule, declarations: [SpecialLabelComponent], imports: [InputMaskModule,
|
|
700
|
+
CommonModule,
|
|
701
|
+
MatInputModule,
|
|
702
|
+
MatIconModule,
|
|
703
|
+
ReactiveFormsModule,
|
|
704
|
+
MatButtonModule,
|
|
705
|
+
TextByFunctionPipeModule,
|
|
706
|
+
ErrorMessagePipeModule], exports: [SpecialLabelComponent] });
|
|
707
|
+
SpecialLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialLabelModule, imports: [InputMaskModule,
|
|
708
|
+
CommonModule,
|
|
709
|
+
MatInputModule,
|
|
710
|
+
MatIconModule,
|
|
711
|
+
ReactiveFormsModule,
|
|
712
|
+
MatButtonModule,
|
|
713
|
+
TextByFunctionPipeModule,
|
|
714
|
+
ErrorMessagePipeModule] });
|
|
715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialLabelModule, decorators: [{
|
|
716
|
+
type: NgModule,
|
|
717
|
+
args: [{
|
|
718
|
+
declarations: [SpecialLabelComponent],
|
|
719
|
+
imports: [
|
|
720
|
+
InputMaskModule,
|
|
721
|
+
CommonModule,
|
|
722
|
+
MatInputModule,
|
|
723
|
+
MatIconModule,
|
|
724
|
+
ReactiveFormsModule,
|
|
725
|
+
MatButtonModule,
|
|
726
|
+
TextByFunctionPipeModule,
|
|
727
|
+
ErrorMessagePipeModule
|
|
728
|
+
],
|
|
729
|
+
exports: [SpecialLabelComponent],
|
|
730
|
+
}]
|
|
731
|
+
}] });
|
|
732
|
+
|
|
733
|
+
class FormControlsListPipe {
|
|
734
|
+
transform(controls) {
|
|
735
|
+
if (!controls)
|
|
736
|
+
return [];
|
|
737
|
+
return Object.values(controls)
|
|
738
|
+
.filter((control) => !control.hidden)
|
|
739
|
+
.map((control) => control);
|
|
772
740
|
}
|
|
741
|
+
}
|
|
742
|
+
FormControlsListPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
743
|
+
FormControlsListPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipe, name: "controlsList" });
|
|
744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipe, decorators: [{
|
|
745
|
+
type: Pipe,
|
|
746
|
+
args: [{ name: 'controlsList' }]
|
|
747
|
+
}] });
|
|
748
|
+
|
|
749
|
+
class SpecialFormComponent {
|
|
773
750
|
set control(form) {
|
|
774
751
|
this.form = form;
|
|
775
752
|
}
|
|
776
753
|
ngOnInit() { }
|
|
777
754
|
}
|
|
778
755
|
SpecialFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
779
|
-
SpecialFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: SpecialFormComponent, selector: "sp-form", inputs: { form: ["control", "form"] }, ngImport: i0, template: "<div class=\"w-full box-border p-2\">\n <div\n *ngIf=\"form\"\n [class]=\"\n form.label\n ? 'w-full mt-2 p-3 border-slate-200 border border-solid box-border'\n : 'container'\n \"\n >\n <h1 *ngIf=\"!!form.label\" class=\"font-bold py-3\">{{ form.label }}</h1>\n <div class=\"w-full flex flex-wrap\">\n <ng-template\n *ngFor=\"let control of form.controls | controlsList\"\n controlRender\n [control]=\"control\"\n
|
|
756
|
+
SpecialFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: SpecialFormComponent, selector: "sp-form", inputs: { form: ["control", "form"] }, ngImport: i0, template: "<div class=\"w-full box-border p-2\">\n <div\n *ngIf=\"form\"\n [class]=\"\n form.label\n ? 'w-full mt-2 p-3 border-slate-200 border border-solid box-border'\n : 'container'\n \"\n >\n <h1 *ngIf=\"!!form.label\" class=\"font-bold py-3\">{{ form.label }}</h1>\n <div class=\"w-full flex flex-wrap\">\n <ng-template\n *ngFor=\"let control of form.controls | controlsList\"\n controlRender\n [control]=\"control\"\n ></ng-template>\n </div>\n </div>\n</div>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i3.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return i3.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(function () { return FormControlsRenderDirective; }), selector: "[controlRender]", inputs: ["control"] }, { kind: "pipe", type: i0.forwardRef(function () { return FormControlsListPipe; }), name: "controlsList" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
780
757
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialFormComponent, decorators: [{
|
|
781
758
|
type: Component,
|
|
782
|
-
args: [{ selector: 'sp-form', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"w-full box-border p-2\">\n <div\n *ngIf=\"form\"\n [class]=\"\n form.label\n ? 'w-full mt-2 p-3 border-slate-200 border border-solid box-border'\n : 'container'\n \"\n >\n <h1 *ngIf=\"!!form.label\" class=\"font-bold py-3\">{{ form.label }}</h1>\n <div class=\"w-full flex flex-wrap\">\n <ng-template\n *ngFor=\"let control of form.controls | controlsList\"\n controlRender\n [control]=\"control\"\n
|
|
759
|
+
args: [{ selector: 'sp-form', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"w-full box-border p-2\">\n <div\n *ngIf=\"form\"\n [class]=\"\n form.label\n ? 'w-full mt-2 p-3 border-slate-200 border border-solid box-border'\n : 'container'\n \"\n >\n <h1 *ngIf=\"!!form.label\" class=\"font-bold py-3\">{{ form.label }}</h1>\n <div class=\"w-full flex flex-wrap\">\n <ng-template\n *ngFor=\"let control of form.controls | controlsList\"\n controlRender\n [control]=\"control\"\n ></ng-template>\n </div>\n </div>\n</div>\n", styles: [":host{display:contents}\n"] }]
|
|
783
760
|
}], propDecorators: { form: [{
|
|
784
761
|
type: Input,
|
|
785
762
|
args: ['control']
|
|
786
763
|
}] } });
|
|
787
764
|
class SpecialArrayComponent {
|
|
788
|
-
constructor() {
|
|
789
|
-
this.componentsBuffer = ComponentsBuffer;
|
|
790
|
-
}
|
|
765
|
+
constructor() { }
|
|
791
766
|
set control(formArray) {
|
|
792
767
|
this.formArray = formArray;
|
|
793
768
|
}
|
|
@@ -806,95 +781,72 @@ class SpecialArrayComponent {
|
|
|
806
781
|
}
|
|
807
782
|
}
|
|
808
783
|
SpecialArrayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialArrayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
809
|
-
SpecialArrayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: SpecialArrayComponent, selector: "sp-array", inputs: { formArray: ["control", "formArray"] }, ngImport: i0, template: "<div class=\"w-full box-border p-2\">\r\n <div\r\n *ngIf=\"formArray\"\r\n class=\"w-full mt-2 p-3 border-slate-200 border border-solid box-border\"\r\n >\r\n <h1 *ngIf=\"!!formArray.label\" class=\"font-bold py-3\">\r\n {{ formArray.label }}\r\n </h1>\r\n <div class=\"divide-y divide-solid\">\r\n <div\r\n *ngIf=\"formArray.form\"\r\n [ngClass]=\"{ 'md:grid-cols-15': settings.withActionButtons }\"\r\n class=\"grid gap-4 grid-cols-12\"\r\n >\r\n <ng-container *ngIf=\"!withFormHeader; else FORMHEADERREF\">\r\n <h2\r\n [class]=\"item.styleClasses\"\r\n *ngFor=\"let item of formArray.form.controls | controlsList\"\r\n >\r\n {{ item.label }}\r\n </h2>\r\n <div\r\n *ngIf=\"settings.withActionButtons\"\r\n class=\"\r\n col-start-7 col-end-13\r\n md:col-start-13 md:col-end-16\r\n pb-5\r\n my-auto\r\n ml-auto\r\n md:m-auto\r\n \"\r\n ></div>\r\n </ng-container>\r\n <ng-template #FORMHEADERREF>\r\n <ng-template\r\n *ngFor=\"let item of formArray.form.controls | controlsList\"\r\n controlRender\r\n [
|
|
784
|
+
SpecialArrayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: SpecialArrayComponent, selector: "sp-array", inputs: { formArray: ["control", "formArray"] }, ngImport: i0, template: "<div class=\"w-full box-border p-2\">\r\n <div\r\n *ngIf=\"formArray\"\r\n class=\"w-full mt-2 p-3 border-slate-200 border border-solid box-border\"\r\n >\r\n <h1 *ngIf=\"!!formArray.label\" class=\"font-bold py-3\">\r\n {{ formArray.label }}\r\n </h1>\r\n <div class=\"divide-y divide-solid\">\r\n <div\r\n *ngIf=\"formArray.form\"\r\n [ngClass]=\"{ 'md:grid-cols-15': settings.withActionButtons }\"\r\n class=\"grid gap-4 grid-cols-12\"\r\n >\r\n <ng-container *ngIf=\"!withFormHeader; else FORMHEADERREF\">\r\n <h2\r\n [class]=\"item.styleClasses\"\r\n *ngFor=\"let item of formArray.form.controls | controlsList\"\r\n >\r\n {{ item.label }}\r\n </h2>\r\n <div\r\n *ngIf=\"settings.withActionButtons\"\r\n class=\"\r\n col-start-7 col-end-13\r\n md:col-start-13 md:col-end-16\r\n pb-5\r\n my-auto\r\n ml-auto\r\n md:m-auto\r\n \"\r\n ></div>\r\n </ng-container>\r\n <ng-template #FORMHEADERREF>\r\n <ng-template\r\n *ngFor=\"let item of formArray.form.controls | controlsList\"\r\n controlRender\r\n [control]=\"item\"\r\n ></ng-template>\r\n <div\r\n *ngIf=\"settings.withActionButtons\"\r\n class=\"\r\n col-start-7 col-end-13\r\n md:col-start-13 md:col-end-16\r\n pb-5\r\n my-auto\r\n ml-auto\r\n md:m-auto\r\n \"\r\n >\r\n <button\r\n mat-flat-button\r\n color=\"primary\"\r\n [disabled]=\"formArray.form.invalid\"\r\n (click)=\"addItem()\"\r\n >\r\n Add\r\n </button>\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div\r\n class=\"w-full pt-5 grid gap-4 grid-cols-12 md:grid-cols-15\"\r\n *ngFor=\"let formGroup of formArray.controls; let i = index\"\r\n >\r\n <ng-template\r\n *ngFor=\"let item of formGroup.controls | controlsList\"\r\n controlRender\r\n [control]=\"item\"\r\n ></ng-template>\r\n <div\r\n class=\"\r\n col-start-7 col-end-13\r\n md:col-start-13 md:col-end-16\r\n pb-5\r\n my-auto\r\n ml-auto\r\n md:m-auto\r\n \"\r\n >\r\n <button mat-flat-button color=\"warn\" (click)=\"removeItem(i)\">\r\n Remove\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<!-- <table class=\"form-array-container__table\">\r\n <thead *ngIf=\"formArray.form\">\r\n <tr\r\n *ngIf=\"headerForm; else HEADERFORMREF\"\r\n class=\"form-array-container__table-header\"\r\n >\r\n <th\r\n class=\"header-cell\"\r\n *ngFor=\"let control of formArray.form | controlsList\"\r\n >\r\n {{ control.label | translate }}\r\n </th>\r\n <th *ngIf=\"!formArray.readOnly\"></th>\r\n </tr>\r\n <ng-template #HEADERFORMREF>\r\n <tr class=\"table-form-header\">\r\n <th\r\n class=\"header-cell\"\r\n [ngSwitch]=\"control.type\"\r\n *ngFor=\"let control of formArray.form | controlsList\"\r\n >\r\n <sp-form-control-selector\r\n [control]=\"control\"\r\n ></sp-form-control-selector>\r\n </th>\r\n <th class=\"header-cell\" *ngIf=\"!formArray.readOnly\">\r\n <ng-container *ngTemplateOutlet=\"ADDBUTTON\"></ng-container>\r\n </th>\r\n </tr>\r\n </ng-template>\r\n </thead> -->\r\n\r\n<!-- [ngStyle]=\"{'max-height':'calc(100vh - '+maxHeight+'px)' }\"> -->\r\n<!-- <tbody>\r\n <tr *ngFor=\"let formGroup of formArray.controls; let i = index\">\r\n <td [ngSwitch]=\"control.type\" *ngFor=\"let control of formGroup.controls | controlsList\">\r\n <sp-form-control-selector\r\n [control]=\"control\"\r\n ></sp-form-control-selector>\r\n </td>\r\n <td *ngIf=\"!formArray.readOnly\">\r\n <bmb-button\r\n [icon]=\"'delete_outline'\"\r\n [type]=\"'Raised'\"\r\n [size]=\"'XLarge'\"\r\n [bdrColor]=\"'error-500'\"\r\n [tColor]=\"'error-500'\"\r\n (onClick)=\"deleteItem(i)\"\r\n >\r\n </bmb-button>\r\n </td>\r\n </tr>\r\n </tbody> -->\r\n<!-- </table> -->\r\n\r\n<!-- <ng-template #TABLET>\r\n <div class=\"mt-1\">\r\n <ng-container *ngIf=\"headerFormEnable\">\r\n <div class=\"card-form-container\">\r\n <automatic-forms [form]=\"formArray.form\" [enableButtons]=\"false\">\r\n </automatic-forms>\r\n <ng-container *ngTemplateOutlet=\"ADDBUTTON\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-content select=\"[header]\"></ng-content>\r\n </div>\r\n <div class=\"accordion-container\">\r\n <mat-accordion>\r\n <mat-expansion-panel\r\n class=\"mat-elevation-z1\"\r\n *ngFor=\"let item of formArray.controls; let i = index\"\r\n >\r\n <mat-expansion-panel-header\r\n class=\"expanded-header\"\r\n collapsedHeight=\"3rem\"\r\n expandedHeight=\"3rem\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"cardHeaderTemplate; context: { $implicit: item }\"\r\n >\r\n </ng-container>\r\n <mat-icon\r\n *ngIf=\"!formArray.readOnly\"\r\n class=\"mobile-delete\"\r\n (click)=\"deleteItem(i)\"\r\n color=\"warn\"\r\n >\r\n delete_outline\r\n </mat-icon>\r\n </mat-expansion-panel-header>\r\n <ng-container\r\n *ngTemplateOutlet=\"cardBodyTemplate; context: { $implicit: item }\"\r\n >\r\n </ng-container>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n </div>\r\n</ng-template>\r\n\r\n<div class=\"text-error\" *ngIf=\"formArray.dirty && formArray.invalid\">\r\n {{ formArray.errors | errorMessage | translate }}\r\n</div>\r\n\r\n<ng-template #ADDBUTTON>\r\n <div class=\"add-item-btn\">\r\n <bmb-button\r\n [icon]=\"'add'\"\r\n [type]=\"'Raised'\"\r\n [bdrColor]=\"'aux-success'\"\r\n [size]=\"'XLarge'\"\r\n [tColor]=\"'aux-success'\"\r\n [disabled]=\"!formArray.form.valid || !formArray.form.dirty\"\r\n (onClick)=\"addItemAction()\"\r\n >\r\n </bmb-button>\r\n </div>\r\n</ng-template> -->\r\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i3.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return i3.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return i3.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(function () { return i7$1.MatButton; }), selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i0.forwardRef(function () { return FormControlsRenderDirective; }), selector: "[controlRender]", inputs: ["control"] }, { kind: "pipe", type: i0.forwardRef(function () { return FormControlsListPipe; }), name: "controlsList" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
810
785
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialArrayComponent, decorators: [{
|
|
811
786
|
type: Component,
|
|
812
|
-
args: [{ selector: 'sp-array', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"w-full box-border p-2\">\r\n <div\r\n *ngIf=\"formArray\"\r\n class=\"w-full mt-2 p-3 border-slate-200 border border-solid box-border\"\r\n >\r\n <h1 *ngIf=\"!!formArray.label\" class=\"font-bold py-3\">\r\n {{ formArray.label }}\r\n </h1>\r\n <div class=\"divide-y divide-solid\">\r\n <div\r\n *ngIf=\"formArray.form\"\r\n [ngClass]=\"{ 'md:grid-cols-15': settings.withActionButtons }\"\r\n class=\"grid gap-4 grid-cols-12\"\r\n >\r\n <ng-container *ngIf=\"!withFormHeader; else FORMHEADERREF\">\r\n <h2\r\n [class]=\"item.styleClasses\"\r\n *ngFor=\"let item of formArray.form.controls | controlsList\"\r\n >\r\n {{ item.label }}\r\n </h2>\r\n <div\r\n *ngIf=\"settings.withActionButtons\"\r\n class=\"\r\n col-start-7 col-end-13\r\n md:col-start-13 md:col-end-16\r\n pb-5\r\n my-auto\r\n ml-auto\r\n md:m-auto\r\n \"\r\n ></div>\r\n </ng-container>\r\n <ng-template #FORMHEADERREF>\r\n <ng-template\r\n *ngFor=\"let item of formArray.form.controls | controlsList\"\r\n controlRender\r\n [
|
|
787
|
+
args: [{ selector: 'sp-array', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"w-full box-border p-2\">\r\n <div\r\n *ngIf=\"formArray\"\r\n class=\"w-full mt-2 p-3 border-slate-200 border border-solid box-border\"\r\n >\r\n <h1 *ngIf=\"!!formArray.label\" class=\"font-bold py-3\">\r\n {{ formArray.label }}\r\n </h1>\r\n <div class=\"divide-y divide-solid\">\r\n <div\r\n *ngIf=\"formArray.form\"\r\n [ngClass]=\"{ 'md:grid-cols-15': settings.withActionButtons }\"\r\n class=\"grid gap-4 grid-cols-12\"\r\n >\r\n <ng-container *ngIf=\"!withFormHeader; else FORMHEADERREF\">\r\n <h2\r\n [class]=\"item.styleClasses\"\r\n *ngFor=\"let item of formArray.form.controls | controlsList\"\r\n >\r\n {{ item.label }}\r\n </h2>\r\n <div\r\n *ngIf=\"settings.withActionButtons\"\r\n class=\"\r\n col-start-7 col-end-13\r\n md:col-start-13 md:col-end-16\r\n pb-5\r\n my-auto\r\n ml-auto\r\n md:m-auto\r\n \"\r\n ></div>\r\n </ng-container>\r\n <ng-template #FORMHEADERREF>\r\n <ng-template\r\n *ngFor=\"let item of formArray.form.controls | controlsList\"\r\n controlRender\r\n [control]=\"item\"\r\n ></ng-template>\r\n <div\r\n *ngIf=\"settings.withActionButtons\"\r\n class=\"\r\n col-start-7 col-end-13\r\n md:col-start-13 md:col-end-16\r\n pb-5\r\n my-auto\r\n ml-auto\r\n md:m-auto\r\n \"\r\n >\r\n <button\r\n mat-flat-button\r\n color=\"primary\"\r\n [disabled]=\"formArray.form.invalid\"\r\n (click)=\"addItem()\"\r\n >\r\n Add\r\n </button>\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div\r\n class=\"w-full pt-5 grid gap-4 grid-cols-12 md:grid-cols-15\"\r\n *ngFor=\"let formGroup of formArray.controls; let i = index\"\r\n >\r\n <ng-template\r\n *ngFor=\"let item of formGroup.controls | controlsList\"\r\n controlRender\r\n [control]=\"item\"\r\n ></ng-template>\r\n <div\r\n class=\"\r\n col-start-7 col-end-13\r\n md:col-start-13 md:col-end-16\r\n pb-5\r\n my-auto\r\n ml-auto\r\n md:m-auto\r\n \"\r\n >\r\n <button mat-flat-button color=\"warn\" (click)=\"removeItem(i)\">\r\n Remove\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<!-- <table class=\"form-array-container__table\">\r\n <thead *ngIf=\"formArray.form\">\r\n <tr\r\n *ngIf=\"headerForm; else HEADERFORMREF\"\r\n class=\"form-array-container__table-header\"\r\n >\r\n <th\r\n class=\"header-cell\"\r\n *ngFor=\"let control of formArray.form | controlsList\"\r\n >\r\n {{ control.label | translate }}\r\n </th>\r\n <th *ngIf=\"!formArray.readOnly\"></th>\r\n </tr>\r\n <ng-template #HEADERFORMREF>\r\n <tr class=\"table-form-header\">\r\n <th\r\n class=\"header-cell\"\r\n [ngSwitch]=\"control.type\"\r\n *ngFor=\"let control of formArray.form | controlsList\"\r\n >\r\n <sp-form-control-selector\r\n [control]=\"control\"\r\n ></sp-form-control-selector>\r\n </th>\r\n <th class=\"header-cell\" *ngIf=\"!formArray.readOnly\">\r\n <ng-container *ngTemplateOutlet=\"ADDBUTTON\"></ng-container>\r\n </th>\r\n </tr>\r\n </ng-template>\r\n </thead> -->\r\n\r\n<!-- [ngStyle]=\"{'max-height':'calc(100vh - '+maxHeight+'px)' }\"> -->\r\n<!-- <tbody>\r\n <tr *ngFor=\"let formGroup of formArray.controls; let i = index\">\r\n <td [ngSwitch]=\"control.type\" *ngFor=\"let control of formGroup.controls | controlsList\">\r\n <sp-form-control-selector\r\n [control]=\"control\"\r\n ></sp-form-control-selector>\r\n </td>\r\n <td *ngIf=\"!formArray.readOnly\">\r\n <bmb-button\r\n [icon]=\"'delete_outline'\"\r\n [type]=\"'Raised'\"\r\n [size]=\"'XLarge'\"\r\n [bdrColor]=\"'error-500'\"\r\n [tColor]=\"'error-500'\"\r\n (onClick)=\"deleteItem(i)\"\r\n >\r\n </bmb-button>\r\n </td>\r\n </tr>\r\n </tbody> -->\r\n<!-- </table> -->\r\n\r\n<!-- <ng-template #TABLET>\r\n <div class=\"mt-1\">\r\n <ng-container *ngIf=\"headerFormEnable\">\r\n <div class=\"card-form-container\">\r\n <automatic-forms [form]=\"formArray.form\" [enableButtons]=\"false\">\r\n </automatic-forms>\r\n <ng-container *ngTemplateOutlet=\"ADDBUTTON\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-content select=\"[header]\"></ng-content>\r\n </div>\r\n <div class=\"accordion-container\">\r\n <mat-accordion>\r\n <mat-expansion-panel\r\n class=\"mat-elevation-z1\"\r\n *ngFor=\"let item of formArray.controls; let i = index\"\r\n >\r\n <mat-expansion-panel-header\r\n class=\"expanded-header\"\r\n collapsedHeight=\"3rem\"\r\n expandedHeight=\"3rem\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"cardHeaderTemplate; context: { $implicit: item }\"\r\n >\r\n </ng-container>\r\n <mat-icon\r\n *ngIf=\"!formArray.readOnly\"\r\n class=\"mobile-delete\"\r\n (click)=\"deleteItem(i)\"\r\n color=\"warn\"\r\n >\r\n delete_outline\r\n </mat-icon>\r\n </mat-expansion-panel-header>\r\n <ng-container\r\n *ngTemplateOutlet=\"cardBodyTemplate; context: { $implicit: item }\"\r\n >\r\n </ng-container>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n </div>\r\n</ng-template>\r\n\r\n<div class=\"text-error\" *ngIf=\"formArray.dirty && formArray.invalid\">\r\n {{ formArray.errors | errorMessage | translate }}\r\n</div>\r\n\r\n<ng-template #ADDBUTTON>\r\n <div class=\"add-item-btn\">\r\n <bmb-button\r\n [icon]=\"'add'\"\r\n [type]=\"'Raised'\"\r\n [bdrColor]=\"'aux-success'\"\r\n [size]=\"'XLarge'\"\r\n [tColor]=\"'aux-success'\"\r\n [disabled]=\"!formArray.form.valid || !formArray.form.dirty\"\r\n (onClick)=\"addItemAction()\"\r\n >\r\n </bmb-button>\r\n </div>\r\n</ng-template> -->\r\n", styles: [":host{display:contents}\n"] }]
|
|
813
788
|
}], ctorParameters: function () { return []; }, propDecorators: { formArray: [{
|
|
814
789
|
type: Input,
|
|
815
790
|
args: ['control']
|
|
816
791
|
}] } });
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
792
|
+
class FormControlsRenderDirective {
|
|
793
|
+
constructor(viewContainer) {
|
|
794
|
+
this.viewContainer = viewContainer;
|
|
795
|
+
this.componentsBuffer = {
|
|
796
|
+
[EControlTypes$1.autocomplete]: SpecialAutocompleteComponent,
|
|
797
|
+
[EControlTypes$1.checkbox]: SpecialCheckboxComponent,
|
|
798
|
+
[EControlTypes$1.date]: SpecialDatepickerComponent,
|
|
799
|
+
[EControlTypes$1.dropdown]: SpecialDropdownComponent,
|
|
800
|
+
[EControlTypes$1.array]: SpecialArrayComponent,
|
|
801
|
+
[EControlTypes$1.input]: SpecialInputComponent,
|
|
802
|
+
[EControlTypes$1.multiple]: SpecialMultipleAutocompleteComponent,
|
|
803
|
+
[EControlTypes$1.textArea]: SpecialTextAreaComponent,
|
|
804
|
+
[EControlTypes$1.label]: SpecialLabelComponent,
|
|
805
|
+
[EControlTypes$1.upload]: SpecialUploadComponent,
|
|
806
|
+
[EControlTypes$1.form]: SpecialFormComponent,
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
set controlSetter(control) {
|
|
810
|
+
this.viewContainer.clear();
|
|
811
|
+
const component = this.componentsBuffer[control.type];
|
|
812
|
+
if (component) {
|
|
813
|
+
const componentRef = this.viewContainer.createComponent(component);
|
|
814
|
+
componentRef.instance.control = control;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
832
817
|
}
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
ControlsRenderDirectiveModule], exports: [SpecialArrayComponent] });
|
|
838
|
-
SpecialArrayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialArrayModule, imports: [CommonModule,
|
|
839
|
-
FormControlsListPipeModule,
|
|
840
|
-
MatButtonModule,
|
|
841
|
-
ControlsRenderDirectiveModule] });
|
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialArrayModule, decorators: [{
|
|
843
|
-
type: NgModule,
|
|
818
|
+
FormControlsRenderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsRenderDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
819
|
+
FormControlsRenderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.3", type: FormControlsRenderDirective, selector: "[controlRender]", inputs: { controlSetter: ["control", "controlSetter"] }, ngImport: i0 });
|
|
820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsRenderDirective, decorators: [{
|
|
821
|
+
type: Directive,
|
|
844
822
|
args: [{
|
|
845
|
-
|
|
846
|
-
imports: [
|
|
847
|
-
CommonModule,
|
|
848
|
-
FormControlsListPipeModule,
|
|
849
|
-
MatButtonModule,
|
|
850
|
-
ControlsRenderDirectiveModule,
|
|
851
|
-
],
|
|
852
|
-
exports: [SpecialArrayComponent],
|
|
823
|
+
selector: `[controlRender]`,
|
|
853
824
|
}]
|
|
854
|
-
}] }
|
|
825
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { controlSetter: [{
|
|
826
|
+
type: Input,
|
|
827
|
+
args: ['control']
|
|
828
|
+
}] } });
|
|
855
829
|
|
|
856
|
-
class
|
|
830
|
+
class FormControlsListPipeModule {
|
|
857
831
|
}
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
MatIconModule,
|
|
863
|
-
ReactiveFormsModule,
|
|
864
|
-
MatButtonModule,
|
|
865
|
-
TextByFunctionPipeModule,
|
|
866
|
-
ErrorMessagePipeModule], exports: [SpecialLabelComponent] });
|
|
867
|
-
SpecialLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialLabelModule, imports: [InputMaskModule,
|
|
868
|
-
CommonModule,
|
|
869
|
-
MatInputModule,
|
|
870
|
-
MatIconModule,
|
|
871
|
-
ReactiveFormsModule,
|
|
872
|
-
MatButtonModule,
|
|
873
|
-
TextByFunctionPipeModule,
|
|
874
|
-
ErrorMessagePipeModule] });
|
|
875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialLabelModule, decorators: [{
|
|
832
|
+
FormControlsListPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
833
|
+
FormControlsListPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipeModule, declarations: [FormControlsListPipe], imports: [CommonModule], exports: [FormControlsListPipe] });
|
|
834
|
+
FormControlsListPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipeModule, imports: [CommonModule] });
|
|
835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormControlsListPipeModule, decorators: [{
|
|
876
836
|
type: NgModule,
|
|
877
837
|
args: [{
|
|
878
|
-
declarations: [
|
|
879
|
-
imports: [
|
|
880
|
-
|
|
881
|
-
CommonModule,
|
|
882
|
-
MatInputModule,
|
|
883
|
-
MatIconModule,
|
|
884
|
-
ReactiveFormsModule,
|
|
885
|
-
MatButtonModule,
|
|
886
|
-
TextByFunctionPipeModule,
|
|
887
|
-
ErrorMessagePipeModule
|
|
888
|
-
],
|
|
889
|
-
exports: [SpecialLabelComponent],
|
|
838
|
+
declarations: [FormControlsListPipe],
|
|
839
|
+
imports: [CommonModule],
|
|
840
|
+
exports: [FormControlsListPipe],
|
|
890
841
|
}]
|
|
891
842
|
}] });
|
|
892
843
|
|
|
893
844
|
class SpecialFormModule {
|
|
894
845
|
}
|
|
895
846
|
SpecialFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
896
|
-
SpecialFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SpecialFormModule, declarations: [
|
|
897
|
-
|
|
847
|
+
SpecialFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SpecialFormModule, declarations: [SpecialArrayComponent,
|
|
848
|
+
FormControlsRenderDirective,
|
|
849
|
+
SpecialFormComponent], imports: [CommonModule,
|
|
898
850
|
FormControlsListPipeModule,
|
|
899
851
|
MatButtonModule,
|
|
900
852
|
SpecialDropdownModule,
|
|
@@ -905,10 +857,10 @@ SpecialFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
|
|
|
905
857
|
SpecialMultipleAutocompleteModule,
|
|
906
858
|
SpecialCheckboxModule,
|
|
907
859
|
SpecialTextAreaModule,
|
|
908
|
-
SpecialUploadModule,
|
|
909
|
-
|
|
860
|
+
SpecialUploadModule], exports: [SpecialArrayComponent,
|
|
861
|
+
FormControlsRenderDirective,
|
|
862
|
+
SpecialFormComponent] });
|
|
910
863
|
SpecialFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialFormModule, imports: [CommonModule,
|
|
911
|
-
ControlsRenderDirectiveModule,
|
|
912
864
|
FormControlsListPipeModule,
|
|
913
865
|
MatButtonModule,
|
|
914
866
|
SpecialDropdownModule,
|
|
@@ -919,15 +871,17 @@ SpecialFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
919
871
|
SpecialMultipleAutocompleteModule,
|
|
920
872
|
SpecialCheckboxModule,
|
|
921
873
|
SpecialTextAreaModule,
|
|
922
|
-
SpecialUploadModule
|
|
923
|
-
SpecialArrayModule] });
|
|
874
|
+
SpecialUploadModule] });
|
|
924
875
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SpecialFormModule, decorators: [{
|
|
925
876
|
type: NgModule,
|
|
926
877
|
args: [{
|
|
927
|
-
declarations: [
|
|
878
|
+
declarations: [
|
|
879
|
+
SpecialArrayComponent,
|
|
880
|
+
FormControlsRenderDirective,
|
|
881
|
+
SpecialFormComponent,
|
|
882
|
+
],
|
|
928
883
|
imports: [
|
|
929
884
|
CommonModule,
|
|
930
|
-
ControlsRenderDirectiveModule,
|
|
931
885
|
FormControlsListPipeModule,
|
|
932
886
|
MatButtonModule,
|
|
933
887
|
SpecialDropdownModule,
|
|
@@ -939,9 +893,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
939
893
|
SpecialCheckboxModule,
|
|
940
894
|
SpecialTextAreaModule,
|
|
941
895
|
SpecialUploadModule,
|
|
942
|
-
SpecialArrayModule,
|
|
943
896
|
],
|
|
944
|
-
exports: [
|
|
897
|
+
exports: [
|
|
898
|
+
SpecialArrayComponent,
|
|
899
|
+
FormControlsRenderDirective,
|
|
900
|
+
SpecialFormComponent,
|
|
901
|
+
],
|
|
945
902
|
}]
|
|
946
903
|
}] });
|
|
947
904
|
|
|
@@ -1331,5 +1288,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1331
1288
|
* Generated bundle index. Do not edit.
|
|
1332
1289
|
*/
|
|
1333
1290
|
|
|
1334
|
-
export { FormControlsRenderDirective, SpecialArrayComponent,
|
|
1291
|
+
export { FormControlsRenderDirective, SpecialArrayComponent, SpecialAutocompleteComponent, SpecialAutocompleteModule, SpecialCheckboxComponent, SpecialCheckboxModule, SpecialDatepickerComponent, SpecialDatepickerModule, SpecialDropdownComponent, SpecialDropdownModule, SpecialFormBuilderService, SpecialFormComponent, SpecialFormModule, SpecialInputComponent, SpecialInputModule, SpecialLabelComponent, SpecialLabelModule, SpecialMultipleAutocompleteComponent, SpecialMultipleAutocompleteModule, SpecialTextAreaComponent, SpecialTextAreaModule, SpecialUploadComponent, SpecialUploadModule };
|
|
1335
1292
|
//# sourceMappingURL=special-forms.mjs.map
|