ngx-formly-zorro-antd 17.0.3 → 17.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/card-wrapper/card-wrapper.props.d.ts +4 -0
- package/esm2022/card/card.type.mjs +8 -5
- package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
- package/esm2022/card-wrapper/card.wrapper.mjs +7 -4
- package/esm2022/datepicker/datepicker.type.mjs +151 -155
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +53 -53
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/input/input.type.mjs +142 -146
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +33 -59
- package/esm2022/radio/radio.type.mjs +62 -42
- package/esm2022/select/select.type.mjs +26 -24
- package/esm2022/space/space.type.mjs +3 -3
- package/esm2022/textarea/textarea.type.mjs +18 -22
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +7 -4
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +8 -5
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +150 -154
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +52 -52
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +141 -145
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +62 -42
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +26 -24
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +2 -2
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +17 -21
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs +32 -58
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.props.d.ts +50 -52
- package/grid/grid.props.d.ts +14 -14
- package/lib/ui-ng-zorro-antd.module.d.ts +1 -1
- package/package.json +18 -18
- package/space/space.type.d.ts +2 -1
@@ -26,34 +26,6 @@ import { FormlyNzButtonGroupModule } from 'ngx-formly-zorro-antd/button-group';
|
|
26
26
|
import { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';
|
27
27
|
import { FormlyNzSpaceModule } from 'ngx-formly-zorro-antd/space';
|
28
28
|
import * as i0 from "@angular/core";
|
29
|
-
const MODULES = [
|
30
|
-
FormlyCommonModule,
|
31
|
-
FormlyRefTemplateModule,
|
32
|
-
FormlyNzFormFieldModule,
|
33
|
-
FormlyNzInputModule,
|
34
|
-
FormlyNzInputNumberModule,
|
35
|
-
FormlyNzInputGroupModule,
|
36
|
-
FormlyNzTextareaModule,
|
37
|
-
FormlyNzRadioModule,
|
38
|
-
FormlyNzCheckboxModule,
|
39
|
-
FormlyNzSelectModule,
|
40
|
-
FormlyNzSwitchModule,
|
41
|
-
FormlyNzCascaderModule,
|
42
|
-
FormlyNzDatepickerModule,
|
43
|
-
FormlyNzRateModule,
|
44
|
-
FormlyNzSliderModule,
|
45
|
-
FormlyNzTimepickerModule,
|
46
|
-
FormlyNzTransferModule,
|
47
|
-
FormlyNzTreeSelectModule,
|
48
|
-
FormlyNzUploadModule,
|
49
|
-
FormlyNzTabsModule,
|
50
|
-
FormlyNzCardModule,
|
51
|
-
FormlyNzCardWrapperModule,
|
52
|
-
FormlyNzButtonModule,
|
53
|
-
FormlyNzButtonGroupModule,
|
54
|
-
FormlyNzGridModule,
|
55
|
-
FormlyNzSpaceModule
|
56
|
-
];
|
57
29
|
export class FormlyNgAntdModule {
|
58
30
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNgAntdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
59
31
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyCommonModule,
|
@@ -81,7 +53,8 @@ export class FormlyNgAntdModule {
|
|
81
53
|
FormlyNzButtonModule,
|
82
54
|
FormlyNzButtonGroupModule,
|
83
55
|
FormlyNzGridModule,
|
84
|
-
FormlyNzSpaceModule], exports: [FormlyCommonModule
|
56
|
+
FormlyNzSpaceModule], exports: [FormlyCommonModule] }); }
|
57
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyCommonModule,
|
85
58
|
FormlyRefTemplateModule,
|
86
59
|
FormlyNzFormFieldModule,
|
87
60
|
FormlyNzInputModule,
|
@@ -106,39 +79,40 @@ export class FormlyNgAntdModule {
|
|
106
79
|
FormlyNzButtonModule,
|
107
80
|
FormlyNzButtonGroupModule,
|
108
81
|
FormlyNzGridModule,
|
109
|
-
FormlyNzSpaceModule] }); }
|
110
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNgAntdModule, imports: [MODULES, FormlyCommonModule,
|
111
|
-
FormlyRefTemplateModule,
|
112
|
-
FormlyNzFormFieldModule,
|
113
|
-
FormlyNzInputModule,
|
114
|
-
FormlyNzInputNumberModule,
|
115
|
-
FormlyNzInputGroupModule,
|
116
|
-
FormlyNzTextareaModule,
|
117
|
-
FormlyNzRadioModule,
|
118
|
-
FormlyNzCheckboxModule,
|
119
|
-
FormlyNzSelectModule,
|
120
|
-
FormlyNzSwitchModule,
|
121
|
-
FormlyNzCascaderModule,
|
122
|
-
FormlyNzDatepickerModule,
|
123
|
-
FormlyNzRateModule,
|
124
|
-
FormlyNzSliderModule,
|
125
|
-
FormlyNzTimepickerModule,
|
126
|
-
FormlyNzTransferModule,
|
127
|
-
FormlyNzTreeSelectModule,
|
128
|
-
FormlyNzUploadModule,
|
129
|
-
FormlyNzTabsModule,
|
130
|
-
FormlyNzCardModule,
|
131
|
-
FormlyNzCardWrapperModule,
|
132
|
-
FormlyNzButtonModule,
|
133
|
-
FormlyNzButtonGroupModule,
|
134
|
-
FormlyNzGridModule,
|
135
|
-
FormlyNzSpaceModule] }); }
|
82
|
+
FormlyNzSpaceModule, FormlyCommonModule] }); }
|
136
83
|
}
|
137
84
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyNgAntdModule, decorators: [{
|
138
85
|
type: NgModule,
|
139
86
|
args: [{
|
140
|
-
imports:
|
141
|
-
|
87
|
+
imports: [
|
88
|
+
FormlyCommonModule,
|
89
|
+
FormlyRefTemplateModule,
|
90
|
+
FormlyNzFormFieldModule,
|
91
|
+
FormlyNzInputModule,
|
92
|
+
FormlyNzInputNumberModule,
|
93
|
+
FormlyNzInputGroupModule,
|
94
|
+
FormlyNzTextareaModule,
|
95
|
+
FormlyNzRadioModule,
|
96
|
+
FormlyNzCheckboxModule,
|
97
|
+
FormlyNzSelectModule,
|
98
|
+
FormlyNzSwitchModule,
|
99
|
+
FormlyNzCascaderModule,
|
100
|
+
FormlyNzDatepickerModule,
|
101
|
+
FormlyNzRateModule,
|
102
|
+
FormlyNzSliderModule,
|
103
|
+
FormlyNzTimepickerModule,
|
104
|
+
FormlyNzTransferModule,
|
105
|
+
FormlyNzTreeSelectModule,
|
106
|
+
FormlyNzUploadModule,
|
107
|
+
FormlyNzTabsModule,
|
108
|
+
FormlyNzCardModule,
|
109
|
+
FormlyNzCardWrapperModule,
|
110
|
+
FormlyNzButtonModule,
|
111
|
+
FormlyNzButtonGroupModule,
|
112
|
+
FormlyNzGridModule,
|
113
|
+
FormlyNzSpaceModule
|
114
|
+
],
|
115
|
+
exports: [FormlyCommonModule]
|
142
116
|
}]
|
143
117
|
}] });
|
144
|
-
//# sourceMappingURL=data:application/json;base64,
|
118
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWktbmctem9ycm8tYW50ZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NyYy9saWIvdWktbmctem9ycm8tYW50ZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUM3RSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUMzRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUMvRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN4RSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN4RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNwRSxPQUFPLEVBQUUsb0JBQW9C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, ChangeDetectionStrategy } from '@angular/core';
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/
|
5
|
-
import * as i2 from "
|
6
|
-
import * as i3 from "
|
7
|
-
import * as i4 from "@
|
4
|
+
import * as i1 from "@angular/forms";
|
5
|
+
import * as i2 from "ng-zorro-antd/radio";
|
6
|
+
import * as i3 from "@ngx-formly/core";
|
7
|
+
import * as i4 from "@angular/common";
|
8
8
|
import * as i5 from "@ngx-formly/core/select";
|
9
9
|
export class FormlyFieldRadio extends FieldType {
|
10
10
|
constructor() {
|
@@ -26,28 +26,38 @@ export class FormlyFieldRadio extends FieldType {
|
|
26
26
|
[nzButtonStyle]="props['buttonStyle']!"
|
27
27
|
>
|
28
28
|
@if (props.type !== 'button') {
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
29
|
+
@for (
|
30
|
+
option of props.options | formlySelectOptions: field | async;
|
31
|
+
track option;
|
32
|
+
let i = $index
|
33
|
+
) {
|
34
|
+
<label
|
35
|
+
[id]="id + '_' + i"
|
36
|
+
[nzDisabled]="option.disabled === true"
|
37
|
+
[nzValue]="option.value"
|
38
|
+
nz-radio
|
39
|
+
>
|
40
|
+
{{ option.label }}
|
41
|
+
</label>
|
42
|
+
}
|
38
43
|
} @else {
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
44
|
+
@for (
|
45
|
+
option of props.options | formlySelectOptions: field | async;
|
46
|
+
track option;
|
47
|
+
let i = $index
|
48
|
+
) {
|
49
|
+
<label
|
50
|
+
[id]="id + '_' + i"
|
51
|
+
[nzDisabled]="option.disabled === true"
|
52
|
+
[nzValue]="option.value"
|
53
|
+
nz-radio-button
|
54
|
+
>
|
55
|
+
{{ option.label }}
|
56
|
+
</label>
|
57
|
+
}
|
48
58
|
}
|
49
59
|
</nz-radio-group>
|
50
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.
|
60
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }, { kind: "directive", type: i2.NzRadioButtonDirective, selector: "[nz-radio-button]" }, { kind: "component", type: i2.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
51
61
|
}
|
52
62
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
53
63
|
type: Component,
|
@@ -62,29 +72,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
62
72
|
[nzButtonStyle]="props['buttonStyle']!"
|
63
73
|
>
|
64
74
|
@if (props.type !== 'button') {
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
75
|
+
@for (
|
76
|
+
option of props.options | formlySelectOptions: field | async;
|
77
|
+
track option;
|
78
|
+
let i = $index
|
79
|
+
) {
|
80
|
+
<label
|
81
|
+
[id]="id + '_' + i"
|
82
|
+
[nzDisabled]="option.disabled === true"
|
83
|
+
[nzValue]="option.value"
|
84
|
+
nz-radio
|
85
|
+
>
|
86
|
+
{{ option.label }}
|
87
|
+
</label>
|
88
|
+
}
|
74
89
|
} @else {
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
90
|
+
@for (
|
91
|
+
option of props.options | formlySelectOptions: field | async;
|
92
|
+
track option;
|
93
|
+
let i = $index
|
94
|
+
) {
|
95
|
+
<label
|
96
|
+
[id]="id + '_' + i"
|
97
|
+
[nzDisabled]="option.disabled === true"
|
98
|
+
[nzValue]="option.value"
|
99
|
+
nz-radio-button
|
100
|
+
>
|
101
|
+
{{ option.label }}
|
102
|
+
</label>
|
103
|
+
}
|
84
104
|
}
|
85
105
|
</nz-radio-group>
|
86
106
|
`,
|
87
107
|
changeDetection: ChangeDetectionStrategy.OnPush
|
88
108
|
}]
|
89
109
|
}] });
|
90
|
-
//# sourceMappingURL=data:application/json;base64,
|
110
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8udHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvcmFkaW8vc3JjL3JhZGlvLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBUSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFtQixNQUFNLGtCQUFrQixDQUFDOzs7Ozs7O0FBNEU5RCxNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsU0FBc0M7SUE3QzVFOztRQThDVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxJQUFJLEVBQUUsU0FBa0I7Z0JBQ3hCLFdBQVcsRUFBR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AgW256QnV0dG9uU3R5bGVdPVwicHJvcHNbJ2J1dHRvblN0eWxlJ10hXCJcbiAgICA+XG4gICAgICBAaWYgKHByb3BzLnR5cGUgIT09ICdidXR0b24nKSB7XG4gICAgICAgIEBmb3IgKFxuICAgICAgICAgIG9wdGlvbiBvZiBwcm9wcy5vcHRpb25zIHwgZm9ybWx5U2VsZWN0T3B0aW9uczogZmllbGQgfCBhc3luYztcbiAgICAgICAgICB0cmFjayBvcHRpb247XG4gICAgICAgICAgbGV0IGkgPSAkaW5kZXhcbiAgICAgICAgKSB7XG4gICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICBbaWRdPVwiaWQgKyAnXycgKyBpXCJcbiAgICAgICAgICAgIFtuekRpc2FibGVkXT1cIm9wdGlvbi5kaXNhYmxlZCA9PT0gdHJ1ZVwiXG4gICAgICAgICAgICBbbnpWYWx1ZV09XCJvcHRpb24udmFsdWVcIlxuICAgICAgICAgICAgbnotcmFkaW9cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7eyBvcHRpb24ubGFiZWwgfX1cbiAgICAgICAgICA8L2xhYmVsPlxuICAgICAgICB9XG4gICAgICB9IEBlbHNlIHtcbiAgICAgICAgQGZvciAoXG4gICAgICAgICAgb3B0aW9uIG9mIHByb3BzLm9wdGlvbnMgfCBmb3JtbHlTZWxlY3RPcHRpb25zOiBmaWVsZCB8IGFzeW5jO1xuICAgICAgICAgIHRyYWNrIG9wdGlvbjtcbiAgICAgICAgICBsZXQgaSA9ICRpbmRleFxuICAgICAgICApIHtcbiAgICAgICAgICA8bGFiZWxcbiAgICAgICAgICAgIFtpZF09XCJpZCArICdfJyArIGlcIlxuICAgICAgICAgICAgW256RGlzYWJsZWRdPVwib3B0aW9uLmRpc2FibGVkID09PSB0cnVlXCJcbiAgICAgICAgICAgIFtuelZhbHVlXT1cIm9wdGlvbi52YWx1ZVwiXG4gICAgICAgICAgICBuei1yYWRpby1idXR0b25cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7eyBvcHRpb24ubGFiZWwgfX1cbiAgICAgICAgICA8L2xhYmVsPlxuICAgICAgICB9XG4gICAgICB9XG4gICAgPC9uei1yYWRpby1ncm91cD5cbiAgYCxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5RmllbGRSYWRpbyBleHRlbmRzIEZpZWxkVHlwZTxGaWVsZFR5cGVDb25maWc8UmFkaW9Qcm9wcz4+IHtcbiAgb3ZlcnJpZGUgZGVmYXVsdE9wdGlvbnMgPSB7XG4gICAgcHJvcHM6IHtcbiAgICAgIHNpemU6ICdkZWZhdWx0JyBhcyBjb25zdCxcbiAgICAgIGJ1dHRvblN0eWxlOiAnb3V0bGluZScgYXMgY29uc3RcbiAgICB9XG4gIH07XG59XG4iXX0=
|
@@ -2,10 +2,10 @@ import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core';
|
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
3
3
|
import { NzSelectComponent } from 'ng-zorro-antd/select';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@angular/
|
6
|
-
import * as i2 from "
|
7
|
-
import * as i3 from "
|
8
|
-
import * as i4 from "@
|
5
|
+
import * as i1 from "@angular/forms";
|
6
|
+
import * as i2 from "ng-zorro-antd/select";
|
7
|
+
import * as i3 from "@ngx-formly/core";
|
8
|
+
import * as i4 from "@angular/common";
|
9
9
|
import * as i5 from "@ngx-formly/core/select";
|
10
10
|
export class FormlyFieldSelect extends FieldType {
|
11
11
|
constructor() {
|
@@ -76,16 +76,17 @@ export class FormlyFieldSelect extends FieldType {
|
|
76
76
|
(nzScrollToBottom)="props['scrollToBottom'] && props['scrollToBottom'](field, $event)"
|
77
77
|
(nzOnSearch)="props['onSearch'] && props['onSearch'](field, $event)"
|
78
78
|
>
|
79
|
-
|
79
|
+
@for (item of to.options | formlySelectOptions: field | async; track item) {
|
80
80
|
@if (item.group) {
|
81
81
|
<nz-option-group [nzLabel]="item.label">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
82
|
+
@for (child of item.group; track child) {
|
83
|
+
<nz-option
|
84
|
+
[nzValue]="child.value"
|
85
|
+
[nzDisabled]="child.disabled"
|
86
|
+
[nzLabel]="child.label"
|
87
|
+
>
|
88
|
+
</nz-option>
|
89
|
+
}
|
89
90
|
</nz-option-group>
|
90
91
|
} @else {
|
91
92
|
<nz-option
|
@@ -94,9 +95,9 @@ export class FormlyFieldSelect extends FieldType {
|
|
94
95
|
[nzLabel]="item.label"
|
95
96
|
></nz-option>
|
96
97
|
}
|
97
|
-
|
98
|
+
}
|
98
99
|
</nz-select>
|
99
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.
|
100
|
+
`, 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.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i2.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: i2.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
100
101
|
}
|
101
102
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldSelect, decorators: [{
|
102
103
|
type: Component,
|
@@ -140,16 +141,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
140
141
|
(nzScrollToBottom)="props['scrollToBottom'] && props['scrollToBottom'](field, $event)"
|
141
142
|
(nzOnSearch)="props['onSearch'] && props['onSearch'](field, $event)"
|
142
143
|
>
|
143
|
-
|
144
|
+
@for (item of to.options | formlySelectOptions: field | async; track item) {
|
144
145
|
@if (item.group) {
|
145
146
|
<nz-option-group [nzLabel]="item.label">
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
147
|
+
@for (child of item.group; track child) {
|
148
|
+
<nz-option
|
149
|
+
[nzValue]="child.value"
|
150
|
+
[nzDisabled]="child.disabled"
|
151
|
+
[nzLabel]="child.label"
|
152
|
+
>
|
153
|
+
</nz-option>
|
154
|
+
}
|
153
155
|
</nz-option-group>
|
154
156
|
} @else {
|
155
157
|
<nz-option
|
@@ -158,7 +160,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
158
160
|
[nzLabel]="item.label"
|
159
161
|
></nz-option>
|
160
162
|
}
|
161
|
-
|
163
|
+
}
|
162
164
|
</nz-select>
|
163
165
|
`,
|
164
166
|
changeDetection: ChangeDetectionStrategy.OnPush
|
@@ -167,4 +169,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
167
169
|
type: ViewChild,
|
168
170
|
args: ['select', { static: true }]
|
169
171
|
}] } });
|
170
|
-
//# sourceMappingURL=data:application/json;base64,
|
172
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NlbGVjdC9zcmMvc2VsZWN0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDNUYsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQztBQUU5RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7Ozs7OztBQXdFekQsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFNBQTBCO0lBaEVqRTs7UUFpRVcsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsV0FBVyxFQUFFLENBQUMsRUFBYSxFQUFFLEVBQWEsRUFBRSxFQUFFLENBQUMsRUFBRSxLQUFLLEVBQUU7Z0JBQ3hELG9CQUFvQixFQUFFLElBQUk7Z0JBQzFCLFVBQVUsRUFBRSxLQUFLO2dCQUNqQixRQUFRLEVBQUUsS0FBSztnQkFDZixJQUFJLEVBQUUsS0FBSztnQkFDWCx3QkFBd0IsRUFBRSxJQ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4gICAgPlxuICAgICAgQGZvciAoaXRlbSBvZiB0by5vcHRpb25zIHwgZm9ybWx5U2VsZWN0T3B0aW9uczogZmllbGQgfCBhc3luYzsgdHJhY2sgaXRlbSkge1xuICAgICAgICBAaWYgKGl0ZW0uZ3JvdXApIHtcbiAgICAgICAgICA8bnotb3B0aW9uLWdyb3VwIFtuekxhYmVsXT1cIml0ZW0ubGFiZWxcIj5cbiAgICAgICAgICAgIEBmb3IgKGNoaWxkIG9mIGl0ZW0uZ3JvdXA7IHRyYWNrIGNoaWxkKSB7XG4gICAgICAgICAgICAgIDxuei1vcHRpb25cbiAgICAgICAgICAgICAgICBbbnpWYWx1ZV09XCJjaGlsZC52YWx1ZVwiXG4gICAgICAgICAgICAgICAgW256RGlzYWJsZWRdPVwiY2hpbGQuZGlzYWJsZWRcIlxuICAgICAgICAgICAgICAgIFtuekxhYmVsXT1cImNoaWxkLmxhYmVsXCJcbiAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICA8L256LW9wdGlvbj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICA8L256LW9wdGlvbi1ncm91cD5cbiAgICAgICAgfSBAZWxzZSB7XG4gICAgICAgICAgPG56LW9wdGlvblxuICAgICAgICAgICAgW256VmFsdWVdPVwiaXRlbS52YWx1ZVwiXG4gICAgICAgICAgICBbbnpEaXNhYmxlZF09XCJpdGVtLmRpc2FibGVkXCJcbiAgICAgICAgICAgIFtuekxhYmVsXT1cIml0ZW0ubGFiZWxcIlxuICAgICAgICAgID48L256LW9wdGlvbj5cbiAgICAgICAgfVxuICAgICAgfVxuICAgIDwvbnotc2VsZWN0PlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFNlbGVjdCBleHRlbmRzIEZpZWxkVHlwZTxGaWVsZFR5cGVDb25maWc+IGltcGxlbWVudHMgT25Jbml0IHtcb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ICAgIH1cbiAgfVxufVxuIl19
|
@@ -27,7 +27,7 @@ export class FormlyFieldSpace extends FieldType {
|
|
27
27
|
[nzAlign]="props.align"
|
28
28
|
[nzDirection]="props.direction!"
|
29
29
|
[nzSplit]="nzSplit ?? null"
|
30
|
-
[nzWrap]="props.wrap"
|
30
|
+
[nzWrap]="props.wrap!!"
|
31
31
|
[formlyAttributes]="field"
|
32
32
|
>
|
33
33
|
@for (g of field.fieldGroup; track g.id) {
|
@@ -46,7 +46,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
46
46
|
[nzAlign]="props.align"
|
47
47
|
[nzDirection]="props.direction!"
|
48
48
|
[nzSplit]="nzSplit ?? null"
|
49
|
-
[nzWrap]="props.wrap"
|
49
|
+
[nzWrap]="props.wrap!!"
|
50
50
|
[formlyAttributes]="field"
|
51
51
|
>
|
52
52
|
@for (g of field.fieldGroup; track g.id) {
|
@@ -59,4 +59,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
59
59
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
60
60
|
type: Optional
|
61
61
|
}] }] });
|
62
|
-
//# sourceMappingURL=data:application/json;base64,
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2UudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3BhY2Uvc3JjL3NwYWNlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBcUIsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hHLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7QU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iAgfTtcbiAgY29uc3RydWN0b3IoQE9wdGlvbmFsKCkgcHVibGljIGZpZWxkVGVtcGxhdGVzOiBGb3JtbHlCb3hUZW1wbGF0ZXMpIHtcbiAgICBzdXBlcigpO1xuICB9XG4gIGdldCBuelNwbGl0KCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnc3BsaXQnKTtcbiAgfVxufVxuIl19
|
@@ -19,8 +19,8 @@ export class FormlyFieldTextarea extends FieldType {
|
|
19
19
|
}
|
20
20
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
21
21
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.3", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
|
22
|
-
|
23
|
-
|
22
|
+
@switch (props.type) {
|
23
|
+
@case ('count') {
|
24
24
|
<nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
|
25
25
|
<textarea
|
26
26
|
[formControl]="formControl"
|
@@ -33,21 +33,19 @@ export class FormlyFieldTextarea extends FieldType {
|
|
33
33
|
[nzAutosize]="props['autosize']!!"
|
34
34
|
></textarea>
|
35
35
|
</nz-textarea-count>
|
36
|
-
|
37
|
-
|
38
|
-
<ng-container *ngSwitchCase="'clear'">
|
36
|
+
}
|
37
|
+
@case ('clear') {
|
39
38
|
<nz-input-group
|
40
39
|
class="ant-input-affix-wrapper-textarea-with-clear-btn"
|
41
40
|
[nzSuffix]="textAreaClearTpl"
|
42
41
|
>
|
43
42
|
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
44
43
|
</nz-input-group>
|
45
|
-
|
46
|
-
|
47
|
-
<ng-container *ngSwitchDefault>
|
44
|
+
}
|
45
|
+
@default {
|
48
46
|
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
49
|
-
|
50
|
-
|
47
|
+
}
|
48
|
+
}
|
51
49
|
|
52
50
|
<ng-template #textareaTpl>
|
53
51
|
<textarea
|
@@ -74,15 +72,15 @@ export class FormlyFieldTextarea extends FieldType {
|
|
74
72
|
></span>
|
75
73
|
}
|
76
74
|
</ng-template>
|
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:
|
75
|
+
`, 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: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: i4.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
78
76
|
}
|
79
77
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
|
80
78
|
type: Component,
|
81
79
|
args: [{
|
82
80
|
selector: 'formly-field-textarea',
|
83
81
|
template: `
|
84
|
-
|
85
|
-
|
82
|
+
@switch (props.type) {
|
83
|
+
@case ('count') {
|
86
84
|
<nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
|
87
85
|
<textarea
|
88
86
|
[formControl]="formControl"
|
@@ -95,21 +93,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
95
93
|
[nzAutosize]="props['autosize']!!"
|
96
94
|
></textarea>
|
97
95
|
</nz-textarea-count>
|
98
|
-
|
99
|
-
|
100
|
-
<ng-container *ngSwitchCase="'clear'">
|
96
|
+
}
|
97
|
+
@case ('clear') {
|
101
98
|
<nz-input-group
|
102
99
|
class="ant-input-affix-wrapper-textarea-with-clear-btn"
|
103
100
|
[nzSuffix]="textAreaClearTpl"
|
104
101
|
>
|
105
102
|
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
106
103
|
</nz-input-group>
|
107
|
-
|
108
|
-
|
109
|
-
<ng-container *ngSwitchDefault>
|
104
|
+
}
|
105
|
+
@default {
|
110
106
|
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
111
|
-
|
112
|
-
|
107
|
+
}
|
108
|
+
}
|
113
109
|
|
114
110
|
<ng-template #textareaTpl>
|
115
111
|
<textarea
|
@@ -140,4 +136,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
140
136
|
changeDetection: ChangeDetectionStrategy.OnPush
|
141
137
|
}]
|
142
138
|
}] });
|
143
|
-
//# sourceMappingURL=data:application/json;base64,
|
139
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGV4dGFyZWEvc3JjL3RleHRhcmVhLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFtQixNQUFNLGtCQUFrQixDQUFDOzs7Ozs7O0FBd0Y5RCxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsU0FBeUM7SUEzRGxGOztRQTREVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxJQUFJLEVBQUUsQ0FBQztnQkFDUCxRQUFRLEVBQUUsS0FBSztnQkFDZixVQUFVLEVBQUUsS0FBSzthQUNsQjtTQUNGLENBQUM7S0FDSDs4R0FSWSxtQkFBbUI7a0dBQW5CLG1CQUFtQixvRkF6RHBCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Oz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