@gx-design-vue/pro-layout-components 0.1.0-beta.2 → 0.1.0-beta.4
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/ThemeEditor/components/BlockCheckbox.d.ts +0 -4
- package/dist/ThemeEditor/components/RegionalChange.d.ts +0 -4
- package/dist/ThemeEditor/components/Setting/index.d.ts +1 -5
- package/dist/ThemeEditor/components/Theme/Color/Primary.d.ts +2 -0
- package/dist/ThemeEditor/components/Theme/Color/Side.d.ts +2 -0
- package/dist/ThemeEditor/components/Theme/Color/index.d.ts +2 -0
- package/dist/ThemeEditor/components/Theme/context.d.ts +5 -0
- package/dist/ThemeEditor/components/Theme/index.d.ts +0 -4
- package/dist/ThemeEditor/components/Trigger.d.ts +0 -4
- package/dist/ThemeEditor/context.d.ts +7 -0
- package/dist/ThemeEditor/index.d.ts +1 -1
- package/dist/ThemeEditor/props.d.ts +0 -2
- package/dist/ThemeEditor/style/index.d.ts +2 -0
- package/dist/{index-DFpeKk29.js → index-Bc7hR1Ge.js} +1938 -1895
- package/dist/{index-BE3WbI0h.js → index-D7DswqyL.js} +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/pro-layout-components.js +6 -5
- package/dist/pro-layout-components.umd.cjs +3 -3
- package/package.json +3 -3
|
@@ -11,8 +11,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11
11
|
default: () => never[];
|
|
12
12
|
};
|
|
13
13
|
configType: PropType<"menuTheme" | "layout">;
|
|
14
|
-
prefixCls: PropType<string>;
|
|
15
|
-
hashId: PropType<string>;
|
|
16
14
|
onChange: PropType<(value: any, event: MouseEvent) => void>;
|
|
17
15
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
16
|
value: PropType<string>;
|
|
@@ -25,8 +23,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
23
|
default: () => never[];
|
|
26
24
|
};
|
|
27
25
|
configType: PropType<"menuTheme" | "layout">;
|
|
28
|
-
prefixCls: PropType<string>;
|
|
29
|
-
hashId: PropType<string>;
|
|
30
26
|
onChange: PropType<(value: any, event: MouseEvent) => void>;
|
|
31
27
|
}>> & Readonly<{}>, {
|
|
32
28
|
list: {
|
|
@@ -3,17 +3,13 @@ import type { SettingsState } from '../utils/config';
|
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
label: PropType<string>;
|
|
5
5
|
value: PropType<boolean>;
|
|
6
|
-
prefixCls: PropType<string>;
|
|
7
6
|
valueKey: PropType<keyof SettingsState>;
|
|
8
|
-
hashId: PropType<string>;
|
|
9
7
|
disabled: PropType<boolean>;
|
|
10
8
|
onChange: PropType<(key: keyof SettingsState, value: boolean) => void>;
|
|
11
9
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
10
|
label: PropType<string>;
|
|
13
11
|
value: PropType<boolean>;
|
|
14
|
-
prefixCls: PropType<string>;
|
|
15
12
|
valueKey: PropType<keyof SettingsState>;
|
|
16
|
-
hashId: PropType<string>;
|
|
17
13
|
disabled: PropType<boolean>;
|
|
18
14
|
onChange: PropType<(key: keyof SettingsState, value: boolean) => void>;
|
|
19
15
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -23,8 +23,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
23
|
extraSettingState: {
|
|
24
24
|
type: PropType<ExtraConfigState>;
|
|
25
25
|
};
|
|
26
|
-
prefixCls: PropType<string>;
|
|
27
|
-
hashId: PropType<string>;
|
|
28
26
|
width: PropType<number>;
|
|
29
27
|
open: {
|
|
30
28
|
type: PropType<boolean>;
|
|
@@ -55,8 +53,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
55
53
|
extraSettingState: {
|
|
56
54
|
type: PropType<ExtraConfigState>;
|
|
57
55
|
};
|
|
58
|
-
prefixCls: PropType<string>;
|
|
59
|
-
hashId: PropType<string>;
|
|
60
56
|
width: PropType<number>;
|
|
61
57
|
open: {
|
|
62
58
|
type: PropType<boolean>;
|
|
@@ -67,9 +63,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
63
|
default: undefined;
|
|
68
64
|
};
|
|
69
65
|
}>> & Readonly<{}>, {
|
|
70
|
-
progress: boolean;
|
|
71
66
|
open: boolean;
|
|
72
67
|
onOpenChange: (val: boolean | undefined) => void;
|
|
68
|
+
progress: boolean;
|
|
73
69
|
copyButton: boolean;
|
|
74
70
|
weakMode: boolean;
|
|
75
71
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DeepPartial, ProAliasToken } from '@gx-design-vue/pro-provider';
|
|
2
|
+
export interface ThemeSettingsContext {
|
|
3
|
+
onChange: ((val: DeepPartial<ProAliasToken>) => void) | undefined;
|
|
4
|
+
}
|
|
5
|
+
export declare const provideThemeSettingContext: (value: ThemeSettingsContext) => void, useThemeSettingContext: (injectDefaultValue?: ThemeSettingsContext | undefined) => ThemeSettingsContext;
|
|
@@ -5,8 +5,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5
5
|
type: PropType<(val: DeepPartial<ProAliasToken>) => void>;
|
|
6
6
|
default: undefined;
|
|
7
7
|
};
|
|
8
|
-
prefixCls: PropType<string>;
|
|
9
|
-
hashId: PropType<string>;
|
|
10
8
|
width: PropType<number>;
|
|
11
9
|
open: {
|
|
12
10
|
type: PropType<boolean>;
|
|
@@ -21,8 +19,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
19
|
type: PropType<(val: DeepPartial<ProAliasToken>) => void>;
|
|
22
20
|
default: undefined;
|
|
23
21
|
};
|
|
24
|
-
prefixCls: PropType<string>;
|
|
25
|
-
hashId: PropType<string>;
|
|
26
22
|
width: PropType<number>;
|
|
27
23
|
open: {
|
|
28
24
|
type: PropType<boolean>;
|
|
@@ -3,16 +3,12 @@ export type ThemeEditorType = 'setting' | 'theme';
|
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
type: PropType<ThemeEditorType>;
|
|
5
5
|
open: PropType<boolean>;
|
|
6
|
-
hashId: PropType<string>;
|
|
7
|
-
prefixCls: PropType<string>;
|
|
8
6
|
onTypeChange: PropType<(val: ThemeEditorType) => void>;
|
|
9
7
|
onOpenChange: PropType<(val: boolean) => void>;
|
|
10
8
|
onClose: PropType<() => void>;
|
|
11
9
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
10
|
type: PropType<ThemeEditorType>;
|
|
13
11
|
open: PropType<boolean>;
|
|
14
|
-
hashId: PropType<string>;
|
|
15
|
-
prefixCls: PropType<string>;
|
|
16
12
|
onTypeChange: PropType<(val: ThemeEditorType) => void>;
|
|
17
13
|
onOpenChange: PropType<(val: boolean) => void>;
|
|
18
14
|
onClose: PropType<() => void>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
|
+
export interface ThemeEditorContext {
|
|
3
|
+
hashId: ComputedRef<string>;
|
|
4
|
+
prefixCls: string;
|
|
5
|
+
drawerClass: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const provideThemeEditorContext: (value: ThemeEditorContext) => void, useThemeEditorContext: (injectDefaultValue?: ThemeEditorContext | undefined) => ThemeEditorContext;
|
|
@@ -74,8 +74,8 @@ declare const ThemeEditor: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
74
74
|
onChangeThemeState?: ((...args: any[]) => any) | undefined;
|
|
75
75
|
onChangeSettingState?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
}>, {
|
|
77
|
-
progress: boolean;
|
|
78
77
|
open: boolean;
|
|
78
|
+
progress: boolean;
|
|
79
79
|
copyButton: boolean;
|
|
80
80
|
weakMode: boolean;
|
|
81
81
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -8,8 +8,6 @@ export interface ExtraConfigState {
|
|
|
8
8
|
export type LayoutConfig = Partial<ProLayoutConfig & ExtraConfigState>;
|
|
9
9
|
export declare const extraConfigKeys: (keyof ExtraConfigState)[];
|
|
10
10
|
export declare const commonProps: {
|
|
11
|
-
prefixCls: PropType<string>;
|
|
12
|
-
hashId: PropType<string>;
|
|
13
11
|
width: PropType<number>;
|
|
14
12
|
open: {
|
|
15
13
|
type: PropType<boolean>;
|
|
@@ -2,4 +2,6 @@ import type { ProAliasToken } from '@gx-design-vue/pro-provider';
|
|
|
2
2
|
import type { GenerateStyle } from 'ant-design-vue/es/theme/internal';
|
|
3
3
|
export declare const proThemeEditorButton: GenerateStyle<ProAliasToken>;
|
|
4
4
|
export declare const proThemeEditorDock: GenerateStyle<ProAliasToken>;
|
|
5
|
+
export declare const proThemeEditorBody: GenerateStyle<ProAliasToken>;
|
|
5
6
|
export declare const proThemeEditorDrawer: GenerateStyle<ProAliasToken>;
|
|
7
|
+
export declare const proThemeEditorCard: GenerateStyle<ProAliasToken>;
|