@kong/kongponents 9.13.1 → 9.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var uh = Object.defineProperty;
2
2
  var ch = (e, t, a) => t in e ? uh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var za = (e, t, a) => ch(e, typeof t != "symbol" ? t + "" : t, a);
4
- import { defineComponent as ie, reactive as vr, ref as E, computed as b, openBlock as h, createBlock as G, resolveDynamicComponent as Fe, normalizeStyle as Ne, withCtx as O, createElementBlock as D, normalizeClass as ue, renderSlot as H, unref as T, createCommentVNode as F, createElementVNode as R, toDisplayString as ne, withKeys as Ct, withModifiers as qe, useSlots as Mt, useAttrs as Kt, onMounted as ot, mergeProps as He, toHandlers as go, shallowRef as dh, watch as ve, getCurrentScope as vf, onScopeDispose as pf, shallowReadonly as Fn, getCurrentInstance as fh, onUnmounted as ea, isReadonly as vh, toRefs as hf, watchEffect as kl, useCssVars as Rt, onBeforeUnmount as mo, resolveComponent as It, resolveDirective as Yt, withDirectives as ut, createTextVNode as de, Transition as ia, createVNode as K, vShow as Cl, nextTick as ht, Fragment as De, renderList as Be, createSlots as mt, inject as ai, provide as ni, normalizeProps as Yr, toRef as $i, guardReactiveProps as ms, isRef as Un, Comment as ph, cloneVNode as hh, onBeforeMount as gh, TransitionGroup as mh, render as wu, h as ku } from "vue";
4
+ import { defineComponent as ie, reactive as vr, ref as E, computed as b, openBlock as h, createBlock as G, resolveDynamicComponent as Fe, normalizeStyle as Ne, withCtx as O, createElementBlock as D, normalizeClass as ue, renderSlot as z, unref as T, createCommentVNode as F, createElementVNode as R, toDisplayString as ne, withKeys as Ct, withModifiers as qe, useSlots as Mt, useAttrs as Kt, onMounted as ot, mergeProps as He, toHandlers as go, shallowRef as dh, watch as ve, getCurrentScope as vf, onScopeDispose as pf, shallowReadonly as Fn, getCurrentInstance as fh, onUnmounted as ea, isReadonly as vh, toRefs as hf, watchEffect as kl, useCssVars as Rt, onBeforeUnmount as mo, resolveComponent as It, resolveDirective as Yt, withDirectives as ut, createTextVNode as de, Transition as ia, createVNode as K, vShow as Cl, nextTick as ht, Fragment as De, renderList as Be, createSlots as mt, inject as ai, provide as ni, normalizeProps as Yr, toRef as $i, guardReactiveProps as ms, isRef as Un, Comment as ph, cloneVNode as hh, onBeforeMount as gh, TransitionGroup as mh, render as wu, h as ku } from "vue";
5
5
  async function gf(e) {
6
6
  var n, r;
7
7
  if (navigator.clipboard)
@@ -3579,7 +3579,7 @@ const wf = {
3579
3579
  class: ue(["k-alert", [e.appearance]])
3580
3580
  }, [
3581
3581
  e.showIcon || n.$slots.icon ? (h(), D("div", Og, [
3582
- H(n.$slots, "icon", {}, () => [
3582
+ z(n.$slots, "icon", {}, () => [
3583
3583
  (h(), G(Fe(a.value), {
3584
3584
  class: "alert-icon",
3585
3585
  decorative: "",
@@ -3590,7 +3590,7 @@ const wf = {
3590
3590
  R("div", Pg, [
3591
3591
  e.title ? (h(), D("span", Ng, ne(e.title), 1)) : F("", !0),
3592
3592
  e.message || n.$slots.default ? (h(), D("div", Bg, [
3593
- H(n.$slots, "default", {}, () => [
3593
+ z(n.$slots, "default", {}, () => [
3594
3594
  R("p", null, ne(e.message), 1)
3595
3595
  ], !0)
3596
3596
  ])) : F("", !0)
@@ -3681,8 +3681,8 @@ const wf = {
3681
3681
  type: e.type
3682
3682
  }, l.value, go(u.value)), {
3683
3683
  default: O(() => [
3684
- H(c.$slots, "icon", {}, void 0, !0),
3685
- H(c.$slots, "default", {}, void 0, !0)
3684
+ z(c.$slots, "icon", {}, void 0, !0),
3685
+ z(c.$slots, "default", {}, void 0, !0)
3686
3686
  ]),
3687
3687
  _: 3
3688
3688
  }, 16, ["class", "disabled", "tabindex", "type"]));
@@ -3991,20 +3991,20 @@ const Qg = function(e) {
3991
3991
  placement: M
3992
3992
  }
3993
3993
  };
3994
- const P = $.map((W) => {
3995
- const q = Ua(W.placement);
3996
- return [W.placement, q && c ? (
3994
+ const P = $.map((U) => {
3995
+ const q = Ua(U.placement);
3996
+ return [U.placement, q && c ? (
3997
3997
  // Check along the mainAxis and main crossAxis side.
3998
- W.overflows.slice(0, 2).reduce((B, x) => B + x, 0)
3998
+ U.overflows.slice(0, 2).reduce((B, x) => B + x, 0)
3999
3999
  ) : (
4000
4000
  // Check only the mainAxis.
4001
- W.overflows[0]
4002
- ), W.overflows];
4003
- }).sort((W, q) => W[1] - q[1]), V = ((r = P.filter((W) => W[2].slice(
4001
+ U.overflows[0]
4002
+ ), U.overflows];
4003
+ }).sort((U, q) => U[1] - q[1]), V = ((r = P.filter((U) => U[2].slice(
4004
4004
  0,
4005
4005
  // Aligned placements should not check their opposite crossAxis
4006
4006
  // side.
4007
- Ua(W[0]) ? 2 : 3
4007
+ Ua(U[0]) ? 2 : 3
4008
4008
  ).every((q) => q <= 0))[0]) == null ? void 0 : r[0]) || P[0][0];
4009
4009
  return V !== l ? {
4010
4010
  data: {
@@ -4053,7 +4053,7 @@ const Qg = function(e) {
4053
4053
  placement: r,
4054
4054
  overflows: P
4055
4055
  }], !P.every((B) => B <= 0)) {
4056
- var V, W;
4056
+ var V, U;
4057
4057
  const B = (((V = i.flip) == null ? void 0 : V.index) || 0) + 1, x = $[B];
4058
4058
  if (x)
4059
4059
  return {
@@ -4065,7 +4065,7 @@ const Qg = function(e) {
4065
4065
  placement: x
4066
4066
  }
4067
4067
  };
4068
- let I = (W = Y.filter((N) => N.overflows[0] <= 0).sort((N, j) => N.overflows[1] - j.overflows[1])[0]) == null ? void 0 : W.placement;
4068
+ let I = (U = Y.filter((N) => N.overflows[0] <= 0).sort((N, j) => N.overflows[1] - j.overflows[1])[0]) == null ? void 0 : U.placement;
4069
4069
  if (!I)
4070
4070
  switch (v) {
4071
4071
  case "bestFit": {
@@ -4163,8 +4163,8 @@ const Qg = function(e) {
4163
4163
  const S = v - o.top - o.bottom, m = f - o.left - o.right, y = un(v - o[g], S), w = un(f - o[k], m), C = !t.middlewareData.shift;
4164
4164
  let $ = y, M = w;
4165
4165
  if (d ? M = c || C ? un(w, m) : m : $ = c || C ? un(y, S) : S, C && !c) {
4166
- const Y = na(o.left, 0), V = na(o.right, 0), W = na(o.top, 0), q = na(o.bottom, 0);
4167
- d ? M = f - 2 * (Y !== 0 || V !== 0 ? Y + V : na(o.left, o.right)) : $ = v - 2 * (W !== 0 || q !== 0 ? W + q : na(o.top, o.bottom));
4166
+ const Y = na(o.left, 0), V = na(o.right, 0), U = na(o.top, 0), q = na(o.bottom, 0);
4167
+ d ? M = f - 2 * (Y !== 0 || V !== 0 ? Y + V : na(o.left, o.right)) : $ = v - 2 * (U !== 0 || q !== 0 ? U + q : na(o.top, o.bottom));
4168
4168
  }
4169
4169
  await s({
4170
4170
  ...t,
@@ -5021,7 +5021,7 @@ function uc() {
5021
5021
  }));
5022
5022
  var g = function(y, w) {
5023
5023
  return Kn(e, void 0, void 0, function() {
5024
- var C, $, M, P, Y, V, W, q = this;
5024
+ var C, $, M, P, Y, V, U, q = this;
5025
5025
  return Vn(this, function(B) {
5026
5026
  switch (B.label) {
5027
5027
  case 0:
@@ -5031,7 +5031,7 @@ function uc() {
5031
5031
  ]) : M && (V = !!(Date.now() - M.createdAt >= i.dedupingInterval || w != null && w.forceRevalidate), !V) ? (v.isValidating = !1, [
5032
5032
  2
5033
5033
  /*return*/
5034
- ]) : (W = function() {
5034
+ ]) : (U = function() {
5035
5035
  return Kn(q, void 0, void 0, function() {
5036
5036
  var x, I, N, j;
5037
5037
  return Vn(this, function(ae) {
@@ -5057,7 +5057,7 @@ function uc() {
5057
5057
  return Vn(this, function(x) {
5058
5058
  switch (x.label) {
5059
5059
  case 0:
5060
- return s ? [3, 2] : [4, W()];
5060
+ return s ? [3, 2] : [4, U()];
5061
5061
  case 1:
5062
5062
  x.sent(), x.label = 2;
5063
5063
  case 2:
@@ -5073,7 +5073,7 @@ function uc() {
5073
5073
  /*return*/
5074
5074
  ];
5075
5075
  case 1:
5076
- return [4, W()];
5076
+ return [4, U()];
5077
5077
  case 2:
5078
5078
  B.sent(), B.label = 3;
5079
5079
  case 3:
@@ -5336,7 +5336,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5336
5336
  }, S = () => {
5337
5337
  q.value && q.value();
5338
5338
  }, m = () => {
5339
- S(), v.value && c.value && (q.value = wm(v.value, c.value, W));
5339
+ S(), v.value && c.value && (q.value = wm(v.value, c.value, U));
5340
5340
  }, y = async () => {
5341
5341
  n.disabled || (g.value && clearTimeout(g.value), n.placement !== "auto" && (f.value++, await ht()), m(), d.value = !0);
5342
5342
  }, w = () => {
@@ -5351,7 +5351,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5351
5351
  width: i(n.width),
5352
5352
  maxWidth: i(n.maxWidth),
5353
5353
  maxHeight: i(n.maxHeight)
5354
- })), M = b(() => [n.popoverClasses, { "hide-caret": n.hideCaret }]), P = b(() => n.placement.trim().replace(/ /g, "-").replace(/[A-Z]+(?![a-z])|[A-Z]/g, (B, x) => (x ? "-" : "") + B.toLowerCase()).replace(/--+/g, "-").replace(/-+$/g, "")), { floatingStyles: Y, placement: V, update: W } = Tm(v, c, {
5354
+ })), M = b(() => [n.popoverClasses, { "hide-caret": n.hideCaret }]), P = b(() => n.placement.trim().replace(/ /g, "-").replace(/[A-Z]+(?![a-z])|[A-Z]/g, (B, x) => (x ? "-" : "") + B.toLowerCase()).replace(/--+/g, "-").replace(/-+$/g, "")), { floatingStyles: Y, placement: V, update: U } = Tm(v, c, {
5355
5355
  ...P.value === "auto" && { middleware: [km()] },
5356
5356
  // when placement is auto just use autoPlacement middleware
5357
5357
  ...P.value !== "auto" && {
@@ -5410,7 +5410,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5410
5410
  ref: u,
5411
5411
  class: "popover-trigger-wrapper"
5412
5412
  }, [
5413
- H(B.$slots, "default", {}, () => [
5413
+ z(B.$slots, "default", {}, () => [
5414
5414
  ut((h(), G(I, { "data-testid": "popover-button" }, {
5415
5415
  default: O(() => [
5416
5416
  de(ne(e.buttonText), 1)
@@ -5460,7 +5460,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5460
5460
  id: T(l),
5461
5461
  class: ue(["popover-title", { "close-icon-spacing": !e.hideCloseIcon }])
5462
5462
  }, [
5463
- H(B.$slots, "title", {}, () => [
5463
+ z(B.$slots, "title", {}, () => [
5464
5464
  de(ne(e.title), 1)
5465
5465
  ], !0)
5466
5466
  ], 10, Hm)) : F("", !0)
@@ -5468,10 +5468,10 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5468
5468
  R("div", {
5469
5469
  class: ue(["popover-content", { "close-icon-spacing": !e.hideCloseIcon && !(B.$slots.title || e.title) }])
5470
5470
  }, [
5471
- H(B.$slots, "content", {}, void 0, !0)
5471
+ z(B.$slots, "content", {}, void 0, !0)
5472
5472
  ], 2),
5473
5473
  B.$slots.footer ? (h(), D("div", qm, [
5474
- H(B.$slots, "footer", {}, void 0, !0)
5474
+ z(B.$slots, "footer", {}, void 0, !0)
5475
5475
  ])) : F("", !0)
5476
5476
  ], 4)
5477
5477
  ], 14, Ym)), [
@@ -5546,7 +5546,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5546
5546
  }), {
5547
5547
  content: O(() => [
5548
5548
  ut((h(), D("div", Um, [
5549
- H(i.$slots, "content", {
5549
+ z(i.$slots, "content", {
5550
5550
  label: e.text || e.label
5551
5551
  }, () => [
5552
5552
  de(ne(e.text || e.label), 1)
@@ -5556,10 +5556,10 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5556
5556
  ])
5557
5557
  ]),
5558
5558
  default: O(() => [
5559
- H(i.$slots, "default", {}, void 0, !0)
5559
+ z(i.$slots, "default", {}, void 0, !0)
5560
5560
  ]),
5561
5561
  _: 3
5562
- }, 16, ["max-width", "placement", "z-index"])) : H(i.$slots, "default", { key: 1 }, void 0, !0);
5562
+ }, 16, ["max-width", "placement", "z-index"])) : z(i.$slots, "default", { key: 1 }, void 0, !0);
5563
5563
  };
5564
5564
  }
5565
5565
  }), ka = /* @__PURE__ */ Me(Km, [["__scopeId", "data-v-a55c9998"]]), { getSizeFromString: Vm } = xt(), jm = {
@@ -5624,13 +5624,13 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5624
5624
  R("div", {
5625
5625
  class: ue(["badge-content", { "icon-after": !e.iconBefore }])
5626
5626
  }, [
5627
- o.$slots.icon ? H(o.$slots, "icon", { key: 0 }, void 0, !0) : F("", !0),
5627
+ o.$slots.icon ? z(o.$slots, "icon", { key: 0 }, void 0, !0) : F("", !0),
5628
5628
  R("div", {
5629
5629
  ref_key: "badgeTextElement",
5630
5630
  ref: n,
5631
5631
  class: "badge-content-wrapper"
5632
5632
  }, [
5633
- H(o.$slots, "default", {}, void 0, !0)
5633
+ z(o.$slots, "default", {}, void 0, !0)
5634
5634
  ], 512)
5635
5635
  ], 2)
5636
5636
  ]),
@@ -5691,7 +5691,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5691
5691
  }), {
5692
5692
  default: O(() => [
5693
5693
  r.$slots[`icon-${n(s, l)}`] ? (h(), D("span", Qm, [
5694
- H(r.$slots, `icon-${n(s, l)}`, {}, void 0, !0)
5694
+ z(r.$slots, `icon-${n(s, l)}`, {}, void 0, !0)
5695
5695
  ])) : F("", !0),
5696
5696
  s.text ? (h(), D("span", {
5697
5697
  key: 1,
@@ -5702,7 +5702,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5702
5702
  _: 2
5703
5703
  }, 1040, ["class"])),
5704
5704
  l < e.items.length - 1 ? (h(), D("span", Zm, [
5705
- H(r.$slots, "divider", {}, () => [
5705
+ z(r.$slots, "divider", {}, () => [
5706
5706
  i[0] || (i[0] = de(" / "))
5707
5707
  ], !0)
5708
5708
  ])) : F("", !0)
@@ -5743,21 +5743,21 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5743
5743
  class: "card-title"
5744
5744
  }, {
5745
5745
  default: O(() => [
5746
- H(r.$slots, "title", {}, () => [
5746
+ z(r.$slots, "title", {}, () => [
5747
5747
  de(ne(e.title), 1)
5748
5748
  ], !0)
5749
5749
  ]),
5750
5750
  _: 3
5751
5751
  })) : F("", !0),
5752
5752
  r.$slots.actions ? (h(), D("div", n1, [
5753
- H(r.$slots, "actions", {}, void 0, !0)
5753
+ z(r.$slots, "actions", {}, void 0, !0)
5754
5754
  ])) : F("", !0)
5755
5755
  ])) : F("", !0),
5756
5756
  r.$slots.default ? (h(), D("div", r1, [
5757
- H(r.$slots, "default", {}, void 0, !0)
5757
+ z(r.$slots, "default", {}, void 0, !0)
5758
5758
  ])) : F("", !0),
5759
5759
  r.$slots.footer ? (h(), D("div", i1, [
5760
- H(r.$slots, "footer", {}, void 0, !0)
5760
+ z(r.$slots, "footer", {}, void 0, !0)
5761
5761
  ])) : F("", !0)
5762
5762
  ]));
5763
5763
  }
@@ -5784,7 +5784,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5784
5784
  __name: "SkeletonBase",
5785
5785
  setup(e) {
5786
5786
  return (t, a) => (h(), D("div", l1, [
5787
- H(t.$slots, "default", {}, () => [
5787
+ z(t.$slots, "default", {}, () => [
5788
5788
  K(ya, {
5789
5789
  height: "1",
5790
5790
  width: "100"
@@ -5823,12 +5823,12 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5823
5823
  class: "skeleton-card"
5824
5824
  }, [
5825
5825
  R("div", f1, [
5826
- H(r.$slots, "card-header", {}, () => [
5826
+ z(r.$slots, "card-header", {}, () => [
5827
5827
  K(ya, { width: "50" })
5828
5828
  ], !0)
5829
5829
  ]),
5830
5830
  R("div", v1, [
5831
- H(r.$slots, "card-content", {}, () => [
5831
+ z(r.$slots, "card-content", {}, () => [
5832
5832
  (h(), D(De, null, Be(3, (l) => K(ya, {
5833
5833
  key: l,
5834
5834
  width: "100"
@@ -5837,7 +5837,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5837
5837
  ], !0)
5838
5838
  ]),
5839
5839
  R("div", p1, [
5840
- H(r.$slots, "card-footer", {}, () => [
5840
+ z(r.$slots, "card-footer", {}, () => [
5841
5841
  (h(), D(De, null, Be(2, (l) => K(ya, {
5842
5842
  key: l,
5843
5843
  height: "2",
@@ -5870,7 +5870,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
5870
5870
  key: r,
5871
5871
  class: "skeleton-table-row"
5872
5872
  }, [
5873
- H(a.$slots, "default", {}, () => [
5873
+ z(a.$slots, "default", {}, () => [
5874
5874
  (h(!0), D(De, null, Be(e.columns, (i) => (h(), D("div", {
5875
5875
  key: i,
5876
5876
  class: "skeleton-cell-container"
@@ -6061,13 +6061,13 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
6061
6061
  "max-width": e.cardMaxWidth
6062
6062
  }, {
6063
6063
  "card-header": O(() => [
6064
- H(n.$slots, "card-header")
6064
+ z(n.$slots, "card-header")
6065
6065
  ]),
6066
6066
  "card-content": O(() => [
6067
- H(n.$slots, "card-content")
6067
+ z(n.$slots, "card-content")
6068
6068
  ]),
6069
6069
  "card-footer": O(() => [
6070
- H(n.$slots, "card-footer")
6070
+ z(n.$slots, "card-footer")
6071
6071
  ]),
6072
6072
  _: 3
6073
6073
  }, 8, ["card-count", "max-width"])) : e.type === "table" ? (h(), G(b1, {
@@ -6076,7 +6076,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
6076
6076
  rows: e.tableRows
6077
6077
  }, {
6078
6078
  default: O(() => [
6079
- H(n.$slots, "default")
6079
+ z(n.$slots, "default")
6080
6080
  ]),
6081
6081
  _: 3
6082
6082
  }, 8, ["columns", "rows"])) : e.type === "form" ? (h(), G(C1, { key: 2 })) : e.type === "fullscreen-kong" ? (h(), G(A1, {
@@ -6162,7 +6162,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
6162
6162
  }, [
6163
6163
  R("div", P1, [
6164
6164
  R("div", N1, [
6165
- H(r.$slots, "icon", {}, () => [
6165
+ z(r.$slots, "icon", {}, () => [
6166
6166
  (h(), G(Fe(a.value), {
6167
6167
  color: n.value,
6168
6168
  decorative: "",
@@ -6171,18 +6171,18 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
6171
6171
  ], !0)
6172
6172
  ]),
6173
6173
  e.title || r.$slots.title ? (h(), D("div", B1, [
6174
- H(r.$slots, "title", {}, () => [
6174
+ z(r.$slots, "title", {}, () => [
6175
6175
  de(ne(e.title), 1)
6176
6176
  ], !0)
6177
6177
  ])) : F("", !0),
6178
6178
  e.message || r.$slots.default ? (h(), D("div", L1, [
6179
- H(r.$slots, "default", {}, () => [
6179
+ z(r.$slots, "default", {}, () => [
6180
6180
  R("p", null, ne(e.message), 1)
6181
6181
  ], !0)
6182
6182
  ])) : F("", !0)
6183
6183
  ]),
6184
6184
  e.actionButtonVisible && e.actionButtonText || r.$slots.action ? (h(), D("div", _1, [
6185
- H(r.$slots, "action", {}, () => [
6185
+ z(r.$slots, "action", {}, () => [
6186
6186
  K(ct, {
6187
6187
  disabled: e.actionButtonDisabled,
6188
6188
  type: "button",
@@ -6317,7 +6317,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
6317
6317
  }), {
6318
6318
  default: O(() => [
6319
6319
  R("span", Y1, [
6320
- H(f.$slots, "default", {}, () => [
6320
+ z(f.$slots, "default", {}, () => [
6321
6321
  de(ne(s.value), 1)
6322
6322
  ], !0)
6323
6323
  ])
@@ -6435,7 +6435,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
6435
6435
  }), {
6436
6436
  content: O(() => [
6437
6437
  R("ul", z1, [
6438
- H(g.$slots, "items", {
6438
+ z(g.$slots, "items", {
6439
6439
  closeDropdown: d,
6440
6440
  handleSelection: c,
6441
6441
  items: e.items
@@ -6462,7 +6462,7 @@ const Ym = ["aria-labelledby", "x-placement"], Fm = ["tabindex"], zm = {
6462
6462
  position: e.disabledTooltip ? "bottom" : void 0
6463
6463
  }, {
6464
6464
  default: O(() => [
6465
- H(g.$slots, "default", {
6465
+ z(g.$slots, "default", {
6466
6466
  isOpen: m.value
6467
6467
  }, () => [
6468
6468
  o.value ? (h(), G(ct, {
@@ -6640,7 +6640,7 @@ const K1 = {
6640
6640
  value: ee,
6641
6641
  selected: ee === o.value
6642
6642
  })), d = b(() => `${o.value} ${o.value === 1 ? "item per page" : " items per page"}`), f = E(n.neighbors), v = E(3), g = async () => (await ht(), i.value ? i.value.scrollWidth > i.value.clientWidth : !1), k = async () => {
6643
- await g() && (f.value > 1 || v.value > 1) && (f.value > 1 ? f.value-- : v.value > 1 && v.value--, q.value = S(l.value, u.value, V.value, W.value));
6643
+ await g() && (f.value > 1 || v.value > 1) && (f.value > 1 ? f.value-- : v.value > 1 && v.value--, q.value = S(l.value, u.value, V.value, U.value));
6644
6644
  }, S = (ee, _, se, oe) => {
6645
6645
  if (n.disablePageJump)
6646
6646
  return [];
@@ -6652,11 +6652,11 @@ const K1 = {
6652
6652
  }, m = E(l.value === 1), y = E(l.value === u.value), w = b(() => (l.value - 1) * o.value + 1), C = b(() => {
6653
6653
  const ee = w.value - 1 + o.value;
6654
6654
  return ee > n.totalCount ? n.totalCount : ee;
6655
- }), $ = b(() => `${w.value} to ${C.value}`), M = b(() => ` of ${n.totalCount}`), P = b(() => n.currentPage ? n.currentPage : l.value), Y = b(() => 5 + 2 * f.value), V = E(P.value >= f.value + (v.value + 1) && u.value > Y.value), W = E(u.value > v.value + 2 + 2 * f.value), q = E(S(
6655
+ }), $ = b(() => `${w.value} to ${C.value}`), M = b(() => ` of ${n.totalCount}`), P = b(() => n.currentPage ? n.currentPage : l.value), Y = b(() => 5 + 2 * f.value), V = E(P.value >= f.value + (v.value + 1) && u.value > Y.value), U = E(u.value > v.value + 2 + 2 * f.value), q = E(S(
6656
6656
  P.value,
6657
6657
  u.value,
6658
6658
  V.value,
6659
- W.value
6659
+ U.value
6660
6660
  )), B = () => {
6661
6661
  l.value++, N();
6662
6662
  }, x = () => {
@@ -6665,7 +6665,7 @@ const K1 = {
6665
6665
  l.value = ee, N();
6666
6666
  }, N = () => {
6667
6667
  const ee = (l.value - 1) * o.value + o.value;
6668
- y.value = ee >= n.totalCount, m.value = l.value === 1, u.value <= Y.value ? (V.value = !1, W.value = !1) : (V.value = l.value >= f.value + (v.value + 1), W.value = l.value <= u.value - f.value - v.value), q.value = S(l.value, u.value, V.value, W.value), r("pageChange", {
6668
+ y.value = ee >= n.totalCount, m.value = l.value === 1, u.value <= Y.value ? (V.value = !1, U.value = !1) : (V.value = l.value >= f.value + (v.value + 1), U.value = l.value <= u.value - f.value - v.value), q.value = S(l.value, u.value, V.value, U.value), r("pageChange", {
6669
6669
  page: l.value,
6670
6670
  pageCount: u.value,
6671
6671
  firstItem: w.value,
@@ -6685,11 +6685,11 @@ const K1 = {
6685
6685
  return ve(() => n.currentPage, (ee, _) => {
6686
6686
  ee !== _ && I(ee);
6687
6687
  }), ve(u, (ee, _) => {
6688
- ee !== _ && (y.value = l.value === ee, W.value = ee > v.value + 2 + 2 * f.value, q.value = S(
6688
+ ee !== _ && (y.value = l.value === ee, U.value = ee > v.value + 2 + 2 * f.value, q.value = S(
6689
6689
  P.value,
6690
6690
  ee,
6691
6691
  !1,
6692
- W.value
6692
+ U.value
6693
6693
  ));
6694
6694
  }), ve(q, () => {
6695
6695
  !n.disablePageJump && !n.offset && k();
@@ -6757,8 +6757,8 @@ const K1 = {
6757
6757
  onClick: (oe) => I(se)
6758
6758
  }, ne(se), 11, Z1)
6759
6759
  ]))), 128)),
6760
- !e.disablePageJump && W.value ? (h(), D("li", X1, " ... ")) : F("", !0),
6761
- !e.disablePageJump && W.value ? (h(), D("li", J1, [
6760
+ !e.disablePageJump && U.value ? (h(), D("li", X1, " ... ")) : F("", !0),
6761
+ !e.disablePageJump && U.value ? (h(), D("li", J1, [
6762
6762
  R("button", {
6763
6763
  "aria-label": "Go to the last page",
6764
6764
  class: "pagination-button",
@@ -6856,21 +6856,21 @@ const K1 = {
6856
6856
  onClick: i[0] || (i[0] = (s) => n(s, e.item))
6857
6857
  }, {
6858
6858
  title: O(() => [
6859
- H(r.$slots, "card-title", {}, () => [
6859
+ z(r.$slots, "card-title", {}, () => [
6860
6860
  de(ne(e.item ? e.item.title : ""), 1)
6861
6861
  ], !0)
6862
6862
  ]),
6863
6863
  actions: O(() => [
6864
- H(r.$slots, "card-actions", {}, void 0, !0)
6864
+ z(r.$slots, "card-actions", {}, void 0, !0)
6865
6865
  ]),
6866
6866
  footer: O(() => [
6867
- H(r.$slots, "card-footer", {}, void 0, !0)
6867
+ z(r.$slots, "card-footer", {}, void 0, !0)
6868
6868
  ]),
6869
6869
  default: O(() => [
6870
6870
  R("div", {
6871
6871
  class: ue({ "multi-line-truncate": e.truncate })
6872
6872
  }, [
6873
- H(r.$slots, "card-body", {}, () => [
6873
+ z(r.$slots, "card-body", {}, () => [
6874
6874
  de(ne(e.item ? e.item.description : ""), 1)
6875
6875
  ], !0)
6876
6876
  ], 2)
@@ -7084,15 +7084,15 @@ const K1 = {
7084
7084
  offset: null
7085
7085
  }, P = b(() => (Ce.value || i.loading || et.value) && !i.error), Y = b(() => !P.value && c.value && !c.value.length), V = b(() => ({
7086
7086
  pageSize: g.value
7087
- })), W = E(!0), q = async () => {
7088
- var me, U;
7087
+ })), U = E(!0), q = async () => {
7088
+ var me, W;
7089
7089
  const Q = i.searchInput, te = await i.fetcher({
7090
7090
  query: Q || f.value,
7091
7091
  pageSize: g.value,
7092
7092
  page: v.value,
7093
7093
  offset: k.value
7094
7094
  });
7095
- return c.value = te.data, d.value = i.paginationTotalItems || te.total || ((me = te.data) == null ? void 0 : me.length), i.paginationOffset && ((U = te.pagination) != null && U.offset ? (y.value = te.pagination.offset, S.value[v.value] || S.value.push(te.pagination.offset)) : y.value = null, w.value = te.pagination && "hasNextPage" in te.pagination ? te.pagination.hasNextPage : !0), c.value.length === 0 && v.value > 1 && (v.value = 1, S.value = [null], k.value = null), W.value = !1, te;
7095
+ return c.value = te.data, d.value = i.paginationTotalItems || te.total || ((me = te.data) == null ? void 0 : me.length), i.paginationOffset && ((W = te.pagination) != null && W.offset ? (y.value = te.pagination.offset, S.value[v.value] || S.value.push(te.pagination.offset)) : y.value = null, w.value = te.pagination && "hasNextPage" in te.pagination ? te.pagination.hasNextPage : !0), c.value.length === 0 && v.value > 1 && (v.value = 1, S.value = [null], k.value = null), U.value = !1, te;
7096
7096
  }, B = () => {
7097
7097
  const Q = {
7098
7098
  ...M,
@@ -7155,8 +7155,8 @@ const K1 = {
7155
7155
  }, { immediate: !0 });
7156
7156
  const et = E(!1);
7157
7157
  return ve([I, v, g], async (Q, te) => {
7158
- const me = te == null ? void 0 : te[0], U = Q[0], fe = Q[1];
7159
- U !== me && fe !== 1 && (v.value = 1, S.value = [null], k.value = null), C.value && !W.value && (et.value = !0, await _(), et.value = !1);
7158
+ const me = te == null ? void 0 : te[0], W = Q[0], fe = Q[1];
7159
+ W !== me && fe !== 1 && (v.value = 1, S.value = [null], k.value = null), C.value && !U.value && (et.value = !0, await _(), et.value = !1);
7160
7160
  }, { deep: !0, immediate: !0 }), ve(V, (Q) => {
7161
7161
  s("update:catalog-preferences", Q);
7162
7162
  }), ot(() => {
@@ -7175,7 +7175,7 @@ const K1 = {
7175
7175
  _: 1
7176
7176
  })) : F("", !0),
7177
7177
  $.value ? (h(), D("div", oy, [
7178
- H(Q.$slots, "toolbar", { state: Ee.value }, void 0, !0)
7178
+ z(Q.$slots, "toolbar", { state: Ee.value }, void 0, !0)
7179
7179
  ])) : F("", !0),
7180
7180
  P.value ? (h(), G($o, {
7181
7181
  key: 2,
@@ -7184,7 +7184,7 @@ const K1 = {
7184
7184
  "data-testid": "catalog-skeleton-loader",
7185
7185
  type: "card"
7186
7186
  })) : e.error ? (h(), D("div", sy, [
7187
- H(Q.$slots, "error-state", {}, () => [
7187
+ z(Q.$slots, "error-state", {}, () => [
7188
7188
  K(An, {
7189
7189
  "icon-variant": "error",
7190
7190
  message: e.errorStateMessage,
@@ -7196,7 +7196,7 @@ const K1 = {
7196
7196
  K(ct, {
7197
7197
  "data-testid": Qe(e.errorStateActionMessage),
7198
7198
  to: e.errorStateActionRoute ? e.errorStateActionRoute : void 0,
7199
- onClick: te[0] || (te[0] = (U) => Q.$emit("error-action-click"))
7199
+ onClick: te[0] || (te[0] = (W) => Q.$emit("error-action-click"))
7200
7200
  }, {
7201
7201
  default: O(() => [
7202
7202
  de(ne(e.errorStateActionMessage), 1)
@@ -7209,7 +7209,7 @@ const K1 = {
7209
7209
  ]), 1032, ["message", "title"])
7210
7210
  ], !0)
7211
7211
  ])) : Y.value ? (h(), D("div", ly, [
7212
- H(Q.$slots, "empty-state", {}, () => [
7212
+ z(Q.$slots, "empty-state", {}, () => [
7213
7213
  K(An, {
7214
7214
  "icon-variant": e.emptyStateIconVariant,
7215
7215
  message: e.emptyStateMessage,
@@ -7222,10 +7222,10 @@ const K1 = {
7222
7222
  appearance: e.searchInput ? "tertiary" : "primary",
7223
7223
  "data-testid": Qe(e.emptyStateActionMessage),
7224
7224
  to: e.emptyStateActionRoute ? e.emptyStateActionRoute : void 0,
7225
- onClick: te[1] || (te[1] = (U) => Q.$emit("empty-state-action-click"))
7225
+ onClick: te[1] || (te[1] = (W) => Q.$emit("empty-state-action-click"))
7226
7226
  }, {
7227
7227
  default: O(() => [
7228
- H(Q.$slots, "empty-state-action-icon", {}, void 0, !0),
7228
+ z(Q.$slots, "empty-state-action-icon", {}, void 0, !0),
7229
7229
  de(" " + ne(e.emptyStateActionMessage), 1)
7230
7230
  ]),
7231
7231
  _: 3
@@ -7239,26 +7239,26 @@ const K1 = {
7239
7239
  key: 5,
7240
7240
  class: ue(["catalog-page", `card-${e.cardSize}`])
7241
7241
  }, [
7242
- H(Q.$slots, "body", { data: c.value }, () => [
7243
- (h(!0), D(De, null, Be(c.value, (U, fe) => (h(), G(Hf, {
7244
- key: U.key ? U.key : `catalog-${T(o)}-item-${fe}`,
7242
+ z(Q.$slots, "body", { data: c.value }, () => [
7243
+ (h(!0), D(De, null, Be(c.value, (W, fe) => (h(), G(Hf, {
7244
+ key: W.key ? W.key : `catalog-${T(o)}-item-${fe}`,
7245
7245
  class: "catalog-item",
7246
- "data-testid": U.id ? U.id : `catalog-item-${fe}`,
7247
- item: U,
7246
+ "data-testid": W.id ? W.id : `catalog-item-${fe}`,
7247
+ item: W,
7248
7248
  truncate: e.truncateDescription,
7249
- onClick: (we) => Q.$emit("card-click", U)
7249
+ onClick: (we) => Q.$emit("card-click", W)
7250
7250
  }, {
7251
7251
  "card-title": O(() => [
7252
- H(Q.$slots, "card-title", { item: U }, () => [
7253
- de(ne(U.title), 1)
7252
+ z(Q.$slots, "card-title", { item: W }, () => [
7253
+ de(ne(W.title), 1)
7254
7254
  ], !0)
7255
7255
  ]),
7256
7256
  "card-actions": O(() => [
7257
- H(Q.$slots, "card-actions", { item: U }, void 0, !0)
7257
+ z(Q.$slots, "card-actions", { item: W }, void 0, !0)
7258
7258
  ]),
7259
7259
  "card-body": O(() => [
7260
- H(Q.$slots, "card-body", { item: U }, () => [
7261
- de(ne(U.description), 1)
7260
+ z(Q.$slots, "card-body", { item: W }, () => [
7261
+ de(ne(W.description), 1)
7262
7262
  ], !0)
7263
7263
  ]),
7264
7264
  _: 2
@@ -7319,13 +7319,13 @@ const K1 = {
7319
7319
  return h(), D("label", {
7320
7320
  class: ue(["k-label", { required: e.required }])
7321
7321
  }, [
7322
- H(i.$slots, "default", {}, void 0, !0),
7322
+ z(i.$slots, "default", {}, void 0, !0),
7323
7323
  n.value ? (h(), G(ka, He({ key: 0 }, e.tooltipAttributes, {
7324
7324
  class: "label-tooltip",
7325
7325
  "tooltip-id": T(r)
7326
7326
  }), {
7327
7327
  content: O(() => [
7328
- H(i.$slots, "tooltip", {}, () => [
7328
+ z(i.$slots, "tooltip", {}, () => [
7329
7329
  de(ne(e.info || e.help), 1)
7330
7330
  ], !0)
7331
7331
  ]),
@@ -7423,7 +7423,7 @@ const K1 = {
7423
7423
  R("div", vy, [
7424
7424
  l.value ? ut((h(), G(hn, He({ key: 0 }, e.labelAttributes, { class: "checkbox-label" }), mt({
7425
7425
  default: O(() => [
7426
- H(k.$slots, "default", {}, () => [
7426
+ z(k.$slots, "default", {}, () => [
7427
7427
  de(ne(e.label), 1)
7428
7428
  ], !0)
7429
7429
  ]),
@@ -7432,7 +7432,7 @@ const K1 = {
7432
7432
  c.value ? {
7433
7433
  name: "tooltip",
7434
7434
  fn: O(() => [
7435
- H(k.$slots, "tooltip", {}, void 0, !0)
7435
+ z(k.$slots, "tooltip", {}, void 0, !0)
7436
7436
  ]),
7437
7437
  key: "0"
7438
7438
  } : void 0
@@ -7440,7 +7440,7 @@ const K1 = {
7440
7440
  [m, { for: T(s) }]
7441
7441
  ]) : F("", !0),
7442
7442
  u.value ? (h(), D("div", py, [
7443
- H(k.$slots, "description", {}, () => [
7443
+ z(k.$slots, "description", {}, () => [
7444
7444
  R("p", null, ne(e.description), 1)
7445
7445
  ], !0)
7446
7446
  ])) : F("", !0)
@@ -7507,7 +7507,7 @@ const K1 = {
7507
7507
  setup(e, { emit: t }) {
7508
7508
  Rt((x) => ({
7509
7509
  90849794: V.value,
7510
- a9f08fd6: W.value
7510
+ a9f08fd6: U.value
7511
7511
  }));
7512
7512
  const a = e, n = t, r = E(""), i = E(!1), s = E(0), { stripRequiredLabel: l } = xt(), o = Mt(), u = Kt(), c = b(() => (u == null ? void 0 : u.required) !== void 0 && String(u == null ? void 0 : u.required) !== "false"), d = u.id ? String(u.id) : yt(), f = yt(), v = b(() => l(a.label, c.value)), g = b(() => {
7513
7513
  var x;
@@ -7551,10 +7551,10 @@ const K1 = {
7551
7551
  ve(() => a.error, (x, I) => {
7552
7552
  x !== I && (s.value += 1);
7553
7553
  });
7554
- const P = E(null), Y = E(null), V = E(Zt), W = E(Zt), q = E(!1), B = b(() => a.type === "password" && q.value ? "text" : a.type);
7554
+ const P = E(null), Y = E(null), V = E(Zt), U = E(Zt), q = E(!1), B = b(() => a.type === "password" && q.value ? "text" : a.type);
7555
7555
  return ot(async () => {
7556
7556
  var x, I;
7557
- await ht(), (x = P.value) != null && x.offsetWidth && (V.value = P.value.offsetWidth + "px"), (I = Y.value) != null && I.offsetWidth && (W.value = Y.value.offsetWidth + "px");
7557
+ await ht(), (x = P.value) != null && x.offsetWidth && (V.value = P.value.offsetWidth + "px"), (I = Y.value) != null && I.offsetWidth && (U.value = Y.value.offsetWidth + "px");
7558
7558
  }), (x, I) => {
7559
7559
  const N = Yt("bind-once");
7560
7560
  return h(), D("div", {
@@ -7569,7 +7569,7 @@ const K1 = {
7569
7569
  g.value ? {
7570
7570
  name: "tooltip",
7571
7571
  fn: O(() => [
7572
- H(x.$slots, "label-tooltip", {}, void 0, !0)
7572
+ z(x.$slots, "label-tooltip", {}, void 0, !0)
7573
7573
  ]),
7574
7574
  key: "0"
7575
7575
  } : void 0
@@ -7585,7 +7585,7 @@ const K1 = {
7585
7585
  ref: P,
7586
7586
  class: "before-content-wrapper"
7587
7587
  }, [
7588
- H(x.$slots, "before", {}, void 0, !0)
7588
+ z(x.$slots, "before", {}, void 0, !0)
7589
7589
  ], 512)) : F("", !0),
7590
7590
  ut(R("input", He({
7591
7591
  "aria-invalid": e.error || e.hasError || m.value ? "true" : void 0,
@@ -7620,7 +7620,7 @@ const K1 = {
7620
7620
  key: 1,
7621
7621
  decorative: ""
7622
7622
  }))
7623
- ], 40, yy)) : H(x.$slots, "after", { key: 1 }, void 0, !0)
7623
+ ], 40, yy)) : z(x.$slots, "after", { key: 1 }, void 0, !0)
7624
7624
  ], 512)) : F("", !0)
7625
7625
  ], 2),
7626
7626
  K(ia, {
@@ -7731,7 +7731,7 @@ const Dy = {
7731
7731
  onClick: r
7732
7732
  }), {
7733
7733
  default: O(() => [
7734
- H(i.$slots, "default", {}, void 0, !0)
7734
+ z(i.$slots, "default", {}, void 0, !0)
7735
7735
  ]),
7736
7736
  _: 3
7737
7737
  }, 16, ["class"])
@@ -7886,19 +7886,19 @@ const Dy = {
7886
7886
  `).filter((te, me) => m.value.includes(me + 1)).map((te) => {
7887
7887
  try {
7888
7888
  const me = new RegExp(k.value, "gi");
7889
- return te.replace(me, (U) => `<span class="matched-term">${U}</span>`);
7889
+ return te.replace(me, (W) => `<span class="matched-term">${W}</span>`);
7890
7890
  } catch {
7891
7891
  return te;
7892
7892
  }
7893
7893
  }).join(`
7894
7894
  `);
7895
- }), V = b(() => !s.singleLine && s.searchable), W = (Q) => {
7896
- var te, me, U, fe;
7897
- return (fe = (U = (me = (te = Q == null ? void 0 : Q.replaceAll("&", "&amp;")) == null ? void 0 : te.replaceAll("<", "&lt;")) == null ? void 0 : me.replaceAll(">", "&gt;")) == null ? void 0 : U.replaceAll('"', "&quot;")) == null ? void 0 : fe.replaceAll("'", "&#039;");
7895
+ }), V = b(() => !s.singleLine && s.searchable), U = (Q) => {
7896
+ var te, me, W, fe;
7897
+ return (fe = (W = (me = (te = Q == null ? void 0 : Q.replaceAll("&", "&amp;")) == null ? void 0 : te.replaceAll("<", "&lt;")) == null ? void 0 : me.replaceAll(">", "&gt;")) == null ? void 0 : W.replaceAll('"', "&quot;")) == null ? void 0 : fe.replaceAll("'", "&#039;");
7898
7898
  }, q = b(() => {
7899
7899
  var Q;
7900
- return s.singleLine ? (Q = W(s.code)) == null ? void 0 : Q.replaceAll(`
7901
- `, "") : W(s.code);
7900
+ return s.singleLine ? (Q = U(s.code)) == null ? void 0 : Q.replaceAll(`
7901
+ `, "") : U(s.code);
7902
7902
  }), B = b(() => a(s.maxHeight));
7903
7903
  ve(() => s.code, async function() {
7904
7904
  await ht(), j(), se();
@@ -8007,27 +8007,27 @@ const Dy = {
8007
8007
  function ke(Q, te) {
8008
8008
  var fe;
8009
8009
  const me = [];
8010
- let U = 0;
8011
- for (; U < Q.length; ) {
8012
- const we = Q.indexOf(te, U);
8010
+ let W = 0;
8011
+ for (; W < Q.length; ) {
8012
+ const we = Q.indexOf(te, W);
8013
8013
  if (we === -1)
8014
8014
  break;
8015
8015
  const Ie = (fe = Q.substring(0, we)) == null ? void 0 : fe.split(`
8016
8016
  `).length;
8017
- me.push(Ie), U = we + 1;
8017
+ me.push(Ie), W = we + 1;
8018
8018
  }
8019
8019
  return me;
8020
8020
  }
8021
8021
  function be(Q, te) {
8022
8022
  var fe;
8023
- const me = Q.matchAll(new RegExp(te, "g")), U = [];
8023
+ const me = Q.matchAll(new RegExp(te, "g")), W = [];
8024
8024
  for (const we of Array.from(me))
8025
8025
  if (we.index !== void 0) {
8026
8026
  const Ie = (fe = Q.substring(0, we.index)) == null ? void 0 : fe.split(`
8027
8027
  `).length;
8028
- U.push(Ie);
8028
+ W.push(Ie);
8029
8029
  }
8030
- return U;
8030
+ return W;
8031
8031
  }
8032
8032
  function Ce() {
8033
8033
  k.value = "", _();
@@ -8279,7 +8279,7 @@ const Dy = {
8279
8279
  ]),
8280
8280
  _: 1
8281
8281
  }, 8, ["aria-label", "copy-tooltip", "theme"])) : F("", !0),
8282
- H(Q.$slots, "secondary-actions", {}, void 0, !0)
8282
+ z(Q.$slots, "secondary-actions", {}, void 0, !0)
8283
8283
  ])) : F("", !0)
8284
8284
  ])
8285
8285
  ], 10, Ty));
@@ -8352,14 +8352,14 @@ const Dy = {
8352
8352
  "data-testid": "collapse-title"
8353
8353
  }, {
8354
8354
  default: O(() => [
8355
- H(v.$slots, "title", {}, () => [
8355
+ z(v.$slots, "title", {}, () => [
8356
8356
  de(ne(e.title), 1)
8357
8357
  ], !0)
8358
8358
  ]),
8359
8359
  _: 3
8360
8360
  })) : F("", !0),
8361
8361
  R("div", Wy, [
8362
- H(v.$slots, "trigger", {
8362
+ z(v.$slots, "trigger", {
8363
8363
  isCollapsed: d.value,
8364
8364
  toggle: f
8365
8365
  }, () => [
@@ -8371,7 +8371,7 @@ const Dy = {
8371
8371
  type: "button",
8372
8372
  onClick: g[0] || (g[0] = qe((S) => f(), ["prevent", "stop"]))
8373
8373
  }, [
8374
- H(v.$slots, "trigger-content", {}, () => [
8374
+ z(v.$slots, "trigger-content", {}, () => [
8375
8375
  K(T(Sf), {
8376
8376
  class: ue(["collapse-trigger-icon", { "collapse-expanded": !d.value }]),
8377
8377
  "data-testid": "collapse-trigger-icon",
@@ -8387,12 +8387,12 @@ const Dy = {
8387
8387
  ])
8388
8388
  ], 2),
8389
8389
  u.value ? (h(), D("div", Vy, [
8390
- H(v.$slots, "visible-content", {}, void 0, !0)
8390
+ z(v.$slots, "visible-content", {}, void 0, !0)
8391
8391
  ])) : F("", !0),
8392
8392
  K(ia, { name: "kongponents-fade-transition" }, {
8393
8393
  default: O(() => [
8394
8394
  ut((h(), D("div", jy, [
8395
- H(v.$slots, "default", {}, void 0, !0)
8395
+ z(v.$slots, "default", {}, void 0, !0)
8396
8396
  ])), [
8397
8397
  [Cl, !d.value],
8398
8398
  [k, { id: T(r) }]
@@ -9635,7 +9635,7 @@ function Ho(e, t, a) {
9635
9635
  weekStartsOn: $,
9636
9636
  locale: w,
9637
9637
  _originalDate: M
9638
- }, W = m.match(Xb).map(function(q) {
9638
+ }, U = m.match(Xb).map(function(q) {
9639
9639
  var B = q[0];
9640
9640
  if (B === "p" || B === "P") {
9641
9641
  var x = vb[B];
@@ -9655,7 +9655,7 @@ function Ho(e, t, a) {
9655
9655
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + B + "`");
9656
9656
  return q;
9657
9657
  }).join("");
9658
- return W;
9658
+ return U;
9659
9659
  }
9660
9660
  function a0(e) {
9661
9661
  var t = e.match(Jb);
@@ -9904,8 +9904,8 @@ var Ll = Bs.exports, Ls = { exports: {} }, _s = { exports: {} };
9904
9904
  P.setUTCFullYear(C + 1, 0, M), P.setUTCHours(0, 0, 0, 0);
9905
9905
  var Y = (0, i.default)(P, c), V = /* @__PURE__ */ new Date(0);
9906
9906
  V.setUTCFullYear(C, 0, M), V.setUTCHours(0, 0, 0, 0);
9907
- var W = (0, i.default)(V, c);
9908
- return w.getTime() >= Y.getTime() ? C + 1 : w.getTime() >= W.getTime() ? C : C - 1;
9907
+ var U = (0, i.default)(V, c);
9908
+ return w.getTime() >= Y.getTime() ? C + 1 : w.getTime() >= U.getTime() ? C : C - 1;
9909
9909
  }
9910
9910
  e.exports = t.default;
9911
9911
  })(_s, _s.exports);
@@ -11175,9 +11175,9 @@ var P0 = Hs.exports;
11175
11175
  }), t.default = w;
11176
11176
  var n = a(r0), r = a(s0), i = a(La), s = a(g0), l = a(m0), o = a(ev), u = si, c = a(Bn), d = a(jt), f = Ln, v = a(P0), g = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, k = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, S = /^'([^]*?)'?$/, m = /''/g, y = /[a-zA-Z]/;
11177
11177
  function w($, M, P) {
11178
- var Y, V, W, q, B, x, I, N, j, ae, J, ee, _, se, oe, ke, be, Ce;
11178
+ var Y, V, U, q, B, x, I, N, j, ae, J, ee, _, se, oe, ke, be, Ce;
11179
11179
  (0, d.default)(2, arguments);
11180
- var Ee = String(M), Le = (0, f.getDefaultOptions)(), Ye = (Y = (V = P == null ? void 0 : P.locale) !== null && V !== void 0 ? V : Le.locale) !== null && Y !== void 0 ? Y : v.default, We = (0, c.default)((W = (q = (B = (x = P == null ? void 0 : P.firstWeekContainsDate) !== null && x !== void 0 ? x : P == null || (I = P.locale) === null || I === void 0 || (N = I.options) === null || N === void 0 ? void 0 : N.firstWeekContainsDate) !== null && B !== void 0 ? B : Le.firstWeekContainsDate) !== null && q !== void 0 ? q : (j = Le.locale) === null || j === void 0 || (ae = j.options) === null || ae === void 0 ? void 0 : ae.firstWeekContainsDate) !== null && W !== void 0 ? W : 1);
11180
+ var Ee = String(M), Le = (0, f.getDefaultOptions)(), Ye = (Y = (V = P == null ? void 0 : P.locale) !== null && V !== void 0 ? V : Le.locale) !== null && Y !== void 0 ? Y : v.default, We = (0, c.default)((U = (q = (B = (x = P == null ? void 0 : P.firstWeekContainsDate) !== null && x !== void 0 ? x : P == null || (I = P.locale) === null || I === void 0 || (N = I.options) === null || N === void 0 ? void 0 : N.firstWeekContainsDate) !== null && B !== void 0 ? B : Le.firstWeekContainsDate) !== null && q !== void 0 ? q : (j = Le.locale) === null || j === void 0 || (ae = j.options) === null || ae === void 0 ? void 0 : ae.firstWeekContainsDate) !== null && U !== void 0 ? U : 1);
11181
11181
  if (!(We >= 1 && We <= 7))
11182
11182
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
11183
11183
  var at = (0, c.default)((J = (ee = (_ = (se = P == null ? void 0 : P.weekStartsOn) !== null && se !== void 0 ? se : P == null || (oe = P.locale) === null || oe === void 0 || (ke = oe.options) === null || ke === void 0 ? void 0 : ke.weekStartsOn) !== null && _ !== void 0 ? _ : Le.weekStartsOn) !== null && ee !== void 0 ? ee : (be = Le.locale) === null || be === void 0 || (Ce = be.options) === null || Ce === void 0 ? void 0 : Ce.weekStartsOn) !== null && J !== void 0 ? J : 0);
@@ -11198,8 +11198,8 @@ var P0 = Hs.exports;
11198
11198
  }, Q = Ee.match(k).map(function(te) {
11199
11199
  var me = te[0];
11200
11200
  if (me === "p" || me === "P") {
11201
- var U = l.default[me];
11202
- return U(te, Ye.formatLong);
11201
+ var W = l.default[me];
11202
+ return W(te, Ye.formatLong);
11203
11203
  }
11204
11204
  return te;
11205
11205
  }).join("").match(g).map(function(te) {
@@ -11208,9 +11208,9 @@ var P0 = Hs.exports;
11208
11208
  var me = te[0];
11209
11209
  if (me === "'")
11210
11210
  return C(te);
11211
- var U = s.default[me];
11212
- if (U)
11213
- return !(P != null && P.useAdditionalWeekYearTokens) && (0, u.isProtectedWeekYearToken)(te) && (0, u.throwProtectedError)(te, M, String($)), !(P != null && P.useAdditionalDayOfYearTokens) && (0, u.isProtectedDayOfYearToken)(te) && (0, u.throwProtectedError)(te, M, String($)), U(Je, te, Ye.localize, et);
11211
+ var W = s.default[me];
11212
+ if (W)
11213
+ return !(P != null && P.useAdditionalWeekYearTokens) && (0, u.isProtectedWeekYearToken)(te) && (0, u.throwProtectedError)(te, M, String($)), !(P != null && P.useAdditionalDayOfYearTokens) && (0, u.isProtectedDayOfYearToken)(te) && (0, u.throwProtectedError)(te, M, String($)), W(Je, te, Ye.localize, et);
11214
11214
  if (me.match(y))
11215
11215
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + me + "`");
11216
11216
  return te;
@@ -11956,11 +11956,11 @@ function Tc(e) {
11956
11956
  }
11957
11957
  if (r === Jt || (r === Xt || r === pa) && i === Zr) {
11958
11958
  w = ha;
11959
- var W = d && M === $ && $.visualViewport ? $.visualViewport.width : (
11959
+ var U = d && M === $ && $.visualViewport ? $.visualViewport.width : (
11960
11960
  // $FlowFixMe[prop-missing]
11961
11961
  M[Y]
11962
11962
  );
11963
- v -= W - n.width, v *= o ? 1 : -1;
11963
+ v -= U - n.width, v *= o ? 1 : -1;
11964
11964
  }
11965
11965
  }
11966
11966
  var q = Object.assign({
@@ -12181,7 +12181,7 @@ function Xr(e, t) {
12181
12181
  element: w,
12182
12182
  strategy: "absolute",
12183
12183
  placement: r
12184
- }), Y = nl(Object.assign({}, w, P)), V = f === Tr ? Y : M, W = {
12184
+ }), Y = nl(Object.assign({}, w, P)), V = f === Tr ? Y : M, U = {
12185
12185
  top: $.top - V.top + m.top,
12186
12186
  bottom: V.bottom - $.bottom + m.bottom,
12187
12187
  left: $.left - V.left + m.left,
@@ -12189,12 +12189,12 @@ function Xr(e, t) {
12189
12189
  }, q = e.modifiersData.offset;
12190
12190
  if (f === Tr && q) {
12191
12191
  var B = q[r];
12192
- Object.keys(W).forEach(function(x) {
12192
+ Object.keys(U).forEach(function(x) {
12193
12193
  var I = [ha, pa].indexOf(x) >= 0 ? 1 : -1, N = [Xt, pa].indexOf(x) >= 0 ? "y" : "x";
12194
- W[x] += B[N] * I;
12194
+ U[x] += B[N] * I;
12195
12195
  });
12196
12196
  }
12197
- return W;
12197
+ return U;
12198
12198
  }
12199
12199
  function Vw(e, t) {
12200
12200
  t === void 0 && (t = {});
@@ -12234,8 +12234,8 @@ function Gw(e) {
12234
12234
  flipVariations: g,
12235
12235
  allowedAutoPlacements: k
12236
12236
  }) : Ce);
12237
- }, []), $ = t.rects.reference, M = t.rects.popper, P = /* @__PURE__ */ new Map(), Y = !0, V = C[0], W = 0; W < C.length; W++) {
12238
- var q = C[W], B = Ma(q), x = ur(q) === or, I = [Xt, pa].indexOf(B) >= 0, N = I ? "width" : "height", j = Xr(t, {
12237
+ }, []), $ = t.rects.reference, M = t.rects.popper, P = /* @__PURE__ */ new Map(), Y = !0, V = C[0], U = 0; U < C.length; U++) {
12238
+ var q = C[U], B = Ma(q), x = ur(q) === or, I = [Xt, pa].indexOf(B) >= 0, N = I ? "width" : "height", j = Xr(t, {
12239
12239
  placement: q,
12240
12240
  boundary: c,
12241
12241
  rootBoundary: d,
@@ -12371,7 +12371,7 @@ function i2(e) {
12371
12371
  altBoundary: c
12372
12372
  }), m = Ma(t.placement), y = ur(t.placement), w = !y, C = zl(m), $ = r2(C), M = t.modifiersData.popperOffsets, P = t.rects.reference, Y = t.rects.popper, V = typeof k == "function" ? k(Object.assign({}, t.rects, {
12373
12373
  placement: t.placement
12374
- })) : k, W = typeof V == "number" ? {
12374
+ })) : k, U = typeof V == "number" ? {
12375
12375
  mainAxis: V,
12376
12376
  altAxis: V
12377
12377
  } : Object.assign({
@@ -12386,11 +12386,11 @@ function i2(e) {
12386
12386
  var x, I = C === "y" ? Xt : Jt, N = C === "y" ? pa : ha, j = C === "y" ? "height" : "width", ae = M[C], J = ae + S[I], ee = ae - S[N], _ = v ? -Y[j] / 2 : 0, se = y === or ? P[j] : Y[j], oe = y === or ? -Y[j] : -P[j], ke = t.elements.arrow, be = v && ke ? Fl(ke) : {
12387
12387
  width: 0,
12388
12388
  height: 0
12389
- }, Ce = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : lv(), Ee = Ce[I], Le = Ce[N], Ye = zr(0, P[j], be[j]), We = w ? P[j] / 2 - _ - Ye - Ee - W.mainAxis : se - Ye - Ee - W.mainAxis, at = w ? -P[j] / 2 + _ + Ye + Le + W.mainAxis : oe + Ye + Le + W.mainAxis, Ve = t.elements.arrow && ui(t.elements.arrow), Qe = Ve ? C === "y" ? Ve.clientTop || 0 : Ve.clientLeft || 0 : 0, Je = (x = q == null ? void 0 : q[C]) != null ? x : 0, et = ae + We - Je - Qe, Q = ae + at - Je, te = zr(v ? Ki(J, et) : J, ae, v ? Dn(ee, Q) : ee);
12389
+ }, Ce = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : lv(), Ee = Ce[I], Le = Ce[N], Ye = zr(0, P[j], be[j]), We = w ? P[j] / 2 - _ - Ye - Ee - U.mainAxis : se - Ye - Ee - U.mainAxis, at = w ? -P[j] / 2 + _ + Ye + Le + U.mainAxis : oe + Ye + Le + U.mainAxis, Ve = t.elements.arrow && ui(t.elements.arrow), Qe = Ve ? C === "y" ? Ve.clientTop || 0 : Ve.clientLeft || 0 : 0, Je = (x = q == null ? void 0 : q[C]) != null ? x : 0, et = ae + We - Je - Qe, Q = ae + at - Je, te = zr(v ? Ki(J, et) : J, ae, v ? Dn(ee, Q) : ee);
12390
12390
  M[C] = te, B[C] = te - ae;
12391
12391
  }
12392
12392
  if (l) {
12393
- var me, U = C === "x" ? Xt : Jt, fe = C === "x" ? pa : ha, we = M[$], Ie = $ === "y" ? "height" : "width", $e = we + S[U], tt = we - S[fe], vt = [Xt, Jt].indexOf(m) !== -1, X = (me = q == null ? void 0 : q[$]) != null ? me : 0, Oe = vt ? $e : we - P[Ie] - Y[Ie] - X + W.altAxis, Pe = vt ? we + P[Ie] + Y[Ie] - X - W.altAxis : tt, je = v && vt ? Mw(Oe, we, Pe) : zr(v ? Oe : $e, we, v ? Pe : tt);
12393
+ var me, W = C === "x" ? Xt : Jt, fe = C === "x" ? pa : ha, we = M[$], Ie = $ === "y" ? "height" : "width", $e = we + S[W], tt = we - S[fe], vt = [Xt, Jt].indexOf(m) !== -1, X = (me = q == null ? void 0 : q[$]) != null ? me : 0, Oe = vt ? $e : we - P[Ie] - Y[Ie] - X + U.altAxis, Pe = vt ? we + P[Ie] + Y[Ie] - X - U.altAxis : tt, je = v && vt ? Mw(Oe, we, Pe) : zr(v ? Oe : $e, we, v ? Pe : tt);
12394
12394
  M[$] = je, B[$] = je - we;
12395
12395
  }
12396
12396
  t.modifiersData[n] = B;
@@ -12535,8 +12535,8 @@ function h2(e) {
12535
12535
  c.rects = {
12536
12536
  reference: c2(y, ui(w), c.options.strategy === "fixed"),
12537
12537
  popper: Fl(w)
12538
- }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(W) {
12539
- return c.modifiersData[W.name] = Object.assign({}, W.data);
12538
+ }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(U) {
12539
+ return c.modifiersData[U.name] = Object.assign({}, U.data);
12540
12540
  });
12541
12541
  for (var C = 0; C < c.orderedModifiers.length; C++) {
12542
12542
  if (c.reset === !0) {
@@ -14213,7 +14213,7 @@ function GE({
14213
14213
  day: "numeric"
14214
14214
  });
14215
14215
  let m = t.numDays - d + 1, y = t.numDays - m + 1, w = Math.floor((m - 1) / _t + 1), C = 1, $ = t.numWeeks, M = 1, P = t.month, Y = t.year;
14216
- const V = /* @__PURE__ */ new Date(), W = V.getDate(), q = V.getMonth() + 1, B = V.getFullYear();
14216
+ const V = /* @__PURE__ */ new Date(), U = V.getDate(), q = V.getMonth() + 1, B = V.getFullYear();
14217
14217
  for (let x = 1; x <= zI; x++) {
14218
14218
  for (let I = 1, N = i; I <= _t; I++, N += N === _t ? 1 - _t : 1) {
14219
14219
  f && N === s && (m = 1, y = e.numDays, w = Math.floor((m - 1) / _t + 1), C = Math.floor((u - m) / _t + 1), $ = 1, M = c, P = e.month, Y = e.year, f = !1, v = !0);
@@ -14225,7 +14225,7 @@ function GE({
14225
14225
  59,
14226
14226
  59,
14227
14227
  999
14228
- ), ee = j, _ = `${lt(Y, 4)}-${lt(P, 2)}-${lt(m, 2)}`, se = I, oe = _t - I, ke = o[x - 1], be = l[x - 1], Ce = m === W && P === q && Y === B, Ee = v && m === 1, Le = v && m === u, Ye = x === 1, We = x === c, at = I === 1, Ve = I === _t, Qe = dp(Y, P, m);
14228
+ ), ee = j, _ = `${lt(Y, 4)}-${lt(P, 2)}-${lt(m, 2)}`, se = I, oe = _t - I, ke = o[x - 1], be = l[x - 1], Ce = m === U && P === q && Y === B, Ee = v && m === 1, Le = v && m === u, Ye = x === 1, We = x === c, at = I === 1, Ve = I === _t, Qe = dp(Y, P, m);
14229
14229
  r.push({
14230
14230
  locale: n,
14231
14231
  id: _,
@@ -16082,7 +16082,7 @@ function SO(e, { slots: t, emit: a }) {
16082
16082
  maxDate: C,
16083
16083
  disabledAttribute: $,
16084
16084
  disabledDates: M
16085
- } = wO(e), P = b(() => e.rows * e.columns), Y = b(() => e.step || P.value), V = b(() => jv(c.value) ?? null), W = b(() => Xn(c.value) ?? null), q = b(
16085
+ } = wO(e), P = b(() => e.rows * e.columns), Y = b(() => e.step || P.value), V = b(() => jv(c.value) ?? null), U = b(() => Xn(c.value) ?? null), q = b(
16086
16086
  () => e.minPage || (w.value ? oe(w.value) : null)
16087
16087
  ), B = b(
16088
16088
  () => e.maxPage || (C.value ? oe(C.value) : null)
@@ -16099,8 +16099,8 @@ function SO(e, { slots: t, emit: a }) {
16099
16099
  Z.isFocusable = Z.inMonth && Z.day === i.value;
16100
16100
  }, Ce = (Z, p) => {
16101
16101
  for (const A of Z)
16102
- for (const z of A.days)
16103
- if (p(z) === !1)
16102
+ for (const H of A.days)
16103
+ if (p(H) === !1)
16104
16104
  return;
16105
16105
  }, Ee = b(
16106
16106
  () => c.value.reduce((Z, p) => (Z.push(...p.viewDays), Z), [])
@@ -16135,7 +16135,7 @@ function SO(e, { slots: t, emit: a }) {
16135
16135
  const A = Le.value.find((le) => le.pinPage) || Le.value[0];
16136
16136
  if (!A || !A.hasRanges)
16137
16137
  return null;
16138
- const [z] = A.ranges, L = ((Z = z.start) == null ? void 0 : Z.date) || ((p = z.end) == null ? void 0 : p.date);
16138
+ const [H] = A.ranges, L = ((Z = H.start) == null ? void 0 : Z.date) || ((p = H.end) == null ? void 0 : p.date);
16139
16139
  return L ? oe(L) : null;
16140
16140
  }, Je = () => {
16141
16141
  if (Ta(V.value))
@@ -16143,7 +16143,7 @@ function SO(e, { slots: t, emit: a }) {
16143
16143
  const Z = Qe();
16144
16144
  return Ta(Z) ? Z : oe(/* @__PURE__ */ new Date());
16145
16145
  }, et = (Z, p = {}) => {
16146
- const { view: A = u.value, position: z = 1, force: L } = p, le = z > 0 ? 1 - z : -(P.value + z);
16146
+ const { view: A = u.value, position: H = 1, force: L } = p, le = H > 0 ? 1 - H : -(P.value + H);
16147
16147
  let ge = se(Z, le, A), xe = se(ge, P.value - 1, A);
16148
16148
  return L || (cl(ge, q.value) ? ge = q.value : eo(xe, B.value) && (ge = se(B.value, 1 - P.value)), xe = se(ge, P.value - 1)), { fromPage: ge, toPage: xe };
16149
16149
  }, Q = (Z, p, A = "") => {
@@ -16151,11 +16151,11 @@ function SO(e, { slots: t, emit: a }) {
16151
16151
  return A;
16152
16152
  if ((Z == null ? void 0 : Z.view) !== (p == null ? void 0 : p.view))
16153
16153
  return "fade";
16154
- const z = eo(p, Z), L = cl(p, Z);
16155
- return !z && !L ? "fade" : A === "slide-v" ? L ? "slide-down" : "slide-up" : L ? "slide-right" : "slide-left";
16154
+ const H = eo(p, Z), L = cl(p, Z);
16155
+ return !H && !L ? "fade" : A === "slide-v" ? L ? "slide-down" : "slide-up" : L ? "slide-right" : "slide-left";
16156
16156
  }, te = (Z = {}) => new Promise((p, A) => {
16157
- const { position: z = 1, force: L = !1, transition: le } = Z, ge = Ta(Z.page) ? Z.page : Je(), { fromPage: xe } = et(ge, {
16158
- position: z,
16157
+ const { position: H = 1, force: L = !1, transition: le } = Z, ge = Ta(Z.page) ? Z.page : Je(), { fromPage: xe } = et(ge, {
16158
+ position: H,
16159
16159
  force: L
16160
16160
  }), rt = [];
16161
16161
  for (let st = 0; st < P.value; st++) {
@@ -16188,7 +16188,7 @@ function SO(e, { slots: t, emit: a }) {
16188
16188
  }), me = (Z) => {
16189
16189
  const p = V.value ?? oe(/* @__PURE__ */ new Date());
16190
16190
  return se(p, Z);
16191
- }, U = (Z, p = {}) => {
16191
+ }, W = (Z, p = {}) => {
16192
16192
  const A = Ta(Z) ? Z : oe(Z);
16193
16193
  return Object.assign(
16194
16194
  p,
@@ -16202,15 +16202,15 @@ function SO(e, { slots: t, emit: a }) {
16202
16202
  u.value,
16203
16203
  m.value
16204
16204
  ).map((L) => JE(L, q.value, B.value)).some((L) => L);
16205
- }, fe = (Z, p = {}) => U(me(Z), p), we = b(() => fe(-Y.value)), Ie = b(() => fe(Y.value)), $e = async (Z, p = {}) => !p.force && !U(Z, p) ? !1 : (p.fromPage && !eI(p.fromPage, V.value) && (ti({ id: l.value, hideDelay: 0 }), p.view && (lO("view", 10), u.value = p.view), await te({
16205
+ }, fe = (Z, p = {}) => W(me(Z), p), we = b(() => fe(-Y.value)), Ie = b(() => fe(Y.value)), $e = async (Z, p = {}) => !p.force && !W(Z, p) ? !1 : (p.fromPage && !eI(p.fromPage, V.value) && (ti({ id: l.value, hideDelay: 0 }), p.view && (lO("view", 10), u.value = p.view), await te({
16206
16206
  ...p,
16207
16207
  page: p.fromPage,
16208
16208
  position: 1,
16209
16209
  force: !0
16210
16210
  }), a("did-move", c.value)), !0), tt = (Z, p = {}) => $e(me(Z), p), vt = () => tt(-Y.value), X = () => tt(Y.value), Oe = (Z) => {
16211
- const p = j.value ? ".in-month" : "", A = `.id-${m.value.getDayId(Z)}${p}`, z = `${A}.vc-focusable, ${A} .vc-focusable`, L = n.value;
16211
+ const p = j.value ? ".in-month" : "", A = `.id-${m.value.getDayId(Z)}${p}`, H = `${A}.vc-focusable, ${A} .vc-focusable`, L = n.value;
16212
16212
  if (L) {
16213
- const le = L.querySelector(z);
16213
+ const le = L.querySelector(H);
16214
16214
  if (le)
16215
16215
  return le.focus(), !0;
16216
16216
  }
@@ -16228,42 +16228,42 @@ function SO(e, { slots: t, emit: a }) {
16228
16228
  }, Tt = (Z, p) => {
16229
16229
  a("daykeydown", Z, p);
16230
16230
  const A = Z.noonDate;
16231
- let z = null;
16231
+ let H = null;
16232
16232
  switch (p.key) {
16233
16233
  case "ArrowLeft": {
16234
- z = qt(A, -1);
16234
+ H = qt(A, -1);
16235
16235
  break;
16236
16236
  }
16237
16237
  case "ArrowRight": {
16238
- z = qt(A, 1);
16238
+ H = qt(A, 1);
16239
16239
  break;
16240
16240
  }
16241
16241
  case "ArrowUp": {
16242
- z = qt(A, -7);
16242
+ H = qt(A, -7);
16243
16243
  break;
16244
16244
  }
16245
16245
  case "ArrowDown": {
16246
- z = qt(A, 7);
16246
+ H = qt(A, 7);
16247
16247
  break;
16248
16248
  }
16249
16249
  case "Home": {
16250
- z = qt(A, -Z.weekdayPosition + 1);
16250
+ H = qt(A, -Z.weekdayPosition + 1);
16251
16251
  break;
16252
16252
  }
16253
16253
  case "End": {
16254
- z = qt(A, Z.weekdayPositionFromEnd);
16254
+ H = qt(A, Z.weekdayPositionFromEnd);
16255
16255
  break;
16256
16256
  }
16257
16257
  case "PageUp": {
16258
- p.altKey ? z = Od(A, -1) : z = Ji(A, -1);
16258
+ p.altKey ? H = Od(A, -1) : H = Ji(A, -1);
16259
16259
  break;
16260
16260
  }
16261
16261
  case "PageDown": {
16262
- p.altKey ? z = Od(A, 1) : z = Ji(A, 1);
16262
+ p.altKey ? H = Od(A, 1) : H = Ji(A, 1);
16263
16263
  break;
16264
16264
  }
16265
16265
  }
16266
- z && (p.preventDefault(), Pe(z).catch());
16266
+ H && (p.preventDefault(), Pe(H).catch());
16267
16267
  }, Ot = (Z) => {
16268
16268
  const p = r.value;
16269
16269
  p != null && Tt(p, Z);
@@ -16335,7 +16335,7 @@ function SO(e, { slots: t, emit: a }) {
16335
16335
  count: P,
16336
16336
  step: Y,
16337
16337
  firstPage: V,
16338
- lastPage: W,
16338
+ lastPage: U,
16339
16339
  canMovePrev: we,
16340
16340
  canMoveNext: Ie,
16341
16341
  minPage: q,
@@ -16347,7 +16347,7 @@ function SO(e, { slots: t, emit: a }) {
16347
16347
  showWeeknumbers: I,
16348
16348
  showIsoWeeknumbers: N,
16349
16349
  getDateAddress: oe,
16350
- canMove: U,
16350
+ canMove: W,
16351
16351
  canMoveBy: fe,
16352
16352
  move: $e,
16353
16353
  moveBy: tt,
@@ -16499,7 +16499,7 @@ const $O = ie({
16499
16499
  function V() {
16500
16500
  on(document, "keydown", C), on(document, "click", w), on(document, "show-popover", $), on(document, "hide-popover", M), on(document, "toggle-popover", P);
16501
16501
  }
16502
- function W(_) {
16502
+ function U(_) {
16503
16503
  t("before-show", _);
16504
16504
  }
16505
16505
  function q(_) {
@@ -16551,7 +16551,7 @@ const $O = ie({
16551
16551
  alignment: c,
16552
16552
  hide: m,
16553
16553
  setupPopper: f,
16554
- beforeEnter: W,
16554
+ beforeEnter: U,
16555
16555
  afterEnter: q,
16556
16556
  beforeLeave: B,
16557
16557
  afterLeave: x,
@@ -16592,7 +16592,7 @@ function DO(e, t, a, n, r, i) {
16592
16592
  tabindex: "-1",
16593
16593
  class: `vc-popover-content direction-${e.direction}`
16594
16594
  }, e.$attrs), [
16595
- H(e.$slots, "default", {
16595
+ z(e.$slots, "default", {
16596
16596
  direction: e.direction,
16597
16597
  alignment: e.alignment,
16598
16598
  data: e.data,
@@ -16641,7 +16641,7 @@ const fu = /* @__PURE__ */ mn($O, [["render", DO]]), xO = { class: "vc-day-popov
16641
16641
  }, null, 2)
16642
16642
  ])) : F("", !0),
16643
16643
  R("div", AO, [
16644
- H(n.$slots, "default", {}, () => [
16644
+ z(n.$slots, "default", {}, () => [
16645
16645
  de(ne(e.attribute.popover ? e.attribute.popover.label : "No content provided"), 1)
16646
16646
  ])
16647
16647
  ])
@@ -16657,7 +16657,7 @@ const fu = /* @__PURE__ */ mn($O, [["render", DO]]), xO = { class: "vc-day-popov
16657
16657
  },
16658
16658
  setup(e) {
16659
16659
  const a = Dp(e.name);
16660
- return (n, r) => T(a) ? (h(), G(Fe(T(a)), Yr(He({ key: 0 }, n.$attrs)), null, 16)) : H(n.$slots, "default", { key: 1 });
16660
+ return (n, r) => T(a) ? (h(), G(Fe(T(a)), Yr(He({ key: 0 }, n.$attrs)), null, 16)) : z(n.$slots, "default", { key: 1 });
16661
16661
  }
16662
16662
  }), IO = { class: "vc-day-popover-container" }, OO = {
16663
16663
  key: 0,
@@ -17015,7 +17015,7 @@ const c8 = { class: "vc-nav-header" }, d8 = ["disabled"], f8 = ["disabled"], v8
17015
17015
  () => P.value.some((oe) => !oe.isDisabled)
17016
17016
  ), V = b(
17017
17017
  () => r(o.value + 1, t.value.navMonths)
17018
- ), W = b(
17018
+ ), U = b(
17019
17019
  () => V.value.some((oe) => !oe.isDisabled)
17020
17020
  ), q = b(
17021
17021
  () => i(
@@ -17046,7 +17046,7 @@ const c8 = { class: "vc-nav-header" }, d8 = ["disabled"], f8 = ["disabled"], v8
17046
17046
  ), ae = b(
17047
17047
  () => s.value ? Y.value : x.value
17048
17048
  ), J = b(
17049
- () => s.value ? W.value : N.value
17049
+ () => s.value ? U.value : N.value
17050
17050
  ), ee = b(() => jv(q.value.map((oe) => oe.year))), _ = b(() => Xn(q.value.map((oe) => oe.year))), se = b(() => s.value ? o.value : `${ee.value} - ${_.value}`);
17051
17051
  return kl(() => {
17052
17052
  o.value = n.value.year, d();
@@ -17132,7 +17132,7 @@ const c8 = { class: "vc-nav-header" }, d8 = ["disabled"], f8 = ["disabled"], v8
17132
17132
  page: null
17133
17133
  },
17134
17134
  setup(e) {
17135
- return u8($i(e, "page")), (a, n) => H(a.$slots, "default");
17135
+ return u8($i(e, "page")), (a, n) => z(a.$slots, "default");
17136
17136
  }
17137
17137
  }), g8 = /* @__PURE__ */ ie({
17138
17138
  __name: "CalendarNavPopover",
@@ -17214,10 +17214,10 @@ const c8 = { class: "vc-nav-header" }, d8 = ["disabled"], f8 = ["disabled"], v8
17214
17214
  }), N;
17215
17215
  }), m = b(() => S.value.highlights), y = b(() => !!Wa(m.value)), w = b(() => S.value.content), C = b(() => S.value.dots), $ = b(() => !!Wa(C.value)), M = b(() => S.value.bars), P = b(() => !!Wa(M.value)), Y = b(() => S.value.popovers), V = b(
17216
17216
  () => Y.value.map((N) => N.attribute)
17217
- ), W = Dp("day-content"), q = b(() => [
17217
+ ), U = Dp("day-content"), q = b(() => [
17218
17218
  "vc-day",
17219
17219
  ...d.value.classes,
17220
- { "vc-day-box-center-center": !W },
17220
+ { "vc-day-box-center-center": !U },
17221
17221
  { "is-not-in-month": !e.day.inMonth }
17222
17222
  ]), B = b(() => {
17223
17223
  let N;
@@ -17545,8 +17545,8 @@ function B8(e, { emit: t, slots: a }) {
17545
17545
  return ke({ type: p, mask: A });
17546
17546
  }), V = b(
17547
17547
  () => fe(c.value ?? u.value)
17548
- ), W = b(() => M.value ? e.is24hr ? i.value.inputTime24hr : i.value.inputTime : $.value ? e.is24hr ? i.value.inputDateTime24hr : i.value.inputDateTime : i.value.input), q = b(() => /[Hh]/g.test(W.value)), B = b(
17549
- () => /[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(W.value)
17548
+ ), U = b(() => M.value ? e.is24hr ? i.value.inputTime24hr : i.value.inputTime : $.value ? e.is24hr ? i.value.inputDateTime24hr : i.value.inputDateTime : i.value.input), q = b(() => /[Hh]/g.test(U.value)), B = b(
17549
+ () => /[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(U.value)
17550
17550
  ), x = b(() => {
17551
17551
  if (q.value && B.value)
17552
17552
  return "dateTime";
@@ -17572,7 +17572,7 @@ function B8(e, { emit: t, slots: a }) {
17572
17572
  const p = ["start", "end"].map((A) => ({
17573
17573
  input: te(A),
17574
17574
  change: me(A),
17575
- keyup: U,
17575
+ keyup: W,
17576
17576
  ...e.popover && N.value
17577
17577
  }));
17578
17578
  return m.value ? {
@@ -17587,8 +17587,8 @@ function B8(e, { emit: t, slots: a }) {
17587
17587
  ...e.selectAttribute,
17588
17588
  dates: u.value,
17589
17589
  pinPage: !0
17590
- }, { dot: A, bar: z, highlight: L, content: le } = p;
17591
- return !A && !z && !L && !le && (p.highlight = !0), p;
17590
+ }, { dot: A, bar: H, highlight: L, content: le } = p;
17591
+ return !A && !H && !L && !le && (p.highlight = !0), p;
17592
17592
  }), ee = b(() => {
17593
17593
  if (!m.value || !Le(c.value))
17594
17594
  return null;
@@ -17596,8 +17596,8 @@ function B8(e, { emit: t, slots: a }) {
17596
17596
  key: "select-drag",
17597
17597
  ...e.dragAttribute,
17598
17598
  dates: c.value
17599
- }, { dot: A, bar: z, highlight: L, content: le } = p;
17600
- return !A && !z && !L && !le && (p.highlight = {
17599
+ }, { dot: A, bar: H, highlight: L, content: le } = p;
17600
+ return !A && !H && !L && !le && (p.highlight = {
17601
17601
  startEnd: {
17602
17602
  fillMode: "outline"
17603
17603
  }
@@ -17615,27 +17615,27 @@ function B8(e, { emit: t, slots: a }) {
17615
17615
  min: [0, 59],
17616
17616
  hr: [0, 23]
17617
17617
  }, A = C.value ? 0 : e.timeAccuracy;
17618
- return [0, 1].map((z) => {
17618
+ return [0, 1].map((H) => {
17619
17619
  switch (A) {
17620
17620
  case 0:
17621
17621
  return {
17622
- hours: p.hr[z],
17623
- minutes: p.min[z],
17624
- seconds: p.sec[z],
17625
- milliseconds: p.ms[z]
17622
+ hours: p.hr[H],
17623
+ minutes: p.min[H],
17624
+ seconds: p.sec[H],
17625
+ milliseconds: p.ms[H]
17626
17626
  };
17627
17627
  case 1:
17628
17628
  return {
17629
- minutes: p.min[z],
17630
- seconds: p.sec[z],
17631
- milliseconds: p.ms[z]
17629
+ minutes: p.min[H],
17630
+ seconds: p.sec[H],
17631
+ milliseconds: p.ms[H]
17632
17632
  };
17633
17633
  case 3:
17634
- return { milliseconds: p.ms[z] };
17634
+ return { milliseconds: p.ms[H] };
17635
17635
  case 4:
17636
17636
  return {};
17637
17637
  default:
17638
- return { seconds: p.sec[z], milliseconds: p.ms[z] };
17638
+ return { seconds: p.sec[H], milliseconds: p.ms[H] };
17639
17639
  }
17640
17640
  });
17641
17641
  }
@@ -17644,9 +17644,9 @@ function B8(e, { emit: t, slots: a }) {
17644
17644
  }
17645
17645
  function be(p) {
17646
17646
  return ke(p).map(
17647
- (A, z) => ({
17647
+ (A, H) => ({
17648
17648
  ...A,
17649
- rules: se.value[z]
17649
+ rules: se.value[H]
17650
17650
  })
17651
17651
  );
17652
17652
  }
@@ -17664,31 +17664,31 @@ function B8(e, { emit: t, slots: a }) {
17664
17664
  return !0;
17665
17665
  if (p == null || A == null)
17666
17666
  return !1;
17667
- const z = tr(p), L = tr(A);
17668
- return z && L ? p.getTime() === A.getTime() : z || L ? !1 : Ye(p.start, A.start) && Ye(p.end, A.end);
17667
+ const H = tr(p), L = tr(A);
17668
+ return H && L ? p.getTime() === A.getTime() : H || L ? !1 : Ye(p.start, A.start) && Ye(p.end, A.end);
17669
17669
  }
17670
17670
  function We(p) {
17671
17671
  return !Le(p) || !s.value ? !1 : s.value.intersectsRange(r.value.range(p));
17672
17672
  }
17673
- function at(p, A, z, L) {
17673
+ function at(p, A, H, L) {
17674
17674
  if (!Le(p))
17675
17675
  return null;
17676
17676
  if (Ee(p)) {
17677
17677
  const le = r.value.toDate(p.start, {
17678
17678
  ...A[0],
17679
17679
  fillDate: y.value ?? void 0,
17680
- patch: z
17680
+ patch: H
17681
17681
  }), ge = r.value.toDate(p.end, {
17682
17682
  ...A[1],
17683
17683
  fillDate: w.value ?? void 0,
17684
- patch: z
17684
+ patch: H
17685
17685
  });
17686
17686
  return Bt({ start: le, end: ge }, L);
17687
17687
  }
17688
17688
  return r.value.toDateOrNull(p, {
17689
17689
  ...A[0],
17690
17690
  fillDate: u.value,
17691
- patch: z
17691
+ patch: H
17692
17692
  });
17693
17693
  }
17694
17694
  function Ve(p, A) {
@@ -17698,16 +17698,16 @@ function B8(e, { emit: t, slots: a }) {
17698
17698
  } : m.value ? null : r.value.fromDate(p, A[0]);
17699
17699
  }
17700
17700
  function Qe(p, A = {}) {
17701
- return clearTimeout(g), new Promise((z) => {
17701
+ return clearTimeout(g), new Promise((H) => {
17702
17702
  const { debounce: L = 0, ...le } = A;
17703
17703
  L > 0 ? g = window.setTimeout(() => {
17704
- z(Je(p, le));
17705
- }, L) : z(Je(p, le));
17704
+ H(Je(p, le));
17705
+ }, L) : H(Je(p, le));
17706
17706
  });
17707
17707
  }
17708
17708
  function Je(p, {
17709
17709
  config: A = Y.value,
17710
- patch: z = "dateTime",
17710
+ patch: H = "dateTime",
17711
17711
  clearIfEqual: L = !1,
17712
17712
  formatInput: le = !0,
17713
17713
  hidePopover: ge = !1,
@@ -17719,7 +17719,7 @@ function B8(e, { emit: t, slots: a }) {
17719
17719
  let Pt = at(
17720
17720
  p,
17721
17721
  St,
17722
- z,
17722
+ H,
17723
17723
  rt
17724
17724
  );
17725
17725
  if (We(Pt)) {
@@ -17742,7 +17742,7 @@ function B8(e, { emit: t, slots: a }) {
17742
17742
  ht(() => {
17743
17743
  const p = be({
17744
17744
  type: "string",
17745
- mask: W.value
17745
+ mask: U.value
17746
17746
  }), A = Ve(
17747
17747
  c.value ?? u.value,
17748
17748
  p
@@ -17750,17 +17750,17 @@ function B8(e, { emit: t, slots: a }) {
17750
17750
  m.value ? d.value = [A && A.start, A && A.end] : d.value = [A, ""];
17751
17751
  });
17752
17752
  }
17753
- function Q(p, A, z) {
17753
+ function Q(p, A, H) {
17754
17754
  d.value.splice(A === "start" ? 0 : 1, 1, p);
17755
17755
  const L = m.value ? {
17756
17756
  start: d.value[0],
17757
17757
  end: d.value[1] || d.value[0]
17758
17758
  } : p, le = {
17759
17759
  type: "string",
17760
- mask: W.value
17760
+ mask: U.value
17761
17761
  };
17762
17762
  Qe(L, {
17763
- ...z,
17763
+ ...H,
17764
17764
  config: le,
17765
17765
  patch: x.value,
17766
17766
  targetPriority: A,
@@ -17784,7 +17784,7 @@ function B8(e, { emit: t, slots: a }) {
17784
17784
  });
17785
17785
  };
17786
17786
  }
17787
- function U(p) {
17787
+ function W(p) {
17788
17788
  p.key === "Escape" && Qe(u.value, {
17789
17789
  formatInput: !0,
17790
17790
  hidePopover: !0
@@ -17818,10 +17818,10 @@ function B8(e, { emit: t, slots: a }) {
17818
17818
  hidePopover: !0
17819
17819
  };
17820
17820
  if (m.value) {
17821
- const z = !P.value;
17822
- z ? k = { start: p.startDate, end: p.endDate } : k != null && (k.end = p.date), Qe(k, {
17821
+ const H = !P.value;
17822
+ H ? k = { start: p.startDate, end: p.endDate } : k != null && (k.end = p.date), Qe(k, {
17823
17823
  ...A,
17824
- dragging: z
17824
+ dragging: H
17825
17825
  });
17826
17826
  } else
17827
17827
  Qe(p.date, {
@@ -17876,17 +17876,17 @@ function B8(e, { emit: t, slots: a }) {
17876
17876
  });
17877
17877
  }
17878
17878
  function Bt(p, A) {
17879
- const { start: z, end: L } = p;
17880
- if (z > L)
17879
+ const { start: H, end: L } = p;
17880
+ if (H > L)
17881
17881
  switch (A) {
17882
17882
  case "start":
17883
- return { start: z, end: z };
17883
+ return { start: H, end: H };
17884
17884
  case "end":
17885
17885
  return { start: L, end: L };
17886
17886
  default:
17887
- return { start: L, end: z };
17887
+ return { start: L, end: H };
17888
17888
  }
17889
- return { start: z, end: L };
17889
+ return { start: H, end: L };
17890
17890
  }
17891
17891
  async function Tt(p, A = {}) {
17892
17892
  return v.value == null ? !1 : v.value.move(p, A);
@@ -17895,10 +17895,10 @@ function B8(e, { emit: t, slots: a }) {
17895
17895
  return v.value == null ? !1 : v.value.moveBy(p, A);
17896
17896
  }
17897
17897
  async function ce(p, A = {}) {
17898
- const z = u.value;
17899
- if (v.value == null || !Le(z))
17898
+ const H = u.value;
17899
+ if (v.value == null || !Le(H))
17900
17900
  return !1;
17901
- const L = p !== "end", le = L ? 1 : -1, ge = Ee(z) ? L ? z.start : z.end : z, xe = ep(ge, "monthly", r.value);
17901
+ const L = p !== "end", le = L ? 1 : -1, ge = Ee(H) ? L ? H.start : H.end : H, xe = ep(ge, "monthly", r.value);
17902
17902
  return v.value.move(xe, { position: le, ...A });
17903
17903
  }
17904
17904
  ve(
@@ -17915,7 +17915,7 @@ function B8(e, { emit: t, slots: a }) {
17915
17915
  Je(null, { formatInput: !0 });
17916
17916
  }
17917
17917
  ), ve(
17918
- () => W.value,
17918
+ () => U.value,
17919
17919
  () => et()
17920
17920
  ), ve(
17921
17921
  () => e.modelValue,
@@ -18097,7 +18097,7 @@ function R8(e) {
18097
18097
  (B) => P.value.hours.some((x) => x.value === B.value)
18098
18098
  )), V = b(() => _8.filter(
18099
18099
  (B) => P.value.hours.some((x) => x.value === B.value)
18100
- )), W = b(() => l.value ? P.value.hours : M.value ? Y.value : V.value), q = b(() => {
18100
+ )), U = b(() => l.value ? P.value.hours : M.value ? Y.value : V.value), q = b(() => {
18101
18101
  const B = [];
18102
18102
  return Wa(Y.value) && B.push({ value: !0, label: "AM" }), Wa(V.value) && B.push({ value: !1, label: "PM" }), B;
18103
18103
  });
@@ -18113,7 +18113,7 @@ function R8(e) {
18113
18113
  seconds: C,
18114
18114
  milliseconds: $,
18115
18115
  options: P,
18116
- hourOptions: W,
18116
+ hourOptions: U,
18117
18117
  isAM: M,
18118
18118
  isAMOptions: q,
18119
18119
  is24hr: l
@@ -18355,7 +18355,7 @@ const Y8 = ["value"], F8 = ["value", "disabled"], z8 = {
18355
18355
  function t4(e, t, a, n, r, i) {
18356
18356
  const s = It("DatePickerPopover"), l = It("DatePickerBase");
18357
18357
  return e.$slots.default ? (h(), D(De, { key: 0 }, [
18358
- H(e.$slots, "default", Yr(ms(e.slotCtx))),
18358
+ z(e.$slots, "default", Yr(ms(e.slotCtx))),
18359
18359
  K(s, Yr(ms(e.$attrs)), null, 16)
18360
18360
  ], 64)) : (h(), G(l, Yr(He({ key: 1 }, e.$attrs)), null, 16));
18361
18361
  }
@@ -18409,7 +18409,7 @@ const a4 = /* @__PURE__ */ mn(e4, [["render", t4]]), n4 = { class: "k-segmented-
18409
18409
  type: "button",
18410
18410
  onClick: (c) => s(u)
18411
18411
  }, [
18412
- H(l.$slots, "option-label", { option: u }, () => [
18412
+ z(l.$slots, "option-label", { option: u }, () => [
18413
18413
  de(ne(u.label), 1)
18414
18414
  ], !0)
18415
18415
  ], 10, r4))), 128))
@@ -18570,11 +18570,11 @@ const a4 = /* @__PURE__ */ mn(e4, [["render", t4]]), n4 = { class: "k-segmented-
18570
18570
  start: new Date(_),
18571
18571
  end: new Date(se),
18572
18572
  timePeriodsKey: M.selectedTimeframe.key
18573
- }, M.fullRangeDisplay = W(M.selectedRange, !1), v.value = !1, ee && q();
18573
+ }, M.fullRangeDisplay = U(M.selectedRange, !1), v.value = !1, ee && q();
18574
18574
  }, V = () => {
18575
18575
  var J;
18576
18576
  S.value = g, k.value = null, M.abbreviatedDisplay = n.placeholder, M.fullRangeDisplay = "", d.value && (M.selectedTimeframe = (J = n.timePeriods[0]) == null ? void 0 : J.values[0]), M.selectedRange = M.previouslySelectedRange = g, r("change", M.selectedRange), r("update:modelValue", M.selectedRange);
18577
- }, W = (J, ee) => {
18577
+ }, U = (J, ee) => {
18578
18578
  const { start: _, end: se } = J;
18579
18579
  let oe = "PP hh:mm a";
18580
18580
  const ke = jo(_, $, "(z)");
@@ -18584,7 +18584,7 @@ const a4 = /* @__PURE__ */ mn(e4, [["render", t4]]), n4 = { class: "k-segmented-
18584
18584
  c.value ? (r("change", { start: M.selectedRange.start, end: null }), r("update:modelValue", { start: M.selectedRange.start, end: null })) : (r("change", M.selectedRange), r("update:modelValue", M.selectedRange)), (J = i.value) == null || J.hidePopover(), B();
18585
18585
  }, B = () => {
18586
18586
  var J;
18587
- f.value && ((J = M.selectedRange) != null && J.start) ? M.abbreviatedDisplay = W(M.selectedRange, !0) : d.value && !f.value && (M.abbreviatedDisplay = M.selectedTimeframe.display);
18587
+ f.value && ((J = M.selectedRange) != null && J.start) ? M.abbreviatedDisplay = U(M.selectedRange, !0) : d.value && !f.value && (M.abbreviatedDisplay = M.selectedTimeframe.display);
18588
18588
  }, x = (J) => J.charAt(0).toUpperCase() + J.slice(1), I = (J) => M.selectedTimeframe.key === J.key ? "primary" : "secondary";
18589
18589
  return ve(k, (J, ee) => {
18590
18590
  J !== void 0 && J !== ee && P({ start: J, end: null, timePeriodsKey: "" });
@@ -18787,31 +18787,31 @@ const a4 = /* @__PURE__ */ mn(e4, [["render", t4]]), n4 = { class: "k-segmented-
18787
18787
  return !!((V = a.labelAttributes) != null && V.info || r["label-tooltip"]);
18788
18788
  }), d = b(() => s(a.label, f.value)), f = b(() => (n == null ? void 0 : n.required) !== void 0 && String(n == null ? void 0 : n.required) !== "false"), v = E(!1), g = b(() => {
18789
18789
  if (v.value) {
18790
- let V = "bytes", W = k.value;
18791
- return k.value >= 1e3 && k.value < 1e6 && (W = k.value / 1e3, V = "KB"), k.value >= 1e6 && (W = k.value / 1e6, V = "MB"), `File size must be less than ${W}${V}.`;
18790
+ let V = "bytes", U = k.value;
18791
+ return k.value >= 1e3 && k.value < 1e6 && (U = k.value / 1e3, V = "KB"), k.value >= 1e6 && (U = k.value / 1e6, V = "MB"), `File size must be less than ${U}${V}.`;
18792
18792
  }
18793
18793
  return "";
18794
18794
  }), k = b(() => a.maxFileSize || a.maxFileSize === 0 ? a.maxFileSize : 525e4), S = E(!1), m = E([]), y = E(0), w = E(""), C = E([]), $ = (V) => {
18795
18795
  var B, x, I, N, j, ae;
18796
18796
  m.value = (B = V.target) == null ? void 0 : B.files, w.value = String((x = m == null ? void 0 : m.value[0]) == null ? void 0 : x.name);
18797
- const W = (I = m == null ? void 0 : m.value[0]) == null ? void 0 : I.size;
18798
- S.value = Number(W) > k.value, S.value && (y.value++, Number(W) > k.value && (v.value = !0), i("error", m.value));
18797
+ const U = (I = m == null ? void 0 : m.value[0]) == null ? void 0 : I.size;
18798
+ S.value = Number(U) > k.value, S.value && (y.value++, Number(U) > k.value && (v.value = !0), i("error", m.value));
18799
18799
  const q = (j = (N = o.value) == null ? void 0 : N.$el) == null ? void 0 : j.querySelector("input");
18800
- W ? C.value.push(m.value) : q && (q.files = C.value[C.value.length - 1], m.value = q.files, q.files && (w.value = String((ae = q.files[q.files.length - 1]) == null ? void 0 : ae.name))), i("file-added", m.value);
18800
+ U ? C.value.push(m.value) : q && (q.files = C.value[C.value.length - 1], m.value = q.files, q.files && (w.value = String((ae = q.files[q.files.length - 1]) == null ? void 0 : ae.name))), i("file-added", m.value);
18801
18801
  }, M = () => {
18802
- var W, q;
18802
+ var U, q;
18803
18803
  if (w.value) {
18804
18804
  P();
18805
18805
  return;
18806
18806
  }
18807
- const V = (q = (W = o.value) == null ? void 0 : W.$el) == null ? void 0 : q.querySelector("input");
18807
+ const V = (q = (U = o.value) == null ? void 0 : U.$el) == null ? void 0 : q.querySelector("input");
18808
18808
  V && V.click();
18809
18809
  }, P = () => {
18810
18810
  m.value = [], w.value = "", C.value = [], y.value++, S.value = !1, v.value = !1, i("file-removed");
18811
18811
  }, Y = () => {
18812
- var V, W, q, B, x;
18812
+ var V, U, q, B, x;
18813
18813
  if (!n.id) {
18814
- const I = (q = (W = (V = o.value) == null ? void 0 : V.$el) == null ? void 0 : W.querySelector("input")) == null ? void 0 : q.id;
18814
+ const I = (q = (U = (V = o.value) == null ? void 0 : V.$el) == null ? void 0 : U.querySelector("input")) == null ? void 0 : q.id;
18815
18815
  I && ((x = (B = u.value) == null ? void 0 : B.$el) == null || x.setAttribute("for", I));
18816
18816
  }
18817
18817
  };
@@ -18821,7 +18821,7 @@ const a4 = /* @__PURE__ */ mn(e4, [["render", t4]]), n4 = { class: "k-segmented-
18821
18821
  y.value++;
18822
18822
  }, { immediate: !0 }), ot(() => {
18823
18823
  Y();
18824
- }), (V, W) => (h(), D("div", He({ class: "k-file-upload" }, l.value), [
18824
+ }), (V, U) => (h(), D("div", He({ class: "k-file-upload" }, l.value), [
18825
18825
  e.label ? (h(), G(hn, He({ key: 0 }, e.labelAttributes, {
18826
18826
  ref_key: "labelElement",
18827
18827
  ref: u,
@@ -18836,7 +18836,7 @@ const a4 = /* @__PURE__ */ mn(e4, [["render", t4]]), n4 = { class: "k-segmented-
18836
18836
  c.value ? {
18837
18837
  name: "tooltip",
18838
18838
  fn: O(() => [
18839
- H(V.$slots, "label-tooltip", {}, void 0, !0)
18839
+ z(V.$slots, "label-tooltip", {}, void 0, !0)
18840
18840
  ]),
18841
18841
  key: "0"
18842
18842
  } : void 0
@@ -18881,7 +18881,7 @@ const a4 = /* @__PURE__ */ mn(e4, [["render", t4]]), n4 = { class: "k-segmented-
18881
18881
  V.$slots.icon ? {
18882
18882
  name: "before",
18883
18883
  fn: O(() => [
18884
- H(V.$slots, "icon", {}, void 0, !0)
18884
+ z(V.$slots, "icon", {}, void 0, !0)
18885
18885
  ]),
18886
18886
  key: "0"
18887
18887
  } : void 0
@@ -18985,7 +18985,7 @@ const a4 = /* @__PURE__ */ mn(e4, [["render", t4]]), n4 = { class: "k-segmented-
18985
18985
  }, 8, ["label"])),
18986
18986
  e.label || c.$slots.label ? ut((h(), G(f, { key: 0 }, {
18987
18987
  default: O(() => [
18988
- H(c.$slots, "label", {}, () => [
18988
+ z(c.$slots, "label", {}, () => [
18989
18989
  de(ne(e.label), 1)
18990
18990
  ], !0)
18991
18991
  ]),
@@ -19556,9 +19556,9 @@ var Vd = {
19556
19556
  });
19557
19557
  });
19558
19558
  I && g(d());
19559
- }, W = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(V) : void 0, q = function() {
19560
- W && (W.disconnect(), s.active && !s.paused && s.containers.map(function(x) {
19561
- W.observe(x, {
19559
+ }, U = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(V) : void 0, q = function() {
19560
+ U && (U.disconnect(), s.active && !s.paused && s.containers.map(function(x) {
19561
+ U.observe(x, {
19562
19562
  subtree: !0,
19563
19563
  childList: !0
19564
19564
  });
@@ -19860,10 +19860,10 @@ const eP = {
19860
19860
  class: ue(["modal-container", { "custom-content": w.$slots.content }]),
19861
19861
  tabindex: "-1"
19862
19862
  }, [
19863
- H(w.$slots, "content", {}, () => [
19863
+ z(w.$slots, "content", {}, () => [
19864
19864
  f.value ? (h(), D("div", nP, [
19865
19865
  e.title || w.$slots.title ? (h(), D("div", rP, [
19866
- H(w.$slots, "title", {}, () => [
19866
+ z(w.$slots, "title", {}, () => [
19867
19867
  de(ne(e.title), 1)
19868
19868
  ], !0)
19869
19869
  ])) : F("", !0),
@@ -19884,12 +19884,12 @@ const eP = {
19884
19884
  R("div", {
19885
19885
  class: ue(["modal-content", { "no-header": !f.value }])
19886
19886
  }, [
19887
- H(w.$slots, "default", {}, void 0, !0)
19887
+ z(w.$slots, "default", {}, void 0, !0)
19888
19888
  ], 2),
19889
19889
  R("div", iP, [
19890
- H(w.$slots, "footer", {}, () => [
19890
+ z(w.$slots, "footer", {}, () => [
19891
19891
  R("div", oP, [
19892
- H(w.$slots, "footer-actions", {}, () => [
19892
+ z(w.$slots, "footer-actions", {}, () => [
19893
19893
  e.hideCancelButton ? F("", !0) : (h(), G(ct, {
19894
19894
  key: 0,
19895
19895
  appearance: e.cancelButtonAppearance,
@@ -20046,36 +20046,36 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
20046
20046
  }, [
20047
20047
  R("div", uP, [
20048
20048
  u.$slots["body-header"] || e.bodyHeader ? (h(), D("div", cP, [
20049
- H(u.$slots, "body-header", {}, () => [
20049
+ z(u.$slots, "body-header", {}, () => [
20050
20050
  de(ne(e.bodyHeader), 1)
20051
20051
  ], !0)
20052
20052
  ])) : F("", !0),
20053
20053
  u.$slots["body-header-description"] || e.bodyHeaderDescription ? (h(), D("div", dP, [
20054
- H(u.$slots, "body-header-description", {}, () => [
20054
+ z(u.$slots, "body-header-description", {}, () => [
20055
20055
  de(ne(e.bodyHeaderDescription), 1)
20056
20056
  ], !0)
20057
20057
  ])) : F("", !0)
20058
20058
  ]),
20059
20059
  R("div", fP, [
20060
- H(u.$slots, "default", {}, void 0, !0)
20060
+ z(u.$slots, "default", {}, void 0, !0)
20061
20061
  ]),
20062
20062
  R("div", vP, [
20063
20063
  R("div", pP, [
20064
20064
  R("div", hP, [
20065
20065
  R("span", gP, [
20066
- H(u.$slots, "header-icon", {}, () => [
20066
+ z(u.$slots, "header-icon", {}, () => [
20067
20067
  K(T(Dl), { color: T(Cg) }, null, 8, ["color"])
20068
20068
  ], !0)
20069
20069
  ]),
20070
20070
  R("span", mP, [
20071
- H(u.$slots, "header-content", {}, () => [
20071
+ z(u.$slots, "header-content", {}, () => [
20072
20072
  de(ne(e.title), 1)
20073
20073
  ], !0)
20074
20074
  ])
20075
20075
  ]),
20076
20076
  R("div", yP, [
20077
20077
  R("div", bP, [
20078
- H(u.$slots, "action-buttons", {}, () => [
20078
+ z(u.$slots, "action-buttons", {}, () => [
20079
20079
  K(ct, {
20080
20080
  appearance: e.cancelButtonAppearance,
20081
20081
  class: "cancel-button",
@@ -20102,10 +20102,10 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
20102
20102
  ])
20103
20103
  ]),
20104
20104
  u.$slots["footer-content"] ? (h(), D("div", wP, [
20105
- H(u.$slots, "footer-content", {}, void 0, !0),
20105
+ z(u.$slots, "footer-content", {}, void 0, !0),
20106
20106
  R("div", kP, [
20107
20107
  R("div", CP, [
20108
- H(u.$slots, "action-buttons", {}, () => [
20108
+ z(u.$slots, "action-buttons", {}, () => [
20109
20109
  K(ct, {
20110
20110
  appearance: e.actionButtonAppearance,
20111
20111
  class: "proceed-button",
@@ -20158,7 +20158,7 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
20158
20158
  ]
20159
20159
  }, [
20160
20160
  R("span", AP, [
20161
- H(i.$slots, "content", {}, () => [
20161
+ z(i.$slots, "content", {}, () => [
20162
20162
  de(ne(e.item.label), 1)
20163
20163
  ], !0)
20164
20164
  ])
@@ -20213,7 +20213,7 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
20213
20213
  onSelected: s
20214
20214
  }, {
20215
20215
  content: O(() => [
20216
- H(f.$slots, "content", { item: g }, void 0, !0)
20216
+ z(f.$slots, "content", { item: g }, void 0, !0)
20217
20217
  ]),
20218
20218
  _: 2
20219
20219
  }, 1032, ["item", "onArrowDown", "onArrowUp"]))), 128)),
@@ -20233,7 +20233,7 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
20233
20233
  onSelected: s
20234
20234
  }, {
20235
20235
  content: O(() => [
20236
- H(f.$slots, "content", { item: k }, void 0, !0)
20236
+ z(f.$slots, "content", { item: k }, void 0, !0)
20237
20237
  ]),
20238
20238
  _: 2
20239
20239
  }, 1032, ["item", "onArrowDown", "onArrowUp"]))), 128))
@@ -20499,7 +20499,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20499
20499
  placement: "bottom-start",
20500
20500
  popoverTimeout: 0,
20501
20501
  popoverClasses: "multiselect-popover"
20502
- }, m = E(0), y = E(0), w = a.id ? String(a.id) : yt(), C = yt(), $ = E(null), M = E(null), P = E(null), Y = E(), V = b(() => u.selectedRowCount * l), W = E(""), q = b(() => !(!W.value || x.value.filter((ce) => ce.label === W.value).length)), B = E(null), x = E([]), I = E([]), N = E([]), j = E([]), ae = E([]), J = /* @__PURE__ */ new Set(), ee = E([]), _ = E([]), se = b(() => _.value.map((ce) => ce.label).join(", ")), oe = E(!1), ke = E(!1), be = E(!1), Ce = b(() => (a == null ? void 0 : a.disabled) !== void 0 && String(a == null ? void 0 : a.disabled) !== "false"), Ee = b(() => (a == null ? void 0 : a.readonly) !== void 0 && String(a == null ? void 0 : a.readonly) !== "false"), Le = b({
20502
+ }, m = E(0), y = E(0), w = a.id ? String(a.id) : yt(), C = yt(), $ = E(null), M = E(null), P = E(null), Y = E(), V = b(() => u.selectedRowCount * l), U = E(""), q = b(() => !(!U.value || x.value.filter((ce) => ce.label === U.value).length)), B = E(null), x = E([]), I = E([]), N = E([]), j = E([]), ae = E([]), J = /* @__PURE__ */ new Set(), ee = E([]), _ = E([]), se = b(() => _.value.map((ce) => ce.label).join(", ")), oe = E(!1), ke = E(!1), be = E(!1), Ce = b(() => (a == null ? void 0 : a.disabled) !== void 0 && String(a == null ? void 0 : a.disabled) !== "false"), Ee = b(() => (a == null ? void 0 : a.readonly) !== void 0 && String(a == null ? void 0 : a.readonly) !== "false"), Le = b({
20503
20503
  get() {
20504
20504
  return u.modelValue;
20505
20505
  },
@@ -20532,19 +20532,19 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20532
20532
  return u.searchPlaceholder;
20533
20533
  }
20534
20534
  return N.value.length === 1 ? `${N.value.length} item selected` : `${N.value.length} items selected`;
20535
- }), te = b(() => u.autosuggest ? x.value : u.filterFunction({ items: x.value, query: W.value })), me = (ce) => {
20535
+ }), te = b(() => u.autosuggest ? x.value : u.filterFunction({ items: x.value, query: U.value })), me = (ce) => {
20536
20536
  var pe;
20537
20537
  (Ce.value || ((pe = ce == null ? void 0 : ce.target) == null ? void 0 : pe.dataset.propagateClicks) === "false") && ce.stopPropagation();
20538
- }, U = async (ce, pe, Z) => {
20538
+ }, W = async (ce, pe, Z) => {
20539
20539
  var p, A;
20540
20540
  if (ce) {
20541
20541
  if (!pe.value) {
20542
- W.value = "", Z(), vt(), await ht();
20543
- const z = (A = (p = P.value) == null ? void 0 : p.$el) == null ? void 0 : A.querySelector("input");
20544
- z == null || z.focus({ preventScroll: !0 });
20542
+ U.value = "", Z(), vt(), await ht();
20543
+ const H = (A = (p = P.value) == null ? void 0 : p.$el) == null ? void 0 : A.querySelector("input");
20544
+ H == null || H.focus({ preventScroll: !0 });
20545
20545
  }
20546
20546
  } else
20547
- pe.value && (W.value = "", Z());
20547
+ pe.value && (U.value = "", Z());
20548
20548
  }, fe = () => {
20549
20549
  setTimeout(() => {
20550
20550
  const ce = Y.value;
@@ -20554,9 +20554,9 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20554
20554
  }
20555
20555
  if (ce) {
20556
20556
  if (ce.clientHeight > V.value) {
20557
- const Z = Array.from(ce.querySelectorAll(".multiselect-selection-badge")).filter((z) => z.offsetTop >= V.value), p = j.value.length - Z.length, A = j.value.splice(p, Z.length);
20558
- for (const z of A)
20559
- J.has(z.value) || (J.add(z.value), ae.value.push(z));
20557
+ const Z = Array.from(ce.querySelectorAll(".multiselect-selection-badge")).filter((H) => H.offsetTop >= V.value), p = j.value.length - Z.length, A = j.value.splice(p, Z.length);
20558
+ for (const H of A)
20559
+ J.has(H.value) || (J.add(H.value), ae.value.push(H));
20560
20560
  }
20561
20561
  y.value++;
20562
20562
  }
@@ -20577,8 +20577,8 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20577
20577
  u.enableItemCreation && p.custom && (x.value = x.value.filter((A) => A.value !== p.value), c("item-removed", p));
20578
20578
  }), pe && fe();
20579
20579
  }, $e = (ce, pe) => {
20580
- var z, L;
20581
- let Z = !1, p = pe ? ce : ((z = x.value.filter((le) => le.value === ce.value)) == null ? void 0 : z[0]) || null;
20580
+ var H, L;
20581
+ let Z = !1, p = pe ? ce : ((H = x.value.filter((le) => le.value === ce.value)) == null ? void 0 : H[0]) || null;
20582
20582
  if (u.enableItemCreation && (p != null && p.custom) && (Z = !0), p === null && (p = ((L = N.value.filter((le) => le.value === ce.value)) == null ? void 0 : L[0]) || null), p === null)
20583
20583
  return;
20584
20584
  if (p.selected) {
@@ -20594,25 +20594,25 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20594
20594
  c("selected", N.value), c("change", p), c("update:modelValue", A);
20595
20595
  }, tt = () => {
20596
20596
  var Z;
20597
- if (!u.enableItemCreation || !W.value || !q.value)
20597
+ if (!u.enableItemCreation || !U.value || !q.value)
20598
20598
  return;
20599
20599
  const ce = x.value.length + 1, pe = {
20600
- label: lo(W.value + ""),
20600
+ label: lo(U.value + ""),
20601
20601
  value: yt(),
20602
- key: `${(Z = lo(W.value).replace(/ /gi, "-")) == null ? void 0 : Z.replace(/[^a-z0-9-_]/gi, "")}-${ce}`
20602
+ key: `${(Z = lo(U.value).replace(/ /gi, "-")) == null ? void 0 : Z.replace(/[^a-z0-9-_]/gi, "")}-${ce}`
20603
20603
  };
20604
- c("item-added", pe), $e(pe, !0), W.value = "";
20604
+ c("item-added", pe), $e(pe, !0), U.value = "";
20605
20605
  }, vt = () => {
20606
- const ce = te.value.filter((z) => z.selected), pe = te.value.filter((z) => !z.selected), Z = [...ce, ...pe], p = Z.filter((z) => !z.group), A = Z.filter((z) => z.group).sort((z, L) => z.group.toLowerCase().localeCompare(L.group.toLowerCase()));
20606
+ const ce = te.value.filter((H) => H.selected), pe = te.value.filter((H) => !H.selected), Z = [...ce, ...pe], p = Z.filter((H) => !H.group), A = Z.filter((H) => H.group).sort((H, L) => H.group.toLowerCase().localeCompare(L.group.toLowerCase()));
20607
20607
  I.value = [...p, ...A];
20608
20608
  }, X = () => {
20609
20609
  x.value.forEach((pe) => {
20610
20610
  pe.disabled || (pe.selected = !1, pe.custom && c("item-removed", pe));
20611
- }), x.value = x.value.filter((pe) => !(pe.custom && !pe.disabled)), N.value = N.value.filter((pe) => pe.disabled), j.value = j.value.filter((pe) => pe.disabled), ae.value = ae.value.filter((pe) => (pe.disabled || J.delete(pe.value), pe.disabled)), W.value = "", fe();
20611
+ }), x.value = x.value.filter((pe) => !(pe.custom && !pe.disabled)), N.value = N.value.filter((pe) => pe.disabled), j.value = j.value.filter((pe) => pe.disabled), ae.value = ae.value.filter((pe) => (pe.disabled || J.delete(pe.value), pe.disabled)), U.value = "", fe();
20612
20612
  const ce = N.value.map((pe) => pe.value);
20613
20613
  c("selected", N.value), c("update:modelValue", ce), c("query-change", "");
20614
20614
  }, Oe = (ce) => {
20615
- W.value = ce, c("query-change", ce);
20615
+ U.value = ce, c("query-change", ce);
20616
20616
  }, Pe = (ce, pe) => {
20617
20617
  var Z;
20618
20618
  ce.keyCode === 27 && (pe.value = !1), (ce.code === "ArrowDown" || ce.code === "ArrowUp") && ((Z = d.value) == null || Z.setFocus());
@@ -20651,8 +20651,8 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20651
20651
  X();
20652
20652
  return;
20653
20653
  }
20654
- const Z = new Set(pe), p = new Set(ce), A = x.value.filter((L) => p.has(L.value)), z = N.value.filter((L) => !p.has(L.value) && Z.has(L.value));
20655
- z.length && Ie(z), A.length && we(A);
20654
+ const Z = new Set(pe), p = new Set(ce), A = x.value.filter((L) => p.has(L.value)), H = N.value.filter((L) => !p.has(L.value) && Z.has(L.value));
20655
+ H.length && Ie(H), A.length && we(A);
20656
20656
  }
20657
20657
  }), ve(() => u.items, (ce, pe) => {
20658
20658
  var Z, p;
@@ -20660,8 +20660,8 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20660
20660
  x.value = i(u.items);
20661
20661
  for (let A = 0; A < x.value.length; A++) {
20662
20662
  x.value[A].selected === void 0 && (x.value[A].selected = !1);
20663
- let z = `${(p = (Z = x.value[A].label) == null ? void 0 : Z.replace(/ /gi, "-")) == null ? void 0 : p.replace(/[^a-z0-9-_]/gi, "")}-${A}`;
20664
- if (z.includes("undefined") && (z = `multiselect-item-label-${A}`), x.value[A].key = z, u.modelValue.includes(x.value[A].value) || x.value[A].selected) {
20663
+ let H = `${(p = (Z = x.value[A].label) == null ? void 0 : Z.replace(/ /gi, "-")) == null ? void 0 : p.replace(/[^a-z0-9-_]/gi, "")}-${A}`;
20664
+ if (H.includes("undefined") && (H = `multiselect-item-label-${A}`), x.value[A].key = H, u.modelValue.includes(x.value[A].value) || x.value[A].selected) {
20665
20665
  const L = x.value[A];
20666
20666
  L.selected = !0, N.value.filter((le) => le.value === L.value).length || N.value.push(L), j.value.filter((le) => le.value === L.value).length || j.value.push(L);
20667
20667
  }
@@ -20697,7 +20697,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20697
20697
  g.value ? {
20698
20698
  name: "tooltip",
20699
20699
  fn: O(() => [
20700
- H(ce.$slots, "label-tooltip", {}, void 0, !0)
20700
+ z(ce.$slots, "label-tooltip", {}, void 0, !0)
20701
20701
  ]),
20702
20702
  key: "0"
20703
20703
  } : void 0
@@ -20706,14 +20706,14 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20706
20706
  ]) : F("", !0),
20707
20707
  R("div", YP, [
20708
20708
  K(T(yo), null, {
20709
- default: O(({ isToggled: A, toggle: z }) => [
20709
+ default: O(({ isToggled: A, toggle: H }) => [
20710
20710
  K(pr, He({
20711
20711
  ref_key: "popper",
20712
20712
  ref: B,
20713
20713
  "hide-close-icon": ""
20714
20714
  }, Ve.value, {
20715
- onClose: () => U(!1, A, z),
20716
- onOpen: () => U(!0, A, z)
20715
+ onClose: () => W(!1, A, H),
20716
+ onOpen: () => W(!0, A, H)
20717
20717
  }), {
20718
20718
  content: O(() => [
20719
20719
  R("div", {
@@ -20731,7 +20731,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20731
20731
  autocomplete: "off",
20732
20732
  class: "multiselect-dropdown-input",
20733
20733
  "data-testid": "multiselect-dropdown-input",
20734
- "model-value": W.value,
20734
+ "model-value": U.value,
20735
20735
  placeholder: e.searchPlaceholder || o,
20736
20736
  type: "text",
20737
20737
  onClick: pe[5] || (pe[5] = qe(() => {
@@ -20753,7 +20753,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20753
20753
  onSelected: $e
20754
20754
  }, {
20755
20755
  content: O(({ item: L }) => [
20756
- H(ce.$slots, "item-template", {
20756
+ z(ce.$slots, "item-template", {
20757
20757
  class: "multiselect-item",
20758
20758
  item: L
20759
20759
  }, void 0, !0)
@@ -20764,12 +20764,12 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20764
20764
  key: "multiselect-add-item",
20765
20765
  class: "multiselect-add-item",
20766
20766
  "data-testid": "multiselect-add-item",
20767
- item: { label: `${W.value} (Add new value)`, value: "add_item", disabled: !e.itemCreationValidator(W.value) },
20767
+ item: { label: `${U.value} (Add new value)`, value: "add_item", disabled: !e.itemCreationValidator(U.value) },
20768
20768
  onSelected: tt
20769
20769
  }, {
20770
20770
  content: O(() => [
20771
20771
  R("div", VP, [
20772
- de(ne(W.value) + " ", 1),
20772
+ de(ne(U.value) + " ", 1),
20773
20773
  pe[10] || (pe[10] = R("span", { class: "select-item-new-indicator" }, "(Add new value)", -1))
20774
20774
  ])
20775
20775
  ]),
@@ -20783,7 +20783,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20783
20783
  })) : F("", !0)
20784
20784
  ]),
20785
20785
  ce.$slots.empty && !e.loading && !I.value.length ? (h(), D("div", jP, [
20786
- H(ce.$slots, "empty", {}, void 0, !0)
20786
+ z(ce.$slots, "empty", {}, void 0, !0)
20787
20787
  ])) : F("", !0)
20788
20788
  ], 32),
20789
20789
  e.dropdownFooterText || ce.$slots["dropdown-footer-text"] ? (h(), D("div", {
@@ -20791,7 +20791,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20791
20791
  class: ue(["dropdown-footer", `dropdown-footer-${e.dropdownFooterTextPosition}`]),
20792
20792
  "data-testid": "dropdown-footer"
20793
20793
  }, [
20794
- H(ce.$slots, "dropdown-footer-text", {}, () => [
20794
+ z(ce.$slots, "dropdown-footer-text", {}, () => [
20795
20795
  de(ne(e.dropdownFooterText), 1)
20796
20796
  ], !0)
20797
20797
  ], 2)) : F("", !0)
@@ -20820,7 +20820,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20820
20820
  class: ue(["multiselect-input", { "is-readonly": Ee.value }]),
20821
20821
  "data-testid": "multiselect-input",
20822
20822
  disabled: Ce.value,
20823
- "model-value": W.value,
20823
+ "model-value": U.value,
20824
20824
  placeholder: Q.value,
20825
20825
  readonly: Ee.value ? !0 : void 0,
20826
20826
  type: "text",
@@ -20936,8 +20936,8 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
20936
20936
  style: Ne(et.value),
20937
20937
  tabindex: "-1"
20938
20938
  }, [
20939
- (h(!0), D(De, null, Be(j.value, (A, z) => (h(), G(Or, {
20940
- key: `${T(C)}-${A.key ? A.key : z}-badge`,
20939
+ (h(!0), D(De, null, Be(j.value, (A, H) => (h(), G(Or, {
20940
+ key: `${T(C)}-${A.key ? A.key : H}-badge`,
20941
20941
  "aria-hidden": "true",
20942
20942
  class: "multiselect-selection-badge",
20943
20943
  "icon-before": !1
@@ -21060,7 +21060,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21060
21060
  }), mt({
21061
21061
  default: O(() => [
21062
21062
  d.$slots.default || e.message ? (h(), D("div", t7, [
21063
- H(d.$slots, "default", {}, () => [
21063
+ z(d.$slots, "default", {}, () => [
21064
21064
  R("p", a7, ne(e.message), 1)
21065
21065
  ], !0)
21066
21066
  ])) : F("", !0),
@@ -21088,7 +21088,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21088
21088
  d.$slots.title ? {
21089
21089
  name: "title",
21090
21090
  fn: O(() => [
21091
- H(d.$slots, "title", {}, void 0, !0)
21091
+ z(d.$slots, "title", {}, void 0, !0)
21092
21092
  ]),
21093
21093
  key: "0"
21094
21094
  } : void 0
@@ -21200,7 +21200,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21200
21200
  }, [
21201
21201
  ut((h(), G(hn, He(e.labelAttributes, { class: "radio-label" }), mt({
21202
21202
  default: O(() => [
21203
- H(S.$slots, "default", {}, () => [
21203
+ z(S.$slots, "default", {}, () => [
21204
21204
  de(ne(e.label), 1)
21205
21205
  ], !0)
21206
21206
  ]),
@@ -21209,7 +21209,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21209
21209
  c.value ? {
21210
21210
  name: "tooltip",
21211
21211
  fn: O(() => [
21212
- H(S.$slots, "tooltip", {}, void 0, !0)
21212
+ z(S.$slots, "tooltip", {}, void 0, !0)
21213
21213
  ]),
21214
21214
  key: "0"
21215
21215
  } : void 0
@@ -21217,7 +21217,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21217
21217
  [y, { for: T(i) }]
21218
21218
  ]),
21219
21219
  o.value ? (h(), D("div", u7, [
21220
- H(S.$slots, "description", {}, () => [
21220
+ z(S.$slots, "description", {}, () => [
21221
21221
  R("p", null, ne(e.description), 1)
21222
21222
  ], !0)
21223
21223
  ])) : F("", !0)
@@ -21231,11 +21231,11 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21231
21231
  onKeyup: Ct(v, ["space"])
21232
21232
  }, [
21233
21233
  S.$slots.default ? (h(), D("span", d7, [
21234
- H(S.$slots, "default", {}, void 0, !0)
21234
+ z(S.$slots, "default", {}, void 0, !0)
21235
21235
  ])) : F("", !0),
21236
21236
  e.label ? (h(), D("span", f7, ne(e.label), 1)) : F("", !0),
21237
21237
  u.value ? (h(), D("span", v7, [
21238
- H(S.$slots, "description", {}, () => [
21238
+ z(S.$slots, "description", {}, () => [
21239
21239
  de(ne(e.description), 1)
21240
21240
  ], !0)
21241
21241
  ])) : F("", !0)
@@ -21282,7 +21282,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21282
21282
  ]
21283
21283
  }, [
21284
21284
  R("span", w7, [
21285
- H(i.$slots, "content", {}, () => [
21285
+ z(i.$slots, "content", {}, () => [
21286
21286
  de(ne(e.item.label), 1)
21287
21287
  ], !0)
21288
21288
  ])
@@ -21338,7 +21338,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21338
21338
  onSelected: i
21339
21339
  }, {
21340
21340
  content: O(() => [
21341
- H(f.$slots, "content", { item: g }, void 0, !0)
21341
+ z(f.$slots, "content", { item: g }, void 0, !0)
21342
21342
  ]),
21343
21343
  _: 2
21344
21344
  }, 1032, ["item", "onArrowDown", "onArrowUp"]))), 128)),
@@ -21359,7 +21359,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21359
21359
  onSelected: i
21360
21360
  }, {
21361
21361
  content: O(() => [
21362
- H(f.$slots, "content", { item: k }, void 0, !0)
21362
+ z(f.$slots, "content", { item: k }, void 0, !0)
21363
21363
  ]),
21364
21364
  _: 2
21365
21365
  }, 1032, ["item", "onArrowDown", "onArrowUp"]))), 128))
@@ -21510,34 +21510,34 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21510
21510
  },
21511
21511
  emits: ["selected", "input", "change", "update:modelValue", "query-change", "item-added", "item-removed"],
21512
21512
  setup(e, { emit: t }) {
21513
- Rt((U) => ({
21514
- "78fe71c2": ae.value,
21515
- c4523bfc: x.value,
21516
- "24b78ea0": I.value
21513
+ Rt((W) => ({
21514
+ 34154625: ae.value,
21515
+ c348ea88: x.value,
21516
+ "0151edea": I.value
21517
21517
  }));
21518
21518
  const { getSizeFromString: a, stripRequiredLabel: n } = xt(), r = e, i = t, s = Kt(), l = Mt(), o = E(!1), u = E(), c = b(() => {
21519
- var U;
21520
- return !!((U = r.labelAttributes) != null && U.info || l["label-tooltip"]);
21519
+ var W;
21520
+ return !!((W = r.labelAttributes) != null && W.info || l["label-tooltip"]);
21521
21521
  }), d = b(() => s.required !== void 0 && String(s.required) !== "false"), f = b(() => s.disabled !== void 0 && String(s.disabled) !== "false"), v = b(() => s.readonly !== void 0 && String(s.readonly) !== "false"), g = b(() => !!(l["dropdown-footer-text"] || r.dropdownFooterText)), k = {
21522
21522
  popoverClasses: `select-popover ${g.value ? `has-${r.dropdownFooterTextPosition}-dropdown-footer` : ""}`,
21523
21523
  popoverTimeout: 0,
21524
21524
  placement: "bottom-start",
21525
21525
  hideCaret: !0
21526
21526
  }, S = E(0), m = E(null), y = E(null), w = b(() => n(r.label, d.value)), C = E(""), $ = b(() => {
21527
- var U, fe;
21528
- return !(!C.value || (fe = (U = Y.value) == null ? void 0 : U.filter((we) => we.label === C.value)) != null && fe.length);
21529
- }), M = yt(), P = E(null), Y = E([]), V = E(!1), W = E(), q = E(), B = b({
21527
+ var W, fe;
21528
+ return !(!C.value || (fe = (W = Y.value) == null ? void 0 : W.filter((we) => we.label === C.value)) != null && fe.length);
21529
+ }), M = yt(), P = E(null), Y = E([]), V = E(!1), U = E(), q = E(), B = b({
21530
21530
  get() {
21531
21531
  return r.modelValue;
21532
21532
  },
21533
- set(U) {
21533
+ set(W) {
21534
21534
  var we;
21535
- const fe = (we = Y.value) == null ? void 0 : we.filter((Ie) => Ie.value === U);
21536
- fe != null && fe.length ? Ce(fe[0]) : U || Ee();
21535
+ const fe = (we = Y.value) == null ? void 0 : we.filter((Ie) => Ie.value === W);
21536
+ fe != null && fe.length ? Ce(fe[0]) : W || Ee();
21537
21537
  }
21538
21538
  }), x = b(() => a(r.width || "100%")), I = E(""), N = b(() => {
21539
- const U = { ...s };
21540
- return delete U.class, U;
21539
+ const W = { ...s };
21540
+ return delete W.class, W;
21541
21541
  }), j = b(() => ({
21542
21542
  ...k,
21543
21543
  ...r.kpopAttributes,
@@ -21546,109 +21546,109 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21546
21546
  maxWidth: String(I.value),
21547
21547
  disabled: f.value || v.value
21548
21548
  })), ae = b(() => a(r.dropdownMaxHeight)), J = b(() => ({ ...j.value })), ee = b(() => r.placeholder || s.placeholder || "Select..."), _ = b(() => !f.value && r.clearable && !!P.value), se = b(() => !!(P.value && (l["selected-item-template"] || r.reuseItemTemplate && l["item-template"]))), oe = b(() => {
21549
- let U = [];
21550
- !r.enableFiltering || r.filterFunction({ query: C.value, items: Y.value }) === !0 ? U = Y.value : U = r.filterFunction({ query: C.value, items: Y.value });
21551
- const fe = U.filter((Ie) => !Ie.group), we = U.filter((Ie) => Ie.group).sort((Ie, $e) => Ie.group.toLowerCase().localeCompare($e.group.toLowerCase()));
21549
+ let W = [];
21550
+ !r.enableFiltering || r.filterFunction({ query: C.value, items: Y.value }) === !0 ? W = Y.value : W = r.filterFunction({ query: C.value, items: Y.value });
21551
+ const fe = W.filter((Ie) => !Ie.group), we = W.filter((Ie) => Ie.group).sort((Ie, $e) => Ie.group.toLowerCase().localeCompare($e.group.toLowerCase()));
21552
21552
  return [...fe, ...we];
21553
- }), ke = (U) => {
21553
+ }), ke = (W) => {
21554
21554
  if (!r.enableFiltering)
21555
- return U.preventDefault(), !1;
21555
+ return W.preventDefault(), !1;
21556
21556
  }, be = () => {
21557
21557
  var we, Ie;
21558
21558
  if (!r.enableItemCreation || !C.value || !$.value)
21559
21559
  return;
21560
- const U = (((we = Y.value) == null ? void 0 : we.length) || 0) + 1, fe = {
21560
+ const W = (((we = Y.value) == null ? void 0 : we.length) || 0) + 1, fe = {
21561
21561
  label: lo(C.value),
21562
21562
  value: yt(),
21563
- key: `${(Ie = lo(C.value).replace(/ /gi, "-")) == null ? void 0 : Ie.replace(/[^a-z0-9-_]/gi, "")}-${U}`,
21563
+ key: `${(Ie = lo(C.value).replace(/ /gi, "-")) == null ? void 0 : Ie.replace(/[^a-z0-9-_]/gi, "")}-${W}`,
21564
21564
  custom: !0
21565
21565
  };
21566
21566
  i("item-added", fe), Ce(fe, !0), C.value = "";
21567
- }, Ce = (U, fe) => {
21567
+ }, Ce = (W, fe) => {
21568
21568
  var we, Ie;
21569
- fe && ((we = Y.value) == null || we.push(U)), (Ie = Y.value) == null || Ie.forEach(($e, tt) => {
21569
+ fe && ((we = Y.value) == null || we.push(W)), (Ie = Y.value) == null || Ie.forEach(($e, tt) => {
21570
21570
  var vt, X, Oe;
21571
- $e.key === U.key ? ($e.selected = !0, $e.key = (vt = $e == null ? void 0 : $e.key) != null && vt.includes("-selected") ? $e.key : `${$e.key}-selected`, P.value = $e) : $e.selected ? ($e.selected = !1, $e.key = (X = $e == null ? void 0 : $e.key) == null ? void 0 : X.replace(/-selected/gi, ""), $e.custom && ((Oe = Y.value) == null || Oe.splice(tt, 1), i("item-removed", $e))) : $e.selected = !1;
21572
- }), C.value = U.label;
21571
+ $e.key === W.key ? ($e.selected = !0, $e.key = (vt = $e == null ? void 0 : $e.key) != null && vt.includes("-selected") ? $e.key : `${$e.key}-selected`, P.value = $e) : $e.selected ? ($e.selected = !1, $e.key = (X = $e == null ? void 0 : $e.key) == null ? void 0 : X.replace(/-selected/gi, ""), $e.custom && ((Oe = Y.value) == null || Oe.splice(tt, 1), i("item-removed", $e))) : $e.selected = !1;
21572
+ }), C.value = W.label;
21573
21573
  }, Ee = () => {
21574
- var U;
21575
- (U = Y.value) == null || U.forEach((fe, we) => {
21574
+ var W;
21575
+ (W = Y.value) == null || W.forEach((fe, we) => {
21576
21576
  var Ie, $e;
21577
21577
  fe.selected = !1, fe.key = (Ie = fe == null ? void 0 : fe.key) == null ? void 0 : Ie.replace(/-selected/gi, ""), fe.custom && (($e = Y.value) == null || $e.splice(we, 1), i("item-removed", fe));
21578
21578
  }), P.value = null, C.value = "", i("input", null), i("change", null), i("update:modelValue", null);
21579
- }, Le = E(null), Ye = (U, fe) => {
21579
+ }, Le = E(null), Ye = (W, fe) => {
21580
21580
  var Ie, $e;
21581
- if (U.keyCode === 27) {
21581
+ if (W.keyCode === 27) {
21582
21582
  fe.value = !1;
21583
21583
  return;
21584
21584
  }
21585
21585
  const we = (Ie = q.value) == null ? void 0 : Ie.children[0];
21586
- !fe.value && we && we.click(), (U.code === "ArrowDown" || U.code === "ArrowUp") && fe.value && (($e = Le.value) == null || $e.setFocus());
21587
- }, We = (U) => {
21588
- C.value !== U && (C.value = U);
21586
+ !fe.value && we && we.click(), (W.code === "ArrowDown" || W.code === "ArrowUp") && fe.value && (($e = Le.value) == null || $e.setFocus());
21587
+ }, We = (W) => {
21588
+ C.value !== W && (C.value = W);
21589
21589
  }, at = () => {
21590
21590
  V.value = !0, i("query-change", C.value);
21591
21591
  }, Ve = () => {
21592
21592
  V.value = !1;
21593
21593
  }, Qe = () => {
21594
- var U, fe, we;
21595
- r.enableFiltering || (we = (fe = (U = m.value) == null ? void 0 : U.$el) == null ? void 0 : fe.querySelector("input")) == null || we.blur();
21596
- }, Je = (U) => {
21594
+ var W, fe, we;
21595
+ r.enableFiltering || (we = (fe = (W = m.value) == null ? void 0 : W.$el) == null ? void 0 : fe.querySelector("input")) == null || we.blur();
21596
+ }, Je = (W) => {
21597
21597
  var fe;
21598
- (f.value || ((fe = U == null ? void 0 : U.target) == null ? void 0 : fe.dataset.propagateClicks) === "false") && U.stopPropagation();
21599
- }, et = (U) => {
21600
- U();
21601
- }, Q = (U, fe) => {
21602
- o.value = !1, P.value && (C.value = P.value.label), fe && U();
21603
- }, te = (U) => {
21604
- o.value = !0, r.enableFiltering && (C.value = ""), U();
21598
+ (f.value || ((fe = W == null ? void 0 : W.target) == null ? void 0 : fe.dataset.propagateClicks) === "false") && W.stopPropagation();
21599
+ }, et = (W) => {
21600
+ W();
21601
+ }, Q = (W, fe) => {
21602
+ o.value = !1, P.value && (C.value = P.value.label), fe && W();
21603
+ }, te = (W) => {
21604
+ o.value = !0, r.enableFiltering && (C.value = ""), W();
21605
21605
  }, me = () => {
21606
- var U, fe, we, Ie, $e;
21606
+ var W, fe, we, Ie, $e;
21607
21607
  if (!s.id) {
21608
- const tt = (we = (fe = (U = m.value) == null ? void 0 : U.$el) == null ? void 0 : fe.querySelector("input")) == null ? void 0 : we.id;
21608
+ const tt = (we = (fe = (W = m.value) == null ? void 0 : W.$el) == null ? void 0 : fe.querySelector("input")) == null ? void 0 : we.id;
21609
21609
  tt && (($e = (Ie = y.value) == null ? void 0 : Ie.$el) == null || $e.setAttribute("for", tt));
21610
21610
  }
21611
21611
  };
21612
- return ve(B, (U, fe) => {
21612
+ return ve(B, (W, fe) => {
21613
21613
  var we;
21614
- if (U !== fe) {
21615
- const Ie = (we = Y.value) == null ? void 0 : we.filter(($e) => $e.value === U);
21616
- Ie != null && Ie.length ? Ce(Ie[0]) : U || Ee();
21614
+ if (W !== fe) {
21615
+ const Ie = (we = Y.value) == null ? void 0 : we.filter(($e) => $e.value === W);
21616
+ Ie != null && Ie.length ? Ce(Ie[0]) : W || Ee();
21617
21617
  }
21618
- }), ve(() => r.items, (U, fe) => {
21618
+ }), ve(() => r.items, (W, fe) => {
21619
21619
  var we, Ie, $e, tt, vt;
21620
- if (JSON.stringify(U) !== JSON.stringify(fe)) {
21620
+ if (JSON.stringify(W) !== JSON.stringify(fe)) {
21621
21621
  Y.value = JSON.parse(JSON.stringify(r.items)), (we = Y.value) != null && we.length && (P.value = null);
21622
21622
  for (let X = 0; X < ((Ie = Y.value) == null ? void 0 : Ie.length); X++) {
21623
21623
  Y.value[X].selected === void 0 && (Y.value[X].selected = !1);
21624
21624
  let Oe = `${(tt = ($e = Y.value[X].label) == null ? void 0 : $e.replace(/ /gi, "-")) == null ? void 0 : tt.replace(/[^a-z0-9-_]/gi, "")}-${X}`;
21625
21625
  Oe.includes("undefined") && (Oe = `select-item-label-${X}`), Y.value[X].key = Oe, (Y.value[X].value === r.modelValue || Y.value[X].selected) && (Y.value[X].selected = !0, P.value = Y.value[X], Y.value[X].key += "-selected", V.value || (C.value = P.value.label)), ((vt = P.value) == null ? void 0 : vt.value) === Y.value[X].value && (Y.value[X].selected = !0);
21626
21626
  }
21627
- W.value && typeof W.value.updatePopper == "function" && ht(() => {
21628
- W.value.updatePopper();
21627
+ U.value && typeof U.value.updatePopper == "function" && ht(() => {
21628
+ U.value.updatePopper();
21629
21629
  });
21630
21630
  }
21631
- }, { deep: !0, immediate: !0 }), ve(C, (U) => {
21632
- i("query-change", U);
21633
- }), ve(P, (U, fe) => {
21634
- U && U !== fe && (i("selected", U), i("input", U.value), i("change", U), i("update:modelValue", U.value));
21631
+ }, { deep: !0, immediate: !0 }), ve(C, (W) => {
21632
+ i("query-change", W);
21633
+ }), ve(P, (W, fe) => {
21634
+ W && W !== fe && (i("selected", W), i("input", W.value), i("change", W), i("update:modelValue", W.value));
21635
21635
  }, { deep: !0 }), ve(() => s.id, async () => {
21636
21636
  S.value++, await ht(), me();
21637
21637
  }, { immediate: !0 }), ot(() => {
21638
21638
  q.value && (u.value = Nn.create(() => {
21639
- var U;
21640
- I.value = `${(U = q.value) == null ? void 0 : U.offsetWidth}px`;
21641
- }), u.value.observe(q.value)), me(), Wr(document, "keydown", (U) => {
21639
+ var W;
21640
+ I.value = `${(W = q.value) == null ? void 0 : W.offsetWidth}px`;
21641
+ }), u.value.observe(q.value)), me(), Wr(document, "keydown", (W) => {
21642
21642
  var fe, we;
21643
- !r.enableFiltering && ((fe = document.activeElement) == null ? void 0 : fe.tagName) === "BODY" && !V.value && o.value && (U.code === "ArrowDown" || U.code === "ArrowUp") && (U.preventDefault(), (we = Le.value) == null || we.setFocus());
21643
+ !r.enableFiltering && ((fe = document.activeElement) == null ? void 0 : fe.tagName) === "BODY" && !V.value && o.value && (W.code === "ArrowDown" || W.code === "ArrowUp") && (W.preventDefault(), (we = Le.value) == null || we.setFocus());
21644
21644
  });
21645
21645
  }), ea(() => {
21646
- var U;
21647
- q.value && ((U = u.value) == null || U.unobserve(q.value));
21648
- }), (U, fe) => {
21646
+ var W;
21647
+ q.value && ((W = u.value) == null || W.unobserve(q.value));
21648
+ }), (W, fe) => {
21649
21649
  const we = Yt("bind-once");
21650
21650
  return h(), D("div", {
21651
- class: ue(["k-select", [U.$attrs.class]])
21651
+ class: ue(["k-select", [W.$attrs.class]])
21652
21652
  }, [
21653
21653
  e.label ? (h(), G(hn, He({
21654
21654
  key: 0,
@@ -21656,7 +21656,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21656
21656
  ref: y
21657
21657
  }, e.labelAttributes, {
21658
21658
  "data-testid": "select-label",
21659
- for: U.$attrs.id ? String(U.$attrs.id) : void 0,
21659
+ for: W.$attrs.id ? String(W.$attrs.id) : void 0,
21660
21660
  required: d.value
21661
21661
  }), mt({
21662
21662
  default: O(() => [
@@ -21667,7 +21667,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21667
21667
  c.value ? {
21668
21668
  name: "tooltip",
21669
21669
  fn: O(() => [
21670
- H(U.$slots, "label-tooltip", {}, void 0, !0)
21670
+ z(W.$slots, "label-tooltip", {}, void 0, !0)
21671
21671
  ]),
21672
21672
  key: "0"
21673
21673
  } : void 0
@@ -21676,7 +21676,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21676
21676
  default: O(({ toggle: Ie, isToggled: $e }) => [
21677
21677
  K(pr, He({
21678
21678
  ref_key: "popperElement",
21679
- ref: W
21679
+ ref: U
21680
21680
  }, J.value, {
21681
21681
  "close-on-popover-click": "",
21682
21682
  "hide-close-icon": "",
@@ -21689,7 +21689,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21689
21689
  "aria-live": e.enableFiltering ? "polite" : "off"
21690
21690
  }, [
21691
21691
  e.enableFiltering && e.loading ? (h(), D("div", x7, [
21692
- H(U.$slots, "loading", {}, () => [
21692
+ z(W.$slots, "loading", {}, () => [
21693
21693
  K(T(ri), {
21694
21694
  class: "loading-icon",
21695
21695
  title: "Loading"
@@ -21703,18 +21703,18 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21703
21703
  onSelected: Ce
21704
21704
  }, {
21705
21705
  content: O(({ item: tt }) => [
21706
- H(U.$slots, "item-template", {
21706
+ z(W.$slots, "item-template", {
21707
21707
  class: "select-item-label select-item-desc",
21708
21708
  item: tt
21709
21709
  }, void 0, !0)
21710
21710
  ]),
21711
21711
  _: 3
21712
21712
  }, 8, ["items"]),
21713
- !oe.value.length && !U.$slots.empty && !e.enableItemCreation ? (h(), G(uo, {
21713
+ !oe.value.length && !W.$slots.empty && !e.enableItemCreation ? (h(), G(uo, {
21714
21714
  key: 0,
21715
21715
  item: { label: "No results", value: "no_results", disabled: !0 }
21716
21716
  })) : F("", !0),
21717
- !oe.value.length && $.value && !U.$slots.empty && e.enableItemCreation ? (h(), G(uo, {
21717
+ !oe.value.length && $.value && !W.$slots.empty && e.enableItemCreation ? (h(), G(uo, {
21718
21718
  key: "select-add-item",
21719
21719
  class: "select-add-item",
21720
21720
  "data-testid": "select-add-item",
@@ -21730,17 +21730,17 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21730
21730
  _: 1
21731
21731
  }, 8, ["item"])) : F("", !0),
21732
21732
  g.value && e.dropdownFooterTextPosition === "static" ? (h(), D("div", M7, [
21733
- H(U.$slots, "dropdown-footer-text", {}, () => [
21733
+ z(W.$slots, "dropdown-footer-text", {}, () => [
21734
21734
  de(ne(e.dropdownFooterText), 1)
21735
21735
  ], !0)
21736
21736
  ])) : F("", !0)
21737
21737
  ])),
21738
- !e.loading && !oe.value.length && U.$slots.empty ? (h(), D("div", E7, [
21739
- H(U.$slots, "empty", {}, void 0, !0)
21738
+ !e.loading && !oe.value.length && W.$slots.empty ? (h(), D("div", E7, [
21739
+ z(W.$slots, "empty", {}, void 0, !0)
21740
21740
  ])) : F("", !0)
21741
21741
  ], 8, D7),
21742
21742
  g.value && e.dropdownFooterTextPosition === "sticky" ? (h(), D("div", I7, [
21743
- H(U.$slots, "dropdown-footer-text", {}, () => [
21743
+ z(W.$slots, "dropdown-footer-text", {}, () => [
21744
21744
  de(ne(e.dropdownFooterText), 1)
21745
21745
  ], !0)
21746
21746
  ])) : F("", !0)
@@ -21797,12 +21797,19 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21797
21797
  ]),
21798
21798
  _: 2
21799
21799
  }, [
21800
- U.$slots["label-tooltip"] ? {
21801
- name: "label-tooltip",
21800
+ T(l).before ? {
21801
+ name: "before",
21802
21802
  fn: O(() => [
21803
- H(U.$slots, "label-tooltip", {}, void 0, !0)
21803
+ z(W.$slots, "before", {}, void 0, !0)
21804
21804
  ]),
21805
21805
  key: "0"
21806
+ } : void 0,
21807
+ W.$slots["label-tooltip"] ? {
21808
+ name: "label-tooltip",
21809
+ fn: O(() => [
21810
+ z(W.$slots, "label-tooltip", {}, void 0, !0)
21811
+ ]),
21812
+ key: "1"
21806
21813
  } : void 0
21807
21814
  ]), 1040, ["class", "disabled", "error", "model-value", "placeholder", "readonly", "onKeyup"])),
21808
21815
  K(ia, { name: "kongponents-fade-transition" }, {
@@ -21811,8 +21818,8 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21811
21818
  key: 0,
21812
21819
  class: ue(["custom-selected-item-wrapper", { clearable: e.clearable }])
21813
21820
  }, [
21814
- H(U.$slots, "selected-item-template", { item: P.value }, () => [
21815
- H(U.$slots, "item-template", { item: P.value }, void 0, !0)
21821
+ z(W.$slots, "selected-item-template", { item: P.value }, () => [
21822
+ z(W.$slots, "item-template", { item: P.value }, void 0, !0)
21816
21823
  ], !0)
21817
21824
  ], 2)) : F("", !0)
21818
21825
  ]),
@@ -21834,7 +21841,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21834
21841
  ], 2);
21835
21842
  };
21836
21843
  }
21837
- }), P7 = /* @__PURE__ */ Me(O7, [["__scopeId", "data-v-9bd7f8e9"]]), N7 = { class: "k-slideout" }, B7 = { class: "slideout-header" }, L7 = {
21844
+ }), P7 = /* @__PURE__ */ Me(O7, [["__scopeId", "data-v-c2fafe2e"]]), N7 = { class: "k-slideout" }, B7 = { class: "slideout-header" }, L7 = {
21838
21845
  key: 0,
21839
21846
  class: "slideout-title",
21840
21847
  "data-testid": "slideout-title"
@@ -21930,7 +21937,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21930
21937
  }, [
21931
21938
  R("div", B7, [
21932
21939
  e.title || u.$slots.title ? (h(), D("div", L7, [
21933
- H(u.$slots, "title", {}, () => [
21940
+ z(u.$slots, "title", {}, () => [
21934
21941
  de(ne(e.title), 1)
21935
21942
  ], !0)
21936
21943
  ])) : F("", !0),
@@ -21948,7 +21955,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
21948
21955
  ])
21949
21956
  ]),
21950
21957
  R("div", _7, [
21951
- H(u.$slots, "default", {}, void 0, !0)
21958
+ z(u.$slots, "default", {}, void 0, !0)
21952
21959
  ])
21953
21960
  ], 512)) : F("", !0)
21954
21961
  ]),
@@ -22465,7 +22472,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
22465
22472
  sortColumnKey: "",
22466
22473
  sortColumnOrder: "desc",
22467
22474
  offset: null
22468
- }, v = E([]), g = E(), k = E([]), S = E([]), m = E(""), y = E(""), w = E(""), C = b(() => k.value.filter((re) => re.hidable).length > 0), $ = b(() => !!(C.value && !l.error && !Tt.value && !l.loading && v.value && v.value.length)), M = b(() => k.value.filter((re) => re.hidable)), P = b(() => $.value ? l.tablePreferences.columnVisibility || {} : {}), Y = E($.value ? l.tablePreferences.columnVisibility || {} : {}), V = E(0), W = E(!1), q = E(1), B = E(15), x = E(""), I = E(""), N = E("desc"), j = E(null), ae = E([]), J = E(!0), ee = E(!1), _ = E(!1), se = b(() => !!c.toolbar || $.value), oe = b(() => ({
22475
+ }, v = E([]), g = E(), k = E([]), S = E([]), m = E(""), y = E(""), w = E(""), C = b(() => k.value.filter((re) => re.hidable).length > 0), $ = b(() => !!(C.value && !l.error && !Tt.value && !l.loading && v.value && v.value.length)), M = b(() => k.value.filter((re) => re.hidable)), P = b(() => $.value ? l.tablePreferences.columnVisibility || {} : {}), Y = E($.value ? l.tablePreferences.columnVisibility || {} : {}), V = E(0), U = E(!1), q = E(1), B = E(15), x = E(""), I = E(""), N = E("desc"), j = E(null), ae = E([]), J = E(!0), ee = E(!1), _ = E(!1), se = b(() => !!c.toolbar || $.value), oe = b(() => ({
22469
22476
  maxHeight: s(l.maxHeight)
22470
22477
  })), ke = (re) => `column-${re}`, be = (re) => `tooltip-${re}`, Ce = (re) => re, Ee = (re, ye) => (Ue, Se) => {
22471
22478
  const dt = /^on[^a-z]/, Ke = {};
@@ -22526,7 +22533,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
22526
22533
  // display active sorting styles if column is currently sorted
22527
22534
  "active-sort": l.sortable && !re.hideLabel && !!re.sortable && re.key === I.value,
22528
22535
  [N.value]: l.sortable && re.key === I.value && !re.hideLabel,
22529
- "is-scrolled": W.value,
22536
+ "is-scrolled": U.value,
22530
22537
  "has-tooltip": !!re.tooltip
22531
22538
  }), Ve = b(() => m.value ? "resizing" : y.value ? "resize-hover" : w.value ? "th-hover" : ""), Qe = b(() => {
22532
22539
  switch (Ve.value) {
@@ -22582,7 +22589,7 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
22582
22589
  offset: j.value
22583
22590
  });
22584
22591
  return v.value = ye.data, V.value = l.paginationTotalItems || ye.total || ((Ue = ye.data) == null ? void 0 : Ue.length), l.paginationOffset && ((Se = ye.pagination) != null && Se.offset ? (we.value = ye.pagination.offset, ae.value[q.value] || ae.value.push(ye.pagination.offset)) : we.value = null, J.value = ye.pagination && "hasNextPage" in ye.pagination ? ye.pagination.hasNextPage : !0), v.value.length === 0 && q.value > 1 && (q.value = 1, ae.value = [null], j.value = null), te.value = !1, ye;
22585
- }, U = () => {
22592
+ }, W = () => {
22586
22593
  const re = {
22587
22594
  ...f,
22588
22595
  ...l.initialFetcherParams
@@ -22614,12 +22621,12 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
22614
22621
  sortColumnOrder: N.value,
22615
22622
  data: v.value
22616
22623
  }) : i(ye, Se, N.value, v.value) : l.paginationOffset || pe(), xe();
22617
- }, z = ({ page: re }) => {
22624
+ }, H = ({ page: re }) => {
22618
22625
  q.value = re;
22619
22626
  }, L = ({ pageSize: re }) => {
22620
22627
  ae.value = [null], j.value = null, B.value = re, q.value = 1, xe();
22621
22628
  }, le = (re) => {
22622
- re && re.target && typeof re.target.scrollTop == "number" && (re.target.scrollTop > 1 ? W.value = !0 : re.target.scrollTop === 0 && (W.value = !W.value));
22629
+ re && re.target && typeof re.target.scrollTop == "number" && (re.target.scrollTop > 1 ? U.value = !0 : re.target.scrollTop === 0 && (U.value = !U.value));
22623
22630
  }, ge = b(() => ({
22624
22631
  pageSize: B.value,
22625
22632
  sortColumnKey: I.value,
@@ -22670,12 +22677,12 @@ const YP = { "data-testid": "multiselect-container" }, FP = ["tabindex"], zP = {
22670
22677
  }, { immediate: !0 }), ot(() => {
22671
22678
  console.warn(`The Kongponents 'KTable' component is deprecated and will be removed in the next major release.
22672
22679
  We suggest using 'KTableData' component instead.
22673
- Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22680
+ Docs: https://kongponents.konghq.com/components/table-data.html`), W();
22674
22681
  }), (re, ye) => {
22675
22682
  const Ue = Yt("bind-once");
22676
22683
  return h(), D("div", Q7, [
22677
22684
  se.value ? (h(), D("div", Z7, [
22678
- H(re.$slots, "toolbar", { state: Ot.value }, void 0, !0),
22685
+ z(re.$slots, "toolbar", { state: Ot.value }, void 0, !0),
22679
22686
  $.value ? (h(), D("div", X7, [
22680
22687
  K(Wp, {
22681
22688
  columns: M.value,
@@ -22690,7 +22697,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22690
22697
  "data-testid": "table-skeleton",
22691
22698
  type: "table"
22692
22699
  })) : e.error ? (h(), D("div", J7, [
22693
- H(re.$slots, "error-state", {}, () => [
22700
+ z(re.$slots, "error-state", {}, () => [
22694
22701
  K(An, {
22695
22702
  "icon-variant": "error",
22696
22703
  message: e.errorStateMessage,
@@ -22715,7 +22722,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22715
22722
  ]), 1032, ["message", "title"])
22716
22723
  ], !0)
22717
22724
  ])) : !e.error && !Tt.value && !e.loading && !Ya.value && v.value && !v.value.length ? (h(), D("div", e9, [
22718
- H(re.$slots, "empty-state", {}, () => [
22725
+ z(re.$slots, "empty-state", {}, () => [
22719
22726
  K(An, {
22720
22727
  "icon-variant": e.emptyStateIconVariant,
22721
22728
  message: e.emptyStateMessage,
@@ -22731,7 +22738,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22731
22738
  onClick: ye[2] || (ye[2] = (Se) => re.$emit("empty-state-action-click"))
22732
22739
  }, {
22733
22740
  default: O(() => [
22734
- H(re.$slots, "empty-state-action-icon", {}, void 0, !0),
22741
+ z(re.$slots, "empty-state-action-icon", {}, void 0, !0),
22735
22742
  de(" " + ne(e.emptyStateActionMessage), 1)
22736
22743
  ]),
22737
22744
  _: 3
@@ -22754,12 +22761,12 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22754
22761
  }])
22755
22762
  }, [
22756
22763
  R("thead", {
22757
- class: ue({ "is-scrolled": W.value })
22764
+ class: ue({ "is-scrolled": U.value })
22758
22765
  }, [
22759
22766
  R("tr", {
22760
22767
  ref_key: "headerRow",
22761
22768
  ref: g,
22762
- class: ue({ "is-scrolled": W.value })
22769
+ class: ue({ "is-scrolled": U.value })
22763
22770
  }, [
22764
22771
  (h(!0), D(De, null, Be(S.value, (Se, dt) => (h(), D("th", {
22765
22772
  key: `table-${T(d)}-headers-${dt}`,
@@ -22791,7 +22798,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22791
22798
  "aria-describedby": Se.tooltip || re.$slots[be(Se.key)] ? `${be(Se.key)}-${T(d)}` : void 0,
22792
22799
  class: ue(["table-headers-container", { resized: m.value === Se.key }])
22793
22800
  }, [
22794
- H(re.$slots, ke(Se.key), {
22801
+ z(re.$slots, ke(Se.key), {
22795
22802
  column: Ce(Se)
22796
22803
  }, () => [
22797
22804
  R("span", {
@@ -22806,7 +22813,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22806
22813
  "tooltip-id": `${be(Se.key)}-${T(d)}`
22807
22814
  }, {
22808
22815
  content: O(() => [
22809
- H(re.$slots, be(Se.key), {
22816
+ z(re.$slots, be(Se.key), {
22810
22817
  column: Ce(Se)
22811
22818
  }, () => [
22812
22819
  de(ne(Se.tooltip), 1)
@@ -22853,7 +22860,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22853
22860
  },
22854
22861
  style: We.value[Ke.key]
22855
22862
  }, go(Le.value(Se[Ke.key], Se), !0)), [
22856
- H(re.$slots, Ke.key, {
22863
+ z(re.$slots, Ke.key, {
22857
22864
  row: Ce(Se),
22858
22865
  rowKey: dt,
22859
22866
  rowValue: Se[Ke.key]
@@ -22882,7 +22889,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22882
22889
  "total-count": V.value,
22883
22890
  onGetNextOffset: rt,
22884
22891
  onGetPreviousOffset: st,
22885
- onPageChange: z,
22892
+ onPageChange: H,
22886
22893
  onPageSizeChange: L
22887
22894
  }, null, 8, ["current-page", "disable-page-jump", "initial-page-size", "neighbors", "offset", "offset-next-button-disabled", "offset-previous-button-disabled", "page-sizes", "total-count"])) : F("", !0)
22888
22895
  ]))
@@ -22949,7 +22956,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22949
22956
  Ct(qe((d) => c.disabled ? void 0 : i(c.hash), ["prevent"]), ["space"])
22950
22957
  ]
22951
22958
  }, [
22952
- H(o.$slots, `${s(c.hash)}-anchor`, {}, () => [
22959
+ z(o.$slots, `${s(c.hash)}-anchor`, {}, () => [
22953
22960
  R("span", null, ne(c.title), 1)
22954
22961
  ], !0)
22955
22962
  ], 42, f9)
@@ -22962,7 +22969,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
22962
22969
  class: "tab-container",
22963
22970
  role: "tabpanel"
22964
22971
  }, [
22965
- r.value === c.hash ? H(o.$slots, s(c.hash), { key: 0 }, void 0, !0) : F("", !0)
22972
+ r.value === c.hash ? z(o.$slots, s(c.hash), { key: 0 }, void 0, !0) : F("", !0)
22966
22973
  ], 8, v9))), 128))
22967
22974
  ]));
22968
22975
  }
@@ -23076,7 +23083,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), U();
23076
23083
  c.value ? {
23077
23084
  name: "tooltip",
23078
23085
  fn: O(() => [
23079
- H(C.$slots, "label-tooltip", {}, void 0, !0)
23086
+ z(C.$slots, "label-tooltip", {}, void 0, !0)
23080
23087
  ]),
23081
23088
  key: "0"
23082
23089
  } : void 0
@@ -24074,8 +24081,8 @@ Re.prototype = /** @lends Sortable.prototype */
24074
24081
  return m(), a.insertBefore(he, $), wt = a, w(), y(!0);
24075
24082
  } else if (n.parentNode === a) {
24076
24083
  i = At(n);
24077
- var M = 0, P, Y = he.parentNode !== a, V = !W9(he.animated && he.toRect || r, n.animated && n.toRect || i, v), W = v ? "top" : "left", q = ef(n, "top", "top") || ef(he, "top", "top"), B = q ? q.scrollTop : void 0;
24078
- Wn !== n && (P = i[W], Gr = !1, ki = !V && l.invertSwap || Y), M = Z9(t, n, i, v, V ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, ki, Wn === n);
24084
+ var M = 0, P, Y = he.parentNode !== a, V = !W9(he.animated && he.toRect || r, n.animated && n.toRect || i, v), U = v ? "top" : "left", q = ef(n, "top", "top") || ef(he, "top", "top"), B = q ? q.scrollTop : void 0;
24085
+ Wn !== n && (P = i[U], Gr = !1, ki = !V && l.invertSwap || Y), M = Z9(t, n, i, v, V ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, ki, Wn === n);
24079
24086
  var x;
24080
24087
  if (M !== 0) {
24081
24088
  var I = ua(he);
@@ -24090,7 +24097,7 @@ Re.prototype = /** @lends Sortable.prototype */
24090
24097
  j = M === 1;
24091
24098
  var ae = Si(gt, a, he, r, n, i, t, j);
24092
24099
  if (ae !== !1)
24093
- return (ae === 1 || ae === -1) && (j = ae === 1), hl = !0, setTimeout(j9, 30), m(), j && !N ? a.appendChild(he) : n.parentNode.insertBefore(he, j ? N : n), q && Qp(q, 0, B - q.scrollTop), wt = he.parentNode, P !== void 0 && !ki && (Pi = Math.abs(P - At(n)[W])), w(), y(!0);
24100
+ return (ae === 1 || ae === -1) && (j = ae === 1), hl = !0, setTimeout(j9, 30), m(), j && !N ? a.appendChild(he) : n.parentNode.insertBefore(he, j ? N : n), q && Qp(q, 0, B - q.scrollTop), wt = he.parentNode, P !== void 0 && !ki && (Pi = Math.abs(P - At(n)[U])), w(), y(!0);
24094
24101
  }
24095
24102
  if (a.contains(he))
24096
24103
  return y(!1);
@@ -24420,9 +24427,9 @@ var ps = Gp(function(e, t, a, n) {
24420
24427
  ml !== a && (ml = a, Bi(), _r = t.scroll, c = t.scrollFn, _r === !0 && (_r = cn(a, !0)));
24421
24428
  var d = 0, f = _r;
24422
24429
  do {
24423
- var v = f, g = At(v), k = g.top, S = g.bottom, m = g.left, y = g.right, w = g.width, C = g.height, $ = void 0, M = void 0, P = v.scrollWidth, Y = v.scrollHeight, V = _e(v), W = v.scrollLeft, q = v.scrollTop;
24430
+ var v = f, g = At(v), k = g.top, S = g.bottom, m = g.left, y = g.right, w = g.width, C = g.height, $ = void 0, M = void 0, P = v.scrollWidth, Y = v.scrollHeight, V = _e(v), U = v.scrollLeft, q = v.scrollTop;
24424
24431
  v === o ? ($ = w < P && (V.overflowX === "auto" || V.overflowX === "scroll" || V.overflowX === "visible"), M = C < Y && (V.overflowY === "auto" || V.overflowY === "scroll" || V.overflowY === "visible")) : ($ = w < P && (V.overflowX === "auto" || V.overflowX === "scroll"), M = C < Y && (V.overflowY === "auto" || V.overflowY === "scroll"));
24425
- var B = $ && (Math.abs(y - r) <= s && W + w < P) - (Math.abs(m - r) <= s && !!W), x = M && (Math.abs(S - i) <= s && q + C < Y) - (Math.abs(k - i) <= s && !!q);
24432
+ var B = $ && (Math.abs(y - r) <= s && U + w < P) - (Math.abs(m - r) <= s && !!U), x = M && (Math.abs(S - i) <= s && q + C < Y) - (Math.abs(k - i) <= s && !!q);
24426
24433
  if (!Dt[d])
24427
24434
  for (var I = 0; I <= d; I++)
24428
24435
  Dt[I] || (Dt[I] = {});
@@ -24813,12 +24820,12 @@ const vN = {
24813
24820
  onClick: qe(s, ["prevent"])
24814
24821
  }, [
24815
24822
  i.value ? (h(), D("div", gN, [
24816
- H(l.$slots, "item-icon", {}, () => [
24823
+ z(l.$slots, "item-icon", {}, () => [
24817
24824
  K(T(vg), { decorative: "" })
24818
24825
  ], !0)
24819
24826
  ])) : F("", !0),
24820
24827
  R("div", mN, [
24821
- H(l.$slots, "item-label", {}, () => [
24828
+ z(l.$slots, "item-label", {}, () => [
24822
24829
  de(ne(e.item.name), 1)
24823
24830
  ], !0)
24824
24831
  ])
@@ -24890,10 +24897,10 @@ const vN = {
24890
24897
  }, f = (y) => {
24891
24898
  n("selected", y);
24892
24899
  }, v = b(() => a.level > a.maxDepth - 1), g = (y) => {
24893
- var P, Y, V, W;
24900
+ var P, Y, V, U;
24894
24901
  const w = ((Y = (P = y.relatedContext) == null ? void 0 : P.component) == null ? void 0 : Y.$attrs.level) || 0, C = (V = y.draggedContext) == null ? void 0 : V.element;
24895
24902
  let $ = 0;
24896
- return (W = C.children) != null && W.length && ($ = bu(C)), !(w + $ > a.maxDepth - 1);
24903
+ return (U = C.children) != null && U.length && ($ = bu(C)), !(w + $ > a.maxDepth - 1);
24897
24904
  }, k = (y) => {
24898
24905
  var $, M;
24899
24906
  const w = ((M = ($ = y.item) == null ? void 0 : $._underlying_vm_) == null ? void 0 : M.id) || "", C = i.value.find((P) => P.id === w);
@@ -24942,7 +24949,7 @@ const vN = {
24942
24949
  onSelected: f
24943
24950
  }, mt({
24944
24951
  "item-label": O(() => [
24945
- H(y.$slots, "item-label", { item: $ }, () => [
24952
+ z(y.$slots, "item-label", { item: $ }, () => [
24946
24953
  de(ne($.name), 1)
24947
24954
  ], !0)
24948
24955
  ]),
@@ -24951,7 +24958,7 @@ const vN = {
24951
24958
  y.$slots["item-icon"] ? {
24952
24959
  name: "item-icon",
24953
24960
  fn: O(() => [
24954
- H(y.$slots, "item-icon", { item: $ }, void 0, !0)
24961
+ z(y.$slots, "item-icon", { item: $ }, void 0, !0)
24955
24962
  ]),
24956
24963
  key: "0"
24957
24964
  } : void 0
@@ -24969,14 +24976,14 @@ const vN = {
24969
24976
  onSelected: f
24970
24977
  }, mt({
24971
24978
  "item-label": O(({ item: M }) => [
24972
- H(y.$slots, "item-label", { item: M }, void 0, !0)
24979
+ z(y.$slots, "item-label", { item: M }, void 0, !0)
24973
24980
  ]),
24974
24981
  _: 2
24975
24982
  }, [
24976
24983
  y.$slots["item-icon"] ? {
24977
24984
  name: "item-icon",
24978
24985
  fn: O(({ item: M }) => [
24979
- H(y.$slots, "item-icon", { item: M }, void 0, !0)
24986
+ z(y.$slots, "item-icon", { item: M }, void 0, !0)
24980
24987
  ]),
24981
24988
  key: "0"
24982
24989
  } : void 0
@@ -25083,14 +25090,14 @@ const vN = {
25083
25090
  onSelected: o
25084
25091
  }, mt({
25085
25092
  "item-label": O(({ item: v }) => [
25086
- H(d.$slots, "item-label", { item: v })
25093
+ z(d.$slots, "item-label", { item: v })
25087
25094
  ]),
25088
25095
  _: 2
25089
25096
  }, [
25090
25097
  d.$slots["item-icon"] ? {
25091
25098
  name: "item-icon",
25092
25099
  fn: O(({ item: v }) => [
25093
- H(d.$slots, "item-icon", { item: v })
25100
+ z(d.$slots, "item-icon", { item: v })
25094
25101
  ]),
25095
25102
  key: "0"
25096
25103
  } : void 0
@@ -25125,7 +25132,7 @@ const vN = {
25125
25132
  rel: "noopener",
25126
25133
  target: "_blank"
25127
25134
  }, [
25128
- H(n.$slots, "default", {}, void 0, !0),
25135
+ z(n.$slots, "default", {}, void 0, !0),
25129
25136
  e.hideIcon ? F("", !0) : (h(), G(T(Jh), {
25130
25137
  key: 0,
25131
25138
  decorative: "",
@@ -25213,7 +25220,7 @@ const vN = {
25213
25220
  }, [
25214
25221
  !e.truncateText && r.value ? (h(), D("div", AN, [
25215
25222
  n.value ? F("", !0) : (h(), D("div", MN, [
25216
- H(m.$slots, "expand-trigger", {
25223
+ z(m.$slots, "expand-trigger", {
25217
25224
  expand: k,
25218
25225
  truncatedCount: d.value
25219
25226
  }, () => [
@@ -25231,9 +25238,9 @@ const vN = {
25231
25238
  ref: s,
25232
25239
  class: "truncate-container"
25233
25240
  }, [
25234
- H(m.$slots, "default", {}, void 0, !0),
25241
+ z(m.$slots, "default", {}, void 0, !0),
25235
25242
  !e.truncateText && n.value ? (h(), D("div", IN, [
25236
- H(m.$slots, "collapse-trigger", { collapse: k }, () => [
25243
+ z(m.$slots, "collapse-trigger", { collapse: k }, () => [
25237
25244
  R("button", {
25238
25245
  "aria-label": "Collapse content",
25239
25246
  class: "collapse-trigger",
@@ -25255,7 +25262,7 @@ const vN = {
25255
25262
  class: "truncate-collapse-controls"
25256
25263
  }, [
25257
25264
  n.value ? F("", !0) : (h(), D("div", ON, [
25258
- H(m.$slots, "expand-trigger", { expand: k }, () => [
25265
+ z(m.$slots, "expand-trigger", { expand: k }, () => [
25259
25266
  K(w, {
25260
25267
  appearance: "tertiary",
25261
25268
  size: "small",
@@ -25269,7 +25276,7 @@ const vN = {
25269
25276
  ], !0)
25270
25277
  ])),
25271
25278
  n.value ? (h(), D("div", PN, [
25272
- H(m.$slots, "collapse-trigger", { collapse: k }, () => [
25279
+ z(m.$slots, "collapse-trigger", { collapse: k }, () => [
25273
25280
  K(w, {
25274
25281
  appearance: "tertiary",
25275
25282
  size: "small",
@@ -25486,7 +25493,7 @@ const vN = {
25486
25493
  "kpop-attributes": { placement: "bottom-end" }
25487
25494
  }, {
25488
25495
  items: O(() => [
25489
- H(t.$slots, "items", {}, void 0, !0)
25496
+ z(t.$slots, "items", {}, void 0, !0)
25490
25497
  ]),
25491
25498
  default: O(() => [
25492
25499
  K(ka, {
@@ -25585,26 +25592,26 @@ const vN = {
25585
25592
  Rt((p) => ({
25586
25593
  "056ae94d": Je.value
25587
25594
  }));
25588
- const a = e, n = t, r = Kt(), i = Mt(), s = yt(), { getSizeFromString: l } = xt(), o = (p) => typeof a.rowKey == "function" && typeof a.rowKey(p) == "string" ? a.rowKey(p) : typeof a.rowKey == "string" && a.rowKey in p && typeof p[a.rowKey] == "string" ? p[a.rowKey] : "", u = E(), c = E([]), d = E([]), f = E(""), v = E(""), g = E(""), k = b(() => c.value.filter((p) => p.hidable).length > 0), S = b(() => a.nested || !k.value || a.error ? !1 : i.toolbar ? !0 : !a.loading && !!a.data && !!a.data.length), m = b(() => a.loading || !(a.data && a.data.length)), y = b(() => c.value.filter((p) => p.hidable && p.key !== Ze.EXPANDABLE && p.key !== Ze.BULK_ACTIONS)), w = b(() => S.value ? a.tablePreferences.columnVisibility || {} : {}), C = E(S.value ? a.tablePreferences.columnVisibility || {} : {}), $ = E(!1), M = E(!1), P = E(""), Y = E("desc"), V = E(!1), W = b(() => !a.hideToolbar && !a.nested && (!!i.toolbar || S.value || j.value)), q = E(!1), B = b(() => ({
25595
+ const a = e, n = t, r = Kt(), i = Mt(), s = yt(), { getSizeFromString: l } = xt(), o = (p) => typeof a.rowKey == "function" && typeof a.rowKey(p) == "string" ? a.rowKey(p) : typeof a.rowKey == "string" && a.rowKey in p && typeof p[a.rowKey] == "string" ? p[a.rowKey] : "", u = E(), c = E([]), d = E([]), f = E(""), v = E(""), g = E(""), k = b(() => c.value.filter((p) => p.hidable).length > 0), S = b(() => a.nested || !k.value || a.error ? !1 : i.toolbar ? !0 : !a.loading && !!a.data && !!a.data.length), m = b(() => a.loading || !(a.data && a.data.length)), y = b(() => c.value.filter((p) => p.hidable && p.key !== Ze.EXPANDABLE && p.key !== Ze.BULK_ACTIONS)), w = b(() => S.value ? a.tablePreferences.columnVisibility || {} : {}), C = E(S.value ? a.tablePreferences.columnVisibility || {} : {}), $ = E(!1), M = E(!1), P = E(""), Y = E("desc"), V = E(!1), U = b(() => !a.hideToolbar && !a.nested && (!!i.toolbar || S.value || j.value)), q = E(!1), B = b(() => ({
25589
25596
  maxHeight: l(a.maxHeight)
25590
25597
  })), x = E([]), I = b(() => !a.nested && !a.error && c.value.some((p) => p.key === Ze.BULK_ACTIONS) && !!(i["bulk-action-items"] || i["bulk-actions"]) && !!a.data.every((p) => o(p))), N = E([]), j = b(() => a.nested || !I.value || a.error ? !1 : i.toolbar ? !0 : !a.loading && !!a.data && !!a.data.length), ae = b(() => {
25591
25598
  const p = x.value.length;
25592
25599
  return p ? p > 100 ? "99+" : String(p) : "";
25593
- }), J = E(/* @__PURE__ */ new WeakMap()), ee = (p) => `column-${p}`, _ = (p) => `tooltip-${p}`, se = (p) => p, oe = (p, A) => (z, L) => {
25600
+ }), J = E(/* @__PURE__ */ new WeakMap()), ee = (p) => `column-${p}`, _ = (p) => `tooltip-${p}`, se = (p) => p, oe = (p, A) => (H, L) => {
25594
25601
  const le = /^on[^a-z]/, ge = {};
25595
25602
  for (const xe in A)
25596
25603
  le.test(xe) && A[xe] && (ge[xe] = A[xe]);
25597
25604
  return Object.keys(ge).reduce((xe, rt) => {
25598
25605
  if (rt.indexOf(p) === 0) {
25599
25606
  const st = rt.split(p);
25600
- xe[st[1]] = (St) => ge[rt](St, z, L);
25607
+ xe[st[1]] = (St) => ge[rt](St, H, L);
25601
25608
  }
25602
25609
  return xe;
25603
25610
  }, {});
25604
25611
  }, ke = b(() => (p, A) => {
25605
- const z = oe("onRow:", r)(A, "row"), L = oe("onCell:", r)(p, "cell"), le = ["a", "button", "label", "input", "select", 'span[role="checkbox"]'];
25606
- return (z.click || L.click) && (V.value = !0), {
25607
- ...z,
25612
+ const H = oe("onRow:", r)(A, "row"), L = oe("onCell:", r)(p, "cell"), le = ["a", "button", "label", "input", "select", 'span[role="checkbox"]'];
25613
+ return (H.click || L.click) && (V.value = !0), {
25614
+ ...H,
25608
25615
  ...L,
25609
25616
  click(ge) {
25610
25617
  const xe = ge.target.className;
@@ -25615,14 +25622,14 @@ const vN = {
25615
25622
  rt = !0;
25616
25623
  break;
25617
25624
  }
25618
- if ((!rt || ge.target.hasAttribute("disabled")) && !st && (z.click || L.click))
25625
+ if ((!rt || ge.target.hasAttribute("disabled")) && !st && (H.click || L.click))
25619
25626
  if (L.click) {
25620
25627
  n("cell-click", { data: p });
25621
25628
  const St = L.click(ge, p, "cell");
25622
25629
  typeof St == "function" && St(ge, p);
25623
25630
  } else {
25624
25631
  n("row-click", { data: A });
25625
- const St = z.click(ge, A, "row");
25632
+ const St = H.click(ge, A, "row");
25626
25633
  typeof St == "function" && St(ge, A);
25627
25634
  }
25628
25635
  }
@@ -25632,11 +25639,11 @@ const vN = {
25632
25639
  for (const A in Ee.value) {
25633
25640
  if (!Ee.value[A])
25634
25641
  continue;
25635
- const z = Ee.value[A] + "px";
25642
+ const H = Ee.value[A] + "px";
25636
25643
  p[A] = {
25637
- width: z,
25638
- maxWidth: z,
25639
- minWidth: z
25644
+ width: H,
25645
+ maxWidth: H,
25646
+ minWidth: H
25640
25647
  };
25641
25648
  }
25642
25649
  return p;
@@ -25677,36 +25684,36 @@ const vN = {
25677
25684
  var A;
25678
25685
  const p = (A = Qe.value) == null ? void 0 : A.item(0);
25679
25686
  if (p) {
25680
- const z = window == null ? void 0 : window.getComputedStyle(p);
25681
- if (z != null && z.height)
25682
- return `${parseInt(z.height, 10)}px`;
25687
+ const H = window == null ? void 0 : window.getComputedStyle(p);
25688
+ if (H != null && H.height)
25689
+ return `${parseInt(H.height, 10)}px`;
25683
25690
  }
25684
25691
  return "auto";
25685
25692
  }), et = (p, A) => {
25686
25693
  var rt;
25687
25694
  if (p.button !== 0)
25688
25695
  return;
25689
- let z = 0, L = 0;
25696
+ let H = 0, L = 0;
25690
25697
  f.value = A;
25691
25698
  let le = null;
25692
25699
  (rt = Qe.value) == null || rt.forEach((st) => {
25693
25700
  st.getAttribute("data-testid") === `table-header-${A}` && (le = document == null ? void 0 : document.querySelector(`[data-tableid="${s}"] [data-testid="table-header-${A}"]`));
25694
25701
  });
25695
25702
  const ge = (st) => {
25696
- const St = st.clientX - z;
25703
+ const St = st.clientX - H;
25697
25704
  le == null || le.setAttribute("style", `width: ${L + St}px`), Ee.value[A] = L + St;
25698
25705
  }, xe = () => {
25699
25706
  f.value = "", document == null || document.removeEventListener("mousemove", ge), document == null || document.removeEventListener("mouseup", xe), Oe(), Pe.value && Tt();
25700
25707
  };
25701
- if (z = p.clientX, le) {
25708
+ if (H = p.clientX, le) {
25702
25709
  const st = window == null ? void 0 : window.getComputedStyle(le);
25703
25710
  st != null && st.width && (L = parseInt(st.width, 10)), document == null || document.addEventListener("mousemove", ge), document == null || document.addEventListener("mouseup", xe);
25704
25711
  }
25705
25712
  }, Q = b(() => !(a.hidePagination || a.nested || a.hidePaginationWhenOptional && a.data.length && a.paginationAttributes.totalCount && a.paginationAttributes.totalCount <= a.data.length));
25706
25713
  ve(() => a.headers, (p) => {
25707
25714
  if (p && p.length) {
25708
- const A = p.filter((le) => le.key !== Ze.BULK_ACTIONS && le.key !== Ze.ACTIONS), z = p.find((le) => le.key === Ze.BULK_ACTIONS), L = p.find((le) => le.key === Ze.ACTIONS);
25709
- z && A.unshift(z), L && A.push(L), c.value = A;
25715
+ const A = p.filter((le) => le.key !== Ze.BULK_ACTIONS && le.key !== Ze.ACTIONS), H = p.find((le) => le.key === Ze.BULK_ACTIONS), L = p.find((le) => le.key === Ze.ACTIONS);
25716
+ H && A.unshift(H), L && A.push(L), c.value = A;
25710
25717
  }
25711
25718
  }, { deep: !0, immediate: !0 });
25712
25719
  const te = (p) => {
@@ -25714,7 +25721,7 @@ const vN = {
25714
25721
  P.value && A === P.value ? Y.value === "asc" ? Y.value = "desc" : Y.value = "asc" : (P.value = A, Y.value = "asc"), Oe();
25715
25722
  }, me = (p) => {
25716
25723
  p && p.target && (typeof p.target.scrollTop == "number" || typeof p.target.scrollLeft == "number") && (p.target.scrollTop > 1 ? $.value = !0 : p.target.scrollTop === 0 && ($.value = !1), p.target.scrollLeft > 1 ? M.value = !0 : p.target.scrollLeft === 0 && (M.value = !1));
25717
- }, U = (p) => N.value.find((A) => A.rowKey === o(p)), fe = (p) => {
25724
+ }, W = (p) => N.value.find((A) => A.rowKey === o(p)), fe = (p) => {
25718
25725
  if (typeof a.rowBulkActionEnabled != "function")
25719
25726
  return !1;
25720
25727
  const A = a.rowBulkActionEnabled(p);
@@ -25725,15 +25732,15 @@ const vN = {
25725
25732
  const A = a.rowBulkActionEnabled(p);
25726
25733
  return typeof A == "boolean" ? "" : A.disabledTooltip || "";
25727
25734
  }, Ie = (p, A) => {
25728
- const { to: z } = a.rowLink(p);
25729
- return !z || A === Ze.BULK_ACTIONS || A === Ze.ACTIONS ? "div" : typeof z == "object" ? "router-link" : "a";
25735
+ const { to: H } = a.rowLink(p);
25736
+ return !H || A === Ze.BULK_ACTIONS || A === Ze.ACTIONS ? "div" : typeof H == "object" ? "router-link" : "a";
25730
25737
  }, $e = (p, A) => {
25731
25738
  if (A === Ze.BULK_ACTIONS || A === Ze.ACTIONS)
25732
25739
  return {};
25733
- const { to: z, target: L } = a.rowLink(p), le = z && typeof z == "object", ge = z && typeof z == "string";
25740
+ const { to: H, target: L } = a.rowLink(p), le = H && typeof H == "object", ge = H && typeof H == "string";
25734
25741
  return {
25735
- ...le && { to: z },
25736
- ...ge && { href: z },
25742
+ ...le && { to: H },
25743
+ ...ge && { href: H },
25737
25744
  ...(le || ge) && {
25738
25745
  ...L && { target: L }
25739
25746
  }
@@ -25749,34 +25756,34 @@ const vN = {
25749
25756
  })), Oe = () => {
25750
25757
  n("update:table-preferences", X.value);
25751
25758
  }, Pe = b(() => !a.nested && a.data.some((p) => a.rowExpandable(p))), je = { key: Ze.EXPANDABLE, label: "Expandable rows controls", hideLabel: !0 }, nt = E([]), Et = async (p, A) => {
25752
- Tt(), await ht(), nt.value.includes(p) ? nt.value = nt.value.filter((z) => z !== p) : (nt.value = [...nt.value, p], n("row-expand", A));
25759
+ Tt(), await ht(), nt.value.includes(p) ? nt.value = nt.value.filter((H) => H !== p) : (nt.value = [...nt.value, p], n("row-expand", A));
25753
25760
  }, la = b(() => d.value.filter((p) => p.key !== Ze.EXPANDABLE && p.key !== Ze.BULK_ACTIONS)), Bt = E({}), Tt = () => {
25754
- const p = document == null ? void 0 : document.querySelector(`[data-tableid="${s}"]`), A = p == null ? void 0 : p.querySelectorAll("th"), z = {};
25761
+ const p = document == null ? void 0 : document.querySelector(`[data-tableid="${s}"]`), A = p == null ? void 0 : p.querySelectorAll("th"), H = {};
25755
25762
  A == null || A.forEach((L, le) => {
25756
25763
  const ge = L.getAttribute("data-key");
25757
25764
  if (ge === Ze.EXPANDABLE)
25758
25765
  return;
25759
25766
  let xe = L.getBoundingClientRect().width;
25760
- le === 1 && (xe += be), le === A.length - 1 && (xe -= 15), z[ge] = xe;
25761
- }), Bt.value = z;
25767
+ le === 1 && (xe += be), le === A.length - 1 && (xe -= 15), H[ge] = xe;
25768
+ }), Bt.value = H;
25762
25769
  };
25763
25770
  ve([C, c, Pe], (p) => {
25764
- const [A, z, L] = p;
25765
- let le = z.filter((ge) => ge.key === Ze.BULK_ACTIONS ? I.value : A[ge.key] !== !1);
25771
+ const [A, H, L] = p;
25772
+ let le = H.filter((ge) => ge.key === Ze.BULK_ACTIONS ? I.value : A[ge.key] !== !1);
25766
25773
  le.find((ge) => ge.key === Ze.EXPANDABLE) && (le = le.filter((ge) => ge.key !== Ze.EXPANDABLE)), L && le.unshift(je), JSON.stringify(le) !== JSON.stringify(d.value) && (d.value = le, Oe()), L && Tt();
25767
25774
  }, { deep: !0, immediate: !0 }), ve(S, (p) => {
25768
25775
  p && (C.value = a.tablePreferences.columnVisibility || {});
25769
25776
  }, { immediate: !0 });
25770
25777
  const Ot = E(!1), ce = b(() => {
25771
- const p = N.value.filter((A) => !A.disabled && a.data.find((z) => o(z) === A.rowKey));
25778
+ const p = N.value.filter((A) => !A.disabled && a.data.find((H) => o(H) === A.rowKey));
25772
25779
  return !!p.filter((A) => A.selected).length && !!p.filter((A) => !A.selected).length;
25773
25780
  }), pe = (p) => {
25774
25781
  N.value.forEach((A) => {
25775
- a.data.find((z) => o(z) === A.rowKey) && !A.disabled && (A.selected = p);
25782
+ a.data.find((H) => o(H) === A.rowKey) && !A.disabled && (A.selected = p);
25776
25783
  });
25777
25784
  };
25778
25785
  return ve([() => a.data, N], (p) => {
25779
- const [A, z] = p;
25786
+ const [A, H] = p;
25780
25787
  if (A.forEach((L) => {
25781
25788
  if (!J.value.get(L)) {
25782
25789
  const le = o(L) || yt();
@@ -25784,16 +25791,16 @@ const vN = {
25784
25791
  }
25785
25792
  }), I.value) {
25786
25793
  A.forEach((xe) => {
25787
- U(xe) || N.value.push({
25794
+ W(xe) || N.value.push({
25788
25795
  rowKey: o(xe),
25789
25796
  selected: !1,
25790
25797
  disabled: !fe(xe)
25791
25798
  });
25792
25799
  });
25793
- const L = z.filter((xe) => !xe.disabled && A.find((rt) => o(rt) === xe.rowKey));
25800
+ const L = H.filter((xe) => !xe.disabled && A.find((rt) => o(rt) === xe.rowKey));
25794
25801
  L.filter((xe) => xe.selected).length === L.length ? Ot.value = !0 : (L.filter((xe) => !xe.selected).length, L.length, Ot.value = !1);
25795
25802
  const le = A.filter((xe) => {
25796
- const rt = z.find((st) => st.rowKey === o(xe));
25803
+ const rt = H.find((st) => st.rowKey === o(xe));
25797
25804
  return !!(rt && rt.selected);
25798
25805
  }), ge = [];
25799
25806
  x.value.forEach((xe) => {
@@ -25806,14 +25813,14 @@ const vN = {
25806
25813
  }), ve(() => a.tablePreferences, (p) => {
25807
25814
  p != null && p.columnWidths && (Ee.value = p.columnWidths);
25808
25815
  }), (p, A) => {
25809
- const z = Yt("bind-once");
25816
+ const H = Yt("bind-once");
25810
25817
  return h(), D("div", {
25811
25818
  class: ue(["k-table-view", { "hide-headers": p.hideHeaders }])
25812
25819
  }, [
25813
- W.value ? (h(), D("div", WN, [
25814
- H(p.$slots, "toolbar", {}, void 0, !0),
25820
+ U.value ? (h(), D("div", WN, [
25821
+ z(p.$slots, "toolbar", {}, void 0, !0),
25815
25822
  j.value || S.value ? (h(), D("div", UN, [
25816
- j.value ? H(p.$slots, "bulk-actions", {
25823
+ j.value ? z(p.$slots, "bulk-actions", {
25817
25824
  key: 0,
25818
25825
  selectedRows: x.value
25819
25826
  }, () => [
@@ -25824,7 +25831,7 @@ const vN = {
25824
25831
  disabled: !ae.value || p.loading || !p.data.length
25825
25832
  }, {
25826
25833
  items: O(() => [
25827
- H(p.$slots, "bulk-action-items", { selectedRows: x.value }, void 0, !0)
25834
+ z(p.$slots, "bulk-action-items", { selectedRows: x.value }, void 0, !0)
25828
25835
  ]),
25829
25836
  _: 3
25830
25837
  }, 8, ["button-label", "count", "disabled"]))
@@ -25844,7 +25851,7 @@ const vN = {
25844
25851
  "data-testid": "table-skeleton",
25845
25852
  type: "table"
25846
25853
  })) : p.error ? (h(), D("div", KN, [
25847
- H(p.$slots, "error-state", {}, () => [
25854
+ z(p.$slots, "error-state", {}, () => [
25848
25855
  K(An, {
25849
25856
  "icon-variant": "error",
25850
25857
  message: p.errorStateMessage,
@@ -25869,7 +25876,7 @@ const vN = {
25869
25876
  ]), 1032, ["message", "title"])
25870
25877
  ], !0)
25871
25878
  ])) : !p.error && !p.loading && p.data && !p.data.length ? (h(), D("div", VN, [
25872
- H(p.$slots, "empty-state", {}, () => [
25879
+ z(p.$slots, "empty-state", {}, () => [
25873
25880
  K(An, {
25874
25881
  "icon-variant": p.emptyStateIconVariant,
25875
25882
  message: p.emptyStateMessage,
@@ -25885,7 +25892,7 @@ const vN = {
25885
25892
  onClick: A[2] || (A[2] = (L) => p.$emit("empty-state-action-click"))
25886
25893
  }, {
25887
25894
  default: O(() => [
25888
- H(p.$slots, "empty-state-action-icon", {}, void 0, !0),
25895
+ z(p.$slots, "empty-state-action-icon", {}, void 0, !0),
25889
25896
  de(" " + ne(p.emptyStateActionMessage), 1)
25890
25897
  ]),
25891
25898
  _: 3
@@ -25940,7 +25947,7 @@ const vN = {
25940
25947
  "aria-describedby": L.tooltip || p.$slots[_(L.key)] ? `${_(L.key)}-${T(s)}` : void 0,
25941
25948
  class: ue(["table-headers-container", { resized: f.value === L.key }])
25942
25949
  }, [
25943
- L.key !== T(Ze).BULK_ACTIONS ? H(p.$slots, ee(L.key), {
25950
+ L.key !== T(Ze).BULK_ACTIONS ? z(p.$slots, ee(L.key), {
25944
25951
  key: 0,
25945
25952
  column: se(L)
25946
25953
  }, () => [
@@ -25967,7 +25974,7 @@ const vN = {
25967
25974
  "tooltip-id": `${_(L.key)}-${T(s)}`
25968
25975
  }, {
25969
25976
  content: O(() => [
25970
- H(p.$slots, _(L.key), {
25977
+ z(p.$slots, _(L.key), {
25971
25978
  column: se(L)
25972
25979
  }, () => [
25973
25980
  de(ne(L.tooltip), 1)
@@ -26027,14 +26034,14 @@ const vN = {
26027
26034
  ref_for: !0
26028
26035
  }, $e(L, ge.key)), {
26029
26036
  default: O(() => [
26030
- ge.key !== T(Ze).BULK_ACTIONS && ge.key !== T(Ze).ACTIONS ? H(p.$slots, ge.key, {
26037
+ ge.key !== T(Ze).BULK_ACTIONS && ge.key !== T(Ze).ACTIONS ? z(p.$slots, ge.key, {
26031
26038
  key: 0,
26032
26039
  row: se(L),
26033
26040
  rowKey: le,
26034
26041
  rowValue: L[ge.key]
26035
26042
  }, () => [
26036
26043
  de(ne(L[ge.key]), 1)
26037
- ], !0) : ge.key === T(Ze).BULK_ACTIONS && U(L) ? (h(), G(ka, {
26044
+ ], !0) : ge.key === T(Ze).BULK_ACTIONS && W(L) ? (h(), G(ka, {
26038
26045
  key: 1,
26039
26046
  "max-width": "200",
26040
26047
  placement: "bottom-start",
@@ -26042,8 +26049,8 @@ const vN = {
26042
26049
  }, {
26043
26050
  default: O(() => [
26044
26051
  K(zi, {
26045
- modelValue: U(L).selected,
26046
- "onUpdate:modelValue": (rt) => U(L).selected = rt,
26052
+ modelValue: W(L).selected,
26053
+ "onUpdate:modelValue": (rt) => W(L).selected = rt,
26047
26054
  "aria-label": "Toggle row selection",
26048
26055
  class: "bulk-actions-checkbox",
26049
26056
  "data-testid": "bulk-actions-checkbox",
@@ -26058,7 +26065,7 @@ const vN = {
26058
26065
  "kpop-attributes": { placement: "bottom-end" }
26059
26066
  }, {
26060
26067
  items: O(() => [
26061
- H(p.$slots, "action-items", {
26068
+ z(p.$slots, "action-items", {
26062
26069
  row: se(L)
26063
26070
  }, void 0, !0)
26064
26071
  ]),
@@ -26111,7 +26118,7 @@ const vN = {
26111
26118
  colspan: d.value.length
26112
26119
  }, [
26113
26120
  R("div", i6, [
26114
- H(p.$slots, "row-expanded", {
26121
+ z(p.$slots, "row-expanded", {
26115
26122
  columnWidths: Bt.value,
26116
26123
  nestedHeaders: la.value,
26117
26124
  row: se(L)
@@ -26124,7 +26131,7 @@ const vN = {
26124
26131
  ], 64))), 128))
26125
26132
  ])
26126
26133
  ], 2)), [
26127
- [z, { "data-tableid": T(s) }]
26134
+ [H, { "data-tableid": T(s) }]
26128
26135
  ])
26129
26136
  ], 36),
26130
26137
  Q.value ? (h(), G(Do, He({
@@ -26198,7 +26205,7 @@ const vN = {
26198
26205
  currentPage: g.value,
26199
26206
  offsetPreviousButtonDisabled: !N.value,
26200
26207
  offsetNextButtonDisabled: !j.value || !$.value
26201
- })), V = b(() => n ? Object.keys(n).filter((X) => X.startsWith("column-")) : []), W = b(() => n ? Object.keys(n).filter((X) => X.startsWith("tooltip-")) : []), q = b(() => n ? Object.keys(n).filter((X) => d.value.some((Oe) => Oe.key === X)) : []), B = E(!0), x = async () => {
26208
+ })), V = b(() => n ? Object.keys(n).filter((X) => X.startsWith("column-")) : []), U = b(() => n ? Object.keys(n).filter((X) => X.startsWith("tooltip-")) : []), q = b(() => n ? Object.keys(n).filter((X) => d.value.some((Oe) => Oe.key === X)) : []), B = E(!0), x = async () => {
26202
26209
  var Oe, Pe, je, nt;
26203
26210
  const X = await a.fetcher({
26204
26211
  pageSize: k.value,
@@ -26247,7 +26254,7 @@ const vN = {
26247
26254
  g.value = X;
26248
26255
  }, me = ({ pageSize: X }) => {
26249
26256
  C.value = [null], w.value = null, k.value = X, g.value = 1, we();
26250
- }, U = E({}), fe = b(() => ({ pageSize: k.value, ...U.value })), we = () => {
26257
+ }, W = E({}), fe = b(() => ({ pageSize: k.value, ...W.value })), we = () => {
26251
26258
  Ve.value === "success" && o("update:table-preferences", fe.value);
26252
26259
  }, Ie = () => {
26253
26260
  g.value++, w.value = j.value;
@@ -26332,66 +26339,66 @@ const vN = {
26332
26339
  onRowExpand: Oe[2] || (Oe[2] = (Pe) => o("row-expand", Pe)),
26333
26340
  onRowSelect: Oe[3] || (Oe[3] = (Pe) => o("row-select", Pe)),
26334
26341
  onSort: Q,
26335
- "onUpdate:tablePreferences": Oe[4] || (Oe[4] = (Pe) => U.value = Pe)
26342
+ "onUpdate:tablePreferences": Oe[4] || (Oe[4] = (Pe) => W.value = Pe)
26336
26343
  }, mt({ _: 2 }, [
26337
26344
  X.$slots.toolbar && !X.hideToolbar ? {
26338
26345
  name: "toolbar",
26339
26346
  fn: O(() => [
26340
- H(X.$slots, "toolbar", { state: at.value })
26347
+ z(X.$slots, "toolbar", { state: at.value })
26341
26348
  ]),
26342
26349
  key: "0"
26343
26350
  } : void 0,
26344
26351
  X.$slots["bulk-actions"] ? {
26345
26352
  name: "bulk-actions",
26346
26353
  fn: O(({ selectedRows: Pe }) => [
26347
- H(X.$slots, "bulk-actions", { selectedRows: Pe })
26354
+ z(X.$slots, "bulk-actions", { selectedRows: Pe })
26348
26355
  ]),
26349
26356
  key: "1"
26350
26357
  } : void 0,
26351
26358
  X.$slots["bulk-action-items"] ? {
26352
26359
  name: "bulk-action-items",
26353
26360
  fn: O(({ selectedRows: Pe }) => [
26354
- H(X.$slots, "bulk-action-items", { selectedRows: Pe })
26361
+ z(X.$slots, "bulk-action-items", { selectedRows: Pe })
26355
26362
  ]),
26356
26363
  key: "2"
26357
26364
  } : void 0,
26358
26365
  X.$slots["error-state"] ? {
26359
26366
  name: "error-state",
26360
26367
  fn: O(() => [
26361
- H(X.$slots, "error-state")
26368
+ z(X.$slots, "error-state")
26362
26369
  ]),
26363
26370
  key: "3"
26364
26371
  } : void 0,
26365
26372
  X.$slots["empty-state"] ? {
26366
26373
  name: "empty-state",
26367
26374
  fn: O(() => [
26368
- H(X.$slots, "empty-state")
26375
+ z(X.$slots, "empty-state")
26369
26376
  ]),
26370
26377
  key: "4"
26371
26378
  } : void 0,
26372
26379
  X.$slots["empty-state-action-icon"] ? {
26373
26380
  name: "empty-state-action-icon",
26374
26381
  fn: O(() => [
26375
- H(X.$slots, "empty-state-action-icon")
26382
+ z(X.$slots, "empty-state-action-icon")
26376
26383
  ]),
26377
26384
  key: "5"
26378
26385
  } : void 0,
26379
26386
  Be(V.value, (Pe) => ({
26380
26387
  name: Pe,
26381
26388
  fn: O(({ column: je }) => [
26382
- H(X.$slots, Pe, { column: je })
26389
+ z(X.$slots, Pe, { column: je })
26383
26390
  ])
26384
26391
  })),
26385
- Be(W.value, (Pe) => ({
26392
+ Be(U.value, (Pe) => ({
26386
26393
  name: Pe,
26387
26394
  fn: O(({ column: je }) => [
26388
- H(X.$slots, Pe, { column: je })
26395
+ z(X.$slots, Pe, { column: je })
26389
26396
  ])
26390
26397
  })),
26391
26398
  Be(q.value, (Pe) => ({
26392
26399
  name: Pe,
26393
26400
  fn: O(({ row: je, rowKey: nt, rowValue: Et }) => [
26394
- H(X.$slots, Pe, {
26401
+ z(X.$slots, Pe, {
26395
26402
  row: je,
26396
26403
  rowKey: nt,
26397
26404
  rowValue: Et
@@ -26401,14 +26408,14 @@ const vN = {
26401
26408
  X.$slots["action-items"] ? {
26402
26409
  name: "action-items",
26403
26410
  fn: O(({ row: Pe }) => [
26404
- H(X.$slots, "action-items", { row: Pe })
26411
+ z(X.$slots, "action-items", { row: Pe })
26405
26412
  ]),
26406
26413
  key: "6"
26407
26414
  } : void 0,
26408
26415
  X.$slots["row-expanded"] ? {
26409
26416
  name: "row-expanded",
26410
26417
  fn: O(({ columnWidths: Pe, nestedHeaders: je, row: nt }) => [
26411
- H(X.$slots, "row-expanded", {
26418
+ z(X.$slots, "row-expanded", {
26412
26419
  columnWidths: Pe,
26413
26420
  nestedHeaders: je,
26414
26421
  row: nt