ngx-formly-zorro-antd 17.3.7 → 17.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/cascader/cascader.type.mjs +7 -7
- package/esm2022/checkbox/checkbox.type.mjs +3 -3
- package/esm2022/datepicker/datepicker.type.mjs +15 -21
- package/esm2022/input/input.type.mjs +5 -13
- package/esm2022/input-number/input-number.type.mjs +7 -7
- package/esm2022/rate/rate.type.mjs +11 -11
- package/esm2022/slider/slider.type.mjs +5 -5
- package/esm2022/switch/switch.type.mjs +3 -3
- package/esm2022/tabs/tabs.wrapper.mjs +17 -29
- package/esm2022/timepicker/timepicker.type.mjs +5 -5
- package/esm2022/transfer/transfer.type.mjs +7 -7
- package/esm2022/tree-select/tree-select.type.mjs +3 -3
- package/esm2022/upload/upload.type.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +6 -6
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +2 -2
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +14 -20
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +6 -6
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +4 -12
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +10 -10
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +4 -4
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +2 -2
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +16 -28
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +4 -4
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +6 -6
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +2 -2
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +6 -6
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/package.json +12 -12
@@ -40,26 +40,20 @@ export class FormlyWrapperTabs extends FieldWrapper {
|
|
40
40
|
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
41
41
|
[nzHideAdd]="props['hideAdd']!!"
|
42
42
|
[nzAddIcon]="props['addIcon']!"
|
43
|
-
(nzSelectedIndexChange)="
|
44
|
-
|
45
|
-
"
|
46
|
-
(
|
47
|
-
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
48
|
-
"
|
49
|
-
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
50
|
-
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
43
|
+
(nzSelectedIndexChange)="props['selectedIndexChange']?.(field, $event)"
|
44
|
+
(nzSelectChange)="props['selectChange']?.(field, $event.index, $event.tab)"
|
45
|
+
(nzAdd)="props['onAdd']?.(field)"
|
46
|
+
(nzClose)="props['onClose']?.(field, $event.index)"
|
51
47
|
>
|
52
48
|
@for (tab of field.fieldGroup; track tab.id) {
|
53
49
|
<nz-tab
|
54
50
|
[nzTitle]="tab.props?.label || ''"
|
55
51
|
[nzForceRender]="tab.props!['tab']?.forceRender"
|
56
52
|
[nzDisabled]="tab.props!['tab']?.disabled"
|
57
|
-
(nzClick)="tab.props!['tab']?.click
|
58
|
-
(nzContextmenu)="
|
59
|
-
|
60
|
-
"
|
61
|
-
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select(field)"
|
62
|
-
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect(field)"
|
53
|
+
(nzClick)="tab.props!['tab']?.click?.(field)"
|
54
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu?.(field, $event)"
|
55
|
+
(nzSelect)="tab.props!['tab']?.select?.(field)"
|
56
|
+
(nzDeselect)="tab.props!['tab']?.deselect?.(field)"
|
63
57
|
>
|
64
58
|
<formly-field [field]="tab"></formly-field>
|
65
59
|
</nz-tab>
|
@@ -85,26 +79,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
85
79
|
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
86
80
|
[nzHideAdd]="props['hideAdd']!!"
|
87
81
|
[nzAddIcon]="props['addIcon']!"
|
88
|
-
(nzSelectedIndexChange)="
|
89
|
-
|
90
|
-
"
|
91
|
-
(
|
92
|
-
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
93
|
-
"
|
94
|
-
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
95
|
-
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
82
|
+
(nzSelectedIndexChange)="props['selectedIndexChange']?.(field, $event)"
|
83
|
+
(nzSelectChange)="props['selectChange']?.(field, $event.index, $event.tab)"
|
84
|
+
(nzAdd)="props['onAdd']?.(field)"
|
85
|
+
(nzClose)="props['onClose']?.(field, $event.index)"
|
96
86
|
>
|
97
87
|
@for (tab of field.fieldGroup; track tab.id) {
|
98
88
|
<nz-tab
|
99
89
|
[nzTitle]="tab.props?.label || ''"
|
100
90
|
[nzForceRender]="tab.props!['tab']?.forceRender"
|
101
91
|
[nzDisabled]="tab.props!['tab']?.disabled"
|
102
|
-
(nzClick)="tab.props!['tab']?.click
|
103
|
-
(nzContextmenu)="
|
104
|
-
|
105
|
-
"
|
106
|
-
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select(field)"
|
107
|
-
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect(field)"
|
92
|
+
(nzClick)="tab.props!['tab']?.click?.(field)"
|
93
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu?.(field, $event)"
|
94
|
+
(nzSelect)="tab.props!['tab']?.select?.(field)"
|
95
|
+
(nzDeselect)="tab.props!['tab']?.deselect?.(field)"
|
108
96
|
>
|
109
97
|
<formly-field [field]="tab"></formly-field>
|
110
98
|
</nz-tab>
|
@@ -113,4 +101,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
113
101
|
changeDetection: ChangeDetectionStrategy.OnPush
|
114
102
|
}]
|
115
103
|
}] });
|
116
|
-
//# sourceMappingURL=data:application/json;base64,
|
104
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90YWJzL3NyYy90YWJzLndyYXBwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7Ozs7QUE4Q2hELE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxZQUE0QztJQXRDbkY7O1FBdUNXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLFFBQVEsRUFBRSxJQUFJO2dCQUNkLElBQUksRUFBRSxTQUFrQjtnQkFDeEIsSUFBSSxFQUFFLE1BQWU7Z0JBQ3JCLFdBQVcsRUFBRSxLQUFjO2dCQUMzQixPQUFPLEVBQUUsS0FBSzt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wZXJUYWJzIGV4dGVuZHMgRmllbGRXcmFwcGVyPE56Rm9ybWx5RmllbGRDb25maWc8VGFic1Byb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgYW5pbWF0ZWQ6IHRydWUsXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXG4gICAgICB0eXBlOiAnbGluZScgYXMgY29uc3QsXG4gICAgICB0YWJQb3NpdGlvbjogJ3RvcCcgYXMgY29uc3QsXG4gICAgICBoaWRlQWxsOiBmYWxzZSxcbiAgICAgIGxpbmtSb3V0ZXI6IGZhbHNlLFxuICAgICAgbGlua0V4YWN0OiB0cnVlLFxuICAgICAgY2VudGVyZWQ6IGZhbHNlLFxuICAgICAgaGlkZUFkZDogZmFsc2UsXG4gICAgICB0YWI6IHtcbiAgICAgICAgZm9yY2VSZW5kZXI6IGZhbHNlLFxuICAgICAgICBkaXNhYmxlZDogZmFsc2VcbiAgICAgIH1cbiAgICB9XG4gIH07XG59XG4iXX0=
|
@@ -51,8 +51,8 @@ export class FormlyFieldTimepicker extends FieldType {
|
|
51
51
|
[nzPopupClassName]="props['popupClassName']"
|
52
52
|
[nzUse12Hours]="props['use12Hours']!!"
|
53
53
|
[nzSuffixIcon]="props['suffixIcon']"
|
54
|
-
(ngModelChange)="props.change
|
55
|
-
(nzOpenChange)="props['openChange']
|
54
|
+
(ngModelChange)="props.change?.(field, $event)"
|
55
|
+
(nzOpenChange)="props['openChange']?.(field, $event)"
|
56
56
|
></nz-time-picker>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzTimePickerComponent, selector: "nz-time-picker", inputs: ["nzId", "nzSize", "nzStatus", "nzHourStep", "nzMinuteStep", "nzSecondStep", "nzClearText", "nzNowText", "nzOkText", "nzPopupClassName", "nzPlaceHolder", "nzAddOn", "nzDefaultOpenValue", "nzDisabledHours", "nzDisabledMinutes", "nzDisabledSeconds", "nzFormat", "nzOpen", "nzUse12Hours", "nzSuffixIcon", "nzHideDisabledOptions", "nzAllowEmpty", "nzDisabled", "nzAutoFocus", "nzBackdrop", "nzBorderless", "nzInputReadOnly"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
57
57
|
}
|
58
58
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
|
@@ -87,10 +87,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
87
87
|
[nzPopupClassName]="props['popupClassName']"
|
88
88
|
[nzUse12Hours]="props['use12Hours']!!"
|
89
89
|
[nzSuffixIcon]="props['suffixIcon']"
|
90
|
-
(ngModelChange)="props.change
|
91
|
-
(nzOpenChange)="props['openChange']
|
90
|
+
(ngModelChange)="props.change?.(field, $event)"
|
91
|
+
(nzOpenChange)="props['openChange']?.(field, $event)"
|
92
92
|
></nz-time-picker>`,
|
93
93
|
changeDetection: ChangeDetectionStrategy.OnPush
|
94
94
|
}]
|
95
95
|
}] });
|
96
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZXBpY2tlci50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90aW1lcGlja2VyL3NyYy90aW1lcGlja2VyLnR5cGUudHMiXSwib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RUeXBlQ29uZmlnPiB7XG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xuICAgIHByb3BzOiB7XG4gICAgICBhbGxvd0VtcHR5OiB0cnVlLFxuICAgICAgYXV0b0ZvY3VzOiBmYWxzZSxcbiAgICAgIGJhY2tkcm9wOiBmYWxzZSxcbiAgICAgIGJvcmRlcmxlc3M6IGZhbHNlLFxuICAgICAgaW5wdXRSZWFkT25seTogZmFsc2UsXG4gICAgICBvcGVuOiBmYWxzZSxcbiAgICAgIGNsZWFyVGV4dDogJ2NsZWFyJyxcbiAgICAgIGRlZmF1bHRPcGVuVmFsdWU6IG5ldyBEYXRlKCksXG4gICAgICBmb3JtYXQ6ICdISDptbTpzcycgYXMgTnpTYWZlQW55XG4gICAgfVxuICB9O1xufVxuIl19
|
@@ -45,9 +45,9 @@ export class FormlyFieldTransfer extends FieldType {
|
|
45
45
|
[nzSelectedKeys]="props['selectedKeys']"
|
46
46
|
[nzTargetKeys]="props['targetKeys']"
|
47
47
|
[resultMap]="props['resultMap']"
|
48
|
-
(nzChange)="props['onChange']
|
49
|
-
(nzSearchChange)="props['searchChange']
|
50
|
-
(nzSelectChange)="props['selectChange']
|
48
|
+
(nzChange)="props['onChange']?.($event)"
|
49
|
+
(nzSearchChange)="props['searchChange']?.(field, $event)"
|
50
|
+
(nzSelectChange)="props['selectChange']?.(field, $event)"
|
51
51
|
></formly-transfer>`, 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: "directive", type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: i3.TransferComponent, selector: "formly-transfer", inputs: ["resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
52
52
|
}
|
53
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldTransfer, decorators: [{
|
@@ -74,9 +74,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
74
74
|
[nzSelectedKeys]="props['selectedKeys']"
|
75
75
|
[nzTargetKeys]="props['targetKeys']"
|
76
76
|
[resultMap]="props['resultMap']"
|
77
|
-
(nzChange)="props['onChange']
|
78
|
-
(nzSearchChange)="props['searchChange']
|
79
|
-
(nzSelectChange)="props['selectChange']
|
77
|
+
(nzChange)="props['onChange']?.($event)"
|
78
|
+
(nzSearchChange)="props['searchChange']?.(field, $event)"
|
79
|
+
(nzSelectChange)="props['selectChange']?.(field, $event)"
|
80
80
|
></formly-transfer>`,
|
81
81
|
changeDetection: ChangeDetectionStrategy.OnPush
|
82
82
|
}]
|
@@ -84,4 +84,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
84
84
|
type: ViewChild,
|
85
85
|
args: ['transfer', { static: true }]
|
86
86
|
}] } });
|
87
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmZXIudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdHJhbnNmZXIvc3JjL3RyYW5zZmVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBcUIsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pHLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7QUFLOUQsT0FBTyxFQUNMLG1CQUFtQixFQU1wQixNQUFNLHdCQUF3QixDQUFDOzs7OztBQW1KaEMsTUF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W1bXTtcblxuICAvKipcbiAgICog5qCH6aKY6ZuG5ZCI77yM6aG65bqP5LuO5bem6Iez5Y+zXG4gICAqIEBkZWZhdWx0IFsnJywgJyddXG4gICAqL1xuICB0aXRsZXM/OiBzdHJpbmdbXTtcblxuICAvKipcbiAgICog5pON5L2c5paH5qGI6ZuG5ZCI77yM6aG65bqP5LuO5LiL6Iez5LiKXG4gICAqIEBkZWZhdWx0IFsnJywgJyddXG4gICAqL1xuICBvcGVyYXRpb25zPzogc3RyaW5nW107XG5cbiAgLyoqXG4gICAqIOS4pOS4quepv+aireahhueahOiHquWumuS5ieagt+W8j++8jOetieWQjCBuZ1N0eWxlXG4gICAqL1xuICBsaXN0U3R5bGU/OiBOZ1N0eWxlSW50ZXJmYWNlO1xuXG4gIC8qKlxuICAgKiDljZXmlbDljZXkvY1cbiAgICogQGRlZmF1bHQg6aG555uuXG4gICAqL1xuICBpdGVtVW5pdD86IHN0cmluZztcblxuICAvKipcbiAgICog5aSN5pWw5Y2V5L2NXG4gICAqIEBkZWZhdWx0IOmhueebrlxuICAgKi9cbiAgaXRlbXNVbml0Pzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiDoh6rlrprkuYnmuLLmn5PliJfooajvvIzop4HnpLrkvotcbiAgICogQGRlZmF1bHQgW251bGwsIG51bGxdXG4gICAqL1xuICByZW5kZXJMaXN0PzogQXJyYXk8VGVtcGxhdGVSZWY8TnpTYWZlQW55PiB8IG51bGw+IHwgbnVsbDtcblxuICAvKipcbiAgICog5q+P6KGM5pWw5o2u5riy5p+T5qih5p2/77yM6KeB56S65L6LXG4gICAqL1xuICByZW5kZXI/OiBUZW1wbGF0ZVJlZjxOelNhZmVBbnk+IHwgbnVsbDtcblxuICAvKipcbiAgICog5bqV6YOo5riy5p+T5qih5p2/77yM6KeB56S65L6LXG4gICAqL1xuICBmb290ZXI/OiBUZW1wbGF0ZVJlZjxOelNhZmVBbnk+IHwgbnVsbDtcblxuICAvKipcbiAgICog5piv5ZCm5pi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ZCI77yM6aG65bqP5LuO5bem6Iez5Y+zXG4gICAqIEBkZWZhdWx0IFsnJywgJyddXG4gICAqL1xuICB0aXRsZXM/OiBzdHJpbmdbXTtcblxuICAvKipcbiAgICog5pON5L2c5paH5qGI6ZuG5ZCI77yM6aG65bqP5LuO5LiL6Iez5LiKXG4gICAqIEBkZWZhdWx0IFsnJywgJyddXG4gICAqL1xuICBvcGVyYXRpb25zPzogc3RyaW5nW107XG5cbiAgLyoqXG4gICAqIOS4pOS4quepv+aireahhueahOiHquWumuS5ieagt+W8j++8jOetieWQjCBuZ1N0eWxlXG4gICAqL1xuICBsaXN0U3R5bGU/OiBOZ1N0eWxlSW50ZXJmYWNlO1xuXG4gIC8qKlxuICAgKiDljZXmlbDljZXkvY1cbiAgICogQGRlZmF1bHQg6aG555uuXG4gICAqL1xuICBpdGVtVW5pdD86IHN0cmluZztcblxuICAvKipcbiAgICog5aSN5pWw5Y2V5L2NXG4gICAqIEBkZWZhdWx0IOmhueebrlxuICAgKi9cbiAgaXRlbXNVbml0Pzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiDoh6rlrprkuYnmuLLmn5PliJfooajvvIzop4HnpLrkvotcbiAgICogQGRlZmF1bHQgW251bGwsIG51bGxdXG4gICAqL1xuICByZW5kZXJMaXN0PzogQXJyYXk8VGVtcGxhdGVSZWY8TnpTYWZlQW55PiB8IG51bGw+IHwgbnVsbDtcblxuICAvKipcbiAgICog5q+P6KGM5pWw5o2u5riy5p+T5qih5p2/77yM6KeB56S65L6LXG4gICAqL1xuICByZW5kZXI/OiBUZW1wbGF0ZVJlZjxOelNhZmVBbnk+IHwgbnVsbDtcblxuICAvKipcbiAgICog5bqV6YOo5riy5p+T5qih5p2/77yM6KeB56S65L6LXG4gICAqL1xuICBmb290ZXI/OiBUZW1wbGF0ZVJlZjxOelNhZmVBbnk+IHwgbnVsbDtcblxuICAvKipcbiAgICog5piv5ZCm5pi+56S65pCc57Si5qGGXG4gICAqIEBkZWZhdWx0IGZh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mdlJ10/LigkZXZlbnQpXCJcbiAgICAobnpTZWFyY2hDaGFuZ2UpPVwicHJvcHNbJ3NlYXJjaENoYW5nZSddPy4oZmllbGQsICRldmVudClcIlxuICAgIChuelNlbGVjdENoYW5nZSk9XCJwcm9wc1snc2VsZWN0Q2hhbmdlJ10/LihmaWVsZCwgJGV2ZW50KVwiXG4gID48L2Zvcm1seS10cmFuc2Zlcj5gLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFRyYW5zZmVyIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZz4gaW1wbGVtZW50cyBPbkluaXQge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgZGF0YVNvdXJjZTogW10sXG4gICAgICB0aXRsZXM6IFsnJywgJyddLFxuICAgICAgb3BlcmF0aW9uczogWycnLCAnJ10sXG4gICAgICByZW5kZXJMaXN0OiBbbnVsbCwgbnVsbF0sXG4gICAgICBsaXN0U3R5bGU6IHt9XG4gICAgfVxuICB9O1xuXG4gIEBWaWV3Q2hpbGQoJ3RyYW5zZmVyJywgeyBzdGF0aWM6IHRydWUgfSkgdHJhbnNmZXIhOiBOelRyYW5zZmVyQ29tcG9uZW50O1xuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIGNvbnN0IGNhbk1vdmUgPSB0aGlzLnByb3BzWydjYW5Nb3ZlJ107XG4gICAgaWYgKGNhbk1vdmUgIT09IG51bGwgJiYgY2FuTW92ZSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICB0aGlzLnRyYW5zZmVyLm56Q2FuTW92ZSA9IGNhbk1vdmU7XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -66,7 +66,7 @@ export class FormlyFieldTreeSelect extends FieldType {
|
|
66
66
|
[nzVirtualMaxBufferPx]="props['virtualMaxBufferPx']!"
|
67
67
|
[nzVirtualMinBufferPx]="props['virtualMinBufferPx']!"
|
68
68
|
[nzBackdrop]="props['backdrop']!!"
|
69
|
-
(nzExpandChange)="props['expandChange']
|
69
|
+
(nzExpandChange)="props['expandChange']?.(field, $event)"
|
70
70
|
></nz-tree-select>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: "component", type: i4.NzTreeSelectComponent, selector: "nz-tree-select", inputs: ["nzId", "nzAllowClear", "nzShowExpand", "nzShowLine", "nzDropdownMatchSelectWidth", "nzCheckable", "nzHideUnMatched", "nzShowIcon", "nzShowSearch", "nzDisabled", "nzAsyncData", "nzMultiple", "nzDefaultExpandAll", "nzCheckStrictly", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzExpandedIcon", "nzNotFoundContent", "nzNodes", "nzOpen", "nzSize", "nzPlaceHolder", "nzDropdownStyle", "nzDropdownClassName", "nzBackdrop", "nzStatus", "nzPlacement", "nzExpandedKeys", "nzDisplayWith", "nzMaxTagCount", "nzMaxTagPlaceholder", "nzTreeTemplate"], outputs: ["nzOpenChange", "nzCleared", "nzRemoved", "nzExpandChange", "nzTreeClick", "nzTreeCheckBoxChange"], exportAs: ["nzTreeSelect"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
71
71
|
}
|
72
72
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldTreeSelect, decorators: [{
|
@@ -106,11 +106,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
106
106
|
[nzVirtualMaxBufferPx]="props['virtualMaxBufferPx']!"
|
107
107
|
[nzVirtualMinBufferPx]="props['virtualMinBufferPx']!"
|
108
108
|
[nzBackdrop]="props['backdrop']!!"
|
109
|
-
(nzExpandChange)="props['expandChange']
|
109
|
+
(nzExpandChange)="props['expandChange']?.(field, $event)"
|
110
110
|
></nz-tree-select>`,
|
111
111
|
changeDetection: ChangeDetectionStrategy.OnPush
|
112
112
|
}]
|
113
113
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
114
114
|
type: Optional
|
115
115
|
}] }] });
|
116
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1zZWxlY3QudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdHJlZS1zZWxlY3Qvc3JjL3RyZWUtc2VsZWN0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSxRQUFRLEVBQWUsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDaEcsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQztBQUc5RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsY0FBYyxFQUFFLE1BQU0sOEJBQThCLENBQUM7Ozs7Ozs7QUEyTmxGLE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxTQUEwQjtJQWFuRSxZQUErQixjQUFrQztRQUMvRCxLQUFLLEVBQUUsQ0FBQztRQURxQixtQkFBYyxHQUFkLGNBQWMsQ0FBb0I7UUFaeEQsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsd0JBQXdCLEVBQUU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iAgICogQGRlZmF1bHQgdHJ1ZVxuICAgKi9cbiAgZHJvcGRvd25NYXRjaFNlbGVjdFdpZHRoPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog5LiL5ouJ6I+c5Y2V55qE5qC35byPXG4gICAqL1xuICBkcm9wZG93blN0eWxlPzogTmdTdHlsZVR5cGU7XG5cbiAgLyoqXG4gICAqIOS4i+aLieiPnOWNleeahCBjbGFzc05hbWUg5bGe5oCnXG4gICAqL1xuICBkcm9wZG93bkNsYXNzTmFtZT86IHN0cmluZztcblxuICAvKipcbiAgICog6YCJ5oup5qGG5by55Ye655qE5L2N572uXG4gICAqL1xuICBwbGFjZW1lbnQ/OiBOelBsYWNlbWVudFR5cGU7XG5cbiAgLyoqXG4gICAqIOaUr+aMgeWkmumAie+8iOW9k+iuvue9riBuekNoZWNrYWJsZSDml7boh6rliqjlj5jkuLp0cnVl77yJXG4gICAqIEBkZWZhdWx0IGZhbHNlXG4gICAqL1xuICBtdWx0aXBsZT86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIOaQnOe0oumakOiXj+acquWMuemFjeeahOiKgueCuVxuICAgKiBAZGVmYXVsdCBmYWxzZVxuICAgKi9cbiAgaGlkZVVuTWF0Y2hlZD86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIOiKgueCueWJjea3u+WKoCBDaGVja2JveCDlpI3pgInmoYZcbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIGNoZWNrYWJsZT86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIGNoZWNrYWJsZSDnirbmgIHkuIvoioLngrnpgInmi6nlrozlhajlj5fmjqfvvIjniLblrZDoioLngrnpgInkuK3nirbmgIHkuI3lho3lhbPogZTvvIlcbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIGNoZWNrU3RyaWN0bHk/OiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiDoioLngrnliY3mt7vliqDlsZXlvIDlm77moIdcbiAgICogQGRlZmF1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lYXJjaF09XCJwcm9wc1snc2hvd1NlYXJjaCddISFcIlxuICAgIFtuek5vdEZvdW5kQ29udGVudF09XCJwcm9wc1snbm90Rm91bmRDb250ZW50J11cIlxuICAgIFtuekRyb3Bkb3duTWF0Y2hTZWxlY3RXaWR0aF09XCJwcm9wc1snZHJvcGRvd25NYXRjaFNlbGVjdFdpZHRoJ10hIVwiXG4gICAgW256RHJvcGRvd25TdHlsZV09XCJwcm9wc1snZHJvcGRvd25TdHlsZSddID8/IG51bGxcIlxuICAgIFtuekRyb3Bkb3duQ2xhc3NOYW1lXT1cInByb3BzWydkcm9wZG93bkNsYXNzTmFtZSddXCJcbiAgICBbbnpNdWx0aXBsZV09XCJwcm9wc1snbXVsdGlwbGUnXSEhXCJcbiAgICBbbnpIaWRlVW5NYXRjaGVkXT1cInByb3BzWydoaWRlVW5NYXRjaGVkJ10hIVwiXG4gICAgW256Q2hlY2thYmxlXT1cInByb3BzWydjaGVja2FibGUnXSEhXCJcbiAgICBbbnpDaGVja1N0cmljdGx5XT1cInByb3BzWydjaGVja1N0cmljdGx5J10hIVwiXG4gICAgW256U2hvd0V4cGFuZF09XCJwcm9wc1snc2hvd0V4cGFuZCddISFcIlxuICAgIFtuelNob3dMaW5lXT1cInByb3BzWydzaG93TGluZSddISFcIlxuICAgIFtuekFzeW5jRGF0YV09XCJwcm9wc1snYXN5bmNEYXRhJ11cIlxuICAgIFtuek5vZGVzXT1cInByb3BzWydub2RlcyddIVwiXG4gICAgW256RGVmYXVsdEV4cGFuZEFsbF09XCJwcm9wc1snZGVmYXVsdEV4cGFuZEFsbCddISFcIlxuICAgIFtuekV4cGFuZGVkS2V5c109XCJwcm9wc1snZXhwYW5kZWRLZXlzJ11cIlxuICAgIFtuekRpc3BsYXlXaXRoXT1cInByb3BzWydkaXNwbGF5V2l0aCddXCJcbiAgICBbbnpNYXhUYWdDb3VudF09XCJwcm9wc1snbWF4VGFnQ291bnQnXVwiXG4gICAgW256UGxhY2VtZW50XT1cInByb3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gICAgIHZpcnR1YWxJdGVtU2l6ZTogMjgsXG4gICAgICB2aXJ0dWFsTWF4QnVmZmVyUHg6IDUwMCxcbiAgICAgIHZpcnR1YWxNaW5CdWZmZXJQeDogMjhcbiAgICB9XG4gIH07XG5cbiAgY29uc3RydWN0b3IoQE9wdGlvbmFsKCkgcHVibGljIGZpZWxkVGVtcGxhdGVzOiBGb3JtbHlCb3hUZW1wbGF0ZXMpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgZ2V0IG56RXhwYW5kZWRJY29uKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnZXhwYW5kZWRJY29uJyk7XG4gIH1cblxuICBnZXQgbnpNYXhUYWdQbGFjZWhvbGRlcigpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWUodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ21heFRhZ1BsYWNlaG9sZGVyJyk7XG4gIH1cbiAgZ2V0IG56VHJlZVRlbXBsYXRlKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAndHJlZVRlbXBsYXRlJyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -60,7 +60,7 @@ export class FormlyFieldUpload extends FieldType {
|
|
60
60
|
[nzHeaders]="props['headers']"
|
61
61
|
[nzListType]="props['listType']!"
|
62
62
|
[nzMultiple]="props['multiple']!!"
|
63
|
-
[nzName]="props['name']
|
63
|
+
[nzName]="props['name'] ?? ''"
|
64
64
|
[nzShowUploadList]="props['showUploadList']"
|
65
65
|
[nzShowButton]="props['showButton']!!"
|
66
66
|
[nzWithCredentials]="props['withCredentials']!!"
|
@@ -69,7 +69,6 @@ export class FormlyFieldUpload extends FieldType {
|
|
69
69
|
[nzPreviewFile]="props['previewFile']"
|
70
70
|
[nzPreviewIsImage]="props['previewIsImage']"
|
71
71
|
[nzRemove]="props['remove']"
|
72
|
-
(nzChange)="props.change && props.change(field, $event)"
|
73
72
|
[nzDownload]="props['download']"
|
74
73
|
[nzTransformFile]="props['transformFile']"
|
75
74
|
[nzIconRender]="nzIconRender ?? null"
|
@@ -80,7 +79,8 @@ export class FormlyFieldUpload extends FieldType {
|
|
80
79
|
[nzeUploadButtonIcon]="props['uploadButtonIcon']"
|
81
80
|
[nzeShowUploadButton]="props['showUploadButton']"
|
82
81
|
[ngClass]="props['ngClass']"
|
83
|
-
(
|
82
|
+
(nzChange)="props.change?.(field, $event)"
|
83
|
+
(nzFileListChange)="props['fileListChange']?.(field, $event)"
|
84
84
|
>
|
85
85
|
</formly-nz-upload>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: i5.UploadNzComponent, selector: "formly-nz-upload", inputs: ["nzeText", "nzeHint", "nzeShowUploadButton", "nzeUploadButton", "nzeUploadButtonIcon", "ngClass", "resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
86
86
|
}
|
@@ -107,7 +107,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
107
107
|
[nzHeaders]="props['headers']"
|
108
108
|
[nzListType]="props['listType']!"
|
109
109
|
[nzMultiple]="props['multiple']!!"
|
110
|
-
[nzName]="props['name']
|
110
|
+
[nzName]="props['name'] ?? ''"
|
111
111
|
[nzShowUploadList]="props['showUploadList']"
|
112
112
|
[nzShowButton]="props['showButton']!!"
|
113
113
|
[nzWithCredentials]="props['withCredentials']!!"
|
@@ -116,7 +116,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
116
116
|
[nzPreviewFile]="props['previewFile']"
|
117
117
|
[nzPreviewIsImage]="props['previewIsImage']"
|
118
118
|
[nzRemove]="props['remove']"
|
119
|
-
(nzChange)="props.change && props.change(field, $event)"
|
120
119
|
[nzDownload]="props['download']"
|
121
120
|
[nzTransformFile]="props['transformFile']"
|
122
121
|
[nzIconRender]="nzIconRender ?? null"
|
@@ -127,7 +126,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
127
126
|
[nzeUploadButtonIcon]="props['uploadButtonIcon']"
|
128
127
|
[nzeShowUploadButton]="props['showUploadButton']"
|
129
128
|
[ngClass]="props['ngClass']"
|
130
|
-
(
|
129
|
+
(nzChange)="props.change?.(field, $event)"
|
130
|
+
(nzFileListChange)="props['fileListChange']?.(field, $event)"
|
131
131
|
>
|
132
132
|
</formly-nz-upload>`,
|
133
133
|
changeDetection: ChangeDetectionStrategy.OnPush
|
@@ -138,4 +138,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
138
138
|
type: ViewChild,
|
139
139
|
args: ['upload', { static: true }]
|
140
140
|
}] } });
|
141
|
-
//# sourceMappingURL=data:application/json;base64,
|
141
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3VwbG9hZC9zcmMvdXBsb2FkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBUSxTQUFTLEVBQVUsUUFBUSxFQUFFLE1BQU0s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FxuICAgICAgZmlsdGVyOiBbXSxcbiAgICAgIHRleHQ6ICcnXG4gICAgfVxuICB9O1xuXG4gIEBWaWV3Q2hpbGQoJ3VwbG9hZCcsIHsgc3RhdGljOiB0cnVlIH0pIHVwbG9hZCE6IFVwbG9hZE56Q29tcG9uZW50O1xuXG4gIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIHB1YmxpYyBmaWVsZFRlbXBsYXRlczogRm9ybWx5Qm94VGVtcGxhdGVzKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIGNvbnN0IHR5cGUgPSB0aGlzLnByb3BzLnR5cGU7XG4gICAgaWYgKHR5cGUpIHtcbiAgICAgIHRoaXMudXBsb2FkLm56VHlwZSA9IHR5cGU7XG4gICAgfVxuICB9XG5cbiAgZ2V0IG56SWNvblJlbmRlcigpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWUodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ2ljb25SZW5kZXInKTtcbiAgfVxuXG4gIGdldCBuekZpbGVMaXN0UmVuZGVyKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnZmlsZUxpc3RSZW5kZXInKTtcbiAgfVxufVxuIl19
|
@@ -85,9 +85,9 @@ class FormlyFieldCascader extends FieldType {
|
|
85
85
|
[nzStatus]="props['status'] ?? ''"
|
86
86
|
[nzSuffixIcon]="nzSuffixIcon!"
|
87
87
|
[nzValueProperty]="props['valueProperty']!"
|
88
|
-
(nzClear)="props['onClear']
|
89
|
-
(nzVisibleChange)="props['visibleChange']
|
90
|
-
(nzSelectionChange)="props['selectionChange']
|
88
|
+
(nzClear)="props['onClear']?.(field)"
|
89
|
+
(nzVisibleChange)="props['visibleChange']?.(field, $event)"
|
90
|
+
(nzSelectionChange)="props['selectionChange']?.(field, $event)"
|
91
91
|
></nz-cascader>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: "component", type: i4.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelRender", "nzLabelProperty", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseEnterDelay", "nzMouseLeaveDelay", "nzStatus", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzSuffixIcon", "nzExpandIcon", "nzOptions"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzSelect", "nzClear"], exportAs: ["nzCascader"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
92
92
|
}
|
93
93
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldCascader, decorators: [{
|
@@ -123,9 +123,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
123
123
|
[nzStatus]="props['status'] ?? ''"
|
124
124
|
[nzSuffixIcon]="nzSuffixIcon!"
|
125
125
|
[nzValueProperty]="props['valueProperty']!"
|
126
|
-
(nzClear)="props['onClear']
|
127
|
-
(nzVisibleChange)="props['visibleChange']
|
128
|
-
(nzSelectionChange)="props['selectionChange']
|
126
|
+
(nzClear)="props['onClear']?.(field)"
|
127
|
+
(nzVisibleChange)="props['visibleChange']?.(field, $event)"
|
128
|
+
(nzSelectionChange)="props['selectionChange']?.(field, $event)"
|
129
129
|
></nz-cascader>`,
|
130
130
|
changeDetection: ChangeDetectionStrategy.OnPush
|
131
131
|
}]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import { Component, TemplateRef, Optional, Type, ChangeDetectionStrategy, OnInit } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport { resolveTplName, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\n\nexport interface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n expandIconName?: string;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty?: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n labelRenderName?: string;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n notFoundContentName?: string;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n optionRenderName?: string;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n suffixIconName?: string;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: FormlyAttributeEvent;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: FormlyAttributeEvent<boolean>;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: FormlyAttributeEvent<NzCascaderOption[]>;\n}\n\nexport interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['ngClass']\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"nzExpandIcon!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty'] ?? ''\"\n [nzLabelRender]=\"nzLabelRender ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"nzNotFoundContent\"\n [nzOptionRender]=\"nzOptionRender ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"nzSuffixIcon!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader extends FieldType<FieldTypeConfig<CascaderProps>> implements OnInit {\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzNotFoundContent() {\n return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');\n }\n\n get nzExpandIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');\n }\n\n get nzLabelRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'labelRender');\n }\n\n get nzOptionRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'optionRender');\n }\n\n get nzSuffixIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');\n }\n\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as NzSafeAny;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AA0MM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AAkBhF,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAjBxD,QAAA,IAAA,CAAA,cAAc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hC,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YACvB,gBAAgB,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA,EAAA;AAaP,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAhB/B,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YACvB,gBAAgB;YAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import { Component, TemplateRef, Optional, Type, ChangeDetectionStrategy, OnInit } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport { resolveTplName, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\n\nexport interface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n expandIconName?: string;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty?: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n labelRenderName?: string;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n notFoundContentName?: string;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n optionRenderName?: string;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n suffixIconName?: string;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: FormlyAttributeEvent;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: FormlyAttributeEvent<boolean>;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: FormlyAttributeEvent<NzCascaderOption[]>;\n}\n\nexport interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['ngClass']\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"nzExpandIcon!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty'] ?? ''\"\n [nzLabelRender]=\"nzLabelRender ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"nzNotFoundContent\"\n [nzOptionRender]=\"nzOptionRender ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"nzSuffixIcon!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear']?.(field)\"\n (nzVisibleChange)=\"props['visibleChange']?.(field, $event)\"\n (nzSelectionChange)=\"props['selectionChange']?.(field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader extends FieldType<FieldTypeConfig<CascaderProps>> implements OnInit {\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzNotFoundContent() {\n return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');\n }\n\n get nzExpandIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');\n }\n\n get nzLabelRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'labelRender');\n }\n\n get nzOptionRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'optionRender');\n }\n\n get nzSuffixIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');\n }\n\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as NzSafeAny;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AA0MM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AAkBhF,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAjBxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,cAAc,EAAE,KAAK;AACrB,gBAAA,aAAa,EAAE,OAAgB;AAC/B,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB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AK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
|
@@ -29,7 +29,7 @@ class FormlyFieldCheckbox extends FieldType {
|
|
29
29
|
[formControl]="formControl"
|
30
30
|
[formlyAttributes]="field"
|
31
31
|
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
32
|
-
(ngModelChange)="props['modelChange']
|
32
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
33
33
|
nz-checkbox
|
34
34
|
>
|
35
35
|
{{ props.label }}
|
@@ -56,7 +56,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
56
56
|
[formControl]="formControl"
|
57
57
|
[formlyAttributes]="field"
|
58
58
|
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
59
|
-
(ngModelChange)="props['modelChange']
|
59
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
60
60
|
nz-checkbox
|
61
61
|
>
|
62
62
|
{{ props.label }}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-checkbox.mjs","sources":["../../../../packages/formlyantd/checkbox/src/checkbox.type.ts","../../../../packages/formlyantd/checkbox/src/checkbox.module.ts","../../../../packages/formlyantd/checkbox/src/ngx-formly-zorro-antd-checkbox.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nexport interface CheckboxProps extends FormlyFieldProps {\n type?: 'group' | 'single';\n\n /**\n * 自动获取焦点\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 设置 indeterminate 状态,只负责样式控制\n * @default false\n */\n indeterminate?: boolean;\n\n /**\n * 数值改变时回调\n */\n modelChange?: FormlyAttributeEvent<boolean | null | undefined>;\n}\n\nexport interface FormlyCheckboxFieldConfig extends NzFormlyFieldConfig<CheckboxProps> {\n type: 'checkbox' | 'boolean' | Type<FormlyFieldCheckbox>;\n}\n\n@Component({\n selector: 'formly-field-checkbox',\n template: `\n @if (props.type !== 'group') {\n <label\n [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzIndeterminate]=\"props['indeterminate'] && formControl.value == null\"\n (ngModelChange)=\"props['modelChange']
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-checkbox.mjs","sources":["../../../../packages/formlyantd/checkbox/src/checkbox.type.ts","../../../../packages/formlyantd/checkbox/src/checkbox.module.ts","../../../../packages/formlyantd/checkbox/src/ngx-formly-zorro-antd-checkbox.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nexport interface CheckboxProps extends FormlyFieldProps {\n type?: 'group' | 'single';\n\n /**\n * 自动获取焦点\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 设置 indeterminate 状态,只负责样式控制\n * @default false\n */\n indeterminate?: boolean;\n\n /**\n * 数值改变时回调\n */\n modelChange?: FormlyAttributeEvent<boolean | null | undefined>;\n}\n\nexport interface FormlyCheckboxFieldConfig extends NzFormlyFieldConfig<CheckboxProps> {\n type: 'checkbox' | 'boolean' | Type<FormlyFieldCheckbox>;\n}\n\n@Component({\n selector: 'formly-field-checkbox',\n template: `\n @if (props.type !== 'group') {\n <label\n [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzIndeterminate]=\"props['indeterminate'] && formControl.value == null\"\n (ngModelChange)=\"props['modelChange']?.(field, $event)\"\n nz-checkbox\n >\n {{ props.label }}\n </label>\n } @else {\n <nz-checkbox-group\n [formlyAttributes]=\"field\"\n [(ngModel)]=\"props.options\"\n [formControl]=\"formControl\"\n (ngModelChange)=\"props['modelChange']?.(field, $event)\"\n ></nz-checkbox-group>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {\n override defaultOptions = {\n props: {\n indeterminate: false,\n hideLabel: true\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzCheckboxModule } from 'ng-zorro-antd/checkbox';\n\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzCheckboxModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field']\n },\n {\n name: 'boolean',\n extends: 'checkbox'\n }\n ]\n })\n ]\n})\nexport class FormlyNzCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAwDM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AA1BlF,IAAA,WAAA,GAAA;;AA2BW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,SAAS,EAAE,IAAI;AAChB,aAAA;SACF,CAAC;AACH,KAAA;8GAPY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAxBpB,QAAA,EAAA,uBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;AAqBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,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