base6-ui 2.0.2 → 2.0.3
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/globalMethods/index.d.ts +0 -1
- package/dist/index.umd.js +1 -1
- package/dist/locale/http/en-us.d.ts +29 -0
- package/dist/locale/http/zh-cn.d.ts +3 -0
- package/dist/locale/index.d.ts +3 -0
- package/dist/locale/lang/en-us.d.ts +0 -26
- 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/globalMethods/index.d.ts +0 -1
- package/es/globalMethods/index.mjs +7 -9
- package/es/index.mjs +56 -54
- package/es/locale/http/en-us.d.ts +29 -0
- package/es/locale/http/en-us.mjs +50 -0
- package/es/locale/http/zh-cn.d.ts +3 -0
- package/es/locale/http/zh-cn.mjs +50 -0
- package/es/locale/index.d.ts +3 -0
- package/es/locale/lang/en-us.d.ts +0 -26
- package/es/locale/lang/en-us.mjs +2 -48
- package/es/locale/lang/zh-cn.mjs +4 -50
- package/lib/components/BaseLayout/components/WrapHeader.vue.js +1 -1
- 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/globalMethods/index.d.ts +0 -1
- package/lib/globalMethods/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/http/en-us.d.ts +29 -0
- package/lib/locale/http/en-us.js +1 -0
- package/lib/locale/http/zh-cn.d.ts +3 -0
- package/lib/locale/http/zh-cn.js +1 -0
- package/lib/locale/index.d.ts +3 -0
- package/lib/locale/lang/en-us.d.ts +0 -26
- package/lib/locale/lang/en-us.js +1 -1
- package/lib/locale/lang/zh-cn.js +1 -1
- package/package.json +1 -1
- package/dist/globalMethods/modules/httpMessage.d.ts +0 -3
- package/es/globalMethods/modules/httpMessage.d.ts +0 -3
- package/es/globalMethods/modules/httpMessage.mjs +0 -21
- package/lib/components/layout/components/WrapHeader.vue.js +0 -1
- package/lib/globalMethods/modules/httpMessage.d.ts +0 -3
- package/lib/globalMethods/modules/httpMessage.js +0 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const enUS: {
|
|
2
|
+
name: string;
|
|
3
|
+
unauthorized: string;
|
|
4
|
+
forbidden: string;
|
|
5
|
+
success: {
|
|
6
|
+
unknown: string;
|
|
7
|
+
warning: string;
|
|
8
|
+
success: string;
|
|
9
|
+
parameterProblem: string;
|
|
10
|
+
userExists: string;
|
|
11
|
+
resourceExists: string;
|
|
12
|
+
resourceBeenBound: string;
|
|
13
|
+
resourceCannotModified: string;
|
|
14
|
+
resourceCannotDeleted: string;
|
|
15
|
+
resourceBeenClaimed: string;
|
|
16
|
+
resourceBeenSuspended: string;
|
|
17
|
+
resourceNotExist: string;
|
|
18
|
+
resourceBeingCreated: string;
|
|
19
|
+
resourceBeingUpdated: string;
|
|
20
|
+
resourceBeingDeleted: string;
|
|
21
|
+
resourceBeingSubmitted: string;
|
|
22
|
+
resourceBeingRejected: string;
|
|
23
|
+
resourceBeingOccupied: string;
|
|
24
|
+
resourceNotSupport: string;
|
|
25
|
+
resourceUnauthorized: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type BodenHttpLocale = typeof enUS;
|
|
29
|
+
export default enUS;
|
package/dist/locale/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { default as enUS } from './lang/en-us';
|
|
2
2
|
export type { BaseLocale } from './lang/en-us';
|
|
3
3
|
export { default as zhCN } from './lang/zh-cn';
|
|
4
|
+
export { default as HttpEnUS } from './http/en-us';
|
|
5
|
+
export type { BodenHttpLocale } from './http/en-us';
|
|
6
|
+
export { default as HttpZhCN } from './http/zh-cn';
|
|
@@ -21,32 +21,6 @@ declare const enUS: {
|
|
|
21
21
|
BcollectionPlatformDescription: string;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
httpStatusMsg: {
|
|
25
|
-
unauthorized: string;
|
|
26
|
-
forbidden: string;
|
|
27
|
-
success: {
|
|
28
|
-
unknown: string;
|
|
29
|
-
warning: string;
|
|
30
|
-
success: string;
|
|
31
|
-
parameterProblem: string;
|
|
32
|
-
userExists: string;
|
|
33
|
-
resourceExists: string;
|
|
34
|
-
resourceBeenBound: string;
|
|
35
|
-
resourceCannotModified: string;
|
|
36
|
-
resourceCannotDeleted: string;
|
|
37
|
-
resourceBeenClaimed: string;
|
|
38
|
-
resourceBeenSuspended: string;
|
|
39
|
-
resourceNotExist: string;
|
|
40
|
-
resourceBeingCreated: string;
|
|
41
|
-
resourceBeingUpdated: string;
|
|
42
|
-
resourceBeingDeleted: string;
|
|
43
|
-
resourceBeingSubmitted: string;
|
|
44
|
-
resourceBeingRejected: string;
|
|
45
|
-
resourceBeingOccupied: string;
|
|
46
|
-
resourceNotSupport: string;
|
|
47
|
-
resourceUnauthorized: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
24
|
};
|
|
51
25
|
export type BaseLocale = typeof enUS;
|
|
52
26
|
export default enUS;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as g, ref as f, computed as y, createBlock as p, openBlock as l, unref as m, withCtx as i, createVNode as s, renderSlot as u, createCommentVNode as h, createSlots as S } from "vue";
|
|
2
2
|
import v from "./title.vue.mjs";
|
|
3
3
|
import w 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 B 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.vue2.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";
|
|
@@ -2,4 +2,3 @@ import { App } from 'vue';
|
|
|
2
2
|
export default function registerGlobalMethods(app: App): void;
|
|
3
3
|
export { default as useMessage } from './modules/message';
|
|
4
4
|
export { default as useConfirmTip } from './modules/confirmTip';
|
|
5
|
-
export { default as HttpMessage } from './modules/httpMessage';
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
e.config.globalProperties.$message = s, e.config.globalProperties.$confirmTip = o, e.config.globalProperties.$httpMessage = r;
|
|
1
|
+
import o from "./modules/message.mjs";
|
|
2
|
+
import s from "./modules/confirmTip.mjs";
|
|
3
|
+
function a(e) {
|
|
4
|
+
e.config.globalProperties.$message = o, e.config.globalProperties.$confirmTip = s;
|
|
6
5
|
}
|
|
7
6
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
o as
|
|
11
|
-
s as useMessage
|
|
7
|
+
a as default,
|
|
8
|
+
s as useConfirmTip,
|
|
9
|
+
o as useMessage
|
|
12
10
|
};
|
package/es/index.mjs
CHANGED
|
@@ -7,24 +7,24 @@ import { default as m } from "./components/cascader/cascader.mjs";
|
|
|
7
7
|
import { bodenCascaderProps as l } from "./components/cascader/types.mjs";
|
|
8
8
|
import { default as x } from "./components/config-provider/config-provider.mjs";
|
|
9
9
|
import { default as B } from "./components/data-table/index.vue.mjs";
|
|
10
|
-
import { default as
|
|
10
|
+
import { default as c } from "./components/dialog/index.vue.mjs";
|
|
11
11
|
import { default as T } from "./components/input-number/index.vue.mjs";
|
|
12
12
|
import { default as y } from "./components/BaseLayout/index.vue.mjs";
|
|
13
13
|
import { default as A } from "./components/BaseLayout/ASide/index.vue.mjs";
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
14
|
+
import { default as P } from "./components/BaseLayout/AsideMenu/index.vue.mjs";
|
|
15
|
+
import { default as k } from "./components/BaseLayout/Header/index.vue.mjs";
|
|
16
|
+
import { default as v } from "./components/BaseLayout/Default/index.vue.mjs";
|
|
17
|
+
import { default as M } from "./components/global-header/index.vue.mjs";
|
|
18
|
+
import { default as N } from "./components/global-header/title.vue.mjs";
|
|
19
19
|
import { default as O } from "./components/layout/index.vue.mjs";
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { bodenAsideMenuProps as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
20
|
+
import { default as j } from "./components/layout/header/index.vue.mjs";
|
|
21
|
+
import { default as z } from "./components/layout/aside/index.vue.mjs";
|
|
22
|
+
import { default as F } from "./components/layout/aside-menu/aside-menu.mjs";
|
|
23
|
+
import { bodenAsideMenuProps as R } from "./components/layout/aside-menu/props.mjs";
|
|
24
|
+
import { default as q } from "./components/logo/index.vue.mjs";
|
|
25
|
+
import { default as Q } from "./components/nav-icon/index.vue.mjs";
|
|
26
|
+
import { default as W } from "./components/radio/index.vue.mjs";
|
|
27
|
+
import { default as Y } from "./components/product-introduction/index.vue.mjs";
|
|
28
28
|
import { default as $ } from "./components/progress/index.mjs";
|
|
29
29
|
import { default as oe } from "./components/select/index.vue.mjs";
|
|
30
30
|
import { default as te } from "./components/slider/index.vue.mjs";
|
|
@@ -34,69 +34,71 @@ import { default as me } from "./components/system-actions/index.vue.mjs";
|
|
|
34
34
|
import { default as le, bodenTabsProps as ne } from "./components/tabs/tabs.mjs";
|
|
35
35
|
import { configProviderInjectionKey as ie } from "./config/themes/index.mjs";
|
|
36
36
|
import { useAnimationHook as he } from "./hooks/useAnimationHook.mjs";
|
|
37
|
-
import { default as
|
|
37
|
+
import { default as ge } from "./locale/lang/en-us.mjs";
|
|
38
38
|
import { default as be } from "./locale/lang/zh-cn.mjs";
|
|
39
|
-
import { default as Le } from "./
|
|
40
|
-
import {
|
|
41
|
-
import { default as
|
|
42
|
-
import {
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as De } from "./config/themes/
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
39
|
+
import { default as Le } from "./locale/http/en-us.mjs";
|
|
40
|
+
import { default as Ce } from "./locale/http/zh-cn.mjs";
|
|
41
|
+
import { default as Se } from "./globalMethods/index.mjs";
|
|
42
|
+
import { renderStepsFinishIcon as He } from "./utils/render.mjs";
|
|
43
|
+
import { default as Ie } from "./config/themes/token/dark.mjs";
|
|
44
|
+
import { default as De } from "./config/themes/token/light.mjs";
|
|
45
|
+
import { default as Ge } from "./config/themes/color/dark.mjs";
|
|
46
|
+
import { default as Ue } from "./config/themes/color/light.mjs";
|
|
47
|
+
import { default as we } from "./globalMethods/modules/message.mjs";
|
|
48
|
+
import { default as Ee } from "./globalMethods/modules/confirmTip.mjs";
|
|
48
49
|
import { lightThemeOverrides as Ke } from "./config/themes/light.mjs";
|
|
49
|
-
import { darkThemeOverrides as
|
|
50
|
-
import { ChartsThemeDark as
|
|
51
|
-
import { ChartsThemeLight as
|
|
50
|
+
import { darkThemeOverrides as Ze } from "./config/themes/dark.mjs";
|
|
51
|
+
import { ChartsThemeDark as Je } from "./config/themes/components/charts/dark.mjs";
|
|
52
|
+
import { ChartsThemeLight as Ve } from "./config/themes/components/charts/light.mjs";
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
P as BaseAsideMenu,
|
|
55
|
+
v as BaseDefaultLayout,
|
|
55
56
|
y as BaseLayout,
|
|
56
57
|
A as BaseLayoutAside,
|
|
57
|
-
|
|
58
|
+
k as BaseLayoutHeader,
|
|
58
59
|
d as BodenAppProvider,
|
|
59
|
-
|
|
60
|
+
F as BodenAsideMenu,
|
|
60
61
|
s as BodenButton,
|
|
61
62
|
m as BodenCascader,
|
|
62
63
|
x as BodenConfigProvider,
|
|
63
64
|
B as BodenDataTable,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
c as BodenDialog,
|
|
66
|
+
M as BodenGlobalHeader,
|
|
67
|
+
N as BodenGlobalHeaderTitle,
|
|
67
68
|
T as BodenInputNumber,
|
|
68
69
|
O as BodenLayout,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
z as BodenLayoutAside,
|
|
71
|
+
j as BodenLayoutHeader,
|
|
72
|
+
q as BodenLogo,
|
|
73
|
+
Q as BodenNavIcon,
|
|
74
|
+
Y as BodenProductIntroduction,
|
|
74
75
|
$ as BodenProgress,
|
|
75
|
-
|
|
76
|
+
W as BodenRadio,
|
|
76
77
|
oe as BodenSelect,
|
|
77
78
|
te as BodenSlider,
|
|
78
79
|
de as BodenSteps,
|
|
79
80
|
se as BodenSwitch,
|
|
80
81
|
me as BodenSystemActions,
|
|
81
82
|
le as BodenTabs,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
Je as ChartsThemeDark,
|
|
84
|
+
Ve as ChartsThemeLight,
|
|
85
|
+
Le as HttpEnUS,
|
|
86
|
+
Ce as HttpZhCN,
|
|
87
|
+
R as bodenAsideMenuProps,
|
|
86
88
|
l as bodenCascaderProps,
|
|
87
89
|
ne as bodenTabsProps,
|
|
88
90
|
ie as configProviderInjectionKey,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
Ge as darkBase,
|
|
92
|
+
Ze as darkThemeOverrides,
|
|
93
|
+
Ie as darkToken,
|
|
94
|
+
ge as enUS,
|
|
95
|
+
Ue as lightBase,
|
|
94
96
|
Ke as lightThemeOverrides,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
97
|
+
De as lightToken,
|
|
98
|
+
Se as registerBodenGlobalMethods,
|
|
99
|
+
He as renderStepsFinishIcon,
|
|
98
100
|
he as useAnimationHook,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
Ee as useConfirmTip,
|
|
102
|
+
we as useMessage,
|
|
101
103
|
be as zhCN
|
|
102
104
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const enUS: {
|
|
2
|
+
name: string;
|
|
3
|
+
unauthorized: string;
|
|
4
|
+
forbidden: string;
|
|
5
|
+
success: {
|
|
6
|
+
unknown: string;
|
|
7
|
+
warning: string;
|
|
8
|
+
success: string;
|
|
9
|
+
parameterProblem: string;
|
|
10
|
+
userExists: string;
|
|
11
|
+
resourceExists: string;
|
|
12
|
+
resourceBeenBound: string;
|
|
13
|
+
resourceCannotModified: string;
|
|
14
|
+
resourceCannotDeleted: string;
|
|
15
|
+
resourceBeenClaimed: string;
|
|
16
|
+
resourceBeenSuspended: string;
|
|
17
|
+
resourceNotExist: string;
|
|
18
|
+
resourceBeingCreated: string;
|
|
19
|
+
resourceBeingUpdated: string;
|
|
20
|
+
resourceBeingDeleted: string;
|
|
21
|
+
resourceBeingSubmitted: string;
|
|
22
|
+
resourceBeingRejected: string;
|
|
23
|
+
resourceBeingOccupied: string;
|
|
24
|
+
resourceNotSupport: string;
|
|
25
|
+
resourceUnauthorized: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type BodenHttpLocale = typeof enUS;
|
|
29
|
+
export default enUS;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
name: "en-us",
|
|
3
|
+
unauthorized: "Authentication Failed, Please Re-login",
|
|
4
|
+
forbidden: "No Permission to Access This Resource",
|
|
5
|
+
success: {
|
|
6
|
+
unknown: "Unknown System Error, Please Try Again Later",
|
|
7
|
+
// 1
|
|
8
|
+
warning: "Warning",
|
|
9
|
+
// 2
|
|
10
|
+
success: "Success",
|
|
11
|
+
// 200
|
|
12
|
+
parameterProblem: "Invalid Parameter Input",
|
|
13
|
+
// 10000
|
|
14
|
+
userExists: "Username Already Exists",
|
|
15
|
+
// 20000
|
|
16
|
+
resourceExists: "Resource Name Already Exists",
|
|
17
|
+
// 30000
|
|
18
|
+
resourceBeenBound: "Resource Has Been Reused/Bound",
|
|
19
|
+
// 30001
|
|
20
|
+
resourceCannotModified: "Used Resource Cannot Be Modified",
|
|
21
|
+
// 30002
|
|
22
|
+
resourceCannotDeleted: "Used Resource Cannot Be Deleted",
|
|
23
|
+
// 30003
|
|
24
|
+
resourceBeenClaimed: "Resource Has Been Claimed",
|
|
25
|
+
// 30004
|
|
26
|
+
resourceBeenSuspended: "Resource Is Suspended, Operation Not Allowed",
|
|
27
|
+
// 30005
|
|
28
|
+
resourceNotExist: "Resource Does Not Exist",
|
|
29
|
+
// 30006
|
|
30
|
+
resourceBeingCreated: "Resource Is Being Created, Please Try Later",
|
|
31
|
+
// 30007
|
|
32
|
+
resourceBeingUpdated: "Resource Is Being Updated, Please Try Later",
|
|
33
|
+
// 30008
|
|
34
|
+
resourceBeingDeleted: "Resource Is Being Deleted, Please Try Later",
|
|
35
|
+
// 30009
|
|
36
|
+
resourceBeingSubmitted: "Resource Is Being Submitted, Please Try Later",
|
|
37
|
+
// 30010
|
|
38
|
+
resourceBeingRejected: "Resource Is Being Rejected, Please Try Later",
|
|
39
|
+
// 30011
|
|
40
|
+
resourceBeingOccupied: "Resource Is Occupied, Please Try Later",
|
|
41
|
+
// 30012
|
|
42
|
+
resourceNotSupport: "Resource Status Does Not Support This Operation",
|
|
43
|
+
// 30013
|
|
44
|
+
resourceUnauthorized: "No Permission to Use This Resource"
|
|
45
|
+
// 30014
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
e as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
name: "zh-cn",
|
|
3
|
+
unauthorized: "身份验证失败,请重新登录",
|
|
4
|
+
forbidden: "暂无权限访问该资源",
|
|
5
|
+
success: {
|
|
6
|
+
unknown: "系统发生未知异常,请稍后重试",
|
|
7
|
+
// 1
|
|
8
|
+
warning: "警告",
|
|
9
|
+
// 2
|
|
10
|
+
success: "操作成功",
|
|
11
|
+
// 200
|
|
12
|
+
parameterProblem: "参数输入不合法",
|
|
13
|
+
// 10000
|
|
14
|
+
userExists: "用户名已存在",
|
|
15
|
+
// 20000
|
|
16
|
+
resourceExists: "资源名称已存在",
|
|
17
|
+
// 30000
|
|
18
|
+
resourceBeenBound: "资源已被重复使用 / 绑定",
|
|
19
|
+
// 30001
|
|
20
|
+
resourceCannotModified: "已使用的资源不可修改",
|
|
21
|
+
// 30002
|
|
22
|
+
resourceCannotDeleted: "已使用的资源不可删除",
|
|
23
|
+
// 30003
|
|
24
|
+
resourceBeenClaimed: "资源已被领取",
|
|
25
|
+
// 30004
|
|
26
|
+
resourceBeenSuspended: "资源已挂起,无法操作",
|
|
27
|
+
// 30005
|
|
28
|
+
resourceNotExist: "资源不存在",
|
|
29
|
+
// 30006
|
|
30
|
+
resourceBeingCreated: "资源创建中,请稍后操作",
|
|
31
|
+
// 30007
|
|
32
|
+
resourceBeingUpdated: "资源更新中,请稍后操作",
|
|
33
|
+
// 30008
|
|
34
|
+
resourceBeingDeleted: "资源删除中,请稍后操作",
|
|
35
|
+
// 30009
|
|
36
|
+
resourceBeingSubmitted: "资源提交中,请稍后操作",
|
|
37
|
+
// 30010
|
|
38
|
+
resourceBeingRejected: "资源驳回中,请稍后操作",
|
|
39
|
+
// 30011
|
|
40
|
+
resourceBeingOccupied: "资源被占用,请稍后重试",
|
|
41
|
+
// 30012
|
|
42
|
+
resourceNotSupport: "资源状态不支持该操作",
|
|
43
|
+
// 30013
|
|
44
|
+
resourceUnauthorized: "无权限使用该资源"
|
|
45
|
+
// 30014
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
e as default
|
|
50
|
+
};
|
package/es/locale/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { default as enUS } from './lang/en-us';
|
|
2
2
|
export type { BaseLocale } from './lang/en-us';
|
|
3
3
|
export { default as zhCN } from './lang/zh-cn';
|
|
4
|
+
export { default as HttpEnUS } from './http/en-us';
|
|
5
|
+
export type { BodenHttpLocale } from './http/en-us';
|
|
6
|
+
export { default as HttpZhCN } from './http/zh-cn';
|
|
@@ -21,32 +21,6 @@ declare const enUS: {
|
|
|
21
21
|
BcollectionPlatformDescription: string;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
httpStatusMsg: {
|
|
25
|
-
unauthorized: string;
|
|
26
|
-
forbidden: string;
|
|
27
|
-
success: {
|
|
28
|
-
unknown: string;
|
|
29
|
-
warning: string;
|
|
30
|
-
success: string;
|
|
31
|
-
parameterProblem: string;
|
|
32
|
-
userExists: string;
|
|
33
|
-
resourceExists: string;
|
|
34
|
-
resourceBeenBound: string;
|
|
35
|
-
resourceCannotModified: string;
|
|
36
|
-
resourceCannotDeleted: string;
|
|
37
|
-
resourceBeenClaimed: string;
|
|
38
|
-
resourceBeenSuspended: string;
|
|
39
|
-
resourceNotExist: string;
|
|
40
|
-
resourceBeingCreated: string;
|
|
41
|
-
resourceBeingUpdated: string;
|
|
42
|
-
resourceBeingDeleted: string;
|
|
43
|
-
resourceBeingSubmitted: string;
|
|
44
|
-
resourceBeingRejected: string;
|
|
45
|
-
resourceBeingOccupied: string;
|
|
46
|
-
resourceNotSupport: string;
|
|
47
|
-
resourceUnauthorized: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
24
|
};
|
|
51
25
|
export type BaseLocale = typeof enUS;
|
|
52
26
|
export default enUS;
|
package/es/locale/lang/en-us.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = {
|
|
2
2
|
name: "en-us",
|
|
3
3
|
boden: {
|
|
4
4
|
systemActions: {
|
|
@@ -20,54 +20,8 @@ const e = {
|
|
|
20
20
|
BcollectionPlatform: "Bcollection 数据采集平台",
|
|
21
21
|
BcollectionPlatformDescription: "全场景数据采集,全链路价值护航"
|
|
22
22
|
}
|
|
23
|
-
},
|
|
24
|
-
httpStatusMsg: {
|
|
25
|
-
unauthorized: "Authentication Failed, Please Re-login",
|
|
26
|
-
forbidden: "No Permission to Access This Resource",
|
|
27
|
-
success: {
|
|
28
|
-
unknown: "Unknown System Error, Please Try Again Later",
|
|
29
|
-
// 1
|
|
30
|
-
warning: "Warning",
|
|
31
|
-
// 2
|
|
32
|
-
success: "Success",
|
|
33
|
-
// 200
|
|
34
|
-
parameterProblem: "Invalid Parameter Input",
|
|
35
|
-
// 10000
|
|
36
|
-
userExists: "Username Already Exists",
|
|
37
|
-
// 20000
|
|
38
|
-
resourceExists: "Resource Name Already Exists",
|
|
39
|
-
// 30000
|
|
40
|
-
resourceBeenBound: "Resource Has Been Reused/Bound",
|
|
41
|
-
// 30001
|
|
42
|
-
resourceCannotModified: "Used Resource Cannot Be Modified",
|
|
43
|
-
// 30002
|
|
44
|
-
resourceCannotDeleted: "Used Resource Cannot Be Deleted",
|
|
45
|
-
// 30003
|
|
46
|
-
resourceBeenClaimed: "Resource Has Been Claimed",
|
|
47
|
-
// 30004
|
|
48
|
-
resourceBeenSuspended: "Resource Is Suspended, Operation Not Allowed",
|
|
49
|
-
// 30005
|
|
50
|
-
resourceNotExist: "Resource Does Not Exist",
|
|
51
|
-
// 30006
|
|
52
|
-
resourceBeingCreated: "Resource Is Being Created, Please Try Later",
|
|
53
|
-
// 30007
|
|
54
|
-
resourceBeingUpdated: "Resource Is Being Updated, Please Try Later",
|
|
55
|
-
// 30008
|
|
56
|
-
resourceBeingDeleted: "Resource Is Being Deleted, Please Try Later",
|
|
57
|
-
// 30009
|
|
58
|
-
resourceBeingSubmitted: "Resource Is Being Submitted, Please Try Later",
|
|
59
|
-
// 30010
|
|
60
|
-
resourceBeingRejected: "Resource Is Being Rejected, Please Try Later",
|
|
61
|
-
// 30011
|
|
62
|
-
resourceBeingOccupied: "Resource Is Occupied, Please Try Later",
|
|
63
|
-
// 30012
|
|
64
|
-
resourceNotSupport: "Resource Status Does Not Support This Operation",
|
|
65
|
-
// 30013
|
|
66
|
-
resourceUnauthorized: "No Permission to Use This Resource"
|
|
67
|
-
// 30014
|
|
68
|
-
}
|
|
69
23
|
}
|
|
70
24
|
};
|
|
71
25
|
export {
|
|
72
|
-
|
|
26
|
+
o as default
|
|
73
27
|
};
|
package/es/locale/lang/zh-cn.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = {
|
|
2
2
|
name: "zh-cn",
|
|
3
3
|
boden: {
|
|
4
4
|
systemActions: {
|
|
5
|
-
userCenter: "
|
|
6
|
-
logout: "
|
|
5
|
+
userCenter: "个人中心",
|
|
6
|
+
logout: "退出账号"
|
|
7
7
|
},
|
|
8
8
|
productIntroduction: {
|
|
9
9
|
allProducts: "全部产品",
|
|
@@ -20,54 +20,8 @@ const e = {
|
|
|
20
20
|
BcollectionPlatform: "Bcollection 数据采集平台",
|
|
21
21
|
BcollectionPlatformDescription: "全场景数据采集,全链路价值护航"
|
|
22
22
|
}
|
|
23
|
-
},
|
|
24
|
-
httpStatusMsg: {
|
|
25
|
-
unauthorized: "身份验证失败,请重新登录",
|
|
26
|
-
forbidden: "暂无权限访问该资源",
|
|
27
|
-
success: {
|
|
28
|
-
unknown: "系统发生未知异常,请稍后重试",
|
|
29
|
-
// 1
|
|
30
|
-
warning: "警告",
|
|
31
|
-
// 2
|
|
32
|
-
success: "操作成功",
|
|
33
|
-
// 200
|
|
34
|
-
parameterProblem: "参数输入不合法",
|
|
35
|
-
// 10000
|
|
36
|
-
userExists: "用户名已存在",
|
|
37
|
-
// 20000
|
|
38
|
-
resourceExists: "资源名称已存在",
|
|
39
|
-
// 30000
|
|
40
|
-
resourceBeenBound: "资源已被重复使用 / 绑定",
|
|
41
|
-
// 30001
|
|
42
|
-
resourceCannotModified: "已使用的资源不可修改",
|
|
43
|
-
// 30002
|
|
44
|
-
resourceCannotDeleted: "已使用的资源不可删除",
|
|
45
|
-
// 30003
|
|
46
|
-
resourceBeenClaimed: "资源已被领取",
|
|
47
|
-
// 30004
|
|
48
|
-
resourceBeenSuspended: "资源已挂起,无法操作",
|
|
49
|
-
// 30005
|
|
50
|
-
resourceNotExist: "资源不存在",
|
|
51
|
-
// 30006
|
|
52
|
-
resourceBeingCreated: "资源创建中,请稍后操作",
|
|
53
|
-
// 30007
|
|
54
|
-
resourceBeingUpdated: "资源更新中,请稍后操作",
|
|
55
|
-
// 30008
|
|
56
|
-
resourceBeingDeleted: "资源删除中,请稍后操作",
|
|
57
|
-
// 30009
|
|
58
|
-
resourceBeingSubmitted: "资源提交中,请稍后操作",
|
|
59
|
-
// 30010
|
|
60
|
-
resourceBeingRejected: "资源驳回中,请稍后操作",
|
|
61
|
-
// 30011
|
|
62
|
-
resourceBeingOccupied: "资源被占用,请稍后重试",
|
|
63
|
-
// 30012
|
|
64
|
-
resourceNotSupport: "资源状态不支持该操作",
|
|
65
|
-
// 30013
|
|
66
|
-
resourceUnauthorized: "无权限使用该资源"
|
|
67
|
-
// 30014
|
|
68
|
-
}
|
|
69
23
|
}
|
|
70
24
|
};
|
|
71
25
|
export {
|
|
72
|
-
|
|
26
|
+
o as default
|
|
73
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./WrapHeader.vue2.js");;/* empty css */const r=require("../../../_virtual/_plugin-vue_export-helper.js"),t=r.default(e.default,[["__scopeId","data-v-536ed35a"]]);exports.default=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("./title.vue.js"),q=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"),s=require("./title.vue.js"),q=require("../system-actions/index.vue.js");;/* empty css */require("../layout/options.js");;/* empty css */const a=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/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/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 d=require("../layout/aside-menu/aside-menu.js");require("../layout/aside-menu/props.js");const g=e.defineComponent({name:"BodenGlobalHeader",__name:"index",props:{isShowPlatformMenus:{type:Boolean,default:!0},platformMenusCode:{},userActionOption:{},userInfo:{},headerHeight:{},isShowProductIntroduction:{type:Boolean,default:!0},isShowLogo:{type:Boolean}},emits:["toggleUserItem","toggleSystemLang","toggleSystemTheme","toggleLogo"],setup(t){const i=e.ref("ADS"),n=e.computed(()=>[{key:"ADS",label:"ADS",routeKey:"",routePath:""},{key:"Studio",label:"Studio",routeKey:"",routePath:""},{key:"Multimodal",label:"Multimodal",routeKey:"",routePath:""}]),l=()=>{};return(o,r)=>(e.openBlock(),e.createBlock(e.unref(a.default),null,{title:e.withCtx(()=>[e.createVNode(s.default,{"is-show-logo":t.isShowLogo,"is-show-product-introduction":t.isShowProductIntroduction,"header-height":t.headerHeight},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"])]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[t.isShowPlatformMenus?(e.openBlock(),e.createBlock(e.unref(d.default),{key:0,mode:"horizontal",value:i.value,"onUpdate:value":[r[0]||(r[0]=u=>i.value=u),l],options:n.value,indent:18,responsive:""},null,8,["value","options"])):e.createCommentVNode("",!0)])]),actions:e.withCtx(()=>[e.createVNode(e.unref(q.default),{style:{"margin-left":"auto"},mode:"horizontal",userActionOption:t.userActionOption,userInfo:t.userInfo,onToggleSystemTheme:r[1]||(r[1]=u=>o.$emit("toggleSystemTheme")),onToggleSystemLang:r[2]||(r[2]=u=>o.$emit("toggleSystemLang")),onToggleUserItem:r[3]||(r[3]=u=>o.$emit("toggleUserItem"))},null,8,["userActionOption","userInfo"])]),_:3}))}});exports.default=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const r=require("../../../_virtual/_plugin-vue_export-helper.js"),t=r.default(e.default,[["__scopeId","data-v-a43da04d"]]);exports.default=t;
|