ele-admin-plus 1.0.0 → 1.0.2
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/ele-avatar-group/index.js +2 -2
- package/es/ele-config-provider/receiver.js +1 -1
- package/es/ele-dot/index.d.ts +3 -3
- package/es/ele-dot/props.d.ts +1 -1
- package/es/ele-dot/props.js +1 -1
- package/es/ele-file-list/components/file-grid.js +1 -1
- package/es/ele-file-list/icons.d.ts +10 -2
- package/es/ele-file-list/icons.js +40 -132
- package/es/ele-map-picker/components/map-view.d.ts +1 -1
- package/es/ele-modal/util.js +1 -1
- package/es/ele-page/style/index.scss +2 -1
- package/es/ele-pro-layout/components/pro-tabs.js +2 -1
- package/es/ele-pro-layout/index.d.ts +370 -0
- package/es/ele-pro-layout/index.js +7 -7
- package/es/ele-pro-layout/props.d.ts +1 -4
- package/es/ele-pro-layout/props.js +2 -5
- package/es/ele-pro-layout/types/index.d.ts +1 -1
- package/es/ele-pro-table/components/table-view.d.ts +4 -13
- package/es/ele-pro-table/index.d.ts +5 -14
- package/es/ele-pro-table/index.js +3 -3
- package/es/ele-pro-table/props.d.ts +92 -9
- package/es/ele-pro-table/props.js +3 -1
- package/es/ele-pro-table/style/index.scss +2 -2
- package/es/ele-segmented/index.js +6 -3
- package/es/ele-toolbar/index.d.ts +0 -3
- package/es/ele-toolbar/props.d.ts +0 -1
- package/es/ele-toolbar/props.js +1 -3
- package/es/ele-watermark/index.d.ts +7 -1
- package/es/ele-watermark/index.js +67 -29
- package/es/ele-watermark/props.d.ts +2 -1
- package/es/ele-watermark/props.js +3 -1
- package/es/ele-watermark/types/index.d.ts +13 -0
- package/es/ele-watermark/util.d.ts +8 -1
- package/es/ele-watermark/util.js +31 -1
- package/es/style/themes/dark-css-var.scss +19 -19
- package/es/style/themes/dark.scss +1 -1
- package/es/style/themes/default.scss +1 -1
- package/es/utils/core.d.ts +1 -1
- package/es/utils/menu-util.js +1 -1
- package/lib/ele-avatar-group/index.js +2 -2
- package/lib/ele-config-provider/receiver.js +1 -1
- package/lib/ele-dot/index.d.ts +3 -3
- package/lib/ele-dot/props.d.ts +1 -1
- package/lib/ele-dot/props.js +1 -1
- package/lib/ele-file-list/components/file-grid.js +1 -1
- package/lib/ele-file-list/icons.d.ts +10 -2
- package/lib/ele-file-list/icons.js +40 -132
- package/lib/ele-map-picker/components/map-view.d.ts +1 -1
- package/lib/ele-modal/util.js +1 -1
- package/lib/ele-page/style/index.scss +2 -1
- package/lib/ele-pro-layout/components/pro-tabs.js +2 -1
- package/lib/ele-pro-layout/index.d.ts +370 -0
- package/lib/ele-pro-layout/index.js +6 -6
- package/lib/ele-pro-layout/props.d.ts +1 -4
- package/lib/ele-pro-layout/props.js +2 -5
- package/lib/ele-pro-layout/types/index.d.ts +1 -1
- package/lib/ele-pro-table/components/table-view.d.ts +4 -13
- package/lib/ele-pro-table/index.d.ts +5 -14
- package/lib/ele-pro-table/index.js +3 -3
- package/lib/ele-pro-table/props.d.ts +92 -9
- package/lib/ele-pro-table/props.js +3 -1
- package/lib/ele-pro-table/style/index.scss +2 -2
- package/lib/ele-segmented/index.js +5 -2
- package/lib/ele-toolbar/index.d.ts +0 -3
- package/lib/ele-toolbar/props.d.ts +0 -1
- package/lib/ele-toolbar/props.js +1 -3
- package/lib/ele-watermark/index.d.ts +7 -1
- package/lib/ele-watermark/index.js +65 -27
- package/lib/ele-watermark/props.d.ts +2 -1
- package/lib/ele-watermark/props.js +3 -1
- package/lib/ele-watermark/types/index.d.ts +13 -0
- package/lib/ele-watermark/util.d.ts +8 -1
- package/lib/ele-watermark/util.js +30 -0
- package/lib/style/themes/dark-css-var.scss +19 -19
- package/lib/style/themes/dark.scss +1 -1
- package/lib/style/themes/default.scss +1 -1
- package/lib/utils/core.d.ts +1 -1
- package/lib/utils/menu-util.js +1 -1
- package/package.json +3 -1
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import type { IconItem } from './types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 本地小尺寸图标
|
|
4
4
|
*/
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const localSmallIcons: IconItem[];
|
|
6
|
+
/**
|
|
7
|
+
* 本地图标
|
|
8
|
+
*/
|
|
9
|
+
export declare const localIcons: IconItem[];
|
|
6
10
|
/**
|
|
7
11
|
* 默认小尺寸图标
|
|
8
12
|
*/
|
|
9
13
|
export declare const smallIcons: IconItem[];
|
|
14
|
+
/**
|
|
15
|
+
* 默认图标
|
|
16
|
+
*/
|
|
17
|
+
export declare const icons: IconItem[];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
3
|
+
const localSmallIcons = [
|
|
4
4
|
{
|
|
5
|
-
icon: "
|
|
5
|
+
icon: "/ele-file-list/ic_file_misc_sm.png",
|
|
6
6
|
type: "file"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
|
-
icon: "
|
|
9
|
+
icon: "/ele-file-list/ic_file_folder_sm.png",
|
|
10
10
|
type: "dir"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
icon: "
|
|
13
|
+
icon: "/ele-file-list/ic_file_code_sm.png",
|
|
14
14
|
suffixes: [
|
|
15
15
|
".java",
|
|
16
16
|
".js",
|
|
@@ -33,190 +33,98 @@ const icons = [
|
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
|
-
icon: "
|
|
36
|
+
icon: "/ele-file-list/ic_file_htm_sm.png",
|
|
37
37
|
suffixes: [".html", ".htm"]
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
|
-
icon: "
|
|
40
|
+
icon: "/ele-file-list/ic_file_text_sm.png",
|
|
41
41
|
suffixes: [".txt"]
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
icon: "
|
|
44
|
+
icon: "/ele-file-list/ic_file_pdf_sm.png",
|
|
45
45
|
suffixes: [".pdf"]
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
icon: "
|
|
48
|
+
icon: "/ele-file-list/ic_file_word_sm.png",
|
|
49
49
|
suffixes: [".doc", ".docx"]
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
icon: "
|
|
52
|
+
icon: "/ele-file-list/ic_file_excel_sm.png",
|
|
53
53
|
suffixes: [".xls", ".xlsx"]
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
icon: "
|
|
56
|
+
icon: "/ele-file-list/ic_file_ppt_sm.png",
|
|
57
57
|
suffixes: [".ppt", ".pptx"]
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
icon: "
|
|
60
|
+
icon: "/ele-file-list/ic_file_visio_sm.png",
|
|
61
61
|
suffixes: [".vsd"]
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
icon: "
|
|
64
|
+
icon: "/ele-file-list/ic_file_ps_sm.png",
|
|
65
65
|
suffixes: [".psd"]
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
icon: "
|
|
68
|
+
icon: "/ele-file-list/ic_file_cad_sm.png",
|
|
69
69
|
suffixes: [".dwg"]
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
icon: "
|
|
72
|
+
icon: "/ele-file-list/ic_file_flash_sm.png",
|
|
73
73
|
suffixes: [".swf"]
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
icon: "
|
|
76
|
+
icon: "/ele-file-list/ic_file_music_sm.png",
|
|
77
77
|
suffixes: [".mp3", ".wav"]
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
|
-
icon: "
|
|
80
|
+
icon: "/ele-file-list/ic_file_video_sm.png",
|
|
81
81
|
suffixes: [".mp4", ".rmvb", ".flv", ".avi", ".3gp"]
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
|
-
icon: "
|
|
84
|
+
icon: "/ele-file-list/ic_file_picture_sm.png",
|
|
85
85
|
suffixes: [".png", ".jpg", ".jpeg", ".gif", ".bmp"]
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
icon: "
|
|
88
|
+
icon: "/ele-file-list/ic_file_fonts_sm.png",
|
|
89
89
|
suffixes: [".ttf", ".woff"]
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
|
-
icon: "
|
|
92
|
+
icon: "/ele-file-list/ic_file_bt_sm.png",
|
|
93
93
|
suffixes: [".torrent"]
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
icon: "
|
|
96
|
+
icon: "/ele-file-list/ic_file_android_sm.png",
|
|
97
97
|
suffixes: [".apk"]
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
icon: "
|
|
100
|
+
icon: "/ele-file-list/ic_file_exe_sm.png",
|
|
101
101
|
suffixes: [".exe"]
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
icon: "
|
|
104
|
+
icon: "/ele-file-list/ic_file_ipa_sm.png",
|
|
105
105
|
suffixes: [".ipa", ".dmg"]
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
|
-
icon: "
|
|
109
|
-
suffixes: [".zip", ".rar", ".7z"]
|
|
110
|
-
}
|
|
111
|
-
];
|
|
112
|
-
const smallIcons = [
|
|
113
|
-
{
|
|
114
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_misc_sm.png",
|
|
115
|
-
type: "file"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_folder_sm.png",
|
|
119
|
-
type: "dir"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_code_sm.png",
|
|
123
|
-
suffixes: [
|
|
124
|
-
".java",
|
|
125
|
-
".js",
|
|
126
|
-
".css",
|
|
127
|
-
".vue",
|
|
128
|
-
".ts",
|
|
129
|
-
".tsx",
|
|
130
|
-
".scss",
|
|
131
|
-
".less",
|
|
132
|
-
".c",
|
|
133
|
-
".cpp",
|
|
134
|
-
".cs",
|
|
135
|
-
".jsp",
|
|
136
|
-
".php",
|
|
137
|
-
".asp",
|
|
138
|
-
".py",
|
|
139
|
-
".go",
|
|
140
|
-
".kt",
|
|
141
|
-
".lua"
|
|
142
|
-
]
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_htm_sm.png",
|
|
146
|
-
suffixes: [".html", ".htm"]
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_text_sm.png",
|
|
150
|
-
suffixes: [".txt"]
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_pdf_sm.png",
|
|
154
|
-
suffixes: [".pdf"]
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_word_sm.png",
|
|
158
|
-
suffixes: [".doc", ".docx"]
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_excel_sm.png",
|
|
162
|
-
suffixes: [".xls", ".xlsx"]
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_ppt_sm.png",
|
|
166
|
-
suffixes: [".ppt", ".pptx"]
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_visio_sm.png",
|
|
170
|
-
suffixes: [".vsd"]
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_ps_sm.png",
|
|
174
|
-
suffixes: [".psd"]
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_cad_sm.png",
|
|
178
|
-
suffixes: [".dwg"]
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_flash_sm.png",
|
|
182
|
-
suffixes: [".swf"]
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_music_sm.png",
|
|
186
|
-
suffixes: [".mp3", ".wav"]
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_video_sm.png",
|
|
190
|
-
suffixes: [".mp4", ".rmvb", ".flv", ".avi", ".3gp"]
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_picture_sm.png",
|
|
194
|
-
suffixes: [".png", ".jpg", ".jpeg", ".gif", ".bmp"]
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_fonts_sm.png",
|
|
198
|
-
suffixes: [".ttf", ".woff"]
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_bt_sm.png",
|
|
202
|
-
suffixes: [".torrent"]
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_android_sm.png",
|
|
206
|
-
suffixes: [".apk"]
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_exe_sm.png",
|
|
210
|
-
suffixes: [".exe"]
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_ipa_sm.png",
|
|
214
|
-
suffixes: [".ipa", ".dmg"]
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_zip_sm.png",
|
|
108
|
+
icon: "/ele-file-list/ic_file_zip_sm.png",
|
|
218
109
|
suffixes: [".zip", ".rar", ".7z"]
|
|
219
110
|
}
|
|
220
111
|
];
|
|
112
|
+
const localIcons = localSmallIcons.map((d) => {
|
|
113
|
+
return { ...d, icon: d.icon.replace("_sm.png", ".png") };
|
|
114
|
+
});
|
|
115
|
+
const smallIcons = localSmallIcons.map((d) => {
|
|
116
|
+
return {
|
|
117
|
+
...d,
|
|
118
|
+
icon: d.icon.replace(
|
|
119
|
+
"/ele-file-list/",
|
|
120
|
+
"https://cdn.eleadmin.com/20200609/"
|
|
121
|
+
)
|
|
122
|
+
};
|
|
123
|
+
});
|
|
124
|
+
const icons = smallIcons.map((d) => {
|
|
125
|
+
return { ...d, icon: d.icon.replace("_sm.png", ".png") };
|
|
126
|
+
});
|
|
221
127
|
exports.icons = icons;
|
|
128
|
+
exports.localIcons = localIcons;
|
|
129
|
+
exports.localSmallIcons = localSmallIcons;
|
|
222
130
|
exports.smallIcons = smallIcons;
|
|
@@ -172,8 +172,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
172
172
|
onDone?: ((_result: CenterPoint) => any) | undefined;
|
|
173
173
|
onMapDone?: ((_ins: any) => any) | undefined;
|
|
174
174
|
}, {
|
|
175
|
-
required: boolean;
|
|
176
175
|
height: string;
|
|
176
|
+
required: boolean;
|
|
177
177
|
zoom: number;
|
|
178
178
|
selectedZoom: number;
|
|
179
179
|
poiLimit: number;
|
package/lib/ele-modal/util.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const titleClass = "el-dialog__title";
|
|
4
|
-
const headerClass = "
|
|
4
|
+
const headerClass = "ele-modal-header";
|
|
5
5
|
const wrapperClass = "ele-modal";
|
|
6
6
|
const containerId = "ele-modal-container";
|
|
7
7
|
const movableClass = "ele-modal-movable";
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { ClassValue } from '../ele-app/types';
|
|
3
|
+
import type { MenuItem, TabItem, LevelItem, TabItemEventOption } from './types';
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
menus: import("vue").PropType<MenuItem[] | null>;
|
|
6
|
+
tabs: import("vue").PropType<TabItem[] | null>;
|
|
7
|
+
collapse: BooleanConstructor;
|
|
8
|
+
compact: BooleanConstructor;
|
|
9
|
+
maximized: BooleanConstructor;
|
|
10
|
+
tabBar: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
breadcrumb: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
breadcrumbSeparator: {
|
|
19
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
backTop: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
backTopVisibilityHeight: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
backTopRight: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
backTopBottom: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
ellipsis: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
menuTrigger: {
|
|
43
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "click", unknown>>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
layout: {
|
|
47
|
+
type: import("vue").PropType<import("./types").Layout>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
sidebarLayout: {
|
|
51
|
+
type: import("vue").PropType<import("./types").SidebarLayout>;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
headerStyle: {
|
|
55
|
+
type: import("vue").PropType<import("./types").HeaderStyle>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
sidebarStyle: {
|
|
59
|
+
type: import("vue").PropType<import("./types").SidebarStyle>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
tabStyle: {
|
|
63
|
+
type: import("vue").PropType<import("./types").TabStyle>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
fixedHeader: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
fixedSidebar: BooleanConstructor;
|
|
71
|
+
fixedBody: BooleanConstructor;
|
|
72
|
+
fluid: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
logoInHeader: BooleanConstructor;
|
|
77
|
+
colorfulIcon: BooleanConstructor;
|
|
78
|
+
uniqueOpened: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
expanded: BooleanConstructor;
|
|
83
|
+
compressOnEsc: BooleanConstructor;
|
|
84
|
+
fixedHome: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
homePath: StringConstructor;
|
|
89
|
+
redirectPath: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
locale: StringConstructor;
|
|
94
|
+
i18n: import("vue").PropType<import("./types").MenuI18n>;
|
|
95
|
+
sidebarOpeneds: import("vue").PropType<string[]>;
|
|
96
|
+
tabContextMenu: BooleanConstructor;
|
|
97
|
+
tabSortable: BooleanConstructor;
|
|
98
|
+
autoScrollTop: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
headerTitleSlot: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
headerIconSlot: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
sidebarTitleSlot: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
sidebarIconSlot: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
sideboxTitleSlot: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
sideboxIconSlot: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
tooltipEffect: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "dark", unknown>>;
|
|
127
|
+
keepAlive: BooleanConstructor;
|
|
128
|
+
transitionName: StringConstructor;
|
|
129
|
+
transitionDelay: {
|
|
130
|
+
type: NumberConstructor;
|
|
131
|
+
default: number;
|
|
132
|
+
};
|
|
133
|
+
responsive: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
}, {
|
|
138
|
+
authenticated: Ref<boolean>;
|
|
139
|
+
contentRef: Ref<HTMLElement | null>;
|
|
140
|
+
levelData: import("vue").ShallowRef<LevelItem[]>;
|
|
141
|
+
tabData: import("vue").ShallowRef<TabItem[]>;
|
|
142
|
+
tabActive: Ref<string>;
|
|
143
|
+
headerData: import("vue").ShallowRef<MenuItem[]>;
|
|
144
|
+
headerActive: Ref<string | undefined>;
|
|
145
|
+
sidebarData: import("vue").ShallowRef<MenuItem[]>;
|
|
146
|
+
sidebarActive: Ref<string | undefined>;
|
|
147
|
+
sideboxData: import("vue").ShallowRef<MenuItem[]>;
|
|
148
|
+
sideboxActive: Ref<string | undefined>;
|
|
149
|
+
hideFooter: Ref<boolean>;
|
|
150
|
+
homeMenuPath: Ref<string>;
|
|
151
|
+
isHome: Ref<boolean>;
|
|
152
|
+
sidebox: import("vue").ComputedRef<boolean>;
|
|
153
|
+
sidebar: import("vue").ComputedRef<boolean>;
|
|
154
|
+
layoutClass: import("vue").ComputedRef<ClassValue>;
|
|
155
|
+
sidebarCollapse: import("vue").ComputedRef<boolean>;
|
|
156
|
+
sidebarTheme: import("vue").ComputedRef<"light" | "dark">;
|
|
157
|
+
updateCollapse: (val?: boolean | MouseEvent) => void;
|
|
158
|
+
onTabClick: (option: TabItemEventOption) => void;
|
|
159
|
+
onTabRemove: (option: TabItemEventOption) => void;
|
|
160
|
+
onTabContextMenu: (option: TabItemEventOption) => void;
|
|
161
|
+
onTabSortChange: (data: TabItem[]) => void;
|
|
162
|
+
onLogoClick: () => void;
|
|
163
|
+
onSideMenuOpen: (index: string, indexPath: string[]) => void;
|
|
164
|
+
onSideMenuClose: (index: string, indexPath: string[]) => void;
|
|
165
|
+
onHeadMenuOpen: (index: string, indexPath: string[]) => void;
|
|
166
|
+
onHeadMenuClose: (index: string, indexPath: string[]) => void;
|
|
167
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
168
|
+
'update:collapse': (_collapse: boolean) => boolean;
|
|
169
|
+
'update:maximized': (_val: boolean) => boolean;
|
|
170
|
+
tabAdd: (_data: TabItem) => boolean;
|
|
171
|
+
tabClick: (_option: TabItemEventOption) => boolean;
|
|
172
|
+
tabRemove: (_option: TabItemEventOption) => boolean;
|
|
173
|
+
tabContextMenu: (_option: TabItemEventOption) => boolean;
|
|
174
|
+
tabSortChange: (_data: TabItem[]) => boolean;
|
|
175
|
+
logoClick: (_isHome: boolean) => boolean;
|
|
176
|
+
sideMenuOpen: (_index: string, _indexPath: string[]) => boolean;
|
|
177
|
+
sideMenuClose: (_index: string, _indexPath: string[]) => boolean;
|
|
178
|
+
headMenuOpen: (_index: string, _indexPath: string[]) => boolean;
|
|
179
|
+
headMenuClose: (_index: string, _indexPath: string[]) => boolean;
|
|
180
|
+
bodySizeChange: (_option: import("./types").BodySizeChangeOption) => boolean;
|
|
181
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
182
|
+
menus: import("vue").PropType<MenuItem[] | null>;
|
|
183
|
+
tabs: import("vue").PropType<TabItem[] | null>;
|
|
184
|
+
collapse: BooleanConstructor;
|
|
185
|
+
compact: BooleanConstructor;
|
|
186
|
+
maximized: BooleanConstructor;
|
|
187
|
+
tabBar: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
|
+
breadcrumb: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
default: boolean;
|
|
194
|
+
};
|
|
195
|
+
breadcrumbSeparator: {
|
|
196
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined>;
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
backTop: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
203
|
+
backTopVisibilityHeight: {
|
|
204
|
+
type: NumberConstructor;
|
|
205
|
+
default: number;
|
|
206
|
+
};
|
|
207
|
+
backTopRight: {
|
|
208
|
+
type: NumberConstructor;
|
|
209
|
+
default: number;
|
|
210
|
+
};
|
|
211
|
+
backTopBottom: {
|
|
212
|
+
type: NumberConstructor;
|
|
213
|
+
default: number;
|
|
214
|
+
};
|
|
215
|
+
ellipsis: {
|
|
216
|
+
type: BooleanConstructor;
|
|
217
|
+
default: boolean;
|
|
218
|
+
};
|
|
219
|
+
menuTrigger: {
|
|
220
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "click", unknown>>;
|
|
221
|
+
default: string;
|
|
222
|
+
};
|
|
223
|
+
layout: {
|
|
224
|
+
type: import("vue").PropType<import("./types").Layout>;
|
|
225
|
+
default: string;
|
|
226
|
+
};
|
|
227
|
+
sidebarLayout: {
|
|
228
|
+
type: import("vue").PropType<import("./types").SidebarLayout>;
|
|
229
|
+
default: string;
|
|
230
|
+
};
|
|
231
|
+
headerStyle: {
|
|
232
|
+
type: import("vue").PropType<import("./types").HeaderStyle>;
|
|
233
|
+
default: string;
|
|
234
|
+
};
|
|
235
|
+
sidebarStyle: {
|
|
236
|
+
type: import("vue").PropType<import("./types").SidebarStyle>;
|
|
237
|
+
default: string;
|
|
238
|
+
};
|
|
239
|
+
tabStyle: {
|
|
240
|
+
type: import("vue").PropType<import("./types").TabStyle>;
|
|
241
|
+
default: string;
|
|
242
|
+
};
|
|
243
|
+
fixedHeader: {
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
247
|
+
fixedSidebar: BooleanConstructor;
|
|
248
|
+
fixedBody: BooleanConstructor;
|
|
249
|
+
fluid: {
|
|
250
|
+
type: BooleanConstructor;
|
|
251
|
+
default: boolean;
|
|
252
|
+
};
|
|
253
|
+
logoInHeader: BooleanConstructor;
|
|
254
|
+
colorfulIcon: BooleanConstructor;
|
|
255
|
+
uniqueOpened: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
259
|
+
expanded: BooleanConstructor;
|
|
260
|
+
compressOnEsc: BooleanConstructor;
|
|
261
|
+
fixedHome: {
|
|
262
|
+
type: BooleanConstructor;
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
265
|
+
homePath: StringConstructor;
|
|
266
|
+
redirectPath: {
|
|
267
|
+
type: StringConstructor;
|
|
268
|
+
default: string;
|
|
269
|
+
};
|
|
270
|
+
locale: StringConstructor;
|
|
271
|
+
i18n: import("vue").PropType<import("./types").MenuI18n>;
|
|
272
|
+
sidebarOpeneds: import("vue").PropType<string[]>;
|
|
273
|
+
tabContextMenu: BooleanConstructor;
|
|
274
|
+
tabSortable: BooleanConstructor;
|
|
275
|
+
autoScrollTop: {
|
|
276
|
+
type: BooleanConstructor;
|
|
277
|
+
default: boolean;
|
|
278
|
+
};
|
|
279
|
+
headerTitleSlot: {
|
|
280
|
+
type: StringConstructor;
|
|
281
|
+
default: string;
|
|
282
|
+
};
|
|
283
|
+
headerIconSlot: {
|
|
284
|
+
type: StringConstructor;
|
|
285
|
+
default: string;
|
|
286
|
+
};
|
|
287
|
+
sidebarTitleSlot: {
|
|
288
|
+
type: StringConstructor;
|
|
289
|
+
default: string;
|
|
290
|
+
};
|
|
291
|
+
sidebarIconSlot: {
|
|
292
|
+
type: StringConstructor;
|
|
293
|
+
default: string;
|
|
294
|
+
};
|
|
295
|
+
sideboxTitleSlot: {
|
|
296
|
+
type: StringConstructor;
|
|
297
|
+
default: string;
|
|
298
|
+
};
|
|
299
|
+
sideboxIconSlot: {
|
|
300
|
+
type: StringConstructor;
|
|
301
|
+
default: string;
|
|
302
|
+
};
|
|
303
|
+
tooltipEffect: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "dark", unknown>>;
|
|
304
|
+
keepAlive: BooleanConstructor;
|
|
305
|
+
transitionName: StringConstructor;
|
|
306
|
+
transitionDelay: {
|
|
307
|
+
type: NumberConstructor;
|
|
308
|
+
default: number;
|
|
309
|
+
};
|
|
310
|
+
responsive: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: boolean;
|
|
313
|
+
};
|
|
314
|
+
}>> & {
|
|
315
|
+
"onUpdate:collapse"?: ((_collapse: boolean) => any) | undefined;
|
|
316
|
+
"onUpdate:maximized"?: ((_val: boolean) => any) | undefined;
|
|
317
|
+
onTabAdd?: ((_data: TabItem) => any) | undefined;
|
|
318
|
+
onTabClick?: ((_option: TabItemEventOption) => any) | undefined;
|
|
319
|
+
onTabRemove?: ((_option: TabItemEventOption) => any) | undefined;
|
|
320
|
+
onTabContextMenu?: ((_option: TabItemEventOption) => any) | undefined;
|
|
321
|
+
onTabSortChange?: ((_data: TabItem[]) => any) | undefined;
|
|
322
|
+
onLogoClick?: ((_isHome: boolean) => any) | undefined;
|
|
323
|
+
onSideMenuOpen?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
324
|
+
onSideMenuClose?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
325
|
+
onHeadMenuOpen?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
326
|
+
onHeadMenuClose?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
327
|
+
onBodySizeChange?: ((_option: import("./types").BodySizeChangeOption) => any) | undefined;
|
|
328
|
+
}, {
|
|
329
|
+
uniqueOpened: boolean;
|
|
330
|
+
menuTrigger: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
331
|
+
collapse: boolean;
|
|
332
|
+
ellipsis: boolean;
|
|
333
|
+
tabContextMenu: boolean;
|
|
334
|
+
compact: boolean;
|
|
335
|
+
maximized: boolean;
|
|
336
|
+
tabBar: boolean;
|
|
337
|
+
breadcrumb: boolean;
|
|
338
|
+
breadcrumbSeparator: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
339
|
+
backTop: boolean;
|
|
340
|
+
backTopVisibilityHeight: number;
|
|
341
|
+
backTopRight: number;
|
|
342
|
+
backTopBottom: number;
|
|
343
|
+
layout: import("./types").Layout;
|
|
344
|
+
sidebarLayout: import("./types").SidebarLayout;
|
|
345
|
+
headerStyle: import("./types").HeaderStyle;
|
|
346
|
+
sidebarStyle: import("./types").SidebarStyle;
|
|
347
|
+
tabStyle: import("./types").TabStyle;
|
|
348
|
+
fixedHeader: boolean;
|
|
349
|
+
fixedSidebar: boolean;
|
|
350
|
+
fixedBody: boolean;
|
|
351
|
+
fluid: boolean;
|
|
352
|
+
logoInHeader: boolean;
|
|
353
|
+
colorfulIcon: boolean;
|
|
354
|
+
expanded: boolean;
|
|
355
|
+
compressOnEsc: boolean;
|
|
356
|
+
fixedHome: boolean;
|
|
357
|
+
redirectPath: string;
|
|
358
|
+
tabSortable: boolean;
|
|
359
|
+
autoScrollTop: boolean;
|
|
360
|
+
headerTitleSlot: string;
|
|
361
|
+
headerIconSlot: string;
|
|
362
|
+
sidebarTitleSlot: string;
|
|
363
|
+
sidebarIconSlot: string;
|
|
364
|
+
sideboxTitleSlot: string;
|
|
365
|
+
sideboxIconSlot: string;
|
|
366
|
+
keepAlive: boolean;
|
|
367
|
+
transitionDelay: number;
|
|
368
|
+
responsive: boolean;
|
|
369
|
+
}, {}>;
|
|
370
|
+
export default _sfc_main;
|