@gx-design-vue/pro-layout 0.1.0-beta.84 → 0.1.0-beta.85
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/components/AppPage/context.d.ts +6 -0
- package/dist/components/AppPage/index.d.ts +38 -0
- package/dist/components/AppPage/style.d.ts +4 -0
- package/dist/index.d.ts +2 -2
- package/dist/pro-layout.js +1569 -1507
- package/dist/pro-layout.umd.cjs +2 -2
- package/package.json +3 -3
- package/dist/components/PageContainer/PageLoading.d.ts +0 -29
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
|
+
export type ProPageContext = {
|
|
3
|
+
spinning: ComputedRef<boolean | undefined>;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
export declare const useAppPageContext: (injectDefaultValue?: ProPageContext | undefined) => ProPageContext, provideAppPageContext: (value: ProPageContext) => void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType } from 'vue';
|
|
2
|
+
import { type SpinProps } from 'ant-design-vue';
|
|
3
|
+
declare const ProAppPage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
spinning: PropType<boolean>;
|
|
5
|
+
spinningBlur: {
|
|
6
|
+
type: PropType<boolean>;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
spinProps: PropType<Omit<SpinProps, "spinning"> & {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
iconStyle?: CSSProperties;
|
|
13
|
+
iconClass?: string;
|
|
14
|
+
}>;
|
|
15
|
+
emptyText: PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
16
|
+
indicator: PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
17
|
+
}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
spinning: PropType<boolean>;
|
|
19
|
+
spinningBlur: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
spinProps: PropType<Omit<SpinProps, "spinning"> & {
|
|
24
|
+
class?: string;
|
|
25
|
+
style?: CSSProperties;
|
|
26
|
+
iconStyle?: CSSProperties;
|
|
27
|
+
iconClass?: string;
|
|
28
|
+
}>;
|
|
29
|
+
emptyText: PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
30
|
+
indicator: PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<import("@gx-design-vue/pro-utils/dist").CustomRender>>;
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
|
+
spinningBlur: boolean;
|
|
33
|
+
}, SlotsType<{
|
|
34
|
+
default(): void;
|
|
35
|
+
emptyText(): void;
|
|
36
|
+
indicator(): void;
|
|
37
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
export default ProAppPage;
|
package/dist/index.d.ts
CHANGED
|
@@ -9,13 +9,13 @@ import RightContent from './components/RightContent';
|
|
|
9
9
|
import BaseMenu from './components/SiderMenu/BaseMenu';
|
|
10
10
|
import PageContainer from './components/PageContainer';
|
|
11
11
|
import SearchPageInput from './components/RightContent/Search';
|
|
12
|
-
import PageLoading from './components/PageContainer/PageLoading';
|
|
13
12
|
export * from './Context';
|
|
14
13
|
export * from './typings';
|
|
15
14
|
export * from './utils';
|
|
16
15
|
export * from './RouteTypings';
|
|
17
16
|
export { default as useLayoutMenu } from './hooks/menu';
|
|
18
17
|
export { baseMenuProps } from './components/SiderMenu/props';
|
|
18
|
+
export { default as ProAppPage } from './components/AppPage';
|
|
19
19
|
export { default as GlobalFooter } from './components/GlobalFooter';
|
|
20
20
|
export { default as SettingDrawer } from './components/SettingDrawer';
|
|
21
21
|
export { default as PageTranstion } from './components/PageTranstion';
|
|
@@ -30,5 +30,5 @@ export type { MergerSettingsType } from './components/SettingDrawer';
|
|
|
30
30
|
export type { BaseMenuProps } from './components/SiderMenu/BaseMenu';
|
|
31
31
|
export type { DefaultHeaderProps } from './components/GlobalHeader/DefaultHeader';
|
|
32
32
|
export type { OpenEventHandler, SelectInfo } from './components/SiderMenu/typings';
|
|
33
|
-
export { GProLayout, PageLock, BaseMenu,
|
|
33
|
+
export { GProLayout, PageLock, BaseMenu, SiderMenuWrapper, PageContainer, RightContent, SearchPageInput };
|
|
34
34
|
export type { MenuMode, AppItemProps, AnimateConfig, PageContainerProps, };
|