ngx-formly-zorro-antd 13.0.0 → 14.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. package/README.md +1 -1
  2. package/autocomplete/autocomplete.props.d.ts +38 -38
  3. package/autocomplete/{ngx-formly-zorro-antd-autocomplete.d.ts → index.d.ts} +5 -5
  4. package/autocomplete/public_api.d.ts +1 -1
  5. package/button/button.module.d.ts +11 -11
  6. package/button/button.type.d.ts +66 -66
  7. package/button/{ngx-formly-zorro-antd-button.d.ts → index.d.ts} +5 -5
  8. package/button/public_api.d.ts +2 -2
  9. package/card/card.module.d.ts +10 -10
  10. package/card/card.wrapper.d.ts +58 -58
  11. package/card/{ngx-formly-zorro-antd-card.d.ts → index.d.ts} +5 -5
  12. package/card/public_api.d.ts +2 -2
  13. package/cascader/cascader.module.d.ts +12 -12
  14. package/cascader/cascader.type.d.ts +152 -152
  15. package/cascader/{ngx-formly-zorro-antd-cascader.d.ts → index.d.ts} +5 -5
  16. package/cascader/public_api.d.ts +2 -2
  17. package/checkbox/checkbox.module.d.ts +12 -12
  18. package/checkbox/checkbox.type.d.ts +35 -35
  19. package/checkbox/{ngx-formly-zorro-antd-checkbox.d.ts → index.d.ts} +5 -5
  20. package/checkbox/public_api.d.ts +2 -2
  21. package/datepicker/datepicker.module.d.ts +12 -12
  22. package/datepicker/datepicker.props.d.ts +144 -146
  23. package/datepicker/datepicker.type.d.ts +31 -31
  24. package/datepicker/{ngx-formly-zorro-antd-datepicker.d.ts → index.d.ts} +5 -5
  25. package/datepicker/public_api.d.ts +2 -2
  26. package/esm2020/autocomplete/autocomplete.props.mjs +2 -2
  27. package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +4 -4
  28. package/esm2020/autocomplete/public_api.mjs +2 -2
  29. package/esm2020/button/button.module.mjs +61 -63
  30. package/esm2020/button/button.type.mjs +110 -110
  31. package/esm2020/button/ngx-formly-zorro-antd-button.mjs +4 -4
  32. package/esm2020/button/public_api.mjs +3 -3
  33. package/esm2020/card/card.module.mjs +43 -45
  34. package/esm2020/card/card.wrapper.mjs +47 -47
  35. package/esm2020/card/ngx-formly-zorro-antd-card.mjs +4 -4
  36. package/esm2020/card/public_api.mjs +3 -3
  37. package/esm2020/cascader/cascader.module.mjs +51 -53
  38. package/esm2020/cascader/cascader.type.mjs +112 -112
  39. package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +4 -4
  40. package/esm2020/cascader/public_api.mjs +3 -3
  41. package/esm2020/checkbox/checkbox.module.mjs +59 -61
  42. package/esm2020/checkbox/checkbox.type.mjs +69 -69
  43. package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +4 -4
  44. package/esm2020/checkbox/public_api.mjs +3 -3
  45. package/esm2020/datepicker/datepicker.module.mjs +51 -53
  46. package/esm2020/datepicker/datepicker.props.mjs +2 -2
  47. package/esm2020/datepicker/datepicker.type.mjs +191 -189
  48. package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +4 -4
  49. package/esm2020/datepicker/public_api.mjs +3 -3
  50. package/esm2020/form-field/form-field.module.mjs +45 -47
  51. package/esm2020/form-field/form-field.props.mjs +2 -2
  52. package/esm2020/form-field/form-field.wrapper.mjs +127 -127
  53. package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +4 -4
  54. package/esm2020/form-field/public_api.mjs +2 -2
  55. package/esm2020/grid/grid.module.mjs +41 -43
  56. package/esm2020/grid/grid.props.mjs +2 -2
  57. package/esm2020/grid/grid.type.mjs +71 -71
  58. package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +4 -4
  59. package/esm2020/grid/public_api.mjs +3 -3
  60. package/esm2020/index.mjs +2 -2
  61. package/esm2020/input/input.module.mjs +89 -91
  62. package/esm2020/input/input.props.mjs +2 -2
  63. package/esm2020/input/input.type.mjs +309 -263
  64. package/esm2020/input/ngx-formly-zorro-antd-input.mjs +4 -4
  65. package/esm2020/input/public_api.mjs +3 -3
  66. package/esm2020/input-group/input-group.module.mjs +47 -49
  67. package/esm2020/input-group/input-group.props.mjs +2 -2
  68. package/esm2020/input-group/input-group.type.mjs +71 -71
  69. package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +4 -4
  70. package/esm2020/input-group/public_api.mjs +3 -3
  71. package/esm2020/input-number/input-number.module.mjs +59 -61
  72. package/esm2020/input-number/input-number.props.mjs +2 -2
  73. package/esm2020/input-number/input-number.type.mjs +128 -128
  74. package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +4 -4
  75. package/esm2020/input-number/public_api.mjs +3 -3
  76. package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -2
  77. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +97 -99
  78. package/esm2020/ngx-formly-zorro-antd.mjs +4 -4
  79. package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +4 -4
  80. package/esm2020/radio/public_api.mjs +3 -3
  81. package/esm2020/radio/radio.module.mjs +59 -61
  82. package/esm2020/radio/radio.type.mjs +96 -96
  83. package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +4 -4
  84. package/esm2020/rate/public_api.mjs +3 -3
  85. package/esm2020/rate/rate.module.mjs +51 -53
  86. package/esm2020/rate/rate.type.mjs +63 -63
  87. package/esm2020/select/ngx-formly-zorro-antd-select.mjs +4 -4
  88. package/esm2020/select/public_api.mjs +3 -3
  89. package/esm2020/select/select.module.mjs +57 -59
  90. package/esm2020/select/select.props.mjs +2 -2
  91. package/esm2020/select/select.type.mjs +163 -163
  92. package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +4 -4
  93. package/esm2020/slider/public_api.mjs +3 -3
  94. package/esm2020/slider/slider.module.mjs +51 -53
  95. package/esm2020/slider/slider.type.mjs +67 -67
  96. package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +4 -4
  97. package/esm2020/switch/public_api.mjs +3 -3
  98. package/esm2020/switch/switch.module.mjs +51 -53
  99. package/esm2020/switch/switch.type.mjs +53 -53
  100. package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +4 -4
  101. package/esm2020/tabs/public_api.mjs +3 -3
  102. package/esm2020/tabs/tabs.module.mjs +41 -43
  103. package/esm2020/tabs/tabs.props.mjs +2 -2
  104. package/esm2020/tabs/tabs.wrapper.mjs +111 -111
  105. package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +4 -4
  106. package/esm2020/textarea/public_api.mjs +3 -3
  107. package/esm2020/textarea/textarea.module.mjs +51 -53
  108. package/esm2020/textarea/textarea.type.mjs +88 -88
  109. package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +4 -4
  110. package/esm2020/timepicker/public_api.mjs +3 -3
  111. package/esm2020/timepicker/timepicker.module.mjs +51 -53
  112. package/esm2020/timepicker/timepicker.type.mjs +92 -92
  113. package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +4 -4
  114. package/esm2020/transfer/public_api.mjs +3 -3
  115. package/esm2020/transfer/transfer.component.mjs +128 -128
  116. package/esm2020/transfer/transfer.module.mjs +52 -54
  117. package/esm2020/transfer/transfer.type.mjs +87 -87
  118. package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +4 -4
  119. package/esm2020/tree-select/public_api.mjs +3 -3
  120. package/esm2020/tree-select/tree-select.module.mjs +51 -53
  121. package/esm2020/tree-select/tree-select.type.mjs +98 -98
  122. package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +4 -4
  123. package/esm2020/upload/public_api.mjs +3 -3
  124. package/esm2020/upload/upload.component.mjs +174 -174
  125. package/esm2020/upload/upload.module.mjs +60 -62
  126. package/esm2020/upload/upload.type.mjs +119 -119
  127. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
  128. package/fesm2015/ngx-formly-zorro-antd-button.mjs +156 -158
  129. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
  130. package/fesm2015/ngx-formly-zorro-antd-card.mjs +77 -79
  131. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
  132. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +148 -150
  133. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  134. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +113 -115
  135. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  136. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +227 -227
  137. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  138. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +159 -161
  139. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  140. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +99 -101
  141. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  142. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +105 -107
  143. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  144. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +172 -174
  145. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  146. package/fesm2015/ngx-formly-zorro-antd-input.mjs +382 -338
  147. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
  148. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +137 -139
  149. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  150. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +99 -101
  151. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  152. package/fesm2015/ngx-formly-zorro-antd-select.mjs +202 -204
  153. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
  154. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +103 -105
  155. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  156. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +89 -91
  157. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  158. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +140 -142
  159. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  160. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +124 -126
  161. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  162. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +128 -130
  163. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  164. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +243 -245
  165. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  166. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +134 -136
  167. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  168. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +328 -330
  169. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  170. package/fesm2015/ngx-formly-zorro-antd.mjs +74 -76
  171. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
  172. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
  173. package/fesm2020/ngx-formly-zorro-antd-button.mjs +156 -158
  174. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
  175. package/fesm2020/ngx-formly-zorro-antd-card.mjs +77 -79
  176. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
  177. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +148 -150
  178. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  179. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +113 -115
  180. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  181. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +227 -227
  182. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  183. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +159 -161
  184. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  185. package/fesm2020/ngx-formly-zorro-antd-grid.mjs +99 -101
  186. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  187. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +105 -107
  188. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  189. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +172 -174
  190. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  191. package/fesm2020/ngx-formly-zorro-antd-input.mjs +382 -338
  192. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
  193. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +137 -139
  194. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  195. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +99 -101
  196. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  197. package/fesm2020/ngx-formly-zorro-antd-select.mjs +202 -204
  198. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
  199. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +103 -105
  200. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  201. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +89 -91
  202. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  203. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +140 -142
  204. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  205. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +124 -126
  206. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  207. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +128 -130
  208. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  209. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +243 -245
  210. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  211. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +134 -136
  212. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  213. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +327 -329
  214. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  215. package/fesm2020/ngx-formly-zorro-antd.mjs +74 -76
  216. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
  217. package/form-field/form-field.module.d.ts +11 -11
  218. package/form-field/form-field.props.d.ts +105 -105
  219. package/form-field/form-field.wrapper.d.ts +9 -9
  220. package/form-field/{ngx-formly-zorro-antd-form-field.d.ts → index.d.ts} +5 -5
  221. package/form-field/public_api.d.ts +3 -3
  222. package/grid/grid.module.d.ts +10 -10
  223. package/grid/grid.props.d.ts +44 -44
  224. package/grid/grid.type.d.ts +11 -11
  225. package/grid/{ngx-formly-zorro-antd-grid.d.ts → index.d.ts} +5 -5
  226. package/grid/public_api.d.ts +3 -3
  227. package/index.d.ts +1 -1
  228. package/input/{ngx-formly-zorro-antd-input.d.ts → index.d.ts} +5 -5
  229. package/input/input.module.d.ts +14 -14
  230. package/input/input.props.d.ts +36 -33
  231. package/input/input.type.d.ts +26 -26
  232. package/input/public_api.d.ts +2 -2
  233. package/input-group/{ngx-formly-zorro-antd-input-group.d.ts → index.d.ts} +5 -5
  234. package/input-group/input-group.module.d.ts +11 -11
  235. package/input-group/input-group.props.d.ts +56 -56
  236. package/input-group/input-group.type.d.ts +22 -22
  237. package/input-group/public_api.d.ts +3 -3
  238. package/input-number/{ngx-formly-zorro-antd-input-number.d.ts → index.d.ts} +5 -5
  239. package/input-number/input-number.module.d.ts +12 -12
  240. package/input-number/input-number.props.d.ts +81 -78
  241. package/input-number/input-number.type.d.ts +24 -24
  242. package/input-number/public_api.d.ts +2 -2
  243. package/lib/ui-ng-zorro-antd.d.ts +1 -1
  244. package/lib/ui-ng-zorro-antd.module.d.ts +27 -27
  245. package/package.json +34 -30
  246. package/radio/{ngx-formly-zorro-antd-radio.d.ts → index.d.ts} +5 -5
  247. package/radio/public_api.d.ts +2 -2
  248. package/radio/radio.module.d.ts +14 -14
  249. package/radio/radio.type.d.ts +38 -38
  250. package/rate/{ngx-formly-zorro-antd-rate.d.ts → index.d.ts} +5 -5
  251. package/rate/public_api.d.ts +2 -2
  252. package/rate/rate.module.d.ts +12 -12
  253. package/rate/rate.type.d.ts +57 -57
  254. package/select/{ngx-formly-zorro-antd-select.d.ts → index.d.ts} +5 -5
  255. package/select/public_api.d.ts +2 -2
  256. package/select/select.module.d.ts +13 -13
  257. package/select/select.props.d.ts +162 -162
  258. package/select/select.type.d.ts +35 -35
  259. package/slider/{ngx-formly-zorro-antd-slider.d.ts → index.d.ts} +5 -5
  260. package/slider/public_api.d.ts +2 -2
  261. package/slider/slider.module.d.ts +12 -12
  262. package/slider/slider.type.d.ts +76 -76
  263. package/switch/{ngx-formly-zorro-antd-switch.d.ts → index.d.ts} +5 -5
  264. package/switch/public_api.d.ts +2 -2
  265. package/switch/switch.module.d.ts +12 -12
  266. package/switch/switch.type.d.ts +44 -44
  267. package/tabs/{ngx-formly-zorro-antd-tabs.d.ts → index.d.ts} +5 -5
  268. package/tabs/public_api.d.ts +2 -2
  269. package/tabs/tabs.module.d.ts +10 -10
  270. package/tabs/tabs.props.d.ts +126 -126
  271. package/tabs/tabs.wrapper.d.ts +28 -28
  272. package/textarea/{ngx-formly-zorro-antd-textarea.d.ts → index.d.ts} +5 -5
  273. package/textarea/public_api.d.ts +2 -2
  274. package/textarea/textarea.module.d.ts +12 -12
  275. package/textarea/textarea.type.d.ts +38 -38
  276. package/timepicker/{ngx-formly-zorro-antd-timepicker.d.ts → index.d.ts} +5 -5
  277. package/timepicker/public_api.d.ts +2 -2
  278. package/timepicker/timepicker.module.d.ts +12 -12
  279. package/timepicker/timepicker.type.d.ts +131 -131
  280. package/transfer/{ngx-formly-zorro-antd-transfer.d.ts → index.d.ts} +5 -5
  281. package/transfer/public_api.d.ts +2 -2
  282. package/transfer/transfer.component.d.ts +26 -26
  283. package/transfer/transfer.module.d.ts +13 -13
  284. package/transfer/transfer.type.d.ts +118 -118
  285. package/tree-select/{ngx-formly-zorro-antd-tree-select.d.ts → index.d.ts} +5 -5
  286. package/tree-select/public_api.d.ts +2 -2
  287. package/tree-select/tree-select.module.d.ts +12 -12
  288. package/tree-select/tree-select.type.d.ts +158 -158
  289. package/upload/{ngx-formly-zorro-antd-upload.d.ts → index.d.ts} +5 -5
  290. package/upload/public_api.d.ts +2 -2
  291. package/upload/upload.component.d.ts +27 -27
  292. package/upload/upload.module.d.ts +15 -15
  293. package/upload/upload.type.d.ts +173 -173
  294. package/autocomplete/package.json +0 -10
  295. package/button/package.json +0 -10
  296. package/card/package.json +0 -10
  297. package/cascader/package.json +0 -10
  298. package/checkbox/package.json +0 -10
  299. package/datepicker/package.json +0 -10
  300. package/form-field/package.json +0 -10
  301. package/grid/package.json +0 -10
  302. package/input/package.json +0 -10
  303. package/input-group/package.json +0 -10
  304. package/input-number/package.json +0 -10
  305. package/ngx-formly-zorro-antd.d.ts +0 -5
  306. package/radio/package.json +0 -10
  307. package/rate/package.json +0 -10
  308. package/select/package.json +0 -10
  309. package/slider/package.json +0 -10
  310. package/switch/package.json +0 -10
  311. package/tabs/package.json +0 -10
  312. package/textarea/package.json +0 -10
  313. package/timepicker/package.json +0 -10
  314. package/transfer/package.json +0 -10
  315. package/tree-select/package.json +0 -10
  316. package/upload/package.json +0 -10
@@ -1,263 +1,261 @@
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';
10
10
  import { NzTransferComponent, NzTransferModule } from 'ng-zorro-antd/transfer';
11
11
 
12
- /* eslint-disable @typescript-eslint/no-empty-function */
13
- class TransferComponent extends NzTransferComponent {
14
- constructor() {
15
- super(...arguments);
16
- this.onChange = () => { };
17
- this.onTouched = () => { };
18
- }
19
- writeValue(obj) {
20
- setTimeout(() => {
21
- this.nzTargetKeys = obj;
22
- this['cdr'].markForCheck();
23
- this.onChange(this.transfer.rightDataSource);
24
- }, 0);
25
- }
26
- registerOnChange(fn) {
27
- this.onChange = fn;
28
- }
29
- registerOnTouched(fn) {
30
- this.onTouched = fn;
31
- }
32
- setDisabledState(isDisabled) {
33
- this.nzDisabled = isDisabled;
34
- }
35
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
36
- change(value) {
37
- if (this.resultMap instanceof Function) {
38
- this.onChange(this.resultMap(this.transfer.rightDataSource));
39
- }
40
- else {
41
- this.onChange(this.transfer.rightDataSource);
42
- }
43
- }
44
- /**
45
- * 选中项发生改变时的回调函数
46
- */
47
- selectChange(value) {
48
- this.nzSelectChange.emit(value);
49
- }
50
- /**
51
- * 搜索框内容时改变时的回调函数
52
- */
53
- searchChange(value) {
54
- this.nzSearchChange.emit(value);
55
- }
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: [
59
- {
60
- provide: NG_VALUE_ACCESSOR,
61
- useExisting: TransferComponent,
62
- multi: true
63
- }
64
- ], viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
65
- <nz-transfer
66
- #transfer
67
- [nzDataSource]="nzDataSource"
68
- [nzDisabled]="nzDisabled"
69
- [nzTitles]="nzTitles"
70
- [nzOperations]="nzOperations"
71
- [nzListStyle]="nzListStyle"
72
- [nzItemUnit]="nzItemUnit"
73
- [nzItemsUnit]="nzItemsUnit"
74
- [nzRenderList]="nzRenderList"
75
- [nzRender]="nzRender"
76
- [nzFooter]="nzFooter"
77
- [nzShowSearch]="nzShowSearch"
78
- [nzFilterOption]="nzFilterOption"
79
- [nzSearchPlaceholder]="nzSearchPlaceholder"
80
- [nzNotFoundContent]="nzNotFoundContent"
81
- [nzSelectedKeys]="nzSelectedKeys"
82
- [nzTargetKeys]="nzTargetKeys"
83
- (nzChange)="change($event)"
84
- (nzSearchChange)="searchChange($event)"
85
- (nzSelectChange)="selectChange($event)"
86
- style="flex: auto;"
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: [{
90
- type: Component,
91
- args: [{
92
- selector: 'formly-transfer',
93
- template: `
94
- <nz-transfer
95
- #transfer
96
- [nzDataSource]="nzDataSource"
97
- [nzDisabled]="nzDisabled"
98
- [nzTitles]="nzTitles"
99
- [nzOperations]="nzOperations"
100
- [nzListStyle]="nzListStyle"
101
- [nzItemUnit]="nzItemUnit"
102
- [nzItemsUnit]="nzItemsUnit"
103
- [nzRenderList]="nzRenderList"
104
- [nzRender]="nzRender"
105
- [nzFooter]="nzFooter"
106
- [nzShowSearch]="nzShowSearch"
107
- [nzFilterOption]="nzFilterOption"
108
- [nzSearchPlaceholder]="nzSearchPlaceholder"
109
- [nzNotFoundContent]="nzNotFoundContent"
110
- [nzSelectedKeys]="nzSelectedKeys"
111
- [nzTargetKeys]="nzTargetKeys"
112
- (nzChange)="change($event)"
113
- (nzSearchChange)="searchChange($event)"
114
- (nzSelectChange)="selectChange($event)"
115
- style="flex: auto;"
116
- ></nz-transfer>
117
- `,
118
- encapsulation: ViewEncapsulation.None,
119
- changeDetection: ChangeDetectionStrategy.OnPush,
120
- providers: [
121
- {
122
- provide: NG_VALUE_ACCESSOR,
123
- useExisting: TransferComponent,
124
- multi: true
125
- }
126
- ]
127
- }]
128
- }], propDecorators: { transfer: [{
129
- type: ViewChild,
130
- args: ['transfer', { static: true }]
131
- }], resultMap: [{
132
- type: Input
12
+ /* eslint-disable @typescript-eslint/no-empty-function */
13
+ class TransferComponent extends NzTransferComponent {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.onChange = () => { };
17
+ this.onTouched = () => { };
18
+ }
19
+ writeValue(obj) {
20
+ setTimeout(() => {
21
+ this.nzTargetKeys = obj;
22
+ this['cdr'].markForCheck();
23
+ this.onChange(this.transfer.rightDataSource);
24
+ }, 0);
25
+ }
26
+ registerOnChange(fn) {
27
+ this.onChange = fn;
28
+ }
29
+ registerOnTouched(fn) {
30
+ this.onTouched = fn;
31
+ }
32
+ setDisabledState(isDisabled) {
33
+ this.nzDisabled = isDisabled;
34
+ }
35
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
36
+ change(value) {
37
+ if (this.resultMap instanceof Function) {
38
+ this.onChange(this.resultMap(this.transfer.rightDataSource));
39
+ }
40
+ else {
41
+ this.onChange(this.transfer.rightDataSource);
42
+ }
43
+ }
44
+ /**
45
+ * 选中项发生改变时的回调函数
46
+ */
47
+ selectChange(value) {
48
+ this.nzSelectChange.emit(value);
49
+ }
50
+ /**
51
+ * 搜索框内容时改变时的回调函数
52
+ */
53
+ searchChange(value) {
54
+ this.nzSearchChange.emit(value);
55
+ }
56
+ }
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
+ {
60
+ provide: NG_VALUE_ACCESSOR,
61
+ useExisting: TransferComponent,
62
+ multi: true
63
+ }
64
+ ], viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
65
+ <nz-transfer
66
+ #transfer
67
+ [nzDataSource]="nzDataSource"
68
+ [nzDisabled]="nzDisabled"
69
+ [nzTitles]="nzTitles"
70
+ [nzOperations]="nzOperations"
71
+ [nzListStyle]="nzListStyle"
72
+ [nzItemUnit]="nzItemUnit"
73
+ [nzItemsUnit]="nzItemsUnit"
74
+ [nzRenderList]="nzRenderList"
75
+ [nzRender]="nzRender"
76
+ [nzFooter]="nzFooter"
77
+ [nzShowSearch]="nzShowSearch"
78
+ [nzFilterOption]="nzFilterOption"
79
+ [nzSearchPlaceholder]="nzSearchPlaceholder"
80
+ [nzNotFoundContent]="nzNotFoundContent"
81
+ [nzSelectedKeys]="nzSelectedKeys"
82
+ [nzTargetKeys]="nzTargetKeys"
83
+ (nzChange)="change($event)"
84
+ (nzSearchChange)="searchChange($event)"
85
+ (nzSelectChange)="selectChange($event)"
86
+ style="flex: auto;"
87
+ ></nz-transfer>
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
+ type: Component,
91
+ args: [{
92
+ selector: 'formly-transfer',
93
+ template: `
94
+ <nz-transfer
95
+ #transfer
96
+ [nzDataSource]="nzDataSource"
97
+ [nzDisabled]="nzDisabled"
98
+ [nzTitles]="nzTitles"
99
+ [nzOperations]="nzOperations"
100
+ [nzListStyle]="nzListStyle"
101
+ [nzItemUnit]="nzItemUnit"
102
+ [nzItemsUnit]="nzItemsUnit"
103
+ [nzRenderList]="nzRenderList"
104
+ [nzRender]="nzRender"
105
+ [nzFooter]="nzFooter"
106
+ [nzShowSearch]="nzShowSearch"
107
+ [nzFilterOption]="nzFilterOption"
108
+ [nzSearchPlaceholder]="nzSearchPlaceholder"
109
+ [nzNotFoundContent]="nzNotFoundContent"
110
+ [nzSelectedKeys]="nzSelectedKeys"
111
+ [nzTargetKeys]="nzTargetKeys"
112
+ (nzChange)="change($event)"
113
+ (nzSearchChange)="searchChange($event)"
114
+ (nzSelectChange)="selectChange($event)"
115
+ style="flex: auto;"
116
+ ></nz-transfer>
117
+ `,
118
+ encapsulation: ViewEncapsulation.None,
119
+ changeDetection: ChangeDetectionStrategy.OnPush,
120
+ providers: [
121
+ {
122
+ provide: NG_VALUE_ACCESSOR,
123
+ useExisting: TransferComponent,
124
+ multi: true
125
+ }
126
+ ]
127
+ }]
128
+ }], propDecorators: { transfer: [{
129
+ type: ViewChild,
130
+ args: ['transfer', { static: true }]
131
+ }], resultMap: [{
132
+ type: Input
133
133
  }] } });
134
134
 
135
- class FormlyFieldTransfer extends FieldType {
136
- constructor() {
137
- super(...arguments);
138
- this.defaultOptions = {
139
- props: {
140
- dataSource: [],
141
- titles: ['', ''],
142
- operations: ['', ''],
143
- renderList: [null, null],
144
- listStyle: {}
145
- }
146
- };
147
- }
148
- ngOnInit() {
149
- const canMove = this.props['canMove'];
150
- if (canMove !== null && canMove !== undefined) {
151
- this.transfer.nzCanMove = canMove;
152
- }
153
- }
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
157
- #transfer
158
- [formControl]="formControl"
159
- [formlyAttributes]="field"
160
- [nzDataSource]="props['dataSource']"
161
- [nzTitles]="props['titles']"
162
- [nzOperations]="props['operations']"
163
- [nzListStyle]="props['listStyle']"
164
- [nzItemUnit]="props['itemUnit']"
165
- [nzItemsUnit]="props['itemsUnit']"
166
- [nzRenderList]="props['renderList']!"
167
- [nzRender]="props['render'] ?? null"
168
- [nzFooter]="props['footer'] ?? null"
169
- [nzShowSearch]="props['showSearch']!!"
170
- [nzFilterOption]="props['filterOption']"
171
- [nzSearchPlaceholder]="props['searchPlaceholder']"
172
- [nzNotFoundContent]="props['notFoundContent']"
173
- [nzSelectedKeys]="props['selectedKeys']"
174
- [nzTargetKeys]="props['targetKeys']"
175
- [resultMap]="props['resultMap']"
176
- (nzChange)="props['onChange'] && props['onChange']($event)"
177
- (nzSearchChange)="props['searchChange'] && props['searchChange'](field, $event)"
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: [{
181
- type: Component,
182
- args: [{
183
- selector: 'formly-field-transfer',
184
- template: `<formly-transfer
185
- #transfer
186
- [formControl]="formControl"
187
- [formlyAttributes]="field"
188
- [nzDataSource]="props['dataSource']"
189
- [nzTitles]="props['titles']"
190
- [nzOperations]="props['operations']"
191
- [nzListStyle]="props['listStyle']"
192
- [nzItemUnit]="props['itemUnit']"
193
- [nzItemsUnit]="props['itemsUnit']"
194
- [nzRenderList]="props['renderList']!"
195
- [nzRender]="props['render'] ?? null"
196
- [nzFooter]="props['footer'] ?? null"
197
- [nzShowSearch]="props['showSearch']!!"
198
- [nzFilterOption]="props['filterOption']"
199
- [nzSearchPlaceholder]="props['searchPlaceholder']"
200
- [nzNotFoundContent]="props['notFoundContent']"
201
- [nzSelectedKeys]="props['selectedKeys']"
202
- [nzTargetKeys]="props['targetKeys']"
203
- [resultMap]="props['resultMap']"
204
- (nzChange)="props['onChange'] && props['onChange']($event)"
205
- (nzSearchChange)="props['searchChange'] && props['searchChange'](field, $event)"
206
- (nzSelectChange)="props['selectChange'] && props['selectChange'](field, $event)"
207
- ></formly-transfer>`,
208
- changeDetection: ChangeDetectionStrategy.OnPush
209
- }]
210
- }], propDecorators: { transfer: [{
211
- type: ViewChild,
212
- args: ['transfer', { static: true }]
135
+ class FormlyFieldTransfer extends FieldType {
136
+ constructor() {
137
+ super(...arguments);
138
+ this.defaultOptions = {
139
+ props: {
140
+ dataSource: [],
141
+ titles: ['', ''],
142
+ operations: ['', ''],
143
+ renderList: [null, null],
144
+ listStyle: {}
145
+ }
146
+ };
147
+ }
148
+ ngOnInit() {
149
+ const canMove = this.props['canMove'];
150
+ if (canMove !== null && canMove !== undefined) {
151
+ this.transfer.nzCanMove = canMove;
152
+ }
153
+ }
154
+ }
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
+ #transfer
158
+ [formControl]="formControl"
159
+ [formlyAttributes]="field"
160
+ [nzDataSource]="props['dataSource']"
161
+ [nzTitles]="props['titles']"
162
+ [nzOperations]="props['operations']"
163
+ [nzListStyle]="props['listStyle']"
164
+ [nzItemUnit]="props['itemUnit']"
165
+ [nzItemsUnit]="props['itemsUnit']"
166
+ [nzRenderList]="props['renderList']!"
167
+ [nzRender]="props['render'] ?? null"
168
+ [nzFooter]="props['footer'] ?? null"
169
+ [nzShowSearch]="props['showSearch']!!"
170
+ [nzFilterOption]="props['filterOption']"
171
+ [nzSearchPlaceholder]="props['searchPlaceholder']"
172
+ [nzNotFoundContent]="props['notFoundContent']"
173
+ [nzSelectedKeys]="props['selectedKeys']"
174
+ [nzTargetKeys]="props['targetKeys']"
175
+ [resultMap]="props['resultMap']"
176
+ (nzChange)="props['onChange'] && props['onChange']($event)"
177
+ (nzSearchChange)="props['searchChange'] && props['searchChange'](field, $event)"
178
+ (nzSelectChange)="props['selectChange'] && props['selectChange'](field, $event)"
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
+ type: Component,
182
+ args: [{
183
+ selector: 'formly-field-transfer',
184
+ template: `<formly-transfer
185
+ #transfer
186
+ [formControl]="formControl"
187
+ [formlyAttributes]="field"
188
+ [nzDataSource]="props['dataSource']"
189
+ [nzTitles]="props['titles']"
190
+ [nzOperations]="props['operations']"
191
+ [nzListStyle]="props['listStyle']"
192
+ [nzItemUnit]="props['itemUnit']"
193
+ [nzItemsUnit]="props['itemsUnit']"
194
+ [nzRenderList]="props['renderList']!"
195
+ [nzRender]="props['render'] ?? null"
196
+ [nzFooter]="props['footer'] ?? null"
197
+ [nzShowSearch]="props['showSearch']!!"
198
+ [nzFilterOption]="props['filterOption']"
199
+ [nzSearchPlaceholder]="props['searchPlaceholder']"
200
+ [nzNotFoundContent]="props['notFoundContent']"
201
+ [nzSelectedKeys]="props['selectedKeys']"
202
+ [nzTargetKeys]="props['targetKeys']"
203
+ [resultMap]="props['resultMap']"
204
+ (nzChange)="props['onChange'] && props['onChange']($event)"
205
+ (nzSearchChange)="props['searchChange'] && props['searchChange'](field, $event)"
206
+ (nzSelectChange)="props['selectChange'] && props['selectChange'](field, $event)"
207
+ ></formly-transfer>`,
208
+ changeDetection: ChangeDetectionStrategy.OnPush
209
+ }]
210
+ }], propDecorators: { transfer: [{
211
+ type: ViewChild,
212
+ args: ['transfer', { static: true }]
213
213
  }] } });
214
214
 
215
- class FormlyNzTransferModule {
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,
219
- ReactiveFormsModule,
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: [{
238
- type: NgModule,
239
- args: [{
240
- declarations: [FormlyFieldTransfer, TransferComponent],
241
- imports: [
242
- CommonModule,
243
- ReactiveFormsModule,
244
- FormlyNzFormFieldModule,
245
- NzTransferModule,
246
- FormlyModule.forChild({
247
- types: [
248
- {
249
- name: 'transfer',
250
- component: FormlyFieldTransfer,
251
- wrappers: ['form-field']
252
- }
253
- ]
254
- })
255
- ]
256
- }]
215
+ class FormlyNzTransferModule {
216
+ }
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
+ ReactiveFormsModule,
220
+ FormlyNzFormFieldModule,
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: [{
236
+ type: NgModule,
237
+ args: [{
238
+ declarations: [FormlyFieldTransfer, TransferComponent],
239
+ imports: [
240
+ CommonModule,
241
+ ReactiveFormsModule,
242
+ FormlyNzFormFieldModule,
243
+ NzTransferModule,
244
+ FormlyModule.forChild({
245
+ types: [
246
+ {
247
+ name: 'transfer',
248
+ component: FormlyFieldTransfer,
249
+ wrappers: ['form-field']
250
+ }
251
+ ]
252
+ })
253
+ ]
254
+ }]
257
255
  }] });
258
256
 
259
- /**
260
- * Generated bundle index. Do not edit.
257
+ /**
258
+ * Generated bundle index. Do not edit.
261
259
  */
262
260
 
263
261
  export { FormlyFieldTransfer, FormlyNzTransferModule };
@@ -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,E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AO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;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 */\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { NzTransferComponent } from 'ng-zorro-antd/transfer';\n\nimport type { OnChangeType, OnTouchedType, NzSafeAny } from 'ng-zorro-antd/core/types';\nimport type {\n TransferChange,\n TransferItem,\n TransferSearchChange,\n TransferSelectChange\n} from 'ng-zorro-antd/transfer';\n\n@Component({\n selector: 'formly-transfer',\n template: `\n <nz-transfer\n #transfer\n [nzDataSource]=\"nzDataSource\"\n [nzDisabled]=\"nzDisabled\"\n [nzTitles]=\"nzTitles\"\n [nzOperations]=\"nzOperations\"\n [nzListStyle]=\"nzListStyle\"\n [nzItemUnit]=\"nzItemUnit\"\n [nzItemsUnit]=\"nzItemsUnit\"\n [nzRenderList]=\"nzRenderList\"\n [nzRender]=\"nzRender\"\n [nzFooter]=\"nzFooter\"\n [nzShowSearch]=\"nzShowSearch\"\n [nzFilterOption]=\"nzFilterOption\"\n [nzSearchPlaceholder]=\"nzSearchPlaceholder\"\n [nzNotFoundContent]=\"nzNotFoundContent\"\n [nzSelectedKeys]=\"nzSelectedKeys\"\n [nzTargetKeys]=\"nzTargetKeys\"\n (nzChange)=\"change($event)\"\n (nzSearchChange)=\"searchChange($event)\"\n (nzSelectChange)=\"selectChange($event)\"\n style=\"flex: auto;\"\n ></nz-transfer>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: TransferComponent,\n multi: true\n }\n ]\n})\nexport class TransferComponent extends NzTransferComponent implements ControlValueAccessor {\n @ViewChild('transfer', { static: true }) transfer!: NzTransferComponent;\n @Input() resultMap?: (items: TransferItem[]) => NzSafeAny[];\n\n onChange: OnChangeType = () => {};\n onTouched: OnTouchedType = () => {};\n writeValue(obj: NzSafeAny): void {\n setTimeout(() => {\n this.nzTargetKeys = obj;\n (this['cdr'] as ChangeDetectorRef).markForCheck();\n this.onChange(this.transfer.rightDataSource);\n }, 0);\n }\n registerOnChange(fn: NzSafeAny): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: NzSafeAny): void {\n this.onTouched = fn;\n }\n setDisabledState?(isDisabled: boolean): void {\n this.nzDisabled = isDisabled;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n change(value: TransferChange): void {\n if (this.resultMap instanceof Function) {\n this.onChange(this.resultMap(this.transfer.rightDataSource));\n } else {\n this.onChange(this.transfer.rightDataSource);\n }\n }\n\n /**\n * 选中项发生改变时的回调函数\n */\n selectChange(value: TransferSelectChange) {\n this.nzSelectChange.emit(value);\n }\n\n /**\n * 搜索框内容时改变时的回调函数\n */\n searchChange(value: TransferSearchChange) {\n this.nzSearchChange.emit(value);\n }\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n TemplateRef,\n Type,\n ViewChild,\n OnInit\n} from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport { Observable } from 'rxjs';\nimport {\n NzTransferComponent,\n TransferCanMove,\n TransferChange,\n TransferItem,\n TransferSearchChange,\n TransferSelectChange\n} from 'ng-zorro-antd/transfer';\nimport type { NzSafeAny, NgStyleInterface } from 'ng-zorro-antd/core/types';\n\ninterface TransferProps extends FormlyFieldProps {\n /**\n * 数据源,其中若数据属性 direction: 'right' 将会被渲染到右边一栏中或使用 nzTargetKeys\n * @default []\n */\n dataSource?: TransferItem[];\n\n /**\n * 标题集合,顺序从左至右\n * @default ['', '']\n */\n titles?: string[];\n\n /**\n * 操作文案集合,顺序从下至上\n * @default ['', '']\n */\n operations?: string[];\n\n /**\n * 两个穿梭框的自定义样式,等同 ngStyle\n */\n listStyle?: NgStyleInterface;\n\n /**\n * 单数单位\n * @default 项目\n */\n itemUnit?: string;\n\n /**\n * 复数单位\n * @default 项目\n */\n itemsUnit?: string;\n\n /**\n * 自定义渲染列表,见示例\n * @default [null, null]\n */\n renderList?: Array<TemplateRef<NzSafeAny> | null> | null;\n\n /**\n * 每行数据渲染模板,见示例\n */\n render?: TemplateRef<NzSafeAny> | null;\n\n /**\n * 底部渲染模板,见示例\n */\n footer?: TemplateRef<NzSafeAny> | null;\n\n /**\n * 是否显示搜索框\n * @default false\n */\n showSearch?: boolean;\n\n /**\n * 接收 inputValueoption 两个参数,当 option 符合筛选条件时,应返回 true,反之则返回 false。\n */\n filterOption?: (inputValue: string, item: TransferItem) => boolean;\n\n /**\n * 搜索框的默认值\n * @default 请输入搜索内容\n */\n searchPlaceholder?: string;\n\n /**\n * 当列表为空时显示的内容\n * @default 列表为空\n */\n notFoundContent?: string;\n\n /**\n * 穿梭时二次校验。注意: 穿梭组件内部始终只保留一份数据,二次校验过程中需取消穿梭项则直接删除该项;具体用法见示例。\n */\n canMove?: (arg: TransferCanMove) => Observable<TransferItem[]>;\n\n /**\n * 设置被选中的 key 集合\n */\n selectedKeys?: string[];\n\n /**\n * 显示在右侧框数据的 key 集合\n */\n targetKeys?: string[];\n\n /**\n * 选项在两栏之间转移时的回调函数\n */\n onChange?: (value: TransferChange) => void;\n\n /**\n * 搜索框内容时改变时的回调函数\n */\n searchChange?: (field: FormlyFieldConfig, value: TransferSearchChange) => void;\n\n /**\n * 选中项发生改变时的回调函数\n */\n selectChange?: (field: FormlyFieldConfig, value: TransferSelectChange) => void;\n\n /**\n * 返回结果格式映射\n * @returns 默认返回 TransferItem[] 格式\n */\n resultMap?: (items: TransferItem[]) => NzSafeAny[];\n}\n\nexport interface FormlyTransferFieldConfig extends FormlyFieldConfig<TransferProps> {\n type: 'transfer' | Type<FormlyFieldTransfer>;\n}\n\n@Component({\n selector: 'formly-field-transfer',\n template: `<formly-transfer\n #transfer\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzDataSource]=\"props['dataSource']\"\n [nzTitles]=\"props['titles']\"\n [nzOperations]=\"props['operations']\"\n [nzListStyle]=\"props['listStyle']\"\n [nzItemUnit]=\"props['itemUnit']\"\n [nzItemsUnit]=\"props['itemsUnit']\"\n [nzRenderList]=\"props['renderList']!\"\n [nzRender]=\"props['render'] ?? null\"\n [nzFooter]=\"props['footer'] ?? null\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzFilterOption]=\"props['filterOption']\"\n [nzSearchPlaceholder]=\"props['searchPlaceholder']\"\n [nzNotFoundContent]=\"props['notFoundContent']\"\n [nzSelectedKeys]=\"props['selectedKeys']\"\n [nzTargetKeys]=\"props['targetKeys']\"\n [resultMap]=\"props['resultMap']\"\n (nzChange)=\"props['onChange'] && props['onChange']($event)\"\n (nzSearchChange)=\"props['searchChange'] && props['searchChange'](field, $event)\"\n (nzSelectChange)=\"props['selectChange'] && props['selectChange'](field, $event)\"\n ></formly-transfer>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldTransfer extends FieldType<FieldTypeConfig> implements OnInit {\n override defaultOptions = {\n props: {\n dataSource: [],\n titles: ['', ''],\n operations: ['', ''],\n renderList: [null, null],\n listStyle: {}\n }\n };\n\n @ViewChild('transfer', { static: true }) transfer!: NzTransferComponent;\n\n ngOnInit(): void {\n const canMove = this.props['canMove'];\n if (canMove !== null && canMove !== undefined) {\n this.transfer.nzCanMove = canMove;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzTransferModule } from 'ng-zorro-antd/transfer';\nimport { FormlyFieldTransfer } from './transfer.type';\nimport { TransferComponent } from './transfer.component';\n\n@NgModule({\n declarations: [FormlyFieldTransfer, TransferComponent],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzTransferModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'transfer',\n component: FormlyFieldTransfer,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzTransferModule {}\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;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