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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (303) hide show
  1. package/README.md +7 -0
  2. package/autocomplete/autocomplete.props.d.ts +39 -0
  3. package/autocomplete/ngx-formly-zorro-antd-autocomplete.d.ts +5 -0
  4. package/autocomplete/package.json +10 -0
  5. package/autocomplete/public_api.d.ts +1 -0
  6. package/button/button.module.d.ts +11 -0
  7. package/button/button.type.d.ts +65 -0
  8. package/button/ngx-formly-zorro-antd-button.d.ts +5 -0
  9. package/button/package.json +10 -0
  10. package/button/public_api.d.ts +2 -0
  11. package/card/card.module.d.ts +10 -0
  12. package/card/card.wrapper.d.ts +58 -0
  13. package/card/ngx-formly-zorro-antd-card.d.ts +5 -0
  14. package/card/package.json +10 -0
  15. package/card/public_api.d.ts +2 -0
  16. package/cascader/cascader.module.d.ts +12 -0
  17. package/cascader/cascader.type.d.ts +152 -0
  18. package/cascader/ngx-formly-zorro-antd-cascader.d.ts +5 -0
  19. package/cascader/package.json +10 -0
  20. package/cascader/public_api.d.ts +2 -0
  21. package/checkbox/checkbox.module.d.ts +12 -0
  22. package/checkbox/checkbox.type.d.ts +35 -0
  23. package/checkbox/ngx-formly-zorro-antd-checkbox.d.ts +5 -0
  24. package/checkbox/package.json +10 -0
  25. package/checkbox/public_api.d.ts +2 -0
  26. package/datepicker/datepicker.module.d.ts +12 -0
  27. package/datepicker/datepicker.props.d.ts +146 -0
  28. package/datepicker/datepicker.type.d.ts +31 -0
  29. package/datepicker/ngx-formly-zorro-antd-datepicker.d.ts +5 -0
  30. package/datepicker/package.json +10 -0
  31. package/datepicker/public_api.d.ts +2 -0
  32. package/esm2020/autocomplete/autocomplete.props.mjs +2 -0
  33. package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +5 -0
  34. package/esm2020/autocomplete/public_api.mjs +2 -0
  35. package/esm2020/button/button.module.mjs +63 -0
  36. package/esm2020/button/button.type.mjs +70 -0
  37. package/esm2020/button/ngx-formly-zorro-antd-button.mjs +5 -0
  38. package/esm2020/button/public_api.mjs +3 -0
  39. package/esm2020/card/card.module.mjs +45 -0
  40. package/esm2020/card/card.wrapper.mjs +47 -0
  41. package/esm2020/card/ngx-formly-zorro-antd-card.mjs +5 -0
  42. package/esm2020/card/public_api.mjs +3 -0
  43. package/esm2020/cascader/cascader.module.mjs +53 -0
  44. package/esm2020/cascader/cascader.type.mjs +112 -0
  45. package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +5 -0
  46. package/esm2020/cascader/public_api.mjs +3 -0
  47. package/esm2020/checkbox/checkbox.module.mjs +61 -0
  48. package/esm2020/checkbox/checkbox.type.mjs +69 -0
  49. package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +5 -0
  50. package/esm2020/checkbox/public_api.mjs +3 -0
  51. package/esm2020/datepicker/datepicker.module.mjs +53 -0
  52. package/esm2020/datepicker/datepicker.props.mjs +2 -0
  53. package/esm2020/datepicker/datepicker.type.mjs +189 -0
  54. package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +5 -0
  55. package/esm2020/datepicker/public_api.mjs +3 -0
  56. package/esm2020/form-field/form-field.module.mjs +47 -0
  57. package/esm2020/form-field/form-field.props.mjs +2 -0
  58. package/esm2020/form-field/form-field.wrapper.mjs +117 -0
  59. package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +5 -0
  60. package/esm2020/form-field/public_api.mjs +2 -0
  61. package/esm2020/index.mjs +2 -0
  62. package/esm2020/input/input.module.mjs +91 -0
  63. package/esm2020/input/input.props.mjs +2 -0
  64. package/esm2020/input/input.type.mjs +259 -0
  65. package/esm2020/input/ngx-formly-zorro-antd-input.mjs +5 -0
  66. package/esm2020/input/public_api.mjs +3 -0
  67. package/esm2020/input-group/input-group.module.mjs +43 -0
  68. package/esm2020/input-group/input-group.props.mjs +2 -0
  69. package/esm2020/input-group/input-group.type.mjs +71 -0
  70. package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +5 -0
  71. package/esm2020/input-group/public_api.mjs +3 -0
  72. package/esm2020/input-number/input-number.module.mjs +61 -0
  73. package/esm2020/input-number/input-number.props.mjs +2 -0
  74. package/esm2020/input-number/input-number.type.mjs +128 -0
  75. package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +5 -0
  76. package/esm2020/input-number/public_api.mjs +3 -0
  77. package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -0
  78. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +95 -0
  79. package/esm2020/ngx-formly-zorro-antd.mjs +5 -0
  80. package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +5 -0
  81. package/esm2020/radio/public_api.mjs +3 -0
  82. package/esm2020/radio/radio.module.mjs +61 -0
  83. package/esm2020/radio/radio.type.mjs +96 -0
  84. package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +5 -0
  85. package/esm2020/rate/public_api.mjs +3 -0
  86. package/esm2020/rate/rate.module.mjs +53 -0
  87. package/esm2020/rate/rate.type.mjs +63 -0
  88. package/esm2020/select/ngx-formly-zorro-antd-select.mjs +5 -0
  89. package/esm2020/select/public_api.mjs +3 -0
  90. package/esm2020/select/select.module.mjs +59 -0
  91. package/esm2020/select/select.props.mjs +2 -0
  92. package/esm2020/select/select.type.mjs +163 -0
  93. package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +5 -0
  94. package/esm2020/slider/public_api.mjs +3 -0
  95. package/esm2020/slider/slider.module.mjs +53 -0
  96. package/esm2020/slider/slider.type.mjs +67 -0
  97. package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +5 -0
  98. package/esm2020/switch/public_api.mjs +3 -0
  99. package/esm2020/switch/switch.module.mjs +53 -0
  100. package/esm2020/switch/switch.type.mjs +53 -0
  101. package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +5 -0
  102. package/esm2020/tabs/public_api.mjs +3 -0
  103. package/esm2020/tabs/tabs.module.mjs +43 -0
  104. package/esm2020/tabs/tabs.props.mjs +2 -0
  105. package/esm2020/tabs/tabs.wrapper.mjs +111 -0
  106. package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +5 -0
  107. package/esm2020/textarea/public_api.mjs +3 -0
  108. package/esm2020/textarea/textarea.module.mjs +53 -0
  109. package/esm2020/textarea/textarea.type.mjs +88 -0
  110. package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +5 -0
  111. package/esm2020/timepicker/public_api.mjs +3 -0
  112. package/esm2020/timepicker/timepicker.module.mjs +53 -0
  113. package/esm2020/timepicker/timepicker.type.mjs +92 -0
  114. package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +5 -0
  115. package/esm2020/transfer/public_api.mjs +3 -0
  116. package/esm2020/transfer/transfer.component.mjs +128 -0
  117. package/esm2020/transfer/transfer.module.mjs +54 -0
  118. package/esm2020/transfer/transfer.type.mjs +87 -0
  119. package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +5 -0
  120. package/esm2020/tree-select/public_api.mjs +3 -0
  121. package/esm2020/tree-select/tree-select.module.mjs +53 -0
  122. package/esm2020/tree-select/tree-select.type.mjs +98 -0
  123. package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +5 -0
  124. package/esm2020/upload/public_api.mjs +3 -0
  125. package/esm2020/upload/upload.component.mjs +174 -0
  126. package/esm2020/upload/upload.module.mjs +62 -0
  127. package/esm2020/upload/upload.type.mjs +119 -0
  128. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
  129. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
  130. package/fesm2015/ngx-formly-zorro-antd-button.mjs +135 -0
  131. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -0
  132. package/fesm2015/ngx-formly-zorro-antd-card.mjs +95 -0
  133. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -0
  134. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +167 -0
  135. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
  136. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +132 -0
  137. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
  138. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +244 -0
  139. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
  140. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +166 -0
  141. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
  142. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +116 -0
  143. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
  144. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +191 -0
  145. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
  146. package/fesm2015/ngx-formly-zorro-antd-input.mjs +352 -0
  147. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -0
  148. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +159 -0
  149. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -0
  150. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +118 -0
  151. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -0
  152. package/fesm2015/ngx-formly-zorro-antd-select.mjs +223 -0
  153. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -0
  154. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +122 -0
  155. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -0
  156. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +108 -0
  157. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -0
  158. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +156 -0
  159. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
  160. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +143 -0
  161. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
  162. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +147 -0
  163. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
  164. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +264 -0
  165. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
  166. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +153 -0
  167. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
  168. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +351 -0
  169. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -0
  170. package/fesm2015/ngx-formly-zorro-antd.mjs +102 -0
  171. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -0
  172. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
  173. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
  174. package/fesm2020/ngx-formly-zorro-antd-button.mjs +135 -0
  175. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -0
  176. package/fesm2020/ngx-formly-zorro-antd-card.mjs +95 -0
  177. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -0
  178. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +167 -0
  179. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
  180. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +132 -0
  181. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
  182. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +244 -0
  183. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
  184. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +166 -0
  185. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
  186. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +116 -0
  187. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
  188. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +191 -0
  189. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
  190. package/fesm2020/ngx-formly-zorro-antd-input.mjs +352 -0
  191. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -0
  192. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +159 -0
  193. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -0
  194. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +118 -0
  195. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -0
  196. package/fesm2020/ngx-formly-zorro-antd-select.mjs +223 -0
  197. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -0
  198. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +122 -0
  199. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -0
  200. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +108 -0
  201. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -0
  202. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +156 -0
  203. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
  204. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +143 -0
  205. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
  206. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +147 -0
  207. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
  208. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +264 -0
  209. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
  210. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +153 -0
  211. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
  212. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +350 -0
  213. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -0
  214. package/fesm2020/ngx-formly-zorro-antd.mjs +102 -0
  215. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -0
  216. package/form-field/form-field.module.d.ts +11 -0
  217. package/form-field/form-field.props.d.ts +77 -0
  218. package/form-field/form-field.wrapper.d.ts +9 -0
  219. package/form-field/ngx-formly-zorro-antd-form-field.d.ts +5 -0
  220. package/form-field/package.json +10 -0
  221. package/form-field/public_api.d.ts +3 -0
  222. package/index.d.ts +1 -0
  223. package/input/input.module.d.ts +14 -0
  224. package/input/input.props.d.ts +66 -0
  225. package/input/input.type.d.ts +26 -0
  226. package/input/ngx-formly-zorro-antd-input.d.ts +5 -0
  227. package/input/package.json +10 -0
  228. package/input/public_api.d.ts +2 -0
  229. package/input-group/input-group.module.d.ts +10 -0
  230. package/input-group/input-group.props.d.ts +56 -0
  231. package/input-group/input-group.type.d.ts +22 -0
  232. package/input-group/ngx-formly-zorro-antd-input-group.d.ts +5 -0
  233. package/input-group/package.json +10 -0
  234. package/input-group/public_api.d.ts +3 -0
  235. package/input-number/input-number.module.d.ts +12 -0
  236. package/input-number/input-number.props.d.ts +78 -0
  237. package/input-number/input-number.type.d.ts +24 -0
  238. package/input-number/ngx-formly-zorro-antd-input-number.d.ts +5 -0
  239. package/input-number/package.json +10 -0
  240. package/input-number/public_api.d.ts +2 -0
  241. package/lib/ui-ng-zorro-antd.d.ts +1 -0
  242. package/lib/ui-ng-zorro-antd.module.d.ts +26 -0
  243. package/ngx-formly-zorro-antd.d.ts +5 -0
  244. package/package.json +204 -0
  245. package/radio/ngx-formly-zorro-antd-radio.d.ts +5 -0
  246. package/radio/package.json +10 -0
  247. package/radio/public_api.d.ts +2 -0
  248. package/radio/radio.module.d.ts +14 -0
  249. package/radio/radio.type.d.ts +38 -0
  250. package/rate/ngx-formly-zorro-antd-rate.d.ts +5 -0
  251. package/rate/package.json +10 -0
  252. package/rate/public_api.d.ts +2 -0
  253. package/rate/rate.module.d.ts +12 -0
  254. package/rate/rate.type.d.ts +57 -0
  255. package/select/ngx-formly-zorro-antd-select.d.ts +5 -0
  256. package/select/package.json +10 -0
  257. package/select/public_api.d.ts +2 -0
  258. package/select/select.module.d.ts +13 -0
  259. package/select/select.props.d.ts +162 -0
  260. package/select/select.type.d.ts +35 -0
  261. package/slider/ngx-formly-zorro-antd-slider.d.ts +5 -0
  262. package/slider/package.json +10 -0
  263. package/slider/public_api.d.ts +2 -0
  264. package/slider/slider.module.d.ts +12 -0
  265. package/slider/slider.type.d.ts +76 -0
  266. package/switch/ngx-formly-zorro-antd-switch.d.ts +5 -0
  267. package/switch/package.json +10 -0
  268. package/switch/public_api.d.ts +2 -0
  269. package/switch/switch.module.d.ts +12 -0
  270. package/switch/switch.type.d.ts +44 -0
  271. package/tabs/ngx-formly-zorro-antd-tabs.d.ts +5 -0
  272. package/tabs/package.json +10 -0
  273. package/tabs/public_api.d.ts +2 -0
  274. package/tabs/tabs.module.d.ts +10 -0
  275. package/tabs/tabs.props.d.ts +127 -0
  276. package/tabs/tabs.wrapper.d.ts +28 -0
  277. package/textarea/ngx-formly-zorro-antd-textarea.d.ts +5 -0
  278. package/textarea/package.json +10 -0
  279. package/textarea/public_api.d.ts +2 -0
  280. package/textarea/textarea.module.d.ts +12 -0
  281. package/textarea/textarea.type.d.ts +38 -0
  282. package/timepicker/ngx-formly-zorro-antd-timepicker.d.ts +5 -0
  283. package/timepicker/package.json +10 -0
  284. package/timepicker/public_api.d.ts +2 -0
  285. package/timepicker/timepicker.module.d.ts +12 -0
  286. package/timepicker/timepicker.type.d.ts +131 -0
  287. package/transfer/ngx-formly-zorro-antd-transfer.d.ts +5 -0
  288. package/transfer/package.json +10 -0
  289. package/transfer/public_api.d.ts +2 -0
  290. package/transfer/transfer.component.d.ts +26 -0
  291. package/transfer/transfer.module.d.ts +13 -0
  292. package/transfer/transfer.type.d.ts +118 -0
  293. package/tree-select/ngx-formly-zorro-antd-tree-select.d.ts +5 -0
  294. package/tree-select/package.json +10 -0
  295. package/tree-select/public_api.d.ts +2 -0
  296. package/tree-select/tree-select.module.d.ts +12 -0
  297. package/tree-select/tree-select.type.d.ts +158 -0
  298. package/upload/ngx-formly-zorro-antd-upload.d.ts +5 -0
  299. package/upload/package.json +10 -0
  300. package/upload/public_api.d.ts +2 -0
  301. package/upload/upload.component.d.ts +27 -0
  302. package/upload/upload.module.d.ts +15 -0
  303. package/upload/upload.type.d.ts +173 -0
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # formlyantd
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test formlyantd` to execute the unit tests.
@@ -0,0 +1,39 @@
1
+ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
2
+ import type { CompareWith } from 'ng-zorro-antd/core/types';
3
+ import type { AutocompleteDataSource } from 'ng-zorro-antd/auto-complete';
4
+ export interface AutocompleteProps extends FormlyFieldProps {
5
+ /**
6
+ * 使用键盘选择选项的时候,会把当前高亮项的值即时回填到输入框中
7
+ * @default false
8
+ */
9
+ backfill?: boolean;
10
+ /**
11
+ * 自动完成的数据源
12
+ */
13
+ dataSource?: AutocompleteDataSource;
14
+ /**
15
+ * 是否默认高亮第一个选项
16
+ * @default true
17
+ */
18
+ defaultActiveFirstOption?: boolean;
19
+ /**
20
+ * 自定义宽度单位 px
21
+ */
22
+ width?: number;
23
+ /**
24
+ * 下拉根元素的类名称
25
+ */
26
+ overlayClassName?: string;
27
+ /**
28
+ * 下拉根元素的样式
29
+ */
30
+ overlayStyle?: {
31
+ [key: string]: string;
32
+ };
33
+ /**
34
+ * 与 SelectControlValueAccessor 相同
35
+ * @default
36
+ * (o1: any, o2: any) => o1===o2
37
+ */
38
+ compareWith?: CompareWith;
39
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/autocomplete" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-autocomplete.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-autocomplete.mjs",
4
+ "esm2020": "../esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-autocomplete.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-autocomplete.mjs",
7
+ "typings": "ngx-formly-zorro-antd-autocomplete.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/autocomplete"
10
+ }
@@ -0,0 +1 @@
1
+ export { AutocompleteProps } from './autocomplete.props';
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button.type";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ng-zorro-antd/button";
5
+ import * as i4 from "ng-zorro-antd/icon";
6
+ import * as i5 from "@ngx-formly/core";
7
+ export declare class FormlyNzButtonModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzButtonModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzButtonModule, [typeof i1.FormlyFieldButton], [typeof i2.CommonModule, typeof i3.NzButtonModule, typeof i4.NzIconModule, typeof i5.FormlyModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzButtonModule>;
11
+ }
@@ -0,0 +1,65 @@
1
+ import { Type } from '@angular/core';
2
+ import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
+ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
4
+ import type { NzButtonShape, NzButtonSize, NzButtonType } from 'ng-zorro-antd/button';
5
+ import * as i0 from "@angular/core";
6
+ interface ButtonProps extends FormlyFieldProps {
7
+ /**
8
+ * 幽灵属性,使按钮背景透明
9
+ * @default false
10
+ */
11
+ ghost?: boolean;
12
+ /**
13
+ * 设置按钮载入状态
14
+ * @default false
15
+ */
16
+ loading?: boolean;
17
+ /**
18
+ * 设置按钮形状
19
+ */
20
+ shape?: NzButtonShape;
21
+ /**
22
+ * 设置按钮大小
23
+ * @default default
24
+ */
25
+ size?: NzButtonSize;
26
+ /**
27
+ * 设置按钮类型
28
+ */
29
+ buttonType?: NzButtonType;
30
+ /**
31
+ * 将按钮宽度调整为其父宽度的选项
32
+ * @default false
33
+ */
34
+ block?: boolean;
35
+ /**
36
+ * 设置危险按钮
37
+ * @default false
38
+ */
39
+ danger?: boolean;
40
+ /**
41
+ * 图标在前面
42
+ */
43
+ iconOnBefore?: string;
44
+ /**
45
+ * 图标在后面
46
+ */
47
+ iconOnAfter?: string;
48
+ }
49
+ export interface FormlyButtonFieldConfig extends FormlyFieldConfig<ButtonProps> {
50
+ type: 'button' | 'submit' | 'reset' | Type<FormlyFieldButton>;
51
+ }
52
+ export declare class FormlyFieldButton extends FieldType<FieldTypeConfig<ButtonProps>> {
53
+ defaultOptions: {
54
+ props: {
55
+ ghost: boolean;
56
+ loading: boolean;
57
+ block: boolean;
58
+ size: "default";
59
+ danger: boolean;
60
+ };
61
+ };
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldButton, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldButton, "formly-field-button", never, {}, {}, never, never>;
64
+ }
65
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/button" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-button.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-button.mjs",
4
+ "esm2020": "../esm2020/button/ngx-formly-zorro-antd-button.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-button.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-button.mjs",
7
+ "typings": "ngx-formly-zorro-antd-button.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/button"
10
+ }
@@ -0,0 +1,2 @@
1
+ export { FormlyNzButtonModule } from './button.module';
2
+ export { FormlyFieldButton, FormlyButtonFieldConfig } from './button.type';
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./card.wrapper";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ng-zorro-antd/card";
5
+ import * as i4 from "@ngx-formly/core";
6
+ export declare class FormlyNzCardModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzCardModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCardModule, [typeof i1.FormlyWrapperCard], [typeof i2.CommonModule, typeof i3.NzCardModule, typeof i4.FormlyModule], never>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzCardModule>;
10
+ }
@@ -0,0 +1,58 @@
1
+ import { TemplateRef, Type } from '@angular/core';
2
+ import { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';
3
+ import type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';
4
+ import * as i0 from "@angular/core";
5
+ interface CardProps {
6
+ /**
7
+ * 卡片操作组,位置在卡片底部
8
+ */
9
+ actions?: Array<TemplateRef<void>>;
10
+ /**
11
+ * 内容区域自定义样式
12
+ */
13
+ bodyStyle?: NgStyleInterface | null;
14
+ /**
15
+ * 是否移除边框
16
+ * @default false
17
+ */
18
+ borderless?: boolean;
19
+ /**
20
+ * 卡片封面
21
+ */
22
+ cover?: TemplateRef<void>;
23
+ /**
24
+ * 卡片右上角的操作区域
25
+ */
26
+ extra?: string | TemplateRef<void>;
27
+ /**
28
+ * 鼠标移过时可浮起
29
+ * @default false
30
+ */
31
+ hoverable?: boolean;
32
+ /**
33
+ * 当卡片内容还在加载中时,可以用 loading 展示一个占位
34
+ * @default false
35
+ */
36
+ loading?: boolean;
37
+ /**
38
+ * 卡片的尺寸
39
+ * @default default
40
+ */
41
+ size?: NzSizeDSType;
42
+ /**
43
+ * 卡片标题
44
+ */
45
+ title?: string | TemplateRef<void>;
46
+ /**
47
+ * 卡片类型,可设置为 inner 或 不设置
48
+ */
49
+ type?: string | 'inner';
50
+ }
51
+ export interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardProps> {
52
+ wrappers: ('card' | Type<FormlyWrapperCard>)[];
53
+ }
54
+ export declare class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardProps>> {
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperCard, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperCard, "formly-wrapper-card", never, {}, {}, never, never>;
57
+ }
58
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/card" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-card.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-card.mjs",
4
+ "esm2020": "../esm2020/card/ngx-formly-zorro-antd-card.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-card.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-card.mjs",
7
+ "typings": "ngx-formly-zorro-antd-card.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/card"
10
+ }
@@ -0,0 +1,2 @@
1
+ export { FormlyNzCardModule } from './card.module';
2
+ export { FormlyWrapperCard, FormlyCardWrapperConfig } from './card.wrapper';
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./cascader.type";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "ngx-formly-zorro-antd/form-field";
6
+ import * as i5 from "ng-zorro-antd/cascader";
7
+ import * as i6 from "@ngx-formly/core";
8
+ export declare class FormlyNzCascaderModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzCascaderModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCascaderModule, [typeof i1.FormlyFieldCascader], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzCascaderModule, typeof i6.FormlyModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzCascaderModule>;
12
+ }
@@ -0,0 +1,152 @@
1
+ import { TemplateRef, Type, OnInit } from '@angular/core';
2
+ import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
+ import { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
4
+ import type { NzCascaderOption, NzShowSearchOptions, NzCascaderExpandTrigger, NzCascaderSize } from 'ng-zorro-antd/cascader';
5
+ import type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';
6
+ import * as i0 from "@angular/core";
7
+ interface CascaderProps extends FormlyFieldProps {
8
+ /**
9
+ * 是否支持清除
10
+ * @default true
11
+ */
12
+ allowClear?: boolean;
13
+ /**
14
+ * 是否自动聚焦,当存在输入框时
15
+ * @default false
16
+ */
17
+ autoFocus?: boolean;
18
+ /**
19
+ * 浮层是否应带有背景板
20
+ * @default false
21
+ */
22
+ backdrop?: boolean;
23
+ /**
24
+ * 点击父级菜单选项时,可通过该函数判断是否允许值的变化
25
+ */
26
+ changeOn?: (option: NzSafeAny, index: number) => boolean;
27
+ /**
28
+ * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示
29
+ * @default false
30
+ */
31
+ changeOnSelect?: boolean;
32
+ /**
33
+ * 自定义浮层列类名
34
+ */
35
+ columnClassName?: string;
36
+ /**
37
+ * 自定义次级菜单展开图标
38
+ */
39
+ expandIcon?: string | TemplateRef<void>;
40
+ /**
41
+ * 次级菜单的展开方式
42
+ * @default 'click'
43
+ */
44
+ expandTrigger?: NzCascaderExpandTrigger;
45
+ /**
46
+ * 选项的显示值的属性名
47
+ * @default 'label'
48
+ */
49
+ labelProperty: string;
50
+ /**
51
+ * 选择后展示的渲染模板
52
+ */
53
+ labelRender?: TemplateRef<NzSafeAny> | null;
54
+ /**
55
+ * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。
56
+ */
57
+ loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;
58
+ /**
59
+ * 自定义浮层类名
60
+ */
61
+ menuClassName?: string;
62
+ /**
63
+ * 自定义浮层样式
64
+ */
65
+ menuStyle?: NgStyleInterface | null;
66
+ /**
67
+ * 当下拉列表为空时显示的内容
68
+ */
69
+ notFoundContent?: string | TemplateRef<void>;
70
+ /**
71
+ * 选项的渲染模板
72
+ */
73
+ optionRender?: TemplateRef<{
74
+ $implicit: NzCascaderOption;
75
+ index: number;
76
+ }> | null;
77
+ /**
78
+ * 是否显示箭头
79
+ * @default true
80
+ */
81
+ showArrow?: boolean;
82
+ /**
83
+ * 显示输入框
84
+ * @default true
85
+ */
86
+ showInput?: boolean;
87
+ /**
88
+ * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用
89
+ * @default false
90
+ */
91
+ showSearch?: boolean | NzShowSearchOptions;
92
+ /**
93
+ * 输入框大小
94
+ * @default default
95
+ */
96
+ size?: NzCascaderSize;
97
+ /**
98
+ * 设置校验状态
99
+ */
100
+ status?: NzStatus;
101
+ /**
102
+ * 自定义的选择框后缀图标
103
+ */
104
+ suffixIcon?: string | TemplateRef<void>;
105
+ /**
106
+ * 选项的实际值的属性名
107
+ * @default 'value'
108
+ */
109
+ valueProperty?: string;
110
+ /**
111
+ * 可选项数据源
112
+ */
113
+ cascaderOptions?: NzCascaderOption[] | null;
114
+ /**
115
+ * 清除值时触发
116
+ */
117
+ onClear?: (field: FormlyFieldConfig) => void;
118
+ /**
119
+ * 菜单浮层的显示/隐藏
120
+ */
121
+ visibleChange?: (field: FormlyFieldConfig, visible: boolean) => void;
122
+ /**
123
+ * 值发生变化时触发
124
+ */
125
+ selectionChange?: (field: FormlyFieldConfig, value: NzCascaderOption[]) => void;
126
+ }
127
+ export interface FormlyCascaderFieldConfig extends FormlyFieldConfig<CascaderProps> {
128
+ type: 'cascader' | Type<FormlyFieldCascader>;
129
+ }
130
+ export declare class FormlyFieldCascader extends FieldType<FieldTypeConfig<CascaderProps>> implements OnInit {
131
+ defaultOptions: {
132
+ props: {
133
+ placeholder: string;
134
+ allowClear: boolean;
135
+ backdrop: boolean;
136
+ changeOnSelect: boolean;
137
+ expandTrigger: "click";
138
+ labelProperty: string;
139
+ showArrow: boolean;
140
+ showInput: boolean;
141
+ showSearch: boolean;
142
+ size: "default";
143
+ status: "";
144
+ valueProperty: string;
145
+ cascaderOptions: never[];
146
+ };
147
+ };
148
+ ngOnInit(): void;
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCascader, never>;
150
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCascader, "formly-field-cascader", never, {}, {}, never, never>;
151
+ }
152
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/cascader" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-cascader.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-cascader.mjs",
4
+ "esm2020": "../esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-cascader.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-cascader.mjs",
7
+ "typings": "ngx-formly-zorro-antd-cascader.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/cascader"
10
+ }
@@ -0,0 +1,2 @@
1
+ export { FormlyNzCascaderModule } from './cascader.module';
2
+ export { FormlyFieldCascader, FormlyCascaderFieldConfig } from './cascader.type';
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./checkbox.type";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "ngx-formly-zorro-antd/form-field";
6
+ import * as i5 from "ng-zorro-antd/checkbox";
7
+ import * as i6 from "@ngx-formly/core";
8
+ export declare class FormlyNzCheckboxModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzCheckboxModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCheckboxModule, [typeof i1.FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzCheckboxModule, typeof i6.FormlyModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzCheckboxModule>;
12
+ }
@@ -0,0 +1,35 @@
1
+ import { Type } from '@angular/core';
2
+ import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
+ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
4
+ import * as i0 from "@angular/core";
5
+ interface CheckboxProps extends FormlyFieldProps {
6
+ type?: 'group' | 'single';
7
+ /**
8
+ * 自动获取焦点
9
+ * @default false
10
+ */
11
+ autoFocus?: boolean;
12
+ /**
13
+ * 设置 indeterminate 状态,只负责样式控制
14
+ * @default false
15
+ */
16
+ indeterminate?: boolean;
17
+ /**
18
+ * 选中变化时回调
19
+ */
20
+ modelChange?: (field: FormlyFieldConfig, data: boolean) => void;
21
+ }
22
+ export interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
23
+ type: 'checkbox' | 'boolean' | Type<FormlyFieldCheckbox>;
24
+ }
25
+ export declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
26
+ defaultOptions: {
27
+ props: {
28
+ indeterminate: boolean;
29
+ hideLabel: boolean;
30
+ };
31
+ };
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCheckbox, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCheckbox, "formly-field-checkbox", never, {}, {}, never, never>;
34
+ }
35
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/checkbox" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-checkbox.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-checkbox.mjs",
4
+ "esm2020": "../esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-checkbox.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-checkbox.mjs",
7
+ "typings": "ngx-formly-zorro-antd-checkbox.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/checkbox"
10
+ }
@@ -0,0 +1,2 @@
1
+ export { FormlyNzCheckboxModule } from './checkbox.module';
2
+ export { FormlyFieldCheckbox, FormlyCheckboxFieldConfig } from './checkbox.type';
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./datepicker.type";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "ngx-formly-zorro-antd/form-field";
6
+ import * as i5 from "ng-zorro-antd/date-picker";
7
+ import * as i6 from "@ngx-formly/core";
8
+ export declare class FormlyNzDatepickerModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzDatepickerModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzDatepickerModule, [typeof i1.FormlyFieldDatepicker], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzDatePickerModule, typeof i6.FormlyModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzDatepickerModule>;
12
+ }