ngx-formly-zorro-antd 14.3.0 → 14.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. package/README.md +1 -1
  2. package/autocomplete/autocomplete.props.d.ts +38 -38
  3. package/autocomplete/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/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/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/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/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 +149 -149
  23. package/datepicker/datepicker.type.d.ts +32 -32
  24. package/datepicker/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 -61
  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 -43
  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 -51
  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 -59
  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 -51
  46. package/esm2020/datepicker/datepicker.props.mjs +2 -2
  47. package/esm2020/datepicker/datepicker.type.mjs +196 -196
  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 -45
  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 -41
  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 -89
  62. package/esm2020/input/input.props.mjs +2 -2
  63. package/esm2020/input/input.type.mjs +309 -309
  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 -47
  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 -59
  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 -97
  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 -59
  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 -51
  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 -57
  90. package/esm2020/select/select.props.mjs +2 -2
  91. package/esm2020/select/select.type.mjs +170 -170
  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 -51
  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 -51
  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 -41
  103. package/esm2020/tabs/tabs.props.mjs +2 -2
  104. package/esm2020/tabs/tabs.wrapper.mjs +115 -115
  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 +55 -55
  108. package/esm2020/textarea/textarea.type.mjs +141 -141
  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 -51
  112. package/esm2020/timepicker/timepicker.type.mjs +96 -96
  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 -52
  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 -51
  121. package/esm2020/tree-select/tree-select.type.mjs +100 -101
  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 +253 -253
  125. package/esm2020/upload/upload.module.mjs +60 -60
  126. package/esm2020/upload/upload.props.mjs +2 -2
  127. package/esm2020/upload/upload.type.mjs +129 -129
  128. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
  129. package/fesm2015/ngx-formly-zorro-antd-button.mjs +152 -152
  130. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
  131. package/fesm2015/ngx-formly-zorro-antd-card.mjs +77 -77
  132. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
  133. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +145 -145
  134. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  135. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +110 -110
  136. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  137. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +229 -229
  138. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  139. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +155 -155
  140. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  141. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +97 -97
  142. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  143. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +102 -102
  144. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  145. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +169 -169
  146. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  147. package/fesm2015/ngx-formly-zorro-antd-input.mjs +376 -376
  148. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
  149. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +134 -134
  150. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  151. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +97 -97
  152. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  153. package/fesm2015/ngx-formly-zorro-antd-select.mjs +206 -206
  154. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
  155. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +101 -101
  156. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  157. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +87 -87
  158. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  159. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +141 -141
  160. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  161. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +176 -176
  162. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  163. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +129 -129
  164. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  165. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +241 -241
  166. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  167. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +133 -134
  168. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  169. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +410 -410
  170. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  171. package/fesm2015/ngx-formly-zorro-antd.mjs +74 -74
  172. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
  173. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
  174. package/fesm2020/ngx-formly-zorro-antd-button.mjs +152 -152
  175. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
  176. package/fesm2020/ngx-formly-zorro-antd-card.mjs +77 -77
  177. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
  178. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +145 -145
  179. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  180. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +110 -110
  181. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  182. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +229 -229
  183. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  184. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +155 -155
  185. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  186. package/fesm2020/ngx-formly-zorro-antd-grid.mjs +97 -97
  187. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  188. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +102 -102
  189. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  190. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +169 -169
  191. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  192. package/fesm2020/ngx-formly-zorro-antd-input.mjs +376 -376
  193. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
  194. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +134 -134
  195. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  196. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +97 -97
  197. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  198. package/fesm2020/ngx-formly-zorro-antd-select.mjs +206 -206
  199. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
  200. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +101 -101
  201. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  202. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +87 -87
  203. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  204. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +141 -141
  205. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  206. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +176 -176
  207. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  208. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +129 -129
  209. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  210. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +241 -241
  211. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  212. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +133 -134
  213. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  214. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +409 -409
  215. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  216. package/fesm2020/ngx-formly-zorro-antd.mjs +74 -74
  217. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
  218. package/form-field/form-field.module.d.ts +11 -11
  219. package/form-field/form-field.props.d.ts +105 -105
  220. package/form-field/form-field.wrapper.d.ts +9 -9
  221. package/form-field/index.d.ts +5 -5
  222. package/form-field/public_api.d.ts +3 -3
  223. package/grid/grid.module.d.ts +10 -10
  224. package/grid/grid.props.d.ts +44 -44
  225. package/grid/grid.type.d.ts +11 -11
  226. package/grid/index.d.ts +5 -5
  227. package/grid/public_api.d.ts +3 -3
  228. package/index.d.ts +1 -1
  229. package/input/index.d.ts +5 -5
  230. package/input/input.module.d.ts +14 -14
  231. package/input/input.props.d.ts +36 -36
  232. package/input/input.type.d.ts +26 -26
  233. package/input/public_api.d.ts +2 -2
  234. package/input-group/index.d.ts +5 -5
  235. package/input-group/input-group.module.d.ts +11 -11
  236. package/input-group/input-group.props.d.ts +56 -56
  237. package/input-group/input-group.type.d.ts +22 -22
  238. package/input-group/public_api.d.ts +3 -3
  239. package/input-number/index.d.ts +5 -5
  240. package/input-number/input-number.module.d.ts +12 -12
  241. package/input-number/input-number.props.d.ts +81 -81
  242. package/input-number/input-number.type.d.ts +24 -24
  243. package/input-number/public_api.d.ts +2 -2
  244. package/lib/ui-ng-zorro-antd.d.ts +1 -1
  245. package/lib/ui-ng-zorro-antd.module.d.ts +27 -27
  246. package/package.json +1 -1
  247. package/radio/index.d.ts +5 -5
  248. package/radio/public_api.d.ts +2 -2
  249. package/radio/radio.module.d.ts +14 -14
  250. package/radio/radio.type.d.ts +38 -38
  251. package/rate/index.d.ts +5 -5
  252. package/rate/public_api.d.ts +2 -2
  253. package/rate/rate.module.d.ts +12 -12
  254. package/rate/rate.type.d.ts +57 -57
  255. package/select/index.d.ts +5 -5
  256. package/select/public_api.d.ts +2 -2
  257. package/select/select.module.d.ts +13 -13
  258. package/select/select.props.d.ts +171 -171
  259. package/select/select.type.d.ts +36 -36
  260. package/slider/index.d.ts +5 -5
  261. package/slider/public_api.d.ts +2 -2
  262. package/slider/slider.module.d.ts +12 -12
  263. package/slider/slider.type.d.ts +76 -76
  264. package/switch/index.d.ts +5 -5
  265. package/switch/public_api.d.ts +2 -2
  266. package/switch/switch.module.d.ts +12 -12
  267. package/switch/switch.type.d.ts +44 -44
  268. package/tabs/index.d.ts +5 -5
  269. package/tabs/public_api.d.ts +2 -2
  270. package/tabs/tabs.module.d.ts +10 -10
  271. package/tabs/tabs.props.d.ts +126 -126
  272. package/tabs/tabs.wrapper.d.ts +28 -28
  273. package/textarea/index.d.ts +5 -5
  274. package/textarea/public_api.d.ts +2 -2
  275. package/textarea/textarea.module.d.ts +13 -13
  276. package/textarea/textarea.type.d.ts +39 -39
  277. package/timepicker/index.d.ts +5 -5
  278. package/timepicker/public_api.d.ts +2 -2
  279. package/timepicker/timepicker.module.d.ts +12 -12
  280. package/timepicker/timepicker.type.d.ts +138 -138
  281. package/transfer/index.d.ts +5 -5
  282. package/transfer/public_api.d.ts +2 -2
  283. package/transfer/transfer.component.d.ts +26 -26
  284. package/transfer/transfer.module.d.ts +13 -13
  285. package/transfer/transfer.type.d.ts +118 -118
  286. package/tree-select/index.d.ts +5 -5
  287. package/tree-select/public_api.d.ts +2 -2
  288. package/tree-select/tree-select.module.d.ts +12 -12
  289. package/tree-select/tree-select.type.d.ts +163 -164
  290. package/upload/index.d.ts +5 -5
  291. package/upload/public_api.d.ts +2 -2
  292. package/upload/upload.component.d.ts +33 -33
  293. package/upload/upload.module.d.ts +15 -15
  294. package/upload/upload.props.d.ts +173 -173
  295. package/upload/upload.type.d.ts +29 -29
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-rate.mjs","sources":["../../../../packages/formlyantd/rate/src/rate.type.ts","../../../../packages/formlyantd/rate/src/rate.module.ts","../../../../packages/formlyantd/rate/src/ngx-formly-zorro-antd-rate.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\ninterface RateProps extends FormlyFieldProps {\n /**\n * 是否允许再次点击后清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否允许半选\n * @default false\n */\n allowHalf?: boolean;\n\n /**\n * 自动获取焦点\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 自定义字符\n * @default <span nz-icon nzType=\"star\"></span>\n */\n character?: TemplateRef<void>;\n\n /**\n * star 总数\n * @default 5\n */\n count?: number;\n\n /**\n * 自定义每项的提示信息\n * @default []\n */\n tooltips?: string[];\n\n /**\n * 鼠标经过时数值变化的回调\n */\n hoverChange?: (field: FormlyFieldConfig, event?: number) => void;\n}\n\nexport interface FormlyRateFieldConfig extends FormlyFieldConfig<RateProps> {\n type: 'rate' | Type<FormlyFieldRate>;\n}\n\n@Component({\n selector: 'formly-field-rate',\n template: `\n <nz-rate\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAllowHalf]=\"props['allowHalf']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzCharacter]=\"props['character']!\"\n [nzCount]=\"props['count']\"\n [nzTooltips]=\"props['tooltips']!\"\n (ngModelChange)=\"props.change && props.change(field, $event)\"\n (nzOnBlur)=\"props.blur && props.blur(field, $event)\"\n (nzOnFocus)=\"props.focus && props.focus(field, $event)\"\n (nzOnHoverChange)=\"props['hoverChange'] && props['hoverChange'](field, $event)\"\n (nzOnKeyDown)=\"props.keydown && props.keydown(field, $event)\"\n ></nz-rate>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldRate extends FieldType<FieldTypeConfig<RateProps>> {\n override defaultOptions = {\n props: {\n allowClear: true,\n allowHalf: false,\n autoFocus: false,\n count: 5,\n tooltips: []\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzRateModule } from 'ng-zorro-antd/rate';\n\nimport { FormlyFieldRate } from './rate.type';\n\n@NgModule({\n declarations: [FormlyFieldRate],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzRateModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'rate',\n component: FormlyFieldRate,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzRateModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAwEM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;AArB1E,IAAA,WAAA,GAAA;;AAsBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,KAAK,EAAE,CAAC;AACR,gBAAA,QAAQ,EAAE,EAAE;AACb,aAAA;SACF,CAAC;AACH,KAAA;;4GAVY,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,EAnBhB,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;AAgBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAA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Ae,CAAA,EAAA,OAAA,EAAA,CAE5B,YAAY;QACZ,mBAAmB;QACnB,uBAAuB;QACvB,YAAY,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAaH,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAhB3B,YAAY;QACZ,mBAAmB;QACnB,uBAAuB;QACvB,YAAY;QAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,YAAA,KAAK,EAAE;AACL,gBAAA;AACE,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,SAAS,EAAE,eAAe;oBAC1B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAnB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;AAC/B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;oCAC1B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-rate.mjs","sources":["../../../../packages/formlyantd/rate/src/rate.type.ts","../../../../packages/formlyantd/rate/src/rate.module.ts","../../../../packages/formlyantd/rate/src/ngx-formly-zorro-antd-rate.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\ninterface RateProps extends FormlyFieldProps {\r\n /**\r\n * 是否允许再次点击后清除\r\n * @default true\r\n */\r\n allowClear?: boolean;\r\n\r\n /**\r\n * 是否允许半选\r\n * @default false\r\n */\r\n allowHalf?: boolean;\r\n\r\n /**\r\n * 自动获取焦点\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 自定义字符\r\n * @default <span nz-icon nzType=\"star\"></span>\r\n */\r\n character?: TemplateRef<void>;\r\n\r\n /**\r\n * star 总数\r\n * @default 5\r\n */\r\n count?: number;\r\n\r\n /**\r\n * 自定义每项的提示信息\r\n * @default []\r\n */\r\n tooltips?: string[];\r\n\r\n /**\r\n * 鼠标经过时数值变化的回调\r\n */\r\n hoverChange?: (field: FormlyFieldConfig, event?: number) => void;\r\n}\r\n\r\nexport interface FormlyRateFieldConfig extends FormlyFieldConfig<RateProps> {\r\n type: 'rate' | Type<FormlyFieldRate>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-rate',\r\n template: `\r\n <nz-rate\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAllowHalf]=\"props['allowHalf']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzCharacter]=\"props['character']!\"\r\n [nzCount]=\"props['count']\"\r\n [nzTooltips]=\"props['tooltips']!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzOnBlur)=\"props.blur && props.blur(field, $event)\"\r\n (nzOnFocus)=\"props.focus && props.focus(field, $event)\"\r\n (nzOnHoverChange)=\"props['hoverChange'] && props['hoverChange'](field, $event)\"\r\n (nzOnKeyDown)=\"props.keydown && props.keydown(field, $event)\"\r\n ></nz-rate>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldRate extends FieldType<FieldTypeConfig<RateProps>> {\r\n override defaultOptions = {\r\n props: {\r\n allowClear: true,\r\n allowHalf: false,\r\n autoFocus: false,\r\n count: 5,\r\n tooltips: []\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzRateModule } from 'ng-zorro-antd/rate';\r\n\r\nimport { FormlyFieldRate } from './rate.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldRate],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzRateModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'rate',\r\n component: FormlyFieldRate,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzRateModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAwEM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;AArB1E,IAAA,WAAA,GAAA;;AAsBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,KAAK,EAAE,CAAC;AACR,gBAAA,QAAQ,EAAE,EAAE;AACb,aAAA;SACF,CAAC;AACH,KAAA;;4GAVY,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,C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EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
@@ -12,216 +12,216 @@ import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
12
12
  import * as i3 from 'ng-zorro-antd/select';
13
13
  import { NzSelectModule } from 'ng-zorro-antd/select';
14
14
 
15
- class FormlyFieldSelect extends FieldType {
16
- constructor() {
17
- super(...arguments);
18
- this.defaultOptions = {
19
- props: {
20
- compareWith: (o1, o2) => o1 === o2,
21
- autoClearSearchValue: true,
22
- allowClear: false,
23
- backdrop: false,
24
- open: false,
25
- dropdownMatchSelectWidth: true,
26
- serverSearch: false,
27
- selectOnTab: false,
28
- maxMultipleCount: Infinity,
29
- mode: 'default',
30
- showSearch: false,
31
- size: 'default',
32
- status: '',
33
- tokenSeparators: [],
34
- loading: false,
35
- optionHeightPx: 32,
36
- optionOverflowSize: 8
37
- }
38
- };
39
- }
40
- ngOnInit() {
41
- if (this.props['filterOption'] instanceof Function) {
42
- this.select.nzFilterOption = this.props['filterOption'];
43
- }
44
- }
45
- }
46
- FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
47
- FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldSelect, selector: "formly-field-select", viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
48
- <nz-select
49
- #select
50
- [class.ng-dirty]="showError"
51
- [nzPlaceHolder]="props.placeholder ?? ''"
52
- [compareWith]="props['compareWith']!"
53
- [nzAllowClear]="props['allowClear']!!"
54
- [nzSelectOnTab]="props['selectOnTab']!!"
55
- [nzAutoClearSearchValue]="props['autoClearSearchValue']"
56
- [nzBackdrop]="props['backdrop']!!"
57
- [nzBorderless]="props['borderless']"
58
- [nzOpen]="props['open']!!"
59
- [nzDropdownClassName]="props['dropdownClassName']"
60
- [nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']!!"
61
- [nzDropdownStyle]="props['dropdownStyle'] ?? null"
62
- [nzCustomTemplate]="props['customTemplate'] ?? null"
63
- [nzServerSearch]="props['serverSearch']!!"
64
- [nzMaxMultipleCount]="props['maxMultipleCount']!"
65
- [nzMode]="props['mode']!"
66
- [nzShowSearch]="props['showSearch']!!"
67
- [nzSize]="props['size']!"
68
- [nzStatus]="props['status']!"
69
- [nzLoading]="props['loading']!!"
70
- [nzPlacement]="props['placement']"
71
- [nzShowArrow]="props['showArrow']!!"
72
- [nzMaxTagCount]="props['maxTagCount']"
73
- [nzMaxTagPlaceholder]="props['maxTagPlaceholder'] ?? null"
74
- [nzOptionHeightPx]="props['optionHeightPx']!"
75
- [nzOptionOverflowSize]="props['optionOverflowSize']!"
76
- [formControl]="formControl"
77
- [formlyAttributes]="field"
78
- (ngModelChange)="props.change && props.change(field, $event)"
79
- (nzBlur)="props.blur && props.blur(field, $event)"
80
- (nzFocus)="props.focus && props.focus(field, $event)"
81
- (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
82
- (nzScrollToBottom)="props['scrollToBottom'] && props['scrollToBottom'](field, $event)"
83
- (nzOnSearch)="props['onSearch'] && props['onSearch'](field, $event)"
84
- >
85
- <ng-container *ngFor="let item of to.options | formlySelectOptions: field | async">
86
- <nz-option-group [nzLabel]="item.label" *ngIf="item.group; else selectoption">
87
- <nz-option
88
- *ngFor="let child of item.group"
89
- [nzValue]="child.value"
90
- [nzDisabled]="child.disabled"
91
- [nzLabel]="child.label"
92
- >
93
- </nz-option>
94
- </nz-option-group>
95
-
96
- <ng-template #selectoption>
97
- <nz-option
98
- [nzValue]="item.value"
99
- [nzDisabled]="item.disabled"
100
- [nzLabel]="item.label"
101
- ></nz-option>
102
- </ng-template>
103
- </ng-container>
104
- </nz-select>
105
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzOptionComponent, selector: "nz-option", inputs: ["nzLabel", "nzValue", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "component", type: i3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSelect, decorators: [{
107
- type: Component,
108
- args: [{
109
- selector: 'formly-field-select',
110
- template: `
111
- <nz-select
112
- #select
113
- [class.ng-dirty]="showError"
114
- [nzPlaceHolder]="props.placeholder ?? ''"
115
- [compareWith]="props['compareWith']!"
116
- [nzAllowClear]="props['allowClear']!!"
117
- [nzSelectOnTab]="props['selectOnTab']!!"
118
- [nzAutoClearSearchValue]="props['autoClearSearchValue']"
119
- [nzBackdrop]="props['backdrop']!!"
120
- [nzBorderless]="props['borderless']"
121
- [nzOpen]="props['open']!!"
122
- [nzDropdownClassName]="props['dropdownClassName']"
123
- [nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']!!"
124
- [nzDropdownStyle]="props['dropdownStyle'] ?? null"
125
- [nzCustomTemplate]="props['customTemplate'] ?? null"
126
- [nzServerSearch]="props['serverSearch']!!"
127
- [nzMaxMultipleCount]="props['maxMultipleCount']!"
128
- [nzMode]="props['mode']!"
129
- [nzShowSearch]="props['showSearch']!!"
130
- [nzSize]="props['size']!"
131
- [nzStatus]="props['status']!"
132
- [nzLoading]="props['loading']!!"
133
- [nzPlacement]="props['placement']"
134
- [nzShowArrow]="props['showArrow']!!"
135
- [nzMaxTagCount]="props['maxTagCount']"
136
- [nzMaxTagPlaceholder]="props['maxTagPlaceholder'] ?? null"
137
- [nzOptionHeightPx]="props['optionHeightPx']!"
138
- [nzOptionOverflowSize]="props['optionOverflowSize']!"
139
- [formControl]="formControl"
140
- [formlyAttributes]="field"
141
- (ngModelChange)="props.change && props.change(field, $event)"
142
- (nzBlur)="props.blur && props.blur(field, $event)"
143
- (nzFocus)="props.focus && props.focus(field, $event)"
144
- (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
145
- (nzScrollToBottom)="props['scrollToBottom'] && props['scrollToBottom'](field, $event)"
146
- (nzOnSearch)="props['onSearch'] && props['onSearch'](field, $event)"
147
- >
148
- <ng-container *ngFor="let item of to.options | formlySelectOptions: field | async">
149
- <nz-option-group [nzLabel]="item.label" *ngIf="item.group; else selectoption">
150
- <nz-option
151
- *ngFor="let child of item.group"
152
- [nzValue]="child.value"
153
- [nzDisabled]="child.disabled"
154
- [nzLabel]="child.label"
155
- >
156
- </nz-option>
157
- </nz-option-group>
158
-
159
- <ng-template #selectoption>
160
- <nz-option
161
- [nzValue]="item.value"
162
- [nzDisabled]="item.disabled"
163
- [nzLabel]="item.label"
164
- ></nz-option>
165
- </ng-template>
166
- </ng-container>
167
- </nz-select>
168
- `,
169
- changeDetection: ChangeDetectionStrategy.OnPush
170
- }]
171
- }], propDecorators: { select: [{
172
- type: ViewChild,
173
- args: ['select', { static: true }]
15
+ class FormlyFieldSelect extends FieldType {
16
+ constructor() {
17
+ super(...arguments);
18
+ this.defaultOptions = {
19
+ props: {
20
+ compareWith: (o1, o2) => o1 === o2,
21
+ autoClearSearchValue: true,
22
+ allowClear: false,
23
+ backdrop: false,
24
+ open: false,
25
+ dropdownMatchSelectWidth: true,
26
+ serverSearch: false,
27
+ selectOnTab: false,
28
+ maxMultipleCount: Infinity,
29
+ mode: 'default',
30
+ showSearch: false,
31
+ size: 'default',
32
+ status: '',
33
+ tokenSeparators: [],
34
+ loading: false,
35
+ optionHeightPx: 32,
36
+ optionOverflowSize: 8
37
+ }
38
+ };
39
+ }
40
+ ngOnInit() {
41
+ if (this.props['filterOption'] instanceof Function) {
42
+ this.select.nzFilterOption = this.props['filterOption'];
43
+ }
44
+ }
45
+ }
46
+ FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
47
+ FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldSelect, selector: "formly-field-select", viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
48
+ <nz-select
49
+ #select
50
+ [class.ng-dirty]="showError"
51
+ [nzPlaceHolder]="props.placeholder ?? ''"
52
+ [compareWith]="props['compareWith']!"
53
+ [nzAllowClear]="props['allowClear']!!"
54
+ [nzSelectOnTab]="props['selectOnTab']!!"
55
+ [nzAutoClearSearchValue]="props['autoClearSearchValue']"
56
+ [nzBackdrop]="props['backdrop']!!"
57
+ [nzBorderless]="props['borderless']"
58
+ [nzOpen]="props['open']!!"
59
+ [nzDropdownClassName]="props['dropdownClassName']"
60
+ [nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']!!"
61
+ [nzDropdownStyle]="props['dropdownStyle'] ?? null"
62
+ [nzCustomTemplate]="props['customTemplate'] ?? null"
63
+ [nzServerSearch]="props['serverSearch']!!"
64
+ [nzMaxMultipleCount]="props['maxMultipleCount']!"
65
+ [nzMode]="props['mode']!"
66
+ [nzShowSearch]="props['showSearch']!!"
67
+ [nzSize]="props['size']!"
68
+ [nzStatus]="props['status']!"
69
+ [nzLoading]="props['loading']!!"
70
+ [nzPlacement]="props['placement']"
71
+ [nzShowArrow]="props['showArrow']!!"
72
+ [nzMaxTagCount]="props['maxTagCount']"
73
+ [nzMaxTagPlaceholder]="props['maxTagPlaceholder'] ?? null"
74
+ [nzOptionHeightPx]="props['optionHeightPx']!"
75
+ [nzOptionOverflowSize]="props['optionOverflowSize']!"
76
+ [formControl]="formControl"
77
+ [formlyAttributes]="field"
78
+ (ngModelChange)="props.change && props.change(field, $event)"
79
+ (nzBlur)="props.blur && props.blur(field, $event)"
80
+ (nzFocus)="props.focus && props.focus(field, $event)"
81
+ (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
82
+ (nzScrollToBottom)="props['scrollToBottom'] && props['scrollToBottom'](field, $event)"
83
+ (nzOnSearch)="props['onSearch'] && props['onSearch'](field, $event)"
84
+ >
85
+ <ng-container *ngFor="let item of to.options | formlySelectOptions: field | async">
86
+ <nz-option-group [nzLabel]="item.label" *ngIf="item.group; else selectoption">
87
+ <nz-option
88
+ *ngFor="let child of item.group"
89
+ [nzValue]="child.value"
90
+ [nzDisabled]="child.disabled"
91
+ [nzLabel]="child.label"
92
+ >
93
+ </nz-option>
94
+ </nz-option-group>
95
+
96
+ <ng-template #selectoption>
97
+ <nz-option
98
+ [nzValue]="item.value"
99
+ [nzDisabled]="item.disabled"
100
+ [nzLabel]="item.label"
101
+ ></nz-option>
102
+ </ng-template>
103
+ </ng-container>
104
+ </nz-select>
105
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzOptionComponent, selector: "nz-option", inputs: ["nzLabel", "nzValue", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "component", type: i3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSelect, decorators: [{
107
+ type: Component,
108
+ args: [{
109
+ selector: 'formly-field-select',
110
+ template: `
111
+ <nz-select
112
+ #select
113
+ [class.ng-dirty]="showError"
114
+ [nzPlaceHolder]="props.placeholder ?? ''"
115
+ [compareWith]="props['compareWith']!"
116
+ [nzAllowClear]="props['allowClear']!!"
117
+ [nzSelectOnTab]="props['selectOnTab']!!"
118
+ [nzAutoClearSearchValue]="props['autoClearSearchValue']"
119
+ [nzBackdrop]="props['backdrop']!!"
120
+ [nzBorderless]="props['borderless']"
121
+ [nzOpen]="props['open']!!"
122
+ [nzDropdownClassName]="props['dropdownClassName']"
123
+ [nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']!!"
124
+ [nzDropdownStyle]="props['dropdownStyle'] ?? null"
125
+ [nzCustomTemplate]="props['customTemplate'] ?? null"
126
+ [nzServerSearch]="props['serverSearch']!!"
127
+ [nzMaxMultipleCount]="props['maxMultipleCount']!"
128
+ [nzMode]="props['mode']!"
129
+ [nzShowSearch]="props['showSearch']!!"
130
+ [nzSize]="props['size']!"
131
+ [nzStatus]="props['status']!"
132
+ [nzLoading]="props['loading']!!"
133
+ [nzPlacement]="props['placement']"
134
+ [nzShowArrow]="props['showArrow']!!"
135
+ [nzMaxTagCount]="props['maxTagCount']"
136
+ [nzMaxTagPlaceholder]="props['maxTagPlaceholder'] ?? null"
137
+ [nzOptionHeightPx]="props['optionHeightPx']!"
138
+ [nzOptionOverflowSize]="props['optionOverflowSize']!"
139
+ [formControl]="formControl"
140
+ [formlyAttributes]="field"
141
+ (ngModelChange)="props.change && props.change(field, $event)"
142
+ (nzBlur)="props.blur && props.blur(field, $event)"
143
+ (nzFocus)="props.focus && props.focus(field, $event)"
144
+ (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
145
+ (nzScrollToBottom)="props['scrollToBottom'] && props['scrollToBottom'](field, $event)"
146
+ (nzOnSearch)="props['onSearch'] && props['onSearch'](field, $event)"
147
+ >
148
+ <ng-container *ngFor="let item of to.options | formlySelectOptions: field | async">
149
+ <nz-option-group [nzLabel]="item.label" *ngIf="item.group; else selectoption">
150
+ <nz-option
151
+ *ngFor="let child of item.group"
152
+ [nzValue]="child.value"
153
+ [nzDisabled]="child.disabled"
154
+ [nzLabel]="child.label"
155
+ >
156
+ </nz-option>
157
+ </nz-option-group>
158
+
159
+ <ng-template #selectoption>
160
+ <nz-option
161
+ [nzValue]="item.value"
162
+ [nzDisabled]="item.disabled"
163
+ [nzLabel]="item.label"
164
+ ></nz-option>
165
+ </ng-template>
166
+ </ng-container>
167
+ </nz-select>
168
+ `,
169
+ changeDetection: ChangeDetectionStrategy.OnPush
170
+ }]
171
+ }], propDecorators: { select: [{
172
+ type: ViewChild,
173
+ args: ['select', { static: true }]
174
174
  }] } });
175
175
 
176
- class FormlyNzSelectModule {
177
- }
178
- FormlyNzSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
179
- FormlyNzSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
180
- ReactiveFormsModule,
181
- NzSelectModule,
182
- FormlyNzFormFieldModule,
183
- FormlySelectModule, i4.FormlyModule] });
184
- FormlyNzSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, imports: [CommonModule,
185
- ReactiveFormsModule,
186
- NzSelectModule,
187
- FormlyNzFormFieldModule,
188
- FormlySelectModule,
189
- FormlyModule.forChild({
190
- types: [
191
- {
192
- name: 'select',
193
- component: FormlyFieldSelect,
194
- wrappers: ['form-field']
195
- },
196
- { name: 'enum', extends: 'select' }
197
- ]
198
- })] });
199
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, decorators: [{
200
- type: NgModule,
201
- args: [{
202
- declarations: [FormlyFieldSelect],
203
- imports: [
204
- CommonModule,
205
- ReactiveFormsModule,
206
- NzSelectModule,
207
- FormlyNzFormFieldModule,
208
- FormlySelectModule,
209
- FormlyModule.forChild({
210
- types: [
211
- {
212
- name: 'select',
213
- component: FormlyFieldSelect,
214
- wrappers: ['form-field']
215
- },
216
- { name: 'enum', extends: 'select' }
217
- ]
218
- })
219
- ]
220
- }]
176
+ class FormlyNzSelectModule {
177
+ }
178
+ FormlyNzSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
179
+ FormlyNzSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
180
+ ReactiveFormsModule,
181
+ NzSelectModule,
182
+ FormlyNzFormFieldModule,
183
+ FormlySelectModule, i4.FormlyModule] });
184
+ FormlyNzSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, imports: [CommonModule,
185
+ ReactiveFormsModule,
186
+ NzSelectModule,
187
+ FormlyNzFormFieldModule,
188
+ FormlySelectModule,
189
+ FormlyModule.forChild({
190
+ types: [
191
+ {
192
+ name: 'select',
193
+ component: FormlyFieldSelect,
194
+ wrappers: ['form-field']
195
+ },
196
+ { name: 'enum', extends: 'select' }
197
+ ]
198
+ })] });
199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSelectModule, decorators: [{
200
+ type: NgModule,
201
+ args: [{
202
+ declarations: [FormlyFieldSelect],
203
+ imports: [
204
+ CommonModule,
205
+ ReactiveFormsModule,
206
+ NzSelectModule,
207
+ FormlyNzFormFieldModule,
208
+ FormlySelectModule,
209
+ FormlyModule.forChild({
210
+ types: [
211
+ {
212
+ name: 'select',
213
+ component: FormlyFieldSelect,
214
+ wrappers: ['form-field']
215
+ },
216
+ { name: 'enum', extends: 'select' }
217
+ ]
218
+ })
219
+ ]
220
+ }]
221
221
  }] });
222
222
 
223
- /**
224
- * Generated bundle index. Do not edit.
223
+ /**
224
+ * Generated bundle index. Do not edit.
225
225
  */
226
226
 
227
227
  export { FormlyFieldSelect, FormlyNzSelectModule };
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-select.mjs","sources":["../../../../packages/formlyantd/select/src/select.type.ts","../../../../packages/formlyantd/select/src/select.module.ts","../../../../packages/formlyantd/select/src/ngx-formly-zorro-antd-select.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy, ViewChild, OnInit } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\n\nimport { NzSelectComponent } from 'ng-zorro-antd/select';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport type { SelectProps } from './select.props';\n\nexport interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {\n type: 'select' | 'enum' | Type<FormlyFieldSelect>;\n}\n\n@Component({\n selector: 'formly-field-select',\n template: `\n <nz-select\n #select\n [class.ng-dirty]=\"showError\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [compareWith]=\"props['compareWith']!\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzSelectOnTab]=\"props['selectOnTab']!!\"\n [nzAutoClearSearchValue]=\"props['autoClearSearchValue']\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzBorderless]=\"props['borderless']\"\n [nzOpen]=\"props['open']!!\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\n [nzCustomTemplate]=\"props['customTemplate'] ?? null\"\n [nzServerSearch]=\"props['serverSearch']!!\"\n [nzMaxMultipleCount]=\"props['maxMultipleCount']!\"\n [nzMode]=\"props['mode']!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzLoading]=\"props['loading']!!\"\n [nzPlacement]=\"props['placement']\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzMaxTagCount]=\"props['maxTagCount']\"\n [nzMaxTagPlaceholder]=\"props['maxTagPlaceholder'] ?? null\"\n [nzOptionHeightPx]=\"props['optionHeightPx']!\"\n [nzOptionOverflowSize]=\"props['optionOverflowSize']!\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n (ngModelChange)=\"props.change && props.change(field, $event)\"\n (nzBlur)=\"props.blur && props.blur(field, $event)\"\n (nzFocus)=\"props.focus && props.focus(field, $event)\"\n (nzOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\n (nzScrollToBottom)=\"props['scrollToBottom'] && props['scrollToBottom'](field, $event)\"\n (nzOnSearch)=\"props['onSearch'] && props['onSearch'](field, $event)\"\n >\n <ng-container *ngFor=\"let item of to.options | formlySelectOptions: field | async\">\n <nz-option-group [nzLabel]=\"item.label\" *ngIf=\"item.group; else selectoption\">\n <nz-option\n *ngFor=\"let child of item.group\"\n [nzValue]=\"child.value\"\n [nzDisabled]=\"child.disabled\"\n [nzLabel]=\"child.label\"\n >\n </nz-option>\n </nz-option-group>\n\n <ng-template #selectoption>\n <nz-option\n [nzValue]=\"item.value\"\n [nzDisabled]=\"item.disabled\"\n [nzLabel]=\"item.label\"\n ></nz-option>\n </ng-template>\n </ng-container>\n </nz-select>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig> implements OnInit {\n override defaultOptions = {\n props: {\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2,\n autoClearSearchValue: true,\n allowClear: false,\n backdrop: false,\n open: false,\n dropdownMatchSelectWidth: true,\n serverSearch: false,\n selectOnTab: false,\n maxMultipleCount: Infinity,\n mode: 'default' as const,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n tokenSeparators: [],\n loading: false,\n optionHeightPx: 32,\n optionOverflowSize: 8\n }\n };\n @ViewChild('select', { static: true }) select!: NzSelectComponent;\n ngOnInit(): void {\n if (this.props['filterOption'] instanceof Function) {\n this.select.nzFilterOption = this.props['filterOption'] as any;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzSelectModule } from 'ng-zorro-antd/select';\n\nimport { FormlyFieldSelect } from './select.type';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzSelectModule,\n\n FormlyNzFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field']\n },\n { name: 'enum', extends: 'select' }\n ]\n })\n ]\n})\nexport class FormlyNzSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AA0EM,MAAO,iBAAkB,SAAQ,SAA0B,CAAA;AA/DjE,IAAA,WAAA,GAAA;;AAgEW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;gBACL,WAAW,EAAE,CAAC,EAAa,EAAE,EAAa,KAAK,EAAE,KAAK,EAAE;AACxD,gBAAA,oBAAoB,EAAE,IAAI;AAC1B,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,wBAAwB,EAAE,IAAI;AAC9B,gBAAA,YAAY,EAAE,KAAK;AACnB,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,gBAAgB,EAAE,QAAQ;AAC1B,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,eAAe,EAAE,EAAE;AACnB,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,cAAc,EAAE,EAAE;AAClB,gBAAA,kBAAkB,EAAE,CAAC;AACtB,aAAA;SACF,CAAC;AAOH,KAAA;IALC,QAAQ,GAAA;QACN,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,YAAY,QAAQ,EAAE;YAClD,IAAI,CAAC,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAQ,CAAC;AAChE,SAAA;KACF;;8GA3BU,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oB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,QAAQ;AACd,oBAAA,SAAS,EAAE,iBAAiB;oBAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iBAAA;AACD,gBAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBArBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,cAAc;wBAEd,uBAAuB;wBACvB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC/BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-select.mjs","sources":["../../../../packages/formlyantd/select/src/select.type.ts","../../../../packages/formlyantd/select/src/select.module.ts","../../../../packages/formlyantd/select/src/ngx-formly-zorro-antd-select.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy, ViewChild, OnInit } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport { NzSelectComponent } from 'ng-zorro-antd/select';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport type { SelectProps } from './select.props';\r\n\r\nexport interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {\r\n type: 'select' | 'enum' | Type<FormlyFieldSelect>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-select',\r\n template: `\r\n <nz-select\r\n #select\r\n [class.ng-dirty]=\"showError\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [compareWith]=\"props['compareWith']!\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzSelectOnTab]=\"props['selectOnTab']!!\"\r\n [nzAutoClearSearchValue]=\"props['autoClearSearchValue']\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzOpen]=\"props['open']!!\"\r\n [nzDropdownClassName]=\"props['dropdownClassName']\"\r\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\r\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\r\n [nzCustomTemplate]=\"props['customTemplate'] ?? null\"\r\n [nzServerSearch]=\"props['serverSearch']!!\"\r\n [nzMaxMultipleCount]=\"props['maxMultipleCount']!\"\r\n [nzMode]=\"props['mode']!\"\r\n [nzShowSearch]=\"props['showSearch']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzPlacement]=\"props['placement']\"\r\n [nzShowArrow]=\"props['showArrow']!!\"\r\n [nzMaxTagCount]=\"props['maxTagCount']\"\r\n [nzMaxTagPlaceholder]=\"props['maxTagPlaceholder'] ?? null\"\r\n [nzOptionHeightPx]=\"props['optionHeightPx']!\"\r\n [nzOptionOverflowSize]=\"props['optionOverflowSize']!\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzBlur)=\"props.blur && props.blur(field, $event)\"\r\n (nzFocus)=\"props.focus && props.focus(field, $event)\"\r\n (nzOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n (nzScrollToBottom)=\"props['scrollToBottom'] && props['scrollToBottom'](field, $event)\"\r\n (nzOnSearch)=\"props['onSearch'] && props['onSearch'](field, $event)\"\r\n >\r\n <ng-container *ngFor=\"let item of to.options | formlySelectOptions: field | async\">\r\n <nz-option-group [nzLabel]=\"item.label\" *ngIf=\"item.group; else selectoption\">\r\n <nz-option\r\n *ngFor=\"let child of item.group\"\r\n [nzValue]=\"child.value\"\r\n [nzDisabled]=\"child.disabled\"\r\n [nzLabel]=\"child.label\"\r\n >\r\n </nz-option>\r\n </nz-option-group>\r\n\r\n <ng-template #selectoption>\r\n <nz-option\r\n [nzValue]=\"item.value\"\r\n [nzDisabled]=\"item.disabled\"\r\n [nzLabel]=\"item.label\"\r\n ></nz-option>\r\n </ng-template>\r\n </ng-container>\r\n </nz-select>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig> implements OnInit {\r\n override defaultOptions = {\r\n props: {\r\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2,\r\n autoClearSearchValue: true,\r\n allowClear: false,\r\n backdrop: false,\r\n open: false,\r\n dropdownMatchSelectWidth: true,\r\n serverSearch: false,\r\n selectOnTab: false,\r\n maxMultipleCount: Infinity,\r\n mode: 'default' as const,\r\n showSearch: false,\r\n size: 'default' as const,\r\n status: '' as const,\r\n tokenSeparators: [],\r\n loading: false,\r\n optionHeightPx: 32,\r\n optionOverflowSize: 8\r\n }\r\n };\r\n @ViewChild('select', { static: true }) select!: NzSelectComponent;\r\n ngOnInit(): void {\r\n if (this.props['filterOption'] instanceof Function) {\r\n this.select.nzFilterOption = this.props['filterOption'] as any;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlySelectModule } from '@ngx-formly/core/select';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzSelectModule } from 'ng-zorro-antd/select';\r\n\r\nimport { FormlyFieldSelect } from './select.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldSelect],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzSelectModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlySelectModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'select',\r\n component: FormlyFieldSelect,\r\n wrappers: ['form-field']\r\n },\r\n { name: 'enum', extends: 'select' }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzSelectModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AA0EM,MAAO,iBAAkB,SAAQ,SAA0B,CAAA;AA/DjE,IAAA,WAAA,GAAA;;AAgEW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;gBACL,WAAW,EAAE,CAAC,EAAa,EAAE,EAAa,KAAK,EAAE,KAAK,EAAE;AACxD,gBAAA,oBAAoB,EAAE,IAAI;AAC1B,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,wBAAwB,EAAE,IAAI;AAC9B,gBAAA,YAAY,EAAE,KAAK;AACnB,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,gBAAgB,EAAE,QAAQ;AAC1B,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,eAAe,EAAE,EAAE;AACnB,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,cAAc,EAAE,EAAE;AAClB,gBAAA,kBAAkB,EAAE,CAAC;AACtB,aAAA;SACF,CAAC;AAOH,KAAA;IALC,QAAQ,GAAA;QACN,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,YA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