ngx-formly-zorro-antd 17.0.9 → 17.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) 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 +1 -1
  5. package/esm2022/button/button.type.mjs +123 -123
  6. package/esm2022/button/public_api.mjs +1 -1
  7. package/esm2022/button-group/button-group.module.mjs +1 -1
  8. package/esm2022/button-group/button-group.type.mjs +67 -67
  9. package/esm2022/button-group/public_api.mjs +1 -1
  10. package/esm2022/card/card.module.mjs +1 -1
  11. package/esm2022/card/card.type.mjs +51 -51
  12. package/esm2022/card/public_api.mjs +1 -1
  13. package/esm2022/card-wrapper/card-wrapper.module.mjs +1 -1
  14. package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
  15. package/esm2022/card-wrapper/card.wrapper.mjs +37 -37
  16. package/esm2022/card-wrapper/public_api.mjs +1 -1
  17. package/esm2022/cascader/cascader.module.mjs +1 -1
  18. package/esm2022/cascader/cascader.type.mjs +65 -65
  19. package/esm2022/cascader/public_api.mjs +1 -1
  20. package/esm2022/checkbox/checkbox.module.mjs +1 -1
  21. package/esm2022/checkbox/checkbox.type.mjs +39 -39
  22. package/esm2022/checkbox/public_api.mjs +1 -1
  23. package/esm2022/common/common.module.mjs +1 -1
  24. package/esm2022/common/formly-box-templates.directive.mjs +1 -1
  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 +1 -1
  29. package/esm2022/datepicker/datepicker.props.mjs +1 -1
  30. package/esm2022/datepicker/datepicker.type.mjs +149 -149
  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/form-field/form-field.module.mjs +1 -1
  35. package/esm2022/form-field/form-field.props.mjs +1 -1
  36. package/esm2022/form-field/form-field.wrapper.mjs +125 -125
  37. package/esm2022/form-field/public_api.mjs +1 -1
  38. package/esm2022/grid/grid.module.mjs +1 -1
  39. package/esm2022/grid/grid.props.mjs +1 -1
  40. package/esm2022/grid/grid.type.mjs +59 -59
  41. package/esm2022/grid/public_api.mjs +1 -1
  42. package/esm2022/index.mjs +1 -1
  43. package/esm2022/input/input.module.mjs +1 -1
  44. package/esm2022/input/input.props.mjs +1 -1
  45. package/esm2022/input/input.type.mjs +297 -286
  46. package/esm2022/input/public_api.mjs +1 -1
  47. package/esm2022/input-group/input-group.module.mjs +1 -1
  48. package/esm2022/input-group/input-group.props.mjs +1 -1
  49. package/esm2022/input-group/input-group.type.mjs +39 -39
  50. package/esm2022/input-group/public_api.mjs +1 -1
  51. package/esm2022/input-number/input-number.module.mjs +1 -1
  52. package/esm2022/input-number/input-number.props.mjs +1 -1
  53. package/esm2022/input-number/input-number.type.mjs +89 -89
  54. package/esm2022/input-number/public_api.mjs +1 -1
  55. package/esm2022/lib/ui-ng-zorro-antd.mjs +1 -1
  56. package/esm2022/lib/ui-ng-zorro-antd.module.mjs +1 -1
  57. package/esm2022/radio/public_api.mjs +1 -1
  58. package/esm2022/radio/radio.module.mjs +1 -1
  59. package/esm2022/radio/radio.type.mjs +81 -81
  60. package/esm2022/rate/public_api.mjs +1 -1
  61. package/esm2022/rate/rate.module.mjs +1 -1
  62. package/esm2022/rate/rate.type.mjs +33 -33
  63. package/esm2022/ref-template/public_api.mjs +1 -1
  64. package/esm2022/ref-template/ref-template.module.mjs +1 -1
  65. package/esm2022/ref-template/ref-template.type.mjs +9 -9
  66. package/esm2022/select/public_api.mjs +1 -1
  67. package/esm2022/select/select.module.mjs +1 -1
  68. package/esm2022/select/select.props.mjs +1 -1
  69. package/esm2022/select/select.type.mjs +124 -123
  70. package/esm2022/slider/public_api.mjs +1 -1
  71. package/esm2022/slider/slider.module.mjs +1 -1
  72. package/esm2022/slider/slider.type.mjs +33 -33
  73. package/esm2022/space/public_api.mjs +1 -1
  74. package/esm2022/space/space.module.mjs +1 -1
  75. package/esm2022/space/space.type.mjs +27 -27
  76. package/esm2022/switch/public_api.mjs +1 -1
  77. package/esm2022/switch/switch.module.mjs +1 -1
  78. package/esm2022/switch/switch.type.mjs +25 -25
  79. package/esm2022/tabs/public_api.mjs +1 -1
  80. package/esm2022/tabs/tabs.module.mjs +1 -1
  81. package/esm2022/tabs/tabs.props.mjs +1 -1
  82. package/esm2022/tabs/tabs.wrapper.mjs +79 -79
  83. package/esm2022/textarea/public_api.mjs +1 -1
  84. package/esm2022/textarea/textarea.module.mjs +1 -1
  85. package/esm2022/textarea/textarea.type.mjs +113 -111
  86. package/esm2022/timepicker/public_api.mjs +1 -1
  87. package/esm2022/timepicker/timepicker.module.mjs +1 -1
  88. package/esm2022/timepicker/timepicker.type.mjs +61 -61
  89. package/esm2022/transfer/public_api.mjs +1 -1
  90. package/esm2022/transfer/transfer.component.mjs +49 -49
  91. package/esm2022/transfer/transfer.module.mjs +1 -1
  92. package/esm2022/transfer/transfer.type.mjs +47 -47
  93. package/esm2022/tree-select/public_api.mjs +1 -1
  94. package/esm2022/tree-select/tree-select.module.mjs +1 -1
  95. package/esm2022/tree-select/tree-select.type.mjs +69 -69
  96. package/esm2022/upload/public_api.mjs +1 -1
  97. package/esm2022/upload/upload.component.mjs +143 -143
  98. package/esm2022/upload/upload.module.mjs +1 -1
  99. package/esm2022/upload/upload.props.mjs +1 -1
  100. package/esm2022/upload/upload.type.mjs +83 -83
  101. package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +66 -66
  102. package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
  103. package/fesm2022/ngx-formly-zorro-antd-button.mjs +122 -122
  104. package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
  105. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +36 -36
  106. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
  107. package/fesm2022/ngx-formly-zorro-antd-card.mjs +50 -50
  108. package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
  109. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +64 -64
  110. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  111. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +38 -38
  112. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  113. package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
  114. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +148 -148
  115. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  116. package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -1
  117. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +124 -124
  118. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  119. package/fesm2022/ngx-formly-zorro-antd-grid.mjs +58 -58
  120. package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  121. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +38 -38
  122. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  123. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +88 -88
  124. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  125. package/fesm2022/ngx-formly-zorro-antd-input.mjs +297 -286
  126. package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
  127. package/fesm2022/ngx-formly-zorro-antd-radio.mjs +80 -80
  128. package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  129. package/fesm2022/ngx-formly-zorro-antd-rate.mjs +32 -32
  130. package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  131. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +8 -8
  132. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
  133. package/fesm2022/ngx-formly-zorro-antd-select.mjs +123 -122
  134. package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
  135. package/fesm2022/ngx-formly-zorro-antd-slider.mjs +32 -32
  136. package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  137. package/fesm2022/ngx-formly-zorro-antd-space.mjs +26 -26
  138. package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
  139. package/fesm2022/ngx-formly-zorro-antd-switch.mjs +24 -24
  140. package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  141. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +78 -78
  142. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  143. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +112 -110
  144. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  145. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +60 -60
  146. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  147. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +94 -94
  148. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  149. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +68 -68
  150. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  151. package/fesm2022/ngx-formly-zorro-antd-upload.mjs +224 -224
  152. package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  153. package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
  154. package/input/input.type.d.ts +6 -1
  155. package/input-group/input-group.props.d.ts +4 -0
  156. package/package.json +7 -7
  157. package/select/select.type.d.ts +1 -0
  158. package/autocomplete/package.json +0 -3
  159. package/button/package.json +0 -3
  160. package/button-group/package.json +0 -3
  161. package/card/package.json +0 -3
  162. package/card-wrapper/package.json +0 -3
  163. package/cascader/package.json +0 -3
  164. package/checkbox/package.json +0 -3
  165. package/common/package.json +0 -3
  166. package/datepicker/package.json +0 -3
  167. package/extension/package.json +0 -3
  168. package/form-field/package.json +0 -3
  169. package/grid/package.json +0 -3
  170. package/input/package.json +0 -3
  171. package/input-group/package.json +0 -3
  172. package/input-number/package.json +0 -3
  173. package/radio/package.json +0 -3
  174. package/rate/package.json +0 -3
  175. package/ref-template/package.json +0 -3
  176. package/select/package.json +0 -3
  177. package/slider/package.json +0 -3
  178. package/space/package.json +0 -3
  179. package/switch/package.json +0 -3
  180. package/tabs/package.json +0 -3
  181. package/textarea/package.json +0 -3
  182. package/timepicker/package.json +0 -3
  183. package/transfer/package.json +0 -3
  184. package/tree-select/package.json +0 -3
  185. package/upload/package.json +0 -3
@@ -37,134 +37,134 @@ class FormlyWrapperFormField extends FieldWrapper {
37
37
  return this.hasError ? 'error' : 'success';
38
38
  }
39
39
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyWrapperFormField, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
40
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
41
- <nz-form-item [ngClass]="props.itemClass">
42
- @if (hasLabel && props['hideLabel'] !== true) {
43
- <nz-form-label
44
- [nzFlex]="props.labelFlex || formState.labelFlex"
45
- [nzOffset]="props.labelOffset || formState.labelOffset"
46
- [nzOrder]="props.labelOrder || formState.labelOrder"
47
- [nzPull]="props.labelPull || formState.labelPull"
48
- [nzPush]="props.labelPush || formState.labelPush"
49
- [nzSpan]="props.labelSpan || formState.labelSpan"
50
- [nzXs]="props.labelXs || formState.labelXs"
51
- [nzSm]="props.labelSm || formState.labelSm"
52
- [nzMd]="props.labelMd || formState.labelMd"
53
- [nzLg]="props.labelLg || formState.labelLg"
54
- [nzXl]="props.labelXl || formState.labelXl"
55
- [nzXXl]="props.labelXXl || formState.labelXXl"
56
- [ngClass]="props.labelClass || formState.labelClass"
57
- [ngStyle]="props.labelStyle || formState.labelStyle"
58
- [nzRequired]="props.required && props['hideRequiredMarker'] !== true"
59
- [nzFor]="id"
60
- [nzNoColon]="props['noColon'] ?? formState.noColon!!"
61
- [nzTooltipTitle]="nzTooltipTitle"
62
- [nzTooltipIcon]="props['tooltipIcon']!"
63
- [nzLabelAlign]="props['labelAlign'] || 'right'"
64
- [nzLabelWrap]="props['labelWrap'] ?? formState.labelWrap!!"
65
- >
66
- <ng-container
67
- *nzStringTemplateOutlet="label; context: { $implicit: field, options: props }"
68
- >
69
- <div class="formly-label-text" [attr.title]="label" [innerHTML]="label"></div>
70
- </ng-container>
71
- </nz-form-label>
72
- }
73
- <nz-form-control
74
- [nzValidateStatus]="validateStatus"
75
- [nzHasFeedback]="props['hasFeedback']!!"
76
- [nzExtra]="props.description || nzExtra"
77
- [nzErrorTip]="errorTip"
78
- [ngClass]="props.controlClass || formState.controlClass"
79
- [ngStyle]="props.controlStyle || formState.controlStyle"
80
- [nzFlex]="props.controlFlex || formState.controlFlex"
81
- [nzOffset]="props.controlOffset || formState.controlOffset"
82
- [nzOrder]="props.controlOrder || formState.controlOrder"
83
- [nzPull]="props.controlPull || formState.controlPull"
84
- [nzPush]="props.controlPush || formState.controlPush"
85
- [nzSpan]="props.controlSpan || formState.controlSpan"
86
- [nzXs]="props.controlXs || formState.controlXs"
87
- [nzSm]="props.controlSm || formState.controlSm"
88
- [nzMd]="props.controlMd || formState.controlMd"
89
- [nzLg]="props.controlLg || formState.controlLg"
90
- [nzXl]="props.controlXl || formState.controlXl"
91
- [nzXXl]="props.controlXXl || formState.controlXXl"
92
- >
93
- <ng-container #fieldComponent></ng-container>
94
-
95
- <ng-template #errorTip let-control>
96
- @if (hasError) {
97
- <formly-validation-message [field]="field"></formly-validation-message>
98
- }
99
- </ng-template>
100
- </nz-form-control>
101
- </nz-form-item>
40
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
41
+ <nz-form-item [ngClass]="props.itemClass">
42
+ @if (hasLabel && props['hideLabel'] !== true) {
43
+ <nz-form-label
44
+ [nzFlex]="props.labelFlex || formState.labelFlex"
45
+ [nzOffset]="props.labelOffset || formState.labelOffset"
46
+ [nzOrder]="props.labelOrder || formState.labelOrder"
47
+ [nzPull]="props.labelPull || formState.labelPull"
48
+ [nzPush]="props.labelPush || formState.labelPush"
49
+ [nzSpan]="props.labelSpan || formState.labelSpan"
50
+ [nzXs]="props.labelXs || formState.labelXs"
51
+ [nzSm]="props.labelSm || formState.labelSm"
52
+ [nzMd]="props.labelMd || formState.labelMd"
53
+ [nzLg]="props.labelLg || formState.labelLg"
54
+ [nzXl]="props.labelXl || formState.labelXl"
55
+ [nzXXl]="props.labelXXl || formState.labelXXl"
56
+ [ngClass]="props.labelClass || formState.labelClass"
57
+ [ngStyle]="props.labelStyle || formState.labelStyle"
58
+ [nzRequired]="props.required && props['hideRequiredMarker'] !== true"
59
+ [nzFor]="id"
60
+ [nzNoColon]="props['noColon'] ?? formState.noColon!!"
61
+ [nzTooltipTitle]="nzTooltipTitle"
62
+ [nzTooltipIcon]="props['tooltipIcon']!"
63
+ [nzLabelAlign]="props['labelAlign'] || 'right'"
64
+ [nzLabelWrap]="props['labelWrap'] ?? formState.labelWrap!!"
65
+ >
66
+ <ng-container
67
+ *nzStringTemplateOutlet="label; context: { $implicit: field, options: props }"
68
+ >
69
+ <div class="formly-label-text" [attr.title]="label" [innerHTML]="label"></div>
70
+ </ng-container>
71
+ </nz-form-label>
72
+ }
73
+ <nz-form-control
74
+ [nzValidateStatus]="validateStatus"
75
+ [nzHasFeedback]="props['hasFeedback']!!"
76
+ [nzExtra]="props.description || nzExtra"
77
+ [nzErrorTip]="errorTip"
78
+ [ngClass]="props.controlClass || formState.controlClass"
79
+ [ngStyle]="props.controlStyle || formState.controlStyle"
80
+ [nzFlex]="props.controlFlex || formState.controlFlex"
81
+ [nzOffset]="props.controlOffset || formState.controlOffset"
82
+ [nzOrder]="props.controlOrder || formState.controlOrder"
83
+ [nzPull]="props.controlPull || formState.controlPull"
84
+ [nzPush]="props.controlPush || formState.controlPush"
85
+ [nzSpan]="props.controlSpan || formState.controlSpan"
86
+ [nzXs]="props.controlXs || formState.controlXs"
87
+ [nzSm]="props.controlSm || formState.controlSm"
88
+ [nzMd]="props.controlMd || formState.controlMd"
89
+ [nzLg]="props.controlLg || formState.controlLg"
90
+ [nzXl]="props.controlXl || formState.controlXl"
91
+ [nzXXl]="props.controlXXl || formState.controlXXl"
92
+ >
93
+ <ng-container #fieldComponent></ng-container>
94
+
95
+ <ng-template #errorTip let-control>
96
+ @if (hasError) {
97
+ <formly-validation-message [field]="field"></formly-validation-message>
98
+ }
99
+ </ng-template>
100
+ </nz-form-control>
101
+ </nz-form-item>
102
102
  `, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i4.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i4.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i4.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "directive", type: i5.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: i6.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] }); }
103
103
  }
104
104
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
105
105
  type: Component,
106
- args: [{ selector: 'formly-wrapper-nz-form-field', template: `
107
- <nz-form-item [ngClass]="props.itemClass">
108
- @if (hasLabel && props['hideLabel'] !== true) {
109
- <nz-form-label
110
- [nzFlex]="props.labelFlex || formState.labelFlex"
111
- [nzOffset]="props.labelOffset || formState.labelOffset"
112
- [nzOrder]="props.labelOrder || formState.labelOrder"
113
- [nzPull]="props.labelPull || formState.labelPull"
114
- [nzPush]="props.labelPush || formState.labelPush"
115
- [nzSpan]="props.labelSpan || formState.labelSpan"
116
- [nzXs]="props.labelXs || formState.labelXs"
117
- [nzSm]="props.labelSm || formState.labelSm"
118
- [nzMd]="props.labelMd || formState.labelMd"
119
- [nzLg]="props.labelLg || formState.labelLg"
120
- [nzXl]="props.labelXl || formState.labelXl"
121
- [nzXXl]="props.labelXXl || formState.labelXXl"
122
- [ngClass]="props.labelClass || formState.labelClass"
123
- [ngStyle]="props.labelStyle || formState.labelStyle"
124
- [nzRequired]="props.required && props['hideRequiredMarker'] !== true"
125
- [nzFor]="id"
126
- [nzNoColon]="props['noColon'] ?? formState.noColon!!"
127
- [nzTooltipTitle]="nzTooltipTitle"
128
- [nzTooltipIcon]="props['tooltipIcon']!"
129
- [nzLabelAlign]="props['labelAlign'] || 'right'"
130
- [nzLabelWrap]="props['labelWrap'] ?? formState.labelWrap!!"
131
- >
132
- <ng-container
133
- *nzStringTemplateOutlet="label; context: { $implicit: field, options: props }"
134
- >
135
- <div class="formly-label-text" [attr.title]="label" [innerHTML]="label"></div>
136
- </ng-container>
137
- </nz-form-label>
138
- }
139
- <nz-form-control
140
- [nzValidateStatus]="validateStatus"
141
- [nzHasFeedback]="props['hasFeedback']!!"
142
- [nzExtra]="props.description || nzExtra"
143
- [nzErrorTip]="errorTip"
144
- [ngClass]="props.controlClass || formState.controlClass"
145
- [ngStyle]="props.controlStyle || formState.controlStyle"
146
- [nzFlex]="props.controlFlex || formState.controlFlex"
147
- [nzOffset]="props.controlOffset || formState.controlOffset"
148
- [nzOrder]="props.controlOrder || formState.controlOrder"
149
- [nzPull]="props.controlPull || formState.controlPull"
150
- [nzPush]="props.controlPush || formState.controlPush"
151
- [nzSpan]="props.controlSpan || formState.controlSpan"
152
- [nzXs]="props.controlXs || formState.controlXs"
153
- [nzSm]="props.controlSm || formState.controlSm"
154
- [nzMd]="props.controlMd || formState.controlMd"
155
- [nzLg]="props.controlLg || formState.controlLg"
156
- [nzXl]="props.controlXl || formState.controlXl"
157
- [nzXXl]="props.controlXXl || formState.controlXXl"
158
- >
159
- <ng-container #fieldComponent></ng-container>
160
-
161
- <ng-template #errorTip let-control>
162
- @if (hasError) {
163
- <formly-validation-message [field]="field"></formly-validation-message>
164
- }
165
- </ng-template>
166
- </nz-form-control>
167
- </nz-form-item>
106
+ args: [{ selector: 'formly-wrapper-nz-form-field', template: `
107
+ <nz-form-item [ngClass]="props.itemClass">
108
+ @if (hasLabel && props['hideLabel'] !== true) {
109
+ <nz-form-label
110
+ [nzFlex]="props.labelFlex || formState.labelFlex"
111
+ [nzOffset]="props.labelOffset || formState.labelOffset"
112
+ [nzOrder]="props.labelOrder || formState.labelOrder"
113
+ [nzPull]="props.labelPull || formState.labelPull"
114
+ [nzPush]="props.labelPush || formState.labelPush"
115
+ [nzSpan]="props.labelSpan || formState.labelSpan"
116
+ [nzXs]="props.labelXs || formState.labelXs"
117
+ [nzSm]="props.labelSm || formState.labelSm"
118
+ [nzMd]="props.labelMd || formState.labelMd"
119
+ [nzLg]="props.labelLg || formState.labelLg"
120
+ [nzXl]="props.labelXl || formState.labelXl"
121
+ [nzXXl]="props.labelXXl || formState.labelXXl"
122
+ [ngClass]="props.labelClass || formState.labelClass"
123
+ [ngStyle]="props.labelStyle || formState.labelStyle"
124
+ [nzRequired]="props.required && props['hideRequiredMarker'] !== true"
125
+ [nzFor]="id"
126
+ [nzNoColon]="props['noColon'] ?? formState.noColon!!"
127
+ [nzTooltipTitle]="nzTooltipTitle"
128
+ [nzTooltipIcon]="props['tooltipIcon']!"
129
+ [nzLabelAlign]="props['labelAlign'] || 'right'"
130
+ [nzLabelWrap]="props['labelWrap'] ?? formState.labelWrap!!"
131
+ >
132
+ <ng-container
133
+ *nzStringTemplateOutlet="label; context: { $implicit: field, options: props }"
134
+ >
135
+ <div class="formly-label-text" [attr.title]="label" [innerHTML]="label"></div>
136
+ </ng-container>
137
+ </nz-form-label>
138
+ }
139
+ <nz-form-control
140
+ [nzValidateStatus]="validateStatus"
141
+ [nzHasFeedback]="props['hasFeedback']!!"
142
+ [nzExtra]="props.description || nzExtra"
143
+ [nzErrorTip]="errorTip"
144
+ [ngClass]="props.controlClass || formState.controlClass"
145
+ [ngStyle]="props.controlStyle || formState.controlStyle"
146
+ [nzFlex]="props.controlFlex || formState.controlFlex"
147
+ [nzOffset]="props.controlOffset || formState.controlOffset"
148
+ [nzOrder]="props.controlOrder || formState.controlOrder"
149
+ [nzPull]="props.controlPull || formState.controlPull"
150
+ [nzPush]="props.controlPush || formState.controlPush"
151
+ [nzSpan]="props.controlSpan || formState.controlSpan"
152
+ [nzXs]="props.controlXs || formState.controlXs"
153
+ [nzSm]="props.controlSm || formState.controlSm"
154
+ [nzMd]="props.controlMd || formState.controlMd"
155
+ [nzLg]="props.controlLg || formState.controlLg"
156
+ [nzXl]="props.controlXl || formState.controlXl"
157
+ [nzXXl]="props.controlXXl || formState.controlXXl"
158
+ >
159
+ <ng-container #fieldComponent></ng-container>
160
+
161
+ <ng-template #errorTip let-control>
162
+ @if (hasError) {
163
+ <formly-validation-message [field]="field"></formly-validation-message>
164
+ }
165
+ </ng-template>
166
+ </nz-form-control>
167
+ </nz-form-item>
168
168
  `, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"] }]
169
169
  }], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
170
170
  type: Optional
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component, Optional } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\nimport type { NzFormWrapperProps } from './form-field.props';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { resolveTplName, hasTplNameValue, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\n\nexport type FormlyFieldProps = NzFormWrapperProps;\n\n@Component({\n selector: 'formly-wrapper-nz-form-field',\n styleUrls: ['./form-field.wrapper.scss'],\n template: `\n <nz-form-item [ngClass]=\"props.itemClass\">\n @if (hasLabel && props['hideLabel'] !== true) {\n <nz-form-label\n [nzFlex]=\"props.labelFlex || formState.labelFlex\"\n [nzOffset]=\"props.labelOffset || formState.labelOffset\"\n [nzOrder]=\"props.labelOrder || formState.labelOrder\"\n [nzPull]=\"props.labelPull || formState.labelPull\"\n [nzPush]=\"props.labelPush || formState.labelPush\"\n [nzSpan]=\"props.labelSpan || formState.labelSpan\"\n [nzXs]=\"props.labelXs || formState.labelXs\"\n [nzSm]=\"props.labelSm || formState.labelSm\"\n [nzMd]=\"props.labelMd || formState.labelMd\"\n [nzLg]=\"props.labelLg || formState.labelLg\"\n [nzXl]=\"props.labelXl || formState.labelXl\"\n [nzXXl]=\"props.labelXXl || formState.labelXXl\"\n [ngClass]=\"props.labelClass || formState.labelClass\"\n [ngStyle]=\"props.labelStyle || formState.labelStyle\"\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\n [nzFor]=\"id\"\n [nzNoColon]=\"props['noColon'] ?? formState.noColon!!\"\n [nzTooltipTitle]=\"nzTooltipTitle\"\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\n [nzLabelAlign]=\"props['labelAlign'] || 'right'\"\n [nzLabelWrap]=\"props['labelWrap'] ?? formState.labelWrap!!\"\n >\n <ng-container\n *nzStringTemplateOutlet=\"label; context: { $implicit: field, options: props }\"\n >\n <div class=\"formly-label-text\" [attr.title]=\"label\" [innerHTML]=\"label\"></div>\n </ng-container>\n </nz-form-label>\n }\n <nz-form-control\n [nzValidateStatus]=\"validateStatus\"\n [nzHasFeedback]=\"props['hasFeedback']!!\"\n [nzExtra]=\"props.description || nzExtra\"\n [nzErrorTip]=\"errorTip\"\n [ngClass]=\"props.controlClass || formState.controlClass\"\n [ngStyle]=\"props.controlStyle || formState.controlStyle\"\n [nzFlex]=\"props.controlFlex || formState.controlFlex\"\n [nzOffset]=\"props.controlOffset || formState.controlOffset\"\n [nzOrder]=\"props.controlOrder || formState.controlOrder\"\n [nzPull]=\"props.controlPull || formState.controlPull\"\n [nzPush]=\"props.controlPush || formState.controlPush\"\n [nzSpan]=\"props.controlSpan || formState.controlSpan\"\n [nzXs]=\"props.controlXs || formState.controlXs\"\n [nzSm]=\"props.controlSm || formState.controlSm\"\n [nzMd]=\"props.controlMd || formState.controlMd\"\n [nzLg]=\"props.controlLg || formState.controlLg\"\n [nzXl]=\"props.controlXl || formState.controlXl\"\n [nzXXl]=\"props.controlXXl || formState.controlXXl\"\n >\n <ng-container #fieldComponent></ng-container>\n\n <ng-template #errorTip let-control>\n @if (hasError) {\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n }\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n `\n})\nexport class FormlyWrapperFormField extends FieldWrapper<NzFormlyFieldConfig<FormlyFieldProps>> {\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzTooltipTitle() {\n return resolveTplName(this.props, this.fieldTemplates, 'tooltipTitle');\n }\n get nzExtra() {\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\n }\n get hasLabel() {\n return hasTplNameValue(this.props, 'label');\n }\n\n get label() {\n return resolveTplName(this.props, this.fieldTemplates, 'label');\n }\n\n get hasError() {\n return (this.formControl?.dirty || this.formControl?.touched) && this.formControl.errors;\n }\n get validateStatus() {\n return this.hasError ? 'error' : 'success';\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 { NzFormModule } from 'ng-zorro-antd/form';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\n\n@NgModule({\n declarations: [FormlyWrapperFormField],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzFormModule,\n NzOutletModule,\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField\n }\n ]\n })\n ]\n})\nexport class FormlyNzFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;AA2EM,MAAO,sBAAuB,SAAQ,YAAmD,CAAA;AAC7F,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;KAEhE;AAED,IAAA,IAAI,cAAc,GAAA;AAChB,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,C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,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAdhC,YAAY;YACZ,mBAAmB;YACnB,YAAY;YACZ,cAAc;YACd,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,IAAI,EAAE,YAAY;AAClB,wBAAA,SAAS,EAAE,sBAAsB;AAClC,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAjBnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,cAAc;wBACd,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component, Optional } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\nimport type { NzFormWrapperProps } from './form-field.props';\r\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\r\nimport { resolveTplName, hasTplNameValue, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\r\n\r\nexport type FormlyFieldProps = NzFormWrapperProps;\r\n\r\n@Component({\r\n selector: 'formly-wrapper-nz-form-field',\r\n styleUrls: ['./form-field.wrapper.scss'],\r\n template: `\r\n <nz-form-item [ngClass]=\"props.itemClass\">\r\n @if (hasLabel && props['hideLabel'] !== true) {\r\n <nz-form-label\r\n [nzFlex]=\"props.labelFlex || formState.labelFlex\"\r\n [nzOffset]=\"props.labelOffset || formState.labelOffset\"\r\n [nzOrder]=\"props.labelOrder || formState.labelOrder\"\r\n [nzPull]=\"props.labelPull || formState.labelPull\"\r\n [nzPush]=\"props.labelPush || formState.labelPush\"\r\n [nzSpan]=\"props.labelSpan || formState.labelSpan\"\r\n [nzXs]=\"props.labelXs || formState.labelXs\"\r\n [nzSm]=\"props.labelSm || formState.labelSm\"\r\n [nzMd]=\"props.labelMd || formState.labelMd\"\r\n [nzLg]=\"props.labelLg || formState.labelLg\"\r\n [nzXl]=\"props.labelXl || formState.labelXl\"\r\n [nzXXl]=\"props.labelXXl || formState.labelXXl\"\r\n [ngClass]=\"props.labelClass || formState.labelClass\"\r\n [ngStyle]=\"props.labelStyle || formState.labelStyle\"\r\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\r\n [nzFor]=\"id\"\r\n [nzNoColon]=\"props['noColon'] ?? formState.noColon!!\"\r\n [nzTooltipTitle]=\"nzTooltipTitle\"\r\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\r\n [nzLabelAlign]=\"props['labelAlign'] || 'right'\"\r\n [nzLabelWrap]=\"props['labelWrap'] ?? formState.labelWrap!!\"\r\n >\r\n <ng-container\r\n *nzStringTemplateOutlet=\"label; context: { $implicit: field, options: props }\"\r\n >\r\n <div class=\"formly-label-text\" [attr.title]=\"label\" [innerHTML]=\"label\"></div>\r\n </ng-container>\r\n </nz-form-label>\r\n }\r\n <nz-form-control\r\n [nzValidateStatus]=\"validateStatus\"\r\n [nzHasFeedback]=\"props['hasFeedback']!!\"\r\n [nzExtra]=\"props.description || nzExtra\"\r\n [nzErrorTip]=\"errorTip\"\r\n [ngClass]=\"props.controlClass || formState.controlClass\"\r\n [ngStyle]=\"props.controlStyle || formState.controlStyle\"\r\n [nzFlex]=\"props.controlFlex || formState.controlFlex\"\r\n [nzOffset]=\"props.controlOffset || formState.controlOffset\"\r\n [nzOrder]=\"props.controlOrder || formState.controlOrder\"\r\n [nzPull]=\"props.controlPull || formState.controlPull\"\r\n [nzPush]=\"props.controlPush || formState.controlPush\"\r\n [nzSpan]=\"props.controlSpan || formState.controlSpan\"\r\n [nzXs]=\"props.controlXs || formState.controlXs\"\r\n [nzSm]=\"props.controlSm || formState.controlSm\"\r\n [nzMd]=\"props.controlMd || formState.controlMd\"\r\n [nzLg]=\"props.controlLg || formState.controlLg\"\r\n [nzXl]=\"props.controlXl || formState.controlXl\"\r\n [nzXXl]=\"props.controlXXl || formState.controlXXl\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n\r\n <ng-template #errorTip let-control>\r\n @if (hasError) {\r\n <formly-validation-message [field]=\"field\"></formly-validation-message>\r\n }\r\n </ng-template>\r\n </nz-form-control>\r\n </nz-form-item>\r\n `\r\n})\r\nexport class FormlyWrapperFormField extends FieldWrapper<NzFormlyFieldConfig<FormlyFieldProps>> {\r\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\r\n super();\r\n }\r\n\r\n get nzTooltipTitle() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'tooltipTitle');\r\n }\r\n get nzExtra() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\r\n }\r\n get hasLabel() {\r\n return hasTplNameValue(this.props, 'label');\r\n }\r\n\r\n get label() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'label');\r\n }\r\n\r\n get hasError() {\r\n return (this.formControl?.dirty || this.formControl?.touched) && this.formControl.errors;\r\n }\r\n get validateStatus() {\r\n return this.hasError ? 'error' : 'success';\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 { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { FormlyWrapperFormField } from './form-field.wrapper';\r\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperFormField],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzFormModule,\r\n NzOutletModule,\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'form-field',\r\n component: FormlyWrapperFormField\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFormFieldModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;AA2EM,MAAO,sBAAuB,SAAQ,YAAmD,CAAA;AAC7F,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;KAEhE;AAED,IAAA,IAAI,cAAc,GAAA;AAChB,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;KACxE;AACD,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,QAAQ,GAAA;QACV,OAAO,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;KAC7C;AAED,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AAED,IAAA,IAAI,QAAQ,GAAA;AACV,QAAA,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,IAAI,CAAC,WAAW,EAAE,OAA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,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,cAAc;wBACd,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
@@ -9,70 +9,70 @@ import { NzGridModule } from 'ng-zorro-antd/grid';
9
9
 
10
10
  class FormlyFieldGrid extends FieldType {
11
11
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
12
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyFieldGrid, selector: "formly-field-grid", usesInheritance: true, ngImport: i0, template: `
13
- <div
14
- nz-row
15
- [ngStyle]="props['style']"
16
- [ngClass]="props['className']"
17
- [nzAlign]="props.align ?? null"
18
- [nzGutter]="props.gutter ?? null"
19
- [nzJustify]="props.justify ?? null"
20
- [formlyAttributes]="field"
21
- >
22
- @for (item of field.fieldGroup; track item.id) {
23
- <formly-field
24
- [field]="item"
25
- nz-col
26
- [nzFlex]="item.props?.['flex'] || props.flex"
27
- [nzOffset]="item.props?.['offset'] || props.offset"
28
- [nzOrder]="item.props?.['order'] || props.order"
29
- [nzPull]="item.props?.['pull'] || props.pull"
30
- [nzPush]="item.props?.['push'] || props.push"
31
- [nzSpan]="item.props?.['span'] || props.span"
32
- [nzXs]="item.props?.['xs'] || props.xs"
33
- [nzSm]="item.props?.['sm'] || props.sm"
34
- [nzMd]="item.props?.['md'] || props.md"
35
- [nzLg]="item.props?.['lg'] || props.lg"
36
- [nzXl]="item.props?.['xl'] || props.xl"
37
- [nzXXl]="item.props?.['xxl'] || props.xxl"
38
- ></formly-field>
39
- }
40
- </div>
12
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyFieldGrid, selector: "formly-field-grid", usesInheritance: true, ngImport: i0, template: `
13
+ <div
14
+ nz-row
15
+ [ngStyle]="props['style']"
16
+ [ngClass]="props['className']"
17
+ [nzAlign]="props.align ?? null"
18
+ [nzGutter]="props.gutter ?? null"
19
+ [nzJustify]="props.justify ?? null"
20
+ [formlyAttributes]="field"
21
+ >
22
+ @for (item of field.fieldGroup; track item.id) {
23
+ <formly-field
24
+ [field]="item"
25
+ nz-col
26
+ [nzFlex]="item.props?.['flex'] || props.flex"
27
+ [nzOffset]="item.props?.['offset'] || props.offset"
28
+ [nzOrder]="item.props?.['order'] || props.order"
29
+ [nzPull]="item.props?.['pull'] || props.pull"
30
+ [nzPush]="item.props?.['push'] || props.push"
31
+ [nzSpan]="item.props?.['span'] || props.span"
32
+ [nzXs]="item.props?.['xs'] || props.xs"
33
+ [nzSm]="item.props?.['sm'] || props.sm"
34
+ [nzMd]="item.props?.['md'] || props.md"
35
+ [nzLg]="item.props?.['lg'] || props.lg"
36
+ [nzXl]="item.props?.['xl'] || props.xl"
37
+ [nzXXl]="item.props?.['xxl'] || props.xxl"
38
+ ></formly-field>
39
+ }
40
+ </div>
41
41
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
42
42
  }
43
43
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldGrid, decorators: [{
44
44
  type: Component,
45
45
  args: [{
46
46
  selector: 'formly-field-grid',
47
- template: `
48
- <div
49
- nz-row
50
- [ngStyle]="props['style']"
51
- [ngClass]="props['className']"
52
- [nzAlign]="props.align ?? null"
53
- [nzGutter]="props.gutter ?? null"
54
- [nzJustify]="props.justify ?? null"
55
- [formlyAttributes]="field"
56
- >
57
- @for (item of field.fieldGroup; track item.id) {
58
- <formly-field
59
- [field]="item"
60
- nz-col
61
- [nzFlex]="item.props?.['flex'] || props.flex"
62
- [nzOffset]="item.props?.['offset'] || props.offset"
63
- [nzOrder]="item.props?.['order'] || props.order"
64
- [nzPull]="item.props?.['pull'] || props.pull"
65
- [nzPush]="item.props?.['push'] || props.push"
66
- [nzSpan]="item.props?.['span'] || props.span"
67
- [nzXs]="item.props?.['xs'] || props.xs"
68
- [nzSm]="item.props?.['sm'] || props.sm"
69
- [nzMd]="item.props?.['md'] || props.md"
70
- [nzLg]="item.props?.['lg'] || props.lg"
71
- [nzXl]="item.props?.['xl'] || props.xl"
72
- [nzXXl]="item.props?.['xxl'] || props.xxl"
73
- ></formly-field>
74
- }
75
- </div>
47
+ template: `
48
+ <div
49
+ nz-row
50
+ [ngStyle]="props['style']"
51
+ [ngClass]="props['className']"
52
+ [nzAlign]="props.align ?? null"
53
+ [nzGutter]="props.gutter ?? null"
54
+ [nzJustify]="props.justify ?? null"
55
+ [formlyAttributes]="field"
56
+ >
57
+ @for (item of field.fieldGroup; track item.id) {
58
+ <formly-field
59
+ [field]="item"
60
+ nz-col
61
+ [nzFlex]="item.props?.['flex'] || props.flex"
62
+ [nzOffset]="item.props?.['offset'] || props.offset"
63
+ [nzOrder]="item.props?.['order'] || props.order"
64
+ [nzPull]="item.props?.['pull'] || props.pull"
65
+ [nzPush]="item.props?.['push'] || props.push"
66
+ [nzSpan]="item.props?.['span'] || props.span"
67
+ [nzXs]="item.props?.['xs'] || props.xs"
68
+ [nzSm]="item.props?.['sm'] || props.sm"
69
+ [nzMd]="item.props?.['md'] || props.md"
70
+ [nzLg]="item.props?.['lg'] || props.lg"
71
+ [nzXl]="item.props?.['xl'] || props.xl"
72
+ [nzXXl]="item.props?.['xxl'] || props.xxl"
73
+ ></formly-field>
74
+ }
75
+ </div>
76
76
  `,
77
77
  changeDetection: ChangeDetectionStrategy.OnPush
78
78
  }]
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-grid.mjs","sources":["../../../../packages/formlyantd/grid/src/grid.type.ts","../../../../packages/formlyantd/grid/src/grid.module.ts","../../../../packages/formlyantd/grid/src/ngx-formly-zorro-antd-grid.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { GridProps } from './grid.props';\n\nexport interface FormlyGridFieldConfig extends NzFormlyFieldConfig<GridProps> {\n type: 'grid' | Type<FormlyFieldGrid>;\n}\n\n@Component({\n selector: 'formly-field-grid',\n template: `\n <div\n nz-row\n [ngStyle]=\"props['style']\"\n [ngClass]=\"props['className']\"\n [nzAlign]=\"props.align ?? null\"\n [nzGutter]=\"props.gutter ?? null\"\n [nzJustify]=\"props.justify ?? null\"\n [formlyAttributes]=\"field\"\n >\n @for (item of field.fieldGroup; track item.id) {\n <formly-field\n [field]=\"item\"\n nz-col\n [nzFlex]=\"item.props?.['flex'] || props.flex\"\n [nzOffset]=\"item.props?.['offset'] || props.offset\"\n [nzOrder]=\"item.props?.['order'] || props.order\"\n [nzPull]=\"item.props?.['pull'] || props.pull\"\n [nzPush]=\"item.props?.['push'] || props.push\"\n [nzSpan]=\"item.props?.['span'] || props.span\"\n [nzXs]=\"item.props?.['xs'] || props.xs\"\n [nzSm]=\"item.props?.['sm'] || props.sm\"\n [nzMd]=\"item.props?.['md'] || props.md\"\n [nzLg]=\"item.props?.['lg'] || props.lg\"\n [nzXl]=\"item.props?.['xl'] || props.xl\"\n [nzXXl]=\"item.props?.['xxl'] || props.xxl\"\n ></formly-field>\n }\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldGrid extends FieldType<FieldTypeConfig<GridProps>> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyFieldGrid } from './grid.type';\n\nimport { NzGridModule } from 'ng-zorro-antd/grid';\n\n@NgModule({\n declarations: [FormlyFieldGrid],\n imports: [\n CommonModule,\n NzGridModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'grid',\n component: FormlyFieldGrid\n }\n ]\n })\n ]\n})\nexport class FormlyNzGridModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AA2CM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;8GAA7D,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,EAhChB,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EA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1
+ {"version":3,"file":"ngx-formly-zorro-antd-grid.mjs","sources":["../../../../packages/formlyantd/grid/src/grid.type.ts","../../../../packages/formlyantd/grid/src/grid.module.ts","../../../../packages/formlyantd/grid/src/ngx-formly-zorro-antd-grid.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\r\nimport type { GridProps } from './grid.props';\r\n\r\nexport interface FormlyGridFieldConfig extends NzFormlyFieldConfig<GridProps> {\r\n type: 'grid' | Type<FormlyFieldGrid>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-grid',\r\n template: `\r\n <div\r\n nz-row\r\n [ngStyle]=\"props['style']\"\r\n [ngClass]=\"props['className']\"\r\n [nzAlign]=\"props.align ?? null\"\r\n [nzGutter]=\"props.gutter ?? null\"\r\n [nzJustify]=\"props.justify ?? null\"\r\n [formlyAttributes]=\"field\"\r\n >\r\n @for (item of field.fieldGroup; track item.id) {\r\n <formly-field\r\n [field]=\"item\"\r\n nz-col\r\n [nzFlex]=\"item.props?.['flex'] || props.flex\"\r\n [nzOffset]=\"item.props?.['offset'] || props.offset\"\r\n [nzOrder]=\"item.props?.['order'] || props.order\"\r\n [nzPull]=\"item.props?.['pull'] || props.pull\"\r\n [nzPush]=\"item.props?.['push'] || props.push\"\r\n [nzSpan]=\"item.props?.['span'] || props.span\"\r\n [nzXs]=\"item.props?.['xs'] || props.xs\"\r\n [nzSm]=\"item.props?.['sm'] || props.sm\"\r\n [nzMd]=\"item.props?.['md'] || props.md\"\r\n [nzLg]=\"item.props?.['lg'] || props.lg\"\r\n [nzXl]=\"item.props?.['xl'] || props.xl\"\r\n [nzXXl]=\"item.props?.['xxl'] || props.xxl\"\r\n ></formly-field>\r\n }\r\n </div>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldGrid extends FieldType<FieldTypeConfig<GridProps>> {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyFieldGrid } from './grid.type';\r\n\r\nimport { NzGridModule } from 'ng-zorro-antd/grid';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldGrid],\r\n imports: [\r\n CommonModule,\r\n NzGridModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'grid',\r\n component: FormlyFieldGrid\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzGridModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AA2CM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;8GAA7D,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,EAhChB,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IA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,EAAA;+GAAlB,kBAAkB,EAAA,YAAA,EAAA,CAfd,eAAe,CAAA,EAAA,OAAA,EAAA,CAE5B,YAAY;YACZ,YAAY,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA,EAAA;AAYH,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAb3B,YAAY;YACZ,YAAY;YAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,eAAe;AAC3B,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAhB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;AAC/B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;AAC3B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
@@ -18,50 +18,50 @@ class FormlyFieldInputGroup extends FieldType {
18
18
  };
19
19
  }
20
20
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldInputGroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyFieldInputGroup, selector: "formly-field-input-group", usesInheritance: true, ngImport: i0, template: `
22
- <nz-input-group
23
- [nzPrefixIcon]="props['prefixIcon']"
24
- [nzSuffixIcon]="props['suffixIcon']"
25
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
26
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
27
- [nzAddOnBefore]="props['addOnBefore']"
28
- [nzAddOnAfter]="props['addOnAfter']"
29
- [nzPrefix]="props['prefix']"
30
- [nzSuffix]="props['suffix']"
31
- [nzCompact]="props['compact']!!"
32
- [nzSearch]="props['search']!!"
33
- [nzSize]="props['size']!"
34
- [nzStatus]="props['status']!"
35
- >
36
- @for (g of field.fieldGroup; track g.id) {
37
- <formly-field [field]="g"></formly-field>
38
- }
39
- </nz-input-group>
21
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyFieldInputGroup, selector: "formly-field-input-group", usesInheritance: true, ngImport: i0, template: `
22
+ <nz-input-group
23
+ [nzPrefixIcon]="props['prefixIcon']"
24
+ [nzSuffixIcon]="props['suffixIcon']"
25
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
26
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
27
+ [nzAddOnBefore]="props['addOnBefore']"
28
+ [nzAddOnAfter]="props['addOnAfter']"
29
+ [nzPrefix]="props['prefix']"
30
+ [nzSuffix]="props['suffix']"
31
+ [nzCompact]="props['compact']!!"
32
+ [nzSearch]="props['search']!!"
33
+ [nzSize]="props['size']!"
34
+ [nzStatus]="props['status']!"
35
+ >
36
+ @for (g of field.fieldGroup; track g.id) {
37
+ <formly-field [field]="g"></formly-field>
38
+ }
39
+ </nz-input-group>
40
40
  `, isInline: true, dependencies: [{ kind: "component", type: i1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
41
41
  }
42
42
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldInputGroup, decorators: [{
43
43
  type: Component,
44
44
  args: [{
45
45
  selector: 'formly-field-input-group',
46
- template: `
47
- <nz-input-group
48
- [nzPrefixIcon]="props['prefixIcon']"
49
- [nzSuffixIcon]="props['suffixIcon']"
50
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
51
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
52
- [nzAddOnBefore]="props['addOnBefore']"
53
- [nzAddOnAfter]="props['addOnAfter']"
54
- [nzPrefix]="props['prefix']"
55
- [nzSuffix]="props['suffix']"
56
- [nzCompact]="props['compact']!!"
57
- [nzSearch]="props['search']!!"
58
- [nzSize]="props['size']!"
59
- [nzStatus]="props['status']!"
60
- >
61
- @for (g of field.fieldGroup; track g.id) {
62
- <formly-field [field]="g"></formly-field>
63
- }
64
- </nz-input-group>
46
+ template: `
47
+ <nz-input-group
48
+ [nzPrefixIcon]="props['prefixIcon']"
49
+ [nzSuffixIcon]="props['suffixIcon']"
50
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
51
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
52
+ [nzAddOnBefore]="props['addOnBefore']"
53
+ [nzAddOnAfter]="props['addOnAfter']"
54
+ [nzPrefix]="props['prefix']"
55
+ [nzSuffix]="props['suffix']"
56
+ [nzCompact]="props['compact']!!"
57
+ [nzSearch]="props['search']!!"
58
+ [nzSize]="props['size']!"
59
+ [nzStatus]="props['status']!"
60
+ >
61
+ @for (g of field.fieldGroup; track g.id) {
62
+ <formly-field [field]="g"></formly-field>
63
+ }
64
+ </nz-input-group>
65
65
  `,
66
66
  changeDetection: ChangeDetectionStrategy.OnPush
67
67
  }]
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-input-group.mjs","sources":["../../../../packages/formlyantd/input-group/src/input-group.type.ts","../../../../packages/formlyantd/input-group/src/input-group.module.ts","../../../../packages/formlyantd/input-group/src/ngx-formly-zorro-antd-input-group.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { InputGroupProps } from './input-group.props';\n\nexport interface FormlyInputGroupFieldConfig extends NzFormlyFieldConfig<InputGroupProps> {\n type: 'input-group' | Type<FormlyFieldInputGroup>;\n}\n\n@Component({\n selector: 'formly-field-input-group',\n template: `\n <nz-input-group\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['suffix']\"\n [nzCompact]=\"props['compact']!!\"\n [nzSearch]=\"props['search']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n >\n @for (g of field.fieldGroup; track g.id) {\n <formly-field [field]=\"g\"></formly-field>\n }\n </nz-input-group>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldInputGroup extends FieldType<FieldTypeConfig<InputGroupProps>> {\n override defaultOptions = {\n props: {\n status: '' as const,\n size: 'default' as const\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { FormlyFieldInputGroup } from './input-group.type';\nimport { NzInputModule } from 'ng-zorro-antd/input';\n\n@NgModule({\n declarations: [FormlyFieldInputGroup],\n imports: [\n CommonModule,\n NzInputModule,\n\n FormlyNzFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input-group',\n component: FormlyFieldInputGroup,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzInputGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAiCM,MAAO,qBAAsB,SAAQ,SAA2C,CAAA;AAxBtF,IAAA,WAAA,GAAA;;AAyBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,IAAI,EAAE,SAAkB;AACzB,aAAA;SACF,CAAC;AACH,KAAA;8GAPY,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,EAtBtB,QAAA,EAAA,0BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;AAmBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,mBAAA,EAAA,kBAAA,EAAA,cAAA,EAAA,cAAA,EAAA,eAAA,EAAA,cAAA,E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AAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,aAAa;AACnB,wBAAA,SAAS,EAAE,qBAAqB;wBAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAlBpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBAEb,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,aAAa;AACnB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACzBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-input-group.mjs","sources":["../../../../packages/formlyantd/input-group/src/input-group.type.ts","../../../../packages/formlyantd/input-group/src/input-group.module.ts","../../../../packages/formlyantd/input-group/src/ngx-formly-zorro-antd-input-group.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\r\nimport type { InputGroupProps } from './input-group.props';\r\n\r\nexport interface FormlyInputGroupFieldConfig extends NzFormlyFieldConfig<InputGroupProps> {\r\n type: 'input-group' | Type<FormlyFieldInputGroup>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input-group',\r\n template: `\r\n <nz-input-group\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n >\r\n @for (g of field.fieldGroup; track g.id) {\r\n <formly-field [field]=\"g\"></formly-field>\r\n }\r\n </nz-input-group>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInputGroup extends FieldType<FieldTypeConfig<InputGroupProps>> {\r\n override defaultOptions = {\r\n props: {\r\n status: '' as const,\r\n size: 'default' as const\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldInputGroup } from './input-group.type';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInputGroup],\r\n imports: [\r\n CommonModule,\r\n NzInputModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input-group',\r\n component: FormlyFieldInputGroup,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputGroupModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAiCM,MAAO,qBAAsB,SAAQ,SAA2C,CAAA;AAxBtF,IAAA,WAAA,GAAA;;AAyBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,MA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