@ebuilding/form 2.1.14 → 2.2.0
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/checkbox/src/app.config.d.ts +2 -0
- package/checkbox/src/checkbox.module.d.ts +1 -1
- package/checkbox/src/checkbox.type.d.ts +1 -1
- package/checkbox/src/public_api.d.ts +1 -0
- package/checkboxgroup/src/app.config.d.ts +2 -0
- package/checkboxgroup/src/checkboxgroup.module.d.ts +1 -1
- package/checkboxgroup/src/checkboxgroup.type.d.ts +1 -1
- package/checkboxgroup/src/public_api.d.ts +1 -0
- package/colors/src/app.config.d.ts +2 -0
- package/colors/src/default/index.d.ts +1 -1
- package/colors/src/index.module.d.ts +3 -2
- package/colors/src/public_api.d.ts +1 -0
- package/datetime/src/app.config.d.ts +2 -0
- package/datetime/src/datetime.module.d.ts +1 -1
- package/datetime/src/datetime.type.d.ts +1 -1
- package/datetime/src/public_api.d.ts +1 -0
- package/desc/src/app.config.d.ts +2 -0
- package/desc/src/desc.module.d.ts +1 -1
- package/desc/src/desc.type.d.ts +1 -1
- package/desc/src/public_api.d.ts +1 -0
- package/dim/src/app.config.d.ts +2 -0
- package/dim/src/default/index.d.ts +1 -1
- package/dim/src/dim.module.d.ts +1 -1
- package/dim/src/public_api.d.ts +1 -0
- package/dim-indicator/src/app.config.d.ts +2 -0
- package/dim-indicator/src/assess/index.d.ts +1 -1
- package/dim-indicator/src/default/index.d.ts +1 -1
- package/dim-indicator/src/finish/index.d.ts +1 -1
- package/dim-indicator/src/indicator.module.d.ts +1 -1
- package/dim-indicator/src/public_api.d.ts +1 -0
- package/fesm2022/ebuilding-form.mjs +472 -604
- package/fesm2022/ebuilding-form.mjs.map +1 -1
- package/fesm2022/type.checkbox.mjs +22 -30
- package/fesm2022/type.checkbox.mjs.map +1 -1
- package/fesm2022/type.checkboxgroup.mjs +18 -22
- package/fesm2022/type.checkboxgroup.mjs.map +1 -1
- package/fesm2022/type.colors.mjs +23 -23
- package/fesm2022/type.colors.mjs.map +1 -1
- package/fesm2022/type.datetime.mjs +18 -22
- package/fesm2022/type.datetime.mjs.map +1 -1
- package/fesm2022/type.desc.mjs +16 -19
- package/fesm2022/type.desc.mjs.map +1 -1
- package/fesm2022/type.dim-indicator.mjs +27 -38
- package/fesm2022/type.dim-indicator.mjs.map +1 -1
- package/fesm2022/type.dim.mjs +17 -20
- package/fesm2022/type.dim.mjs.map +1 -1
- package/fesm2022/type.form-field.mjs +17 -20
- package/fesm2022/type.form-field.mjs.map +1 -1
- package/fesm2022/type.grid.mjs +17 -20
- package/fesm2022/type.grid.mjs.map +1 -1
- package/fesm2022/type.group.mjs +21 -28
- package/fesm2022/type.group.mjs.map +1 -1
- package/fesm2022/type.html.mjs +17 -21
- package/fesm2022/type.html.mjs.map +1 -1
- package/fesm2022/type.icon.mjs +17 -21
- package/fesm2022/type.icon.mjs.map +1 -1
- package/fesm2022/type.label.mjs +16 -19
- package/fesm2022/type.label.mjs.map +1 -1
- package/fesm2022/type.line.mjs +16 -19
- package/fesm2022/type.line.mjs.map +1 -1
- package/fesm2022/type.list.mjs +16 -19
- package/fesm2022/type.list.mjs.map +1 -1
- package/fesm2022/type.number.mjs +26 -37
- package/fesm2022/type.number.mjs.map +1 -1
- package/fesm2022/type.overtime.mjs +17 -21
- package/fesm2022/type.overtime.mjs.map +1 -1
- package/fesm2022/type.panel.mjs +17 -20
- package/fesm2022/type.panel.mjs.map +1 -1
- package/fesm2022/type.radio.mjs +18 -22
- package/fesm2022/type.radio.mjs.map +1 -1
- package/fesm2022/type.radiogroup.mjs +17 -21
- package/fesm2022/type.radiogroup.mjs.map +1 -1
- package/fesm2022/type.reform.mjs +17 -20
- package/fesm2022/type.reform.mjs.map +1 -1
- package/fesm2022/type.repeat-card.mjs +17 -20
- package/fesm2022/type.repeat-card.mjs.map +1 -1
- package/fesm2022/type.repeat.mjs +21 -28
- package/fesm2022/type.repeat.mjs.map +1 -1
- package/fesm2022/type.select.mjs +21 -28
- package/fesm2022/type.select.mjs.map +1 -1
- package/fesm2022/type.switch.mjs +18 -22
- package/fesm2022/type.switch.mjs.map +1 -1
- package/fesm2022/type.tabs.mjs +42 -49
- package/fesm2022/type.tabs.mjs.map +1 -1
- package/fesm2022/type.text.mjs +29 -35
- package/fesm2022/type.text.mjs.map +1 -1
- package/fesm2022/type.textarea.mjs +18 -22
- package/fesm2022/type.textarea.mjs.map +1 -1
- package/fesm2022/type.textcode.mjs +18 -22
- package/fesm2022/type.textcode.mjs.map +1 -1
- package/form-field/src/form-field.config.d.ts +2 -0
- package/form-field/src/form-field.module.d.ts +1 -1
- package/form-field/src/form-field.wrapper.d.ts +1 -1
- package/form-field/src/public_api.d.ts +1 -0
- package/grid/src/app.config.d.ts +2 -0
- package/grid/src/grid.module.d.ts +1 -1
- package/grid/src/grid.type.d.ts +1 -1
- package/grid/src/public_api.d.ts +1 -0
- package/group/src/app.config.d.ts +2 -0
- package/group/src/group.module.d.ts +1 -1
- package/group/src/group.type.d.ts +1 -1
- package/group/src/public_api.d.ts +1 -0
- package/html/src/app.config.d.ts +2 -0
- package/html/src/html.module.d.ts +1 -1
- package/html/src/html.type.d.ts +1 -1
- package/html/src/public_api.d.ts +1 -0
- package/icon/src/app.config.d.ts +2 -0
- package/icon/src/default/index.d.ts +1 -1
- package/icon/src/index.module.d.ts +1 -1
- package/icon/src/public_api.d.ts +1 -0
- package/index.d.ts +28 -28
- package/label/src/app.config.d.ts +2 -0
- package/label/src/label.module.d.ts +1 -1
- package/label/src/label.type.d.ts +1 -1
- package/label/src/public_api.d.ts +1 -0
- package/line/src/app.config.d.ts +2 -0
- package/line/src/line.module.d.ts +1 -1
- package/line/src/line.type.d.ts +1 -1
- package/line/src/public_api.d.ts +1 -0
- package/list/src/app.config.d.ts +2 -0
- package/list/src/list.module.d.ts +1 -1
- package/list/src/list.type.d.ts +1 -1
- package/list/src/public_api.d.ts +1 -0
- package/number/src/app.config.d.ts +2 -0
- package/number/src/number.module.d.ts +1 -1
- package/number/src/number.type.d.ts +1 -1
- package/number/src/number_rate.type.d.ts +1 -1
- package/number/src/public_api.d.ts +1 -0
- package/overtime/src/app.config.d.ts +2 -0
- package/overtime/src/default/index.d.ts +1 -1
- package/overtime/src/index.module.d.ts +1 -1
- package/overtime/src/public_api.d.ts +1 -0
- package/package.json +38 -38
- package/panel/src/app.config.d.ts +2 -0
- package/panel/src/panel.module.d.ts +1 -1
- package/panel/src/panel.type.d.ts +1 -1
- package/panel/src/public_api.d.ts +1 -0
- package/radio/src/app.config.d.ts +2 -0
- package/radio/src/public_api.d.ts +1 -0
- package/radio/src/radio.module.d.ts +1 -1
- package/radio/src/radio.type.d.ts +1 -1
- package/radiogroup/src/app.config.d.ts +2 -0
- package/radiogroup/src/public_api.d.ts +1 -0
- package/radiogroup/src/radiogroup.module.d.ts +1 -1
- package/radiogroup/src/radiogroup.type.d.ts +1 -1
- package/reform/src/app.config.d.ts +2 -0
- package/reform/src/public_api.d.ts +1 -0
- package/reform/src/reform.module.d.ts +1 -1
- package/reform/src/reform.type.d.ts +1 -1
- package/repeat/src/app.config.d.ts +2 -0
- package/repeat/src/default/index.d.ts +1 -1
- package/repeat/src/index.module.d.ts +1 -1
- package/repeat/src/public_api.d.ts +1 -0
- package/repeat-card/src/app.config.d.ts +2 -0
- package/repeat-card/src/default/index.d.ts +1 -1
- package/repeat-card/src/index.module.d.ts +1 -1
- package/repeat-card/src/public_api.d.ts +1 -0
- package/select/src/app.config.d.ts +2 -0
- package/select/src/public_api.d.ts +1 -0
- package/select/src/select.module.d.ts +1 -1
- package/select/src/select.type.d.ts +1 -1
- package/switch/src/app.config.d.ts +2 -0
- package/switch/src/default/index.d.ts +1 -1
- package/switch/src/index.module.d.ts +1 -1
- package/switch/src/public_api.d.ts +1 -0
- package/tabs/src/app.config.d.ts +2 -0
- package/tabs/src/default/index.d.ts +1 -1
- package/tabs/src/index.module.d.ts +1 -1
- package/tabs/src/public_api.d.ts +1 -0
- package/tabs/src/tab/index.d.ts +1 -1
- package/text/src/public_api.d.ts +1 -0
- package/text/src/text.config.d.ts +2 -0
- package/text/src/text.module.d.ts +3 -2
- package/text/src/text.type.d.ts +1 -1
- package/text/src/text_ind.type.d.ts +1 -1
- package/textarea/src/app.config.d.ts +2 -0
- package/textarea/src/public_api.d.ts +1 -0
- package/textarea/src/textarea.module.d.ts +1 -1
- package/textarea/src/textarea.type.d.ts +1 -1
- package/textcode/src/app.config.d.ts +2 -0
- package/textcode/src/public_api.d.ts +1 -0
- package/textcode/src/text.module.d.ts +1 -1
- package/textcode/src/text.type.d.ts +1 -1
|
@@ -2,8 +2,8 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { ChangeDetectionStrategy, Component, NgModule, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i1$1 from '@
|
|
6
|
-
import { FieldType, FormlyModule, FieldArrayType } from '@
|
|
5
|
+
import * as i1$1 from '@ebuilding-form/core';
|
|
6
|
+
import { FieldType, FormlyModule, FieldArrayType } from '@ebuilding-form/core';
|
|
7
7
|
import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
|
|
8
8
|
import * as i2 from '@angular/forms';
|
|
9
9
|
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
@@ -76,7 +76,7 @@ class DeonNzFieldCheckbox extends FieldType {
|
|
|
76
76
|
<label nz-checkbox [formControl]="formControl" [formlyAttributes]="field" [nzDisabled]="editor == false ? true : false">
|
|
77
77
|
<ng-container *ngIf="props?.['hideLabel'] == true && props?.['labelPosition'] == 'right'"> {{ props.label }} </ng-container>
|
|
78
78
|
</label>
|
|
79
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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: "ngmodule", type: NzCheckboxModule }, { kind: "component", type: i3.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId", "nzName"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
79
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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: "ngmodule", type: NzCheckboxModule }, { kind: "component", type: i3.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId", "nzName"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
80
80
|
}
|
|
81
81
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldCheckbox, decorators: [{
|
|
82
82
|
type: Component,
|
|
@@ -97,25 +97,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
97
97
|
}]
|
|
98
98
|
}] });
|
|
99
99
|
|
|
100
|
+
function withFormlyFieldCheckbox() {
|
|
101
|
+
return {
|
|
102
|
+
types: [
|
|
103
|
+
{
|
|
104
|
+
name: 'checkbox',
|
|
105
|
+
component: DeonNzFieldCheckbox,
|
|
106
|
+
wrappers: ['formly-form-field'],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'boolean',
|
|
110
|
+
extends: 'checkbox',
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
100
116
|
class DeonNzCheckboxModule {
|
|
101
117
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
102
118
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzCheckboxModule, imports: [CommonModule,
|
|
103
119
|
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
104
120
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzCheckboxModule, imports: [CommonModule,
|
|
105
121
|
DeonNzFormFieldModule,
|
|
106
|
-
FormlyModule.forChild(
|
|
107
|
-
types: [
|
|
108
|
-
{
|
|
109
|
-
name: 'checkbox',
|
|
110
|
-
component: DeonNzFieldCheckbox,
|
|
111
|
-
wrappers: ['formly-form-field'],
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
name: 'boolean',
|
|
115
|
-
extends: 'checkbox',
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
})] });
|
|
122
|
+
FormlyModule.forChild(withFormlyFieldCheckbox())] });
|
|
119
123
|
}
|
|
120
124
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzCheckboxModule, decorators: [{
|
|
121
125
|
type: NgModule,
|
|
@@ -123,19 +127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
123
127
|
imports: [
|
|
124
128
|
CommonModule,
|
|
125
129
|
DeonNzFormFieldModule,
|
|
126
|
-
FormlyModule.forChild(
|
|
127
|
-
types: [
|
|
128
|
-
{
|
|
129
|
-
name: 'checkbox',
|
|
130
|
-
component: DeonNzFieldCheckbox,
|
|
131
|
-
wrappers: ['formly-form-field'],
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
name: 'boolean',
|
|
135
|
-
extends: 'checkbox',
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
}),
|
|
130
|
+
FormlyModule.forChild(withFormlyFieldCheckbox()),
|
|
139
131
|
],
|
|
140
132
|
}]
|
|
141
133
|
}] });
|
|
@@ -206,7 +198,7 @@ class DeonNzFieldCheckboxGroup extends FieldType {
|
|
|
206
198
|
</label>
|
|
207
199
|
</div>
|
|
208
200
|
</div>
|
|
209
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzCheckboxModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
201
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzCheckboxModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
210
202
|
}
|
|
211
203
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldCheckboxGroup, decorators: [{
|
|
212
204
|
type: Component,
|
|
@@ -256,21 +248,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
256
248
|
}]
|
|
257
249
|
}], ctorParameters: () => [] });
|
|
258
250
|
|
|
251
|
+
function withFormlyFieldCheckboxGroup() {
|
|
252
|
+
return {
|
|
253
|
+
types: [
|
|
254
|
+
{
|
|
255
|
+
name: 'checkboxgroup',
|
|
256
|
+
component: DeonNzFieldCheckboxGroup,
|
|
257
|
+
wrappers: ['formly-form-field'],
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
259
263
|
class DeonNzCheckboxGroupModule {
|
|
260
264
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzCheckboxGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
261
265
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzCheckboxGroupModule, imports: [CommonModule,
|
|
262
266
|
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
263
267
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzCheckboxGroupModule, imports: [CommonModule,
|
|
264
268
|
DeonNzFormFieldModule,
|
|
265
|
-
FormlyModule.forChild(
|
|
266
|
-
types: [
|
|
267
|
-
{
|
|
268
|
-
name: 'checkboxgroup',
|
|
269
|
-
component: DeonNzFieldCheckboxGroup,
|
|
270
|
-
wrappers: ['formly-form-field'],
|
|
271
|
-
},
|
|
272
|
-
],
|
|
273
|
-
})] });
|
|
269
|
+
FormlyModule.forChild(withFormlyFieldCheckboxGroup())] });
|
|
274
270
|
}
|
|
275
271
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzCheckboxGroupModule, decorators: [{
|
|
276
272
|
type: NgModule,
|
|
@@ -278,15 +274,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
278
274
|
imports: [
|
|
279
275
|
CommonModule,
|
|
280
276
|
DeonNzFormFieldModule,
|
|
281
|
-
FormlyModule.forChild(
|
|
282
|
-
types: [
|
|
283
|
-
{
|
|
284
|
-
name: 'checkboxgroup',
|
|
285
|
-
component: DeonNzFieldCheckboxGroup,
|
|
286
|
-
wrappers: ['formly-form-field'],
|
|
287
|
-
},
|
|
288
|
-
],
|
|
289
|
-
}),
|
|
277
|
+
FormlyModule.forChild(withFormlyFieldCheckboxGroup()),
|
|
290
278
|
],
|
|
291
279
|
}]
|
|
292
280
|
}] });
|
|
@@ -304,7 +292,7 @@ class DeonNzFieldColor extends FieldType {
|
|
|
304
292
|
return '';
|
|
305
293
|
}
|
|
306
294
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldColor, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
307
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldColor, isStandalone: true, selector: "deon-nz-field-color", usesInheritance: true, ngImport: i0, template: "<div class=\"field-color deon-color deon-color-default\" *ngIf=\"editor == false; else tmpField\">\n <div class=\"color-control\">\n <div [style.background]=\"text\"></div>\n </div>\n</div>\n<ng-template #tmpField>\n <input nz-input [formControl]=\"formControl\" [type]=\"'color'\" [formlyAttributes]=\"field\" />\n</ng-template>", styles: [":host ::ng-deep .color-control{height:32px;border:1px solid #eaeaea;width:60px;background-color:#fff;padding:8px 13px}:host ::ng-deep .color-control div{width:100%;height:15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
295
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldColor, isStandalone: true, selector: "deon-nz-field-color", usesInheritance: true, ngImport: i0, template: "<div class=\"field-color deon-color deon-color-default\" *ngIf=\"editor == false; else tmpField\">\n <div class=\"color-control\">\n <div [style.background]=\"text\"></div>\n </div>\n</div>\n<ng-template #tmpField>\n <input nz-input [formControl]=\"formControl\" [type]=\"'color'\" [formlyAttributes]=\"field\" />\n</ng-template>", styles: [":host ::ng-deep .color-control{height:32px;border:1px solid #eaeaea;width:60px;background-color:#fff;padding:8px 13px}:host ::ng-deep .color-control div{width:100%;height:15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
308
296
|
}
|
|
309
297
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldColor, decorators: [{
|
|
310
298
|
type: Component,
|
|
@@ -316,34 +304,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
316
304
|
], template: "<div class=\"field-color deon-color deon-color-default\" *ngIf=\"editor == false; else tmpField\">\n <div class=\"color-control\">\n <div [style.background]=\"text\"></div>\n </div>\n</div>\n<ng-template #tmpField>\n <input nz-input [formControl]=\"formControl\" [type]=\"'color'\" [formlyAttributes]=\"field\" />\n</ng-template>", styles: [":host ::ng-deep .color-control{height:32px;border:1px solid #eaeaea;width:60px;background-color:#fff;padding:8px 13px}:host ::ng-deep .color-control div{width:100%;height:15px}\n"] }]
|
|
317
305
|
}] });
|
|
318
306
|
|
|
307
|
+
function withFormlyFieldColor() {
|
|
308
|
+
return {
|
|
309
|
+
types: [
|
|
310
|
+
{
|
|
311
|
+
name: 'color',
|
|
312
|
+
component: DeonNzFieldColor,
|
|
313
|
+
wrappers: ['formly-form-field'],
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
|
|
319
319
|
class DeonNzColorModule {
|
|
320
320
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzColorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
321
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzColorModule, imports: [CommonModule,
|
|
321
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzColorModule, imports: [CommonModule,
|
|
322
|
+
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
322
323
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzColorModule, imports: [CommonModule,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
{
|
|
326
|
-
name: 'color',
|
|
327
|
-
component: DeonNzFieldColor,
|
|
328
|
-
wrappers: ['formly-form-field'],
|
|
329
|
-
},
|
|
330
|
-
],
|
|
331
|
-
})] });
|
|
324
|
+
DeonNzFormFieldModule,
|
|
325
|
+
FormlyModule.forChild(withFormlyFieldColor())] });
|
|
332
326
|
}
|
|
333
327
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzColorModule, decorators: [{
|
|
334
328
|
type: NgModule,
|
|
335
329
|
args: [{
|
|
336
330
|
imports: [
|
|
337
331
|
CommonModule,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
{
|
|
341
|
-
name: 'color',
|
|
342
|
-
component: DeonNzFieldColor,
|
|
343
|
-
wrappers: ['formly-form-field'],
|
|
344
|
-
},
|
|
345
|
-
],
|
|
346
|
-
}),
|
|
332
|
+
DeonNzFormFieldModule,
|
|
333
|
+
FormlyModule.forChild(withFormlyFieldColor()),
|
|
347
334
|
],
|
|
348
335
|
}]
|
|
349
336
|
}] });
|
|
@@ -512,7 +499,7 @@ class DeonNzFieldDatetime extends FieldType {
|
|
|
512
499
|
<ng-container *ngSwitchDefault></ng-container>
|
|
513
500
|
</ng-container>
|
|
514
501
|
</ng-template>
|
|
515
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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: "ngmodule", type: NzDatePickerModule }, { kind: "component", type: i4.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", "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: i4.NzMonthPickerComponent, selector: "nz-month-picker", exportAs: ["nzMonthPicker"] }, { kind: "directive", type: i4.NzYearPickerComponent, selector: "nz-year-picker", exportAs: ["nzYearPicker"] }, { kind: "ngmodule", type: NzTimePickerModule }, { kind: "component", type: i5.NzTimePickerComponent, selector: "nz-time-picker", inputs: ["nzId", "nzSize", "nzStatus", "nzHourStep", "nzMinuteStep", "nzSecondStep", "nzClearText", "nzNowText", "nzOkText", "nzPopupClassName", "nzPlaceHolder", "nzAddOn", "nzDefaultOpenValue", "nzDisabledHours", "nzDisabledMinutes", "nzDisabledSeconds", "nzFormat", "nzOpen", "nzUse12Hours", "nzSuffixIcon", "nzHideDisabledOptions", "nzAllowEmpty", "nzDisabled", "nzAutoFocus", "nzBackdrop", "nzBorderless", "nzInputReadOnly"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
502
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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: "ngmodule", type: NzDatePickerModule }, { kind: "component", type: i4.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", "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: i4.NzMonthPickerComponent, selector: "nz-month-picker", exportAs: ["nzMonthPicker"] }, { kind: "directive", type: i4.NzYearPickerComponent, selector: "nz-year-picker", exportAs: ["nzYearPicker"] }, { kind: "ngmodule", type: NzTimePickerModule }, { kind: "component", type: i5.NzTimePickerComponent, selector: "nz-time-picker", inputs: ["nzId", "nzSize", "nzStatus", "nzHourStep", "nzMinuteStep", "nzSecondStep", "nzClearText", "nzNowText", "nzOkText", "nzPopupClassName", "nzPlaceHolder", "nzAddOn", "nzDefaultOpenValue", "nzDisabledHours", "nzDisabledMinutes", "nzDisabledSeconds", "nzFormat", "nzOpen", "nzUse12Hours", "nzSuffixIcon", "nzHideDisabledOptions", "nzAllowEmpty", "nzDisabled", "nzAutoFocus", "nzBackdrop", "nzBorderless", "nzInputReadOnly"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
516
503
|
}
|
|
517
504
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldDatetime, decorators: [{
|
|
518
505
|
type: Component,
|
|
@@ -601,21 +588,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
601
588
|
}]
|
|
602
589
|
}], ctorParameters: () => [{ type: i1$2.NzI18nService }] });
|
|
603
590
|
|
|
591
|
+
function withFormlyFieldDateTime() {
|
|
592
|
+
return {
|
|
593
|
+
types: [
|
|
594
|
+
{
|
|
595
|
+
name: 'datetime',
|
|
596
|
+
component: DeonNzFieldDatetime,
|
|
597
|
+
wrappers: ['formly-form-field'],
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
|
|
604
603
|
class DeonNzDateTimeModule {
|
|
605
604
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
606
605
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDateTimeModule, imports: [CommonModule,
|
|
607
606
|
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
608
607
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDateTimeModule, imports: [CommonModule,
|
|
609
608
|
DeonNzFormFieldModule,
|
|
610
|
-
FormlyModule.forChild(
|
|
611
|
-
types: [
|
|
612
|
-
{
|
|
613
|
-
name: 'datetime',
|
|
614
|
-
component: DeonNzFieldDatetime,
|
|
615
|
-
wrappers: ['formly-form-field'],
|
|
616
|
-
},
|
|
617
|
-
],
|
|
618
|
-
})] });
|
|
609
|
+
FormlyModule.forChild(withFormlyFieldDateTime())] });
|
|
619
610
|
}
|
|
620
611
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDateTimeModule, decorators: [{
|
|
621
612
|
type: NgModule,
|
|
@@ -623,15 +614,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
623
614
|
imports: [
|
|
624
615
|
CommonModule,
|
|
625
616
|
DeonNzFormFieldModule,
|
|
626
|
-
FormlyModule.forChild(
|
|
627
|
-
types: [
|
|
628
|
-
{
|
|
629
|
-
name: 'datetime',
|
|
630
|
-
component: DeonNzFieldDatetime,
|
|
631
|
-
wrappers: ['formly-form-field'],
|
|
632
|
-
},
|
|
633
|
-
],
|
|
634
|
-
}),
|
|
617
|
+
FormlyModule.forChild(withFormlyFieldDateTime()),
|
|
635
618
|
],
|
|
636
619
|
}]
|
|
637
620
|
}] });
|
|
@@ -654,20 +637,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
654
637
|
}]
|
|
655
638
|
}] });
|
|
656
639
|
|
|
640
|
+
function withFormlyFieldDesc() {
|
|
641
|
+
return {
|
|
642
|
+
types: [
|
|
643
|
+
{
|
|
644
|
+
name: 'desc',
|
|
645
|
+
component: DeonNzFieldDesc,
|
|
646
|
+
}
|
|
647
|
+
],
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
|
|
657
651
|
class DeonNzDescModule {
|
|
658
652
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDescModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
659
653
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDescModule, imports: [CommonModule,
|
|
660
654
|
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
661
655
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDescModule, imports: [CommonModule,
|
|
662
656
|
DeonNzFormFieldModule,
|
|
663
|
-
FormlyModule.forChild(
|
|
664
|
-
types: [
|
|
665
|
-
{
|
|
666
|
-
name: 'desc',
|
|
667
|
-
component: DeonNzFieldDesc,
|
|
668
|
-
},
|
|
669
|
-
],
|
|
670
|
-
})] });
|
|
657
|
+
FormlyModule.forChild(withFormlyFieldDesc())] });
|
|
671
658
|
}
|
|
672
659
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDescModule, decorators: [{
|
|
673
660
|
type: NgModule,
|
|
@@ -675,14 +662,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
675
662
|
imports: [
|
|
676
663
|
CommonModule,
|
|
677
664
|
DeonNzFormFieldModule,
|
|
678
|
-
FormlyModule.forChild(
|
|
679
|
-
types: [
|
|
680
|
-
{
|
|
681
|
-
name: 'desc',
|
|
682
|
-
component: DeonNzFieldDesc,
|
|
683
|
-
},
|
|
684
|
-
],
|
|
685
|
-
}),
|
|
665
|
+
FormlyModule.forChild(withFormlyFieldDesc()),
|
|
686
666
|
]
|
|
687
667
|
}]
|
|
688
668
|
}] });
|
|
@@ -721,7 +701,7 @@ class DeonNzFieldDim extends FieldType {
|
|
|
721
701
|
});
|
|
722
702
|
}
|
|
723
703
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldDim, deps: [{ token: i1$4.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
724
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldDim, isStandalone: true, selector: "deon-nz-field-dim", usesInheritance: true, ngImport: i0, template: "<div class=\"dim-title\">\n <ul>\n <li>\n <i nz-icon nzType=\"tags\"></i>\n <span>{{ props?.label }}</span>\n </li>\n <li\n *ngIf=\"props && props['dimConfig'] && (props['dimConfig']['dimWeightType'] === 'FIX' || props['dimConfig']['dimWeightType'] === 'SUM')\">\n <label>\u7EF4\u5EA6\u6743\u91CD</label>\n <label>{{ props['dimConfig']['dimWeight'] }}%</label>\n </li>\n <li class=\"dim-button\" *ngIf=\"props && props['dimConfig'] && \n (props['dimConfig']['izAdd'] || \n props['dimConfig']['izRef'] || \n props['dimConfig']['izKey'] || \n props['dimConfig']['izTask'])\">\n <div class=\"empty\"></div>\n <div class=\"button\">\n <a (click)=\"btnAdd()\" *ngIf=\"props['dimConfig']['izAdd']\">\n <i nz-icon nzType=\"plus-circle\"></i>\u65B0\u589E\u6307\u6807\n </a>\n <a (click)=\"btnRef()\" *ngIf=\"props['dimConfig']['izRef']\">\n <i nz-icon nzType=\"table\"></i>\u5F15\u7528\u6307\u6807\n </a>\n <a (click)=\"btnKeyResult()\" *ngIf=\"props['dimConfig']['izKey']\">\n <i nz-icon nzType=\"api\"></i>\u5F15\u7528\u5173\u952E\u7ED3\u679C\n </a>\n <a (click)=\"btnTask()\" *ngIf=\"props['dimConfig']['izTask']\">\n <i nz-icon nzType=\"book\"></i>\u5F15\u7528\u5DE5\u4F5C\u4EFB\u52A1\n </a>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"dim-content\">\n\n <ng-container *ngIf=\"props && props['dimConfig'] && props['dimConfig']['showTable']==true;else tmpDefault\">\n <div class=\"dim-table\">\n <div class=\"dim-table-header\">\n <div class=\"no\" *ngIf=\"props['dimConfig']['showSn']\">\u5E8F\u53F7</div>\n <ng-container *ngIf=\"props['dimConfig']['tableRows']\">\n <ng-container *ngFor=\"let item of props['dimConfig']['tableRows']\">\n <div [ngStyle]=\"item?.widthAuto ? {'flex': '1'} : {'width': item?.width+'px'}\">{{item?.name}}</div>\n </ng-container>\n </ng-container>\n <div class=\"operate\" *ngIf=\"field?.editor==true\">\u64CD\u4F5C</div>\n </div>\n <div class=\"dim-table-body\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0; else tmpEmpty\">\n <ng-container *ngFor=\"let f of field.fieldGroup;let index=index\">\n <div class=\"rows\">\n <div class=\"row-no\" *ngIf=\"props['dimConfig']['showSn']\">{{index+1}}</div>\n <div class=\"row-content\">\n <formly-field [field]=\"f\" [isTable]=\"true\" [dimConfig]=\"props['dimConfig']\"\n [tableConfig]=\"props['dimConfig']['tableRows']\"></formly-field>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </ng-container>\n\n <ng-template #tmpDefault>\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0; else tmpEmpty\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #tmpEmpty>\n <div class=\"empty-box\">\n <div class=\"image\"><img src=\"assets/images/default/empty2.png\" /></div>\n <div class=\"desc\">\n <span>\u6682\u65E0\u6570\u636E</span>\n </div>\n </div>\n </ng-template>\n\n <ng-content></ng-content>\n</div>", styles: [":host ::ng-deep{width:100%;margin-bottom:5px}:host ::ng-deep .dim-title ul{padding:0;margin:0;list-style:none;display:flex;flex-direction:row;align-items:center;font-size:14px}:host ::ng-deep .dim-title ul li{padding:0 20px 0 0;margin:0}:host ::ng-deep .dim-title ul li i{margin-right:3px}:host ::ng-deep .dim-title ul li label:nth-child(1):after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .dim-title ul .dim-button{flex:1;display:flex;flex-direction:row}:host ::ng-deep .dim-title ul .dim-button .empty{flex:1}:host ::ng-deep .dim-title ul .dim-button a+a{margin-left:15px}:host ::ng-deep .dim-content{width:100%}:host ::ng-deep .empty-box{display:flex;flex-direction:column;align-items:center}:host ::ng-deep .empty-box img{width:105px}:host ::ng-deep .dim-table{width:100%;border:1px solid #eaeaea}:host ::ng-deep .dim-table-header{display:flex;flex-direction:row}:host ::ng-deep .dim-table-header div{border-left:1px solid #eaeaea;padding:0 0 0 8px;background:#f5f7fa}:host ::ng-deep .dim-table-header div:nth-child(1){border-left:0}:host ::ng-deep .dim-table-header .no{width:60px;flex:none}:host ::ng-deep .dim-table-header .operate{width:120px;flex:none}:host ::ng-deep .dim-table-body{display:flex;flex-direction:column}:host ::ng-deep .dim-table-body .rows{display:flex;flex-direction:row;padding:8px 0 0;border-bottom:1px solid #eaeaea}:host ::ng-deep .dim-table-body .rows .row-no{width:60px;padding:0 0 0 8px}:host ::ng-deep .dim-table-body .rows .row-content{flex:1}:host ::ng-deep .dim-table-body .rows .ind-list{display:flex;flex-direction:row;flex:1}:host ::ng-deep .dim-table-body .rows .ind-list .ind-item{flex:1;display:flex;flex-direction:row}:host ::ng-deep .dim-table-body .rows .ind-list .ind-operate{width:120px;padding:0 0 0 8px;text-align:center;align-self:center}:host ::ng-deep .dim-table-body .rows .ind-list .ind-operate a{margin:0 8px 0 0}:host ::ng-deep .dim-table-body .rows:nth-last-child(1){border-bottom:0}:host ::ng-deep .dim-table-body deon-nz-field-indicator{border:0}:host ::ng-deep .dim-table-body deon-nz-field-indicator .ind-list{display:flex;flex-direction:row}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
704
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldDim, isStandalone: true, selector: "deon-nz-field-dim", usesInheritance: true, ngImport: i0, template: "<div class=\"dim-title\">\n <ul>\n <li>\n <i nz-icon nzType=\"tags\"></i>\n <span>{{ props?.label }}</span>\n </li>\n <li\n *ngIf=\"props && props['dimConfig'] && (props['dimConfig']['dimWeightType'] === 'FIX' || props['dimConfig']['dimWeightType'] === 'SUM')\">\n <label>\u7EF4\u5EA6\u6743\u91CD</label>\n <label>{{ props['dimConfig']['dimWeight'] }}%</label>\n </li>\n <li class=\"dim-button\" *ngIf=\"props && props['dimConfig'] && \n (props['dimConfig']['izAdd'] || \n props['dimConfig']['izRef'] || \n props['dimConfig']['izKey'] || \n props['dimConfig']['izTask'])\">\n <div class=\"empty\"></div>\n <div class=\"button\">\n <a (click)=\"btnAdd()\" *ngIf=\"props['dimConfig']['izAdd']\">\n <i nz-icon nzType=\"plus-circle\"></i>\u65B0\u589E\u6307\u6807\n </a>\n <a (click)=\"btnRef()\" *ngIf=\"props['dimConfig']['izRef']\">\n <i nz-icon nzType=\"table\"></i>\u5F15\u7528\u6307\u6807\n </a>\n <a (click)=\"btnKeyResult()\" *ngIf=\"props['dimConfig']['izKey']\">\n <i nz-icon nzType=\"api\"></i>\u5F15\u7528\u5173\u952E\u7ED3\u679C\n </a>\n <a (click)=\"btnTask()\" *ngIf=\"props['dimConfig']['izTask']\">\n <i nz-icon nzType=\"book\"></i>\u5F15\u7528\u5DE5\u4F5C\u4EFB\u52A1\n </a>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"dim-content\">\n\n <ng-container *ngIf=\"props && props['dimConfig'] && props['dimConfig']['showTable']==true;else tmpDefault\">\n <div class=\"dim-table\">\n <div class=\"dim-table-header\">\n <div class=\"no\" *ngIf=\"props['dimConfig']['showSn']\">\u5E8F\u53F7</div>\n <ng-container *ngIf=\"props['dimConfig']['tableRows']\">\n <ng-container *ngFor=\"let item of props['dimConfig']['tableRows']\">\n <div [ngStyle]=\"item?.widthAuto ? {'flex': '1'} : {'width': item?.width+'px'}\">{{item?.name}}</div>\n </ng-container>\n </ng-container>\n <div class=\"operate\" *ngIf=\"field?.editor==true\">\u64CD\u4F5C</div>\n </div>\n <div class=\"dim-table-body\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0; else tmpEmpty\">\n <ng-container *ngFor=\"let f of field.fieldGroup;let index=index\">\n <div class=\"rows\">\n <div class=\"row-no\" *ngIf=\"props['dimConfig']['showSn']\">{{index+1}}</div>\n <div class=\"row-content\">\n <formly-field [field]=\"f\" [isTable]=\"true\" [dimConfig]=\"props['dimConfig']\"\n [tableConfig]=\"props['dimConfig']['tableRows']\"></formly-field>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </ng-container>\n\n <ng-template #tmpDefault>\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0; else tmpEmpty\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #tmpEmpty>\n <div class=\"empty-box\">\n <div class=\"image\"><img src=\"assets/images/default/empty2.png\" /></div>\n <div class=\"desc\">\n <span>\u6682\u65E0\u6570\u636E</span>\n </div>\n </div>\n </ng-template>\n\n <ng-content></ng-content>\n</div>", styles: [":host ::ng-deep{width:100%;margin-bottom:5px}:host ::ng-deep .dim-title ul{padding:0;margin:0;list-style:none;display:flex;flex-direction:row;align-items:center;font-size:14px}:host ::ng-deep .dim-title ul li{padding:0 20px 0 0;margin:0}:host ::ng-deep .dim-title ul li i{margin-right:3px}:host ::ng-deep .dim-title ul li label:nth-child(1):after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .dim-title ul .dim-button{flex:1;display:flex;flex-direction:row}:host ::ng-deep .dim-title ul .dim-button .empty{flex:1}:host ::ng-deep .dim-title ul .dim-button a+a{margin-left:15px}:host ::ng-deep .dim-content{width:100%}:host ::ng-deep .empty-box{display:flex;flex-direction:column;align-items:center}:host ::ng-deep .empty-box img{width:105px}:host ::ng-deep .dim-table{width:100%;border:1px solid #eaeaea}:host ::ng-deep .dim-table-header{display:flex;flex-direction:row}:host ::ng-deep .dim-table-header div{border-left:1px solid #eaeaea;padding:0 0 0 8px;background:#f5f7fa}:host ::ng-deep .dim-table-header div:nth-child(1){border-left:0}:host ::ng-deep .dim-table-header .no{width:60px;flex:none}:host ::ng-deep .dim-table-header .operate{width:120px;flex:none}:host ::ng-deep .dim-table-body{display:flex;flex-direction:column}:host ::ng-deep .dim-table-body .rows{display:flex;flex-direction:row;padding:8px 0 0;border-bottom:1px solid #eaeaea}:host ::ng-deep .dim-table-body .rows .row-no{width:60px;padding:0 0 0 8px}:host ::ng-deep .dim-table-body .rows .row-content{flex:1}:host ::ng-deep .dim-table-body .rows .ind-list{display:flex;flex-direction:row;flex:1}:host ::ng-deep .dim-table-body .rows .ind-list .ind-item{flex:1;display:flex;flex-direction:row}:host ::ng-deep .dim-table-body .rows .ind-list .ind-operate{width:120px;padding:0 0 0 8px;text-align:center;align-self:center}:host ::ng-deep .dim-table-body .rows .ind-list .ind-operate a{margin:0 8px 0 0}:host ::ng-deep .dim-table-body .rows:nth-last-child(1){border-bottom:0}:host ::ng-deep .dim-table-body deon-nz-field-indicator{border:0}:host ::ng-deep .dim-table-body deon-nz-field-indicator .ind-list{display:flex;flex-direction:row}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
725
705
|
}
|
|
726
706
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldDim, decorators: [{
|
|
727
707
|
type: Component,
|
|
@@ -734,20 +714,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
734
714
|
], template: "<div class=\"dim-title\">\n <ul>\n <li>\n <i nz-icon nzType=\"tags\"></i>\n <span>{{ props?.label }}</span>\n </li>\n <li\n *ngIf=\"props && props['dimConfig'] && (props['dimConfig']['dimWeightType'] === 'FIX' || props['dimConfig']['dimWeightType'] === 'SUM')\">\n <label>\u7EF4\u5EA6\u6743\u91CD</label>\n <label>{{ props['dimConfig']['dimWeight'] }}%</label>\n </li>\n <li class=\"dim-button\" *ngIf=\"props && props['dimConfig'] && \n (props['dimConfig']['izAdd'] || \n props['dimConfig']['izRef'] || \n props['dimConfig']['izKey'] || \n props['dimConfig']['izTask'])\">\n <div class=\"empty\"></div>\n <div class=\"button\">\n <a (click)=\"btnAdd()\" *ngIf=\"props['dimConfig']['izAdd']\">\n <i nz-icon nzType=\"plus-circle\"></i>\u65B0\u589E\u6307\u6807\n </a>\n <a (click)=\"btnRef()\" *ngIf=\"props['dimConfig']['izRef']\">\n <i nz-icon nzType=\"table\"></i>\u5F15\u7528\u6307\u6807\n </a>\n <a (click)=\"btnKeyResult()\" *ngIf=\"props['dimConfig']['izKey']\">\n <i nz-icon nzType=\"api\"></i>\u5F15\u7528\u5173\u952E\u7ED3\u679C\n </a>\n <a (click)=\"btnTask()\" *ngIf=\"props['dimConfig']['izTask']\">\n <i nz-icon nzType=\"book\"></i>\u5F15\u7528\u5DE5\u4F5C\u4EFB\u52A1\n </a>\n </div>\n </li>\n </ul>\n</div>\n<div class=\"dim-content\">\n\n <ng-container *ngIf=\"props && props['dimConfig'] && props['dimConfig']['showTable']==true;else tmpDefault\">\n <div class=\"dim-table\">\n <div class=\"dim-table-header\">\n <div class=\"no\" *ngIf=\"props['dimConfig']['showSn']\">\u5E8F\u53F7</div>\n <ng-container *ngIf=\"props['dimConfig']['tableRows']\">\n <ng-container *ngFor=\"let item of props['dimConfig']['tableRows']\">\n <div [ngStyle]=\"item?.widthAuto ? {'flex': '1'} : {'width': item?.width+'px'}\">{{item?.name}}</div>\n </ng-container>\n </ng-container>\n <div class=\"operate\" *ngIf=\"field?.editor==true\">\u64CD\u4F5C</div>\n </div>\n <div class=\"dim-table-body\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0; else tmpEmpty\">\n <ng-container *ngFor=\"let f of field.fieldGroup;let index=index\">\n <div class=\"rows\">\n <div class=\"row-no\" *ngIf=\"props['dimConfig']['showSn']\">{{index+1}}</div>\n <div class=\"row-content\">\n <formly-field [field]=\"f\" [isTable]=\"true\" [dimConfig]=\"props['dimConfig']\"\n [tableConfig]=\"props['dimConfig']['tableRows']\"></formly-field>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </ng-container>\n\n <ng-template #tmpDefault>\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0; else tmpEmpty\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #tmpEmpty>\n <div class=\"empty-box\">\n <div class=\"image\"><img src=\"assets/images/default/empty2.png\" /></div>\n <div class=\"desc\">\n <span>\u6682\u65E0\u6570\u636E</span>\n </div>\n </div>\n </ng-template>\n\n <ng-content></ng-content>\n</div>", styles: [":host ::ng-deep{width:100%;margin-bottom:5px}:host ::ng-deep .dim-title ul{padding:0;margin:0;list-style:none;display:flex;flex-direction:row;align-items:center;font-size:14px}:host ::ng-deep .dim-title ul li{padding:0 20px 0 0;margin:0}:host ::ng-deep .dim-title ul li i{margin-right:3px}:host ::ng-deep .dim-title ul li label:nth-child(1):after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .dim-title ul .dim-button{flex:1;display:flex;flex-direction:row}:host ::ng-deep .dim-title ul .dim-button .empty{flex:1}:host ::ng-deep .dim-title ul .dim-button a+a{margin-left:15px}:host ::ng-deep .dim-content{width:100%}:host ::ng-deep .empty-box{display:flex;flex-direction:column;align-items:center}:host ::ng-deep .empty-box img{width:105px}:host ::ng-deep .dim-table{width:100%;border:1px solid #eaeaea}:host ::ng-deep .dim-table-header{display:flex;flex-direction:row}:host ::ng-deep .dim-table-header div{border-left:1px solid #eaeaea;padding:0 0 0 8px;background:#f5f7fa}:host ::ng-deep .dim-table-header div:nth-child(1){border-left:0}:host ::ng-deep .dim-table-header .no{width:60px;flex:none}:host ::ng-deep .dim-table-header .operate{width:120px;flex:none}:host ::ng-deep .dim-table-body{display:flex;flex-direction:column}:host ::ng-deep .dim-table-body .rows{display:flex;flex-direction:row;padding:8px 0 0;border-bottom:1px solid #eaeaea}:host ::ng-deep .dim-table-body .rows .row-no{width:60px;padding:0 0 0 8px}:host ::ng-deep .dim-table-body .rows .row-content{flex:1}:host ::ng-deep .dim-table-body .rows .ind-list{display:flex;flex-direction:row;flex:1}:host ::ng-deep .dim-table-body .rows .ind-list .ind-item{flex:1;display:flex;flex-direction:row}:host ::ng-deep .dim-table-body .rows .ind-list .ind-operate{width:120px;padding:0 0 0 8px;text-align:center;align-self:center}:host ::ng-deep .dim-table-body .rows .ind-list .ind-operate a{margin:0 8px 0 0}:host ::ng-deep .dim-table-body .rows:nth-last-child(1){border-bottom:0}:host ::ng-deep .dim-table-body deon-nz-field-indicator{border:0}:host ::ng-deep .dim-table-body deon-nz-field-indicator .ind-list{display:flex;flex-direction:row}\n"] }]
|
|
735
715
|
}], ctorParameters: () => [{ type: i1$4.GramGlobalService }] });
|
|
736
716
|
|
|
717
|
+
function withFormlyFieldDim() {
|
|
718
|
+
return {
|
|
719
|
+
types: [
|
|
720
|
+
{
|
|
721
|
+
name: 'dim',
|
|
722
|
+
component: DeonNzFieldDim,
|
|
723
|
+
}
|
|
724
|
+
],
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
|
|
737
728
|
class DeonNzDimModule {
|
|
738
729
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDimModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
739
730
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDimModule, imports: [CommonModule,
|
|
740
731
|
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
741
732
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDimModule, imports: [CommonModule,
|
|
742
733
|
DeonNzFormFieldModule,
|
|
743
|
-
FormlyModule.forChild(
|
|
744
|
-
types: [
|
|
745
|
-
{
|
|
746
|
-
name: 'dim',
|
|
747
|
-
component: DeonNzFieldDim,
|
|
748
|
-
},
|
|
749
|
-
],
|
|
750
|
-
})] });
|
|
734
|
+
FormlyModule.forChild(withFormlyFieldDim())] });
|
|
751
735
|
}
|
|
752
736
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDimModule, decorators: [{
|
|
753
737
|
type: NgModule,
|
|
@@ -755,14 +739,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
755
739
|
imports: [
|
|
756
740
|
CommonModule,
|
|
757
741
|
DeonNzFormFieldModule,
|
|
758
|
-
FormlyModule.forChild(
|
|
759
|
-
types: [
|
|
760
|
-
{
|
|
761
|
-
name: 'dim',
|
|
762
|
-
component: DeonNzFieldDim,
|
|
763
|
-
},
|
|
764
|
-
],
|
|
765
|
-
}),
|
|
742
|
+
FormlyModule.forChild(withFormlyFieldDim()),
|
|
766
743
|
],
|
|
767
744
|
}]
|
|
768
745
|
}] });
|
|
@@ -805,7 +782,7 @@ class DeonNzFieldDimIndicator extends FieldType {
|
|
|
805
782
|
});
|
|
806
783
|
}
|
|
807
784
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldDimIndicator, deps: [{ token: i1$5.NzModalService }, { token: i2$1.NzMessageService }, { token: i1$4.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
808
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldDimIndicator, isStandalone: true, selector: "deon-nz-field-indicator", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"props && props['isTable']==true;else tmpDefault\">\n <div class=\"ind-list\">\n <div class=\"ind-item\">\n <ng-container *ngFor=\"let f of field.fieldGroup;let index=index;\">\n <div style=\"padding: 0 8px;\"\n [ngStyle]=\"props['tableConfig'][index].widthAuto ? {'flex': '1'} : {'width': props['tableConfig'][index]?.width+'px'}\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </div>\n </ng-container>\n </div>\n <div class=\"ind-operate\" *ngIf=\"field?.editor == true\">\n <a (click)=\"btnUp()\">\n <i nz-icon nzType=\"arrow-up\"></i>\n </a>\n <a (click)=\"btnDown()\">\n <i nz-icon nzType=\"arrow-down\"></i>\n </a>\n <a (click)=\"btnDelete()\" *ngIf=\"props?.['indConfig']?.['izAllowDel'] == true\">\n <i nz-icon nzType=\"delete\"></i>\n </a>\n </div>\n </div>\n</ng-container>\n<ng-template #tmpDefault>\n <div class=\"ind-button\" *ngIf=\"field?.editor == true\">\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"btnUp()\">\n <i nz-icon nzType=\"arrow-up\"></i>\u4E0A\u79FB\n </button>\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"btnDown()\">\n <i nz-icon nzType=\"arrow-down\"></i>\u4E0B\u79FB\n </button>\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"btnDelete()\"\n *ngIf=\"props?.['indConfig']?.['izAllowDel'] == true\">\n <i nz-icon nzType=\"delete\"></i>\u5220\u9664\n </button>\n </div>\n\n <div class=\"ind-content\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0\">\n <div class=\"table-box\" *ngIf=\"props?.['indConfig']?.['izIndTable'] == true; else tmpDefault2\">\n <table>\n <thead>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <th [attr.width]=\"\n f?.key == 'name'\n ? '300px'\n : f?.key == 'desc'\n ? ''\n : '130px'\n \">\n <ng-container *ngIf=\"f?.props?.required == true\">\n <label class=\"label-required\">*</label>\n </ng-container>\n {{ f.props?.label }}\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <td>\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </td>\n </ng-container>\n </tr>\n </tbody>\n </table>\n </div>\n </ng-container>\n </div>\n</ng-template>\n<ng-template #tmpDefault2>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n</ng-template>", styles: [":host ::ng-deep{width:100%;border:1px solid #eaeaea;border-radius:4px;padding:0;display:flex;flex-direction:column}:host ::ng-deep .ind-button{text-align:right;padding:8px 15px 6px;border-bottom:1px solid #eaeaea}:host ::ng-deep .ind-content{flex:1;padding:15px 15px 0}:host ::ng-deep .table-box{padding:0 0 15px}:host ::ng-deep .table-box table tr th{padding:0 8px}:host ::ng-deep .table-box table tr td{padding:10px 8px;vertical-align:top}:host ::ng-deep .table-box .ant-form-item{margin-bottom:0}:host ::ng-deep .table-box .label-required{color:red;margin-right:2px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [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: FormlyModule }, { kind: "component", type: i1$1.
|
|
785
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldDimIndicator, isStandalone: true, selector: "deon-nz-field-indicator", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"props && props['isTable']==true;else tmpDefault\">\n <div class=\"ind-list\">\n <div class=\"ind-item\">\n <ng-container *ngFor=\"let f of field.fieldGroup;let index=index;\">\n <div style=\"padding: 0 8px;\"\n [ngStyle]=\"props['tableConfig'][index].widthAuto ? {'flex': '1'} : {'width': props['tableConfig'][index]?.width+'px'}\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </div>\n </ng-container>\n </div>\n <div class=\"ind-operate\" *ngIf=\"field?.editor == true\">\n <a (click)=\"btnUp()\">\n <i nz-icon nzType=\"arrow-up\"></i>\n </a>\n <a (click)=\"btnDown()\">\n <i nz-icon nzType=\"arrow-down\"></i>\n </a>\n <a (click)=\"btnDelete()\" *ngIf=\"props?.['indConfig']?.['izAllowDel'] == true\">\n <i nz-icon nzType=\"delete\"></i>\n </a>\n </div>\n </div>\n</ng-container>\n<ng-template #tmpDefault>\n <div class=\"ind-button\" *ngIf=\"field?.editor == true\">\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"btnUp()\">\n <i nz-icon nzType=\"arrow-up\"></i>\u4E0A\u79FB\n </button>\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"btnDown()\">\n <i nz-icon nzType=\"arrow-down\"></i>\u4E0B\u79FB\n </button>\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"btnDelete()\"\n *ngIf=\"props?.['indConfig']?.['izAllowDel'] == true\">\n <i nz-icon nzType=\"delete\"></i>\u5220\u9664\n </button>\n </div>\n\n <div class=\"ind-content\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0\">\n <div class=\"table-box\" *ngIf=\"props?.['indConfig']?.['izIndTable'] == true; else tmpDefault2\">\n <table>\n <thead>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <th [attr.width]=\"\n f?.key == 'name'\n ? '300px'\n : f?.key == 'desc'\n ? ''\n : '130px'\n \">\n <ng-container *ngIf=\"f?.props?.required == true\">\n <label class=\"label-required\">*</label>\n </ng-container>\n {{ f.props?.label }}\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <td>\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </td>\n </ng-container>\n </tr>\n </tbody>\n </table>\n </div>\n </ng-container>\n </div>\n</ng-template>\n<ng-template #tmpDefault2>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n</ng-template>", styles: [":host ::ng-deep{width:100%;border:1px solid #eaeaea;border-radius:4px;padding:0;display:flex;flex-direction:column}:host ::ng-deep .ind-button{text-align:right;padding:8px 15px 6px;border-bottom:1px solid #eaeaea}:host ::ng-deep .ind-content{flex:1;padding:15px 15px 0}:host ::ng-deep .table-box{padding:0 0 15px}:host ::ng-deep .table-box table tr th{padding:0 8px}:host ::ng-deep .table-box table tr td{padding:10px 8px;vertical-align:top}:host ::ng-deep .table-box .ant-form-item{margin-bottom:0}:host ::ng-deep .table-box .label-required{color:red;margin-right:2px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [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: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
809
786
|
}
|
|
810
787
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldDimIndicator, decorators: [{
|
|
811
788
|
type: Component,
|
|
@@ -832,7 +809,7 @@ class DeonNzFieldDimIndicatorFinish extends FieldType {
|
|
|
832
809
|
this.globalSrv = globalSrv;
|
|
833
810
|
}
|
|
834
811
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldDimIndicatorFinish, deps: [{ token: i1$5.NzModalService }, { token: i2$1.NzMessageService }, { token: i1$4.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
835
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldDimIndicatorFinish, isStandalone: true, selector: "deon-nz-field-indicator-finish", usesInheritance: true, ngImport: i0, template: "<div class=\"ind-finish\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <ng-container *ngIf=\"f?.key == 'finishValue'\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n</div>\n\n<div class=\"ind-content\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0\">\n <div class=\"table-box\" *ngIf=\"props?.['indConfig']?.['izIndTable'] == true; else tmpDefault\">\n <table>\n <thead>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <th [attr.width]=\"f?.key == 'name' ? '300px' : f?.key == 'desc' ? '' : '130px'\"\n *ngIf=\"f?.key != 'finishValue'\">\n <ng-container *ngIf=\"f?.props?.required == true\">\n <label class=\"label-required\">*</label>\n </ng-container>\n {{ f.props?.label }}\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <td *ngIf=\"f?.key != 'finishValue'\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </td>\n </ng-container>\n </tr>\n </tbody>\n </table>\n </div>\n\n <ng-template #tmpDefault>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\" *ngIf=\"f?.key != 'finishValue'\"></formly-field>\n </ng-container>\n </ng-template>\n </ng-container>\n</div>", styles: [":host ::ng-deep{width:100%;border:1px solid #eaeaea;border-radius:4px;padding:0;display:flex;flex-direction:column}:host ::ng-deep .ind-finish{padding:8px 15px 6px;border-bottom:1px solid #eaeaea}:host ::ng-deep .ind-finish nz-form-label{width:auto!important;max-width:none!important}:host ::ng-deep .ind-finish nz-form-item{margin-bottom:0!important}:host ::ng-deep .ind-finish nz-input-number{max-width:150px}:host ::ng-deep .ind-content{flex:1;padding:15px 15px 0}:host ::ng-deep .table-box{padding:0 0 15px}:host ::ng-deep .table-box table tr th{padding:0 8px}:host ::ng-deep .table-box table tr td{padding:10px 8px;vertical-align:top}:host ::ng-deep .table-box .ant-form-item{margin-bottom:0}:host ::ng-deep .table-box .label-required{color:red;margin-right:2px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
812
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldDimIndicatorFinish, isStandalone: true, selector: "deon-nz-field-indicator-finish", usesInheritance: true, ngImport: i0, template: "<div class=\"ind-finish\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <ng-container *ngIf=\"f?.key == 'finishValue'\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n</div>\n\n<div class=\"ind-content\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0\">\n <div class=\"table-box\" *ngIf=\"props?.['indConfig']?.['izIndTable'] == true; else tmpDefault\">\n <table>\n <thead>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <th [attr.width]=\"f?.key == 'name' ? '300px' : f?.key == 'desc' ? '' : '130px'\"\n *ngIf=\"f?.key != 'finishValue'\">\n <ng-container *ngIf=\"f?.props?.required == true\">\n <label class=\"label-required\">*</label>\n </ng-container>\n {{ f.props?.label }}\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <td *ngIf=\"f?.key != 'finishValue'\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </td>\n </ng-container>\n </tr>\n </tbody>\n </table>\n </div>\n\n <ng-template #tmpDefault>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\" *ngIf=\"f?.key != 'finishValue'\"></formly-field>\n </ng-container>\n </ng-template>\n </ng-container>\n</div>", styles: [":host ::ng-deep{width:100%;border:1px solid #eaeaea;border-radius:4px;padding:0;display:flex;flex-direction:column}:host ::ng-deep .ind-finish{padding:8px 15px 6px;border-bottom:1px solid #eaeaea}:host ::ng-deep .ind-finish nz-form-label{width:auto!important;max-width:none!important}:host ::ng-deep .ind-finish nz-form-item{margin-bottom:0!important}:host ::ng-deep .ind-finish nz-input-number{max-width:150px}:host ::ng-deep .ind-content{flex:1;padding:15px 15px 0}:host ::ng-deep .table-box{padding:0 0 15px}:host ::ng-deep .table-box table tr th{padding:0 8px}:host ::ng-deep .table-box table tr td{padding:10px 8px;vertical-align:top}:host ::ng-deep .table-box .ant-form-item{margin-bottom:0}:host ::ng-deep .table-box .label-required{color:red;margin-right:2px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
836
813
|
}
|
|
837
814
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldDimIndicatorFinish, decorators: [{
|
|
838
815
|
type: Component,
|
|
@@ -870,7 +847,7 @@ class DeonNzFieldDimIndicatorAssess extends FieldType {
|
|
|
870
847
|
}
|
|
871
848
|
}
|
|
872
849
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldDimIndicatorAssess, deps: [{ token: i1$5.NzModalService }, { token: i2$1.NzMessageService }, { token: i1$4.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
873
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldDimIndicatorAssess, isStandalone: true, selector: "deon-nz-field-indicator-assess", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"props && props['isTable']==true;else tmpDefault\">\n <div class=\"ind-list\">\n <div class=\"ind-item\">\n <ng-container *ngFor=\"let f of field.fieldGroup;let i=index;\">\n\n\n <ng-container *ngIf=\"f?.key!='indScoreSelect' && f?.key!='indScoreEnter';else tmpScore\">\n <div style=\"padding: 0 8px;\"\n [ngStyle]=\"props?.['tableConfig']?.[i]?.widthAuto ? {'flex': '1'} : {'width': props['tableConfig'][i]?.width+'px'}\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </div>\n </ng-container>\n\n <ng-template #tmpScore>\n <ng-container *ngIf=\"props?.['expandInfo'] && props?.['expandInfo']?.length>0\">\n <ng-container *ngFor=\"let item of props?.['expandInfo']\">\n <div style=\"padding: 0 8px; width: 150px;\">{{item?.nodeData}}</div>\n </ng-container>\n </ng-container>\n <div style=\"padding: 0 8px; width: 150px;\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </div>\n </ng-template>\n\n\n </ng-container>\n <ng-container *ngIf=\"props['tableConfig'].length > totalRenderedColumns\">\n <ng-container *ngFor=\"let f of props['tableConfig'].slice(totalRenderedColumns);let j=index;\">\n <div style=\"padding: 0 8px; width: 150px;\">\n <ng-container\n *ngIf=\"totalRenderedColumns==(field?.fieldGroup?.length ?? 0) &&props?.['expandInfo'] && props?.['expandInfo']?.length>j;else tmpEmptyData\">\n {{props?.[\"expandInfo\"]?.[j]?.nodeData}}\n </ng-container>\n <ng-template #tmpEmptyData>---</ng-template>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n</ng-container>\n\n<ng-template #tmpDefault>\n <div class=\"ind-content\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0\">\n <div class=\"table-box\" *ngIf=\"props?.['indConfig']?.['izIndTable'] == true; else tmpCard\">\n <table>\n <thead>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <th [attr.width]=\"\n f?.key == 'name'\n ? '300px'\n : f?.key == 'desc'\n ? ''\n : '130px'\n \" *ngIf=\"f?.key != 'indScoreEnter' && f?.key != 'indScoreSelect'\">\n <ng-container *ngIf=\"f?.props?.required == true\">\n <label class=\"label-required\">*</label>\n </ng-container>\n {{ f.props?.label }}\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <td *ngIf=\"f?.key != 'indScoreEnter' && f?.key != 'indScoreSelect'\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </td>\n </ng-container>\n </tr>\n <tr>\n <td [attr.colspan]=\"(field?.fieldGroup?.length ?? 0)\">\n <div class=\"ind-assess\">\n <div class=\"assess-nodes\" *ngIf=\"\n props?.['expandInfo'] &&\n props?.['expandInfo']?.length > 0\n \">\n <div class=\"node-title\">\n <label><span nz-icon nzType=\"bars\"></span>\u8BC4\u4F30\u8BB0\u5F55</label>\n </div>\n <div class=\"node-box\" *ngFor=\"let item of props?.['expandInfo']\">\n <label class=\"title\">{{ item?.nodeName }}</label>\n <label class=\"value\">{{ item?.nodeData }}</label>\n </div>\n </div>\n <div class=\"assess-info\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <ng-container *ngIf=\"\n f?.key == 'indScoreEnter' || f?.key == 'indScoreSelect'\n \">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #tmpCard>\n <div class=\"card-ind\">\n <div class=\"ind-info\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\" *ngIf=\"f?.key != 'indScoreEnter' && f?.key != 'indScoreSelect'\"></formly-field>\n </ng-container>\n </div>\n <div class=\"ind-assess\">\n <div class=\"assess-nodes\" *ngIf=\"\n props?.['expandInfo'] && props?.['expandInfo']?.length > 0\n \">\n <div class=\"node-title\">\n <label><span nz-icon nzType=\"bars\"></span>\u8BC4\u4F30\u8BB0\u5F55</label>\n </div>\n <div class=\"node-box\" *ngFor=\"let item of props?.['expandInfo']\">\n <label class=\"title\">{{ item?.nodeName }}</label>\n <label class=\"value\">{{ item?.nodeData }}</label>\n </div>\n </div>\n <div class=\"assess-info\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <ng-container *ngIf=\"f?.key == 'indScoreEnter' || f?.key == 'indScoreSelect'\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host ::ng-deep{width:100%;border:0;border-radius:4px;padding:0;display:flex;flex-direction:column}:host ::ng-deep .ind-finish{padding:8px 15px 6px;border-bottom:1px solid #eaeaea}:host ::ng-deep .ind-finish nz-form-label{width:auto!important;max-width:none!important}:host ::ng-deep .ind-finish nz-form-item{margin-bottom:0!important}:host ::ng-deep .ind-finish nz-input-number{max-width:150px}:host ::ng-deep .ind-content{flex:1;padding:15px 15px 0}:host ::ng-deep .ind-assess{padding:0 15px 0 0;display:flex;flex-direction:column}:host ::ng-deep .ind-assess .assess-nodes{display:flex;flex-direction:row;align-items:center;padding:0;margin:0}:host ::ng-deep .ind-assess .assess-nodes .node-title{display:flex;flex-direction:row;align-items:center;padding:0 20px 0 0}:host ::ng-deep .ind-assess .assess-nodes .node-title label{line-height:normal}:host ::ng-deep .ind-assess .assess-nodes .node-box{display:flex;flex-direction:row;align-items:center;padding:0 15px 0 0}:host ::ng-deep .ind-assess .assess-nodes .node-box label{line-height:normal}:host ::ng-deep .ind-assess .assess-nodes .node-box .title:after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .ind-assess .assess-nodes .node-box .value{font-size:14px;font-weight:600}:host ::ng-deep .ind-assess .assess-info{display:flex;padding:0}:host ::ng-deep .ind-assess .assess-info nz-form-label{width:auto!important;max-width:none!important;padding:0 15px 0 0!important}:host ::ng-deep .ind-assess .assess-info nz-form-item{margin-bottom:0!important}:host ::ng-deep .ind-assess .assess-info nz-input-number{max-width:150px;height:26px;min-height:26px}:host ::ng-deep .ind-assess .assess-info nz-input-number .ant-input-number-input{height:24px;line-height:24px}:host ::ng-deep .ind-assess .assess-nodes+.assess-info{padding:8px 0 0}:host ::ng-deep .table-box{padding:0 0 20px}:host ::ng-deep .table-box table tr th{padding:0 8px}:host ::ng-deep .table-box table tr td{padding:10px 8px;vertical-align:top}:host ::ng-deep .table-box .ant-form-item{margin-bottom:0}:host ::ng-deep .table-box .label-required{color:red;margin-right:2px}:host ::ng-deep .card-ind{padding:10px 15px;border:1px solid #eaeaea;border-radius:4px;margin-bottom:15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
850
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldDimIndicatorAssess, isStandalone: true, selector: "deon-nz-field-indicator-assess", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"props && props['isTable']==true;else tmpDefault\">\n <div class=\"ind-list\">\n <div class=\"ind-item\">\n <ng-container *ngFor=\"let f of field.fieldGroup;let i=index;\">\n\n\n <ng-container *ngIf=\"f?.key!='indScoreSelect' && f?.key!='indScoreEnter';else tmpScore\">\n <div style=\"padding: 0 8px;\"\n [ngStyle]=\"props?.['tableConfig']?.[i]?.widthAuto ? {'flex': '1'} : {'width': props['tableConfig'][i]?.width+'px'}\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </div>\n </ng-container>\n\n <ng-template #tmpScore>\n <ng-container *ngIf=\"props?.['expandInfo'] && props?.['expandInfo']?.length>0\">\n <ng-container *ngFor=\"let item of props?.['expandInfo']\">\n <div style=\"padding: 0 8px; width: 150px;\">{{item?.nodeData}}</div>\n </ng-container>\n </ng-container>\n <div style=\"padding: 0 8px; width: 150px;\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </div>\n </ng-template>\n\n\n </ng-container>\n <ng-container *ngIf=\"props['tableConfig'].length > totalRenderedColumns\">\n <ng-container *ngFor=\"let f of props['tableConfig'].slice(totalRenderedColumns);let j=index;\">\n <div style=\"padding: 0 8px; width: 150px;\">\n <ng-container\n *ngIf=\"totalRenderedColumns==(field?.fieldGroup?.length ?? 0) &&props?.['expandInfo'] && props?.['expandInfo']?.length>j;else tmpEmptyData\">\n {{props?.[\"expandInfo\"]?.[j]?.nodeData}}\n </ng-container>\n <ng-template #tmpEmptyData>---</ng-template>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n</ng-container>\n\n<ng-template #tmpDefault>\n <div class=\"ind-content\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0\">\n <div class=\"table-box\" *ngIf=\"props?.['indConfig']?.['izIndTable'] == true; else tmpCard\">\n <table>\n <thead>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <th [attr.width]=\"\n f?.key == 'name'\n ? '300px'\n : f?.key == 'desc'\n ? ''\n : '130px'\n \" *ngIf=\"f?.key != 'indScoreEnter' && f?.key != 'indScoreSelect'\">\n <ng-container *ngIf=\"f?.props?.required == true\">\n <label class=\"label-required\">*</label>\n </ng-container>\n {{ f.props?.label }}\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <td *ngIf=\"f?.key != 'indScoreEnter' && f?.key != 'indScoreSelect'\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </td>\n </ng-container>\n </tr>\n <tr>\n <td [attr.colspan]=\"(field?.fieldGroup?.length ?? 0)\">\n <div class=\"ind-assess\">\n <div class=\"assess-nodes\" *ngIf=\"\n props?.['expandInfo'] &&\n props?.['expandInfo']?.length > 0\n \">\n <div class=\"node-title\">\n <label><span nz-icon nzType=\"bars\"></span>\u8BC4\u4F30\u8BB0\u5F55</label>\n </div>\n <div class=\"node-box\" *ngFor=\"let item of props?.['expandInfo']\">\n <label class=\"title\">{{ item?.nodeName }}</label>\n <label class=\"value\">{{ item?.nodeData }}</label>\n </div>\n </div>\n <div class=\"assess-info\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <ng-container *ngIf=\"\n f?.key == 'indScoreEnter' || f?.key == 'indScoreSelect'\n \">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #tmpCard>\n <div class=\"card-ind\">\n <div class=\"ind-info\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\" *ngIf=\"f?.key != 'indScoreEnter' && f?.key != 'indScoreSelect'\"></formly-field>\n </ng-container>\n </div>\n <div class=\"ind-assess\">\n <div class=\"assess-nodes\" *ngIf=\"\n props?.['expandInfo'] && props?.['expandInfo']?.length > 0\n \">\n <div class=\"node-title\">\n <label><span nz-icon nzType=\"bars\"></span>\u8BC4\u4F30\u8BB0\u5F55</label>\n </div>\n <div class=\"node-box\" *ngFor=\"let item of props?.['expandInfo']\">\n <label class=\"title\">{{ item?.nodeName }}</label>\n <label class=\"value\">{{ item?.nodeData }}</label>\n </div>\n </div>\n <div class=\"assess-info\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <ng-container *ngIf=\"f?.key == 'indScoreEnter' || f?.key == 'indScoreSelect'\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host ::ng-deep{width:100%;border:0;border-radius:4px;padding:0;display:flex;flex-direction:column}:host ::ng-deep .ind-finish{padding:8px 15px 6px;border-bottom:1px solid #eaeaea}:host ::ng-deep .ind-finish nz-form-label{width:auto!important;max-width:none!important}:host ::ng-deep .ind-finish nz-form-item{margin-bottom:0!important}:host ::ng-deep .ind-finish nz-input-number{max-width:150px}:host ::ng-deep .ind-content{flex:1;padding:15px 15px 0}:host ::ng-deep .ind-assess{padding:0 15px 0 0;display:flex;flex-direction:column}:host ::ng-deep .ind-assess .assess-nodes{display:flex;flex-direction:row;align-items:center;padding:0;margin:0}:host ::ng-deep .ind-assess .assess-nodes .node-title{display:flex;flex-direction:row;align-items:center;padding:0 20px 0 0}:host ::ng-deep .ind-assess .assess-nodes .node-title label{line-height:normal}:host ::ng-deep .ind-assess .assess-nodes .node-box{display:flex;flex-direction:row;align-items:center;padding:0 15px 0 0}:host ::ng-deep .ind-assess .assess-nodes .node-box label{line-height:normal}:host ::ng-deep .ind-assess .assess-nodes .node-box .title:after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .ind-assess .assess-nodes .node-box .value{font-size:14px;font-weight:600}:host ::ng-deep .ind-assess .assess-info{display:flex;padding:0}:host ::ng-deep .ind-assess .assess-info nz-form-label{width:auto!important;max-width:none!important;padding:0 15px 0 0!important}:host ::ng-deep .ind-assess .assess-info nz-form-item{margin-bottom:0!important}:host ::ng-deep .ind-assess .assess-info nz-input-number{max-width:150px;height:26px;min-height:26px}:host ::ng-deep .ind-assess .assess-info nz-input-number .ant-input-number-input{height:24px;line-height:24px}:host ::ng-deep .ind-assess .assess-nodes+.assess-info{padding:8px 0 0}:host ::ng-deep .table-box{padding:0 0 20px}:host ::ng-deep .table-box table tr th{padding:0 8px}:host ::ng-deep .table-box table tr td{padding:10px 8px;vertical-align:top}:host ::ng-deep .table-box .ant-form-item{margin-bottom:0}:host ::ng-deep .table-box .label-required{color:red;margin-right:2px}:host ::ng-deep .card-ind{padding:10px 15px;border:1px solid #eaeaea;border-radius:4px;margin-bottom:15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
874
851
|
}
|
|
875
852
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldDimIndicatorAssess, decorators: [{
|
|
876
853
|
type: Component,
|
|
@@ -883,48 +860,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
883
860
|
], template: "<ng-container *ngIf=\"props && props['isTable']==true;else tmpDefault\">\n <div class=\"ind-list\">\n <div class=\"ind-item\">\n <ng-container *ngFor=\"let f of field.fieldGroup;let i=index;\">\n\n\n <ng-container *ngIf=\"f?.key!='indScoreSelect' && f?.key!='indScoreEnter';else tmpScore\">\n <div style=\"padding: 0 8px;\"\n [ngStyle]=\"props?.['tableConfig']?.[i]?.widthAuto ? {'flex': '1'} : {'width': props['tableConfig'][i]?.width+'px'}\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </div>\n </ng-container>\n\n <ng-template #tmpScore>\n <ng-container *ngIf=\"props?.['expandInfo'] && props?.['expandInfo']?.length>0\">\n <ng-container *ngFor=\"let item of props?.['expandInfo']\">\n <div style=\"padding: 0 8px; width: 150px;\">{{item?.nodeData}}</div>\n </ng-container>\n </ng-container>\n <div style=\"padding: 0 8px; width: 150px;\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </div>\n </ng-template>\n\n\n </ng-container>\n <ng-container *ngIf=\"props['tableConfig'].length > totalRenderedColumns\">\n <ng-container *ngFor=\"let f of props['tableConfig'].slice(totalRenderedColumns);let j=index;\">\n <div style=\"padding: 0 8px; width: 150px;\">\n <ng-container\n *ngIf=\"totalRenderedColumns==(field?.fieldGroup?.length ?? 0) &&props?.['expandInfo'] && props?.['expandInfo']?.length>j;else tmpEmptyData\">\n {{props?.[\"expandInfo\"]?.[j]?.nodeData}}\n </ng-container>\n <ng-template #tmpEmptyData>---</ng-template>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </div>\n</ng-container>\n\n<ng-template #tmpDefault>\n <div class=\"ind-content\">\n <ng-container *ngIf=\"field?.fieldGroup && (field?.fieldGroup?.length ?? 0) > 0\">\n <div class=\"table-box\" *ngIf=\"props?.['indConfig']?.['izIndTable'] == true; else tmpCard\">\n <table>\n <thead>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <th [attr.width]=\"\n f?.key == 'name'\n ? '300px'\n : f?.key == 'desc'\n ? ''\n : '130px'\n \" *ngIf=\"f?.key != 'indScoreEnter' && f?.key != 'indScoreSelect'\">\n <ng-container *ngIf=\"f?.props?.required == true\">\n <label class=\"label-required\">*</label>\n </ng-container>\n {{ f.props?.label }}\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr>\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <td *ngIf=\"f?.key != 'indScoreEnter' && f?.key != 'indScoreSelect'\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\"></formly-field>\n </td>\n </ng-container>\n </tr>\n <tr>\n <td [attr.colspan]=\"(field?.fieldGroup?.length ?? 0)\">\n <div class=\"ind-assess\">\n <div class=\"assess-nodes\" *ngIf=\"\n props?.['expandInfo'] &&\n props?.['expandInfo']?.length > 0\n \">\n <div class=\"node-title\">\n <label><span nz-icon nzType=\"bars\"></span>\u8BC4\u4F30\u8BB0\u5F55</label>\n </div>\n <div class=\"node-box\" *ngFor=\"let item of props?.['expandInfo']\">\n <label class=\"title\">{{ item?.nodeName }}</label>\n <label class=\"value\">{{ item?.nodeData }}</label>\n </div>\n </div>\n <div class=\"assess-info\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <ng-container *ngIf=\"\n f?.key == 'indScoreEnter' || f?.key == 'indScoreSelect'\n \">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #tmpCard>\n <div class=\"card-ind\">\n <div class=\"ind-info\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <formly-field [field]=\"f\" *ngIf=\"f?.key != 'indScoreEnter' && f?.key != 'indScoreSelect'\"></formly-field>\n </ng-container>\n </div>\n <div class=\"ind-assess\">\n <div class=\"assess-nodes\" *ngIf=\"\n props?.['expandInfo'] && props?.['expandInfo']?.length > 0\n \">\n <div class=\"node-title\">\n <label><span nz-icon nzType=\"bars\"></span>\u8BC4\u4F30\u8BB0\u5F55</label>\n </div>\n <div class=\"node-box\" *ngFor=\"let item of props?.['expandInfo']\">\n <label class=\"title\">{{ item?.nodeName }}</label>\n <label class=\"value\">{{ item?.nodeData }}</label>\n </div>\n </div>\n <div class=\"assess-info\">\n <ng-container *ngFor=\"let f of field.fieldGroup\">\n <ng-container *ngIf=\"f?.key == 'indScoreEnter' || f?.key == 'indScoreSelect'\">\n <formly-field [field]=\"f\"></formly-field>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host ::ng-deep{width:100%;border:0;border-radius:4px;padding:0;display:flex;flex-direction:column}:host ::ng-deep .ind-finish{padding:8px 15px 6px;border-bottom:1px solid #eaeaea}:host ::ng-deep .ind-finish nz-form-label{width:auto!important;max-width:none!important}:host ::ng-deep .ind-finish nz-form-item{margin-bottom:0!important}:host ::ng-deep .ind-finish nz-input-number{max-width:150px}:host ::ng-deep .ind-content{flex:1;padding:15px 15px 0}:host ::ng-deep .ind-assess{padding:0 15px 0 0;display:flex;flex-direction:column}:host ::ng-deep .ind-assess .assess-nodes{display:flex;flex-direction:row;align-items:center;padding:0;margin:0}:host ::ng-deep .ind-assess .assess-nodes .node-title{display:flex;flex-direction:row;align-items:center;padding:0 20px 0 0}:host ::ng-deep .ind-assess .assess-nodes .node-title label{line-height:normal}:host ::ng-deep .ind-assess .assess-nodes .node-box{display:flex;flex-direction:row;align-items:center;padding:0 15px 0 0}:host ::ng-deep .ind-assess .assess-nodes .node-box label{line-height:normal}:host ::ng-deep .ind-assess .assess-nodes .node-box .title:after{content:\":\";padding:0 5px 0 3px}:host ::ng-deep .ind-assess .assess-nodes .node-box .value{font-size:14px;font-weight:600}:host ::ng-deep .ind-assess .assess-info{display:flex;padding:0}:host ::ng-deep .ind-assess .assess-info nz-form-label{width:auto!important;max-width:none!important;padding:0 15px 0 0!important}:host ::ng-deep .ind-assess .assess-info nz-form-item{margin-bottom:0!important}:host ::ng-deep .ind-assess .assess-info nz-input-number{max-width:150px;height:26px;min-height:26px}:host ::ng-deep .ind-assess .assess-info nz-input-number .ant-input-number-input{height:24px;line-height:24px}:host ::ng-deep .ind-assess .assess-nodes+.assess-info{padding:8px 0 0}:host ::ng-deep .table-box{padding:0 0 20px}:host ::ng-deep .table-box table tr th{padding:0 8px}:host ::ng-deep .table-box table tr td{padding:10px 8px;vertical-align:top}:host ::ng-deep .table-box .ant-form-item{margin-bottom:0}:host ::ng-deep .table-box .label-required{color:red;margin-right:2px}:host ::ng-deep .card-ind{padding:10px 15px;border:1px solid #eaeaea;border-radius:4px;margin-bottom:15px}\n"] }]
|
|
884
861
|
}], ctorParameters: () => [{ type: i1$5.NzModalService }, { type: i2$1.NzMessageService }, { type: i1$4.GramGlobalService }] });
|
|
885
862
|
|
|
863
|
+
function withFormlyFieldIndicator() {
|
|
864
|
+
return {
|
|
865
|
+
types: [
|
|
866
|
+
{
|
|
867
|
+
name: 'indicator',
|
|
868
|
+
component: DeonNzFieldDimIndicator,
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
name: 'indicator_finish',
|
|
872
|
+
component: DeonNzFieldDimIndicatorFinish,
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
name: 'indicator_assess',
|
|
876
|
+
component: DeonNzFieldDimIndicatorAssess,
|
|
877
|
+
}
|
|
878
|
+
],
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
|
|
886
882
|
class DeonNzDimIndicatorModule {
|
|
887
883
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDimIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
888
884
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDimIndicatorModule, imports: [DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
889
885
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDimIndicatorModule, imports: [DeonNzFormFieldModule,
|
|
890
|
-
FormlyModule.forChild(
|
|
891
|
-
types: [
|
|
892
|
-
{
|
|
893
|
-
name: 'indicator',
|
|
894
|
-
component: DeonNzFieldDimIndicator,
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
name: 'indicator_finish',
|
|
898
|
-
component: DeonNzFieldDimIndicatorFinish,
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
name: 'indicator_assess',
|
|
902
|
-
component: DeonNzFieldDimIndicatorAssess,
|
|
903
|
-
},
|
|
904
|
-
],
|
|
905
|
-
})] });
|
|
886
|
+
FormlyModule.forChild(withFormlyFieldIndicator())] });
|
|
906
887
|
}
|
|
907
888
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzDimIndicatorModule, decorators: [{
|
|
908
889
|
type: NgModule,
|
|
909
890
|
args: [{
|
|
910
891
|
imports: [
|
|
911
892
|
DeonNzFormFieldModule,
|
|
912
|
-
FormlyModule.forChild(
|
|
913
|
-
types: [
|
|
914
|
-
{
|
|
915
|
-
name: 'indicator',
|
|
916
|
-
component: DeonNzFieldDimIndicator,
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
name: 'indicator_finish',
|
|
920
|
-
component: DeonNzFieldDimIndicatorFinish,
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
name: 'indicator_assess',
|
|
924
|
-
component: DeonNzFieldDimIndicatorAssess,
|
|
925
|
-
},
|
|
926
|
-
],
|
|
927
|
-
}),
|
|
893
|
+
FormlyModule.forChild(withFormlyFieldIndicator()),
|
|
928
894
|
],
|
|
929
895
|
}]
|
|
930
896
|
}] });
|
|
@@ -957,7 +923,7 @@ class DeonNzFieldGrid extends FieldType {
|
|
|
957
923
|
</div>
|
|
958
924
|
</ng-container>
|
|
959
925
|
</div>
|
|
960
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: NzGridModule }, { kind: "directive", type: i2$2.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$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
926
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: NzGridModule }, { kind: "directive", type: i2$2.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$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
961
927
|
}
|
|
962
928
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldGrid, decorators: [{
|
|
963
929
|
type: Component,
|
|
@@ -999,6 +965,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
999
965
|
}]
|
|
1000
966
|
}] });
|
|
1001
967
|
|
|
968
|
+
function withFormlyFieldGrid() {
|
|
969
|
+
return {
|
|
970
|
+
types: [
|
|
971
|
+
{
|
|
972
|
+
name: 'grid',
|
|
973
|
+
component: DeonNzFieldGrid,
|
|
974
|
+
}
|
|
975
|
+
],
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
|
|
1002
979
|
class DeonNzGridModule {
|
|
1003
980
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1004
981
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGridModule, imports: [CommonModule,
|
|
@@ -1009,14 +986,7 @@ class DeonNzGridModule {
|
|
|
1009
986
|
ReactiveFormsModule,
|
|
1010
987
|
NzGridModule,
|
|
1011
988
|
DeonNzFormFieldModule,
|
|
1012
|
-
FormlyModule.forChild(
|
|
1013
|
-
types: [
|
|
1014
|
-
{
|
|
1015
|
-
name: 'grid',
|
|
1016
|
-
component: DeonNzFieldGrid,
|
|
1017
|
-
},
|
|
1018
|
-
],
|
|
1019
|
-
})] });
|
|
989
|
+
FormlyModule.forChild(withFormlyFieldGrid())] });
|
|
1020
990
|
}
|
|
1021
991
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGridModule, decorators: [{
|
|
1022
992
|
type: NgModule,
|
|
@@ -1026,14 +996,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1026
996
|
ReactiveFormsModule,
|
|
1027
997
|
NzGridModule,
|
|
1028
998
|
DeonNzFormFieldModule,
|
|
1029
|
-
FormlyModule.forChild(
|
|
1030
|
-
types: [
|
|
1031
|
-
{
|
|
1032
|
-
name: 'grid',
|
|
1033
|
-
component: DeonNzFieldGrid,
|
|
1034
|
-
},
|
|
1035
|
-
],
|
|
1036
|
-
}),
|
|
999
|
+
FormlyModule.forChild(withFormlyFieldGrid()),
|
|
1037
1000
|
],
|
|
1038
1001
|
}]
|
|
1039
1002
|
}] });
|
|
@@ -1056,7 +1019,7 @@ class DeonNzFieldGroup extends FieldType {
|
|
|
1056
1019
|
]"
|
|
1057
1020
|
></formly-field>
|
|
1058
1021
|
<ng-content></ng-content>
|
|
1059
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
1022
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1060
1023
|
}
|
|
1061
1024
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldGroup, decorators: [{
|
|
1062
1025
|
type: Component,
|
|
@@ -1088,6 +1051,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1088
1051
|
}]
|
|
1089
1052
|
}] });
|
|
1090
1053
|
|
|
1054
|
+
function withFormlyFieldGroup() {
|
|
1055
|
+
return {
|
|
1056
|
+
types: [
|
|
1057
|
+
{
|
|
1058
|
+
name: 'group',
|
|
1059
|
+
component: DeonNzFieldGroup,
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
name: 'delon-group',
|
|
1063
|
+
component: DeonNzFieldGroup,
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
};
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1091
1069
|
class DeonNzGroupModule {
|
|
1092
1070
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1093
1071
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGroupModule, imports: [CommonModule,
|
|
@@ -1098,18 +1076,7 @@ class DeonNzGroupModule {
|
|
|
1098
1076
|
ReactiveFormsModule,
|
|
1099
1077
|
NzGridModule,
|
|
1100
1078
|
DeonNzFormFieldModule,
|
|
1101
|
-
FormlyModule.forChild(
|
|
1102
|
-
types: [
|
|
1103
|
-
{
|
|
1104
|
-
name: 'group',
|
|
1105
|
-
component: DeonNzFieldGroup,
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
name: 'delon-group',
|
|
1109
|
-
component: DeonNzFieldGroup,
|
|
1110
|
-
},
|
|
1111
|
-
],
|
|
1112
|
-
})] });
|
|
1079
|
+
FormlyModule.forChild(withFormlyFieldGroup())] });
|
|
1113
1080
|
}
|
|
1114
1081
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGroupModule, decorators: [{
|
|
1115
1082
|
type: NgModule,
|
|
@@ -1119,18 +1086,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1119
1086
|
ReactiveFormsModule,
|
|
1120
1087
|
NzGridModule,
|
|
1121
1088
|
DeonNzFormFieldModule,
|
|
1122
|
-
FormlyModule.forChild(
|
|
1123
|
-
types: [
|
|
1124
|
-
{
|
|
1125
|
-
name: 'group',
|
|
1126
|
-
component: DeonNzFieldGroup,
|
|
1127
|
-
},
|
|
1128
|
-
{
|
|
1129
|
-
name: 'delon-group',
|
|
1130
|
-
component: DeonNzFieldGroup,
|
|
1131
|
-
},
|
|
1132
|
-
],
|
|
1133
|
-
}),
|
|
1089
|
+
FormlyModule.forChild(withFormlyFieldGroup()),
|
|
1134
1090
|
],
|
|
1135
1091
|
}]
|
|
1136
1092
|
}] });
|
|
@@ -1169,6 +1125,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1169
1125
|
}]
|
|
1170
1126
|
}] });
|
|
1171
1127
|
|
|
1128
|
+
function withFormlyFieldHtml() {
|
|
1129
|
+
return {
|
|
1130
|
+
types: [
|
|
1131
|
+
{
|
|
1132
|
+
name: 'html',
|
|
1133
|
+
component: DeonNzFieldHtml,
|
|
1134
|
+
wrappers: ['formly-form-field'],
|
|
1135
|
+
}
|
|
1136
|
+
],
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1172
1140
|
class DeonNzHtmlModule {
|
|
1173
1141
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzHtmlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1174
1142
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzHtmlModule, imports: [CommonModule,
|
|
@@ -1177,15 +1145,7 @@ class DeonNzHtmlModule {
|
|
|
1177
1145
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzHtmlModule, imports: [CommonModule,
|
|
1178
1146
|
ReactiveFormsModule,
|
|
1179
1147
|
DeonNzFormFieldModule,
|
|
1180
|
-
FormlyModule.forChild(
|
|
1181
|
-
types: [
|
|
1182
|
-
{
|
|
1183
|
-
name: 'html',
|
|
1184
|
-
component: DeonNzFieldHtml,
|
|
1185
|
-
wrappers: ['formly-form-field'],
|
|
1186
|
-
},
|
|
1187
|
-
],
|
|
1188
|
-
})] });
|
|
1148
|
+
FormlyModule.forChild(withFormlyFieldHtml())] });
|
|
1189
1149
|
}
|
|
1190
1150
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzHtmlModule, decorators: [{
|
|
1191
1151
|
type: NgModule,
|
|
@@ -1194,15 +1154,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1194
1154
|
CommonModule,
|
|
1195
1155
|
ReactiveFormsModule,
|
|
1196
1156
|
DeonNzFormFieldModule,
|
|
1197
|
-
FormlyModule.forChild(
|
|
1198
|
-
types: [
|
|
1199
|
-
{
|
|
1200
|
-
name: 'html',
|
|
1201
|
-
component: DeonNzFieldHtml,
|
|
1202
|
-
wrappers: ['formly-form-field'],
|
|
1203
|
-
},
|
|
1204
|
-
],
|
|
1205
|
-
}),
|
|
1157
|
+
FormlyModule.forChild(withFormlyFieldHtml()),
|
|
1206
1158
|
],
|
|
1207
1159
|
}]
|
|
1208
1160
|
}] });
|
|
@@ -1278,6 +1230,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1278
1230
|
], template: "<div nz-dropdown [nzDropdownMenu]=\"menu\" class=\"icon-box\" [nzOverlayClassName]=\"'icon-component'\" [nzTrigger]=\"'click'\">\n <span class=\"icon-span\" *ngIf=\"curValue != null && curValue!!; else empty\" [ngClass]=\"curValue\"> </span>\n <span class=\"icon-down\"><i nz-icon nzType=\"down\"></i></span>\n</div>\n<nz-dropdown-menu #menu=\"nzDropdownMenu\">\n <ul nz-menu>\n <li nz-menu-item *ngFor=\"let item of listIcon\" (click)=\"itemClick(item)\">\n <div [ngClass]=\"item\"></div>\n </li>\n </ul>\n</nz-dropdown-menu>\n<ng-template #empty>\n <span class=\"icon-span\"> </span>\n</ng-template>\n", styles: [":host ::ng-deep .icon-box{display:flex;align-items:center;width:60px;height:30px;padding:5px 11px;font-size:12px;line-height:30px;border:1px solid #eaeaea;border-radius:2px;cursor:pointer;background-color:#fff}:host ::ng-deep .icon-span{display:inline-block;font-size:16px;flex:1}:host ::ng-deep .icon-down{margin-left:6px}:host ::ng-deep .color-control{height:32px;border:1px solid #eaeaea;width:60px;background-color:#fff;padding:8px 13px}:host ::ng-deep .color-control div{width:100%;height:15px}\n"] }]
|
|
1279
1231
|
}] });
|
|
1280
1232
|
|
|
1233
|
+
function withFormlyFieldIcon() {
|
|
1234
|
+
return {
|
|
1235
|
+
types: [
|
|
1236
|
+
{
|
|
1237
|
+
name: 'icon',
|
|
1238
|
+
component: DeonNzFieldIcon,
|
|
1239
|
+
wrappers: ['formly-form-field'],
|
|
1240
|
+
}
|
|
1241
|
+
],
|
|
1242
|
+
};
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1281
1245
|
class DeonNzIconModule {
|
|
1282
1246
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1283
1247
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzIconModule, imports: [CommonModule,
|
|
@@ -1294,15 +1258,7 @@ class DeonNzIconModule {
|
|
|
1294
1258
|
NzInputModule,
|
|
1295
1259
|
NzButtonModule,
|
|
1296
1260
|
NzDropDownModule,
|
|
1297
|
-
FormlyModule.forChild(
|
|
1298
|
-
types: [
|
|
1299
|
-
{
|
|
1300
|
-
name: 'icon',
|
|
1301
|
-
component: DeonNzFieldIcon,
|
|
1302
|
-
wrappers: ['formly-form-field'],
|
|
1303
|
-
},
|
|
1304
|
-
],
|
|
1305
|
-
})] });
|
|
1261
|
+
FormlyModule.forChild(withFormlyFieldIcon())] });
|
|
1306
1262
|
}
|
|
1307
1263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzIconModule, decorators: [{
|
|
1308
1264
|
type: NgModule,
|
|
@@ -1315,15 +1271,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1315
1271
|
NzInputModule,
|
|
1316
1272
|
NzButtonModule,
|
|
1317
1273
|
NzDropDownModule,
|
|
1318
|
-
FormlyModule.forChild(
|
|
1319
|
-
types: [
|
|
1320
|
-
{
|
|
1321
|
-
name: 'icon',
|
|
1322
|
-
component: DeonNzFieldIcon,
|
|
1323
|
-
wrappers: ['formly-form-field'],
|
|
1324
|
-
},
|
|
1325
|
-
],
|
|
1326
|
-
}),
|
|
1274
|
+
FormlyModule.forChild(withFormlyFieldIcon()),
|
|
1327
1275
|
],
|
|
1328
1276
|
}]
|
|
1329
1277
|
}] });
|
|
@@ -1349,6 +1297,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1349
1297
|
}]
|
|
1350
1298
|
}] });
|
|
1351
1299
|
|
|
1300
|
+
function withFormlyFieldLabel() {
|
|
1301
|
+
return {
|
|
1302
|
+
types: [
|
|
1303
|
+
{
|
|
1304
|
+
name: 'label',
|
|
1305
|
+
component: DeonNzFieldLabel,
|
|
1306
|
+
}
|
|
1307
|
+
],
|
|
1308
|
+
};
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1352
1311
|
class DeonNzLabelModule {
|
|
1353
1312
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1354
1313
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzLabelModule, imports: [CommonModule,
|
|
@@ -1357,14 +1316,7 @@ class DeonNzLabelModule {
|
|
|
1357
1316
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzLabelModule, imports: [CommonModule,
|
|
1358
1317
|
ReactiveFormsModule,
|
|
1359
1318
|
DeonNzFormFieldModule,
|
|
1360
|
-
FormlyModule.forChild(
|
|
1361
|
-
types: [
|
|
1362
|
-
{
|
|
1363
|
-
name: 'label',
|
|
1364
|
-
component: DeonNzFieldLabel,
|
|
1365
|
-
},
|
|
1366
|
-
],
|
|
1367
|
-
})] });
|
|
1319
|
+
FormlyModule.forChild(withFormlyFieldLabel())] });
|
|
1368
1320
|
}
|
|
1369
1321
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzLabelModule, decorators: [{
|
|
1370
1322
|
type: NgModule,
|
|
@@ -1373,14 +1325,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1373
1325
|
CommonModule,
|
|
1374
1326
|
ReactiveFormsModule,
|
|
1375
1327
|
DeonNzFormFieldModule,
|
|
1376
|
-
FormlyModule.forChild(
|
|
1377
|
-
types: [
|
|
1378
|
-
{
|
|
1379
|
-
name: 'label',
|
|
1380
|
-
component: DeonNzFieldLabel,
|
|
1381
|
-
},
|
|
1382
|
-
],
|
|
1383
|
-
}),
|
|
1328
|
+
FormlyModule.forChild(withFormlyFieldLabel()),
|
|
1384
1329
|
],
|
|
1385
1330
|
}]
|
|
1386
1331
|
}] });
|
|
@@ -1408,6 +1353,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1408
1353
|
}]
|
|
1409
1354
|
}] });
|
|
1410
1355
|
|
|
1356
|
+
function withFormlyFieldLine() {
|
|
1357
|
+
return {
|
|
1358
|
+
types: [
|
|
1359
|
+
{
|
|
1360
|
+
name: 'line',
|
|
1361
|
+
component: DeonNzFieldLine,
|
|
1362
|
+
}
|
|
1363
|
+
],
|
|
1364
|
+
};
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1411
1367
|
class DeonNzLineModule {
|
|
1412
1368
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1413
1369
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzLineModule, imports: [CommonModule,
|
|
@@ -1418,14 +1374,7 @@ class DeonNzLineModule {
|
|
|
1418
1374
|
ReactiveFormsModule,
|
|
1419
1375
|
NzDividerModule,
|
|
1420
1376
|
DeonNzFormFieldModule,
|
|
1421
|
-
FormlyModule.forChild(
|
|
1422
|
-
types: [
|
|
1423
|
-
{
|
|
1424
|
-
name: 'line',
|
|
1425
|
-
component: DeonNzFieldLine,
|
|
1426
|
-
},
|
|
1427
|
-
],
|
|
1428
|
-
})] });
|
|
1377
|
+
FormlyModule.forChild(withFormlyFieldLine())] });
|
|
1429
1378
|
}
|
|
1430
1379
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzLineModule, decorators: [{
|
|
1431
1380
|
type: NgModule,
|
|
@@ -1435,14 +1384,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1435
1384
|
ReactiveFormsModule,
|
|
1436
1385
|
NzDividerModule,
|
|
1437
1386
|
DeonNzFormFieldModule,
|
|
1438
|
-
FormlyModule.forChild(
|
|
1439
|
-
types: [
|
|
1440
|
-
{
|
|
1441
|
-
name: 'line',
|
|
1442
|
-
component: DeonNzFieldLine,
|
|
1443
|
-
},
|
|
1444
|
-
],
|
|
1445
|
-
}),
|
|
1387
|
+
FormlyModule.forChild(withFormlyFieldLine()),
|
|
1446
1388
|
],
|
|
1447
1389
|
}]
|
|
1448
1390
|
}] });
|
|
@@ -1477,6 +1419,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1477
1419
|
}]
|
|
1478
1420
|
}] });
|
|
1479
1421
|
|
|
1422
|
+
function withFormlyFieldList() {
|
|
1423
|
+
return {
|
|
1424
|
+
types: [
|
|
1425
|
+
{
|
|
1426
|
+
name: 'list',
|
|
1427
|
+
component: DeonNzFieldList,
|
|
1428
|
+
}
|
|
1429
|
+
],
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1480
1433
|
class DeonNzListModule {
|
|
1481
1434
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1482
1435
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzListModule, imports: [CommonModule,
|
|
@@ -1487,14 +1440,7 @@ class DeonNzListModule {
|
|
|
1487
1440
|
ReactiveFormsModule,
|
|
1488
1441
|
NzGridModule,
|
|
1489
1442
|
DeonNzFormFieldModule,
|
|
1490
|
-
FormlyModule.forChild(
|
|
1491
|
-
types: [
|
|
1492
|
-
{
|
|
1493
|
-
name: 'list',
|
|
1494
|
-
component: DeonNzFieldList,
|
|
1495
|
-
},
|
|
1496
|
-
],
|
|
1497
|
-
})] });
|
|
1443
|
+
FormlyModule.forChild(withFormlyFieldList())] });
|
|
1498
1444
|
}
|
|
1499
1445
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzListModule, decorators: [{
|
|
1500
1446
|
type: NgModule,
|
|
@@ -1504,14 +1450,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1504
1450
|
ReactiveFormsModule,
|
|
1505
1451
|
NzGridModule,
|
|
1506
1452
|
DeonNzFormFieldModule,
|
|
1507
|
-
FormlyModule.forChild(
|
|
1508
|
-
types: [
|
|
1509
|
-
{
|
|
1510
|
-
name: 'list',
|
|
1511
|
-
component: DeonNzFieldList,
|
|
1512
|
-
},
|
|
1513
|
-
],
|
|
1514
|
-
}),
|
|
1453
|
+
FormlyModule.forChild(withFormlyFieldList()),
|
|
1515
1454
|
],
|
|
1516
1455
|
}]
|
|
1517
1456
|
}] });
|
|
@@ -1586,7 +1525,7 @@ class DeonNzFieldNumber extends FieldType {
|
|
|
1586
1525
|
</ng-container>
|
|
1587
1526
|
|
|
1588
1527
|
<ng-template #tmpPwd> *** </ng-template>
|
|
1589
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "component", type: i3$1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i4$3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
1528
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "component", type: i3$1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i4$3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1590
1529
|
}
|
|
1591
1530
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldNumber, decorators: [{
|
|
1592
1531
|
type: Component,
|
|
@@ -1643,7 +1582,7 @@ class DeonNzFieldNumberRate extends FieldType {
|
|
|
1643
1582
|
}
|
|
1644
1583
|
ngOnInit() { }
|
|
1645
1584
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldNumberRate, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1646
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldNumberRate, isStandalone: true, selector: "deon-nz-field-number", usesInheritance: true, ngImport: i0, template: ` <nz-rate [formControl]="formControl" [formlyAttributes]="field" [nzDisabled]="!editor" [nzAllowClear]="to?.required==true?false:true"> </nz-rate> `, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { 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: "ngmodule", type: NzRateModule }, { kind: "component", type: i2$3.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
1585
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldNumberRate, isStandalone: true, selector: "deon-nz-field-number", usesInheritance: true, ngImport: i0, template: ` <nz-rate [formControl]="formControl" [formlyAttributes]="field" [nzDisabled]="!editor" [nzAllowClear]="to?.required==true?false:true"> </nz-rate> `, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { 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: "ngmodule", type: NzRateModule }, { kind: "component", type: i2$3.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1647
1586
|
}
|
|
1648
1587
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldNumberRate, decorators: [{
|
|
1649
1588
|
type: Component,
|
|
@@ -1659,28 +1598,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1659
1598
|
}]
|
|
1660
1599
|
}], ctorParameters: () => [] });
|
|
1661
1600
|
|
|
1601
|
+
function withFormlyFieldNumber() {
|
|
1602
|
+
return {
|
|
1603
|
+
types: [
|
|
1604
|
+
{
|
|
1605
|
+
name: 'number',
|
|
1606
|
+
component: DeonNzFieldNumber,
|
|
1607
|
+
wrappers: ['formly-form-field'],
|
|
1608
|
+
},
|
|
1609
|
+
{ name: 'eval_number', extends: 'number' },
|
|
1610
|
+
{ name: 'finish_number', extends: 'number' },
|
|
1611
|
+
{
|
|
1612
|
+
name: 'rate_number',
|
|
1613
|
+
component: DeonNzFieldNumberRate,
|
|
1614
|
+
wrappers: ['formly-form-field'],
|
|
1615
|
+
}
|
|
1616
|
+
],
|
|
1617
|
+
};
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1662
1620
|
class DeonNzNumberModule {
|
|
1663
1621
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1664
1622
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzNumberModule, imports: [CommonModule,
|
|
1665
1623
|
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
1666
1624
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzNumberModule, imports: [CommonModule,
|
|
1667
1625
|
DeonNzFormFieldModule,
|
|
1668
|
-
FormlyModule.forChild(
|
|
1669
|
-
types: [
|
|
1670
|
-
{
|
|
1671
|
-
name: 'number',
|
|
1672
|
-
component: DeonNzFieldNumber,
|
|
1673
|
-
wrappers: ['formly-form-field'],
|
|
1674
|
-
},
|
|
1675
|
-
{ name: 'eval_number', extends: 'number' },
|
|
1676
|
-
{ name: 'finish_number', extends: 'number' },
|
|
1677
|
-
{
|
|
1678
|
-
name: 'rate_number',
|
|
1679
|
-
component: DeonNzFieldNumberRate,
|
|
1680
|
-
wrappers: ['formly-form-field'],
|
|
1681
|
-
},
|
|
1682
|
-
],
|
|
1683
|
-
})] });
|
|
1626
|
+
FormlyModule.forChild(withFormlyFieldNumber())] });
|
|
1684
1627
|
}
|
|
1685
1628
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzNumberModule, decorators: [{
|
|
1686
1629
|
type: NgModule,
|
|
@@ -1688,22 +1631,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1688
1631
|
imports: [
|
|
1689
1632
|
CommonModule,
|
|
1690
1633
|
DeonNzFormFieldModule,
|
|
1691
|
-
FormlyModule.forChild(
|
|
1692
|
-
types: [
|
|
1693
|
-
{
|
|
1694
|
-
name: 'number',
|
|
1695
|
-
component: DeonNzFieldNumber,
|
|
1696
|
-
wrappers: ['formly-form-field'],
|
|
1697
|
-
},
|
|
1698
|
-
{ name: 'eval_number', extends: 'number' },
|
|
1699
|
-
{ name: 'finish_number', extends: 'number' },
|
|
1700
|
-
{
|
|
1701
|
-
name: 'rate_number',
|
|
1702
|
-
component: DeonNzFieldNumberRate,
|
|
1703
|
-
wrappers: ['formly-form-field'],
|
|
1704
|
-
},
|
|
1705
|
-
],
|
|
1706
|
-
}),
|
|
1634
|
+
FormlyModule.forChild(withFormlyFieldNumber()),
|
|
1707
1635
|
],
|
|
1708
1636
|
}]
|
|
1709
1637
|
}] });
|
|
@@ -1935,6 +1863,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1935
1863
|
], template: "<ul class=\"first-box\">\n <li>\n <label>\u52A0\u73ED\u65E5\u671F</label>\n <nz-date-picker [(ngModel)]=\"happenValue\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u52A0\u73ED\u65E5\u671F\" [nzDisabled]=\"!pageEditor\"></nz-date-picker>\n </li>\n <li>\n <label>\u5F00\u59CB\u65F6\u95F4</label>\n <nz-date-picker [(ngModel)]=\"beginValue\" nzFormat=\"yyyy-MM-dd HH:mm\" [nzShowTime]=\"{ nzFormat: 'HH:mm' }\"\n nzPlaceHolder=\"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\" [nzDisabled]=\"!pageEditor\"></nz-date-picker>\n </li>\n <li>\n <label>\u7ED3\u675F\u65F6\u95F4</label>\n <nz-date-picker [(ngModel)]=\"endValue\" nzFormat=\"yyyy-MM-dd HH:mm\" [nzShowTime]=\"{ nzFormat: 'HH:mm' }\"\n nzPlaceHolder=\"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4\" [nzDisabled]=\"!pageEditor\"></nz-date-picker>\n </li>\n <li>\n <ng-container *ngIf=\"!props['zeroSplit']\">\n <label>\u52A0\u73ED\u9879\u76EE</label>\n <nz-select [(ngModel)]=\"itemValue\" (ngModelChange)=\"itemChange($event)\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u52A0\u73ED\u9879\u76EE\"\n [nzDisabled]=\"!pageEditor\">\n <ng-container *ngIf=\"props['overtime'] && props['overtime']['itemId']\">\n <ng-container *ngFor=\"let item of props['overtime']['itemId']\">\n <nz-option [nzValue]=\"item.value\" [nzLabel]=\"item.label\"></nz-option>\n </ng-container>\n </ng-container>\n </nz-select>\n </ng-container>\n </li>\n <li>\n <ng-container *ngIf=\"!props['zeroSplit']\">\n <label>\u52A0\u73ED\u65F6\u957F</label>\n <input nz-input [disabled]=\"true\" [(ngModel)]=\"numValue\" />\n </ng-container>\n </li>\n</ul>\n\n<ul class=\"second-box\" *ngIf=\"props['shiftShow'] && !props['zeroSplit']\">\n <li>\n <label>\u73ED\u6B21</label>\n <nz-select [(ngModel)]=\"shiftValue\" (ngModelChange)=\"shiftChange($event)\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u73ED\u6B21\"\n [nzDisabled]=\"!pageEditor\">\n <ng-container *ngIf=\"props['overtime'] && props['overtime']['shiftId']\">\n <ng-container *ngFor=\"let item of props['overtime']['shiftId']\">\n <nz-option [nzValue]=\"item.value\" [nzLabel]=\"item.label\"></nz-option>\n </ng-container>\n </ng-container>\n </nz-select>\n </li>\n <li>\n <label>\u53EF\u7533\u8BF7\u65F6\u95F4\u6BB5</label>\n <nz-select [(ngModel)]=\"shiftPeriodValue\" (ngModelChange)=\"shiftPeriodChange($event)\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u53EF\u7533\u8BF7\u65F6\u95F4\u6BB5\"\n [nzDisabled]=\"!pageEditor\">\n <ng-container *ngIf=\"props['overtime'] && props['overtime']['shiftPeriod']\">\n <ng-container *ngFor=\"let item of props['overtime']['shiftPeriod']\">\n <nz-option [nzValue]=\"item.value\" [nzLabel]=\"item.label\"></nz-option>\n </ng-container>\n </ng-container>\n </nz-select>\n </li>\n <li></li>\n <li></li>\n <li></li>\n</ul>\n\n<div class=\"three-box\" *ngIf=\"props['zeroSplit'] === true\">\n <label class=\"title\">\u96F6\u70B9\u62C6\u5206\u8BE6\u60C5</label>\n <table>\n <thead>\n <tr>\n <th style=\"width: 60px;\">\u5E8F\u53F7</th>\n <th>\u52A0\u73ED\u65E5\u671F</th>\n <th>\u73ED\u6B21</th>\n <th>\u53EF\u7533\u8BF7\u65F6\u95F4\u6BB5</th>\n <th>\u52A0\u73ED\u9879\u76EE</th>\n <th>\u5F00\u59CB\u65F6\u95F4</th>\n <th>\u7ED3\u675F\u65F6\u95F4</th>\n <th>\u52A0\u73ED\u65F6\u957F</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngIf=\"listChildValue && listChildValue.length > 0; else trEmpty\">\n <tr *ngFor=\"let item of listChildValue; let index = index\">\n <td>{{ index + 1 }}</td>\n <td>\n <nz-date-picker [(ngModel)]=\"item.happenData\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u52A0\u73ED\u65E5\u671F\"\n [nzDisabled]=\"!pageEditor\"></nz-date-picker>\n </td>\n <td>\n <nz-select [(ngModel)]=\"item.shiftId\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u73ED\u6B21\" [nzDisabled]=\"!pageEditor\">\n <ng-container\n *ngIf=\"props['overtime'] && props['overtime']['listChild']?.length > index && props['overtime']['listChild'][index]['shiftId']\">\n <ng-container *ngFor=\"let opt of props['overtime']['listChild'][index]['shiftId']\">\n <nz-option [nzValue]=\"opt.value\" [nzLabel]=\"opt.label\"></nz-option>\n </ng-container>\n </ng-container>\n </nz-select>\n </td>\n <td>\n <nz-select [(ngModel)]=\"item.shiftPeriod\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u53EF\u7533\u8BF7\u65F6\u95F4\u6BB5\" [nzDisabled]=\"!pageEditor\">\n <ng-container\n *ngIf=\"props['overtime'] && props['overtime']['listChild']?.length > index && props['overtime']['listChild'][index]['shiftPeriod']\">\n <ng-container *ngFor=\"let opt of props['overtime']['listChild'][index]['shiftPeriod']\">\n <nz-option [nzValue]=\"opt.value\" [nzLabel]=\"opt.label\"></nz-option>\n </ng-container>\n </ng-container>\n </nz-select>\n </td>\n <td>\n <nz-select [(ngModel)]=\"item.itemId\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u52A0\u73ED\u9879\u76EE\" [nzDisabled]=\"!pageEditor\">\n <ng-container\n *ngIf=\"props['overtime'] && props['overtime']['listChild']?.length > index && props['overtime']['listChild'][index]['itemId']\">\n <ng-container *ngFor=\"let opt of props['overtime']['listChild'][index]['itemId']\">\n <nz-option [nzValue]=\"opt.value\" [nzLabel]=\"opt.label\"></nz-option>\n </ng-container>\n </ng-container>\n </nz-select>\n </td>\n <td>\n <nz-date-picker [(ngModel)]=\"item.beginDate\" nzFormat=\"yyyy-MM-dd HH:mm\"\n [nzShowTime]=\"{ nzFormat: 'HH:mm' }\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4\"\n [nzDisabled]=\"!pageEditor\"></nz-date-picker>\n </td>\n <td>\n <nz-date-picker [(ngModel)]=\"item.endDate\" nzFormat=\"yyyy-MM-dd HH:mm\"\n [nzShowTime]=\"{ nzFormat: 'HH:mm' }\" nzPlaceHolder=\"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4\"\n [nzDisabled]=\"!pageEditor\"></nz-date-picker>\n </td>\n <td>\n <input nz-input [disabled]=\"true\" [(ngModel)]=\"item.numValue\" />\n </td>\n </tr>\n </ng-container>\n\n <ng-template #trEmpty>\n <tr>\n <td colspan=\"8\" style=\"text-align: center; padding: 5px;\">\u6682\u65E0\u6570\u636E</td>\n </tr>\n </ng-template>\n </tbody>\n </table>\n</div>", styles: [":host ::ng-deep .first-box,:host ::ng-deep .second-box{display:flex;flex-direction:row;margin:0;padding:0;list-style:none}:host ::ng-deep .first-box li,:host ::ng-deep .second-box li{display:flex;flex:1;flex-direction:column}:host ::ng-deep .first-box li+li,:host ::ng-deep .second-box li+li{margin-left:15px}:host ::ng-deep .second-box{margin-top:15px}:host ::ng-deep .three-box{margin-top:15px}:host ::ng-deep .three-box .title{display:flex;margin-bottom:5px}:host ::ng-deep .three-box table{width:100%;border-top:1px solid #eaeaea;border-right:1px solid #eaeaea}:host ::ng-deep .three-box table tr th{padding:8px;font-weight:400;background:#edeff3;border-bottom:1px solid #eaeaea;border-left:1px solid #eaeaea}:host ::ng-deep .three-box table tr td{padding:6px 8px;border-bottom:1px solid #eaeaea;border-left:1px solid #eaeaea}:host ::ng-deep .three-box table nz-input-number{width:150px}\n"] }]
|
|
1936
1864
|
}] });
|
|
1937
1865
|
|
|
1866
|
+
function withFormlyFieldOverTime() {
|
|
1867
|
+
return {
|
|
1868
|
+
types: [
|
|
1869
|
+
{
|
|
1870
|
+
name: 'overtime',
|
|
1871
|
+
component: DeonNzFieldOverTime,
|
|
1872
|
+
wrappers: ['formly-form-field'],
|
|
1873
|
+
}
|
|
1874
|
+
]
|
|
1875
|
+
};
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1938
1878
|
class DeonNzOverTimeModule {
|
|
1939
1879
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzOverTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1940
1880
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzOverTimeModule, imports: [CommonModule,
|
|
@@ -1951,15 +1891,7 @@ class DeonNzOverTimeModule {
|
|
|
1951
1891
|
NzInputModule,
|
|
1952
1892
|
NzSelectModule,
|
|
1953
1893
|
NzDatePickerModule,
|
|
1954
|
-
FormlyModule.forChild(
|
|
1955
|
-
types: [
|
|
1956
|
-
{
|
|
1957
|
-
name: 'overtime',
|
|
1958
|
-
component: DeonNzFieldOverTime,
|
|
1959
|
-
wrappers: ['formly-form-field'],
|
|
1960
|
-
},
|
|
1961
|
-
],
|
|
1962
|
-
})] });
|
|
1894
|
+
FormlyModule.forChild(withFormlyFieldOverTime())] });
|
|
1963
1895
|
}
|
|
1964
1896
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzOverTimeModule, decorators: [{
|
|
1965
1897
|
type: NgModule,
|
|
@@ -1972,15 +1904,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1972
1904
|
NzInputModule,
|
|
1973
1905
|
NzSelectModule,
|
|
1974
1906
|
NzDatePickerModule,
|
|
1975
|
-
FormlyModule.forChild(
|
|
1976
|
-
types: [
|
|
1977
|
-
{
|
|
1978
|
-
name: 'overtime',
|
|
1979
|
-
component: DeonNzFieldOverTime,
|
|
1980
|
-
wrappers: ['formly-form-field'],
|
|
1981
|
-
},
|
|
1982
|
-
],
|
|
1983
|
-
}),
|
|
1907
|
+
FormlyModule.forChild(withFormlyFieldOverTime()),
|
|
1984
1908
|
],
|
|
1985
1909
|
schemas: [NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA],
|
|
1986
1910
|
}]
|
|
@@ -2014,7 +1938,7 @@ class DeonNzFieldPanel extends FieldType {
|
|
|
2014
1938
|
<div class="field-box ">暂无字段</div>
|
|
2015
1939
|
</ng-template>
|
|
2016
1940
|
</div>
|
|
2017
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
1941
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2018
1942
|
}
|
|
2019
1943
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldPanel, decorators: [{
|
|
2020
1944
|
type: Component,
|
|
@@ -2048,6 +1972,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2048
1972
|
}]
|
|
2049
1973
|
}] });
|
|
2050
1974
|
|
|
1975
|
+
function withFormlyFieldPanel() {
|
|
1976
|
+
return {
|
|
1977
|
+
types: [
|
|
1978
|
+
{
|
|
1979
|
+
name: 'panel',
|
|
1980
|
+
component: DeonNzFieldPanel,
|
|
1981
|
+
}
|
|
1982
|
+
]
|
|
1983
|
+
};
|
|
1984
|
+
}
|
|
1985
|
+
|
|
2051
1986
|
class DeonNzPanelModule {
|
|
2052
1987
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2053
1988
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzPanelModule, imports: [CommonModule,
|
|
@@ -2058,14 +1993,7 @@ class DeonNzPanelModule {
|
|
|
2058
1993
|
ReactiveFormsModule,
|
|
2059
1994
|
NzGridModule,
|
|
2060
1995
|
DeonNzFormFieldModule,
|
|
2061
|
-
FormlyModule.forChild(
|
|
2062
|
-
types: [
|
|
2063
|
-
{
|
|
2064
|
-
name: 'panel',
|
|
2065
|
-
component: DeonNzFieldPanel,
|
|
2066
|
-
},
|
|
2067
|
-
],
|
|
2068
|
-
})] });
|
|
1996
|
+
FormlyModule.forChild(withFormlyFieldPanel())] });
|
|
2069
1997
|
}
|
|
2070
1998
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzPanelModule, decorators: [{
|
|
2071
1999
|
type: NgModule,
|
|
@@ -2075,14 +2003,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2075
2003
|
ReactiveFormsModule,
|
|
2076
2004
|
NzGridModule,
|
|
2077
2005
|
DeonNzFormFieldModule,
|
|
2078
|
-
FormlyModule.forChild(
|
|
2079
|
-
types: [
|
|
2080
|
-
{
|
|
2081
|
-
name: 'panel',
|
|
2082
|
-
component: DeonNzFieldPanel,
|
|
2083
|
-
},
|
|
2084
|
-
],
|
|
2085
|
-
}),
|
|
2006
|
+
FormlyModule.forChild(withFormlyFieldPanel()),
|
|
2086
2007
|
],
|
|
2087
2008
|
}]
|
|
2088
2009
|
}] });
|
|
@@ -2092,7 +2013,7 @@ class DeonNzFieldRadio extends FieldType {
|
|
|
2092
2013
|
props: { options: [] },
|
|
2093
2014
|
};
|
|
2094
2015
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2095
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldRadio, isStandalone: true, selector: "deon-nz-field-radio", usesInheritance: true, ngImport: i0, template: ` <label nz-radio [formControl]="formControl" [formlyAttributes]="field"></label> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i4$4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
2016
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldRadio, isStandalone: true, selector: "deon-nz-field-radio", usesInheritance: true, ngImport: i0, template: ` <label nz-radio [formControl]="formControl" [formlyAttributes]="field"></label> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i4$4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2096
2017
|
}
|
|
2097
2018
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldRadio, decorators: [{
|
|
2098
2019
|
type: Component,
|
|
@@ -2110,34 +2031,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2110
2031
|
}]
|
|
2111
2032
|
}] });
|
|
2112
2033
|
|
|
2034
|
+
function withFormlyFieldRadio() {
|
|
2035
|
+
return {
|
|
2036
|
+
types: [
|
|
2037
|
+
{
|
|
2038
|
+
name: 'radio',
|
|
2039
|
+
component: DeonNzFieldRadio,
|
|
2040
|
+
wrappers: ['formly-form-field'],
|
|
2041
|
+
}
|
|
2042
|
+
]
|
|
2043
|
+
};
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2113
2046
|
class DeonNzRadioModule {
|
|
2114
2047
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2115
2048
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRadioModule, imports: [CommonModule, i1$1.FormlyModule] });
|
|
2116
2049
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRadioModule, imports: [CommonModule,
|
|
2117
|
-
FormlyModule.forChild(
|
|
2118
|
-
types: [
|
|
2119
|
-
{
|
|
2120
|
-
name: 'radio',
|
|
2121
|
-
component: DeonNzFieldRadio,
|
|
2122
|
-
wrappers: ['formly-form-field'],
|
|
2123
|
-
},
|
|
2124
|
-
],
|
|
2125
|
-
})] });
|
|
2050
|
+
FormlyModule.forChild(withFormlyFieldRadio())] });
|
|
2126
2051
|
}
|
|
2127
2052
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRadioModule, decorators: [{
|
|
2128
2053
|
type: NgModule,
|
|
2129
2054
|
args: [{
|
|
2130
2055
|
imports: [
|
|
2131
2056
|
CommonModule,
|
|
2132
|
-
FormlyModule.forChild(
|
|
2133
|
-
types: [
|
|
2134
|
-
{
|
|
2135
|
-
name: 'radio',
|
|
2136
|
-
component: DeonNzFieldRadio,
|
|
2137
|
-
wrappers: ['formly-form-field'],
|
|
2138
|
-
},
|
|
2139
|
-
],
|
|
2140
|
-
}),
|
|
2057
|
+
FormlyModule.forChild(withFormlyFieldRadio()),
|
|
2141
2058
|
],
|
|
2142
2059
|
}]
|
|
2143
2060
|
}] });
|
|
@@ -2230,34 +2147,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2230
2147
|
}]
|
|
2231
2148
|
}], ctorParameters: () => [{ type: i1$4.GramGlobalService }] });
|
|
2232
2149
|
|
|
2150
|
+
function withFormlyFieldRadioGroup() {
|
|
2151
|
+
return {
|
|
2152
|
+
types: [
|
|
2153
|
+
{
|
|
2154
|
+
name: 'radiogroup',
|
|
2155
|
+
component: DeonNzFieldRadioGroup,
|
|
2156
|
+
wrappers: ['formly-form-field'],
|
|
2157
|
+
}
|
|
2158
|
+
]
|
|
2159
|
+
};
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2233
2162
|
class DeonNzRadioGroupModule {
|
|
2234
2163
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRadioGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2235
2164
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRadioGroupModule, imports: [CommonModule, i1$1.FormlyModule] });
|
|
2236
2165
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRadioGroupModule, imports: [CommonModule,
|
|
2237
|
-
FormlyModule.forChild(
|
|
2238
|
-
types: [
|
|
2239
|
-
{
|
|
2240
|
-
name: 'radiogroup',
|
|
2241
|
-
component: DeonNzFieldRadioGroup,
|
|
2242
|
-
wrappers: ['formly-form-field'],
|
|
2243
|
-
},
|
|
2244
|
-
],
|
|
2245
|
-
})] });
|
|
2166
|
+
FormlyModule.forChild(withFormlyFieldRadioGroup())] });
|
|
2246
2167
|
}
|
|
2247
2168
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRadioGroupModule, decorators: [{
|
|
2248
2169
|
type: NgModule,
|
|
2249
2170
|
args: [{
|
|
2250
2171
|
imports: [
|
|
2251
2172
|
CommonModule,
|
|
2252
|
-
FormlyModule.forChild(
|
|
2253
|
-
types: [
|
|
2254
|
-
{
|
|
2255
|
-
name: 'radiogroup',
|
|
2256
|
-
component: DeonNzFieldRadioGroup,
|
|
2257
|
-
wrappers: ['formly-form-field'],
|
|
2258
|
-
},
|
|
2259
|
-
],
|
|
2260
|
-
}),
|
|
2173
|
+
FormlyModule.forChild(withFormlyFieldRadioGroup()),
|
|
2261
2174
|
],
|
|
2262
2175
|
}]
|
|
2263
2176
|
}] });
|
|
@@ -2274,7 +2187,7 @@ class DeonNzFieldReform extends FieldType {
|
|
|
2274
2187
|
<ng-content></ng-content>
|
|
2275
2188
|
</ng-container>
|
|
2276
2189
|
</ng-container>
|
|
2277
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
2190
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2278
2191
|
}
|
|
2279
2192
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldReform, decorators: [{
|
|
2280
2193
|
type: Component,
|
|
@@ -2298,6 +2211,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2298
2211
|
}]
|
|
2299
2212
|
}] });
|
|
2300
2213
|
|
|
2214
|
+
function withFormlyFieldReform() {
|
|
2215
|
+
return {
|
|
2216
|
+
types: [
|
|
2217
|
+
{
|
|
2218
|
+
name: 'reform',
|
|
2219
|
+
component: DeonNzFieldReform,
|
|
2220
|
+
}
|
|
2221
|
+
]
|
|
2222
|
+
};
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2301
2225
|
class DeonNzReformModule {
|
|
2302
2226
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzReformModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2303
2227
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzReformModule, imports: [CommonModule,
|
|
@@ -2308,14 +2232,7 @@ class DeonNzReformModule {
|
|
|
2308
2232
|
ReactiveFormsModule,
|
|
2309
2233
|
NzGridModule,
|
|
2310
2234
|
DeonNzFormFieldModule,
|
|
2311
|
-
FormlyModule.forChild(
|
|
2312
|
-
types: [
|
|
2313
|
-
{
|
|
2314
|
-
name: 'reform',
|
|
2315
|
-
component: DeonNzFieldReform,
|
|
2316
|
-
},
|
|
2317
|
-
],
|
|
2318
|
-
})] });
|
|
2235
|
+
FormlyModule.forChild(withFormlyFieldReform())] });
|
|
2319
2236
|
}
|
|
2320
2237
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzReformModule, decorators: [{
|
|
2321
2238
|
type: NgModule,
|
|
@@ -2325,14 +2242,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2325
2242
|
ReactiveFormsModule,
|
|
2326
2243
|
NzGridModule,
|
|
2327
2244
|
DeonNzFormFieldModule,
|
|
2328
|
-
FormlyModule.forChild(
|
|
2329
|
-
types: [
|
|
2330
|
-
{
|
|
2331
|
-
name: 'reform',
|
|
2332
|
-
component: DeonNzFieldReform,
|
|
2333
|
-
},
|
|
2334
|
-
],
|
|
2335
|
-
}),
|
|
2245
|
+
FormlyModule.forChild(withFormlyFieldReform()),
|
|
2336
2246
|
],
|
|
2337
2247
|
}]
|
|
2338
2248
|
}] });
|
|
@@ -2433,7 +2343,7 @@ class DeonNzFieldRepeat extends FieldArrayType {
|
|
|
2433
2343
|
return true;
|
|
2434
2344
|
}
|
|
2435
2345
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldRepeat, deps: [{ token: i1$4.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2436
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldRepeat, isStandalone: true, selector: "deon-nz-field-repeat", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"repeat-label\" *ngIf=\"props && props['hideLabel']!=false && props?.label\">{{props?.label}}</div>\n<div class=\"repeat-table\" [ngClass]=\"clasName\">\n <table>\n <thead>\n <tr>\n <th style=\"width: 50px\">\u5E8F\u53F7</th>\n <ng-container *ngFor=\"let headerField of field?.fieldArray['fieldGroup']\">\n <ng-container *ngIf=\"headerField?.type=='deon-group' && headerField?.hide!=true;else tmpField\">\n <ng-container *ngFor=\"let item of headerField.fieldGroup\">\n <th *ngIf=\"item?.hide!=true\">\n <ng-container *ngIf=\"item && item?.props!==undefined && item?.props!==null\">\n <span style=\"color: red\" *ngIf=\"item?.props?.required\" class=\"required\"></span>\n {{item.props.label }}\n </ng-container>\n </th>\n </ng-container>\n </ng-container>\n <ng-template #tmpField>\n <th *ngIf=\"headerField?.hide!=true &&(headerField?.type!=='line' && headerField?.type!=='htmlcontent')\">\n <ng-container *ngIf=\"headerField && headerField?.props!==undefined && headerField?.props!==null\">\n <span style=\"color: red\" *ngIf=\"headerField?.props?.required\" class=\"required\"></span>\n {{ headerField.props.label }}\n </ng-container>\n </th>\n </ng-template>\n </ng-container>\n <th style=\"width: 60px\" *ngIf=\"isRemove || operationShow\">\n <span class=\"\">\u64CD\u4F5C</span>\n </th>\n </tr>\n </thead>\n <tbody cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <ng-container\n *ngIf=\"field?.fieldGroup!==undefined && field?.fieldGroup!==null && (field?.fieldGroup?.length ?? 0) > 0;else cardEmpty\">\n <tr *ngFor=\"let fields of field.fieldGroup; let i = index\" cdkDrag [cdkDragDisabled]=\"dragDisabled\">\n <td>\n <span class=\"serial\">{{ i + 1 }}</span>\n </td>\n <ng-container *ngFor=\"let f of fields.fieldGroup\">\n <ng-container *ngIf=\"f?.type=='deon-group' && f?.hide!=true;else tmpTd\">\n <ng-container *ngFor=\"let item of f.fieldGroup\">\n <td *ngIf=\"item?.hide!=true\">\n <formly-field [field]=\"item\" [hideLabel]=\"true\"></formly-field>\n <ng-content></ng-content>\n </td>\n </ng-container>\n </ng-container>\n <ng-template #tmpTd>\n <td\n *ngIf=\"f && f?.type!==undefined && f?.type!==null && f?.hide!=true &&(f?.type!=='line' && f?.type!=='htmlcontent')\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\" [editor]=\"fieldEditor(f,i,model)\"></formly-field>\n <ng-content></ng-content>\n </td>\n </ng-template>\n </ng-container>\n <td style=\"text-align: center\" *ngIf=\"isRemove || operationShow\">\n <ng-container *ngIf=\"props && props['operation'] && props['operation'].length>0\">\n <ng-container *ngFor=\"let o of props['operation']\">\n <a nz-tooltip [nzTooltipTitle]=\"o.label\" (click)=\"rowOperation(o,i)\"><i nz-icon\n [nzType]=\"o.icon\"></i></a>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"isRemove && (model==null || model[i]?.builtin!=true)\">\n <a nz-tooltip nzTooltipTitle=\"\u5220\u9664\" *ngIf=\"checkDelete(i)\" (click)=\"rowDelete(i)\"><i nz-icon\n nzType=\"delete\"></i></a>\n </ng-container>\n </td>\n </tr>\n <tr *ngIf=\"(isAdd==true || props['add']==true) || props['viewRange']==true\" class=\"trBtnAdd\">\n <td [attr.colspan]=\"colSpan\">\n <ng-container *ngIf=\"isAdd==true && (props['add']==undefined || props['add']==null || props['add']==true)\">\n <a nz-button nzType=\"link\" (click)=\"addData()\">+\u6DFB\u52A0</a>\n </ng-container>\n </td>\n </tr>\n </ng-container>\n <ng-template #cardEmpty>\n <tr>\n <td [attr.colspan]=\"colSpan\" style=\"text-align: center\">\n <gram-empty></gram-empty>\n </td>\n </tr>\n <tr *ngIf=\"isAdd && (props['add']==undefined || props['add']==null || props['add']==true)\" class=\"trBtnAdd\">\n <td [attr.colspan]=\"colSpan\">\n <a nz-button nzType=\"link\" (click)=\"addData()\">+\u6DFB\u52A0</a>\n </td>\n </tr>\n </ng-template>\n </tbody>\n </table>\n</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzToolTipModule }, { kind: "directive", type: i3$4.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i6.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i6.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
2346
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldRepeat, isStandalone: true, selector: "deon-nz-field-repeat", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"repeat-label\" *ngIf=\"props && props['hideLabel']!=false && props?.label\">{{props?.label}}</div>\n<div class=\"repeat-table\" [ngClass]=\"clasName\">\n <table>\n <thead>\n <tr>\n <th style=\"width: 50px\">\u5E8F\u53F7</th>\n <ng-container *ngFor=\"let headerField of field?.fieldArray['fieldGroup']\">\n <ng-container *ngIf=\"headerField?.type=='deon-group' && headerField?.hide!=true;else tmpField\">\n <ng-container *ngFor=\"let item of headerField.fieldGroup\">\n <th *ngIf=\"item?.hide!=true\">\n <ng-container *ngIf=\"item && item?.props!==undefined && item?.props!==null\">\n <span style=\"color: red\" *ngIf=\"item?.props?.required\" class=\"required\"></span>\n {{item.props.label }}\n </ng-container>\n </th>\n </ng-container>\n </ng-container>\n <ng-template #tmpField>\n <th *ngIf=\"headerField?.hide!=true &&(headerField?.type!=='line' && headerField?.type!=='htmlcontent')\">\n <ng-container *ngIf=\"headerField && headerField?.props!==undefined && headerField?.props!==null\">\n <span style=\"color: red\" *ngIf=\"headerField?.props?.required\" class=\"required\"></span>\n {{ headerField.props.label }}\n </ng-container>\n </th>\n </ng-template>\n </ng-container>\n <th style=\"width: 60px\" *ngIf=\"isRemove || operationShow\">\n <span class=\"\">\u64CD\u4F5C</span>\n </th>\n </tr>\n </thead>\n <tbody cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <ng-container\n *ngIf=\"field?.fieldGroup!==undefined && field?.fieldGroup!==null && (field?.fieldGroup?.length ?? 0) > 0;else cardEmpty\">\n <tr *ngFor=\"let fields of field.fieldGroup; let i = index\" cdkDrag [cdkDragDisabled]=\"dragDisabled\">\n <td>\n <span class=\"serial\">{{ i + 1 }}</span>\n </td>\n <ng-container *ngFor=\"let f of fields.fieldGroup\">\n <ng-container *ngIf=\"f?.type=='deon-group' && f?.hide!=true;else tmpTd\">\n <ng-container *ngFor=\"let item of f.fieldGroup\">\n <td *ngIf=\"item?.hide!=true\">\n <formly-field [field]=\"item\" [hideLabel]=\"true\"></formly-field>\n <ng-content></ng-content>\n </td>\n </ng-container>\n </ng-container>\n <ng-template #tmpTd>\n <td\n *ngIf=\"f && f?.type!==undefined && f?.type!==null && f?.hide!=true &&(f?.type!=='line' && f?.type!=='htmlcontent')\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\" [editor]=\"fieldEditor(f,i,model)\"></formly-field>\n <ng-content></ng-content>\n </td>\n </ng-template>\n </ng-container>\n <td style=\"text-align: center\" *ngIf=\"isRemove || operationShow\">\n <ng-container *ngIf=\"props && props['operation'] && props['operation'].length>0\">\n <ng-container *ngFor=\"let o of props['operation']\">\n <a nz-tooltip [nzTooltipTitle]=\"o.label\" (click)=\"rowOperation(o,i)\"><i nz-icon\n [nzType]=\"o.icon\"></i></a>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"isRemove && (model==null || model[i]?.builtin!=true)\">\n <a nz-tooltip nzTooltipTitle=\"\u5220\u9664\" *ngIf=\"checkDelete(i)\" (click)=\"rowDelete(i)\"><i nz-icon\n nzType=\"delete\"></i></a>\n </ng-container>\n </td>\n </tr>\n <tr *ngIf=\"(isAdd==true || props['add']==true) || props['viewRange']==true\" class=\"trBtnAdd\">\n <td [attr.colspan]=\"colSpan\">\n <ng-container *ngIf=\"isAdd==true && (props['add']==undefined || props['add']==null || props['add']==true)\">\n <a nz-button nzType=\"link\" (click)=\"addData()\">+\u6DFB\u52A0</a>\n </ng-container>\n </td>\n </tr>\n </ng-container>\n <ng-template #cardEmpty>\n <tr>\n <td [attr.colspan]=\"colSpan\" style=\"text-align: center\">\n <gram-empty></gram-empty>\n </td>\n </tr>\n <tr *ngIf=\"isAdd && (props['add']==undefined || props['add']==null || props['add']==true)\" class=\"trBtnAdd\">\n <td [attr.colspan]=\"colSpan\">\n <a nz-button nzType=\"link\" (click)=\"addData()\">+\u6DFB\u52A0</a>\n </td>\n </tr>\n </ng-template>\n </tbody>\n </table>\n</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzToolTipModule }, { kind: "directive", type: i3$4.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i6.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i6.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }, { kind: "ngmodule", type: GramDeonEmptyModule }, { kind: "component", type: i9.BaseEmptyComponent, selector: "gram-empty", inputs: ["desc", "state"], outputs: ["emptyClick"] }] });
|
|
2437
2347
|
}
|
|
2438
2348
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldRepeat, decorators: [{
|
|
2439
2349
|
type: Component,
|
|
@@ -2450,6 +2360,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2450
2360
|
], template: "<div class=\"repeat-label\" *ngIf=\"props && props['hideLabel']!=false && props?.label\">{{props?.label}}</div>\n<div class=\"repeat-table\" [ngClass]=\"clasName\">\n <table>\n <thead>\n <tr>\n <th style=\"width: 50px\">\u5E8F\u53F7</th>\n <ng-container *ngFor=\"let headerField of field?.fieldArray['fieldGroup']\">\n <ng-container *ngIf=\"headerField?.type=='deon-group' && headerField?.hide!=true;else tmpField\">\n <ng-container *ngFor=\"let item of headerField.fieldGroup\">\n <th *ngIf=\"item?.hide!=true\">\n <ng-container *ngIf=\"item && item?.props!==undefined && item?.props!==null\">\n <span style=\"color: red\" *ngIf=\"item?.props?.required\" class=\"required\"></span>\n {{item.props.label }}\n </ng-container>\n </th>\n </ng-container>\n </ng-container>\n <ng-template #tmpField>\n <th *ngIf=\"headerField?.hide!=true &&(headerField?.type!=='line' && headerField?.type!=='htmlcontent')\">\n <ng-container *ngIf=\"headerField && headerField?.props!==undefined && headerField?.props!==null\">\n <span style=\"color: red\" *ngIf=\"headerField?.props?.required\" class=\"required\"></span>\n {{ headerField.props.label }}\n </ng-container>\n </th>\n </ng-template>\n </ng-container>\n <th style=\"width: 60px\" *ngIf=\"isRemove || operationShow\">\n <span class=\"\">\u64CD\u4F5C</span>\n </th>\n </tr>\n </thead>\n <tbody cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <ng-container\n *ngIf=\"field?.fieldGroup!==undefined && field?.fieldGroup!==null && (field?.fieldGroup?.length ?? 0) > 0;else cardEmpty\">\n <tr *ngFor=\"let fields of field.fieldGroup; let i = index\" cdkDrag [cdkDragDisabled]=\"dragDisabled\">\n <td>\n <span class=\"serial\">{{ i + 1 }}</span>\n </td>\n <ng-container *ngFor=\"let f of fields.fieldGroup\">\n <ng-container *ngIf=\"f?.type=='deon-group' && f?.hide!=true;else tmpTd\">\n <ng-container *ngFor=\"let item of f.fieldGroup\">\n <td *ngIf=\"item?.hide!=true\">\n <formly-field [field]=\"item\" [hideLabel]=\"true\"></formly-field>\n <ng-content></ng-content>\n </td>\n </ng-container>\n </ng-container>\n <ng-template #tmpTd>\n <td\n *ngIf=\"f && f?.type!==undefined && f?.type!==null && f?.hide!=true &&(f?.type!=='line' && f?.type!=='htmlcontent')\">\n <formly-field [field]=\"f\" [hideLabel]=\"true\" [editor]=\"fieldEditor(f,i,model)\"></formly-field>\n <ng-content></ng-content>\n </td>\n </ng-template>\n </ng-container>\n <td style=\"text-align: center\" *ngIf=\"isRemove || operationShow\">\n <ng-container *ngIf=\"props && props['operation'] && props['operation'].length>0\">\n <ng-container *ngFor=\"let o of props['operation']\">\n <a nz-tooltip [nzTooltipTitle]=\"o.label\" (click)=\"rowOperation(o,i)\"><i nz-icon\n [nzType]=\"o.icon\"></i></a>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"isRemove && (model==null || model[i]?.builtin!=true)\">\n <a nz-tooltip nzTooltipTitle=\"\u5220\u9664\" *ngIf=\"checkDelete(i)\" (click)=\"rowDelete(i)\"><i nz-icon\n nzType=\"delete\"></i></a>\n </ng-container>\n </td>\n </tr>\n <tr *ngIf=\"(isAdd==true || props['add']==true) || props['viewRange']==true\" class=\"trBtnAdd\">\n <td [attr.colspan]=\"colSpan\">\n <ng-container *ngIf=\"isAdd==true && (props['add']==undefined || props['add']==null || props['add']==true)\">\n <a nz-button nzType=\"link\" (click)=\"addData()\">+\u6DFB\u52A0</a>\n </ng-container>\n </td>\n </tr>\n </ng-container>\n <ng-template #cardEmpty>\n <tr>\n <td [attr.colspan]=\"colSpan\" style=\"text-align: center\">\n <gram-empty></gram-empty>\n </td>\n </tr>\n <tr *ngIf=\"isAdd && (props['add']==undefined || props['add']==null || props['add']==true)\" class=\"trBtnAdd\">\n <td [attr.colspan]=\"colSpan\">\n <a nz-button nzType=\"link\" (click)=\"addData()\">+\u6DFB\u52A0</a>\n </td>\n </tr>\n </ng-template>\n </tbody>\n </table>\n</div>" }]
|
|
2451
2361
|
}], ctorParameters: () => [{ type: i1$4.GramGlobalService }] });
|
|
2452
2362
|
|
|
2363
|
+
function withFormlyFieldRepeat() {
|
|
2364
|
+
return {
|
|
2365
|
+
types: [
|
|
2366
|
+
{
|
|
2367
|
+
name: 'repeat',
|
|
2368
|
+
component: DeonNzFieldRepeat,
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
name: 'children',
|
|
2372
|
+
component: DeonNzFieldRepeat,
|
|
2373
|
+
}
|
|
2374
|
+
]
|
|
2375
|
+
};
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2453
2378
|
class DeonNzRepeatModule {
|
|
2454
2379
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRepeatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2455
2380
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRepeatModule, imports: [CommonModule,
|
|
@@ -2472,18 +2397,7 @@ class DeonNzRepeatModule {
|
|
|
2472
2397
|
NzToolTipModule,
|
|
2473
2398
|
DeonNzFormFieldModule,
|
|
2474
2399
|
DragDropModule,
|
|
2475
|
-
FormlyModule.forChild(
|
|
2476
|
-
types: [
|
|
2477
|
-
{
|
|
2478
|
-
name: 'repeat',
|
|
2479
|
-
component: DeonNzFieldRepeat,
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
name: 'children',
|
|
2483
|
-
component: DeonNzFieldRepeat,
|
|
2484
|
-
},
|
|
2485
|
-
],
|
|
2486
|
-
})] });
|
|
2400
|
+
FormlyModule.forChild(withFormlyFieldRepeat())] });
|
|
2487
2401
|
}
|
|
2488
2402
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRepeatModule, decorators: [{
|
|
2489
2403
|
type: NgModule,
|
|
@@ -2499,18 +2413,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2499
2413
|
NzToolTipModule,
|
|
2500
2414
|
DeonNzFormFieldModule,
|
|
2501
2415
|
DragDropModule,
|
|
2502
|
-
FormlyModule.forChild(
|
|
2503
|
-
types: [
|
|
2504
|
-
{
|
|
2505
|
-
name: 'repeat',
|
|
2506
|
-
component: DeonNzFieldRepeat,
|
|
2507
|
-
},
|
|
2508
|
-
{
|
|
2509
|
-
name: 'children',
|
|
2510
|
-
component: DeonNzFieldRepeat,
|
|
2511
|
-
},
|
|
2512
|
-
],
|
|
2513
|
-
}),
|
|
2416
|
+
FormlyModule.forChild(withFormlyFieldRepeat()),
|
|
2514
2417
|
],
|
|
2515
2418
|
}]
|
|
2516
2419
|
}] });
|
|
@@ -2611,7 +2514,7 @@ class DeonNzFieldRepeatCard extends FieldArrayType {
|
|
|
2611
2514
|
return true;
|
|
2612
2515
|
}
|
|
2613
2516
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldRepeatCard, deps: [{ token: i1$4.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2614
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldRepeatCard, isStandalone: true, selector: "deon-nz-field-repeat-card", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"repeat-card\" [ngClass]=\"clasName\">\n <ng-container *ngIf=\"props && props.label\">\n <div class=\"card-label\">{{props.label}}</div>\n </ng-container>\n <ng-container\n *ngIf=\"field.fieldGroup!==undefined && field.fieldGroup!==null && field.fieldGroup.length>0;else cardEmpty\">\n <ng-container *ngFor=\"let fields of field.fieldGroup; let i = index\">\n <div class=\"card-header\">\n <div class=\"serial\">\u5E8F\u53F7\uFF1A{{ i + 1 }}</div>\n <div calss=\"delete\">\n <ng-container *ngIf=\"editor!=false\">\n <a nz-tooltip nzTooltipTitle=\"\u5220\u9664\" *ngIf=\"checkDelete(i)\" (click)=\"rowDelete(i)\"><i nz-icon\n nzType=\"delete\"></i></a>\n </ng-container>\n </div>\n </div>\n <div class=\"card-body\">\n <ng-container *ngFor=\"let item of fields.fieldGroup\">\n <formly-field [field]=\"item\"></formly-field>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #cardEmpty>\n <gram-empty></gram-empty>\n <ng-container *ngIf=\"editor!=false\">\n <a nz-button nzType=\"link\" (click)=\"addData()\">+\u6DFB\u52A0</a>\n </ng-container>\n </ng-template>\n\n <ng-container *ngIf=\"editor!=false\">\n <div class=\"card-bottom\"\n *ngIf=\"field.fieldGroup!==undefined && field.fieldGroup!==null && field.fieldGroup.length>0\">\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"addData()\">+\u6DFB\u52A0</button>\n </div>\n </ng-container>\n</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzToolTipModule }, { kind: "directive", type: i3$4.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [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: DragDropModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
2517
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldRepeatCard, isStandalone: true, selector: "deon-nz-field-repeat-card", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"repeat-card\" [ngClass]=\"clasName\">\n <ng-container *ngIf=\"props && props.label\">\n <div class=\"card-label\">{{props.label}}</div>\n </ng-container>\n <ng-container\n *ngIf=\"field.fieldGroup!==undefined && field.fieldGroup!==null && field.fieldGroup.length>0;else cardEmpty\">\n <ng-container *ngFor=\"let fields of field.fieldGroup; let i = index\">\n <div class=\"card-header\">\n <div class=\"serial\">\u5E8F\u53F7\uFF1A{{ i + 1 }}</div>\n <div calss=\"delete\">\n <ng-container *ngIf=\"editor!=false\">\n <a nz-tooltip nzTooltipTitle=\"\u5220\u9664\" *ngIf=\"checkDelete(i)\" (click)=\"rowDelete(i)\"><i nz-icon\n nzType=\"delete\"></i></a>\n </ng-container>\n </div>\n </div>\n <div class=\"card-body\">\n <ng-container *ngFor=\"let item of fields.fieldGroup\">\n <formly-field [field]=\"item\"></formly-field>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #cardEmpty>\n <gram-empty></gram-empty>\n <ng-container *ngIf=\"editor!=false\">\n <a nz-button nzType=\"link\" (click)=\"addData()\">+\u6DFB\u52A0</a>\n </ng-container>\n </ng-template>\n\n <ng-container *ngIf=\"editor!=false\">\n <div class=\"card-bottom\"\n *ngIf=\"field.fieldGroup!==undefined && field.fieldGroup!==null && field.fieldGroup.length>0\">\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"addData()\">+\u6DFB\u52A0</button>\n </div>\n </ng-container>\n</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzToolTipModule }, { kind: "directive", type: i3$4.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [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: DragDropModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }, { kind: "ngmodule", type: GramDeonEmptyModule }, { kind: "component", type: i9.BaseEmptyComponent, selector: "gram-empty", inputs: ["desc", "state"], outputs: ["emptyClick"] }] });
|
|
2615
2518
|
}
|
|
2616
2519
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldRepeatCard, decorators: [{
|
|
2617
2520
|
type: Component,
|
|
@@ -2628,6 +2531,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2628
2531
|
], template: "<div class=\"repeat-card\" [ngClass]=\"clasName\">\n <ng-container *ngIf=\"props && props.label\">\n <div class=\"card-label\">{{props.label}}</div>\n </ng-container>\n <ng-container\n *ngIf=\"field.fieldGroup!==undefined && field.fieldGroup!==null && field.fieldGroup.length>0;else cardEmpty\">\n <ng-container *ngFor=\"let fields of field.fieldGroup; let i = index\">\n <div class=\"card-header\">\n <div class=\"serial\">\u5E8F\u53F7\uFF1A{{ i + 1 }}</div>\n <div calss=\"delete\">\n <ng-container *ngIf=\"editor!=false\">\n <a nz-tooltip nzTooltipTitle=\"\u5220\u9664\" *ngIf=\"checkDelete(i)\" (click)=\"rowDelete(i)\"><i nz-icon\n nzType=\"delete\"></i></a>\n </ng-container>\n </div>\n </div>\n <div class=\"card-body\">\n <ng-container *ngFor=\"let item of fields.fieldGroup\">\n <formly-field [field]=\"item\"></formly-field>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #cardEmpty>\n <gram-empty></gram-empty>\n <ng-container *ngIf=\"editor!=false\">\n <a nz-button nzType=\"link\" (click)=\"addData()\">+\u6DFB\u52A0</a>\n </ng-container>\n </ng-template>\n\n <ng-container *ngIf=\"editor!=false\">\n <div class=\"card-bottom\"\n *ngIf=\"field.fieldGroup!==undefined && field.fieldGroup!==null && field.fieldGroup.length>0\">\n <button nz-button nzType=\"default\" type=\"button\" (click)=\"addData()\">+\u6DFB\u52A0</button>\n </div>\n </ng-container>\n</div>" }]
|
|
2629
2532
|
}], ctorParameters: () => [{ type: i1$4.GramGlobalService }] });
|
|
2630
2533
|
|
|
2534
|
+
function withFormlyFieldRepeatCard() {
|
|
2535
|
+
return {
|
|
2536
|
+
types: [
|
|
2537
|
+
{
|
|
2538
|
+
name: 'repeat-card',
|
|
2539
|
+
component: DeonNzFieldRepeatCard,
|
|
2540
|
+
}
|
|
2541
|
+
]
|
|
2542
|
+
};
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2631
2545
|
class DeonNzRepeatCardModule {
|
|
2632
2546
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRepeatCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2633
2547
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRepeatCardModule, imports: [CommonModule,
|
|
@@ -2652,14 +2566,7 @@ class DeonNzRepeatCardModule {
|
|
|
2652
2566
|
DeonNzFormFieldModule,
|
|
2653
2567
|
DragDropModule,
|
|
2654
2568
|
GramDeonEmptyModule,
|
|
2655
|
-
FormlyModule.forChild(
|
|
2656
|
-
types: [
|
|
2657
|
-
{
|
|
2658
|
-
name: 'repeat-card',
|
|
2659
|
-
component: DeonNzFieldRepeatCard,
|
|
2660
|
-
},
|
|
2661
|
-
],
|
|
2662
|
-
})] });
|
|
2569
|
+
FormlyModule.forChild(withFormlyFieldRepeatCard())] });
|
|
2663
2570
|
}
|
|
2664
2571
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzRepeatCardModule, decorators: [{
|
|
2665
2572
|
type: NgModule,
|
|
@@ -2676,14 +2583,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2676
2583
|
DeonNzFormFieldModule,
|
|
2677
2584
|
DragDropModule,
|
|
2678
2585
|
GramDeonEmptyModule,
|
|
2679
|
-
FormlyModule.forChild(
|
|
2680
|
-
types: [
|
|
2681
|
-
{
|
|
2682
|
-
name: 'repeat-card',
|
|
2683
|
-
component: DeonNzFieldRepeatCard,
|
|
2684
|
-
},
|
|
2685
|
-
],
|
|
2686
|
-
}),
|
|
2586
|
+
FormlyModule.forChild(withFormlyFieldRepeatCard()),
|
|
2687
2587
|
],
|
|
2688
2588
|
}]
|
|
2689
2589
|
}] });
|
|
@@ -2815,7 +2715,7 @@ class DeonNzFieldSelect extends FieldType {
|
|
|
2815
2715
|
<nz-option *ngIf="!item.group" [nzValue]="item.value" [nzDisabled]="item.disabled" [nzLabel]="item.label"></nz-option>
|
|
2816
2716
|
</ng-container>
|
|
2817
2717
|
</nz-select>
|
|
2818
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i3$3.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3$3.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$3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
2718
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i3$3.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3$3.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$3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2819
2719
|
}
|
|
2820
2720
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldSelect, decorators: [{
|
|
2821
2721
|
type: Component,
|
|
@@ -2853,24 +2753,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2853
2753
|
}]
|
|
2854
2754
|
}] });
|
|
2855
2755
|
|
|
2756
|
+
function withFormlyFieldSelect() {
|
|
2757
|
+
return {
|
|
2758
|
+
types: [
|
|
2759
|
+
{
|
|
2760
|
+
name: 'select',
|
|
2761
|
+
component: DeonNzFieldSelect,
|
|
2762
|
+
wrappers: ['formly-form-field'],
|
|
2763
|
+
},
|
|
2764
|
+
{ name: 'enum', extends: 'select' },
|
|
2765
|
+
{ name: 'eval_select', extends: 'select' },
|
|
2766
|
+
{ name: 'lookup_select', extends: 'select' },
|
|
2767
|
+
]
|
|
2768
|
+
};
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2856
2771
|
class DeonNzSelectModule {
|
|
2857
2772
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2858
2773
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSelectModule, imports: [CommonModule,
|
|
2859
2774
|
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
2860
2775
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSelectModule, imports: [CommonModule,
|
|
2861
2776
|
DeonNzFormFieldModule,
|
|
2862
|
-
FormlyModule.forChild(
|
|
2863
|
-
types: [
|
|
2864
|
-
{
|
|
2865
|
-
name: 'select',
|
|
2866
|
-
component: DeonNzFieldSelect,
|
|
2867
|
-
wrappers: ['formly-form-field'],
|
|
2868
|
-
},
|
|
2869
|
-
{ name: 'enum', extends: 'select' },
|
|
2870
|
-
{ name: 'eval_select', extends: 'select' },
|
|
2871
|
-
{ name: 'lookup_select', extends: 'select' },
|
|
2872
|
-
],
|
|
2873
|
-
})] });
|
|
2777
|
+
FormlyModule.forChild(withFormlyFieldSelect())] });
|
|
2874
2778
|
}
|
|
2875
2779
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSelectModule, decorators: [{
|
|
2876
2780
|
type: NgModule,
|
|
@@ -2878,18 +2782,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2878
2782
|
imports: [
|
|
2879
2783
|
CommonModule,
|
|
2880
2784
|
DeonNzFormFieldModule,
|
|
2881
|
-
FormlyModule.forChild(
|
|
2882
|
-
types: [
|
|
2883
|
-
{
|
|
2884
|
-
name: 'select',
|
|
2885
|
-
component: DeonNzFieldSelect,
|
|
2886
|
-
wrappers: ['formly-form-field'],
|
|
2887
|
-
},
|
|
2888
|
-
{ name: 'enum', extends: 'select' },
|
|
2889
|
-
{ name: 'eval_select', extends: 'select' },
|
|
2890
|
-
{ name: 'lookup_select', extends: 'select' },
|
|
2891
|
-
],
|
|
2892
|
-
}),
|
|
2785
|
+
FormlyModule.forChild(withFormlyFieldSelect()),
|
|
2893
2786
|
],
|
|
2894
2787
|
}]
|
|
2895
2788
|
}] });
|
|
@@ -2902,7 +2795,7 @@ class DeonNzFieldSwitch extends FieldType {
|
|
|
2902
2795
|
};
|
|
2903
2796
|
switchValue = false;
|
|
2904
2797
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2905
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldSwitch, isStandalone: true, selector: "deon-nz-field-switch", usesInheritance: true, ngImport: i0, template: "<nz-switch [formControl]=\"formControl\" [formlyAttributes]=\"field\" [nzDisabled]=\"!editor\"></nz-switch>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i2$4.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
2798
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldSwitch, isStandalone: true, selector: "deon-nz-field-switch", usesInheritance: true, ngImport: i0, template: "<nz-switch [formControl]=\"formControl\" [formlyAttributes]=\"field\" [nzDisabled]=\"!editor\"></nz-switch>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i2$4.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2906
2799
|
}
|
|
2907
2800
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldSwitch, decorators: [{
|
|
2908
2801
|
type: Component,
|
|
@@ -2915,21 +2808,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2915
2808
|
], template: "<nz-switch [formControl]=\"formControl\" [formlyAttributes]=\"field\" [nzDisabled]=\"!editor\"></nz-switch>" }]
|
|
2916
2809
|
}] });
|
|
2917
2810
|
|
|
2811
|
+
function withFormlyFieldSwitch() {
|
|
2812
|
+
return {
|
|
2813
|
+
types: [
|
|
2814
|
+
{
|
|
2815
|
+
name: 'switch',
|
|
2816
|
+
component: DeonNzFieldSwitch,
|
|
2817
|
+
wrappers: ['formly-form-field'],
|
|
2818
|
+
}
|
|
2819
|
+
]
|
|
2820
|
+
};
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2918
2823
|
class DeonNzSwitchModule {
|
|
2919
2824
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2920
2825
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSwitchModule, imports: [CommonModule,
|
|
2921
2826
|
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
2922
2827
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSwitchModule, imports: [CommonModule,
|
|
2923
2828
|
DeonNzFormFieldModule,
|
|
2924
|
-
FormlyModule.forChild(
|
|
2925
|
-
types: [
|
|
2926
|
-
{
|
|
2927
|
-
name: 'switch',
|
|
2928
|
-
component: DeonNzFieldSwitch,
|
|
2929
|
-
wrappers: ['formly-form-field'],
|
|
2930
|
-
},
|
|
2931
|
-
],
|
|
2932
|
-
})] });
|
|
2829
|
+
FormlyModule.forChild(withFormlyFieldSwitch())] });
|
|
2933
2830
|
}
|
|
2934
2831
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSwitchModule, decorators: [{
|
|
2935
2832
|
type: NgModule,
|
|
@@ -2937,19 +2834,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2937
2834
|
imports: [
|
|
2938
2835
|
CommonModule,
|
|
2939
2836
|
DeonNzFormFieldModule,
|
|
2940
|
-
FormlyModule.forChild(
|
|
2941
|
-
types: [
|
|
2942
|
-
{
|
|
2943
|
-
name: 'switch',
|
|
2944
|
-
component: DeonNzFieldSwitch,
|
|
2945
|
-
wrappers: ['formly-form-field'],
|
|
2946
|
-
},
|
|
2947
|
-
],
|
|
2948
|
-
}),
|
|
2837
|
+
FormlyModule.forChild(withFormlyFieldSwitch()),
|
|
2949
2838
|
],
|
|
2950
2839
|
}]
|
|
2951
2840
|
}] });
|
|
2952
2841
|
|
|
2842
|
+
class DeonNzFieldTab extends FieldType {
|
|
2843
|
+
defaultOptions = {
|
|
2844
|
+
props: {
|
|
2845
|
+
type: '',
|
|
2846
|
+
},
|
|
2847
|
+
};
|
|
2848
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTab, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2849
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldTab, isStandalone: true, selector: "deon-nz-field-tab", usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of field.fieldGroup\">\n <formly-field [field]=\"item\"></formly-field>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: NzTabsModule }, { kind: "ngmodule", type: NzGridModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2850
|
+
}
|
|
2851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTab, decorators: [{
|
|
2852
|
+
type: Component,
|
|
2853
|
+
args: [{ selector: 'deon-nz-field-tab', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
2854
|
+
CommonModule,
|
|
2855
|
+
FormsModule,
|
|
2856
|
+
ReactiveFormsModule,
|
|
2857
|
+
DeonNzFormFieldModule,
|
|
2858
|
+
NzTabsModule,
|
|
2859
|
+
NzGridModule,
|
|
2860
|
+
FormlyModule
|
|
2861
|
+
], template: "<ng-container *ngFor=\"let item of field.fieldGroup\">\n <formly-field [field]=\"item\"></formly-field>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column}\n"] }]
|
|
2862
|
+
}] });
|
|
2863
|
+
|
|
2953
2864
|
class DeonNzFieldTabs extends FieldType {
|
|
2954
2865
|
defaultOptions = {
|
|
2955
2866
|
props: {
|
|
@@ -2966,7 +2877,7 @@ class DeonNzFieldTabs extends FieldType {
|
|
|
2966
2877
|
//(<any>this.options)._buildForm(true);
|
|
2967
2878
|
}
|
|
2968
2879
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2969
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldTabs, isStandalone: true, selector: "deon-nz-field-tabs", usesInheritance: true, ngImport: i0, template: "<nz-tabset (nzSelectChange)=\"selectChange([$event])\" [ngClass]=\"clasName\">\n <ng-container *ngFor=\"let tab of field.fieldGroup; let i = index\">\n <nz-tab [nzTitle]=\"tab.props.label\">\n <formly-field [field]=\"tab\"></formly-field>\n </nz-tab>\n </ng-container>\n</nz-tabset>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i2$5.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i2$5.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "ngmodule", type: NzGridModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.
|
|
2880
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldTabs, isStandalone: true, selector: "deon-nz-field-tabs", usesInheritance: true, ngImport: i0, template: "<nz-tabset (nzSelectChange)=\"selectChange([$event])\" [ngClass]=\"clasName\">\n <ng-container *ngFor=\"let tab of field.fieldGroup; let i = index\">\n <nz-tab [nzTitle]=\"tab.props.label\">\n <formly-field [field]=\"tab\"></formly-field>\n </nz-tab>\n </ng-container>\n</nz-tabset>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i2$5.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i2$5.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "ngmodule", type: NzGridModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2970
2881
|
}
|
|
2971
2882
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTabs, decorators: [{
|
|
2972
2883
|
type: Component,
|
|
@@ -2981,60 +2892,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
2981
2892
|
], template: "<nz-tabset (nzSelectChange)=\"selectChange([$event])\" [ngClass]=\"clasName\">\n <ng-container *ngFor=\"let tab of field.fieldGroup; let i = index\">\n <nz-tab [nzTitle]=\"tab.props.label\">\n <formly-field [field]=\"tab\"></formly-field>\n </nz-tab>\n </ng-container>\n</nz-tabset>" }]
|
|
2982
2893
|
}] });
|
|
2983
2894
|
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2895
|
+
function withFormlyFieldTab() {
|
|
2896
|
+
return {
|
|
2897
|
+
types: [
|
|
2898
|
+
{
|
|
2899
|
+
name: 'tabs',
|
|
2900
|
+
component: DeonNzFieldTabs,
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
name: 'tab',
|
|
2904
|
+
component: DeonNzFieldTab,
|
|
2905
|
+
}
|
|
2906
|
+
]
|
|
2989
2907
|
};
|
|
2990
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTab, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2991
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldTab, isStandalone: true, selector: "deon-nz-field-tab", usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of field.fieldGroup\">\n <formly-field [field]=\"item\"></formly-field>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: NzTabsModule }, { kind: "ngmodule", type: NzGridModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i1$1.FormlyField, selector: "formly-field", inputs: ["field", "hideLabel", "isTable", "dimConfig", "tableConfig", "editor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2992
2908
|
}
|
|
2993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTab, decorators: [{
|
|
2994
|
-
type: Component,
|
|
2995
|
-
args: [{ selector: 'deon-nz-field-tab', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
2996
|
-
CommonModule,
|
|
2997
|
-
FormsModule,
|
|
2998
|
-
ReactiveFormsModule,
|
|
2999
|
-
DeonNzFormFieldModule,
|
|
3000
|
-
NzTabsModule,
|
|
3001
|
-
NzGridModule,
|
|
3002
|
-
FormlyModule
|
|
3003
|
-
], template: "<ng-container *ngFor=\"let item of field.fieldGroup\">\n <formly-field [field]=\"item\"></formly-field>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column}\n"] }]
|
|
3004
|
-
}] });
|
|
3005
2909
|
|
|
3006
2910
|
class DeonNzTabsModule {
|
|
3007
2911
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3008
2912
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, imports: [i1$1.FormlyModule] });
|
|
3009
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, imports: [FormlyModule.forChild(
|
|
3010
|
-
types: [
|
|
3011
|
-
{
|
|
3012
|
-
name: 'tabs',
|
|
3013
|
-
component: DeonNzFieldTabs,
|
|
3014
|
-
},
|
|
3015
|
-
{
|
|
3016
|
-
name: 'tab',
|
|
3017
|
-
component: DeonNzFieldTab,
|
|
3018
|
-
},
|
|
3019
|
-
],
|
|
3020
|
-
})] });
|
|
2913
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, imports: [FormlyModule.forChild(withFormlyFieldTab())] });
|
|
3021
2914
|
}
|
|
3022
2915
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, decorators: [{
|
|
3023
2916
|
type: NgModule,
|
|
3024
2917
|
args: [{
|
|
3025
2918
|
imports: [
|
|
3026
|
-
FormlyModule.forChild(
|
|
3027
|
-
types: [
|
|
3028
|
-
{
|
|
3029
|
-
name: 'tabs',
|
|
3030
|
-
component: DeonNzFieldTabs,
|
|
3031
|
-
},
|
|
3032
|
-
{
|
|
3033
|
-
name: 'tab',
|
|
3034
|
-
component: DeonNzFieldTab,
|
|
3035
|
-
},
|
|
3036
|
-
],
|
|
3037
|
-
}),
|
|
2919
|
+
FormlyModule.forChild(withFormlyFieldTab()),
|
|
3038
2920
|
],
|
|
3039
2921
|
}]
|
|
3040
2922
|
}] });
|
|
@@ -3052,7 +2934,7 @@ class DeonNzFieldText extends FieldType {
|
|
|
3052
2934
|
{{ text }}
|
|
3053
2935
|
</div>
|
|
3054
2936
|
<ng-template #tmpField> <input nz-input [formControl]="formControl" [type]="'text'" [formlyAttributes]="field" /> </ng-template>
|
|
3055
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
2937
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3056
2938
|
}
|
|
3057
2939
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldText, decorators: [{
|
|
3058
2940
|
type: Component,
|
|
@@ -3109,7 +2991,7 @@ class DeonNzFieldTextInd extends FieldType {
|
|
|
3109
2991
|
<a (click)="btnRefInd()">我的指标</a>
|
|
3110
2992
|
</ng-template>
|
|
3111
2993
|
</ng-template>
|
|
3112
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3$1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
2994
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3$1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3113
2995
|
}
|
|
3114
2996
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextInd, decorators: [{
|
|
3115
2997
|
type: Component,
|
|
@@ -3141,44 +3023,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
3141
3023
|
}]
|
|
3142
3024
|
}], ctorParameters: () => [{ type: i1$4.GramGlobalService }] });
|
|
3143
3025
|
|
|
3026
|
+
function withFormlyFieldText() {
|
|
3027
|
+
return {
|
|
3028
|
+
types: [
|
|
3029
|
+
{
|
|
3030
|
+
name: 'text',
|
|
3031
|
+
component: DeonNzFieldText,
|
|
3032
|
+
wrappers: ['formly-form-field'],
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
name: 'textInd',
|
|
3036
|
+
component: DeonNzFieldTextInd,
|
|
3037
|
+
wrappers: ['formly-form-field'],
|
|
3038
|
+
},
|
|
3039
|
+
],
|
|
3040
|
+
};
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3144
3043
|
class DeonNzTextModule {
|
|
3145
3044
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3146
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule,
|
|
3045
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule,
|
|
3046
|
+
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
3147
3047
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule,
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
{
|
|
3151
|
-
name: 'text',
|
|
3152
|
-
component: DeonNzFieldText,
|
|
3153
|
-
wrappers: ['formly-form-field'],
|
|
3154
|
-
},
|
|
3155
|
-
{
|
|
3156
|
-
name: 'textInd',
|
|
3157
|
-
component: DeonNzFieldTextInd,
|
|
3158
|
-
wrappers: ['formly-form-field'],
|
|
3159
|
-
},
|
|
3160
|
-
],
|
|
3161
|
-
})] });
|
|
3048
|
+
DeonNzFormFieldModule,
|
|
3049
|
+
FormlyModule.forChild(withFormlyFieldText())] });
|
|
3162
3050
|
}
|
|
3163
3051
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, decorators: [{
|
|
3164
3052
|
type: NgModule,
|
|
3165
3053
|
args: [{
|
|
3166
3054
|
imports: [
|
|
3167
3055
|
CommonModule,
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
{
|
|
3171
|
-
name: 'text',
|
|
3172
|
-
component: DeonNzFieldText,
|
|
3173
|
-
wrappers: ['formly-form-field'],
|
|
3174
|
-
},
|
|
3175
|
-
{
|
|
3176
|
-
name: 'textInd',
|
|
3177
|
-
component: DeonNzFieldTextInd,
|
|
3178
|
-
wrappers: ['formly-form-field'],
|
|
3179
|
-
},
|
|
3180
|
-
],
|
|
3181
|
-
}),
|
|
3056
|
+
DeonNzFormFieldModule,
|
|
3057
|
+
FormlyModule.forChild(withFormlyFieldText()),
|
|
3182
3058
|
],
|
|
3183
3059
|
}]
|
|
3184
3060
|
}] });
|
|
@@ -3239,7 +3115,7 @@ class DeonNzFieldTextArea extends FieldType {
|
|
|
3239
3115
|
></textarea>
|
|
3240
3116
|
</ng-template>
|
|
3241
3117
|
</ng-template>
|
|
3242
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
3118
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i1$3.SafeHtmlPipe, name: "safeHtml" }, { kind: "ngmodule", type: QuillModule }, { kind: "component", type: i6$1.QuillEditorComponent, selector: "quill-editor" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3243
3119
|
}
|
|
3244
3120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextArea, decorators: [{
|
|
3245
3121
|
type: Component,
|
|
@@ -3285,32 +3161,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
3285
3161
|
}]
|
|
3286
3162
|
}] });
|
|
3287
3163
|
|
|
3164
|
+
function withFormlyFieldTextArea() {
|
|
3165
|
+
return {
|
|
3166
|
+
types: [
|
|
3167
|
+
{
|
|
3168
|
+
name: 'textarea',
|
|
3169
|
+
component: DeonNzFieldTextArea,
|
|
3170
|
+
wrappers: ['formly-form-field'],
|
|
3171
|
+
}
|
|
3172
|
+
]
|
|
3173
|
+
};
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3288
3176
|
class DeonNzTextAreaModule {
|
|
3289
3177
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3290
3178
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, imports: [i1$1.FormlyModule] });
|
|
3291
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, imports: [FormlyModule.forChild(
|
|
3292
|
-
types: [
|
|
3293
|
-
{
|
|
3294
|
-
name: 'textarea',
|
|
3295
|
-
component: DeonNzFieldTextArea,
|
|
3296
|
-
wrappers: ['formly-form-field'],
|
|
3297
|
-
},
|
|
3298
|
-
],
|
|
3299
|
-
})] });
|
|
3179
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, imports: [FormlyModule.forChild(withFormlyFieldTextArea())] });
|
|
3300
3180
|
}
|
|
3301
3181
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, decorators: [{
|
|
3302
3182
|
type: NgModule,
|
|
3303
3183
|
args: [{
|
|
3304
3184
|
imports: [
|
|
3305
|
-
FormlyModule.forChild(
|
|
3306
|
-
types: [
|
|
3307
|
-
{
|
|
3308
|
-
name: 'textarea',
|
|
3309
|
-
component: DeonNzFieldTextArea,
|
|
3310
|
-
wrappers: ['formly-form-field'],
|
|
3311
|
-
},
|
|
3312
|
-
],
|
|
3313
|
-
}),
|
|
3185
|
+
FormlyModule.forChild(withFormlyFieldTextArea()),
|
|
3314
3186
|
],
|
|
3315
3187
|
}]
|
|
3316
3188
|
}] });
|
|
@@ -3357,7 +3229,7 @@ class DeonNzFieldTextCode extends FieldType {
|
|
|
3357
3229
|
<button nz-button nzType="default" type="button" [nzLoading]="loading" (click)="btnRefresh()">刷新</button>
|
|
3358
3230
|
</div>
|
|
3359
3231
|
</ng-template>
|
|
3360
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [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: DeonNzFormFieldModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1
|
|
3232
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$2.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [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: DeonNzFormFieldModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1$1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3361
3233
|
}
|
|
3362
3234
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextCode, decorators: [{
|
|
3363
3235
|
type: Component,
|
|
@@ -3387,32 +3259,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
3387
3259
|
}]
|
|
3388
3260
|
}], ctorParameters: () => [{ type: i1$7._HttpClient }, { type: i0.ChangeDetectorRef }] });
|
|
3389
3261
|
|
|
3262
|
+
function withFormlyFieldTextCode() {
|
|
3263
|
+
return {
|
|
3264
|
+
types: [
|
|
3265
|
+
{
|
|
3266
|
+
name: 'textcode',
|
|
3267
|
+
component: DeonNzFieldTextCode,
|
|
3268
|
+
wrappers: ['formly-form-field'],
|
|
3269
|
+
}
|
|
3270
|
+
]
|
|
3271
|
+
};
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3390
3274
|
class DeonNzTextCodeModule {
|
|
3391
3275
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3392
3276
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextCodeModule, imports: [i1$1.FormlyModule] });
|
|
3393
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextCodeModule, imports: [FormlyModule.forChild(
|
|
3394
|
-
types: [
|
|
3395
|
-
{
|
|
3396
|
-
name: 'textcode',
|
|
3397
|
-
component: DeonNzFieldTextCode,
|
|
3398
|
-
wrappers: ['formly-form-field'],
|
|
3399
|
-
},
|
|
3400
|
-
],
|
|
3401
|
-
})] });
|
|
3277
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextCodeModule, imports: [FormlyModule.forChild(withFormlyFieldTextCode())] });
|
|
3402
3278
|
}
|
|
3403
3279
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextCodeModule, decorators: [{
|
|
3404
3280
|
type: NgModule,
|
|
3405
3281
|
args: [{
|
|
3406
3282
|
imports: [
|
|
3407
|
-
FormlyModule.forChild(
|
|
3408
|
-
types: [
|
|
3409
|
-
{
|
|
3410
|
-
name: 'textcode',
|
|
3411
|
-
component: DeonNzFieldTextCode,
|
|
3412
|
-
wrappers: ['formly-form-field'],
|
|
3413
|
-
},
|
|
3414
|
-
],
|
|
3415
|
-
}),
|
|
3283
|
+
FormlyModule.forChild(withFormlyFieldTextCode()),
|
|
3416
3284
|
],
|
|
3417
3285
|
}]
|
|
3418
3286
|
}] });
|
|
@@ -3421,5 +3289,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
3421
3289
|
* Generated bundle index. Do not edit.
|
|
3422
3290
|
*/
|
|
3423
3291
|
|
|
3424
|
-
export { DeonNzCheckboxGroupModule, DeonNzCheckboxModule, DeonNzColorModule, DeonNzDateTimeModule, DeonNzDescModule, DeonNzDimIndicatorModule, DeonNzDimModule, DeonNzGridModule, DeonNzGroupModule, DeonNzHtmlModule, DeonNzIconModule, DeonNzLabelModule, DeonNzLineModule, DeonNzListModule, DeonNzNumberModule, DeonNzOverTimeModule, DeonNzPanelModule, DeonNzRadioGroupModule, DeonNzRadioModule, DeonNzReformModule, DeonNzRepeatCardModule, DeonNzRepeatModule, DeonNzSelectModule, DeonNzSwitchModule, DeonNzTabsModule, DeonNzTextAreaModule, DeonNzTextCodeModule, DeonNzTextModule };
|
|
3292
|
+
export { DeonNzCheckboxGroupModule, DeonNzCheckboxModule, DeonNzColorModule, DeonNzDateTimeModule, DeonNzDescModule, DeonNzDimIndicatorModule, DeonNzDimModule, DeonNzGridModule, DeonNzGroupModule, DeonNzHtmlModule, DeonNzIconModule, DeonNzLabelModule, DeonNzLineModule, DeonNzListModule, DeonNzNumberModule, DeonNzOverTimeModule, DeonNzPanelModule, DeonNzRadioGroupModule, DeonNzRadioModule, DeonNzReformModule, DeonNzRepeatCardModule, DeonNzRepeatModule, DeonNzSelectModule, DeonNzSwitchModule, DeonNzTabsModule, DeonNzTextAreaModule, DeonNzTextCodeModule, DeonNzTextModule, withFormlyFieldCheckbox, withFormlyFieldCheckboxGroup, withFormlyFieldColor, withFormlyFieldDateTime, withFormlyFieldDesc, withFormlyFieldDim, withFormlyFieldGrid, withFormlyFieldGroup, withFormlyFieldHtml, withFormlyFieldIcon, withFormlyFieldIndicator, withFormlyFieldLabel, withFormlyFieldLine, withFormlyFieldList, withFormlyFieldNumber, withFormlyFieldOverTime, withFormlyFieldPanel, withFormlyFieldRadio, withFormlyFieldRadioGroup, withFormlyFieldReform, withFormlyFieldRepeat, withFormlyFieldRepeatCard, withFormlyFieldSelect, withFormlyFieldSwitch, withFormlyFieldTab, withFormlyFieldText, withFormlyFieldTextArea, withFormlyFieldTextCode };
|
|
3425
3293
|
//# sourceMappingURL=ebuilding-form.mjs.map
|