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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. package/README.md +0 -6
  2. package/autocomplete/autocomplete.props.d.ts +1 -2
  3. package/autocomplete/{ngx-formly-zorro-antd-autocomplete.d.ts → index.d.ts} +0 -0
  4. package/button/button.type.d.ts +2 -1
  5. package/button/{ngx-formly-zorro-antd-button.d.ts → index.d.ts} +0 -0
  6. package/card/card.wrapper.d.ts +1 -1
  7. package/card/{ngx-formly-zorro-antd-card.d.ts → index.d.ts} +0 -0
  8. package/cascader/cascader.type.d.ts +1 -1
  9. package/cascader/{ngx-formly-zorro-antd-cascader.d.ts → index.d.ts} +0 -0
  10. package/checkbox/checkbox.type.d.ts +1 -1
  11. package/checkbox/{ngx-formly-zorro-antd-checkbox.d.ts → index.d.ts} +0 -0
  12. package/datepicker/datepicker.type.d.ts +1 -1
  13. package/datepicker/{ngx-formly-zorro-antd-datepicker.d.ts → index.d.ts} +0 -0
  14. package/esm2020/autocomplete/autocomplete.props.mjs +1 -1
  15. package/esm2020/button/button.module.mjs +23 -25
  16. package/esm2020/button/button.type.mjs +84 -44
  17. package/esm2020/card/card.module.mjs +15 -17
  18. package/esm2020/card/card.wrapper.mjs +5 -5
  19. package/esm2020/cascader/cascader.module.mjs +17 -19
  20. package/esm2020/cascader/cascader.type.mjs +8 -8
  21. package/esm2020/checkbox/checkbox.module.mjs +21 -23
  22. package/esm2020/checkbox/checkbox.type.mjs +8 -8
  23. package/esm2020/datepicker/datepicker.module.mjs +17 -19
  24. package/esm2020/datepicker/datepicker.type.mjs +8 -8
  25. package/esm2020/form-field/form-field.module.mjs +15 -17
  26. package/esm2020/form-field/form-field.props.mjs +1 -1
  27. package/esm2020/form-field/form-field.wrapper.mjs +21 -11
  28. package/esm2020/grid/grid.module.mjs +41 -0
  29. package/esm2020/grid/grid.props.mjs +2 -0
  30. package/esm2020/grid/grid.type.mjs +71 -0
  31. package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +5 -0
  32. package/esm2020/grid/public_api.mjs +3 -0
  33. package/esm2020/input/input.module.mjs +31 -33
  34. package/esm2020/input/input.props.mjs +1 -1
  35. package/esm2020/input/input.type.mjs +97 -47
  36. package/esm2020/input-group/input-group.module.mjs +22 -18
  37. package/esm2020/input-group/input-group.props.mjs +1 -1
  38. package/esm2020/input-group/input-group.type.mjs +8 -8
  39. package/esm2020/input-number/input-number.module.mjs +21 -23
  40. package/esm2020/input-number/input-number.type.mjs +8 -8
  41. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +30 -28
  42. package/esm2020/radio/radio.module.mjs +19 -21
  43. package/esm2020/radio/radio.type.mjs +8 -8
  44. package/esm2020/rate/rate.module.mjs +17 -19
  45. package/esm2020/rate/rate.type.mjs +7 -7
  46. package/esm2020/select/select.module.mjs +19 -21
  47. package/esm2020/select/select.type.mjs +8 -8
  48. package/esm2020/slider/slider.module.mjs +17 -19
  49. package/esm2020/slider/slider.type.mjs +7 -7
  50. package/esm2020/switch/switch.module.mjs +17 -19
  51. package/esm2020/switch/switch.type.mjs +7 -7
  52. package/esm2020/tabs/tabs.module.mjs +14 -16
  53. package/esm2020/tabs/tabs.props.mjs +1 -1
  54. package/esm2020/tabs/tabs.wrapper.mjs +8 -8
  55. package/esm2020/textarea/textarea.module.mjs +17 -19
  56. package/esm2020/textarea/textarea.type.mjs +8 -8
  57. package/esm2020/timepicker/timepicker.module.mjs +17 -19
  58. package/esm2020/timepicker/timepicker.type.mjs +8 -8
  59. package/esm2020/transfer/transfer.component.mjs +5 -5
  60. package/esm2020/transfer/transfer.module.mjs +17 -19
  61. package/esm2020/transfer/transfer.type.mjs +8 -8
  62. package/esm2020/tree-select/tree-select.module.mjs +17 -19
  63. package/esm2020/tree-select/tree-select.type.mjs +8 -8
  64. package/esm2020/upload/upload.component.mjs +10 -10
  65. package/esm2020/upload/upload.module.mjs +19 -21
  66. package/esm2020/upload/upload.type.mjs +8 -8
  67. package/fesm2015/ngx-formly-zorro-antd-button.mjs +106 -68
  68. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
  69. package/fesm2015/ngx-formly-zorro-antd-card.mjs +18 -20
  70. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
  71. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +24 -26
  72. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  73. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +27 -29
  74. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  75. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +23 -25
  76. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  77. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +35 -27
  78. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  79. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +114 -0
  80. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -0
  81. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +28 -24
  82. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  83. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +27 -29
  84. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  85. package/fesm2015/ngx-formly-zorro-antd-input.mjs +127 -79
  86. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
  87. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +26 -28
  88. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  89. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +22 -24
  90. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  91. package/fesm2015/ngx-formly-zorro-antd-select.mjs +26 -28
  92. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
  93. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +22 -24
  94. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  95. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +22 -24
  96. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  97. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +21 -23
  98. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  99. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +23 -25
  100. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  101. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +24 -26
  102. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  103. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +27 -29
  104. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  105. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +24 -26
  106. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  107. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +34 -36
  108. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  109. package/fesm2015/ngx-formly-zorro-antd.mjs +29 -27
  110. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
  111. package/fesm2020/ngx-formly-zorro-antd-button.mjs +106 -68
  112. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
  113. package/fesm2020/ngx-formly-zorro-antd-card.mjs +18 -20
  114. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
  115. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +24 -26
  116. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  117. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +27 -29
  118. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  119. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +23 -25
  120. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  121. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +35 -27
  122. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  123. package/fesm2020/ngx-formly-zorro-antd-grid.mjs +114 -0
  124. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -0
  125. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +28 -24
  126. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  127. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +27 -29
  128. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  129. package/fesm2020/ngx-formly-zorro-antd-input.mjs +127 -79
  130. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
  131. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +26 -28
  132. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  133. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +22 -24
  134. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  135. package/fesm2020/ngx-formly-zorro-antd-select.mjs +26 -28
  136. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
  137. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +22 -24
  138. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  139. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +22 -24
  140. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  141. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +21 -23
  142. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  143. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +23 -25
  144. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  145. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +24 -26
  146. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  147. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +27 -29
  148. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  149. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +24 -26
  150. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  151. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +34 -36
  152. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  153. package/fesm2020/ngx-formly-zorro-antd.mjs +29 -27
  154. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
  155. package/form-field/form-field.props.d.ts +28 -0
  156. package/form-field/form-field.wrapper.d.ts +1 -1
  157. package/form-field/{ngx-formly-zorro-antd-form-field.d.ts → index.d.ts} +0 -0
  158. package/grid/grid.module.d.ts +10 -0
  159. package/grid/grid.props.d.ts +44 -0
  160. package/grid/grid.type.d.ts +11 -0
  161. package/grid/index.d.ts +5 -0
  162. package/grid/public_api.d.ts +3 -0
  163. package/input/{ngx-formly-zorro-antd-input.d.ts → index.d.ts} +0 -0
  164. package/input/input.props.d.ts +3 -36
  165. package/input/input.type.d.ts +2 -2
  166. package/input-group/{ngx-formly-zorro-antd-input-group.d.ts → index.d.ts} +0 -0
  167. package/input-group/input-group.module.d.ts +3 -2
  168. package/input-group/input-group.props.d.ts +1 -1
  169. package/input-group/input-group.type.d.ts +1 -1
  170. package/input-number/{ngx-formly-zorro-antd-input-number.d.ts → index.d.ts} +0 -0
  171. package/input-number/input-number.type.d.ts +1 -1
  172. package/lib/ui-ng-zorro-antd.module.d.ts +2 -1
  173. package/package.json +38 -29
  174. package/radio/{ngx-formly-zorro-antd-radio.d.ts → index.d.ts} +0 -0
  175. package/radio/radio.type.d.ts +1 -1
  176. package/rate/{ngx-formly-zorro-antd-rate.d.ts → index.d.ts} +0 -0
  177. package/rate/rate.type.d.ts +1 -1
  178. package/select/{ngx-formly-zorro-antd-select.d.ts → index.d.ts} +0 -0
  179. package/select/select.type.d.ts +1 -1
  180. package/slider/{ngx-formly-zorro-antd-slider.d.ts → index.d.ts} +0 -0
  181. package/slider/slider.type.d.ts +1 -1
  182. package/switch/{ngx-formly-zorro-antd-switch.d.ts → index.d.ts} +0 -0
  183. package/switch/switch.type.d.ts +1 -1
  184. package/tabs/{ngx-formly-zorro-antd-tabs.d.ts → index.d.ts} +0 -0
  185. package/tabs/tabs.props.d.ts +1 -2
  186. package/tabs/tabs.wrapper.d.ts +1 -1
  187. package/textarea/{ngx-formly-zorro-antd-textarea.d.ts → index.d.ts} +0 -0
  188. package/textarea/textarea.type.d.ts +1 -1
  189. package/timepicker/{ngx-formly-zorro-antd-timepicker.d.ts → index.d.ts} +0 -0
  190. package/timepicker/timepicker.type.d.ts +1 -1
  191. package/transfer/{ngx-formly-zorro-antd-transfer.d.ts → index.d.ts} +0 -0
  192. package/transfer/transfer.component.d.ts +1 -1
  193. package/transfer/transfer.type.d.ts +1 -1
  194. package/tree-select/{ngx-formly-zorro-antd-tree-select.d.ts → index.d.ts} +0 -0
  195. package/tree-select/tree-select.type.d.ts +1 -1
  196. package/upload/{ngx-formly-zorro-antd-upload.d.ts → index.d.ts} +0 -0
  197. package/upload/upload.component.d.ts +1 -1
  198. package/upload/upload.type.d.ts +1 -1
  199. package/autocomplete/package.json +0 -10
  200. package/button/package.json +0 -10
  201. package/card/package.json +0 -10
  202. package/cascader/package.json +0 -10
  203. package/checkbox/package.json +0 -10
  204. package/datepicker/package.json +0 -10
  205. package/form-field/package.json +0 -10
  206. package/input/package.json +0 -10
  207. package/input-group/package.json +0 -10
  208. package/input-number/package.json +0 -10
  209. package/ngx-formly-zorro-antd.d.ts +0 -5
  210. package/radio/package.json +0 -10
  211. package/rate/package.json +0 -10
  212. package/select/package.json +0 -10
  213. package/slider/package.json +0 -10
  214. package/switch/package.json +0 -10
  215. package/tabs/package.json +0 -10
  216. package/textarea/package.json +0 -10
  217. package/timepicker/package.json +0 -10
  218. package/transfer/package.json +0 -10
  219. package/tree-select/package.json +0 -10
  220. package/upload/package.json +0 -10
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-button.mjs","sources":["../../../../packages/formlyantd/button/src/button.type.ts","../../../../packages/formlyantd/button/src/button.module.ts","../../../../packages/formlyantd/button/src/ngx-formly-zorro-antd-button.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { NzButtonShape, NzButtonSize, NzButtonType } from 'ng-zorro-antd/button';\r\n\r\ninterface ButtonProps extends FormlyFieldProps {\r\n /**\r\n * 幽灵属性,使按钮背景透明\r\n * @default false\r\n */\r\n ghost?: boolean;\r\n\r\n /**\r\n * 设置按钮载入状态\r\n * @default false\r\n */\r\n loading?: boolean;\r\n\r\n /**\r\n * 设置按钮形状\r\n */\r\n shape?: NzButtonShape;\r\n\r\n /**\r\n * 设置按钮大小\r\n * @default default\r\n */\r\n size?: NzButtonSize;\r\n\r\n /**\r\n * 设置按钮类型\r\n */\r\n buttonType?: NzButtonType;\r\n\r\n /**\r\n * 将按钮宽度调整为其父宽度的选项\r\n * @default false\r\n */\r\n block?: boolean;\r\n\r\n /**\r\n * 设置危险按钮\r\n * @default false\r\n */\r\n danger?: boolean;\r\n\r\n /**\r\n * 图标在前面\r\n */\r\n iconOnBefore?: string;\r\n\r\n /**\r\n * 图标在后面\r\n */\r\n iconOnAfter?: string;\r\n}\r\n\r\nexport interface FormlyButtonFieldConfig extends FormlyFieldConfig<ButtonProps> {\r\n type: 'button' | 'submit' | 'reset' | Type<FormlyFieldButton>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-button',\r\n template: `\r\n <button\r\n nz-button\r\n [attr.type]=\"field.type\"\r\n [formlyAttributes]=\"field\"\r\n [nzGhost]=\"props['ghost']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzShape]=\"props['shape'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBlock]=\"props['block']!!\"\r\n [nzDanger]=\"props['danger']!!\"\r\n [nzType]=\"props['buttonType'] ?? null\"\r\n [ngClass]=\"props['className']!\"\r\n >\r\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\r\n {{ props.label }}\r\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\r\n </button>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldButton extends FieldType<FieldTypeConfig<ButtonProps>> {\r\n override defaultOptions = {\r\n props: {\r\n ghost: false,\r\n loading: false,\r\n block: false,\r\n size: 'default' as const,\r\n danger: false\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyFieldButton } from './button.type';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldButton],\r\n imports: [\r\n CommonModule,\r\n NzButtonModule,\r\n NzIconModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'button',\r\n component: FormlyFieldButton\r\n },\r\n {\r\n name: 'submit',\r\n extends: 'button'\r\n },\r\n {\r\n name: 'reset',\r\n extends: 'button'\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzButtonModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;AAqFM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;AAvB9E,IAAA,WAAA,GAAA;;QAwBW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,KAAK,EAAE,KAAK;AACZ,gBAAA,OAAO,EAAE,KAAK;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Ac;YACd,YAAY;YAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,QAAQ;AACd,wBAAA,SAAS,EAAE,iBAAiB;AAC7B,qBAAA;AACD,oBAAA;AACE,wBAAA,IAAI,EAAE,QAAQ;AACd,wBAAA,OAAO,EAAE,QAAQ;AAClB,qBAAA;AACD,oBAAA;AACE,wBAAA,IAAI,EAAE,OAAO;AACb,wBAAA,OAAO,EAAE,QAAQ;AAClB,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAzBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,cAAc;wBACd,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;AAC7B,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,OAAO,EAAE,QAAQ;AAClB,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,OAAO,EAAE,QAAQ;AAClB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AChCD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-button.mjs","sources":["../../../../packages/formlyantd/button/src/button.type.ts","../../../../packages/formlyantd/button/src/button.module.ts","../../../../packages/formlyantd/button/src/ngx-formly-zorro-antd-button.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { NzButtonShape, NzButtonSize, NzButtonType } from 'ng-zorro-antd/button';\r\n\r\ninterface ButtonProps extends FormlyFieldProps {\r\n type?: 'a' | 'button';\r\n /**\r\n * 幽灵属性,使按钮背景透明\r\n * @default false\r\n */\r\n ghost?: boolean;\r\n\r\n /**\r\n * 设置按钮载入状态\r\n * @default false\r\n */\r\n loading?: boolean;\r\n\r\n /**\r\n * 设置按钮形状\r\n */\r\n shape?: NzButtonShape;\r\n\r\n /**\r\n * 设置按钮大小\r\n * @default default\r\n */\r\n size?: NzButtonSize;\r\n\r\n /**\r\n * 设置按钮类型\r\n */\r\n buttonType?: NzButtonType;\r\n\r\n /**\r\n * 将按钮宽度调整为其父宽度的选项\r\n * @default false\r\n */\r\n block?: boolean;\r\n\r\n /**\r\n * 设置危险按钮\r\n * @default false\r\n */\r\n danger?: boolean;\r\n\r\n /**\r\n * 图标在前面\r\n */\r\n iconOnBefore?: string;\r\n\r\n /**\r\n * 图标在后面\r\n */\r\n iconOnAfter?: string;\r\n}\r\n\r\nexport interface FormlyButtonFieldConfig extends FormlyFieldConfig<ButtonProps> {\r\n type: 'button' | 'submit' | 'reset' | Type<FormlyFieldButton>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-button',\r\n template: `\r\n <ng-container *ngIf=\"props.type === 'a'; else elsebutton\">\r\n <a\r\n nz-button\r\n [formlyAttributes]=\"field\"\r\n [nzGhost]=\"props['ghost']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzShape]=\"props['shape'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBlock]=\"props['block']!!\"\r\n [nzDanger]=\"props['danger']!!\"\r\n [nzType]=\"props['buttonType'] ?? 'link'\"\r\n [ngClass]=\"props['className']!\"\r\n >\r\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\r\n {{ props.label }}\r\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\r\n </a>\r\n </ng-container>\r\n <ng-template #elsebutton>\r\n <button\r\n nz-button\r\n [attr.type]=\"field.type\"\r\n [formlyAttributes]=\"field\"\r\n [nzGhost]=\"props['ghost']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzShape]=\"props['shape'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBlock]=\"props['block']!!\"\r\n [nzDanger]=\"props['danger']!!\"\r\n [nzType]=\"props['buttonType'] ?? null\"\r\n [ngClass]=\"props['className']!\"\r\n >\r\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\r\n {{ props.label }}\r\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\r\n </button>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldButton extends FieldType<FieldTypeConfig<ButtonProps>> {\r\n override defaultOptions = {\r\n props: {\r\n ghost: false,\r\n loading: false,\r\n block: false,\r\n size: 'default' as const,\r\n danger: false\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyFieldButton } from './button.type';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldButton],\r\n imports: [\r\n CommonModule,\r\n NzButtonModule,\r\n NzIconModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'button',\r\n component: FormlyFieldButton\r\n },\r\n {\r\n name: 'submit',\r\n extends: 'button'\r\n },\r\n {\r\n name: 'reset',\r\n extends: 'button'\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzButtonModule {}\r\n","/**\n * Generated bundle index. Do not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;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,OAAO,EAAE,QAAQ;AAClB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AChCD;;AAEG;;;;"}
@@ -8,8 +8,8 @@ import { NzCardModule } from 'ng-zorro-antd/card';
8
8
 
9
9
  class FormlyWrapperCard extends FieldWrapper {
10
10
  }
11
- FormlyWrapperCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperCard, deps: null, target: i0.ɵɵFactoryTarget.Component });
12
- FormlyWrapperCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
11
+ FormlyWrapperCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperCard, deps: null, target: i0.ɵɵFactoryTarget.Component });
12
+ FormlyWrapperCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
13
13
  <nz-card
14
14
  [nzActions]="props['actions'] || []"
15
15
  [nzBodyStyle]="props['bodyStyle'] ?? null"
@@ -24,8 +24,8 @@ FormlyWrapperCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
24
24
  >
25
25
  <ng-container #fieldComponent></ng-container>
26
26
  </nz-card>
27
- `, isInline: true, components: [{ type: i1.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperCard, decorators: [{
27
+ `, isInline: true, dependencies: [{ kind: "component", type: i1.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperCard, decorators: [{
29
29
  type: Component,
30
30
  args: [{
31
31
  selector: 'formly-wrapper-card',
@@ -51,23 +51,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
51
51
 
52
52
  class FormlyNzCardModule {
53
53
  }
54
- FormlyNzCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
55
- FormlyNzCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
54
+ FormlyNzCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
55
+ FormlyNzCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
56
56
  NzCardModule, i1$1.FormlyModule] });
57
- FormlyNzCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCardModule, imports: [[
58
- CommonModule,
59
- NzCardModule,
60
- FormlyModule.forChild({
61
- wrappers: [
62
- {
63
- name: 'card',
64
- component: FormlyWrapperCard,
65
- types: ['card']
66
- }
67
- ]
68
- })
69
- ]] });
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCardModule, decorators: [{
57
+ FormlyNzCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCardModule, imports: [CommonModule,
58
+ NzCardModule,
59
+ FormlyModule.forChild({
60
+ wrappers: [
61
+ {
62
+ name: 'card',
63
+ component: FormlyWrapperCard,
64
+ types: ['card']
65
+ }
66
+ ]
67
+ })] });
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCardModule, decorators: [{
71
69
  type: NgModule,
72
70
  args: [{
73
71
  declarations: [FormlyWrapperCard],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-card.mjs","sources":["../../../../packages/formlyantd/card/src/card.wrapper.ts","../../../../packages/formlyantd/card/src/card.module.ts","../../../../packages/formlyantd/card/src/ngx-formly-zorro-antd-card.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface CardProps {\r\n /**\r\n * 卡片操作组,位置在卡片底部\r\n */\r\n actions?: Array<TemplateRef<void>>;\r\n\r\n /**\r\n * 内容区域自定义样式\r\n */\r\n bodyStyle?: NgStyleInterface | null;\r\n\r\n /**\r\n * \t是否移除边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * 卡片封面\r\n */\r\n cover?: TemplateRef<void>;\r\n\r\n /**\r\n * 卡片右上角的操作区域\r\n */\r\n extra?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 鼠标移过时可浮起\r\n * @default false\r\n */\r\n hoverable?: boolean;\r\n\r\n /**\r\n * 当卡片内容还在加载中时,可以用 loading 展示一个占位\r\n * @default false\r\n */\r\n loading?: boolean;\r\n\r\n /**\r\n * 卡片的尺寸\r\n * @default default\r\n */\r\n size?: NzSizeDSType;\r\n\r\n /**\r\n * \t卡片标题\r\n */\r\n title?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 卡片类型,可设置为 inner 或 不设置\r\n */\r\n type?: string | 'inner';\r\n}\r\n\r\nexport interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardProps> {\r\n wrappers: ('card' | Type<FormlyWrapperCard>)[];\r\n}\r\n\r\n@Component({\r\n selector: 'formly-wrapper-card',\r\n template: `\r\n <nz-card\r\n [nzActions]=\"props['actions'] || []\"\r\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n [nzCover]=\"props['cover']\"\r\n [nzExtra]=\"props['extra']\"\r\n [nzHoverable]=\"props['hoverable']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzTitle]=\"props['title']\"\r\n [nzType]=\"props['type'] ?? null\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n </nz-card>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardProps>> {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyWrapperCard } from './card.wrapper';\r\nimport { NzCardModule } from 'ng-zorro-antd/card';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperCard],\r\n imports: [\r\n CommonModule,\r\n NzCardModule,\r\n\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'card',\r\n component: FormlyWrapperCard,\r\n types: ['card']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCardModule {}\r\n","/**\n *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iHAAlB,kBAAkB,EAAA,YAAA,EAAA,CAhBd,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAE9B,YAAY;AACZ,QAAA,YAAY,EAAAA,IAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAaH,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAfpB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,YAAY;YAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,iBAAiB;wBAC5B,KAAK,EAAE,CAAC,MAAM,CAAC;AAChB,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAjB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,KAAK,EAAE,CAAC,MAAM,CAAC;AAChB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-card.mjs","sources":["../../../../packages/formlyantd/card/src/card.wrapper.ts","../../../../packages/formlyantd/card/src/card.module.ts","../../../../packages/formlyantd/card/src/ngx-formly-zorro-antd-card.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface CardProps {\r\n /**\r\n * 卡片操作组,位置在卡片底部\r\n */\r\n actions?: Array<TemplateRef<void>>;\r\n\r\n /**\r\n * 内容区域自定义样式\r\n */\r\n bodyStyle?: NgStyleInterface | null;\r\n\r\n /**\r\n * \t是否移除边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * 卡片封面\r\n */\r\n cover?: TemplateRef<void>;\r\n\r\n /**\r\n * 卡片右上角的操作区域\r\n */\r\n extra?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 鼠标移过时可浮起\r\n * @default false\r\n */\r\n hoverable?: boolean;\r\n\r\n /**\r\n * 当卡片内容还在加载中时,可以用 loading 展示一个占位\r\n * @default false\r\n */\r\n loading?: boolean;\r\n\r\n /**\r\n * 卡片的尺寸\r\n * @default default\r\n */\r\n size?: NzSizeDSType;\r\n\r\n /**\r\n * \t卡片标题\r\n */\r\n title?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 卡片类型,可设置为 inner 或 不设置\r\n */\r\n type?: string | 'inner';\r\n}\r\n\r\nexport interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardProps> {\r\n wrappers: ('card' | Type<FormlyWrapperCard>)[];\r\n}\r\n\r\n@Component({\r\n selector: 'formly-wrapper-card',\r\n template: `\r\n <nz-card\r\n [nzActions]=\"props['actions'] || []\"\r\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n [nzCover]=\"props['cover']\"\r\n [nzExtra]=\"props['extra']\"\r\n [nzHoverable]=\"props['hoverable']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzTitle]=\"props['title']\"\r\n [nzType]=\"props['type'] ?? null\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n </nz-card>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardProps>> {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyWrapperCard } from './card.wrapper';\r\nimport { NzCardModule } from 'ng-zorro-antd/card';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperCard],\r\n imports: [\r\n CommonModule,\r\n NzCardModule,\r\n\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'card',\r\n component: FormlyWrapperCard,\r\n types: ['card']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCardModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;AAqFM,MAAO,iBAAkB,SAAQ,YAA0C,CAAA;;8GAApE,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,EAlBlB,QAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;AAeT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,cAAA,EAAA,WAAA,EAAA,aAAA,EAAA,aAAA,EAAA,SAAA,EAAA,WAAA,EAAA,QAAA,EAAA,Q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EAAE;wBACP,YAAY;wBACZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,KAAK,EAAE,CAAC,MAAM,CAAC;AAChB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACvBD;;AAEG;;;;"}
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i4 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i3 from '@ngx-formly/core';
5
+ import * as i4 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
7
  import * as i2 from '@angular/forms';
8
8
  import { ReactiveFormsModule } from '@angular/forms';
9
9
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
10
- import * as i1 from 'ng-zorro-antd/cascader';
10
+ import * as i3 from 'ng-zorro-antd/cascader';
11
11
  import { NzCascaderModule } from 'ng-zorro-antd/cascader';
12
12
 
13
13
  class FormlyFieldCascader extends FieldType {
@@ -38,8 +38,8 @@ class FormlyFieldCascader extends FieldType {
38
38
  }
39
39
  }
40
40
  }
41
- FormlyFieldCascader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component });
42
- FormlyFieldCascader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
41
+ FormlyFieldCascader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component });
42
+ FormlyFieldCascader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
43
43
  #cascader
44
44
  [nzPlaceHolder]="props.placeholder ?? ''"
45
45
  [formControl]="formControl"
@@ -72,8 +72,8 @@ FormlyFieldCascader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
72
72
  (nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
73
73
  (nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
74
74
  (ngModelChange)="props.change && props.change(field, $event)"
75
- ></nz-cascader>`, isInline: true, components: [{ type: i1.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelRender", "nzLabelProperty", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseEnterDelay", "nzMouseLeaveDelay", "nzStatus", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzSuffixIcon", "nzExpandIcon", "nzOptions"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzSelect", "nzClear"], exportAs: ["nzCascader"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldCascader, decorators: [{
75
+ ></nz-cascader>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelRender", "nzLabelProperty", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseEnterDelay", "nzMouseLeaveDelay", "nzStatus", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzSuffixIcon", "nzExpandIcon", "nzOptions"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzSelect", "nzClear"], exportAs: ["nzCascader"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCascader, decorators: [{
77
77
  type: Component,
78
78
  args: [{
79
79
  selector: 'formly-field-cascader',
@@ -117,27 +117,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
117
117
 
118
118
  class FormlyNzCascaderModule {
119
119
  }
120
- FormlyNzCascaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
121
- FormlyNzCascaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
120
+ FormlyNzCascaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
121
+ FormlyNzCascaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
122
122
  ReactiveFormsModule,
123
123
  FormlyNzFormFieldModule,
124
- NzCascaderModule, i3.FormlyModule] });
125
- FormlyNzCascaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCascaderModule, imports: [[
126
- CommonModule,
127
- ReactiveFormsModule,
128
- FormlyNzFormFieldModule,
129
- NzCascaderModule,
130
- FormlyModule.forChild({
131
- types: [
132
- {
133
- name: 'cascader',
134
- component: FormlyFieldCascader,
135
- wrappers: ['form-field']
136
- }
137
- ]
138
- })
139
- ]] });
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
124
+ NzCascaderModule, i4.FormlyModule] });
125
+ FormlyNzCascaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
126
+ ReactiveFormsModule,
127
+ FormlyNzFormFieldModule,
128
+ NzCascaderModule,
129
+ FormlyModule.forChild({
130
+ types: [
131
+ {
132
+ name: 'cascader',
133
+ component: FormlyFieldCascader,
134
+ wrappers: ['form-field']
135
+ }
136
+ ]
137
+ })] });
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
141
139
  type: NgModule,
142
140
  args: [{
143
141
  declarations: [FormlyFieldCascader],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy, OnInit } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type {\r\n NzCascaderOption,\r\n NzShowSearchOptions,\r\n NzCascaderExpandTrigger,\r\n NzCascaderSize\r\n} from 'ng-zorro-antd/cascader';\r\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface CascaderProps extends FormlyFieldProps {\r\n /**\r\n * 是否支持清除\r\n * @default true\r\n */\r\n allowClear?: boolean;\r\n\r\n /**\r\n * 是否自动聚焦,当存在输入框时\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 浮层是否应带有背景板\r\n * @default false\r\n */\r\n backdrop?: boolean;\r\n\r\n /**\r\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\r\n */\r\n changeOn?: (option: NzSafeAny, index: number) => boolean;\r\n\r\n /**\r\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\r\n * @default false\r\n */\r\n changeOnSelect?: boolean;\r\n\r\n /**\r\n * 自定义浮层列类名\r\n */\r\n columnClassName?: string;\r\n\r\n /**\r\n * 自定义次级菜单展开图标\r\n */\r\n expandIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 次级菜单的展开方式\r\n * @default 'click'\r\n */\r\n expandTrigger?: NzCascaderExpandTrigger;\r\n\r\n /**\r\n * 选项的显示值的属性名\r\n * @default 'label'\r\n */\r\n labelProperty: string;\r\n\r\n /**\r\n * 选择后展示的渲染模板\r\n */\r\n labelRender?: TemplateRef<NzSafeAny> | null;\r\n\r\n /**\r\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\r\n */\r\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\r\n\r\n /**\r\n * 自定义浮层类名\r\n */\r\n menuClassName?: string;\r\n\r\n /**\r\n * 自定义浮层样式\r\n */\r\n menuStyle?: NgStyleInterface | null;\r\n\r\n /**\r\n * 当下拉列表为空时显示的内容\r\n */\r\n notFoundContent?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 选项的渲染模板\r\n */\r\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\r\n\r\n /**\r\n * 是否显示箭头\r\n * @default true\r\n */\r\n showArrow?: boolean;\r\n\r\n /**\r\n * 显示输入框\r\n * @default true\r\n */\r\n showInput?: boolean;\r\n\r\n /**\r\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\r\n * @default false\r\n */\r\n showSearch?: boolean | NzShowSearchOptions;\r\n\r\n /**\r\n * 输入框大小\r\n * @default default\r\n */\r\n size?: NzCascaderSize;\r\n\r\n /**\r\n * 设置校验状态\r\n */\r\n status?: NzStatus;\r\n\r\n /**\r\n * 自定义的选择框后缀图标\r\n */\r\n suffixIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 选项的实际值的属性名\r\n * @default 'value'\r\n */\r\n valueProperty?: string;\r\n\r\n /**\r\n * 可选项数据源\r\n */\r\n cascaderOptions?: NzCascaderOption[] | null;\r\n\r\n /**\r\n * 清除值时触发\r\n */\r\n onClear?: (field: FormlyFieldConfig) => void;\r\n /**\r\n * 菜单浮层的显示/隐藏\r\n */\r\n visibleChange?: (field: FormlyFieldConfig, visible: boolean) => void;\r\n\r\n /**\r\n * 值发生变化时触发\r\n */\r\n selectionChange?: (field: FormlyFieldConfig, value: NzCascaderOption[]) => void;\r\n}\r\n\r\nexport interface FormlyCascaderFieldConfig extends FormlyFieldConfig<CascaderProps> {\r\n type: 'cascader' | Type<FormlyFieldCascader>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-cascader',\r\n template: `<nz-cascader\r\n #cascader\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']!\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzChangeOn]=\"props['changeOn']\"\r\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\r\n [nzColumnClassName]=\"props['columnClassName']\"\r\n [nzExpandIcon]=\"props['expandIcon']!\"\r\n [nzExpandTrigger]=\"props['expandTrigger']!\"\r\n [nzLabelProperty]=\"props['labelProperty']\"\r\n [nzLabelRender]=\"props['labelRender'] ?? null\"\r\n [nzLoadData]=\"props['loadData']\"\r\n [nzMenuClassName]=\"props['menuClassName']\"\r\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\r\n [nzNotFoundContent]=\"props['notFoundContent']\"\r\n [nzOptionRender]=\"props['optionRender'] ?? null\"\r\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\r\n [nzShowArrow]=\"props['showArrow']!!\"\r\n [nzShowInput]=\"props['showInput']!!\"\r\n [nzShowSearch]=\"props['showSearch']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status'] ?? ''\"\r\n [nzSuffixIcon]=\"props['suffixIcon']!\"\r\n [nzValueProperty]=\"props['valueProperty']!\"\r\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\r\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\r\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n ></nz-cascader>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldCascader\r\n extends FieldType<FieldTypeConfig<CascaderProps>>\r\n implements OnInit\r\n{\r\n override defaultOptions = {\r\n props: {\r\n placeholder: '请选择',\r\n allowClear: true,\r\n backdrop: false,\r\n changeOnSelect: false,\r\n expandTrigger: 'click' as const,\r\n labelProperty: 'label',\r\n showArrow: true,\r\n showInput: true,\r\n showSearch: false,\r\n size: 'default' as const,\r\n status: '' as const,\r\n valueProperty: 'value',\r\n cascaderOptions: []\r\n }\r\n };\r\n ngOnInit(): void {\r\n const options = this.props['cascaderOptions'];\r\n if (!options || options.length === 0) {\r\n this.props['cascaderOptions'] = this.props.options as any;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\r\nimport { FormlyFieldCascader } from './cascader.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldCascader],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzCascaderModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'cascader',\r\n component: FormlyFieldCascader,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCascaderModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAoMM,MAAO,mBACX,SAAQ,SAAyC,CAAA;AAvCnD,IAAA,WAAA,GAAA;;QA0CW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA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A,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC5BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy, OnInit } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type {\r\n NzCascaderOption,\r\n NzShowSearchOptions,\r\n NzCascaderExpandTrigger,\r\n NzCascaderSize\r\n} from 'ng-zorro-antd/cascader';\r\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface CascaderProps extends FormlyFieldProps {\r\n /**\r\n * 是否支持清除\r\n * @default true\r\n */\r\n allowClear?: boolean;\r\n\r\n /**\r\n * 是否自动聚焦,当存在输入框时\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 浮层是否应带有背景板\r\n * @default false\r\n */\r\n backdrop?: boolean;\r\n\r\n /**\r\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\r\n */\r\n changeOn?: (option: NzSafeAny, index: number) => boolean;\r\n\r\n /**\r\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\r\n * @default false\r\n */\r\n changeOnSelect?: boolean;\r\n\r\n /**\r\n * 自定义浮层列类名\r\n */\r\n columnClassName?: string;\r\n\r\n /**\r\n * 自定义次级菜单展开图标\r\n */\r\n expandIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 次级菜单的展开方式\r\n * @default 'click'\r\n */\r\n expandTrigger?: NzCascaderExpandTrigger;\r\n\r\n /**\r\n * 选项的显示值的属性名\r\n * @default 'label'\r\n */\r\n labelProperty: string;\r\n\r\n /**\r\n * 选择后展示的渲染模板\r\n */\r\n labelRender?: TemplateRef<NzSafeAny> | null;\r\n\r\n /**\r\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\r\n */\r\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\r\n\r\n /**\r\n * 自定义浮层类名\r\n */\r\n menuClassName?: string;\r\n\r\n /**\r\n * 自定义浮层样式\r\n */\r\n menuStyle?: NgStyleInterface | null;\r\n\r\n /**\r\n * 当下拉列表为空时显示的内容\r\n */\r\n notFoundContent?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 选项的渲染模板\r\n */\r\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\r\n\r\n /**\r\n * 是否显示箭头\r\n * @default true\r\n */\r\n showArrow?: boolean;\r\n\r\n /**\r\n * 显示输入框\r\n * @default true\r\n */\r\n showInput?: boolean;\r\n\r\n /**\r\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\r\n * @default false\r\n */\r\n showSearch?: boolean | NzShowSearchOptions;\r\n\r\n /**\r\n * 输入框大小\r\n * @default default\r\n */\r\n size?: NzCascaderSize;\r\n\r\n /**\r\n * 设置校验状态\r\n */\r\n status?: NzStatus;\r\n\r\n /**\r\n * 自定义的选择框后缀图标\r\n */\r\n suffixIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 选项的实际值的属性名\r\n * @default 'value'\r\n */\r\n valueProperty?: string;\r\n\r\n /**\r\n * 可选项数据源\r\n */\r\n cascaderOptions?: NzCascaderOption[] | null;\r\n\r\n /**\r\n * 清除值时触发\r\n */\r\n onClear?: (field: FormlyFieldConfig) => void;\r\n /**\r\n * 菜单浮层的显示/隐藏\r\n */\r\n visibleChange?: (field: FormlyFieldConfig, visible: boolean) => void;\r\n\r\n /**\r\n * 值发生变化时触发\r\n */\r\n selectionChange?: (field: FormlyFieldConfig, value: NzCascaderOption[]) => void;\r\n}\r\n\r\nexport interface FormlyCascaderFieldConfig extends FormlyFieldConfig<CascaderProps> {\r\n type: 'cascader' | Type<FormlyFieldCascader>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-cascader',\r\n template: `<nz-cascader\r\n #cascader\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']!\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzChangeOn]=\"props['changeOn']\"\r\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\r\n [nzColumnClassName]=\"props['columnClassName']\"\r\n [nzExpandIcon]=\"props['expandIcon']!\"\r\n [nzExpandTrigger]=\"props['expandTrigger']!\"\r\n [nzLabelProperty]=\"props['labelProperty']\"\r\n [nzLabelRender]=\"props['labelRender'] ?? null\"\r\n [nzLoadData]=\"props['loadData']\"\r\n [nzMenuClassName]=\"props['menuClassName']\"\r\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\r\n [nzNotFoundContent]=\"props['notFoundContent']\"\r\n [nzOptionRender]=\"props['optionRender'] ?? null\"\r\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\r\n [nzShowArrow]=\"props['showArrow']!!\"\r\n [nzShowInput]=\"props['showInput']!!\"\r\n [nzShowSearch]=\"props['showSearch']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status'] ?? ''\"\r\n [nzSuffixIcon]=\"props['suffixIcon']!\"\r\n [nzValueProperty]=\"props['valueProperty']!\"\r\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\r\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\r\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n ></nz-cascader>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldCascader\r\n extends FieldType<FieldTypeConfig<CascaderProps>>\r\n implements OnInit\r\n{\r\n override defaultOptions = {\r\n props: {\r\n placeholder: '请选择',\r\n allowClear: true,\r\n backdrop: false,\r\n changeOnSelect: false,\r\n expandTrigger: 'click' as const,\r\n labelProperty: 'label',\r\n showArrow: true,\r\n showInput: true,\r\n showSearch: false,\r\n size: 'default' as const,\r\n status: '' as const,\r\n valueProperty: 'value',\r\n cascaderOptions: []\r\n }\r\n };\r\n ngOnInit(): void {\r\n const options = this.props['cascaderOptions'];\r\n if (!options || options.length === 0) {\r\n this.props['cascaderOptions'] = this.props.options as any;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\r\nimport { FormlyFieldCascader } from './cascader.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldCascader],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzCascaderModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'cascader',\r\n component: FormlyFieldCascader,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCascaderModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAoMM,MAAO,mBACX,SAAQ,SAAyC,CAAA;AAvCnD,IAAA,WAAA,GAAA;;QA0CW,IAAA,CAAA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AAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC5BD;;AAEG;;;;"}
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i2 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i4 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
- import * as i3 from '@angular/forms';
7
+ import * as i2 from '@angular/forms';
8
8
  import { ReactiveFormsModule } from '@angular/forms';
9
9
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
10
- import * as i1 from 'ng-zorro-antd/checkbox';
10
+ import * as i3 from 'ng-zorro-antd/checkbox';
11
11
  import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
12
12
 
13
13
  class FormlyFieldCheckbox extends FieldType {
@@ -21,8 +21,8 @@ class FormlyFieldCheckbox extends FieldType {
21
21
  };
22
22
  }
23
23
  }
24
- FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
25
- FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
24
+ FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
25
+ FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
26
26
  <label
27
27
  *ngIf="props.type !== 'group'; else checkboxgroup"
28
28
  [formControl]="formControl"
@@ -42,8 +42,8 @@ FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
42
42
  (ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
43
43
  ></nz-checkbox-group>
44
44
  </ng-template>
45
- `, isInline: true, components: [{ type: i1.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { type: i1.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
45
+ `, isInline: true, dependencies: [{ 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.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "component", type: i3.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
47
47
  type: Component,
48
48
  args: [{
49
49
  selector: 'formly-field-checkbox',
@@ -74,31 +74,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
74
74
 
75
75
  class FormlyNzCheckboxModule {
76
76
  }
77
- FormlyNzCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
- FormlyNzCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
77
+ FormlyNzCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
+ FormlyNzCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
79
79
  ReactiveFormsModule,
80
80
  FormlyNzFormFieldModule,
81
81
  NzCheckboxModule, i4.FormlyModule] });
82
- FormlyNzCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCheckboxModule, imports: [[
83
- CommonModule,
84
- ReactiveFormsModule,
85
- FormlyNzFormFieldModule,
86
- NzCheckboxModule,
87
- FormlyModule.forChild({
88
- types: [
89
- {
90
- name: 'checkbox',
91
- component: FormlyFieldCheckbox,
92
- wrappers: ['form-field']
93
- },
94
- {
95
- name: 'boolean',
96
- extends: 'checkbox'
97
- }
98
- ]
99
- })
100
- ]] });
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
82
+ FormlyNzCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, imports: [CommonModule,
83
+ ReactiveFormsModule,
84
+ FormlyNzFormFieldModule,
85
+ NzCheckboxModule,
86
+ FormlyModule.forChild({
87
+ types: [
88
+ {
89
+ name: 'checkbox',
90
+ component: FormlyFieldCheckbox,
91
+ wrappers: ['form-field']
92
+ },
93
+ {
94
+ name: 'boolean',
95
+ extends: 'checkbox'
96
+ }
97
+ ]
98
+ })] });
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
102
100
  type: NgModule,
103
101
  args: [{
104
102
  declarations: [FormlyFieldCheckbox],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-checkbox.mjs","sources":["../../../../packages/formlyantd/checkbox/src/checkbox.type.ts","../../../../packages/formlyantd/checkbox/src/checkbox.module.ts","../../../../packages/formlyantd/checkbox/src/ngx-formly-zorro-antd-checkbox.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\ninterface CheckboxProps extends FormlyFieldProps {\r\n type?: 'group' | 'single';\r\n\r\n /**\r\n * 自动获取焦点\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 设置 indeterminate 状态,只负责样式控制\r\n * @default false\r\n */\r\n indeterminate?: boolean;\r\n\r\n /**\r\n * 选中变化时回调\r\n */\r\n modelChange?: (field: FormlyFieldConfig, data: boolean) => void;\r\n}\r\n\r\nexport interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {\r\n type: 'checkbox' | 'boolean' | Type<FormlyFieldCheckbox>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-checkbox',\r\n template: `\r\n <label\r\n *ngIf=\"props.type !== 'group'; else checkboxgroup\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzIndeterminate]=\"props['indeterminate'] && formControl.value == null\"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n nz-checkbox\r\n >\r\n {{ props.label }}\r\n </label>\r\n\r\n <ng-template #checkboxgroup>\r\n <nz-checkbox-group\r\n [(ngModel)]=\"props.options\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n ></nz-checkbox-group>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {\r\n override defaultOptions = {\r\n props: {\r\n indeterminate: false,\r\n hideLabel: true\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzCheckboxModule } from 'ng-zorro-antd/checkbox';\r\n\r\nimport { FormlyFieldCheckbox } from './checkbox.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldCheckbox],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzCheckboxModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'checkbox',\r\n component: FormlyFieldCheckbox,\r\n wrappers: ['form-field']\r\n },\r\n {\r\n name: 'boolean',\r\n extends: 'checkbox'\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCheckboxModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAuDM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AAzBlF,IAAA,WAAA,GAAA;;QA0BW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,SAAS,EAAE,IAAI;AAChB,aAAA;SACF,CAAC;KACH;;iHAPY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,EAvBpB,QAAA,EAAA,uBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;AAoBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,EAAA,YA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EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,UAAU;AACpB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACjCD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-checkbox.mjs","sources":["../../../../packages/formlyantd/checkbox/src/checkbox.type.ts","../../../../packages/formlyantd/checkbox/src/checkbox.module.ts","../../../../packages/formlyantd/checkbox/src/ngx-formly-zorro-antd-checkbox.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\ninterface CheckboxProps extends FormlyFieldProps {\r\n type?: 'group' | 'single';\r\n\r\n /**\r\n * 自动获取焦点\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 设置 indeterminate 状态,只负责样式控制\r\n * @default false\r\n */\r\n indeterminate?: boolean;\r\n\r\n /**\r\n * 选中变化时回调\r\n */\r\n modelChange?: (field: FormlyFieldConfig, data: boolean) => void;\r\n}\r\n\r\nexport interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {\r\n type: 'checkbox' | 'boolean' | Type<FormlyFieldCheckbox>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-checkbox',\r\n template: `\r\n <label\r\n *ngIf=\"props.type !== 'group'; else checkboxgroup\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzIndeterminate]=\"props['indeterminate'] && formControl.value == null\"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n nz-checkbox\r\n >\r\n {{ props.label }}\r\n </label>\r\n\r\n <ng-template #checkboxgroup>\r\n <nz-checkbox-group\r\n [(ngModel)]=\"props.options\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n ></nz-checkbox-group>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {\r\n override defaultOptions = {\r\n props: {\r\n indeterminate: false,\r\n hideLabel: true\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzCheckboxModule } from 'ng-zorro-antd/checkbox';\r\n\r\nimport { FormlyFieldCheckbox } from './checkbox.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldCheckbox],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzCheckboxModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'checkbox',\r\n component: FormlyFieldCheckbox,\r\n wrappers: ['form-field']\r\n },\r\n {\r\n name: 'boolean',\r\n extends: 'checkbox'\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCheckboxModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAuDM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AAzBlF,IAAA,WAAA,GAAA;;QA0BW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,SAAS,EAAE,IAAI;AAChB,aAAA;SACF,CAAC;KACH;;gHAPY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA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ACpB,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAxBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,UAAU;AACpB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACjCD;;AAEG;;;;"}
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i2 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i4 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
- import * as i3 from '@angular/forms';
7
+ import * as i2 from '@angular/forms';
8
8
  import { ReactiveFormsModule } from '@angular/forms';
9
9
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
10
- import * as i1 from 'ng-zorro-antd/date-picker';
10
+ import * as i3 from 'ng-zorro-antd/date-picker';
11
11
  import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
12
12
 
13
13
  class FormlyFieldDatepicker extends FieldType {
@@ -35,8 +35,8 @@ class FormlyFieldDatepicker extends FieldType {
35
35
  };
36
36
  }
37
37
  }
38
- FormlyFieldDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldDatepicker, deps: null, target: i0.ɵɵFactoryTarget.Component });
39
- FormlyFieldDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldDatepicker, selector: "formly-field-datepicker", usesInheritance: true, ngImport: i0, template: `<ng-container [ngSwitch]="props.type">
38
+ FormlyFieldDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldDatepicker, deps: null, target: i0.ɵɵFactoryTarget.Component });
39
+ FormlyFieldDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldDatepicker, selector: "formly-field-datepicker", usesInheritance: true, ngImport: i0, template: `<ng-container [ngSwitch]="props.type">
40
40
  <nz-range-picker
41
41
  *ngSwitchCase="'range'"
42
42
  [nzId]="id"
@@ -109,8 +109,8 @@ FormlyFieldDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
109
109
  (nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
110
110
  (nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
111
111
  ></nz-date-picker>
112
- </ng-container>`, isInline: true, components: [{ type: i1.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldDatepicker, decorators: [{
112
+ </ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { 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.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }, { kind: "directive", type: i3.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldDatepicker, decorators: [{
114
114
  type: Component,
115
115
  args: [{
116
116
  selector: 'formly-field-datepicker',
@@ -194,27 +194,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
194
194
 
195
195
  class FormlyNzDatepickerModule {
196
196
  }
197
- FormlyNzDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
198
- FormlyNzDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzDatepickerModule, declarations: [FormlyFieldDatepicker], imports: [CommonModule,
197
+ FormlyNzDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
198
+ FormlyNzDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, declarations: [FormlyFieldDatepicker], imports: [CommonModule,
199
199
  ReactiveFormsModule,
200
200
  FormlyNzFormFieldModule,
201
201
  NzDatePickerModule, i4.FormlyModule] });
202
- FormlyNzDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzDatepickerModule, imports: [[
203
- CommonModule,
204
- ReactiveFormsModule,
205
- FormlyNzFormFieldModule,
206
- NzDatePickerModule,
207
- FormlyModule.forChild({
208
- types: [
209
- {
210
- name: 'datepicker',
211
- component: FormlyFieldDatepicker,
212
- wrappers: ['form-field']
213
- }
214
- ]
215
- })
216
- ]] });
217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzDatepickerModule, decorators: [{
202
+ FormlyNzDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, imports: [CommonModule,
203
+ ReactiveFormsModule,
204
+ FormlyNzFormFieldModule,
205
+ NzDatePickerModule,
206
+ FormlyModule.forChild({
207
+ types: [
208
+ {
209
+ name: 'datepicker',
210
+ component: FormlyFieldDatepicker,
211
+ wrappers: ['form-field']
212
+ }
213
+ ]
214
+ })] });
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, decorators: [{
218
216
  type: NgModule,
219
217
  args: [{
220
218
  declarations: [FormlyFieldDatepicker],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-datepicker.mjs","sources":["../../../../packages/formlyantd/datepicker/src/datepicker.type.ts","../../../../packages/formlyantd/datepicker/src/datepicker.module.ts","../../../../packages/formlyantd/datepicker/src/ngx-formly-zorro-antd-datepicker.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';\r\n\r\nimport type { DatepickerProps } from './datepicker.props';\r\n\r\nexport interface FormlyDatepickerFieldConfig extends FormlyFieldConfig<DatepickerProps> {\r\n type: 'datepicker' | Type<FormlyFieldDatepicker>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-datepicker',\r\n template: `<ng-container [ngSwitch]=\"props.type\">\r\n <nz-range-picker\r\n *ngSwitchCase=\"'range'\"\r\n [nzId]=\"id\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\r\n [nzDisabledDate]=\"props['disabledDate']\"\r\n [nzDropdownClassName]=\"props['dropdownClassName']\"\r\n [nzFormat]=\"props['format']\"\r\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\r\n [nzMode]=\"props['mode']\"\r\n [nzPopupStyle]=\"props['popupStyle']\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status'] ?? ''\"\r\n [nzPlacement]=\"props['placement']\"\r\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzInline]=\"props['inline']\"\r\n [nzDateRender]=\"props['dateRender']\"\r\n [nzDisabledTime]=\"props['rangeOptions']?.disabledTime\"\r\n [nzShowTime]=\"props['showTime']\"\r\n [nzShowToday]=\"props['showToday']!!\"\r\n [nzShowNow]=\"props['showNow']!!\"\r\n [nzRanges]=\"props['rangeOptions']?.ranges\"\r\n [nzSeparator]=\"props['rangeOptions']?.separator\"\r\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\r\n (nzOnCalendarChange)=\"\r\n props['rangeOptions']?.calendarChange &&\r\n props['rangeOptions']?.calendarChange(field, $event)\r\n \"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n ></nz-range-picker>\r\n\r\n <nz-date-picker\r\n *ngSwitchDefault\r\n [nzId]=\"id\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\r\n [nzDisabledDate]=\"props['disabledDate']\"\r\n [nzDropdownClassName]=\"props['dropdownClassName']\"\r\n [nzFormat]=\"props['format']\"\r\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\r\n [nzMode]=\"props['mode']\"\r\n [nzPopupStyle]=\"props['popupStyle']!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzPlacement]=\"props['placement']!\"\r\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzInline]=\"props['inline']\"\r\n [nzDateRender]=\"props['dateRender']\"\r\n [nzDisabledTime]=\"props['disabledTime']\"\r\n [nzShowTime]=\"props['showTime']\"\r\n [nzShowToday]=\"props['showToday']!!\"\r\n [nzShowNow]=\"props['showNow']!!\"\r\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\r\n ></nz-date-picker>\r\n </ng-container>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldDatepicker extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n allowClear: true,\r\n backdrop: false,\r\n defaultPickerValue: null,\r\n inputReadOnly: false,\r\n mode: 'date' as const,\r\n size: 'default' as const,\r\n status: '' as const,\r\n placement: 'bottomLeft' as const,\r\n popupStyle: {},\r\n borderless: false,\r\n inline: false,\r\n showToday: true,\r\n showNow: true,\r\n rangeOptions: {\r\n separator: '~'\r\n }\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzDatePickerModule } from 'ng-zorro-antd/date-picker';\r\nimport { FormlyFieldDatepicker } from './datepicker.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldDatepicker],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzDatePickerModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'datepicker',\r\n component: FormlyFieldDatepicker,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzDatepickerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAuFM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AA9ErE,IAAA,WAAA,GAAA;;QA+EW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,kBAAkB,EAAE,IAAI;AACxB,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,IAAI,EAAE,MAAe;AACrB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,SAAS,EAAE,YAAqB;AAChC,gBAAA,UAAU,E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A,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC5BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-datepicker.mjs","sources":["../../../../packages/formlyantd/datepicker/src/datepicker.type.ts","../../../../packages/formlyantd/datepicker/src/datepicker.module.ts","../../../../packages/formlyantd/datepicker/src/ngx-formly-zorro-antd-datepicker.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';\r\n\r\nimport type { DatepickerProps } from './datepicker.props';\r\n\r\nexport interface FormlyDatepickerFieldConfig extends FormlyFieldConfig<DatepickerProps> {\r\n type: 'datepicker' | Type<FormlyFieldDatepicker>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-datepicker',\r\n template: `<ng-container [ngSwitch]=\"props.type\">\r\n <nz-range-picker\r\n *ngSwitchCase=\"'range'\"\r\n [nzId]=\"id\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\r\n [nzDisabledDate]=\"props['disabledDate']\"\r\n [nzDropdownClassName]=\"props['dropdownClassName']\"\r\n [nzFormat]=\"props['format']\"\r\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\r\n [nzMode]=\"props['mode']\"\r\n [nzPopupStyle]=\"props['popupStyle']\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status'] ?? ''\"\r\n [nzPlacement]=\"props['placement']\"\r\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzInline]=\"props['inline']\"\r\n [nzDateRender]=\"props['dateRender']\"\r\n [nzDisabledTime]=\"props['rangeOptions']?.disabledTime\"\r\n [nzShowTime]=\"props['showTime']\"\r\n [nzShowToday]=\"props['showToday']!!\"\r\n [nzShowNow]=\"props['showNow']!!\"\r\n [nzRanges]=\"props['rangeOptions']?.ranges\"\r\n [nzSeparator]=\"props['rangeOptions']?.separator\"\r\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\r\n (nzOnCalendarChange)=\"\r\n props['rangeOptions']?.calendarChange &&\r\n props['rangeOptions']?.calendarChange(field, $event)\r\n \"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n ></nz-range-picker>\r\n\r\n <nz-date-picker\r\n *ngSwitchDefault\r\n [nzId]=\"id\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\r\n [nzDisabledDate]=\"props['disabledDate']\"\r\n [nzDropdownClassName]=\"props['dropdownClassName']\"\r\n [nzFormat]=\"props['format']\"\r\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\r\n [nzMode]=\"props['mode']\"\r\n [nzPopupStyle]=\"props['popupStyle']!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzPlacement]=\"props['placement']!\"\r\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzInline]=\"props['inline']\"\r\n [nzDateRender]=\"props['dateRender']\"\r\n [nzDisabledTime]=\"props['disabledTime']\"\r\n [nzShowTime]=\"props['showTime']\"\r\n [nzShowToday]=\"props['showToday']!!\"\r\n [nzShowNow]=\"props['showNow']!!\"\r\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\r\n ></nz-date-picker>\r\n </ng-container>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldDatepicker extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n allowClear: true,\r\n backdrop: false,\r\n defaultPickerValue: null,\r\n inputReadOnly: false,\r\n mode: 'date' as const,\r\n size: 'default' as const,\r\n status: '' as const,\r\n placement: 'bottomLeft' as const,\r\n popupStyle: {},\r\n borderless: false,\r\n inline: false,\r\n showToday: true,\r\n showNow: true,\r\n rangeOptions: {\r\n separator: '~'\r\n }\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzDatePickerModule } from 'ng-zorro-antd/date-picker';\r\nimport { FormlyFieldDatepicker } from './datepicker.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldDatepicker],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzDatePickerModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'datepicker',\r\n component: FormlyFieldDatepicker,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzDatepickerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\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