mamba-layout 0.8.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.
- package/dist/index.css +1 -0
- package/dist/index.js.js +2560 -0
- package/package.json +1 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/assets/logo.png.js +0 -4
- package/dist/components/UserAvatar/index.js +0 -5
- package/dist/components/UserAvatar/src/UserAvatar.css +0 -1
- package/dist/components/UserAvatar/src/UserAvatar.vue.js +0 -7
- package/dist/components/UserAvatar/src/UserAvatar.vue2.js +0 -61
- package/dist/components/index.js +0 -10
- package/dist/index.js +0 -27
- package/dist/layout/BaseLayout.css +0 -1
- package/dist/layout/BaseLayout.vue.js +0 -7
- package/dist/layout/BaseLayout.vue2.js +0 -111
- package/dist/layout/components/AppSelect.css +0 -1
- package/dist/layout/components/AppSelect.vue.js +0 -7
- package/dist/layout/components/AppSelect.vue2.js +0 -69
- package/dist/layout/components/AsideBar.css +0 -1
- package/dist/layout/components/AsideBar.vue.js +0 -7
- package/dist/layout/components/AsideBar.vue2.js +0 -49
- package/dist/layout/components/AsideSubMenuItem.vue.js +0 -84
- package/dist/layout/components/AsideSubMenuItem.vue2.js +0 -4
- package/dist/layout/components/AsideSubMenus.vue.js +0 -36
- package/dist/layout/components/AsideSubMenus.vue2.js +0 -4
- package/dist/layout/components/HeaderBar.css +0 -1
- package/dist/layout/components/HeaderBar.vue.js +0 -7
- package/dist/layout/components/HeaderBar.vue2.js +0 -55
- package/dist/layout/components/LanguageSelect.css +0 -1
- package/dist/layout/components/LanguageSelect.vue.js +0 -8
- package/dist/layout/components/LanguageSelect.vue2.js +0 -100
- package/dist/layout/components/LanguageSelect2.css +0 -1
- package/dist/layout/components/LayoutBreadcrumb.css +0 -1
- package/dist/layout/components/LayoutBreadcrumb.vue.js +0 -7
- package/dist/layout/components/LayoutBreadcrumb.vue2.js +0 -189
- package/dist/layout/components/MenuItemIcon.css +0 -1
- package/dist/layout/components/MenuItemIcon.vue.js +0 -7
- package/dist/layout/components/MenuItemIcon.vue2.js +0 -23
- package/dist/layout/components/NavIconBtn.css +0 -1
- package/dist/layout/components/NavIconBtn.vue.js +0 -7
- package/dist/layout/components/NavIconBtn.vue2.js +0 -23
- package/dist/layout/components/SHeaderRight.css +0 -1
- package/dist/layout/components/SHeaderRight.vue.js +0 -7
- package/dist/layout/components/SHeaderRight.vue2.js +0 -68
- package/dist/layout/components/ThemeToggle.css +0 -1
- package/dist/layout/components/ThemeToggle.vue.js +0 -7
- package/dist/layout/components/ThemeToggle.vue2.js +0 -30
- package/dist/layout/components/TimezoneSelect.css +0 -1
- package/dist/layout/components/TimezoneSelect.vue.js +0 -8
- package/dist/layout/components/TimezoneSelect.vue2.js +0 -78
- package/dist/layout/components/TimezoneSelect2.css +0 -1
- package/dist/layout/components/UserInfo.css +0 -1
- package/dist/layout/components/UserInfo.vue.js +0 -8
- package/dist/layout/components/UserInfo.vue2.js +0 -111
- package/dist/layout/components/UserInfo2.css +0 -1
- package/dist/layout/components/index.js +0 -8
- package/dist/layout/components/mobile/AppSelectMobile.vue.js +0 -60
- package/dist/layout/components/mobile/AppSelectMobile.vue2.js +0 -4
- package/dist/layout/components/mobile/AsideBarMobile.css +0 -1
- package/dist/layout/components/mobile/AsideBarMobile.vue.js +0 -7
- package/dist/layout/components/mobile/AsideBarMobile.vue2.js +0 -49
- package/dist/layout/components/mobile/AsideUserMobile.css +0 -1
- package/dist/layout/components/mobile/AsideUserMobile.vue.js +0 -7
- package/dist/layout/components/mobile/AsideUserMobile.vue2.js +0 -56
- package/dist/layout/components/mobile/AsideUserMobilePopover.css +0 -1
- package/dist/layout/components/mobile/AsideUserMobilePopover.vue.js +0 -7
- package/dist/layout/components/mobile/AsideUserMobilePopover.vue2.js +0 -52
- package/dist/layout/components/mobile/HeaderRightMobile.css +0 -1
- package/dist/layout/components/mobile/HeaderRightMobile.vue.js +0 -7
- package/dist/layout/components/mobile/HeaderRightMobile.vue2.js +0 -46
- package/dist/layout/components/mobile/MobileMenuToggle.css +0 -1
- package/dist/layout/components/mobile/MobileMenuToggle.vue.js +0 -7
- package/dist/layout/components/mobile/MobileMenuToggle.vue2.js +0 -33
- package/dist/layout/hooks/index.js +0 -13
- package/dist/layout/hooks/useApp.js +0 -20
- package/dist/layout/hooks/useSetting.js +0 -26
- package/dist/layout/hooks/useState.js +0 -100
- package/dist/layout/hooks/useTheme.js +0 -37
- package/dist/layout/utils/index.js +0 -54
- package/dist/locales/en/account.js +0 -12
- package/dist/locales/en/admin.js +0 -209
- package/dist/locales/en/common.js +0 -42
- package/dist/locales/en/components.js +0 -39
- package/dist/locales/en/constant.js +0 -153
- package/dist/locales/en/filterBox.js +0 -13
- package/dist/locales/en/index.js +0 -22
- package/dist/locales/en/instanceForm.js +0 -19
- package/dist/locales/en/password.js +0 -20
- package/dist/locales/index.js +0 -12
- package/dist/locales/messages.js +0 -9
- package/dist/locales/zh-cn/account.js +0 -12
- package/dist/locales/zh-cn/admin.js +0 -207
- package/dist/locales/zh-cn/common.js +0 -42
- package/dist/locales/zh-cn/components.js +0 -39
- package/dist/locales/zh-cn/constant.js +0 -153
- package/dist/locales/zh-cn/filterBox.js +0 -13
- package/dist/locales/zh-cn/index.js +0 -22
- package/dist/locales/zh-cn/instanceForm.js +0 -19
- package/dist/locales/zh-cn/password.js +0 -20
- package/dist/utils/createContext.js +0 -14
- package/dist/utils/repoUtils.js +0 -160
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
label: {
|
|
3
|
-
agreement: "我已同意",
|
|
4
|
-
and: "和",
|
|
5
|
-
privacy: "《用户隐私协议》",
|
|
6
|
-
userPolicy: "《平台协议条款》",
|
|
7
|
-
profile: "个人中心",
|
|
8
|
-
dataValue: "数据值",
|
|
9
|
-
tagName: "标签名",
|
|
10
|
-
sort: "排序",
|
|
11
|
-
notes: "备注",
|
|
12
|
-
query: "查询",
|
|
13
|
-
type: "类型",
|
|
14
|
-
describe: "描述",
|
|
15
|
-
creationTime: "创建时间",
|
|
16
|
-
description: "描述",
|
|
17
|
-
status: "状态",
|
|
18
|
-
user: "用户",
|
|
19
|
-
userId: "用户ID",
|
|
20
|
-
userName: "用户名",
|
|
21
|
-
fullName: "姓名",
|
|
22
|
-
contactNum: "联系电话",
|
|
23
|
-
email: "邮箱",
|
|
24
|
-
password: "密码",
|
|
25
|
-
confirmPassword: "确认密码",
|
|
26
|
-
role: "角色",
|
|
27
|
-
companyName: "企业名称",
|
|
28
|
-
tenantId: "租户ID",
|
|
29
|
-
adminUsername: "管理员用户名",
|
|
30
|
-
adminName: "管理员名称",
|
|
31
|
-
adminPhone: "管理员手机号",
|
|
32
|
-
adminEmail: "管理员邮箱",
|
|
33
|
-
adminInfo: "管理员信息",
|
|
34
|
-
belongService: "所属服务",
|
|
35
|
-
roleName: "角色名称",
|
|
36
|
-
roleCode: "角色标识",
|
|
37
|
-
roleDesc: "角色描述",
|
|
38
|
-
roleAuth: "角色授权",
|
|
39
|
-
menuAuth: "菜单权限",
|
|
40
|
-
menuName: "菜单名称",
|
|
41
|
-
menu: "菜单",
|
|
42
|
-
button: "按钮",
|
|
43
|
-
rootMenu: "根菜单",
|
|
44
|
-
parent: "父级",
|
|
45
|
-
menuPath: "菜单地址",
|
|
46
|
-
icon: "图标",
|
|
47
|
-
permission: "权限标识",
|
|
48
|
-
name: "显示名称",
|
|
49
|
-
menuPermissionAuth: "菜单权限授权",
|
|
50
|
-
available: "可用",
|
|
51
|
-
unavailable: "不可用",
|
|
52
|
-
categoryName: "类目名称",
|
|
53
|
-
path: "路径",
|
|
54
|
-
normal: "正常",
|
|
55
|
-
abnormal: "异常",
|
|
56
|
-
title: "标题",
|
|
57
|
-
ipAddress: "ip地址",
|
|
58
|
-
method: "请求方式",
|
|
59
|
-
timeCons: "耗时",
|
|
60
|
-
requestTime: "请求时间",
|
|
61
|
-
operator: "操作人",
|
|
62
|
-
configType: "配置类型",
|
|
63
|
-
dictType: "字典类型",
|
|
64
|
-
accountPassword: "账号密码",
|
|
65
|
-
accountLogin: "账号密码登录",
|
|
66
|
-
fastLogin: "快捷登录",
|
|
67
|
-
loginAccount: "登录账号",
|
|
68
|
-
phoneNum: "手机号",
|
|
69
|
-
verifyCode: "验证码",
|
|
70
|
-
application: "应用",
|
|
71
|
-
basicInfo: "基本信息",
|
|
72
|
-
isHide: "是否隐藏",
|
|
73
|
-
page: "页面",
|
|
74
|
-
enterpriseDisplayName: "企业显示名称",
|
|
75
|
-
register: "用户注册",
|
|
76
|
-
effective: "生效",
|
|
77
|
-
ineffective: "过期",
|
|
78
|
-
emailLogin: "邮箱登录",
|
|
79
|
-
welcomeLogin: "欢迎登录",
|
|
80
|
-
welcomeRegister: "欢迎注册",
|
|
81
|
-
multilingual: "多语言",
|
|
82
|
-
userInfo: "用户信息",
|
|
83
|
-
securityInfo: "安全信息",
|
|
84
|
-
personalInfo: "个人信息",
|
|
85
|
-
isPublicMenu: "是否公开菜单",
|
|
86
|
-
oldPrefix: "旧前缀",
|
|
87
|
-
newPrefix: "新前缀",
|
|
88
|
-
aiInfra: "AI基础设施",
|
|
89
|
-
licenseValidity: "许可证有效性",
|
|
90
|
-
license: "许可证",
|
|
91
|
-
updateLicense: "更新许可证",
|
|
92
|
-
activated: "已激活",
|
|
93
|
-
notActivated: "未激活",
|
|
94
|
-
expired: "已过期",
|
|
95
|
-
productCode: "产品码",
|
|
96
|
-
expireTime: "到期时间",
|
|
97
|
-
remainingValidity: "剩余有效期",
|
|
98
|
-
days: "天",
|
|
99
|
-
managedInstanceCount: "纳管实例数",
|
|
100
|
-
managedGpuCount: "纳管加速卡数",
|
|
101
|
-
modelProxyCount: "模型代理个数",
|
|
102
|
-
usageRate: "使用率",
|
|
103
|
-
managedInstanceCountDesc: "使用第三方算力平台创建模型推理、训练、云服务器等资源实例个数",
|
|
104
|
-
managedGpuCountDesc: "使用AGIOne纳管用户自有的裸机算力卡(如GPU、NPU、XPU、TPU等算力卡)数量",
|
|
105
|
-
modelProxyCountDesc: "使用AGIOne平台发布自部署或第三方平台模型数量",
|
|
106
|
-
efficientComputing: "高效计算",
|
|
107
|
-
dataSecurity: "数据安全",
|
|
108
|
-
intelligentAnalysis: "智能分析",
|
|
109
|
-
processManagement: "流程管理",
|
|
110
|
-
passwordLoginShort: "密码登录",
|
|
111
|
-
emailCodeLogin: "邮箱验证码",
|
|
112
|
-
usernameOrEmail: "用户名或邮箱",
|
|
113
|
-
workEmail: "企业邮箱",
|
|
114
|
-
sixDigitCode: "6位验证码",
|
|
115
|
-
readAndAgree: "我已阅读并同意",
|
|
116
|
-
privacyPolicy: "《隐私政策》",
|
|
117
|
-
termsOfService: "《服务条款》",
|
|
118
|
-
backToSignIn: "返回登录",
|
|
119
|
-
createYourAccount: "创建账号",
|
|
120
|
-
createAccount: "创建账号",
|
|
121
|
-
confirmPasswordShort: "确认密码",
|
|
122
|
-
signInToAGIOne: "登录 AGIOne",
|
|
123
|
-
home: "首页"
|
|
124
|
-
},
|
|
125
|
-
btn: {
|
|
126
|
-
cancel: "取消修改",
|
|
127
|
-
changePassword: "修改密码",
|
|
128
|
-
createApiKey: "创建 API Key",
|
|
129
|
-
disable: "禁用",
|
|
130
|
-
enable: "启用",
|
|
131
|
-
auth: "授权",
|
|
132
|
-
batchAdd: "批量添加",
|
|
133
|
-
permission: "权限",
|
|
134
|
-
createTenant: "新增租户",
|
|
135
|
-
resetPassword: "重置密码",
|
|
136
|
-
confirmPassword: "确认密码",
|
|
137
|
-
oldPassword: "旧密码",
|
|
138
|
-
newPassword: "新密码",
|
|
139
|
-
registerAccount: "注册账号",
|
|
140
|
-
getCode: "获取验证码",
|
|
141
|
-
loginAccount: "使用已有账户登录",
|
|
142
|
-
register: "注册",
|
|
143
|
-
signIn: "登录",
|
|
144
|
-
sendCode: "发送验证码",
|
|
145
|
-
createAccount: "创建账号",
|
|
146
|
-
batchReplacePrefix: "批量替换前缀",
|
|
147
|
-
copyJson: "复制JSON",
|
|
148
|
-
importJson: "导入JSON"
|
|
149
|
-
},
|
|
150
|
-
msg: {
|
|
151
|
-
nameRule1: "长度为2-20的数字、英文大小写、中文;",
|
|
152
|
-
nameRule2: "可含有大小写字母、数字、'_'、中文、'('、')'、'('、')'、'-'、'{'@'}'、'.'、空格;",
|
|
153
|
-
nameRule3: "不以'_'、'-'、'{'@'}'、'.'、空格开头和结尾;",
|
|
154
|
-
nameRuleError: "名称格式错误",
|
|
155
|
-
pleaseEnterPassword: "请再次输入密码",
|
|
156
|
-
newPasswordNotEmpty: "新密码不能为空",
|
|
157
|
-
passwordNotSame: "两次密码输入不一致,请重新输入",
|
|
158
|
-
confirmPasswordNotEmpty: "确认密码不能为空",
|
|
159
|
-
confirmDeleteUser: "确认删除用户{0}?",
|
|
160
|
-
userNameLengthError: "用户名长度在2~20个字符",
|
|
161
|
-
adminUsernameLengthError: "长度为2~20个字符",
|
|
162
|
-
adminUsernameRule3: "只可包含大小写字母、数字、'_'、'-'",
|
|
163
|
-
confirmDeleteRole: "确认删除角色{0}?",
|
|
164
|
-
adminUsernameRule5: "可包含大小写字母、数字、'_'、中文、'('、')'、'('、')'、'-'、'{'@'}'、'.'、空格;",
|
|
165
|
-
batchAddSuccess: "批量添加成功,本地共保存{0}条数据",
|
|
166
|
-
importMenuTitle: "导入菜单JSON",
|
|
167
|
-
pasteJson: "粘贴JSON",
|
|
168
|
-
pasteJsonPlaceholder: "在此粘贴复制的菜单JSON...",
|
|
169
|
-
invalidMenuFormat: "无效的菜单数据格式",
|
|
170
|
-
importSuccess: "导入成功!共导入{0}条菜单。",
|
|
171
|
-
importFailed: "导入菜单失败,请检查JSON格式。",
|
|
172
|
-
pleaseEnterPhoneNum: "请输入正确的手机号",
|
|
173
|
-
usernameOrPasswordEmpty: "用户名或密码不能为空!",
|
|
174
|
-
loginSuccess: "登录成功!",
|
|
175
|
-
confirmPasswordError: "确认密码与密码不一致,请重新输入",
|
|
176
|
-
registerSuccess: "注册成功",
|
|
177
|
-
getCodeSuccess: "获取验证码成功",
|
|
178
|
-
identifierRegistered: "该邮箱已注册,可直接登录",
|
|
179
|
-
getCodeAgain: "{0}秒后可重新获取",
|
|
180
|
-
signingIn: "登录中...",
|
|
181
|
-
retrySendCode: "{0} 秒后重新发送",
|
|
182
|
-
pleaseEnterEmail: "请输入正确的邮箱",
|
|
183
|
-
enableMenu: "是否启用菜单【{0}】",
|
|
184
|
-
disableMenu: "是否禁用菜单【{0}】",
|
|
185
|
-
langMsg1: "将在{0}语言环境下显示",
|
|
186
|
-
pleaseEnterLicense: "请输入许可证",
|
|
187
|
-
apiKeyCreated: "新的 API Key 已创建",
|
|
188
|
-
accessKey: "Access Key",
|
|
189
|
-
secretKey: "Secret Key",
|
|
190
|
-
copy: "复制",
|
|
191
|
-
apiKeySecretNotice: "私钥仅本次创建时可见,系统不留存。请立即复制并离线保存。",
|
|
192
|
-
dynamicKey: "动态密钥",
|
|
193
|
-
authToken: "认证令牌",
|
|
194
|
-
extendAmount: "延长时间数量",
|
|
195
|
-
timeUnit: "时间单位",
|
|
196
|
-
year: "年",
|
|
197
|
-
month: "月",
|
|
198
|
-
day: "天",
|
|
199
|
-
hour: "小时",
|
|
200
|
-
keyTypeTooltip: '认证令牌仅包含AK,用于模型服务认证,轻量便捷;动态密钥包含AK和SK(以"sk-"开头),采用双重认证机制,提供更高安全性。',
|
|
201
|
-
loginHeroTitle: "泛 AI 聚合与分发服务",
|
|
202
|
-
loginHeroDesc: "通过 API 调度,实现模型调用、AI 应用构建、数据与工具服务的在线分发与使用。"
|
|
203
|
-
}
|
|
204
|
-
};
|
|
205
|
-
export {
|
|
206
|
-
e as default
|
|
207
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
btn: {
|
|
3
|
-
agree: "同意",
|
|
4
|
-
disagree: "不同意",
|
|
5
|
-
create: "创建{0}",
|
|
6
|
-
add: "添加{0}",
|
|
7
|
-
delete: "删除{0}",
|
|
8
|
-
save: "保存",
|
|
9
|
-
edit: "编辑{0}",
|
|
10
|
-
cancel: "取消{0}",
|
|
11
|
-
upload: "上传{0}",
|
|
12
|
-
copy: "复制{0}",
|
|
13
|
-
selectAll: "全选",
|
|
14
|
-
modify: "修改{0}",
|
|
15
|
-
confirm: "确定",
|
|
16
|
-
logout: "退出登录",
|
|
17
|
-
login: "登录",
|
|
18
|
-
loginLoading: "登录中...",
|
|
19
|
-
operation: "操作"
|
|
20
|
-
},
|
|
21
|
-
rule: {
|
|
22
|
-
formatError: "{0}格式不正确"
|
|
23
|
-
},
|
|
24
|
-
label: {
|
|
25
|
-
all: "全部",
|
|
26
|
-
operation: "操作",
|
|
27
|
-
tip: "提示",
|
|
28
|
-
search: "搜索{0}"
|
|
29
|
-
},
|
|
30
|
-
msg: {
|
|
31
|
-
pleaseSelect: "请选择{0}",
|
|
32
|
-
success: "{0}成功",
|
|
33
|
-
pleaseEnter: "请输入{0}",
|
|
34
|
-
confirmDelete: "确认删除{0}吗?",
|
|
35
|
-
fail: "{0}失败"
|
|
36
|
-
},
|
|
37
|
-
pleaseSelect: "请选择{0}",
|
|
38
|
-
seeMore: "查看更多"
|
|
39
|
-
};
|
|
40
|
-
export {
|
|
41
|
-
e as default
|
|
42
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
notFound: {
|
|
3
|
-
title: "开发中,敬请期待!",
|
|
4
|
-
description: "页面开发中,请刷新页面,或者点击下面的按钮返回主页.",
|
|
5
|
-
backToHome: "返回主页"
|
|
6
|
-
},
|
|
7
|
-
exportImport: {
|
|
8
|
-
selectExportTemplate: "选择导出模板",
|
|
9
|
-
selectImportMethod: "选择导入方式",
|
|
10
|
-
selectZipFile: "选择ZIP文件",
|
|
11
|
-
selectFolder: "选择文件夹",
|
|
12
|
-
unsupportedFileFormat: "不支持的文件格式",
|
|
13
|
-
importSuccess: "导入完成!成功: {0}, 跳过: {1}, 失败: {2}",
|
|
14
|
-
importComplete: "导入完成",
|
|
15
|
-
importStats: "成功导入 {0} 条数据,失败 {1} 条,跳过 {2} 条",
|
|
16
|
-
total: "总计",
|
|
17
|
-
success: "成功",
|
|
18
|
-
failed: "失败",
|
|
19
|
-
skipped: "跳过",
|
|
20
|
-
retry: "重试",
|
|
21
|
-
import: "导入",
|
|
22
|
-
cancel: "取消",
|
|
23
|
-
clear: "清空",
|
|
24
|
-
pleaseUploadFile: "请先上传文件",
|
|
25
|
-
uploadWarning: "当前正在进行文件上传,您所做的更改可能不会被保存!"
|
|
26
|
-
},
|
|
27
|
-
layout: {
|
|
28
|
-
docsCenter: "文档中心"
|
|
29
|
-
},
|
|
30
|
-
fileSelector: {
|
|
31
|
-
dragOrClick: "将{fileText}拖拽至此处,或点击下方按钮",
|
|
32
|
-
selectFile: "选择{fileText}",
|
|
33
|
-
folder: "文件夹",
|
|
34
|
-
file: "文件"
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
export {
|
|
38
|
-
e as default
|
|
39
|
-
};
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
label: {
|
|
3
|
-
languageModel: "语言模型"
|
|
4
|
-
},
|
|
5
|
-
dialogueSource: {
|
|
6
|
-
1: "在线对话",
|
|
7
|
-
2: "调试",
|
|
8
|
-
3: "应用 API 调用",
|
|
9
|
-
4: "向量生成",
|
|
10
|
-
5: "模型 API 调用"
|
|
11
|
-
},
|
|
12
|
-
versionStatus: {
|
|
13
|
-
0: "待审核",
|
|
14
|
-
1: "审核通过",
|
|
15
|
-
2: "审核不通过",
|
|
16
|
-
3: "草稿",
|
|
17
|
-
4: "待发布",
|
|
18
|
-
5: "已发布",
|
|
19
|
-
6: "已下架",
|
|
20
|
-
7: "审核超时",
|
|
21
|
-
8: "待下架"
|
|
22
|
-
},
|
|
23
|
-
releaseAuditStatus: {
|
|
24
|
-
0: "待审核",
|
|
25
|
-
1: "审核通过",
|
|
26
|
-
2: "审核不通过",
|
|
27
|
-
3: "草稿"
|
|
28
|
-
},
|
|
29
|
-
shelfStatus: {
|
|
30
|
-
0: "未发布",
|
|
31
|
-
1: "已发布",
|
|
32
|
-
2: "已下架",
|
|
33
|
-
3: "待下架"
|
|
34
|
-
},
|
|
35
|
-
isFree: {
|
|
36
|
-
0: "免费",
|
|
37
|
-
1: "付费"
|
|
38
|
-
},
|
|
39
|
-
modelType: {
|
|
40
|
-
1: "对话模型",
|
|
41
|
-
2: "图像模型",
|
|
42
|
-
3: "语音模型",
|
|
43
|
-
4: "视频模型",
|
|
44
|
-
5: "嵌入模型",
|
|
45
|
-
6: "重排模型"
|
|
46
|
-
},
|
|
47
|
-
modelSubType: {
|
|
48
|
-
1: "LLM",
|
|
49
|
-
2: "VLM",
|
|
50
|
-
3: "文生图",
|
|
51
|
-
4: "图生图",
|
|
52
|
-
5: "图像编辑"
|
|
53
|
-
},
|
|
54
|
-
appShareType: {
|
|
55
|
-
1: "商店",
|
|
56
|
-
2: "API 访问"
|
|
57
|
-
},
|
|
58
|
-
labelType: {
|
|
59
|
-
1: "热门",
|
|
60
|
-
2: "推荐",
|
|
61
|
-
3: "最新"
|
|
62
|
-
},
|
|
63
|
-
applicationType: {
|
|
64
|
-
1: "免费",
|
|
65
|
-
2: "付费"
|
|
66
|
-
},
|
|
67
|
-
applicationAuditStatus: {
|
|
68
|
-
1: "已发布",
|
|
69
|
-
2: "待审核",
|
|
70
|
-
3: "发布失败"
|
|
71
|
-
},
|
|
72
|
-
trueOrFalse: {
|
|
73
|
-
true: "是",
|
|
74
|
-
false: "否"
|
|
75
|
-
},
|
|
76
|
-
templateType: {
|
|
77
|
-
1: "系统内置",
|
|
78
|
-
2: "自定义"
|
|
79
|
-
},
|
|
80
|
-
useable: {
|
|
81
|
-
1: "可用",
|
|
82
|
-
2: "不可用"
|
|
83
|
-
},
|
|
84
|
-
enable: {
|
|
85
|
-
1: "启用",
|
|
86
|
-
2: "禁用"
|
|
87
|
-
},
|
|
88
|
-
tenantStatus: {
|
|
89
|
-
1: "已通过",
|
|
90
|
-
2: "待审核",
|
|
91
|
-
3: "已拒绝",
|
|
92
|
-
4: "审核通过",
|
|
93
|
-
5: "注册中"
|
|
94
|
-
},
|
|
95
|
-
modelAuditStatus: {
|
|
96
|
-
0: "待审核",
|
|
97
|
-
1: "审核通过",
|
|
98
|
-
2: "审核不通过",
|
|
99
|
-
3: "草稿",
|
|
100
|
-
4: "待发布",
|
|
101
|
-
5: "已发布",
|
|
102
|
-
6: "已下架",
|
|
103
|
-
7: "超时",
|
|
104
|
-
8: "待下架"
|
|
105
|
-
},
|
|
106
|
-
modelStatus: {
|
|
107
|
-
0: "已下架",
|
|
108
|
-
1: "已发布",
|
|
109
|
-
2: "待下架",
|
|
110
|
-
3: "待发布"
|
|
111
|
-
},
|
|
112
|
-
userType: {
|
|
113
|
-
0: "管理员",
|
|
114
|
-
1: "创作者",
|
|
115
|
-
2: "用户"
|
|
116
|
-
},
|
|
117
|
-
isActivity: {
|
|
118
|
-
0: "禁用",
|
|
119
|
-
1: "启用"
|
|
120
|
-
},
|
|
121
|
-
isLimit: {
|
|
122
|
-
1: "限时模式",
|
|
123
|
-
0: "配额模式"
|
|
124
|
-
},
|
|
125
|
-
versionType: {
|
|
126
|
-
1: "微小调整",
|
|
127
|
-
2: "内容优化",
|
|
128
|
-
3: "重大更新"
|
|
129
|
-
},
|
|
130
|
-
appTemplateType: {
|
|
131
|
-
1: "对话型",
|
|
132
|
-
7: "绘画型"
|
|
133
|
-
},
|
|
134
|
-
auditStatus: {
|
|
135
|
-
0: "待审核",
|
|
136
|
-
1: "审核通过",
|
|
137
|
-
2: "审核不通过",
|
|
138
|
-
3: "草稿"
|
|
139
|
-
},
|
|
140
|
-
onlineStatus: {
|
|
141
|
-
0: "已下架",
|
|
142
|
-
1: "已发布",
|
|
143
|
-
2: "待下架",
|
|
144
|
-
3: "待发布"
|
|
145
|
-
},
|
|
146
|
-
currency: {
|
|
147
|
-
CNY: "人民币",
|
|
148
|
-
USD: "美元"
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
export {
|
|
152
|
-
e as default
|
|
153
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import o from "./account.js";
|
|
2
|
-
import m from "./admin.js";
|
|
3
|
-
import r from "./common.js";
|
|
4
|
-
import t from "./components.js";
|
|
5
|
-
import i from "./constant.js";
|
|
6
|
-
import n from "./filterBox.js";
|
|
7
|
-
import p from "./instanceForm.js";
|
|
8
|
-
import f from "./password.js";
|
|
9
|
-
const h = {
|
|
10
|
-
name: "中文简体",
|
|
11
|
-
common: r,
|
|
12
|
-
account: o,
|
|
13
|
-
admin: m,
|
|
14
|
-
components: t,
|
|
15
|
-
constant: i,
|
|
16
|
-
filterBox: n,
|
|
17
|
-
password: f,
|
|
18
|
-
instanceForm: p
|
|
19
|
-
};
|
|
20
|
-
export {
|
|
21
|
-
h as default
|
|
22
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
label: {
|
|
3
|
-
otherConfig: "其他配置"
|
|
4
|
-
},
|
|
5
|
-
btn: {
|
|
6
|
-
prevStep: "上一步",
|
|
7
|
-
nextStep: "下一步",
|
|
8
|
-
submit: "提交"
|
|
9
|
-
},
|
|
10
|
-
msg: {
|
|
11
|
-
checkParams: "请检查提交参数"
|
|
12
|
-
},
|
|
13
|
-
StaticPrefixInput: {
|
|
14
|
-
notEmpty: "不能为空"
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
t as default
|
|
19
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const r = {
|
|
2
|
-
label: {},
|
|
3
|
-
btn: {},
|
|
4
|
-
msg: {
|
|
5
|
-
lengthTip: "长度在6-32字符之间",
|
|
6
|
-
charTip: `字母、数字、!{'@'}#$%^&*()-_=+{'{'}{'}'}[]{'|'}:;"'<>,.?/~)`,
|
|
7
|
-
charTypeTip: "需包含至少以下三种",
|
|
8
|
-
charTypeUpper: "大写字母",
|
|
9
|
-
charTypeLower: "小写字母",
|
|
10
|
-
charNum: "数字",
|
|
11
|
-
charSpecial: "特殊符号",
|
|
12
|
-
placeholder: "请输入密码(必填)",
|
|
13
|
-
lengthError: "密码长度为6-32个字符",
|
|
14
|
-
charError: "密码必须包含字母、数字、特殊符号",
|
|
15
|
-
charTypeError: "密码必须包含至少以下三种(大写字母、小写字母、数字、特殊符号)"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
r as default
|
|
20
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { inject as i, provide as c } from "vue";
|
|
2
|
-
function j(t, s) {
|
|
3
|
-
const r = `${t}Context`, e = Symbol(r);
|
|
4
|
-
return [(n) => {
|
|
5
|
-
const o = i(e, n);
|
|
6
|
-
if (o || o === null) return o;
|
|
7
|
-
throw new Error(
|
|
8
|
-
`Injection \`${e.toString()}\` not found. Component must be used within ${Array.isArray(t) ? `one of the following components: ${t.join(", ")}` : `\`${t}\``}`
|
|
9
|
-
);
|
|
10
|
-
}, (n) => (c(e, n), n)];
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
j as createContext
|
|
14
|
-
};
|
package/dist/utils/repoUtils.js
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { ref as E, readonly as Z } from "vue";
|
|
2
|
-
const D = 3600 * 24 * 7, u = "UTC", S = "timezone", A = [
|
|
3
|
-
"UTC",
|
|
4
|
-
"Asia/Shanghai",
|
|
5
|
-
"Asia/Hong_Kong",
|
|
6
|
-
"Asia/Singapore",
|
|
7
|
-
"Asia/Tokyo",
|
|
8
|
-
"Europe/London",
|
|
9
|
-
"Europe/Berlin",
|
|
10
|
-
"America/New_York",
|
|
11
|
-
"America/Los_Angeles"
|
|
12
|
-
], T = /* @__PURE__ */ new Map(), l = () => {
|
|
13
|
-
try {
|
|
14
|
-
return globalThis.localStorage;
|
|
15
|
-
} catch {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
}, m = {
|
|
19
|
-
get(e, t = null) {
|
|
20
|
-
const n = l(), o = n == null ? void 0 : n.getItem(e.toUpperCase());
|
|
21
|
-
if (!o) return t;
|
|
22
|
-
try {
|
|
23
|
-
const r = JSON.parse(o);
|
|
24
|
-
if (r.expire === null || r.expire >= Date.now())
|
|
25
|
-
return r.value;
|
|
26
|
-
n == null || n.removeItem(e.toUpperCase());
|
|
27
|
-
} catch {
|
|
28
|
-
return t;
|
|
29
|
-
}
|
|
30
|
-
return t;
|
|
31
|
-
},
|
|
32
|
-
set(e, t, n = D) {
|
|
33
|
-
const o = l(), r = {
|
|
34
|
-
value: t,
|
|
35
|
-
expire: n === null ? null : Date.now() + n * 1e3
|
|
36
|
-
};
|
|
37
|
-
o == null || o.setItem(e.toUpperCase(), JSON.stringify(r));
|
|
38
|
-
},
|
|
39
|
-
clear() {
|
|
40
|
-
var e;
|
|
41
|
-
(e = l()) == null || e.clear();
|
|
42
|
-
}
|
|
43
|
-
}, L = (e) => typeof e == "object" && e !== null, h = (e) => {
|
|
44
|
-
if (!L(e) || Object.prototype.toString.call(e) !== "[object Object]") return !1;
|
|
45
|
-
const t = Object.getPrototypeOf(e);
|
|
46
|
-
return t === null || t === Object.prototype;
|
|
47
|
-
};
|
|
48
|
-
function U(e, t) {
|
|
49
|
-
if (!h(e)) return t;
|
|
50
|
-
if (!h(t)) return e;
|
|
51
|
-
const n = e;
|
|
52
|
-
return Object.keys(t).concat(Object.getOwnPropertySymbols(t)).forEach((o) => {
|
|
53
|
-
n[o] = U(
|
|
54
|
-
n[o],
|
|
55
|
-
t[o]
|
|
56
|
-
);
|
|
57
|
-
}), n;
|
|
58
|
-
}
|
|
59
|
-
function M() {
|
|
60
|
-
const e = typeof navigator > "u" ? "en-US" : navigator.language;
|
|
61
|
-
return String(m.get("locale", e)).includes("zh") ? "zh-CN" : "en-US";
|
|
62
|
-
}
|
|
63
|
-
const d = (e, t, n) => {
|
|
64
|
-
var o;
|
|
65
|
-
return ((o = t == null ? void 0 : t[n]) == null ? void 0 : o[e]) || "";
|
|
66
|
-
}, z = (e, t, n = "") => {
|
|
67
|
-
const o = e;
|
|
68
|
-
return d(t, o, M()) || n || d(t, o, "en-US");
|
|
69
|
-
}, F = (e = "") => e.replace(/【.*】/, ""), j = (e, t, n) => {
|
|
70
|
-
var o, r, s, i, f;
|
|
71
|
-
for (const c of t) {
|
|
72
|
-
const C = ((o = c.path) == null ? void 0 : o.replace(/\/:(\w+)/g, "/([^/]+)")) || "", b = new RegExp(`^${C}$`);
|
|
73
|
-
if (((r = c.path) == null ? void 0 : r.toLowerCase()) === e || b.test(e))
|
|
74
|
-
return ((s = c.meta) == null ? void 0 : s.visible) === "0" && (n == null ? void 0 : n.path) || "";
|
|
75
|
-
if ((i = c.children) != null && i.length) {
|
|
76
|
-
const g = j(
|
|
77
|
-
e,
|
|
78
|
-
c.children,
|
|
79
|
-
((f = c.meta) == null ? void 0 : f.visible) === "1" ? c : n
|
|
80
|
-
);
|
|
81
|
-
if (g) return g;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return "";
|
|
85
|
-
}, x = (e, t) => {
|
|
86
|
-
const n = e.resolve(t);
|
|
87
|
-
if (!(n != null && n.name)) return !1;
|
|
88
|
-
const o = String(n.name).split("-").filter((s) => !!s && s !== "index"), r = n.path.split("-").join("/").split("/").filter(Boolean);
|
|
89
|
-
return o.length === r.length && o.every((s, i) => s === r[i]);
|
|
90
|
-
}, a = (e) => typeof e == "string" && O(e) ? e : "", O = (e) => {
|
|
91
|
-
try {
|
|
92
|
-
return new Intl.DateTimeFormat("en-US", { timeZone: e }).format(/* @__PURE__ */ new Date()), !0;
|
|
93
|
-
} catch {
|
|
94
|
-
return !1;
|
|
95
|
-
}
|
|
96
|
-
}, y = () => a(Intl.DateTimeFormat().resolvedOptions().timeZone) || u, p = E(
|
|
97
|
-
a(m.get(S)) || y()
|
|
98
|
-
), B = () => Z(p);
|
|
99
|
-
function R(e) {
|
|
100
|
-
const t = a(e);
|
|
101
|
-
t && (p.value = t, m.set(S, t, null));
|
|
102
|
-
}
|
|
103
|
-
const _ = (e) => {
|
|
104
|
-
const t = a(e) || u, n = T.get(t);
|
|
105
|
-
if (n) return n;
|
|
106
|
-
const o = new Intl.DateTimeFormat("en-US", {
|
|
107
|
-
timeZone: t,
|
|
108
|
-
year: "numeric",
|
|
109
|
-
month: "2-digit",
|
|
110
|
-
day: "2-digit",
|
|
111
|
-
hour: "2-digit",
|
|
112
|
-
minute: "2-digit",
|
|
113
|
-
second: "2-digit",
|
|
114
|
-
hourCycle: "h23"
|
|
115
|
-
});
|
|
116
|
-
return T.set(t, o), o;
|
|
117
|
-
}, v = (e, t) => _(t).formatToParts(e).reduce((o, r) => (r.type !== "literal" && (o[r.type] = Number(r.value)), o), {}), I = (e, t = /* @__PURE__ */ new Date()) => {
|
|
118
|
-
const n = a(e) || u, o = v(t, n), r = Date.UTC(
|
|
119
|
-
o.year || 0,
|
|
120
|
-
(o.month || 1) - 1,
|
|
121
|
-
o.day || 1,
|
|
122
|
-
o.hour || 0,
|
|
123
|
-
o.minute || 0,
|
|
124
|
-
o.second || 0,
|
|
125
|
-
t.getMilliseconds()
|
|
126
|
-
);
|
|
127
|
-
return Math.round((r - t.getTime()) / 6e4);
|
|
128
|
-
}, w = (e, t = /* @__PURE__ */ new Date()) => {
|
|
129
|
-
const n = I(e, t), o = n >= 0 ? "+" : "-", r = Math.abs(n), s = Math.floor(r / 60), i = r % 60;
|
|
130
|
-
return `UTC${o}${String(s).padStart(2, "0")}:${String(
|
|
131
|
-
i
|
|
132
|
-
).padStart(2, "0")}`;
|
|
133
|
-
}, K = (e, t = /* @__PURE__ */ new Date()) => `${e} (${w(e, t)})`, H = (e = /* @__PURE__ */ new Date()) => {
|
|
134
|
-
const t = new Set(
|
|
135
|
-
[y(), ...A, p.value].filter(
|
|
136
|
-
O
|
|
137
|
-
)
|
|
138
|
-
);
|
|
139
|
-
return Array.from(t).map((n) => {
|
|
140
|
-
const o = w(n, e);
|
|
141
|
-
return {
|
|
142
|
-
value: n,
|
|
143
|
-
label: `${n} (${o})`,
|
|
144
|
-
offset: o
|
|
145
|
-
};
|
|
146
|
-
});
|
|
147
|
-
};
|
|
148
|
-
export {
|
|
149
|
-
m as Storage,
|
|
150
|
-
U as deepMerge,
|
|
151
|
-
M as getCurrentLocale,
|
|
152
|
-
j as getRouteLastVisibleParentMenu,
|
|
153
|
-
K as getTimeZoneLabel,
|
|
154
|
-
H as getTimeZoneOptions,
|
|
155
|
-
x as hasRoutePermission,
|
|
156
|
-
F as replaceName,
|
|
157
|
-
R as setCurrentTimeZone,
|
|
158
|
-
z as tname,
|
|
159
|
-
B as useCurrentTimeZone
|
|
160
|
-
};
|