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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (303) hide show
  1. package/README.md +7 -0
  2. package/autocomplete/autocomplete.props.d.ts +39 -0
  3. package/autocomplete/ngx-formly-zorro-antd-autocomplete.d.ts +5 -0
  4. package/autocomplete/package.json +10 -0
  5. package/autocomplete/public_api.d.ts +1 -0
  6. package/button/button.module.d.ts +11 -0
  7. package/button/button.type.d.ts +65 -0
  8. package/button/ngx-formly-zorro-antd-button.d.ts +5 -0
  9. package/button/package.json +10 -0
  10. package/button/public_api.d.ts +2 -0
  11. package/card/card.module.d.ts +10 -0
  12. package/card/card.wrapper.d.ts +58 -0
  13. package/card/ngx-formly-zorro-antd-card.d.ts +5 -0
  14. package/card/package.json +10 -0
  15. package/card/public_api.d.ts +2 -0
  16. package/cascader/cascader.module.d.ts +12 -0
  17. package/cascader/cascader.type.d.ts +152 -0
  18. package/cascader/ngx-formly-zorro-antd-cascader.d.ts +5 -0
  19. package/cascader/package.json +10 -0
  20. package/cascader/public_api.d.ts +2 -0
  21. package/checkbox/checkbox.module.d.ts +12 -0
  22. package/checkbox/checkbox.type.d.ts +35 -0
  23. package/checkbox/ngx-formly-zorro-antd-checkbox.d.ts +5 -0
  24. package/checkbox/package.json +10 -0
  25. package/checkbox/public_api.d.ts +2 -0
  26. package/datepicker/datepicker.module.d.ts +12 -0
  27. package/datepicker/datepicker.props.d.ts +146 -0
  28. package/datepicker/datepicker.type.d.ts +31 -0
  29. package/datepicker/ngx-formly-zorro-antd-datepicker.d.ts +5 -0
  30. package/datepicker/package.json +10 -0
  31. package/datepicker/public_api.d.ts +2 -0
  32. package/esm2020/autocomplete/autocomplete.props.mjs +2 -0
  33. package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +5 -0
  34. package/esm2020/autocomplete/public_api.mjs +2 -0
  35. package/esm2020/button/button.module.mjs +63 -0
  36. package/esm2020/button/button.type.mjs +70 -0
  37. package/esm2020/button/ngx-formly-zorro-antd-button.mjs +5 -0
  38. package/esm2020/button/public_api.mjs +3 -0
  39. package/esm2020/card/card.module.mjs +45 -0
  40. package/esm2020/card/card.wrapper.mjs +47 -0
  41. package/esm2020/card/ngx-formly-zorro-antd-card.mjs +5 -0
  42. package/esm2020/card/public_api.mjs +3 -0
  43. package/esm2020/cascader/cascader.module.mjs +53 -0
  44. package/esm2020/cascader/cascader.type.mjs +112 -0
  45. package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +5 -0
  46. package/esm2020/cascader/public_api.mjs +3 -0
  47. package/esm2020/checkbox/checkbox.module.mjs +61 -0
  48. package/esm2020/checkbox/checkbox.type.mjs +69 -0
  49. package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +5 -0
  50. package/esm2020/checkbox/public_api.mjs +3 -0
  51. package/esm2020/datepicker/datepicker.module.mjs +53 -0
  52. package/esm2020/datepicker/datepicker.props.mjs +2 -0
  53. package/esm2020/datepicker/datepicker.type.mjs +189 -0
  54. package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +5 -0
  55. package/esm2020/datepicker/public_api.mjs +3 -0
  56. package/esm2020/form-field/form-field.module.mjs +47 -0
  57. package/esm2020/form-field/form-field.props.mjs +2 -0
  58. package/esm2020/form-field/form-field.wrapper.mjs +117 -0
  59. package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +5 -0
  60. package/esm2020/form-field/public_api.mjs +2 -0
  61. package/esm2020/index.mjs +2 -0
  62. package/esm2020/input/input.module.mjs +91 -0
  63. package/esm2020/input/input.props.mjs +2 -0
  64. package/esm2020/input/input.type.mjs +259 -0
  65. package/esm2020/input/ngx-formly-zorro-antd-input.mjs +5 -0
  66. package/esm2020/input/public_api.mjs +3 -0
  67. package/esm2020/input-group/input-group.module.mjs +43 -0
  68. package/esm2020/input-group/input-group.props.mjs +2 -0
  69. package/esm2020/input-group/input-group.type.mjs +71 -0
  70. package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +5 -0
  71. package/esm2020/input-group/public_api.mjs +3 -0
  72. package/esm2020/input-number/input-number.module.mjs +61 -0
  73. package/esm2020/input-number/input-number.props.mjs +2 -0
  74. package/esm2020/input-number/input-number.type.mjs +128 -0
  75. package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +5 -0
  76. package/esm2020/input-number/public_api.mjs +3 -0
  77. package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -0
  78. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +95 -0
  79. package/esm2020/ngx-formly-zorro-antd.mjs +5 -0
  80. package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +5 -0
  81. package/esm2020/radio/public_api.mjs +3 -0
  82. package/esm2020/radio/radio.module.mjs +61 -0
  83. package/esm2020/radio/radio.type.mjs +96 -0
  84. package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +5 -0
  85. package/esm2020/rate/public_api.mjs +3 -0
  86. package/esm2020/rate/rate.module.mjs +53 -0
  87. package/esm2020/rate/rate.type.mjs +63 -0
  88. package/esm2020/select/ngx-formly-zorro-antd-select.mjs +5 -0
  89. package/esm2020/select/public_api.mjs +3 -0
  90. package/esm2020/select/select.module.mjs +59 -0
  91. package/esm2020/select/select.props.mjs +2 -0
  92. package/esm2020/select/select.type.mjs +163 -0
  93. package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +5 -0
  94. package/esm2020/slider/public_api.mjs +3 -0
  95. package/esm2020/slider/slider.module.mjs +53 -0
  96. package/esm2020/slider/slider.type.mjs +67 -0
  97. package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +5 -0
  98. package/esm2020/switch/public_api.mjs +3 -0
  99. package/esm2020/switch/switch.module.mjs +53 -0
  100. package/esm2020/switch/switch.type.mjs +53 -0
  101. package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +5 -0
  102. package/esm2020/tabs/public_api.mjs +3 -0
  103. package/esm2020/tabs/tabs.module.mjs +43 -0
  104. package/esm2020/tabs/tabs.props.mjs +2 -0
  105. package/esm2020/tabs/tabs.wrapper.mjs +111 -0
  106. package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +5 -0
  107. package/esm2020/textarea/public_api.mjs +3 -0
  108. package/esm2020/textarea/textarea.module.mjs +53 -0
  109. package/esm2020/textarea/textarea.type.mjs +88 -0
  110. package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +5 -0
  111. package/esm2020/timepicker/public_api.mjs +3 -0
  112. package/esm2020/timepicker/timepicker.module.mjs +53 -0
  113. package/esm2020/timepicker/timepicker.type.mjs +92 -0
  114. package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +5 -0
  115. package/esm2020/transfer/public_api.mjs +3 -0
  116. package/esm2020/transfer/transfer.component.mjs +128 -0
  117. package/esm2020/transfer/transfer.module.mjs +54 -0
  118. package/esm2020/transfer/transfer.type.mjs +87 -0
  119. package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +5 -0
  120. package/esm2020/tree-select/public_api.mjs +3 -0
  121. package/esm2020/tree-select/tree-select.module.mjs +53 -0
  122. package/esm2020/tree-select/tree-select.type.mjs +98 -0
  123. package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +5 -0
  124. package/esm2020/upload/public_api.mjs +3 -0
  125. package/esm2020/upload/upload.component.mjs +174 -0
  126. package/esm2020/upload/upload.module.mjs +62 -0
  127. package/esm2020/upload/upload.type.mjs +119 -0
  128. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
  129. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
  130. package/fesm2015/ngx-formly-zorro-antd-button.mjs +135 -0
  131. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -0
  132. package/fesm2015/ngx-formly-zorro-antd-card.mjs +95 -0
  133. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -0
  134. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +167 -0
  135. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
  136. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +132 -0
  137. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
  138. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +244 -0
  139. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
  140. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +166 -0
  141. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
  142. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +116 -0
  143. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
  144. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +191 -0
  145. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
  146. package/fesm2015/ngx-formly-zorro-antd-input.mjs +352 -0
  147. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -0
  148. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +159 -0
  149. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -0
  150. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +118 -0
  151. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -0
  152. package/fesm2015/ngx-formly-zorro-antd-select.mjs +223 -0
  153. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -0
  154. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +122 -0
  155. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -0
  156. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +108 -0
  157. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -0
  158. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +156 -0
  159. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
  160. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +143 -0
  161. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
  162. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +147 -0
  163. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
  164. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +264 -0
  165. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
  166. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +153 -0
  167. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
  168. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +351 -0
  169. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -0
  170. package/fesm2015/ngx-formly-zorro-antd.mjs +102 -0
  171. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -0
  172. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
  173. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
  174. package/fesm2020/ngx-formly-zorro-antd-button.mjs +135 -0
  175. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -0
  176. package/fesm2020/ngx-formly-zorro-antd-card.mjs +95 -0
  177. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -0
  178. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +167 -0
  179. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
  180. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +132 -0
  181. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
  182. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +244 -0
  183. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
  184. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +166 -0
  185. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
  186. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +116 -0
  187. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
  188. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +191 -0
  189. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
  190. package/fesm2020/ngx-formly-zorro-antd-input.mjs +352 -0
  191. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -0
  192. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +159 -0
  193. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -0
  194. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +118 -0
  195. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -0
  196. package/fesm2020/ngx-formly-zorro-antd-select.mjs +223 -0
  197. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -0
  198. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +122 -0
  199. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -0
  200. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +108 -0
  201. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -0
  202. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +156 -0
  203. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
  204. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +143 -0
  205. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
  206. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +147 -0
  207. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
  208. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +264 -0
  209. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
  210. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +153 -0
  211. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
  212. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +350 -0
  213. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -0
  214. package/fesm2020/ngx-formly-zorro-antd.mjs +102 -0
  215. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -0
  216. package/form-field/form-field.module.d.ts +11 -0
  217. package/form-field/form-field.props.d.ts +77 -0
  218. package/form-field/form-field.wrapper.d.ts +9 -0
  219. package/form-field/ngx-formly-zorro-antd-form-field.d.ts +5 -0
  220. package/form-field/package.json +10 -0
  221. package/form-field/public_api.d.ts +3 -0
  222. package/index.d.ts +1 -0
  223. package/input/input.module.d.ts +14 -0
  224. package/input/input.props.d.ts +66 -0
  225. package/input/input.type.d.ts +26 -0
  226. package/input/ngx-formly-zorro-antd-input.d.ts +5 -0
  227. package/input/package.json +10 -0
  228. package/input/public_api.d.ts +2 -0
  229. package/input-group/input-group.module.d.ts +10 -0
  230. package/input-group/input-group.props.d.ts +56 -0
  231. package/input-group/input-group.type.d.ts +22 -0
  232. package/input-group/ngx-formly-zorro-antd-input-group.d.ts +5 -0
  233. package/input-group/package.json +10 -0
  234. package/input-group/public_api.d.ts +3 -0
  235. package/input-number/input-number.module.d.ts +12 -0
  236. package/input-number/input-number.props.d.ts +78 -0
  237. package/input-number/input-number.type.d.ts +24 -0
  238. package/input-number/ngx-formly-zorro-antd-input-number.d.ts +5 -0
  239. package/input-number/package.json +10 -0
  240. package/input-number/public_api.d.ts +2 -0
  241. package/lib/ui-ng-zorro-antd.d.ts +1 -0
  242. package/lib/ui-ng-zorro-antd.module.d.ts +26 -0
  243. package/ngx-formly-zorro-antd.d.ts +5 -0
  244. package/package.json +204 -0
  245. package/radio/ngx-formly-zorro-antd-radio.d.ts +5 -0
  246. package/radio/package.json +10 -0
  247. package/radio/public_api.d.ts +2 -0
  248. package/radio/radio.module.d.ts +14 -0
  249. package/radio/radio.type.d.ts +38 -0
  250. package/rate/ngx-formly-zorro-antd-rate.d.ts +5 -0
  251. package/rate/package.json +10 -0
  252. package/rate/public_api.d.ts +2 -0
  253. package/rate/rate.module.d.ts +12 -0
  254. package/rate/rate.type.d.ts +57 -0
  255. package/select/ngx-formly-zorro-antd-select.d.ts +5 -0
  256. package/select/package.json +10 -0
  257. package/select/public_api.d.ts +2 -0
  258. package/select/select.module.d.ts +13 -0
  259. package/select/select.props.d.ts +162 -0
  260. package/select/select.type.d.ts +35 -0
  261. package/slider/ngx-formly-zorro-antd-slider.d.ts +5 -0
  262. package/slider/package.json +10 -0
  263. package/slider/public_api.d.ts +2 -0
  264. package/slider/slider.module.d.ts +12 -0
  265. package/slider/slider.type.d.ts +76 -0
  266. package/switch/ngx-formly-zorro-antd-switch.d.ts +5 -0
  267. package/switch/package.json +10 -0
  268. package/switch/public_api.d.ts +2 -0
  269. package/switch/switch.module.d.ts +12 -0
  270. package/switch/switch.type.d.ts +44 -0
  271. package/tabs/ngx-formly-zorro-antd-tabs.d.ts +5 -0
  272. package/tabs/package.json +10 -0
  273. package/tabs/public_api.d.ts +2 -0
  274. package/tabs/tabs.module.d.ts +10 -0
  275. package/tabs/tabs.props.d.ts +127 -0
  276. package/tabs/tabs.wrapper.d.ts +28 -0
  277. package/textarea/ngx-formly-zorro-antd-textarea.d.ts +5 -0
  278. package/textarea/package.json +10 -0
  279. package/textarea/public_api.d.ts +2 -0
  280. package/textarea/textarea.module.d.ts +12 -0
  281. package/textarea/textarea.type.d.ts +38 -0
  282. package/timepicker/ngx-formly-zorro-antd-timepicker.d.ts +5 -0
  283. package/timepicker/package.json +10 -0
  284. package/timepicker/public_api.d.ts +2 -0
  285. package/timepicker/timepicker.module.d.ts +12 -0
  286. package/timepicker/timepicker.type.d.ts +131 -0
  287. package/transfer/ngx-formly-zorro-antd-transfer.d.ts +5 -0
  288. package/transfer/package.json +10 -0
  289. package/transfer/public_api.d.ts +2 -0
  290. package/transfer/transfer.component.d.ts +26 -0
  291. package/transfer/transfer.module.d.ts +13 -0
  292. package/transfer/transfer.type.d.ts +118 -0
  293. package/tree-select/ngx-formly-zorro-antd-tree-select.d.ts +5 -0
  294. package/tree-select/package.json +10 -0
  295. package/tree-select/public_api.d.ts +2 -0
  296. package/tree-select/tree-select.module.d.ts +12 -0
  297. package/tree-select/tree-select.type.d.ts +158 -0
  298. package/upload/ngx-formly-zorro-antd-upload.d.ts +5 -0
  299. package/upload/package.json +10 -0
  300. package/upload/public_api.d.ts +2 -0
  301. package/upload/upload.component.d.ts +27 -0
  302. package/upload/upload.module.d.ts +15 -0
  303. package/upload/upload.type.d.ts +173 -0
@@ -0,0 +1,76 @@
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 { NzSliderShowTooltip } from 'ng-zorro-antd/slider';
5
+ import * as i0 from "@angular/core";
6
+ interface SlideProps extends FormlyFieldProps {
7
+ /**
8
+ * 是否只能拖拽到刻度上
9
+ * @default false
10
+ */
11
+ dots?: boolean;
12
+ /**
13
+ * marks 不为空对象时有效,值为 true 时表示值为包含关系,false 表示并列
14
+ * @default true
15
+ */
16
+ included?: boolean;
17
+ /**
18
+ * 刻度标记,key 的类型必须为 number 且取值在闭区间 [min, max] 内,每个标签可以单独设置样式
19
+ * @default
20
+ * { number: string/HTML } or { number: { style: object, label: string/HTML } }
21
+ */
22
+ marks?: object;
23
+ /**
24
+ * 双滑块模式
25
+ * @default false
26
+ */
27
+ range?: boolean;
28
+ /**
29
+ * Slider 会把当前值传给 nzTipFormatter,并在 Tooltip 中显示 nzTipFormatter 的返回值,若为 null,则隐藏 Tooltip。
30
+ */
31
+ tipFormatter?: (value: number) => string;
32
+ /**
33
+ * 值为 true 时,Slider 为垂直方向
34
+ * @default false
35
+ */
36
+ vertical?: boolean;
37
+ /**
38
+ * 反向坐标轴
39
+ * @default false
40
+ */
41
+ reverse?: boolean;
42
+ /**
43
+ * 值为 always 时总是显示,值为 never 时在任何情况下都不显示
44
+ * @default default
45
+ */
46
+ tooltipVisible?: NzSliderShowTooltip;
47
+ /**
48
+ * 设置 Tooltip 的默认位置。
49
+ */
50
+ tooltipPlacement?: string;
51
+ /**
52
+ * 与 onmouseup 触发时机一致,把当前值作为参数传入。
53
+ */
54
+ afterChange?: (field: FormlyFieldConfig, value: number[] | number) => void;
55
+ }
56
+ export interface FormlySlideFieldConfig extends FormlyFieldConfig<SlideProps> {
57
+ type: 'slider' | Type<FormlyFieldSlider>;
58
+ }
59
+ export declare class FormlyFieldSlider extends FieldType<FieldTypeConfig<SlideProps>> {
60
+ defaultOptions: {
61
+ props: {
62
+ max: number;
63
+ min: number;
64
+ step: number;
65
+ dots: boolean;
66
+ included: boolean;
67
+ range: boolean;
68
+ vertical: boolean;
69
+ reverse: boolean;
70
+ tooltipVisible: "default";
71
+ };
72
+ };
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSlider, never>;
74
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSlider, "formly-field-slider", never, {}, {}, never, never>;
75
+ }
76
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/switch" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-switch.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-switch.mjs",
4
+ "esm2020": "../esm2020/switch/ngx-formly-zorro-antd-switch.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-switch.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-switch.mjs",
7
+ "typings": "ngx-formly-zorro-antd-switch.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/switch"
10
+ }
@@ -0,0 +1,2 @@
1
+ export { FormlyNzSwitchModule } from './switch.module';
2
+ export { FormlyFieldSwitch, FormlySwitchFieldConfig } from './switch.type';
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./switch.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/switch";
7
+ import * as i6 from "@ngx-formly/core";
8
+ export declare class FormlyNzSwitchModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzSwitchModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzSwitchModule, [typeof i1.FormlyFieldSwitch], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzSwitchModule, typeof i6.FormlyModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzSwitchModule>;
12
+ }
@@ -0,0 +1,44 @@
1
+ import { Type, TemplateRef } 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 { NzSizeDSType } from 'ng-zorro-antd/core/types';
5
+ import * as i0 from "@angular/core";
6
+ interface SwitchProps extends FormlyFieldProps {
7
+ /**
8
+ * 选中时的内容
9
+ */
10
+ checkedChildren?: string | TemplateRef<void> | null;
11
+ /**
12
+ * 非选中时的内容
13
+ */
14
+ unCheckedChildren?: string | TemplateRef<void> | null;
15
+ /**
16
+ * 开关大小
17
+ */
18
+ size?: NzSizeDSType;
19
+ /**
20
+ * 加载中的开关
21
+ * @default false
22
+ */
23
+ loading?: boolean;
24
+ /**
25
+ * 是否完全由用户控制状态
26
+ * @default false
27
+ */
28
+ control?: boolean;
29
+ }
30
+ export interface FormlySwitchFieldConfig extends FormlyFieldConfig<SwitchProps> {
31
+ type: 'switch' | Type<FormlyFieldSwitch>;
32
+ }
33
+ export declare class FormlyFieldSwitch extends FieldType<FieldTypeConfig<SwitchProps>> {
34
+ defaultOptions: {
35
+ props: {
36
+ size: "default";
37
+ loading: boolean;
38
+ control: boolean;
39
+ };
40
+ };
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSwitch, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSwitch, "formly-field-switch", never, {}, {}, never, never>;
43
+ }
44
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/tabs" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-tabs.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-tabs.mjs",
4
+ "esm2020": "../esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-tabs.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-tabs.mjs",
7
+ "typings": "ngx-formly-zorro-antd-tabs.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/tabs"
10
+ }
@@ -0,0 +1,2 @@
1
+ export { FormlyNzTabsModule } from './tabs.module';
2
+ export { FormlyWrapperTabs, FormlyTabsWrapperConfig } from './tabs.wrapper';
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tabs.wrapper";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ng-zorro-antd/tabs";
5
+ import * as i4 from "@ngx-formly/core";
6
+ export declare class FormlyNzTabsModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzTabsModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzTabsModule, [typeof i1.FormlyWrapperTabs], [typeof i2.CommonModule, typeof i3.NzTabsModule, typeof i4.FormlyModule], never>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzTabsModule>;
10
+ }
@@ -0,0 +1,127 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import type { FormlyFieldConfig } from '@ngx-formly/core';
3
+ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
4
+ import { NzTabComponent } from 'ng-zorro-antd/tabs';
5
+ import type { NzSizeLDSType, NzSafeAny } from 'ng-zorro-antd/core/types';
6
+ import type { NzTabsCanDeactivateFn, TabTemplateContext, NzTabType, NzTabPosition, NzAnimatedInterface } from 'ng-zorro-antd/tabs';
7
+ export interface TabsProps extends FormlyFieldProps {
8
+ /**
9
+ * 当前激活 tab 面板的 序列号,可双向绑定
10
+ */
11
+ selectedIndex?: number | null;
12
+ /**
13
+ * 是否使用动画切换 Tabs,在 nzTabPosition=top\bottom 时有效
14
+ * @default true
15
+ */
16
+ animated?: NzAnimatedInterface | boolean;
17
+ /**
18
+ * 大小,提供 largedefault 和 small 三种大小
19
+ * @default default
20
+ */
21
+ size?: NzSizeLDSType;
22
+ /**
23
+ * tab bar 上额外的元素
24
+ */
25
+ tabBarExtraContent?: TemplateRef<void>;
26
+ /**
27
+ * tab bar 的样式对象
28
+ */
29
+ tabBarStyle?: {
30
+ [key: string]: string;
31
+ } | null;
32
+ /**
33
+ * 页签位置
34
+ * @default top
35
+ */
36
+ tabPosition?: NzTabPosition;
37
+ /**
38
+ * 页签的基本样式
39
+ * @default line
40
+ */
41
+ type?: NzTabType;
42
+ /**
43
+ * tabs 之间的间隙
44
+ */
45
+ tabBarGutter?: number;
46
+ /**
47
+ * 是否隐藏所有tab内容
48
+ * @default false
49
+ */
50
+ hideAll?: boolean;
51
+ /**
52
+ * 与 Angular 路由联动
53
+ * @default false
54
+ */
55
+ linkRouter?: boolean;
56
+ /**
57
+ * 以严格匹配模式确定联动的路由
58
+ * @default true
59
+ */
60
+ linkExact?: boolean;
61
+ /**
62
+ * 决定一个 tab 是否可以被切换
63
+ */
64
+ canDeactivate?: NzTabsCanDeactivateFn | null;
65
+ /**
66
+ * 标签居中展示
67
+ * @default false
68
+ */
69
+ centered?: boolean;
70
+ /**
71
+ * 当前激活 tab 面板的 序列号变更回调函数
72
+ */
73
+ selectedIndexChange?: (field: FormlyFieldConfig, index: number) => void;
74
+ /**
75
+ * 当前激活 tab 面板变更回调函数
76
+ */
77
+ selectChange?: (field: FormlyFieldConfig, index?: number, tab?: NzTabComponent) => void;
78
+ /**
79
+ * 隐藏添加按钮
80
+ * @default false
81
+ */
82
+ hideAdd?: boolean;
83
+ /**
84
+ * 添加按钮图标
85
+ */
86
+ addIcon?: string | TemplateRef<NzSafeAny>;
87
+ /**
88
+ * 点击添加按钮时的事件
89
+ */
90
+ onAdd?: (field: FormlyFieldConfig) => void;
91
+ /**
92
+ * 点击删除按钮时的事件
93
+ */
94
+ onClose?: (field: FormlyFieldConfig, index: number) => void;
95
+ tab?: {
96
+ /**
97
+ * 选项卡头显示文字
98
+ */
99
+ title?: string | TemplateRef<TabTemplateContext>;
100
+ /**
101
+ * 被隐藏时是否渲染 DOM 结构
102
+ * @default false
103
+ */
104
+ forceRender?: boolean;
105
+ /**
106
+ * 是否禁用
107
+ * @default false
108
+ */
109
+ disabled?: boolean;
110
+ /**
111
+ * 单击 title 的回调函数
112
+ */
113
+ click?: () => void;
114
+ /**
115
+ * 右键 title 的回调函数
116
+ */
117
+ contextmenu?: (event: MouseEvent) => void;
118
+ /**
119
+ * tab 被选中的回调函数
120
+ */
121
+ select?: () => void;
122
+ /**
123
+ * tab 被取消选中的回调函数
124
+ */
125
+ deselect?: () => void;
126
+ };
127
+ }
@@ -0,0 +1,28 @@
1
+ import { Type } from '@angular/core';
2
+ import { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';
3
+ import type { TabsProps } from './tabs.props';
4
+ import * as i0 from "@angular/core";
5
+ export interface FormlyTabsWrapperConfig extends FormlyFieldConfig<TabsProps> {
6
+ wrappers: ('tabs' | Type<FormlyWrapperTabs>)[];
7
+ }
8
+ export declare class FormlyWrapperTabs extends FieldWrapper<FormlyFieldConfig<TabsProps>> {
9
+ defaultOptions: {
10
+ props: {
11
+ animated: boolean;
12
+ size: "default";
13
+ type: "line";
14
+ tabPosition: "top";
15
+ hideAll: boolean;
16
+ linkRouter: boolean;
17
+ linkExact: boolean;
18
+ centered: boolean;
19
+ hideAdd: boolean;
20
+ tab: {
21
+ forceRender: boolean;
22
+ disabled: boolean;
23
+ };
24
+ };
25
+ };
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperTabs, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperTabs, "formly-wrapper-tabs", never, {}, {}, never, never>;
28
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/textarea" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-textarea.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-textarea.mjs",
4
+ "esm2020": "../esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-textarea.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-textarea.mjs",
7
+ "typings": "ngx-formly-zorro-antd-textarea.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/textarea"
10
+ }
@@ -0,0 +1,2 @@
1
+ export { FormlyNzTextareaModule } from './textarea.module';
2
+ export { FormlyFieldTextarea, FormlyTextareaFieldConfig } from './textarea.type';
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./textarea.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/input";
7
+ import * as i6 from "@ngx-formly/core";
8
+ export declare class FormlyNzTextareaModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzTextareaModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzTextareaModule, [typeof i1.FormlyFieldTextarea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzInputModule, typeof i6.FormlyModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzTextareaModule>;
12
+ }
@@ -0,0 +1,38 @@
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 TextareaProps extends FormlyFieldProps {
6
+ /**
7
+ * 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }
8
+ * @default false
9
+ */
10
+ autosize?: boolean | {
11
+ minRows: number;
12
+ maxRows: number;
13
+ };
14
+ /**
15
+ * 是否隐藏边框
16
+ * @default false
17
+ */
18
+ borderless?: boolean;
19
+ /**
20
+ * textarea 数字提示显示的最大值
21
+ */
22
+ maxCharacterCount?: number;
23
+ }
24
+ export interface FormlyTextareaFieldConfig extends FormlyFieldConfig<TextareaProps> {
25
+ type: 'textarea' | Type<FormlyFieldTextarea>;
26
+ }
27
+ export declare class FormlyFieldTextarea extends FieldType<FieldTypeConfig> {
28
+ defaultOptions: {
29
+ props: {
30
+ rows: number;
31
+ autosize: boolean;
32
+ borderless: boolean;
33
+ };
34
+ };
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextarea, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextarea, "formly-field-textarea", never, {}, {}, never, never>;
37
+ }
38
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/timepicker" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-timepicker.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-timepicker.mjs",
4
+ "esm2020": "../esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-timepicker.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-timepicker.mjs",
7
+ "typings": "ngx-formly-zorro-antd-timepicker.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/timepicker"
10
+ }
@@ -0,0 +1,2 @@
1
+ export { FormlyNzTimepickerModule } from './timepicker.module';
2
+ export { FormlyFieldTimepicker, FormlyTimepickerFieldConfig } from './timepicker.type';
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./timepicker.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/time-picker";
7
+ import * as i6 from "@ngx-formly/core";
8
+ export declare class FormlyNzTimepickerModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzTimepickerModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzTimepickerModule, [typeof i1.FormlyFieldTimepicker], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzTimePickerModule, typeof i6.FormlyModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzTimepickerModule>;
12
+ }
@@ -0,0 +1,131 @@
1
+ import { TemplateRef, Type } from '@angular/core';
2
+ import { DatePipe } from '@angular/common';
3
+ import { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';
4
+ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
5
+ import * as i0 from "@angular/core";
6
+ interface TimepickerProps extends FormlyFieldProps {
7
+ /**
8
+ * 选择框底部显示自定义的内容
9
+ */
10
+ addOn?: TemplateRef<void>;
11
+ /**
12
+ * 是否展示清除按钮
13
+ * @default true
14
+ */
15
+ allowEmpty?: boolean;
16
+ /**
17
+ * 自动获取焦点
18
+ * @default false
19
+ */
20
+ autoFocus?: boolean;
21
+ /**
22
+ * 浮层是否应带有背景板
23
+ * @default false
24
+ */
25
+ backdrop?: boolean;
26
+ /**
27
+ * 清除按钮的提示文案
28
+ * @default clear
29
+ */
30
+ clearText?: string;
31
+ /**
32
+ * 此刻按钮文本
33
+ * @default 此刻
34
+ */
35
+ nowText?: string;
36
+ /**
37
+ * 确认按钮文本
38
+ * @default 确定
39
+ */
40
+ okText?: string;
41
+ /**
42
+ * 当 [ngModel] 不存在时,可以设置面板打开时默认选中的值
43
+ * @default new Date()
44
+ */
45
+ defaultOpenValue?: Date;
46
+ /**
47
+ * 禁止选择部分小时选项
48
+ */
49
+ disabledHours?: () => number[];
50
+ /**
51
+ * 禁止选择部分分钟选项
52
+ */
53
+ disabledMinutes?: (hour: number) => number[];
54
+ /**
55
+ * 禁止选择部分秒选项
56
+ */
57
+ disabledSeconds?: (hour: number, minute: number) => number[];
58
+ /**
59
+ * 展示的时间格式
60
+ * @default "HH:mm:ss"
61
+ */
62
+ format?: DatePipe;
63
+ /**
64
+ * 隐藏禁止选择的选项
65
+ * @default false
66
+ */
67
+ hideDisabledOptions?: boolean;
68
+ /**
69
+ * 小时选项间隔
70
+ * @default 1
71
+ */
72
+ hourStep?: number;
73
+ /**
74
+ * 分钟选项间隔
75
+ * @default 1
76
+ */
77
+ minuteStep?: number;
78
+ /**
79
+ * 秒选项间隔
80
+ * @default 1
81
+ */
82
+ secondStep?: number;
83
+ /**
84
+ * 面板是否打开,可双向绑定
85
+ * @default false
86
+ */
87
+ open?: boolean;
88
+ /**
89
+ * 弹出层类名
90
+ * @default '''
91
+ */
92
+ popupClassName?: string;
93
+ /**
94
+ * 使用12小时制,为true时format默认为h:mm:ss a
95
+ * @default false
96
+ */
97
+ use12Hours?: boolean;
98
+ /**
99
+ * 无边框
100
+ * @default false
101
+ */
102
+ borderless?: boolean;
103
+ /**
104
+ * 自定义的后缀图标
105
+ *
106
+ */
107
+ suffixIcon?: string | TemplateRef<void>;
108
+ /**
109
+ * 面板打开/关闭时的回调
110
+ */
111
+ openChange?: (field: FormlyFieldConfig, value: boolean) => void;
112
+ }
113
+ export interface FormlyTimepickerFieldConfig extends FormlyFieldConfig<TimepickerProps> {
114
+ type: 'timepicker' | Type<FormlyFieldTimepicker>;
115
+ }
116
+ export declare class FormlyFieldTimepicker extends FieldType<FieldTypeConfig> {
117
+ defaultOptions: {
118
+ props: {
119
+ allowEmpty: boolean;
120
+ autoFocus: boolean;
121
+ backdrop: boolean;
122
+ open: boolean;
123
+ clearText: string;
124
+ defaultOpenValue: Date;
125
+ format: any;
126
+ };
127
+ };
128
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTimepicker, never>;
129
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTimepicker, "formly-field-timepicker", never, {}, {}, never, never>;
130
+ }
131
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/transfer" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-transfer.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-transfer.mjs",
4
+ "esm2020": "../esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-transfer.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-transfer.mjs",
7
+ "typings": "ngx-formly-zorro-antd-transfer.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/transfer"
10
+ }
@@ -0,0 +1,2 @@
1
+ export { FormlyNzTransferModule } from './transfer.module';
2
+ export { FormlyFieldTransfer, FormlyTransferFieldConfig } from './transfer.type';
@@ -0,0 +1,26 @@
1
+ import { ControlValueAccessor } from '@angular/forms';
2
+ import { NzTransferComponent } from 'ng-zorro-antd/transfer';
3
+ import type { OnChangeType, OnTouchedType, NzSafeAny } from 'ng-zorro-antd/core/types';
4
+ import type { TransferChange, TransferItem, TransferSearchChange, TransferSelectChange } from 'ng-zorro-antd/transfer';
5
+ import * as i0 from "@angular/core";
6
+ export declare class TransferComponent extends NzTransferComponent implements ControlValueAccessor {
7
+ transfer: NzTransferComponent;
8
+ resultMap?: (items: TransferItem[]) => NzSafeAny[];
9
+ onChange: OnChangeType;
10
+ onTouched: OnTouchedType;
11
+ writeValue(obj: NzSafeAny): void;
12
+ registerOnChange(fn: NzSafeAny): void;
13
+ registerOnTouched(fn: NzSafeAny): void;
14
+ setDisabledState?(isDisabled: boolean): void;
15
+ change(value: TransferChange): void;
16
+ /**
17
+ * 选中项发生改变时的回调函数
18
+ */
19
+ selectChange(value: TransferSelectChange): void;
20
+ /**
21
+ * 搜索框内容时改变时的回调函数
22
+ */
23
+ searchChange(value: TransferSearchChange): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransferComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransferComponent, "formly-transfer", never, { "resultMap": "resultMap"; }, {}, never, never>;
26
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./transfer.type";
3
+ import * as i2 from "./transfer.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "ngx-formly-zorro-antd/form-field";
7
+ import * as i6 from "ng-zorro-antd/transfer";
8
+ import * as i7 from "@ngx-formly/core";
9
+ export declare class FormlyNzTransferModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzTransferModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzTransferModule, [typeof i1.FormlyFieldTransfer, typeof i2.TransferComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.FormlyNzFormFieldModule, typeof i6.NzTransferModule, typeof i7.FormlyModule], never>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzTransferModule>;
13
+ }