auto-vue-manual 0.3.19 → 0.3.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.
- package/dist/auto-vue-manual.es.js +29371 -27847
- package/dist/auto-vue-manual.umd.js +86 -83
- package/dist/index.css +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/radio/RadioButton.vue.d.ts +2 -2
- package/dist/types/components/switch/IconSwitch.vue.d.ts +2 -2
- package/dist/types/components/table/ProTable.vue.d.ts +49 -65
- package/dist/types/components/table/ProTableSummary.vue.d.ts +49 -65
- package/dist/types/components/text/CopyText.vue.d.ts +2 -2
- package/dist/types/components/user-drawer/UserDrawer.vue.d.ts +39 -0
- package/dist/types/utils/object.d.ts +7 -0
- package/dist/version.js +1 -0
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ export { default as WaterMark } from './waterMark/index.vue';
|
|
|
22
22
|
export { default as Page404 } from './error/404.vue';
|
|
23
23
|
export * from './loading/loading.tsx';
|
|
24
24
|
export { default as BasicAvatar } from './avatar/BasicAvatar.vue';
|
|
25
|
+
export { default as UserDrawer } from './user-drawer/UserDrawer.vue';
|
|
25
26
|
export { default as InputNumber } from './form/InputNumber.vue';
|
|
26
27
|
export { default as CopyText } from './text/CopyText.vue';
|
|
27
28
|
export { default as BasicRadioButton } from './radio/RadioButton.vue';
|
|
@@ -43,7 +43,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
43
43
|
ariaLabel: StringConstructor;
|
|
44
44
|
id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
45
45
|
size: {
|
|
46
|
-
readonly type: PropType< EpPropMergeType<StringConstructor, "" | "default" | "
|
|
46
|
+
readonly type: PropType< EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
47
47
|
readonly required: false;
|
|
48
48
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
49
49
|
__epPropKey: true;
|
|
@@ -99,7 +99,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
99
99
|
ariaLabel: StringConstructor;
|
|
100
100
|
id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
101
101
|
size: {
|
|
102
|
-
readonly type: PropType< EpPropMergeType<StringConstructor, "" | "default" | "
|
|
102
|
+
readonly type: PropType< EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
103
103
|
readonly required: false;
|
|
104
104
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
105
105
|
__epPropKey: true;
|
|
@@ -13,7 +13,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
13
13
|
disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
14
14
|
loading: BooleanConstructor;
|
|
15
15
|
size: {
|
|
16
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "default" | "
|
|
16
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "default" | "large" | "small") | (() => "" | "default" | "large" | "small") | (((new (...args: any[]) => "" | "default" | "large" | "small") | (() => "" | "default" | "large" | "small")) | null)[], unknown, "" | "default" | "large" | "small">>;
|
|
17
17
|
readonly required: false;
|
|
18
18
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
19
|
__epPropKey: true;
|
|
@@ -78,7 +78,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
78
78
|
disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
79
79
|
loading: BooleanConstructor;
|
|
80
80
|
size: {
|
|
81
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "default" | "
|
|
81
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "default" | "large" | "small") | (() => "" | "default" | "large" | "small") | (((new (...args: any[]) => "" | "default" | "large" | "small") | (() => "" | "default" | "large" | "small")) | null)[], unknown, "" | "default" | "large" | "small">>;
|
|
82
82
|
readonly required: false;
|
|
83
83
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
84
|
__epPropKey: true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ColumnProps, BaseTableProps } from '../../types/index';
|
|
2
2
|
import { TableInstance, TableColumnCtx, Sort, Filter, Translator, Table, UseTooltipProps } from 'element-plus';
|
|
3
|
-
import {
|
|
3
|
+
import { ComputedRef, Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { default as __DTS_DEFAULT_0__ } from 'element-plus/es/components/table/src/table-layout';
|
|
5
5
|
import { TreeData } from 'element-plus/es/components/table/src/store/tree';
|
|
6
6
|
import { StoreFilter } from 'element-plus/es/components/table/src/store';
|
|
@@ -16,7 +16,7 @@ declare function __VLS_template(): {
|
|
|
16
16
|
};
|
|
17
17
|
refs: {
|
|
18
18
|
containerRef: HTMLDivElement;
|
|
19
|
-
tableRef:
|
|
19
|
+
tableRef: {
|
|
20
20
|
ns: {
|
|
21
21
|
namespace: ComputedRef<string>;
|
|
22
22
|
b: (blockSuffix?: string) => string;
|
|
@@ -583,37 +583,29 @@ declare function __VLS_template(): {
|
|
|
583
583
|
};
|
|
584
584
|
t: Translator;
|
|
585
585
|
};
|
|
586
|
-
columns:
|
|
586
|
+
columns: TableColumnCtx<any>[];
|
|
587
587
|
handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
|
|
588
588
|
handleMouseLeave: () => void;
|
|
589
589
|
tableId: string;
|
|
590
|
-
tableSize:
|
|
591
|
-
isHidden:
|
|
592
|
-
isEmpty:
|
|
593
|
-
renderExpanded:
|
|
594
|
-
resizeProxyVisible:
|
|
595
|
-
resizeState:
|
|
590
|
+
tableSize: "" | "default" | "large" | "small";
|
|
591
|
+
isHidden: boolean;
|
|
592
|
+
isEmpty: boolean;
|
|
593
|
+
renderExpanded: RenderExpanded<any> | null;
|
|
594
|
+
resizeProxyVisible: boolean;
|
|
595
|
+
resizeState: {
|
|
596
596
|
width: null | number;
|
|
597
597
|
height: null | number;
|
|
598
598
|
headerHeight: null | number;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
} | {
|
|
604
|
-
width: null | number;
|
|
605
|
-
height: null | number;
|
|
606
|
-
headerHeight: null | number;
|
|
607
|
-
}>;
|
|
608
|
-
isGroup: Ref<boolean, boolean>;
|
|
609
|
-
bodyWidth: ComputedRef<string>;
|
|
610
|
-
tableBodyStyles: ComputedRef<{
|
|
599
|
+
};
|
|
600
|
+
isGroup: boolean;
|
|
601
|
+
bodyWidth: string;
|
|
602
|
+
tableBodyStyles: {
|
|
611
603
|
width: string;
|
|
612
|
-
}
|
|
613
|
-
emptyBlockStyle:
|
|
604
|
+
};
|
|
605
|
+
emptyBlockStyle: {
|
|
614
606
|
width: string;
|
|
615
607
|
height: string;
|
|
616
|
-
} | undefined
|
|
608
|
+
} | undefined;
|
|
617
609
|
debouncedUpdateLayout: DebouncedFunc<() => void>;
|
|
618
610
|
setCurrentRow: (row?: any) => void;
|
|
619
611
|
getSelectionRows: () => any[];
|
|
@@ -630,16 +622,16 @@ declare function __VLS_template(): {
|
|
|
630
622
|
t: Translator;
|
|
631
623
|
setDragVisible: (visible: boolean) => void;
|
|
632
624
|
context: Table<any>;
|
|
633
|
-
computedSumText:
|
|
634
|
-
computedEmptyText:
|
|
635
|
-
computedTooltipEffect:
|
|
636
|
-
computedTooltipOptions:
|
|
637
|
-
tableLayout:
|
|
625
|
+
computedSumText: string;
|
|
626
|
+
computedEmptyText: string;
|
|
627
|
+
computedTooltipEffect: string | undefined;
|
|
628
|
+
computedTooltipOptions: Partial<Omit< UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
629
|
+
tableLayout: "fixed" | "auto";
|
|
638
630
|
scrollbarViewStyle: {
|
|
639
631
|
display: string;
|
|
640
632
|
verticalAlign: string;
|
|
641
633
|
};
|
|
642
|
-
scrollbarStyle:
|
|
634
|
+
scrollbarStyle: {
|
|
643
635
|
height: string;
|
|
644
636
|
maxHeight?: undefined;
|
|
645
637
|
} | {
|
|
@@ -648,13 +640,13 @@ declare function __VLS_template(): {
|
|
|
648
640
|
} | {
|
|
649
641
|
height?: undefined;
|
|
650
642
|
maxHeight?: undefined;
|
|
651
|
-
}
|
|
652
|
-
scrollBarRef:
|
|
643
|
+
};
|
|
644
|
+
scrollBarRef: any;
|
|
653
645
|
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
654
646
|
setScrollLeft: (left?: number) => void;
|
|
655
647
|
setScrollTop: (top?: number) => void;
|
|
656
648
|
allowDragLastColumn: boolean;
|
|
657
|
-
}
|
|
649
|
+
} | null;
|
|
658
650
|
};
|
|
659
651
|
rootEl: HTMLDivElement;
|
|
660
652
|
};
|
|
@@ -727,7 +719,7 @@ declare const __VLS_component: DefineComponent<BaseTableProps, {
|
|
|
727
719
|
loading: boolean | Ref<boolean>;
|
|
728
720
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
729
721
|
containerRef: HTMLDivElement;
|
|
730
|
-
tableRef:
|
|
722
|
+
tableRef: {
|
|
731
723
|
ns: {
|
|
732
724
|
namespace: ComputedRef<string>;
|
|
733
725
|
b: (blockSuffix?: string) => string;
|
|
@@ -1294,37 +1286,29 @@ declare const __VLS_component: DefineComponent<BaseTableProps, {
|
|
|
1294
1286
|
};
|
|
1295
1287
|
t: Translator;
|
|
1296
1288
|
};
|
|
1297
|
-
columns:
|
|
1289
|
+
columns: TableColumnCtx<any>[];
|
|
1298
1290
|
handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
|
|
1299
1291
|
handleMouseLeave: () => void;
|
|
1300
1292
|
tableId: string;
|
|
1301
|
-
tableSize:
|
|
1302
|
-
isHidden:
|
|
1303
|
-
isEmpty:
|
|
1304
|
-
renderExpanded:
|
|
1305
|
-
resizeProxyVisible:
|
|
1306
|
-
resizeState:
|
|
1293
|
+
tableSize: "" | "default" | "large" | "small";
|
|
1294
|
+
isHidden: boolean;
|
|
1295
|
+
isEmpty: boolean;
|
|
1296
|
+
renderExpanded: RenderExpanded<any> | null;
|
|
1297
|
+
resizeProxyVisible: boolean;
|
|
1298
|
+
resizeState: {
|
|
1307
1299
|
width: null | number;
|
|
1308
1300
|
height: null | number;
|
|
1309
1301
|
headerHeight: null | number;
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
} | {
|
|
1315
|
-
width: null | number;
|
|
1316
|
-
height: null | number;
|
|
1317
|
-
headerHeight: null | number;
|
|
1318
|
-
}>;
|
|
1319
|
-
isGroup: Ref<boolean, boolean>;
|
|
1320
|
-
bodyWidth: ComputedRef<string>;
|
|
1321
|
-
tableBodyStyles: ComputedRef<{
|
|
1302
|
+
};
|
|
1303
|
+
isGroup: boolean;
|
|
1304
|
+
bodyWidth: string;
|
|
1305
|
+
tableBodyStyles: {
|
|
1322
1306
|
width: string;
|
|
1323
|
-
}
|
|
1324
|
-
emptyBlockStyle:
|
|
1307
|
+
};
|
|
1308
|
+
emptyBlockStyle: {
|
|
1325
1309
|
width: string;
|
|
1326
1310
|
height: string;
|
|
1327
|
-
} | undefined
|
|
1311
|
+
} | undefined;
|
|
1328
1312
|
debouncedUpdateLayout: DebouncedFunc<() => void>;
|
|
1329
1313
|
setCurrentRow: (row?: any) => void;
|
|
1330
1314
|
getSelectionRows: () => any[];
|
|
@@ -1341,16 +1325,16 @@ declare const __VLS_component: DefineComponent<BaseTableProps, {
|
|
|
1341
1325
|
t: Translator;
|
|
1342
1326
|
setDragVisible: (visible: boolean) => void;
|
|
1343
1327
|
context: Table<any>;
|
|
1344
|
-
computedSumText:
|
|
1345
|
-
computedEmptyText:
|
|
1346
|
-
computedTooltipEffect:
|
|
1347
|
-
computedTooltipOptions:
|
|
1348
|
-
tableLayout:
|
|
1328
|
+
computedSumText: string;
|
|
1329
|
+
computedEmptyText: string;
|
|
1330
|
+
computedTooltipEffect: string | undefined;
|
|
1331
|
+
computedTooltipOptions: Partial<Omit< UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
1332
|
+
tableLayout: "fixed" | "auto";
|
|
1349
1333
|
scrollbarViewStyle: {
|
|
1350
1334
|
display: string;
|
|
1351
1335
|
verticalAlign: string;
|
|
1352
1336
|
};
|
|
1353
|
-
scrollbarStyle:
|
|
1337
|
+
scrollbarStyle: {
|
|
1354
1338
|
height: string;
|
|
1355
1339
|
maxHeight?: undefined;
|
|
1356
1340
|
} | {
|
|
@@ -1359,13 +1343,13 @@ declare const __VLS_component: DefineComponent<BaseTableProps, {
|
|
|
1359
1343
|
} | {
|
|
1360
1344
|
height?: undefined;
|
|
1361
1345
|
maxHeight?: undefined;
|
|
1362
|
-
}
|
|
1363
|
-
scrollBarRef:
|
|
1346
|
+
};
|
|
1347
|
+
scrollBarRef: any;
|
|
1364
1348
|
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
1365
1349
|
setScrollLeft: (left?: number) => void;
|
|
1366
1350
|
setScrollTop: (top?: number) => void;
|
|
1367
1351
|
allowDragLastColumn: boolean;
|
|
1368
|
-
}
|
|
1352
|
+
} | null;
|
|
1369
1353
|
}, HTMLDivElement>;
|
|
1370
1354
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1371
1355
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ColumnProps, ProTableSummaryProps, StateProps } from '../../types';
|
|
2
2
|
import { TableInstance, TableColumnCtx, Sort, Filter, Translator, Table, UseTooltipProps } from 'element-plus';
|
|
3
|
-
import {
|
|
3
|
+
import { ComputedRef, Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { default as __DTS_DEFAULT_0__ } from 'element-plus/es/components/table/src/table-layout';
|
|
5
5
|
import { TreeData } from 'element-plus/es/components/table/src/store/tree';
|
|
6
6
|
import { StoreFilter } from 'element-plus/es/components/table/src/store';
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
refs: {
|
|
17
17
|
containerRef: HTMLDivElement;
|
|
18
|
-
tableRef:
|
|
18
|
+
tableRef: {
|
|
19
19
|
ns: {
|
|
20
20
|
namespace: ComputedRef<string>;
|
|
21
21
|
b: (blockSuffix?: string) => string;
|
|
@@ -582,37 +582,29 @@ declare function __VLS_template(): {
|
|
|
582
582
|
};
|
|
583
583
|
t: Translator;
|
|
584
584
|
};
|
|
585
|
-
columns:
|
|
585
|
+
columns: TableColumnCtx<any>[];
|
|
586
586
|
handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
|
|
587
587
|
handleMouseLeave: () => void;
|
|
588
588
|
tableId: string;
|
|
589
|
-
tableSize:
|
|
590
|
-
isHidden:
|
|
591
|
-
isEmpty:
|
|
592
|
-
renderExpanded:
|
|
593
|
-
resizeProxyVisible:
|
|
594
|
-
resizeState:
|
|
589
|
+
tableSize: "" | "default" | "large" | "small";
|
|
590
|
+
isHidden: boolean;
|
|
591
|
+
isEmpty: boolean;
|
|
592
|
+
renderExpanded: RenderExpanded<any> | null;
|
|
593
|
+
resizeProxyVisible: boolean;
|
|
594
|
+
resizeState: {
|
|
595
595
|
width: null | number;
|
|
596
596
|
height: null | number;
|
|
597
597
|
headerHeight: null | number;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
} | {
|
|
603
|
-
width: null | number;
|
|
604
|
-
height: null | number;
|
|
605
|
-
headerHeight: null | number;
|
|
606
|
-
}>;
|
|
607
|
-
isGroup: Ref<boolean, boolean>;
|
|
608
|
-
bodyWidth: ComputedRef<string>;
|
|
609
|
-
tableBodyStyles: ComputedRef<{
|
|
598
|
+
};
|
|
599
|
+
isGroup: boolean;
|
|
600
|
+
bodyWidth: string;
|
|
601
|
+
tableBodyStyles: {
|
|
610
602
|
width: string;
|
|
611
|
-
}
|
|
612
|
-
emptyBlockStyle:
|
|
603
|
+
};
|
|
604
|
+
emptyBlockStyle: {
|
|
613
605
|
width: string;
|
|
614
606
|
height: string;
|
|
615
|
-
} | undefined
|
|
607
|
+
} | undefined;
|
|
616
608
|
debouncedUpdateLayout: DebouncedFunc<() => void>;
|
|
617
609
|
setCurrentRow: (row?: any) => void;
|
|
618
610
|
getSelectionRows: () => any[];
|
|
@@ -629,16 +621,16 @@ declare function __VLS_template(): {
|
|
|
629
621
|
t: Translator;
|
|
630
622
|
setDragVisible: (visible: boolean) => void;
|
|
631
623
|
context: Table<any>;
|
|
632
|
-
computedSumText:
|
|
633
|
-
computedEmptyText:
|
|
634
|
-
computedTooltipEffect:
|
|
635
|
-
computedTooltipOptions:
|
|
636
|
-
tableLayout:
|
|
624
|
+
computedSumText: string;
|
|
625
|
+
computedEmptyText: string;
|
|
626
|
+
computedTooltipEffect: string | undefined;
|
|
627
|
+
computedTooltipOptions: Partial<Omit< UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
628
|
+
tableLayout: "fixed" | "auto";
|
|
637
629
|
scrollbarViewStyle: {
|
|
638
630
|
display: string;
|
|
639
631
|
verticalAlign: string;
|
|
640
632
|
};
|
|
641
|
-
scrollbarStyle:
|
|
633
|
+
scrollbarStyle: {
|
|
642
634
|
height: string;
|
|
643
635
|
maxHeight?: undefined;
|
|
644
636
|
} | {
|
|
@@ -647,13 +639,13 @@ declare function __VLS_template(): {
|
|
|
647
639
|
} | {
|
|
648
640
|
height?: undefined;
|
|
649
641
|
maxHeight?: undefined;
|
|
650
|
-
}
|
|
651
|
-
scrollBarRef:
|
|
642
|
+
};
|
|
643
|
+
scrollBarRef: any;
|
|
652
644
|
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
653
645
|
setScrollLeft: (left?: number) => void;
|
|
654
646
|
setScrollTop: (top?: number) => void;
|
|
655
647
|
allowDragLastColumn: boolean;
|
|
656
|
-
}
|
|
648
|
+
} | null;
|
|
657
649
|
};
|
|
658
650
|
rootEl: HTMLDivElement;
|
|
659
651
|
};
|
|
@@ -727,7 +719,7 @@ declare const __VLS_component: DefineComponent<ProTableSummaryProps, {
|
|
|
727
719
|
loading: boolean | Ref<boolean>;
|
|
728
720
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
729
721
|
containerRef: HTMLDivElement;
|
|
730
|
-
tableRef:
|
|
722
|
+
tableRef: {
|
|
731
723
|
ns: {
|
|
732
724
|
namespace: ComputedRef<string>;
|
|
733
725
|
b: (blockSuffix?: string) => string;
|
|
@@ -1294,37 +1286,29 @@ declare const __VLS_component: DefineComponent<ProTableSummaryProps, {
|
|
|
1294
1286
|
};
|
|
1295
1287
|
t: Translator;
|
|
1296
1288
|
};
|
|
1297
|
-
columns:
|
|
1289
|
+
columns: TableColumnCtx<any>[];
|
|
1298
1290
|
handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
|
|
1299
1291
|
handleMouseLeave: () => void;
|
|
1300
1292
|
tableId: string;
|
|
1301
|
-
tableSize:
|
|
1302
|
-
isHidden:
|
|
1303
|
-
isEmpty:
|
|
1304
|
-
renderExpanded:
|
|
1305
|
-
resizeProxyVisible:
|
|
1306
|
-
resizeState:
|
|
1293
|
+
tableSize: "" | "default" | "large" | "small";
|
|
1294
|
+
isHidden: boolean;
|
|
1295
|
+
isEmpty: boolean;
|
|
1296
|
+
renderExpanded: RenderExpanded<any> | null;
|
|
1297
|
+
resizeProxyVisible: boolean;
|
|
1298
|
+
resizeState: {
|
|
1307
1299
|
width: null | number;
|
|
1308
1300
|
height: null | number;
|
|
1309
1301
|
headerHeight: null | number;
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
} | {
|
|
1315
|
-
width: null | number;
|
|
1316
|
-
height: null | number;
|
|
1317
|
-
headerHeight: null | number;
|
|
1318
|
-
}>;
|
|
1319
|
-
isGroup: Ref<boolean, boolean>;
|
|
1320
|
-
bodyWidth: ComputedRef<string>;
|
|
1321
|
-
tableBodyStyles: ComputedRef<{
|
|
1302
|
+
};
|
|
1303
|
+
isGroup: boolean;
|
|
1304
|
+
bodyWidth: string;
|
|
1305
|
+
tableBodyStyles: {
|
|
1322
1306
|
width: string;
|
|
1323
|
-
}
|
|
1324
|
-
emptyBlockStyle:
|
|
1307
|
+
};
|
|
1308
|
+
emptyBlockStyle: {
|
|
1325
1309
|
width: string;
|
|
1326
1310
|
height: string;
|
|
1327
|
-
} | undefined
|
|
1311
|
+
} | undefined;
|
|
1328
1312
|
debouncedUpdateLayout: DebouncedFunc<() => void>;
|
|
1329
1313
|
setCurrentRow: (row?: any) => void;
|
|
1330
1314
|
getSelectionRows: () => any[];
|
|
@@ -1341,16 +1325,16 @@ declare const __VLS_component: DefineComponent<ProTableSummaryProps, {
|
|
|
1341
1325
|
t: Translator;
|
|
1342
1326
|
setDragVisible: (visible: boolean) => void;
|
|
1343
1327
|
context: Table<any>;
|
|
1344
|
-
computedSumText:
|
|
1345
|
-
computedEmptyText:
|
|
1346
|
-
computedTooltipEffect:
|
|
1347
|
-
computedTooltipOptions:
|
|
1348
|
-
tableLayout:
|
|
1328
|
+
computedSumText: string;
|
|
1329
|
+
computedEmptyText: string;
|
|
1330
|
+
computedTooltipEffect: string | undefined;
|
|
1331
|
+
computedTooltipOptions: Partial<Omit< UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
1332
|
+
tableLayout: "fixed" | "auto";
|
|
1349
1333
|
scrollbarViewStyle: {
|
|
1350
1334
|
display: string;
|
|
1351
1335
|
verticalAlign: string;
|
|
1352
1336
|
};
|
|
1353
|
-
scrollbarStyle:
|
|
1337
|
+
scrollbarStyle: {
|
|
1354
1338
|
height: string;
|
|
1355
1339
|
maxHeight?: undefined;
|
|
1356
1340
|
} | {
|
|
@@ -1359,13 +1343,13 @@ declare const __VLS_component: DefineComponent<ProTableSummaryProps, {
|
|
|
1359
1343
|
} | {
|
|
1360
1344
|
height?: undefined;
|
|
1361
1345
|
maxHeight?: undefined;
|
|
1362
|
-
}
|
|
1363
|
-
scrollBarRef:
|
|
1346
|
+
};
|
|
1347
|
+
scrollBarRef: any;
|
|
1364
1348
|
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
1365
1349
|
setScrollLeft: (left?: number) => void;
|
|
1366
1350
|
setScrollTop: (top?: number) => void;
|
|
1367
1351
|
allowDragLastColumn: boolean;
|
|
1368
|
-
}
|
|
1352
|
+
} | null;
|
|
1369
1353
|
}, HTMLDivElement>;
|
|
1370
1354
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1371
1355
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
type: EpPropFinalized<StringConstructor, "" | "info" | "primary" | "success" | "warning" | "danger", unknown, "", boolean>;
|
|
9
|
-
size: EpPropFinalized<StringConstructor, "" | "default" | "
|
|
9
|
+
size: EpPropFinalized<StringConstructor, "" | "default" | "large" | "small", unknown, "", boolean>;
|
|
10
10
|
truncated: BooleanConstructor;
|
|
11
11
|
lineClamp: {
|
|
12
12
|
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -21,7 +21,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
23
|
type: EpPropFinalized<StringConstructor, "" | "info" | "primary" | "success" | "warning" | "danger", unknown, "", boolean>;
|
|
24
|
-
size: EpPropFinalized<StringConstructor, "" | "default" | "
|
|
24
|
+
size: EpPropFinalized<StringConstructor, "" | "default" | "large" | "small", unknown, "", boolean>;
|
|
25
25
|
truncated: BooleanConstructor;
|
|
26
26
|
lineClamp: {
|
|
27
27
|
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface UserDrawerLogs {
|
|
3
|
+
request?: string;
|
|
4
|
+
error?: string;
|
|
5
|
+
sql?: string;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
modelValue?: boolean;
|
|
9
|
+
logs?: UserDrawerLogs | null;
|
|
10
|
+
onLogout?: () => void | Promise<void>;
|
|
11
|
+
onRefresh?: () => void | Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
actions?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (...args: any[]) => void;
|
|
25
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
modelValue: boolean;
|
|
29
|
+
onRefresh: () => void | Promise<void>;
|
|
30
|
+
logs: UserDrawerLogs | null;
|
|
31
|
+
onLogout: () => void | Promise<void>;
|
|
32
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -11,7 +11,14 @@ export declare const deepClone: <T>(target: T, map?: WeakMap<object, T>) => T;
|
|
|
11
11
|
* @returns {} 合并后的新对象
|
|
12
12
|
*/
|
|
13
13
|
export declare function extend(...args: Record<string, any>[]): Record<string, any>;
|
|
14
|
+
/**
|
|
15
|
+
* @description 深合并多个对象:普通对象逐层递归合并,数组 / 标量 / 函数整体覆盖(后者优先)
|
|
16
|
+
* @param args 需要合并的对象列表(第一个为目标对象,会被就地修改)
|
|
17
|
+
* @returns {} 合并后的目标对象
|
|
18
|
+
*/
|
|
19
|
+
export declare function deepMerge(...args: Record<string, any>[]): Record<string, any>;
|
|
14
20
|
export declare const ObjectUtils: {
|
|
15
21
|
deepClone: <T>(target: T, map?: WeakMap<object, T>) => T;
|
|
16
22
|
extend: typeof extend;
|
|
23
|
+
deepMerge: typeof deepMerge;
|
|
17
24
|
};
|
package/dist/version.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const __VERSION__ = "0.3.21'
|