ngx-formly-zorro-antd 13.0.0 → 14.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. package/autocomplete/{ngx-formly-zorro-antd-autocomplete.d.ts → index.d.ts} +0 -0
  2. package/button/button.type.d.ts +1 -1
  3. package/button/{ngx-formly-zorro-antd-button.d.ts → index.d.ts} +0 -0
  4. package/card/card.wrapper.d.ts +1 -1
  5. package/card/{ngx-formly-zorro-antd-card.d.ts → index.d.ts} +0 -0
  6. package/cascader/cascader.type.d.ts +1 -1
  7. package/cascader/{ngx-formly-zorro-antd-cascader.d.ts → index.d.ts} +0 -0
  8. package/checkbox/checkbox.type.d.ts +1 -1
  9. package/checkbox/{ngx-formly-zorro-antd-checkbox.d.ts → index.d.ts} +0 -0
  10. package/datepicker/datepicker.type.d.ts +1 -1
  11. package/datepicker/{ngx-formly-zorro-antd-datepicker.d.ts → index.d.ts} +0 -0
  12. package/esm2020/button/button.module.mjs +23 -25
  13. package/esm2020/button/button.type.mjs +9 -9
  14. package/esm2020/card/card.module.mjs +15 -17
  15. package/esm2020/card/card.wrapper.mjs +5 -5
  16. package/esm2020/cascader/cascader.module.mjs +17 -19
  17. package/esm2020/cascader/cascader.type.mjs +8 -8
  18. package/esm2020/checkbox/checkbox.module.mjs +21 -23
  19. package/esm2020/checkbox/checkbox.type.mjs +8 -8
  20. package/esm2020/datepicker/datepicker.module.mjs +17 -19
  21. package/esm2020/datepicker/datepicker.type.mjs +8 -8
  22. package/esm2020/form-field/form-field.module.mjs +15 -17
  23. package/esm2020/form-field/form-field.wrapper.mjs +9 -9
  24. package/esm2020/grid/grid.module.mjs +14 -16
  25. package/esm2020/grid/grid.type.mjs +7 -7
  26. package/esm2020/input/input.module.mjs +31 -33
  27. package/esm2020/input/input.type.mjs +81 -35
  28. package/esm2020/input-group/input-group.module.mjs +16 -18
  29. package/esm2020/input-group/input-group.type.mjs +8 -8
  30. package/esm2020/input-number/input-number.module.mjs +21 -23
  31. package/esm2020/input-number/input-number.type.mjs +8 -8
  32. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +25 -27
  33. package/esm2020/radio/radio.module.mjs +19 -21
  34. package/esm2020/radio/radio.type.mjs +8 -8
  35. package/esm2020/rate/rate.module.mjs +17 -19
  36. package/esm2020/rate/rate.type.mjs +7 -7
  37. package/esm2020/select/select.module.mjs +19 -21
  38. package/esm2020/select/select.type.mjs +8 -8
  39. package/esm2020/slider/slider.module.mjs +17 -19
  40. package/esm2020/slider/slider.type.mjs +7 -7
  41. package/esm2020/switch/switch.module.mjs +17 -19
  42. package/esm2020/switch/switch.type.mjs +7 -7
  43. package/esm2020/tabs/tabs.module.mjs +14 -16
  44. package/esm2020/tabs/tabs.wrapper.mjs +8 -8
  45. package/esm2020/textarea/textarea.module.mjs +17 -19
  46. package/esm2020/textarea/textarea.type.mjs +8 -8
  47. package/esm2020/timepicker/timepicker.module.mjs +17 -19
  48. package/esm2020/timepicker/timepicker.type.mjs +8 -8
  49. package/esm2020/transfer/transfer.component.mjs +5 -5
  50. package/esm2020/transfer/transfer.module.mjs +17 -19
  51. package/esm2020/transfer/transfer.type.mjs +8 -8
  52. package/esm2020/tree-select/tree-select.module.mjs +17 -19
  53. package/esm2020/tree-select/tree-select.type.mjs +8 -8
  54. package/esm2020/upload/upload.component.mjs +10 -10
  55. package/esm2020/upload/upload.module.mjs +19 -21
  56. package/esm2020/upload/upload.type.mjs +8 -8
  57. package/fesm2015/ngx-formly-zorro-antd-button.mjs +31 -33
  58. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
  59. package/fesm2015/ngx-formly-zorro-antd-card.mjs +18 -20
  60. package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
  61. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +24 -26
  62. package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  63. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +27 -29
  64. package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  65. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +23 -25
  66. package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  67. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +23 -25
  68. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  69. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +20 -22
  70. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  71. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +23 -25
  72. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  73. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +27 -29
  74. package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  75. package/fesm2015/ngx-formly-zorro-antd-input.mjs +111 -67
  76. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
  77. package/fesm2015/ngx-formly-zorro-antd-radio.mjs +26 -28
  78. package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  79. package/fesm2015/ngx-formly-zorro-antd-rate.mjs +22 -24
  80. package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  81. package/fesm2015/ngx-formly-zorro-antd-select.mjs +26 -28
  82. package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
  83. package/fesm2015/ngx-formly-zorro-antd-slider.mjs +22 -24
  84. package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  85. package/fesm2015/ngx-formly-zorro-antd-switch.mjs +22 -24
  86. package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  87. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +21 -23
  88. package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  89. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +23 -25
  90. package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  91. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +24 -26
  92. package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  93. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +27 -29
  94. package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  95. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +24 -26
  96. package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  97. package/fesm2015/ngx-formly-zorro-antd-upload.mjs +34 -36
  98. package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  99. package/fesm2015/ngx-formly-zorro-antd.mjs +24 -26
  100. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
  101. package/fesm2020/ngx-formly-zorro-antd-button.mjs +31 -33
  102. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
  103. package/fesm2020/ngx-formly-zorro-antd-card.mjs +18 -20
  104. package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
  105. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +24 -26
  106. package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  107. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +27 -29
  108. package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  109. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +23 -25
  110. package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  111. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +23 -25
  112. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  113. package/fesm2020/ngx-formly-zorro-antd-grid.mjs +20 -22
  114. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  115. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +23 -25
  116. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  117. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +27 -29
  118. package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  119. package/fesm2020/ngx-formly-zorro-antd-input.mjs +111 -67
  120. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
  121. package/fesm2020/ngx-formly-zorro-antd-radio.mjs +26 -28
  122. package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  123. package/fesm2020/ngx-formly-zorro-antd-rate.mjs +22 -24
  124. package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  125. package/fesm2020/ngx-formly-zorro-antd-select.mjs +26 -28
  126. package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
  127. package/fesm2020/ngx-formly-zorro-antd-slider.mjs +22 -24
  128. package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  129. package/fesm2020/ngx-formly-zorro-antd-switch.mjs +22 -24
  130. package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  131. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +21 -23
  132. package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  133. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +23 -25
  134. package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  135. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +24 -26
  136. package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  137. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +27 -29
  138. package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  139. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +24 -26
  140. package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  141. package/fesm2020/ngx-formly-zorro-antd-upload.mjs +34 -36
  142. package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  143. package/fesm2020/ngx-formly-zorro-antd.mjs +24 -26
  144. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
  145. package/form-field/form-field.wrapper.d.ts +1 -1
  146. package/form-field/{ngx-formly-zorro-antd-form-field.d.ts → index.d.ts} +0 -0
  147. package/grid/grid.type.d.ts +1 -1
  148. package/grid/{ngx-formly-zorro-antd-grid.d.ts → index.d.ts} +0 -0
  149. package/input/{ngx-formly-zorro-antd-input.d.ts → index.d.ts} +0 -0
  150. package/input/input.type.d.ts +1 -1
  151. package/input-group/{ngx-formly-zorro-antd-input-group.d.ts → index.d.ts} +0 -0
  152. package/input-group/input-group.type.d.ts +1 -1
  153. package/input-number/{ngx-formly-zorro-antd-input-number.d.ts → index.d.ts} +0 -0
  154. package/input-number/input-number.type.d.ts +1 -1
  155. package/package.json +30 -30
  156. package/radio/{ngx-formly-zorro-antd-radio.d.ts → index.d.ts} +0 -0
  157. package/radio/radio.type.d.ts +1 -1
  158. package/rate/{ngx-formly-zorro-antd-rate.d.ts → index.d.ts} +0 -0
  159. package/rate/rate.type.d.ts +1 -1
  160. package/select/{ngx-formly-zorro-antd-select.d.ts → index.d.ts} +0 -0
  161. package/select/select.type.d.ts +1 -1
  162. package/slider/{ngx-formly-zorro-antd-slider.d.ts → index.d.ts} +0 -0
  163. package/slider/slider.type.d.ts +1 -1
  164. package/switch/{ngx-formly-zorro-antd-switch.d.ts → index.d.ts} +0 -0
  165. package/switch/switch.type.d.ts +1 -1
  166. package/tabs/{ngx-formly-zorro-antd-tabs.d.ts → index.d.ts} +0 -0
  167. package/tabs/tabs.wrapper.d.ts +1 -1
  168. package/textarea/{ngx-formly-zorro-antd-textarea.d.ts → index.d.ts} +0 -0
  169. package/textarea/textarea.type.d.ts +1 -1
  170. package/timepicker/{ngx-formly-zorro-antd-timepicker.d.ts → index.d.ts} +0 -0
  171. package/timepicker/timepicker.type.d.ts +1 -1
  172. package/transfer/{ngx-formly-zorro-antd-transfer.d.ts → index.d.ts} +0 -0
  173. package/transfer/transfer.component.d.ts +1 -1
  174. package/transfer/transfer.type.d.ts +1 -1
  175. package/tree-select/{ngx-formly-zorro-antd-tree-select.d.ts → index.d.ts} +0 -0
  176. package/tree-select/tree-select.type.d.ts +1 -1
  177. package/upload/{ngx-formly-zorro-antd-upload.d.ts → index.d.ts} +0 -0
  178. package/upload/upload.component.d.ts +1 -1
  179. package/upload/upload.type.d.ts +1 -1
  180. package/autocomplete/package.json +0 -10
  181. package/button/package.json +0 -10
  182. package/card/package.json +0 -10
  183. package/cascader/package.json +0 -10
  184. package/checkbox/package.json +0 -10
  185. package/datepicker/package.json +0 -10
  186. package/form-field/package.json +0 -10
  187. package/grid/package.json +0 -10
  188. package/input/package.json +0 -10
  189. package/input-group/package.json +0 -10
  190. package/input-number/package.json +0 -10
  191. package/ngx-formly-zorro-antd.d.ts +0 -5
  192. package/radio/package.json +0 -10
  193. package/rate/package.json +0 -10
  194. package/select/package.json +0 -10
  195. package/slider/package.json +0 -10
  196. package/switch/package.json +0 -10
  197. package/tabs/package.json +0 -10
  198. package/textarea/package.json +0 -10
  199. package/timepicker/package.json +0 -10
  200. package/transfer/package.json +0 -10
  201. package/tree-select/package.json +0 -10
  202. package/upload/package.json +0 -10
@@ -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;;AA0BW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,SAAS,EAAE,IAAI;AAChB,aAAA;SACF,CAAC;AACH,KAAA;;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,YAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,YAAA,CAAA,EAAA,QAAA,EAAA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,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EAtBxB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YAEvB,gBAAgB;YAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACD,oBAAA;AACE,wBAAA,IAAI,EAAE,SAAS;AACf,wBAAA,OAAO,EAAE,UAAU;AACpB,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,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;AACF,iBAAA,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;;AA0BW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,SAAS,EAAE,IAAI;AAChB,aAAA;SACF,CAAC;AACH,KAAA;;gHAPY,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,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAvBpB,QAAA,EAAA,uBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;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P,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;AACF,iBAAA,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;;AA+EW,QAAA,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,EAAE,EAAE;AACd,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,MAAM,EAAE,KAAK;AACb,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,YAAY,EAAE;AACZ,oBAAA,SAAS,EAAE,GAAG;AACf,iBAAA;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 {"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;;AA+EW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAA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oBAAA,IAAI,EAAE,YAAY;AAClB,oBAAA,SAAS,EAAE,qBAAqB;oBAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBApBpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,kBAAkB;wBAElB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
@@ -1,21 +1,21 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, 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 i2 from '@ngx-formly/core';
5
+ import * as i4 from '@ngx-formly/core';
6
6
  import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
7
7
  import { ReactiveFormsModule } from '@angular/forms';
8
- import * as i1 from 'ng-zorro-antd/form';
8
+ import * as i3 from 'ng-zorro-antd/form';
9
9
  import { NzFormModule } from 'ng-zorro-antd/form';
10
- import * as i3 from 'ng-zorro-antd/grid';
10
+ import * as i2 from 'ng-zorro-antd/grid';
11
11
 
12
12
  class FormlyWrapperFormField extends FieldWrapper {
13
13
  get errorState() {
14
14
  return this.showError ? 'error' : 'success';
15
15
  }
16
16
  }
17
- FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
18
- FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
17
+ FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
18
+ FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
19
19
  <nz-form-item [ngClass]="props.itemClass!">
20
20
  <ng-container *ngIf="props.label && props['hideLabel'] !== true">
21
21
  <nz-form-label
@@ -69,8 +69,8 @@ FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
69
69
  </ng-template>
70
70
  </nz-form-control>
71
71
  </nz-form-item>
72
- `, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"], components: [{ type: i1.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon"], exportAs: ["nzFormLabel"] }, { type: i1.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { type: i2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }] });
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
72
+ `, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: i4.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] });
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
74
74
  type: Component,
75
75
  args: [{ selector: 'formly-wrapper-nz-form-field', template: `
76
76
  <nz-form-item [ngClass]="props.itemClass!">
@@ -131,24 +131,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
131
131
 
132
132
  class FormlyNzFormFieldModule {
133
133
  }
134
- FormlyNzFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
135
- FormlyNzFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
134
+ FormlyNzFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
135
+ FormlyNzFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
136
136
  ReactiveFormsModule,
137
- NzFormModule, i2.FormlyModule] });
138
- FormlyNzFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzFormFieldModule, imports: [[
139
- CommonModule,
140
- ReactiveFormsModule,
141
- NzFormModule,
142
- FormlyModule.forChild({
143
- wrappers: [
144
- {
145
- name: 'form-field',
146
- component: FormlyWrapperFormField
147
- }
148
- ]
149
- })
150
- ]] });
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzFormFieldModule, decorators: [{
137
+ NzFormModule, i4.FormlyModule] });
138
+ FormlyNzFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, imports: [CommonModule,
139
+ ReactiveFormsModule,
140
+ NzFormModule,
141
+ FormlyModule.forChild({
142
+ wrappers: [
143
+ {
144
+ name: 'form-field',
145
+ component: FormlyWrapperFormField
146
+ }
147
+ ]
148
+ })] });
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, decorators: [{
152
150
  type: NgModule,
153
151
  args: [{
154
152
  declarations: [FormlyWrapperFormField],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzFormWrapperProps } from './form-field.props';\r\n\r\nexport type FormlyFieldProps = NzFormWrapperProps;\r\n\r\n@Component({\r\n selector: 'formly-wrapper-nz-form-field',\r\n styleUrls: ['./form-field.wrapper.scss'],\r\n template: `\r\n <nz-form-item [ngClass]=\"props.itemClass!\">\r\n <ng-container *ngIf=\"props.label && props['hideLabel'] !== true\">\r\n <nz-form-label\r\n [nzFlex]=\"props['grid']?.labelFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.labelOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.labelOrder ?? null\"\r\n [nzPull]=\"props['grid']?.labelPull ?? null\"\r\n [nzPush]=\"props['grid']?.labelPush ?? null\"\r\n [nzSpan]=\"props['grid']?.labelSpan ?? null\"\r\n [nzXs]=\"props['grid']?.labelXs ?? null\"\r\n [nzSm]=\"props['grid']?.labelSm ?? null\"\r\n [nzMd]=\"props['grid']?.labelMd ?? null\"\r\n [nzLg]=\"props['grid']?.labelLg ?? null\"\r\n [nzXl]=\"props['grid']?.labelXl ?? null\"\r\n [nzXXl]=\"props['grid']?.labelXXl ?? null\"\r\n [ngClass]=\"props.labelClass!\"\r\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\r\n [nzFor]=\"id\"\r\n [nzNoColon]=\"props['noColon']!!\"\r\n [nzTooltipTitle]=\"props['tooltipTitle']\"\r\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\r\n >\r\n <span class=\"formly-label-text\">\r\n {{ props.label }}\r\n </span>\r\n </nz-form-label>\r\n </ng-container>\r\n <nz-form-control\r\n [nzValidateStatus]=\"errorState\"\r\n [nzHasFeedback]=\"props['hasFeedback']!!\"\r\n [nzExtra]=\"props['controlExtra']\"\r\n [nzErrorTip]=\"errorTpl\"\r\n [ngClass]=\"props.controlClass!\"\r\n [nzFlex]=\"props['grid']?.controlFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.controlOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.controlOrder ?? null\"\r\n [nzPull]=\"props['grid']?.controlPull ?? null\"\r\n [nzPush]=\"props['grid']?.controlPush ?? null\"\r\n [nzSpan]=\"props['grid']?.controlSpan ?? null\"\r\n [nzXs]=\"props['grid']?.controlXs ?? null\"\r\n [nzSm]=\"props['grid']?.controlSm ?? null\"\r\n [nzMd]=\"props['grid']?.controlMd ?? null\"\r\n [nzLg]=\"props['grid']?.controlLg ?? null\"\r\n [nzXl]=\"props['grid']?.controlXl ?? null\"\r\n [nzXXl]=\"props['grid']?.controlXXl ?? null\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n\r\n <ng-template #errorTpl let-control>\r\n <formly-validation-message [field]=\"field\"></formly-validation-message>\r\n </ng-template>\r\n </nz-form-control>\r\n </nz-form-item>\r\n `\r\n})\r\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {\r\n get errorState() {\r\n return this.showError ? 'error' : 'success';\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 { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { FormlyWrapperFormField } from './form-field.wrapper';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperFormField],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzFormModule,\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'form-field',\r\n component: FormlyWrapperFormField\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFormFieldModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAiEM,MAAO,sBAAuB,SAAQ,YAAiD,CAAA;AAC3F,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;KAC7C;;oHAHU,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,EAxDvB,QAAA,EAAA,8BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,oEAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA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A;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzFormWrapperProps } from './form-field.props';\r\n\r\nexport type FormlyFieldProps = NzFormWrapperProps;\r\n\r\n@Component({\r\n selector: 'formly-wrapper-nz-form-field',\r\n styleUrls: ['./form-field.wrapper.scss'],\r\n template: `\r\n <nz-form-item [ngClass]=\"props.itemClass!\">\r\n <ng-container *ngIf=\"props.label && props['hideLabel'] !== true\">\r\n <nz-form-label\r\n [nzFlex]=\"props['grid']?.labelFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.labelOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.labelOrder ?? null\"\r\n [nzPull]=\"props['grid']?.labelPull ?? null\"\r\n [nzPush]=\"props['grid']?.labelPush ?? null\"\r\n [nzSpan]=\"props['grid']?.labelSpan ?? null\"\r\n [nzXs]=\"props['grid']?.labelXs ?? null\"\r\n [nzSm]=\"props['grid']?.labelSm ?? null\"\r\n [nzMd]=\"props['grid']?.labelMd ?? null\"\r\n [nzLg]=\"props['grid']?.labelLg ?? null\"\r\n [nzXl]=\"props['grid']?.labelXl ?? null\"\r\n [nzXXl]=\"props['grid']?.labelXXl ?? null\"\r\n [ngClass]=\"props.labelClass!\"\r\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\r\n [nzFor]=\"id\"\r\n [nzNoColon]=\"props['noColon']!!\"\r\n [nzTooltipTitle]=\"props['tooltipTitle']\"\r\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\r\n >\r\n <span class=\"formly-label-text\">\r\n {{ props.label }}\r\n </span>\r\n </nz-form-label>\r\n </ng-container>\r\n <nz-form-control\r\n [nzValidateStatus]=\"errorState\"\r\n [nzHasFeedback]=\"props['hasFeedback']!!\"\r\n [nzExtra]=\"props['controlExtra']\"\r\n [nzErrorTip]=\"errorTpl\"\r\n [ngClass]=\"props.controlClass!\"\r\n [nzFlex]=\"props['grid']?.controlFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.controlOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.controlOrder ?? null\"\r\n [nzPull]=\"props['grid']?.controlPull ?? null\"\r\n [nzPush]=\"props['grid']?.controlPush ?? null\"\r\n [nzSpan]=\"props['grid']?.controlSpan ?? null\"\r\n [nzXs]=\"props['grid']?.controlXs ?? null\"\r\n [nzSm]=\"props['grid']?.controlSm ?? null\"\r\n [nzMd]=\"props['grid']?.controlMd ?? null\"\r\n [nzLg]=\"props['grid']?.controlLg ?? null\"\r\n [nzXl]=\"props['grid']?.controlXl ?? null\"\r\n [nzXXl]=\"props['grid']?.controlXXl ?? null\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n\r\n <ng-template #errorTpl let-control>\r\n <formly-validation-message [field]=\"field\"></formly-validation-message>\r\n </ng-template>\r\n </nz-form-control>\r\n </nz-form-item>\r\n `\r\n})\r\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {\r\n get errorState() {\r\n return this.showError ? 'error' : 'success';\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 { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { FormlyWrapperFormField } from './form-field.wrapper';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperFormField],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzFormModule,\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'form-field',\r\n component: FormlyWrapperFormField\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFormFieldModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAiEM,MAAO,sBAAuB,SAAQ,YAAiD,CAAA;AAC3F,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;KAC7C;;mHAHU,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAxDvB,QAAA,EAAA,8BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,oEAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA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E,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
@@ -1,16 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i3 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i1 from '@ngx-formly/core';
5
+ import * as i3 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
7
  import * as i2 from 'ng-zorro-antd/grid';
8
8
  import { NzGridModule } from 'ng-zorro-antd/grid';
9
9
 
10
10
  class FormlyFieldGrid extends FieldType {
11
11
  }
12
- FormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });
13
- FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldGrid, selector: "formly-field-grid", usesInheritance: true, ngImport: i0, template: `
12
+ FormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });
13
+ FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldGrid, selector: "formly-field-grid", usesInheritance: true, ngImport: i0, template: `
14
14
  <div
15
15
  nz-row
16
16
  [nzAlign]="props.align ?? null"
@@ -36,8 +36,8 @@ FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
36
36
  [nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
37
37
  ></formly-field>
38
38
  </div>
39
- `, isInline: true, components: [{ type: i1.FormlyField, selector: "formly-field", inputs: ["field"] }], directives: [{ type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldGrid, decorators: [{
39
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldGrid, decorators: [{
41
41
  type: Component,
42
42
  args: [{
43
43
  selector: 'formly-field-grid',
@@ -74,22 +74,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
74
74
 
75
75
  class FormlyNzGridModule {
76
76
  }
77
- FormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
- FormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,
79
- NzGridModule, i1.FormlyModule] });
80
- FormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, imports: [[
81
- CommonModule,
82
- NzGridModule,
83
- FormlyModule.forChild({
84
- types: [
85
- {
86
- name: 'grid',
87
- component: FormlyFieldGrid
88
- }
89
- ]
90
- })
91
- ]] });
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, decorators: [{
77
+ FormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
+ FormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,
79
+ NzGridModule, i3.FormlyModule] });
80
+ FormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, imports: [CommonModule,
81
+ NzGridModule,
82
+ FormlyModule.forChild({
83
+ types: [
84
+ {
85
+ name: 'grid',
86
+ component: FormlyFieldGrid
87
+ }
88
+ ]
89
+ })] });
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, decorators: [{
93
91
  type: NgModule,
94
92
  args: [{
95
93
  declarations: [FormlyFieldGrid],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-grid.mjs","sources":["../../../../packages/formlyantd/grid/src/grid.type.ts","../../../../packages/formlyantd/grid/src/grid.module.ts","../../../../packages/formlyantd/grid/src/ngx-formly-zorro-antd-grid.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { GridProps } from './grid.props';\r\n\r\nexport interface FormlyGridFieldConfig extends FormlyFieldConfig<GridProps> {\r\n type: 'grid' | Type<FormlyFieldGrid>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-grid',\r\n template: `\r\n <div\r\n nz-row\r\n [nzAlign]=\"props.align ?? null\"\r\n [nzGutter]=\"props.gutter ?? null\"\r\n [nzJustify]=\"props.justify ?? null\"\r\n [formlyAttributes]=\"field\"\r\n >\r\n <formly-field\r\n *ngFor=\"let item of field.fieldGroup\"\r\n [field]=\"item\"\r\n nz-col\r\n [nzFlex]=\"item.props?.['grid']?.['flex'] || props.flex\"\r\n [nzOffset]=\"item.props?.['grid']?.['offset'] || props.offset\"\r\n [nzOrder]=\"item.props?.['grid']?.['order'] || props.order\"\r\n [nzPull]=\"item.props?.['grid']?.['pull'] || props.pull\"\r\n [nzPush]=\"item.props?.['grid']?.['push'] || props.push\"\r\n [nzSpan]=\"item.props?.['grid']?.['span'] || props.span\"\r\n [nzXs]=\"item.props?.['grid']?.['xs'] || props.xs\"\r\n [nzSm]=\"item.props?.['grid']?.['sm'] || props.sm\"\r\n [nzMd]=\"item.props?.['grid']?.['md'] || props.md\"\r\n [nzLg]=\"item.props?.['grid']?.['lg'] || props.lg\"\r\n [nzXl]=\"item.props?.['grid']?.['xl'] || props.xl\"\r\n [nzXXl]=\"item.props?.['grid']?.['xxl'] || props.xxl\"\r\n ></formly-field>\r\n </div>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldGrid extends FieldType<FieldTypeConfig<GridProps>> {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyFieldGrid } from './grid.type';\r\n\r\nimport { NzGridModule } from 'ng-zorro-antd/grid';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldGrid],\r\n imports: [\r\n CommonModule,\r\n NzGridModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'grid',\r\n component: FormlyFieldGrid\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzGridModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAwCM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;;6GAA7D,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,eAAe,EA7BhB,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BT,EAAA,CAAA,EAAA,QAAA,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BAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;iHAAlB,kBAAkB,EAAA,YAAA,EAAA,CAfd,eAAe,CAAA,EAAA,OAAA,EAAA,CAE5B,YAAY;QACZ,YAAY,EAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAYH,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAdpB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,YAAY;YAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,eAAe;AAC3B,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAhB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;AAC/B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;AAC3B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-grid.mjs","sources":["../../../../packages/formlyantd/grid/src/grid.type.ts","../../../../packages/formlyantd/grid/src/grid.module.ts","../../../../packages/formlyantd/grid/src/ngx-formly-zorro-antd-grid.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { GridProps } from './grid.props';\r\n\r\nexport interface FormlyGridFieldConfig extends FormlyFieldConfig<GridProps> {\r\n type: 'grid' | Type<FormlyFieldGrid>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-grid',\r\n template: `\r\n <div\r\n nz-row\r\n [nzAlign]=\"props.align ?? null\"\r\n [nzGutter]=\"props.gutter ?? null\"\r\n [nzJustify]=\"props.justify ?? null\"\r\n [formlyAttributes]=\"field\"\r\n >\r\n <formly-field\r\n *ngFor=\"let item of field.fieldGroup\"\r\n [field]=\"item\"\r\n nz-col\r\n [nzFlex]=\"item.props?.['grid']?.['flex'] || props.flex\"\r\n [nzOffset]=\"item.props?.['grid']?.['offset'] || props.offset\"\r\n [nzOrder]=\"item.props?.['grid']?.['order'] || props.order\"\r\n [nzPull]=\"item.props?.['grid']?.['pull'] || props.pull\"\r\n [nzPush]=\"item.props?.['grid']?.['push'] || props.push\"\r\n [nzSpan]=\"item.props?.['grid']?.['span'] || props.span\"\r\n [nzXs]=\"item.props?.['grid']?.['xs'] || props.xs\"\r\n [nzSm]=\"item.props?.['grid']?.['sm'] || props.sm\"\r\n [nzMd]=\"item.props?.['grid']?.['md'] || props.md\"\r\n [nzLg]=\"item.props?.['grid']?.['lg'] || props.lg\"\r\n [nzXl]=\"item.props?.['grid']?.['xl'] || props.xl\"\r\n [nzXXl]=\"item.props?.['grid']?.['xxl'] || props.xxl\"\r\n ></formly-field>\r\n </div>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldGrid extends FieldType<FieldTypeConfig<GridProps>> {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyFieldGrid } from './grid.type';\r\n\r\nimport { NzGridModule } from 'ng-zorro-antd/grid';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldGrid],\r\n imports: [\r\n CommonModule,\r\n NzGridModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'grid',\r\n component: FormlyFieldGrid\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzGridModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAwCM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;;4GAA7D,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,EA7BhB,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,cAAA,EAAA,QAAA,EAAA,+CAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,QAAA,EAAA,SAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EAAA,QAAA,EAAA,CAAA,OAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EA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EZ,YAAY,CAAC,QAAQ,CAAC;AACpB,YAAA,KAAK,EAAE;AACL,gBAAA;AACE,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,SAAS,EAAE,eAAe;AAC3B,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAhB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;AAC/B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;AAC3B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
@@ -1,11 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i3 from '@angular/common';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i2 from '@ngx-formly/core';
5
+ import * as i3 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
7
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
8
- import * as i1 from 'ng-zorro-antd/input';
8
+ import * as i2 from 'ng-zorro-antd/input';
9
9
  import { NzInputModule } from 'ng-zorro-antd/input';
10
10
 
11
11
  class FormlyFieldInputGroup extends FieldType {
@@ -28,8 +28,8 @@ class FormlyFieldInputGroup extends FieldType {
28
28
  return envent.id;
29
29
  }
30
30
  }
31
- FormlyFieldInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldInputGroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
32
- FormlyFieldInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldInputGroup, selector: "formly-field-input-group", usesInheritance: true, ngImport: i0, template: `
31
+ FormlyFieldInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInputGroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
32
+ FormlyFieldInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldInputGroup, selector: "formly-field-input-group", usesInheritance: true, ngImport: i0, template: `
33
33
  <nz-input-group
34
34
  [nzPrefixIcon]="props['prefixIcon']"
35
35
  [nzSuffixIcon]="props['suffixIcon']"
@@ -46,8 +46,8 @@ FormlyFieldInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
46
46
  >
47
47
  <formly-field *ngFor="let f of group; trackBy: trackById" [field]="f"></formly-field>
48
48
  </nz-input-group>
49
- `, isInline: true, components: [{ type: i1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }], directives: [{ type: i1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldInputGroup, decorators: [{
49
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i2.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInputGroup, decorators: [{
51
51
  type: Component,
52
52
  args: [{
53
53
  selector: 'formly-field-input-group',
@@ -75,25 +75,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
75
75
 
76
76
  class FormlyNzInputGroupModule {
77
77
  }
78
- FormlyNzInputGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
79
- FormlyNzInputGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputGroupModule, declarations: [FormlyFieldInputGroup], imports: [CommonModule,
78
+ FormlyNzInputGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
79
+ FormlyNzInputGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputGroupModule, declarations: [FormlyFieldInputGroup], imports: [CommonModule,
80
80
  NzInputModule,
81
- FormlyNzFormFieldModule, i2.FormlyModule] });
82
- FormlyNzInputGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputGroupModule, imports: [[
83
- CommonModule,
84
- NzInputModule,
85
- FormlyNzFormFieldModule,
86
- FormlyModule.forChild({
87
- types: [
88
- {
89
- name: 'input-group',
90
- component: FormlyFieldInputGroup,
91
- wrappers: ['form-field']
92
- }
93
- ]
94
- })
95
- ]] });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputGroupModule, decorators: [{
81
+ FormlyNzFormFieldModule, i3.FormlyModule] });
82
+ FormlyNzInputGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputGroupModule, imports: [CommonModule,
83
+ NzInputModule,
84
+ FormlyNzFormFieldModule,
85
+ FormlyModule.forChild({
86
+ types: [
87
+ {
88
+ name: 'input-group',
89
+ component: FormlyFieldInputGroup,
90
+ wrappers: ['form-field']
91
+ }
92
+ ]
93
+ })] });
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputGroupModule, decorators: [{
97
95
  type: NgModule,
98
96
  args: [{
99
97
  declarations: [FormlyFieldInputGroup],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-input-group.mjs","sources":["../../../../packages/formlyantd/input-group/src/input-group.type.ts","../../../../packages/formlyantd/input-group/src/input-group.module.ts","../../../../packages/formlyantd/input-group/src/ngx-formly-zorro-antd-input-group.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport type { InputGroupProps } from './input-group.props';\r\n\r\nexport interface FormlyInputGroupFieldConfig extends FormlyFieldConfig<InputGroupProps> {\r\n type: 'input-group' | Type<FormlyFieldInputGroup>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input-group',\r\n template: `\r\n <nz-input-group\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n >\r\n <formly-field *ngFor=\"let f of group; trackBy: trackById\" [field]=\"f\"></formly-field>\r\n </nz-input-group>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInputGroup extends FieldType<FieldTypeConfig<InputGroupProps>> {\r\n override defaultOptions = {\r\n props: {\r\n status: '' as const,\r\n size: 'default' as const\r\n }\r\n };\r\n get group() {\r\n return this.field.fieldGroup;\r\n }\r\n trackById(index: number, envent: NzSafeAny) {\r\n if (!envent.id) {\r\n return index;\r\n }\r\n return envent.id;\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 { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldInputGroup } from './input-group.type';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInputGroup],\r\n imports: [\r\n CommonModule,\r\n NzInputModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input-group',\r\n component: FormlyFieldInputGroup,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputGroupModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AA+BM,MAAO,qBAAsB,SAAQ,SAA2C,CAAA;AAtBtF,IAAA,WAAA,GAAA;;AAuBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,IAAI,EAAE,SAAkB;AACzB,aAAA;SACF,CAAC;AAUH,KAAA;AATC,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC;KAC9B;IACD,SAAS,CAAC,KAAa,EAAE,MAAiB,EAAA;AACxC,QAAA,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;AACd,YAAA,OAAO,KAAK,CAAC;AACd,SAAA;QACD,OAAO,MAAM,CAAC,EAAE,CAAC;KAClB;;mHAfU,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,EApBtB,QAAA,EAAA,0BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;AAiBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,mBAAA,E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AA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,EAhB1B,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,aAAa;YAEb,uBAAuB;YACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,aAAa;AACnB,wBAAA,SAAS,EAAE,qBAAqB;wBAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAlBpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBAEb,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,aAAa;AACnB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACzBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-input-group.mjs","sources":["../../../../packages/formlyantd/input-group/src/input-group.type.ts","../../../../packages/formlyantd/input-group/src/input-group.module.ts","../../../../packages/formlyantd/input-group/src/ngx-formly-zorro-antd-input-group.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport type { InputGroupProps } from './input-group.props';\r\n\r\nexport interface FormlyInputGroupFieldConfig extends FormlyFieldConfig<InputGroupProps> {\r\n type: 'input-group' | Type<FormlyFieldInputGroup>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input-group',\r\n template: `\r\n <nz-input-group\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n >\r\n <formly-field *ngFor=\"let f of group; trackBy: trackById\" [field]=\"f\"></formly-field>\r\n </nz-input-group>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInputGroup extends FieldType<FieldTypeConfig<InputGroupProps>> {\r\n override defaultOptions = {\r\n props: {\r\n status: '' as const,\r\n size: 'default' as const\r\n }\r\n };\r\n get group() {\r\n return this.field.fieldGroup;\r\n }\r\n trackById(index: number, envent: NzSafeAny) {\r\n if (!envent.id) {\r\n return index;\r\n }\r\n return envent.id;\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 { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldInputGroup } from './input-group.type';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInputGroup],\r\n imports: [\r\n CommonModule,\r\n NzInputModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input-group',\r\n component: FormlyFieldInputGroup,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputGroupModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AA+BM,MAAO,qBAAsB,SAAQ,SAA2C,CAAA;AAtBtF,IAAA,WAAA,GAAA;;AAuBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,IAAI,EAAE,SAAkB;AACzB,aAAA;SACF,CAAC;AAUH,KAAA;AATC,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC;KAC9B;IACD,SAAS,CAAC,KAAa,EAAE,MAAiB,EAAA;AACxC,QAAA,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;AACd,YAAA,OAAO,KAAK,CAAC;AACd,SAAA;QACD,OAAO,MAAM,CAAC,EAAE,CAAC;KAClB;;kHAfU,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,EApBtB,QAAA,EAAA,0BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;AAiBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IA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