ngx-formly-zorro-antd 19.0.2 → 19.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/common/formly-box-templates.directive.d.ts +2 -2
  2. package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +7 -7
  3. package/fesm2022/ngx-formly-zorro-antd-button.mjs +7 -7
  4. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +7 -7
  5. package/fesm2022/ngx-formly-zorro-antd-card.mjs +7 -7
  6. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +7 -7
  7. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +7 -7
  8. package/fesm2022/ngx-formly-zorro-antd-common.mjs +9 -11
  9. package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
  10. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +7 -7
  11. package/fesm2022/ngx-formly-zorro-antd-flex.mjs +7 -7
  12. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +7 -7
  13. package/fesm2022/ngx-formly-zorro-antd-grid.mjs +7 -7
  14. package/fesm2022/ngx-formly-zorro-antd-helpers.mjs +28 -18
  15. package/fesm2022/ngx-formly-zorro-antd-helpers.mjs.map +1 -1
  16. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +7 -7
  17. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +7 -7
  18. package/fesm2022/ngx-formly-zorro-antd-input-otp.mjs +7 -7
  19. package/fesm2022/ngx-formly-zorro-antd-input.mjs +7 -7
  20. package/fesm2022/ngx-formly-zorro-antd-radio.mjs +7 -7
  21. package/fesm2022/ngx-formly-zorro-antd-rate.mjs +7 -7
  22. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +7 -7
  23. package/fesm2022/ngx-formly-zorro-antd-select.mjs +7 -7
  24. package/fesm2022/ngx-formly-zorro-antd-slider.mjs +7 -7
  25. package/fesm2022/ngx-formly-zorro-antd-space-compact.mjs +7 -7
  26. package/fesm2022/ngx-formly-zorro-antd-space-compact.mjs.map +1 -1
  27. package/fesm2022/ngx-formly-zorro-antd-space.mjs +7 -7
  28. package/fesm2022/ngx-formly-zorro-antd-switch.mjs +12 -10
  29. package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  30. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +7 -7
  31. package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +7 -7
  32. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +7 -7
  33. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +7 -7
  34. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +10 -10
  35. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +7 -7
  36. package/fesm2022/ngx-formly-zorro-antd-upload.mjs +10 -10
  37. package/fesm2022/ngx-formly-zorro-antd.mjs +4 -4
  38. package/grid/public_api.d.ts +1 -1
  39. package/helpers/common.d.ts +6 -8
  40. package/helpers/formly.d.ts +9 -9
  41. package/helpers/public_api.d.ts +2 -1
  42. package/package.json +2 -2
  43. package/space-compact/space-compact.type.d.ts +3 -3
@@ -49,8 +49,8 @@ class FormlyFieldSelect extends FieldType {
49
49
  this.select().nzMaxTagCount = maxTagCount;
50
50
  }
51
51
  }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
53
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.6", type: FormlyFieldSelect, isStandalone: false, selector: "formly-field-select", viewQueries: [{ propertyName: "select", first: true, predicate: ["selectTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
52
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
53
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.8", type: FormlyFieldSelect, isStandalone: false, selector: "formly-field-select", viewQueries: [{ propertyName: "select", first: true, predicate: ["selectTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
54
54
  <nz-select
55
55
  #selectTpl
56
56
  [class.ng-dirty]="showError"
@@ -103,7 +103,7 @@ class FormlyFieldSelect extends FieldType {
103
103
  </nz-select>
104
104
  `, 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.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i2.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: i2.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
105
105
  }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSelect, decorators: [{
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSelect, decorators: [{
107
107
  type: Component,
108
108
  args: [{
109
109
  selector: 'formly-field-select',
@@ -165,13 +165,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
165
165
  }] });
166
166
 
167
167
  class FormlyNzSelectModule {
168
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
169
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
168
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
169
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
170
170
  ReactiveFormsModule,
171
171
  NzSelectModule,
172
172
  FormlyNzFormFieldModule,
173
173
  FormlySelectModule, i1$1.FormlyModule] }); }
174
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSelectModule, imports: [CommonModule,
174
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSelectModule, imports: [CommonModule,
175
175
  ReactiveFormsModule,
176
176
  NzSelectModule,
177
177
  FormlyNzFormFieldModule,
@@ -187,7 +187,7 @@ class FormlyNzSelectModule {
187
187
  ]
188
188
  })] }); }
189
189
  }
190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSelectModule, decorators: [{
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSelectModule, decorators: [{
191
191
  type: NgModule,
192
192
  args: [{
193
193
  declarations: [FormlyFieldSelect],
@@ -29,8 +29,8 @@ class FormlyFieldSlider extends FieldType {
29
29
  }
30
30
  };
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: FormlyFieldSlider, isStandalone: false, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: FormlyFieldSlider, isStandalone: false, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
34
34
  #slider
35
35
  [formControl]="formControl"
36
36
  [nzDots]="!!props['dots']"
@@ -47,7 +47,7 @@ class FormlyFieldSlider extends FieldType {
47
47
  (nzOnAfterChange)="props['afterChange']?.(field, $event)"
48
48
  ></nz-slider>`, 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.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzDefaultValue", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
49
49
  }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSlider, decorators: [{
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSlider, decorators: [{
51
51
  type: Component,
52
52
  args: [{
53
53
  selector: 'formly-field-slider',
@@ -73,12 +73,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
73
73
  }] });
74
74
 
75
75
  class FormlyNzSliderModule {
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
77
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
77
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
78
78
  ReactiveFormsModule,
79
79
  FormlyNzFormFieldModule,
80
80
  NzSliderModule, i1$1.FormlyModule] }); }
81
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
81
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
82
82
  ReactiveFormsModule,
83
83
  FormlyNzFormFieldModule,
84
84
  NzSliderModule,
@@ -92,7 +92,7 @@ class FormlyNzSliderModule {
92
92
  ]
93
93
  })] }); }
94
94
  }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
96
96
  type: NgModule,
97
97
  args: [{
98
98
  declarations: [FormlyFieldSlider],
@@ -18,8 +18,8 @@ class FormlyFieldSpaceCompact extends FieldType {
18
18
  }
19
19
  };
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSpaceCompact, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.6", type: FormlyFieldSpaceCompact, isStandalone: false, selector: "formly-field-space-compact", usesInheritance: true, ngImport: i0, template: `
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSpaceCompact, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.8", type: FormlyFieldSpaceCompact, isStandalone: false, selector: "formly-field-space-compact", usesInheritance: true, ngImport: i0, template: `
23
23
  <nz-space-compact [nzSize]="props.size!" [nzDirection]="props.direction!" [nzBlock]="!!props.block">
24
24
  @for (g of field.fieldGroup; track g.id) {
25
25
  <formly-field [field]="g"></formly-field>
@@ -27,7 +27,7 @@ class FormlyFieldSpaceCompact extends FieldType {
27
27
  </nz-space-compact>
28
28
  `, isInline: true, dependencies: [{ kind: "component", type: i1.NzSpaceCompactComponent, selector: "nz-space-compact", inputs: ["nzBlock", "nzDirection", "nzSize"], exportAs: ["nzSpaceCompact"] }, { kind: "component", type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSpaceCompact, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSpaceCompact, decorators: [{
31
31
  type: Component,
32
32
  args: [{
33
33
  selector: 'formly-field-space-compact',
@@ -44,10 +44,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
44
44
  }] });
45
45
 
46
46
  class FormlyNzSpaceCompactModule {
47
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSpaceCompactModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
48
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSpaceCompactModule, declarations: [FormlyFieldSpaceCompact], imports: [CommonModule,
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSpaceCompactModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
48
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSpaceCompactModule, declarations: [FormlyFieldSpaceCompact], imports: [CommonModule,
49
49
  NzSpaceModule, i2.FormlyModule] }); }
50
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSpaceCompactModule, imports: [CommonModule,
50
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSpaceCompactModule, imports: [CommonModule,
51
51
  NzSpaceModule,
52
52
  FormlyModule.forChild({
53
53
  types: [
@@ -58,7 +58,7 @@ class FormlyNzSpaceCompactModule {
58
58
  ]
59
59
  })] }); }
60
60
  }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSpaceCompactModule, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSpaceCompactModule, decorators: [{
62
62
  type: NgModule,
63
63
  args: [{
64
64
  declarations: [FormlyFieldSpaceCompact],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-space-compact.mjs","sources":["../../../../packages/formlyantd/space-compact/src/space-compact.type.ts","../../../../packages/formlyantd/space-compact/src/space-compact.module.ts","../../../../packages/formlyantd/space-compact/src/ngx-formly-zorro-antd-space-compact.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { NzSizeLDSType } from 'ng-zorro-antd/core/types';\nimport type { NzSpaceDirection } from 'ng-zorro-antd/space';\n\n/**\n * @publicApi\n */\nexport interface SpaceCompactProps extends FormlyFieldProps {\n /**\n * 间距大小\n * @default default\n */\n size?: NzSizeLDSType;\n /**\n * 间距方向\n * @default horizontal\n */\n direction?: NzSpaceDirection;\n /**\n * 是否自动换行,仅在 horizontal 时有效\n */\n block?: boolean;\n}\n\nexport interface FormlySpaceCompactFieldConfig extends NzFormlyFieldConfig<SpaceCompactProps> {\n type: 'space-compact' | Type<FormlyFieldSpaceCompact>;\n}\n/** @private */\n@Component({\n selector: 'formly-field-space-compact',\n template: `\n <nz-space-compact [nzSize]=\"props.size!\" [nzDirection]=\"props.direction!\" [nzBlock]=\"!!props.block\">\n @for (g of field.fieldGroup; track g.id) {\n <formly-field [field]=\"g\"></formly-field>\n }\n </nz-space-compact>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class FormlyFieldSpaceCompact extends FieldType<FieldTypeConfig<SpaceCompactProps>> {\n override defaultOptions = {\n props: {\n size: 'default' as const,\n direction: 'horizontal' as const,\n block: false\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyFieldSpaceCompact } from './space-compact.type';\n\nimport { NzSpaceModule } from 'ng-zorro-antd/space';\n\n@NgModule({\n declarations: [FormlyFieldSpaceCompact],\n imports: [\n CommonModule,\n NzSpaceModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'space-compact',\n component: FormlyFieldSpaceCompact\n }\n ]\n })\n ]\n})\nexport class FormlyNzSpaceCompactModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;AA8BA;AAaM,MAAO,uBAAwB,SAAQ,SAA6C,CAAA;AAZ1F,IAAA,WAAA,GAAA;;AAaW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,SAAS,EAAE,YAAqB;AAChC,gBAAA,KAAK,EAAE;AACR;SACF;AACF;8GARY,uBAAuB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,C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Y;YACZ,aAAa,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAWJ,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,0BAA0B,YAZnC,YAAY;YACZ,aAAa;YACb,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,eAAe;AACrB,wBAAA,SAAS,EAAE;AACZ;AACF;aACF,CAAC,CAAA,EAAA,CAAA,CAAA;;2FAGO,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAftC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,uBAAuB,CAAC;AACvC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBACb,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,eAAe;AACrB,oCAAA,SAAS,EAAE;AACZ;AACF;yBACF;AACF;AACF,iBAAA;;;ACrBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-space-compact.mjs","sources":["../../../../packages/formlyantd/space-compact/src/space-compact.type.ts","../../../../packages/formlyantd/space-compact/src/space-compact.module.ts","../../../../packages/formlyantd/space-compact/src/ngx-formly-zorro-antd-space-compact.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { NzSizeLDSType } from 'ng-zorro-antd/core/types';\nimport type { NzSpaceDirection } from 'ng-zorro-antd/space';\n\n/**\n * @publicApi\n */\nexport interface SpaceCompactProps extends FormlyFieldProps {\n /**\n * 子组件大小\n * @default default\n */\n size?: NzSizeLDSType;\n /**\n * 指定排列方向\n * @default horizontal\n */\n direction?: NzSpaceDirection;\n /**\n * 将宽度调整为父元素宽度的选项\n */\n block?: boolean;\n}\n\nexport interface FormlySpaceCompactFieldConfig extends NzFormlyFieldConfig<SpaceCompactProps> {\n type: 'space-compact' | Type<FormlyFieldSpaceCompact>;\n}\n/** @private */\n@Component({\n selector: 'formly-field-space-compact',\n template: `\n <nz-space-compact [nzSize]=\"props.size!\" [nzDirection]=\"props.direction!\" [nzBlock]=\"!!props.block\">\n @for (g of field.fieldGroup; track g.id) {\n <formly-field [field]=\"g\"></formly-field>\n }\n </nz-space-compact>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class FormlyFieldSpaceCompact extends FieldType<FieldTypeConfig<SpaceCompactProps>> {\n override defaultOptions = {\n props: {\n size: 'default' as const,\n direction: 'horizontal' as const,\n block: false\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyFieldSpaceCompact } from './space-compact.type';\n\nimport { NzSpaceModule } from 'ng-zorro-antd/space';\n\n@NgModule({\n declarations: [FormlyFieldSpaceCompact],\n imports: [\n CommonModule,\n NzSpaceModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'space-compact',\n component: FormlyFieldSpaceCompact\n }\n ]\n })\n ]\n})\nexport class FormlyNzSpaceCompactModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;AA8BA;AAaM,MAAO,uBAAwB,SAAQ,SAA6C,CAAA;AAZ1F,IAAA,WAAA,GAAA;;AAaW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,SAAS,EAAE,YAAqB;AAChC,gBA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A,CAAA;+GAA1B,0BAA0B,EAAA,YAAA,EAAA,CAdtB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAEpC,YAAY;YACZ,aAAa,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAWJ,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,0BAA0B,YAZnC,YAAY;YACZ,aAAa;YACb,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,eAAe;AACrB,wBAAA,SAAS,EAAE;AACZ;AACF;aACF,CAAC,CAAA,EAAA,CAAA,CAAA;;2FAGO,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAftC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,uBAAuB,CAAC;AACvC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBACb,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,eAAe;AACrB,oCAAA,SAAS,EAAE;AACZ;AACF;yBACF;AACF;AACF,iBAAA;;;ACrBD;;AAEG;;;;"}
@@ -24,8 +24,8 @@ class FormlyFieldSpace extends FieldType {
24
24
  get nzSplit() {
25
25
  return resolveTplName(this.props, this.fieldTemplates, 'split');
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSpace, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
28
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.6", type: FormlyFieldSpace, isStandalone: false, selector: "formly-field-space", usesInheritance: true, ngImport: i0, template: `
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSpace, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
28
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.8", type: FormlyFieldSpace, isStandalone: false, selector: "formly-field-space", usesInheritance: true, ngImport: i0, template: `
29
29
  <nz-space
30
30
  [nzSize]="props.size!"
31
31
  [nzAlign]="props.align"
@@ -39,7 +39,7 @@ class FormlyFieldSpace extends FieldType {
39
39
  </nz-space>
40
40
  `, isInline: true, dependencies: [{ kind: "component", type: i2.NzSpaceComponent, selector: "nz-space, [nz-space]", inputs: ["nzDirection", "nzAlign", "nzSplit", "nzWrap", "nzSize"], exportAs: ["nzSpace"] }, { kind: "directive", type: i2.NzSpaceItemDirective, selector: "[nzSpaceItem]" }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSpace, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSpace, decorators: [{
43
43
  type: Component,
44
44
  args: [{
45
45
  selector: 'formly-field-space',
@@ -64,10 +64,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
64
64
  }] }] });
65
65
 
66
66
  class FormlyNzSpaceModule {
67
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSpaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
68
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSpaceModule, declarations: [FormlyFieldSpace], imports: [CommonModule,
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSpaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
68
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSpaceModule, declarations: [FormlyFieldSpace], imports: [CommonModule,
69
69
  NzSpaceModule, i3.FormlyModule] }); }
70
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSpaceModule, imports: [CommonModule,
70
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSpaceModule, imports: [CommonModule,
71
71
  NzSpaceModule,
72
72
  FormlyModule.forChild({
73
73
  types: [
@@ -78,7 +78,7 @@ class FormlyNzSpaceModule {
78
78
  ]
79
79
  })] }); }
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSpaceModule, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSpaceModule, decorators: [{
82
82
  type: NgModule,
83
83
  args: [{
84
84
  declarations: [FormlyFieldSpace],
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import * as i1$1 from '@ngx-formly/core';
4
+ import * as i3 from '@ngx-formly/core';
5
5
  import { FieldType, FormlyModule } from '@ngx-formly/core';
6
6
  import * as i1 from '@angular/forms';
7
7
  import { ReactiveFormsModule } from '@angular/forms';
@@ -21,10 +21,11 @@ class FormlyFieldSwitch extends FieldType {
21
21
  }
22
22
  };
23
23
  }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: FormlyFieldSwitch, isStandalone: false, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: FormlyFieldSwitch, isStandalone: false, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
26
26
  <nz-switch
27
27
  [formControl]="formControl"
28
+ [formlyAttributes]="field"
28
29
  [nzId]="id"
29
30
  [nzCheckedChildren]="props['checkedChildren'] ?? null"
30
31
  [nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
@@ -33,15 +34,16 @@ class FormlyFieldSwitch extends FieldType {
33
34
  [nzControl]="!!props['control']"
34
35
  (ngModelChange)="props.change?.(field, $event)"
35
36
  ></nz-switch>
36
- `, 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.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
+ `, 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.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
38
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
39
40
  type: Component,
40
41
  args: [{
41
42
  selector: 'formly-field-switch',
42
43
  template: `
43
44
  <nz-switch
44
45
  [formControl]="formControl"
46
+ [formlyAttributes]="field"
45
47
  [nzId]="id"
46
48
  [nzCheckedChildren]="props['checkedChildren'] ?? null"
47
49
  [nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
@@ -57,12 +59,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
57
59
  }] });
58
60
 
59
61
  class FormlyNzSwitchModule {
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
61
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
63
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
62
64
  ReactiveFormsModule,
63
65
  FormlyNzFormFieldModule,
64
- NzSwitchModule, i1$1.FormlyModule] }); }
65
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSwitchModule, imports: [CommonModule,
66
+ NzSwitchModule, i3.FormlyModule] }); }
67
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSwitchModule, imports: [CommonModule,
66
68
  ReactiveFormsModule,
67
69
  FormlyNzFormFieldModule,
68
70
  NzSwitchModule,
@@ -76,7 +78,7 @@ class FormlyNzSwitchModule {
76
78
  ]
77
79
  })] }); }
78
80
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
80
82
  type: NgModule,
81
83
  args: [{
82
84
  declarations: [FormlyFieldSwitch],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-switch.mjs","sources":["../../../../packages/formlyantd/switch/src/switch.type.ts","../../../../packages/formlyantd/switch/src/switch.module.ts","../../../../packages/formlyantd/switch/src/ngx-formly-zorro-antd-switch.ts"],"sourcesContent":["import { Component, Type, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type { NzSizeDSType } from 'ng-zorro-antd/core/types';\n\n/**\n * @publicApi\n */\nexport interface SwitchProps extends FormlyFieldProps {\n /**\n * 选中时的内容\n */\n checkedChildren?: string | TemplateRef<void> | null;\n\n /**\n * 非选中时的内容\n */\n unCheckedChildren?: string | TemplateRef<void> | null;\n\n /**\n * 开关大小\n */\n size?: NzSizeDSType;\n\n /**\n * 加载中的开关\n * @default false\n */\n loading?: boolean;\n\n /**\n * 是否完全由用户控制状态\n * @default false\n */\n control?: boolean;\n}\n\nexport interface FormlySwitchFieldConfig extends NzFormlyFieldConfig<SwitchProps> {\n type: 'switch' | Type<FormlyFieldSwitch>;\n}\n/** @private */\n@Component({\n selector: 'formly-field-switch',\n template: `\n <nz-switch\n [formControl]=\"formControl\"\n [nzId]=\"id\"\n [nzCheckedChildren]=\"props['checkedChildren'] ?? null\"\n [nzUnCheckedChildren]=\"props['unCheckedChildren'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzLoading]=\"!!props['loading']\"\n [nzControl]=\"!!props['control']\"\n (ngModelChange)=\"props.change?.(field, $event)\"\n ></nz-switch>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class FormlyFieldSwitch extends FieldType<FieldTypeConfig<SwitchProps>> {\n override defaultOptions = {\n props: {\n size: 'default' as const,\n loading: false,\n control: false\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { FormlyFieldSwitch } from './switch.type';\n\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\n\n@NgModule({\n declarations: [FormlyFieldSwitch],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzSwitchModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'switch',\n component: FormlyFieldSwitch,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzSwitchModule {}\n","/**\n * Generated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,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,cAAc;wBACd,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY;AACxB;AACF;yBACF;AACF;AACF,iBAAA;;;AC5BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-switch.mjs","sources":["../../../../packages/formlyantd/switch/src/switch.type.ts","../../../../packages/formlyantd/switch/src/switch.module.ts","../../../../packages/formlyantd/switch/src/ngx-formly-zorro-antd-switch.ts"],"sourcesContent":["import { Component, Type, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type { NzSizeDSType } from 'ng-zorro-antd/core/types';\n\n/**\n * @publicApi\n */\nexport interface SwitchProps extends FormlyFieldProps {\n /**\n * 选中时的内容\n */\n checkedChildren?: string | TemplateRef<void> | null;\n\n /**\n * 非选中时的内容\n */\n unCheckedChildren?: string | TemplateRef<void> | null;\n\n /**\n * 开关大小\n */\n size?: NzSizeDSType;\n\n /**\n * 加载中的开关\n * @default false\n */\n loading?: boolean;\n\n /**\n * 是否完全由用户控制状态\n * @default false\n */\n control?: boolean;\n}\n\nexport interface FormlySwitchFieldConfig extends NzFormlyFieldConfig<SwitchProps> {\n type: 'switch' | Type<FormlyFieldSwitch>;\n}\n/** @private */\n@Component({\n selector: 'formly-field-switch',\n template: `\n <nz-switch\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzId]=\"id\"\n [nzCheckedChildren]=\"props['checkedChildren'] ?? null\"\n [nzUnCheckedChildren]=\"props['unCheckedChildren'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzLoading]=\"!!props['loading']\"\n [nzControl]=\"!!props['control']\"\n (ngModelChange)=\"props.change?.(field, $event)\"\n ></nz-switch>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class FormlyFieldSwitch extends FieldType<FieldTypeConfig<SwitchProps>> {\n override defaultOptions = {\n props: {\n size: 'default' as const,\n loading: false,\n control: false\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { FormlyFieldSwitch } from './switch.type';\n\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\n\n@NgModule({\n declarations: [FormlyFieldSwitch],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzSwitchModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'switch',\n component: FormlyFieldSwitch,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzSwitchModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA0CA;AAmBM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;AAlB9E,IAAA,WAAA,GAAA;;AAmBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,OAAO,EAAE;AACV;SACF;AACF;8GARY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,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AACF;yBACF;AACF;AACF,iBAAA;;;AC5BD;;AAEG;;;;"}
@@ -28,8 +28,8 @@ class FormlyWrapperTabs extends FieldWrapper {
28
28
  }
29
29
  };
30
30
  }
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.6", type: FormlyWrapperTabs, isStandalone: false, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.8", type: FormlyWrapperTabs, isStandalone: false, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
33
33
  [(nzSelectedIndex)]="props['selectedIndex']!"
34
34
  [nzAnimated]="props['animated'] ?? true"
35
35
  [nzSize]="props['size']!"
@@ -67,7 +67,7 @@ class FormlyWrapperTabs extends FieldWrapper {
67
67
  }
68
68
  </nz-tabset>`, isInline: true, dependencies: [{ kind: "component", type: i1.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "component", type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
71
71
  type: Component,
72
72
  args: [{
73
73
  selector: 'formly-wrapper-tabs',
@@ -114,10 +114,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
114
114
  }] });
115
115
 
116
116
  class FormlyNzTabsModule {
117
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
118
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
118
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
119
119
  NzTabsModule, i2.FormlyModule] }); }
120
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTabsModule, imports: [CommonModule,
120
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTabsModule, imports: [CommonModule,
121
121
  NzTabsModule,
122
122
  FormlyModule.forChild({
123
123
  wrappers: [
@@ -128,7 +128,7 @@ class FormlyNzTabsModule {
128
128
  ]
129
129
  })] }); }
130
130
  }
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
132
132
  type: NgModule,
133
133
  args: [{
134
134
  declarations: [FormlyWrapperTabs],
@@ -44,14 +44,14 @@ class FormlyFieldTextValue extends FieldType {
44
44
  ngOnDestroy() {
45
45
  this.subscription?.unsubscribe();
46
46
  }
47
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldTextValue, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
48
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: FormlyFieldTextValue, isStandalone: false, selector: "formly-field-text-value", usesInheritance: true, ngImport: i0, template: `
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTextValue, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
48
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: FormlyFieldTextValue, isStandalone: false, selector: "formly-field-text-value", usesInheritance: true, ngImport: i0, template: `
49
49
  <nz-form-text class="wrap-text" [formlyAttributes]="field" [class]="props['className']" [style]="props['style']">
50
50
  {{ textValue$ | async | defaultify: props.defaultText }}
51
51
  </nz-form-text>
52
52
  `, isInline: true, styles: [".wrap-text{word-break:break-all}\n"], dependencies: [{ kind: "component", type: i1.NzFormTextComponent, selector: "nz-form-text", exportAs: ["nzFormText"] }, { kind: "directive", type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.DefaultifyPipe, name: "defaultify" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldTextValue, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTextValue, decorators: [{
55
55
  type: Component,
56
56
  args: [{ selector: 'formly-field-text-value', template: `
57
57
  <nz-form-text class="wrap-text" [formlyAttributes]="field" [class]="props['className']" [style]="props['style']">
@@ -61,11 +61,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
61
61
  }] });
62
62
 
63
63
  class FormlyNzTextValueModule {
64
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTextValueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
65
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTextValueModule, declarations: [FormlyFieldTextValue], imports: [CommonModule,
64
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTextValueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
65
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTextValueModule, declarations: [FormlyFieldTextValue], imports: [CommonModule,
66
66
  NzFormModule,
67
67
  DefaultifyPipe, i2.FormlyModule] }); }
68
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTextValueModule, imports: [CommonModule,
68
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTextValueModule, imports: [CommonModule,
69
69
  NzFormModule,
70
70
  FormlyModule.forChild({
71
71
  types: [
@@ -77,7 +77,7 @@ class FormlyNzTextValueModule {
77
77
  ]
78
78
  })] }); }
79
79
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTextValueModule, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTextValueModule, decorators: [{
81
81
  type: NgModule,
82
82
  args: [{
83
83
  declarations: [FormlyFieldTextValue],
@@ -24,8 +24,8 @@ class FormlyFieldTextarea extends FieldType {
24
24
  }
25
25
  };
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
28
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.6", type: FormlyFieldTextarea, isStandalone: false, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
28
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.8", type: FormlyFieldTextarea, isStandalone: false, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
29
29
  @switch (props.type) {
30
30
  @case ('count') {
31
31
  <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
@@ -80,7 +80,7 @@ class FormlyFieldTextarea extends FieldType {
80
80
  </ng-template>
81
81
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.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: 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.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: i4.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
82
82
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
84
84
  type: Component,
85
85
  args: [{
86
86
  selector: 'formly-field-textarea',
@@ -144,13 +144,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
144
144
  }] });
145
145
 
146
146
  class FormlyNzTextareaModule {
147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
148
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
147
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
148
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
149
149
  ReactiveFormsModule,
150
150
  FormlyNzFormFieldModule,
151
151
  NzInputModule,
152
152
  NzIconModule, i5.FormlyModule] }); }
153
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
153
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
154
154
  ReactiveFormsModule,
155
155
  FormlyNzFormFieldModule,
156
156
  NzInputModule,
@@ -165,7 +165,7 @@ class FormlyNzTextareaModule {
165
165
  ]
166
166
  })] }); }
167
167
  }
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
169
169
  type: NgModule,
170
170
  args: [{
171
171
  declarations: [FormlyFieldTextarea],
@@ -27,8 +27,8 @@ class FormlyFieldTimepicker extends FieldType {
27
27
  }
28
28
  };
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: FormlyFieldTimepicker, isStandalone: false, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: FormlyFieldTimepicker, isStandalone: false, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
32
32
  [formControl]="formControl"
33
33
  [nzId]="id"
34
34
  [nzPlaceHolder]="props.placeholder ?? ''"
@@ -59,7 +59,7 @@ class FormlyFieldTimepicker extends FieldType {
59
59
  (nzOpenChange)="props['openChange']?.(field, $event)"
60
60
  ></nz-time-picker>`, 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.NzTimePickerComponent, selector: "nz-time-picker", inputs: ["nzId", "nzSize", "nzStatus", "nzHourStep", "nzMinuteStep", "nzSecondStep", "nzClearText", "nzNowText", "nzOkText", "nzPopupClassName", "nzPlaceHolder", "nzAddOn", "nzDefaultOpenValue", "nzDisabledHours", "nzDisabledMinutes", "nzDisabledSeconds", "nzFormat", "nzOpen", "nzUse12Hours", "nzSuffixIcon", "nzHideDisabledOptions", "nzAllowEmpty", "nzDisabled", "nzAutoFocus", "nzBackdrop", "nzBorderless", "nzInputReadOnly"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
61
61
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
63
63
  type: Component,
64
64
  args: [{
65
65
  selector: 'formly-field-timepicker',
@@ -99,12 +99,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
99
99
  }] });
100
100
 
101
101
  class FormlyNzTimepickerModule {
102
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
103
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
102
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
103
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
104
104
  ReactiveFormsModule,
105
105
  FormlyNzFormFieldModule,
106
106
  NzTimePickerModule, i1$1.FormlyModule] }); }
107
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
107
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
108
108
  ReactiveFormsModule,
109
109
  FormlyNzFormFieldModule,
110
110
  NzTimePickerModule,
@@ -118,7 +118,7 @@ class FormlyNzTimepickerModule {
118
118
  ]
119
119
  })] }); }
120
120
  }
121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
122
122
  type: NgModule,
123
123
  args: [{
124
124
  declarations: [FormlyFieldTimepicker],
@@ -54,8 +54,8 @@ class TransferComponent extends NzTransferComponent {
54
54
  searchChange(value) {
55
55
  this.nzSearchChange.emit(value);
56
56
  }
57
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: TransferComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
58
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: TransferComponent, isStandalone: false, selector: "formly-transfer", inputs: { resultMap: "resultMap" }, providers: [
57
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: TransferComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
58
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: TransferComponent, isStandalone: false, selector: "formly-transfer", inputs: { resultMap: "resultMap" }, providers: [
59
59
  {
60
60
  provide: NG_VALUE_ACCESSOR,
61
61
  useExisting: TransferComponent,
@@ -87,7 +87,7 @@ class TransferComponent extends NzTransferComponent {
87
87
  ></nz-transfer>
88
88
  `, isInline: true, dependencies: [{ kind: "component", type: i1.NzTransferComponent, selector: "nz-transfer", inputs: ["nzDisabled", "nzDataSource", "nzTitles", "nzOperations", "nzListStyle", "nzShowSelectAll", "nzItemUnit", "nzItemsUnit", "nzCanMove", "nzRenderList", "nzRender", "nzFooter", "nzShowSearch", "nzFilterOption", "nzSearchPlaceholder", "nzNotFoundContent", "nzTargetKeys", "nzSelectedKeys", "nzStatus", "nzOneWay"], outputs: ["nzChange", "nzSearchChange", "nzSelectChange"], exportAs: ["nzTransfer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
89
89
  }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: TransferComponent, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: TransferComponent, decorators: [{
91
91
  type: Component,
92
92
  args: [{
93
93
  selector: 'formly-transfer',
@@ -155,8 +155,8 @@ class FormlyFieldTransfer extends FieldType {
155
155
  this.transfer.nzCanMove = canMove;
156
156
  }
157
157
  }
158
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldTransfer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
159
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: FormlyFieldTransfer, isStandalone: false, selector: "formly-field-transfer", viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-transfer
158
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTransfer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
159
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: FormlyFieldTransfer, isStandalone: false, selector: "formly-field-transfer", viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-transfer
160
160
  #transfer
161
161
  [formControl]="formControl"
162
162
  [nzDataSource]="props['dataSource']"
@@ -180,7 +180,7 @@ class FormlyFieldTransfer extends FieldType {
180
180
  (nzSelectChange)="props['selectChange']?.(field, $event)"
181
181
  ></formly-transfer>`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: TransferComponent, selector: "formly-transfer", inputs: ["resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
182
182
  }
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyFieldTransfer, decorators: [{
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTransfer, decorators: [{
184
184
  type: Component,
185
185
  args: [{
186
186
  selector: 'formly-field-transfer',
@@ -216,12 +216,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
216
216
  }] } });
217
217
 
218
218
  class FormlyNzTransferModule {
219
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTransferModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
220
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTransferModule, declarations: [FormlyFieldTransfer, TransferComponent], imports: [CommonModule,
219
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTransferModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
220
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTransferModule, declarations: [FormlyFieldTransfer, TransferComponent], imports: [CommonModule,
221
221
  ReactiveFormsModule,
222
222
  FormlyNzFormFieldModule,
223
223
  NzTransferModule, i1$2.FormlyModule] }); }
224
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTransferModule, imports: [CommonModule,
224
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTransferModule, imports: [CommonModule,
225
225
  ReactiveFormsModule,
226
226
  FormlyNzFormFieldModule,
227
227
  NzTransferModule,
@@ -235,7 +235,7 @@ class FormlyNzTransferModule {
235
235
  ]
236
236
  })] }); }
237
237
  }
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: FormlyNzTransferModule, decorators: [{
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTransferModule, decorators: [{
239
239
  type: NgModule,
240
240
  args: [{
241
241
  declarations: [FormlyFieldTransfer, TransferComponent],