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.
Files changed (170) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/_constant/base.d.ts +3 -0
  3. package/dist/_hooks/boden-use-theme.d.ts +3 -0
  4. package/dist/_hooks/index.d.ts +1 -0
  5. package/dist/_internal/icons/ads.d.ts +2 -0
  6. package/dist/_internal/icons/arrow-right.d.ts +2 -0
  7. package/dist/_internal/icons/blink.d.ts +2 -0
  8. package/dist/_internal/icons/forge.d.ts +2 -0
  9. package/dist/_internal/icons/index.d.ts +7 -0
  10. package/dist/_internal/icons/omni.d.ts +2 -0
  11. package/dist/_internal/icons/robo.d.ts +2 -0
  12. package/dist/_internal/icons/studio.d.ts +2 -0
  13. package/dist/_mixins/use-theme.d.ts +3 -0
  14. package/dist/_utils/cssr.d.ts +4 -0
  15. package/dist/components/global-header/interface.d.ts +1 -1
  16. package/dist/components/global-header/title.vue.d.ts +1 -1
  17. package/dist/components/index.d.ts +1 -0
  18. package/dist/components/platform-header-navigation/index.d.ts +3 -0
  19. package/dist/components/platform-header-navigation/src/constant.d.ts +21 -0
  20. package/dist/components/platform-header-navigation/src/interface.d.ts +27 -0
  21. package/dist/components/platform-header-navigation/src/platform-header-navigation.d.ts +151 -0
  22. package/dist/components/platform-header-navigation/src/styles/index.cssr.d.ts +2 -0
  23. package/dist/components/platform-header-navigation/src/useCssVars.d.ts +12 -0
  24. package/dist/components/platform-navigation/index.d.ts +1 -1
  25. package/dist/components/platform-navigation/index.vue.d.ts +2 -1
  26. package/dist/components/platform-navigation/interface.d.ts +1 -16
  27. package/dist/config/themes/token/dark.d.ts +1 -0
  28. package/dist/config/themes/token/light.d.ts +1 -0
  29. package/dist/index.css +1 -1
  30. package/dist/index.umd.js +14 -3
  31. package/dist/locale/http/en-us.d.ts +2 -0
  32. package/dist/locale/lang/en-us.d.ts +2 -2
  33. package/dist/main.d.ts +0 -0
  34. package/es/App.vue.d.ts +2 -0
  35. package/es/_constant/base.d.ts +3 -0
  36. package/es/_constant/base.mjs +4 -0
  37. package/es/_hooks/boden-use-theme.d.ts +3 -0
  38. package/es/_hooks/boden-use-theme.mjs +13 -0
  39. package/es/_hooks/index.d.ts +1 -0
  40. package/es/_internal/icons/ads.d.ts +2 -0
  41. package/es/_internal/icons/ads.mjs +137 -0
  42. package/es/_internal/icons/arrow-right.d.ts +2 -0
  43. package/es/_internal/icons/arrow-right.mjs +28 -0
  44. package/es/_internal/icons/blink.d.ts +2 -0
  45. package/es/_internal/icons/blink.mjs +127 -0
  46. package/es/_internal/icons/forge.d.ts +2 -0
  47. package/es/_internal/icons/forge.mjs +125 -0
  48. package/es/_internal/icons/index.d.ts +7 -0
  49. package/es/_internal/icons/omni.d.ts +2 -0
  50. package/es/_internal/icons/omni.mjs +143 -0
  51. package/es/_internal/icons/robo.d.ts +2 -0
  52. package/es/_internal/icons/robo.mjs +135 -0
  53. package/es/_internal/icons/studio.d.ts +2 -0
  54. package/es/_internal/icons/studio.mjs +144 -0
  55. package/es/_mixins/use-theme.d.ts +3 -0
  56. package/es/_mixins/use-theme.mjs +8 -0
  57. package/es/_utils/cssr.d.ts +4 -0
  58. package/es/_utils/cssr.mjs +17 -0
  59. package/es/components/global-header/interface.d.ts +1 -1
  60. package/es/components/global-header/title.vue.d.ts +1 -1
  61. package/es/components/index.d.ts +1 -0
  62. package/es/components/platform-header-navigation/index.d.ts +3 -0
  63. package/es/components/platform-header-navigation/src/constant.d.ts +21 -0
  64. package/es/components/platform-header-navigation/src/constant.mjs +6 -0
  65. package/es/components/platform-header-navigation/src/interface.d.ts +27 -0
  66. package/es/components/platform-header-navigation/src/interface.mjs +18 -0
  67. package/es/components/platform-header-navigation/src/platform-header-navigation.d.ts +151 -0
  68. package/es/components/platform-header-navigation/src/platform-header-navigation.mjs +196 -0
  69. package/es/components/platform-header-navigation/src/styles/index.cssr.d.ts +2 -0
  70. package/es/components/platform-header-navigation/src/styles/index.cssr.mjs +81 -0
  71. package/es/components/platform-header-navigation/src/useCssVars.d.ts +12 -0
  72. package/es/components/platform-header-navigation/src/useCssVars.mjs +71 -0
  73. package/es/components/platform-navigation/index.d.ts +1 -1
  74. package/es/components/platform-navigation/index.vue.d.ts +2 -1
  75. package/es/components/platform-navigation/index.vue.mjs +1 -1
  76. package/es/components/platform-navigation/index.vue2.mjs +160 -106
  77. package/es/components/platform-navigation/interface.d.ts +1 -16
  78. package/es/config/themes/components/card/dark.mjs +1 -1
  79. package/es/config/themes/components/dialog/dark.mjs +1 -1
  80. package/es/config/themes/token/dark.d.ts +1 -0
  81. package/es/config/themes/token/dark.mjs +1 -0
  82. package/es/config/themes/token/light.d.ts +1 -0
  83. package/es/config/themes/token/light.mjs +2 -1
  84. package/es/index.css +1 -1
  85. package/es/index.mjs +92 -87
  86. package/es/locale/http/en-us.d.ts +2 -0
  87. package/es/locale/http/en-us.mjs +2 -0
  88. package/es/locale/http/zh-cn.mjs +2 -0
  89. package/es/locale/lang/en-us.d.ts +2 -2
  90. package/es/locale/lang/en-us.mjs +2 -2
  91. package/es/locale/lang/zh-cn.mjs +2 -2
  92. package/es/main.d.ts +0 -0
  93. 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
  94. package/es/node_modules/.pnpm/@emotion_hash@0.8.0/node_modules/@emotion/hash/dist/hash.browser.esm.mjs +22 -0
  95. package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/CssRender.mjs +15 -0
  96. package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/c.mjs +30 -0
  97. package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/mount.mjs +39 -0
  98. package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/parse.mjs +59 -0
  99. package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/render.mjs +98 -0
  100. package/es/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/utils.mjs +22 -0
  101. package/lib/App.vue.d.ts +2 -0
  102. package/lib/_constant/base.d.ts +3 -0
  103. package/lib/_constant/base.js +1 -0
  104. package/lib/_hooks/boden-use-theme.d.ts +3 -0
  105. package/lib/_hooks/boden-use-theme.js +1 -0
  106. package/lib/_hooks/index.d.ts +1 -0
  107. package/lib/_internal/icons/ads.d.ts +2 -0
  108. package/lib/_internal/icons/ads.js +1 -0
  109. package/lib/_internal/icons/arrow-right.d.ts +2 -0
  110. package/lib/_internal/icons/arrow-right.js +1 -0
  111. package/lib/_internal/icons/blink.d.ts +2 -0
  112. package/lib/_internal/icons/blink.js +1 -0
  113. package/lib/_internal/icons/forge.d.ts +2 -0
  114. package/lib/_internal/icons/forge.js +1 -0
  115. package/lib/_internal/icons/index.d.ts +7 -0
  116. package/lib/_internal/icons/omni.d.ts +2 -0
  117. package/lib/_internal/icons/omni.js +1 -0
  118. package/lib/_internal/icons/robo.d.ts +2 -0
  119. package/lib/_internal/icons/robo.js +1 -0
  120. package/lib/_internal/icons/studio.d.ts +2 -0
  121. package/lib/_internal/icons/studio.js +1 -0
  122. package/lib/_mixins/use-theme.d.ts +3 -0
  123. package/lib/_mixins/use-theme.js +1 -0
  124. package/lib/_utils/cssr.d.ts +4 -0
  125. package/lib/_utils/cssr.js +1 -0
  126. package/lib/components/global-header/interface.d.ts +1 -1
  127. package/lib/components/global-header/title.vue.d.ts +1 -1
  128. package/lib/components/index.d.ts +1 -0
  129. package/lib/components/platform-header-navigation/index.d.ts +3 -0
  130. package/lib/components/platform-header-navigation/src/constant.d.ts +21 -0
  131. package/lib/components/platform-header-navigation/src/constant.js +1 -0
  132. package/lib/components/platform-header-navigation/src/interface.d.ts +27 -0
  133. package/lib/components/platform-header-navigation/src/interface.js +1 -0
  134. package/lib/components/platform-header-navigation/src/platform-header-navigation.d.ts +151 -0
  135. package/lib/components/platform-header-navigation/src/platform-header-navigation.js +1 -0
  136. package/lib/components/platform-header-navigation/src/styles/index.cssr.d.ts +2 -0
  137. package/lib/components/platform-header-navigation/src/styles/index.cssr.js +1 -0
  138. package/lib/components/platform-header-navigation/src/useCssVars.d.ts +12 -0
  139. package/lib/components/platform-header-navigation/src/useCssVars.js +1 -0
  140. package/lib/components/platform-navigation/index.d.ts +1 -1
  141. package/lib/components/platform-navigation/index.vue.d.ts +2 -1
  142. package/lib/components/platform-navigation/index.vue.js +1 -1
  143. package/lib/components/platform-navigation/index.vue2.js +1 -1
  144. package/lib/components/platform-navigation/interface.d.ts +1 -16
  145. package/lib/config/themes/components/card/dark.js +1 -1
  146. package/lib/config/themes/components/dialog/dark.js +1 -1
  147. package/lib/config/themes/token/dark.d.ts +1 -0
  148. package/lib/config/themes/token/dark.js +1 -1
  149. package/lib/config/themes/token/light.d.ts +1 -0
  150. package/lib/config/themes/token/light.js +1 -1
  151. package/lib/index.css +1 -1
  152. package/lib/index.js +1 -1
  153. package/lib/locale/http/en-us.d.ts +2 -0
  154. package/lib/locale/http/en-us.js +1 -1
  155. package/lib/locale/http/zh-cn.js +1 -1
  156. package/lib/locale/lang/en-us.d.ts +2 -2
  157. package/lib/locale/lang/en-us.js +1 -1
  158. package/lib/locale/lang/zh-cn.js +1 -1
  159. package/lib/main.d.ts +0 -0
  160. 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
  161. package/lib/node_modules/.pnpm/@emotion_hash@0.8.0/node_modules/@emotion/hash/dist/hash.browser.esm.js +1 -0
  162. package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/CssRender.js +1 -0
  163. package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/c.js +1 -0
  164. package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/mount.js +1 -0
  165. package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/parse.js +1 -0
  166. package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/render.js +12 -0
  167. package/lib/node_modules/.pnpm/css-render@0.15.14/node_modules/css-render/esm/utils.js +1 -0
  168. package/package.json +3 -1
  169. package/es/components/platform-navigation/interface.mjs +0 -5
  170. 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 p, createBlock as _, withModifiers as k, normalizeStyle as W, withCtx as s, createElementVNode as o, toDisplayString as f, unref as X, Fragment as y, renderList as P, createCommentVNode as B, normalizeClass as Y, createTextVNode as Z, Teleport as ee, withDirectives as oe, vShow as te } from "vue";
3
- import ie from "../nav-icon/index.vue.mjs";
4
- import { useLocale as ne } from "../../hooks/useLocale.mjs";
5
- import re from "../../hooks/useNaiveConfigProvideContext.mjs";
6
- import ae from "../../assets/cover/base-ads.png.mjs";
7
- import le from "../../assets/cover/base-studio.png.mjs";
8
- import se from "../../assets/cover/base-multimodal.png.mjs";
9
- import de from "../../assets/cover/robo.png.mjs";
10
- import ce from "../../assets/cover/ps.png.mjs";
11
- import me from "../../assets/cover/blink.png.mjs";
12
- import { createCardThemeOverrides as pe, createHorizontalCardThemeOverrides as fe, createPopoverCssVar as ve } from "./cssVar.mjs";
13
- import { BODEN_PLATFORM_NAME_ENUM as d, BODEN_PLATFORM_ENUM as c } from "./interface.mjs";
14
- const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class: "platform-type-item-header" }, _e = { class: "title" }, be = { class: "description" }, Ne = ["src"], ke = { class: "platform-card_content" }, ye = { class: "title" }, Pe = { class: "description" }, Be = {
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
- }, Se = { class: "boden-platform-navigation-panel-mask" }, Ue = /* @__PURE__ */ J({
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(m, { expose: S, emit: C }) {
27
- const D = m, x = C, O = re(), { t: e } = ne(), v = N(null), n = N(!1), h = g(() => {
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: r = "light"
30
- } = O?.mergedThemeRef.value || {};
31
- return r !== "light";
32
- }), w = [
83
+ name: n = "light"
84
+ } = x?.mergedThemeRef.value || {};
85
+ return n !== "light";
86
+ }), R = [
33
87
  {
34
88
  key: "bric",
35
- title: e("boden.platformNavigation.BricPlatform"),
36
- description: e("boden.platformNavigation.BricPlatformDescription"),
89
+ title: o("boden.platformNavigation.BricPlatform"),
90
+ description: o("boden.platformNavigation.BricPlatformDescription"),
37
91
  svgIcon: "logo-base",
38
92
  children: [
39
93
  {
40
- id: c.VLA,
41
- key: d.ROBO,
42
- title: e("boden.platformNavigation.RoboPlatform"),
43
- description: e("boden.platformNavigation.RoboPlatformDescription"),
44
- imageSrc: de
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: c.PS,
48
- key: d.PS,
49
- title: e("boden.platformNavigation.PsPlatform"),
50
- description: e("boden.platformNavigation.PsPlatformDescription"),
51
- imageSrc: ce
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: e("boden.platformNavigation.BasePlatform"),
58
- description: e("boden.platformNavigation.BasePlatformDescription"),
111
+ title: o("boden.platformNavigation.BasePlatform"),
112
+ description: o("boden.platformNavigation.BasePlatformDescription"),
59
113
  svgIcon: "logo-base",
60
114
  children: [
61
115
  {
62
- id: c.BASE,
63
- key: d.ADS,
64
- title: e("boden.platformNavigation.AdsPlatform"),
65
- description: e("boden.platformNavigation.AdsPlatformDescription"),
66
- imageSrc: ae
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: c.BASE,
70
- key: d.STUDIO,
71
- title: e("boden.platformNavigation.StudioPlatform"),
72
- description: e("boden.platformNavigation.StudioPlatformDescription"),
73
- imageSrc: le
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: c.BASE,
77
- key: d.OMNI,
78
- title: e("boden.platformNavigation.OmniPlatform"),
79
- description: e("boden.platformNavigation.OmniPlatformDescription"),
80
- imageSrc: se
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: e("boden.platformNavigation.BlinkPlatform"),
87
- description: e("boden.platformNavigation.BlinkPlatformDescription"),
140
+ title: o("boden.platformNavigation.BlinkPlatform"),
141
+ description: o("boden.platformNavigation.BlinkPlatformDescription"),
88
142
  svgIcon: "logo-base",
89
143
  children: [
90
144
  {
91
- id: c.BLINK,
92
- key: d.BLINK,
93
- title: e("boden.platformNavigation.BlinkPlatformSpecific"),
94
- description: e("boden.platformNavigation.BlinkPlatformSpecificDescription"),
95
- imageSrc: me
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
- ], R = g(() => pe(h.value)), A = g(() => fe(h.value)), E = g(() => ve(h.value)), I = () => {
100
- D.triggerDisabled || b(!n.value);
101
- }, b = (r) => {
102
- n.value = r;
103
- }, T = (r, i) => {
104
- x("togglePlatform", r, i);
105
- }, M = (r) => {
106
- v.value && v.value.instRef && v.value.instRef.contains(r.target) || (n.value = !1);
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 S({
162
+ return C({
109
163
  updateShow: b
110
- }), (r, i) => {
111
- const L = Q("svg-icon"), z = q, V = j, F = H, U = $, G = K;
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
- p(ie, {
167
+ c(io, {
114
168
  ref_key: "triggerInstRef",
115
169
  ref: v,
116
- active: n.value,
117
- disabled: m.triggerDisabled,
170
+ active: r.value,
171
+ disabled: d.triggerDisabled,
118
172
  onClick: k(I, ["stop"])
119
173
  }, null, 8, ["active", "disabled"]),
120
- p(G, {
174
+ c(U, {
121
175
  "content-class": "boden-platform-navigation-panel-popover",
122
176
  trigger: "manual",
123
- show: n.value,
124
- "onUpdate:show": i[2] || (i[2] = (t) => n.value = t),
125
- style: W(E.value),
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: m.x,
130
- y: m.y,
183
+ x: d.x,
184
+ y: d.y,
131
185
  "theme-overrides": { padding: "0", space: "0", borderRadius: "3px" },
132
- onClickoutside: M
186
+ onClickoutside: F
133
187
  }, {
134
188
  default: s(() => [
135
- o("div", {
189
+ t("div", {
136
190
  class: "boden-platform-navigation-panel",
137
191
  onClick: i[1] || (i[1] = k(() => {
138
192
  }, ["stop"]))
139
193
  }, [
140
- o("div", ge, [
141
- o("div", null, f(X(e)("boden.platformNavigation.allProducts")), 1),
142
- p(L, {
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] = (t) => n.value = !1)
199
+ onClick: i[0] || (i[0] = (e) => r.value = !1)
146
200
  })
147
201
  ]),
148
- o("div", ue, [
149
- (l(), u(y, null, P(w, (t) => o("div", {
150
- key: t.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
- o("div", he, [
154
- o("div", _e, f(t.title), 1),
155
- o("div", be, f(t.description), 1)
207
+ t("div", _o, [
208
+ t("div", bo, f(e.title), 1),
209
+ t("div", No, f(e.description), 1)
156
210
  ]),
157
- t.children && t.children.length ? (l(), _(U, {
211
+ e.children && e.children.length ? (l(), _(G, {
158
212
  key: 0,
159
213
  "x-gap": "12",
160
- cols: t.children.length === 1 ? 1 : 3,
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(t.children, (a) => (l(), _(F, {
218
+ (l(!0), u(y, null, P(e.children, (a) => (l(), _(V, {
165
219
  key: a.key
166
220
  }, {
167
221
  default: s(() => [
168
- p(V, {
169
- class: Y(["platform-card", { "is-horizontal": t.children.length === 1 }]),
170
- "theme-overrides": t.children.length === 1 ? A.value : R.value
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
- o("img", {
227
+ t("img", {
174
228
  src: a.imageSrc,
175
229
  alt: ""
176
- }, null, 8, Ne)
230
+ }, null, 8, ko)
177
231
  ]),
178
232
  default: s(() => [
179
- o("div", ke, [
180
- o("div", ye, f(a.title), 1),
181
- o("div", Pe, f(a.description), 1)
233
+ t("div", yo, [
234
+ t("div", Po, f(a.title), 1),
235
+ t("div", Bo, f(a.description), 1)
182
236
  ]),
183
- m.platformCode?.includes(a.id) ? (l(), u("div", Be, [
184
- p(z, {
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: (De) => T(a.id, a.key)
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(), _(ee, { to: "body" }, [
212
- oe(o("div", Se, null, 512), [
213
- [te, n.value]
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
- Ue as default
275
+ Ut as default
222
276
  };
@@ -1,20 +1,5 @@
1
1
  import { PopoverProps } from 'naive-ui';
2
- export declare const enum BODEN_PLATFORM_ENUM {
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;
@@ -10,7 +10,7 @@ const c = {
10
10
  closeIconColor: o["color-text-1"],
11
11
  titleFontSizeMedium: "20px",
12
12
  borderRadius: "10px",
13
- colorModal: o["bg-color-3"]
13
+ colorModal: o["bg-color-5"]
14
14
  };
15
15
  export {
16
16
  c as CardThemeDark
@@ -11,7 +11,7 @@ const n = {
11
11
  iconColorInfo: o["color-primary-6"],
12
12
  iconColorSuccess: o["color-green-6"],
13
13
  iconColorWarning: o["color-origin-6"],
14
- color: r["bg-color-3"]
14
+ color: r["bg-color-5"]
15
15
  };
16
16
  export {
17
17
  n as DialogThemeDark
@@ -14,6 +14,7 @@ declare const darkToken: {
14
14
  'bg-color-2': string;
15
15
  'bg-color-3': string;
16
16
  'bg-color-4': string;
17
+ 'bg-color-5': string;
17
18
  'bg-color-9': string;
18
19
  'bg-color-white': string;
19
20
  'color-white-disabled-opacity': string;
@@ -16,6 +16,7 @@ const l = {
16
16
  "bg-color-2": "#111113",
17
17
  "bg-color-3": "#31343C",
18
18
  "bg-color-4": "#2E3034",
19
+ "bg-color-5": "#222327",
19
20
  "bg-color-9": "#1C1C20",
20
21
  "bg-color-white": "#FFFFFF",
21
22
  "color-white-disabled-opacity": "rgba(255, 255, 255, 0.3)",
@@ -9,6 +9,7 @@ declare const lightToken: {
9
9
  'bg-color-2': string;
10
10
  'bg-color-3': string;
11
11
  'bg-color-4': string;
12
+ 'bg-color-5': string;
12
13
  'fill-color-1': string;
13
14
  'fill-color-5': string;
14
15
  'border-color-1': string;
@@ -1,6 +1,6 @@
1
1
  import o from "../color/light.mjs";
2
2
  const l = {
3
- "color-text-1": "#FFFFFF",
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"],
@@ -10,6 +10,7 @@ const l = {
10
10
  "bg-color-2": "#FFFFFF",
11
11
  "bg-color-3": "#FFFFFF",
12
12
  "bg-color-4": "#E1E9F4",
13
+ "bg-color-5": "#F4F8FE",
13
14
  "fill-color-1": o["color-gray-2"],
14
15
  "fill-color-5": "#FAFAFA",
15
16
  "border-color-1": o["color-gray-3"],