@gx-design-vue/pro-layout 0.1.0-beta.3 → 0.1.0-beta.31
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 +1 -1
- package/dist/ProLayout.d.ts +51 -23
- package/dist/components/GlobalHeader/DefaultHeader.d.ts +6 -6
- package/dist/components/GlobalHeader/index.d.ts +4 -4
- package/dist/components/GlobalHeader/props.d.ts +4 -4
- package/dist/components/PageContainer/PageHeader.d.ts +12 -3
- package/dist/components/PageContainer/index.d.ts +37 -6
- package/dist/components/PageContainer/props.d.ts +16 -1
- package/dist/components/SiderMenu/BaseMenu.d.ts +14 -6
- package/dist/components/SiderMenu/SiderMenu.d.ts +12 -12
- package/dist/components/SiderMenu/index.d.ts +15 -15
- package/dist/components/SiderMenu/props.d.ts +12 -6
- package/dist/index.d.ts +3 -2
- package/dist/pro-layout.mjs +1695 -4514
- package/dist/pro-layout.umd.js +1 -19
- package/dist/props.d.ts +15 -2
- package/dist/route.d.ts +5 -11
- package/dist/utils/getMenuData.d.ts +2 -1
- package/dist/utils/index.d.ts +1 -0
- package/package.json +7 -7
|
@@ -53,6 +53,12 @@ export declare const baseMenuProps: {
|
|
|
53
53
|
default: () => boolean;
|
|
54
54
|
};
|
|
55
55
|
onClick: PropType<(...args: any) => void>;
|
|
56
|
+
onOpenKeys: {
|
|
57
|
+
type: PropType<(openKeys: string[]) => void>;
|
|
58
|
+
};
|
|
59
|
+
onSelect: {
|
|
60
|
+
type: PropType<(selectedKeys: string[]) => void>;
|
|
61
|
+
};
|
|
56
62
|
wideWidth: {
|
|
57
63
|
type: PropType<number | undefined>;
|
|
58
64
|
default: number | undefined;
|
|
@@ -189,12 +195,6 @@ export declare const siderMenuProps: {
|
|
|
189
195
|
onCollapse: {
|
|
190
196
|
type: PropType<(collapsed: boolean) => void>;
|
|
191
197
|
};
|
|
192
|
-
onOpenKeys: {
|
|
193
|
-
type: PropType<(openKeys: WithFalse<string[]>) => void>;
|
|
194
|
-
};
|
|
195
|
-
onSelect: {
|
|
196
|
-
type: PropType<(selectedKeys: WithFalse<string[]>) => void>;
|
|
197
|
-
};
|
|
198
198
|
mode: {
|
|
199
199
|
type: PropType<MenuMode>;
|
|
200
200
|
default: string;
|
|
@@ -243,6 +243,12 @@ export declare const siderMenuProps: {
|
|
|
243
243
|
default: () => boolean;
|
|
244
244
|
};
|
|
245
245
|
onClick: PropType<(...args: any) => void>;
|
|
246
|
+
onOpenKeys: {
|
|
247
|
+
type: PropType<(openKeys: string[]) => void>;
|
|
248
|
+
};
|
|
249
|
+
onSelect: {
|
|
250
|
+
type: PropType<(selectedKeys: string[]) => void>;
|
|
251
|
+
};
|
|
246
252
|
wideWidth: {
|
|
247
253
|
type: PropType<number | undefined>;
|
|
248
254
|
default: number | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,11 +2,13 @@ import { default as PageLoading } from './PageLoading';
|
|
|
2
2
|
import { default as BaseMenu } from './components/SiderMenu/BaseMenu';
|
|
3
3
|
import { default as SiderMenuWrapper } from './components/SiderMenu';
|
|
4
4
|
import type { PageContainerProps } from './components/PageContainer';
|
|
5
|
+
import type { AnimateConfig } from './utils/animate';
|
|
5
6
|
import PageContainer from './components/PageContainer';
|
|
6
7
|
import GProLayout from './ProLayout';
|
|
7
8
|
import { handleThemeConfig } from './utils';
|
|
8
9
|
export * from './Context';
|
|
9
10
|
export * from './typings';
|
|
11
|
+
export * from './route';
|
|
10
12
|
export * from './utils/getMenuData';
|
|
11
13
|
export { createContext, useContext } from './hooks/context';
|
|
12
14
|
export type { ContextType, CreateContext } from './hooks/context';
|
|
@@ -23,6 +25,5 @@ export type { DefaultHeaderProps } from './components/GlobalHeader/DefaultHeader
|
|
|
23
25
|
export type { GlobalFooterProps } from './components/GlobalFooter';
|
|
24
26
|
export type { ProSettings } from './defaultSettings';
|
|
25
27
|
export type { BasicLayoutProps } from './ProLayout';
|
|
26
|
-
export type { AppRouteModule, MenuDataItem } from './route';
|
|
27
28
|
export { GProLayout, BaseMenu, PageLoading, handleThemeConfig, SiderMenuWrapper, PageContainer, };
|
|
28
|
-
export type { PageContainerProps };
|
|
29
|
+
export type { PageContainerProps, AnimateConfig };
|