@dignite-ng/expand.dynamic-form 0.0.2

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 (140) hide show
  1. package/README.md +24 -0
  2. package/esm2022/dignite-ng-expand.dynamic-form.mjs +5 -0
  3. package/esm2022/lib/components/dynamic/dynamic.component.mjs +113 -0
  4. package/esm2022/lib/components/dynamic/index.mjs +2 -0
  5. package/esm2022/lib/components/from/ck-editor/ck-editor-config.component.mjs +65 -0
  6. package/esm2022/lib/components/from/ck-editor/ck-editor-config.mjs +18 -0
  7. package/esm2022/lib/components/from/ck-editor/ck-editor-control.component.mjs +139 -0
  8. package/esm2022/lib/components/from/ck-editor/ckEditorUpload.mjs +55 -0
  9. package/esm2022/lib/components/from/ck-editor/index.mjs +3 -0
  10. package/esm2022/lib/components/from/date-edit/date-edit-config.component.mjs +70 -0
  11. package/esm2022/lib/components/from/date-edit/date-edit-config.mjs +26 -0
  12. package/esm2022/lib/components/from/date-edit/date-edit-control.component.mjs +93 -0
  13. package/esm2022/lib/components/from/date-edit/index.mjs +3 -0
  14. package/esm2022/lib/components/from/file-explorer/file-explorer-config.component.mjs +68 -0
  15. package/esm2022/lib/components/from/file-explorer/file-explorer-config.mjs +18 -0
  16. package/esm2022/lib/components/from/file-explorer/file-explorer-control.component.mjs +102 -0
  17. package/esm2022/lib/components/from/file-explorer/index.mjs +3 -0
  18. package/esm2022/lib/components/from/form-control-group.mjs +79 -0
  19. package/esm2022/lib/components/from/index.mjs +11 -0
  20. package/esm2022/lib/components/from/numeric-edit/index.mjs +3 -0
  21. package/esm2022/lib/components/from/numeric-edit/numberic-edit-config.component.mjs +68 -0
  22. package/esm2022/lib/components/from/numeric-edit/numberic-edit-config.mjs +25 -0
  23. package/esm2022/lib/components/from/numeric-edit/numberic-edit-control.component.mjs +113 -0
  24. package/esm2022/lib/components/from/select/index.mjs +3 -0
  25. package/esm2022/lib/components/from/select/select-config.component.mjs +91 -0
  26. package/esm2022/lib/components/from/select/select-config.mjs +20 -0
  27. package/esm2022/lib/components/from/select/select-control.component.mjs +89 -0
  28. package/esm2022/lib/components/from/switch/index.mjs +3 -0
  29. package/esm2022/lib/components/from/switch/switch-config.component.mjs +68 -0
  30. package/esm2022/lib/components/from/switch/switch-config.mjs +15 -0
  31. package/esm2022/lib/components/from/switch/switch-control.component.mjs +77 -0
  32. package/esm2022/lib/components/from/text-edit/index.mjs +4 -0
  33. package/esm2022/lib/components/from/text-edit/text-edit-config.component.mjs +70 -0
  34. package/esm2022/lib/components/from/text-edit/text-edit-config.mjs +24 -0
  35. package/esm2022/lib/components/from/text-edit/text-edit.component.mjs +84 -0
  36. package/esm2022/lib/components/index.mjs +3 -0
  37. package/esm2022/lib/dynamic-form.module.mjs +107 -0
  38. package/esm2022/lib/enums/date-edit-interfaces.mjs +16 -0
  39. package/esm2022/lib/enums/index.mjs +3 -0
  40. package/esm2022/lib/enums/text-edit-mode.mjs +8 -0
  41. package/esm2022/lib/interfaces/form-config-interfaces.mjs +2 -0
  42. package/esm2022/lib/interfaces/index.mjs +2 -0
  43. package/esm2022/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.mjs +48 -0
  44. package/esm2022/lib/proxy/dignite/file-explorer/directories/index.mjs +3 -0
  45. package/esm2022/lib/proxy/dignite/file-explorer/directories/models.mjs +2 -0
  46. package/esm2022/lib/proxy/dignite/file-explorer/files/file-descriptor.service.mjs +60 -0
  47. package/esm2022/lib/proxy/dignite/file-explorer/files/index.mjs +3 -0
  48. package/esm2022/lib/proxy/dignite/file-explorer/files/models.mjs +2 -0
  49. package/esm2022/lib/proxy/dignite/file-explorer/index.mjs +4 -0
  50. package/esm2022/lib/proxy/dignite/index.mjs +3 -0
  51. package/esm2022/lib/proxy/index.mjs +5 -0
  52. package/esm2022/lib/proxy/microsoft/asp-net-core/index.mjs +3 -0
  53. package/esm2022/lib/proxy/microsoft/asp-net-core/mvc/index.mjs +2 -0
  54. package/esm2022/lib/proxy/microsoft/asp-net-core/mvc/models.mjs +2 -0
  55. package/esm2022/lib/proxy/microsoft/extensions/index.mjs +3 -0
  56. package/esm2022/lib/proxy/microsoft/extensions/primitives/index.mjs +2 -0
  57. package/esm2022/lib/proxy/microsoft/extensions/primitives/models.mjs +2 -0
  58. package/esm2022/lib/proxy/microsoft/index.mjs +5 -0
  59. package/esm2022/lib/proxy/microsoft/net/http/headers/index.mjs +2 -0
  60. package/esm2022/lib/proxy/microsoft/net/http/headers/models.mjs +2 -0
  61. package/esm2022/lib/proxy/microsoft/net/http/index.mjs +3 -0
  62. package/esm2022/lib/proxy/microsoft/net/index.mjs +3 -0
  63. package/esm2022/lib/proxy/volo/abp/content/index.mjs +2 -0
  64. package/esm2022/lib/proxy/volo/abp/content/models.mjs +2 -0
  65. package/esm2022/lib/proxy/volo/abp/index.mjs +3 -0
  66. package/esm2022/lib/proxy/volo/index.mjs +3 -0
  67. package/esm2022/lib/services/df-api.service.mjs +82 -0
  68. package/esm2022/lib/services/index.mjs +2 -0
  69. package/esm2022/public-api.mjs +10 -0
  70. package/fesm2022/dignite-ng-expand.dynamic-form.mjs +1867 -0
  71. package/fesm2022/dignite-ng-expand.dynamic-form.mjs.map +1 -0
  72. package/index.d.ts +5 -0
  73. package/lib/components/dynamic/dynamic.component.d.ts +35 -0
  74. package/lib/components/dynamic/index.d.ts +1 -0
  75. package/lib/components/from/ck-editor/ck-editor-config.component.d.ts +21 -0
  76. package/lib/components/from/ck-editor/ck-editor-config.d.ts +7 -0
  77. package/lib/components/from/ck-editor/ck-editor-control.component.d.ts +51 -0
  78. package/lib/components/from/ck-editor/ckEditorUpload.d.ts +12 -0
  79. package/lib/components/from/ck-editor/index.d.ts +2 -0
  80. package/lib/components/from/date-edit/date-edit-config.component.d.ts +24 -0
  81. package/lib/components/from/date-edit/date-edit-config.d.ts +10 -0
  82. package/lib/components/from/date-edit/date-edit-control.component.d.ts +32 -0
  83. package/lib/components/from/date-edit/index.d.ts +2 -0
  84. package/lib/components/from/file-explorer/file-explorer-config.component.d.ts +22 -0
  85. package/lib/components/from/file-explorer/file-explorer-config.d.ts +7 -0
  86. package/lib/components/from/file-explorer/file-explorer-control.component.d.ts +34 -0
  87. package/lib/components/from/file-explorer/index.d.ts +2 -0
  88. package/lib/components/from/form-control-group.d.ts +7 -0
  89. package/lib/components/from/index.d.ts +8 -0
  90. package/lib/components/from/numeric-edit/index.d.ts +2 -0
  91. package/lib/components/from/numeric-edit/numberic-edit-config.component.d.ts +22 -0
  92. package/lib/components/from/numeric-edit/numberic-edit-config.d.ts +11 -0
  93. package/lib/components/from/numeric-edit/numberic-edit-control.component.d.ts +33 -0
  94. package/lib/components/from/select/index.d.ts +2 -0
  95. package/lib/components/from/select/select-config.component.d.ts +27 -0
  96. package/lib/components/from/select/select-config.d.ts +7 -0
  97. package/lib/components/from/select/select-control.component.d.ts +27 -0
  98. package/lib/components/from/switch/index.d.ts +2 -0
  99. package/lib/components/from/switch/switch-config.component.d.ts +22 -0
  100. package/lib/components/from/switch/switch-config.d.ts +5 -0
  101. package/lib/components/from/switch/switch-control.component.d.ts +26 -0
  102. package/lib/components/from/text-edit/index.d.ts +3 -0
  103. package/lib/components/from/text-edit/text-edit-config.component.d.ts +24 -0
  104. package/lib/components/from/text-edit/text-edit-config.d.ts +6 -0
  105. package/lib/components/from/text-edit/text-edit.component.d.ts +27 -0
  106. package/lib/components/index.d.ts +2 -0
  107. package/lib/dynamic-form.module.d.ts +28 -0
  108. package/lib/enums/date-edit-interfaces.d.ts +5 -0
  109. package/lib/enums/index.d.ts +2 -0
  110. package/lib/enums/text-edit-mode.d.ts +4 -0
  111. package/lib/interfaces/form-config-interfaces.d.ts +17 -0
  112. package/lib/interfaces/index.d.ts +1 -0
  113. package/lib/proxy/dignite/file-explorer/directories/file-descriptor.service.d.ts +17 -0
  114. package/lib/proxy/dignite/file-explorer/directories/index.d.ts +2 -0
  115. package/lib/proxy/dignite/file-explorer/directories/models.d.ts +29 -0
  116. package/lib/proxy/dignite/file-explorer/files/file-descriptor.service.d.ts +20 -0
  117. package/lib/proxy/dignite/file-explorer/files/index.d.ts +2 -0
  118. package/lib/proxy/dignite/file-explorer/files/models.d.ts +50 -0
  119. package/lib/proxy/dignite/file-explorer/index.d.ts +3 -0
  120. package/lib/proxy/dignite/index.d.ts +2 -0
  121. package/lib/proxy/index.d.ts +4 -0
  122. package/lib/proxy/microsoft/asp-net-core/index.d.ts +2 -0
  123. package/lib/proxy/microsoft/asp-net-core/mvc/index.d.ts +1 -0
  124. package/lib/proxy/microsoft/asp-net-core/mvc/models.d.ts +10 -0
  125. package/lib/proxy/microsoft/extensions/index.d.ts +2 -0
  126. package/lib/proxy/microsoft/extensions/primitives/index.d.ts +1 -0
  127. package/lib/proxy/microsoft/extensions/primitives/models.d.ts +8 -0
  128. package/lib/proxy/microsoft/index.d.ts +4 -0
  129. package/lib/proxy/microsoft/net/http/headers/index.d.ts +1 -0
  130. package/lib/proxy/microsoft/net/http/headers/models.d.ts +6 -0
  131. package/lib/proxy/microsoft/net/http/index.d.ts +2 -0
  132. package/lib/proxy/microsoft/net/index.d.ts +2 -0
  133. package/lib/proxy/volo/abp/content/index.d.ts +1 -0
  134. package/lib/proxy/volo/abp/content/models.d.ts +5 -0
  135. package/lib/proxy/volo/abp/index.d.ts +2 -0
  136. package/lib/proxy/volo/index.d.ts +2 -0
  137. package/lib/services/df-api.service.d.ts +18 -0
  138. package/lib/services/index.d.ts +1 -0
  139. package/package.json +37 -0
  140. package/public-api.d.ts +6 -0
@@ -0,0 +1,2 @@
1
+ export * from './date-edit-config.component';
2
+ export * from './date-edit-control.component';
@@ -0,0 +1,22 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FileExplorerConfigComponent {
5
+ private fb;
6
+ constructor(fb: FormBuilder);
7
+ /**表单控件类型 */
8
+ _type: any;
9
+ set type(v: any);
10
+ /**表单实体 */
11
+ _Entity: FormGroup | undefined;
12
+ set Entity(v: FormGroup);
13
+ /**选择的表单信息 */
14
+ _selected: any;
15
+ set selected(v: any);
16
+ get formConfiguration(): FormGroup<any>;
17
+ submitclick: ElementRef;
18
+ dataLoaded(): Promise<void>;
19
+ AfterInit(): Promise<unknown>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileExplorerConfigComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileExplorerConfigComponent, "df-file-explorer-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
22
+ }
@@ -0,0 +1,7 @@
1
+ export declare class FileExplorerConfig {
2
+ /**文件容器名称 */
3
+ 'FileExplorer.FileContainerName': any;
4
+ /**多选 */
5
+ 'FileExplorer.UploadFileMultiple': any;
6
+ constructor(data?: FileExplorerConfig);
7
+ }
@@ -0,0 +1,34 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FileExplorerControlComponent {
5
+ private fb;
6
+ constructor(fb: FormBuilder);
7
+ /**表单实体 */
8
+ _entity: FormGroup | undefined;
9
+ set entity(v: any);
10
+ /**字段配置列表 */
11
+ _fields: any;
12
+ set fields(v: any);
13
+ /**父级字段名称,用于为表单设置控件赋值 */
14
+ _parentFiledName: any;
15
+ set parentFiledName(v: any);
16
+ /**父级字段名称,用于为表单设置控件赋值 */
17
+ _selected: any;
18
+ set selected(v: any);
19
+ submitclick: ElementRef;
20
+ get extraProperties(): FormGroup<any>;
21
+ /**数据加载完成 */
22
+ dataLoaded(): Promise<void>;
23
+ /**字段配置 */
24
+ formConfiguration: any;
25
+ /**文件容器名称 */
26
+ FileContainerName: any;
27
+ AfterInit(): Promise<unknown>;
28
+ /**选择文件-弹窗的-已选定的文件 */
29
+ selectedFileGroup: any[];
30
+ /**_selectedFile改变回调 */
31
+ _selectedFileChange(event: any): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileExplorerControlComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileExplorerControlComponent, "df-file-explorer-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
34
+ }
@@ -0,0 +1,2 @@
1
+ export * from './file-explorer-config.component';
2
+ export * from './file-explorer-control.component';
@@ -0,0 +1,7 @@
1
+ import { FieldControlGroupInterfaces } from "../../interfaces";
2
+ /**
3
+ * 表单控件分组-包含配置,控件,显示的数组
4
+ */
5
+ export declare const FieldControlGroup: FieldControlGroupInterfaces[];
6
+ export declare function getExcludeAssignControl(typeName: any): FieldControlGroupInterfaces[];
7
+ export declare function AddFieldControlGroup(array: any): void;
@@ -0,0 +1,8 @@
1
+ export * from './text-edit';
2
+ export * from './switch';
3
+ export * from './numeric-edit';
4
+ export * from './ck-editor';
5
+ export * from './date-edit';
6
+ export * from './file-explorer';
7
+ export * from './form-control-group';
8
+ export * from './select';
@@ -0,0 +1,2 @@
1
+ export * from './numberic-edit-config.component';
2
+ export * from './numberic-edit-control.component';
@@ -0,0 +1,22 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NumbericEditConfigComponent {
5
+ private fb;
6
+ constructor(fb: FormBuilder);
7
+ /**表单控件类型 */
8
+ _type: any;
9
+ set type(v: any);
10
+ /**表单实体 */
11
+ _Entity: FormGroup | undefined;
12
+ set Entity(v: FormGroup);
13
+ /**选择的表单信息 */
14
+ _selected: any;
15
+ set selected(v: any);
16
+ get formConfiguration(): FormGroup<any>;
17
+ submitclick: ElementRef;
18
+ dataLoaded(): Promise<void>;
19
+ AfterInit(): Promise<unknown>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumbericEditConfigComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumbericEditConfigComponent, "df-numberic-edit-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
22
+ }
@@ -0,0 +1,11 @@
1
+ export declare class NumbericEditConfig {
2
+ /**占位符 */
3
+ 'NumericEditField.Placeholder': any;
4
+ /**最小值 */
5
+ 'NumericEditField.Min': any;
6
+ 'NumericEditField.Max': any;
7
+ 'NumericEditField.Decimals': any;
8
+ 'NumericEditField.Step': any;
9
+ 'FormatSpecifier': any;
10
+ constructor(data?: NumbericEditConfig);
11
+ }
@@ -0,0 +1,33 @@
1
+ import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
3
+ import { AbstractControl } from '@angular/forms';
4
+ import * as i0 from "@angular/core";
5
+ export declare function maxDecimalPlacesValidator(maxDecimalPlaces: number): ValidatorFn;
6
+ export declare class NumbericEditControlComponent {
7
+ private fb;
8
+ private cdr;
9
+ constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
10
+ /**表单实体 */
11
+ _entity: FormGroup | undefined;
12
+ set entity(v: any);
13
+ get entity(): any;
14
+ /**字段配置列表 */
15
+ _fields: any;
16
+ set fields(v: any);
17
+ /**父级字段名称,用于为表单设置控件赋值 */
18
+ _parentFiledName: any;
19
+ set parentFiledName(v: any);
20
+ /**父级字段名称,用于为表单设置控件赋值 */
21
+ _selected: any;
22
+ set selected(v: any);
23
+ submitclick: ElementRef;
24
+ get extraProperties(): FormGroup<any>;
25
+ get fieldInput(): AbstractControl<any, any>;
26
+ /**数据加载完成 */
27
+ dataLoaded(): Promise<void>;
28
+ AfterInit(): Promise<unknown>;
29
+ /**数字框输入 */
30
+ inputchange(event: any): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumbericEditControlComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumbericEditControlComponent, "df-numberic-edit-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
33
+ }
@@ -0,0 +1,2 @@
1
+ export * from './select-config.component';
2
+ export * from './select-control.component';
@@ -0,0 +1,27 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SelectConfigComponent {
5
+ private fb;
6
+ constructor(fb: FormBuilder);
7
+ /**表单控件类型 */
8
+ _type: any;
9
+ set type(v: any);
10
+ /**表单实体 */
11
+ _Entity: FormGroup | undefined;
12
+ set Entity(v: FormGroup);
13
+ /**选择的表单信息 */
14
+ _selected: any;
15
+ set selected(v: any);
16
+ get formConfiguration(): FormGroup<any>;
17
+ get SelectOptions(): FormArray<any>;
18
+ submitclick: ElementRef;
19
+ dataLoaded(): Promise<void>;
20
+ /**增加选项 */
21
+ addSelectOptions(): void;
22
+ /**删除某个选项 */
23
+ deleteSelectOptions(index: any): void;
24
+ AfterInit(): Promise<unknown>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectConfigComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectConfigComponent, "df-select-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
27
+ }
@@ -0,0 +1,7 @@
1
+ export declare class SelectConfig {
2
+ /**空值文本 */
3
+ 'Select.NullText': any;
4
+ 'Select.Multiple': any;
5
+ 'Select.Options': any;
6
+ constructor(data?: SelectConfig);
7
+ }
@@ -0,0 +1,27 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SelectControlComponent {
5
+ private fb;
6
+ constructor(fb: FormBuilder);
7
+ /**表单实体 */
8
+ _entity: FormGroup | undefined;
9
+ set entity(v: any);
10
+ /**字段配置列表 */
11
+ _fields: any;
12
+ set fields(v: any);
13
+ /**父级字段名称,用于为表单设置控件赋值 */
14
+ _parentFiledName: any;
15
+ set parentFiledName(v: any);
16
+ /**父级字段名称,用于为表单设置控件赋值 */
17
+ _selected: any;
18
+ set selected(v: any);
19
+ submitclick: ElementRef;
20
+ get extraProperties(): FormGroup<any>;
21
+ /**数据加载完成 */
22
+ dataLoaded(): Promise<void>;
23
+ formConfiguration: any;
24
+ AfterInit(): Promise<unknown>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectControlComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectControlComponent, "df-select-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
27
+ }
@@ -0,0 +1,2 @@
1
+ export * from './switch-config.component';
2
+ export * from './switch-control.component';
@@ -0,0 +1,22 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SwitchConfigComponent {
5
+ private fb;
6
+ constructor(fb: FormBuilder);
7
+ /**表单控件类型 */
8
+ _type: any;
9
+ set type(v: any);
10
+ /**表单实体 */
11
+ _Entity: FormGroup | undefined;
12
+ set Entity(v: FormGroup);
13
+ /**选择的表单信息 */
14
+ _selected: any;
15
+ set selected(v: any);
16
+ get formConfiguration(): FormGroup<any>;
17
+ submitclick: ElementRef;
18
+ dataLoaded(): Promise<void>;
19
+ AfterInit(): Promise<unknown>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchConfigComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwitchConfigComponent, "df-switch-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
22
+ }
@@ -0,0 +1,5 @@
1
+ export declare class SwitchConfig {
2
+ /**默认值 */
3
+ 'Switch.Default': any;
4
+ constructor(data?: SwitchConfig);
5
+ }
@@ -0,0 +1,26 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SwitchControlComponent {
5
+ private fb;
6
+ constructor(fb: FormBuilder);
7
+ /**表单实体 */
8
+ _entity: FormGroup | undefined;
9
+ set entity(v: any);
10
+ /**字段配置列表 */
11
+ _fields: any;
12
+ set fields(v: any);
13
+ /**父级字段名称,用于为表单设置控件赋值 */
14
+ _parentFiledName: any;
15
+ set parentFiledName(v: any);
16
+ /**父级字段名称,用于为表单设置控件赋值 */
17
+ _selected: any;
18
+ set selected(v: any);
19
+ submitclick: ElementRef;
20
+ get extraProperties(): FormGroup<any>;
21
+ /**数据加载完成 */
22
+ dataLoaded(): Promise<void>;
23
+ AfterInit(): Promise<unknown>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchControlComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwitchControlComponent, "df-switch-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
26
+ }
@@ -0,0 +1,3 @@
1
+ export * from './text-edit-config.component';
2
+ export * from './text-edit-config';
3
+ export * from './text-edit.component';
@@ -0,0 +1,24 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { TextEditMode } from '../../../enums/text-edit-mode';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TextEditConfigComponent {
6
+ private fb;
7
+ constructor(fb: FormBuilder);
8
+ _TextEditMode: typeof TextEditMode;
9
+ /**表单控件类型 */
10
+ _type: any;
11
+ set type(v: any);
12
+ /**表单实体 */
13
+ _Entity: FormGroup | undefined;
14
+ set Entity(v: FormGroup);
15
+ /**选择的表单信息 */
16
+ _selected: any;
17
+ set selected(v: any);
18
+ get formConfiguration(): FormGroup<any>;
19
+ submitclick: ElementRef;
20
+ dataLoaded(): Promise<void>;
21
+ AfterInit(): Promise<unknown>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextEditConfigComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextEditConfigComponent, "df-text-edit-config", never, { "type": { "alias": "type"; "required": false; }; "Entity": { "alias": "Entity"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
@@ -0,0 +1,6 @@
1
+ export declare class TextEditConfig {
2
+ 'TextEdit.Placeholder': any;
3
+ 'TextEdit.Mode': any;
4
+ 'TextEdit.CharLimit': any;
5
+ constructor(data?: TextEditConfig);
6
+ }
@@ -0,0 +1,27 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { TextEditMode } from '../../../enums/text-edit-mode';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TextEditComponent {
6
+ private fb;
7
+ constructor(fb: FormBuilder);
8
+ _TextEditMode: typeof TextEditMode;
9
+ /**表单实体 */
10
+ _entity: FormGroup | undefined;
11
+ set entity(v: any);
12
+ /**字段配置列表 */
13
+ _fields: any;
14
+ set fields(v: any);
15
+ /**父级字段名称,用于为表单设置控件赋值 */
16
+ _parentFiledName: any;
17
+ set parentFiledName(v: any);
18
+ /**父级字段名称,用于为表单设置控件赋值 */
19
+ _selected: any;
20
+ set selected(v: any);
21
+ submitclick: ElementRef;
22
+ extraProperties: FormGroup | undefined;
23
+ dataLoaded(): Promise<void>;
24
+ AfterInit(): Promise<unknown>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextEditComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextEditComponent, "df-text-edit", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
27
+ }
@@ -0,0 +1,2 @@
1
+ export * from './from';
2
+ export * from './dynamic';
@@ -0,0 +1,28 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/from/text-edit/text-edit-config.component";
4
+ import * as i2 from "./components/from/text-edit/text-edit.component";
5
+ import * as i3 from "./components/from/switch/switch-config.component";
6
+ import * as i4 from "./components/from/switch/switch-control.component";
7
+ import * as i5 from "./components/from/numeric-edit/numberic-edit-config.component";
8
+ import * as i6 from "./components/from/numeric-edit/numberic-edit-control.component";
9
+ import * as i7 from "./components/from/date-edit/date-edit-config.component";
10
+ import * as i8 from "./components/from/date-edit/date-edit-control.component";
11
+ import * as i9 from "./components/from/file-explorer/file-explorer-config.component";
12
+ import * as i10 from "./components/from/file-explorer/file-explorer-control.component";
13
+ import * as i11 from "./components/from/ck-editor/ck-editor-config.component";
14
+ import * as i12 from "./components/from/select/select-config.component";
15
+ import * as i13 from "./components/from/select/select-control.component";
16
+ import * as i14 from "./components/dynamic/dynamic.component";
17
+ import * as i15 from "@angular/forms";
18
+ import * as i16 from "@abp/ng.core";
19
+ import * as i17 from "@abp/ng.theme.shared";
20
+ import * as i18 from "@ng-bootstrap/ng-bootstrap";
21
+ import * as i19 from "ng-zorro-antd/tree";
22
+ import * as i20 from "@dignite-ng/expand.file-explorer";
23
+ export declare class DynamicFormModule {
24
+ static forRoot(config?: any): ModuleWithProviders<DynamicFormModule>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormModule, never>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicFormModule, [typeof i1.TextEditConfigComponent, typeof i2.TextEditComponent, typeof i3.SwitchConfigComponent, typeof i4.SwitchControlComponent, typeof i5.NumbericEditConfigComponent, typeof i6.NumbericEditControlComponent, typeof i7.DateEditConfigComponent, typeof i8.DateEditControlComponent, typeof i9.FileExplorerConfigComponent, typeof i10.FileExplorerControlComponent, typeof i11.CkEditorConfigComponent, typeof i12.SelectConfigComponent, typeof i13.SelectControlComponent, typeof i14.DynamicComponent], [typeof i15.FormsModule, typeof i16.CoreModule, typeof i17.ThemeSharedModule, typeof i15.ReactiveFormsModule, typeof i18.NgbDropdownModule, typeof i19.NzTreeModule, typeof i20.FileExplorerModule], [typeof i1.TextEditConfigComponent, typeof i2.TextEditComponent, typeof i3.SwitchConfigComponent, typeof i4.SwitchControlComponent, typeof i5.NumbericEditConfigComponent, typeof i6.NumbericEditControlComponent, typeof i7.DateEditConfigComponent, typeof i8.DateEditControlComponent, typeof i9.FileExplorerConfigComponent, typeof i10.FileExplorerControlComponent, typeof i11.CkEditorConfigComponent, typeof i12.SelectConfigComponent, typeof i13.SelectControlComponent, typeof i14.DynamicComponent]>;
27
+ static ɵinj: i0.ɵɵInjectorDeclaration<DynamicFormModule>;
28
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum DateEditInterfaces {
2
+ Date = 0,
3
+ DateTime = 1,
4
+ Month = 2
5
+ }
@@ -0,0 +1,2 @@
1
+ export * from './text-edit-mode';
2
+ export * from './date-edit-interfaces';
@@ -0,0 +1,4 @@
1
+ export declare enum TextEditMode {
2
+ SingleLine = 0,
3
+ MultipleLine = 1
4
+ }
@@ -0,0 +1,17 @@
1
+ import { Type } from "@angular/core";
2
+ export interface FieldControlGroupInterfaces {
3
+ displayName: string;
4
+ name: string;
5
+ /**
6
+ * 动态表单控件
7
+ */
8
+ fieldComponent?: Type<any>;
9
+ /**
10
+ * 表单控件配置组件
11
+ */
12
+ fieldConfigComponent?: Type<any>;
13
+ /**
14
+ * 条目列表中显示的组件
15
+ */
16
+ fieldViewComponent?: Type<any>;
17
+ }
@@ -0,0 +1 @@
1
+ export * from './form-config-interfaces';
@@ -0,0 +1,17 @@
1
+ import type { CreateDirectoryInput, DirectoryDescriptorDto, DirectoryDescriptorInfoDto, GetDirectoriesInput, MoveDirectoryInput, UpdateDirectoryInput } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import type { PagedResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FileDescriptorService {
6
+ private restService;
7
+ apiName: string;
8
+ create: (input: CreateDirectoryInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<DirectoryDescriptorDto>;
9
+ delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
10
+ get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<DirectoryDescriptorDto>;
11
+ getList: (input: GetDirectoriesInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<DirectoryDescriptorInfoDto>>;
12
+ move: (id: string, input: MoveDirectoryInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<DirectoryDescriptorDto>;
13
+ update: (id: string, input: UpdateDirectoryInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<DirectoryDescriptorDto>;
14
+ constructor(restService: RestService);
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileDescriptorService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<FileDescriptorService>;
17
+ }
@@ -0,0 +1,2 @@
1
+ export * from './file-descriptor.service';
2
+ export * from './models';
@@ -0,0 +1,29 @@
1
+ import type { ExtensibleAuditedEntityDto, ExtensibleEntityDto } from '@abp/ng.core';
2
+ export interface CreateDirectoryInput {
3
+ containerName: string;
4
+ name: string;
5
+ parentId?: string;
6
+ }
7
+ export interface DirectoryDescriptorDto extends ExtensibleAuditedEntityDto<string> {
8
+ containerName?: string;
9
+ name?: string;
10
+ parentId?: string;
11
+ order: number;
12
+ }
13
+ export interface DirectoryDescriptorInfoDto extends ExtensibleEntityDto<string> {
14
+ containerName?: string;
15
+ name?: string;
16
+ parentId?: string;
17
+ order: number;
18
+ children: DirectoryDescriptorInfoDto[];
19
+ }
20
+ export interface GetDirectoriesInput {
21
+ containerName: string;
22
+ }
23
+ export interface MoveDirectoryInput {
24
+ parentId?: string;
25
+ order: number;
26
+ }
27
+ export interface UpdateDirectoryInput {
28
+ name: string;
29
+ }
@@ -0,0 +1,20 @@
1
+ import type { CreateFileInput, FileContainerConfigurationDto, FileDescriptorDto, GetFilesInput, ImageResizeInput, UpdateFileInput } from './models';
2
+ import { RestService, Rest } from '@abp/ng.core';
3
+ import type { PagedResultDto } from '@abp/ng.core';
4
+ import type { FileResult } from '../../../microsoft/asp-net-core/mvc/models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FileDescriptorService {
7
+ private restService;
8
+ apiName: string;
9
+ create: (input: CreateFileInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileDescriptorDto>;
10
+ delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
11
+ download: (containerName: string, blobName: string, fileName: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileResult>;
12
+ get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileDescriptorDto>;
13
+ getFileContainerConfiguration: (containerName: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileContainerConfigurationDto>;
14
+ getList: (input: GetFilesInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<FileDescriptorDto>>;
15
+ getStream: (containerName: string, blobName: string, imageResize?: ImageResizeInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<Blob>;
16
+ update: (id: string, input: UpdateFileInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileDescriptorDto>;
17
+ constructor(restService: RestService);
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileDescriptorService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<FileDescriptorService>;
20
+ }
@@ -0,0 +1,2 @@
1
+ export * from './file-descriptor.service';
2
+ export * from './models';
@@ -0,0 +1,50 @@
1
+ import type { IRemoteStreamContent } from '../../../volo/abp/content/models';
2
+ import type { CreationAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
3
+ export interface CreateFileInput {
4
+ containerName: string;
5
+ cellName?: string;
6
+ directoryId?: string;
7
+ entityId?: string;
8
+ file: IRemoteStreamContent;
9
+ }
10
+ export interface FileCellDto {
11
+ name?: string;
12
+ displayName?: string;
13
+ }
14
+ export interface FileContainerConfigurationDto {
15
+ maxBlobSize: number;
16
+ allowedFileTypeNames: string[];
17
+ fileCells: FileCellDto[];
18
+ createDirectoryPermissionName?: string;
19
+ createFilePermissionName?: string;
20
+ updateFilePermissionName?: string;
21
+ deleteFilePermissionName?: string;
22
+ getFilePermissionName?: string;
23
+ }
24
+ export interface FileDescriptorDto extends CreationAuditedEntityDto<string> {
25
+ entityId?: string;
26
+ containerName?: string;
27
+ blobName?: string;
28
+ cellName?: string;
29
+ directoryId?: string;
30
+ size: number;
31
+ name?: string;
32
+ mimeType?: string;
33
+ url?: string;
34
+ }
35
+ export interface GetFilesInput extends PagedAndSortedResultRequestDto {
36
+ containerName: string;
37
+ directoryId?: string;
38
+ creatorId?: string;
39
+ filter?: string;
40
+ entityId?: string;
41
+ }
42
+ export interface ImageResizeInput {
43
+ width?: number;
44
+ height?: number;
45
+ }
46
+ export interface UpdateFileInput {
47
+ cellName?: string;
48
+ directoryId?: string;
49
+ name?: string;
50
+ }
@@ -0,0 +1,3 @@
1
+ import * as Directories from './directories';
2
+ import * as Files from './files';
3
+ export { Directories, Files };
@@ -0,0 +1,2 @@
1
+ import * as FileExplorer from './file-explorer';
2
+ export { FileExplorer };
@@ -0,0 +1,4 @@
1
+ import * as Dignite from './dignite';
2
+ import * as Microsoft from './microsoft';
3
+ import * as Volo from './volo';
4
+ export { Dignite, Microsoft, Volo };
@@ -0,0 +1,2 @@
1
+ import * as Mvc from './mvc';
2
+ export { Mvc };
@@ -0,0 +1 @@
1
+ export * from './models';
@@ -0,0 +1,10 @@
1
+ import type { EntityTagHeaderValue } from '../../net/http/headers/models';
2
+ export interface ActionResult {
3
+ }
4
+ export interface FileResult extends ActionResult {
5
+ contentType?: string;
6
+ fileDownloadName?: string;
7
+ lastModified?: string;
8
+ entityTag: EntityTagHeaderValue;
9
+ enableRangeProcessing: boolean;
10
+ }
@@ -0,0 +1,2 @@
1
+ import * as Primitives from './primitives';
2
+ export { Primitives };
@@ -0,0 +1 @@
1
+ export * from './models';
@@ -0,0 +1,8 @@
1
+ export interface StringSegment {
2
+ buffer?: string;
3
+ offset: number;
4
+ length: number;
5
+ value?: string;
6
+ hasValue: boolean;
7
+ item?: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ import * as AspNetCore from './asp-net-core';
2
+ import * as Extensions from './extensions';
3
+ import * as Net from './net';
4
+ export { AspNetCore, Extensions, Net };
@@ -0,0 +1 @@
1
+ export * from './models';