ngx-formly-zorro-antd 19.3.3 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/README.md +1 -1
  2. package/autocomplete/index.d.ts +39 -5
  3. package/button/index.d.ts +108 -3
  4. package/card/index.d.ts +55 -3
  5. package/card-wrapper/index.d.ts +95 -3
  6. package/cascader/index.d.ts +199 -3
  7. package/checkbox/index.d.ts +60 -3
  8. package/common/index.d.ts +115 -3
  9. package/datepicker/index.d.ts +211 -3
  10. package/extension/index.d.ts +25 -3
  11. package/fesm2022/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -1
  12. package/fesm2022/ngx-formly-zorro-antd-button.mjs +136 -139
  13. package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
  14. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +50 -53
  15. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
  16. package/fesm2022/ngx-formly-zorro-antd-card.mjs +61 -64
  17. package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
  18. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +85 -85
  19. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  20. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +53 -52
  21. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  22. package/fesm2022/ngx-formly-zorro-antd-common.mjs +7 -7
  23. package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
  24. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +154 -149
  25. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  26. package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -1
  27. package/fesm2022/ngx-formly-zorro-antd-flex.mjs +40 -40
  28. package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -1
  29. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +155 -158
  30. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  31. package/fesm2022/ngx-formly-zorro-antd-grid.mjs +64 -64
  32. package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  33. package/fesm2022/ngx-formly-zorro-antd-helpers.mjs +0 -5
  34. package/fesm2022/ngx-formly-zorro-antd-helpers.mjs.map +1 -1
  35. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +47 -49
  36. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  37. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +94 -95
  38. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  39. package/fesm2022/ngx-formly-zorro-antd-input-otp.mjs +30 -30
  40. package/fesm2022/ngx-formly-zorro-antd-input-otp.mjs.map +1 -1
  41. package/fesm2022/ngx-formly-zorro-antd-input.mjs +301 -304
  42. package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
  43. package/fesm2022/ngx-formly-zorro-antd-radio.mjs +50 -50
  44. package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  45. package/fesm2022/ngx-formly-zorro-antd-rate.mjs +36 -36
  46. package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  47. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +23 -26
  48. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
  49. package/fesm2022/ngx-formly-zorro-antd-select.mjs +113 -109
  50. package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
  51. package/fesm2022/ngx-formly-zorro-antd-slider.mjs +36 -36
  52. package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  53. package/fesm2022/ngx-formly-zorro-antd-space-compact.mjs +18 -18
  54. package/fesm2022/ngx-formly-zorro-antd-space-compact.mjs.map +1 -1
  55. package/fesm2022/ngx-formly-zorro-antd-space.mjs +38 -41
  56. package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
  57. package/fesm2022/ngx-formly-zorro-antd-switch.mjs +30 -30
  58. package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  59. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +80 -80
  60. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  61. package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +14 -14
  62. package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
  63. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +117 -114
  64. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  65. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +68 -65
  66. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  67. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +101 -101
  68. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  69. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +88 -88
  70. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  71. package/fesm2022/ngx-formly-zorro-antd-types.mjs.map +1 -1
  72. package/fesm2022/ngx-formly-zorro-antd-upload.mjs +243 -246
  73. package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  74. package/fesm2022/ngx-formly-zorro-antd.mjs +4 -9
  75. package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
  76. package/flex/index.d.ts +66 -3
  77. package/form-field/index.d.ts +217 -3
  78. package/grid/index.d.ts +84 -3
  79. package/helpers/index.d.ts +142 -5
  80. package/index.d.ts +41 -1
  81. package/input/index.d.ts +93 -3
  82. package/input-group/index.d.ts +96 -3
  83. package/input-number/index.d.ts +124 -3
  84. package/input-otp/index.d.ts +70 -3
  85. package/package.json +12 -16
  86. package/radio/index.d.ts +65 -3
  87. package/rate/index.d.ts +80 -3
  88. package/ref-template/index.d.ts +95 -3
  89. package/select/index.d.ts +233 -3
  90. package/slider/index.d.ts +97 -3
  91. package/space/index.d.ts +67 -3
  92. package/space-compact/index.d.ts +54 -3
  93. package/switch/index.d.ts +63 -3
  94. package/tabs/index.d.ts +183 -3
  95. package/text-value/index.d.ts +54 -3
  96. package/textarea/index.d.ts +64 -3
  97. package/timepicker/index.d.ts +162 -3
  98. package/transfer/index.d.ts +162 -3
  99. package/tree-select/index.d.ts +204 -3
  100. package/types/index.d.ts +26 -5
  101. package/upload/index.d.ts +264 -3
  102. package/autocomplete/autocomplete.props.d.ts +0 -36
  103. package/autocomplete/public_api.d.ts +0 -1
  104. package/button/button.config.d.ts +0 -2
  105. package/button/button.module.d.ts +0 -12
  106. package/button/button.type.d.ts +0 -93
  107. package/button/public_api.d.ts +0 -4
  108. package/button-group/button-group.config.d.ts +0 -2
  109. package/button-group/button-group.module.d.ts +0 -11
  110. package/button-group/button-group.type.d.ts +0 -41
  111. package/button-group/index.d.ts +0 -5
  112. package/button-group/public_api.d.ts +0 -4
  113. package/card/card.config.d.ts +0 -2
  114. package/card/card.module.d.ts +0 -11
  115. package/card/card.type.d.ts +0 -42
  116. package/card/public_api.d.ts +0 -4
  117. package/card-wrapper/card-wrapper.config.d.ts +0 -2
  118. package/card-wrapper/card-wrapper.module.d.ts +0 -10
  119. package/card-wrapper/card-wrapper.props.d.ts +0 -58
  120. package/card-wrapper/card.wrapper.d.ts +0 -27
  121. package/card-wrapper/public_api.d.ts +0 -5
  122. package/cascader/cascader.config.d.ts +0 -2
  123. package/cascader/cascader.module.d.ts +0 -12
  124. package/cascader/cascader.type.d.ts +0 -182
  125. package/cascader/public_api.d.ts +0 -4
  126. package/checkbox/checkbox.config.d.ts +0 -2
  127. package/checkbox/checkbox.module.d.ts +0 -12
  128. package/checkbox/checkbox.type.d.ts +0 -41
  129. package/checkbox/public_api.d.ts +0 -4
  130. package/common/common.module.d.ts +0 -9
  131. package/common/formly-box-templates.directive.d.ts +0 -49
  132. package/common/formly-utils.d.ts +0 -31
  133. package/common/interface.d.ts +0 -27
  134. package/common/public_api.d.ts +0 -4
  135. package/datepicker/datepicker.config.d.ts +0 -2
  136. package/datepicker/datepicker.module.d.ts +0 -12
  137. package/datepicker/datepicker.props.d.ts +0 -158
  138. package/datepicker/datepicker.type.d.ts +0 -36
  139. package/datepicker/public_api.d.ts +0 -5
  140. package/extension/public_api.d.ts +0 -1
  141. package/extension/value-changes-extension.d.ts +0 -23
  142. package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +0 -158
  143. package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +0 -1
  144. package/flex/flex.config.d.ts +0 -2
  145. package/flex/flex.module.d.ts +0 -10
  146. package/flex/flex.type.d.ts +0 -53
  147. package/flex/public_api.d.ts +0 -4
  148. package/form-field/form-field.config.d.ts +0 -2
  149. package/form-field/form-field.module.d.ts +0 -12
  150. package/form-field/form-field.props.d.ts +0 -180
  151. package/form-field/form-field.wrapper.d.ts +0 -25
  152. package/form-field/public_api.d.ts +0 -4
  153. package/grid/grid.config.d.ts +0 -2
  154. package/grid/grid.module.d.ts +0 -10
  155. package/grid/grid.props.d.ts +0 -59
  156. package/grid/grid.type.d.ts +0 -15
  157. package/grid/public_api.d.ts +0 -5
  158. package/helpers/common.d.ts +0 -7
  159. package/helpers/formly.d.ts +0 -87
  160. package/helpers/public_api.d.ts +0 -53
  161. package/input/input.config.d.ts +0 -2
  162. package/input/input.module.d.ts +0 -14
  163. package/input/input.props.d.ts +0 -41
  164. package/input/input.type.d.ts +0 -35
  165. package/input/public_api.d.ts +0 -5
  166. package/input-group/input-group.config.d.ts +0 -2
  167. package/input-group/input-group.module.d.ts +0 -11
  168. package/input-group/input-group.props.d.ts +0 -65
  169. package/input-group/input-group.type.d.ts +0 -24
  170. package/input-group/public_api.d.ts +0 -5
  171. package/input-number/input-number.config.d.ts +0 -2
  172. package/input-number/input-number.module.d.ts +0 -12
  173. package/input-number/input-number.props.d.ts +0 -85
  174. package/input-number/input-number.type.d.ts +0 -28
  175. package/input-number/public_api.d.ts +0 -5
  176. package/input-otp/input-otp.config.d.ts +0 -2
  177. package/input-otp/input-otp.module.d.ts +0 -12
  178. package/input-otp/input-otp.props.d.ts +0 -30
  179. package/input-otp/input-otp.type.d.ts +0 -25
  180. package/input-otp/public_api.d.ts +0 -5
  181. package/lib/ui-ng-zorro-antd.config.d.ts +0 -1
  182. package/lib/ui-ng-zorro-antd.d.ts +0 -2
  183. package/lib/ui-ng-zorro-antd.module.d.ts +0 -36
  184. package/radio/public_api.d.ts +0 -4
  185. package/radio/radio.config.d.ts +0 -2
  186. package/radio/radio.module.d.ts +0 -14
  187. package/radio/radio.type.d.ts +0 -48
  188. package/rate/public_api.d.ts +0 -4
  189. package/rate/rate.config.d.ts +0 -2
  190. package/rate/rate.module.d.ts +0 -12
  191. package/rate/rate.type.d.ts +0 -65
  192. package/ref-template/public_api.d.ts +0 -4
  193. package/ref-template/ref-template.config.d.ts +0 -2
  194. package/ref-template/ref-template.module.d.ts +0 -11
  195. package/ref-template/ref-template.type.d.ts +0 -82
  196. package/select/public_api.d.ts +0 -5
  197. package/select/select.config.d.ts +0 -2
  198. package/select/select.module.d.ts +0 -13
  199. package/select/select.props.d.ts +0 -176
  200. package/select/select.type.d.ts +0 -38
  201. package/slider/public_api.d.ts +0 -4
  202. package/slider/slider.config.d.ts +0 -2
  203. package/slider/slider.module.d.ts +0 -12
  204. package/slider/slider.type.d.ts +0 -82
  205. package/space/public_api.d.ts +0 -4
  206. package/space/space.config.d.ts +0 -2
  207. package/space/space.module.d.ts +0 -10
  208. package/space/space.type.d.ts +0 -55
  209. package/space-compact/public_api.d.ts +0 -4
  210. package/space-compact/space-compact.config.d.ts +0 -2
  211. package/space-compact/space-compact.module.d.ts +0 -10
  212. package/space-compact/space-compact.type.d.ts +0 -41
  213. package/switch/public_api.d.ts +0 -4
  214. package/switch/switch.config.d.ts +0 -2
  215. package/switch/switch.module.d.ts +0 -12
  216. package/switch/switch.type.d.ts +0 -48
  217. package/tabs/public_api.d.ts +0 -4
  218. package/tabs/tabs.config.d.ts +0 -2
  219. package/tabs/tabs.module.d.ts +0 -10
  220. package/tabs/tabs.props.d.ts +0 -143
  221. package/tabs/tabs.wrapper.d.ts +0 -30
  222. package/text-value/public_api.d.ts +0 -4
  223. package/text-value/text-value.config.d.ts +0 -2
  224. package/text-value/text-value.module.d.ts +0 -11
  225. package/text-value/text-value.type.d.ts +0 -40
  226. package/textarea/public_api.d.ts +0 -4
  227. package/textarea/textarea.config.d.ts +0 -2
  228. package/textarea/textarea.module.d.ts +0 -13
  229. package/textarea/textarea.type.d.ts +0 -43
  230. package/timepicker/public_api.d.ts +0 -4
  231. package/timepicker/timepicker.config.d.ts +0 -2
  232. package/timepicker/timepicker.module.d.ts +0 -12
  233. package/timepicker/timepicker.type.d.ts +0 -143
  234. package/transfer/public_api.d.ts +0 -4
  235. package/transfer/transfer.component.d.ts +0 -27
  236. package/transfer/transfer.config.d.ts +0 -2
  237. package/transfer/transfer.module.d.ts +0 -13
  238. package/transfer/transfer.type.d.ts +0 -123
  239. package/tree-select/public_api.d.ts +0 -4
  240. package/tree-select/tree-select.config.d.ts +0 -2
  241. package/tree-select/tree-select.module.d.ts +0 -12
  242. package/tree-select/tree-select.type.d.ts +0 -187
  243. package/types/public_api.d.ts +0 -27
  244. package/upload/public_api.d.ts +0 -5
  245. package/upload/upload.component.d.ts +0 -37
  246. package/upload/upload.config.d.ts +0 -2
  247. package/upload/upload.module.d.ts +0 -15
  248. package/upload/upload.props.d.ts +0 -183
  249. package/upload/upload.type.d.ts +0 -36
@@ -20,123 +20,126 @@ class FormlyFieldTextarea extends FieldType {
20
20
  props: {
21
21
  rows: 4,
22
22
  autosize: false,
23
- borderless: false
23
+ borderless: false,
24
+ variant: 'outlined'
24
25
  }
25
26
  };
26
27
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
28
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FormlyFieldTextarea, isStandalone: false, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
29
- @switch (props.type) {
30
- @case ('count') {
31
- <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
32
- <textarea
33
- [formControl]="formControl"
34
- [formlyAttributes]="field"
35
- [class]="props['className']"
36
- [style]="props['style']"
37
- [attr.rows]="props.rows"
38
- [attr.cols]="props.cols"
39
- [nzBorderless]="!!props['borderless']"
40
- [nzAutosize]="!!props['autosize']"
41
- nz-input
42
- ></textarea>
43
- </nz-textarea-count>
44
- }
45
- @case ('clear') {
46
- <nz-input-group class="ant-input-affix-wrapper-textarea-with-clear-btn" [nzSuffix]="textAreaClearTpl">
47
- <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
48
- </nz-input-group>
49
- }
50
- @default {
51
- <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
52
- }
53
- }
54
-
55
- <ng-template #textareaTpl>
56
- <textarea
57
- [formControl]="formControl"
58
- [formlyAttributes]="field"
59
- [class]="props['className']"
60
- [style]="props['style']"
61
- [attr.rows]="props.rows"
62
- [attr.cols]="props.cols"
63
- nz-input
64
- [nzBorderless]="!!props['borderless']"
65
- [nzAutosize]="!!props['autosize']"
66
- ></textarea>
67
- </ng-template>
68
-
69
- <!-- 清除数据 -->
70
- <ng-template #textAreaClearTpl>
71
- @if (formControl.value && !props['disabled'] && !props['readonly']) {
72
- <span
73
- nz-icon
74
- class="ant-input-clear-icon"
75
- nzTheme="fill"
76
- nzType="close-circle"
77
- (click)="formControl.setValue(undefined)"
78
- ></span>
79
- }
80
- </ng-template>
81
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: i4.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
29
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: FormlyFieldTextarea, isStandalone: false, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
30
+ @switch (props.type) {
31
+ @case ('count') {
32
+ <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
33
+ <textarea
34
+ [formControl]="formControl"
35
+ [formlyAttributes]="field"
36
+ [class]="props['className']"
37
+ [style]="props['style']"
38
+ [attr.rows]="props.rows"
39
+ [attr.cols]="props.cols"
40
+ [nzBorderless]="!!props['borderless']"
41
+ [nzVariant]="props['variant']"
42
+ [nzAutosize]="!!props['autosize']"
43
+ nz-input
44
+ ></textarea>
45
+ </nz-textarea-count>
46
+ }
47
+ @case ('clear') {
48
+ <nz-input-group class="ant-input-affix-wrapper-textarea-with-clear-btn" [nzSuffix]="textAreaClearTpl">
49
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
50
+ </nz-input-group>
51
+ }
52
+ @default {
53
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
54
+ }
55
+ }
56
+
57
+ <ng-template #textareaTpl>
58
+ <textarea
59
+ [formControl]="formControl"
60
+ [formlyAttributes]="field"
61
+ [class]="props['className']"
62
+ [style]="props['style']"
63
+ [attr.rows]="props.rows"
64
+ [attr.cols]="props.cols"
65
+ nz-input
66
+ [nzBorderless]="!!props['borderless']"
67
+ [nzVariant]="props['variant']"
68
+ [nzAutosize]="!!props['autosize']"
69
+ ></textarea>
70
+ </ng-template>
71
+
72
+ <!-- 清除数据 -->
73
+ <ng-template #textAreaClearTpl>
74
+ @if (formControl.value && !props['disabled'] && !props['readonly']) {
75
+ <nz-icon
76
+ class="ant-input-clear-icon"
77
+ nzTheme="fill"
78
+ nzType="close-circle"
79
+ (click)="formControl.setValue(undefined)"
80
+ ></nz-icon>
81
+ }
82
+ </ng-template>
83
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: i4.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
82
84
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
84
86
  type: Component,
85
87
  args: [{
86
88
  selector: 'formly-field-textarea',
87
- template: `
88
- @switch (props.type) {
89
- @case ('count') {
90
- <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
91
- <textarea
92
- [formControl]="formControl"
93
- [formlyAttributes]="field"
94
- [class]="props['className']"
95
- [style]="props['style']"
96
- [attr.rows]="props.rows"
97
- [attr.cols]="props.cols"
98
- [nzBorderless]="!!props['borderless']"
99
- [nzAutosize]="!!props['autosize']"
100
- nz-input
101
- ></textarea>
102
- </nz-textarea-count>
103
- }
104
- @case ('clear') {
105
- <nz-input-group class="ant-input-affix-wrapper-textarea-with-clear-btn" [nzSuffix]="textAreaClearTpl">
106
- <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
107
- </nz-input-group>
108
- }
109
- @default {
110
- <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
111
- }
112
- }
113
-
114
- <ng-template #textareaTpl>
115
- <textarea
116
- [formControl]="formControl"
117
- [formlyAttributes]="field"
118
- [class]="props['className']"
119
- [style]="props['style']"
120
- [attr.rows]="props.rows"
121
- [attr.cols]="props.cols"
122
- nz-input
123
- [nzBorderless]="!!props['borderless']"
124
- [nzAutosize]="!!props['autosize']"
125
- ></textarea>
126
- </ng-template>
127
-
128
- <!-- 清除数据 -->
129
- <ng-template #textAreaClearTpl>
130
- @if (formControl.value && !props['disabled'] && !props['readonly']) {
131
- <span
132
- nz-icon
133
- class="ant-input-clear-icon"
134
- nzTheme="fill"
135
- nzType="close-circle"
136
- (click)="formControl.setValue(undefined)"
137
- ></span>
138
- }
139
- </ng-template>
89
+ template: `
90
+ @switch (props.type) {
91
+ @case ('count') {
92
+ <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
93
+ <textarea
94
+ [formControl]="formControl"
95
+ [formlyAttributes]="field"
96
+ [class]="props['className']"
97
+ [style]="props['style']"
98
+ [attr.rows]="props.rows"
99
+ [attr.cols]="props.cols"
100
+ [nzBorderless]="!!props['borderless']"
101
+ [nzVariant]="props['variant']"
102
+ [nzAutosize]="!!props['autosize']"
103
+ nz-input
104
+ ></textarea>
105
+ </nz-textarea-count>
106
+ }
107
+ @case ('clear') {
108
+ <nz-input-group class="ant-input-affix-wrapper-textarea-with-clear-btn" [nzSuffix]="textAreaClearTpl">
109
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
110
+ </nz-input-group>
111
+ }
112
+ @default {
113
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
114
+ }
115
+ }
116
+
117
+ <ng-template #textareaTpl>
118
+ <textarea
119
+ [formControl]="formControl"
120
+ [formlyAttributes]="field"
121
+ [class]="props['className']"
122
+ [style]="props['style']"
123
+ [attr.rows]="props.rows"
124
+ [attr.cols]="props.cols"
125
+ nz-input
126
+ [nzBorderless]="!!props['borderless']"
127
+ [nzVariant]="props['variant']"
128
+ [nzAutosize]="!!props['autosize']"
129
+ ></textarea>
130
+ </ng-template>
131
+
132
+ <!-- 清除数据 -->
133
+ <ng-template #textAreaClearTpl>
134
+ @if (formControl.value && !props['disabled'] && !props['readonly']) {
135
+ <nz-icon
136
+ class="ant-input-clear-icon"
137
+ nzTheme="fill"
138
+ nzType="close-circle"
139
+ (click)="formControl.setValue(undefined)"
140
+ ></nz-icon>
141
+ }
142
+ </ng-template>
140
143
  `,
141
144
  changeDetection: ChangeDetectionStrategy.OnPush,
142
145
  standalone: false
@@ -156,20 +159,20 @@ function withFormlyFieldTextarea() {
156
159
  }
157
160
 
158
161
  class FormlyNzTextareaModule {
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
160
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
163
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
161
164
  ReactiveFormsModule,
162
165
  FormlyNzFormFieldModule,
163
166
  NzInputModule,
164
167
  NzIconModule, i5.FormlyModule] }); }
165
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
168
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
166
169
  ReactiveFormsModule,
167
170
  FormlyNzFormFieldModule,
168
171
  NzInputModule,
169
172
  NzIconModule,
170
173
  FormlyModule.forChild(withFormlyFieldTextarea())] }); }
171
174
  }
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
173
176
  type: NgModule,
174
177
  args: [{
175
178
  declarations: [FormlyFieldTextarea],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-textarea.mjs","sources":["../../../../packages/formlyantd/textarea/src/textarea.type.ts","../../../../packages/formlyantd/textarea/src/textarea.config.ts","../../../../packages/formlyantd/textarea/src/textarea.module.ts","../../../../packages/formlyantd/textarea/src/ngx-formly-zorro-antd-textarea.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\n/**\n * @publicApi\n */\nexport interface TextareaProps extends FormlyFieldProps {\n type?: 'count' | 'clear';\n\n /**\n * 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }\n * @default false\n */\n autosize?: boolean | { minRows: number; maxRows: number };\n\n /**\n * 是否隐藏边框\n * @default false\n */\n borderless?: boolean;\n\n /**\n * textarea 数字提示显示的最大值\n */\n maxCharacterCount?: number;\n}\n\nexport interface FormlyTextareaFieldConfig extends NzFormlyFieldConfig<TextareaProps> {\n type: 'textarea' | Type<FormlyFieldTextarea>;\n}\n/** @private */\n@Component({\n selector: 'formly-field-textarea',\n template: `\n @switch (props.type) {\n @case ('count') {\n <nz-textarea-count [nzMaxCharacterCount]=\"props['maxCharacterCount'] || 0\">\n <textarea\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [class]=\"props['className']\"\n [style]=\"props['style']\"\n [attr.rows]=\"props.rows\"\n [attr.cols]=\"props.cols\"\n [nzBorderless]=\"!!props['borderless']\"\n [nzAutosize]=\"!!props['autosize']\"\n nz-input\n ></textarea>\n </nz-textarea-count>\n }\n @case ('clear') {\n <nz-input-group class=\"ant-input-affix-wrapper-textarea-with-clear-btn\" [nzSuffix]=\"textAreaClearTpl\">\n <ng-container *ngTemplateOutlet=\"textareaTpl\"> </ng-container>\n </nz-input-group>\n }\n @default {\n <ng-container *ngTemplateOutlet=\"textareaTpl\"> </ng-container>\n }\n }\n\n <ng-template #textareaTpl>\n <textarea\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [class]=\"props['className']\"\n [style]=\"props['style']\"\n [attr.rows]=\"props.rows\"\n [attr.cols]=\"props.cols\"\n nz-input\n [nzBorderless]=\"!!props['borderless']\"\n [nzAutosize]=\"!!props['autosize']\"\n ></textarea>\n </ng-template>\n\n <!-- 清除数据 -->\n <ng-template #textAreaClearTpl>\n @if (formControl.value && !props['disabled'] && !props['readonly']) {\n <span\n nz-icon\n class=\"ant-input-clear-icon\"\n nzTheme=\"fill\"\n nzType=\"close-circle\"\n (click)=\"formControl.setValue(undefined)\"\n ></span>\n }\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class FormlyFieldTextarea extends FieldType<FieldTypeConfig<TextareaProps>> {\n override defaultOptions = {\n props: {\n rows: 4,\n autosize: false,\n borderless: false\n }\n };\n}\n","import type { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldTextarea } from './textarea.type';\n\nexport function withFormlyFieldTextarea(): ConfigOption {\n return {\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextarea,\n wrappers: ['form-field']\n }\n ]\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { FormlyFieldTextarea } from './textarea.type';\nimport { withFormlyFieldTextarea } from './textarea.config';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@NgModule({\n declarations: [FormlyFieldTextarea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzInputModule,\n NzIconModule,\n\n FormlyModule.forChild(withFormlyFieldTextarea())\n ]\n})\nexport class FormlyNzTextareaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAgCA;AA4DM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AA3DlF,IAAA,WAAA,GAAA;;AA4DW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YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAGvC,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAZlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,aAAa;wBACb,YAAY;AAEZ,wBAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE;AAChD;AACF,iBAAA;;;ACtBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-textarea.mjs","sources":["../tmp-esm2022/textarea/textarea.type.js","../tmp-esm2022/textarea/textarea.config.js","../tmp-esm2022/textarea/textarea.module.js","../tmp-esm2022/textarea/ngx-formly-zorro-antd-textarea.js"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"ng-zorro-antd/input\";\nimport * as i4 from \"ng-zorro-antd/icon\";\nimport * as i5 from \"@ngx-formly/core\";\n/** @private */\nexport class FormlyFieldTextarea extends FieldType {\n constructor() {\n super(...arguments);\n this.defaultOptions = {\n props: {\n rows: 4,\n autosize: false,\n borderless: false,\n variant: 'outlined'\n }\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.6\", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.0.6\", type: FormlyFieldTextarea, isStandalone: false, selector: \"formly-field-textarea\", usesInheritance: true, ngImport: i0, template: `\r\n @switch (props.type) {\r\n @case ('count') {\r\n <nz-textarea-count [nzMaxCharacterCount]=\"props['maxCharacterCount'] || 0\">\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [class]=\"props['className']\"\r\n [style]=\"props['style']\"\r\n [attr.rows]=\"props.rows\"\r\n [attr.cols]=\"props.cols\"\r\n [nzBorderless]=\"!!props['borderless']\"\r\n [nzVariant]=\"props['variant']\"\r\n [nzAutosize]=\"!!props['autosize']\"\r\n nz-input\r\n ></textarea>\r\n </nz-textarea-count>\r\n }\r\n @case ('clear') {\r\n <nz-input-group class=\"ant-input-affix-wrapper-textarea-with-clear-btn\" [nzSuffix]=\"textAreaClearTpl\">\r\n <ng-container *ngTemplateOutlet=\"textareaTpl\"> </ng-container>\r\n </nz-input-group>\r\n }\r\n @default {\r\n <ng-container *ngTemplateOutlet=\"textareaTpl\"> </ng-container>\r\n }\r\n }\r\n\r\n <ng-template #textareaTpl>\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [class]=\"props['className']\"\r\n [style]=\"props['style']\"\r\n [attr.rows]=\"props.rows\"\r\n [attr.cols]=\"props.cols\"\r\n nz-input\r\n [nzBorderless]=\"!!props['borderless']\"\r\n [nzVariant]=\"props['variant']\"\r\n [nzAutosize]=\"!!props['autosize']\"\r\n ></textarea>\r\n </ng-template>\r\n\r\n <!-- 清除数据 -->\r\n <ng-template #textAreaClearTpl>\r\n @if (formControl.value && !props['disabled'] && !props['readonly']) {\r\n <nz-icon\r\n class=\"ant-input-clear-icon\"\r\n nzTheme=\"fill\"\r\n nzType=\"close-circle\"\r\n (click)=\"formControl.setValue(undefined)\"\r\n ></nz-icon>\r\n }\r\n </ng-template>\r\n `, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { 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.NzTextareaCountComponent, selector: \"nz-textarea-count\", inputs: [\"nzMaxCharacterCount\", \"nzComputeCharacterCount\", \"nzFormatter\"] }, { kind: \"directive\", type: i3.NzInputDirective, selector: \"input[nz-input],textarea[nz-input]\", inputs: [\"nzBorderless\", \"nzVariant\", \"nzSize\", \"nzStepperless\", \"nzStatus\", \"disabled\"], exportAs: [\"nzInput\"] }, { kind: \"component\", type: i3.NzInputGroupComponent, selector: \"nz-input-group\", inputs: [\"nzAddOnBeforeIcon\", \"nzAddOnAfterIcon\", \"nzPrefixIcon\", \"nzSuffixIcon\", \"nzAddOnBefore\", \"nzAddOnAfter\", \"nzPrefix\", \"nzStatus\", \"nzSuffix\", \"nzSize\", \"nzSearch\"], exportAs: [\"nzInputGroup\"] }, { kind: \"directive\", type: i3.NzAutosizeDirective, selector: \"textarea[nzAutosize]\", inputs: [\"nzAutosize\"], exportAs: [\"nzAutosize\"] }, { kind: \"directive\", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: \"nz-input-group[nzSuffix], nz-input-group[nzPrefix]\" }, { kind: \"directive\", type: i4.NzIconDirective, selector: \"nz-icon,[nz-icon]\", inputs: [\"nzSpin\", \"nzRotate\", \"nzType\", \"nzTheme\", \"nzTwotoneColor\", \"nzIconfont\"], exportAs: [\"nzIcon\"] }, { kind: \"directive\", type: i5.ɵFormlyAttributes, selector: \"[formlyAttributes]\", inputs: [\"formlyAttributes\", \"id\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.6\", ngImport: i0, type: FormlyFieldTextarea, decorators: [{\n type: Component,\n args: [{\n selector: 'formly-field-textarea',\n template: `\r\n @switch (props.type) {\r\n @case ('count') {\r\n <nz-textarea-count [nzMaxCharacterCount]=\"props['maxCharacterCount'] || 0\">\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [class]=\"props['className']\"\r\n [style]=\"props['style']\"\r\n [attr.rows]=\"props.rows\"\r\n [attr.cols]=\"props.cols\"\r\n [nzBorderless]=\"!!props['borderless']\"\r\n [nzVariant]=\"props['variant']\"\r\n [nzAutosize]=\"!!props['autosize']\"\r\n nz-input\r\n ></textarea>\r\n </nz-textarea-count>\r\n }\r\n @case ('clear') {\r\n <nz-input-group class=\"ant-input-affix-wrapper-textarea-with-clear-btn\" [nzSuffix]=\"textAreaClearTpl\">\r\n <ng-container *ngTemplateOutlet=\"textareaTpl\"> </ng-container>\r\n </nz-input-group>\r\n }\r\n @default {\r\n <ng-container *ngTemplateOutlet=\"textareaTpl\"> </ng-container>\r\n }\r\n }\r\n\r\n <ng-template #textareaTpl>\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [class]=\"props['className']\"\r\n [style]=\"props['style']\"\r\n [attr.rows]=\"props.rows\"\r\n [attr.cols]=\"props.cols\"\r\n nz-input\r\n [nzBorderless]=\"!!props['borderless']\"\r\n [nzVariant]=\"props['variant']\"\r\n [nzAutosize]=\"!!props['autosize']\"\r\n ></textarea>\r\n </ng-template>\r\n\r\n <!-- 清除数据 -->\r\n <ng-template #textAreaClearTpl>\r\n @if (formControl.value && !props['disabled'] && !props['readonly']) {\r\n <nz-icon\r\n class=\"ant-input-clear-icon\"\r\n nzTheme=\"fill\"\r\n nzType=\"close-circle\"\r\n (click)=\"formControl.setValue(undefined)\"\r\n ></nz-icon>\r\n }\r\n </ng-template>\r\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n }]\n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HNlXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFRleHRhcmVhIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZz4ge1xyXG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xyXG4gICAgcHJvcHM6IHtcclxuICAgICAgcm93czogNCxcclxuICAgICAgYXV0b3NpemU6IGZhbHNlLFxyXG4gICAgICBib3JkZXJsZXNzOiBmYWxzZSxcclxuICAgICAgdmFyaWFudDogJ291dGxpbmVkJ1xyXG4gICAgfSBhcyBjb25zdFxyXG4gIH07XHJcbn1cclxuIl19","import { FormlyFieldTextarea } from './textarea.type';\nexport function withFormlyFieldTextarea() {\n return {\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextarea,\n wrappers: ['form-field']\n }\n ]\n };\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEuY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90ZXh0YXJlYS9zcmMvdGV4dGFyZWEuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRXRELE1BQU0sVUFBVSx1QkFBdUI7SUFDckMsT0FBTztRQUNMLEtBQUssRUFBRTtZQUNMO2dCQUNFLElBQUksRUFBRSxVQUFVO2dCQUNoQixTQUFTLEVBQUUsbUJBQW1CO2dCQUM5QixRQUFRLEVBQUUsQ0FBQyxZQUFZLENBQUM7YUFDekI7U0FDRjtLQUNGLENBQUM7QUFDSixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBDb25maWdPcHRpb24gfSBmcm9tICdAbmd4LWZvcm1seS9jb3JlJztcclxuaW1wb3J0IHsgRm9ybWx5RmllbGRUZXh0YXJlYSB9IGZyb20gJy4vdGV4dGFyZWEudHlwZSc7XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gd2l0aEZvcm1seUZpZWxkVGV4dGFyZWEoKTogQ29uZmlnT3B0aW9uIHtcclxuICByZXR1cm4ge1xyXG4gICAgdHlwZXM6IFtcclxuICAgICAge1xyXG4gICAgICAgIG5hbWU6ICd0ZXh0YXJlYScsXHJcbiAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZFRleHRhcmVhLFxyXG4gICAgICAgIHdyYXBwZXJzOiBbJ2Zvcm0tZmllbGQnXVxyXG4gICAgICB9XHJcbiAgICBdXHJcbiAgfTtcclxufVxyXG4iXX0=","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyFieldTextarea } from './textarea.type';\nimport { withFormlyFieldTextarea } from './textarea.config';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-formly/core\";\nexport class FormlyNzTextareaModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.6\", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.0.6\", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzInputModule,\n NzIconModule, i1.FormlyModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.0.6\", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzInputModule,\n NzIconModule,\n FormlyModule.forChild(withFormlyFieldTextarea())] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.6\", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [FormlyFieldTextarea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzInputModule,\n NzIconModule,\n FormlyModule.forChild(withFormlyFieldTextarea())\n ]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90ZXh0YXJlYS9zcmMvdGV4dGFyZWEubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDcEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQ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mcm9tICcuL3RleHRhcmVhLnR5cGUnO1xyXG5pbXBvcnQgeyB3aXRoRm9ybWx5RmllbGRUZXh0YXJlYSB9IGZyb20gJy4vdGV4dGFyZWEuY29uZmlnJztcclxuaW1wb3J0IHsgTnpJbnB1dE1vZHVsZSB9IGZyb20gJ25nLXpvcnJvLWFudGQvaW5wdXQnO1xyXG5pbXBvcnQgeyBOekljb25Nb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL2ljb24nO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZFRleHRhcmVhXSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxyXG4gICAgRm9ybWx5TnpGb3JtRmllbGRNb2R1bGUsXHJcbiAgICBOeklucHV0TW9kdWxlLFxyXG4gICAgTnpJY29uTW9kdWxlLFxyXG5cclxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh3aXRoRm9ybWx5RmllbGRUZXh0YXJlYSgpKVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seU56VGV4dGFyZWFNb2R1bGUge31cclxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public_api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXRleHRhcmVhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90ZXh0YXJlYS9zcmMvbmd4LWZvcm1seS16b3Jyby1hbnRkLXRleHRhcmVhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEd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E,CAAC,CAAC;AAC9C,IAAI,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,CAAC,YAAY;AAC7J,YAAY,mBAAmB;AAC/B,YAAY,uBAAuB;AACnC,YAAY,aAAa;AACzB,YAAY,YAAY;AACxB,YAAY,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AACjE;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,UAAU,EAAE,CAAC;AAChI,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACvD,oBAAoB,OAAO,EAAE;AAC7B,wBAAwB,YAAY;AACpC,wBAAwB,mBAAmB;AAC3C,wBAAwB,uBAAuB;AAC/C,wBAAwB,aAAa;AACrC,wBAAwB,YAAY;AACpC,wBAAwB,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE;AACvE;AACA,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACtCb;AACA;AACA;;;;"}
@@ -19,6 +19,7 @@ class FormlyFieldTimepicker extends FieldType {
19
19
  autoFocus: false,
20
20
  backdrop: false,
21
21
  borderless: false,
22
+ variant: 'outlined',
22
23
  inputReadOnly: false,
23
24
  open: false,
24
25
  clearText: 'clear',
@@ -27,71 +28,73 @@ class FormlyFieldTimepicker extends FieldType {
27
28
  }
28
29
  };
29
30
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormlyFieldTimepicker, isStandalone: false, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
32
- [formControl]="formControl"
33
- [nzId]="id"
34
- [nzPlaceHolder]="props.placeholder ?? ''"
35
- [class]="props['className']"
36
- [nzAddOn]="props['addOn']"
37
- [nzAllowEmpty]="!!props['allowEmpty']"
38
- [nzAutoFocus]="!!props['autoFocus']"
39
- [nzBackdrop]="!!props['backdrop']"
40
- [nzClearText]="props['clearText']"
41
- [nzNowText]="props['nowText']"
42
- [nzOkText]="props['okText']"
43
- [nzDefaultOpenValue]="props['defaultOpenValue']"
44
- [nzDisabledHours]="props['disabledHours']"
45
- [nzDisabledMinutes]="props['disabledMinutes']"
46
- [nzDisabledSeconds]="props['disabledSeconds']"
47
- [nzFormat]="props['format']"
48
- [nzHideDisabledOptions]="!!props['hideDisabledOptions']"
49
- [nzHourStep]="props['hourStep']"
50
- [nzBorderless]="!!props['borderless']"
51
- [nzInputReadOnly]="!!props['inputReadOnly']"
52
- [nzMinuteStep]="props['minuteStep']"
53
- [nzSecondStep]="props['secondStep']"
54
- [nzOpen]="!!props['open']"
55
- [nzPopupClassName]="props['popupClassName']"
56
- [nzUse12Hours]="!!props['use12Hours']"
57
- [nzSuffixIcon]="props['suffixIcon']"
58
- (ngModelChange)="props.change?.(field, $event)"
59
- (nzOpenChange)="props['openChange']?.(field, $event)"
60
- ></nz-time-picker>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzTimePickerComponent, selector: "nz-time-picker", inputs: ["nzId", "nzSize", "nzStatus", "nzHourStep", "nzMinuteStep", "nzSecondStep", "nzClearText", "nzNowText", "nzOkText", "nzPopupClassName", "nzPlaceHolder", "nzAddOn", "nzDefaultOpenValue", "nzDisabledHours", "nzDisabledMinutes", "nzDisabledSeconds", "nzFormat", "nzOpen", "nzUse12Hours", "nzSuffixIcon", "nzHideDisabledOptions", "nzAllowEmpty", "nzDisabled", "nzAutoFocus", "nzBackdrop", "nzBorderless", "nzInputReadOnly"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: FormlyFieldTimepicker, isStandalone: false, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
33
+ [formControl]="formControl"
34
+ [nzId]="id"
35
+ [nzPlaceHolder]="props.placeholder ?? ''"
36
+ [class]="props['className']"
37
+ [nzAddOn]="props['addOn']"
38
+ [nzAllowEmpty]="!!props['allowEmpty']"
39
+ [nzAutoFocus]="!!props['autoFocus']"
40
+ [nzBackdrop]="!!props['backdrop']"
41
+ [nzClearText]="props['clearText']"
42
+ [nzNowText]="props['nowText']"
43
+ [nzOkText]="props['okText']"
44
+ [nzDefaultOpenValue]="props['defaultOpenValue']"
45
+ [nzDisabledHours]="props['disabledHours']"
46
+ [nzDisabledMinutes]="props['disabledMinutes']"
47
+ [nzDisabledSeconds]="props['disabledSeconds']"
48
+ [nzFormat]="props['format']"
49
+ [nzHideDisabledOptions]="!!props['hideDisabledOptions']"
50
+ [nzHourStep]="props['hourStep']"
51
+ [nzBorderless]="!!props['borderless']"
52
+ [nzVariant]="props['variant']"
53
+ [nzInputReadOnly]="!!props['inputReadOnly']"
54
+ [nzMinuteStep]="props['minuteStep']"
55
+ [nzSecondStep]="props['secondStep']"
56
+ [nzOpen]="!!props['open']"
57
+ [nzPopupClassName]="props['popupClassName']"
58
+ [nzUse12Hours]="!!props['use12Hours']"
59
+ [nzSuffixIcon]="props['suffixIcon']"
60
+ (ngModelChange)="props.change?.(field, $event)"
61
+ (nzOpenChange)="props['openChange']?.(field, $event)"
62
+ ></nz-time-picker>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzTimePickerComponent, selector: "nz-time-picker", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzHourStep", "nzMinuteStep", "nzSecondStep", "nzClearText", "nzNowText", "nzOkText", "nzPopupClassName", "nzPlaceHolder", "nzAddOn", "nzDefaultOpenValue", "nzDisabledHours", "nzDisabledMinutes", "nzDisabledSeconds", "nzFormat", "nzOpen", "nzUse12Hours", "nzSuffixIcon", "nzHideDisabledOptions", "nzAllowEmpty", "nzDisabled", "nzAutoFocus", "nzBackdrop", "nzBorderless", "nzInputReadOnly"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
61
63
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
63
65
  type: Component,
64
66
  args: [{
65
67
  selector: 'formly-field-timepicker',
66
- template: `<nz-time-picker
67
- [formControl]="formControl"
68
- [nzId]="id"
69
- [nzPlaceHolder]="props.placeholder ?? ''"
70
- [class]="props['className']"
71
- [nzAddOn]="props['addOn']"
72
- [nzAllowEmpty]="!!props['allowEmpty']"
73
- [nzAutoFocus]="!!props['autoFocus']"
74
- [nzBackdrop]="!!props['backdrop']"
75
- [nzClearText]="props['clearText']"
76
- [nzNowText]="props['nowText']"
77
- [nzOkText]="props['okText']"
78
- [nzDefaultOpenValue]="props['defaultOpenValue']"
79
- [nzDisabledHours]="props['disabledHours']"
80
- [nzDisabledMinutes]="props['disabledMinutes']"
81
- [nzDisabledSeconds]="props['disabledSeconds']"
82
- [nzFormat]="props['format']"
83
- [nzHideDisabledOptions]="!!props['hideDisabledOptions']"
84
- [nzHourStep]="props['hourStep']"
85
- [nzBorderless]="!!props['borderless']"
86
- [nzInputReadOnly]="!!props['inputReadOnly']"
87
- [nzMinuteStep]="props['minuteStep']"
88
- [nzSecondStep]="props['secondStep']"
89
- [nzOpen]="!!props['open']"
90
- [nzPopupClassName]="props['popupClassName']"
91
- [nzUse12Hours]="!!props['use12Hours']"
92
- [nzSuffixIcon]="props['suffixIcon']"
93
- (ngModelChange)="props.change?.(field, $event)"
94
- (nzOpenChange)="props['openChange']?.(field, $event)"
68
+ template: `<nz-time-picker
69
+ [formControl]="formControl"
70
+ [nzId]="id"
71
+ [nzPlaceHolder]="props.placeholder ?? ''"
72
+ [class]="props['className']"
73
+ [nzAddOn]="props['addOn']"
74
+ [nzAllowEmpty]="!!props['allowEmpty']"
75
+ [nzAutoFocus]="!!props['autoFocus']"
76
+ [nzBackdrop]="!!props['backdrop']"
77
+ [nzClearText]="props['clearText']"
78
+ [nzNowText]="props['nowText']"
79
+ [nzOkText]="props['okText']"
80
+ [nzDefaultOpenValue]="props['defaultOpenValue']"
81
+ [nzDisabledHours]="props['disabledHours']"
82
+ [nzDisabledMinutes]="props['disabledMinutes']"
83
+ [nzDisabledSeconds]="props['disabledSeconds']"
84
+ [nzFormat]="props['format']"
85
+ [nzHideDisabledOptions]="!!props['hideDisabledOptions']"
86
+ [nzHourStep]="props['hourStep']"
87
+ [nzBorderless]="!!props['borderless']"
88
+ [nzVariant]="props['variant']"
89
+ [nzInputReadOnly]="!!props['inputReadOnly']"
90
+ [nzMinuteStep]="props['minuteStep']"
91
+ [nzSecondStep]="props['secondStep']"
92
+ [nzOpen]="!!props['open']"
93
+ [nzPopupClassName]="props['popupClassName']"
94
+ [nzUse12Hours]="!!props['use12Hours']"
95
+ [nzSuffixIcon]="props['suffixIcon']"
96
+ (ngModelChange)="props.change?.(field, $event)"
97
+ (nzOpenChange)="props['openChange']?.(field, $event)"
95
98
  ></nz-time-picker>`,
96
99
  changeDetection: ChangeDetectionStrategy.OnPush,
97
100
  standalone: false
@@ -111,18 +114,18 @@ function withFormlyFieldTimepicker() {
111
114
  }
112
115
 
113
116
  class FormlyNzTimepickerModule {
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
115
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
117
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
118
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
116
119
  ReactiveFormsModule,
117
120
  FormlyNzFormFieldModule,
118
121
  NzTimePickerModule, i1$1.FormlyModule] }); }
119
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
122
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
120
123
  ReactiveFormsModule,
121
124
  FormlyNzFormFieldModule,
122
125
  NzTimePickerModule,
123
126
  FormlyModule.forChild(withFormlyFieldTimepicker())] }); }
124
127
  }
125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
126
129
  type: NgModule,
127
130
  args: [{
128
131
  declarations: [FormlyFieldTimepicker],