@ianicdev/datatables2 0.0.6 → 0.0.8

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.
@@ -1,4 +1,4 @@
1
- import { inject as yt, computed as re, capitalize as bi, reactive as os, watchEffect as Br, toRefs as ac, Fragment as _t, isVNode as lh, Comment as uh, shallowRef as ot, unref as De, warn as ls, getCurrentInstance as ch, ref as Te, provide as Kt, defineComponent as fh, camelize as sc, h as vi, isRef as kr, createVNode as G, toRef as Me, watch as tt, onScopeDispose as pr, effectScope as Fo, toRaw as Cr, onBeforeUnmount as rn, onMounted as nn, onUpdated as dh, mergeProps as Ie, Text as hh, readonly as Nn, Transition as Dn, resolveDynamicComponent as ui, nextTick as ur, withDirectives as Er, TransitionGroup as Lo, vShow as yi, onBeforeMount as Vo, resolveDirective as $n, Teleport as ph, openBlock as gt, createBlock as Vt, withCtx as ht, createElementBlock as Sr, renderList as Un, customRef as mh, getCurrentScope as gh, cloneVNode as bh, createTextVNode as $i, createElementVNode as vn, mergeModels as vh, useModel as us, normalizeProps as fo, guardReactiveProps as yh, resolveComponent as wh, toDisplayString as Bn, onBeforeUpdate as _h, withModifiers as Ol, createSlots as oc, createCommentVNode as zo, normalizeClass as lc } from "vue";
1
+ import { inject as yt, computed as re, capitalize as bi, reactive as os, watchEffect as Br, toRefs as ac, Fragment as _t, isVNode as lh, Comment as uh, shallowRef as ot, unref as De, warn as ls, getCurrentInstance as ch, ref as Te, provide as Kt, defineComponent as fh, camelize as sc, h as vi, isRef as kr, createVNode as G, toRef as Me, watch as tt, onScopeDispose as pr, effectScope as Fo, toRaw as Cr, onBeforeUnmount as rn, onMounted as nn, onUpdated as dh, mergeProps as Ie, Text as hh, readonly as Nn, Transition as Dn, resolveDynamicComponent as ui, nextTick as ar, withDirectives as Er, TransitionGroup as Lo, vShow as yi, onBeforeMount as Vo, resolveDirective as $n, Teleport as ph, openBlock as gt, createBlock as Vt, withCtx as ht, createElementBlock as Sr, renderList as Un, customRef as mh, getCurrentScope as gh, cloneVNode as bh, createTextVNode as $i, createElementVNode as vn, mergeModels as vh, useModel as us, normalizeProps as fo, guardReactiveProps as yh, resolveComponent as wh, toDisplayString as Bn, onBeforeUpdate as _h, withModifiers as Ol, createSlots as oc, createCommentVNode as zo, normalizeClass as lc } from "vue";
2
2
  import { defineStore as xh, storeToRefs as Sh } from "pinia";
3
3
  var st = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function uc(r) {
@@ -23234,7 +23234,7 @@ function Jh() {
23234
23234
  Zh(h)(l);
23235
23235
  } };
23236
23236
  }
23237
- const ar = typeof window < "u", Uo = ar && "IntersectionObserver" in window;
23237
+ const sr = typeof window < "u", Uo = sr && "IntersectionObserver" in window;
23238
23238
  function pc(r, b, e) {
23239
23239
  const c = b.length - 1;
23240
23240
  if (c < 0) return r === void 0 ? e : r;
@@ -23357,7 +23357,7 @@ function Wo(r) {
23357
23357
  const [b, e] = Nl(r, [bc]), c = Hn(b, ep), [h, l] = Nl(e, ["class", "style", "id", /^data-/]);
23358
23358
  return Object.assign(h, b), Object.assign(l, c), [h, l];
23359
23359
  }
23360
- function or(r) {
23360
+ function lr(r) {
23361
23361
  return r == null ? [] : Array.isArray(r) ? r : [r];
23362
23362
  }
23363
23363
  function tp(r, b) {
@@ -23447,7 +23447,7 @@ function Da(r, b) {
23447
23447
  function yc(r) {
23448
23448
  return r[2].toLowerCase() + r.slice(3);
23449
23449
  }
23450
- const lr = () => [Function, Array];
23450
+ const ur = () => [Function, Array];
23451
23451
  function Bl(r, b) {
23452
23452
  return b = "on" + bi(b), !!(r[b] || r[`${b}Once`] || r[`${b}Capture`] || r[`${b}OnceCapture`] || r[`${b}CaptureOnce`]);
23453
23453
  }
@@ -23492,7 +23492,7 @@ function pa(r) {
23492
23492
  return r == null || typeof r == "string" && r.trim() === "";
23493
23493
  }
23494
23494
  function Fa(r, b) {
23495
- if (!(ar && typeof CSS < "u" && typeof CSS.supports < "u" && CSS.supports(`selector(${b})`))) return null;
23495
+ if (!(sr && typeof CSS < "u" && typeof CSS.supports < "u" && CSS.supports(`selector(${b})`))) return null;
23496
23496
  try {
23497
23497
  return !!r && r.matches(b);
23498
23498
  } catch {
@@ -23503,7 +23503,7 @@ function _c(r) {
23503
23503
  return r.some((b) => lh(b) ? b.type === uh ? !1 : b.type !== _t || _c(b.children) : !0) ? r : null;
23504
23504
  }
23505
23505
  function ip(r, b) {
23506
- if (!ar || r === 0)
23506
+ if (!sr || r === 0)
23507
23507
  return b(), () => {
23508
23508
  };
23509
23509
  const e = window.setTimeout(b, r);
@@ -24373,7 +24373,7 @@ function Pc(r, b) {
24373
24373
  }
24374
24374
  function Jo(r, b) {
24375
24375
  let e = !1;
24376
- const c = os([]), h = Dt(r, "modelValue", [], (o) => o == null ? [] : Rc(c, or(o)), (o) => {
24376
+ const c = os([]), h = Dt(r, "modelValue", [], (o) => o == null ? [] : Rc(c, lr(o)), (o) => {
24377
24377
  const u = Rp(c, o);
24378
24378
  return r.multiple ? u : u[0];
24379
24379
  }), l = Yt("useGroup");
@@ -24736,7 +24736,7 @@ function Nc(r, b) {
24736
24736
  function fi(r) {
24737
24737
  let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
24738
24738
  const e = po(), c = Te();
24739
- if (ar) {
24739
+ if (sr) {
24740
24740
  const h = new ResizeObserver((l) => {
24741
24741
  r == null || r(l, h), l.length && (b === "content" ? c.value = l[0].contentRect : c.value = l[0].target.getBoundingClientRect());
24742
24742
  });
@@ -25165,7 +25165,7 @@ const ys = be({
25165
25165
  let js = !1;
25166
25166
  function Gp(r, b) {
25167
25167
  let e = !1, c, h;
25168
- ar && (ur(() => {
25168
+ sr && (ar(() => {
25169
25169
  window.addEventListener("popstate", l), c = r == null ? void 0 : r.beforeEach((i, s, n) => {
25170
25170
  js ? e ? b(n) : n() : setTimeout(() => e ? b(n) : n()), js = !0;
25171
25171
  }), h = r == null ? void 0 : r.afterEach(() => {
@@ -25184,7 +25184,7 @@ function Kp(r, b) {
25184
25184
  var e;
25185
25185
  return (e = r.isActive) == null ? void 0 : e.value;
25186
25186
  }, (e) => {
25187
- r.isLink.value && e && b && ur(() => {
25187
+ r.isLink.value && e && b && ar(() => {
25188
25188
  b(!0);
25189
25189
  });
25190
25190
  }, {
@@ -25820,7 +25820,7 @@ const nl = (r) => {
25820
25820
  in: (e, c, h) => {
25821
25821
  let l = /* @__PURE__ */ new Set();
25822
25822
  if (e != null)
25823
- for (const i of or(e))
25823
+ for (const i of lr(e))
25824
25824
  l = b.activate({
25825
25825
  id: i,
25826
25826
  value: !0,
@@ -25853,7 +25853,7 @@ const nl = (r) => {
25853
25853
  in: (c, h, l) => {
25854
25854
  let i = /* @__PURE__ */ new Set();
25855
25855
  if (c != null) {
25856
- const s = or(c);
25856
+ const s = lr(c);
25857
25857
  s.length && (i = b.in(s.slice(0, 1), h, l));
25858
25858
  }
25859
25859
  return i;
@@ -26616,7 +26616,7 @@ const af = {
26616
26616
  const E = new Image();
26617
26617
  E.src = u.value.lazySrc, C(E, null);
26618
26618
  }
26619
- u.value.src && ur(() => {
26619
+ u.value.src && ar(() => {
26620
26620
  var E;
26621
26621
  e("loadstart", ((E = t.value) == null ? void 0 : E.currentSrc) || u.value.src), setTimeout(() => {
26622
26622
  var A;
@@ -26856,8 +26856,8 @@ const af = {
26856
26856
  subtitle: [String, Number],
26857
26857
  title: [String, Number],
26858
26858
  value: null,
26859
- onClick: lr(),
26860
- onClickOnce: lr(),
26859
+ onClick: ur(),
26860
+ onClickOnce: ur(),
26861
26861
  ...wn(),
26862
26862
  ...ct(),
26863
26863
  ...Or(),
@@ -27348,9 +27348,9 @@ const jm = be({
27348
27348
  },
27349
27349
  slim: Boolean,
27350
27350
  nav: Boolean,
27351
- "onClick:open": lr(),
27352
- "onClick:select": lr(),
27353
- "onUpdate:opened": lr(),
27351
+ "onClick:open": ur(),
27352
+ "onClick:select": ur(),
27353
+ "onUpdate:opened": ur(),
27354
27354
  ...dm({
27355
27355
  selectStrategy: "single-leaf",
27356
27356
  openStrategy: "list"
@@ -27554,7 +27554,7 @@ const ff = {
27554
27554
  }, "VOverlay-location-strategies");
27555
27555
  function Bm(r, b) {
27556
27556
  const e = Te({}), c = Te();
27557
- ar && Fn(() => !!(b.isActive.value && r.locationStrategy), (l) => {
27557
+ sr && Fn(() => !!(b.isActive.value && r.locationStrategy), (l) => {
27558
27558
  var i, s;
27559
27559
  tt(() => r.locationStrategy, l), pr(() => {
27560
27560
  window.removeEventListener("resize", h), c.value = void 0;
@@ -27747,7 +27747,7 @@ function Vm(r, b, e) {
27747
27747
  contentBox: m
27748
27748
  };
27749
27749
  }
27750
- return tt(() => [h.value, l.value, b.offset, b.minWidth, b.minHeight, b.maxWidth, b.maxHeight], () => u()), ur(() => {
27750
+ return tt(() => [h.value, l.value, b.offset, b.minWidth, b.minHeight, b.maxWidth, b.maxHeight], () => u()), ar(() => {
27751
27751
  const p = u();
27752
27752
  if (!p) return;
27753
27753
  const {
@@ -27794,7 +27794,7 @@ const Aa = {
27794
27794
  }
27795
27795
  }, "VOverlay-scroll-strategies");
27796
27796
  function Um(r, b) {
27797
- if (!ar) return;
27797
+ if (!sr) return;
27798
27798
  let e;
27799
27799
  Br(async () => {
27800
27800
  e == null || e.stop(), b.isActive.value && r.scrollStrategy && (e = Fo(), await new Promise((c) => setTimeout(c)), e.active && e.run(() => {
@@ -27973,14 +27973,14 @@ function Ym(r, b) {
27973
27973
  });
27974
27974
  const g = po();
27975
27975
  Br(() => {
27976
- g.value && ur(() => {
27976
+ g.value && ar(() => {
27977
27977
  l.value = g.el;
27978
27978
  });
27979
27979
  });
27980
27980
  const S = po(), C = re(() => r.target === "cursor" && u.value ? u.value : S.value ? S.el : hf(r.target, h) || l.value), M = re(() => Array.isArray(C.value) ? void 0 : C.value);
27981
27981
  let D;
27982
27982
  return tt(() => !!r.activator, (L) => {
27983
- L && ar ? (D = Fo(), D.run(() => {
27983
+ L && sr ? (D = Fo(), D.run(() => {
27984
27984
  Zm(r, h, {
27985
27985
  activatorEl: l,
27986
27986
  activatorEvents: m
@@ -28012,7 +28012,7 @@ function Zm(r, b, e) {
28012
28012
  const a = s(t);
28013
28013
  a && i(a);
28014
28014
  }
28015
- n && ur(() => l());
28015
+ n && ar(() => l());
28016
28016
  }, {
28017
28017
  immediate: !0
28018
28018
  }), tt(() => r.activatorProps, () => {
@@ -28072,7 +28072,7 @@ function qn() {
28072
28072
  };
28073
28073
  }
28074
28074
  function Qm() {
28075
- if (!ar) return ot(!1);
28075
+ if (!sr) return ot(!1);
28076
28076
  const {
28077
28077
  ssr: r
28078
28078
  } = qn();
@@ -28144,7 +28144,7 @@ function n0(r) {
28144
28144
  return {
28145
28145
  teleportTarget: re(() => {
28146
28146
  const e = r.value;
28147
- if (e === !0 || !ar) return;
28147
+ if (e === !0 || !sr) return;
28148
28148
  const c = e === !1 ? document.body : typeof e == "string" ? document.querySelector(e) : e;
28149
28149
  if (c == null) {
28150
28150
  ls(`Unable to locate target ${e}`);
@@ -28343,12 +28343,12 @@ const sl = be({
28343
28343
  return i.value && u.value && // If using scrim, only close if clicking on it rather than anything opened on top
28344
28344
  (!r.scrim || N.target === A.value);
28345
28345
  }
28346
- ar && tt(i, (N) => {
28346
+ sr && tt(i, (N) => {
28347
28347
  N ? window.addEventListener("keydown", T) : window.removeEventListener("keydown", T);
28348
28348
  }, {
28349
28349
  immediate: !0
28350
28350
  }), rn(() => {
28351
- ar && window.removeEventListener("keydown", T);
28351
+ sr && window.removeEventListener("keydown", T);
28352
28352
  });
28353
28353
  function T(N) {
28354
28354
  var W, I;
@@ -28558,7 +28558,7 @@ const l0 = be({
28558
28558
  async function a(m) {
28559
28559
  var g, S, C;
28560
28560
  const d = m.relatedTarget, v = m.target;
28561
- await ur(), c.value && d !== v && ((g = s.value) != null && g.contentEl) && // We're the topmost menu
28561
+ await ar(), c.value && d !== v && ((g = s.value) != null && g.contentEl) && // We're the topmost menu
28562
28562
  ((S = s.value) != null && S.globalTop) && // It isn't the document or the menu body
28563
28563
  ![document, s.value.contentEl].includes(v) && // It isn't inside the menu body
28564
28564
  !s.value.contentEl.contains(v) && ((C = Ui(s.value.contentEl)[0]) == null || C.focus());
@@ -29170,7 +29170,7 @@ const x0 = be({
29170
29170
  }
29171
29171
  }), k0 = be({
29172
29172
  text: String,
29173
- onClick: lr(),
29173
+ onClick: ur(),
29174
29174
  ...ct(),
29175
29175
  ...qt()
29176
29176
  }, "VLabel"), vf = Ne()({
@@ -29237,7 +29237,7 @@ function yf(r) {
29237
29237
  }
29238
29238
  const wf = be({
29239
29239
  focused: Boolean,
29240
- "onUpdate:focused": lr()
29240
+ "onUpdate:focused": ur()
29241
29241
  }, "focus");
29242
29242
  function ll(r) {
29243
29243
  let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qr();
@@ -29289,9 +29289,9 @@ const E0 = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-f
29289
29289
  default: "filled",
29290
29290
  validator: (r) => E0.includes(r)
29291
29291
  },
29292
- "onClick:clear": lr(),
29293
- "onClick:appendInner": lr(),
29294
- "onClick:prependInner": lr(),
29292
+ "onClick:clear": ur(),
29293
+ "onClick:appendInner": ur(),
29294
+ "onClick:prependInner": ur(),
29295
29295
  ...ct(),
29296
29296
  ...gs(),
29297
29297
  ...Ir(),
@@ -29530,7 +29530,7 @@ const A0 = be({
29530
29530
  let {
29531
29531
  slots: e
29532
29532
  } = b;
29533
- const c = re(() => or(r.messages)), {
29533
+ const c = re(() => lr(r.messages)), {
29534
29534
  textColorClasses: h,
29535
29535
  textColorStyles: l
29536
29536
  } = en(re(() => r.color));
@@ -29585,9 +29585,9 @@ const I0 = be({
29585
29585
  }, "validation");
29586
29586
  function P0(r) {
29587
29587
  let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : qr(), e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Xr();
29588
- const c = Dt(r, "modelValue"), h = re(() => r.validationValue === void 0 ? c.value : r.validationValue), l = Sf(), i = Te([]), s = ot(!0), n = re(() => !!(or(c.value === "" ? null : c.value).length || or(h.value === "" ? null : h.value).length)), t = re(() => !!(r.disabled ?? (l == null ? void 0 : l.isDisabled.value))), a = re(() => !!(r.readonly ?? (l == null ? void 0 : l.isReadonly.value))), f = re(() => {
29588
+ const c = Dt(r, "modelValue"), h = re(() => r.validationValue === void 0 ? c.value : r.validationValue), l = Sf(), i = Te([]), s = ot(!0), n = re(() => !!(lr(c.value === "" ? null : c.value).length || lr(h.value === "" ? null : h.value).length)), t = re(() => !!(r.disabled ?? (l == null ? void 0 : l.isDisabled.value))), a = re(() => !!(r.readonly ?? (l == null ? void 0 : l.isReadonly.value))), f = re(() => {
29589
29589
  var M;
29590
- return (M = r.errorMessages) != null && M.length ? or(r.errorMessages).concat(i.value).slice(0, Math.max(0, +r.maxErrors)) : i.value;
29590
+ return (M = r.errorMessages) != null && M.length ? lr(r.errorMessages).concat(i.value).slice(0, Math.max(0, +r.maxErrors)) : i.value;
29591
29591
  }), o = re(() => {
29592
29592
  let M = (r.validateOn ?? (l == null ? void 0 : l.validateOn.value)) || "input";
29593
29593
  M === "lazy" && (M = "input lazy");
@@ -29637,7 +29637,7 @@ function P0(r) {
29637
29637
  l == null || l.update(v.value, u.value, f.value);
29638
29638
  });
29639
29639
  async function g() {
29640
- c.value = null, await ur(), await S();
29640
+ c.value = null, await ar(), await S();
29641
29641
  }
29642
29642
  async function S() {
29643
29643
  s.value = !0, o.value.lazy ? i.value = [] : await C(!0);
@@ -29695,8 +29695,8 @@ const ul = be({
29695
29695
  default: "horizontal",
29696
29696
  validator: (r) => ["horizontal", "vertical"].includes(r)
29697
29697
  },
29698
- "onClick:prepend": lr(),
29699
- "onClick:append": lr(),
29698
+ "onClick:prepend": ur(),
29699
+ "onClick:append": ur(),
29700
29700
  ...ct(),
29701
29701
  ...Or(),
29702
29702
  ...Qh(Kr(), ["maxWidth", "minWidth", "width"]),
@@ -29855,7 +29855,7 @@ const ul = be({
29855
29855
  v(), c("click:control", D);
29856
29856
  }
29857
29857
  function C(D) {
29858
- D.stopPropagation(), v(), ur(() => {
29858
+ D.stopPropagation(), v(), ar(() => {
29859
29859
  l.value = null, np(r["onClick:clear"], D);
29860
29860
  });
29861
29861
  }
@@ -29864,7 +29864,7 @@ const ul = be({
29864
29864
  const L = D.target;
29865
29865
  if (l.value = L.value, (j = r.modelModifiers) != null && j.trim && ["text", "search", "password", "tel", "url"].includes(r.type)) {
29866
29866
  const B = [L.selectionStart, L.selectionEnd];
29867
- ur(() => {
29867
+ ar(() => {
29868
29868
  L.selectionStart = B[0], L.selectionEnd = B[1];
29869
29869
  });
29870
29870
  }
@@ -30432,7 +30432,7 @@ var G0 = ["evt"], gr = function(b, e) {
30432
30432
  cloneEl: Lt,
30433
30433
  cloneHidden: pn,
30434
30434
  dragStarted: Oi,
30435
- putSortable: sr,
30435
+ putSortable: or,
30436
30436
  activeSortable: Je.active,
30437
30437
  originalEvent: h,
30438
30438
  oldIndex: si,
@@ -30458,7 +30458,7 @@ var G0 = ["evt"], gr = function(b, e) {
30458
30458
  };
30459
30459
  function hr(r) {
30460
30460
  X0(Wr({
30461
- putSortable: sr,
30461
+ putSortable: or,
30462
30462
  cloneEl: Lt,
30463
30463
  targetEl: Se,
30464
30464
  rootEl: Bt,
@@ -30468,7 +30468,7 @@ function hr(r) {
30468
30468
  newDraggableIndex: dn
30469
30469
  }, r));
30470
30470
  }
30471
- var Se, $t, it, Bt, An, Oa, Lt, pn, si, wr, Di, dn, va, sr, ni = !1, Ga = !1, Ka = [], En, Rr, Hs, Ws, xu, Su, Oi, ei, Bi, Fi = !1, ya = !1, Ia, cr, qs = [], Eo = !1, Ya = [], ks = typeof document < "u", wa = Cf, ku = ta || ln ? "cssFloat" : "float", K0 = ks && !Ef && !Cf && "draggable" in document.createElement("div"), Rf = function() {
30471
+ var Se, $t, it, Bt, An, Oa, Lt, pn, si, wr, Di, dn, va, or, ni = !1, Ga = !1, Ka = [], En, Rr, Hs, Ws, xu, Su, Oi, ei, Bi, Fi = !1, ya = !1, Ia, cr, qs = [], Eo = !1, Ya = [], ks = typeof document < "u", wa = Cf, ku = ta || ln ? "cssFloat" : "float", K0 = ks && !Ef && !Cf && "draggable" in document.createElement("div"), Rf = function() {
30472
30472
  if (ks) {
30473
30473
  if (ln)
30474
30474
  return !1;
@@ -30787,7 +30787,7 @@ Je.prototype = /** @lends Sortable.prototype */
30787
30787
  },
30788
30788
  // Returns true - if no further action is needed (either inserted or another condition)
30789
30789
  _onDragOver: function(b) {
30790
- var e = this.el, c = b.target, h, l, i, s = this.options, n = s.group, t = Je.active, a = va === n, f = s.sort, o = sr || t, u, p = this, m = !1;
30790
+ var e = this.el, c = b.target, h, l, i, s = this.options, n = s.group, t = Je.active, a = va === n, f = s.sort, o = or || t, u, p = this, m = !1;
30791
30791
  if (Eo) return;
30792
30792
  function d(w, x) {
30793
30793
  gr(w, p, Wr({
@@ -30813,7 +30813,7 @@ Je.prototype = /** @lends Sortable.prototype */
30813
30813
  function g(w) {
30814
30814
  return d("dragOverCompleted", {
30815
30815
  insertion: w
30816
- }), w && (a ? t._hideClone() : t._showClone(p), p !== o && (yr(Se, sr ? sr.options.ghostClass : t.options.ghostClass, !1), yr(Se, s.ghostClass, !0)), sr !== p && p !== Je.active ? sr = p : p === Je.active && sr && (sr = null), o === p && (p._ignoreWhileAnimating = c), p.animateAll(function() {
30816
+ }), w && (a ? t._hideClone() : t._showClone(p), p !== o && (yr(Se, or ? or.options.ghostClass : t.options.ghostClass, !1), yr(Se, s.ghostClass, !0)), or !== p && p !== Je.active ? or = p : p === Je.active && or && (or = null), o === p && (p._ignoreWhileAnimating = c), p.animateAll(function() {
30817
30817
  d("dragOverAnimationComplete"), p._ignoreWhileAnimating = null;
30818
30818
  }), p !== o && (o.animateAll(), o._ignoreWhileAnimating = null)), (c === Se && !Se.animated || c === e && !c.animated) && (ei = null), !s.dragoverBubble && !b.rootEl && c !== document && (Se.parentNode[xr]._isOutsideThisEl(b.target), !w && Tn(b)), !s.dragoverBubble && b.stopPropagation && b.stopPropagation(), m = !0;
30819
30819
  }
@@ -30830,7 +30830,7 @@ Je.prototype = /** @lends Sortable.prototype */
30830
30830
  if (b.preventDefault !== void 0 && b.cancelable && b.preventDefault(), c = jr(c, s.draggable, e, !0), d("dragOver"), Je.eventCanceled) return m;
30831
30831
  if (Se.contains(b.target) || c.animated && c.animatingX && c.animatingY || p._ignoreWhileAnimating === c)
30832
30832
  return g(!1);
30833
- if (Ga = !1, t && !s.disabled && (a ? f || (i = $t !== Bt) : sr === this || (this.lastPutMode = va.checkPull(this, t, Se, b)) && n.checkPut(this, t, Se, b))) {
30833
+ if (Ga = !1, t && !s.disabled && (a ? f || (i = $t !== Bt) : or === this || (this.lastPutMode = va.checkPull(this, t, Se, b)) && n.checkPut(this, t, Se, b))) {
30834
30834
  if (u = this._getDirection(b, c) === "vertical", h = Gt(Se), d("dragOverValid"), Je.eventCanceled) return m;
30835
30835
  if (i)
30836
30836
  return $t = Bt, v(), this._hideClone(), d("revert"), Je.eventCanceled || (An ? Bt.insertBefore(Se, An) : Bt.appendChild(Se)), g(!0);
@@ -30887,7 +30887,7 @@ Je.prototype = /** @lends Sortable.prototype */
30887
30887
  this._nulling();
30888
30888
  return;
30889
30889
  }
30890
- ni = !1, ya = !1, Fi = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), To(this.cloneId), To(this._dragStartId), this.nativeDraggable && (kt(document, "drop", this), kt(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ji && Ze(document.body, "user-select", ""), Ze(Se, "transform", ""), b && (Oi && (b.cancelable && b.preventDefault(), !c.dropBubble && b.stopPropagation()), it && it.parentNode && it.parentNode.removeChild(it), (Bt === $t || sr && sr.lastPutMode !== "clone") && Lt && Lt.parentNode && Lt.parentNode.removeChild(Lt), Se && (this.nativeDraggable && kt(Se, "dragend", this), Xs(Se), Se.style["will-change"] = "", Oi && !ni && yr(Se, sr ? sr.options.ghostClass : this.options.ghostClass, !1), yr(Se, this.options.chosenClass, !1), hr({
30890
+ ni = !1, ya = !1, Fi = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), To(this.cloneId), To(this._dragStartId), this.nativeDraggable && (kt(document, "drop", this), kt(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ji && Ze(document.body, "user-select", ""), Ze(Se, "transform", ""), b && (Oi && (b.cancelable && b.preventDefault(), !c.dropBubble && b.stopPropagation()), it && it.parentNode && it.parentNode.removeChild(it), (Bt === $t || or && or.lastPutMode !== "clone") && Lt && Lt.parentNode && Lt.parentNode.removeChild(Lt), Se && (this.nativeDraggable && kt(Se, "dragend", this), Xs(Se), Se.style["will-change"] = "", Oi && !ni && yr(Se, or ? or.options.ghostClass : this.options.ghostClass, !1), yr(Se, this.options.chosenClass, !1), hr({
30891
30891
  sortable: this,
30892
30892
  name: "unchoose",
30893
30893
  toEl: $t,
@@ -30916,7 +30916,7 @@ Je.prototype = /** @lends Sortable.prototype */
30916
30916
  name: "sort",
30917
30917
  toEl: $t,
30918
30918
  originalEvent: b
30919
- })), sr && sr.save()) : wr !== si && wr >= 0 && (hr({
30919
+ })), or && or.save()) : wr !== si && wr >= 0 && (hr({
30920
30920
  sortable: this,
30921
30921
  name: "update",
30922
30922
  toEl: $t,
@@ -30934,7 +30934,7 @@ Je.prototype = /** @lends Sortable.prototype */
30934
30934
  }), this.save()))), this._nulling();
30935
30935
  },
30936
30936
  _nulling: function() {
30937
- gr("nulling", this), Bt = Se = $t = it = An = Lt = Oa = pn = En = Rr = Oi = wr = dn = si = Di = ei = Bi = sr = va = Je.dragged = Je.ghost = Je.clone = Je.active = null, Ya.forEach(function(b) {
30937
+ gr("nulling", this), Bt = Se = $t = it = An = Lt = Oa = pn = En = Rr = Oi = wr = dn = si = Di = ei = Bi = or = va = Je.dragged = Je.ghost = Je.clone = Je.active = null, Ya.forEach(function(b) {
30938
30938
  b.checked = !0;
30939
30939
  }), Ya.length = Hs = Ws = 0;
30940
30940
  },
@@ -31270,7 +31270,7 @@ function Lf(r) {
31270
31270
  );
31271
31271
  const i = async (t) => {
31272
31272
  if (c.value) return;
31273
- c.value = !0, await ur();
31273
+ c.value = !0, await ar();
31274
31274
  const a = s(), f = a.findIndex(
31275
31275
  (o) => o.id === r.id
31276
31276
  );
@@ -31672,13 +31672,13 @@ function m1(r) {
31672
31672
  } = Gr(r), c = Dt(r, "modelValue"), h = re(() => r.trueValue !== void 0 ? r.trueValue : r.value !== void 0 ? r.value : !0), l = re(() => r.falseValue !== void 0 ? r.falseValue : !1), i = re(() => !!r.multiple || r.multiple == null && Array.isArray(c.value)), s = re({
31673
31673
  get() {
31674
31674
  const u = b ? b.modelValue.value : c.value;
31675
- return i.value ? or(u).some((p) => r.valueComparator(p, h.value)) : r.valueComparator(u, h.value);
31675
+ return i.value ? lr(u).some((p) => r.valueComparator(p, h.value)) : r.valueComparator(u, h.value);
31676
31676
  },
31677
31677
  set(u) {
31678
31678
  if (r.readonly) return;
31679
31679
  const p = u ? h.value : l.value;
31680
31680
  let m = p;
31681
- i.value && (m = u ? [...or(c.value), p] : or(c.value).filter((d) => !r.valueComparator(d, h.value))), b ? b.modelValue.value = m : c.value = m;
31681
+ i.value && (m = u ? [...lr(c.value), p] : lr(c.value).filter((d) => !r.valueComparator(d, h.value))), b ? b.modelValue.value = m : c.value = m;
31682
31682
  }
31683
31683
  }), {
31684
31684
  textColorClasses: n,
@@ -31746,7 +31746,7 @@ const Eu = Ne()({
31746
31746
  d.value && (d.value.checked = s.value);
31747
31747
  return;
31748
31748
  }
31749
- r.readonly && h && ur(() => h.forceUpdate()), s.value = L.target.checked;
31749
+ r.readonly && h && ar(() => h.forceUpdate()), s.value = L.target.checked;
31750
31750
  }
31751
31751
  return Ke(() => {
31752
31752
  var z, F;
@@ -31956,7 +31956,7 @@ const Eu = Ne()({
31956
31956
  f === d ? v.focus() : d.focus();
31957
31957
  }
31958
31958
  }
31959
- ar && tt(() => h.value && r.retainFocus, (a) => {
31959
+ sr && tt(() => h.value && r.retainFocus, (a) => {
31960
31960
  a ? document.addEventListener("focusin", s) : document.removeEventListener("focusin", s);
31961
31961
  }, {
31962
31962
  immediate: !0
@@ -31972,7 +31972,7 @@ const Eu = Ne()({
31972
31972
  }
31973
31973
  return tt(h, async (a) => {
31974
31974
  var f;
31975
- a || (await ur(), (f = i.value.activatorEl) == null || f.focus({
31975
+ a || (await ar(), (f = i.value.activatorEl) == null || f.focus({
31976
31976
  preventScroll: !0
31977
31977
  }));
31978
31978
  }), Ke(() => {
@@ -32311,7 +32311,7 @@ const M1 = Symbol.for("vuetify:v-slide-group"), Xf = be({
32311
32311
  duration: 200,
32312
32312
  easing: "easeOutQuart"
32313
32313
  })), g = re(() => i.selected.value.length ? i.items.value.findIndex((T) => T.id === i.selected.value[0]) : -1), S = re(() => i.selected.value.length ? i.items.value.findIndex((T) => T.id === i.selected.value[i.selected.value.length - 1]) : -1);
32314
- if (ar) {
32314
+ if (sr) {
32315
32315
  let T = -1;
32316
32316
  tt(() => [i.selected.value, u.value, m.value, f.value], () => {
32317
32317
  cancelAnimationFrame(T), T = requestAnimationFrame(() => {
@@ -32341,7 +32341,7 @@ const M1 = Symbol.for("vuetify:v-slide-group"), Xf = be({
32341
32341
  }), D(R);
32342
32342
  }
32343
32343
  function D(T) {
32344
- if (!ar || !o.el) return;
32344
+ if (!sr || !o.el) return;
32345
32345
  const P = Gi(f.value, o.el), R = Wf(f.value, c.value, o.el);
32346
32346
  if (!(Au(f.value, o.el) <= P || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
32347
32347
  Math.abs(T - R) < 16)) {
@@ -32594,8 +32594,8 @@ const M1 = Symbol.for("vuetify:v-slide-group"), Xf = be({
32594
32594
  type: Boolean,
32595
32595
  default: !0
32596
32596
  },
32597
- onClick: lr(),
32598
- onClickOnce: lr(),
32597
+ onClick: ur(),
32598
+ onClickOnce: ur(),
32599
32599
  ...wn(),
32600
32600
  ...ct(),
32601
32601
  ...Or(),
@@ -33486,7 +33486,7 @@ const Q1 = be({
33486
33486
  (B = g.value[j]) == null || B.$el.focus();
33487
33487
  }
33488
33488
  function L(j) {
33489
- j.key === jl.left && !r.disabled && h.value > +r.start ? (h.value = h.value - 1, ur(D)) : j.key === jl.right && !r.disabled && h.value < u.value + o.value - 1 && (h.value = h.value + 1, ur(D));
33489
+ j.key === jl.left && !r.disabled && h.value > +r.start ? (h.value = h.value - 1, ar(D)) : j.key === jl.right && !r.disabled && h.value < u.value + o.value - 1 && (h.value = h.value + 1, ar(D));
33490
33490
  }
33491
33491
  return Ke(() => G(r.tag, {
33492
33492
  ref: f,
@@ -33621,8 +33621,8 @@ function ag(r, b) {
33621
33621
  d[P] = (d[P - 1] || 0) + S(P - 1);
33622
33622
  v.value = Math.max(v.value, performance.now() - x);
33623
33623
  }, v), M = tt(p, (x) => {
33624
- x && (M(), a = t.value.offsetTop, C.immediate(), k(), ~g && ur(() => {
33625
- ar && window.requestAnimationFrame(() => {
33624
+ x && (M(), a = t.value.offsetTop, C.immediate(), k(), ~g && ar(() => {
33625
+ sr && window.requestAnimationFrame(() => {
33626
33626
  _(g), g = -1;
33627
33627
  });
33628
33628
  }));
@@ -33918,7 +33918,7 @@ const cg = be({
33918
33918
  items: t,
33919
33919
  transformIn: a,
33920
33920
  transformOut: f
33921
- } = Om(r), o = Dt(r, "modelValue", [], (w) => a(w === null ? [null] : or(w)), (w) => {
33921
+ } = Om(r), o = Dt(r, "modelValue", [], (w) => a(w === null ? [null] : lr(w)), (w) => {
33922
33922
  const x = f(w);
33923
33923
  return r.multiple ? x : x[0] ?? null;
33924
33924
  }), u = re(() => typeof r.counterValue == "function" ? r.counterValue(o.value) : typeof r.counterValue == "number" ? r.counterValue : o.value.length), p = Sf(), m = re(() => o.value.map((w) => w.value)), d = ot(!1), v = re(() => n.value ? r.closeText : r.openText);
@@ -33959,7 +33959,7 @@ const cg = be({
33959
33959
  if (R !== void 0) {
33960
33960
  o.value = [R];
33961
33961
  const q = C.value.indexOf(R);
33962
- ar && window.requestAnimationFrame(() => {
33962
+ sr && window.requestAnimationFrame(() => {
33963
33963
  var N;
33964
33964
  q >= 0 && ((N = i.value) == null || N.scrollToIndex(q));
33965
33965
  });
@@ -33976,7 +33976,7 @@ const cg = be({
33976
33976
  } else P && (o.value = [...o.value, w]);
33977
33977
  } else {
33978
33978
  const T = x !== !1;
33979
- o.value = T ? [w] : [], ur(() => {
33979
+ o.value = T ? [w] : [], ar(() => {
33980
33980
  n.value = !1;
33981
33981
  });
33982
33982
  }
@@ -34002,7 +34002,7 @@ const cg = be({
34002
34002
  return tt(n, () => {
34003
34003
  if (!r.hideSelected && n.value && o.value.length) {
34004
34004
  const w = C.value.findIndex((x) => o.value.some((T) => r.valueComparator(T.value, x.value)));
34005
- ar && window.requestAnimationFrame(() => {
34005
+ sr && window.requestAnimationFrame(() => {
34006
34006
  var x;
34007
34007
  w >= 0 && ((x = i.value) == null || x.scrollToIndex(w));
34008
34008
  });
@@ -34688,7 +34688,7 @@ function wd(r, b) {
34688
34688
  allItems: e,
34689
34689
  currentPage: c
34690
34690
  } = b;
34691
- const h = Dt(r, "modelValue", r.modelValue, (v) => new Set(or(v).map((g) => {
34691
+ const h = Dt(r, "modelValue", r.modelValue, (v) => new Set(lr(v).map((g) => {
34692
34692
  var S;
34693
34693
  return ((S = e.value.find((C) => r.valueComparator(g, C.value))) == null ? void 0 : S.value) ?? g;
34694
34694
  })), (v) => [...v.values()]), l = re(() => e.value.filter((v) => v.selectable)), i = re(() => c.value.filter((v) => v.selectable)), s = re(() => {
@@ -34704,10 +34704,10 @@ function wd(r, b) {
34704
34704
  }
34705
34705
  });
34706
34706
  function n(v) {
34707
- return or(v).every((g) => h.value.has(g.value));
34707
+ return lr(v).every((g) => h.value.has(g.value));
34708
34708
  }
34709
34709
  function t(v) {
34710
- return or(v).some((g) => h.value.has(g.value));
34710
+ return lr(v).some((g) => h.value.has(g.value));
34711
34711
  }
34712
34712
  function a(v, g) {
34713
34713
  const S = s.value.select({
@@ -35249,9 +35249,9 @@ const Og = be({
35249
35249
  index: Number,
35250
35250
  item: Object,
35251
35251
  cellProps: [Object, Function],
35252
- onClick: lr(),
35253
- onContextmenu: lr(),
35254
- onDblclick: lr(),
35252
+ onClick: ur(),
35253
+ onContextmenu: ur(),
35254
+ onDblclick: ur(),
35255
35255
  ...xs()
35256
35256
  }, "VDataTableRow"), Ig = Ne()({
35257
35257
  name: "VDataTableRow",
@@ -35581,10 +35581,10 @@ const Ng = (r, b, e) => r == null || b == null ? -1 : r.toString().toLocaleLower
35581
35581
  }, "filter");
35582
35582
  function Bg(r, b, e) {
35583
35583
  var s;
35584
- const c = [], h = (e == null ? void 0 : e.default) ?? Ng, l = e != null && e.filterKeys ? or(e.filterKeys) : !1, i = Object.keys((e == null ? void 0 : e.customKeyFilter) ?? {}).length;
35584
+ const c = [], h = (e == null ? void 0 : e.default) ?? Ng, l = e != null && e.filterKeys ? lr(e.filterKeys) : !1, i = Object.keys((e == null ? void 0 : e.customKeyFilter) ?? {}).length;
35585
35585
  if (!(r != null && r.length)) return c;
35586
35586
  e: for (let n = 0; n < r.length; n++) {
35587
- const [t, a = t] = or(r[n]), f = {}, o = {};
35587
+ const [t, a = t] = lr(r[n]), f = {}, o = {};
35588
35588
  let u = -1;
35589
35589
  if ((b || i > 0) && !(e != null && e.noFilter)) {
35590
35590
  if (typeof t == "object") {
@@ -36070,7 +36070,7 @@ const Wg = be({
36070
36070
  themeClasses: s
36071
36071
  } = tr(r), {
36072
36072
  t: n
36073
- } = on(), t = re(() => Ms(or(r.type).join(",")));
36073
+ } = on(), t = re(() => Ms(lr(r.type).join(",")));
36074
36074
  return Ke(() => {
36075
36075
  var f;
36076
36076
  const a = !e.default || r.loading;
@@ -36094,58 +36094,58 @@ const Wg = be({
36094
36094
  },
36095
36095
  emits: ["update:modelValue"],
36096
36096
  setup(r) {
36097
- const { searchState: b, headersState: e } = Xn(), { filteredData: c } = ad(), h = yt("table_props"), l = us(r, "modelValue"), i = Te(!1), s = (n) => n.lock ? null : `item.${n.key}`;
36098
- return (n, t) => (gt(), Vt(Vg, Ie({
36097
+ const { searchState: b, headersState: e } = Xn(), { filteredData: c } = ad(), h = yt("table_props"), l = us(r, "modelValue"), i = (s) => s.lock ? null : `item.${s.key}`;
36098
+ return (s, n) => (gt(), Vt(Vg, Ie({
36099
36099
  modelValue: l.value,
36100
- "onUpdate:modelValue": t[0] || (t[0] = (a) => l.value = a),
36100
+ "onUpdate:modelValue": n[0] || (n[0] = (t) => l.value = t),
36101
36101
  color: "primary",
36102
36102
  "show-select": "",
36103
36103
  items: De(c),
36104
36104
  headers: De(e),
36105
- loading: De(i),
36105
+ loading: De(h).loading,
36106
36106
  search: De(b)
36107
36107
  }, De(h).options), oc({
36108
36108
  loading: ht(() => [
36109
36109
  G(zd, { type: "table-row@10" })
36110
36110
  ]),
36111
- "expanded-row": ht(({ columns: a, item: f }) => [
36111
+ "expanded-row": ht(({ columns: t, item: a }) => [
36112
36112
  vn("tr", null, [
36113
36113
  vn("td", {
36114
- colspan: a.length
36114
+ colspan: t.length
36115
36115
  }, [
36116
36116
  De(h).options.expandedRowRenderer ? (gt(), Vt(ui(De(h).options.expandedRowRenderer), {
36117
36117
  key: 0,
36118
- params: { columns: a, item: f }
36118
+ params: { columns: t, item: a }
36119
36119
  }, null, 8, ["params"])) : zo("", !0)
36120
36120
  ], 8, Kg)
36121
36121
  ])
36122
36122
  ]),
36123
36123
  _: 2
36124
36124
  }, [
36125
- Un(De(e), (a, f) => ({
36126
- name: s(a),
36127
- fn: ht(({ item: o, internalItem: u, value: p, column: m }) => [
36125
+ Un(De(e), (t, a) => ({
36126
+ name: i(t),
36127
+ fn: ht(({ item: f, internalItem: o, value: u, column: p }) => [
36128
36128
  vn("div", {
36129
- class: lc(m.cellClass)
36129
+ class: lc(p.cellClass)
36130
36130
  }, [
36131
- m.cellRendererFramework ? (gt(), Vt(ui(
36132
- typeof m.cellRendererFramework == "string" ? De(sd)()[m.cellRendererFramework] : m.cellRendererFramework
36131
+ p.cellRendererFramework ? (gt(), Vt(ui(
36132
+ typeof p.cellRendererFramework == "string" ? De(sd)()[p.cellRendererFramework] : p.cellRendererFramework
36133
36133
  ), {
36134
36134
  key: 0,
36135
- params: { item: o, internalItem: u, value: p, column: m },
36136
- cellRendererFrameworkParams: m.cellRendererFrameworkParams ? m.cellRendererFrameworkParams({
36137
- item: o,
36138
- internalItem: u,
36139
- value: p,
36140
- column: m
36135
+ params: { item: f, internalItem: o, value: u, column: p },
36136
+ cellRendererFrameworkParams: p.cellRendererFrameworkParams ? p.cellRendererFrameworkParams({
36137
+ item: f,
36138
+ internalItem: o,
36139
+ value: u,
36140
+ column: p
36141
36141
  }) : {}
36142
- }, null, 8, ["params", "cellRendererFrameworkParams"])) : m.cellRenderer ? (gt(), Sr("span", Ie(
36142
+ }, null, 8, ["params", "cellRendererFrameworkParams"])) : p.cellRenderer ? (gt(), Sr("span", Ie(
36143
36143
  { key: 1 },
36144
- m != null && m.cellRendererParams ? m.cellRendererParams({ item: o, internalItem: u, value: p, column: m }) : {},
36144
+ p != null && p.cellRendererParams ? p.cellRendererParams({ item: f, internalItem: o, value: u, column: p }) : {},
36145
36145
  {
36146
- innerHTML: m.cellRenderer({ item: o, internalItem: u, value: p, column: m })
36146
+ innerHTML: p.cellRenderer({ item: f, internalItem: o, value: u, column: p })
36147
36147
  }
36148
- ), null, 16, qg)) : m.valueFormatter ? (gt(), Sr("span", Xg, Bn(m.valueFormatter({ item: o, internalItem: u, value: p, column: m })), 1)) : (gt(), Sr("span", Gg, Bn(String(p).length || String(p) === "0" ? p : "-"), 1))
36148
+ ), null, 16, qg)) : p.valueFormatter ? (gt(), Sr("span", Xg, Bn(p.valueFormatter({ item: f, internalItem: o, value: u, column: p })), 1)) : (gt(), Sr("span", Gg, Bn(String(u).length || String(u) === "0" ? u : "-"), 1))
36149
36149
  ], 2)
36150
36150
  ])
36151
36151
  }))
@@ -37563,11 +37563,11 @@ const my = /* @__PURE__ */ uc(py), gy = ["innerHTML"], by = { key: 2 }, vy = { k
37563
37563
  n("advancedFiltersChange", u);
37564
37564
  };
37565
37565
  return nn(async () => {
37566
- var p, m, d;
37566
+ var p;
37567
37567
  i({ table_id: e.id });
37568
- const u = (p = h.value) == null ? void 0 : p.find((v) => v.id === e.id);
37569
- u && s({ table_id: e.id, data: u }), (d = (m = l.value.options) == null ? void 0 : m.columns) != null && d.selected || (l.value.options.columns.selected = e.headers.filter((v) => !v.hidden).map((v) => v.key), l.value.options.columns.sorted = e.headers.map(
37570
- (v) => v.key
37568
+ const u = (p = h.value) == null ? void 0 : p.find((m) => m.id === e.id);
37569
+ await ar(), u ? s({ table_id: e.id, data: u }) : (l.value.options.columns.selected = e.headers.filter((m) => !m.hidden).map((m) => m.key), l.value.options.columns.sorted = e.headers.map(
37570
+ (m) => m.key
37571
37571
  )), t.value = !0;
37572
37572
  }), Kt("table_props", e), (u, p) => {
37573
37573
  const m = _y;