@fly-vue/lcdp-iview 1.8.13 → 1.8.15-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.
- package/@types/module/action-nodes/impl/message.d.ts +5 -2
- package/@types/module/action-nodes/impl/open-in-dialog copy.d.ts +10 -0
- package/@types/module/action-nodes/impl/open-in-dialog-runtime.d.ts +10 -0
- package/@types/module/components/attribute/designer/prop-value-editor/var-input/index.vue.d.ts +2 -2
- package/@types/module/components/attribute/prop-value-editor/json-editor.vue.d.ts +4 -4
- package/@types/module/components/components/IvTableGrid/index.vue.d.ts +28 -11
- package/@types/module/components/components/IvTableGrid/simple-page.vue.d.ts +34 -0
- package/@types/module/components/components/IvTableGrid/table-props.d.ts +3 -3
- package/@types/module/components/components/IvTableGrid/use-column-summary.d.ts +4 -0
- package/@types/module/components/components/IvWizard/index.vue.d.ts +3 -1
- package/@types/module/components/components/base/IvIframe/index.vue.d.ts +1 -1
- package/@types/module/components/components/base/IvInputMoney.vue.d.ts +132 -0
- package/@types/module/components/components/base/IvText/index.vue.d.ts +2 -2
- package/@types/module/components/components/base/LcdpFormGroup.vue.d.ts +62 -0
- package/@types/module/components/components/entity/IvEntityExcelImporter/index.vue.d.ts +286 -0
- package/@types/module/components/components/entity/IvEntityExcelImporter/ts/type.d.ts +1 -0
- package/@types/module/components/components/entity/IvEntityExport/ts/type.d.ts +7 -0
- package/@types/module/components/components/entity/IvEntityQueryBuilder/index.vue.d.ts +2 -1
- package/@types/module/components/components/entity/IvEntityQueryBuilder/ts/type.d.ts +0 -1
- package/@types/module/components/components/entity/button/create.vue.d.ts +1 -1
- package/@types/module/components/components/entity/button/edit.vue.d.ts +1 -1
- package/@types/module/components/for-renderer/excel-importer/failed-list.vue.d.ts +13 -0
- package/@types/module/components/for-renderer/excel-importer/index.vue.d.ts +67 -2
- package/@types/module/components/for-renderer/excel-importer/successful-list.vue.d.ts +9 -0
- package/@types/module/components/for-renderer/excel-importer/to-import-list.vue.d.ts +12 -0
- package/@types/module/components/for-renderer/excel-importer/types.d.ts +22 -0
- package/@types/module/components/for-renderer/layout/iv-trigger-container.vue.d.ts +1 -1
- package/@types/module/components/index.d.ts +11 -2
- package/@types/module/schema-extend/components/form.d.ts +5 -0
- package/@types/module/schema-extend/components/modal.d.ts +5 -0
- package/@types/module/schema-extend/components/upload.d.ts +5 -0
- package/bingo-builder-manifest.json +16 -15
- package/index.js +4 -4
- package/modules/fly_vue_lcdp_iview/assets/css/app.css +2 -2
- package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.56a2ef9d.css +1 -0
- package/modules/fly_vue_lcdp_iview/chunk-732b533d.862205d5def41d40e22d.js +1 -0
- package/modules/fly_vue_lcdp_iview/dll-manifest.json +6 -0
- package/modules/fly_vue_lcdp_iview/dll.js +8 -8
- package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.862205d5def41d40e22d.js +1 -0
- package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.862205d5def41d40e22d.js +1 -0
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component.862205d5def41d40e22d.js +1 -0
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component~lcdp-renderer-components.862205d5def41d40e22d.js +1 -0
- package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.862205d5def41d40e22d.js +1 -0
- package/modules/fly_vue_lcdp_iview/vendors~lcdp-iview-component~lcdp-renderer-components.862205d5def41d40e22d.js +42 -0
- package/modules/fly_vue_lcdp_iview/{vendors~lcdp-renderer-components.c86f4f7d4c6071d4240d.js → vendors~lcdp-renderer-components.862205d5def41d40e22d.js} +2 -2
- package/package.json +16 -15
- package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-basecomponent.298be239.css +0 -1
- package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.c6fd4f30.css +0 -1
- package/modules/fly_vue_lcdp_iview/assets/css/lcdp-renderer-components.02003927.css +0 -1
- package/modules/fly_vue_lcdp_iview/chunk-732b533d.c86f4f7d4c6071d4240d.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.c86f4f7d4c6071d4240d.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.c86f4f7d4c6071d4240d.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component.c86f4f7d4c6071d4240d.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.c86f4f7d4c6071d4240d.js +0 -1
- /package/modules/fly_vue_lcdp_iview/assets/css/{lcdp-iview-attrcomponent.f21e74cb.css → lcdp-iview-attrcomponent.bca380d0.css} +0 -0
- /package/modules/fly_vue_lcdp_iview/{lcdp-designer-components.c86f4f7d4c6071d4240d.js → lcdp-designer-components.862205d5def41d40e22d.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-ice.c86f4f7d4c6071d4240d.js → lcdp-iview-component-ice.862205d5def41d40e22d.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-region.c86f4f7d4c6071d4240d.js → lcdp-iview-component-region.862205d5def41d40e22d.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-attrcomponent~lcdp-iview-basecomponent.c86f4f7d4c6071d4240d.js → vendors~lcdp-iview-attrcomponent~lcdp-iview-basecomponent.862205d5def41d40e22d.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component-ice.c86f4f7d4c6071d4240d.js → vendors~lcdp-iview-component-ice.862205d5def41d40e22d.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component.c86f4f7d4c6071d4240d.js → vendors~lcdp-iview-component.862205d5def41d40e22d.js} +0 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
entity: any;
|
|
3
|
+
excelTemplateUrl: any;
|
|
4
|
+
excludeField: any;
|
|
5
|
+
autoImportMaxRecords: {
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
maxFileSize: {
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
importUrl: any;
|
|
12
|
+
}, {
|
|
13
|
+
__sfc: boolean;
|
|
14
|
+
props: {
|
|
15
|
+
entity: string;
|
|
16
|
+
excelTemplateUrl?: string;
|
|
17
|
+
excludeField?: string;
|
|
18
|
+
autoImportMaxRecords: number;
|
|
19
|
+
maxFileSize: number;
|
|
20
|
+
importUrl?: string;
|
|
21
|
+
};
|
|
22
|
+
emit: {
|
|
23
|
+
(e: 'on-success-import'): void;
|
|
24
|
+
(e: 'on-error-import'): void;
|
|
25
|
+
};
|
|
26
|
+
importModel: import("vue").Ref<boolean>;
|
|
27
|
+
importLoad: import("vue").Ref<boolean>;
|
|
28
|
+
childLoad: import("vue").Ref<boolean>;
|
|
29
|
+
childRef: any;
|
|
30
|
+
whichTable: any;
|
|
31
|
+
designerService: any;
|
|
32
|
+
onOk: () => void;
|
|
33
|
+
onCancel: () => void;
|
|
34
|
+
handlerComplateImport: () => void;
|
|
35
|
+
handlerErrorImport: () => void;
|
|
36
|
+
handlerLoadingImport: () => void;
|
|
37
|
+
handlerSelectImport: (string: string) => void;
|
|
38
|
+
handlerSuccessImport: () => void;
|
|
39
|
+
LcdpDataImporter: import("vue").DefineComponent<{
|
|
40
|
+
entityName: any;
|
|
41
|
+
excelTemplateUrl: any;
|
|
42
|
+
excludeField: any;
|
|
43
|
+
autoImportMaxRecords: {
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
maxFileSize: {
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
importUrl: any;
|
|
50
|
+
}, {
|
|
51
|
+
__sfc: boolean;
|
|
52
|
+
props: {
|
|
53
|
+
entityName: string;
|
|
54
|
+
excelTemplateUrl?: string;
|
|
55
|
+
excludeField?: string | string[];
|
|
56
|
+
autoImportMaxRecords: number;
|
|
57
|
+
maxFileSize: number;
|
|
58
|
+
importUrl?: string;
|
|
59
|
+
};
|
|
60
|
+
parseExcelUrl: string;
|
|
61
|
+
defaultImportUrl: string;
|
|
62
|
+
headers: {};
|
|
63
|
+
importUrl: string;
|
|
64
|
+
mappings: import("vue").Ref<{
|
|
65
|
+
columnIndex: number;
|
|
66
|
+
columnHeaderText: string;
|
|
67
|
+
fieldName: string;
|
|
68
|
+
fieldDisplayName: string;
|
|
69
|
+
}[]>;
|
|
70
|
+
toImportListRecords: import("vue").Ref<{
|
|
71
|
+
[x: string]: any;
|
|
72
|
+
_uid_: string;
|
|
73
|
+
_selected_?: boolean;
|
|
74
|
+
_importResult_?: string;
|
|
75
|
+
_importError_?: string;
|
|
76
|
+
_editing_?: string;
|
|
77
|
+
_editingValue_?: string;
|
|
78
|
+
}[]>;
|
|
79
|
+
successfulListRecords: import("vue").Ref<{
|
|
80
|
+
[x: string]: any;
|
|
81
|
+
_uid_: string;
|
|
82
|
+
_selected_?: boolean;
|
|
83
|
+
_importResult_?: string;
|
|
84
|
+
_importError_?: string;
|
|
85
|
+
_editing_?: string;
|
|
86
|
+
_editingValue_?: string;
|
|
87
|
+
}[]>;
|
|
88
|
+
failedListRecords: import("vue").Ref<{
|
|
89
|
+
[x: string]: any;
|
|
90
|
+
_uid_: string;
|
|
91
|
+
_selected_?: boolean;
|
|
92
|
+
_importResult_?: string;
|
|
93
|
+
_importError_?: string;
|
|
94
|
+
_editing_?: string;
|
|
95
|
+
_editingValue_?: string;
|
|
96
|
+
}[]>;
|
|
97
|
+
excelUpload: import("vue").Ref<{
|
|
98
|
+
clearFiles: () => void;
|
|
99
|
+
}>;
|
|
100
|
+
fileName: any;
|
|
101
|
+
importList: any;
|
|
102
|
+
failedList: any;
|
|
103
|
+
entityInfo: any;
|
|
104
|
+
excelCol: import("vue").Ref<{
|
|
105
|
+
key: string;
|
|
106
|
+
header: string;
|
|
107
|
+
width: number;
|
|
108
|
+
}[]>;
|
|
109
|
+
designerService: any;
|
|
110
|
+
list: import("vue").WritableComputedRef<import("@fly-vue/lcdp-api").IOption[]>;
|
|
111
|
+
emit: {
|
|
112
|
+
(e: "on-select-import", string: string): any;
|
|
113
|
+
(e: "on-loading-import"): void;
|
|
114
|
+
(e: "on-complate-import"): void;
|
|
115
|
+
(e: "on-error-import"): void;
|
|
116
|
+
(e: "on-success-import"): void;
|
|
117
|
+
};
|
|
118
|
+
handleOnSuccess: (response: any, file: any) => void;
|
|
119
|
+
afterImported: (currentRecords: any, res: any) => void;
|
|
120
|
+
importing: import("vue").Ref<boolean>;
|
|
121
|
+
importingPercent: import("vue").Ref<number>;
|
|
122
|
+
showImportingPercent: import("vue").Ref<boolean>;
|
|
123
|
+
importData: () => void;
|
|
124
|
+
whichTable: import("vue").Ref<string>;
|
|
125
|
+
correcting: boolean;
|
|
126
|
+
correctData: () => void;
|
|
127
|
+
changeToImportListItemField: (e: any) => void;
|
|
128
|
+
changeFailedListItemField: (e: any) => void;
|
|
129
|
+
handleMaxSize: () => void;
|
|
130
|
+
onUploadRevoke: () => void;
|
|
131
|
+
onDownTemplate: () => Promise<void>;
|
|
132
|
+
setupStyledHeaders: (worksheet: import("exceljs").Worksheet, fieldsArr: any) => void;
|
|
133
|
+
setupDropdownValidations: (worksheet: any, worksheet2: import("exceljs").Worksheet, fieldsArr: any) => void;
|
|
134
|
+
getColumnLetter: (columnIndex: number) => string;
|
|
135
|
+
setupVerticalData: (worksheet: import("exceljs").Worksheet, fieldsArr: any) => void;
|
|
136
|
+
ToImportList: import("vue").DefineComponent<{
|
|
137
|
+
mappings: any;
|
|
138
|
+
records: any;
|
|
139
|
+
}, {
|
|
140
|
+
__sfc: boolean;
|
|
141
|
+
props: {
|
|
142
|
+
mappings: import("../../../for-renderer/excel-importer/types").ColumnsMapping;
|
|
143
|
+
records: import("../../../for-renderer/excel-importer/types").ImportRecords;
|
|
144
|
+
};
|
|
145
|
+
random: any;
|
|
146
|
+
tableCloumns: import("vue").Ref<{
|
|
147
|
+
key?: string;
|
|
148
|
+
title?: string;
|
|
149
|
+
width?: number;
|
|
150
|
+
type?: string;
|
|
151
|
+
align?: string;
|
|
152
|
+
render?: unknown;
|
|
153
|
+
tooltip?: boolean;
|
|
154
|
+
}[]>;
|
|
155
|
+
emit: (event: "change-item-field", params: {
|
|
156
|
+
uid: string;
|
|
157
|
+
fieldName: string;
|
|
158
|
+
fieldValue: any;
|
|
159
|
+
}) => void;
|
|
160
|
+
page: import("vue").Ref<number>;
|
|
161
|
+
pageSize: import("vue").Ref<number>;
|
|
162
|
+
pagedRecords: import("vue").ComputedRef<any[]>;
|
|
163
|
+
onPageSizeChanged: (_pageSize: any) => void;
|
|
164
|
+
currentPageAllSelected: import("vue").Ref<boolean>;
|
|
165
|
+
toggleSelectedAll: (isChecked: any) => void;
|
|
166
|
+
onSelect: (selection: unknown[], row: unknown) => void;
|
|
167
|
+
onRendom: () => void;
|
|
168
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
169
|
+
mappings: any;
|
|
170
|
+
records: any;
|
|
171
|
+
}>>, {
|
|
172
|
+
mappings: any;
|
|
173
|
+
records: any;
|
|
174
|
+
}>;
|
|
175
|
+
SuccessfulList: import("vue").DefineComponent<{
|
|
176
|
+
mappings: any;
|
|
177
|
+
records: any;
|
|
178
|
+
}, {
|
|
179
|
+
__sfc: boolean;
|
|
180
|
+
props: {
|
|
181
|
+
mappings: import("../../../for-renderer/excel-importer/types").ColumnsMapping;
|
|
182
|
+
records: import("../../../for-renderer/excel-importer/types").ImportRecords;
|
|
183
|
+
};
|
|
184
|
+
tableCloumns: import("vue").Ref<{
|
|
185
|
+
key?: string;
|
|
186
|
+
title?: string;
|
|
187
|
+
width?: number;
|
|
188
|
+
type?: string;
|
|
189
|
+
align?: string;
|
|
190
|
+
render?: unknown;
|
|
191
|
+
tooltip?: boolean;
|
|
192
|
+
}[]>;
|
|
193
|
+
page: import("vue").Ref<number>;
|
|
194
|
+
pageSize: import("vue").Ref<number>;
|
|
195
|
+
pagedRecords: import("vue").ComputedRef<any[]>;
|
|
196
|
+
onPageSizeChanged: (_pageSize: any) => void;
|
|
197
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
198
|
+
mappings: any;
|
|
199
|
+
records: any;
|
|
200
|
+
}>>, {
|
|
201
|
+
mappings: any;
|
|
202
|
+
records: any;
|
|
203
|
+
}>;
|
|
204
|
+
FailedList: import("vue").DefineComponent<{
|
|
205
|
+
mappings: any;
|
|
206
|
+
records: any;
|
|
207
|
+
}, {
|
|
208
|
+
__sfc: boolean;
|
|
209
|
+
props: {
|
|
210
|
+
mappings: import("../../../for-renderer/excel-importer/types").ColumnsMapping;
|
|
211
|
+
records: import("../../../for-renderer/excel-importer/types").ImportRecords;
|
|
212
|
+
};
|
|
213
|
+
random: any;
|
|
214
|
+
tableCloumns: import("vue").Ref<{
|
|
215
|
+
key?: string;
|
|
216
|
+
title?: string;
|
|
217
|
+
width?: number;
|
|
218
|
+
type?: string;
|
|
219
|
+
align?: string;
|
|
220
|
+
render?: unknown;
|
|
221
|
+
tooltip?: boolean;
|
|
222
|
+
}[]>;
|
|
223
|
+
emit: (event: "change-item-field", params: {
|
|
224
|
+
uid: string;
|
|
225
|
+
fieldName: string;
|
|
226
|
+
fieldValue: any;
|
|
227
|
+
}) => void;
|
|
228
|
+
page: import("vue").Ref<number>;
|
|
229
|
+
pageSize: import("vue").Ref<number>;
|
|
230
|
+
pagedRecords: import("vue").ComputedRef<any[]>;
|
|
231
|
+
onPageSizeChanged: (_pageSize: any) => void;
|
|
232
|
+
currentPageAllSelected: import("vue").Ref<boolean>;
|
|
233
|
+
toggleSelectedAll: (isChecked: any) => void;
|
|
234
|
+
editCell: (index: any, m: any) => void;
|
|
235
|
+
onEdit: (val: any, index: any) => void;
|
|
236
|
+
confirmEdit: (index: any, fieldName: any, fieldValue: any) => void;
|
|
237
|
+
cancelEdit: (index: any) => void;
|
|
238
|
+
onCellClick: (row: any, column: any, data: any, event: any) => void;
|
|
239
|
+
onSelect: (selection: unknown[], row: unknown) => void;
|
|
240
|
+
onRendom: () => void;
|
|
241
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
242
|
+
mappings: any;
|
|
243
|
+
records: any;
|
|
244
|
+
}>>, {
|
|
245
|
+
mappings: any;
|
|
246
|
+
records: any;
|
|
247
|
+
}>;
|
|
248
|
+
}, {}, {}, {}, 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<{
|
|
249
|
+
entityName: any;
|
|
250
|
+
excelTemplateUrl: any;
|
|
251
|
+
excludeField: any;
|
|
252
|
+
autoImportMaxRecords: {
|
|
253
|
+
default: number;
|
|
254
|
+
};
|
|
255
|
+
maxFileSize: {
|
|
256
|
+
default: number;
|
|
257
|
+
};
|
|
258
|
+
importUrl: any;
|
|
259
|
+
}>>, {
|
|
260
|
+
entityName: any;
|
|
261
|
+
excelTemplateUrl: any;
|
|
262
|
+
excludeField: any;
|
|
263
|
+
autoImportMaxRecords: number;
|
|
264
|
+
maxFileSize: number;
|
|
265
|
+
importUrl: any;
|
|
266
|
+
}>;
|
|
267
|
+
}, {}, {}, {}, 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<{
|
|
268
|
+
entity: any;
|
|
269
|
+
excelTemplateUrl: any;
|
|
270
|
+
excludeField: any;
|
|
271
|
+
autoImportMaxRecords: {
|
|
272
|
+
default: number;
|
|
273
|
+
};
|
|
274
|
+
maxFileSize: {
|
|
275
|
+
default: number;
|
|
276
|
+
};
|
|
277
|
+
importUrl: any;
|
|
278
|
+
}>>, {
|
|
279
|
+
entity: any;
|
|
280
|
+
excelTemplateUrl: any;
|
|
281
|
+
excludeField: any;
|
|
282
|
+
autoImportMaxRecords: number;
|
|
283
|
+
maxFileSize: number;
|
|
284
|
+
importUrl: any;
|
|
285
|
+
}>;
|
|
286
|
+
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;
|
|
@@ -133,6 +133,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
133
133
|
type: BooleanConstructor;
|
|
134
134
|
};
|
|
135
135
|
}>>, {
|
|
136
|
+
loading: boolean;
|
|
136
137
|
span: string;
|
|
137
138
|
icon: any;
|
|
138
139
|
text: string;
|
|
@@ -142,7 +143,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
143
|
prevent: boolean;
|
|
143
144
|
size: string;
|
|
144
145
|
entity: any;
|
|
145
|
-
loading: boolean;
|
|
146
146
|
labelPosition: any;
|
|
147
147
|
labelColon: boolean;
|
|
148
148
|
showMessage: boolean;
|
|
@@ -136,6 +136,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
136
|
type: BooleanConstructor;
|
|
137
137
|
};
|
|
138
138
|
}>>, {
|
|
139
|
+
loading: boolean;
|
|
139
140
|
id: any;
|
|
140
141
|
span: string;
|
|
141
142
|
icon: any;
|
|
@@ -146,7 +147,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
147
|
prevent: boolean;
|
|
147
148
|
size: string;
|
|
148
149
|
entity: any;
|
|
149
|
-
loading: boolean;
|
|
150
150
|
labelPosition: any;
|
|
151
151
|
labelColon: boolean;
|
|
152
152
|
showMessage: boolean;
|
|
@@ -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,7 +1,9 @@
|
|
|
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;
|
|
6
|
+
excludeField: any;
|
|
5
7
|
autoImportMaxRecords: {
|
|
6
8
|
default: number;
|
|
7
9
|
};
|
|
@@ -13,7 +15,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
15
|
__sfc: boolean;
|
|
14
16
|
props: {
|
|
15
17
|
entityName: string;
|
|
16
|
-
excelTemplateUrl
|
|
18
|
+
excelTemplateUrl?: string;
|
|
19
|
+
excludeField?: string | string[];
|
|
17
20
|
autoImportMaxRecords: number;
|
|
18
21
|
maxFileSize: number;
|
|
19
22
|
importUrl?: string;
|
|
@@ -55,7 +58,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
58
|
_editing_?: string;
|
|
56
59
|
_editingValue_?: string;
|
|
57
60
|
}[]>;
|
|
61
|
+
excelUpload: import("vue").Ref<{
|
|
62
|
+
clearFiles: () => void;
|
|
63
|
+
}>;
|
|
58
64
|
fileName: any;
|
|
65
|
+
importList: any;
|
|
66
|
+
failedList: any;
|
|
67
|
+
entityInfo: any;
|
|
68
|
+
excelCol: import("vue").Ref<{
|
|
69
|
+
key: string;
|
|
70
|
+
header: string;
|
|
71
|
+
width: number;
|
|
72
|
+
}[]>;
|
|
73
|
+
designerService: any;
|
|
74
|
+
list: import("vue").WritableComputedRef<import("@fly-vue/lcdp-api").IOption[]>;
|
|
75
|
+
emit: {
|
|
76
|
+
(e: 'on-select-import', string: string): any;
|
|
77
|
+
(e: 'on-loading-import'): void;
|
|
78
|
+
(e: 'on-complate-import'): void;
|
|
79
|
+
(e: 'on-error-import'): void;
|
|
80
|
+
(e: 'on-success-import'): void;
|
|
81
|
+
};
|
|
59
82
|
handleOnSuccess: (response: any, file: any) => void;
|
|
60
83
|
afterImported: (currentRecords: any, res: any) => void;
|
|
61
84
|
importing: import("vue").Ref<boolean>;
|
|
@@ -68,6 +91,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
91
|
changeToImportListItemField: (e: any) => void;
|
|
69
92
|
changeFailedListItemField: (e: any) => void;
|
|
70
93
|
handleMaxSize: () => void;
|
|
94
|
+
onUploadRevoke: () => void;
|
|
95
|
+
onDownTemplate: () => Promise<void>;
|
|
96
|
+
setupStyledHeaders: (worksheet: ExcelJS.Worksheet, fieldsArr: any) => void;
|
|
97
|
+
setupDropdownValidations: (worksheet: any, worksheet2: ExcelJS.Worksheet, fieldsArr: any) => void;
|
|
98
|
+
getColumnLetter: (columnIndex: number) => string;
|
|
99
|
+
setupVerticalData: (worksheet: ExcelJS.Worksheet, fieldsArr: any) => void;
|
|
71
100
|
ToImportList: import("vue").DefineComponent<{
|
|
72
101
|
mappings: any;
|
|
73
102
|
records: any;
|
|
@@ -77,6 +106,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
77
106
|
mappings: ColumnsMapping;
|
|
78
107
|
records: ImportRecords;
|
|
79
108
|
};
|
|
109
|
+
random: any;
|
|
110
|
+
tableCloumns: import("vue").Ref<{
|
|
111
|
+
key?: string;
|
|
112
|
+
title?: string;
|
|
113
|
+
width?: number;
|
|
114
|
+
type?: string;
|
|
115
|
+
align?: string;
|
|
116
|
+
render?: unknown;
|
|
117
|
+
tooltip?: boolean;
|
|
118
|
+
}[]>;
|
|
80
119
|
emit: (event: "change-item-field", params: {
|
|
81
120
|
uid: string;
|
|
82
121
|
fieldName: string;
|
|
@@ -88,6 +127,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
127
|
onPageSizeChanged: (_pageSize: any) => void;
|
|
89
128
|
currentPageAllSelected: import("vue").Ref<boolean>;
|
|
90
129
|
toggleSelectedAll: (isChecked: any) => void;
|
|
130
|
+
onSelect: (selection: unknown[], row: unknown) => void;
|
|
131
|
+
onRendom: () => void;
|
|
91
132
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
92
133
|
mappings: any;
|
|
93
134
|
records: any;
|
|
@@ -104,6 +145,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
145
|
mappings: ColumnsMapping;
|
|
105
146
|
records: ImportRecords;
|
|
106
147
|
};
|
|
148
|
+
tableCloumns: import("vue").Ref<{
|
|
149
|
+
key?: string;
|
|
150
|
+
title?: string;
|
|
151
|
+
width?: number;
|
|
152
|
+
type?: string;
|
|
153
|
+
align?: string;
|
|
154
|
+
render?: unknown;
|
|
155
|
+
tooltip?: boolean;
|
|
156
|
+
}[]>;
|
|
107
157
|
page: import("vue").Ref<number>;
|
|
108
158
|
pageSize: import("vue").Ref<number>;
|
|
109
159
|
pagedRecords: import("vue").ComputedRef<any[]>;
|
|
@@ -124,6 +174,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
174
|
mappings: ColumnsMapping;
|
|
125
175
|
records: ImportRecords;
|
|
126
176
|
};
|
|
177
|
+
random: any;
|
|
178
|
+
tableCloumns: import("vue").Ref<{
|
|
179
|
+
key?: string;
|
|
180
|
+
title?: string;
|
|
181
|
+
width?: number;
|
|
182
|
+
type?: string;
|
|
183
|
+
align?: string;
|
|
184
|
+
render?: unknown;
|
|
185
|
+
tooltip?: boolean;
|
|
186
|
+
}[]>;
|
|
127
187
|
emit: (event: "change-item-field", params: {
|
|
128
188
|
uid: string;
|
|
129
189
|
fieldName: string;
|
|
@@ -139,6 +199,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
199
|
onEdit: (val: any, index: any) => void;
|
|
140
200
|
confirmEdit: (index: any, fieldName: any, fieldValue: any) => void;
|
|
141
201
|
cancelEdit: (index: any) => void;
|
|
202
|
+
onCellClick: (row: any, column: any, data: any, event: any) => void;
|
|
203
|
+
onSelect: (selection: unknown[], row: unknown) => void;
|
|
204
|
+
onRendom: () => void;
|
|
142
205
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "change-item-field"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
143
206
|
mappings: any;
|
|
144
207
|
records: any;
|
|
@@ -146,9 +209,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
209
|
mappings: any;
|
|
147
210
|
records: any;
|
|
148
211
|
}>;
|
|
149
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin,
|
|
212
|
+
}, {}, {}, {}, 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
213
|
entityName: any;
|
|
151
214
|
excelTemplateUrl: any;
|
|
215
|
+
excludeField: any;
|
|
152
216
|
autoImportMaxRecords: {
|
|
153
217
|
default: number;
|
|
154
218
|
};
|
|
@@ -159,6 +223,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
223
|
}>>, {
|
|
160
224
|
entityName: any;
|
|
161
225
|
excelTemplateUrl: any;
|
|
226
|
+
excludeField: any;
|
|
162
227
|
autoImportMaxRecords: number;
|
|
163
228
|
maxFileSize: number;
|
|
164
229
|
importUrl: any;
|
|
@@ -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
|
+
}
|
|
@@ -98,12 +98,15 @@ declare const _default: {
|
|
|
98
98
|
default: boolean;
|
|
99
99
|
};
|
|
100
100
|
height: {
|
|
101
|
-
type: (
|
|
101
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
102
102
|
};
|
|
103
|
-
|
|
103
|
+
isFitWidth: {
|
|
104
104
|
type: BooleanConstructor;
|
|
105
105
|
default: boolean;
|
|
106
106
|
};
|
|
107
|
+
padding: {
|
|
108
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
109
|
+
};
|
|
107
110
|
};
|
|
108
111
|
data(): {
|
|
109
112
|
isFullScreen: any;
|
|
@@ -119,6 +122,7 @@ declare const _default: {
|
|
|
119
122
|
render(h: any): any;
|
|
120
123
|
methods: {
|
|
121
124
|
isNumber(val: any): boolean;
|
|
125
|
+
setValUnit(val: string | number): string;
|
|
122
126
|
handleFullScreen(e: any): void;
|
|
123
127
|
getFitWindow(): any;
|
|
124
128
|
};
|
|
@@ -165,6 +169,8 @@ declare const _default: {
|
|
|
165
169
|
IvTooltip: () => Promise<typeof import("*.vue")>;
|
|
166
170
|
IvTreeSelect: () => Promise<typeof import("*.vue")>;
|
|
167
171
|
IvUpload: () => Promise<typeof import("*.vue")>;
|
|
172
|
+
IvSingleImageUpload: () => Promise<typeof import("*.vue")>;
|
|
173
|
+
FuseImageUpload: () => Promise<typeof import("*.vue")>;
|
|
168
174
|
Page: () => Promise<typeof import("*.vue")>;
|
|
169
175
|
IvTree: () => Promise<typeof import("*.vue")>;
|
|
170
176
|
IvTransfer: () => Promise<typeof import("./components/iview/IvTransfer.js")>;
|
|
@@ -177,6 +183,8 @@ declare const _default: {
|
|
|
177
183
|
Input: () => Promise<typeof import("*.vue")>;
|
|
178
184
|
iInput: () => Promise<typeof import("*.vue")>;
|
|
179
185
|
InputNumber: () => Promise<typeof import("*.vue")>;
|
|
186
|
+
IvInputMoney: () => Promise<typeof import("./components/base/IvInputMoney.vue")>;
|
|
187
|
+
LcdpFormGroup: () => Promise<typeof import("./components/base/LcdpFormGroup.vue")>;
|
|
180
188
|
Slider: () => Promise<typeof import("*.vue")>;
|
|
181
189
|
Rate: () => Promise<typeof import("*.vue")>;
|
|
182
190
|
Card: () => Promise<typeof import("./components/iview/IvCard.js")>;
|
|
@@ -212,6 +220,7 @@ declare const _default: {
|
|
|
212
220
|
IvEntityFormEdit: () => Promise<typeof import("./components/entity/button/edit.vue")>;
|
|
213
221
|
IvEntityQueryBuilder: () => Promise<typeof import("./components/entity/IvEntityQueryBuilder/index.vue")>;
|
|
214
222
|
IvEntityExport: () => Promise<typeof import("./components/entity/IvEntityExport/index.vue")>;
|
|
223
|
+
IvEntityExcelImporter: () => Promise<typeof import("./components/entity/IvEntityExcelImporter/index.vue")>;
|
|
215
224
|
IvContainer: () => Promise<typeof import("./components/base/IvContainer/index.js")>;
|
|
216
225
|
IvDiv: () => Promise<typeof import("./components/base/IvDiv/index.js")>;
|
|
217
226
|
IvIframe: () => Promise<typeof import("./components/base/IvIframe/index.vue")>;
|