@gx-design-vue/pro-layout 0.1.0-beta.84 → 0.1.0-beta.86

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 CHANGED
@@ -19,6 +19,7 @@ export type ProLayoutContextProps = {
19
19
  layout: Ref<ProLayoutType>;
20
20
  theme: Ref<BaseMenuTheme>;
21
21
  dark: Ref<BasicLayoutProps['dark']>;
22
+ contentStyle: ComputedRef<BasicLayoutProps['contentStyle']>;
22
23
  collapsed: Ref<boolean>;
23
24
  wideWidth: Ref<string | number>;
24
25
  contentWidth: Ref<string | number>;
@@ -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,52 @@
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: {
16
+ type: PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<import("@gx-design-vue/pro-utils/dist").CustomRender>>;
17
+ default: undefined;
18
+ };
19
+ indicator: {
20
+ type: PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<import("@gx-design-vue/pro-utils/dist").CustomRender>>;
21
+ default: undefined;
22
+ };
23
+ }>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ spinning: PropType<boolean>;
25
+ spinningBlur: {
26
+ type: PropType<boolean>;
27
+ default: boolean;
28
+ };
29
+ spinProps: PropType<Omit<SpinProps, "spinning"> & {
30
+ class?: string;
31
+ style?: CSSProperties;
32
+ iconStyle?: CSSProperties;
33
+ iconClass?: string;
34
+ }>;
35
+ emptyText: {
36
+ type: PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<import("@gx-design-vue/pro-utils/dist").CustomRender>>;
37
+ default: undefined;
38
+ };
39
+ indicator: {
40
+ type: PropType<import("@gx-design-vue/pro-utils/dist").WithFalse<import("@gx-design-vue/pro-utils/dist").CustomRender>>;
41
+ default: undefined;
42
+ };
43
+ }>> & Readonly<{}>, {
44
+ indicator: import("@gx-design-vue/pro-utils/dist").CustomRender;
45
+ spinningBlur: boolean;
46
+ emptyText: import("@gx-design-vue/pro-utils/dist").CustomRender;
47
+ }, SlotsType<{
48
+ default(): void;
49
+ emptyText(): void;
50
+ indicator(): void;
51
+ }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
52
+ export default ProAppPage;
@@ -0,0 +1,4 @@
1
+ export declare function useStyle(componentCls: string): {
2
+ wrapSSR: (node: import("ant-design-vue/es/_util/type").VueNode) => import("ant-design-vue/es/_util/type").VueNode;
3
+ hashId: import("vue").ComputedRef<string>;
4
+ };
@@ -47,6 +47,11 @@ declare const PageContainer: import("vue").DefineComponent<ExtractPropTypes<{
47
47
  } & {
48
48
  default: boolean;
49
49
  };
50
+ loadingBlur: import("vue-types").VueTypeValidableDef<boolean> & {
51
+ default: boolean;
52
+ } & {
53
+ default: boolean;
54
+ };
50
55
  }>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
51
56
  usePageCard: {
52
57
  type: import("vue").PropType<boolean>;
@@ -91,6 +96,11 @@ declare const PageContainer: import("vue").DefineComponent<ExtractPropTypes<{
91
96
  } & {
92
97
  default: boolean;
93
98
  };
99
+ loadingBlur: import("vue-types").VueTypeValidableDef<boolean> & {
100
+ default: boolean;
101
+ } & {
102
+ default: boolean;
103
+ };
94
104
  }>> & Readonly<{}>, {
95
105
  loading: boolean;
96
106
  contentWidth: string | number | undefined;
@@ -100,6 +110,7 @@ declare const PageContainer: import("vue").DefineComponent<ExtractPropTypes<{
100
110
  waterMark: boolean;
101
111
  pageChildrenExtraRender: import("../../SlotsTypings").DefaultRender;
102
112
  contentRender: import("../../SlotsTypings").DefaultRender;
113
+ loadingBlur: boolean;
103
114
  }, SlotsType<{
104
115
  default(): void;
105
116
  contentRender(): void;
@@ -71,4 +71,9 @@ export declare const pageContainerProps: {
71
71
  } & {
72
72
  default: boolean;
73
73
  };
74
+ loadingBlur: import("vue-types").VueTypeValidableDef<boolean> & {
75
+ default: boolean;
76
+ } & {
77
+ default: boolean;
78
+ };
74
79
  };
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, PageLoading, SiderMenuWrapper, PageContainer, RightContent, SearchPageInput };
33
+ export { GProLayout, PageLock, BaseMenu, SiderMenuWrapper, PageContainer, RightContent, SearchPageInput };
34
34
  export type { MenuMode, AppItemProps, AnimateConfig, PageContainerProps, };