sprintify-ui 0.6.88 → 0.7.0

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 (34) hide show
  1. package/README.md +11 -11
  2. package/dist/sprintify-ui.es.js +245 -244
  3. package/dist/tailwindcss/theme.js +1 -1
  4. package/dist/types/components/index.d.ts +2 -2
  5. package/dist/types/index.d.ts +2 -1
  6. package/dist/types/stores/snackbars.d.ts +19 -0
  7. package/dist/types/types/index.d.ts +4 -4
  8. package/package.json +1 -1
  9. package/src/components/BaseApp.vue +2 -2
  10. package/src/components/{BaseAppNotifications.vue → BaseAppSnackbars.vue} +9 -9
  11. package/src/components/BaseCropper.stories.js +3 -3
  12. package/src/components/BaseCropperModal.stories.js +3 -3
  13. package/src/components/BaseDataTable.stories.js +3 -3
  14. package/src/components/BaseDataTable.vue +4 -4
  15. package/src/components/BaseFilePicker.stories.js +3 -3
  16. package/src/components/BaseFilePicker.vue +4 -4
  17. package/src/components/BaseFilePickerCrop.stories.js +3 -3
  18. package/src/components/BaseFileUploader.stories.js +3 -3
  19. package/src/components/BaseFileUploader.vue +3 -3
  20. package/src/components/BaseForm.stories.js +3 -0
  21. package/src/components/BaseForm.vue +4 -4
  22. package/src/components/BaseHasMany.stories.js +5 -5
  23. package/src/components/BaseMediaLibrary.vue +3 -3
  24. package/src/components/BaseTagAutocomplete.stories.js +11 -5
  25. package/src/components/BaseTagAutocomplete.vue +3 -3
  26. package/src/components/BaseTagAutocompleteFetch.stories.js +3 -3
  27. package/src/components/index.ts +2 -2
  28. package/src/index.ts +2 -1
  29. package/src/stores/{notifications.ts → snackbars.ts} +15 -13
  30. package/src/stories/List.stories.js +3 -3
  31. package/src/stories/PageShow.vue +4 -4
  32. package/src/types/index.ts +4 -4
  33. package/dist/types/stores/notifications.d.ts +0 -10
  34. /package/dist/types/components/{BaseAppNotifications.vue.d.ts → BaseAppSnackbars.vue.d.ts} +0 -0
@@ -3,7 +3,7 @@ var Hb = (n, t, e) => t in n ? Fb(n, t, { enumerable: !0, configurable: !0, writ
3
3
  var sr = (n, t, e) => (Hb(n, typeof t != "symbol" ? t + "" : t, e), e);
4
4
  import { defineComponent as Ee, computed as L, inject as pt, resolveComponent as nn, openBlock as B, createBlock as De, withCtx as ge, createElementVNode as j, normalizeClass as de, unref as C, withModifiers as Kn, renderSlot as Ne, createElementBlock as K, normalizeStyle as it, createVNode as be, createCommentVNode as _e, toDisplayString as Oe, getCurrentScope as rm, onScopeDispose as im, toRef as qb, readonly as uo, customRef as Vb, ref as ne, watchEffect as un, h as Et, shallowRef as cd, watch as lt, shallowReadonly as no, Fragment as et, Teleport as Cr, Transition as Nn, provide as mt, createTextVNode as Cn, onBeforeUnmount as Hn, resolveDynamicComponent as Pn, withDirectives as Bn, mergeProps as Yt, renderList as ct, onMounted as gt, nextTick as Vt, Comment as Ub, useSlots as om, TransitionGroup as lm, isRef as jr, normalizeProps as zt, guardReactiveProps as jt, vShow as Nr, createSlots as am, cloneVNode as Wb, onUnmounted as Tn, getCurrentInstance as sm, reactive as dd, withKeys as Za, vModelText as Xa, createStaticVNode as um, vModelSelect as Gb } from "vue";
5
5
  import Yb from "axios";
6
- import { uniqueId as cm, get as si, isArray as tn, isString as Ds, cloneDeep as Gt, isObject as Li, throttle as fd, debounce as qn, truncate as Kb, trim as dm, padStart as Na, isNumber as wo, merge as xl, range as Jr, set as Au, isEqual as Qb, isPlainObject as Zb, reject as Xb, round as Wf, capitalize as Jb } from "lodash";
6
+ import { uniqueId as cm, get as si, isArray as tn, isString as Ds, cloneDeep as Gt, isObject as zi, throttle as fd, debounce as qn, truncate as Kb, trim as dm, padStart as Na, isNumber as wo, merge as xl, range as Jr, set as Au, isEqual as Qb, isPlainObject as Zb, reject as Xb, round as Wf, capitalize as Jb } from "lodash";
7
7
  import Gf from "qs";
8
8
  import { defineStore as Os } from "pinia";
9
9
  import { unrefElement as co, useEventListener as Yf, tryOnScopeDispose as e0, useInfiniteScroll as t0, useResizeObserver as To, useMutationObserver as fm, useScroll as hm, useElementSize as hd, useWindowSize as n0, useElementBounding as r0 } from "@vueuse/core";
@@ -251,31 +251,31 @@ function Ht(n) {
251
251
  }
252
252
  var ym = /^\[(?:([a-z-]+):)?(.+)\]$/i, y0 = /^\d+\/\d+$/, b0 = /* @__PURE__ */ new Set(["px", "full", "screen"]), w0 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, x0 = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, E0 = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
253
253
  function ur(n) {
254
- return Ri(n) || b0.has(n) || y0.test(n) || yc(n);
254
+ return Mi(n) || b0.has(n) || y0.test(n) || yc(n);
255
255
  }
256
256
  function yc(n) {
257
- return Ui(n, "length", T0);
257
+ return Wi(n, "length", T0);
258
258
  }
259
259
  function S0(n) {
260
- return Ui(n, "size", bm);
260
+ return Wi(n, "size", bm);
261
261
  }
262
262
  function _0(n) {
263
- return Ui(n, "position", bm);
263
+ return Wi(n, "position", bm);
264
264
  }
265
265
  function k0(n) {
266
- return Ui(n, "url", D0);
266
+ return Wi(n, "url", D0);
267
267
  }
268
268
  function sa(n) {
269
- return Ui(n, "number", Ri);
269
+ return Wi(n, "number", Mi);
270
270
  }
271
- function Ri(n) {
271
+ function Mi(n) {
272
272
  return !Number.isNaN(Number(n));
273
273
  }
274
274
  function A0(n) {
275
- return n.endsWith("%") && Ri(n.slice(0, -1));
275
+ return n.endsWith("%") && Mi(n.slice(0, -1));
276
276
  }
277
277
  function Go(n) {
278
- return Zf(n) || Ui(n, "number", Zf);
278
+ return Zf(n) || Wi(n, "number", Zf);
279
279
  }
280
280
  function St(n) {
281
281
  return ym.test(n);
@@ -287,9 +287,9 @@ function Zr(n) {
287
287
  return w0.test(n);
288
288
  }
289
289
  function C0(n) {
290
- return Ui(n, "", O0);
290
+ return Wi(n, "", O0);
291
291
  }
292
- function Ui(n, t, e) {
292
+ function Wi(n, t, e) {
293
293
  var r = ym.exec(n);
294
294
  return r ? r[1] ? r[1] === t : e(r[2]) : !1;
295
295
  }
@@ -320,7 +320,7 @@ function R0() {
320
320
  }, R = function() {
321
321
  return ["", ur];
322
322
  }, N = function() {
323
- return ["auto", Ri, St];
323
+ return ["auto", Mi, St];
324
324
  }, $ = function() {
325
325
  return ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
326
326
  }, H = function() {
@@ -334,9 +334,9 @@ function R0() {
334
334
  }, Y = function() {
335
335
  return ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
336
336
  }, I = function() {
337
- return [Ri, sa];
337
+ return [Mi, sa];
338
338
  }, z = function() {
339
- return [Ri, St];
339
+ return [Mi, St];
340
340
  };
341
341
  return {
342
342
  cacheSize: 500,
@@ -1068,7 +1068,7 @@ function R0() {
1068
1068
  * @see https://tailwindcss.com/docs/line-clamp
1069
1069
  */
1070
1070
  "line-clamp": [{
1071
- "line-clamp": ["none", Ri, sa]
1071
+ "line-clamp": ["none", Mi, sa]
1072
1072
  }],
1073
1073
  /**
1074
1074
  * Line Height
@@ -2308,7 +2308,7 @@ function R0() {
2308
2308
  var xt = /* @__PURE__ */ v0(R0);
2309
2309
  const M0 = ["active", "href", "aria-current", "onClick"], I0 = ["href"], N0 = {
2310
2310
  inheritAttrs: !1
2311
- }, zi = /* @__PURE__ */ Ee({
2311
+ }, ji = /* @__PURE__ */ Ee({
2312
2312
  ...N0,
2313
2313
  __name: "BaseActionItem",
2314
2314
  props: {
@@ -3238,7 +3238,7 @@ const yn = {
3238
3238
  iconSize: "h-5 w-5"
3239
3239
  }
3240
3240
  };
3241
- function Wi(n) {
3241
+ function Gi(n) {
3242
3242
  var i;
3243
3243
  const t = yd(), e = ((i = Ft.props) == null ? void 0 : i.size) ?? "md";
3244
3244
  return {
@@ -3259,7 +3259,7 @@ const c1 = /* @__PURE__ */ Ee({
3259
3259
  }
3260
3260
  },
3261
3261
  setup(n) {
3262
- const t = n, { size: e } = Wi(L(() => t.size)), r = L(() => {
3262
+ const t = n, { size: e } = Gi(L(() => t.size)), r = L(() => {
3263
3263
  const i = "block font-medium leading-tight text-red-600", o = {
3264
3264
  xs: "text-xs mb-0.5",
3265
3265
  sm: "text-xs mb-1",
@@ -3429,7 +3429,7 @@ function m1(n, t) {
3429
3429
  missing: /* @__PURE__ */ new Set()
3430
3430
  };
3431
3431
  }
3432
- function ji(n, t) {
3432
+ function $i(n, t) {
3433
3433
  const e = rh[n] || (rh[n] = /* @__PURE__ */ Object.create(null));
3434
3434
  return e[t] || (e[t] = m1(n, t));
3435
3435
  }
@@ -3453,7 +3453,7 @@ function Dm(n) {
3453
3453
  function v1(n) {
3454
3454
  const t = typeof n == "string" ? Rs(n, !0, Sl) : n;
3455
3455
  if (t) {
3456
- const e = ji(t.provider, t.prefix), r = t.name;
3456
+ const e = $i(t.provider, t.prefix), r = t.name;
3457
3457
  return e.icons[r] || (e.missing.has(r) ? null : void 0);
3458
3458
  }
3459
3459
  }
@@ -3461,7 +3461,7 @@ function y1(n, t) {
3461
3461
  const e = Rs(n, !0, Sl);
3462
3462
  if (!e)
3463
3463
  return !1;
3464
- const r = ji(e.provider, e.prefix);
3464
+ const r = $i(e.provider, e.prefix);
3465
3465
  return g1(r, e.name, t);
3466
3466
  }
3467
3467
  function b1(n, t) {
@@ -3480,7 +3480,7 @@ function b1(n, t) {
3480
3480
  name: "a"
3481
3481
  }))
3482
3482
  return !1;
3483
- const r = ji(t, e);
3483
+ const r = $i(t, e);
3484
3484
  return !!bd(r, n);
3485
3485
  }
3486
3486
  const Om = Object.freeze({
@@ -3757,7 +3757,7 @@ function L1(n) {
3757
3757
  if (r.name === i.name && r.prefix === i.prefix && r.provider === i.provider)
3758
3758
  return;
3759
3759
  r = i;
3760
- const o = i.provider, l = i.prefix, a = i.name, s = e[o] || (e[o] = /* @__PURE__ */ Object.create(null)), c = s[l] || (s[l] = ji(o, l));
3760
+ const o = i.provider, l = i.prefix, a = i.name, s = e[o] || (e[o] = /* @__PURE__ */ Object.create(null)), c = s[l] || (s[l] = $i(o, l));
3761
3761
  let d;
3762
3762
  a in c.icons ? d = t.loaded : l === "" || c.missing.has(a) ? d = t.missing : d = t.pending;
3763
3763
  const f = {
@@ -4093,7 +4093,7 @@ function jm() {
4093
4093
  G1(!0);
4094
4094
  for (const n in Is)
4095
4095
  zm(n, (t) => {
4096
- const e = t.data, r = t.provider, i = e.prefix, o = ji(
4096
+ const e = t.data, r = t.provider, i = e.prefix, o = $i(
4097
4097
  r,
4098
4098
  i
4099
4099
  );
@@ -4206,11 +4206,11 @@ const X1 = (n, t) => {
4206
4206
  const { provider: c, prefix: d } = s;
4207
4207
  if (d === a && c === l)
4208
4208
  return;
4209
- l = c, a = d, o.push(ji(c, d));
4209
+ l = c, a = d, o.push($i(c, d));
4210
4210
  const f = i[c] || (i[c] = /* @__PURE__ */ Object.create(null));
4211
4211
  f[d] || (f[d] = []);
4212
4212
  }), r.pending.forEach((s) => {
4213
- const { provider: c, prefix: d, name: f } = s, h = ji(c, d), p = h.pendingIcons || (h.pendingIcons = /* @__PURE__ */ new Set());
4213
+ const { provider: c, prefix: d, name: f } = s, h = $i(c, d), p = h.pendingIcons || (h.pendingIcons = /* @__PURE__ */ new Set());
4214
4214
  p.has(f) || (p.add(f), i[c][d].push(f));
4215
4215
  }), o.forEach((s) => {
4216
4216
  const { provider: c, prefix: d } = s;
@@ -4472,7 +4472,7 @@ const uw = {
4472
4472
  ...t.data
4473
4473
  }, e);
4474
4474
  }
4475
- }), es = Math.min, Ii = Math.max, ts = Math.round, ca = Math.floor, ui = (n) => ({
4475
+ }), es = Math.min, Ni = Math.max, ts = Math.round, ca = Math.floor, ui = (n) => ({
4476
4476
  x: n,
4477
4477
  y: n
4478
4478
  }), cw = {
@@ -4485,12 +4485,12 @@ const uw = {
4485
4485
  end: "start"
4486
4486
  };
4487
4487
  function gh(n, t, e) {
4488
- return Ii(n, es(t, e));
4488
+ return Ni(n, es(t, e));
4489
4489
  }
4490
4490
  function Ns(n, t) {
4491
4491
  return typeof n == "function" ? n(t) : n;
4492
4492
  }
4493
- function $i(n) {
4493
+ function Fi(n) {
4494
4494
  return n.split("-")[0];
4495
4495
  }
4496
4496
  function Bs(n) {
@@ -4503,7 +4503,7 @@ function Hm(n) {
4503
4503
  return n === "y" ? "height" : "width";
4504
4504
  }
4505
4505
  function Ps(n) {
4506
- return ["top", "bottom"].includes($i(n)) ? "y" : "x";
4506
+ return ["top", "bottom"].includes(Fi(n)) ? "y" : "x";
4507
4507
  }
4508
4508
  function qm(n) {
4509
4509
  return Fm(Ps(n));
@@ -4536,7 +4536,7 @@ function pw(n, t, e) {
4536
4536
  }
4537
4537
  function mw(n, t, e, r) {
4538
4538
  const i = Bs(n);
4539
- let o = pw($i(n), e === "start", r);
4539
+ let o = pw(Fi(n), e === "start", r);
4540
4540
  return i && (o = o.map((l) => l + "-" + i), t && (o = o.concat(o.map(Cc)))), o;
4541
4541
  }
4542
4542
  function ns(n) {
@@ -4573,7 +4573,7 @@ function vh(n, t, e) {
4573
4573
  reference: r,
4574
4574
  floating: i
4575
4575
  } = n;
4576
- const o = Ps(t), l = qm(t), a = Hm(l), s = $i(t), c = o === "y", d = r.x + r.width / 2 - i.width / 2, f = r.y + r.height / 2 - i.height / 2, h = r[a] / 2 - i[a] / 2;
4576
+ const o = Ps(t), l = qm(t), a = Hm(l), s = Fi(t), c = o === "y", d = r.x + r.width / 2 - i.width / 2, f = r.y + r.height / 2 - i.height / 2, h = r[a] / 2 - i[a] / 2;
4577
4577
  let p;
4578
4578
  switch (s) {
4579
4579
  case "top":
@@ -4745,7 +4745,7 @@ const bw = function(n) {
4745
4745
  } = Ns(n, t);
4746
4746
  if ((e = o.arrow) != null && e.alignmentOffset)
4747
4747
  return {};
4748
- const y = $i(i), w = $i(a) === a, u = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = h || (w || !m ? [ns(a)] : hw(a));
4748
+ const y = Fi(i), w = Fi(a) === a, u = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = h || (w || !m ? [ns(a)] : hw(a));
4749
4749
  !h && g !== "none" && b.push(...mw(a, m, g, u));
4750
4750
  const E = [a, ...b], _ = await Vm(t, v), A = [];
4751
4751
  let x = ((r = o.flip) == null ? void 0 : r.overflows) || [];
@@ -4798,7 +4798,7 @@ async function ww(n, t) {
4798
4798
  placement: e,
4799
4799
  platform: r,
4800
4800
  elements: i
4801
- } = n, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), l = $i(e), a = Bs(e), s = Ps(e) === "y", c = ["left", "top"].includes(l) ? -1 : 1, d = o && s ? -1 : 1, f = Ns(t, n);
4801
+ } = n, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), l = Fi(e), a = Bs(e), s = Ps(e) === "y", c = ["left", "top"].includes(l) ? -1 : 1, d = o && s ? -1 : 1, f = Ns(t, n);
4802
4802
  let {
4803
4803
  mainAxis: h,
4804
4804
  crossAxis: p,
@@ -4871,7 +4871,7 @@ const kd = function(n) {
4871
4871
  } = Ns(n, t), c = {
4872
4872
  x: e,
4873
4873
  y: r
4874
- }, d = await Vm(t, s), f = Ps($i(i)), h = Fm(f);
4874
+ }, d = await Vm(t, s), f = Ps(Fi(i)), h = Fm(f);
4875
4875
  let p = c[h], g = c[f];
4876
4876
  if (o) {
4877
4877
  const v = h === "y" ? "top" : "left", y = h === "y" ? "bottom" : "right", w = p + d[v], u = p - d[y];
@@ -5023,7 +5023,7 @@ function Gm(n) {
5023
5023
  function kw(n, t, e) {
5024
5024
  return t === void 0 && (t = !1), !e || t && e !== Xn(n) ? !1 : t;
5025
5025
  }
5026
- function Fi(n, t, e, r) {
5026
+ function Hi(n, t, e, r) {
5027
5027
  t === void 0 && (t = !1), e === void 0 && (e = !1);
5028
5028
  const i = n.getBoundingClientRect(), o = Dd(n);
5029
5029
  let l = ui(1);
@@ -5071,7 +5071,7 @@ function Cw(n) {
5071
5071
  }, c = ui(1);
5072
5072
  const d = ui(0), f = _r(r);
5073
5073
  if ((f || !f && !o) && (($r(r) !== "body" || Bl(l)) && (s = zs(r)), _r(r))) {
5074
- const h = Fi(r);
5074
+ const h = Hi(r);
5075
5075
  c = fo(r), d.x = h.x + r.clientLeft, d.y = h.y + r.clientTop;
5076
5076
  }
5077
5077
  return {
@@ -5085,13 +5085,13 @@ function Tw(n) {
5085
5085
  return Array.from(n.getClientRects());
5086
5086
  }
5087
5087
  function Km(n) {
5088
- return Fi(Gr(n)).left + zs(n).scrollLeft;
5088
+ return Hi(Gr(n)).left + zs(n).scrollLeft;
5089
5089
  }
5090
5090
  function Dw(n) {
5091
- const t = Gr(n), e = zs(n), r = n.ownerDocument.body, i = Ii(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = Ii(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5091
+ const t = Gr(n), e = zs(n), r = n.ownerDocument.body, i = Ni(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = Ni(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5092
5092
  let l = -e.scrollLeft + Km(n);
5093
5093
  const a = -e.scrollTop;
5094
- return or(r).direction === "rtl" && (l += Ii(t.clientWidth, r.clientWidth) - i), {
5094
+ return or(r).direction === "rtl" && (l += Ni(t.clientWidth, r.clientWidth) - i), {
5095
5095
  width: i,
5096
5096
  height: o,
5097
5097
  x: l,
@@ -5114,7 +5114,7 @@ function Ow(n, t) {
5114
5114
  };
5115
5115
  }
5116
5116
  function Rw(n, t) {
5117
- const e = Fi(n, !0, t === "fixed"), r = e.top + n.clientTop, i = e.left + n.clientLeft, o = _r(n) ? fo(n) : ui(1), l = n.clientWidth * o.x, a = n.clientHeight * o.y, s = i * o.x, c = r * o.y;
5117
+ const e = Hi(n, !0, t === "fixed"), r = e.top + n.clientTop, i = e.left + n.clientLeft, o = _r(n) ? fo(n) : ui(1), l = n.clientWidth * o.x, a = n.clientHeight * o.y, s = i * o.x, c = r * o.y;
5118
5118
  return {
5119
5119
  width: l,
5120
5120
  height: a,
@@ -5166,7 +5166,7 @@ function Iw(n) {
5166
5166
  } = n;
5167
5167
  const l = [...e === "clippingAncestors" ? Mw(t, this._c) : [].concat(e), r], a = l[0], s = l.reduce((c, d) => {
5168
5168
  const f = bh(t, d, i);
5169
- return c.top = Ii(f.top, c.top), c.right = es(f.right, c.right), c.bottom = es(f.bottom, c.bottom), c.left = Ii(f.left, c.left), c;
5169
+ return c.top = Ni(f.top, c.top), c.right = es(f.right, c.right), c.bottom = es(f.bottom, c.bottom), c.left = Ni(f.left, c.left), c;
5170
5170
  }, bh(t, a, i));
5171
5171
  return {
5172
5172
  width: s.right - s.left,
@@ -5186,7 +5186,7 @@ function Nw(n) {
5186
5186
  };
5187
5187
  }
5188
5188
  function Bw(n, t, e) {
5189
- const r = _r(t), i = Gr(t), o = e === "fixed", l = Fi(n, !0, o, t);
5189
+ const r = _r(t), i = Gr(t), o = e === "fixed", l = Hi(n, !0, o, t);
5190
5190
  let a = {
5191
5191
  scrollLeft: 0,
5192
5192
  scrollTop: 0
@@ -5194,7 +5194,7 @@ function Bw(n, t, e) {
5194
5194
  const s = ui(0);
5195
5195
  if (r || !r && !o)
5196
5196
  if (($r(t) !== "body" || Bl(i)) && (a = zs(t)), r) {
5197
- const f = Fi(t, !0, o, t);
5197
+ const f = Hi(t, !0, o, t);
5198
5198
  s.x = f.x + t.clientLeft, s.y = f.y + t.clientTop;
5199
5199
  } else
5200
5200
  i && (s.x = Km(i));
@@ -5263,7 +5263,7 @@ function jw(n, t) {
5263
5263
  return;
5264
5264
  const p = ca(d), g = ca(i.clientWidth - (c + f)), m = ca(i.clientHeight - (d + h)), v = ca(c), w = {
5265
5265
  rootMargin: -p + "px " + -g + "px " + -m + "px " + -v + "px",
5266
- threshold: Ii(0, es(1, s)) || 1
5266
+ threshold: Ni(0, es(1, s)) || 1
5267
5267
  };
5268
5268
  let u = !0;
5269
5269
  function b(E) {
@@ -5313,10 +5313,10 @@ function Od(n, t, e, r) {
5313
5313
  (u = p) == null || u.observe(t);
5314
5314
  })), e();
5315
5315
  }), c && !s && p.observe(c), p.observe(t));
5316
- let g, m = s ? Fi(n) : null;
5316
+ let g, m = s ? Hi(n) : null;
5317
5317
  s && v();
5318
5318
  function v() {
5319
- const y = Fi(n);
5319
+ const y = Hi(n);
5320
5320
  m && (y.x !== m.x || y.y !== m.y || y.width !== m.width || y.height !== m.height) && e(), m = y, g = requestAnimationFrame(v);
5321
5321
  }
5322
5322
  return e(), () => {
@@ -5530,7 +5530,7 @@ const Hw = ["innerHTML"], Pl = /* @__PURE__ */ Ee({
5530
5530
  }
5531
5531
  },
5532
5532
  setup(n) {
5533
- const t = n, e = ne(), { size: r } = Wi(L(() => t.size)), i = L(() => {
5533
+ const t = n, e = ne(), { size: r } = Gi(L(() => t.size)), i = L(() => {
5534
5534
  const o = "mb-1 block text-sm", l = {
5535
5535
  xs: "text-xs mb-[0.2rem]",
5536
5536
  sm: "text-sm mb-1",
@@ -5603,7 +5603,7 @@ const Hw = ["innerHTML"], Pl = /* @__PURE__ */ Ee({
5603
5603
  }
5604
5604
  },
5605
5605
  setup(n) {
5606
- const t = n, e = ne(t.errorType), r = Wi(L(() => t.size));
5606
+ const t = n, e = ne(t.errorType), r = Gi(L(() => t.size));
5607
5607
  function i(p) {
5608
5608
  p != null && (e.value = p);
5609
5609
  }
@@ -5685,7 +5685,7 @@ function Dn(n) {
5685
5685
  });
5686
5686
  const w = L(() => r.value !== void 0 ? r.value : c.value), u = L(() => e.value ? e.value : d.value), b = L(() => {
5687
5687
  let x = (l == null ? void 0 : l.value) ?? null;
5688
- return x || (x = f.value), Wi(x).size.value;
5688
+ return x || (x = f.value), Gi(x).size.value;
5689
5689
  }), E = L(() => p(u.value)), _ = L(() => i.value ? i.value : !!E.value);
5690
5690
  function A(x) {
5691
5691
  o("update:modelValue", x), h(u.value);
@@ -6152,7 +6152,7 @@ const Tc = /* @__PURE__ */ new WeakMap(), Zw = (n) => {
6152
6152
  ], 2)
6153
6153
  ], 2));
6154
6154
  }
6155
- }), Hi = Os("i18n", {
6155
+ }), qi = Os("i18n", {
6156
6156
  state: () => ({
6157
6157
  locale: "en"
6158
6158
  }),
@@ -6367,7 +6367,7 @@ function ze(n, t) {
6367
6367
  }
6368
6368
  function Sx() {
6369
6369
  try {
6370
- return Hi().locale;
6370
+ return qi().locale;
6371
6371
  } catch (n) {
6372
6372
  return console.error(n), "en";
6373
6373
  }
@@ -6399,7 +6399,7 @@ function kx(n, t) {
6399
6399
  e = e.replace(`{${r}}`, t[r]);
6400
6400
  }), e;
6401
6401
  }
6402
- const Ax = ["value", "name", "disabled", "required"], Cx = ["value"], Ru = "", Mu = null, Ni = /* @__PURE__ */ Ee({
6402
+ const Ax = ["value", "name", "disabled", "required"], Cx = ["value"], Ru = "", Mu = null, Bi = /* @__PURE__ */ Ee({
6403
6403
  inheritAttrs: !1,
6404
6404
  __name: "BaseSelect",
6405
6405
  props: {
@@ -6665,7 +6665,7 @@ const Ax = ["value", "name", "disabled", "required"], Cx = ["value"], Ru = "", M
6665
6665
  },
6666
6666
  emits: ["update:model-value"],
6667
6667
  setup(n, { emit: t }) {
6668
- const e = n, r = t, { size: i } = Wi(L(() => e.size)), o = L(() => {
6668
+ const e = n, r = t, { size: i } = Gi(L(() => e.size)), o = L(() => {
6669
6669
  const u = Gt(e.modelValue ?? {});
6670
6670
  return u.address_1 = u.address_1 ?? "", u.address_2 = u.address_2 ?? "", u.city = u.city ?? "", u.postal_code = u.postal_code ?? "", u.country = u.country ?? "", u.region = u.region ?? "", u.notes = u.notes ?? "", u;
6671
6671
  }), l = L(() => e.restrictCountry ? o.value.country ? o.value.country : Ox : o.value.country ?? null), a = L(() => e.countries && tn(e.countries) && e.countries.length ? e.countries : Ft.countries), s = L(() => e.regions && tn(e.regions) && e.regions.length ? e.regions : Ft.regions), c = L(() => s.value.filter(
@@ -6839,7 +6839,7 @@ const Ax = ["value", "name", "disabled", "required"], Cx = ["value"], Ru = "", M
6839
6839
  size: C(i)
6840
6840
  }, {
6841
6841
  default: ge(() => [
6842
- be(Ni, {
6842
+ be(Bi, {
6843
6843
  "model-value": C(o).country ?? "",
6844
6844
  class: "w-full",
6845
6845
  options: C(a),
@@ -6860,7 +6860,7 @@ const Ax = ["value", "name", "disabled", "required"], Cx = ["value"], Ru = "", M
6860
6860
  size: C(i)
6861
6861
  }, {
6862
6862
  default: ge(() => [
6863
- be(Ni, {
6863
+ be(Bi, {
6864
6864
  "model-value": C(o).region ?? "",
6865
6865
  class: "w-full",
6866
6866
  options: C(c),
@@ -7774,10 +7774,10 @@ const Ux = {
7774
7774
  ]);
7775
7775
  };
7776
7776
  }
7777
- }), Xx = { class: "pointer-events-none fixed inset-0 z-notifications flex items-end justify-end p-6 md:p-8" }, Jx = { class: "w-full" }, ug = /* @__PURE__ */ Ee({
7778
- __name: "BaseAppNotifications",
7777
+ }), Xx = { class: "pointer-events-none fixed inset-0 z-snackbars flex items-end justify-end p-6 md:p-8" }, Jx = { class: "w-full" }, ug = /* @__PURE__ */ Ee({
7778
+ __name: "BaseAppSnackbars",
7779
7779
  setup(n) {
7780
- const t = Qi(), e = L(() => t.notifications);
7780
+ const t = vi(), e = L(() => t.snackbars);
7781
7781
  return (r, i) => (B(), De(Cr, { to: "body" }, [
7782
7782
  j("div", Xx, [
7783
7783
  j("div", Jx, [
@@ -7822,7 +7822,7 @@ function Pd(n, t, e, r, i = ne(!1)) {
7822
7822
  label: s[e.value],
7823
7823
  value: s[r.value],
7824
7824
  option: s
7825
- })) : [] : Li(n.value) ? {
7825
+ })) : [] : zi(n.value) ? {
7826
7826
  label: n.value[e.value],
7827
7827
  value: n.value[r.value],
7828
7828
  option: n.value
@@ -7833,7 +7833,7 @@ function Pd(n, t, e, r, i = ne(!1)) {
7833
7833
  option: s
7834
7834
  })));
7835
7835
  function a(s) {
7836
- return tn(o.value) ? o.value.some((c) => c.value === s.value) : Li(o.value) ? o.value.value == s.value : !1;
7836
+ return tn(o.value) ? o.value.some((c) => c.value === s.value) : zi(o.value) ? o.value.value == s.value : !1;
7837
7837
  }
7838
7838
  return {
7839
7839
  normalizedOptions: l,
@@ -7910,7 +7910,7 @@ const nE = {
7910
7910
  Ne(e.$slots, "default")
7911
7911
  ], 2));
7912
7912
  }
7913
- }), Gi = (n, t) => {
7913
+ }), Yi = (n, t) => {
7914
7914
  const e = n.__vccOpts || n;
7915
7915
  for (const [r, i] of t)
7916
7916
  e[r] = i;
@@ -7927,7 +7927,7 @@ const nE = {
7927
7927
  function aE(n, t) {
7928
7928
  return B(), K("svg", iE, lE);
7929
7929
  }
7930
- const dg = /* @__PURE__ */ Gi(rE, [["render", aE]]), sE = { class: "relative w-full overflow-hidden" }, uE = { class: "flex items-center justify-center px-5 py-10 text-center text-slate-600" }, cE = ["data-index"], dE = ["onClick", "onMouseenter", "onMousemove"], fE = { class: "grow" }, hE = { class: "shrink-0" }, pE = /* @__PURE__ */ j("div", { class: "absolute inset-0 h-full w-full bg-gradient-to-b from-transparent to-white" }, null, -1), mE = { ref: "footer" }, gE = {
7930
+ const dg = /* @__PURE__ */ Yi(rE, [["render", aE]]), sE = { class: "relative w-full overflow-hidden" }, uE = { class: "flex items-center justify-center px-5 py-10 text-center text-slate-600" }, cE = ["data-index"], dE = ["onClick", "onMouseenter", "onMousemove"], fE = { class: "grow" }, hE = { class: "shrink-0" }, pE = /* @__PURE__ */ j("div", { class: "absolute inset-0 h-full w-full bg-gradient-to-b from-transparent to-white" }, null, -1), mE = { ref: "footer" }, gE = {
7931
7931
  key: 0,
7932
7932
  class: "bg-white"
7933
7933
  }, vE = {
@@ -7976,7 +7976,7 @@ const dg = /* @__PURE__ */ Gi(rE, [["render", aE]]), sE = { class: "relative w-f
7976
7976
  i("select", u);
7977
7977
  }
7978
7978
  function d(u) {
7979
- return tn(r.selected) ? r.selected.some((b) => b.value === u.value) : Li(r.selected) ? r.selected.value == u.value : !1;
7979
+ return tn(r.selected) ? r.selected.some((b) => b.value === u.value) : zi(r.selected) ? r.selected.value == u.value : !1;
7980
7980
  }
7981
7981
  function f(u) {
7982
7982
  const b = u.key;
@@ -8026,7 +8026,7 @@ const dg = /* @__PURE__ */ Gi(rE, [["render", aE]]), sE = { class: "relative w-f
8026
8026
  ), lt(
8027
8027
  () => r.selected,
8028
8028
  () => {
8029
- if (Li(r.selected) && !tn(r.selected)) {
8029
+ if (zi(r.selected) && !tn(r.selected)) {
8030
8030
  const u = r.selected, b = r.options.findIndex(
8031
8031
  (E) => E.value === u.value
8032
8032
  );
@@ -8386,7 +8386,7 @@ const dg = /* @__PURE__ */ Gi(rE, [["render", aE]]), sE = { class: "relative w-f
8386
8386
  j("div", {
8387
8387
  class: de(["flex", [n.select ? "-space-x-px" : ""]])
8388
8388
  }, [
8389
- n.select ? (B(), De(C(Ni), {
8389
+ n.select ? (B(), De(C(Bi), {
8390
8390
  key: 0,
8391
8391
  modelValue: C(H),
8392
8392
  "onUpdate:modelValue": [
@@ -9163,12 +9163,12 @@ const SE = {
9163
9163
  }
9164
9164
  r.showRouteUrl != null && i.get(r.showRouteUrl(r.modelValue)).then((h) => {
9165
9165
  const p = h.data;
9166
- if (Li(p)) {
9166
+ if (zi(p)) {
9167
9167
  if (p[r.primaryKey] == r.modelValue) {
9168
9168
  a.value = p;
9169
9169
  return;
9170
9170
  }
9171
- if (Li(p.data) && p.data[r.primaryKey] == r.modelValue) {
9171
+ if (zi(p.data) && p.data[r.primaryKey] == r.modelValue) {
9172
9172
  a.value = p.data;
9173
9173
  return;
9174
9174
  }
@@ -9660,7 +9660,7 @@ const SE = {
9660
9660
  ], 512));
9661
9661
  }
9662
9662
  });
9663
- var $s, st, gg, vg, Eo, Ti, Ah, yg, bg, os = {}, wg = [], eS = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
9663
+ var $s, st, gg, vg, Eo, Di, Ah, yg, bg, os = {}, wg = [], eS = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
9664
9664
  function ni(n, t) {
9665
9665
  for (var e in t)
9666
9666
  n[e] = t[e];
@@ -9769,14 +9769,14 @@ function nS(n) {
9769
9769
  Eo ? setTimeout(n) : yg(n);
9770
9770
  }
9771
9771
  function Dc(n) {
9772
- (!n.__d && (n.__d = !0) && Ti.push(n) && !as.__r++ || Ah !== st.debounceRendering) && ((Ah = st.debounceRendering) || nS)(as);
9772
+ (!n.__d && (n.__d = !0) && Di.push(n) && !as.__r++ || Ah !== st.debounceRendering) && ((Ah = st.debounceRendering) || nS)(as);
9773
9773
  }
9774
9774
  function as() {
9775
9775
  var n, t, e, r, i, o, l, a;
9776
- for (Ti.sort(function(s, c) {
9776
+ for (Di.sort(function(s, c) {
9777
9777
  return s.__v.__b - c.__v.__b;
9778
- }); n = Ti.shift(); )
9779
- n.__d && (t = Ti.length, r = void 0, i = void 0, l = (o = (e = n).__v).__e, (a = e.__P) && (r = [], (i = ni({}, o)).__v = o.__v + 1, $d(a, o, i, e.__n, a.ownerSVGElement !== void 0, o.__h != null ? [l] : null, r, l ?? Cl(o), o.__h), Cg(r, o), o.__e != l && Eg(o)), Ti.length > t && Ti.sort(function(s, c) {
9778
+ }); n = Di.shift(); )
9779
+ n.__d && (t = Di.length, r = void 0, i = void 0, l = (o = (e = n).__v).__e, (a = e.__P) && (r = [], (i = ni({}, o)).__v = o.__v + 1, $d(a, o, i, e.__n, a.ownerSVGElement !== void 0, o.__h != null ? [l] : null, r, l ?? Cl(o), o.__h), Cg(r, o), o.__e != l && Eg(o)), Di.length > t && Di.sort(function(s, c) {
9780
9780
  return s.__v.__b - c.__v.__b;
9781
9781
  }));
9782
9782
  as.__r = 0;
@@ -9990,7 +9990,7 @@ $s = wg.slice, st = { __e: function(n, t, e, r) {
9990
9990
  e = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ni({}, this.state), typeof n == "function" && (n = n(ni({}, e), this.props)), n && ni(e, n), n != null && this.__v && (t && this._sb.push(t), Dc(this));
9991
9991
  }, Jn.prototype.forceUpdate = function(n) {
9992
9992
  this.__v && (this.__e = !0, n && this.__h.push(n), Dc(this));
9993
- }, Jn.prototype.render = Lt, Ti = [], yg = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, as.__r = 0, bg = 0;
9993
+ }, Jn.prototype.render = Lt, Di = [], yg = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, as.__r = 0, bg = 0;
9994
9994
  var xr, Iu, Oh, Og = [], Nu = [], Rh = st.__b, Mh = st.__r, Ih = st.diffed, Nh = st.__c, Bh = st.unmount;
9995
9995
  function lS() {
9996
9996
  for (var n; n = Og.shift(); )
@@ -10426,7 +10426,7 @@ function Fg(n) {
10426
10426
  };
10427
10427
  }
10428
10428
  let Yh = 0;
10429
- function Yi() {
10429
+ function Ki() {
10430
10430
  return Yh += 1, String(Yh);
10431
10431
  }
10432
10432
  function qd() {
@@ -11209,19 +11209,19 @@ const rp = {
11209
11209
  initialEvents: ke,
11210
11210
  events: ke,
11211
11211
  eventSources: ke
11212
- }, ki = {
11213
- headerToolbar: Ai,
11214
- footerToolbar: Ai,
11215
- buttonText: Ai,
11216
- buttonHints: Ai,
11217
- buttonIcons: Ai,
11218
- dateIncrement: Ai,
11212
+ }, Ai = {
11213
+ headerToolbar: Ci,
11214
+ footerToolbar: Ci,
11215
+ buttonText: Ci,
11216
+ buttonHints: Ci,
11217
+ buttonIcons: Ci,
11218
+ dateIncrement: Ci,
11219
11219
  plugins: ha,
11220
11220
  events: ha,
11221
11221
  eventSources: ha,
11222
11222
  resources: ha
11223
11223
  };
11224
- function Ai(n, t) {
11224
+ function Ci(n, t) {
11225
11225
  return typeof n == "object" && typeof t == "object" && n && t ? mr(n, t) : n === t;
11226
11226
  }
11227
11227
  function ha(n, t) {
@@ -11240,7 +11240,7 @@ const E_ = {
11240
11240
  willUnmount: ke
11241
11241
  };
11242
11242
  function zu(n) {
11243
- return Yd(n, ki);
11243
+ return Yd(n, Ai);
11244
11244
  }
11245
11245
  function Gd(n, t) {
11246
11246
  let e = {}, r = {};
@@ -11258,7 +11258,7 @@ function Yd(n, t) {
11258
11258
  let e = {};
11259
11259
  if (t) {
11260
11260
  for (let r in t)
11261
- if (t[r] === Ai) {
11261
+ if (t[r] === Ci) {
11262
11262
  let i = [];
11263
11263
  for (let o = n.length - 1; o >= 0; o -= 1) {
11264
11264
  let l = n[o][r];
@@ -11279,7 +11279,7 @@ function Yd(n, t) {
11279
11279
  }
11280
11280
  return e;
11281
11281
  }
11282
- function qi(n, t) {
11282
+ function Vi(n, t) {
11283
11283
  let e = {};
11284
11284
  for (let r in n)
11285
11285
  t(n[r], r) && (e[r] = n[r]);
@@ -11650,7 +11650,7 @@ function B_(n, t, e, r, i, o, l, a, s, c, d, f, h) {
11650
11650
  unregisterInteractiveComponent: h
11651
11651
  };
11652
11652
  }
11653
- class Ki extends Jn {
11653
+ class Qi extends Jn {
11654
11654
  shouldComponentUpdate(t, e) {
11655
11655
  return this.debug && console.log(Bc(t, this.props), Bc(e, this.state)), !ju(this.props, t, this.propEquality) || !ju(this.state, e, this.stateEquality);
11656
11656
  }
@@ -11659,12 +11659,12 @@ class Ki extends Jn {
11659
11659
  ju(this.state, Object.assign(Object.assign({}, this.state), t), this.stateEquality) || this.setState(t);
11660
11660
  }
11661
11661
  }
11662
- Ki.addPropsEquality = P_;
11663
- Ki.addStateEquality = L_;
11664
- Ki.contextType = Yr;
11665
- Ki.prototype.propEquality = {};
11666
- Ki.prototype.stateEquality = {};
11667
- class Dt extends Ki {
11662
+ Qi.addPropsEquality = P_;
11663
+ Qi.addStateEquality = L_;
11664
+ Qi.contextType = Yr;
11665
+ Qi.prototype.propEquality = {};
11666
+ Qi.prototype.stateEquality = {};
11667
+ class Dt extends Qi {
11668
11668
  }
11669
11669
  Dt.contextType = Yr;
11670
11670
  function P_(n) {
@@ -11680,7 +11680,7 @@ function qr(n, t) {
11680
11680
  }
11681
11681
  class Qd extends Dt {
11682
11682
  constructor() {
11683
- super(...arguments), this.id = Yi(), this.queuedDomNodes = [], this.currentDomNodes = [], this.handleEl = (t) => {
11683
+ super(...arguments), this.id = Ki(), this.queuedDomNodes = [], this.currentDomNodes = [], this.handleEl = (t) => {
11684
11684
  const { options: e } = this.context, { generatorName: r } = this.props;
11685
11685
  (!e.customRenderingReplaces || !Pc(r, e)) && this.updateElRef(t);
11686
11686
  }, this.updateElRef = (t) => {
@@ -12031,7 +12031,7 @@ class Zg {
12031
12031
  }
12032
12032
  function Jd(n, t, e, r) {
12033
12033
  return {
12034
- instanceId: Yi(),
12034
+ instanceId: Ki(),
12035
12035
  defId: n,
12036
12036
  range: t,
12037
12037
  forcedStartTzo: e ?? null,
@@ -12053,9 +12053,9 @@ function Y_(n, t, e, r) {
12053
12053
  }
12054
12054
  return null;
12055
12055
  }
12056
- function Vi(n, t, e) {
12056
+ function Ui(n, t, e) {
12057
12057
  let { dateEnv: r, pluginHooks: i, options: o } = e, { defs: l, instances: a } = n;
12058
- a = qi(a, (s) => !l[s.defId].recurringDef);
12058
+ a = Vi(a, (s) => !l[s.defId].recurringDef);
12059
12059
  for (let s in l) {
12060
12060
  let c = l[s];
12061
12061
  if (c.recurringDef) {
@@ -12122,7 +12122,7 @@ function Lc(n, t, e, r, i, o, l) {
12122
12122
  publicId: n.id || "",
12123
12123
  url: n.url || "",
12124
12124
  recurringDef: null,
12125
- defId: (l && n.id ? l[n.id] : "") || Yi(),
12125
+ defId: (l && n.id ? l[n.id] : "") || Ki(),
12126
12126
  sourceId: e,
12127
12127
  allDay: r,
12128
12128
  hasEnd: i,
@@ -12184,7 +12184,7 @@ function nf(n, t) {
12184
12184
  };
12185
12185
  }
12186
12186
  function qs(n, t) {
12187
- let e = qi(n.defs, t), r = qi(n.instances, (i) => e[i.defId]);
12187
+ let e = Vi(n.defs, t), r = Vi(n.instances, (i) => e[i.defId]);
12188
12188
  return { defs: e, instances: r };
12189
12189
  }
12190
12190
  function ek(n, t) {
@@ -12290,7 +12290,7 @@ function nv(n, t, e = rv(t)) {
12290
12290
  success: i.success,
12291
12291
  failure: i.failure,
12292
12292
  publicId: i.id || "",
12293
- sourceId: Yi(),
12293
+ sourceId: Ki(),
12294
12294
  sourceDefId: l.sourceDefId,
12295
12295
  meta: l.meta,
12296
12296
  ui: ms(i, t),
@@ -12333,7 +12333,7 @@ function lk(n, t, e, r, i) {
12333
12333
  case "NEXT":
12334
12334
  case "CHANGE_DATE":
12335
12335
  case "CHANGE_VIEW_TYPE":
12336
- return r ? Vi(n, r.activeRange, i) : n;
12336
+ return r ? Ui(n, r.activeRange, i) : n;
12337
12337
  case "REMOVE_EVENTS":
12338
12338
  return ek(n, t.eventStore);
12339
12339
  case "REMOVE_EVENT_SOURCE":
@@ -12350,14 +12350,14 @@ function ak(n, t, e, r, i, o) {
12350
12350
  if (t && // not already removed
12351
12351
  e === t.latestFetchId) {
12352
12352
  let l = Dl(iv(i, t, o), t, o);
12353
- return r && (l = Vi(l, r, o)), nf(ov(n, t.sourceId), l);
12353
+ return r && (l = Ui(l, r, o)), nf(ov(n, t.sourceId), l);
12354
12354
  }
12355
12355
  return n;
12356
12356
  }
12357
12357
  function sk(n, t, e, r, i) {
12358
12358
  const { defIdMap: o, instanceIdMap: l } = dk(n);
12359
12359
  let a = Dl(iv(e, t, i), t, i, !1, o, l);
12360
- return Vi(a, r, i);
12360
+ return Ui(a, r, i);
12361
12361
  }
12362
12362
  function iv(n, t, e) {
12363
12363
  let r = e.options.eventDataTransform, i = t ? t.eventDataTransform : null;
@@ -12377,7 +12377,7 @@ function sp(n, t) {
12377
12377
  return e;
12378
12378
  }
12379
12379
  function uk(n, t, e, r) {
12380
- return e && (t = Vi(t, e, r)), nf(n, t);
12380
+ return e && (t = Ui(t, e, r)), nf(n, t);
12381
12381
  }
12382
12382
  function up(n, t, e) {
12383
12383
  let { defs: r } = n, i = Hr(n.instances, (o) => r[o.defId].allDay ? o : Object.assign(Object.assign({}, o), { range: {
@@ -12392,7 +12392,7 @@ function ov(n, t) {
12392
12392
  function ck(n, t) {
12393
12393
  return {
12394
12394
  defs: n.defs,
12395
- instances: qi(n.instances, (e) => !t[e.instanceId])
12395
+ instances: Vi(n.instances, (e) => !t[e.instanceId])
12396
12396
  };
12397
12397
  }
12398
12398
  function dk(n) {
@@ -12653,7 +12653,7 @@ class Kt {
12653
12653
  }), i.emitter.trigger("eventChange", {
12654
12654
  oldEvent: s,
12655
12655
  event: this,
12656
- relatedEvents: Bi(l, i, e),
12656
+ relatedEvents: Pi(l, i, e),
12657
12657
  revert() {
12658
12658
  i.dispatch({
12659
12659
  type: "RESET_EVENTS",
@@ -12773,7 +12773,7 @@ function av(n) {
12773
12773
  instances: e ? { [e.instanceId]: e } : {}
12774
12774
  };
12775
12775
  }
12776
- function Bi(n, t, e) {
12776
+ function Pi(n, t, e) {
12777
12777
  let { defs: r, instances: i } = n, o = [], l = e ? e.instanceId : "";
12778
12778
  for (let a in i) {
12779
12779
  let s = i[a], c = r[s.defId];
@@ -13316,7 +13316,7 @@ class zk {
13316
13316
  }
13317
13317
  getEvents() {
13318
13318
  let t = this.getCurrentData();
13319
- return Bi(t.eventStore, t);
13319
+ return Pi(t.eventStore, t);
13320
13320
  }
13321
13321
  removeAllEvents() {
13322
13322
  this.dispatch({ type: "REMOVE_ALL_EVENTS" });
@@ -13730,7 +13730,7 @@ class tA extends df {
13730
13730
  }
13731
13731
  class tr extends Dt {
13732
13732
  constructor() {
13733
- super(...arguments), this.uid = Yi();
13733
+ super(...arguments), this.uid = Ki();
13734
13734
  }
13735
13735
  // Hit System
13736
13736
  // -----------------------------------------------------------------------------------------------------------------
@@ -13793,7 +13793,7 @@ class gv {
13793
13793
  }
13794
13794
  insertEntryAt(t, e) {
13795
13795
  let { entriesByLevel: r, levelCoords: i } = this;
13796
- e.lateral === -1 ? (Vu(i, e.level, e.levelCoord), Vu(r, e.level, [t])) : Vu(r[e.level], e.lateral, t), this.stackCnts[Pi(t)] = e.stackCnt;
13796
+ e.lateral === -1 ? (Vu(i, e.level, e.levelCoord), Vu(r, e.level, [t])) : Vu(r[e.level], e.lateral, t), this.stackCnts[Li(t)] = e.stackCnt;
13797
13797
  }
13798
13798
  /*
13799
13799
  does not care about limits
@@ -13812,7 +13812,7 @@ class gv {
13812
13812
  y.span.start < t.span.end;
13813
13813
  ) {
13814
13814
  let b = m + this.getEntryThickness(y);
13815
- b > a && (a = b, d = y, s = g, c = u), b === a && (f = Math.max(f, o[Pi(y)] + 1)), u += 1;
13815
+ b > a && (a = b, d = y, s = g, c = u), b === a && (f = Math.max(f, o[Li(y)] + 1)), u += 1;
13816
13816
  }
13817
13817
  }
13818
13818
  let h = 0;
@@ -13844,7 +13844,7 @@ class gv {
13844
13844
  function Fc(n) {
13845
13845
  return n.span.end;
13846
13846
  }
13847
- function Pi(n) {
13847
+ function Li(n) {
13848
13848
  return n.index + ":" + n.span.start;
13849
13849
  }
13850
13850
  function nA(n) {
@@ -14118,7 +14118,7 @@ class xv {
14118
14118
  );
14119
14119
  }
14120
14120
  _sliceBusinessHours(t, e, r, i, ...o) {
14121
- return t ? this._sliceEventStore(Vi(t, ma(e, !!r), i), {}, e, r, ...o).bg : [];
14121
+ return t ? this._sliceEventStore(Ui(t, ma(e, !!r), i), {}, e, r, ...o).bg : [];
14122
14122
  }
14123
14123
  _sliceEventStore(t, e, r, i, ...o) {
14124
14124
  if (t) {
@@ -14253,7 +14253,7 @@ function _v(n, t, e, r, i) {
14253
14253
  return !0;
14254
14254
  }
14255
14255
  function pA(n, t, e, r, i) {
14256
- return n === "businessHours" ? Uu(Vi(r, t, i)) : typeof n == "string" ? Uu(qs(e, (o) => o.groupId === n)) : typeof n == "object" && n ? Uu(Vi(n, t, i)) : [];
14256
+ return n === "businessHours" ? Uu(Ui(r, t, i)) : typeof n == "string" ? Uu(qs(e, (o) => o.groupId === n)) : typeof n == "object" && n ? Uu(Ui(n, t, i)) : [];
14257
14257
  }
14258
14258
  function Uu(n) {
14259
14259
  let { instances: t } = n, e = [];
@@ -14941,7 +14941,7 @@ function Lv(n, t, e) {
14941
14941
  }
14942
14942
  function gr(n) {
14943
14943
  return {
14944
- id: Yi(),
14944
+ id: Ki(),
14945
14945
  name: n.name,
14946
14946
  premiumReleaseDate: n.premiumReleaseDate ? new Date(n.premiumReleaseDate) : void 0,
14947
14947
  deps: n.deps || [],
@@ -15255,10 +15255,10 @@ function jv(n, t, e, r) {
15255
15255
  return e && (i = $v(i, e, r)), Object.assign(Object.assign({}, n), i);
15256
15256
  }
15257
15257
  function oC(n, t) {
15258
- return qi(n, (e) => e.sourceId !== t);
15258
+ return Vi(n, (e) => e.sourceId !== t);
15259
15259
  }
15260
15260
  function $v(n, t, e) {
15261
- return bf(n, qi(n, (r) => lC(r, t, e)), t, !1, e);
15261
+ return bf(n, Vi(n, (r) => lC(r, t, e)), t, !1, e);
15262
15262
  }
15263
15263
  function lC(n, t, e) {
15264
15264
  return Hv(n, e) ? !e.options.lazyFetching || !n.fetchRange || n.isFetching || // always cancel outdated in-progress fetches
@@ -15273,7 +15273,7 @@ function bf(n, t, e, r, i) {
15273
15273
  return o;
15274
15274
  }
15275
15275
  function aC(n, t, e, r) {
15276
- let { options: i, calendarApi: o } = r, l = r.pluginHooks.eventSourceDefs[n.sourceDefId], a = Yi();
15276
+ let { options: i, calendarApi: o } = r, l = r.pluginHooks.eventSourceDefs[n.sourceDefId], a = Ki();
15277
15277
  return l.fetch({
15278
15278
  eventSource: n,
15279
15279
  range: t,
@@ -15305,7 +15305,7 @@ function sC(n, t, e, r) {
15305
15305
  e === i.latestFetchId ? Object.assign(Object.assign({}, n), { [t]: Object.assign(Object.assign({}, i), { isFetching: !1, fetchRange: r }) }) : n;
15306
15306
  }
15307
15307
  function Fv(n, t) {
15308
- return qi(n, (e) => Hv(e, t));
15308
+ return Vi(n, (e) => Hv(e, t));
15309
15309
  }
15310
15310
  function uC(n, t) {
15311
15311
  let e = rv(t), r = [].concat(n.eventSources || []), i = [];
@@ -15594,7 +15594,7 @@ function OC(n, t) {
15594
15594
  }
15595
15595
  function RC(n, t) {
15596
15596
  let { emitter: e } = t;
15597
- e.hasHandlers("eventsSet") && e.trigger("eventsSet", Bi(n, t));
15597
+ e.hasHandlers("eventsSet") && e.trigger("eventsSet", Pi(n, t));
15598
15598
  }
15599
15599
  const MC = [
15600
15600
  yC,
@@ -15779,7 +15779,7 @@ class PC {
15779
15779
  e
15780
15780
  ]), h = {}, p = this.currentCalendarOptionsInput, g = this.currentCalendarOptionsRefined, m = !1;
15781
15781
  for (let v in f)
15782
- this.optionsForRefining.indexOf(v) === -1 && (f[v] === p[v] || ki[v] && v in p && ki[v](p[v], f[v])) ? h[v] = g[v] : c[v] ? (h[v] = c[v](f[v]), m = !0) : d[v] = p[v];
15782
+ this.optionsForRefining.indexOf(v) === -1 && (f[v] === p[v] || Ai[v] && v in p && Ai[v](p[v], f[v])) ? h[v] = g[v] : c[v] ? (h[v] = c[v](f[v]), m = !0) : d[v] = p[v];
15783
15783
  return m && (this.currentCalendarOptionsInput = f, this.currentCalendarOptionsRefined = h, this.stableOptionOverrides = t, this.stableDynamicOptionOverrides = e), this.optionsForHandling.push(...this.optionsForRefining), this.optionsForRefining = [], {
15784
15784
  rawOptions: this.currentCalendarOptionsInput,
15785
15785
  refinedOptions: this.currentCalendarOptionsRefined,
@@ -15827,7 +15827,7 @@ class PC {
15827
15827
  o
15828
15828
  ]), a = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, rp), ip), op), E_), e.listenerRefiners), e.optionRefiners), s = {}, c = this.currentViewOptionsInput, d = this.currentViewOptionsRefined, f = !1, h = {};
15829
15829
  for (let p in l)
15830
- l[p] === c[p] || ki[p] && ki[p](l[p], c[p]) ? s[p] = d[p] : (l[p] === this.currentCalendarOptionsInput[p] || ki[p] && ki[p](l[p], this.currentCalendarOptionsInput[p]) ? p in this.currentCalendarOptionsRefined && (s[p] = this.currentCalendarOptionsRefined[p]) : a[p] ? s[p] = a[p](l[p]) : h[p] = l[p], f = !0);
15830
+ l[p] === c[p] || Ai[p] && Ai[p](l[p], c[p]) ? s[p] = d[p] : (l[p] === this.currentCalendarOptionsInput[p] || Ai[p] && Ai[p](l[p], this.currentCalendarOptionsInput[p]) ? p in this.currentCalendarOptionsRefined && (s[p] = this.currentCalendarOptionsRefined[p]) : a[p] ? s[p] = a[p](l[p]) : h[p] = l[p], f = !0);
15831
15831
  return f && (this.currentViewOptionsInput = l, this.currentViewOptionsRefined = s), {
15832
15832
  rawOptions: this.currentViewOptionsInput,
15833
15833
  refinedOptions: this.currentViewOptionsRefined,
@@ -16032,7 +16032,7 @@ class YC extends Oo {
16032
16032
  });
16033
16033
  }
16034
16034
  }
16035
- class KC extends Ki {
16035
+ class KC extends Qi {
16036
16036
  constructor() {
16037
16037
  super(...arguments), this.buildViewContext = ot(B_), this.buildViewPropTransformers = ot(ZC), this.buildToolbarProps = ot(QC), this.headerRef = bn(), this.footerRef = bn(), this.interactionsStore = {}, this.state = {
16038
16038
  viewLabelId: Br()
@@ -16657,7 +16657,7 @@ class yT extends gv {
16657
16657
  super(...arguments), this.hiddenConsumes = !1, this.forceHidden = {};
16658
16658
  }
16659
16659
  addSegs(t) {
16660
- const e = super.addSegs(t), { entriesByLevel: r } = this, i = (o) => !this.forceHidden[Pi(o)];
16660
+ const e = super.addSegs(t), { entriesByLevel: r } = this, i = (o) => !this.forceHidden[Li(o)];
16661
16661
  for (let o = 0; o < r.length; o += 1)
16662
16662
  r[o] = r[o].filter(i);
16663
16663
  return e;
@@ -16665,10 +16665,10 @@ class yT extends gv {
16665
16665
  handleInvalidInsertion(t, e, r) {
16666
16666
  const { entriesByLevel: i, forceHidden: o } = this, { touchingEntry: l, touchingLevel: a, touchingLateral: s } = t;
16667
16667
  if (this.hiddenConsumes && l) {
16668
- const c = Pi(l);
16668
+ const c = Li(l);
16669
16669
  if (!o[c])
16670
16670
  if (this.allowReslicing) {
16671
- const d = Object.assign(Object.assign({}, l), { span: ff(l.span, e.span) }), f = Pi(d);
16671
+ const d = Object.assign(Object.assign({}, l), { span: ff(l.span, e.span) }), f = Li(d);
16672
16672
  o[f] = !0, i[a][s] = d, r.push(d), this.splitEntry(l, e, r);
16673
16673
  } else
16674
16674
  o[c] = !0, r.push(l);
@@ -17684,7 +17684,7 @@ class ql extends Oo {
17684
17684
  let w = {
17685
17685
  oldEvent: p,
17686
17686
  event: y,
17687
- relatedEvents: Bi(m, a, h),
17687
+ relatedEvents: Pi(m, a, h),
17688
17688
  revert() {
17689
17689
  a.dispatch({
17690
17690
  type: "MERGE_EVENTS",
@@ -17699,7 +17699,7 @@ class ql extends Oo {
17699
17699
  } else if (c) {
17700
17700
  let y = {
17701
17701
  event: p,
17702
- relatedEvents: Bi(g, a, h),
17702
+ relatedEvents: Pi(g, a, h),
17703
17703
  revert() {
17704
17704
  a.dispatch({
17705
17705
  type: "MERGE_EVENTS",
@@ -17718,7 +17718,7 @@ class ql extends Oo {
17718
17718
  });
17719
17719
  let E = {
17720
17720
  event: b,
17721
- relatedEvents: Bi(m, c, u),
17721
+ relatedEvents: Pi(m, c, u),
17722
17722
  revert() {
17723
17723
  c.dispatch({
17724
17724
  type: "REMOVE_EVENTS",
@@ -17823,7 +17823,7 @@ class qT extends Oo {
17823
17823
  let p = {
17824
17824
  oldEvent: c,
17825
17825
  event: h,
17826
- relatedEvents: Bi(f, l, s),
17826
+ relatedEvents: Pi(f, l, s),
17827
17827
  revert() {
17828
17828
  l.dispatch({
17829
17829
  type: "MERGE_EVENTS",
@@ -18380,7 +18380,7 @@ function h2(n, t, e) {
18380
18380
  return null;
18381
18381
  }
18382
18382
  function p2(n, t) {
18383
- const e = wf((r, i, o) => Pi(r), (r, i, o) => {
18383
+ const e = wf((r, i, o) => Li(r), (r, i, o) => {
18384
18384
  let { nextLevelNodes: l, thickness: a } = r, s = a + o, c = a / s, d, f = [];
18385
18385
  if (!l.length)
18386
18386
  d = t;
@@ -18400,7 +18400,7 @@ function p2(n, t) {
18400
18400
  }
18401
18401
  function m2(n) {
18402
18402
  let t = [];
18403
- const e = wf((i, o, l) => Pi(i), (i, o, l) => {
18403
+ const e = wf((i, o, l) => Li(i), (i, o, l) => {
18404
18404
  let a = Object.assign(Object.assign({}, i), {
18405
18405
  levelCoord: o,
18406
18406
  stackDepth: l,
@@ -19305,7 +19305,7 @@ const iD = /* @__PURE__ */ Ee({
19305
19305
  "remove"
19306
19306
  ],
19307
19307
  setup(n, { emit: t }) {
19308
- const e = t, r = ne(null), i = n, o = L(() => i.locale ? i.locale : Hi().locale), l = L(() => ({
19308
+ const e = t, r = ne(null), i = n, o = L(() => i.locale ? i.locale : qi().locale), l = L(() => ({
19309
19309
  plugins: [
19310
19310
  AT,
19311
19311
  I2,
@@ -19553,7 +19553,7 @@ function uD(n, t, e, r, i, o) {
19553
19553
  Ne(n.$slots, "default")
19554
19554
  ], 2);
19555
19555
  }
19556
- const cy = /* @__PURE__ */ Gi(sD, [["render", uD]]), Mo = /* @__PURE__ */ Ee({
19556
+ const cy = /* @__PURE__ */ Yi(sD, [["render", uD]]), Mo = /* @__PURE__ */ Ee({
19557
19557
  __name: "BaseCounter",
19558
19558
  props: {
19559
19559
  count: {
@@ -22189,10 +22189,10 @@ function QD(n) {
22189
22189
  }
22190
22190
  typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t());
22191
22191
  }
22192
- let Di = [];
22192
+ let Oi = [];
22193
22193
  QD(() => {
22194
22194
  function n(t) {
22195
- t.target instanceof HTMLElement && t.target !== document.body && Di[0] !== t.target && (Di.unshift(t.target), Di = Di.filter((e) => e != null && e.isConnected), Di.splice(10));
22195
+ t.target instanceof HTMLElement && t.target !== document.body && Oi[0] !== t.target && (Oi.unshift(t.target), Oi = Oi.filter((e) => e != null && e.isConnected), Oi.splice(10));
22196
22196
  }
22197
22197
  window.addEventListener("click", n, { capture: !0 }), window.addEventListener("mousedown", n, { capture: !0 }), window.addEventListener("focus", n, { capture: !0 }), document.body.addEventListener("click", n, { capture: !0 }), document.body.addEventListener("mousedown", n, { capture: !0 }), document.body.addEventListener("focus", n, { capture: !0 });
22198
22198
  });
@@ -22364,11 +22364,11 @@ let Xo = Object.assign(Ee({ name: "FocusTrap", props: { as: { type: [Object, Str
22364
22364
  };
22365
22365
  } }), { features: ky });
22366
22366
  function eO(n) {
22367
- let t = ne(Di.slice());
22367
+ let t = ne(Oi.slice());
22368
22368
  return lt([n], ([e], [r]) => {
22369
22369
  r === !0 && e === !1 ? kf(() => {
22370
22370
  t.value.splice(0);
22371
- }) : r === !1 && e === !0 && (t.value = Di.slice());
22371
+ }) : r === !1 && e === !0 && (t.value = Oi.slice());
22372
22372
  }, { flush: "post" }), () => {
22373
22373
  var e;
22374
22374
  return (e = t.value.find((r) => r != null && r.isConnected)) != null ? e : null;
@@ -22518,7 +22518,7 @@ function uO(n) {
22518
22518
  Object.assign(t, e(t));
22519
22519
  return t;
22520
22520
  }
22521
- let Mi = oO(() => /* @__PURE__ */ new Map(), { PUSH(n, t) {
22521
+ let Ii = oO(() => /* @__PURE__ */ new Map(), { PUSH(n, t) {
22522
22522
  var e;
22523
22523
  let r = (e = this.get(n)) != null ? e : { doc: n, count: 0, d: Wl(), meta: /* @__PURE__ */ new Set() };
22524
22524
  return r.count++, r.meta.add(t), this.set(n, r), this;
@@ -22533,27 +22533,27 @@ let Mi = oO(() => /* @__PURE__ */ new Map(), { PUSH(n, t) {
22533
22533
  }, TEARDOWN({ doc: n }) {
22534
22534
  this.delete(n);
22535
22535
  } });
22536
- Mi.subscribe(() => {
22537
- let n = Mi.getSnapshot(), t = /* @__PURE__ */ new Map();
22536
+ Ii.subscribe(() => {
22537
+ let n = Ii.getSnapshot(), t = /* @__PURE__ */ new Map();
22538
22538
  for (let [e] of n)
22539
22539
  t.set(e, e.documentElement.style.overflow);
22540
22540
  for (let e of n.values()) {
22541
22541
  let r = t.get(e.doc) === "hidden", i = e.count !== 0;
22542
- (i && !r || !i && r) && Mi.dispatch(e.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", e), e.count === 0 && Mi.dispatch("TEARDOWN", e);
22542
+ (i && !r || !i && r) && Ii.dispatch(e.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", e), e.count === 0 && Ii.dispatch("TEARDOWN", e);
22543
22543
  }
22544
22544
  });
22545
22545
  function cO(n, t, e) {
22546
- let r = iO(Mi), i = L(() => {
22546
+ let r = iO(Ii), i = L(() => {
22547
22547
  let o = n.value ? r.value.get(n.value) : void 0;
22548
22548
  return o ? o.count > 0 : !1;
22549
22549
  });
22550
22550
  return lt([n, t], ([o, l], [a], s) => {
22551
22551
  if (!o || !l)
22552
22552
  return;
22553
- Mi.dispatch("PUSH", o, e);
22553
+ Ii.dispatch("PUSH", o, e);
22554
22554
  let c = !1;
22555
22555
  s(() => {
22556
- c || (Mi.dispatch("POP", a ?? o, e), c = !0);
22556
+ c || (Ii.dispatch("POP", a ?? o, e), c = !0);
22557
22557
  });
22558
22558
  }, { immediate: !0 }), i;
22559
22559
  }
@@ -23412,7 +23412,7 @@ function Pp(n, t, e, r, i, o) {
23412
23412
  Ea(n, ...e), Zu(n, ...r), l.add(jO(n, (s) => (Ea(n, ...r, ...t), Zu(n, ...i), a(s))));
23413
23413
  }), l.add(() => Ea(n, ...t, ...e, ...r, ...i)), l.add(() => a("cancelled")), l.dispose;
23414
23414
  }
23415
- function xi(n = "") {
23415
+ function Ei(n = "") {
23416
23416
  return n.split(/\s+/).filter((t) => t.length > 1);
23417
23417
  }
23418
23418
  let Tf = Symbol("TransitionContext");
@@ -23486,7 +23486,7 @@ let Uy = kr.RenderStrategy, Va = Ee({ props: { as: { type: [Object, String], def
23486
23486
  wn(v.value, { hidden: () => m(w), visible: () => g(w) });
23487
23487
  }
23488
23488
  });
23489
- let E = xi(n.enter), _ = xi(n.enterFrom), A = xi(n.enterTo), x = xi(n.entered), T = xi(n.leave), k = xi(n.leaveFrom), S = xi(n.leaveTo);
23489
+ let E = Ei(n.enter), _ = Ei(n.enterFrom), A = Ei(n.enterTo), x = Ei(n.entered), T = Ei(n.leave), k = Ei(n.leaveFrom), S = Ei(n.leaveTo);
23490
23490
  gt(() => {
23491
23491
  un(() => {
23492
23492
  if (v.value === "visible") {
@@ -24306,7 +24306,7 @@ const UO = { class: "grow" }, WO = {
24306
24306
  "fetch"
24307
24307
  ],
24308
24308
  setup(n, { expose: t, emit: e }) {
24309
- const r = n, i = Ft.http, o = e, l = ne(null), a = ne(!1), s = pm(), c = pd(), d = s.name, f = Wi(r.size);
24309
+ const r = n, i = Ft.http, o = e, l = ne(null), a = ne(!1), s = pm(), c = pd(), d = s.name, f = Gi(r.size);
24310
24310
  let h = !1;
24311
24311
  Hn(() => {
24312
24312
  h = !0;
@@ -24613,10 +24613,10 @@ const UO = { class: "grow" }, WO = {
24613
24613
  }, 1032, ["section", "model-value"]))), 128))
24614
24614
  ], 512));
24615
24615
  }
24616
- }), Qi = Os("notifications", {
24616
+ }), vi = Os("notifications", {
24617
24617
  state: () => ({
24618
24618
  count: 0,
24619
- notifications: [],
24619
+ snackbars: [],
24620
24620
  timeouts: {}
24621
24621
  }),
24622
24622
  actions: {
@@ -24629,23 +24629,23 @@ const UO = { class: "grow" }, WO = {
24629
24629
  text: n.text,
24630
24630
  duration: n.duration ?? 3e3
24631
24631
  };
24632
- this.notifications.push(e), this.timeouts[t] = setTimeout(() => {
24632
+ this.snackbars.push(e), this.timeouts[t] = setTimeout(() => {
24633
24633
  this.remove(e);
24634
24634
  }, e.duration);
24635
24635
  },
24636
24636
  remove(n) {
24637
- this.notifications.splice(
24638
- this.notifications.findIndex((t) => t.id === n.id),
24637
+ this.snackbars.splice(
24638
+ this.snackbars.findIndex((t) => t.id === n.id),
24639
24639
  1
24640
24640
  ), clearTimeout(this.timeouts[n.id]);
24641
24641
  },
24642
24642
  clear() {
24643
- this.notifications = [], Object.values(this.timeouts).forEach((n) => {
24643
+ this.snackbars = [], Object.values(this.timeouts).forEach((n) => {
24644
24644
  clearTimeout(n);
24645
24645
  }), this.timeouts = [];
24646
24646
  }
24647
24647
  }
24648
- }), Qy = Ee({
24648
+ }), g4 = vi, Qy = Ee({
24649
24649
  name: "BaseTableColumn",
24650
24650
  props: {
24651
24651
  label: {
@@ -24803,7 +24803,7 @@ const UO = { class: "grow" }, WO = {
24803
24803
  function IR(n, t) {
24804
24804
  return B(), K("svg", OR, MR);
24805
24805
  }
24806
- const Zy = /* @__PURE__ */ Gi(DR, [["render", IR]]), NR = ["disabled"], BR = /* @__PURE__ */ Ee({
24806
+ const Zy = /* @__PURE__ */ Yi(DR, [["render", IR]]), NR = ["disabled"], BR = /* @__PURE__ */ Ee({
24807
24807
  __name: "BaseDataTableRowAction",
24808
24808
  props: {
24809
24809
  row: {},
@@ -24902,7 +24902,7 @@ const Zy = /* @__PURE__ */ Gi(DR, [["render", IR]]), NR = ["disabled"], BR = /*
24902
24902
  function FR(n, t, e, r, i, o) {
24903
24903
  return B(), K("svg", zR, $R);
24904
24904
  }
24905
- const Xy = /* @__PURE__ */ Gi(LR, [["render", FR]]), HR = { class: "flex flex-col" }, qR = { class: "inline-block min-w-full align-middle" }, VR = { class: "relative min-h-[300px]" }, UR = { class: "min-w-full border-separate border-spacing-0" }, WR = { class: "flex items-center" }, GR = ["checked", "disabled"], YR = ["onClick"], KR = {
24905
+ const Xy = /* @__PURE__ */ Yi(LR, [["render", FR]]), HR = { class: "flex flex-col" }, qR = { class: "inline-block min-w-full align-middle" }, VR = { class: "relative min-h-[300px]" }, UR = { class: "min-w-full border-separate border-spacing-0" }, WR = { class: "flex items-center" }, GR = ["checked", "disabled"], YR = ["onClick"], KR = {
24906
24906
  viewBox: "0 0 20 20",
24907
24907
  class: "absolute top-1/2 h-5 w-5 -translate-y-1/2"
24908
24908
  }, QR = ["opacity"], ZR = ["opacity"], XR = ["checked", "disabled"], JR = { class: "bg-white" }, eM = { class: "item-row" }, tM = ["onClick"], nM = {
@@ -25640,7 +25640,7 @@ const Xy = /* @__PURE__ */ Gi(LR, [["render", FR]]), HR = { class: "flex flex-co
25640
25640
  "fetch"
25641
25641
  ],
25642
25642
  setup(n, { expose: t, emit: e }) {
25643
- const r = pd(), i = Ft.http, o = Id(), l = Qi(), a = ne(null), s = n, c = Wi(s.size), d = L(() => c.size.value == "md" ? "sm" : (c.size.value == "sm", "xs")), f = e, h = ne(null);
25643
+ const r = pd(), i = Ft.http, o = Id(), l = vi(), a = ne(null), s = n, c = Gi(s.size), d = L(() => c.size.value == "md" ? "sm" : (c.size.value == "sm", "xs")), f = e, h = ne(null);
25644
25644
  function p(I) {
25645
25645
  s.showUrl && r.push(s.showUrl(I)), f("cell-click", I);
25646
25646
  }
@@ -26222,7 +26222,7 @@ var tc = function() {
26222
26222
  y: function(n, t) {
26223
26223
  n.setFullYear(2e3 + parseFloat(t));
26224
26224
  }
26225
- }, Oi = {
26225
+ }, Ri = {
26226
26226
  D: "",
26227
26227
  F: "",
26228
26228
  G: "(\\d\\d|\\d)",
@@ -26344,8 +26344,8 @@ var tc = function() {
26344
26344
  else {
26345
26345
  for (var g = void 0, m = [], v = 0, y = 0, w = ""; v < h.length; v++) {
26346
26346
  var u = h[v], b = u === "\\", E = h[v - 1] === "\\" || b;
26347
- if (Oi[u] && !E) {
26348
- w += Oi[u];
26347
+ if (Ri[u] && !E) {
26348
+ w += Ri[u];
26349
26349
  var _ = new RegExp(w).exec(o);
26350
26350
  _ && (g = !0) && m[u !== "Y" ? "push" : "unshift"]({
26351
26351
  fn: TM[u],
@@ -27057,7 +27057,7 @@ function IM(n, t) {
27057
27057
  return e.config.wrap ? n.querySelector("[data-input]") : n;
27058
27058
  }
27059
27059
  function he() {
27060
- typeof e.config.locale != "object" && typeof an.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = kn(kn({}, an.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? an.l10ns[e.config.locale] : void 0), Oi.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", Oi.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", Oi.M = "(" + e.l10n.months.shorthand.join("|") + ")", Oi.F = "(" + e.l10n.months.longhand.join("|") + ")", Oi.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
27060
+ typeof e.config.locale != "object" && typeof an.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = kn(kn({}, an.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? an.l10ns[e.config.locale] : void 0), Ri.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", Ri.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", Ri.M = "(" + e.l10n.months.shorthand.join("|") + ")", Ri.F = "(" + e.l10n.months.longhand.join("|") + ")", Ri.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
27061
27061
  var U = kn(kn({}, t), JSON.parse(JSON.stringify(n.dataset || {})));
27062
27062
  U.time_24hr === void 0 && an.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = eb(e), e.parseDate = ed({ config: e.config, l10n: e.l10n });
27063
27063
  }
@@ -27079,11 +27079,11 @@ function IM(n, t) {
27079
27079
  else if (!No)
27080
27080
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = Tr + "px";
27081
27081
  else {
27082
- var vi = ye();
27083
- if (vi === void 0)
27082
+ var yi = ye();
27083
+ if (yi === void 0)
27084
27084
  return;
27085
- var cn = window.document.body.offsetWidth, Bo = Math.max(0, cn / 2 - Ae / 2), Po = ".flatpickr-calendar.centerMost:before", Lo = ".flatpickr-calendar.centerMost:after", zo = vi.cssRules.length, jo = "{left:" + Xe.left + "px;right:auto;}";
27086
- Mn(e.calendarContainer, "rightMost", !1), Mn(e.calendarContainer, "centerMost", !0), vi.insertRule(Po + "," + Lo + jo, zo), e.calendarContainer.style.left = Bo + "px", e.calendarContainer.style.right = "auto";
27085
+ var cn = window.document.body.offsetWidth, Bo = Math.max(0, cn / 2 - Ae / 2), Po = ".flatpickr-calendar.centerMost:before", Lo = ".flatpickr-calendar.centerMost:after", zo = yi.cssRules.length, jo = "{left:" + Xe.left + "px;right:auto;}";
27086
+ Mn(e.calendarContainer, "rightMost", !1), Mn(e.calendarContainer, "centerMost", !0), yi.insertRule(Po + "," + Lo + jo, zo), e.calendarContainer.style.left = Bo + "px", e.calendarContainer.style.right = "auto";
27087
27087
  }
27088
27088
  }
27089
27089
  }
@@ -27541,7 +27541,7 @@ const PM = ["disabled", "placeholder"], LM = /* @__PURE__ */ Ee({
27541
27541
  function h(x) {
27542
27542
  return f(d(x));
27543
27543
  }
27544
- const p = L(() => Hi().locale == "fr" ? NM.French : BM.english), g = ne(null);
27544
+ const p = L(() => qi().locale == "fr" ? NM.French : BM.english), g = ne(null);
27545
27545
  let m = null;
27546
27546
  const v = L(() => ({
27547
27547
  enableTime: e.enableTime,
@@ -28120,7 +28120,7 @@ const PM = ["disabled", "placeholder"], LM = /* @__PURE__ */ Ee({
28120
28120
  size: L(() => e.size),
28121
28121
  hasError: L(() => e.hasError),
28122
28122
  emit: r
28123
- }), s = Jr(e.maxYear, e.minYear), c = i0.months("short", { locale: Hi().locale }), d = L(() => {
28123
+ }), s = Jr(e.maxYear, e.minYear), c = i0.months("short", { locale: qi().locale }), d = L(() => {
28124
28124
  if (!f.value.year)
28125
28125
  return [];
28126
28126
  if (!f.value.month)
@@ -28165,7 +28165,7 @@ const PM = ["disabled", "placeholder"], LM = /* @__PURE__ */ Ee({
28165
28165
  C(a) === "md" ? "gap-1" : ""
28166
28166
  ]])
28167
28167
  }, [
28168
- be(Ni, {
28168
+ be(Bi, {
28169
28169
  modelValue: C(f).year,
28170
28170
  "onUpdate:modelValue": [
28171
28171
  y[0] || (y[0] = (w) => C(f).year = w),
@@ -28186,7 +28186,7 @@ const PM = ["disabled", "placeholder"], LM = /* @__PURE__ */ Ee({
28186
28186
  ]),
28187
28187
  _: 1
28188
28188
  }, 8, ["modelValue", "disabled", "required", "has-error", "placeholder", "size"]),
28189
- be(Ni, {
28189
+ be(Bi, {
28190
28190
  modelValue: C(f).month,
28191
28191
  "onUpdate:modelValue": [
28192
28192
  y[2] || (y[2] = (w) => C(f).month = w),
@@ -28208,7 +28208,7 @@ const PM = ["disabled", "placeholder"], LM = /* @__PURE__ */ Ee({
28208
28208
  ]),
28209
28209
  _: 1
28210
28210
  }, 8, ["modelValue", "disabled", "required", "has-error", "placeholder", "size"]),
28211
- be(Ni, {
28211
+ be(Bi, {
28212
28212
  modelValue: C(f).day,
28213
28213
  "onUpdate:modelValue": [
28214
28214
  y[4] || (y[4] = (w) => C(f).day = w),
@@ -29708,7 +29708,7 @@ const uI = /* @__PURE__ */ Do(sI), cI = { class: "text-xs text-slate-600" }, nb
29708
29708
  }
29709
29709
  },
29710
29710
  setup(n) {
29711
- const t = n, e = ne(), r = L(() => t.tooltip ? Jt.fromISO(t.value).setLocale(Hi().locale).toLocaleString(Jt.DATETIME_MED) : null), i = ne(Jt.now().toSeconds());
29711
+ const t = n, e = ne(), r = L(() => t.tooltip ? Jt.fromISO(t.value).setLocale(qi().locale).toLocaleString(Jt.DATETIME_MED) : null), i = ne(Jt.now().toSeconds());
29712
29712
  function o(f) {
29713
29713
  return Math.abs(f / 6e4);
29714
29714
  }
@@ -29726,7 +29726,7 @@ const uI = /* @__PURE__ */ Do(sI), cI = { class: "text-xs text-slate-600" }, nb
29726
29726
  i.value = Jt.now().toSeconds();
29727
29727
  }, s), d = L(() => {
29728
29728
  const f = l(), h = uI(f, {
29729
- language: Hi().locale,
29729
+ language: qi().locale,
29730
29730
  round: !0,
29731
29731
  largest: 1
29732
29732
  });
@@ -29842,7 +29842,7 @@ const uI = /* @__PURE__ */ Do(sI), cI = { class: "text-xs text-slate-600" }, nb
29842
29842
  "scrollBottom"
29843
29843
  ],
29844
29844
  setup(n, { expose: t, emit: e }) {
29845
- const r = Qi(), i = n, o = e, { hasErrorInternal: l, emitUpdate: a, sizeInternal: s } = Dn({
29845
+ const r = vi(), i = n, o = e, { hasErrorInternal: l, emitUpdate: a, sizeInternal: s } = Dn({
29846
29846
  name: L(() => i.name),
29847
29847
  required: L(() => i.required),
29848
29848
  size: L(() => i.size),
@@ -30491,7 +30491,7 @@ const kI = ["disabled"], AI = ["accept", "multiple"], If = /* @__PURE__ */ Ee({
30491
30491
  },
30492
30492
  emits: ["select"],
30493
30493
  setup(n, { emit: t }) {
30494
- const e = n, r = t, i = Qi(), o = ne(!1), l = ne(!1), a = ne();
30494
+ const e = n, r = t, i = vi(), o = ne(!1), l = ne(!1), a = ne();
30495
30495
  async function s() {
30496
30496
  var p;
30497
30497
  e.disabled || (p = a.value) == null || p.click();
@@ -30589,7 +30589,7 @@ const kI = ["disabled"], AI = ["accept", "multiple"], If = /* @__PURE__ */ Ee({
30589
30589
  null
30590
30590
  ), i = t, o = ne(!1), l = ne("");
30591
30591
  let a = "";
30592
- const s = L(() => l.value ? Li(e.cropper) ? {
30592
+ const s = L(() => l.value ? zi(e.cropper) ? {
30593
30593
  ...e.cropper,
30594
30594
  source: l.value
30595
30595
  } : {
@@ -30757,7 +30757,7 @@ const kI = ["disabled"], AI = ["accept", "multiple"], If = /* @__PURE__ */ Ee({
30757
30757
  "end"
30758
30758
  ],
30759
30759
  setup(n, { emit: t }) {
30760
- const e = Ft.http, r = Qi(), i = n, o = t, l = L(() => i.component == "BaseFilePickerCrop" ? rb : If), a = L(() => {
30760
+ const e = Ft.http, r = vi(), i = n, o = t, l = L(() => i.component == "BaseFilePickerCrop" ? rb : If), a = L(() => {
30761
30761
  const f = {
30762
30762
  disabled: i.disabled || i.loading || s.value,
30763
30763
  twButton: i.twButton,
@@ -30855,13 +30855,13 @@ function ob(n, t) {
30855
30855
  function MI(n, t) {
30856
30856
  return ob(n, t) && typeof n.name == "string" && (xs(n.lastModifiedDate) || typeof n.lastModified == "number");
30857
30857
  }
30858
- function Ei(n) {
30858
+ function Si(n) {
30859
30859
  return Bf(n) ? !1 : n;
30860
30860
  }
30861
30861
  function rd(n, t, e, r) {
30862
- t = t || {}, e = e || new FormData(), t.indices = Ei(t.indices), t.nullsAsUndefineds = Ei(t.nullsAsUndefineds), t.booleansAsIntegers = Ei(t.booleansAsIntegers), t.allowEmptyArrays = Ei(t.allowEmptyArrays), t.noAttributesWithArrayNotation = Ei(
30862
+ t = t || {}, e = e || new FormData(), t.indices = Si(t.indices), t.nullsAsUndefineds = Si(t.nullsAsUndefineds), t.booleansAsIntegers = Si(t.booleansAsIntegers), t.allowEmptyArrays = Si(t.allowEmptyArrays), t.noAttributesWithArrayNotation = Si(
30863
30863
  t.noAttributesWithArrayNotation
30864
- ), t.noFilesWithArrayNotation = Ei(t.noFilesWithArrayNotation), t.dotsForObjectNotation = Ei(t.dotsForObjectNotation);
30864
+ ), t.noFilesWithArrayNotation = Si(t.noFilesWithArrayNotation), t.dotsForObjectNotation = Si(t.dotsForObjectNotation);
30865
30865
  const i = typeof e.getParts == "function";
30866
30866
  return Bf(n) || (DI(n) ? t.nullsAsUndefineds || e.append(r, "") : OI(n) ? t.booleansAsIntegers ? e.append(r, n ? 1 : 0) : e.append(r, n) : $p(n) ? n.length ? n.forEach((o, l) => {
30867
30867
  let a = r + "[" + (t.indices ? l : "") + "]";
@@ -30945,7 +30945,7 @@ const NI = { class: "absolute z-[1] inset-0 flex h-full w-full items-center just
30945
30945
  },
30946
30946
  emits: ["error", "success"],
30947
30947
  setup(n, { expose: t, emit: e }) {
30948
- const r = Qi(), i = n, o = e, l = ne(null), a = ne(!1), s = ne({}), c = L(() => i.axiosInstance ? i.axiosInstance : Ft.http), d = L(() => l.value), f = L(() => Object.keys(s.value).length > 0), h = L(() => {
30948
+ const r = vi(), i = n, o = e, l = ne(null), a = ne(!1), s = ne({}), c = L(() => i.axiosInstance ? i.axiosInstance : Ft.http), d = L(() => l.value), f = L(() => Object.keys(s.value).length > 0), h = L(() => {
30949
30949
  if (!f.value)
30950
30950
  return null;
30951
30951
  const x = Object.keys(s.value);
@@ -31687,7 +31687,7 @@ const jI = ["onClick"], $I = { class: "px-2 flex items-center" }, FI = { class:
31687
31687
  const i = [];
31688
31688
  return t.size == "sm" ? i.push("h-4 w-4") : t.size == "lg" ? i.push("h-6 w-6") : i.push("h-5 w-5"), i;
31689
31689
  });
31690
- return (i, o) => (B(), De(zi, {
31690
+ return (i, o) => (B(), De(ji, {
31691
31691
  item: i.item,
31692
31692
  class: de([C(e), "flex items-center justify-center"])
31693
31693
  }, {
@@ -32593,7 +32593,7 @@ var GN = ["evt"], zn = function(t, e) {
32593
32593
  parentEl: Xt,
32594
32594
  ghostEl: yt,
32595
32595
  rootEl: Wt,
32596
- nextEl: Ci,
32596
+ nextEl: Ti,
32597
32597
  lastDownEl: Ga,
32598
32598
  cloneEl: Qt,
32599
32599
  cloneHidden: ti,
@@ -32634,7 +32634,7 @@ function In(n) {
32634
32634
  newDraggableIndex: ei
32635
32635
  }, n));
32636
32636
  }
32637
- var He, Xt, yt, Wt, Ci, Ga, Qt, ti, so, Gn, yl, ei, Ca, vn, lo = !1, Ss = !1, _s = [], Si, cr, ac, sc, Wp, Gp, rl, io, bl, wl = !1, Ta = !1, Ya, _n, uc = [], od = !1, ks = [], tu = typeof document < "u", Da = lb, Yp = Yl || Kr ? "cssFloat" : "float", YN = tu && !ab && !lb && "draggable" in document.createElement("div"), pb = function() {
32637
+ var He, Xt, yt, Wt, Ti, Ga, Qt, ti, so, Gn, yl, ei, Ca, vn, lo = !1, Ss = !1, _s = [], _i, cr, ac, sc, Wp, Gp, rl, io, bl, wl = !1, Ta = !1, Ya, _n, uc = [], od = !1, ks = [], tu = typeof document < "u", Da = lb, Yp = Yl || Kr ? "cssFloat" : "float", YN = tu && !ab && !lb && "draggable" in document.createElement("div"), pb = function() {
32638
32638
  if (tu) {
32639
32639
  if (Kr)
32640
32640
  return !1;
@@ -32694,7 +32694,7 @@ tu && !ab && document.addEventListener("click", function(n) {
32694
32694
  if (Ss)
32695
32695
  return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), Ss = !1, !1;
32696
32696
  }, !0);
32697
- var _i = function(t) {
32697
+ var ki = function(t) {
32698
32698
  if (He) {
32699
32699
  t = t.touches ? t.touches[0] : t;
32700
32700
  var e = QN(t.clientX, t.clientY);
@@ -32816,11 +32816,11 @@ ht.prototype = /** @lends Sortable.prototype */
32816
32816
  var i = this, o = i.el, l = i.options, a = o.ownerDocument, s;
32817
32817
  if (r && !He && r.parentNode === o) {
32818
32818
  var c = ln(r);
32819
- if (Wt = o, He = r, Xt = He.parentNode, Ci = He.nextSibling, Ga = r, Ca = l.group, ht.dragged = He, Si = {
32819
+ if (Wt = o, He = r, Xt = He.parentNode, Ti = He.nextSibling, Ga = r, Ca = l.group, ht.dragged = He, _i = {
32820
32820
  target: He,
32821
32821
  clientX: (e || t).clientX,
32822
32822
  clientY: (e || t).clientY
32823
- }, Wp = Si.clientX - c.left, Gp = Si.clientY - c.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, He.style["will-change"] = "all", s = function() {
32823
+ }, Wp = _i.clientX - c.left, Gp = _i.clientY - c.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, He.style["will-change"] = "all", s = function() {
32824
32824
  if (zn("delayEnded", i, {
32825
32825
  evt: t
32826
32826
  }), ht.eventCanceled) {
@@ -32834,7 +32834,7 @@ ht.prototype = /** @lends Sortable.prototype */
32834
32834
  }), Wn(He, l.chosenClass, !0);
32835
32835
  }, l.ignore.split(",").forEach(function(d) {
32836
32836
  ub(He, d.trim(), cc);
32837
- }), Rt(a, "dragover", _i), Rt(a, "mousemove", _i), Rt(a, "touchmove", _i), Rt(a, "mouseup", i._onDrop), Rt(a, "touchend", i._onDrop), Rt(a, "touchcancel", i._onDrop), Hp && this.nativeDraggable && (this.options.touchStartThreshold = 4, He.draggable = !0), zn("delayStart", this, {
32837
+ }), Rt(a, "dragover", ki), Rt(a, "mousemove", ki), Rt(a, "touchmove", ki), Rt(a, "mouseup", i._onDrop), Rt(a, "touchend", i._onDrop), Rt(a, "touchcancel", i._onDrop), Hp && this.nativeDraggable && (this.options.touchStartThreshold = 4, He.draggable = !0), zn("delayStart", this, {
32838
32838
  evt: t
32839
32839
  }), l.delay && (!l.delayOnTouchOnly || e) && (!this.nativeDraggable || !(Yl || Kr))) {
32840
32840
  if (ht.eventCanceled) {
@@ -32903,8 +32903,8 @@ ht.prototype = /** @lends Sortable.prototype */
32903
32903
  }
32904
32904
  },
32905
32905
  _onTouchMove: function(t) {
32906
- if (Si) {
32907
- var e = this.options, r = e.fallbackTolerance, i = e.fallbackOffset, o = t.touches ? t.touches[0] : t, l = yt && bo(yt, !0), a = yt && l && l.a, s = yt && l && l.d, c = Da && _n && Up(_n), d = (o.clientX - Si.clientX + i.x) / (a || 1) + (c ? c[0] - uc[0] : 0) / (a || 1), f = (o.clientY - Si.clientY + i.y) / (s || 1) + (c ? c[1] - uc[1] : 0) / (s || 1);
32906
+ if (_i) {
32907
+ var e = this.options, r = e.fallbackTolerance, i = e.fallbackOffset, o = t.touches ? t.touches[0] : t, l = yt && bo(yt, !0), a = yt && l && l.a, s = yt && l && l.d, c = Da && _n && Up(_n), d = (o.clientX - _i.clientX + i.x) / (a || 1) + (c ? c[0] - uc[0] : 0) / (a || 1), f = (o.clientY - _i.clientY + i.y) / (s || 1) + (c ? c[1] - uc[1] : 0) / (s || 1);
32908
32908
  if (!ht.active && !lo) {
32909
32909
  if (r && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < r)
32910
32910
  return;
@@ -32982,7 +32982,7 @@ ht.prototype = /** @lends Sortable.prototype */
32982
32982
  insertion: pe
32983
32983
  }), pe && (d ? c._hideClone() : c._showClone(g), g !== h && (Wn(He, vn ? vn.options.ghostClass : c.options.ghostClass, !1), Wn(He, a.ghostClass, !0)), vn !== g && g !== ht.active ? vn = g : g === ht.active && vn && (vn = null), h === g && (g._ignoreWhileAnimating = r), g.animateAll(function() {
32984
32984
  v("dragOverAnimationComplete"), g._ignoreWhileAnimating = null;
32985
- }), g !== h && (h.animateAll(), h._ignoreWhileAnimating = null)), (r === He && !He.animated || r === e && !r.animated) && (io = null), !a.dragoverBubble && !t.rootEl && r !== document && (He.parentNode[Yn]._isOutsideThisEl(t.target), !pe && _i(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), m = !0;
32985
+ }), g !== h && (h.animateAll(), h._ignoreWhileAnimating = null)), (r === He && !He.animated || r === e && !r.animated) && (io = null), !a.dragoverBubble && !t.rootEl && r !== document && (He.parentNode[Yn]._isOutsideThisEl(t.target), !pe && ki(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), m = !0;
32986
32986
  }
32987
32987
  function u() {
32988
32988
  Gn = rr(He), ei = rr(He, a.draggable), In({
@@ -33002,7 +33002,7 @@ ht.prototype = /** @lends Sortable.prototype */
33002
33002
  if (p = this._getDirection(t, r) === "vertical", i = ln(He), v("dragOverValid"), ht.eventCanceled)
33003
33003
  return m;
33004
33004
  if (l)
33005
- return Xt = Wt, y(), this._hideClone(), v("revert"), ht.eventCanceled || (Ci ? Wt.insertBefore(He, Ci) : Wt.appendChild(He)), w(!0);
33005
+ return Xt = Wt, y(), this._hideClone(), v("revert"), ht.eventCanceled || (Ti ? Wt.insertBefore(He, Ti) : Wt.appendChild(He)), w(!0);
33006
33006
  var b = Lf(e, a.draggable);
33007
33007
  if (!b || tB(t, p, this) && !b.animated) {
33008
33008
  if (b === He)
@@ -33042,7 +33042,7 @@ ht.prototype = /** @lends Sortable.prototype */
33042
33042
  },
33043
33043
  _ignoreWhileAnimating: null,
33044
33044
  _offMoveEvents: function() {
33045
- Tt(document, "mousemove", this._onTouchMove), Tt(document, "touchmove", this._onTouchMove), Tt(document, "pointermove", this._onTouchMove), Tt(document, "dragover", _i), Tt(document, "mousemove", _i), Tt(document, "touchmove", _i);
33045
+ Tt(document, "mousemove", this._onTouchMove), Tt(document, "touchmove", this._onTouchMove), Tt(document, "pointermove", this._onTouchMove), Tt(document, "dragover", ki), Tt(document, "mousemove", ki), Tt(document, "touchmove", ki);
33046
33046
  },
33047
33047
  _offUpEvents: function() {
33048
33048
  var t = this.el.ownerDocument;
@@ -33103,7 +33103,7 @@ ht.prototype = /** @lends Sortable.prototype */
33103
33103
  }), this.save()))), this._nulling();
33104
33104
  },
33105
33105
  _nulling: function() {
33106
- zn("nulling", this), Wt = He = Xt = yt = Ci = Qt = Ga = ti = Si = cr = rl = Gn = ei = so = yl = io = bl = vn = Ca = ht.dragged = ht.ghost = ht.clone = ht.active = null, ks.forEach(function(t) {
33106
+ zn("nulling", this), Wt = He = Xt = yt = Ti = Qt = Ga = ti = _i = cr = rl = Gn = ei = so = yl = io = bl = vn = Ca = ht.dragged = ht.ghost = ht.clone = ht.active = null, ks.forEach(function(t) {
33107
33107
  t.checked = !0;
33108
33108
  }), ks.length = ac = sc = 0;
33109
33109
  },
@@ -33198,7 +33198,7 @@ ht.prototype = /** @lends Sortable.prototype */
33198
33198
  if (ti) {
33199
33199
  if (zn("showClone", this), ht.eventCanceled)
33200
33200
  return;
33201
- He.parentNode == Wt && !this.options.group.revertClone ? Wt.insertBefore(Qt, He) : Ci ? Wt.insertBefore(Qt, Ci) : Wt.appendChild(Qt), this.options.group.revertClone && this.animate(He, Qt), ft(Qt, "display", ""), ti = !1;
33201
+ He.parentNode == Wt && !this.options.group.revertClone ? Wt.insertBefore(Qt, He) : Ti ? Wt.insertBefore(Qt, Ti) : Wt.appendChild(Qt), this.options.group.revertClone && this.animate(He, Qt), ft(Qt, "display", ""), ti = !1;
33202
33202
  }
33203
33203
  }
33204
33204
  };
@@ -34037,7 +34037,7 @@ const $f = /* @__PURE__ */ Ee({
34037
34037
  "end"
34038
34038
  ],
34039
34039
  setup(n, { emit: t }) {
34040
- const e = Id(), r = Qi(), i = n, o = t, { emitUpdate: l, enableForm: a, disableForm: s } = Dn({
34040
+ const e = Id(), r = vi(), i = n, o = t, { emitUpdate: l, enableForm: a, disableForm: s } = Dn({
34041
34041
  name: L(() => i.name),
34042
34042
  required: L(() => !1),
34043
34043
  hasError: L(() => i.hasError),
@@ -34399,7 +34399,7 @@ const $f = /* @__PURE__ */ Ee({
34399
34399
  e.twDropdown
34400
34400
  ));
34401
34401
  return (c, d) => (B(), K("div", KB, [
34402
- be(zi, {
34402
+ be(ji, {
34403
34403
  item: n.item,
34404
34404
  class: "flex w-full",
34405
34405
  onClick: l
@@ -34430,7 +34430,7 @@ const $f = /* @__PURE__ */ Ee({
34430
34430
  return B(), K("div", {
34431
34431
  key: f.label
34432
34432
  }, [
34433
- (h = f.meta) != null && h.line ? (B(), K("div", ZB)) : (B(), De(zi, {
34433
+ (h = f.meta) != null && h.line ? (B(), K("div", ZB)) : (B(), De(ji, {
34434
34434
  key: 1,
34435
34435
  item: f
34436
34436
  }, {
@@ -34551,7 +34551,7 @@ const $f = /* @__PURE__ */ Ee({
34551
34551
  return (c, d) => {
34552
34552
  var f;
34553
34553
  return B(), K("div", null, [
34554
- (f = n.item.meta) != null && f.line ? _e("", !0) : (B(), De(zi, {
34554
+ (f = n.item.meta) != null && f.line ? _e("", !0) : (B(), De(ji, {
34555
34555
  key: 0,
34556
34556
  item: n.item,
34557
34557
  class: "flex w-full",
@@ -34573,7 +34573,7 @@ const $f = /* @__PURE__ */ Ee({
34573
34573
  (B(!0), K(et, null, ct(n.item.actions, (h) => (B(), K("div", {
34574
34574
  key: h.label
34575
34575
  }, [
34576
- be(zi, {
34576
+ be(ji, {
34577
34577
  item: h,
34578
34578
  class: de(C(s))
34579
34579
  }, {
@@ -34627,7 +34627,7 @@ function aP(n, t, e, r, i, o) {
34627
34627
  ])
34628
34628
  ], 2);
34629
34629
  }
34630
- const sP = /* @__PURE__ */ Gi(nP, [["render", aP]]), uP = /* @__PURE__ */ Ee({
34630
+ const sP = /* @__PURE__ */ Yi(nP, [["render", aP]]), uP = /* @__PURE__ */ Ee({
34631
34631
  __name: "BasePassword",
34632
34632
  props: {
34633
34633
  modelValue: {
@@ -34771,7 +34771,7 @@ function mP(n, t, e, r, i, o) {
34771
34771
  }, Oe(Math.round(n.progress * 100)) + "% ", 13, pP)
34772
34772
  ], 8, dP);
34773
34773
  }
34774
- const gP = /* @__PURE__ */ Gi(cP, [["render", mP]]), vP = { class: "space-y-3" }, yP = ["for"], bP = ["id", "name", "checked", "required", "disabled", "value", "onInput"], wP = { class: "text-sm" }, xP = /* @__PURE__ */ Ee({
34774
+ const gP = /* @__PURE__ */ Yi(cP, [["render", mP]]), vP = { class: "space-y-3" }, yP = ["for"], bP = ["id", "name", "checked", "required", "disabled", "value", "onInput"], wP = { class: "text-sm" }, xP = /* @__PURE__ */ Ee({
34775
34775
  __name: "BaseRadioGroup",
34776
34776
  props: {
34777
34777
  modelValue: {
@@ -42686,11 +42686,11 @@ Cs.exports;
42686
42686
  function No(O) {
42687
42687
  return Xi(this.__data__, O) > -1;
42688
42688
  }
42689
- function vi(O, W) {
42689
+ function yi(O, W) {
42690
42690
  var ce = this.__data__, Re = Xi(ce, O);
42691
42691
  return Re < 0 ? ce.push([O, W]) : ce[Re][1] = W, this;
42692
42692
  }
42693
- Nt.prototype.clear = pn, Nt.prototype.delete = Tr, Nt.prototype.get = vr, Nt.prototype.has = No, Nt.prototype.set = vi;
42693
+ Nt.prototype.clear = pn, Nt.prototype.delete = Tr, Nt.prototype.get = vr, Nt.prototype.has = No, Nt.prototype.set = yi;
42694
42694
  function cn(O) {
42695
42695
  var W = -1, ce = O ? O.length : 0;
42696
42696
  for (this.clear(); ++W < ce; ) {
@@ -42706,16 +42706,16 @@ Cs.exports;
42706
42706
  };
42707
42707
  }
42708
42708
  function Po(O) {
42709
- return bi(this, O).delete(O);
42709
+ return wi(this, O).delete(O);
42710
42710
  }
42711
42711
  function Lo(O) {
42712
- return bi(this, O).get(O);
42712
+ return wi(this, O).get(O);
42713
42713
  }
42714
42714
  function zo(O) {
42715
- return bi(this, O).has(O);
42715
+ return wi(this, O).has(O);
42716
42716
  }
42717
42717
  function jo(O, W) {
42718
- return bi(this, O).set(O, W), this;
42718
+ return wi(this, O).set(O, W), this;
42719
42719
  }
42720
42720
  cn.prototype.clear = Bo, cn.prototype.delete = Po, cn.prototype.get = Lo, cn.prototype.has = zo, cn.prototype.set = jo;
42721
42721
  function xn(O) {
@@ -42832,7 +42832,7 @@ Cs.exports;
42832
42832
  var W = new O.constructor(O.byteLength);
42833
42833
  return new q(W).set(new q(O)), W;
42834
42834
  }
42835
- function yi(O, W) {
42835
+ function bi(O, W) {
42836
42836
  var ce = W ? Ho(O.buffer) : O.buffer;
42837
42837
  return new O.constructor(ce, O.byteOffset, O.byteLength);
42838
42838
  }
@@ -42875,7 +42875,7 @@ Cs.exports;
42875
42875
  function vu(O) {
42876
42876
  return su(O, Wo, Dr);
42877
42877
  }
42878
- function bi(O, W) {
42878
+ function wi(O, W) {
42879
42879
  var ce = O.__data__;
42880
42880
  return xu(W) ? ce[typeof W == "string" ? "string" : "hash"] : ce.map;
42881
42881
  }
@@ -42917,7 +42917,7 @@ Cs.exports;
42917
42917
  case s:
42918
42918
  return new vt(+O);
42919
42919
  case _:
42920
- return yi(O, Re);
42920
+ return bi(O, Re);
42921
42921
  case A:
42922
42922
  case x:
42923
42923
  case T:
@@ -43104,11 +43104,11 @@ Ts.exports;
43104
43104
  var W = this.__data__;
43105
43105
  return je ? W[O] !== void 0 : ae.call(W, O);
43106
43106
  }
43107
- function vi(O, W) {
43107
+ function yi(O, W) {
43108
43108
  var ce = this.__data__;
43109
43109
  return this.size += this.has(O) ? 0 : 1, ce[O] = je && W === void 0 ? r : W, this;
43110
43110
  }
43111
- Nt.prototype.clear = pn, Nt.prototype.delete = Tr, Nt.prototype.get = vr, Nt.prototype.has = No, Nt.prototype.set = vi;
43111
+ Nt.prototype.clear = pn, Nt.prototype.delete = Tr, Nt.prototype.get = vr, Nt.prototype.has = No, Nt.prototype.set = yi;
43112
43112
  function cn(O) {
43113
43113
  var W = -1, ce = O == null ? 0 : O.length;
43114
43114
  for (this.clear(); ++W < ce; ) {
@@ -43227,11 +43227,11 @@ Ts.exports;
43227
43227
  var Re = W(O);
43228
43228
  return eo(O) ? Re : rt(Re, ce(O));
43229
43229
  }
43230
- function yi(O) {
43230
+ function bi(O) {
43231
43231
  return O == null ? O === void 0 ? T : y : Be && Be in Object(O) ? Or(O) : ea(O);
43232
43232
  }
43233
43233
  function Xl(O) {
43234
- return wr(O) && yi(O) == a;
43234
+ return wr(O) && bi(O) == a;
43235
43235
  }
43236
43236
  function Jl(O, W, ce, Re, vt) {
43237
43237
  return O === W ? !0 : O == null || W == null || !wr(O) && !wr(W) ? O !== O && W !== W : fu(O, W, ce, Re, Jl, vt);
@@ -43263,7 +43263,7 @@ Ts.exports;
43263
43263
  return W.test(Rn(O));
43264
43264
  }
43265
43265
  function pu(O) {
43266
- return wr(O) && Uo(O.length) && !!te[yi(O)];
43266
+ return wr(O) && Uo(O.length) && !!te[bi(O)];
43267
43267
  }
43268
43268
  function mu(O) {
43269
43269
  if (!Eu(O))
@@ -43292,9 +43292,9 @@ Ts.exports;
43292
43292
  break;
43293
43293
  }
43294
43294
  if (sn) {
43295
- if (!Ce(W, function(Rr, wi) {
43296
- if (!ye(sn, wi) && (Sn === Rr || vt(Sn, Rr, ce, Re, nt)))
43297
- return sn.push(wi);
43295
+ if (!Ce(W, function(Rr, xi) {
43296
+ if (!ye(sn, xi) && (Sn === Rr || vt(Sn, Rr, ce, Re, nt)))
43297
+ return sn.push(xi);
43298
43298
  })) {
43299
43299
  Ln = !1;
43300
43300
  break;
@@ -43342,7 +43342,7 @@ Ts.exports;
43342
43342
  return !1;
43343
43343
  }
43344
43344
  function vu(O, W, ce, Re, vt, nt) {
43345
- var kt = ce & i, Ct = bi(O), rn = Ct.length, It = bi(W), En = It.length;
43345
+ var kt = ce & i, Ct = wi(O), rn = Ct.length, It = wi(W), En = It.length;
43346
43346
  if (rn != En && !kt)
43347
43347
  return !1;
43348
43348
  for (var Ln = rn; Ln--; ) {
@@ -43357,10 +43357,10 @@ Ts.exports;
43357
43357
  nt.set(O, W), nt.set(W, O);
43358
43358
  for (var Qr = kt; ++Ln < rn; ) {
43359
43359
  sn = Ct[Ln];
43360
- var Rr = O[sn], wi = W[sn];
43360
+ var Rr = O[sn], xi = W[sn];
43361
43361
  if (Re)
43362
- var Uf = kt ? Re(wi, Rr, sn, W, O, nt) : Re(Rr, wi, sn, O, W, nt);
43363
- if (!(Uf === void 0 ? Rr === wi || vt(Rr, wi, ce, Re, nt) : Uf)) {
43362
+ var Uf = kt ? Re(xi, Rr, sn, W, O, nt) : Re(Rr, xi, sn, O, W, nt);
43363
+ if (!(Uf === void 0 ? Rr === xi || vt(Rr, xi, ce, Re, nt) : Uf)) {
43364
43364
  mn = !1;
43365
43365
  break;
43366
43366
  }
@@ -43372,7 +43372,7 @@ Ts.exports;
43372
43372
  }
43373
43373
  return nt.delete(O), nt.delete(W), mn;
43374
43374
  }
43375
- function bi(O) {
43375
+ function wi(O) {
43376
43376
  return Ho(O, Wo, yu);
43377
43377
  }
43378
43378
  function ar(O, W) {
@@ -43397,9 +43397,9 @@ Ts.exports;
43397
43397
  return O == null ? [] : (O = Object(O), $e(Ge(O), function(W) {
43398
43398
  return Le.call(O, W);
43399
43399
  }));
43400
- } : _u, br = yi;
43400
+ } : _u, br = bi;
43401
43401
  (Mt && br(new Mt(new ArrayBuffer(1))) != D || U && br(new U()) != m || Q && br(Q.resolve()) != u || fe && br(new fe()) != _ || Ae && br(new Ae()) != k) && (br = function(O) {
43402
- var W = yi(O), ce = W == w ? O.constructor : void 0, Re = ce ? Rn(ce) : "";
43402
+ var W = bi(O), ce = W == w ? O.constructor : void 0, Re = ce ? Rn(ce) : "";
43403
43403
  if (Re)
43404
43404
  switch (Re) {
43405
43405
  case Ve:
@@ -43463,7 +43463,7 @@ Ts.exports;
43463
43463
  function ra(O) {
43464
43464
  if (!ia(O))
43465
43465
  return !1;
43466
- var W = yi(O);
43466
+ var W = bi(O);
43467
43467
  return W == p || W == g || W == c || W == b;
43468
43468
  }
43469
43469
  function Uo(O) {
@@ -44165,7 +44165,7 @@ const Jp = {
44165
44165
  }), r = L(() => "h-4 w-4");
44166
44166
  return (i, o) => (B(), De(Ll, { class: "flex duration-200 hover:bg-slate-50" }, {
44167
44167
  default: ge(() => [
44168
- be(zi, {
44168
+ be(ji, {
44169
44169
  item: {
44170
44170
  to: n.to,
44171
44171
  href: n.href,
@@ -44373,7 +44373,7 @@ function o5(n, t, e, r, i, o) {
44373
44373
  ])
44374
44374
  ], 2);
44375
44375
  }
44376
- const l5 = /* @__PURE__ */ Gi(JP, [["render", o5]]), a5 = /* @__PURE__ */ j("span", {
44376
+ const l5 = /* @__PURE__ */ Yi(JP, [["render", o5]]), a5 = /* @__PURE__ */ j("span", {
44377
44377
  class: "absolute top-0 left-0 h-full w-1 bg-transparent group-hover:bg-slate-200 lg:bottom-0 lg:top-auto lg:h-1 lg:w-full",
44378
44378
  "aria-hidden": "true"
44379
44379
  }, null, -1), s5 = { class: "flex-shrink-0" }, u5 = { class: "flex h-10 w-10 items-center justify-center rounded-full bg-indigo-600" }, c5 = { class: "mt-0.5 ml-4 flex min-w-0 flex-col items-start" }, d5 = { class: "mb-0.5 text-left text-sm font-medium leading-tight" }, f5 = {
@@ -46157,12 +46157,12 @@ const H5 = ["align", "colspan"], q5 = /* @__PURE__ */ Ee({
46157
46157
  }
46158
46158
  }), nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
46159
46159
  __proto__: null,
46160
- BaseActionItem: zi,
46160
+ BaseActionItem: ji,
46161
46161
  BaseAddressForm: Rx,
46162
46162
  BaseAlert: vd,
46163
46163
  BaseApp: tE,
46164
46164
  BaseAppDialogs: sg,
46165
- BaseAppNotifications: ug,
46165
+ BaseAppSnackbars: ug,
46166
46166
  BaseAutocomplete: js,
46167
46167
  BaseAutocompleteFetch: zd,
46168
46168
  BaseAvatar: Al,
@@ -46232,7 +46232,7 @@ const H5 = ["align", "colspan"], q5 = /* @__PURE__ */ Ee({
46232
46232
  BaseRadioGroup: xP,
46233
46233
  BaseReadMore: SP,
46234
46234
  BaseRichText: jP,
46235
- BaseSelect: Ni,
46235
+ BaseSelect: Bi,
46236
46236
  BaseShortcut: UP,
46237
46237
  BaseSideNavigation: QP,
46238
46238
  BaseSideNavigationItem: XP,
@@ -46261,10 +46261,10 @@ const H5 = ["align", "colspan"], q5 = /* @__PURE__ */ Ee({
46261
46261
  BaseTooltip: Pl,
46262
46262
  BaseUniqueCode: v3
46263
46263
  }, Symbol.toStringTag, { value: "Module" }));
46264
- const t4 = 100, g4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
46264
+ const t4 = 100, v4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
46265
46265
  __proto__: null,
46266
46266
  MAGIC_NUM: t4
46267
- }, Symbol.toStringTag, { value: "Module" })), v4 = { en: rg, fr: ig }, Ft = {
46267
+ }, Symbol.toStringTag, { value: "Module" })), y4 = { en: rg, fr: ig }, Ft = {
46268
46268
  http: Yb.create(),
46269
46269
  locales: {
46270
46270
  en: "English",
@@ -46296,19 +46296,19 @@ function n4(n, t) {
46296
46296
  t != null && t.http && (Ft.http = t.http), t != null && t.locales && (Ft.locales = t.locales), t != null && t.upload_url && (Ft.upload_url = t.upload_url), t != null && t.formatQueryString && (Ft.formatQueryString = t.formatQueryString), t != null && t.parseQueryString && (Ft.parseQueryString = t.parseQueryString), t != null && t.countries && (Ft.countries = t.countries), t != null && t.regions && (Ft.regions = t.regions), t != null && t.props && (Ft.props = t.props), n.config.globalProperties.$i18n && lt(
46297
46297
  () => n.config.globalProperties.$i18n.locale,
46298
46298
  (e) => {
46299
- Hi().set(e);
46299
+ qi().set(e);
46300
46300
  },
46301
46301
  { immediate: !0 }
46302
46302
  );
46303
46303
  }
46304
- const y4 = { install: n4 };
46304
+ const b4 = { install: n4 };
46305
46305
  export {
46306
- zi as BaseActionItem,
46306
+ ji as BaseActionItem,
46307
46307
  Rx as BaseAddressForm,
46308
46308
  vd as BaseAlert,
46309
46309
  tE as BaseApp,
46310
46310
  sg as BaseAppDialogs,
46311
- ug as BaseAppNotifications,
46311
+ ug as BaseAppSnackbars,
46312
46312
  js as BaseAutocomplete,
46313
46313
  zd as BaseAutocompleteFetch,
46314
46314
  Al as BaseAvatar,
@@ -46378,7 +46378,7 @@ export {
46378
46378
  xP as BaseRadioGroup,
46379
46379
  SP as BaseReadMore,
46380
46380
  jP as BaseRichText,
46381
- Ni as BaseSelect,
46381
+ Bi as BaseSelect,
46382
46382
  UP as BaseShortcut,
46383
46383
  QP as BaseSideNavigation,
46384
46384
  XP as BaseSideNavigationItem,
@@ -46406,21 +46406,22 @@ export {
46406
46406
  Pb as BaseTimelineItem,
46407
46407
  Pl as BaseTooltip,
46408
46408
  v3 as BaseUniqueCode,
46409
- g4 as MyConstants,
46409
+ v4 as MyConstants,
46410
46410
  p4 as base64ToBlob,
46411
46411
  pD as blobToBase64,
46412
46412
  Ft as config,
46413
- y4 as default,
46413
+ b4 as default,
46414
46414
  Nd as disableScroll,
46415
46415
  Bd as enableScroll,
46416
46416
  Ks as fileSizeFormat,
46417
- v4 as messages,
46417
+ y4 as messages,
46418
46418
  hD as resizeImageFromURI,
46419
46419
  fD as toHumanList,
46420
46420
  cg as useClickOutside,
46421
46421
  Id as useDialogsStore,
46422
46422
  Dn as useField,
46423
- Qi as useNotificationsStore,
46423
+ g4 as useNotificationsStore,
46424
+ vi as useSnackbarsStore,
46424
46425
  Lb as useSystemAlertStore,
46425
46426
  mD as validateBase64
46426
46427
  };