base6-ui 2.0.17 → 2.0.18
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/index.umd.js +1 -1
- package/dist/locale/lang/en-us.d.ts +4 -0
- package/es/components/dialog/index.vue.mjs +35 -34
- package/es/components/dialog/options.mjs +0 -2
- package/es/components/global-header/index.vue.mjs +1 -1
- package/es/components/layout/components/{WrapHeader.vue2.mjs → WrapHeader.vue.mjs} +1 -1
- package/es/components/layout/index.vue2.mjs +1 -1
- package/es/locale/lang/en-us.d.ts +4 -0
- package/es/locale/lang/en-us.mjs +4 -0
- package/es/locale/lang/zh-cn.mjs +4 -0
- package/lib/components/dialog/index.vue.js +1 -1
- package/lib/components/dialog/options.js +1 -1
- package/lib/components/global-header/index.vue.js +1 -1
- package/lib/components/layout/components/WrapHeader.vue.js +1 -0
- package/lib/components/layout/index.vue2.js +1 -1
- package/lib/locale/lang/en-us.d.ts +4 -0
- package/lib/locale/lang/en-us.js +1 -1
- package/lib/locale/lang/zh-cn.js +1 -1
- package/package.json +1 -1
- package/lib/components/layout/components/WrapHeader.vue2.js +0 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { NModal as
|
|
2
|
-
import { defineComponent as
|
|
1
|
+
import { NModal as S, NCard as I } from "naive-ui";
|
|
2
|
+
import { defineComponent as P, mergeDefaults as E, computed as l, resolveComponent as O, createBlock as y, openBlock as c, mergeProps as h, withCtx as t, createVNode as d, createSlots as H, renderSlot as a, createElementBlock as C, toDisplayString as L, normalizeClass as p, unref as i } from "vue";
|
|
3
3
|
import { defaultProps as N } from "./options.mjs";
|
|
4
|
-
import
|
|
4
|
+
import b from "../button/button.mjs";
|
|
5
5
|
import "../button/interface.mjs";
|
|
6
|
-
|
|
6
|
+
import { useLocale as R } from "../../hooks/useLocale.mjs";
|
|
7
|
+
const D = {
|
|
7
8
|
key: 1,
|
|
8
9
|
style: { margin: "0 auto" }
|
|
9
|
-
},
|
|
10
|
+
}, X = /* @__PURE__ */ P({
|
|
10
11
|
__name: "index",
|
|
11
|
-
props: /* @__PURE__ */
|
|
12
|
+
props: /* @__PURE__ */ E({
|
|
12
13
|
visible: { type: Boolean },
|
|
13
14
|
width: {},
|
|
14
15
|
top: {},
|
|
@@ -39,42 +40,42 @@ const R = {
|
|
|
39
40
|
btnSize: {}
|
|
40
41
|
}, N),
|
|
41
42
|
emits: ["update:visible", "cancel", "confirm"],
|
|
42
|
-
setup(e, { emit:
|
|
43
|
-
const
|
|
43
|
+
setup(e, { emit: g }) {
|
|
44
|
+
const { t: m } = R(), r = g, n = e, k = l(() => ({
|
|
44
45
|
width: `${n.width}`,
|
|
45
46
|
position: "fixed",
|
|
46
47
|
left: "50%",
|
|
47
48
|
top: `${n.top}`,
|
|
48
49
|
transform: "translateX(-50%)"
|
|
49
|
-
})),
|
|
50
|
+
})), v = l(() => ({
|
|
50
51
|
lineHeight: "28px",
|
|
51
52
|
textAlign: `${n.center ? "center" : "left"}`
|
|
52
|
-
})),
|
|
53
|
+
})), x = l(() => n.btnPlacement === "center" ? "flex-c" : "flex justify-end"), s = l({
|
|
53
54
|
get: () => n.visible,
|
|
54
55
|
set: (o) => {
|
|
55
|
-
|
|
56
|
+
r("update:visible", o);
|
|
56
57
|
}
|
|
57
|
-
}),
|
|
58
|
-
n.closeOnCancel && (s.value = !1),
|
|
59
|
-
},
|
|
60
|
-
|
|
58
|
+
}), f = () => {
|
|
59
|
+
n.closeOnCancel && (s.value = !1), r("cancel");
|
|
60
|
+
}, B = () => {
|
|
61
|
+
r("confirm");
|
|
61
62
|
};
|
|
62
|
-
return (o,
|
|
63
|
-
const
|
|
64
|
-
return c(),
|
|
63
|
+
return (o, u) => {
|
|
64
|
+
const $ = O("svg-icon"), w = I, z = S;
|
|
65
|
+
return c(), y(z, h({
|
|
65
66
|
show: s.value,
|
|
66
|
-
"onUpdate:show":
|
|
67
|
+
"onUpdate:show": u[0] || (u[0] = (T) => s.value = T),
|
|
67
68
|
maskClosable: e.maskClosable,
|
|
68
69
|
closeOnEsc: e.closeOnEsc
|
|
69
70
|
}, o.$attrs), {
|
|
70
71
|
default: t(() => [
|
|
71
|
-
|
|
72
|
-
"header-style":
|
|
72
|
+
d(w, h({
|
|
73
|
+
"header-style": v.value,
|
|
73
74
|
style: k.value,
|
|
74
75
|
size: e.cardSize,
|
|
75
76
|
closable: e.closable,
|
|
76
77
|
segmented: { content: !0 }
|
|
77
|
-
}, o.$attrs),
|
|
78
|
+
}, o.$attrs), H({
|
|
78
79
|
default: t(() => [
|
|
79
80
|
a(o.$slots, "default")
|
|
80
81
|
]),
|
|
@@ -83,18 +84,18 @@ const R = {
|
|
|
83
84
|
o.$slots.header || e.title ? {
|
|
84
85
|
name: "header",
|
|
85
86
|
fn: t(() => [
|
|
86
|
-
o.$slots.header ? a(o.$slots, "header", { key: 0 }) : (c(),
|
|
87
|
+
o.$slots.header ? a(o.$slots, "header", { key: 0 }) : (c(), C("span", D, L(e.title), 1))
|
|
87
88
|
]),
|
|
88
89
|
key: "0"
|
|
89
90
|
} : void 0,
|
|
90
91
|
o.$slots["header-extra"] || e.showHeaderExtra ? {
|
|
91
92
|
name: "header-extra",
|
|
92
93
|
fn: t(() => [
|
|
93
|
-
o.$slots["header-extra"] ? a(o.$slots, "header-extra", { key: 0 }) : (c(),
|
|
94
|
+
o.$slots["header-extra"] ? a(o.$slots, "header-extra", { key: 0 }) : (c(), y($, {
|
|
94
95
|
key: 1,
|
|
95
96
|
icon: "operate-close",
|
|
96
97
|
class: "cursor-pointer active:scale-[0.95] text-[18px]",
|
|
97
|
-
onClick:
|
|
98
|
+
onClick: f
|
|
98
99
|
}))
|
|
99
100
|
]),
|
|
100
101
|
key: "1"
|
|
@@ -102,33 +103,33 @@ const R = {
|
|
|
102
103
|
o.$slots.footer || e.showFooter ? {
|
|
103
104
|
name: "footer",
|
|
104
105
|
fn: t(() => [
|
|
105
|
-
o.$slots.footer ? a(o.$slots, "footer", { key: 0 }) : (c(),
|
|
106
|
+
o.$slots.footer ? a(o.$slots, "footer", { key: 0 }) : (c(), C("div", {
|
|
106
107
|
key: 1,
|
|
107
|
-
class:
|
|
108
|
+
class: p(["gap-[8px]", x.value])
|
|
108
109
|
}, [
|
|
109
|
-
|
|
110
|
+
d(i(b), {
|
|
110
111
|
icon: e.cancelIcon,
|
|
111
112
|
"icon-placement": e.cancelIconPlacement,
|
|
112
113
|
color: e.cancelColor,
|
|
113
114
|
"text-color": e.cancelTextColor,
|
|
114
|
-
content: e.cancelBtnText,
|
|
115
|
+
content: e.cancelBtnText || i(m)("boden.dialog.cancel"),
|
|
115
116
|
loading: e.isLoading,
|
|
116
117
|
round: e.btnRound,
|
|
117
118
|
size: e.btnSize,
|
|
118
119
|
type: e.cancelType,
|
|
119
|
-
onClick:
|
|
120
|
+
onClick: f
|
|
120
121
|
}, null, 8, ["icon", "icon-placement", "color", "text-color", "content", "loading", "round", "size", "type"]),
|
|
121
|
-
|
|
122
|
+
d(i(b), {
|
|
122
123
|
icon: e.confirmIcon,
|
|
123
124
|
"icon-placement": e.confirmIconPlacement,
|
|
124
125
|
color: e.confirmColor,
|
|
125
126
|
"text-color": e.confirmTextColor,
|
|
126
|
-
content: e.confirmBtnText,
|
|
127
|
+
content: e.confirmBtnText || i(m)("boden.dialog.confirm"),
|
|
127
128
|
loading: e.isLoading,
|
|
128
129
|
round: e.btnRound,
|
|
129
130
|
size: e.btnSize,
|
|
130
131
|
type: e.confirmType,
|
|
131
|
-
onClick:
|
|
132
|
+
onClick: B
|
|
132
133
|
}, null, 8, ["icon", "icon-placement", "color", "text-color", "content", "loading", "round", "size", "type"])
|
|
133
134
|
], 2))
|
|
134
135
|
]),
|
|
@@ -142,5 +143,5 @@ const R = {
|
|
|
142
143
|
}
|
|
143
144
|
});
|
|
144
145
|
export {
|
|
145
|
-
|
|
146
|
+
X as default
|
|
146
147
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as S, ref as c, computed as I, createBlock as p, openBlock as s, unref as m, withCtx as i, createVNode as u, renderSlot as g, createCommentVNode as T, createSlots as w } from "vue";
|
|
2
2
|
import B from "./title.vue.mjs";
|
|
3
3
|
import L from "../system-actions/index.vue.mjs";
|
|
4
|
-
/* empty css
|
|
4
|
+
/* empty css */
|
|
5
5
|
import "../layout/options.mjs";
|
|
6
6
|
/* empty css */
|
|
7
7
|
import P from "../layout/header/index.vue.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as I, mergeDefaults as _, useSlots as E, computed as o, createElementBlock as T, openBlock as u, normalizeStyle as j, createElementVNode as z, normalizeClass as G, unref as M, createBlock as p, createCommentVNode as l, createVNode as P, withCtx as d, renderSlot as c } from "vue";
|
|
2
|
-
import A from "./components/WrapHeader.
|
|
2
|
+
import A from "./components/WrapHeader.vue.mjs";
|
|
3
3
|
import N from "./components/WrapTab.vue.mjs";
|
|
4
4
|
import D from "./components/WrapContent.vue.mjs";
|
|
5
5
|
import O from "./components/WrapSlider.vue.mjs";
|
package/es/locale/lang/en-us.mjs
CHANGED
package/es/locale/lang/zh-cn.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("naive-ui"),e=require("vue"),v=require("./options.js"),d=require("../button/button.js");require("../button/interface.js");const x=require("../../hooks/useLocale.js"),B={key:1,style:{margin:"0 auto"}},w=e.defineComponent({__name:"index",props:e.mergeDefaults({visible:{type:Boolean},width:{},top:{},title:{},cardSize:{},center:{type:Boolean},closable:{},showHeaderExtra:{type:Boolean},showFooter:{type:Boolean},isLoading:{type:Boolean},maskClosable:{},closeOnEsc:{},closeOnCancel:{type:Boolean},cancelBtnText:{},confirmBtnText:{},cancelColor:{},confirmColor:{},cancelTextColor:{},confirmTextColor:{},cancelIcon:{},confirmIcon:{},cancelIconPlacement:{},confirmIconPlacement:{},cancelType:{},confirmType:{},btnPlacement:{},btnRound:{type:Boolean},btnSize:{}},v.defaultProps),emits:["update:visible","cancel","confirm"],setup(o,{emit:u}){const{t:a}=x.useLocale(),l=u,n=o,m=e.computed(()=>({width:`${n.width}`,position:"fixed",left:"50%",top:`${n.top}`,transform:"translateX(-50%)"})),f=e.computed(()=>({lineHeight:"28px",textAlign:`${n.center?"center":"left"}`})),y=e.computed(()=>n.btnPlacement==="center"?"flex-c":"flex justify-end"),c=e.computed({get:()=>n.visible,set:t=>{l("update:visible",t)}}),r=()=>{n.closeOnCancel&&(c.value=!1),l("cancel")},h=()=>{l("confirm")};return(t,i)=>{const C=e.resolveComponent("svg-icon"),b=s.NCard,k=s.NModal;return e.openBlock(),e.createBlock(k,e.mergeProps({show:c.value,"onUpdate:show":i[0]||(i[0]=g=>c.value=g),maskClosable:o.maskClosable,closeOnEsc:o.closeOnEsc},t.$attrs),{default:e.withCtx(()=>[e.createVNode(b,e.mergeProps({"header-style":f.value,style:m.value,size:o.cardSize,closable:o.closable,segmented:{content:!0}},t.$attrs),e.createSlots({default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:2},[t.$slots.header||o.title?{name:"header",fn:e.withCtx(()=>[t.$slots.header?e.renderSlot(t.$slots,"header",{key:0}):(e.openBlock(),e.createElementBlock("span",B,e.toDisplayString(o.title),1))]),key:"0"}:void 0,t.$slots["header-extra"]||o.showHeaderExtra?{name:"header-extra",fn:e.withCtx(()=>[t.$slots["header-extra"]?e.renderSlot(t.$slots,"header-extra",{key:0}):(e.openBlock(),e.createBlock(C,{key:1,icon:"operate-close",class:"cursor-pointer active:scale-[0.95] text-[18px]",onClick:r}))]),key:"1"}:void 0,t.$slots.footer||o.showFooter?{name:"footer",fn:e.withCtx(()=>[t.$slots.footer?e.renderSlot(t.$slots,"footer",{key:0}):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["gap-[8px]",y.value])},[e.createVNode(e.unref(d.default),{icon:o.cancelIcon,"icon-placement":o.cancelIconPlacement,color:o.cancelColor,"text-color":o.cancelTextColor,content:o.cancelBtnText||e.unref(a)("boden.dialog.cancel"),loading:o.isLoading,round:o.btnRound,size:o.btnSize,type:o.cancelType,onClick:r},null,8,["icon","icon-placement","color","text-color","content","loading","round","size","type"]),e.createVNode(e.unref(d.default),{icon:o.confirmIcon,"icon-placement":o.confirmIconPlacement,color:o.confirmColor,"text-color":o.confirmTextColor,content:o.confirmBtnText||e.unref(a)("boden.dialog.confirm"),loading:o.isLoading,round:o.btnRound,size:o.btnSize,type:o.confirmType,onClick:h},null,8,["icon","icon-placement","color","text-color","content","loading","round","size","type"])],2))]),key:"2"}:void 0]),1040,["header-style","style","size","closable"])]),_:3},16,["show","maskClosable","closeOnEsc"])}}});exports.default=w;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={visible:!1,width:"1000px",title:void 0,top:"10vh",cardSize:"medium",isLoading:!1,center:!0,closable:!1,showHeaderExtra:!0,showFooter:!0,closeOnEsc:!1,closeOnCancel:!0,maskClosable:!1,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={visible:!1,width:"1000px",title:void 0,top:"10vh",cardSize:"medium",isLoading:!1,center:!0,closable:!1,showHeaderExtra:!0,showFooter:!0,closeOnEsc:!1,closeOnCancel:!0,maskClosable:!1,cancelIcon:"",confirmIcon:"",cancelIconPlacement:"left",confirmIconPlacement:"left",cancelType:"default",confirmType:"primary",btnPlacement:"center",btnRound:!0,btnSize:"medium"};exports.defaultProps=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),q=require("./title.vue.js"),m=require("../system-actions/index.vue.js");;/* empty css
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),q=require("./title.vue.js"),m=require("../system-actions/index.vue.js");;/* empty css */require("../layout/options.js");;/* empty css */const f=require("../layout/header/index.vue.js");require("../../config/themes/components/alert/light.js");require("../../config/themes/components/button/light.js");require("../../config/themes/components/card/light.js");require("../../config/themes/components/cascader/light.js");require("../../config/themes/components/dataTable/light.js");require("../../config/themes/components/datePicker/light.js");require("../../config/themes/components/checkbox/light.js");require("../../config/themes/components/divider/light.js");require("../../config/themes/components/dialog/light.js");require("../../config/themes/components/dropdown/light.js");require("../../config/themes/components/form/light.js");require("../../config/themes/components/input/light.js");require("../../config/themes/components/inputNumber/light.js");require("../../config/themes/components/layout/light.js");require("../../config/themes/components/menu/light.js");require("../../config/themes/components/popover/light.js");require("../../config/themes/components/progress/light.js");require("../../config/themes/components/radio/light.js");require("../../config/themes/components/select/light.js");require("../../config/themes/components/slider/light.js");require("../../config/themes/components/switch/light.js");require("../../config/themes/components/tag/light.js");require("../../config/themes/components/transfer/light.js");require("../../config/themes/components/baseComponent/light.js");require("../../config/themes/common/light.js");require("../../config/themes/components/alert/dark.js");require("../../config/themes/components/button/dark.js");require("../../config/themes/components/card/dark.js");require("../../config/themes/components/cascader/dark.js");require("../../config/themes/components/checkbox/dark.js");require("../../config/themes/components/dataTable/dark.js");require("../../config/themes/components/datePicker/dark.js");require("../../config/themes/components/dialog/dark.js");require("../../config/themes/components/dropdown/dark.js");require("../../config/themes/components/form/dark.js");require("../../config/themes/components/input/dark.js");require("../../config/themes/components/inputNumber/dark.js");require("../../config/themes/components/layout/dark.js");require("../../config/themes/components/menu/dark.js");require("../../config/themes/components/popover/dark.js");require("../../config/themes/components/progress/dark.js");require("../../config/themes/components/radio/dark.js");require("../../config/themes/components/select/dark.js");require("../../config/themes/components/slider/dark.js");require("../../config/themes/components/switch/dark.js");require("../../config/themes/components/tag/dark.js");require("../../config/themes/components/transfer/dark.js");require("../../config/themes/components/baseComponent/dark.js");require("../../config/themes/common/dark.js");require("../../config/themes/components/charts/dark.js");require("../../config/themes/components/charts/light.js");;/* empty css */const c=require("../layout/aside-menu/aside-menu.js");require("../layout/aside-menu/props.js");const h=e.defineComponent({name:"BodenGlobalHeader",__name:"index",props:{isShowPlatformMenus:{type:Boolean,default:!0},platformCode:{},productIntroductionTriggerDisabled:{type:Boolean,default:!1},userActionOption:{},userInfo:{},headerHeight:{},isShowProductIntroduction:{type:Boolean,default:!0},isShowLogo:{type:Boolean}},emits:["toggleSystemTheme","toggleSystemLang","toggleUserItem","toggleLogo","togglePlatform"],setup(r,{emit:n}){const i=n,l=e.ref("ADS"),s=e.computed(()=>[{key:"ADS",label:"ADS",routeKey:"",routePath:""},{key:"Studio",label:"Studio",routeKey:"",routePath:""},{key:"Multimodal",label:"Multimodal",routeKey:"",routePath:""}]),a=()=>{},g=()=>{i("toggleLogo")},d=o=>{i("togglePlatform",o)};return(o,t)=>(e.openBlock(),e.createBlock(e.unref(f.default),null,{title:e.withCtx(()=>[e.createVNode(q.default,{"is-show-logo":r.isShowLogo,"is-show-product-introduction":r.isShowProductIntroduction,"header-height":r.headerHeight,platformCode:r.platformCode,productIntroductionTriggerDisabled:r.productIntroductionTriggerDisabled,onToggleLogo:g,onTogglePlatform:d},e.createSlots({_:2},[o.$slots.logo?{name:"logo",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"logo")]),key:"0"}:void 0]),1032,["is-show-logo","is-show-product-introduction","header-height","platformCode","productIntroductionTriggerDisabled"])]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[r.isShowPlatformMenus?(e.openBlock(),e.createBlock(e.unref(c.default),{key:0,mode:"horizontal",value:l.value,"onUpdate:value":[t[0]||(t[0]=u=>l.value=u),a],options:s.value,indent:18,responsive:""},null,8,["value","options"])):e.createCommentVNode("",!0)])]),actions:e.withCtx(()=>[e.createVNode(e.unref(m.default),{style:{"margin-left":"auto"},mode:"horizontal",userActionOption:r.userActionOption,userInfo:r.userInfo,onToggleSystemTheme:t[1]||(t[1]=u=>o.$emit("toggleSystemTheme",u)),onToggleSystemLang:t[2]||(t[2]=u=>o.$emit("toggleSystemLang")),onToggleUserItem:t[3]||(t[3]=(...u)=>o.$emit("toggleUserItem",...u))},null,8,["userActionOption","userInfo"])]),_:3}))}});exports.default=h;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./WrapHeader.vue3.js");;/* empty css */const r=require("../../../_virtual/_plugin-vue_export-helper.js"),t=r.default(e.default,[["__scopeId","data-v-a43da04d"]]);exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("./components/WrapHeader.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("./components/WrapHeader.vue.js"),w=require("./components/WrapTab.vue.js"),W=require("./components/WrapContent.vue.js"),L=require("./components/WrapSlider.vue.js"),N=require("./components/WrapFooter.vue.js"),q=require("./options.js"),$=require("./layoutCssVar.js"),a=require("./index.module.css.js"),T=["id"],H=e.defineComponent({name:"BodenLayoutMaterial",__name:"index",props:e.mergeDefaults({mode:{},scrollMode:{},scrollElId:{},scrollWrapperClass:{},baseClass:{},fixedTop:{type:Boolean},commonClass:{},layoutZIndex:{},headerVisible:{type:Boolean},headerClass:{},headerHeight:{},tabVisible:{type:Boolean},tabClass:{},tabHeight:{},sliderVisible:{type:Boolean},sliderClass:{},sliderCollapse:{type:Boolean},sliderWidth:{},sliderCollapseWidth:{},contentClass:{},fullContent:{type:Boolean},footerVisible:{type:Boolean},footerClass:{},fixedFooter:{type:Boolean},footerIsFullWidth:{type:Boolean},footerHeight:{}},q.DEFAULT_LAYOUT_PROPS),setup(r){const u=e.useSlots(),t=r,f=e.computed(()=>$.getCssVarsByLayoutProps(t)),i=e.computed(()=>!!u.header&&t.headerVisible),v=e.computed(()=>!!u.tab&&t.tabVisible),c=e.computed(()=>!!u.slider&&t.sliderVisible),p=e.computed(()=>!!u.footer&&t.footerVisible),d=e.computed(()=>t.mode==="vertical"),l=e.computed(()=>t.mode==="horizontal"),n=e.computed(()=>t.scrollMode==="wrapper"),h=e.computed(()=>t.scrollMode==="content"),C=e.computed(()=>t.fixedTop||l.value&&n.value),s=e.computed(()=>c.value?t.sliderCollapse?a.default["left-gap-collapsed"]:a.default["left-gap-full"]:""),y=e.computed(()=>d.value?s.value:""),_=e.computed(()=>{const o=d.value,m=l.value&&n.value&&!t.fixedFooter,F=!!(l.value&&!t.footerIsFullWidth);return o||m||F?s.value:""}),B=e.computed(()=>{let o="";return i.value&&l.value&&(o+=a.default["slider-padding-top"]),p.value&&!_.value&&(o+=` ${a.default["slider-padding-bottom"]}`),o}),b=e.computed(()=>{const o=[];return o.push(y.value),o.push(t.commonClass),o.push(t.headerClass),o.join(" ")}),V=e.computed(()=>{const o=[];return o.push(s.value),o.push(t.commonClass),o.push(t.tabClass),o.join(" ")}),k=e.computed(()=>{const o=[];return o.push(s.value),o.push(t.commonClass),o.push(t.contentClass),h.value&&o.push(a.default["overflow-y-auto"]),o.join(" ")}),S=e.computed(()=>{const o=[];return o.push(t.commonClass),o.push(t.sliderClass),o.push(B.value),o.join(" ")}),g=e.computed(()=>{const o=[];return d.value&&o.push(s.value),l.value&&n.value&&!t.fixedFooter&&o.push(s.value),l.value&&!t.footerIsFullWidth&&o.push(s.value),o.push(t.commonClass),o.push(t.footerClass),o.join(" ")});return(o,m)=>(e.openBlock(),e.createElementBlock("div",{class:"layout-material",style:e.normalizeStyle(f.value)},[e.createElementVNode("div",{id:r.scrollElId?r.scrollElId:void 0,class:e.normalizeClass(["layout-content",n.value?e.unref(a.default)["overflow-y-auto"]:""])},[i.value?(e.openBlock(),e.createBlock(x.default,{key:0,isFixed:C.value,headerClass:b.value},{default:e.withCtx(()=>[o.$slots.header?e.renderSlot(o.$slots,"header",{key:0},void 0,!0):e.createCommentVNode("",!0)]),_:3},8,["isFixed","headerClass"])):e.createCommentVNode("",!0),v.value?(e.openBlock(),e.createBlock(w.default,{key:1,isFixed:C.value,tabClass:V.value},{default:e.withCtx(()=>[o.$slots.tab?e.renderSlot(o.$slots,"tab",{key:0},void 0,!0):e.createCommentVNode("",!0)]),_:3},8,["isFixed","tabClass"])):e.createCommentVNode("",!0),c.value?(e.openBlock(),e.createBlock(L.default,{key:2,sliderCollapse:r.sliderCollapse,sliderClass:S.value},{default:e.withCtx(()=>[o.$slots.slider?e.renderSlot(o.$slots,"slider",{key:0},void 0,!0):e.createCommentVNode("",!0)]),_:3},8,["sliderCollapse","sliderClass"])):e.createCommentVNode("",!0),e.createVNode(W.default,{contentClass:k.value},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3},8,["contentClass"]),p.value?(e.openBlock(),e.createBlock(N.default,{key:3,footerClass:g.value,isFixed:r.fixedFooter},{default:e.withCtx(()=>[u.footer?e.renderSlot(o.$slots,"footer",{key:0},void 0,!0):e.createCommentVNode("",!0)]),_:3},8,["footerClass","isFixed"])):e.createCommentVNode("",!0)],10,T)],4))}});exports.default=H;
|
package/lib/locale/lang/en-us.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o={name:"en-us",boden:{systemActions:{userCenter:"user center",logout:"logout"},platformNavigation:{allProducts:"all Products",BasePlatform:"BASE 数据标注平台",BasePlatformDescription:"专业标注服务,打造精准数据,驱动智能变革",AdsPlatform:"自动驾驶标注平台 - BASE ADS",AdsPlatformDescription:"自动驾驶标注平台支持点云、图像等连续的数据的标注与质检,提供可编排工作流与智能辅助工具,帮助团队高效构建自动驾驶训练数据集。",StudioPlatform:"通用标注平台 - BASE Studio",StudioPlatformDescription:"通用标注平台,支持图像、音频、文本、视频等多类型数据的标注与质检。具备灵活的可编排工作流能力,提供丰富的标注工具模板和算法辅助能力,适用于计算机视觉、语音识别、NLP。",OmniPlatform:"多模态标注平台 - BASE Omni",OmniPlatformDescription:"多模态标注平台是一套支持多源异构数据协同标注的智能系统,覆盖图像、视频、音频、文本、点云等多种模态数据类型,支持模态间时间同步与语义关联标注。帮助团队高效构建多模态融合训练数据集。",BlinkPlatform:"BLINK 数据管理平台",BlinkPlatformDescription:"集成数据资产的管理、交付、检索等全链路管理",BricPlatform:"BRIC 数据采集平台",BricPlatformDescription:"专业数据采集,汇聚海量基石,奠定智能根基",RobotPlatform:"具身智能采集 - BRIC Robot",RobotPlatformDescription:"专为具身智能研发打造,支持道场场景管理与多类型机器人组网(机器臂/人形)。提供从任务下发、现场采集到数据包审核的全链路工作流,内置遥操作与示教工具,高效沉淀高价值训练数据。"}}};exports.default=o;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o={name:"en-us",boden:{dialog:{cancel:"Cancel",confirm:"Confirm"},systemActions:{userCenter:"user center",logout:"logout"},platformNavigation:{allProducts:"all Products",BasePlatform:"BASE 数据标注平台",BasePlatformDescription:"专业标注服务,打造精准数据,驱动智能变革",AdsPlatform:"自动驾驶标注平台 - BASE ADS",AdsPlatformDescription:"自动驾驶标注平台支持点云、图像等连续的数据的标注与质检,提供可编排工作流与智能辅助工具,帮助团队高效构建自动驾驶训练数据集。",StudioPlatform:"通用标注平台 - BASE Studio",StudioPlatformDescription:"通用标注平台,支持图像、音频、文本、视频等多类型数据的标注与质检。具备灵活的可编排工作流能力,提供丰富的标注工具模板和算法辅助能力,适用于计算机视觉、语音识别、NLP。",OmniPlatform:"多模态标注平台 - BASE Omni",OmniPlatformDescription:"多模态标注平台是一套支持多源异构数据协同标注的智能系统,覆盖图像、视频、音频、文本、点云等多种模态数据类型,支持模态间时间同步与语义关联标注。帮助团队高效构建多模态融合训练数据集。",BlinkPlatform:"BLINK 数据管理平台",BlinkPlatformDescription:"集成数据资产的管理、交付、检索等全链路管理",BricPlatform:"BRIC 数据采集平台",BricPlatformDescription:"专业数据采集,汇聚海量基石,奠定智能根基",RobotPlatform:"具身智能采集 - BRIC Robot",RobotPlatformDescription:"专为具身智能研发打造,支持道场场景管理与多类型机器人组网(机器臂/人形)。提供从任务下发、现场采集到数据包审核的全链路工作流,内置遥操作与示教工具,高效沉淀高价值训练数据。"}}};exports.default=o;
|
package/lib/locale/lang/zh-cn.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o={name:"zh-cn",boden:{systemActions:{userCenter:"个人中心",logout:"退出账号"},platformNavigation:{allProducts:"全部产品",BasePlatform:"BASE 数据标注平台",BasePlatformDescription:"专业标注服务,打造精准数据,驱动智能变革",AdsPlatform:"自动驾驶标注平台 - BASE ADS",AdsPlatformDescription:"自动驾驶标注平台支持点云、图像等连续的数据的标注与质检,提供可编排工作流与智能辅助工具,帮助团队高效构建自动驾驶训练数据集。",StudioPlatform:"通用标注平台 - BASE Studio",StudioPlatformDescription:"通用标注平台,支持图像、音频、文本、视频等多类型数据的标注与质检。具备灵活的可编排工作流能力,提供丰富的标注工具模板和算法辅助能力,适用于计算机视觉、语音识别、NLP。",OmniPlatform:"多模态标注平台 - BASE Omni",OmniPlatformDescription:"多模态标注平台是一套支持多源异构数据协同标注的智能系统,覆盖图像、视频、音频、文本、点云等多种模态数据类型,支持模态间时间同步与语义关联标注。帮助团队高效构建多模态融合训练数据集。",BlinkPlatform:"BLINK 数据管理平台",BlinkPlatformDescription:"集成数据资产的管理、交付、检索等全链路管理",BricPlatform:"BRIC 数据采集平台",BricPlatformDescription:"专业数据采集,汇聚海量基石,奠定智能根基",RobotPlatform:"具身智能采集 - BRIC Robot",RobotPlatformDescription:"专为具身智能研发打造,支持道场场景管理与多类型机器人组网(机器臂/人形)。提供从任务下发、现场采集到数据包审核的全链路工作流,内置遥操作与示教工具,高效沉淀高价值训练数据。"}}};exports.default=o;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o={name:"zh-cn",boden:{dialog:{cancel:"取消",confirm:"确定"},systemActions:{userCenter:"个人中心",logout:"退出账号"},platformNavigation:{allProducts:"全部产品",BasePlatform:"BASE 数据标注平台",BasePlatformDescription:"专业标注服务,打造精准数据,驱动智能变革",AdsPlatform:"自动驾驶标注平台 - BASE ADS",AdsPlatformDescription:"自动驾驶标注平台支持点云、图像等连续的数据的标注与质检,提供可编排工作流与智能辅助工具,帮助团队高效构建自动驾驶训练数据集。",StudioPlatform:"通用标注平台 - BASE Studio",StudioPlatformDescription:"通用标注平台,支持图像、音频、文本、视频等多类型数据的标注与质检。具备灵活的可编排工作流能力,提供丰富的标注工具模板和算法辅助能力,适用于计算机视觉、语音识别、NLP。",OmniPlatform:"多模态标注平台 - BASE Omni",OmniPlatformDescription:"多模态标注平台是一套支持多源异构数据协同标注的智能系统,覆盖图像、视频、音频、文本、点云等多种模态数据类型,支持模态间时间同步与语义关联标注。帮助团队高效构建多模态融合训练数据集。",BlinkPlatform:"BLINK 数据管理平台",BlinkPlatformDescription:"集成数据资产的管理、交付、检索等全链路管理",BricPlatform:"BRIC 数据采集平台",BricPlatformDescription:"专业数据采集,汇聚海量基石,奠定智能根基",RobotPlatform:"具身智能采集 - BRIC Robot",RobotPlatformDescription:"专为具身智能研发打造,支持道场场景管理与多类型机器人组网(机器臂/人形)。提供从任务下发、现场采集到数据包审核的全链路工作流,内置遥操作与示教工具,高效沉淀高价值训练数据。"}}};exports.default=o;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./WrapHeader.vue3.js");;/* empty css */const r=require("../../../_virtual/_plugin-vue_export-helper.js"),t=r.default(e.default,[["__scopeId","data-v-a43da04d"]]);exports.default=t;
|