ngx-formly-zorro-antd 17.2.0 → 17.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/input/input.type.mjs +25 -9
- package/esm2022/radio/radio.type.mjs +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +24 -8
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/package.json +24 -24
@@ -45,6 +45,8 @@ export class FormlyFieldInput extends FieldType {
|
|
45
45
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
46
46
|
[nzAddOnBefore]="addOnBefore"
|
47
47
|
[nzAddOnAfter]="addOnAfter"
|
48
|
+
[ngClass]="props['ngClass']"
|
49
|
+
[ngStyle]="props['ngStyle']"
|
48
50
|
[nzPrefix]="props['prefix']"
|
49
51
|
[nzCompact]="props['compact']!!"
|
50
52
|
[nzSearch]="props['search']!!"
|
@@ -71,6 +73,8 @@ export class FormlyFieldInput extends FieldType {
|
|
71
73
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
72
74
|
[nzAddOnBefore]="addOnBefore"
|
73
75
|
[nzAddOnAfter]="addOnAfter"
|
76
|
+
[ngClass]="props['ngClass']"
|
77
|
+
[ngStyle]="props['ngStyle']"
|
74
78
|
[nzPrefix]="props['prefix']"
|
75
79
|
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
76
80
|
>
|
@@ -91,7 +95,11 @@ export class FormlyFieldInput extends FieldType {
|
|
91
95
|
#auto
|
92
96
|
>
|
93
97
|
@for (option of props['autocompleteOptions'].dataSource; track option) {
|
94
|
-
<nz-auto-option
|
98
|
+
<nz-auto-option
|
99
|
+
[nzLabel]="option.label"
|
100
|
+
[nzValue]="option.value"
|
101
|
+
[attr.title]="option.label"
|
102
|
+
>
|
95
103
|
{{ option.label }}
|
96
104
|
</nz-auto-option>
|
97
105
|
}
|
@@ -106,6 +114,8 @@ export class FormlyFieldInput extends FieldType {
|
|
106
114
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
107
115
|
[nzAddOnBefore]="addOnBefore"
|
108
116
|
[nzAddOnAfter]="addOnAfter"
|
117
|
+
[ngClass]="props['ngClass']"
|
118
|
+
[ngStyle]="props['ngStyle']"
|
109
119
|
[nzPrefix]="props['prefix']"
|
110
120
|
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
111
121
|
[nzCompact]="props['compact']!!"
|
@@ -116,8 +126,6 @@ export class FormlyFieldInput extends FieldType {
|
|
116
126
|
<input
|
117
127
|
nz-input
|
118
128
|
type="text"
|
119
|
-
[ngClass]="props['ngClass']"
|
120
|
-
[ngStyle]="props['ngStyle']"
|
121
129
|
[formControl]="formControl"
|
122
130
|
[formlyAttributes]="field"
|
123
131
|
[nzBorderless]="!!props['borderless']!!"
|
@@ -136,7 +144,7 @@ export class FormlyFieldInput extends FieldType {
|
|
136
144
|
[nzSize]="props['size']"
|
137
145
|
[nzStatus]="props['status']"
|
138
146
|
[nzBorderless]="props['borderless']!!"
|
139
|
-
(ngModelChange)="props['modelChange']
|
147
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
140
148
|
/>
|
141
149
|
}
|
142
150
|
}
|
@@ -188,6 +196,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
188
196
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
189
197
|
[nzAddOnBefore]="addOnBefore"
|
190
198
|
[nzAddOnAfter]="addOnAfter"
|
199
|
+
[ngClass]="props['ngClass']"
|
200
|
+
[ngStyle]="props['ngStyle']"
|
191
201
|
[nzPrefix]="props['prefix']"
|
192
202
|
[nzCompact]="props['compact']!!"
|
193
203
|
[nzSearch]="props['search']!!"
|
@@ -214,6 +224,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
214
224
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
215
225
|
[nzAddOnBefore]="addOnBefore"
|
216
226
|
[nzAddOnAfter]="addOnAfter"
|
227
|
+
[ngClass]="props['ngClass']"
|
228
|
+
[ngStyle]="props['ngStyle']"
|
217
229
|
[nzPrefix]="props['prefix']"
|
218
230
|
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
219
231
|
>
|
@@ -234,7 +246,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
234
246
|
#auto
|
235
247
|
>
|
236
248
|
@for (option of props['autocompleteOptions'].dataSource; track option) {
|
237
|
-
<nz-auto-option
|
249
|
+
<nz-auto-option
|
250
|
+
[nzLabel]="option.label"
|
251
|
+
[nzValue]="option.value"
|
252
|
+
[attr.title]="option.label"
|
253
|
+
>
|
238
254
|
{{ option.label }}
|
239
255
|
</nz-auto-option>
|
240
256
|
}
|
@@ -249,6 +265,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
249
265
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
250
266
|
[nzAddOnBefore]="addOnBefore"
|
251
267
|
[nzAddOnAfter]="addOnAfter"
|
268
|
+
[ngClass]="props['ngClass']"
|
269
|
+
[ngStyle]="props['ngStyle']"
|
252
270
|
[nzPrefix]="props['prefix']"
|
253
271
|
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
254
272
|
[nzCompact]="props['compact']!!"
|
@@ -259,8 +277,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
259
277
|
<input
|
260
278
|
nz-input
|
261
279
|
type="text"
|
262
|
-
[ngClass]="props['ngClass']"
|
263
|
-
[ngStyle]="props['ngStyle']"
|
264
280
|
[formControl]="formControl"
|
265
281
|
[formlyAttributes]="field"
|
266
282
|
[nzBorderless]="!!props['borderless']!!"
|
@@ -279,7 +295,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
279
295
|
[nzSize]="props['size']"
|
280
296
|
[nzStatus]="props['status']"
|
281
297
|
[nzBorderless]="props['borderless']!!"
|
282
|
-
(ngModelChange)="props['modelChange']
|
298
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
283
299
|
/>
|
284
300
|
}
|
285
301
|
}
|
@@ -321,4 +337,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
321
337
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
322
338
|
type: Optional
|
323
339
|
}] }] });
|
324
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvaW5wdXQvc3JjL2lucHV0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsdUJBQXVCLEVBQVEsTUFBTSxlQUFlLENBQUM7QUFDbkYsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQztBQUc5RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsY0FBYyxFQUFFLE1BQU0sOEJBQThCLENBQUM7Ozs7Ozs7OztBQXNKbEYsTUFBTSxPQUFPLGdCQUFpQixTQUFRLFNBQTBCO0lBZ0I5RCxZQUErQixjQUFrQztRQUMvRCxLQUFLLEVBQUUsQ0FBQztRQURxQixtQkFBYyxHQUFkLGNBQWMsQ0FBb0I7UUFmeEQsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsVUFBVSxFQUFFLEtBQUs7Z0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25lbnQoe1xuICBzZWxlY3RvcjogJ2Zvcm1seS1maWVsZC1pbnB1dCcsXG4gIHRlbXBsYXRlOiBgXG4gICAgQHN3aXRjaCAocHJvcHMudHlwZSkge1xuICAgICAgQGNhc2UgKCdwYXNzd29yZCcpIHtcbiAgICAgICAgPG56LWlucHV0LWdyb3VwXG4gICAgICAgICAgW256UHJlZml4SWNvbl09XCJwcm9wc1sncHJlZml4SWNvbiddXCJcbiAgICAgICAgICBbbnpTdWZmaXhJY29uXT1cInByb3BzWydzdWZmaXhJY29uJ11cIlxuICAgICAgICAgIFtuekFkZE9uQWZ0ZXJJY29uXT1cInByb3BzWydhZGRPbkFmdGVySWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkJlZm9yZUljb25dPVwicHJvcHNbJ2FkZE9uQmVmb3JlSWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkJlZm9yZV09XCJhZGRPbkJlZm9yZVwiXG4gICAgICAgICAgW256QWRkT25BZnRlcl09XCJhZGRPbkFmdGVyXCJcbiAgICAgICAgICBbbnpQcmVmaXhdPVwicHJvcHNbJ3ByZWZpeCddXCJcbiAgICAgICAgICBbbnpDb21wYWN0XT1cInByb3BzWydjb21wYWN0J10hIVwiXG4gICAgICAgICAgW256U2VhcmNoXT1cInByb3BzWydzZWFyY2gnXSEhXCJcbiAgICAgICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ10hXCJcbiAgICAgICAgICBbbnpTdGF0dXNdPVwicHJvcHNbJ3N0YXR1cyddIVwiXG4gICAgICAgICAgW256U3VmZml4XT1cInBhc3N3b3JkRXllVHBsXCJcbiAgICAgICAgPlxuICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgW3R5cGVdPVwicGFzc3dvcmRWaXNpYmxlID8gJ3RleHQnIDogJ3Bhc3N3b3JkJ1wiXG4gICAgICAgICAgICBuei1pbnB1dFxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcbiAgICAgICAgICAgIFtmb3JtbHlBdHRyaWJ1dGVzXT1cImZpZWxkXCJcbiAgICAgICAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXSEhXCJcbiAgICAgICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cInByb3BzWydtb2RlbENoYW5nZSddICYmIHByb3BzWydtb2RlbENoYW5nZSddKGZpZWxkLCAkZXZlbnQpXCJcbiAgICAgICAgICAvPlxuICAgICAgICA8L256LWlucHV0LWdyb3VwPlxuICAgICAgfVxuICAgICAgQGNhc2UgKCdhdXRvQ29tcGxldGUnKSB7XG4gICAgICAgIDxuei1pbnB1dC1ncm91cFxuICAgICAgICAgIFtuelNpemVdPVwicHJvcHNbJ3NpemUnXVwiXG4gICAgICAgICAgW256UHJlZml4SWNvbl09XCJwcm9wc1sncHJlZml4SWNvbiddXCJcbiAgICAgICAgICBbbnpTdWZmaXhJY29uXT1cInByb3BzWydzdWZmaXhJY29uJ11cIlxuICAgICAgICAgIFtuekFkZE9uQWZ0ZXJJY29uXT1cInByb3BzWydhZGRPbkFmdGVySWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkJlZm9yZUljb25dPVwicHJvcHNbJ2FkZE9uQmVmb3JlSWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkJlZm9yZV09XCJhZGRPbkJlZm9yZVwiXG4gICAgICAgICAgW256QWRkT25BZnRlcl09XCJhZGRPbkFmdGVyXCJcbiAgICAgICAgICBbbnpQcmVmaXhdPVwicHJvcHNbJ3ByZWZpeCddXCJcbiAgICAgICAgICBbbnpTdWZmaXhdPVwicHJvcHNbJ2FsbG93Q2xlYXInXSEhID8gaW5wdXRDbGVhclRwbCA6IHByb3BzWydzdWZmaXgnXVwiXG4gICAgICAgID5cbiAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgIG56LWlucHV0XG4gICAgICAgICAgICBbbnpCb3JkZXJsZXNzXT1cInByb3BzWydib3JkZXJsZXNzJ11cIlxuICAgICAgICAgICAgW256QXV0b2NvbXBsZXRlXT1cImF1dG9cIlxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcbiAgICAgICAgICAgIFtmb3JtbHlBdHRyaWJ1dGVzXT1cImZpZWxkXCJcbiAgICAgICAgICAvPlxuICAgICAgICAgIDxuei1hdXRvY29tcGxldGVcbiAgICAgICAgICAgIFtuekJhY2tmaWxsXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/LmJhY2tmaWxsXCJcbiAgICAgICAgICAgIFtuekRlZmF1bHRBY3RpdmVGaXJzdE9wdGlvbl09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5kZWZhdWx0QWN0aXZlRmlyc3RPcHRpb25cIlxuICAgICAgICAgICAgW256V2lkdGhdPVwicHJvcHNbJ2F1dG9jb21wbGV0ZU9wdGlvbnMnXT8ud2lkdGhcIlxuICAgICAgICAgICAgW256T3ZlcmxheUNsYXNzTmFtZV09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5vdmVybGF5Q2xhc3NOYW1lXCJcbiAgICAgICAgICAgIFtuek92ZXJsYXlTdHlsZV09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5vdmVybGF5U3R5bGVcIlxuICAgICAgICAgICAgW2NvbXBhcmVXaXRoXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/LmNvbXBhcmVXaXRoXCJcbiAgICAgICAgICAgICNhdXRvXG4gICAgICAgICAgPlxuICAgICAgICAgICAgQGZvciAob3B0aW9uIG9mIHByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10uZGF0YVNvdXJjZTsgdHJhY2sgb3B0aW9uKSB7XG4gICAgICAgICAgICAgIDxuei1hdXRvLW9wdGlvbiBbbnpMYWJlbF09XCJvcHRpb24ubGFiZWxcIiBbbnpWYWx1ZV09XCJvcHRpb24udmFsdWVcIj5cbiAgICAgICAgICAgICAgICB7eyBvcHRpb24ubGFiZWwgfX1cbiAgICAgICAgICAgICAgPC9uei1hdXRvLW9wdGlvbj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICA8L256LWF1dG9jb21wbGV0ZT5cbiAgICAgICAgPC9uei1pbnB1dC1ncm91cD5cbiAgICAgIH1cbiAgICAgIEBjYXNlICgnZ3JvdXAnKSB7XG4gICAgICAgIDxuei1pbnB1dC1ncm91cFxuICAgICAgICAgIFtuelByZWZpeEljb25dPVwicHJvcHNbJ3ByZWZpeEljb24nXVwiXG4gICAgICAgICAgW256U3VmZml4SWNvbl09XCJwcm9wc1snc3VmZml4SWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkFmdGVySWNvbl09XCJwcm9wc1snYWRkT25BZnRlckljb24nXVwiXG4gICAgICAgICAgW256QWRkT25CZWZvcmVJY29uXT1cInByb3BzWydhZGRPbkJlZm9yZUljb24nXVwiXG4gICAgICAgICAgW256QWRkT25CZWZvcmVdPVwiYWRkT25CZWZvcmVcIlxuICAgICAgICAgIFtuekFkZE9uQWZ0ZXJdPVwiYWRkT25BZnRlclwiXG4gICAgICAgICAgW256UHJlZml4XT1cInByb3BzWydwcmVmaXgnXVwiXG4gICAgICAgICAgW256U3VmZml4XT1cInByb3BzWydhbGxvd0NsZWFyJ10hISA/IGlucHV0Q2xlYXJUcGwgOiBwcm9wc1snc3VmZml4J11cIlxuICAgICAgICAgIFtuekNvbXBhY3RdPVwicHJvcHNbJ2NvbXBhY3QnXSEhXCJcbiAgICAgICAgICBbbnpTZWFyY2hdPVwicHJvcHNbJ3NlYXJjaCddISFcIlxuICAgICAgICAgIFtuelNpemVdPVwicHJvcHNbJ3NpemUnXSFcIlxuICAgICAgICAgIFtuelN0YXR1c109XCJwcm9wc1snc3RhdHVzJ10hXCJcbiAgICAgICAgPlxuICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgbnotaW5wdXRcbiAgICAgICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICAgICAgIFtuZ0NsYXNzXT1cInByb3BzWyduZ0NsYXNzJ11cIlxuICAgICAgICAgICAgW25nU3R5bGVdPVwicHJvcHNbJ25nU3R5bGUnXVwiXG4gICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxuICAgICAgICAgICAgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuICAgICAgICAgICAgW256Qm9yZGVybGVzc109XCIhIXByb3BzWydib3JkZXJsZXNzJ10hIVwiXG4gICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJwcm9wc1snbW9kZWxDaGFuZ2UnXT8uKGZpZWxkLCAkZXZlbnQpXCJcbiAgICAgICAgICAvPlxuICAgICAgICA8L256LWlucHV0LWdyb3VwPlxuICAgICAgfVxuICAgICAgQGRlZmF1bHQge1xuICAgICAgICA8aW5wdXRcbiAgICAgICAgICBuei1pbnB1dFxuICAgICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICAgICBbbmdDbGFzc109XCJwcm9wc1snbmdDbGFzcyddXCJcbiAgICAgICAgICBbbmdTdHlsZV09XCJwcm9wc1snbmdTdHlsZSddXCJcbiAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxuICAgICAgICAgIFtmb3JtbHlBdHRyaWJ1dGVzXT1cImZpZWxkXCJcbiAgICAgICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ11cIlxuICAgICAgICAgIFtuelN0YXR1c109XCJwcm9wc1snc3RhdHVzJ11cIlxuICAgICAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXSEhXCJcbiAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJwcm9wc1snbW9kZWxDaGFuZ2UnXSAmJiBwcm9wc1snbW9kZWxDaGFuZ2UnXShmaWVsZCwgJGV2ZW50KVwiXG4gICAgICAgIC8+XG4gICAgICB9XG4gICAgfVxuXG4gICAgPCEtLSDmn6XnnIvlr4bnoIEgLS0+XG4gICAgPG5nLXRlbXBsYXRlICNwYXNzd29yZEV5ZVRwbD5cbiAgICAgIDxzcGFuXG4gICAgICAgIG56LWljb25cbiAgICAgICAgY2xhc3M9XCJjdXJzb3ItcG9pbnRlclwiXG4gICAgICAgIFtuelR5cGVdPVwicGFzc3dvcmRWaXNpYmxlID8gJ2V5ZS1pbnZpc2libGUnIDogJ2V5ZSdcIlxuICAgICAgICAoY2xpY2spPVwicGFzc3dvcmRWaXNpYmxlID0gIXBhc3N3b3JkVmlzaWJsZVwiXG4gICAgICA+PC9zcGFuPlxuXG4gICAgICBAaWYgKGZvcm1Db250cm9sLnZhbHVlICYmIHByb3BzWydhbGxvd0NsZWFyJ10hISkge1xuICAgICAgICA8c3BhblxuICAgICAgICAgIG56LWljb25cbiAgICAgICAgICBjbGFzcz1cImFudC1pbnB1dC1jbGVhci1pY29uXCJcbiAgICAgICAgICBuelRoZW1lPVwiZmlsbFwiXG4gICAgICAgICAgbnpUeXBlPVwiY2xvc2UtY2lyY2xlXCJcbiAgICAgICAgICAoY2xpY2spPVwiZm9ybUNvbnRyb2wucmVzZXQoKVwiXG4gICAgICAgID48L3NwYW4+XG4gICAgICB9XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgICA8IS0tIOa4hemZpOaVsOaNriAtLT5cbiAgICA8bmctdGVtcGxhdGUgI2lucHV0Q2xlYXJUcGw+XG4gICAgICBAaWYgKGZvcm1Db250cm9sLnZhbHVlICYmICFwcm9wc1snZGlzYWJsZWQnXSAmJiAhcHJvcHNbJ3JlYWRvbmx5J10pIHtcbiAgICAgICAgPHNwYW5cbiAgICAgICAgICBuei1pY29uXG4gICAgICAgICAgY2xhc3M9XCJhbnQtaW5wdXQtY2xlYXItaWNvblwiXG4gICAgICAgICAgbnpUaGVtZT1cImZpbGxcIlxuICAgICAgICAgIG56VHlwZT1cImNsb3NlLWNpcmNsZVwiXG4gICAgICAgICAgKGNsaWNrKT1cImZ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ddXCJcbiAgICAgICAgICBbbnpBZGRPbkFmdGVySWNvbl09XCJwcm9wc1snYWRkT25BZnRlckljb24nXVwiXG4gICAgICAgICAgW256QWRkT25CZWZvcmVJY29uXT1cInByb3BzWydhZGRPbkJlZm9yZUljb24nXVwiXG4gICAgICAgICAgW256QWRkT25CZWZvcmVdPVwiYWRkT25CZWZvcmVcIlxuICAgICAgICAgIFtuekFkZE9uQWZ0ZXJdPVwiYWRkT25BZnRlclwiXG4gICAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ25nQ2xhc3MnXVwiXG4gICAgICAgICAgW25nU3R5bGVdPVwicHJvcHNbJ25nU3R5bGUnXVwiXG4gICAgICAgICAgW256UHJlZml4XT1cInByb3BzWydwcmVmaXgnXVwiXG4gICAgICAgICAgW256Q29tcGFjdF09XCJwcm9wc1snY29tcGFjdCddISFcIlxuICAgICAgICAgIFtuelNlYXJjaF09XCJwcm9wc1snc2VhcmNoJ10hIVwiXG4gICAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXG4gICAgICAgICAgW256U3RhdHVzXT1cInByb3BzWydzdGF0dXMnXSFcIlxuICAgICAgICAgIFtuelN1ZmZpeF09XCJwYXNzd29yZEV5ZVRwbFwiXG4gICAgICAgID5cbiAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgIFt0eXBlXT1cInBhc3N3b3JkVmlzaWJsZSA/ICd0ZXh0JyA6ICdwYXNzd29yZCdcIlxuICAgICAgICAgICAgbnotaW5wdXRcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXG4gICAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgICAgICBbbnpCb3JkZXJsZXNzXT1cInByb3BzWydib3JkZXJsZXNzJ10hIVwiXG4gICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJwcm9wc1snbW9kZWxDaGFuZ2UnXSAmJiBwcm9wc1snbW9kZWxDaGFuZ2UnXShmaWVsZCwgJGV2ZW50KVwiXG4gICAgICAgICAgLz5cbiAgICAgICAgPC9uei1pbnB1dC1ncm91cD5cbiAgICAgIH1cbiAgICAgIEBjYXNlICgnYXV0b0NvbXBsZXRlJykge1xuICAgICAgICA8bnotaW5wdXQtZ3JvdXBcbiAgICAgICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ11cIlxuICAgICAgICAgIFtuelByZWZpeEljb25dPVwicHJvcHNbJ3ByZWZpeEljb24nXVwiXG4gICAgICAgICAgW256U3VmZml4SWNvbl09XCJwcm9wc1snc3VmZml4SWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkFmdGVySWNvbl09XCJwcm9wc1snYWRkT25BZnRlckljb24nXVwiXG4gICAgICAgICAgW256QWRkT25CZWZvcmVJY29uXT1cInByb3BzWydhZGRPbkJlZm9yZUljb24nXVwiXG4gICAgICAgICAgW256QWRkT25CZWZvcmVdPVwiYWRkT25CZWZvcmVcIlxuICAgICAgICAgIFtuekFkZE9uQWZ0ZXJdPVwiYWRkT25BZnRlclwiXG4gICAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ25nQ2xhc3MnXVwiXG4gICAgICAgICAgW25nU3R5bGVdPVwicHJvcHNbJ25nU3R5bGUnXVwiXG4gICAgICAgICAgW256UHJlZml4XT1cInByb3BzWydwcmVmaXgnXVwiXG4gICAgICAgICAgW256U3VmZml4XT1cInByb3BzWydhbGxvd0NsZWFyJ10hISA/IGlucHV0Q2xlYXJUcGwgOiBwcm9wc1snc3VmZml4J11cIlxuICAgICAgICA+XG4gICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICBuei1pbnB1dFxuICAgICAgICAgICAgW256Qm9yZGVybGVzc109XCJwcm9wc1snYm9yZGVybGVzcyddXCJcbiAgICAgICAgICAgIFtuekF1dG9jb21wbGV0ZV09XCJhdXRvXCJcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXG4gICAgICA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gPlxuICAgICAgICAgICAgICAgIHt7IG9wdGlvbi5sYWJlbCB9fVxuICAgICAgICAgICAgICA8L256LWF1dG8tb3B0aW9uPlxuICAgICAgICAgICAgfVxuICAgICAgICAgIDwvbnotYXV0b2NvbXBsZXRlPlxuICAgICAgICA8L256LWlucHV0LWdyb3VwPlxuICAgICAgfVxuICAgICAgQGNhc2UgKCdncm91cCcpIHtcbiAgICAgICAgPG56LWlucHV0LWdyb3VwXG4gICAgICAgICAgW256UHJlZml4SWNvbl09XCJwcm9wc1sncHJlZml4SWNvbiddXCJcbiAgICAgICAgICBbbnpTdWZmaXhJY29uXT1cInByb3BzWydzdWZmaXhJY29uJ11cIlxuICAgICAgICAgIFtuekFkZE9uQWZ0ZXJJY29uXT1cInByb3BzWydhZGRPbkFmdGVySWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkJlZm9yZUljb25dPVwicHJvcHNbJ2FkZE9uQmVmb3JlSWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkJlZm9yZV09XCJhZGRPbkJlZm9yZVwiXG4gICAgICAgICAgW256QWRkT25BZnRlcl09XCJhZGRPbkFmdGVyXCJcbiAgICAgICAgICBbbmdDbGFzc109XCJwcm9wc1snbmdDbGFzcyddXCJcbiAgICAgICAgICBbbmdTdHlsZV09XCJwcm9wc1snbmdTdHlsZSddXCJcbiAgICAgICAgICBbbnpQcmVmaXhdPVwicHJvcHNbJ3ByZWZpeCddXCJcbiAgICAgICAgICBbbnpTdWZmaXhdPVwicHJvcHNbJ2FsbG93Q2xlYXInXSEhID8gaW5wdXRDbGVhclRwbCA6IHByb3BzWydzdWZmaXgnXVwiXG4gICAgICAgICAgW256Q29tcGFjdF09XCJwcm9wc1snY29tcGFjdCddISFcIlxuICAgICAgICAgIFtuelNlYXJjaF09XCJwcm9wc1snc2VhcmNoJ10hIVwiXG4gICAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXG4gICAgICAgICAgW256U3RhdHVzXT1cInByb3BzWydzdGF0dXMnXSFcIlxuICAgICAgICA+XG4gICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICBuei1pbnB1dFxuICAgICAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcbiAgICAgICAgICAgIFtmb3JtbHlBdHRyaWJ1dGVzXT1cImZpZWxkXCJcbiAgICAgICAgICAgIFtuekJvcmRlcmxlc3NdPVwiISFwcm9wc1snYm9yZGVybGVzcyddISFcIlxuICAgICAgICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwicHJvcHNbJ21vZGVsQ2hhbmdlJ10/LihmaWVsZCwgJGV2ZW50KVwiXG4gICAgICAgICAgLz5cbiAgICAgICAgPC9uei1pbnB1dC1ncm91cD5cbiAgICAgIH1cbiAgICAgIEBkZWZhdWx0IHtcbiAgICAgICAgPGlucHV0XG4gICAgICAgICAgbnotaW5wdXRcbiAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ25nQ2xhc3MnXVwiXG4gICAgICAgICAgW25nU3R5bGVdPVwicHJvcHNbJ25nU3R5bGUnXVwiXG4gICAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcbiAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddXCJcbiAgICAgICAgICBbbnpTdGF0dXNdPVwicHJvcHNbJ3N0YXR1cyddXCJcbiAgICAgICAgICBbbnpCb3JkZXJsZXNzXT1cInByb3BzWydib3JkZXJsZXNzJ10hIVwiXG4gICAgICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwicHJvcHNbJ21vZGVsQ2hhbmdlJ10/LihmaWVsZCwgJGV2ZW50KVwiXG4gICAgICAgIC8+XG4gICAgICB9XG4gICAgfVxuXG4gICAgPCEtLSDmn6XnnIvlr4bnoIEgLS0+XG4gICAgPG5nLXRlbXBsYXRlICNwYXNzd29yZEV5ZVRwbD5cbiAgICAgIDxzcGFuXG4gICAgICAgIG56LWljb25cbiAgICAgICAgY2xhc3M9XCJjdXJzb3ItcG9pbnRlclwiXG4gICAgICAgIFtuelR5cGVdPVwicGFzc3dvcmRWaXNpYmxlID8gJ2V5ZS1pbnZpc2libGUnIDogJ2V5ZSdcIlxuICAgICAgICAoY2xpY2spPVwicGFzc3dvcmRWaXNpYmxlID0gIXBhc3N3b3JkVmlzaWJsZVwiXG4gICAgICA+PC9zcGFuPlxuXG4gICAgICBAaWYgKGZvcm1Db250cm9sLnZhbHVlICYmIHByb3BzWydhbGxvd0NsZWFyJ10hISkge1xuICAgICAgICA8c3BhblxuICAgICAgICAgIG56LWljb25cbiAgICAgICAgICBjbGFzcz1cImFudC1pbnB1dC1jbGVhci1pY29uXCJcbiAgICAgICAgICBuelRoZW1lPVwiZmlsbFwiXG4gICAgICAgICAgbnpUeXBlPVwiY2xvc2UtY2lyY2xlXCJcbiAgICAgICAgICAoY2xpY2spPVwiZm9ybUNvbnRyb2wucmVzZXQoKVwiXG4gICAgICAgID48L3NwYW4+XG4gICAgICB9XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgICA8IS0tIOa4hemZpOaVsOaNriAtLT5cbiAgICA8bmctdGVtcGxhdGUgI2lucHV0Q2xlYXJUcGw+XG4gICAgICBAaWYgKGZvcm1Db250cm9sLnZhbHVlICYmICFwcm9wc1snZGlzYWJsZWQnXSAmJiAhcHJvcHNbJ3JlYWRvbmx5J10pIHtcbiAgICAgICAgPHNwYW5cbiAgICAgICAgICBuei1pY29uXG4gICAgICAgICAgY2xhc3M9XCJhbnQtaW5wdXQtY2xlYXItaWNvblwiXG4gICAgICAgICAgbnpUaGVtZT1cImZpbGxcIlxuICAgICAgICAgIG56VHlwZT1cImNsb3NlLWNpcmNsZVwiXG4gICAgICAgICAgKGNsaWNrKT1cImZvcm1Db250cm9sLnJlc2V0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BsYXRlcywgJ2FkZE9uQWZ0ZXInKTtcbiAgfVxufVxuIl19
|
@@ -57,7 +57,7 @@ export class FormlyFieldRadio extends FieldType {
|
|
57
57
|
}
|
58
58
|
}
|
59
59
|
</nz-radio-group>
|
60
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"
|
60
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i2.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
61
61
|
}
|
62
62
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
63
63
|
type: Component,
|
@@ -52,6 +52,8 @@ class FormlyFieldInput extends FieldType {
|
|
52
52
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
53
53
|
[nzAddOnBefore]="addOnBefore"
|
54
54
|
[nzAddOnAfter]="addOnAfter"
|
55
|
+
[ngClass]="props['ngClass']"
|
56
|
+
[ngStyle]="props['ngStyle']"
|
55
57
|
[nzPrefix]="props['prefix']"
|
56
58
|
[nzCompact]="props['compact']!!"
|
57
59
|
[nzSearch]="props['search']!!"
|
@@ -78,6 +80,8 @@ class FormlyFieldInput extends FieldType {
|
|
78
80
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
79
81
|
[nzAddOnBefore]="addOnBefore"
|
80
82
|
[nzAddOnAfter]="addOnAfter"
|
83
|
+
[ngClass]="props['ngClass']"
|
84
|
+
[ngStyle]="props['ngStyle']"
|
81
85
|
[nzPrefix]="props['prefix']"
|
82
86
|
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
83
87
|
>
|
@@ -98,7 +102,11 @@ class FormlyFieldInput extends FieldType {
|
|
98
102
|
#auto
|
99
103
|
>
|
100
104
|
@for (option of props['autocompleteOptions'].dataSource; track option) {
|
101
|
-
<nz-auto-option
|
105
|
+
<nz-auto-option
|
106
|
+
[nzLabel]="option.label"
|
107
|
+
[nzValue]="option.value"
|
108
|
+
[attr.title]="option.label"
|
109
|
+
>
|
102
110
|
{{ option.label }}
|
103
111
|
</nz-auto-option>
|
104
112
|
}
|
@@ -113,6 +121,8 @@ class FormlyFieldInput extends FieldType {
|
|
113
121
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
114
122
|
[nzAddOnBefore]="addOnBefore"
|
115
123
|
[nzAddOnAfter]="addOnAfter"
|
124
|
+
[ngClass]="props['ngClass']"
|
125
|
+
[ngStyle]="props['ngStyle']"
|
116
126
|
[nzPrefix]="props['prefix']"
|
117
127
|
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
118
128
|
[nzCompact]="props['compact']!!"
|
@@ -123,8 +133,6 @@ class FormlyFieldInput extends FieldType {
|
|
123
133
|
<input
|
124
134
|
nz-input
|
125
135
|
type="text"
|
126
|
-
[ngClass]="props['ngClass']"
|
127
|
-
[ngStyle]="props['ngStyle']"
|
128
136
|
[formControl]="formControl"
|
129
137
|
[formlyAttributes]="field"
|
130
138
|
[nzBorderless]="!!props['borderless']!!"
|
@@ -143,7 +151,7 @@ class FormlyFieldInput extends FieldType {
|
|
143
151
|
[nzSize]="props['size']"
|
144
152
|
[nzStatus]="props['status']"
|
145
153
|
[nzBorderless]="props['borderless']!!"
|
146
|
-
(ngModelChange)="props['modelChange']
|
154
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
147
155
|
/>
|
148
156
|
}
|
149
157
|
}
|
@@ -195,6 +203,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
195
203
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
196
204
|
[nzAddOnBefore]="addOnBefore"
|
197
205
|
[nzAddOnAfter]="addOnAfter"
|
206
|
+
[ngClass]="props['ngClass']"
|
207
|
+
[ngStyle]="props['ngStyle']"
|
198
208
|
[nzPrefix]="props['prefix']"
|
199
209
|
[nzCompact]="props['compact']!!"
|
200
210
|
[nzSearch]="props['search']!!"
|
@@ -221,6 +231,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
221
231
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
222
232
|
[nzAddOnBefore]="addOnBefore"
|
223
233
|
[nzAddOnAfter]="addOnAfter"
|
234
|
+
[ngClass]="props['ngClass']"
|
235
|
+
[ngStyle]="props['ngStyle']"
|
224
236
|
[nzPrefix]="props['prefix']"
|
225
237
|
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
226
238
|
>
|
@@ -241,7 +253,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
241
253
|
#auto
|
242
254
|
>
|
243
255
|
@for (option of props['autocompleteOptions'].dataSource; track option) {
|
244
|
-
<nz-auto-option
|
256
|
+
<nz-auto-option
|
257
|
+
[nzLabel]="option.label"
|
258
|
+
[nzValue]="option.value"
|
259
|
+
[attr.title]="option.label"
|
260
|
+
>
|
245
261
|
{{ option.label }}
|
246
262
|
</nz-auto-option>
|
247
263
|
}
|
@@ -256,6 +272,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
256
272
|
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
257
273
|
[nzAddOnBefore]="addOnBefore"
|
258
274
|
[nzAddOnAfter]="addOnAfter"
|
275
|
+
[ngClass]="props['ngClass']"
|
276
|
+
[ngStyle]="props['ngStyle']"
|
259
277
|
[nzPrefix]="props['prefix']"
|
260
278
|
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
261
279
|
[nzCompact]="props['compact']!!"
|
@@ -266,8 +284,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
266
284
|
<input
|
267
285
|
nz-input
|
268
286
|
type="text"
|
269
|
-
[ngClass]="props['ngClass']"
|
270
|
-
[ngStyle]="props['ngStyle']"
|
271
287
|
[formControl]="formControl"
|
272
288
|
[formlyAttributes]="field"
|
273
289
|
[nzBorderless]="!!props['borderless']!!"
|
@@ -286,7 +302,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
286
302
|
[nzSize]="props['size']"
|
287
303
|
[nzStatus]="props['status']"
|
288
304
|
[nzBorderless]="props['borderless']!!"
|
289
|
-
(ngModelChange)="props['modelChange']
|
305
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
290
306
|
/>
|
291
307
|
}
|
292
308
|
}
|
@@ -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';\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,CAAC,IAAI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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 [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\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 [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\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\n [nzLabel]=\"option.label\"\n [nzValue]=\"option.value\"\n [attr.title]=\"option.label\"\n >\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 [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\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 [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']?.(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":";;;;;;;;;;;;;;;;;;AAkKM,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,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;KACvE;AAED,IAAA,IAAI,UAAU,GAAA;AACZ,QAAA,OAAO,cAAc,CAAC,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R,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;;;;"}
|
@@ -64,7 +64,7 @@ class FormlyFieldRadio extends FieldType {
|
|
64
64
|
}
|
65
65
|
}
|
66
66
|
</nz-radio-group>
|
67
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"
|
67
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i2.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
68
68
|
}
|
69
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
70
70
|
type: Component,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-radio.mjs","sources":["../../../../packages/formlyantd/radio/src/radio.type.ts","../../../../packages/formlyantd/radio/src/radio.module.ts","../../../../packages/formlyantd/radio/src/ngx-formly-zorro-antd-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type { FormlyFieldSelectProps } from '@ngx-formly/core/select';\nimport type { NzSizeLDSType } from 'ng-zorro-antd/core/types';\nimport type { NzRadioButtonStyle } from 'ng-zorro-antd/radio';\n\ninterface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {\n type?: 'button';\n\n /**\n * nz-radio-group 下所有 input[type=\"radio\"] 的 name 属性\n */\n name?: string | null;\n /**\n * 大小,只对按钮样式生效\n * @default default\n */\n size?: NzSizeLDSType;\n /**\n * RadioButton 的风格样式,目前有描边和填色两种风格\n * @default outline\n */\n buttonStyle?: NzRadioButtonStyle;\n}\n\nexport interface FormlyRadioFieldConfig extends NzFormlyFieldConfig<RadioProps> {\n type: 'radio' | Type<FormlyFieldRadio>;\n}\n\n@Component({\n selector: 'formly-field-radio',\n template: `\n <nz-radio-group\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzName]=\"field.name ?? null\"\n [nzSize]=\"props['size']!\"\n [nzButtonStyle]=\"props['buttonStyle']!\"\n >\n @if (props.type !== 'button') {\n @for (\n option of props.options | formlySelectOptions: field | async;\n track option;\n let i = $index\n ) {\n <label\n [id]=\"id + '_' + i\"\n [nzDisabled]=\"option.disabled === true\"\n [nzValue]=\"option.value\"\n nz-radio\n >\n {{ option.label }}\n </label>\n }\n } @else {\n @for (\n option of props.options | formlySelectOptions: field | async;\n track option;\n let i = $index\n ) {\n <label\n [id]=\"id + '_' + i\"\n [nzDisabled]=\"option.disabled === true\"\n [nzValue]=\"option.value\"\n nz-radio-button\n >\n {{ option.label }}\n </label>\n }\n }\n </nz-radio-group>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {\n override defaultOptions = {\n props: {\n size: 'default' as const,\n buttonStyle: 'outline' as const\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\n\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyFieldRadio } from './radio.type';\n\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n FormlySelectModule,\n NzFormModule,\n\n NzRadioModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;AA6EM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;AA7C5E,IAAA,WAAA,GAAA;;AA8CW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,WAAW,EAAE,SAAkB;AAChC,aAAA;SACF,CAAC;AACH,KAAA;8GAPY,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,EA3CjB,QAAA,EAAA,oBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,YAAA,EAAA,aAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-radio.mjs","sources":["../../../../packages/formlyantd/radio/src/radio.type.ts","../../../../packages/formlyantd/radio/src/radio.module.ts","../../../../packages/formlyantd/radio/src/ngx-formly-zorro-antd-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type { FormlyFieldSelectProps } from '@ngx-formly/core/select';\nimport type { NzSizeLDSType } from 'ng-zorro-antd/core/types';\nimport type { NzRadioButtonStyle } from 'ng-zorro-antd/radio';\n\ninterface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {\n type?: 'button';\n\n /**\n * nz-radio-group 下所有 input[type=\"radio\"] 的 name 属性\n */\n name?: string | null;\n /**\n * 大小,只对按钮样式生效\n * @default default\n */\n size?: NzSizeLDSType;\n /**\n * RadioButton 的风格样式,目前有描边和填色两种风格\n * @default outline\n */\n buttonStyle?: NzRadioButtonStyle;\n}\n\nexport interface FormlyRadioFieldConfig extends NzFormlyFieldConfig<RadioProps> {\n type: 'radio' | Type<FormlyFieldRadio>;\n}\n\n@Component({\n selector: 'formly-field-radio',\n template: `\n <nz-radio-group\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzName]=\"field.name ?? null\"\n [nzSize]=\"props['size']!\"\n [nzButtonStyle]=\"props['buttonStyle']!\"\n >\n @if (props.type !== 'button') {\n @for (\n option of props.options | formlySelectOptions: field | async;\n track option;\n let i = $index\n ) {\n <label\n [id]=\"id + '_' + i\"\n [nzDisabled]=\"option.disabled === true\"\n [nzValue]=\"option.value\"\n nz-radio\n >\n {{ option.label }}\n </label>\n }\n } @else {\n @for (\n option of props.options | formlySelectOptions: field | async;\n track option;\n let i = $index\n ) {\n <label\n [id]=\"id + '_' + i\"\n [nzDisabled]=\"option.disabled === true\"\n [nzValue]=\"option.value\"\n nz-radio-button\n >\n {{ option.label }}\n </label>\n }\n }\n </nz-radio-group>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {\n override defaultOptions = {\n props: {\n size: 'default' as const,\n buttonStyle: 'outline' as const\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\n\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyFieldRadio } from './radio.type';\n\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n FormlySelectModule,\n NzFormModule,\n\n NzRadioModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;AA6EM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;AA7C5E,IAAA,WAAA,GAAA;;AA8CW,QAAA,IAAA,CAAA,cAAc,GAAG;A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A,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAlB5B,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YACvB,kBAAkB;YAClB,YAAY;YAEZ,aAAa;YACb,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,OAAO;AACb,wBAAA,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBArB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,kBAAkB;wBAClB,YAAY;wBAEZ,aAAa;wBACb,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;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AChCD;;AAEG;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ngx-formly-zorro-antd",
|
3
|
-
"version": "17.2.
|
3
|
+
"version": "17.2.2",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org",
|
6
6
|
"access": "public"
|
@@ -43,6 +43,12 @@
|
|
43
43
|
"esm": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
44
44
|
"default": "./fesm2022/ngx-formly-zorro-antd-button.mjs"
|
45
45
|
},
|
46
|
+
"./card": {
|
47
|
+
"types": "./card/index.d.ts",
|
48
|
+
"esm2022": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
49
|
+
"esm": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
50
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-card.mjs"
|
51
|
+
},
|
46
52
|
"./cascader": {
|
47
53
|
"types": "./cascader/index.d.ts",
|
48
54
|
"esm2022": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
@@ -55,23 +61,17 @@
|
|
55
61
|
"esm": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
56
62
|
"default": "./fesm2022/ngx-formly-zorro-antd-checkbox.mjs"
|
57
63
|
},
|
58
|
-
"./card-wrapper": {
|
59
|
-
"types": "./card-wrapper/index.d.ts",
|
60
|
-
"esm2022": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
61
|
-
"esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
62
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
|
63
|
-
},
|
64
64
|
"./button-group": {
|
65
65
|
"types": "./button-group/index.d.ts",
|
66
66
|
"esm2022": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
67
67
|
"esm": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
68
68
|
"default": "./fesm2022/ngx-formly-zorro-antd-button-group.mjs"
|
69
69
|
},
|
70
|
-
"./card": {
|
71
|
-
"types": "./card/index.d.ts",
|
72
|
-
"esm2022": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
73
|
-
"esm": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
74
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-card.mjs"
|
70
|
+
"./card-wrapper": {
|
71
|
+
"types": "./card-wrapper/index.d.ts",
|
72
|
+
"esm2022": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
73
|
+
"esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
74
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
|
75
75
|
},
|
76
76
|
"./common": {
|
77
77
|
"types": "./common/index.d.ts",
|
@@ -109,18 +109,18 @@
|
|
109
109
|
"esm": "./esm2022/grid/ngx-formly-zorro-antd-grid.mjs",
|
110
110
|
"default": "./fesm2022/ngx-formly-zorro-antd-grid.mjs"
|
111
111
|
},
|
112
|
-
"./input": {
|
113
|
-
"types": "./input/index.d.ts",
|
114
|
-
"esm2022": "./esm2022/input/ngx-formly-zorro-antd-input.mjs",
|
115
|
-
"esm": "./esm2022/input/ngx-formly-zorro-antd-input.mjs",
|
116
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-input.mjs"
|
117
|
-
},
|
118
112
|
"./input-group": {
|
119
113
|
"types": "./input-group/index.d.ts",
|
120
114
|
"esm2022": "./esm2022/input-group/ngx-formly-zorro-antd-input-group.mjs",
|
121
115
|
"esm": "./esm2022/input-group/ngx-formly-zorro-antd-input-group.mjs",
|
122
116
|
"default": "./fesm2022/ngx-formly-zorro-antd-input-group.mjs"
|
123
117
|
},
|
118
|
+
"./input": {
|
119
|
+
"types": "./input/index.d.ts",
|
120
|
+
"esm2022": "./esm2022/input/ngx-formly-zorro-antd-input.mjs",
|
121
|
+
"esm": "./esm2022/input/ngx-formly-zorro-antd-input.mjs",
|
122
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-input.mjs"
|
123
|
+
},
|
124
124
|
"./input-number": {
|
125
125
|
"types": "./input-number/index.d.ts",
|
126
126
|
"esm2022": "./esm2022/input-number/ngx-formly-zorro-antd-input-number.mjs",
|
@@ -169,18 +169,18 @@
|
|
169
169
|
"esm": "./esm2022/switch/ngx-formly-zorro-antd-switch.mjs",
|
170
170
|
"default": "./fesm2022/ngx-formly-zorro-antd-switch.mjs"
|
171
171
|
},
|
172
|
-
"./text-value": {
|
173
|
-
"types": "./text-value/index.d.ts",
|
174
|
-
"esm2022": "./esm2022/text-value/ngx-formly-zorro-antd-text-value.mjs",
|
175
|
-
"esm": "./esm2022/text-value/ngx-formly-zorro-antd-text-value.mjs",
|
176
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-text-value.mjs"
|
177
|
-
},
|
178
172
|
"./tabs": {
|
179
173
|
"types": "./tabs/index.d.ts",
|
180
174
|
"esm2022": "./esm2022/tabs/ngx-formly-zorro-antd-tabs.mjs",
|
181
175
|
"esm": "./esm2022/tabs/ngx-formly-zorro-antd-tabs.mjs",
|
182
176
|
"default": "./fesm2022/ngx-formly-zorro-antd-tabs.mjs"
|
183
177
|
},
|
178
|
+
"./text-value": {
|
179
|
+
"types": "./text-value/index.d.ts",
|
180
|
+
"esm2022": "./esm2022/text-value/ngx-formly-zorro-antd-text-value.mjs",
|
181
|
+
"esm": "./esm2022/text-value/ngx-formly-zorro-antd-text-value.mjs",
|
182
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-text-value.mjs"
|
183
|
+
},
|
184
184
|
"./textarea": {
|
185
185
|
"types": "./textarea/index.d.ts",
|
186
186
|
"esm2022": "./esm2022/textarea/ngx-formly-zorro-antd-textarea.mjs",
|