@weaveui/web 0.0.1 → 0.0.3
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/LICENSE +12 -12
- package/README.md +15 -18
- package/THIRD_PARTY_NOTICES +2 -2
- package/dist/index.d.ts +440 -333
- package/dist/index.es.js +18408 -2694
- package/dist/index.umd.cjs +176 -6
- package/dist/style.css +1 -1
- package/package.json +11 -30
- package/dist/apm-log.es.js +0 -996
- package/dist/apm-log.umd.cjs +0 -1
- package/dist/business/apm-log/behavior-directive.d.ts +0 -9
- package/dist/business/apm-log/behavior-log.d.ts +0 -6
- package/dist/business/apm-log/behavior-types.d.ts +0 -121
- package/dist/business/apm-log/browser.d.ts +0 -3
- package/dist/business/apm-log/directive.d.ts +0 -13
- package/dist/business/apm-log/index.d.ts +0 -8
- package/dist/business/apm-log/legacy-apm-log.d.ts +0 -6
- package/dist/business/apm-log/types.d.ts +0 -147
- package/dist/business/apm-log/vue.d.ts +0 -5
- package/dist/business/monitor/index.d.ts +0 -81
- package/dist/business/monitor/monitor-plugin.d.ts +0 -9
- package/dist/business/monitor/runtime-types.d.ts +0 -166
- package/dist/business/monitor/runtime.d.ts +0 -6
- package/dist/business/monitor/types.d.ts +0 -221
- package/dist/business/permission/Permission.d.ts +0 -18
- package/dist/business/permission/PermissionPluginClass.d.ts +0 -40
- package/dist/business/permission/directive.d.ts +0 -7
- package/dist/business/permission/index.d.ts +0 -35
- package/dist/business/permission/permission-plugin.d.ts +0 -16
- package/dist/business/permission/storage.d.ts +0 -30
- package/dist/business/permission/tree.d.ts +0 -19
- package/dist/business/permission/types.d.ts +0 -115
- package/dist/business/upload-cos/index.d.ts +0 -117
- package/dist/business/upload-cos/src/UploadCos.vue.d.ts +0 -70
- package/dist/business/upload-cos/src/types.d.ts +0 -72
- package/dist/business/upload-cos/src/utils.d.ts +0 -9
- package/dist/monitor.es.js +0 -1217
- package/dist/monitor.umd.cjs +0 -1
- package/dist/permission.es.js +0 -631
- package/dist/permission.umd.cjs +0 -1
- package/dist/upload-cos.es.js +0 -426
- package/dist/upload-cos.style.css +0 -1
- package/dist/upload-cos.umd.cjs +0 -1
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/is.d.ts +0 -2
- package/dist/utils/withInstall.d.ts +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -6,77 +6,17 @@ import { ComponentOptionsMixin } from 'vue';
|
|
|
6
6
|
import { ComponentProvideOptions } from 'vue';
|
|
7
7
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
8
8
|
import { DefineComponent } from 'vue';
|
|
9
|
+
import { ExtractPropTypes } from 'vue';
|
|
9
10
|
import { GlobalComponents } from 'vue';
|
|
10
11
|
import { GlobalDirectives } from 'vue';
|
|
11
12
|
import { Plugin as Plugin_2 } from 'vue';
|
|
13
|
+
import { PropType } from 'vue';
|
|
12
14
|
import { PublicProps } from 'vue';
|
|
13
|
-
import {
|
|
14
|
-
import { TableInstance } from 'element-plus';
|
|
15
|
+
import { Ref } from 'vue';
|
|
15
16
|
import { UploadRawFile } from 'element-plus';
|
|
16
17
|
import { UploadUserFile } from 'element-plus';
|
|
17
|
-
import { VNode } from 'vue';
|
|
18
18
|
import { VNodeProps } from 'vue';
|
|
19
19
|
|
|
20
|
-
export declare const Button: SFCWithInstall< {
|
|
21
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ButtonProps> & Readonly<{
|
|
22
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
23
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
|
-
click: (event: MouseEvent) => any;
|
|
25
|
-
}, PublicProps, {
|
|
26
|
-
size: ButtonSize;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
type: ButtonType;
|
|
29
|
-
loading: boolean;
|
|
30
|
-
nativeType: ButtonNativeType;
|
|
31
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLButtonElement, ComponentProvideOptions, {
|
|
32
|
-
P: {};
|
|
33
|
-
B: {};
|
|
34
|
-
D: {};
|
|
35
|
-
C: {};
|
|
36
|
-
M: {};
|
|
37
|
-
Defaults: {};
|
|
38
|
-
}, Readonly<ButtonProps> & Readonly<{
|
|
39
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
40
|
-
}>, {}, {}, {}, {}, {
|
|
41
|
-
size: ButtonSize;
|
|
42
|
-
disabled: boolean;
|
|
43
|
-
type: ButtonType;
|
|
44
|
-
loading: boolean;
|
|
45
|
-
nativeType: ButtonNativeType;
|
|
46
|
-
}>;
|
|
47
|
-
__isFragment?: never;
|
|
48
|
-
__isTeleport?: never;
|
|
49
|
-
__isSuspense?: never;
|
|
50
|
-
} & ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
|
|
51
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
52
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
53
|
-
click: (event: MouseEvent) => any;
|
|
54
|
-
}, string, {
|
|
55
|
-
size: ButtonSize;
|
|
56
|
-
disabled: boolean;
|
|
57
|
-
type: ButtonType;
|
|
58
|
-
loading: boolean;
|
|
59
|
-
nativeType: ButtonNativeType;
|
|
60
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
61
|
-
$slots: {
|
|
62
|
-
default?(_: {}): any;
|
|
63
|
-
};
|
|
64
|
-
})>;
|
|
65
|
-
|
|
66
|
-
export declare type ButtonNativeType = 'button' | 'submit' | 'reset';
|
|
67
|
-
|
|
68
|
-
export declare interface ButtonProps {
|
|
69
|
-
type?: ButtonType;
|
|
70
|
-
size?: ButtonSize;
|
|
71
|
-
disabled?: boolean;
|
|
72
|
-
loading?: boolean;
|
|
73
|
-
nativeType?: ButtonNativeType;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export declare type ButtonSize = 'small' | 'medium' | 'large';
|
|
77
|
-
|
|
78
|
-
export declare type ButtonType = 'primary' | 'secondary' | 'text';
|
|
79
|
-
|
|
80
20
|
export declare const CatImage: SFCWithInstall< {
|
|
81
21
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<CatImageProps> & Readonly<{
|
|
82
22
|
"onUpdate:modelValue"?: ((visible: boolean) => any) | undefined;
|
|
@@ -321,282 +261,449 @@ export declare type CopyTextTrigger = 'button' | 'text' | 'icon';
|
|
|
321
261
|
*/
|
|
322
262
|
export declare function createGroupedMemberValueAdapter(options: GroupedMemberValueAdapterOptions): MemberValueAdapter<Record<string, TreeKey[]>>;
|
|
323
263
|
|
|
324
|
-
export declare const CustomTable: SFCWithInstall<
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
264
|
+
export declare const CustomTable: SFCWithInstall< {
|
|
265
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
266
|
+
data: {
|
|
267
|
+
type: PropType<Record<string, any>>;
|
|
268
|
+
required: true;
|
|
269
|
+
default: {};
|
|
329
270
|
};
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
key: CustomTableColumnKey;
|
|
334
|
-
sourceIndex: number;
|
|
271
|
+
localData: {
|
|
272
|
+
type: PropType<Record<string, any>[]>;
|
|
273
|
+
default: () => never[];
|
|
335
274
|
};
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
toolbar?(_: {
|
|
341
|
-
filters: TFilters;
|
|
342
|
-
page: number;
|
|
343
|
-
pageSize: number;
|
|
344
|
-
visibleColumnKeys: readonly CustomTableColumnKey[];
|
|
345
|
-
loading: boolean;
|
|
346
|
-
exporting: boolean;
|
|
347
|
-
reload: () => Promise<void>;
|
|
348
|
-
setFilters: (filters: TFilters) => void;
|
|
349
|
-
setVisibleColumnKeys: (keys: readonly CustomTableColumnKey[]) => void;
|
|
350
|
-
exportRows: () => Promise<void>;
|
|
351
|
-
}): any;
|
|
352
|
-
'toolbar-left'?(_: {
|
|
353
|
-
filters: TFilters;
|
|
354
|
-
page: number;
|
|
355
|
-
pageSize: number;
|
|
356
|
-
visibleColumnKeys: readonly CustomTableColumnKey[];
|
|
357
|
-
loading: boolean;
|
|
358
|
-
exporting: boolean;
|
|
359
|
-
reload: () => Promise<void>;
|
|
360
|
-
setFilters: (filters: TFilters) => void;
|
|
361
|
-
setVisibleColumnKeys: (keys: readonly CustomTableColumnKey[]) => void;
|
|
362
|
-
exportRows: () => Promise<void>;
|
|
363
|
-
}): any;
|
|
364
|
-
'toolbar-right'?(_: {
|
|
365
|
-
filters: TFilters;
|
|
366
|
-
page: number;
|
|
367
|
-
pageSize: number;
|
|
368
|
-
visibleColumnKeys: readonly CustomTableColumnKey[];
|
|
369
|
-
loading: boolean;
|
|
370
|
-
exporting: boolean;
|
|
371
|
-
reload: () => Promise<void>;
|
|
372
|
-
setFilters: (filters: TFilters) => void;
|
|
373
|
-
setVisibleColumnKeys: (keys: readonly CustomTableColumnKey[]) => void;
|
|
374
|
-
exportRows: () => Promise<void>;
|
|
375
|
-
}): any;
|
|
275
|
+
column: {
|
|
276
|
+
type: PropType<CustomTableColumn[]>;
|
|
277
|
+
required: true;
|
|
278
|
+
default: never[];
|
|
376
279
|
};
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
readonly "onUpdate:visibleColumnKeys"?: ((keys: string[]) => any) | undefined;
|
|
386
|
-
readonly onReload?: (() => any) | undefined;
|
|
387
|
-
readonly "onLoad-success"?: ((result: CustomTableLoadResult<TRow>) => any) | undefined;
|
|
388
|
-
readonly "onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
389
|
-
readonly "onExport-error"?: ((error: unknown) => any) | undefined;
|
|
390
|
-
readonly "onPersistence-error"?: ((error: unknown) => any) | undefined;
|
|
391
|
-
columns: readonly CustomTableColumn<TRow>[];
|
|
392
|
-
rows?: readonly TRow[] | undefined;
|
|
393
|
-
loader?: CustomTableLoader<TRow, TFilters> | undefined;
|
|
394
|
-
filters?: TFilters | undefined;
|
|
395
|
-
page?: number | undefined;
|
|
396
|
-
pageSize?: number | undefined;
|
|
397
|
-
pagination?: boolean | undefined;
|
|
398
|
-
pageSizes?: readonly number[] | undefined;
|
|
399
|
-
visibleColumnKeys?: readonly CustomTableColumnKey[] | undefined;
|
|
400
|
-
showRefresh?: boolean | undefined;
|
|
401
|
-
showColumnSettings?: boolean | undefined;
|
|
402
|
-
columnPersistenceKey?: string | undefined;
|
|
403
|
-
storageAdapter?: CustomTableStorageAdapter | undefined;
|
|
404
|
-
autoLoad?: boolean | undefined;
|
|
405
|
-
exporter?: CustomTableExporter<TRow, TFilters> | undefined;
|
|
406
|
-
rowKey?: string | ((row: TRow) => string | number) | undefined;
|
|
407
|
-
emptyText?: string | undefined;
|
|
408
|
-
} & PublicProps;
|
|
409
|
-
expose(exposed: ShallowUnwrapRef<CustomTableExposed<TRow, TFilters>>): void;
|
|
410
|
-
attrs: any;
|
|
411
|
-
slots: Partial<Record<string, (_: {
|
|
412
|
-
column: CustomTableColumn<TRow> & {
|
|
413
|
-
key: CustomTableColumnKey;
|
|
414
|
-
sourceIndex: number;
|
|
280
|
+
format: {
|
|
281
|
+
type: PropType< {
|
|
282
|
+
list: string;
|
|
283
|
+
count: string;
|
|
284
|
+
}>;
|
|
285
|
+
default: {
|
|
286
|
+
list: string;
|
|
287
|
+
count: string;
|
|
415
288
|
};
|
|
416
|
-
index: number;
|
|
417
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
418
|
-
column: CustomTableColumn<TRow> & {
|
|
419
|
-
key: CustomTableColumnKey;
|
|
420
|
-
sourceIndex: number;
|
|
421
289
|
};
|
|
422
|
-
|
|
290
|
+
filter: {
|
|
291
|
+
type: BooleanConstructor;
|
|
292
|
+
default: boolean;
|
|
293
|
+
};
|
|
294
|
+
search: {
|
|
295
|
+
type: PropType<Record<string, any>[]>;
|
|
296
|
+
default: never[];
|
|
297
|
+
};
|
|
298
|
+
export: {
|
|
299
|
+
type: PropType<string | (() => string)>;
|
|
300
|
+
default: string;
|
|
301
|
+
};
|
|
302
|
+
paging: {
|
|
303
|
+
type: BooleanConstructor;
|
|
304
|
+
default: boolean;
|
|
305
|
+
};
|
|
306
|
+
autoLoad: {
|
|
307
|
+
type: BooleanConstructor;
|
|
308
|
+
default: boolean;
|
|
309
|
+
};
|
|
310
|
+
showPage: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: boolean;
|
|
313
|
+
};
|
|
314
|
+
exportSheetByField: {
|
|
315
|
+
type: StringConstructor;
|
|
316
|
+
default: string;
|
|
317
|
+
};
|
|
318
|
+
exportFormatByField: {
|
|
319
|
+
type: PropType<string[]>;
|
|
320
|
+
default: () => never[];
|
|
321
|
+
};
|
|
322
|
+
}>> & Readonly<{
|
|
323
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
324
|
+
onSearchData?: ((...args: any[]) => any) | undefined;
|
|
325
|
+
onResetSearch?: ((...args: any[]) => any) | undefined;
|
|
326
|
+
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
327
|
+
}>, {
|
|
328
|
+
getList: () => void;
|
|
329
|
+
tableRef: Ref<any, any>;
|
|
330
|
+
searchRef: Ref<any, any>;
|
|
331
|
+
setSearchTop: () => void;
|
|
332
|
+
clearSelection: () => void;
|
|
333
|
+
currentChange: (current: number) => void;
|
|
334
|
+
reloadTableData: () => void;
|
|
335
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
336
|
+
search: (...args: any[]) => void;
|
|
337
|
+
searchData: (...args: any[]) => void;
|
|
338
|
+
resetSearch: (...args: any[]) => void;
|
|
339
|
+
loaded: (...args: any[]) => void;
|
|
340
|
+
}, PublicProps, {
|
|
341
|
+
data: Record<string, any>;
|
|
342
|
+
filter: boolean;
|
|
343
|
+
search: Record<string, any>[];
|
|
344
|
+
format: {
|
|
345
|
+
list: string;
|
|
346
|
+
count: string;
|
|
347
|
+
};
|
|
348
|
+
localData: Record<string, any>[];
|
|
349
|
+
column: CustomTableColumn[];
|
|
350
|
+
export: string | (() => string);
|
|
351
|
+
paging: boolean;
|
|
352
|
+
autoLoad: boolean;
|
|
353
|
+
showPage: boolean;
|
|
354
|
+
exportSheetByField: string;
|
|
355
|
+
exportFormatByField: string[];
|
|
356
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
357
|
+
searchRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
358
|
+
data: {
|
|
359
|
+
type: PropType<Record<string, any>[]>;
|
|
360
|
+
default: never[];
|
|
361
|
+
};
|
|
362
|
+
top: NumberConstructor;
|
|
363
|
+
}>> & Readonly<{
|
|
364
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
365
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
366
|
+
onSearchData?: ((...args: any[]) => any) | undefined;
|
|
367
|
+
onResetSearch?: ((...args: any[]) => any) | undefined;
|
|
368
|
+
}>, {
|
|
369
|
+
search: () => void;
|
|
370
|
+
form: Ref<any, any>;
|
|
371
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
372
|
+
search: (...args: any[]) => void;
|
|
373
|
+
close: (...args: any[]) => void;
|
|
374
|
+
searchData: (...args: any[]) => void;
|
|
375
|
+
resetSearch: (...args: any[]) => void;
|
|
376
|
+
}, PublicProps, {
|
|
377
|
+
data: Record<string, any>[];
|
|
378
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
379
|
+
wrapper: HTMLDivElement;
|
|
380
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
381
|
+
P: {};
|
|
382
|
+
B: {};
|
|
383
|
+
D: {};
|
|
384
|
+
C: {};
|
|
385
|
+
M: {};
|
|
386
|
+
Defaults: {};
|
|
387
|
+
}, Readonly<ExtractPropTypes< {
|
|
388
|
+
data: {
|
|
389
|
+
type: PropType<Record<string, any>[]>;
|
|
390
|
+
default: never[];
|
|
391
|
+
};
|
|
392
|
+
top: NumberConstructor;
|
|
393
|
+
}>> & Readonly<{
|
|
394
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
395
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
396
|
+
onSearchData?: ((...args: any[]) => any) | undefined;
|
|
397
|
+
onResetSearch?: ((...args: any[]) => any) | undefined;
|
|
398
|
+
}>, {
|
|
399
|
+
search: () => void;
|
|
400
|
+
form: Ref<any, any>;
|
|
401
|
+
}, {}, {}, {}, {
|
|
402
|
+
data: Record<string, any>[];
|
|
403
|
+
}> | null;
|
|
404
|
+
headerRef: HTMLDivElement;
|
|
405
|
+
tableRef: unknown;
|
|
406
|
+
}, any, ComponentProvideOptions, {
|
|
407
|
+
P: {};
|
|
408
|
+
B: {};
|
|
409
|
+
D: {};
|
|
410
|
+
C: {};
|
|
411
|
+
M: {};
|
|
412
|
+
Defaults: {};
|
|
413
|
+
}, Readonly<ExtractPropTypes< {
|
|
414
|
+
data: {
|
|
415
|
+
type: PropType<Record<string, any>>;
|
|
416
|
+
required: true;
|
|
417
|
+
default: {};
|
|
418
|
+
};
|
|
419
|
+
localData: {
|
|
420
|
+
type: PropType<Record<string, any>[]>;
|
|
421
|
+
default: () => never[];
|
|
422
|
+
};
|
|
423
|
+
column: {
|
|
424
|
+
type: PropType<CustomTableColumn[]>;
|
|
425
|
+
required: true;
|
|
426
|
+
default: never[];
|
|
427
|
+
};
|
|
428
|
+
format: {
|
|
429
|
+
type: PropType< {
|
|
430
|
+
list: string;
|
|
431
|
+
count: string;
|
|
432
|
+
}>;
|
|
433
|
+
default: {
|
|
434
|
+
list: string;
|
|
435
|
+
count: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
filter: {
|
|
439
|
+
type: BooleanConstructor;
|
|
440
|
+
default: boolean;
|
|
441
|
+
};
|
|
442
|
+
search: {
|
|
443
|
+
type: PropType<Record<string, any>[]>;
|
|
444
|
+
default: never[];
|
|
445
|
+
};
|
|
446
|
+
export: {
|
|
447
|
+
type: PropType<string | (() => string)>;
|
|
448
|
+
default: string;
|
|
449
|
+
};
|
|
450
|
+
paging: {
|
|
451
|
+
type: BooleanConstructor;
|
|
452
|
+
default: boolean;
|
|
453
|
+
};
|
|
454
|
+
autoLoad: {
|
|
455
|
+
type: BooleanConstructor;
|
|
456
|
+
default: boolean;
|
|
457
|
+
};
|
|
458
|
+
showPage: {
|
|
459
|
+
type: BooleanConstructor;
|
|
460
|
+
default: boolean;
|
|
461
|
+
};
|
|
462
|
+
exportSheetByField: {
|
|
463
|
+
type: StringConstructor;
|
|
464
|
+
default: string;
|
|
465
|
+
};
|
|
466
|
+
exportFormatByField: {
|
|
467
|
+
type: PropType<string[]>;
|
|
468
|
+
default: () => never[];
|
|
469
|
+
};
|
|
470
|
+
}>> & Readonly<{
|
|
471
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
472
|
+
onSearchData?: ((...args: any[]) => any) | undefined;
|
|
473
|
+
onResetSearch?: ((...args: any[]) => any) | undefined;
|
|
474
|
+
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
475
|
+
}>, {
|
|
476
|
+
getList: () => void;
|
|
477
|
+
tableRef: Ref<any, any>;
|
|
478
|
+
searchRef: Ref<any, any>;
|
|
479
|
+
setSearchTop: () => void;
|
|
480
|
+
clearSelection: () => void;
|
|
481
|
+
currentChange: (current: number) => void;
|
|
482
|
+
reloadTableData: () => void;
|
|
483
|
+
}, {}, {}, {}, {
|
|
484
|
+
data: Record<string, any>;
|
|
485
|
+
filter: boolean;
|
|
486
|
+
search: Record<string, any>[];
|
|
487
|
+
format: {
|
|
488
|
+
list: string;
|
|
489
|
+
count: string;
|
|
490
|
+
};
|
|
491
|
+
localData: Record<string, any>[];
|
|
492
|
+
column: CustomTableColumn[];
|
|
493
|
+
export: string | (() => string);
|
|
494
|
+
paging: boolean;
|
|
495
|
+
autoLoad: boolean;
|
|
496
|
+
showPage: boolean;
|
|
497
|
+
exportSheetByField: string;
|
|
498
|
+
exportFormatByField: string[];
|
|
499
|
+
}>;
|
|
500
|
+
__isFragment?: never;
|
|
501
|
+
__isTeleport?: never;
|
|
502
|
+
__isSuspense?: never;
|
|
503
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
504
|
+
data: {
|
|
505
|
+
type: PropType<Record<string, any>>;
|
|
506
|
+
required: true;
|
|
507
|
+
default: {};
|
|
508
|
+
};
|
|
509
|
+
localData: {
|
|
510
|
+
type: PropType<Record<string, any>[]>;
|
|
511
|
+
default: () => never[];
|
|
512
|
+
};
|
|
513
|
+
column: {
|
|
514
|
+
type: PropType<CustomTableColumn[]>;
|
|
515
|
+
required: true;
|
|
516
|
+
default: never[];
|
|
517
|
+
};
|
|
518
|
+
format: {
|
|
519
|
+
type: PropType< {
|
|
520
|
+
list: string;
|
|
521
|
+
count: string;
|
|
522
|
+
}>;
|
|
523
|
+
default: {
|
|
524
|
+
list: string;
|
|
525
|
+
count: string;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
filter: {
|
|
529
|
+
type: BooleanConstructor;
|
|
530
|
+
default: boolean;
|
|
531
|
+
};
|
|
532
|
+
search: {
|
|
533
|
+
type: PropType<Record<string, any>[]>;
|
|
534
|
+
default: never[];
|
|
535
|
+
};
|
|
536
|
+
export: {
|
|
537
|
+
type: PropType<string | (() => string)>;
|
|
538
|
+
default: string;
|
|
539
|
+
};
|
|
540
|
+
paging: {
|
|
541
|
+
type: BooleanConstructor;
|
|
542
|
+
default: boolean;
|
|
543
|
+
};
|
|
544
|
+
autoLoad: {
|
|
545
|
+
type: BooleanConstructor;
|
|
546
|
+
default: boolean;
|
|
547
|
+
};
|
|
548
|
+
showPage: {
|
|
549
|
+
type: BooleanConstructor;
|
|
550
|
+
default: boolean;
|
|
551
|
+
};
|
|
552
|
+
exportSheetByField: {
|
|
553
|
+
type: StringConstructor;
|
|
554
|
+
default: string;
|
|
555
|
+
};
|
|
556
|
+
exportFormatByField: {
|
|
557
|
+
type: PropType<string[]>;
|
|
558
|
+
default: () => never[];
|
|
559
|
+
};
|
|
560
|
+
}>> & Readonly<{
|
|
561
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
562
|
+
onSearchData?: ((...args: any[]) => any) | undefined;
|
|
563
|
+
onResetSearch?: ((...args: any[]) => any) | undefined;
|
|
564
|
+
onLoaded?: ((...args: any[]) => any) | undefined;
|
|
565
|
+
}>, {
|
|
566
|
+
getList: () => void;
|
|
567
|
+
tableRef: Ref<any, any>;
|
|
568
|
+
searchRef: Ref<any, any>;
|
|
569
|
+
setSearchTop: () => void;
|
|
570
|
+
clearSelection: () => void;
|
|
571
|
+
currentChange: (current: number) => void;
|
|
572
|
+
reloadTableData: () => void;
|
|
573
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
574
|
+
search: (...args: any[]) => void;
|
|
575
|
+
searchData: (...args: any[]) => void;
|
|
576
|
+
resetSearch: (...args: any[]) => void;
|
|
577
|
+
loaded: (...args: any[]) => void;
|
|
578
|
+
}, string, {
|
|
579
|
+
data: Record<string, any>;
|
|
580
|
+
filter: boolean;
|
|
581
|
+
search: Record<string, any>[];
|
|
582
|
+
format: {
|
|
583
|
+
list: string;
|
|
584
|
+
count: string;
|
|
585
|
+
};
|
|
586
|
+
localData: Record<string, any>[];
|
|
587
|
+
column: CustomTableColumn[];
|
|
588
|
+
export: string | (() => string);
|
|
589
|
+
paging: boolean;
|
|
590
|
+
autoLoad: boolean;
|
|
591
|
+
showPage: boolean;
|
|
592
|
+
exportSheetByField: string;
|
|
593
|
+
exportFormatByField: string[];
|
|
594
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
595
|
+
$slots: Partial<Record<string, (_: {
|
|
423
596
|
row: any;
|
|
424
|
-
|
|
597
|
+
$index: any;
|
|
598
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
599
|
+
row: any;
|
|
600
|
+
$index: any;
|
|
425
601
|
}) => any>> & {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
exporting: boolean;
|
|
433
|
-
reload: () => Promise<void>;
|
|
434
|
-
setFilters: (filters: TFilters) => void;
|
|
435
|
-
setVisibleColumnKeys: (keys: readonly CustomTableColumnKey[]) => void;
|
|
436
|
-
exportRows: () => Promise<void>;
|
|
437
|
-
}): any;
|
|
438
|
-
'toolbar-left'?(_: {
|
|
439
|
-
filters: TFilters;
|
|
440
|
-
page: number;
|
|
441
|
-
pageSize: number;
|
|
442
|
-
visibleColumnKeys: readonly CustomTableColumnKey[];
|
|
443
|
-
loading: boolean;
|
|
444
|
-
exporting: boolean;
|
|
445
|
-
reload: () => Promise<void>;
|
|
446
|
-
setFilters: (filters: TFilters) => void;
|
|
447
|
-
setVisibleColumnKeys: (keys: readonly CustomTableColumnKey[]) => void;
|
|
448
|
-
exportRows: () => Promise<void>;
|
|
449
|
-
}): any;
|
|
450
|
-
'toolbar-right'?(_: {
|
|
451
|
-
filters: TFilters;
|
|
452
|
-
page: number;
|
|
453
|
-
pageSize: number;
|
|
454
|
-
visibleColumnKeys: readonly CustomTableColumnKey[];
|
|
455
|
-
loading: boolean;
|
|
456
|
-
exporting: boolean;
|
|
457
|
-
reload: () => Promise<void>;
|
|
458
|
-
setFilters: (filters: TFilters) => void;
|
|
459
|
-
setVisibleColumnKeys: (keys: readonly CustomTableColumnKey[]) => void;
|
|
460
|
-
exportRows: () => Promise<void>;
|
|
461
|
-
}): any;
|
|
602
|
+
searchTop?(_: {}): any;
|
|
603
|
+
left?(_: {}): any;
|
|
604
|
+
mid?(_: {}): any;
|
|
605
|
+
right?(_: {}): any;
|
|
606
|
+
rightOpt?(_: {}): any;
|
|
607
|
+
search?(_: {}): any;
|
|
462
608
|
};
|
|
463
|
-
emit: ((evt: "sort-change", sort: CustomTableSort) => void) & ((evt: "update:filters", filters: TFilters) => void) & ((evt: "update:page", page: number) => void) & ((evt: "update:pageSize", pageSize: number) => void) & ((evt: "update:visibleColumnKeys", keys: string[]) => void) & ((evt: "reload") => void) & ((evt: "load-success", result: CustomTableLoadResult<TRow>) => void) & ((evt: "load-error", error: unknown) => void) & ((evt: "export-error", error: unknown) => void) & ((evt: "persistence-error", error: unknown) => void);
|
|
464
|
-
}>) => VNode & {
|
|
465
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
466
609
|
})>;
|
|
467
610
|
|
|
468
|
-
export declare interface CustomTableCellContext
|
|
469
|
-
row:
|
|
470
|
-
column
|
|
471
|
-
index: number;
|
|
472
|
-
value: unknown;
|
|
611
|
+
export declare interface CustomTableCellContext {
|
|
612
|
+
row: Record<string, any>;
|
|
613
|
+
column?: CustomTableColumn;
|
|
614
|
+
$index: number;
|
|
473
615
|
}
|
|
474
616
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
*/
|
|
479
|
-
export declare interface CustomTableColumn<TRow extends object = object> {
|
|
480
|
-
key?: CustomTableColumnKey;
|
|
481
|
-
prop?: string;
|
|
482
|
-
label?: string;
|
|
617
|
+
export declare interface CustomTableColumn extends Record<string, any> {
|
|
618
|
+
prop: string;
|
|
619
|
+
label: string;
|
|
483
620
|
type?: CustomTableColumnType;
|
|
484
|
-
width?: number | string;
|
|
485
|
-
minWidth?: number | string;
|
|
486
|
-
fixed?: boolean | 'left' | 'right';
|
|
487
621
|
align?: CustomTableColumnAlign;
|
|
488
|
-
headerAlign?: CustomTableColumnAlign;
|
|
489
|
-
sortable?: boolean | 'custom';
|
|
490
|
-
showOverflowTooltip?: boolean;
|
|
491
|
-
className?: string;
|
|
492
|
-
labelClassName?: string;
|
|
493
|
-
hideable?: boolean;
|
|
494
|
-
visible?: boolean;
|
|
495
|
-
index?: number | ((index: number) => number);
|
|
496
|
-
cellSlot?: string;
|
|
497
|
-
headerSlot?: string;
|
|
498
|
-
/** Legacy alias for cellSlot. */
|
|
499
622
|
slot?: string;
|
|
500
|
-
/** Legacy alias for headerSlot. */
|
|
501
623
|
header?: string;
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
624
|
+
check?: boolean;
|
|
625
|
+
filter?: boolean;
|
|
626
|
+
bool?: boolean;
|
|
627
|
+
export?: boolean | ((row: Record<string, any>) => any);
|
|
505
628
|
}
|
|
506
629
|
|
|
507
|
-
export declare type CustomTableColumnAlign = 'left' | 'center' | 'right';
|
|
630
|
+
export declare type CustomTableColumnAlign = 'left' | 'center' | 'right' | string;
|
|
508
631
|
|
|
509
|
-
export declare type CustomTableColumnKey = string;
|
|
632
|
+
export declare type CustomTableColumnKey = string | number;
|
|
510
633
|
|
|
511
|
-
export declare type CustomTableColumnType = '
|
|
634
|
+
export declare type CustomTableColumnType = 'selection' | 'index' | 'expand' | string;
|
|
512
635
|
|
|
513
|
-
export declare interface CustomTableExportContext
|
|
514
|
-
|
|
515
|
-
columns:
|
|
516
|
-
filters: TFilters;
|
|
517
|
-
page: number;
|
|
518
|
-
pageSize: number;
|
|
519
|
-
total: number;
|
|
520
|
-
sort: CustomTableSort;
|
|
636
|
+
export declare interface CustomTableExportContext {
|
|
637
|
+
data: Record<string, any>[];
|
|
638
|
+
columns: CustomTableColumn[];
|
|
521
639
|
}
|
|
522
640
|
|
|
523
|
-
export declare type CustomTableExporter
|
|
641
|
+
export declare type CustomTableExporter = (context: CustomTableExportContext) => string | void;
|
|
524
642
|
|
|
525
|
-
export declare interface CustomTableExposed
|
|
526
|
-
|
|
643
|
+
export declare interface CustomTableExposed {
|
|
644
|
+
getList: () => void;
|
|
645
|
+
tableRef: any;
|
|
646
|
+
searchRef: any;
|
|
647
|
+
setSearchTop: () => void;
|
|
527
648
|
clearSelection: () => void;
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
getTableInstance: () => TableInstance | null;
|
|
649
|
+
currentChange: (current: number) => void;
|
|
650
|
+
reloadTableData: () => void;
|
|
531
651
|
}
|
|
532
652
|
|
|
533
|
-
export declare interface CustomTableHeaderContext
|
|
534
|
-
column
|
|
535
|
-
index: number;
|
|
653
|
+
export declare interface CustomTableHeaderContext {
|
|
654
|
+
column?: CustomTableColumn;
|
|
655
|
+
$index: number;
|
|
536
656
|
}
|
|
537
657
|
|
|
538
|
-
export declare interface CustomTableLoadContext
|
|
539
|
-
filters: TFilters;
|
|
658
|
+
export declare interface CustomTableLoadContext {
|
|
540
659
|
page: number;
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
660
|
+
limit: number;
|
|
661
|
+
search: Record<string, any>;
|
|
662
|
+
sort?: CustomTableSort;
|
|
544
663
|
}
|
|
545
664
|
|
|
546
|
-
export declare type CustomTableLoader
|
|
665
|
+
export declare type CustomTableLoader = (context: CustomTableLoadContext) => Promise<CustomTableLoadResult>;
|
|
547
666
|
|
|
548
|
-
export declare interface CustomTableLoadResult
|
|
549
|
-
|
|
550
|
-
|
|
667
|
+
export declare interface CustomTableLoadResult {
|
|
668
|
+
dataList?: Record<string, any>[];
|
|
669
|
+
dataCount?: number | string;
|
|
670
|
+
[key: string]: any;
|
|
551
671
|
}
|
|
552
672
|
|
|
553
|
-
export declare interface CustomTableProps
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
columnPersistenceKey?: string;
|
|
566
|
-
storageAdapter?: CustomTableStorageAdapter;
|
|
673
|
+
export declare interface CustomTableProps {
|
|
674
|
+
data: Record<string, any>;
|
|
675
|
+
localData?: Record<string, any>[];
|
|
676
|
+
column: CustomTableColumn[];
|
|
677
|
+
format?: {
|
|
678
|
+
list: string;
|
|
679
|
+
count: string;
|
|
680
|
+
};
|
|
681
|
+
filter?: boolean;
|
|
682
|
+
search?: Record<string, any>[];
|
|
683
|
+
export?: string | (() => string);
|
|
684
|
+
paging?: boolean;
|
|
567
685
|
autoLoad?: boolean;
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
686
|
+
showPage?: boolean;
|
|
687
|
+
exportSheetByField?: string;
|
|
688
|
+
exportFormatByField?: string[];
|
|
571
689
|
}
|
|
572
690
|
|
|
573
691
|
export declare interface CustomTableSort {
|
|
574
|
-
|
|
692
|
+
prop: string;
|
|
575
693
|
order: CustomTableSortOrder;
|
|
576
694
|
}
|
|
577
695
|
|
|
578
|
-
export declare type CustomTableSortOrder = 'ascending' | 'descending' |
|
|
696
|
+
export declare type CustomTableSortOrder = 'ascending' | 'descending' | 'asc' | 'desc' | string;
|
|
579
697
|
|
|
580
|
-
/**
|
|
581
|
-
* Persistence is opt-in. The component only serializes visible keys and never
|
|
582
|
-
* reads browser storage unless both this adapter and columnPersistenceKey exist.
|
|
583
|
-
*/
|
|
584
698
|
export declare interface CustomTableStorageAdapter {
|
|
585
|
-
getItem: (key: string) => string | null |
|
|
699
|
+
getItem: (key: string) => string | null | Promise<string | null>;
|
|
586
700
|
setItem: (key: string, value: string) => void | Promise<void>;
|
|
701
|
+
removeItem?: (key: string) => void | Promise<void>;
|
|
587
702
|
}
|
|
588
703
|
|
|
589
|
-
export declare interface CustomTableToolbarContext
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
pageSize: number;
|
|
593
|
-
visibleColumnKeys: readonly CustomTableColumnKey[];
|
|
594
|
-
loading: boolean;
|
|
595
|
-
exporting: boolean;
|
|
596
|
-
reload: () => Promise<void>;
|
|
597
|
-
setFilters: (filters: TFilters) => void;
|
|
598
|
-
setVisibleColumnKeys: (keys: readonly CustomTableColumnKey[]) => void;
|
|
599
|
-
exportRows: () => Promise<void>;
|
|
704
|
+
export declare interface CustomTableToolbarContext {
|
|
705
|
+
tableRef?: any;
|
|
706
|
+
reload?: () => void;
|
|
600
707
|
}
|
|
601
708
|
|
|
602
709
|
export declare const CustomTree: SFCWithInstall<DefineComponent<CustomTreeProps, {
|
|
@@ -612,12 +719,12 @@ onChange?: ((selection: TreeSelection) => any) | undefined;
|
|
|
612
719
|
data: readonly TreeNode[];
|
|
613
720
|
modelValue: readonly TreeKey[];
|
|
614
721
|
disabled: boolean;
|
|
615
|
-
emptyText: string;
|
|
616
722
|
fields: TreeFieldMap;
|
|
617
723
|
maxColumns: number;
|
|
618
724
|
selectionStrategy: TreeSelectionStrategy;
|
|
619
725
|
searchable: boolean;
|
|
620
726
|
showSelected: boolean;
|
|
727
|
+
emptyText: string;
|
|
621
728
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>>;
|
|
622
729
|
|
|
623
730
|
export declare interface CustomTreeExposed {
|
|
@@ -960,6 +1067,7 @@ modelValue: EditableBoxContentItem[];
|
|
|
960
1067
|
disabled: boolean;
|
|
961
1068
|
width: EditableBoxDimension;
|
|
962
1069
|
draggable: boolean;
|
|
1070
|
+
required: boolean;
|
|
963
1071
|
placeholder: string;
|
|
964
1072
|
fixedModules: EditableBoxModule[];
|
|
965
1073
|
moduleGroups: EditableBoxModuleGroup[];
|
|
@@ -968,7 +1076,6 @@ textLimit: number;
|
|
|
968
1076
|
moduleLimit: number;
|
|
969
1077
|
textType: EditableBoxValue;
|
|
970
1078
|
showCounter: boolean;
|
|
971
|
-
required: boolean;
|
|
972
1079
|
allowLineBreak: boolean;
|
|
973
1080
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
974
1081
|
editor: HTMLDivElement;
|
|
@@ -1265,12 +1372,12 @@ export declare const MemberSelector: SFCWithInstall< {
|
|
|
1265
1372
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<MemberSelectorProps> & Readonly<{
|
|
1266
1373
|
"onUpdate:modelValue"?: ((value: MemberValue | undefined) => any) | undefined;
|
|
1267
1374
|
onCancel?: (() => any) | undefined;
|
|
1268
|
-
onLoad?: ((nodes: object[]) => any) | undefined;
|
|
1269
|
-
"onSelection-change"?: ((selection: MemberSelection) => any) | undefined;
|
|
1270
|
-
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
1271
1375
|
onInvalid?: ((message: string) => any) | undefined;
|
|
1376
|
+
onLoad?: ((nodes: object[]) => any) | undefined;
|
|
1272
1377
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1378
|
+
"onSelection-change"?: ((selection: MemberSelection) => any) | undefined;
|
|
1273
1379
|
onConfirm?: ((selection: MemberSelection) => any) | undefined;
|
|
1380
|
+
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
1274
1381
|
}>, {
|
|
1275
1382
|
open: () => void;
|
|
1276
1383
|
close: () => void;
|
|
@@ -1280,25 +1387,25 @@ getSelection: () => MemberSelection;
|
|
|
1280
1387
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1281
1388
|
"update:modelValue": (value: MemberValue | undefined) => any;
|
|
1282
1389
|
cancel: () => any;
|
|
1283
|
-
load: (nodes: object[]) => any;
|
|
1284
|
-
"selection-change": (selection: MemberSelection) => any;
|
|
1285
|
-
"load-error": (error: unknown) => any;
|
|
1286
1390
|
invalid: (message: string) => any;
|
|
1391
|
+
load: (nodes: object[]) => any;
|
|
1287
1392
|
"update:visible": (value: boolean) => any;
|
|
1393
|
+
"selection-change": (selection: MemberSelection) => any;
|
|
1288
1394
|
confirm: (selection: MemberSelection) => any;
|
|
1395
|
+
"load-error": (error: unknown) => any;
|
|
1289
1396
|
}, PublicProps, {
|
|
1290
1397
|
disabled: boolean;
|
|
1291
1398
|
title: string;
|
|
1292
1399
|
visible: boolean;
|
|
1293
|
-
showSummary: boolean;
|
|
1294
|
-
emptyText: string;
|
|
1295
|
-
fields: TreeFieldMap;
|
|
1296
1400
|
required: boolean;
|
|
1297
|
-
selectedTitle: string;
|
|
1298
1401
|
multiple: boolean;
|
|
1402
|
+
fields: TreeFieldMap;
|
|
1403
|
+
emptyText: string;
|
|
1404
|
+
selectedTitle: string;
|
|
1299
1405
|
showUsers: boolean;
|
|
1300
1406
|
allowedTypes: readonly string[];
|
|
1301
1407
|
defaultExpandedKeys: readonly TreeKey[];
|
|
1408
|
+
showSummary: boolean;
|
|
1302
1409
|
summaryActionText: string;
|
|
1303
1410
|
requiredMessage: string;
|
|
1304
1411
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
@@ -1311,12 +1418,12 @@ Defaults: {};
|
|
|
1311
1418
|
}, Readonly<MemberSelectorProps> & Readonly<{
|
|
1312
1419
|
"onUpdate:modelValue"?: ((value: MemberValue | undefined) => any) | undefined;
|
|
1313
1420
|
onCancel?: (() => any) | undefined;
|
|
1314
|
-
onLoad?: ((nodes: object[]) => any) | undefined;
|
|
1315
|
-
"onSelection-change"?: ((selection: MemberSelection) => any) | undefined;
|
|
1316
|
-
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
1317
1421
|
onInvalid?: ((message: string) => any) | undefined;
|
|
1422
|
+
onLoad?: ((nodes: object[]) => any) | undefined;
|
|
1318
1423
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1424
|
+
"onSelection-change"?: ((selection: MemberSelection) => any) | undefined;
|
|
1319
1425
|
onConfirm?: ((selection: MemberSelection) => any) | undefined;
|
|
1426
|
+
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
1320
1427
|
}>, {
|
|
1321
1428
|
open: () => void;
|
|
1322
1429
|
close: () => void;
|
|
@@ -1327,15 +1434,15 @@ getSelection: () => MemberSelection;
|
|
|
1327
1434
|
disabled: boolean;
|
|
1328
1435
|
title: string;
|
|
1329
1436
|
visible: boolean;
|
|
1330
|
-
showSummary: boolean;
|
|
1331
|
-
emptyText: string;
|
|
1332
|
-
fields: TreeFieldMap;
|
|
1333
1437
|
required: boolean;
|
|
1334
|
-
selectedTitle: string;
|
|
1335
1438
|
multiple: boolean;
|
|
1439
|
+
fields: TreeFieldMap;
|
|
1440
|
+
emptyText: string;
|
|
1441
|
+
selectedTitle: string;
|
|
1336
1442
|
showUsers: boolean;
|
|
1337
1443
|
allowedTypes: readonly string[];
|
|
1338
1444
|
defaultExpandedKeys: readonly TreeKey[];
|
|
1445
|
+
showSummary: boolean;
|
|
1339
1446
|
summaryActionText: string;
|
|
1340
1447
|
requiredMessage: string;
|
|
1341
1448
|
}>;
|
|
@@ -1345,12 +1452,12 @@ __isSuspense?: never;
|
|
|
1345
1452
|
} & ComponentOptionsBase<Readonly<MemberSelectorProps> & Readonly<{
|
|
1346
1453
|
"onUpdate:modelValue"?: ((value: MemberValue | undefined) => any) | undefined;
|
|
1347
1454
|
onCancel?: (() => any) | undefined;
|
|
1348
|
-
onLoad?: ((nodes: object[]) => any) | undefined;
|
|
1349
|
-
"onSelection-change"?: ((selection: MemberSelection) => any) | undefined;
|
|
1350
|
-
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
1351
1455
|
onInvalid?: ((message: string) => any) | undefined;
|
|
1456
|
+
onLoad?: ((nodes: object[]) => any) | undefined;
|
|
1352
1457
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1458
|
+
"onSelection-change"?: ((selection: MemberSelection) => any) | undefined;
|
|
1353
1459
|
onConfirm?: ((selection: MemberSelection) => any) | undefined;
|
|
1460
|
+
"onLoad-error"?: ((error: unknown) => any) | undefined;
|
|
1354
1461
|
}>, {
|
|
1355
1462
|
open: () => void;
|
|
1356
1463
|
close: () => void;
|
|
@@ -1360,25 +1467,25 @@ getSelection: () => MemberSelection;
|
|
|
1360
1467
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1361
1468
|
"update:modelValue": (value: MemberValue | undefined) => any;
|
|
1362
1469
|
cancel: () => any;
|
|
1363
|
-
load: (nodes: object[]) => any;
|
|
1364
|
-
"selection-change": (selection: MemberSelection) => any;
|
|
1365
|
-
"load-error": (error: unknown) => any;
|
|
1366
1470
|
invalid: (message: string) => any;
|
|
1471
|
+
load: (nodes: object[]) => any;
|
|
1367
1472
|
"update:visible": (value: boolean) => any;
|
|
1473
|
+
"selection-change": (selection: MemberSelection) => any;
|
|
1368
1474
|
confirm: (selection: MemberSelection) => any;
|
|
1475
|
+
"load-error": (error: unknown) => any;
|
|
1369
1476
|
}, string, {
|
|
1370
1477
|
disabled: boolean;
|
|
1371
1478
|
title: string;
|
|
1372
1479
|
visible: boolean;
|
|
1373
|
-
showSummary: boolean;
|
|
1374
|
-
emptyText: string;
|
|
1375
|
-
fields: TreeFieldMap;
|
|
1376
1480
|
required: boolean;
|
|
1377
|
-
selectedTitle: string;
|
|
1378
1481
|
multiple: boolean;
|
|
1482
|
+
fields: TreeFieldMap;
|
|
1483
|
+
emptyText: string;
|
|
1484
|
+
selectedTitle: string;
|
|
1379
1485
|
showUsers: boolean;
|
|
1380
1486
|
allowedTypes: readonly string[];
|
|
1381
1487
|
defaultExpandedKeys: readonly TreeKey[];
|
|
1488
|
+
showSummary: boolean;
|
|
1382
1489
|
summaryActionText: string;
|
|
1383
1490
|
requiredMessage: string;
|
|
1384
1491
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -1571,8 +1678,8 @@ onCancel?: (() => any) | undefined;
|
|
|
1571
1678
|
onConfirm?: ((action: "reject", reason: string) => any) | undefined;
|
|
1572
1679
|
}>, {
|
|
1573
1680
|
title: string;
|
|
1574
|
-
content: string;
|
|
1575
1681
|
show: boolean;
|
|
1682
|
+
content: string;
|
|
1576
1683
|
reasonPlaceholder: string;
|
|
1577
1684
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>>;
|
|
1578
1685
|
|
|
@@ -1699,8 +1806,8 @@ onCancel?: (() => any) | undefined;
|
|
|
1699
1806
|
onConfirm?: ((value: string) => any) | undefined;
|
|
1700
1807
|
}>, {
|
|
1701
1808
|
title: string;
|
|
1702
|
-
content: string;
|
|
1703
1809
|
show: boolean;
|
|
1810
|
+
content: string;
|
|
1704
1811
|
inputPlaceholder: string;
|
|
1705
1812
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>>;
|
|
1706
1813
|
|
|
@@ -1760,8 +1867,8 @@ select: (file: File) => any;
|
|
|
1760
1867
|
change: (files: UploadFileItem[]) => any;
|
|
1761
1868
|
success: (file: UploadFileItem) => any;
|
|
1762
1869
|
error: (error: unknown, file: File) => any;
|
|
1763
|
-
preview: (file: UploadFileItem, index: number) => any;
|
|
1764
1870
|
remove: (file: UploadFileItem, index: number) => any;
|
|
1871
|
+
preview: (file: UploadFileItem, index: number) => any;
|
|
1765
1872
|
exceed: (files: UploadRawFile[], uploadFiles: UploadUserFile[]) => any;
|
|
1766
1873
|
}, string, PublicProps, Readonly<UploadProps> & Readonly<{
|
|
1767
1874
|
"onUpdate:modelValue"?: ((files: UploadFileItem[]) => any) | undefined;
|
|
@@ -1769,18 +1876,18 @@ onSelect?: ((file: File) => any) | undefined;
|
|
|
1769
1876
|
onChange?: ((files: UploadFileItem[]) => any) | undefined;
|
|
1770
1877
|
onSuccess?: ((file: UploadFileItem) => any) | undefined;
|
|
1771
1878
|
onError?: ((error: unknown, file: File) => any) | undefined;
|
|
1772
|
-
onPreview?: ((file: UploadFileItem, index: number) => any) | undefined;
|
|
1773
1879
|
onRemove?: ((file: UploadFileItem, index: number) => any) | undefined;
|
|
1880
|
+
onPreview?: ((file: UploadFileItem, index: number) => any) | undefined;
|
|
1774
1881
|
onExceed?: ((files: UploadRawFile[], uploadFiles: UploadUserFile[]) => any) | undefined;
|
|
1775
1882
|
}>, {
|
|
1776
1883
|
data: Record<string, unknown>;
|
|
1777
1884
|
disabled: boolean;
|
|
1778
1885
|
multiple: boolean;
|
|
1886
|
+
limit: number;
|
|
1779
1887
|
dragBox: boolean;
|
|
1780
1888
|
inputBox: boolean;
|
|
1781
1889
|
uploadUrl: string;
|
|
1782
1890
|
headers: Record<string, string>;
|
|
1783
|
-
limit: number;
|
|
1784
1891
|
accept: string;
|
|
1785
1892
|
tips: string;
|
|
1786
1893
|
fileName: string;
|
|
@@ -1813,8 +1920,8 @@ select: (file: File) => any;
|
|
|
1813
1920
|
change: (files: UploadFileItem[]) => any;
|
|
1814
1921
|
success: (file: UploadFileItem) => any;
|
|
1815
1922
|
error: (error: unknown, file: File) => any;
|
|
1816
|
-
preview: (file: UploadFileItem, index: number) => any;
|
|
1817
1923
|
remove: (file: UploadFileItem, index: number) => any;
|
|
1924
|
+
preview: (file: UploadFileItem, index: number) => any;
|
|
1818
1925
|
exceed: (files: UploadRawFile[], uploadFiles: UploadUserFile[]) => any;
|
|
1819
1926
|
}, string, PublicProps, Readonly<UploadListProps> & Readonly<{
|
|
1820
1927
|
"onUpdate:modelValue"?: ((files: UploadFileItem[]) => any) | undefined;
|
|
@@ -1822,17 +1929,17 @@ onSelect?: ((file: File) => any) | undefined;
|
|
|
1822
1929
|
onChange?: ((files: UploadFileItem[]) => any) | undefined;
|
|
1823
1930
|
onSuccess?: ((file: UploadFileItem) => any) | undefined;
|
|
1824
1931
|
onError?: ((error: unknown, file: File) => any) | undefined;
|
|
1825
|
-
onPreview?: ((file: UploadFileItem, index: number) => any) | undefined;
|
|
1826
1932
|
onRemove?: ((file: UploadFileItem, index: number) => any) | undefined;
|
|
1933
|
+
onPreview?: ((file: UploadFileItem, index: number) => any) | undefined;
|
|
1827
1934
|
onExceed?: ((files: UploadRawFile[], uploadFiles: UploadUserFile[]) => any) | undefined;
|
|
1828
1935
|
}>, {
|
|
1829
1936
|
data: Record<string, unknown>;
|
|
1830
1937
|
disabled: boolean;
|
|
1831
|
-
preview: boolean;
|
|
1832
1938
|
multiple: boolean;
|
|
1939
|
+
limit: number;
|
|
1940
|
+
preview: boolean;
|
|
1833
1941
|
uploadUrl: string;
|
|
1834
1942
|
headers: Record<string, string>;
|
|
1835
|
-
limit: number;
|
|
1836
1943
|
accept: string;
|
|
1837
1944
|
tips: string;
|
|
1838
1945
|
fileName: string;
|
|
@@ -1867,11 +1974,11 @@ export declare interface UploadRequestContext {
|
|
|
1867
1974
|
headers?: Record<string, string>;
|
|
1868
1975
|
}
|
|
1869
1976
|
|
|
1870
|
-
export declare const WEB_UI_BRAND_NAME = "
|
|
1977
|
+
export declare const WEB_UI_BRAND_NAME = "Weave UI";
|
|
1871
1978
|
|
|
1872
|
-
export declare const WEB_UI_PLUGIN_NAME = "
|
|
1979
|
+
export declare const WEB_UI_PLUGIN_NAME = "WeaveUI";
|
|
1873
1980
|
|
|
1874
|
-
export declare const WEB_UI_RUNTIME_ID = "
|
|
1981
|
+
export declare const WEB_UI_RUNTIME_ID = "weave-ui";
|
|
1875
1982
|
|
|
1876
1983
|
export declare const YyCheckbox: SFCWithInstall<DefineComponent< {
|
|
1877
1984
|
data?: CheckboxOption[];
|