yuang-framework-ui-pc 1.1.1 → 1.1.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.
@@ -0,0 +1,253 @@
1
+ import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
2
+ import { StyleValue } from '../ele-app/types';
3
+ import { EleMenusProps, EleBreadcrumbProps, EleDropdownProps, EleBacktopProps } from '../ele-app/plus';
4
+ import { ContextMenus } from '../ele-tabs/types';
5
+ import { BreadcrumbSeparator as Separator } from '../ele-breadcrumb/types';
6
+ import { Layout, SidebarLayout, HeaderStyle, SidebarStyle, TabStyle, TabBar, Maximized } from '../ele-admin-layout/types';
7
+ import { MenuItem, TabItem, MenuItemTrigger, MenuI18n, BeforeClick, TabItemEventOption, BodySizeChangeOption, ProLayoutProvide } from './types';
8
+
9
+ type TextEllipsisTooltip = EleMenusProps['textEllipsisTooltip'];
10
+ type ProLayoutKey = InjectionKey<ProLayoutProvide>;
11
+ /**
12
+ * 属性
13
+ */
14
+ export declare const proLayoutProps: {
15
+ /** 高度 */
16
+ height: {
17
+ type: (StringConstructor | NumberConstructor)[];
18
+ default: null;
19
+ };
20
+ /** 菜单数据 */
21
+ menus: PropType<MenuItem[] | null>;
22
+ /** 页签数据 */
23
+ tabs: PropType<TabItem[] | null>;
24
+ /** 是否折叠侧栏 */
25
+ collapse: BooleanConstructor;
26
+ /** 双侧栏一级是否紧凑风格 */
27
+ compact: BooleanConstructor;
28
+ /** 内容区是否最大化 */
29
+ maximized: PropType<Maximized>;
30
+ /** 是否需要页签栏 */
31
+ tabBar: {
32
+ type: PropType<TabBar>;
33
+ default: boolean;
34
+ };
35
+ /** 是否需要面包屑导航 */
36
+ breadcrumb: {
37
+ type: PropType<boolean | EleBreadcrumbProps>;
38
+ default: boolean;
39
+ };
40
+ /** 是否需要返回顶部 */
41
+ backTop: {
42
+ type: PropType<boolean | EleBacktopProps>;
43
+ default: boolean;
44
+ };
45
+ /** 布局类型 */
46
+ layout: PropType<Layout>;
47
+ /** 侧栏布局类型 */
48
+ sidebarLayout: PropType<SidebarLayout>;
49
+ /** 顶栏风格 */
50
+ headerStyle: PropType<HeaderStyle>;
51
+ /** 侧栏风格 */
52
+ sidebarStyle: {
53
+ type: PropType<SidebarStyle>;
54
+ default: string;
55
+ };
56
+ /** 页签风格 */
57
+ tabStyle: {
58
+ type: PropType<TabStyle>;
59
+ default: string;
60
+ };
61
+ /** 是否固定顶栏 */
62
+ fixedHeader: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ /** 是否固定侧栏 */
67
+ fixedSidebar: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ /** 是否固定内容区 */
72
+ fixedBody: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ /** 图标是否置于顶栏 */
77
+ logoInHeader: BooleanConstructor;
78
+ /** 是否需要固定的主页页签 */
79
+ fixedHome: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ /** 主页路由地址 */
84
+ homePath: StringConstructor;
85
+ /** 刷新路由地址 */
86
+ redirectPath: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ /** 内容区是否撑满 */
91
+ fluid: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ /** 返回键退出内容区最大化 */
96
+ compressOnEsc: BooleanConstructor;
97
+ /** 固定主体时切换路由自动滚到顶部 */
98
+ autoScrollTop: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ /** 顶栏菜单触发模式 */
103
+ navTrigger: PropType<MenuItemTrigger>;
104
+ /** 双侧栏一级菜单触发模式 */
105
+ boxTrigger: PropType<MenuItemTrigger>;
106
+ /** 侧栏菜单触发模式 */
107
+ itemTrigger: PropType<MenuItemTrigger>;
108
+ /** hover模式的菜单切换超时 */
109
+ menuHoverTimeout: {
110
+ type: NumberConstructor;
111
+ default: number;
112
+ };
113
+ /** 菜单点击事件前钩子 */
114
+ beforeClick: PropType<BeforeClick>;
115
+ /** 是否支持内嵌缓存 */
116
+ keepAlive: BooleanConstructor;
117
+ /** 内嵌切换动画 */
118
+ transitionName: StringConstructor;
119
+ /** 内嵌进入动画延迟时间 */
120
+ transitionDelay: {
121
+ type: NumberConstructor;
122
+ default: number;
123
+ };
124
+ /** 是否开启响应式 */
125
+ responsive: {
126
+ type: BooleanConstructor;
127
+ default: boolean;
128
+ };
129
+ /** 国际化语言 */
130
+ locale: StringConstructor;
131
+ /** 菜单标题国际化方法 */
132
+ i18n: PropType<MenuI18n>;
133
+ /** 是否支持页签右键菜单 */
134
+ tabContextMenu: PropType<boolean | EleDropdownProps>;
135
+ /** 右键菜单 */
136
+ tabContextMenus: PropType<ContextMenus>;
137
+ /** 是否支持页签拖动排序 */
138
+ tabSortable: BooleanConstructor;
139
+ /** 顶栏菜单标题插槽名称 */
140
+ headerTitleSlot: {
141
+ type: StringConstructor;
142
+ default: string;
143
+ };
144
+ /** 顶栏菜单图标插槽名称 */
145
+ headerIconSlot: {
146
+ type: StringConstructor;
147
+ default: string;
148
+ };
149
+ /** 侧栏菜单标题插槽名称 */
150
+ sidebarTitleSlot: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
154
+ /** 侧栏菜单图标插槽名称 */
155
+ sidebarIconSlot: {
156
+ type: StringConstructor;
157
+ default: string;
158
+ };
159
+ /** 双侧栏一级菜单标题插槽名称 */
160
+ sideboxTitleSlot: {
161
+ type: StringConstructor;
162
+ default: string;
163
+ };
164
+ /** 双侧栏一级菜单图标插槽名称 */
165
+ sideboxIconSlot: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ /** 顶栏样式 */
170
+ headerCustomStyle: PropType<StyleValue>;
171
+ /** 侧栏样式 */
172
+ sidebarCustomStyle: PropType<StyleValue>;
173
+ /** 双侧栏一级样式 */
174
+ sideboxCustomStyle: PropType<StyleValue>;
175
+ /** 页签栏样式 */
176
+ tabsCustomStyle: PropType<StyleValue>;
177
+ /** 内容区样式 */
178
+ contentCustomStyle: PropType<StyleValue>;
179
+ /** logo样式 */
180
+ logoStyle: PropType<StyleValue>;
181
+ /** logo文字样式 */
182
+ logoTitleStyle: PropType<StyleValue>;
183
+ /** 顶栏菜单样式 */
184
+ headerMenusStyle: PropType<StyleValue>;
185
+ /** 侧栏菜单样式 */
186
+ sidebarMenusStyle: PropType<StyleValue>;
187
+ /** 双侧栏一级菜单样式 */
188
+ sideboxMenusStyle: PropType<StyleValue>;
189
+ /** 顶栏菜单属性 */
190
+ headerMenuProps: PropType<EleMenusProps>;
191
+ /** 侧栏菜单属性 */
192
+ sidebarMenuProps: PropType<EleMenusProps>;
193
+ /** 双侧栏一级菜单属性 */
194
+ sideboxMenuProps: PropType<EleMenusProps>;
195
+ /** 顶栏菜单是否省略多余的子项 */
196
+ ellipsis: {
197
+ type: BooleanConstructor;
198
+ default: boolean;
199
+ };
200
+ /** 顶栏菜单省略项的属性 */
201
+ ellipsisProps: PropType<EleMenusProps["ellipsisProps"]>;
202
+ /** 顶栏子菜单触发方式 */
203
+ menuTrigger: PropType<EleMenusProps["menuTrigger"]>;
204
+ /** 侧栏默认展开的菜单 */
205
+ sidebarOpeneds: PropType<string[]>;
206
+ /** 侧栏是否只保持一个子菜单展开 */
207
+ uniqueOpened: {
208
+ type: BooleanConstructor;
209
+ default: boolean;
210
+ };
211
+ /** 侧栏菜单是否彩色图标 */
212
+ colorfulIcon: BooleanConstructor;
213
+ /** 菜单 tooltip 主题 */
214
+ tooltipEffect: PropType<EleMenusProps["popperEffect"]>;
215
+ /** 是否开启菜单文本溢出提示 */
216
+ menuTextEllipsisTooltip: PropType<TextEllipsisTooltip>;
217
+ /** 内容区最大时不带页签栏 */
218
+ expanded: BooleanConstructor;
219
+ /** 面包屑导航分隔符 */
220
+ breadcrumbSeparator: PropType<Separator>;
221
+ /** 返回顶部可见的滚动高度 */
222
+ backTopVisibilityHeight: NumberConstructor;
223
+ /** 返回顶部的右边距 */
224
+ backTopRight: NumberConstructor;
225
+ /** 返回顶部的下边距 */
226
+ backTopBottom: NumberConstructor;
227
+ /** 返回顶部的目标选择器 */
228
+ backTopTarget: StringConstructor;
229
+ };
230
+ export type ProLayoutProps = ExtractPropTypes<typeof proLayoutProps>;
231
+ /**
232
+ * 事件
233
+ */
234
+ export declare const proLayoutEmits: {
235
+ 'update:collapse': (_collapse: boolean) => boolean;
236
+ 'update:maximized': (_maximized: boolean) => boolean;
237
+ tabAdd: (_data: TabItem) => boolean;
238
+ tabClick: (_option: TabItemEventOption) => boolean;
239
+ tabRemove: (_option: TabItemEventOption) => boolean;
240
+ tabContextMenu: (_option: TabItemEventOption) => boolean;
241
+ tabSortChange: (_data: TabItem[]) => boolean;
242
+ logoClick: (_isHome: boolean, _e: MouseEvent) => boolean;
243
+ headMenuOpen: (_index: string, _indexPath: string[]) => boolean;
244
+ headMenuClose: (_index: string, _indexPath: string[]) => boolean;
245
+ sideMenuOpen: (_index: string, _indexPath: string[]) => boolean;
246
+ sideMenuClose: (_index: string, _indexPath: string[]) => boolean;
247
+ bodySizeChange: (_option: BodySizeChangeOption) => boolean;
248
+ };
249
+ /**
250
+ * 共享数据key
251
+ */
252
+ export declare const PRO_LAYOUT_KEY: ProLayoutKey;
253
+ export {};
@@ -0,0 +1,237 @@
1
+ const proLayoutProps = {
2
+ /** 高度 */
3
+ height: {
4
+ type: [String, Number],
5
+ default: null
6
+ },
7
+ /** 菜单数据 */
8
+ menus: Array,
9
+ /** 页签数据 */
10
+ tabs: Array,
11
+ /** 是否折叠侧栏 */
12
+ collapse: Boolean,
13
+ /** 双侧栏一级是否紧凑风格 */
14
+ compact: Boolean,
15
+ /** 内容区是否最大化 */
16
+ maximized: [Boolean, String],
17
+ /** 是否需要页签栏 */
18
+ tabBar: {
19
+ type: [Boolean, String],
20
+ default: true
21
+ },
22
+ /** 是否需要面包屑导航 */
23
+ breadcrumb: {
24
+ type: [Boolean, Object],
25
+ default: true
26
+ },
27
+ /** 是否需要返回顶部 */
28
+ backTop: {
29
+ type: [Boolean, Object],
30
+ default: true
31
+ },
32
+ /** 布局类型 */
33
+ layout: String,
34
+ /** 侧栏布局类型 */
35
+ sidebarLayout: String,
36
+ /** 顶栏风格 */
37
+ headerStyle: String,
38
+ /** 侧栏风格 */
39
+ sidebarStyle: {
40
+ type: String,
41
+ default: "dark"
42
+ },
43
+ /** 页签风格 */
44
+ tabStyle: {
45
+ type: String,
46
+ default: "simple"
47
+ },
48
+ /** 是否固定顶栏 */
49
+ fixedHeader: {
50
+ type: Boolean,
51
+ default: true
52
+ },
53
+ /** 是否固定侧栏 */
54
+ fixedSidebar: {
55
+ type: Boolean,
56
+ default: true
57
+ },
58
+ /** 是否固定内容区 */
59
+ fixedBody: {
60
+ type: Boolean,
61
+ default: true
62
+ },
63
+ /** 图标是否置于顶栏 */
64
+ logoInHeader: Boolean,
65
+ /** 是否需要固定的主页页签 */
66
+ fixedHome: {
67
+ type: Boolean,
68
+ default: true
69
+ },
70
+ /** 主页路由地址 */
71
+ homePath: String,
72
+ /** 刷新路由地址 */
73
+ redirectPath: {
74
+ type: String,
75
+ default: "/redirect"
76
+ },
77
+ /** 内容区是否撑满 */
78
+ fluid: {
79
+ type: Boolean,
80
+ default: true
81
+ },
82
+ /** 返回键退出内容区最大化 */
83
+ compressOnEsc: Boolean,
84
+ /** 固定主体时切换路由自动滚到顶部 */
85
+ autoScrollTop: {
86
+ type: Boolean,
87
+ default: true
88
+ },
89
+ /** 顶栏菜单触发模式 */
90
+ navTrigger: String,
91
+ /** 双侧栏一级菜单触发模式 */
92
+ boxTrigger: String,
93
+ /** 侧栏菜单触发模式 */
94
+ itemTrigger: String,
95
+ /** hover模式的菜单切换超时 */
96
+ menuHoverTimeout: {
97
+ type: Number,
98
+ default: 600
99
+ },
100
+ /** 菜单点击事件前钩子 */
101
+ beforeClick: Function,
102
+ /** 是否支持内嵌缓存 */
103
+ keepAlive: Boolean,
104
+ /** 内嵌切换动画 */
105
+ transitionName: String,
106
+ /** 内嵌进入动画延迟时间 */
107
+ transitionDelay: {
108
+ type: Number,
109
+ default: 250
110
+ },
111
+ /** 是否开启响应式 */
112
+ responsive: {
113
+ type: Boolean,
114
+ default: true
115
+ },
116
+ /** 国际化语言 */
117
+ locale: String,
118
+ /** 菜单标题国际化方法 */
119
+ i18n: Function,
120
+ /** 是否支持页签右键菜单 */
121
+ tabContextMenu: [Boolean, Object],
122
+ /** 右键菜单 */
123
+ tabContextMenus: [Array, Function],
124
+ /** 是否支持页签拖动排序 */
125
+ tabSortable: Boolean,
126
+ /** 顶栏菜单标题插槽名称 */
127
+ headerTitleSlot: {
128
+ type: String,
129
+ default: "title"
130
+ },
131
+ /** 顶栏菜单图标插槽名称 */
132
+ headerIconSlot: {
133
+ type: String,
134
+ default: "icon"
135
+ },
136
+ /** 侧栏菜单标题插槽名称 */
137
+ sidebarTitleSlot: {
138
+ type: String,
139
+ default: "title"
140
+ },
141
+ /** 侧栏菜单图标插槽名称 */
142
+ sidebarIconSlot: {
143
+ type: String,
144
+ default: "icon"
145
+ },
146
+ /** 双侧栏一级菜单标题插槽名称 */
147
+ sideboxTitleSlot: {
148
+ type: String,
149
+ default: "title"
150
+ },
151
+ /** 双侧栏一级菜单图标插槽名称 */
152
+ sideboxIconSlot: {
153
+ type: String,
154
+ default: "icon"
155
+ },
156
+ /** 顶栏样式 */
157
+ headerCustomStyle: Object,
158
+ /** 侧栏样式 */
159
+ sidebarCustomStyle: Object,
160
+ /** 双侧栏一级样式 */
161
+ sideboxCustomStyle: Object,
162
+ /** 页签栏样式 */
163
+ tabsCustomStyle: Object,
164
+ /** 内容区样式 */
165
+ contentCustomStyle: Object,
166
+ /** logo样式 */
167
+ logoStyle: Object,
168
+ /** logo文字样式 */
169
+ logoTitleStyle: Object,
170
+ /** 顶栏菜单样式 */
171
+ headerMenusStyle: Object,
172
+ /** 侧栏菜单样式 */
173
+ sidebarMenusStyle: Object,
174
+ /** 双侧栏一级菜单样式 */
175
+ sideboxMenusStyle: Object,
176
+ /** 顶栏菜单属性 */
177
+ headerMenuProps: Object,
178
+ /** 侧栏菜单属性 */
179
+ sidebarMenuProps: Object,
180
+ /** 双侧栏一级菜单属性 */
181
+ sideboxMenuProps: Object,
182
+ /** 顶栏菜单是否省略多余的子项 */
183
+ ellipsis: {
184
+ type: Boolean,
185
+ default: true
186
+ },
187
+ /** 顶栏菜单省略项的属性 */
188
+ ellipsisProps: Object,
189
+ /** 顶栏子菜单触发方式 */
190
+ menuTrigger: String,
191
+ /** 侧栏默认展开的菜单 */
192
+ sidebarOpeneds: Array,
193
+ /** 侧栏是否只保持一个子菜单展开 */
194
+ uniqueOpened: {
195
+ type: Boolean,
196
+ default: true
197
+ },
198
+ /** 侧栏菜单是否彩色图标 */
199
+ colorfulIcon: Boolean,
200
+ /** 菜单 tooltip 主题 */
201
+ tooltipEffect: String,
202
+ /** 是否开启菜单文本溢出提示 */
203
+ menuTextEllipsisTooltip: [Boolean, Object],
204
+ /** 内容区最大时不带页签栏 */
205
+ expanded: Boolean,
206
+ /** 面包屑导航分隔符 */
207
+ breadcrumbSeparator: [String, Object, Function],
208
+ /** 返回顶部可见的滚动高度 */
209
+ backTopVisibilityHeight: Number,
210
+ /** 返回顶部的右边距 */
211
+ backTopRight: Number,
212
+ /** 返回顶部的下边距 */
213
+ backTopBottom: Number,
214
+ /** 返回顶部的目标选择器 */
215
+ backTopTarget: String
216
+ };
217
+ const proLayoutEmits = {
218
+ "update:collapse": (_collapse) => true,
219
+ "update:maximized": (_maximized) => true,
220
+ tabAdd: (_data) => true,
221
+ tabClick: (_option) => true,
222
+ tabRemove: (_option) => true,
223
+ tabContextMenu: (_option) => true,
224
+ tabSortChange: (_data) => true,
225
+ logoClick: (_isHome, _e) => true,
226
+ headMenuOpen: (_index, _indexPath) => true,
227
+ headMenuClose: (_index, _indexPath) => true,
228
+ sideMenuOpen: (_index, _indexPath) => true,
229
+ sideMenuClose: (_index, _indexPath) => true,
230
+ bodySizeChange: (_option) => true
231
+ };
232
+ const PRO_LAYOUT_KEY = Symbol("proLayout");
233
+ export {
234
+ PRO_LAYOUT_KEY,
235
+ proLayoutEmits,
236
+ proLayoutProps
237
+ };
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,2 @@
1
+ import "../../ele-admin-layout/style/index";
2
+ import "./index.scss";
@@ -1,5 +1,12 @@
1
1
  import type { EleMenuItemProps } from '../ele-app/plus';
2
- export type { Layout, SidebarLayout, HeaderStyle, SidebarStyle, TabStyle, TabBar } from '../ele-admin-layout/types';
2
+ export type {
3
+ Layout,
4
+ SidebarLayout,
5
+ HeaderStyle,
6
+ SidebarStyle,
7
+ TabStyle,
8
+ TabBar
9
+ } from '../ele-admin-layout/types';
3
10
 
4
11
  /**
5
12
  * 菜单元数据
@@ -114,7 +121,9 @@ export interface MenuI18nOption {
114
121
  /**
115
122
  * 菜单标题国际化方法
116
123
  */
117
- export type MenuI18n = (option: MenuI18nOption) => string | undefined | null | void;
124
+ export type MenuI18n = (
125
+ option: MenuI18nOption
126
+ ) => string | undefined | null | void;
118
127
 
119
128
  /**
120
129
  * 页签事件参数
@@ -0,0 +1,88 @@
1
+ import { RouteLocationNormalizedLoaded, RouteLocationMatched } from 'vue-router';
2
+ import { EleMenuItemProps } from '../ele-app/plus';
3
+ import { LayoutProvide } from '../ele-admin-layout/types';
4
+ import { MenuItem, TabItem, LevelItem, MatchedResult, ProLayoutProvide, ResponsiveProps } from './types';
5
+
6
+ /**
7
+ * 根据菜单地址获取菜单
8
+ * @param path 菜单地址
9
+ * @param menus 菜单数据
10
+ */
11
+ export declare function findMenuByPath(path?: string, menus?: MenuItem[]): MenuItem | undefined;
12
+ /**
13
+ * 根据路由地址获取页签
14
+ * @param path 路由地址
15
+ * @param tabs 页签数据
16
+ */
17
+ export declare function findTabByPath(path?: string, tabs?: TabItem[] | null): TabItem | undefined;
18
+ /**
19
+ * 根据页签标识获取页签
20
+ * @param key 页签标识
21
+ * @param tabs 页签数据
22
+ */
23
+ export declare function findTabByKey(key?: string, tabs?: TabItem[] | null): TabItem | undefined;
24
+ /**
25
+ * 根据菜单地址获取菜单及所有父级
26
+ * @param path 菜单地址
27
+ * @param menus 菜单数据
28
+ */
29
+ export declare function getMatchedMenus(path: string, menus: MenuItem[], parents?: MenuItem[]): MenuItem[] | undefined;
30
+ /**
31
+ * 获取路由匹配的菜单数据
32
+ * @param route 路由信息
33
+ * @param menus 菜单数据
34
+ */
35
+ export declare function getRouteMatched(route: RouteLocationNormalizedLoaded, menus: MenuItem[]): MatchedResult;
36
+ /**
37
+ * 获取面包屑导航数据
38
+ * @param matched 匹配的菜单数据
39
+ * @param activeOther 是否选中非本身
40
+ * @param route 路由信息
41
+ * @param menus 菜单数据
42
+ * @param tabs 页签数据
43
+ */
44
+ export declare function getMatchedLevels(matched: MenuItem[] | undefined, activeOther: boolean | undefined, route: RouteLocationNormalizedLoaded, menus: MenuItem[], tabs: TabItem[]): LevelItem[];
45
+ /**
46
+ * 获取路由对应的组件名称
47
+ * @param matched 路由匹配数据
48
+ */
49
+ export declare function getMatchedComponents(matched: RouteLocationMatched[]): string[];
50
+ /**
51
+ * 返回路由对应的页签数据
52
+ * @param route 路由信息
53
+ * @param tabs 当前页签数据
54
+ * @param homePath 主页地址
55
+ * @param routeTitle 路由对应的标题
56
+ */
57
+ export declare function getRouteTab(route: RouteLocationNormalizedLoaded, tabs: TabItem[], homePath: string | undefined, routeTitle?: string): TabItem;
58
+ /**
59
+ * 获取选中菜单的子级
60
+ * @param menus 菜单数据
61
+ * @param active 选中地址
62
+ * @param childrenName 子级字段名称
63
+ */
64
+ export declare function getActiveChilds(menus: MenuItem[], active?: string, childrenName?: string): MenuItem[];
65
+ /**
66
+ * 拼接内嵌地址
67
+ * @param routePath 路由地址含参数
68
+ * @param iframeUrl 内嵌地址
69
+ */
70
+ export declare function getIframeSrc(routePath?: string, iframeUrl?: string): string;
71
+ /**
72
+ * 菜单数据转换
73
+ * @param menus 菜单数据
74
+ * @param link 是否使用超链接
75
+ */
76
+ export declare function getMenuItems(menus: MenuItem[], link: boolean): EleMenuItemProps[];
77
+ /**
78
+ * 获取布局共享数据
79
+ */
80
+ export declare function useLayoutState(): LayoutProvide;
81
+ /**
82
+ * 获取高级布局共享数据
83
+ */
84
+ export declare function useProLayoutState(): ProLayoutProvide;
85
+ /**
86
+ * 获取是否开启布局响应
87
+ */
88
+ export declare function useResponsive(props: ResponsiveProps): import('vue').ComputedRef<boolean>;