@bagelink/vue 1.15.232 → 1.15.238

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/index.mjs CHANGED
@@ -15150,9 +15150,9 @@ var iw = { class: "row first-row" }, lw = {
15150
15150
  ]),
15151
15151
  setup(e, { emit: t }) {
15152
15152
  u3((M) => ({
15153
- v36882cf2: X.value,
15154
- v043826f1: C.value,
15155
- v43abe3c8: re.value
15153
+ e5eb6d56: X.value,
15154
+ v1b95efbf: C.value,
15155
+ v1e8a096a: re.value
15156
15156
  }));
15157
15157
  const n = e, a = t, r = Ct(), o = Ft(e, "loading"), i = Ft(e, "itemHeight"), s = Ft(e, "fontSize"), l = Ft(e, "selectedItems"), { computedSchema: u, computedData: d, sortField: c, sortDirection: f, toggleSort: p, cleanTransformedData: h } = f5({
15158
15158
  data: T(() => n.data),
@@ -15292,7 +15292,7 @@ var iw = { class: "row first-row" }, lw = {
15292
15292
  ])], !0) : W("", !0)
15293
15293
  ], 16));
15294
15294
  }
15295
- }), oW = /* @__PURE__ */ Re(gw, [["__scopeId", "data-v-b1cb6727"]]), vw = /* @__PURE__ */ $e({
15295
+ }), oW = /* @__PURE__ */ Re(gw, [["__scopeId", "data-v-db77a32d"]]), vw = /* @__PURE__ */ $e({
15296
15296
  __name: "Draggable",
15297
15297
  props: {
15298
15298
  modelValue: {},
@@ -41000,7 +41000,7 @@ var EI = {
41000
41000
  const t = e, n = $i(), a = T(() => !!t.link.children?.length);
41001
41001
  function r(d) {
41002
41002
  const c = d.to;
41003
- return d.activeRoutes?.length ? d.activeRoutes.some((f) => f === "/" ? n.path === f : n.path === f || n.path.startsWith(`${f}/`)) : c ? c === "/" ? n.path === c : n.path === c || n.path.startsWith(`${c}/`) : !1;
41003
+ return d.activeRoutes?.length ? d.activeRoutes.some((f) => f === "/" ? n.path === f : n.path === f || n.path.startsWith(`${f}/`)) : c ? d.exact || c === "/" ? n.path === c : n.path === c || n.path.startsWith(`${c}/`) : !1;
41004
41004
  }
41005
41005
  const o = T(() => t.link.children?.some(r) ?? !1), i = T(() => r(t.link)), s = T(() => i.value || a.value && o.value), l = z(o.value);
41006
41006
  Me(o, (d) => {
@@ -41133,7 +41133,7 @@ var EI = {
41133
41133
  "onClick"
41134
41134
  ]));
41135
41135
  }
41136
- }), WI = /* @__PURE__ */ Re(HI, [["__scopeId", "data-v-6c6b1a5d"]]), jI = ["src", "alt"], GI = ["src", "alt"], qI = { class: "nav-text flex column line-height-1 gap-025 align-items-start" }, YI = { class: "line-height-14" }, ZI = {
41136
+ }), WI = /* @__PURE__ */ Re(HI, [["__scopeId", "data-v-85382da2"]]), jI = ["src", "alt"], GI = ["src", "alt"], qI = { class: "nav-text flex column line-height-1 gap-025 align-items-start" }, YI = { class: "line-height-14" }, ZI = {
41137
41137
  key: 0,
41138
41138
  class: "txt11 opacity-6"
41139
41139
  }, XI = { class: "sidebar-footer flex column flex-stretch gap-025 px-05 mx-auto mt-auto" }, KI = { class: "nav-text" }, X2 = "0.5rem", JI = /* @__PURE__ */ $e({
@@ -42687,6 +42687,7 @@ var HN = /* @__PURE__ */ Re(BN, [["render", UN]]), WN = ["id"], jN = '<svg width
42687
42687
  }
42688
42688
  const n = z(null), a = $i();
42689
42689
  return Me(() => a.fullPath, async () => {
42690
+ if (a.hash) return;
42690
42691
  await nt();
42691
42692
  const r = n.value?.closest(".pageContent");
42692
42693
  r ? r.scrollTop = 0 : window.scrollTo({ top: 0 });
@@ -42712,7 +42713,7 @@ var HN = /* @__PURE__ */ Re(BN, [["render", UN]]), WN = ["id"], jN = '<svg width
42712
42713
  });
42713
42714
  };
42714
42715
  }
42715
- }), qW = /* @__PURE__ */ Re(CO, [["__scopeId", "data-v-ac4f3e9e"]]);
42716
+ }), qW = /* @__PURE__ */ Re(CO, [["__scopeId", "data-v-df998a12"]]);
42716
42717
  function Nd(e, t = "") {
42717
42718
  const n = {};
42718
42719
  for (const a in e) {