ngx-formly-zorro-antd 16.2.1 → 17.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. package/autocomplete/package.json +3 -0
  2. package/button/package.json +3 -0
  3. package/card/package.json +3 -0
  4. package/card-wrapper/card-wrapper.module.d.ts +2 -3
  5. package/card-wrapper/package.json +3 -0
  6. package/cascader/cascader.module.d.ts +3 -4
  7. package/cascader/package.json +3 -0
  8. package/checkbox/package.json +3 -0
  9. package/common/package.json +3 -0
  10. package/datepicker/package.json +3 -0
  11. package/esm2022/button/button.module.mjs +4 -4
  12. package/esm2022/button/button.type.mjs +3 -3
  13. package/esm2022/card/card.module.mjs +4 -4
  14. package/esm2022/card/card.type.mjs +5 -5
  15. package/esm2022/card-wrapper/card-wrapper.module.mjs +6 -10
  16. package/esm2022/card-wrapper/card.wrapper.mjs +5 -5
  17. package/esm2022/cascader/cascader.module.mjs +5 -9
  18. package/esm2022/cascader/cascader.type.mjs +5 -5
  19. package/esm2022/checkbox/checkbox.module.mjs +4 -4
  20. package/esm2022/checkbox/checkbox.type.mjs +3 -3
  21. package/esm2022/common/common.module.mjs +4 -4
  22. package/esm2022/common/formly-box-templates.directive.mjs +3 -3
  23. package/esm2022/datepicker/datepicker.module.mjs +4 -4
  24. package/esm2022/datepicker/datepicker.type.mjs +3 -3
  25. package/esm2022/form-field/form-field.module.mjs +6 -10
  26. package/esm2022/form-field/form-field.wrapper.mjs +5 -5
  27. package/esm2022/grid/grid.module.mjs +4 -4
  28. package/esm2022/grid/grid.type.mjs +3 -3
  29. package/esm2022/input/input.module.mjs +4 -4
  30. package/esm2022/input/input.type.mjs +3 -3
  31. package/esm2022/input-group/input-group.module.mjs +4 -4
  32. package/esm2022/input-group/input-group.type.mjs +3 -3
  33. package/esm2022/input-number/input-number.module.mjs +4 -4
  34. package/esm2022/input-number/input-number.type.mjs +3 -3
  35. package/esm2022/lib/ui-ng-zorro-antd.module.mjs +16 -16
  36. package/esm2022/radio/radio.module.mjs +4 -4
  37. package/esm2022/radio/radio.type.mjs +3 -3
  38. package/esm2022/rate/rate.module.mjs +4 -4
  39. package/esm2022/rate/rate.type.mjs +3 -3
  40. package/esm2022/ref-template/ref-template.module.mjs +4 -4
  41. package/esm2022/ref-template/ref-template.type.mjs +5 -5
  42. package/esm2022/select/select.module.mjs +4 -4
  43. package/esm2022/select/select.type.mjs +3 -3
  44. package/esm2022/slider/slider.module.mjs +4 -4
  45. package/esm2022/slider/slider.type.mjs +3 -3
  46. package/esm2022/space/space.module.mjs +5 -9
  47. package/esm2022/space/space.type.mjs +5 -5
  48. package/esm2022/switch/switch.module.mjs +4 -4
  49. package/esm2022/switch/switch.type.mjs +3 -3
  50. package/esm2022/tabs/tabs.module.mjs +4 -4
  51. package/esm2022/tabs/tabs.wrapper.mjs +3 -3
  52. package/esm2022/textarea/textarea.module.mjs +4 -4
  53. package/esm2022/textarea/textarea.type.mjs +3 -3
  54. package/esm2022/timepicker/timepicker.module.mjs +4 -4
  55. package/esm2022/timepicker/timepicker.type.mjs +3 -3
  56. package/esm2022/transfer/transfer.component.mjs +3 -3
  57. package/esm2022/transfer/transfer.module.mjs +4 -4
  58. package/esm2022/transfer/transfer.type.mjs +3 -3
  59. package/esm2022/tree-select/tree-select.module.mjs +5 -9
  60. package/esm2022/tree-select/tree-select.type.mjs +5 -5
  61. package/esm2022/upload/upload.component.mjs +3 -3
  62. package/esm2022/upload/upload.module.mjs +5 -9
  63. package/esm2022/upload/upload.type.mjs +6 -6
  64. package/extension/package.json +3 -0
  65. package/fesm2022/ngx-formly-zorro-antd-button.mjs +7 -7
  66. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +11 -14
  67. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
  68. package/fesm2022/ngx-formly-zorro-antd-card.mjs +9 -9
  69. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +11 -14
  70. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  71. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +7 -7
  72. package/fesm2022/ngx-formly-zorro-antd-common.mjs +7 -7
  73. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +7 -7
  74. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +12 -15
  75. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  76. package/fesm2022/ngx-formly-zorro-antd-grid.mjs +7 -7
  77. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +7 -7
  78. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +7 -7
  79. package/fesm2022/ngx-formly-zorro-antd-input.mjs +7 -7
  80. package/fesm2022/ngx-formly-zorro-antd-radio.mjs +7 -7
  81. package/fesm2022/ngx-formly-zorro-antd-rate.mjs +7 -7
  82. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +9 -9
  83. package/fesm2022/ngx-formly-zorro-antd-select.mjs +7 -7
  84. package/fesm2022/ngx-formly-zorro-antd-slider.mjs +7 -7
  85. package/fesm2022/ngx-formly-zorro-antd-space.mjs +10 -13
  86. package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
  87. package/fesm2022/ngx-formly-zorro-antd-switch.mjs +7 -7
  88. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +7 -7
  89. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +7 -7
  90. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +7 -7
  91. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +10 -10
  92. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +11 -14
  93. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  94. package/fesm2022/ngx-formly-zorro-antd-upload.mjs +14 -17
  95. package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  96. package/fesm2022/ngx-formly-zorro-antd.mjs +15 -15
  97. package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
  98. package/form-field/form-field.module.d.ts +3 -4
  99. package/form-field/package.json +3 -0
  100. package/grid/package.json +3 -0
  101. package/input/package.json +3 -0
  102. package/input-group/package.json +3 -0
  103. package/input-number/package.json +3 -0
  104. package/lib/ui-ng-zorro-antd.module.d.ts +26 -26
  105. package/package.json +18 -18
  106. package/radio/package.json +3 -0
  107. package/rate/package.json +3 -0
  108. package/ref-template/package.json +3 -0
  109. package/select/package.json +3 -0
  110. package/slider/package.json +3 -0
  111. package/space/package.json +3 -0
  112. package/space/space.module.d.ts +3 -4
  113. package/switch/package.json +3 -0
  114. package/tabs/package.json +3 -0
  115. package/textarea/package.json +3 -0
  116. package/timepicker/package.json +3 -0
  117. package/transfer/package.json +3 -0
  118. package/tree-select/package.json +3 -0
  119. package/tree-select/tree-select.module.d.ts +3 -4
  120. package/upload/package.json +3 -0
  121. package/upload/upload.module.d.ts +5 -6
@@ -45,8 +45,8 @@ export class UploadNzComponent extends NzUploadComponent {
45
45
  }
46
46
  }
47
47
  }
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: UploadNzComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
49
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: UploadNzComponent, selector: "formly-nz-upload", inputs: { nzeText: "nzeText", nzeHint: "nzeHint", nzeShowUploadButton: "nzeShowUploadButton", nzeUploadButton: "nzeUploadButton", nzeUploadButtonIcon: "nzeUploadButtonIcon", className: "className", resultMap: "resultMap" }, providers: [
48
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: UploadNzComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
49
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: UploadNzComponent, selector: "formly-nz-upload", inputs: { nzeText: "nzeText", nzeHint: "nzeHint", nzeShowUploadButton: "nzeShowUploadButton", nzeUploadButton: "nzeUploadButton", nzeUploadButtonIcon: "nzeUploadButtonIcon", className: "className", resultMap: "resultMap" }, providers: [
50
50
  {
51
51
  provide: NG_VALUE_ACCESSOR,
52
52
  useExisting: forwardRef(() => UploadNzComponent),
@@ -137,7 +137,7 @@ export class UploadNzComponent extends NzUploadComponent {
137
137
  </nz-upload>
138
138
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2.NzUploadComponent, selector: "nz-upload", inputs: ["nzType", "nzLimit", "nzSize", "nzFileType", "nzAccept", "nzAction", "nzDirectory", "nzOpenFileDialogOnClick", "nzBeforeUpload", "nzCustomRequest", "nzData", "nzFilter", "nzFileList", "nzDisabled", "nzHeaders", "nzListType", "nzMultiple", "nzName", "nzShowUploadList", "nzShowButton", "nzWithCredentials", "nzRemove", "nzPreview", "nzPreviewFile", "nzPreviewIsImage", "nzTransformFile", "nzDownload", "nzIconRender", "nzFileListRender"], outputs: ["nzChange", "nzFileListChange"], exportAs: ["nzUpload"] }, { kind: "component", type: i3.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i4.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i5.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
139
139
  }
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: UploadNzComponent, decorators: [{
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: UploadNzComponent, decorators: [{
141
141
  type: Component,
142
142
  args: [{
143
143
  selector: 'formly-nz-upload',
@@ -3,7 +3,6 @@ import { CommonModule } from '@angular/common';
3
3
  import { FormlyModule } from '@ngx-formly/core';
4
4
  import { ReactiveFormsModule } from '@angular/forms';
5
5
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
6
- import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
7
6
  import { NzUploadModule } from 'ng-zorro-antd/upload';
8
7
  import { NzButtonModule } from 'ng-zorro-antd/button';
9
8
  import { NzIconModule } from 'ng-zorro-antd/icon';
@@ -12,18 +11,16 @@ import { UploadNzComponent } from './upload.component';
12
11
  import * as i0 from "@angular/core";
13
12
  import * as i1 from "@ngx-formly/core";
14
13
  export class FormlyNzUploadModule {
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadNzComponent], imports: [CommonModule,
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadNzComponent], imports: [CommonModule,
17
16
  ReactiveFormsModule,
18
17
  FormlyNzFormFieldModule,
19
- FormlyCommonModule,
20
18
  NzUploadModule,
21
19
  NzButtonModule,
22
20
  NzIconModule, i1.FormlyModule] }); }
23
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
21
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
24
22
  ReactiveFormsModule,
25
23
  FormlyNzFormFieldModule,
26
- FormlyCommonModule,
27
24
  NzUploadModule,
28
25
  NzButtonModule,
29
26
  NzIconModule,
@@ -37,7 +34,7 @@ export class FormlyNzUploadModule {
37
34
  ]
38
35
  })] }); }
39
36
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
41
38
  type: NgModule,
42
39
  args: [{
43
40
  declarations: [FormlyFieldUpload, UploadNzComponent],
@@ -45,7 +42,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
45
42
  CommonModule,
46
43
  ReactiveFormsModule,
47
44
  FormlyNzFormFieldModule,
48
- FormlyCommonModule,
49
45
  NzUploadModule,
50
46
  NzButtonModule,
51
47
  NzIconModule,
@@ -61,4 +57,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.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RVcGxvYWQsXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56VXBsb2FkTW9kdWxlIHt9XG4iXX0=
@@ -39,8 +39,8 @@ export class FormlyFieldUpload extends FieldType {
39
39
  get nzFileListRender() {
40
40
  return resolveTplName(this.props, this.fieldTemplates, 'fileListRender');
41
41
  }
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldUpload, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
43
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldUpload, selector: "formly-field-upload", viewQueries: [{ propertyName: "upload", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-nz-upload
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldUpload, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
43
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldUpload, selector: "formly-field-upload", viewQueries: [{ propertyName: "upload", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-nz-upload
44
44
  #upload
45
45
  [formControl]="formControl"
46
46
  [formlyAttributes]="field"
@@ -83,7 +83,7 @@ export class FormlyFieldUpload extends FieldType {
83
83
  >
84
84
  </formly-nz-upload>`, isInline: true, dependencies: [{ 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: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: i4.UploadNzComponent, selector: "formly-nz-upload", inputs: ["nzeText", "nzeHint", "nzeShowUploadButton", "nzeUploadButton", "nzeUploadButtonIcon", "className", "resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
85
85
  }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldUpload, decorators: [{
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldUpload, decorators: [{
87
87
  type: Component,
88
88
  args: [{
89
89
  selector: 'formly-field-upload',
@@ -131,10 +131,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
131
131
  </formly-nz-upload>`,
132
132
  changeDetection: ChangeDetectionStrategy.OnPush
133
133
  }]
134
- }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
134
+ }], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
135
135
  type: Optional
136
- }] }]; }, propDecorators: { upload: [{
136
+ }] }], propDecorators: { upload: [{
137
137
  type: ViewChild,
138
138
  args: ['upload', { static: true }]
139
139
  }] } });
140
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3VwbG9hZC9zcmMvdXBsb2FkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsRUFFdkIsU0FBUyxFQUVULFFBQVEsRUFDVCxNQUFNLGVBQWUsQ0FBQztBQU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AgICAgIHNob3dVcGxvYWRCdXR0b246IHRydWUsXG4gICAgICBsaW1pdDogMCxcbiAgICAgIHNpemU6IDAsXG4gICAgICBmaWxlTGlzdDogW10sXG4gICAgICBmaWx0ZXI6IFtdLFxuICAgICAgdGV4dDogJydcbiAgICB9XG4gIH07XG5cbiAgQFZpZXdDaGlsZCgndXBsb2FkJywgeyBzdGF0aWM6IHRydWUgfSkgdXBsb2FkITogVXBsb2FkTnpDb21wb25lbnQ7XG5cbiAgY29uc3RydWN0b3IoQE9wdGlvbmFsKCkgcHVibGljIGZpZWxkVGVtcGxhdGVzOiBGb3JtbHlCb3hUZW1wbGF0ZXMpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgY29uc3QgdHlwZSA9IHRoaXMucHJvcHMudHlwZTtcbiAgICBpZiAodHlwZSkge1xuICAgICAgdGhpcy51cGxvYWQubnpUeXBlID0gdHlwZTtcbiAgICB9XG4gIH1cblxuICBnZXQgbnpJY29uUmVuZGVyKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnaWNvblJlbmRlcicpO1xuICB9XG5cbiAgZ2V0IG56RmlsZUxpc3RSZW5kZXIoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdmaWxlTGlzdFJlbmRlcicpO1xuICB9XG59XG4iXX0=
140
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3VwbG9hZC9zcmMvdXBsb2FkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBT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iB0cnVlLFxuICAgICAgc2hvd0J1dHRvbjogdHJ1ZSxcbiAgICAgIG9wZW5GaWxlRGlhbG9nT25DbGljazogdHJ1ZSxcbiAgICAgIHNob3dVcGxvYWRCdXR0b246IHRydWUsXG4gICAgICBsaW1pdDogMCxcbiAgICAgIHNpemU6IDAsXG4gICAgICBmaWxlTGlzdDogW10sXG4gICAgICBmaWx0ZXI6IFtdLFxuICAgICAgdGV4dDogJydcbiAgICB9XG4gIH07XG5cbiAgQFZpZXdDaGlsZCgndXBsb2FkJywgeyBzdGF0aWM6IHRydWUgfSkgdXBsb2FkITogVXBsb2FkTnpDb21wb25lbnQ7XG5cbiAgY29uc3RydWN0b3IoQE9wdGlvbmFsKCkgcHVibGljIGZpZWxkVGVtcGxhdGVzOiBGb3JtbHlCb3hUZW1wbGF0ZXMpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgY29uc3QgdHlwZSA9IHRoaXMucHJvcHMudHlwZTtcbiAgICBpZiAodHlwZSkge1xuICAgICAgdGhpcy51cGxvYWQubnpUeXBlID0gdHlwZTtcbiAgICB9XG4gIH1cblxuICBnZXQgbnpJY29uUmVuZGVyKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnaWNvblJlbmRlcicpO1xuICB9XG5cbiAgZ2V0IG56RmlsZUxpc3RSZW5kZXIoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdmaWxlTGlzdFJlbmRlcicpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,3 @@
1
+ {
2
+ "module": "../fesm2022/ngx-formly-zorro-antd-extension.mjs"
3
+ }
@@ -24,8 +24,8 @@ class FormlyFieldButton extends FieldType {
24
24
  }
25
25
  };
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldButton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
28
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldButton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
28
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
29
29
  <ng-container *ngIf="props.type === 'a'; else elsebutton">
30
30
  <a
31
31
  nz-button
@@ -65,7 +65,7 @@ class FormlyFieldButton extends FieldType {
65
65
  </ng-template>
66
66
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i3.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i4.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i5.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i6.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldButton, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldButton, decorators: [{
69
69
  type: Component,
70
70
  args: [{
71
71
  selector: 'formly-field-button',
@@ -113,11 +113,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
113
113
  }] });
114
114
 
115
115
  class FormlyNzButtonModule {
116
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
117
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzButtonModule, declarations: [FormlyFieldButton], imports: [CommonModule,
116
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
117
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzButtonModule, declarations: [FormlyFieldButton], imports: [CommonModule,
118
118
  NzButtonModule,
119
119
  NzIconModule, i6.FormlyModule] }); }
120
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzButtonModule, imports: [CommonModule,
120
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzButtonModule, imports: [CommonModule,
121
121
  NzButtonModule,
122
122
  NzIconModule,
123
123
  FormlyModule.forChild({
@@ -137,7 +137,7 @@ class FormlyNzButtonModule {
137
137
  ]
138
138
  })] }); }
139
139
  }
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
141
141
  type: NgModule,
142
142
  args: [{
143
143
  declarations: [FormlyFieldButton],
@@ -4,7 +4,7 @@ import { CommonModule } from '@angular/common';
4
4
  import * as i3 from '@ngx-formly/core';
5
5
  import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
6
6
  import * as i1 from 'ngx-formly-zorro-antd/common';
7
- import { resolveTplName, resolveTplNameArray, FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
7
+ import { resolveTplName, resolveTplNameArray } from 'ngx-formly-zorro-antd/common';
8
8
  import * as i2 from 'ng-zorro-antd/card';
9
9
  import { NzCardModule } from 'ng-zorro-antd/card';
10
10
 
@@ -30,8 +30,8 @@ class FormlyWrapperCard extends FieldWrapper {
30
30
  get nzActions() {
31
31
  return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyWrapperCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyWrapperCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
35
35
  <nz-card
36
36
  [nzActions]="nzActions"
37
37
  [formlyAttributes]="field"
@@ -50,7 +50,7 @@ class FormlyWrapperCard extends FieldWrapper {
50
50
  </nz-card>
51
51
  `, isInline: true, dependencies: [{ kind: "component", type: i2.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyWrapperCard, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyWrapperCard, decorators: [{
54
54
  type: Component,
55
55
  args: [{
56
56
  selector: 'formly-wrapper-card',
@@ -74,18 +74,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
74
74
  `,
75
75
  changeDetection: ChangeDetectionStrategy.OnPush
76
76
  }]
77
- }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
77
+ }], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
78
78
  type: Optional
79
- }] }]; } });
79
+ }] }] });
80
80
 
81
81
  class FormlyNzCardWrapperModule {
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
83
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
82
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCardWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
83
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCardWrapperModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
84
+ NzCardModule, i3.FormlyModule] }); }
85
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCardWrapperModule, imports: [CommonModule,
84
86
  NzCardModule,
85
- FormlyCommonModule, i3.FormlyModule] }); }
86
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, imports: [CommonModule,
87
- NzCardModule,
88
- FormlyCommonModule,
89
87
  FormlyModule.forChild({
90
88
  wrappers: [
91
89
  {
@@ -95,14 +93,13 @@ class FormlyNzCardWrapperModule {
95
93
  ]
96
94
  })] }); }
97
95
  }
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, decorators: [{
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCardWrapperModule, decorators: [{
99
97
  type: NgModule,
100
98
  args: [{
101
99
  declarations: [FormlyWrapperCard],
102
100
  imports: [
103
101
  CommonModule,
104
102
  NzCardModule,
105
- FormlyCommonModule,
106
103
  FormlyModule.forChild({
107
104
  wrappers: [
108
105
  {
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-card-wrapper.mjs","sources":["../../../../packages/formlyantd/card-wrapper/src/card.wrapper.ts","../../../../packages/formlyantd/card-wrapper/src/card-wrapper.module.ts","../../../../packages/formlyantd/card-wrapper/src/ngx-formly-zorro-antd-card-wrapper.ts"],"sourcesContent":["import { Component, Type, Optional, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\nimport {\n FormlyBoxTemplates,\n resolveTplName,\n resolveTplNameArray\n} from 'ngx-formly-zorro-antd/common';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { CardWrapperProps } from './card-wrapper.props';\n\nexport interface FormlyCardWrapperConfig extends NzFormlyFieldConfig<CardWrapperProps> {\n wrappers: ('card-wrapper' | Type<FormlyWrapperCard>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-card',\n template: `\n <nz-card\n [nzActions]=\"nzActions\"\n [formlyAttributes]=\"field\"\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBorderless]=\"props['borderless']!!\"\n [nzCover]=\"nzCover\"\n [nzExtra]=\"nzExtra\"\n [nzHoverable]=\"props['hoverable']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzTitle]=\"nzTitle\"\n [nzBordered]=\"props['bordered']!!\"\n [nzType]=\"props['type'] ?? null\"\n >\n <ng-container #fieldComponent></ng-container>\n </nz-card>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperCard extends FieldWrapper<NzFormlyFieldConfig<CardWrapperProps>> {\n override defaultOptions = {\n props: {\n bordered: true\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzTitle() {\n return resolveTplName(this.props, this.fieldTemplates, 'title');\n }\n get nzCover() {\n return resolveTplName(this.props, this.fieldTemplates, 'cover');\n }\n get nzExtra() {\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\n }\n get nzActions() {\n return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperCard } from './card.wrapper';\nimport { NzCardModule } from 'ng-zorro-antd/card';\nimport { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';\n\n@NgModule({\n declarations: [FormlyWrapperCard],\n imports: [\n CommonModule,\n NzCardModule,\n FormlyCommonModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'card-wrapper',\n component: FormlyWrapperCard\n }\n ]\n })\n ]\n})\nexport class FormlyNzCardWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAoCM,MAAO,iBAAkB,SAAQ,YAAmD,CAAA;AAOxF,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AANxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,IAAI;AACf,aAAA;SACF,CAAC;KAID;AAED,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;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,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,mBAAmB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,IAAI,EAAE,CAAC;KAC9E;8GAtBU,iBAAiB,EAAA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lyantd/card-wrapper/src/card.wrapper.ts","../../../../packages/formlyantd/card-wrapper/src/card-wrapper.module.ts","../../../../packages/formlyantd/card-wrapper/src/ngx-formly-zorro-antd-card-wrapper.ts"],"sourcesContent":["import { Component, Type, Optional, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\nimport {\n FormlyBoxTemplates,\n resolveTplName,\n resolveTplNameArray\n} from 'ngx-formly-zorro-antd/common';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { CardWrapperProps } from './card-wrapper.props';\n\nexport interface FormlyCardWrapperConfig extends NzFormlyFieldConfig<CardWrapperProps> {\n wrappers: ('card-wrapper' | Type<FormlyWrapperCard>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-card',\n template: `\n <nz-card\n [nzActions]=\"nzActions\"\n [formlyAttributes]=\"field\"\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBorderless]=\"props['borderless']!!\"\n [nzCover]=\"nzCover\"\n [nzExtra]=\"nzExtra\"\n [nzHoverable]=\"props['hoverable']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzTitle]=\"nzTitle\"\n [nzBordered]=\"props['bordered']!!\"\n [nzType]=\"props['type'] ?? null\"\n >\n <ng-container #fieldComponent></ng-container>\n </nz-card>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperCard extends FieldWrapper<NzFormlyFieldConfig<CardWrapperProps>> {\n override defaultOptions = {\n props: {\n bordered: true\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzTitle() {\n return resolveTplName(this.props, this.fieldTemplates, 'title');\n }\n get nzCover() {\n return resolveTplName(this.props, this.fieldTemplates, 'cover');\n }\n get nzExtra() {\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\n }\n get nzActions() {\n return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperCard } from './card.wrapper';\nimport { NzCardModule } from 'ng-zorro-antd/card';\n\n@NgModule({\n declarations: [FormlyWrapperCard],\n imports: [\n CommonModule,\n NzCardModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'card-wrapper',\n component: FormlyWrapperCard\n }\n ]\n })\n ]\n})\nexport class FormlyNzCardWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAoCM,MAAO,iBAAkB,SAAQ,YAAmD,CAAA;AAOxF,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AANxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,IAAI;AACf,aAAA;SACF,CAAC;KAID;AAED,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;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,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,mBAAmB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,IAAI,EAAE,CAAC;KAC9E;8GAtBU,iBAAiB,EAAA,IAAA,EAAA,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A,CAAA;;0BAQc,QAAQ;;;MCpBV,yBAAyB,CAAA;8GAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAzB,yBAAyB,EAAA,YAAA,EAAA,CAfrB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAE9B,YAAY;YACZ,YAAY,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA,EAAA;AAYH,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,yBAAyB,YAblC,YAAY;YACZ,YAAY;YAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,IAAI,EAAE,cAAc;AACpB,wBAAA,SAAS,EAAE,iBAAiB;AAC7B,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAhBrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,cAAc;AACpB,oCAAA,SAAS,EAAE,iBAAiB;AAC7B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
@@ -37,8 +37,8 @@ class FormlyFieldCard extends FieldType {
37
37
  get nzContent() {
38
38
  return resolveTplName(this.props, this.fieldTemplates, 'content');
39
39
  }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
41
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldCard, selector: "formly-field-card", usesInheritance: true, ngImport: i0, template: `
40
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
41
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldCard, selector: "formly-field-card", usesInheritance: true, ngImport: i0, template: `
42
42
  <nz-card
43
43
  [nzActions]="nzActions"
44
44
  [formlyAttributes]="field"
@@ -62,7 +62,7 @@ class FormlyFieldCard extends FieldType {
62
62
  </nz-card>
63
63
  `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i4.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: i5.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
64
64
  }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldCard, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldCard, decorators: [{
66
66
  type: Component,
67
67
  args: [{
68
68
  selector: 'formly-field-card',
@@ -91,17 +91,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
91
91
  `,
92
92
  changeDetection: ChangeDetectionStrategy.OnPush
93
93
  }]
94
- }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
94
+ }], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
95
95
  type: Optional
96
- }] }]; } });
96
+ }] }] });
97
97
 
98
98
  const COMPONENT = FormlyFieldCard;
99
99
  class FormlyNzCardModule {
100
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
101
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyFieldCard], imports: [CommonModule,
100
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
101
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyFieldCard], imports: [CommonModule,
102
102
  NzCardModule,
103
103
  NzOutletModule, i5.FormlyModule], exports: [FormlyFieldCard] }); }
104
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardModule, imports: [CommonModule,
104
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCardModule, imports: [CommonModule,
105
105
  NzCardModule,
106
106
  NzOutletModule,
107
107
  FormlyModule.forChild({
@@ -113,7 +113,7 @@ class FormlyNzCardModule {
113
113
  ]
114
114
  })] }); }
115
115
  }
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardModule, decorators: [{
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCardModule, decorators: [{
117
117
  type: NgModule,
118
118
  args: [{
119
119
  declarations: [COMPONENT],
@@ -7,10 +7,10 @@ import { FieldType, FormlyModule } from '@ngx-formly/core';
7
7
  import * as i3 from '@angular/forms';
8
8
  import { ReactiveFormsModule } from '@angular/forms';
9
9
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
10
- import * as i1 from 'ngx-formly-zorro-antd/common';
11
- import { resolveTplName, FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
12
10
  import * as i4 from 'ng-zorro-antd/cascader';
13
11
  import { NzCascaderModule } from 'ng-zorro-antd/cascader';
12
+ import * as i1 from 'ngx-formly-zorro-antd/common';
13
+ import { resolveTplName } from 'ngx-formly-zorro-antd/common';
14
14
 
15
15
  class FormlyFieldCascader extends FieldType {
16
16
  constructor(fieldTemplates) {
@@ -55,8 +55,8 @@ class FormlyFieldCascader extends FieldType {
55
55
  this.props['cascaderOptions'] = this.props.options;
56
56
  }
57
57
  }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldCascader, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
59
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldCascader, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
59
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
60
60
  #cascader
61
61
  [nzPlaceHolder]="props.placeholder ?? ''"
62
62
  [formControl]="formControl"
@@ -90,7 +90,7 @@ class FormlyFieldCascader extends FieldType {
90
90
  (nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
91
91
  ></nz-cascader>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: "component", type: i4.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelRender", "nzLabelProperty", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseEnterDelay", "nzMouseLeaveDelay", "nzStatus", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzSuffixIcon", "nzExpandIcon", "nzOptions"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzSelect", "nzClear"], exportAs: ["nzCascader"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
92
92
  }
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldCascader, decorators: [{
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldCascader, decorators: [{
94
94
  type: Component,
95
95
  args: [{
96
96
  selector: 'formly-field-cascader',
@@ -129,21 +129,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
129
129
  ></nz-cascader>`,
130
130
  changeDetection: ChangeDetectionStrategy.OnPush
131
131
  }]
132
- }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
132
+ }], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
133
133
  type: Optional
134
- }] }]; } });
134
+ }] }] });
135
135
 
136
136
  class FormlyNzCascaderModule {
137
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
138
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
137
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
138
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
139
139
  ReactiveFormsModule,
140
140
  FormlyNzFormFieldModule,
141
- FormlyCommonModule,
142
141
  NzCascaderModule, i5.FormlyModule] }); }
143
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
142
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
144
143
  ReactiveFormsModule,
145
144
  FormlyNzFormFieldModule,
146
- FormlyCommonModule,
147
145
  NzCascaderModule,
148
146
  FormlyModule.forChild({
149
147
  types: [
@@ -155,7 +153,7 @@ class FormlyNzCascaderModule {
155
153
  ]
156
154
  })] }); }
157
155
  }
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
159
157
  type: NgModule,
160
158
  args: [{
161
159
  declarations: [FormlyFieldCascader],
@@ -163,7 +161,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
163
161
  CommonModule,
164
162
  ReactiveFormsModule,
165
163
  FormlyNzFormFieldModule,
166
- FormlyCommonModule,
167
164
  NzCascaderModule,
168
165
  FormlyModule.forChild({
169
166
  types: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import {\n Component,\n TemplateRef,\n Optional,\n Type,\n ChangeDetectionStrategy,\n OnInit\n} from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport { resolveTplName, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\n\ninterface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n expandIconName?: string;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n labelRenderName?: string;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n notFoundContentName?: string;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n optionRenderName?: string;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n suffixIconName?: string;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: FormlyAttributeEvent;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: FormlyAttributeEvent<boolean>;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: FormlyAttributeEvent<NzCascaderOption[]>;\n}\n\nexport interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']!\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"nzExpandIcon!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty']\"\n [nzLabelRender]=\"nzLabelRender ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"nzNotFoundContent\"\n [nzOptionRender]=\"nzOptionRender ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"nzSuffixIcon!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader\n extends FieldType<FieldTypeConfig<CascaderProps>>\n implements OnInit\n{\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzNotFoundContent() {\n return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');\n }\n\n get nzExpandIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');\n }\n\n get nzLabelRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'labelRender');\n }\n\n get nzOptionRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'optionRender');\n }\n\n get nzSuffixIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');\n }\n\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as NzSafeAny;\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';\nimport { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n FormlyCommonModule,\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAiNM,MAAO,mBACX,SAAQ,SAAyC,CAAA;AAoBjD,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAjBxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,cAAc,EAAE,KAAK;AACrB,gBAAA,aAAa,EAAE,OAAgB;AAC/B,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,eAAe,EAAE,EAAE;AACpB,aAAA;SACF,CAAC;KAGD;AAED,IAAA,IAAI,iBAAiB,GAAA;AACnB,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC;KAC3E;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AGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBApBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,kBAAkB;wBAClB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import {\n Component,\n TemplateRef,\n Optional,\n Type,\n ChangeDetectionStrategy,\n OnInit\n} from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport { resolveTplName, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\n\ninterface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n expandIconName?: string;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n labelRenderName?: string;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n notFoundContentName?: string;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n optionRenderName?: string;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n suffixIconName?: string;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: FormlyAttributeEvent;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: FormlyAttributeEvent<boolean>;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: FormlyAttributeEvent<NzCascaderOption[]>;\n}\n\nexport interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']!\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"nzExpandIcon!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty']\"\n [nzLabelRender]=\"nzLabelRender ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"nzNotFoundContent\"\n [nzOptionRender]=\"nzOptionRender ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"nzSuffixIcon!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader\n extends FieldType<FieldTypeConfig<CascaderProps>>\n implements OnInit\n{\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzNotFoundContent() {\n return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');\n }\n\n get nzExpandIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');\n }\n\n get nzLabelRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'labelRender');\n }\n\n get nzOptionRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'optionRender');\n }\n\n get nzSuffixIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');\n }\n\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as NzSafeAny;\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';\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAiNM,MAAO,mBACX,SAAQ,SAAyC,CAAA;AAoBjD,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAjBxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,cAAc,EAAE,KAAK;AACrB,gBAAA,aAAa,EAAE,OAAgB;AAC/B,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,eAAe,EAAE,EAAE;AACpB,aAAA;SACF,CAAC;KAGD;AAED,IAAA,IAAI,iBAAiB,GAAA;AACnB,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC;KAC3E;AAED,IAAA,IAAI,YAAY,GAAA;AACd,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;KACtE;AAED,IAAA,IAAI,aAAa,GAAA;AACf,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;KACvE;AAED,IAAA,IAAI,cAAc,GAAA;AAChB,QAAA,OAAO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BAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
@@ -20,8 +20,8 @@ class FormlyFieldCheckbox extends FieldType {
20
20
  }
21
21
  };
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
25
25
  <label
26
26
  *ngIf="props.type !== 'group'; else checkboxgroup"
27
27
  [formControl]="formControl"
@@ -43,7 +43,7 @@ class FormlyFieldCheckbox extends FieldType {
43
43
  </ng-template>
44
44
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "component", type: i3.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
45
45
  }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
47
47
  type: Component,
48
48
  args: [{
49
49
  selector: 'formly-field-checkbox',
@@ -73,12 +73,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
73
73
  }] });
74
74
 
75
75
  class FormlyNzCheckboxModule {
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
77
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
77
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
78
78
  ReactiveFormsModule,
79
79
  FormlyNzFormFieldModule,
80
80
  NzCheckboxModule, i4.FormlyModule] }); }
81
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCheckboxModule, imports: [CommonModule,
81
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCheckboxModule, imports: [CommonModule,
82
82
  ReactiveFormsModule,
83
83
  FormlyNzFormFieldModule,
84
84
  NzCheckboxModule,
@@ -96,7 +96,7 @@ class FormlyNzCheckboxModule {
96
96
  ]
97
97
  })] }); }
98
98
  }
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
100
100
  type: NgModule,
101
101
  args: [{
102
102
  declarations: [FormlyFieldCheckbox],
@@ -85,10 +85,10 @@ class FormlyBoxTemplates {
85
85
  });
86
86
  return;
87
87
  }
88
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyBoxTemplates, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
89
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: FormlyBoxTemplates, isStandalone: true, selector: "[formly-box]", inputs: { templateList: ["formly-box", "templateList"] }, outputs: { templateChange: "templateChange" }, queries: [{ propertyName: "namedTemplate", predicate: NamedTemplate }], exportAs: ["FormlyBox"], usesOnChanges: true, ngImport: i0 }); }
88
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyBoxTemplates, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
89
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.3", type: FormlyBoxTemplates, isStandalone: true, selector: "[formly-box]", inputs: { templateList: ["formly-box", "templateList"] }, outputs: { templateChange: "templateChange" }, queries: [{ propertyName: "namedTemplate", predicate: NamedTemplate }], exportAs: ["FormlyBox"], usesOnChanges: true, ngImport: i0 }); }
90
90
  }
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyBoxTemplates, decorators: [{
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyBoxTemplates, decorators: [{
92
92
  type: Directive,
93
93
  args: [{
94
94
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -108,11 +108,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
108
108
 
109
109
  const COMPONENT = [FormlyBoxTemplates, NamedTemplate];
110
110
  class FormlyCommonModule {
111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
112
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyCommonModule, imports: [CommonModule, FormlyBoxTemplates, NamedTemplate], exports: [FormlyBoxTemplates, NamedTemplate] }); }
113
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyCommonModule, imports: [CommonModule] }); }
111
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
112
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyCommonModule, imports: [CommonModule, FormlyBoxTemplates, NamedTemplate], exports: [FormlyBoxTemplates, NamedTemplate] }); }
113
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyCommonModule, imports: [CommonModule] }); }
114
114
  }
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyCommonModule, decorators: [{
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyCommonModule, decorators: [{
116
116
  type: NgModule,
117
117
  args: [{
118
118
  imports: [CommonModule, ...COMPONENT],