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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (303) hide show
  1. package/README.md +7 -0
  2. package/autocomplete/autocomplete.props.d.ts +39 -0
  3. package/autocomplete/ngx-formly-zorro-antd-autocomplete.d.ts +5 -0
  4. package/autocomplete/package.json +10 -0
  5. package/autocomplete/public_api.d.ts +1 -0
  6. package/button/button.module.d.ts +11 -0
  7. package/button/button.type.d.ts +65 -0
  8. package/button/ngx-formly-zorro-antd-button.d.ts +5 -0
  9. package/button/package.json +10 -0
  10. package/button/public_api.d.ts +2 -0
  11. package/card/card.module.d.ts +10 -0
  12. package/card/card.wrapper.d.ts +58 -0
  13. package/card/ngx-formly-zorro-antd-card.d.ts +5 -0
  14. package/card/package.json +10 -0
  15. package/card/public_api.d.ts +2 -0
  16. package/cascader/cascader.module.d.ts +12 -0
  17. package/cascader/cascader.type.d.ts +152 -0
  18. package/cascader/ngx-formly-zorro-antd-cascader.d.ts +5 -0
  19. package/cascader/package.json +10 -0
  20. package/cascader/public_api.d.ts +2 -0
  21. package/checkbox/checkbox.module.d.ts +12 -0
  22. package/checkbox/checkbox.type.d.ts +35 -0
  23. package/checkbox/ngx-formly-zorro-antd-checkbox.d.ts +5 -0
  24. package/checkbox/package.json +10 -0
  25. package/checkbox/public_api.d.ts +2 -0
  26. package/datepicker/datepicker.module.d.ts +12 -0
  27. package/datepicker/datepicker.props.d.ts +146 -0
  28. package/datepicker/datepicker.type.d.ts +31 -0
  29. package/datepicker/ngx-formly-zorro-antd-datepicker.d.ts +5 -0
  30. package/datepicker/package.json +10 -0
  31. package/datepicker/public_api.d.ts +2 -0
  32. package/esm2020/autocomplete/autocomplete.props.mjs +2 -0
  33. package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +5 -0
  34. package/esm2020/autocomplete/public_api.mjs +2 -0
  35. package/esm2020/button/button.module.mjs +63 -0
  36. package/esm2020/button/button.type.mjs +70 -0
  37. package/esm2020/button/ngx-formly-zorro-antd-button.mjs +5 -0
  38. package/esm2020/button/public_api.mjs +3 -0
  39. package/esm2020/card/card.module.mjs +45 -0
  40. package/esm2020/card/card.wrapper.mjs +47 -0
  41. package/esm2020/card/ngx-formly-zorro-antd-card.mjs +5 -0
  42. package/esm2020/card/public_api.mjs +3 -0
  43. package/esm2020/cascader/cascader.module.mjs +53 -0
  44. package/esm2020/cascader/cascader.type.mjs +112 -0
  45. package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +5 -0
  46. package/esm2020/cascader/public_api.mjs +3 -0
  47. package/esm2020/checkbox/checkbox.module.mjs +61 -0
  48. package/esm2020/checkbox/checkbox.type.mjs +69 -0
  49. package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +5 -0
  50. package/esm2020/checkbox/public_api.mjs +3 -0
  51. package/esm2020/datepicker/datepicker.module.mjs +53 -0
  52. package/esm2020/datepicker/datepicker.props.mjs +2 -0
  53. package/esm2020/datepicker/datepicker.type.mjs +189 -0
  54. package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +5 -0
  55. package/esm2020/datepicker/public_api.mjs +3 -0
  56. package/esm2020/form-field/form-field.module.mjs +47 -0
  57. package/esm2020/form-field/form-field.props.mjs +2 -0
  58. package/esm2020/form-field/form-field.wrapper.mjs +117 -0
  59. package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +5 -0
  60. package/esm2020/form-field/public_api.mjs +2 -0
  61. package/esm2020/index.mjs +2 -0
  62. package/esm2020/input/input.module.mjs +91 -0
  63. package/esm2020/input/input.props.mjs +2 -0
  64. package/esm2020/input/input.type.mjs +259 -0
  65. package/esm2020/input/ngx-formly-zorro-antd-input.mjs +5 -0
  66. package/esm2020/input/public_api.mjs +3 -0
  67. package/esm2020/input-group/input-group.module.mjs +43 -0
  68. package/esm2020/input-group/input-group.props.mjs +2 -0
  69. package/esm2020/input-group/input-group.type.mjs +71 -0
  70. package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +5 -0
  71. package/esm2020/input-group/public_api.mjs +3 -0
  72. package/esm2020/input-number/input-number.module.mjs +61 -0
  73. package/esm2020/input-number/input-number.props.mjs +2 -0
  74. package/esm2020/input-number/input-number.type.mjs +128 -0
  75. package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +5 -0
  76. package/esm2020/input-number/public_api.mjs +3 -0
  77. package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -0
  78. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +95 -0
  79. package/esm2020/ngx-formly-zorro-antd.mjs +5 -0
  80. package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +5 -0
  81. package/esm2020/radio/public_api.mjs +3 -0
  82. package/esm2020/radio/radio.module.mjs +61 -0
  83. package/esm2020/radio/radio.type.mjs +96 -0
  84. package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +5 -0
  85. package/esm2020/rate/public_api.mjs +3 -0
  86. package/esm2020/rate/rate.module.mjs +53 -0
  87. package/esm2020/rate/rate.type.mjs +63 -0
  88. package/esm2020/select/ngx-formly-zorro-antd-select.mjs +5 -0
  89. package/esm2020/select/public_api.mjs +3 -0
  90. package/esm2020/select/select.module.mjs +59 -0
  91. package/esm2020/select/select.props.mjs +2 -0
  92. package/esm2020/select/select.type.mjs +163 -0
  93. package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +5 -0
  94. package/esm2020/slider/public_api.mjs +3 -0
  95. package/esm2020/slider/slider.module.mjs +53 -0
  96. package/esm2020/slider/slider.type.mjs +67 -0
  97. package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +5 -0
  98. package/esm2020/switch/public_api.mjs +3 -0
  99. package/esm2020/switch/switch.module.mjs +53 -0
  100. package/esm2020/switch/switch.type.mjs +53 -0
  101. package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +5 -0
  102. package/esm2020/tabs/public_api.mjs +3 -0
  103. package/esm2020/tabs/tabs.module.mjs +43 -0
  104. package/esm2020/tabs/tabs.props.mjs +2 -0
  105. package/esm2020/tabs/tabs.wrapper.mjs +111 -0
  106. package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +5 -0
  107. package/esm2020/textarea/public_api.mjs +3 -0
  108. package/esm2020/textarea/textarea.module.mjs +53 -0
  109. package/esm2020/textarea/textarea.type.mjs +88 -0
  110. package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +5 -0
  111. package/esm2020/timepicker/public_api.mjs +3 -0
  112. package/esm2020/timepicker/timepicker.module.mjs +53 -0
  113. package/esm2020/timepicker/timepicker.type.mjs +92 -0
  114. package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +5 -0
  115. package/esm2020/transfer/public_api.mjs +3 -0
  116. package/esm2020/transfer/transfer.component.mjs +128 -0
  117. package/esm2020/transfer/transfer.module.mjs +54 -0
  118. package/esm2020/transfer/transfer.type.mjs +87 -0
  119. package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +5 -0
  120. package/esm2020/tree-select/public_api.mjs +3 -0
  121. package/esm2020/tree-select/tree-select.module.mjs +53 -0
  122. package/esm2020/tree-select/tree-select.type.mjs +98 -0
  123. package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +5 -0
  124. package/esm2020/upload/public_api.mjs +3 -0
  125. package/esm2020/upload/upload.component.mjs +174 -0
  126. package/esm2020/upload/upload.module.mjs +62 -0
  127. package/esm2020/upload/upload.type.mjs +119 -0
  128. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
  129. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
  130. package/fesm2015/ngx-formly-zorro-antd-button.mjs +135 -0
  131. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -0
  132. package/fesm2015/ngx-formly-zorro-antd-card.mjs +95 -0
  133. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -0
  134. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +167 -0
  135. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
  136. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +132 -0
  137. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
  138. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +244 -0
  139. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
  140. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +166 -0
  141. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
  142. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +116 -0
  143. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
  144. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +191 -0
  145. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
  146. package/fesm2015/ngx-formly-zorro-antd-input.mjs +352 -0
  147. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -0
  148. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +159 -0
  149. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -0
  150. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +118 -0
  151. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -0
  152. package/fesm2015/ngx-formly-zorro-antd-select.mjs +223 -0
  153. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -0
  154. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +122 -0
  155. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -0
  156. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +108 -0
  157. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -0
  158. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +156 -0
  159. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
  160. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +143 -0
  161. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
  162. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +147 -0
  163. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
  164. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +264 -0
  165. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
  166. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +153 -0
  167. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
  168. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +351 -0
  169. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -0
  170. package/fesm2015/ngx-formly-zorro-antd.mjs +102 -0
  171. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -0
  172. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
  173. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
  174. package/fesm2020/ngx-formly-zorro-antd-button.mjs +135 -0
  175. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -0
  176. package/fesm2020/ngx-formly-zorro-antd-card.mjs +95 -0
  177. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -0
  178. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +167 -0
  179. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
  180. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +132 -0
  181. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
  182. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +244 -0
  183. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
  184. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +166 -0
  185. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
  186. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +116 -0
  187. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
  188. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +191 -0
  189. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
  190. package/fesm2020/ngx-formly-zorro-antd-input.mjs +352 -0
  191. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -0
  192. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +159 -0
  193. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -0
  194. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +118 -0
  195. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -0
  196. package/fesm2020/ngx-formly-zorro-antd-select.mjs +223 -0
  197. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -0
  198. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +122 -0
  199. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -0
  200. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +108 -0
  201. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -0
  202. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +156 -0
  203. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
  204. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +143 -0
  205. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
  206. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +147 -0
  207. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
  208. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +264 -0
  209. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
  210. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +153 -0
  211. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
  212. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +350 -0
  213. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -0
  214. package/fesm2020/ngx-formly-zorro-antd.mjs +102 -0
  215. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -0
  216. package/form-field/form-field.module.d.ts +11 -0
  217. package/form-field/form-field.props.d.ts +77 -0
  218. package/form-field/form-field.wrapper.d.ts +9 -0
  219. package/form-field/ngx-formly-zorro-antd-form-field.d.ts +5 -0
  220. package/form-field/package.json +10 -0
  221. package/form-field/public_api.d.ts +3 -0
  222. package/index.d.ts +1 -0
  223. package/input/input.module.d.ts +14 -0
  224. package/input/input.props.d.ts +66 -0
  225. package/input/input.type.d.ts +26 -0
  226. package/input/ngx-formly-zorro-antd-input.d.ts +5 -0
  227. package/input/package.json +10 -0
  228. package/input/public_api.d.ts +2 -0
  229. package/input-group/input-group.module.d.ts +10 -0
  230. package/input-group/input-group.props.d.ts +56 -0
  231. package/input-group/input-group.type.d.ts +22 -0
  232. package/input-group/ngx-formly-zorro-antd-input-group.d.ts +5 -0
  233. package/input-group/package.json +10 -0
  234. package/input-group/public_api.d.ts +3 -0
  235. package/input-number/input-number.module.d.ts +12 -0
  236. package/input-number/input-number.props.d.ts +78 -0
  237. package/input-number/input-number.type.d.ts +24 -0
  238. package/input-number/ngx-formly-zorro-antd-input-number.d.ts +5 -0
  239. package/input-number/package.json +10 -0
  240. package/input-number/public_api.d.ts +2 -0
  241. package/lib/ui-ng-zorro-antd.d.ts +1 -0
  242. package/lib/ui-ng-zorro-antd.module.d.ts +26 -0
  243. package/ngx-formly-zorro-antd.d.ts +5 -0
  244. package/package.json +204 -0
  245. package/radio/ngx-formly-zorro-antd-radio.d.ts +5 -0
  246. package/radio/package.json +10 -0
  247. package/radio/public_api.d.ts +2 -0
  248. package/radio/radio.module.d.ts +14 -0
  249. package/radio/radio.type.d.ts +38 -0
  250. package/rate/ngx-formly-zorro-antd-rate.d.ts +5 -0
  251. package/rate/package.json +10 -0
  252. package/rate/public_api.d.ts +2 -0
  253. package/rate/rate.module.d.ts +12 -0
  254. package/rate/rate.type.d.ts +57 -0
  255. package/select/ngx-formly-zorro-antd-select.d.ts +5 -0
  256. package/select/package.json +10 -0
  257. package/select/public_api.d.ts +2 -0
  258. package/select/select.module.d.ts +13 -0
  259. package/select/select.props.d.ts +162 -0
  260. package/select/select.type.d.ts +35 -0
  261. package/slider/ngx-formly-zorro-antd-slider.d.ts +5 -0
  262. package/slider/package.json +10 -0
  263. package/slider/public_api.d.ts +2 -0
  264. package/slider/slider.module.d.ts +12 -0
  265. package/slider/slider.type.d.ts +76 -0
  266. package/switch/ngx-formly-zorro-antd-switch.d.ts +5 -0
  267. package/switch/package.json +10 -0
  268. package/switch/public_api.d.ts +2 -0
  269. package/switch/switch.module.d.ts +12 -0
  270. package/switch/switch.type.d.ts +44 -0
  271. package/tabs/ngx-formly-zorro-antd-tabs.d.ts +5 -0
  272. package/tabs/package.json +10 -0
  273. package/tabs/public_api.d.ts +2 -0
  274. package/tabs/tabs.module.d.ts +10 -0
  275. package/tabs/tabs.props.d.ts +127 -0
  276. package/tabs/tabs.wrapper.d.ts +28 -0
  277. package/textarea/ngx-formly-zorro-antd-textarea.d.ts +5 -0
  278. package/textarea/package.json +10 -0
  279. package/textarea/public_api.d.ts +2 -0
  280. package/textarea/textarea.module.d.ts +12 -0
  281. package/textarea/textarea.type.d.ts +38 -0
  282. package/timepicker/ngx-formly-zorro-antd-timepicker.d.ts +5 -0
  283. package/timepicker/package.json +10 -0
  284. package/timepicker/public_api.d.ts +2 -0
  285. package/timepicker/timepicker.module.d.ts +12 -0
  286. package/timepicker/timepicker.type.d.ts +131 -0
  287. package/transfer/ngx-formly-zorro-antd-transfer.d.ts +5 -0
  288. package/transfer/package.json +10 -0
  289. package/transfer/public_api.d.ts +2 -0
  290. package/transfer/transfer.component.d.ts +26 -0
  291. package/transfer/transfer.module.d.ts +13 -0
  292. package/transfer/transfer.type.d.ts +118 -0
  293. package/tree-select/ngx-formly-zorro-antd-tree-select.d.ts +5 -0
  294. package/tree-select/package.json +10 -0
  295. package/tree-select/public_api.d.ts +2 -0
  296. package/tree-select/tree-select.module.d.ts +12 -0
  297. package/tree-select/tree-select.type.d.ts +158 -0
  298. package/upload/ngx-formly-zorro-antd-upload.d.ts +5 -0
  299. package/upload/package.json +10 -0
  300. package/upload/public_api.d.ts +2 -0
  301. package/upload/upload.component.d.ts +27 -0
  302. package/upload/upload.module.d.ts +15 -0
  303. package/upload/upload.type.d.ts +173 -0
@@ -0,0 +1,191 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i3 from '@angular/forms';
6
+ import { ReactiveFormsModule } from '@angular/forms';
7
+ import * as i4 from '@ngx-formly/core';
8
+ import { FieldType, FormlyModule } from '@ngx-formly/core';
9
+ import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
10
+ import * as i1 from 'ng-zorro-antd/input-number';
11
+ import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
12
+
13
+ class FormlyFieldInputNumber extends FieldType {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.defaultOptions = {
17
+ props: {
18
+ max: Infinity,
19
+ min: -Infinity,
20
+ parser: (value) => value
21
+ .trim()
22
+ .replace(/。/g, '.')
23
+ // eslint-disable-next-line no-useless-escape
24
+ .replace(/[^\w\.-]+/g, ''),
25
+ precisionMode: 'toFixed',
26
+ size: 'default',
27
+ status: '',
28
+ step: 1,
29
+ inputMode: 'decimal',
30
+ formatter: (value) => value
31
+ }
32
+ };
33
+ }
34
+ }
35
+ FormlyFieldInputNumber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldInputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component });
36
+ FormlyFieldInputNumber.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldInputNumber, selector: "formly-field-inputnumber", usesInheritance: true, ngImport: i0, template: `
37
+ <ng-container [ngSwitch]="props.type">
38
+ <nz-input-number-group
39
+ *ngSwitchCase="'group'"
40
+ [ngClass]="props['className']"
41
+ [nzAddOnAfter]="props['addOnAfter']"
42
+ [nzAddOnBefore]="props['addOnBefore']"
43
+ [nzPrefix]="props['prefix']"
44
+ [nzSuffix]="props['suffix']"
45
+ [nzPrefixIcon]="props['prefixIcon']"
46
+ [nzSuffixIcon]="props['suffixIcon']"
47
+ [nzCompact]="props['compact']"
48
+ >
49
+ <ng-container *ngTemplateOutlet="nzinputnumber"></ng-container>
50
+ </nz-input-number-group>
51
+
52
+ <ng-container *ngSwitchDefault>
53
+ <ng-template [ngTemplateOutlet]="nzinputnumber"></ng-template>
54
+ </ng-container>
55
+ </ng-container>
56
+
57
+ <ng-template #nzinputnumber>
58
+ <nz-input-number
59
+ [formControl]="formControl"
60
+ [formlyAttributes]="field"
61
+ [nzMax]="props.max!"
62
+ [nzMin]="props.min!"
63
+ [nzReadOnly]="props.readonly!!"
64
+ [nzPlaceHolder]="props.placeholder ?? ''"
65
+ [nzSize]="props['size']!"
66
+ [nzStatus]="props['status']!"
67
+ [nzBorderless]="!!props['borderless']"
68
+ [nzPrecision]="props['precision']"
69
+ [nzPrecisionMode]="props['precisionMode']!"
70
+ [nzStep]="props['step'] ?? 1"
71
+ [nzFormatter]="props['formatter']!"
72
+ [nzParser]="props['parser']!"
73
+ [nzInputMode]="props['inputMode']!"
74
+ [ngClass]="props['className']"
75
+ (ngModelChange)="props.change && props.change(field, $event)"
76
+ (nzFocus)="props.focus && props.focus(field, $event)"
77
+ (nzBlur)="props.blur && props.blur(field, $event)"
78
+ ></nz-input-number>
79
+ </ng-template>
80
+ `, isInline: true, components: [{ type: i1.NzInputNumberGroupComponent, selector: "nz-input-number-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzCompact"], exportAs: ["nzInputNumberGroup"] }, { type: i1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecision", "nzPrecisionMode", "nzPlaceHolder", "nzStatus", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBorderless", "nzFormatter"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }], directives: [{ type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NzInputNumberGroupWhitSuffixOrPrefixDirective, selector: "nz-input-number-group[nzSuffix], nz-input-number-group[nzPrefix]" }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldInputNumber, decorators: [{
82
+ type: Component,
83
+ args: [{
84
+ selector: 'formly-field-inputnumber',
85
+ template: `
86
+ <ng-container [ngSwitch]="props.type">
87
+ <nz-input-number-group
88
+ *ngSwitchCase="'group'"
89
+ [ngClass]="props['className']"
90
+ [nzAddOnAfter]="props['addOnAfter']"
91
+ [nzAddOnBefore]="props['addOnBefore']"
92
+ [nzPrefix]="props['prefix']"
93
+ [nzSuffix]="props['suffix']"
94
+ [nzPrefixIcon]="props['prefixIcon']"
95
+ [nzSuffixIcon]="props['suffixIcon']"
96
+ [nzCompact]="props['compact']"
97
+ >
98
+ <ng-container *ngTemplateOutlet="nzinputnumber"></ng-container>
99
+ </nz-input-number-group>
100
+
101
+ <ng-container *ngSwitchDefault>
102
+ <ng-template [ngTemplateOutlet]="nzinputnumber"></ng-template>
103
+ </ng-container>
104
+ </ng-container>
105
+
106
+ <ng-template #nzinputnumber>
107
+ <nz-input-number
108
+ [formControl]="formControl"
109
+ [formlyAttributes]="field"
110
+ [nzMax]="props.max!"
111
+ [nzMin]="props.min!"
112
+ [nzReadOnly]="props.readonly!!"
113
+ [nzPlaceHolder]="props.placeholder ?? ''"
114
+ [nzSize]="props['size']!"
115
+ [nzStatus]="props['status']!"
116
+ [nzBorderless]="!!props['borderless']"
117
+ [nzPrecision]="props['precision']"
118
+ [nzPrecisionMode]="props['precisionMode']!"
119
+ [nzStep]="props['step'] ?? 1"
120
+ [nzFormatter]="props['formatter']!"
121
+ [nzParser]="props['parser']!"
122
+ [nzInputMode]="props['inputMode']!"
123
+ [ngClass]="props['className']"
124
+ (ngModelChange)="props.change && props.change(field, $event)"
125
+ (nzFocus)="props.focus && props.focus(field, $event)"
126
+ (nzBlur)="props.blur && props.blur(field, $event)"
127
+ ></nz-input-number>
128
+ </ng-template>
129
+ `,
130
+ changeDetection: ChangeDetectionStrategy.OnPush
131
+ }]
132
+ }] });
133
+
134
+ class FormlyNzInputNumberModule {
135
+ }
136
+ FormlyNzInputNumberModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
137
+ FormlyNzInputNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputNumberModule, declarations: [FormlyFieldInputNumber], imports: [CommonModule,
138
+ ReactiveFormsModule,
139
+ FormlyNzFormFieldModule,
140
+ NzInputNumberModule, i4.FormlyModule] });
141
+ FormlyNzInputNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputNumberModule, imports: [[
142
+ CommonModule,
143
+ ReactiveFormsModule,
144
+ FormlyNzFormFieldModule,
145
+ NzInputNumberModule,
146
+ FormlyModule.forChild({
147
+ types: [
148
+ {
149
+ name: 'number',
150
+ component: FormlyFieldInputNumber,
151
+ wrappers: ['form-field']
152
+ },
153
+ {
154
+ name: 'integer',
155
+ extends: 'number'
156
+ }
157
+ ]
158
+ })
159
+ ]] });
160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputNumberModule, decorators: [{
161
+ type: NgModule,
162
+ args: [{
163
+ declarations: [FormlyFieldInputNumber],
164
+ imports: [
165
+ CommonModule,
166
+ ReactiveFormsModule,
167
+ FormlyNzFormFieldModule,
168
+ NzInputNumberModule,
169
+ FormlyModule.forChild({
170
+ types: [
171
+ {
172
+ name: 'number',
173
+ component: FormlyFieldInputNumber,
174
+ wrappers: ['form-field']
175
+ },
176
+ {
177
+ name: 'integer',
178
+ extends: 'number'
179
+ }
180
+ ]
181
+ })
182
+ ]
183
+ }]
184
+ }] });
185
+
186
+ /**
187
+ * Generated bundle index. Do not edit.
188
+ */
189
+
190
+ export { FormlyFieldInputNumber, FormlyNzInputNumberModule };
191
+ //# sourceMappingURL=ngx-formly-zorro-antd-input-number.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-zorro-antd-input-number.mjs","sources":["../../../../packages/formlyantd/input-number/src/input-number.type.ts","../../../../packages/formlyantd/input-number/src/input-number.module.ts","../../../../packages/formlyantd/input-number/src/ngx-formly-zorro-antd-input-number.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { InputNumberProps } from './input-number.props';\r\n\r\nexport interface FormlyInputNumberFieldConfig extends FormlyFieldConfig<InputNumberProps> {\r\n type: 'number' | 'integer' | Type<FormlyFieldInputNumber>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-inputnumber',\r\n template: `\r\n <ng-container [ngSwitch]=\"props.type\">\r\n <nz-input-number-group\r\n *ngSwitchCase=\"'group'\"\r\n [ngClass]=\"props['className']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzCompact]=\"props['compact']\"\r\n >\r\n <ng-container *ngTemplateOutlet=\"nzinputnumber\"></ng-container>\r\n </nz-input-number-group>\r\n\r\n <ng-container *ngSwitchDefault>\r\n <ng-template [ngTemplateOutlet]=\"nzinputnumber\"></ng-template>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-template #nzinputnumber>\r\n <nz-input-number\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzMax]=\"props.max!\"\r\n [nzMin]=\"props.min!\"\r\n [nzReadOnly]=\"props.readonly!!\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzBorderless]=\"!!props['borderless']\"\r\n [nzPrecision]=\"props['precision']\"\r\n [nzPrecisionMode]=\"props['precisionMode']!\"\r\n [nzStep]=\"props['step'] ?? 1\"\r\n [nzFormatter]=\"props['formatter']!\"\r\n [nzParser]=\"props['parser']!\"\r\n [nzInputMode]=\"props['inputMode']!\"\r\n [ngClass]=\"props['className']\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzFocus)=\"props.focus && props.focus(field, $event)\"\r\n (nzBlur)=\"props.blur && props.blur(field, $event)\"\r\n ></nz-input-number>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInputNumber extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n max: Infinity,\r\n min: -Infinity,\r\n parser: (value: string) =>\r\n value\r\n .trim()\r\n .replace(/。/g, '.')\r\n // eslint-disable-next-line no-useless-escape\r\n .replace(/[^\\w\\.-]+/g, ''),\r\n precisionMode: 'toFixed' as const,\r\n size: 'default' as const,\r\n status: '' as const,\r\n step: 1,\r\n inputMode: 'decimal',\r\n formatter: (value: number | string) => value\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 { FormlyFieldInputNumber } from './input-number.type';\r\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInputNumber],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzInputNumberModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'number',\r\n component: FormlyFieldInputNumber,\r\n wrappers: ['form-field']\r\n },\r\n {\r\n name: 'integer',\r\n extends: 'number'\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputNumberModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AA0DM,MAAO,sBAAuB,SAAQ,SAA0B,CAAA;AAjDtE,IAAA,WAAA,GAAA;;AAkDW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,GAAG,EAAE,QAAQ;gBACb,GAAG,EAAE,CAAC,QAAQ;AACd,gBAAA,MAAM,EAAE,CAAC,KAAa,KACpB,KAAK;AACF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AAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAvBrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,mBAAmB;wBAEnB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,sBAAsB;oCACjC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,QAAQ;AAClB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC/BD;;AAEG;;;;"}
@@ -0,0 +1,352 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i3 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i5 from '@ngx-formly/core';
6
+ import { FieldType, FormlyModule } from '@ngx-formly/core';
7
+ import * as i4 from '@angular/forms';
8
+ import { ReactiveFormsModule } from '@angular/forms';
9
+ import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
10
+ import * as i1 from 'ng-zorro-antd/input';
11
+ import { NzInputModule } from 'ng-zorro-antd/input';
12
+ import * as i2 from 'ng-zorro-antd/auto-complete';
13
+ import { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';
14
+ import * as i6 from 'ng-zorro-antd/icon';
15
+ import { NzIconModule } from 'ng-zorro-antd/icon';
16
+
17
+ class FormlyFieldInput extends FieldType {
18
+ constructor() {
19
+ super(...arguments);
20
+ this.defaultOptions = {
21
+ props: {
22
+ borderless: false,
23
+ compact: false,
24
+ search: false,
25
+ allowClear: false,
26
+ autocompleteOptions: {
27
+ backfill: false,
28
+ defaultActiveFirstOption: true,
29
+ compareWith: (o1, o2) => o1 === o2
30
+ }
31
+ }
32
+ };
33
+ this.passwordVisible = false;
34
+ }
35
+ }
36
+ FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
37
+ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldInput, selector: "formly-field-input", usesInheritance: true, ngImport: i0, template: `
38
+ <ng-container [ngSwitch]="props.type">
39
+ <ng-container *ngSwitchCase="'password'">
40
+ <nz-input-group
41
+ [nzSize]="props['size']"
42
+ [nzStatus]="props['status']"
43
+ [nzSearch]="props['search']"
44
+ [nzPrefixIcon]="props['prefixIcon']"
45
+ [nzSuffixIcon]="props['suffixIcon']"
46
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
47
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
48
+ [nzAddOnBefore]="props['addOnBefore']"
49
+ [nzAddOnAfter]="props['addOnAfter']"
50
+ [nzPrefix]="props['prefix']"
51
+ [nzSuffix]="suffixpassword"
52
+ >
53
+ <input
54
+ [type]="passwordVisible ? 'text' : 'password'"
55
+ nz-input
56
+ [formControl]="formControl"
57
+ [formlyAttributes]="field"
58
+ [nzBorderless]="props['borderless']!!"
59
+ (ngModelChange)="props.change && props.change(field, $event)"
60
+ />
61
+ </nz-input-group>
62
+
63
+ <ng-template #suffixpassword>
64
+ <i
65
+ nz-icon
66
+ class="cursor-pointer"
67
+ [nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
68
+ (click)="passwordVisible = !passwordVisible"
69
+ ></i>
70
+ </ng-template>
71
+ </ng-container>
72
+
73
+ <nz-input-group
74
+ *ngSwitchCase="'autoComplete'"
75
+ [nzSize]="props['size']"
76
+ [nzPrefixIcon]="props['prefixIcon']"
77
+ [nzSuffixIcon]="props['suffixIcon']"
78
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
79
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
80
+ [nzAddOnBefore]="props['addOnBefore']"
81
+ [nzAddOnAfter]="props['addOnAfter']"
82
+ [nzPrefix]="props['prefix']"
83
+ [nzSuffix]="props['suffix']"
84
+ >
85
+ <input
86
+ nz-input
87
+ [nzBorderless]="props['borderless']"
88
+ [nzAutocomplete]="auto"
89
+ [formControl]="formControl"
90
+ [formlyAttributes]="field"
91
+ />
92
+ <nz-autocomplete
93
+ [nzBackfill]="props['autocompleteOptions']?.backfill"
94
+ [nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
95
+ [nzWidth]="props['autocompleteOptions']?.width"
96
+ [nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
97
+ [nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
98
+ [compareWith]="props['autocompleteOptions']?.compareWith"
99
+ #auto
100
+ >
101
+ <nz-auto-option
102
+ *ngFor="let option of props['autocompleteOptions'].dataSource"
103
+ [nzLabel]="option.label"
104
+ [nzValue]="option.value"
105
+ >
106
+ {{ option.label }}
107
+ </nz-auto-option>
108
+ </nz-autocomplete>
109
+ </nz-input-group>
110
+
111
+ <nz-input-group
112
+ *ngSwitchCase="'group'"
113
+ [nzSize]="props['size']"
114
+ [nzStatus]="props['status']"
115
+ [nzSearch]="props['search']"
116
+ [nzPrefixIcon]="props['prefixIcon']"
117
+ [nzSuffixIcon]="props['suffixIcon']"
118
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
119
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
120
+ [nzAddOnBefore]="props['addOnBefore']"
121
+ [nzAddOnAfter]="props['addOnAfter']"
122
+ [nzPrefix]="props['prefix']"
123
+ [nzSuffix]="props['suffix']"
124
+ >
125
+ <input
126
+ nz-input
127
+ type="text"
128
+ [formControl]="formControl"
129
+ [formlyAttributes]="field"
130
+ [nzBorderless]="!!props['borderless']!!"
131
+ (ngModelChange)="props.change && props.change(field, $event)"
132
+ />
133
+ </nz-input-group>
134
+
135
+ <input
136
+ *ngSwitchDefault
137
+ nz-input
138
+ type="text"
139
+ [formControl]="formControl"
140
+ [formlyAttributes]="field"
141
+ [nzSize]="props['size']"
142
+ [nzStatus]="props['status']"
143
+ [nzBorderless]="props['borderless']!!"
144
+ (ngModelChange)="props.change && props.change(field, $event)"
145
+ />
146
+ </ng-container>
147
+ `, isInline: true, components: [{ type: i1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { type: i2.NzAutocompleteComponent, selector: "nz-autocomplete", inputs: ["nzWidth", "nzOverlayClassName", "nzOverlayStyle", "nzDefaultActiveFirstOption", "nzBackfill", "compareWith", "nzDataSource"], outputs: ["selectionChange"], exportAs: ["nzAutocomplete"] }, { type: i2.NzAutocompleteOptionComponent, selector: "nz-auto-option", inputs: ["nzValue", "nzLabel", "nzDisabled"], outputs: ["selectionChange", "mouseEntered"], exportAs: ["nzAutoOption"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { type: i2.NzAutocompleteTriggerDirective, selector: "input[nzAutocomplete], textarea[nzAutocomplete]", inputs: ["nzAutocomplete"], exportAs: ["nzAutocompleteTrigger"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldInput, decorators: [{
149
+ type: Component,
150
+ args: [{
151
+ selector: 'formly-field-input',
152
+ template: `
153
+ <ng-container [ngSwitch]="props.type">
154
+ <ng-container *ngSwitchCase="'password'">
155
+ <nz-input-group
156
+ [nzSize]="props['size']"
157
+ [nzStatus]="props['status']"
158
+ [nzSearch]="props['search']"
159
+ [nzPrefixIcon]="props['prefixIcon']"
160
+ [nzSuffixIcon]="props['suffixIcon']"
161
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
162
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
163
+ [nzAddOnBefore]="props['addOnBefore']"
164
+ [nzAddOnAfter]="props['addOnAfter']"
165
+ [nzPrefix]="props['prefix']"
166
+ [nzSuffix]="suffixpassword"
167
+ >
168
+ <input
169
+ [type]="passwordVisible ? 'text' : 'password'"
170
+ nz-input
171
+ [formControl]="formControl"
172
+ [formlyAttributes]="field"
173
+ [nzBorderless]="props['borderless']!!"
174
+ (ngModelChange)="props.change && props.change(field, $event)"
175
+ />
176
+ </nz-input-group>
177
+
178
+ <ng-template #suffixpassword>
179
+ <i
180
+ nz-icon
181
+ class="cursor-pointer"
182
+ [nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
183
+ (click)="passwordVisible = !passwordVisible"
184
+ ></i>
185
+ </ng-template>
186
+ </ng-container>
187
+
188
+ <nz-input-group
189
+ *ngSwitchCase="'autoComplete'"
190
+ [nzSize]="props['size']"
191
+ [nzPrefixIcon]="props['prefixIcon']"
192
+ [nzSuffixIcon]="props['suffixIcon']"
193
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
194
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
195
+ [nzAddOnBefore]="props['addOnBefore']"
196
+ [nzAddOnAfter]="props['addOnAfter']"
197
+ [nzPrefix]="props['prefix']"
198
+ [nzSuffix]="props['suffix']"
199
+ >
200
+ <input
201
+ nz-input
202
+ [nzBorderless]="props['borderless']"
203
+ [nzAutocomplete]="auto"
204
+ [formControl]="formControl"
205
+ [formlyAttributes]="field"
206
+ />
207
+ <nz-autocomplete
208
+ [nzBackfill]="props['autocompleteOptions']?.backfill"
209
+ [nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
210
+ [nzWidth]="props['autocompleteOptions']?.width"
211
+ [nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
212
+ [nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
213
+ [compareWith]="props['autocompleteOptions']?.compareWith"
214
+ #auto
215
+ >
216
+ <nz-auto-option
217
+ *ngFor="let option of props['autocompleteOptions'].dataSource"
218
+ [nzLabel]="option.label"
219
+ [nzValue]="option.value"
220
+ >
221
+ {{ option.label }}
222
+ </nz-auto-option>
223
+ </nz-autocomplete>
224
+ </nz-input-group>
225
+
226
+ <nz-input-group
227
+ *ngSwitchCase="'group'"
228
+ [nzSize]="props['size']"
229
+ [nzStatus]="props['status']"
230
+ [nzSearch]="props['search']"
231
+ [nzPrefixIcon]="props['prefixIcon']"
232
+ [nzSuffixIcon]="props['suffixIcon']"
233
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
234
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
235
+ [nzAddOnBefore]="props['addOnBefore']"
236
+ [nzAddOnAfter]="props['addOnAfter']"
237
+ [nzPrefix]="props['prefix']"
238
+ [nzSuffix]="props['suffix']"
239
+ >
240
+ <input
241
+ nz-input
242
+ type="text"
243
+ [formControl]="formControl"
244
+ [formlyAttributes]="field"
245
+ [nzBorderless]="!!props['borderless']!!"
246
+ (ngModelChange)="props.change && props.change(field, $event)"
247
+ />
248
+ </nz-input-group>
249
+
250
+ <input
251
+ *ngSwitchDefault
252
+ nz-input
253
+ type="text"
254
+ [formControl]="formControl"
255
+ [formlyAttributes]="field"
256
+ [nzSize]="props['size']"
257
+ [nzStatus]="props['status']"
258
+ [nzBorderless]="props['borderless']!!"
259
+ (ngModelChange)="props.change && props.change(field, $event)"
260
+ />
261
+ </ng-container>
262
+ `,
263
+ changeDetection: ChangeDetectionStrategy.OnPush
264
+ }]
265
+ }] });
266
+
267
+ class FormlyNzInputModule {
268
+ }
269
+ FormlyNzInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
270
+ FormlyNzInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,
271
+ ReactiveFormsModule,
272
+ NzInputModule,
273
+ NzAutocompleteModule,
274
+ NzIconModule,
275
+ FormlyNzFormFieldModule, i5.FormlyModule] });
276
+ FormlyNzInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputModule, imports: [[
277
+ CommonModule,
278
+ ReactiveFormsModule,
279
+ NzInputModule,
280
+ NzAutocompleteModule,
281
+ NzIconModule,
282
+ FormlyNzFormFieldModule,
283
+ FormlyModule.forChild({
284
+ types: [
285
+ {
286
+ name: 'input',
287
+ component: FormlyFieldInput,
288
+ wrappers: ['form-field'],
289
+ defaultOptions: {
290
+ props: {
291
+ type: 'input'
292
+ }
293
+ }
294
+ },
295
+ { name: 'string', extends: 'input' },
296
+ {
297
+ name: 'password',
298
+ extends: 'input',
299
+ defaultOptions: {
300
+ props: {
301
+ type: 'password'
302
+ }
303
+ }
304
+ }
305
+ ]
306
+ })
307
+ ]] });
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputModule, decorators: [{
309
+ type: NgModule,
310
+ args: [{
311
+ declarations: [FormlyFieldInput],
312
+ imports: [
313
+ CommonModule,
314
+ ReactiveFormsModule,
315
+ NzInputModule,
316
+ NzAutocompleteModule,
317
+ NzIconModule,
318
+ FormlyNzFormFieldModule,
319
+ FormlyModule.forChild({
320
+ types: [
321
+ {
322
+ name: 'input',
323
+ component: FormlyFieldInput,
324
+ wrappers: ['form-field'],
325
+ defaultOptions: {
326
+ props: {
327
+ type: 'input'
328
+ }
329
+ }
330
+ },
331
+ { name: 'string', extends: 'input' },
332
+ {
333
+ name: 'password',
334
+ extends: 'input',
335
+ defaultOptions: {
336
+ props: {
337
+ type: 'password'
338
+ }
339
+ }
340
+ }
341
+ ]
342
+ })
343
+ ]
344
+ }]
345
+ }] });
346
+
347
+ /**
348
+ * Generated bundle index. Do not edit.
349
+ */
350
+
351
+ export { FormlyFieldInput, FormlyNzInputModule };
352
+ //# sourceMappingURL=ngx-formly-zorro-antd-input.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-zorro-antd-input.mjs","sources":["../../../../packages/formlyantd/input/src/input.type.ts","../../../../packages/formlyantd/input/src/input.module.ts","../../../../packages/formlyantd/input/src/ngx-formly-zorro-antd-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\n\r\nimport { InputProps } from './input.props';\r\n\r\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\r\n type: 'input' | 'string' | 'password' | Type<FormlyFieldInput>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input',\r\n template: `\r\n <ng-container [ngSwitch]=\"props.type\">\r\n <ng-container *ngSwitchCase=\"'password'\">\r\n <nz-input-group\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzSearch]=\"props['search']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"suffixpassword\"\r\n >\r\n <input\r\n [type]=\"passwordVisible ? 'text' : 'password'\"\r\n nz-input\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <ng-template #suffixpassword>\r\n <i\r\n nz-icon\r\n class=\"cursor-pointer\"\r\n [nzType]=\"passwordVisible ? 'eye-invisible' : 'eye'\"\r\n (click)=\"passwordVisible = !passwordVisible\"\r\n ></i>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'autoComplete'\"\r\n [nzSize]=\"props['size']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n >\r\n <input\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutocomplete]=\"auto\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n />\r\n <nz-autocomplete\r\n [nzBackfill]=\"props['autocompleteOptions']?.backfill\"\r\n [nzDefaultActiveFirstOption]=\"props['autocompleteOptions']?.defaultActiveFirstOption\"\r\n [nzWidth]=\"props['autocompleteOptions']?.width\"\r\n [nzOverlayClassName]=\"props['autocompleteOptions']?.overlayClassName\"\r\n [nzOverlayStyle]=\"props['autocompleteOptions']?.overlayStyle\"\r\n [compareWith]=\"props['autocompleteOptions']?.compareWith\"\r\n #auto\r\n >\r\n <nz-auto-option\r\n *ngFor=\"let option of props['autocompleteOptions'].dataSource\"\r\n [nzLabel]=\"option.label\"\r\n [nzValue]=\"option.value\"\r\n >\r\n {{ option.label }}\r\n </nz-auto-option>\r\n </nz-autocomplete>\r\n </nz-input-group>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'group'\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzSearch]=\"props['search']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n >\r\n <input\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"!!props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <input\r\n *ngSwitchDefault\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </ng-container>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n borderless: false,\r\n compact: false,\r\n search: false,\r\n allowClear: false,\r\n autocompleteOptions: {\r\n backfill: false,\r\n defaultActiveFirstOption: true,\r\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2\r\n }\r\n }\r\n };\r\n passwordVisible = false;\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 { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\nimport { FormlyFieldInput } from './input.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInput],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzInputModule,\r\n NzAutocompleteModule,\r\n NzIconModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input',\r\n component: FormlyFieldInput,\r\n wrappers: ['form-field'],\r\n defaultOptions: {\r\n props: {\r\n type: 'input'\r\n }\r\n }\r\n },\r\n { name: 'string', extends: 'input' },\r\n {\r\n name: 'password',\r\n extends: 'input',\r\n defaultOptions: {\r\n props: {\r\n type: 'password'\r\n }\r\n }\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AA6HM,MAAO,gBAAiB,SAAQ,SAA0B,CAAA;AAnHhE,IAAA,WAAA,GAAA;;AAoHW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,MAAM,EAAE,KAAK;AACb,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,QAAQ,EAAE,KAAK;AACf,oBAAA,wBAAwB,EAAE,IAAI;oBAC9B,WAAW,EAAE,CAAC,EAAa,EAAE,EAAa,KAAK,EAAE,KAAK,EAAE;AACzD,iBAAA;AACF,aAAA;SACF,CAAC;QACF,IAAe,CAAA,eAAA,GAAG,KAAK,CAAC;AACzB,KAAA;;8GAfY,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAjHjB,QAAA,EAAA,oBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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