ngx-formly-zorro-antd 17.1.2 → 17.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. package/README.md +1 -1
  2. package/autocomplete/package.json +3 -0
  3. package/button/package.json +3 -0
  4. package/button-group/package.json +3 -0
  5. package/card/package.json +3 -0
  6. package/card-wrapper/package.json +3 -0
  7. package/cascader/package.json +3 -0
  8. package/checkbox/package.json +3 -0
  9. package/common/package.json +3 -0
  10. package/datepicker/package.json +3 -0
  11. package/esm2022/autocomplete/autocomplete.props.mjs +1 -1
  12. package/esm2022/autocomplete/public_api.mjs +1 -1
  13. package/esm2022/button/button.module.mjs +1 -1
  14. package/esm2022/button/button.type.mjs +123 -123
  15. package/esm2022/button/public_api.mjs +1 -1
  16. package/esm2022/button-group/button-group.module.mjs +1 -1
  17. package/esm2022/button-group/button-group.type.mjs +67 -67
  18. package/esm2022/button-group/public_api.mjs +1 -1
  19. package/esm2022/card/card.module.mjs +1 -1
  20. package/esm2022/card/card.type.mjs +51 -51
  21. package/esm2022/card/public_api.mjs +1 -1
  22. package/esm2022/card-wrapper/card-wrapper.module.mjs +1 -1
  23. package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
  24. package/esm2022/card-wrapper/card.wrapper.mjs +37 -37
  25. package/esm2022/card-wrapper/public_api.mjs +1 -1
  26. package/esm2022/cascader/cascader.module.mjs +1 -1
  27. package/esm2022/cascader/cascader.type.mjs +65 -65
  28. package/esm2022/cascader/public_api.mjs +1 -1
  29. package/esm2022/checkbox/checkbox.module.mjs +1 -1
  30. package/esm2022/checkbox/checkbox.type.mjs +48 -43
  31. package/esm2022/checkbox/public_api.mjs +1 -1
  32. package/esm2022/common/common.module.mjs +1 -1
  33. package/esm2022/common/formly-box-templates.directive.mjs +1 -1
  34. package/esm2022/common/formly-utils.mjs +1 -1
  35. package/esm2022/common/interface.mjs +1 -1
  36. package/esm2022/common/public_api.mjs +1 -1
  37. package/esm2022/datepicker/datepicker.module.mjs +1 -1
  38. package/esm2022/datepicker/datepicker.props.mjs +1 -1
  39. package/esm2022/datepicker/datepicker.type.mjs +149 -149
  40. package/esm2022/datepicker/public_api.mjs +1 -1
  41. package/esm2022/extension/public_api.mjs +1 -1
  42. package/esm2022/extension/value-changes-extension.mjs +1 -1
  43. package/esm2022/flex/flex.module.mjs +1 -1
  44. package/esm2022/flex/flex.type.mjs +35 -35
  45. package/esm2022/flex/public_api.mjs +1 -1
  46. package/esm2022/form-field/form-field.module.mjs +1 -1
  47. package/esm2022/form-field/form-field.props.mjs +1 -1
  48. package/esm2022/form-field/form-field.wrapper.mjs +147 -147
  49. package/esm2022/form-field/public_api.mjs +1 -1
  50. package/esm2022/grid/grid.module.mjs +1 -1
  51. package/esm2022/grid/grid.props.mjs +1 -1
  52. package/esm2022/grid/grid.type.mjs +59 -59
  53. package/esm2022/grid/public_api.mjs +1 -1
  54. package/esm2022/index.mjs +1 -1
  55. package/esm2022/input/input.module.mjs +1 -1
  56. package/esm2022/input/input.props.mjs +1 -1
  57. package/esm2022/input/input.type.mjs +275 -275
  58. package/esm2022/input/public_api.mjs +1 -1
  59. package/esm2022/input-group/input-group.module.mjs +1 -1
  60. package/esm2022/input-group/input-group.props.mjs +1 -1
  61. package/esm2022/input-group/input-group.type.mjs +47 -42
  62. package/esm2022/input-group/public_api.mjs +1 -1
  63. package/esm2022/input-number/input-number.module.mjs +1 -1
  64. package/esm2022/input-number/input-number.props.mjs +1 -1
  65. package/esm2022/input-number/input-number.type.mjs +89 -89
  66. package/esm2022/input-number/public_api.mjs +1 -1
  67. package/esm2022/lib/ui-ng-zorro-antd.mjs +1 -1
  68. package/esm2022/lib/ui-ng-zorro-antd.module.mjs +1 -1
  69. package/esm2022/radio/public_api.mjs +1 -1
  70. package/esm2022/radio/radio.module.mjs +1 -1
  71. package/esm2022/radio/radio.type.mjs +81 -81
  72. package/esm2022/rate/public_api.mjs +1 -1
  73. package/esm2022/rate/rate.module.mjs +1 -1
  74. package/esm2022/rate/rate.type.mjs +33 -33
  75. package/esm2022/ref-template/public_api.mjs +1 -1
  76. package/esm2022/ref-template/ref-template.module.mjs +1 -1
  77. package/esm2022/ref-template/ref-template.type.mjs +9 -9
  78. package/esm2022/select/public_api.mjs +1 -1
  79. package/esm2022/select/select.module.mjs +1 -1
  80. package/esm2022/select/select.props.mjs +1 -1
  81. package/esm2022/select/select.type.mjs +123 -123
  82. package/esm2022/slider/public_api.mjs +1 -1
  83. package/esm2022/slider/slider.module.mjs +1 -1
  84. package/esm2022/slider/slider.type.mjs +33 -33
  85. package/esm2022/space/public_api.mjs +1 -1
  86. package/esm2022/space/space.module.mjs +1 -1
  87. package/esm2022/space/space.type.mjs +27 -27
  88. package/esm2022/switch/public_api.mjs +1 -1
  89. package/esm2022/switch/switch.module.mjs +1 -1
  90. package/esm2022/switch/switch.type.mjs +25 -25
  91. package/esm2022/tabs/public_api.mjs +1 -1
  92. package/esm2022/tabs/tabs.module.mjs +1 -1
  93. package/esm2022/tabs/tabs.props.mjs +1 -1
  94. package/esm2022/tabs/tabs.wrapper.mjs +79 -79
  95. package/esm2022/text-value/public_api.mjs +1 -1
  96. package/esm2022/text-value/text-value.module.mjs +1 -1
  97. package/esm2022/text-value/text-value.type.mjs +19 -19
  98. package/esm2022/textarea/public_api.mjs +1 -1
  99. package/esm2022/textarea/textarea.module.mjs +1 -1
  100. package/esm2022/textarea/textarea.type.mjs +113 -113
  101. package/esm2022/timepicker/public_api.mjs +1 -1
  102. package/esm2022/timepicker/timepicker.module.mjs +1 -1
  103. package/esm2022/timepicker/timepicker.type.mjs +61 -61
  104. package/esm2022/transfer/public_api.mjs +1 -1
  105. package/esm2022/transfer/transfer.component.mjs +49 -49
  106. package/esm2022/transfer/transfer.module.mjs +1 -1
  107. package/esm2022/transfer/transfer.type.mjs +47 -47
  108. package/esm2022/tree-select/public_api.mjs +1 -1
  109. package/esm2022/tree-select/tree-select.module.mjs +1 -1
  110. package/esm2022/tree-select/tree-select.type.mjs +69 -69
  111. package/esm2022/upload/public_api.mjs +1 -1
  112. package/esm2022/upload/upload.component.mjs +143 -143
  113. package/esm2022/upload/upload.module.mjs +1 -1
  114. package/esm2022/upload/upload.props.mjs +1 -1
  115. package/esm2022/upload/upload.type.mjs +83 -83
  116. package/extension/package.json +3 -0
  117. package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +66 -66
  118. package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
  119. package/fesm2022/ngx-formly-zorro-antd-button.mjs +122 -122
  120. package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
  121. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +36 -36
  122. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
  123. package/fesm2022/ngx-formly-zorro-antd-card.mjs +50 -50
  124. package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
  125. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +64 -64
  126. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  127. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +48 -43
  128. package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
  129. package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
  130. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +148 -148
  131. package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
  132. package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -1
  133. package/fesm2022/ngx-formly-zorro-antd-flex.mjs +34 -34
  134. package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -1
  135. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +146 -146
  136. package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  137. package/fesm2022/ngx-formly-zorro-antd-grid.mjs +58 -58
  138. package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
  139. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +47 -42
  140. package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  141. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +88 -88
  142. package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
  143. package/fesm2022/ngx-formly-zorro-antd-input.mjs +274 -274
  144. package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
  145. package/fesm2022/ngx-formly-zorro-antd-radio.mjs +80 -80
  146. package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
  147. package/fesm2022/ngx-formly-zorro-antd-rate.mjs +32 -32
  148. package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
  149. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +8 -8
  150. package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
  151. package/fesm2022/ngx-formly-zorro-antd-select.mjs +122 -122
  152. package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
  153. package/fesm2022/ngx-formly-zorro-antd-slider.mjs +32 -32
  154. package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
  155. package/fesm2022/ngx-formly-zorro-antd-space.mjs +26 -26
  156. package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
  157. package/fesm2022/ngx-formly-zorro-antd-switch.mjs +24 -24
  158. package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
  159. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +78 -78
  160. package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
  161. package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +18 -18
  162. package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
  163. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +112 -112
  164. package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
  165. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +60 -60
  166. package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
  167. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +94 -94
  168. package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
  169. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +68 -68
  170. package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
  171. package/fesm2022/ngx-formly-zorro-antd-upload.mjs +224 -224
  172. package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  173. package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
  174. package/flex/package.json +3 -0
  175. package/form-field/form-field.props.d.ts +5 -1
  176. package/form-field/package.json +3 -0
  177. package/grid/package.json +3 -0
  178. package/input/package.json +3 -0
  179. package/input-group/package.json +3 -0
  180. package/input-number/package.json +3 -0
  181. package/package.json +1 -1
  182. package/radio/package.json +3 -0
  183. package/rate/package.json +3 -0
  184. package/ref-template/package.json +3 -0
  185. package/select/package.json +3 -0
  186. package/slider/package.json +3 -0
  187. package/space/package.json +3 -0
  188. package/switch/package.json +3 -0
  189. package/tabs/package.json +3 -0
  190. package/text-value/package.json +3 -0
  191. package/textarea/package.json +3 -0
  192. package/timepicker/package.json +3 -0
  193. package/transfer/package.json +3 -0
  194. package/tree-select/package.json +3 -0
  195. package/upload/package.json +3 -0
@@ -42,286 +42,286 @@ class FormlyFieldInput extends FieldType {
42
42
  return resolveTplName(this.props, this.fieldTemplates, 'addOnAfter');
43
43
  }
44
44
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldInput, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
45
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldInput, selector: "formly-field-input", usesInheritance: true, ngImport: i0, template: `
46
- @switch (props.type) {
47
- @case ('password') {
48
- <nz-input-group
49
- [nzPrefixIcon]="props['prefixIcon']"
50
- [nzSuffixIcon]="props['suffixIcon']"
51
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
52
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
53
- [nzAddOnBefore]="addOnBefore"
54
- [nzAddOnAfter]="addOnAfter"
55
- [nzPrefix]="props['prefix']"
56
- [nzCompact]="props['compact']!!"
57
- [nzSearch]="props['search']!!"
58
- [nzSize]="props['size']!"
59
- [nzStatus]="props['status']!"
60
- [nzSuffix]="passwordEyeTpl"
61
- >
62
- <input
63
- [type]="passwordVisible ? 'text' : 'password'"
64
- nz-input
65
- [formControl]="formControl"
66
- [formlyAttributes]="field"
67
- [nzBorderless]="props['borderless']!!"
68
- (ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
69
- />
70
- </nz-input-group>
71
- }
72
- @case ('autoComplete') {
73
- <nz-input-group
74
- [nzSize]="props['size']"
75
- [nzPrefixIcon]="props['prefixIcon']"
76
- [nzSuffixIcon]="props['suffixIcon']"
77
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
78
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
79
- [nzAddOnBefore]="addOnBefore"
80
- [nzAddOnAfter]="addOnAfter"
81
- [nzPrefix]="props['prefix']"
82
- [nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
83
- >
84
- <input
85
- nz-input
86
- [nzBorderless]="props['borderless']"
87
- [nzAutocomplete]="auto"
88
- [formControl]="formControl"
89
- [formlyAttributes]="field"
90
- />
91
- <nz-autocomplete
92
- [nzBackfill]="props['autocompleteOptions']?.backfill"
93
- [nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
94
- [nzWidth]="props['autocompleteOptions']?.width"
95
- [nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
96
- [nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
97
- [compareWith]="props['autocompleteOptions']?.compareWith"
98
- #auto
99
- >
100
- @for (option of props['autocompleteOptions'].dataSource; track option) {
101
- <nz-auto-option [nzLabel]="option.label" [nzValue]="option.value">
102
- {{ option.label }}
103
- </nz-auto-option>
104
- }
105
- </nz-autocomplete>
106
- </nz-input-group>
107
- }
108
- @case ('group') {
109
- <nz-input-group
110
- [nzPrefixIcon]="props['prefixIcon']"
111
- [nzSuffixIcon]="props['suffixIcon']"
112
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
113
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
114
- [nzAddOnBefore]="addOnBefore"
115
- [nzAddOnAfter]="addOnAfter"
116
- [nzPrefix]="props['prefix']"
117
- [nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
118
- [nzCompact]="props['compact']!!"
119
- [nzSearch]="props['search']!!"
120
- [nzSize]="props['size']!"
121
- [nzStatus]="props['status']!"
122
- >
123
- <input
124
- nz-input
125
- type="text"
126
- [ngClass]="props['ngClass']"
127
- [ngStyle]="props['ngStyle']"
128
- [formControl]="formControl"
129
- [formlyAttributes]="field"
130
- [nzBorderless]="!!props['borderless']!!"
131
- (ngModelChange)="props['modelChange']?.(field, $event)"
132
- />
133
- </nz-input-group>
134
- }
135
- @default {
136
- <input
137
- nz-input
138
- type="text"
139
- [ngClass]="props['ngClass']"
140
- [ngStyle]="props['ngStyle']"
141
- [formControl]="formControl"
142
- [formlyAttributes]="field"
143
- [nzSize]="props['size']"
144
- [nzStatus]="props['status']"
145
- [nzBorderless]="props['borderless']!!"
146
- (ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
147
- />
148
- }
149
- }
150
-
151
- <!-- 查看密码 -->
152
- <ng-template #passwordEyeTpl>
153
- <span
154
- nz-icon
155
- class="cursor-pointer"
156
- [nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
157
- (click)="passwordVisible = !passwordVisible"
158
- ></span>
159
-
160
- @if (formControl.value && props['allowClear']!!) {
161
- <span
162
- nz-icon
163
- class="ant-input-clear-icon"
164
- nzTheme="fill"
165
- nzType="close-circle"
166
- (click)="formControl.reset()"
167
- ></span>
168
- }
169
- </ng-template>
170
- <!-- 清除数据 -->
171
- <ng-template #inputClearTpl>
172
- @if (formControl.value && !props['disabled'] && !props['readonly']) {
173
- <span
174
- nz-icon
175
- class="ant-input-clear-icon"
176
- nzTheme="fill"
177
- nzType="close-circle"
178
- (click)="formControl.reset()"
179
- ></span>
180
- }
181
- </ng-template>
45
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldInput, selector: "formly-field-input", usesInheritance: true, ngImport: i0, template: `
46
+ @switch (props.type) {
47
+ @case ('password') {
48
+ <nz-input-group
49
+ [nzPrefixIcon]="props['prefixIcon']"
50
+ [nzSuffixIcon]="props['suffixIcon']"
51
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
52
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
53
+ [nzAddOnBefore]="addOnBefore"
54
+ [nzAddOnAfter]="addOnAfter"
55
+ [nzPrefix]="props['prefix']"
56
+ [nzCompact]="props['compact']!!"
57
+ [nzSearch]="props['search']!!"
58
+ [nzSize]="props['size']!"
59
+ [nzStatus]="props['status']!"
60
+ [nzSuffix]="passwordEyeTpl"
61
+ >
62
+ <input
63
+ [type]="passwordVisible ? 'text' : 'password'"
64
+ nz-input
65
+ [formControl]="formControl"
66
+ [formlyAttributes]="field"
67
+ [nzBorderless]="props['borderless']!!"
68
+ (ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
69
+ />
70
+ </nz-input-group>
71
+ }
72
+ @case ('autoComplete') {
73
+ <nz-input-group
74
+ [nzSize]="props['size']"
75
+ [nzPrefixIcon]="props['prefixIcon']"
76
+ [nzSuffixIcon]="props['suffixIcon']"
77
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
78
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
79
+ [nzAddOnBefore]="addOnBefore"
80
+ [nzAddOnAfter]="addOnAfter"
81
+ [nzPrefix]="props['prefix']"
82
+ [nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
83
+ >
84
+ <input
85
+ nz-input
86
+ [nzBorderless]="props['borderless']"
87
+ [nzAutocomplete]="auto"
88
+ [formControl]="formControl"
89
+ [formlyAttributes]="field"
90
+ />
91
+ <nz-autocomplete
92
+ [nzBackfill]="props['autocompleteOptions']?.backfill"
93
+ [nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
94
+ [nzWidth]="props['autocompleteOptions']?.width"
95
+ [nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
96
+ [nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
97
+ [compareWith]="props['autocompleteOptions']?.compareWith"
98
+ #auto
99
+ >
100
+ @for (option of props['autocompleteOptions'].dataSource; track option) {
101
+ <nz-auto-option [nzLabel]="option.label" [nzValue]="option.value">
102
+ {{ option.label }}
103
+ </nz-auto-option>
104
+ }
105
+ </nz-autocomplete>
106
+ </nz-input-group>
107
+ }
108
+ @case ('group') {
109
+ <nz-input-group
110
+ [nzPrefixIcon]="props['prefixIcon']"
111
+ [nzSuffixIcon]="props['suffixIcon']"
112
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
113
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
114
+ [nzAddOnBefore]="addOnBefore"
115
+ [nzAddOnAfter]="addOnAfter"
116
+ [nzPrefix]="props['prefix']"
117
+ [nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
118
+ [nzCompact]="props['compact']!!"
119
+ [nzSearch]="props['search']!!"
120
+ [nzSize]="props['size']!"
121
+ [nzStatus]="props['status']!"
122
+ >
123
+ <input
124
+ nz-input
125
+ type="text"
126
+ [ngClass]="props['ngClass']"
127
+ [ngStyle]="props['ngStyle']"
128
+ [formControl]="formControl"
129
+ [formlyAttributes]="field"
130
+ [nzBorderless]="!!props['borderless']!!"
131
+ (ngModelChange)="props['modelChange']?.(field, $event)"
132
+ />
133
+ </nz-input-group>
134
+ }
135
+ @default {
136
+ <input
137
+ nz-input
138
+ type="text"
139
+ [ngClass]="props['ngClass']"
140
+ [ngStyle]="props['ngStyle']"
141
+ [formControl]="formControl"
142
+ [formlyAttributes]="field"
143
+ [nzSize]="props['size']"
144
+ [nzStatus]="props['status']"
145
+ [nzBorderless]="props['borderless']!!"
146
+ (ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
147
+ />
148
+ }
149
+ }
150
+
151
+ <!-- 查看密码 -->
152
+ <ng-template #passwordEyeTpl>
153
+ <span
154
+ nz-icon
155
+ class="cursor-pointer"
156
+ [nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
157
+ (click)="passwordVisible = !passwordVisible"
158
+ ></span>
159
+
160
+ @if (formControl.value && props['allowClear']!!) {
161
+ <span
162
+ nz-icon
163
+ class="ant-input-clear-icon"
164
+ nzTheme="fill"
165
+ nzType="close-circle"
166
+ (click)="formControl.reset()"
167
+ ></span>
168
+ }
169
+ </ng-template>
170
+ <!-- 清除数据 -->
171
+ <ng-template #inputClearTpl>
172
+ @if (formControl.value && !props['disabled'] && !props['readonly']) {
173
+ <span
174
+ nz-icon
175
+ class="ant-input-clear-icon"
176
+ nzTheme="fill"
177
+ nzType="close-circle"
178
+ (click)="formControl.reset()"
179
+ ></span>
180
+ }
181
+ </ng-template>
182
182
  `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i4.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i4.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i5.NzAutocompleteComponent, selector: "nz-autocomplete", inputs: ["nzWidth", "nzOverlayClassName", "nzOverlayStyle", "nzDefaultActiveFirstOption", "nzBackfill", "compareWith", "nzDataSource"], outputs: ["selectionChange"], exportAs: ["nzAutocomplete"] }, { kind: "component", type: i5.NzAutocompleteOptionComponent, selector: "nz-auto-option", inputs: ["nzValue", "nzLabel", "nzDisabled"], outputs: ["selectionChange", "mouseEntered"], exportAs: ["nzAutoOption"] }, { kind: "directive", type: i5.NzAutocompleteTriggerDirective, selector: "input[nzAutocomplete], textarea[nzAutocomplete]", inputs: ["nzAutocomplete"], exportAs: ["nzAutocompleteTrigger"] }, { kind: "directive", type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i7.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
183
183
  }
184
184
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldInput, decorators: [{
185
185
  type: Component,
186
186
  args: [{
187
187
  selector: 'formly-field-input',
188
- template: `
189
- @switch (props.type) {
190
- @case ('password') {
191
- <nz-input-group
192
- [nzPrefixIcon]="props['prefixIcon']"
193
- [nzSuffixIcon]="props['suffixIcon']"
194
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
195
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
196
- [nzAddOnBefore]="addOnBefore"
197
- [nzAddOnAfter]="addOnAfter"
198
- [nzPrefix]="props['prefix']"
199
- [nzCompact]="props['compact']!!"
200
- [nzSearch]="props['search']!!"
201
- [nzSize]="props['size']!"
202
- [nzStatus]="props['status']!"
203
- [nzSuffix]="passwordEyeTpl"
204
- >
205
- <input
206
- [type]="passwordVisible ? 'text' : 'password'"
207
- nz-input
208
- [formControl]="formControl"
209
- [formlyAttributes]="field"
210
- [nzBorderless]="props['borderless']!!"
211
- (ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
212
- />
213
- </nz-input-group>
214
- }
215
- @case ('autoComplete') {
216
- <nz-input-group
217
- [nzSize]="props['size']"
218
- [nzPrefixIcon]="props['prefixIcon']"
219
- [nzSuffixIcon]="props['suffixIcon']"
220
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
221
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
222
- [nzAddOnBefore]="addOnBefore"
223
- [nzAddOnAfter]="addOnAfter"
224
- [nzPrefix]="props['prefix']"
225
- [nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
226
- >
227
- <input
228
- nz-input
229
- [nzBorderless]="props['borderless']"
230
- [nzAutocomplete]="auto"
231
- [formControl]="formControl"
232
- [formlyAttributes]="field"
233
- />
234
- <nz-autocomplete
235
- [nzBackfill]="props['autocompleteOptions']?.backfill"
236
- [nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
237
- [nzWidth]="props['autocompleteOptions']?.width"
238
- [nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
239
- [nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
240
- [compareWith]="props['autocompleteOptions']?.compareWith"
241
- #auto
242
- >
243
- @for (option of props['autocompleteOptions'].dataSource; track option) {
244
- <nz-auto-option [nzLabel]="option.label" [nzValue]="option.value">
245
- {{ option.label }}
246
- </nz-auto-option>
247
- }
248
- </nz-autocomplete>
249
- </nz-input-group>
250
- }
251
- @case ('group') {
252
- <nz-input-group
253
- [nzPrefixIcon]="props['prefixIcon']"
254
- [nzSuffixIcon]="props['suffixIcon']"
255
- [nzAddOnAfterIcon]="props['addOnAfterIcon']"
256
- [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
257
- [nzAddOnBefore]="addOnBefore"
258
- [nzAddOnAfter]="addOnAfter"
259
- [nzPrefix]="props['prefix']"
260
- [nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
261
- [nzCompact]="props['compact']!!"
262
- [nzSearch]="props['search']!!"
263
- [nzSize]="props['size']!"
264
- [nzStatus]="props['status']!"
265
- >
266
- <input
267
- nz-input
268
- type="text"
269
- [ngClass]="props['ngClass']"
270
- [ngStyle]="props['ngStyle']"
271
- [formControl]="formControl"
272
- [formlyAttributes]="field"
273
- [nzBorderless]="!!props['borderless']!!"
274
- (ngModelChange)="props['modelChange']?.(field, $event)"
275
- />
276
- </nz-input-group>
277
- }
278
- @default {
279
- <input
280
- nz-input
281
- type="text"
282
- [ngClass]="props['ngClass']"
283
- [ngStyle]="props['ngStyle']"
284
- [formControl]="formControl"
285
- [formlyAttributes]="field"
286
- [nzSize]="props['size']"
287
- [nzStatus]="props['status']"
288
- [nzBorderless]="props['borderless']!!"
289
- (ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
290
- />
291
- }
292
- }
293
-
294
- <!-- 查看密码 -->
295
- <ng-template #passwordEyeTpl>
296
- <span
297
- nz-icon
298
- class="cursor-pointer"
299
- [nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
300
- (click)="passwordVisible = !passwordVisible"
301
- ></span>
302
-
303
- @if (formControl.value && props['allowClear']!!) {
304
- <span
305
- nz-icon
306
- class="ant-input-clear-icon"
307
- nzTheme="fill"
308
- nzType="close-circle"
309
- (click)="formControl.reset()"
310
- ></span>
311
- }
312
- </ng-template>
313
- <!-- 清除数据 -->
314
- <ng-template #inputClearTpl>
315
- @if (formControl.value && !props['disabled'] && !props['readonly']) {
316
- <span
317
- nz-icon
318
- class="ant-input-clear-icon"
319
- nzTheme="fill"
320
- nzType="close-circle"
321
- (click)="formControl.reset()"
322
- ></span>
323
- }
324
- </ng-template>
188
+ template: `
189
+ @switch (props.type) {
190
+ @case ('password') {
191
+ <nz-input-group
192
+ [nzPrefixIcon]="props['prefixIcon']"
193
+ [nzSuffixIcon]="props['suffixIcon']"
194
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
195
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
196
+ [nzAddOnBefore]="addOnBefore"
197
+ [nzAddOnAfter]="addOnAfter"
198
+ [nzPrefix]="props['prefix']"
199
+ [nzCompact]="props['compact']!!"
200
+ [nzSearch]="props['search']!!"
201
+ [nzSize]="props['size']!"
202
+ [nzStatus]="props['status']!"
203
+ [nzSuffix]="passwordEyeTpl"
204
+ >
205
+ <input
206
+ [type]="passwordVisible ? 'text' : 'password'"
207
+ nz-input
208
+ [formControl]="formControl"
209
+ [formlyAttributes]="field"
210
+ [nzBorderless]="props['borderless']!!"
211
+ (ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
212
+ />
213
+ </nz-input-group>
214
+ }
215
+ @case ('autoComplete') {
216
+ <nz-input-group
217
+ [nzSize]="props['size']"
218
+ [nzPrefixIcon]="props['prefixIcon']"
219
+ [nzSuffixIcon]="props['suffixIcon']"
220
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
221
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
222
+ [nzAddOnBefore]="addOnBefore"
223
+ [nzAddOnAfter]="addOnAfter"
224
+ [nzPrefix]="props['prefix']"
225
+ [nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
226
+ >
227
+ <input
228
+ nz-input
229
+ [nzBorderless]="props['borderless']"
230
+ [nzAutocomplete]="auto"
231
+ [formControl]="formControl"
232
+ [formlyAttributes]="field"
233
+ />
234
+ <nz-autocomplete
235
+ [nzBackfill]="props['autocompleteOptions']?.backfill"
236
+ [nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
237
+ [nzWidth]="props['autocompleteOptions']?.width"
238
+ [nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
239
+ [nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
240
+ [compareWith]="props['autocompleteOptions']?.compareWith"
241
+ #auto
242
+ >
243
+ @for (option of props['autocompleteOptions'].dataSource; track option) {
244
+ <nz-auto-option [nzLabel]="option.label" [nzValue]="option.value">
245
+ {{ option.label }}
246
+ </nz-auto-option>
247
+ }
248
+ </nz-autocomplete>
249
+ </nz-input-group>
250
+ }
251
+ @case ('group') {
252
+ <nz-input-group
253
+ [nzPrefixIcon]="props['prefixIcon']"
254
+ [nzSuffixIcon]="props['suffixIcon']"
255
+ [nzAddOnAfterIcon]="props['addOnAfterIcon']"
256
+ [nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
257
+ [nzAddOnBefore]="addOnBefore"
258
+ [nzAddOnAfter]="addOnAfter"
259
+ [nzPrefix]="props['prefix']"
260
+ [nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
261
+ [nzCompact]="props['compact']!!"
262
+ [nzSearch]="props['search']!!"
263
+ [nzSize]="props['size']!"
264
+ [nzStatus]="props['status']!"
265
+ >
266
+ <input
267
+ nz-input
268
+ type="text"
269
+ [ngClass]="props['ngClass']"
270
+ [ngStyle]="props['ngStyle']"
271
+ [formControl]="formControl"
272
+ [formlyAttributes]="field"
273
+ [nzBorderless]="!!props['borderless']!!"
274
+ (ngModelChange)="props['modelChange']?.(field, $event)"
275
+ />
276
+ </nz-input-group>
277
+ }
278
+ @default {
279
+ <input
280
+ nz-input
281
+ type="text"
282
+ [ngClass]="props['ngClass']"
283
+ [ngStyle]="props['ngStyle']"
284
+ [formControl]="formControl"
285
+ [formlyAttributes]="field"
286
+ [nzSize]="props['size']"
287
+ [nzStatus]="props['status']"
288
+ [nzBorderless]="props['borderless']!!"
289
+ (ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
290
+ />
291
+ }
292
+ }
293
+
294
+ <!-- 查看密码 -->
295
+ <ng-template #passwordEyeTpl>
296
+ <span
297
+ nz-icon
298
+ class="cursor-pointer"
299
+ [nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
300
+ (click)="passwordVisible = !passwordVisible"
301
+ ></span>
302
+
303
+ @if (formControl.value && props['allowClear']!!) {
304
+ <span
305
+ nz-icon
306
+ class="ant-input-clear-icon"
307
+ nzTheme="fill"
308
+ nzType="close-circle"
309
+ (click)="formControl.reset()"
310
+ ></span>
311
+ }
312
+ </ng-template>
313
+ <!-- 清除数据 -->
314
+ <ng-template #inputClearTpl>
315
+ @if (formControl.value && !props['disabled'] && !props['readonly']) {
316
+ <span
317
+ nz-icon
318
+ class="ant-input-clear-icon"
319
+ nzTheme="fill"
320
+ nzType="close-circle"
321
+ (click)="formControl.reset()"
322
+ ></span>
323
+ }
324
+ </ng-template>
325
325
  `,
326
326
  changeDetection: ChangeDetectionStrategy.OnPush
327
327
  }]
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-input.mjs","sources":["../../../../packages/formlyantd/input/src/input.type.ts","../../../../packages/formlyantd/input/src/input.module.ts","../../../../packages/formlyantd/input/src/ngx-formly-zorro-antd-input.ts"],"sourcesContent":["import { Component, Optional, ChangeDetectionStrategy, Type } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';\r\n\r\nimport type { InputProps } from './input.props';\r\n\r\nexport interface FormlyInputFieldConfig extends NzFormlyFieldConfig<InputProps> {\r\n type: 'input' | 'string' | 'password' | Type<FormlyFieldInput>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input',\r\n template: `\r\n @switch (props.type) {\r\n @case ('password') {\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]=\"addOnBefore\"\r\n [nzAddOnAfter]=\"addOnAfter\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzSuffix]=\"passwordEyeTpl\"\r\n >\r\n <input\r\n [type]=\"passwordVisible ? 'text' : 'password'\"\r\n nz-input\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n />\r\n </nz-input-group>\r\n }\r\n @case ('autoComplete') {\r\n <nz-input-group\r\n [nzSize]=\"props['size']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"addOnBefore\"\r\n [nzAddOnAfter]=\"addOnAfter\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['allowClear']!! ? inputClearTpl : props['suffix']\"\r\n >\r\n <input\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutocomplete]=\"auto\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n />\r\n <nz-autocomplete\r\n [nzBackfill]=\"props['autocompleteOptions']?.backfill\"\r\n [nzDefaultActiveFirstOption]=\"props['autocompleteOptions']?.defaultActiveFirstOption\"\r\n [nzWidth]=\"props['autocompleteOptions']?.width\"\r\n [nzOverlayClassName]=\"props['autocompleteOptions']?.overlayClassName\"\r\n [nzOverlayStyle]=\"props['autocompleteOptions']?.overlayStyle\"\r\n [compareWith]=\"props['autocompleteOptions']?.compareWith\"\r\n #auto\r\n >\r\n @for (option of props['autocompleteOptions'].dataSource; track option) {\r\n <nz-auto-option [nzLabel]=\"option.label\" [nzValue]=\"option.value\">\r\n {{ option.label }}\r\n </nz-auto-option>\r\n }\r\n </nz-autocomplete>\r\n </nz-input-group>\r\n }\r\n @case ('group') {\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]=\"addOnBefore\"\r\n [nzAddOnAfter]=\"addOnAfter\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['allowClear']!! ? inputClearTpl : 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 <input\r\n nz-input\r\n type=\"text\"\r\n [ngClass]=\"props['ngClass']\"\r\n [ngStyle]=\"props['ngStyle']\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"!!props['borderless']!!\"\r\n (ngModelChange)=\"props['modelChange']?.(field, $event)\"\r\n />\r\n </nz-input-group>\r\n }\r\n @default {\r\n <input\r\n nz-input\r\n type=\"text\"\r\n [ngClass]=\"props['ngClass']\"\r\n [ngStyle]=\"props['ngStyle']\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n />\r\n }\r\n }\r\n\r\n <!-- 查看密码 -->\r\n <ng-template #passwordEyeTpl>\r\n <span\r\n nz-icon\r\n class=\"cursor-pointer\"\r\n [nzType]=\"passwordVisible ? 'eye-invisible' : 'eye'\"\r\n (click)=\"passwordVisible = !passwordVisible\"\r\n ></span>\r\n\r\n @if (formControl.value && props['allowClear']!!) {\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 <ng-template #inputClearTpl>\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 FormlyFieldInput extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n borderless: false,\r\n compact: false,\r\n search: false,\r\n allowClear: false,\r\n autocompleteOptions: {\r\n backfill: false,\r\n defaultActiveFirstOption: true,\r\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2\r\n }\r\n }\r\n };\r\n passwordVisible = false;\r\n\r\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\r\n super();\r\n }\r\n\r\n get addOnBefore() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'addOnBefore');\r\n }\r\n\r\n get addOnAfter() {\r\n return resolveTplName(this.props, this.fieldTemplates, 'addOnAfter');\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 { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\nimport { FormlyFieldInput } from './input.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInput],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzInputModule,\r\n NzAutocompleteModule,\r\n NzIconModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input',\r\n component: FormlyFieldInput,\r\n wrappers: ['form-field'],\r\n defaultOptions: {\r\n props: {\r\n type: 'input'\r\n }\r\n }\r\n },\r\n { name: 'string', extends: 'input' },\r\n {\r\n name: 'password',\r\n extends: 'input',\r\n defaultOptions: {\r\n props: {\r\n type: 'password'\r\n }\r\n }\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;AA0JM,MAAO,gBAAiB,SAAQ,SAA0B,CAAA;AAgB9D,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAfxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,MAAM,EAAE,KAAK;AACb,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,QAAQ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Q,EAAE,OAAO,EAAE,OAAO,EAAE;AACpC,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,OAAO,EAAE,OAAO;AAChB,wBAAA,cAAc,EAAE;AACd,4BAAA,KAAK,EAAE;AACL,gCAAA,IAAI,EAAE,UAAU;AACjB,6BAAA;AACF,yBAAA;AACF,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBApC/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,aAAa;wBACb,oBAAoB;wBACpB,YAAY;wBAEZ,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACxB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,OAAO;AACd,yCAAA;AACF,qCAAA;AACF,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;AACpC,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,UAAU;AACjB,yCAAA;AACF,qCAAA;AACF,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC/CD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-input.mjs","sources":["../../../../packages/formlyantd/input/src/input.type.ts","../../../../packages/formlyantd/input/src/input.module.ts","../../../../packages/formlyantd/input/src/ngx-formly-zorro-antd-input.ts"],"sourcesContent":["import { Component, Optional, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';\n\nimport type { InputProps } from './input.props';\n\nexport interface FormlyInputFieldConfig extends NzFormlyFieldConfig<InputProps> {\n type: 'input' | 'string' | 'password' | Type<FormlyFieldInput>;\n}\n\n@Component({\n selector: 'formly-field-input',\n template: `\n @switch (props.type) {\n @case ('password') {\n <nz-input-group\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"addOnBefore\"\n [nzAddOnAfter]=\"addOnAfter\"\n [nzPrefix]=\"props['prefix']\"\n [nzCompact]=\"props['compact']!!\"\n [nzSearch]=\"props['search']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzSuffix]=\"passwordEyeTpl\"\n >\n <input\n [type]=\"passwordVisible ? 'text' : 'password'\"\n nz-input\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzBorderless]=\"props['borderless']!!\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n />\n </nz-input-group>\n }\n @case ('autoComplete') {\n <nz-input-group\n [nzSize]=\"props['size']\"\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"addOnBefore\"\n [nzAddOnAfter]=\"addOnAfter\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['allowClear']!! ? inputClearTpl : props['suffix']\"\n >\n <input\n nz-input\n [nzBorderless]=\"props['borderless']\"\n [nzAutocomplete]=\"auto\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n />\n <nz-autocomplete\n [nzBackfill]=\"props['autocompleteOptions']?.backfill\"\n [nzDefaultActiveFirstOption]=\"props['autocompleteOptions']?.defaultActiveFirstOption\"\n [nzWidth]=\"props['autocompleteOptions']?.width\"\n [nzOverlayClassName]=\"props['autocompleteOptions']?.overlayClassName\"\n [nzOverlayStyle]=\"props['autocompleteOptions']?.overlayStyle\"\n [compareWith]=\"props['autocompleteOptions']?.compareWith\"\n #auto\n >\n @for (option of props['autocompleteOptions'].dataSource; track option) {\n <nz-auto-option [nzLabel]=\"option.label\" [nzValue]=\"option.value\">\n {{ option.label }}\n </nz-auto-option>\n }\n </nz-autocomplete>\n </nz-input-group>\n }\n @case ('group') {\n <nz-input-group\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"addOnBefore\"\n [nzAddOnAfter]=\"addOnAfter\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['allowClear']!! ? inputClearTpl : props['suffix']\"\n [nzCompact]=\"props['compact']!!\"\n [nzSearch]=\"props['search']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n >\n <input\n nz-input\n type=\"text\"\n [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzBorderless]=\"!!props['borderless']!!\"\n (ngModelChange)=\"props['modelChange']?.(field, $event)\"\n />\n </nz-input-group>\n }\n @default {\n <input\n nz-input\n type=\"text\"\n [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzSize]=\"props['size']\"\n [nzStatus]=\"props['status']\"\n [nzBorderless]=\"props['borderless']!!\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n />\n }\n }\n\n <!-- 查看密码 -->\n <ng-template #passwordEyeTpl>\n <span\n nz-icon\n class=\"cursor-pointer\"\n [nzType]=\"passwordVisible ? 'eye-invisible' : 'eye'\"\n (click)=\"passwordVisible = !passwordVisible\"\n ></span>\n\n @if (formControl.value && props['allowClear']!!) {\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 <ng-template #inputClearTpl>\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 FormlyFieldInput extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n borderless: false,\n compact: false,\n search: false,\n allowClear: false,\n autocompleteOptions: {\n backfill: false,\n defaultActiveFirstOption: true,\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2\n }\n }\n };\n passwordVisible = false;\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get addOnBefore() {\n return resolveTplName(this.props, this.fieldTemplates, 'addOnBefore');\n }\n\n get addOnAfter() {\n return resolveTplName(this.props, this.fieldTemplates, 'addOnAfter');\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 { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\nimport { FormlyFieldInput } from './input.type';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzInputModule,\n NzAutocompleteModule,\n NzIconModule,\n\n FormlyNzFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n defaultOptions: {\n props: {\n type: 'input'\n }\n }\n },\n { name: 'string', extends: 'input' },\n {\n name: 'password',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'password'\n }\n }\n }\n ]\n })\n ]\n})\nexport class FormlyNzInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;AA0JM,MAAO,gBAAiB,SAAQ,SAA0B,CAAA;AAgB9D,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAfxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,MAAM,EAAE,KAAK;AACb,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,QAAQ,EAAE,KAAK;AACf,oBAAA,wBAAwB,EAAE,IAAI;oBAC9B,WAAW,EAAE,CAAC,EAAa,EAAE,EAAa,KAAK,EAAE,KAAK,EAAE;AACzD,iBAAA;AACF,aAAA;SACF,CAAC;QACF,IAAe,CAAA,eAAA,GAAG,KAAK,CAAC;KAIvB;AAED,IAAA,IAAI,WAAW,GAAA;AACb,QAAA,OAAO,cAAc,CA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