vuefinder 4.0.22 → 4.0.24

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
@@ -129,7 +129,7 @@ function Qt() {
129
129
  function hn(o) {
130
130
  return o ? o === "simple" || o === "advanced" ? { ...pn[o] } : { ...Qt(), ...o } : Qt();
131
131
  }
132
- const co = "4.0.22";
132
+ const co = "4.0.24";
133
133
  function It(o, e, t, n, a) {
134
134
  return e = Math, t = e.log, n = 1024, a = t(o) / t(n) | 0, (o / e.pow(n, a)).toFixed(0) + " " + (a ? "KMGTPEZY"[--a] + "iB" : "B");
135
135
  }
@@ -1903,7 +1903,7 @@ const kn = { render: qo }, Go = { class: "vuefinder__delete-modal__content" }, W
1903
1903
  viewBox: "0 0 24 24",
1904
1904
  stroke: "currentColor",
1905
1905
  "stroke-width": "1"
1906
- }, Zo = { class: "vuefinder__delete-modal__file-name" }, es = ["disabled"], ts = { class: "vuefinder__delete-modal__confirmation" }, ns = { class: "vuefinder__delete-modal__confirmation-label" }, os = { class: "vuefinder__delete-modal__confirmation-text" }, wt = /* @__PURE__ */ X({
1906
+ }, Zo = { class: "vuefinder__delete-modal__file-name" }, es = { class: "vuefinder__delete-modal__confirmation" }, ts = { class: "vuefinder__delete-modal__confirmation-label" }, ns = { class: "vuefinder__delete-modal__confirmation-text" }, os = ["disabled"], wt = /* @__PURE__ */ X({
1907
1907
  __name: "ModalDelete",
1908
1908
  setup(o) {
1909
1909
  const e = J(), { t } = e.i18n, n = e.fs, a = G(n.path), l = M(e.modal.data.items), d = M(!1), r = () => {
@@ -1921,29 +1921,29 @@ const kn = { render: qo }, Go = { class: "vuefinder__delete-modal__content" }, W
1921
1921
  };
1922
1922
  return (c, _) => (v(), L(Fe, null, {
1923
1923
  buttons: oe(() => [
1924
+ i("div", es, [
1925
+ i("label", ts, [
1926
+ pe(i("input", {
1927
+ "onUpdate:modelValue": _[0] || (_[0] = (m) => d.value = m),
1928
+ type: "checkbox",
1929
+ class: "vuefinder__delete-modal__checkbox"
1930
+ }, null, 512), [
1931
+ [mt, d.value]
1932
+ ]),
1933
+ i("span", ns, y(s(t)("I'm sure delete it, This action cannot be undone.")), 1)
1934
+ ])
1935
+ ]),
1924
1936
  i("button", {
1925
1937
  type: "button",
1926
1938
  class: "vf-btn vf-btn-danger",
1927
1939
  disabled: !d.value,
1928
1940
  onClick: r
1929
- }, y(s(t)("Yes, Delete!")), 9, es),
1941
+ }, y(s(t)("Yes, Delete!")), 9, os),
1930
1942
  i("button", {
1931
1943
  type: "button",
1932
1944
  class: "vf-btn vf-btn-secondary",
1933
- onClick: _[0] || (_[0] = (m) => s(e).modal.close())
1934
- }, y(s(t)("Cancel")), 1),
1935
- i("div", ts, [
1936
- i("label", ns, [
1937
- pe(i("input", {
1938
- "onUpdate:modelValue": _[1] || (_[1] = (m) => d.value = m),
1939
- type: "checkbox",
1940
- class: "vuefinder__delete-modal__checkbox"
1941
- }, null, 512), [
1942
- [mt, d.value]
1943
- ]),
1944
- i("span", os, y(s(t)("I'm sure delete it, This action cannot be undone.")), 1)
1945
- ])
1946
- ])
1945
+ onClick: _[1] || (_[1] = (m) => s(e).modal.close())
1946
+ }, y(s(t)("Cancel")), 1)
1947
1947
  ]),
1948
1948
  default: oe(() => [
1949
1949
  i("div", null, [
@@ -3437,7 +3437,7 @@ const xt = { render: wa }, ya = { class: "vuefinder__search-modal__search-input"
3437
3437
  ref: d,
3438
3438
  value: o.modelValue,
3439
3439
  type: "text",
3440
- placeholder: s(l)("Search Files"),
3440
+ placeholder: s(l)("Search files"),
3441
3441
  disabled: o.disabled,
3442
3442
  class: "vuefinder__search-modal__input",
3443
3443
  onKeydown: c,
@@ -4999,7 +4999,7 @@ const On = { render: fl }, _l = { class: "vuefinder__upload-modal__content relat
4999
4999
  }, null, 8, ["icon", "title"]),
5000
5000
  i("div", _l, [
5001
5001
  i("div", pl, [
5002
- i("div", hl, y(s(t)("Hedef Klasör")), 1),
5002
+ i("div", hl, y(s(t)("Target Directory")), 1),
5003
5003
  i("div", ml, [
5004
5004
  i("div", {
5005
5005
  class: "vuefinder__upload-modal__target-display",
@@ -5594,7 +5594,7 @@ const Ln = { render: Kl }, ql = { class: "vuefinder__archive-modal__content" },
5594
5594
  ...t("move") ? [
5595
5595
  {
5596
5596
  id: "move",
5597
- label: n("Move"),
5597
+ label: n("Move files"),
5598
5598
  action: () => {
5599
5599
  if (r.value.length > 0) {
5600
5600
  const f = e?.fs, k = {
@@ -5664,7 +5664,7 @@ const Ln = { render: Kl }, ql = { class: "vuefinder__archive-modal__content" },
5664
5664
  id: "refresh",
5665
5665
  label: n("Refresh"),
5666
5666
  action: () => {
5667
- e?.adapter.list(a?.path?.get()?.path);
5667
+ e.adapter.invalidateListQuery(a.path.get().path), e.adapter.open(a.path.get().path);
5668
5668
  },
5669
5669
  enabled: () => !0
5670
5670
  },
@@ -5763,7 +5763,7 @@ const Ln = { render: Kl }, ql = { class: "vuefinder__archive-modal__content" },
5763
5763
  label: f,
5764
5764
  action: () => {
5765
5765
  const k = `${f}://`;
5766
- a?.setPath(k), e?.adapter.list(k);
5766
+ e?.adapter.open(k);
5767
5767
  },
5768
5768
  enabled: () => !0
5769
5769
  })),
@@ -8309,7 +8309,7 @@ const Rn = [
8309
8309
  },
8310
8310
  {
8311
8311
  id: we.move,
8312
- title: ({ t: o }) => o("Move"),
8312
+ title: ({ t: o }) => o("Move files"),
8313
8313
  action: (o, e) => {
8314
8314
  const t = o.fs, n = {
8315
8315
  storage: t.path.get().storage || "",
@@ -8609,6 +8609,7 @@ const Rn = [
8609
8609
  };
8610
8610
  export {
8611
8611
  ff as ArrayDriver,
8612
+ At as BaseAdapter,
8612
8613
  we as ContextMenuIds,
8613
8614
  _f as IndexedDBDriver,
8614
8615
  wn as RemoteDriver,
@@ -8616,5 +8617,6 @@ export {
8616
8617
  pf as VueFinderPlugin,
8617
8618
  Qv as VueFinderProvider,
8618
8619
  Rn as contextMenuItems,
8619
- pf as default
8620
+ pf as default,
8621
+ en as parseBackendError
8620
8622
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vuefinder",
3
- "version": "4.0.22",
3
+ "version": "4.0.24",
4
4
  "description": "A sleek, developer-friendly file manager for Vue — organize, preview, and manage files with ease.",
5
5
  "type": "module",
6
6
  "engines": {