@web_xiaobai/business-ui 0.0.30 → 0.0.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/_extendThemeOverrides/LayoutMenu.d.ts +2 -3
- package/dist/_types/_businessTheme.d.ts +0 -2
- package/dist/boden-business-ui.es.js +12878 -4323
- package/dist/boden-business-ui.umd.js +2061 -1330
- package/dist/components/HeaderPlatformNavigation/src/HeaderPlatformNavigation.d.ts +1 -1
- package/dist/components/LayoutMenu/src/LayoutMenu.d.ts +24 -18
- package/dist/components/LayoutMenu/src/constants.d.ts +2 -1
- package/dist/components/LayoutMenu/src/modules/verticalMenu.d.ts +13 -1
- package/dist/components/LayoutMenu/src/modules/verticalMixMenu.d.ts +18 -6
- package/dist/components/{FirstLevelMenu/src/props.d.ts → LayoutMenu/src/modules/verticalStackedMenu.d.ts} +178 -53
- package/dist/components/LayoutMenu/src/props.d.ts +29 -12
- package/dist/components/LayoutMenu/src/types.d.ts +2 -0
- package/dist/components/LayoutSidebar/src/LayoutSidebar.d.ts +23 -17
- package/dist/components/LayoutSidebar/src/props.d.ts +11 -8
- package/dist/components/LayoutSidebar/src/types.d.ts +2 -0
- package/dist/components/index.d.ts +0 -1
- package/package.json +2 -2
- package/dist/_extendThemeOverrides/FirstLevelMenu.d.ts +0 -6
- package/dist/components/FirstLevelMenu/index.d.ts +0 -3
- package/dist/components/FirstLevelMenu/src/FirstLevelMenu.d.ts +0 -1039
- package/dist/components/FirstLevelMenu/src/MenuItem.d.ts +0 -52
- package/dist/components/FirstLevelMenu/src/MenuItemContent.d.ts +0 -71
- package/dist/components/FirstLevelMenu/src/SubMenu.d.ts +0 -94
- package/dist/components/FirstLevelMenu/src/context.d.ts +0 -4
- package/dist/components/FirstLevelMenu/src/styles/index.cssr.d.ts +0 -3
- package/dist/components/FirstLevelMenu/src/types.d.ts +0 -3
- package/dist/components/FirstLevelMenu/src/use-menu-child-props.d.ts +0 -9
- package/dist/components/FirstLevelMenu/src/use-menu-child.d.ts +0 -22
- package/dist/components/FirstLevelMenu/src/useCssVars.d.ts +0 -33
- package/dist/components/FirstLevelMenu/src/utils.d.ts +0 -90
- package/dist/components/FirstLevelMenu/styles/_common.d.ts +0 -2
- package/dist/components/FirstLevelMenu/styles/dark.d.ts +0 -2
- package/dist/components/FirstLevelMenu/styles/index.d.ts +0 -2
- package/dist/components/FirstLevelMenu/styles/light.d.ts +0 -2
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { PropType, VNodeChild } from 'vue';
|
|
2
|
-
import { TmNode } from 'naive-ui/es/menu/src/interface';
|
|
3
|
-
export declare const MenuItemProps: {
|
|
4
|
-
readonly tmNode: {
|
|
5
|
-
readonly type: PropType<TmNode>;
|
|
6
|
-
readonly required: true;
|
|
7
|
-
};
|
|
8
|
-
readonly disabled: BooleanConstructor;
|
|
9
|
-
readonly icon: FunctionConstructor;
|
|
10
|
-
readonly onClick: FunctionConstructor;
|
|
11
|
-
readonly internalKey: {
|
|
12
|
-
readonly type: PropType<string | number>;
|
|
13
|
-
readonly required: true;
|
|
14
|
-
};
|
|
15
|
-
readonly title: PropType<string | (() => VNodeChild)>;
|
|
16
|
-
};
|
|
17
|
-
export declare const menuItemPropKeys: ("disabled" | "title" | "onClick" | "icon" | "tmNode" | "internalKey")[];
|
|
18
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
19
|
-
readonly tmNode: {
|
|
20
|
-
readonly type: PropType<TmNode>;
|
|
21
|
-
readonly required: true;
|
|
22
|
-
};
|
|
23
|
-
readonly disabled: BooleanConstructor;
|
|
24
|
-
readonly icon: FunctionConstructor;
|
|
25
|
-
readonly onClick: FunctionConstructor;
|
|
26
|
-
readonly internalKey: {
|
|
27
|
-
readonly type: PropType<string | number>;
|
|
28
|
-
readonly required: true;
|
|
29
|
-
};
|
|
30
|
-
readonly title: PropType<string | (() => VNodeChild)>;
|
|
31
|
-
}>, {
|
|
32
|
-
maxIconSize: import('vue').ComputedRef<number>;
|
|
33
|
-
activeIconSize: import('vue').ComputedRef<number>;
|
|
34
|
-
selected: import('vue').ComputedRef<boolean>;
|
|
35
|
-
handleClick: (e: MouseEvent) => void;
|
|
36
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
-
readonly tmNode: {
|
|
38
|
-
readonly type: PropType<TmNode>;
|
|
39
|
-
readonly required: true;
|
|
40
|
-
};
|
|
41
|
-
readonly disabled: BooleanConstructor;
|
|
42
|
-
readonly icon: FunctionConstructor;
|
|
43
|
-
readonly onClick: FunctionConstructor;
|
|
44
|
-
readonly internalKey: {
|
|
45
|
-
readonly type: PropType<string | number>;
|
|
46
|
-
readonly required: true;
|
|
47
|
-
};
|
|
48
|
-
readonly title: PropType<string | (() => VNodeChild)>;
|
|
49
|
-
}>> & Readonly<{}>, {
|
|
50
|
-
readonly disabled: boolean;
|
|
51
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
52
|
-
export default _default;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { PropType, VNodeChild } from 'vue';
|
|
2
|
-
import { TmNode } from 'naive-ui/es/menu/src/interface';
|
|
3
|
-
export declare const menuItemProps: {
|
|
4
|
-
readonly label: {
|
|
5
|
-
readonly type: PropType<string | (() => VNodeChild)>;
|
|
6
|
-
};
|
|
7
|
-
readonly icon: {
|
|
8
|
-
readonly type: FunctionConstructor;
|
|
9
|
-
};
|
|
10
|
-
readonly disabled: BooleanConstructor;
|
|
11
|
-
readonly childActive: BooleanConstructor;
|
|
12
|
-
readonly showArrow: BooleanConstructor;
|
|
13
|
-
readonly selected: BooleanConstructor;
|
|
14
|
-
readonly maxIconSize: NumberConstructor;
|
|
15
|
-
readonly activeIconSize: NumberConstructor;
|
|
16
|
-
readonly tmNode: {
|
|
17
|
-
readonly type: PropType<TmNode>;
|
|
18
|
-
readonly required: true;
|
|
19
|
-
};
|
|
20
|
-
readonly onClick: PropType<(e: MouseEvent) => void>;
|
|
21
|
-
};
|
|
22
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
23
|
-
readonly label: {
|
|
24
|
-
readonly type: PropType<string | (() => VNodeChild)>;
|
|
25
|
-
};
|
|
26
|
-
readonly icon: {
|
|
27
|
-
readonly type: FunctionConstructor;
|
|
28
|
-
};
|
|
29
|
-
readonly disabled: BooleanConstructor;
|
|
30
|
-
readonly childActive: BooleanConstructor;
|
|
31
|
-
readonly showArrow: BooleanConstructor;
|
|
32
|
-
readonly selected: BooleanConstructor;
|
|
33
|
-
readonly maxIconSize: NumberConstructor;
|
|
34
|
-
readonly activeIconSize: NumberConstructor;
|
|
35
|
-
readonly tmNode: {
|
|
36
|
-
readonly type: PropType<TmNode>;
|
|
37
|
-
readonly required: true;
|
|
38
|
-
};
|
|
39
|
-
readonly onClick: PropType<(e: MouseEvent) => void>;
|
|
40
|
-
}>, {
|
|
41
|
-
menuProps: import('./use-menu-child').FirstLevelMenuSetupProps;
|
|
42
|
-
iconStyle: import('vue').ComputedRef<{
|
|
43
|
-
width: string;
|
|
44
|
-
height: string;
|
|
45
|
-
fontSize: string;
|
|
46
|
-
}>;
|
|
47
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
-
readonly label: {
|
|
49
|
-
readonly type: PropType<string | (() => VNodeChild)>;
|
|
50
|
-
};
|
|
51
|
-
readonly icon: {
|
|
52
|
-
readonly type: FunctionConstructor;
|
|
53
|
-
};
|
|
54
|
-
readonly disabled: BooleanConstructor;
|
|
55
|
-
readonly childActive: BooleanConstructor;
|
|
56
|
-
readonly showArrow: BooleanConstructor;
|
|
57
|
-
readonly selected: BooleanConstructor;
|
|
58
|
-
readonly maxIconSize: NumberConstructor;
|
|
59
|
-
readonly activeIconSize: NumberConstructor;
|
|
60
|
-
readonly tmNode: {
|
|
61
|
-
readonly type: PropType<TmNode>;
|
|
62
|
-
readonly required: true;
|
|
63
|
-
};
|
|
64
|
-
readonly onClick: PropType<(e: MouseEvent) => void>;
|
|
65
|
-
}>> & Readonly<{}>, {
|
|
66
|
-
readonly showArrow: boolean;
|
|
67
|
-
readonly disabled: boolean;
|
|
68
|
-
readonly childActive: boolean;
|
|
69
|
-
readonly selected: boolean;
|
|
70
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
71
|
-
export default _default;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { PropType, VNodeChild } from 'vue';
|
|
2
|
-
import { MenuMixedOption, TmNode } from 'naive-ui/es/menu/src/interface';
|
|
3
|
-
export declare const submenuProps: {
|
|
4
|
-
readonly rawNodes: {
|
|
5
|
-
readonly type: PropType<MenuMixedOption[]>;
|
|
6
|
-
readonly default: () => never[];
|
|
7
|
-
};
|
|
8
|
-
readonly tmNodes: {
|
|
9
|
-
readonly type: PropType<TmNode[]>;
|
|
10
|
-
readonly default: () => never[];
|
|
11
|
-
};
|
|
12
|
-
readonly tmNode: {
|
|
13
|
-
readonly type: PropType<TmNode>;
|
|
14
|
-
readonly required: true;
|
|
15
|
-
};
|
|
16
|
-
readonly virtualChildActive: {
|
|
17
|
-
readonly type: BooleanConstructor;
|
|
18
|
-
readonly default: undefined;
|
|
19
|
-
};
|
|
20
|
-
readonly disabled: BooleanConstructor;
|
|
21
|
-
readonly icon: PropType<() => VNodeChild>;
|
|
22
|
-
readonly onClick: PropType<() => void>;
|
|
23
|
-
readonly internalKey: {
|
|
24
|
-
readonly type: PropType<string | number>;
|
|
25
|
-
readonly required: true;
|
|
26
|
-
};
|
|
27
|
-
readonly title: PropType<string | (() => VNodeChild)>;
|
|
28
|
-
};
|
|
29
|
-
export declare const submenuPropKeys: ("disabled" | "title" | "onClick" | "icon" | "tmNode" | "internalKey" | "rawNodes" | "tmNodes" | "virtualChildActive")[];
|
|
30
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
31
|
-
readonly rawNodes: {
|
|
32
|
-
readonly type: PropType<MenuMixedOption[]>;
|
|
33
|
-
readonly default: () => never[];
|
|
34
|
-
};
|
|
35
|
-
readonly tmNodes: {
|
|
36
|
-
readonly type: PropType<TmNode[]>;
|
|
37
|
-
readonly default: () => never[];
|
|
38
|
-
};
|
|
39
|
-
readonly tmNode: {
|
|
40
|
-
readonly type: PropType<TmNode>;
|
|
41
|
-
readonly required: true;
|
|
42
|
-
};
|
|
43
|
-
readonly virtualChildActive: {
|
|
44
|
-
readonly type: BooleanConstructor;
|
|
45
|
-
readonly default: undefined;
|
|
46
|
-
};
|
|
47
|
-
readonly disabled: BooleanConstructor;
|
|
48
|
-
readonly icon: PropType<() => VNodeChild>;
|
|
49
|
-
readonly onClick: PropType<() => void>;
|
|
50
|
-
readonly internalKey: {
|
|
51
|
-
readonly type: PropType<string | number>;
|
|
52
|
-
readonly required: true;
|
|
53
|
-
};
|
|
54
|
-
readonly title: PropType<string | (() => VNodeChild)>;
|
|
55
|
-
}>, {
|
|
56
|
-
childActive: import('vue').ComputedRef<boolean>;
|
|
57
|
-
maxIconSize: import('vue').ComputedRef<number>;
|
|
58
|
-
activeIconSize: import('vue').ComputedRef<number>;
|
|
59
|
-
collapsed: import('vue').ComputedRef<boolean>;
|
|
60
|
-
menuProps: import('./use-menu-child').FirstLevelMenuSetupProps;
|
|
61
|
-
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
62
|
-
handleClick: () => void;
|
|
63
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
64
|
-
readonly rawNodes: {
|
|
65
|
-
readonly type: PropType<MenuMixedOption[]>;
|
|
66
|
-
readonly default: () => never[];
|
|
67
|
-
};
|
|
68
|
-
readonly tmNodes: {
|
|
69
|
-
readonly type: PropType<TmNode[]>;
|
|
70
|
-
readonly default: () => never[];
|
|
71
|
-
};
|
|
72
|
-
readonly tmNode: {
|
|
73
|
-
readonly type: PropType<TmNode>;
|
|
74
|
-
readonly required: true;
|
|
75
|
-
};
|
|
76
|
-
readonly virtualChildActive: {
|
|
77
|
-
readonly type: BooleanConstructor;
|
|
78
|
-
readonly default: undefined;
|
|
79
|
-
};
|
|
80
|
-
readonly disabled: BooleanConstructor;
|
|
81
|
-
readonly icon: PropType<() => VNodeChild>;
|
|
82
|
-
readonly onClick: PropType<() => void>;
|
|
83
|
-
readonly internalKey: {
|
|
84
|
-
readonly type: PropType<string | number>;
|
|
85
|
-
readonly required: true;
|
|
86
|
-
};
|
|
87
|
-
readonly title: PropType<string | (() => VNodeChild)>;
|
|
88
|
-
}>> & Readonly<{}>, {
|
|
89
|
-
readonly disabled: boolean;
|
|
90
|
-
readonly rawNodes: MenuMixedOption[];
|
|
91
|
-
readonly tmNodes: TmNode[];
|
|
92
|
-
readonly virtualChildActive: boolean;
|
|
93
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
94
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { InjectionKey } from 'vue';
|
|
2
|
-
import { FirstLevelMenuInjection, FirstLevelSubmenuInjection } from './use-menu-child';
|
|
3
|
-
export declare const firstLevelMenuInjectionKey: InjectionKey<FirstLevelMenuInjection>;
|
|
4
|
-
export declare const firstLevelSubmenuInjectionKey: InjectionKey<FirstLevelSubmenuInjection>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
|
|
2
|
-
export declare const useFirstLevelMenuChildProps: {
|
|
3
|
-
readonly internalKey: {
|
|
4
|
-
readonly type: PropType<string | number>;
|
|
5
|
-
readonly required: true;
|
|
6
|
-
};
|
|
7
|
-
readonly title: PropType<string | (() => VNodeChild)>;
|
|
8
|
-
};
|
|
9
|
-
export type UseMenuChildProps = ExtractPropTypes<typeof useFirstLevelMenuChildProps>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, Ref } from 'vue';
|
|
2
|
-
import { Key } from '../../../../../../node_modules/treemate';
|
|
3
|
-
import { OnUpdateValueImpl } from 'naive-ui/es/menu/src/interface';
|
|
4
|
-
import { bodenFirstLevelMenuProps } from './props';
|
|
5
|
-
export type FirstLevelMenuSetupProps = ExtractPropTypes<typeof bodenFirstLevelMenuProps>;
|
|
6
|
-
export interface FirstLevelMenuInjection {
|
|
7
|
-
props: FirstLevelMenuSetupProps;
|
|
8
|
-
activePathRef: Ref<Key[]>;
|
|
9
|
-
mergedExpandedKeysRef: Ref<Key[]>;
|
|
10
|
-
mergedValueRef: Ref<Key | null>;
|
|
11
|
-
doSelect: OnUpdateValueImpl;
|
|
12
|
-
toggleExpand: (key: Key) => void;
|
|
13
|
-
}
|
|
14
|
-
export interface FirstLevelSubmenuInjection {
|
|
15
|
-
mergedDisabledRef: Ref<boolean>;
|
|
16
|
-
}
|
|
17
|
-
export declare function useMenuChild(): {
|
|
18
|
-
activeIconSize: import('vue').ComputedRef<number>;
|
|
19
|
-
maxIconSize: import('vue').ComputedRef<number>;
|
|
20
|
-
Menu: FirstLevelMenuInjection;
|
|
21
|
-
Submenu: FirstLevelSubmenuInjection | null;
|
|
22
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { FirstLevelMenuExtendThemeOverrides } from '../../../_extendThemeOverrides/FirstLevelMenu';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
|
-
export default function useCssVarsHook(mergedExtendThemeOverrides: Ref<FirstLevelMenuExtendThemeOverrides>): {
|
|
4
|
-
cssVarsRef: import('vue').ComputedRef<{
|
|
5
|
-
"--boden-business-font-size": string | undefined;
|
|
6
|
-
"--boden-business-bezier": string | undefined;
|
|
7
|
-
"--boden-business-border-radius": string | undefined;
|
|
8
|
-
"--boden-business-color": string | undefined;
|
|
9
|
-
"--boden-business-item-color-expended": string | undefined;
|
|
10
|
-
"--boden-business-item-color-hover": string | undefined;
|
|
11
|
-
"--boden-business-item-color-active": string | undefined;
|
|
12
|
-
"--boden-business-item-color-active-hover": string | undefined;
|
|
13
|
-
"--boden-business-item-height": string | undefined;
|
|
14
|
-
"--boden-business-item-text-color": string | undefined;
|
|
15
|
-
"--boden-business-item-text-color-hover": string | undefined;
|
|
16
|
-
"--boden-business-item-text-color-active": string | undefined;
|
|
17
|
-
"--boden-business-item-text-color-active-hover": string | undefined;
|
|
18
|
-
"--boden-business-item-text-color-child-active": string | undefined;
|
|
19
|
-
"--boden-business-item-text-color-child-active-hover": string | undefined;
|
|
20
|
-
"--boden-business-item-icon-color": string | undefined;
|
|
21
|
-
"--boden-business-item-icon-color-hover": string | undefined;
|
|
22
|
-
"--boden-business-item-icon-color-active": string | undefined;
|
|
23
|
-
"--boden-business-item-icon-color-active-hover": string | undefined;
|
|
24
|
-
"--boden-business-item-icon-color-child-active": string | undefined;
|
|
25
|
-
"--boden-business-item-icon-color-child-active-hover": string | undefined;
|
|
26
|
-
"--boden-business-arrow-color": string | undefined;
|
|
27
|
-
"--boden-business-arrow-color-hover": string | undefined;
|
|
28
|
-
"--boden-business-arrow-color-active": string | undefined;
|
|
29
|
-
"--boden-business-arrow-color-active-hover": string | undefined;
|
|
30
|
-
"--boden-business-arrow-color-child-active": string | undefined;
|
|
31
|
-
"--boden-business-arrow-color-child-active-hover": string | undefined;
|
|
32
|
-
}>;
|
|
33
|
-
};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { VNodeChild } from 'vue';
|
|
2
|
-
import { MenuGroupOption, MenuOption } from 'naive-ui';
|
|
3
|
-
import { MenuIgnoredOption } from 'naive-ui/es/menu/src/interface';
|
|
4
|
-
import { TreeNode } from '../../../../../../node_modules/treemate';
|
|
5
|
-
import { FirstLevelMenuSetupProps } from './use-menu-child';
|
|
6
|
-
export declare function getPropsInItemRender(tmNode: TreeNode<MenuOption, MenuGroupOption, MenuIgnoredOption>, menuProps: FirstLevelMenuSetupProps): {
|
|
7
|
-
title: string | (() => VNodeChild) | undefined;
|
|
8
|
-
extra: unknown;
|
|
9
|
-
key: import('../../../../../../node_modules/treemate').Key;
|
|
10
|
-
internalKey: import('../../../../../../node_modules/treemate').Key;
|
|
11
|
-
level: number;
|
|
12
|
-
root: boolean;
|
|
13
|
-
isGroup: boolean;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
icon?: () => VNodeChild;
|
|
16
|
-
children?: Array<MenuOption | MenuGroupOption | import('naive-ui').MenuDividerOption>;
|
|
17
|
-
props?: import('vue').HTMLAttributes;
|
|
18
|
-
show?: boolean;
|
|
19
|
-
titleExtra?: string | (() => VNodeChild);
|
|
20
|
-
} | {
|
|
21
|
-
title: string | (() => VNodeChild) | undefined;
|
|
22
|
-
extra: unknown;
|
|
23
|
-
key: import('../../../../../../node_modules/treemate').Key;
|
|
24
|
-
internalKey: import('../../../../../../node_modules/treemate').Key;
|
|
25
|
-
level: number;
|
|
26
|
-
root: boolean;
|
|
27
|
-
isGroup: boolean;
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
icon?: () => VNodeChild;
|
|
30
|
-
children?: Array<MenuOption | MenuGroupOption | import('naive-ui').MenuDividerOption>;
|
|
31
|
-
props?: import('vue').HTMLAttributes;
|
|
32
|
-
show?: boolean;
|
|
33
|
-
titleExtra?: string | (() => VNodeChild);
|
|
34
|
-
label?: string | (() => VNodeChild);
|
|
35
|
-
} | {
|
|
36
|
-
title: string | (() => VNodeChild) | undefined;
|
|
37
|
-
extra: unknown;
|
|
38
|
-
key: import('../../../../../../node_modules/treemate').Key;
|
|
39
|
-
internalKey: import('../../../../../../node_modules/treemate').Key;
|
|
40
|
-
level: number;
|
|
41
|
-
root: boolean;
|
|
42
|
-
isGroup: boolean;
|
|
43
|
-
type: "group";
|
|
44
|
-
children: Array<MenuOption | import('naive-ui').MenuDividerOption>;
|
|
45
|
-
disabled?: boolean;
|
|
46
|
-
icon?: () => VNodeChild;
|
|
47
|
-
props?: import('vue').HTMLAttributes;
|
|
48
|
-
show?: boolean;
|
|
49
|
-
titleExtra?: string | (() => VNodeChild);
|
|
50
|
-
} | {
|
|
51
|
-
title: string | (() => VNodeChild) | undefined;
|
|
52
|
-
extra: unknown;
|
|
53
|
-
key: import('../../../../../../node_modules/treemate').Key;
|
|
54
|
-
internalKey: import('../../../../../../node_modules/treemate').Key;
|
|
55
|
-
level: number;
|
|
56
|
-
root: boolean;
|
|
57
|
-
isGroup: boolean;
|
|
58
|
-
type: "group";
|
|
59
|
-
children: Array<MenuOption | import('naive-ui').MenuDividerOption>;
|
|
60
|
-
disabled?: boolean;
|
|
61
|
-
icon?: () => VNodeChild;
|
|
62
|
-
props?: import('vue').HTMLAttributes;
|
|
63
|
-
show?: boolean;
|
|
64
|
-
titleExtra?: string | (() => VNodeChild);
|
|
65
|
-
label?: string | (() => VNodeChild);
|
|
66
|
-
} | {
|
|
67
|
-
title: string | (() => VNodeChild) | undefined;
|
|
68
|
-
extra: unknown;
|
|
69
|
-
key: import('../../../../../../node_modules/treemate').Key;
|
|
70
|
-
internalKey: import('../../../../../../node_modules/treemate').Key;
|
|
71
|
-
level: number;
|
|
72
|
-
root: boolean;
|
|
73
|
-
isGroup: boolean;
|
|
74
|
-
type: "divider";
|
|
75
|
-
props?: import('vue').HTMLAttributes;
|
|
76
|
-
} | {
|
|
77
|
-
title: string | (() => VNodeChild) | undefined;
|
|
78
|
-
extra: unknown;
|
|
79
|
-
key: import('../../../../../../node_modules/treemate').Key;
|
|
80
|
-
internalKey: import('../../../../../../node_modules/treemate').Key;
|
|
81
|
-
level: number;
|
|
82
|
-
root: boolean;
|
|
83
|
-
isGroup: boolean;
|
|
84
|
-
type: "render";
|
|
85
|
-
props?: import('vue').HTMLAttributes;
|
|
86
|
-
render?: () => VNodeChild;
|
|
87
|
-
};
|
|
88
|
-
export declare function itemRender(tmNode: TreeNode<MenuOption, MenuGroupOption, MenuIgnoredOption>, menuProps: FirstLevelMenuSetupProps): import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
89
|
-
[key: string]: any;
|
|
90
|
-
}> | null;
|