ngx-formly-zorro-antd 17.1.0 → 17.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/card/card.module.d.ts +1 -1
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button/button.type.mjs +3 -3
- package/esm2022/button-group/button-group.module.mjs +4 -4
- package/esm2022/button-group/button-group.type.mjs +3 -3
- package/esm2022/card/card.module.mjs +7 -8
- package/esm2022/card/card.type.mjs +3 -3
- package/esm2022/card-wrapper/card-wrapper.module.mjs +4 -4
- package/esm2022/card-wrapper/card.wrapper.mjs +3 -3
- package/esm2022/cascader/cascader.module.mjs +4 -4
- package/esm2022/cascader/cascader.type.mjs +3 -3
- package/esm2022/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/checkbox/checkbox.type.mjs +3 -3
- package/esm2022/common/common.module.mjs +4 -4
- package/esm2022/common/formly-box-templates.directive.mjs +3 -3
- package/esm2022/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/datepicker/datepicker.type.mjs +3 -3
- package/esm2022/flex/flex.module.mjs +41 -0
- package/esm2022/flex/flex.type.mjs +66 -0
- package/esm2022/flex/ngx-formly-zorro-antd-flex.mjs +5 -0
- package/esm2022/flex/public_api.mjs +3 -0
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +38 -4
- package/esm2022/grid/grid.module.mjs +4 -4
- package/esm2022/grid/grid.type.mjs +3 -3
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/input/input.props.mjs +1 -1
- package/esm2022/input/input.type.mjs +3 -3
- package/esm2022/input/public_api.mjs +1 -1
- package/esm2022/input-group/input-group.module.mjs +4 -4
- package/esm2022/input-group/input-group.props.mjs +1 -1
- package/esm2022/input-group/input-group.type.mjs +3 -3
- package/esm2022/input-group/public_api.mjs +1 -1
- package/esm2022/input-number/input-number.module.mjs +4 -4
- package/esm2022/input-number/input-number.type.mjs +3 -3
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +12 -8
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/radio/radio.type.mjs +3 -3
- package/esm2022/rate/rate.module.mjs +4 -4
- package/esm2022/rate/rate.type.mjs +3 -3
- package/esm2022/ref-template/ref-template.module.mjs +4 -4
- package/esm2022/ref-template/ref-template.type.mjs +3 -3
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/select/select.type.mjs +3 -3
- package/esm2022/slider/slider.module.mjs +4 -4
- package/esm2022/slider/slider.type.mjs +3 -3
- package/esm2022/space/space.module.mjs +4 -4
- package/esm2022/space/space.type.mjs +3 -3
- package/esm2022/switch/switch.module.mjs +4 -4
- package/esm2022/switch/switch.type.mjs +3 -3
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tabs/tabs.wrapper.mjs +3 -3
- package/esm2022/text-value/text-value.module.mjs +4 -4
- package/esm2022/text-value/text-value.type.mjs +3 -3
- package/esm2022/textarea/textarea.module.mjs +4 -4
- package/esm2022/textarea/textarea.type.mjs +3 -3
- package/esm2022/timepicker/timepicker.module.mjs +4 -4
- package/esm2022/timepicker/timepicker.type.mjs +3 -3
- package/esm2022/transfer/transfer.component.mjs +3 -3
- package/esm2022/transfer/transfer.module.mjs +4 -4
- package/esm2022/transfer/transfer.type.mjs +3 -3
- package/esm2022/tree-select/tree-select.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.type.mjs +3 -3
- package/esm2022/upload/upload.component.mjs +3 -3
- package/esm2022/upload/upload.module.mjs +4 -4
- package/esm2022/upload/upload.type.mjs +3 -3
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +9 -10
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-common.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs +109 -0
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +41 -7
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +10 -10
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +10 -10
- package/fesm2022/ngx-formly-zorro-antd.mjs +11 -7
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/flex/flex.module.d.ts +10 -0
- package/flex/flex.type.d.ts +48 -0
- package/flex/index.d.ts +5 -0
- package/flex/public_api.d.ts +2 -0
- package/form-field/form-field.props.d.ts +16 -0
- package/form-field/form-field.wrapper.d.ts +4 -0
- package/input/input.props.d.ts +4 -2
- package/input/public_api.d.ts +1 -0
- package/input-group/input-group.props.d.ts +2 -0
- package/input-group/public_api.d.ts +1 -1
- package/lib/ui-ng-zorro-antd.module.d.ts +2 -1
- package/package.json +14 -8
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-flex.mjs","sources":["../../../../packages/formlyantd/flex/src/flex.type.ts","../../../../packages/formlyantd/flex/src/flex.module.ts","../../../../packages/formlyantd/flex/src/ngx-formly-zorro-antd-flex.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';\r\nimport type { NzFormlyFieldConfig, NgClassType, NgStyleType } from 'ngx-formly-zorro-antd/common';\r\nimport type { NzWrap, NzJustify, NzAlign, NzFlex, NzGap } from 'ng-zorro-antd/flex';\r\n\r\ninterface FlexProps extends FormlyFieldProps {\r\n /**\r\n * 自定义css类\r\n */\r\n ngClass?: NgClassType;\r\n /**\r\n * 自定义样式\r\n */\r\n ngStyle?: NgStyleType;\r\n /**\r\n * flex 主轴的方向是否垂直,使用 flex-direction: column\r\n * @default false\r\n */\r\n vertical?: boolean;\r\n\r\n /** 设置元素在主轴方向上的对齐方式 */\r\n justify?: NzJustify;\r\n\r\n /** 设置元素在交叉轴方向上的对齐方式 */\r\n align?: NzAlign;\r\n\r\n /** 设置网格之间的间隙 */\r\n gap?: NzGap;\r\n\r\n /** 设置元素单行显示还是多行显示 */\r\n wrap?: NzWrap;\r\n\r\n /** flex CSS 简写属性 */\r\n flex?: NzFlex;\r\n}\r\n\r\nexport interface FormlyFlexFieldConfig extends NzFormlyFieldConfig<FlexProps> {\r\n type: 'flex' | Type<FormlyFieldFlex>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-flex',\r\n template: `\r\n <div\r\n [ngClass]=\"props['ngClass']\"\r\n [ngStyle]=\"props['ngStyle']\"\r\n [formlyAttributes]=\"field\"\r\n [nzVertical]=\"props['vertical']!!\"\r\n [nzJustify]=\"props['justify']!\"\r\n [nzAlign]=\"props['align']!\"\r\n [nzGap]=\"props['gap']!\"\r\n [nzWrap]=\"props['wrap']!\"\r\n [nzFlex]=\"props['flex']!\"\r\n nz-flex\r\n >\r\n @for (item of field.fieldGroup; track item.id) {\r\n <formly-field [field]=\"item\"></formly-field>\r\n }\r\n </div>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldFlex extends FieldType<FieldTypeConfig<FlexProps>> {\r\n override defaultOptions = {\r\n props: {\r\n vertical: false,\r\n justify: 'normal' as const,\r\n align: 'normal' as const,\r\n gap: 0,\r\n wrap: 'nowrap' as const,\r\n flex: 'unset' as const\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyFieldFlex } from './flex.type';\r\n\r\nimport { NzFlexModule } from 'ng-zorro-antd/flex';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldFlex],\r\n imports: [\r\n CommonModule,\r\n NzFlexModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'flex',\r\n component: FormlyFieldFlex\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFlexModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AA8DM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;AAtB1E,IAAA,WAAA,GAAA;;AAuBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,OAAO,EAAE,QAAiB;AAC1B,gBAAA,KAAK,EAAE,QAAiB;AACxB,gBAAA,GAAG,EAAE,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AO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;AAC3B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
|
@@ -30,14 +30,26 @@ class FormlyWrapperFormField extends FieldWrapper {
|
|
30
30
|
get label() {
|
31
31
|
return resolveTplName(this.props, this.fieldTemplates, 'label');
|
32
32
|
}
|
33
|
+
get afterText() {
|
34
|
+
return resolveTplName(this.props, this.fieldTemplates, 'afterText');
|
35
|
+
}
|
36
|
+
get nzSuccessTip() {
|
37
|
+
return resolveTplName(this.props, this.fieldTemplates, 'successTip');
|
38
|
+
}
|
39
|
+
get nzValidatingTip() {
|
40
|
+
return resolveTplName(this.props, this.fieldTemplates, 'validatingTip');
|
41
|
+
}
|
42
|
+
get nzWarningTip() {
|
43
|
+
return resolveTplName(this.props, this.fieldTemplates, 'warningTip');
|
44
|
+
}
|
33
45
|
get hasError() {
|
34
46
|
return (this.formControl?.dirty || this.formControl?.touched) && this.formControl.errors;
|
35
47
|
}
|
36
48
|
get validateStatus() {
|
37
49
|
return this.hasError ? 'error' : 'success';
|
38
50
|
}
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
40
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyWrapperFormField, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
52
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
|
41
53
|
<nz-form-item [ngClass]="props.itemClass">
|
42
54
|
@if (hasLabel && props['hideLabel'] !== true) {
|
43
55
|
<nz-form-label
|
@@ -75,6 +87,11 @@ class FormlyWrapperFormField extends FieldWrapper {
|
|
75
87
|
[nzHasFeedback]="props['hasFeedback']!!"
|
76
88
|
[nzExtra]="props.description || nzExtra"
|
77
89
|
[nzErrorTip]="errorTip"
|
90
|
+
[nzSuccessTip]="nzSuccessTip || formState.successTip"
|
91
|
+
[nzValidatingTip]="nzValidatingTip || formState.validatingTip"
|
92
|
+
[nzWarningTip]="nzWarningTip || formState.warningTip"
|
93
|
+
[nzAutoTips]="props['autoTips'] || formState.autoTips"
|
94
|
+
[nzDisableAutoTips]="props['disableAutoTips'] || formState.disableAutoTips"
|
78
95
|
[ngClass]="props.controlClass || formState.controlClass"
|
79
96
|
[ngStyle]="props.controlStyle || formState.controlStyle"
|
80
97
|
[nzFlex]="props.controlFlex || formState.controlFlex"
|
@@ -92,6 +109,12 @@ class FormlyWrapperFormField extends FieldWrapper {
|
|
92
109
|
>
|
93
110
|
<ng-container #fieldComponent></ng-container>
|
94
111
|
|
112
|
+
<ng-container
|
113
|
+
*nzStringTemplateOutlet="afterText; context: { $implicit: field, options: props }"
|
114
|
+
>
|
115
|
+
<span class="formly-label-text" [innerHTML]="afterText"></span>
|
116
|
+
</ng-container>
|
117
|
+
|
95
118
|
<ng-template #errorTip let-control>
|
96
119
|
@if (hasError) {
|
97
120
|
<formly-validation-message [field]="field"></formly-validation-message>
|
@@ -101,7 +124,7 @@ class FormlyWrapperFormField extends FieldWrapper {
|
|
101
124
|
</nz-form-item>
|
102
125
|
`, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.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: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i4.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i4.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i4.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "directive", type: i5.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: i6.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] }); }
|
103
126
|
}
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
|
105
128
|
type: Component,
|
106
129
|
args: [{ selector: 'formly-wrapper-nz-form-field', template: `
|
107
130
|
<nz-form-item [ngClass]="props.itemClass">
|
@@ -141,6 +164,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
141
164
|
[nzHasFeedback]="props['hasFeedback']!!"
|
142
165
|
[nzExtra]="props.description || nzExtra"
|
143
166
|
[nzErrorTip]="errorTip"
|
167
|
+
[nzSuccessTip]="nzSuccessTip || formState.successTip"
|
168
|
+
[nzValidatingTip]="nzValidatingTip || formState.validatingTip"
|
169
|
+
[nzWarningTip]="nzWarningTip || formState.warningTip"
|
170
|
+
[nzAutoTips]="props['autoTips'] || formState.autoTips"
|
171
|
+
[nzDisableAutoTips]="props['disableAutoTips'] || formState.disableAutoTips"
|
144
172
|
[ngClass]="props.controlClass || formState.controlClass"
|
145
173
|
[ngStyle]="props.controlStyle || formState.controlStyle"
|
146
174
|
[nzFlex]="props.controlFlex || formState.controlFlex"
|
@@ -158,6 +186,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
158
186
|
>
|
159
187
|
<ng-container #fieldComponent></ng-container>
|
160
188
|
|
189
|
+
<ng-container
|
190
|
+
*nzStringTemplateOutlet="afterText; context: { $implicit: field, options: props }"
|
191
|
+
>
|
192
|
+
<span class="formly-label-text" [innerHTML]="afterText"></span>
|
193
|
+
</ng-container>
|
194
|
+
|
161
195
|
<ng-template #errorTip let-control>
|
162
196
|
@if (hasError) {
|
163
197
|
<formly-validation-message [field]="field"></formly-validation-message>
|
@@ -171,12 +205,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
171
205
|
}] }] });
|
172
206
|
|
173
207
|
class FormlyNzFormFieldModule {
|
174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
175
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
208
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
209
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
|
176
210
|
ReactiveFormsModule,
|
177
211
|
NzFormModule,
|
178
212
|
NzOutletModule, i6.FormlyModule] }); }
|
179
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
213
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzFormFieldModule, imports: [CommonModule,
|
180
214
|
ReactiveFormsModule,
|
181
215
|
NzFormModule,
|
182
216
|
NzOutletModule,
|
@@ -189,7 +223,7 @@ class FormlyNzFormFieldModule {
|
|
189
223
|
]
|
190
224
|
})] }); }
|
191
225
|
}
|
192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzFormFieldModule, decorators: [{
|
193
227
|
type: NgModule,
|
194
228
|
args: [{
|
195
229
|
declarations: [FormlyWrapperFormField],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component, Optional } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\nimport type { NzFormWrapperProps } from './form-field.props';\r\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\r\nimport { resolveTplName, hasTplNameValue, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\r\n\r\nexport type FormlyFieldProps = NzFormWrapperProps;\r\n\r\n@Component({\r\n selector: 'formly-wrapper-nz-form-field',\r\n styleUrls: ['./form-field.wrapper.scss'],\r\n template: `\r\n <nz-form-item [ngClass]=\"props.itemClass\">\r\n @if (hasLabel && props['hideLabel'] !== true) {\r\n <nz-form-label\r\n [nzFlex]=\"props.labelFlex || formState.labelFlex\"\r\n [nzOffset]=\"props.labelOffset || formState.labelOffset\"\r\n [nzOrder]=\"props.labelOrder || formState.labelOrder\"\r\n [nzPull]=\"props.labelPull || formState.labelPull\"\r\n [nzPush]=\"props.labelPush || formState.labelPush\"\r\n [nzSpan]=\"props.labelSpan || formState.labelSpan\"\r\n [nzXs]=\"props.labelXs || formState.labelXs\"\r\n [nzSm]=\"props.labelSm || formState.labelSm\"\r\n [nzMd]=\"props.labelMd || formState.labelMd\"\r\n [nzLg]=\"props.labelLg || formState.labelLg\"\r\n [nzXl]=\"props.labelXl || formState.labelXl\"\r\n [nzXXl]=\"props.labelXXl || formState.labelXXl\"\r\n [ngClass]=\"props.labelClass || formState.labelClass\"\r\n [ngStyle]=\"props.labelStyle || formState.labelStyle\"\r\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\r\n [nzFor]=\"id\"\r\n [nzNoColon]=\"props['noColon'] ?? formState.noColon!!\"\r\n [nzTooltipTitle]=\"nzTooltipTitle\"\r\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\r\n [nzLabelAlign]=\"props['labelAlign'] || 'right'\"\r\n [nzLabelWrap]=\"props['labelWrap'] ?? formState.labelWrap!!\"\r\n >\r\n <ng-container\r\n *nzStringTemplateOutlet=\"label; context: { $implicit: field, options: props }\"\r\n >\r\n <div class=\"formly-label-text\" [attr.title]=\"label\" [innerHTML]=\"label\"></div>\r\n </ng-container>\r\n </nz-form-label>\r\n }\r\n <nz-form-control\r\n [nzValidateStatus]=\"validateStatus\"\r\n [nzHasFeedback]=\"props['hasFeedback']!!\"\r\n [nzExtra]=\"props.description || nzExtra\"\r\n [nzErrorTip]=\"errorTip\"\r\n [ngClass]=\"props.controlClass || formState.controlClass\"\r\n [ngStyle]=\"props.controlStyle || formState.controlStyle\"\r\n [nzFlex]=\"props.controlFlex || formState.controlFlex\"\r\n [nzOffset]=\"props.controlOffset || formState.controlOffset\"\r\n [nzOrder]=\"props.controlOrder || formState.controlOrder\"\r\n [nzPull]=\"props.controlPull || formState.controlPull\"\r\n [nzPush]=\"props.controlPush || formState.controlPush\"\r\n [nzSpan]=\"props.controlSpan || formState.controlSpan\"\r\n [nzXs]=\"props.controlXs || formState.controlXs\"\r\n [nzSm]=\"props.controlSm || formState.controlSm\"\r\n [nzMd]=\"props.controlMd || formState.controlMd\"\r\n [nzLg]=\"props.controlLg || formState.controlLg\"\r\n [nzXl]=\"props.controlXl || formState.controlXl\"\r\n [nzXXl]=\"props.controlXXl || formState.controlXXl\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n\r\n <ng-template #errorTip let-control>\r\n @if (hasError) {\r\n <formly-validation-message [field]=\"field\"></formly-validation-message>\r\n }\r\n </ng-template>\r\n </nz-form-control>\r\n </nz-form-item>\r\n `\r\n})\r\nexport class FormlyWrapperFormField extends FieldWrapper<NzFormlyFieldConfig<FormlyFieldProps>> {\r\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\r\n super();\r\n }\r\n\r\n get nzTooltipTitle() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'tooltipTitle');\r\n }\r\n get nzExtra() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\r\n }\r\n get hasLabel() {\r\n return hasTplNameValue(this.props, 'label');\r\n }\r\n\r\n get label() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'label');\r\n }\r\n\r\n get hasError() {\r\n return (this.formControl?.dirty || this.formControl?.touched) && this.formControl.errors;\r\n }\r\n get validateStatus() {\r\n return this.hasError ? 'error' : 'success';\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { FormlyWrapperFormField } from './form-field.wrapper';\r\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperFormField],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzFormModule,\r\n NzOutletModule,\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'form-field',\r\n component: FormlyWrapperFormField\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFormFieldModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;AA2EM,MAAO,sBAAuB,SAAQ,YAAmD,CAAA;AAC7F,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;KAEhE;AAED,IAAA,IAAI,cAAc,GAAA;AAChB,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;KACxE;AACD,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,QAAQ,GAAA;QACV,OAAO,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;KAC7C;AAED,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AAED,IAAA,IAAI,QAAQ,GAAA;AACV,QAAA,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,IAAI,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC;KAC1F;AACD,IAAA,IAAI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YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component, Optional } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\nimport type { NzFormWrapperProps } from './form-field.props';\r\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\r\nimport { resolveTplName, hasTplNameValue, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\r\n\r\nexport type FormlyFieldProps = NzFormWrapperProps;\r\n\r\n@Component({\r\n selector: 'formly-wrapper-nz-form-field',\r\n styleUrls: ['./form-field.wrapper.scss'],\r\n template: `\r\n <nz-form-item [ngClass]=\"props.itemClass\">\r\n @if (hasLabel && props['hideLabel'] !== true) {\r\n <nz-form-label\r\n [nzFlex]=\"props.labelFlex || formState.labelFlex\"\r\n [nzOffset]=\"props.labelOffset || formState.labelOffset\"\r\n [nzOrder]=\"props.labelOrder || formState.labelOrder\"\r\n [nzPull]=\"props.labelPull || formState.labelPull\"\r\n [nzPush]=\"props.labelPush || formState.labelPush\"\r\n [nzSpan]=\"props.labelSpan || formState.labelSpan\"\r\n [nzXs]=\"props.labelXs || formState.labelXs\"\r\n [nzSm]=\"props.labelSm || formState.labelSm\"\r\n [nzMd]=\"props.labelMd || formState.labelMd\"\r\n [nzLg]=\"props.labelLg || formState.labelLg\"\r\n [nzXl]=\"props.labelXl || formState.labelXl\"\r\n [nzXXl]=\"props.labelXXl || formState.labelXXl\"\r\n [ngClass]=\"props.labelClass || formState.labelClass\"\r\n [ngStyle]=\"props.labelStyle || formState.labelStyle\"\r\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\r\n [nzFor]=\"id\"\r\n [nzNoColon]=\"props['noColon'] ?? formState.noColon!!\"\r\n [nzTooltipTitle]=\"nzTooltipTitle\"\r\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\r\n [nzLabelAlign]=\"props['labelAlign'] || 'right'\"\r\n [nzLabelWrap]=\"props['labelWrap'] ?? formState.labelWrap!!\"\r\n >\r\n <ng-container\r\n *nzStringTemplateOutlet=\"label; context: { $implicit: field, options: props }\"\r\n >\r\n <div class=\"formly-label-text\" [attr.title]=\"label\" [innerHTML]=\"label\"></div>\r\n </ng-container>\r\n </nz-form-label>\r\n }\r\n <nz-form-control\r\n [nzValidateStatus]=\"validateStatus\"\r\n [nzHasFeedback]=\"props['hasFeedback']!!\"\r\n [nzExtra]=\"props.description || nzExtra\"\r\n [nzErrorTip]=\"errorTip\"\r\n [nzSuccessTip]=\"nzSuccessTip || formState.successTip\"\r\n [nzValidatingTip]=\"nzValidatingTip || formState.validatingTip\"\r\n [nzWarningTip]=\"nzWarningTip || formState.warningTip\"\r\n [nzAutoTips]=\"props['autoTips'] || formState.autoTips\"\r\n [nzDisableAutoTips]=\"props['disableAutoTips'] || formState.disableAutoTips\"\r\n [ngClass]=\"props.controlClass || formState.controlClass\"\r\n [ngStyle]=\"props.controlStyle || formState.controlStyle\"\r\n [nzFlex]=\"props.controlFlex || formState.controlFlex\"\r\n [nzOffset]=\"props.controlOffset || formState.controlOffset\"\r\n [nzOrder]=\"props.controlOrder || formState.controlOrder\"\r\n [nzPull]=\"props.controlPull || formState.controlPull\"\r\n [nzPush]=\"props.controlPush || formState.controlPush\"\r\n [nzSpan]=\"props.controlSpan || formState.controlSpan\"\r\n [nzXs]=\"props.controlXs || formState.controlXs\"\r\n [nzSm]=\"props.controlSm || formState.controlSm\"\r\n [nzMd]=\"props.controlMd || formState.controlMd\"\r\n [nzLg]=\"props.controlLg || formState.controlLg\"\r\n [nzXl]=\"props.controlXl || formState.controlXl\"\r\n [nzXXl]=\"props.controlXXl || formState.controlXXl\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n\r\n <ng-container\r\n *nzStringTemplateOutlet=\"afterText; context: { $implicit: field, options: props }\"\r\n >\r\n <span class=\"formly-label-text\" [innerHTML]=\"afterText\"></span>\r\n </ng-container>\r\n\r\n <ng-template #errorTip let-control>\r\n @if (hasError) {\r\n <formly-validation-message [field]=\"field\"></formly-validation-message>\r\n }\r\n </ng-template>\r\n </nz-form-control>\r\n </nz-form-item>\r\n `\r\n})\r\nexport class FormlyWrapperFormField extends FieldWrapper<NzFormlyFieldConfig<FormlyFieldProps>> {\r\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\r\n super();\r\n }\r\n\r\n get nzTooltipTitle() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'tooltipTitle');\r\n }\r\n get nzExtra() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\r\n }\r\n get hasLabel() {\r\n return hasTplNameValue(this.props, 'label');\r\n }\r\n\r\n get label() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'label');\r\n }\r\n\r\n get afterText() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'afterText');\r\n }\r\n\r\n get nzSuccessTip() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'successTip');\r\n }\r\n get nzValidatingTip() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'validatingTip');\r\n }\r\n get nzWarningTip() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'warningTip');\r\n }\r\n\r\n get hasError() {\r\n return (this.formControl?.dirty || this.formControl?.touched) && this.formControl.errors;\r\n }\r\n get validateStatus() {\r\n return this.hasError ? 'error' : 'success';\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { FormlyWrapperFormField } from './form-field.wrapper';\r\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperFormField],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzFormModule,\r\n NzOutletModule,\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'form-field',\r\n component: FormlyWrapperFormField\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFormFieldModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;AAsFM,MAAO,sBAAuB,SAAQ,YAAmD,CAAA;AAC7F,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;KAEhE;AAED,IAAA,IAAI,cAAc,GAAA;AAChB,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;KACxE;AACD,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,QAAQ,GAAA;QACV,OAAO,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;KAC7C;AAED,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AAED,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,E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;AAWL,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAdhC,YAAY;YACZ,mBAAmB;YACnB,YAAY;YACZ,cAAc;YACd,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,IAAI,EAAE,YAAY;AAClB,wBAAA,SAAS,EAAE,sBAAsB;AAClC,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAjBnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,cAAc;wBACd,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
|
@@ -8,8 +8,8 @@ import * as i2 from 'ng-zorro-antd/grid';
|
|
8
8
|
import { NzGridModule } from 'ng-zorro-antd/grid';
|
9
9
|
|
10
10
|
class FormlyFieldGrid extends FieldType {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldGrid, selector: "formly-field-grid", usesInheritance: true, ngImport: i0, template: `
|
13
13
|
<div
|
14
14
|
nz-row
|
15
15
|
[ngStyle]="props['ngStyle']"
|
@@ -40,7 +40,7 @@ class FormlyFieldGrid extends FieldType {
|
|
40
40
|
</div>
|
41
41
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.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: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
42
42
|
}
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldGrid, decorators: [{
|
44
44
|
type: Component,
|
45
45
|
args: [{
|
46
46
|
selector: 'formly-field-grid',
|
@@ -79,10 +79,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
79
79
|
}] });
|
80
80
|
|
81
81
|
class FormlyNzGridModule {
|
82
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
83
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
82
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
83
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,
|
84
84
|
NzGridModule, i3.FormlyModule] }); }
|
85
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
85
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzGridModule, imports: [CommonModule,
|
86
86
|
NzGridModule,
|
87
87
|
FormlyModule.forChild({
|
88
88
|
types: [
|
@@ -93,7 +93,7 @@ class FormlyNzGridModule {
|
|
93
93
|
]
|
94
94
|
})] }); }
|
95
95
|
}
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzGridModule, decorators: [{
|
97
97
|
type: NgModule,
|
98
98
|
args: [{
|
99
99
|
declarations: [FormlyFieldGrid],
|
@@ -17,8 +17,8 @@ class FormlyFieldInputGroup extends FieldType {
|
|
17
17
|
}
|
18
18
|
};
|
19
19
|
}
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
21
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldInputGroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldInputGroup, selector: "formly-field-input-group", usesInheritance: true, ngImport: i0, template: `
|
22
22
|
<nz-input-group
|
23
23
|
[nzPrefixIcon]="props['prefixIcon']"
|
24
24
|
[nzSuffixIcon]="props['suffixIcon']"
|
@@ -39,7 +39,7 @@ class FormlyFieldInputGroup extends FieldType {
|
|
39
39
|
</nz-input-group>
|
40
40
|
`, isInline: true, dependencies: [{ kind: "component", type: i1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
41
41
|
}
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldInputGroup, decorators: [{
|
43
43
|
type: Component,
|
44
44
|
args: [{
|
45
45
|
selector: 'formly-field-input-group',
|
@@ -68,11 +68,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
68
68
|
}] });
|
69
69
|
|
70
70
|
class FormlyNzInputGroupModule {
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
72
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
71
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
72
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputGroupModule, declarations: [FormlyFieldInputGroup], imports: [CommonModule,
|
73
73
|
NzInputModule,
|
74
74
|
FormlyNzFormFieldModule, i2.FormlyModule] }); }
|
75
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
75
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputGroupModule, imports: [CommonModule,
|
76
76
|
NzInputModule,
|
77
77
|
FormlyNzFormFieldModule,
|
78
78
|
FormlyModule.forChild({
|
@@ -85,7 +85,7 @@ class FormlyNzInputGroupModule {
|
|
85
85
|
]
|
86
86
|
})] }); }
|
87
87
|
}
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputGroupModule, decorators: [{
|
89
89
|
type: NgModule,
|
90
90
|
args: [{
|
91
91
|
declarations: [FormlyFieldInputGroup],
|
@@ -31,8 +31,8 @@ class FormlyFieldInputNumber extends FieldType {
|
|
31
31
|
}
|
32
32
|
};
|
33
33
|
}
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldInputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
35
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldInputNumber, selector: "formly-field-inputnumber", usesInheritance: true, ngImport: i0, template: `
|
36
36
|
@switch (props.type) {
|
37
37
|
@case ('group') {
|
38
38
|
<nz-input-number-group
|
@@ -78,7 +78,7 @@ class FormlyFieldInputNumber extends FieldType {
|
|
78
78
|
</ng-template>
|
79
79
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecision", "nzPrecisionMode", "nzPlaceHolder", "nzStatus", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBorderless", "nzFormatter"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { kind: "component", type: i3.NzInputNumberGroupComponent, selector: "nz-input-number-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzCompact"], exportAs: ["nzInputNumberGroup"] }, { kind: "directive", type: i3.NzInputNumberGroupWhitSuffixOrPrefixDirective, selector: "nz-input-number-group[nzSuffix], nz-input-number-group[nzPrefix]" }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
80
80
|
}
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldInputNumber, decorators: [{
|
82
82
|
type: Component,
|
83
83
|
args: [{
|
84
84
|
selector: 'formly-field-inputnumber',
|
@@ -132,12 +132,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
132
132
|
}] });
|
133
133
|
|
134
134
|
class FormlyNzInputNumberModule {
|
135
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
136
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
135
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
136
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputNumberModule, declarations: [FormlyFieldInputNumber], imports: [CommonModule,
|
137
137
|
ReactiveFormsModule,
|
138
138
|
FormlyNzFormFieldModule,
|
139
139
|
NzInputNumberModule, i4.FormlyModule] }); }
|
140
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
140
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputNumberModule, imports: [CommonModule,
|
141
141
|
ReactiveFormsModule,
|
142
142
|
FormlyNzFormFieldModule,
|
143
143
|
NzInputNumberModule,
|
@@ -155,7 +155,7 @@ class FormlyNzInputNumberModule {
|
|
155
155
|
]
|
156
156
|
})] }); }
|
157
157
|
}
|
158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputNumberModule, decorators: [{
|
159
159
|
type: NgModule,
|
160
160
|
args: [{
|
161
161
|
declarations: [FormlyFieldInputNumber],
|
@@ -41,8 +41,8 @@ class FormlyFieldInput extends FieldType {
|
|
41
41
|
get addOnAfter() {
|
42
42
|
return resolveTplName(this.props, this.fieldTemplates, 'addOnAfter');
|
43
43
|
}
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldInput, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldInput, selector: "formly-field-input", usesInheritance: true, ngImport: i0, template: `
|
46
46
|
@switch (props.type) {
|
47
47
|
@case ('password') {
|
48
48
|
<nz-input-group
|
@@ -181,7 +181,7 @@ class FormlyFieldInput extends FieldType {
|
|
181
181
|
</ng-template>
|
182
182
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i4.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i4.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i5.NzAutocompleteComponent, selector: "nz-autocomplete", inputs: ["nzWidth", "nzOverlayClassName", "nzOverlayStyle", "nzDefaultActiveFirstOption", "nzBackfill", "compareWith", "nzDataSource"], outputs: ["selectionChange"], exportAs: ["nzAutocomplete"] }, { kind: "component", type: i5.NzAutocompleteOptionComponent, selector: "nz-auto-option", inputs: ["nzValue", "nzLabel", "nzDisabled"], outputs: ["selectionChange", "mouseEntered"], exportAs: ["nzAutoOption"] }, { kind: "directive", type: i5.NzAutocompleteTriggerDirective, selector: "input[nzAutocomplete], textarea[nzAutocomplete]", inputs: ["nzAutocomplete"], exportAs: ["nzAutocompleteTrigger"] }, { kind: "directive", type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i7.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
183
183
|
}
|
184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldInput, decorators: [{
|
185
185
|
type: Component,
|
186
186
|
args: [{
|
187
187
|
selector: 'formly-field-input',
|
@@ -330,14 +330,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
330
330
|
}] }] });
|
331
331
|
|
332
332
|
class FormlyNzInputModule {
|
333
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
334
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
333
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
334
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,
|
335
335
|
ReactiveFormsModule,
|
336
336
|
NzInputModule,
|
337
337
|
NzAutocompleteModule,
|
338
338
|
NzIconModule,
|
339
339
|
FormlyNzFormFieldModule, i7.FormlyModule] }); }
|
340
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
340
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputModule, imports: [CommonModule,
|
341
341
|
ReactiveFormsModule,
|
342
342
|
NzInputModule,
|
343
343
|
NzAutocompleteModule,
|
@@ -368,7 +368,7 @@ class FormlyNzInputModule {
|
|
368
368
|
]
|
369
369
|
})] }); }
|
370
370
|
}
|
371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzInputModule, decorators: [{
|
372
372
|
type: NgModule,
|
373
373
|
args: [{
|
374
374
|
declarations: [FormlyFieldInput],
|
@@ -23,8 +23,8 @@ class FormlyFieldRadio extends FieldType {
|
|
23
23
|
}
|
24
24
|
};
|
25
25
|
}
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
|
28
28
|
<nz-radio-group
|
29
29
|
[formControl]="formControl"
|
30
30
|
[formlyAttributes]="field"
|
@@ -66,7 +66,7 @@ class FormlyFieldRadio extends FieldType {
|
|
66
66
|
</nz-radio-group>
|
67
67
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }, { kind: "directive", type: i2.NzRadioButtonDirective, selector: "[nz-radio-button]" }, { kind: "component", type: i2.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
68
68
|
}
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
70
70
|
type: Component,
|
71
71
|
args: [{
|
72
72
|
selector: 'formly-field-radio',
|
@@ -116,14 +116,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
116
116
|
}] });
|
117
117
|
|
118
118
|
class FormlyNzRadioModule {
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
120
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
120
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
|
121
121
|
ReactiveFormsModule,
|
122
122
|
FormlyNzFormFieldModule,
|
123
123
|
FormlySelectModule,
|
124
124
|
NzFormModule,
|
125
125
|
NzRadioModule, i3.FormlyModule] }); }
|
126
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
126
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzRadioModule, imports: [CommonModule,
|
127
127
|
ReactiveFormsModule,
|
128
128
|
FormlyNzFormFieldModule,
|
129
129
|
FormlySelectModule,
|
@@ -139,7 +139,7 @@ class FormlyNzRadioModule {
|
|
139
139
|
]
|
140
140
|
})] }); }
|
141
141
|
}
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzRadioModule, decorators: [{
|
143
143
|
type: NgModule,
|
144
144
|
args: [{
|
145
145
|
declarations: [FormlyFieldRadio],
|
@@ -22,8 +22,8 @@ class FormlyFieldRate extends FieldType {
|
|
22
22
|
}
|
23
23
|
};
|
24
24
|
}
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
26
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRate, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FormlyFieldRate, selector: "formly-field-rate", usesInheritance: true, ngImport: i0, template: `
|
27
27
|
<nz-rate
|
28
28
|
[formControl]="formControl"
|
29
29
|
[formlyAttributes]="field"
|
@@ -41,7 +41,7 @@ class FormlyFieldRate extends FieldType {
|
|
41
41
|
></nz-rate>
|
42
42
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
43
43
|
}
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRate, decorators: [{
|
45
45
|
type: Component,
|
46
46
|
args: [{
|
47
47
|
selector: 'formly-field-rate',
|
@@ -67,12 +67,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
67
67
|
}] });
|
68
68
|
|
69
69
|
class FormlyNzRateModule {
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
71
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzRateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
71
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzRateModule, declarations: [FormlyFieldRate], imports: [CommonModule,
|
72
72
|
ReactiveFormsModule,
|
73
73
|
FormlyNzFormFieldModule,
|
74
74
|
NzRateModule, i3.FormlyModule] }); }
|
75
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
75
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzRateModule, imports: [CommonModule,
|
76
76
|
ReactiveFormsModule,
|
77
77
|
FormlyNzFormFieldModule,
|
78
78
|
NzRateModule,
|
@@ -86,7 +86,7 @@ class FormlyNzRateModule {
|
|
86
86
|
]
|
87
87
|
})] }); }
|
88
88
|
}
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzRateModule, decorators: [{
|
90
90
|
type: NgModule,
|
91
91
|
args: [{
|
92
92
|
declarations: [FormlyFieldRate],
|
@@ -70,14 +70,14 @@ class FormlyFieldRefTemplate extends FieldType {
|
|
70
70
|
get ref() {
|
71
71
|
return resolveTplName(this.props, this.fieldTemplates, 'ref');
|
72
72
|
}
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
74
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRefTemplate, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
74
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FormlyFieldRefTemplate, selector: "formly-ref-template", usesInheritance: true, ngImport: i0, template: `
|
75
75
|
<ng-container *nzStringTemplateOutlet="ref; context: { $implicit: field, props: props }">
|
76
76
|
<div [innerHTML]="$any(ref) | trustedHtml"></div>
|
77
77
|
</ng-container>
|
78
78
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "pipe", type: i3.TrustedHtmlPipe, name: "trustedHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
79
79
|
}
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRefTemplate, decorators: [{
|
81
81
|
type: Component,
|
82
82
|
args: [{
|
83
83
|
selector: 'formly-ref-template',
|
@@ -93,11 +93,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
93
93
|
}] }] });
|
94
94
|
|
95
95
|
class FormlyRefTemplateModule {
|
96
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
97
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
96
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyRefTemplateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
97
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyRefTemplateModule, declarations: [FormlyFieldRefTemplate], imports: [CommonModule,
|
98
98
|
NzOutletModule,
|
99
99
|
TrustedHtmlPipe, i1$1.FormlyModule] }); }
|
100
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
100
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyRefTemplateModule, imports: [CommonModule,
|
101
101
|
NzOutletModule,
|
102
102
|
FormlyModule.forChild({
|
103
103
|
types: [
|
@@ -108,7 +108,7 @@ class FormlyRefTemplateModule {
|
|
108
108
|
]
|
109
109
|
})] }); }
|
110
110
|
}
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyRefTemplateModule, decorators: [{
|
112
112
|
type: NgModule,
|
113
113
|
args: [{
|
114
114
|
declarations: [FormlyFieldRefTemplate],
|
@@ -43,8 +43,8 @@ class FormlyFieldSelect extends FieldType {
|
|
43
43
|
this.select.nzFilterOption = this.props['filterOption'];
|
44
44
|
}
|
45
45
|
}
|
46
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
47
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldSelect, selector: "formly-field-select", viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
48
48
|
<nz-select
|
49
49
|
#select
|
50
50
|
[class.ng-dirty]="showError"
|
@@ -107,7 +107,7 @@ class FormlyFieldSelect extends FieldType {
|
|
107
107
|
</nz-select>
|
108
108
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3.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"] }, { kind: "component", type: i3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
109
109
|
}
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldSelect, decorators: [{
|
111
111
|
type: Component,
|
112
112
|
args: [{
|
113
113
|
selector: 'formly-field-select',
|
@@ -181,13 +181,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
181
181
|
}] } });
|
182
182
|
|
183
183
|
class FormlyNzSelectModule {
|
184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
185
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
185
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzSelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
|
186
186
|
ReactiveFormsModule,
|
187
187
|
NzSelectModule,
|
188
188
|
FormlyNzFormFieldModule,
|
189
189
|
FormlySelectModule, i4.FormlyModule] }); }
|
190
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
190
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzSelectModule, imports: [CommonModule,
|
191
191
|
ReactiveFormsModule,
|
192
192
|
NzSelectModule,
|
193
193
|
FormlyNzFormFieldModule,
|
@@ -203,7 +203,7 @@ class FormlyNzSelectModule {
|
|
203
203
|
]
|
204
204
|
})] }); }
|
205
205
|
}
|
206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzSelectModule, decorators: [{
|
207
207
|
type: NgModule,
|
208
208
|
args: [{
|
209
209
|
declarations: [FormlyFieldSelect],
|