base6-ui 2.0.28 → 2.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/App.vue.d.ts +2 -0
- package/dist/_constant/base.d.ts +3 -0
- package/dist/_hooks/boden-use-theme.d.ts +3 -0
- package/dist/_hooks/index.d.ts +1 -0
- package/dist/_internal/icons/ads.d.ts +2 -0
- package/dist/_internal/icons/arrow-right.d.ts +2 -0
- package/dist/_internal/icons/blink.d.ts +2 -0
- package/dist/_internal/icons/forge.d.ts +2 -0
- package/dist/_internal/icons/index.d.ts +7 -0
- package/dist/_internal/icons/omni.d.ts +2 -0
- package/dist/_internal/icons/robo.d.ts +2 -0
- package/dist/_internal/icons/studio.d.ts +2 -0
- package/dist/_mixins/use-theme.d.ts +3 -0
- package/dist/_utils/cssr.d.ts +4 -0
- package/dist/components/global-header/interface.d.ts +1 -1
- package/dist/components/global-header/title.vue.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/platform-header-navigation/index.d.ts +3 -0
- package/dist/components/platform-header-navigation/src/constant.d.ts +21 -0
- package/dist/components/platform-header-navigation/src/interface.d.ts +27 -0
- package/dist/components/platform-header-navigation/src/platform-header-navigation.d.ts +151 -0
- package/dist/components/platform-header-navigation/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/platform-header-navigation/src/useCssVars.d.ts +12 -0
- package/dist/components/platform-navigation/index.d.ts +1 -1
- package/dist/components/platform-navigation/index.vue.d.ts +2 -1
- package/dist/components/platform-navigation/interface.d.ts +1 -16
- package/dist/config/themes/token/dark.d.ts +1 -0
- package/dist/config/themes/token/light.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.umd.js +14 -3
- package/dist/locale/http/en-us.d.ts +2 -0
- package/dist/locale/lang/en-us.d.ts +2 -2
- package/dist/main.d.ts +0 -0
- package/es/App.vue.d.ts +2 -0
- package/es/_constant/base.d.ts +3 -0
- package/es/_constant/base.mjs +4 -0
- package/es/_hooks/boden-use-theme.d.ts +3 -0
- package/es/_hooks/boden-use-theme.mjs +13 -0
- package/es/_hooks/index.d.ts +1 -0
- package/es/_internal/icons/ads.d.ts +2 -0
- package/es/_internal/icons/ads.mjs +137 -0
- package/es/_internal/icons/arrow-right.d.ts +2 -0
- package/es/_internal/icons/arrow-right.mjs +28 -0
- package/es/_internal/icons/blink.d.ts +2 -0
- package/es/_internal/icons/blink.mjs +127 -0
- package/es/_internal/icons/forge.d.ts +2 -0
- package/es/_internal/icons/forge.mjs +125 -0
- package/es/_internal/icons/index.d.ts +7 -0
- package/es/_internal/icons/omni.d.ts +2 -0
- package/es/_internal/icons/omni.mjs +143 -0
- package/es/_internal/icons/robo.d.ts +2 -0
- package/es/_internal/icons/robo.mjs +135 -0
- package/es/_internal/icons/studio.d.ts +2 -0
- package/es/_internal/icons/studio.mjs +144 -0
- package/es/_mixins/use-theme.d.ts +3 -0
- package/es/_mixins/use-theme.mjs +8 -0
- package/es/_utils/cssr.d.ts +4 -0
- package/es/_utils/cssr.mjs +17 -0
- package/es/components/global-header/interface.d.ts +1 -1
- package/es/components/global-header/title.vue.d.ts +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/platform-header-navigation/index.d.ts +3 -0
- package/es/components/platform-header-navigation/src/constant.d.ts +21 -0
- package/es/components/platform-header-navigation/src/constant.mjs +6 -0
- package/es/components/platform-header-navigation/src/interface.d.ts +27 -0
- package/es/components/platform-header-navigation/src/interface.mjs +18 -0
- package/es/components/platform-header-navigation/src/platform-header-navigation.d.ts +151 -0
- package/es/components/platform-header-navigation/src/platform-header-navigation.mjs +196 -0
- package/es/components/platform-header-navigation/src/styles/index.cssr.d.ts +2 -0
- package/es/components/platform-header-navigation/src/styles/index.cssr.mjs +81 -0
- package/es/components/platform-header-navigation/src/useCssVars.d.ts +12 -0
- package/es/components/platform-header-navigation/src/useCssVars.mjs +71 -0
- package/es/components/platform-navigation/index.d.ts +1 -1
- package/es/components/platform-navigation/index.vue.d.ts +2 -1
- package/es/components/platform-navigation/index.vue.mjs +1 -1
- package/es/components/platform-navigation/index.vue2.mjs +160 -106
- package/es/components/platform-navigation/interface.d.ts +1 -16
- package/es/config/themes/components/card/dark.mjs +1 -1
- package/es/config/themes/components/dialog/dark.mjs +1 -1
- package/es/config/themes/token/dark.d.ts +1 -0
- package/es/config/themes/token/dark.mjs +1 -0
- package/es/config/themes/token/light.d.ts +1 -0
- package/es/config/themes/token/light.mjs +2 -1
- package/es/index.css +1 -1
- package/es/index.mjs +92 -87
- package/es/locale/http/en-us.d.ts +2 -0
- package/es/locale/http/en-us.mjs +2 -0
- package/es/locale/http/zh-cn.mjs +2 -0
- package/es/locale/lang/en-us.d.ts +2 -2
- package/es/locale/lang/en-us.mjs +2 -2
- package/es/locale/lang/zh-cn.mjs +2 -2
- package/es/main.d.ts +0 -0
- package/es/node_modules/.pnpm/@css-render_plugin-bem@0.15.14_css-render@0.15.14/node_modules/@css-render/plugin-bem/esm/index.mjs +81 -0
- package/es/node_modules/.pnpm/@emotion_hash@0.8.0/node_modules/@emotion/hash/dist/hash.browser.esm.mjs +22 -0
- package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/CssRender.mjs +15 -0
- package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/c.mjs +30 -0
- package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/mount.mjs +39 -0
- package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/parse.mjs +59 -0
- package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/render.mjs +98 -0
- package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/utils.mjs +22 -0
- package/lib/App.vue.d.ts +2 -0
- package/lib/_constant/base.d.ts +3 -0
- package/lib/_constant/base.js +1 -0
- package/lib/_hooks/boden-use-theme.d.ts +3 -0
- package/lib/_hooks/boden-use-theme.js +1 -0
- package/lib/_hooks/index.d.ts +1 -0
- package/lib/_internal/icons/ads.d.ts +2 -0
- package/lib/_internal/icons/ads.js +1 -0
- package/lib/_internal/icons/arrow-right.d.ts +2 -0
- package/lib/_internal/icons/arrow-right.js +1 -0
- package/lib/_internal/icons/blink.d.ts +2 -0
- package/lib/_internal/icons/blink.js +1 -0
- package/lib/_internal/icons/forge.d.ts +2 -0
- package/lib/_internal/icons/forge.js +1 -0
- package/lib/_internal/icons/index.d.ts +7 -0
- package/lib/_internal/icons/omni.d.ts +2 -0
- package/lib/_internal/icons/omni.js +1 -0
- package/lib/_internal/icons/robo.d.ts +2 -0
- package/lib/_internal/icons/robo.js +1 -0
- package/lib/_internal/icons/studio.d.ts +2 -0
- package/lib/_internal/icons/studio.js +1 -0
- package/lib/_mixins/use-theme.d.ts +3 -0
- package/lib/_mixins/use-theme.js +1 -0
- package/lib/_utils/cssr.d.ts +4 -0
- package/lib/_utils/cssr.js +1 -0
- package/lib/components/global-header/interface.d.ts +1 -1
- package/lib/components/global-header/title.vue.d.ts +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/platform-header-navigation/index.d.ts +3 -0
- package/lib/components/platform-header-navigation/src/constant.d.ts +21 -0
- package/lib/components/platform-header-navigation/src/constant.js +1 -0
- package/lib/components/platform-header-navigation/src/interface.d.ts +27 -0
- package/lib/components/platform-header-navigation/src/interface.js +1 -0
- package/lib/components/platform-header-navigation/src/platform-header-navigation.d.ts +151 -0
- package/lib/components/platform-header-navigation/src/platform-header-navigation.js +1 -0
- package/lib/components/platform-header-navigation/src/styles/index.cssr.d.ts +2 -0
- package/lib/components/platform-header-navigation/src/styles/index.cssr.js +1 -0
- package/lib/components/platform-header-navigation/src/useCssVars.d.ts +12 -0
- package/lib/components/platform-header-navigation/src/useCssVars.js +1 -0
- package/lib/components/platform-navigation/index.d.ts +1 -1
- package/lib/components/platform-navigation/index.vue.d.ts +2 -1
- package/lib/components/platform-navigation/index.vue.js +1 -1
- package/lib/components/platform-navigation/index.vue2.js +1 -1
- package/lib/components/platform-navigation/interface.d.ts +1 -16
- package/lib/config/themes/components/card/dark.js +1 -1
- package/lib/config/themes/components/dialog/dark.js +1 -1
- package/lib/config/themes/token/dark.d.ts +1 -0
- package/lib/config/themes/token/dark.js +1 -1
- package/lib/config/themes/token/light.d.ts +1 -0
- package/lib/config/themes/token/light.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/http/en-us.d.ts +2 -0
- package/lib/locale/http/en-us.js +1 -1
- package/lib/locale/http/zh-cn.js +1 -1
- package/lib/locale/lang/en-us.d.ts +2 -2
- package/lib/locale/lang/en-us.js +1 -1
- package/lib/locale/lang/zh-cn.js +1 -1
- package/lib/main.d.ts +0 -0
- package/lib/node_modules/.pnpm/@css-render_plugin-bem@0.15.14_css-render@0.15.14/node_modules/@css-render/plugin-bem/esm/index.js +1 -0
- package/lib/node_modules/.pnpm/@emotion_hash@0.8.0/node_modules/@emotion/hash/dist/hash.browser.esm.js +1 -0
- package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/CssRender.js +1 -0
- package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/c.js +1 -0
- package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/mount.js +1 -0
- package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/parse.js +1 -0
- package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/render.js +12 -0
- package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/utils.js +1 -0
- package/package.json +3 -1
- package/es/components/platform-navigation/interface.mjs +0 -5
- package/lib/components/platform-navigation/interface.js +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, 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 @@
|
|
|
1
|
+
export { default as BodenUseTheme } from './boden-use-theme';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, 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').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').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').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as AdsLogoIcon } from './ads';
|
|
2
|
+
export { default as ArrowRightIcon } from './arrow-right';
|
|
3
|
+
export { default as BlinkLogoIcon } from './blink';
|
|
4
|
+
export { default as ForgeLogoIcon } from './forge';
|
|
5
|
+
export { default as OmniLogoIcon } from './omni';
|
|
6
|
+
export { default as RoboLogoIcon } from './robo';
|
|
7
|
+
export { default as StudioLogoIcon } from './studio';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, 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').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').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const c: import('css-render').createCNode<import('css-render').CSelector>;
|
|
2
|
+
declare const cB: import('css-render').createCNode<string | import('css-render').CLazySelector<string>>, cM: import('css-render').createCNode<string | import('css-render').CLazySelector<string>>, cE: import('css-render').createCNode<string | import('css-render').CLazySelector<string>>, cNotM: import('css-render').createCNode<string | import('css-render').CLazySelector<string>>;
|
|
3
|
+
declare function createKey<P extends string, S extends string>(prefix: P, suffix: S): S extends 'default' ? P : `${P}${Capitalize<S>}`;
|
|
4
|
+
export { c, cB, cM, cE, cNotM, createKey };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
|
-
import { BODEN_PLATFORM_ENUM } from '../platform-navigation
|
|
2
|
+
import { BODEN_PLATFORM_ENUM } from '../platform-header-navigation';
|
|
3
3
|
import { BodenSystemActionsProps, BodenSystemActionsEmits } from '../system-actions';
|
|
4
4
|
export type BodenGlobalHeaderProps = {
|
|
5
5
|
isShowPlatformMenus?: boolean;
|
|
@@ -15,7 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<BodenGlobalHeaderTi
|
|
|
15
15
|
onTogglePlatform?: ((...args: any[]) => any) | undefined;
|
|
16
16
|
onToggleLogo?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
platformCode: Array<import('
|
|
18
|
+
platformCode: Array<import('..').BODEN_PLATFORM_ENUM>;
|
|
19
19
|
isShowProductIntroduction: boolean;
|
|
20
20
|
isShowLogo: boolean;
|
|
21
21
|
productIntroductionTriggerDisabled: boolean;
|
|
@@ -11,6 +11,7 @@ export * from './layout';
|
|
|
11
11
|
export * from './logo';
|
|
12
12
|
export * from './nav-icon';
|
|
13
13
|
export * from './radio';
|
|
14
|
+
export * from './platform-header-navigation';
|
|
14
15
|
export * from './platform-navigation';
|
|
15
16
|
export { default as BodenProgress } from './progress';
|
|
16
17
|
export * from './select';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const enum BODEN_PLATFORM_ENUM {
|
|
2
|
+
BASE = 1,// 标注
|
|
3
|
+
BLINK = 2,// Blink
|
|
4
|
+
ACCOUNT = 3,// 账号管理平台
|
|
5
|
+
ROBO = 4,// 具身智能采集
|
|
6
|
+
FORGE = 5
|
|
7
|
+
}
|
|
8
|
+
export declare const enum BODEN_PLATFORM_NAME_ENUM {
|
|
9
|
+
ADS = "ADS",
|
|
10
|
+
STUDIO = "STUDIO",
|
|
11
|
+
OMNI = "OMNI",
|
|
12
|
+
BLINK = "BLINK",// Blink
|
|
13
|
+
ACCOUNT = "ACCOUNT",// 账号管理平台
|
|
14
|
+
ROBO = "ROBO",// 具身智能采集
|
|
15
|
+
FORGE = "PS"
|
|
16
|
+
}
|
|
17
|
+
export declare const enum BODEN_PLATFORM_FEATURE {
|
|
18
|
+
Data_Collection = 1,
|
|
19
|
+
Data_Annotation = 2,
|
|
20
|
+
Data_Management = 3
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Component, ExtractPublicPropTypes, PropType } from 'vue';
|
|
2
|
+
import { BODEN_PLATFORM_ENUM, BODEN_PLATFORM_NAME_ENUM, BODEN_PLATFORM_FEATURE } from './constant';
|
|
3
|
+
export type PlatformItem = {
|
|
4
|
+
id: string | number;
|
|
5
|
+
featureType: BODEN_PLATFORM_FEATURE;
|
|
6
|
+
platformId: BODEN_PLATFORM_ENUM;
|
|
7
|
+
moduleName: BODEN_PLATFORM_NAME_ENUM;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
svgIcon: Component | undefined;
|
|
11
|
+
};
|
|
12
|
+
export declare const bodenPlatformHeaderNavigationProps: {
|
|
13
|
+
readonly platformUrlMap: {
|
|
14
|
+
readonly type: PropType<Partial<Record<BODEN_PLATFORM_ENUM, string>>>;
|
|
15
|
+
readonly default: undefined;
|
|
16
|
+
};
|
|
17
|
+
readonly popoverX: {
|
|
18
|
+
readonly type: NumberConstructor;
|
|
19
|
+
readonly default: 0;
|
|
20
|
+
};
|
|
21
|
+
readonly popoverY: {
|
|
22
|
+
readonly type: NumberConstructor;
|
|
23
|
+
readonly default: 0;
|
|
24
|
+
};
|
|
25
|
+
readonly onTogglePlatform: PropType<(code: BODEN_PLATFORM_ENUM, name: BODEN_PLATFORM_NAME_ENUM) => void>;
|
|
26
|
+
};
|
|
27
|
+
export type BodenPlatformHeaderNavigationProps = ExtractPublicPropTypes<typeof bodenPlatformHeaderNavigationProps>;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { BODEN_PLATFORM_ENUM, BODEN_PLATFORM_NAME_ENUM, BODEN_PLATFORM_FEATURE } from './constant';
|
|
2
|
+
import { PlatformItem } from './interface';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
readonly platformUrlMap: {
|
|
5
|
+
readonly type: import('vue').PropType<Partial<Record<BODEN_PLATFORM_ENUM, string>>>;
|
|
6
|
+
readonly default: undefined;
|
|
7
|
+
};
|
|
8
|
+
readonly popoverX: {
|
|
9
|
+
readonly type: NumberConstructor;
|
|
10
|
+
readonly default: 0;
|
|
11
|
+
};
|
|
12
|
+
readonly popoverY: {
|
|
13
|
+
readonly type: NumberConstructor;
|
|
14
|
+
readonly default: 0;
|
|
15
|
+
};
|
|
16
|
+
readonly onTogglePlatform: import('vue').PropType<(code: BODEN_PLATFORM_ENUM, name: BODEN_PLATFORM_NAME_ENUM) => void>;
|
|
17
|
+
}>, {
|
|
18
|
+
tabValue: import('vue').Ref<"" | BODEN_PLATFORM_FEATURE, "" | BODEN_PLATFORM_FEATURE>;
|
|
19
|
+
dropDownVisible: import('vue').ComputedRef<boolean>;
|
|
20
|
+
navStyleCssVar: import('vue').ComputedRef<{
|
|
21
|
+
'--boden-platform-navigation-option-title-color': string;
|
|
22
|
+
'--boden-platform-navigation-option-title-color-hover': string;
|
|
23
|
+
'--boden-platform-navigation-option-title-color-disabled': string;
|
|
24
|
+
'--boden-platform-navigation-option-description-color': string;
|
|
25
|
+
'--boden-platform-navigation-option-description-color-disabled': string;
|
|
26
|
+
'--boden-platform-navigation-option-color-hover': string;
|
|
27
|
+
'--boden-platform-navigation-option-icon-hover': string;
|
|
28
|
+
'--boden-platform-navigation-option-icon-disabled-opacity': number;
|
|
29
|
+
}>;
|
|
30
|
+
platformFeatures: {
|
|
31
|
+
value: BODEN_PLATFORM_FEATURE;
|
|
32
|
+
label: string;
|
|
33
|
+
}[];
|
|
34
|
+
platformNav: PlatformItem[];
|
|
35
|
+
tabThemeOverrides: import('vue').ComputedRef<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Tabs", {
|
|
36
|
+
colorSegment: string;
|
|
37
|
+
tabFontSizeCard: string;
|
|
38
|
+
tabTextColorLine: string;
|
|
39
|
+
tabTextColorActiveLine: string;
|
|
40
|
+
tabTextColorHoverLine: string;
|
|
41
|
+
tabTextColorDisabledLine: string;
|
|
42
|
+
tabTextColorSegment: string;
|
|
43
|
+
tabTextColorActiveSegment: string;
|
|
44
|
+
tabTextColorHoverSegment: string;
|
|
45
|
+
tabTextColorDisabledSegment: string;
|
|
46
|
+
tabTextColorBar: string;
|
|
47
|
+
tabTextColorActiveBar: string;
|
|
48
|
+
tabTextColorHoverBar: string;
|
|
49
|
+
tabTextColorDisabledBar: string;
|
|
50
|
+
tabTextColorCard: string;
|
|
51
|
+
tabTextColorHoverCard: string;
|
|
52
|
+
tabTextColorActiveCard: string;
|
|
53
|
+
tabTextColorDisabledCard: string;
|
|
54
|
+
barColor: string;
|
|
55
|
+
closeIconColor: string;
|
|
56
|
+
closeIconColorHover: string;
|
|
57
|
+
closeIconColorPressed: string;
|
|
58
|
+
closeColorHover: string;
|
|
59
|
+
closeColorPressed: string;
|
|
60
|
+
closeBorderRadius: string;
|
|
61
|
+
tabColor: string;
|
|
62
|
+
tabColorSegment: string;
|
|
63
|
+
tabBorderColor: string;
|
|
64
|
+
tabFontWeightActive: string;
|
|
65
|
+
tabFontWeight: string;
|
|
66
|
+
tabBorderRadius: string;
|
|
67
|
+
paneTextColor: string;
|
|
68
|
+
fontWeightStrong: string;
|
|
69
|
+
tabFontSizeSmall: string;
|
|
70
|
+
tabFontSizeMedium: string;
|
|
71
|
+
tabFontSizeLarge: string;
|
|
72
|
+
tabGapSmallLine: string;
|
|
73
|
+
tabGapMediumLine: string;
|
|
74
|
+
tabGapLargeLine: string;
|
|
75
|
+
tabGapSmallLineVertical: string;
|
|
76
|
+
tabGapMediumLineVertical: string;
|
|
77
|
+
tabGapLargeLineVertical: string;
|
|
78
|
+
tabPaddingSmallLine: string;
|
|
79
|
+
tabPaddingMediumLine: string;
|
|
80
|
+
tabPaddingLargeLine: string;
|
|
81
|
+
tabPaddingVerticalSmallLine: string;
|
|
82
|
+
tabPaddingVerticalMediumLine: string;
|
|
83
|
+
tabPaddingVerticalLargeLine: string;
|
|
84
|
+
tabGapSmallBar: string;
|
|
85
|
+
tabGapMediumBar: string;
|
|
86
|
+
tabGapLargeBar: string;
|
|
87
|
+
tabGapSmallBarVertical: string;
|
|
88
|
+
tabGapMediumBarVertical: string;
|
|
89
|
+
tabGapLargeBarVertical: string;
|
|
90
|
+
tabPaddingSmallBar: string;
|
|
91
|
+
tabPaddingMediumBar: string;
|
|
92
|
+
tabPaddingLargeBar: string;
|
|
93
|
+
tabPaddingVerticalSmallBar: string;
|
|
94
|
+
tabPaddingVerticalMediumBar: string;
|
|
95
|
+
tabPaddingVerticalLargeBar: string;
|
|
96
|
+
tabGapSmallCard: string;
|
|
97
|
+
tabGapMediumCard: string;
|
|
98
|
+
tabGapLargeCard: string;
|
|
99
|
+
tabGapSmallCardVertical: string;
|
|
100
|
+
tabGapMediumCardVertical: string;
|
|
101
|
+
tabGapLargeCardVertical: string;
|
|
102
|
+
tabPaddingSmallCard: string;
|
|
103
|
+
tabPaddingMediumCard: string;
|
|
104
|
+
tabPaddingLargeCard: string;
|
|
105
|
+
tabPaddingSmallSegment: string;
|
|
106
|
+
tabPaddingMediumSegment: string;
|
|
107
|
+
tabPaddingLargeSegment: string;
|
|
108
|
+
tabPaddingVerticalLargeSegment: string;
|
|
109
|
+
tabPaddingVerticalSmallCard: string;
|
|
110
|
+
tabPaddingVerticalMediumCard: string;
|
|
111
|
+
tabPaddingVerticalLargeCard: string;
|
|
112
|
+
tabPaddingVerticalSmallSegment: string;
|
|
113
|
+
tabPaddingVerticalMediumSegment: string;
|
|
114
|
+
tabGapSmallSegment: string;
|
|
115
|
+
tabGapMediumSegment: string;
|
|
116
|
+
tabGapLargeSegment: string;
|
|
117
|
+
tabGapSmallSegmentVertical: string;
|
|
118
|
+
tabGapMediumSegmentVertical: string;
|
|
119
|
+
tabGapLargeSegmentVertical: string;
|
|
120
|
+
panePaddingSmall: string;
|
|
121
|
+
panePaddingMedium: string;
|
|
122
|
+
panePaddingLarge: string;
|
|
123
|
+
closeSize: string;
|
|
124
|
+
closeIconSize: string;
|
|
125
|
+
}, any>> | undefined>;
|
|
126
|
+
isDisabled: (platformCode: BODEN_PLATFORM_ENUM) => boolean;
|
|
127
|
+
onClick: (platform: PlatformItem) => void;
|
|
128
|
+
onMouseLeave: () => void;
|
|
129
|
+
onPopoverMouseenter: () => void;
|
|
130
|
+
onBeforeLeave: () => boolean;
|
|
131
|
+
setTabValue: (value: BODEN_PLATFORM_FEATURE) => void;
|
|
132
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
133
|
+
readonly platformUrlMap: {
|
|
134
|
+
readonly type: import('vue').PropType<Partial<Record<BODEN_PLATFORM_ENUM, string>>>;
|
|
135
|
+
readonly default: undefined;
|
|
136
|
+
};
|
|
137
|
+
readonly popoverX: {
|
|
138
|
+
readonly type: NumberConstructor;
|
|
139
|
+
readonly default: 0;
|
|
140
|
+
};
|
|
141
|
+
readonly popoverY: {
|
|
142
|
+
readonly type: NumberConstructor;
|
|
143
|
+
readonly default: 0;
|
|
144
|
+
};
|
|
145
|
+
readonly onTogglePlatform: import('vue').PropType<(code: BODEN_PLATFORM_ENUM, name: BODEN_PLATFORM_NAME_ENUM) => void>;
|
|
146
|
+
}>> & Readonly<{}>, {
|
|
147
|
+
readonly platformUrlMap: Partial<Record<BODEN_PLATFORM_ENUM, string>>;
|
|
148
|
+
readonly popoverX: number;
|
|
149
|
+
readonly popoverY: number;
|
|
150
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
151
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TabsProps } from 'naive-ui';
|
|
2
|
+
export declare const createNavCssVar: (isDarkMode: boolean) => {
|
|
3
|
+
'--boden-platform-navigation-option-title-color': string;
|
|
4
|
+
'--boden-platform-navigation-option-title-color-hover': string;
|
|
5
|
+
'--boden-platform-navigation-option-title-color-disabled': string;
|
|
6
|
+
'--boden-platform-navigation-option-description-color': string;
|
|
7
|
+
'--boden-platform-navigation-option-description-color-disabled': string;
|
|
8
|
+
'--boden-platform-navigation-option-color-hover': string;
|
|
9
|
+
'--boden-platform-navigation-option-icon-hover': string;
|
|
10
|
+
'--boden-platform-navigation-option-icon-disabled-opacity': number;
|
|
11
|
+
};
|
|
12
|
+
export declare const createTabThemeOverrides: (isDarkMode: boolean) => TabsProps["themeOverrides"];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as BodenPlatformNavigation } from './index.vue';
|
|
2
|
-
export { type BodenPlatformNavigationProps, type BodenPlatformNavigationInstance
|
|
2
|
+
export { type BodenPlatformNavigationProps, type BodenPlatformNavigationInstance } from './interface';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { BodenPlatformNavigationProps
|
|
1
|
+
import { BodenPlatformNavigationProps } from './interface';
|
|
2
|
+
import { BODEN_PLATFORM_ENUM } from '../platform-header-navigation';
|
|
2
3
|
declare const _default: import('vue').DefineComponent<BodenPlatformNavigationProps, {
|
|
3
4
|
updateShow: (value: boolean) => void;
|
|
4
5
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
import { PopoverProps } from 'naive-ui';
|
|
2
|
-
|
|
3
|
-
BASE = 1,// 标注
|
|
4
|
-
BLINK = 2,// Blink
|
|
5
|
-
ACCOUNT = 3,// 账号管理平台
|
|
6
|
-
VLA = 4,// 具身智能采集
|
|
7
|
-
PS = 5
|
|
8
|
-
}
|
|
9
|
-
export declare const enum BODEN_PLATFORM_NAME_ENUM {
|
|
10
|
-
ADS = "ADS",
|
|
11
|
-
STUDIO = "STUDIO",
|
|
12
|
-
OMNI = "OMNI",
|
|
13
|
-
BLINK = "BLINK",// Blink
|
|
14
|
-
ACCOUNT = "ACCOUNT",// 账号管理平台
|
|
15
|
-
ROBO = "ROBO",// 具身智能采集
|
|
16
|
-
PS = "PS"
|
|
17
|
-
}
|
|
2
|
+
import { BODEN_PLATFORM_ENUM, BODEN_PLATFORM_NAME_ENUM } from '../platform-header-navigation';
|
|
18
3
|
export type BodenPlatformNavigationProps = {
|
|
19
4
|
platformCode?: BODEN_PLATFORM_ENUM[];
|
|
20
5
|
triggerDisabled?: boolean;
|