@ebuilding/form 2.0.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/LICENSE +0 -0
- package/README.md +0 -0
- package/checkbox/index.d.ts +1 -0
- package/checkbox/src/checkbox.module.d.ts +9 -0
- package/checkbox/src/checkbox.type.d.ts +11 -0
- package/checkbox/src/public_api.d.ts +2 -0
- package/checkboxgroup/index.d.ts +1 -0
- package/checkboxgroup/src/checkboxgroup.module.d.ts +9 -0
- package/checkboxgroup/src/checkboxgroup.type.d.ts +19 -0
- package/checkboxgroup/src/public_api.d.ts +2 -0
- package/colors/index.d.ts +1 -0
- package/colors/src/default/index.d.ts +11 -0
- package/colors/src/index.module.d.ts +8 -0
- package/colors/src/public_api.d.ts +2 -0
- package/datetime/index.d.ts +1 -0
- package/datetime/src/datetime.module.d.ts +9 -0
- package/datetime/src/datetime.type.d.ts +18 -0
- package/datetime/src/public_api.d.ts +2 -0
- package/desc/index.d.ts +1 -0
- package/desc/src/desc.module.d.ts +9 -0
- package/desc/src/desc.type.d.ts +6 -0
- package/desc/src/public_api.d.ts +2 -0
- package/dim/index.d.ts +1 -0
- package/dim/src/default/index.d.ts +16 -0
- package/dim/src/dim.module.d.ts +9 -0
- package/dim/src/public_api.d.ts +2 -0
- package/dim-indicator/index.d.ts +1 -0
- package/dim-indicator/src/assess/index.d.ts +17 -0
- package/dim-indicator/src/default/index.d.ts +19 -0
- package/dim-indicator/src/finish/index.d.ts +16 -0
- package/dim-indicator/src/indicator.module.d.ts +8 -0
- package/dim-indicator/src/public_api.d.ts +2 -0
- package/fesm2022/ebuilding-form.mjs +3337 -0
- package/fesm2022/ebuilding-form.mjs.map +1 -0
- package/fesm2022/type.checkbox.mjs +93 -0
- package/fesm2022/type.checkbox.mjs.map +1 -0
- package/fesm2022/type.checkboxgroup.mjs +168 -0
- package/fesm2022/type.checkboxgroup.mjs.map +1 -0
- package/fesm2022/type.colors.mjs +74 -0
- package/fesm2022/type.colors.mjs.map +1 -0
- package/fesm2022/type.datetime.mjs +312 -0
- package/fesm2022/type.datetime.mjs.map +1 -0
- package/fesm2022/type.desc.mjs +67 -0
- package/fesm2022/type.desc.mjs.map +1 -0
- package/fesm2022/type.dim-indicator.mjs +187 -0
- package/fesm2022/type.dim-indicator.mjs.map +1 -0
- package/fesm2022/type.dim.mjs +101 -0
- package/fesm2022/type.dim.mjs.map +1 -0
- package/fesm2022/type.form-field.mjs +147 -0
- package/fesm2022/type.form-field.mjs.map +1 -0
- package/fesm2022/type.grid.mjs +126 -0
- package/fesm2022/type.grid.mjs.map +1 -0
- package/fesm2022/type.group.mjs +113 -0
- package/fesm2022/type.group.mjs.map +1 -0
- package/fesm2022/type.html.mjs +88 -0
- package/fesm2022/type.html.mjs.map +1 -0
- package/fesm2022/type.icon.mjs +143 -0
- package/fesm2022/type.icon.mjs.map +1 -0
- package/fesm2022/type.label.mjs +71 -0
- package/fesm2022/type.label.mjs.map +1 -0
- package/fesm2022/type.line.mjs +78 -0
- package/fesm2022/type.line.mjs.map +1 -0
- package/fesm2022/type.list.mjs +84 -0
- package/fesm2022/type.list.mjs.map +1 -0
- package/fesm2022/type.number.mjs +196 -0
- package/fesm2022/type.number.mjs.map +1 -0
- package/fesm2022/type.overtime.mjs +301 -0
- package/fesm2022/type.overtime.mjs.map +1 -0
- package/fesm2022/type.panel.mjs +117 -0
- package/fesm2022/type.panel.mjs.map +1 -0
- package/fesm2022/type.radio.mjs +71 -0
- package/fesm2022/type.radio.mjs.map +1 -0
- package/fesm2022/type.radiogroup.mjs +138 -0
- package/fesm2022/type.radiogroup.mjs.map +1 -0
- package/fesm2022/type.reform.mjs +91 -0
- package/fesm2022/type.reform.mjs.map +1 -0
- package/fesm2022/type.repeat-card.mjs +204 -0
- package/fesm2022/type.repeat-card.mjs.map +1 -0
- package/fesm2022/type.repeat.mjs +209 -0
- package/fesm2022/type.repeat.mjs.map +1 -0
- package/fesm2022/type.select.mjs +224 -0
- package/fesm2022/type.select.mjs.map +1 -0
- package/fesm2022/type.switch.mjs +73 -0
- package/fesm2022/type.switch.mjs.map +1 -0
- package/fesm2022/type.tabs.mjs +107 -0
- package/fesm2022/type.tabs.mjs.map +1 -0
- package/fesm2022/type.text.mjs +89 -0
- package/fesm2022/type.text.mjs.map +1 -0
- package/fesm2022/type.textarea.mjs +158 -0
- package/fesm2022/type.textarea.mjs.map +1 -0
- package/fesm2022/type.textcode.mjs +126 -0
- package/fesm2022/type.textcode.mjs.map +1 -0
- package/form-field/index.d.ts +1 -0
- package/form-field/src/form-field.module.d.ts +10 -0
- package/form-field/src/form-field.wrapper.d.ts +9 -0
- package/form-field/src/public_api.d.ts +2 -0
- package/grid/index.d.ts +1 -0
- package/grid/src/grid.module.d.ts +11 -0
- package/grid/src/grid.type.d.ts +11 -0
- package/grid/src/public_api.d.ts +2 -0
- package/group/index.d.ts +1 -0
- package/group/src/group.module.d.ts +11 -0
- package/group/src/group.type.d.ts +11 -0
- package/group/src/public_api.d.ts +2 -0
- package/html/index.d.ts +1 -0
- package/html/src/html.module.d.ts +10 -0
- package/html/src/html.type.d.ts +12 -0
- package/html/src/public_api.d.ts +2 -0
- package/icon/index.d.ts +1 -0
- package/icon/src/default/index.d.ts +14 -0
- package/icon/src/index.module.d.ts +14 -0
- package/icon/src/public_api.d.ts +2 -0
- package/index.d.ts +28 -0
- package/label/index.d.ts +1 -0
- package/label/src/label.module.d.ts +10 -0
- package/label/src/label.type.d.ts +9 -0
- package/label/src/public_api.d.ts +2 -0
- package/line/index.d.ts +1 -0
- package/line/src/line.module.d.ts +11 -0
- package/line/src/line.type.d.ts +11 -0
- package/line/src/public_api.d.ts +2 -0
- package/list/index.d.ts +1 -0
- package/list/src/list.module.d.ts +11 -0
- package/list/src/list.type.d.ts +9 -0
- package/list/src/public_api.d.ts +2 -0
- package/number/index.d.ts +1 -0
- package/number/src/number.module.d.ts +9 -0
- package/number/src/number.type.d.ts +19 -0
- package/number/src/number_rate.type.d.ts +9 -0
- package/number/src/public_api.d.ts +3 -0
- package/overtime/index.d.ts +1 -0
- package/overtime/src/default/index.d.ts +77 -0
- package/overtime/src/index.module.d.ts +13 -0
- package/overtime/src/public_api.d.ts +2 -0
- package/package.json +136 -0
- package/panel/index.d.ts +1 -0
- package/panel/src/panel.module.d.ts +11 -0
- package/panel/src/panel.type.d.ts +12 -0
- package/panel/src/public_api.d.ts +2 -0
- package/radio/index.d.ts +1 -0
- package/radio/src/public_api.d.ts +2 -0
- package/radio/src/radio.module.d.ts +8 -0
- package/radio/src/radio.type.d.ts +11 -0
- package/radiogroup/index.d.ts +1 -0
- package/radiogroup/src/public_api.d.ts +2 -0
- package/radiogroup/src/radiogroup.module.d.ts +8 -0
- package/radiogroup/src/radiogroup.type.d.ts +17 -0
- package/reform/index.d.ts +1 -0
- package/reform/src/public_api.d.ts +2 -0
- package/reform/src/reform.module.d.ts +11 -0
- package/reform/src/reform.type.d.ts +11 -0
- package/repeat/index.d.ts +1 -0
- package/repeat/src/default/index.d.ts +28 -0
- package/repeat/src/index.module.d.ts +17 -0
- package/repeat/src/public_api.d.ts +2 -0
- package/repeat-card/index.d.ts +1 -0
- package/repeat-card/src/default/index.d.ts +28 -0
- package/repeat-card/src/index.module.d.ts +18 -0
- package/repeat-card/src/public_api.d.ts +2 -0
- package/select/index.d.ts +1 -0
- package/select/src/public_api.d.ts +2 -0
- package/select/src/select.module.d.ts +9 -0
- package/select/src/select.type.d.ts +23 -0
- package/switch/index.d.ts +1 -0
- package/switch/src/default/index.d.ts +12 -0
- package/switch/src/index.module.d.ts +9 -0
- package/switch/src/public_api.d.ts +2 -0
- package/tabs/index.d.ts +1 -0
- package/tabs/src/default/index.d.ts +13 -0
- package/tabs/src/index.module.d.ts +7 -0
- package/tabs/src/public_api.d.ts +3 -0
- package/tabs/src/tab/index.d.ts +11 -0
- package/text/index.d.ts +1 -0
- package/text/src/public_api.d.ts +2 -0
- package/text/src/text.module.d.ts +8 -0
- package/text/src/text.type.d.ts +7 -0
- package/textarea/index.d.ts +1 -0
- package/textarea/src/public_api.d.ts +2 -0
- package/textarea/src/textarea.module.d.ts +7 -0
- package/textarea/src/textarea.type.d.ts +13 -0
- package/textcode/index.d.ts +1 -0
- package/textcode/src/public_api.d.ts +2 -0
- package/textcode/src/text.module.d.ts +7 -0
- package/textcode/src/text.type.d.ts +17 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i4 from '@kre-form/core';
|
|
6
|
+
import { FieldWrapper, FormlyModule } from '@kre-form/core';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i3 from 'ng-zorro-antd/form';
|
|
9
|
+
import { NzFormModule } from 'ng-zorro-antd/form';
|
|
10
|
+
import * as i2 from 'ng-zorro-antd/grid';
|
|
11
|
+
|
|
12
|
+
class DeonWrapperFormField extends FieldWrapper {
|
|
13
|
+
get errorState() {
|
|
14
|
+
return this.showError ? 'error' : '';
|
|
15
|
+
}
|
|
16
|
+
get fieldShow() {
|
|
17
|
+
let result = true;
|
|
18
|
+
if (this.props["show"] == false) {
|
|
19
|
+
result = false;
|
|
20
|
+
}
|
|
21
|
+
return result;
|
|
22
|
+
}
|
|
23
|
+
get labelShow() {
|
|
24
|
+
let result = true;
|
|
25
|
+
if (this.props["hideLabel"] == true ||
|
|
26
|
+
this.props.label == undefined ||
|
|
27
|
+
this.props.label == null ||
|
|
28
|
+
this.props.label == '' ||
|
|
29
|
+
this.field.type == 'label' ||
|
|
30
|
+
this.field.type == 'desc' ||
|
|
31
|
+
this.field.type == 'line' ||
|
|
32
|
+
this.field.type == 'repeat') {
|
|
33
|
+
result = false;
|
|
34
|
+
}
|
|
35
|
+
return result;
|
|
36
|
+
}
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonWrapperFormField, isStandalone: true, selector: "deon-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
|
|
39
|
+
<ng-container *ngIf="fieldShow == true">
|
|
40
|
+
<nz-form-item
|
|
41
|
+
*ngIf="field.show != false"
|
|
42
|
+
[ngClass]="{
|
|
43
|
+
'layout-default':
|
|
44
|
+
field.props?.['layout'] == undefined ||
|
|
45
|
+
field.props?.['layout'] == null ||
|
|
46
|
+
field.props?.['layout'] == 'default',
|
|
47
|
+
'layout-upDown': field.props?.['layout'] == 'upDown'
|
|
48
|
+
}"
|
|
49
|
+
>
|
|
50
|
+
<ng-container *ngIf="labelShow == true">
|
|
51
|
+
<nz-form-label [nzRequired]="props.required && props['hideRequiredMarker'] !== true" [nzFor]="id">
|
|
52
|
+
{{ props.label }}
|
|
53
|
+
</nz-form-label>
|
|
54
|
+
</ng-container>
|
|
55
|
+
|
|
56
|
+
<nz-form-control [nzValidateStatus]="errorState" [nzErrorTip]="errorTpl">
|
|
57
|
+
<ng-container #fieldComponent></ng-container>
|
|
58
|
+
<ng-template #errorTpl let-control>
|
|
59
|
+
<formly-validation-message [field]="field"></formly-validation-message>
|
|
60
|
+
</ng-template>
|
|
61
|
+
</nz-form-control>
|
|
62
|
+
</nz-form-item>
|
|
63
|
+
</ng-container>
|
|
64
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.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.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i4.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] });
|
|
65
|
+
}
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonWrapperFormField, decorators: [{
|
|
67
|
+
type: Component,
|
|
68
|
+
args: [{
|
|
69
|
+
selector: 'deon-wrapper-nz-form-field',
|
|
70
|
+
template: `
|
|
71
|
+
<ng-container *ngIf="fieldShow == true">
|
|
72
|
+
<nz-form-item
|
|
73
|
+
*ngIf="field.show != false"
|
|
74
|
+
[ngClass]="{
|
|
75
|
+
'layout-default':
|
|
76
|
+
field.props?.['layout'] == undefined ||
|
|
77
|
+
field.props?.['layout'] == null ||
|
|
78
|
+
field.props?.['layout'] == 'default',
|
|
79
|
+
'layout-upDown': field.props?.['layout'] == 'upDown'
|
|
80
|
+
}"
|
|
81
|
+
>
|
|
82
|
+
<ng-container *ngIf="labelShow == true">
|
|
83
|
+
<nz-form-label [nzRequired]="props.required && props['hideRequiredMarker'] !== true" [nzFor]="id">
|
|
84
|
+
{{ props.label }}
|
|
85
|
+
</nz-form-label>
|
|
86
|
+
</ng-container>
|
|
87
|
+
|
|
88
|
+
<nz-form-control [nzValidateStatus]="errorState" [nzErrorTip]="errorTpl">
|
|
89
|
+
<ng-container #fieldComponent></ng-container>
|
|
90
|
+
<ng-template #errorTpl let-control>
|
|
91
|
+
<formly-validation-message [field]="field"></formly-validation-message>
|
|
92
|
+
</ng-template>
|
|
93
|
+
</nz-form-control>
|
|
94
|
+
</nz-form-item>
|
|
95
|
+
</ng-container>
|
|
96
|
+
`,
|
|
97
|
+
imports: [
|
|
98
|
+
CommonModule,
|
|
99
|
+
ReactiveFormsModule,
|
|
100
|
+
NzFormModule,
|
|
101
|
+
FormlyModule
|
|
102
|
+
]
|
|
103
|
+
}]
|
|
104
|
+
}] });
|
|
105
|
+
|
|
106
|
+
class DeonNzFormFieldModule {
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
108
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFormFieldModule, imports: [CommonModule,
|
|
109
|
+
ReactiveFormsModule,
|
|
110
|
+
NzFormModule, i4.FormlyModule] });
|
|
111
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFormFieldModule, imports: [CommonModule,
|
|
112
|
+
ReactiveFormsModule,
|
|
113
|
+
NzFormModule,
|
|
114
|
+
FormlyModule.forChild({
|
|
115
|
+
wrappers: [
|
|
116
|
+
{
|
|
117
|
+
name: 'formly-form-field',
|
|
118
|
+
component: DeonWrapperFormField,
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
})] });
|
|
122
|
+
}
|
|
123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFormFieldModule, decorators: [{
|
|
124
|
+
type: NgModule,
|
|
125
|
+
args: [{
|
|
126
|
+
imports: [
|
|
127
|
+
CommonModule,
|
|
128
|
+
ReactiveFormsModule,
|
|
129
|
+
NzFormModule,
|
|
130
|
+
FormlyModule.forChild({
|
|
131
|
+
wrappers: [
|
|
132
|
+
{
|
|
133
|
+
name: 'formly-form-field',
|
|
134
|
+
component: DeonWrapperFormField,
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
}),
|
|
138
|
+
],
|
|
139
|
+
}]
|
|
140
|
+
}] });
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Generated bundle index. Do not edit.
|
|
144
|
+
*/
|
|
145
|
+
|
|
146
|
+
export { DeonNzFormFieldModule, DeonWrapperFormField };
|
|
147
|
+
//# sourceMappingURL=type.form-field.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.form-field.mjs","sources":["../../../../packages/form/form-field/src/form-field.wrapper.ts","../../../../packages/form/form-field/src/form-field.module.ts","../../../../packages/form/form-field/type.form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { FormlyModule, FieldWrapper } from '@kre-form/core';\n\n@Component({\n selector: 'deon-wrapper-nz-form-field',\n template: `\n <ng-container *ngIf=\"fieldShow == true\">\n <nz-form-item\n *ngIf=\"field.show != false\"\n [ngClass]=\"{\n 'layout-default':\n field.props?.['layout'] == undefined ||\n field.props?.['layout'] == null ||\n field.props?.['layout'] == 'default',\n 'layout-upDown': field.props?.['layout'] == 'upDown'\n }\"\n >\n <ng-container *ngIf=\"labelShow == true\"> \n <nz-form-label [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\" [nzFor]=\"id\">\n {{ props.label }}\n </nz-form-label>\n </ng-container>\n \n <nz-form-control [nzValidateStatus]=\"errorState\" [nzErrorTip]=\"errorTpl\">\n <ng-container #fieldComponent></ng-container>\n <ng-template #errorTpl let-control>\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n </ng-container>\n `,\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzFormModule,\n FormlyModule\n ]\n})\nexport class DeonWrapperFormField extends FieldWrapper {\n get errorState() {\n return this.showError ? 'error' : '';\n }\n\n get fieldShow() {\n let result: boolean = true;\n if (this.props[\"show\"] == false) {\n result = false;\n }\n return result;\n }\n\n get labelShow() {\n let result: boolean = true;\n if (\n this.props[\"hideLabel\"] == true ||\n this.props.label == undefined ||\n this.props.label == null ||\n this.props.label == '' ||\n this.field.type == 'label' ||\n this.field.type == 'desc' ||\n this.field.type == 'line' ||\n this.field.type == 'repeat'\n ) {\n result = false;\n }\n return result;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@kre-form/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { DeonWrapperFormField } from './form-field.wrapper';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzFormModule,\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'formly-form-field',\n component: DeonWrapperFormField,\n },\n ],\n }),\n ],\n})\nexport class DeonNzFormFieldModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA0CM,MAAO,oBAAqB,SAAQ,YAAY,CAAA;AACpD,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,SAAS,GAAG,OAAO,GAAG,EAAE;;AAGtC,IAAA,IAAI,SAAS,GAAA;QACX,IAAI,MAAM,GAAY,IAAI;QAC1B,IAAI,IAAI,CAAC,KAAK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A,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAb9B,YAAY;YACZ,mBAAmB;YACnB,YAAY;YACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,IAAI,EAAE,mBAAmB;AACzB,wBAAA,SAAS,EAAE,oBAAoB;AAChC,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA;;4FAGO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAfjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,mBAAmB;AACzB,oCAAA,SAAS,EAAE,oBAAoB;AAChC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;ACrBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i3 from '@kre-form/core';
|
|
6
|
+
import { FieldType, FormlyModule } from '@kre-form/core';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i2 from 'ng-zorro-antd/grid';
|
|
9
|
+
import { NzGridModule } from 'ng-zorro-antd/grid';
|
|
10
|
+
import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
|
|
11
|
+
|
|
12
|
+
class DeonNzFieldGrid extends FieldType {
|
|
13
|
+
defaultOptions = {
|
|
14
|
+
props: { description: '' },
|
|
15
|
+
};
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldGrid, isStandalone: true, selector: "deon-nz-field-grid", host: { properties: { "class": "props && props['className'] ? props['className']:''" } }, usesInheritance: true, ngImport: i0, template: `
|
|
18
|
+
<ng-container *ngIf="props!! && props.label!!">
|
|
19
|
+
<div class="grid-label" [ngClass]="{ required: props?.required }">
|
|
20
|
+
{{ props.label }}
|
|
21
|
+
</div>
|
|
22
|
+
</ng-container>
|
|
23
|
+
<div nz-row>
|
|
24
|
+
<ng-container *ngFor="let grid of field.fieldGroup">
|
|
25
|
+
<div nz-col [nzSpan]="grid.props.cols">
|
|
26
|
+
<ng-container *ngIf="grid.props?.label!!">
|
|
27
|
+
<div class="list-label" [ngClass]="{ required: grid.props?.required }">
|
|
28
|
+
{{ grid.props?.label }}
|
|
29
|
+
</div>
|
|
30
|
+
</ng-container>
|
|
31
|
+
<div class="list-box" [ngClass]="grid.props['className']">
|
|
32
|
+
<div class="list-content" *ngFor="let item of grid?.fieldGroup">
|
|
33
|
+
<formly-field [field]="item"></formly-field>
|
|
34
|
+
<ng-content></ng-content>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</ng-container>
|
|
39
|
+
</div>
|
|
40
|
+
`, 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.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.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field", "hideLabel", "isTable", "dimConfig", "tableConfig", "editor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
|
+
}
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldGrid, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{
|
|
45
|
+
selector: 'deon-nz-field-grid',
|
|
46
|
+
template: `
|
|
47
|
+
<ng-container *ngIf="props!! && props.label!!">
|
|
48
|
+
<div class="grid-label" [ngClass]="{ required: props?.required }">
|
|
49
|
+
{{ props.label }}
|
|
50
|
+
</div>
|
|
51
|
+
</ng-container>
|
|
52
|
+
<div nz-row>
|
|
53
|
+
<ng-container *ngFor="let grid of field.fieldGroup">
|
|
54
|
+
<div nz-col [nzSpan]="grid.props.cols">
|
|
55
|
+
<ng-container *ngIf="grid.props?.label!!">
|
|
56
|
+
<div class="list-label" [ngClass]="{ required: grid.props?.required }">
|
|
57
|
+
{{ grid.props?.label }}
|
|
58
|
+
</div>
|
|
59
|
+
</ng-container>
|
|
60
|
+
<div class="list-box" [ngClass]="grid.props['className']">
|
|
61
|
+
<div class="list-content" *ngFor="let item of grid?.fieldGroup">
|
|
62
|
+
<formly-field [field]="item"></formly-field>
|
|
63
|
+
<ng-content></ng-content>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</ng-container>
|
|
68
|
+
</div>
|
|
69
|
+
`,
|
|
70
|
+
host: {
|
|
71
|
+
'[class]': "props && props['className'] ? props['className']:''",
|
|
72
|
+
},
|
|
73
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
74
|
+
imports: [
|
|
75
|
+
CommonModule,
|
|
76
|
+
NzGridModule,
|
|
77
|
+
FormlyModule
|
|
78
|
+
]
|
|
79
|
+
}]
|
|
80
|
+
}] });
|
|
81
|
+
|
|
82
|
+
class DeonNzGridModule {
|
|
83
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
84
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGridModule, imports: [CommonModule,
|
|
85
|
+
ReactiveFormsModule,
|
|
86
|
+
NzGridModule,
|
|
87
|
+
DeonNzFormFieldModule, i3.FormlyModule] });
|
|
88
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGridModule, imports: [CommonModule,
|
|
89
|
+
ReactiveFormsModule,
|
|
90
|
+
NzGridModule,
|
|
91
|
+
DeonNzFormFieldModule,
|
|
92
|
+
FormlyModule.forChild({
|
|
93
|
+
types: [
|
|
94
|
+
{
|
|
95
|
+
name: 'grid',
|
|
96
|
+
component: DeonNzFieldGrid,
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
})] });
|
|
100
|
+
}
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGridModule, decorators: [{
|
|
102
|
+
type: NgModule,
|
|
103
|
+
args: [{
|
|
104
|
+
imports: [
|
|
105
|
+
CommonModule,
|
|
106
|
+
ReactiveFormsModule,
|
|
107
|
+
NzGridModule,
|
|
108
|
+
DeonNzFormFieldModule,
|
|
109
|
+
FormlyModule.forChild({
|
|
110
|
+
types: [
|
|
111
|
+
{
|
|
112
|
+
name: 'grid',
|
|
113
|
+
component: DeonNzFieldGrid,
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
}),
|
|
117
|
+
],
|
|
118
|
+
}]
|
|
119
|
+
}] });
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Generated bundle index. Do not edit.
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
export { DeonNzFieldGrid, DeonNzGridModule };
|
|
126
|
+
//# sourceMappingURL=type.grid.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.grid.mjs","sources":["../../../../packages/form/grid/src/grid.type.ts","../../../../packages/form/grid/src/grid.module.ts","../../../../packages/form/grid/type.grid.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { NzGridModule } from 'ng-zorro-antd/grid';\nimport { FormlyModule, FieldType } from '@kre-form/core';\n\n@Component({\n selector: 'deon-nz-field-grid',\n template: `\n <ng-container *ngIf=\"props!! && props.label!!\">\n <div class=\"grid-label\" [ngClass]=\"{ required: props?.required }\">\n {{ props.label }}\n </div>\n </ng-container>\n <div nz-row>\n <ng-container *ngFor=\"let grid of field.fieldGroup\">\n <div nz-col [nzSpan]=\"grid.props.cols\">\n <ng-container *ngIf=\"grid.props?.label!!\">\n <div class=\"list-label\" [ngClass]=\"{ required: grid.props?.required }\">\n {{ grid.props?.label }}\n </div>\n </ng-container>\n <div class=\"list-box\" [ngClass]=\"grid.props['className']\">\n <div class=\"list-content\" *ngFor=\"let item of grid?.fieldGroup\">\n <formly-field [field]=\"item\"></formly-field>\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n </ng-container>\n </div>\n `,\n host: {\n '[class]': \"props && props['className'] ? props['className']:''\",\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n NzGridModule,\n FormlyModule\n ]\n})\nexport class DeonNzFieldGrid extends FieldType {\n override defaultOptions = {\n props: { description: '' },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@kre-form/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NzGridModule } from 'ng-zorro-antd/grid';\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\n\nimport { DeonNzFieldGrid } from './grid.type';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzGridModule,\n DeonNzFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'grid',\n component: DeonNzFieldGrid,\n },\n ],\n }),\n ],\n})\nexport class DeonNzGridModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA0CM,MAAO,eAAgB,SAAQ,SAAS,CAAA;AACnC,IAAA,cAAc,GAAG;AACxB,QAAA,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE;KAC3B;wGAHU,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,eAAe,EAlChB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,qDAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;AAuBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAMC,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA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AAA,EAAA,CAAA;kBAhB5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;AAC3B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;ACxBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i2 from '@kre-form/core';
|
|
6
|
+
import { FieldType, FormlyModule } from '@kre-form/core';
|
|
7
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import { NzGridModule } from 'ng-zorro-antd/grid';
|
|
9
|
+
import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
|
|
10
|
+
|
|
11
|
+
class DeonNzFieldGroup extends FieldType {
|
|
12
|
+
defaultOptions = {
|
|
13
|
+
props: { description: '' },
|
|
14
|
+
};
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldGroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldGroup, isStandalone: true, selector: "deon-nz-field-group", host: { properties: { "class": "props && props?.className?'gutter-row ant-row '+props.className:'gutter-row ant-row'" } }, usesInheritance: true, ngImport: i0, template: `
|
|
17
|
+
<formly-field
|
|
18
|
+
*ngFor="let f of field.fieldGroup"
|
|
19
|
+
[field]="f"
|
|
20
|
+
[ngClass]="[
|
|
21
|
+
'gutter-row',
|
|
22
|
+
'ant-col',
|
|
23
|
+
f.props.cols
|
|
24
|
+
? 'ant-col-' + f.props.cols
|
|
25
|
+
: 'ant-col-24'
|
|
26
|
+
]"
|
|
27
|
+
></formly-field>
|
|
28
|
+
<ng-content></ng-content>
|
|
29
|
+
`, 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: i2.FormlyField, selector: "formly-field", inputs: ["field", "hideLabel", "isTable", "dimConfig", "tableConfig", "editor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldGroup, decorators: [{
|
|
32
|
+
type: Component,
|
|
33
|
+
args: [{
|
|
34
|
+
selector: 'deon-nz-field-group',
|
|
35
|
+
template: `
|
|
36
|
+
<formly-field
|
|
37
|
+
*ngFor="let f of field.fieldGroup"
|
|
38
|
+
[field]="f"
|
|
39
|
+
[ngClass]="[
|
|
40
|
+
'gutter-row',
|
|
41
|
+
'ant-col',
|
|
42
|
+
f.props.cols
|
|
43
|
+
? 'ant-col-' + f.props.cols
|
|
44
|
+
: 'ant-col-24'
|
|
45
|
+
]"
|
|
46
|
+
></formly-field>
|
|
47
|
+
<ng-content></ng-content>
|
|
48
|
+
`,
|
|
49
|
+
host: {
|
|
50
|
+
'[class]': "props && props?.className?'gutter-row ant-row '+props.className:'gutter-row ant-row'",
|
|
51
|
+
},
|
|
52
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
53
|
+
imports: [
|
|
54
|
+
CommonModule,
|
|
55
|
+
FormsModule, ReactiveFormsModule,
|
|
56
|
+
FormlyModule
|
|
57
|
+
]
|
|
58
|
+
}]
|
|
59
|
+
}] });
|
|
60
|
+
|
|
61
|
+
class DeonNzGroupModule {
|
|
62
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
63
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGroupModule, imports: [CommonModule,
|
|
64
|
+
ReactiveFormsModule,
|
|
65
|
+
NzGridModule,
|
|
66
|
+
DeonNzFormFieldModule, i2.FormlyModule] });
|
|
67
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGroupModule, imports: [CommonModule,
|
|
68
|
+
ReactiveFormsModule,
|
|
69
|
+
NzGridModule,
|
|
70
|
+
DeonNzFormFieldModule,
|
|
71
|
+
FormlyModule.forChild({
|
|
72
|
+
types: [
|
|
73
|
+
{
|
|
74
|
+
name: 'group',
|
|
75
|
+
component: DeonNzFieldGroup,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'delon-group',
|
|
79
|
+
component: DeonNzFieldGroup,
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
})] });
|
|
83
|
+
}
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzGroupModule, decorators: [{
|
|
85
|
+
type: NgModule,
|
|
86
|
+
args: [{
|
|
87
|
+
imports: [
|
|
88
|
+
CommonModule,
|
|
89
|
+
ReactiveFormsModule,
|
|
90
|
+
NzGridModule,
|
|
91
|
+
DeonNzFormFieldModule,
|
|
92
|
+
FormlyModule.forChild({
|
|
93
|
+
types: [
|
|
94
|
+
{
|
|
95
|
+
name: 'group',
|
|
96
|
+
component: DeonNzFieldGroup,
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: 'delon-group',
|
|
100
|
+
component: DeonNzFieldGroup,
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
}),
|
|
104
|
+
],
|
|
105
|
+
}]
|
|
106
|
+
}] });
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Generated bundle index. Do not edit.
|
|
110
|
+
*/
|
|
111
|
+
|
|
112
|
+
export { DeonNzFieldGroup, DeonNzGroupModule };
|
|
113
|
+
//# sourceMappingURL=type.group.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.group.mjs","sources":["../../../../packages/form/group/src/group.type.ts","../../../../packages/form/group/src/group.module.ts","../../../../packages/form/group/type.group.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule, FieldType, FieldTypeConfig } from '@kre-form/core';\n\n@Component({\n selector: 'deon-nz-field-group',\n template: ` \n <formly-field\n *ngFor=\"let f of field.fieldGroup\"\n [field]=\"f\"\n [ngClass]=\"[\n 'gutter-row',\n 'ant-col',\n f.props.cols\n ? 'ant-col-' + f.props.cols\n : 'ant-col-24'\n ]\"\n></formly-field>\n<ng-content></ng-content>\n `,\n host: {\n '[class]': \"props && props?.className?'gutter-row ant-row '+props.className:'gutter-row ant-row'\",\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule, ReactiveFormsModule,\n FormlyModule\n ]\n})\nexport class DeonNzFieldGroup extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: { description: '' },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@kre-form/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NzGridModule } from 'ng-zorro-antd/grid';\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\n\nimport { DeonNzFieldGroup } from './group.type';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzGridModule,\n DeonNzFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'group',\n component: DeonNzFieldGroup,\n },\n {\n name: 'delon-group',\n component: DeonNzFieldGroup,\n },\n ],\n }),\n ],\n})\nexport class DeonNzGroupModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAgCM,MAAO,gBAAiB,SAAQ,SAA0B,CAAA;AACrD,IAAA,cAAc,GAAG;AACxB,QAAA,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE;KAC3B;wGAHU,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAxBjB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,sFAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;AAaT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAMC,YAAY,EACZ,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAA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AY;YACZ,mBAAmB;YACnB,YAAY;YACZ,qBAAqB,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA;AAeZ,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAlB1B,YAAY;YACZ,mBAAmB;YACnB,YAAY;YACZ,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,OAAO;AACb,wBAAA,SAAS,EAAE,gBAAgB;AAC5B,qBAAA;AACD,oBAAA;AACE,wBAAA,IAAI,EAAE,aAAa;AACnB,wBAAA,SAAS,EAAE,gBAAgB;AAC5B,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA;;4FAGO,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBApB7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;AAC5B,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,aAAa;AACnB,oCAAA,SAAS,EAAE,gBAAgB;AAC5B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;AC5BD;;AAEG;;;;"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1$1 from '@kre-form/core';
|
|
5
|
+
import { FieldType, FormlyModule } from '@kre-form/core';
|
|
6
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
7
|
+
import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
|
|
8
|
+
import * as i1 from '@ebuilding/base/shared.pipe';
|
|
9
|
+
import { GramPipeModule } from '@ebuilding/base/shared.pipe';
|
|
10
|
+
|
|
11
|
+
class DeonNzFieldHtml extends FieldType {
|
|
12
|
+
defaultOptions = {
|
|
13
|
+
props: { description: '' },
|
|
14
|
+
};
|
|
15
|
+
get text() {
|
|
16
|
+
if (this.model && this.model.hasOwnProperty(this.field.key)) {
|
|
17
|
+
let str = this.field.key;
|
|
18
|
+
let value = this.model[str];
|
|
19
|
+
if (value == undefined || value == null) {
|
|
20
|
+
value = '';
|
|
21
|
+
}
|
|
22
|
+
return value;
|
|
23
|
+
}
|
|
24
|
+
return '';
|
|
25
|
+
}
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldHtml, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldHtml, isStandalone: true, selector: "deon-nz-field-html", usesInheritance: true, ngImport: i0, template: `
|
|
28
|
+
<div [innerHtml]="text | safeHtml" style="padding:8px 11px"></div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i1.SafeHtmlPipe, name: "safeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldHtml, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: 'deon-nz-field-html',
|
|
34
|
+
template: `
|
|
35
|
+
<div [innerHtml]="text | safeHtml" style="padding:8px 11px"></div>`,
|
|
36
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
37
|
+
imports: [
|
|
38
|
+
CommonModule,
|
|
39
|
+
FormsModule, ReactiveFormsModule,
|
|
40
|
+
GramPipeModule
|
|
41
|
+
]
|
|
42
|
+
}]
|
|
43
|
+
}] });
|
|
44
|
+
|
|
45
|
+
class DeonNzHtmlModule {
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzHtmlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
47
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzHtmlModule, imports: [CommonModule,
|
|
48
|
+
ReactiveFormsModule,
|
|
49
|
+
DeonNzFormFieldModule, i1$1.FormlyModule] });
|
|
50
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzHtmlModule, imports: [CommonModule,
|
|
51
|
+
ReactiveFormsModule,
|
|
52
|
+
DeonNzFormFieldModule,
|
|
53
|
+
FormlyModule.forChild({
|
|
54
|
+
types: [
|
|
55
|
+
{
|
|
56
|
+
name: 'html',
|
|
57
|
+
component: DeonNzFieldHtml,
|
|
58
|
+
wrappers: ['formly-form-field'],
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
})] });
|
|
62
|
+
}
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzHtmlModule, decorators: [{
|
|
64
|
+
type: NgModule,
|
|
65
|
+
args: [{
|
|
66
|
+
imports: [
|
|
67
|
+
CommonModule,
|
|
68
|
+
ReactiveFormsModule,
|
|
69
|
+
DeonNzFormFieldModule,
|
|
70
|
+
FormlyModule.forChild({
|
|
71
|
+
types: [
|
|
72
|
+
{
|
|
73
|
+
name: 'html',
|
|
74
|
+
component: DeonNzFieldHtml,
|
|
75
|
+
wrappers: ['formly-form-field'],
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
}),
|
|
79
|
+
],
|
|
80
|
+
}]
|
|
81
|
+
}] });
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Generated bundle index. Do not edit.
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
export { DeonNzFieldHtml, DeonNzHtmlModule };
|
|
88
|
+
//# sourceMappingURL=type.html.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.html.mjs","sources":["../../../../packages/form/html/src/html.type.ts","../../../../packages/form/html/src/html.module.ts","../../../../packages/form/html/type.html.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { FieldType } from '@kre-form/core';\nimport { GramPipeModule } from \"@ebuilding/base/shared.pipe\";\n\n@Component({\n selector: 'deon-nz-field-html',\n template: `\n <div [innerHtml]=\"text | safeHtml\" style=\"padding:8px 11px\"></div>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule, ReactiveFormsModule,\n GramPipeModule\n ]\n})\nexport class DeonNzFieldHtml extends FieldType {\n override defaultOptions = {\n props: { description: '' },\n };\n\n override get text() {\n if (this.model!! && this.model.hasOwnProperty(this.field.key)) {\n let str: any = this.field.key;\n let value: any = this.model[str];\n if (value == undefined || value == null) {\n value = '';\n }\n return value;\n }\n return '';\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@kre-form/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\n\nimport { DeonNzFieldHtml } from './html.type';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DeonNzFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'html',\n component: DeonNzFieldHtml,\n wrappers: ['formly-form-field'],\n },\n ],\n }),\n ],\n})\nexport class DeonNzHtmlModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAiBM,MAAO,eAAgB,SAAQ,SAAS,CAAA;AACnC,IAAA,cAAc,GAAG;AACxB,QAAA,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE;KAC3B;AAED,IAAA,IAAa,IAAI,GAAA;AACf,QAAA,IAAI,IAAI,CAAC,KAAO,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;AAC7D,YAAA,IAAI,GAAG,GAAQ,IAAI,CAAC,KAAK,CAAC,GAAG;YAC7B,IAAI,KAAK,GAAQ,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC;YAChC,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,IAAI,IAAI,EAAE;gBACvC,KAAK,GAAG,EAAE;;AAEZ,YAAA,OAAO,KAAK;;AAEd,QAAA,OAAO,EAAE;;wGAdA,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,eAAe,EAThB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;AAC2D,sEAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAA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