@web_xiaobai/business-ui 0.0.29 → 0.0.30
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/boden-business-ui.es.js +2711 -2683
- package/dist/boden-business-ui.umd.js +10 -7
- package/dist/components/FirstLevelMenu/src/MenuItemContent.d.ts +4 -0
- package/dist/components/FirstLevelMenu/src/SubMenu.d.ts +1 -0
- package/dist/components/FirstLevelMenu/src/context.d.ts +2 -1
- package/dist/components/FirstLevelMenu/src/use-menu-child.d.ts +4 -0
- package/dist/components/HeaderPlatformNavigation/src/HeaderPlatformNavigation.d.ts +15 -18
- package/dist/components/HeaderPlatformNavigation/src/interface.d.ts +2 -8
- package/dist/components/LayoutMenu/src/modules/verticalMixMenu.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export declare const menuItemProps: {
|
|
|
7
7
|
readonly icon: {
|
|
8
8
|
readonly type: FunctionConstructor;
|
|
9
9
|
};
|
|
10
|
+
readonly disabled: BooleanConstructor;
|
|
10
11
|
readonly childActive: BooleanConstructor;
|
|
11
12
|
readonly showArrow: BooleanConstructor;
|
|
12
13
|
readonly selected: BooleanConstructor;
|
|
@@ -25,6 +26,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
25
26
|
readonly icon: {
|
|
26
27
|
readonly type: FunctionConstructor;
|
|
27
28
|
};
|
|
29
|
+
readonly disabled: BooleanConstructor;
|
|
28
30
|
readonly childActive: BooleanConstructor;
|
|
29
31
|
readonly showArrow: BooleanConstructor;
|
|
30
32
|
readonly selected: BooleanConstructor;
|
|
@@ -49,6 +51,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
51
|
readonly icon: {
|
|
50
52
|
readonly type: FunctionConstructor;
|
|
51
53
|
};
|
|
54
|
+
readonly disabled: BooleanConstructor;
|
|
52
55
|
readonly childActive: BooleanConstructor;
|
|
53
56
|
readonly showArrow: BooleanConstructor;
|
|
54
57
|
readonly selected: BooleanConstructor;
|
|
@@ -61,6 +64,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
61
64
|
readonly onClick: PropType<(e: MouseEvent) => void>;
|
|
62
65
|
}>> & Readonly<{}>, {
|
|
63
66
|
readonly showArrow: boolean;
|
|
67
|
+
readonly disabled: boolean;
|
|
64
68
|
readonly childActive: boolean;
|
|
65
69
|
readonly selected: boolean;
|
|
66
70
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -58,6 +58,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
58
58
|
activeIconSize: import('vue').ComputedRef<number>;
|
|
59
59
|
collapsed: import('vue').ComputedRef<boolean>;
|
|
60
60
|
menuProps: import('./use-menu-child').FirstLevelMenuSetupProps;
|
|
61
|
+
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
61
62
|
handleClick: () => void;
|
|
62
63
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
63
64
|
readonly rawNodes: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { InjectionKey } from 'vue';
|
|
2
|
-
import { FirstLevelMenuInjection } from './use-menu-child';
|
|
2
|
+
import { FirstLevelMenuInjection, FirstLevelSubmenuInjection } from './use-menu-child';
|
|
3
3
|
export declare const firstLevelMenuInjectionKey: InjectionKey<FirstLevelMenuInjection>;
|
|
4
|
+
export declare const firstLevelSubmenuInjectionKey: InjectionKey<FirstLevelSubmenuInjection>;
|
|
@@ -11,8 +11,12 @@ export interface FirstLevelMenuInjection {
|
|
|
11
11
|
doSelect: OnUpdateValueImpl;
|
|
12
12
|
toggleExpand: (key: Key) => void;
|
|
13
13
|
}
|
|
14
|
+
export interface FirstLevelSubmenuInjection {
|
|
15
|
+
mergedDisabledRef: Ref<boolean>;
|
|
16
|
+
}
|
|
14
17
|
export declare function useMenuChild(): {
|
|
15
18
|
activeIconSize: import('vue').ComputedRef<number>;
|
|
16
19
|
maxIconSize: import('vue').ComputedRef<number>;
|
|
17
20
|
Menu: FirstLevelMenuInjection;
|
|
21
|
+
Submenu: FirstLevelSubmenuInjection | null;
|
|
18
22
|
};
|
|
@@ -4,14 +4,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
readonly type: import('vue').PropType<import('./interface').PlatformNavigationItem[]>;
|
|
5
5
|
readonly default: () => import('./interface').PlatformNavigationItem[];
|
|
6
6
|
};
|
|
7
|
-
readonly popoverX:
|
|
8
|
-
|
|
9
|
-
readonly default: 0;
|
|
10
|
-
};
|
|
11
|
-
readonly popoverY: {
|
|
12
|
-
readonly type: NumberConstructor;
|
|
13
|
-
readonly default: 0;
|
|
14
|
-
};
|
|
7
|
+
readonly popoverX: NumberConstructor;
|
|
8
|
+
readonly popoverY: NumberConstructor;
|
|
15
9
|
readonly extendThemeOverrides: {
|
|
16
10
|
readonly type: import('vue').PropType<import('../../../_extendThemeOverrides/HeaderPlatformNavigation').HeaderPlatformNavigationThemeOverrides>;
|
|
17
11
|
readonly default: () => {};
|
|
@@ -36,6 +30,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
36
30
|
'--boden-business-platform-navigation-option-prefix-icon-disabled-opacity': number | undefined;
|
|
37
31
|
}>;
|
|
38
32
|
mergedBusinessThemeOverrides: import('vue').ComputedRef<import('../../../_extendThemeOverrides/HeaderPlatformNavigation').HeaderPlatformNavigationThemeOverrides>;
|
|
33
|
+
popoverPosition: import('vue').Ref<{
|
|
34
|
+
x: number;
|
|
35
|
+
y: number;
|
|
36
|
+
}, {
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
} | {
|
|
40
|
+
x: number;
|
|
41
|
+
y: number;
|
|
42
|
+
}>;
|
|
43
|
+
rootRef: import('vue').Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
39
44
|
onClick: (platform: PlatformOption) => void;
|
|
40
45
|
onMouseLeave: () => void;
|
|
41
46
|
onPopoverMouseenter: () => void;
|
|
@@ -46,14 +51,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
46
51
|
readonly type: import('vue').PropType<import('./interface').PlatformNavigationItem[]>;
|
|
47
52
|
readonly default: () => import('./interface').PlatformNavigationItem[];
|
|
48
53
|
};
|
|
49
|
-
readonly popoverX:
|
|
50
|
-
|
|
51
|
-
readonly default: 0;
|
|
52
|
-
};
|
|
53
|
-
readonly popoverY: {
|
|
54
|
-
readonly type: NumberConstructor;
|
|
55
|
-
readonly default: 0;
|
|
56
|
-
};
|
|
54
|
+
readonly popoverX: NumberConstructor;
|
|
55
|
+
readonly popoverY: NumberConstructor;
|
|
57
56
|
readonly extendThemeOverrides: {
|
|
58
57
|
readonly type: import('vue').PropType<import('../../../_extendThemeOverrides/HeaderPlatformNavigation').HeaderPlatformNavigationThemeOverrides>;
|
|
59
58
|
readonly default: () => {};
|
|
@@ -65,8 +64,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
65
64
|
readonly onTogglePlatform: import('vue').PropType<(code: import('../../..').BODEN_PLATFORM_ENUM, name: import('../../..').BODEN_PLATFORM_NAME_ENUM, option: PlatformOption) => void>;
|
|
66
65
|
}>> & Readonly<{}>, {
|
|
67
66
|
readonly platformNavigation: import('./interface').PlatformNavigationItem[];
|
|
68
|
-
readonly popoverX: number;
|
|
69
|
-
readonly popoverY: number;
|
|
70
67
|
readonly extendThemeOverrides: import('../../../_extendThemeOverrides/HeaderPlatformNavigation').HeaderPlatformNavigationThemeOverrides;
|
|
71
68
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
72
69
|
export default _default;
|
|
@@ -30,14 +30,8 @@ export declare const bodenPlatformHeaderNavigationProps: {
|
|
|
30
30
|
readonly type: PropType<PlatformNavigationItem[]>;
|
|
31
31
|
readonly default: () => PlatformNavigationItem[];
|
|
32
32
|
};
|
|
33
|
-
readonly popoverX:
|
|
34
|
-
|
|
35
|
-
readonly default: 0;
|
|
36
|
-
};
|
|
37
|
-
readonly popoverY: {
|
|
38
|
-
readonly type: NumberConstructor;
|
|
39
|
-
readonly default: 0;
|
|
40
|
-
};
|
|
33
|
+
readonly popoverX: NumberConstructor;
|
|
34
|
+
readonly popoverY: NumberConstructor;
|
|
41
35
|
readonly extendThemeOverrides: {
|
|
42
36
|
readonly type: PropType<HeaderPlatformNavigationThemeOverrides>;
|
|
43
37
|
readonly default: () => {};
|
|
@@ -31,6 +31,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
31
31
|
}>;
|
|
32
32
|
menuThemeOverrides: import('vue').ComputedRef<{
|
|
33
33
|
itemTextColorHover: string;
|
|
34
|
+
itemIconColorHover: string;
|
|
34
35
|
itemColorHover: string;
|
|
35
36
|
itemColorActive: string;
|
|
36
37
|
itemColorActiveHover: string;
|