@vanjana/vue-ui 0.1.105 → 0.1.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { createElementBlock as g, openBlock as f, createElementVNode as x, renderSlot as j, defineComponent as T, computed as C, normalizeClass as z, createBlock as M, createCommentVNode as L, createTextVNode as Ue, unref as S, toDisplayString as B, useSlots as Wt, ref as E, onMounted as Be, nextTick as me, onBeforeUnmount as Re, watch as X, resolveComponent as K, createVNode as O, normalizeStyle as G, Fragment as Z, renderList as ge, mergeModels as ee, useModel as ve, withModifiers as N, provide as Nt, Teleport as Pe, Transition as Oe, withCtx as W, createSlots as rt, resolveDynamicComponent as Kt, mergeProps as yn, shallowRef as wn, getCurrentScope as _n, onScopeDispose as xn, shallowReadonly as Ve, render as St, resolveDirective as Xt, withDirectives as ct, withKeys as lt, inject as ut, vModelText as kn, toRef as nt, normalizeProps as Vn, guardReactiveProps as Cn, TransitionGroup as En, isRef as Ln, createApp as $n, h as Sn } from "vue";
1
+ import { createElementBlock as g, openBlock as f, createElementVNode as x, renderSlot as M, defineComponent as T, computed as C, normalizeClass as z, createBlock as P, createCommentVNode as L, createTextVNode as Ue, unref as S, toDisplayString as B, useSlots as Wt, ref as E, onMounted as Be, nextTick as me, onBeforeUnmount as Re, watch as X, resolveComponent as K, createVNode as O, normalizeStyle as G, Fragment as Z, renderList as ge, mergeModels as ee, useModel as ve, withModifiers as N, provide as Nt, Teleport as je, Transition as Oe, withCtx as W, createSlots as rt, resolveDynamicComponent as Kt, mergeProps as yn, shallowRef as wn, getCurrentScope as _n, onScopeDispose as xn, shallowReadonly as Ve, render as St, resolveDirective as Xt, withDirectives as ct, withKeys as lt, inject as ut, vModelText as kn, toRef as nt, normalizeProps as Vn, guardReactiveProps as Cn, TransitionGroup as En, isRef as Ln, createApp as $n, h as Sn } from "vue";
2
2
  import { useRouter as Rn, useRoute as Tn } from "vue-router";
3
3
  const D = (e, n) => {
4
4
  const t = e.__vccOpts || e;
@@ -6,17 +6,17 @@ const D = (e, n) => {
6
6
  t[o] = l;
7
7
  return t;
8
8
  }, An = {}, On = { class: "button-bar" }, Dn = { class: "left" }, Bn = { class: "right" };
9
- function Pn(e, n) {
9
+ function jn(e, n) {
10
10
  return f(), g("div", On, [
11
11
  x("div", Dn, [
12
- j(e.$slots, "left", {}, void 0, !0)
12
+ M(e.$slots, "left", {}, void 0, !0)
13
13
  ]),
14
14
  x("div", Bn, [
15
- j(e.$slots, "default", {}, void 0, !0)
15
+ M(e.$slots, "default", {}, void 0, !0)
16
16
  ])
17
17
  ]);
18
18
  }
19
- const jn = /* @__PURE__ */ D(An, [["render", Pn], ["__scopeId", "data-v-45a6ed1a"]]);
19
+ const Mn = /* @__PURE__ */ D(An, [["render", jn], ["__scopeId", "data-v-45a6ed1a"]]);
20
20
  var F = /* @__PURE__ */ ((e) => (e.HOME = "fa-regular fa-house", e.DASHBOARD = "fa-solid fa-gauge", e.MENU = "fa-solid fa-bars", e.DOT_MENU = "fa-solid fa-ellipsis-vertical", e.BACK = "fa-regular fa-hand-point-left", e.LOGOUT = "fa-solid fa-right-from-bracket", e.CHEVRON_LEFT = "fa-solid fa-chevron-left", e.CHEVRON_RIGHT = "fa-solid fa-chevron-right", e.CHEVRON_UP = "fa-solid fa-chevron-up", e.CHEVRON_DOWN = "fa-solid fa-chevron-down", e.PREVIOUS = "fa-solid fa-angle-left", e.FIRST = "fa-solid fa-angles-left", e.NEXT = "fa-solid fa-angle-right", e.LAST = "fa-solid fa-angles-right", e.USER = "fa-regular fa-user-circle", e.CHARACTER = "fa-solid fa-person", e.SETTINGS = "fa-solid fa-gear", e.ADD = "fa-regular fa-plus", e.EDIT = "fa-solid fa-pen", e.REMOVE = "fa-regular fa-trash-can", e.DELETE = "fa-regular fa-trash-can", e.SHARE = "fa-solid fa-share-nodes", e.SORT = "fa-regular fa-arrow-up-arrow-down", e.CLOSE = "fa-regular fa-circle-xmark", e.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", e.PROJECT = "fa-regular fa-folder-open", e.FOLDER = "fa-regular fa-folder", e.FILE_TEXT = "fa-regular fa-file-lines", e.UPLOAD = "fa-solid fa-cloud-arrow-up", e.DOWNLOAD = "fa-solid fa-cloud-arrow-down", e.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", e.SEARCH = "fa-solid fa-magnifying-glass", e.MESSAGE_SQUARE = "fa-regular fa-message", e.MAIL = "fa-regular fa-envelope", e.SHOPPING_BAG = "fa-regular fa-bag-shopping", e.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(F || {}), q = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(q || {});
21
21
  const be = /* @__PURE__ */ T({
22
22
  __name: "icon",
@@ -30,7 +30,7 @@ const be = /* @__PURE__ */ T({
30
30
  class: z(o.value)
31
31
  }, null, 2));
32
32
  }
33
- }), Mn = ["disabled"], Fn = /* @__PURE__ */ T({
33
+ }), Pn = ["disabled"], Fn = /* @__PURE__ */ T({
34
34
  __name: "button",
35
35
  props: {
36
36
  label: {},
@@ -46,13 +46,13 @@ const be = /* @__PURE__ */ T({
46
46
  class: z(["button", o.value, { "icon-only": l.value }]),
47
47
  disabled: e.disabled
48
48
  }, [
49
- e.icon ? (f(), M(be, {
49
+ e.icon ? (f(), P(be, {
50
50
  key: 0,
51
51
  icon: e.icon,
52
52
  size: S(t)
53
53
  }, null, 8, ["icon", "size"])) : L("", !0),
54
54
  Ue(" " + B(e.label), 1)
55
- ], 10, Mn));
55
+ ], 10, Pn));
56
56
  }
57
57
  }), dt = /* @__PURE__ */ D(Fn, [["__scopeId", "data-v-f31c33cf"]]), zn = {
58
58
  key: 0,
@@ -71,14 +71,14 @@ const be = /* @__PURE__ */ T({
71
71
  x("header", null, [
72
72
  x("h3", null, B(e.header), 1),
73
73
  S(n).headerActions ? (f(), g("span", zn, [
74
- j(t.$slots, "headerActions", {}, void 0, !0)
74
+ M(t.$slots, "headerActions", {}, void 0, !0)
75
75
  ])) : L("", !0)
76
76
  ]),
77
77
  x("main", null, [
78
- j(t.$slots, "default", {}, void 0, !0)
78
+ M(t.$slots, "default", {}, void 0, !0)
79
79
  ]),
80
80
  S(n).footer ? (f(), g("footer", In, [
81
- j(t.$slots, "footer", {}, void 0, !0)
81
+ M(t.$slots, "footer", {}, void 0, !0)
82
82
  ])) : L("", !0)
83
83
  ], 2));
84
84
  }
@@ -102,7 +102,7 @@ const be = /* @__PURE__ */ T({
102
102
  let h = null, y = null;
103
103
  const _ = E(null), b = E(null), $ = () => {
104
104
  p.value = r.value ? r.value.children.length : 0, p.value === 0 ? s.value = 0 : s.value >= p.value && (s.value = l ? 0 : p.value - 1), I();
105
- }, P = C(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + v.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), I = () => {
105
+ }, j = C(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + v.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), I = () => {
106
106
  r.value && Array.from(r.value.children).forEach((R, ye) => {
107
107
  try {
108
108
  ye === s.value ? R.removeAttribute("aria-hidden") : R.setAttribute("aria-hidden", "true");
@@ -203,9 +203,9 @@ const be = /* @__PURE__ */ T({
203
203
  class: "carousel-track",
204
204
  ref_key: "track",
205
205
  ref: r,
206
- style: G(P.value)
206
+ style: G(j.value)
207
207
  }, [
208
- j(R.$slots, "default", {}, void 0, !0)
208
+ M(R.$slots, "default", {}, void 0, !0)
209
209
  ], 4)
210
210
  ], 512),
211
211
  O(we, {
@@ -223,7 +223,7 @@ const be = /* @__PURE__ */ T({
223
223
  "aria-label": "Next slide"
224
224
  }, null, 8, ["icon"]),
225
225
  p.value > 1 ? (f(), g("div", Wn, [
226
- (f(!0), g(Z, null, ge(p.value, (Te) => (f(), M(we, {
226
+ (f(!0), g(Z, null, ge(p.value, (Te) => (f(), P(we, {
227
227
  key: Te - 1,
228
228
  class: z(["indicator", { active: Te - 1 === s.value }]),
229
229
  onClick: (Oi) => U(Te - 1),
@@ -235,7 +235,7 @@ const be = /* @__PURE__ */ T({
235
235
  ], 40, Un);
236
236
  };
237
237
  }
238
- }), Pi = /* @__PURE__ */ D(Nn, [["__scopeId", "data-v-232abca2"]]), Kn = { class: "checkbox" }, Xn = ["checked", "disabled"], Gn = {
238
+ }), ji = /* @__PURE__ */ D(Nn, [["__scopeId", "data-v-232abca2"]]), Kn = { class: "checkbox" }, Xn = ["checked", "disabled"], Gn = {
239
239
  key: 0,
240
240
  class: "checkbox-label"
241
241
  }, qn = /* @__PURE__ */ T({
@@ -316,7 +316,7 @@ const be = /* @__PURE__ */ T({
316
316
  e.label ? (f(), g("span", Zn, B(e.label), 1)) : L("", !0)
317
317
  ]));
318
318
  }
319
- }), ji = /* @__PURE__ */ D(eo, [["__scopeId", "data-v-f9e4bb65"]]), to = { class: "chip__label" }, no = /* @__PURE__ */ T({
319
+ }), Mi = /* @__PURE__ */ D(eo, [["__scopeId", "data-v-f9e4bb65"]]), to = { class: "chip__label" }, no = /* @__PURE__ */ T({
320
320
  __name: "chip",
321
321
  props: /* @__PURE__ */ ee({
322
322
  label: {},
@@ -495,7 +495,7 @@ const be = /* @__PURE__ */ T({
495
495
  document.removeEventListener("keydown", u);
496
496
  }), (d, v) => {
497
497
  const m = K("VjIcon"), p = K("VjButton"), w = K("VjCard");
498
- return f(), M(Pe, { to: "body" }, [
498
+ return f(), P(je, { to: "body" }, [
499
499
  O(Oe, { name: "dialog-fade" }, {
500
500
  default: W(() => [
501
501
  l.value ? (f(), g("div", {
@@ -525,12 +525,12 @@ const be = /* @__PURE__ */ T({
525
525
  ]),
526
526
  default: W(() => [
527
527
  x("div", fo, [
528
- e.component ? (f(), M(Kt(e.component), yn({ key: 0 }, e.componentProps, {
528
+ e.component ? (f(), P(Kt(e.component), yn({ key: 0 }, e.componentProps, {
529
529
  onCancel: s,
530
530
  onClose: a,
531
531
  onConfirm: c,
532
532
  onResolve: i
533
- }), null, 16)) : e.message ? (f(), g("div", vo, B(e.message), 1)) : j(d.$slots, "default", { key: 2 }, void 0, !0)
533
+ }), null, 16)) : e.message ? (f(), g("div", vo, B(e.message), 1)) : M(d.$slots, "default", { key: 2 }, void 0, !0)
534
534
  ])
535
535
  ]),
536
536
  _: 2
@@ -539,8 +539,8 @@ const be = /* @__PURE__ */ T({
539
539
  name: "footer",
540
540
  fn: W(() => [
541
541
  x("div", mo, [
542
- j(d.$slots, "footer", {}, () => [
543
- e.showCancel ? (f(), M(p, {
542
+ M(d.$slots, "footer", {}, () => [
543
+ e.showCancel ? (f(), P(p, {
544
544
  key: 0,
545
545
  secondary: "",
546
546
  onClick: s,
@@ -651,13 +651,13 @@ const be = /* @__PURE__ */ T({
651
651
  function Rt(e, n, t) {
652
652
  return J(e, $e(n, t));
653
653
  }
654
- function je(e, n) {
654
+ function Me(e, n) {
655
655
  return typeof e == "function" ? e(n) : e;
656
656
  }
657
657
  function pe(e) {
658
658
  return e.split("-")[0];
659
659
  }
660
- function Me(e) {
660
+ function Pe(e) {
661
661
  return e.split("-")[1];
662
662
  }
663
663
  function Jt(e) {
@@ -675,7 +675,7 @@ function Zt(e) {
675
675
  }
676
676
  function Co(e, n, t) {
677
677
  t === void 0 && (t = !1);
678
- const o = Me(e), l = Zt(e), a = Qt(l);
678
+ const o = Pe(e), l = Zt(e), a = Qt(l);
679
679
  let i = l === "x" ? o === (t ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
680
680
  return n.reference[a] > n.floating[a] && (i = Ne(i)), [i, Ne(i)];
681
681
  }
@@ -700,7 +700,7 @@ function So(e, n, t) {
700
700
  }
701
701
  }
702
702
  function Ro(e, n, t, o) {
703
- const l = Me(e);
703
+ const l = Pe(e);
704
704
  let a = So(pe(e), t === "start", o);
705
705
  return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(it)))), a;
706
706
  }
@@ -780,7 +780,7 @@ function Ot(e, n, t) {
780
780
  y: o.y
781
781
  };
782
782
  }
783
- switch (Me(n)) {
783
+ switch (Pe(n)) {
784
784
  case "start":
785
785
  m[i] -= v * (t && r ? -1 : 1);
786
786
  break;
@@ -813,7 +813,7 @@ const Oo = async (e, n, t) => {
813
813
  x: _,
814
814
  y: b,
815
815
  data: $,
816
- reset: P
816
+ reset: j
817
817
  } = await y({
818
818
  x: u,
819
819
  y: d,
@@ -834,11 +834,11 @@ const Oo = async (e, n, t) => {
834
834
  ...m[h],
835
835
  ...$
836
836
  }
837
- }, P && p <= 50 && (p++, typeof P == "object" && (P.placement && (v = P.placement), P.rects && (r = P.rects === !0 ? await i.getElementRects({
837
+ }, j && p <= 50 && (p++, typeof j == "object" && (j.placement && (v = j.placement), j.rects && (r = j.rects === !0 ? await i.getElementRects({
838
838
  reference: e,
839
839
  floating: n,
840
840
  strategy: l
841
- }) : P.rects), {
841
+ }) : j.rects), {
842
842
  x: u,
843
843
  y: d
844
844
  } = Ot(r, v, s)), w = -1);
@@ -867,7 +867,7 @@ async function vt(e, n) {
867
867
  elementContext: d = "floating",
868
868
  altBoundary: v = !1,
869
869
  padding: m = 0
870
- } = je(n, e), p = Ao(m), h = c[v ? d === "floating" ? "reference" : "floating" : d], y = Ke(await a.getClippingRect({
870
+ } = Me(n, e), p = Ao(m), h = c[v ? d === "floating" ? "reference" : "floating" : d], y = Ke(await a.getClippingRect({
871
871
  element: (t = await (a.isElement == null ? void 0 : a.isElement(h))) == null || t ? h : h.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(c.floating)),
872
872
  boundary: r,
873
873
  rootBoundary: u,
@@ -883,17 +883,17 @@ async function vt(e, n) {
883
883
  } : {
884
884
  x: 1,
885
885
  y: 1
886
- }, P = Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
886
+ }, j = Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
887
887
  elements: c,
888
888
  rect: _,
889
889
  offsetParent: b,
890
890
  strategy: s
891
891
  }) : _);
892
892
  return {
893
- top: (y.top - P.top + p.top) / $.y,
894
- bottom: (P.bottom - y.bottom + p.bottom) / $.y,
895
- left: (y.left - P.left + p.left) / $.x,
896
- right: (P.right - y.right + p.right) / $.x
893
+ top: (y.top - j.top + p.top) / $.y,
894
+ bottom: (j.bottom - y.bottom + p.bottom) / $.y,
895
+ left: (y.left - j.left + p.left) / $.x,
896
+ right: (j.right - y.right + p.right) / $.x
897
897
  };
898
898
  }
899
899
  const Do = function(e) {
@@ -917,12 +917,12 @@ const Do = function(e) {
917
917
  fallbackAxisSideDirection: p = "none",
918
918
  flipAlignment: w = !0,
919
919
  ...h
920
- } = je(e, n);
920
+ } = Me(e, n);
921
921
  if ((t = a.arrow) != null && t.alignmentOffset)
922
922
  return {};
923
- const y = pe(l), _ = fe(c), b = pe(c) === c, $ = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), P = v || (b || !w ? [Ne(c)] : Eo(c)), I = p !== "none";
924
- !v && I && P.push(...Ro(c, w, p, $));
925
- const k = [c, ...P], V = await vt(n, h), A = [];
923
+ const y = pe(l), _ = fe(c), b = pe(c) === c, $ = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), j = v || (b || !w ? [Ne(c)] : Eo(c)), I = p !== "none";
924
+ !v && I && j.push(...Ro(c, w, p, $));
925
+ const k = [c, ...j], V = await vt(n, h), A = [];
926
926
  let H = ((o = a.flip) == null ? void 0 : o.overflows) || [];
927
927
  if (u && A.push(V[y]), d) {
928
928
  const de = Co(l, i, $);
@@ -978,12 +978,12 @@ const Do = function(e) {
978
978
  }
979
979
  };
980
980
  }, Bo = /* @__PURE__ */ new Set(["left", "top"]);
981
- async function Po(e, n) {
981
+ async function jo(e, n) {
982
982
  const {
983
983
  placement: t,
984
984
  platform: o,
985
985
  elements: l
986
- } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), c = Me(t), s = fe(t) === "y", r = Bo.has(i) ? -1 : 1, u = a && s ? -1 : 1, d = je(n, e);
986
+ } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), c = Pe(t), s = fe(t) === "y", r = Bo.has(i) ? -1 : 1, u = a && s ? -1 : 1, d = Me(n, e);
987
987
  let {
988
988
  mainAxis: v,
989
989
  crossAxis: m,
@@ -1005,7 +1005,7 @@ async function Po(e, n) {
1005
1005
  y: m * u
1006
1006
  };
1007
1007
  }
1008
- const jo = function(e) {
1008
+ const Mo = function(e) {
1009
1009
  return e === void 0 && (e = 0), {
1010
1010
  name: "offset",
1011
1011
  options: e,
@@ -1016,7 +1016,7 @@ const jo = function(e) {
1016
1016
  y: a,
1017
1017
  placement: i,
1018
1018
  middlewareData: c
1019
- } = n, s = await Po(n, e);
1019
+ } = n, s = await jo(n, e);
1020
1020
  return i === ((t = c.offset) == null ? void 0 : t.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
1021
1021
  x: l + s.x,
1022
1022
  y: a + s.y,
@@ -1027,7 +1027,7 @@ const jo = function(e) {
1027
1027
  };
1028
1028
  }
1029
1029
  };
1030
- }, Mo = function(e) {
1030
+ }, Po = function(e) {
1031
1031
  return e === void 0 && (e = {}), {
1032
1032
  name: "shift",
1033
1033
  options: e,
@@ -1052,7 +1052,7 @@ const jo = function(e) {
1052
1052
  }
1053
1053
  },
1054
1054
  ...s
1055
- } = je(e, n), r = {
1055
+ } = Me(e, n), r = {
1056
1056
  x: t,
1057
1057
  y: o
1058
1058
  }, u = await vt(n, s), d = fe(pe(l)), v = Jt(d);
@@ -1098,14 +1098,14 @@ const jo = function(e) {
1098
1098
  apply: s = () => {
1099
1099
  },
1100
1100
  ...r
1101
- } = je(e, n), u = await vt(n, r), d = pe(l), v = Me(l), m = fe(l) === "y", {
1101
+ } = Me(e, n), u = await vt(n, r), d = pe(l), v = Pe(l), m = fe(l) === "y", {
1102
1102
  width: p,
1103
1103
  height: w
1104
1104
  } = a.floating;
1105
1105
  let h, y;
1106
1106
  d === "top" || d === "bottom" ? (h = d, y = v === (await (i.isRTL == null ? void 0 : i.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (y = d, h = v === "end" ? "top" : "bottom");
1107
- const _ = w - u.top - u.bottom, b = p - u.left - u.right, $ = $e(w - u[h], _), P = $e(p - u[y], b), I = !n.middlewareData.shift;
1108
- let k = $, V = P;
1107
+ const _ = w - u.top - u.bottom, b = p - u.left - u.right, $ = $e(w - u[h], _), j = $e(p - u[y], b), I = !n.middlewareData.shift;
1108
+ let k = $, V = j;
1109
1109
  if ((t = n.middlewareData.shift) != null && t.enabled.x && (V = b), (o = n.middlewareData.shift) != null && o.enabled.y && (k = _), I && !v) {
1110
1110
  const H = J(u.left, 0), U = J(u.right, 0), ce = J(u.top, 0), ue = J(u.bottom, 0);
1111
1111
  m ? V = p - 2 * (H !== 0 || U !== 0 ? H + U : J(u.left, u.right)) : k = w - 2 * (ce !== 0 || ue !== 0 ? ce + ue : J(u.top, u.bottom));
@@ -1382,7 +1382,7 @@ function nl(e, n) {
1382
1382
  y: r
1383
1383
  };
1384
1384
  }
1385
- function Pt(e, n, t) {
1385
+ function jt(e, n, t) {
1386
1386
  let o;
1387
1387
  if (n === "viewport")
1388
1388
  o = el(e, t);
@@ -1426,9 +1426,9 @@ function ll(e) {
1426
1426
  strategy: l
1427
1427
  } = e;
1428
1428
  const i = [...t === "clippingAncestors" ? qe(n) ? [] : ol(n, this._c) : [].concat(t), o], c = i[0], s = i.reduce((r, u) => {
1429
- const d = Pt(n, u, l);
1429
+ const d = jt(n, u, l);
1430
1430
  return r.top = J(d.top, r.top), r.right = $e(d.right, r.right), r.bottom = $e(d.bottom, r.bottom), r.left = J(d.left, r.left), r;
1431
- }, Pt(n, c, l));
1431
+ }, jt(n, c, l));
1432
1432
  return {
1433
1433
  width: s.right - s.left,
1434
1434
  height: s.bottom - s.top,
@@ -1473,7 +1473,7 @@ function il(e, n, t) {
1473
1473
  function ot(e) {
1474
1474
  return le(e).position === "static";
1475
1475
  }
1476
- function jt(e, n) {
1476
+ function Mt(e, n) {
1477
1477
  if (!se(e) || le(e).position === "fixed")
1478
1478
  return null;
1479
1479
  if (n)
@@ -1494,9 +1494,9 @@ function an(e, n) {
1494
1494
  }
1495
1495
  return t;
1496
1496
  }
1497
- let o = jt(e, n);
1497
+ let o = Mt(e, n);
1498
1498
  for (; o && Ho(o) && ot(o); )
1499
- o = jt(o, n);
1499
+ o = Mt(o, n);
1500
1500
  return o && Se(o) && ot(o) && !pt(o) ? t : o || Xo(e) || t;
1501
1501
  }
1502
1502
  const sl = async function(e) {
@@ -1551,7 +1551,7 @@ function ul(e, n) {
1551
1551
  threshold: J(0, $e(1, s)) || 1
1552
1552
  };
1553
1553
  let $ = !0;
1554
- function P(I) {
1554
+ function j(I) {
1555
1555
  const k = I[0].intersectionRatio;
1556
1556
  if (k !== s) {
1557
1557
  if (!$)
@@ -1563,13 +1563,13 @@ function ul(e, n) {
1563
1563
  k === 1 && !sn(r, e.getBoundingClientRect()) && i(), $ = !1;
1564
1564
  }
1565
1565
  try {
1566
- t = new IntersectionObserver(P, {
1566
+ t = new IntersectionObserver(j, {
1567
1567
  ...b,
1568
1568
  // Handle <iframe>s
1569
1569
  root: l.ownerDocument
1570
1570
  });
1571
1571
  } catch {
1572
- t = new IntersectionObserver(P, b);
1572
+ t = new IntersectionObserver(j, b);
1573
1573
  }
1574
1574
  t.observe(e);
1575
1575
  }
@@ -1611,7 +1611,7 @@ function Qe(e, n, t, o) {
1611
1611
  }), d?.(), (y = m) == null || y.disconnect(), m = null, s && cancelAnimationFrame(p);
1612
1612
  };
1613
1613
  }
1614
- const Ze = jo, et = Mo, tt = Do, dl = Fo, rn = (e, n, t) => {
1614
+ const Ze = Mo, et = Po, tt = Do, dl = Fo, rn = (e, n, t) => {
1615
1615
  const o = /* @__PURE__ */ new Map(), l = {
1616
1616
  platform: cl,
1617
1617
  ...t
@@ -1627,7 +1627,7 @@ const Ze = jo, et = Mo, tt = Do, dl = Fo, rn = (e, n, t) => {
1627
1627
  function fl(e) {
1628
1628
  return e != null && typeof e == "object" && "$el" in e;
1629
1629
  }
1630
- function Mt(e) {
1630
+ function Pt(e) {
1631
1631
  if (fl(e)) {
1632
1632
  const n = e.$el;
1633
1633
  return mt(n) && xe(n) === "#comment" ? null : n;
@@ -1658,7 +1658,7 @@ function bt(e, n, t) {
1658
1658
  }), s = C(() => {
1659
1659
  var k;
1660
1660
  return (k = Ae(t.transform)) != null ? k : !0;
1661
- }), r = C(() => Mt(e.value)), u = C(() => Mt(n.value)), d = E(0), v = E(0), m = E(c.value), p = E(i.value), w = wn({}), h = E(!1), y = C(() => {
1661
+ }), r = C(() => Pt(e.value)), u = C(() => Pt(n.value)), d = E(0), v = E(0), m = E(c.value), p = E(i.value), w = wn({}), h = E(!1), y = C(() => {
1662
1662
  const k = {
1663
1663
  position: m.value,
1664
1664
  left: "0",
@@ -1695,7 +1695,7 @@ function bt(e, n, t) {
1695
1695
  function $() {
1696
1696
  typeof _ == "function" && (_(), _ = void 0);
1697
1697
  }
1698
- function P() {
1698
+ function j() {
1699
1699
  if ($(), o === void 0) {
1700
1700
  b();
1701
1701
  return;
@@ -1710,7 +1710,7 @@ function bt(e, n, t) {
1710
1710
  }
1711
1711
  return X([a, i, c, l], b, {
1712
1712
  flush: "sync"
1713
- }), X([r, u], P, {
1713
+ }), X([r, u], j, {
1714
1714
  flush: "sync"
1715
1715
  }), X(l, I, {
1716
1716
  flush: "sync"
@@ -1760,7 +1760,7 @@ const vl = /* @__PURE__ */ T({
1760
1760
  }, null, 8, ["icon"]),
1761
1761
  O(Oe, { name: "menu" }, {
1762
1762
  default: W(() => [
1763
- t.value ? (f(), M(m, {
1763
+ t.value ? (f(), P(m, {
1764
1764
  key: 0,
1765
1765
  ref_key: "floatingRef",
1766
1766
  ref: l,
@@ -1770,7 +1770,7 @@ const vl = /* @__PURE__ */ T({
1770
1770
  onClickCapture: r
1771
1771
  }, {
1772
1772
  default: W(() => [
1773
- j(u.$slots, "default", {}, void 0, !0)
1773
+ M(u.$slots, "default", {}, void 0, !0)
1774
1774
  ]),
1775
1775
  _: 3
1776
1776
  }, 8, ["style"])) : L("", !0)
@@ -1778,7 +1778,7 @@ const vl = /* @__PURE__ */ T({
1778
1778
  _: 3
1779
1779
  })
1780
1780
  ], 2),
1781
- (f(), M(Pe, { to: "body" }, [
1781
+ (f(), P(je, { to: "body" }, [
1782
1782
  t.value ? (f(), g("div", {
1783
1783
  key: 0,
1784
1784
  class: "menu-backdrop",
@@ -1803,13 +1803,13 @@ const vl = /* @__PURE__ */ T({
1803
1803
  const n = e, t = q.S, o = C(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
1804
1804
  return (l, a) => {
1805
1805
  const i = K("router-link");
1806
- return f(), M(i, {
1806
+ return f(), P(i, {
1807
1807
  to: e.to,
1808
1808
  class: z(["button", o.value]),
1809
1809
  disabled: e.disabled
1810
1810
  }, {
1811
1811
  default: W(() => [
1812
- e.icon ? (f(), M(be, {
1812
+ e.icon ? (f(), P(be, {
1813
1813
  key: 0,
1814
1814
  icon: e.icon,
1815
1815
  size: S(t)
@@ -1834,7 +1834,7 @@ const vl = /* @__PURE__ */ T({
1834
1834
  disabled: e.disabled
1835
1835
  }, [
1836
1836
  x("span", bl, [
1837
- e.icon ? (f(), M(be, {
1837
+ e.icon ? (f(), P(be, {
1838
1838
  key: 0,
1839
1839
  icon: e.icon,
1840
1840
  size: S(n)
@@ -1846,7 +1846,7 @@ const vl = /* @__PURE__ */ T({
1846
1846
  }), wl = /* @__PURE__ */ D(yl, [["__scopeId", "data-v-07850995"]]), _l = {}, xl = { class: "menu" };
1847
1847
  function kl(e, n) {
1848
1848
  return f(), g("div", xl, [
1849
- j(e.$slots, "default", {}, void 0, !0)
1849
+ M(e.$slots, "default", {}, void 0, !0)
1850
1850
  ]);
1851
1851
  }
1852
1852
  const Vl = /* @__PURE__ */ D(_l, [["render", kl], ["__scopeId", "data-v-259fec08"]]), Cl = {
@@ -2096,7 +2096,7 @@ const fn = {
2096
2096
  n.tooltip && n.tooltip.parentElement && n.tooltip.parentElement.removeChild(n.tooltip), n.onPointerEnter && e.removeEventListener("pointerenter", n.onPointerEnter), n.onPointerLeave && e.removeEventListener("pointerleave", n.onPointerLeave), n.onFocus && e.removeEventListener("focus", n.onFocus), n.onBlur && e.removeEventListener("blur", n.onBlur), n.onPointerDown && e.removeEventListener("pointerdown", n.onPointerDown), n.docHandler && document.removeEventListener("pointerdown", n.docHandler), e.__vjTooltip = void 0;
2097
2097
  }
2098
2098
  }
2099
- }, Pl = { class: "notification__icon" }, jl = { class: "notification__message" }, Ml = { class: "notification__title" }, Fl = { class: "notification__text" }, zl = /* @__PURE__ */ T({
2099
+ }, jl = { class: "notification__icon" }, Ml = { class: "notification__message" }, Pl = { class: "notification__title" }, Fl = { class: "notification__text" }, zl = /* @__PURE__ */ T({
2100
2100
  __name: "notification",
2101
2101
  props: {
2102
2102
  type: {},
@@ -2123,11 +2123,11 @@ const fn = {
2123
2123
  class: z(["notification", `notification--${e.type}`]),
2124
2124
  onClick: a
2125
2125
  }, [
2126
- x("div", Pl, [
2126
+ x("div", jl, [
2127
2127
  O(be, { icon: l.value }, null, 8, ["icon"])
2128
2128
  ]),
2129
- x("div", jl, [
2130
- x("div", Ml, B(e.title), 1),
2129
+ x("div", Ml, [
2130
+ x("div", Pl, B(e.title), 1),
2131
2131
  x("div", Fl, B(e.message), 1)
2132
2132
  ]),
2133
2133
  O(dt, {
@@ -2167,7 +2167,7 @@ const fn = {
2167
2167
  return ct((f(), g("div", Il, [
2168
2168
  x("header", null, [
2169
2169
  x("div", Hl, [
2170
- e.backLabel ? (f(), M(s, {
2170
+ e.backLabel ? (f(), P(s, {
2171
2171
  key: 0,
2172
2172
  tertiary: "",
2173
2173
  icon: S(F).BACK,
@@ -2180,14 +2180,14 @@ const fn = {
2180
2180
  ])
2181
2181
  ]),
2182
2182
  x("div", Nl, [
2183
- j(i.$slots, "headerActions", {}, void 0, !0)
2183
+ M(i.$slots, "headerActions", {}, void 0, !0)
2184
2184
  ])
2185
2185
  ]),
2186
2186
  x("main", {
2187
2187
  class: z({ scrollable: e.scrollable })
2188
2188
  }, [
2189
2189
  a.value ? (f(), g("div", Kl, [
2190
- j(i.$slots, "error", {}, () => [
2190
+ M(i.$slots, "error", {}, () => [
2191
2191
  O(wt, {
2192
2192
  type: "error",
2193
2193
  title: a.value,
@@ -2196,17 +2196,17 @@ const fn = {
2196
2196
  ], !0)
2197
2197
  ])) : L("", !0),
2198
2198
  a.value ? L("", !0) : (f(), g("div", Xl, [
2199
- j(i.$slots, "default", {}, void 0, !0)
2199
+ M(i.$slots, "default", {}, void 0, !0)
2200
2200
  ])),
2201
2201
  a.value ? L("", !0) : (f(), g("div", Gl, [
2202
- j(i.$slots, "actions", {}, void 0, !0)
2202
+ M(i.$slots, "actions", {}, void 0, !0)
2203
2203
  ])),
2204
2204
  i.$slots.flexFooter ? (f(), g("footer", ql, [
2205
- j(i.$slots, "flexFooter", {}, void 0, !0)
2205
+ M(i.$slots, "flexFooter", {}, void 0, !0)
2206
2206
  ])) : L("", !0)
2207
2207
  ], 2),
2208
2208
  i.$slots.footer ? (f(), g("footer", Yl, [
2209
- j(i.$slots, "footer", {}, void 0, !0)
2209
+ M(i.$slots, "footer", {}, void 0, !0)
2210
2210
  ])) : L("", !0)
2211
2211
  ])), [
2212
2212
  [r, { active: o.value, text: t.loadingMessage }]
@@ -2258,7 +2258,7 @@ const fn = {
2258
2258
  onClick: p,
2259
2259
  "aria-label": "Previous page"
2260
2260
  }, null, 8, ["icon", "disabled"]),
2261
- j(y.$slots, "info", {
2261
+ M(y.$slots, "info", {
2262
2262
  current: i.value,
2263
2263
  totalPages: a.value,
2264
2264
  goTo: v
@@ -2386,7 +2386,7 @@ const fn = {
2386
2386
  }, null, 4)
2387
2387
  ], 512),
2388
2388
  x("div", da, [
2389
- j(r.$slots, "default", {}, void 0, !0)
2389
+ M(r.$slots, "default", {}, void 0, !0)
2390
2390
  ])
2391
2391
  ]));
2392
2392
  }
@@ -2404,7 +2404,7 @@ const fn = {
2404
2404
  return Be(() => {
2405
2405
  t?.registerTab(n.name, n.label);
2406
2406
  }), (l, a) => o.value ? (f(), g("div", ma, [
2407
- j(l.$slots, "default")
2407
+ M(l.$slots, "default")
2408
2408
  ])) : L("", !0);
2409
2409
  }
2410
2410
  }), ha = ["onKeydown"], ga = /* @__PURE__ */ T({
@@ -2464,7 +2464,7 @@ const fn = {
2464
2464
  ], 64))
2465
2465
  ], 34));
2466
2466
  }
2467
- }), Mi = /* @__PURE__ */ D(ga, [["__scopeId", "data-v-cdc52c5b"]]), ba = "200% 200%", ya = /* @__PURE__ */ T({
2467
+ }), Pi = /* @__PURE__ */ D(ga, [["__scopeId", "data-v-cdc52c5b"]]), ba = "200% 200%", ya = /* @__PURE__ */ T({
2468
2468
  __name: "skeleton",
2469
2469
  props: {
2470
2470
  width: {},
@@ -2489,7 +2489,8 @@ const fn = {
2489
2489
  props: {
2490
2490
  amount: {},
2491
2491
  maxAmount: {},
2492
- segments: {}
2492
+ segments: {},
2493
+ colorMode: { default: "monochrome" }
2493
2494
  },
2494
2495
  setup(e) {
2495
2496
  const n = e, t = C(() => n.amount / n.maxAmount * 100), o = (a) => {
@@ -2498,12 +2499,19 @@ const fn = {
2498
2499
  return t.value > c;
2499
2500
  }, l = (a) => (160 - a / (n.segments - 1 || 1) * 160).toString();
2500
2501
  return (a, i) => (f(), g("div", {
2501
- class: z(["amount-bar", { "amount-bar--segmented": e.segments }])
2502
+ class: z([
2503
+ "amount-bar",
2504
+ {
2505
+ "amount-bar--segmented": e.segments,
2506
+ "amount-bar--hue-gradient": e.segments && e.colorMode === "hue-gradient",
2507
+ "amount-bar--monochrome": e.segments && e.colorMode === "monochrome"
2508
+ }
2509
+ ])
2502
2510
  }, [
2503
2511
  e.segments ? (f(!0), g(Z, { key: 0 }, ge(Array.from({ length: e.segments }), (c, s) => (f(), g("div", {
2504
2512
  key: s,
2505
2513
  class: z(["amount-bar__segment", { "amount-bar__segment--filled": o(s) }]),
2506
- style: G({ "--segment-hue": l(s) })
2514
+ style: G(o(s) && e.colorMode === "hue-gradient" ? { backgroundColor: `hsl(${l(s)}, 100%, 45%)` } : {})
2507
2515
  }, null, 6))), 128)) : (f(), g("div", {
2508
2516
  key: 1,
2509
2517
  class: "amount-bar__fill",
@@ -2511,7 +2519,7 @@ const fn = {
2511
2519
  }, null, 4))
2512
2520
  ], 2));
2513
2521
  }
2514
- }), xa = /* @__PURE__ */ D(_a, [["__scopeId", "data-v-f85c6d8c"]]), vn = {
2522
+ }), xa = /* @__PURE__ */ D(_a, [["__scopeId", "data-v-7e89d03f"]]), vn = {
2515
2523
  form: {
2516
2524
  labelPosition: "inline",
2517
2525
  appearance: "bordered"
@@ -2608,7 +2616,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2608
2616
  class: "form-field__label-outline"
2609
2617
  }, B(e.label), 9, Va)) : L("", !0),
2610
2618
  x("div", Ca, [
2611
- j(p.$slots, "control", {
2619
+ M(p.$slots, "control", {
2612
2620
  id: i.value,
2613
2621
  value: l.value,
2614
2622
  onInput: d,
@@ -2668,7 +2676,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2668
2676
  class: "form-layout",
2669
2677
  style: G({ gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`, gap: e.gap })
2670
2678
  }, [
2671
- j(a.$slots, "default", {}, void 0, !0)
2679
+ M(a.$slots, "default", {}, void 0, !0)
2672
2680
  ], 4));
2673
2681
  }
2674
2682
  }), Ta = /* @__PURE__ */ D(Ra, [["__scopeId", "data-v-96f62ab7"]]), Aa = {
@@ -2683,13 +2691,13 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2683
2691
  setup(e) {
2684
2692
  return (n, t) => (f(), g(Z, null, [
2685
2693
  e.title ? (f(), g("h3", Aa, B(e.title), 1)) : L("", !0),
2686
- j(n.$slots, "default", {}, void 0, !0)
2694
+ M(n.$slots, "default", {}, void 0, !0)
2687
2695
  ], 64));
2688
2696
  }
2689
- }), Da = /* @__PURE__ */ D(Oa, [["__scopeId", "data-v-69cff1d0"]]), Ba = ["id", "disabled"], Pa = { class: "select-value" }, ja = {
2697
+ }), Da = /* @__PURE__ */ D(Oa, [["__scopeId", "data-v-69cff1d0"]]), Ba = ["id", "disabled"], ja = { class: "select-value" }, Ma = {
2690
2698
  key: 1,
2691
2699
  class: "select-placeholder"
2692
- }, Ma = { class: "select-options" }, Fa = ["onClick", "onMouseenter"], za = /* @__PURE__ */ T({
2700
+ }, Pa = { class: "select-options" }, Fa = ["onClick", "onMouseenter"], za = /* @__PURE__ */ T({
2693
2701
  inheritAttrs: !1,
2694
2702
  __name: "select",
2695
2703
  props: /* @__PURE__ */ ee({
@@ -2743,7 +2751,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2743
2751
  focus: () => c.value?.focus(),
2744
2752
  blur: () => c.value?.blur()
2745
2753
  }), (b, $) => {
2746
- const P = K("VjIcon");
2754
+ const j = K("VjIcon");
2747
2755
  return f(), g(Z, null, [
2748
2756
  x("div", {
2749
2757
  ref_key: "selectRef",
@@ -2759,28 +2767,28 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2759
2767
  onClick: p,
2760
2768
  disabled: e.disabled
2761
2769
  }, [
2762
- t.icon ? (f(), M(P, {
2770
+ t.icon ? (f(), P(j, {
2763
2771
  key: 0,
2764
2772
  icon: t.icon,
2765
2773
  size: S(q).S,
2766
2774
  class: "select-icon-left"
2767
2775
  }, null, 8, ["icon", "size"])) : L("", !0),
2768
- x("span", Pa, [
2769
- v.value ? j(b.$slots, "selected", {
2776
+ x("span", ja, [
2777
+ v.value ? M(b.$slots, "selected", {
2770
2778
  key: 0,
2771
2779
  option: v.value
2772
2780
  }, () => [
2773
2781
  Ue(B(u(v.value)), 1)
2774
- ], !0) : (f(), g("span", ja, B(e.placeholder), 1))
2782
+ ], !0) : (f(), g("span", Ma, B(e.placeholder), 1))
2775
2783
  ]),
2776
- t.clearable && v.value && !e.disabled ? (f(), M(P, {
2784
+ t.clearable && v.value && !e.disabled ? (f(), P(j, {
2777
2785
  key: 1,
2778
2786
  icon: S(F).CLOSE,
2779
2787
  size: S(q).S,
2780
2788
  class: "select-clear-icon",
2781
2789
  onClick: N(y, ["stop"])
2782
2790
  }, null, 8, ["icon", "size"])) : L("", !0),
2783
- O(P, {
2791
+ O(j, {
2784
2792
  icon: S(F).CHEVRON_DOWN,
2785
2793
  size: S(q).S,
2786
2794
  class: z(["select-icon-right", { open: l.value }])
@@ -2795,14 +2803,14 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2795
2803
  style: G(S(r)),
2796
2804
  class: "select-dropdown"
2797
2805
  }, [
2798
- x("div", Ma, [
2806
+ x("div", Pa, [
2799
2807
  (f(!0), g(Z, null, ge(e.options, (I, k) => (f(), g("div", {
2800
2808
  key: String(d(I)),
2801
2809
  class: z(["select-option", { selected: m(I), highlighted: a.value === k }]),
2802
2810
  onClick: (V) => h(I),
2803
2811
  onMouseenter: (V) => a.value = k
2804
2812
  }, [
2805
- j(b.$slots, "option", {
2813
+ M(b.$slots, "option", {
2806
2814
  option: I,
2807
2815
  selected: m(I)
2808
2816
  }, () => [
@@ -2815,7 +2823,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2815
2823
  _: 3
2816
2824
  })
2817
2825
  ], 2),
2818
- (f(), M(Pe, { to: "body" }, [
2826
+ (f(), P(je, { to: "body" }, [
2819
2827
  l.value ? (f(), g("div", {
2820
2828
  key: 0,
2821
2829
  class: "select-backdrop",
@@ -2854,7 +2862,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2854
2862
  const a = (i) => {
2855
2863
  l.value = i, o("update:modelValue", i);
2856
2864
  };
2857
- return (i, c) => (f(), M(ze, {
2865
+ return (i, c) => (f(), P(ze, {
2858
2866
  modelValue: l.value,
2859
2867
  "onUpdate:modelValue": a,
2860
2868
  label: t.label,
@@ -2887,14 +2895,14 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2887
2895
  i.$slots.selected ? {
2888
2896
  name: "selected",
2889
2897
  fn: W(({ option: d }) => [
2890
- j(i.$slots, "selected", { option: d })
2898
+ M(i.$slots, "selected", { option: d })
2891
2899
  ]),
2892
2900
  key: "0"
2893
2901
  } : void 0,
2894
2902
  i.$slots.option ? {
2895
2903
  name: "option",
2896
2904
  fn: W(({ option: d }) => [
2897
- j(i.$slots, "option", { option: d })
2905
+ M(i.$slots, "option", { option: d })
2898
2906
  ]),
2899
2907
  key: "1"
2900
2908
  } : void 0
@@ -2943,7 +2951,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2943
2951
  k.target.releasePointerCapture(k.pointerId);
2944
2952
  } catch {
2945
2953
  }
2946
- p = null, w = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", y), P();
2954
+ p = null, w = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", y), j();
2947
2955
  }, _ = (k) => {
2948
2956
  if (!p || !l.value) return;
2949
2957
  const V = l.value.getBoundingClientRect(), A = c(k.clientX - V.left, 0, V.width), H = t.min + A / V.width * (t.max - t.min), U = Math.round(H / t.step) * t.step;
@@ -2956,7 +2964,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2956
2964
  ce <= ue ? s.value = Math.min(U, r.value) : r.value = Math.max(U, s.value);
2957
2965
  } else
2958
2966
  s.value = c(U, t.min, t.max);
2959
- P();
2967
+ j();
2960
2968
  }, $ = (k, V) => {
2961
2969
  const A = t.step, H = V.key === "ArrowLeft" || V.key === "ArrowDown" ? -1 : V.key === "ArrowRight" || V.key === "ArrowUp" ? 1 : 0;
2962
2970
  if (H) {
@@ -2967,9 +2975,9 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2967
2975
  const U = c(r.value + H * A, t.range ? s.value : t.max, t.max);
2968
2976
  r.value = U, i.value = !0, setTimeout(() => i.value = !1, 800);
2969
2977
  }
2970
- P();
2978
+ j();
2971
2979
  }
2972
- }, P = () => {
2980
+ }, j = () => {
2973
2981
  t.range ? (o("update:modelValue", [s.value, r.value]), o("change", [s.value, r.value])) : (o("update:modelValue", s.value), o("change", s.value));
2974
2982
  };
2975
2983
  Re(() => {
@@ -3062,7 +3070,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3062
3070
  const s = typeof c == "number" ? c : Number(c ?? 0);
3063
3071
  a.value = Number.isNaN(s) ? 0 : s, o("update:modelValue", a.value), o("input", a.value);
3064
3072
  };
3065
- return (c, s) => (f(), M(ze, {
3073
+ return (c, s) => (f(), P(ze, {
3066
3074
  modelValue: a.value,
3067
3075
  "onUpdate:modelValue": i,
3068
3076
  label: t.label,
@@ -3121,7 +3129,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3121
3129
  return (r, u) => {
3122
3130
  const d = K("VjIcon");
3123
3131
  return f(), g("div", qa, [
3124
- e.icon ? (f(), M(d, {
3132
+ e.icon ? (f(), P(d, {
3125
3133
  key: 0,
3126
3134
  icon: e.icon,
3127
3135
  size: S(q).S,
@@ -3136,7 +3144,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3136
3144
  disabled: e.disabled,
3137
3145
  rows: e.rows
3138
3146
  }, null, 40, Ya),
3139
- e.clearable && !e.disabled ? (f(), M(d, {
3147
+ e.clearable && !e.disabled ? (f(), P(d, {
3140
3148
  key: 1,
3141
3149
  class: z(["clear-icon", { invisible: s.value }]),
3142
3150
  icon: S(F).CLOSE,
@@ -3171,7 +3179,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3171
3179
  const u = t.modelValue;
3172
3180
  return u == null ? "" : String(u);
3173
3181
  });
3174
- return (u, d) => (f(), M(ze, {
3182
+ return (u, d) => (f(), P(ze, {
3175
3183
  modelValue: t.modelValue,
3176
3184
  "onUpdate:modelValue": l,
3177
3185
  onInput: a,
@@ -3235,7 +3243,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3235
3243
  return (r, u) => {
3236
3244
  const d = K("VjIcon");
3237
3245
  return f(), g("div", Za, [
3238
- e.icon ? (f(), M(d, {
3246
+ e.icon ? (f(), P(d, {
3239
3247
  key: 0,
3240
3248
  icon: e.icon,
3241
3249
  size: S(q).S
@@ -3249,7 +3257,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3249
3257
  placeholder: e.placeholder,
3250
3258
  disabled: e.disabled
3251
3259
  }, null, 40, ei),
3252
- e.clearable && !e.disabled ? (f(), M(d, {
3260
+ e.clearable && !e.disabled ? (f(), P(d, {
3253
3261
  key: 1,
3254
3262
  class: z(["clear-icon", { invisible: s.value }]),
3255
3263
  icon: S(F).CLOSE,
@@ -3281,7 +3289,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3281
3289
  const t = e, o = n, l = (r) => o("update:modelValue", r), a = (r) => o("input", r), i = (r) => o("focus", r), c = (r) => o("blur", r), s = (r) => {
3282
3290
  l(r ?? "");
3283
3291
  };
3284
- return (r, u) => (f(), M(ze, {
3292
+ return (r, u) => (f(), P(ze, {
3285
3293
  modelValue: e.modelValue,
3286
3294
  "onUpdate:modelValue": l,
3287
3295
  onInput: a,
@@ -3353,7 +3361,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3353
3361
  }), (v, m) => {
3354
3362
  const p = K("VjIcon"), w = K("RouterLink"), h = K("VjMenu");
3355
3363
  return f(), g("li", oi, [
3356
- e.to ? (f(), M(w, {
3364
+ e.to ? (f(), P(w, {
3357
3365
  key: 0,
3358
3366
  to: e.to,
3359
3367
  class: "shell-navigation-item-link"
@@ -3383,7 +3391,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3383
3391
  ], 8, ii),
3384
3392
  O(Oe, { name: "menu" }, {
3385
3393
  default: W(() => [
3386
- o.value ? (f(), M(h, {
3394
+ o.value ? (f(), P(h, {
3387
3395
  key: 0,
3388
3396
  ref_key: "floatingRef",
3389
3397
  ref: a,
@@ -3393,14 +3401,14 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3393
3401
  onClick: N(r, ["stop"])
3394
3402
  }, {
3395
3403
  default: W(() => [
3396
- j(v.$slots, "default", {}, void 0, !0)
3404
+ M(v.$slots, "default", {}, void 0, !0)
3397
3405
  ]),
3398
3406
  _: 3
3399
3407
  }, 8, ["style"])) : L("", !0)
3400
3408
  ]),
3401
3409
  _: 3
3402
3410
  }),
3403
- (f(), M(Pe, { to: "body" }, [
3411
+ (f(), P(je, { to: "body" }, [
3404
3412
  o.value ? (f(), g("div", {
3405
3413
  key: 0,
3406
3414
  class: "menu-backdrop",
@@ -3424,13 +3432,13 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3424
3432
  class: z(["shell-navigation", { "with-labels": t.value }])
3425
3433
  }, [
3426
3434
  x("ul", ui, [
3427
- S(n).hasParent && S(n).backRoute.value ? (f(), M(a, {
3435
+ S(n).hasParent && S(n).backRoute.value ? (f(), P(a, {
3428
3436
  key: 0,
3429
3437
  to: S(n).backRoute.value,
3430
3438
  label: "BACK",
3431
3439
  icon: S(F).HOME
3432
3440
  }, null, 8, ["to", "icon"])) : L("", !0),
3433
- (f(!0), g(Z, null, ge(S(n).childRoutes.value, (i) => (f(), M(a, {
3441
+ (f(!0), g(Z, null, ge(S(n).childRoutes.value, (i) => (f(), P(a, {
3434
3442
  key: i.name,
3435
3443
  to: { name: i.name },
3436
3444
  label: i.meta.label,
@@ -3438,7 +3446,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3438
3446
  }, null, 8, ["to", "label", "icon"]))), 128))
3439
3447
  ]),
3440
3448
  o.$slots.fixed ? (f(), g("ul", di, [
3441
- j(o.$slots, "fixed", {}, void 0, !0)
3449
+ M(o.$slots, "fixed", {}, void 0, !0)
3442
3450
  ])) : L("", !0)
3443
3451
  ], 2);
3444
3452
  };
@@ -3468,30 +3476,30 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3468
3476
  x("h1", null, B(e.title), 1)
3469
3477
  ]),
3470
3478
  x("div", hi, [
3471
- j(i.$slots, "header-actions", {}, void 0, !0)
3479
+ M(i.$slots, "header-actions", {}, void 0, !0)
3472
3480
  ])
3473
3481
  ]),
3474
3482
  x("div", {
3475
3483
  class: z(["shell-content", { "with-navigation": e.showNavigation }])
3476
3484
  }, [
3477
- e.showNavigation ? (f(), M(S(gn), { key: 0 }, rt({ _: 2 }, [
3485
+ e.showNavigation ? (f(), P(S(gn), { key: 0 }, rt({ _: 2 }, [
3478
3486
  i.$slots?.["navigation-fixed"] ? {
3479
3487
  name: "fixed",
3480
3488
  fn: W(() => [
3481
- j(i.$slots, "navigation-fixed", {}, void 0, !0)
3489
+ M(i.$slots, "navigation-fixed", {}, void 0, !0)
3482
3490
  ]),
3483
3491
  key: "0"
3484
3492
  } : void 0
3485
3493
  ]), 1024)) : L("", !0),
3486
3494
  x("main", null, [
3487
- j(i.$slots, "default", {}, () => [
3495
+ M(i.$slots, "default", {}, () => [
3488
3496
  O(s)
3489
3497
  ], !0)
3490
3498
  ]),
3491
3499
  x("aside", {
3492
3500
  class: z({ "aside-visible": o.value })
3493
3501
  }, [
3494
- (f(), M(Kt(t.value), Vn(Cn(a.value)), null, 16))
3502
+ (f(), P(Kt(t.value), Vn(Cn(a.value)), null, 16))
3495
3503
  ], 2)
3496
3504
  ], 2),
3497
3505
  c[0] || (c[0] = x("footer", null, null, -1))
@@ -3569,11 +3577,11 @@ const Ut = new yi(), wi = { class: "notifications" }, _i = /* @__PURE__ */ T({
3569
3577
  __name: "notifications",
3570
3578
  setup(e) {
3571
3579
  const n = Ut.getNotifications(), t = (o) => Ut.remove(o);
3572
- return (o, l) => (f(), M(Pe, { to: "body" }, [
3580
+ return (o, l) => (f(), P(je, { to: "body" }, [
3573
3581
  x("div", wi, [
3574
3582
  O(En, { name: "notification" }, {
3575
3583
  default: W(() => [
3576
- (f(!0), g(Z, null, ge(S(n), (a) => (f(), M(wt, {
3584
+ (f(!0), g(Z, null, ge(S(n), (a) => (f(), P(wt, {
3577
3585
  key: a.id,
3578
3586
  type: a.type,
3579
3587
  title: a.title,
@@ -3667,6 +3675,9 @@ class Ti {
3667
3675
  ensureContainer() {
3668
3676
  return this.containerElement || (this.containerElement = document.createElement("div"), this.containerElement.id = "vj-dialog-container", document.body.appendChild(this.containerElement)), this.containerElement;
3669
3677
  }
3678
+ inheritAppContext(n) {
3679
+ this.mainApp && (Object.assign(n.config.globalProperties, this.mainApp.config.globalProperties), Object.assign(n._context.provides, this.mainApp._context.provides), Object.assign(n._context.components, this.mainApp._context.components), Object.assign(n._context.directives, this.mainApp._context.directives), Object.assign(n.config.compilerOptions, this.mainApp.config.compilerOptions), n.config.errorHandler = this.mainApp.config.errorHandler, n.config.warnHandler = this.mainApp.config.warnHandler, n.config.performance = this.mainApp.config.performance, n.config.optionMergeStrategies = this.mainApp.config.optionMergeStrategies, n._context.mixins.push(...this.mainApp._context.mixins));
3680
+ }
3670
3681
  open(n) {
3671
3682
  return new Promise((t) => {
3672
3683
  const o = this.ensureContainer(), l = document.createElement("div");
@@ -3706,7 +3717,7 @@ class Ti {
3706
3717
  });
3707
3718
  }
3708
3719
  });
3709
- this.mainApp && (Object.assign(c.config.globalProperties, this.mainApp.config.globalProperties), Object.assign(c._context.provides, this.mainApp._context.provides)), c.component("VjCard", at), c.component("VjIcon", be), c.component("VjButton", dt), c.mount(l), this.apps.push({ app: c, element: l });
3720
+ this.inheritAppContext(c), c.component("VjCard", at), c.component("VjIcon", be), c.component("VjButton", dt), c.mount(l), this.apps.push({ app: c, element: l });
3710
3721
  });
3711
3722
  }
3712
3723
  confirm(n) {
@@ -3786,22 +3797,22 @@ const Ni = () => {
3786
3797
  return { run: l, running: e, error: n, clearError: t };
3787
3798
  }, Ki = {
3788
3799
  install(e) {
3789
- e.component("VjAmountBar", xa), e.component("VjButton", dt), e.component("VjButtonBar", jn), e.component("VjCard", at), e.component("VjChip", Gt), e.component("VjChipGroup", qt), e.component("VjChipSelector", _o), e.component("VjCarousel", at), e.component("VjCheckbox", Yn), e.component("VjDotMenu", ml), e.component("VjDialog", ft), e.component("VjIcon", be), e.component("VjLinkButton", hl), e.component("VjMenu", Vl), e.component("VjMenuAction", wl), e.component("VjPage", Ql), e.component("VjPaginator", ta), e.component("VjTab", pa), e.component("VjTabView", va), e.component("VjSkeleton", wa), e.component("VjSpinner", dn), e.component("VjNotifications", xi), e.component("VjNotification", wt), e.component("VjInput", hn), e.component("VjSelect", mn), e.component("VjTextArea", pn), e.component("VjFormField", ze), e.component("VjFormLayout", Ta), e.component("VjFormSection", Da), e.component("VjInputText", ni), e.component("VjInputTextArea", Qa), e.component("VjInputSelect", Ia), e.component("VjInputSlider", Ga), e.component("VjShellNavigation", gn), e.component("VjShellNavigationItem", ci), e.component("VjShell", bi), e.component("VjSearchField", aa), e.component("VjSeparator", sa), e.directive("focus", Ll), e.directive("resize", $l), e.directive("compact", Cl), e.directive("tooltip", fn);
3800
+ e.component("VjAmountBar", xa), e.component("VjButton", dt), e.component("VjButtonBar", Mn), e.component("VjCard", at), e.component("VjChip", Gt), e.component("VjChipGroup", qt), e.component("VjChipSelector", _o), e.component("VjCarousel", at), e.component("VjCheckbox", Yn), e.component("VjDotMenu", ml), e.component("VjDialog", ft), e.component("VjIcon", be), e.component("VjLinkButton", hl), e.component("VjMenu", Vl), e.component("VjMenuAction", wl), e.component("VjPage", Ql), e.component("VjPaginator", ta), e.component("VjTab", pa), e.component("VjTabView", va), e.component("VjSkeleton", wa), e.component("VjSpinner", dn), e.component("VjNotifications", xi), e.component("VjNotification", wt), e.component("VjInput", hn), e.component("VjSelect", mn), e.component("VjTextArea", pn), e.component("VjFormField", ze), e.component("VjFormLayout", Ta), e.component("VjFormSection", Da), e.component("VjInputText", ni), e.component("VjInputTextArea", Qa), e.component("VjInputSelect", Ia), e.component("VjInputSlider", Ga), e.component("VjShellNavigation", gn), e.component("VjShellNavigationItem", ci), e.component("VjShell", bi), e.component("VjSearchField", aa), e.component("VjSeparator", sa), e.directive("focus", Ll), e.directive("resize", $l), e.directive("compact", Cl), e.directive("tooltip", fn);
3790
3801
  }
3791
3802
  };
3792
3803
  export {
3793
3804
  xa as AmountBar,
3794
3805
  dt as Button,
3795
- jn as ButtonBar,
3806
+ Mn as ButtonBar,
3796
3807
  at as Card,
3797
- Pi as Carousel,
3808
+ ji as Carousel,
3798
3809
  Yn as Checkbox,
3799
3810
  Gt as Chip,
3800
3811
  qt as ChipGroup,
3801
3812
  _o as ChipSelector,
3802
3813
  ft as Dialog,
3803
3814
  ml as DotMenu,
3804
- Mi as EditableLabel,
3815
+ Pi as EditableLabel,
3805
3816
  Ll as FocusFirstDirective,
3806
3817
  ze as FormField,
3807
3818
  Ta as FormLayout,
@@ -3822,7 +3833,7 @@ export {
3822
3833
  xi as Notifications,
3823
3834
  Ql as Page,
3824
3835
  ta as Paginator,
3825
- ji as Radio,
3836
+ Mi as Radio,
3826
3837
  $l as ResizeDirective,
3827
3838
  aa as SearchField,
3828
3839
  mn as Select,