@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,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 DeonNzGroupModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzGroupModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzGroupModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.NzGridModule, typeof i4.DeonNzFormFieldModule, typeof i5.FormlyModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzGroupModule>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { FieldType, FieldTypeConfig } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonNzFieldGroup extends FieldType<FieldTypeConfig> {
4
+ defaultOptions: {
5
+ props: {
6
+ description: string;
7
+ };
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldGroup, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldGroup, "deon-nz-field-group", never, {}, {}, never, ["*"], true, never>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzGroupModule } from './group.module';
2
+ export { DeonNzFieldGroup } from './group.type';
@@ -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 "@ebuilding/form/form-field";
5
+ import * as i4 from "@kre-form/core";
6
+ export declare class DeonNzHtmlModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzHtmlModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzHtmlModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.DeonNzFormFieldModule, typeof i4.FormlyModule], never>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzHtmlModule>;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { FieldType } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonNzFieldHtml extends FieldType {
4
+ defaultOptions: {
5
+ props: {
6
+ description: string;
7
+ };
8
+ };
9
+ get text(): any;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldHtml, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldHtml, "deon-nz-field-html", never, {}, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzHtmlModule } from './html.module';
2
+ export { DeonNzFieldHtml } from './html.type';
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,14 @@
1
+ import { FieldType, FieldTypeConfig } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonNzFieldIcon extends FieldType<FieldTypeConfig> {
4
+ defaultOptions: {
5
+ props: {};
6
+ };
7
+ get text(): any;
8
+ listIcon: any[];
9
+ get curValue(): any;
10
+ get clickHide(): boolean;
11
+ itemClick(item: any): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldIcon, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldIcon, "deon-nz-field-icon", never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,14 @@
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 "@ebuilding/form/form-field";
5
+ import * as i4 from "ng-zorro-antd/icon";
6
+ import * as i5 from "ng-zorro-antd/input";
7
+ import * as i6 from "ng-zorro-antd/button";
8
+ import * as i7 from "ng-zorro-antd/dropdown";
9
+ import * as i8 from "@kre-form/core";
10
+ export declare class DeonNzIconModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzIconModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzIconModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.DeonNzFormFieldModule, typeof i4.NzIconModule, typeof i5.NzInputModule, typeof i6.NzButtonModule, typeof i7.NzDropDownModule, typeof i8.FormlyModule], never>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzIconModule>;
14
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzIconModule } from './index.module';
2
+ export { DeonNzFieldIcon } from './default/index';
package/index.d.ts ADDED
@@ -0,0 +1,28 @@
1
+ export { DeonNzCheckboxModule } from './checkbox';
2
+ export { DeonNzCheckboxGroupModule } from './checkboxgroup';
3
+ export { DeonNzColorModule } from './colors';
4
+ export { DeonNzDateTimeModule } from './datetime';
5
+ export { DeonNzDescModule } from './desc';
6
+ export { DeonNzDimModule } from './dim';
7
+ export { DeonNzDimIndicatorModule } from './dim-indicator';
8
+ export { DeonNzGridModule } from './grid';
9
+ export { DeonNzGroupModule } from './group';
10
+ export { DeonNzHtmlModule } from './html';
11
+ export { DeonNzIconModule } from './icon';
12
+ export { DeonNzLabelModule } from './label';
13
+ export { DeonNzLineModule } from './line';
14
+ export { DeonNzListModule } from './list';
15
+ export { DeonNzNumberModule } from './number';
16
+ export { DeonNzOverTimeModule } from './overtime';
17
+ export { DeonNzPanelModule } from './panel';
18
+ export { DeonNzRadioModule } from './radio';
19
+ export { DeonNzRadioGroupModule } from './radiogroup';
20
+ export { DeonNzReformModule } from './reform';
21
+ export { DeonNzRepeatModule } from './repeat';
22
+ export { DeonNzRepeatCardModule } from './repeat-card';
23
+ export { DeonNzSelectModule } from './select';
24
+ export { DeonNzSwitchModule } from './switch';
25
+ export { DeonNzTabsModule } from './tabs';
26
+ export { DeonNzTextModule } from './text';
27
+ export { DeonNzTextAreaModule } from './textarea';
28
+ export { DeonNzTextCodeModule } from './textcode';
@@ -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 "@ebuilding/form/form-field";
5
+ import * as i4 from "@kre-form/core";
6
+ export declare class DeonNzLabelModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzLabelModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzLabelModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.DeonNzFormFieldModule, typeof i4.FormlyModule], never>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzLabelModule>;
10
+ }
@@ -0,0 +1,9 @@
1
+ import { FieldType } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonNzFieldLabel extends FieldType {
4
+ defaultOptions: {
5
+ props: {};
6
+ };
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldLabel, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldLabel, "deon-nz-field-label", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzLabelModule } from './label.module';
2
+ export { DeonNzFieldLabel } from './label.type';
@@ -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/divider";
5
+ import * as i4 from "@ebuilding/form/form-field";
6
+ import * as i5 from "@kre-form/core";
7
+ export declare class DeonNzLineModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzLineModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzLineModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.NzDividerModule, typeof i4.DeonNzFormFieldModule, typeof i5.FormlyModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzLineModule>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { FieldType, FieldTypeConfig } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonNzFieldLine extends FieldType<FieldTypeConfig> {
4
+ defaultOptions: {
5
+ props: {
6
+ description: string;
7
+ };
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldLine, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldLine, "deon-nz-field-line", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzLineModule } from './line.module';
2
+ export { DeonNzFieldLine } from './line.type';
@@ -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 DeonNzListModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzListModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzListModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.NzGridModule, typeof i4.DeonNzFormFieldModule, typeof i5.FormlyModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzListModule>;
11
+ }
@@ -0,0 +1,9 @@
1
+ import { FieldType } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonNzFieldList extends FieldType {
4
+ defaultOptions: {
5
+ props: {};
6
+ };
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldList, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldList, "deon-nz-field-list", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzListModule } from './list.module';
2
+ export { DeonNzFieldList } from './list.type';
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@ebuilding/form/form-field";
4
+ import * as i3 from "@kre-form/core";
5
+ export declare class DeonNzNumberModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzNumberModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzNumberModule, never, [typeof i1.CommonModule, typeof i2.DeonNzFormFieldModule, typeof i3.FormlyModule], never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzNumberModule>;
9
+ }
@@ -0,0 +1,19 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FieldType, FieldTypeConfig } from '@kre-form/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DeonNzFieldNumber extends FieldType<FieldTypeConfig> implements OnInit {
5
+ get precision(): any;
6
+ get password(): boolean;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ /**
10
+ * 防止 nz-input-number 的 formatter 报错(如 toFixed 报错)
11
+ */
12
+ formatNumber: (value: number | string | null | undefined) => string;
13
+ /**
14
+ * 解析输入值为数字,NaN 返回 0
15
+ */
16
+ parseNumber: (value: string) => number;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldNumber, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldNumber, "deon-nz-field-number", never, {}, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,9 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FieldType, FieldTypeConfig } from '@kre-form/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DeonNzFieldNumberRate extends FieldType<FieldTypeConfig> implements OnInit {
5
+ constructor();
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldNumberRate, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldNumberRate, "deon-nz-field-number", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,3 @@
1
+ export { DeonNzNumberModule } from './number.module';
2
+ export { DeonNzFieldNumber } from './number.type';
3
+ export { DeonNzFieldNumberRate } from './number_rate.type';
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,77 @@
1
+ import { DoCheck } from '@angular/core';
2
+ import { FieldType, FieldTypeConfig } from '@kre-form/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DeonNzFieldOverTime extends FieldType<FieldTypeConfig> implements DoCheck {
5
+ defaultOptions: {
6
+ props: {};
7
+ };
8
+ /**
9
+ * 总值
10
+ */
11
+ _pageValue: any;
12
+ _itemValue: any;
13
+ _happenValue: any;
14
+ _beginValue: any;
15
+ _endValue: any;
16
+ _numValue: any;
17
+ _shiftValue: any;
18
+ _shiftPeriodValue: any;
19
+ _listChildValue: any[];
20
+ /**
21
+ * 对比值
22
+ */
23
+ happenValueOld: any;
24
+ beginValueOld: any;
25
+ endValueOld: any;
26
+ listChildValueOld: any[];
27
+ get pageEditor(): boolean;
28
+ get pageValue(): any;
29
+ /**
30
+ * 加班项目
31
+ */
32
+ get itemValue(): any;
33
+ set itemValue(value: any);
34
+ /**
35
+ * 加班日期
36
+ */
37
+ get happenValue(): any;
38
+ set happenValue(value: any);
39
+ /**
40
+ * 加班开始时间
41
+ */
42
+ get beginValue(): any;
43
+ set beginValue(value: any);
44
+ /**
45
+ * 加班结束时间
46
+ */
47
+ get endValue(): any;
48
+ set endValue(value: any);
49
+ /**
50
+ * 加班时长
51
+ */
52
+ get numValue(): any;
53
+ set numValue(value: any);
54
+ /**
55
+ * 班次
56
+ */
57
+ get shiftValue(): any;
58
+ set shiftValue(value: any);
59
+ /**
60
+ * 班次周期
61
+ */
62
+ get shiftPeriodValue(): any;
63
+ set shiftPeriodValue(value: any);
64
+ /**
65
+ * listChild
66
+ */
67
+ get listChildValue(): any;
68
+ set listChildValue(value: any);
69
+ ngDoCheck(): void;
70
+ dateChange(key: any, itemValue: any): void;
71
+ itemChange(e: any): void;
72
+ shiftChange(e: any): void;
73
+ shiftPeriodChange(e: any): void;
74
+ valueChange(key: any, itemValue: any): void;
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldOverTime, never>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldOverTime, "deon-nz-field-overtime", never, {}, {}, never, never, true, never>;
77
+ }
@@ -0,0 +1,13 @@
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 "@ebuilding/form/form-field";
5
+ import * as i4 from "ng-zorro-antd/input";
6
+ import * as i5 from "ng-zorro-antd/select";
7
+ import * as i6 from "ng-zorro-antd/date-picker";
8
+ import * as i7 from "@kre-form/core";
9
+ export declare class DeonNzOverTimeModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzOverTimeModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzOverTimeModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.DeonNzFormFieldModule, typeof i4.NzInputModule, typeof i5.NzSelectModule, typeof i6.NzDatePickerModule, typeof i7.FormlyModule], never>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzOverTimeModule>;
13
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzOverTimeModule } from './index.module';
2
+ export { DeonNzFieldOverTime } from './default';
package/package.json ADDED
@@ -0,0 +1,136 @@
1
+ {
2
+ "name": "@ebuilding/form",
3
+ "version": "2.0.0",
4
+ "dependencies": {
5
+ "extend": "undefined",
6
+ "tslib": "^2.3.0"
7
+ },
8
+ "module": "fesm2022/ebuilding-form.mjs",
9
+ "typings": "index.d.ts",
10
+ "exports": {
11
+ "./package.json": {
12
+ "default": "./package.json"
13
+ },
14
+ ".": {
15
+ "types": "./index.d.ts",
16
+ "default": "./fesm2022/ebuilding-form.mjs"
17
+ },
18
+ "./checkbox": {
19
+ "types": "./checkbox/index.d.ts",
20
+ "default": "./fesm2022/type.checkbox.mjs"
21
+ },
22
+ "./checkboxgroup": {
23
+ "types": "./checkboxgroup/index.d.ts",
24
+ "default": "./fesm2022/type.checkboxgroup.mjs"
25
+ },
26
+ "./desc": {
27
+ "types": "./desc/index.d.ts",
28
+ "default": "./fesm2022/type.desc.mjs"
29
+ },
30
+ "./colors": {
31
+ "types": "./colors/index.d.ts",
32
+ "default": "./fesm2022/type.colors.mjs"
33
+ },
34
+ "./form-field": {
35
+ "types": "./form-field/index.d.ts",
36
+ "default": "./fesm2022/type.form-field.mjs"
37
+ },
38
+ "./dim": {
39
+ "types": "./dim/index.d.ts",
40
+ "default": "./fesm2022/type.dim.mjs"
41
+ },
42
+ "./dim-indicator": {
43
+ "types": "./dim-indicator/index.d.ts",
44
+ "default": "./fesm2022/type.dim-indicator.mjs"
45
+ },
46
+ "./grid": {
47
+ "types": "./grid/index.d.ts",
48
+ "default": "./fesm2022/type.grid.mjs"
49
+ },
50
+ "./datetime": {
51
+ "types": "./datetime/index.d.ts",
52
+ "default": "./fesm2022/type.datetime.mjs"
53
+ },
54
+ "./icon": {
55
+ "types": "./icon/index.d.ts",
56
+ "default": "./fesm2022/type.icon.mjs"
57
+ },
58
+ "./group": {
59
+ "types": "./group/index.d.ts",
60
+ "default": "./fesm2022/type.group.mjs"
61
+ },
62
+ "./label": {
63
+ "types": "./label/index.d.ts",
64
+ "default": "./fesm2022/type.label.mjs"
65
+ },
66
+ "./line": {
67
+ "types": "./line/index.d.ts",
68
+ "default": "./fesm2022/type.line.mjs"
69
+ },
70
+ "./html": {
71
+ "types": "./html/index.d.ts",
72
+ "default": "./fesm2022/type.html.mjs"
73
+ },
74
+ "./list": {
75
+ "types": "./list/index.d.ts",
76
+ "default": "./fesm2022/type.list.mjs"
77
+ },
78
+ "./overtime": {
79
+ "types": "./overtime/index.d.ts",
80
+ "default": "./fesm2022/type.overtime.mjs"
81
+ },
82
+ "./number": {
83
+ "types": "./number/index.d.ts",
84
+ "default": "./fesm2022/type.number.mjs"
85
+ },
86
+ "./panel": {
87
+ "types": "./panel/index.d.ts",
88
+ "default": "./fesm2022/type.panel.mjs"
89
+ },
90
+ "./radio": {
91
+ "types": "./radio/index.d.ts",
92
+ "default": "./fesm2022/type.radio.mjs"
93
+ },
94
+ "./radiogroup": {
95
+ "types": "./radiogroup/index.d.ts",
96
+ "default": "./fesm2022/type.radiogroup.mjs"
97
+ },
98
+ "./reform": {
99
+ "types": "./reform/index.d.ts",
100
+ "default": "./fesm2022/type.reform.mjs"
101
+ },
102
+ "./repeat": {
103
+ "types": "./repeat/index.d.ts",
104
+ "default": "./fesm2022/type.repeat.mjs"
105
+ },
106
+ "./repeat-card": {
107
+ "types": "./repeat-card/index.d.ts",
108
+ "default": "./fesm2022/type.repeat-card.mjs"
109
+ },
110
+ "./select": {
111
+ "types": "./select/index.d.ts",
112
+ "default": "./fesm2022/type.select.mjs"
113
+ },
114
+ "./switch": {
115
+ "types": "./switch/index.d.ts",
116
+ "default": "./fesm2022/type.switch.mjs"
117
+ },
118
+ "./tabs": {
119
+ "types": "./tabs/index.d.ts",
120
+ "default": "./fesm2022/type.tabs.mjs"
121
+ },
122
+ "./text": {
123
+ "types": "./text/index.d.ts",
124
+ "default": "./fesm2022/type.text.mjs"
125
+ },
126
+ "./textarea": {
127
+ "types": "./textarea/index.d.ts",
128
+ "default": "./fesm2022/type.textarea.mjs"
129
+ },
130
+ "./textcode": {
131
+ "types": "./textcode/index.d.ts",
132
+ "default": "./fesm2022/type.textcode.mjs"
133
+ }
134
+ },
135
+ "sideEffects": false
136
+ }
@@ -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 DeonNzPanelModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzPanelModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzPanelModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.NzGridModule, typeof i4.DeonNzFormFieldModule, typeof i5.FormlyModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzPanelModule>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { FieldType, FieldTypeConfig } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonNzFieldPanel extends FieldType<FieldTypeConfig> {
4
+ defaultOptions: {
5
+ props: {
6
+ description: string;
7
+ };
8
+ };
9
+ renderClass(e: any): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldPanel, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldPanel, "deon-nz-field-panel", never, {}, {}, never, ["*"], true, never>;
12
+ }
@@ -0,0 +1,2 @@
1
+ export { DeonNzPanelModule } from './panel.module';
2
+ export { DeonNzFieldPanel } from './panel.type';
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,2 @@
1
+ export { DeonNzRadioModule } from './radio.module';
2
+ export { DeonNzFieldRadio } from './radio.type';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@kre-form/core";
4
+ export declare class DeonNzRadioModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzRadioModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzRadioModule, never, [typeof i1.CommonModule, typeof i2.FormlyModule], never>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzRadioModule>;
8
+ }
@@ -0,0 +1,11 @@
1
+ import { FieldType, FieldTypeConfig } from '@kre-form/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DeonNzFieldRadio extends FieldType<FieldTypeConfig> {
4
+ defaultOptions: {
5
+ props: {
6
+ options: any[];
7
+ };
8
+ };
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldRadio, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldRadio, "deon-nz-field-radio", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,2 @@
1
+ export { DeonNzRadioGroupModule } from './radiogroup.module';
2
+ export { DeonNzFieldRadioGroup } from './radiogroup.type';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@kre-form/core";
4
+ export declare class DeonNzRadioGroupModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzRadioGroupModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzRadioGroupModule, never, [typeof i1.CommonModule, typeof i2.FormlyModule], never>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzRadioGroupModule>;
8
+ }
@@ -0,0 +1,17 @@
1
+ import { FieldType, FieldTypeConfig } from '@kre-form/core';
2
+ import { GramGlobalService } from '@ebuilding/base/shared.srv/global.event';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DeonNzFieldRadioGroup extends FieldType<FieldTypeConfig> {
5
+ globalSrv: GramGlobalService;
6
+ defaultOptions: {
7
+ props: {
8
+ options: any[];
9
+ };
10
+ };
11
+ get radioText(): any;
12
+ getOptions(): any[];
13
+ constructor(globalSrv: GramGlobalService);
14
+ modelChange(e: any): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzFieldRadioGroup, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeonNzFieldRadioGroup, "deon-nz-field-radiogroup", never, {}, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,2 @@
1
+ export { DeonNzReformModule } from './reform.module';
2
+ export { DeonNzFieldReform } from './reform.type';
@@ -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 DeonNzReformModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeonNzReformModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeonNzReformModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.NzGridModule, typeof i4.DeonNzFormFieldModule, typeof i5.FormlyModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeonNzReformModule>;
11
+ }