@gx-design-vue/pro-layout 0.1.0-beta.61 → 0.1.0-beta.62
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/Context.d.ts +28 -44
- package/dist/ProLayout.d.ts +267 -1070
- package/dist/{route.d.ts → RouteTypings.d.ts} +22 -20
- package/dist/SlotsTypings.d.ts +64 -0
- package/dist/WrapContent.d.ts +4 -3
- package/dist/_utils/ant-design-vue/badge.d.ts +1 -0
- package/dist/_utils/ant-design-vue/breadcrumb.d.ts +1 -0
- package/dist/_utils/ant-design-vue/index.d.ts +3 -0
- package/dist/_utils/ant-design-vue/menu.d.ts +2 -0
- package/dist/_utils/ant-design-vue/spin.d.ts +1 -0
- package/dist/components/AppsLogoComponents/AppLogoList.d.ts +16 -0
- package/dist/components/AppsLogoComponents/AppsLogo.d.ts +5 -0
- package/dist/components/AppsLogoComponents/DefaultContent.d.ts +20 -0
- package/dist/components/AppsLogoComponents/SimpleContent.d.ts +30 -0
- package/dist/components/AppsLogoComponents/index.d.ts +13 -0
- package/dist/components/AppsLogoComponents/props.d.ts +23 -0
- package/dist/components/AppsLogoComponents/style/default.d.ts +4 -0
- package/dist/components/AppsLogoComponents/style/index.d.ts +4 -0
- package/dist/components/AppsLogoComponents/style/simple.d.ts +4 -0
- package/dist/components/CollapsedIcon/index.d.ts +19 -0
- package/dist/components/CollapsedIcon/style.d.ts +6 -0
- package/dist/components/GIcon/index.d.ts +11 -0
- package/dist/components/GIcon/style.d.ts +4 -0
- package/dist/components/GlobalFooter/index.d.ts +10 -10
- package/dist/components/GlobalHeader/DefaultHeader.d.ts +208 -174
- package/dist/components/GlobalHeader/index.d.ts +117 -109
- package/dist/components/GlobalHeader/props.d.ts +86 -83
- package/dist/components/LogoContent/index.d.ts +23 -28
- package/dist/components/LogoContent/props.d.ts +4 -8
- package/dist/components/LogoContent/style.d.ts +3 -6
- package/dist/components/PageContainer/PageHeader.d.ts +7 -6
- package/dist/components/PageContainer/PageLoading.d.ts +29 -0
- package/dist/components/PageContainer/index.d.ts +50 -31
- package/dist/components/PageContainer/props.d.ts +24 -19
- package/dist/components/PageLock/Popup.d.ts +38 -0
- package/dist/components/PageLock/UserForm.d.ts +30 -0
- package/dist/components/PageLock/index.d.ts +52 -0
- package/dist/components/PageLock/props.d.ts +41 -0
- package/dist/components/PageLock/style.d.ts +4 -0
- package/dist/components/PageLock/useFormState.d.ts +11 -0
- package/dist/components/RightContent/Search/Panel.d.ts +26 -0
- package/dist/components/RightContent/Search/index.d.ts +35 -0
- package/dist/components/RightContent/Search/props.d.ts +9 -0
- package/dist/components/RightContent/Search/style.d.ts +4 -0
- package/dist/components/RightContent/index.d.ts +133 -0
- package/dist/components/RightContent/props.d.ts +70 -0
- package/dist/components/RightContent/style.d.ts +4 -0
- package/dist/components/SettingDrawer/BlockCheckbox.d.ts +4 -4
- package/dist/components/SettingDrawer/OthersChange.d.ts +5 -5
- package/dist/components/SettingDrawer/RegionalChange.d.ts +8 -8
- package/dist/components/SettingDrawer/ThemeColor.d.ts +6 -6
- package/dist/components/SettingDrawer/ThemeEditor.d.ts +17 -6
- package/dist/components/SettingDrawer/index.d.ts +88 -9
- package/dist/components/SettingDrawer/utils/config.d.ts +17 -1
- package/dist/components/SiderMenu/Arrow.d.ts +2 -0
- package/dist/components/SiderMenu/BaseMenu.d.ts +108 -100
- package/dist/components/SiderMenu/SiderMenu.d.ts +134 -119
- package/dist/components/SiderMenu/index.d.ts +135 -119
- package/dist/components/SiderMenu/props.d.ts +84 -77
- package/dist/components/SiderMenu/style/index.d.ts +4 -0
- package/dist/components/SiderMenu/{style.d.ts → style/menu.d.ts} +0 -2
- package/dist/components/SiderMenu/typings.d.ts +7 -7
- package/dist/components/TabsRoute/index.d.ts +97 -0
- package/dist/components/{MultiTab → TabsRoute}/props.d.ts +22 -10
- package/dist/components/{MultiTab → TabsRoute}/style.d.ts +1 -0
- package/dist/components/TabsRoute/utils/config.d.ts +14 -0
- package/dist/components/TabsRoute/utils/index.d.ts +1 -0
- package/dist/defaultSettings.d.ts +20 -31
- package/dist/hooks/theme/index.d.ts +16 -0
- package/dist/hooks/useClockTime/index.d.ts +9 -0
- package/dist/index.d.ts +23 -20
- package/dist/pro-layout.js +4817 -2872
- package/dist/pro-layout.umd.cjs +20 -1
- package/dist/props.d.ts +122 -109
- package/dist/style/index.d.ts +0 -7
- package/dist/typings.d.ts +19 -1
- package/dist/utils/coverToNewToken.d.ts +3 -4
- package/dist/utils/index.d.ts +11 -25
- package/dist/utils/menu.d.ts +13 -0
- package/dist/utils/style.d.ts +1 -0
- package/dist/utils/util.d.ts +7 -0
- package/package.json +10 -9
- package/dist/PageLoading.d.ts +0 -6
- package/dist/RenderTypings.d.ts +0 -29
- package/dist/components/MultiTab/index.d.ts +0 -81
- package/dist/components/MultiTab/utils/config.d.ts +0 -4
- package/dist/hooks/context/index.d.ts +0 -5
- package/dist/utils/getMenuData.d.ts +0 -9
- package/dist/utils/isImg/index.d.ts +0 -3
- package/dist/utils/isUrl/index.d.ts +0 -2
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { headerViewProps } from './props';
|
|
3
|
+
import type { AppRouteModule } from '../../RouteTypings';
|
|
4
|
+
export type GlobalHeaderProps = Partial<ExtractPropTypes<typeof headerViewProps>>;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
3
6
|
headerTitleRender: {
|
|
4
7
|
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<(props: any, defaultDom: import("@gx-design-vue/pro-utils/dist").CustomRender) => import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
5
8
|
default: () => undefined;
|
|
6
9
|
};
|
|
7
10
|
headerRender: {
|
|
8
|
-
type: import("vue").PropType<import("
|
|
11
|
+
type: import("vue").PropType<import("../../SlotsTypings").HeaderRender>;
|
|
9
12
|
default: () => undefined;
|
|
10
13
|
};
|
|
11
14
|
headerContentRender: {
|
|
12
|
-
type: import("vue").PropType<import("
|
|
15
|
+
type: import("vue").PropType<import("../../SlotsTypings").HeaderContentRender>;
|
|
13
16
|
default: () => undefined;
|
|
14
17
|
};
|
|
15
18
|
hasSiderMenu: import("vue").PropType<boolean>;
|
|
@@ -18,10 +21,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18
21
|
} & {
|
|
19
22
|
default: number;
|
|
20
23
|
};
|
|
21
|
-
siderWidth:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
default: number;
|
|
24
|
+
siderWidth: {
|
|
25
|
+
type: import("vue").PropType<number>;
|
|
26
|
+
default: undefined;
|
|
25
27
|
};
|
|
26
28
|
logo: {
|
|
27
29
|
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").CustomRender>;
|
|
@@ -31,18 +33,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
33
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
32
34
|
default: () => undefined;
|
|
33
35
|
};
|
|
34
|
-
logoDirection: {
|
|
35
|
-
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
36
|
menuLoading: import("vue").PropType<boolean>;
|
|
39
37
|
autoHideHeader: import("vue").PropType<boolean>;
|
|
40
|
-
collapsed: import("vue").PropType<boolean>;
|
|
41
38
|
isMobile: import("vue").PropType<boolean>;
|
|
42
|
-
headerTheme: {
|
|
43
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ThemeType>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
39
|
menuData: {
|
|
47
40
|
type: import("vue").PropType<AppRouteModule[]>;
|
|
48
41
|
default: () => never[];
|
|
@@ -51,16 +44,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
44
|
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<(props: any, defaultDom: import("@gx-design-vue/pro-utils/dist").CustomRender) => import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
52
45
|
default: () => undefined;
|
|
53
46
|
};
|
|
47
|
+
appLogoListRender: {
|
|
48
|
+
type: import("vue").PropType<import("../../SlotsTypings").DefaultRender>;
|
|
49
|
+
default: () => undefined;
|
|
50
|
+
};
|
|
54
51
|
extraRightDropdownRender: {
|
|
55
|
-
type: import("vue").PropType<import("../../
|
|
52
|
+
type: import("vue").PropType<import("../../SlotsTypings").DefaultRender>;
|
|
56
53
|
default: () => undefined;
|
|
57
54
|
};
|
|
58
55
|
rightContentRender: {
|
|
59
|
-
type: import("vue").PropType<import("../../
|
|
56
|
+
type: import("vue").PropType<import("../../SlotsTypings").RightContentRender>;
|
|
60
57
|
default: () => undefined;
|
|
61
58
|
};
|
|
62
59
|
collapsedButtonRender: {
|
|
63
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<(collapsed?:
|
|
60
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<(collapsed: boolean, dom?: import("@gx-design-vue/pro-utils/dist").CustomRender) => import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
64
61
|
default: () => undefined;
|
|
65
62
|
};
|
|
66
63
|
matchMenuKeys: {
|
|
@@ -77,17 +74,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
77
74
|
onSelect: {
|
|
78
75
|
type: import("vue").PropType<(selectedKeys: string[]) => void>;
|
|
79
76
|
};
|
|
77
|
+
toFirstPath: {
|
|
78
|
+
type: import("vue").PropType<boolean>;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
80
81
|
mode: {
|
|
81
82
|
type: import("vue").PropType<import("ant-design-vue").MenuMode>;
|
|
82
83
|
default: string;
|
|
83
84
|
};
|
|
84
|
-
|
|
85
|
-
type: import("vue").PropType<
|
|
86
|
-
default:
|
|
87
|
-
};
|
|
88
|
-
layout: {
|
|
89
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ThemeConfig["layout"]>;
|
|
90
|
-
default: string;
|
|
85
|
+
collapsed: {
|
|
86
|
+
type: import("vue").PropType<boolean>;
|
|
87
|
+
default: boolean;
|
|
91
88
|
};
|
|
92
89
|
openKeys: {
|
|
93
90
|
type: import("vue").PropType<string[] | boolean>;
|
|
@@ -109,53 +106,61 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
109
106
|
type: import("vue").PropType<import("../SiderMenu/BaseMenu").CustomMenuRender["subMenuItemRender"]>;
|
|
110
107
|
default: () => undefined;
|
|
111
108
|
};
|
|
112
|
-
onClick: import("vue").PropType<(
|
|
109
|
+
onClick: import("vue").PropType<(info: import("ant-design-vue/es/menu/src/interface").MenuInfo) => void>;
|
|
110
|
+
theme: {
|
|
111
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["theme"]>;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
layout: {
|
|
115
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["layout"]>;
|
|
116
|
+
default: import("@gx-design-vue/pro-provider/dist").ProLayoutType;
|
|
117
|
+
};
|
|
113
118
|
wideWidth: {
|
|
114
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
119
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["wideWidth"]>;
|
|
115
120
|
default: number | undefined;
|
|
116
121
|
};
|
|
117
122
|
splitMenus: {
|
|
118
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
123
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["splitMenus"]>;
|
|
119
124
|
default: boolean;
|
|
120
125
|
};
|
|
121
|
-
|
|
122
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
126
|
+
fixedTabsBar: {
|
|
127
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["fixedTabsBar"]>;
|
|
123
128
|
default: boolean;
|
|
124
129
|
};
|
|
125
130
|
showProgressBar: {
|
|
126
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
131
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["showProgressBar"]>;
|
|
127
132
|
default: boolean;
|
|
128
133
|
};
|
|
129
134
|
fixedHeader: {
|
|
130
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
135
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["fixedHeader"]>;
|
|
131
136
|
default: boolean;
|
|
132
137
|
};
|
|
133
138
|
fixSiderbar: {
|
|
134
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
139
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["fixSiderbar"]>;
|
|
135
140
|
default: boolean;
|
|
136
141
|
};
|
|
137
142
|
showTabsBar: {
|
|
138
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
143
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["showTabsBar"]>;
|
|
139
144
|
default: boolean;
|
|
140
145
|
};
|
|
141
|
-
|
|
142
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
143
|
-
default: boolean
|
|
146
|
+
storageTabsBar: {
|
|
147
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["storageTabsBar"]>;
|
|
148
|
+
default: boolean;
|
|
144
149
|
};
|
|
145
150
|
headerHeight: {
|
|
146
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
151
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["headerHeight"]>;
|
|
147
152
|
default: number | undefined;
|
|
148
153
|
};
|
|
149
154
|
title: {
|
|
150
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
155
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["title"]>;
|
|
151
156
|
default: string;
|
|
152
157
|
};
|
|
153
158
|
iconfontUrl: {
|
|
154
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
159
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["iconfontUrl"]>;
|
|
155
160
|
default: string | undefined;
|
|
156
161
|
};
|
|
157
162
|
animate: {
|
|
158
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
163
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["animate"]>;
|
|
159
164
|
default: {
|
|
160
165
|
disabled?: boolean;
|
|
161
166
|
name: string;
|
|
@@ -163,20 +168,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
163
168
|
} | undefined;
|
|
164
169
|
};
|
|
165
170
|
primaryColor: {
|
|
166
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
171
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["primaryColor"]>;
|
|
167
172
|
default: string;
|
|
168
173
|
};
|
|
169
|
-
}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
174
|
+
}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
170
175
|
headerTitleRender: {
|
|
171
176
|
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<(props: any, defaultDom: import("@gx-design-vue/pro-utils/dist").CustomRender) => import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
172
177
|
default: () => undefined;
|
|
173
178
|
};
|
|
174
179
|
headerRender: {
|
|
175
|
-
type: import("vue").PropType<import("
|
|
180
|
+
type: import("vue").PropType<import("../../SlotsTypings").HeaderRender>;
|
|
176
181
|
default: () => undefined;
|
|
177
182
|
};
|
|
178
183
|
headerContentRender: {
|
|
179
|
-
type: import("vue").PropType<import("
|
|
184
|
+
type: import("vue").PropType<import("../../SlotsTypings").HeaderContentRender>;
|
|
180
185
|
default: () => undefined;
|
|
181
186
|
};
|
|
182
187
|
hasSiderMenu: import("vue").PropType<boolean>;
|
|
@@ -185,10 +190,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
185
190
|
} & {
|
|
186
191
|
default: number;
|
|
187
192
|
};
|
|
188
|
-
siderWidth:
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
default: number;
|
|
193
|
+
siderWidth: {
|
|
194
|
+
type: import("vue").PropType<number>;
|
|
195
|
+
default: undefined;
|
|
192
196
|
};
|
|
193
197
|
logo: {
|
|
194
198
|
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").CustomRender>;
|
|
@@ -198,18 +202,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
198
202
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
199
203
|
default: () => undefined;
|
|
200
204
|
};
|
|
201
|
-
logoDirection: {
|
|
202
|
-
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
203
|
-
default: string;
|
|
204
|
-
};
|
|
205
205
|
menuLoading: import("vue").PropType<boolean>;
|
|
206
206
|
autoHideHeader: import("vue").PropType<boolean>;
|
|
207
|
-
collapsed: import("vue").PropType<boolean>;
|
|
208
207
|
isMobile: import("vue").PropType<boolean>;
|
|
209
|
-
headerTheme: {
|
|
210
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ThemeType>;
|
|
211
|
-
default: string;
|
|
212
|
-
};
|
|
213
208
|
menuData: {
|
|
214
209
|
type: import("vue").PropType<AppRouteModule[]>;
|
|
215
210
|
default: () => never[];
|
|
@@ -218,16 +213,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
218
213
|
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<(props: any, defaultDom: import("@gx-design-vue/pro-utils/dist").CustomRender) => import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
219
214
|
default: () => undefined;
|
|
220
215
|
};
|
|
216
|
+
appLogoListRender: {
|
|
217
|
+
type: import("vue").PropType<import("../../SlotsTypings").DefaultRender>;
|
|
218
|
+
default: () => undefined;
|
|
219
|
+
};
|
|
221
220
|
extraRightDropdownRender: {
|
|
222
|
-
type: import("vue").PropType<import("../../
|
|
221
|
+
type: import("vue").PropType<import("../../SlotsTypings").DefaultRender>;
|
|
223
222
|
default: () => undefined;
|
|
224
223
|
};
|
|
225
224
|
rightContentRender: {
|
|
226
|
-
type: import("vue").PropType<import("../../
|
|
225
|
+
type: import("vue").PropType<import("../../SlotsTypings").RightContentRender>;
|
|
227
226
|
default: () => undefined;
|
|
228
227
|
};
|
|
229
228
|
collapsedButtonRender: {
|
|
230
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<(collapsed?:
|
|
229
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<(collapsed: boolean, dom?: import("@gx-design-vue/pro-utils/dist").CustomRender) => import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
231
230
|
default: () => undefined;
|
|
232
231
|
};
|
|
233
232
|
matchMenuKeys: {
|
|
@@ -244,17 +243,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
244
243
|
onSelect: {
|
|
245
244
|
type: import("vue").PropType<(selectedKeys: string[]) => void>;
|
|
246
245
|
};
|
|
246
|
+
toFirstPath: {
|
|
247
|
+
type: import("vue").PropType<boolean>;
|
|
248
|
+
default: undefined;
|
|
249
|
+
};
|
|
247
250
|
mode: {
|
|
248
251
|
type: import("vue").PropType<import("ant-design-vue").MenuMode>;
|
|
249
252
|
default: string;
|
|
250
253
|
};
|
|
251
|
-
|
|
252
|
-
type: import("vue").PropType<
|
|
253
|
-
default:
|
|
254
|
-
};
|
|
255
|
-
layout: {
|
|
256
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ThemeConfig["layout"]>;
|
|
257
|
-
default: string;
|
|
254
|
+
collapsed: {
|
|
255
|
+
type: import("vue").PropType<boolean>;
|
|
256
|
+
default: boolean;
|
|
258
257
|
};
|
|
259
258
|
openKeys: {
|
|
260
259
|
type: import("vue").PropType<string[] | boolean>;
|
|
@@ -276,53 +275,61 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
276
275
|
type: import("vue").PropType<import("../SiderMenu/BaseMenu").CustomMenuRender["subMenuItemRender"]>;
|
|
277
276
|
default: () => undefined;
|
|
278
277
|
};
|
|
279
|
-
onClick: import("vue").PropType<(
|
|
278
|
+
onClick: import("vue").PropType<(info: import("ant-design-vue/es/menu/src/interface").MenuInfo) => void>;
|
|
279
|
+
theme: {
|
|
280
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["theme"]>;
|
|
281
|
+
default: string;
|
|
282
|
+
};
|
|
283
|
+
layout: {
|
|
284
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["layout"]>;
|
|
285
|
+
default: import("@gx-design-vue/pro-provider/dist").ProLayoutType;
|
|
286
|
+
};
|
|
280
287
|
wideWidth: {
|
|
281
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
288
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["wideWidth"]>;
|
|
282
289
|
default: number | undefined;
|
|
283
290
|
};
|
|
284
291
|
splitMenus: {
|
|
285
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
292
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["splitMenus"]>;
|
|
286
293
|
default: boolean;
|
|
287
294
|
};
|
|
288
|
-
|
|
289
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
295
|
+
fixedTabsBar: {
|
|
296
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["fixedTabsBar"]>;
|
|
290
297
|
default: boolean;
|
|
291
298
|
};
|
|
292
299
|
showProgressBar: {
|
|
293
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
300
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["showProgressBar"]>;
|
|
294
301
|
default: boolean;
|
|
295
302
|
};
|
|
296
303
|
fixedHeader: {
|
|
297
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
304
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["fixedHeader"]>;
|
|
298
305
|
default: boolean;
|
|
299
306
|
};
|
|
300
307
|
fixSiderbar: {
|
|
301
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
308
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["fixSiderbar"]>;
|
|
302
309
|
default: boolean;
|
|
303
310
|
};
|
|
304
311
|
showTabsBar: {
|
|
305
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
312
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["showTabsBar"]>;
|
|
306
313
|
default: boolean;
|
|
307
314
|
};
|
|
308
|
-
|
|
309
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
310
|
-
default: boolean
|
|
315
|
+
storageTabsBar: {
|
|
316
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["storageTabsBar"]>;
|
|
317
|
+
default: boolean;
|
|
311
318
|
};
|
|
312
319
|
headerHeight: {
|
|
313
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
320
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["headerHeight"]>;
|
|
314
321
|
default: number | undefined;
|
|
315
322
|
};
|
|
316
323
|
title: {
|
|
317
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
324
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["title"]>;
|
|
318
325
|
default: string;
|
|
319
326
|
};
|
|
320
327
|
iconfontUrl: {
|
|
321
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
328
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["iconfontUrl"]>;
|
|
322
329
|
default: string | undefined;
|
|
323
330
|
};
|
|
324
331
|
animate: {
|
|
325
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
332
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["animate"]>;
|
|
326
333
|
default: {
|
|
327
334
|
disabled?: boolean;
|
|
328
335
|
name: string;
|
|
@@ -330,26 +337,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
330
337
|
} | undefined;
|
|
331
338
|
};
|
|
332
339
|
primaryColor: {
|
|
333
|
-
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").
|
|
340
|
+
type: import("vue").PropType<import("@gx-design-vue/pro-provider/dist").ProLayoutConfig["primaryColor"]>;
|
|
334
341
|
default: string;
|
|
335
342
|
};
|
|
336
343
|
}>> & Readonly<{}>, {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
menuData: AppRouteModule[];
|
|
340
|
-
layout: import("@gx-design-vue/pro-provider/dist").ThemeLayout;
|
|
341
|
-
theme: import("@gx-design-vue/pro-provider/dist").ThemeType;
|
|
342
|
-
splitMenus: boolean;
|
|
343
|
-
headerHeight: number | undefined;
|
|
344
|
-
fixSiderbar: boolean;
|
|
345
|
-
fixedHeader: boolean;
|
|
346
|
-
siderWidth: number;
|
|
347
|
-
title: string;
|
|
344
|
+
theme: import("@gx-design-vue/pro-provider/dist").BaseMenuTheme;
|
|
345
|
+
layout: import("@gx-design-vue/pro-provider/dist").ProLayoutType;
|
|
348
346
|
wideWidth: number | undefined;
|
|
349
|
-
|
|
347
|
+
splitMenus: boolean;
|
|
348
|
+
fixedTabsBar: boolean;
|
|
350
349
|
showProgressBar: boolean;
|
|
350
|
+
fixedHeader: boolean;
|
|
351
|
+
fixSiderbar: boolean;
|
|
351
352
|
showTabsBar: boolean;
|
|
352
|
-
|
|
353
|
+
storageTabsBar: boolean;
|
|
354
|
+
headerHeight: number | undefined;
|
|
355
|
+
title: string;
|
|
353
356
|
iconfontUrl: string | undefined;
|
|
354
357
|
animate: {
|
|
355
358
|
disabled?: boolean;
|
|
@@ -359,27 +362,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
359
362
|
primaryColor: string;
|
|
360
363
|
menuItemRender: import("@gx-design-vue/pro-utils/dist").WithFalse<(args: {
|
|
361
364
|
item: AppRouteModule;
|
|
362
|
-
title?:
|
|
363
|
-
icon?:
|
|
365
|
+
title?: import("@gx-design-vue/pro-utils/dist").CustomRender;
|
|
366
|
+
icon?: import("@gx-design-vue/pro-utils/dist").CustomRender;
|
|
364
367
|
}) => import("@gx-design-vue/pro-utils/dist").CustomRender> | undefined;
|
|
365
368
|
subMenuItemRender: import("@gx-design-vue/pro-utils/dist").WithFalse<(args: {
|
|
366
369
|
item: AppRouteModule;
|
|
367
370
|
children?: import("@gx-design-vue/pro-utils/dist").CustomRender[];
|
|
368
371
|
}) => import("@gx-design-vue/pro-utils/dist").CustomRender> | undefined;
|
|
372
|
+
toFirstPath: boolean;
|
|
369
373
|
mode: import("ant-design-vue").MenuMode;
|
|
374
|
+
menuData: AppRouteModule[];
|
|
375
|
+
collapsed: boolean;
|
|
376
|
+
openKeys: boolean | string[];
|
|
377
|
+
selectedKeys: string[];
|
|
370
378
|
menuProps: Record<string, any>;
|
|
371
379
|
collapsedWidth: number;
|
|
372
380
|
logo: import("@gx-design-vue/pro-utils/dist").CustomRender;
|
|
373
381
|
logoStyle: import("vue").CSSProperties;
|
|
374
|
-
|
|
375
|
-
|
|
382
|
+
siderWidth: number;
|
|
383
|
+
appLogoListRender: import("../../SlotsTypings").DefaultRender;
|
|
384
|
+
collapsedButtonRender: import("@gx-design-vue/pro-utils/dist").WithFalse<(collapsed: boolean, dom?: import("@gx-design-vue/pro-utils/dist").CustomRender) => import("@gx-design-vue/pro-utils/dist").CustomRender>;
|
|
376
385
|
matchMenuKeys: string[];
|
|
377
|
-
headerTheme: import("@gx-design-vue/pro-provider/dist").ThemeType;
|
|
378
386
|
menuRender: import("@gx-design-vue/pro-utils/dist").WithFalse<(props: any, defaultDom: import("@gx-design-vue/pro-utils/dist").CustomRender) => import("@gx-design-vue/pro-utils/dist").CustomRender>;
|
|
379
|
-
extraRightDropdownRender: import("../../
|
|
380
|
-
rightContentRender: import("../../
|
|
387
|
+
extraRightDropdownRender: import("../../SlotsTypings").DefaultRender;
|
|
388
|
+
rightContentRender: import("../../SlotsTypings").RightContentRender;
|
|
381
389
|
headerTitleRender: import("@gx-design-vue/pro-utils/dist").WithFalse<(props: any, defaultDom: import("@gx-design-vue/pro-utils/dist").CustomRender) => import("@gx-design-vue/pro-utils/dist").CustomRender>;
|
|
382
|
-
headerRender: import("
|
|
383
|
-
headerContentRender: import("
|
|
390
|
+
headerRender: import("../../SlotsTypings").HeaderRender;
|
|
391
|
+
headerContentRender: import("../../SlotsTypings").HeaderContentRender;
|
|
384
392
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
385
393
|
export default _default;
|