ngx-formly-zorro-antd 14.3.0 → 14.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. package/README.md +1 -1
  2. package/autocomplete/autocomplete.props.d.ts +38 -38
  3. package/autocomplete/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/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/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/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/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 +149 -149
  23. package/datepicker/datepicker.type.d.ts +32 -32
  24. package/datepicker/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 -61
  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 -43
  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 -51
  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 -59
  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 -51
  46. package/esm2020/datepicker/datepicker.props.mjs +2 -2
  47. package/esm2020/datepicker/datepicker.type.mjs +196 -196
  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 -45
  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 -41
  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 -89
  62. package/esm2020/input/input.props.mjs +2 -2
  63. package/esm2020/input/input.type.mjs +309 -309
  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 -47
  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 -59
  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 -97
  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 -59
  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 -51
  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 -57
  90. package/esm2020/select/select.props.mjs +2 -2
  91. package/esm2020/select/select.type.mjs +170 -170
  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 -51
  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 -51
  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 -41
  103. package/esm2020/tabs/tabs.props.mjs +2 -2
  104. package/esm2020/tabs/tabs.wrapper.mjs +115 -115
  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 +55 -55
  108. package/esm2020/textarea/textarea.type.mjs +141 -141
  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 -51
  112. package/esm2020/timepicker/timepicker.type.mjs +96 -96
  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 -52
  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 -51
  121. package/esm2020/tree-select/tree-select.type.mjs +100 -101
  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 +253 -253
  125. package/esm2020/upload/upload.module.mjs +60 -60
  126. package/esm2020/upload/upload.props.mjs +2 -2
  127. package/esm2020/upload/upload.type.mjs +129 -129
  128. package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
  129. package/fesm2015/ngx-formly-zorro-antd-button.mjs +152 -152
  130. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
  131. package/fesm2015/ngx-formly-zorro-antd-card.mjs +77 -77
  132. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
  133. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +145 -145
  134. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  135. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +110 -110
  136. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  137. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +229 -229
  138. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  139. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +155 -155
  140. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  141. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +97 -97
  142. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  143. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +102 -102
  144. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  145. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +169 -169
  146. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  147. package/fesm2015/ngx-formly-zorro-antd-input.mjs +376 -376
  148. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
  149. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +134 -134
  150. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  151. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +97 -97
  152. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  153. package/fesm2015/ngx-formly-zorro-antd-select.mjs +206 -206
  154. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
  155. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +101 -101
  156. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  157. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +87 -87
  158. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  159. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +141 -141
  160. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  161. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +176 -176
  162. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  163. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +129 -129
  164. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  165. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +241 -241
  166. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  167. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +133 -134
  168. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  169. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +410 -410
  170. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  171. package/fesm2015/ngx-formly-zorro-antd.mjs +74 -74
  172. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
  173. package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
  174. package/fesm2020/ngx-formly-zorro-antd-button.mjs +152 -152
  175. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
  176. package/fesm2020/ngx-formly-zorro-antd-card.mjs +77 -77
  177. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
  178. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +145 -145
  179. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  180. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +110 -110
  181. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  182. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +229 -229
  183. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  184. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +155 -155
  185. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  186. package/fesm2020/ngx-formly-zorro-antd-grid.mjs +97 -97
  187. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  188. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +102 -102
  189. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  190. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +169 -169
  191. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  192. package/fesm2020/ngx-formly-zorro-antd-input.mjs +376 -376
  193. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
  194. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +134 -134
  195. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  196. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +97 -97
  197. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  198. package/fesm2020/ngx-formly-zorro-antd-select.mjs +206 -206
  199. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
  200. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +101 -101
  201. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  202. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +87 -87
  203. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  204. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +141 -141
  205. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  206. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +176 -176
  207. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  208. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +129 -129
  209. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  210. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +241 -241
  211. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  212. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +133 -134
  213. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  214. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +409 -409
  215. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  216. package/fesm2020/ngx-formly-zorro-antd.mjs +74 -74
  217. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
  218. package/form-field/form-field.module.d.ts +11 -11
  219. package/form-field/form-field.props.d.ts +105 -105
  220. package/form-field/form-field.wrapper.d.ts +9 -9
  221. package/form-field/index.d.ts +5 -5
  222. package/form-field/public_api.d.ts +3 -3
  223. package/grid/grid.module.d.ts +10 -10
  224. package/grid/grid.props.d.ts +44 -44
  225. package/grid/grid.type.d.ts +11 -11
  226. package/grid/index.d.ts +5 -5
  227. package/grid/public_api.d.ts +3 -3
  228. package/index.d.ts +1 -1
  229. package/input/index.d.ts +5 -5
  230. package/input/input.module.d.ts +14 -14
  231. package/input/input.props.d.ts +36 -36
  232. package/input/input.type.d.ts +26 -26
  233. package/input/public_api.d.ts +2 -2
  234. package/input-group/index.d.ts +5 -5
  235. package/input-group/input-group.module.d.ts +11 -11
  236. package/input-group/input-group.props.d.ts +56 -56
  237. package/input-group/input-group.type.d.ts +22 -22
  238. package/input-group/public_api.d.ts +3 -3
  239. package/input-number/index.d.ts +5 -5
  240. package/input-number/input-number.module.d.ts +12 -12
  241. package/input-number/input-number.props.d.ts +81 -81
  242. package/input-number/input-number.type.d.ts +24 -24
  243. package/input-number/public_api.d.ts +2 -2
  244. package/lib/ui-ng-zorro-antd.d.ts +1 -1
  245. package/lib/ui-ng-zorro-antd.module.d.ts +27 -27
  246. package/package.json +1 -1
  247. package/radio/index.d.ts +5 -5
  248. package/radio/public_api.d.ts +2 -2
  249. package/radio/radio.module.d.ts +14 -14
  250. package/radio/radio.type.d.ts +38 -38
  251. package/rate/index.d.ts +5 -5
  252. package/rate/public_api.d.ts +2 -2
  253. package/rate/rate.module.d.ts +12 -12
  254. package/rate/rate.type.d.ts +57 -57
  255. package/select/index.d.ts +5 -5
  256. package/select/public_api.d.ts +2 -2
  257. package/select/select.module.d.ts +13 -13
  258. package/select/select.props.d.ts +171 -171
  259. package/select/select.type.d.ts +36 -36
  260. package/slider/index.d.ts +5 -5
  261. package/slider/public_api.d.ts +2 -2
  262. package/slider/slider.module.d.ts +12 -12
  263. package/slider/slider.type.d.ts +76 -76
  264. package/switch/index.d.ts +5 -5
  265. package/switch/public_api.d.ts +2 -2
  266. package/switch/switch.module.d.ts +12 -12
  267. package/switch/switch.type.d.ts +44 -44
  268. package/tabs/index.d.ts +5 -5
  269. package/tabs/public_api.d.ts +2 -2
  270. package/tabs/tabs.module.d.ts +10 -10
  271. package/tabs/tabs.props.d.ts +126 -126
  272. package/tabs/tabs.wrapper.d.ts +28 -28
  273. package/textarea/index.d.ts +5 -5
  274. package/textarea/public_api.d.ts +2 -2
  275. package/textarea/textarea.module.d.ts +13 -13
  276. package/textarea/textarea.type.d.ts +39 -39
  277. package/timepicker/index.d.ts +5 -5
  278. package/timepicker/public_api.d.ts +2 -2
  279. package/timepicker/timepicker.module.d.ts +12 -12
  280. package/timepicker/timepicker.type.d.ts +138 -138
  281. package/transfer/index.d.ts +5 -5
  282. package/transfer/public_api.d.ts +2 -2
  283. package/transfer/transfer.component.d.ts +26 -26
  284. package/transfer/transfer.module.d.ts +13 -13
  285. package/transfer/transfer.type.d.ts +118 -118
  286. package/tree-select/index.d.ts +5 -5
  287. package/tree-select/public_api.d.ts +2 -2
  288. package/tree-select/tree-select.module.d.ts +12 -12
  289. package/tree-select/tree-select.type.d.ts +163 -164
  290. package/upload/index.d.ts +5 -5
  291. package/upload/public_api.d.ts +2 -2
  292. package/upload/upload.component.d.ts +33 -33
  293. package/upload/upload.module.d.ts +15 -15
  294. package/upload/upload.props.d.ts +173 -173
  295. package/upload/upload.type.d.ts +29 -29
@@ -1,59 +1,59 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ReactiveFormsModule } from '@angular/forms';
4
- import { FormlyModule } from '@ngx-formly/core';
5
- import { FormlySelectModule } from '@ngx-formly/core/select';
6
- import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
7
- import { FormlyFieldRadio } from './radio.type';
8
- import { NzFormModule } from 'ng-zorro-antd/form';
9
- import { NzRadioModule } from 'ng-zorro-antd/radio';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "@ngx-formly/core";
12
- export class FormlyNzRadioModule {
13
- }
14
- FormlyNzRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
15
- FormlyNzRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
16
- ReactiveFormsModule,
17
- FormlyNzFormFieldModule,
18
- FormlySelectModule,
19
- NzFormModule,
20
- NzRadioModule, i1.FormlyModule] });
21
- FormlyNzRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, imports: [CommonModule,
22
- ReactiveFormsModule,
23
- FormlyNzFormFieldModule,
24
- FormlySelectModule,
25
- NzFormModule,
26
- NzRadioModule,
27
- FormlyModule.forChild({
28
- types: [
29
- {
30
- name: 'radio',
31
- component: FormlyFieldRadio,
32
- wrappers: ['form-field']
33
- }
34
- ]
35
- })] });
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, decorators: [{
37
- type: NgModule,
38
- args: [{
39
- declarations: [FormlyFieldRadio],
40
- imports: [
41
- CommonModule,
42
- ReactiveFormsModule,
43
- FormlyNzFormFieldModule,
44
- FormlySelectModule,
45
- NzFormModule,
46
- NzRadioModule,
47
- FormlyModule.forChild({
48
- types: [
49
- {
50
- name: 'radio',
51
- component: FormlyFieldRadio,
52
- wrappers: ['form-field']
53
- }
54
- ]
55
- })
56
- ]
57
- }]
58
- }] });
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxl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nO1xuaW1wb3J0IHsgRm9ybWx5RmllbGRSYWRpbyB9IGZyb20gJy4vcmFkaW8udHlwZSc7XG5cbmltcG9ydCB7IE56Rm9ybU1vZHVsZSB9IGZyb20gJ25nLXpvcnJvLWFudGQvZm9ybSc7XG5pbXBvcnQgeyBOelJhZGlvTW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9yYWRpbyc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0Zvcm1seUZpZWxkUmFkaW9dLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgRm9ybWx5TnpGb3JtRmllbGRNb2R1bGUsXG4gICAgRm9ybWx5U2VsZWN0TW9kdWxlLFxuICAgIE56Rm9ybU1vZHVsZSxcblxuICAgIE56UmFkaW9Nb2R1bGUsXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcbiAgICAgIHR5cGVzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAncmFkaW8nLFxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRSYWRpbyxcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpSYWRpb01vZHVsZSB7fVxuIl19
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ReactiveFormsModule } from '@angular/forms';
4
+ import { FormlyModule } from '@ngx-formly/core';
5
+ import { FormlySelectModule } from '@ngx-formly/core/select';
6
+ import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
7
+ import { FormlyFieldRadio } from './radio.type';
8
+ import { NzFormModule } from 'ng-zorro-antd/form';
9
+ import { NzRadioModule } from 'ng-zorro-antd/radio';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@ngx-formly/core";
12
+ export class FormlyNzRadioModule {
13
+ }
14
+ FormlyNzRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
15
+ FormlyNzRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
16
+ ReactiveFormsModule,
17
+ FormlyNzFormFieldModule,
18
+ FormlySelectModule,
19
+ NzFormModule,
20
+ NzRadioModule, i1.FormlyModule] });
21
+ FormlyNzRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, imports: [CommonModule,
22
+ ReactiveFormsModule,
23
+ FormlyNzFormFieldModule,
24
+ FormlySelectModule,
25
+ NzFormModule,
26
+ NzRadioModule,
27
+ FormlyModule.forChild({
28
+ types: [
29
+ {
30
+ name: 'radio',
31
+ component: FormlyFieldRadio,
32
+ wrappers: ['form-field']
33
+ }
34
+ ]
35
+ })] });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, decorators: [{
37
+ type: NgModule,
38
+ args: [{
39
+ declarations: [FormlyFieldRadio],
40
+ imports: [
41
+ CommonModule,
42
+ ReactiveFormsModule,
43
+ FormlyNzFormFieldModule,
44
+ FormlySelectModule,
45
+ NzFormModule,
46
+ NzRadioModule,
47
+ FormlyModule.forChild({
48
+ types: [
49
+ {
50
+ name: 'radio',
51
+ component: FormlyFieldRadio,
52
+ wrappers: ['form-field']
53
+ }
54
+ ]
55
+ })
56
+ ]
57
+ }]
58
+ }] });
59
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8ubW9kdWxlLmpz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BvcnQgeyBGb3JtbHlGaWVsZFJhZGlvIH0gZnJvbSAnLi9yYWRpby50eXBlJztcclxuXHJcbmltcG9ydCB7IE56Rm9ybU1vZHVsZSB9IGZyb20gJ25nLXpvcnJvLWFudGQvZm9ybSc7XHJcbmltcG9ydCB7IE56UmFkaW9Nb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL3JhZGlvJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbRm9ybWx5RmllbGRSYWRpb10sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcclxuICAgIEZvcm1seU56Rm9ybUZpZWxkTW9kdWxlLFxyXG4gICAgRm9ybWx5U2VsZWN0TW9kdWxlLFxyXG4gICAgTnpGb3JtTW9kdWxlLFxyXG5cclxuICAgIE56UmFkaW9Nb2R1bGUsXHJcbiAgICBGb3JtbHlNb2R1bGUuZm9yQ2hpbGQoe1xyXG4gICAgICB0eXBlczogW1xyXG4gICAgICAgIHtcclxuICAgICAgICAgIG5hbWU6ICdyYWRpbycsXHJcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkUmFkaW8sXHJcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cclxuICAgICAgICB9XHJcbiAgICAgIF1cclxuICAgIH0pXHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpSYWRpb01vZHVsZSB7fVxyXG4iXX0=
@@ -1,96 +1,96 @@
1
- import { Component, ChangeDetectionStrategy } from '@angular/core';
2
- import { FieldType } from '@ngx-formly/core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/forms";
6
- import * as i3 from "ng-zorro-antd/radio";
7
- import * as i4 from "@ngx-formly/core";
8
- import * as i5 from "@ngx-formly/core/select";
9
- export class FormlyFieldRadio extends FieldType {
10
- constructor() {
11
- super(...arguments);
12
- this.defaultOptions = {
13
- props: {
14
- size: 'default',
15
- buttonStyle: 'outline'
16
- }
17
- };
18
- }
19
- }
20
- FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
21
- FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
22
- <nz-radio-group
23
- [formControl]="formControl"
24
- [formlyAttributes]="field"
25
- [nzName]="field.name ?? null"
26
- [nzSize]="props['size']!"
27
- [nzButtonStyle]="props['buttonStyle']!"
28
- (ngModelChange)="props.change && props.change(field, $event)"
29
- >
30
- <ng-container *ngIf="props.type !== 'button'; else button">
31
- <label
32
- *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
33
- [id]="id + '_' + i"
34
- [nzDisabled]="option.disabled === true"
35
- [nzValue]="option.value"
36
- nz-radio
37
- >
38
- {{ option.label }}
39
- </label>
40
- </ng-container>
41
-
42
- <ng-template #button>
43
- <label
44
- *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
45
- [id]="id + '_' + i"
46
- [nzDisabled]="option.disabled === true"
47
- [nzValue]="option.value"
48
- nz-radio-button
49
- >
50
- {{ option.label }}
51
- </label>
52
- </ng-template>
53
- </nz-radio-group>
54
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }, { kind: "directive", type: i3.NzRadioButtonDirective, selector: "[nz-radio-button]" }, { kind: "component", type: i3.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, decorators: [{
56
- type: Component,
57
- args: [{
58
- selector: 'formly-field-radio',
59
- template: `
60
- <nz-radio-group
61
- [formControl]="formControl"
62
- [formlyAttributes]="field"
63
- [nzName]="field.name ?? null"
64
- [nzSize]="props['size']!"
65
- [nzButtonStyle]="props['buttonStyle']!"
66
- (ngModelChange)="props.change && props.change(field, $event)"
67
- >
68
- <ng-container *ngIf="props.type !== 'button'; else button">
69
- <label
70
- *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
71
- [id]="id + '_' + i"
72
- [nzDisabled]="option.disabled === true"
73
- [nzValue]="option.value"
74
- nz-radio
75
- >
76
- {{ option.label }}
77
- </label>
78
- </ng-container>
79
-
80
- <ng-template #button>
81
- <label
82
- *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
83
- [id]="id + '_' + i"
84
- [nzDisabled]="option.disabled === true"
85
- [nzValue]="option.value"
86
- nz-radio-button
87
- >
88
- {{ option.label }}
89
- </label>
90
- </ng-template>
91
- </nz-radio-group>
92
- `,
93
- changeDetection: ChangeDetectionStrategy.OnPush
94
- }]
95
- }] });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IDwvbGFiZWw+XG4gICAgICA8L25nLWNvbnRhaW5lcj5cblxuICAgICAgPG5nLXRlbXBsYXRlICNidXR0b24+XG4gICAgICAgIDxsYWJlbFxuICAgICAgICAgICpuZ0Zvcj1cImxldCBvcHRpb24gb2YgcHJvcHMub3B0aW9ucyB8IGZvcm1seVNlbGVjdE9wdGlvbnM6IGZpZWxkIHwgYXN5bmM7IGxldCBpID0gaW5kZXhcIlxuICAgICAgICAgIFtpZF09XCJpZCArICdfJyArIGlcIlxuICAgICAgICAgIFtuekRpc2FibGVkXT1cIm9wdGlvbi5kaXNhYmxlZCA9PT0gdHJ1ZVwiXG4gICAgICAgICAgW256VmFsdWVdPVwib3B0aW9uLnZhbHVlXCJcbiAgICAgICAgICBuei1yYWRpby1idXR0b25cbiAgICAgICAgPlxuICAgICAgICAgIHt7IG9wdGlvbi5sYWJlbCB9fVxuICAgICAgICA8L2xhYmVsPlxuICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICA8L256LXJhZGlvLWdyb3VwPlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFJhZGlvIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxSYWRpb1Byb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgYnV0dG9uU3R5bGU6ICdvdXRsaW5lJyBhcyBjb25zdFxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
1
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
2
+ import { FieldType } from '@ngx-formly/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/forms";
6
+ import * as i3 from "ng-zorro-antd/radio";
7
+ import * as i4 from "@ngx-formly/core";
8
+ import * as i5 from "@ngx-formly/core/select";
9
+ export class FormlyFieldRadio extends FieldType {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.defaultOptions = {
13
+ props: {
14
+ size: 'default',
15
+ buttonStyle: 'outline'
16
+ }
17
+ };
18
+ }
19
+ }
20
+ FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
21
+ FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
22
+ <nz-radio-group
23
+ [formControl]="formControl"
24
+ [formlyAttributes]="field"
25
+ [nzName]="field.name ?? null"
26
+ [nzSize]="props['size']!"
27
+ [nzButtonStyle]="props['buttonStyle']!"
28
+ (ngModelChange)="props.change && props.change(field, $event)"
29
+ >
30
+ <ng-container *ngIf="props.type !== 'button'; else button">
31
+ <label
32
+ *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
33
+ [id]="id + '_' + i"
34
+ [nzDisabled]="option.disabled === true"
35
+ [nzValue]="option.value"
36
+ nz-radio
37
+ >
38
+ {{ option.label }}
39
+ </label>
40
+ </ng-container>
41
+
42
+ <ng-template #button>
43
+ <label
44
+ *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
45
+ [id]="id + '_' + i"
46
+ [nzDisabled]="option.disabled === true"
47
+ [nzValue]="option.value"
48
+ nz-radio-button
49
+ >
50
+ {{ option.label }}
51
+ </label>
52
+ </ng-template>
53
+ </nz-radio-group>
54
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }, { kind: "directive", type: i3.NzRadioButtonDirective, selector: "[nz-radio-button]" }, { kind: "component", type: i3.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, decorators: [{
56
+ type: Component,
57
+ args: [{
58
+ selector: 'formly-field-radio',
59
+ template: `
60
+ <nz-radio-group
61
+ [formControl]="formControl"
62
+ [formlyAttributes]="field"
63
+ [nzName]="field.name ?? null"
64
+ [nzSize]="props['size']!"
65
+ [nzButtonStyle]="props['buttonStyle']!"
66
+ (ngModelChange)="props.change && props.change(field, $event)"
67
+ >
68
+ <ng-container *ngIf="props.type !== 'button'; else button">
69
+ <label
70
+ *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
71
+ [id]="id + '_' + i"
72
+ [nzDisabled]="option.disabled === true"
73
+ [nzValue]="option.value"
74
+ nz-radio
75
+ >
76
+ {{ option.label }}
77
+ </label>
78
+ </ng-container>
79
+
80
+ <ng-template #button>
81
+ <label
82
+ *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
83
+ [id]="id + '_' + i"
84
+ [nzDisabled]="option.disabled === true"
85
+ [nzValue]="option.value"
86
+ nz-radio-button
87
+ >
88
+ {{ option.label }}
89
+ </label>
90
+ </ng-template>
91
+ </nz-radio-group>
92
+ `,
93
+ changeDetection: ChangeDetectionStrategy.OnPush
94
+ }]
95
+ }] });
96
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8udHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvcmFkaW8vc3JjL3JhZGlvLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBUSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7O0FBb0VqRixNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsU0FBc0M7SUF0QzVFOztRQXVDVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxJQUFJLEVBQUUsU0FBa0I7Z0JBQ3hCLFdBQVcsRUFBRSxTQUFrQjthQUNoQztTQUNGLENBQUM7S0FDSDs7NkdBUFksZ0JBQWdCO2lHQUFoQixnQkFBZ0IsaUZBcENqQjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBaUNUOzJGQUdVLGdCQUFnQjtrQkF0QzVCLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLG9CQUFvQjtvQkFDOUIsUUFBUSxFQUFFOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FpQ1Q7b0JBQ0QsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07aUJBQ2hEIiwic291cmNlc0Nvb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8IGFzeW5jOyBsZXQgaSA9IGluZGV4XCJcclxuICAgICAgICAgIFtpZF09XCJpZCArICdfJyArIGlcIlxyXG4gICAgICAgICAgW256RGlzYWJsZWRdPVwib3B0aW9uLmRpc2FibGVkID09PSB0cnVlXCJcclxuICAgICAgICAgIFtuelZhbHVlXT1cIm9wdGlvbi52YWx1ZVwiXHJcbiAgICAgICAgICBuei1yYWRpb1xyXG4gICAgICAgID5cclxuICAgICAgICAgIHt7IG9wdGlvbi5sYWJlbCB9fVxyXG4gICAgICAgIDwvbGFiZWw+XHJcbiAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgPG5nLXRlbXBsYXRlICNidXR0b24+XHJcbiAgICAgICAgPGxhYmVsXHJcbiAgICAgICAgICAqbmdGb3I9XCJsZXQgb3B0aW9uIG9mIHByb3BzLm9wdGlvbnMgfCBmb3JtbHlTZWxlY3RPcHRpb25zOiBmaWVsZCB8IGFzeW5jOyBsZXQgaSA9IGluZGV4XCJcclxuICAgICAgICAgIFtpZF09XCJpZCArICdfJyArIGlcIlxyXG4gICAgICAgICAgW256RGlzYWJsZWRdPVwib3B0aW9uLmRpc2FibGVkID09PSB0cnVlXCJcclxuICAgICAgICAgIFtuelZhbHVlXT1cIm9wdGlvbi52YWx1ZVwiXHJcbiAgICAgICAgICBuei1yYWRpby1idXR0b25cclxuICAgICAgICA+XHJcbiAgICAgICAgICB7eyBvcHRpb24ubGFiZWwgfX1cclxuICAgICAgICA8L2xhYmVsPlxyXG4gICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgPC9uei1yYWRpby1ncm91cD5cclxuICBgLFxyXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFJhZGlvIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxSYWRpb1Byb3BzPj4ge1xyXG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xyXG4gICAgcHJvcHM6IHtcclxuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxyXG4gICAgICBidXR0b25TdHlsZTogJ291dGxpbmUnIGFzIGNvbnN0XHJcbiAgICB9XHJcbiAgfTtcclxufVxyXG4iXX0=
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public_api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public_api';
5
5
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXJhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3JhdGUvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC1yYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
@@ -1,3 +1,3 @@
1
- export { FormlyNzRateModule } from './rate.module';
2
- export { FormlyFieldRate } from './rate.type';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvcmF0ZS9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBeUIsTUFBTSxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelJhdGVNb2R1bGUgfSBmcm9tICcuL3JhdGUubW9kdWxlJztcbmV4cG9ydCB7IEZvcm1seUZpZWxkUmF0ZSwgRm9ybWx5UmF0ZUZpZWxkQ29uZmlnIH0gZnJvbSAnLi9yYXRlLnR5cGUnO1xuIl19
1
+ export { FormlyNzRateModule } from './rate.module';
2
+ export { FormlyFieldRate } from './rate.type';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvcmF0ZS9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBeUIsTUFBTSxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelJhdGVNb2R1bGUgfSBmcm9tICcuL3JhdGUubW9kdWxlJztcclxuZXhwb3J0IHsgRm9ybWx5RmllbGRSYXRlLCBGb3JtbHlSYXRlRmllbGRDb25maWcgfSBmcm9tICcuL3JhdGUudHlwZSc7XHJcbiJdfQ==
@@ -1,51 +1,51 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ReactiveFormsModule } from '@angular/forms';
4
- import { FormlyModule } from '@ngx-formly/core';
5
- import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
6
- import { NzRateModule } from 'ng-zorro-antd/rate';
7
- import { FormlyFieldRate } from './rate.type';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@ngx-formly/core";
10
- export class FormlyNzRateModule {
11
- }
12
- FormlyNzRateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- FormlyNzRateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, declarations: [FormlyFieldRate], imports: [CommonModule,
14
- ReactiveFormsModule,
15
- FormlyNzFormFieldModule,
16
- NzRateModule, i1.FormlyModule] });
17
- FormlyNzRateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, imports: [CommonModule,
18
- ReactiveFormsModule,
19
- FormlyNzFormFieldModule,
20
- NzRateModule,
21
- FormlyModule.forChild({
22
- types: [
23
- {
24
- name: 'rate',
25
- component: FormlyFieldRate,
26
- wrappers: ['form-field']
27
- }
28
- ]
29
- })] });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, decorators: [{
31
- type: NgModule,
32
- args: [{
33
- declarations: [FormlyFieldRate],
34
- imports: [
35
- CommonModule,
36
- ReactiveFormsModule,
37
- FormlyNzFormFieldModule,
38
- NzRateModule,
39
- FormlyModule.forChild({
40
- types: [
41
- {
42
- name: 'rate',
43
- component: FormlyFieldRate,
44
- wrappers: ['form-field']
45
- }
46
- ]
47
- })
48
- ]
49
- }]
50
- }] });
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0ZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3JhdGUvc3JjL3JhdGUubW9kdWxlLnRzIl0s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gICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkUmF0ZSxcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpSYXRlTW9kdWxlIHt9XG4iXX0=
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ReactiveFormsModule } from '@angular/forms';
4
+ import { FormlyModule } from '@ngx-formly/core';
5
+ import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
6
+ import { NzRateModule } from 'ng-zorro-antd/rate';
7
+ import { FormlyFieldRate } from './rate.type';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@ngx-formly/core";
10
+ export class FormlyNzRateModule {
11
+ }
12
+ FormlyNzRateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ FormlyNzRateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, declarations: [FormlyFieldRate], imports: [CommonModule,
14
+ ReactiveFormsModule,
15
+ FormlyNzFormFieldModule,
16
+ NzRateModule, i1.FormlyModule] });
17
+ FormlyNzRateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, imports: [CommonModule,
18
+ ReactiveFormsModule,
19
+ FormlyNzFormFieldModule,
20
+ NzRateModule,
21
+ FormlyModule.forChild({
22
+ types: [
23
+ {
24
+ name: 'rate',
25
+ component: FormlyFieldRate,
26
+ wrappers: ['form-field']
27
+ }
28
+ ]
29
+ })] });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, decorators: [{
31
+ type: NgModule,
32
+ args: [{
33
+ declarations: [FormlyFieldRate],
34
+ imports: [
35
+ CommonModule,
36
+ ReactiveFormsModule,
37
+ FormlyNzFormFieldModule,
38
+ NzRateModule,
39
+ FormlyModule.forChild({
40
+ types: [
41
+ {
42
+ name: 'rate',
43
+ component: FormlyFieldRate,
44
+ wrappers: ['form-field']
45
+ }
46
+ ]
47
+ })
48
+ ]
49
+ }]
50
+ }] });
51
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0ZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3JhdGUvc3JjL3JhdGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFbEQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGFBQWEsQ0FBQzs7O0FBcUI5QyxNQUFNLE9BQU8sa0JBQWtCOzsrR0FBbEIsa0JBQWtCO2dIQUFsQixrQkFBa0IsaUJBbEJkLGVBQWUsYUFFNUIsWUFBWTtRQUNaLG1CQUFtQjtRQUNuQix1QkFBdUI7UUFDdkIsWUFBWTtnSEFhSCxrQkFBa0IsWUFoQjNCLFlBQVk7UUFDW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dGVNb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL3JhdGUnO1xyXG5cclxuaW1wb3J0IHsgRm9ybWx5RmllbGRSYXRlIH0gZnJvbSAnLi9yYXRlLnR5cGUnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZFJhdGVdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXHJcbiAgICBGb3JtbHlOekZvcm1GaWVsZE1vZHVsZSxcclxuICAgIE56UmF0ZU1vZHVsZSxcclxuXHJcbiAgICBGb3JtbHlNb2R1bGUuZm9yQ2hpbGQoe1xyXG4gICAgICB0eXBlczogW1xyXG4gICAgICAgIHtcclxuICAgICAgICAgIG5hbWU6ICdyYXRlJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRSYXRlLFxyXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXHJcbiAgICAgICAgfVxyXG4gICAgICBdXHJcbiAgICB9KVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seU56UmF0ZU1vZHVsZSB7fVxyXG4iXX0=
@@ -1,63 +1,63 @@
1
- import { Component, ChangeDetectionStrategy } from '@angular/core';
2
- import { FieldType } from '@ngx-formly/core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/forms";
5
- import * as i2 from "ng-zorro-antd/rate";
6
- import * as i3 from "@ngx-formly/core";
7
- export class FormlyFieldRate extends FieldType {
8
- constructor() {
9
- super(...arguments);
10
- this.defaultOptions = {
11
- props: {
12
- allowClear: true,
13
- allowHalf: false,
14
- autoFocus: false,
15
- count: 5,
16
- tooltips: []
17
- }
18
- };
19
- }
20
- }
21
- FormlyFieldRate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, deps: null, target: i0.ɵɵFactoryTarget.Component });
22
- FormlyFieldRate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRate, selector: "formly-field-rate", usesInheritance: true, ngImport: i0, template: `
23
- <nz-rate
24
- [formControl]="formControl"
25
- [formlyAttributes]="field"
26
- [nzAllowClear]="props['allowClear']!!"
27
- [nzAllowHalf]="props['allowHalf']!!"
28
- [nzAutoFocus]="props['autoFocus']!!"
29
- [nzCharacter]="props['character']!"
30
- [nzCount]="props['count']"
31
- [nzTooltips]="props['tooltips']!"
32
- (ngModelChange)="props.change && props.change(field, $event)"
33
- (nzOnBlur)="props.blur && props.blur(field, $event)"
34
- (nzOnFocus)="props.focus && props.focus(field, $event)"
35
- (nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
36
- (nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
37
- ></nz-rate>
38
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, decorators: [{
40
- type: Component,
41
- args: [{
42
- selector: 'formly-field-rate',
43
- template: `
44
- <nz-rate
45
- [formControl]="formControl"
46
- [formlyAttributes]="field"
47
- [nzAllowClear]="props['allowClear']!!"
48
- [nzAllowHalf]="props['allowHalf']!!"
49
- [nzAutoFocus]="props['autoFocus']!!"
50
- [nzCharacter]="props['character']!"
51
- [nzCount]="props['count']"
52
- [nzTooltips]="props['tooltips']!"
53
- (ngModelChange)="props.change && props.change(field, $event)"
54
- (nzOnBlur)="props.blur && props.blur(field, $event)"
55
- (nzOnFocus)="props.focus && props.focus(field, $event)"
56
- (nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
57
- (nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
58
- ></nz-rate>
59
- `,
60
- changeDetection: ChangeDetectionStrategy.OnPush
61
- }]
62
- }] });
63
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0ZS50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9yYXRlL3NyYy9yYXRlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7QUF1RWpGLE1BQU0sT0FBTyxlQUFnQixTQUFRLFNBQXFDO0lBckIxRTs7UUFzQlcsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsVUFBVSxFQUFFLElBQUk7Z0JBQ2hCLFNBQVMsRUFBRSxLQUFLO2dCQUNoQixTQUFTLEVBQUUsS0FBSztnQkFDaEIsS0FBSyxFQUFFLENBQUM7Z0JBQ1IsUUFBUSxFQUFFLEVBQUU7YUFDYjtTQUNGLENBQUM7S0FDSDs7NEdBVlksZUFBZTtnR0FBZixlQUFlLGdGQW5CaEI7Ozs7Ozs7Ozs7Ozs7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1snY291bnQnXVwiXG4gICAgICBbbnpUb29sdGlwc109XCJwcm9wc1sndG9vbHRpcHMnXSFcIlxuICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwicHJvcHMuY2hhbmdlICYmIHByb3BzLmNoYW5nZShmaWVsZCwgJGV2ZW50KVwiXG4gICAgICAobnpPbkJsdXIpPVwicHJvcHMuYmx1ciAmJiBwcm9wcy5ibHVyKGZpZWxkLCAkZXZlbnQpXCJcbiAgICAgIChuek9uRm9jdXMpPVwicHJvcHMuZm9jdXMgJiYgcHJvcHMuZm9jdXMoZmllbGQsICRldmVudClcIlxuICAgICAgKG56T25Ib3ZlckNoYW5nZSk9XCJwcm9wc1snaG92ZXJDaGFuZ2UnXSAmJiBwcm9wc1snaG92ZXJDaGFuZ2UnXShmaWVsZCwgJGV2ZW50KVwiXG4gICAgICAobnpPbktleURvd24pPVwicHJvcHMua2V5ZG93biAmJiBwcm9wcy5rZXlkb3duKGZpZWxkLCAkZXZlbnQpXCJcbiAgICA+PC9uei1yYXRlPlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFJhdGUgZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPFJhdGVQcm9wcz4+IHtcbiAgb3ZlcnJpZGUgZGVmYXVsdE9wdGlvbnMgPSB7XG4gICAgcHJvcHM6IHtcbiAgICAgIGFsbG93Q2xlYXI6IHRydWUsXG4gICAgICBhbGxvd0hhbGY6IGZhbHNlLFxuICAgICAgYXV0b0ZvY3VzOiBmYWxzZSxcbiAgICAgIGNvdW50OiA1LFxuICAgICAgdG9vbHRpcHM6IFtdXG4gICAgfVxuICB9O1xufVxuIl19
1
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
2
+ import { FieldType } from '@ngx-formly/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/forms";
5
+ import * as i2 from "ng-zorro-antd/rate";
6
+ import * as i3 from "@ngx-formly/core";
7
+ export class FormlyFieldRate extends FieldType {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.defaultOptions = {
11
+ props: {
12
+ allowClear: true,
13
+ allowHalf: false,
14
+ autoFocus: false,
15
+ count: 5,
16
+ tooltips: []
17
+ }
18
+ };
19
+ }
20
+ }
21
+ FormlyFieldRate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, deps: null, target: i0.ɵɵFactoryTarget.Component });
22
+ FormlyFieldRate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRate, selector: "formly-field-rate", usesInheritance: true, ngImport: i0, template: `
23
+ <nz-rate
24
+ [formControl]="formControl"
25
+ [formlyAttributes]="field"
26
+ [nzAllowClear]="props['allowClear']!!"
27
+ [nzAllowHalf]="props['allowHalf']!!"
28
+ [nzAutoFocus]="props['autoFocus']!!"
29
+ [nzCharacter]="props['character']!"
30
+ [nzCount]="props['count']"
31
+ [nzTooltips]="props['tooltips']!"
32
+ (ngModelChange)="props.change && props.change(field, $event)"
33
+ (nzOnBlur)="props.blur && props.blur(field, $event)"
34
+ (nzOnFocus)="props.focus && props.focus(field, $event)"
35
+ (nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
36
+ (nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
37
+ ></nz-rate>
38
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, decorators: [{
40
+ type: Component,
41
+ args: [{
42
+ selector: 'formly-field-rate',
43
+ template: `
44
+ <nz-rate
45
+ [formControl]="formControl"
46
+ [formlyAttributes]="field"
47
+ [nzAllowClear]="props['allowClear']!!"
48
+ [nzAllowHalf]="props['allowHalf']!!"
49
+ [nzAutoFocus]="props['autoFocus']!!"
50
+ [nzCharacter]="props['character']!"
51
+ [nzCount]="props['count']"
52
+ [nzTooltips]="props['tooltips']!"
53
+ (ngModelChange)="props.change && props.change(field, $event)"
54
+ (nzOnBlur)="props.blur && props.blur(field, $event)"
55
+ (nzOnFocus)="props.focus && props.focus(field, $event)"
56
+ (nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
57
+ (nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
58
+ ></nz-rate>
59
+ `,
60
+ changeDetection: ChangeDetectionStrategy.OnPush
61
+ }]
62
+ }] });
63
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0ZS50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9yYXRlL3NyYy9yYXRlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7QUF1RWp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