base6-ui 2.0.29 → 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/index.css +1 -1
- package/dist/index.umd.js +14 -3
- 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/index.vue.mjs +1 -1
- 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/layout/components/{WrapHeader.vue.mjs → WrapHeader.vue2.mjs} +1 -1
- package/es/components/layout/index.vue2.mjs +1 -1
- 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 +2 -2
- package/es/components/platform-navigation/index.vue2.mjs +160 -106
- package/es/components/platform-navigation/interface.d.ts +1 -16
- package/es/config/themes/token/light.mjs +3 -3
- package/es/index.css +1 -1
- package/es/index.mjs +92 -87
- 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/index.vue.js +1 -1
- 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/layout/components/WrapHeader.vue2.js +1 -0
- package/lib/components/layout/index.vue2.js +1 -1
- 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/token/light.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.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/layout/components/WrapHeader.vue.js +0 -1
- package/lib/components/platform-navigation/interface.js +0 -1
|
@@ -1,20 +1,74 @@
|
|
|
1
1
|
import { NPopover as K, NGrid as $, NGi as H, NCard as j, NButton as q } from "naive-ui";
|
|
2
|
-
import { defineComponent as J, ref as N, computed as g, resolveComponent as Q, createElementBlock as u, openBlock as l, createVNode as
|
|
3
|
-
import
|
|
4
|
-
import { useLocale as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { createCardThemeOverrides as
|
|
13
|
-
import
|
|
14
|
-
|
|
2
|
+
import { defineComponent as J, ref as N, computed as g, resolveComponent as Q, createElementBlock as u, openBlock as l, createVNode as c, createBlock as _, withModifiers as k, normalizeStyle as W, withCtx as s, createElementVNode as t, toDisplayString as f, unref as X, Fragment as y, renderList as P, createCommentVNode as B, normalizeClass as Y, createTextVNode as Z, Teleport as oo, withDirectives as to, vShow as eo } from "vue";
|
|
3
|
+
import io from "../nav-icon/index.vue.mjs";
|
|
4
|
+
import { useLocale as ro } from "../../hooks/useLocale.mjs";
|
|
5
|
+
import no from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
6
|
+
import ao from "../../assets/cover/base-ads.png.mjs";
|
|
7
|
+
import lo from "../../assets/cover/base-studio.png.mjs";
|
|
8
|
+
import so from "../../assets/cover/base-multimodal.png.mjs";
|
|
9
|
+
import mo from "../../assets/cover/robo.png.mjs";
|
|
10
|
+
import po from "../../assets/cover/ps.png.mjs";
|
|
11
|
+
import co from "../../assets/cover/blink.png.mjs";
|
|
12
|
+
import { createCardThemeOverrides as fo, createHorizontalCardThemeOverrides as vo, createPopoverCssVar as go } from "./cssVar.mjs";
|
|
13
|
+
import "../platform-header-navigation/src/styles/index.cssr.mjs";
|
|
14
|
+
import { BODEN_PLATFORM_NAME_ENUM as m, BODEN_PLATFORM_ENUM as p } from "../platform-header-navigation/src/constant.mjs";
|
|
15
|
+
import "../../config/themes/token/dark.mjs";
|
|
16
|
+
import "../../config/themes/token/light.mjs";
|
|
17
|
+
import "../../config/themes/components/alert/light.mjs";
|
|
18
|
+
import "../../config/themes/components/button/light.mjs";
|
|
19
|
+
import "../../config/themes/components/card/light.mjs";
|
|
20
|
+
import "../../config/themes/components/cascader/light.mjs";
|
|
21
|
+
import "../../config/themes/components/dataTable/light.mjs";
|
|
22
|
+
import "../../config/themes/components/datePicker/light.mjs";
|
|
23
|
+
import "../../config/themes/components/checkbox/light.mjs";
|
|
24
|
+
import "../../config/themes/components/divider/light.mjs";
|
|
25
|
+
import "../../config/themes/components/dialog/light.mjs";
|
|
26
|
+
import "../../config/themes/components/dropdown/light.mjs";
|
|
27
|
+
import "../../config/themes/components/form/light.mjs";
|
|
28
|
+
import "../../config/themes/components/input/light.mjs";
|
|
29
|
+
import "../../config/themes/components/inputNumber/light.mjs";
|
|
30
|
+
import "../../config/themes/components/layout/light.mjs";
|
|
31
|
+
import "../../config/themes/components/menu/light.mjs";
|
|
32
|
+
import "../../config/themes/components/popover/light.mjs";
|
|
33
|
+
import "../../config/themes/components/progress/light.mjs";
|
|
34
|
+
import "../../config/themes/components/radio/light.mjs";
|
|
35
|
+
import "../../config/themes/components/select/light.mjs";
|
|
36
|
+
import "../../config/themes/components/slider/light.mjs";
|
|
37
|
+
import "../../config/themes/components/switch/light.mjs";
|
|
38
|
+
import "../../config/themes/components/tag/light.mjs";
|
|
39
|
+
import "../../config/themes/components/transfer/light.mjs";
|
|
40
|
+
import "../../config/themes/components/baseComponent/light.mjs";
|
|
41
|
+
import "../../config/themes/common/light.mjs";
|
|
42
|
+
import "../../config/themes/components/alert/dark.mjs";
|
|
43
|
+
import "../../config/themes/components/button/dark.mjs";
|
|
44
|
+
import "../../config/themes/components/card/dark.mjs";
|
|
45
|
+
import "../../config/themes/components/cascader/dark.mjs";
|
|
46
|
+
import "../../config/themes/components/checkbox/dark.mjs";
|
|
47
|
+
import "../../config/themes/components/dataTable/dark.mjs";
|
|
48
|
+
import "../../config/themes/components/datePicker/dark.mjs";
|
|
49
|
+
import "../../config/themes/components/dialog/dark.mjs";
|
|
50
|
+
import "../../config/themes/components/dropdown/dark.mjs";
|
|
51
|
+
import "../../config/themes/components/form/dark.mjs";
|
|
52
|
+
import "../../config/themes/components/input/dark.mjs";
|
|
53
|
+
import "../../config/themes/components/inputNumber/dark.mjs";
|
|
54
|
+
import "../../config/themes/components/layout/dark.mjs";
|
|
55
|
+
import "../../config/themes/components/menu/dark.mjs";
|
|
56
|
+
import "../../config/themes/components/popover/dark.mjs";
|
|
57
|
+
import "../../config/themes/components/progress/dark.mjs";
|
|
58
|
+
import "../../config/themes/components/radio/dark.mjs";
|
|
59
|
+
import "../../config/themes/components/select/dark.mjs";
|
|
60
|
+
import "../../config/themes/components/slider/dark.mjs";
|
|
61
|
+
import "../../config/themes/components/switch/dark.mjs";
|
|
62
|
+
import "../../config/themes/components/tag/dark.mjs";
|
|
63
|
+
import "../../config/themes/components/transfer/dark.mjs";
|
|
64
|
+
import "../../config/themes/components/baseComponent/dark.mjs";
|
|
65
|
+
import "../../config/themes/common/dark.mjs";
|
|
66
|
+
import "../../config/themes/components/charts/dark.mjs";
|
|
67
|
+
import "../../config/themes/components/charts/light.mjs";
|
|
68
|
+
const uo = { class: "header" }, ho = { class: "content-wrapper" }, _o = { class: "platform-type-item-header" }, bo = { class: "title" }, No = { class: "description" }, ko = ["src"], yo = { class: "platform-card_content" }, Po = { class: "title" }, Bo = { class: "description" }, Co = {
|
|
15
69
|
key: 0,
|
|
16
70
|
class: "navigation"
|
|
17
|
-
},
|
|
71
|
+
}, So = { class: "boden-platform-navigation-panel-mask" }, Ut = /* @__PURE__ */ J({
|
|
18
72
|
__name: "index",
|
|
19
73
|
props: {
|
|
20
74
|
platformCode: { default: () => [] },
|
|
@@ -23,169 +77,169 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
23
77
|
y: { default: 0 }
|
|
24
78
|
},
|
|
25
79
|
emits: ["togglePlatform"],
|
|
26
|
-
setup(
|
|
27
|
-
const D =
|
|
80
|
+
setup(d, { expose: C, emit: S }) {
|
|
81
|
+
const D = d, O = S, x = no(), { t: o } = ro(), v = N(null), r = N(!1), h = g(() => {
|
|
28
82
|
const {
|
|
29
|
-
name:
|
|
30
|
-
} =
|
|
31
|
-
return
|
|
32
|
-
}),
|
|
83
|
+
name: n = "light"
|
|
84
|
+
} = x?.mergedThemeRef.value || {};
|
|
85
|
+
return n !== "light";
|
|
86
|
+
}), R = [
|
|
33
87
|
{
|
|
34
88
|
key: "bric",
|
|
35
|
-
title:
|
|
36
|
-
description:
|
|
89
|
+
title: o("boden.platformNavigation.BricPlatform"),
|
|
90
|
+
description: o("boden.platformNavigation.BricPlatformDescription"),
|
|
37
91
|
svgIcon: "logo-base",
|
|
38
92
|
children: [
|
|
39
93
|
{
|
|
40
|
-
id:
|
|
41
|
-
key:
|
|
42
|
-
title:
|
|
43
|
-
description:
|
|
44
|
-
imageSrc:
|
|
94
|
+
id: p.ROBO,
|
|
95
|
+
key: m.ROBO,
|
|
96
|
+
title: o("boden.platformNavigation.RoboPlatform"),
|
|
97
|
+
description: o("boden.platformNavigation.RoboPlatformDescription"),
|
|
98
|
+
imageSrc: mo
|
|
45
99
|
},
|
|
46
100
|
{
|
|
47
|
-
id:
|
|
48
|
-
key:
|
|
49
|
-
title:
|
|
50
|
-
description:
|
|
51
|
-
imageSrc:
|
|
101
|
+
id: p.FORGE,
|
|
102
|
+
key: m.FORGE,
|
|
103
|
+
title: o("boden.platformNavigation.ForgePlatform"),
|
|
104
|
+
description: o("boden.platformNavigation.ForgePlatformDescription"),
|
|
105
|
+
imageSrc: po
|
|
52
106
|
}
|
|
53
107
|
]
|
|
54
108
|
},
|
|
55
109
|
{
|
|
56
110
|
key: "base",
|
|
57
|
-
title:
|
|
58
|
-
description:
|
|
111
|
+
title: o("boden.platformNavigation.BasePlatform"),
|
|
112
|
+
description: o("boden.platformNavigation.BasePlatformDescription"),
|
|
59
113
|
svgIcon: "logo-base",
|
|
60
114
|
children: [
|
|
61
115
|
{
|
|
62
|
-
id:
|
|
63
|
-
key:
|
|
64
|
-
title:
|
|
65
|
-
description:
|
|
66
|
-
imageSrc:
|
|
116
|
+
id: p.BASE,
|
|
117
|
+
key: m.ADS,
|
|
118
|
+
title: o("boden.platformNavigation.AdsPlatform"),
|
|
119
|
+
description: o("boden.platformNavigation.AdsPlatformDescription"),
|
|
120
|
+
imageSrc: ao
|
|
67
121
|
},
|
|
68
122
|
{
|
|
69
|
-
id:
|
|
70
|
-
key:
|
|
71
|
-
title:
|
|
72
|
-
description:
|
|
73
|
-
imageSrc:
|
|
123
|
+
id: p.BASE,
|
|
124
|
+
key: m.STUDIO,
|
|
125
|
+
title: o("boden.platformNavigation.StudioPlatform"),
|
|
126
|
+
description: o("boden.platformNavigation.StudioPlatformDescription"),
|
|
127
|
+
imageSrc: lo
|
|
74
128
|
},
|
|
75
129
|
{
|
|
76
|
-
id:
|
|
77
|
-
key:
|
|
78
|
-
title:
|
|
79
|
-
description:
|
|
80
|
-
imageSrc:
|
|
130
|
+
id: p.BASE,
|
|
131
|
+
key: m.OMNI,
|
|
132
|
+
title: o("boden.platformNavigation.OmniPlatform"),
|
|
133
|
+
description: o("boden.platformNavigation.OmniPlatformDescription"),
|
|
134
|
+
imageSrc: so
|
|
81
135
|
}
|
|
82
136
|
]
|
|
83
137
|
},
|
|
84
138
|
{
|
|
85
139
|
key: "blink",
|
|
86
|
-
title:
|
|
87
|
-
description:
|
|
140
|
+
title: o("boden.platformNavigation.BlinkPlatform"),
|
|
141
|
+
description: o("boden.platformNavigation.BlinkPlatformDescription"),
|
|
88
142
|
svgIcon: "logo-base",
|
|
89
143
|
children: [
|
|
90
144
|
{
|
|
91
|
-
id:
|
|
92
|
-
key:
|
|
93
|
-
title:
|
|
94
|
-
description:
|
|
95
|
-
imageSrc:
|
|
145
|
+
id: p.BLINK,
|
|
146
|
+
key: m.BLINK,
|
|
147
|
+
title: o("boden.platformNavigation.BlinkPlatformSpecific"),
|
|
148
|
+
description: o("boden.platformNavigation.BlinkPlatformSpecificDescription"),
|
|
149
|
+
imageSrc: co
|
|
96
150
|
}
|
|
97
151
|
]
|
|
98
152
|
}
|
|
99
|
-
],
|
|
100
|
-
D.triggerDisabled || b(!
|
|
101
|
-
}, b = (
|
|
102
|
-
|
|
103
|
-
}, T = (
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
v.value && v.value.instRef && v.value.instRef.contains(
|
|
153
|
+
], w = g(() => fo(h.value)), E = g(() => vo(h.value)), A = g(() => go(h.value)), I = () => {
|
|
154
|
+
D.triggerDisabled || b(!r.value);
|
|
155
|
+
}, b = (n) => {
|
|
156
|
+
r.value = n;
|
|
157
|
+
}, T = (n, i) => {
|
|
158
|
+
O("togglePlatform", n, i);
|
|
159
|
+
}, F = (n) => {
|
|
160
|
+
v.value && v.value.instRef && v.value.instRef.contains(n.target) || (r.value = !1);
|
|
107
161
|
};
|
|
108
|
-
return
|
|
162
|
+
return C({
|
|
109
163
|
updateShow: b
|
|
110
|
-
}), (
|
|
111
|
-
const
|
|
164
|
+
}), (n, i) => {
|
|
165
|
+
const M = Q("svg-icon"), z = q, L = j, V = H, G = $, U = K;
|
|
112
166
|
return l(), u("div", null, [
|
|
113
|
-
|
|
167
|
+
c(io, {
|
|
114
168
|
ref_key: "triggerInstRef",
|
|
115
169
|
ref: v,
|
|
116
|
-
active:
|
|
117
|
-
disabled:
|
|
170
|
+
active: r.value,
|
|
171
|
+
disabled: d.triggerDisabled,
|
|
118
172
|
onClick: k(I, ["stop"])
|
|
119
173
|
}, null, 8, ["active", "disabled"]),
|
|
120
|
-
|
|
174
|
+
c(U, {
|
|
121
175
|
"content-class": "boden-platform-navigation-panel-popover",
|
|
122
176
|
trigger: "manual",
|
|
123
|
-
show:
|
|
124
|
-
"onUpdate:show": i[2] || (i[2] = (
|
|
125
|
-
style: W(
|
|
177
|
+
show: r.value,
|
|
178
|
+
"onUpdate:show": i[2] || (i[2] = (e) => r.value = e),
|
|
179
|
+
style: W(A.value),
|
|
126
180
|
"show-arrow": !1,
|
|
127
181
|
width: 1058,
|
|
128
182
|
scrollable: "",
|
|
129
|
-
x:
|
|
130
|
-
y:
|
|
183
|
+
x: d.x,
|
|
184
|
+
y: d.y,
|
|
131
185
|
"theme-overrides": { padding: "0", space: "0", borderRadius: "3px" },
|
|
132
|
-
onClickoutside:
|
|
186
|
+
onClickoutside: F
|
|
133
187
|
}, {
|
|
134
188
|
default: s(() => [
|
|
135
|
-
|
|
189
|
+
t("div", {
|
|
136
190
|
class: "boden-platform-navigation-panel",
|
|
137
191
|
onClick: i[1] || (i[1] = k(() => {
|
|
138
192
|
}, ["stop"]))
|
|
139
193
|
}, [
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
194
|
+
t("div", uo, [
|
|
195
|
+
t("div", null, f(X(o)("boden.platformNavigation.allProducts")), 1),
|
|
196
|
+
c(M, {
|
|
143
197
|
icon: "operate-close",
|
|
144
198
|
size: "16",
|
|
145
|
-
onClick: i[0] || (i[0] = (
|
|
199
|
+
onClick: i[0] || (i[0] = (e) => r.value = !1)
|
|
146
200
|
})
|
|
147
201
|
]),
|
|
148
|
-
|
|
149
|
-
(l(), u(y, null, P(
|
|
150
|
-
key:
|
|
202
|
+
t("div", ho, [
|
|
203
|
+
(l(), u(y, null, P(R, (e) => t("div", {
|
|
204
|
+
key: e.key,
|
|
151
205
|
class: "platform-type-item"
|
|
152
206
|
}, [
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
207
|
+
t("div", _o, [
|
|
208
|
+
t("div", bo, f(e.title), 1),
|
|
209
|
+
t("div", No, f(e.description), 1)
|
|
156
210
|
]),
|
|
157
|
-
|
|
211
|
+
e.children && e.children.length ? (l(), _(G, {
|
|
158
212
|
key: 0,
|
|
159
213
|
"x-gap": "12",
|
|
160
|
-
cols:
|
|
214
|
+
cols: e.children.length === 1 ? 1 : 3,
|
|
161
215
|
style: { "margin-top": "12px" }
|
|
162
216
|
}, {
|
|
163
217
|
default: s(() => [
|
|
164
|
-
(l(!0), u(y, null, P(
|
|
218
|
+
(l(!0), u(y, null, P(e.children, (a) => (l(), _(V, {
|
|
165
219
|
key: a.key
|
|
166
220
|
}, {
|
|
167
221
|
default: s(() => [
|
|
168
|
-
|
|
169
|
-
class: Y(["platform-card", { "is-horizontal":
|
|
170
|
-
"theme-overrides":
|
|
222
|
+
c(L, {
|
|
223
|
+
class: Y(["platform-card", { "is-horizontal": e.children.length === 1 }]),
|
|
224
|
+
"theme-overrides": e.children.length === 1 ? E.value : w.value
|
|
171
225
|
}, {
|
|
172
226
|
cover: s(() => [
|
|
173
|
-
|
|
227
|
+
t("img", {
|
|
174
228
|
src: a.imageSrc,
|
|
175
229
|
alt: ""
|
|
176
|
-
}, null, 8,
|
|
230
|
+
}, null, 8, ko)
|
|
177
231
|
]),
|
|
178
232
|
default: s(() => [
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
233
|
+
t("div", yo, [
|
|
234
|
+
t("div", Po, f(a.title), 1),
|
|
235
|
+
t("div", Bo, f(a.description), 1)
|
|
182
236
|
]),
|
|
183
|
-
|
|
184
|
-
|
|
237
|
+
d.platformCode?.includes(a.id) ? (l(), u("div", Co, [
|
|
238
|
+
c(z, {
|
|
185
239
|
round: "",
|
|
186
240
|
size: "tiny",
|
|
187
241
|
type: "primary",
|
|
188
|
-
onClick: (
|
|
242
|
+
onClick: (Oo) => T(a.id, a.key)
|
|
189
243
|
}, {
|
|
190
244
|
default: s(() => [...i[3] || (i[3] = [
|
|
191
245
|
Z("开始使用", -1)
|
|
@@ -208,9 +262,9 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
208
262
|
]),
|
|
209
263
|
_: 1
|
|
210
264
|
}, 8, ["show", "style", "x", "y"]),
|
|
211
|
-
(l(), _(
|
|
212
|
-
|
|
213
|
-
[
|
|
265
|
+
(l(), _(oo, { to: "body" }, [
|
|
266
|
+
to(t("div", So, null, 512), [
|
|
267
|
+
[eo, r.value]
|
|
214
268
|
])
|
|
215
269
|
]))
|
|
216
270
|
]);
|
|
@@ -218,5 +272,5 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
218
272
|
}
|
|
219
273
|
});
|
|
220
274
|
export {
|
|
221
|
-
|
|
275
|
+
Ut as default
|
|
222
276
|
};
|
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o from "../color/light.mjs";
|
|
2
|
-
const
|
|
3
|
-
"color-text-1": "
|
|
2
|
+
const l = {
|
|
3
|
+
"color-text-1": o["color-gray-10"],
|
|
4
4
|
"color-text-2": o["color-gray-8"],
|
|
5
5
|
"color-text-3": o["color-gray-6"],
|
|
6
6
|
"color-text-4": o["color-gray-5"],
|
|
@@ -19,5 +19,5 @@ const F = {
|
|
|
19
19
|
"border-color-4": o["color-gray-6"]
|
|
20
20
|
};
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
l as default
|
|
23
23
|
};
|