ngx-formly-zorro-antd 13.0.0 → 14.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. package/autocomplete/{ngx-formly-zorro-antd-autocomplete.d.ts → index.d.ts} +0 -0
  2. package/button/button.type.d.ts +1 -1
  3. package/button/{ngx-formly-zorro-antd-button.d.ts → index.d.ts} +0 -0
  4. package/card/card.wrapper.d.ts +1 -1
  5. package/card/{ngx-formly-zorro-antd-card.d.ts → index.d.ts} +0 -0
  6. package/cascader/cascader.type.d.ts +1 -1
  7. package/cascader/{ngx-formly-zorro-antd-cascader.d.ts → index.d.ts} +0 -0
  8. package/checkbox/checkbox.type.d.ts +1 -1
  9. package/checkbox/{ngx-formly-zorro-antd-checkbox.d.ts → index.d.ts} +0 -0
  10. package/datepicker/datepicker.type.d.ts +1 -1
  11. package/datepicker/{ngx-formly-zorro-antd-datepicker.d.ts → index.d.ts} +0 -0
  12. package/esm2020/button/button.module.mjs +23 -25
  13. package/esm2020/button/button.type.mjs +9 -9
  14. package/esm2020/card/card.module.mjs +15 -17
  15. package/esm2020/card/card.wrapper.mjs +5 -5
  16. package/esm2020/cascader/cascader.module.mjs +17 -19
  17. package/esm2020/cascader/cascader.type.mjs +8 -8
  18. package/esm2020/checkbox/checkbox.module.mjs +21 -23
  19. package/esm2020/checkbox/checkbox.type.mjs +8 -8
  20. package/esm2020/datepicker/datepicker.module.mjs +17 -19
  21. package/esm2020/datepicker/datepicker.type.mjs +8 -8
  22. package/esm2020/form-field/form-field.module.mjs +15 -17
  23. package/esm2020/form-field/form-field.wrapper.mjs +9 -9
  24. package/esm2020/grid/grid.module.mjs +14 -16
  25. package/esm2020/grid/grid.type.mjs +7 -7
  26. package/esm2020/input/input.module.mjs +31 -33
  27. package/esm2020/input/input.type.mjs +81 -35
  28. package/esm2020/input-group/input-group.module.mjs +16 -18
  29. package/esm2020/input-group/input-group.type.mjs +8 -8
  30. package/esm2020/input-number/input-number.module.mjs +21 -23
  31. package/esm2020/input-number/input-number.type.mjs +8 -8
  32. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +25 -27
  33. package/esm2020/radio/radio.module.mjs +19 -21
  34. package/esm2020/radio/radio.type.mjs +8 -8
  35. package/esm2020/rate/rate.module.mjs +17 -19
  36. package/esm2020/rate/rate.type.mjs +7 -7
  37. package/esm2020/select/select.module.mjs +19 -21
  38. package/esm2020/select/select.type.mjs +8 -8
  39. package/esm2020/slider/slider.module.mjs +17 -19
  40. package/esm2020/slider/slider.type.mjs +7 -7
  41. package/esm2020/switch/switch.module.mjs +17 -19
  42. package/esm2020/switch/switch.type.mjs +7 -7
  43. package/esm2020/tabs/tabs.module.mjs +14 -16
  44. package/esm2020/tabs/tabs.wrapper.mjs +8 -8
  45. package/esm2020/textarea/textarea.module.mjs +17 -19
  46. package/esm2020/textarea/textarea.type.mjs +8 -8
  47. package/esm2020/timepicker/timepicker.module.mjs +17 -19
  48. package/esm2020/timepicker/timepicker.type.mjs +8 -8
  49. package/esm2020/transfer/transfer.component.mjs +5 -5
  50. package/esm2020/transfer/transfer.module.mjs +17 -19
  51. package/esm2020/transfer/transfer.type.mjs +8 -8
  52. package/esm2020/tree-select/tree-select.module.mjs +17 -19
  53. package/esm2020/tree-select/tree-select.type.mjs +8 -8
  54. package/esm2020/upload/upload.component.mjs +10 -10
  55. package/esm2020/upload/upload.module.mjs +19 -21
  56. package/esm2020/upload/upload.type.mjs +8 -8
  57. package/fesm2015/ngx-formly-zorro-antd-button.mjs +31 -33
  58. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
  59. package/fesm2015/ngx-formly-zorro-antd-card.mjs +18 -20
  60. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
  61. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +24 -26
  62. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  63. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +27 -29
  64. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  65. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +23 -25
  66. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  67. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +23 -25
  68. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  69. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +20 -22
  70. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  71. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +23 -25
  72. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  73. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +27 -29
  74. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  75. package/fesm2015/ngx-formly-zorro-antd-input.mjs +111 -67
  76. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
  77. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +26 -28
  78. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  79. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +22 -24
  80. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  81. package/fesm2015/ngx-formly-zorro-antd-select.mjs +26 -28
  82. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
  83. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +22 -24
  84. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  85. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +22 -24
  86. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  87. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +21 -23
  88. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  89. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +23 -25
  90. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  91. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +24 -26
  92. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  93. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +27 -29
  94. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  95. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +24 -26
  96. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  97. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +34 -36
  98. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  99. package/fesm2015/ngx-formly-zorro-antd.mjs +24 -26
  100. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
  101. package/fesm2020/ngx-formly-zorro-antd-button.mjs +31 -33
  102. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
  103. package/fesm2020/ngx-formly-zorro-antd-card.mjs +18 -20
  104. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
  105. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +24 -26
  106. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  107. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +27 -29
  108. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  109. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +23 -25
  110. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  111. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +23 -25
  112. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  113. package/fesm2020/ngx-formly-zorro-antd-grid.mjs +20 -22
  114. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  115. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +23 -25
  116. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  117. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +27 -29
  118. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  119. package/fesm2020/ngx-formly-zorro-antd-input.mjs +111 -67
  120. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
  121. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +26 -28
  122. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  123. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +22 -24
  124. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  125. package/fesm2020/ngx-formly-zorro-antd-select.mjs +26 -28
  126. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
  127. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +22 -24
  128. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  129. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +22 -24
  130. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  131. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +21 -23
  132. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  133. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +23 -25
  134. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  135. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +24 -26
  136. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  137. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +27 -29
  138. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  139. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +24 -26
  140. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  141. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +34 -36
  142. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  143. package/fesm2020/ngx-formly-zorro-antd.mjs +24 -26
  144. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
  145. package/form-field/form-field.wrapper.d.ts +1 -1
  146. package/form-field/{ngx-formly-zorro-antd-form-field.d.ts → index.d.ts} +0 -0
  147. package/grid/grid.type.d.ts +1 -1
  148. package/grid/{ngx-formly-zorro-antd-grid.d.ts → index.d.ts} +0 -0
  149. package/input/{ngx-formly-zorro-antd-input.d.ts → index.d.ts} +0 -0
  150. package/input/input.type.d.ts +1 -1
  151. package/input-group/{ngx-formly-zorro-antd-input-group.d.ts → index.d.ts} +0 -0
  152. package/input-group/input-group.type.d.ts +1 -1
  153. package/input-number/{ngx-formly-zorro-antd-input-number.d.ts → index.d.ts} +0 -0
  154. package/input-number/input-number.type.d.ts +1 -1
  155. package/package.json +30 -30
  156. package/radio/{ngx-formly-zorro-antd-radio.d.ts → index.d.ts} +0 -0
  157. package/radio/radio.type.d.ts +1 -1
  158. package/rate/{ngx-formly-zorro-antd-rate.d.ts → index.d.ts} +0 -0
  159. package/rate/rate.type.d.ts +1 -1
  160. package/select/{ngx-formly-zorro-antd-select.d.ts → index.d.ts} +0 -0
  161. package/select/select.type.d.ts +1 -1
  162. package/slider/{ngx-formly-zorro-antd-slider.d.ts → index.d.ts} +0 -0
  163. package/slider/slider.type.d.ts +1 -1
  164. package/switch/{ngx-formly-zorro-antd-switch.d.ts → index.d.ts} +0 -0
  165. package/switch/switch.type.d.ts +1 -1
  166. package/tabs/{ngx-formly-zorro-antd-tabs.d.ts → index.d.ts} +0 -0
  167. package/tabs/tabs.wrapper.d.ts +1 -1
  168. package/textarea/{ngx-formly-zorro-antd-textarea.d.ts → index.d.ts} +0 -0
  169. package/textarea/textarea.type.d.ts +1 -1
  170. package/timepicker/{ngx-formly-zorro-antd-timepicker.d.ts → index.d.ts} +0 -0
  171. package/timepicker/timepicker.type.d.ts +1 -1
  172. package/transfer/{ngx-formly-zorro-antd-transfer.d.ts → index.d.ts} +0 -0
  173. package/transfer/transfer.component.d.ts +1 -1
  174. package/transfer/transfer.type.d.ts +1 -1
  175. package/tree-select/{ngx-formly-zorro-antd-tree-select.d.ts → index.d.ts} +0 -0
  176. package/tree-select/tree-select.type.d.ts +1 -1
  177. package/upload/{ngx-formly-zorro-antd-upload.d.ts → index.d.ts} +0 -0
  178. package/upload/upload.component.d.ts +1 -1
  179. package/upload/upload.type.d.ts +1 -1
  180. package/autocomplete/package.json +0 -10
  181. package/button/package.json +0 -10
  182. package/card/package.json +0 -10
  183. package/cascader/package.json +0 -10
  184. package/checkbox/package.json +0 -10
  185. package/datepicker/package.json +0 -10
  186. package/form-field/package.json +0 -10
  187. package/grid/package.json +0 -10
  188. package/input/package.json +0 -10
  189. package/input-group/package.json +0 -10
  190. package/input-number/package.json +0 -10
  191. package/ngx-formly-zorro-antd.d.ts +0 -5
  192. package/radio/package.json +0 -10
  193. package/rate/package.json +0 -10
  194. package/select/package.json +0 -10
  195. package/slider/package.json +0 -10
  196. package/switch/package.json +0 -10
  197. package/tabs/package.json +0 -10
  198. package/textarea/package.json +0 -10
  199. package/timepicker/package.json +0 -10
  200. package/transfer/package.json +0 -10
  201. package/tree-select/package.json +0 -10
  202. package/upload/package.json +0 -10
@@ -1,15 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i4 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2 from '@angular/forms';
6
6
  import { ReactiveFormsModule } from '@angular/forms';
7
- import * as i3 from '@ngx-formly/core';
7
+ import * as i4 from '@ngx-formly/core';
8
8
  import { FieldType, FormlyModule } from '@ngx-formly/core';
9
9
  import * as i5 from '@ngx-formly/core/select';
10
10
  import { FormlySelectModule } from '@ngx-formly/core/select';
11
11
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
12
- import * as i1 from 'ng-zorro-antd/radio';
12
+ import * as i3 from 'ng-zorro-antd/radio';
13
13
  import { NzRadioModule } from 'ng-zorro-antd/radio';
14
14
  import { NzFormModule } from 'ng-zorro-antd/form';
15
15
 
@@ -24,8 +24,8 @@ class FormlyFieldRadio extends FieldType {
24
24
  };
25
25
  }
26
26
  }
27
- FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
28
- FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
27
+ FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
28
+ FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
29
29
  <nz-radio-group
30
30
  [formControl]="formControl"
31
31
  [formlyAttributes]="field"
@@ -58,8 +58,8 @@ FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
58
58
  </label>
59
59
  </ng-template>
60
60
  </nz-radio-group>
61
- `, isInline: true, components: [{ type: i1.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { type: i1.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NzRadioButtonDirective, selector: "[nz-radio-button]" }], pipes: { "async": i4.AsyncPipe, "formlySelectOptions": i5.FormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldRadio, decorators: [{
61
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }, { kind: "directive", type: i3.NzRadioButtonDirective, selector: "[nz-radio-button]" }, { kind: "component", type: i3.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, decorators: [{
63
63
  type: Component,
64
64
  args: [{
65
65
  selector: 'formly-field-radio',
@@ -103,31 +103,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
103
103
 
104
104
  class FormlyNzRadioModule {
105
105
  }
106
- FormlyNzRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
107
- FormlyNzRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
106
+ FormlyNzRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
107
+ FormlyNzRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
108
108
  ReactiveFormsModule,
109
109
  FormlyNzFormFieldModule,
110
110
  FormlySelectModule,
111
111
  NzFormModule,
112
- NzRadioModule, i3.FormlyModule] });
113
- FormlyNzRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzRadioModule, imports: [[
114
- CommonModule,
115
- ReactiveFormsModule,
116
- FormlyNzFormFieldModule,
117
- FormlySelectModule,
118
- NzFormModule,
119
- NzRadioModule,
120
- FormlyModule.forChild({
121
- types: [
122
- {
123
- name: 'radio',
124
- component: FormlyFieldRadio,
125
- wrappers: ['form-field']
126
- }
127
- ]
128
- })
129
- ]] });
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzRadioModule, decorators: [{
112
+ NzRadioModule, i4.FormlyModule] });
113
+ FormlyNzRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, imports: [CommonModule,
114
+ ReactiveFormsModule,
115
+ FormlyNzFormFieldModule,
116
+ FormlySelectModule,
117
+ NzFormModule,
118
+ NzRadioModule,
119
+ FormlyModule.forChild({
120
+ types: [
121
+ {
122
+ name: 'radio',
123
+ component: FormlyFieldRadio,
124
+ wrappers: ['form-field']
125
+ }
126
+ ]
127
+ })] });
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, decorators: [{
131
129
  type: NgModule,
132
130
  args: [{
133
131
  declarations: [FormlyFieldRadio],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-radio.mjs","sources":["../../../../packages/formlyantd/radio/src/radio.type.ts","../../../../packages/formlyantd/radio/src/radio.module.ts","../../../../packages/formlyantd/radio/src/ngx-formly-zorro-antd-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { FormlyFieldSelectProps } from '@ngx-formly/core/select';\r\nimport type { NzSizeLDSType } from 'ng-zorro-antd/core/types';\r\nimport type { NzRadioButtonStyle } from 'ng-zorro-antd/radio';\r\n\r\ninterface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {\r\n type?: 'button';\r\n\r\n /**\r\n * nz-radio-group 下所有 input[type=\"radio\"] 的 name 属性\r\n */\r\n name?: string | null;\r\n /**\r\n * 大小,只对按钮样式生效\r\n * @default default\r\n */\r\n size?: NzSizeLDSType;\r\n /**\r\n * RadioButton 的风格样式,目前有描边和填色两种风格\r\n * @default outline\r\n */\r\n buttonStyle?: NzRadioButtonStyle;\r\n}\r\n\r\nexport interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {\r\n type: 'radio' | Type<FormlyFieldRadio>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-radio',\r\n template: `\r\n <nz-radio-group\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzName]=\"field.name ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzButtonStyle]=\"props['buttonStyle']!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n >\r\n <ng-container *ngIf=\"props.type !== 'button'; else button\">\r\n <label\r\n *ngFor=\"let option of props.options | formlySelectOptions: field | async; let i = index\"\r\n [id]=\"id + '_' + i\"\r\n [nzDisabled]=\"option.disabled === true\"\r\n [nzValue]=\"option.value\"\r\n nz-radio\r\n >\r\n {{ option.label }}\r\n </label>\r\n </ng-container>\r\n\r\n <ng-template #button>\r\n <label\r\n *ngFor=\"let option of props.options | formlySelectOptions: field | async; let i = index\"\r\n [id]=\"id + '_' + i\"\r\n [nzDisabled]=\"option.disabled === true\"\r\n [nzValue]=\"option.value\"\r\n nz-radio-button\r\n >\r\n {{ option.label }}\r\n </label>\r\n </ng-template>\r\n </nz-radio-group>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {\r\n override defaultOptions = {\r\n props: {\r\n size: 'default' as const,\r\n buttonStyle: 'outline' as const\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlySelectModule } from '@ngx-formly/core/select';\r\n\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\nimport { FormlyFieldRadio } from './radio.type';\r\n\r\nimport { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldRadio],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n FormlySelectModule,\r\n NzFormModule,\r\n\r\n NzRadioModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'radio',\r\n component: FormlyFieldRadio,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzRadioModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;AAqEM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;AAtC5E,IAAA,WAAA,GAAA;;AAuCW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,WAAW,EAAE,SAAkB;AAChC,aAAA;SACF,CAAC;AACH,KAAA;;8GAPY,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EApCjB,QAAA,EAAA,oBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,eAAA,EAAA,QAAA,EAAA,QAAA,CAAA,EAAA,QAAA,EAAA,CAAA,cAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EA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;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AChCD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-radio.mjs","sources":["../../../../packages/formlyantd/radio/src/radio.type.ts","../../../../packages/formlyantd/radio/src/radio.module.ts","../../../../packages/formlyantd/radio/src/ngx-formly-zorro-antd-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { FormlyFieldSelectProps } from '@ngx-formly/core/select';\r\nimport type { NzSizeLDSType } from 'ng-zorro-antd/core/types';\r\nimport type { NzRadioButtonStyle } from 'ng-zorro-antd/radio';\r\n\r\ninterface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {\r\n type?: 'button';\r\n\r\n /**\r\n * nz-radio-group 下所有 input[type=\"radio\"] 的 name 属性\r\n */\r\n name?: string | null;\r\n /**\r\n * 大小,只对按钮样式生效\r\n * @default default\r\n */\r\n size?: NzSizeLDSType;\r\n /**\r\n * RadioButton 的风格样式,目前有描边和填色两种风格\r\n * @default outline\r\n */\r\n buttonStyle?: NzRadioButtonStyle;\r\n}\r\n\r\nexport interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {\r\n type: 'radio' | Type<FormlyFieldRadio>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-radio',\r\n template: `\r\n <nz-radio-group\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzName]=\"field.name ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzButtonStyle]=\"props['buttonStyle']!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n >\r\n <ng-container *ngIf=\"props.type !== 'button'; else button\">\r\n <label\r\n *ngFor=\"let option of props.options | formlySelectOptions: field | async; let i = index\"\r\n [id]=\"id + '_' + i\"\r\n [nzDisabled]=\"option.disabled === true\"\r\n [nzValue]=\"option.value\"\r\n nz-radio\r\n >\r\n {{ option.label }}\r\n </label>\r\n </ng-container>\r\n\r\n <ng-template #button>\r\n <label\r\n *ngFor=\"let option of props.options | formlySelectOptions: field | async; let i = index\"\r\n [id]=\"id + '_' + i\"\r\n [nzDisabled]=\"option.disabled === true\"\r\n [nzValue]=\"option.value\"\r\n nz-radio-button\r\n >\r\n {{ option.label }}\r\n </label>\r\n </ng-template>\r\n </nz-radio-group>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {\r\n override defaultOptions = {\r\n props: {\r\n size: 'default' as const,\r\n buttonStyle: 'outline' as const\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlySelectModule } from '@ngx-formly/core/select';\r\n\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\nimport { FormlyFieldRadio } from './radio.type';\r\n\r\nimport { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldRadio],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n FormlySelectModule,\r\n NzFormModule,\r\n\r\n NzRadioModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'radio',\r\n component: FormlyFieldRadio,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzRadioModule {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AAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AChCD;;AAEG;;;;"}
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import * as i2 from '@angular/forms';
4
+ import * as i1 from '@angular/forms';
5
5
  import { ReactiveFormsModule } from '@angular/forms';
6
6
  import * as i3 from '@ngx-formly/core';
7
7
  import { FieldType, FormlyModule } from '@ngx-formly/core';
8
8
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
9
- import * as i1 from 'ng-zorro-antd/rate';
9
+ import * as i2 from 'ng-zorro-antd/rate';
10
10
  import { NzRateModule } from 'ng-zorro-antd/rate';
11
11
 
12
12
  class FormlyFieldRate extends FieldType {
@@ -23,8 +23,8 @@ class FormlyFieldRate extends FieldType {
23
23
  };
24
24
  }
25
25
  }
26
- FormlyFieldRate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldRate, deps: null, target: i0.ɵɵFactoryTarget.Component });
27
- FormlyFieldRate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldRate, selector: "formly-field-rate", usesInheritance: true, ngImport: i0, template: `
26
+ FormlyFieldRate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, deps: null, target: i0.ɵɵFactoryTarget.Component });
27
+ FormlyFieldRate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRate, selector: "formly-field-rate", usesInheritance: true, ngImport: i0, template: `
28
28
  <nz-rate
29
29
  [formControl]="formControl"
30
30
  [formlyAttributes]="field"
@@ -40,8 +40,8 @@ FormlyFieldRate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
40
40
  (nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
41
41
  (nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
42
42
  ></nz-rate>
43
- `, isInline: true, components: [{ type: i1.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldRate, decorators: [{
43
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, decorators: [{
45
45
  type: Component,
46
46
  args: [{
47
47
  selector: 'formly-field-rate',
@@ -68,27 +68,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
68
68
 
69
69
  class FormlyNzRateModule {
70
70
  }
71
- FormlyNzRateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzRateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
72
- FormlyNzRateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzRateModule, declarations: [FormlyFieldRate], imports: [CommonModule,
71
+ FormlyNzRateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
72
+ FormlyNzRateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, declarations: [FormlyFieldRate], imports: [CommonModule,
73
73
  ReactiveFormsModule,
74
74
  FormlyNzFormFieldModule,
75
75
  NzRateModule, i3.FormlyModule] });
76
- FormlyNzRateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzRateModule, imports: [[
77
- CommonModule,
78
- ReactiveFormsModule,
79
- FormlyNzFormFieldModule,
80
- NzRateModule,
81
- FormlyModule.forChild({
82
- types: [
83
- {
84
- name: 'rate',
85
- component: FormlyFieldRate,
86
- wrappers: ['form-field']
87
- }
88
- ]
89
- })
90
- ]] });
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzRateModule, decorators: [{
76
+ FormlyNzRateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, imports: [CommonModule,
77
+ ReactiveFormsModule,
78
+ FormlyNzFormFieldModule,
79
+ NzRateModule,
80
+ FormlyModule.forChild({
81
+ types: [
82
+ {
83
+ name: 'rate',
84
+ component: FormlyFieldRate,
85
+ wrappers: ['form-field']
86
+ }
87
+ ]
88
+ })] });
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, decorators: [{
92
90
  type: NgModule,
93
91
  args: [{
94
92
  declarations: [FormlyFieldRate],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-rate.mjs","sources":["../../../../packages/formlyantd/rate/src/rate.type.ts","../../../../packages/formlyantd/rate/src/rate.module.ts","../../../../packages/formlyantd/rate/src/ngx-formly-zorro-antd-rate.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\ninterface RateProps extends FormlyFieldProps {\r\n /**\r\n * 是否允许再次点击后清除\r\n * @default true\r\n */\r\n allowClear?: boolean;\r\n\r\n /**\r\n * 是否允许半选\r\n * @default false\r\n */\r\n allowHalf?: boolean;\r\n\r\n /**\r\n * 自动获取焦点\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 自定义字符\r\n * @default <span nz-icon nzType=\"star\"></span>\r\n */\r\n character?: TemplateRef<void>;\r\n\r\n /**\r\n * star 总数\r\n * @default 5\r\n */\r\n count?: number;\r\n\r\n /**\r\n * 自定义每项的提示信息\r\n * @default []\r\n */\r\n tooltips?: string[];\r\n\r\n /**\r\n * 鼠标经过时数值变化的回调\r\n */\r\n hoverChange?: (field: FormlyFieldConfig, event?: number) => void;\r\n}\r\n\r\nexport interface FormlyRateFieldConfig extends FormlyFieldConfig<RateProps> {\r\n type: 'rate' | Type<FormlyFieldRate>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-rate',\r\n template: `\r\n <nz-rate\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAllowHalf]=\"props['allowHalf']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzCharacter]=\"props['character']!\"\r\n [nzCount]=\"props['count']\"\r\n [nzTooltips]=\"props['tooltips']!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzOnBlur)=\"props.blur && props.blur(field, $event)\"\r\n (nzOnFocus)=\"props.focus && props.focus(field, $event)\"\r\n (nzOnHoverChange)=\"props['hoverChange'] && props['hoverChange'](field, $event)\"\r\n (nzOnKeyDown)=\"props.keydown && props.keydown(field, $event)\"\r\n ></nz-rate>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldRate extends FieldType<FieldTypeConfig<RateProps>> {\r\n override defaultOptions = {\r\n props: {\r\n allowClear: true,\r\n allowHalf: false,\r\n autoFocus: false,\r\n count: 5,\r\n tooltips: []\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzRateModule } from 'ng-zorro-antd/rate';\r\n\r\nimport { FormlyFieldRate } from './rate.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldRate],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzRateModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'rate',\r\n component: FormlyFieldRate,\r\n wrappers: ['form-field']\r\n }\r\n ]\r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gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,eAAe;wBAC1B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAnB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;AAC/B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;oCAC1B,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-rate.mjs","sources":["../../../../packages/formlyantd/rate/src/rate.type.ts","../../../../packages/formlyantd/rate/src/rate.module.ts","../../../../packages/formlyantd/rate/src/ngx-formly-zorro-antd-rate.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\ninterface RateProps extends FormlyFieldProps {\r\n /**\r\n * 是否允许再次点击后清除\r\n * @default true\r\n */\r\n allowClear?: boolean;\r\n\r\n /**\r\n * 是否允许半选\r\n * @default false\r\n */\r\n allowHalf?: boolean;\r\n\r\n /**\r\n * 自动获取焦点\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 自定义字符\r\n * @default <span nz-icon nzType=\"star\"></span>\r\n */\r\n character?: TemplateRef<void>;\r\n\r\n /**\r\n * star 总数\r\n * @default 5\r\n */\r\n count?: number;\r\n\r\n /**\r\n * 自定义每项的提示信息\r\n * @default []\r\n */\r\n tooltips?: string[];\r\n\r\n /**\r\n * 鼠标经过时数值变化的回调\r\n */\r\n hoverChange?: (field: FormlyFieldConfig, event?: number) => void;\r\n}\r\n\r\nexport interface FormlyRateFieldConfig extends FormlyFieldConfig<RateProps> {\r\n type: 'rate' | Type<FormlyFieldRate>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-rate',\r\n template: `\r\n <nz-rate\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAllowHalf]=\"props['allowHalf']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzCharacter]=\"props['character']!\"\r\n [nzCount]=\"props['count']\"\r\n [nzTooltips]=\"props['tooltips']!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzOnBlur)=\"props.blur && props.blur(field, $event)\"\r\n (nzOnFocus)=\"props.focus && props.focus(field, $event)\"\r\n (nzOnHoverChange)=\"props['hoverChange'] && props['hoverChange'](field, $event)\"\r\n (nzOnKeyDown)=\"props.keydown && props.keydown(field, $event)\"\r\n ></nz-rate>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldRate extends FieldType<FieldTypeConfig<RateProps>> {\r\n override defaultOptions = {\r\n props: {\r\n allowClear: true,\r\n allowHalf: false,\r\n autoFocus: false,\r\n count: 5,\r\n tooltips: []\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzRateModule } from 'ng-zorro-antd/rate';\r\n\r\nimport { FormlyFieldRate } from './rate.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldRate],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzRateModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'rate',\r\n component: FormlyFieldRate,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzRateModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAwEM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;AArB1E,IAAA,WAAA,GAAA;;AAsBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,KAAK,EAAE,CAAC;AACR,gBAAA,QAAQ,EAAE,EAAE;AACb,aAAA;SACF,CAAC;AACH,KAAA;;4GAVY,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,EAnBhB,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;AAgBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,I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B,uBAAuB;QACvB,YAAY,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAaH,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAhB3B,YAAY;QACZ,mBAAmB;QACnB,uBAAuB;QACvB,YAAY;QAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,YAAA,KAAK,EAAE;AACL,gBAAA;AACE,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,SAAS,EAAE,eAAe;oBAC1B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAnB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;AAC/B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;oCAC1B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
@@ -1,15 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, ViewChild, NgModule } from '@angular/core';
3
- import * as i4 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2 from '@angular/forms';
6
6
  import { ReactiveFormsModule } from '@angular/forms';
7
- import * as i3 from '@ngx-formly/core';
7
+ import * as i4 from '@ngx-formly/core';
8
8
  import { FieldType, FormlyModule } from '@ngx-formly/core';
9
9
  import * as i5 from '@ngx-formly/core/select';
10
10
  import { FormlySelectModule } from '@ngx-formly/core/select';
11
11
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
12
- import * as i1 from 'ng-zorro-antd/select';
12
+ import * as i3 from 'ng-zorro-antd/select';
13
13
  import { NzSelectModule } from 'ng-zorro-antd/select';
14
14
 
15
15
  class FormlyFieldSelect extends FieldType {
@@ -42,8 +42,8 @@ class FormlyFieldSelect extends FieldType {
42
42
  }
43
43
  }
44
44
  }
45
- FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
46
- FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldSelect, selector: "formly-field-select", viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
45
+ FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
46
+ FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldSelect, selector: "formly-field-select", viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
47
47
  <nz-select
48
48
  #select
49
49
  [class.ng-dirty]="showError"
@@ -98,8 +98,8 @@ FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
98
98
  </ng-template>
99
99
  </ng-container>
100
100
  </nz-select>
101
- `, isInline: true, components: [{ type: i1.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { type: i1.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { type: i1.NzOptionComponent, selector: "nz-option", inputs: ["nzLabel", "nzValue", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "formlySelectOptions": i5.FormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSelect, decorators: [{
101
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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.NzOptionComponent, selector: "nz-option", inputs: ["nzLabel", "nzValue", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "component", type: i3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSelect, decorators: [{
103
103
  type: Component,
104
104
  args: [{
105
105
  selector: 'formly-field-select',
@@ -168,30 +168,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
168
168
 
169
169
  class FormlyNzSelectModule {
170
170
  }
171
- FormlyNzSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
172
- FormlyNzSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
171
+ FormlyNzSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
172
+ FormlyNzSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
173
173
  ReactiveFormsModule,
174
174
  NzSelectModule,
175
175
  FormlyNzFormFieldModule,
176
- FormlySelectModule, i3.FormlyModule] });
177
- FormlyNzSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSelectModule, imports: [[
178
- CommonModule,
179
- ReactiveFormsModule,
180
- NzSelectModule,
181
- FormlyNzFormFieldModule,
182
- FormlySelectModule,
183
- FormlyModule.forChild({
184
- types: [
185
- {
186
- name: 'select',
187
- component: FormlyFieldSelect,
188
- wrappers: ['form-field']
189
- },
190
- { name: 'enum', extends: 'select' }
191
- ]
192
- })
193
- ]] });
194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSelectModule, decorators: [{
176
+ FormlySelectModule, i4.FormlyModule] });
177
+ FormlyNzSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, imports: [CommonModule,
178
+ ReactiveFormsModule,
179
+ NzSelectModule,
180
+ FormlyNzFormFieldModule,
181
+ FormlySelectModule,
182
+ FormlyModule.forChild({
183
+ types: [
184
+ {
185
+ name: 'select',
186
+ component: FormlyFieldSelect,
187
+ wrappers: ['form-field']
188
+ },
189
+ { name: 'enum', extends: 'select' }
190
+ ]
191
+ })] });
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, decorators: [{
195
193
  type: NgModule,
196
194
  args: [{
197
195
  declarations: [FormlyFieldSelect],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-select.mjs","sources":["../../../../packages/formlyantd/select/src/select.type.ts","../../../../packages/formlyantd/select/src/select.module.ts","../../../../packages/formlyantd/select/src/ngx-formly-zorro-antd-select.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy, ViewChild, OnInit } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport { NzSelectComponent } from 'ng-zorro-antd/select';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport type { SelectProps } from './select.props';\r\n\r\nexport interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {\r\n type: 'select' | 'enum' | Type<FormlyFieldSelect>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-select',\r\n template: `\r\n <nz-select\r\n #select\r\n [class.ng-dirty]=\"showError\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [compareWith]=\"props['compareWith']!\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoClearSearchValue]=\"props['autoClearSearchValue']\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzOpen]=\"props['open']!!\"\r\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\r\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\r\n [nzCustomTemplate]=\"props['customTemplate'] ?? null\"\r\n [nzServerSearch]=\"props['serverSearch']!!\"\r\n [nzMaxMultipleCount]=\"props['maxMultipleCount']!\"\r\n [nzMode]=\"props['mode']!\"\r\n [nzShowSearch]=\"props['showSearch']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzShowArrow]=\"props['showArrow']!!\"\r\n [nzMaxTagCount]=\"props['maxTagCount']\"\r\n [nzMaxTagPlaceholder]=\"props['maxTagPlaceholder'] ?? null\"\r\n [nzOptionHeightPx]=\"props['optionHeightPx']!\"\r\n [nzOptionOverflowSize]=\"props['optionOverflowSize']!\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzBlur)=\"props.blur && props.blur(field, $event)\"\r\n (nzFocus)=\"props.focus && props.focus(field, $event)\"\r\n (nzOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n (nzScrollToBottom)=\"props['scrollToBottom'] && props['scrollToBottom'](field, $event)\"\r\n (nzOnSearch)=\"props['onSearch'] && props['onSearch'](field, $event)\"\r\n >\r\n <ng-container *ngFor=\"let item of to.options | formlySelectOptions: field | async\">\r\n <nz-option-group [nzLabel]=\"item.label\" *ngIf=\"item.group; else selectoption\">\r\n <nz-option\r\n *ngFor=\"let child of item.group\"\r\n [nzValue]=\"child.value\"\r\n [nzDisabled]=\"child.disabled\"\r\n [nzLabel]=\"child.label\"\r\n >\r\n </nz-option>\r\n </nz-option-group>\r\n\r\n <ng-template #selectoption>\r\n <nz-option\r\n [nzValue]=\"item.value\"\r\n [nzDisabled]=\"item.disabled\"\r\n [nzLabel]=\"item.label\"\r\n ></nz-option>\r\n </ng-template>\r\n </ng-container>\r\n </nz-select>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig> implements OnInit {\r\n override defaultOptions = {\r\n props: {\r\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2,\r\n autoClearSearchValue: true,\r\n allowClear: false,\r\n backdrop: false,\r\n open: false,\r\n dropdownMatchSelectWidth: true,\r\n serverSearch: false,\r\n maxMultipleCount: Infinity,\r\n mode: 'default' as const,\r\n showSearch: false,\r\n size: 'default' as const,\r\n status: '' as const,\r\n tokenSeparators: [],\r\n loading: false,\r\n optionHeightPx: 32,\r\n optionOverflowSize: 8\r\n }\r\n };\r\n @ViewChild('select', { static: true }) select!: NzSelectComponent;\r\n ngOnInit(): void {\r\n if (this.props['filterOption'] instanceof Function) {\r\n this.select.nzFilterOption = this.props['filterOption'] as any;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlySelectModule } from '@ngx-formly/core/select';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzSelectModule } from 'ng-zorro-antd/select';\r\n\r\nimport { FormlyFieldSelect } from './select.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldSelect],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzSelectModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlySelectModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'select',\r\n component: FormlyFieldSelect,\r\n wrappers: ['form-field']\r\n },\r\n { name: 'enum', extends: 'select' }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzSelectModule {}\r\n","/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E;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,cAAc;wBAEd,uBAAuB;wBACvB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC/BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-select.mjs","sources":["../../../../packages/formlyantd/select/src/select.type.ts","../../../../packages/formlyantd/select/src/select.module.ts","../../../../packages/formlyantd/select/src/ngx-formly-zorro-antd-select.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy, ViewChild, OnInit } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport { NzSelectComponent } from 'ng-zorro-antd/select';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport type { SelectProps } from './select.props';\r\n\r\nexport interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {\r\n type: 'select' | 'enum' | Type<FormlyFieldSelect>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-select',\r\n template: `\r\n <nz-select\r\n #select\r\n [class.ng-dirty]=\"showError\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [compareWith]=\"props['compareWith']!\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoClearSearchValue]=\"props['autoClearSearchValue']\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzOpen]=\"props['open']!!\"\r\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\r\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\r\n [nzCustomTemplate]=\"props['customTemplate'] ?? null\"\r\n [nzServerSearch]=\"props['serverSearch']!!\"\r\n [nzMaxMultipleCount]=\"props['maxMultipleCount']!\"\r\n [nzMode]=\"props['mode']!\"\r\n [nzShowSearch]=\"props['showSearch']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzShowArrow]=\"props['showArrow']!!\"\r\n [nzMaxTagCount]=\"props['maxTagCount']\"\r\n [nzMaxTagPlaceholder]=\"props['maxTagPlaceholder'] ?? null\"\r\n [nzOptionHeightPx]=\"props['optionHeightPx']!\"\r\n [nzOptionOverflowSize]=\"props['optionOverflowSize']!\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzBlur)=\"props.blur && props.blur(field, $event)\"\r\n (nzFocus)=\"props.focus && props.focus(field, $event)\"\r\n (nzOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n (nzScrollToBottom)=\"props['scrollToBottom'] && props['scrollToBottom'](field, $event)\"\r\n (nzOnSearch)=\"props['onSearch'] && props['onSearch'](field, $event)\"\r\n >\r\n <ng-container *ngFor=\"let item of to.options | formlySelectOptions: field | async\">\r\n <nz-option-group [nzLabel]=\"item.label\" *ngIf=\"item.group; else selectoption\">\r\n <nz-option\r\n *ngFor=\"let child of item.group\"\r\n [nzValue]=\"child.value\"\r\n [nzDisabled]=\"child.disabled\"\r\n [nzLabel]=\"child.label\"\r\n >\r\n </nz-option>\r\n </nz-option-group>\r\n\r\n <ng-template #selectoption>\r\n <nz-option\r\n [nzValue]=\"item.value\"\r\n [nzDisabled]=\"item.disabled\"\r\n [nzLabel]=\"item.label\"\r\n ></nz-option>\r\n </ng-template>\r\n </ng-container>\r\n </nz-select>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig> implements OnInit {\r\n override defaultOptions = {\r\n props: {\r\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2,\r\n autoClearSearchValue: true,\r\n allowClear: false,\r\n backdrop: false,\r\n open: false,\r\n dropdownMatchSelectWidth: true,\r\n serverSearch: false,\r\n maxMultipleCount: Infinity,\r\n mode: 'default' as const,\r\n showSearch: false,\r\n size: 'default' as const,\r\n status: '' as const,\r\n tokenSeparators: [],\r\n loading: false,\r\n optionHeightPx: 32,\r\n optionOverflowSize: 8\r\n }\r\n };\r\n @ViewChild('select', { static: true }) select!: NzSelectComponent;\r\n ngOnInit(): void {\r\n if (this.props['filterOption'] instanceof Function) {\r\n this.select.nzFilterOption = this.props['filterOption'] as any;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlySelectModule } from '@ngx-formly/core/select';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzSelectModule } from 'ng-zorro-antd/select';\r\n\r\nimport { FormlyFieldSelect } from './select.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldSelect],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzSelectModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlySelectModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'select',\r\n component: FormlyFieldSelect,\r\n wrappers: ['form-field']\r\n },\r\n { name: 'enum', extends: 'select' }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzSelectModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAuEM,MAAO,iBAAkB,SAAQ,SAA0B,CAAA;AA5DjE,IA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AAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,cAAc;wBAEd,uBAAuB;wBACvB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC/BD;;AAEG;;;;"}
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import * as i2 from '@angular/forms';
4
+ import * as i1 from '@angular/forms';
5
5
  import { ReactiveFormsModule } from '@angular/forms';
6
6
  import * as i3 from '@ngx-formly/core';
7
7
  import { FieldType, FormlyModule } from '@ngx-formly/core';
8
8
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
9
- import * as i1 from 'ng-zorro-antd/slider';
9
+ import * as i2 from 'ng-zorro-antd/slider';
10
10
  import { NzSliderModule } from 'ng-zorro-antd/slider';
11
11
 
12
12
  class FormlyFieldSlider extends FieldType {
@@ -27,8 +27,8 @@ class FormlyFieldSlider extends FieldType {
27
27
  };
28
28
  }
29
29
  }
30
- FormlyFieldSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
31
- FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldSlider, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
30
+ FormlyFieldSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
31
+ FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldSlider, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
32
32
  #slider
33
33
  [formControl]="formControl"
34
34
  [formlyAttributes]="field"
@@ -44,8 +44,8 @@ FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
44
44
  [nzTooltipVisible]="props['tooltipVisible']!"
45
45
  (ngModelChange)="props.change && props.change(field, $event)"
46
46
  (nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
47
- ></nz-slider>`, isInline: true, components: [{ type: i1.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzDefaultValue", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSlider, decorators: [{
47
+ ></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 });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSlider, decorators: [{
49
49
  type: Component,
50
50
  args: [{
51
51
  selector: 'formly-field-slider',
@@ -72,27 +72,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
72
72
 
73
73
  class FormlyNzSliderModule {
74
74
  }
75
- FormlyNzSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
76
- FormlyNzSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
75
+ FormlyNzSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
76
+ FormlyNzSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
77
77
  ReactiveFormsModule,
78
78
  FormlyNzFormFieldModule,
79
79
  NzSliderModule, i3.FormlyModule] });
80
- FormlyNzSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSliderModule, imports: [[
81
- CommonModule,
82
- ReactiveFormsModule,
83
- FormlyNzFormFieldModule,
84
- NzSliderModule,
85
- FormlyModule.forChild({
86
- types: [
87
- {
88
- name: 'slider',
89
- component: FormlyFieldSlider,
90
- wrappers: ['form-field']
91
- }
92
- ]
93
- })
94
- ]] });
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
80
+ FormlyNzSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
81
+ ReactiveFormsModule,
82
+ FormlyNzFormFieldModule,
83
+ NzSliderModule,
84
+ FormlyModule.forChild({
85
+ types: [
86
+ {
87
+ name: 'slider',
88
+ component: FormlyFieldSlider,
89
+ wrappers: ['form-field']
90
+ }
91
+ ]
92
+ })] });
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
96
94
  type: NgModule,
97
95
  args: [{
98
96
  declarations: [FormlyFieldSlider],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-slider.mjs","sources":["../../../../packages/formlyantd/slider/src/slider.type.ts","../../../../packages/formlyantd/slider/src/slider.module.ts","../../../../packages/formlyantd/slider/src/ngx-formly-zorro-antd-slider.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\nimport type { NzSliderShowTooltip } from 'ng-zorro-antd/slider';\r\n\r\ninterface SlideProps extends FormlyFieldProps {\r\n /**\r\n * 是否只能拖拽到刻度上\r\n * @default false\r\n */\r\n dots?: boolean;\r\n\r\n /**\r\n * marks 不为空对象时有效,值为 true 时表示值为包含关系,false 表示并列\r\n * @default true\r\n */\r\n included?: boolean;\r\n\r\n /**\r\n * 刻度标记,key 的类型必须为 number 且取值在闭区间 [min, max] 内,每个标签可以单独设置样式\r\n * @default\r\n * { number: string/HTML } or { number: { style: object, label: string/HTML } }\r\n */\r\n marks?: object;\r\n\r\n /**\r\n * 双滑块模式\r\n * @default false\r\n */\r\n range?: boolean;\r\n\r\n /**\r\n * Slider 会把当前值传给 nzTipFormatter,并在 Tooltip 中显示 nzTipFormatter 的返回值,若为 null,则隐藏 Tooltip。\r\n */\r\n tipFormatter?: (value: number) => string;\r\n\r\n /**\r\n * 值为 true 时,Slider 为垂直方向\r\n * @default false\r\n */\r\n vertical?: boolean;\r\n\r\n /**\r\n * 反向坐标轴\r\n * @default false\r\n */\r\n reverse?: boolean;\r\n\r\n /**\r\n * 值为 always 时总是显示,值为 never 时在任何情况下都不显示\r\n * @default default\r\n */\r\n tooltipVisible?: NzSliderShowTooltip;\r\n\r\n /**\r\n * 设置 Tooltip 的默认位置。\r\n */\r\n tooltipPlacement?: string;\r\n\r\n /**\r\n * 与 onmouseup 触发时机一致,把当前值作为参数传入。\r\n */\r\n afterChange?: (field: FormlyFieldConfig, value: number[] | number) => void;\r\n}\r\n\r\nexport interface FormlySlideFieldConfig extends FormlyFieldConfig<SlideProps> {\r\n type: 'slider' | Type<FormlyFieldSlider>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-slider',\r\n template: `<nz-slider\r\n #slider\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzDots]=\"props['dots']!!\"\r\n [nzIncluded]=\"props['included']!!\"\r\n [nzMax]=\"props.max\"\r\n [nzMin]=\"props.min\"\r\n [nzRange]=\"props['range']!!\"\r\n [nzStep]=\"props.step\"\r\n [nzTipFormatter]=\"props['tipFormatter']\"\r\n [nzVertical]=\"props['vertical']!!\"\r\n [nzReverse]=\"props['reverse']!!\"\r\n [nzTooltipVisible]=\"props['tooltipVisible']!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzOnAfterChange)=\"props['afterChange'] && props['afterChange'](field, $event)\"\r\n ></nz-slider>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldSlider extends FieldType<FieldTypeConfig<SlideProps>> {\r\n override defaultOptions = {\r\n props: {\r\n max: 100,\r\n min: 0,\r\n step: 1,\r\n dots: false,\r\n included: true,\r\n range: false,\r\n vertical: false,\r\n reverse: false,\r\n tooltipVisible: 'default' as const\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldSlider } from './slider.type';\r\nimport { NzSliderModule } from 'ng-zorro-antd/slider';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldSlider],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzSliderModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'slider',\r\n component: FormlyFieldSlider,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzSliderModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA0FM,MAAO,iBAAkB,SAAQ,SAAsC,CAAA;AArB7E,IAAA,WAAA,GAAA;;AAsBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,GAAG,EAAE,GAAG;AACR,gBAAA,GAAG,EAAE,CAAC;AACN,gBAAA,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zB,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAnBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,cAAc;wBAEd,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC3BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-slider.mjs","sources":["../../../../packages/formlyantd/slider/src/slider.type.ts","../../../../packages/formlyantd/slider/src/slider.module.ts","../../../../packages/formlyantd/slider/src/ngx-formly-zorro-antd-slider.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\nimport type { NzSliderShowTooltip } from 'ng-zorro-antd/slider';\r\n\r\ninterface SlideProps extends FormlyFieldProps {\r\n /**\r\n * 是否只能拖拽到刻度上\r\n * @default false\r\n */\r\n dots?: boolean;\r\n\r\n /**\r\n * marks 不为空对象时有效,值为 true 时表示值为包含关系,false 表示并列\r\n * @default true\r\n */\r\n included?: boolean;\r\n\r\n /**\r\n * 刻度标记,key 的类型必须为 number 且取值在闭区间 [min, max] 内,每个标签可以单独设置样式\r\n * @default\r\n * { number: string/HTML } or { number: { style: object, label: string/HTML } }\r\n */\r\n marks?: object;\r\n\r\n /**\r\n * 双滑块模式\r\n * @default false\r\n */\r\n range?: boolean;\r\n\r\n /**\r\n * Slider 会把当前值传给 nzTipFormatter,并在 Tooltip 中显示 nzTipFormatter 的返回值,若为 null,则隐藏 Tooltip。\r\n */\r\n tipFormatter?: (value: number) => string;\r\n\r\n /**\r\n * 值为 true 时,Slider 为垂直方向\r\n * @default false\r\n */\r\n vertical?: boolean;\r\n\r\n /**\r\n * 反向坐标轴\r\n * @default false\r\n */\r\n reverse?: boolean;\r\n\r\n /**\r\n * 值为 always 时总是显示,值为 never 时在任何情况下都不显示\r\n * @default default\r\n */\r\n tooltipVisible?: NzSliderShowTooltip;\r\n\r\n /**\r\n * 设置 Tooltip 的默认位置。\r\n */\r\n tooltipPlacement?: string;\r\n\r\n /**\r\n * 与 onmouseup 触发时机一致,把当前值作为参数传入。\r\n */\r\n afterChange?: (field: FormlyFieldConfig, value: number[] | number) => void;\r\n}\r\n\r\nexport interface FormlySlideFieldConfig extends FormlyFieldConfig<SlideProps> {\r\n type: 'slider' | Type<FormlyFieldSlider>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-slider',\r\n template: `<nz-slider\r\n #slider\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzDots]=\"props['dots']!!\"\r\n [nzIncluded]=\"props['included']!!\"\r\n [nzMax]=\"props.max\"\r\n [nzMin]=\"props.min\"\r\n [nzRange]=\"props['range']!!\"\r\n [nzStep]=\"props.step\"\r\n [nzTipFormatter]=\"props['tipFormatter']\"\r\n [nzVertical]=\"props['vertical']!!\"\r\n [nzReverse]=\"props['reverse']!!\"\r\n [nzTooltipVisible]=\"props['tooltipVisible']!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzOnAfterChange)=\"props['afterChange'] && props['afterChange'](field, $event)\"\r\n ></nz-slider>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldSlider extends FieldType<FieldTypeConfig<SlideProps>> {\r\n override defaultOptions = {\r\n props: {\r\n max: 100,\r\n min: 0,\r\n step: 1,\r\n dots: false,\r\n included: true,\r\n range: false,\r\n vertical: false,\r\n reverse: false,\r\n tooltipVisible: 'default' as const\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldSlider } from './slider.type';\r\nimport { NzSliderModule } from 'ng-zorro-antd/slider';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldSlider],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzSliderModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'slider',\r\n component: FormlyFieldSlider,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzSliderModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA0FM,MAAO,iBAAkB,SAAQ,SAAsC,CAAA;AArB7E,IAAA,WAAA,GAAA;;AAsBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,GAAG,EAAE,GAAG;AACR,gBAAA,GAAG,EAAE,CAAC;AACN,gBAAA,IAAI,EAAE,CAAC;AACP,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,QAAQ,EAAE,IAAI;AACd,gBAAA,KAAK,EAAE,KAAK;AACZ,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,cAAc,EAAE,SAAkB;AACnC,aAAA;SACF,CAAC;AACH,KAAA;;8GAdY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,S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