ngx-formly-zorro-antd 15.0.1 → 16.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (256) hide show
  1. package/esm2022/button/button.module.mjs +62 -0
  2. package/{esm2020 → esm2022}/button/button.type.mjs +8 -7
  3. package/esm2022/card/card.module.mjs +44 -0
  4. package/esm2022/card/card.wrapper.mjs +48 -0
  5. package/esm2022/cascader/cascader.module.mjs +52 -0
  6. package/esm2022/cascader/cascader.type.mjs +113 -0
  7. package/esm2022/checkbox/checkbox.module.mjs +60 -0
  8. package/esm2022/checkbox/checkbox.type.mjs +70 -0
  9. package/esm2022/datepicker/datepicker.module.mjs +52 -0
  10. package/{esm2020 → esm2022}/datepicker/datepicker.type.mjs +8 -7
  11. package/esm2022/form-field/form-field.module.mjs +46 -0
  12. package/{esm2020 → esm2022}/form-field/form-field.wrapper.mjs +8 -7
  13. package/esm2022/grid/grid.module.mjs +42 -0
  14. package/{esm2020 → esm2022}/grid/grid.type.mjs +8 -7
  15. package/esm2022/input/input.module.mjs +90 -0
  16. package/{esm2020 → esm2022}/input/input.type.mjs +10 -9
  17. package/esm2022/input-group/input-group.module.mjs +48 -0
  18. package/esm2022/input-group/input-group.type.mjs +72 -0
  19. package/esm2022/input-number/input-number.module.mjs +60 -0
  20. package/{esm2020 → esm2022}/input-number/input-number.type.mjs +8 -7
  21. package/esm2022/lib/ui-ng-zorro-antd.module.mjs +98 -0
  22. package/esm2022/radio/radio.module.mjs +60 -0
  23. package/{esm2020 → esm2022}/radio/radio.type.mjs +8 -7
  24. package/esm2022/rate/rate.module.mjs +52 -0
  25. package/esm2022/rate/rate.type.mjs +64 -0
  26. package/esm2022/select/select.module.mjs +58 -0
  27. package/{esm2020 → esm2022}/select/select.type.mjs +8 -7
  28. package/esm2022/slider/slider.module.mjs +52 -0
  29. package/esm2022/slider/slider.type.mjs +68 -0
  30. package/esm2022/switch/switch.module.mjs +52 -0
  31. package/esm2022/switch/switch.type.mjs +54 -0
  32. package/esm2022/tabs/tabs.module.mjs +42 -0
  33. package/{esm2020 → esm2022}/tabs/tabs.wrapper.mjs +8 -7
  34. package/esm2022/textarea/textarea.module.mjs +56 -0
  35. package/{esm2020 → esm2022}/textarea/textarea.type.mjs +10 -9
  36. package/esm2022/timepicker/timepicker.module.mjs +52 -0
  37. package/esm2022/timepicker/timepicker.type.mjs +97 -0
  38. package/esm2022/transfer/transfer.component.mjs +129 -0
  39. package/esm2022/transfer/transfer.module.mjs +53 -0
  40. package/esm2022/transfer/transfer.type.mjs +88 -0
  41. package/esm2022/tree-select/tree-select.module.mjs +52 -0
  42. package/esm2022/tree-select/tree-select.type.mjs +102 -0
  43. package/{esm2020 → esm2022}/upload/upload.component.mjs +14 -13
  44. package/esm2022/upload/upload.module.mjs +61 -0
  45. package/{esm2020 → esm2022}/upload/upload.props.mjs +1 -1
  46. package/{esm2020 → esm2022}/upload/upload.type.mjs +8 -7
  47. package/fesm2022/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
  48. package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-button.mjs +29 -29
  49. package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -0
  50. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-card.mjs +20 -20
  51. package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -0
  52. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-cascader.mjs +24 -24
  53. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
  54. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-checkbox.mjs +28 -28
  55. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
  56. package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-datepicker.mjs +24 -24
  57. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
  58. package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-form-field.mjs +21 -21
  59. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
  60. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-grid.mjs +19 -19
  61. package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -0
  62. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input-group.mjs +22 -22
  63. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
  64. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input-number.mjs +28 -28
  65. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
  66. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input.mjs +43 -43
  67. package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -0
  68. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-radio.mjs +28 -28
  69. package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -0
  70. package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-rate.mjs +24 -24
  71. package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -0
  72. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-select.mjs +27 -27
  73. package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -0
  74. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-slider.mjs +24 -24
  75. package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -0
  76. package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-switch.mjs +24 -24
  77. package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -0
  78. package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-tabs.mjs +19 -19
  79. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
  80. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-textarea.mjs +28 -28
  81. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
  82. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-timepicker.mjs +24 -24
  83. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
  84. package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-transfer.mjs +35 -35
  85. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
  86. package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-tree-select.mjs +24 -24
  87. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
  88. package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-upload.mjs +39 -39
  89. package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -0
  90. package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd.mjs +44 -44
  91. package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -0
  92. package/form-field/form-field.wrapper.d.ts +1 -1
  93. package/package.json +85 -135
  94. package/rate/rate.type.d.ts +3 -1
  95. package/transfer/transfer.component.d.ts +1 -1
  96. package/upload/upload.component.d.ts +1 -1
  97. package/upload/upload.props.d.ts +3 -1
  98. package/esm2020/button/button.module.mjs +0 -61
  99. package/esm2020/card/card.module.mjs +0 -43
  100. package/esm2020/card/card.wrapper.mjs +0 -47
  101. package/esm2020/cascader/cascader.module.mjs +0 -51
  102. package/esm2020/cascader/cascader.type.mjs +0 -112
  103. package/esm2020/checkbox/checkbox.module.mjs +0 -59
  104. package/esm2020/checkbox/checkbox.type.mjs +0 -69
  105. package/esm2020/datepicker/datepicker.module.mjs +0 -51
  106. package/esm2020/form-field/form-field.module.mjs +0 -45
  107. package/esm2020/grid/grid.module.mjs +0 -41
  108. package/esm2020/input/input.module.mjs +0 -89
  109. package/esm2020/input-group/input-group.module.mjs +0 -47
  110. package/esm2020/input-group/input-group.type.mjs +0 -71
  111. package/esm2020/input-number/input-number.module.mjs +0 -59
  112. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +0 -97
  113. package/esm2020/radio/radio.module.mjs +0 -59
  114. package/esm2020/rate/rate.module.mjs +0 -51
  115. package/esm2020/rate/rate.type.mjs +0 -63
  116. package/esm2020/select/select.module.mjs +0 -57
  117. package/esm2020/slider/slider.module.mjs +0 -51
  118. package/esm2020/slider/slider.type.mjs +0 -67
  119. package/esm2020/switch/switch.module.mjs +0 -51
  120. package/esm2020/switch/switch.type.mjs +0 -53
  121. package/esm2020/tabs/tabs.module.mjs +0 -41
  122. package/esm2020/textarea/textarea.module.mjs +0 -55
  123. package/esm2020/timepicker/timepicker.module.mjs +0 -51
  124. package/esm2020/timepicker/timepicker.type.mjs +0 -96
  125. package/esm2020/transfer/transfer.component.mjs +0 -128
  126. package/esm2020/transfer/transfer.module.mjs +0 -52
  127. package/esm2020/transfer/transfer.type.mjs +0 -87
  128. package/esm2020/tree-select/tree-select.module.mjs +0 -51
  129. package/esm2020/tree-select/tree-select.type.mjs +0 -101
  130. package/esm2020/upload/upload.module.mjs +0 -60
  131. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +0 -1
  132. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +0 -1
  133. package/fesm2015/ngx-formly-zorro-antd-card.mjs +0 -93
  134. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +0 -1
  135. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +0 -165
  136. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +0 -1
  137. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +0 -130
  138. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +0 -1
  139. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +0 -1
  140. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +0 -1
  141. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +0 -114
  142. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +0 -1
  143. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +0 -120
  144. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +0 -1
  145. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +0 -189
  146. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +0 -1
  147. package/fesm2015/ngx-formly-zorro-antd-input.mjs +0 -400
  148. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +0 -1
  149. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +0 -157
  150. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +0 -1
  151. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +0 -1
  152. package/fesm2015/ngx-formly-zorro-antd-select.mjs +0 -228
  153. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +0 -1
  154. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +0 -120
  155. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +0 -1
  156. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +0 -1
  157. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +0 -1
  158. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +0 -198
  159. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +0 -1
  160. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +0 -149
  161. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +0 -1
  162. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +0 -1
  163. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +0 -1
  164. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +0 -438
  165. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +0 -1
  166. package/fesm2015/ngx-formly-zorro-antd.mjs.map +0 -1
  167. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +0 -4
  168. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +0 -1
  169. package/fesm2020/ngx-formly-zorro-antd-button.mjs +0 -173
  170. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +0 -1
  171. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +0 -1
  172. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +0 -1
  173. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +0 -1
  174. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +0 -249
  175. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +0 -1
  176. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +0 -174
  177. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +0 -1
  178. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +0 -1
  179. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +0 -1
  180. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +0 -1
  181. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +0 -1
  182. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +0 -1
  183. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +0 -116
  184. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +0 -1
  185. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +0 -1
  186. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +0 -1
  187. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +0 -106
  188. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +0 -1
  189. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +0 -158
  190. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +0 -1
  191. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +0 -1
  192. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +0 -1
  193. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +0 -262
  194. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +0 -1
  195. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +0 -154
  196. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +0 -1
  197. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +0 -1
  198. package/fesm2020/ngx-formly-zorro-antd.mjs +0 -104
  199. package/fesm2020/ngx-formly-zorro-antd.mjs.map +0 -1
  200. /package/{esm2020 → esm2022}/autocomplete/autocomplete.props.mjs +0 -0
  201. /package/{esm2020 → esm2022}/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +0 -0
  202. /package/{esm2020 → esm2022}/autocomplete/public_api.mjs +0 -0
  203. /package/{esm2020 → esm2022}/button/ngx-formly-zorro-antd-button.mjs +0 -0
  204. /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
  205. /package/{esm2020 → esm2022}/card/ngx-formly-zorro-antd-card.mjs +0 -0
  206. /package/{esm2020 → esm2022}/card/public_api.mjs +0 -0
  207. /package/{esm2020 → esm2022}/cascader/ngx-formly-zorro-antd-cascader.mjs +0 -0
  208. /package/{esm2020 → esm2022}/cascader/public_api.mjs +0 -0
  209. /package/{esm2020 → esm2022}/checkbox/ngx-formly-zorro-antd-checkbox.mjs +0 -0
  210. /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
  211. /package/{esm2020 → esm2022}/datepicker/datepicker.props.mjs +0 -0
  212. /package/{esm2020 → esm2022}/datepicker/ngx-formly-zorro-antd-datepicker.mjs +0 -0
  213. /package/{esm2020 → esm2022}/datepicker/public_api.mjs +0 -0
  214. /package/{esm2020 → esm2022}/form-field/form-field.props.mjs +0 -0
  215. /package/{esm2020 → esm2022}/form-field/ngx-formly-zorro-antd-form-field.mjs +0 -0
  216. /package/{esm2020 → esm2022}/form-field/public_api.mjs +0 -0
  217. /package/{esm2020 → esm2022}/grid/grid.props.mjs +0 -0
  218. /package/{esm2020 → esm2022}/grid/ngx-formly-zorro-antd-grid.mjs +0 -0
  219. /package/{esm2020 → esm2022}/grid/public_api.mjs +0 -0
  220. /package/{esm2020 → esm2022}/index.mjs +0 -0
  221. /package/{esm2020 → esm2022}/input/input.props.mjs +0 -0
  222. /package/{esm2020 → esm2022}/input/ngx-formly-zorro-antd-input.mjs +0 -0
  223. /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
  224. /package/{esm2020 → esm2022}/input-group/input-group.props.mjs +0 -0
  225. /package/{esm2020 → esm2022}/input-group/ngx-formly-zorro-antd-input-group.mjs +0 -0
  226. /package/{esm2020 → esm2022}/input-group/public_api.mjs +0 -0
  227. /package/{esm2020 → esm2022}/input-number/input-number.props.mjs +0 -0
  228. /package/{esm2020 → esm2022}/input-number/ngx-formly-zorro-antd-input-number.mjs +0 -0
  229. /package/{esm2020 → esm2022}/input-number/public_api.mjs +0 -0
  230. /package/{esm2020 → esm2022}/lib/ui-ng-zorro-antd.mjs +0 -0
  231. /package/{esm2020 → esm2022}/ngx-formly-zorro-antd.mjs +0 -0
  232. /package/{esm2020 → esm2022}/radio/ngx-formly-zorro-antd-radio.mjs +0 -0
  233. /package/{esm2020 → esm2022}/radio/public_api.mjs +0 -0
  234. /package/{esm2020 → esm2022}/rate/ngx-formly-zorro-antd-rate.mjs +0 -0
  235. /package/{esm2020 → esm2022}/rate/public_api.mjs +0 -0
  236. /package/{esm2020 → esm2022}/select/ngx-formly-zorro-antd-select.mjs +0 -0
  237. /package/{esm2020 → esm2022}/select/public_api.mjs +0 -0
  238. /package/{esm2020 → esm2022}/select/select.props.mjs +0 -0
  239. /package/{esm2020 → esm2022}/slider/ngx-formly-zorro-antd-slider.mjs +0 -0
  240. /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
  241. /package/{esm2020 → esm2022}/switch/ngx-formly-zorro-antd-switch.mjs +0 -0
  242. /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
  243. /package/{esm2020 → esm2022}/tabs/ngx-formly-zorro-antd-tabs.mjs +0 -0
  244. /package/{esm2020 → esm2022}/tabs/public_api.mjs +0 -0
  245. /package/{esm2020 → esm2022}/tabs/tabs.props.mjs +0 -0
  246. /package/{esm2020 → esm2022}/textarea/ngx-formly-zorro-antd-textarea.mjs +0 -0
  247. /package/{esm2020 → esm2022}/textarea/public_api.mjs +0 -0
  248. /package/{esm2020 → esm2022}/timepicker/ngx-formly-zorro-antd-timepicker.mjs +0 -0
  249. /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
  250. /package/{esm2020 → esm2022}/transfer/ngx-formly-zorro-antd-transfer.mjs +0 -0
  251. /package/{esm2020 → esm2022}/transfer/public_api.mjs +0 -0
  252. /package/{esm2020 → esm2022}/tree-select/ngx-formly-zorro-antd-tree-select.mjs +0 -0
  253. /package/{esm2020 → esm2022}/tree-select/public_api.mjs +0 -0
  254. /package/{esm2020 → esm2022}/upload/ngx-formly-zorro-antd-upload.mjs +0 -0
  255. /package/{esm2020 → esm2022}/upload/public_api.mjs +0 -0
  256. /package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-autocomplete.mjs +0 -0
@@ -1,114 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i3 from '@ngx-formly/core';
6
- import { FieldType, FormlyModule } from '@ngx-formly/core';
7
- import * as i2 from 'ng-zorro-antd/grid';
8
- import { NzGridModule } from 'ng-zorro-antd/grid';
9
-
10
- class FormlyFieldGrid extends FieldType {
11
- }
12
- FormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });
13
- FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldGrid, selector: "formly-field-grid", usesInheritance: true, ngImport: i0, template: `
14
- <div
15
- nz-row
16
- [nzAlign]="props.align ?? null"
17
- [nzGutter]="props.gutter ?? null"
18
- [nzJustify]="props.justify ?? null"
19
- [formlyAttributes]="field"
20
- >
21
- <formly-field
22
- *ngFor="let item of field.fieldGroup"
23
- [field]="item"
24
- nz-col
25
- [nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
26
- [nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
27
- [nzOrder]="item.props?.['grid']?.['order'] || props.order"
28
- [nzPull]="item.props?.['grid']?.['pull'] || props.pull"
29
- [nzPush]="item.props?.['grid']?.['push'] || props.push"
30
- [nzSpan]="item.props?.['grid']?.['span'] || props.span"
31
- [nzXs]="item.props?.['grid']?.['xs'] || props.xs"
32
- [nzSm]="item.props?.['grid']?.['sm'] || props.sm"
33
- [nzMd]="item.props?.['grid']?.['md'] || props.md"
34
- [nzLg]="item.props?.['grid']?.['lg'] || props.lg"
35
- [nzXl]="item.props?.['grid']?.['xl'] || props.xl"
36
- [nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
37
- ></formly-field>
38
- </div>
39
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldGrid, decorators: [{
41
- type: Component,
42
- args: [{
43
- selector: 'formly-field-grid',
44
- template: `
45
- <div
46
- nz-row
47
- [nzAlign]="props.align ?? null"
48
- [nzGutter]="props.gutter ?? null"
49
- [nzJustify]="props.justify ?? null"
50
- [formlyAttributes]="field"
51
- >
52
- <formly-field
53
- *ngFor="let item of field.fieldGroup"
54
- [field]="item"
55
- nz-col
56
- [nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
57
- [nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
58
- [nzOrder]="item.props?.['grid']?.['order'] || props.order"
59
- [nzPull]="item.props?.['grid']?.['pull'] || props.pull"
60
- [nzPush]="item.props?.['grid']?.['push'] || props.push"
61
- [nzSpan]="item.props?.['grid']?.['span'] || props.span"
62
- [nzXs]="item.props?.['grid']?.['xs'] || props.xs"
63
- [nzSm]="item.props?.['grid']?.['sm'] || props.sm"
64
- [nzMd]="item.props?.['grid']?.['md'] || props.md"
65
- [nzLg]="item.props?.['grid']?.['lg'] || props.lg"
66
- [nzXl]="item.props?.['grid']?.['xl'] || props.xl"
67
- [nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
68
- ></formly-field>
69
- </div>
70
- `,
71
- changeDetection: ChangeDetectionStrategy.OnPush
72
- }]
73
- }] });
74
-
75
- class FormlyNzGridModule {
76
- }
77
- FormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
- FormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,
79
- NzGridModule, i3.FormlyModule] });
80
- FormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzGridModule, imports: [CommonModule,
81
- NzGridModule,
82
- FormlyModule.forChild({
83
- types: [
84
- {
85
- name: 'grid',
86
- component: FormlyFieldGrid
87
- }
88
- ]
89
- })] });
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzGridModule, decorators: [{
91
- type: NgModule,
92
- args: [{
93
- declarations: [FormlyFieldGrid],
94
- imports: [
95
- CommonModule,
96
- NzGridModule,
97
- FormlyModule.forChild({
98
- types: [
99
- {
100
- name: 'grid',
101
- component: FormlyFieldGrid
102
- }
103
- ]
104
- })
105
- ]
106
- }]
107
- }] });
108
-
109
- /**
110
- * Generated bundle index. Do not edit.
111
- */
112
-
113
- export { FormlyFieldGrid, FormlyNzGridModule };
114
- //# sourceMappingURL=ngx-formly-zorro-antd-grid.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-grid.mjs","sources":["../esm2020/grid/grid.type.mjs","../esm2020/grid/grid.module.mjs","../esm2020/grid/ngx-formly-zorro-antd-grid.mjs"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"ng-zorro-antd/grid\";\nimport * as i3 from \"@ngx-formly/core\";\nexport class FormlyFieldGrid extends FieldType {\n}\nFormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });\nFormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"15.0.4\", type: FormlyFieldGrid, selector: \"formly-field-grid\", usesInheritance: true, ngImport: i0, template: `\n <div\n nz-row\n [nzAlign]=\"props.align ?? null\"\n [nzGutter]=\"props.gutter ?? null\"\n [nzJustify]=\"props.justify ?? null\"\n [formlyAttributes]=\"field\"\n >\n <formly-field\n *ngFor=\"let item of field.fieldGroup\"\n [field]=\"item\"\n nz-col\n [nzFlex]=\"item.props?.['grid']?.['flex'] || props.flex\"\n [nzOffset]=\"item.props?.['grid']?.['offset'] || props.offset\"\n [nzOrder]=\"item.props?.['grid']?.['order'] || props.order\"\n [nzPull]=\"item.props?.['grid']?.['pull'] || props.pull\"\n [nzPush]=\"item.props?.['grid']?.['push'] || props.push\"\n [nzSpan]=\"item.props?.['grid']?.['span'] || props.span\"\n [nzXs]=\"item.props?.['grid']?.['xs'] || props.xs\"\n [nzSm]=\"item.props?.['grid']?.['sm'] || props.sm\"\n [nzMd]=\"item.props?.['grid']?.['md'] || props.md\"\n [nzLg]=\"item.props?.['grid']?.['lg'] || props.lg\"\n [nzXl]=\"item.props?.['grid']?.['xl'] || props.xl\"\n [nzXXl]=\"item.props?.['grid']?.['xxl'] || props.xxl\"\n ></formly-field>\n </div>\n `, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i2.NzColDirective, selector: \"[nz-col],nz-col,nz-form-control,nz-form-label\", inputs: [\"nzFlex\", \"nzSpan\", \"nzOrder\", \"nzOffset\", \"nzPush\", \"nzPull\", \"nzXs\", \"nzSm\", \"nzMd\", \"nzLg\", \"nzXl\", \"nzXXl\"], exportAs: [\"nzCol\"] }, { kind: \"directive\", type: i2.NzRowDirective, selector: \"[nz-row],nz-row,nz-form-item\", inputs: [\"nzAlign\", \"nzJustify\", \"nzGutter\"], exportAs: [\"nzRow\"] }, { kind: \"component\", type: i3.FormlyField, selector: \"formly-field\", inputs: [\"field\"] }, { kind: \"directive\", type: i3.ɵFormlyAttributes, selector: \"[formlyAttributes]\", inputs: [\"formlyAttributes\", \"id\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyFieldGrid, decorators: [{\n type: Component,\n args: [{\n selector: 'formly-field-grid',\n template: `\n <div\n nz-row\n [nzAlign]=\"props.align ?? null\"\n [nzGutter]=\"props.gutter ?? null\"\n [nzJustify]=\"props.justify ?? null\"\n [formlyAttributes]=\"field\"\n >\n <formly-field\n *ngFor=\"let item of field.fieldGroup\"\n [field]=\"item\"\n nz-col\n [nzFlex]=\"item.props?.['grid']?.['flex'] || props.flex\"\n [nzOffset]=\"item.props?.['grid']?.['offset'] || props.offset\"\n [nzOrder]=\"item.props?.['grid']?.['order'] || props.order\"\n [nzPull]=\"item.props?.['grid']?.['pull'] || props.pull\"\n [nzPush]=\"item.props?.['grid']?.['push'] || props.push\"\n [nzSpan]=\"item.props?.['grid']?.['span'] || props.span\"\n [nzXs]=\"item.props?.['grid']?.['xs'] || props.xs\"\n [nzSm]=\"item.props?.['grid']?.['sm'] || props.sm\"\n [nzMd]=\"item.props?.['grid']?.['md'] || props.md\"\n [nzLg]=\"item.props?.['grid']?.['lg'] || props.lg\"\n [nzXl]=\"item.props?.['grid']?.['xl'] || props.xl\"\n [nzXXl]=\"item.props?.['grid']?.['xxl'] || props.xxl\"\n ></formly-field>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9ncmlkL3NyYy9ncmlkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7OztBQXVDakYsTUFBTSxPQUFPLGVBQWdCLFNBQVEsU0FBcUM7OzRHQUE3RCxlQUFlO2dHQUFmLGVBQWUsZ0ZBN0JoQjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0EwQlQ7MkZBR1UsZUFBZTtrQkEvQjNCLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLG1CQUFtQjtvQkFDN0IsUUFBUSxFQUFFOzs7Ozs7Ozs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VjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZEdyaWQgZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPEdyaWRQcm9wcz4+IHt9XG4iXX0=","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyFieldGrid } from './grid.type';\nimport { NzGridModule } from 'ng-zorro-antd/grid';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-formly/core\";\nexport class FormlyNzGridModule {\n}\nFormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nFormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,\n NzGridModule, i1.FormlyModule] });\nFormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzGridModule, imports: [CommonModule,\n NzGridModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'grid',\n component: FormlyFieldGrid\n }\n ]\n })] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzGridModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [FormlyFieldGrid],\n imports: [\n CommonModule,\n NzGridModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'grid',\n component: FormlyFieldGrid\n }\n ]\n })\n ]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8u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1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBGb3JtbHlNb2R1bGUgfSBmcm9tICdAbmd4LWZvcm1seS9jb3JlJztcblxuaW1wb3J0IHsgRm9ybWx5RmllbGRHcmlkIH0gZnJvbSAnLi9ncmlkLnR5cGUnO1xuXG5pbXBvcnQgeyBOekdyaWRNb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL2dyaWQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZEdyaWRdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIE56R3JpZE1vZHVsZSxcblxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ2dyaWQnLFxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRHcmlkXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56R3JpZE1vZHVsZSB7fVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public_api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWdyaWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2dyaWQvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC1ncmlkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVy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EAAE,CAAC;;ACvCb;;AAEG;;;;"}
@@ -1,120 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i3 from '@ngx-formly/core';
6
- import { FieldType, FormlyModule } from '@ngx-formly/core';
7
- import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
8
- import * as i2 from 'ng-zorro-antd/input';
9
- import { NzInputModule } from 'ng-zorro-antd/input';
10
-
11
- class FormlyFieldInputGroup extends FieldType {
12
- constructor() {
13
- super(...arguments);
14
- this.defaultOptions = {
15
- props: {
16
- status: '',
17
- size: 'default'
18
- }
19
- };
20
- }
21
- get group() {
22
- return this.field.fieldGroup;
23
- }
24
- trackById(index, envent) {
25
- if (!envent.id) {
26
- return index;
27
- }
28
- return envent.id;
29
- }
30
- }
31
- FormlyFieldInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldInputGroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
32
- FormlyFieldInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldInputGroup, selector: "formly-field-input-group", usesInheritance: true, ngImport: i0, template: `
33
- <nz-input-group
34
- [nzPrefixIcon]="props['prefixIcon']"
35
- [nzSuffixIcon]="props['suffixIcon']"
36
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
37
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
38
- [nzAddOnBefore]="props['addOnBefore']"
39
- [nzAddOnAfter]="props['addOnAfter']"
40
- [nzPrefix]="props['prefix']"
41
- [nzSuffix]="props['suffix']"
42
- [nzCompact]="props['compact']!!"
43
- [nzSearch]="props['search']!!"
44
- [nzSize]="props['size']!"
45
- [nzStatus]="props['status']!"
46
- >
47
- <formly-field *ngFor="let f of group; trackBy: trackById" [field]="f"></formly-field>
48
- </nz-input-group>
49
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i2.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldInputGroup, decorators: [{
51
- type: Component,
52
- args: [{
53
- selector: 'formly-field-input-group',
54
- template: `
55
- <nz-input-group
56
- [nzPrefixIcon]="props['prefixIcon']"
57
- [nzSuffixIcon]="props['suffixIcon']"
58
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
59
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
60
- [nzAddOnBefore]="props['addOnBefore']"
61
- [nzAddOnAfter]="props['addOnAfter']"
62
- [nzPrefix]="props['prefix']"
63
- [nzSuffix]="props['suffix']"
64
- [nzCompact]="props['compact']!!"
65
- [nzSearch]="props['search']!!"
66
- [nzSize]="props['size']!"
67
- [nzStatus]="props['status']!"
68
- >
69
- <formly-field *ngFor="let f of group; trackBy: trackById" [field]="f"></formly-field>
70
- </nz-input-group>
71
- `,
72
- changeDetection: ChangeDetectionStrategy.OnPush
73
- }]
74
- }] });
75
-
76
- class FormlyNzInputGroupModule {
77
- }
78
- FormlyNzInputGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzInputGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
79
- FormlyNzInputGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzInputGroupModule, declarations: [FormlyFieldInputGroup], imports: [CommonModule,
80
- NzInputModule,
81
- FormlyNzFormFieldModule, i3.FormlyModule] });
82
- FormlyNzInputGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzInputGroupModule, imports: [CommonModule,
83
- NzInputModule,
84
- FormlyNzFormFieldModule,
85
- FormlyModule.forChild({
86
- types: [
87
- {
88
- name: 'input-group',
89
- component: FormlyFieldInputGroup,
90
- wrappers: ['form-field']
91
- }
92
- ]
93
- })] });
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzInputGroupModule, decorators: [{
95
- type: NgModule,
96
- args: [{
97
- declarations: [FormlyFieldInputGroup],
98
- imports: [
99
- CommonModule,
100
- NzInputModule,
101
- FormlyNzFormFieldModule,
102
- FormlyModule.forChild({
103
- types: [
104
- {
105
- name: 'input-group',
106
- component: FormlyFieldInputGroup,
107
- wrappers: ['form-field']
108
- }
109
- ]
110
- })
111
- ]
112
- }]
113
- }] });
114
-
115
- /**
116
- * Generated bundle index. Do not edit.
117
- */
118
-
119
- export { FormlyFieldInputGroup, FormlyNzInputGroupModule };
120
- //# sourceMappingURL=ngx-formly-zorro-antd-input-group.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-input-group.mjs","sources":["../esm2020/input-group/input-group.type.mjs","../esm2020/input-group/input-group.module.mjs","../esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"ng-zorro-antd/input\";\nimport * as i3 from \"@ngx-formly/core\";\nexport class FormlyFieldInputGroup extends FieldType {\n constructor() {\n super(...arguments);\n this.defaultOptions = {\n props: {\n status: '',\n size: 'default'\n }\n };\n }\n get group() {\n return this.field.fieldGroup;\n }\n trackById(index, envent) {\n if (!envent.id) {\n return index;\n }\n return envent.id;\n }\n}\nFormlyFieldInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyFieldInputGroup, deps: null, target: i0.ɵɵFactoryTarget.Component });\nFormlyFieldInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"15.0.4\", type: FormlyFieldInputGroup, selector: \"formly-field-input-group\", usesInheritance: true, ngImport: i0, template: `\n <nz-input-group\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['suffix']\"\n [nzCompact]=\"props['compact']!!\"\n [nzSearch]=\"props['search']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n >\n <formly-field *ngFor=\"let f of group; trackBy: trackById\" [field]=\"f\"></formly-field>\n </nz-input-group>\n `, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"component\", type: i2.NzInputGroupComponent, selector: \"nz-input-group\", inputs: [\"nzAddOnBeforeIcon\", \"nzAddOnAfterIcon\", \"nzPrefixIcon\", \"nzSuffixIcon\", \"nzAddOnBefore\", \"nzAddOnAfter\", \"nzPrefix\", \"nzStatus\", \"nzSuffix\", \"nzSize\", \"nzSearch\", \"nzCompact\"], exportAs: [\"nzInputGroup\"] }, { kind: \"directive\", type: i2.NzInputGroupWhitSuffixOrPrefixDirective, selector: \"nz-input-group[nzSuffix], nz-input-group[nzPrefix]\" }, { kind: \"component\", type: i3.FormlyField, selector: \"formly-field\", inputs: [\"field\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyFieldInputGroup, decorators: [{\n type: Component,\n args: [{\n selector: 'formly-field-input-group',\n template: `\n <nz-input-group\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['suffix']\"\n [nzCompact]=\"props['compact']!!\"\n [nzSearch]=\"props['search']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n >\n <formly-field *ngFor=\"let f of group; trackBy: trackById\" [field]=\"f\"></formly-field>\n </nz-input-group>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZ3JvdXAudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvaW5wdXQtZ3JvdXAvc3JjL2lucHV0LWdyb3VwLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQU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HsgTnpTYWZlQW55IH0gZnJvbSAnbmctem9ycm8tYW50ZC9jb3JlL3R5cGVzJztcbmltcG9ydCB0eXBlIHsgSW5wdXRHcm91cFByb3BzIH0gZnJvbSAnLi9pbnB1dC1ncm91cC5wcm9wcyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgRm9ybWx5SW5wdXRHcm91cEZpZWxkQ29uZmlnIGV4dGVuZHMgRm9ybWx5RmllbGRDb25maWc8SW5wdXRHcm91cFByb3BzPiB7XG4gIHR5cGU6ICdpbnB1dC1ncm91cCcgfCBUeXBlPEZvcm1seUZpZWxkSW5wdXRHcm91cD47XG59XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2Zvcm1seS1maWVsZC1pbnB1dC1ncm91cCcsXG4gIHRlbXBsYXRlOiBgXG4gICAgPG56LWlucHV0LWdyb3VwXG4gICAgICBbbnpQcmVmaXhJY29uXT1cInByb3BzWydwcmVmaXhJY29uJ11cIlxuICAgICAgW256U3VmZml4SWNvbl09XCJwcm9wc1snc3VmZml4SWNvbiddXCJcbiAgICAgIFtuekFkZE9uQWZ0ZXJJY29uXT1cInByb3BzWydhZGRPbkFmdGVySWNvbiddXCJcbiAgICAgIFtuekFkZE9uQmVmb3JlSWNvbl09XCJwcm9wc1snYWRkT25CZWZvcmVJY29uJ11cIlxuICAgICAgW256QWRkT25CZWZvcmVdPVwicHJvcHNbJ2FkZE9uQmVmb3JlJ11cIlxuICAgICAgW256QWRkT25BZnRlcl09XCJwcm9wc1snYWRkT25BZnRlciddXCJcbiAgICAgIFtuelByZWZpeF09XCJwcm9wc1sncHJlZml4J11cIlxuICAgICAgW256U3VmZml4XT1cInByb3BzWydzdWZmaXgnXVwiXG4gICAgICBbbnpDb21wYWN0XT1cInByb3BzWydjb21wYWN0J10hIVwiXG4gICAgICBbbnpTZWFyY2hdPVwicHJvcHNbJ3NlYXJjaCddISFcIlxuICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXG4gICAgICBbbnpTdGF0dXNdPVwicHJvcHNbJ3N0YXR1cyddIVwiXG4gICAgPlxuICAgICAgPGZvcm1seS1maWVsZCAqbmdGb3I9XCJsZXQgZiBvZiBncm91cDsgdHJhY2tCeTogdHJhY2tCeUlkXCIgW2ZpZWxkXT1cImZcIj48L2Zvcm1seS1maWVsZD5cbiAgICA8L256LWlucHV0LWdyb3VwPlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZElucHV0R3JvdXAgZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPElucHV0R3JvdXBQcm9wcz4+IHtcbiAgb3ZlcnJpZGUgZGVmYXVsdE9wdGlvbnMgPSB7XG4gICAgcHJvcHM6IHtcbiAgICAgIHN0YXR1czogJycgYXMgY29uc3QsXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3RcbiAgICB9XG4gIH07XG4gIGdldCBncm91cCgpIHtcbiAgICByZXR1cm4gdGhpcy5maWVsZC5maWVsZEdyb3VwO1xuICB9XG4gIHRyYWNrQnlJZChpbmRleDogbnVtYmVyLCBlbnZlbnQ6IE56U2FmZUFueSkge1xuICAgIGlmICghZW52ZW50LmlkKSB7XG4gICAgICByZXR1cm4gaW5kZXg7XG4gICAgfVxuICAgIHJldHVybiBlbnZlbnQuaWQ7XG4gIH1cbn1cbiJdfQ==","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyFieldInputGroup } from './input-group.type';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-formly/core\";\nexport class FormlyNzInputGroupModule {\n}\nFormlyNzInputGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nFormlyNzInputGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputGroupModule, declarations: [FormlyFieldInputGroup], imports: [CommonModule,\n NzInputModule,\n FormlyNzFormFieldModule, i1.FormlyModule] });\nFormlyNzInputGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputGroupModule, imports: [CommonModule,\n NzInputModule,\n FormlyNzFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input-group',\n component: FormlyFieldInputGroup,\n wrappers: ['form-field']\n }\n ]\n })] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputGroupModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [FormlyFieldInputGroup],\n imports: [\n CommonModule,\n NzInputModule,\n FormlyNzFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input-group',\n component: FormlyFieldInputGroup,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZ3JvdXAubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9pbnB1dC1ncm91cC9zcmMvaW5wdXQtZ3JvdXAubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9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VsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEZvcm1seU1vZHVsZSB9IGZyb20gJ0BuZ3gtZm9ybWx5L2NvcmUnO1xuaW1wb3J0IHsgRm9ybWx5TnpGb3JtRmllbGRNb2R1bGUgfSBmcm9tICduZ3gtZm9ybWx5LXpvcnJvLWFudGQvZm9ybS1maWVsZCc7XG5cbmltcG9ydCB7IEZvcm1seUZpZWxkSW5wdXRHcm91cCB9IGZyb20gJy4vaW5wdXQtZ3JvdXAudHlwZSc7XG5pbXBvcnQgeyBOeklucHV0TW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9pbnB1dCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0Zvcm1seUZpZWxkSW5wdXRHcm91cF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTnpJbnB1dE1vZHVsZSxcblxuICAgIEZvcm1seU56Rm9ybUZpZWxkTW9kdWxlLFxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ2lucHV0LWdyb3VwJyxcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkSW5wdXRHcm91cCxcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpJbnB1dEdyb3VwTW9kdWxlIHt9XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public_api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWlucHV0LWdyb3V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AAQ,EAAE,CAAC,YAAY,CAAC;AAC3B,iBAAA;AACJ,aAAA;SACJ,CAAC,CAAC,EAAE,CAAC,CAAC;AACf,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,UAAU,EAAE,CAAC;AACtH,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,IAAI,EAAE,CAAC;oBACC,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,aAAa;wBACb,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AAClB,4BAAA,KAAK,EAAE;AACH,gCAAA;AACI,oCAAA,IAAI,EAAE,aAAa;AACnB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AAC3B,iCAAA;AACJ,6BAAA;yBACJ,CAAC;AACL,qBAAA;iBACJ,CAAC;SACT,CAAC,EAAE,CAAC;;AC7Cb;;AAEG;;;;"}
@@ -1,189 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i2 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 i3 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: "15.0.4", ngImport: i0, type: FormlyFieldInputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component });
36
- FormlyFieldInputNumber.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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['modelChange'] && props['modelChange'](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, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { 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.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"] }, { kind: "component", type: i3.NzInputNumberGroupComponent, selector: "nz-input-number-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzCompact"], exportAs: ["nzInputNumberGroup"] }, { kind: "directive", type: i3.NzInputNumberGroupWhitSuffixOrPrefixDirective, selector: "nz-input-number-group[nzSuffix], nz-input-number-group[nzPrefix]" }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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['modelChange'] && props['modelChange'](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: "15.0.4", ngImport: i0, type: FormlyNzInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
137
- FormlyNzInputNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", 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: "15.0.4", ngImport: i0, type: FormlyNzInputNumberModule, imports: [CommonModule,
142
- ReactiveFormsModule,
143
- FormlyNzFormFieldModule,
144
- NzInputNumberModule,
145
- FormlyModule.forChild({
146
- types: [
147
- {
148
- name: 'number',
149
- component: FormlyFieldInputNumber,
150
- wrappers: ['form-field']
151
- },
152
- {
153
- name: 'integer',
154
- extends: 'number'
155
- }
156
- ]
157
- })] });
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzInputNumberModule, decorators: [{
159
- type: NgModule,
160
- args: [{
161
- declarations: [FormlyFieldInputNumber],
162
- imports: [
163
- CommonModule,
164
- ReactiveFormsModule,
165
- FormlyNzFormFieldModule,
166
- NzInputNumberModule,
167
- FormlyModule.forChild({
168
- types: [
169
- {
170
- name: 'number',
171
- component: FormlyFieldInputNumber,
172
- wrappers: ['form-field']
173
- },
174
- {
175
- name: 'integer',
176
- extends: 'number'
177
- }
178
- ]
179
- })
180
- ]
181
- }]
182
- }] });
183
-
184
- /**
185
- * Generated bundle index. Do not edit.
186
- */
187
-
188
- export { FormlyFieldInputNumber, FormlyNzInputNumberModule };
189
- //# sourceMappingURL=ngx-formly-zorro-antd-input-number.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-input-number.mjs","sources":["../esm2020/input-number/input-number.type.mjs","../esm2020/input-number/input-number.module.mjs","../esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"ng-zorro-antd/input-number\";\nimport * as i4 from \"@ngx-formly/core\";\nexport class FormlyFieldInputNumber extends FieldType {\n constructor() {\n super(...arguments);\n this.defaultOptions = {\n props: {\n max: Infinity,\n min: -Infinity,\n parser: (value) => value\n .trim()\n .replace(/。/g, '.')\n // eslint-disable-next-line no-useless-escape\n .replace(/[^\\w\\.-]+/g, ''),\n precisionMode: 'toFixed',\n size: 'default',\n status: '',\n step: 1,\n inputMode: 'decimal',\n formatter: (value) => value\n }\n };\n }\n}\nFormlyFieldInputNumber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyFieldInputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component });\nFormlyFieldInputNumber.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"15.0.4\", type: FormlyFieldInputNumber, selector: \"formly-field-inputnumber\", usesInheritance: true, ngImport: i0, template: `\n <ng-container [ngSwitch]=\"props.type\">\n <nz-input-number-group\n *ngSwitchCase=\"'group'\"\n [ngClass]=\"props['className']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['suffix']\"\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzCompact]=\"props['compact']\"\n >\n <ng-container *ngTemplateOutlet=\"nzinputnumber\"></ng-container>\n </nz-input-number-group>\n\n <ng-container *ngSwitchDefault>\n <ng-template [ngTemplateOutlet]=\"nzinputnumber\"></ng-template>\n </ng-container>\n </ng-container>\n\n <ng-template #nzinputnumber>\n <nz-input-number\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzMax]=\"props.max!\"\n [nzMin]=\"props.min!\"\n [nzReadOnly]=\"props.readonly!!\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzBorderless]=\"!!props['borderless']\"\n [nzPrecision]=\"props['precision']\"\n [nzPrecisionMode]=\"props['precisionMode']!\"\n [nzStep]=\"props['step'] ?? 1\"\n [nzFormatter]=\"props['formatter']!\"\n [nzParser]=\"props['parser']!\"\n [nzInputMode]=\"props['inputMode']!\"\n [ngClass]=\"props['className']\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n (nzFocus)=\"props.focus && props.focus(field, $event)\"\n (nzBlur)=\"props.blur && props.blur(field, $event)\"\n ></nz-input-number>\n </ng-template>\n `, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i1.NgSwitch, selector: \"[ngSwitch]\", inputs: [\"ngSwitch\"] }, { kind: \"directive\", type: i1.NgSwitchCase, selector: \"[ngSwitchCase]\", inputs: [\"ngSwitchCase\"] }, { kind: \"directive\", type: i1.NgSwitchDefault, selector: \"[ngSwitchDefault]\" }, { 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.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\"] }, { kind: \"component\", type: i3.NzInputNumberGroupComponent, selector: \"nz-input-number-group\", inputs: [\"nzAddOnBeforeIcon\", \"nzAddOnAfterIcon\", \"nzPrefixIcon\", \"nzSuffixIcon\", \"nzAddOnBefore\", \"nzAddOnAfter\", \"nzPrefix\", \"nzStatus\", \"nzSuffix\", \"nzSize\", \"nzCompact\"], exportAs: [\"nzInputNumberGroup\"] }, { kind: \"directive\", type: i3.NzInputNumberGroupWhitSuffixOrPrefixDirective, selector: \"nz-input-number-group[nzSuffix], nz-input-number-group[nzPrefix]\" }, { kind: \"directive\", type: i4.ɵFormlyAttributes, selector: \"[formlyAttributes]\", inputs: [\"formlyAttributes\", \"id\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyFieldInputNumber, decorators: [{\n type: Component,\n args: [{\n selector: 'formly-field-inputnumber',\n template: `\n <ng-container [ngSwitch]=\"props.type\">\n <nz-input-number-group\n *ngSwitchCase=\"'group'\"\n [ngClass]=\"props['className']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['suffix']\"\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzCompact]=\"props['compact']\"\n >\n <ng-container *ngTemplateOutlet=\"nzinputnumber\"></ng-container>\n </nz-input-number-group>\n\n <ng-container *ngSwitchDefault>\n <ng-template [ngTemplateOutlet]=\"nzinputnumber\"></ng-template>\n </ng-container>\n </ng-container>\n\n <ng-template #nzinputnumber>\n <nz-input-number\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzMax]=\"props.max!\"\n [nzMin]=\"props.min!\"\n [nzReadOnly]=\"props.readonly!!\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzBorderless]=\"!!props['borderless']\"\n [nzPrecision]=\"props['precision']\"\n [nzPrecisionMode]=\"props['precisionMode']!\"\n [nzStep]=\"props['step'] ?? 1\"\n [nzFormatter]=\"props['formatter']!\"\n [nzParser]=\"props['parser']!\"\n [nzInputMode]=\"props['inputMode']!\"\n [ngClass]=\"props['className']\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n (nzFocus)=\"props.focus && props.focus(field, $event)\"\n (nzBlur)=\"props.blur && props.blur(field, $event)\"\n ></nz-input-number>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2lucHV0LW51bWJlci9zcmMvaW5wdXQtbnVtYmVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7QUF5RGpGLE1BQU0sT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11cIlxuICAgICAgICBbbnpDb21wYWN0XT1cInByb3BzWydjb21wYWN0J11cIlxuICAgICAgPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwibnppbnB1dG51bWJlclwiPjwvbmctY29udGFpbmVyPlxuICAgICAgPC9uei1pbnB1dC1udW1iZXItZ3JvdXA+XG5cbiAgICAgIDxuZy1jb250YWluZXIgKm5nU3dpdGNoRGVmYXVsdD5cbiAgICAgICAgPG5nLXRlbXBsYXRlIFtuZ1RlbXBsYXRlT3V0bGV0XT1cIm56aW5wdXRudW1iZXJcIj48L25nLXRlbXBsYXRlPlxuICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC9uZy1jb250YWluZXI+XG5cbiAgICA8bmctdGVtcGxhdGUgI256aW5wdXRudW1iZXI+XG4gICAgICA8bnotaW5wdXQtbnVtYmVyXG4gICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXG4gICAgICAgIFtmb3JtbHlBdHRyaWJ1dGVzXT1cImZpZWxkXCJcbiAgICAgICAgW256TWF4XT1cInByb3BzLm1heCFcIlxuICAgICAgICBbbnpNaW5dPVwicHJvcHMubWluIVwiXG4gICAgICAgIFtuelJlYWRPbmx5XT1cInByb3BzLnJlYWRvbmx5ISFcIlxuICAgICAgICBbbnpQbGFjZUhvbGRlcl09XCJwcm9wcy5wbGFjZWhvbGRlciA/PyAnJ1wiXG4gICAgICAgIFtuelNpemVdPVwicHJvcHNbJ3NpemUnXSFcIlxuICAgICAgICBbbnpTdGF0dXNdPVwicHJvcHNbJ3N0YXR1cyddIVwiXG4gICAgICAgIFtuekJvcmRlcmxlc3NdPVwiISFwcm9wc1snYm9yZGVybGVzcyddXCJcbiAgICAgICAgW256UHJlY2lzaW9uXT1cInByb3BzWydwcmVjaXNpb24nXVwiXG4gICAgICAgIFtuelByZWNpc2lvbk1vZGVdPVwicHJvcHNbJ3ByZWNpc2lvbk1vZGUnXSFcIlxuICAgIC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luZSBuby11c2VsZXNzLWVzY2FwZVxuICAgICAgICAgIC5yZXBsYWNlKC9bXlxcd1xcLi1dKy9nLCAnJyksXG4gICAgICBwcmVjaXNpb25Nb2RlOiAndG9GaXhlZCcgYXMgY29uc3QsXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXG4gICAgICBzdGF0dXM6ICcnIGFzIGNvbnN0LFxuICAgICAgc3RlcDogMSxcbiAgICAgIGlucHV0TW9kZTogJ2RlY2ltYWwnLFxuICAgICAgZm9ybWF0dGVyOiAodmFsdWU6IG51bWJlciB8IHN0cmluZykgPT4gdmFsdWVcbiAgICB9XG4gIH07XG59XG4iXX0=","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';\nimport { FormlyFieldInputNumber } from './input-number.type';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-formly/core\";\nexport class FormlyNzInputNumberModule {\n}\nFormlyNzInputNumberModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nFormlyNzInputNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputNumberModule, declarations: [FormlyFieldInputNumber], imports: [CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzInputNumberModule, i1.FormlyModule] });\nFormlyNzInputNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputNumberModule, imports: [CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzInputNumberModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'number',\n component: FormlyFieldInputNumber,\n wrappers: ['form-field']\n },\n {\n name: 'integer',\n extends: 'number'\n }\n ]\n })] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputNumberModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [FormlyFieldInputNumber],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzInputNumberModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'number',\n component: FormlyFieldInputNumber,\n wrappers: ['form-field']\n },\n {\n name: 'integer',\n extends: 'number'\n }\n ]\n })\n ]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvaW5wdXQtbnVtYmVyL3NyYy9pbnB1dC1udW1iZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUM3RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQzs7O0FBe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VxuZXhwb3J0IGNsYXNzIEZvcm1seU56SW5wdXROdW1iZXJNb2R1bGUge31cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public_api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWlucHV0LW51bWJlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvaW5wdXQtbnVtYmVyL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtaW5wdXQtbnVtYmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0="],"names":["i1"],"mappings":";;;;;;;;;;;;AAOM,MAAO,sBAAuB,SAAQ,SAAS,CAAA;AACjD,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,GAAG,SAAS,CAAC,CAAC;QACpB,IAAI,CAAC,cAAc,GAAG;AAClB,YAAA,KAAK,EAAE;AACH,gBAAA,GAAG,EAAE,QAAQ;gBACb,GAAG,EAAE,CAAC,QAAQ;AACd,gBAAA,MAAM,EAAE,CAAC,KAAK,KAAK,KAAK;AACnB,qBAAA,IAAI,EAAE;AACN,qBAAA,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;;AAElB,qBAAA,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC;AAC9B,gBAAA,aAAa,EAAE,SAAS;AACxB,gBAAA,IAAI,EAAE,SAAS;AACf,gBAAA,MAAM,EAAE,EAAE;AACV,gBAAA,IAAI,EAAE,CAAC;AACP,gBAAA,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