fdb2 1.0.40 → 1.0.42
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/README.md +14 -4
- package/dist/public/.vite/manifest.json +111 -1
- package/dist/public/database-monitor.css +468 -0
- package/dist/public/database-monitor.js +725 -0
- package/dist/public/database.css +740 -0
- package/dist/public/database.js +594 -0
- package/dist/public/database2.js +344 -0
- package/dist/public/echarts.js +79307 -0
- package/dist/public/explorer.css +1067 -366
- package/dist/public/explorer.js +3893 -35071
- package/dist/public/export.js +54831 -0
- package/dist/public/helpers.js +27 -0
- package/dist/public/index.js +399 -38
- package/dist/public/layout.css +98 -65
- package/dist/public/layout.js +59 -22
- package/dist/public/modal.js +168 -0
- package/dist/public/query-history.css +651 -0
- package/dist/public/query-history.js +526 -0
- package/dist/public/sql-query-editor.css +503 -0
- package/dist/public/sql-query-editor.js +655 -0
- package/dist/scripts/verify-db-support.cjs +93 -7
- package/dist/server/__tests__/excel-export.test.ts +136 -0
- package/dist/server/__tests__/export-progress.test.ts +80 -0
- package/dist/server/__tests__/health-check.test.ts +67 -0
- package/dist/server/__tests__/import-normalize.test.ts +79 -0
- package/dist/server/__tests__/query-metrics.test.ts +96 -0
- package/dist/server/__tests__/remote-proxy.test.ts +76 -0
- package/dist/server/__tests__/sql-safety.test.ts +36 -0
- package/dist/server/core/dialect.d.ts +3 -0
- package/dist/server/core/dialect.d.ts.map +1 -1
- package/dist/server/core/dialect.js +17 -0
- package/dist/server/core/dialect.js.map +1 -1
- package/dist/server/core/dialect.ts +20 -0
- package/dist/server/core/query-metrics.d.ts +33 -0
- package/dist/server/core/query-metrics.d.ts.map +1 -0
- package/dist/server/core/query-metrics.js +117 -0
- package/dist/server/core/query-metrics.js.map +1 -0
- package/dist/server/core/query-metrics.ts +137 -0
- package/dist/server/core/schema/__tests__/ddl-emitter.test.ts +152 -0
- package/dist/server/core/schema/canonical.d.ts.map +1 -1
- package/dist/server/core/schema/canonical.js +4 -1
- package/dist/server/core/schema/canonical.js.map +1 -1
- package/dist/server/core/schema/canonical.ts +4 -1
- package/dist/server/core/schema/ddl-emitter.d.ts +3 -0
- package/dist/server/core/schema/ddl-emitter.d.ts.map +1 -1
- package/dist/server/core/schema/ddl-emitter.js +126 -12
- package/dist/server/core/schema/ddl-emitter.js.map +1 -1
- package/dist/server/core/schema/ddl-emitter.ts +137 -11
- package/dist/server/core/sql-safety.d.ts +9 -0
- package/dist/server/core/sql-safety.d.ts.map +1 -0
- package/dist/server/core/sql-safety.js +74 -0
- package/dist/server/core/sql-safety.js.map +1 -0
- package/dist/server/core/sql-safety.ts +72 -0
- package/dist/server/index.d.ts +22 -0
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +500 -33
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.ts +519 -35
- package/dist/server/service/database/base.service.d.ts +15 -0
- package/dist/server/service/database/base.service.d.ts.map +1 -1
- package/dist/server/service/database/base.service.js +108 -0
- package/dist/server/service/database/base.service.js.map +1 -1
- package/dist/server/service/database/base.service.ts +99 -6
- package/dist/server/service/database/clickhouse.service.d.ts.map +1 -1
- package/dist/server/service/database/clickhouse.service.js +9 -35
- package/dist/server/service/database/clickhouse.service.js.map +1 -1
- package/dist/server/service/database/clickhouse.service.ts +9 -44
- package/dist/server/service/database/cockroachdb.service.d.ts.map +1 -1
- package/dist/server/service/database/cockroachdb.service.js +10 -39
- package/dist/server/service/database/cockroachdb.service.js.map +1 -1
- package/dist/server/service/database/cockroachdb.service.ts +11 -50
- package/dist/server/service/database/database.service.d.ts +37 -8
- package/dist/server/service/database/database.service.d.ts.map +1 -1
- package/dist/server/service/database/database.service.js +651 -54
- package/dist/server/service/database/database.service.js.map +1 -1
- package/dist/server/service/database/database.service.ts +662 -66
- package/dist/server/service/database/export-progress.d.ts +43 -0
- package/dist/server/service/database/export-progress.d.ts.map +1 -0
- package/dist/server/service/database/export-progress.js +117 -0
- package/dist/server/service/database/export-progress.js.map +1 -0
- package/dist/server/service/database/export-progress.ts +125 -0
- package/dist/server/service/database/mongodb.service.d.ts +3 -1
- package/dist/server/service/database/mongodb.service.d.ts.map +1 -1
- package/dist/server/service/database/mongodb.service.js +97 -49
- package/dist/server/service/database/mongodb.service.js.map +1 -1
- package/dist/server/service/database/mongodb.service.ts +94 -48
- package/dist/server/service/database/mssql.service.d.ts.map +1 -1
- package/dist/server/service/database/mssql.service.js +14 -13
- package/dist/server/service/database/mssql.service.js.map +1 -1
- package/dist/server/service/database/mssql.service.ts +14 -13
- package/dist/server/service/database/mysql.service.js +10 -10
- package/dist/server/service/database/mysql.service.js.map +1 -1
- package/dist/server/service/database/mysql.service.ts +10 -10
- package/dist/server/service/database/oracle.service.d.ts +9 -1
- package/dist/server/service/database/oracle.service.d.ts.map +1 -1
- package/dist/server/service/database/oracle.service.js +55 -47
- package/dist/server/service/database/oracle.service.js.map +1 -1
- package/dist/server/service/database/oracle.service.ts +57 -57
- package/dist/server/service/database/postgres.service.d.ts.map +1 -1
- package/dist/server/service/database/postgres.service.js +10 -9
- package/dist/server/service/database/postgres.service.js.map +1 -1
- package/dist/server/service/database/postgres.service.ts +10 -9
- package/dist/server/service/database/sap.service.d.ts +8 -0
- package/dist/server/service/database/sap.service.d.ts.map +1 -1
- package/dist/server/service/database/sap.service.js +37 -38
- package/dist/server/service/database/sap.service.js.map +1 -1
- package/dist/server/service/database/sap.service.ts +39 -49
- package/dist/server/service/database/sqlite.service.d.ts.map +1 -1
- package/dist/server/service/database/sqlite.service.js +15 -11
- package/dist/server/service/database/sqlite.service.js.map +1 -1
- package/dist/server/service/database/sqlite.service.ts +15 -11
- package/package.json +1 -1
- package/public/fdb2.png +0 -0
- package/scripts/verify-db-support.cjs +93 -7
- package/server.js +15 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { n as __esmMin } from "./rolldown-runtime.js";
|
|
2
|
+
//#region src/platform/database/utils/helpers.ts
|
|
3
|
+
async function copyToClipboard(text) {
|
|
4
|
+
try {
|
|
5
|
+
await navigator.clipboard.writeText(text);
|
|
6
|
+
return true;
|
|
7
|
+
} catch (error) {
|
|
8
|
+
const textArea = document.createElement("textarea");
|
|
9
|
+
textArea.value = text;
|
|
10
|
+
textArea.style.position = "fixed";
|
|
11
|
+
textArea.style.opacity = "0";
|
|
12
|
+
document.body.appendChild(textArea);
|
|
13
|
+
textArea.focus();
|
|
14
|
+
textArea.select();
|
|
15
|
+
try {
|
|
16
|
+
document.execCommand("copy");
|
|
17
|
+
document.body.removeChild(textArea);
|
|
18
|
+
return true;
|
|
19
|
+
} catch (error) {
|
|
20
|
+
document.body.removeChild(textArea);
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
var init_helpers = __esmMin((() => {}));
|
|
26
|
+
//#endregion
|
|
27
|
+
export { init_helpers as n, copyToClipboard as t };
|
package/dist/public/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./layout.js","./rolldown-runtime.js","./vue.js","./layout.css","./explorer.js","./explorer.css","./vconsole.min.js"])))=>i.map(i=>d[i]);
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./layout.js","./rolldown-runtime.js","./vue.js","./layout.css","./explorer.js","./database.js","./modal.js","./helpers.js","./export.js","./explorer.css","./database2.js","./database.css","./sql-query-editor.js","./sql-query-editor.css","./query-history.js","./query-history.css","./database-monitor.js","./echarts.js","./database-monitor.css","./vconsole.min.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
import { a as __toESM, n as __esmMin, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime.js";
|
|
3
3
|
import { $ as markRaw, A as defineComponent, B as renderList, C as createBlock, F as nextTick, G as watch, H as resolveComponent, I as onBeforeUnmount, J as effectScope, L as onMounted, M as hasInjectionContext, O as createTextVNode, P as inject, Q as isRef, R as onUnmounted, S as createBaseVNode, T as createElementBlock, U as resolveDynamicComponent, V as renderSlot, W as useSlots, Y as getCurrentScope, Z as isReactive, a as init_vue_router, at as unref, b as Fragment, c as createI18n, ct as normalizeStyle, d as init_vue_runtime_esm_bundler, et as onScopeDispose, i as createWebHistory, it as toRefs, j as getCurrentInstance, k as createVNode, l as init_vue_i18n, lt as toDisplayString, n as useTitle, nt as ref, p as createApp, r as createRouter, rt as toRaw, st as normalizeClass, t as init_core, tt as reactive, u as useI18n, w as createCommentVNode, x as computed, y as withModifiers, z as openBlock } from "./vue.js";
|
|
4
4
|
import { i as init_bootstrap, n as init_bootstrap_esm, r as init_bootstrap_icons, t as Modal } from "./bootstrap.js";
|
|
@@ -4550,9 +4550,9 @@ var init_bridge = __esmMin((() => {
|
|
|
4550
4550
|
* webview 内 CSP 已限定脚本来源、宿主是唯一消息来源,该过滤没有实际收益。
|
|
4551
4551
|
*/
|
|
4552
4552
|
onMessage(callback) {
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4553
|
+
const handler = (event) => callback(event.data);
|
|
4554
|
+
window.addEventListener("message", handler);
|
|
4555
|
+
return () => window.removeEventListener("message", handler);
|
|
4556
4556
|
}
|
|
4557
4557
|
/**
|
|
4558
4558
|
* 获取状态
|
|
@@ -4572,14 +4572,8 @@ var init_bridge = __esmMin((() => {
|
|
|
4572
4572
|
* 初始化桥接
|
|
4573
4573
|
*/
|
|
4574
4574
|
init(messageHandler) {
|
|
4575
|
-
if (this.isVSCodeEnvironment())
|
|
4576
|
-
|
|
4577
|
-
const savedState = this.getState();
|
|
4578
|
-
if (savedState) this.postMessage({
|
|
4579
|
-
command: "restoreState",
|
|
4580
|
-
data: savedState
|
|
4581
|
-
});
|
|
4582
|
-
}
|
|
4575
|
+
if (!this.isVSCodeEnvironment()) return () => void 0;
|
|
4576
|
+
return messageHandler ? this.onMessage(messageHandler) : () => void 0;
|
|
4583
4577
|
}
|
|
4584
4578
|
};
|
|
4585
4579
|
bridgeInstance = null;
|
|
@@ -4608,15 +4602,17 @@ function installListener() {
|
|
|
4608
4602
|
/**
|
|
4609
4603
|
* 发送 API 请求到扩展宿主,resolve 为 { ret, msg, data } 包装体(与桌面端 HTTP 响应体一致)。
|
|
4610
4604
|
*/
|
|
4611
|
-
function vscodeApiRequest(path, data) {
|
|
4605
|
+
function vscodeApiRequest(path, data, timeoutMs = 6e4) {
|
|
4612
4606
|
installListener();
|
|
4613
4607
|
const id = ++seq;
|
|
4614
|
-
return new Promise((resolve
|
|
4608
|
+
return new Promise((resolve) => {
|
|
4615
4609
|
pending.set(id, {
|
|
4616
4610
|
resolve,
|
|
4617
|
-
reject: (e) => {
|
|
4618
|
-
|
|
4619
|
-
|
|
4611
|
+
reject: (e) => resolve({
|
|
4612
|
+
ret: 500,
|
|
4613
|
+
msg: e?.message || String(e),
|
|
4614
|
+
data: void 0
|
|
4615
|
+
})
|
|
4620
4616
|
});
|
|
4621
4617
|
const plain = data != null ? JSON.parse(JSON.stringify(data)) : {};
|
|
4622
4618
|
getVSCodeBridge().postMessage({
|
|
@@ -4633,7 +4629,7 @@ function vscodeApiRequest(path, data) {
|
|
|
4633
4629
|
msg: "请求超时: " + path
|
|
4634
4630
|
});
|
|
4635
4631
|
}
|
|
4636
|
-
},
|
|
4632
|
+
}, timeoutMs);
|
|
4637
4633
|
});
|
|
4638
4634
|
}
|
|
4639
4635
|
function installSaveFileListener() {
|
|
@@ -4747,10 +4743,11 @@ function getRequestUrl(api) {
|
|
|
4747
4743
|
}
|
|
4748
4744
|
async function requestServer(url, data, option) {
|
|
4749
4745
|
if (typeof __VS_CODE_ENV__ !== "undefined" && __VS_CODE_ENV__) try {
|
|
4746
|
+
const apiPath = url.replace(/^(http(s)?:)?\/\//, "").replace(/.*?\/api\//, "/api/");
|
|
4750
4747
|
return {
|
|
4751
4748
|
status: 200,
|
|
4752
4749
|
statusText: "OK",
|
|
4753
|
-
data: await vscodeApiRequest(
|
|
4750
|
+
data: await vscodeApiRequest(apiPath, data, /\/api\/database\/exportTableDataTo/i.test(apiPath) ? 1800 * 1e3 : void 0)
|
|
4754
4751
|
};
|
|
4755
4752
|
} catch (error) {
|
|
4756
4753
|
console.error("VSCode 消息桥调用失败:", error);
|
|
@@ -4986,6 +4983,10 @@ var init_zh_CN = __esmMin((() => {
|
|
|
4986
4983
|
close: "关闭",
|
|
4987
4984
|
back: "返回",
|
|
4988
4985
|
export: "导出",
|
|
4986
|
+
exporting: "正在导出中...",
|
|
4987
|
+
exportingProgress: "正在导出中…已扫描 {rows} 行,用时 {seconds} 秒",
|
|
4988
|
+
exportingWriting: "正在写入文件…已扫描 {rows} 行,用时 {seconds} 秒",
|
|
4989
|
+
exportingClient: "正在生成文件…用时 {seconds} 秒",
|
|
4989
4990
|
import: "导入",
|
|
4990
4991
|
copy: "复制",
|
|
4991
4992
|
paste: "粘贴",
|
|
@@ -5289,9 +5290,13 @@ var init_zh_CN = __esmMin((() => {
|
|
|
5289
5290
|
tableCreateFailed: "创建表失败",
|
|
5290
5291
|
tableModifyFailed: "表结构修改失败",
|
|
5291
5292
|
getTableInfoFailed: "获取表结构失败",
|
|
5293
|
+
viewFunctionDefinition: "查看定义",
|
|
5294
|
+
noFunction: "暂无函数",
|
|
5295
|
+
viewFunctionDefinitionTitle: "查看定义 - {name}",
|
|
5292
5296
|
size: "大小"
|
|
5293
5297
|
},
|
|
5294
5298
|
tableDetail: {
|
|
5299
|
+
indexes: "索引",
|
|
5295
5300
|
rowData: "行数据",
|
|
5296
5301
|
refreshData: "刷新数据",
|
|
5297
5302
|
backToConnection: "返回连接概览",
|
|
@@ -5481,6 +5486,8 @@ var init_zh_CN = __esmMin((() => {
|
|
|
5481
5486
|
},
|
|
5482
5487
|
importExport: {
|
|
5483
5488
|
title: "数据导入导出",
|
|
5489
|
+
database: "数据库",
|
|
5490
|
+
selectDatabase: "请选择数据库",
|
|
5484
5491
|
unknownError: "未知错误",
|
|
5485
5492
|
dataImport: "数据导入",
|
|
5486
5493
|
dataExport: "数据导出",
|
|
@@ -5554,6 +5561,17 @@ var init_zh_CN = __esmMin((() => {
|
|
|
5554
5561
|
exportPreview: "导出预览",
|
|
5555
5562
|
totalRecordsCount: "共 {count} 条记录",
|
|
5556
5563
|
databaseConnection: "数据库连接",
|
|
5564
|
+
keyColumn: "键列(用于更新)",
|
|
5565
|
+
selectKeyColumn: "请选择键列",
|
|
5566
|
+
selectKeyColumnFirst: "请先在步骤 2 选择用于更新匹配的键列",
|
|
5567
|
+
confirmReplace: "替换模式将先清空表「{table}」的全部数据,此操作不可恢复。确定继续导入吗?",
|
|
5568
|
+
skipEmptyKey: "第 {n} 行: 键列「{column}」为空,已跳过",
|
|
5569
|
+
rowError: "第 {n} 行: {msg}",
|
|
5570
|
+
updateFailed: "更新失败",
|
|
5571
|
+
rowRangeError: "第 {start}-{end} 行: {msg}",
|
|
5572
|
+
selectConnectionDatabaseTable: "请选择连接、数据库和表",
|
|
5573
|
+
exportRowsSuccess: "已导出 {n} 行数据",
|
|
5574
|
+
exportFailed: "导出失败: {msg}",
|
|
5557
5575
|
targetTable: "目标表"
|
|
5558
5576
|
},
|
|
5559
5577
|
queryHistory: {
|
|
@@ -5651,6 +5669,52 @@ var init_zh_CN = __esmMin((() => {
|
|
|
5651
5669
|
yAxisConnectionCount: "连接数",
|
|
5652
5670
|
hourLabel: "{n}时",
|
|
5653
5671
|
seriesResponseTime: "响应时间",
|
|
5672
|
+
noMetricData: "后端未提供该指标",
|
|
5673
|
+
tableCountByDatabase: "各数据库表数量",
|
|
5674
|
+
procedureCountByDatabase: "各数据库存储过程数量",
|
|
5675
|
+
slowQueryUnavailable: "暂无超过 2 秒的查询记录(仅采集本进程执行过的查询)",
|
|
5676
|
+
resourcesUnavailable: "当前连接暂无可用的资源指标,不支持的项目会明确标注",
|
|
5677
|
+
storageNoStats: "暂无统计接口数据",
|
|
5678
|
+
storageSource: "来自 {n} 个数据库的统计接口",
|
|
5679
|
+
chartNoData: "暂无数据库统计",
|
|
5680
|
+
metricUnavailable: "{name}:{reason}",
|
|
5681
|
+
reason: {
|
|
5682
|
+
METRIC_UNAVAILABLE: "该指标不可用",
|
|
5683
|
+
METRIC_DATABASE_SIZE_UNAVAILABLE: "数据库大小指标不可用",
|
|
5684
|
+
METRIC_ACTIVE_CONNECTIONS_UNSUPPORTED: "当前数据库类型未提供连接数指标",
|
|
5685
|
+
METRIC_QUERY_FAILED: "指标查询失败(详情见后端错误)",
|
|
5686
|
+
METRIC_SYSTEM_VIEW_REQUIRED: "需要数据库系统视图或额外权限",
|
|
5687
|
+
EXPLAIN_UNSAFE_SQL: "仅支持分析单条无副作用的 SELECT/WITH/SHOW/EXPLAIN 语句",
|
|
5688
|
+
EXPLAIN_MONGODB_UNSUPPORTED: "MongoDB 不支持 SQL EXPLAIN,请使用聚合管道分析",
|
|
5689
|
+
EXPLAIN_DIALECT_UNSUPPORTED: "当前数据库类型没有可用的安全 EXPLAIN 通道",
|
|
5690
|
+
EXPLAIN_FAILED: "EXPLAIN 执行失败(详情见后端错误)",
|
|
5691
|
+
CONNECTIVITY_FAILED: "连通性检查失败",
|
|
5692
|
+
TABLE_LIST_UNAVAILABLE: "表清单不可用,相关检查已跳过",
|
|
5693
|
+
SQLITE_INTEGRITY_CHECK_FAILED: "SQLite integrity_check 未返回 ok",
|
|
5694
|
+
MYSQL_CHECK_TABLE_ERROR: "MySQL CHECK TABLE 返回错误",
|
|
5695
|
+
COCKROACH_INDEX_VALIDITY_UNSUPPORTED: "CockroachDB 未提供等价的只读索引有效性检查",
|
|
5696
|
+
CLICKHOUSE_INTEGRITY_UNSUPPORTED: "ClickHouse CHECK TABLE 不能经当前 SQL 通道执行",
|
|
5697
|
+
ORACLE_INTEGRITY_UNSUPPORTED: "Oracle 结构校验需要额外权限,已跳过",
|
|
5698
|
+
INTEGRITY_UNSUPPORTED: "当前数据库类型没有可用的只读完整性检查",
|
|
5699
|
+
UNKNOWN: "不可用"
|
|
5700
|
+
},
|
|
5701
|
+
queryType: {
|
|
5702
|
+
select: "只读",
|
|
5703
|
+
write: "写入",
|
|
5704
|
+
ddl: "DDL",
|
|
5705
|
+
other: "其他"
|
|
5706
|
+
},
|
|
5707
|
+
failed: "失败",
|
|
5708
|
+
resourceLoadFailed: "资源指标加载失败",
|
|
5709
|
+
slowQueryLoadFailed: "慢查询记录加载失败",
|
|
5710
|
+
explainTitle: "查询执行计划",
|
|
5711
|
+
explainUnsupported: "当前数据库类型或语句不支持执行计划分析",
|
|
5712
|
+
explainFailed: "执行计划分析失败",
|
|
5713
|
+
clearFailed: "清空慢查询记录失败",
|
|
5714
|
+
tableCount: "表数量",
|
|
5715
|
+
tableCountTooltip: "表数量: {n}",
|
|
5716
|
+
procedureCount: "存储过程数量",
|
|
5717
|
+
procedureCountTooltip: "存储过程数量: {n}",
|
|
5654
5718
|
seriesConnectionCount: "连接数"
|
|
5655
5719
|
},
|
|
5656
5720
|
dbTools: {
|
|
@@ -5731,9 +5795,66 @@ var init_zh_CN = __esmMin((() => {
|
|
|
5731
5795
|
healthCheckConnection: "连接状态",
|
|
5732
5796
|
healthCheckTableIntegrity: "表完整性",
|
|
5733
5797
|
healthCheckIndexStatus: "索引状态",
|
|
5798
|
+
healthCheckTableInventory: "表/集合清单",
|
|
5799
|
+
healthCheckIndexStats: "索引统计",
|
|
5800
|
+
healthCheckIndexValidity: "索引有效性",
|
|
5801
|
+
healthCheckInvalidIndexes: "无效索引 {n} 个",
|
|
5802
|
+
healthCheckIntegrityOk: "完整性检查通过",
|
|
5803
|
+
healthCheckUnsupported: "该数据库类型暂无只读完整性检查能力",
|
|
5804
|
+
healthCheckPartial: "仅检查前 {n} 张表(共 {total} 张)",
|
|
5734
5805
|
healthCheckDiskSpace: "磁盘空间",
|
|
5735
5806
|
unknownError: "未知错误",
|
|
5736
5807
|
toolTitle: "工具",
|
|
5808
|
+
restoreClientNotice: "当前实现(客户端 SQL 文件恢复):浏览器读取 .sql 文件文本,按分号拆分后逐条调用 executeQuery 执行;不会把文件名当作服务器路径。",
|
|
5809
|
+
restoreClientLimit: "限制:不解析存储过程/触发器内部的分号与 DELIMITER,非 .sql 备份格式不支持;\"删除现有表\"选项在客户端恢复中不生效。",
|
|
5810
|
+
importSqlFileTitle: "导入 SQL 文件",
|
|
5811
|
+
importSqlFileHint: "浏览器读取 .sql 文件文本,按分号拆分后逐条调用 executeQuery 执行,并在执行结果区报告每条语句的成功/失败。",
|
|
5812
|
+
importSqlFileLimit: "限制:DDL 批次按语句逐条发送(无事务包裹),不解析存储过程/触发器内的分号与 DELIMITER。",
|
|
5813
|
+
importAndExecute: "导入并执行",
|
|
5814
|
+
createUserHint: "支持 MySQL / PostgreSQL / MSSQL / Oracle;其他方言会明确拒绝。点击创建后会弹出 DCL 二次确认。",
|
|
5815
|
+
hostMySQLHint: "主机(仅 MySQL,默认 %)",
|
|
5816
|
+
roleOptional: "角色(可选)",
|
|
5817
|
+
rolePlaceholder: "例如 MySQL: readonly / PostgreSQL: readonly",
|
|
5818
|
+
createWithConfirm: "创建(需确认)",
|
|
5819
|
+
scheduledBackupServerTitle: "定时备份(服务端)",
|
|
5820
|
+
scheduleHint: "计划保存在服务端数据目录,由服务端进程每分钟检查执行;仅在服务端运行时生效。",
|
|
5821
|
+
intervalMinutes: "间隔(分钟)",
|
|
5822
|
+
saveCurrentSchedule: "保存当前连接的计划",
|
|
5823
|
+
scheduleConnectionDatabase: "连接 / 数据库",
|
|
5824
|
+
scheduleInterval: "间隔",
|
|
5825
|
+
scheduleLastRun: "上次执行",
|
|
5826
|
+
minutes: "{n} 分钟",
|
|
5827
|
+
scheduleEnabled: "已启用",
|
|
5828
|
+
scheduleDisabled: "已停用",
|
|
5829
|
+
runNow: "立即执行",
|
|
5830
|
+
enable: "启用",
|
|
5831
|
+
disable: "停用",
|
|
5832
|
+
noSchedule: "暂无备份计划",
|
|
5833
|
+
unsupportedDialect: "{operation}不支持当前数据库类型:{type}(仅支持 MySQL/PostgreSQL/MSSQL/Oracle)",
|
|
5834
|
+
maintenanceUnsupported: "{operation}暂不支持当前数据库类型:{type}(仅 MySQL / PostgreSQL / CockroachDB / SQLite 提供等价操作)",
|
|
5835
|
+
fillUsernamePassword: "请填写用户名和密码",
|
|
5836
|
+
confirmCreateUser: "即将执行以下 DCL 语句(不可自动回滚),请确认:\n{sql}",
|
|
5837
|
+
confirmCreateUserTitle: "确认创建用户(DCL)",
|
|
5838
|
+
createUserResult: "创建用户语句执行完成:成功 {success} 条,失败 {failed} 条。",
|
|
5839
|
+
userCreated: "用户创建成功",
|
|
5840
|
+
mysqlOnly: "{operation} 仅支持 MySQL,当前连接:{type}",
|
|
5841
|
+
exportStructureFailed: "导出结构失败",
|
|
5842
|
+
noSchemaText: "后端未返回可保存的结构文本",
|
|
5843
|
+
saveCancelled: "用户取消保存",
|
|
5844
|
+
exportStructureSuccess: "结构导出成功:{path}",
|
|
5845
|
+
exportStructureSuccessToast: "结构导出成功",
|
|
5846
|
+
noSqlStatements: "未从文件中解析出可执行的 SQL 语句",
|
|
5847
|
+
ddlBatchHint: "DDL 批次按语句逐条发送(无事务包裹、不解析存储过程/触发器内的分号与 DELIMITER)",
|
|
5848
|
+
readSqlFileFailed: "读取 SQL 文件失败",
|
|
5849
|
+
tableCollectionCount: "{n} 张表/集合",
|
|
5850
|
+
indexCount: "{n} 个索引",
|
|
5851
|
+
restoreClientResult: "客户端 SQL 文件恢复完成:成功 {success} 条,失败 {failed} 条。按分号朴素拆分(不解析存储过程/触发器中的分号与 DELIMITER),\"删除现有表\"选项未应用。",
|
|
5852
|
+
loadSchedulesFailed: "读取备份计划失败: {msg}",
|
|
5853
|
+
scheduleSaved: "已保存服务端备份计划:每 {n} 分钟一次,{status}。",
|
|
5854
|
+
saveScheduleFailed: "保存备份计划失败: {msg}",
|
|
5855
|
+
updateScheduleFailed: "更新备份计划失败: {msg}",
|
|
5856
|
+
confirmDeleteSchedule: "确定删除备份计划「{name}」吗?",
|
|
5857
|
+
deleteScheduleFailed: "删除备份计划失败: {msg}",
|
|
5737
5858
|
dataSyncTitle: "数据同步"
|
|
5738
5859
|
},
|
|
5739
5860
|
aboutPage: {
|
|
@@ -5828,6 +5949,41 @@ var init_zh_CN = __esmMin((() => {
|
|
|
5828
5949
|
available: "发现新版本 v{version},点击下载更新。",
|
|
5829
5950
|
downloadNow: "下载",
|
|
5830
5951
|
later: "稍后"
|
|
5952
|
+
},
|
|
5953
|
+
sqlQueryEditor: {
|
|
5954
|
+
defaultDatabase: "默认数据库",
|
|
5955
|
+
savedQueries: "已保存查询",
|
|
5956
|
+
unnamedQuery: "未命名查询"
|
|
5957
|
+
},
|
|
5958
|
+
vscodeQuery: {
|
|
5959
|
+
historyCount: "历史 ({n})",
|
|
5960
|
+
exportFormatLabel: "结果导出格式",
|
|
5961
|
+
exportResult: "导出结果",
|
|
5962
|
+
queryHistory: "查询历史",
|
|
5963
|
+
clearHistory: "清空历史",
|
|
5964
|
+
noHistory: "暂无历史记录",
|
|
5965
|
+
queryError: "查询错误: {msg}",
|
|
5966
|
+
noExportResult: "没有可导出的查询结果",
|
|
5967
|
+
confirmClearHistory: "确定清空全部查询历史吗?"
|
|
5968
|
+
},
|
|
5969
|
+
vscodeTableData: {
|
|
5970
|
+
insertRow: "新增行",
|
|
5971
|
+
editSelectedRow: "编辑选中行",
|
|
5972
|
+
deleteSelectedRow: "删除选中行",
|
|
5973
|
+
selectRowFirst: "请先选中一行数据",
|
|
5974
|
+
confirmDeleteRow: "确定删除选中的行吗?此操作不可恢复。",
|
|
5975
|
+
noDeleteCondition: "无法确定删除条件:表中没有可用列",
|
|
5976
|
+
rowDeleted: "行已删除",
|
|
5977
|
+
confirmDrop: "确定删除表「{table}」吗?表结构与数据将一并删除且不可恢复。",
|
|
5978
|
+
tableDropped: "表已删除",
|
|
5979
|
+
exportedTo: "已导出到 {path}"
|
|
5980
|
+
},
|
|
5981
|
+
vscodeTableStructure: {
|
|
5982
|
+
editStructure: "编辑表结构",
|
|
5983
|
+
createIndex: "新建索引",
|
|
5984
|
+
uniqueIndex: "唯一索引",
|
|
5985
|
+
operationSuccess: "操作成功",
|
|
5986
|
+
operationFailed: "操作失败"
|
|
5831
5987
|
}
|
|
5832
5988
|
};
|
|
5833
5989
|
}));
|
|
@@ -5853,6 +6009,10 @@ var init_en_US = __esmMin((() => {
|
|
|
5853
6009
|
close: "Close",
|
|
5854
6010
|
back: "Back",
|
|
5855
6011
|
export: "Export",
|
|
6012
|
+
exporting: "Exporting...",
|
|
6013
|
+
exportingProgress: "Exporting… {rows} rows scanned, {seconds}s elapsed",
|
|
6014
|
+
exportingWriting: "Writing file… {rows} rows scanned, {seconds}s elapsed",
|
|
6015
|
+
exportingClient: "Generating file… {seconds}s elapsed",
|
|
5856
6016
|
import: "Import",
|
|
5857
6017
|
copy: "Copy",
|
|
5858
6018
|
paste: "Paste",
|
|
@@ -6104,6 +6264,7 @@ var init_en_US = __esmMin((() => {
|
|
|
6104
6264
|
},
|
|
6105
6265
|
databaseDetail: {
|
|
6106
6266
|
tables: "Tables",
|
|
6267
|
+
backToConnection: "Back to connection",
|
|
6107
6268
|
collections: "Collections",
|
|
6108
6269
|
views: "Views",
|
|
6109
6270
|
procedures: "Procedures",
|
|
@@ -6155,9 +6316,15 @@ var init_en_US = __esmMin((() => {
|
|
|
6155
6316
|
tableCreateFailed: "Failed to create table",
|
|
6156
6317
|
tableModifyFailed: "Failed to modify table structure",
|
|
6157
6318
|
getTableInfoFailed: "Failed to get table structure",
|
|
6319
|
+
viewFunctionDefinition: "View Definition",
|
|
6320
|
+
noFunction: "No functions yet",
|
|
6321
|
+
viewFunctionDefinitionTitle: "View Definition - {name}",
|
|
6158
6322
|
size: "Size"
|
|
6159
6323
|
},
|
|
6160
6324
|
tableDetail: {
|
|
6325
|
+
backToConnection: "Back to connection",
|
|
6326
|
+
backToDatabase: "Back to database",
|
|
6327
|
+
indexes: "Indexes",
|
|
6161
6328
|
rowData: "Row Data",
|
|
6162
6329
|
refreshData: "Refresh Data",
|
|
6163
6330
|
modifyStructure: "Modify Structure",
|
|
@@ -6345,6 +6512,8 @@ var init_en_US = __esmMin((() => {
|
|
|
6345
6512
|
},
|
|
6346
6513
|
importExport: {
|
|
6347
6514
|
title: "Data Import/Export",
|
|
6515
|
+
database: "Database",
|
|
6516
|
+
selectDatabase: "Select database",
|
|
6348
6517
|
unknownError: "Unknown error",
|
|
6349
6518
|
dataImport: "Data Import",
|
|
6350
6519
|
dataExport: "Data Export",
|
|
@@ -6418,6 +6587,17 @@ var init_en_US = __esmMin((() => {
|
|
|
6418
6587
|
exportPreview: "Export Preview",
|
|
6419
6588
|
totalRecordsCount: "{count} records total",
|
|
6420
6589
|
databaseConnection: "Database Connection",
|
|
6590
|
+
keyColumn: "Key column (for update)",
|
|
6591
|
+
selectKeyColumn: "Select key column",
|
|
6592
|
+
selectKeyColumnFirst: "Please select the key column for update matching in step 2 first",
|
|
6593
|
+
confirmReplace: "Replace mode will clear all data in table \"{table}\". This action cannot be undone. Continue importing?",
|
|
6594
|
+
skipEmptyKey: "Row {n}: key column \"{column}\" is empty, skipped",
|
|
6595
|
+
rowError: "Row {n}: {msg}",
|
|
6596
|
+
updateFailed: "Update failed",
|
|
6597
|
+
rowRangeError: "Rows {start}-{end}: {msg}",
|
|
6598
|
+
selectConnectionDatabaseTable: "Please select a connection, database and table",
|
|
6599
|
+
exportRowsSuccess: "Exported {n} rows",
|
|
6600
|
+
exportFailed: "Export failed: {msg}",
|
|
6421
6601
|
targetTable: "Target Table"
|
|
6422
6602
|
},
|
|
6423
6603
|
queryHistory: {
|
|
@@ -6515,6 +6695,52 @@ var init_en_US = __esmMin((() => {
|
|
|
6515
6695
|
yAxisConnectionCount: "Connections",
|
|
6516
6696
|
hourLabel: "{n}:00",
|
|
6517
6697
|
seriesResponseTime: "Response Time",
|
|
6698
|
+
noMetricData: "Metric not provided by backend",
|
|
6699
|
+
tableCountByDatabase: "Table count by database",
|
|
6700
|
+
procedureCountByDatabase: "Stored procedure count by database",
|
|
6701
|
+
slowQueryUnavailable: "No queries over 2s recorded (only queries executed by this process are sampled)",
|
|
6702
|
+
resourcesUnavailable: "No resource metrics available for this connection; unsupported items are labeled explicitly",
|
|
6703
|
+
storageNoStats: "No statistics data available",
|
|
6704
|
+
storageSource: "From statistics of {n} databases",
|
|
6705
|
+
chartNoData: "No database statistics",
|
|
6706
|
+
metricUnavailable: "{name}: {reason}",
|
|
6707
|
+
reason: {
|
|
6708
|
+
METRIC_UNAVAILABLE: "Metric is unavailable for this dialect",
|
|
6709
|
+
METRIC_DATABASE_SIZE_UNAVAILABLE: "Database size is unavailable",
|
|
6710
|
+
METRIC_ACTIVE_CONNECTIONS_UNSUPPORTED: "This dialect has no connection-count metric",
|
|
6711
|
+
METRIC_QUERY_FAILED: "Metric query failed (see details for backend error)",
|
|
6712
|
+
METRIC_SYSTEM_VIEW_REQUIRED: "Requires database system views or extra privileges",
|
|
6713
|
+
EXPLAIN_UNSAFE_SQL: "Only a single read-only SELECT/WITH/SHOW/EXPLAIN statement can be analyzed",
|
|
6714
|
+
EXPLAIN_MONGODB_UNSUPPORTED: "MongoDB SQL EXPLAIN is unavailable; use aggregation explain",
|
|
6715
|
+
EXPLAIN_DIALECT_UNSUPPORTED: "No safe EXPLAIN channel is available for this dialect",
|
|
6716
|
+
EXPLAIN_FAILED: "EXPLAIN execution failed (see details for backend error)",
|
|
6717
|
+
CONNECTIVITY_FAILED: "Connectivity check failed",
|
|
6718
|
+
TABLE_LIST_UNAVAILABLE: "Table inventory is unavailable; dependent checks were skipped",
|
|
6719
|
+
SQLITE_INTEGRITY_CHECK_FAILED: "SQLite integrity_check did not return ok",
|
|
6720
|
+
MYSQL_CHECK_TABLE_ERROR: "MySQL CHECK TABLE reported an error",
|
|
6721
|
+
COCKROACH_INDEX_VALIDITY_UNSUPPORTED: "CockroachDB has no equivalent read-only index validity check",
|
|
6722
|
+
CLICKHOUSE_INTEGRITY_UNSUPPORTED: "ClickHouse CHECK TABLE cannot run through this SQL channel",
|
|
6723
|
+
ORACLE_INTEGRITY_UNSUPPORTED: "Oracle integrity check needs extra privileges and was skipped",
|
|
6724
|
+
INTEGRITY_UNSUPPORTED: "No read-only integrity check is available for this dialect",
|
|
6725
|
+
UNKNOWN: "Unavailable"
|
|
6726
|
+
},
|
|
6727
|
+
queryType: {
|
|
6728
|
+
select: "Read",
|
|
6729
|
+
write: "Write",
|
|
6730
|
+
ddl: "DDL",
|
|
6731
|
+
other: "Other"
|
|
6732
|
+
},
|
|
6733
|
+
failed: "Failed",
|
|
6734
|
+
resourceLoadFailed: "Failed to load resource metrics",
|
|
6735
|
+
slowQueryLoadFailed: "Failed to load slow queries",
|
|
6736
|
+
explainTitle: "Query Execution Plan",
|
|
6737
|
+
explainUnsupported: "Execution plan is not available for this dialect or statement",
|
|
6738
|
+
explainFailed: "Failed to analyze query",
|
|
6739
|
+
clearFailed: "Failed to clear slow queries",
|
|
6740
|
+
tableCount: "Table count",
|
|
6741
|
+
tableCountTooltip: "Table count: {n}",
|
|
6742
|
+
procedureCount: "Stored procedure count",
|
|
6743
|
+
procedureCountTooltip: "Stored procedure count: {n}",
|
|
6518
6744
|
seriesConnectionCount: "Connections"
|
|
6519
6745
|
},
|
|
6520
6746
|
dbTools: {
|
|
@@ -6595,9 +6821,66 @@ var init_en_US = __esmMin((() => {
|
|
|
6595
6821
|
healthCheckConnection: "Connection Status",
|
|
6596
6822
|
healthCheckTableIntegrity: "Table Integrity",
|
|
6597
6823
|
healthCheckIndexStatus: "Index Status",
|
|
6824
|
+
healthCheckTableInventory: "Table/Collection Inventory",
|
|
6825
|
+
healthCheckIndexStats: "Index Statistics",
|
|
6826
|
+
healthCheckIndexValidity: "Index Validity",
|
|
6827
|
+
healthCheckInvalidIndexes: "{n} invalid indexes",
|
|
6828
|
+
healthCheckIntegrityOk: "Integrity check passed",
|
|
6829
|
+
healthCheckUnsupported: "No read-only integrity check available for this dialect",
|
|
6830
|
+
healthCheckPartial: "Checked the first {n} of {total} tables",
|
|
6598
6831
|
healthCheckDiskSpace: "Disk Space",
|
|
6599
6832
|
unknownError: "Unknown error",
|
|
6600
6833
|
toolTitle: "Tool",
|
|
6834
|
+
restoreClientNotice: "Client-side SQL file restore: the browser reads the .sql file text, splits it by semicolons and executes each statement via executeQuery; the file name is never treated as a server path.",
|
|
6835
|
+
restoreClientLimit: "Limitations: semicolons and DELIMITER inside stored procedures/triggers are not parsed, non-.sql backup formats are unsupported, and the \"drop existing tables\" option has no effect in client-side restore.",
|
|
6836
|
+
importSqlFileTitle: "Import SQL File",
|
|
6837
|
+
importSqlFileHint: "The browser reads the .sql file text, splits it by semicolons, executes each statement via executeQuery, and reports success or failure for each statement in the results area.",
|
|
6838
|
+
importSqlFileLimit: "Limitations: DDL batches are sent statement by statement (no transaction wrapper); semicolons and DELIMITER inside stored procedures/triggers are not parsed.",
|
|
6839
|
+
importAndExecute: "Import and Execute",
|
|
6840
|
+
createUserHint: "Supports MySQL / PostgreSQL / MSSQL / Oracle; other dialects are explicitly rejected. A DCL confirmation dialog appears after clicking Create.",
|
|
6841
|
+
hostMySQLHint: "Host (MySQL only, defaults to %)",
|
|
6842
|
+
roleOptional: "Role (optional)",
|
|
6843
|
+
rolePlaceholder: "e.g. MySQL: readonly / PostgreSQL: readonly",
|
|
6844
|
+
createWithConfirm: "Create (requires confirmation)",
|
|
6845
|
+
scheduledBackupServerTitle: "Scheduled Backup (Server)",
|
|
6846
|
+
scheduleHint: "Schedules are stored in the server data directory and checked every minute by the server process; they only take effect while the server is running.",
|
|
6847
|
+
intervalMinutes: "Interval (minutes)",
|
|
6848
|
+
saveCurrentSchedule: "Save schedule for current connection",
|
|
6849
|
+
scheduleConnectionDatabase: "Connection / Database",
|
|
6850
|
+
scheduleInterval: "Interval",
|
|
6851
|
+
scheduleLastRun: "Last run",
|
|
6852
|
+
minutes: "{n} min",
|
|
6853
|
+
scheduleEnabled: "Enabled",
|
|
6854
|
+
scheduleDisabled: "Disabled",
|
|
6855
|
+
runNow: "Run now",
|
|
6856
|
+
enable: "Enable",
|
|
6857
|
+
disable: "Disable",
|
|
6858
|
+
noSchedule: "No backup schedules",
|
|
6859
|
+
unsupportedDialect: "{operation} is not supported for the current database type: {type} (only MySQL/PostgreSQL/MSSQL/Oracle are supported)",
|
|
6860
|
+
maintenanceUnsupported: "{operation} is not supported for the current database type: {type} (equivalent operations are available for MySQL / PostgreSQL / CockroachDB / SQLite only)",
|
|
6861
|
+
fillUsernamePassword: "Please enter a username and password",
|
|
6862
|
+
confirmCreateUser: "The following DCL statements will be executed (no automatic rollback). Please confirm:\n{sql}",
|
|
6863
|
+
confirmCreateUserTitle: "Confirm Create User (DCL)",
|
|
6864
|
+
createUserResult: "Create-user statements finished: {success} succeeded, {failed} failed.",
|
|
6865
|
+
userCreated: "User created successfully",
|
|
6866
|
+
mysqlOnly: "{operation} is only supported for MySQL; current connection: {type}",
|
|
6867
|
+
exportStructureFailed: "Failed to export structure",
|
|
6868
|
+
noSchemaText: "The backend returned no structure text that can be saved",
|
|
6869
|
+
saveCancelled: "Save cancelled by user",
|
|
6870
|
+
exportStructureSuccess: "Structure exported successfully: {path}",
|
|
6871
|
+
exportStructureSuccessToast: "Structure exported successfully",
|
|
6872
|
+
noSqlStatements: "No executable SQL statements were parsed from the file",
|
|
6873
|
+
ddlBatchHint: "DDL batches are sent statement by statement (no transaction wrapper; semicolons and DELIMITER inside stored procedures/triggers are not parsed)",
|
|
6874
|
+
readSqlFileFailed: "Failed to read SQL file",
|
|
6875
|
+
tableCollectionCount: "{n} tables/collections",
|
|
6876
|
+
indexCount: "{n} indexes",
|
|
6877
|
+
restoreClientResult: "Client-side SQL file restore finished: {success} succeeded, {failed} failed. Statements were split naively by semicolons (semicolons and DELIMITER inside stored procedures/triggers are not parsed), and the \"drop existing tables\" option was not applied.",
|
|
6878
|
+
loadSchedulesFailed: "Failed to load backup schedules: {msg}",
|
|
6879
|
+
scheduleSaved: "Server backup schedule saved: once every {n} minutes, {status}.",
|
|
6880
|
+
saveScheduleFailed: "Failed to save backup schedule: {msg}",
|
|
6881
|
+
updateScheduleFailed: "Failed to update backup schedule: {msg}",
|
|
6882
|
+
confirmDeleteSchedule: "Are you sure you want to delete the backup schedule \"{name}\"?",
|
|
6883
|
+
deleteScheduleFailed: "Failed to delete backup schedule: {msg}",
|
|
6601
6884
|
dataSyncTitle: "Data Sync"
|
|
6602
6885
|
},
|
|
6603
6886
|
aboutPage: {
|
|
@@ -6692,6 +6975,41 @@ var init_en_US = __esmMin((() => {
|
|
|
6692
6975
|
available: "New version v{version} is available.",
|
|
6693
6976
|
downloadNow: "Download",
|
|
6694
6977
|
later: "Later"
|
|
6978
|
+
},
|
|
6979
|
+
sqlQueryEditor: {
|
|
6980
|
+
defaultDatabase: "Default database",
|
|
6981
|
+
savedQueries: "Saved queries",
|
|
6982
|
+
unnamedQuery: "Unnamed query"
|
|
6983
|
+
},
|
|
6984
|
+
vscodeQuery: {
|
|
6985
|
+
historyCount: "History ({n})",
|
|
6986
|
+
exportFormatLabel: "Result export format",
|
|
6987
|
+
exportResult: "Export result",
|
|
6988
|
+
queryHistory: "Query History",
|
|
6989
|
+
clearHistory: "Clear history",
|
|
6990
|
+
noHistory: "No history records",
|
|
6991
|
+
queryError: "Query error: {msg}",
|
|
6992
|
+
noExportResult: "No query results to export",
|
|
6993
|
+
confirmClearHistory: "Are you sure you want to clear all query history?"
|
|
6994
|
+
},
|
|
6995
|
+
vscodeTableData: {
|
|
6996
|
+
insertRow: "Insert row",
|
|
6997
|
+
editSelectedRow: "Edit selected row",
|
|
6998
|
+
deleteSelectedRow: "Delete selected row",
|
|
6999
|
+
selectRowFirst: "Please select a row first",
|
|
7000
|
+
confirmDeleteRow: "Are you sure you want to delete the selected row? This action cannot be undone.",
|
|
7001
|
+
noDeleteCondition: "Cannot determine a delete condition: the table has no usable columns",
|
|
7002
|
+
rowDeleted: "Row deleted",
|
|
7003
|
+
confirmDrop: "Are you sure you want to drop table \"{table}\"? Its structure and data will be deleted and cannot be undone.",
|
|
7004
|
+
tableDropped: "Table dropped",
|
|
7005
|
+
exportedTo: "Exported to {path}"
|
|
7006
|
+
},
|
|
7007
|
+
vscodeTableStructure: {
|
|
7008
|
+
editStructure: "Edit table structure",
|
|
7009
|
+
createIndex: "Create Index",
|
|
7010
|
+
uniqueIndex: "Unique index",
|
|
7011
|
+
operationSuccess: "Operation succeeded",
|
|
7012
|
+
operationFailed: "Operation failed"
|
|
6695
7013
|
}
|
|
6696
7014
|
};
|
|
6697
7015
|
}));
|
|
@@ -6807,25 +7125,68 @@ var init_router$1 = __esmMin((() => {
|
|
|
6807
7125
|
icon: "bi-database",
|
|
6808
7126
|
needAuth: false
|
|
6809
7127
|
},
|
|
6810
|
-
children: [
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
7128
|
+
children: [
|
|
7129
|
+
{
|
|
7130
|
+
path: "index",
|
|
7131
|
+
name: "database-index",
|
|
7132
|
+
component: () => __vitePreload(() => import("./explorer.js"), __vite__mapDeps([4,1,2,5,6,7,8,9]), import.meta.url),
|
|
7133
|
+
meta: {
|
|
7134
|
+
titleKey: "nav.databaseHome",
|
|
7135
|
+
icon: "bi-house",
|
|
7136
|
+
needAuth: false
|
|
7137
|
+
}
|
|
7138
|
+
},
|
|
7139
|
+
{
|
|
7140
|
+
path: "explorer",
|
|
7141
|
+
name: "database-explorer",
|
|
7142
|
+
component: () => __vitePreload(() => import("./explorer.js"), __vite__mapDeps([4,1,2,5,6,7,8,9]), import.meta.url),
|
|
7143
|
+
meta: {
|
|
7144
|
+
titleKey: "nav.databaseExplorer",
|
|
7145
|
+
icon: "bi-diagram-3",
|
|
7146
|
+
needAuth: false
|
|
7147
|
+
}
|
|
7148
|
+
},
|
|
7149
|
+
{
|
|
7150
|
+
path: "dashboard",
|
|
7151
|
+
name: "database-dashboard",
|
|
7152
|
+
component: () => __vitePreload(() => import("./database2.js"), __vite__mapDeps([10,1,2,5,11]), import.meta.url),
|
|
7153
|
+
meta: {
|
|
7154
|
+
titleKey: "nav.databaseHome",
|
|
7155
|
+
icon: "bi-house",
|
|
7156
|
+
needAuth: false
|
|
7157
|
+
}
|
|
7158
|
+
},
|
|
7159
|
+
{
|
|
7160
|
+
path: "sql-query",
|
|
7161
|
+
name: "database-sql-query",
|
|
7162
|
+
component: () => __vitePreload(() => import("./sql-query-editor.js"), __vite__mapDeps([12,1,2,5,8,13]), import.meta.url),
|
|
7163
|
+
meta: {
|
|
7164
|
+
titleKey: "nav.sqlQuery",
|
|
7165
|
+
icon: "bi-terminal",
|
|
7166
|
+
needAuth: false
|
|
7167
|
+
}
|
|
7168
|
+
},
|
|
7169
|
+
{
|
|
7170
|
+
path: "query-history",
|
|
7171
|
+
name: "database-query-history",
|
|
7172
|
+
component: () => __vitePreload(() => import("./query-history.js"), __vite__mapDeps([14,1,2,7,15]), import.meta.url),
|
|
7173
|
+
meta: {
|
|
7174
|
+
titleKey: "queryHistory.title",
|
|
7175
|
+
icon: "bi-clock-history",
|
|
7176
|
+
needAuth: false
|
|
7177
|
+
}
|
|
7178
|
+
},
|
|
7179
|
+
{
|
|
7180
|
+
path: "monitor",
|
|
7181
|
+
name: "database-monitor",
|
|
7182
|
+
component: () => __vitePreload(() => import("./database-monitor.js"), __vite__mapDeps([16,1,2,5,17,6,18]), import.meta.url),
|
|
7183
|
+
meta: {
|
|
7184
|
+
titleKey: "monitor.title",
|
|
7185
|
+
icon: "bi-activity",
|
|
7186
|
+
needAuth: false
|
|
7187
|
+
}
|
|
6827
7188
|
}
|
|
6828
|
-
|
|
7189
|
+
]
|
|
6829
7190
|
}];
|
|
6830
7191
|
}));
|
|
6831
7192
|
//#endregion
|
|
@@ -8032,7 +8393,7 @@ var init_modal = __esmMin((() => {
|
|
|
8032
8393
|
init_preload_helper();
|
|
8033
8394
|
if (window.__INITIAL_STATE__?.dev) __vitePreload(() => import("./vconsole.min.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then((VConsole) => {
|
|
8034
8395
|
new VConsole.default();
|
|
8035
|
-
}), __vite__mapDeps([
|
|
8396
|
+
}), __vite__mapDeps([19,1]), import.meta.url);
|
|
8036
8397
|
if (typeof document !== "undefined") {
|
|
8037
8398
|
document.body.classList.add("platform-desktop");
|
|
8038
8399
|
document.documentElement.setAttribute("data-bs-theme", "dark");
|