Files
MyGoNavi/frontend/wailsjs/go/app/App.js
杨国锋 987a3cf9d7 feat(datagrid): 增强数据导出功能并优化表格交互
- 新增导出选中数据/当前页功能,支持 CSV/JSON/MD 格式
- 实现导出文件名默认使用表名
- 在侧边栏增加连接状态指示灯(红/绿/灰)及断开连接功能
- 优化数据表格点击交互,改为双击编辑防止误触
- 修复侧边栏滚动条显示及内容截断问题
- 修复 SQL 调试日志及导出时的上下文引用错误
2026-02-02 14:38:15 +08:00

88 lines
2.5 KiB
JavaScript
Executable File

// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function ApplyChanges(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['ApplyChanges'](arg1, arg2, arg3, arg4);
}
export function CreateDatabase(arg1, arg2) {
return window['go']['app']['App']['CreateDatabase'](arg1, arg2);
}
export function DBConnect(arg1) {
return window['go']['app']['App']['DBConnect'](arg1);
}
export function DBGetAllColumns(arg1, arg2) {
return window['go']['app']['App']['DBGetAllColumns'](arg1, arg2);
}
export function DBGetColumns(arg1, arg2, arg3) {
return window['go']['app']['App']['DBGetColumns'](arg1, arg2, arg3);
}
export function DBGetDatabases(arg1) {
return window['go']['app']['App']['DBGetDatabases'](arg1);
}
export function DBGetForeignKeys(arg1, arg2, arg3) {
return window['go']['app']['App']['DBGetForeignKeys'](arg1, arg2, arg3);
}
export function DBGetIndexes(arg1, arg2, arg3) {
return window['go']['app']['App']['DBGetIndexes'](arg1, arg2, arg3);
}
export function DBGetTables(arg1, arg2) {
return window['go']['app']['App']['DBGetTables'](arg1, arg2);
}
export function DBGetTriggers(arg1, arg2, arg3) {
return window['go']['app']['App']['DBGetTriggers'](arg1, arg2, arg3);
}
export function DBQuery(arg1, arg2, arg3) {
return window['go']['app']['App']['DBQuery'](arg1, arg2, arg3);
}
export function DBShowCreateTable(arg1, arg2, arg3) {
return window['go']['app']['App']['DBShowCreateTable'](arg1, arg2, arg3);
}
export function ExportData(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['ExportData'](arg1, arg2, arg3, arg4);
}
export function ExportTable(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['ExportTable'](arg1, arg2, arg3, arg4);
}
export function ImportData(arg1, arg2, arg3) {
return window['go']['app']['App']['ImportData'](arg1, arg2, arg3);
}
export function MySQLConnect(arg1) {
return window['go']['app']['App']['MySQLConnect'](arg1);
}
export function MySQLGetDatabases(arg1) {
return window['go']['app']['App']['MySQLGetDatabases'](arg1);
}
export function MySQLGetTables(arg1, arg2) {
return window['go']['app']['App']['MySQLGetTables'](arg1, arg2);
}
export function MySQLQuery(arg1, arg2, arg3) {
return window['go']['app']['App']['MySQLQuery'](arg1, arg2, arg3);
}
export function MySQLShowCreateTable(arg1, arg2, arg3) {
return window['go']['app']['App']['MySQLShowCreateTable'](arg1, arg2, arg3);
}
export function OpenSQLFile() {
return window['go']['app']['App']['OpenSQLFile']();
}