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
@@ -5,8 +5,7 @@ import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
6
6
|
import * as i2 from "@angular/forms";
|
7
7
|
import * as i3 from "ng-zorro-antd/select";
|
8
|
-
import * as i4 from "@ngx-formly/core";
|
9
|
-
import * as i5 from "@ngx-formly/core/select";
|
8
|
+
import * as i4 from "@ngx-formly/core/select";
|
10
9
|
export class FormlyFieldSelect extends FieldType {
|
11
10
|
constructor() {
|
12
11
|
super(...arguments);
|
@@ -38,8 +37,8 @@ export class FormlyFieldSelect extends FieldType {
|
|
38
37
|
this.select.nzFilterOption = this.props['filterOption'];
|
39
38
|
}
|
40
39
|
}
|
41
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
42
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
41
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.7", type: FormlyFieldSelect, selector: "formly-field-select", viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
43
42
|
<nz-select
|
44
43
|
#select
|
45
44
|
[class.ng-dirty]="showError"
|
@@ -48,31 +47,30 @@ export class FormlyFieldSelect extends FieldType {
|
|
48
47
|
[nzId]="id"
|
49
48
|
[nzPlaceHolder]="props.placeholder ?? null"
|
50
49
|
[compareWith]="props['compareWith']!"
|
51
|
-
[nzAllowClear]="props['allowClear']
|
52
|
-
[nzSelectOnTab]="props['selectOnTab']
|
50
|
+
[nzAllowClear]="!!props['allowClear']"
|
51
|
+
[nzSelectOnTab]="!!props['selectOnTab']"
|
53
52
|
[nzAutoClearSearchValue]="props['autoClearSearchValue']"
|
54
|
-
[nzBackdrop]="props['backdrop']
|
53
|
+
[nzBackdrop]="!!props['backdrop']"
|
55
54
|
[nzBorderless]="props['borderless']"
|
56
|
-
[nzOpen]="props['open']
|
55
|
+
[nzOpen]="!!props['open']"
|
57
56
|
[nzDropdownClassName]="props['dropdownClassName']"
|
58
|
-
[nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']
|
57
|
+
[nzDropdownMatchSelectWidth]="!!props['dropdownMatchSelectWidth']"
|
59
58
|
[nzDropdownStyle]="props['dropdownStyle'] ?? null"
|
60
59
|
[nzCustomTemplate]="props['customTemplate'] ?? null"
|
61
|
-
[nzServerSearch]="props['serverSearch']
|
60
|
+
[nzServerSearch]="!!props['serverSearch']"
|
62
61
|
[nzMaxMultipleCount]="props['maxMultipleCount']!"
|
63
62
|
[nzMode]="props['mode']!"
|
64
|
-
[nzShowSearch]="props['showSearch']
|
63
|
+
[nzShowSearch]="!!props['showSearch']"
|
65
64
|
[nzSize]="props['size']!"
|
66
65
|
[nzStatus]="props['status']!"
|
67
|
-
[nzLoading]="props['loading']
|
66
|
+
[nzLoading]="!!props['loading']"
|
68
67
|
[nzPlacement]="props['placement']"
|
69
|
-
[nzShowArrow]="props['showArrow']
|
68
|
+
[nzShowArrow]="!!props['showArrow']"
|
70
69
|
[nzMaxTagCount]="props['maxTagCount']"
|
71
70
|
[nzMaxTagPlaceholder]="props['maxTagPlaceholder'] ?? null"
|
72
71
|
[nzOptionHeightPx]="props['optionHeightPx']!"
|
73
72
|
[nzOptionOverflowSize]="props['optionOverflowSize']!"
|
74
73
|
[formControl]="formControl"
|
75
|
-
[formlyAttributes]="field"
|
76
74
|
(ngModelChange)="props['modelChange']?.(field, $event)"
|
77
75
|
(nzBlur)="props.blur?.(field, $event)"
|
78
76
|
(nzFocus)="props.focus?.(field, $event)"
|
@@ -92,9 +90,9 @@ export class FormlyFieldSelect extends FieldType {
|
|
92
90
|
}
|
93
91
|
}
|
94
92
|
</nz-select>
|
95
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "component", type: i3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "
|
93
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "component", type: i3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
96
94
|
}
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldSelect, decorators: [{
|
98
96
|
type: Component,
|
99
97
|
args: [{
|
100
98
|
selector: 'formly-field-select',
|
@@ -107,31 +105,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
107
105
|
[nzId]="id"
|
108
106
|
[nzPlaceHolder]="props.placeholder ?? null"
|
109
107
|
[compareWith]="props['compareWith']!"
|
110
|
-
[nzAllowClear]="props['allowClear']
|
111
|
-
[nzSelectOnTab]="props['selectOnTab']
|
108
|
+
[nzAllowClear]="!!props['allowClear']"
|
109
|
+
[nzSelectOnTab]="!!props['selectOnTab']"
|
112
110
|
[nzAutoClearSearchValue]="props['autoClearSearchValue']"
|
113
|
-
[nzBackdrop]="props['backdrop']
|
111
|
+
[nzBackdrop]="!!props['backdrop']"
|
114
112
|
[nzBorderless]="props['borderless']"
|
115
|
-
[nzOpen]="props['open']
|
113
|
+
[nzOpen]="!!props['open']"
|
116
114
|
[nzDropdownClassName]="props['dropdownClassName']"
|
117
|
-
[nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']
|
115
|
+
[nzDropdownMatchSelectWidth]="!!props['dropdownMatchSelectWidth']"
|
118
116
|
[nzDropdownStyle]="props['dropdownStyle'] ?? null"
|
119
117
|
[nzCustomTemplate]="props['customTemplate'] ?? null"
|
120
|
-
[nzServerSearch]="props['serverSearch']
|
118
|
+
[nzServerSearch]="!!props['serverSearch']"
|
121
119
|
[nzMaxMultipleCount]="props['maxMultipleCount']!"
|
122
120
|
[nzMode]="props['mode']!"
|
123
|
-
[nzShowSearch]="props['showSearch']
|
121
|
+
[nzShowSearch]="!!props['showSearch']"
|
124
122
|
[nzSize]="props['size']!"
|
125
123
|
[nzStatus]="props['status']!"
|
126
|
-
[nzLoading]="props['loading']
|
124
|
+
[nzLoading]="!!props['loading']"
|
127
125
|
[nzPlacement]="props['placement']"
|
128
|
-
[nzShowArrow]="props['showArrow']
|
126
|
+
[nzShowArrow]="!!props['showArrow']"
|
129
127
|
[nzMaxTagCount]="props['maxTagCount']"
|
130
128
|
[nzMaxTagPlaceholder]="props['maxTagPlaceholder'] ?? null"
|
131
129
|
[nzOptionHeightPx]="props['optionHeightPx']!"
|
132
130
|
[nzOptionOverflowSize]="props['optionOverflowSize']!"
|
133
131
|
[formControl]="formControl"
|
134
|
-
[formlyAttributes]="field"
|
135
132
|
(ngModelChange)="props['modelChange']?.(field, $event)"
|
136
133
|
(nzBlur)="props.blur?.(field, $event)"
|
137
134
|
(nzFocus)="props.focus?.(field, $event)"
|
@@ -158,4 +155,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
158
155
|
type: ViewChild,
|
159
156
|
args: ['select', { static: true }]
|
160
157
|
}] } });
|
161
|
-
//# sourceMappingURL=data:application/json;base64,
|
158
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NlbGVjdC9zcmMvc2VsZWN0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ik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iBbXSxcbiAgICAgIG9wdGlvbnM6IFtdLFxuICAgICAgbG9hZGluZzogZmFsc2UsXG4gICAgICBvcHRpb25IZWlnaHRQeDogMzIsXG4gICAgICBvcHRpb25PdmVyZmxvd1NpemU6IDhcbiAgICB9XG4gIH07XG4gIEBWaWV3Q2hpbGQoJ3NlbGVjdCcsIHsgc3RhdGljOiB0cnVlIH0pIHNlbGVjdCE6IE56U2VsZWN0Q29tcG9uZW50O1xuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICBpZiAodGhpcy5wcm9wc1snZmlsdGVyT3B0aW9uJ10gaW5zdGFuY2VvZiBGdW5jdGlvbikge1xuICAgICAgdGhpcy5zZWxlY3QubnpGaWx0ZXJPcHRpb24gPSB0aGlzLnByb3BzWydmaWx0ZXJPcHRpb24nXSBhcyBOelNhZmVBbnk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -8,12 +8,12 @@ import { NzSliderModule } from 'ng-zorro-antd/slider';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@ngx-formly/core";
|
10
10
|
export class FormlyNzSliderModule {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
|
13
13
|
ReactiveFormsModule,
|
14
14
|
FormlyNzFormFieldModule,
|
15
15
|
NzSliderModule, i1.FormlyModule] }); }
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
|
17
17
|
ReactiveFormsModule,
|
18
18
|
FormlyNzFormFieldModule,
|
19
19
|
NzSliderModule,
|
@@ -27,7 +27,7 @@ export class FormlyNzSliderModule {
|
|
27
27
|
]
|
28
28
|
})] }); }
|
29
29
|
}
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
|
31
31
|
type: NgModule,
|
32
32
|
args: [{
|
33
33
|
declarations: [FormlyFieldSlider],
|
@@ -3,7 +3,9 @@ import { FieldType } from '@ngx-formly/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "@angular/forms";
|
5
5
|
import * as i2 from "ng-zorro-antd/slider";
|
6
|
-
|
6
|
+
/**
|
7
|
+
* @private
|
8
|
+
*/
|
7
9
|
export class FormlyFieldSlider extends FieldType {
|
8
10
|
constructor() {
|
9
11
|
super(...arguments);
|
@@ -21,42 +23,40 @@ export class FormlyFieldSlider extends FieldType {
|
|
21
23
|
}
|
22
24
|
};
|
23
25
|
}
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: FormlyFieldSlider, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
|
26
28
|
#slider
|
27
29
|
[formControl]="formControl"
|
28
|
-
[
|
29
|
-
[
|
30
|
-
[nzIncluded]="props['included']!!"
|
30
|
+
[nzDots]="!!props['dots']"
|
31
|
+
[nzIncluded]="!!props['included']"
|
31
32
|
[nzMax]="props.max"
|
32
33
|
[nzMin]="props.min"
|
33
|
-
[nzRange]="props['range']
|
34
|
+
[nzRange]="!!props['range']"
|
34
35
|
[nzStep]="props.step"
|
35
36
|
[nzTipFormatter]="props['tipFormatter']"
|
36
|
-
[nzVertical]="props['vertical']
|
37
|
-
[nzReverse]="props['reverse']
|
37
|
+
[nzVertical]="!!props['vertical']"
|
38
|
+
[nzReverse]="!!props['reverse']"
|
38
39
|
[nzTooltipVisible]="props['tooltipVisible']!"
|
39
40
|
(ngModelChange)="props.change?.(field, $event)"
|
40
41
|
(nzOnAfterChange)="props['afterChange']?.(field, $event)"
|
41
|
-
></nz-slider>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzDefaultValue", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }
|
42
|
+
></nz-slider>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzDefaultValue", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
42
43
|
}
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldSlider, decorators: [{
|
44
45
|
type: Component,
|
45
46
|
args: [{
|
46
47
|
selector: 'formly-field-slider',
|
47
48
|
template: `<nz-slider
|
48
49
|
#slider
|
49
50
|
[formControl]="formControl"
|
50
|
-
[
|
51
|
-
[
|
52
|
-
[nzIncluded]="props['included']!!"
|
51
|
+
[nzDots]="!!props['dots']"
|
52
|
+
[nzIncluded]="!!props['included']"
|
53
53
|
[nzMax]="props.max"
|
54
54
|
[nzMin]="props.min"
|
55
|
-
[nzRange]="props['range']
|
55
|
+
[nzRange]="!!props['range']"
|
56
56
|
[nzStep]="props.step"
|
57
57
|
[nzTipFormatter]="props['tipFormatter']"
|
58
|
-
[nzVertical]="props['vertical']
|
59
|
-
[nzReverse]="props['reverse']
|
58
|
+
[nzVertical]="!!props['vertical']"
|
59
|
+
[nzReverse]="!!props['reverse']"
|
60
60
|
[nzTooltipVisible]="props['tooltipVisible']!"
|
61
61
|
(ngModelChange)="props.change?.(field, $event)"
|
62
62
|
(nzOnAfterChange)="props['afterChange']?.(field, $event)"
|
@@ -64,4 +64,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
64
64
|
changeDetection: ChangeDetectionStrategy.OnPush
|
65
65
|
}]
|
66
66
|
}] });
|
67
|
-
//# sourceMappingURL=data:application/json;base64,
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291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W5nZSk9XCJwcm9wc1snYWZ0ZXJDaGFuZ2UnXT8uKGZpZWxkLCAkZXZlbnQpXCJcbiAgPjwvbnotc2xpZGVyPmAsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkU2xpZGVyIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxTbGlkZVByb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgbWF4OiAxMDAsXG4gICAgICBtaW46IDAsXG4gICAgICBzdGVwOiAxLFxuICAgICAgZG90czogZmFsc2UsXG4gICAgICBpbmNsdWRlZDogdHJ1ZSxcbiAgICAgIHJhbmdlOiBmYWxzZSxcbiAgICAgIHZlcnRpY2FsOiBmYWxzZSxcbiAgICAgIHJldmVyc2U6IGZhbHNlLFxuICAgICAgdG9vbHRpcFZpc2libGU6ICdkZWZhdWx0JyBhcyBjb25zdFxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -6,10 +6,10 @@ import { NzSpaceModule } from 'ng-zorro-antd/space';
|
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
import * as i1 from "@ngx-formly/core";
|
8
8
|
export class FormlyNzSpaceModule {
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSpaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSpaceModule, declarations: [FormlyFieldSpace], imports: [CommonModule,
|
11
11
|
NzSpaceModule, i1.FormlyModule] }); }
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSpaceModule, imports: [CommonModule,
|
13
13
|
NzSpaceModule,
|
14
14
|
FormlyModule.forChild({
|
15
15
|
types: [
|
@@ -20,7 +20,7 @@ export class FormlyNzSpaceModule {
|
|
20
20
|
]
|
21
21
|
})] }); }
|
22
22
|
}
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSpaceModule, decorators: [{
|
24
24
|
type: NgModule,
|
25
25
|
args: [{
|
26
26
|
declarations: [FormlyFieldSpace],
|
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "ngx-formly-zorro-antd/common";
|
6
6
|
import * as i2 from "ng-zorro-antd/space";
|
7
7
|
import * as i3 from "@ngx-formly/core";
|
8
|
+
/** @private */
|
8
9
|
export class FormlyFieldSpace extends FieldType {
|
9
10
|
constructor(fieldTemplates) {
|
10
11
|
super();
|
@@ -20,23 +21,22 @@ export class FormlyFieldSpace extends FieldType {
|
|
20
21
|
get nzSplit() {
|
21
22
|
return resolveTplName(this.props, this.fieldTemplates, 'split');
|
22
23
|
}
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldSpace, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.7", type: FormlyFieldSpace, selector: "formly-field-space", usesInheritance: true, ngImport: i0, template: `
|
25
26
|
<nz-space
|
26
27
|
[nzSize]="props.size!"
|
27
28
|
[nzAlign]="props.align"
|
28
29
|
[nzDirection]="props.direction!"
|
29
30
|
[nzSplit]="nzSplit ?? null"
|
30
|
-
[nzWrap]="props.wrap
|
31
|
-
[formlyAttributes]="field"
|
31
|
+
[nzWrap]="!!props.wrap"
|
32
32
|
>
|
33
33
|
@for (g of field.fieldGroup; track g.id) {
|
34
34
|
<formly-field *nzSpaceItem [field]="g"></formly-field>
|
35
35
|
}
|
36
36
|
</nz-space>
|
37
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i2.NzSpaceComponent, selector: "nz-space, [nz-space]", inputs: ["nzDirection", "nzAlign", "nzSplit", "nzWrap", "nzSize"], exportAs: ["NzSpace"] }, { kind: "directive", type: i2.NzSpaceItemDirective, selector: "[nzSpaceItem]" }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }
|
37
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i2.NzSpaceComponent, selector: "nz-space, [nz-space]", inputs: ["nzDirection", "nzAlign", "nzSplit", "nzWrap", "nzSize"], exportAs: ["NzSpace"] }, { kind: "directive", type: i2.NzSpaceItemDirective, selector: "[nzSpaceItem]" }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
38
38
|
}
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldSpace, decorators: [{
|
40
40
|
type: Component,
|
41
41
|
args: [{
|
42
42
|
selector: 'formly-field-space',
|
@@ -46,8 +46,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
46
46
|
[nzAlign]="props.align"
|
47
47
|
[nzDirection]="props.direction!"
|
48
48
|
[nzSplit]="nzSplit ?? null"
|
49
|
-
[nzWrap]="props.wrap
|
50
|
-
[formlyAttributes]="field"
|
49
|
+
[nzWrap]="!!props.wrap"
|
51
50
|
>
|
52
51
|
@for (g of field.fieldGroup; track g.id) {
|
53
52
|
<formly-field *nzSpaceItem [field]="g"></formly-field>
|
@@ -59,4 +58,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
59
58
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
60
59
|
type: Optional
|
61
60
|
}] }] });
|
62
|
-
//# sourceMappingURL=data:application/json;base64,
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2UudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3BhY2Uvc3JjL3NwYWNlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBcUIsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hHLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7QUFFOUQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLGNBQWMsRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7OztBQXNDbEYsZUFBZTtBQWtCZixNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsU0FBc0M7SUFRMUUsWUFBK0IsY0FBa0M7UUFDL0QsS0FBSyxFQUFFLENBQUM7UUFEcUIsbUJBQWMsR0FBZCxjQUFjLENBQW9CO1FBUHhELG1CQUFjLEdBQUc7WUF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XBsYXRlcywgJ3NwbGl0Jyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -8,12 +8,12 @@ import { NzSwitchModule } from 'ng-zorro-antd/switch';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@ngx-formly/core";
|
10
10
|
export class FormlyNzSwitchModule {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
|
13
13
|
ReactiveFormsModule,
|
14
14
|
FormlyNzFormFieldModule,
|
15
15
|
NzSwitchModule, i1.FormlyModule] }); }
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSwitchModule, imports: [CommonModule,
|
17
17
|
ReactiveFormsModule,
|
18
18
|
FormlyNzFormFieldModule,
|
19
19
|
NzSwitchModule,
|
@@ -27,7 +27,7 @@ export class FormlyNzSwitchModule {
|
|
27
27
|
]
|
28
28
|
})] }); }
|
29
29
|
}
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
|
31
31
|
type: NgModule,
|
32
32
|
args: [{
|
33
33
|
declarations: [FormlyFieldSwitch],
|
@@ -3,7 +3,7 @@ import { FieldType } from '@ngx-formly/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "@angular/forms";
|
5
5
|
import * as i2 from "ng-zorro-antd/switch";
|
6
|
-
|
6
|
+
/** @private */
|
7
7
|
export class FormlyFieldSwitch extends FieldType {
|
8
8
|
constructor() {
|
9
9
|
super(...arguments);
|
@@ -15,39 +15,37 @@ export class FormlyFieldSwitch extends FieldType {
|
|
15
15
|
}
|
16
16
|
};
|
17
17
|
}
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
|
20
20
|
<nz-switch
|
21
21
|
[formControl]="formControl"
|
22
|
-
[formlyAttributes]="field"
|
23
22
|
[nzId]="id"
|
24
23
|
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
25
24
|
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
26
25
|
[nzSize]="props['size']!"
|
27
|
-
[nzLoading]="props['loading']
|
28
|
-
[nzControl]="props['control']
|
26
|
+
[nzLoading]="!!props['loading']"
|
27
|
+
[nzControl]="!!props['control']"
|
29
28
|
(ngModelChange)="props.change?.(field, $event)"
|
30
29
|
></nz-switch>
|
31
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }
|
30
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
32
31
|
}
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
|
34
33
|
type: Component,
|
35
34
|
args: [{
|
36
35
|
selector: 'formly-field-switch',
|
37
36
|
template: `
|
38
37
|
<nz-switch
|
39
38
|
[formControl]="formControl"
|
40
|
-
[formlyAttributes]="field"
|
41
39
|
[nzId]="id"
|
42
40
|
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
43
41
|
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
44
42
|
[nzSize]="props['size']!"
|
45
|
-
[nzLoading]="props['loading']
|
46
|
-
[nzControl]="props['control']
|
43
|
+
[nzLoading]="!!props['loading']"
|
44
|
+
[nzControl]="!!props['control']"
|
47
45
|
(ngModelChange)="props.change?.(field, $event)"
|
48
46
|
></nz-switch>
|
49
47
|
`,
|
50
48
|
changeDetection: ChangeDetectionStrategy.OnPush
|
51
49
|
}]
|
52
50
|
}] });
|
53
|
-
//# sourceMappingURL=data:application/json;base64,
|
51
|
+
//# s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xuIl19
|
@@ -6,10 +6,10 @@ import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
import * as i1 from "@ngx-formly/core";
|
8
8
|
export class FormlyNzTabsModule {
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
|
11
11
|
NzTabsModule, i1.FormlyModule] }); }
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzTabsModule, imports: [CommonModule,
|
13
13
|
NzTabsModule,
|
14
14
|
FormlyModule.forChild({
|
15
15
|
wrappers: [
|
@@ -20,7 +20,7 @@ export class FormlyNzTabsModule {
|
|
20
20
|
]
|
21
21
|
})] }); }
|
22
22
|
}
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
|
24
24
|
type: NgModule,
|
25
25
|
args: [{
|
26
26
|
declarations: [FormlyWrapperTabs],
|
@@ -3,6 +3,7 @@ import { FieldWrapper } from '@ngx-formly/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "ng-zorro-antd/tabs";
|
5
5
|
import * as i2 from "@ngx-formly/core";
|
6
|
+
/** @private */
|
6
7
|
export class FormlyWrapperTabs extends FieldWrapper {
|
7
8
|
constructor() {
|
8
9
|
super(...arguments);
|
@@ -16,6 +17,7 @@ export class FormlyWrapperTabs extends FieldWrapper {
|
|
16
17
|
linkExact: true,
|
17
18
|
centered: false,
|
18
19
|
hideAdd: false,
|
20
|
+
selectedIndex: null,
|
19
21
|
tab: {
|
20
22
|
forceRender: false,
|
21
23
|
disabled: false
|
@@ -23,9 +25,9 @@ export class FormlyWrapperTabs extends FieldWrapper {
|
|
23
25
|
}
|
24
26
|
};
|
25
27
|
}
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
28
|
-
[(nzSelectedIndex)]="props['selectedIndex']"
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
29
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.7", type: FormlyWrapperTabs, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
|
30
|
+
[(nzSelectedIndex)]="props['selectedIndex']!"
|
29
31
|
[nzAnimated]="props['animated'] ?? true"
|
30
32
|
[nzSize]="props['size']!"
|
31
33
|
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
@@ -59,12 +61,12 @@ export class FormlyWrapperTabs extends FieldWrapper {
|
|
59
61
|
}
|
60
62
|
</nz-tabset>`, isInline: true, dependencies: [{ kind: "component", type: i1.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "component", type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
61
63
|
}
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
|
63
65
|
type: Component,
|
64
66
|
args: [{
|
65
67
|
selector: 'formly-wrapper-tabs',
|
66
68
|
template: `<nz-tabset
|
67
|
-
[(nzSelectedIndex)]="props['selectedIndex']"
|
69
|
+
[(nzSelectedIndex)]="props['selectedIndex']!"
|
68
70
|
[nzAnimated]="props['animated'] ?? true"
|
69
71
|
[nzSize]="props['size']!"
|
70
72
|
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
@@ -100,4 +102,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
100
102
|
changeDetection: ChangeDetectionStrategy.OnPush
|
101
103
|
}]
|
102
104
|
}] });
|
103
|
-
//# sourceMappingURL=data:application/json;base64,
|
105
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90YWJzL3NyYy90YWJzLndyYXBwZXIudHMiXSwibmFtZXMiOltdLCJtYXB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ro-antd/form';
|
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
import * as i1 from "@ngx-formly/core";
|
9
9
|
export class FormlyNzTextValueModule {
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
11
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzTextValueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzTextValueModule, declarations: [FormlyFieldTextValue], imports: [CommonModule,
|
12
12
|
NzFormModule,
|
13
13
|
DefaultifyPipe, i1.FormlyModule] }); }
|
14
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzTextValueModule, imports: [CommonModule,
|
15
15
|
NzFormModule,
|
16
16
|
FormlyModule.forChild({
|
17
17
|
types: [
|
@@ -23,7 +23,7 @@ export class FormlyNzTextValueModule {
|
|
23
23
|
]
|
24
24
|
})] }); }
|
25
25
|
}
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzTextValueModule, decorators: [{
|
27
27
|
type: NgModule,
|
28
28
|
args: [{
|
29
29
|
declarations: [FormlyFieldTextValue],
|