base6-ui 2.0.34 → 2.0.35
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/_internal/icons/add-circle.d.ts +2 -0
- package/dist/_internal/icons/check.d.ts +2 -0
- package/dist/_internal/icons/close.d.ts +2 -0
- package/dist/_internal/icons/index.d.ts +12 -0
- package/dist/_internal/icons/lang.d.ts +2 -0
- package/dist/_internal/icons/logout.d.ts +2 -0
- package/dist/_internal/icons/right.d.ts +2 -0
- package/dist/_internal/icons/switch-user.d.ts +2 -0
- package/dist/_internal/icons/theme-dark.d.ts +2 -0
- package/dist/_internal/icons/theme-light.d.ts +2 -0
- package/dist/_internal/icons/user-center.d.ts +2 -0
- package/dist/_internal/icons/user-dark.d.ts +2 -0
- package/dist/_internal/icons/user-light.d.ts +2 -0
- package/{es/hooks/useNaiveConfigProvideContext.d.ts → dist/_mixins/use-boden-config-provide-context.d.ts} +1 -1
- package/dist/components/business-ui/index.d.ts +0 -0
- package/dist/components/business-ui/tenant-dialog/index.d.ts +1 -0
- package/dist/components/business-ui/tenant-dialog/join-tenant-dialog/index.d.ts +1 -0
- package/dist/components/business-ui/tenant-dialog/join-tenant-dialog/src/index.d.ts +46 -0
- package/dist/components/business-ui/tenant-dialog/join-tenant-dialog/src/interface.d.ts +16 -0
- package/dist/components/business-ui/tenant-dialog/join-tenant-dialog/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/business-ui/tenant-dialog/switch-tenant-dialog/index.d.ts +1 -0
- package/dist/components/business-ui/tenant-dialog/switch-tenant-dialog/src/index.d.ts +77 -0
- package/dist/components/business-ui/tenant-dialog/switch-tenant-dialog/src/interface.d.ts +32 -0
- package/dist/components/business-ui/tenant-dialog/switch-tenant-dialog/src/styles/index.cssr.d.ts +2 -0
- package/dist/components/business-ui/tenant-dialog/switch-tenant-dialog/src/tenant-item.d.ts +32 -0
- package/dist/components/cascader/src/cascader.d.ts +5 -5
- package/dist/components/global-header/index.vue.d.ts +4 -0
- package/dist/components/layout/aside-menu/aside-menu.d.ts +6 -6
- package/dist/components/select/src/select.d.ts +5 -5
- package/dist/components/slider/src/slider.vue.d.ts +1 -1
- package/dist/components/system-actions/index.vue.d.ts +4 -0
- package/dist/components/system-actions/interface.d.ts +16 -0
- package/dist/components/tabs/src/tabs.d.ts +2 -2
- package/dist/config/themes/index.d.ts +0 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.umd.js +8 -8
- package/dist/locale/lang/en-us.d.ts +2 -0
- package/es/_constant/base.mjs +4 -2
- package/es/_internal/icons/add-circle.d.ts +2 -0
- package/es/_internal/icons/add-circle.mjs +19 -0
- package/es/_internal/icons/check.d.ts +2 -0
- package/es/_internal/icons/check.mjs +19 -0
- package/es/_internal/icons/close.d.ts +2 -0
- package/es/_internal/icons/close.mjs +22 -0
- package/es/_internal/icons/index.d.ts +12 -0
- package/es/_internal/icons/lang.d.ts +2 -0
- package/es/_internal/icons/lang.mjs +19 -0
- package/es/_internal/icons/logout.d.ts +2 -0
- package/es/_internal/icons/logout.mjs +30 -0
- package/es/_internal/icons/right.d.ts +2 -0
- package/es/_internal/icons/{arrow-right.mjs → right.mjs} +6 -6
- package/es/_internal/icons/switch-user.d.ts +2 -0
- package/es/_internal/icons/switch-user.mjs +46 -0
- package/es/_internal/icons/theme-dark.d.ts +2 -0
- package/es/_internal/icons/theme-dark.mjs +23 -0
- package/es/_internal/icons/theme-light.d.ts +2 -0
- package/es/_internal/icons/theme-light.mjs +25 -0
- package/es/_internal/icons/user-center.d.ts +2 -0
- package/es/_internal/icons/user-center.mjs +26 -0
- package/es/_internal/icons/user-dark.d.ts +2 -0
- package/es/_internal/icons/user-dark.mjs +29 -0
- package/es/_internal/icons/user-light.d.ts +2 -0
- package/es/_internal/icons/user-light.mjs +27 -0
- package/{lib/hooks/useNaiveConfigProvideContext.d.ts → es/_mixins/use-boden-config-provide-context.d.ts} +1 -1
- package/es/_mixins/use-boden-config-provide-context.mjs +8 -0
- package/es/_virtual/virtual_svg-icons-register.mjs +1 -1
- package/es/components/business-ui/index.d.ts +0 -0
- package/es/components/business-ui/tenant-dialog/index.d.ts +1 -0
- package/es/components/business-ui/tenant-dialog/join-tenant-dialog/index.d.ts +1 -0
- package/es/components/business-ui/tenant-dialog/join-tenant-dialog/src/index.d.ts +46 -0
- package/es/components/business-ui/tenant-dialog/join-tenant-dialog/src/index.mjs +95 -0
- package/es/components/business-ui/tenant-dialog/join-tenant-dialog/src/interface.d.ts +16 -0
- package/es/components/business-ui/tenant-dialog/join-tenant-dialog/src/interface.mjs +16 -0
- package/es/components/business-ui/tenant-dialog/join-tenant-dialog/src/styles/index.cssr.d.ts +2 -0
- package/es/components/business-ui/tenant-dialog/join-tenant-dialog/src/styles/index.cssr.mjs +45 -0
- package/es/components/business-ui/tenant-dialog/switch-tenant-dialog/index.d.ts +1 -0
- package/es/components/business-ui/tenant-dialog/switch-tenant-dialog/src/index.d.ts +77 -0
- package/es/components/business-ui/tenant-dialog/switch-tenant-dialog/src/index.mjs +118 -0
- package/es/components/business-ui/tenant-dialog/switch-tenant-dialog/src/interface.d.ts +32 -0
- package/es/components/business-ui/tenant-dialog/switch-tenant-dialog/src/interface.mjs +29 -0
- package/es/components/business-ui/tenant-dialog/switch-tenant-dialog/src/styles/index.cssr.d.ts +2 -0
- package/es/components/business-ui/tenant-dialog/switch-tenant-dialog/src/styles/index.cssr.mjs +80 -0
- package/es/components/business-ui/tenant-dialog/switch-tenant-dialog/src/tenant-item.d.ts +32 -0
- package/es/components/business-ui/tenant-dialog/switch-tenant-dialog/src/tenant-item.mjs +46 -0
- package/es/components/cascader/src/cascader.d.ts +5 -5
- package/es/components/cascader/src/cascader.mjs +1 -1
- package/es/components/dialog/src/index.vue.mjs +30 -28
- package/es/components/global-header/index.vue.d.ts +4 -0
- package/es/components/global-header/index.vue.mjs +37 -95
- package/es/components/global-header/title.vue.mjs +2 -2
- package/es/components/global-header/title.vue2.mjs +1 -1
- package/es/components/input-number/src/input-number.vue.mjs +2 -2
- package/es/components/input-number/src/input-number.vue2.mjs +1 -1
- package/es/components/layout/aside/index.vue.mjs +2 -2
- package/es/components/layout/aside/index.vue2.mjs +1 -1
- package/es/components/layout/aside-menu/aside-menu.d.ts +6 -6
- package/es/components/layout/components/{WrapHeader.vue2.mjs → WrapHeader.vue.mjs} +1 -1
- package/es/components/layout/index.vue2.mjs +1 -1
- package/es/components/nav-icon/index.vue.mjs +3 -3
- package/es/components/nav-icon/index.vue2.mjs +1 -1
- package/es/components/platform-header-navigation/src/platform-header-navigation.mjs +10 -10
- package/es/components/platform-navigation/index.vue.mjs +2 -2
- package/es/components/platform-navigation/index.vue2.mjs +60 -59
- package/es/components/progress/src/progress.mjs +2 -2
- package/es/components/radio/src/radio.vue.mjs +2 -2
- package/es/components/radio/src/radio.vue2.mjs +1 -1
- package/es/components/select/src/select.d.ts +5 -5
- package/es/components/select/src/select.mjs +1 -1
- package/es/components/shape-button/src/shape-button.mjs +1 -1
- package/es/components/slider/src/slider.vue.d.ts +1 -1
- package/es/components/slider/src/slider.vue.mjs +1 -1
- package/es/components/slider/src/slider.vue2.mjs +1 -1
- package/es/components/switch/src/switch.vue.mjs +2 -2
- package/es/components/switch/src/switch.vue2.mjs +2 -2
- package/es/components/system-actions/index.vue.d.ts +4 -0
- package/es/components/system-actions/index.vue.mjs +2 -2
- package/es/components/system-actions/index.vue2.mjs +129 -57
- package/es/components/system-actions/interface.d.ts +16 -0
- package/es/components/system-actions/interface.mjs +4 -0
- package/es/components/tabs/src/tabs.d.ts +2 -2
- package/es/components/tabs/src/tabs.mjs +1 -1
- package/es/config/themes/index.d.ts +0 -1
- package/es/index.css +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +118 -116
- package/es/locale/lang/en-us.d.ts +2 -0
- package/es/locale/lang/en-us.mjs +3 -1
- package/es/locale/lang/zh-cn.mjs +3 -1
- package/es/node_modules/.pnpm/naive-ui@2.43.1_vue@3.5.22_typescript@5.7.2_/node_modules/naive-ui/es/_utils/vue/call.mjs +9 -0
- package/lib/_constant/base.js +1 -1
- package/lib/_internal/icons/add-circle.d.ts +2 -0
- package/lib/_internal/icons/add-circle.js +1 -0
- package/lib/_internal/icons/check.d.ts +2 -0
- package/lib/_internal/icons/check.js +1 -0
- package/lib/_internal/icons/close.d.ts +2 -0
- package/lib/_internal/icons/close.js +1 -0
- package/lib/_internal/icons/index.d.ts +12 -0
- package/lib/_internal/icons/lang.d.ts +2 -0
- package/lib/_internal/icons/lang.js +1 -0
- package/lib/_internal/icons/logout.d.ts +2 -0
- package/lib/_internal/icons/logout.js +1 -0
- package/lib/_internal/icons/right.d.ts +2 -0
- package/lib/_internal/icons/right.js +1 -0
- package/lib/_internal/icons/switch-user.d.ts +2 -0
- package/lib/_internal/icons/switch-user.js +1 -0
- package/lib/_internal/icons/theme-dark.d.ts +2 -0
- package/lib/_internal/icons/theme-dark.js +1 -0
- package/lib/_internal/icons/theme-light.d.ts +2 -0
- package/lib/_internal/icons/theme-light.js +1 -0
- package/lib/_internal/icons/user-center.d.ts +2 -0
- package/lib/_internal/icons/user-center.js +1 -0
- package/lib/_internal/icons/user-dark.d.ts +2 -0
- package/lib/_internal/icons/user-dark.js +1 -0
- package/lib/_internal/icons/user-light.d.ts +2 -0
- package/lib/_internal/icons/user-light.js +1 -0
- package/{dist/hooks/useNaiveConfigProvideContext.d.ts → lib/_mixins/use-boden-config-provide-context.d.ts} +1 -1
- package/lib/_mixins/use-boden-config-provide-context.js +1 -0
- package/lib/_virtual/virtual_svg-icons-register.js +1 -1
- package/lib/components/business-ui/index.d.ts +0 -0
- package/lib/components/business-ui/tenant-dialog/index.d.ts +1 -0
- package/lib/components/business-ui/tenant-dialog/join-tenant-dialog/index.d.ts +1 -0
- package/lib/components/business-ui/tenant-dialog/join-tenant-dialog/src/index.d.ts +46 -0
- package/lib/components/business-ui/tenant-dialog/join-tenant-dialog/src/index.js +1 -0
- package/lib/components/business-ui/tenant-dialog/join-tenant-dialog/src/interface.d.ts +16 -0
- package/lib/components/business-ui/tenant-dialog/join-tenant-dialog/src/interface.js +1 -0
- package/lib/components/business-ui/tenant-dialog/join-tenant-dialog/src/styles/index.cssr.d.ts +2 -0
- package/lib/components/business-ui/tenant-dialog/join-tenant-dialog/src/styles/index.cssr.js +1 -0
- package/lib/components/business-ui/tenant-dialog/switch-tenant-dialog/index.d.ts +1 -0
- package/lib/components/business-ui/tenant-dialog/switch-tenant-dialog/src/index.d.ts +77 -0
- package/lib/components/business-ui/tenant-dialog/switch-tenant-dialog/src/index.js +1 -0
- package/lib/components/business-ui/tenant-dialog/switch-tenant-dialog/src/interface.d.ts +32 -0
- package/lib/components/business-ui/tenant-dialog/switch-tenant-dialog/src/interface.js +1 -0
- package/lib/components/business-ui/tenant-dialog/switch-tenant-dialog/src/styles/index.cssr.d.ts +2 -0
- package/lib/components/business-ui/tenant-dialog/switch-tenant-dialog/src/styles/index.cssr.js +1 -0
- package/lib/components/business-ui/tenant-dialog/switch-tenant-dialog/src/tenant-item.d.ts +32 -0
- package/lib/components/business-ui/tenant-dialog/switch-tenant-dialog/src/tenant-item.js +1 -0
- package/lib/components/cascader/src/cascader.d.ts +5 -5
- package/lib/components/cascader/src/cascader.js +1 -1
- package/lib/components/dialog/src/index.vue.js +1 -1
- package/lib/components/global-header/index.vue.d.ts +4 -0
- package/lib/components/global-header/index.vue.js +1 -1
- package/lib/components/global-header/title.vue.js +1 -1
- package/lib/components/global-header/title.vue2.js +1 -1
- package/lib/components/input-number/src/input-number.vue.js +1 -1
- package/lib/components/input-number/src/input-number.vue2.js +1 -1
- package/lib/components/layout/aside/index.vue.js +1 -1
- package/lib/components/layout/aside/index.vue2.js +1 -1
- package/lib/components/layout/aside-menu/aside-menu.d.ts +6 -6
- package/lib/components/layout/components/WrapHeader.vue.js +1 -0
- package/lib/components/layout/index.vue2.js +1 -1
- package/lib/components/nav-icon/index.vue.js +1 -1
- package/lib/components/nav-icon/index.vue2.js +1 -1
- package/lib/components/platform-header-navigation/src/platform-header-navigation.js +1 -1
- package/lib/components/platform-navigation/index.vue.js +1 -1
- package/lib/components/platform-navigation/index.vue2.js +1 -1
- package/lib/components/progress/src/progress.js +1 -1
- package/lib/components/radio/src/radio.vue.js +1 -1
- package/lib/components/radio/src/radio.vue2.js +1 -1
- package/lib/components/select/src/select.d.ts +5 -5
- package/lib/components/select/src/select.js +1 -1
- package/lib/components/shape-button/src/shape-button.js +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.js +1 -1
- package/lib/components/slider/src/slider.vue2.js +1 -1
- package/lib/components/switch/src/switch.vue.js +1 -1
- package/lib/components/switch/src/switch.vue2.js +1 -1
- package/lib/components/system-actions/index.vue.d.ts +4 -0
- package/lib/components/system-actions/index.vue.js +1 -1
- package/lib/components/system-actions/index.vue2.js +1 -1
- package/lib/components/system-actions/interface.d.ts +16 -0
- package/lib/components/system-actions/interface.js +1 -0
- package/lib/components/tabs/src/tabs.d.ts +2 -2
- package/lib/components/tabs/src/tabs.js +1 -1
- package/lib/config/themes/index.d.ts +0 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/locale/lang/en-us.d.ts +2 -0
- package/lib/locale/lang/en-us.js +1 -1
- package/lib/locale/lang/zh-cn.js +1 -1
- package/lib/node_modules/.pnpm/naive-ui@2.43.1_vue@3.5.22_typescript@5.7.2_/node_modules/naive-ui/es/_utils/vue/call.js +1 -0
- package/package.json +1 -1
- package/dist/hooks/useBoolean.d.ts +0 -7
- package/dist/hooks/useContext.d.ts +0 -6
- package/es/config/themes/index.mjs +0 -67
- package/es/hooks/useBoolean.d.ts +0 -7
- package/es/hooks/useContext.d.ts +0 -6
- package/es/hooks/useNaiveConfigProvideContext.mjs +0 -8
- package/lib/_internal/icons/arrow-right.js +0 -1
- package/lib/components/layout/components/WrapHeader.vue2.js +0 -1
- package/lib/config/themes/index.js +0 -1
- package/lib/hooks/useBoolean.d.ts +0 -7
- package/lib/hooks/useContext.d.ts +0 -6
- package/lib/hooks/useNaiveConfigProvideContext.js +0 -1
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { NPopover as
|
|
2
|
-
import { defineComponent as
|
|
1
|
+
import { NPopover as $, NIcon as H, NGrid as j, NGi as q, NCard as J, NButton as Q } from "naive-ui";
|
|
2
|
+
import { defineComponent as W, ref as N, computed as g, createElementBlock as u, openBlock as l, createVNode as p, createBlock as _, withModifiers as k, normalizeStyle as X, withCtx as s, createElementVNode as o, toDisplayString as f, unref as y, Fragment as P, renderList as B, createCommentVNode as C, normalizeClass as Y, createTextVNode as Z, Teleport as ee, withDirectives as oe, vShow as te } from "vue";
|
|
3
3
|
import { useLocale as ie } from "../../_mixins/use-locale.mjs";
|
|
4
4
|
import ne from "../nav-icon/index.vue.mjs";
|
|
5
|
-
import re from "../../
|
|
6
|
-
import ae from "../../
|
|
7
|
-
import le from "../../assets/cover/base-
|
|
8
|
-
import se from "../../assets/cover/base-
|
|
9
|
-
import de from "../../assets/cover/
|
|
10
|
-
import ce from "../../assets/cover/
|
|
11
|
-
import me from "../../assets/cover/
|
|
12
|
-
import
|
|
5
|
+
import re from "../../_internal/icons/close.mjs";
|
|
6
|
+
import { useNaiveConfigProvideContext as ae } from "../../_mixins/use-boden-config-provide-context.mjs";
|
|
7
|
+
import le from "../../assets/cover/base-ads.png.mjs";
|
|
8
|
+
import se from "../../assets/cover/base-studio.png.mjs";
|
|
9
|
+
import de from "../../assets/cover/base-multimodal.png.mjs";
|
|
10
|
+
import ce from "../../assets/cover/robo.png.mjs";
|
|
11
|
+
import me from "../../assets/cover/ps.png.mjs";
|
|
12
|
+
import pe from "../../assets/cover/blink.png.mjs";
|
|
13
|
+
import { createCardThemeOverrides as fe, createHorizontalCardThemeOverrides as ve, createPopoverCssVar as ge } from "./cssVar.mjs";
|
|
13
14
|
import "../platform-header-navigation/src/styles/index.cssr.mjs";
|
|
14
15
|
import { BODEN_PLATFORM_NAME_ENUM as d, BODEN_PLATFORM_ENUM as c } from "../platform-header-navigation/src/constant.mjs";
|
|
15
16
|
import "../../_styles/vars/colors/dark.mjs";
|
|
16
17
|
import "../../_styles/vars/colors/light.mjs";
|
|
17
|
-
const
|
|
18
|
+
const ue = { class: "header" }, he = { class: "content-wrapper" }, _e = { class: "platform-type-item-header" }, be = { class: "title" }, Ne = { class: "description" }, ke = ["src"], ye = { class: "platform-card_content" }, Pe = { class: "title" }, Be = { class: "description" }, Ce = {
|
|
18
19
|
key: 0,
|
|
19
20
|
class: "navigation"
|
|
20
|
-
},
|
|
21
|
+
}, Se = { class: "boden-platform-navigation-panel-mask" }, je = /* @__PURE__ */ W({
|
|
21
22
|
__name: "index",
|
|
22
23
|
props: {
|
|
23
24
|
platformCode: { default: () => [] },
|
|
@@ -26,13 +27,13 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
26
27
|
y: { default: 0 }
|
|
27
28
|
},
|
|
28
29
|
emits: ["togglePlatform"],
|
|
29
|
-
setup(m, { expose:
|
|
30
|
-
const
|
|
30
|
+
setup(m, { expose: S, emit: D }) {
|
|
31
|
+
const O = m, x = D, R = ae(), { t: e } = ie(), v = N(null), n = N(!1), h = g(() => {
|
|
31
32
|
const {
|
|
32
33
|
name: r = "light"
|
|
33
|
-
} =
|
|
34
|
+
} = R?.mergedThemeRef.value || {};
|
|
34
35
|
return r !== "light";
|
|
35
|
-
}),
|
|
36
|
+
}), w = [
|
|
36
37
|
{
|
|
37
38
|
key: "bric",
|
|
38
39
|
title: e("boden.platformNavigation.BricPlatform"),
|
|
@@ -44,14 +45,14 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
44
45
|
key: d.ROBO,
|
|
45
46
|
title: e("boden.platformNavigation.RoboPlatform"),
|
|
46
47
|
description: e("boden.platformNavigation.RoboPlatformDescription"),
|
|
47
|
-
imageSrc:
|
|
48
|
+
imageSrc: ce
|
|
48
49
|
},
|
|
49
50
|
{
|
|
50
51
|
id: c.FORGE,
|
|
51
52
|
key: d.FORGE,
|
|
52
53
|
title: e("boden.platformNavigation.ForgePlatform"),
|
|
53
54
|
description: e("boden.platformNavigation.ForgePlatformDescription"),
|
|
54
|
-
imageSrc:
|
|
55
|
+
imageSrc: me
|
|
55
56
|
}
|
|
56
57
|
]
|
|
57
58
|
},
|
|
@@ -66,21 +67,21 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
66
67
|
key: d.ADS,
|
|
67
68
|
title: e("boden.platformNavigation.AdsPlatform"),
|
|
68
69
|
description: e("boden.platformNavigation.AdsPlatformDescription"),
|
|
69
|
-
imageSrc:
|
|
70
|
+
imageSrc: le
|
|
70
71
|
},
|
|
71
72
|
{
|
|
72
73
|
id: c.BASE,
|
|
73
74
|
key: d.STUDIO,
|
|
74
75
|
title: e("boden.platformNavigation.StudioPlatform"),
|
|
75
76
|
description: e("boden.platformNavigation.StudioPlatformDescription"),
|
|
76
|
-
imageSrc:
|
|
77
|
+
imageSrc: se
|
|
77
78
|
},
|
|
78
79
|
{
|
|
79
80
|
id: c.BASE,
|
|
80
81
|
key: d.OMNI,
|
|
81
82
|
title: e("boden.platformNavigation.OmniPlatform"),
|
|
82
83
|
description: e("boden.platformNavigation.OmniPlatformDescription"),
|
|
83
|
-
imageSrc:
|
|
84
|
+
imageSrc: de
|
|
84
85
|
}
|
|
85
86
|
]
|
|
86
87
|
},
|
|
@@ -95,44 +96,44 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
95
96
|
key: d.BLINK,
|
|
96
97
|
title: e("boden.platformNavigation.BlinkPlatformSpecific"),
|
|
97
98
|
description: e("boden.platformNavigation.BlinkPlatformSpecificDescription"),
|
|
98
|
-
imageSrc:
|
|
99
|
+
imageSrc: pe
|
|
99
100
|
}
|
|
100
101
|
]
|
|
101
102
|
}
|
|
102
|
-
],
|
|
103
|
-
|
|
103
|
+
], E = g(() => fe(h.value)), I = g(() => ve(h.value)), A = g(() => ge(h.value)), T = () => {
|
|
104
|
+
O.triggerDisabled || b(!n.value);
|
|
104
105
|
}, b = (r) => {
|
|
105
106
|
n.value = r;
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
},
|
|
107
|
+
}, F = (r, i) => {
|
|
108
|
+
x("togglePlatform", r, i);
|
|
109
|
+
}, M = (r) => {
|
|
109
110
|
v.value && v.value.instRef && v.value.instRef.contains(r.target) || (n.value = !1);
|
|
110
111
|
};
|
|
111
|
-
return
|
|
112
|
+
return S({
|
|
112
113
|
updateShow: b
|
|
113
114
|
}), (r, i) => {
|
|
114
|
-
const
|
|
115
|
+
const z = H, L = Q, V = J, G = q, U = j, K = $;
|
|
115
116
|
return l(), u("div", null, [
|
|
116
117
|
p(ne, {
|
|
117
118
|
ref_key: "triggerInstRef",
|
|
118
119
|
ref: v,
|
|
119
120
|
active: n.value,
|
|
120
121
|
disabled: m.triggerDisabled,
|
|
121
|
-
onClick: k(
|
|
122
|
+
onClick: k(T, ["stop"])
|
|
122
123
|
}, null, 8, ["active", "disabled"]),
|
|
123
|
-
p(
|
|
124
|
+
p(K, {
|
|
124
125
|
"content-class": "boden-platform-navigation-panel-popover",
|
|
125
126
|
trigger: "manual",
|
|
126
127
|
show: n.value,
|
|
127
128
|
"onUpdate:show": i[2] || (i[2] = (t) => n.value = t),
|
|
128
|
-
style:
|
|
129
|
+
style: X(A.value),
|
|
129
130
|
"show-arrow": !1,
|
|
130
131
|
width: 1058,
|
|
131
132
|
scrollable: "",
|
|
132
133
|
x: m.x,
|
|
133
134
|
y: m.y,
|
|
134
135
|
"theme-overrides": { padding: "0", space: "0", borderRadius: "3px" },
|
|
135
|
-
onClickoutside:
|
|
136
|
+
onClickoutside: M
|
|
136
137
|
}, {
|
|
137
138
|
default: s(() => [
|
|
138
139
|
o("div", {
|
|
@@ -140,62 +141,62 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
140
141
|
onClick: i[1] || (i[1] = k(() => {
|
|
141
142
|
}, ["stop"]))
|
|
142
143
|
}, [
|
|
143
|
-
o("div",
|
|
144
|
-
o("div", null, f(
|
|
145
|
-
p(
|
|
146
|
-
|
|
147
|
-
|
|
144
|
+
o("div", ue, [
|
|
145
|
+
o("div", null, f(y(e)("boden.platformNavigation.allProducts")), 1),
|
|
146
|
+
p(z, {
|
|
147
|
+
size: 16,
|
|
148
|
+
component: y(re),
|
|
148
149
|
onClick: i[0] || (i[0] = (t) => n.value = !1)
|
|
149
|
-
})
|
|
150
|
+
}, null, 8, ["component"])
|
|
150
151
|
]),
|
|
151
|
-
o("div",
|
|
152
|
-
(l(), u(
|
|
152
|
+
o("div", he, [
|
|
153
|
+
(l(), u(P, null, B(w, (t) => o("div", {
|
|
153
154
|
key: t.key,
|
|
154
155
|
class: "platform-type-item"
|
|
155
156
|
}, [
|
|
156
|
-
o("div",
|
|
157
|
-
o("div",
|
|
158
|
-
o("div",
|
|
157
|
+
o("div", _e, [
|
|
158
|
+
o("div", be, f(t.title), 1),
|
|
159
|
+
o("div", Ne, f(t.description), 1)
|
|
159
160
|
]),
|
|
160
|
-
t.children && t.children.length ? (l(), _(
|
|
161
|
+
t.children && t.children.length ? (l(), _(U, {
|
|
161
162
|
key: 0,
|
|
162
163
|
"x-gap": "12",
|
|
163
164
|
cols: t.children.length === 1 ? 1 : 3,
|
|
164
165
|
style: { "margin-top": "12px" }
|
|
165
166
|
}, {
|
|
166
167
|
default: s(() => [
|
|
167
|
-
(l(!0), u(
|
|
168
|
+
(l(!0), u(P, null, B(t.children, (a) => (l(), _(G, {
|
|
168
169
|
key: a.key
|
|
169
170
|
}, {
|
|
170
171
|
default: s(() => [
|
|
171
|
-
p(
|
|
172
|
+
p(V, {
|
|
172
173
|
class: Y(["platform-card", { "is-horizontal": t.children.length === 1 }]),
|
|
173
|
-
"theme-overrides": t.children.length === 1 ?
|
|
174
|
+
"theme-overrides": t.children.length === 1 ? I.value : E.value
|
|
174
175
|
}, {
|
|
175
176
|
cover: s(() => [
|
|
176
177
|
o("img", {
|
|
177
178
|
src: a.imageSrc,
|
|
178
179
|
alt: ""
|
|
179
|
-
}, null, 8,
|
|
180
|
+
}, null, 8, ke)
|
|
180
181
|
]),
|
|
181
182
|
default: s(() => [
|
|
182
|
-
o("div",
|
|
183
|
-
o("div",
|
|
184
|
-
o("div",
|
|
183
|
+
o("div", ye, [
|
|
184
|
+
o("div", Pe, f(a.title), 1),
|
|
185
|
+
o("div", Be, f(a.description), 1)
|
|
185
186
|
]),
|
|
186
|
-
m.platformCode?.includes(a.id) ? (l(), u("div",
|
|
187
|
-
p(
|
|
187
|
+
m.platformCode?.includes(a.id) ? (l(), u("div", Ce, [
|
|
188
|
+
p(L, {
|
|
188
189
|
round: "",
|
|
189
190
|
size: "tiny",
|
|
190
191
|
type: "primary",
|
|
191
|
-
onClick: (
|
|
192
|
+
onClick: (Oe) => F(a.id, a.key)
|
|
192
193
|
}, {
|
|
193
194
|
default: s(() => [...i[3] || (i[3] = [
|
|
194
195
|
Z("开始使用", -1)
|
|
195
196
|
])]),
|
|
196
197
|
_: 1
|
|
197
198
|
}, 8, ["onClick"])
|
|
198
|
-
])) :
|
|
199
|
+
])) : C("", !0)
|
|
199
200
|
]),
|
|
200
201
|
_: 2
|
|
201
202
|
}, 1032, ["class", "theme-overrides"])
|
|
@@ -204,7 +205,7 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
204
205
|
}, 1024))), 128))
|
|
205
206
|
]),
|
|
206
207
|
_: 2
|
|
207
|
-
}, 1032, ["cols"])) :
|
|
208
|
+
}, 1032, ["cols"])) : C("", !0)
|
|
208
209
|
])), 64))
|
|
209
210
|
])
|
|
210
211
|
])
|
|
@@ -212,7 +213,7 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
212
213
|
_: 1
|
|
213
214
|
}, 8, ["show", "style", "x", "y"]),
|
|
214
215
|
(l(), _(ee, { to: "body" }, [
|
|
215
|
-
oe(o("div",
|
|
216
|
+
oe(o("div", Se, null, 512), [
|
|
216
217
|
[te, n.value]
|
|
217
218
|
])
|
|
218
219
|
]))
|
|
@@ -221,5 +222,5 @@ const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class:
|
|
|
221
222
|
}
|
|
222
223
|
});
|
|
223
224
|
export {
|
|
224
|
-
|
|
225
|
+
je as default
|
|
225
226
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as a, computed as c, h as e } from "vue";
|
|
2
2
|
import { progressProps as l, NProgress as p } from "naive-ui";
|
|
3
3
|
import { SvgIcon as f } from "../../../node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.mjs";
|
|
4
|
-
import g from "../../../
|
|
4
|
+
import { useNaiveConfigProvideContext as g } from "../../../_mixins/use-boden-config-provide-context.mjs";
|
|
5
5
|
import { getStyleCssVar as m } from "./cssVar.mjs";
|
|
6
6
|
const u = {
|
|
7
7
|
...l,
|
|
@@ -14,7 +14,7 @@ const u = {
|
|
|
14
14
|
name: "BodenProgress",
|
|
15
15
|
props: u,
|
|
16
16
|
setup(r, { slots: t }) {
|
|
17
|
-
const o = "boden-progress-", { mergedThemeOverridesRef: s } = g(), n = c(() => m(r.circleSize
|
|
17
|
+
const o = "boden-progress-", { mergedThemeOverridesRef: s } = g(), n = c(() => m(r.circleSize, s?.value?.Progress)), d = () => e(
|
|
18
18
|
"div",
|
|
19
19
|
{
|
|
20
20
|
class: `${o}dashboard-content`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./radio.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f8c2fc45"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NRadio as n } from "naive-ui";
|
|
2
2
|
import { defineComponent as l, computed as m, createBlock as d, openBlock as i, mergeProps as c, createSlots as f, renderList as u, withCtx as p, renderSlot as v } from "vue";
|
|
3
|
-
import y from "../../../
|
|
3
|
+
import { useNaiveConfigProvideContext as y } from "../../../_mixins/use-boden-config-provide-context.mjs";
|
|
4
4
|
import { getStyleCssVar as C } from "./cssVar.mjs";
|
|
5
5
|
const B = /* @__PURE__ */ l({
|
|
6
6
|
name: "BodenRadio",
|
|
@@ -1179,19 +1179,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1179
1179
|
disabled: boolean | undefined;
|
|
1180
1180
|
keyboard: boolean;
|
|
1181
1181
|
options: import('naive-ui/es/select/src/interface').SelectMixedOption[];
|
|
1182
|
+
showArrow: boolean;
|
|
1183
|
+
labelField: string;
|
|
1184
|
+
childrenField: string;
|
|
1185
|
+
show: boolean | undefined;
|
|
1186
|
+
displayDirective: "show" | "if";
|
|
1182
1187
|
defaultValue: import('naive-ui/es/select/src/interface').Value | null;
|
|
1183
1188
|
multiple: boolean;
|
|
1184
1189
|
filterable: boolean;
|
|
1185
1190
|
clearable: boolean;
|
|
1186
1191
|
clearFilterAfterSelect: boolean;
|
|
1187
1192
|
remote: boolean;
|
|
1188
|
-
show: boolean | undefined;
|
|
1189
1193
|
virtualScroll: boolean;
|
|
1190
1194
|
valueField: string;
|
|
1191
|
-
labelField: string;
|
|
1192
|
-
childrenField: string;
|
|
1193
|
-
showArrow: boolean;
|
|
1194
|
-
displayDirective: "show" | "if";
|
|
1195
1195
|
widthMode: string;
|
|
1196
1196
|
fallbackOption: false | import('naive-ui/es/select/src/interface').SelectFallbackOption | undefined;
|
|
1197
1197
|
consistentMenuWidth: boolean;
|
|
@@ -2,7 +2,7 @@ import { defineComponent as f, createVNode as b, mergeProps as g, computed as t,
|
|
|
2
2
|
import { NSelect as p, NCheckbox as h, NTag as T } from "naive-ui";
|
|
3
3
|
import { bodenSelectProps as C } from "./interface.mjs";
|
|
4
4
|
import { getSelectCssVar as v } from "./cssVar.mjs";
|
|
5
|
-
import L from "../../../
|
|
5
|
+
import { useNaiveConfigProvideContext as L } from "../../../_mixins/use-boden-config-provide-context.mjs";
|
|
6
6
|
/* empty css */
|
|
7
7
|
const N = "BodenSelect", x = /* @__PURE__ */ f({
|
|
8
8
|
name: N,
|
|
@@ -3,7 +3,7 @@ import { NButton as c } from "naive-ui";
|
|
|
3
3
|
import { bodenShapeButtonProps as p, bodenShapeButtonExtendProps as h } from "./interface.mjs";
|
|
4
4
|
import { getButtonThemeOverrides as l } from "./cssVar.mjs";
|
|
5
5
|
import { useOmitProps as f } from "../../../_utils/composable/use-omit-props.mjs";
|
|
6
|
-
import g from "../../../
|
|
6
|
+
import { useNaiveConfigProvideContext as g } from "../../../_mixins/use-boden-config-provide-context.mjs";
|
|
7
7
|
const v = "BodenShapeButton", $ = /* @__PURE__ */ u({
|
|
8
8
|
name: v,
|
|
9
9
|
props: p,
|
|
@@ -20,8 +20,8 @@ declare const _default: import('vue').DefineComponent<PropsType, {}, {}, {}, {},
|
|
|
20
20
|
style: CSSProperties;
|
|
21
21
|
max: number;
|
|
22
22
|
min: number;
|
|
23
|
-
step: number | "mark";
|
|
24
23
|
range: boolean;
|
|
24
|
+
step: number | "mark";
|
|
25
25
|
showInput: boolean;
|
|
26
26
|
showExtremeValueText: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./slider.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-dd5e4eb1"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NSlider as z, NInputNumber as w } from "naive-ui";
|
|
2
2
|
import { defineComponent as b, shallowRef as B, computed as f, watch as S, createElementBlock as u, openBlock as i, normalizeStyle as k, createElementVNode as o, createCommentVNode as r, createVNode as d, mergeProps as N, toDisplayString as c, createBlock as C, Fragment as E } from "vue";
|
|
3
|
-
import I from "../../../
|
|
3
|
+
import { useNaiveConfigProvideContext as I } from "../../../_mixins/use-boden-config-provide-context.mjs";
|
|
4
4
|
const T = { class: "slider-content" }, U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "extreme-value-text"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./switch.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-848dc100"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NSwitch as a } from "naive-ui";
|
|
2
2
|
import { defineComponent as i, computed as c, createBlock as l, openBlock as m, mergeProps as d, createSlots as f, renderList as u, withCtx as p, renderSlot as h } from "vue";
|
|
3
|
-
import v from "../../../
|
|
3
|
+
import { useNaiveConfigProvideContext as v } from "../../../_mixins/use-boden-config-provide-context.mjs";
|
|
4
4
|
import { getStyleCssVar as w } from "./cssVar.mjs";
|
|
5
5
|
const $ = /* @__PURE__ */ i({
|
|
6
6
|
name: "BodenSwitch",
|
|
@@ -10,7 +10,7 @@ const $ = /* @__PURE__ */ i({
|
|
|
10
10
|
style: { default: () => ({}) }
|
|
11
11
|
},
|
|
12
12
|
setup(t) {
|
|
13
|
-
const s = v(), r = c(() => w(s?.mergedThemeOverridesRef.value
|
|
13
|
+
const s = v(), r = c(() => w(s?.mergedThemeOverridesRef.value?.Switch));
|
|
14
14
|
return (e, S) => {
|
|
15
15
|
const n = a;
|
|
16
16
|
return m(), l(n, d(e.$attrs, {
|
|
@@ -3,10 +3,14 @@ declare const _default: import('vue').DefineComponent<BodenSystemActionsProps, {
|
|
|
3
3
|
toggleSystemTheme: (event: MouseEvent) => any;
|
|
4
4
|
toggleSystemLang: () => any;
|
|
5
5
|
toggleUserItem: (key: string | number, option: import('naive-ui').MenuOption) => any;
|
|
6
|
+
toggleTenantChange: (id: string | number, successCb: () => void) => any;
|
|
7
|
+
toggleTenantJoin: (code: string, successCb: () => void) => any;
|
|
6
8
|
}, string, import('vue').PublicProps, Readonly<BodenSystemActionsProps> & Readonly<{
|
|
7
9
|
onToggleSystemTheme?: ((event: MouseEvent) => any) | undefined;
|
|
8
10
|
onToggleSystemLang?: (() => any) | undefined;
|
|
9
11
|
onToggleUserItem?: ((key: string | number, option: import('naive-ui').MenuOption) => any) | undefined;
|
|
12
|
+
onToggleTenantChange?: ((id: string | number, successCb: () => void) => any) | undefined;
|
|
13
|
+
onToggleTenantJoin?: ((code: string, successCb: () => void) => any) | undefined;
|
|
10
14
|
}>, {
|
|
11
15
|
mode: "vertical" | "horizontal";
|
|
12
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b5dfc239"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|