feat: File management supports multi tab management (#10147)

This commit is contained in:
2025-08-26 17:10:00 +08:00 committed by GitHub
parent fd9627576b
commit 6b62b84157
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 790 additions and 565 deletions

View file

@ -112,6 +112,8 @@ const rightClick = ref({
currentRow: null,
});
const handleRightClick = (row, column, event) => {
tableRef.value.refElTable.clearSelection();
tableRef.value.refElTable.toggleRowSelection(row);
if (!props.rightButtons) {
return;
}
@ -126,6 +128,7 @@ const handleRightClick = (row, column, event) => {
};
const closeRightClick = () => {
rightClick.value.visible = false;
tableRef.value.refElTable.clearSelection();
document.removeEventListener('click', closeRightClick);
};
const disabled = computed(() => {
@ -134,6 +137,7 @@ const disabled = computed(() => {
};
});
function rightButtonClick(btn: any) {
closeRightClick();
btn.click(rightClick.value.currentRow);
}

View file

@ -1424,6 +1424,7 @@ const message = {
downloadStart: 'Download started',
moveSuccess: 'Successfully moved',
copySuccess: 'Successfully copied',
pasteMsg: 'Please click the [Paste] button at the top right of the target directory',
move: 'Move',
calculate: 'Calculate',
canNotDeCompress: 'Cannot decompress this file',

View file

@ -1370,6 +1370,7 @@ const message = {
downloadStart: 'ダウンロードが始まりました',
moveSuccess: '正常に移動しました',
copySuccess: '正常にコピーされました',
pasteMsg: '対象ディレクトリの右上にある貼り付けボタンをクリックしてください',
move: '動く',
calculate: '計算します',
canNotDeCompress: 'このファイルを解凍できません',

View file

@ -1356,6 +1356,7 @@ const message = {
downloadStart: '다운로드 시작됨',
moveSuccess: '이동 성공',
copySuccess: '복사 성공',
pasteMsg: '대상 디렉토리의 오른쪽 상단에 있는 [붙여넣기] 버튼을 클릭하세요',
move: '이동',
calculate: '계산',
canNotDeCompress: ' 파일은 압축 해제할 없습니다',

View file

@ -1411,6 +1411,7 @@ const message = {
downloadStart: 'Muat turun bermula',
moveSuccess: 'Berjaya dipindahkan',
copySuccess: 'Berjaya disalin',
pasteMsg: 'Sila klik butang "Tampal" di bahagian kanan atas direktori sasaran',
move: 'Pindah',
calculate: 'Kira',
canNotDeCompress: 'Tidak dapat nyahmampatkan fail ini',

View file

@ -1397,6 +1397,7 @@ const message = {
downloadStart: 'Download iniciado',
moveSuccess: 'Movido com sucesso',
copySuccess: 'Copiado com sucesso',
pasteMsg: 'Clique no botão "Colar" no canto superior direito do diretório de destino',
move: 'Mover',
calculate: 'Calcular',
canNotDeCompress: 'Não é possível descompactar este arquivo',

View file

@ -1401,6 +1401,7 @@ const message = {
downloadStart: 'Загрузка начата',
moveSuccess: 'Успешно перемещено',
copySuccess: 'Успешно скопировано',
pasteMsg: 'Нажмите кнопку «Вставить» в правом верхнем углу целевой директории',
move: 'Переместить',
calculate: 'Вычислить',
canNotDeCompress: 'Невозможно распаковать этот файл',

View file

@ -1441,6 +1441,7 @@ const message = {
downloadStart: 'İndirme başladı',
moveSuccess: 'Başarıyla taşındı',
copySuccess: 'Başarıyla kopyalandı',
pasteMsg: 'Hedef dizinin sağ üst köşesindeki "Yapıştır" düğmesine tıklayın',
move: 'Taşı',
calculate: 'Hesapla',
canNotDeCompress: 'Bu dosyanın sıkıştırması ılamaz',

View file

@ -1358,6 +1358,7 @@ const message = {
downloadStart: '下載開始!',
moveSuccess: '移動成功',
copySuccess: '復製成功',
pasteMsg: '請在目標目錄點擊右上角粘貼按鈕',
move: '移動',
calculate: '計算',
canNotDeCompress: '無法解壓此文件',

View file

@ -1353,6 +1353,7 @@ const message = {
downloadStart: '下载开始!',
moveSuccess: '移动成功',
copySuccess: '复制成功',
pasteMsg: '请在目标目录点击右上角粘贴按钮',
move: '移动',
calculate: '计算',
canNotDeCompress: '无法解压此文件',

File diff suppressed because it is too large Load diff