xrk-components 2.0.0-beta.92 → 2.0.0-beta.94
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/lib/index.css +246 -1
- package/lib/index.esm.js +687 -546
- package/lib/index.umd.js +687 -546
- package/lib/packages/base/layout/index.d.ts +2 -0
- package/lib/packages/base/layout/main.d.ts +11 -0
- package/lib/packages/base/layout/menu-fold.d.ts +2 -0
- package/lib/packages/base/layout/menu.d.ts +8 -0
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export declare type BaseLayoutMenuProps = {
|
|
|
17
17
|
currentMenu?: any;
|
|
18
18
|
menus?: any;
|
|
19
19
|
}) => JSX.Element | string | number | boolean;
|
|
20
|
+
trigger?: 'fold' | 'suspended';
|
|
20
21
|
};
|
|
21
22
|
export declare type BaseLayoutHeaderProps = {
|
|
22
23
|
appName?: string;
|
|
@@ -36,6 +37,7 @@ export declare const BaseLayoutFlexContent: DefineComponent<{
|
|
|
36
37
|
export declare const BaseLayoutHeader: DefineComponent<BaseLayoutHeaderProps, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<BaseLayoutHeaderProps>, {}>;
|
|
37
38
|
export declare const BaseLayoutBody: DefineComponent<BaseLayoutBodyProps, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<BaseLayoutBodyProps>, {}>;
|
|
38
39
|
export declare const BaseLayoutMenu: DefineComponent<BaseLayoutMenuProps, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<BaseLayoutMenuProps>, {}>;
|
|
40
|
+
export declare const BaseLayoutMenuFold: DefineComponent<BaseLayoutMenuProps, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<BaseLayoutMenuProps>, {}>;
|
|
39
41
|
export declare const BaseLayoutMain: DefineComponent<Partial<BaseLayoutMenuProps> & Partial<BaseLayoutBodyProps> & Partial<BaseLayoutHeaderProps> & {
|
|
40
42
|
hideMenu?: boolean | undefined;
|
|
41
43
|
hideHeader?: boolean | undefined;
|
|
@@ -36,6 +36,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
type: FunctionConstructor;
|
|
37
37
|
required: false;
|
|
38
38
|
};
|
|
39
|
+
trigger: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: false;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
39
44
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
40
45
|
[key: string]: any;
|
|
41
46
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "menuClick"[], "menuClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -76,6 +81,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
81
|
type: FunctionConstructor;
|
|
77
82
|
required: false;
|
|
78
83
|
};
|
|
84
|
+
trigger: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: false;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
79
89
|
}>> & {
|
|
80
90
|
onMenuClick?: ((...args: any[]) => any) | undefined;
|
|
81
91
|
}, {
|
|
@@ -83,5 +93,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
93
|
hideHeader: boolean;
|
|
84
94
|
hideBreadcrumb: boolean;
|
|
85
95
|
menuType: string;
|
|
96
|
+
trigger: string;
|
|
86
97
|
}>;
|
|
87
98
|
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -3,6 +3,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
+
menusMap: {
|
|
7
|
+
type: MapConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
6
10
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
11
|
[key: string]: any;
|
|
8
12
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "menuClick"[], "menuClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -10,6 +14,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
14
|
type: ArrayConstructor;
|
|
11
15
|
required: true;
|
|
12
16
|
};
|
|
17
|
+
menusMap: {
|
|
18
|
+
type: MapConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
13
21
|
}>> & {
|
|
14
22
|
onMenuClick?: ((...args: any[]) => any) | undefined;
|
|
15
23
|
}, {}>;
|