ngx-formly-zorro-antd 17.4.2 → 17.4.3
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 +3 -0
- package/datepicker/datepicker.type.d.ts +3 -0
- package/esm2022/button/button.type.mjs +6 -3
- package/esm2022/button-group/button-group.type.mjs +4 -1
- package/esm2022/card/card.type.mjs +7 -2
- package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
- package/esm2022/card-wrapper/card.wrapper.mjs +7 -2
- package/esm2022/cascader/cascader.type.mjs +4 -1
- package/esm2022/checkbox/checkbox.type.mjs +3 -1
- package/esm2022/datepicker/datepicker.type.mjs +17 -19
- package/esm2022/flex/flex.type.mjs +6 -3
- package/esm2022/form-field/form-field.wrapper.mjs +5 -5
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/grid/grid.type.mjs +4 -1
- package/esm2022/input/input.type.mjs +31 -28
- package/esm2022/input-group/input-group.type.mjs +8 -5
- package/esm2022/input-number/input-number.type.mjs +9 -7
- package/esm2022/radio/radio.type.mjs +7 -7
- package/esm2022/rate/rate.type.mjs +11 -11
- package/esm2022/ref-template/ref-template.type.mjs +7 -5
- package/esm2022/select/select.props.mjs +1 -1
- package/esm2022/select/select.type.mjs +21 -24
- package/esm2022/slider/slider.type.mjs +15 -15
- package/esm2022/space/space.type.mjs +5 -6
- package/esm2022/switch/switch.type.mjs +7 -9
- package/esm2022/tabs/tabs.wrapper.mjs +2 -1
- package/esm2022/text-value/text-value.type.mjs +2 -1
- package/esm2022/textarea/textarea.type.mjs +10 -9
- package/esm2022/timepicker/timepicker.type.mjs +21 -21
- package/esm2022/transfer/transfer.component.mjs +2 -1
- package/esm2022/transfer/transfer.type.mjs +4 -6
- package/esm2022/tree-select/tree-select.type.mjs +33 -31
- package/esm2022/upload/upload.type.mjs +6 -5
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +3 -0
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +5 -2
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +6 -1
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +6 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +3 -0
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +2 -0
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +18 -19
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs +5 -2
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +4 -4
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +3 -0
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +7 -4
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +10 -7
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +30 -27
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +8 -7
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +12 -11
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +7 -6
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +22 -24
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +16 -15
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +4 -5
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +8 -9
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +1 -0
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +1 -0
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +9 -8
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +22 -21
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +5 -5
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +34 -31
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +5 -4
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/flex/flex.type.d.ts +3 -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 +13 -13
- 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 +1 -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 +1 -0
- package/tree-select/tree-select.type.d.ts +1 -0
- package/upload/upload.type.d.ts +1 -0
@@ -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/rate";
|
6
|
-
|
6
|
+
/**
|
7
|
+
* @private
|
8
|
+
*/
|
7
9
|
export class FormlyFieldRate extends FieldType {
|
8
10
|
constructor() {
|
9
11
|
super(...arguments);
|
@@ -21,10 +23,9 @@ export class FormlyFieldRate extends FieldType {
|
|
21
23
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FormlyFieldRate, selector: "formly-field-rate", usesInheritance: true, ngImport: i0, template: `
|
22
24
|
<nz-rate
|
23
25
|
[formControl]="formControl"
|
24
|
-
[
|
25
|
-
[
|
26
|
-
[
|
27
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
26
|
+
[nzAllowClear]="!!props['allowClear']"
|
27
|
+
[nzAllowHalf]="!!props['allowHalf']"
|
28
|
+
[nzAutoFocus]="!!props['autoFocus']"
|
28
29
|
[nzCharacter]="props['character']!"
|
29
30
|
[nzCount]="props['count']"
|
30
31
|
[nzTooltips]="props['tooltips']!"
|
@@ -34,7 +35,7 @@ export class FormlyFieldRate extends FieldType {
|
|
34
35
|
(nzOnHoverChange)="props['hoverChange']?.(field, $event)"
|
35
36
|
(nzOnKeyDown)="props.keydown?.(field, $event)"
|
36
37
|
></nz-rate>
|
37
|
-
`, 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.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }
|
38
|
+
`, 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.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
38
39
|
}
|
39
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRate, decorators: [{
|
40
41
|
type: Component,
|
@@ -43,10 +44,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
43
44
|
template: `
|
44
45
|
<nz-rate
|
45
46
|
[formControl]="formControl"
|
46
|
-
[
|
47
|
-
[
|
48
|
-
[
|
49
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
47
|
+
[nzAllowClear]="!!props['allowClear']"
|
48
|
+
[nzAllowHalf]="!!props['allowHalf']"
|
49
|
+
[nzAutoFocus]="!!props['autoFocus']"
|
50
50
|
[nzCharacter]="props['character']!"
|
51
51
|
[nzCount]="props['count']"
|
52
52
|
[nzTooltips]="props['tooltips']!"
|
@@ -60,4 +60,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
60
60
|
changeDetection: ChangeDetectionStrategy.OnPush
|
61
61
|
}]
|
62
62
|
}] });
|
63
|
-
//# sourceMappingURL=data:application/json;base64,
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0ZS50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9yYXRlL3NyYy9yYXRlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQzs7OztBQXVEOUQ7O0dBRUc7QUFxQkgsTUFBTSxPQUFPLGVBQWdCLFNBQVEsU0FBcUM7SUFwQjFFOztRQXFCVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxVQUFVLEVBQUUsSUFBSTtnQkFDaEIsU0FBUyxFQUFFLEtBQUs7Z0JBQ2hCLFNBQVMsRUFBRSxLQUFLO2dCQUNoQixLQUFLLEVBQUUsQ0FBQztnQkFDUixRQUFRLEVBQUUsRUFBRTthQUNiO1NBQ0YsQ0FBQztLQUNIOzhHQVZZLGVBQWU7a0dBQWYsZUFBZSxnRkFsQmhCOzs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ormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common
|
|
4
4
|
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/core/outlet";
|
7
|
-
import * as i3 from "@
|
7
|
+
import * as i3 from "@ngx-formly/core";
|
8
|
+
import * as i4 from "@pkt/ng.core";
|
8
9
|
/**
|
9
10
|
* 引用模板,支持HTML,TemplateRef对象,或者NamedTemplate
|
10
11
|
* @example
|
@@ -56,6 +57,7 @@ import * as i3 from "@pkt/ng.core";
|
|
56
57
|
* }
|
57
58
|
* }
|
58
59
|
* ```
|
60
|
+
* @private
|
59
61
|
*/
|
60
62
|
export class FormlyFieldRefTemplate extends FieldType {
|
61
63
|
constructor(fieldTemplates) {
|
@@ -68,9 +70,9 @@ export class FormlyFieldRefTemplate extends FieldType {
|
|
68
70
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRefTemplate, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
69
71
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: FormlyFieldRefTemplate, selector: "formly-ref-template", usesInheritance: true, ngImport: i0, template: `
|
70
72
|
<ng-container *nzStringTemplateOutlet="ref; context: { $implicit: field, props: props }">
|
71
|
-
<div [innerHTML]="$any(ref) | trustedHtml"></div>
|
73
|
+
<div [formlyAttributes]="field" [innerHTML]="$any(ref) | trustedHtml"></div>
|
72
74
|
</ng-container>
|
73
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "pipe", type:
|
75
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i4.TrustedHtmlPipe, name: "trustedHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
74
76
|
}
|
75
77
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldRefTemplate, decorators: [{
|
76
78
|
type: Component,
|
@@ -78,7 +80,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
78
80
|
selector: 'formly-ref-template',
|
79
81
|
template: `
|
80
82
|
<ng-container *nzStringTemplateOutlet="ref; context: { $implicit: field, props: props }">
|
81
|
-
<div [innerHTML]="$any(ref) | trustedHtml"></div>
|
83
|
+
<div [formlyAttributes]="field" [innerHTML]="$any(ref) | trustedHtml"></div>
|
82
84
|
</ng-container>
|
83
85
|
`,
|
84
86
|
changeDetection: ChangeDetectionStrategy.OnPush
|
@@ -86,4 +88,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
86
88
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
87
89
|
type: Optional
|
88
90
|
}] }] });
|
89
|
-
//# sourceMappingURL=data:application/json;base64,
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmLXRlbXBsYXRlLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3JlZi10ZW1wbGF0ZS9zcmMvcmVmLXRlbXBsYXRlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ik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M6IHByb3BzIH1cIj5cbiAgICAgIDxkaXYgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIiBbaW5uZXJIVE1MXT1cIiRhbnkocmVmKSB8IHRydXN0ZWRIdG1sXCI+PC9kaXY+XG4gICAgPC9uZy1jb250YWluZXI+XG4gIGAsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkUmVmVGVtcGxhdGUgZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPFJlZlRlbXBsYXRlUHJvcHM+PiB7XG4gIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIHB1YmxpYyBmaWVsZFRlbXBsYXRlczogRm9ybWx5Qm94VGVtcGxhdGVzKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIGdldCByZWYoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdyZWYnKTtcbiAgfVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LnByb3BzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9zZWxlY3Qvc3JjL3NlbGVjdC5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB0eXBlIHsgRm9ybWx5RmllbGRTZWxlY3RQcm9wcyB9IGZyb20gJ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gICAqIOS4i+aLieWIl+ihqOa7muWKqOWIsOW6lemDqOeahOWbnuiwg1xuICAgKi9cbiAgc2Nyb2xsVG9Cb3R0b20/OiBGb3JtbHlBdHRyaWJ1dGVFdmVudDtcblxuICAvKipcbiAgICog5paH5pys5qGG5YC85Y+Y5YyW5pe25Zue6LCDXG4gICAqL1xuICBvblNlYXJjaD86IEZvcm1seUF0dHJpYnV0ZUV2ZW50PHN0cmluZz47XG59XG4iXX0=
|
@@ -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);
|
@@ -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,7 +90,7 @@ 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
95
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldSelect, decorators: [{
|
98
96
|
type: Component,
|
@@ -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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VsZWN0T25UYWI6IGZhbHNlLFxuICAgICAgbWF4TXVsdGlwbGVDb3VudDogSW5maW5pdHksXG4gICAgICBtb2RlOiAnZGVmYXVsdCcgYXMgY29uc3QsXG4gICAgICBzaG93U2VhcmNoOiBmYWxzZSxcbiAgICAgIHNpemU6ICdkZWZhdWx0JyBhcyBjb25zdCxcbiAgICAgIHN0YXR1czogJycgYXMgY29uc3QsXG4gICAgICB0b2tlblNlcGFyYXRvcnM6IFtdLFxuICAgICAgb3B0aW9uczogW10sXG4gICAgICBsb2FkaW5nOiBmYWxzZSxcbiAgICAgIG9wdGlvbkhlaWdodFB4OiAzMixcbiAgICAgIG9wdGlvbk92ZXJmbG93U2l6ZTogOFxuICAgIH1cbiAgfTtcbiAgQFZpZXdDaGlsZCgnc2VsZWN0JywgeyBzdGF0aWM6IHRydWUgfSkgc2VsZWN0ITogTnpTZWxlY3RDb21wb25lbnQ7XG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIGlmICh0aGlzLnByb3BzWydmaWx0ZXJPcHRpb24nXSBpbnN0YW5jZW9mIEZ1bmN0aW9uKSB7XG4gICAgICB0aGlzLnNlbGVjdC5uekZpbHRlck9wdGlvbiA9IHRoaXMucHJvcHNbJ2ZpbHRlck9wdGlvbiddIGFzIE56U2FmZUFueTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
@@ -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);
|
@@ -25,20 +27,19 @@ export class FormlyFieldSlider extends FieldType {
|
|
25
27
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", 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
44
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldSlider, decorators: [{
|
44
45
|
type: Component,
|
@@ -47,16 +48,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWx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U/LihmaWVsZCwgJGV2ZW50KVwiXG4gICAgKG56T25BZnRlckNoYW5nZSk9XCJwcm9wc1snYWZ0ZXJDaGFuZ2UnXT8uKGZpZWxkLCAkZXZlbnQpXCJcbiAgPjwvbnotc2xpZGVyPmAsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkU2xpZGVyIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxTbGlkZVByb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgbWF4OiAxMDAsXG4gICAgICBtaW46IDAsXG4gICAgICBzdGVwOiAxLFxuICAgICAgZG90czogZmFsc2UsXG4gICAgICBpbmNsdWRlZDogdHJ1ZSxcbiAgICAgIHJhbmdlOiBmYWxzZSxcbiAgICAgIHZlcnRpY2FsOiBmYWxzZSxcbiAgICAgIHJldmVyc2U6IGZhbHNlLFxuICAgICAgdG9vbHRpcFZpc2libGU6ICdkZWZhdWx0JyBhcyBjb25zdFxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -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();
|
@@ -27,14 +28,13 @@ export class FormlyFieldSpace extends FieldType {
|
|
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
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldSpace, decorators: [{
|
40
40
|
type: Component,
|
@@ -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
|
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sZCAqbnpTcGFjZUl0ZW0gW2ZpZWxkXT1cImdcIj48L2Zvcm1seS1maWVsZD5cbiAgICAgIH1cbiAgICA8L256LXNwYWNlPlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFNwYWNlIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxTcGFjZVByb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgc2l6ZTogJ3NtYWxsJyBhcyBjb25zdCxcbiAgICAgIGRpcmVjdGlvbjogJ2hvcml6b250YWwnIGFzIGNvbnN0LFxuICAgICAgd3JhcDogZmFsc2VcbiAgICB9XG4gIH07XG4gIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIHB1YmxpYyBmaWVsZFRlbXBsYXRlczogRm9ybWx5Qm94VGVtcGxhdGVzKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuICBnZXQgbnpTcGxpdCgpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWUodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ3NwbGl0Jyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -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);
|
@@ -19,16 +19,15 @@ export class FormlyFieldSwitch extends FieldType {
|
|
19
19
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", 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
32
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
|
34
33
|
type: Component,
|
@@ -37,17 +36,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
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
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3N3aXRjaC9zcmMvc3dpdGNoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQzs7OztBQXlDOUQsZUFBZTtBQWlCZixNQUFNLE9BQU8saUJBQWtCLFNBQVEsU0FBdUM7SUFoQjlFOztRQWlCVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxJQUFJLEVBQUUsU0FBa0I7Z0JBQ3hCLE9BQU8sRUFBRSxLQUFLO2dCQUNkLE9BQU8sRUFBRSxLQUFLO2FBQ2Y7U0FDRixDQUFDO0tBQ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nXVwiXG4gICAgICAobmdNb2RlbENoYW5nZSk9XCJwcm9wcy5jaGFuZ2U/LihmaWVsZCwgJGV2ZW50KVwiXG4gICAgPjwvbnotc3dpdGNoPlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFN3aXRjaCBleHRlbmRzIEZpZWxkVHlwZTxGaWVsZFR5cGVDb25maWc8U3dpdGNoUHJvcHM+PiB7XG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xuICAgIHByb3BzOiB7XG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXG4gICAgICBsb2FkaW5nOiBmYWxzZSxcbiAgICAgIGNvbnRyb2w6IGZhbHNlXG4gICAgfVxuICB9O1xufVxuIl19
|
@@ -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);
|
@@ -100,4 +101,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
100
101
|
changeDetection: ChangeDetectionStrategy.OnPush
|
101
102
|
}]
|
102
103
|
}] });
|
103
|
-
//# sourceMappingURL=data:application/json;base64,
|
104
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90YWJzL3NyYy90YWJzLndyYXBwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5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