vuiii 1.0.0-beta.72 → 1.0.0-beta.74

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 (28) hide show
  1. package/dist/{arrow-narrow-down-DjY9LioV.js → arrow-narrow-down-D-dXFwnw.js} +1 -1
  2. package/dist/{arrow-narrow-left-D7eMhX7e.js → arrow-narrow-left-BylCdD3z.js} +1 -1
  3. package/dist/{arrow-narrow-right-CSfW2plS.js → arrow-narrow-right-Ck1DmWA8.js} +1 -1
  4. package/dist/{arrow-narrow-up-B8BXRnWa.js → arrow-narrow-up-CzyrtamJ.js} +1 -1
  5. package/dist/{arrow-up-tray-B4vcRgwx.js → arrow-up-tray-BBcwq_vX.js} +1 -1
  6. package/dist/{caret-sort-CQGMgNuY.js → caret-sort-9dvmtPvz.js} +1 -1
  7. package/dist/{check-C4zdKExM.js → check-BIUQWm0H.js} +1 -1
  8. package/dist/{chevron-down-CKjpyxTM.js → chevron-down-CGyjwJ1z.js} +1 -1
  9. package/dist/{chevron-left-BzidL1Dd.js → chevron-left-Cc7e5Qz_.js} +1 -1
  10. package/dist/{chevron-right-NrqwEvOt.js → chevron-right-BAv4TvXx.js} +1 -1
  11. package/dist/{chevron-up-Cte5OhZ7.js → chevron-up-Bpjeupsw.js} +1 -1
  12. package/dist/{exclamation-iETaN6ps.js → exclamation-DVuuxRj9.js} +1 -1
  13. package/dist/{index-DfjABSiV.js → index-B8PoXje8.js} +222 -225
  14. package/dist/{mail-bOL2LGlu.js → mail-Di6Pa26s.js} +1 -1
  15. package/dist/{minus-4Vhq_q6k.js → minus-Bv6pCIq8.js} +1 -1
  16. package/dist/{pencil-CezqoD59.js → pencil-B9Lck9w2.js} +1 -1
  17. package/dist/{plus-1eOX1D_D.js → plus-dUhsJpjk.js} +1 -1
  18. package/dist/{search-D2Ae1rjX.js → search-33LAVL16.js} +1 -1
  19. package/dist/{spinner-n6aKvWCE.js → spinner-Dx38tNMJ.js} +1 -1
  20. package/dist/{trash-CpUw_JOD.js → trash-SZoih-b9.js} +1 -1
  21. package/dist/{triangle-down-txokMSPH.js → triangle-down-CEjTXqnM.js} +1 -1
  22. package/dist/{triangle-left-C8yQI6CT.js → triangle-left-DgyPAhL5.js} +1 -1
  23. package/dist/{triangle-right-Y2Zz-X68.js → triangle-right-Br-Qe-II.js} +1 -1
  24. package/dist/{triangle-up-Bf0ef138.js → triangle-up-UVQiGkcY.js} +1 -1
  25. package/dist/vuiii.css +1 -1
  26. package/dist/vuiii.js +1 -1
  27. package/dist/{x-UNFKueVO.js → x-eIjCzak5.js} +1 -1
  28. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, ref as V, watch as ye, createElementBlock as v, openBlock as d, createCommentVNode as O, Fragment as H, renderList as Y, normalizeClass as j, renderSlot as w, mergeProps as q, createElementVNode as B, createTextVNode as re, toDisplayString as A, defineAsyncComponent as go, shallowRef as yo, createBlock as L, resolveDynamicComponent as Ie, useAttrs as Xe, useSlots as Ye, computed as k, unref as S, withModifiers as it, withCtx as P, useCssVars as $o, Transition as Nt, onUnmounted as Gt, onMounted as Le, mergeModels as Q, useModel as ne, createSlots as Qe, createVNode as U, nextTick as ko, resolveComponent as Ht, normalizeProps as lt, guardReactiveProps as ut, markRaw as _o, normalizeStyle as He, onBeforeUnmount as wo, Teleport as Ut, TransitionGroup as Xt } from "vue";
1
+ import { defineComponent as z, ref as V, watch as ye, createElementBlock as v, openBlock as p, createCommentVNode as O, Fragment as H, renderList as X, normalizeClass as j, renderSlot as w, mergeProps as q, createElementVNode as B, createTextVNode as re, toDisplayString as A, defineAsyncComponent as go, shallowRef as yo, createBlock as x, resolveDynamicComponent as Ie, useAttrs as Xe, useSlots as Ye, computed as k, unref as S, withModifiers as it, withCtx as P, useCssVars as $o, Transition as Nt, onUnmounted as Gt, onMounted as Le, mergeModels as Q, useModel as ne, createSlots as Qe, createVNode as Y, nextTick as ko, resolveComponent as Ht, normalizeProps as lt, guardReactiveProps as ut, markRaw as _o, normalizeStyle as He, onBeforeUnmount as wo, Teleport as Ut, TransitionGroup as Xt } from "vue";
2
2
  import { useRouter as Yt, useRoute as Co } from "vue-router";
3
3
  const Io = { class: "DropdownMenu" }, Oo = {
4
4
  key: 0,
@@ -20,9 +20,9 @@ const Io = { class: "DropdownMenu" }, Oo = {
20
20
  behavior: "smooth"
21
21
  });
22
22
  }
23
- ), (l, c) => (d(), v("div", Io, [
24
- e.items?.length ? (d(), v("ul", Oo, [
25
- (d(!0), v(H, null, Y(e.items, (a, s) => (d(), v("li", {
23
+ ), (l, c) => (p(), v("div", Io, [
24
+ e.items?.length ? (p(), v("ul", Oo, [
25
+ (p(!0), v(H, null, X(e.items, (a, s) => (p(), v("li", {
26
26
  key: s,
27
27
  class: j(["DropdownMenu__item", { "DropdownMenu__item--withCursor": e.cursorIndex === s }]),
28
28
  ref_for: !0,
@@ -45,7 +45,7 @@ const Io = { class: "DropdownMenu" }, Oo = {
45
45
  ])) : O("", !0)
46
46
  ]));
47
47
  }
48
- }), Mt = /* @__PURE__ */ Object.assign({ "../icons/arrow-narrow-down.vue": () => import("./arrow-narrow-down-DjY9LioV.js"), "../icons/arrow-narrow-left.vue": () => import("./arrow-narrow-left-D7eMhX7e.js"), "../icons/arrow-narrow-right.vue": () => import("./arrow-narrow-right-CSfW2plS.js"), "../icons/arrow-narrow-up.vue": () => import("./arrow-narrow-up-B8BXRnWa.js"), "../icons/arrow-up-tray.vue": () => import("./arrow-up-tray-B4vcRgwx.js"), "../icons/caret-sort.vue": () => import("./caret-sort-CQGMgNuY.js"), "../icons/check.vue": () => import("./check-C4zdKExM.js"), "../icons/chevron-down.vue": () => import("./chevron-down-CKjpyxTM.js"), "../icons/chevron-left.vue": () => import("./chevron-left-BzidL1Dd.js"), "../icons/chevron-right.vue": () => import("./chevron-right-NrqwEvOt.js"), "../icons/chevron-up.vue": () => import("./chevron-up-Cte5OhZ7.js"), "../icons/exclamation.vue": () => import("./exclamation-iETaN6ps.js"), "../icons/mail.vue": () => import("./mail-bOL2LGlu.js"), "../icons/minus.vue": () => import("./minus-4Vhq_q6k.js"), "../icons/pencil.vue": () => import("./pencil-CezqoD59.js"), "../icons/plus.vue": () => import("./plus-1eOX1D_D.js"), "../icons/search.vue": () => import("./search-D2Ae1rjX.js"), "../icons/spinner.vue": () => import("./spinner-n6aKvWCE.js"), "../icons/trash.vue": () => import("./trash-CpUw_JOD.js"), "../icons/triangle-down.vue": () => import("./triangle-down-txokMSPH.js"), "../icons/triangle-left.vue": () => import("./triangle-left-C8yQI6CT.js"), "../icons/triangle-right.vue": () => import("./triangle-right-Y2Zz-X68.js"), "../icons/triangle-up.vue": () => import("./triangle-up-Bf0ef138.js"), "../icons/x.vue": () => import("./x-UNFKueVO.js") });
48
+ }), Mt = /* @__PURE__ */ Object.assign({ "../icons/arrow-narrow-down.vue": () => import("./arrow-narrow-down-D-dXFwnw.js"), "../icons/arrow-narrow-left.vue": () => import("./arrow-narrow-left-BylCdD3z.js"), "../icons/arrow-narrow-right.vue": () => import("./arrow-narrow-right-Ck1DmWA8.js"), "../icons/arrow-narrow-up.vue": () => import("./arrow-narrow-up-CzyrtamJ.js"), "../icons/arrow-up-tray.vue": () => import("./arrow-up-tray-BBcwq_vX.js"), "../icons/caret-sort.vue": () => import("./caret-sort-9dvmtPvz.js"), "../icons/check.vue": () => import("./check-BIUQWm0H.js"), "../icons/chevron-down.vue": () => import("./chevron-down-CGyjwJ1z.js"), "../icons/chevron-left.vue": () => import("./chevron-left-Cc7e5Qz_.js"), "../icons/chevron-right.vue": () => import("./chevron-right-BAv4TvXx.js"), "../icons/chevron-up.vue": () => import("./chevron-up-Bpjeupsw.js"), "../icons/exclamation.vue": () => import("./exclamation-DVuuxRj9.js"), "../icons/mail.vue": () => import("./mail-Di6Pa26s.js"), "../icons/minus.vue": () => import("./minus-Bv6pCIq8.js"), "../icons/pencil.vue": () => import("./pencil-B9Lck9w2.js"), "../icons/plus.vue": () => import("./plus-dUhsJpjk.js"), "../icons/search.vue": () => import("./search-33LAVL16.js"), "../icons/spinner.vue": () => import("./spinner-Dx38tNMJ.js"), "../icons/trash.vue": () => import("./trash-SZoih-b9.js"), "../icons/triangle-down.vue": () => import("./triangle-down-CEjTXqnM.js"), "../icons/triangle-left.vue": () => import("./triangle-left-DgyPAhL5.js"), "../icons/triangle-right.vue": () => import("./triangle-right-Br-Qe-II.js"), "../icons/triangle-up.vue": () => import("./triangle-up-UVQiGkcY.js"), "../icons/x.vue": () => import("./x-eIjCzak5.js") });
49
49
  let ct;
50
50
  function So(e) {
51
51
  const t = Object.keys(Mt).find((o) => o.endsWith(`/${e}.vue`));
@@ -71,7 +71,7 @@ const Vo = /* @__PURE__ */ z({
71
71
  () => t.name,
72
72
  () => o.value = Po(t.name),
73
73
  { immediate: !0 }
74
- ), (r, n) => (d(), L(Ie(o.value), {
74
+ ), (r, n) => (p(), x(Ie(o.value), {
75
75
  class: j(["Icon", { [`Icon--${r.$props.size}`]: r.$props.size }])
76
76
  }, null, 8, ["class"]));
77
77
  }
@@ -95,7 +95,7 @@ const Vo = /* @__PURE__ */ z({
95
95
  emits: ["click", "prefix-icon-click", "suffix-icon-click"],
96
96
  setup(e) {
97
97
  const t = e, o = Xe(), r = Ye(), n = k(() => !!o.onPrefixIconClick), l = k(() => !!o.onSuffixIconClick);
98
- return (c, a) => (d(), v("div", {
98
+ return (c, a) => (p(), v("div", {
99
99
  class: j(["InputWrapper vuiii-input", [
100
100
  c.$attrs.class,
101
101
  {
@@ -108,13 +108,13 @@ const Vo = /* @__PURE__ */ z({
108
108
  onClick: a[2] || (a[2] = (s) => c.$emit("click", s))
109
109
  }, [
110
110
  S(r).prefix || t.prefixIcon ? w(c.$slots, "prefix", { key: 0 }, () => [
111
- (d(), L(Ie(n.value ? "button" : "div"), {
111
+ (p(), x(Ie(n.value ? "button" : "div"), {
112
112
  class: j(["vuiii-input__prefix-icon", { InputWrapper__icon: n.value }]),
113
113
  tabindex: "-1",
114
114
  onClick: a[0] || (a[0] = it((s) => c.$emit("prefix-icon-click"), ["prevent"]))
115
115
  }, {
116
116
  default: P(() => [
117
- c.$props.prefixIcon ? (d(), L(ae, {
117
+ c.$props.prefixIcon ? (p(), x(ae, {
118
118
  key: 0,
119
119
  name: c.$props.prefixIcon || "",
120
120
  size: c.$props.size
@@ -125,13 +125,13 @@ const Vo = /* @__PURE__ */ z({
125
125
  ], !0) : O("", !0),
126
126
  w(c.$slots, "default", {}, void 0, !0),
127
127
  S(r).suffix || t.suffixIcon ? w(c.$slots, "suffix", { key: 1 }, () => [
128
- (d(), L(Ie(l.value ? "button" : "div"), {
128
+ (p(), x(Ie(l.value ? "button" : "div"), {
129
129
  class: j(["vuiii-input__suffix-icon", { InputWrapper__icon: l.value }]),
130
130
  tabindex: "-1",
131
131
  onClick: a[1] || (a[1] = it((s) => c.$emit("suffix-icon-click"), ["prevent"]))
132
132
  }, {
133
133
  default: P(() => [
134
- c.$props.suffixIcon ? (d(), L(ae, {
134
+ c.$props.suffixIcon ? (p(), x(ae, {
135
135
  key: 0,
136
136
  name: c.$props.suffixIcon || "",
137
137
  size: c.$props.size
@@ -150,7 +150,7 @@ const Vo = /* @__PURE__ */ z({
150
150
  setup(e) {
151
151
  return $o((t) => ({
152
152
  d1bc765e: t.duration + "ms"
153
- })), (t, o) => (d(), L(Nt, { name: "fade" }, {
153
+ })), (t, o) => (p(), x(Nt, { name: "fade" }, {
154
154
  default: P(() => [
155
155
  w(t.$slots, "default")
156
156
  ]),
@@ -268,25 +268,25 @@ function le(e) {
268
268
  return e.split("-")[0];
269
269
  }
270
270
  var ge = Math.max, Ue = Math.min, De = Math.round;
271
- function pt() {
271
+ function dt() {
272
272
  var e = navigator.userAgentData;
273
273
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
274
274
  return t.brand + "/" + t.version;
275
275
  }).join(" ") : navigator.userAgent;
276
276
  }
277
277
  function eo() {
278
- return !/^((?!chrome|android).)*safari/i.test(pt());
278
+ return !/^((?!chrome|android).)*safari/i.test(dt());
279
279
  }
280
280
  function Be(e, t, o) {
281
281
  t === void 0 && (t = !1), o === void 0 && (o = !1);
282
282
  var r = e.getBoundingClientRect(), n = 1, l = 1;
283
283
  t && ee(e) && (n = e.offsetWidth > 0 && De(r.width) / e.offsetWidth || 1, l = e.offsetHeight > 0 && De(r.height) / e.offsetHeight || 1);
284
- var c = $e(e) ? K(e) : window, a = c.visualViewport, s = !eo() && o, i = (r.left + (s && a ? a.offsetLeft : 0)) / n, u = (r.top + (s && a ? a.offsetTop : 0)) / l, p = r.width / n, m = r.height / l;
284
+ var c = $e(e) ? K(e) : window, a = c.visualViewport, s = !eo() && o, i = (r.left + (s && a ? a.offsetLeft : 0)) / n, u = (r.top + (s && a ? a.offsetTop : 0)) / l, d = r.width / n, m = r.height / l;
285
285
  return {
286
- width: p,
286
+ width: d,
287
287
  height: m,
288
288
  top: u,
289
- right: i + p,
289
+ right: i + d,
290
290
  bottom: u + m,
291
291
  left: i,
292
292
  x: i,
@@ -345,7 +345,7 @@ function Et(e) {
345
345
  ce(e).position === "fixed" ? null : e.offsetParent;
346
346
  }
347
347
  function Jo(e) {
348
- var t = /firefox/i.test(pt()), o = /Trident/i.test(pt());
348
+ var t = /firefox/i.test(dt()), o = /Trident/i.test(dt());
349
349
  if (o && ee(e)) {
350
350
  var r = ce(e);
351
351
  if (r.position === "fixed")
@@ -408,7 +408,7 @@ function rr(e, t) {
408
408
  };
409
409
  }
410
410
  function xt(e) {
411
- var t, o = e.popper, r = e.popperRect, n = e.placement, l = e.variation, c = e.offsets, a = e.position, s = e.gpuAcceleration, i = e.adaptive, u = e.roundOffsets, p = e.isFixed, m = c.x, f = m === void 0 ? 0 : m, h = c.y, b = h === void 0 ? 0 : h, g = typeof u == "function" ? u({
411
+ var t, o = e.popper, r = e.popperRect, n = e.placement, l = e.variation, c = e.offsets, a = e.position, s = e.gpuAcceleration, i = e.adaptive, u = e.roundOffsets, d = e.isFixed, m = c.x, f = m === void 0 ? 0 : m, h = c.y, b = h === void 0 ? 0 : h, g = typeof u == "function" ? u({
412
412
  x: f,
413
413
  y: b
414
414
  }) : {
@@ -421,7 +421,7 @@ function xt(e) {
421
421
  var I = et(o), R = "clientHeight", N = "clientWidth";
422
422
  if (I === K(o) && (I = fe(o), ce(I).position !== "static" && a === "absolute" && (R = "scrollHeight", N = "scrollWidth")), I = I, n === Z || (n === oe || n === ue) && l === xe) {
423
423
  _ = se;
424
- var T = p && I === C && C.visualViewport ? C.visualViewport.height : (
424
+ var T = d && I === C && C.visualViewport ? C.visualViewport.height : (
425
425
  // $FlowFixMe[prop-missing]
426
426
  I[R]
427
427
  );
@@ -429,7 +429,7 @@ function xt(e) {
429
429
  }
430
430
  if (n === oe || (n === Z || n === se) && l === xe) {
431
431
  E = ue;
432
- var F = p && I === C && C.visualViewport ? C.visualViewport.width : (
432
+ var F = d && I === C && C.visualViewport ? C.visualViewport.width : (
433
433
  // $FlowFixMe[prop-missing]
434
434
  I[N]
435
435
  );
@@ -547,7 +547,7 @@ function cr(e, t) {
547
547
  y: s
548
548
  };
549
549
  }
550
- function pr(e) {
550
+ function dr(e) {
551
551
  var t, o = fe(e), r = ht(e), n = (t = e.ownerDocument) == null ? void 0 : t.body, l = ge(o.scrollWidth, o.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), c = ge(o.scrollHeight, o.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -r.scrollLeft + gt(e), s = -r.scrollTop;
552
552
  return ce(n || o).direction === "rtl" && (a += ge(o.clientWidth, n ? n.clientWidth : 0) - l), {
553
553
  width: l,
@@ -572,7 +572,7 @@ function Ee(e, t) {
572
572
  a.concat(Ee(Ze(c)))
573
573
  );
574
574
  }
575
- function dt(e) {
575
+ function pt(e) {
576
576
  return Object.assign({}, e, {
577
577
  left: e.x,
578
578
  top: e.y,
@@ -580,12 +580,12 @@ function dt(e) {
580
580
  bottom: e.y + e.height
581
581
  });
582
582
  }
583
- function dr(e, t) {
583
+ function pr(e, t) {
584
584
  var o = Be(e, !1, t === "fixed");
585
585
  return o.top = o.top + e.clientTop, o.left = o.left + e.clientLeft, o.bottom = o.top + e.clientHeight, o.right = o.left + e.clientWidth, o.width = e.clientWidth, o.height = e.clientHeight, o.x = o.left, o.y = o.top, o;
586
586
  }
587
587
  function zt(e, t, o) {
588
- return t === Jt ? dt(cr(e, o)) : $e(t) ? dr(t, o) : dt(pr(fe(e)));
588
+ return t === Jt ? pt(cr(e, o)) : $e(t) ? pr(t, o) : pt(dr(fe(e)));
589
589
  }
590
590
  function fr(e) {
591
591
  var t = Ee(Ze(e)), o = ["absolute", "fixed"].indexOf(ce(e).position) >= 0, r = o && ee(e) ? et(e) : e;
@@ -649,11 +649,11 @@ function ao(e) {
649
649
  }
650
650
  function $t(e, t) {
651
651
  t === void 0 && (t = {});
652
- var o = t, r = o.placement, n = r === void 0 ? e.placement : r, l = o.strategy, c = l === void 0 ? e.strategy : l, a = o.boundary, s = a === void 0 ? xo : a, i = o.rootBoundary, u = i === void 0 ? Jt : i, p = o.elementContext, m = p === void 0 ? Ae : p, f = o.altBoundary, h = f === void 0 ? !1 : f, b = o.padding, g = b === void 0 ? 0 : b, $ = er(typeof g != "number" ? g : tr(g, Je)), M = m === Ae ? Lo : Ae, E = e.rects.popper, _ = e.elements[h ? M : m], C = vr($e(_) ? _ : _.contextElement || fe(e.elements.popper), s, u, c), I = Be(e.elements.reference), R = ao({
652
+ var o = t, r = o.placement, n = r === void 0 ? e.placement : r, l = o.strategy, c = l === void 0 ? e.strategy : l, a = o.boundary, s = a === void 0 ? xo : a, i = o.rootBoundary, u = i === void 0 ? Jt : i, d = o.elementContext, m = d === void 0 ? Ae : d, f = o.altBoundary, h = f === void 0 ? !1 : f, b = o.padding, g = b === void 0 ? 0 : b, $ = er(typeof g != "number" ? g : tr(g, Je)), M = m === Ae ? Lo : Ae, E = e.rects.popper, _ = e.elements[h ? M : m], C = vr($e(_) ? _ : _.contextElement || fe(e.elements.popper), s, u, c), I = Be(e.elements.reference), R = ao({
653
653
  reference: I,
654
654
  element: E,
655
655
  placement: n
656
- }), N = dt(Object.assign({}, E, R)), T = m === Ae ? N : I, F = {
656
+ }), N = pt(Object.assign({}, E, R)), T = m === Ae ? N : I, F = {
657
657
  top: C.top - T.top + $.top,
658
658
  bottom: T.bottom - C.bottom + $.bottom,
659
659
  left: C.left - T.left + $.left,
@@ -662,20 +662,20 @@ function $t(e, t) {
662
662
  if (m === Ae && W) {
663
663
  var y = W[n];
664
664
  Object.keys(F).forEach(function(D) {
665
- var x = [ue, se].indexOf(D) >= 0 ? 1 : -1, J = [Z, se].indexOf(D) >= 0 ? "y" : "x";
666
- F[D] += y[J] * x;
665
+ var L = [ue, se].indexOf(D) >= 0 ? 1 : -1, J = [Z, se].indexOf(D) >= 0 ? "y" : "x";
666
+ F[D] += y[J] * L;
667
667
  });
668
668
  }
669
669
  return F;
670
670
  }
671
671
  function mr(e, t) {
672
672
  t === void 0 && (t = {});
673
- var o = t, r = o.placement, n = o.boundary, l = o.rootBoundary, c = o.padding, a = o.flipVariations, s = o.allowedAutoPlacements, i = s === void 0 ? Zt : s, u = Se(r), p = u ? a ? At : At.filter(function(h) {
673
+ var o = t, r = o.placement, n = o.boundary, l = o.rootBoundary, c = o.padding, a = o.flipVariations, s = o.allowedAutoPlacements, i = s === void 0 ? Zt : s, u = Se(r), d = u ? a ? At : At.filter(function(h) {
674
674
  return Se(h) === u;
675
- }) : Je, m = p.filter(function(h) {
675
+ }) : Je, m = d.filter(function(h) {
676
676
  return i.indexOf(h) >= 0;
677
677
  });
678
- m.length === 0 && (m = p);
678
+ m.length === 0 && (m = d);
679
679
  var f = m.reduce(function(h, b) {
680
680
  return h[b] = $t(e, {
681
681
  placement: b,
@@ -697,26 +697,26 @@ function br(e) {
697
697
  function hr(e) {
698
698
  var t = e.state, o = e.options, r = e.name;
699
699
  if (!t.modifiersData[r]._skip) {
700
- for (var n = o.mainAxis, l = n === void 0 ? !0 : n, c = o.altAxis, a = c === void 0 ? !0 : c, s = o.fallbackPlacements, i = o.padding, u = o.boundary, p = o.rootBoundary, m = o.altBoundary, f = o.flipVariations, h = f === void 0 ? !0 : f, b = o.allowedAutoPlacements, g = t.options.placement, $ = le(g), M = $ === g, E = s || (M || !h ? [Ne(g)] : br(g)), _ = [g].concat(E).reduce(function(we, pe) {
701
- return we.concat(le(pe) === mt ? mr(t, {
702
- placement: pe,
700
+ for (var n = o.mainAxis, l = n === void 0 ? !0 : n, c = o.altAxis, a = c === void 0 ? !0 : c, s = o.fallbackPlacements, i = o.padding, u = o.boundary, d = o.rootBoundary, m = o.altBoundary, f = o.flipVariations, h = f === void 0 ? !0 : f, b = o.allowedAutoPlacements, g = t.options.placement, $ = le(g), M = $ === g, E = s || (M || !h ? [Ne(g)] : br(g)), _ = [g].concat(E).reduce(function(we, de) {
701
+ return we.concat(le(de) === mt ? mr(t, {
702
+ placement: de,
703
703
  boundary: u,
704
- rootBoundary: p,
704
+ rootBoundary: d,
705
705
  padding: i,
706
706
  flipVariations: h,
707
707
  allowedAutoPlacements: b
708
- }) : pe);
708
+ }) : de);
709
709
  }, []), C = t.rects.reference, I = t.rects.popper, R = /* @__PURE__ */ new Map(), N = !0, T = _[0], F = 0; F < _.length; F++) {
710
- var W = _[F], y = le(W), D = Se(W) === Oe, x = [Z, se].indexOf(y) >= 0, J = x ? "width" : "height", X = $t(t, {
710
+ var W = _[F], y = le(W), D = Se(W) === Oe, L = [Z, se].indexOf(y) >= 0, J = L ? "width" : "height", U = $t(t, {
711
711
  placement: W,
712
712
  boundary: u,
713
- rootBoundary: p,
713
+ rootBoundary: d,
714
714
  altBoundary: m,
715
715
  padding: i
716
- }), te = x ? D ? ue : oe : D ? se : Z;
716
+ }), te = L ? D ? ue : oe : D ? se : Z;
717
717
  C[J] > I[J] && (te = Ne(te));
718
718
  var ze = Ne(te), ve = [];
719
- if (l && ve.push(X[y] <= 0), a && ve.push(X[te] <= 0, X[ze] <= 0), ve.every(function(we) {
719
+ if (l && ve.push(U[y] <= 0), a && ve.push(U[te] <= 0, U[ze] <= 0), ve.every(function(we) {
720
720
  return we;
721
721
  })) {
722
722
  T = W, N = !1;
@@ -725,11 +725,11 @@ function hr(e) {
725
725
  R.set(W, ve);
726
726
  }
727
727
  if (N)
728
- for (var Re = h ? 3 : 1, ot = function(pe) {
728
+ for (var Re = h ? 3 : 1, ot = function(de) {
729
729
  var Me = _.find(function(je) {
730
730
  var me = R.get(je);
731
731
  if (me)
732
- return me.slice(0, pe).every(function(rt) {
732
+ return me.slice(0, de).every(function(rt) {
733
733
  return rt;
734
734
  });
735
735
  });
@@ -765,8 +765,8 @@ function yr(e, t, o) {
765
765
  };
766
766
  }
767
767
  function $r(e) {
768
- var t = e.state, o = e.options, r = e.name, n = o.offset, l = n === void 0 ? [0, 0] : n, c = Zt.reduce(function(u, p) {
769
- return u[p] = yr(p, t.rects, l), u;
768
+ var t = e.state, o = e.options, r = e.name, n = o.offset, l = n === void 0 ? [0, 0] : n, c = Zt.reduce(function(u, d) {
769
+ return u[d] = yr(d, t.rects, l), u;
770
770
  }, {}), a = c[t.placement], s = a.x, i = a.y;
771
771
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += s, t.modifiersData.popperOffsets.y += i), t.modifiersData[r] = c;
772
772
  }
@@ -796,10 +796,10 @@ function Cr(e) {
796
796
  return e === "x" ? "y" : "x";
797
797
  }
798
798
  function Ir(e) {
799
- var t = e.state, o = e.options, r = e.name, n = o.mainAxis, l = n === void 0 ? !0 : n, c = o.altAxis, a = c === void 0 ? !1 : c, s = o.boundary, i = o.rootBoundary, u = o.altBoundary, p = o.padding, m = o.tether, f = m === void 0 ? !0 : m, h = o.tetherOffset, b = h === void 0 ? 0 : h, g = $t(t, {
799
+ var t = e.state, o = e.options, r = e.name, n = o.mainAxis, l = n === void 0 ? !0 : n, c = o.altAxis, a = c === void 0 ? !1 : c, s = o.boundary, i = o.rootBoundary, u = o.altBoundary, d = o.padding, m = o.tether, f = m === void 0 ? !0 : m, h = o.tetherOffset, b = h === void 0 ? 0 : h, g = $t(t, {
800
800
  boundary: s,
801
801
  rootBoundary: i,
802
- padding: p,
802
+ padding: d,
803
803
  altBoundary: u
804
804
  }), $ = le(t.placement), M = Se(t.placement), E = !M, _ = oo($), C = Cr(_), I = t.modifiersData.popperOffsets, R = t.rects.reference, N = t.rects.popper, T = typeof b == "function" ? b(Object.assign({}, t.rects, {
805
805
  placement: t.placement
@@ -815,10 +815,10 @@ function Ir(e) {
815
815
  };
816
816
  if (I) {
817
817
  if (l) {
818
- var D, x = _ === "y" ? Z : oe, J = _ === "y" ? se : ue, X = _ === "y" ? "height" : "width", te = I[_], ze = te + g[x], ve = te - g[J], Re = f ? -N[X] / 2 : 0, ot = M === Oe ? R[X] : N[X], Ve = M === Oe ? -N[X] : -R[X], Fe = t.elements.arrow, we = f && Fe ? to(Fe) : {
818
+ var D, L = _ === "y" ? Z : oe, J = _ === "y" ? se : ue, U = _ === "y" ? "height" : "width", te = I[_], ze = te + g[L], ve = te - g[J], Re = f ? -N[U] / 2 : 0, ot = M === Oe ? R[U] : N[U], Ve = M === Oe ? -N[U] : -R[U], Fe = t.elements.arrow, we = f && Fe ? to(Fe) : {
819
819
  width: 0,
820
820
  height: 0
821
- }, pe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ro(), Me = pe[x], je = pe[J], me = qe(0, R[X], we[X]), rt = E ? R[X] / 2 - Re - me - Me - F.mainAxis : ot - me - Me - F.mainAxis, po = E ? -R[X] / 2 + Re + me + je + F.mainAxis : Ve + me + je + F.mainAxis, nt = t.elements.arrow && et(t.elements.arrow), fo = nt ? _ === "y" ? nt.clientTop || 0 : nt.clientLeft || 0 : 0, wt = (D = W?.[_]) != null ? D : 0, vo = te + rt - wt - fo, mo = te + po - wt, Ct = qe(f ? Ue(ze, vo) : ze, te, f ? ge(ve, mo) : ve);
821
+ }, de = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ro(), Me = de[L], je = de[J], me = qe(0, R[U], we[U]), rt = E ? R[U] / 2 - Re - me - Me - F.mainAxis : ot - me - Me - F.mainAxis, po = E ? -R[U] / 2 + Re + me + je + F.mainAxis : Ve + me + je + F.mainAxis, nt = t.elements.arrow && et(t.elements.arrow), fo = nt ? _ === "y" ? nt.clientTop || 0 : nt.clientLeft || 0 : 0, wt = (D = W?.[_]) != null ? D : 0, vo = te + rt - wt - fo, mo = te + po - wt, Ct = qe(f ? Ue(ze, vo) : ze, te, f ? ge(ve, mo) : ve);
822
822
  I[_] = Ct, y[_] = Ct - te;
823
823
  }
824
824
  if (a) {
@@ -942,7 +942,7 @@ function xr(e) {
942
942
  },
943
943
  attributes: {},
944
944
  styles: {}
945
- }, p = [], m = !1, f = {
945
+ }, d = [], m = !1, f = {
946
946
  state: u,
947
947
  setOptions: function($) {
948
948
  var M = typeof $ == "function" ? $(u.options) : $;
@@ -1013,14 +1013,14 @@ function xr(e) {
1013
1013
  options: E
1014
1014
  }), I = function() {
1015
1015
  };
1016
- p.push(C || I);
1016
+ d.push(C || I);
1017
1017
  }
1018
1018
  });
1019
1019
  }
1020
1020
  function b() {
1021
- p.forEach(function(g) {
1021
+ d.forEach(function(g) {
1022
1022
  return g();
1023
- }), p = [];
1023
+ }), d = [];
1024
1024
  }
1025
1025
  return f;
1026
1026
  };
@@ -1104,7 +1104,7 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1104
1104
  }),
1105
1105
  emits: /* @__PURE__ */ Q(["prefix-icon-click", "suffix-icon-click", "select"], ["update:modelValue"]),
1106
1106
  setup(e, { expose: t, emit: o }) {
1107
- const r = ne(e, "modelValue"), n = e, l = o, c = Pe(), a = V(), s = V(), i = V(), u = V(!1), p = k(() => {
1107
+ const r = ne(e, "modelValue"), n = e, l = o, c = Pe(), a = V(), s = V(), i = V(), u = V(!1), d = k(() => {
1108
1108
  const y = {
1109
1109
  value: n.optionValue,
1110
1110
  label: n.optionLabel,
@@ -1120,17 +1120,17 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1120
1120
  ...y
1121
1121
  },
1122
1122
  r.value
1123
- ).flatMap((x) => x.options) : ke(n.options, y, r.value);
1123
+ ).flatMap((L) => L.options) : ke(n.options, y, r.value);
1124
1124
  });
1125
1125
  function m(y, D) {
1126
1126
  if (!D)
1127
1127
  return !0;
1128
- const x = D.toLowerCase(), J = String(y.label).toLowerCase(), X = y.description ? String(y.description).toLowerCase() : "";
1129
- return J.includes(x) || X.includes(x);
1128
+ const L = D.toLowerCase(), J = String(y.label).toLowerCase(), U = y.description ? String(y.description).toLowerCase() : "";
1129
+ return J.includes(L) || U.includes(L);
1130
1130
  }
1131
1131
  const f = k(() => {
1132
1132
  const y = n.filter || m;
1133
- return p.value.filter((D) => y(D, r.value));
1133
+ return d.value.filter((D) => y(D, r.value));
1134
1134
  }), h = k(() => f.value), { cursorIndex: b, cursorItem: g, moveCursorForward: $, moveCursorBack: M, resetCursor: E } = Eo(h, {
1135
1135
  cycle: !0,
1136
1136
  onCursorMove: () => {
@@ -1160,7 +1160,7 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1160
1160
  y.preventDefault(), u.value && g.value && W(g.value);
1161
1161
  break;
1162
1162
  case "Escape":
1163
- y.preventDefault(), I();
1163
+ u.value && (y.preventDefault(), I());
1164
1164
  break;
1165
1165
  case "Tab":
1166
1166
  I();
@@ -1185,7 +1185,7 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1185
1185
  open: C,
1186
1186
  close: I,
1187
1187
  filter: m
1188
- }), (y, D) => (d(), L(Ke, {
1188
+ }), (y, D) => (p(), x(Ke, {
1189
1189
  ref_key: "rootElement",
1190
1190
  ref: a,
1191
1191
  class: j(["Autocomplete", y.$attrs.class]),
@@ -1195,9 +1195,9 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1195
1195
  prefixIcon: y.$props.prefixIcon,
1196
1196
  suffixIcon: y.$props.suffixIcon,
1197
1197
  pill: y.$props.pill,
1198
- onClick: D[1] || (D[1] = (x) => i.value?.focus()),
1199
- onPrefixIconClick: D[2] || (D[2] = (x) => y.$emit("prefix-icon-click")),
1200
- onSuffixIconClick: D[3] || (D[3] = (x) => y.$emit("suffix-icon-click"))
1198
+ onClick: D[1] || (D[1] = (L) => i.value?.focus()),
1199
+ onPrefixIconClick: D[2] || (D[2] = (L) => y.$emit("prefix-icon-click")),
1200
+ onSuffixIconClick: D[3] || (D[3] = (L) => y.$emit("suffix-icon-click"))
1201
1201
  }, Qe({
1202
1202
  default: P(() => [
1203
1203
  B("input", q({
@@ -1212,33 +1212,30 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1212
1212
  onClick: T,
1213
1213
  onKeydown: N
1214
1214
  }), null, 16, Rr),
1215
- U(Qt, { duration: 100 }, {
1215
+ Y(Qt, { duration: 100 }, {
1216
1216
  default: P(() => [
1217
- u.value && h.value.length > 0 ? (d(), v("div", {
1217
+ u.value && h.value.length > 0 ? (p(), x(Bo, {
1218
1218
  key: 0,
1219
1219
  class: "Autocomplete__dropdown",
1220
1220
  ref_key: "dropdownElement",
1221
- ref: s
1222
- }, [
1223
- U(Bo, {
1224
- items: h.value,
1225
- cursorIndex: S(b),
1226
- onItemClick: F,
1227
- onItemMouseenter: D[0] || (D[0] = ({ index: x }) => b.value = x)
1228
- }, {
1229
- itemLabel: P(({ item: x, index: J }) => [
1230
- w(y.$slots, "option", {
1231
- option: x,
1232
- index: J,
1233
- isHighlighted: S(b) === J
1234
- }, () => [
1235
- B("span", Fr, A(x.label), 1),
1236
- x.description ? (d(), v("span", jr, A(x.description), 1)) : O("", !0)
1237
- ], !0)
1238
- ]),
1239
- _: 3
1240
- }, 8, ["items", "cursorIndex"])
1241
- ], 512)) : O("", !0)
1221
+ ref: s,
1222
+ items: h.value,
1223
+ cursorIndex: S(b),
1224
+ onItemClick: F,
1225
+ onItemMouseenter: D[0] || (D[0] = ({ index: L }) => b.value = L)
1226
+ }, {
1227
+ itemLabel: P(({ item: L, index: J }) => [
1228
+ w(y.$slots, "option", {
1229
+ option: L,
1230
+ index: J,
1231
+ isHighlighted: S(b) === J
1232
+ }, () => [
1233
+ B("div", Fr, A(L.label), 1),
1234
+ L.description ? (p(), v("div", jr, A(L.description), 1)) : O("", !0)
1235
+ ], !0)
1236
+ ]),
1237
+ _: 3
1238
+ }, 8, ["items", "cursorIndex"])) : O("", !0)
1242
1239
  ]),
1243
1240
  _: 3
1244
1241
  })
@@ -1261,7 +1258,7 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1261
1258
  } : void 0
1262
1259
  ]), 1032, ["class", "size", "invalid", "disabled", "prefixIcon", "suffixIcon", "pill"]));
1263
1260
  }
1264
- }), Va = /* @__PURE__ */ G(Wr, [["__scopeId", "data-v-fcc2b3d8"]]), qr = { class: "Breadcrumbs" }, Nr = /* @__PURE__ */ z({
1261
+ }), Va = /* @__PURE__ */ G(Wr, [["__scopeId", "data-v-d80ba263"]]), qr = { class: "Breadcrumbs" }, Nr = /* @__PURE__ */ z({
1265
1262
  __name: "Breadcrumbs",
1266
1263
  props: {
1267
1264
  breadcrumbs: { default: () => [] }
@@ -1269,12 +1266,12 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1269
1266
  setup(e) {
1270
1267
  return (t, o) => {
1271
1268
  const r = Ht("router-link");
1272
- return d(), v("div", qr, [
1273
- (d(!0), v(H, null, Y(e.breadcrumbs, (n, l) => (d(), v("div", {
1269
+ return p(), v("div", qr, [
1270
+ (p(!0), v(H, null, X(e.breadcrumbs, (n, l) => (p(), v("div", {
1274
1271
  key: l,
1275
1272
  class: "Breadcrumbs__breadcrumb"
1276
1273
  }, [
1277
- U(r, {
1274
+ Y(r, {
1278
1275
  to: n.link,
1279
1276
  class: "Breadcrumbs__link"
1280
1277
  }, {
@@ -1283,7 +1280,7 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1283
1280
  ]),
1284
1281
  _: 2
1285
1282
  }, 1032, ["to"]),
1286
- U(ae, {
1283
+ Y(ae, {
1287
1284
  name: "chevron-right",
1288
1285
  class: "Breadcrumbs__arrow"
1289
1286
  })
@@ -1310,7 +1307,7 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1310
1307
  },
1311
1308
  setup(e) {
1312
1309
  const t = e, o = k(() => t.to ? "router-link" : t.href ? "a" : "button");
1313
- return (r, n) => (d(), L(Ie(o.value), q({
1310
+ return (r, n) => (p(), x(Ie(o.value), q({
1314
1311
  class: ["Button vuiii-button", {
1315
1312
  [`vuiii-button--variant-${r.$props.variant}`]: r.$props.variant,
1316
1313
  [`vuiii-button--size-${r.$props.size}`]: r.$props.size,
@@ -1327,20 +1324,20 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1327
1324
  }), {
1328
1325
  default: P(() => [
1329
1326
  w(r.$slots, "prefix", {}, () => [
1330
- r.$props.prefixIcon || r.$props.loading ? (d(), L(ae, {
1327
+ r.$props.prefixIcon || r.$props.loading ? (p(), x(ae, {
1331
1328
  key: 0,
1332
1329
  class: "vuiii-button__icon vuiii-button__icon--prefix",
1333
1330
  name: r.$props.loading ? "spinner" : r.$props.prefixIcon,
1334
1331
  size: r.$props.size
1335
1332
  }, null, 8, ["name", "size"])) : O("", !0)
1336
1333
  ]),
1337
- r.$slots.default || r.$props.label ? (d(), v("span", Gr, [
1334
+ r.$slots.default || r.$props.label ? (p(), v("span", Gr, [
1338
1335
  w(r.$slots, "default", {}, () => [
1339
1336
  re(A(r.$props.label), 1)
1340
1337
  ])
1341
1338
  ])) : O("", !0),
1342
1339
  w(r.$slots, "suffix", {}, () => [
1343
- r.$props.suffixIcon ? (d(), L(ae, {
1340
+ r.$props.suffixIcon ? (p(), x(ae, {
1344
1341
  key: 0,
1345
1342
  class: "vuiii-button__icon vuiii-button__icon--suffix",
1346
1343
  name: r.$props.suffixIcon,
@@ -1353,7 +1350,7 @@ const Rr = ["placeholder", "disabled", "value"], Fr = { class: "Autocomplete__op
1353
1350
  }
1354
1351
  }), Hr = {}, Ur = { class: "ButtonGroup" };
1355
1352
  function Xr(e, t) {
1356
- return d(), v("div", Ur, [
1353
+ return p(), v("div", Ur, [
1357
1354
  w(e.$slots, "default", {}, void 0, !0)
1358
1355
  ]);
1359
1356
  }
@@ -1398,7 +1395,7 @@ const Yr = /* @__PURE__ */ G(Hr, [["render", Xr], ["__scopeId", "data-v-3d8ee6b9
1398
1395
  function c(a) {
1399
1396
  t.value = n.value.parse(a.target.checked);
1400
1397
  }
1401
- return (a, s) => (d(), v("label", {
1398
+ return (a, s) => (p(), v("label", {
1402
1399
  class: j(["Checkbox", [
1403
1400
  a.$attrs.class,
1404
1401
  {
@@ -1417,24 +1414,24 @@ const Yr = /* @__PURE__ */ G(Hr, [["render", Xr], ["__scopeId", "data-v-3d8ee6b9
1417
1414
  onInput: s[0] || (s[0] = (i) => c(i))
1418
1415
  }), null, 16, Qr),
1419
1416
  w(a.$slots, "symbol", lt(ut({ disabled: !!e.disabled, size: e.size, checked: l.value })), () => [
1420
- a.$props.switch ? (d(), v("div", Kr, [...s[1] || (s[1] = [
1417
+ a.$props.switch ? (p(), v("div", Kr, [...s[1] || (s[1] = [
1421
1418
  B("div", { class: "Checkbox__switchDot" }, null, -1)
1422
- ])])) : (d(), v("div", Jr, [
1423
- U(ae, {
1419
+ ])])) : (p(), v("div", Jr, [
1420
+ Y(ae, {
1424
1421
  name: "check",
1425
1422
  class: "Checkbox__checkboxIcon",
1426
1423
  size: a.$props.size
1427
1424
  }, null, 8, ["size"])
1428
1425
  ]))
1429
1426
  ], !0),
1430
- a.$slots.default || a.$props.label || a.$props.description ? (d(), v("div", Zr, [
1431
- a.$slots.default || a.$props.label ? (d(), v("div", en, [
1432
- a.$props.required ? (d(), v("span", tn, "*")) : O("", !0),
1427
+ a.$slots.default || a.$props.label || a.$props.description ? (p(), v("div", Zr, [
1428
+ a.$slots.default || a.$props.label ? (p(), v("div", en, [
1429
+ a.$props.required ? (p(), v("span", tn, "*")) : O("", !0),
1433
1430
  w(a.$slots, "default", {}, () => [
1434
1431
  re(A(a.$props.label), 1)
1435
1432
  ], !0)
1436
1433
  ])) : O("", !0),
1437
- a.$props.description ? (d(), v("div", on, A(a.$props.description), 1)) : O("", !0)
1434
+ a.$props.description ? (p(), v("div", on, A(a.$props.description), 1)) : O("", !0)
1438
1435
  ])) : O("", !0)
1439
1436
  ], 2));
1440
1437
  }
@@ -1486,13 +1483,13 @@ const sn = /* @__PURE__ */ z({
1486
1483
  const i = new Set(l.value.values()), u = r.value.parse(a);
1487
1484
  s ? i.add(u) : i.delete(u), t.value = Array.from(i);
1488
1485
  };
1489
- return (a, s) => (d(), v("div", {
1486
+ return (a, s) => (p(), v("div", {
1490
1487
  class: j(["CheckboxGroup", { "CheckboxGroup--inline": a.$props.inline }])
1491
1488
  }, [
1492
- (d(!0), v(H, null, Y(n.value, (i) => (d(), v("div", {
1489
+ (p(!0), v(H, null, X(n.value, (i) => (p(), v("div", {
1493
1490
  key: i.value
1494
1491
  }, [
1495
- U(an, {
1492
+ Y(an, {
1496
1493
  disabled: i.disabled,
1497
1494
  "model-value": l.value.has(i.value),
1498
1495
  label: i.label,
@@ -1501,8 +1498,8 @@ const sn = /* @__PURE__ */ z({
1501
1498
  }, Qe({ _: 2 }, [
1502
1499
  a.$slots.symbol ? {
1503
1500
  name: "symbol",
1504
- fn: P(({ checked: u, disabled: p }) => [
1505
- w(a.$slots, "symbol", q({ ref_for: !0 }, { checked: u, disabled: p }), void 0, !0)
1501
+ fn: P(({ checked: u, disabled: d }) => [
1502
+ w(a.$slots, "symbol", q({ ref_for: !0 }, { checked: u, disabled: d }), void 0, !0)
1506
1503
  ]),
1507
1504
  key: "0"
1508
1505
  } : void 0
@@ -1513,7 +1510,7 @@ const sn = /* @__PURE__ */ z({
1513
1510
  }), Aa = /* @__PURE__ */ G(sn, [["__scopeId", "data-v-9484e97b"]]), ln = {
1514
1511
  cancelLabel: "Cancel",
1515
1512
  confirmLabel: "OK"
1516
- }, ft = ln, un = V(1), _e = V([]), de = k(() => _e.value[_e.value.length - 1]), cn = () => un.value++, _t = (e, t, { modal: o } = {}) => {
1513
+ }, ft = ln, un = V(1), _e = V([]), pe = k(() => _e.value[_e.value.length - 1]), cn = () => un.value++, _t = (e, t, { modal: o } = {}) => {
1517
1514
  const r = document.activeElement;
1518
1515
  return r.blur?.(), new Promise((n) => {
1519
1516
  const l = {
@@ -1526,7 +1523,7 @@ const sn = /* @__PURE__ */ z({
1526
1523
  };
1527
1524
  _e.value.push(l);
1528
1525
  });
1529
- }, pn = (e) => {
1526
+ }, dn = (e) => {
1530
1527
  typeof e == "string" && (e = {
1531
1528
  content: e
1532
1529
  });
@@ -1543,7 +1540,7 @@ const sn = /* @__PURE__ */ z({
1543
1540
  }
1544
1541
  ]
1545
1542
  });
1546
- }, dn = (e) => {
1543
+ }, pn = (e) => {
1547
1544
  typeof e == "string" && (e = {
1548
1545
  content: e
1549
1546
  });
@@ -1581,12 +1578,12 @@ const sn = /* @__PURE__ */ z({
1581
1578
  _e.value = _e.value.filter((o) => o.id !== e.id), e.resolve(t), e.focusElement && e.focusElement.focus?.();
1582
1579
  }, Ge = (e, t = void 0) => {
1583
1580
  e.onBeforeClose ? e.onBeforeClose(() => Tt(e, t)) : Tt(e, t);
1584
- }, fn = (e) => (e && de.value && (de.value.onBeforeClose = e), (t) => {
1585
- de.value && Ge(de.value, t);
1581
+ }, fn = (e) => (e && pe.value && (pe.value.onBeforeClose = e), (t) => {
1582
+ pe.value && Ge(pe.value, t);
1586
1583
  }), vn = {
1587
1584
  open: _t,
1588
- alert: pn,
1589
- confirm: dn
1585
+ alert: dn,
1586
+ confirm: pn
1590
1587
  };
1591
1588
  function mn() {
1592
1589
  return vn;
@@ -1624,14 +1621,14 @@ const bn = {
1624
1621
  }
1625
1622
  const i = r.value?.querySelectorAll("button");
1626
1623
  if (i?.length) {
1627
- const u = Array.from(i).find((p) => p.classList.contains("vuiii-button--primary"));
1624
+ const u = Array.from(i).find((d) => d.classList.contains("vuiii-button--primary"));
1628
1625
  if (u) {
1629
1626
  u.focus();
1630
1627
  return;
1631
1628
  }
1632
1629
  i[0]?.focus();
1633
1630
  }
1634
- }), (s, i) => (d(), v("div", {
1631
+ }), (s, i) => (p(), v("div", {
1635
1632
  ref_key: "root",
1636
1633
  ref: r,
1637
1634
  class: j(["DialogLayout", {
@@ -1643,17 +1640,17 @@ const bn = {
1643
1640
  }]),
1644
1641
  style: He(a.value)
1645
1642
  }, [
1646
- s.$props.withCloseButton ? (d(), v("div", {
1643
+ s.$props.withCloseButton ? (p(), v("div", {
1647
1644
  key: 0,
1648
1645
  class: "DialogLayout__close",
1649
1646
  onClick: i[0] || (i[0] = (u) => S(o)())
1650
1647
  }, [
1651
- U(ae, {
1648
+ Y(ae, {
1652
1649
  name: "x",
1653
1650
  class: "DialogLayout__closeIcon"
1654
1651
  })
1655
1652
  ])) : O("", !0),
1656
- l.value ? (d(), v("div", bn, [
1653
+ l.value ? (p(), v("div", bn, [
1657
1654
  w(s.$slots, "header", {}, () => [
1658
1655
  B("div", hn, A(s.$props.title), 1)
1659
1656
  ], !0)
@@ -1663,14 +1660,14 @@ const bn = {
1663
1660
  B("div", yn, A(s.$props.content), 1)
1664
1661
  ], !0)
1665
1662
  ]),
1666
- c.value ? (d(), v("div", $n, [
1663
+ c.value ? (p(), v("div", $n, [
1667
1664
  w(s.$slots, "footer", {}, () => [
1668
1665
  B("div", kn, [
1669
- (d(!0), v(H, null, Y(s.$props.buttons, (u, p) => (d(), v("span", {
1670
- key: p,
1666
+ (p(!0), v(H, null, X(s.$props.buttons, (u, d) => (p(), v("span", {
1667
+ key: d,
1671
1668
  class: "DialogLayout__buttonWrapper"
1672
1669
  }, [
1673
- U(tt, {
1670
+ Y(tt, {
1674
1671
  type: "button",
1675
1672
  label: u.label,
1676
1673
  variant: u.variant,
@@ -1706,25 +1703,25 @@ const wn = { class: "DialogStack" }, Cn = {
1706
1703
  !r.modal && o.target === o.currentTarget && Ge(r);
1707
1704
  };
1708
1705
  return uo("Escape", (o) => {
1709
- de.value && !de.value.modal && !o.defaultPrevented && (Ge(de.value), o.preventDefault());
1710
- }), (o, r) => (d(), L(Ut, { to: "body" }, [
1706
+ pe.value && !pe.value.modal && !o.defaultPrevented && (Ge(pe.value), o.preventDefault());
1707
+ }), (o, r) => (p(), x(Ut, { to: "body" }, [
1711
1708
  B("div", wn, [
1712
- U(Nt, { name: "DialogStack__backdrop" }, {
1709
+ Y(Nt, { name: "DialogStack__backdrop" }, {
1713
1710
  default: P(() => [
1714
- S(_e).length ? (d(), v("div", Cn)) : O("", !0)
1711
+ S(_e).length ? (p(), v("div", Cn)) : O("", !0)
1715
1712
  ]),
1716
1713
  _: 1
1717
1714
  }),
1718
- U(Xt, { name: "DialogStack__dialog" }, {
1715
+ Y(Xt, { name: "DialogStack__dialog" }, {
1719
1716
  default: P(() => [
1720
- (d(!0), v(H, null, Y(S(_e), (n) => (d(), v("div", {
1717
+ (p(!0), v(H, null, X(S(_e), (n) => (p(), v("div", {
1721
1718
  key: n.id,
1722
1719
  class: "DialogStack__dialogWrapper",
1723
1720
  onClick: (l) => t(l, n)
1724
1721
  }, [
1725
- (d(), L(Ie(n.component), q({ ref_for: !0 }, n.props, {
1722
+ (p(), x(Ie(n.component), q({ ref_for: !0 }, n.props, {
1726
1723
  "data-dialog-id": n.id,
1727
- class: ["DialogStack__dialog", { isActive: S(de)?.id === n.id }],
1724
+ class: ["DialogStack__dialog", { isActive: S(pe)?.id === n.id }],
1728
1725
  onClose: (l) => S(Ge)(n, l)
1729
1726
  }), null, 16, ["data-dialog-id", "class", "onClose"]))
1730
1727
  ], 8, In))), 128))
@@ -1763,24 +1760,24 @@ const wn = { class: "DialogStack" }, Cn = {
1763
1760
  close: s,
1764
1761
  toggle: i,
1765
1762
  isOpen: k(() => n.value)
1766
- }), (u, p) => (d(), v("div", {
1763
+ }), (u, d) => (p(), v("div", {
1767
1764
  class: j(["Dropdown", { "Dropdown--block": e.block }]),
1768
1765
  ref_key: "rootElement",
1769
1766
  ref: l
1770
1767
  }, [
1771
1768
  w(u.$slots, "trigger", lt(ut({ open: a, close: s, toggle: i, isOpen: n.value })), () => [
1772
- U(tt, {
1769
+ Y(tt, {
1773
1770
  label: e.label,
1774
1771
  variant: e.variant,
1775
1772
  block: e.block,
1776
1773
  prefixIcon: e.icon,
1777
1774
  suffixIcon: "chevron-down",
1778
- onClick: p[0] || (p[0] = (m) => i())
1775
+ onClick: d[0] || (d[0] = (m) => i())
1779
1776
  }, null, 8, ["label", "variant", "block", "prefixIcon"])
1780
1777
  ], !0),
1781
- U(Qt, { duration: 100 }, {
1778
+ Y(Qt, { duration: 100 }, {
1782
1779
  default: P(() => [
1783
- n.value ? (d(), v("div", {
1780
+ n.value ? (p(), v("div", {
1784
1781
  key: 0,
1785
1782
  class: "Dropdown__dropdown",
1786
1783
  ref_key: "dropdownElement",
@@ -1819,10 +1816,10 @@ const wn = { class: "DialogStack" }, Cn = {
1819
1816
  hint: {}
1820
1817
  },
1821
1818
  setup(e) {
1822
- return (t, o) => (d(), v("div", {
1819
+ return (t, o) => (p(), v("div", {
1823
1820
  class: j(["FormGroup", { "FormGroup--invalid": t.$props.error }])
1824
1821
  }, [
1825
- t.$props.label || t.$slots.label ? (d(), v("div", Bn, [
1822
+ t.$props.label || t.$slots.label ? (p(), v("div", Bn, [
1826
1823
  B("label", {
1827
1824
  class: "FormGroup__label",
1828
1825
  for: t.$props.for
@@ -1831,20 +1828,20 @@ const wn = { class: "DialogStack" }, Cn = {
1831
1828
  re(A(t.$props.label), 1)
1832
1829
  ], !0)
1833
1830
  ], 8, Sn),
1834
- t.$props.required ? (d(), v("div", Pn, "*")) : O("", !0)
1831
+ t.$props.required ? (p(), v("div", Pn, "*")) : O("", !0)
1835
1832
  ])) : O("", !0),
1836
- t.$slots.description || t.$props.description ? (d(), v("div", Vn, [
1833
+ t.$slots.description || t.$props.description ? (p(), v("div", Vn, [
1837
1834
  w(t.$slots, "description", {}, () => [
1838
1835
  re(A(t.$props.description), 1)
1839
1836
  ], !0)
1840
1837
  ])) : O("", !0),
1841
1838
  w(t.$slots, "default", {}, void 0, !0),
1842
- t.$slots.hint || t.$props.hint ? (d(), v("div", Mn, [
1839
+ t.$slots.hint || t.$props.hint ? (p(), v("div", Mn, [
1843
1840
  w(t.$slots, "hint", {}, () => [
1844
1841
  re(A(t.$props.hint), 1)
1845
1842
  ], !0)
1846
1843
  ])) : O("", !0),
1847
- t.$props.error && typeof t.$props.error == "string" ? (d(), v("div", An, A(t.$props.error), 1)) : O("", !0)
1844
+ t.$props.error && typeof t.$props.error == "string" ? (p(), v("div", An, A(t.$props.error), 1)) : O("", !0)
1848
1845
  ], 2));
1849
1846
  }
1850
1847
  }), xn = /* @__PURE__ */ G(En, [["__scopeId", "data-v-b18bb598"]]), Ln = { class: "FormFields" }, zn = /* @__PURE__ */ z({
@@ -1863,29 +1860,29 @@ const wn = { class: "DialogStack" }, Cn = {
1863
1860
  disabled: !!s(i.name, i.disabled),
1864
1861
  invalid: o.validationResults?.[i.name]?.isInvalid,
1865
1862
  errorMessage: o.validationResults?.[i.name]?.errorMessage
1866
- }))), n = k(() => new Map(o.fields.map((i) => [i.name, i]))), l = t, c = (i) => (n.value.get(i).value?.getter || ((p) => p[i]))(o.modelValue), a = (i, u) => {
1863
+ }))), n = k(() => new Map(o.fields.map((i) => [i.name, i]))), l = t, c = (i) => (n.value.get(i).value?.getter || ((d) => d[i]))(o.modelValue), a = (i, u) => {
1867
1864
  const m = (n.value.get(i).value?.setter || ((f, h) => ({ ...h, [i]: f })))(u, o.modelValue);
1868
1865
  l("update:model-value", m);
1869
1866
  }, s = (i, u) => typeof u == "function" ? u?.(o.modelValue[i]) : u;
1870
- return (i, u) => (d(), v("div", Ln, [
1871
- (d(!0), v(H, null, Y(r.value, (p, m) => (d(), L(xn, {
1872
- key: p.name,
1873
- label: p.label,
1874
- description: p.description,
1875
- hint: p.hint,
1876
- required: p.required,
1877
- invalid: p.invalid,
1878
- "error-message": p.errorMessage
1867
+ return (i, u) => (p(), v("div", Ln, [
1868
+ (p(!0), v(H, null, X(r.value, (d, m) => (p(), x(xn, {
1869
+ key: d.name,
1870
+ label: d.label,
1871
+ description: d.description,
1872
+ hint: d.hint,
1873
+ required: d.required,
1874
+ invalid: d.invalid,
1875
+ "error-message": d.errorMessage
1879
1876
  }, {
1880
1877
  default: P(() => [
1881
- w(i.$slots, `field:${String(p.name)}`, q({ ref_for: !0 }, { ...p, index: m }), () => [
1882
- (d(), L(Ie(p.component), q({
1883
- "model-value": p.value
1884
- }, { ref_for: !0 }, s(p.name, p.props), {
1885
- required: p.required,
1886
- disabled: p.disabled,
1887
- invalid: p.invalid,
1888
- "onUpdate:modelValue": (f) => a(p.name, f)
1878
+ w(i.$slots, `field:${String(d.name)}`, q({ ref_for: !0 }, { ...d, index: m }), () => [
1879
+ (p(), x(Ie(d.component), q({
1880
+ "model-value": d.value
1881
+ }, { ref_for: !0 }, s(d.name, d.props), {
1882
+ required: d.required,
1883
+ disabled: d.disabled,
1884
+ invalid: d.invalid,
1885
+ "onUpdate:modelValue": (f) => a(d.name, f)
1889
1886
  }), null, 16, ["model-value", "required", "disabled", "invalid", "onUpdate:modelValue"]))
1890
1887
  ], !0)
1891
1888
  ]),
@@ -1915,7 +1912,7 @@ const za = /* @__PURE__ */ z({
1915
1912
  emits: ["click"],
1916
1913
  setup(e, { emit: t }) {
1917
1914
  const r = Rn(e, ["icon"]), n = t;
1918
- return (l, c) => (d(), L(tt, q({
1915
+ return (l, c) => (p(), x(tt, q({
1919
1916
  class: "vuiii-icon-button",
1920
1917
  prefixIcon: e.icon
1921
1918
  }, S(r), {
@@ -1952,7 +1949,7 @@ const za = /* @__PURE__ */ z({
1952
1949
  input: c,
1953
1950
  focus: () => c.value.focus(),
1954
1951
  select: () => c.value.select()
1955
- }), (i, u) => (d(), L(Ke, {
1952
+ }), (i, u) => (p(), x(Ke, {
1956
1953
  "prefix-icon": i.$props.prefixIcon,
1957
1954
  "suffix-icon": i.$props.suffixIcon,
1958
1955
  size: i.$props.size,
@@ -1960,9 +1957,9 @@ const za = /* @__PURE__ */ z({
1960
1957
  pill: i.$props.pill,
1961
1958
  class: j(i.$attrs.class),
1962
1959
  disabled: i.$attrs.disabled,
1963
- onClick: u[1] || (u[1] = (p) => c.value.focus()),
1964
- onPrefixIconClick: u[2] || (u[2] = (p) => i.$emit("prefix-icon-click")),
1965
- onSuffixIconClick: u[3] || (u[3] = (p) => i.$emit("suffix-icon-click"))
1960
+ onClick: u[1] || (u[1] = (d) => c.value.focus()),
1961
+ onPrefixIconClick: u[2] || (u[2] = (d) => i.$emit("prefix-icon-click")),
1962
+ onSuffixIconClick: u[3] || (u[3] = (d) => i.$emit("suffix-icon-click"))
1966
1963
  }, Qe({
1967
1964
  default: P(() => [
1968
1965
  B("input", q({
@@ -1979,7 +1976,7 @@ const za = /* @__PURE__ */ z({
1979
1976
  ]],
1980
1977
  type: i.$attrs.type || "text",
1981
1978
  value: o.value,
1982
- onInput: u[0] || (u[0] = (p) => s(p))
1979
+ onInput: u[0] || (u[0] = (d) => s(d))
1983
1980
  }), null, 16, Fn)
1984
1981
  ]),
1985
1982
  _: 2
@@ -2031,9 +2028,9 @@ const za = /* @__PURE__ */ z({
2031
2028
  t.value
2032
2029
  )
2033
2030
  );
2034
- return (n, l) => (d(), L(Yr, null, {
2031
+ return (n, l) => (p(), x(Yr, null, {
2035
2032
  default: P(() => [
2036
- (d(!0), v(H, null, Y(r.value, (c) => (d(), L(tt, {
2033
+ (p(!0), v(H, null, X(r.value, (c) => (p(), x(tt, {
2037
2034
  key: c.value,
2038
2035
  variant: "primary",
2039
2036
  outlined: !c.isSelected,
@@ -2094,33 +2091,33 @@ const Nn = ["value", "name", "disabled", "readonly", "checked", "onInput"], Gn =
2094
2091
  function s(i) {
2095
2092
  t.value = c.value.parse(i);
2096
2093
  }
2097
- return (i, u) => (d(), v("div", {
2094
+ return (i, u) => (p(), v("div", {
2098
2095
  class: j(["RadioGroup", [i.$attrs.class, { "RadioGroup--inline": e.inline }]])
2099
2096
  }, [
2100
- (d(!0), v(H, null, Y(a.value, (p) => (d(), v("label", {
2101
- key: p.value,
2102
- class: j(["RadioGroup__option", { "RadioGroup__option--disabled": i.$props.disabled || p.disabled }])
2097
+ (p(!0), v(H, null, X(a.value, (d) => (p(), v("label", {
2098
+ key: d.value,
2099
+ class: j(["RadioGroup__option", { "RadioGroup__option--disabled": i.$props.disabled || d.disabled }])
2103
2100
  }, [
2104
2101
  B("input", q({ ref_for: !0 }, S(r), {
2105
- value: p.value,
2102
+ value: d.value,
2106
2103
  class: "RadioGroup__input",
2107
2104
  type: "radio",
2108
2105
  name: S(n),
2109
- disabled: i.$props.disabled || p.disabled,
2106
+ disabled: i.$props.disabled || d.disabled,
2110
2107
  readonly: i.$props.readonly,
2111
- checked: p.isSelected,
2112
- onInput: (m) => s(p.value)
2108
+ checked: d.isSelected,
2109
+ onInput: (m) => s(d.value)
2113
2110
  }), null, 16, Nn),
2114
- w(i.$slots, "symbol", q({ ref_for: !0 }, { disabled: !!e.disabled, checked: !!p.isSelected }), () => [
2111
+ w(i.$slots, "symbol", q({ ref_for: !0 }, { disabled: !!e.disabled, checked: !!d.isSelected }), () => [
2115
2112
  u[0] || (u[0] = B("div", { class: "RadioGroup__radio vuiii-input" }, [
2116
2113
  B("div", { class: "RadioGroup__radioDot" })
2117
2114
  ], -1))
2118
2115
  ], !0),
2119
- p.label || p.description || i.$slots.default ? (d(), v("div", Gn, [
2120
- w(i.$slots, "default", q({ ref_for: !0 }, { option: p }), () => [
2121
- B("div", Hn, A(p.label), 1)
2116
+ d.label || d.description || i.$slots.default ? (p(), v("div", Gn, [
2117
+ w(i.$slots, "default", q({ ref_for: !0 }, { option: d }), () => [
2118
+ B("div", Hn, A(d.label), 1)
2122
2119
  ], !0),
2123
- p.description ? (d(), v("div", Un, A(p.description), 1)) : O("", !0)
2120
+ d.description ? (p(), v("div", Un, A(d.description), 1)) : O("", !0)
2124
2121
  ])) : O("", !0)
2125
2122
  ], 2))), 128))
2126
2123
  ], 2));
@@ -2182,7 +2179,7 @@ const Nn = ["value", "name", "disabled", "readonly", "checked", "onInput"], Gn =
2182
2179
  function s(i) {
2183
2180
  t.value = n.value.parse(i.target.value);
2184
2181
  }
2185
- return (i, u) => (d(), L(Ke, {
2182
+ return (i, u) => (p(), x(Ke, {
2186
2183
  class: j(["Select", i.$attrs.class]),
2187
2184
  size: i.$props.size,
2188
2185
  invalid: i.$props.invalid,
@@ -2191,7 +2188,7 @@ const Nn = ["value", "name", "disabled", "readonly", "checked", "onInput"], Gn =
2191
2188
  }, {
2192
2189
  suffix: P(() => [
2193
2190
  B("div", ta, [
2194
- U(ae, {
2191
+ Y(ae, {
2195
2192
  name: "triangle-down",
2196
2193
  size: i.$props.size
2197
2194
  }, null, 8, ["size"])
@@ -2202,9 +2199,9 @@ const Nn = ["value", "name", "disabled", "readonly", "checked", "onInput"], Gn =
2202
2199
  class: ["vuiii-input__nested Select__select", e.inputClass],
2203
2200
  value: l.value,
2204
2201
  required: i.$props.required,
2205
- onInput: u[0] || (u[0] = (p) => s(p))
2202
+ onInput: u[0] || (u[0] = (d) => s(d))
2206
2203
  }), [
2207
- i.$props.placeholder ? (d(), v("option", {
2204
+ i.$props.placeholder ? (p(), v("option", {
2208
2205
  key: 0,
2209
2206
  "data-placeholder": "",
2210
2207
  disabled: i.$props.required,
@@ -2212,22 +2209,22 @@ const Nn = ["value", "name", "disabled", "readonly", "checked", "onInput"], Gn =
2212
2209
  value: "",
2213
2210
  selected: ""
2214
2211
  }, A(i.$props.placeholder), 9, Kn)) : O("", !0),
2215
- c.value ? (d(!0), v(H, { key: 1 }, Y(c.value, (p, m) => (d(), v("optgroup", {
2212
+ c.value ? (p(!0), v(H, { key: 1 }, X(c.value, (d, m) => (p(), v("optgroup", {
2216
2213
  key: m,
2217
- label: p.label
2214
+ label: d.label
2218
2215
  }, [
2219
- (d(!0), v(H, null, Y(p.options, (f) => (d(), v("option", {
2216
+ (p(!0), v(H, null, X(d.options, (f) => (p(), v("option", {
2220
2217
  key: f.value,
2221
2218
  disabled: f.disabled,
2222
2219
  value: f.value,
2223
2220
  selected: f.isSelected
2224
2221
  }, A(f.label), 9, Zn))), 128))
2225
- ], 8, Jn))), 128)) : (d(!0), v(H, { key: 2 }, Y(a.value, (p) => (d(), v("option", {
2226
- key: p.value,
2227
- disabled: p.disabled,
2228
- value: p.value,
2229
- selected: p.isSelected
2230
- }, A(p.label), 9, ea))), 128))
2222
+ ], 8, Jn))), 128)) : (p(!0), v(H, { key: 2 }, X(a.value, (d) => (p(), v("option", {
2223
+ key: d.value,
2224
+ disabled: d.disabled,
2225
+ value: d.value,
2226
+ selected: d.isSelected
2227
+ }, A(d.label), 9, ea))), 128))
2231
2228
  ], 16, Qn)
2232
2229
  ]),
2233
2230
  _: 1
@@ -2255,15 +2252,15 @@ const ia = {
2255
2252
  function la() {
2256
2253
  return ia;
2257
2254
  }
2258
- const ua = { class: "Snackbar" }, ca = ["onClick"], pa = /* @__PURE__ */ z({
2255
+ const ua = { class: "Snackbar" }, ca = ["onClick"], da = /* @__PURE__ */ z({
2259
2256
  __name: "SnackbarStack",
2260
2257
  setup(e) {
2261
2258
  const t = k(() => [...Ce.value].reverse());
2262
- return (o, r) => (d(), L(Ut, { to: "body" }, [
2259
+ return (o, r) => (p(), x(Ut, { to: "body" }, [
2263
2260
  B("div", ua, [
2264
- U(Xt, { name: "Snackbar__transition" }, {
2261
+ Y(Xt, { name: "Snackbar__transition" }, {
2265
2262
  default: P(() => [
2266
- (d(!0), v(H, null, Y(t.value, (n, l) => (d(), v("div", {
2263
+ (p(!0), v(H, null, X(t.value, (n, l) => (p(), v("div", {
2267
2264
  key: n.id,
2268
2265
  class: "Snackbar__message"
2269
2266
  }, [
@@ -2279,7 +2276,7 @@ const ua = { class: "Snackbar" }, ca = ["onClick"], pa = /* @__PURE__ */ z({
2279
2276
  class: "Snackbar__messageClose",
2280
2277
  onClick: (c) => S(co)(n.id)
2281
2278
  }, [
2282
- U(ae, {
2279
+ Y(ae, {
2283
2280
  class: "Snackbar__messageCloseIcon",
2284
2281
  name: "x"
2285
2282
  })
@@ -2293,7 +2290,7 @@ const ua = { class: "Snackbar" }, ca = ["onClick"], pa = /* @__PURE__ */ z({
2293
2290
  ])
2294
2291
  ]));
2295
2292
  }
2296
- }), Wa = /* @__PURE__ */ G(pa, [["__scopeId", "data-v-e7c3ec03"]]), da = { key: 0 }, fa = ["width"], va = ["onClick"], ma = { class: "vuiii-table__sortIcon" }, ba = {
2293
+ }), Wa = /* @__PURE__ */ G(da, [["__scopeId", "data-v-e7c3ec03"]]), pa = { key: 0 }, fa = ["width"], va = ["onClick"], ma = { class: "vuiii-table__sortIcon" }, ba = {
2297
2294
  key: 1,
2298
2295
  class: "vuiii-table__label"
2299
2296
  }, ha = { key: 0 }, ga = ["onClick", "onMouseenter", "onMouseleave"], ya = { key: 0 }, $a = ["colspan"], ka = { class: "vuiii-table__noDataMessage" }, qa = /* @__PURE__ */ z({
@@ -2352,55 +2349,55 @@ const ua = { class: "Snackbar" }, ca = ["onClick"], pa = /* @__PURE__ */ z({
2352
2349
  function u(m, { index: f, item: h }) {
2353
2350
  m.defaultPrevented || l("click-row", { index: f, item: h });
2354
2351
  }
2355
- function p(m) {
2352
+ function d(m) {
2356
2353
  o.value === m ? r.value = r.value === "asc" ? "desc" : "asc" : (o.value = m, r.value = "asc"), l("sort", { sortColumnName: o.value, sortDirection: r.value });
2357
2354
  }
2358
2355
  return (m, f) => {
2359
2356
  const h = Ht("router-link");
2360
- return d(), v("table", {
2357
+ return p(), v("table", {
2361
2358
  class: j(["vuiii-table", { "vuiii-table--hover": m.$props.highlightOnHover && e.items?.length }])
2362
2359
  }, [
2363
- a.value ? (d(), v("thead", da, [
2360
+ a.value ? (p(), v("thead", pa, [
2364
2361
  B("tr", null, [
2365
- (d(!0), v(H, null, Y(c.value, (b, g) => (d(), v("th", {
2362
+ (p(!0), v(H, null, X(c.value, (b, g) => (p(), v("th", {
2366
2363
  key: g,
2367
2364
  style: He({ textAlign: b.align || "left" }),
2368
2365
  width: b.width
2369
2366
  }, [
2370
- b.sortable ? (d(), v("div", {
2367
+ b.sortable ? (p(), v("div", {
2371
2368
  key: 0,
2372
2369
  class: j(["vuiii-table__label vuiii-table__label--sortable", { "vuiii-table__label vuiii-table__label--activeSort": o.value === b.name }]),
2373
- onClick: it(($) => p(b.name), ["prevent"]),
2370
+ onClick: it(($) => d(b.name), ["prevent"]),
2374
2371
  role: "button",
2375
2372
  tabindex: "0"
2376
2373
  }, [
2377
2374
  re(A(b.label) + " ", 1),
2378
2375
  B("div", ma, [
2379
- U(ae, {
2376
+ Y(ae, {
2380
2377
  name: "caret-sort",
2381
2378
  size: "small"
2382
2379
  })
2383
2380
  ])
2384
- ], 10, va)) : (d(), v("div", ba, A(b.label), 1))
2381
+ ], 10, va)) : (p(), v("div", ba, A(b.label), 1))
2385
2382
  ], 12, fa))), 128)),
2386
- m.$slots.tools ? (d(), v("th", ha)) : O("", !0)
2383
+ m.$slots.tools ? (p(), v("th", ha)) : O("", !0)
2387
2384
  ])
2388
2385
  ])) : O("", !0),
2389
2386
  B("tbody", null, [
2390
- (d(!0), v(H, null, Y(i.value, (b, g) => (d(), v("tr", {
2387
+ (p(!0), v(H, null, X(i.value, (b, g) => (p(), v("tr", {
2391
2388
  key: g,
2392
2389
  class: j(b.rowClass),
2393
2390
  onClick: ($) => u($, { index: g, item: b.item }),
2394
2391
  onMouseenter: ($) => m.$emit("mouseenter-row", { index: g, item: b.item }),
2395
2392
  onMouseleave: ($) => m.$emit("mouseleave-row", { index: g, item: b.item })
2396
2393
  }, [
2397
- (d(!0), v(H, null, Y(b.cells, ($) => (d(), v("td", {
2394
+ (p(!0), v(H, null, X(b.cells, ($) => (p(), v("td", {
2398
2395
  key: $.column.name,
2399
2396
  style: He({ textAlign: $.column.align || "left" }),
2400
2397
  class: j($.cellClass)
2401
2398
  }, [
2402
2399
  w(m.$slots, `column:${$.column.name}`, q({ ref_for: !0 }, { item: b.item, value: $.value, index: g, column: $.column }), () => [
2403
- $.column.href ? (d(), L(h, {
2400
+ $.column.href ? (p(), x(h, {
2404
2401
  key: 0,
2405
2402
  class: "vuiii-link",
2406
2403
  to: $.column.href($.item),
@@ -2410,12 +2407,12 @@ const ua = { class: "Snackbar" }, ca = ["onClick"], pa = /* @__PURE__ */ z({
2410
2407
  re(A($.formattedValue), 1)
2411
2408
  ]),
2412
2409
  _: 2
2413
- }, 1032, ["to", "target"])) : (d(), v(H, { key: 1 }, [
2410
+ }, 1032, ["to", "target"])) : (p(), v(H, { key: 1 }, [
2414
2411
  re(A($.formattedValue), 1)
2415
2412
  ], 64))
2416
2413
  ])
2417
2414
  ], 6))), 128)),
2418
- m.$slots.rowOptions ? (d(), v("td", {
2415
+ m.$slots.rowOptions ? (p(), v("td", {
2419
2416
  key: 0,
2420
2417
  class: "vuiii-table__rowOptions",
2421
2418
  onClick: f[0] || (f[0] = ($) => $.preventDefault())
@@ -2423,7 +2420,7 @@ const ua = { class: "Snackbar" }, ca = ["onClick"], pa = /* @__PURE__ */ z({
2423
2420
  w(m.$slots, "rowOptions", q({ ref_for: !0 }, { item: b.item, index: g }))
2424
2421
  ])) : O("", !0)
2425
2422
  ], 42, ga))), 128)),
2426
- !e.items?.length && (m.$props.noDataMessage || m.$slots.noDataMessage) ? (d(), v("tr", ya, [
2423
+ !e.items?.length && (m.$props.noDataMessage || m.$slots.noDataMessage) ? (p(), v("tr", ya, [
2427
2424
  B("td", {
2428
2425
  colspan: Object.keys(e.columns).length
2429
2426
  }, [
@@ -2461,7 +2458,7 @@ const ua = { class: "Snackbar" }, ca = ["onClick"], pa = /* @__PURE__ */ z({
2461
2458
  return t({
2462
2459
  focus: () => l.value.focus(),
2463
2460
  select: () => l.value.select()
2464
- }), (a, s) => (d(), L(Ke, {
2461
+ }), (a, s) => (p(), x(Ke, {
2465
2462
  class: j(["Textarea", a.$attrs.class]),
2466
2463
  size: a.$props.size,
2467
2464
  invalid: a.$props.invalid,
@@ -2501,12 +2498,12 @@ function Ia(e, t = {}) {
2501
2498
  return;
2502
2499
  }
2503
2500
  s.value = await e(...u);
2504
- } catch (p) {
2505
- if (a.value = p, t.errorMessage && o && o.error(
2506
- typeof t.errorMessage == "function" ? t.errorMessage({ error: p, params: u }) : t.errorMessage || p.message
2507
- ), l.value = !1, t.onError && t.onError({ error: p, params: u, router: n, snackbar: o, dialog: r }))
2501
+ } catch (d) {
2502
+ if (a.value = d, t.errorMessage && o && o.error(
2503
+ typeof t.errorMessage == "function" ? t.errorMessage({ error: d, params: u }) : t.errorMessage || d.message
2504
+ ), l.value = !1, t.onError && t.onError({ error: d, params: u, router: n, snackbar: o, dialog: r }))
2508
2505
  return;
2509
- throw p;
2506
+ throw d;
2510
2507
  }
2511
2508
  return c.value = !0, l.value = !1, t.successMessage && o && o.success(
2512
2509
  typeof t.successMessage == "function" ? t.successMessage({ result: s.value, params: u }) : t.successMessage
@@ -2550,7 +2547,7 @@ function Ga(e, t = {}) {
2550
2547
  const o = V([]), r = V(), { immediate: n, initialValue: l, ...c } = t, { isLoading: a, hasLoaded: s, load: i } = Oa(e, c), u = async (f = 1) => {
2551
2548
  const h = await i({ page: f, itemsPerPage: t.itemsPerPage || st });
2552
2549
  return o.value = h.items, r.value = h.pagination, h;
2553
- }, p = async () => {
2550
+ }, d = async () => {
2554
2551
  if (!r.value?.hasNextPage)
2555
2552
  return;
2556
2553
  const f = await i({
@@ -2573,7 +2570,7 @@ function Ga(e, t = {}) {
2573
2570
  items: o,
2574
2571
  pagination: r,
2575
2572
  loadPage: u,
2576
- loadNextPage: p,
2573
+ loadNextPage: d,
2577
2574
  loadPreviousPage: m
2578
2575
  };
2579
2576
  }