@fly-vue/lcdp-iview 1.8.13-6 → 1.8.14-1

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 (49) hide show
  1. package/@types/module/action-nodes/impl/open-in-dialog-runtime.d.ts +10 -0
  2. package/@types/module/components/components/IvTableGrid/index.vue.d.ts +7 -7
  3. package/@types/module/components/components/IvTableGrid/use-savelocal.d.ts +8 -0
  4. package/@types/module/components/components/entity/IvEntityExcelImporter/index.vue.d.ts +273 -0
  5. package/@types/module/components/components/entity/IvEntityExcelImporter/ts/type.d.ts +1 -0
  6. package/@types/module/components/components/entity/IvEntityExport/ts/type.d.ts +7 -0
  7. package/@types/module/components/components/entity/IvEntityQueryBuilder/index.vue.d.ts +2 -1
  8. package/@types/module/components/components/entity/IvEntityQueryBuilder/ts/type.d.ts +0 -1
  9. package/@types/module/components/components/iam/lib/query-methods-builder.d.ts +1 -1
  10. package/@types/module/components/for-renderer/excel-importer/failed-list.vue.d.ts +13 -0
  11. package/@types/module/components/for-renderer/excel-importer/index.vue.d.ts +58 -2
  12. package/@types/module/components/for-renderer/excel-importer/successful-list.vue.d.ts +9 -0
  13. package/@types/module/components/for-renderer/excel-importer/to-import-list.vue.d.ts +12 -0
  14. package/@types/module/components/for-renderer/excel-importer/types.d.ts +22 -0
  15. package/@types/module/components/index.d.ts +1 -0
  16. package/@types/module/components/utils.d.ts +7 -0
  17. package/@types/module/index.d.ts +1 -0
  18. package/@types/module/unitl/indexdb.d.ts +50 -0
  19. package/bingo-builder-manifest.json +15 -15
  20. package/index.js +4 -4
  21. package/modules/fly_vue_lcdp_iview/assets/css/app.css +2 -2
  22. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.2272e7e7.css +1 -0
  23. package/modules/fly_vue_lcdp_iview/assets/img/iam_org.d3c37137.svg +15 -0
  24. package/modules/fly_vue_lcdp_iview/assets/img/iam_root_org.29376f63.svg +15 -0
  25. package/modules/fly_vue_lcdp_iview/assets/img/iam_sub_tenant_org.4ba46585.svg +16 -0
  26. package/modules/fly_vue_lcdp_iview/assets/svg/iam_org.svg +15 -0
  27. package/modules/fly_vue_lcdp_iview/assets/svg/iam_root_org.svg +15 -0
  28. package/modules/fly_vue_lcdp_iview/assets/svg/iam_sub_tenant_org.svg +16 -0
  29. package/modules/fly_vue_lcdp_iview/chunk-732b533d.7ee7c3bec7449e47357e.js +1 -0
  30. package/modules/fly_vue_lcdp_iview/dll.js +8 -8
  31. package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.7ee7c3bec7449e47357e.js +1 -0
  32. package/modules/fly_vue_lcdp_iview/{lcdp-iview-component.774701aaaf5326e19ccb.js → lcdp-iview-component.7ee7c3bec7449e47357e.js} +1 -1
  33. package/modules/fly_vue_lcdp_iview/lcdp-iview-component~lcdp-renderer-components.7ee7c3bec7449e47357e.js +1 -0
  34. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.7ee7c3bec7449e47357e.js +1 -0
  35. package/modules/fly_vue_lcdp_iview/vendors~lcdp-iview-component~lcdp-renderer-components.7ee7c3bec7449e47357e.js +42 -0
  36. package/modules/fly_vue_lcdp_iview/{vendors~lcdp-renderer-components.774701aaaf5326e19ccb.js → vendors~lcdp-renderer-components.7ee7c3bec7449e47357e.js} +2 -2
  37. package/package.json +14 -14
  38. package/@types/module/components/components/IvTableGrid/simple-page.vue.d.ts +0 -34
  39. package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.26af6a0b.css +0 -1
  40. package/modules/fly_vue_lcdp_iview/chunk-732b533d.774701aaaf5326e19ccb.js +0 -1
  41. package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.774701aaaf5326e19ccb.js +0 -1
  42. package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.774701aaaf5326e19ccb.js +0 -1
  43. /package/modules/fly_vue_lcdp_iview/{lcdp-designer-components.774701aaaf5326e19ccb.js → lcdp-designer-components.7ee7c3bec7449e47357e.js} +0 -0
  44. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-attrcomponent.774701aaaf5326e19ccb.js → lcdp-iview-attrcomponent.7ee7c3bec7449e47357e.js} +0 -0
  45. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-ice.774701aaaf5326e19ccb.js → lcdp-iview-component-ice.7ee7c3bec7449e47357e.js} +0 -0
  46. /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-region.774701aaaf5326e19ccb.js → lcdp-iview-component-region.7ee7c3bec7449e47357e.js} +0 -0
  47. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-attrcomponent~lcdp-iview-basecomponent.774701aaaf5326e19ccb.js → vendors~lcdp-iview-attrcomponent~lcdp-iview-basecomponent.7ee7c3bec7449e47357e.js} +0 -0
  48. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component-ice.774701aaaf5326e19ccb.js → vendors~lcdp-iview-component-ice.7ee7c3bec7449e47357e.js} +0 -0
  49. /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component.774701aaaf5326e19ccb.js → vendors~lcdp-iview-component.7ee7c3bec7449e47357e.js} +0 -0
@@ -0,0 +1,10 @@
1
+ import { ActionContext, ActionResult } from 'maple-client-orchestration-runtime';
2
+ declare const _default: {
3
+ id: string;
4
+ func: (actionContext: ActionContext) => Promise<ActionResult>;
5
+ };
6
+ export default _default;
7
+ export declare const closeDialog: {
8
+ id: string;
9
+ func: (actionContext: ActionContext) => Promise<ActionResult>;
10
+ };
@@ -72,11 +72,11 @@ declare const _default: import("vue").DefineComponent<{
72
72
  type: ArrayConstructor;
73
73
  };
74
74
  /**
75
- * 是否无限加载
76
- * 默认为false
75
+ * 是否保存筛选列到本地
77
76
  */
78
- isInfinite: {
77
+ saveFilterColumnLocal: {
79
78
  type: BooleanConstructor;
79
+ default: boolean;
80
80
  };
81
81
  size: {
82
82
  validator(value: any): boolean;
@@ -313,11 +313,11 @@ declare const _default: import("vue").DefineComponent<{
313
313
  type: ArrayConstructor;
314
314
  };
315
315
  /**
316
- * 是否无限加载
317
- * 默认为false
316
+ * 是否保存筛选列到本地
318
317
  */
319
- isInfinite: {
318
+ saveFilterColumnLocal: {
320
319
  type: BooleanConstructor;
320
+ default: boolean;
321
321
  };
322
322
  size: {
323
323
  validator(value: any): boolean;
@@ -442,7 +442,7 @@ declare const _default: import("vue").DefineComponent<{
442
442
  loadOnMounted: boolean;
443
443
  showChildren: boolean;
444
444
  selectRowSingle: boolean;
445
- isInfinite: boolean;
445
+ saveFilterColumnLocal: boolean;
446
446
  stripe: boolean;
447
447
  showHeader: boolean;
448
448
  highlightRow: boolean;
@@ -0,0 +1,8 @@
1
+ import IndexDBUtil from '../../../unitl/indexdb';
2
+ export declare function initDB(): Promise<void>;
3
+ export declare function initSaveLocal(id?: string): {
4
+ tableGridDB: IndexDBUtil;
5
+ tableGridRef: string;
6
+ saveFilterColumnLocalFun: (props: any, data: any[], filterDataFun?: (item: any) => any) => Promise<void>;
7
+ getFilterColumnLocalFun: (props: any) => Promise<any>;
8
+ };
@@ -0,0 +1,273 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ entity: any;
3
+ excelTemplateUrl: any;
4
+ autoImportMaxRecords: {
5
+ default: number;
6
+ };
7
+ maxFileSize: {
8
+ default: number;
9
+ };
10
+ importUrl: any;
11
+ }, {
12
+ __sfc: boolean;
13
+ props: {
14
+ entity: string;
15
+ excelTemplateUrl?: string;
16
+ autoImportMaxRecords: number;
17
+ maxFileSize: number;
18
+ importUrl?: string;
19
+ };
20
+ emit: {
21
+ (e: 'on-success-import'): void;
22
+ (e: 'on-error-import'): void;
23
+ };
24
+ importModel: import("vue").Ref<boolean>;
25
+ importLoad: import("vue").Ref<boolean>;
26
+ childLoad: import("vue").Ref<boolean>;
27
+ childRef: any;
28
+ whichTable: any;
29
+ designerService: any;
30
+ onOk: () => void;
31
+ onCancel: () => void;
32
+ handlerComplateImport: () => void;
33
+ handlerErrorImport: () => void;
34
+ handlerLoadingImport: () => void;
35
+ handlerSelectImport: (string: string) => void;
36
+ handlerSuccessImport: () => void;
37
+ LcdpDataImporter: import("vue").DefineComponent<{
38
+ entityName: any;
39
+ excelTemplateUrl: any;
40
+ autoImportMaxRecords: {
41
+ default: number;
42
+ };
43
+ maxFileSize: {
44
+ default: number;
45
+ };
46
+ importUrl: any;
47
+ }, {
48
+ __sfc: boolean;
49
+ props: {
50
+ entityName: string;
51
+ excelTemplateUrl?: string;
52
+ autoImportMaxRecords: number;
53
+ maxFileSize: number;
54
+ importUrl?: string;
55
+ };
56
+ parseExcelUrl: string;
57
+ defaultImportUrl: string;
58
+ headers: {};
59
+ importUrl: string;
60
+ mappings: import("vue").Ref<{
61
+ columnIndex: number;
62
+ columnHeaderText: string;
63
+ fieldName: string;
64
+ fieldDisplayName: string;
65
+ }[]>;
66
+ toImportListRecords: import("vue").Ref<{
67
+ [x: string]: any;
68
+ _uid_: string;
69
+ _selected_?: boolean;
70
+ _importResult_?: string;
71
+ _importError_?: string;
72
+ _editing_?: string;
73
+ _editingValue_?: string;
74
+ }[]>;
75
+ successfulListRecords: import("vue").Ref<{
76
+ [x: string]: any;
77
+ _uid_: string;
78
+ _selected_?: boolean;
79
+ _importResult_?: string;
80
+ _importError_?: string;
81
+ _editing_?: string;
82
+ _editingValue_?: string;
83
+ }[]>;
84
+ failedListRecords: import("vue").Ref<{
85
+ [x: string]: any;
86
+ _uid_: string;
87
+ _selected_?: boolean;
88
+ _importResult_?: string;
89
+ _importError_?: string;
90
+ _editing_?: string;
91
+ _editingValue_?: string;
92
+ }[]>;
93
+ excelUpload: import("vue").Ref<{
94
+ clearFiles: () => void;
95
+ }>;
96
+ fileName: any;
97
+ importList: any;
98
+ failedList: any;
99
+ entityInfo: any;
100
+ designerService: any;
101
+ list: import("vue").WritableComputedRef<import("@fly-vue/lcdp-api").IOption[]>;
102
+ emit: {
103
+ (e: "on-select-import", string: string): any;
104
+ (e: "on-loading-import"): void;
105
+ (e: "on-complate-import"): void;
106
+ (e: "on-error-import"): void;
107
+ (e: "on-success-import"): void;
108
+ };
109
+ handleOnSuccess: (response: any, file: any) => void;
110
+ afterImported: (currentRecords: any, res: any) => void;
111
+ importing: import("vue").Ref<boolean>;
112
+ importingPercent: import("vue").Ref<number>;
113
+ showImportingPercent: import("vue").Ref<boolean>;
114
+ importData: () => void;
115
+ whichTable: import("vue").Ref<string>;
116
+ correcting: boolean;
117
+ correctData: () => void;
118
+ changeToImportListItemField: (e: any) => void;
119
+ changeFailedListItemField: (e: any) => void;
120
+ handleMaxSize: () => void;
121
+ onUploadRevoke: () => void;
122
+ onDownTemplate: () => Promise<void>;
123
+ setupStyledHeaders: (worksheet: import("exceljs").Worksheet, fieldsArr: any) => void;
124
+ setupDropdownValidations: (worksheet: any, worksheet2: import("exceljs").Worksheet, fieldsArr: any) => void;
125
+ getColumnLetter: (columnIndex: number) => string;
126
+ setupVerticalData: (worksheet: import("exceljs").Worksheet, fieldsArr: any) => void;
127
+ ToImportList: import("vue").DefineComponent<{
128
+ mappings: any;
129
+ records: any;
130
+ }, {
131
+ __sfc: boolean;
132
+ props: {
133
+ mappings: import("../../../for-renderer/excel-importer/types").ColumnsMapping;
134
+ records: import("../../../for-renderer/excel-importer/types").ImportRecords;
135
+ };
136
+ random: any;
137
+ tableCloumns: import("vue").Ref<{
138
+ key?: string;
139
+ title?: string;
140
+ width?: number;
141
+ type?: string;
142
+ align?: string;
143
+ render?: unknown;
144
+ tooltip?: boolean;
145
+ }[]>;
146
+ emit: (event: "change-item-field", params: {
147
+ uid: string;
148
+ fieldName: string;
149
+ fieldValue: any;
150
+ }) => void;
151
+ page: import("vue").Ref<number>;
152
+ pageSize: import("vue").Ref<number>;
153
+ pagedRecords: import("vue").ComputedRef<any[]>;
154
+ onPageSizeChanged: (_pageSize: any) => void;
155
+ currentPageAllSelected: import("vue").Ref<boolean>;
156
+ toggleSelectedAll: (isChecked: any) => void;
157
+ onSelect: (selection: unknown[], row: unknown) => void;
158
+ onRendom: () => void;
159
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
160
+ mappings: any;
161
+ records: any;
162
+ }>>, {
163
+ mappings: any;
164
+ records: any;
165
+ }>;
166
+ SuccessfulList: import("vue").DefineComponent<{
167
+ mappings: any;
168
+ records: any;
169
+ }, {
170
+ __sfc: boolean;
171
+ props: {
172
+ mappings: import("../../../for-renderer/excel-importer/types").ColumnsMapping;
173
+ records: import("../../../for-renderer/excel-importer/types").ImportRecords;
174
+ };
175
+ tableCloumns: import("vue").Ref<{
176
+ key?: string;
177
+ title?: string;
178
+ width?: number;
179
+ type?: string;
180
+ align?: string;
181
+ render?: unknown;
182
+ tooltip?: boolean;
183
+ }[]>;
184
+ page: import("vue").Ref<number>;
185
+ pageSize: import("vue").Ref<number>;
186
+ pagedRecords: import("vue").ComputedRef<any[]>;
187
+ onPageSizeChanged: (_pageSize: any) => void;
188
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
189
+ mappings: any;
190
+ records: any;
191
+ }>>, {
192
+ mappings: any;
193
+ records: any;
194
+ }>;
195
+ FailedList: import("vue").DefineComponent<{
196
+ mappings: any;
197
+ records: any;
198
+ }, {
199
+ __sfc: boolean;
200
+ props: {
201
+ mappings: import("../../../for-renderer/excel-importer/types").ColumnsMapping;
202
+ records: import("../../../for-renderer/excel-importer/types").ImportRecords;
203
+ };
204
+ random: any;
205
+ tableCloumns: import("vue").Ref<{
206
+ key?: string;
207
+ title?: string;
208
+ width?: number;
209
+ type?: string;
210
+ align?: string;
211
+ render?: unknown;
212
+ tooltip?: boolean;
213
+ }[]>;
214
+ emit: (event: "change-item-field", params: {
215
+ uid: string;
216
+ fieldName: string;
217
+ fieldValue: any;
218
+ }) => void;
219
+ page: import("vue").Ref<number>;
220
+ pageSize: import("vue").Ref<number>;
221
+ pagedRecords: import("vue").ComputedRef<any[]>;
222
+ onPageSizeChanged: (_pageSize: any) => void;
223
+ currentPageAllSelected: import("vue").Ref<boolean>;
224
+ toggleSelectedAll: (isChecked: any) => void;
225
+ editCell: (index: any, m: any) => void;
226
+ onEdit: (val: any, index: any) => void;
227
+ confirmEdit: (index: any, fieldName: any, fieldValue: any) => void;
228
+ cancelEdit: (index: any) => void;
229
+ onCellClick: (row: any, column: any, data: any, event: any) => void;
230
+ onSelect: (selection: unknown[], row: unknown) => void;
231
+ onRendom: () => void;
232
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
233
+ mappings: any;
234
+ records: any;
235
+ }>>, {
236
+ mappings: any;
237
+ records: any;
238
+ }>;
239
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("on-select-import" | "on-loading-import" | "on-complate-import" | "on-error-import" | "on-success-import")[], string, Readonly<import("vue").ExtractPropTypes<{
240
+ entityName: any;
241
+ excelTemplateUrl: any;
242
+ autoImportMaxRecords: {
243
+ default: number;
244
+ };
245
+ maxFileSize: {
246
+ default: number;
247
+ };
248
+ importUrl: any;
249
+ }>>, {
250
+ entityName: any;
251
+ excelTemplateUrl: any;
252
+ autoImportMaxRecords: number;
253
+ maxFileSize: number;
254
+ importUrl: any;
255
+ }>;
256
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("on-error-import" | "on-success-import")[], string, Readonly<import("vue").ExtractPropTypes<{
257
+ entity: any;
258
+ excelTemplateUrl: any;
259
+ autoImportMaxRecords: {
260
+ default: number;
261
+ };
262
+ maxFileSize: {
263
+ default: number;
264
+ };
265
+ importUrl: any;
266
+ }>>, {
267
+ entity: any;
268
+ excelTemplateUrl: any;
269
+ autoImportMaxRecords: number;
270
+ maxFileSize: number;
271
+ importUrl: any;
272
+ }>;
273
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare type ImportBoolean = boolean;
@@ -9,6 +9,11 @@ interface TransferQuery {
9
9
  height: string;
10
10
  };
11
11
  }
12
+ interface RadioGroupQuery {
13
+ label: number | string;
14
+ title: string;
15
+ show: boolean;
16
+ }
12
17
  export interface ComponentData {
13
18
  exportModel: boolean;
14
19
  exportLoading: boolean;
@@ -17,6 +22,8 @@ export interface ComponentData {
17
22
  fieldGruop: ArbitraryObject[];
18
23
  transferQuery: TransferQuery;
19
24
  relations: ArbitraryObject;
25
+ radioGroupValue: number | string;
26
+ radioGroupList: RadioGroupQuery[];
20
27
  }
21
28
  export interface Item {
22
29
  [key: string]: any;
@@ -8,7 +8,6 @@ declare const _default: import("vue").DefineComponent<{
8
8
  entity: string;
9
9
  };
10
10
  queryBuilderData: QueryBuilderData;
11
- visible: Ref<boolean>;
12
11
  filedOption: Ref<{
13
12
  [key: string]: any;
14
13
  }[]>;
@@ -18,6 +17,7 @@ declare const _default: import("vue").DefineComponent<{
18
17
  relations: Ref<{
19
18
  [key: string]: any;
20
19
  }>;
20
+ IvEntityQueryBuilderPoptip: Ref<HTMLDivElement>;
21
21
  onEntityInfo: () => void;
22
22
  emit: {
23
23
  (e: "on-search-reset"): void;
@@ -32,6 +32,7 @@ declare const _default: import("vue").DefineComponent<{
32
32
  onListFilters: (filters: string) => void;
33
33
  }>;
34
34
  onBaseClick: (type: string) => void;
35
+ closePoptip: () => void;
35
36
  designerService: any;
36
37
  FieldAnalysis: import("vue").DefineComponent<{
37
38
  filedOption: any;
@@ -24,7 +24,6 @@ declare type ArbitraryObject = {
24
24
  [key: string]: any;
25
25
  };
26
26
  export interface QueryBuilderData {
27
- visible: boolean;
28
27
  filedOption: ArbitraryObject[];
29
28
  entityInfo: ArbitraryObject;
30
29
  relations: ArbitraryObject;
@@ -1,4 +1,4 @@
1
- declare function build(userApiUrl: any, orgApiUrl: any, userSelectOptions?: any, orgSelectOptions?: any, globalQueryOptions?: any, globalConfig?: any, extraOptions?: any): {
1
+ declare function build(userApiUrl: any, orgApiUrl: any, userSelectOptions?: any, orgSelectOptions?: any, globalQueryOptions?: any, globalConfig?: any, inboundOrgUrl?: any): {
2
2
  queryExternalOrg: () => any;
3
3
  queryRootOrg: () => any;
4
4
  queryRootOrgByUrl: (url: any, rebuildOptions?: boolean, filters?: string) => Promise<{
@@ -8,6 +8,16 @@ declare const _default: import("vue").DefineComponent<{
8
8
  mappings: ColumnsMapping;
9
9
  records: ImportRecords;
10
10
  };
11
+ random: any;
12
+ tableCloumns: import("vue").Ref<{
13
+ key?: string;
14
+ title?: string;
15
+ width?: number;
16
+ type?: string;
17
+ align?: string;
18
+ render?: unknown;
19
+ tooltip?: boolean;
20
+ }[]>;
11
21
  emit: (event: 'change-item-field', params: {
12
22
  uid: string;
13
23
  fieldName: string;
@@ -23,6 +33,9 @@ declare const _default: import("vue").DefineComponent<{
23
33
  onEdit: (val: any, index: any) => void;
24
34
  confirmEdit: (index: any, fieldName: any, fieldValue: any) => void;
25
35
  cancelEdit: (index: any) => void;
36
+ onCellClick: (row: any, column: any, data: any, event: any) => void;
37
+ onSelect: (selection: unknown[], row: unknown) => void;
38
+ onRendom: () => void;
26
39
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
27
40
  mappings: any;
28
41
  records: any;
@@ -1,4 +1,5 @@
1
1
  import { ColumnsMapping, ImportRecords } from './types';
2
+ import * as ExcelJS from "exceljs";
2
3
  declare const _default: import("vue").DefineComponent<{
3
4
  entityName: any;
4
5
  excelTemplateUrl: any;
@@ -13,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
13
14
  __sfc: boolean;
14
15
  props: {
15
16
  entityName: string;
16
- excelTemplateUrl: string;
17
+ excelTemplateUrl?: string;
17
18
  autoImportMaxRecords: number;
18
19
  maxFileSize: number;
19
20
  importUrl?: string;
@@ -55,7 +56,22 @@ declare const _default: import("vue").DefineComponent<{
55
56
  _editing_?: string;
56
57
  _editingValue_?: string;
57
58
  }[]>;
59
+ excelUpload: import("vue").Ref<{
60
+ clearFiles: () => void;
61
+ }>;
58
62
  fileName: any;
63
+ importList: any;
64
+ failedList: any;
65
+ entityInfo: any;
66
+ designerService: any;
67
+ list: import("vue").WritableComputedRef<import("@fly-vue/lcdp-api").IOption[]>;
68
+ emit: {
69
+ (e: "on-select-import", string: string): any;
70
+ (e: "on-loading-import"): void;
71
+ (e: "on-complate-import"): void;
72
+ (e: "on-error-import"): void;
73
+ (e: "on-success-import"): void;
74
+ };
59
75
  handleOnSuccess: (response: any, file: any) => void;
60
76
  afterImported: (currentRecords: any, res: any) => void;
61
77
  importing: import("vue").Ref<boolean>;
@@ -68,6 +84,12 @@ declare const _default: import("vue").DefineComponent<{
68
84
  changeToImportListItemField: (e: any) => void;
69
85
  changeFailedListItemField: (e: any) => void;
70
86
  handleMaxSize: () => void;
87
+ onUploadRevoke: () => void;
88
+ onDownTemplate: () => Promise<void>;
89
+ setupStyledHeaders: (worksheet: ExcelJS.Worksheet, fieldsArr: any) => void;
90
+ setupDropdownValidations: (worksheet: any, worksheet2: ExcelJS.Worksheet, fieldsArr: any) => void;
91
+ getColumnLetter: (columnIndex: number) => string;
92
+ setupVerticalData: (worksheet: ExcelJS.Worksheet, fieldsArr: any) => void;
71
93
  ToImportList: import("vue").DefineComponent<{
72
94
  mappings: any;
73
95
  records: any;
@@ -77,6 +99,16 @@ declare const _default: import("vue").DefineComponent<{
77
99
  mappings: ColumnsMapping;
78
100
  records: ImportRecords;
79
101
  };
102
+ random: any;
103
+ tableCloumns: import("vue").Ref<{
104
+ key?: string;
105
+ title?: string;
106
+ width?: number;
107
+ type?: string;
108
+ align?: string;
109
+ render?: unknown;
110
+ tooltip?: boolean;
111
+ }[]>;
80
112
  emit: (event: "change-item-field", params: {
81
113
  uid: string;
82
114
  fieldName: string;
@@ -88,6 +120,8 @@ declare const _default: import("vue").DefineComponent<{
88
120
  onPageSizeChanged: (_pageSize: any) => void;
89
121
  currentPageAllSelected: import("vue").Ref<boolean>;
90
122
  toggleSelectedAll: (isChecked: any) => void;
123
+ onSelect: (selection: unknown[], row: unknown) => void;
124
+ onRendom: () => void;
91
125
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
92
126
  mappings: any;
93
127
  records: any;
@@ -104,6 +138,15 @@ declare const _default: import("vue").DefineComponent<{
104
138
  mappings: ColumnsMapping;
105
139
  records: ImportRecords;
106
140
  };
141
+ tableCloumns: import("vue").Ref<{
142
+ key?: string;
143
+ title?: string;
144
+ width?: number;
145
+ type?: string;
146
+ align?: string;
147
+ render?: unknown;
148
+ tooltip?: boolean;
149
+ }[]>;
107
150
  page: import("vue").Ref<number>;
108
151
  pageSize: import("vue").Ref<number>;
109
152
  pagedRecords: import("vue").ComputedRef<any[]>;
@@ -124,6 +167,16 @@ declare const _default: import("vue").DefineComponent<{
124
167
  mappings: ColumnsMapping;
125
168
  records: ImportRecords;
126
169
  };
170
+ random: any;
171
+ tableCloumns: import("vue").Ref<{
172
+ key?: string;
173
+ title?: string;
174
+ width?: number;
175
+ type?: string;
176
+ align?: string;
177
+ render?: unknown;
178
+ tooltip?: boolean;
179
+ }[]>;
127
180
  emit: (event: "change-item-field", params: {
128
181
  uid: string;
129
182
  fieldName: string;
@@ -139,6 +192,9 @@ declare const _default: import("vue").DefineComponent<{
139
192
  onEdit: (val: any, index: any) => void;
140
193
  confirmEdit: (index: any, fieldName: any, fieldValue: any) => void;
141
194
  cancelEdit: (index: any) => void;
195
+ onCellClick: (row: any, column: any, data: any, event: any) => void;
196
+ onSelect: (selection: unknown[], row: unknown) => void;
197
+ onRendom: () => void;
142
198
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
143
199
  mappings: any;
144
200
  records: any;
@@ -146,7 +202,7 @@ declare const _default: import("vue").DefineComponent<{
146
202
  mappings: any;
147
203
  records: any;
148
204
  }>;
149
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
205
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("on-select-import" | "on-loading-import" | "on-complate-import" | "on-error-import" | "on-success-import")[], string, Readonly<import("vue").ExtractPropTypes<{
150
206
  entityName: any;
151
207
  excelTemplateUrl: any;
152
208
  autoImportMaxRecords: {
@@ -8,6 +8,15 @@ declare const _default: import("vue").DefineComponent<{
8
8
  mappings: ColumnsMapping;
9
9
  records: ImportRecords;
10
10
  };
11
+ tableCloumns: import("vue").Ref<{
12
+ key?: string;
13
+ title?: string;
14
+ width?: number;
15
+ type?: string;
16
+ align?: string;
17
+ render?: unknown;
18
+ tooltip?: boolean;
19
+ }[]>;
11
20
  page: import("vue").Ref<number>;
12
21
  pageSize: import("vue").Ref<number>;
13
22
  pagedRecords: import("vue").ComputedRef<any[]>;
@@ -8,6 +8,16 @@ declare const _default: import("vue").DefineComponent<{
8
8
  mappings: ColumnsMapping;
9
9
  records: ImportRecords;
10
10
  };
11
+ random: any;
12
+ tableCloumns: import("vue").Ref<{
13
+ key?: string;
14
+ title?: string;
15
+ width?: number;
16
+ type?: string;
17
+ align?: string;
18
+ render?: unknown;
19
+ tooltip?: boolean;
20
+ }[]>;
11
21
  emit: (event: 'change-item-field', params: {
12
22
  uid: string;
13
23
  fieldName: string;
@@ -19,6 +29,8 @@ declare const _default: import("vue").DefineComponent<{
19
29
  onPageSizeChanged: (_pageSize: any) => void;
20
30
  currentPageAllSelected: import("vue").Ref<boolean>;
21
31
  toggleSelectedAll: (isChecked: any) => void;
32
+ onSelect: (selection: unknown[], row: unknown) => void;
33
+ onRendom: () => void;
22
34
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
23
35
  mappings: any;
24
36
  records: any;
@@ -15,3 +15,25 @@ export declare type ImportRecord = {
15
15
  [otherKey: string]: any;
16
16
  };
17
17
  export declare type ImportRecords = ImportRecord[];
18
+ export declare type TableColumns = {
19
+ key?: string;
20
+ title?: string;
21
+ width?: number;
22
+ type?: string;
23
+ align?: string;
24
+ render?: unknown;
25
+ tooltip?: boolean;
26
+ };
27
+ export declare type TableColumnsMapping = TableColumns[];
28
+ export declare type HtmlUploadRef = {
29
+ clearFiles(): void;
30
+ };
31
+ export interface ValidationConfig {
32
+ range: {
33
+ minRow: number;
34
+ maxRow: number;
35
+ minCol: number;
36
+ maxCol: number;
37
+ };
38
+ options: string[];
39
+ }
@@ -212,6 +212,7 @@ declare const _default: {
212
212
  IvEntityFormEdit: () => Promise<typeof import("./components/entity/button/edit.vue")>;
213
213
  IvEntityQueryBuilder: () => Promise<typeof import("./components/entity/IvEntityQueryBuilder/index.vue")>;
214
214
  IvEntityExport: () => Promise<typeof import("./components/entity/IvEntityExport/index.vue")>;
215
+ IvEntityExcelImporter: () => Promise<typeof import("./components/entity/IvEntityExcelImporter/index.vue")>;
215
216
  IvContainer: () => Promise<typeof import("./components/base/IvContainer/index.js")>;
216
217
  IvDiv: () => Promise<typeof import("./components/base/IvDiv/index.js")>;
217
218
  IvIframe: () => Promise<typeof import("./components/base/IvIframe/index.vue")>;
@@ -39,3 +39,10 @@ export declare function _getGlobalUiConfig(componentName: any, prop: any): any;
39
39
  * @return {boolean} 返回一个布尔值
40
40
  */
41
41
  export declare function _isNumber(val: any): boolean;
42
+ /**
43
+ * 压缩并编码 URL 为固定长度字符串
44
+ * 使用 SHA-256 算法确保唯一性
45
+ * @param url - 需要编码的 URL
46
+ * @returns 固定长度的编码字符串
47
+ */
48
+ export declare function compressAndEncodeUrl(url: string): Promise<string>;
@@ -10,3 +10,4 @@ export { default as StyleEditor } from './components/attribute/StyleAttrEdit.vue
10
10
  export { validateProcessor } from './validate-processor';
11
11
  export { registerServiceTypeTransport } from '@fly-vue/lcdp-schema';
12
12
  export * from './components/for-renderer/event-container';
13
+ export * from './components/components/IvTableGrid/use-savelocal';