mamba-layout 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/index.css +1 -0
  2. package/dist/index.js.js +2560 -0
  3. package/dist/layout/hooks/useTheme.d.ts +6 -14
  4. package/dist/layout.es.js +5734 -5735
  5. package/dist/layout.global.js +30 -30
  6. package/package.json +1 -1
  7. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  8. package/dist/assets/logo.png.js +0 -4
  9. package/dist/components/UserAvatar/index.js +0 -5
  10. package/dist/components/UserAvatar/src/UserAvatar.css +0 -1
  11. package/dist/components/UserAvatar/src/UserAvatar.vue.js +0 -7
  12. package/dist/components/UserAvatar/src/UserAvatar.vue2.js +0 -61
  13. package/dist/components/index.js +0 -10
  14. package/dist/index.js +0 -35
  15. package/dist/layout/BaseLayout.css +0 -1
  16. package/dist/layout/BaseLayout.vue.js +0 -7
  17. package/dist/layout/BaseLayout.vue2.js +0 -111
  18. package/dist/layout/components/AppSelect.css +0 -1
  19. package/dist/layout/components/AppSelect.vue.js +0 -7
  20. package/dist/layout/components/AppSelect.vue2.js +0 -69
  21. package/dist/layout/components/AsideBar.css +0 -1
  22. package/dist/layout/components/AsideBar.vue.js +0 -7
  23. package/dist/layout/components/AsideBar.vue2.js +0 -49
  24. package/dist/layout/components/AsideSubMenuItem.vue.js +0 -84
  25. package/dist/layout/components/AsideSubMenuItem.vue2.js +0 -4
  26. package/dist/layout/components/AsideSubMenus.vue.js +0 -36
  27. package/dist/layout/components/AsideSubMenus.vue2.js +0 -4
  28. package/dist/layout/components/HeaderBar.css +0 -1
  29. package/dist/layout/components/HeaderBar.vue.js +0 -7
  30. package/dist/layout/components/HeaderBar.vue2.js +0 -55
  31. package/dist/layout/components/LanguageSelect.css +0 -1
  32. package/dist/layout/components/LanguageSelect.vue.js +0 -8
  33. package/dist/layout/components/LanguageSelect.vue2.js +0 -100
  34. package/dist/layout/components/LanguageSelect2.css +0 -1
  35. package/dist/layout/components/LayoutBreadcrumb.css +0 -1
  36. package/dist/layout/components/LayoutBreadcrumb.vue.js +0 -7
  37. package/dist/layout/components/LayoutBreadcrumb.vue2.js +0 -189
  38. package/dist/layout/components/MenuItemIcon.css +0 -1
  39. package/dist/layout/components/MenuItemIcon.vue.js +0 -7
  40. package/dist/layout/components/MenuItemIcon.vue2.js +0 -23
  41. package/dist/layout/components/NavIconBtn.css +0 -1
  42. package/dist/layout/components/NavIconBtn.vue.js +0 -7
  43. package/dist/layout/components/NavIconBtn.vue2.js +0 -23
  44. package/dist/layout/components/SHeaderRight.css +0 -1
  45. package/dist/layout/components/SHeaderRight.vue.js +0 -7
  46. package/dist/layout/components/SHeaderRight.vue2.js +0 -68
  47. package/dist/layout/components/ThemeToggle.css +0 -1
  48. package/dist/layout/components/ThemeToggle.vue.js +0 -7
  49. package/dist/layout/components/ThemeToggle.vue2.js +0 -30
  50. package/dist/layout/components/TimezoneSelect.css +0 -1
  51. package/dist/layout/components/TimezoneSelect.vue.js +0 -8
  52. package/dist/layout/components/TimezoneSelect.vue2.js +0 -78
  53. package/dist/layout/components/TimezoneSelect2.css +0 -1
  54. package/dist/layout/components/UserInfo.css +0 -1
  55. package/dist/layout/components/UserInfo.vue.js +0 -8
  56. package/dist/layout/components/UserInfo.vue2.js +0 -111
  57. package/dist/layout/components/UserInfo2.css +0 -1
  58. package/dist/layout/components/index.js +0 -8
  59. package/dist/layout/components/mobile/AppSelectMobile.vue.js +0 -60
  60. package/dist/layout/components/mobile/AppSelectMobile.vue2.js +0 -4
  61. package/dist/layout/components/mobile/AsideBarMobile.css +0 -1
  62. package/dist/layout/components/mobile/AsideBarMobile.vue.js +0 -7
  63. package/dist/layout/components/mobile/AsideBarMobile.vue2.js +0 -49
  64. package/dist/layout/components/mobile/AsideUserMobile.css +0 -1
  65. package/dist/layout/components/mobile/AsideUserMobile.vue.js +0 -7
  66. package/dist/layout/components/mobile/AsideUserMobile.vue2.js +0 -56
  67. package/dist/layout/components/mobile/AsideUserMobilePopover.css +0 -1
  68. package/dist/layout/components/mobile/AsideUserMobilePopover.vue.js +0 -7
  69. package/dist/layout/components/mobile/AsideUserMobilePopover.vue2.js +0 -52
  70. package/dist/layout/components/mobile/HeaderRightMobile.css +0 -1
  71. package/dist/layout/components/mobile/HeaderRightMobile.vue.js +0 -7
  72. package/dist/layout/components/mobile/HeaderRightMobile.vue2.js +0 -46
  73. package/dist/layout/components/mobile/MobileMenuToggle.css +0 -1
  74. package/dist/layout/components/mobile/MobileMenuToggle.vue.js +0 -7
  75. package/dist/layout/components/mobile/MobileMenuToggle.vue2.js +0 -33
  76. package/dist/layout/hooks/index.js +0 -21
  77. package/dist/layout/hooks/useApp.js +0 -20
  78. package/dist/layout/hooks/useSetting.js +0 -24
  79. package/dist/layout/hooks/useState.js +0 -100
  80. package/dist/layout/hooks/useTheme.js +0 -48
  81. package/dist/layout/utils/index.js +0 -54
  82. package/dist/locales/en/account.js +0 -12
  83. package/dist/locales/en/admin.js +0 -209
  84. package/dist/locales/en/common.js +0 -42
  85. package/dist/locales/en/components.js +0 -39
  86. package/dist/locales/en/constant.js +0 -153
  87. package/dist/locales/en/filterBox.js +0 -13
  88. package/dist/locales/en/index.js +0 -22
  89. package/dist/locales/en/instanceForm.js +0 -19
  90. package/dist/locales/en/password.js +0 -20
  91. package/dist/locales/index.js +0 -12
  92. package/dist/locales/messages.js +0 -9
  93. package/dist/locales/zh-cn/account.js +0 -12
  94. package/dist/locales/zh-cn/admin.js +0 -207
  95. package/dist/locales/zh-cn/common.js +0 -42
  96. package/dist/locales/zh-cn/components.js +0 -39
  97. package/dist/locales/zh-cn/constant.js +0 -153
  98. package/dist/locales/zh-cn/filterBox.js +0 -13
  99. package/dist/locales/zh-cn/index.js +0 -22
  100. package/dist/locales/zh-cn/instanceForm.js +0 -19
  101. package/dist/locales/zh-cn/password.js +0 -20
  102. package/dist/utils/createContext.js +0 -14
  103. package/dist/utils/repoUtils.js +0 -160
@@ -1,24 +0,0 @@
1
- import { unref as m, ref as n } from "vue";
2
- import { deepMerge as u } from "../../utils/repoUtils.js";
3
- import { syncThemeFromSetting as a } from "./useTheme.js";
4
- import { setLayoutStyle as i } from "../utils/index.js";
5
- const t = n({
6
- menus: [],
7
- layout: "classic",
8
- title: "",
9
- logo: "",
10
- tabs: "tab",
11
- pageType: "common"
12
- });
13
- function l() {
14
- return t;
15
- }
16
- const g = (o) => {
17
- const e = l(), r = o && m(o) || {};
18
- if (!(e != null && e.value)) return r;
19
- t.value = u(e.value, r), a(t.value.theme), i(t.value);
20
- };
21
- export {
22
- g as provideSetting,
23
- l as useSetting
24
- };
@@ -1,100 +0,0 @@
1
- import { ref as o, onActivated as K, onMounted as N, onUnmounted as W, watch as y } from "vue";
2
- import { useRoute as j } from "vue-router";
3
- import { createContext as k } from "../../utils/createContext.js";
4
- import { replaceName as z, tname as B, getRouteLastVisibleParentMenu as D } from "../../utils/repoUtils.js";
5
- import { useSetting as H } from "./useSetting.js";
6
- const U = 1024, [Q, V] = k("LayoutRoot");
7
- function X() {
8
- const s = j(), h = o([]), r = o(), C = o(), u = o(""), i = o(""), L = o(""), m = H(), M = o(!0), I = o(!1), O = o(), v = () => {
9
- var t;
10
- return ((t = m.value.menus) == null ? void 0 : t.filter((d) => {
11
- var n;
12
- return ((n = d.meta) == null ? void 0 : n.appId) == i.value;
13
- })) || [];
14
- }, b = (t, d, n = 0, f) => {
15
- var x, w, R, E;
16
- const l = f ? [...f] : [], p = [], P = [];
17
- for (const e in t) {
18
- [...l], t[e];
19
- const a = ((x = s.meta) == null ? void 0 : x.parent) || s.path, c = ((w = t[e].path) == null ? void 0 : w.replace(/\/:(\w+)/g, "/([^/]+)")) || "", $ = new RegExp(`^${c}$`);
20
- a == t[e].path ? p.push({ index: e, item: t[e] }) : $.test(a) && P.push({ index: e, item: t[e] });
21
- }
22
- const g = p.length > 0 ? p : P;
23
- if (g.length > 0) {
24
- const e = g[0], a = [...l];
25
- a[n] = e.item, r.value = {
26
- ...e.item,
27
- paths: a.slice(0, n + 1)
28
- }, i.value = ((R = e.item.meta) == null ? void 0 : R.appId) || "", C.value = d;
29
- }
30
- for (const e in t)
31
- if (t[e].children && ((E = t[e].children) != null && E.length)) {
32
- const a = t[e].children || [], c = [...l];
33
- c[n] = t[e], b(a, t[e], n + 1, c);
34
- }
35
- L.value = s.meta.parentPath || D(
36
- s.path.toLowerCase(),
37
- m.value.menus || []
38
- ) || s.path;
39
- }, A = () => {
40
- var f, l, p, P, g, x, w, R, E, e;
41
- b(m.value.menus || []), i.value || (i.value = ((p = (l = (f = m.value.menus) == null ? void 0 : f.find(
42
- (a) => {
43
- var c;
44
- return (c = a.path) == null ? void 0 : c.startsWith(u.value);
45
- }
46
- )) == null ? void 0 : l.meta) == null ? void 0 : p.appId) || "");
47
- const t = ((P = r.value) == null ? void 0 : P.paths) || [], d = z(
48
- B(((x = (g = r.value) == null ? void 0 : g.meta) == null ? void 0 : x.translations) || {}, "name")
49
- ), n = ((w = r.value) == null ? void 0 : w.path) == ((R = t[1]) == null ? void 0 : R.path) ? "" : z(B(((e = (E = t[1]) == null ? void 0 : E.meta) == null ? void 0 : e.translations) || {}, "name"));
50
- document.title = d + (n ? ` - ${n}` : "");
51
- }, T = () => {
52
- u.value = "/" + (s.path.split("/").filter(Boolean).shift() || ""), A(), h.value = v();
53
- };
54
- T(), K(() => {
55
- T();
56
- });
57
- const S = () => {
58
- const t = window.innerWidth < U;
59
- I.value = t, M.value = !t;
60
- };
61
- return S(), N(() => {
62
- window.addEventListener("resize", S);
63
- }), W(() => {
64
- window.removeEventListener("resize", S);
65
- }), y(
66
- () => u.value,
67
- () => void (h.value = v())
68
- ), y(
69
- () => [s.path, m.value.menus],
70
- () => {
71
- L.value = "", r.value = void 0, u.value = "/" + (s.path.split("/").filter(Boolean).shift() || ""), A(), h.value = v(), I.value && (M.value = !1);
72
- }
73
- ), V({
74
- menus: h,
75
- currentEndRoute: r,
76
- currentTabPath: u,
77
- currentAppId: i,
78
- defaultParentActive: L,
79
- sideOpen: M,
80
- isMobile: I,
81
- getMenus: v,
82
- currentEndParentRoute: C
83
- }), {
84
- menus: h,
85
- currentEndRoute: r,
86
- currentTabPath: u,
87
- currentAppId: i,
88
- defaultParentActive: L,
89
- sideOpen: M,
90
- isMobile: I,
91
- getMenus: v,
92
- currentEndParentRoute: C,
93
- leftScrollRef: O
94
- };
95
- }
96
- export {
97
- Q as injectLayoutContext,
98
- V as provideLayoutContext,
99
- X as useStateHook
100
- };
@@ -1,48 +0,0 @@
1
- import { computed as m, ref as o } from "vue";
2
- import { Storage as s } from "../../utils/repoUtils.js";
3
- const u = "theme", f = "(prefers-color-scheme: dark)", r = o("light"), n = o(!1);
4
- let a = !1;
5
- const d = (e) => e === "dark" || e === "light" ? e : null, h = () => typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia(f).matches ? "dark" : "light", T = (e) => {
6
- const t = d(s.get(u, null));
7
- return t ? (n.value = !0, t) : e || h();
8
- }, c = (e) => {
9
- typeof document > "u" || document.documentElement.classList.toggle("dark", e === "dark");
10
- };
11
- function l(e) {
12
- const t = T(e);
13
- return r.value = t, c(t), a = !0, t;
14
- }
15
- function i(e, t) {
16
- r.value = e, c(e), (t == null ? void 0 : t.persist) !== !1 && (s.set(u, e, null), n.value = !0);
17
- }
18
- function g() {
19
- i(r.value === "dark" ? "light" : "dark");
20
- }
21
- function k(e) {
22
- if (!a) {
23
- l(e);
24
- return;
25
- }
26
- !n.value && e && i(e, { persist: !1 });
27
- }
28
- function w() {
29
- return {
30
- theme: r,
31
- isDark: m(() => r.value === "dark"),
32
- initTheme: l,
33
- setTheme: i,
34
- toggleTheme: g,
35
- syncThemeFromSetting: k
36
- };
37
- }
38
- export {
39
- c as applyThemeClass,
40
- h as getBrowserPreferredTheme,
41
- l as initTheme,
42
- d as normalizeTheme,
43
- T as resolveTheme,
44
- i as setTheme,
45
- k as syncThemeFromSetting,
46
- g as toggleTheme,
47
- w as useTheme
48
- };
@@ -1,54 +0,0 @@
1
- const u = () => typeof location > "u" ? "" : location.href, p = (e) => (e == null ? void 0 : e.loginPath) || `/login?redirect=${encodeURIComponent(u())}`, $ = (e) => {
2
- typeof location > "u" || (location.href = p(e));
3
- }, C = (e) => (e == null ? void 0 : e.userCenterPath) || "/usercenter/home", L = (e) => {
4
- var a;
5
- const o = e.themeColor, n = {};
6
- if (o)
7
- for (const r in o) {
8
- if (!o[r]) continue;
9
- const i = "--layout-" + r.replace(/([A-Z])/g, "-$1").toLocaleLowerCase();
10
- n[i] = o[r], r == "colorPrimary" && f(o[r]);
11
- }
12
- let t = document.getElementById("layout-style");
13
- t && ((a = t.parentNode) == null || a.removeChild(t)), t = document.createElement("style"), t.id = "layout-style", document.head.appendChild(t);
14
- const l = Object.keys(n).map((r) => r + ":" + n[r]).join(";");
15
- t.innerHTML = `html:root{${l}}`;
16
- };
17
- function f(e) {
18
- var l;
19
- let o = document.getElementById("primary-style");
20
- if (e == "theme-default" && o) {
21
- (l = o.parentNode) == null || l.removeChild(o);
22
- return;
23
- }
24
- const n = g(e);
25
- o || (o = document.createElement("style"), o.id = "primary-style", document.head.appendChild(o));
26
- const t = Object.keys(n).map((a) => a + ":" + n[a]).join(";");
27
- o.innerHTML = `html:root{${t}}`;
28
- }
29
- function g(e) {
30
- var d;
31
- const o = ((d = e.match(/\d+/g)) == null ? void 0 : d.map(Number)) || [], [n, t, l] = o, a = `rgb(${n}, ${t}, ${l})`, r = (m) => {
32
- const c = m / 100, y = Math.min(255, n + (255 - n) * c), h = Math.min(255, t + (255 - t) * c), s = Math.min(255, l + (255 - l) * c);
33
- return `rgb(${y.toFixed(1)}, ${h.toFixed(1)}, ${s.toFixed(1)})`;
34
- }, i = (m) => {
35
- const c = 1 - m / 100;
36
- return `rgb(${Math.round(n * c)} ${Math.round(t * c)} ${Math.round(l * c)})`;
37
- };
38
- return {
39
- "--el-color-primary": a,
40
- "--el-color-primary-light-3": r(30),
41
- "--el-color-primary-light-5": r(50),
42
- "--el-color-primary-light-7": r(70),
43
- "--el-color-primary-light-8": r(80),
44
- "--el-color-primary-light-9": r(90),
45
- "--el-color-primary-dark-2": i(20)
46
- };
47
- }
48
- export {
49
- p as getLayoutLoginPath,
50
- C as getLayoutUserCenterPath,
51
- $ as redirectToLayoutLogin,
52
- L as setLayoutStyle,
53
- f as setPrimaryColor
54
- };
@@ -1,12 +0,0 @@
1
- const a = {
2
- label: {
3
- clickToChangeImage: "Click to change image"
4
- },
5
- msg: {
6
- uploadIng: "Uploading...",
7
- agreementTip1: "Terms of Service and Privacy Policy"
8
- }
9
- };
10
- export {
11
- a as default
12
- };
@@ -1,209 +0,0 @@
1
- const e = {
2
- label: {
3
- agreement: "I agree to",
4
- and: "and",
5
- privacy: "Privacy Policy",
6
- userPolicy: "User Agreement",
7
- profile: "Profile",
8
- dataValue: "Data Value",
9
- tagName: "Tag Name",
10
- sort: "Sort",
11
- notes: "Notes",
12
- query: "Search",
13
- type: "Type",
14
- describe: "Description",
15
- creationTime: "Created At",
16
- description: "Description",
17
- status: "Status",
18
- user: "User",
19
- userId: "User ID",
20
- userName: "Username",
21
- fullName: "Full Name",
22
- contactNum: "Contact Number",
23
- email: "Email",
24
- password: "Password",
25
- confirmPassword: "Confirm Password",
26
- role: "Role",
27
- companyName: "Company Name",
28
- tenantId: "Tenant ID",
29
- adminUsername: "Admin Username",
30
- adminName: "Admin Name",
31
- adminPhone: "Admin Phone",
32
- adminEmail: "Admin Email",
33
- adminInfo: "Administrator Info",
34
- belongService: "Associated Service",
35
- roleName: "Role Name",
36
- roleCode: "Role Code",
37
- roleDesc: "Role Description",
38
- roleAuth: "Role Permissions",
39
- menuAuth: "Menu Permissions",
40
- menuName: "Menu Name",
41
- menu: "Menu",
42
- button: "Button",
43
- rootMenu: "Root Menu",
44
- parent: "Parent",
45
- menuPath: "Menu Path",
46
- icon: "Icon",
47
- permission: "Permission",
48
- name: "Display Name",
49
- menuPermissionAuth: "Menu Permission Assignment",
50
- available: "Available",
51
- unavailable: "Unavailable",
52
- categoryName: "Category Name",
53
- path: "Path",
54
- normal: "Normal",
55
- abnormal: "Abnormal",
56
- title: "Title",
57
- ipAddress: "IP Address",
58
- method: "Request Method",
59
- timeCons: "Time Consumed",
60
- requestTime: "Request Time",
61
- operator: "Operator",
62
- configType: "Configuration Type",
63
- dictType: "Dictionary Type",
64
- accountPassword: "Account Password",
65
- accountLogin: "Account Password Login",
66
- fastLogin: "Quick Login",
67
- loginAccount: "Login Account",
68
- phoneNum: "Phone Number",
69
- verifyCode: "Verification Code",
70
- application: "Application",
71
- basicInfo: "Basic Information",
72
- isHide: "Hidden",
73
- page: "Page",
74
- enterpriseDisplayName: "Company Display Name",
75
- register: "User Registration",
76
- effective: "Effective",
77
- ineffective: "Expired",
78
- emailLogin: "Email Login",
79
- welcomeLogin: "Welcome Back",
80
- welcomeRegister: "Welcome to Sign Up",
81
- multilingual: "Multilingual",
82
- userInfo: "User Information",
83
- securityInfo: "Security",
84
- personalInfo: "Personal Information",
85
- isPublicMenu: "Is Public Menu",
86
- oldPrefix: "Old Prefix",
87
- newPrefix: "New Prefix",
88
- aiInfra: "AI Infra",
89
- licenseValidity: "License Validity",
90
- license: "License",
91
- updateLicense: "Update License",
92
- activated: "Activated",
93
- notActivated: "Not Activated",
94
- expired: "Expired",
95
- productCode: "Product Code",
96
- expireTime: "Expire Time",
97
- remainingValidity: "Remaining Validity",
98
- days: "Days",
99
- managedInstanceCount: "Managed Instances",
100
- managedGpuCount: "Managed AI Cards",
101
- modelProxyCount: "Proxy Models",
102
- usageRate: "Usage Rate",
103
- managedInstanceCountDesc: "Number of resource instances created using third-party computing platforms for model inference, training, cloud servers, etc.",
104
- managedGpuCountDesc: "Number of user-owned bare-metal computing cards (such as GPU, NPU, XPU, TPU, etc.) managed by AGIOne",
105
- modelProxyCountDesc: "Number of models published using AGIOne platform for self-deployment or third-party platforms",
106
- efficientComputing: "Multi-model Routing",
107
- dataSecurity: "Secure Isolation",
108
- intelligentAnalysis: "Compute Governance",
109
- processManagement: "Audit & Billing",
110
- passwordLoginShort: "Password",
111
- emailCodeLogin: "Email code",
112
- usernameOrEmail: "Username or email",
113
- workEmail: "Work email",
114
- sixDigitCode: "6-digit code",
115
- readAndAgree: "I agree to the",
116
- privacyPolicy: "Privacy Policy",
117
- termsOfService: "Terms of Service",
118
- backToSignIn: "Back to Sign In",
119
- createYourAccount: "Create your account",
120
- createAccount: "Create an account",
121
- confirmPasswordShort: "Confirm password",
122
- signInToAGIOne: "Sign in to AGIOne",
123
- home: "Home"
124
- },
125
- btn: {
126
- cancel: "Cancel",
127
- changePassword: "Change Password",
128
- createApiKey: "Create API Key",
129
- disable: "Disable",
130
- enable: "Enable",
131
- auth: "Authorize",
132
- batchAdd: "Batch Add",
133
- permission: "Permissions",
134
- createTenant: "Create Tenant",
135
- resetPassword: "Reset Password",
136
- confirmPassword: "Confirm Password",
137
- oldPassword: "Old Password",
138
- newPassword: "New Password",
139
- registerAccount: "Register Account",
140
- getCode: "Get Verification Code",
141
- loginAccount: "Log in with an existing account",
142
- register: "Register",
143
- signIn: "Sign In",
144
- sendCode: "Send Code",
145
- createAccount: "Create account",
146
- batchReplacePrefix: "Batch Replace Prefix",
147
- copyJson: "Copy JSON",
148
- importJson: "Import JSON"
149
- },
150
- msg: {
151
- nameRule1: "Length: 2-20 characters, numbers, letters, or Chinese characters.",
152
- nameRule2: "May include letters, numbers, '_', Chinese characters, '(', ')', '-', '{'@'}', '.', or spaces.",
153
- nameRule3: "Cannot start or end with '_', '-', '{'@'}', '.', or spaces.",
154
- nameRuleError: "Name format error",
155
- pleaseEnterPassword: "Please re-enter your password",
156
- newPasswordNotEmpty: "New password cannot be empty",
157
- passwordNotSame: "Passwords do not match, please re-enter",
158
- confirmPasswordNotEmpty: "Confirm password cannot be empty",
159
- confirmDeleteUser: "Are you sure you want to delete user {0}?",
160
- userNameLengthError: "Username must be 2-20 characters long",
161
- adminUsernameLengthError: "Length must be 2-20 characters",
162
- adminUsernameRule3: "Only letters, numbers, '_', and '-' are allowed",
163
- confirmDeleteRole: "Are you sure you want to delete role {0}?",
164
- adminUsernameRule5: "May include letters, numbers, '_', Chinese characters, '(', ')', '-', '{'@'}', '.', or spaces.",
165
- batchAddSuccess: "Batch add successful, {0} records saved locally",
166
- importMenuTitle: "Import Menu JSON",
167
- pasteJson: "Paste JSON",
168
- pasteJsonPlaceholder: "Paste the copied menu JSON here...",
169
- invalidMenuFormat: "Invalid menu data format",
170
- importSuccess: "Import successful! Imported {0} menus.",
171
- importFailed: "Failed to import menus. Please check the JSON format.",
172
- pleaseEnterPhoneNum: "Please enter a valid phone number",
173
- usernameOrPasswordEmpty: "Username or password cannot be empty!",
174
- loginSuccess: "Login successful!",
175
- confirmPasswordError: "The confirmed password does not match the password. Please re-enter",
176
- registerSuccess: "Registration successful!",
177
- getCodeSuccess: "Verification code sent successfully",
178
- identifierRegistered: "This email has been registered and can be logged in directly",
179
- getCodeAgain: "Retry in {0}s",
180
- signingIn: "Signing in...",
181
- retrySendCode: "Retry in {0}s",
182
- pleaseEnterEmail: "Please enter a valid email address",
183
- enableMenu: "Do you want to enable menu [{0}]",
184
- disableMenu: "Do you want to disable menu [{0}]",
185
- langMsg1: "Will be displayed in {0} language environment",
186
- pleaseEnterLicense: "Please enter the license",
187
- apiKeyCreated: "New API Key Created",
188
- accessKey: "Access Key",
189
- secretKey: "Secret Key",
190
- copy: "Copy",
191
- apiKeySecretNotice: "The secret key is only visible during creation and is not stored by the system. Please copy it immediately and save it offline.",
192
- dynamicKey: "Dynamic Key",
193
- authToken: "Auth Token",
194
- extendAmount: "Extension Amount",
195
- timeUnit: "Time Unit",
196
- year: "Year",
197
- month: "Month",
198
- day: "Day",
199
- hour: "Hour",
200
- keyTypeTooltip: 'Auth Token only contains AK for model service authentication, lightweight and convenient; Dynamic Key contains AK and SK (starting with "sk-"), using dual authentication mechanism for higher security.',
201
- aiInfra: "Pan-AI Aggregation and Distribution Services",
202
- aiInfraDesc: "Realize online distribution and usage such as model calling, AI application construction, data and tool services through API scheduling.",
203
- loginHeroTitle: "Enterprise AI Platform for Model Services & Compute",
204
- loginHeroDesc: "Unified API access to multi-model routing, compute orchestration, and AI service operations, built for enterprise."
205
- }
206
- };
207
- export {
208
- e as default
209
- };
@@ -1,42 +0,0 @@
1
- const e = {
2
- btn: {
3
- agree: "Agree",
4
- disagree: "Disagree",
5
- create: "Create {0}",
6
- add: "Add {0}",
7
- delete: "Delete {0}",
8
- save: "Save",
9
- edit: "Edit {0}",
10
- cancel: "Cancel {0}",
11
- upload: "Upload {0}",
12
- copy: "Copy {0}",
13
- selectAll: "Select All",
14
- modify: "Modify {0}",
15
- confirm: "Confirm",
16
- logout: "Sign Out",
17
- login: "Sign In",
18
- loginLoading: "Signing in...",
19
- operation: "Operation"
20
- },
21
- rule: {
22
- formatError: "Invalid {0} format"
23
- },
24
- label: {
25
- all: "All",
26
- operation: "Actions",
27
- tip: "Tip",
28
- search: "Search {0}"
29
- },
30
- msg: {
31
- pleaseSelect: "Please select {0}",
32
- success: "{0} successful",
33
- pleaseEnter: "Please enter {0}",
34
- confirmDelete: "Are you sure you want to delete {0}?",
35
- fail: "{0} failed"
36
- },
37
- pleaseSelect: "Please select {0}",
38
- seeMore: "See More"
39
- };
40
- export {
41
- e as default
42
- };
@@ -1,39 +0,0 @@
1
- const e = {
2
- notFound: {
3
- title: "Coming Soon!",
4
- description: "This page is under development. Please refresh the page or click the button below to return to the homepage.",
5
- backToHome: "Back to Homepage"
6
- },
7
- exportImport: {
8
- selectExportTemplate: "Select Export Template",
9
- selectImportMethod: "Select Import Method",
10
- selectZipFile: "Select a zip file",
11
- selectFolder: "Select a folder",
12
- unsupportedFileFormat: "Unsupported file format",
13
- importSuccess: "Import completed! Success: {0}, Skipped: {1}, Failed: {2}",
14
- importComplete: "Import Complete",
15
- importStats: "Successfully imported {0} items, failed {1} items, skipped {2} items",
16
- total: "Total",
17
- success: "Success",
18
- failed: "Failed",
19
- skipped: "Skipped",
20
- retry: "Retry",
21
- import: "Import",
22
- cancel: "Cancel",
23
- clear: "Clear",
24
- pleaseUploadFile: "Please upload files first",
25
- uploadWarning: "Files are currently being uploaded, your changes may not be saved!"
26
- },
27
- layout: {
28
- docsCenter: "Docs"
29
- },
30
- fileSelector: {
31
- dragOrClick: "Drag and drop {fileText} here, or click the button below",
32
- selectFile: "Select {fileText}",
33
- folder: "folder",
34
- file: "file"
35
- }
36
- };
37
- export {
38
- e as default
39
- };
@@ -1,153 +0,0 @@
1
- const e = {
2
- label: {
3
- languageModel: "Language Model"
4
- },
5
- dialogueSource: {
6
- 1: "Online Chat",
7
- 2: "Debug",
8
- 3: "Application API Call",
9
- 4: "Vector Generation",
10
- 5: "Model API Call"
11
- },
12
- versionStatus: {
13
- 0: "Pending Review",
14
- 1: "Approved",
15
- 2: "Rejected",
16
- 3: "Draft",
17
- 4: "Scheduled for Release",
18
- 5: "Published",
19
- 6: "Delisted",
20
- 7: "Review Timeout",
21
- 8: "Scheduled for Delisting"
22
- },
23
- releaseAuditStatus: {
24
- 0: "Pending Review",
25
- 1: "Approved",
26
- 2: "Rejected",
27
- 3: "Draft"
28
- },
29
- shelfStatus: {
30
- 0: "Unpublished",
31
- 1: "Published",
32
- 2: "Delisted",
33
- 3: "Scheduled for Delisting"
34
- },
35
- isFree: {
36
- 0: "Free",
37
- 1: "Paid"
38
- },
39
- modelType: {
40
- 1: "Conversation Model",
41
- 2: "Image Model",
42
- 3: "Speech Model",
43
- 4: "Video Model",
44
- 5: "Embedding Model",
45
- 6: "Reranking Model"
46
- },
47
- modelSubType: {
48
- 1: "LLM",
49
- 2: "VLM",
50
- 3: "Text-to-Image",
51
- 4: "Image-to-Image",
52
- 5: "Image Editing"
53
- },
54
- appShareType: {
55
- 1: "Store",
56
- 2: "API Access"
57
- },
58
- labelType: {
59
- 1: "Popular",
60
- 2: "Recommended",
61
- 3: "Latest"
62
- },
63
- applicationType: {
64
- 1: "Free",
65
- 2: "Paid"
66
- },
67
- applicationAuditStatus: {
68
- 1: "Published",
69
- 2: "Pending Review",
70
- 3: "Publication Failed"
71
- },
72
- trueOrFalse: {
73
- true: "Yes",
74
- false: "No"
75
- },
76
- templateType: {
77
- 1: "System Built-in",
78
- 2: "Custom"
79
- },
80
- useable: {
81
- 1: "Available",
82
- 2: "Unavailable"
83
- },
84
- enable: {
85
- 1: "Enabled",
86
- 2: "Disabled"
87
- },
88
- tenantStatus: {
89
- 1: "Approved",
90
- 2: "Pending Review",
91
- 3: "Rejected",
92
- 4: "Review Passed",
93
- 5: "Registering"
94
- },
95
- modelAuditStatus: {
96
- 0: "Pending Review",
97
- 1: "Approved",
98
- 2: "Rejected",
99
- 3: "Draft",
100
- 4: "Scheduled for Release",
101
- 5: "Published",
102
- 6: "Delisted",
103
- 7: "Timeout",
104
- 8: "Scheduled for Delisting"
105
- },
106
- modelStatus: {
107
- 0: "Delisted",
108
- 1: "Published",
109
- 2: "Scheduled for Delisting",
110
- 3: "Scheduled for Release"
111
- },
112
- userType: {
113
- 0: "Administrator",
114
- 1: "Creator",
115
- 2: "User"
116
- },
117
- isActivity: {
118
- 0: "Disabled",
119
- 1: "Enabled"
120
- },
121
- isLimit: {
122
- 1: "Time-Limited Mode",
123
- 0: "Quota Mode"
124
- },
125
- versionType: {
126
- 1: "Minor Adjustment",
127
- 2: "Content Optimization",
128
- 3: "Major Update"
129
- },
130
- appTemplateType: {
131
- 1: "Conversational",
132
- 7: "Drawing"
133
- },
134
- auditStatus: {
135
- 0: "Pending Review",
136
- 1: "Approved",
137
- 2: "Rejected",
138
- 3: "Draft"
139
- },
140
- onlineStatus: {
141
- 0: "Delisted",
142
- 1: "Published",
143
- 2: "Scheduled for Delisting",
144
- 3: "Scheduled for Release"
145
- },
146
- currency: {
147
- CNY: "Chinese Yuan",
148
- USD: "US Dollar"
149
- }
150
- };
151
- export {
152
- e as default
153
- };