@skyfox2000/webui 1.4.18 → 1.4.21

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 (31) hide show
  1. package/lib/assets/modules/{baseLayout-D3_NxEzk.js → baseLayout-Da4Ox7Lj.js} +3 -3
  2. package/lib/assets/modules/{file-upload-CNBcbAAZ.js → file-upload-Bu6FkNjZ.js} +5 -5
  3. package/lib/assets/modules/{index-CDr74akE.js → index-BYVerdEw.js} +2 -2
  4. package/lib/assets/modules/{index-DOlO_4KL.js → index-BysCt107.js} +2 -2
  5. package/lib/assets/modules/{index-D14BsF7C.js → index-Ch3meKe4.js} +1 -1
  6. package/lib/assets/modules/{menuTabs-CqAhoF--.js → menuTabs-BqLT-YbD.js} +16 -16
  7. package/lib/assets/modules/{toolIcon-BnkqBipR.js → toolIcon-Dd58W0UM.js} +1 -1
  8. package/lib/assets/modules/{upload-template-KI-IFzyp.js → upload-template-Csccple9.js} +28 -28
  9. package/lib/assets/modules/{uploadList-DnFXg_B3.js → uploadList-D8scq04c.js} +4 -4
  10. package/lib/components/form/index.d.ts +2 -0
  11. package/lib/components/form/propEditor/index.vue.d.ts +1 -0
  12. package/lib/components/form/upload/imageList.vue.d.ts +486 -0
  13. package/lib/components/form/upload/uploadList.vue.d.ts +1 -1
  14. package/lib/components/index.d.ts +1 -1
  15. package/lib/es/AceEditor/index.js +3 -3
  16. package/lib/es/BasicLayout/index.js +2 -2
  17. package/lib/es/Error403/index.js +1 -1
  18. package/lib/es/Error404/index.js +1 -1
  19. package/lib/es/ExcelForm/index.js +5 -5
  20. package/lib/es/MenuLayout/index.js +2 -2
  21. package/lib/es/TemplateFile/index.js +4 -4
  22. package/lib/es/UploadForm/index.js +4 -4
  23. package/lib/index.d.ts +1 -1
  24. package/lib/webui.css +1 -1
  25. package/lib/webui.es.js +1275 -1059
  26. package/package.json +1 -1
  27. package/src/components/form/index.ts +3 -0
  28. package/src/components/form/propEditor/index.vue +30 -28
  29. package/src/components/form/upload/imageList.vue +386 -0
  30. package/src/components/index.ts +1 -0
  31. package/src/index.ts +1 -0
@@ -0,0 +1,486 @@
1
+ import { UploadFile } from '../../../index';
2
+ import { IUrlInfo } from '../../../../../502417_fapi';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
4
+ import { UploadType, FileType, HttpRequestHeader, ShowUploadListInterface, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from 'ant-design-vue/es/upload/interface';
5
+ import { UploadFile, UploadChangeParam } from 'ant-design-vue';
6
+ import { UploadRequestOption } from 'ant-design-vue/es/vc-upload/interface';
7
+ import { VueNode } from 'ant-design-vue/es/_util/type';
8
+ export interface ImageListProps {
9
+ autoUpload?: boolean;
10
+ uploadUrl: IUrlInfo;
11
+ previewUrl?: IUrlInfo;
12
+ deleteUrl?: IUrlInfo;
13
+ fileList: UploadFile[];
14
+ placeholder?: string;
15
+ fileExt?: string[];
16
+ maxFileSize?: number;
17
+ maxCount?: number;
18
+ maxCountTip?: boolean;
19
+ maxFileSizeTip?: boolean;
20
+ fileExtTip?: boolean;
21
+ parentPath?: string;
22
+ showDelete?: boolean;
23
+ }
24
+ declare const _default: DefineComponent<ImageListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
25
+ "update:file-list": (...args: any[]) => void;
26
+ }, string, PublicProps, Readonly<ImageListProps> & Readonly<{
27
+ "onUpdate:file-list"?: ((...args: any[]) => any) | undefined;
28
+ }>, {
29
+ placeholder: string;
30
+ autoUpload: boolean;
31
+ fileList: UploadFile[];
32
+ maxFileSize: number;
33
+ maxCount: number;
34
+ maxCountTip: boolean;
35
+ maxFileSizeTip: boolean;
36
+ fileExtTip: boolean;
37
+ showDelete: boolean;
38
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
39
+ fileUploader: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
40
+ capture: {
41
+ type: PropType<boolean | "user" | "environment">;
42
+ default: boolean | "user" | "environment";
43
+ };
44
+ type: {
45
+ type: PropType<UploadType>;
46
+ default: UploadType;
47
+ };
48
+ name: StringConstructor;
49
+ defaultFileList: {
50
+ type: PropType< UploadFile<any>[]>;
51
+ default: UploadFile<any>[];
52
+ };
53
+ fileList: {
54
+ type: PropType< UploadFile<any>[]>;
55
+ default: UploadFile<any>[];
56
+ };
57
+ action: {
58
+ type: PropType<string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>)>;
59
+ default: string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>);
60
+ };
61
+ directory: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ data: {
66
+ type: PropType<Record<string, unknown> | ((file: UploadFile<any>) => Record<string, unknown> | Promise<Record<string, unknown>>)>;
67
+ default: Record<string, unknown> | ((file: UploadFile<any>) => Record<string, unknown> | Promise<Record<string, unknown>>);
68
+ };
69
+ method: {
70
+ type: PropType<"post" | "POST" | "PUT" | "PATCH" | "put" | "patch">;
71
+ default: "post" | "POST" | "PUT" | "PATCH" | "put" | "patch";
72
+ };
73
+ headers: {
74
+ type: PropType<HttpRequestHeader>;
75
+ default: HttpRequestHeader;
76
+ };
77
+ showUploadList: {
78
+ type: PropType<boolean | ShowUploadListInterface>;
79
+ default: boolean | ShowUploadListInterface;
80
+ };
81
+ multiple: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ accept: StringConstructor;
86
+ beforeUpload: {
87
+ type: PropType<(file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>>;
88
+ default: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
89
+ };
90
+ onChange: {
91
+ type: PropType<(info: UploadChangeParam<UploadFile<any>>) => void>;
92
+ default: (info: UploadChangeParam<UploadFile<any>>) => void;
93
+ };
94
+ 'onUpdate:fileList': {
95
+ type: PropType<(fileList: UploadFile<any>[]) => void>;
96
+ default: (fileList: UploadFile<any>[]) => void;
97
+ };
98
+ onDrop: {
99
+ type: PropType<(event: DragEvent) => void>;
100
+ default: (event: DragEvent) => void;
101
+ };
102
+ listType: {
103
+ type: PropType<UploadListType>;
104
+ default: UploadListType;
105
+ };
106
+ onPreview: {
107
+ type: PropType<(file: UploadFile<any>) => void>;
108
+ default: (file: UploadFile<any>) => void;
109
+ };
110
+ onDownload: {
111
+ type: PropType<(file: UploadFile<any>) => void>;
112
+ default: (file: UploadFile<any>) => void;
113
+ };
114
+ onReject: {
115
+ type: PropType<(fileList: FileType[]) => void>;
116
+ default: (fileList: FileType[]) => void;
117
+ };
118
+ onRemove: {
119
+ type: PropType<(file: UploadFile<any>) => boolean | void | Promise<boolean | void>>;
120
+ default: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
121
+ };
122
+ remove: {
123
+ type: PropType<(file: UploadFile<any>) => boolean | void | Promise<boolean | void>>;
124
+ default: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
125
+ };
126
+ supportServerRender: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ disabled: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ prefixCls: StringConstructor;
135
+ customRequest: {
136
+ type: PropType<(options: UploadRequestOption<any>) => void>;
137
+ default: (options: UploadRequestOption<any>) => void;
138
+ };
139
+ withCredentials: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ openFileDialogOnClick: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ locale: {
148
+ type: PropType<UploadLocale>;
149
+ default: UploadLocale;
150
+ };
151
+ id: StringConstructor;
152
+ previewFile: {
153
+ type: PropType<(file: Blob | FileType) => PromiseLike<string>>;
154
+ default: (file: Blob | FileType) => PromiseLike<string>;
155
+ };
156
+ transformFile: {
157
+ type: PropType<(file: FileType) => string | Blob | FileType | PromiseLike<string | Blob | FileType>>;
158
+ default: (file: FileType) => string | Blob | FileType | PromiseLike<string | Blob | FileType>;
159
+ };
160
+ iconRender: {
161
+ type: PropType<(opt: {
162
+ file: UploadFile<any>;
163
+ listType?: UploadListType;
164
+ }) => VueNode>;
165
+ default: (opt: {
166
+ file: UploadFile<any>;
167
+ listType?: UploadListType;
168
+ }) => VueNode;
169
+ };
170
+ isImageUrl: {
171
+ type: PropType<(file: UploadFile<any>) => boolean>;
172
+ default: (file: UploadFile<any>) => boolean;
173
+ };
174
+ progress: {
175
+ type: PropType<UploadListProgressProps>;
176
+ default: UploadListProgressProps;
177
+ };
178
+ itemRender: {
179
+ type: PropType<ItemRender<any>>;
180
+ default: ItemRender<any>;
181
+ };
182
+ maxCount: NumberConstructor;
183
+ height: {
184
+ type: PropType<unknown>;
185
+ default: unknown;
186
+ };
187
+ removeIcon: {
188
+ type: PropType<(opt: {
189
+ file: UploadFile<any>;
190
+ }) => VueNode>;
191
+ default: (opt: {
192
+ file: UploadFile<any>;
193
+ }) => VueNode;
194
+ };
195
+ downloadIcon: {
196
+ type: PropType<(opt: {
197
+ file: UploadFile<any>;
198
+ }) => VueNode>;
199
+ default: (opt: {
200
+ file: UploadFile<any>;
201
+ }) => VueNode;
202
+ };
203
+ previewIcon: {
204
+ type: PropType<(opt: {
205
+ file: UploadFile<any>;
206
+ }) => VueNode>;
207
+ default: (opt: {
208
+ file: UploadFile<any>;
209
+ }) => VueNode;
210
+ };
211
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
212
+ progress: UploadListProgressProps;
213
+ type: UploadType;
214
+ height: unknown;
215
+ data: Record<string, unknown> | ((file: UploadFile<any>) => Record<string, unknown> | Promise<Record<string, unknown>>);
216
+ onDrop: (event: DragEvent) => void;
217
+ onChange: (info: UploadChangeParam<UploadFile<any>>) => void;
218
+ multiple: boolean;
219
+ disabled: boolean;
220
+ method: "post" | "POST" | "PUT" | "PATCH" | "put" | "patch";
221
+ remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
222
+ locale: UploadLocale;
223
+ action: string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>);
224
+ capture: boolean | "user" | "environment";
225
+ iconRender: (opt: {
226
+ file: UploadFile<any>;
227
+ listType?: UploadListType;
228
+ }) => VueNode;
229
+ onRemove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
230
+ removeIcon: (opt: {
231
+ file: UploadFile<any>;
232
+ }) => VueNode;
233
+ itemRender: ItemRender<any>;
234
+ directory: boolean;
235
+ headers: HttpRequestHeader;
236
+ onReject: (fileList: FileType[]) => void;
237
+ beforeUpload: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
238
+ customRequest: (options: UploadRequestOption<any>) => void;
239
+ withCredentials: boolean;
240
+ openFileDialogOnClick: boolean;
241
+ fileList: UploadFile<any>[];
242
+ defaultFileList: UploadFile<any>[];
243
+ showUploadList: boolean | ShowUploadListInterface;
244
+ 'onUpdate:fileList': (fileList: UploadFile<any>[]) => void;
245
+ listType: UploadListType;
246
+ onPreview: (file: UploadFile<any>) => void;
247
+ onDownload: (file: UploadFile<any>) => void;
248
+ supportServerRender: boolean;
249
+ previewFile: (file: Blob | FileType) => PromiseLike<string>;
250
+ transformFile: (file: FileType) => string | Blob | FileType | PromiseLike<string | Blob | FileType>;
251
+ isImageUrl: (file: UploadFile<any>) => boolean;
252
+ downloadIcon: (opt: {
253
+ file: UploadFile<any>;
254
+ }) => VueNode;
255
+ previewIcon: (opt: {
256
+ file: UploadFile<any>;
257
+ }) => VueNode;
258
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
259
+ P: {};
260
+ B: {};
261
+ D: {};
262
+ C: {};
263
+ M: {};
264
+ Defaults: {};
265
+ }, Readonly< ExtractPropTypes<{
266
+ capture: {
267
+ type: PropType<boolean | "user" | "environment">;
268
+ default: boolean | "user" | "environment";
269
+ };
270
+ type: {
271
+ type: PropType<UploadType>;
272
+ default: UploadType;
273
+ };
274
+ name: StringConstructor;
275
+ defaultFileList: {
276
+ type: PropType< UploadFile<any>[]>;
277
+ default: UploadFile<any>[];
278
+ };
279
+ fileList: {
280
+ type: PropType< UploadFile<any>[]>;
281
+ default: UploadFile<any>[];
282
+ };
283
+ action: {
284
+ type: PropType<string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>)>;
285
+ default: string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>);
286
+ };
287
+ directory: {
288
+ type: BooleanConstructor;
289
+ default: boolean;
290
+ };
291
+ data: {
292
+ type: PropType<Record<string, unknown> | ((file: UploadFile<any>) => Record<string, unknown> | Promise<Record<string, unknown>>)>;
293
+ default: Record<string, unknown> | ((file: UploadFile<any>) => Record<string, unknown> | Promise<Record<string, unknown>>);
294
+ };
295
+ method: {
296
+ type: PropType<"post" | "POST" | "PUT" | "PATCH" | "put" | "patch">;
297
+ default: "post" | "POST" | "PUT" | "PATCH" | "put" | "patch";
298
+ };
299
+ headers: {
300
+ type: PropType<HttpRequestHeader>;
301
+ default: HttpRequestHeader;
302
+ };
303
+ showUploadList: {
304
+ type: PropType<boolean | ShowUploadListInterface>;
305
+ default: boolean | ShowUploadListInterface;
306
+ };
307
+ multiple: {
308
+ type: BooleanConstructor;
309
+ default: boolean;
310
+ };
311
+ accept: StringConstructor;
312
+ beforeUpload: {
313
+ type: PropType<(file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>>;
314
+ default: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
315
+ };
316
+ onChange: {
317
+ type: PropType<(info: UploadChangeParam<UploadFile<any>>) => void>;
318
+ default: (info: UploadChangeParam<UploadFile<any>>) => void;
319
+ };
320
+ 'onUpdate:fileList': {
321
+ type: PropType<(fileList: UploadFile<any>[]) => void>;
322
+ default: (fileList: UploadFile<any>[]) => void;
323
+ };
324
+ onDrop: {
325
+ type: PropType<(event: DragEvent) => void>;
326
+ default: (event: DragEvent) => void;
327
+ };
328
+ listType: {
329
+ type: PropType<UploadListType>;
330
+ default: UploadListType;
331
+ };
332
+ onPreview: {
333
+ type: PropType<(file: UploadFile<any>) => void>;
334
+ default: (file: UploadFile<any>) => void;
335
+ };
336
+ onDownload: {
337
+ type: PropType<(file: UploadFile<any>) => void>;
338
+ default: (file: UploadFile<any>) => void;
339
+ };
340
+ onReject: {
341
+ type: PropType<(fileList: FileType[]) => void>;
342
+ default: (fileList: FileType[]) => void;
343
+ };
344
+ onRemove: {
345
+ type: PropType<(file: UploadFile<any>) => boolean | void | Promise<boolean | void>>;
346
+ default: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
347
+ };
348
+ remove: {
349
+ type: PropType<(file: UploadFile<any>) => boolean | void | Promise<boolean | void>>;
350
+ default: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
351
+ };
352
+ supportServerRender: {
353
+ type: BooleanConstructor;
354
+ default: boolean;
355
+ };
356
+ disabled: {
357
+ type: BooleanConstructor;
358
+ default: boolean;
359
+ };
360
+ prefixCls: StringConstructor;
361
+ customRequest: {
362
+ type: PropType<(options: UploadRequestOption<any>) => void>;
363
+ default: (options: UploadRequestOption<any>) => void;
364
+ };
365
+ withCredentials: {
366
+ type: BooleanConstructor;
367
+ default: boolean;
368
+ };
369
+ openFileDialogOnClick: {
370
+ type: BooleanConstructor;
371
+ default: boolean;
372
+ };
373
+ locale: {
374
+ type: PropType<UploadLocale>;
375
+ default: UploadLocale;
376
+ };
377
+ id: StringConstructor;
378
+ previewFile: {
379
+ type: PropType<(file: Blob | FileType) => PromiseLike<string>>;
380
+ default: (file: Blob | FileType) => PromiseLike<string>;
381
+ };
382
+ transformFile: {
383
+ type: PropType<(file: FileType) => string | Blob | FileType | PromiseLike<string | Blob | FileType>>;
384
+ default: (file: FileType) => string | Blob | FileType | PromiseLike<string | Blob | FileType>;
385
+ };
386
+ iconRender: {
387
+ type: PropType<(opt: {
388
+ file: UploadFile<any>;
389
+ listType?: UploadListType;
390
+ }) => VueNode>;
391
+ default: (opt: {
392
+ file: UploadFile<any>;
393
+ listType?: UploadListType;
394
+ }) => VueNode;
395
+ };
396
+ isImageUrl: {
397
+ type: PropType<(file: UploadFile<any>) => boolean>;
398
+ default: (file: UploadFile<any>) => boolean;
399
+ };
400
+ progress: {
401
+ type: PropType<UploadListProgressProps>;
402
+ default: UploadListProgressProps;
403
+ };
404
+ itemRender: {
405
+ type: PropType<ItemRender<any>>;
406
+ default: ItemRender<any>;
407
+ };
408
+ maxCount: NumberConstructor;
409
+ height: {
410
+ type: PropType<unknown>;
411
+ default: unknown;
412
+ };
413
+ removeIcon: {
414
+ type: PropType<(opt: {
415
+ file: UploadFile<any>;
416
+ }) => VueNode>;
417
+ default: (opt: {
418
+ file: UploadFile<any>;
419
+ }) => VueNode;
420
+ };
421
+ downloadIcon: {
422
+ type: PropType<(opt: {
423
+ file: UploadFile<any>;
424
+ }) => VueNode>;
425
+ default: (opt: {
426
+ file: UploadFile<any>;
427
+ }) => VueNode;
428
+ };
429
+ previewIcon: {
430
+ type: PropType<(opt: {
431
+ file: UploadFile<any>;
432
+ }) => VueNode>;
433
+ default: (opt: {
434
+ file: UploadFile<any>;
435
+ }) => VueNode;
436
+ };
437
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
438
+ progress: UploadListProgressProps;
439
+ type: UploadType;
440
+ height: unknown;
441
+ data: Record<string, unknown> | ((file: UploadFile<any>) => Record<string, unknown> | Promise<Record<string, unknown>>);
442
+ onDrop: (event: DragEvent) => void;
443
+ onChange: (info: UploadChangeParam<UploadFile<any>>) => void;
444
+ multiple: boolean;
445
+ disabled: boolean;
446
+ method: "post" | "POST" | "PUT" | "PATCH" | "put" | "patch";
447
+ remove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
448
+ locale: UploadLocale;
449
+ action: string | ((file: FileType) => string) | ((file: FileType) => PromiseLike<string>);
450
+ capture: boolean | "user" | "environment";
451
+ iconRender: (opt: {
452
+ file: UploadFile<any>;
453
+ listType?: UploadListType;
454
+ }) => VueNode;
455
+ onRemove: (file: UploadFile<any>) => boolean | void | Promise<boolean | void>;
456
+ removeIcon: (opt: {
457
+ file: UploadFile<any>;
458
+ }) => VueNode;
459
+ itemRender: ItemRender<any>;
460
+ directory: boolean;
461
+ headers: HttpRequestHeader;
462
+ onReject: (fileList: FileType[]) => void;
463
+ beforeUpload: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
464
+ customRequest: (options: UploadRequestOption<any>) => void;
465
+ withCredentials: boolean;
466
+ openFileDialogOnClick: boolean;
467
+ fileList: UploadFile<any>[];
468
+ defaultFileList: UploadFile<any>[];
469
+ showUploadList: boolean | ShowUploadListInterface;
470
+ 'onUpdate:fileList': (fileList: UploadFile<any>[]) => void;
471
+ listType: UploadListType;
472
+ onPreview: (file: UploadFile<any>) => void;
473
+ onDownload: (file: UploadFile<any>) => void;
474
+ supportServerRender: boolean;
475
+ previewFile: (file: Blob | FileType) => PromiseLike<string>;
476
+ transformFile: (file: FileType) => string | Blob | FileType | PromiseLike<string | Blob | FileType>;
477
+ isImageUrl: (file: UploadFile<any>) => boolean;
478
+ downloadIcon: (opt: {
479
+ file: UploadFile<any>;
480
+ }) => VueNode;
481
+ previewIcon: (opt: {
482
+ file: UploadFile<any>;
483
+ }) => VueNode;
484
+ }> | null;
485
+ }, HTMLDivElement>;
486
+ export default _default;
@@ -37,9 +37,9 @@ declare const _default: DefineComponent<UploadListProps, {}, {}, {}, {}, Compone
37
37
  maxCountTip: boolean;
38
38
  maxFileSizeTip: boolean;
39
39
  fileExtTip: boolean;
40
+ showDelete: boolean;
40
41
  showActionText: boolean;
41
42
  showOnlineSwitch: boolean;
42
- showDelete: boolean;
43
43
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
44
44
  fileUploader: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
45
45
  capture: {
@@ -1,4 +1,4 @@
1
1
  export { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon, Loading, Alert, } from './common';
2
2
  export { Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree, } from './content';
3
- export { AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, type PropConfigItem, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, TimePicker, Transfer, TransferTable, TreeSelect, UploadList, } from './form';
3
+ export { AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, type PropConfigItem, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, TimePicker, Transfer, TransferTable, TreeSelect, ImageList, UploadList, } from './form';
4
4
  export { Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs } from './layout';
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as F, defineAsyncComponent as M, ref as m, watch as V, onMounted as J, createElementBlock as x, openBlock as p, Fragment as K, createElementVNode as v, createVNode as _, toDisplayString as W, unref as i, createBlock as P, withKeys as f, normalizeClass as N, withModifiers as w, withCtx as z, createCommentVNode as L } from "vue";
2
2
  import "ant-design-vue";
3
- import { _ as q } from "../../assets/modules/toolIcon-BnkqBipR.js";
3
+ import { _ as q } from "../../assets/modules/toolIcon-Dd58W0UM.js";
4
4
  import "@skyfox2000/fapi";
5
- import "../../assets/modules/upload-template-KI-IFzyp.js";
5
+ import "../../assets/modules/upload-template-Csccple9.js";
6
6
  import "@skyfox2000/microbase";
7
7
  import "vue-m-message";
8
8
  import "async-validator";
9
9
  import "dayjs";
10
- import { _ as D } from "../../assets/modules/index-CDr74akE.js";
10
+ import { _ as D } from "../../assets/modules/index-BYVerdEw.js";
11
11
  import "vue-draggable-next";
12
12
  const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
13
13
  const o = document.createElement("script");
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, createBlock as o, openBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as w, KeepAlive as y, unref as n, resolveDynamicComponent as I } from "vue";
2
- import { _ as g } from "../../assets/modules/baseLayout-D3_NxEzk.js";
3
- import { ah as A, a as S } from "../../assets/modules/upload-template-KI-IFzyp.js";
2
+ import { _ as g } from "../../assets/modules/baseLayout-Da4Ox7Lj.js";
3
+ import { ah as A, a as S } from "../../assets/modules/upload-template-Csccple9.js";
4
4
  import "@skyfox2000/microbase";
5
5
  import "@skyfox2000/fapi";
6
6
  import b from "vue-m-message";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
2
- import { r as s } from "../../assets/modules/upload-template-KI-IFzyp.js";
2
+ import { r as s } from "../../assets/modules/upload-template-Csccple9.js";
3
3
  import "@skyfox2000/microbase";
4
4
  import "@skyfox2000/fapi";
5
5
  import "vue-m-message";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
2
- import { r as s } from "../../assets/modules/upload-template-KI-IFzyp.js";
2
+ import { r as s } from "../../assets/modules/upload-template-Csccple9.js";
3
3
  import "@skyfox2000/microbase";
4
4
  import "@skyfox2000/fapi";
5
5
  import "vue-m-message";
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as we, ref as f, computed as T, watch as H, onMounted as be, createBlock as W, openBlock as d, unref as n, withCtx as S, renderSlot as J, createElementBlock as g, createCommentVNode as K, createElementVNode as h, createVNode as C, createTextVNode as X, toDisplayString as E, normalizeClass as Ce, Fragment as ie, renderList as ne } from "vue";
2
- import { _ as Y } from "../../assets/modules/index-D14BsF7C.js";
2
+ import { _ as Y } from "../../assets/modules/index-Ch3meKe4.js";
3
3
  import { Modal as Fe, Upload as ue, Space as _e } from "ant-design-vue";
4
4
  import { httpGet as Ue, ResStatus as fe } from "@skyfox2000/fapi";
5
- import { G as Te, a4 as Se, aa as Ee } from "../../assets/modules/upload-template-KI-IFzyp.js";
6
- import { A as Re, p as De, U as ce } from "../../assets/modules/file-upload-CNBcbAAZ.js";
5
+ import { G as Te, a5 as Se, ab as Ee } from "../../assets/modules/upload-template-Csccple9.js";
6
+ import { A as Re, p as De, U as ce } from "../../assets/modules/file-upload-Bu6FkNjZ.js";
7
7
  import "@skyfox2000/microbase";
8
8
  import p from "vue-m-message";
9
- import { c as ke, _ as Z, h as Le, p as Ne, i as Ke } from "../../assets/modules/index-DOlO_4KL.js";
9
+ import { c as ke, _ as Z, h as Le, p as Ne, i as Ke } from "../../assets/modules/index-BysCt107.js";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
12
12
  import "async-validator";
@@ -307,7 +307,7 @@ const Be = (l) => l.includes(",") || l.includes(`
307
307
  return p.error(v), ue.LIST_IGNORE;
308
308
  try {
309
309
  if (A(), y.value = t.name, q.value = u ? "text/csv" : "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", u) {
310
- const w = await t.arrayBuffer(), O = new TextDecoder("utf-8").decode(w), { csvToExcelView: G } = await import("../../assets/modules/index-DOlO_4KL.js").then((he) => he.j), M = await G(O, t.name);
310
+ const w = await t.arrayBuffer(), O = new TextDecoder("utf-8").decode(w), { csvToExcelView: G } = await import("../../assets/modules/index-BysCt107.js").then((he) => he.j), M = await G(O, t.name);
311
311
  if (!M.success)
312
312
  throw new Error(M.error || "CSV文件处理失败");
313
313
  const oe = await (await fetch(M.blobUrl)).arrayBuffer();
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, ref as d, watch as _, onMounted as h, resolveComponent as v, createBlock as o, openBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as w, KeepAlive as I, unref as n, resolveDynamicComponent as g } from "vue";
2
- import { _ as y } from "../../assets/modules/baseLayout-D3_NxEzk.js";
3
- import { ah as A, a as S } from "../../assets/modules/upload-template-KI-IFzyp.js";
2
+ import { _ as y } from "../../assets/modules/baseLayout-Da4Ox7Lj.js";
3
+ import { ah as A, a as S } from "../../assets/modules/upload-template-Csccple9.js";
4
4
  import "@skyfox2000/microbase";
5
5
  import "@skyfox2000/fapi";
6
6
  import k from "vue-m-message";
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as x, ref as o, watch as S, onMounted as h, createBlock as C, openBlock as F, unref as m, withCtx as s, createVNode as f, createTextVNode as q } from "vue";
2
- import { _ as L } from "../../assets/modules/index-D14BsF7C.js";
2
+ import { _ as L } from "../../assets/modules/index-Ch3meKe4.js";
3
3
  import { Modal as z, Space as D } from "ant-design-vue";
4
4
  import { httpPost as N, ResStatus as O } from "@skyfox2000/fapi";
5
- import { ak as d } from "../../assets/modules/upload-template-KI-IFzyp.js";
6
- import { U as b } from "../../assets/modules/file-upload-CNBcbAAZ.js";
5
+ import { ak as d } from "../../assets/modules/upload-template-Csccple9.js";
6
+ import { U as b } from "../../assets/modules/file-upload-Bu6FkNjZ.js";
7
7
  import "@skyfox2000/microbase";
8
8
  import "vue-m-message";
9
9
  import "async-validator";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
12
- import { U as g } from "../../assets/modules/uploadList-DnFXg_B3.js";
12
+ import { U as g } from "../../assets/modules/uploadList-D8scq04c.js";
13
13
  const _ = /* @__PURE__ */ x({
14
14
  __name: "templateFile",
15
15
  props: {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as y, ref as f, watch as S, onMounted as z, createBlock as D, openBlock as F, unref as u, withCtx as s, createVNode as m, createTextVNode as C } from "vue";
2
- import { _ as c } from "../../assets/modules/index-D14BsF7C.js";
2
+ import { _ as c } from "../../assets/modules/index-Ch3meKe4.js";
3
3
  import { Modal as _, Space as k } from "ant-design-vue";
4
4
  import { ResStatus as E } from "@skyfox2000/fapi";
5
- import { a6 as h } from "../../assets/modules/upload-template-KI-IFzyp.js";
5
+ import { a7 as h } from "../../assets/modules/upload-template-Csccple9.js";
6
6
  import "@skyfox2000/microbase";
7
7
  import L from "vue-m-message";
8
8
  import "async-validator";
9
9
  import "dayjs";
10
- import { A as N } from "../../assets/modules/file-upload-CNBcbAAZ.js";
10
+ import { A as N } from "../../assets/modules/file-upload-Bu6FkNjZ.js";
11
11
  import "vue-draggable-next";
12
- import { U as B } from "../../assets/modules/uploadList-DnFXg_B3.js";
12
+ import { U as B } from "../../assets/modules/uploadList-D8scq04c.js";
13
13
  const K = /* @__PURE__ */ y({
14
14
  __name: "uploadForm",
15
15
  props: {
package/lib/index.d.ts CHANGED
@@ -43,5 +43,5 @@ export { useHostInfo } from './stores/hostInfo';
43
43
  export { useUserInfo } from './stores/userInfo';
44
44
  export { usePageInfo } from './stores/pageInfo';
45
45
  export { useSettingInfo } from './stores/settingInfo';
46
- export { Alert, Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon, Loading, Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree, AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, type PropConfigItem, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, TimePicker, Transfer, TransferTable, TreeSelect, UploadList, Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs, } from './components/index';
46
+ export { Alert, Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon, Loading, Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree, AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, type PropConfigItem, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, TimePicker, Transfer, TransferTable, TreeSelect, ImageList, UploadList, Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs, } from './components/index';
47
47
  export { uploadTempOpener, uploadTempBtn } from './utils/upload-template';