@brftech/filex-core 0.7.6 → 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/{ArchiveViewer-BRFvhWwL.js → ArchiveViewer-DkspPMSy.js} +2 -2
- package/dist/{ArchiveViewer-BRFvhWwL.js.map → ArchiveViewer-DkspPMSy.js.map} +1 -1
- package/dist/{CsvViewer-1cGGKeGi.js → CsvViewer-D0UCc1Kh.js} +2 -2
- package/dist/{CsvViewer-1cGGKeGi.js.map → CsvViewer-D0UCc1Kh.js.map} +1 -1
- package/dist/{DrawioViewer-C0oThT59.js → DrawioViewer-CHjj_lou.js} +2 -2
- package/dist/{DrawioViewer-C0oThT59.js.map → DrawioViewer-CHjj_lou.js.map} +1 -1
- package/dist/{EpubViewer-DCPOD2S-.js → EpubViewer-BOAa22iy.js} +2 -2
- package/dist/{EpubViewer-DCPOD2S-.js.map → EpubViewer-BOAa22iy.js.map} +1 -1
- package/dist/{IpynbViewer-mv4xiv3H.js → IpynbViewer-BlBa-Q-t.js} +2 -2
- package/dist/{IpynbViewer-mv4xiv3H.js.map → IpynbViewer-BlBa-Q-t.js.map} +1 -1
- package/dist/{MermaidViewer-BBNVghTz.js → MermaidViewer-CvpM7z1N.js} +2 -2
- package/dist/{MermaidViewer-BBNVghTz.js.map → MermaidViewer-CvpM7z1N.js.map} +1 -1
- package/dist/{PsdViewer-B8ygWw-s.js → PsdViewer-CMzqfXHr.js} +2 -2
- package/dist/{PsdViewer-B8ygWw-s.js.map → PsdViewer-CMzqfXHr.js.map} +1 -1
- package/dist/{TiffViewer-BhHjf3s5.js → TiffViewer-Dgg2FGW6.js} +2 -2
- package/dist/{TiffViewer-BhHjf3s5.js.map → TiffViewer-Dgg2FGW6.js.map} +1 -1
- package/dist/{Viewer3D-BhOJpzyG.js → Viewer3D-kixldPCf.js} +2 -2
- package/dist/{Viewer3D-BhOJpzyG.js.map → Viewer3D-kixldPCf.js.map} +1 -1
- package/dist/filex-core.js +1 -1
- package/dist/filex-core.umd.cjs +10 -10
- package/dist/filex-core.umd.cjs.map +1 -1
- package/dist/{index-BjiUhk9K.js → index-CR9pfSDq.js} +336 -333
- package/dist/index-CR9pfSDq.js.map +1 -0
- package/package.json +1 -1
- package/src/FileExplorer.vue +10 -2
- package/src/locales/en.ts +1 -0
- package/src/locales/tr.ts +1 -0
- package/dist/index-BjiUhk9K.js.map +0 -1
package/package.json
CHANGED
package/src/FileExplorer.vue
CHANGED
|
@@ -1921,9 +1921,16 @@ async function legacyUpload(file: File) {
|
|
|
1921
1921
|
patch({ percent: 100, uploadedBytes: file.size, status: 'done' });
|
|
1922
1922
|
emit('upload-progress', { uploadId: id, percent: 100, done: true });
|
|
1923
1923
|
} catch (err) {
|
|
1924
|
-
|
|
1924
|
+
// Tell the USER, not just the embedding app. `emit('error')` alone left a
|
|
1925
|
+
// standalone deployment silent: the progress bar ran to 100% (the bytes
|
|
1926
|
+
// do go out — the server rejects them afterwards), the row flipped to an
|
|
1927
|
+
// error state carrying no message, and nothing else appeared. olivov lost
|
|
1928
|
+
// ten days of uploads to that silence (H2, 2026-08-05).
|
|
1929
|
+
const message = (err as Error).message;
|
|
1930
|
+
patch({ status: 'error', error: message });
|
|
1931
|
+
flashToast(t('upload.failed', { name: file.name }));
|
|
1925
1932
|
emit('error', {
|
|
1926
|
-
message
|
|
1933
|
+
message,
|
|
1927
1934
|
context: { op: 'upload', file: file.name },
|
|
1928
1935
|
});
|
|
1929
1936
|
}
|
|
@@ -2390,6 +2397,7 @@ function retryUploadJob(job: UploadJob) {
|
|
|
2390
2397
|
})
|
|
2391
2398
|
.catch((err: Error) => {
|
|
2392
2399
|
patchRetry({ status: 'error', error: err.message });
|
|
2400
|
+
flashToast(t('upload.failed', { name: file.name }));
|
|
2393
2401
|
emit('error', { message: err.message, context: { op: 'upload-retry', file: file.name } });
|
|
2394
2402
|
});
|
|
2395
2403
|
}
|
package/src/locales/en.ts
CHANGED
package/src/locales/tr.ts
CHANGED