base6-ui 2.0.27 → 2.0.28
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/hooks/useBodenHttpMessage.d.ts +7 -1
- package/dist/index.umd.js +3 -3
- package/dist/locale/http/en-us.d.ts +96 -42
- package/es/components/global-header/index.vue.mjs +1 -1
- package/es/components/layout/components/{WrapHeader.vue.mjs → WrapHeader.vue2.mjs} +1 -1
- package/es/components/layout/index.vue2.mjs +1 -1
- package/es/hooks/useBodenHttpMessage.d.ts +7 -1
- package/es/hooks/useBodenHttpMessage.mjs +17 -71
- package/es/locale/http/en-us.d.ts +96 -42
- package/es/locale/http/en-us.mjs +96 -85
- package/es/locale/http/zh-cn.mjs +95 -83
- package/lib/components/global-header/index.vue.js +1 -1
- package/lib/components/layout/components/WrapHeader.vue2.js +1 -0
- package/lib/components/layout/index.vue2.js +1 -1
- package/lib/hooks/useBodenHttpMessage.d.ts +7 -1
- package/lib/hooks/useBodenHttpMessage.js +1 -1
- package/lib/locale/http/en-us.d.ts +96 -42
- package/lib/locale/http/en-us.js +1 -1
- package/lib/locale/http/zh-cn.js +1 -1
- package/package.json +1 -1
- package/lib/components/layout/components/WrapHeader.vue.js +0 -1
package/es/locale/http/zh-cn.mjs
CHANGED
|
@@ -1,88 +1,100 @@
|
|
|
1
1
|
const e = {
|
|
2
2
|
name: "zh-cn",
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
3
|
+
401: "身份验证失败,请重新登录",
|
|
4
|
+
403: "暂无权限访问该资源",
|
|
5
|
+
200: {
|
|
6
|
+
1: "系统发生未知异常,请稍后重试",
|
|
7
|
+
2: "警告",
|
|
8
|
+
200: "操作成功",
|
|
9
|
+
/** 10000~19999 输入参数相关问题 */
|
|
10
|
+
1e4: "参数输入不合法",
|
|
11
|
+
10001: "实例保存参数异常",
|
|
12
|
+
10002: "标注套件不存在",
|
|
13
|
+
10003: "平台类型不存在",
|
|
14
|
+
10004: "argo云厂商配置不存在",
|
|
15
|
+
10005: "云存储配置不存在",
|
|
16
|
+
10006: "文件原始路径不存在",
|
|
17
|
+
2e4: "用户名已存在",
|
|
18
|
+
20001: "验证码错误",
|
|
19
|
+
20002: "账号或密码错误",
|
|
20
|
+
20003: "该手机号未注册,请先注册后登录",
|
|
21
|
+
20004: "该账号已被禁用,请联系管理员",
|
|
22
|
+
20005: "该手机号已注册,请直接登录或【找回密码】",
|
|
23
|
+
20006: "该账号已注册,请直接登录或【找回密码】",
|
|
24
|
+
20007: "用户不存在",
|
|
25
|
+
20008: "用户已加入黑名单",
|
|
26
|
+
20009: "用户重复添加",
|
|
27
|
+
/** 21000~21099 团队管理相关问题 */
|
|
28
|
+
21e3: "团队名称重复",
|
|
29
|
+
21001: "团队不存在",
|
|
30
|
+
21002: "团队用户不允许变更为团队管理员",
|
|
31
|
+
21003: "已勾选的平台无法取消",
|
|
32
|
+
21004: "团队已加入黑名单",
|
|
33
|
+
21005: "团队重复添加",
|
|
34
|
+
/** 30000~39999 访问资源(项目/数据集/任务等)使用相关问题 */
|
|
35
|
+
3e4: "资源名称已存在",
|
|
36
|
+
30001: "资源已被重复使用 / 绑定",
|
|
37
|
+
30002: "已使用的资源不可修改",
|
|
38
|
+
30003: "已使用的资源不可删除",
|
|
39
|
+
30004: "资源已被领取",
|
|
40
|
+
30005: "资源已挂起,无法操作",
|
|
41
|
+
30006: "资源不存在",
|
|
42
|
+
30007: "资源创建中,请稍后操作",
|
|
43
|
+
30008: "资源更新中,请稍后操作",
|
|
44
|
+
30009: "资源删除中,请稍后操作",
|
|
45
|
+
30010: "资源提交中,请稍后操作",
|
|
46
|
+
30011: "资源驳回中,请稍后操作",
|
|
47
|
+
30012: "资源被占用,请稍后重试",
|
|
48
|
+
30013: "资源状态不支持该操作",
|
|
49
|
+
30014: "无权限使用该资源",
|
|
50
|
+
30015: "资源导出名称重复",
|
|
51
|
+
/** 30100~30199 argo工作流使用相关异常 */
|
|
52
|
+
30100: "不允许跨云拷贝数据",
|
|
53
|
+
30101: "argo工作流插件不存在",
|
|
54
|
+
30102: "argo工作流状态获取失败",
|
|
55
|
+
30103: "argo工作流终止失败",
|
|
56
|
+
30104: "argo工作流创建失败",
|
|
57
|
+
/** 30200~30299 项目下配置信息使用相关异常 */
|
|
58
|
+
30200: "属性不存在,请刷新后重试",
|
|
59
|
+
30201: "属性选项不存在,请刷新后重试",
|
|
60
|
+
30202: "标签不存在,请刷新后重试",
|
|
61
|
+
30203: "缺少OCC数据必要体素参数配置",
|
|
62
|
+
/** 30300~30399 工作流使用相关异常 */
|
|
63
|
+
30300: "不允许修改系统预设的工作流",
|
|
64
|
+
30301: "工作流不存在",
|
|
65
|
+
30302: "工作流节点名称重复",
|
|
66
|
+
30303: "工作流不允许配置多个分包节点",
|
|
67
|
+
30304: "工作流任务节点配置缺少必要信息",
|
|
68
|
+
30305: "工作流未获取到标注信息",
|
|
69
|
+
/** 30400~30499 数据集使用相关异常 */
|
|
70
|
+
30400: "未知的数据源类型",
|
|
71
|
+
30401: "当前项目有成员正在添加数据集,请稍后重试",
|
|
72
|
+
30402: "数据集不存在",
|
|
73
|
+
30403: "数据集缺少{modal}必要数据模态",
|
|
74
|
+
30404: "数据集缺少必要信息",
|
|
75
|
+
/** 30500~30599 任务使用相关异常 */
|
|
76
|
+
30500: "任务不存在",
|
|
77
|
+
30501: "任务无法流转至非任务节点",
|
|
78
|
+
30502: "当前任务状态无法释放",
|
|
79
|
+
30503: "当前任务状态无法指派",
|
|
80
|
+
30504: "当前任务状态无法改派",
|
|
81
|
+
30505: "当前任务状态无法领取",
|
|
82
|
+
30506: "当前任务状态无法提交",
|
|
83
|
+
30507: "无权限领取任务",
|
|
84
|
+
30508: "不是任务当前操作人,无法操作",
|
|
85
|
+
30509: "您在该项目中的任务配额已满。请尽快前往您的工作台/我的任务列表,完成并提交至少一个正在进行的任务,以便领取新的任务",
|
|
86
|
+
/** 40000~49999 内部接口调用相关问题 */
|
|
87
|
+
4e4: "内部接口调用连接失败",
|
|
88
|
+
40001: "内部接口调用超时",
|
|
89
|
+
40002: "内部接口调用报错",
|
|
90
|
+
40003: "内部接口调用无返回值",
|
|
91
|
+
/** 50000~59999 文件处理相关问题 */
|
|
92
|
+
5e4: "文件上传失败",
|
|
93
|
+
50001: "文件下载失败",
|
|
94
|
+
50002: "文件不存在",
|
|
95
|
+
50003: "文件生成失败",
|
|
96
|
+
50004: "文件已存在,请勿重复上传",
|
|
97
|
+
51e3: "导入文件内存在参数错误"
|
|
86
98
|
}
|
|
87
99
|
};
|
|
88
100
|
export {
|
|
@@ -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/token/dark.js");require("../../config/themes/token/light.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.vue2.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;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { BodenLocaleLang } from '../components/config-provider/types';
|
|
2
|
+
import { TranslatorOption } from './useLocale';
|
|
2
3
|
export declare const useBodenHttpMessage: () => {
|
|
3
|
-
|
|
4
|
+
$t: (params: {
|
|
5
|
+
httpStatus: number;
|
|
6
|
+
httpCode?: number;
|
|
7
|
+
option?: TranslatorOption | number | string;
|
|
8
|
+
locale?: BodenLocaleLang;
|
|
9
|
+
}) => string;
|
|
4
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../locale/http/en-us.js"),p=require("../locale/http/zh-cn.js"),g=require("../node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/object/get.js"),i={"en-US":c.default,"zh-CN":p.default},l=()=>({$t:o=>{const{httpStatus:e,httpCode:r,option:t,locale:u="en-US"}=o,a=i[u];let n=`${e}`;return e===200&&(n+=`.${r??0}`),g.get(a,n).replace(/\{(\w+)\}/g,(h,s)=>typeof t=="string"||typeof t=="number"?`${t}`:`${t?.[s]??`{${s}}`}`)}});exports.useBodenHttpMessage=l;
|
|
@@ -1,47 +1,101 @@
|
|
|
1
1
|
declare const enUS: {
|
|
2
2
|
name: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
3
|
+
401: string;
|
|
4
|
+
403: string;
|
|
5
|
+
200: {
|
|
6
|
+
1: string;
|
|
7
|
+
2: string;
|
|
8
|
+
200: string;
|
|
9
|
+
/** 10000~19999 输入参数相关问题 */
|
|
10
|
+
10000: string;
|
|
11
|
+
10001: string;
|
|
12
|
+
10002: string;
|
|
13
|
+
10003: string;
|
|
14
|
+
10004: string;
|
|
15
|
+
10005: string;
|
|
16
|
+
10006: string;
|
|
17
|
+
/** 20000~29999 账号管理相关问题 */
|
|
18
|
+
20000: string;
|
|
19
|
+
20001: string;
|
|
20
|
+
20002: string;
|
|
21
|
+
20003: string;
|
|
22
|
+
20004: string;
|
|
23
|
+
20005: string;
|
|
24
|
+
20006: string;
|
|
25
|
+
20007: string;
|
|
26
|
+
20008: string;
|
|
27
|
+
20009: string;
|
|
28
|
+
/** 21000~21099 团队管理相关问题 */
|
|
29
|
+
21000: string;
|
|
30
|
+
21001: string;
|
|
31
|
+
21002: string;
|
|
32
|
+
21003: string;
|
|
33
|
+
21004: string;
|
|
34
|
+
21005: string;
|
|
35
|
+
/** 30000~39999 访问资源(项目/数据集/任务等)使用相关问题 */
|
|
36
|
+
30000: string;
|
|
37
|
+
30001: string;
|
|
38
|
+
30002: string;
|
|
39
|
+
30003: string;
|
|
40
|
+
30004: string;
|
|
41
|
+
30005: string;
|
|
42
|
+
30006: string;
|
|
43
|
+
30007: string;
|
|
44
|
+
30008: string;
|
|
45
|
+
30009: string;
|
|
46
|
+
30010: string;
|
|
47
|
+
30011: string;
|
|
48
|
+
30012: string;
|
|
49
|
+
30013: string;
|
|
50
|
+
30014: string;
|
|
51
|
+
30015: string;
|
|
52
|
+
/** 30100~30199 argo工作流使用相关异常 */
|
|
53
|
+
30100: string;
|
|
54
|
+
30101: string;
|
|
55
|
+
30102: string;
|
|
56
|
+
30103: string;
|
|
57
|
+
30104: string;
|
|
58
|
+
/** 30200~30299 项目下配置信息使用相关异常 */
|
|
59
|
+
30200: string;
|
|
60
|
+
30201: string;
|
|
61
|
+
30202: string;
|
|
62
|
+
30203: string;
|
|
63
|
+
/** 30300~30399 工作流使用相关异常 */
|
|
64
|
+
30300: string;
|
|
65
|
+
30301: string;
|
|
66
|
+
30302: string;
|
|
67
|
+
30303: string;
|
|
68
|
+
30304: string;
|
|
69
|
+
30305: string;
|
|
70
|
+
/** 30400~30499 数据集使用相关异常 */
|
|
71
|
+
30400: string;
|
|
72
|
+
30401: string;
|
|
73
|
+
30402: string;
|
|
74
|
+
30403: string;
|
|
75
|
+
30404: string;
|
|
76
|
+
/** 30500~30599 任务使用相关异常 */
|
|
77
|
+
30500: string;
|
|
78
|
+
30501: string;
|
|
79
|
+
30502: string;
|
|
80
|
+
30503: string;
|
|
81
|
+
30504: string;
|
|
82
|
+
30505: string;
|
|
83
|
+
30506: string;
|
|
84
|
+
30507: string;
|
|
85
|
+
30508: string;
|
|
86
|
+
30509: string;
|
|
87
|
+
/** 40000~49999 内部接口调用相关问题 */
|
|
88
|
+
40000: string;
|
|
89
|
+
40001: string;
|
|
90
|
+
40002: string;
|
|
91
|
+
40003: string;
|
|
92
|
+
/** 50000~59999 文件处理相关问题 */
|
|
93
|
+
50000: string;
|
|
94
|
+
50001: string;
|
|
95
|
+
50002: string;
|
|
96
|
+
50003: string;
|
|
97
|
+
50004: string;
|
|
98
|
+
51000: string;
|
|
45
99
|
};
|
|
46
100
|
};
|
|
47
101
|
export type BodenHttpLocale = typeof enUS;
|
package/lib/locale/http/en-us.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"en-us",
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"en-us",401:"Authentication Failed, Please Re-login",403:"No Permission to Access This Resource",200:{1:"Unknown System Error, Please Try Again Later",2:"Warning",200:"Success",1e4:"Invalid Parameter Input",10001:"Instance Saving Parameter Exception",10002:"Annotation Kit Does Not Exist",10003:"Platform Type Does Not Exist",10004:"Argo Cloud Vendor Configuration Does Not Exist",10005:"Cloud Storage Configuration Does Not Exist",10006:"File Original Path Does Not Exist",2e4:"Username Already Exists",20001:"Incorrect verification code",20002:"Invalid account or password",20003:"This phone number is not registered. Please register first before logging in.",20004:"This account has been disabled. Please contact the administrator.",20005:"This phone number is already registered. Please log in directly or [retrieve password].",20006:"This account is already registered. Please log in directly or [retrieve password].",20007:"User does not exist",20008:"User Has Been Added to Blacklist",20009:"Duplicate User Addition",21e3:"Duplicate team name",21001:"Team does not exist",21002:"Team users are not allowed to be changed to team administrators.",21003:"Selected Platform Cannot Be Cancelled",21004:"Team Has Been Added to Blacklist",21005:"Duplicate Team Addition",3e4:"Resource Name Already Exists",30001:"Resource Has Been Reused/Bound",30002:"Used Resource Cannot Be Modified",30003:"Used Resource Cannot Be Deleted",30004:"Resource Has Been Claimed",30005:"Resource Is Suspended, Operation Not Allowed",30006:"Resource Does Not Exist",30007:"Resource Is Being Created, Please Try Later",30008:"Resource Is Being Updated, Please Try Later",30009:"Resource Is Being Deleted, Please Try Later",30010:"Resource Is Being Submitted, Please Try Later",30011:"Resource Is Being Rejected, Please Try Later",30012:"Resource Is Occupied, Please Try Later",30013:"Resource Status Does Not Support This Operation",30014:"No Permission to Use This Resource",30015:"Duplicate Resource Export Name",30100:"Cross-Cloud Data Copying Is Not Allowed",30101:"Argo Workflow Plugin Does Not Exist",30102:"Failed to Retrieve Argo Workflow Status",30103:"Failed to Terminate Argo Workflow",30104:"Failed to Create Argo Workflow",30200:"Attribute Does Not Exist, Please Refresh and Try Again",30201:"Attribute Option Does Not Exist, Please Refresh and Try Again",30202:"Tag Does Not Exist, Please Refresh and Try Again",30203:"Missing required voxel parameter configuration for OCC data",30300:"Modification of System Preset Workflow Is Not Allowed",30301:"Workflow Does Not Exist",30302:"Duplicate Workflow Node Name",30303:"Multiple Subcontract Nodes Are Not Allowed in Workflow",30304:"Workflow task node configuration lacks required information",30305:"Workflow Failed to Retrieve Annotation Information",30400:"Unknown data source type",30401:"Someone is currently adding a dataset to the project. Please try again later",30402:"Dataset does not exist",30403:"The dataset lacks the required {modal} data modalities",30404:"The dataset lacks required information",30500:"Task does not exist",30501:"Task cannot be transferred to a non-task node",30502:"The current task status does not allow release",30503:"The current task status does not allow assignment",30504:"The current task status does not allow reassignment",30505:"The current task status does not allow claiming",30506:"The current task status does not allow submission",30507:"No permission to claim the task",30508:"You are not the current operator of the task; operation is not allowed",30509:"Your task quota for this project is full. Please go to your Workbench/My Task List as soon as possible, complete and submit at least one ongoing task to claim a new one",4e4:"Internal interface call connection failed",40001:"Internal interface call timed out",40002:"Internal interface call error",40003:"Internal interface call returned no value",5e4:"File upload failed",50001:"File download failed",50002:"File does not exist",50003:"File generation failed",50004:"File already exists. Do not upload duplicates",51e3:"Parameter error in imported file"}};exports.default=e;
|
package/lib/locale/http/zh-cn.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"zh-cn",
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={name:"zh-cn",401:"身份验证失败,请重新登录",403:"暂无权限访问该资源",200:{1:"系统发生未知异常,请稍后重试",2:"警告",200:"操作成功",1e4:"参数输入不合法",10001:"实例保存参数异常",10002:"标注套件不存在",10003:"平台类型不存在",10004:"argo云厂商配置不存在",10005:"云存储配置不存在",10006:"文件原始路径不存在",2e4:"用户名已存在",20001:"验证码错误",20002:"账号或密码错误",20003:"该手机号未注册,请先注册后登录",20004:"该账号已被禁用,请联系管理员",20005:"该手机号已注册,请直接登录或【找回密码】",20006:"该账号已注册,请直接登录或【找回密码】",20007:"用户不存在",20008:"用户已加入黑名单",20009:"用户重复添加",21e3:"团队名称重复",21001:"团队不存在",21002:"团队用户不允许变更为团队管理员",21003:"已勾选的平台无法取消",21004:"团队已加入黑名单",21005:"团队重复添加",3e4:"资源名称已存在",30001:"资源已被重复使用 / 绑定",30002:"已使用的资源不可修改",30003:"已使用的资源不可删除",30004:"资源已被领取",30005:"资源已挂起,无法操作",30006:"资源不存在",30007:"资源创建中,请稍后操作",30008:"资源更新中,请稍后操作",30009:"资源删除中,请稍后操作",30010:"资源提交中,请稍后操作",30011:"资源驳回中,请稍后操作",30012:"资源被占用,请稍后重试",30013:"资源状态不支持该操作",30014:"无权限使用该资源",30015:"资源导出名称重复",30100:"不允许跨云拷贝数据",30101:"argo工作流插件不存在",30102:"argo工作流状态获取失败",30103:"argo工作流终止失败",30104:"argo工作流创建失败",30200:"属性不存在,请刷新后重试",30201:"属性选项不存在,请刷新后重试",30202:"标签不存在,请刷新后重试",30203:"缺少OCC数据必要体素参数配置",30300:"不允许修改系统预设的工作流",30301:"工作流不存在",30302:"工作流节点名称重复",30303:"工作流不允许配置多个分包节点",30304:"工作流任务节点配置缺少必要信息",30305:"工作流未获取到标注信息",30400:"未知的数据源类型",30401:"当前项目有成员正在添加数据集,请稍后重试",30402:"数据集不存在",30403:"数据集缺少{modal}必要数据模态",30404:"数据集缺少必要信息",30500:"任务不存在",30501:"任务无法流转至非任务节点",30502:"当前任务状态无法释放",30503:"当前任务状态无法指派",30504:"当前任务状态无法改派",30505:"当前任务状态无法领取",30506:"当前任务状态无法提交",30507:"无权限领取任务",30508:"不是任务当前操作人,无法操作",30509:"您在该项目中的任务配额已满。请尽快前往您的工作台/我的任务列表,完成并提交至少一个正在进行的任务,以便领取新的任务",4e4:"内部接口调用连接失败",40001:"内部接口调用超时",40002:"内部接口调用报错",40003:"内部接口调用无返回值",5e4:"文件上传失败",50001:"文件下载失败",50002:"文件不存在",50003:"文件生成失败",50004:"文件已存在,请勿重复上传",51e3:"导入文件内存在参数错误"}};exports.default=e;
|
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;
|