ngx-formly-zorro-antd 13.0.0 → 14.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. package/README.md +1 -1
  2. package/autocomplete/autocomplete.props.d.ts +38 -38
  3. package/autocomplete/{ngx-formly-zorro-antd-autocomplete.d.ts → index.d.ts} +5 -5
  4. package/autocomplete/public_api.d.ts +1 -1
  5. package/button/button.module.d.ts +11 -11
  6. package/button/button.type.d.ts +66 -66
  7. package/button/{ngx-formly-zorro-antd-button.d.ts → index.d.ts} +5 -5
  8. package/button/public_api.d.ts +2 -2
  9. package/card/card.module.d.ts +10 -10
  10. package/card/card.wrapper.d.ts +58 -58
  11. package/card/{ngx-formly-zorro-antd-card.d.ts → index.d.ts} +5 -5
  12. package/card/public_api.d.ts +2 -2
  13. package/cascader/cascader.module.d.ts +12 -12
  14. package/cascader/cascader.type.d.ts +152 -152
  15. package/cascader/{ngx-formly-zorro-antd-cascader.d.ts → index.d.ts} +5 -5
  16. package/cascader/public_api.d.ts +2 -2
  17. package/checkbox/checkbox.module.d.ts +12 -12
  18. package/checkbox/checkbox.type.d.ts +35 -35
  19. package/checkbox/{ngx-formly-zorro-antd-checkbox.d.ts → index.d.ts} +5 -5
  20. package/checkbox/public_api.d.ts +2 -2
  21. package/datepicker/datepicker.module.d.ts +12 -12
  22. package/datepicker/datepicker.props.d.ts +144 -146
  23. package/datepicker/datepicker.type.d.ts +31 -31
  24. package/datepicker/{ngx-formly-zorro-antd-datepicker.d.ts → index.d.ts} +5 -5
  25. package/datepicker/public_api.d.ts +2 -2
  26. package/esm2020/autocomplete/autocomplete.props.mjs +2 -2
  27. package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +4 -4
  28. package/esm2020/autocomplete/public_api.mjs +2 -2
  29. package/esm2020/button/button.module.mjs +61 -63
  30. package/esm2020/button/button.type.mjs +110 -110
  31. package/esm2020/button/ngx-formly-zorro-antd-button.mjs +4 -4
  32. package/esm2020/button/public_api.mjs +3 -3
  33. package/esm2020/card/card.module.mjs +43 -45
  34. package/esm2020/card/card.wrapper.mjs +47 -47
  35. package/esm2020/card/ngx-formly-zorro-antd-card.mjs +4 -4
  36. package/esm2020/card/public_api.mjs +3 -3
  37. package/esm2020/cascader/cascader.module.mjs +51 -53
  38. package/esm2020/cascader/cascader.type.mjs +112 -112
  39. package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +4 -4
  40. package/esm2020/cascader/public_api.mjs +3 -3
  41. package/esm2020/checkbox/checkbox.module.mjs +59 -61
  42. package/esm2020/checkbox/checkbox.type.mjs +69 -69
  43. package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +4 -4
  44. package/esm2020/checkbox/public_api.mjs +3 -3
  45. package/esm2020/datepicker/datepicker.module.mjs +51 -53
  46. package/esm2020/datepicker/datepicker.props.mjs +2 -2
  47. package/esm2020/datepicker/datepicker.type.mjs +191 -189
  48. package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +4 -4
  49. package/esm2020/datepicker/public_api.mjs +3 -3
  50. package/esm2020/form-field/form-field.module.mjs +45 -47
  51. package/esm2020/form-field/form-field.props.mjs +2 -2
  52. package/esm2020/form-field/form-field.wrapper.mjs +127 -127
  53. package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +4 -4
  54. package/esm2020/form-field/public_api.mjs +2 -2
  55. package/esm2020/grid/grid.module.mjs +41 -43
  56. package/esm2020/grid/grid.props.mjs +2 -2
  57. package/esm2020/grid/grid.type.mjs +71 -71
  58. package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +4 -4
  59. package/esm2020/grid/public_api.mjs +3 -3
  60. package/esm2020/index.mjs +2 -2
  61. package/esm2020/input/input.module.mjs +89 -91
  62. package/esm2020/input/input.props.mjs +2 -2
  63. package/esm2020/input/input.type.mjs +309 -263
  64. package/esm2020/input/ngx-formly-zorro-antd-input.mjs +4 -4
  65. package/esm2020/input/public_api.mjs +3 -3
  66. package/esm2020/input-group/input-group.module.mjs +47 -49
  67. package/esm2020/input-group/input-group.props.mjs +2 -2
  68. package/esm2020/input-group/input-group.type.mjs +71 -71
  69. package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +4 -4
  70. package/esm2020/input-group/public_api.mjs +3 -3
  71. package/esm2020/input-number/input-number.module.mjs +59 -61
  72. package/esm2020/input-number/input-number.props.mjs +2 -2
  73. package/esm2020/input-number/input-number.type.mjs +128 -128
  74. package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +4 -4
  75. package/esm2020/input-number/public_api.mjs +3 -3
  76. package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -2
  77. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +97 -99
  78. package/esm2020/ngx-formly-zorro-antd.mjs +4 -4
  79. package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +4 -4
  80. package/esm2020/radio/public_api.mjs +3 -3
  81. package/esm2020/radio/radio.module.mjs +59 -61
  82. package/esm2020/radio/radio.type.mjs +96 -96
  83. package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +4 -4
  84. package/esm2020/rate/public_api.mjs +3 -3
  85. package/esm2020/rate/rate.module.mjs +51 -53
  86. package/esm2020/rate/rate.type.mjs +63 -63
  87. package/esm2020/select/ngx-formly-zorro-antd-select.mjs +4 -4
  88. package/esm2020/select/public_api.mjs +3 -3
  89. package/esm2020/select/select.module.mjs +57 -59
  90. package/esm2020/select/select.props.mjs +2 -2
  91. package/esm2020/select/select.type.mjs +163 -163
  92. package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +4 -4
  93. package/esm2020/slider/public_api.mjs +3 -3
  94. package/esm2020/slider/slider.module.mjs +51 -53
  95. package/esm2020/slider/slider.type.mjs +67 -67
  96. package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +4 -4
  97. package/esm2020/switch/public_api.mjs +3 -3
  98. package/esm2020/switch/switch.module.mjs +51 -53
  99. package/esm2020/switch/switch.type.mjs +53 -53
  100. package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +4 -4
  101. package/esm2020/tabs/public_api.mjs +3 -3
  102. package/esm2020/tabs/tabs.module.mjs +41 -43
  103. package/esm2020/tabs/tabs.props.mjs +2 -2
  104. package/esm2020/tabs/tabs.wrapper.mjs +111 -111
  105. package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +4 -4
  106. package/esm2020/textarea/public_api.mjs +3 -3
  107. package/esm2020/textarea/textarea.module.mjs +51 -53
  108. package/esm2020/textarea/textarea.type.mjs +88 -88
  109. package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +4 -4
  110. package/esm2020/timepicker/public_api.mjs +3 -3
  111. package/esm2020/timepicker/timepicker.module.mjs +51 -53
  112. package/esm2020/timepicker/timepicker.type.mjs +92 -92
  113. package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +4 -4
  114. package/esm2020/transfer/public_api.mjs +3 -3
  115. package/esm2020/transfer/transfer.component.mjs +128 -128
  116. package/esm2020/transfer/transfer.module.mjs +52 -54
  117. package/esm2020/transfer/transfer.type.mjs +87 -87
  118. package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +4 -4
  119. package/esm2020/tree-select/public_api.mjs +3 -3
  120. package/esm2020/tree-select/tree-select.module.mjs +51 -53
  121. package/esm2020/tree-select/tree-select.type.mjs +98 -98
  122. package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +4 -4
  123. package/esm2020/upload/public_api.mjs +3 -3
  124. package/esm2020/upload/upload.component.mjs +174 -174
  125. package/esm2020/upload/upload.module.mjs +60 -62
  126. package/esm2020/upload/upload.type.mjs +119 -119
  127. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
  128. package/fesm2015/ngx-formly-zorro-antd-button.mjs +156 -158
  129. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
  130. package/fesm2015/ngx-formly-zorro-antd-card.mjs +77 -79
  131. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
  132. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +148 -150
  133. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  134. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +113 -115
  135. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  136. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +227 -227
  137. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  138. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +159 -161
  139. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  140. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +99 -101
  141. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  142. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +105 -107
  143. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  144. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +172 -174
  145. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  146. package/fesm2015/ngx-formly-zorro-antd-input.mjs +382 -338
  147. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
  148. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +137 -139
  149. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  150. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +99 -101
  151. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  152. package/fesm2015/ngx-formly-zorro-antd-select.mjs +202 -204
  153. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
  154. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +103 -105
  155. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  156. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +89 -91
  157. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  158. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +140 -142
  159. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  160. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +124 -126
  161. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  162. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +128 -130
  163. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  164. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +243 -245
  165. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  166. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +134 -136
  167. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  168. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +328 -330
  169. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  170. package/fesm2015/ngx-formly-zorro-antd.mjs +74 -76
  171. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
  172. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
  173. package/fesm2020/ngx-formly-zorro-antd-button.mjs +156 -158
  174. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
  175. package/fesm2020/ngx-formly-zorro-antd-card.mjs +77 -79
  176. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
  177. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +148 -150
  178. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  179. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +113 -115
  180. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  181. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +227 -227
  182. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  183. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +159 -161
  184. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  185. package/fesm2020/ngx-formly-zorro-antd-grid.mjs +99 -101
  186. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  187. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +105 -107
  188. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  189. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +172 -174
  190. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  191. package/fesm2020/ngx-formly-zorro-antd-input.mjs +382 -338
  192. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
  193. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +137 -139
  194. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  195. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +99 -101
  196. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  197. package/fesm2020/ngx-formly-zorro-antd-select.mjs +202 -204
  198. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
  199. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +103 -105
  200. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  201. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +89 -91
  202. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  203. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +140 -142
  204. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  205. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +124 -126
  206. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  207. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +128 -130
  208. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  209. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +243 -245
  210. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  211. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +134 -136
  212. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  213. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +327 -329
  214. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  215. package/fesm2020/ngx-formly-zorro-antd.mjs +74 -76
  216. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
  217. package/form-field/form-field.module.d.ts +11 -11
  218. package/form-field/form-field.props.d.ts +105 -105
  219. package/form-field/form-field.wrapper.d.ts +9 -9
  220. package/form-field/{ngx-formly-zorro-antd-form-field.d.ts → index.d.ts} +5 -5
  221. package/form-field/public_api.d.ts +3 -3
  222. package/grid/grid.module.d.ts +10 -10
  223. package/grid/grid.props.d.ts +44 -44
  224. package/grid/grid.type.d.ts +11 -11
  225. package/grid/{ngx-formly-zorro-antd-grid.d.ts → index.d.ts} +5 -5
  226. package/grid/public_api.d.ts +3 -3
  227. package/index.d.ts +1 -1
  228. package/input/{ngx-formly-zorro-antd-input.d.ts → index.d.ts} +5 -5
  229. package/input/input.module.d.ts +14 -14
  230. package/input/input.props.d.ts +36 -33
  231. package/input/input.type.d.ts +26 -26
  232. package/input/public_api.d.ts +2 -2
  233. package/input-group/{ngx-formly-zorro-antd-input-group.d.ts → index.d.ts} +5 -5
  234. package/input-group/input-group.module.d.ts +11 -11
  235. package/input-group/input-group.props.d.ts +56 -56
  236. package/input-group/input-group.type.d.ts +22 -22
  237. package/input-group/public_api.d.ts +3 -3
  238. package/input-number/{ngx-formly-zorro-antd-input-number.d.ts → index.d.ts} +5 -5
  239. package/input-number/input-number.module.d.ts +12 -12
  240. package/input-number/input-number.props.d.ts +81 -78
  241. package/input-number/input-number.type.d.ts +24 -24
  242. package/input-number/public_api.d.ts +2 -2
  243. package/lib/ui-ng-zorro-antd.d.ts +1 -1
  244. package/lib/ui-ng-zorro-antd.module.d.ts +27 -27
  245. package/package.json +34 -30
  246. package/radio/{ngx-formly-zorro-antd-radio.d.ts → index.d.ts} +5 -5
  247. package/radio/public_api.d.ts +2 -2
  248. package/radio/radio.module.d.ts +14 -14
  249. package/radio/radio.type.d.ts +38 -38
  250. package/rate/{ngx-formly-zorro-antd-rate.d.ts → index.d.ts} +5 -5
  251. package/rate/public_api.d.ts +2 -2
  252. package/rate/rate.module.d.ts +12 -12
  253. package/rate/rate.type.d.ts +57 -57
  254. package/select/{ngx-formly-zorro-antd-select.d.ts → index.d.ts} +5 -5
  255. package/select/public_api.d.ts +2 -2
  256. package/select/select.module.d.ts +13 -13
  257. package/select/select.props.d.ts +162 -162
  258. package/select/select.type.d.ts +35 -35
  259. package/slider/{ngx-formly-zorro-antd-slider.d.ts → index.d.ts} +5 -5
  260. package/slider/public_api.d.ts +2 -2
  261. package/slider/slider.module.d.ts +12 -12
  262. package/slider/slider.type.d.ts +76 -76
  263. package/switch/{ngx-formly-zorro-antd-switch.d.ts → index.d.ts} +5 -5
  264. package/switch/public_api.d.ts +2 -2
  265. package/switch/switch.module.d.ts +12 -12
  266. package/switch/switch.type.d.ts +44 -44
  267. package/tabs/{ngx-formly-zorro-antd-tabs.d.ts → index.d.ts} +5 -5
  268. package/tabs/public_api.d.ts +2 -2
  269. package/tabs/tabs.module.d.ts +10 -10
  270. package/tabs/tabs.props.d.ts +126 -126
  271. package/tabs/tabs.wrapper.d.ts +28 -28
  272. package/textarea/{ngx-formly-zorro-antd-textarea.d.ts → index.d.ts} +5 -5
  273. package/textarea/public_api.d.ts +2 -2
  274. package/textarea/textarea.module.d.ts +12 -12
  275. package/textarea/textarea.type.d.ts +38 -38
  276. package/timepicker/{ngx-formly-zorro-antd-timepicker.d.ts → index.d.ts} +5 -5
  277. package/timepicker/public_api.d.ts +2 -2
  278. package/timepicker/timepicker.module.d.ts +12 -12
  279. package/timepicker/timepicker.type.d.ts +131 -131
  280. package/transfer/{ngx-formly-zorro-antd-transfer.d.ts → index.d.ts} +5 -5
  281. package/transfer/public_api.d.ts +2 -2
  282. package/transfer/transfer.component.d.ts +26 -26
  283. package/transfer/transfer.module.d.ts +13 -13
  284. package/transfer/transfer.type.d.ts +118 -118
  285. package/tree-select/{ngx-formly-zorro-antd-tree-select.d.ts → index.d.ts} +5 -5
  286. package/tree-select/public_api.d.ts +2 -2
  287. package/tree-select/tree-select.module.d.ts +12 -12
  288. package/tree-select/tree-select.type.d.ts +158 -158
  289. package/upload/{ngx-formly-zorro-antd-upload.d.ts → index.d.ts} +5 -5
  290. package/upload/public_api.d.ts +2 -2
  291. package/upload/upload.component.d.ts +27 -27
  292. package/upload/upload.module.d.ts +15 -15
  293. package/upload/upload.type.d.ts +173 -173
  294. package/autocomplete/package.json +0 -10
  295. package/button/package.json +0 -10
  296. package/card/package.json +0 -10
  297. package/cascader/package.json +0 -10
  298. package/checkbox/package.json +0 -10
  299. package/datepicker/package.json +0 -10
  300. package/form-field/package.json +0 -10
  301. package/grid/package.json +0 -10
  302. package/input/package.json +0 -10
  303. package/input-group/package.json +0 -10
  304. package/input-number/package.json +0 -10
  305. package/ngx-formly-zorro-antd.d.ts +0 -5
  306. package/radio/package.json +0 -10
  307. package/rate/package.json +0 -10
  308. package/select/package.json +0 -10
  309. package/slider/package.json +0 -10
  310. package/switch/package.json +0 -10
  311. package/tabs/package.json +0 -10
  312. package/textarea/package.json +0 -10
  313. package/timepicker/package.json +0 -10
  314. package/transfer/package.json +0 -10
  315. package/tree-select/package.json +0 -10
  316. package/upload/package.json +0 -10
@@ -1,175 +1,173 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, NgModule } from '@angular/core';
3
- import * as i4 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i2 from '@ngx-formly/core';
5
+ import * as i4 from '@ngx-formly/core';
6
6
  import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
7
7
  import { ReactiveFormsModule } from '@angular/forms';
8
- import * as i1 from 'ng-zorro-antd/form';
8
+ import * as i3 from 'ng-zorro-antd/form';
9
9
  import { NzFormModule } from 'ng-zorro-antd/form';
10
- import * as i3 from 'ng-zorro-antd/grid';
10
+ import * as i2 from 'ng-zorro-antd/grid';
11
11
 
12
- class FormlyWrapperFormField extends FieldWrapper {
13
- get errorState() {
14
- return this.showError ? 'error' : 'success';
15
- }
16
- }
17
- FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
18
- FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
19
- <nz-form-item [ngClass]="props.itemClass!">
20
- <ng-container *ngIf="props.label && props['hideLabel'] !== true">
21
- <nz-form-label
22
- [nzFlex]="props['grid']?.labelFlex ?? null"
23
- [nzOffset]="props['grid']?.labelOffset ?? null"
24
- [nzOrder]="props['grid']?.labelOrder ?? null"
25
- [nzPull]="props['grid']?.labelPull ?? null"
26
- [nzPush]="props['grid']?.labelPush ?? null"
27
- [nzSpan]="props['grid']?.labelSpan ?? null"
28
- [nzXs]="props['grid']?.labelXs ?? null"
29
- [nzSm]="props['grid']?.labelSm ?? null"
30
- [nzMd]="props['grid']?.labelMd ?? null"
31
- [nzLg]="props['grid']?.labelLg ?? null"
32
- [nzXl]="props['grid']?.labelXl ?? null"
33
- [nzXXl]="props['grid']?.labelXXl ?? null"
34
- [ngClass]="props.labelClass!"
35
- [nzRequired]="props.required && props['hideRequiredMarker'] !== true"
36
- [nzFor]="id"
37
- [nzNoColon]="props['noColon']!!"
38
- [nzTooltipTitle]="props['tooltipTitle']"
39
- [nzTooltipIcon]="props['tooltipIcon']!"
40
- >
41
- <span class="formly-label-text">
42
- {{ props.label }}
43
- </span>
44
- </nz-form-label>
45
- </ng-container>
46
- <nz-form-control
47
- [nzValidateStatus]="errorState"
48
- [nzHasFeedback]="props['hasFeedback']!!"
49
- [nzExtra]="props['controlExtra']"
50
- [nzErrorTip]="errorTpl"
51
- [ngClass]="props.controlClass!"
52
- [nzFlex]="props['grid']?.controlFlex ?? null"
53
- [nzOffset]="props['grid']?.controlOffset ?? null"
54
- [nzOrder]="props['grid']?.controlOrder ?? null"
55
- [nzPull]="props['grid']?.controlPull ?? null"
56
- [nzPush]="props['grid']?.controlPush ?? null"
57
- [nzSpan]="props['grid']?.controlSpan ?? null"
58
- [nzXs]="props['grid']?.controlXs ?? null"
59
- [nzSm]="props['grid']?.controlSm ?? null"
60
- [nzMd]="props['grid']?.controlMd ?? null"
61
- [nzLg]="props['grid']?.controlLg ?? null"
62
- [nzXl]="props['grid']?.controlXl ?? null"
63
- [nzXXl]="props['grid']?.controlXXl ?? null"
64
- >
65
- <ng-container #fieldComponent></ng-container>
66
-
67
- <ng-template #errorTpl let-control>
68
- <formly-validation-message [field]="field"></formly-validation-message>
69
- </ng-template>
70
- </nz-form-control>
71
- </nz-form-item>
72
- `, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"], components: [{ type: i1.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon"], exportAs: ["nzFormLabel"] }, { type: i1.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { type: i2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.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"] }] });
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
74
- type: Component,
75
- args: [{ selector: 'formly-wrapper-nz-form-field', template: `
76
- <nz-form-item [ngClass]="props.itemClass!">
77
- <ng-container *ngIf="props.label && props['hideLabel'] !== true">
78
- <nz-form-label
79
- [nzFlex]="props['grid']?.labelFlex ?? null"
80
- [nzOffset]="props['grid']?.labelOffset ?? null"
81
- [nzOrder]="props['grid']?.labelOrder ?? null"
82
- [nzPull]="props['grid']?.labelPull ?? null"
83
- [nzPush]="props['grid']?.labelPush ?? null"
84
- [nzSpan]="props['grid']?.labelSpan ?? null"
85
- [nzXs]="props['grid']?.labelXs ?? null"
86
- [nzSm]="props['grid']?.labelSm ?? null"
87
- [nzMd]="props['grid']?.labelMd ?? null"
88
- [nzLg]="props['grid']?.labelLg ?? null"
89
- [nzXl]="props['grid']?.labelXl ?? null"
90
- [nzXXl]="props['grid']?.labelXXl ?? null"
91
- [ngClass]="props.labelClass!"
92
- [nzRequired]="props.required && props['hideRequiredMarker'] !== true"
93
- [nzFor]="id"
94
- [nzNoColon]="props['noColon']!!"
95
- [nzTooltipTitle]="props['tooltipTitle']"
96
- [nzTooltipIcon]="props['tooltipIcon']!"
97
- >
98
- <span class="formly-label-text">
99
- {{ props.label }}
100
- </span>
101
- </nz-form-label>
102
- </ng-container>
103
- <nz-form-control
104
- [nzValidateStatus]="errorState"
105
- [nzHasFeedback]="props['hasFeedback']!!"
106
- [nzExtra]="props['controlExtra']"
107
- [nzErrorTip]="errorTpl"
108
- [ngClass]="props.controlClass!"
109
- [nzFlex]="props['grid']?.controlFlex ?? null"
110
- [nzOffset]="props['grid']?.controlOffset ?? null"
111
- [nzOrder]="props['grid']?.controlOrder ?? null"
112
- [nzPull]="props['grid']?.controlPull ?? null"
113
- [nzPush]="props['grid']?.controlPush ?? null"
114
- [nzSpan]="props['grid']?.controlSpan ?? null"
115
- [nzXs]="props['grid']?.controlXs ?? null"
116
- [nzSm]="props['grid']?.controlSm ?? null"
117
- [nzMd]="props['grid']?.controlMd ?? null"
118
- [nzLg]="props['grid']?.controlLg ?? null"
119
- [nzXl]="props['grid']?.controlXl ?? null"
120
- [nzXXl]="props['grid']?.controlXXl ?? null"
121
- >
122
- <ng-container #fieldComponent></ng-container>
123
-
124
- <ng-template #errorTpl let-control>
125
- <formly-validation-message [field]="field"></formly-validation-message>
126
- </ng-template>
127
- </nz-form-control>
128
- </nz-form-item>
129
- `, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"] }]
12
+ class FormlyWrapperFormField extends FieldWrapper {
13
+ get errorState() {
14
+ return this.showError ? 'error' : 'success';
15
+ }
16
+ }
17
+ FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
18
+ FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
19
+ <nz-form-item [ngClass]="props.itemClass!">
20
+ <ng-container *ngIf="props.label && props['hideLabel'] !== true">
21
+ <nz-form-label
22
+ [nzFlex]="props['grid']?.labelFlex ?? null"
23
+ [nzOffset]="props['grid']?.labelOffset ?? null"
24
+ [nzOrder]="props['grid']?.labelOrder ?? null"
25
+ [nzPull]="props['grid']?.labelPull ?? null"
26
+ [nzPush]="props['grid']?.labelPush ?? null"
27
+ [nzSpan]="props['grid']?.labelSpan ?? null"
28
+ [nzXs]="props['grid']?.labelXs ?? null"
29
+ [nzSm]="props['grid']?.labelSm ?? null"
30
+ [nzMd]="props['grid']?.labelMd ?? null"
31
+ [nzLg]="props['grid']?.labelLg ?? null"
32
+ [nzXl]="props['grid']?.labelXl ?? null"
33
+ [nzXXl]="props['grid']?.labelXXl ?? null"
34
+ [ngClass]="props.labelClass!"
35
+ [nzRequired]="props.required && props['hideRequiredMarker'] !== true"
36
+ [nzFor]="id"
37
+ [nzNoColon]="props['noColon']!!"
38
+ [nzTooltipTitle]="props['tooltipTitle']"
39
+ [nzTooltipIcon]="props['tooltipIcon']!"
40
+ >
41
+ <span class="formly-label-text">
42
+ {{ props.label }}
43
+ </span>
44
+ </nz-form-label>
45
+ </ng-container>
46
+ <nz-form-control
47
+ [nzValidateStatus]="errorState"
48
+ [nzHasFeedback]="props['hasFeedback']!!"
49
+ [nzExtra]="props['controlExtra']"
50
+ [nzErrorTip]="errorTpl"
51
+ [ngClass]="props.controlClass!"
52
+ [nzFlex]="props['grid']?.controlFlex ?? null"
53
+ [nzOffset]="props['grid']?.controlOffset ?? null"
54
+ [nzOrder]="props['grid']?.controlOrder ?? null"
55
+ [nzPull]="props['grid']?.controlPull ?? null"
56
+ [nzPush]="props['grid']?.controlPush ?? null"
57
+ [nzSpan]="props['grid']?.controlSpan ?? null"
58
+ [nzXs]="props['grid']?.controlXs ?? null"
59
+ [nzSm]="props['grid']?.controlSm ?? null"
60
+ [nzMd]="props['grid']?.controlMd ?? null"
61
+ [nzLg]="props['grid']?.controlLg ?? null"
62
+ [nzXl]="props['grid']?.controlXl ?? null"
63
+ [nzXXl]="props['grid']?.controlXXl ?? null"
64
+ >
65
+ <ng-container #fieldComponent></ng-container>
66
+
67
+ <ng-template #errorTpl let-control>
68
+ <formly-validation-message [field]="field"></formly-validation-message>
69
+ </ng-template>
70
+ </nz-form-control>
71
+ </nz-form-item>
72
+ `, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: i4.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
74
+ type: Component,
75
+ args: [{ selector: 'formly-wrapper-nz-form-field', template: `
76
+ <nz-form-item [ngClass]="props.itemClass!">
77
+ <ng-container *ngIf="props.label && props['hideLabel'] !== true">
78
+ <nz-form-label
79
+ [nzFlex]="props['grid']?.labelFlex ?? null"
80
+ [nzOffset]="props['grid']?.labelOffset ?? null"
81
+ [nzOrder]="props['grid']?.labelOrder ?? null"
82
+ [nzPull]="props['grid']?.labelPull ?? null"
83
+ [nzPush]="props['grid']?.labelPush ?? null"
84
+ [nzSpan]="props['grid']?.labelSpan ?? null"
85
+ [nzXs]="props['grid']?.labelXs ?? null"
86
+ [nzSm]="props['grid']?.labelSm ?? null"
87
+ [nzMd]="props['grid']?.labelMd ?? null"
88
+ [nzLg]="props['grid']?.labelLg ?? null"
89
+ [nzXl]="props['grid']?.labelXl ?? null"
90
+ [nzXXl]="props['grid']?.labelXXl ?? null"
91
+ [ngClass]="props.labelClass!"
92
+ [nzRequired]="props.required && props['hideRequiredMarker'] !== true"
93
+ [nzFor]="id"
94
+ [nzNoColon]="props['noColon']!!"
95
+ [nzTooltipTitle]="props['tooltipTitle']"
96
+ [nzTooltipIcon]="props['tooltipIcon']!"
97
+ >
98
+ <span class="formly-label-text">
99
+ {{ props.label }}
100
+ </span>
101
+ </nz-form-label>
102
+ </ng-container>
103
+ <nz-form-control
104
+ [nzValidateStatus]="errorState"
105
+ [nzHasFeedback]="props['hasFeedback']!!"
106
+ [nzExtra]="props['controlExtra']"
107
+ [nzErrorTip]="errorTpl"
108
+ [ngClass]="props.controlClass!"
109
+ [nzFlex]="props['grid']?.controlFlex ?? null"
110
+ [nzOffset]="props['grid']?.controlOffset ?? null"
111
+ [nzOrder]="props['grid']?.controlOrder ?? null"
112
+ [nzPull]="props['grid']?.controlPull ?? null"
113
+ [nzPush]="props['grid']?.controlPush ?? null"
114
+ [nzSpan]="props['grid']?.controlSpan ?? null"
115
+ [nzXs]="props['grid']?.controlXs ?? null"
116
+ [nzSm]="props['grid']?.controlSm ?? null"
117
+ [nzMd]="props['grid']?.controlMd ?? null"
118
+ [nzLg]="props['grid']?.controlLg ?? null"
119
+ [nzXl]="props['grid']?.controlXl ?? null"
120
+ [nzXXl]="props['grid']?.controlXXl ?? null"
121
+ >
122
+ <ng-container #fieldComponent></ng-container>
123
+
124
+ <ng-template #errorTpl let-control>
125
+ <formly-validation-message [field]="field"></formly-validation-message>
126
+ </ng-template>
127
+ </nz-form-control>
128
+ </nz-form-item>
129
+ `, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"] }]
130
130
  }] });
131
131
 
132
- class FormlyNzFormFieldModule {
133
- }
134
- FormlyNzFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
135
- FormlyNzFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
136
- ReactiveFormsModule,
137
- NzFormModule, i2.FormlyModule] });
138
- FormlyNzFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzFormFieldModule, imports: [[
139
- CommonModule,
140
- ReactiveFormsModule,
141
- NzFormModule,
142
- FormlyModule.forChild({
143
- wrappers: [
144
- {
145
- name: 'form-field',
146
- component: FormlyWrapperFormField
147
- }
148
- ]
149
- })
150
- ]] });
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzFormFieldModule, decorators: [{
152
- type: NgModule,
153
- args: [{
154
- declarations: [FormlyWrapperFormField],
155
- imports: [
156
- CommonModule,
157
- ReactiveFormsModule,
158
- NzFormModule,
159
- FormlyModule.forChild({
160
- wrappers: [
161
- {
162
- name: 'form-field',
163
- component: FormlyWrapperFormField
164
- }
165
- ]
166
- })
167
- ]
168
- }]
132
+ class FormlyNzFormFieldModule {
133
+ }
134
+ FormlyNzFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
135
+ FormlyNzFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
136
+ ReactiveFormsModule,
137
+ NzFormModule, i4.FormlyModule] });
138
+ FormlyNzFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, imports: [CommonModule,
139
+ ReactiveFormsModule,
140
+ NzFormModule,
141
+ FormlyModule.forChild({
142
+ wrappers: [
143
+ {
144
+ name: 'form-field',
145
+ component: FormlyWrapperFormField
146
+ }
147
+ ]
148
+ })] });
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, decorators: [{
150
+ type: NgModule,
151
+ args: [{
152
+ declarations: [FormlyWrapperFormField],
153
+ imports: [
154
+ CommonModule,
155
+ ReactiveFormsModule,
156
+ NzFormModule,
157
+ FormlyModule.forChild({
158
+ wrappers: [
159
+ {
160
+ name: 'form-field',
161
+ component: FormlyWrapperFormField
162
+ }
163
+ ]
164
+ })
165
+ ]
166
+ }]
169
167
  }] });
170
168
 
171
- /**
172
- * Generated bundle index. Do not edit.
169
+ /**
170
+ * Generated bundle index. Do not edit.
173
171
  */
174
172
 
175
173
  export { FormlyNzFormFieldModule };
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzFormWrapperProps } from './form-field.props';\r\n\r\nexport type FormlyFieldProps = NzFormWrapperProps;\r\n\r\n@Component({\r\n selector: 'formly-wrapper-nz-form-field',\r\n styleUrls: ['./form-field.wrapper.scss'],\r\n template: `\r\n <nz-form-item [ngClass]=\"props.itemClass!\">\r\n <ng-container *ngIf=\"props.label && props['hideLabel'] !== true\">\r\n <nz-form-label\r\n [nzFlex]=\"props['grid']?.labelFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.labelOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.labelOrder ?? null\"\r\n [nzPull]=\"props['grid']?.labelPull ?? null\"\r\n [nzPush]=\"props['grid']?.labelPush ?? null\"\r\n [nzSpan]=\"props['grid']?.labelSpan ?? null\"\r\n [nzXs]=\"props['grid']?.labelXs ?? null\"\r\n [nzSm]=\"props['grid']?.labelSm ?? null\"\r\n [nzMd]=\"props['grid']?.labelMd ?? null\"\r\n [nzLg]=\"props['grid']?.labelLg ?? null\"\r\n [nzXl]=\"props['grid']?.labelXl ?? null\"\r\n [nzXXl]=\"props['grid']?.labelXXl ?? null\"\r\n [ngClass]=\"props.labelClass!\"\r\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\r\n [nzFor]=\"id\"\r\n [nzNoColon]=\"props['noColon']!!\"\r\n [nzTooltipTitle]=\"props['tooltipTitle']\"\r\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\r\n >\r\n <span class=\"formly-label-text\">\r\n {{ props.label }}\r\n </span>\r\n </nz-form-label>\r\n </ng-container>\r\n <nz-form-control\r\n [nzValidateStatus]=\"errorState\"\r\n [nzHasFeedback]=\"props['hasFeedback']!!\"\r\n [nzExtra]=\"props['controlExtra']\"\r\n [nzErrorTip]=\"errorTpl\"\r\n [ngClass]=\"props.controlClass!\"\r\n [nzFlex]=\"props['grid']?.controlFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.controlOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.controlOrder ?? null\"\r\n [nzPull]=\"props['grid']?.controlPull ?? null\"\r\n [nzPush]=\"props['grid']?.controlPush ?? null\"\r\n [nzSpan]=\"props['grid']?.controlSpan ?? null\"\r\n [nzXs]=\"props['grid']?.controlXs ?? null\"\r\n [nzSm]=\"props['grid']?.controlSm ?? null\"\r\n [nzMd]=\"props['grid']?.controlMd ?? null\"\r\n [nzLg]=\"props['grid']?.controlLg ?? null\"\r\n [nzXl]=\"props['grid']?.controlXl ?? null\"\r\n [nzXXl]=\"props['grid']?.controlXXl ?? null\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n\r\n <ng-template #errorTpl let-control>\r\n <formly-validation-message [field]=\"field\"></formly-validation-message>\r\n </ng-template>\r\n </nz-form-control>\r\n </nz-form-item>\r\n `\r\n})\r\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {\r\n get errorState() {\r\n return this.showError ? 'error' : 'success';\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { FormlyWrapperFormField } from './form-field.wrapper';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperFormField],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzFormModule,\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'form-field',\r\n component: FormlyWrapperFormField\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFormFieldModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAiEM,MAAO,sBAAuB,SAAQ,YAAiD,CAAA;AAC3F,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;KAC7C;;oHAHU,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,EAxDvB,QAAA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,CAAC;AACpB,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,IAAI,EAAE,YAAY;AAClB,wBAAA,SAAS,EAAE,sBAAsB;AAClC,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAhBnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\nimport type { NzFormWrapperProps } from './form-field.props';\n\nexport type FormlyFieldProps = NzFormWrapperProps;\n\n@Component({\n selector: 'formly-wrapper-nz-form-field',\n styleUrls: ['./form-field.wrapper.scss'],\n template: `\n <nz-form-item [ngClass]=\"props.itemClass!\">\n <ng-container *ngIf=\"props.label && props['hideLabel'] !== true\">\n <nz-form-label\n [nzFlex]=\"props['grid']?.labelFlex ?? null\"\n [nzOffset]=\"props['grid']?.labelOffset ?? null\"\n [nzOrder]=\"props['grid']?.labelOrder ?? null\"\n [nzPull]=\"props['grid']?.labelPull ?? null\"\n [nzPush]=\"props['grid']?.labelPush ?? null\"\n [nzSpan]=\"props['grid']?.labelSpan ?? null\"\n [nzXs]=\"props['grid']?.labelXs ?? null\"\n [nzSm]=\"props['grid']?.labelSm ?? null\"\n [nzMd]=\"props['grid']?.labelMd ?? null\"\n [nzLg]=\"props['grid']?.labelLg ?? null\"\n [nzXl]=\"props['grid']?.labelXl ?? null\"\n [nzXXl]=\"props['grid']?.labelXXl ?? null\"\n [ngClass]=\"props.labelClass!\"\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\n [nzFor]=\"id\"\n [nzNoColon]=\"props['noColon']!!\"\n [nzTooltipTitle]=\"props['tooltipTitle']\"\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\n >\n <span class=\"formly-label-text\">\n {{ props.label }}\n </span>\n </nz-form-label>\n </ng-container>\n <nz-form-control\n [nzValidateStatus]=\"errorState\"\n [nzHasFeedback]=\"props['hasFeedback']!!\"\n [nzExtra]=\"props['controlExtra']\"\n [nzErrorTip]=\"errorTpl\"\n [ngClass]=\"props.controlClass!\"\n [nzFlex]=\"props['grid']?.controlFlex ?? null\"\n [nzOffset]=\"props['grid']?.controlOffset ?? null\"\n [nzOrder]=\"props['grid']?.controlOrder ?? null\"\n [nzPull]=\"props['grid']?.controlPull ?? null\"\n [nzPush]=\"props['grid']?.controlPush ?? null\"\n [nzSpan]=\"props['grid']?.controlSpan ?? null\"\n [nzXs]=\"props['grid']?.controlXs ?? null\"\n [nzSm]=\"props['grid']?.controlSm ?? null\"\n [nzMd]=\"props['grid']?.controlMd ?? null\"\n [nzLg]=\"props['grid']?.controlLg ?? null\"\n [nzXl]=\"props['grid']?.controlXl ?? null\"\n [nzXXl]=\"props['grid']?.controlXXl ?? null\"\n >\n <ng-container #fieldComponent></ng-container>\n\n <ng-template #errorTpl let-control>\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n `\n})\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {\n get errorState() {\n return this.showError ? 'error' : 'success';\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\n\n@NgModule({\n declarations: [FormlyWrapperFormField],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzFormModule,\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField\n }\n ]\n })\n ]\n})\nexport class FormlyNzFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAiEM,MAAO,sBAAuB,SAAQ,YAAiD,CAAA;AAC3F,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;KAC7C;;mHAHU,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAxDvB,QAAA,EAAA,8BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,oEAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,S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YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
@@ -1,115 +1,113 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i3 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i1 from '@ngx-formly/core';
5
+ import * as i3 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
7
  import * as i2 from 'ng-zorro-antd/grid';
8
8
  import { NzGridModule } from 'ng-zorro-antd/grid';
9
9
 
10
- class FormlyFieldGrid extends FieldType {
11
- }
12
- FormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });
13
- FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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, components: [{ type: i1.FormlyField, selector: "formly-field", inputs: ["field"] }], directives: [{ type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", 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
- }]
10
+ class FormlyFieldGrid extends FieldType {
11
+ }
12
+ FormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });
13
+ FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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: "14.2.1", 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
73
  }] });
74
74
 
75
- class FormlyNzGridModule {
76
- }
77
- FormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
- FormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,
79
- NzGridModule, i1.FormlyModule] });
80
- FormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, imports: [[
81
- CommonModule,
82
- NzGridModule,
83
- FormlyModule.forChild({
84
- types: [
85
- {
86
- name: 'grid',
87
- component: FormlyFieldGrid
88
- }
89
- ]
90
- })
91
- ]] });
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, decorators: [{
93
- type: NgModule,
94
- args: [{
95
- declarations: [FormlyFieldGrid],
96
- imports: [
97
- CommonModule,
98
- NzGridModule,
99
- FormlyModule.forChild({
100
- types: [
101
- {
102
- name: 'grid',
103
- component: FormlyFieldGrid
104
- }
105
- ]
106
- })
107
- ]
108
- }]
75
+ class FormlyNzGridModule {
76
+ }
77
+ FormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
+ FormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,
79
+ NzGridModule, i3.FormlyModule] });
80
+ FormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", 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: "14.2.1", 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
+ }]
109
107
  }] });
110
108
 
111
- /**
112
- * Generated bundle index. Do not edit.
109
+ /**
110
+ * Generated bundle index. Do not edit.
113
111
  */
114
112
 
115
113
  export { FormlyFieldGrid, FormlyNzGridModule };