@gx-design-vue/pro-layout 0.1.0-alpha.2 → 0.1.0-alpha.21
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 +4 -536
- package/dist/ProLayout.js +489 -358
- package/dist/components/AppPage/context.d.ts +4 -3
- package/dist/components/AppPage/context.js +3 -5
- package/dist/components/AppPage/index.d.ts +29 -52
- package/dist/components/AppPage/index.js +71 -54
- package/dist/components/AppPage/style.d.ts +8 -7
- package/dist/components/AppPage/style.js +16 -17
- package/dist/components/Breadcrumb/index.d.ts +19 -0
- package/dist/components/Breadcrumb/index.js +129 -0
- package/dist/components/Breadcrumb/interface.d.ts +33 -0
- package/dist/components/Breadcrumb/interface.js +1 -0
- package/dist/components/CollapseButton/Arrow.d.ts +4 -0
- package/dist/components/{SiderMenu → CollapseButton}/Arrow.js +2 -4
- package/dist/components/CollapseButton/index.d.ts +7 -0
- package/dist/components/CollapseButton/index.js +45 -0
- package/dist/components/CollapseButton/interface.d.ts +19 -0
- package/dist/components/CollapseButton/interface.js +1 -0
- package/dist/components/Footer/index.d.ts +10 -0
- package/dist/components/Footer/index.js +69 -0
- package/dist/components/Footer/interface.d.ts +22 -0
- package/dist/components/Footer/interface.js +1 -0
- package/dist/components/FooterToolbar/index.d.ts +5 -72
- package/dist/components/FooterToolbar/index.js +77 -90
- package/dist/components/FooterToolbar/style.d.ts +10 -0
- package/dist/components/FooterToolbar/style.js +34 -0
- package/dist/components/Header/index.d.ts +7 -0
- package/dist/components/Header/index.js +140 -0
- package/dist/components/Header/interface.d.ts +41 -0
- package/dist/components/Header/interface.js +1 -0
- package/dist/components/Logo/index.d.ts +9 -0
- package/dist/components/Logo/index.js +63 -0
- package/dist/components/Logo/interface.d.ts +13 -0
- package/dist/components/Logo/interface.js +1 -0
- package/dist/components/Menu/iconRender.d.ts +10 -0
- package/dist/components/Menu/iconRender.js +23 -0
- package/dist/components/Menu/index.d.ts +13 -0
- package/dist/components/Menu/index.js +778 -0
- package/dist/components/Menu/interface.d.ts +50 -0
- package/dist/components/Menu/interface.js +9 -0
- package/dist/components/Menu/overflow.d.ts +39 -0
- package/dist/components/Menu/overflow.js +81 -0
- package/dist/components/Menu/style/base.d.ts +12 -0
- package/dist/components/Menu/style/base.js +36 -0
- package/dist/components/Menu/style/horizontal.d.ts +19 -0
- package/dist/components/Menu/style/horizontal.js +303 -0
- package/dist/components/Menu/style/index.d.ts +356 -0
- package/dist/components/Menu/style/index.js +147 -0
- package/dist/components/Menu/style/inline.d.ts +13 -0
- package/dist/components/Menu/style/inline.js +292 -0
- package/dist/components/PageContainer/PageHeader.d.ts +30 -36
- package/dist/components/PageContainer/PageHeader.js +80 -46
- package/dist/components/PageContainer/index.d.ts +8 -194
- package/dist/components/PageContainer/index.js +297 -209
- package/dist/components/PageContainer/style.d.ts +5 -0
- package/dist/components/PageContainer/style.js +142 -0
- package/dist/components/PageTransition/animate.d.ts +41 -0
- package/dist/components/PageTransition/animate.js +106 -0
- package/dist/components/PageTransition/index.d.ts +57 -0
- package/dist/components/PageTransition/index.js +66 -0
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/back.d.ts +4 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/back.js +2 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/bounce.d.ts +4 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/bounce.js +2 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/fade.d.ts +4 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/fade.js +2 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/flip.d.ts +4 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/flip.js +2 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/lightSpeed.d.ts +4 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/lightSpeed.js +2 -4
- package/dist/components/PageTransition/keyFrame/roll.d.ts +10 -0
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/roll.js +2 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/rotate.d.ts +4 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/rotate.js +2 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/slide.d.ts +4 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/slide.js +2 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/zoom.d.ts +4 -4
- package/dist/components/{PageTranstion → PageTransition}/keyFrame/zoom.js +2 -4
- package/dist/components/PageTransition/style.d.ts +11 -0
- package/dist/components/{PageTranstion → PageTransition}/style.js +9 -13
- package/dist/components/Sider/index.d.ts +7 -0
- package/dist/components/Sider/index.js +206 -0
- package/dist/components/Sider/interface.d.ts +39 -0
- package/dist/components/Sider/interface.js +1 -0
- package/dist/components/Tabs/InnerTabs.d.ts +7 -0
- package/dist/components/Tabs/InnerTabs.js +117 -0
- package/dist/components/Tabs/contextMenu.d.ts +41 -0
- package/dist/components/Tabs/contextMenu.js +89 -0
- package/dist/components/Tabs/hooks/flipAnimate.d.ts +24 -0
- package/dist/components/Tabs/hooks/flipAnimate.js +40 -0
- package/dist/components/Tabs/hooks/useAutoScroll.d.ts +27 -0
- package/dist/components/Tabs/hooks/useAutoScroll.js +122 -0
- package/dist/components/Tabs/hooks/useTabDrag.d.ts +31 -0
- package/dist/components/Tabs/hooks/useTabDrag.js +252 -0
- package/dist/components/Tabs/index.d.ts +13 -0
- package/dist/components/Tabs/index.js +181 -0
- package/dist/components/Tabs/interface.d.ts +74 -0
- package/dist/components/Tabs/interface.js +1 -0
- package/dist/components/Tabs/style/index.d.ts +35 -0
- package/dist/components/Tabs/style/index.js +161 -0
- package/dist/components/WrapContent/index.d.ts +9 -0
- package/dist/components/WrapContent/index.js +26 -0
- package/dist/components/WrapContent/interface.d.ts +15 -0
- package/dist/components/WrapContent/interface.js +1 -0
- package/dist/context/index.d.ts +53 -0
- package/dist/context/index.js +5 -0
- package/dist/defaultConfig.d.ts +10 -0
- package/dist/defaultConfig.js +38 -0
- package/dist/hooks/useLayoutBase.d.ts +78 -0
- package/dist/hooks/useLayoutBase.js +86 -0
- package/dist/hooks/useMenu.d.ts +77 -0
- package/dist/hooks/useMenu.js +166 -0
- package/dist/hooks/useTabs.d.ts +54 -0
- package/dist/hooks/useTabs.js +388 -0
- package/dist/index.d.ts +22 -27
- package/dist/index.js +15 -24
- package/dist/interface.d.ts +516 -0
- package/dist/interface.js +34 -0
- package/dist/pro-layout.esm.js +5848 -5075
- package/dist/pro-layout.js +16 -37
- package/dist/style/breadcrumb.d.ts +8 -0
- package/dist/style/breadcrumb.js +77 -0
- package/dist/style/collapseButton.d.ts +8 -0
- package/dist/style/collapseButton.js +57 -0
- package/dist/style/content.d.ts +8 -0
- package/dist/style/content.js +29 -0
- package/dist/style/footer.d.ts +8 -0
- package/dist/style/footer.js +33 -0
- package/dist/style/header.d.ts +8 -0
- package/dist/style/header.js +76 -0
- package/dist/style/index.d.ts +3 -22
- package/dist/style/index.js +51 -55
- package/dist/style/logo.d.ts +8 -0
- package/dist/style/logo.js +76 -0
- package/dist/style/menu.d.ts +15 -0
- package/dist/style/menu.js +49 -0
- package/dist/style/rightContent.d.ts +12 -0
- package/dist/style/rightContent.js +74 -0
- package/dist/style/search.d.ts +12 -0
- package/dist/style/search.js +94 -0
- package/dist/style/sider.d.ts +8 -0
- package/dist/style/sider.js +92 -0
- package/dist/style/tabs.d.ts +14 -0
- package/dist/style/tabs.js +97 -0
- package/dist/theme/augment.d.ts +20 -0
- package/dist/theme/augment.js +1 -0
- package/dist/theme/interface/components.d.ts +20 -0
- package/dist/theme/interface/components.js +1 -0
- package/dist/utils/config.d.ts +12 -0
- package/dist/utils/config.js +18 -0
- package/dist/utils/menu.d.ts +111 -20
- package/dist/utils/menu.js +263 -118
- package/dist/utils/style.d.ts +4 -0
- package/dist/utils/style.js +21 -0
- package/dist/utils/themeComponents.d.ts +28 -0
- package/dist/utils/themeComponents.js +89 -0
- package/package.json +24 -15
- package/dist/Context/expose.d.ts +0 -6
- package/dist/Context/expose.js +0 -7
- package/dist/Context/index.d.ts +0 -43
- package/dist/Context/index.js +0 -18
- package/dist/WrapContent.d.ts +0 -100
- package/dist/WrapContent.js +0 -45
- package/dist/components/BaseMenu/index.d.ts +0 -255
- package/dist/components/BaseMenu/index.js +0 -381
- package/dist/components/BaseMenu/props.d.ts +0 -105
- package/dist/components/BaseMenu/props.js +0 -94
- package/dist/components/BaseMenu/style.d.ts +0 -6
- package/dist/components/BaseMenu/style.js +0 -155
- package/dist/components/BreadCrumb/Breadcrumb.d.ts +0 -33
- package/dist/components/BreadCrumb/Breadcrumb.js +0 -75
- package/dist/components/BreadCrumb/index.d.ts +0 -7
- package/dist/components/BreadCrumb/index.js +0 -44
- package/dist/components/BreadCrumb/style.d.ts +0 -8
- package/dist/components/BreadCrumb/style.js +0 -87
- package/dist/components/CollapsedIcon/index.d.ts +0 -33
- package/dist/components/CollapsedIcon/index.js +0 -51
- package/dist/components/CollapsedIcon/style.d.ts +0 -9
- package/dist/components/CollapsedIcon/style.js +0 -34
- package/dist/components/FooterToolbar/props.d.ts +0 -47
- package/dist/components/FooterToolbar/props.js +0 -33
- package/dist/components/FooterToolbar/style/index.d.ts +0 -14
- package/dist/components/FooterToolbar/style/index.js +0 -48
- package/dist/components/FooterToolbar/style/stylish.d.ts +0 -18
- package/dist/components/FooterToolbar/style/stylish.js +0 -16
- package/dist/components/GlobalFooter/index.d.ts +0 -73
- package/dist/components/GlobalFooter/index.js +0 -77
- package/dist/components/GlobalFooter/style.d.ts +0 -6
- package/dist/components/GlobalFooter/style.js +0 -29
- package/dist/components/GlobalHeader/DefaultHeader.d.ts +0 -164
- package/dist/components/GlobalHeader/DefaultHeader.js +0 -149
- package/dist/components/GlobalHeader/index.d.ts +0 -164
- package/dist/components/GlobalHeader/index.js +0 -78
- package/dist/components/GlobalHeader/props.d.ts +0 -70
- package/dist/components/GlobalHeader/props.js +0 -56
- package/dist/components/GlobalHeader/style/defaultHeader.d.ts +0 -6
- package/dist/components/GlobalHeader/style/defaultHeader.js +0 -108
- package/dist/components/GlobalHeader/style/header.d.ts +0 -6
- package/dist/components/GlobalHeader/style/header.js +0 -41
- package/dist/components/LogoContent/index.d.ts +0 -80
- package/dist/components/LogoContent/index.js +0 -90
- package/dist/components/LogoContent/props.d.ts +0 -57
- package/dist/components/LogoContent/props.js +0 -37
- package/dist/components/LogoContent/style.d.ts +0 -6
- package/dist/components/LogoContent/style.js +0 -63
- package/dist/components/PageContainer/props.d.ts +0 -138
- package/dist/components/PageContainer/props.js +0 -103
- package/dist/components/PageContainer/style/index.d.ts +0 -14
- package/dist/components/PageContainer/style/index.js +0 -52
- package/dist/components/PageContainer/style/pageHeader.d.ts +0 -6
- package/dist/components/PageContainer/style/pageHeader.js +0 -44
- package/dist/components/PageTranstion/index.d.ts +0 -40
- package/dist/components/PageTranstion/index.js +0 -71
- package/dist/components/PageTranstion/keyFrame/roll.d.ts +0 -10
- package/dist/components/PageTranstion/style.d.ts +0 -10
- package/dist/components/SiderMenu/Arrow.d.ts +0 -6
- package/dist/components/SiderMenu/SiderMenu.d.ts +0 -180
- package/dist/components/SiderMenu/SiderMenu.js +0 -265
- package/dist/components/SiderMenu/index.d.ts +0 -193
- package/dist/components/SiderMenu/index.js +0 -51
- package/dist/components/SiderMenu/props.d.ts +0 -77
- package/dist/components/SiderMenu/props.js +0 -67
- package/dist/components/SiderMenu/style/index.d.ts +0 -12
- package/dist/components/SiderMenu/style/index.js +0 -162
- package/dist/components/SiderMenu/typings.d.ts +0 -38
- package/dist/components/SiderMenu/typings.js +0 -1
- package/dist/components/TabsRoute/index.d.ts +0 -95
- package/dist/components/TabsRoute/index.js +0 -405
- package/dist/components/TabsRoute/props.d.ts +0 -78
- package/dist/components/TabsRoute/props.js +0 -47
- package/dist/components/TabsRoute/style.d.ts +0 -15
- package/dist/components/TabsRoute/style.js +0 -133
- package/dist/components/TabsRoute/utils/config.d.ts +0 -18
- package/dist/components/TabsRoute/utils/config.js +0 -64
- package/dist/config/animate.d.ts +0 -11
- package/dist/config/animate.js +0 -76
- package/dist/config/index.d.ts +0 -34
- package/dist/config/index.js +0 -30
- package/dist/hooks/collapsed/index.d.ts +0 -15
- package/dist/hooks/collapsed/index.js +0 -50
- package/dist/hooks/layout/useLayoutExpose.d.ts +0 -15
- package/dist/hooks/layout/useLayoutExpose.js +0 -22
- package/dist/hooks/layout/usePageContent.d.ts +0 -6
- package/dist/hooks/layout/usePageContent.js +0 -28
- package/dist/hooks/menu/context.d.ts +0 -21
- package/dist/hooks/menu/context.js +0 -7
- package/dist/hooks/menu/index.d.ts +0 -29
- package/dist/hooks/menu/index.js +0 -118
- package/dist/hooks/theme/index.d.ts +0 -11
- package/dist/hooks/theme/index.js +0 -13
- package/dist/props/collapsedProps.d.ts +0 -39
- package/dist/props/collapsedProps.js +0 -45
- package/dist/props/defaultSettings.d.ts +0 -62
- package/dist/props/defaultSettings.js +0 -56
- package/dist/props/index.d.ts +0 -226
- package/dist/props/index.js +0 -109
- package/dist/props/themeProps.d.ts +0 -14
- package/dist/props/themeProps.js +0 -10
- package/dist/types/Breadcrumb.d.ts +0 -22
- package/dist/types/Breadcrumb.js +0 -1
- package/dist/types/MenuTypings.d.ts +0 -46
- package/dist/types/MenuTypings.js +0 -1
- package/dist/types/RouteTypings.d.ts +0 -96
- package/dist/types/RouteTypings.js +0 -1
- package/dist/types/SlotsTypings.d.ts +0 -124
- package/dist/types/SlotsTypings.js +0 -32
- package/dist/types/typings.d.ts +0 -73
- package/dist/types/typings.js +0 -3
- package/dist/utils/index.d.ts +0 -7
- package/dist/utils/index.js +0 -17
- package/dist/utils/style/index.d.ts +0 -44
- package/dist/utils/style/index.js +0 -103
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { BaseMenuProps, ProLayoutMenuFunProps } from "../../types/MenuTypings.js";
|
|
2
|
-
import { CollapsedButtonRender, CollapsedIconRender, DefaultRender, HeaderContentRender, HeaderRender, LogoRender, MenuItemRender, MenuTextRender, RightContentRender, SubMenuItemRender } from "../../types/SlotsTypings.js";
|
|
3
|
-
import { CommonLogoProps } from "../LogoContent/props.js";
|
|
4
|
-
import { HeaderLayoutProps } from "../../types/typings.js";
|
|
5
|
-
import { headerProps } from "./props.js";
|
|
6
|
-
import * as vue118 from "vue";
|
|
7
|
-
import { ExtractPropTypes } from "vue";
|
|
8
|
-
import * as _gx_design_vue_pro_utils5 from "@gx-design-vue/pro-utils";
|
|
9
|
-
import * as ant_design_vue_es__util_type11 from "ant-design-vue/es/_util/type";
|
|
10
|
-
|
|
11
|
-
//#region src/components/GlobalHeader/index.d.ts
|
|
12
|
-
type GlobalHeaderProps = Partial<ExtractPropTypes<typeof headerProps>>;
|
|
13
|
-
declare const _default: vue118.DefineComponent<ExtractPropTypes<{
|
|
14
|
-
collapsedButtonRender: {
|
|
15
|
-
type: vue118.PropType<CollapsedButtonRender>;
|
|
16
|
-
default: () => any;
|
|
17
|
-
};
|
|
18
|
-
collapsedIconRender: {
|
|
19
|
-
type: vue118.PropType<CollapsedIconRender>;
|
|
20
|
-
default: () => any;
|
|
21
|
-
};
|
|
22
|
-
autoHideHeader: vue118.PropType<HeaderLayoutProps["autoHideHeader"]>;
|
|
23
|
-
headerMainWidth: {
|
|
24
|
-
type: vue118.PropType<HeaderLayoutProps["headerMainWidth"]>;
|
|
25
|
-
default: any;
|
|
26
|
-
};
|
|
27
|
-
headerRender: {
|
|
28
|
-
type: vue118.PropType<HeaderRender>;
|
|
29
|
-
default: () => any;
|
|
30
|
-
};
|
|
31
|
-
headerContentRender: {
|
|
32
|
-
type: vue118.PropType<HeaderContentRender>;
|
|
33
|
-
default: () => any;
|
|
34
|
-
};
|
|
35
|
-
appsLogoComponents: {
|
|
36
|
-
type: vue118.PropType<DefaultRender>;
|
|
37
|
-
default: () => any;
|
|
38
|
-
};
|
|
39
|
-
extraRightDropdownRender: {
|
|
40
|
-
type: vue118.PropType<DefaultRender>;
|
|
41
|
-
default: () => any;
|
|
42
|
-
};
|
|
43
|
-
rightContentRender: {
|
|
44
|
-
type: vue118.PropType<RightContentRender>;
|
|
45
|
-
default: () => any;
|
|
46
|
-
};
|
|
47
|
-
onOpenKeys: {
|
|
48
|
-
type: vue118.PropType<ProLayoutMenuFunProps["onOpenKeys"]>;
|
|
49
|
-
};
|
|
50
|
-
onSelect: {
|
|
51
|
-
type: vue118.PropType<ProLayoutMenuFunProps["onSelect"]>;
|
|
52
|
-
};
|
|
53
|
-
menuItemRender: {
|
|
54
|
-
type: vue118.PropType<BaseMenuProps["menuItemRender"]>;
|
|
55
|
-
default: () => any;
|
|
56
|
-
};
|
|
57
|
-
menuTextRender: {
|
|
58
|
-
type: vue118.PropType<BaseMenuProps["menuTextRender"]>;
|
|
59
|
-
default: () => any;
|
|
60
|
-
};
|
|
61
|
-
subMenuItemRender: {
|
|
62
|
-
type: vue118.PropType<BaseMenuProps["subMenuItemRender"]>;
|
|
63
|
-
default: () => any;
|
|
64
|
-
};
|
|
65
|
-
class: vue118.PropType<string>;
|
|
66
|
-
style: vue118.PropType<vue118.CSSProperties>;
|
|
67
|
-
logo: {
|
|
68
|
-
type: vue118.PropType<CommonLogoProps["logo"]>;
|
|
69
|
-
default: () => any;
|
|
70
|
-
};
|
|
71
|
-
logoStyle: {
|
|
72
|
-
type: vue118.PropType<CommonLogoProps["logoStyle"]>;
|
|
73
|
-
default: () => any;
|
|
74
|
-
};
|
|
75
|
-
logoRender: {
|
|
76
|
-
type: vue118.PropType<CommonLogoProps["logoRender"]>;
|
|
77
|
-
default: () => any;
|
|
78
|
-
};
|
|
79
|
-
onLogoClick: vue118.PropType<CommonLogoProps["onLogoClick"]>;
|
|
80
|
-
}>, () => ant_design_vue_es__util_type11.VueNode, {}, {}, {}, vue118.ComponentOptionsMixin, vue118.ComponentOptionsMixin, {}, string, vue118.PublicProps, Readonly<ExtractPropTypes<{
|
|
81
|
-
collapsedButtonRender: {
|
|
82
|
-
type: vue118.PropType<CollapsedButtonRender>;
|
|
83
|
-
default: () => any;
|
|
84
|
-
};
|
|
85
|
-
collapsedIconRender: {
|
|
86
|
-
type: vue118.PropType<CollapsedIconRender>;
|
|
87
|
-
default: () => any;
|
|
88
|
-
};
|
|
89
|
-
autoHideHeader: vue118.PropType<HeaderLayoutProps["autoHideHeader"]>;
|
|
90
|
-
headerMainWidth: {
|
|
91
|
-
type: vue118.PropType<HeaderLayoutProps["headerMainWidth"]>;
|
|
92
|
-
default: any;
|
|
93
|
-
};
|
|
94
|
-
headerRender: {
|
|
95
|
-
type: vue118.PropType<HeaderRender>;
|
|
96
|
-
default: () => any;
|
|
97
|
-
};
|
|
98
|
-
headerContentRender: {
|
|
99
|
-
type: vue118.PropType<HeaderContentRender>;
|
|
100
|
-
default: () => any;
|
|
101
|
-
};
|
|
102
|
-
appsLogoComponents: {
|
|
103
|
-
type: vue118.PropType<DefaultRender>;
|
|
104
|
-
default: () => any;
|
|
105
|
-
};
|
|
106
|
-
extraRightDropdownRender: {
|
|
107
|
-
type: vue118.PropType<DefaultRender>;
|
|
108
|
-
default: () => any;
|
|
109
|
-
};
|
|
110
|
-
rightContentRender: {
|
|
111
|
-
type: vue118.PropType<RightContentRender>;
|
|
112
|
-
default: () => any;
|
|
113
|
-
};
|
|
114
|
-
onOpenKeys: {
|
|
115
|
-
type: vue118.PropType<ProLayoutMenuFunProps["onOpenKeys"]>;
|
|
116
|
-
};
|
|
117
|
-
onSelect: {
|
|
118
|
-
type: vue118.PropType<ProLayoutMenuFunProps["onSelect"]>;
|
|
119
|
-
};
|
|
120
|
-
menuItemRender: {
|
|
121
|
-
type: vue118.PropType<BaseMenuProps["menuItemRender"]>;
|
|
122
|
-
default: () => any;
|
|
123
|
-
};
|
|
124
|
-
menuTextRender: {
|
|
125
|
-
type: vue118.PropType<BaseMenuProps["menuTextRender"]>;
|
|
126
|
-
default: () => any;
|
|
127
|
-
};
|
|
128
|
-
subMenuItemRender: {
|
|
129
|
-
type: vue118.PropType<BaseMenuProps["subMenuItemRender"]>;
|
|
130
|
-
default: () => any;
|
|
131
|
-
};
|
|
132
|
-
class: vue118.PropType<string>;
|
|
133
|
-
style: vue118.PropType<vue118.CSSProperties>;
|
|
134
|
-
logo: {
|
|
135
|
-
type: vue118.PropType<CommonLogoProps["logo"]>;
|
|
136
|
-
default: () => any;
|
|
137
|
-
};
|
|
138
|
-
logoStyle: {
|
|
139
|
-
type: vue118.PropType<CommonLogoProps["logoStyle"]>;
|
|
140
|
-
default: () => any;
|
|
141
|
-
};
|
|
142
|
-
logoRender: {
|
|
143
|
-
type: vue118.PropType<CommonLogoProps["logoRender"]>;
|
|
144
|
-
default: () => any;
|
|
145
|
-
};
|
|
146
|
-
onLogoClick: vue118.PropType<CommonLogoProps["onLogoClick"]>;
|
|
147
|
-
}>> & Readonly<{}>, {
|
|
148
|
-
logo: _gx_design_vue_pro_utils5.CustomRender;
|
|
149
|
-
logoStyle: vue118.CSSProperties;
|
|
150
|
-
logoRender: LogoRender;
|
|
151
|
-
menuItemRender: MenuItemRender;
|
|
152
|
-
menuTextRender: MenuTextRender;
|
|
153
|
-
subMenuItemRender: SubMenuItemRender;
|
|
154
|
-
headerMainWidth: number;
|
|
155
|
-
collapsedIconRender: CollapsedIconRender;
|
|
156
|
-
collapsedButtonRender: CollapsedButtonRender;
|
|
157
|
-
appsLogoComponents: DefaultRender;
|
|
158
|
-
extraRightDropdownRender: DefaultRender;
|
|
159
|
-
headerContentRender: HeaderContentRender;
|
|
160
|
-
headerRender: HeaderRender;
|
|
161
|
-
rightContentRender: RightContentRender;
|
|
162
|
-
}, {}, {}, {}, string, vue118.ComponentProvideOptions, true, {}, any>;
|
|
163
|
-
//#endregion
|
|
164
|
-
export { GlobalHeaderProps, _default as default };
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { useProLayoutContext } from "../../Context/index.js";
|
|
2
|
-
import { commonCollapsedProps } from "../../props/collapsedProps.js";
|
|
3
|
-
import { headerProps } from "./props.js";
|
|
4
|
-
import DefaultHeader_default from "./DefaultHeader.js";
|
|
5
|
-
import { genProHeaderStyle } from "./style/header.js";
|
|
6
|
-
import { Fragment, computed, createVNode, defineComponent, isVNode } from "vue";
|
|
7
|
-
import { unit, useProStyle } from "@gx-design-vue/pro-provider";
|
|
8
|
-
import { Layout } from "ant-design-vue";
|
|
9
|
-
|
|
10
|
-
//#region src/components/GlobalHeader/index.tsx
|
|
11
|
-
function _isSlot(s) {
|
|
12
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
13
|
-
}
|
|
14
|
-
const { Header } = Layout;
|
|
15
|
-
var GlobalHeader_default = /* @__PURE__ */ defineComponent({
|
|
16
|
-
name: "GlobalHeader",
|
|
17
|
-
inheritAttrs: false,
|
|
18
|
-
props: {
|
|
19
|
-
...headerProps,
|
|
20
|
-
...commonCollapsedProps
|
|
21
|
-
},
|
|
22
|
-
setup(props) {
|
|
23
|
-
const { styles, classNames, collapsed, collapsedEffect, collapsedProps, getPrefixCls, contentFullScreen, settings, zIndex, isMobile, layoutProps } = useProLayoutContext();
|
|
24
|
-
const baseClassName = getPrefixCls({
|
|
25
|
-
suffixCls: "layout-header",
|
|
26
|
-
isPor: true
|
|
27
|
-
});
|
|
28
|
-
const needFixedHeader = computed(() => settings.value.fixedHeader);
|
|
29
|
-
const hasSilder = computed(() => settings.value.layout === "side" || settings.value.layout === "simple");
|
|
30
|
-
const { wrapSSR, hashId } = useProStyle("ProLayoutHeader", [genProHeaderStyle], baseClassName);
|
|
31
|
-
const className = computed(() => {
|
|
32
|
-
return {
|
|
33
|
-
[`${hashId.value}`]: true,
|
|
34
|
-
[`${baseClassName}`]: true,
|
|
35
|
-
[`${classNames.value.header}`]: classNames.value.header,
|
|
36
|
-
[`${baseClassName}-fixed-header`]: needFixedHeader.value
|
|
37
|
-
};
|
|
38
|
-
});
|
|
39
|
-
const needSettingWidth = computed(() => needFixedHeader.value && !isMobile.value);
|
|
40
|
-
const width = computed(() => {
|
|
41
|
-
if (collapsedProps.value?.width === 0 && collapsed.value) return "100%";
|
|
42
|
-
const width = collapsedEffect.value ? collapsedProps.value?.width : layoutProps.value.siderWidth;
|
|
43
|
-
return hasSilder.value && needSettingWidth.value ? collapsedEffect.value ? width ? `calc(100% - ${unit(width)})` : "100%" : width ? `calc(100% - ${unit(width)})` : "100%" : "100%";
|
|
44
|
-
});
|
|
45
|
-
const right = computed(() => needFixedHeader.value ? 0 : void 0);
|
|
46
|
-
const renderContent = () => {
|
|
47
|
-
const defaultDom = createVNode(DefaultHeader_default, props, null);
|
|
48
|
-
if (props.headerRender) return props.headerRender({
|
|
49
|
-
props,
|
|
50
|
-
defaultDom
|
|
51
|
-
});
|
|
52
|
-
return defaultDom;
|
|
53
|
-
};
|
|
54
|
-
return () => {
|
|
55
|
-
let _slot;
|
|
56
|
-
return wrapSSR(createVNode(Fragment, null, [needFixedHeader.value && createVNode(Header, { "style": {
|
|
57
|
-
height: `${layoutProps.value.headerHeight}`,
|
|
58
|
-
lineHeight: `${layoutProps.value.headerHeight}`,
|
|
59
|
-
background: "transparent",
|
|
60
|
-
marginTop: contentFullScreen.value ? `-${layoutProps.value.headerHeight}` : void 0
|
|
61
|
-
} }, null), createVNode(Header, {
|
|
62
|
-
"class": className.value,
|
|
63
|
-
"style": {
|
|
64
|
-
height: `${layoutProps.value.headerHeight}`,
|
|
65
|
-
lineHeight: `${layoutProps.value.headerHeight}`,
|
|
66
|
-
width: width.value,
|
|
67
|
-
zIndex: hasSilder.value ? zIndex.value : zIndex.value + 1,
|
|
68
|
-
right: right.value,
|
|
69
|
-
marginTop: contentFullScreen.value ? `-${layoutProps.value.headerHeight}` : void 0,
|
|
70
|
-
...styles.value?.header || {}
|
|
71
|
-
}
|
|
72
|
-
}, _isSlot(_slot = renderContent()) ? _slot : { default: () => [_slot] })]));
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
//#endregion
|
|
78
|
-
export { GlobalHeader_default as default };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { BaseMenuProps, ProLayoutMenuFunProps } from "../../types/MenuTypings.js";
|
|
2
|
-
import { DefaultRender, HeaderContentRender, HeaderRender, RightContentRender } from "../../types/SlotsTypings.js";
|
|
3
|
-
import { CommonLogoProps } from "../LogoContent/props.js";
|
|
4
|
-
import { HeaderLayoutProps } from "../../types/typings.js";
|
|
5
|
-
import * as vue166 from "vue";
|
|
6
|
-
import { PropType } from "vue";
|
|
7
|
-
|
|
8
|
-
//#region src/components/GlobalHeader/props.d.ts
|
|
9
|
-
declare const headerProps: {
|
|
10
|
-
autoHideHeader: PropType<HeaderLayoutProps["autoHideHeader"]>;
|
|
11
|
-
headerMainWidth: {
|
|
12
|
-
type: PropType<HeaderLayoutProps["headerMainWidth"]>;
|
|
13
|
-
default: any;
|
|
14
|
-
};
|
|
15
|
-
headerRender: {
|
|
16
|
-
type: PropType<HeaderRender>;
|
|
17
|
-
default: () => any;
|
|
18
|
-
};
|
|
19
|
-
headerContentRender: {
|
|
20
|
-
type: PropType<HeaderContentRender>;
|
|
21
|
-
default: () => any;
|
|
22
|
-
};
|
|
23
|
-
appsLogoComponents: {
|
|
24
|
-
type: PropType<DefaultRender>;
|
|
25
|
-
default: () => any;
|
|
26
|
-
};
|
|
27
|
-
extraRightDropdownRender: {
|
|
28
|
-
type: PropType<DefaultRender>;
|
|
29
|
-
default: () => any;
|
|
30
|
-
};
|
|
31
|
-
rightContentRender: {
|
|
32
|
-
type: PropType<RightContentRender>;
|
|
33
|
-
default: () => any;
|
|
34
|
-
};
|
|
35
|
-
onOpenKeys: {
|
|
36
|
-
type: PropType<ProLayoutMenuFunProps["onOpenKeys"]>;
|
|
37
|
-
};
|
|
38
|
-
onSelect: {
|
|
39
|
-
type: PropType<ProLayoutMenuFunProps["onSelect"]>;
|
|
40
|
-
};
|
|
41
|
-
menuItemRender: {
|
|
42
|
-
type: PropType<BaseMenuProps["menuItemRender"]>;
|
|
43
|
-
default: () => any;
|
|
44
|
-
};
|
|
45
|
-
menuTextRender: {
|
|
46
|
-
type: PropType<BaseMenuProps["menuTextRender"]>;
|
|
47
|
-
default: () => any;
|
|
48
|
-
};
|
|
49
|
-
subMenuItemRender: {
|
|
50
|
-
type: PropType<BaseMenuProps["subMenuItemRender"]>;
|
|
51
|
-
default: () => any;
|
|
52
|
-
};
|
|
53
|
-
class: PropType<string>;
|
|
54
|
-
style: PropType<vue166.CSSProperties>;
|
|
55
|
-
logo: {
|
|
56
|
-
type: PropType<CommonLogoProps["logo"]>;
|
|
57
|
-
default: () => any;
|
|
58
|
-
};
|
|
59
|
-
logoStyle: {
|
|
60
|
-
type: PropType<CommonLogoProps["logoStyle"]>;
|
|
61
|
-
default: () => any;
|
|
62
|
-
};
|
|
63
|
-
logoRender: {
|
|
64
|
-
type: PropType<CommonLogoProps["logoRender"]>;
|
|
65
|
-
default: () => any;
|
|
66
|
-
};
|
|
67
|
-
onLogoClick: PropType<CommonLogoProps["onLogoClick"]>;
|
|
68
|
-
};
|
|
69
|
-
//#endregion
|
|
70
|
-
export { headerProps };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { commonMenuFunProps } from "../BaseMenu/props.js";
|
|
2
|
-
import { commonLogoProps } from "../LogoContent/props.js";
|
|
3
|
-
|
|
4
|
-
//#region src/components/GlobalHeader/props.ts
|
|
5
|
-
const headerProps = {
|
|
6
|
-
...commonLogoProps,
|
|
7
|
-
...commonMenuFunProps,
|
|
8
|
-
autoHideHeader: Boolean,
|
|
9
|
-
headerMainWidth: {
|
|
10
|
-
type: [Number, String],
|
|
11
|
-
default: void 0
|
|
12
|
-
},
|
|
13
|
-
headerRender: {
|
|
14
|
-
type: [
|
|
15
|
-
Object,
|
|
16
|
-
Function,
|
|
17
|
-
Boolean
|
|
18
|
-
],
|
|
19
|
-
default: () => void 0
|
|
20
|
-
},
|
|
21
|
-
headerContentRender: {
|
|
22
|
-
type: [
|
|
23
|
-
Object,
|
|
24
|
-
Function,
|
|
25
|
-
Boolean
|
|
26
|
-
],
|
|
27
|
-
default: () => void 0
|
|
28
|
-
},
|
|
29
|
-
appsLogoComponents: {
|
|
30
|
-
type: [
|
|
31
|
-
Object,
|
|
32
|
-
Function,
|
|
33
|
-
Boolean
|
|
34
|
-
],
|
|
35
|
-
default: () => void 0
|
|
36
|
-
},
|
|
37
|
-
extraRightDropdownRender: {
|
|
38
|
-
type: [
|
|
39
|
-
Object,
|
|
40
|
-
Function,
|
|
41
|
-
Boolean
|
|
42
|
-
],
|
|
43
|
-
default: () => void 0
|
|
44
|
-
},
|
|
45
|
-
rightContentRender: {
|
|
46
|
-
type: [
|
|
47
|
-
Object,
|
|
48
|
-
Function,
|
|
49
|
-
Boolean
|
|
50
|
-
],
|
|
51
|
-
default: () => void 0
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
//#endregion
|
|
56
|
-
export { headerProps };
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { getTokenLayoutTheme } from "../../../config/index.js";
|
|
2
|
-
import { iconStyle } from "../../../style/index.js";
|
|
3
|
-
import { unit } from "@gx-design-vue/pro-provider";
|
|
4
|
-
|
|
5
|
-
//#region src/components/GlobalHeader/style/defaultHeader.ts
|
|
6
|
-
const genProDefaultHeaderStyle = (token) => {
|
|
7
|
-
const { theme } = getTokenLayoutTheme(token);
|
|
8
|
-
const activeBarBorderWidth = token.lineWidth;
|
|
9
|
-
const headerToken = token?.layout?.header;
|
|
10
|
-
return {
|
|
11
|
-
[`${token.proComponentsCls}-header`]: { "&-light": { [`${token.componentCls}-logo`]: { h1: { color: token.colorBgSpotlight } } } },
|
|
12
|
-
[token.componentCls]: {
|
|
13
|
-
position: "relative",
|
|
14
|
-
background: "transparent",
|
|
15
|
-
display: "flex",
|
|
16
|
-
marginBlock: 0,
|
|
17
|
-
paddingInline: 16,
|
|
18
|
-
width: "100%",
|
|
19
|
-
height: "100%",
|
|
20
|
-
"&-mix": {
|
|
21
|
-
display: "flex",
|
|
22
|
-
alignItems: "center"
|
|
23
|
-
},
|
|
24
|
-
"&-wide": {
|
|
25
|
-
padding: 0,
|
|
26
|
-
[`${token.componentCls}-main`]: { margin: "0 auto" }
|
|
27
|
-
},
|
|
28
|
-
"&-main": {
|
|
29
|
-
display: "flex",
|
|
30
|
-
width: "100%",
|
|
31
|
-
height: "100%",
|
|
32
|
-
"&-left": {
|
|
33
|
-
display: "flex",
|
|
34
|
-
alignItems: "center",
|
|
35
|
-
gap: token.marginXS,
|
|
36
|
-
[`${token.proComponentsCls}-layout-app-icon`]: { marginInlineEnd: 16 },
|
|
37
|
-
[`${token.componentCls}-collapsed-button`]: { ...iconStyle(token) }
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"&-menu": {
|
|
41
|
-
minWidth: 0,
|
|
42
|
-
display: "flex",
|
|
43
|
-
alignItems: "center",
|
|
44
|
-
paddingInline: token.marginXS,
|
|
45
|
-
lineHeight: `calc(${unit(token.layout?.header?.heightLayoutHeader)} - ${unit(12)})`,
|
|
46
|
-
[`${token.antCls}-menu-${theme}${token.antCls}-menu-horizontal`]: {
|
|
47
|
-
width: "100%",
|
|
48
|
-
color: headerToken?.colorTextMenu,
|
|
49
|
-
[`> ${token.antCls}-menu-item, > ${token.antCls}-menu-submenu`]: {
|
|
50
|
-
top: activeBarBorderWidth,
|
|
51
|
-
marginTop: token.calc(activeBarBorderWidth).mul(-1).equal(),
|
|
52
|
-
marginBottom: 0,
|
|
53
|
-
borderRadius: headerToken?.itemBorderRadius || 0,
|
|
54
|
-
"&:hover, &-active, &-open": {
|
|
55
|
-
background: headerToken?.colorBgMenuItemHover,
|
|
56
|
-
"&::after": { borderBottomColor: headerToken?.colorTextMenuSelected }
|
|
57
|
-
},
|
|
58
|
-
"&-selected": {
|
|
59
|
-
color: token.layout?.header?.colorTextMenuSelected || token?.colorTextBase,
|
|
60
|
-
backgroundColor: token.layout?.header?.colorBgMenuItemSelected || token?.colorBgTextHover,
|
|
61
|
-
"&:hover": { backgroundColor: token.layout?.header?.colorBgMenuItemSelected || token?.colorBgTextHover },
|
|
62
|
-
"&::after": { borderBottomColor: token.layout?.header?.colorTextMenuSelected || token?.colorTextBase }
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
[`${token.proComponentsCls}-menu-item-badge`]: {
|
|
67
|
-
position: "relative",
|
|
68
|
-
top: "-0.1em",
|
|
69
|
-
marginInlineStart: 12,
|
|
70
|
-
[`${token.antCls}-scroll-number`]: { transform: "none" }
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"> a": { height: "100%" },
|
|
74
|
-
"> *": { height: "100%" },
|
|
75
|
-
[`${token.proComponentsCls}-layout-apps-icon`]: { marginInlineEnd: 16 },
|
|
76
|
-
"&-collapsed-button": {
|
|
77
|
-
display: "flex",
|
|
78
|
-
alignItems: "center",
|
|
79
|
-
fontSize: "20px"
|
|
80
|
-
},
|
|
81
|
-
"&-logo": {
|
|
82
|
-
a: {
|
|
83
|
-
display: "flex",
|
|
84
|
-
alignItems: "center",
|
|
85
|
-
height: "100%",
|
|
86
|
-
minHeight: "22px",
|
|
87
|
-
fontSize: "20px"
|
|
88
|
-
},
|
|
89
|
-
img: { height: "28px" },
|
|
90
|
-
h1: {
|
|
91
|
-
marginBlock: 0,
|
|
92
|
-
marginInline: 0,
|
|
93
|
-
marginInlineStart: 12,
|
|
94
|
-
fontWeight: "500",
|
|
95
|
-
color: token.colorWhite,
|
|
96
|
-
fontSize: 16
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"&-logo-mobile": {
|
|
100
|
-
minWidth: "24px",
|
|
101
|
-
marginInlineEnd: 0
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
//#endregion
|
|
108
|
-
export { genProDefaultHeaderStyle };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { unit } from "@gx-design-vue/pro-provider";
|
|
2
|
-
|
|
3
|
-
//#region src/components/GlobalHeader/style/header.ts
|
|
4
|
-
const genProHeaderStyle = (token) => {
|
|
5
|
-
return { [`${token.proComponentsCls}-basic-layout`]: { [`${token.antCls}-layout-header${token.componentCls}`]: {
|
|
6
|
-
height: unit(token.layout?.header?.heightLayoutHeader || 56),
|
|
7
|
-
lineHeight: unit(token.layout?.header?.heightLayoutHeader || 56),
|
|
8
|
-
zIndex: 19,
|
|
9
|
-
width: "100%",
|
|
10
|
-
paddingBlock: 0,
|
|
11
|
-
paddingInline: 0,
|
|
12
|
-
borderBlockEnd: `1px solid ${token.colorSplit}`,
|
|
13
|
-
backgroundColor: token.layout?.header?.colorBgHeader || "rgba(255, 255, 255, 0.4)",
|
|
14
|
-
WebkitBackdropFilter: "blur(8px)",
|
|
15
|
-
backdropFilter: "blur(8px)",
|
|
16
|
-
transition: "background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
17
|
-
"&-fixed-header": {
|
|
18
|
-
position: "fixed",
|
|
19
|
-
insetBlockStart: 0,
|
|
20
|
-
width: "100%",
|
|
21
|
-
insetInlineEnd: 0
|
|
22
|
-
},
|
|
23
|
-
"&-fixed-header-scroll": { backgroundColor: token.layout?.header?.colorBgScrollHeader || "rgba(255, 255, 255, 0.8)" },
|
|
24
|
-
"&-header-actions": {
|
|
25
|
-
display: "flex",
|
|
26
|
-
alignItems: "center",
|
|
27
|
-
fontSize: "16",
|
|
28
|
-
cursor: "pointer",
|
|
29
|
-
"& &-item": {
|
|
30
|
-
paddingBlock: 0,
|
|
31
|
-
paddingInline: 8,
|
|
32
|
-
"&:hover": { color: token.colorText }
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"&-header-realDark": { boxShadow: "0 2px 8px 0 rgba(0, 0, 0, 65%)" },
|
|
36
|
-
"&-header-actions-header-action": { transition: "width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)" }
|
|
37
|
-
} } };
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
//#endregion
|
|
41
|
-
export { genProHeaderStyle };
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { LogoRender } from "../../types/SlotsTypings.js";
|
|
2
|
-
import { ProLayoutConfig, ProLayoutType } from "../../config/index.js";
|
|
3
|
-
import "../../index.js";
|
|
4
|
-
import _default, { CommonLogoProps } from "./props.js";
|
|
5
|
-
import { HeaderLayoutProps } from "../../types/typings.js";
|
|
6
|
-
import * as vue167 from "vue";
|
|
7
|
-
import { CSSProperties, ExtractPropTypes, PropType } from "vue";
|
|
8
|
-
import { CustomRender } from "@gx-design-vue/pro-utils";
|
|
9
|
-
import * as vue_jsx_runtime5 from "vue/jsx-runtime";
|
|
10
|
-
|
|
11
|
-
//#region src/components/LogoContent/index.d.ts
|
|
12
|
-
type LogoContentProps = Partial<ExtractPropTypes<typeof _default>>;
|
|
13
|
-
declare function defaultRenderLogo(logo?: CustomRender, logoStyle?: CSSProperties): CustomRender;
|
|
14
|
-
declare function logoDom(classNames: string, props: CommonLogoProps): vue_jsx_runtime5.JSX.Element;
|
|
15
|
-
declare function renderLogo(logoRender: HeaderLayoutProps['logoRender'], logoDom: CustomRender): CustomRender;
|
|
16
|
-
declare function defaultRenderLogoAndTitle(props: LogoContentProps & {
|
|
17
|
-
collapsed?: boolean;
|
|
18
|
-
collapsedWidth?: number;
|
|
19
|
-
}): CustomRender;
|
|
20
|
-
declare const LogoContent: vue167.DefineComponent<ExtractPropTypes<{
|
|
21
|
-
hashId: PropType<string>;
|
|
22
|
-
baseClassName: PropType<string>;
|
|
23
|
-
class: PropType<string>;
|
|
24
|
-
style: PropType<CSSProperties>;
|
|
25
|
-
logo: {
|
|
26
|
-
type: PropType<CommonLogoProps["logo"]>;
|
|
27
|
-
default: () => any;
|
|
28
|
-
};
|
|
29
|
-
logoStyle: {
|
|
30
|
-
type: PropType<CommonLogoProps["logoStyle"]>;
|
|
31
|
-
default: () => any;
|
|
32
|
-
};
|
|
33
|
-
logoRender: {
|
|
34
|
-
type: PropType<CommonLogoProps["logoRender"]>;
|
|
35
|
-
default: () => any;
|
|
36
|
-
};
|
|
37
|
-
onLogoClick: PropType<CommonLogoProps["onLogoClick"]>;
|
|
38
|
-
layout: {
|
|
39
|
-
type: PropType<ProLayoutConfig["layout"]>;
|
|
40
|
-
default: ProLayoutType;
|
|
41
|
-
};
|
|
42
|
-
title: {
|
|
43
|
-
type: PropType<ProLayoutConfig["title"]>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
}>, () => vue_jsx_runtime5.JSX.Element, {}, {}, {}, vue167.ComponentOptionsMixin, vue167.ComponentOptionsMixin, {}, string, vue167.PublicProps, Readonly<ExtractPropTypes<{
|
|
47
|
-
hashId: PropType<string>;
|
|
48
|
-
baseClassName: PropType<string>;
|
|
49
|
-
class: PropType<string>;
|
|
50
|
-
style: PropType<CSSProperties>;
|
|
51
|
-
logo: {
|
|
52
|
-
type: PropType<CommonLogoProps["logo"]>;
|
|
53
|
-
default: () => any;
|
|
54
|
-
};
|
|
55
|
-
logoStyle: {
|
|
56
|
-
type: PropType<CommonLogoProps["logoStyle"]>;
|
|
57
|
-
default: () => any;
|
|
58
|
-
};
|
|
59
|
-
logoRender: {
|
|
60
|
-
type: PropType<CommonLogoProps["logoRender"]>;
|
|
61
|
-
default: () => any;
|
|
62
|
-
};
|
|
63
|
-
onLogoClick: PropType<CommonLogoProps["onLogoClick"]>;
|
|
64
|
-
layout: {
|
|
65
|
-
type: PropType<ProLayoutConfig["layout"]>;
|
|
66
|
-
default: ProLayoutType;
|
|
67
|
-
};
|
|
68
|
-
title: {
|
|
69
|
-
type: PropType<ProLayoutConfig["title"]>;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
}>> & Readonly<{}>, {
|
|
73
|
-
logo: CustomRender;
|
|
74
|
-
logoStyle: CSSProperties;
|
|
75
|
-
logoRender: LogoRender;
|
|
76
|
-
layout: ProLayoutType;
|
|
77
|
-
title: string;
|
|
78
|
-
}, {}, {}, {}, string, vue167.ComponentProvideOptions, true, {}, any>;
|
|
79
|
-
//#endregion
|
|
80
|
-
export { LogoContentProps, LogoContent as default, defaultRenderLogo, defaultRenderLogoAndTitle, logoDom, renderLogo };
|