ngx-formly-zorro-antd 13.0.0-rc.0 → 14.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. package/README.md +0 -6
  2. package/autocomplete/autocomplete.props.d.ts +1 -2
  3. package/autocomplete/{ngx-formly-zorro-antd-autocomplete.d.ts → index.d.ts} +0 -0
  4. package/button/button.type.d.ts +2 -1
  5. package/button/{ngx-formly-zorro-antd-button.d.ts → index.d.ts} +0 -0
  6. package/card/card.wrapper.d.ts +1 -1
  7. package/card/{ngx-formly-zorro-antd-card.d.ts → index.d.ts} +0 -0
  8. package/cascader/cascader.type.d.ts +1 -1
  9. package/cascader/{ngx-formly-zorro-antd-cascader.d.ts → index.d.ts} +0 -0
  10. package/checkbox/checkbox.type.d.ts +1 -1
  11. package/checkbox/{ngx-formly-zorro-antd-checkbox.d.ts → index.d.ts} +0 -0
  12. package/datepicker/datepicker.type.d.ts +1 -1
  13. package/datepicker/{ngx-formly-zorro-antd-datepicker.d.ts → index.d.ts} +0 -0
  14. package/esm2020/autocomplete/autocomplete.props.mjs +1 -1
  15. package/esm2020/button/button.module.mjs +23 -25
  16. package/esm2020/button/button.type.mjs +84 -44
  17. package/esm2020/card/card.module.mjs +15 -17
  18. package/esm2020/card/card.wrapper.mjs +5 -5
  19. package/esm2020/cascader/cascader.module.mjs +17 -19
  20. package/esm2020/cascader/cascader.type.mjs +8 -8
  21. package/esm2020/checkbox/checkbox.module.mjs +21 -23
  22. package/esm2020/checkbox/checkbox.type.mjs +8 -8
  23. package/esm2020/datepicker/datepicker.module.mjs +17 -19
  24. package/esm2020/datepicker/datepicker.type.mjs +8 -8
  25. package/esm2020/form-field/form-field.module.mjs +15 -17
  26. package/esm2020/form-field/form-field.props.mjs +1 -1
  27. package/esm2020/form-field/form-field.wrapper.mjs +21 -11
  28. package/esm2020/grid/grid.module.mjs +41 -0
  29. package/esm2020/grid/grid.props.mjs +2 -0
  30. package/esm2020/grid/grid.type.mjs +71 -0
  31. package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +5 -0
  32. package/esm2020/grid/public_api.mjs +3 -0
  33. package/esm2020/input/input.module.mjs +31 -33
  34. package/esm2020/input/input.props.mjs +1 -1
  35. package/esm2020/input/input.type.mjs +97 -47
  36. package/esm2020/input-group/input-group.module.mjs +22 -18
  37. package/esm2020/input-group/input-group.props.mjs +1 -1
  38. package/esm2020/input-group/input-group.type.mjs +8 -8
  39. package/esm2020/input-number/input-number.module.mjs +21 -23
  40. package/esm2020/input-number/input-number.type.mjs +8 -8
  41. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +30 -28
  42. package/esm2020/radio/radio.module.mjs +19 -21
  43. package/esm2020/radio/radio.type.mjs +8 -8
  44. package/esm2020/rate/rate.module.mjs +17 -19
  45. package/esm2020/rate/rate.type.mjs +7 -7
  46. package/esm2020/select/select.module.mjs +19 -21
  47. package/esm2020/select/select.type.mjs +8 -8
  48. package/esm2020/slider/slider.module.mjs +17 -19
  49. package/esm2020/slider/slider.type.mjs +7 -7
  50. package/esm2020/switch/switch.module.mjs +17 -19
  51. package/esm2020/switch/switch.type.mjs +7 -7
  52. package/esm2020/tabs/tabs.module.mjs +14 -16
  53. package/esm2020/tabs/tabs.props.mjs +1 -1
  54. package/esm2020/tabs/tabs.wrapper.mjs +8 -8
  55. package/esm2020/textarea/textarea.module.mjs +17 -19
  56. package/esm2020/textarea/textarea.type.mjs +8 -8
  57. package/esm2020/timepicker/timepicker.module.mjs +17 -19
  58. package/esm2020/timepicker/timepicker.type.mjs +8 -8
  59. package/esm2020/transfer/transfer.component.mjs +5 -5
  60. package/esm2020/transfer/transfer.module.mjs +17 -19
  61. package/esm2020/transfer/transfer.type.mjs +8 -8
  62. package/esm2020/tree-select/tree-select.module.mjs +17 -19
  63. package/esm2020/tree-select/tree-select.type.mjs +8 -8
  64. package/esm2020/upload/upload.component.mjs +10 -10
  65. package/esm2020/upload/upload.module.mjs +19 -21
  66. package/esm2020/upload/upload.type.mjs +8 -8
  67. package/fesm2015/ngx-formly-zorro-antd-button.mjs +106 -68
  68. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
  69. package/fesm2015/ngx-formly-zorro-antd-card.mjs +18 -20
  70. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
  71. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +24 -26
  72. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  73. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +27 -29
  74. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  75. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +23 -25
  76. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  77. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +35 -27
  78. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  79. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +114 -0
  80. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -0
  81. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +28 -24
  82. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  83. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +27 -29
  84. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  85. package/fesm2015/ngx-formly-zorro-antd-input.mjs +127 -79
  86. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
  87. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +26 -28
  88. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  89. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +22 -24
  90. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  91. package/fesm2015/ngx-formly-zorro-antd-select.mjs +26 -28
  92. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
  93. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +22 -24
  94. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  95. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +22 -24
  96. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  97. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +21 -23
  98. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  99. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +23 -25
  100. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  101. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +24 -26
  102. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  103. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +27 -29
  104. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  105. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +24 -26
  106. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  107. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +34 -36
  108. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  109. package/fesm2015/ngx-formly-zorro-antd.mjs +29 -27
  110. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
  111. package/fesm2020/ngx-formly-zorro-antd-button.mjs +106 -68
  112. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
  113. package/fesm2020/ngx-formly-zorro-antd-card.mjs +18 -20
  114. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
  115. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +24 -26
  116. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  117. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +27 -29
  118. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  119. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +23 -25
  120. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  121. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +35 -27
  122. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  123. package/fesm2020/ngx-formly-zorro-antd-grid.mjs +114 -0
  124. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -0
  125. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +28 -24
  126. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  127. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +27 -29
  128. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  129. package/fesm2020/ngx-formly-zorro-antd-input.mjs +127 -79
  130. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
  131. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +26 -28
  132. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  133. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +22 -24
  134. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  135. package/fesm2020/ngx-formly-zorro-antd-select.mjs +26 -28
  136. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
  137. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +22 -24
  138. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  139. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +22 -24
  140. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  141. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +21 -23
  142. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  143. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +23 -25
  144. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  145. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +24 -26
  146. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  147. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +27 -29
  148. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  149. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +24 -26
  150. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  151. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +34 -36
  152. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  153. package/fesm2020/ngx-formly-zorro-antd.mjs +29 -27
  154. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
  155. package/form-field/form-field.props.d.ts +28 -0
  156. package/form-field/form-field.wrapper.d.ts +1 -1
  157. package/form-field/{ngx-formly-zorro-antd-form-field.d.ts → index.d.ts} +0 -0
  158. package/grid/grid.module.d.ts +10 -0
  159. package/grid/grid.props.d.ts +44 -0
  160. package/grid/grid.type.d.ts +11 -0
  161. package/grid/index.d.ts +5 -0
  162. package/grid/public_api.d.ts +3 -0
  163. package/input/{ngx-formly-zorro-antd-input.d.ts → index.d.ts} +0 -0
  164. package/input/input.props.d.ts +3 -36
  165. package/input/input.type.d.ts +2 -2
  166. package/input-group/{ngx-formly-zorro-antd-input-group.d.ts → index.d.ts} +0 -0
  167. package/input-group/input-group.module.d.ts +3 -2
  168. package/input-group/input-group.props.d.ts +1 -1
  169. package/input-group/input-group.type.d.ts +1 -1
  170. package/input-number/{ngx-formly-zorro-antd-input-number.d.ts → index.d.ts} +0 -0
  171. package/input-number/input-number.type.d.ts +1 -1
  172. package/lib/ui-ng-zorro-antd.module.d.ts +2 -1
  173. package/package.json +38 -29
  174. package/radio/{ngx-formly-zorro-antd-radio.d.ts → index.d.ts} +0 -0
  175. package/radio/radio.type.d.ts +1 -1
  176. package/rate/{ngx-formly-zorro-antd-rate.d.ts → index.d.ts} +0 -0
  177. package/rate/rate.type.d.ts +1 -1
  178. package/select/{ngx-formly-zorro-antd-select.d.ts → index.d.ts} +0 -0
  179. package/select/select.type.d.ts +1 -1
  180. package/slider/{ngx-formly-zorro-antd-slider.d.ts → index.d.ts} +0 -0
  181. package/slider/slider.type.d.ts +1 -1
  182. package/switch/{ngx-formly-zorro-antd-switch.d.ts → index.d.ts} +0 -0
  183. package/switch/switch.type.d.ts +1 -1
  184. package/tabs/{ngx-formly-zorro-antd-tabs.d.ts → index.d.ts} +0 -0
  185. package/tabs/tabs.props.d.ts +1 -2
  186. package/tabs/tabs.wrapper.d.ts +1 -1
  187. package/textarea/{ngx-formly-zorro-antd-textarea.d.ts → index.d.ts} +0 -0
  188. package/textarea/textarea.type.d.ts +1 -1
  189. package/timepicker/{ngx-formly-zorro-antd-timepicker.d.ts → index.d.ts} +0 -0
  190. package/timepicker/timepicker.type.d.ts +1 -1
  191. package/transfer/{ngx-formly-zorro-antd-transfer.d.ts → index.d.ts} +0 -0
  192. package/transfer/transfer.component.d.ts +1 -1
  193. package/transfer/transfer.type.d.ts +1 -1
  194. package/tree-select/{ngx-formly-zorro-antd-tree-select.d.ts → index.d.ts} +0 -0
  195. package/tree-select/tree-select.type.d.ts +1 -1
  196. package/upload/{ngx-formly-zorro-antd-upload.d.ts → index.d.ts} +0 -0
  197. package/upload/upload.component.d.ts +1 -1
  198. package/upload/upload.type.d.ts +1 -1
  199. package/autocomplete/package.json +0 -10
  200. package/button/package.json +0 -10
  201. package/card/package.json +0 -10
  202. package/cascader/package.json +0 -10
  203. package/checkbox/package.json +0 -10
  204. package/datepicker/package.json +0 -10
  205. package/form-field/package.json +0 -10
  206. package/input/package.json +0 -10
  207. package/input-group/package.json +0 -10
  208. package/input-number/package.json +0 -10
  209. package/ngx-formly-zorro-antd.d.ts +0 -5
  210. package/radio/package.json +0 -10
  211. package/rate/package.json +0 -10
  212. package/select/package.json +0 -10
  213. package/slider/package.json +0 -10
  214. package/switch/package.json +0 -10
  215. package/tabs/package.json +0 -10
  216. package/textarea/package.json +0 -10
  217. package/timepicker/package.json +0 -10
  218. package/transfer/package.json +0 -10
  219. package/tree-select/package.json +0 -10
  220. package/upload/package.json +0 -10
@@ -1,10 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i3 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i2 from '@ngx-formly/core';
5
+ import * as i3 from '@ngx-formly/core';
6
6
  import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
7
- import * as i1 from 'ng-zorro-antd/tabs';
7
+ import * as i2 from 'ng-zorro-antd/tabs';
8
8
  import { NzTabsModule } from 'ng-zorro-antd/tabs';
9
9
 
10
10
  class FormlyWrapperTabs extends FieldWrapper {
@@ -29,8 +29,8 @@ class FormlyWrapperTabs extends FieldWrapper {
29
29
  };
30
30
  }
31
31
  }
32
- FormlyWrapperTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
33
- FormlyWrapperTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyWrapperTabs, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
32
+ FormlyWrapperTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
33
+ FormlyWrapperTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyWrapperTabs, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
34
34
  [(nzSelectedIndex)]="props['selectedIndex']"
35
35
  [nzAnimated]="props['animated']!"
36
36
  [nzSize]="props['size']!"
@@ -66,8 +66,8 @@ FormlyWrapperTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
66
66
  >
67
67
  <formly-field [field]="tab"></formly-field>
68
68
  </nz-tab>
69
- </nz-tabset>`, isInline: true, components: [{ type: i1.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"] }, { type: i1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
69
+ </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 });
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
71
71
  type: Component,
72
72
  args: [{
73
73
  selector: 'formly-wrapper-tabs',
@@ -114,22 +114,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
114
114
 
115
115
  class FormlyNzTabsModule {
116
116
  }
117
- FormlyNzTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
118
- FormlyNzTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
119
- NzTabsModule, i2.FormlyModule] });
120
- FormlyNzTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, imports: [[
121
- CommonModule,
122
- NzTabsModule,
123
- FormlyModule.forChild({
124
- wrappers: [
125
- {
126
- name: 'tabs',
127
- component: FormlyWrapperTabs
128
- }
129
- ]
130
- })
131
- ]] });
132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
117
+ FormlyNzTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
118
+ FormlyNzTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
119
+ NzTabsModule, i3.FormlyModule] });
120
+ FormlyNzTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTabsModule, imports: [CommonModule,
121
+ NzTabsModule,
122
+ FormlyModule.forChild({
123
+ wrappers: [
124
+ {
125
+ name: 'tabs',
126
+ component: FormlyWrapperTabs
127
+ }
128
+ ]
129
+ })] });
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
133
131
  type: NgModule,
134
132
  args: [{
135
133
  declarations: [FormlyWrapperTabs],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-tabs.mjs","sources":["../../../../packages/formlyantd/tabs/src/tabs.wrapper.ts","../../../../packages/formlyantd/tabs/src/tabs.module.ts","../../../../packages/formlyantd/tabs/src/ngx-formly-zorro-antd-tabs.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { TabsProps } from './tabs.props';\r\n\r\nexport interface FormlyTabsWrapperConfig extends FormlyFieldConfig<TabsProps> {\r\n wrappers: ('tabs' | Type<FormlyWrapperTabs>)[];\r\n}\r\n\r\n@Component({\r\n selector: 'formly-wrapper-tabs',\r\n template: `<nz-tabset\r\n [(nzSelectedIndex)]=\"props['selectedIndex']\"\r\n [nzAnimated]=\"props['animated']!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzTabBarExtraContent]=\"props['tabBarExtraContent']\"\r\n [nzTabBarStyle]=\"props['tabBarStyle'] ?? null\"\r\n [nzTabPosition]=\"props['tabPosition']!\"\r\n [nzType]=\"props['type']!\"\r\n [nzTabBarGutter]=\"props['tabBarGutter']\"\r\n [nzHideAll]=\"props['hideAll']!!\"\r\n [nzLinkRouter]=\"props['linkRouter']!!\"\r\n [nzLinkExact]=\"props['linkExact']!!\"\r\n [nzCanDeactivate]=\"props['canDeactivate'] ?? null\"\r\n [nzHideAdd]=\"props['hideAdd']!!\"\r\n [nzAddIcon]=\"props['addIcon']!\"\r\n (nzSelectedIndexChange)=\"\r\n props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)\r\n \"\r\n (nzSelectChange)=\"\r\n props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)\r\n \"\r\n (nzAdd)=\"props['onAdd'] && props['onAdd'](field)\"\r\n (nzClose)=\"props['onClose'] && props['onClose'](field, $event.index)\"\r\n >\r\n <nz-tab\r\n *ngFor=\"let tab of field.fieldGroup; let i = index; let last = last\"\r\n [nzTitle]=\"tab.props?.label || ''\"\r\n [nzForceRender]=\"tab.props!['tab']?.forceRender\"\r\n [nzDisabled]=\"tab.props!['tab']?.disabled\"\r\n (nzClick)=\"tab.props!['tab']?.click && tab.props!['tab']?.click()\"\r\n (nzContextmenu)=\"tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)\"\r\n (nzSelect)=\"tab.props!['tab']?.select && tab.props!['tab']?.select()\"\r\n (nzDeselect)=\"tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()\"\r\n >\r\n <formly-field [field]=\"tab\"></formly-field>\r\n </nz-tab>\r\n </nz-tabset>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyWrapperTabs extends FieldWrapper<FormlyFieldConfig<TabsProps>> {\r\n override defaultOptions = {\r\n props: {\r\n animated: true,\r\n size: 'default' as const,\r\n type: 'line' as const,\r\n tabPosition: 'top' as const,\r\n hideAll: false,\r\n linkRouter: false,\r\n linkExact: true,\r\n centered: false,\r\n hideAdd: false,\r\n tab: {\r\n forceRender: false,\r\n disabled: false\r\n }\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyWrapperTabs } from './tabs.wrapper';\r\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperTabs],\r\n imports: [\r\n CommonModule,\r\n\r\n NzTabsModule,\r\n\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'tabs',\r\n component: FormlyWrapperTabs\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTabsModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAkDM,MAAO,iBAAkB,SAAQ,YAA0C,CAAA;AAzCjF,IAAA,WAAA,GAAA;;QA0CW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,IAAI;AACd,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,IAAI,EAAE,MAAe;AACrB,gBAAA,WAAW,EAAE,KAAc;AAC3B,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,GAAG,EAAE;AACH,oBAAA,WAAW,EAAE,KAAK;AAClB,oBAAA,QAAQ,EAAE,KAAK;AAChB,iBAAA;AACF,aAAA;SACF,CAAC;KACH;;+GAlBY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,EAvClB,QAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;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;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-tabs.mjs","sources":["../../../../packages/formlyantd/tabs/src/tabs.wrapper.ts","../../../../packages/formlyantd/tabs/src/tabs.module.ts","../../../../packages/formlyantd/tabs/src/ngx-formly-zorro-antd-tabs.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { TabsProps } from './tabs.props';\r\n\r\nexport interface FormlyTabsWrapperConfig extends FormlyFieldConfig<TabsProps> {\r\n wrappers: ('tabs' | Type<FormlyWrapperTabs>)[];\r\n}\r\n\r\n@Component({\r\n selector: 'formly-wrapper-tabs',\r\n template: `<nz-tabset\r\n [(nzSelectedIndex)]=\"props['selectedIndex']\"\r\n [nzAnimated]=\"props['animated']!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzTabBarExtraContent]=\"props['tabBarExtraContent']\"\r\n [nzTabBarStyle]=\"props['tabBarStyle'] ?? null\"\r\n [nzTabPosition]=\"props['tabPosition']!\"\r\n [nzType]=\"props['type']!\"\r\n [nzTabBarGutter]=\"props['tabBarGutter']\"\r\n [nzHideAll]=\"props['hideAll']!!\"\r\n [nzLinkRouter]=\"props['linkRouter']!!\"\r\n [nzLinkExact]=\"props['linkExact']!!\"\r\n [nzCanDeactivate]=\"props['canDeactivate'] ?? null\"\r\n [nzHideAdd]=\"props['hideAdd']!!\"\r\n [nzAddIcon]=\"props['addIcon']!\"\r\n (nzSelectedIndexChange)=\"\r\n props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)\r\n \"\r\n (nzSelectChange)=\"\r\n props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)\r\n \"\r\n (nzAdd)=\"props['onAdd'] && props['onAdd'](field)\"\r\n (nzClose)=\"props['onClose'] && props['onClose'](field, $event.index)\"\r\n >\r\n <nz-tab\r\n *ngFor=\"let tab of field.fieldGroup; let i = index; let last = last\"\r\n [nzTitle]=\"tab.props?.label || ''\"\r\n [nzForceRender]=\"tab.props!['tab']?.forceRender\"\r\n [nzDisabled]=\"tab.props!['tab']?.disabled\"\r\n (nzClick)=\"tab.props!['tab']?.click && tab.props!['tab']?.click()\"\r\n (nzContextmenu)=\"tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)\"\r\n (nzSelect)=\"tab.props!['tab']?.select && tab.props!['tab']?.select()\"\r\n (nzDeselect)=\"tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()\"\r\n >\r\n <formly-field [field]=\"tab\"></formly-field>\r\n </nz-tab>\r\n </nz-tabset>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyWrapperTabs extends FieldWrapper<FormlyFieldConfig<TabsProps>> {\r\n override defaultOptions = {\r\n props: {\r\n animated: true,\r\n size: 'default' as const,\r\n type: 'line' as const,\r\n tabPosition: 'top' as const,\r\n hideAll: false,\r\n linkRouter: false,\r\n linkExact: true,\r\n centered: false,\r\n hideAdd: false,\r\n tab: {\r\n forceRender: false,\r\n disabled: false\r\n }\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyWrapperTabs } from './tabs.wrapper';\r\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperTabs],\r\n imports: [\r\n CommonModule,\r\n\r\n NzTabsModule,\r\n\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'tabs',\r\n component: FormlyWrapperTabs\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTabsModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAkDM,MAAO,iBAAkB,SAAQ,YAA0C,CAAA;AAzCjF,IAAA,WAAA,GAAA;;QA0CW,IAAA,CAAA,cAAc,GA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,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAYH,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAd3B,YAAY;QAEZ,YAAY;QAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,YAAA,QAAQ,EAAE;AACR,gBAAA;AACE,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,SAAS,EAAE,iBAAiB;AAC7B,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAjB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBAEZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,iBAAiB;AAC7B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACvBD;;AAEG;;;;"}
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i2 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i3 from '@angular/forms';
5
+ import * as i2 from '@angular/forms';
6
6
  import { ReactiveFormsModule } from '@angular/forms';
7
7
  import * as i4 from '@ngx-formly/core';
8
8
  import { FieldType, FormlyModule } from '@ngx-formly/core';
9
9
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
10
- import * as i1 from 'ng-zorro-antd/input';
10
+ import * as i3 from 'ng-zorro-antd/input';
11
11
  import { NzInputModule } from 'ng-zorro-antd/input';
12
12
 
13
13
  class FormlyFieldTextarea extends FieldType {
@@ -22,8 +22,8 @@ class FormlyFieldTextarea extends FieldType {
22
22
  };
23
23
  }
24
24
  }
25
- FormlyFieldTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
- FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
25
+ FormlyFieldTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
+ FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
27
27
  <nz-textarea-count
28
28
  *ngIf="props['maxCharacterCount']; else textarea"
29
29
  [nzMaxCharacterCount]="props['maxCharacterCount']"
@@ -52,8 +52,8 @@ FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
52
52
  [nzAutosize]="props['autosize']!"
53
53
  ></textarea>
54
54
  </ng-template>
55
- `, isInline: true, components: [{ type: i1.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
55
+ `, 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: 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", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
57
57
  type: Component,
58
58
  args: [{
59
59
  selector: 'formly-field-textarea',
@@ -93,27 +93,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
93
93
 
94
94
  class FormlyNzTextareaModule {
95
95
  }
96
- FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
97
- FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
96
+ FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
97
+ FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
98
98
  ReactiveFormsModule,
99
99
  FormlyNzFormFieldModule,
100
100
  NzInputModule, i4.FormlyModule] });
101
- FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, imports: [[
102
- CommonModule,
103
- ReactiveFormsModule,
104
- FormlyNzFormFieldModule,
105
- NzInputModule,
106
- FormlyModule.forChild({
107
- types: [
108
- {
109
- name: 'textarea',
110
- component: FormlyFieldTextarea,
111
- wrappers: ['form-field']
112
- }
113
- ]
114
- })
115
- ]] });
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
101
+ FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
102
+ ReactiveFormsModule,
103
+ FormlyNzFormFieldModule,
104
+ NzInputModule,
105
+ FormlyModule.forChild({
106
+ types: [
107
+ {
108
+ name: 'textarea',
109
+ component: FormlyFieldTextarea,
110
+ wrappers: ['form-field']
111
+ }
112
+ ]
113
+ })] });
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
117
115
  type: NgModule,
118
116
  args: [{
119
117
  declarations: [FormlyFieldTextarea],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-textarea.mjs","sources":["../../../../packages/formlyantd/textarea/src/textarea.type.ts","../../../../packages/formlyantd/textarea/src/textarea.module.ts","../../../../packages/formlyantd/textarea/src/ngx-formly-zorro-antd-textarea.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\n\r\ninterface TextareaProps extends FormlyFieldProps {\r\n /**\r\n * 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }\r\n * @default false\r\n */\r\n autosize?: boolean | { minRows: number; maxRows: number };\r\n\r\n /**\r\n * 是否隐藏边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * textarea 数字提示显示的最大值\r\n */\r\n maxCharacterCount?: number;\r\n}\r\n\r\nexport interface FormlyTextareaFieldConfig extends FormlyFieldConfig<TextareaProps> {\r\n type: 'textarea' | Type<FormlyFieldTextarea>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-textarea',\r\n template: `\r\n <nz-textarea-count\r\n *ngIf=\"props['maxCharacterCount']; else textarea\"\r\n [nzMaxCharacterCount]=\"props['maxCharacterCount']\"\r\n >\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [rows]=\"props.rows\"\r\n [cols]=\"props.cols\"\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutosize]=\"props['autosize']!\"\r\n ></textarea>\r\n </nz-textarea-count>\r\n\r\n <ng-template #textarea>\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [rows]=\"props.rows\"\r\n [cols]=\"props.cols\"\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutosize]=\"props['autosize']!\"\r\n ></textarea>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldTextarea extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n rows: 4,\r\n autosize: false,\r\n borderless: false\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 { FormlyFieldTextarea } from './textarea.type';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldTextarea],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzInputModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'textarea',\r\n component: FormlyFieldTextarea,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTextareaModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AA6DM,MAAO,mBAAoB,SAAQ,SAA0B,CAAA;AAlCnE,IAAA,WAAA,GAAA;;QAmCW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,CAAC;AACP,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,UAAU,EAAE,KAAK;AAClB,aAAA;SACF,CAAC;KACH;;iHARY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,EAhCpB,QAAA,EAAA,uBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BT,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,qBAAA,EAAA,yBAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,oCAAA,EAAA,MAAA,EAAA,CAAA,cAAA,EAAA,QAAA,EAAA,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/textarea.type.ts","../../../../packages/formlyantd/textarea/src/textarea.module.ts","../../../../packages/formlyantd/textarea/src/ngx-formly-zorro-antd-textarea.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\n\r\ninterface TextareaProps extends FormlyFieldProps {\r\n /**\r\n * 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }\r\n * @default false\r\n */\r\n autosize?: boolean | { minRows: number; maxRows: number };\r\n\r\n /**\r\n * 是否隐藏边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * textarea 数字提示显示的最大值\r\n */\r\n maxCharacterCount?: number;\r\n}\r\n\r\nexport interface FormlyTextareaFieldConfig extends FormlyFieldConfig<TextareaProps> {\r\n type: 'textarea' | Type<FormlyFieldTextarea>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-textarea',\r\n template: `\r\n <nz-textarea-count\r\n *ngIf=\"props['maxCharacterCount']; else textarea\"\r\n [nzMaxCharacterCount]=\"props['maxCharacterCount']\"\r\n >\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [rows]=\"props.rows\"\r\n [cols]=\"props.cols\"\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutosize]=\"props['autosize']!\"\r\n ></textarea>\r\n </nz-textarea-count>\r\n\r\n <ng-template #textarea>\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [rows]=\"props.rows\"\r\n [cols]=\"props.cols\"\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutosize]=\"props['autosize']!\"\r\n ></textarea>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldTextarea extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n rows: 4,\r\n autosize: false,\r\n borderless: false\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 { FormlyFieldTextarea } from './textarea.type';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldTextarea],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzInputModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'textarea',\r\n component: FormlyFieldTextarea,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTextareaModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AA6DM,MAAO,mBAAoB,SAAQ,SAA0B,CAAA;AAlCnE,IAAA,WAAA,GAAA;;QAmCW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,CAAC;AACP,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,UAAU,EAAE,KAAK;AAClB,aAAA;SACF,CAAC;KACH;;gHARY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAhCpB,QAAA,EAAA,uBAAA,EAAA,eAAA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,EAAE;AACL,gBAAA;AACE,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,SAAS,EAAE,mBAAmB;oBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,aAAa;wBAEb,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC3BD;;AAEG;;;;"}
@@ -1,13 +1,13 @@
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
- import * as i3 from '@ngx-formly/core';
5
+ import * as i4 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
7
  import * as i2 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 'ng-zorro-antd/time-picker';
10
+ import * as i3 from 'ng-zorro-antd/time-picker';
11
11
  import { NzTimePickerModule } from 'ng-zorro-antd/time-picker';
12
12
 
13
13
  class FormlyFieldTimepicker extends FieldType {
@@ -26,8 +26,8 @@ class FormlyFieldTimepicker extends FieldType {
26
26
  };
27
27
  }
28
28
  }
29
- FormlyFieldTimepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component });
30
- FormlyFieldTimepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldTimepicker, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
29
+ FormlyFieldTimepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component });
30
+ FormlyFieldTimepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldTimepicker, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
31
31
  #time
32
32
  [formControl]="formControl"
33
33
  [formlyAttributes]="field"
@@ -56,8 +56,8 @@ FormlyFieldTimepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
56
56
  [nzSuffixIcon]="props['suffixIcon']"
57
57
  (ngModelChange)="props.change && props.change(field, $event)"
58
58
  (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
59
- ></nz-time-picker>`, isInline: true, components: [{ type: i1.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"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }], 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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
59
+ ></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"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
61
61
  type: Component,
62
62
  args: [{
63
63
  selector: 'formly-field-timepicker',
@@ -97,27 +97,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
97
97
 
98
98
  class FormlyNzTimepickerModule {
99
99
  }
100
- FormlyNzTimepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
101
- FormlyNzTimepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
100
+ FormlyNzTimepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
101
+ FormlyNzTimepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
102
102
  ReactiveFormsModule,
103
103
  FormlyNzFormFieldModule,
104
- NzTimePickerModule, i3.FormlyModule] });
105
- FormlyNzTimepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTimepickerModule, imports: [[
106
- CommonModule,
107
- ReactiveFormsModule,
108
- FormlyNzFormFieldModule,
109
- NzTimePickerModule,
110
- FormlyModule.forChild({
111
- types: [
112
- {
113
- name: 'timepicker',
114
- component: FormlyFieldTimepicker,
115
- wrappers: ['form-field']
116
- }
117
- ]
118
- })
119
- ]] });
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
104
+ NzTimePickerModule, i4.FormlyModule] });
105
+ FormlyNzTimepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
106
+ ReactiveFormsModule,
107
+ FormlyNzFormFieldModule,
108
+ NzTimePickerModule,
109
+ FormlyModule.forChild({
110
+ types: [
111
+ {
112
+ name: 'timepicker',
113
+ component: FormlyFieldTimepicker,
114
+ wrappers: ['form-field']
115
+ }
116
+ ]
117
+ })] });
118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
121
119
  type: NgModule,
122
120
  args: [{
123
121
  declarations: [FormlyFieldTimepicker],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-timepicker.mjs","sources":["../../../../packages/formlyantd/timepicker/src/timepicker.type.ts","../../../../packages/formlyantd/timepicker/src/timepicker.module.ts","../../../../packages/formlyantd/timepicker/src/ngx-formly-zorro-antd-timepicker.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { DatePipe } from '@angular/common';\r\nimport { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\n\r\ninterface TimepickerProps extends FormlyFieldProps {\r\n /**\r\n * 选择框底部显示自定义的内容\r\n */\r\n addOn?: TemplateRef<void>;\r\n\r\n /**\r\n * 是否展示清除按钮\r\n * @default true\r\n */\r\n allowEmpty?: 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 false\r\n */\r\n backdrop?: boolean;\r\n\r\n /**\r\n * 清除按钮的提示文案\r\n * @default clear\r\n */\r\n clearText?: string;\r\n\r\n /**\r\n * 此刻按钮文本\r\n * @default 此刻\r\n */\r\n nowText?: string;\r\n\r\n /**\r\n * 确认按钮文本\r\n * @default 确定\r\n */\r\n okText?: string;\r\n\r\n /**\r\n * 当 [ngModel] 不存在时,可以设置面板打开时默认选中的值\r\n * @default new Date()\r\n */\r\n defaultOpenValue?: Date;\r\n\r\n /**\r\n * \t禁止选择部分小时选项\r\n */\r\n disabledHours?: () => number[];\r\n\r\n /**\r\n * 禁止选择部分分钟选项\r\n */\r\n disabledMinutes?: (hour: number) => number[];\r\n\r\n /**\r\n * 禁止选择部分秒选项\r\n */\r\n disabledSeconds?: (hour: number, minute: number) => number[];\r\n\r\n /**\r\n * 展示的时间格式\r\n * @default \"HH:mm:ss\"\r\n */\r\n format?: DatePipe;\r\n\r\n /**\r\n * 隐藏禁止选择的选项\r\n * @default false\r\n */\r\n hideDisabledOptions?: boolean;\r\n\r\n /**\r\n * 小时选项间隔\r\n * @default 1\r\n */\r\n hourStep?: number;\r\n\r\n /**\r\n * 分钟选项间隔\r\n * @default 1\r\n */\r\n minuteStep?: number;\r\n\r\n /**\r\n * 秒选项间隔\r\n * @default 1\r\n */\r\n secondStep?: number;\r\n\r\n /**\r\n * 面板是否打开,可双向绑定\r\n * @default false\r\n */\r\n open?: boolean;\r\n\r\n /**\r\n * 弹出层类名\r\n * @default '''\r\n */\r\n popupClassName?: string;\r\n\r\n /**\r\n * 使用12小时制,为true时format默认为h:mm:ss a\r\n * @default false\r\n */\r\n use12Hours?: boolean;\r\n /**\r\n * 无边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * 自定义的后缀图标\r\n *\r\n */\r\n suffixIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 面板打开/关闭时的回调\r\n */\r\n openChange?: (field: FormlyFieldConfig, value: boolean) => void;\r\n}\r\n\r\nexport interface FormlyTimepickerFieldConfig extends FormlyFieldConfig<TimepickerProps> {\r\n type: 'timepicker' | Type<FormlyFieldTimepicker>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-timepicker',\r\n template: `<nz-time-picker\r\n #time\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [ngClass]=\"props['className']\"\r\n [nzAddOn]=\"props['addOn']\"\r\n [nzAllowEmpty]=\"props['allowEmpty']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzClearText]=\"props['clearText']\"\r\n [nzNowText]=\"props['nowText']\"\r\n [nzOkText]=\"props['okText']\"\r\n [nzDefaultOpenValue]=\"props['defaultOpenValue']\"\r\n [nzDisabledHours]=\"props['disabledHours']\"\r\n [nzDisabledMinutes]=\"props['disabledMinutes']\"\r\n [nzDisabledSeconds]=\"props['disabledSeconds']\"\r\n [nzFormat]=\"props['format']\"\r\n [nzHideDisabledOptions]=\"props['hideDisabledOptions']!!\"\r\n [nzHourStep]=\"props['hourStep']\"\r\n [nzBorderless]=\"!!props['borderless']\"\r\n [nzMinuteStep]=\"props['minuteStep']\"\r\n [nzSecondStep]=\"props['secondStep']\"\r\n [nzOpen]=\"props['open']!!\"\r\n [nzPopupClassName]=\"props['popupClassName']\"\r\n [nzUse12Hours]=\"props['use12Hours']!!\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n ></nz-time-picker>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldTimepicker extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n allowEmpty: true,\r\n autoFocus: false,\r\n backdrop: false,\r\n open: false,\r\n clearText: 'clear',\r\n defaultOpenValue: new Date(),\r\n format: 'HH:mm:ss' as NzSafeAny\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzTimePickerModule } from 'ng-zorro-antd/time-picker';\r\nimport { FormlyFieldTimepicker } from './timepicker.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldTimepicker],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzTimePickerModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'timepicker',\r\n component: FormlyFieldTimepicker,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTimepickerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AA6KM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AAlCrE,IAAA,WAAA,GAAA;;QAmCW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,SAAS,EAAE,OAAO;gBAClB,gBAAgB,EAAE,IAAI,IAAI,EAAE;AAC5B,gBAAA,MAAM,EAAE,UAAuB;AAChC,aAAA;SACF,CAAC;KACH;;mHAZY,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,EAhCtB,QAAA,EAAA,yBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BS,oBAAA,CAAA,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K,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC5BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-timepicker.mjs","sources":["../../../../packages/formlyantd/timepicker/src/timepicker.type.ts","../../../../packages/formlyantd/timepicker/src/timepicker.module.ts","../../../../packages/formlyantd/timepicker/src/ngx-formly-zorro-antd-timepicker.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { DatePipe } from '@angular/common';\r\nimport { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\n\r\ninterface TimepickerProps extends FormlyFieldProps {\r\n /**\r\n * 选择框底部显示自定义的内容\r\n */\r\n addOn?: TemplateRef<void>;\r\n\r\n /**\r\n * 是否展示清除按钮\r\n * @default true\r\n */\r\n allowEmpty?: 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 false\r\n */\r\n backdrop?: boolean;\r\n\r\n /**\r\n * 清除按钮的提示文案\r\n * @default clear\r\n */\r\n clearText?: string;\r\n\r\n /**\r\n * 此刻按钮文本\r\n * @default 此刻\r\n */\r\n nowText?: string;\r\n\r\n /**\r\n * 确认按钮文本\r\n * @default 确定\r\n */\r\n okText?: string;\r\n\r\n /**\r\n * 当 [ngModel] 不存在时,可以设置面板打开时默认选中的值\r\n * @default new Date()\r\n */\r\n defaultOpenValue?: Date;\r\n\r\n /**\r\n * \t禁止选择部分小时选项\r\n */\r\n disabledHours?: () => number[];\r\n\r\n /**\r\n * 禁止选择部分分钟选项\r\n */\r\n disabledMinutes?: (hour: number) => number[];\r\n\r\n /**\r\n * 禁止选择部分秒选项\r\n */\r\n disabledSeconds?: (hour: number, minute: number) => number[];\r\n\r\n /**\r\n * 展示的时间格式\r\n * @default \"HH:mm:ss\"\r\n */\r\n format?: DatePipe;\r\n\r\n /**\r\n * 隐藏禁止选择的选项\r\n * @default false\r\n */\r\n hideDisabledOptions?: boolean;\r\n\r\n /**\r\n * 小时选项间隔\r\n * @default 1\r\n */\r\n hourStep?: number;\r\n\r\n /**\r\n * 分钟选项间隔\r\n * @default 1\r\n */\r\n minuteStep?: number;\r\n\r\n /**\r\n * 秒选项间隔\r\n * @default 1\r\n */\r\n secondStep?: number;\r\n\r\n /**\r\n * 面板是否打开,可双向绑定\r\n * @default false\r\n */\r\n open?: boolean;\r\n\r\n /**\r\n * 弹出层类名\r\n * @default '''\r\n */\r\n popupClassName?: string;\r\n\r\n /**\r\n * 使用12小时制,为true时format默认为h:mm:ss a\r\n * @default false\r\n */\r\n use12Hours?: boolean;\r\n /**\r\n * 无边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * 自定义的后缀图标\r\n *\r\n */\r\n suffixIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 面板打开/关闭时的回调\r\n */\r\n openChange?: (field: FormlyFieldConfig, value: boolean) => void;\r\n}\r\n\r\nexport interface FormlyTimepickerFieldConfig extends FormlyFieldConfig<TimepickerProps> {\r\n type: 'timepicker' | Type<FormlyFieldTimepicker>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-timepicker',\r\n template: `<nz-time-picker\r\n #time\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [ngClass]=\"props['className']\"\r\n [nzAddOn]=\"props['addOn']\"\r\n [nzAllowEmpty]=\"props['allowEmpty']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzClearText]=\"props['clearText']\"\r\n [nzNowText]=\"props['nowText']\"\r\n [nzOkText]=\"props['okText']\"\r\n [nzDefaultOpenValue]=\"props['defaultOpenValue']\"\r\n [nzDisabledHours]=\"props['disabledHours']\"\r\n [nzDisabledMinutes]=\"props['disabledMinutes']\"\r\n [nzDisabledSeconds]=\"props['disabledSeconds']\"\r\n [nzFormat]=\"props['format']\"\r\n [nzHideDisabledOptions]=\"props['hideDisabledOptions']!!\"\r\n [nzHourStep]=\"props['hourStep']\"\r\n [nzBorderless]=\"!!props['borderless']\"\r\n [nzMinuteStep]=\"props['minuteStep']\"\r\n [nzSecondStep]=\"props['secondStep']\"\r\n [nzOpen]=\"props['open']!!\"\r\n [nzPopupClassName]=\"props['popupClassName']\"\r\n [nzUse12Hours]=\"props['use12Hours']!!\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n ></nz-time-picker>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldTimepicker extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n allowEmpty: true,\r\n autoFocus: false,\r\n backdrop: false,\r\n open: false,\r\n clearText: 'clear',\r\n defaultOpenValue: new Date(),\r\n format: 'HH:mm:ss' as NzSafeAny\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzTimePickerModule } from 'ng-zorro-antd/time-picker';\r\nimport { FormlyFieldTimepicker } from './timepicker.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldTimepicker],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzTimePickerModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'timepicker',\r\n component: FormlyFieldTimepicker,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTimepickerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AA6KM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AAlCrE,IAAA,WAAA,GAAA;;QAmCW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,SAAS,EAAE,OAAO;gBAClB,gBAAgB,EAAE,IAAI,IAAI,EAAE;AAC5B,gBAAA,MAAM,EAAE,UAAuB;AAChC,aAAA;SACF,CAAC;KACH;;kHAZY,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,EAhCtB,QAAA,EAAA,yBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6BS,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,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C,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC5BD;;AAEG;;;;"}
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, Input, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import * as i3 from '@ngx-formly/core';
4
+ import * as i2 from '@ngx-formly/core';
5
5
  import { FieldType, FormlyModule } from '@ngx-formly/core';
6
- import * as i2 from '@angular/forms';
6
+ import * as i1$1 from '@angular/forms';
7
7
  import { NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';
8
8
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
9
9
  import * as i1 from 'ng-zorro-antd/transfer';
@@ -54,8 +54,8 @@ class TransferComponent extends NzTransferComponent {
54
54
  this.nzSearchChange.emit(value);
55
55
  }
56
56
  }
57
- TransferComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TransferComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
58
- TransferComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TransferComponent, selector: "formly-transfer", inputs: { resultMap: "resultMap" }, providers: [
57
+ TransferComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TransferComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
58
+ TransferComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: TransferComponent, selector: "formly-transfer", inputs: { resultMap: "resultMap" }, providers: [
59
59
  {
60
60
  provide: NG_VALUE_ACCESSOR,
61
61
  useExisting: TransferComponent,
@@ -85,8 +85,8 @@ TransferComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
85
85
  (nzSelectChange)="selectChange($event)"
86
86
  style="flex: auto;"
87
87
  ></nz-transfer>
88
- `, isInline: true, components: [{ 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 });
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TransferComponent, decorators: [{
88
+ `, isInline: true, dependencies: [{ kind: "component", type: i1.NzTransferComponent, selector: "nz-transfer", inputs: ["nzDisabled", "nzDataSource", "nzTitles", "nzOperations", "nzListStyle", "nzShowSelectAll", "nzItemUnit", "nzItemsUnit", "nzCanMove", "nzRenderList", "nzRender", "nzFooter", "nzShowSearch", "nzFilterOption", "nzSearchPlaceholder", "nzNotFoundContent", "nzTargetKeys", "nzSelectedKeys", "nzStatus"], outputs: ["nzChange", "nzSearchChange", "nzSelectChange"], exportAs: ["nzTransfer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TransferComponent, decorators: [{
90
90
  type: Component,
91
91
  args: [{
92
92
  selector: 'formly-transfer',
@@ -152,8 +152,8 @@ class FormlyFieldTransfer extends FieldType {
152
152
  }
153
153
  }
154
154
  }
155
- FormlyFieldTransfer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTransfer, deps: null, target: i0.ɵɵFactoryTarget.Component });
156
- FormlyFieldTransfer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldTransfer, selector: "formly-field-transfer", viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-transfer
155
+ FormlyFieldTransfer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTransfer, deps: null, target: i0.ɵɵFactoryTarget.Component });
156
+ FormlyFieldTransfer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldTransfer, selector: "formly-field-transfer", viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-transfer
157
157
  #transfer
158
158
  [formControl]="formControl"
159
159
  [formlyAttributes]="field"
@@ -176,8 +176,8 @@ FormlyFieldTransfer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
176
176
  (nzChange)="props['onChange'] && props['onChange']($event)"
177
177
  (nzSearchChange)="props['searchChange'] && props['searchChange'](field, $event)"
178
178
  (nzSelectChange)="props['selectChange'] && props['selectChange'](field, $event)"
179
- ></formly-transfer>`, isInline: true, components: [{ type: TransferComponent, selector: "formly-transfer", inputs: ["resultMap"] }], 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 });
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTransfer, decorators: [{
179
+ ></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 });
180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTransfer, decorators: [{
181
181
  type: Component,
182
182
  args: [{
183
183
  selector: 'formly-field-transfer',
@@ -214,27 +214,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
214
214
 
215
215
  class FormlyNzTransferModule {
216
216
  }
217
- FormlyNzTransferModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTransferModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
218
- FormlyNzTransferModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTransferModule, declarations: [FormlyFieldTransfer, TransferComponent], imports: [CommonModule,
217
+ FormlyNzTransferModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTransferModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
218
+ FormlyNzTransferModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTransferModule, declarations: [FormlyFieldTransfer, TransferComponent], imports: [CommonModule,
219
219
  ReactiveFormsModule,
220
220
  FormlyNzFormFieldModule,
221
- NzTransferModule, i3.FormlyModule] });
222
- FormlyNzTransferModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTransferModule, imports: [[
223
- CommonModule,
224
- ReactiveFormsModule,
225
- FormlyNzFormFieldModule,
226
- NzTransferModule,
227
- FormlyModule.forChild({
228
- types: [
229
- {
230
- name: 'transfer',
231
- component: FormlyFieldTransfer,
232
- wrappers: ['form-field']
233
- }
234
- ]
235
- })
236
- ]] });
237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTransferModule, decorators: [{
221
+ NzTransferModule, i2.FormlyModule] });
222
+ FormlyNzTransferModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTransferModule, imports: [CommonModule,
223
+ ReactiveFormsModule,
224
+ FormlyNzFormFieldModule,
225
+ NzTransferModule,
226
+ FormlyModule.forChild({
227
+ types: [
228
+ {
229
+ name: 'transfer',
230
+ component: FormlyFieldTransfer,
231
+ wrappers: ['form-field']
232
+ }
233
+ ]
234
+ })] });
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTransferModule, decorators: [{
238
236
  type: NgModule,
239
237
  args: [{
240
238
  declarations: [FormlyFieldTransfer, TransferComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-transfer.mjs","sources":["../../../../packages/formlyantd/transfer/src/transfer.component.ts","../../../../packages/formlyantd/transfer/src/transfer.type.ts","../../../../packages/formlyantd/transfer/src/transfer.module.ts","../../../../packages/formlyantd/transfer/src/ngx-formly-zorro-antd-transfer.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-empty-function */\r\nimport {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n Input,\r\n ViewChild,\r\n ViewEncapsulation\r\n} from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { NzTransferComponent } from 'ng-zorro-antd/transfer';\r\n\r\nimport type { OnChangeType, OnTouchedType, NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport type {\r\n TransferChange,\r\n TransferItem,\r\n TransferSearchChange,\r\n TransferSelectChange\r\n} from 'ng-zorro-antd/transfer';\r\n\r\n@Component({\r\n selector: 'formly-transfer',\r\n template: `\r\n <nz-transfer\r\n #transfer\r\n [nzDataSource]=\"nzDataSource\"\r\n [nzDisabled]=\"nzDisabled\"\r\n [nzTitles]=\"nzTitles\"\r\n [nzOperations]=\"nzOperations\"\r\n [nzListStyle]=\"nzListStyle\"\r\n [nzItemUnit]=\"nzItemUnit\"\r\n [nzItemsUnit]=\"nzItemsUnit\"\r\n [nzRenderList]=\"nzRenderList\"\r\n [nzRender]=\"nzRender\"\r\n [nzFooter]=\"nzFooter\"\r\n [nzShowSearch]=\"nzShowSearch\"\r\n [nzFilterOption]=\"nzFilterOption\"\r\n [nzSearchPlaceholder]=\"nzSearchPlaceholder\"\r\n [nzNotFoundContent]=\"nzNotFoundContent\"\r\n [nzSelectedKeys]=\"nzSelectedKeys\"\r\n [nzTargetKeys]=\"nzTargetKeys\"\r\n (nzChange)=\"change($event)\"\r\n (nzSearchChange)=\"searchChange($event)\"\r\n (nzSelectChange)=\"selectChange($event)\"\r\n style=\"flex: auto;\"\r\n ></nz-transfer>\r\n `,\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: TransferComponent,\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class TransferComponent extends NzTransferComponent implements ControlValueAccessor {\r\n @ViewChild('transfer', { static: true }) transfer!: NzTransferComponent;\r\n @Input() resultMap?: (items: TransferItem[]) => NzSafeAny[];\r\n\r\n onChange: OnChangeType = () => {};\r\n onTouched: OnTouchedType = () => {};\r\n writeValue(obj: NzSafeAny): void {\r\n setTimeout(() => {\r\n this.nzTargetKeys = obj;\r\n (this['cdr'] as ChangeDetectorRef).markForCheck();\r\n this.onChange(this.transfer.rightDataSource);\r\n }, 0);\r\n }\r\n registerOnChange(fn: NzSafeAny): void {\r\n this.onChange = fn;\r\n }\r\n registerOnTouched(fn: NzSafeAny): void {\r\n this.onTouched = fn;\r\n }\r\n setDisabledState?(isDisabled: boolean): void {\r\n this.nzDisabled = isDisabled;\r\n }\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n change(value: TransferChange): void {\r\n if (this.resultMap instanceof Function) {\r\n this.onChange(this.resultMap(this.transfer.rightDataSource));\r\n } else {\r\n this.onChange(this.transfer.rightDataSource);\r\n }\r\n }\r\n\r\n /**\r\n * 选中项发生改变时的回调函数\r\n */\r\n selectChange(value: TransferSelectChange) {\r\n this.nzSelectChange.emit(value);\r\n }\r\n\r\n /**\r\n * 搜索框内容时改变时的回调函数\r\n */\r\n searchChange(value: TransferSearchChange) {\r\n this.nzSearchChange.emit(value);\r\n }\r\n}\r\n","import {\r\n Component,\r\n ChangeDetectionStrategy,\r\n TemplateRef,\r\n Type,\r\n ViewChild,\r\n OnInit\r\n} from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport {\r\n NzTransferComponent,\r\n TransferCanMove,\r\n TransferChange,\r\n TransferItem,\r\n TransferSearchChange,\r\n TransferSelectChange\r\n} from 'ng-zorro-antd/transfer';\r\nimport type { NzSafeAny, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface TransferProps extends FormlyFieldProps {\r\n /**\r\n * 数据源,其中若数据属性 direction: 'right' 将会被渲染到右边一栏中或使用 nzTargetKeys\r\n * @default []\r\n */\r\n dataSource?: TransferItem[];\r\n\r\n /**\r\n * 标题集合,顺序从左至右\r\n * @default ['', '']\r\n */\r\n titles?: string[];\r\n\r\n /**\r\n * 操作文案集合,顺序从下至上\r\n * @default ['', '']\r\n */\r\n operations?: string[];\r\n\r\n /**\r\n * 两个穿梭框的自定义样式,等同 ngStyle\r\n */\r\n listStyle?: NgStyleInterface;\r\n\r\n /**\r\n * 单数单位\r\n * @default 项目\r\n */\r\n itemUnit?: string;\r\n\r\n /**\r\n * 复数单位\r\n * @default 项目\r\n */\r\n itemsUnit?: string;\r\n\r\n /**\r\n * 自定义渲染列表,见示例\r\n * @default [null, null]\r\n */\r\n renderList?: Array<TemplateRef<NzSafeAny> | null> | null;\r\n\r\n /**\r\n * 每行数据渲染模板,见示例\r\n */\r\n render?: TemplateRef<NzSafeAny> | null;\r\n\r\n /**\r\n * 底部渲染模板,见示例\r\n */\r\n footer?: TemplateRef<NzSafeAny> | null;\r\n\r\n /**\r\n * 是否显示搜索框\r\n * @default false\r\n */\r\n showSearch?: boolean;\r\n\r\n /**\r\n * 接收 inputValueoption 两个参数,当 option 符合筛选条件时,应返回 true,反之则返回 false。\r\n */\r\n filterOption?: (inputValue: string, item: TransferItem) => boolean;\r\n\r\n /**\r\n * 搜索框的默认值\r\n * @default 请输入搜索内容\r\n */\r\n searchPlaceholder?: string;\r\n\r\n /**\r\n * 当列表为空时显示的内容\r\n * @default 列表为空\r\n */\r\n notFoundContent?: string;\r\n\r\n /**\r\n * 穿梭时二次校验。注意: 穿梭组件内部始终只保留一份数据,二次校验过程中需取消穿梭项则直接删除该项;具体用法见示例。\r\n */\r\n canMove?: (arg: TransferCanMove) => Observable<TransferItem[]>;\r\n\r\n /**\r\n * 设置被选中的 key 集合\r\n */\r\n selectedKeys?: string[];\r\n\r\n /**\r\n * 显示在右侧框数据的 key 集合\r\n */\r\n targetKeys?: string[];\r\n\r\n /**\r\n * 选项在两栏之间转移时的回调函数\r\n */\r\n onChange?: (value: TransferChange) => void;\r\n\r\n /**\r\n * 搜索框内容时改变时的回调函数\r\n */\r\n searchChange?: (field: FormlyFieldConfig, value: TransferSearchChange) => void;\r\n\r\n /**\r\n * 选中项发生改变时的回调函数\r\n */\r\n selectChange?: (field: FormlyFieldConfig, value: TransferSelectChange) => void;\r\n\r\n /**\r\n * 返回结果格式映射\r\n * @returns 默认返回 TransferItem[] 格式\r\n */\r\n resultMap?: (items: TransferItem[]) => NzSafeAny[];\r\n}\r\n\r\nexport interface FormlyTransferFieldConfig extends FormlyFieldConfig<TransferProps> {\r\n type: 'transfer' | Type<FormlyFieldTransfer>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-transfer',\r\n template: `<formly-transfer\r\n #transfer\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzDataSource]=\"props['dataSource']\"\r\n [nzTitles]=\"props['titles']\"\r\n [nzOperations]=\"props['operations']\"\r\n [nzListStyle]=\"props['listStyle']\"\r\n [nzItemUnit]=\"props['itemUnit']\"\r\n [nzItemsUnit]=\"props['itemsUnit']\"\r\n [nzRenderList]=\"props['renderList']!\"\r\n [nzRender]=\"props['render'] ?? null\"\r\n [nzFooter]=\"props['footer'] ?? null\"\r\n [nzShowSearch]=\"props['showSearch']!!\"\r\n [nzFilterOption]=\"props['filterOption']\"\r\n [nzSearchPlaceholder]=\"props['searchPlaceholder']\"\r\n [nzNotFoundContent]=\"props['notFoundContent']\"\r\n [nzSelectedKeys]=\"props['selectedKeys']\"\r\n [nzTargetKeys]=\"props['targetKeys']\"\r\n [resultMap]=\"props['resultMap']\"\r\n (nzChange)=\"props['onChange'] && props['onChange']($event)\"\r\n (nzSearchChange)=\"props['searchChange'] && props['searchChange'](field, $event)\"\r\n (nzSelectChange)=\"props['selectChange'] && props['selectChange'](field, $event)\"\r\n ></formly-transfer>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldTransfer extends FieldType<FieldTypeConfig> implements OnInit {\r\n override defaultOptions = {\r\n props: {\r\n dataSource: [],\r\n titles: ['', ''],\r\n operations: ['', ''],\r\n renderList: [null, null],\r\n listStyle: {}\r\n }\r\n };\r\n\r\n @ViewChild('transfer', { static: true }) transfer!: NzTransferComponent;\r\n\r\n ngOnInit(): void {\r\n const canMove = this.props['canMove'];\r\n if (canMove !== null && canMove !== undefined) {\r\n this.transfer.nzCanMove = canMove;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzTransferModule } from 'ng-zorro-antd/transfer';\r\nimport { FormlyFieldTransfer } from './transfer.type';\r\nimport { TransferComponent } from './transfer.component';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldTransfer, TransferComponent],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzTransferModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'transfer',\r\n component: FormlyFieldTransfer,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTransferModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1.TransferComponent","i1"],"mappings":";;;;;;;;;;;AAAA;AAyDM,MAAO,iBAAkB,SAAQ,mBAAmB,CAAA;AArC1D,IAAA,WAAA,GAAA;;AAyCE,QAAA,IAAA,CAAA,QAAQ,GAAiB,MAAK,GAAG,CAAC;AAClC,QAAA,IAAA,CAAA,SAAS,GAAkB,MAAK,GAAG,CAAC;KAwCrC;AAvCC,IAAA,UAAU,CAAC,GAAc,EAAA;QACvB,UAAU,CAAC,MAAK;AACd,YAAA,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC;AACvB,YAAA,IAAI,CAAC,KAAK,CAAuB,CAAC,YAAY,EAAE,CAAC;YAClD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;SAC9C,EAAE,CAAC,CAA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,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC7BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-transfer.mjs","sources":["../../../../packages/formlyantd/transfer/src/transfer.component.ts","../../../../packages/formlyantd/transfer/src/transfer.type.ts","../../../../packages/formlyantd/transfer/src/transfer.module.ts","../../../../packages/formlyantd/transfer/src/ngx-formly-zorro-antd-transfer.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-empty-function */\r\nimport {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n Input,\r\n ViewChild,\r\n ViewEncapsulation\r\n} from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { NzTransferComponent } from 'ng-zorro-antd/transfer';\r\n\r\nimport type { OnChangeType, OnTouchedType, NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport type {\r\n TransferChange,\r\n TransferItem,\r\n TransferSearchChange,\r\n TransferSelectChange\r\n} from 'ng-zorro-antd/transfer';\r\n\r\n@Component({\r\n selector: 'formly-transfer',\r\n template: `\r\n <nz-transfer\r\n #transfer\r\n [nzDataSource]=\"nzDataSource\"\r\n [nzDisabled]=\"nzDisabled\"\r\n [nzTitles]=\"nzTitles\"\r\n [nzOperations]=\"nzOperations\"\r\n [nzListStyle]=\"nzListStyle\"\r\n [nzItemUnit]=\"nzItemUnit\"\r\n [nzItemsUnit]=\"nzItemsUnit\"\r\n [nzRenderList]=\"nzRenderList\"\r\n [nzRender]=\"nzRender\"\r\n [nzFooter]=\"nzFooter\"\r\n [nzShowSearch]=\"nzShowSearch\"\r\n [nzFilterOption]=\"nzFilterOption\"\r\n [nzSearchPlaceholder]=\"nzSearchPlaceholder\"\r\n [nzNotFoundContent]=\"nzNotFoundContent\"\r\n [nzSelectedKeys]=\"nzSelectedKeys\"\r\n [nzTargetKeys]=\"nzTargetKeys\"\r\n (nzChange)=\"change($event)\"\r\n (nzSearchChange)=\"searchChange($event)\"\r\n (nzSelectChange)=\"selectChange($event)\"\r\n style=\"flex: auto;\"\r\n ></nz-transfer>\r\n `,\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: TransferComponent,\r\n multi: true\r\n }\r\n ]\r\n})\r\nexport class TransferComponent extends NzTransferComponent implements ControlValueAccessor {\r\n @ViewChild('transfer', { static: true }) transfer!: NzTransferComponent;\r\n @Input() resultMap?: (items: TransferItem[]) => NzSafeAny[];\r\n\r\n onChange: OnChangeType = () => {};\r\n onTouched: OnTouchedType = () => {};\r\n writeValue(obj: NzSafeAny): void {\r\n setTimeout(() => {\r\n this.nzTargetKeys = obj;\r\n (this['cdr'] as ChangeDetectorRef).markForCheck();\r\n this.onChange(this.transfer.rightDataSource);\r\n }, 0);\r\n }\r\n registerOnChange(fn: NzSafeAny): void {\r\n this.onChange = fn;\r\n }\r\n registerOnTouched(fn: NzSafeAny): void {\r\n this.onTouched = fn;\r\n }\r\n setDisabledState?(isDisabled: boolean): void {\r\n this.nzDisabled = isDisabled;\r\n }\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n change(value: TransferChange): void {\r\n if (this.resultMap instanceof Function) {\r\n this.onChange(this.resultMap(this.transfer.rightDataSource));\r\n } else {\r\n this.onChange(this.transfer.rightDataSource);\r\n }\r\n }\r\n\r\n /**\r\n * 选中项发生改变时的回调函数\r\n */\r\n selectChange(value: TransferSelectChange) {\r\n this.nzSelectChange.emit(value);\r\n }\r\n\r\n /**\r\n * 搜索框内容时改变时的回调函数\r\n */\r\n searchChange(value: TransferSearchChange) {\r\n this.nzSearchChange.emit(value);\r\n }\r\n}\r\n","import {\r\n Component,\r\n ChangeDetectionStrategy,\r\n TemplateRef,\r\n Type,\r\n ViewChild,\r\n OnInit\r\n} from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport {\r\n NzTransferComponent,\r\n TransferCanMove,\r\n TransferChange,\r\n TransferItem,\r\n TransferSearchChange,\r\n TransferSelectChange\r\n} from 'ng-zorro-antd/transfer';\r\nimport type { NzSafeAny, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface TransferProps extends FormlyFieldProps {\r\n /**\r\n * 数据源,其中若数据属性 direction: 'right' 将会被渲染到右边一栏中或使用 nzTargetKeys\r\n * @default []\r\n */\r\n dataSource?: TransferItem[];\r\n\r\n /**\r\n * 标题集合,顺序从左至右\r\n * @default ['', '']\r\n */\r\n titles?: string[];\r\n\r\n /**\r\n * 操作文案集合,顺序从下至上\r\n * @default ['', '']\r\n */\r\n operations?: string[];\r\n\r\n /**\r\n * 两个穿梭框的自定义样式,等同 ngStyle\r\n */\r\n listStyle?: NgStyleInterface;\r\n\r\n /**\r\n * 单数单位\r\n * @default 项目\r\n */\r\n itemUnit?: string;\r\n\r\n /**\r\n * 复数单位\r\n * @default 项目\r\n */\r\n itemsUnit?: string;\r\n\r\n /**\r\n * 自定义渲染列表,见示例\r\n * @default [null, null]\r\n */\r\n renderList?: Array<TemplateRef<NzSafeAny> | null> | null;\r\n\r\n /**\r\n * 每行数据渲染模板,见示例\r\n */\r\n render?: TemplateRef<NzSafeAny> | null;\r\n\r\n /**\r\n * 底部渲染模板,见示例\r\n */\r\n footer?: TemplateRef<NzSafeAny> | null;\r\n\r\n /**\r\n * 是否显示搜索框\r\n * @default false\r\n */\r\n showSearch?: boolean;\r\n\r\n /**\r\n * 接收 inputValueoption 两个参数,当 option 符合筛选条件时,应返回 true,反之则返回 false。\r\n */\r\n filterOption?: (inputValue: string, item: TransferItem) => boolean;\r\n\r\n /**\r\n * 搜索框的默认值\r\n * @default 请输入搜索内容\r\n */\r\n searchPlaceholder?: string;\r\n\r\n /**\r\n * 当列表为空时显示的内容\r\n * @default 列表为空\r\n */\r\n notFoundContent?: string;\r\n\r\n /**\r\n * 穿梭时二次校验。注意: 穿梭组件内部始终只保留一份数据,二次校验过程中需取消穿梭项则直接删除该项;具体用法见示例。\r\n */\r\n canMove?: (arg: TransferCanMove) => Observable<TransferItem[]>;\r\n\r\n /**\r\n * 设置被选中的 key 集合\r\n */\r\n selectedKeys?: string[];\r\n\r\n /**\r\n * 显示在右侧框数据的 key 集合\r\n */\r\n targetKeys?: string[];\r\n\r\n /**\r\n * 选项在两栏之间转移时的回调函数\r\n */\r\n onChange?: (value: TransferChange) => void;\r\n\r\n /**\r\n * 搜索框内容时改变时的回调函数\r\n */\r\n searchChange?: (field: FormlyFieldConfig, value: TransferSearchChange) => void;\r\n\r\n /**\r\n * 选中项发生改变时的回调函数\r\n */\r\n selectChange?: (field: FormlyFieldConfig, value: TransferSelectChange) => void;\r\n\r\n /**\r\n * 返回结果格式映射\r\n * @returns 默认返回 TransferItem[] 格式\r\n */\r\n resultMap?: (items: TransferItem[]) => NzSafeAny[];\r\n}\r\n\r\nexport interface FormlyTransferFieldConfig extends FormlyFieldConfig<TransferProps> {\r\n type: 'transfer' | Type<FormlyFieldTransfer>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-transfer',\r\n template: `<formly-transfer\r\n #transfer\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzDataSource]=\"props['dataSource']\"\r\n [nzTitles]=\"props['titles']\"\r\n [nzOperations]=\"props['operations']\"\r\n [nzListStyle]=\"props['listStyle']\"\r\n [nzItemUnit]=\"props['itemUnit']\"\r\n [nzItemsUnit]=\"props['itemsUnit']\"\r\n [nzRenderList]=\"props['renderList']!\"\r\n [nzRender]=\"props['render'] ?? null\"\r\n [nzFooter]=\"props['footer'] ?? null\"\r\n [nzShowSearch]=\"props['showSearch']!!\"\r\n [nzFilterOption]=\"props['filterOption']\"\r\n [nzSearchPlaceholder]=\"props['searchPlaceholder']\"\r\n [nzNotFoundContent]=\"props['notFoundContent']\"\r\n [nzSelectedKeys]=\"props['selectedKeys']\"\r\n [nzTargetKeys]=\"props['targetKeys']\"\r\n [resultMap]=\"props['resultMap']\"\r\n (nzChange)=\"props['onChange'] && props['onChange']($event)\"\r\n (nzSearchChange)=\"props['searchChange'] && props['searchChange'](field, $event)\"\r\n (nzSelectChange)=\"props['selectChange'] && props['selectChange'](field, $event)\"\r\n ></formly-transfer>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldTransfer extends FieldType<FieldTypeConfig> implements OnInit {\r\n override defaultOptions = {\r\n props: {\r\n dataSource: [],\r\n titles: ['', ''],\r\n operations: ['', ''],\r\n renderList: [null, null],\r\n listStyle: {}\r\n }\r\n };\r\n\r\n @ViewChild('transfer', { static: true }) transfer!: NzTransferComponent;\r\n\r\n ngOnInit(): void {\r\n const canMove = this.props['canMove'];\r\n if (canMove !== null && canMove !== undefined) {\r\n this.transfer.nzCanMove = canMove;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzTransferModule } from 'ng-zorro-antd/transfer';\r\nimport { FormlyFieldTransfer } from './transfer.type';\r\nimport { TransferComponent } from './transfer.component';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldTransfer, TransferComponent],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzTransferModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'transfer',\r\n component: FormlyFieldTransfer,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTransferModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1","i3.TransferComponent"],"mappings":";;;;;;;;;;;AAAA;AAyDM,MAAO,iBAAkB,SAAQ,mBAAmB,CAAA;AArC1D,IAAA,WAAA,GAAA;;AAyCE,QAAA,IAAA,CAAA,QAAQ,GAAiB,MAAK,GAAG,CAAC;AAClC,QAAA,IAAA,CAAA,SAAS,GAAkB,MAAK,GAAG,CAAC;KAwCrC;AAvCC,IAAA,UAAU,CAAC,GAAc,EAAA;QACvB,UAAU,CAAC,MAAK;AACd,YAAA,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC;AACvB,YAAA,IAAI,CAAC,KAAK,CAAuB,CAAC,YAAY,EAAE,CAAC;YAClD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;SAC9C,EAAE,CAAC,CAAC,CAAC;KACP;AACD,IAAA,gBAAgB,CAAC,EAAa,EAAA;AAC5B,QAAA,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;KACpB;AACD,IAAA,iBAAiB,CAAC,EAAa,EAAA;AAC7B,QAAA,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;KACrB;AACD,IAAA,gBAAgB,CAAE,UAAmB,EAAA;AACnC,QAAA,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;KAC9B;;AAGD,IAAA,MAAM,CAAC,KAAqB,EAAA;AAC1B,QAAA,IAAI,IAAI,CAAC,SAAS,YAAY,QAAQ,EAAE;AACtC,YAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC;AAC9D,SAAA;AAAM,aAAA;YACL,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC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