ng-zorro-antd-extension 17.4.2 → 17.4.4

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.
Files changed (63) hide show
  1. package/configurable-query/configurable-query.component.d.ts +12 -8
  2. package/configurable-query/configurable-query.module.d.ts +5 -3
  3. package/configurable-query/controls/abstract.control.d.ts +2 -1
  4. package/configurable-query/query-config.service.d.ts +3 -0
  5. package/dynamic-form/config/dynamic-form-config.d.ts +18 -0
  6. package/dynamic-form/controls/abstract.control.d.ts +11 -0
  7. package/dynamic-form/controls/date-picker.control.d.ts +6 -0
  8. package/dynamic-form/controls/input.control.d.ts +6 -0
  9. package/dynamic-form/controls/range-picker.control.d.ts +6 -0
  10. package/dynamic-form/controls/select.control.d.ts +6 -0
  11. package/dynamic-form/controls/template.control.d.ts +6 -0
  12. package/dynamic-form/dynamic-form-item/dynamic-form-item.component.d.ts +12 -0
  13. package/dynamic-form/dynamic-form.component.d.ts +5 -0
  14. package/dynamic-form/dynamic-form.module.d.ts +23 -0
  15. package/dynamic-form/index.d.ts +5 -0
  16. package/dynamic-form/public-api.d.ts +7 -0
  17. package/dynamic-form/wrapper/control/abstract-control-wrapper.d.ts +12 -0
  18. package/dynamic-form/wrapper/control/built-in-control-wrapper.d.ts +7 -0
  19. package/dynamic-form/wrapper/item/abstract-item-wrapper.d.ts +14 -0
  20. package/dynamic-form/wrapper/item/built-in-item-wrapper.d.ts +6 -0
  21. package/dynamic-form/wrapper/label/abstract-label-wrapper.d.ts +5 -0
  22. package/dynamic-form/wrapper/label/built-in-label-wrapper.d.ts +6 -0
  23. package/esm2022/configurable-query/configurable-query-item/configurable-query-item.component.mjs +4 -3
  24. package/esm2022/configurable-query/configurable-query.component.mjs +18 -12
  25. package/esm2022/configurable-query/configurable-query.module.mjs +14 -6
  26. package/esm2022/configurable-query/controls/abstract.control.mjs +4 -1
  27. package/esm2022/configurable-query/controls/date-picker.control.mjs +6 -5
  28. package/esm2022/configurable-query/controls/input.control.mjs +6 -5
  29. package/esm2022/configurable-query/controls/range-picker.control.mjs +6 -5
  30. package/esm2022/configurable-query/controls/select.control.mjs +6 -5
  31. package/esm2022/configurable-query/controls/template.control.mjs +6 -5
  32. package/esm2022/configurable-query/query-config.service.mjs +4 -1
  33. package/esm2022/dynamic-form/config/dynamic-form-config.mjs +47 -0
  34. package/esm2022/dynamic-form/controls/abstract.control.mjs +17 -0
  35. package/esm2022/dynamic-form/controls/date-picker.control.mjs +20 -0
  36. package/esm2022/dynamic-form/controls/input.control.mjs +15 -0
  37. package/esm2022/dynamic-form/controls/range-picker.control.mjs +15 -0
  38. package/esm2022/dynamic-form/controls/select.control.mjs +49 -0
  39. package/esm2022/dynamic-form/controls/template.control.mjs +30 -0
  40. package/esm2022/dynamic-form/dynamic-form-item/dynamic-form-item.component.mjs +31 -0
  41. package/esm2022/dynamic-form/dynamic-form.component.mjs +45 -0
  42. package/esm2022/dynamic-form/dynamic-form.module.mjs +72 -0
  43. package/esm2022/dynamic-form/ng-zorro-antd-extension-dynamic-form.mjs +5 -0
  44. package/esm2022/dynamic-form/public-api.mjs +8 -0
  45. package/esm2022/dynamic-form/wrapper/control/abstract-control-wrapper.mjs +30 -0
  46. package/esm2022/dynamic-form/wrapper/control/built-in-control-wrapper.mjs +32 -0
  47. package/esm2022/dynamic-form/wrapper/item/abstract-item-wrapper.mjs +44 -0
  48. package/esm2022/dynamic-form/wrapper/item/built-in-item-wrapper.mjs +27 -0
  49. package/esm2022/dynamic-form/wrapper/label/abstract-label-wrapper.mjs +10 -0
  50. package/esm2022/dynamic-form/wrapper/label/built-in-label-wrapper.mjs +17 -0
  51. package/esm2022/print/nzx-print-content.directive.mjs +2 -2
  52. package/esm2022/print/nzx-print.module.mjs +1 -1
  53. package/esm2022/util/lib/getElementByTag.mjs +15 -8
  54. package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs +53 -27
  55. package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs.map +1 -1
  56. package/fesm2022/ng-zorro-antd-extension-dynamic-form.mjs +444 -0
  57. package/fesm2022/ng-zorro-antd-extension-dynamic-form.mjs.map +1 -0
  58. package/fesm2022/ng-zorro-antd-extension-print.mjs.map +1 -1
  59. package/fesm2022/ng-zorro-antd-extension-util.mjs +13 -7
  60. package/fesm2022/ng-zorro-antd-extension-util.mjs.map +1 -1
  61. package/package.json +12 -6
  62. package/print/nzx-print-content.directive.d.ts +1 -1
  63. package/table-select/abstract-table-select.d.ts +1 -1
@@ -0,0 +1,444 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ViewContainerRef, Directive, ViewChild, Component, HostBinding, Input, Injectable, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i1 from 'ng-zorro-antd/grid';
4
+ import * as i3 from 'ng-zorro-antd/form';
5
+ import { NzFormModule } from 'ng-zorro-antd/form';
6
+ import * as i1$1 from 'ng-zorro-antd/input';
7
+ import { NzInputModule } from 'ng-zorro-antd/input';
8
+ import * as i1$2 from '@angular/common';
9
+ import { CommonModule } from '@angular/common';
10
+ import * as i1$3 from 'ng-zorro-antd/date-picker';
11
+ import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
12
+ import * as i2 from '@angular/forms';
13
+ import { ReactiveFormsModule } from '@angular/forms';
14
+ import * as i3$1 from 'ng-zorro-antd/select';
15
+ import { NzSelectModule } from 'ng-zorro-antd/select';
16
+
17
+ class NzxDFAbstractItemWrapper {
18
+ constructor(nzxDFConfig) {
19
+ this.nzxDFConfig = nzxDFConfig;
20
+ }
21
+ ngOnInit() {
22
+ this.renderLabel();
23
+ this.renderControl();
24
+ }
25
+ renderLabel() {
26
+ this.labelWrapperTemplateView.clear();
27
+ const labelWrapperComponent = this.nzxDFConfig.getLabelWrapper('builtin-label');
28
+ if (labelWrapperComponent) {
29
+ const componentRef = this.labelWrapperTemplateView.createComponent(labelWrapperComponent);
30
+ }
31
+ else {
32
+ throw `label:: is invalidate`;
33
+ }
34
+ }
35
+ renderControl() {
36
+ this.controlWrapperTemplateView.clear();
37
+ const controlWrapperComponent = this.nzxDFConfig.getControlWrapper('builtin-control');
38
+ if (controlWrapperComponent) {
39
+ const componentRef = this.controlWrapperTemplateView.createComponent(controlWrapperComponent);
40
+ }
41
+ else {
42
+ throw `label:: is invalidate`;
43
+ }
44
+ }
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFAbstractItemWrapper, deps: [{ token: NzxDFConfigService }], target: i0.ɵɵFactoryTarget.Directive }); }
46
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFAbstractItemWrapper, viewQueries: [{ propertyName: "labelWrapperTemplateView", first: true, predicate: ["dfLabelWrapperTpl"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "controlWrapperTemplateView", first: true, predicate: ["dfControlWrapperTpl"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0 }); }
47
+ }
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFAbstractItemWrapper, decorators: [{
49
+ type: Directive
50
+ }], ctorParameters: () => [{ type: NzxDFConfigService }], propDecorators: { labelWrapperTemplateView: [{
51
+ type: ViewChild,
52
+ args: ['dfLabelWrapperTpl', { static: true, read: ViewContainerRef }]
53
+ }], controlWrapperTemplateView: [{
54
+ type: ViewChild,
55
+ args: ['dfControlWrapperTpl', { static: true, read: ViewContainerRef }]
56
+ }] } });
57
+
58
+ class NzxDFBuiltInItemWrapperComponent extends NzxDFAbstractItemWrapper {
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFBuiltInItemWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
60
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFBuiltInItemWrapperComponent, selector: "nzx-built-in-item-wrapper", usesInheritance: true, ngImport: i0, template: `
61
+ <nz-form-item>
62
+ <ng-template #dfLabelWrapperTpl></ng-template>
63
+ <ng-template #dfControlWrapperTpl></ng-template>
64
+ </nz-form-item>
65
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }] }); }
66
+ }
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFBuiltInItemWrapperComponent, decorators: [{
68
+ type: Component,
69
+ args: [{
70
+ selector: 'nzx-built-in-item-wrapper',
71
+ template: `
72
+ <nz-form-item>
73
+ <ng-template #dfLabelWrapperTpl></ng-template>
74
+ <ng-template #dfControlWrapperTpl></ng-template>
75
+ </nz-form-item>
76
+ `,
77
+ }]
78
+ }] });
79
+
80
+ class NzxDFAbstractLabelWrapper {
81
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFAbstractLabelWrapper, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
82
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFAbstractLabelWrapper, ngImport: i0 }); }
83
+ }
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFAbstractLabelWrapper, decorators: [{
85
+ type: Directive
86
+ }] });
87
+
88
+ class NzxDFBuiltInLabelWrapperComponent extends NzxDFAbstractLabelWrapper {
89
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFBuiltInLabelWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
90
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFBuiltInLabelWrapperComponent, selector: "nzx-built-in-label-wrapper", usesInheritance: true, ngImport: i0, template: ` <nz-form-label>我是label</nz-form-label> `, isInline: true, dependencies: [{ kind: "directive", type: i1.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }] }); }
91
+ }
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFBuiltInLabelWrapperComponent, decorators: [{
93
+ type: Component,
94
+ args: [{
95
+ selector: 'nzx-built-in-label-wrapper',
96
+ template: ` <nz-form-label>我是label</nz-form-label> `,
97
+ }]
98
+ }] });
99
+
100
+ class NzxDFAbstractControlWrapper {
101
+ constructor(nzxDFConfig) {
102
+ this.nzxDFConfig = nzxDFConfig;
103
+ }
104
+ ngOnInit() {
105
+ this.renderControl();
106
+ }
107
+ renderControl() {
108
+ this.controlTemplateView.clear();
109
+ const controlComponent = this.nzxDFConfig.getControl('input');
110
+ if (controlComponent) {
111
+ const componentRef = this.controlTemplateView.createComponent(controlComponent);
112
+ }
113
+ else {
114
+ throw `label:: is invalidate`;
115
+ }
116
+ }
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFAbstractControlWrapper, deps: [{ token: NzxDFConfigService }], target: i0.ɵɵFactoryTarget.Directive }); }
118
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFAbstractControlWrapper, viewQueries: [{ propertyName: "controlTemplateView", first: true, predicate: ["dfControlTpl"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0 }); }
119
+ }
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFAbstractControlWrapper, decorators: [{
121
+ type: Directive
122
+ }], ctorParameters: () => [{ type: NzxDFConfigService }], propDecorators: { controlTemplateView: [{
123
+ type: ViewChild,
124
+ args: ['dfControlTpl', { static: true, read: ViewContainerRef }]
125
+ }] } });
126
+
127
+ class NzxDFBuiltInControlWrapperComponent extends NzxDFAbstractControlWrapper {
128
+ constructor() {
129
+ super(...arguments);
130
+ this.controlWrapper = true;
131
+ }
132
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFBuiltInControlWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
133
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFBuiltInControlWrapperComponent, selector: "nzx-built-in-control-wrapper", host: { properties: { "class.ant-form-item-control": "this.controlWrapper" } }, usesInheritance: true, ngImport: i0, template: `
134
+ <nz-form-control>
135
+ <ng-template #dfControlTpl></ng-template>
136
+ </nz-form-control>
137
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }] }); }
138
+ }
139
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFBuiltInControlWrapperComponent, decorators: [{
140
+ type: Component,
141
+ args: [{
142
+ selector: 'nzx-built-in-control-wrapper',
143
+ template: `
144
+ <nz-form-control>
145
+ <ng-template #dfControlTpl></ng-template>
146
+ </nz-form-control>
147
+ `,
148
+ }]
149
+ }], propDecorators: { controlWrapper: [{
150
+ type: HostBinding,
151
+ args: ['class.ant-form-item-control']
152
+ }] } });
153
+
154
+ /**
155
+ * 用来动态添加control type类型控件,类型控件需要继承此控件
156
+ */
157
+ class NzxDFAbstractControl {
158
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFAbstractControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
159
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFAbstractControl, inputs: { form: "form", control: "control" }, ngImport: i0 }); }
160
+ }
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFAbstractControl, decorators: [{
162
+ type: Directive
163
+ }], propDecorators: { form: [{
164
+ type: Input
165
+ }], control: [{
166
+ type: Input
167
+ }] } });
168
+
169
+ class NzxDFInputControlComponent extends NzxDFAbstractControl {
170
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFInputControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
171
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFInputControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <input nz-input type="text" /> `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }] }); }
172
+ }
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFInputControlComponent, decorators: [{
174
+ type: Component,
175
+ args: [{
176
+ template: ` <input nz-input type="text" /> `,
177
+ }]
178
+ }] });
179
+
180
+ class NzxDFDatePickerControlComponent extends NzxDFAbstractControl {
181
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFDatePickerControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
182
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFDatePickerControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
183
+ <nz-date-picker [ngStyle]="{ width: '100%' }"> </nz-date-picker>
184
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i1$3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }] }); }
185
+ }
186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFDatePickerControlComponent, decorators: [{
187
+ type: Component,
188
+ args: [{
189
+ template: `
190
+ <nz-date-picker [ngStyle]="{ width: '100%' }"> </nz-date-picker>
191
+ `,
192
+ }]
193
+ }] });
194
+
195
+ class NzxDFRangePickerControlComponent extends NzxDFAbstractControl {
196
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFRangePickerControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
197
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFRangePickerControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <nz-range-picker> </nz-range-picker> `, isInline: true, dependencies: [{ kind: "component", type: i1$3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }, { kind: "directive", type: i1$3.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }] }); }
198
+ }
199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFRangePickerControlComponent, decorators: [{
200
+ type: Component,
201
+ args: [{
202
+ template: ` <nz-range-picker> </nz-range-picker> `,
203
+ }]
204
+ }] });
205
+
206
+ class NzxDFSelectControlComponent extends NzxDFAbstractControl {
207
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFSelectControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
208
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFSelectControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
209
+ <ng-container [formGroup]="form">
210
+ <nz-select
211
+ [formControlName]="control.controlName!"
212
+ [nzShowSearch]="control.nzxShowSearch ?? true"
213
+ [nzAllowClear]="control.nzxAllowClear ?? true"
214
+ [nzPlaceHolder]="control.placeholder!"
215
+ >
216
+ <nz-option
217
+ *ngFor="let item of control.menuList"
218
+ [nzValue]="item.value"
219
+ [nzLabel]="item.label"
220
+ >
221
+ </nz-option>
222
+ </nz-select>
223
+ </ng-container>
224
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3$1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3$1.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }] }); }
225
+ }
226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFSelectControlComponent, decorators: [{
227
+ type: Component,
228
+ args: [{
229
+ template: `
230
+ <ng-container [formGroup]="form">
231
+ <nz-select
232
+ [formControlName]="control.controlName!"
233
+ [nzShowSearch]="control.nzxShowSearch ?? true"
234
+ [nzAllowClear]="control.nzxAllowClear ?? true"
235
+ [nzPlaceHolder]="control.placeholder!"
236
+ >
237
+ <nz-option
238
+ *ngFor="let item of control.menuList"
239
+ [nzValue]="item.value"
240
+ [nzLabel]="item.label"
241
+ >
242
+ </nz-option>
243
+ </nz-select>
244
+ </ng-container>
245
+ `,
246
+ }]
247
+ }] });
248
+
249
+ class NzxDFTemplateControlComponent extends NzxDFAbstractControl {
250
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFTemplateControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
251
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NzxDFTemplateControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
252
+ <ng-container
253
+ *ngTemplateOutlet="
254
+ control.templateRef!;
255
+ context: { $implicit: form.get(control.controlName!), formGroup: form }
256
+ "
257
+ >
258
+ </ng-container>
259
+ `, isInline: true }); }
260
+ }
261
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFTemplateControlComponent, decorators: [{
262
+ type: Component,
263
+ args: [{
264
+ template: `
265
+ <ng-container
266
+ *ngTemplateOutlet="
267
+ control.templateRef!;
268
+ context: { $implicit: form.get(control.controlName!), formGroup: form }
269
+ "
270
+ >
271
+ </ng-container>
272
+ `,
273
+ }]
274
+ }] });
275
+
276
+ class NzxDFConfigService {
277
+ constructor() {
278
+ this.itemWrapperMap = new Map([
279
+ ['builtin-item', NzxDFBuiltInItemWrapperComponent],
280
+ ]);
281
+ this.labelWrapperMap = new Map([
282
+ ['builtin-label', NzxDFBuiltInLabelWrapperComponent],
283
+ ]);
284
+ this.controlWrapperMap = new Map([['builtin-control', NzxDFBuiltInControlWrapperComponent]]);
285
+ this.controlMap = new Map([
286
+ ['input', NzxDFInputControlComponent],
287
+ ['datePicker', NzxDFDatePickerControlComponent],
288
+ ['rangePicker', NzxDFRangePickerControlComponent],
289
+ ['select', NzxDFSelectControlComponent],
290
+ ['template', NzxDFTemplateControlComponent],
291
+ ]);
292
+ }
293
+ getItemWrapper(key) {
294
+ return this.itemWrapperMap.get(key);
295
+ }
296
+ getLabelWrapper(key) {
297
+ return this.labelWrapperMap.get(key);
298
+ }
299
+ getControlWrapper(key) {
300
+ return this.controlWrapperMap.get(key);
301
+ }
302
+ getControl(key) {
303
+ return this.controlMap.get(key);
304
+ }
305
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
306
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFConfigService, providedIn: 'root' }); }
307
+ }
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDFConfigService, decorators: [{
309
+ type: Injectable,
310
+ args: [{ providedIn: 'root' }]
311
+ }], ctorParameters: () => [] });
312
+
313
+ class DynamicFormItemComponent {
314
+ constructor(nzxDFConfig) {
315
+ this.nzxDFConfig = nzxDFConfig;
316
+ }
317
+ ngOnInit() {
318
+ this.renderItem();
319
+ }
320
+ renderItem() {
321
+ this.itemTemplateView.clear();
322
+ const labelComponent = this.nzxDFConfig.getItemWrapper('builtin-item');
323
+ if (labelComponent) {
324
+ const componentRef = this.itemTemplateView.createComponent(labelComponent);
325
+ }
326
+ else {
327
+ throw `item:: is invalidate`;
328
+ }
329
+ }
330
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DynamicFormItemComponent, deps: [{ token: NzxDFConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
331
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DynamicFormItemComponent, selector: "nzx-dynamic-form-item", viewQueries: [{ propertyName: "itemTemplateView", first: true, predicate: ["dfItemTpl"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: ` <ng-template #dfItemTpl></ng-template> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
332
+ }
333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DynamicFormItemComponent, decorators: [{
334
+ type: Component,
335
+ args: [{ selector: 'nzx-dynamic-form-item', template: ` <ng-template #dfItemTpl></ng-template> `, changeDetection: ChangeDetectionStrategy.OnPush }]
336
+ }], ctorParameters: () => [{ type: NzxDFConfigService }], propDecorators: { itemTemplateView: [{
337
+ type: ViewChild,
338
+ args: ['dfItemTpl', { static: true, read: ViewContainerRef }]
339
+ }] } });
340
+
341
+ class NzxDynamicFormComponent {
342
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDynamicFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
343
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NzxDynamicFormComponent, selector: "nzx-dynamic-form", ngImport: i0, template: `
344
+ <form nz-form [nzLayout]="'vertical'">
345
+ <nz-form-item>
346
+ <nz-form-label>我是label</nz-form-label>
347
+ <nz-form-control>
348
+ <input nz-input />
349
+ </nz-form-control>
350
+ </nz-form-item>
351
+
352
+ <nzx-dynamic-form-item></nzx-dynamic-form-item>
353
+ <nzx-dynamic-form-item></nzx-dynamic-form-item>
354
+ <nzx-dynamic-form-item></nzx-dynamic-form-item>
355
+ </form>
356
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i1.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "directive", type: i1$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: DynamicFormItemComponent, selector: "nzx-dynamic-form-item" }] }); }
357
+ }
358
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDynamicFormComponent, decorators: [{
359
+ type: Component,
360
+ args: [{
361
+ selector: 'nzx-dynamic-form',
362
+ template: `
363
+ <form nz-form [nzLayout]="'vertical'">
364
+ <nz-form-item>
365
+ <nz-form-label>我是label</nz-form-label>
366
+ <nz-form-control>
367
+ <input nz-input />
368
+ </nz-form-control>
369
+ </nz-form-item>
370
+
371
+ <nzx-dynamic-form-item></nzx-dynamic-form-item>
372
+ <nzx-dynamic-form-item></nzx-dynamic-form-item>
373
+ <nzx-dynamic-form-item></nzx-dynamic-form-item>
374
+ </form>
375
+ `,
376
+ }]
377
+ }] });
378
+
379
+ class NzxDynamicFormModule {
380
+ static forRoot() {
381
+ return {
382
+ ngModule: NzxDynamicFormModule,
383
+ providers: [],
384
+ };
385
+ }
386
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDynamicFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
387
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: NzxDynamicFormModule, declarations: [NzxDynamicFormComponent,
388
+ DynamicFormItemComponent,
389
+ NzxDFBuiltInItemWrapperComponent,
390
+ NzxDFBuiltInLabelWrapperComponent,
391
+ NzxDFBuiltInControlWrapperComponent,
392
+ NzxDFDatePickerControlComponent,
393
+ NzxDFInputControlComponent,
394
+ NzxDFRangePickerControlComponent,
395
+ NzxDFSelectControlComponent], imports: [CommonModule,
396
+ ReactiveFormsModule,
397
+ NzFormModule,
398
+ NzInputModule,
399
+ NzSelectModule,
400
+ NzDatePickerModule], exports: [NzxDynamicFormComponent] }); }
401
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDynamicFormModule, imports: [CommonModule,
402
+ ReactiveFormsModule,
403
+ NzFormModule,
404
+ NzInputModule,
405
+ NzSelectModule,
406
+ NzDatePickerModule] }); }
407
+ }
408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NzxDynamicFormModule, decorators: [{
409
+ type: NgModule,
410
+ args: [{
411
+ imports: [
412
+ CommonModule,
413
+ ReactiveFormsModule,
414
+ NzFormModule,
415
+ NzInputModule,
416
+ NzSelectModule,
417
+ NzDatePickerModule,
418
+ ],
419
+ declarations: [
420
+ NzxDynamicFormComponent,
421
+ DynamicFormItemComponent,
422
+ NzxDFBuiltInItemWrapperComponent,
423
+ NzxDFBuiltInLabelWrapperComponent,
424
+ NzxDFBuiltInControlWrapperComponent,
425
+ NzxDFDatePickerControlComponent,
426
+ NzxDFInputControlComponent,
427
+ NzxDFRangePickerControlComponent,
428
+ NzxDFSelectControlComponent,
429
+ ],
430
+ exports: [NzxDynamicFormComponent],
431
+ }]
432
+ }] });
433
+
434
+ /**
435
+ * Use of this source code is governed by an MIT-style license that can be
436
+ * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
437
+ */
438
+
439
+ /**
440
+ * Generated bundle index. Do not edit.
441
+ */
442
+
443
+ export { NzxDFConfigService, NzxDynamicFormComponent, NzxDynamicFormModule };
444
+ //# sourceMappingURL=ng-zorro-antd-extension-dynamic-form.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-zorro-antd-extension-dynamic-form.mjs","sources":["../../../components/dynamic-form/wrapper/item/abstract-item-wrapper.ts","../../../components/dynamic-form/wrapper/item/built-in-item-wrapper.ts","../../../components/dynamic-form/wrapper/label/abstract-label-wrapper.ts","../../../components/dynamic-form/wrapper/label/built-in-label-wrapper.ts","../../../components/dynamic-form/wrapper/control/abstract-control-wrapper.ts","../../../components/dynamic-form/wrapper/control/built-in-control-wrapper.ts","../../../components/dynamic-form/controls/abstract.control.ts","../../../components/dynamic-form/controls/input.control.ts","../../../components/dynamic-form/controls/date-picker.control.ts","../../../components/dynamic-form/controls/range-picker.control.ts","../../../components/dynamic-form/controls/select.control.ts","../../../components/dynamic-form/controls/template.control.ts","../../../components/dynamic-form/config/dynamic-form-config.ts","../../../components/dynamic-form/dynamic-form-item/dynamic-form-item.component.ts","../../../components/dynamic-form/dynamic-form.component.ts","../../../components/dynamic-form/dynamic-form.module.ts","../../../components/dynamic-form/public-api.ts","../../../components/dynamic-form/ng-zorro-antd-extension-dynamic-form.ts"],"sourcesContent":["import { Directive, OnInit, ViewChild, ViewContainerRef } from '@angular/core';\nimport { NzxDFConfigService } from '../../config/dynamic-form-config';\n\n@Directive()\nexport class NzxDFAbstractItemWrapper implements OnInit {\n @ViewChild('dfLabelWrapperTpl', { static: true, read: ViewContainerRef })\n private labelWrapperTemplateView!: ViewContainerRef;\n @ViewChild('dfControlWrapperTpl', { static: true, read: ViewContainerRef })\n private controlWrapperTemplateView!: ViewContainerRef;\n\n constructor(private nzxDFConfig: NzxDFConfigService) {}\n\n ngOnInit(): void {\n this.renderLabel();\n this.renderControl();\n }\n\n private renderLabel() {\n this.labelWrapperTemplateView.clear();\n const labelWrapperComponent =\n this.nzxDFConfig.getLabelWrapper('builtin-label');\n if (labelWrapperComponent) {\n const componentRef = this.labelWrapperTemplateView.createComponent(\n labelWrapperComponent\n );\n } else {\n throw `label:: is invalidate`;\n }\n }\n private renderControl() {\n this.controlWrapperTemplateView.clear();\n const controlWrapperComponent =\n this.nzxDFConfig.getControlWrapper('builtin-control');\n if (controlWrapperComponent) {\n const componentRef = this.controlWrapperTemplateView.createComponent(\n controlWrapperComponent\n );\n } else {\n throw `label:: is invalidate`;\n }\n }\n}\n","import { Component } from '@angular/core';\nimport { NzxDFAbstractItemWrapper } from './abstract-item-wrapper';\n\n@Component({\n selector: 'nzx-built-in-item-wrapper',\n template: `\n <nz-form-item>\n <ng-template #dfLabelWrapperTpl></ng-template>\n <ng-template #dfControlWrapperTpl></ng-template>\n </nz-form-item>\n `,\n})\nexport class NzxDFBuiltInItemWrapperComponent extends NzxDFAbstractItemWrapper {}\n","import { Directive } from '@angular/core';\n\n@Directive()\nexport class NzxDFAbstractLabelWrapper {}\n","import { Component } from '@angular/core';\nimport { NzxDFAbstractLabelWrapper } from './abstract-label-wrapper';\n\n@Component({\n selector: 'nzx-built-in-label-wrapper',\n template: ` <nz-form-label>我是label</nz-form-label> `,\n})\nexport class NzxDFBuiltInLabelWrapperComponent extends NzxDFAbstractLabelWrapper {}\n","import { Directive, OnInit, ViewChild, ViewContainerRef } from '@angular/core';\nimport { NzxDFConfigService } from '../../config/dynamic-form-config';\n\n@Directive()\nexport class NzxDFAbstractControlWrapper implements OnInit {\n @ViewChild('dfControlTpl', { static: true, read: ViewContainerRef })\n private controlTemplateView!: ViewContainerRef;\n\n constructor(private nzxDFConfig: NzxDFConfigService) {}\n\n ngOnInit(): void {\n this.renderControl();\n }\n\n private renderControl() {\n this.controlTemplateView.clear();\n const controlComponent = this.nzxDFConfig.getControl('input');\n if (controlComponent) {\n const componentRef =\n this.controlTemplateView.createComponent(controlComponent);\n } else {\n throw `label:: is invalidate`;\n }\n }\n}\n","import { Component, HostBinding } from '@angular/core';\nimport { NzxDFAbstractControlWrapper } from './abstract-control-wrapper';\n\n@Component({\n selector: 'nzx-built-in-control-wrapper',\n template: `\n <nz-form-control>\n <ng-template #dfControlTpl></ng-template>\n </nz-form-control>\n `,\n})\nexport class NzxDFBuiltInControlWrapperComponent extends NzxDFAbstractControlWrapper {\n @HostBinding('class.ant-form-item-control') controlWrapper = true;\n}\n","import { Directive, Input } from '@angular/core';\nimport { FormGroup } from '@angular/forms';\n\n/**\n * 用来动态添加control type类型控件,类型控件需要继承此控件\n */\n@Directive()\nexport class NzxDFAbstractControl {\n @Input() form!: FormGroup<any>;\n @Input() control!: any;\n}\n","import { Component } from '@angular/core';\nimport { NzxDFAbstractControl } from './abstract.control';\n\n@Component({\n template: ` <input nz-input type=\"text\" /> `,\n})\nexport class NzxDFInputControlComponent extends NzxDFAbstractControl {}\n","import { Component } from '@angular/core';\nimport { NzxDFAbstractControl } from './abstract.control';\n\n@Component({\n template: `\n <nz-date-picker [ngStyle]=\"{ width: '100%' }\"> </nz-date-picker>\n `,\n})\nexport class NzxDFDatePickerControlComponent extends NzxDFAbstractControl {}\n","import { Component } from '@angular/core';\nimport { NzxDFAbstractControl } from './abstract.control';\n\n@Component({\n template: ` <nz-range-picker> </nz-range-picker> `,\n})\nexport class NzxDFRangePickerControlComponent extends NzxDFAbstractControl {}\n","import { Component } from '@angular/core';\nimport { NzxDFAbstractControl } from './abstract.control';\n\n@Component({\n template: `\n <ng-container [formGroup]=\"form\">\n <nz-select\n [formControlName]=\"control.controlName!\"\n [nzShowSearch]=\"control.nzxShowSearch ?? true\"\n [nzAllowClear]=\"control.nzxAllowClear ?? true\"\n [nzPlaceHolder]=\"control.placeholder!\"\n >\n <nz-option\n *ngFor=\"let item of control.menuList\"\n [nzValue]=\"item.value\"\n [nzLabel]=\"item.label\"\n >\n </nz-option>\n </nz-select>\n </ng-container>\n `,\n})\nexport class NzxDFSelectControlComponent extends NzxDFAbstractControl {}\n","import { Component } from '@angular/core';\nimport { NzxDFAbstractControl } from './abstract.control';\n\n@Component({\n template: `\n <ng-container\n *ngTemplateOutlet=\"\n control.templateRef!;\n context: { $implicit: form.get(control.controlName!), formGroup: form }\n \"\n >\n </ng-container>\n `,\n})\nexport class NzxDFTemplateControlComponent extends NzxDFAbstractControl {}\n","import { Injectable } from '@angular/core';\n\nimport { NzxDFBuiltInItemWrapperComponent } from '../wrapper/item/built-in-item-wrapper';\nimport { NzxDFBuiltInLabelWrapperComponent } from '../wrapper/label/built-in-label-wrapper';\nimport { NzxDFBuiltInControlWrapperComponent } from '../wrapper/control/built-in-control-wrapper';\nimport { NzxDFAbstractItemWrapper } from '../wrapper/item/abstract-item-wrapper';\nimport { NzxDFAbstractLabelWrapper } from '../wrapper/label/abstract-label-wrapper';\nimport { NzxDFAbstractControlWrapper } from '../wrapper/control/abstract-control-wrapper';\n\nimport { NzxDFAbstractControl } from '../controls/abstract.control';\nimport { NzxDFInputControlComponent } from '../controls/input.control';\nimport { NzxDFDatePickerControlComponent } from '../controls/date-picker.control';\nimport { NzxDFRangePickerControlComponent } from '../controls/range-picker.control';\nimport { NzxDFSelectControlComponent } from '../controls/select.control';\nimport { NzxDFTemplateControlComponent } from '../controls/template.control';\n\n@Injectable({ providedIn: 'root' })\nexport class NzxDFConfigService {\n private itemWrapperMap = new Map<string, typeof NzxDFAbstractItemWrapper>([\n ['builtin-item', NzxDFBuiltInItemWrapperComponent],\n ]);\n\n private labelWrapperMap = new Map<string, typeof NzxDFAbstractLabelWrapper>([\n ['builtin-label', NzxDFBuiltInLabelWrapperComponent],\n ]);\n\n private controlWrapperMap = new Map<\n string,\n typeof NzxDFAbstractControlWrapper\n >([['builtin-control', NzxDFBuiltInControlWrapperComponent]]);\n\n private controlMap = new Map<string, typeof NzxDFAbstractControl>([\n ['input', NzxDFInputControlComponent],\n ['datePicker', NzxDFDatePickerControlComponent],\n ['rangePicker', NzxDFRangePickerControlComponent],\n ['select', NzxDFSelectControlComponent],\n ['template', NzxDFTemplateControlComponent],\n ]);\n constructor() {}\n\n getItemWrapper(key: string) {\n return this.itemWrapperMap.get(key);\n }\n getLabelWrapper(key: string) {\n return this.labelWrapperMap.get(key);\n }\n getControlWrapper(key: string) {\n return this.controlWrapperMap.get(key);\n }\n\n getControl(key: string) {\n return this.controlMap.get(key);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\nimport { NzxDFConfigService } from '../config/dynamic-form-config';\n\n\n@Component({\n selector: 'nzx-dynamic-form-item',\n template: ` <ng-template #dfItemTpl></ng-template> `,\n styles: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DynamicFormItemComponent implements OnInit {\n @ViewChild('dfItemTpl', { static: true, read: ViewContainerRef })\n private itemTemplateView!: ViewContainerRef;\n\n constructor(private nzxDFConfig: NzxDFConfigService) {}\n\n ngOnInit(): void {\n this.renderItem();\n }\n\n private renderItem() {\n this.itemTemplateView.clear();\n const labelComponent = this.nzxDFConfig.getItemWrapper('builtin-item');\n if (labelComponent) {\n const componentRef =\n this.itemTemplateView.createComponent(labelComponent);\n } else {\n throw `item:: is invalidate`;\n }\n }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'nzx-dynamic-form',\n template: `\n <form nz-form [nzLayout]=\"'vertical'\">\n <nz-form-item>\n <nz-form-label>我是label</nz-form-label>\n <nz-form-control>\n <input nz-input />\n </nz-form-control>\n </nz-form-item>\n\n <nzx-dynamic-form-item></nzx-dynamic-form-item>\n <nzx-dynamic-form-item></nzx-dynamic-form-item>\n <nzx-dynamic-form-item></nzx-dynamic-form-item>\n </form>\n `,\n})\nexport class NzxDynamicFormComponent {}\n","import { CommonModule } from '@angular/common';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzDatePickerModule } from 'ng-zorro-antd/date-picker';\n\nimport { NzxDFBuiltInControlWrapperComponent } from './wrapper/control/built-in-control-wrapper';\nimport { NzxDFBuiltInItemWrapperComponent } from './wrapper/item/built-in-item-wrapper';\nimport { NzxDFBuiltInLabelWrapperComponent } from './wrapper/label/built-in-label-wrapper';\n\nimport { NzxDFDatePickerControlComponent } from './controls/date-picker.control';\nimport { NzxDFInputControlComponent } from './controls/input.control';\nimport { NzxDFRangePickerControlComponent } from './controls/range-picker.control';\nimport { NzxDFSelectControlComponent } from './controls/select.control';\n\nimport { DynamicFormItemComponent } from './dynamic-form-item/dynamic-form-item.component';\nimport { NzxDynamicFormComponent } from './dynamic-form.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n NzFormModule,\n NzInputModule,\n NzSelectModule,\n NzDatePickerModule,\n ],\n declarations: [\n NzxDynamicFormComponent,\n DynamicFormItemComponent,\n\n NzxDFBuiltInItemWrapperComponent,\n NzxDFBuiltInLabelWrapperComponent,\n NzxDFBuiltInControlWrapperComponent,\n\n NzxDFDatePickerControlComponent,\n NzxDFInputControlComponent,\n NzxDFRangePickerControlComponent,\n NzxDFSelectControlComponent,\n ],\n exports: [NzxDynamicFormComponent],\n})\nexport class NzxDynamicFormModule {\n static forRoot(): ModuleWithProviders<NzxDynamicFormModule> {\n return {\n ngModule: NzxDynamicFormModule,\n providers: [],\n };\n }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nexport * from './config/dynamic-form-config';\nexport * from './dynamic-form.component';\nexport * from './dynamic-form.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.NzxDFConfigService","i2","i1","i3","i4","i5.DynamicFormItemComponent"],"mappings":";;;;;;;;;;;;;;;;MAIa,wBAAwB,CAAA;AAMnC,IAAA,WAAA,CAAoB,WAA+B,EAAA;QAA/B,IAAW,CAAA,WAAA,GAAX,WAAW;;IAE/B,QAAQ,GAAA;QACN,IAAI,CAAC,WAAW,EAAE;QAClB,IAAI,CAAC,aAAa,EAAE;;IAGd,WAAW,GAAA;AACjB,QAAA,IAAI,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