vuefinder 2.6.0 → 2.6.3

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/vuefinder.js CHANGED
@@ -187,7 +187,7 @@ const de = {
187
187
  FULL_SCREEN: "fullscreen",
188
188
  DOWNLOAD: "download",
189
189
  LANGUAGE: "language"
190
- }, yr = Object.values(de), kr = "2.6.0";
190
+ }, yr = Object.values(de), kr = "2.6.3";
191
191
  function Bs(t, e, n, r, s) {
192
192
  return (e = Math, n = e.log, r = 1024, s = n(t) / n(r) | 0, t / e.pow(r, s)).toFixed(0) + " " + (s ? "KMGTPEZY"[--s] + "iB" : "B");
193
193
  }
@@ -1660,7 +1660,7 @@ function Tl(t, e) {
1660
1660
  };
1661
1661
  }
1662
1662
  const Ml = (t, e) => {
1663
- const n = gr(t.id), r = dr(), s = n.getStore("metricUnits", !1), c = Sr(n, t.theme), i = e.i18n, d = t.locale ?? e.locale, a = (p) => Array.isArray(p) ? p : yr, u = n.getStore("persist-path", t.persist), m = u ? n.getStore("path", t.path) : t.path, v = u ? n.getStore("adapter") : null;
1663
+ const n = gr(t.id), r = dr(), s = n.getStore("metricUnits", !1), c = Sr(n, t.theme), i = e.i18n, d = t.locale ?? e.locale, a = (f) => Array.isArray(f) ? f : yr, u = n.getStore("persist-path", t.persist), m = u ? n.getStore("path", t.path) : t.path, v = u ? n.getStore("adapter") : null, p = Al();
1664
1664
  return yt({
1665
1665
  /**
1666
1666
  * Core properties
@@ -1680,7 +1680,7 @@ const Ml = (t, e) => {
1680
1680
  // modal state
1681
1681
  modal: $r(),
1682
1682
  // dragSelect object, it is responsible for selecting items
1683
- dragSelect: rt(() => Al()),
1683
+ dragSelect: rt(() => p),
1684
1684
  // http object
1685
1685
  requester: hr(t.request),
1686
1686
  // active features
@@ -4371,13 +4371,7 @@ const Jd = { render: Xd }, Zd = { class: "vuefinder__drag-item__container" }, Qd
4371
4371
  src: s(),
4372
4372
  width: "100%",
4373
4373
  height: "100%"
4374
- }, i[0] || (i[0] = [
4375
- l("p", null, [
4376
- J(" Your browser does not support PDFs. "),
4377
- l("a", { href: "https://example.com/test.pdf" }, "Download the PDF"),
4378
- J(". ")
4379
- ], -1)
4380
- ]), 8, Vu)
4374
+ }, " Your browser does not support PDFs ", 8, Vu)
4381
4375
  ], 8, Du)
4382
4376
  ])
4383
4377
  ]));
@@ -4680,7 +4674,7 @@ const qo = { render: Pu }, ju = ["data-type", "data-item", "data-index"], Cn = {
4680
4674
  ], 2),
4681
4675
  l("div", {
4682
4676
  ref: o(i).area,
4683
- class: "vuefinder__explorer__selector-area vf-explorer-scrollbar vf-selector-area",
4677
+ class: "vuefinder__explorer__selector-area vf-explorer-scrollbar vf-selector-area min-h-32",
4684
4678
  onContextmenu: p[4] || (p[4] = Ze((f) => o(e).emitter.emit("vf-contextmenu-show", { event: f, items: o(i).getSelected() }), ["self", "prevent"]))
4685
4679
  }, [
4686
4680
  o(e).loadingIndicator === "linear" && o(e).fs.loading ? (_(), g("div", Yu)) : q("", !0),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vuefinder",
3
- "version": "2.6.0",
3
+ "version": "2.6.3",
4
4
  "description": "Vuefinder is a file manager component for vuejs.",
5
5
  "type": "module",
6
6
  "files": [
@@ -48,8 +48,8 @@
48
48
  "cropperjs": "^1.5.12",
49
49
  "dragselect": "^3.0.5",
50
50
  "mitt": "^3.0.0",
51
- "overlayscrollbars": "^2.7.3",
51
+ "overlayscrollbars": "^2.10.0",
52
52
  "vanilla-lazyload": "^17.8.3",
53
- "vue": "^3.2.0"
53
+ "vue": "3.5.10"
54
54
  }
55
55
  }