ng-zorro-antd-extension 20.0.0 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.npmignore +2 -0
- package/acl/package.json +3 -0
- package/blank-field/package.json +3 -0
- package/checkbox/package.json +3 -0
- package/configurable-query/package.json +3 -0
- package/core/config/package.json +3 -0
- package/dynamic-form/package.json +3 -0
- package/editable/package.json +3 -0
- package/fesm2022/ng-zorro-antd-extension-acl.mjs +10 -10
- package/fesm2022/ng-zorro-antd-extension-blank-field.mjs +7 -7
- package/fesm2022/ng-zorro-antd-extension-checkbox.mjs +9 -10
- package/fesm2022/ng-zorro-antd-extension-checkbox.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs +80 -75
- package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-core-config.mjs +3 -3
- package/fesm2022/ng-zorro-antd-extension-dynamic-form.mjs +79 -79
- package/fesm2022/ng-zorro-antd-extension-dynamic-form.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-editable.mjs +34 -34
- package/fesm2022/ng-zorro-antd-extension-editable.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-jigsaw.mjs +7 -7
- package/fesm2022/ng-zorro-antd-extension-pipes.mjs +25 -25
- package/fesm2022/ng-zorro-antd-extension-print.mjs +54 -51
- package/fesm2022/ng-zorro-antd-extension-print.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-simple-table.mjs +152 -136
- package/fesm2022/ng-zorro-antd-extension-simple-table.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-table-adaptor.mjs +10 -10
- package/fesm2022/ng-zorro-antd-extension-table-form.mjs +18 -18
- package/fesm2022/ng-zorro-antd-extension-table-form.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-table-select.mjs +20 -20
- package/fesm2022/ng-zorro-antd-extension-table-select.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-timer-button.mjs +7 -7
- package/fesm2022/ng-zorro-antd-extension-trim.mjs +7 -7
- package/fesm2022/ng-zorro-antd-extension-wang-editor.mjs +10 -10
- package/i18n/package.json +3 -0
- package/jigsaw/package.json +3 -0
- package/package.json +12 -12
- package/pipes/package.json +3 -0
- package/print/package.json +3 -0
- package/simple-table/package.json +3 -0
- package/table-adaptor/package.json +3 -0
- package/table-form/package.json +3 -0
- package/table-select/package.json +3 -0
- package/timer-button/package.json +3 -0
- package/trim/package.json +3 -0
- package/types/package.json +3 -0
- package/util/package.json +3 -0
- package/wang-editor/package.json +3 -0
|
@@ -6,36 +6,36 @@ import { updateControlStatus } from 'ng-zorro-antd-extension/util';
|
|
|
6
6
|
import * as i2$3 from 'ng-zorro-antd/grid';
|
|
7
7
|
import { NzGridModule } from 'ng-zorro-antd/grid';
|
|
8
8
|
import { BehaviorSubject, Subject, takeUntil, fromEvent } from 'rxjs';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i3$1 from 'ng-zorro-antd/card';
|
|
10
10
|
import { NzCardModule } from 'ng-zorro-antd/card';
|
|
11
|
-
import * as i3
|
|
11
|
+
import * as i3 from 'ng-zorro-antd/form';
|
|
12
12
|
import { NzFormModule } from 'ng-zorro-antd/form';
|
|
13
|
-
import * as i3 from '@angular/common';
|
|
14
|
-
import { NgStyle, NgFor, CommonModule, NgIf } from '@angular/common';
|
|
15
13
|
import * as i2 from 'ng-zorro-antd/date-picker';
|
|
16
14
|
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
|
|
15
|
+
import * as i1$1 from '@angular/common';
|
|
16
|
+
import { NgStyle, CommonModule } from '@angular/common';
|
|
17
17
|
import * as i2$1 from 'ng-zorro-antd/input';
|
|
18
18
|
import { NzInputModule } from 'ng-zorro-antd/input';
|
|
19
19
|
import * as i2$2 from 'ng-zorro-antd/select';
|
|
20
20
|
import { NzSelectModule } from 'ng-zorro-antd/select';
|
|
21
|
-
import * as
|
|
21
|
+
import * as i5 from 'ng-zorro-antd/space';
|
|
22
22
|
import { NzSpaceModule } from 'ng-zorro-antd/space';
|
|
23
|
-
import * as
|
|
23
|
+
import * as i9 from 'ng-zorro-antd/icon';
|
|
24
24
|
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
25
|
-
import * as
|
|
25
|
+
import * as i6 from 'ng-zorro-antd/button';
|
|
26
26
|
import { NzButtonModule } from 'ng-zorro-antd/button';
|
|
27
|
-
import * as i1$
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
27
|
+
import * as i1$2 from 'ng-zorro-antd/i18n';
|
|
28
|
+
import * as i7 from 'ng-zorro-antd/core/transition-patch';
|
|
29
|
+
import * as i8 from 'ng-zorro-antd/core/wave';
|
|
30
30
|
|
|
31
31
|
class NzxControlDirective {
|
|
32
32
|
constructor(templateRef) {
|
|
33
33
|
this.templateRef = templateRef;
|
|
34
34
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
36
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxControlDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
36
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.1", type: NzxControlDirective, isStandalone: true, selector: "[nzxControl]", inputs: { nzxControl: "nzxControl" }, ngImport: i0 }); }
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxControlDirective, decorators: [{
|
|
39
39
|
type: Directive,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: '[nzxControl]',
|
|
@@ -51,10 +51,10 @@ class NzxAbstractControl {
|
|
|
51
51
|
get formControl() {
|
|
52
52
|
return this.form.get(this.control.controlName);
|
|
53
53
|
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
55
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxAbstractControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
55
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.1", type: NzxAbstractControl, isStandalone: true, inputs: { form: "form", control: "control" }, ngImport: i0 }); }
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxAbstractControl, decorators: [{
|
|
58
58
|
type: Directive
|
|
59
59
|
}], propDecorators: { form: [{
|
|
60
60
|
type: Input
|
|
@@ -63,8 +63,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
63
63
|
}] } });
|
|
64
64
|
|
|
65
65
|
class NzxDatePickerControlComponent extends NzxAbstractControl {
|
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
67
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxDatePickerControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
67
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: NzxDatePickerControlComponent, isStandalone: true, selector: "nzx-date-picker-control", usesInheritance: true, ngImport: i0, template: `
|
|
68
68
|
<ng-container [formGroup]="form">
|
|
69
69
|
<nz-date-picker
|
|
70
70
|
[ngStyle]="{ width: '100%' }"
|
|
@@ -75,7 +75,7 @@ class NzxDatePickerControlComponent extends NzxAbstractControl {
|
|
|
75
75
|
</ng-container>
|
|
76
76
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzDatePickerModule }, { kind: "component", type: i2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-quarter-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzVariant", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
77
77
|
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxDatePickerControlComponent, decorators: [{
|
|
79
79
|
type: Component,
|
|
80
80
|
args: [{
|
|
81
81
|
selector: 'nzx-date-picker-control',
|
|
@@ -95,8 +95,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
95
95
|
}] });
|
|
96
96
|
|
|
97
97
|
class NzxInputControlComponent extends NzxAbstractControl {
|
|
98
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
99
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1
|
|
98
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxInputControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
99
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: NzxInputControlComponent, isStandalone: true, selector: "nzx-input-control", usesInheritance: true, ngImport: i0, template: `
|
|
100
100
|
<ng-container [formGroup]="form">
|
|
101
101
|
<input
|
|
102
102
|
[formControl]="formControl"
|
|
@@ -107,7 +107,7 @@ class NzxInputControlComponent extends NzxAbstractControl {
|
|
|
107
107
|
</ng-container>
|
|
108
108
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i2$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxInputControlComponent, decorators: [{
|
|
111
111
|
type: Component,
|
|
112
112
|
args: [{
|
|
113
113
|
selector: 'nzx-input-control',
|
|
@@ -127,8 +127,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
127
127
|
}] });
|
|
128
128
|
|
|
129
129
|
class NzxRangePickerControlComponent extends NzxAbstractControl {
|
|
130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
131
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1
|
|
130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxRangePickerControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
131
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: NzxRangePickerControlComponent, isStandalone: true, selector: "nzx-range-picker-control", usesInheritance: true, ngImport: i0, template: `
|
|
132
132
|
<ng-container [formGroup]="form">
|
|
133
133
|
<nz-range-picker
|
|
134
134
|
[formControl]="formControl"
|
|
@@ -138,7 +138,7 @@ class NzxRangePickerControlComponent extends NzxAbstractControl {
|
|
|
138
138
|
</ng-container>
|
|
139
139
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzDatePickerModule }, { kind: "component", type: i2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-quarter-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzVariant", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }, { kind: "directive", type: i2.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxRangePickerControlComponent, decorators: [{
|
|
142
142
|
type: Component,
|
|
143
143
|
args: [{
|
|
144
144
|
selector: 'nzx-range-picker-control',
|
|
@@ -157,26 +157,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
157
157
|
}] });
|
|
158
158
|
|
|
159
159
|
class NzxSelectControlComponent extends NzxAbstractControl {
|
|
160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
161
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxSelectControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
161
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.1", type: NzxSelectControlComponent, isStandalone: true, selector: "nzx-select-control", usesInheritance: true, ngImport: i0, template: `
|
|
162
162
|
<ng-container [formGroup]="form">
|
|
163
163
|
<nz-select
|
|
164
164
|
[formControl]="formControl"
|
|
165
165
|
[nzShowSearch]="control.nzxShowSearch ?? true"
|
|
166
166
|
[nzAllowClear]="control.nzxAllowClear ?? true"
|
|
167
167
|
[nzPlaceHolder]="control.placeholder!"
|
|
168
|
-
>
|
|
169
|
-
<nz-option
|
|
170
|
-
*ngFor="let item of control.menuList"
|
|
171
|
-
[nzValue]="item.value"
|
|
172
|
-
[nzLabel]="item.label"
|
|
173
168
|
>
|
|
174
|
-
|
|
169
|
+
@for (item of control.menuList; track item) {
|
|
170
|
+
<nz-option
|
|
171
|
+
[nzValue]="item.value"
|
|
172
|
+
[nzLabel]="item.label"
|
|
173
|
+
>
|
|
174
|
+
</nz-option>
|
|
175
|
+
}
|
|
175
176
|
</nz-select>
|
|
176
177
|
</ng-container>
|
|
177
|
-
|
|
178
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i2$2.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i2$2.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "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", "nzOnClear"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
178
179
|
}
|
|
179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxSelectControlComponent, decorators: [{
|
|
180
181
|
type: Component,
|
|
181
182
|
args: [{
|
|
182
183
|
selector: 'nzx-select-control',
|
|
@@ -187,24 +188,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
187
188
|
[nzShowSearch]="control.nzxShowSearch ?? true"
|
|
188
189
|
[nzAllowClear]="control.nzxAllowClear ?? true"
|
|
189
190
|
[nzPlaceHolder]="control.placeholder!"
|
|
190
|
-
>
|
|
191
|
-
<nz-option
|
|
192
|
-
*ngFor="let item of control.menuList"
|
|
193
|
-
[nzValue]="item.value"
|
|
194
|
-
[nzLabel]="item.label"
|
|
195
191
|
>
|
|
196
|
-
|
|
192
|
+
@for (item of control.menuList; track item) {
|
|
193
|
+
<nz-option
|
|
194
|
+
[nzValue]="item.value"
|
|
195
|
+
[nzLabel]="item.label"
|
|
196
|
+
>
|
|
197
|
+
</nz-option>
|
|
198
|
+
}
|
|
197
199
|
</nz-select>
|
|
198
200
|
</ng-container>
|
|
199
|
-
|
|
200
|
-
imports: [
|
|
201
|
+
`,
|
|
202
|
+
imports: [ReactiveFormsModule, NzSelectModule],
|
|
201
203
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
202
204
|
}]
|
|
203
205
|
}] });
|
|
204
206
|
|
|
205
207
|
class NzxTemplateControlComponent extends NzxAbstractControl {
|
|
206
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
207
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1
|
|
208
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxTemplateControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
209
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.1", type: NzxTemplateControlComponent, isStandalone: true, selector: "nzx-template-control", usesInheritance: true, ngImport: i0, template: `
|
|
208
210
|
<ng-container
|
|
209
211
|
*ngTemplateOutlet="
|
|
210
212
|
control.templateRef!;
|
|
@@ -212,9 +214,9 @@ class NzxTemplateControlComponent extends NzxAbstractControl {
|
|
|
212
214
|
"
|
|
213
215
|
>
|
|
214
216
|
</ng-container>
|
|
215
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
217
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
216
218
|
}
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxTemplateControlComponent, decorators: [{
|
|
218
220
|
type: Component,
|
|
219
221
|
args: [{
|
|
220
222
|
selector: 'nzx-template-control',
|
|
@@ -278,10 +280,10 @@ class NzxQueryConfigService {
|
|
|
278
280
|
refreshControlType() {
|
|
279
281
|
this.controlTypes$.next(this.controlTypePoll);
|
|
280
282
|
}
|
|
281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
282
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1
|
|
283
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxQueryConfigService, deps: [{ token: QUERY_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
284
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxQueryConfigService, providedIn: 'root' }); }
|
|
283
285
|
}
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxQueryConfigService, decorators: [{
|
|
285
287
|
type: Injectable,
|
|
286
288
|
args: [{ providedIn: 'root' }]
|
|
287
289
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -321,45 +323,49 @@ class NzxConfigurableQueryItemComponent {
|
|
|
321
323
|
throw `ControlType:: '${this.control.controlType}' is invalidate`;
|
|
322
324
|
}
|
|
323
325
|
}
|
|
324
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
325
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxConfigurableQueryItemComponent, deps: [{ token: NzxQueryConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
327
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.1", type: NzxConfigurableQueryItemComponent, isStandalone: true, selector: "nzx-configurable-query-item", inputs: { form: "form", control: "control" }, viewQueries: [{ propertyName: "controlTemplateView", first: true, predicate: ["controlTemp"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
|
|
326
328
|
<nz-form-item>
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
329
|
+
@if (control.label) {
|
|
330
|
+
<nz-form-label [nzSpan]="control.nzxLSpan || 6">
|
|
331
|
+
{{ control.label }}
|
|
332
|
+
</nz-form-label>
|
|
333
|
+
}
|
|
330
334
|
<nz-form-control
|
|
331
335
|
[nzSpan]="control.nzxRSpan || 18"
|
|
332
336
|
[nzValidateStatus]="
|
|
333
337
|
control?.controlInstance ?? $any(form.get(control.controlName!))
|
|
334
338
|
"
|
|
335
339
|
[nzErrorTip]="control.errorTip"
|
|
336
|
-
|
|
340
|
+
>
|
|
337
341
|
<ng-template #controlTemp></ng-template>
|
|
338
342
|
</nz-form-control>
|
|
339
343
|
</nz-form-item>
|
|
340
|
-
|
|
344
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2$3.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2$3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
341
345
|
}
|
|
342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxConfigurableQueryItemComponent, decorators: [{
|
|
343
347
|
type: Component,
|
|
344
348
|
args: [{
|
|
345
349
|
selector: 'nzx-configurable-query-item',
|
|
346
350
|
template: `
|
|
347
351
|
<nz-form-item>
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
352
|
+
@if (control.label) {
|
|
353
|
+
<nz-form-label [nzSpan]="control.nzxLSpan || 6">
|
|
354
|
+
{{ control.label }}
|
|
355
|
+
</nz-form-label>
|
|
356
|
+
}
|
|
351
357
|
<nz-form-control
|
|
352
358
|
[nzSpan]="control.nzxRSpan || 18"
|
|
353
359
|
[nzValidateStatus]="
|
|
354
360
|
control?.controlInstance ?? $any(form.get(control.controlName!))
|
|
355
361
|
"
|
|
356
362
|
[nzErrorTip]="control.errorTip"
|
|
357
|
-
|
|
363
|
+
>
|
|
358
364
|
<ng-template #controlTemp></ng-template>
|
|
359
365
|
</nz-form-control>
|
|
360
366
|
</nz-form-item>
|
|
361
|
-
|
|
362
|
-
imports: [NzFormModule
|
|
367
|
+
`,
|
|
368
|
+
imports: [NzFormModule],
|
|
363
369
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
364
370
|
}]
|
|
365
371
|
}], ctorParameters: () => [{ type: NzxQueryConfigService }], propDecorators: { form: [{
|
|
@@ -631,22 +637,21 @@ class NzxConfigurableQueryComponent {
|
|
|
631
637
|
}
|
|
632
638
|
}
|
|
633
639
|
}
|
|
634
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
635
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
640
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxConfigurableQueryComponent, deps: [{ token: i1$2.NzI18nService }, { token: i1.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
641
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.1", type: NzxConfigurableQueryComponent, isStandalone: true, selector: "nzx-configurable-query", inputs: { controls: "controls", nzxJustify: "nzxJustify", nzxGutter: "nzxGutter", lineNumber: "lineNumber", nzxBtnSpan: "nzxBtnSpan", initQuery: "initQuery", fixedParams: "fixedParams" }, outputs: { queryChange: "queryChange", resetChange: "resetChange" }, queries: [{ propertyName: "controlTemplateList", predicate: NzxControlDirective, descendants: true }], viewQueries: [{ propertyName: "queyFormEl", first: true, predicate: ["queyForm"], descendants: true }], exportAs: ["NzxConfigurableQuery"], usesOnChanges: true, ngImport: i0, template: "<nz-card>\n <form #queyForm class=\"nzx-query-container\" nz-form [formGroup]=\"queryForm\">\n <div nz-row [nzGutter]=\"nzxGutter\" [nzJustify]=\"nzxJustify\">\n @for (config of controls; track config; let i = $index) {\n @if (!config.hidden) {\n <div\n nz-col\n [nzSpan]=\"config.nzxSpan || 24 / lineNumber\"\n [hidden]=\"config.collapse\"\n [nzOrder]=\"i\"\n >\n @if (config.controlName) {\n <nzx-configurable-query-item\n [form]=\"queryForm\"\n [control]=\"config\"\n ></nzx-configurable-query-item>\n }\n </div>\n }\n }\n\n <div\n class=\"nzx-query-btn\"\n nz-col\n [nzOrder]=\"controls.length\"\n [nzSpan]=\"nzxBtnSpan || 24 / lineNumber\"\n >\n <div nz-row nzJustify=\"end\" nzAlign=\"middle\">\n <nz-space>\n <button\n *nzSpaceItem\n nz-button\n nzType=\"primary\"\n type=\"button\"\n title=\"Enter\"\n (click)=\"search()\"\n >\n {{ locale['query'] }}\n </button>\n <button\n *nzSpaceItem\n nz-button\n type=\"button\"\n title=\"ctrl+r\"\n (click)=\"reset()\"\n >\n {{ locale['reset'] }}\n </button>\n <ng-container *nzSpaceItem>\n <ng-content></ng-content>\n </ng-container>\n @if (nzxCollapse) {\n <a\n *nzSpaceItem\n nz-button\n nzType=\"link\"\n (click)=\"toggleCollapse()\"\n >\n {{ collapseText }}\n <i nz-icon [nzType]=\"collapseIcon\"></i>\n </a>\n }\n </nz-space>\n </div>\n </div>\n </div>\n </form>\n</nz-card>\n", styles: [".nzx-query-container [nz-form-label]{overflow:visible}.nzx-query-container .nzx-query-btn{flex-grow:2;max-width:none}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzCardModule }, { kind: "component", type: i3$1.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "ngmodule", type: NzGridModule }, { kind: "directive", type: i2$3.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2$3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "ngmodule", type: NzSpaceModule }, { kind: "component", type: i5.NzSpaceComponent, selector: "nz-space, [nz-space]", inputs: ["nzDirection", "nzAlign", "nzSplit", "nzWrap", "nzSize"], exportAs: ["nzSpace"] }, { kind: "directive", type: i5.NzSpaceItemDirective, selector: "[nzSpaceItem]" }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i6.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i7.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i8.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i9.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: NzxConfigurableQueryItemComponent, selector: "nzx-configurable-query-item", inputs: ["form", "control"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
636
642
|
}
|
|
637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxConfigurableQueryComponent, decorators: [{
|
|
638
644
|
type: Component,
|
|
639
645
|
args: [{ selector: 'nzx-configurable-query', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'NzxConfigurableQuery', imports: [
|
|
640
|
-
CommonModule,
|
|
641
646
|
ReactiveFormsModule,
|
|
642
647
|
NzCardModule,
|
|
643
648
|
NzGridModule,
|
|
644
649
|
NzSpaceModule,
|
|
645
650
|
NzButtonModule,
|
|
646
651
|
NzIconModule,
|
|
647
|
-
NzxConfigurableQueryItemComponent
|
|
648
|
-
], template: "<nz-card>\n <form #queyForm class=\"nzx-query-container\" nz-form [formGroup]=\"queryForm\">\n <div nz-row [nzGutter]=\"nzxGutter\" [nzJustify]=\"nzxJustify\">\n
|
|
649
|
-
}], ctorParameters: () => [{ type: i1$
|
|
652
|
+
NzxConfigurableQueryItemComponent
|
|
653
|
+
], template: "<nz-card>\n <form #queyForm class=\"nzx-query-container\" nz-form [formGroup]=\"queryForm\">\n <div nz-row [nzGutter]=\"nzxGutter\" [nzJustify]=\"nzxJustify\">\n @for (config of controls; track config; let i = $index) {\n @if (!config.hidden) {\n <div\n nz-col\n [nzSpan]=\"config.nzxSpan || 24 / lineNumber\"\n [hidden]=\"config.collapse\"\n [nzOrder]=\"i\"\n >\n @if (config.controlName) {\n <nzx-configurable-query-item\n [form]=\"queryForm\"\n [control]=\"config\"\n ></nzx-configurable-query-item>\n }\n </div>\n }\n }\n\n <div\n class=\"nzx-query-btn\"\n nz-col\n [nzOrder]=\"controls.length\"\n [nzSpan]=\"nzxBtnSpan || 24 / lineNumber\"\n >\n <div nz-row nzJustify=\"end\" nzAlign=\"middle\">\n <nz-space>\n <button\n *nzSpaceItem\n nz-button\n nzType=\"primary\"\n type=\"button\"\n title=\"Enter\"\n (click)=\"search()\"\n >\n {{ locale['query'] }}\n </button>\n <button\n *nzSpaceItem\n nz-button\n type=\"button\"\n title=\"ctrl+r\"\n (click)=\"reset()\"\n >\n {{ locale['reset'] }}\n </button>\n <ng-container *nzSpaceItem>\n <ng-content></ng-content>\n </ng-container>\n @if (nzxCollapse) {\n <a\n *nzSpaceItem\n nz-button\n nzType=\"link\"\n (click)=\"toggleCollapse()\"\n >\n {{ collapseText }}\n <i nz-icon [nzType]=\"collapseIcon\"></i>\n </a>\n }\n </nz-space>\n </div>\n </div>\n </div>\n </form>\n</nz-card>\n", styles: [".nzx-query-container [nz-form-label]{overflow:visible}.nzx-query-container .nzx-query-btn{flex-grow:2;max-width:none}\n"] }]
|
|
654
|
+
}], ctorParameters: () => [{ type: i1$2.NzI18nService }, { type: i1.FormBuilder }, { type: i0.ChangeDetectorRef }], propDecorators: { controls: [{
|
|
650
655
|
type: Input
|
|
651
656
|
}], nzxJustify: [{
|
|
652
657
|
type: Input
|
|
@@ -696,11 +701,11 @@ class NzxConfigurableQueryModule {
|
|
|
696
701
|
],
|
|
697
702
|
};
|
|
698
703
|
}
|
|
699
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1
|
|
700
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1
|
|
701
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1
|
|
704
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxConfigurableQueryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
705
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.1", ngImport: i0, type: NzxConfigurableQueryModule, imports: [NzxControlDirective, NzxConfigurableQueryComponent], exports: [NzxControlDirective, NzxConfigurableQueryComponent] }); }
|
|
706
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxConfigurableQueryModule, imports: [NzxConfigurableQueryComponent] }); }
|
|
702
707
|
}
|
|
703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1
|
|
708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: NzxConfigurableQueryModule, decorators: [{
|
|
704
709
|
type: NgModule,
|
|
705
710
|
args: [{
|
|
706
711
|
imports: [NzxControlDirective, NzxConfigurableQueryComponent],
|