@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.
Files changed (184) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/checkbox/index.d.ts +1 -0
  4. package/checkbox/src/checkbox.module.d.ts +9 -0
  5. package/checkbox/src/checkbox.type.d.ts +11 -0
  6. package/checkbox/src/public_api.d.ts +2 -0
  7. package/checkboxgroup/index.d.ts +1 -0
  8. package/checkboxgroup/src/checkboxgroup.module.d.ts +9 -0
  9. package/checkboxgroup/src/checkboxgroup.type.d.ts +19 -0
  10. package/checkboxgroup/src/public_api.d.ts +2 -0
  11. package/colors/index.d.ts +1 -0
  12. package/colors/src/default/index.d.ts +11 -0
  13. package/colors/src/index.module.d.ts +8 -0
  14. package/colors/src/public_api.d.ts +2 -0
  15. package/datetime/index.d.ts +1 -0
  16. package/datetime/src/datetime.module.d.ts +9 -0
  17. package/datetime/src/datetime.type.d.ts +18 -0
  18. package/datetime/src/public_api.d.ts +2 -0
  19. package/desc/index.d.ts +1 -0
  20. package/desc/src/desc.module.d.ts +9 -0
  21. package/desc/src/desc.type.d.ts +6 -0
  22. package/desc/src/public_api.d.ts +2 -0
  23. package/dim/index.d.ts +1 -0
  24. package/dim/src/default/index.d.ts +16 -0
  25. package/dim/src/dim.module.d.ts +9 -0
  26. package/dim/src/public_api.d.ts +2 -0
  27. package/dim-indicator/index.d.ts +1 -0
  28. package/dim-indicator/src/assess/index.d.ts +17 -0
  29. package/dim-indicator/src/default/index.d.ts +19 -0
  30. package/dim-indicator/src/finish/index.d.ts +16 -0
  31. package/dim-indicator/src/indicator.module.d.ts +8 -0
  32. package/dim-indicator/src/public_api.d.ts +2 -0
  33. package/fesm2022/ebuilding-form.mjs +3337 -0
  34. package/fesm2022/ebuilding-form.mjs.map +1 -0
  35. package/fesm2022/type.checkbox.mjs +93 -0
  36. package/fesm2022/type.checkbox.mjs.map +1 -0
  37. package/fesm2022/type.checkboxgroup.mjs +168 -0
  38. package/fesm2022/type.checkboxgroup.mjs.map +1 -0
  39. package/fesm2022/type.colors.mjs +74 -0
  40. package/fesm2022/type.colors.mjs.map +1 -0
  41. package/fesm2022/type.datetime.mjs +312 -0
  42. package/fesm2022/type.datetime.mjs.map +1 -0
  43. package/fesm2022/type.desc.mjs +67 -0
  44. package/fesm2022/type.desc.mjs.map +1 -0
  45. package/fesm2022/type.dim-indicator.mjs +187 -0
  46. package/fesm2022/type.dim-indicator.mjs.map +1 -0
  47. package/fesm2022/type.dim.mjs +101 -0
  48. package/fesm2022/type.dim.mjs.map +1 -0
  49. package/fesm2022/type.form-field.mjs +147 -0
  50. package/fesm2022/type.form-field.mjs.map +1 -0
  51. package/fesm2022/type.grid.mjs +126 -0
  52. package/fesm2022/type.grid.mjs.map +1 -0
  53. package/fesm2022/type.group.mjs +113 -0
  54. package/fesm2022/type.group.mjs.map +1 -0
  55. package/fesm2022/type.html.mjs +88 -0
  56. package/fesm2022/type.html.mjs.map +1 -0
  57. package/fesm2022/type.icon.mjs +143 -0
  58. package/fesm2022/type.icon.mjs.map +1 -0
  59. package/fesm2022/type.label.mjs +71 -0
  60. package/fesm2022/type.label.mjs.map +1 -0
  61. package/fesm2022/type.line.mjs +78 -0
  62. package/fesm2022/type.line.mjs.map +1 -0
  63. package/fesm2022/type.list.mjs +84 -0
  64. package/fesm2022/type.list.mjs.map +1 -0
  65. package/fesm2022/type.number.mjs +196 -0
  66. package/fesm2022/type.number.mjs.map +1 -0
  67. package/fesm2022/type.overtime.mjs +301 -0
  68. package/fesm2022/type.overtime.mjs.map +1 -0
  69. package/fesm2022/type.panel.mjs +117 -0
  70. package/fesm2022/type.panel.mjs.map +1 -0
  71. package/fesm2022/type.radio.mjs +71 -0
  72. package/fesm2022/type.radio.mjs.map +1 -0
  73. package/fesm2022/type.radiogroup.mjs +138 -0
  74. package/fesm2022/type.radiogroup.mjs.map +1 -0
  75. package/fesm2022/type.reform.mjs +91 -0
  76. package/fesm2022/type.reform.mjs.map +1 -0
  77. package/fesm2022/type.repeat-card.mjs +204 -0
  78. package/fesm2022/type.repeat-card.mjs.map +1 -0
  79. package/fesm2022/type.repeat.mjs +209 -0
  80. package/fesm2022/type.repeat.mjs.map +1 -0
  81. package/fesm2022/type.select.mjs +224 -0
  82. package/fesm2022/type.select.mjs.map +1 -0
  83. package/fesm2022/type.switch.mjs +73 -0
  84. package/fesm2022/type.switch.mjs.map +1 -0
  85. package/fesm2022/type.tabs.mjs +107 -0
  86. package/fesm2022/type.tabs.mjs.map +1 -0
  87. package/fesm2022/type.text.mjs +89 -0
  88. package/fesm2022/type.text.mjs.map +1 -0
  89. package/fesm2022/type.textarea.mjs +158 -0
  90. package/fesm2022/type.textarea.mjs.map +1 -0
  91. package/fesm2022/type.textcode.mjs +126 -0
  92. package/fesm2022/type.textcode.mjs.map +1 -0
  93. package/form-field/index.d.ts +1 -0
  94. package/form-field/src/form-field.module.d.ts +10 -0
  95. package/form-field/src/form-field.wrapper.d.ts +9 -0
  96. package/form-field/src/public_api.d.ts +2 -0
  97. package/grid/index.d.ts +1 -0
  98. package/grid/src/grid.module.d.ts +11 -0
  99. package/grid/src/grid.type.d.ts +11 -0
  100. package/grid/src/public_api.d.ts +2 -0
  101. package/group/index.d.ts +1 -0
  102. package/group/src/group.module.d.ts +11 -0
  103. package/group/src/group.type.d.ts +11 -0
  104. package/group/src/public_api.d.ts +2 -0
  105. package/html/index.d.ts +1 -0
  106. package/html/src/html.module.d.ts +10 -0
  107. package/html/src/html.type.d.ts +12 -0
  108. package/html/src/public_api.d.ts +2 -0
  109. package/icon/index.d.ts +1 -0
  110. package/icon/src/default/index.d.ts +14 -0
  111. package/icon/src/index.module.d.ts +14 -0
  112. package/icon/src/public_api.d.ts +2 -0
  113. package/index.d.ts +28 -0
  114. package/label/index.d.ts +1 -0
  115. package/label/src/label.module.d.ts +10 -0
  116. package/label/src/label.type.d.ts +9 -0
  117. package/label/src/public_api.d.ts +2 -0
  118. package/line/index.d.ts +1 -0
  119. package/line/src/line.module.d.ts +11 -0
  120. package/line/src/line.type.d.ts +11 -0
  121. package/line/src/public_api.d.ts +2 -0
  122. package/list/index.d.ts +1 -0
  123. package/list/src/list.module.d.ts +11 -0
  124. package/list/src/list.type.d.ts +9 -0
  125. package/list/src/public_api.d.ts +2 -0
  126. package/number/index.d.ts +1 -0
  127. package/number/src/number.module.d.ts +9 -0
  128. package/number/src/number.type.d.ts +19 -0
  129. package/number/src/number_rate.type.d.ts +9 -0
  130. package/number/src/public_api.d.ts +3 -0
  131. package/overtime/index.d.ts +1 -0
  132. package/overtime/src/default/index.d.ts +77 -0
  133. package/overtime/src/index.module.d.ts +13 -0
  134. package/overtime/src/public_api.d.ts +2 -0
  135. package/package.json +136 -0
  136. package/panel/index.d.ts +1 -0
  137. package/panel/src/panel.module.d.ts +11 -0
  138. package/panel/src/panel.type.d.ts +12 -0
  139. package/panel/src/public_api.d.ts +2 -0
  140. package/radio/index.d.ts +1 -0
  141. package/radio/src/public_api.d.ts +2 -0
  142. package/radio/src/radio.module.d.ts +8 -0
  143. package/radio/src/radio.type.d.ts +11 -0
  144. package/radiogroup/index.d.ts +1 -0
  145. package/radiogroup/src/public_api.d.ts +2 -0
  146. package/radiogroup/src/radiogroup.module.d.ts +8 -0
  147. package/radiogroup/src/radiogroup.type.d.ts +17 -0
  148. package/reform/index.d.ts +1 -0
  149. package/reform/src/public_api.d.ts +2 -0
  150. package/reform/src/reform.module.d.ts +11 -0
  151. package/reform/src/reform.type.d.ts +11 -0
  152. package/repeat/index.d.ts +1 -0
  153. package/repeat/src/default/index.d.ts +28 -0
  154. package/repeat/src/index.module.d.ts +17 -0
  155. package/repeat/src/public_api.d.ts +2 -0
  156. package/repeat-card/index.d.ts +1 -0
  157. package/repeat-card/src/default/index.d.ts +28 -0
  158. package/repeat-card/src/index.module.d.ts +18 -0
  159. package/repeat-card/src/public_api.d.ts +2 -0
  160. package/select/index.d.ts +1 -0
  161. package/select/src/public_api.d.ts +2 -0
  162. package/select/src/select.module.d.ts +9 -0
  163. package/select/src/select.type.d.ts +23 -0
  164. package/switch/index.d.ts +1 -0
  165. package/switch/src/default/index.d.ts +12 -0
  166. package/switch/src/index.module.d.ts +9 -0
  167. package/switch/src/public_api.d.ts +2 -0
  168. package/tabs/index.d.ts +1 -0
  169. package/tabs/src/default/index.d.ts +13 -0
  170. package/tabs/src/index.module.d.ts +7 -0
  171. package/tabs/src/public_api.d.ts +3 -0
  172. package/tabs/src/tab/index.d.ts +11 -0
  173. package/text/index.d.ts +1 -0
  174. package/text/src/public_api.d.ts +2 -0
  175. package/text/src/text.module.d.ts +8 -0
  176. package/text/src/text.type.d.ts +7 -0
  177. package/textarea/index.d.ts +1 -0
  178. package/textarea/src/public_api.d.ts +2 -0
  179. package/textarea/src/textarea.module.d.ts +7 -0
  180. package/textarea/src/textarea.type.d.ts +13 -0
  181. package/textcode/index.d.ts +1 -0
  182. package/textcode/src/public_api.d.ts +2 -0
  183. package/textcode/src/text.module.d.ts +7 -0
  184. package/textcode/src/text.type.d.ts +17 -0
@@ -0,0 +1,107 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import * as i3 from '@kre-form/core';
4
+ import { FieldType, FormlyModule } from '@kre-form/core';
5
+ import * as i1 from '@angular/common';
6
+ import { CommonModule } from '@angular/common';
7
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
8
+ import * as i2 from 'ng-zorro-antd/tabs';
9
+ import { NzTabsModule } from 'ng-zorro-antd/tabs';
10
+ import { NzGridModule } from 'ng-zorro-antd/grid';
11
+ import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
12
+
13
+ class DeonNzFieldTabs extends FieldType {
14
+ defaultOptions = {
15
+ props: {
16
+ type: '',
17
+ },
18
+ };
19
+ get clasName() {
20
+ if (this.props && this.props["className"]) {
21
+ return this.props["className"];
22
+ }
23
+ return null;
24
+ }
25
+ selectChange(e) {
26
+ //(<any>this.options)._buildForm(true);
27
+ }
28
+ 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: i3.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: DeonNzFieldTabs, decorators: [{
32
+ type: Component,
33
+ args: [{ selector: 'deon-nz-field-tabs', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
34
+ CommonModule,
35
+ FormsModule,
36
+ ReactiveFormsModule,
37
+ DeonNzFormFieldModule,
38
+ NzTabsModule,
39
+ NzGridModule,
40
+ FormlyModule
41
+ ], 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
+ }] });
43
+
44
+ class DeonNzFieldTab extends FieldType {
45
+ defaultOptions = {
46
+ props: {
47
+ type: '',
48
+ },
49
+ };
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
+ }
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
+
66
+ class DeonNzTabsModule {
67
+ 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: [i3.FormlyModule] });
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
+ })] });
81
+ }
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTabsModule, decorators: [{
83
+ type: NgModule,
84
+ args: [{
85
+ imports: [
86
+ FormlyModule.forChild({
87
+ types: [
88
+ {
89
+ name: 'tabs',
90
+ component: DeonNzFieldTabs,
91
+ },
92
+ {
93
+ name: 'tab',
94
+ component: DeonNzFieldTab,
95
+ },
96
+ ],
97
+ }),
98
+ ],
99
+ }]
100
+ }] });
101
+
102
+ /**
103
+ * Generated bundle index. Do not edit.
104
+ */
105
+
106
+ export { DeonNzFieldTab, DeonNzFieldTabs, DeonNzTabsModule };
107
+ //# sourceMappingURL=type.tabs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.tabs.mjs","sources":["../../../../packages/form/tabs/src/default/index.ts","../../../../packages/form/tabs/src/default/index.html","../../../../packages/form/tabs/src/tab/index.ts","../../../../packages/form/tabs/src/tab/index.html","../../../../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 '@kre-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 { 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 '@kre-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 { NgModule } from '@angular/core';\nimport { FormlyModule } from '@kre-form/core';\nimport { DeonNzFieldTabs } from './default/index';\nimport { DeonNzFieldTab } from './tab/index';\n\n@NgModule({\n imports: [\n FormlyModule.forChild({\n types: [\n {\n name: 'tabs',\n component: DeonNzFieldTabs,\n },\n {\n name: 'tab',\n component: DeonNzFieldTab,\n },\n ],\n }),\n ],\n})\nexport class DeonNzTabsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i1"],"mappings":";;;;;;;;;;;;AAwBM,MAAO,eAAgB,SAAQ,SAA0B,CAAA;AACpD,IAAA,cAAc,GAAG;AACxB,QAAA,KAAK,EA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'@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i4 from '@kre-form/core';
6
+ import { FieldType, FormlyModule } from '@kre-form/core';
7
+ import * as i2 from '@angular/forms';
8
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
9
+ import * as i3 from 'ng-zorro-antd/input';
10
+ import { NzInputModule } from 'ng-zorro-antd/input';
11
+ import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
12
+ import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
13
+
14
+ class DeonNzFieldText extends FieldType {
15
+ get text() {
16
+ if (this.model && this.model.hasOwnProperty(this.field.key)) {
17
+ return this.model[this.field.key.toString()];
18
+ }
19
+ return '';
20
+ }
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldText, deps: null, target: i0.ɵɵFactoryTarget.Component });
22
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldText, isStandalone: true, selector: "deon-field-nz-text", usesInheritance: true, ngImport: i0, template: `
23
+ <div class="field-text deon-text deon-text-default" *ngIf="editor == false; else tmpField">
24
+ {{ text }}
25
+ </div>
26
+ <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: i3.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.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldText, decorators: [{
30
+ type: Component,
31
+ args: [{
32
+ selector: 'deon-field-nz-text',
33
+ template: `
34
+ <div class="field-text deon-text deon-text-default" *ngIf="editor == false; else tmpField">
35
+ {{ text }}
36
+ </div>
37
+ <ng-template #tmpField> <input nz-input [formControl]="formControl" [type]="'text'" [formlyAttributes]="field" /> </ng-template>
38
+ `,
39
+ changeDetection: ChangeDetectionStrategy.OnPush,
40
+ imports: [
41
+ CommonModule,
42
+ FormsModule,
43
+ ReactiveFormsModule,
44
+ NzInputModule,
45
+ NzInputNumberModule,
46
+ DeonNzFormFieldModule,
47
+ FormlyModule
48
+ ]
49
+ }]
50
+ }] });
51
+
52
+ class DeonNzTextModule {
53
+ 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] });
55
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, imports: [CommonModule,
56
+ FormlyModule.forChild({
57
+ types: [
58
+ {
59
+ name: 'text',
60
+ component: DeonNzFieldText,
61
+ wrappers: ['formly-form-field'],
62
+ },
63
+ ],
64
+ })] });
65
+ }
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextModule, decorators: [{
67
+ type: NgModule,
68
+ args: [{
69
+ imports: [
70
+ CommonModule,
71
+ FormlyModule.forChild({
72
+ types: [
73
+ {
74
+ name: 'text',
75
+ component: DeonNzFieldText,
76
+ wrappers: ['formly-form-field'],
77
+ },
78
+ ],
79
+ }),
80
+ ],
81
+ }]
82
+ }] });
83
+
84
+ /**
85
+ * Generated bundle index. Do not edit.
86
+ */
87
+
88
+ export { DeonNzFieldText, DeonNzTextModule };
89
+ //# sourceMappingURL=type.text.mjs.map
@@ -0,0 +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,EAA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,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;;;;"}
@@ -0,0 +1,158 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import * as i4 from '@kre-form/core';
4
+ import { FieldType, FormlyModule } from '@kre-form/core';
5
+ import * as i1 from '@angular/common';
6
+ import { CommonModule } from '@angular/common';
7
+ import * as i2 from '@angular/forms';
8
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
9
+ import * as i3 from 'ng-zorro-antd/input';
10
+ import { NzInputModule } from 'ng-zorro-antd/input';
11
+ import * as i5 from '@ebuilding/base/shared.pipe';
12
+ import { GramPipeModule } from '@ebuilding/base/shared.pipe';
13
+ import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
14
+ import * as i6 from 'ngx-quill';
15
+ import { QuillModule } from 'ngx-quill';
16
+
17
+ class DeonNzFieldTextArea extends FieldType {
18
+ get text() {
19
+ if (!this.editor && this.model && this.field?.key) {
20
+ let value = this.model[this.field.key.toString()] || '';
21
+ return value.replace(/\n/g, '<br>').replace(/ /g, '&nbsp;');
22
+ }
23
+ return this.formControl?.value || '';
24
+ }
25
+ replaceAll(str, find, replace) {
26
+ return str.replace(new RegExp(find, 'g'), replace);
27
+ }
28
+ onQuillTextChange(event) {
29
+ // if (event.text) {
30
+ // this.formControl.patchValue(event.editor.root.innerHTML, { emitEvent: false });
31
+ // this.formControl.markAsTouched();
32
+ // }
33
+ this.formControl.patchValue(event.editor.root.innerHTML, { emitEvent: false });
34
+ this.formControl.markAsTouched();
35
+ }
36
+ onContentChanged(event) {
37
+ console.log("onContentChanged", event);
38
+ if (event.text) {
39
+ this.formControl.patchValue(event.editor.root.innerHTML, { emitEvent: false });
40
+ }
41
+ }
42
+ onSelectionChanged(event) {
43
+ console.log("onSelectionChanged");
44
+ }
45
+ onFocus(event) {
46
+ console.log("onFocus");
47
+ }
48
+ onBlur(event) {
49
+ console.log("onBlur");
50
+ }
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
52
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldTextArea, isStandalone: true, selector: "deon-nz-field-textarea", usesInheritance: true, ngImport: i0, template: `
53
+ <div
54
+ class="field-text deon-text deon-text-textarea"
55
+ [ngStyle]="{ 'min-height': props.rows != undefined ? 26 * props.rows + 'px' : 26 + 'px' }"
56
+ *ngIf="editor == false; else tmpField"
57
+ [innerHtml]="text | safeHtml"
58
+ >
59
+ {{ text }}
60
+ </div>
61
+ <ng-template #tmpField>
62
+ <ng-container *ngIf="props!! && props.type == 'richtext'; else tmpTextare">
63
+ <quill-editor [formControl]="formControl" [formlyAttributes]="field"
64
+ ></quill-editor>
65
+ </ng-container>
66
+
67
+ <ng-template #tmpTextare>
68
+ <textarea
69
+ nz-input
70
+ [formControl]="formControl"
71
+ [formlyAttributes]="field"
72
+ [rows]="props.rows ? props.rows : 1"
73
+ style="resize:none"
74
+ ></textarea>
75
+ </ng-template>
76
+ </ng-template>
77
+ `, 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.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { 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 });
78
+ }
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextArea, decorators: [{
80
+ type: Component,
81
+ args: [{
82
+ selector: 'deon-nz-field-textarea',
83
+ template: `
84
+ <div
85
+ class="field-text deon-text deon-text-textarea"
86
+ [ngStyle]="{ 'min-height': props.rows != undefined ? 26 * props.rows + 'px' : 26 + 'px' }"
87
+ *ngIf="editor == false; else tmpField"
88
+ [innerHtml]="text | safeHtml"
89
+ >
90
+ {{ text }}
91
+ </div>
92
+ <ng-template #tmpField>
93
+ <ng-container *ngIf="props!! && props.type == 'richtext'; else tmpTextare">
94
+ <quill-editor [formControl]="formControl" [formlyAttributes]="field"
95
+ ></quill-editor>
96
+ </ng-container>
97
+
98
+ <ng-template #tmpTextare>
99
+ <textarea
100
+ nz-input
101
+ [formControl]="formControl"
102
+ [formlyAttributes]="field"
103
+ [rows]="props.rows ? props.rows : 1"
104
+ style="resize:none"
105
+ ></textarea>
106
+ </ng-template>
107
+ </ng-template>
108
+ `,
109
+ changeDetection: ChangeDetectionStrategy.OnPush,
110
+ imports: [
111
+ CommonModule,
112
+ FormsModule,
113
+ ReactiveFormsModule,
114
+ NzInputModule,
115
+ DeonNzFormFieldModule,
116
+ FormlyModule,
117
+ GramPipeModule,
118
+ QuillModule
119
+ ]
120
+ }]
121
+ }] });
122
+
123
+ class DeonNzTextAreaModule {
124
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
125
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, imports: [i4.FormlyModule] });
126
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, imports: [FormlyModule.forChild({
127
+ types: [
128
+ {
129
+ name: 'textarea',
130
+ component: DeonNzFieldTextArea,
131
+ wrappers: ['formly-form-field'],
132
+ },
133
+ ],
134
+ })] });
135
+ }
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextAreaModule, decorators: [{
137
+ type: NgModule,
138
+ args: [{
139
+ imports: [
140
+ FormlyModule.forChild({
141
+ types: [
142
+ {
143
+ name: 'textarea',
144
+ component: DeonNzFieldTextArea,
145
+ wrappers: ['formly-form-field'],
146
+ },
147
+ ],
148
+ }),
149
+ ],
150
+ }]
151
+ }] });
152
+
153
+ /**
154
+ * Generated bundle index. Do not edit.
155
+ */
156
+
157
+ export { DeonNzFieldTextArea, DeonNzTextAreaModule };
158
+ //# sourceMappingURL=type.textarea.mjs.map
@@ -0,0 +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 '@kre-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, '&nbsp;');\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 console.log(\"onContentChanged\", event);\n if (event.text) {\n this.formControl.patchValue(event.editor.root.innerHTML, { emitEvent: false });\n }\n }\n\n onSelectionChanged(event: any) {\n console.log(\"onSelectionChanged\");\n }\n\n onFocus(event: any) {\n console.log(\"onFocus\");\n }\n\n onBlur(event: any) {\n console.log(\"onBlur\");\n }\n}\n","import { NgModule } from '@angular/core';\nimport { FormlyModule } from '@kre-form/core';\n\nimport { DeonNzFieldTextArea } from './textarea.type';\n\n@NgModule({\n imports: [\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: DeonNzFieldTextArea,\n wrappers: ['formly-form-field'],\n },\n ],\n }),\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,KAA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,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAX7B,OAAA,EAAA,CAAA,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,mBAAmB,CAAC;AAChC,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA;;4FAGO,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAbhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,mBAAmB,CAAC;AAChC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;ACjBD;;AAEG;;;;"}
@@ -0,0 +1,126 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import * as i8 from '@kre-form/core';
4
+ import { FieldType, FormlyModule } from '@kre-form/core';
5
+ import * as i2 from '@angular/common';
6
+ import { CommonModule } from '@angular/common';
7
+ import * as i3 from '@angular/forms';
8
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
9
+ import * as i4 from 'ng-zorro-antd/input';
10
+ import { NzInputModule } from 'ng-zorro-antd/input';
11
+ import * as i5 from 'ng-zorro-antd/button';
12
+ import { NzButtonModule } from 'ng-zorro-antd/button';
13
+ import { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';
14
+ import { DeonNzFormFieldModule } from '@ebuilding/form/form-field';
15
+ import * as i1 from '@delon/theme';
16
+ import * as i6 from 'ng-zorro-antd/core/transition-patch';
17
+ import * as i7 from 'ng-zorro-antd/core/wave';
18
+
19
+ class DeonNzFieldTextCode extends FieldType {
20
+ http;
21
+ cdr;
22
+ loading = false;
23
+ constructor(http, cdr) {
24
+ super();
25
+ this.http = http;
26
+ this.cdr = cdr;
27
+ }
28
+ get text() {
29
+ if (this.model && this.model.hasOwnProperty(this.field.key)) {
30
+ return this.model[this.field.key.toString()];
31
+ }
32
+ return '';
33
+ }
34
+ /**
35
+ * 刷新
36
+ */
37
+ btnRefresh() {
38
+ this.loading = true;
39
+ this.http.post(`${ModuleAPI.paas}/apaas/codeRule/getNextCode/${this.key}`).subscribe((res) => {
40
+ if (res.success && res.result) {
41
+ this.formControl.patchValue(res.result);
42
+ this.formControl.markAsTouched();
43
+ }
44
+ setTimeout(() => {
45
+ this.loading = false;
46
+ this.cdr.detectChanges();
47
+ }, 500);
48
+ });
49
+ }
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextCode, deps: [{ token: i1._HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
51
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DeonNzFieldTextCode, isStandalone: true, selector: "deon-field-nz-textcode", usesInheritance: true, ngImport: i0, template: `
52
+ <div class="field-text deon-text deon-text-default" *ngIf="editor == false; else tmpField">
53
+ {{ text }}
54
+ </div>
55
+ <ng-template #tmpField>
56
+ <div class="textcode-box">
57
+ <input nz-input [formControl]="formControl" [type]="'text'" [formlyAttributes]="field" readonly/>
58
+ <button nz-button nzType="default" type="button" [nzLoading]="loading" (click)="btnRefresh()">刷新</button>
59
+ </div>
60
+ </ng-template>
61
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.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: NzButtonModule }, { kind: "component", type: i5.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i6.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i7.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: DeonNzFormFieldModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i8.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
62
+ }
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzFieldTextCode, decorators: [{
64
+ type: Component,
65
+ args: [{
66
+ selector: 'deon-field-nz-textcode',
67
+ template: `
68
+ <div class="field-text deon-text deon-text-default" *ngIf="editor == false; else tmpField">
69
+ {{ text }}
70
+ </div>
71
+ <ng-template #tmpField>
72
+ <div class="textcode-box">
73
+ <input nz-input [formControl]="formControl" [type]="'text'" [formlyAttributes]="field" readonly/>
74
+ <button nz-button nzType="default" type="button" [nzLoading]="loading" (click)="btnRefresh()">刷新</button>
75
+ </div>
76
+ </ng-template>
77
+ `,
78
+ changeDetection: ChangeDetectionStrategy.OnPush,
79
+ imports: [
80
+ CommonModule,
81
+ FormsModule,
82
+ ReactiveFormsModule,
83
+ NzInputModule,
84
+ NzButtonModule,
85
+ DeonNzFormFieldModule,
86
+ FormlyModule
87
+ ]
88
+ }]
89
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i0.ChangeDetectorRef }] });
90
+
91
+ class DeonNzTextCodeModule {
92
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
93
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextCodeModule, imports: [i8.FormlyModule] });
94
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextCodeModule, imports: [FormlyModule.forChild({
95
+ types: [
96
+ {
97
+ name: 'textcode',
98
+ component: DeonNzFieldTextCode,
99
+ wrappers: ['formly-form-field'],
100
+ },
101
+ ],
102
+ })] });
103
+ }
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DeonNzTextCodeModule, decorators: [{
105
+ type: NgModule,
106
+ args: [{
107
+ imports: [
108
+ FormlyModule.forChild({
109
+ types: [
110
+ {
111
+ name: 'textcode',
112
+ component: DeonNzFieldTextCode,
113
+ wrappers: ['formly-form-field'],
114
+ },
115
+ ],
116
+ }),
117
+ ],
118
+ }]
119
+ }] });
120
+
121
+ /**
122
+ * Generated bundle index. Do not edit.
123
+ */
124
+
125
+ export { DeonNzFieldTextCode, DeonNzTextCodeModule };
126
+ //# sourceMappingURL=type.textcode.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.textcode.mjs","sources":["../../../../packages/form/textcode/src/text.type.ts","../../../../packages/form/textcode/src/text.module.ts","../../../../packages/form/textcode/type.textcode.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\r\n\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { _HttpClient } from '@delon/theme';\r\n\r\nimport { FormlyModule, FieldType, FieldTypeConfig } from '@kre-form/core';\r\nimport { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant'; \r\nimport { DeonNzFormFieldModule } from '@ebuilding/form/form-field';\r\n\r\n@Component({\r\n selector: 'deon-field-nz-textcode',\r\n template: `\r\n <div class=\"field-text deon-text deon-text-default\" *ngIf=\"editor == false; else tmpField\">\r\n {{ text }}\r\n </div>\r\n <ng-template #tmpField> \r\n <div class=\"textcode-box\">\r\n <input nz-input [formControl]=\"formControl\" [type]=\"'text'\" [formlyAttributes]=\"field\" readonly/> \r\n <button nz-button nzType=\"default\" type=\"button\" [nzLoading]=\"loading\" (click)=\"btnRefresh()\">刷新</button> \r\n </div>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NzInputModule,\r\n NzButtonModule,\r\n DeonNzFormFieldModule,\r\n FormlyModule\r\n ]\r\n})\r\nexport class DeonNzFieldTextCode extends FieldType<FieldTypeConfig> {\r\n\r\n loading: boolean = false;\r\n constructor(public http: _HttpClient, public cdr: ChangeDetectorRef) {\r\n super();\r\n }\r\n\r\n override get text() {\r\n if (this.model!! && this.model.hasOwnProperty(this.field.key)) {\r\n return this.model[this.field.key.toString()];\r\n }\r\n return '';\r\n }\r\n\r\n /**\r\n * 刷新\r\n */\r\n btnRefresh() {\r\n this.loading = true;\r\n this.http.post(`${ModuleAPI.paas}/apaas/codeRule/getNextCode/${this.key}`).subscribe((res: any) => {\r\n if (res.success && res.result!!) {\r\n this.formControl.patchValue(res.result);\r\n this.formControl.markAsTouched();\r\n }\r\n setTimeout(() => {\r\n this.loading = false;\r\n this.cdr.detectChanges();\r\n }, 500);\r\n });\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { FormlyModule } from '@kre-form/core';\r\nimport { DeonNzFieldTextCode } from './text.type';\r\n\r\n@NgModule({\r\n imports: [\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'textcode',\r\n component: DeonNzFieldTextCode,\r\n wrappers: ['formly-form-field'],\r\n },\r\n ],\r\n }),\r\n ],\r\n})\r\nexport class DeonNzTextCodeModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;AAoCM,MAAO,mBAAoB,SAAQ,SAA0B,CAAA;AAG9C,IAAA,IAAA;AAA0B,IAAA,GAAA;IAD7C,OAAO,GAAY,KAAK;IACxB,WAAmB,CAAA,IAAiB,EAAS,GAAsB,EAAA;AACjE,QAAA,KAAK,EAAE;QADU,IAAI,CAAA,IAAA,GAAJ,IAAI;QAAsB,IAAG,CAAA,GAAA,GAAH,GAAG;;AAIhD,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,EAA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,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAX7B,OAAA,EAAA,CAAA,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,mBAAmB,CAAC;AAChC,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA;;4FAGO,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAbhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,mBAAmB,CAAC;AAChC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;AChBD;;AAEG;;;;"}
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "ng-zorro-antd/form";
5
+ import * as i4 from "@kre-form/core";
6
+ export declare class DeonNzFormFieldModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFormFieldModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzFormFieldModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.NzFormModule, typeof i4.FormlyModule], never>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzFormFieldModule>;
10
+ }
@@ -0,0 +1,9 @@
1
+ import { FieldWrapper } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonWrapperFormField extends FieldWrapper {
4
+ get errorState(): "error" | "";
5
+ get fieldShow(): boolean;
6
+ get labelShow(): boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonWrapperFormField, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonWrapperFormField, "deon-wrapper-nz-form-field", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzFormFieldModule } from './form-field.module';
2
+ export { DeonWrapperFormField } from './form-field.wrapper';
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "ng-zorro-antd/grid";
5
+ import * as i4 from "@ebuilding/form/form-field";
6
+ import * as i5 from "@kre-form/core";
7
+ export declare class DeonNzGridModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzGridModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzGridModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.NzGridModule, typeof i4.DeonNzFormFieldModule, typeof i5.FormlyModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzGridModule>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { FieldType } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonNzFieldGrid extends FieldType {
4
+ defaultOptions: {
5
+ props: {
6
+ description: string;
7
+ };
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldGrid, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldGrid, "deon-nz-field-grid", never, {}, {}, never, ["*"], true, never>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzGridModule } from './grid.module';
2
+ export { DeonNzFieldGrid } from './grid.type';
@@ -0,0 +1 @@
1
+ export * from './src/public_api';