ngx-formly-zorro-antd 14.2.2 → 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 -167
  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 -98
  122. package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +4 -4
  123. package/esm2020/upload/public_api.mjs +3 -3
  124. package/esm2020/upload/upload.component.mjs +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 -203
  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 -131
  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 -203
  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 -131
  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 +2 -2
  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 -166
  259. package/select/select.type.d.ts +36 -35
  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 -158
  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,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 { FormlyFieldSlider } from './slider.type';
7
- import { NzSliderModule } from 'ng-zorro-antd/slider';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@ngx-formly/core";
10
- export class FormlyNzSliderModule {
11
- }
12
- FormlyNzSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- FormlyNzSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
14
- ReactiveFormsModule,
15
- FormlyNzFormFieldModule,
16
- NzSliderModule, i1.FormlyModule] });
17
- FormlyNzSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
18
- ReactiveFormsModule,
19
- FormlyNzFormFieldModule,
20
- NzSliderModule,
21
- FormlyModule.forChild({
22
- types: [
23
- {
24
- name: 'slider',
25
- component: FormlyFieldSlider,
26
- wrappers: ['form-field']
27
- }
28
- ]
29
- })] });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
31
- type: NgModule,
32
- args: [{
33
- declarations: [FormlyFieldSlider],
34
- imports: [
35
- CommonModule,
36
- ReactiveFormsModule,
37
- FormlyNzFormFieldModule,
38
- NzSliderModule,
39
- FormlyModule.forChild({
40
- types: [
41
- {
42
- name: 'slider',
43
- component: FormlyFieldSlider,
44
- wrappers: ['form-field']
45
- }
46
- ]
47
- })
48
- ]
49
- }]
50
- }] });
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc2xpZGVyL3NyYy9zbGlk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gICAgIG5hbWU6ICdzbGlkZXInLFxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRTbGlkZXIsXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56U2xpZGVyTW9kdWxlIHt9XG4iXX0=
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 { FormlyFieldSlider } from './slider.type';
7
+ import { NzSliderModule } from 'ng-zorro-antd/slider';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@ngx-formly/core";
10
+ export class FormlyNzSliderModule {
11
+ }
12
+ FormlyNzSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ FormlyNzSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
14
+ ReactiveFormsModule,
15
+ FormlyNzFormFieldModule,
16
+ NzSliderModule, i1.FormlyModule] });
17
+ FormlyNzSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
18
+ ReactiveFormsModule,
19
+ FormlyNzFormFieldModule,
20
+ NzSliderModule,
21
+ FormlyModule.forChild({
22
+ types: [
23
+ {
24
+ name: 'slider',
25
+ component: FormlyFieldSlider,
26
+ wrappers: ['form-field']
27
+ }
28
+ ]
29
+ })] });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
31
+ type: NgModule,
32
+ args: [{
33
+ declarations: [FormlyFieldSlider],
34
+ imports: [
35
+ CommonModule,
36
+ ReactiveFormsModule,
37
+ FormlyNzFormFieldModule,
38
+ NzSliderModule,
39
+ FormlyModule.forChild({
40
+ types: [
41
+ {
42
+ name: 'slider',
43
+ component: FormlyFieldSlider,
44
+ wrappers: ['form-field']
45
+ }
46
+ ]
47
+ })
48
+ ]
49
+ }]
50
+ }] });
51
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc2xpZGVyL3NyYy9zbGlkZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHNCQUFzQixDQUFDOzs7QUFxQnRELE1BQU0sT0FBTyxvQkFBb0I7O2lIQUFwQixvQkFBb0I7a0hBQXBCLG9CQUFvQixpQkFsQmhCLGlCQUFpQixhQUU5QixZQUFZO1FBQ1osbUJBQW1CO1FBQ25C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3JtbHktem9ycm8tYW50ZC9mb3JtLWZpZWxkJztcclxuXHJcbmltcG9ydCB7IEZvcm1seUZpZWxkU2xpZGVyIH0gZnJvbSAnLi9zbGlkZXIudHlwZSc7XHJcbmltcG9ydCB7IE56U2xpZGVyTW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9zbGlkZXInO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZFNsaWRlcl0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcclxuICAgIEZvcm1seU56Rm9ybUZpZWxkTW9kdWxlLFxyXG4gICAgTnpTbGlkZXJNb2R1bGUsXHJcblxyXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcclxuICAgICAgdHlwZXM6IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICBuYW1lOiAnc2xpZGVyJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRTbGlkZXIsXHJcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cclxuICAgICAgICB9XHJcbiAgICAgIF1cclxuICAgIH0pXHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpTbGlkZXJNb2R1bGUge31cclxuIl19
@@ -1,67 +1,67 @@
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/slider";
6
- import * as i3 from "@ngx-formly/core";
7
- export class FormlyFieldSlider extends FieldType {
8
- constructor() {
9
- super(...arguments);
10
- this.defaultOptions = {
11
- props: {
12
- max: 100,
13
- min: 0,
14
- step: 1,
15
- dots: false,
16
- included: true,
17
- range: false,
18
- vertical: false,
19
- reverse: false,
20
- tooltipVisible: 'default'
21
- }
22
- };
23
- }
24
- }
25
- FormlyFieldSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
- FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldSlider, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
27
- #slider
28
- [formControl]="formControl"
29
- [formlyAttributes]="field"
30
- [nzDots]="props['dots']!!"
31
- [nzIncluded]="props['included']!!"
32
- [nzMax]="props.max"
33
- [nzMin]="props.min"
34
- [nzRange]="props['range']!!"
35
- [nzStep]="props.step"
36
- [nzTipFormatter]="props['tipFormatter']"
37
- [nzVertical]="props['vertical']!!"
38
- [nzReverse]="props['reverse']!!"
39
- [nzTooltipVisible]="props['tooltipVisible']!"
40
- (ngModelChange)="props.change && props.change(field, $event)"
41
- (nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
42
- ></nz-slider>`, 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.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzDefaultValue", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSlider, decorators: [{
44
- type: Component,
45
- args: [{
46
- selector: 'formly-field-slider',
47
- template: `<nz-slider
48
- #slider
49
- [formControl]="formControl"
50
- [formlyAttributes]="field"
51
- [nzDots]="props['dots']!!"
52
- [nzIncluded]="props['included']!!"
53
- [nzMax]="props.max"
54
- [nzMin]="props.min"
55
- [nzRange]="props['range']!!"
56
- [nzStep]="props.step"
57
- [nzTipFormatter]="props['tipFormatter']"
58
- [nzVertical]="props['vertical']!!"
59
- [nzReverse]="props['reverse']!!"
60
- [nzTooltipVisible]="props['tooltipVisible']!"
61
- (ngModelChange)="props.change && props.change(field, $event)"
62
- (nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
63
- ></nz-slider>`,
64
- changeDetection: ChangeDetectionStrategy.OnPush
65
- }]
66
- }] });
67
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NsaWRlci9zcmMvc2xpZGVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7OztBQXlGakYsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFNBQXNDO0lBckI3RTs7UUFzQlcsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsR0FBRyxFQUFFLEdBQUc7Z0JBQ1IsR0FBRyxFQUFFLENBQUM7Z0JBQ04sSUFBSSxFQUFFLENBQUM7Z0JBQ1AsSUFBSSxFQUFFLEtBQUs7Z0JBQ1gsUUFBUSxFQUFFLElBQUk7Z0JBQ2QsS0FBSy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9vbHRpcFZpc2libGU6ICdkZWZhdWx0JyBhcyBjb25zdFxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
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/slider";
6
+ import * as i3 from "@ngx-formly/core";
7
+ export class FormlyFieldSlider extends FieldType {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.defaultOptions = {
11
+ props: {
12
+ max: 100,
13
+ min: 0,
14
+ step: 1,
15
+ dots: false,
16
+ included: true,
17
+ range: false,
18
+ vertical: false,
19
+ reverse: false,
20
+ tooltipVisible: 'default'
21
+ }
22
+ };
23
+ }
24
+ }
25
+ FormlyFieldSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
+ FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldSlider, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
27
+ #slider
28
+ [formControl]="formControl"
29
+ [formlyAttributes]="field"
30
+ [nzDots]="props['dots']!!"
31
+ [nzIncluded]="props['included']!!"
32
+ [nzMax]="props.max"
33
+ [nzMin]="props.min"
34
+ [nzRange]="props['range']!!"
35
+ [nzStep]="props.step"
36
+ [nzTipFormatter]="props['tipFormatter']"
37
+ [nzVertical]="props['vertical']!!"
38
+ [nzReverse]="props['reverse']!!"
39
+ [nzTooltipVisible]="props['tooltipVisible']!"
40
+ (ngModelChange)="props.change && props.change(field, $event)"
41
+ (nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
42
+ ></nz-slider>`, 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.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzDefaultValue", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSlider, decorators: [{
44
+ type: Component,
45
+ args: [{
46
+ selector: 'formly-field-slider',
47
+ template: `<nz-slider
48
+ #slider
49
+ [formControl]="formControl"
50
+ [formlyAttributes]="field"
51
+ [nzDots]="props['dots']!!"
52
+ [nzIncluded]="props['included']!!"
53
+ [nzMax]="props.max"
54
+ [nzMin]="props.min"
55
+ [nzRange]="props['range']!!"
56
+ [nzStep]="props.step"
57
+ [nzTipFormatter]="props['tipFormatter']"
58
+ [nzVertical]="props['vertical']!!"
59
+ [nzReverse]="props['reverse']!!"
60
+ [nzTooltipVisible]="props['tooltipVisible']!"
61
+ (ngModelChange)="props.change && props.change(field, $event)"
62
+ (nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
63
+ ></nz-slider>`,
64
+ changeDetection: ChangeDetectionStrategy.OnPush
65
+ }]
66
+ }] });
67
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NsaWRlci9zcmMvc2xpZGVyLnR5cGUudHMiXSwibm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dlPzogYm9vbGVhbjtcclxuXHJcbiAgLyoqXHJcbiAgICogU2xpZGVyIOS8muaKiuW9k+WJjeWAvOS8oOe7mSBuelRpcEZvcm1hdHRlcu+8jOW5tuWcqCBUb29sdGlwIOS4reaYvuekuiBuelRpcEZvcm1hdHRlciDnmoTov5Tlm57lgLzvvIzoi6XkuLogbnVsbO+8jOWImemakOiXjyBUb29sdGlw44CCXHJcbiAgICovXHJcbiAgdGlwRm9ybWF0dGVyPzogKHZhbHVlOiBudW1iZXIpID0+IHN0cmluZztcclxuXHJcbiAgLyoqXHJcbiAgICog5YC85Li6IHRydWUg5pe277yMU2xpZGVyIOS4uuWeguebtOaWueWQkVxyXG4gICAqIEBkZWZhdWx0IGZhbHNlXHJcbiAgICovXHJcbiAgdmVydGljYWw/OiBib29sZWFuO1xyXG5cclxuICAvKipcclxuICAgKiDlj43lkJHlnZDmoIfovbRcclxuICAgKiBAZGVmYXVsdCBmYWxzZVxyXG4gICAqL1xyXG4gIHJldmVyc2U/OiBib29sZWFuO1xyXG5cclxuICAvKipcclxuICAgKiDlgLzkuLogYWx3YXlzIOaXtuaAu+aYr+aYvuekuu+8jOWAvOS4uiBuZXZlciDml7blnKjku7vkvZXmg4XlhrXkuIvpg73kuI3mmL7npLpcclxuICAgKiBAZGVmYXVsdCBkZWZhdWx0XHJcbiAgICovXHJcbiAgdG9vbHRpcFZpc2libGU/OiBOelNsaWRlclNob3dUb29sdGlwO1xyXG5cclxuICAvKipcclxuICAgKiDorr7nva4gVG9vbHRpcCDnmoTpu5jorqTkvY3nva7jgIJcclxuICAgKi9cclxuICB0b29sdGlwUGxhY2VtZW50Pzogc3RyaW5nO1xyXG5cclxuICAvKipcclxuICAgKiDkuI4gb25tb3VzZXVwIOinpuWPkeaXtuacuuS4gOiHtO+8jOaKiuW9k+WJjeWAvOS9nOS4uuWPguaVsOS8oOWFpeOAglxyXG4gICAqL1xyXG4gIGFmdGVyQ2hhbmdlPzogKGZpZWxkOiBGb3JtbHlGaW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lxyXG4gICAgKG56T25BZnRlckNoYW5nZSk9XCJwcm9wc1snYWZ0ZXJDaGFuZ2UnXSAmJiBwcm9wc1snYWZ0ZXJDaGFuZ2UnXShmaWVsZCwgJGV2ZW50KVwiXHJcbiAgPjwvbnotc2xpZGVyPmAsXHJcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkU2xpZGVyIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxTbGlkZVByb3BzPj4ge1xyXG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xyXG4gICAgcHJvcHM6IHtcclxuICAgICAgbWF4OiAxMDAsXHJcbiAgICAgIG1pbjogMCxcclxuICAgICAgc3RlcDogMSxcclxuICAgICAgZG90czogZmFsc2UsXHJcbiAgICAgIGluY2x1ZGVkOiB0cnVlLFxyXG4gICAgICByYW5nZTogZmFsc2UsXHJcbiAgICAgIHZlcnRpY2FsOiBmYWxzZSxcclxuICAgICAgcmV2ZXJzZTogZmFsc2UsXHJcbiAgICAgIHRvb2x0aXBWaXNpYmxlOiAnZGVmYXVsdCcgYXMgY29uc3RcclxuICAgIH1cclxuICB9O1xyXG59XHJcbiJdfQ==
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXN3aXRjaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtc3dpdGNoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
@@ -1,3 +1,3 @@
1
- export { FormlyNzSwitchModule } from './switch.module';
2
- export { FormlyFieldSwitch } from './switch.type';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBMkIsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelN3aXRjaE1vZHVsZSB9IGZyb20gJy4vc3dpdGNoLm1vZHVsZSc7XG5leHBvcnQgeyBGb3JtbHlGaWVsZFN3aXRjaCwgRm9ybWx5U3dpdGNoRmllbGRDb25maWcgfSBmcm9tICcuL3N3aXRjaC50eXBlJztcbiJdfQ==
1
+ export { FormlyNzSwitchModule } from './switch.module';
2
+ export { FormlyFieldSwitch } from './switch.type';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBMkIsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelN3aXRjaE1vZHVsZSB9IGZyb20gJy4vc3dpdGNoLm1vZHVsZSc7XHJcbmV4cG9ydCB7IEZvcm1seUZpZWxkU3dpdGNoLCBGb3JtbHlTd2l0Y2hGaWVsZENvbmZpZyB9IGZyb20gJy4vc3dpdGNoLnR5cGUnO1xyXG4iXX0=
@@ -1,51 +1,51 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { FormlyModule } from '@ngx-formly/core';
4
- import { ReactiveFormsModule } from '@angular/forms';
5
- import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
6
- import { FormlyFieldSwitch } from './switch.type';
7
- import { NzSwitchModule } from 'ng-zorro-antd/switch';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@ngx-formly/core";
10
- export class FormlyNzSwitchModule {
11
- }
12
- FormlyNzSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- FormlyNzSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
14
- ReactiveFormsModule,
15
- FormlyNzFormFieldModule,
16
- NzSwitchModule, i1.FormlyModule] });
17
- FormlyNzSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, imports: [CommonModule,
18
- ReactiveFormsModule,
19
- FormlyNzFormFieldModule,
20
- NzSwitchModule,
21
- FormlyModule.forChild({
22
- types: [
23
- {
24
- name: 'switch',
25
- component: FormlyFieldSwitch,
26
- wrappers: ['form-field']
27
- }
28
- ]
29
- })] });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
31
- type: NgModule,
32
- args: [{
33
- declarations: [FormlyFieldSwitch],
34
- imports: [
35
- CommonModule,
36
- ReactiveFormsModule,
37
- FormlyNzFormFieldModule,
38
- NzSwitchModule,
39
- FormlyModule.forChild({
40
- types: [
41
- {
42
- name: 'switch',
43
- component: FormlyFieldSwitch,
44
- wrappers: ['form-field']
45
- }
46
- ]
47
- })
48
- ]
49
- }]
50
- }] });
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9zd2l0Y2gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbEQsT0FBTyxFQUFFLGNBQW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Y29yZSc7XG5pbXBvcnQgeyBSZWFjdGl2ZUZvcm1zTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHsgRm9ybWx5TnpGb3JtRmllbGRNb2R1bGUgfSBmcm9tICduZ3gtZm9ybWx5LXpvcnJvLWFudGQvZm9ybS1maWVsZCc7XG5cbmltcG9ydCB7IEZvcm1seUZpZWxkU3dpdGNoIH0gZnJvbSAnLi9zd2l0Y2gudHlwZSc7XG5cbmltcG9ydCB7IE56U3dpdGNoTW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9zd2l0Y2gnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZFN3aXRjaF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcbiAgICBGb3JtbHlOekZvcm1GaWVsZE1vZHVsZSxcblxuICAgIE56U3dpdGNoTW9kdWxlLFxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ3N3aXRjaCcsXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZFN3aXRjaCxcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpTd2l0Y2hNb2R1bGUge31cbiJdfQ==
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FormlyModule } from '@ngx-formly/core';
4
+ import { ReactiveFormsModule } from '@angular/forms';
5
+ import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
6
+ import { FormlyFieldSwitch } from './switch.type';
7
+ import { NzSwitchModule } from 'ng-zorro-antd/switch';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@ngx-formly/core";
10
+ export class FormlyNzSwitchModule {
11
+ }
12
+ FormlyNzSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ FormlyNzSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
14
+ ReactiveFormsModule,
15
+ FormlyNzFormFieldModule,
16
+ NzSwitchModule, i1.FormlyModule] });
17
+ FormlyNzSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, imports: [CommonModule,
18
+ ReactiveFormsModule,
19
+ FormlyNzFormFieldModule,
20
+ NzSwitchModule,
21
+ FormlyModule.forChild({
22
+ types: [
23
+ {
24
+ name: 'switch',
25
+ component: FormlyFieldSwitch,
26
+ wrappers: ['form-field']
27
+ }
28
+ ]
29
+ })] });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
31
+ type: NgModule,
32
+ args: [{
33
+ declarations: [FormlyFieldSwitch],
34
+ imports: [
35
+ CommonModule,
36
+ ReactiveFormsModule,
37
+ FormlyNzFormFieldModule,
38
+ NzSwitchModule,
39
+ FormlyModule.forChild({
40
+ types: [
41
+ {
42
+ name: 'switch',
43
+ component: FormlyFieldSwitch,
44
+ wrappers: ['form-field']
45
+ }
46
+ ]
47
+ })
48
+ ]
49
+ }]
50
+ }] });
51
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL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XHJcbiAgICBOelN3aXRjaE1vZHVsZSxcclxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XHJcbiAgICAgIHR5cGVzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgbmFtZTogJ3N3aXRjaCcsXHJcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkU3dpdGNoLFxyXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXHJcbiAgICAgICAgfVxyXG4gICAgICBdXHJcbiAgICB9KVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seU56U3dpdGNoTW9kdWxlIHt9XHJcbiJdfQ==
@@ -1,53 +1,53 @@
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/switch";
6
- import * as i3 from "@ngx-formly/core";
7
- export class FormlyFieldSwitch extends FieldType {
8
- constructor() {
9
- super(...arguments);
10
- this.defaultOptions = {
11
- props: {
12
- size: 'default',
13
- loading: false,
14
- control: false
15
- }
16
- };
17
- }
18
- }
19
- FormlyFieldSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
20
- FormlyFieldSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
21
- <nz-switch
22
- [formControl]="formControl"
23
- [formlyAttributes]="field"
24
- [nzId]="id"
25
- [nzCheckedChildren]="props['checkedChildren'] ?? null"
26
- [nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
27
- [nzSize]="props['size']!"
28
- [nzLoading]="props['loading']!!"
29
- [nzControl]="props['control']!!"
30
- (ngModelChange)="props.change && props.change(field, $event)"
31
- ></nz-switch>
32
- `, 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.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
34
- type: Component,
35
- args: [{
36
- selector: 'formly-field-switch',
37
- template: `
38
- <nz-switch
39
- [formControl]="formControl"
40
- [formlyAttributes]="field"
41
- [nzId]="id"
42
- [nzCheckedChildren]="props['checkedChildren'] ?? null"
43
- [nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
44
- [nzSize]="props['size']!"
45
- [nzLoading]="props['loading']!!"
46
- [nzControl]="props['control']!!"
47
- (ngModelChange)="props.change && props.change(field, $event)"
48
- ></nz-switch>
49
- `,
50
- changeDetection: ChangeDetectionStrategy.OnPush
51
- }]
52
- }] });
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3N3aXRjaC9zcmMvc3dpdGNoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQ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kQ2hpbGRyZW5dPVwicHJvcHNbJ3VuQ2hlY2tlZENoaWxkcmVuJ10gPz8gbnVsbFwiXG4gICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ10hXCJcbiAgICAgIFtuekxvYWRpbmddPVwicHJvcHNbJ2xvYWRpbmcnXSEhXCJcbiAgICAgIFtuekNvbnRyb2xdPVwicHJvcHNbJ2NvbnRyb2wnXSEhXCJcbiAgICAgIChuZ01vZGVsQ2hhbmdlKT1cInByb3BzLmNoYW5nZSAmJiBwcm9wcy5jaGFuZ2UoZmllbGQsICRldmVudClcIlxuICAgID48L256LXN3aXRjaD5cbiAgYCxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5RmllbGRTd2l0Y2ggZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPFN3aXRjaFByb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgbG9hZGluZzogZmFsc2UsXG4gICAgICBjb250cm9sOiBmYWxzZVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
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/switch";
6
+ import * as i3 from "@ngx-formly/core";
7
+ export class FormlyFieldSwitch extends FieldType {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.defaultOptions = {
11
+ props: {
12
+ size: 'default',
13
+ loading: false,
14
+ control: false
15
+ }
16
+ };
17
+ }
18
+ }
19
+ FormlyFieldSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
20
+ FormlyFieldSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
21
+ <nz-switch
22
+ [formControl]="formControl"
23
+ [formlyAttributes]="field"
24
+ [nzId]="id"
25
+ [nzCheckedChildren]="props['checkedChildren'] ?? null"
26
+ [nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
27
+ [nzSize]="props['size']!"
28
+ [nzLoading]="props['loading']!!"
29
+ [nzControl]="props['control']!!"
30
+ (ngModelChange)="props.change && props.change(field, $event)"
31
+ ></nz-switch>
32
+ `, 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.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
34
+ type: Component,
35
+ args: [{
36
+ selector: 'formly-field-switch',
37
+ template: `
38
+ <nz-switch
39
+ [formControl]="formControl"
40
+ [formlyAttributes]="field"
41
+ [nzId]="id"
42
+ [nzCheckedChildren]="props['checkedChildren'] ?? null"
43
+ [nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
44
+ [nzSize]="props['size']!"
45
+ [nzLoading]="props['loading']!!"
46
+ [nzControl]="props['control']!!"
47
+ (ngModelChange)="props.change && props.change(field, $event)"
48
+ ></nz-switch>
49
+ `,
50
+ changeDetection: ChangeDetectionStrategy.OnPush
51
+ }]
52
+ }] });
53
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3N3aXRjaC9zcmMvc3dpdGNoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7QUF1RGpGLE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxTQUF1QztJQWpCOUU7O1FBa0JXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLElBQUksRUFBRSxTQUFrQjtnQkFDeEIsT0FBTyxFQUFFLEtBQUs7Z0JBQ2QsT0FBTyxFQUFFLEtBQUs7YUFDZjtTQUNGLENBQUM7S0FDSDs7OEdBUlksaUJBQWlCO2tHQUFqQixpQkFBaUIsa0ZBZmxCOzs7Ozs7Ozs7Ozs7R0FZVDsyRkFHVSxpQkFBaUI7a0JBakI3QixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxxQkFBcUI7b0JBQy9CLFFBQVEsRUFBRTs7Ozs7Ozs7Ozs7O0dBWVQ7b0JBQ0QsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07aUJBQ2hEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBUeXBlLCBUZW1wbGF0ZVJlZiwgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kgfSBmcm9tICdAYW5ndWxhci9j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ZWZhdWx0T3B0aW9ucyA9IHtcclxuICAgIHByb3BzOiB7XHJcbiAgICAgIHNpemU6ICdkZWZhdWx0JyBhcyBjb25zdCxcclxuICAgICAgbG9hZGluZzogZmFsc2UsXHJcbiAgICAgIGNvbnRyb2w6IGZhbHNlXHJcbiAgICB9XHJcbiAgfTtcclxufVxyXG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXRhYnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3RhYnMvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC10YWJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
@@ -1,3 +1,3 @@
1
- export { FormlyNzTabsModule } from './tabs.module';
2
- export { FormlyWrapperTabs } from './tabs.wrapper';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGFicy9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUEyQixNQUFNLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUYWJzTW9kdWxlIH0gZnJvbSAnLi90YWJzLm1vZHVsZSc7XG5leHBvcnQgeyBGb3JtbHlXcmFwcGVyVGFicywgRm9ybWx5VGFic1dyYXBwZXJDb25maWcgfSBmcm9tICcuL3RhYnMud3JhcHBlcic7XG4iXX0=
1
+ export { FormlyNzTabsModule } from './tabs.module';
2
+ export { FormlyWrapperTabs } from './tabs.wrapper';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGFicy9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUEyQixNQUFNLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUYWJzTW9kdWxlIH0gZnJvbSAnLi90YWJzLm1vZHVsZSc7XHJcbmV4cG9ydCB7IEZvcm1seVdyYXBwZXJUYWJzLCBGb3JtbHlUYWJzV3JhcHBlckNvbmZpZyB9IGZyb20gJy4vdGFicy53cmFwcGVyJztcclxuIl19