@gx-design-vue/pro-layout 0.1.0-alpha.13 → 0.1.0-alpha.15
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/ProLayout.d.ts +1 -2
- package/dist/ProLayout.js +1 -1
- package/dist/components/AppPage/index.d.ts +4 -6
- package/dist/components/AppPage/style.d.ts +1 -2
- package/dist/components/Breadcrumb/index.d.ts +2 -3
- package/dist/components/CollapseButton/Arrow.d.ts +1 -3
- package/dist/components/CollapseButton/index.d.ts +1 -2
- package/dist/components/Footer/index.d.ts +2 -3
- package/dist/components/FooterToolbar/index.d.ts +2 -3
- package/dist/components/FooterToolbar/style.d.ts +1 -2
- package/dist/components/Header/index.d.ts +1 -2
- package/dist/components/Logo/index.d.ts +1 -2
- package/dist/components/Menu/SiderMenu.d.ts +1 -2
- package/dist/components/Menu/index.d.ts +1 -2
- package/dist/components/Menu/style/siderMenu.d.ts +1 -2
- package/dist/components/PageContainer/PageHeader.d.ts +2 -3
- package/dist/components/PageContainer/index.d.ts +1 -2
- package/dist/components/PageContainer/index.js +21 -10
- package/dist/components/PageContainer/style.d.ts +1 -3
- package/dist/components/PageTransition/index.d.ts +4 -5
- package/dist/components/PageTransition/style.d.ts +1 -2
- package/dist/components/Sider/index.d.ts +1 -2
- package/dist/components/Tabs/InnerTabs.d.ts +1 -2
- package/dist/components/Tabs/index.d.ts +1 -2
- package/dist/components/Tabs/style/index.d.ts +1 -2
- package/dist/components/WrapContent/index.d.ts +2 -3
- package/dist/hooks/useLayoutBase.d.ts +44 -47
- package/dist/hooks/useMenu.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/interface.d.ts +4 -8
- package/dist/pro-layout.esm.js +287 -269
- package/dist/pro-layout.js +2 -2
- package/dist/style/index.d.ts +1 -3
- package/dist/utils/themeComponents.js +1 -1
- package/package.json +22 -12
package/dist/ProLayout.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { GProLayoutEmits, GProLayoutProps, GProLayoutSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/ProLayout.d.ts
|
|
6
|
-
declare const GProLayout:
|
|
5
|
+
declare const GProLayout: import("vue").DefineSetupFnComponent<GProLayoutProps, GProLayoutEmits, SlotsType<GProLayoutSlots>, GProLayoutProps, import("vue").PublicProps>;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { GProLayout as default };
|
package/dist/ProLayout.js
CHANGED
|
@@ -303,7 +303,7 @@ const GProLayout = /* @__PURE__ */ defineComponent((props, { emit, expose, slots
|
|
|
303
303
|
])] })] })] })] });
|
|
304
304
|
};
|
|
305
305
|
}, {
|
|
306
|
-
props:
|
|
306
|
+
props: /*@__PURE__*/ mergeDefaults({
|
|
307
307
|
layout: {
|
|
308
308
|
type: String,
|
|
309
309
|
required: false
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AppPageSpinning } from "../../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { CSSProperties, PropType, SlotsType } from "vue";
|
|
4
3
|
import { CustomRender } from "@gx-design-vue/pro-utils";
|
|
5
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
6
4
|
import { ConfigOptions } from "antdv-next/dist/message/interface";
|
|
7
5
|
import { NotificationConfig } from "antdv-next/dist/notification/interface";
|
|
8
6
|
|
|
@@ -13,7 +11,7 @@ import { NotificationConfig } from "antdv-next/dist/notification/interface";
|
|
|
13
11
|
* ① 全局滚动容器;② 全局 loading 遮罩;
|
|
14
12
|
* ③ 经 GProApp context 向后代下发 emptyText / indicator(供 pro-table 等空态/加载态复用)。
|
|
15
13
|
*/
|
|
16
|
-
declare const ProAppPage:
|
|
14
|
+
declare const ProAppPage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
15
|
class: PropType<string>;
|
|
18
16
|
style: PropType<CSSProperties>;
|
|
19
17
|
prefixCls: PropType<string>;
|
|
@@ -27,7 +25,7 @@ declare const ProAppPage: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
27
25
|
};
|
|
28
26
|
message: PropType<ConfigOptions>;
|
|
29
27
|
notification: PropType<NotificationConfig>;
|
|
30
|
-
}>, () =>
|
|
28
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
29
|
class: PropType<string>;
|
|
32
30
|
style: PropType<CSSProperties>;
|
|
33
31
|
prefixCls: PropType<string>;
|
|
@@ -42,11 +40,11 @@ declare const ProAppPage: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
42
40
|
message: PropType<ConfigOptions>;
|
|
43
41
|
notification: PropType<NotificationConfig>;
|
|
44
42
|
}>> & Readonly<{}>, {
|
|
45
|
-
indicator: CustomRender;
|
|
46
43
|
spinning: AppPageSpinning;
|
|
44
|
+
indicator: CustomRender;
|
|
47
45
|
}, SlotsType<{
|
|
48
46
|
default: () => any;
|
|
49
47
|
indicator: () => any;
|
|
50
|
-
}>, {}, {}, string,
|
|
48
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { ProAppPage as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { ProFullToken } from "@gx-design-vue/pro-provider";
|
|
3
2
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
3
|
import { GenerateStyle } from "antdv-next/dist/theme/internal";
|
|
@@ -7,6 +6,6 @@ import { GenerateStyle } from "antdv-next/dist/theme/internal";
|
|
|
7
6
|
type ComponentToken = Record<string, any>;
|
|
8
7
|
/** GProAppPage 样式:应用壳容器 + loading 遮罩。 */
|
|
9
8
|
declare const genAppPageStyle: GenerateStyle<ProFullToken<'ProAppPage'>, CSSObject>;
|
|
10
|
-
declare const _default: (prefixCls:
|
|
9
|
+
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
11
10
|
//#endregion
|
|
12
11
|
export { ComponentToken, _default as default, genAppPageStyle };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LayoutBreadcrumbProps, LayoutBreadcrumbSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/Breadcrumb/index.d.ts
|
|
@@ -13,8 +12,8 @@ import { SlotsType } from "vue";
|
|
|
13
12
|
* - 下拉子菜单(有子节点的层级鼠标悬停展示)
|
|
14
13
|
* - 点击导航(非当前页层级可点击跳转)
|
|
15
14
|
*/
|
|
16
|
-
declare const Breadcrumb:
|
|
15
|
+
declare const Breadcrumb: import("vue").DefineSetupFnComponent<LayoutBreadcrumbProps, Record<string, never>, SlotsType<LayoutBreadcrumbSlots>, LayoutBreadcrumbProps & {
|
|
17
16
|
[x: `on${Capitalize<string>}`]: (...args: unknown[]) => any;
|
|
18
|
-
},
|
|
17
|
+
}, import("vue").PublicProps>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { Breadcrumb as default };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
2
|
-
|
|
3
1
|
//#region src/components/CollapseButton/Arrow.d.ts
|
|
4
|
-
declare function ArrowSvgIcon():
|
|
2
|
+
declare function ArrowSvgIcon(): import("vue/jsx-runtime").JSX.Element;
|
|
5
3
|
//#endregion
|
|
6
4
|
export { ArrowSvgIcon };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { LayoutCollapseButtonEmits, LayoutCollapseButtonProps, LayoutCollapseButtonSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/CollapseButton/index.d.ts
|
|
6
|
-
declare const LayoutCollapseButton:
|
|
5
|
+
declare const LayoutCollapseButton: import("vue").DefineSetupFnComponent<LayoutCollapseButtonProps, LayoutCollapseButtonEmits, SlotsType<LayoutCollapseButtonSlots>, LayoutCollapseButtonProps, import("vue").PublicProps>;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { LayoutCollapseButton as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { LayoutFooterProps, LayoutFooterSlots } from "./interface.js";
|
|
2
2
|
import { EmptyEmits } from "../../interface.js";
|
|
3
|
-
import * as _$vue from "vue";
|
|
4
3
|
import { SlotsType } from "vue";
|
|
5
4
|
|
|
6
5
|
//#region src/components/Footer/index.d.ts
|
|
7
|
-
declare const LayoutFooter:
|
|
6
|
+
declare const LayoutFooter: import("vue").DefineSetupFnComponent<LayoutFooterProps, EmptyEmits, SlotsType<LayoutFooterSlots>, LayoutFooterProps & {
|
|
8
7
|
[x: `on${Capitalize<string>}`]: (...args: unknown[]) => any;
|
|
9
|
-
},
|
|
8
|
+
}, import("vue").PublicProps>;
|
|
10
9
|
//#endregion
|
|
11
10
|
export { LayoutFooter as default };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { GFooterToolbarProps, GFooterToolbarSlots } from "../../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/FooterToolbar/index.d.ts
|
|
6
|
-
declare const GFooterToolbar:
|
|
5
|
+
declare const GFooterToolbar: import("vue").DefineSetupFnComponent<GFooterToolbarProps, Record<string, never>, SlotsType<GFooterToolbarSlots>, GFooterToolbarProps & {
|
|
7
6
|
[x: `on${Capitalize<string>}`]: (...args: unknown[]) => any;
|
|
8
|
-
},
|
|
7
|
+
}, import("vue").PublicProps>;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { GFooterToolbar as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { ProFullToken } from "@gx-design-vue/pro-provider";
|
|
3
2
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
3
|
import { GenerateStyle } from "antdv-next/dist/theme/internal";
|
|
@@ -6,6 +5,6 @@ import { GenerateStyle } from "antdv-next/dist/theme/internal";
|
|
|
6
5
|
//#region src/components/FooterToolbar/style.d.ts
|
|
7
6
|
type ComponentToken = Record<string, any>;
|
|
8
7
|
declare const genFooterToolbarStyle: GenerateStyle<ProFullToken<'ProFooterToolbar'>, CSSObject>;
|
|
9
|
-
declare const _default: (prefixCls:
|
|
8
|
+
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
10
9
|
//#endregion
|
|
11
10
|
export { ComponentToken, _default as default, genFooterToolbarStyle };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { LayoutHeaderEmits, LayoutHeaderProps, LayoutHeaderSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/Header/index.d.ts
|
|
6
|
-
declare const Header:
|
|
5
|
+
declare const Header: import("vue").DefineSetupFnComponent<LayoutHeaderProps, LayoutHeaderEmits, SlotsType<LayoutHeaderSlots>, LayoutHeaderProps, import("vue").PublicProps>;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { Header as default };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { LayoutLogoEmits, LayoutLogoEmitsProps, LayoutLogoSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
import { CustomRender } from "@gx-design-vue/pro-utils";
|
|
5
4
|
|
|
6
5
|
//#region src/components/Logo/index.d.ts
|
|
7
6
|
declare function defaultRenderLogo(logo?: CustomRender | false): any;
|
|
8
|
-
declare const LayoutLogo:
|
|
7
|
+
declare const LayoutLogo: import("vue").DefineSetupFnComponent<LayoutLogoEmitsProps, LayoutLogoEmits, SlotsType<LayoutLogoSlots>, LayoutLogoEmitsProps, import("vue").PublicProps>;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { LayoutLogo as default, defaultRenderLogo };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LayoutMenuEmits, LayoutMenuSlots } from "./interface.js";
|
|
2
2
|
import { LayoutClassNamesType, LayoutMenuItemSlotProps, LayoutMenuRoute, LayoutStylesType } from "../../interface.js";
|
|
3
|
-
import * as _$vue from "vue";
|
|
4
3
|
import { CSSProperties, SlotsType } from "vue";
|
|
5
4
|
import { CustomRender } from "@gx-design-vue/pro-utils";
|
|
6
5
|
|
|
@@ -25,6 +24,6 @@ interface SiderMenuProps {
|
|
|
25
24
|
'onUpdate:selectedKeys'?: LayoutMenuEmits['update:selectedKeys'];
|
|
26
25
|
'onUpdate:openKeys'?: LayoutMenuEmits['update:openKeys'];
|
|
27
26
|
}
|
|
28
|
-
declare const SiderMenu:
|
|
27
|
+
declare const SiderMenu: import("vue").DefineSetupFnComponent<SiderMenuProps, LayoutMenuEmits, SlotsType<LayoutMenuSlots>, SiderMenuProps, import("vue").PublicProps>;
|
|
29
28
|
//#endregion
|
|
30
29
|
export { SiderMenu as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LayoutMenuEmits, LayoutMenuProps, LayoutMenuSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/Menu/index.d.ts
|
|
@@ -10,6 +9,6 @@ import { SlotsType } from "vue";
|
|
|
10
9
|
* 视觉定制通过 `menuItemIcon`/`menuItemLabel`/`menuItemExtra`(prop 或同名 slot,prop 优先)
|
|
11
10
|
* 注入 antdv-next 的 `iconRender`/`labelRender`/`extraRender`。可脱离 GProLayout 独立使用。
|
|
12
11
|
*/
|
|
13
|
-
declare const LayoutMenu:
|
|
12
|
+
declare const LayoutMenu: import("vue").DefineSetupFnComponent<LayoutMenuProps, LayoutMenuEmits, SlotsType<LayoutMenuSlots>, LayoutMenuProps, import("vue").PublicProps>;
|
|
14
13
|
//#endregion
|
|
15
14
|
export { LayoutMenu as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { CSSProperties } from "vue";
|
|
3
2
|
import { GetDefaultToken } from "antdv-next/dist/theme/internal";
|
|
4
3
|
|
|
@@ -293,6 +292,6 @@ interface ComponentToken {
|
|
|
293
292
|
itemWidth: number | string;
|
|
294
293
|
}
|
|
295
294
|
declare const prepareComponentToken: GetDefaultToken<'ProSiderMenu'>;
|
|
296
|
-
declare const _default: (prefixCls:
|
|
295
|
+
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
297
296
|
//#endregion
|
|
298
297
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BreadcrumbItemType, LayoutBreadcrumbConfig, LayoutBreadcrumbSlotProps, LayoutMenuRoute, PageContainerClassNamesType, PageContainerStylesType } from "../../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/PageContainer/PageHeader.d.ts
|
|
@@ -27,8 +26,8 @@ interface PageHeaderSlots {
|
|
|
27
26
|
* 负责渲染:面包屑行 + 标题行(标题 + headerContent + extra)+ 全屏关闭按钮。
|
|
28
27
|
* 所有渲染所需数据通过 props 传入,不自行读取 layout context。
|
|
29
28
|
*/
|
|
30
|
-
declare const PageHeader:
|
|
29
|
+
declare const PageHeader: import("vue").DefineSetupFnComponent<PageHeaderProps, Record<string, never>, SlotsType<PageHeaderSlots>, PageHeaderProps & {
|
|
31
30
|
[x: `on${Capitalize<string>}`]: (...args: unknown[]) => any;
|
|
32
|
-
},
|
|
31
|
+
}, import("vue").PublicProps>;
|
|
33
32
|
//#endregion
|
|
34
33
|
export { PageHeader as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GPageContainerEmits, GPageContainerProps, GPageContainerSlots } from "../../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/PageContainer/index.d.ts
|
|
@@ -7,6 +6,6 @@ import { SlotsType } from "vue";
|
|
|
7
6
|
* GPageContainer —— 页面容器:页头(面包屑 + 标题 + 操作)+ 内容卡片 + loading 遮罩 + 水印。
|
|
8
7
|
* 可独立使用;置于 `GProLayout` 内时通过 layout context 读取面包屑数据与全屏态。
|
|
9
8
|
*/
|
|
10
|
-
declare const ProPageContainer:
|
|
9
|
+
declare const ProPageContainer: import("vue").DefineSetupFnComponent<GPageContainerProps, GPageContainerEmits, SlotsType<GPageContainerSlots>, GPageContainerProps, import("vue").PublicProps>;
|
|
11
10
|
//#endregion
|
|
12
11
|
export { ProPageContainer as default };
|
|
@@ -3,7 +3,7 @@ import { useAppPageContext } from "../AppPage/context.js";
|
|
|
3
3
|
import GFooterToolbar from "../FooterToolbar/index.js";
|
|
4
4
|
import PageHeader from "./PageHeader.js";
|
|
5
5
|
import style_default from "./style.js";
|
|
6
|
-
import { Fragment, computed, createVNode, defineComponent, isVNode, onScopeDispose, watch, watchEffect } from "vue";
|
|
6
|
+
import { Fragment, computed, createVNode, defineComponent, isVNode, mergeProps, onScopeDispose, watch, watchEffect } from "vue";
|
|
7
7
|
import { unit } from "@gx-design-vue/pro-provider";
|
|
8
8
|
import { classNames } from "@gx-design-vue/pro-utils";
|
|
9
9
|
import { Card, Spin, Watermark } from "antdv-next";
|
|
@@ -118,15 +118,23 @@ const ProPageContainer = /* @__PURE__ */ defineComponent((props, { slots, emit }
|
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
function renderBody() {
|
|
121
|
-
const innerClass = classNames(`${prefixCls.value}-content-inner`, spinning.value && (loadingState.value.blur ? `${prefixCls.value}-content-blur` : `${prefixCls.value}-content-mask`));
|
|
121
|
+
const innerClass = classNames(`${prefixCls.value}-content-inner`, spinning.value && (loadingState.value.blur ? `${prefixCls.value}-content-blur` : `${prefixCls.value}-content-mask`), props.proClasses?.body);
|
|
122
122
|
const cardClass = regionClass("card");
|
|
123
|
-
const cardNode = cardEnabled.value ? createVNode(Card, {
|
|
124
|
-
"
|
|
125
|
-
"classes": {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
123
|
+
const cardNode = cardEnabled.value ? createVNode(Card, mergeProps(cardConfig.value, {
|
|
124
|
+
"style": props.proStyles?.card,
|
|
125
|
+
"classes": {
|
|
126
|
+
...cardConfig.value.classes || {},
|
|
127
|
+
root: classNames(cardConfig.value.classes?.root, cardClass),
|
|
128
|
+
body: classNames(cardConfig.value.classes?.body, regionClass("card-body"))
|
|
129
|
+
},
|
|
130
|
+
"styles": {
|
|
131
|
+
...cardConfig.value.styles || {},
|
|
132
|
+
root: {
|
|
133
|
+
...cardConfig.value.styles?.root || {},
|
|
134
|
+
...props.proStyles?.card || {}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}), { default: () => [slots.default?.()] }) : createVNode("div", {
|
|
130
138
|
"class": cardClass,
|
|
131
139
|
"style": props.proStyles?.card
|
|
132
140
|
}, [slots.default?.()]);
|
|
@@ -136,7 +144,10 @@ const ProPageContainer = /* @__PURE__ */ defineComponent((props, { slots, emit }
|
|
|
136
144
|
}, [spinning.value && createVNode("div", { "class": `${prefixCls.value}-spinning` }, [createVNode(Spin, {
|
|
137
145
|
"spinning": true,
|
|
138
146
|
"tip": loadingState.value.tip
|
|
139
|
-
}, null)]), createVNode("div", {
|
|
147
|
+
}, null)]), createVNode("div", {
|
|
148
|
+
"class": innerClass,
|
|
149
|
+
"style": props.proClasses.body
|
|
150
|
+
}, [cardNode])]);
|
|
140
151
|
}
|
|
141
152
|
function renderContent() {
|
|
142
153
|
if (props.watermark || watermark?.value) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
|
-
|
|
3
1
|
//#region src/components/PageContainer/style.d.ts
|
|
4
2
|
type ComponentToken = Record<string, any>;
|
|
5
|
-
declare const _default: (prefixCls:
|
|
3
|
+
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
6
4
|
//#endregion
|
|
7
5
|
export { ComponentToken, _default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GPageTransitionSlots } from "../../interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { PropType, SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/PageTransition/index.d.ts
|
|
@@ -8,7 +7,7 @@ import { PropType, SlotsType } from "vue";
|
|
|
8
7
|
* 通过 `name`/`direction` 选择 animate.css 预设动画;`reverse` 控制离场时方向倒放;
|
|
9
8
|
* `disabled` 时直接渲染子节点、不套动画。
|
|
10
9
|
*/
|
|
11
|
-
declare const GPageTransition:
|
|
10
|
+
declare const GPageTransition: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
11
|
prefixCls: {
|
|
13
12
|
type: PropType<string>;
|
|
14
13
|
}; /** 禁用动画,直接渲染子节点 */
|
|
@@ -28,7 +27,7 @@ declare const GPageTransition: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
28
27
|
type: PropType<string>;
|
|
29
28
|
default: string;
|
|
30
29
|
};
|
|
31
|
-
}>, () => any, {}, {}, {},
|
|
30
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
31
|
prefixCls: {
|
|
33
32
|
type: PropType<string>;
|
|
34
33
|
}; /** 禁用动画,直接渲染子节点 */
|
|
@@ -49,10 +48,10 @@ declare const GPageTransition: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
49
48
|
default: string;
|
|
50
49
|
};
|
|
51
50
|
}>> & Readonly<{}>, {
|
|
52
|
-
reverse: boolean;
|
|
53
51
|
direction: string;
|
|
52
|
+
reverse: boolean;
|
|
54
53
|
name: string;
|
|
55
54
|
disabled: boolean;
|
|
56
|
-
}, SlotsType<GPageTransitionSlots>, {}, {}, string,
|
|
55
|
+
}, SlotsType<GPageTransitionSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
57
56
|
//#endregion
|
|
58
57
|
export { GPageTransition as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { ProFullToken } from "@gx-design-vue/pro-provider";
|
|
3
2
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
3
|
import { GenerateStyle } from "antdv-next/dist/theme/internal";
|
|
@@ -7,6 +6,6 @@ import { GenerateStyle } from "antdv-next/dist/theme/internal";
|
|
|
7
6
|
type ComponentToken = Record<string, any>;
|
|
8
7
|
/** GPageTransition 样式:进场/离场两段,合并所有预设关键帧。 */
|
|
9
8
|
declare const genPageTransitionStyle: GenerateStyle<ProFullToken<'ProPageTransition'>, CSSObject>;
|
|
10
|
-
declare const _default: (prefixCls:
|
|
9
|
+
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
11
10
|
//#endregion
|
|
12
11
|
export { ComponentToken, _default as default, genPageTransitionStyle };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { LayoutSiderEmits, LayoutSiderProps, LayoutSiderSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/Sider/index.d.ts
|
|
6
|
-
declare const LayoutSider:
|
|
5
|
+
declare const LayoutSider: import("vue").DefineSetupFnComponent<LayoutSiderProps, LayoutSiderEmits, SlotsType<LayoutSiderSlots>, LayoutSiderProps, import("vue").PublicProps>;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { LayoutSider as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { InnerTabsEmits, InnerTabsProps, InnerTabsSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/Tabs/InnerTabs.d.ts
|
|
6
|
-
declare const InnerTabs:
|
|
5
|
+
declare const InnerTabs: import("vue").DefineSetupFnComponent<InnerTabsProps, InnerTabsEmits, SlotsType<InnerTabsSlots>, InnerTabsProps, import("vue").PublicProps>;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { InnerTabs as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LayoutTabsEmits, LayoutTabsProps, LayoutTabsSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/Tabs/index.d.ts
|
|
@@ -9,6 +8,6 @@ import { SlotsType } from "vue";
|
|
|
9
8
|
* 此常量仅用于测量回填前的占位,避免 fixed 占位首帧塌陷。
|
|
10
9
|
*/
|
|
11
10
|
declare const DEFAULT_TABS_HEIGHT = 41;
|
|
12
|
-
declare const LayoutTabs:
|
|
11
|
+
declare const LayoutTabs: import("vue").DefineSetupFnComponent<LayoutTabsProps, LayoutTabsEmits, SlotsType<LayoutTabsSlots>, LayoutTabsProps, import("vue").PublicProps>;
|
|
13
12
|
//#endregion
|
|
14
13
|
export { DEFAULT_TABS_HEIGHT, LayoutTabs as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
1
|
import { GetDefaultToken } from "antdv-next/dist/theme/internal";
|
|
3
2
|
|
|
4
3
|
//#region src/components/Tabs/style/index.d.ts
|
|
@@ -29,6 +28,6 @@ interface ComponentToken {
|
|
|
29
28
|
navPaddingInline: number | string;
|
|
30
29
|
}
|
|
31
30
|
declare const prepareComponentToken: GetDefaultToken<'InnerTabs'>;
|
|
32
|
-
declare const _default: (prefixCls:
|
|
31
|
+
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
33
32
|
//#endregion
|
|
34
33
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { LayoutContentEmits, LayoutContentProps, LayoutContentSlots } from "./interface.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
2
|
import { SlotsType } from "vue";
|
|
4
3
|
|
|
5
4
|
//#region src/components/WrapContent/index.d.ts
|
|
6
|
-
declare const WrapContent:
|
|
5
|
+
declare const WrapContent: import("vue").DefineSetupFnComponent<LayoutContentProps, LayoutContentEmits, SlotsType<LayoutContentSlots>, LayoutContentProps & {
|
|
7
6
|
[x: `on${Capitalize<string>}`]: (...args: unknown[]) => any;
|
|
8
|
-
},
|
|
7
|
+
}, import("vue").PublicProps>;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { WrapContent as default };
|
|
@@ -2,9 +2,6 @@ import { LayoutBreadcrumbConfig, LayoutBreadcrumbSlotProps, LayoutCollapseConfig
|
|
|
2
2
|
import { LayoutMenuState } from "./useMenu.js";
|
|
3
3
|
import { UseTabsStateReturn } from "./useTabs.js";
|
|
4
4
|
import { LayoutContextProps } from "../context/index.js";
|
|
5
|
-
import * as _$vue from "vue";
|
|
6
|
-
import * as _$antdv_next0 from "antdv-next";
|
|
7
|
-
|
|
8
5
|
//#region src/hooks/useLayoutBase.d.ts
|
|
9
6
|
/**
|
|
10
7
|
* 从 LayoutContext 提取 Header / Sider 等子组件共享的基础响应式状态,
|
|
@@ -16,64 +13,64 @@ declare function useLayoutBase(props?: {
|
|
|
16
13
|
collapsed?: boolean;
|
|
17
14
|
}): {
|
|
18
15
|
layoutContext: LayoutContextProps;
|
|
19
|
-
layout:
|
|
20
|
-
sider:
|
|
21
|
-
header:
|
|
22
|
-
zIndex:
|
|
23
|
-
watermark:
|
|
16
|
+
layout: import("vue").ComputedRef<"top" | "side" | "mix" | "wide" | "simple">;
|
|
17
|
+
sider: import("vue").ComputedRef<Required<LayoutSiderConfig>>;
|
|
18
|
+
header: import("vue").ComputedRef<Required<LayoutHeaderConfig>>;
|
|
19
|
+
zIndex: import("vue").Ref<number, number>;
|
|
20
|
+
watermark: import("vue").ComputedRef<import("antdv-next").WatermarkProps>;
|
|
24
21
|
tabsState: UseTabsStateReturn;
|
|
25
|
-
tabsHeight:
|
|
22
|
+
tabsHeight: import("vue").Ref<number, number>;
|
|
26
23
|
setTabsHeight: (value: number) => void;
|
|
27
|
-
prefixCls:
|
|
28
|
-
hashId:
|
|
29
|
-
cssVarCls:
|
|
30
|
-
rootCls:
|
|
24
|
+
prefixCls: import("vue").ComputedRef<string>;
|
|
25
|
+
hashId: import("vue").Ref<string, string>;
|
|
26
|
+
cssVarCls: import("vue").ComputedRef<string>;
|
|
27
|
+
rootCls: import("vue").ComputedRef<string>;
|
|
31
28
|
menuState: LayoutMenuState;
|
|
32
|
-
siderWidth:
|
|
33
|
-
collapsedWidth:
|
|
34
|
-
collapseConfig:
|
|
35
|
-
contentFullscreen:
|
|
36
|
-
renderRouterView:
|
|
37
|
-
collapsed:
|
|
38
|
-
isMobile:
|
|
39
|
-
logoConfig:
|
|
40
|
-
logoTitle:
|
|
41
|
-
selectedKeys:
|
|
42
|
-
openKeys:
|
|
43
|
-
proClasses:
|
|
29
|
+
siderWidth: import("vue").ComputedRef<string | number>;
|
|
30
|
+
collapsedWidth: import("vue").ComputedRef<number>;
|
|
31
|
+
collapseConfig: import("vue").ComputedRef<LayoutCollapseConfig>;
|
|
32
|
+
contentFullscreen: import("vue").Ref<boolean, boolean>;
|
|
33
|
+
renderRouterView: import("vue").Ref<boolean, boolean>;
|
|
34
|
+
collapsed: import("vue").ComputedRef<boolean>;
|
|
35
|
+
isMobile: import("vue").ComputedRef<boolean>;
|
|
36
|
+
logoConfig: import("vue").ComputedRef<LayoutLogoConfig>;
|
|
37
|
+
logoTitle: import("vue").ComputedRef<string>;
|
|
38
|
+
selectedKeys: import("vue").ComputedRef<string[]>;
|
|
39
|
+
openKeys: import("vue").ComputedRef<string[]>;
|
|
40
|
+
proClasses: import("vue").ComputedRef<{
|
|
41
|
+
content?: string;
|
|
44
42
|
header?: string;
|
|
45
43
|
sider?: string;
|
|
46
44
|
breadcrumb?: string;
|
|
47
45
|
logo?: string;
|
|
48
|
-
content?: string;
|
|
49
|
-
siderHeader?: string;
|
|
50
|
-
siderFooter?: string;
|
|
51
|
-
footer?: string;
|
|
52
46
|
root?: string;
|
|
53
47
|
siderChildren?: string;
|
|
48
|
+
siderHeader?: string;
|
|
49
|
+
siderFooter?: string;
|
|
54
50
|
logoImage?: string;
|
|
51
|
+
footer?: string;
|
|
55
52
|
menu?: string;
|
|
56
53
|
tabs?: string;
|
|
57
54
|
}>;
|
|
58
|
-
proStyles:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
menu?:
|
|
71
|
-
tabs?:
|
|
55
|
+
proStyles: import("vue").ComputedRef<{
|
|
56
|
+
content?: import("vue").CSSProperties;
|
|
57
|
+
header?: import("vue").CSSProperties;
|
|
58
|
+
sider?: import("vue").CSSProperties;
|
|
59
|
+
breadcrumb?: import("vue").CSSProperties;
|
|
60
|
+
logo?: import("vue").CSSProperties;
|
|
61
|
+
root?: import("vue").CSSProperties;
|
|
62
|
+
siderChildren?: import("vue").CSSProperties;
|
|
63
|
+
siderHeader?: import("vue").CSSProperties;
|
|
64
|
+
siderFooter?: import("vue").CSSProperties;
|
|
65
|
+
logoImage?: import("vue").CSSProperties;
|
|
66
|
+
footer?: import("vue").CSSProperties;
|
|
67
|
+
menu?: import("vue").CSSProperties;
|
|
68
|
+
tabs?: import("vue").CSSProperties;
|
|
72
69
|
}>;
|
|
73
|
-
breadcrumbRender:
|
|
74
|
-
breadcrumbConfig:
|
|
75
|
-
pageContainerConfig:
|
|
76
|
-
hasFooterToolbar:
|
|
70
|
+
breadcrumbRender: import("vue").Ref<(props: LayoutBreadcrumbSlotProps) => any, (props: LayoutBreadcrumbSlotProps) => any>;
|
|
71
|
+
breadcrumbConfig: import("vue").ComputedRef<LayoutBreadcrumbConfig>;
|
|
72
|
+
pageContainerConfig: import("vue").ComputedRef<LayoutPageContainerConfig>;
|
|
73
|
+
hasFooterToolbar: import("vue").ComputedRef<boolean>;
|
|
77
74
|
navigate: (name: string) => void;
|
|
78
75
|
setHasFooterToolbar: (value: boolean) => void;
|
|
79
76
|
};
|
package/dist/hooks/useMenu.js
CHANGED
|
@@ -56,7 +56,7 @@ function useMenu(options) {
|
|
|
56
56
|
function syncOpenKeys() {
|
|
57
57
|
if (toValue(options.openKeys) !== void 0) return;
|
|
58
58
|
const activeParents = matchedChain.value.map((item) => item.name).filter((name) => name !== currentName.value);
|
|
59
|
-
openKeys.value = toValue(options.config).autoClose ? activeParents : Array.from(new Set([...openKeys.value, ...activeParents]));
|
|
59
|
+
openKeys.value = toValue(options.config).autoClose ? activeParents : Array.from(/* @__PURE__ */ new Set([...openKeys.value, ...activeParents]));
|
|
60
60
|
}
|
|
61
61
|
function getMenuPath(name) {
|
|
62
62
|
return lookup.value.get(name)?.path;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { LAYOUT_MENU_SLOT_KEYS, LayoutMenuEmits, LayoutMenuEmitsProps, LayoutMen
|
|
|
7
7
|
import { LayoutSiderEmits, LayoutSiderEmitsProps, LayoutSiderProps, LayoutSiderSlots } from "./components/Sider/interface.js";
|
|
8
8
|
import { InnerTabItem, InnerTabsEmits, InnerTabsEmitsProps, InnerTabsProps, InnerTabsSlots, LayoutTabsEmits, LayoutTabsEmitsProps, LayoutTabsProps, LayoutTabsSlots, TabGroup } from "./components/Tabs/interface.js";
|
|
9
9
|
import { LayoutContentEmits, LayoutContentEmitsProps, LayoutContentProps, LayoutContentSlots } from "./components/WrapContent/interface.js";
|
|
10
|
-
import { APP_PAGE_SLOT_KEYS, AppPageSlotKey, AppPageSpinning, BreadcrumbItemType, CardProps, DeepPartial, EmptyEmits, FOOTER_TOOLBAR_SLOT_KEYS, FooterToolbarClassNamesType, FooterToolbarSemanticName, FooterToolbarSlotKey, FooterToolbarStylesType, GFooterToolbarProps, GFooterToolbarSlots, GPageContainerEmits, GPageContainerEmitsProps, GPageContainerProps, GPageContainerSlots, GPageTransitionProps, GPageTransitionSlots, GProAppPageProps, GProAppPageSlots, GProLayoutEmits, GProLayoutEmitsProps, GProLayoutProps, GProLayoutRef, GProLayoutSlots, LAYOUT_SLOT_KEYS, LayoutBreadcrumbConfig, LayoutBreadcrumbSlotProps, LayoutClassNamesType, LayoutCollapseConfig, LayoutFooterConfig, LayoutFooterLink, LayoutHeaderConfig, LayoutHeaderSlotProps, LayoutLogoConfig, LayoutMenuConfig, LayoutMenuItemSlotProps, LayoutMenuRoute, LayoutPageContainerConfig, LayoutSelectInfo, LayoutSemanticName, LayoutSiderConfig, LayoutSiderSlotProps, LayoutStylesType, LayoutTabsConfig, LayoutTabsController, LayoutTabsUpdateOp, MenuClassNamesType, MenuClickInfo, MenuProps, MenuRenderItem, MenuSelectInfo, MenuSemanticName, MenuStylesType, Meta, PAGE_CONTAINER_SLOT_KEYS,
|
|
10
|
+
import { APP_PAGE_SLOT_KEYS, AppPageSlotKey, AppPageSpinning, BreadcrumbItemType, CardProps, DeepPartial, EmptyEmits, FOOTER_TOOLBAR_SLOT_KEYS, FooterToolbarClassNamesType, FooterToolbarSemanticName, FooterToolbarSlotKey, FooterToolbarStylesType, GFooterToolbarProps, GFooterToolbarSlots, GPageContainerEmits, GPageContainerEmitsProps, GPageContainerProps, GPageContainerSlots, GPageTransitionProps, GPageTransitionSlots, GProAppPageProps, GProAppPageSlots, GProLayoutEmits, GProLayoutEmitsProps, GProLayoutProps, GProLayoutRef, GProLayoutSlots, LAYOUT_SLOT_KEYS, LayoutBreadcrumbConfig, LayoutBreadcrumbSlotProps, LayoutClassNamesType, LayoutCollapseConfig, LayoutFooterConfig, LayoutFooterLink, LayoutHeaderConfig, LayoutHeaderSlotProps, LayoutLogoConfig, LayoutMenuConfig, LayoutMenuItemSlotProps, LayoutMenuRoute, LayoutPageContainerConfig, LayoutSelectInfo, LayoutSemanticName, LayoutSiderConfig, LayoutSiderSlotProps, LayoutStylesType, LayoutTabsConfig, LayoutTabsController, LayoutTabsUpdateOp, MenuClassNamesType, MenuClickInfo, MenuProps, MenuRenderItem, MenuSelectInfo, MenuSemanticName, MenuStylesType, Meta, PAGE_CONTAINER_SLOT_KEYS, PageContainerClassNamesType, PageContainerLoading, PageContainerSemanticName, PageContainerSlotKey, PageContainerStylesType, SiderProps, SpinProps, Tab, TabsMeta, TabsProps, WatermarkProps } from "./interface.js";
|
|
11
11
|
import GProLayout from "./ProLayout.js";
|
|
12
12
|
import { ProAppPageContext, useAppPageContext } from "./components/AppPage/context.js";
|
|
13
13
|
import ProAppPage from "./components/AppPage/index.js";
|
|
@@ -20,4 +20,4 @@ import { MenuLookupEntry, MenuMetaPatch, MenuModel, MenuRoutePatch, MenuTreeMuta
|
|
|
20
20
|
import { LayoutMenuState, UseLayoutMenuOptions, UseLayoutMenuReturn, useMenu } from "./hooks/useMenu.js";
|
|
21
21
|
import { useTabs } from "./hooks/useTabs.js";
|
|
22
22
|
import { LayoutContextProps, useInjectLayoutContext } from "./context/index.js";
|
|
23
|
-
export { APP_PAGE_SLOT_KEYS, AppPageSlotKey, AppPageSpinning, BreadcrumbItemType, CardProps, DeepPartial, EmptyEmits, FOOTER_TOOLBAR_SLOT_KEYS, FooterToolbarClassNamesType, FooterToolbarSemanticName, FooterToolbarSlotKey, FooterToolbarStylesType, GFooterToolbar, GFooterToolbarProps, GFooterToolbarSlots, InnerTabs as GInnerTabs, GPageContainerEmits, GPageContainerEmitsProps, GPageContainerProps, GPageContainerSlots, GPageTransition, GPageTransitionProps, GPageTransitionSlots, ProAppPage as GProAppPage, GProAppPageProps, GProAppPageSlots, GProLayout, GProLayoutEmits, GProLayoutEmitsProps, GProLayoutProps, GProLayoutRef, GProLayoutSlots, ProPageContainer as GProPageContainer, InnerTabItem, InnerTabsEmits, InnerTabsEmitsProps, InnerTabsProps, InnerTabsSlots, LAYOUT_MENU_SLOT_KEYS, LAYOUT_SLOT_KEYS, LayoutBreadcrumbConfig, LayoutBreadcrumbProps, LayoutBreadcrumbSlotProps, LayoutBreadcrumbSlots, LayoutClassNamesType, LayoutCollapseButtonEmits, LayoutCollapseButtonEmitsProps, LayoutCollapseButtonProps, LayoutCollapseButtonSlots, LayoutCollapseConfig, LayoutContentEmits, LayoutContentEmitsProps, LayoutContentProps, LayoutContentSlots, type LayoutContextProps, LayoutFooterConfig, LayoutFooterLink, LayoutFooterProps, LayoutFooterSlots, LayoutHeaderConfig, LayoutHeaderEmits, LayoutHeaderEmitsProps, LayoutHeaderProps, LayoutHeaderSlotProps, LayoutHeaderSlots, LayoutLogoConfig, LayoutLogoEmits, LayoutLogoEmitsProps, LayoutLogoProps, LayoutLogoSlots, LayoutMenu, LayoutMenuConfig, LayoutMenuEmits, LayoutMenuEmitsProps, LayoutMenuItemSlotProps, LayoutMenuProps, LayoutMenuRoute, LayoutMenuSlots, type LayoutMenuState, LayoutPageContainerConfig, LayoutSelectInfo, LayoutSemanticName, LayoutSiderConfig, LayoutSiderEmits, LayoutSiderEmitsProps, LayoutSiderProps, LayoutSiderSlotProps, LayoutSiderSlots, LayoutStylesType, LayoutTabsConfig, LayoutTabsController, LayoutTabsEmits, LayoutTabsEmitsProps, LayoutTabsProps, LayoutTabsSlots, LayoutTabsUpdateOp, MenuClassNamesType, MenuClickInfo, MenuLookupEntry, MenuMetaPatch, MenuModel, MenuProps, MenuRenderItem, MenuRoutePatch, MenuSelectInfo, MenuSemanticName, MenuStylesType, MenuTreeMutationOptions, Meta, PAGE_CONTAINER_SLOT_KEYS,
|
|
23
|
+
export { APP_PAGE_SLOT_KEYS, AppPageSlotKey, AppPageSpinning, type BreadcrumbItemType, type CardProps, DeepPartial, EmptyEmits, FOOTER_TOOLBAR_SLOT_KEYS, FooterToolbarClassNamesType, FooterToolbarSemanticName, FooterToolbarSlotKey, FooterToolbarStylesType, GFooterToolbar, GFooterToolbarProps, GFooterToolbarSlots, InnerTabs as GInnerTabs, GPageContainerEmits, GPageContainerEmitsProps, GPageContainerProps, GPageContainerSlots, GPageTransition, GPageTransitionProps, GPageTransitionSlots, ProAppPage as GProAppPage, GProAppPageProps, GProAppPageSlots, GProLayout, GProLayoutEmits, GProLayoutEmitsProps, GProLayoutProps, GProLayoutRef, GProLayoutSlots, ProPageContainer as GProPageContainer, InnerTabItem, InnerTabsEmits, InnerTabsEmitsProps, InnerTabsProps, InnerTabsSlots, LAYOUT_MENU_SLOT_KEYS, LAYOUT_SLOT_KEYS, LayoutBreadcrumbConfig, LayoutBreadcrumbProps, LayoutBreadcrumbSlotProps, LayoutBreadcrumbSlots, LayoutClassNamesType, LayoutCollapseButtonEmits, LayoutCollapseButtonEmitsProps, LayoutCollapseButtonProps, LayoutCollapseButtonSlots, LayoutCollapseConfig, LayoutContentEmits, LayoutContentEmitsProps, LayoutContentProps, LayoutContentSlots, type LayoutContextProps, LayoutFooterConfig, LayoutFooterLink, LayoutFooterProps, LayoutFooterSlots, LayoutHeaderConfig, LayoutHeaderEmits, LayoutHeaderEmitsProps, LayoutHeaderProps, LayoutHeaderSlotProps, LayoutHeaderSlots, LayoutLogoConfig, LayoutLogoEmits, LayoutLogoEmitsProps, LayoutLogoProps, LayoutLogoSlots, LayoutMenu, LayoutMenuConfig, LayoutMenuEmits, LayoutMenuEmitsProps, LayoutMenuItemSlotProps, LayoutMenuProps, LayoutMenuRoute, LayoutMenuSlots, type LayoutMenuState, LayoutPageContainerConfig, LayoutSelectInfo, LayoutSemanticName, LayoutSiderConfig, LayoutSiderEmits, LayoutSiderEmitsProps, LayoutSiderProps, LayoutSiderSlotProps, LayoutSiderSlots, LayoutStylesType, LayoutTabsConfig, LayoutTabsController, LayoutTabsEmits, LayoutTabsEmitsProps, LayoutTabsProps, LayoutTabsSlots, LayoutTabsUpdateOp, MenuClassNamesType, MenuClickInfo, MenuLookupEntry, MenuMetaPatch, MenuModel, type MenuProps, MenuRenderItem, MenuRoutePatch, MenuSelectInfo, MenuSemanticName, MenuStylesType, MenuTreeMutationOptions, Meta, PAGE_CONTAINER_SLOT_KEYS, PageContainerClassNamesType, PageContainerLoading, PageContainerSemanticName, PageContainerSlotKey, PageContainerStylesType, type ProAppPageContext, ResolveRouteResult, type SiderProps, type SpinProps, type Tab, TabGroup, TabsMeta, type TabsProps, type UseLayoutMenuOptions, type UseLayoutMenuReturn, type WatermarkProps, buildBreadcrumbRoutes, buildMenuLookup, cleanMenus, collectMenuNames, getLastPath, insertMenuAtPath, normalizeMenus, partitionFixedMenus, removeMenuAtPath, resolveMatchedChain, resolveRouteTarget, routesToMenus, selectMenuBranch, sortMenusByOrder, toBreadcrumbItems, updateMenuAtPath, updateMenuMetaAtPath, useAppPageContext, useInjectLayoutContext, useMenu, useTabs };
|