@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
package/fesm2022/type.switch.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as i3 from '@
|
|
5
|
-
import { FieldType, FormlyModule } from '@
|
|
4
|
+
import * as i3 from '@ebuilding-form/core';
|
|
5
|
+
import { FieldType, FormlyModule } from '@ebuilding-form/core';
|
|
6
6
|
import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
|
|
7
7
|
import * as i1 from '@angular/forms';
|
|
8
8
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
@@ -17,7 +17,7 @@ class DeonNzFieldSwitch extends FieldType {
|
|
|
17
17
|
};
|
|
18
18
|
switchValue = false;
|
|
19
19
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i2.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i3
|
|
20
|
+
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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i2.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i3.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21
21
|
}
|
|
22
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldSwitch, decorators: [{
|
|
23
23
|
type: Component,
|
|
@@ -30,21 +30,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
30
30
|
], template: "<nz-switch [formControl]=\"formControl\" [formlyAttributes]=\"field\" [nzDisabled]=\"!editor\"></nz-switch>" }]
|
|
31
31
|
}] });
|
|
32
32
|
|
|
33
|
+
function withFormlyFieldSwitch() {
|
|
34
|
+
return {
|
|
35
|
+
types: [
|
|
36
|
+
{
|
|
37
|
+
name: 'switch',
|
|
38
|
+
component: DeonNzFieldSwitch,
|
|
39
|
+
wrappers: ['formly-form-field'],
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
33
45
|
class DeonNzSwitchModule {
|
|
34
46
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
35
47
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSwitchModule, imports: [CommonModule,
|
|
36
48
|
DeonNzFormFieldModule, i3.FormlyModule] });
|
|
37
49
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSwitchModule, imports: [CommonModule,
|
|
38
50
|
DeonNzFormFieldModule,
|
|
39
|
-
FormlyModule.forChild(
|
|
40
|
-
types: [
|
|
41
|
-
{
|
|
42
|
-
name: 'switch',
|
|
43
|
-
component: DeonNzFieldSwitch,
|
|
44
|
-
wrappers: ['formly-form-field'],
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
})] });
|
|
51
|
+
FormlyModule.forChild(withFormlyFieldSwitch())] });
|
|
48
52
|
}
|
|
49
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzSwitchModule, decorators: [{
|
|
50
54
|
type: NgModule,
|
|
@@ -52,15 +56,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
52
56
|
imports: [
|
|
53
57
|
CommonModule,
|
|
54
58
|
DeonNzFormFieldModule,
|
|
55
|
-
FormlyModule.forChild(
|
|
56
|
-
types: [
|
|
57
|
-
{
|
|
58
|
-
name: 'switch',
|
|
59
|
-
component: DeonNzFieldSwitch,
|
|
60
|
-
wrappers: ['formly-form-field'],
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
}),
|
|
59
|
+
FormlyModule.forChild(withFormlyFieldSwitch()),
|
|
64
60
|
],
|
|
65
61
|
}]
|
|
66
62
|
}] });
|
|
@@ -69,5 +65,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
69
65
|
* Generated bundle index. Do not edit.
|
|
70
66
|
*/
|
|
71
67
|
|
|
72
|
-
export { DeonNzFieldSwitch, DeonNzSwitchModule };
|
|
68
|
+
export { DeonNzFieldSwitch, DeonNzSwitchModule, withFormlyFieldSwitch };
|
|
73
69
|
//# sourceMappingURL=type.switch.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.switch.mjs","sources":["../../../../packages/form/switch/src/default/index.ts","../../../../packages/form/switch/src/default/index.html","../../../../packages/form/switch/src/index.module.ts","../../../../packages/form/switch/type.switch.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { FormlyModule, FieldType, FieldTypeConfig } from '@
|
|
1
|
+
{"version":3,"file":"type.switch.mjs","sources":["../../../../packages/form/switch/src/default/index.ts","../../../../packages/form/switch/src/default/index.html","../../../../packages/form/switch/src/app.config.ts","../../../../packages/form/switch/src/index.module.ts","../../../../packages/form/switch/type.switch.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { FormlyModule, FieldType, FieldTypeConfig } from '@ebuilding-form/core';\nimport _ from 'lodash';\n\n@Component({\n selector: 'deon-nz-field-switch',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n NzSwitchModule,\n FormlyModule\n ]\n})\nexport class DeonNzFieldSwitch extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n type: '',\n },\n };\n switchValue = false;\n}\n","<nz-switch [formControl]=\"formControl\" [formlyAttributes]=\"field\" [nzDisabled]=\"!editor\"></nz-switch>","import { ConfigOption } from '@ebuilding-form/core';\nimport { DeonNzFieldSwitch } from './default/index';\n\nexport function withFormlyFieldSwitch(): ConfigOption {\n return {\n types: [\n {\n name: 'switch',\n component: DeonNzFieldSwitch,\n wrappers: ['formly-form-field'],\n }\n ]\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ebuilding-form/core';\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\nimport { withFormlyFieldSwitch } from './app.config';\n\n\n@NgModule({\n imports: [\n CommonModule,\n DeonNzFormFieldModule,\n FormlyModule.forChild(withFormlyFieldSwitch()),\n\n ],\n})\nexport class DeonNzSwitchModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAoBM,MAAO,iBAAkB,SAAQ,SAA0B,CAAA;AACtD,IAAA,cAAc,GAAG;AACxB,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,EAAE;AACT,SAAA;KAC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AA,CAAA;kBAR9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,qBAAqB;AACrB,wBAAA,YAAY,CAAC,QAAQ,CAAC,qBAAqB,EAAE,CAAC;AAE/C,qBAAA;AACF,iBAAA;;;ACdD;;AAEG;;;;"}
|
package/fesm2022/type.tabs.mjs
CHANGED
|
@@ -1,15 +1,37 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
-
import * as
|
|
4
|
-
import { FieldType, FormlyModule } from '@
|
|
3
|
+
import * as i2 from '@ebuilding-form/core';
|
|
4
|
+
import { FieldType, FormlyModule } from '@ebuilding-form/core';
|
|
5
5
|
import * as i1 from '@angular/common';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
-
import * as i2 from 'ng-zorro-antd/tabs';
|
|
8
|
+
import * as i2$1 from 'ng-zorro-antd/tabs';
|
|
9
9
|
import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
|
10
10
|
import { NzGridModule } from 'ng-zorro-antd/grid';
|
|
11
11
|
import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
|
|
12
12
|
|
|
13
|
+
class DeonNzFieldTab extends FieldType {
|
|
14
|
+
defaultOptions = {
|
|
15
|
+
props: {
|
|
16
|
+
type: '',
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTab, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
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: i2.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTab, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'deon-nz-field-tab', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
25
|
+
CommonModule,
|
|
26
|
+
FormsModule,
|
|
27
|
+
ReactiveFormsModule,
|
|
28
|
+
DeonNzFormFieldModule,
|
|
29
|
+
NzTabsModule,
|
|
30
|
+
NzGridModule,
|
|
31
|
+
FormlyModule
|
|
32
|
+
], 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"] }]
|
|
33
|
+
}] });
|
|
34
|
+
|
|
13
35
|
class DeonNzFieldTabs extends FieldType {
|
|
14
36
|
defaultOptions = {
|
|
15
37
|
props: {
|
|
@@ -26,7 +48,7 @@ class DeonNzFieldTabs extends FieldType {
|
|
|
26
48
|
//(<any>this.options)._buildForm(true);
|
|
27
49
|
}
|
|
28
50
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
-
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.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.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:
|
|
51
|
+
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$1.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$1.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: i2.LegacyFormlyField, selector: "formly-field" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
30
52
|
}
|
|
31
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTabs, decorators: [{
|
|
32
54
|
type: Component,
|
|
@@ -41,60 +63,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
41
63
|
], 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>" }]
|
|
42
64
|
}] });
|
|
43
65
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
66
|
+
function withFormlyFieldTab() {
|
|
67
|
+
return {
|
|
68
|
+
types: [
|
|
69
|
+
{
|
|
70
|
+
name: 'tabs',
|
|
71
|
+
component: DeonNzFieldTabs,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'tab',
|
|
75
|
+
component: DeonNzFieldTab,
|
|
76
|
+
}
|
|
77
|
+
]
|
|
49
78
|
};
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTab, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
-
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: i3.FormlyField, selector: "formly-field", inputs: ["field", "hideLabel", "isTable", "dimConfig", "tableConfig", "editor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
52
79
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTab, decorators: [{
|
|
54
|
-
type: Component,
|
|
55
|
-
args: [{ selector: 'deon-nz-field-tab', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
56
|
-
CommonModule,
|
|
57
|
-
FormsModule,
|
|
58
|
-
ReactiveFormsModule,
|
|
59
|
-
DeonNzFormFieldModule,
|
|
60
|
-
NzTabsModule,
|
|
61
|
-
NzGridModule,
|
|
62
|
-
FormlyModule
|
|
63
|
-
], 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"] }]
|
|
64
|
-
}] });
|
|
65
80
|
|
|
66
81
|
class DeonNzTabsModule {
|
|
67
82
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
68
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, imports: [
|
|
69
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, imports: [FormlyModule.forChild(
|
|
70
|
-
types: [
|
|
71
|
-
{
|
|
72
|
-
name: 'tabs',
|
|
73
|
-
component: DeonNzFieldTabs,
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
name: 'tab',
|
|
77
|
-
component: DeonNzFieldTab,
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
})] });
|
|
83
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, imports: [i2.FormlyModule] });
|
|
84
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, imports: [FormlyModule.forChild(withFormlyFieldTab())] });
|
|
81
85
|
}
|
|
82
86
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, decorators: [{
|
|
83
87
|
type: NgModule,
|
|
84
88
|
args: [{
|
|
85
89
|
imports: [
|
|
86
|
-
FormlyModule.forChild(
|
|
87
|
-
types: [
|
|
88
|
-
{
|
|
89
|
-
name: 'tabs',
|
|
90
|
-
component: DeonNzFieldTabs,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
name: 'tab',
|
|
94
|
-
component: DeonNzFieldTab,
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
}),
|
|
90
|
+
FormlyModule.forChild(withFormlyFieldTab()),
|
|
98
91
|
],
|
|
99
92
|
}]
|
|
100
93
|
}] });
|
|
@@ -103,5 +96,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
103
96
|
* Generated bundle index. Do not edit.
|
|
104
97
|
*/
|
|
105
98
|
|
|
106
|
-
export { DeonNzFieldTab, DeonNzFieldTabs, DeonNzTabsModule };
|
|
99
|
+
export { DeonNzFieldTab, DeonNzFieldTabs, DeonNzTabsModule, withFormlyFieldTab };
|
|
107
100
|
//# sourceMappingURL=type.tabs.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.tabs.mjs","sources":["../../../../packages/form/tabs/src/
|
|
1
|
+
{"version":3,"file":"type.tabs.mjs","sources":["../../../../packages/form/tabs/src/tab/index.ts","../../../../packages/form/tabs/src/tab/index.html","../../../../packages/form/tabs/src/default/index.ts","../../../../packages/form/tabs/src/default/index.html","../../../../packages/form/tabs/src/app.config.ts","../../../../packages/form/tabs/src/index.module.ts","../../../../packages/form/tabs/type.tabs.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\nimport { NzGridModule } from 'ng-zorro-antd/grid';\nimport { FormlyModule, FieldType, FieldTypeConfig } from '@ebuilding-form/core';\n\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\nimport _ from 'lodash';\n\n@Component({\n selector: 'deon-nz-field-tab',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n DeonNzFormFieldModule,\n NzTabsModule,\n NzGridModule,\n FormlyModule\n ]\n})\nexport class DeonNzFieldTab extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n type: '',\n },\n };\n}\n","<ng-container *ngFor=\"let item of field.fieldGroup\">\n <formly-field [field]=\"item\"></formly-field>\n</ng-container>","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\nimport { NzGridModule } from 'ng-zorro-antd/grid';\nimport { FormlyModule, FieldType, FieldTypeConfig } from '@ebuilding-form/core';\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\nimport _ from 'lodash';\n@Component({\n selector: 'deon-nz-field-tabs',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n DeonNzFormFieldModule,\n NzTabsModule,\n NzGridModule,\n FormlyModule\n ]\n})\nexport class DeonNzFieldTabs extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n type: '',\n },\n };\n\n get clasName() {\n if (this.props && this.props[\"className\"]) {\n return this.props[\"className\"];\n }\n return null;\n }\n\n selectChange(e: any) {\n //(<any>this.options)._buildForm(true);\n }\n}\n","<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>","import { ConfigOption } from '@ebuilding-form/core';\nimport { DeonNzFieldTab } from './tab/index';\nimport { DeonNzFieldTabs } from './default/index';\n\nexport function withFormlyFieldTab(): ConfigOption {\n return {\n types: [\n {\n name: 'tabs',\n component: DeonNzFieldTabs,\n },\n {\n name: 'tab',\n component: DeonNzFieldTab,\n }\n ]\n };\n}\n","import { NgModule } from '@angular/core';\nimport { FormlyModule } from '@ebuilding-form/core';\nimport { withFormlyFieldTab } from './app.config';\n\n\n@NgModule({\n imports: [\n FormlyModule.forChild(withFormlyFieldTab()),\n\n ],\n})\nexport class DeonNzTabsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i3","i1"],"mappings":";;;;;;;;;;;;AA0BM,MAAO,cAAe,SAAQ,SAA0B,CAAA;AACnD,IAAA,cAAc,GAAG;AACxB,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,EAAE;AACT,SAAA;KACF;wGALU,cAAc,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SA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AAhB,gBAAgB,EAAA,OAAA,EAAA,CAAAC,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAJzB,YAAY,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,CAAA,EAAA,CAAA;;4FAIlC,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;AACP,wBAAA,YAAY,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;AAE5C,qBAAA;AACF,iBAAA;;;ACVD;;AAEG;;;;"}
|
package/fesm2022/type.text.mjs
CHANGED
|
@@ -2,14 +2,14 @@ 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$1 from '@
|
|
6
|
-
import { FieldType, FormlyModule } from '@
|
|
5
|
+
import * as i4$1 from '@ebuilding-form/core';
|
|
6
|
+
import { FieldType, FormlyModule } from '@ebuilding-form/core';
|
|
7
|
+
import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
|
|
7
8
|
import * as i2 from '@angular/forms';
|
|
8
9
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
9
10
|
import * as i4 from 'ng-zorro-antd/input';
|
|
10
11
|
import { NzInputModule } from 'ng-zorro-antd/input';
|
|
11
12
|
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
|
|
12
|
-
import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
|
|
13
13
|
import * as i1$1 from '@ebuilding/base/shared.srv/global.event';
|
|
14
14
|
|
|
15
15
|
class DeonNzFieldText extends FieldType {
|
|
@@ -25,7 +25,7 @@ class DeonNzFieldText extends FieldType {
|
|
|
25
25
|
{{ text }}
|
|
26
26
|
</div>
|
|
27
27
|
<ng-template #tmpField> <input nz-input [formControl]="formControl" [type]="'text'" [formlyAttributes]="field" /> </ng-template>
|
|
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
|
|
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.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
29
29
|
}
|
|
30
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldText, decorators: [{
|
|
31
31
|
type: Component,
|
|
@@ -82,7 +82,7 @@ class DeonNzFieldTextInd extends FieldType {
|
|
|
82
82
|
<a (click)="btnRefInd()">我的指标</a>
|
|
83
83
|
</ng-template>
|
|
84
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
|
|
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.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
86
86
|
}
|
|
87
87
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextInd, decorators: [{
|
|
88
88
|
type: Component,
|
|
@@ -114,44 +114,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
114
114
|
}]
|
|
115
115
|
}], ctorParameters: () => [{ type: i1$1.GramGlobalService }] });
|
|
116
116
|
|
|
117
|
+
function withFormlyFieldText() {
|
|
118
|
+
return {
|
|
119
|
+
types: [
|
|
120
|
+
{
|
|
121
|
+
name: 'text',
|
|
122
|
+
component: DeonNzFieldText,
|
|
123
|
+
wrappers: ['formly-form-field'],
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: 'textInd',
|
|
127
|
+
component: DeonNzFieldTextInd,
|
|
128
|
+
wrappers: ['formly-form-field'],
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
117
134
|
class DeonNzTextModule {
|
|
118
135
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
119
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule,
|
|
136
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule,
|
|
137
|
+
DeonNzFormFieldModule, i4$1.FormlyModule] });
|
|
120
138
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
{
|
|
124
|
-
name: 'text',
|
|
125
|
-
component: DeonNzFieldText,
|
|
126
|
-
wrappers: ['formly-form-field'],
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
name: 'textInd',
|
|
130
|
-
component: DeonNzFieldTextInd,
|
|
131
|
-
wrappers: ['formly-form-field'],
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
})] });
|
|
139
|
+
DeonNzFormFieldModule,
|
|
140
|
+
FormlyModule.forChild(withFormlyFieldText())] });
|
|
135
141
|
}
|
|
136
142
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, decorators: [{
|
|
137
143
|
type: NgModule,
|
|
138
144
|
args: [{
|
|
139
145
|
imports: [
|
|
140
146
|
CommonModule,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
{
|
|
144
|
-
name: 'text',
|
|
145
|
-
component: DeonNzFieldText,
|
|
146
|
-
wrappers: ['formly-form-field'],
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
name: 'textInd',
|
|
150
|
-
component: DeonNzFieldTextInd,
|
|
151
|
-
wrappers: ['formly-form-field'],
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
}),
|
|
147
|
+
DeonNzFormFieldModule,
|
|
148
|
+
FormlyModule.forChild(withFormlyFieldText()),
|
|
155
149
|
],
|
|
156
150
|
}]
|
|
157
151
|
}] });
|
|
@@ -160,5 +154,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
160
154
|
* Generated bundle index. Do not edit.
|
|
161
155
|
*/
|
|
162
156
|
|
|
163
|
-
export { DeonNzFieldText, DeonNzTextModule };
|
|
157
|
+
export { DeonNzFieldText, DeonNzTextModule, withFormlyFieldText };
|
|
164
158
|
//# sourceMappingURL=type.text.mjs.map
|
|
@@ -1 +1 @@
|
|
|
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'],\n },\n ],\n }),\n ],\n})\nexport class DeonNzTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3","i4","i1","i2","i5"],"mappings":";;;;;;;;;;;;;;AA2BM,MAAO,eAAgB,SAAQ,SAA0B,CAAA;AAC7D,IAAA,IAAa,IAAI,GAAA;AACf,QAAA,IAAI,IAAI,CAAC,KAAO,IAAI,IAAI,CAAC,KAA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ACL,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,eAAe;wBAC1B,QAAQ,EAAE,CAAC,mBAAmB,CAAC;AAChC,qBAAA;AACD,oBAAA;AACE,wBAAA,IAAI,EAAE,SAAS;AACf,wBAAA,SAAS,EAAE,kBAAkB;wBAC7B,QAAQ,EAAE,CAAC,mBAAmB,CAAC;AAChC,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA;;4FAGO,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAnB5B,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;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,SAAS;AACf,oCAAA,SAAS,EAAE,kBAAkB;oCAC7B,QAAQ,EAAE,CAAC,mBAAmB,CAAC;AAChC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;ACxBD;;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.config.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 '@ebuilding-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 '@ebuilding-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 { ConfigOption } from '@ebuilding-form/core';\nimport { DeonNzFieldText } from './text.type';\nimport { DeonNzFieldTextInd } from './text_ind.type';\n\nexport function withFormlyFieldText(): ConfigOption {\n return {\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'],\n },\n ],\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ebuilding-form/core';\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\nimport { withFormlyFieldText } from './text.config';\n\n@NgModule({\n imports: [\n CommonModule,\n DeonNzFormFieldModule,\n FormlyModule.forChild(withFormlyFieldText()),\n ],\n})\nexport class DeonNzTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3","i4","i1","i2","i5"],"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,IA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EAAA,CAAA;kBAP5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,qBAAqB;AACrB,wBAAA,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EAAE,CAAC;AAC7C,qBAAA;AACF,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
-
import * as i4 from '@
|
|
4
|
-
import { FieldType, FormlyModule } from '@
|
|
3
|
+
import * as i4 from '@ebuilding-form/core';
|
|
4
|
+
import { FieldType, FormlyModule } from '@ebuilding-form/core';
|
|
5
5
|
import * as i1 from '@angular/common';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
import * as i2 from '@angular/forms';
|
|
@@ -70,7 +70,7 @@ class DeonNzFieldTextArea extends FieldType {
|
|
|
70
70
|
></textarea>
|
|
71
71
|
</ng-template>
|
|
72
72
|
</ng-template>
|
|
73
|
-
`, 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.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: i4
|
|
73
|
+
`, 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.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: i4.LegacyFormlyAttributes, selector: "[formlyAttributes]" }, { kind: "ngmodule", type: GramPipeModule }, { kind: "pipe", type: i5.SafeHtmlPipe, name: "safeHtml" }, { kind: "ngmodule", type: QuillModule }, { kind: "component", type: i6.QuillEditorComponent, selector: "quill-editor" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
74
74
|
}
|
|
75
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextArea, decorators: [{
|
|
76
76
|
type: Component,
|
|
@@ -116,32 +116,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
116
116
|
}]
|
|
117
117
|
}] });
|
|
118
118
|
|
|
119
|
+
function withFormlyFieldTextArea() {
|
|
120
|
+
return {
|
|
121
|
+
types: [
|
|
122
|
+
{
|
|
123
|
+
name: 'textarea',
|
|
124
|
+
component: DeonNzFieldTextArea,
|
|
125
|
+
wrappers: ['formly-form-field'],
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
119
131
|
class DeonNzTextAreaModule {
|
|
120
132
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
121
133
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, imports: [i4.FormlyModule] });
|
|
122
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, imports: [FormlyModule.forChild(
|
|
123
|
-
types: [
|
|
124
|
-
{
|
|
125
|
-
name: 'textarea',
|
|
126
|
-
component: DeonNzFieldTextArea,
|
|
127
|
-
wrappers: ['formly-form-field'],
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
})] });
|
|
134
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, imports: [FormlyModule.forChild(withFormlyFieldTextArea())] });
|
|
131
135
|
}
|
|
132
136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, decorators: [{
|
|
133
137
|
type: NgModule,
|
|
134
138
|
args: [{
|
|
135
139
|
imports: [
|
|
136
|
-
FormlyModule.forChild(
|
|
137
|
-
types: [
|
|
138
|
-
{
|
|
139
|
-
name: 'textarea',
|
|
140
|
-
component: DeonNzFieldTextArea,
|
|
141
|
-
wrappers: ['formly-form-field'],
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
}),
|
|
140
|
+
FormlyModule.forChild(withFormlyFieldTextArea()),
|
|
145
141
|
],
|
|
146
142
|
}]
|
|
147
143
|
}] });
|
|
@@ -150,5 +146,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
150
146
|
* Generated bundle index. Do not edit.
|
|
151
147
|
*/
|
|
152
148
|
|
|
153
|
-
export { DeonNzFieldTextArea, DeonNzTextAreaModule };
|
|
149
|
+
export { DeonNzFieldTextArea, DeonNzTextAreaModule, withFormlyFieldTextArea };
|
|
154
150
|
//# sourceMappingURL=type.textarea.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.textarea.mjs","sources":["../../../../packages/form/textarea/src/textarea.type.ts","../../../../packages/form/textarea/src/textarea.module.ts","../../../../packages/form/textarea/type.textarea.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 { FormlyModule, FieldType, FieldTypeConfig } from '@
|
|
1
|
+
{"version":3,"file":"type.textarea.mjs","sources":["../../../../packages/form/textarea/src/textarea.type.ts","../../../../packages/form/textarea/src/app.config.ts","../../../../packages/form/textarea/src/textarea.module.ts","../../../../packages/form/textarea/type.textarea.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 { FormlyModule, FieldType, FieldTypeConfig } from '@ebuilding-form/core';\n\nimport { GramPipeModule } from '@ebuilding/base/shared.pipe';\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\nimport { QuillModule } from 'ngx-quill';\n\n@Component({\n selector: 'deon-nz-field-textarea',\n template: `\n <div\n class=\"field-text deon-text deon-text-textarea\"\n [ngStyle]=\"{ 'min-height': props.rows != undefined ? 26 * props.rows + 'px' : 26 + 'px' }\"\n *ngIf=\"editor == false; else tmpField\"\n [innerHtml]=\"text | safeHtml\"\n >\n {{ text }}\n </div>\n <ng-template #tmpField>\n <ng-container *ngIf=\"props!! && props.type == 'richtext'; else tmpTextare\">\n <quill-editor [formControl]=\"formControl\" [formlyAttributes]=\"field\" \n ></quill-editor>\n </ng-container>\n\n <ng-template #tmpTextare>\n <textarea\n nz-input\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [rows]=\"props.rows ? props.rows : 1\"\n style=\"resize:none\"\n ></textarea>\n </ng-template>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n NzInputModule,\n DeonNzFormFieldModule,\n FormlyModule,\n GramPipeModule,\n QuillModule\n ]\n})\nexport class DeonNzFieldTextArea extends FieldType<FieldTypeConfig> {\n override get text(): string {\n if (!this.editor && this.model && this.field?.key) {\n let value = this.model[this.field.key.toString()] || '';\n return value.replace(/\\n/g, '<br>').replace(/ /g, ' ');\n }\n return this.formControl?.value || '';\n }\n public replaceAll(str: string, find: string, replace: string) {\n return str.replace(new RegExp(find, 'g'), replace);\n }\n\n onQuillTextChange(event: any) {\n // if (event.text) {\n // this.formControl.patchValue(event.editor.root.innerHTML, { emitEvent: false });\n // this.formControl.markAsTouched();\n // } \n\n this.formControl.patchValue(event.editor.root.innerHTML, { emitEvent: false });\n this.formControl.markAsTouched();\n }\n\n onContentChanged(event: any) {\n if (event.text) {\n this.formControl.patchValue(event.editor.root.innerHTML, { emitEvent: false });\n }\n }\n\n onSelectionChanged(event: any) {\n }\n\n onFocus(event: any) {\n }\n\n onBlur(event: any) {\n }\n}\n","import { ConfigOption } from '@ebuilding-form/core';\nimport { DeonNzFieldTextArea } from './textarea.type';\n\nexport function withFormlyFieldTextArea(): ConfigOption {\n return {\n types: [\n {\n name: 'textarea',\n component: DeonNzFieldTextArea,\n wrappers: ['formly-form-field'],\n }\n ]\n };\n}\n","import { NgModule } from '@angular/core';\nimport { FormlyModule } from '@ebuilding-form/core';\n\nimport { withFormlyFieldTextArea } from './app.config';\n\n\n@NgModule({\n imports: [\n FormlyModule.forChild(withFormlyFieldTextArea()),\n ],\n})\nexport class DeonNzTextAreaModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AAkDM,MAAO,mBAAoB,SAAQ,SAA0B,CAAA;AACjE,IAAA,IAAa,IAAI,GAAA;AACf,QAAA,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;AACjD,YAAA,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE;AACvD,YAAA,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;;AAE7D,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,EAAE;;AAE/B,IAAA,UAAU,CAAC,GAAW,EAAE,IAAY,EAAE,OAAe,EAAA;AAC1D,QAAA,OAAO,GAAG,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC;;AAGpD,IAAA,iBAAiB,CAAC,KAAU,EAAA;;;;;AAM1B,QAAA,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,MA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