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
@@ -26,8 +26,8 @@ class FormlyFieldSlider extends FieldType {
26
26
  }
27
27
  };
28
28
  }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldSlider, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldSlider, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
31
31
  #slider
32
32
  [formControl]="formControl"
33
33
  [formlyAttributes]="field"
@@ -45,7 +45,7 @@ class FormlyFieldSlider extends FieldType {
45
45
  (nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
46
46
  ></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"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
47
47
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldSlider, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldSlider, decorators: [{
49
49
  type: Component,
50
50
  args: [{
51
51
  selector: 'formly-field-slider',
@@ -71,12 +71,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
71
71
  }] });
72
72
 
73
73
  class FormlyNzSliderModule {
74
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
75
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
74
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
75
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
76
76
  ReactiveFormsModule,
77
77
  FormlyNzFormFieldModule,
78
78
  NzSliderModule, i3.FormlyModule] }); }
79
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
79
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
80
80
  ReactiveFormsModule,
81
81
  FormlyNzFormFieldModule,
82
82
  NzSliderModule,
@@ -90,7 +90,7 @@ class FormlyNzSliderModule {
90
90
  ]
91
91
  })] }); }
92
92
  }
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
94
94
  type: NgModule,
95
95
  args: [{
96
96
  declarations: [FormlyFieldSlider],
@@ -5,7 +5,7 @@ import { CommonModule } from '@angular/common';
5
5
  import * as i4 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
7
  import * as i1 from 'ngx-formly-zorro-antd/common';
8
- import { resolveTplName, FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
8
+ import { resolveTplName } from 'ngx-formly-zorro-antd/common';
9
9
  import * as i3 from 'ng-zorro-antd/space';
10
10
  import { NzSpaceModule } from 'ng-zorro-antd/space';
11
11
 
@@ -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: "16.2.9", ngImport: i0, type: FormlyFieldSpace, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
28
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldSpace, selector: "formly-field-space", usesInheritance: true, ngImport: i0, template: `
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldSpace, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
28
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldSpace, selector: "formly-field-space", usesInheritance: true, ngImport: i0, template: `
29
29
  <nz-space
30
30
  [nzSize]="props.size!"
31
31
  [nzAlign]="props.align"
@@ -40,7 +40,7 @@ class FormlyFieldSpace extends FieldType {
40
40
  </nz-space>
41
41
  `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.NzSpaceComponent, selector: "nz-space, [nz-space]", inputs: ["nzDirection", "nzAlign", "nzSplit", "nzWrap", "nzSize"], exportAs: ["NzSpace"] }, { kind: "directive", type: i3.NzSpaceItemDirective, selector: "[nzSpaceItem]" }, { kind: "component", type: i4.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldSpace, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldSpace, decorators: [{
44
44
  type: Component,
45
45
  args: [{
46
46
  selector: 'formly-field-space',
@@ -60,17 +60,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
60
60
  `,
61
61
  changeDetection: ChangeDetectionStrategy.OnPush
62
62
  }]
63
- }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
63
+ }], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
64
64
  type: Optional
65
- }] }]; } });
65
+ }] }] });
66
66
 
67
67
  class FormlyNzSpaceModule {
68
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSpaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
69
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSpaceModule, declarations: [FormlyFieldSpace], imports: [CommonModule,
70
- FormlyCommonModule,
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSpaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
69
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSpaceModule, declarations: [FormlyFieldSpace], imports: [CommonModule,
71
70
  NzSpaceModule, i4.FormlyModule] }); }
72
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSpaceModule, imports: [CommonModule,
73
- FormlyCommonModule,
71
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSpaceModule, imports: [CommonModule,
74
72
  NzSpaceModule,
75
73
  FormlyModule.forChild({
76
74
  types: [
@@ -81,13 +79,12 @@ class FormlyNzSpaceModule {
81
79
  ]
82
80
  })] }); }
83
81
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSpaceModule, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSpaceModule, decorators: [{
85
83
  type: NgModule,
86
84
  args: [{
87
85
  declarations: [FormlyFieldSpace],
88
86
  imports: [
89
87
  CommonModule,
90
- FormlyCommonModule,
91
88
  NzSpaceModule,
92
89
  FormlyModule.forChild({
93
90
  types: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-space.mjs","sources":["../../../../packages/formlyantd/space/src/space.type.ts","../../../../packages/formlyantd/space/src/space.module.ts","../../../../packages/formlyantd/space/src/ngx-formly-zorro-antd-space.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type, TemplateRef, Optional } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { NzSpaceDirection, NzSpaceSize, NzSpaceAlign } from 'ng-zorro-antd/space';\n\ninterface SpaceProps extends FormlyFieldProps {\n type?: 'space';\n\n /**\n * 间距大小\n */\n size?: NzSpaceSize;\n /**\n * 间距方向\n */\n direction?: NzSpaceDirection;\n /**\n * 对齐方式\n */\n align?: NzSpaceAlign;\n /**\n * 是否自动换行,仅在 horizontal 时有效\n */\n wrap?: boolean;\n /**\n * 设置分隔符\n */\n split?: TemplateRef<{\n $implicit: number;\n }> | null;\n splitName?: string;\n}\n\nexport interface FormlySpaceFieldConfig extends NzFormlyFieldConfig<SpaceProps> {\n type: 'space' | Type<FormlyFieldSpace>;\n}\n\n@Component({\n selector: 'formly-field-space',\n template: `\n <nz-space\n [nzSize]=\"props.size!\"\n [nzAlign]=\"props.align\"\n [nzDirection]=\"props.direction!\"\n [nzSplit]=\"nzSplit ?? null\"\n [nzWrap]=\"props.wrap\"\n [formlyAttributes]=\"field\"\n >\n <ng-container *ngFor=\"let item of field.fieldGroup\">\n <formly-field *nzSpaceItem [field]=\"item\"></formly-field>\n </ng-container>\n </nz-space>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldSpace extends FieldType<FieldTypeConfig<SpaceProps>> {\n override defaultOptions = {\n props: {\n size: 'small' as const,\n direction: 'horizontal' as const,\n wrap: false\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n get nzSplit() {\n return resolveTplName(this.props, this.fieldTemplates, 'split');\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';\nimport { FormlyFieldSpace } from './space.type';\n\nimport { NzSpaceModule } from 'ng-zorro-antd/space';\n\n@NgModule({\n declarations: [FormlyFieldSpace],\n imports: [\n CommonModule,\n FormlyCommonModule,\n NzSpaceModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'space',\n component: FormlyFieldSpace\n }\n ]\n })\n ]\n})\nexport class FormlyNzSpaceModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAyDM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;AAQ1E,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAPxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,OAAgB;AACtB,gBAAA,SAAS,EAAE,YAAqB;AAChC,gBAAA,IAAI,EAAE,KAAK;AACZ,aAAA;SACF,CAAC;KAGD;AACD,IAAA,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kBAhB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,kBAAkB;wBAClB,aAAa;wBACb,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;AAC5B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-space.mjs","sources":["../../../../packages/formlyantd/space/src/space.type.ts","../../../../packages/formlyantd/space/src/space.module.ts","../../../../packages/formlyantd/space/src/ngx-formly-zorro-antd-space.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type, TemplateRef, Optional } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { NzSpaceDirection, NzSpaceSize, NzSpaceAlign } from 'ng-zorro-antd/space';\n\ninterface SpaceProps extends FormlyFieldProps {\n type?: 'space';\n\n /**\n * 间距大小\n */\n size?: NzSpaceSize;\n /**\n * 间距方向\n */\n direction?: NzSpaceDirection;\n /**\n * 对齐方式\n */\n align?: NzSpaceAlign;\n /**\n * 是否自动换行,仅在 horizontal 时有效\n */\n wrap?: boolean;\n /**\n * 设置分隔符\n */\n split?: TemplateRef<{\n $implicit: number;\n }> | null;\n splitName?: string;\n}\n\nexport interface FormlySpaceFieldConfig extends NzFormlyFieldConfig<SpaceProps> {\n type: 'space' | Type<FormlyFieldSpace>;\n}\n\n@Component({\n selector: 'formly-field-space',\n template: `\n <nz-space\n [nzSize]=\"props.size!\"\n [nzAlign]=\"props.align\"\n [nzDirection]=\"props.direction!\"\n [nzSplit]=\"nzSplit ?? null\"\n [nzWrap]=\"props.wrap\"\n [formlyAttributes]=\"field\"\n >\n <ng-container *ngFor=\"let item of field.fieldGroup\">\n <formly-field *nzSpaceItem [field]=\"item\"></formly-field>\n </ng-container>\n </nz-space>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldSpace extends FieldType<FieldTypeConfig<SpaceProps>> {\n override defaultOptions = {\n props: {\n size: 'small' as const,\n direction: 'horizontal' as const,\n wrap: false\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n get nzSplit() {\n return resolveTplName(this.props, this.fieldTemplates, 'split');\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyFieldSpace } from './space.type';\n\nimport { NzSpaceModule } from 'ng-zorro-antd/space';\n\n@NgModule({\n declarations: [FormlyFieldSpace],\n imports: [\n CommonModule,\n NzSpaceModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'space',\n component: FormlyFieldSpace\n }\n ]\n })\n ]\n})\nexport class FormlyNzSpaceModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAyDM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;AAQ1E,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAPxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,OAAgB;AACtB,gBAAA,SAAS,EAAE,YAAqB;AAChC,gBAAA,IAAI,EAAE,KAAK;AACZ,aAAA;SACF,CAAC;KAGD;AACD,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,O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,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBACb,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;AAC5B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
@@ -20,8 +20,8 @@ class FormlyFieldSwitch 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: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
25
25
  <nz-switch
26
26
  [formControl]="formControl"
27
27
  [formlyAttributes]="field"
@@ -35,7 +35,7 @@ class FormlyFieldSwitch extends FieldType {
35
35
  ></nz-switch>
36
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"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
39
39
  type: Component,
40
40
  args: [{
41
41
  selector: 'formly-field-switch',
@@ -57,12 +57,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
57
57
  }] });
58
58
 
59
59
  class FormlyNzSwitchModule {
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
61
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
61
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
62
62
  ReactiveFormsModule,
63
63
  FormlyNzFormFieldModule,
64
64
  NzSwitchModule, i3.FormlyModule] }); }
65
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSwitchModule, imports: [CommonModule,
65
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSwitchModule, imports: [CommonModule,
66
66
  ReactiveFormsModule,
67
67
  FormlyNzFormFieldModule,
68
68
  NzSwitchModule,
@@ -76,7 +76,7 @@ class FormlyNzSwitchModule {
76
76
  ]
77
77
  })] }); }
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
80
80
  type: NgModule,
81
81
  args: [{
82
82
  declarations: [FormlyFieldSwitch],
@@ -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: "16.2.9", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyWrapperTabs, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyWrapperTabs, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
33
33
  [(nzSelectedIndex)]="props['selectedIndex']"
34
34
  [nzAnimated]="props['animated']!"
35
35
  [nzSize]="props['size']!"
@@ -69,7 +69,7 @@ class FormlyWrapperTabs extends FieldWrapper {
69
69
  </nz-tab>
70
70
  </nz-tabset>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i2.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
71
71
  }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
73
73
  type: Component,
74
74
  args: [{
75
75
  selector: 'formly-wrapper-tabs',
@@ -117,10 +117,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
117
117
  }] });
118
118
 
119
119
  class FormlyNzTabsModule {
120
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
121
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
120
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
121
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
122
122
  NzTabsModule, i3.FormlyModule] }); }
123
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTabsModule, imports: [CommonModule,
123
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTabsModule, imports: [CommonModule,
124
124
  NzTabsModule,
125
125
  FormlyModule.forChild({
126
126
  wrappers: [
@@ -131,7 +131,7 @@ class FormlyNzTabsModule {
131
131
  ]
132
132
  })] }); }
133
133
  }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
135
135
  type: NgModule,
136
136
  args: [{
137
137
  declarations: [FormlyWrapperTabs],
@@ -23,8 +23,8 @@ class FormlyFieldTextarea extends FieldType {
23
23
  }
24
24
  };
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
28
28
  <ng-container [ngSwitch]="props.type">
29
29
  <ng-container *ngSwitchCase="'count'">
30
30
  <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
@@ -81,7 +81,7 @@ class FormlyFieldTextarea extends FieldType {
81
81
  </ng-template>
82
82
  `, 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.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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: "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]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
83
83
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
85
85
  type: Component,
86
86
  args: [{
87
87
  selector: 'formly-field-textarea',
@@ -146,13 +146,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
146
146
  }] });
147
147
 
148
148
  class FormlyNzTextareaModule {
149
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
150
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
149
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
150
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
151
151
  ReactiveFormsModule,
152
152
  FormlyNzFormFieldModule,
153
153
  NzInputModule,
154
154
  NzIconModule, i5.FormlyModule] }); }
155
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
155
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
156
156
  ReactiveFormsModule,
157
157
  FormlyNzFormFieldModule,
158
158
  NzInputModule,
@@ -167,7 +167,7 @@ class FormlyNzTextareaModule {
167
167
  ]
168
168
  })] }); }
169
169
  }
170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
171
171
  type: NgModule,
172
172
  args: [{
173
173
  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: "16.2.9", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldTimepicker, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldTimepicker, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
32
32
  #time
33
33
  [formControl]="formControl"
34
34
  [formlyAttributes]="field"
@@ -60,7 +60,7 @@ class FormlyFieldTimepicker extends FieldType {
60
60
  (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
61
61
  ></nz-time-picker>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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.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"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
64
64
  type: Component,
65
65
  args: [{
66
66
  selector: 'formly-field-timepicker',
@@ -100,12 +100,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
100
100
  }] });
101
101
 
102
102
  class FormlyNzTimepickerModule {
103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
104
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
103
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
104
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
105
105
  ReactiveFormsModule,
106
106
  FormlyNzFormFieldModule,
107
107
  NzTimePickerModule, i4.FormlyModule] }); }
108
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
108
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
109
109
  ReactiveFormsModule,
110
110
  FormlyNzFormFieldModule,
111
111
  NzTimePickerModule,
@@ -119,7 +119,7 @@ class FormlyNzTimepickerModule {
119
119
  ]
120
120
  })] }); }
121
121
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
123
123
  type: NgModule,
124
124
  args: [{
125
125
  declarations: [FormlyFieldTimepicker],
@@ -53,8 +53,8 @@ class TransferComponent extends NzTransferComponent {
53
53
  searchChange(value) {
54
54
  this.nzSearchChange.emit(value);
55
55
  }
56
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TransferComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
57
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TransferComponent, selector: "formly-transfer", inputs: { resultMap: "resultMap" }, providers: [
56
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: TransferComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
57
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: TransferComponent, selector: "formly-transfer", inputs: { resultMap: "resultMap" }, providers: [
58
58
  {
59
59
  provide: NG_VALUE_ACCESSOR,
60
60
  useExisting: TransferComponent,
@@ -86,7 +86,7 @@ class TransferComponent extends NzTransferComponent {
86
86
  ></nz-transfer>
87
87
  `, 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"], outputs: ["nzChange", "nzSearchChange", "nzSelectChange"], exportAs: ["nzTransfer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
88
88
  }
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TransferComponent, decorators: [{
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: TransferComponent, decorators: [{
90
90
  type: Component,
91
91
  args: [{
92
92
  selector: 'formly-transfer',
@@ -151,8 +151,8 @@ class FormlyFieldTransfer extends FieldType {
151
151
  this.transfer.nzCanMove = canMove;
152
152
  }
153
153
  }
154
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldTransfer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
155
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldTransfer, selector: "formly-field-transfer", viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-transfer
154
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTransfer, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
155
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldTransfer, selector: "formly-field-transfer", viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-transfer
156
156
  #transfer
157
157
  [formControl]="formControl"
158
158
  [formlyAttributes]="field"
@@ -177,7 +177,7 @@ class FormlyFieldTransfer extends FieldType {
177
177
  (nzSelectChange)="props['selectChange'] && props['selectChange'](field, $event)"
178
178
  ></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: "directive", type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: TransferComponent, selector: "formly-transfer", inputs: ["resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
179
179
  }
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldTransfer, decorators: [{
180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTransfer, decorators: [{
181
181
  type: Component,
182
182
  args: [{
183
183
  selector: 'formly-field-transfer',
@@ -213,12 +213,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
213
213
  }] } });
214
214
 
215
215
  class FormlyNzTransferModule {
216
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTransferModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
217
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTransferModule, declarations: [FormlyFieldTransfer, TransferComponent], imports: [CommonModule,
216
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTransferModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
217
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTransferModule, declarations: [FormlyFieldTransfer, TransferComponent], imports: [CommonModule,
218
218
  ReactiveFormsModule,
219
219
  FormlyNzFormFieldModule,
220
220
  NzTransferModule, i2.FormlyModule] }); }
221
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTransferModule, imports: [CommonModule,
221
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTransferModule, imports: [CommonModule,
222
222
  ReactiveFormsModule,
223
223
  FormlyNzFormFieldModule,
224
224
  NzTransferModule,
@@ -232,7 +232,7 @@ class FormlyNzTransferModule {
232
232
  ]
233
233
  })] }); }
234
234
  }
235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTransferModule, decorators: [{
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTransferModule, decorators: [{
236
236
  type: NgModule,
237
237
  args: [{
238
238
  declarations: [FormlyFieldTransfer, TransferComponent],
@@ -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/tree-select';
13
11
  import { NzTreeSelectModule } from 'ng-zorro-antd/tree-select';
12
+ import * as i1 from 'ngx-formly-zorro-antd/common';
13
+ import { resolveTplName } from 'ngx-formly-zorro-antd/common';
14
14
 
15
15
  class FormlyFieldTreeSelect extends FieldType {
16
16
  constructor(fieldTemplates) {
@@ -38,8 +38,8 @@ class FormlyFieldTreeSelect extends FieldType {
38
38
  get nzTreeTemplate() {
39
39
  return resolveTplName(this.props, this.fieldTemplates, 'treeTemplate');
40
40
  }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldTreeSelect, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
42
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: FormlyFieldTreeSelect, selector: "formly-field-treeselect", usesInheritance: true, ngImport: i0, template: ` <nz-tree-select
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTreeSelect, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
42
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: FormlyFieldTreeSelect, selector: "formly-field-treeselect", usesInheritance: true, ngImport: i0, template: ` <nz-tree-select
43
43
  [formControl]="formControl"
44
44
  [formlyAttributes]="field"
45
45
  [nzPlaceHolder]="props.placeholder ?? ''"
@@ -75,7 +75,7 @@ class FormlyFieldTreeSelect extends FieldType {
75
75
  (nzExpandChange)="props['expandChange'] && props['expandChange'](field, $event)"
76
76
  ></nz-tree-select>`, 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.NzTreeSelectComponent, selector: "nz-tree-select", inputs: ["nzId", "nzAllowClear", "nzShowExpand", "nzShowLine", "nzDropdownMatchSelectWidth", "nzCheckable", "nzHideUnMatched", "nzShowIcon", "nzShowSearch", "nzDisabled", "nzAsyncData", "nzMultiple", "nzDefaultExpandAll", "nzCheckStrictly", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzExpandedIcon", "nzNotFoundContent", "nzNodes", "nzOpen", "nzSize", "nzPlaceHolder", "nzDropdownStyle", "nzDropdownClassName", "nzBackdrop", "nzStatus", "nzPlacement", "nzExpandedKeys", "nzDisplayWith", "nzMaxTagCount", "nzMaxTagPlaceholder", "nzTreeTemplate"], outputs: ["nzOpenChange", "nzCleared", "nzRemoved", "nzExpandChange", "nzTreeClick", "nzTreeCheckBoxChange"], exportAs: ["nzTreeSelect"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
77
77
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldTreeSelect, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTreeSelect, decorators: [{
79
79
  type: Component,
80
80
  args: [{
81
81
  selector: 'formly-field-treeselect',
@@ -116,21 +116,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
116
116
  ></nz-tree-select>`,
117
117
  changeDetection: ChangeDetectionStrategy.OnPush
118
118
  }]
119
- }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
119
+ }], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
120
120
  type: Optional
121
- }] }]; } });
121
+ }] }] });
122
122
 
123
123
  class FormlyNzTreeSelectModule {
124
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTreeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTreeSelectModule, declarations: [FormlyFieldTreeSelect], imports: [CommonModule,
124
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTreeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTreeSelectModule, declarations: [FormlyFieldTreeSelect], imports: [CommonModule,
126
126
  ReactiveFormsModule,
127
127
  FormlyNzFormFieldModule,
128
- FormlyCommonModule,
129
128
  NzTreeSelectModule, i5.FormlyModule] }); }
130
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTreeSelectModule, imports: [CommonModule,
129
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTreeSelectModule, imports: [CommonModule,
131
130
  ReactiveFormsModule,
132
131
  FormlyNzFormFieldModule,
133
- FormlyCommonModule,
134
132
  NzTreeSelectModule,
135
133
  FormlyModule.forChild({
136
134
  types: [
@@ -142,7 +140,7 @@ class FormlyNzTreeSelectModule {
142
140
  ]
143
141
  })] }); }
144
142
  }
145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTreeSelectModule, decorators: [{
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNzTreeSelectModule, decorators: [{
146
144
  type: NgModule,
147
145
  args: [{
148
146
  declarations: [FormlyFieldTreeSelect],
@@ -150,7 +148,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
150
148
  CommonModule,
151
149
  ReactiveFormsModule,
152
150
  FormlyNzFormFieldModule,
153
- FormlyCommonModule,
154
151
  NzTreeSelectModule,
155
152
  FormlyModule.forChild({
156
153
  types: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-tree-select.mjs","sources":["../../../../packages/formlyantd/tree-select/src/tree-select.type.ts","../../../../packages/formlyantd/tree-select/src/tree-select.module.ts","../../../../packages/formlyantd/tree-select/src/ngx-formly-zorro-antd-tree-select.ts"],"sourcesContent":["import { Component, Type, Optional, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';\nimport type { NzFormatEmitEvent, NzTreeNode, NzTreeNodeOptions } from 'ng-zorro-antd/tree';\nimport type { NzPlacementType } from 'ng-zorro-antd/tree-select';\nimport type { NgStyleInterface } from 'ng-zorro-antd/core/types';\n\ninterface TreeSelectProps extends FormlyFieldProps {\n /**\n * 显示清除按钮\n * @default false\n */\n allowClear?: boolean;\n\n /**\n * 是否展示 TreeNode title 前的图标,没有默认样式\n * @default false\n */\n showIcon?: boolean;\n\n /**\n * 显示搜索框\n * @default false\n */\n showSearch?: boolean;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string;\n\n /**\n * 下拉菜单和选择器同宽\n * @default true\n */\n dropdownMatchSelectWidth?: boolean;\n\n /**\n * 下拉菜单的样式\n */\n dropdownStyle?: NgStyleInterface | null;\n\n /**\n * 下拉菜单的 className 属性\n */\n dropdownClassName?: string;\n\n /**\n * 选择框弹出的位置\n */\n placement?: NzPlacementType;\n\n /**\n * 支持多选(当设置 nzCheckable 时自动变为true)\n * @default false\n */\n multiple?: boolean;\n\n /**\n * 搜索隐藏未匹配的节点\n * @default false\n */\n hideUnMatched?: boolean;\n\n /**\n * 节点前添加 Checkbox 复选框\n * @default false\n */\n checkable?: boolean;\n\n /**\n * checkable 状态下节点选择完全受控(父子节点选中状态不再关联)\n * @default false\n */\n checkStrictly?: boolean;\n\n /**\n * 节点前添加展开图标\n * @default true\n */\n showExpand?: boolean;\n\n /**\n * 是否展示连接线\n * @default false\n */\n showLine?: boolean;\n\n /**\n * 是否异步加载(显示加载状态)\n * @default false\n */\n asyncData?: boolean;\n\n /**\n * treeNodes 数据\n * @default []\n */\n nodes?: NzTreeNodeOptions[];\n\n /**\n * 默认展开所有树节点\n * @default false\n */\n defaultExpandAll?: boolean;\n\n /**\n * 默认展开指定的树节点\n */\n expandedKeys?: string[];\n\n /**\n * \t如何在输入框显示所选的节点值的方法\n * @default (node: NzTreeNode) => node.title\n */\n displayWith?: (node: NzTreeNode) => string;\n\n /**\n * 最多显示多少个 tag\n *\n */\n maxTagCount?: number;\n\n /**\n * 隐藏 tag 时显示的内容\n */\n maxTagPlaceholder?: TemplateRef<{ $implicit: NzTreeNode[] }>;\n maxTagPlaceholderName?: string;\n\n /**\n * 自定义节点\n */\n treeTemplate?: TemplateRef<{ $implicit: NzTreeNode }>;\n treeTemplateName?: string;\n\n /**\n * 自定义展开图标\n */\n expandedIcon?: TemplateRef<{\n $implicit: NzTreeNode;\n origin: NzTreeNodeOptions;\n }>;\n expandedIconName?: string;\n\n /**\n * 虚拟滚动的总高度\n */\n virtualHeight?: string | null;\n\n /**\n * 虚拟滚动时每一列的高度,与 cdk itemSize 相同\n * @default 28\n */\n virtualItemSize?: number;\n\n /**\n * 缓冲区最大像素高度,与 cdk maxBufferPx 相同\n * @default 500\n */\n virtualMaxBufferPx?: number;\n\n /**\n * 缓冲区最小像素高度,低于该值时将加载新结构,与 cdk minBufferPx 相同\n * @default 28\n */\n virtualMinBufferPx?: number;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击展开树节点图标调用\n */\n expandChange?: FormlyAttributeEvent<NzFormatEmitEvent>;\n}\n\nexport interface FormlyTreeSelectFieldConfig extends NzFormlyFieldConfig<TreeSelectProps> {\n type: 'tree-select' | Type<FormlyFieldTreeSelect>;\n}\n\n@Component({\n selector: 'formly-field-treeselect',\n template: ` <nz-tree-select\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [ngClass]=\"props['className']\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzExpandedIcon]=\"nzExpandedIcon\"\n [nzShowIcon]=\"props['showIcon']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzNotFoundContent]=\"props['notFoundContent']\"\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzMultiple]=\"props['multiple']!!\"\n [nzHideUnMatched]=\"props['hideUnMatched']!!\"\n [nzCheckable]=\"props['checkable']!!\"\n [nzCheckStrictly]=\"props['checkStrictly']!!\"\n [nzShowExpand]=\"props['showExpand']!!\"\n [nzShowLine]=\"props['showLine']!!\"\n [nzAsyncData]=\"props['asyncData']\"\n [nzNodes]=\"props['nodes']!\"\n [nzDefaultExpandAll]=\"props['defaultExpandAll']!!\"\n [nzExpandedKeys]=\"props['expandedKeys']\"\n [nzDisplayWith]=\"props['displayWith']\"\n [nzMaxTagCount]=\"props['maxTagCount']\"\n [nzPlacement]=\"props['placement']\"\n [nzMaxTagPlaceholder]=\"nzMaxTagPlaceholder ?? null\"\n [nzTreeTemplate]=\"nzTreeTemplate!\"\n [nzVirtualHeight]=\"props['virtualHeight'] ?? null\"\n [nzVirtualItemSize]=\"props['virtualItemSize']!\"\n [nzVirtualMaxBufferPx]=\"props['virtualMaxBufferPx']!\"\n [nzVirtualMinBufferPx]=\"props['virtualMinBufferPx']!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n (nzExpandChange)=\"props['expandChange'] && props['expandChange'](field, $event)\"\n ></nz-tree-select>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldTreeSelect extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n dropdownMatchSelectWidth: true,\n showExpand: true,\n nodes: [],\n displayWith: (node: NzTreeNode) => node.title,\n placement: 'bottomLeft',\n virtualItemSize: 28,\n virtualMaxBufferPx: 500,\n virtualMinBufferPx: 28\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzExpandedIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandedIcon');\n }\n\n get nzMaxTagPlaceholder() {\n return resolveTplName(this.props, this.fieldTemplates, 'maxTagPlaceholder');\n }\n get nzTreeTemplate() {\n return resolveTplName(this.props, this.fieldTemplates, 'treeTemplate');\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 { NzTreeSelectModule } from 'ng-zorro-antd/tree-select';\nimport { FormlyFieldTreeSelect } from './tree-select.type';\n\n@NgModule({\n declarations: [FormlyFieldTreeSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n FormlyCommonModule,\n NzTreeSelectModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'tree-select',\n component: FormlyFieldTreeSelect,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzTreeSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAgOM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AAcnE,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAbxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,wBAAwB,EAAE,IAAI;AAC9B,gBAAA,UAAU,EAAE,I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,CAAA;kBApBpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,kBAAkB;wBAClB,kBAAkB;wBAElB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,aAAa;AACnB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,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-tree-select.mjs","sources":["../../../../packages/formlyantd/tree-select/src/tree-select.type.ts","../../../../packages/formlyantd/tree-select/src/tree-select.module.ts","../../../../packages/formlyantd/tree-select/src/ngx-formly-zorro-antd-tree-select.ts"],"sourcesContent":["import { Component, Type, Optional, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';\nimport type { NzFormatEmitEvent, NzTreeNode, NzTreeNodeOptions } from 'ng-zorro-antd/tree';\nimport type { NzPlacementType } from 'ng-zorro-antd/tree-select';\nimport type { NgStyleInterface } from 'ng-zorro-antd/core/types';\n\ninterface TreeSelectProps extends FormlyFieldProps {\n /**\n * 显示清除按钮\n * @default false\n */\n allowClear?: boolean;\n\n /**\n * 是否展示 TreeNode title 前的图标,没有默认样式\n * @default false\n */\n showIcon?: boolean;\n\n /**\n * 显示搜索框\n * @default false\n */\n showSearch?: boolean;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string;\n\n /**\n * 下拉菜单和选择器同宽\n * @default true\n */\n dropdownMatchSelectWidth?: boolean;\n\n /**\n * 下拉菜单的样式\n */\n dropdownStyle?: NgStyleInterface | null;\n\n /**\n * 下拉菜单的 className 属性\n */\n dropdownClassName?: string;\n\n /**\n * 选择框弹出的位置\n */\n placement?: NzPlacementType;\n\n /**\n * 支持多选(当设置 nzCheckable 时自动变为true)\n * @default false\n */\n multiple?: boolean;\n\n /**\n * 搜索隐藏未匹配的节点\n * @default false\n */\n hideUnMatched?: boolean;\n\n /**\n * 节点前添加 Checkbox 复选框\n * @default false\n */\n checkable?: boolean;\n\n /**\n * checkable 状态下节点选择完全受控(父子节点选中状态不再关联)\n * @default false\n */\n checkStrictly?: boolean;\n\n /**\n * 节点前添加展开图标\n * @default true\n */\n showExpand?: boolean;\n\n /**\n * 是否展示连接线\n * @default false\n */\n showLine?: boolean;\n\n /**\n * 是否异步加载(显示加载状态)\n * @default false\n */\n asyncData?: boolean;\n\n /**\n * treeNodes 数据\n * @default []\n */\n nodes?: NzTreeNodeOptions[];\n\n /**\n * 默认展开所有树节点\n * @default false\n */\n defaultExpandAll?: boolean;\n\n /**\n * 默认展开指定的树节点\n */\n expandedKeys?: string[];\n\n /**\n * \t如何在输入框显示所选的节点值的方法\n * @default (node: NzTreeNode) => node.title\n */\n displayWith?: (node: NzTreeNode) => string;\n\n /**\n * 最多显示多少个 tag\n *\n */\n maxTagCount?: number;\n\n /**\n * 隐藏 tag 时显示的内容\n */\n maxTagPlaceholder?: TemplateRef<{ $implicit: NzTreeNode[] }>;\n maxTagPlaceholderName?: string;\n\n /**\n * 自定义节点\n */\n treeTemplate?: TemplateRef<{ $implicit: NzTreeNode }>;\n treeTemplateName?: string;\n\n /**\n * 自定义展开图标\n */\n expandedIcon?: TemplateRef<{\n $implicit: NzTreeNode;\n origin: NzTreeNodeOptions;\n }>;\n expandedIconName?: string;\n\n /**\n * 虚拟滚动的总高度\n */\n virtualHeight?: string | null;\n\n /**\n * 虚拟滚动时每一列的高度,与 cdk itemSize 相同\n * @default 28\n */\n virtualItemSize?: number;\n\n /**\n * 缓冲区最大像素高度,与 cdk maxBufferPx 相同\n * @default 500\n */\n virtualMaxBufferPx?: number;\n\n /**\n * 缓冲区最小像素高度,低于该值时将加载新结构,与 cdk minBufferPx 相同\n * @default 28\n */\n virtualMinBufferPx?: number;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击展开树节点图标调用\n */\n expandChange?: FormlyAttributeEvent<NzFormatEmitEvent>;\n}\n\nexport interface FormlyTreeSelectFieldConfig extends NzFormlyFieldConfig<TreeSelectProps> {\n type: 'tree-select' | Type<FormlyFieldTreeSelect>;\n}\n\n@Component({\n selector: 'formly-field-treeselect',\n template: ` <nz-tree-select\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [ngClass]=\"props['className']\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzExpandedIcon]=\"nzExpandedIcon\"\n [nzShowIcon]=\"props['showIcon']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzNotFoundContent]=\"props['notFoundContent']\"\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzMultiple]=\"props['multiple']!!\"\n [nzHideUnMatched]=\"props['hideUnMatched']!!\"\n [nzCheckable]=\"props['checkable']!!\"\n [nzCheckStrictly]=\"props['checkStrictly']!!\"\n [nzShowExpand]=\"props['showExpand']!!\"\n [nzShowLine]=\"props['showLine']!!\"\n [nzAsyncData]=\"props['asyncData']\"\n [nzNodes]=\"props['nodes']!\"\n [nzDefaultExpandAll]=\"props['defaultExpandAll']!!\"\n [nzExpandedKeys]=\"props['expandedKeys']\"\n [nzDisplayWith]=\"props['displayWith']\"\n [nzMaxTagCount]=\"props['maxTagCount']\"\n [nzPlacement]=\"props['placement']\"\n [nzMaxTagPlaceholder]=\"nzMaxTagPlaceholder ?? null\"\n [nzTreeTemplate]=\"nzTreeTemplate!\"\n [nzVirtualHeight]=\"props['virtualHeight'] ?? null\"\n [nzVirtualItemSize]=\"props['virtualItemSize']!\"\n [nzVirtualMaxBufferPx]=\"props['virtualMaxBufferPx']!\"\n [nzVirtualMinBufferPx]=\"props['virtualMinBufferPx']!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n (nzExpandChange)=\"props['expandChange'] && props['expandChange'](field, $event)\"\n ></nz-tree-select>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldTreeSelect extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n dropdownMatchSelectWidth: true,\n showExpand: true,\n nodes: [],\n displayWith: (node: NzTreeNode) => node.title,\n placement: 'bottomLeft',\n virtualItemSize: 28,\n virtualMaxBufferPx: 500,\n virtualMinBufferPx: 28\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzExpandedIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandedIcon');\n }\n\n get nzMaxTagPlaceholder() {\n return resolveTplName(this.props, this.fieldTemplates, 'maxTagPlaceholder');\n }\n get nzTreeTemplate() {\n return resolveTplName(this.props, this.fieldTemplates, 'treeTemplate');\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 { NzTreeSelectModule } from 'ng-zorro-antd/tree-select';\nimport { FormlyFieldTreeSelect } from './tree-select.type';\n\n@NgModule({\n declarations: [FormlyFieldTreeSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzTreeSelectModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'tree-select',\n component: FormlyFieldTreeSelect,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzTreeSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAgOM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AAcnE,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAbxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,wBAAwB,EAAE,IAAI;AAC9B,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,CAAC,IAAgB,KAAK,IAAI,CAAC,KAAK;AAC7C,gBAAA,SAAS,EAAE,YAAY;AACvB,gBAAA,eAAe,EAAE,EAAE;AACnB,gBAAA,kBAAkB,EAAE,GAAG;AACvB,gBAAA,kBAAkB,EAAE,EAAE;AACvB,aAAA;SACF,CAAC;KAID;AAED,IAAA,IAAI,cAAc,GAAA;AAChB,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;KACxE;AAED,IAAA,IAAI,mBAAmB,GAAA;AACrB,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,mBAAmB,CAAC,CAAC;KAC7E;AACD,IAAA,IAAI,cAAc,GAAA;AAChB,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;KACxE;8GA3BU,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAA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