@ebuilding/form 2.1.10 → 2.1.11
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/fesm2022/type.text.mjs
CHANGED
|
@@ -2,14 +2,15 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i4 from '@kre-form/core';
|
|
5
|
+
import * as i4$1 from '@kre-form/core';
|
|
6
6
|
import { FieldType, FormlyModule } from '@kre-form/core';
|
|
7
7
|
import * as i2 from '@angular/forms';
|
|
8
8
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i4 from 'ng-zorro-antd/input';
|
|
10
10
|
import { NzInputModule } from 'ng-zorro-antd/input';
|
|
11
11
|
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
|
|
12
12
|
import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
|
|
13
|
+
import * as i1$1 from '@ebuilding/base/shared.srv/global.event';
|
|
13
14
|
|
|
14
15
|
class DeonNzFieldText extends FieldType {
|
|
15
16
|
get text() {
|
|
@@ -24,7 +25,7 @@ class DeonNzFieldText extends FieldType {
|
|
|
24
25
|
{{ text }}
|
|
25
26
|
</div>
|
|
26
27
|
<ng-template #tmpField> <input nz-input [formControl]="formControl" [type]="'text'" [formlyAttributes]="field" /> </ng-template>
|
|
27
|
-
`, 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:
|
|
28
|
+
`, 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: i4.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: i4$1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
28
29
|
}
|
|
29
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldText, decorators: [{
|
|
30
31
|
type: Component,
|
|
@@ -49,9 +50,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
49
50
|
}]
|
|
50
51
|
}] });
|
|
51
52
|
|
|
53
|
+
class DeonNzFieldTextInd extends FieldType {
|
|
54
|
+
globalSrv;
|
|
55
|
+
get text() {
|
|
56
|
+
if (this.model && this.model.hasOwnProperty(this.field.key)) {
|
|
57
|
+
return this.model[this.field.key.toString()];
|
|
58
|
+
}
|
|
59
|
+
return '';
|
|
60
|
+
}
|
|
61
|
+
constructor(globalSrv) {
|
|
62
|
+
super();
|
|
63
|
+
this.globalSrv = globalSrv;
|
|
64
|
+
}
|
|
65
|
+
btnRefInd() {
|
|
66
|
+
this.globalSrv.notifyDataChanged('deon-field-text_ind', {
|
|
67
|
+
field: this.field,
|
|
68
|
+
data: null,
|
|
69
|
+
type: 'click',
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextInd, deps: [{ token: i1$1.GramGlobalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
73
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldTextInd, isStandalone: true, selector: "deon-field-nz-text_ind", usesInheritance: true, ngImport: i0, template: `
|
|
74
|
+
<div class="field-text deon-text deon-text-default" *ngIf="editor == false; else tmpField">
|
|
75
|
+
{{ text }}
|
|
76
|
+
</div>
|
|
77
|
+
<ng-template #tmpField>
|
|
78
|
+
<nz-input-group [nzAddOnAfter]="addOnAfterTemplate">
|
|
79
|
+
<input nz-input [formControl]="formControl" [type]="'text'" [formlyAttributes]="field" />
|
|
80
|
+
</nz-input-group>
|
|
81
|
+
<ng-template #addOnAfterTemplate>
|
|
82
|
+
<a (click)="btnRefInd()">我的指标</a>
|
|
83
|
+
</ng-template>
|
|
84
|
+
</ng-template>
|
|
85
|
+
`, 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: i4.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i4.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: i4$1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
86
|
+
}
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextInd, decorators: [{
|
|
88
|
+
type: Component,
|
|
89
|
+
args: [{
|
|
90
|
+
selector: 'deon-field-nz-text_ind',
|
|
91
|
+
template: `
|
|
92
|
+
<div class="field-text deon-text deon-text-default" *ngIf="editor == false; else tmpField">
|
|
93
|
+
{{ text }}
|
|
94
|
+
</div>
|
|
95
|
+
<ng-template #tmpField>
|
|
96
|
+
<nz-input-group [nzAddOnAfter]="addOnAfterTemplate">
|
|
97
|
+
<input nz-input [formControl]="formControl" [type]="'text'" [formlyAttributes]="field" />
|
|
98
|
+
</nz-input-group>
|
|
99
|
+
<ng-template #addOnAfterTemplate>
|
|
100
|
+
<a (click)="btnRefInd()">我的指标</a>
|
|
101
|
+
</ng-template>
|
|
102
|
+
</ng-template>
|
|
103
|
+
`,
|
|
104
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
105
|
+
imports: [
|
|
106
|
+
CommonModule,
|
|
107
|
+
FormsModule,
|
|
108
|
+
ReactiveFormsModule,
|
|
109
|
+
NzInputModule,
|
|
110
|
+
NzInputNumberModule,
|
|
111
|
+
DeonNzFormFieldModule,
|
|
112
|
+
FormlyModule
|
|
113
|
+
]
|
|
114
|
+
}]
|
|
115
|
+
}], ctorParameters: () => [{ type: i1$1.GramGlobalService }] });
|
|
116
|
+
|
|
52
117
|
class DeonNzTextModule {
|
|
53
118
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
54
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule, i4.FormlyModule] });
|
|
119
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule, i4$1.FormlyModule] });
|
|
55
120
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule,
|
|
56
121
|
FormlyModule.forChild({
|
|
57
122
|
types: [
|
|
@@ -60,6 +125,11 @@ class DeonNzTextModule {
|
|
|
60
125
|
component: DeonNzFieldText,
|
|
61
126
|
wrappers: ['formly-form-field'],
|
|
62
127
|
},
|
|
128
|
+
{
|
|
129
|
+
name: 'textInd',
|
|
130
|
+
component: DeonNzFieldTextInd,
|
|
131
|
+
wrappers: ['formly-form-field'],
|
|
132
|
+
},
|
|
63
133
|
],
|
|
64
134
|
})] });
|
|
65
135
|
}
|
|
@@ -75,6 +145,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
75
145
|
component: DeonNzFieldText,
|
|
76
146
|
wrappers: ['formly-form-field'],
|
|
77
147
|
},
|
|
148
|
+
{
|
|
149
|
+
name: 'textInd',
|
|
150
|
+
component: DeonNzFieldTextInd,
|
|
151
|
+
wrappers: ['formly-form-field'],
|
|
152
|
+
},
|
|
78
153
|
],
|
|
79
154
|
}),
|
|
80
155
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.text.mjs","sources":["../../../../packages/form/text/src/text.type.ts","../../../../packages/form/text/src/text.module.ts","../../../../packages/form/text/type.text.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { FormlyModule, FieldType, FieldTypeConfig } from '@kre-form/core';\n\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\n@Component({\n selector: 'deon-field-nz-text',\n template: `\n <div class=\"field-text deon-text deon-text-default\" *ngIf=\"editor == false; else tmpField\">\n {{ text }}\n </div>\n <ng-template #tmpField> <input nz-input [formControl]=\"formControl\" [type]=\"'text'\" [formlyAttributes]=\"field\" /> </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n NzInputModule,\n NzInputNumberModule,\n DeonNzFormFieldModule,\n FormlyModule\n ]\n})\nexport class DeonNzFieldText extends FieldType<FieldTypeConfig> {\n override get text() {\n if (this.model!! && this.model.hasOwnProperty(this.field.key)) {\n return this.model[this.field.key.toString()];\n }\n return '';\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@kre-form/core';\nimport { DeonNzFieldText } from './text.type';\n\n@NgModule({\n imports: [\n CommonModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'text',\n component: DeonNzFieldText,\n wrappers: ['formly-form-field'],\n },\n ],\n }),\n ],\n})\nexport class DeonNzTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;AA2BM,MAAO,eAAgB,SAAQ,SAA0B,CAAA;AAC7D,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,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;;AAE9C,QAAA,OAAO,EAAE;;wGALA,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,EAjBhB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;;AAKT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGC,YAAY,EAAA,EAAA,EAAA,IAAA,E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AA,CAAA;kBAd5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;oCAC1B,QAAQ,EAAE,CAAC,mBAAmB,CAAC;AAChC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;AClBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"type.text.mjs","sources":["../../../../packages/form/text/src/text.type.ts","../../../../packages/form/text/src/text_ind.type.ts","../../../../packages/form/text/src/text.module.ts","../../../../packages/form/text/type.text.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { FormlyModule, FieldType, FieldTypeConfig } from '@kre-form/core';\n\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\n@Component({\n selector: 'deon-field-nz-text',\n template: `\n <div class=\"field-text deon-text deon-text-default\" *ngIf=\"editor == false; else tmpField\">\n {{ text }}\n </div>\n <ng-template #tmpField> <input nz-input [formControl]=\"formControl\" [type]=\"'text'\" [formlyAttributes]=\"field\" /> </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n NzInputModule,\n NzInputNumberModule,\n DeonNzFormFieldModule,\n FormlyModule\n ]\n})\nexport class DeonNzFieldText extends FieldType<FieldTypeConfig> {\n override get text() {\n if (this.model!! && this.model.hasOwnProperty(this.field.key)) {\n return this.model[this.field.key.toString()];\n }\n return '';\n }\n}\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { FormlyModule, FieldType, FieldTypeConfig } from '@kre-form/core';\n\nimport { GramGlobalService } from '@ebuilding/base/shared.srv/global.event';\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\n@Component({\n selector: 'deon-field-nz-text_ind',\n template: `\n <div class=\"field-text deon-text deon-text-default\" *ngIf=\"editor == false; else tmpField\">\n {{ text }}\n </div>\n <ng-template #tmpField>\n <nz-input-group [nzAddOnAfter]=\"addOnAfterTemplate\"> \n <input nz-input [formControl]=\"formControl\" [type]=\"'text'\" [formlyAttributes]=\"field\" /> \n </nz-input-group>\n <ng-template #addOnAfterTemplate>\n <a (click)=\"btnRefInd()\">我的指标</a>\n </ng-template>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n NzInputModule,\n NzInputNumberModule,\n DeonNzFormFieldModule,\n FormlyModule\n ]\n})\nexport class DeonNzFieldTextInd extends FieldType<FieldTypeConfig> {\n override get text() {\n if (this.model!! && this.model.hasOwnProperty(this.field.key)) {\n return this.model[this.field.key.toString()];\n }\n return '';\n }\n\n constructor(public globalSrv: GramGlobalService) {\n super();\n }\n\n btnRefInd() {\n this.globalSrv.notifyDataChanged('deon-field-text_ind', {\n field: this.field,\n data: null,\n type: 'click',\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@kre-form/core';\nimport { DeonNzFieldText } from './text.type';\nimport { DeonNzFieldTextInd } from './text_ind.type';\n\n@NgModule({\n imports: [\n CommonModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'text',\n component: DeonNzFieldText,\n wrappers: ['formly-form-field'],\n },\n {\n name: 'textInd',\n component: DeonNzFieldTextInd,\n wrappers: ['formly-form-field'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
|
5
5
|
"extend": "undefined",
|
|
6
6
|
"tslib": "^2.3.0"
|
|
@@ -19,25 +19,29 @@
|
|
|
19
19
|
"types": "./checkbox/index.d.ts",
|
|
20
20
|
"default": "./fesm2022/type.checkbox.mjs"
|
|
21
21
|
},
|
|
22
|
-
"./
|
|
23
|
-
"types": "./
|
|
24
|
-
"default": "./fesm2022/type.
|
|
22
|
+
"./checkboxgroup": {
|
|
23
|
+
"types": "./checkboxgroup/index.d.ts",
|
|
24
|
+
"default": "./fesm2022/type.checkboxgroup.mjs"
|
|
25
25
|
},
|
|
26
26
|
"./dim": {
|
|
27
27
|
"types": "./dim/index.d.ts",
|
|
28
28
|
"default": "./fesm2022/type.dim.mjs"
|
|
29
29
|
},
|
|
30
|
-
"./
|
|
31
|
-
"types": "./
|
|
32
|
-
"default": "./fesm2022/type.
|
|
30
|
+
"./colors": {
|
|
31
|
+
"types": "./colors/index.d.ts",
|
|
32
|
+
"default": "./fesm2022/type.colors.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./dim-indicator": {
|
|
35
|
+
"types": "./dim-indicator/index.d.ts",
|
|
36
|
+
"default": "./fesm2022/type.dim-indicator.mjs"
|
|
33
37
|
},
|
|
34
38
|
"./datetime": {
|
|
35
39
|
"types": "./datetime/index.d.ts",
|
|
36
40
|
"default": "./fesm2022/type.datetime.mjs"
|
|
37
41
|
},
|
|
38
|
-
"./
|
|
39
|
-
"types": "./
|
|
40
|
-
"default": "./fesm2022/type.
|
|
42
|
+
"./grid": {
|
|
43
|
+
"types": "./grid/index.d.ts",
|
|
44
|
+
"default": "./fesm2022/type.grid.mjs"
|
|
41
45
|
},
|
|
42
46
|
"./desc": {
|
|
43
47
|
"types": "./desc/index.d.ts",
|
|
@@ -47,61 +51,61 @@
|
|
|
47
51
|
"types": "./form-field/index.d.ts",
|
|
48
52
|
"default": "./fesm2022/type.form-field.mjs"
|
|
49
53
|
},
|
|
50
|
-
"./
|
|
51
|
-
"types": "./
|
|
52
|
-
"default": "./fesm2022/type.
|
|
54
|
+
"./html": {
|
|
55
|
+
"types": "./html/index.d.ts",
|
|
56
|
+
"default": "./fesm2022/type.html.mjs"
|
|
53
57
|
},
|
|
54
|
-
"./
|
|
55
|
-
"types": "./
|
|
56
|
-
"default": "./fesm2022/type.
|
|
58
|
+
"./label": {
|
|
59
|
+
"types": "./label/index.d.ts",
|
|
60
|
+
"default": "./fesm2022/type.label.mjs"
|
|
57
61
|
},
|
|
58
62
|
"./icon": {
|
|
59
63
|
"types": "./icon/index.d.ts",
|
|
60
64
|
"default": "./fesm2022/type.icon.mjs"
|
|
61
65
|
},
|
|
62
|
-
"./
|
|
63
|
-
"types": "./
|
|
64
|
-
"default": "./fesm2022/type.
|
|
65
|
-
},
|
|
66
|
-
"./html": {
|
|
67
|
-
"types": "./html/index.d.ts",
|
|
68
|
-
"default": "./fesm2022/type.html.mjs"
|
|
66
|
+
"./group": {
|
|
67
|
+
"types": "./group/index.d.ts",
|
|
68
|
+
"default": "./fesm2022/type.group.mjs"
|
|
69
69
|
},
|
|
70
|
-
"./
|
|
71
|
-
"types": "./
|
|
72
|
-
"default": "./fesm2022/type.
|
|
70
|
+
"./line": {
|
|
71
|
+
"types": "./line/index.d.ts",
|
|
72
|
+
"default": "./fesm2022/type.line.mjs"
|
|
73
73
|
},
|
|
74
74
|
"./number": {
|
|
75
75
|
"types": "./number/index.d.ts",
|
|
76
76
|
"default": "./fesm2022/type.number.mjs"
|
|
77
77
|
},
|
|
78
|
+
"./list": {
|
|
79
|
+
"types": "./list/index.d.ts",
|
|
80
|
+
"default": "./fesm2022/type.list.mjs"
|
|
81
|
+
},
|
|
78
82
|
"./overtime": {
|
|
79
83
|
"types": "./overtime/index.d.ts",
|
|
80
84
|
"default": "./fesm2022/type.overtime.mjs"
|
|
81
85
|
},
|
|
82
|
-
"./radio": {
|
|
83
|
-
"types": "./radio/index.d.ts",
|
|
84
|
-
"default": "./fesm2022/type.radio.mjs"
|
|
85
|
-
},
|
|
86
86
|
"./panel": {
|
|
87
87
|
"types": "./panel/index.d.ts",
|
|
88
88
|
"default": "./fesm2022/type.panel.mjs"
|
|
89
89
|
},
|
|
90
|
+
"./radio": {
|
|
91
|
+
"types": "./radio/index.d.ts",
|
|
92
|
+
"default": "./fesm2022/type.radio.mjs"
|
|
93
|
+
},
|
|
90
94
|
"./radiogroup": {
|
|
91
95
|
"types": "./radiogroup/index.d.ts",
|
|
92
96
|
"default": "./fesm2022/type.radiogroup.mjs"
|
|
93
97
|
},
|
|
94
|
-
"./
|
|
95
|
-
"types": "./
|
|
96
|
-
"default": "./fesm2022/type.
|
|
98
|
+
"./reform": {
|
|
99
|
+
"types": "./reform/index.d.ts",
|
|
100
|
+
"default": "./fesm2022/type.reform.mjs"
|
|
97
101
|
},
|
|
98
102
|
"./repeat": {
|
|
99
103
|
"types": "./repeat/index.d.ts",
|
|
100
104
|
"default": "./fesm2022/type.repeat.mjs"
|
|
101
105
|
},
|
|
102
|
-
"./
|
|
103
|
-
"types": "./
|
|
104
|
-
"default": "./fesm2022/type.
|
|
106
|
+
"./select": {
|
|
107
|
+
"types": "./select/index.d.ts",
|
|
108
|
+
"default": "./fesm2022/type.select.mjs"
|
|
105
109
|
},
|
|
106
110
|
"./repeat-card": {
|
|
107
111
|
"types": "./repeat-card/index.d.ts",
|
|
@@ -111,21 +115,17 @@
|
|
|
111
115
|
"types": "./switch/index.d.ts",
|
|
112
116
|
"default": "./fesm2022/type.switch.mjs"
|
|
113
117
|
},
|
|
114
|
-
"./
|
|
115
|
-
"types": "./
|
|
116
|
-
"default": "./fesm2022/type.
|
|
117
|
-
},
|
|
118
|
-
"./select": {
|
|
119
|
-
"types": "./select/index.d.ts",
|
|
120
|
-
"default": "./fesm2022/type.select.mjs"
|
|
118
|
+
"./textarea": {
|
|
119
|
+
"types": "./textarea/index.d.ts",
|
|
120
|
+
"default": "./fesm2022/type.textarea.mjs"
|
|
121
121
|
},
|
|
122
122
|
"./text": {
|
|
123
123
|
"types": "./text/index.d.ts",
|
|
124
124
|
"default": "./fesm2022/type.text.mjs"
|
|
125
125
|
},
|
|
126
|
-
"./
|
|
127
|
-
"types": "./
|
|
128
|
-
"default": "./fesm2022/type.
|
|
126
|
+
"./tabs": {
|
|
127
|
+
"types": "./tabs/index.d.ts",
|
|
128
|
+
"default": "./fesm2022/type.tabs.mjs"
|
|
129
129
|
},
|
|
130
130
|
"./textcode": {
|
|
131
131
|
"types": "./textcode/index.d.ts",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FieldType, FieldTypeConfig } from '@kre-form/core';
|
|
2
|
+
import { GramGlobalService } from '@ebuilding/base/shared.srv/global.event';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DeonNzFieldTextInd extends FieldType<FieldTypeConfig> {
|
|
5
|
+
globalSrv: GramGlobalService;
|
|
6
|
+
get text(): any;
|
|
7
|
+
constructor(globalSrv: GramGlobalService);
|
|
8
|
+
btnRefInd(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldTextInd, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldTextInd, "deon-field-nz-text_ind", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|