@brftech/filex-core 0.4.0 → 0.4.1

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.
Files changed (25) hide show
  1. package/dist/{ArchiveViewer-Dgvl43gn.js → ArchiveViewer-BOXJ2ub7.js} +2 -2
  2. package/dist/{ArchiveViewer-Dgvl43gn.js.map → ArchiveViewer-BOXJ2ub7.js.map} +1 -1
  3. package/dist/{CsvViewer-gWO5pc8F.js → CsvViewer-CDs9EpJx.js} +2 -2
  4. package/dist/{CsvViewer-gWO5pc8F.js.map → CsvViewer-CDs9EpJx.js.map} +1 -1
  5. package/dist/{DrawioViewer-DUAlRIAb.js → DrawioViewer-Q__JcUmq.js} +2 -2
  6. package/dist/{DrawioViewer-DUAlRIAb.js.map → DrawioViewer-Q__JcUmq.js.map} +1 -1
  7. package/dist/{EpubViewer-DIXzuQWK.js → EpubViewer-BlsOD2xl.js} +2 -2
  8. package/dist/{EpubViewer-DIXzuQWK.js.map → EpubViewer-BlsOD2xl.js.map} +1 -1
  9. package/dist/{IpynbViewer-CJ-6pU_Z.js → IpynbViewer-DKSFiZmv.js} +2 -2
  10. package/dist/{IpynbViewer-CJ-6pU_Z.js.map → IpynbViewer-DKSFiZmv.js.map} +1 -1
  11. package/dist/{MermaidViewer-CyQQDyRb.js → MermaidViewer-D2Gnp4yX.js} +2 -2
  12. package/dist/{MermaidViewer-CyQQDyRb.js.map → MermaidViewer-D2Gnp4yX.js.map} +1 -1
  13. package/dist/{PsdViewer-ChfaXVgN.js → PsdViewer-BD-rIrF1.js} +2 -2
  14. package/dist/{PsdViewer-ChfaXVgN.js.map → PsdViewer-BD-rIrF1.js.map} +1 -1
  15. package/dist/{TiffViewer-CsfD-NG6.js → TiffViewer-8qitRwcZ.js} +2 -2
  16. package/dist/{TiffViewer-CsfD-NG6.js.map → TiffViewer-8qitRwcZ.js.map} +1 -1
  17. package/dist/{Viewer3D-BQ2XYmkN.js → Viewer3D-WLmIjgmZ.js} +2 -2
  18. package/dist/{Viewer3D-BQ2XYmkN.js.map → Viewer3D-WLmIjgmZ.js.map} +1 -1
  19. package/dist/filex-core.js +1 -1
  20. package/dist/filex-core.umd.cjs +25 -25
  21. package/dist/filex-core.umd.cjs.map +1 -1
  22. package/dist/{index-PnhGunSA.js → index-f-_N5BV1.js} +138 -138
  23. package/dist/{index-PnhGunSA.js.map → index-f-_N5BV1.js.map} +1 -1
  24. package/package.json +1 -1
  25. package/src/FileExplorer.vue +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brftech/filex-core",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "filex core — Vue 3 source of truth for the filex file manager (FileExplorer SFC + composables + types)",
5
5
  "type": "module",
6
6
  "main": "./dist/filex-core.umd.cjs",
@@ -728,6 +728,13 @@ function stripAdapter(p: string): string {
728
728
  // confined rootFloor on embeds, so this is safe everywhere.
729
729
  function leaveNotFound() {
730
730
  notFoundPath.value = '';
731
+ // Cold-load on a dead deep link: currentPath is still '' (the 404 never
732
+ // committed it), so navigating to root doesn't change it and the
733
+ // watch(currentPath) persistence never fires — the dead hash would
734
+ // survive and a reload would land on the 404 again. Clear it explicitly;
735
+ // if load('') clamps to a confined floor path, the watch fires with the
736
+ // new path and rewrites the hash correctly anyway.
737
+ writePersistedPath('');
731
738
  void load('');
732
739
  }
733
740