ngx-formly-zorro-antd 17.1.1 → 17.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. package/README.md +1 -1
  2. package/esm2022/autocomplete/autocomplete.props.mjs +1 -1
  3. package/esm2022/autocomplete/public_api.mjs +1 -1
  4. package/esm2022/button/button.module.mjs +5 -5
  5. package/esm2022/button/button.type.mjs +125 -125
  6. package/esm2022/button/public_api.mjs +1 -1
  7. package/esm2022/button-group/button-group.module.mjs +5 -5
  8. package/esm2022/button-group/button-group.type.mjs +69 -69
  9. package/esm2022/button-group/public_api.mjs +1 -1
  10. package/esm2022/card/card.module.mjs +5 -5
  11. package/esm2022/card/card.type.mjs +53 -53
  12. package/esm2022/card/public_api.mjs +1 -1
  13. package/esm2022/card-wrapper/card-wrapper.module.mjs +5 -5
  14. package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
  15. package/esm2022/card-wrapper/card.wrapper.mjs +39 -39
  16. package/esm2022/card-wrapper/public_api.mjs +1 -1
  17. package/esm2022/cascader/cascader.module.mjs +5 -5
  18. package/esm2022/cascader/cascader.type.mjs +67 -67
  19. package/esm2022/cascader/public_api.mjs +1 -1
  20. package/esm2022/checkbox/checkbox.module.mjs +5 -5
  21. package/esm2022/checkbox/checkbox.type.mjs +41 -41
  22. package/esm2022/checkbox/public_api.mjs +1 -1
  23. package/esm2022/common/common.module.mjs +5 -5
  24. package/esm2022/common/formly-box-templates.directive.mjs +4 -4
  25. package/esm2022/common/formly-utils.mjs +1 -1
  26. package/esm2022/common/interface.mjs +1 -1
  27. package/esm2022/common/public_api.mjs +1 -1
  28. package/esm2022/datepicker/datepicker.module.mjs +5 -5
  29. package/esm2022/datepicker/datepicker.props.mjs +1 -1
  30. package/esm2022/datepicker/datepicker.type.mjs +151 -151
  31. package/esm2022/datepicker/public_api.mjs +1 -1
  32. package/esm2022/extension/public_api.mjs +1 -1
  33. package/esm2022/extension/value-changes-extension.mjs +1 -1
  34. package/esm2022/flex/flex.module.mjs +41 -0
  35. package/esm2022/flex/flex.type.mjs +66 -0
  36. package/esm2022/flex/ngx-formly-zorro-antd-flex.mjs +5 -0
  37. package/esm2022/flex/public_api.mjs +3 -0
  38. package/esm2022/form-field/form-field.module.mjs +5 -5
  39. package/esm2022/form-field/form-field.props.mjs +1 -1
  40. package/esm2022/form-field/form-field.wrapper.mjs +149 -149
  41. package/esm2022/form-field/public_api.mjs +1 -1
  42. package/esm2022/grid/grid.module.mjs +5 -5
  43. package/esm2022/grid/grid.props.mjs +1 -1
  44. package/esm2022/grid/grid.type.mjs +61 -61
  45. package/esm2022/grid/public_api.mjs +1 -1
  46. package/esm2022/index.mjs +1 -1
  47. package/esm2022/input/input.module.mjs +5 -5
  48. package/esm2022/input/input.props.mjs +1 -1
  49. package/esm2022/input/input.type.mjs +277 -277
  50. package/esm2022/input/public_api.mjs +1 -1
  51. package/esm2022/input-group/input-group.module.mjs +5 -5
  52. package/esm2022/input-group/input-group.props.mjs +1 -1
  53. package/esm2022/input-group/input-group.type.mjs +41 -41
  54. package/esm2022/input-group/public_api.mjs +1 -1
  55. package/esm2022/input-number/input-number.module.mjs +5 -5
  56. package/esm2022/input-number/input-number.props.mjs +1 -1
  57. package/esm2022/input-number/input-number.type.mjs +91 -91
  58. package/esm2022/input-number/public_api.mjs +1 -1
  59. package/esm2022/lib/ui-ng-zorro-antd.mjs +1 -1
  60. package/esm2022/lib/ui-ng-zorro-antd.module.mjs +12 -8
  61. package/esm2022/radio/public_api.mjs +1 -1
  62. package/esm2022/radio/radio.module.mjs +5 -5
  63. package/esm2022/radio/radio.type.mjs +83 -83
  64. package/esm2022/rate/public_api.mjs +1 -1
  65. package/esm2022/rate/rate.module.mjs +5 -5
  66. package/esm2022/rate/rate.type.mjs +35 -35
  67. package/esm2022/ref-template/public_api.mjs +1 -1
  68. package/esm2022/ref-template/ref-template.module.mjs +5 -5
  69. package/esm2022/ref-template/ref-template.type.mjs +11 -11
  70. package/esm2022/select/public_api.mjs +1 -1
  71. package/esm2022/select/select.module.mjs +5 -5
  72. package/esm2022/select/select.props.mjs +1 -1
  73. package/esm2022/select/select.type.mjs +125 -125
  74. package/esm2022/slider/public_api.mjs +1 -1
  75. package/esm2022/slider/slider.module.mjs +5 -5
  76. package/esm2022/slider/slider.type.mjs +35 -35
  77. package/esm2022/space/public_api.mjs +1 -1
  78. package/esm2022/space/space.module.mjs +5 -5
  79. package/esm2022/space/space.type.mjs +29 -29
  80. package/esm2022/switch/public_api.mjs +1 -1
  81. package/esm2022/switch/switch.module.mjs +5 -5
  82. package/esm2022/switch/switch.type.mjs +27 -27
  83. package/esm2022/tabs/public_api.mjs +1 -1
  84. package/esm2022/tabs/tabs.module.mjs +5 -5
  85. package/esm2022/tabs/tabs.props.mjs +1 -1
  86. package/esm2022/tabs/tabs.wrapper.mjs +81 -81
  87. package/esm2022/text-value/public_api.mjs +1 -1
  88. package/esm2022/text-value/text-value.module.mjs +5 -5
  89. package/esm2022/text-value/text-value.type.mjs +21 -21
  90. package/esm2022/textarea/public_api.mjs +1 -1
  91. package/esm2022/textarea/textarea.module.mjs +5 -5
  92. package/esm2022/textarea/textarea.type.mjs +115 -115
  93. package/esm2022/timepicker/public_api.mjs +1 -1
  94. package/esm2022/timepicker/timepicker.module.mjs +5 -5
  95. package/esm2022/timepicker/timepicker.type.mjs +63 -63
  96. package/esm2022/transfer/public_api.mjs +1 -1
  97. package/esm2022/transfer/transfer.component.mjs +52 -52
  98. package/esm2022/transfer/transfer.module.mjs +5 -5
  99. package/esm2022/transfer/transfer.type.mjs +49 -49
  100. package/esm2022/tree-select/public_api.mjs +1 -1
  101. package/esm2022/tree-select/tree-select.module.mjs +5 -5
  102. package/esm2022/tree-select/tree-select.type.mjs +71 -71
  103. package/esm2022/upload/public_api.mjs +1 -1
  104. package/esm2022/upload/upload.component.mjs +146 -146
  105. package/esm2022/upload/upload.module.mjs +5 -5
  106. package/esm2022/upload/upload.props.mjs +1 -1
  107. package/esm2022/upload/upload.type.mjs +85 -85
  108. package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +72 -72
  109. package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
  110. package/fesm2022/ngx-formly-zorro-antd-button.mjs +128 -128
  111. package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
  112. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +42 -42
  113. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
  114. package/fesm2022/ngx-formly-zorro-antd-card.mjs +56 -56
  115. package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
  116. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +70 -70
  117. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  118. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +44 -44
  119. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  120. package/fesm2022/ngx-formly-zorro-antd-common.mjs +7 -7
  121. package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
  122. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +154 -154
  123. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  124. package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -1
  125. package/fesm2022/ngx-formly-zorro-antd-flex.mjs +109 -0
  126. package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -0
  127. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +152 -152
  128. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  129. package/fesm2022/ngx-formly-zorro-antd-grid.mjs +64 -64
  130. package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  131. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +44 -44
  132. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  133. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +94 -94
  134. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  135. package/fesm2022/ngx-formly-zorro-antd-input.mjs +280 -280
  136. package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
  137. package/fesm2022/ngx-formly-zorro-antd-radio.mjs +86 -86
  138. package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  139. package/fesm2022/ngx-formly-zorro-antd-rate.mjs +38 -38
  140. package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  141. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +14 -14
  142. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
  143. package/fesm2022/ngx-formly-zorro-antd-select.mjs +128 -128
  144. package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
  145. package/fesm2022/ngx-formly-zorro-antd-slider.mjs +38 -38
  146. package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  147. package/fesm2022/ngx-formly-zorro-antd-space.mjs +32 -32
  148. package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
  149. package/fesm2022/ngx-formly-zorro-antd-switch.mjs +30 -30
  150. package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  151. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +84 -84
  152. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  153. package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +24 -24
  154. package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
  155. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +118 -118
  156. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  157. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +66 -66
  158. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  159. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +103 -103
  160. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  161. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +74 -74
  162. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  163. package/fesm2022/ngx-formly-zorro-antd-upload.mjs +233 -233
  164. package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  165. package/fesm2022/ngx-formly-zorro-antd.mjs +11 -7
  166. package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
  167. package/flex/flex.module.d.ts +10 -0
  168. package/flex/flex.type.d.ts +48 -0
  169. package/flex/index.d.ts +5 -0
  170. package/flex/public_api.d.ts +2 -0
  171. package/input/input.props.d.ts +4 -2
  172. package/input/public_api.d.ts +1 -0
  173. package/input-group/input-group.props.d.ts +2 -0
  174. package/input-group/public_api.d.ts +1 -1
  175. package/lib/ui-ng-zorro-antd.module.d.ts +2 -1
  176. package/package.json +24 -18
  177. package/autocomplete/package.json +0 -3
  178. package/button/package.json +0 -3
  179. package/button-group/package.json +0 -3
  180. package/card/package.json +0 -3
  181. package/card-wrapper/package.json +0 -3
  182. package/cascader/package.json +0 -3
  183. package/checkbox/package.json +0 -3
  184. package/common/package.json +0 -3
  185. package/datepicker/package.json +0 -3
  186. package/extension/package.json +0 -3
  187. package/form-field/package.json +0 -3
  188. package/grid/package.json +0 -3
  189. package/input/package.json +0 -3
  190. package/input-group/package.json +0 -3
  191. package/input-number/package.json +0 -3
  192. package/radio/package.json +0 -3
  193. package/rate/package.json +0 -3
  194. package/ref-template/package.json +0 -3
  195. package/select/package.json +0 -3
  196. package/slider/package.json +0 -3
  197. package/space/package.json +0 -3
  198. package/switch/package.json +0 -3
  199. package/tabs/package.json +0 -3
  200. package/text-value/package.json +0 -3
  201. package/textarea/package.json +0 -3
  202. package/timepicker/package.json +0 -3
  203. package/transfer/package.json +0 -3
  204. package/tree-select/package.json +0 -3
  205. package/upload/package.json +0 -3
@@ -23,138 +23,138 @@ class FormlyFieldTextarea extends FieldType {
23
23
  }
24
24
  };
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
28
- @switch (props.type) {
29
- @case ('count') {
30
- <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
31
- <textarea
32
- [formControl]="formControl"
33
- [formlyAttributes]="field"
34
- [ngClass]="props['ngClass']"
35
- [ngStyle]="props['ngStyle']"
36
- [attr.rows]="props.rows"
37
- [attr.cols]="props.cols"
38
- [nzBorderless]="props['borderless']!!"
39
- [nzAutosize]="props['autosize']!!"
40
- nz-input
41
- ></textarea>
42
- </nz-textarea-count>
43
- }
44
- @case ('clear') {
45
- <nz-input-group
46
- class="ant-input-affix-wrapper-textarea-with-clear-btn"
47
- [nzSuffix]="textAreaClearTpl"
48
- >
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
- [ngClass]="props['ngClass']"
62
- [ngStyle]="props['ngStyle']"
63
- [attr.rows]="props.rows"
64
- [attr.cols]="props.cols"
65
- nz-input
66
- [nzBorderless]="props['borderless']!!"
67
- [nzAutosize]="props['autosize']!!"
68
- ></textarea>
69
- </ng-template>
70
-
71
- <!-- 清除数据 -->
72
- <ng-template #textAreaClearTpl>
73
- @if (formControl.value && !props['disabled'] && !props['readonly']) {
74
- <span
75
- nz-icon
76
- class="ant-input-clear-icon"
77
- nzTheme="fill"
78
- nzType="close-circle"
79
- (click)="formControl.reset()"
80
- ></span>
81
- }
82
- </ng-template>
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
28
+ @switch (props.type) {
29
+ @case ('count') {
30
+ <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
31
+ <textarea
32
+ [formControl]="formControl"
33
+ [formlyAttributes]="field"
34
+ [ngClass]="props['ngClass']"
35
+ [ngStyle]="props['ngStyle']"
36
+ [attr.rows]="props.rows"
37
+ [attr.cols]="props.cols"
38
+ [nzBorderless]="props['borderless']!!"
39
+ [nzAutosize]="props['autosize']!!"
40
+ nz-input
41
+ ></textarea>
42
+ </nz-textarea-count>
43
+ }
44
+ @case ('clear') {
45
+ <nz-input-group
46
+ class="ant-input-affix-wrapper-textarea-with-clear-btn"
47
+ [nzSuffix]="textAreaClearTpl"
48
+ >
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
+ [ngClass]="props['ngClass']"
62
+ [ngStyle]="props['ngStyle']"
63
+ [attr.rows]="props.rows"
64
+ [attr.cols]="props.cols"
65
+ nz-input
66
+ [nzBorderless]="props['borderless']!!"
67
+ [nzAutosize]="props['autosize']!!"
68
+ ></textarea>
69
+ </ng-template>
70
+
71
+ <!-- 清除数据 -->
72
+ <ng-template #textAreaClearTpl>
73
+ @if (formControl.value && !props['disabled'] && !props['readonly']) {
74
+ <span
75
+ nz-icon
76
+ class="ant-input-clear-icon"
77
+ nzTheme="fill"
78
+ nzType="close-circle"
79
+ (click)="formControl.reset()"
80
+ ></span>
81
+ }
82
+ </ng-template>
83
83
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { 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]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
84
84
  }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
86
86
  type: Component,
87
87
  args: [{
88
88
  selector: 'formly-field-textarea',
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
- [ngClass]="props['ngClass']"
97
- [ngStyle]="props['ngStyle']"
98
- [attr.rows]="props.rows"
99
- [attr.cols]="props.cols"
100
- [nzBorderless]="props['borderless']!!"
101
- [nzAutosize]="props['autosize']!!"
102
- nz-input
103
- ></textarea>
104
- </nz-textarea-count>
105
- }
106
- @case ('clear') {
107
- <nz-input-group
108
- class="ant-input-affix-wrapper-textarea-with-clear-btn"
109
- [nzSuffix]="textAreaClearTpl"
110
- >
111
- <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
112
- </nz-input-group>
113
- }
114
- @default {
115
- <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
116
- }
117
- }
118
-
119
- <ng-template #textareaTpl>
120
- <textarea
121
- [formControl]="formControl"
122
- [formlyAttributes]="field"
123
- [ngClass]="props['ngClass']"
124
- [ngStyle]="props['ngStyle']"
125
- [attr.rows]="props.rows"
126
- [attr.cols]="props.cols"
127
- nz-input
128
- [nzBorderless]="props['borderless']!!"
129
- [nzAutosize]="props['autosize']!!"
130
- ></textarea>
131
- </ng-template>
132
-
133
- <!-- 清除数据 -->
134
- <ng-template #textAreaClearTpl>
135
- @if (formControl.value && !props['disabled'] && !props['readonly']) {
136
- <span
137
- nz-icon
138
- class="ant-input-clear-icon"
139
- nzTheme="fill"
140
- nzType="close-circle"
141
- (click)="formControl.reset()"
142
- ></span>
143
- }
144
- </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
+ [ngClass]="props['ngClass']"
97
+ [ngStyle]="props['ngStyle']"
98
+ [attr.rows]="props.rows"
99
+ [attr.cols]="props.cols"
100
+ [nzBorderless]="props['borderless']!!"
101
+ [nzAutosize]="props['autosize']!!"
102
+ nz-input
103
+ ></textarea>
104
+ </nz-textarea-count>
105
+ }
106
+ @case ('clear') {
107
+ <nz-input-group
108
+ class="ant-input-affix-wrapper-textarea-with-clear-btn"
109
+ [nzSuffix]="textAreaClearTpl"
110
+ >
111
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
112
+ </nz-input-group>
113
+ }
114
+ @default {
115
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
116
+ }
117
+ }
118
+
119
+ <ng-template #textareaTpl>
120
+ <textarea
121
+ [formControl]="formControl"
122
+ [formlyAttributes]="field"
123
+ [ngClass]="props['ngClass']"
124
+ [ngStyle]="props['ngStyle']"
125
+ [attr.rows]="props.rows"
126
+ [attr.cols]="props.cols"
127
+ nz-input
128
+ [nzBorderless]="props['borderless']!!"
129
+ [nzAutosize]="props['autosize']!!"
130
+ ></textarea>
131
+ </ng-template>
132
+
133
+ <!-- 清除数据 -->
134
+ <ng-template #textAreaClearTpl>
135
+ @if (formControl.value && !props['disabled'] && !props['readonly']) {
136
+ <span
137
+ nz-icon
138
+ class="ant-input-clear-icon"
139
+ nzTheme="fill"
140
+ nzType="close-circle"
141
+ (click)="formControl.reset()"
142
+ ></span>
143
+ }
144
+ </ng-template>
145
145
  `,
146
146
  changeDetection: ChangeDetectionStrategy.OnPush
147
147
  }]
148
148
  }] });
149
149
 
150
150
  class FormlyNzTextareaModule {
151
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
152
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
151
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
152
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
153
153
  ReactiveFormsModule,
154
154
  FormlyNzFormFieldModule,
155
155
  NzInputModule,
156
156
  NzIconModule, i5.FormlyModule] }); }
157
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
157
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
158
158
  ReactiveFormsModule,
159
159
  FormlyNzFormFieldModule,
160
160
  NzInputModule,
@@ -169,7 +169,7 @@ class FormlyNzTextareaModule {
169
169
  ]
170
170
  })] }); }
171
171
  }
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
173
173
  type: NgModule,
174
174
  args: [{
175
175
  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.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\ninterface 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\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 [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\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\n class=\"ant-input-affix-wrapper-textarea-with-clear-btn\"\n [nzSuffix]=\"textAreaClearTpl\"\n >\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 [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\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.reset()\"\n ></span>\n }\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\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 { 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 { 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({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextarea,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzTextareaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AA2FM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AA7DlF,IAAA,WAAA,GAAA;;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QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAjB/B,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YACvB,aAAa;YACb,YAAY;YAEZ,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;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBApBlC,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;wBAEZ,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;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC7BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-textarea.mjs","sources":["../../../../packages/formlyantd/textarea/src/textarea.type.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';\r\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\ninterface TextareaProps extends FormlyFieldProps {\r\n type?: 'count' | 'clear';\r\n\r\n /**\r\n * 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }\r\n * @default false\r\n */\r\n autosize?: boolean | { minRows: number; maxRows: number };\r\n\r\n /**\r\n * 是否隐藏边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * textarea 数字提示显示的最大值\r\n */\r\n maxCharacterCount?: number;\r\n}\r\n\r\nexport interface FormlyTextareaFieldConfig extends NzFormlyFieldConfig<TextareaProps> {\r\n type: 'textarea' | Type<FormlyFieldTextarea>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-textarea',\r\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 [ngClass]=\"props['ngClass']\"\r\n [ngStyle]=\"props['ngStyle']\"\r\n [attr.rows]=\"props.rows\"\r\n [attr.cols]=\"props.cols\"\r\n [nzBorderless]=\"props['borderless']!!\"\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\r\n class=\"ant-input-affix-wrapper-textarea-with-clear-btn\"\r\n [nzSuffix]=\"textAreaClearTpl\"\r\n >\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 [ngClass]=\"props['ngClass']\"\r\n [ngStyle]=\"props['ngStyle']\"\r\n [attr.rows]=\"props.rows\"\r\n [attr.cols]=\"props.cols\"\r\n nz-input\r\n [nzBorderless]=\"props['borderless']!!\"\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 <span\r\n nz-icon\r\n class=\"ant-input-clear-icon\"\r\n nzTheme=\"fill\"\r\n nzType=\"close-circle\"\r\n (click)=\"formControl.reset()\"\r\n ></span>\r\n }\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldTextarea extends FieldType<FieldTypeConfig<TextareaProps>> {\r\n override defaultOptions = {\r\n props: {\r\n rows: 4,\r\n autosize: false,\r\n borderless: false\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldTextarea } from './textarea.type';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldTextarea],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzInputModule,\r\n NzIconModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'textarea',\r\n component: FormlyFieldTextarea,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTextareaModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AA2FM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AA7DlF,IAAA,WAAA,GAAA;;AA8DW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,CAAC;AACP,gBAAA,QAAQ,EAAE,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,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;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBApBlC,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;wBAEZ,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;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC7BD;;AAEG;;;;"}
@@ -27,85 +27,85 @@ class FormlyFieldTimepicker extends FieldType {
27
27
  }
28
28
  };
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: FormlyFieldTimepicker, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
32
- #time
33
- [formControl]="formControl"
34
- [formlyAttributes]="field"
35
- [nzPlaceHolder]="props.placeholder ?? ''"
36
- [ngClass]="props['ngClass']"
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
- [nzInputReadOnly]="props['inputReadOnly']!!"
53
- [nzMinuteStep]="props['minuteStep']"
54
- [nzSecondStep]="props['secondStep']"
55
- [nzOpen]="props['open']!!"
56
- [nzPopupClassName]="props['popupClassName']"
57
- [nzUse12Hours]="props['use12Hours']!!"
58
- [nzSuffixIcon]="props['suffixIcon']"
59
- (ngModelChange)="props.change && props.change(field, $event)"
60
- (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FormlyFieldTimepicker, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
32
+ #time
33
+ [formControl]="formControl"
34
+ [formlyAttributes]="field"
35
+ [nzPlaceHolder]="props.placeholder ?? ''"
36
+ [ngClass]="props['ngClass']"
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
+ [nzInputReadOnly]="props['inputReadOnly']!!"
53
+ [nzMinuteStep]="props['minuteStep']"
54
+ [nzSecondStep]="props['secondStep']"
55
+ [nzOpen]="props['open']!!"
56
+ [nzPopupClassName]="props['popupClassName']"
57
+ [nzUse12Hours]="props['use12Hours']!!"
58
+ [nzSuffixIcon]="props['suffixIcon']"
59
+ (ngModelChange)="props.change && props.change(field, $event)"
60
+ (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
61
61
  ></nz-time-picker>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.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"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
64
64
  type: Component,
65
65
  args: [{
66
66
  selector: 'formly-field-timepicker',
67
- template: `<nz-time-picker
68
- #time
69
- [formControl]="formControl"
70
- [formlyAttributes]="field"
71
- [nzPlaceHolder]="props.placeholder ?? ''"
72
- [ngClass]="props['ngClass']"
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
- [nzInputReadOnly]="props['inputReadOnly']!!"
89
- [nzMinuteStep]="props['minuteStep']"
90
- [nzSecondStep]="props['secondStep']"
91
- [nzOpen]="props['open']!!"
92
- [nzPopupClassName]="props['popupClassName']"
93
- [nzUse12Hours]="props['use12Hours']!!"
94
- [nzSuffixIcon]="props['suffixIcon']"
95
- (ngModelChange)="props.change && props.change(field, $event)"
96
- (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
67
+ template: `<nz-time-picker
68
+ #time
69
+ [formControl]="formControl"
70
+ [formlyAttributes]="field"
71
+ [nzPlaceHolder]="props.placeholder ?? ''"
72
+ [ngClass]="props['ngClass']"
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
+ [nzInputReadOnly]="props['inputReadOnly']!!"
89
+ [nzMinuteStep]="props['minuteStep']"
90
+ [nzSecondStep]="props['secondStep']"
91
+ [nzOpen]="props['open']!!"
92
+ [nzPopupClassName]="props['popupClassName']"
93
+ [nzUse12Hours]="props['use12Hours']!!"
94
+ [nzSuffixIcon]="props['suffixIcon']"
95
+ (ngModelChange)="props.change && props.change(field, $event)"
96
+ (nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
97
97
  ></nz-time-picker>`,
98
98
  changeDetection: ChangeDetectionStrategy.OnPush
99
99
  }]
100
100
  }] });
101
101
 
102
102
  class FormlyNzTimepickerModule {
103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
104
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
103
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
104
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
105
105
  ReactiveFormsModule,
106
106
  FormlyNzFormFieldModule,
107
107
  NzTimePickerModule, i4.FormlyModule] }); }
108
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
108
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
109
109
  ReactiveFormsModule,
110
110
  FormlyNzFormFieldModule,
111
111
  NzTimePickerModule,
@@ -119,7 +119,7 @@ class FormlyNzTimepickerModule {
119
119
  ]
120
120
  })] }); }
121
121
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
123
123
  type: NgModule,
124
124
  args: [{
125
125
  declarations: [FormlyFieldTimepicker],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-timepicker.mjs","sources":["../../../../packages/formlyantd/timepicker/src/timepicker.type.ts","../../../../packages/formlyantd/timepicker/src/timepicker.module.ts","../../../../packages/formlyantd/timepicker/src/ngx-formly-zorro-antd-timepicker.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { DatePipe } from '@angular/common';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\ninterface TimepickerProps extends FormlyFieldProps {\n /**\n * 选择框底部显示自定义的内容\n */\n addOn?: TemplateRef<void>;\n\n /**\n * 是否展示清除按钮\n * @default true\n */\n allowEmpty?: boolean;\n\n /**\n * 自动获取焦点\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 清除按钮的提示文案\n * @default clear\n */\n clearText?: string;\n\n /**\n * 此刻按钮文本\n * @default 此刻\n */\n nowText?: string;\n\n /**\n * 确认按钮文本\n * @default 确定\n */\n okText?: string;\n\n /**\n * 当 [ngModel] 不存在时,可以设置面板打开时默认选中的值\n * @default new Date()\n */\n defaultOpenValue?: Date;\n\n /**\n * \t禁止选择部分小时选项\n */\n disabledHours?: () => number[];\n\n /**\n * 禁止选择部分分钟选项\n */\n disabledMinutes?: (hour: number) => number[];\n\n /**\n * 禁止选择部分秒选项\n */\n disabledSeconds?: (hour: number, minute: number) => number[];\n\n /**\n * 展示的时间格式\n * @default \"HH:mm:ss\"\n */\n format?: DatePipe;\n\n /**\n * 隐藏禁止选择的选项\n * @default false\n */\n hideDisabledOptions?: boolean;\n\n /**\n * 小时选项间隔\n * @default 1\n */\n hourStep?: number;\n\n /**\n * 分钟选项间隔\n * @default 1\n */\n minuteStep?: number;\n\n /**\n * 秒选项间隔\n * @default 1\n */\n secondStep?: number;\n\n /**\n * 面板是否打开,可双向绑定\n * @default false\n */\n open?: boolean;\n\n /**\n * 弹出层类名\n * @default '''\n */\n popupClassName?: string;\n\n /**\n * 使用12小时制,为true时format默认为h:mm:ss a\n * @default false\n */\n use12Hours?: boolean;\n /**\n * 无边框\n * @default false\n */\n borderless?: boolean;\n\n /**\n * 为 input 标签设置只读属性(避免在移动设备上触发小键盘)\n * @default false\n */\n inputReadOnly?: boolean;\n\n /**\n * 自定义的后缀图标\n *\n */\n suffixIcon?: string | TemplateRef<void>;\n\n /**\n * 面板打开/关闭时的回调\n */\n openChange?: FormlyAttributeEvent<boolean>;\n}\n\nexport interface FormlyTimepickerFieldConfig extends NzFormlyFieldConfig<TimepickerProps> {\n type: 'timepicker' | Type<FormlyFieldTimepicker>;\n}\n\n@Component({\n selector: 'formly-field-timepicker',\n template: `<nz-time-picker\n #time\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [ngClass]=\"props['ngClass']\"\n [nzAddOn]=\"props['addOn']\"\n [nzAllowEmpty]=\"props['allowEmpty']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzClearText]=\"props['clearText']\"\n [nzNowText]=\"props['nowText']\"\n [nzOkText]=\"props['okText']\"\n [nzDefaultOpenValue]=\"props['defaultOpenValue']\"\n [nzDisabledHours]=\"props['disabledHours']\"\n [nzDisabledMinutes]=\"props['disabledMinutes']\"\n [nzDisabledSeconds]=\"props['disabledSeconds']\"\n [nzFormat]=\"props['format']\"\n [nzHideDisabledOptions]=\"props['hideDisabledOptions']!!\"\n [nzHourStep]=\"props['hourStep']\"\n [nzBorderless]=\"props['borderless']!!\"\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\n [nzMinuteStep]=\"props['minuteStep']\"\n [nzSecondStep]=\"props['secondStep']\"\n [nzOpen]=\"props['open']!!\"\n [nzPopupClassName]=\"props['popupClassName']\"\n [nzUse12Hours]=\"props['use12Hours']!!\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n (ngModelChange)=\"props.change && props.change(field, $event)\"\n (nzOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\n ></nz-time-picker>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldTimepicker extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n allowEmpty: true,\n autoFocus: false,\n backdrop: false,\n borderless: false,\n inputReadOnly: false,\n open: false,\n clearText: 'clear',\n defaultOpenValue: new Date(),\n format: 'HH:mm:ss' as NzSafeAny\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzTimePickerModule } from 'ng-zorro-antd/time-picker';\nimport { FormlyFieldTimepicker } from './timepicker.type';\n\n@NgModule({\n declarations: [FormlyFieldTimepicker],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzTimePickerModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'timepicker',\n component: FormlyFieldTimepicker,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzTimepickerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAqLM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AAnCrE,IAAA,WAAA,GAAA;;AAoCW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,SAAS,EAAE,OAAO;gBAClB,gBAAgB,EAAE,IAAI,IAAI,EAAE;AAC5B,gBAAA,MAAM,EAAE,UAAuB;AAChC,aAAA;SACF,CAAC;AACH,KAAA;8GAdY,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,EAjC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AA,EAAA;;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
+ {"version":3,"file":"ngx-formly-zorro-antd-timepicker.mjs","sources":["../../../../packages/formlyantd/timepicker/src/timepicker.type.ts","../../../../packages/formlyantd/timepicker/src/timepicker.module.ts","../../../../packages/formlyantd/timepicker/src/ngx-formly-zorro-antd-timepicker.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { DatePipe } from '@angular/common';\r\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\n\r\ninterface TimepickerProps extends FormlyFieldProps {\r\n /**\r\n * 选择框底部显示自定义的内容\r\n */\r\n addOn?: TemplateRef<void>;\r\n\r\n /**\r\n * 是否展示清除按钮\r\n * @default true\r\n */\r\n allowEmpty?: boolean;\r\n\r\n /**\r\n * 自动获取焦点\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 浮层是否应带有背景板\r\n * @default false\r\n */\r\n backdrop?: boolean;\r\n\r\n /**\r\n * 清除按钮的提示文案\r\n * @default clear\r\n */\r\n clearText?: string;\r\n\r\n /**\r\n * 此刻按钮文本\r\n * @default 此刻\r\n */\r\n nowText?: string;\r\n\r\n /**\r\n * 确认按钮文本\r\n * @default 确定\r\n */\r\n okText?: string;\r\n\r\n /**\r\n * 当 [ngModel] 不存在时,可以设置面板打开时默认选中的值\r\n * @default new Date()\r\n */\r\n defaultOpenValue?: Date;\r\n\r\n /**\r\n * \t禁止选择部分小时选项\r\n */\r\n disabledHours?: () => number[];\r\n\r\n /**\r\n * 禁止选择部分分钟选项\r\n */\r\n disabledMinutes?: (hour: number) => number[];\r\n\r\n /**\r\n * 禁止选择部分秒选项\r\n */\r\n disabledSeconds?: (hour: number, minute: number) => number[];\r\n\r\n /**\r\n * 展示的时间格式\r\n * @default \"HH:mm:ss\"\r\n */\r\n format?: DatePipe;\r\n\r\n /**\r\n * 隐藏禁止选择的选项\r\n * @default false\r\n */\r\n hideDisabledOptions?: boolean;\r\n\r\n /**\r\n * 小时选项间隔\r\n * @default 1\r\n */\r\n hourStep?: number;\r\n\r\n /**\r\n * 分钟选项间隔\r\n * @default 1\r\n */\r\n minuteStep?: number;\r\n\r\n /**\r\n * 秒选项间隔\r\n * @default 1\r\n */\r\n secondStep?: number;\r\n\r\n /**\r\n * 面板是否打开,可双向绑定\r\n * @default false\r\n */\r\n open?: boolean;\r\n\r\n /**\r\n * 弹出层类名\r\n * @default '''\r\n */\r\n popupClassName?: string;\r\n\r\n /**\r\n * 使用12小时制,为true时format默认为h:mm:ss a\r\n * @default false\r\n */\r\n use12Hours?: boolean;\r\n /**\r\n * 无边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * 为 input 标签设置只读属性(避免在移动设备上触发小键盘)\r\n * @default false\r\n */\r\n inputReadOnly?: boolean;\r\n\r\n /**\r\n * 自定义的后缀图标\r\n *\r\n */\r\n suffixIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 面板打开/关闭时的回调\r\n */\r\n openChange?: FormlyAttributeEvent<boolean>;\r\n}\r\n\r\nexport interface FormlyTimepickerFieldConfig extends NzFormlyFieldConfig<TimepickerProps> {\r\n type: 'timepicker' | Type<FormlyFieldTimepicker>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-timepicker',\r\n template: `<nz-time-picker\r\n #time\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [ngClass]=\"props['ngClass']\"\r\n [nzAddOn]=\"props['addOn']\"\r\n [nzAllowEmpty]=\"props['allowEmpty']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzClearText]=\"props['clearText']\"\r\n [nzNowText]=\"props['nowText']\"\r\n [nzOkText]=\"props['okText']\"\r\n [nzDefaultOpenValue]=\"props['defaultOpenValue']\"\r\n [nzDisabledHours]=\"props['disabledHours']\"\r\n [nzDisabledMinutes]=\"props['disabledMinutes']\"\r\n [nzDisabledSeconds]=\"props['disabledSeconds']\"\r\n [nzFormat]=\"props['format']\"\r\n [nzHideDisabledOptions]=\"props['hideDisabledOptions']!!\"\r\n [nzHourStep]=\"props['hourStep']\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\r\n [nzMinuteStep]=\"props['minuteStep']\"\r\n [nzSecondStep]=\"props['secondStep']\"\r\n [nzOpen]=\"props['open']!!\"\r\n [nzPopupClassName]=\"props['popupClassName']\"\r\n [nzUse12Hours]=\"props['use12Hours']!!\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n ></nz-time-picker>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldTimepicker extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n allowEmpty: true,\r\n autoFocus: false,\r\n backdrop: false,\r\n borderless: false,\r\n inputReadOnly: false,\r\n open: false,\r\n clearText: 'clear',\r\n defaultOpenValue: new Date(),\r\n format: 'HH:mm:ss' as NzSafeAny\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 { NzTimePickerModule } from 'ng-zorro-antd/time-picker';\r\nimport { FormlyFieldTimepicker } from './timepicker.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldTimepicker],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzTimePickerModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'timepicker',\r\n component: FormlyFieldTimepicker,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTimepickerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAqLM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AAnCrE,IAAA,WAAA,GAAA;;AAoCW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,SAAS,EAAE,KAAK;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,SAAS,EAAE,OAAO;gBAClB,gBAAgB,EAAE,IAAI,IAAI,EAAE;AAC5B,gBAAA,MAAM,EAAE,UAAuB;AAChC,aAAA;SACF,CAAC;AACH,KAAA;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