ngx-formly-zorro-antd 17.4.2 → 18.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/button/button.type.d.ts +3 -0
- package/button-group/button-group.type.d.ts +3 -0
- package/card/card.type.d.ts +3 -0
- package/card-wrapper/card-wrapper.props.d.ts +3 -1
- package/card-wrapper/card.wrapper.d.ts +3 -0
- package/cascader/cascader.type.d.ts +4 -0
- package/datepicker/datepicker.type.d.ts +3 -0
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button/button.type.mjs +9 -6
- package/esm2022/button-group/button-group.module.mjs +4 -4
- package/esm2022/button-group/button-group.type.mjs +7 -4
- package/esm2022/card/card.module.mjs +4 -4
- package/esm2022/card/card.type.mjs +10 -5
- package/esm2022/card-wrapper/card-wrapper.module.mjs +4 -4
- package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
- package/esm2022/card-wrapper/card.wrapper.mjs +10 -5
- package/esm2022/cascader/cascader.module.mjs +4 -4
- package/esm2022/cascader/cascader.type.mjs +8 -4
- package/esm2022/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/checkbox/checkbox.type.mjs +6 -4
- package/esm2022/common/common.module.mjs +4 -4
- package/esm2022/common/formly-box-templates.directive.mjs +4 -4
- package/esm2022/common/formly-utils.mjs +1 -1
- package/esm2022/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/datepicker/datepicker.type.mjs +20 -22
- package/esm2022/extension/value-changes-extension.mjs +1 -1
- package/esm2022/flex/flex.module.mjs +4 -4
- package/esm2022/flex/flex.type.mjs +9 -6
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +10 -10
- package/esm2022/grid/grid.module.mjs +4 -4
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/grid/grid.type.mjs +7 -4
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/input/input.type.mjs +34 -31
- package/esm2022/input-group/input-group.module.mjs +4 -4
- package/esm2022/input-group/input-group.type.mjs +11 -8
- package/esm2022/input-number/input-number.module.mjs +4 -4
- package/esm2022/input-number/input-number.type.mjs +12 -10
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +4 -4
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/radio/radio.type.mjs +10 -10
- package/esm2022/rate/rate.module.mjs +4 -4
- package/esm2022/rate/rate.type.mjs +14 -14
- package/esm2022/ref-template/ref-template.module.mjs +4 -4
- package/esm2022/ref-template/ref-template.type.mjs +10 -8
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/select/select.props.mjs +1 -1
- package/esm2022/select/select.type.mjs +24 -27
- package/esm2022/slider/slider.module.mjs +4 -4
- package/esm2022/slider/slider.type.mjs +18 -18
- package/esm2022/space/space.module.mjs +4 -4
- package/esm2022/space/space.type.mjs +8 -9
- package/esm2022/switch/switch.module.mjs +4 -4
- package/esm2022/switch/switch.type.mjs +10 -12
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tabs/tabs.wrapper.mjs +8 -6
- package/esm2022/text-value/text-value.module.mjs +4 -4
- package/esm2022/text-value/text-value.type.mjs +5 -4
- package/esm2022/textarea/textarea.module.mjs +4 -4
- package/esm2022/textarea/textarea.type.mjs +13 -12
- package/esm2022/timepicker/timepicker.module.mjs +4 -4
- package/esm2022/timepicker/timepicker.type.mjs +24 -24
- package/esm2022/transfer/transfer.component.mjs +5 -4
- package/esm2022/transfer/transfer.module.mjs +4 -4
- package/esm2022/transfer/transfer.type.mjs +8 -9
- package/esm2022/tree-select/tree-select.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.type.mjs +36 -34
- package/esm2022/upload/upload.component.mjs +4 -4
- package/esm2022/upload/upload.module.mjs +4 -4
- package/esm2022/upload/upload.type.mjs +9 -8
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +10 -7
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +12 -9
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +13 -8
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +13 -8
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +11 -7
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +9 -7
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-common.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +25 -26
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs +12 -9
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +13 -13
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +10 -7
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +14 -11
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +17 -14
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +37 -34
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +15 -14
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +19 -18
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +14 -13
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +29 -31
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +23 -22
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +11 -12
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +15 -16
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +11 -9
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +8 -7
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +16 -15
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +29 -28
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +16 -15
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +41 -38
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +15 -14
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs +4 -4
- package/flex/flex.type.d.ts +3 -0
- package/form-field/form-field.props.d.ts +5 -0
- package/grid/grid.props.d.ts +3 -0
- package/grid/grid.type.d.ts +3 -0
- package/input/input.type.d.ts +4 -1
- package/input-group/input-group.type.d.ts +3 -0
- package/input-number/input-number.type.d.ts +3 -0
- package/package.json +25 -25
- package/radio/radio.type.d.ts +3 -0
- package/rate/rate.type.d.ts +3 -0
- package/ref-template/ref-template.type.d.ts +1 -0
- package/select/select.props.d.ts +2 -4
- package/slider/slider.type.d.ts +3 -0
- package/space/space.type.d.ts +1 -0
- package/switch/switch.type.d.ts +1 -0
- package/tabs/tabs.wrapper.d.ts +2 -0
- package/text-value/text-value.type.d.ts +1 -0
- package/textarea/textarea.type.d.ts +1 -0
- package/timepicker/timepicker.type.d.ts +1 -0
- package/transfer/transfer.component.d.ts +1 -0
- package/transfer/transfer.type.d.ts +2 -0
- package/tree-select/tree-select.type.d.ts +1 -0
- package/upload/upload.type.d.ts +1 -0
@@ -6,7 +6,7 @@ import * as i1 from "ngx-formly-zorro-antd/common";
|
|
6
6
|
import * as i2 from "@angular/common";
|
7
7
|
import * as i3 from "@angular/forms";
|
8
8
|
import * as i4 from "ng-zorro-antd/tree-select";
|
9
|
-
|
9
|
+
/** @private */
|
10
10
|
export class FormlyFieldTreeSelect extends FieldType {
|
11
11
|
constructor(fieldTemplates) {
|
12
12
|
super();
|
@@ -32,29 +32,30 @@ export class FormlyFieldTreeSelect extends FieldType {
|
|
32
32
|
get nzTreeTemplate() {
|
33
33
|
return resolveTplName(this.props, this.fieldTemplates, 'treeTemplate');
|
34
34
|
}
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldTreeSelect, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: FormlyFieldTreeSelect, selector: "formly-field-treeselect", usesInheritance: true, ngImport: i0, template: ` <nz-tree-select
|
37
37
|
[formControl]="formControl"
|
38
|
-
[
|
38
|
+
[nzId]="id"
|
39
39
|
[nzPlaceHolder]="props.placeholder ?? ''"
|
40
40
|
[ngClass]="props['ngClass']"
|
41
|
-
[
|
41
|
+
[ngStyle]="props['ngStyle']"
|
42
|
+
[nzAllowClear]="!!props['allowClear']"
|
42
43
|
[nzExpandedIcon]="nzExpandedIcon"
|
43
|
-
[nzShowIcon]="props['showIcon']
|
44
|
-
[nzShowSearch]="props['showSearch']
|
44
|
+
[nzShowIcon]="!!props['showIcon']"
|
45
|
+
[nzShowSearch]="!!props['showSearch']"
|
45
46
|
[nzNotFoundContent]="props['notFoundContent']"
|
46
|
-
[nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']
|
47
|
+
[nzDropdownMatchSelectWidth]="!!props['dropdownMatchSelectWidth']"
|
47
48
|
[nzDropdownStyle]="props['dropdownStyle'] ?? null"
|
48
49
|
[nzDropdownClassName]="props['dropdownClassName']"
|
49
|
-
[nzMultiple]="props['multiple']
|
50
|
-
[nzHideUnMatched]="props['hideUnMatched']
|
51
|
-
[nzCheckable]="props['checkable']
|
52
|
-
[nzCheckStrictly]="props['checkStrictly']
|
53
|
-
[nzShowExpand]="props['showExpand']
|
54
|
-
[nzShowLine]="props['showLine']
|
55
|
-
[nzAsyncData]="props['asyncData']"
|
50
|
+
[nzMultiple]="!!props['multiple']"
|
51
|
+
[nzHideUnMatched]="!!props['hideUnMatched']"
|
52
|
+
[nzCheckable]="!!props['checkable']"
|
53
|
+
[nzCheckStrictly]="!!props['checkStrictly']"
|
54
|
+
[nzShowExpand]="!!props['showExpand']"
|
55
|
+
[nzShowLine]="!!props['showLine']"
|
56
|
+
[nzAsyncData]="!!props['asyncData']"
|
56
57
|
[nzNodes]="props['nodes']!"
|
57
|
-
[nzDefaultExpandAll]="props['defaultExpandAll']
|
58
|
+
[nzDefaultExpandAll]="!!props['defaultExpandAll']"
|
58
59
|
[nzExpandedKeys]="props['expandedKeys']"
|
59
60
|
[nzDisplayWith]="props['displayWith']"
|
60
61
|
[nzMaxTagCount]="props['maxTagCount']"
|
@@ -65,36 +66,37 @@ export class FormlyFieldTreeSelect extends FieldType {
|
|
65
66
|
[nzVirtualItemSize]="props['virtualItemSize']!"
|
66
67
|
[nzVirtualMaxBufferPx]="props['virtualMaxBufferPx']!"
|
67
68
|
[nzVirtualMinBufferPx]="props['virtualMinBufferPx']!"
|
68
|
-
[nzBackdrop]="props['backdrop']
|
69
|
+
[nzBackdrop]="!!props['backdrop']"
|
69
70
|
(nzExpandChange)="props['expandChange']?.(field, $event)"
|
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"] }
|
71
|
+
></nz-tree-select>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
71
72
|
}
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldTreeSelect, decorators: [{
|
73
74
|
type: Component,
|
74
75
|
args: [{
|
75
76
|
selector: 'formly-field-treeselect',
|
76
77
|
template: ` <nz-tree-select
|
77
78
|
[formControl]="formControl"
|
78
|
-
[
|
79
|
+
[nzId]="id"
|
79
80
|
[nzPlaceHolder]="props.placeholder ?? ''"
|
80
81
|
[ngClass]="props['ngClass']"
|
81
|
-
[
|
82
|
+
[ngStyle]="props['ngStyle']"
|
83
|
+
[nzAllowClear]="!!props['allowClear']"
|
82
84
|
[nzExpandedIcon]="nzExpandedIcon"
|
83
|
-
[nzShowIcon]="props['showIcon']
|
84
|
-
[nzShowSearch]="props['showSearch']
|
85
|
+
[nzShowIcon]="!!props['showIcon']"
|
86
|
+
[nzShowSearch]="!!props['showSearch']"
|
85
87
|
[nzNotFoundContent]="props['notFoundContent']"
|
86
|
-
[nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']
|
88
|
+
[nzDropdownMatchSelectWidth]="!!props['dropdownMatchSelectWidth']"
|
87
89
|
[nzDropdownStyle]="props['dropdownStyle'] ?? null"
|
88
90
|
[nzDropdownClassName]="props['dropdownClassName']"
|
89
|
-
[nzMultiple]="props['multiple']
|
90
|
-
[nzHideUnMatched]="props['hideUnMatched']
|
91
|
-
[nzCheckable]="props['checkable']
|
92
|
-
[nzCheckStrictly]="props['checkStrictly']
|
93
|
-
[nzShowExpand]="props['showExpand']
|
94
|
-
[nzShowLine]="props['showLine']
|
95
|
-
[nzAsyncData]="props['asyncData']"
|
91
|
+
[nzMultiple]="!!props['multiple']"
|
92
|
+
[nzHideUnMatched]="!!props['hideUnMatched']"
|
93
|
+
[nzCheckable]="!!props['checkable']"
|
94
|
+
[nzCheckStrictly]="!!props['checkStrictly']"
|
95
|
+
[nzShowExpand]="!!props['showExpand']"
|
96
|
+
[nzShowLine]="!!props['showLine']"
|
97
|
+
[nzAsyncData]="!!props['asyncData']"
|
96
98
|
[nzNodes]="props['nodes']!"
|
97
|
-
[nzDefaultExpandAll]="props['defaultExpandAll']
|
99
|
+
[nzDefaultExpandAll]="!!props['defaultExpandAll']"
|
98
100
|
[nzExpandedKeys]="props['expandedKeys']"
|
99
101
|
[nzDisplayWith]="props['displayWith']"
|
100
102
|
[nzMaxTagCount]="props['maxTagCount']"
|
@@ -105,7 +107,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
105
107
|
[nzVirtualItemSize]="props['virtualItemSize']!"
|
106
108
|
[nzVirtualMaxBufferPx]="props['virtualMaxBufferPx']!"
|
107
109
|
[nzVirtualMinBufferPx]="props['virtualMinBufferPx']!"
|
108
|
-
[nzBackdrop]="props['backdrop']
|
110
|
+
[nzBackdrop]="!!props['backdrop']"
|
109
111
|
(nzExpandChange)="props['expandChange']?.(field, $event)"
|
110
112
|
></nz-tree-select>`,
|
111
113
|
changeDetection: ChangeDetectionStrategy.OnPush
|
@@ -113,4 +115,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
113
115
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
114
116
|
type: Optional
|
115
117
|
}] }] });
|
116
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1zZWxlY3QudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdHJlZS1zZWxlY3Qvc3JjL3RyZWUtc2VsZWN0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSxRQUFRLEVBQWUsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDaEcsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQztBQUc5RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsY0FBYyxFQUFFLE1BQU0sOEJBQThCLENBQUM7Ozs7Ozs7QUE4TmxGLE1BQU0sT0FBTyxxQkFBc0IsU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GUg54q25oCB5LiL6IqC54K56YCJ5oup5a6M5YWo5Y+X5o6n77yI54i25a2Q6IqC54K56YCJ5Lit54q25oCB5LiN5YaN5YWz6IGU77yJXG4gICAqIEBkZWZhdWx0IGZhbHNlXG4gICAqL1xuICBjaGVja1N0cmljdGx5PzogYm9vbGVhbjtcblxuICAvKipcbiAgICog6IqC54K55YmN5re75Yqg5bGV5byA5Zu+5qCHXG4gICAqIEBkZWZhdWx0IHRydWVcbiAgICovXG4gIHNob3dFeHBhbmQ/OiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiDmmK/lkKblsZXnpLrov57mjqXnur9cbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIHNob3dMaW5lPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog5piv5ZCm5byC5q2l5Yqg6L29KOaYvuekuuWKoOi9veeKtuaAgSlcbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIGFzeW5jRGF0YT86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIHRyZWVOb2RlcyDmlbDmja5cbiAgICogQGRlZmF1bHQgW11cbiAgICovXG4gIG5vZGVzPzogTnpUcmVlTm9kZU9wdGlvbnNbXTtcblxuICAvKipcbiAgICog6buY6K6k5bGV5byA5omA5pyJ5qCR6IqC54K5XG4gICAqIEBkZWZhdWx0IGZhbHNlXG4gICAqL1xuICBkZWZhdWx0RXhwYW5kQWxsPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog6buY6K6k5bGV5byA5oyH5a6a55qE5qCR6IqC54K5XG4gICAqL1xuICBleHBhbmRlZEtleXM/OiBzdHJpbmdbXTtcblxuICAvKipcbiAgICogXHTlpoLkvZXlnKjovpPlhaXmoYbmmL7npLrmiYDpgInnmoToioLngrnlgLznmoTmlrnms5VcbiAgICogQGRlZmF1bHQgKG5vZGU6IE56VHJlZU5vZGUpID0+IG5vZGUudGl0bGVcbiAgICovXG4gIGRpc3BsYXlXaXRoPzogKG5vZGU6IE56VHJlZU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mZpZz4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgZHJvcGRvd25NYXRjaFNlbGVjdFdpZHRoOiB0cnVlLFxuICAgICAgc2hvd0V4cGFuZDogdHJ1ZSxcbiAgICAgIG5vZGVzOiBbXSxcbiAgICAgIGRpc3BsYXlXaXRoOiAobm9kZTogTnpUcmVlTm9kZSkgPT4gbm9kZS50aXRsZSxcbiAgICAgIHZpcnR1YWxJdGVtU2l6ZTogMjgsXG4gICAgICB2aXJ0dWFsTWF4QnVmZmVyUHg6IDUwMCxcbiAgICAgIHZpcnR1YWxNaW5CdWZmZXJQeDogMjhcbiAgICB9XG4gIH07XG5cbiAgY29uc3RydWN0b3IoQE9wdGlvbmFsKCkgcHVibGljIGZpZWxkVGVtcGxhdGVzOiBGb3JtbHlCb3hUZW1wbGF0ZXMpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgZ2V0IG56RXhwYW5kZWRJY29uKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnZXhwYW5kZWRJY29uJyk7XG4gIH1cblxuICBnZXQgbnpNYXhUYWdQbGFjZWhvbGRlcigpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWUodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ21heFRhZ1BsYWNlaG9sZGVyJyk7XG4gIH1cbiAgZ2V0IG56VHJlZVRlbXBsYXRlKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAndHJlZVRlbXBsYXRlJyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -46,8 +46,8 @@ export class UploadNzComponent extends NzUploadComponent {
|
|
46
46
|
}
|
47
47
|
}
|
48
48
|
}
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
50
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: UploadNzComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
50
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.7", type: UploadNzComponent, selector: "formly-nz-upload", inputs: { nzeText: "nzeText", nzeHint: "nzeHint", nzeShowUploadButton: ["nzeShowUploadButton", "nzeShowUploadButton", booleanAttribute], nzeUploadButton: "nzeUploadButton", nzeUploadButtonIcon: "nzeUploadButtonIcon", ngClass: "ngClass", resultMap: "resultMap" }, providers: [
|
51
51
|
{
|
52
52
|
provide: NG_VALUE_ACCESSOR,
|
53
53
|
useExisting: forwardRef(() => UploadNzComponent),
|
@@ -126,7 +126,7 @@ export class UploadNzComponent extends NzUploadComponent {
|
|
126
126
|
</nz-upload>
|
127
127
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.NzUploadComponent, selector: "nz-upload", inputs: ["nzType", "nzLimit", "nzSize", "nzFileType", "nzAccept", "nzAction", "nzDirectory", "nzOpenFileDialogOnClick", "nzBeforeUpload", "nzCustomRequest", "nzData", "nzFilter", "nzFileList", "nzDisabled", "nzHeaders", "nzListType", "nzMultiple", "nzName", "nzShowUploadList", "nzShowButton", "nzWithCredentials", "nzRemove", "nzPreview", "nzPreviewFile", "nzPreviewIsImage", "nzTransformFile", "nzDownload", "nzIconRender", "nzFileListRender"], outputs: ["nzChange", "nzFileListChange"], exportAs: ["nzUpload"] }, { kind: "component", type: i3.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i4.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i5.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
128
128
|
}
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: UploadNzComponent, decorators: [{
|
130
130
|
type: Component,
|
131
131
|
args: [{
|
132
132
|
selector: 'formly-nz-upload',
|
@@ -228,4 +228,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
228
228
|
}], resultMap: [{
|
229
229
|
type: Input
|
230
230
|
}] } });
|
231
|
-
//# sourceMappingURL=data:application/json;base64,
|
231
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdXBsb2FkL3NyYy91cGxvYWQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiO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N3aXRjaCAobnpUeXBlKSB7XG4gICAgICAgIEBjYXNlICgnZHJhZycpIHtcbiAgICAgICAgICA8cCBjbGFzcz1cImFudC11cGxvYWQtZHJhZy1pY29uXCI+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwidXBsb2FkQnV0dG9uSWNvblRwbFwiPjwvbmctY29udGFpbmVyPlxuICAgICAgICAgIDwvcD5cbiAgICAgICAgICA8cCBjbGFzcz1cImFudC11cGxvYWQtdGV4dFwiPnt7IG56ZVRleHQgfX08L3A+XG4gICAgICAgICAgPHAgY2xhc3M9XCJhbnQtdXBsb2FkLWhpbnRcIj57eyBuemVIaW50IH19PC9wPlxuICAgICAgICB9XG4gICAgICAgIEBkZWZhdWx0IHtcbiAgICAgICAgICBAaWYgKG56ZVNob3dVcGxvYWRCdXR0b24gIT09IGZhbHNlKSB7XG4gICAgICAgICAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiBuei1idXR0b24gW2Rpc2FibGVkXT1cIm56RGlzYWJsZWQhIVwiPlxuICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwidXBsb2FkQnV0dG9uSWNvblRwbFwiPjwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICB7eyBuemVUZXh0IH19XG4gICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICB9IEBlbHNlIGlmIChuemVTaG93VXBsb2FkQnV0dG9uID09PSBmYWxzZSkge1xuICAgICAgICAgICAgPGRpdj5cbiAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInVwbG9hZEJ1dHRvbkljb25UcGxcIj48L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAge3sgbnplVGV4dCB9fVxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYW50LXVwbG9hZC1oaW50XCIgc3R5bGU9XCJtYXJnaW4tdG9wOiA4cHhcIj57eyBuemVIaW50IH19PC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgPG5nLXRlbXBsYXRlICN1cGxvYWRCdXR0b25JY29uVHBsPlxuICAgICAgICBAaWYgKG56ZVVwbG9hZEJ1dHRvbkljb24pIHtcbiAgICAgICAgICA8c3BhblxuICAgICAgICAgICAgbnotaWNvblxuICAgICAgICAgICAgW256VHlwZV09XCJuemVVcGxvYWRCdXR0b25JY29uLnR5cGVcIlxuICAgICAgICAgICAgW256VGhlbWVdPVwibnplVXBsb2FkQnV0dG9uSWNvbi50aGVtZSB8fCAnb3V0bGluZSdcIlxuICAgICAgICAgICAgW256U3Bpbl09XCJuemVVcGxvYWRCdXR0b25JY29uLnNwaW4hIVwiXG4gICAgICAgICAgICBbbnpUd290b25lQ29sb3JdPVwibnplVXBsb2FkQnV0dG9uSWNvbi50d29Ub25lQ29sb3IgfHwgJydcIlxuICAgICAgICAgID48L3NwYW4+XG4gICAgICAgIH1cbiAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgPC9uei11cGxvYWQ+XG4gIGAsXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICBwcm92aWRlcnM6IFtcbiAgICB7XG4gICAgICBwcm92aWRlOiBOR19WQUxVRV9BQ0NFU1NPUixcbiAgICAgIHVzZUV4aXN0aW5nOiBmb3J3YXJkUmVmKCgpID0+IFVwbG9hZE56Q29tcG9uZW50KSxcbiAgICAgIG11bHRpOiB0cnVlXG4gICAgfVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIFVwbG9hZE56Q29tcG9uZW50IGV4dGVuZHMgTnpVcGxvYWRDb21wb25lbnQgaW1wbGVtZW50cyBDb250cm9sVmFsdWVBY2Nlc3Nvci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biAgcmVnaXN0ZXJPbkNoYW5nZShmbjogTnpTYWZlQW55KTogdm9pZCB7XG4gICAgdGhpcy5vbkNoYW5nZSA9IGZuO1xuICB9XG4gIHJlZ2lzdGVyT25Ub3VjaGVkKGZuOiBOelNhZmVBbnkpOiB2b2lkIHtcbiAgICB0aGlzLm9uVG91Y2hlZCA9IGZuO1xuICB9XG4gIHNldERpc2FibGVkU3RhdGU/KGlzRGlzYWJsZWQ6IGJvb2xlYW4pOiB2b2lkIHtcbiAgICB0aGlzLm56RGlzYWJsZWQgPSBpc0Rpc2FibGVkO1xuICB9XG5cbiAgZmlsZUxpc3RDaGFuZ2UobGlzdDogTnpVcGxvYWRGaWxlW10pIHtcbiAgICB0aGlzLm56RmlsZUxpc3RDaGFuZ2UuZW1pdChsaXN0KTtcbiAgfVxuXG4gIGNoYW5nZSh2YWx1ZTogTnpVcGxvYWRDaGFuZ2VQYXJhbSkge1xuICAgIHRoaXMubnpDaGFuZ2UuZW1pdCh2YWx1ZSk7XG4gICAgaWYgKFsncmVtb3ZlZCcsICdzdWNjZXNzJ10uaW5jbHVkZXModmFsdWUudHlwZSA/PyAnJykpIHtcbiAgICAgIGlmICh0aGlzLnJlc3VsdE1hcCBpbnN0YW5jZW9mIEZ1bmN0aW9uKSB7XG4gICAgICAgIHRoaXMub25DaGFuZ2UodGhpcy5yZXN1bHRNYXAodmFsdWUuZmlsZUxpc3QuZmlsdGVyKHggPT4geC5zdGF0dXMgPT09ICdkb25lJykpKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHRoaXMub25DaGFuZ2UodmFsdWUuZmlsZUxpc3QuZmlsdGVyKHggPT4geC5zdGF0dXMgPT09ICdkb25lJykpO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19
|
@@ -11,14 +11,14 @@ import { UploadNzComponent } from './upload.component';
|
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
import * as i1 from "@ngx-formly/core";
|
13
13
|
export class FormlyNzUploadModule {
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
15
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
15
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadNzComponent], imports: [CommonModule,
|
16
16
|
ReactiveFormsModule,
|
17
17
|
FormlyNzFormFieldModule,
|
18
18
|
NzUploadModule,
|
19
19
|
NzButtonModule,
|
20
20
|
NzIconModule, i1.FormlyModule] }); }
|
21
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
21
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
|
22
22
|
ReactiveFormsModule,
|
23
23
|
FormlyNzFormFieldModule,
|
24
24
|
NzUploadModule,
|
@@ -34,7 +34,7 @@ export class FormlyNzUploadModule {
|
|
34
34
|
]
|
35
35
|
})] }); }
|
36
36
|
}
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
|
38
38
|
type: NgModule,
|
39
39
|
args: [{
|
40
40
|
declarations: [FormlyFieldUpload, UploadNzComponent],
|
@@ -8,6 +8,7 @@ import * as i2 from "@angular/common";
|
|
8
8
|
import * as i3 from "@angular/forms";
|
9
9
|
import * as i4 from "@ngx-formly/core";
|
10
10
|
import * as i5 from "./upload.component";
|
11
|
+
/** @private */
|
11
12
|
export class FormlyFieldUpload extends FieldType {
|
12
13
|
constructor(fieldTemplates) {
|
13
14
|
super();
|
@@ -40,14 +41,14 @@ export class FormlyFieldUpload extends FieldType {
|
|
40
41
|
get nzFileListRender() {
|
41
42
|
return resolveTplName(this.props, this.fieldTemplates, 'fileListRender');
|
42
43
|
}
|
43
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
44
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldUpload, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: FormlyFieldUpload, selector: "formly-field-upload", viewQueries: [{ propertyName: "upload", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-nz-upload
|
45
46
|
#upload
|
46
47
|
[formControl]="formControl"
|
47
48
|
[formlyAttributes]="field"
|
48
49
|
[nzAccept]="props['accept']"
|
49
50
|
[nzAction]="props['action']"
|
50
|
-
[nzDirectory]="props['directory']
|
51
|
+
[nzDirectory]="!!props['directory']"
|
51
52
|
[nzBeforeUpload]="props['beforeUpload']"
|
52
53
|
[nzCustomRequest]="props['customRequest']"
|
53
54
|
[nzData]="props['data']"
|
@@ -60,7 +61,7 @@ export class FormlyFieldUpload extends FieldType {
|
|
60
61
|
[nzHeaders]="props['headers']"
|
61
62
|
[nzListType]="props['listType']!"
|
62
63
|
[nzMultiple]="props['multiple']!!"
|
63
|
-
[nzName]="props
|
64
|
+
[nzName]="props.name ?? ''"
|
64
65
|
[nzShowUploadList]="props['showUploadList']"
|
65
66
|
[nzShowButton]="props['showButton']!!"
|
66
67
|
[nzWithCredentials]="props['withCredentials']!!"
|
@@ -84,7 +85,7 @@ export class FormlyFieldUpload extends FieldType {
|
|
84
85
|
>
|
85
86
|
</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
87
|
}
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldUpload, decorators: [{
|
88
89
|
type: Component,
|
89
90
|
args: [{
|
90
91
|
selector: 'formly-field-upload',
|
@@ -94,7 +95,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
94
95
|
[formlyAttributes]="field"
|
95
96
|
[nzAccept]="props['accept']"
|
96
97
|
[nzAction]="props['action']"
|
97
|
-
[nzDirectory]="props['directory']
|
98
|
+
[nzDirectory]="!!props['directory']"
|
98
99
|
[nzBeforeUpload]="props['beforeUpload']"
|
99
100
|
[nzCustomRequest]="props['customRequest']"
|
100
101
|
[nzData]="props['data']"
|
@@ -107,7 +108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
107
108
|
[nzHeaders]="props['headers']"
|
108
109
|
[nzListType]="props['listType']!"
|
109
110
|
[nzMultiple]="props['multiple']!!"
|
110
|
-
[nzName]="props
|
111
|
+
[nzName]="props.name ?? ''"
|
111
112
|
[nzShowUploadList]="props['showUploadList']"
|
112
113
|
[nzShowButton]="props['showButton']!!"
|
113
114
|
[nzWithCredentials]="props['withCredentials']!!"
|
@@ -138,4 +139,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
138
139
|
type: ViewChild,
|
139
140
|
args: ['upload', { static: true }]
|
140
141
|
}] } });
|
141
|
-
//# sourceMappingURL=data:application/json;base64,
|
142
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3VwbG9hZC9zcmMvdXBsb2FkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBUSxTQUFTLEVBQVUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RHLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7QUFFOUQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFdkQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLGNBQWMsRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7Ozs7O0FBS2xGLGVBQWU7QUErQ2YsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFNBQXVDO0lBbUI1RSxZQUErQixjQUFrQztRQUMvRCxLQUFLLEVBQUUsQ0FBQztRQURxQixtQkFBYyxHQUFkLGNBQWMsQ0FBb0I7UUFsQnhELG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLFFBQVEsRUFBRSxNQUFlO2dCQUN6QixJQUFJL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TtcbiAgICB9XG4gIH1cblxuICBnZXQgbnpJY29uUmVuZGVyKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnaWNvblJlbmRlcicpO1xuICB9XG5cbiAgZ2V0IG56RmlsZUxpc3RSZW5kZXIoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdmaWxlTGlzdFJlbmRlcicpO1xuICB9XG59XG4iXX0=
|
@@ -12,6 +12,9 @@ import * as i4 from 'ng-zorro-antd/core/wave';
|
|
12
12
|
import * as i5 from 'ng-zorro-antd/icon';
|
13
13
|
import { NzIconModule } from 'ng-zorro-antd/icon';
|
14
14
|
|
15
|
+
/**
|
16
|
+
* @private
|
17
|
+
*/
|
15
18
|
class FormlyFieldButtonGroup extends FieldType {
|
16
19
|
constructor() {
|
17
20
|
super();
|
@@ -30,8 +33,8 @@ class FormlyFieldButtonGroup extends FieldType {
|
|
30
33
|
ngOnDestroy() {
|
31
34
|
this.subjectDestroy();
|
32
35
|
}
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldButtonGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.7", type: FormlyFieldButtonGroup, selector: "formly-field-button-group", usesInheritance: true, ngImport: i0, template: `
|
35
38
|
<nz-button-group
|
36
39
|
[formlyAttributes]="field"
|
37
40
|
[nzSize]="props['size'] || 'default'"
|
@@ -73,7 +76,7 @@ class FormlyFieldButtonGroup extends FieldType {
|
|
73
76
|
</ng-template>
|
74
77
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "component", type: i2.NzButtonGroupComponent, selector: "nz-button-group", inputs: ["nzSize"], exportAs: ["nzButtonGroup"] }, { kind: "directive", type: i3.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i4.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i5.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i6.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
75
78
|
}
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldButtonGroup, decorators: [{
|
77
80
|
type: Component,
|
78
81
|
args: [{
|
79
82
|
selector: 'formly-field-button-group',
|
@@ -123,11 +126,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
123
126
|
}], ctorParameters: () => [] });
|
124
127
|
|
125
128
|
class FormlyNzButtonGroupModule {
|
126
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
127
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
130
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonGroupModule, declarations: [FormlyFieldButtonGroup], imports: [CommonModule,
|
128
131
|
NzButtonModule,
|
129
132
|
NzIconModule, i6.FormlyModule] }); }
|
130
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
133
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonGroupModule, imports: [CommonModule,
|
131
134
|
NzButtonModule,
|
132
135
|
NzIconModule,
|
133
136
|
FormlyModule.forChild({
|
@@ -139,7 +142,7 @@ class FormlyNzButtonGroupModule {
|
|
139
142
|
]
|
140
143
|
})] }); }
|
141
144
|
}
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonGroupModule, decorators: [{
|
143
146
|
type: NgModule,
|
144
147
|
args: [{
|
145
148
|
declarations: [FormlyFieldButtonGroup],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-button-group.mjs","sources":["../../../../packages/formlyantd/button-group/src/button-group.type.ts","../../../../packages/formlyantd/button-group/src/button-group.module.ts","../../../../packages/formlyantd/button-group/src/ngx-formly-zorro-antd-button-group.ts"],"sourcesContent":["import { Component, Type, OnDestroy, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { Subject } from 'rxjs';\nimport { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { ButtonProps } from 'ngx-formly-zorro-antd/button';\n\nimport type { NzButtonGroupSize } from 'ng-zorro-antd/button';\n\n/**\n * @publicApi\n */\nexport interface ButtonGroupProps extends FormlyFieldProps {\n size?: NzButtonGroupSize;\n\n /**\n * 每个按钮配置\n */\n buttons?: NzFormlyFieldConfig<Omit<ButtonProps, 'size' | 'textName'>>[];\n}\n\nexport interface FormlyButtonGroupFieldConfig extends NzFormlyFieldConfig<ButtonGroupProps> {\n type: 'button-group' | Type<FormlyFieldButtonGroup>;\n}\n\n@Component({\n selector: 'formly-field-button-group',\n template: `\n <nz-button-group\n [formlyAttributes]=\"field\"\n [nzSize]=\"props['size'] || 'default'\"\n [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\n >\n @for (item of props.buttons; track item.id) {\n <ng-container *ngTemplateOutlet=\"btnTemplate; context: { $implicit: item }\"></ng-container>\n }\n </nz-button-group>\n\n <ng-template #btnTemplate let-item>\n <button\n nz-button\n [formlyAttributes]=\"item\"\n [type]=\"item.type || 'button'\"\n [attr.title]=\"item.props['title']\"\n [disabled]=\"!!item.props.disabled\"\n [nzBlock]=\"!!item.props.block\"\n [nzDanger]=\"!!item.props.danger\"\n [nzGhost]=\"!!item.props.ghost\"\n [ngClass]=\"item.props['ngClass']\"\n [ngStyle]=\"item.props['ngStyle']\"\n [nzSize]=\"item.props.size || 'default'\"\n [nzLoading]=\"!!item.props.loading\"\n [nzShape]=\"item.props.shape ?? null\"\n [nzType]=\"item.props.nzType ?? null\"\n >\n @if (item.props.beforeIcon) {\n <span nz-icon [nzType]=\"item.props.beforeIcon\"></span>\n }\n @if (item.props.text) {\n <span>{{ item.props.text }}</span>\n }\n @if (item.props.afterIcon) {\n <span nz-icon [nzType]=\"item.props.afterIcon\"></span>\n }\n </button>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldButtonGroup extends FieldType<FieldTypeConfig<ButtonGroupProps>> implements OnDestroy {\n destroy$ = new Subject<void>();\n override defaultOptions = {\n props: {\n size: 'default' as const,\n buttons: []\n }\n };\n\n constructor() {\n super();\n }\n\n subjectDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n ngOnDestroy(): void {\n this.subjectDestroy();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyFieldButtonGroup } from './button-group.type';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@NgModule({\n declarations: [FormlyFieldButtonGroup],\n imports: [\n CommonModule,\n NzButtonModule,\n NzIconModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'button-group',\n component: FormlyFieldButtonGroup\n }\n ]\n })\n ]\n})\nexport class FormlyNzButtonGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-button-group.mjs","sources":["../../../../packages/formlyantd/button-group/src/button-group.type.ts","../../../../packages/formlyantd/button-group/src/button-group.module.ts","../../../../packages/formlyantd/button-group/src/ngx-formly-zorro-antd-button-group.ts"],"sourcesContent":["import { Component, Type, OnDestroy, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { Subject } from 'rxjs';\nimport { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { ButtonProps } from 'ngx-formly-zorro-antd/button';\n\nimport type { NzButtonGroupSize } from 'ng-zorro-antd/button';\n\n/**\n * @publicApi\n */\nexport interface ButtonGroupProps extends FormlyFieldProps {\n size?: NzButtonGroupSize;\n\n /**\n * 每个按钮配置\n */\n buttons?: NzFormlyFieldConfig<Omit<ButtonProps, 'size' | 'textName'>>[];\n}\n\nexport interface FormlyButtonGroupFieldConfig extends NzFormlyFieldConfig<ButtonGroupProps> {\n type: 'button-group' | Type<FormlyFieldButtonGroup>;\n}\n/**\n * @private\n */\n@Component({\n selector: 'formly-field-button-group',\n template: `\n <nz-button-group\n [formlyAttributes]=\"field\"\n [nzSize]=\"props['size'] || 'default'\"\n [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\n >\n @for (item of props.buttons; track item.id) {\n <ng-container *ngTemplateOutlet=\"btnTemplate; context: { $implicit: item }\"></ng-container>\n }\n </nz-button-group>\n\n <ng-template #btnTemplate let-item>\n <button\n nz-button\n [formlyAttributes]=\"item\"\n [type]=\"item.type || 'button'\"\n [attr.title]=\"item.props['title']\"\n [disabled]=\"!!item.props.disabled\"\n [nzBlock]=\"!!item.props.block\"\n [nzDanger]=\"!!item.props.danger\"\n [nzGhost]=\"!!item.props.ghost\"\n [ngClass]=\"item.props['ngClass']\"\n [ngStyle]=\"item.props['ngStyle']\"\n [nzSize]=\"item.props.size || 'default'\"\n [nzLoading]=\"!!item.props.loading\"\n [nzShape]=\"item.props.shape ?? null\"\n [nzType]=\"item.props.nzType ?? null\"\n >\n @if (item.props.beforeIcon) {\n <span nz-icon [nzType]=\"item.props.beforeIcon\"></span>\n }\n @if (item.props.text) {\n <span>{{ item.props.text }}</span>\n }\n @if (item.props.afterIcon) {\n <span nz-icon [nzType]=\"item.props.afterIcon\"></span>\n }\n </button>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldButtonGroup extends FieldType<FieldTypeConfig<ButtonGroupProps>> implements OnDestroy {\n destroy$ = new Subject<void>();\n override defaultOptions = {\n props: {\n size: 'default' as const,\n buttons: []\n }\n };\n\n constructor() {\n super();\n }\n\n subjectDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n ngOnDestroy(): void {\n this.subjectDestroy();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyFieldButtonGroup } from './button-group.type';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@NgModule({\n declarations: [FormlyFieldButtonGroup],\n imports: [\n CommonModule,\n NzButtonModule,\n NzIconModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'button-group',\n component: FormlyFieldButtonGroup\n }\n ]\n })\n ]\n})\nexport class FormlyNzButtonGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAwBA;;AAEG;AA8CG,MAAO,sBAAuB,SAAQ,SAA4C,CAAA;AAStF,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;AATV,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,OAAO,EAAQ,CAAC;AACtB,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,OAAO,EAAE,EAAE;AACZ,aAAA;SACF,CAAC;KAID;IAED,cAAc,GAAA;AACZ,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;AACrB,QAAA,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;KAC1B;IAED,WAAW,GAAA;QACT,IAAI,CAAC,cAAc,EAAE,CAAC;KACvB;8GApBU,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAA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AA,EAAA;+GAAzB,yBAAyB,EAAA,YAAA,EAAA,CAhBrB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAEnC,YAAY;YACZ,cAAc;YACd,YAAY,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA,EAAA;AAYH,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,YAdlC,YAAY;YACZ,cAAc;YACd,YAAY;YAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,cAAc;AACpB,wBAAA,SAAS,EAAE,sBAAsB;AAClC,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAjBrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,cAAc;wBACd,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,cAAc;AACpB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
|
@@ -15,6 +15,9 @@ import * as i6 from 'ng-zorro-antd/core/wave';
|
|
15
15
|
import * as i7 from 'ng-zorro-antd/icon';
|
16
16
|
import { NzIconModule } from 'ng-zorro-antd/icon';
|
17
17
|
|
18
|
+
/**
|
19
|
+
* @private
|
20
|
+
*/
|
18
21
|
class FormlyFieldButton extends FieldType {
|
19
22
|
constructor(fieldTemplates) {
|
20
23
|
super();
|
@@ -35,8 +38,8 @@ class FormlyFieldButton extends FieldType {
|
|
35
38
|
get text() {
|
36
39
|
return resolveTplName(this.props, this.fieldTemplates, 'text');
|
37
40
|
}
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldButton, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
42
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.7", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
40
43
|
@if (props.type === 'a') {
|
41
44
|
<a
|
42
45
|
nz-button
|
@@ -70,7 +73,7 @@ class FormlyFieldButton extends FieldType {
|
|
70
73
|
[attr.type]="field.type"
|
71
74
|
[attr.form]="props['formName']"
|
72
75
|
[attr.title]="props['title']"
|
73
|
-
[disabled]="props['disabled'] || formControl.disabled
|
76
|
+
[disabled]="props['disabled'] || !!formControl.disabled"
|
74
77
|
[nzGhost]="!!props['ghost']"
|
75
78
|
[nzLoading]="!!props['loading']"
|
76
79
|
[nzShape]="props['shape'] ?? null"
|
@@ -97,7 +100,7 @@ class FormlyFieldButton extends FieldType {
|
|
97
100
|
}
|
98
101
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: i4.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i6.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i7.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i8.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
99
102
|
}
|
100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldButton, decorators: [{
|
101
104
|
type: Component,
|
102
105
|
args: [{
|
103
106
|
selector: 'formly-field-button',
|
@@ -135,7 +138,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
135
138
|
[attr.type]="field.type"
|
136
139
|
[attr.form]="props['formName']"
|
137
140
|
[attr.title]="props['title']"
|
138
|
-
[disabled]="props['disabled'] || formControl.disabled
|
141
|
+
[disabled]="props['disabled'] || !!formControl.disabled"
|
139
142
|
[nzGhost]="!!props['ghost']"
|
140
143
|
[nzLoading]="!!props['loading']"
|
141
144
|
[nzShape]="props['shape'] ?? null"
|
@@ -168,12 +171,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
168
171
|
}] }] });
|
169
172
|
|
170
173
|
class FormlyNzButtonModule {
|
171
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
172
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
175
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonModule, declarations: [FormlyFieldButton], imports: [CommonModule,
|
173
176
|
NzOutletModule,
|
174
177
|
NzButtonModule,
|
175
178
|
NzIconModule, i8.FormlyModule] }); }
|
176
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
179
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonModule, imports: [CommonModule,
|
177
180
|
NzOutletModule,
|
178
181
|
NzButtonModule,
|
179
182
|
NzIconModule,
|
@@ -194,7 +197,7 @@ class FormlyNzButtonModule {
|
|
194
197
|
]
|
195
198
|
})] }); }
|
196
199
|
}
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
|
198
201
|
type: NgModule,
|
199
202
|
args: [{
|
200
203
|
declarations: [FormlyFieldButton],
|