@dt-frames/ui 2.0.4 → 2.0.5
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/es/components/curd/index.js +80 -75
- package/es/components/curd/src/components/Curd.d.ts +0 -8
- package/es/components/curd/src/props.d.ts +0 -4
- package/es/components/form/index.d.ts +20 -53
- package/es/components/form/index.js +17 -27
- package/es/components/form/index.less +8 -3
- package/es/components/form/src/index.d.ts +16 -41
- package/es/components/source/index.js +8 -5
- package/es/components/source/types/source.type.d.ts +1 -0
- package/es/components/table/index.js +145 -95
- package/es/components/table/index.less +26 -5
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/index.d.ts +10 -0
- package/es/components/table/src/props.d.ts +4 -0
- package/es/components/tree/index.d.ts +2 -0
- package/es/components/tree/index.js +1087 -0
- package/es/components/tree/index.less +119 -0
- package/es/components/tree/src/basicProps.d.ts +146 -0
- package/es/components/tree/src/components/ContextMenu.d.ts +64 -0
- package/es/components/tree/src/components/TreeHeader.d.ts +98 -0
- package/es/components/tree/src/enums/index.d.ts +6 -0
- package/es/components/tree/src/hooks/useContextMenu.d.ts +2 -0
- package/es/components/tree/src/hooks/useTree.d.ts +14 -0
- package/es/components/tree/src/index.d.ts +6526 -0
- package/es/components/tree/src/type/menu.d.ts +33 -0
- package/es/components/tree/src/type/tree.d.ts +55 -0
- package/es/components/tree/src/utils/tree.d.ts +5 -0
- package/es/packages/ui/src/assets/locales/en.d.ts +101 -0
- package/es/packages/ui/src/assets/locales/index.d.ts +2 -0
- package/es/packages/ui/src/assets/locales/zh.d.ts +103 -0
- package/es/packages/ui/src/components/container/index.d.ts +94 -0
- package/es/packages/ui/src/components/container/src/components/bar.d.ts +14 -0
- package/es/packages/ui/src/components/container/src/components/scroll-bar.d.ts +70 -0
- package/es/packages/ui/src/components/container/src/hooks/scroll.d.ts +10 -0
- package/es/packages/ui/src/components/container/src/scroll-container.d.ts +76 -0
- package/es/packages/ui/src/components/container/src/slot-container.d.ts +20 -0
- package/es/packages/ui/src/components/container/src/types/scroll.type.d.ts +22 -0
- package/es/packages/ui/src/components/container/src/utils/scroll.d.ts +5 -0
- package/es/packages/ui/src/global.d.ts +7 -0
- package/es/packages/ui/src/theme/index.d.ts +10 -0
- package/es/packages/ui/src/theme/src/components/content/index.d.ts +27 -0
- package/es/packages/ui/src/theme/src/components/feature/back-top.d.ts +5 -0
- package/es/packages/ui/src/theme/src/components/feature/index.d.ts +7 -0
- package/es/packages/ui/src/theme/src/components/footer/index.d.ts +31 -0
- package/es/packages/ui/src/theme/src/components/header/components/bread-crumb.d.ts +6 -0
- package/es/packages/ui/src/theme/src/components/header/components/fullscreen.d.ts +5 -0
- package/es/packages/ui/src/theme/src/components/header/components/index.d.ts +11 -0
- package/es/packages/ui/src/theme/src/components/header/components/lang-picker.d.ts +23 -0
- package/es/packages/ui/src/theme/src/components/header/components/logo.d.ts +56 -0
- package/es/packages/ui/src/theme/src/components/header/components/menu-filter.d.ts +22 -0
- package/es/packages/ui/src/theme/src/components/header/components/notify.d.ts +24 -0
- package/es/packages/ui/src/theme/src/components/header/components/setting-theme.d.ts +223 -0
- package/es/packages/ui/src/theme/src/components/header/components/size.d.ts +282 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/feature.d.ts +138 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/menu-type.d.ts +16 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/select.d.ts +58 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/switch.d.ts +49 -0
- package/es/packages/ui/src/theme/src/components/header/components/trigger.d.ts +10 -0
- package/es/packages/ui/src/theme/src/components/header/components/user-info.d.ts +37 -0
- package/es/packages/ui/src/theme/src/components/header/helper/change-theme.d.ts +13 -0
- package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +4 -0
- package/es/packages/ui/src/theme/src/components/header/index.d.ts +720 -0
- package/es/packages/ui/src/theme/src/components/header/multiple-header.d.ts +806 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu-item.d.ts +62 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu.d.ts +207 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.d.ts +127 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/menu-item-content.d.ts +26 -0
- package/es/packages/ui/src/theme/src/components/sider/components/drag-bar.d.ts +14 -0
- package/es/packages/ui/src/theme/src/components/sider/components/layout-menu.d.ts +22 -0
- package/es/packages/ui/src/theme/src/components/sider/components/props.d.ts +69 -0
- package/es/packages/ui/src/theme/src/components/sider/components/sider-trigger.d.ts +17 -0
- package/es/packages/ui/src/theme/src/components/sider/helper/sider.d.ts +12 -0
- package/es/packages/ui/src/theme/src/components/sider/helper/split-menu.d.ts +10 -0
- package/es/packages/ui/src/theme/src/components/sider/index.d.ts +235 -0
- package/es/packages/ui/src/theme/src/components/sider/mix-sider.d.ts +167 -0
- package/es/packages/ui/src/theme/src/components/tabs/components/TabContent.d.ts +6 -0
- package/es/packages/ui/src/theme/src/components/tabs/components/TabRedo.d.ts +21 -0
- package/es/packages/ui/src/theme/src/components/tabs/components/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useMultifyTabs.d.ts +7 -0
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useTabDropdown.d.ts +6 -0
- package/es/packages/ui/src/theme/src/components/tabs/index.d.ts +63 -0
- package/es/packages/ui/src/theme/src/components/tabs/types/tabs.type.d.ts +7 -0
- package/es/packages/ui/src/theme/src/enums/index.d.ts +1 -0
- package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +34 -0
- package/es/packages/ui/src/theme/src/hooks/index.d.ts +6 -0
- package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +2 -0
- package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +25 -0
- package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +29 -0
- package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +8 -0
- package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +7 -0
- package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +9 -0
- package/es/packages/ui/src/theme/src/index.d.ts +1851 -0
- package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +2 -0
- package/es/packages/ui/src/theme/src/stores/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +23 -0
- package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +18 -0
- package/es/packages/ui/src/theme/src/types/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/types/menu.type.d.ts +15 -0
- package/es/packages/ui/src/theme/src/types/theme.type.d.ts +62 -0
- package/es/packages/ui/src/utils/withInstall.d.ts +4 -0
- package/es/theme/index.d.ts +2 -1
- package/es/theme/index.js +658 -665
- package/es/theme/index.less +55 -0
- package/es/theme/src/components/header/components/logo.d.ts +22 -0
- package/es/theme/src/components/header/index.d.ts +87 -0
- package/es/theme/src/components/header/multiple-header.d.ts +88 -0
- package/es/theme/src/components/sider/index.d.ts +22 -0
- package/es/theme/src/components/sider/mix-sider.d.ts +22 -0
- package/es/theme/src/hooks/useMultifyTab.d.ts +1 -0
- package/es/theme/src/index.d.ts +197 -0
- package/es/theme/src/types/theme.type.d.ts +1 -0
- package/index.d.ts +2 -1
- package/index.js +6 -2
- package/package.json +4 -2
- package/tsconfig.json +1 -0
- package/vite.config.ts +1 -0
package/es/theme/index.less
CHANGED
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
// 滚动条边框
|
|
33
33
|
@border-color-dark: #b6b7b9;
|
|
34
34
|
|
|
35
|
+
// table相关
|
|
36
|
+
@table-action-icon-color: #999;
|
|
37
|
+
|
|
35
38
|
/* 滚动条美化 */
|
|
36
39
|
::-webkit-scrollbar {
|
|
37
40
|
width: 7px;
|
|
@@ -72,9 +75,19 @@
|
|
|
72
75
|
background-color: @content-bg;
|
|
73
76
|
.ant-layout-content{
|
|
74
77
|
width: 100%;
|
|
78
|
+
&.fixed{
|
|
79
|
+
width: 1300px;
|
|
80
|
+
}
|
|
75
81
|
}
|
|
76
82
|
}
|
|
77
83
|
|
|
84
|
+
.ant-btn-lg{
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
height: 34px;
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
}
|
|
90
|
+
|
|
78
91
|
.dt-page{
|
|
79
92
|
background: @page-bg-color;
|
|
80
93
|
}
|
|
@@ -675,6 +688,15 @@
|
|
|
675
688
|
}
|
|
676
689
|
}
|
|
677
690
|
|
|
691
|
+
.ant-tabs-nav {
|
|
692
|
+
&::before {
|
|
693
|
+
border-bottom: none !important;
|
|
694
|
+
}
|
|
695
|
+
&-more{
|
|
696
|
+
display: flex;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
|
|
678
700
|
.ant-tabs-tab:not(.ant-tabs-tab-active) {
|
|
679
701
|
border: 1px solid #d9d9d9 !important;
|
|
680
702
|
.anticon-close {
|
|
@@ -686,6 +708,34 @@
|
|
|
686
708
|
}
|
|
687
709
|
}
|
|
688
710
|
|
|
711
|
+
&__top{
|
|
712
|
+
.dt-reuse-tabs{
|
|
713
|
+
border-bottom: none;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.ant-tabs-extra-content{
|
|
717
|
+
display: flex;
|
|
718
|
+
span{
|
|
719
|
+
height: 28px;
|
|
720
|
+
line-height: 28px;
|
|
721
|
+
border: 1px solid #d9d9d9;
|
|
722
|
+
border-left: none;
|
|
723
|
+
&:hover{
|
|
724
|
+
background: rgba(0,0,0,0.03);
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.ant-tabs-nav-more{
|
|
730
|
+
height: 28px;
|
|
731
|
+
border: 1px solid #d9d9d9 !important;
|
|
732
|
+
&:hover{
|
|
733
|
+
background: rgba(0,0,0,0.03);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
}
|
|
738
|
+
|
|
689
739
|
&--hide-close {
|
|
690
740
|
.ant-tabs-tab-remove {
|
|
691
741
|
opacity: 0 !important;
|
|
@@ -742,6 +792,11 @@
|
|
|
742
792
|
color: #909399;
|
|
743
793
|
}
|
|
744
794
|
|
|
795
|
+
.ant-tabs-dropdown-menu-title-content{
|
|
796
|
+
display: flex;
|
|
797
|
+
justify-content: space-between;
|
|
798
|
+
font-size: 13px;
|
|
799
|
+
}
|
|
745
800
|
|
|
746
801
|
@keyframes slideLeft {
|
|
747
802
|
from {
|
|
@@ -16,10 +16,32 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
16
16
|
(key: string, list: unknown[]): string;
|
|
17
17
|
(key: string, named: Record<string, unknown>): string;
|
|
18
18
|
};
|
|
19
|
+
slots: {
|
|
20
|
+
[name: string]: import("vue").Slot;
|
|
21
|
+
};
|
|
19
22
|
title: string;
|
|
20
23
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
21
24
|
props: any;
|
|
22
25
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
26
|
+
readonly DtSlotContainer: import("../../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
27
|
+
template: {
|
|
28
|
+
type: FunctionConstructor;
|
|
29
|
+
};
|
|
30
|
+
data: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
props: any;
|
|
35
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
template: {
|
|
38
|
+
type: FunctionConstructor;
|
|
39
|
+
};
|
|
40
|
+
data: {
|
|
41
|
+
type: ObjectConstructor;
|
|
42
|
+
};
|
|
43
|
+
}>>, {}>>;
|
|
44
|
+
readonly logoUrl: string;
|
|
23
45
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
46
|
theme: {
|
|
25
47
|
type: StringConstructor;
|
|
@@ -15,10 +15,75 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
15
15
|
getShowTopMenu: import("vue").ComputedRef<boolean>;
|
|
16
16
|
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
17
17
|
getShowUiSize: import("vue").ComputedRef<boolean>;
|
|
18
|
+
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
19
|
+
getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
|
|
18
20
|
getSplitType: import("vue").ComputedRef<MenuSplitTye.NONE | MenuSplitTye.TOP>;
|
|
19
21
|
getMenuMode: import("vue").ComputedRef<MenuMode>;
|
|
22
|
+
getShowTab: import("vue").ComputedRef<boolean>;
|
|
20
23
|
props: any;
|
|
21
24
|
getHeaderCls: import("vue").ComputedRef<string>;
|
|
25
|
+
MultipleTabs: import("vue").DefineComponent<{}, {
|
|
26
|
+
t: {
|
|
27
|
+
(key: string): string;
|
|
28
|
+
(key: string, locale: string): string;
|
|
29
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
30
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
31
|
+
(key: string, list: unknown[]): string;
|
|
32
|
+
(key: string, named: Record<string, unknown>): string;
|
|
33
|
+
};
|
|
34
|
+
router: import("vue-router").Router;
|
|
35
|
+
go: (path: string, isReplace?: boolean) => void;
|
|
36
|
+
tabStore: import("pinia").Store<"route-reuse", import("../../stores/routeReuse.store").RouteReuseState, {
|
|
37
|
+
getTabList(): import("vue-router").RouteLocationNormalized[];
|
|
38
|
+
getCachedTabList(): string[];
|
|
39
|
+
getLastDragEndIndex(): number;
|
|
40
|
+
}, {
|
|
41
|
+
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
42
|
+
closeTab(path: string, router: import("vue-router").Router): void;
|
|
43
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
44
|
+
closeLeftTabs(path: string): void;
|
|
45
|
+
closeRightTabs(path: string): void;
|
|
46
|
+
closeOtherTabs(path: string): void;
|
|
47
|
+
bulkCloseTabs(pathList: string[]): void;
|
|
48
|
+
updateCacheTab(): void;
|
|
49
|
+
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
50
|
+
sortTabs(oldIndex: number, newIndex: number): void;
|
|
51
|
+
}>;
|
|
52
|
+
getShowQuick: import("vue").ComputedRef<boolean>;
|
|
53
|
+
getShowRedo: import("vue").ComputedRef<boolean>;
|
|
54
|
+
menuLabelMap: Map<any, any>;
|
|
55
|
+
activeKeyRef: any;
|
|
56
|
+
getTabsState: import("vue").ComputedRef<import("vue-router").RouteLocationNormalized[]>;
|
|
57
|
+
unClose: import("vue").ComputedRef<boolean>;
|
|
58
|
+
handleChange: (activeKey: string) => void;
|
|
59
|
+
handleEdit: (targetKey: string) => void;
|
|
60
|
+
affixTextList: string[];
|
|
61
|
+
readonly DtTabRedo: import("vue").DefineComponent<{}, {
|
|
62
|
+
tabStore: import("pinia").Store<"route-reuse", import("../../stores/routeReuse.store").RouteReuseState, {
|
|
63
|
+
getTabList(): import("vue-router").RouteLocationNormalized[];
|
|
64
|
+
getCachedTabList(): string[];
|
|
65
|
+
getLastDragEndIndex(): number;
|
|
66
|
+
}, {
|
|
67
|
+
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
68
|
+
closeTab(path: string, router: import("vue-router").Router): void;
|
|
69
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
70
|
+
closeLeftTabs(path: string): void;
|
|
71
|
+
closeRightTabs(path: string): void;
|
|
72
|
+
closeOtherTabs(path: string): void;
|
|
73
|
+
bulkCloseTabs(pathList: string[]): void;
|
|
74
|
+
updateCacheTab(): void;
|
|
75
|
+
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
76
|
+
sortTabs(oldIndex: number, newIndex: number): void;
|
|
77
|
+
}>;
|
|
78
|
+
router: import("vue-router").Router;
|
|
79
|
+
handleRedo: () => void;
|
|
80
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
81
|
+
readonly DtTabContent: import("vue").DefineComponent<{}, {
|
|
82
|
+
getDropMenuList: import("vue").ComputedRef<import("../tabs/types/tabs.type").DropMenu[]>;
|
|
83
|
+
handleContext: (e: any) => void;
|
|
84
|
+
handleMenuEvent: (item: import("../tabs/types/tabs.type").DropMenu) => void;
|
|
85
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
86
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
22
87
|
readonly DtFullScreen: import("vue").DefineComponent<{}, {
|
|
23
88
|
toggle: () => Promise<void>;
|
|
24
89
|
isFullscreen: import("vue").Ref<boolean>;
|
|
@@ -41,10 +106,32 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
41
106
|
(key: string, list: unknown[]): string;
|
|
42
107
|
(key: string, named: Record<string, unknown>): string;
|
|
43
108
|
};
|
|
109
|
+
slots: {
|
|
110
|
+
[name: string]: import("vue").Slot;
|
|
111
|
+
};
|
|
44
112
|
title: string;
|
|
45
113
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
46
114
|
props: any;
|
|
47
115
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
116
|
+
readonly DtSlotContainer: import("../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
117
|
+
template: {
|
|
118
|
+
type: FunctionConstructor;
|
|
119
|
+
};
|
|
120
|
+
data: {
|
|
121
|
+
type: ObjectConstructor;
|
|
122
|
+
};
|
|
123
|
+
}, {
|
|
124
|
+
props: any;
|
|
125
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
126
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
|
+
template: {
|
|
128
|
+
type: FunctionConstructor;
|
|
129
|
+
};
|
|
130
|
+
data: {
|
|
131
|
+
type: ObjectConstructor;
|
|
132
|
+
};
|
|
133
|
+
}>>, {}>>;
|
|
134
|
+
readonly logoUrl: string;
|
|
48
135
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
136
|
theme: {
|
|
50
137
|
type: StringConstructor;
|
|
@@ -11,6 +11,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
11
11
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
12
12
|
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
13
13
|
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
14
|
+
getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
|
|
14
15
|
getPlaceholderDomStyle: import("vue").ComputedRef<{
|
|
15
16
|
height: string;
|
|
16
17
|
}>;
|
|
@@ -37,10 +38,75 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
37
38
|
getShowTopMenu: import("vue").ComputedRef<boolean>;
|
|
38
39
|
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
39
40
|
getShowUiSize: import("vue").ComputedRef<boolean>;
|
|
41
|
+
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
42
|
+
getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
|
|
40
43
|
getSplitType: import("vue").ComputedRef<MenuSplitTye.NONE | MenuSplitTye.TOP>;
|
|
41
44
|
getMenuMode: import("vue").ComputedRef<import('../../../src/enums').MenuMode>;
|
|
45
|
+
getShowTab: import("vue").ComputedRef<boolean>;
|
|
42
46
|
props: any;
|
|
43
47
|
getHeaderCls: import("vue").ComputedRef<string>;
|
|
48
|
+
MultipleTabs: import("vue").DefineComponent<{}, {
|
|
49
|
+
t: {
|
|
50
|
+
(key: string): string;
|
|
51
|
+
(key: string, locale: string): string;
|
|
52
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
53
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
54
|
+
(key: string, list: unknown[]): string;
|
|
55
|
+
(key: string, named: Record<string, unknown>): string;
|
|
56
|
+
};
|
|
57
|
+
router: import("vue-router").Router;
|
|
58
|
+
go: (path: string, isReplace?: boolean) => void;
|
|
59
|
+
tabStore: import("pinia").Store<"route-reuse", import("../../stores/routeReuse.store").RouteReuseState, {
|
|
60
|
+
getTabList(): import("vue-router").RouteLocationNormalized[];
|
|
61
|
+
getCachedTabList(): string[];
|
|
62
|
+
getLastDragEndIndex(): number;
|
|
63
|
+
}, {
|
|
64
|
+
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
65
|
+
closeTab(path: string, router: import("vue-router").Router): void;
|
|
66
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
67
|
+
closeLeftTabs(path: string): void;
|
|
68
|
+
closeRightTabs(path: string): void;
|
|
69
|
+
closeOtherTabs(path: string): void;
|
|
70
|
+
bulkCloseTabs(pathList: string[]): void;
|
|
71
|
+
updateCacheTab(): void;
|
|
72
|
+
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
73
|
+
sortTabs(oldIndex: number, newIndex: number): void;
|
|
74
|
+
}>;
|
|
75
|
+
getShowQuick: import("vue").ComputedRef<boolean>;
|
|
76
|
+
getShowRedo: import("vue").ComputedRef<boolean>;
|
|
77
|
+
menuLabelMap: Map<any, any>;
|
|
78
|
+
activeKeyRef: any;
|
|
79
|
+
getTabsState: import("vue").ComputedRef<import("vue-router").RouteLocationNormalized[]>;
|
|
80
|
+
unClose: import("vue").ComputedRef<boolean>;
|
|
81
|
+
handleChange: (activeKey: string) => void;
|
|
82
|
+
handleEdit: (targetKey: string) => void;
|
|
83
|
+
affixTextList: string[];
|
|
84
|
+
readonly DtTabRedo: import("vue").DefineComponent<{}, {
|
|
85
|
+
tabStore: import("pinia").Store<"route-reuse", import("../../stores/routeReuse.store").RouteReuseState, {
|
|
86
|
+
getTabList(): import("vue-router").RouteLocationNormalized[];
|
|
87
|
+
getCachedTabList(): string[];
|
|
88
|
+
getLastDragEndIndex(): number;
|
|
89
|
+
}, {
|
|
90
|
+
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
91
|
+
closeTab(path: string, router: import("vue-router").Router): void;
|
|
92
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
93
|
+
closeLeftTabs(path: string): void;
|
|
94
|
+
closeRightTabs(path: string): void;
|
|
95
|
+
closeOtherTabs(path: string): void;
|
|
96
|
+
bulkCloseTabs(pathList: string[]): void;
|
|
97
|
+
updateCacheTab(): void;
|
|
98
|
+
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
99
|
+
sortTabs(oldIndex: number, newIndex: number): void;
|
|
100
|
+
}>;
|
|
101
|
+
router: import("vue-router").Router;
|
|
102
|
+
handleRedo: () => void;
|
|
103
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
104
|
+
readonly DtTabContent: import("vue").DefineComponent<{}, {
|
|
105
|
+
getDropMenuList: import("vue").ComputedRef<import("../tabs/types/tabs.type").DropMenu[]>;
|
|
106
|
+
handleContext: (e: any) => void;
|
|
107
|
+
handleMenuEvent: (item: import("../tabs/types/tabs.type").DropMenu) => void;
|
|
108
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
109
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
44
110
|
readonly DtFullScreen: import("vue").DefineComponent<{}, {
|
|
45
111
|
toggle: () => Promise<void>;
|
|
46
112
|
isFullscreen: import("vue").Ref<boolean>;
|
|
@@ -63,10 +129,32 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
63
129
|
(key: string, list: unknown[]): string;
|
|
64
130
|
(key: string, named: Record<string, unknown>): string;
|
|
65
131
|
};
|
|
132
|
+
slots: {
|
|
133
|
+
[name: string]: import("vue").Slot;
|
|
134
|
+
};
|
|
66
135
|
title: string;
|
|
67
136
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
68
137
|
props: any;
|
|
69
138
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
139
|
+
readonly DtSlotContainer: import("../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
140
|
+
template: {
|
|
141
|
+
type: FunctionConstructor;
|
|
142
|
+
};
|
|
143
|
+
data: {
|
|
144
|
+
type: ObjectConstructor;
|
|
145
|
+
};
|
|
146
|
+
}, {
|
|
147
|
+
props: any;
|
|
148
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
149
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
150
|
+
template: {
|
|
151
|
+
type: FunctionConstructor;
|
|
152
|
+
};
|
|
153
|
+
data: {
|
|
154
|
+
type: ObjectConstructor;
|
|
155
|
+
};
|
|
156
|
+
}>>, {}>>;
|
|
157
|
+
readonly logoUrl: string;
|
|
70
158
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
71
159
|
theme: {
|
|
72
160
|
type: StringConstructor;
|
|
@@ -118,10 +118,32 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
118
118
|
(key: string, list: unknown[]): string;
|
|
119
119
|
(key: string, named: Record<string, unknown>): string;
|
|
120
120
|
};
|
|
121
|
+
slots: {
|
|
122
|
+
[name: string]: import("vue").Slot;
|
|
123
|
+
};
|
|
121
124
|
title: string;
|
|
122
125
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
123
126
|
props: any;
|
|
124
127
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
128
|
+
readonly DtSlotContainer: import("../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
129
|
+
template: {
|
|
130
|
+
type: FunctionConstructor;
|
|
131
|
+
};
|
|
132
|
+
data: {
|
|
133
|
+
type: ObjectConstructor;
|
|
134
|
+
};
|
|
135
|
+
}, {
|
|
136
|
+
props: any;
|
|
137
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
138
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
139
|
+
template: {
|
|
140
|
+
type: FunctionConstructor;
|
|
141
|
+
};
|
|
142
|
+
data: {
|
|
143
|
+
type: ObjectConstructor;
|
|
144
|
+
};
|
|
145
|
+
}>>, {}>>;
|
|
146
|
+
readonly logoUrl: string;
|
|
125
147
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
126
148
|
theme: {
|
|
127
149
|
type: StringConstructor;
|
|
@@ -51,10 +51,32 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
51
51
|
(key: string, list: unknown[]): string;
|
|
52
52
|
(key: string, named: Record<string, unknown>): string;
|
|
53
53
|
};
|
|
54
|
+
slots: {
|
|
55
|
+
[name: string]: import("vue").Slot;
|
|
56
|
+
};
|
|
54
57
|
title: string;
|
|
55
58
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
56
59
|
props: any;
|
|
57
60
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
61
|
+
readonly DtSlotContainer: import("../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
62
|
+
template: {
|
|
63
|
+
type: FunctionConstructor;
|
|
64
|
+
};
|
|
65
|
+
data: {
|
|
66
|
+
type: ObjectConstructor;
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
props: any;
|
|
70
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
71
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
template: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
};
|
|
75
|
+
data: {
|
|
76
|
+
type: ObjectConstructor;
|
|
77
|
+
};
|
|
78
|
+
}>>, {}>>;
|
|
79
|
+
readonly logoUrl: string;
|
|
58
80
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
81
|
theme: {
|
|
60
82
|
type: StringConstructor;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare function useMultipleTab(): {
|
|
2
2
|
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
3
3
|
getShowQuick: import("vue").ComputedRef<boolean>;
|
|
4
|
+
getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
|
|
4
5
|
getShowRedo: import("vue").ComputedRef<boolean>;
|
|
5
6
|
getCanCache: import("vue").ComputedRef<boolean>;
|
|
6
7
|
getCanDrag: import("vue").ComputedRef<boolean>;
|