@kong/kongponents 9.14.29 → 9.14.30-pr.2554.b92ba92db.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.
@@ -5313,7 +5313,10 @@ function xt() {
5313
5313
  swrvState: Fa
5314
5314
  };
5315
5315
  },
5316
- getSizeFromString: (l) => l === "auto" || l.endsWith("%") || l.endsWith("vw") || l.endsWith("vh") || l.endsWith("px") || l.includes("calc(") ? l : l + "px",
5316
+ getSizeFromString: (l) => {
5317
+ const o = Number(l);
5318
+ return Number.isNaN(o) ? l : `${o}px`;
5319
+ },
5317
5320
  cloneDeep: (l) => {
5318
5321
  if (l)
5319
5322
  return JSON.parse(JSON.stringify(l));
@@ -14182,7 +14185,7 @@ function dM(e, t) {
14182
14185
  throw new TypeError("1 argument required, but only " + arguments.length + " present");
14183
14186
  if (e === null)
14184
14187
  return /* @__PURE__ */ new Date(NaN);
14185
- var a = t || {}, r = a.additionalDigits == null ? cM : Q8(a.additionalDigits);
14188
+ var a = t, r = a.additionalDigits == null ? cM : Q8(a.additionalDigits);
14186
14189
  if (r !== 2 && r !== 1 && r !== 0)
14187
14190
  throw new RangeError("additionalDigits must be 0, 1 or 2");
14188
14191
  if (e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]")
@@ -23165,10 +23168,10 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), Fe();
23165
23168
  ]))
23166
23169
  ]));
23167
23170
  }
23168
- }), XP = /* @__PURE__ */ De(ZP, [["__scopeId", "data-v-4e92a5cb"]]), JP = { class: "k-tabs" }, e6 = {
23171
+ }), XP = /* @__PURE__ */ De(ZP, [["__scopeId", "data-v-4e92a5cb"]]), JP = { class: "k-tabs" }, eN = {
23169
23172
  "aria-label": "Tabs",
23170
23173
  role: "tablist"
23171
- }, t6 = ["id"], a6 = ["id", "aria-labelledby"], r6 = /* @__PURE__ */ oe({
23174
+ }, tN = ["id"], aN = ["id", "aria-labelledby"], rN = /* @__PURE__ */ oe({
23172
23175
  __name: "KTabs",
23173
23176
  props: {
23174
23177
  /**
@@ -23219,7 +23222,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), Fe();
23219
23222
  return ve(() => a.modelValue, (c) => {
23220
23223
  n.value = c, r("change", c), r("update:modelValue", c);
23221
23224
  }), (c, d) => (h(), x("div", JP, [
23222
- z("ul", e6, [
23225
+ z("ul", eN, [
23223
23226
  (h(!0), x(Se, null, Pe(e.tabs, (f) => (h(), x("li", {
23224
23227
  id: `${f.hash.replace("#", "")}-tab`,
23225
23228
  key: f.hash,
@@ -23249,7 +23252,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), Fe();
23249
23252
  ]),
23250
23253
  _: 2
23251
23254
  }, 1040, ["aria-controls", "aria-selected", "class", "tabindex", "onClick", "onKeydown"]))
23252
- ], 10, t6))), 128))
23255
+ ], 10, tN))), 128))
23253
23256
  ]),
23254
23257
  e.hidePanels ? H("", !0) : (h(!0), x(Se, { key: 0 }, Pe(e.tabs, (f, v) => (h(), x("div", {
23255
23258
  id: `panel-${v}`,
@@ -23259,13 +23262,13 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), Fe();
23259
23262
  role: "tabpanel"
23260
23263
  }, [
23261
23264
  n.value === f.hash ? W(c.$slots, s(f.hash), { key: 0 }) : H("", !0)
23262
- ], 8, a6))), 128))
23265
+ ], 8, aN))), 128))
23263
23266
  ]));
23264
23267
  }
23265
- }), n6 = /* @__PURE__ */ De(r6, [["__scopeId", "data-v-dc2d693c"]]), i6 = ["id", "aria-invalid", "rows", "value"], Ys = 2048, o6 = {
23268
+ }), nN = /* @__PURE__ */ De(rN, [["__scopeId", "data-v-dc2d693c"]]), iN = ["id", "aria-invalid", "rows", "value"], Ys = 2048, oN = {
23266
23269
  inheritAttrs: !1
23267
- }, s6 = /* @__PURE__ */ oe({
23268
- ...o6,
23270
+ }, sN = /* @__PURE__ */ oe({
23271
+ ...oN,
23269
23272
  __name: "KTextArea",
23270
23273
  props: {
23271
23274
  modelValue: {
@@ -23384,7 +23387,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), Fe();
23384
23387
  rows: e.rows,
23385
23388
  value: S(),
23386
23389
  onInput: m
23387
- }), null, 16, i6),
23390
+ }), null, 16, iN),
23388
23391
  V(ra, {
23389
23392
  mode: "out-in",
23390
23393
  name: "kongponents-fade-transition"
@@ -23399,13 +23402,13 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), Fe();
23399
23402
  })
23400
23403
  ], 2));
23401
23404
  }
23402
- }), l6 = /* @__PURE__ */ De(s6, [["__scopeId", "data-v-71e3bc06"]]), u6 = { class: "toaster-icon-container" }, c6 = { class: "toaster-content" }, d6 = {
23405
+ }), lN = /* @__PURE__ */ De(sN, [["__scopeId", "data-v-71e3bc06"]]), uN = { class: "toaster-icon-container" }, cN = { class: "toaster-content" }, dN = {
23403
23406
  key: 0,
23404
23407
  class: "toaster-title"
23405
- }, f6 = {
23408
+ }, fN = {
23406
23409
  key: 1,
23407
23410
  class: "toaster-message"
23408
- }, v6 = ["onClick"], p6 = /* @__PURE__ */ oe({
23411
+ }, vN = ["onClick"], pN = /* @__PURE__ */ oe({
23409
23412
  __name: "KToaster",
23410
23413
  props: {
23411
23414
  toasterState: {
@@ -23450,16 +23453,16 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), Fe();
23450
23453
  class: ce(["toaster", `${n.appearance}`]),
23451
23454
  role: "alert"
23452
23455
  }, [
23453
- z("div", u6, [
23456
+ z("div", uN, [
23454
23457
  (h(), G(Re(t(n.appearance)), {
23455
23458
  class: "toaster-icon",
23456
23459
  color: `var(--kui-color-text, ${I(um)})`,
23457
23460
  decorative: ""
23458
23461
  }, null, 8, ["color"]))
23459
23462
  ]),
23460
- z("div", c6, [
23461
- n.title ? (h(), x("span", d6, ne(n.title), 1)) : H("", !0),
23462
- n.message ? (h(), x("p", f6, ne(n.message), 1)) : H("", !0)
23463
+ z("div", cN, [
23464
+ n.title ? (h(), x("span", dN, ne(n.title), 1)) : H("", !0),
23465
+ n.message ? (h(), x("p", fN, ne(n.message), 1)) : H("", !0)
23463
23466
  ]),
23464
23467
  z("button", {
23465
23468
  "aria-label": "Close",
@@ -23472,17 +23475,17 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), Fe();
23472
23475
  color: `var(--kui-color-text-neutral-weak, ${I(fm)})`,
23473
23476
  size: I(hm)
23474
23477
  }, null, 8, ["color", "size"])
23475
- ], 8, v6)
23478
+ ], 8, vN)
23476
23479
  ], 2))), 128))
23477
23480
  ]),
23478
23481
  _: 1
23479
23482
  }));
23480
23483
  }
23481
- }), Oh = /* @__PURE__ */ De(p6, [["__scopeId", "data-v-c719c82d"]]), h6 = "kongponents-toaster-container", zs = {
23484
+ }), Oh = /* @__PURE__ */ De(pN, [["__scopeId", "data-v-c719c82d"]]), hN = "kongponents-toaster-container", zs = {
23482
23485
  timeoutMilliseconds: 5e3,
23483
23486
  appearance: lv.info
23484
- }, g6 = 1e4;
23485
- class m6 {
23487
+ }, gN = 1e4;
23488
+ class mN {
23486
23489
  constructor(t) {
23487
23490
  Ra(this, "toastersContainer", null);
23488
23491
  Ra(this, "toaster", null);
@@ -23491,9 +23494,9 @@ class m6 {
23491
23494
  console.warn("ToastManager should only be initialized in the browser environment. Docs: https://kongponents.konghq.com/components/toaster.html");
23492
23495
  return;
23493
23496
  }
23494
- this.toastersContainer = document.createElement("div"), this.toastersContainer.id = h6, document.body.appendChild(this.toastersContainer), this.toaster = V(Oh, {
23497
+ this.toastersContainer = document.createElement("div"), this.toastersContainer.id = hN, document.body.appendChild(this.toastersContainer), this.toaster = V(Oh, {
23495
23498
  toasterState: this.toasts.value,
23496
- zIndex: t != null && t.zIndex ? t.zIndex : g6,
23499
+ zIndex: t != null && t.zIndex ? t.zIndex : gN,
23497
23500
  onClose: (a) => this.close(a)
23498
23501
  }), this.toastersContainer && Su(this.toaster, this.toastersContainer);
23499
23502
  }
@@ -23548,7 +23551,7 @@ function Oa(e) {
23548
23551
  for (var t = 1; t < arguments.length; t++) {
23549
23552
  var a = arguments[t] != null ? arguments[t] : {};
23550
23553
  t % 2 ? qf(Object(a), !0).forEach(function(r) {
23551
- y6(e, r, a[r]);
23554
+ yN(e, r, a[r]);
23552
23555
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : qf(Object(a)).forEach(function(r) {
23553
23556
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(a, r));
23554
23557
  });
@@ -23563,7 +23566,7 @@ function uo(e) {
23563
23566
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
23564
23567
  }, uo(e);
23565
23568
  }
23566
- function y6(e, t, a) {
23569
+ function yN(e, t, a) {
23567
23570
  return t in e ? Object.defineProperty(e, t, {
23568
23571
  value: a,
23569
23572
  enumerable: !0,
@@ -23581,16 +23584,16 @@ function Va() {
23581
23584
  return e;
23582
23585
  }, Va.apply(this, arguments);
23583
23586
  }
23584
- function b6(e, t) {
23587
+ function bN(e, t) {
23585
23588
  if (e == null) return {};
23586
23589
  var a = {}, r = Object.keys(e), n, i;
23587
23590
  for (i = 0; i < r.length; i++)
23588
23591
  n = r[i], !(t.indexOf(n) >= 0) && (a[n] = e[n]);
23589
23592
  return a;
23590
23593
  }
23591
- function w6(e, t) {
23594
+ function wN(e, t) {
23592
23595
  if (e == null) return {};
23593
- var a = b6(e, t), r, n;
23596
+ var a = bN(e, t), r, n;
23594
23597
  if (Object.getOwnPropertySymbols) {
23595
23598
  var i = Object.getOwnPropertySymbols(e);
23596
23599
  for (n = 0; n < i.length; n++)
@@ -23598,12 +23601,12 @@ function w6(e, t) {
23598
23601
  }
23599
23602
  return a;
23600
23603
  }
23601
- var k6 = "1.14.0";
23604
+ var kN = "1.14.0";
23602
23605
  function qa(e) {
23603
23606
  if (typeof window < "u" && window.navigator)
23604
23607
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
23605
23608
  }
23606
- var Za = qa(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), li = qa(/Edge/i), Hf = qa(/firefox/i), Hn = qa(/safari/i) && !qa(/chrome/i) && !qa(/android/i), Eh = qa(/iP(ad|od|hone)/i), C6 = qa(/chrome/i) && qa(/android/i), Ph = {
23609
+ var Za = qa(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), li = qa(/Edge/i), Hf = qa(/firefox/i), Hn = qa(/safari/i) && !qa(/chrome/i) && !qa(/android/i), Eh = qa(/iP(ad|od|hone)/i), CN = qa(/chrome/i) && qa(/android/i), Ph = {
23607
23610
  capture: !1,
23608
23611
  passive: !1
23609
23612
  };
@@ -23629,7 +23632,7 @@ function Wo(e, t) {
23629
23632
  return !1;
23630
23633
  }
23631
23634
  }
23632
- function S6(e) {
23635
+ function SN(e) {
23633
23636
  return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
23634
23637
  }
23635
23638
  function Ca(e, t, a, r) {
@@ -23639,7 +23642,7 @@ function Ca(e, t, a, r) {
23639
23642
  if (t != null && (t[0] === ">" ? e.parentNode === a && Wo(e, t) : Wo(e, t)) || r && e === a)
23640
23643
  return e;
23641
23644
  if (e === a) break;
23642
- } while (e = S6(e));
23645
+ } while (e = SN(e));
23643
23646
  }
23644
23647
  return null;
23645
23648
  }
@@ -23754,7 +23757,7 @@ function Vf(e) {
23754
23757
  } while (e !== r && (e = e.parentNode));
23755
23758
  return [t, a];
23756
23759
  }
23757
- function $6(e, t) {
23760
+ function $N(e, t) {
23758
23761
  for (var a in e)
23759
23762
  if (e.hasOwnProperty(a)) {
23760
23763
  for (var r in t)
@@ -23777,7 +23780,7 @@ function nr(e, t) {
23777
23780
  while (a = a.parentNode);
23778
23781
  return Ta();
23779
23782
  }
23780
- function D6(e, t) {
23783
+ function DN(e, t) {
23781
23784
  if (e && t)
23782
23785
  for (var a in t)
23783
23786
  t.hasOwnProperty(a) && (e[a] = t[a]);
@@ -23797,7 +23800,7 @@ function Lh(e, t) {
23797
23800
  }
23798
23801
  };
23799
23802
  }
23800
- function x6() {
23803
+ function xN() {
23801
23804
  clearTimeout(Wn), Wn = void 0;
23802
23805
  }
23803
23806
  function Bh(e, t, a) {
@@ -23808,7 +23811,7 @@ function _h(e) {
23808
23811
  return t && t.dom ? t.dom(e).cloneNode(!0) : a ? a(e).clone(!0)[0] : e.cloneNode(!0);
23809
23812
  }
23810
23813
  var aa = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
23811
- function T6() {
23814
+ function TN() {
23812
23815
  var e = [], t;
23813
23816
  return {
23814
23817
  captureAnimationState: function() {
@@ -23834,7 +23837,7 @@ function T6() {
23834
23837
  e.push(r);
23835
23838
  },
23836
23839
  removeAnimationState: function(r) {
23837
- e.splice($6(e, {
23840
+ e.splice($N(e, {
23838
23841
  target: r
23839
23842
  }), 1);
23840
23843
  },
@@ -23848,7 +23851,7 @@ function T6() {
23848
23851
  e.forEach(function(l) {
23849
23852
  var o = 0, u = l.target, c = u.fromRect, d = Tt(u), f = u.prevFromRect, v = u.prevToRect, p = l.rect, w = Jr(u, !0);
23850
23853
  w && (d.top -= w.f, d.left -= w.e), u.toRect = d, u.thisAnimationDuration && qs(f, d) && !qs(c, d) && // Make sure animatingRect is on line between toRect & fromRect
23851
- (p.top - d.top) / (p.left - d.left) === (c.top - d.top) / (c.left - d.left) && (o = A6(p, f, v, n.options)), qs(d, c) || (u.prevFromRect = c, u.prevToRect = d, o || (o = n.options.animation), n.animate(u, p, d, o)), o && (i = !0, s = Math.max(s, o), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
23854
+ (p.top - d.top) / (p.left - d.left) === (c.top - d.top) / (c.left - d.left) && (o = AN(p, f, v, n.options)), qs(d, c) || (u.prevFromRect = c, u.prevToRect = d, o || (o = n.options.animation), n.animate(u, p, d, o)), o && (i = !0, s = Math.max(s, o), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
23852
23855
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
23853
23856
  }, o), u.thisAnimationDuration = o);
23854
23857
  }), clearTimeout(t), i ? t = setTimeout(function() {
@@ -23859,17 +23862,17 @@ function T6() {
23859
23862
  if (s) {
23860
23863
  Ne(r, "transition", ""), Ne(r, "transform", "");
23861
23864
  var l = Jr(this.el), o = l && l.a, u = l && l.d, c = (n.left - i.left) / (o || 1), d = (n.top - i.top) / (u || 1);
23862
- r.animatingX = !!c, r.animatingY = !!d, Ne(r, "transform", "translate3d(" + c + "px," + d + "px,0)"), this.forRepaintDummy = I6(r), Ne(r, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), Ne(r, "transform", "translate3d(0,0,0)"), typeof r.animated == "number" && clearTimeout(r.animated), r.animated = setTimeout(function() {
23865
+ r.animatingX = !!c, r.animatingY = !!d, Ne(r, "transform", "translate3d(" + c + "px," + d + "px,0)"), this.forRepaintDummy = IN(r), Ne(r, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), Ne(r, "transform", "translate3d(0,0,0)"), typeof r.animated == "number" && clearTimeout(r.animated), r.animated = setTimeout(function() {
23863
23866
  Ne(r, "transition", ""), Ne(r, "transform", ""), r.animated = !1, r.animatingX = !1, r.animatingY = !1;
23864
23867
  }, s);
23865
23868
  }
23866
23869
  }
23867
23870
  };
23868
23871
  }
23869
- function I6(e) {
23872
+ function IN(e) {
23870
23873
  return e.offsetWidth;
23871
23874
  }
23872
- function A6(e, t, a, r) {
23875
+ function AN(e, t, a, r) {
23873
23876
  return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - a.top, 2) + Math.pow(t.left - a.left, 2)) * r.animation;
23874
23877
  }
23875
23878
  var Fr = [], Hs = {
@@ -23924,7 +23927,7 @@ var Fr = [], Hs = {
23924
23927
  }), n;
23925
23928
  }
23926
23929
  };
23927
- function M6(e) {
23930
+ function MN(e) {
23928
23931
  var t = e.sortable, a = e.rootEl, r = e.name, n = e.targetEl, i = e.cloneEl, s = e.toEl, l = e.fromEl, o = e.oldIndex, u = e.newIndex, c = e.oldDraggableIndex, d = e.newDraggableIndex, f = e.originalEvent, v = e.putSortable, p = e.extraEventProperties;
23929
23932
  if (t = t || a && a[aa], !!t) {
23930
23933
  var w, k = t.options, g = "on" + r.charAt(0).toUpperCase() + r.substr(1);
@@ -23938,8 +23941,8 @@ function M6(e) {
23938
23941
  a && a.dispatchEvent(w), k[g] && k[g].call(t, w);
23939
23942
  }
23940
23943
  }
23941
- var O6 = ["evt"], jt = function(t, a) {
23942
- var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = r.evt, i = w6(r, O6);
23944
+ var ON = ["evt"], jt = function(t, a) {
23945
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = r.evt, i = wN(r, ON);
23943
23946
  ui.pluginEvent.bind(Le)(t, a, Oa({
23944
23947
  dragEl: pe,
23945
23948
  parentEl: yt,
@@ -23975,7 +23978,7 @@ var O6 = ["evt"], jt = function(t, a) {
23975
23978
  }, i));
23976
23979
  };
23977
23980
  function Ft(e) {
23978
- M6(Oa({
23981
+ MN(Oa({
23979
23982
  putSortable: At,
23980
23983
  cloneEl: bt,
23981
23984
  targetEl: pe,
@@ -23986,7 +23989,7 @@ function Ft(e) {
23986
23989
  newDraggableIndex: er
23987
23990
  }, e));
23988
23991
  }
23989
- var pe, yt, ze, pt, mr, co, bt, rr, Gr, ta, Un, er, Xi, At, Kr = !1, Uo = !1, Vo = [], vr, pa, Ws, Us, Kf, jf, Nn, Yr, Vn, Kn = !1, Ji = !1, fo, Nt, Vs = [], gl = !1, Ko = [], gs = typeof document < "u", eo = Eh, Gf = li || Za ? "cssFloat" : "float", E6 = gs && !C6 && !Eh && "draggable" in document.createElement("div"), Rh = function() {
23992
+ var pe, yt, ze, pt, mr, co, bt, rr, Gr, ta, Un, er, Xi, At, Kr = !1, Uo = !1, Vo = [], vr, pa, Ws, Us, Kf, jf, Nn, Yr, Vn, Kn = !1, Ji = !1, fo, Nt, Vs = [], gl = !1, Ko = [], gs = typeof document < "u", eo = Eh, Gf = li || Za ? "cssFloat" : "float", EN = gs && !CN && !Eh && "draggable" in document.createElement("div"), Rh = function() {
23990
23993
  if (gs) {
23991
23994
  if (Za)
23992
23995
  return !1;
@@ -24004,10 +24007,10 @@ var pe, yt, ze, pt, mr, co, bt, rr, Gr, ta, Un, er, Xi, At, Kr = !1, Uo = !1, Vo
24004
24007
  return s && (o.clear === "both" || o.clear === d) ? "vertical" : "horizontal";
24005
24008
  }
24006
24009
  return i && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= n && r[Gf] === "none" || s && r[Gf] === "none" && u + c > n) ? "vertical" : "horizontal";
24007
- }, P6 = function(t, a, r) {
24010
+ }, PN = function(t, a, r) {
24008
24011
  var n = r ? t.left : t.top, i = r ? t.right : t.bottom, s = r ? t.width : t.height, l = r ? a.left : a.top, o = r ? a.right : a.bottom, u = r ? a.width : a.height;
24009
24012
  return n === l || i === o || n + s / 2 === l + u / 2;
24010
- }, N6 = function(t, a) {
24013
+ }, NN = function(t, a) {
24011
24014
  var r;
24012
24015
  return Vo.some(function(n) {
24013
24016
  var i = n[aa].options.emptyInsertThreshold;
@@ -24049,7 +24052,7 @@ gs && document.addEventListener("click", function(e) {
24049
24052
  var pr = function(t) {
24050
24053
  if (pe) {
24051
24054
  t = t.touches ? t.touches[0] : t;
24052
- var a = N6(t.clientX, t.clientY);
24055
+ var a = NN(t.clientX, t.clientY);
24053
24056
  if (a) {
24054
24057
  var r = {};
24055
24058
  for (var n in t)
@@ -24057,7 +24060,7 @@ var pr = function(t) {
24057
24060
  r.target = r.rootEl = a, r.preventDefault = void 0, r.stopPropagation = void 0, a[aa]._onDragOver(r);
24058
24061
  }
24059
24062
  }
24060
- }, L6 = function(t) {
24063
+ }, LN = function(t) {
24061
24064
  pe && pe.parentNode[aa]._isOutsideThisEl(t.target);
24062
24065
  };
24063
24066
  function Le(e, t) {
@@ -24115,7 +24118,7 @@ function Le(e, t) {
24115
24118
  Yh(t);
24116
24119
  for (var n in this)
24117
24120
  n.charAt(0) === "_" && typeof this[n] == "function" && (this[n] = this[n].bind(this));
24118
- this.nativeDraggable = t.forceFallback ? !1 : E6, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? tt(e, "pointerdown", this._onTapStart) : (tt(e, "mousedown", this._onTapStart), tt(e, "touchstart", this._onTapStart)), this.nativeDraggable && (tt(e, "dragover", this), tt(e, "dragenter", this)), Vo.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), Va(this, T6());
24121
+ this.nativeDraggable = t.forceFallback ? !1 : EN, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? tt(e, "pointerdown", this._onTapStart) : (tt(e, "mousedown", this._onTapStart), tt(e, "touchstart", this._onTapStart)), this.nativeDraggable && (tt(e, "dragover", this), tt(e, "dragenter", this)), Vo.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), Va(this, TN());
24119
24122
  }
24120
24123
  Le.prototype = /** @lends Sortable.prototype */
24121
24124
  {
@@ -24129,7 +24132,7 @@ Le.prototype = /** @lends Sortable.prototype */
24129
24132
  _onTapStart: function(t) {
24130
24133
  if (t.cancelable) {
24131
24134
  var a = this, r = this.el, n = this.options, i = n.preventOnFilter, s = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, o = (l || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || o, c = n.filter;
24132
- if (H6(r), !pe && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || n.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Hn && o && o.tagName.toUpperCase() === "SELECT") && (o = Ca(o, n.draggable, r, !1), !(o && o.animated) && co !== o)) {
24135
+ if (HN(r), !pe && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || n.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Hn && o && o.tagName.toUpperCase() === "SELECT") && (o = Ca(o, n.draggable, r, !1), !(o && o.animated) && co !== o)) {
24133
24136
  if (Gr = oa(o), Un = oa(o, n.draggable), typeof c == "function") {
24134
24137
  if (c.call(this, t, o, this)) {
24135
24138
  Ft({
@@ -24222,7 +24225,7 @@ Le.prototype = /** @lends Sortable.prototype */
24222
24225
  if (Kr = !1, pt && pe) {
24223
24226
  jt("dragStarted", this, {
24224
24227
  evt: a
24225
- }), this.nativeDraggable && tt(document, "dragover", L6);
24228
+ }), this.nativeDraggable && tt(document, "dragover", LN);
24226
24229
  var r = this.options;
24227
24230
  !t && ea(pe, r.dragClass, !1), ea(pe, r.ghostClass, !0), Le.active = this, t && this._appendGhost(), Ft({
24228
24231
  sortable: this,
@@ -24353,12 +24356,12 @@ Le.prototype = /** @lends Sortable.prototype */
24353
24356
  if (s)
24354
24357
  return yt = pt, g(), this._hideClone(), k("revert"), Le.eventCanceled || (mr ? pt.insertBefore(pe, mr) : pt.appendChild(pe)), m(!0);
24355
24358
  var S = yu(a, l.draggable);
24356
- if (!S || F6(t, v, this) && !S.animated) {
24359
+ if (!S || FN(t, v, this) && !S.animated) {
24357
24360
  if (S === pe)
24358
24361
  return m(!1);
24359
24362
  if (S && a === t.target && (r = S), r && (i = Tt(r)), to(pt, a, pe, n, r, i, t, !!r) !== !1)
24360
24363
  return g(), a.appendChild(pe), yt = a, b(), m(!0);
24361
- } else if (S && R6(t, v, this)) {
24364
+ } else if (S && RN(t, v, this)) {
24362
24365
  var $ = un(a, 0, l, !0);
24363
24366
  if ($ === pe)
24364
24367
  return m(!1);
@@ -24366,8 +24369,8 @@ Le.prototype = /** @lends Sortable.prototype */
24366
24369
  return g(), a.insertBefore(pe, $), yt = a, b(), m(!0);
24367
24370
  } else if (r.parentNode === a) {
24368
24371
  i = Tt(r);
24369
- var T = 0, B, ee = pe.parentNode !== a, te = !P6(pe.animated && pe.toRect || n, r.animated && r.toRect || i, v), q = v ? "top" : "left", R = Uf(r, "top", "top") || Uf(pe, "top", "top"), F = R ? R.scrollTop : void 0;
24370
- Yr !== r && (B = i[q], Kn = !1, Ji = !te && l.invertSwap || ee), T = Y6(t, r, i, v, te ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ji, Yr === r);
24372
+ var T = 0, B, ee = pe.parentNode !== a, te = !PN(pe.animated && pe.toRect || n, r.animated && r.toRect || i, v), q = v ? "top" : "left", R = Uf(r, "top", "top") || Uf(pe, "top", "top"), F = R ? R.scrollTop : void 0;
24373
+ Yr !== r && (B = i[q], Kn = !1, Ji = !te && l.invertSwap || ee), T = YN(t, r, i, v, te ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ji, Yr === r);
24371
24374
  var P;
24372
24375
  if (T !== 0) {
24373
24376
  var A = oa(pe);
@@ -24382,7 +24385,7 @@ Le.prototype = /** @lends Sortable.prototype */
24382
24385
  U = T === 1;
24383
24386
  var ae = to(pt, a, pe, n, r, i, t, U);
24384
24387
  if (ae !== !1)
24385
- return (ae === 1 || ae === -1) && (U = ae === 1), gl = !0, setTimeout(_6, 30), g(), U && !L ? a.appendChild(pe) : r.parentNode.insertBefore(pe, U ? L : r), R && Bh(R, 0, F - R.scrollTop), yt = pe.parentNode, B !== void 0 && !Ji && (fo = Math.abs(B - Tt(r)[q])), b(), m(!0);
24388
+ return (ae === 1 || ae === -1) && (U = ae === 1), gl = !0, setTimeout(_N, 30), g(), U && !L ? a.appendChild(pe) : r.parentNode.insertBefore(pe, U ? L : r), R && Bh(R, 0, F - R.scrollTop), yt = pe.parentNode, B !== void 0 && !Ji && (fo = Math.abs(B - Tt(r)[q])), b(), m(!0);
24386
24389
  }
24387
24390
  if (a.contains(pe))
24388
24391
  return m(!1);
@@ -24464,7 +24467,7 @@ Le.prototype = /** @lends Sortable.prototype */
24464
24467
  break;
24465
24468
  case "dragenter":
24466
24469
  case "dragover":
24467
- pe && (this._onDragOver(t), B6(t));
24470
+ pe && (this._onDragOver(t), BN(t));
24468
24471
  break;
24469
24472
  case "selectstart":
24470
24473
  t.preventDefault();
@@ -24477,7 +24480,7 @@ Le.prototype = /** @lends Sortable.prototype */
24477
24480
  */
24478
24481
  toArray: function() {
24479
24482
  for (var t = [], a, r = this.el.children, n = 0, i = r.length, s = this.options; n < i; n++)
24480
- a = r[n], Ca(a, s.draggable, this.el, !1) && t.push(a.getAttribute(s.dataIdAttr) || q6(a));
24483
+ a = r[n], Ca(a, s.draggable, this.el, !1) && t.push(a.getAttribute(s.dataIdAttr) || qN(a));
24481
24484
  return t;
24482
24485
  },
24483
24486
  /**
@@ -24549,7 +24552,7 @@ Le.prototype = /** @lends Sortable.prototype */
24549
24552
  }
24550
24553
  }
24551
24554
  };
24552
- function B6(e) {
24555
+ function BN(e) {
24553
24556
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
24554
24557
  }
24555
24558
  function to(e, t, a, r, n, i, s, l) {
@@ -24562,18 +24565,18 @@ function to(e, t, a, r, n, i, s, l) {
24562
24565
  function Ks(e) {
24563
24566
  e.draggable = !1;
24564
24567
  }
24565
- function _6() {
24568
+ function _N() {
24566
24569
  gl = !1;
24567
24570
  }
24568
- function R6(e, t, a) {
24571
+ function RN(e, t, a) {
24569
24572
  var r = Tt(un(a.el, 0, a.options, !0)), n = 10;
24570
24573
  return t ? e.clientX < r.left - n || e.clientY < r.top && e.clientX < r.right : e.clientY < r.top - n || e.clientY < r.bottom && e.clientX < r.left;
24571
24574
  }
24572
- function F6(e, t, a) {
24575
+ function FN(e, t, a) {
24573
24576
  var r = Tt(yu(a.el, a.options.draggable)), n = 10;
24574
24577
  return t ? e.clientX > r.right + n || e.clientX <= r.right && e.clientY > r.bottom && e.clientX >= r.left : e.clientX > r.right && e.clientY > r.top || e.clientX <= r.right && e.clientY > r.bottom + n;
24575
24578
  }
24576
- function Y6(e, t, a, r, n, i, s, l) {
24579
+ function YN(e, t, a, r, n, i, s, l) {
24577
24580
  var o = r ? e.clientY : e.clientX, u = r ? a.height : a.width, c = r ? a.top : a.left, d = r ? a.bottom : a.right, f = !1;
24578
24581
  if (!s) {
24579
24582
  if (l && fo < u * n) {
@@ -24582,19 +24585,19 @@ function Y6(e, t, a, r, n, i, s, l) {
24582
24585
  else if (Vn === 1 ? o < c + fo : o > d - fo)
24583
24586
  return -Vn;
24584
24587
  } else if (o > c + u * (1 - n) / 2 && o < d - u * (1 - n) / 2)
24585
- return z6(t);
24588
+ return zN(t);
24586
24589
  }
24587
24590
  return f = f || s, f && (o < c + u * i / 2 || o > d - u * i / 2) ? o > c + u / 2 ? 1 : -1 : 0;
24588
24591
  }
24589
- function z6(e) {
24592
+ function zN(e) {
24590
24593
  return oa(pe) < oa(e) ? 1 : -1;
24591
24594
  }
24592
- function q6(e) {
24595
+ function qN(e) {
24593
24596
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, a = t.length, r = 0; a--; )
24594
24597
  r += t.charCodeAt(a);
24595
24598
  return r.toString(36);
24596
24599
  }
24597
- function H6(e) {
24600
+ function HN(e) {
24598
24601
  Ko.length = 0;
24599
24602
  for (var t = e.getElementsByTagName("input"), a = t.length; a--; ) {
24600
24603
  var r = t[a];
@@ -24618,7 +24621,7 @@ Le.utils = {
24618
24621
  is: function(t, a) {
24619
24622
  return !!Ca(t, a, t, !1);
24620
24623
  },
24621
- extend: D6,
24624
+ extend: DN,
24622
24625
  throttle: Lh,
24623
24626
  closest: Ca,
24624
24627
  toggleClass: ea,
@@ -24644,9 +24647,9 @@ Le.mount = function() {
24644
24647
  Le.create = function(e, t) {
24645
24648
  return new Le(e, t);
24646
24649
  };
24647
- Le.version = k6;
24650
+ Le.version = kN;
24648
24651
  var Dt = [], Ln, yl, bl = !1, js, Gs, jo, Bn;
24649
- function W6() {
24652
+ function WN() {
24650
24653
  function e() {
24651
24654
  this.defaults = {
24652
24655
  scroll: !0,
@@ -24668,7 +24671,7 @@ function W6() {
24668
24671
  !this.options.dragOverBubble && !r.rootEl && this._handleAutoScroll(r);
24669
24672
  },
24670
24673
  drop: function() {
24671
- this.sortable.nativeDraggable ? Qe(document, "dragover", this._handleAutoScroll) : (Qe(document, "pointermove", this._handleFallbackAutoScroll), Qe(document, "touchmove", this._handleFallbackAutoScroll), Qe(document, "mousemove", this._handleFallbackAutoScroll)), Qf(), po(), x6();
24674
+ this.sortable.nativeDraggable ? Qe(document, "dragover", this._handleAutoScroll) : (Qe(document, "pointermove", this._handleFallbackAutoScroll), Qe(document, "touchmove", this._handleFallbackAutoScroll), Qe(document, "mousemove", this._handleFallbackAutoScroll)), Qf(), po(), xN();
24672
24675
  },
24673
24676
  nulling: function() {
24674
24677
  jo = yl = Ln = bl = Bn = js = Gs = null, Dt.length = 0;
@@ -24771,19 +24774,19 @@ wu.prototype = {
24771
24774
  Va(wu, {
24772
24775
  pluginName: "removeOnSpill"
24773
24776
  });
24774
- Le.mount(new W6());
24777
+ Le.mount(new WN());
24775
24778
  Le.mount(wu, bu);
24776
- function U6() {
24779
+ function UN() {
24777
24780
  return typeof window < "u" ? window.console : global.console;
24778
24781
  }
24779
- const V6 = U6();
24780
- function K6(e) {
24782
+ const VN = UN();
24783
+ function KN(e) {
24781
24784
  const t = /* @__PURE__ */ Object.create(null);
24782
24785
  return function(r) {
24783
24786
  return t[r] || (t[r] = e(r));
24784
24787
  };
24785
24788
  }
24786
- const j6 = /-(\w)/g, Zf = K6((e) => e.replace(j6, (t, a) => a ? a.toUpperCase() : ""));
24789
+ const jN = /-(\w)/g, Zf = KN((e) => e.replace(jN, (t, a) => a ? a.toUpperCase() : ""));
24787
24790
  function Zs(e) {
24788
24791
  e.parentElement !== null && e.parentElement.removeChild(e);
24789
24792
  }
@@ -24791,10 +24794,10 @@ function Xf(e, t, a) {
24791
24794
  const r = a === 0 ? e.children[0] : e.children[a - 1].nextSibling;
24792
24795
  e.insertBefore(t, r);
24793
24796
  }
24794
- function G6(e, t) {
24797
+ function GN(e, t) {
24795
24798
  return Object.values(e).indexOf(t);
24796
24799
  }
24797
- function Q6(e, t, a, r) {
24800
+ function QN(e, t, a, r) {
24798
24801
  if (!e)
24799
24802
  return [];
24800
24803
  const n = Object.values(e), i = t.length - r;
@@ -24803,26 +24806,26 @@ function Q6(e, t, a, r) {
24803
24806
  function Wh(e, t) {
24804
24807
  this.$nextTick(() => this.$emit(e.toLowerCase(), t));
24805
24808
  }
24806
- function Z6(e) {
24809
+ function ZN(e) {
24807
24810
  return (t) => {
24808
24811
  this.realList !== null && this["onDrag" + e](t), Wh.call(this, e, t);
24809
24812
  };
24810
24813
  }
24811
- function X6(e) {
24814
+ function XN(e) {
24812
24815
  return ["transition-group", "TransitionGroup"].includes(e);
24813
24816
  }
24814
- function J6(e) {
24817
+ function JN(e) {
24815
24818
  if (!e || e.length !== 1)
24816
24819
  return !1;
24817
24820
  const [{ type: t }] = e;
24818
- return t ? X6(t.name) : !1;
24821
+ return t ? XN(t.name) : !1;
24819
24822
  }
24820
- function eN(e, t) {
24823
+ function e6(e, t) {
24821
24824
  return t ? { ...t.props, ...t.attrs } : e;
24822
24825
  }
24823
- const wl = ["Start", "Add", "Remove", "Update", "End"], kl = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], tN = ["Move", ...wl, ...kl].map((e) => "on" + e);
24826
+ const wl = ["Start", "Add", "Remove", "Update", "End"], kl = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], t6 = ["Move", ...wl, ...kl].map((e) => "on" + e);
24824
24827
  let Xs = null;
24825
- const aN = {
24828
+ const a6 = {
24826
24829
  options: Object,
24827
24830
  list: {
24828
24831
  type: Array,
@@ -24859,7 +24862,7 @@ const aN = {
24859
24862
  required: !1,
24860
24863
  default: null
24861
24864
  }
24862
- }, rN = oe({
24865
+ }, r6 = oe({
24863
24866
  name: "VueDraggableNext",
24864
24867
  inheritAttrs: !1,
24865
24868
  emits: [
@@ -24869,7 +24872,7 @@ const aN = {
24869
24872
  ...wl.map((e) => e.toLowerCase()),
24870
24873
  ...kl.map((e) => e.toLowerCase())
24871
24874
  ],
24872
- props: aN,
24875
+ props: a6,
24873
24876
  data() {
24874
24877
  return {
24875
24878
  transitionMode: !1,
@@ -24882,16 +24885,16 @@ const aN = {
24882
24885
  };
24883
24886
  },
24884
24887
  render() {
24885
- const e = this.$slots.default ? this.$slots.default() : null, t = eN(this.$attrs, this.componentData);
24886
- return e ? (this.transitionMode = J6(e), $u(this.getTag(), t, e)) : $u(this.getTag(), t, []);
24888
+ const e = this.$slots.default ? this.$slots.default() : null, t = e6(this.$attrs, this.componentData);
24889
+ return e ? (this.transitionMode = JN(e), $u(this.getTag(), t, e)) : $u(this.getTag(), t, []);
24887
24890
  },
24888
24891
  created() {
24889
- this.list !== null && this.modelValue !== null && V6.error("list props are mutually exclusive! Please set one.");
24892
+ this.list !== null && this.modelValue !== null && VN.error("list props are mutually exclusive! Please set one.");
24890
24893
  },
24891
24894
  mounted() {
24892
24895
  const e = {};
24893
24896
  wl.forEach((n) => {
24894
- e["on" + n] = Z6.call(this, n);
24897
+ e["on" + n] = ZN.call(this, n);
24895
24898
  }), kl.forEach((n) => {
24896
24899
  e["on" + n] = Wh.bind(this, n);
24897
24900
  });
@@ -24931,7 +24934,7 @@ const aN = {
24931
24934
  updateOptions(e) {
24932
24935
  for (var t in e) {
24933
24936
  const a = Zf(t);
24934
- tN.indexOf(a) === -1 && this._sortable.option(a, e[t]);
24937
+ t6.indexOf(a) === -1 && this._sortable.option(a, e[t]);
24935
24938
  }
24936
24939
  },
24937
24940
  getChildrenNodes() {
@@ -24939,11 +24942,11 @@ const aN = {
24939
24942
  },
24940
24943
  computeIndexes() {
24941
24944
  this.$nextTick(() => {
24942
- this.visibleIndexes = Q6(this.getChildrenNodes(), this.$el.children, this.transitionMode, this.footerOffset);
24945
+ this.visibleIndexes = QN(this.getChildrenNodes(), this.$el.children, this.transitionMode, this.footerOffset);
24943
24946
  });
24944
24947
  },
24945
24948
  getUnderlyingVm(e) {
24946
- const t = G6(this.getChildrenNodes() || [], e);
24949
+ const t = GN(this.getChildrenNodes() || [], e);
24947
24950
  if (t === -1)
24948
24951
  return null;
24949
24952
  const a = this.realList[t];
@@ -25061,17 +25064,17 @@ const aN = {
25061
25064
  return a.indexOf(Xs) !== -1 || !t.willInsertAfter ? n : n + 1;
25062
25065
  }
25063
25066
  }
25064
- }), nN = ["data-testid"], iN = {
25067
+ }), n6 = ["data-testid"], i6 = {
25065
25068
  key: 0,
25066
25069
  class: "tree-item-icon",
25067
25070
  "data-testid": "tree-item-icon"
25068
- }, oN = {
25071
+ }, o6 = {
25069
25072
  class: "tree-item-label",
25070
25073
  "data-testid": "tree-item-label"
25071
25074
  }, ku = (e) => e.every((t) => {
25072
25075
  var a;
25073
25076
  return t.name !== void 0 && t.id !== void 0 && (!((a = t.children) != null && a.length) || ku(t.children));
25074
- }), sN = /* @__PURE__ */ oe({
25077
+ }), s6 = /* @__PURE__ */ oe({
25075
25078
  __name: "KTreeItem",
25076
25079
  props: {
25077
25080
  item: {
@@ -25104,19 +25107,19 @@ const aN = {
25104
25107
  type: "button",
25105
25108
  onClick: Ue(s, ["prevent"])
25106
25109
  }, [
25107
- i.value ? (h(), x("div", iN, [
25110
+ i.value ? (h(), x("div", i6, [
25108
25111
  W(l.$slots, "item-icon", {}, () => [
25109
25112
  V(I(tm), { decorative: "" })
25110
25113
  ], !0)
25111
25114
  ])) : H("", !0),
25112
- z("div", oN, [
25115
+ z("div", o6, [
25113
25116
  W(l.$slots, "item-label", {}, () => [
25114
25117
  de(ne(e.item.name), 1)
25115
25118
  ], !0)
25116
25119
  ])
25117
- ], 10, nN));
25120
+ ], 10, n6));
25118
25121
  }
25119
- }), lN = /* @__PURE__ */ De(sN, [["__scopeId", "data-v-f55bd189"]]), Cu = ({ children: e = [] }) => e.length === 0 ? 0 : 1 + Math.max(...e.map(Cu)), uN = /* @__PURE__ */ oe({
25122
+ }), l6 = /* @__PURE__ */ De(s6, [["__scopeId", "data-v-f55bd189"]]), Cu = ({ children: e = [] }) => e.length === 0 ? 0 : 1 + Math.max(...e.map(Cu)), u6 = /* @__PURE__ */ oe({
25120
25123
  __name: "KTreeDraggable",
25121
25124
  props: {
25122
25125
  items: {
@@ -25206,7 +25209,7 @@ const aN = {
25206
25209
  });
25207
25210
  }), (m, b) => {
25208
25211
  const S = Gt("KTreeDraggable", !0);
25209
- return h(), G(I(rN), qe(s, {
25212
+ return h(), G(I(r6), qe(s, {
25210
25213
  class: "tree-draggable",
25211
25214
  direction: "vertical",
25212
25215
  disabled: e.disableDrag,
@@ -25226,7 +25229,7 @@ const aN = {
25226
25229
  "has-no-children": o($)
25227
25230
  }])
25228
25231
  }, [
25229
- (h(), G(lN, {
25232
+ (h(), G(l6, {
25230
25233
  key: `tree-item-${$.id}-${n.value}`,
25231
25234
  disabled: e.disableDrag,
25232
25235
  "hide-icons": e.hideIcons,
@@ -25279,18 +25282,18 @@ const aN = {
25279
25282
  }, 16, ["disabled", "group", "level", "list"]);
25280
25283
  };
25281
25284
  }
25282
- }), cN = /* @__PURE__ */ De(uN, [["__scopeId", "data-v-ea953620"]]), Uh = (e, t) => (e.forEach((a) => {
25285
+ }), c6 = /* @__PURE__ */ De(u6, [["__scopeId", "data-v-ea953620"]]), Uh = (e, t) => (e.forEach((a) => {
25283
25286
  var r;
25284
25287
  t.push(a.id), (r = a.children) != null && r.length && Uh(a.children, t);
25285
- }), t), dN = (e) => {
25288
+ }), t), d6 = (e) => {
25286
25289
  const t = Uh(e, []), a = new Set(t);
25287
25290
  return t.length === a.size;
25288
- }, fN = (e, t) => {
25291
+ }, f6 = (e, t) => {
25289
25292
  let a = !0;
25290
25293
  return e.forEach((r) => {
25291
25294
  a = a && (!r.children || Cu(r) <= t);
25292
25295
  }), a;
25293
- }, Jf = (e) => ku(e) && dN(e), vN = /* @__PURE__ */ oe({
25296
+ }, Jf = (e) => ku(e) && d6(e), v6 = /* @__PURE__ */ oe({
25294
25297
  __name: "KTreeList",
25295
25298
  props: {
25296
25299
  modelValue: {
@@ -25355,7 +25358,7 @@ const aN = {
25355
25358
  v.children || (v.children = []);
25356
25359
  }));
25357
25360
  }), lt(() => {
25358
- a.modelValue && a.items && console.warn("KTreeList: You should not provide both v-model (or props.modelValue) and props.items"), a.modelValue ? n.value = a.modelValue : a.items && (n.value = a.items), fN(n.value, a.maxDepth) || console.warn("KTreeList: Provided list depth exceeds `maxDepth`"), n.value.forEach((d) => {
25361
+ a.modelValue && a.items && console.warn("KTreeList: You should not provide both v-model (or props.modelValue) and props.items"), a.modelValue ? n.value = a.modelValue : a.items && (n.value = a.items), f6(n.value, a.maxDepth) || console.warn("KTreeList: Provided list depth exceeds `maxDepth`"), n.value.forEach((d) => {
25359
25362
  d.children || (d.children = []);
25360
25363
  });
25361
25364
  }), (d, f) => (h(), x("div", {
@@ -25363,7 +25366,7 @@ const aN = {
25363
25366
  "data-testid": "k-tree-list",
25364
25367
  style: Ae(e.width ? l.value : void 0)
25365
25368
  }, [
25366
- V(cN, {
25369
+ V(c6, {
25367
25370
  "data-testid": `k-tree-list-${e.group}`,
25368
25371
  "disable-drag": e.disableDrag,
25369
25372
  group: e.group,
@@ -25389,7 +25392,7 @@ const aN = {
25389
25392
  ]), 1032, ["data-testid", "disable-drag", "group", "hide-icons", "items", "max-depth"])
25390
25393
  ], 4));
25391
25394
  }
25392
- }), pN = ["href"], hN = /* @__PURE__ */ oe({
25395
+ }), p6 = ["href"], h6 = /* @__PURE__ */ oe({
25393
25396
  __name: "KExternalLink",
25394
25397
  props: {
25395
25398
  href: {
@@ -25417,21 +25420,21 @@ const aN = {
25417
25420
  decorative: "",
25418
25421
  size: I(Da)
25419
25422
  }, null, 8, ["size"]))
25420
- ], 8, pN)) : H("", !0);
25423
+ ], 8, p6)) : H("", !0);
25421
25424
  }
25422
- }), gN = /* @__PURE__ */ De(hN, [["__scopeId", "data-v-949aad10"]]), mN = {
25425
+ }), g6 = /* @__PURE__ */ De(h6, [["__scopeId", "data-v-949aad10"]]), m6 = {
25423
25426
  key: 0,
25424
25427
  class: "truncate-expand-controls"
25425
- }, yN = {
25428
+ }, y6 = {
25426
25429
  key: 0,
25427
25430
  "data-testid": "expand-trigger-wrapper"
25428
- }, bN = ["aria-label"], wN = {
25431
+ }, b6 = ["aria-label"], w6 = {
25429
25432
  key: 0,
25430
25433
  "data-testid": "collapse-trigger-wrapper"
25431
- }, kN = {
25434
+ }, k6 = {
25432
25435
  key: 0,
25433
25436
  "data-testid": "expand-trigger-wrapper"
25434
- }, CN = { key: 1 }, SN = /* @__PURE__ */ oe({
25437
+ }, C6 = { key: 1 }, S6 = /* @__PURE__ */ oe({
25435
25438
  __name: "KTruncate",
25436
25439
  props: {
25437
25440
  rows: {
@@ -25497,8 +25500,8 @@ const aN = {
25497
25500
  class: ce(["k-truncate", [r.value ? "expanded" : "", `truncate-${e.truncateText ? "text" : "content"}`]]),
25498
25501
  style: Ae(k.value)
25499
25502
  }, [
25500
- !e.truncateText && n.value ? (h(), x("div", mN, [
25501
- r.value ? H("", !0) : (h(), x("div", yN, [
25503
+ !e.truncateText && n.value ? (h(), x("div", m6, [
25504
+ r.value ? H("", !0) : (h(), x("div", y6, [
25502
25505
  W(g.$slots, "expand-trigger", {
25503
25506
  expand: w,
25504
25507
  truncatedCount: d.value
@@ -25508,7 +25511,7 @@ const aN = {
25508
25511
  class: "expand-trigger",
25509
25512
  type: "button",
25510
25513
  onClick: Ue(w, ["stop"])
25511
- }, ne(d.value), 9, bN)
25514
+ }, ne(d.value), 9, b6)
25512
25515
  ], !0)
25513
25516
  ]))
25514
25517
  ])) : H("", !0),
@@ -25518,7 +25521,7 @@ const aN = {
25518
25521
  class: "truncate-container"
25519
25522
  }, [
25520
25523
  W(g.$slots, "default", {}, void 0, !0),
25521
- !e.truncateText && r.value ? (h(), x("div", wN, [
25524
+ !e.truncateText && r.value ? (h(), x("div", w6, [
25522
25525
  W(g.$slots, "collapse-trigger", { collapse: w }, () => [
25523
25526
  z("button", {
25524
25527
  "aria-label": "Collapse content",
@@ -25540,7 +25543,7 @@ const aN = {
25540
25543
  ref: o,
25541
25544
  class: "truncate-collapse-controls"
25542
25545
  }, [
25543
- r.value ? H("", !0) : (h(), x("div", kN, [
25546
+ r.value ? H("", !0) : (h(), x("div", k6, [
25544
25547
  W(g.$slots, "expand-trigger", { expand: w }, () => [
25545
25548
  V(b, {
25546
25549
  appearance: "tertiary",
@@ -25554,7 +25557,7 @@ const aN = {
25554
25557
  })
25555
25558
  ], !0)
25556
25559
  ])),
25557
- r.value ? (h(), x("div", CN, [
25560
+ r.value ? (h(), x("div", C6, [
25558
25561
  W(g.$slots, "collapse-trigger", { collapse: w }, () => [
25559
25562
  V(b, {
25560
25563
  appearance: "tertiary",
@@ -25572,10 +25575,10 @@ const aN = {
25572
25575
  ], 6);
25573
25576
  };
25574
25577
  }
25575
- }), $N = /* @__PURE__ */ De(SN, [["__scopeId", "data-v-a16a1149"]]), DN = { class: "k-copy" }, xN = {
25578
+ }), $6 = /* @__PURE__ */ De(S6, [["__scopeId", "data-v-a16a1149"]]), D6 = { class: "k-copy" }, x6 = {
25576
25579
  key: 0,
25577
25580
  class: "copy-badge-text"
25578
- }, TN = ["id", "aria-label", "onClick"], IN = /* @__PURE__ */ oe({
25581
+ }, T6 = ["id", "aria-label", "onClick"], I6 = /* @__PURE__ */ oe({
25579
25582
  __name: "KCopy",
25580
25583
  props: {
25581
25584
  /**
@@ -25687,8 +25690,8 @@ const aN = {
25687
25690
  v.value = Mr.create(k), v.value.observe(f.value);
25688
25691
  }), Jt(() => {
25689
25692
  v.value && v.value.unobserve(f.value);
25690
- }), (g, m) => (h(), x("div", DN, [
25691
- e.badge && e.badgeLabel ? (h(), x("span", xN, ne(e.badgeLabel), 1)) : H("", !0),
25693
+ }), (g, m) => (h(), x("div", D6, [
25694
+ e.badge && e.badgeLabel ? (h(), x("span", x6, ne(e.badgeLabel), 1)) : H("", !0),
25692
25695
  z("div", {
25693
25696
  class: ce(["copy-container", { "copy-element": e.truncate || e.badge, "badge-styles": e.badge }])
25694
25697
  }, [
@@ -25731,7 +25734,7 @@ const aN = {
25731
25734
  decorative: "",
25732
25735
  size: I(Da)
25733
25736
  }, null, 8, ["size"])
25734
- ], 8, TN)
25737
+ ], 8, T6)
25735
25738
  ]),
25736
25739
  _: 1
25737
25740
  })
@@ -25741,10 +25744,10 @@ const aN = {
25741
25744
  ], 2)
25742
25745
  ]));
25743
25746
  }
25744
- }), AN = /* @__PURE__ */ De(IN, [["__scopeId", "data-v-5efb0d28"]]), MN = {
25747
+ }), A6 = /* @__PURE__ */ De(I6, [["__scopeId", "data-v-5efb0d28"]]), M6 = {
25745
25748
  key: 0,
25746
25749
  class: "bulk-actions-dropdown-trigger-count"
25747
- }, ON = /* @__PURE__ */ oe({
25750
+ }, O6 = /* @__PURE__ */ oe({
25748
25751
  __name: "BulkActionsDropdown",
25749
25752
  props: {
25750
25753
  disabled: {
@@ -25792,7 +25795,7 @@ const aN = {
25792
25795
  }),
25793
25796
  V(ra, { name: "kongponents-fade-transition" }, {
25794
25797
  default: E(() => [
25795
- e.count ? (h(), x("span", MN, ne(e.count), 1)) : H("", !0)
25798
+ e.count ? (h(), x("span", M6, ne(e.count), 1)) : H("", !0)
25796
25799
  ]),
25797
25800
  _: 1
25798
25801
  })
@@ -25806,28 +25809,28 @@ const aN = {
25806
25809
  _: 3
25807
25810
  }, 8, ["disabled"]));
25808
25811
  }
25809
- }), EN = /* @__PURE__ */ De(ON, [["__scopeId", "data-v-ca642050"]]), PN = {
25812
+ }), E6 = /* @__PURE__ */ De(O6, [["__scopeId", "data-v-ca642050"]]), P6 = {
25810
25813
  key: 0,
25811
25814
  class: "table-toolbar",
25812
25815
  "data-testid": "table-toolbar"
25813
- }, NN = {
25816
+ }, N6 = {
25814
25817
  key: 0,
25815
25818
  class: "toolbar-default-items-container"
25816
- }, LN = {
25819
+ }, L6 = {
25817
25820
  key: 2,
25818
25821
  class: "table-error-state",
25819
25822
  "data-testid": "table-error-state"
25820
- }, BN = {
25823
+ }, B6 = {
25821
25824
  key: 3,
25822
25825
  class: "table-empty-state",
25823
25826
  "data-testid": "table-empty-state"
25824
- }, _N = { key: 4 }, RN = ["data-tableid"], FN = ["aria-sort", "data-key", "data-testid", "onClick", "onMouseover"], YN = ["onMousedown", "onMouseover"], zN = ["aria-describedby"], qN = {
25827
+ }, _6 = { key: 4 }, R6 = ["data-tableid"], F6 = ["aria-sort", "data-key", "data-testid", "onClick", "onMouseover"], Y6 = ["onMousedown", "onMouseover"], z6 = ["aria-describedby"], q6 = {
25825
25828
  key: 1,
25826
25829
  class: "table-header-bulk-actions-container"
25827
- }, HN = ["onMousedown", "onMouseover"], WN = ["role", "tabindex"], UN = {
25830
+ }, H6 = ["onMousedown", "onMouseover"], W6 = ["role", "tabindex"], U6 = {
25828
25831
  key: 1,
25829
25832
  class: "expandable-row-control-container"
25830
- }, VN = ["aria-controls", "aria-expanded", "onClick"], KN = ["id"], jN = ["colspan"], GN = { class: "expandable-content-wrapper" }, QN = /* @__PURE__ */ oe({
25833
+ }, V6 = ["aria-controls", "aria-expanded", "onClick"], K6 = ["id"], j6 = ["colspan"], G6 = { class: "expandable-content-wrapper" }, Q6 = /* @__PURE__ */ oe({
25831
25834
  __name: "KTableView",
25832
25835
  props: {
25833
25836
  data: { default: () => [] },
@@ -26098,14 +26101,14 @@ const aN = {
26098
26101
  }), (C, O) => (h(), x("div", {
26099
26102
  class: ce(["k-table-view", { "hide-headers": C.hideHeaders }])
26100
26103
  }, [
26101
- q.value ? (h(), x("div", PN, [
26104
+ q.value ? (h(), x("div", P6, [
26102
26105
  W(C.$slots, "toolbar", {}, void 0, !0),
26103
- U.value || k.value ? (h(), x("div", NN, [
26106
+ U.value || k.value ? (h(), x("div", N6, [
26104
26107
  U.value ? W(C.$slots, "bulk-actions", {
26105
26108
  key: 0,
26106
26109
  selectedRows: P.value
26107
26110
  }, () => [
26108
- C.$slots["bulk-actions"] ? H("", !0) : (h(), G(EN, {
26111
+ C.$slots["bulk-actions"] ? H("", !0) : (h(), G(E6, {
26109
26112
  key: 0,
26110
26113
  "button-label": c.value.find((N) => N.key === I(Je).BULK_ACTIONS).label,
26111
26114
  count: ae.value,
@@ -26131,7 +26134,7 @@ const aN = {
26131
26134
  key: 1,
26132
26135
  "data-testid": "table-skeleton",
26133
26136
  type: "table"
26134
- })) : C.error ? (h(), x("div", LN, [
26137
+ })) : C.error ? (h(), x("div", L6, [
26135
26138
  W(C.$slots, "error-state", {}, () => [
26136
26139
  V($r, {
26137
26140
  "icon-variant": "error",
@@ -26156,7 +26159,7 @@ const aN = {
26156
26159
  } : void 0
26157
26160
  ]), 1032, ["message", "title"])
26158
26161
  ], !0)
26159
- ])) : !C.error && !C.loading && C.data && !C.data.length ? (h(), x("div", BN, [
26162
+ ])) : !C.error && !C.loading && C.data && !C.data.length ? (h(), x("div", B6, [
26160
26163
  W(C.$slots, "empty-state", {}, () => [
26161
26164
  V($r, {
26162
26165
  "icon-variant": C.emptyStateIconVariant,
@@ -26183,7 +26186,7 @@ const aN = {
26183
26186
  } : void 0
26184
26187
  ]), 1032, ["icon-variant", "message", "title"])
26185
26188
  ], !0)
26186
- ])) : (h(), x("div", _N, [
26189
+ ])) : (h(), x("div", _6, [
26187
26190
  z("div", {
26188
26191
  class: "table-wrapper",
26189
26192
  style: Ae(F.value),
@@ -26224,7 +26227,7 @@ const aN = {
26224
26227
  onMousedown: (ue) => it(ue, d.value[re - 1].key),
26225
26228
  onMouseleave: O[4] || (O[4] = (ue) => v.value = ""),
26226
26229
  onMouseover: (ue) => v.value = d.value[re - 1].key
26227
- }, null, 40, YN)) : H("", !0),
26230
+ }, null, 40, Y6)) : H("", !0),
26228
26231
  z("div", {
26229
26232
  "aria-describedby": N.tooltip || C.$slots[Y(N.key)] ? `${Y(N.key)}-${I(s)}` : void 0,
26230
26233
  class: ce(["table-headers-container", { resized: f.value === N.key }])
@@ -26238,7 +26241,7 @@ const aN = {
26238
26241
  "sr-only": N.hideLabel || N.key === I(Je).ACTIONS && N.hideLabel !== !1
26239
26242
  }])
26240
26243
  }, ne(N.label ? N.label : N.key), 3)
26241
- ], !0) : (h(), x("div", qN, [
26244
+ ], !0) : (h(), x("div", q6, [
26242
26245
  V(ko, {
26243
26246
  modelValue: Et.value,
26244
26247
  "onUpdate:modelValue": O[5] || (O[5] = (ue) => Et.value = ue),
@@ -26278,7 +26281,7 @@ const aN = {
26278
26281
  color: `var(--kui-color-text-neutral, ${I(Ia)})`,
26279
26282
  size: I(Da)
26280
26283
  }, null, 8, ["color", "size"])) : H("", !0)
26281
- ], 10, zN),
26284
+ ], 10, z6),
26282
26285
  C.resizeColumns && !C.nested && re !== d.value.length - 1 ? (h(), x("div", {
26283
26286
  key: 1,
26284
26287
  class: "resize-handle",
@@ -26287,8 +26290,8 @@ const aN = {
26287
26290
  onMousedown: (ue) => it(ue, N.key),
26288
26291
  onMouseleave: O[7] || (O[7] = (ue) => v.value = ""),
26289
26292
  onMouseover: (ue) => v.value = N.key
26290
- }, null, 40, HN)) : H("", !0)
26291
- ], 46, FN))), 128))
26293
+ }, null, 40, H6)) : H("", !0)
26294
+ ], 46, F6))), 128))
26292
26295
  ], 2)
26293
26296
  ], 2)),
26294
26297
  z("tbody", null, [
@@ -26375,7 +26378,7 @@ const aN = {
26375
26378
  }, 1024)) : H("", !0)
26376
26379
  ]),
26377
26380
  _: 2
26378
- }, 1040)) : C.rowExpandable(N) ? (h(), x("div", UN, [
26381
+ }, 1040)) : C.rowExpandable(N) ? (h(), x("div", U6, [
26379
26382
  z("button", {
26380
26383
  "aria-controls": `table-${I(s)}-row-${re}-expandable-content`,
26381
26384
  "aria-expanded": Ye.value.includes(re),
@@ -26386,10 +26389,10 @@ const aN = {
26386
26389
  onClick: (Ee) => Ct(re, N)
26387
26390
  }, [
26388
26391
  V(I(dv), { class: "expandable-row-control-icon" })
26389
- ], 10, VN)
26392
+ ], 10, V6)
26390
26393
  ])) : H("", !0)
26391
26394
  ], 16))), 128))
26392
- ], 16, WN),
26395
+ ], 16, W6),
26393
26396
  Q.value && C.rowExpandable(N) ? ei((h(), x("tr", {
26394
26397
  key: 0,
26395
26398
  id: `table-${I(s)}-row-${re}-expandable-content`,
@@ -26399,20 +26402,20 @@ const aN = {
26399
26402
  z("td", {
26400
26403
  colspan: d.value.length
26401
26404
  }, [
26402
- z("div", GN, [
26405
+ z("div", G6, [
26403
26406
  W(C.$slots, "row-expanded", {
26404
26407
  columnWidths: St.value,
26405
26408
  nestedHeaders: Mt.value,
26406
26409
  row: se(N)
26407
26410
  }, void 0, !0)
26408
26411
  ])
26409
- ], 8, jN)
26410
- ], 8, KN)), [
26412
+ ], 8, j6)
26413
+ ], 8, K6)), [
26411
26414
  [Sl, Ye.value.includes(re)]
26412
26415
  ]) : H("", !0)
26413
26416
  ], 64))), 128))
26414
26417
  ])
26415
- ], 10, RN)
26418
+ ], 10, R6)
26416
26419
  ], 36),
26417
26420
  j.value ? (h(), G(rs, qe({
26418
26421
  key: 0,
@@ -26427,7 +26430,7 @@ const aN = {
26427
26430
  ]))
26428
26431
  ], 2));
26429
26432
  }
26430
- }), Vh = /* @__PURE__ */ De(QN, [["__scopeId", "data-v-a384571a"]]), ZN = /* @__PURE__ */ oe({
26433
+ }), Vh = /* @__PURE__ */ De(Q6, [["__scopeId", "data-v-a384571a"]]), Z6 = /* @__PURE__ */ oe({
26431
26434
  __name: "KTableData",
26432
26435
  props: {
26433
26436
  fetcher: {},
@@ -26727,13 +26730,13 @@ const aN = {
26727
26730
  KCodeBlockIconButton: Wr,
26728
26731
  KCollapse: _b,
26729
26732
  KComponent: rg,
26730
- KCopy: AN,
26733
+ KCopy: A6,
26731
26734
  KDateTimePicker: n7,
26732
26735
  KDropdown: tn,
26733
26736
  KDropdownItem: _l,
26734
26737
  KDropdownMenu: tn,
26735
26738
  KEmptyState: $r,
26736
- KExternalLink: gN,
26739
+ KExternalLink: g6,
26737
26740
  KFileUpload: s7,
26738
26741
  KInput: ur,
26739
26742
  KInputSwitch: f7,
@@ -26752,16 +26755,16 @@ const aN = {
26752
26755
  KSlideout: IP,
26753
26756
  KStepper: LP,
26754
26757
  KTable: XP,
26755
- KTableData: ZN,
26758
+ KTableData: Z6,
26756
26759
  KTableView: Vh,
26757
- KTabs: n6,
26758
- KTextArea: l6,
26760
+ KTabs: nN,
26761
+ KTextArea: lN,
26759
26762
  KToaster: Oh,
26760
26763
  KToggle: Zo,
26761
26764
  KTooltip: da,
26762
- KTreeList: vN,
26763
- KTruncate: $N,
26764
- ToastManager: m6
26765
+ KTreeList: v6,
26766
+ KTruncate: $6,
26767
+ ToastManager: mN
26765
26768
  }, Symbol.toStringTag, { value: "Module" })), tL = {
26766
26769
  install: (e) => {
26767
26770
  for (const t in ev)
@@ -26790,13 +26793,13 @@ export {
26790
26793
  Wr as KCodeBlockIconButton,
26791
26794
  _b as KCollapse,
26792
26795
  rg as KComponent,
26793
- AN as KCopy,
26796
+ A6 as KCopy,
26794
26797
  n7 as KDateTimePicker,
26795
26798
  tn as KDropdown,
26796
26799
  _l as KDropdownItem,
26797
26800
  tn as KDropdownMenu,
26798
26801
  $r as KEmptyState,
26799
- gN as KExternalLink,
26802
+ g6 as KExternalLink,
26800
26803
  s7 as KFileUpload,
26801
26804
  ur as KInput,
26802
26805
  f7 as KInputSwitch,
@@ -26815,15 +26818,15 @@ export {
26815
26818
  IP as KSlideout,
26816
26819
  LP as KStepper,
26817
26820
  XP as KTable,
26818
- ZN as KTableData,
26821
+ Z6 as KTableData,
26819
26822
  Vh as KTableView,
26820
- n6 as KTabs,
26821
- l6 as KTextArea,
26823
+ nN as KTabs,
26824
+ lN as KTextArea,
26822
26825
  Oh as KToaster,
26823
26826
  Zo as KToggle,
26824
26827
  da as KTooltip,
26825
- vN as KTreeList,
26826
- $N as KTruncate,
26828
+ v6 as KTreeList,
26829
+ $6 as KTruncate,
26827
26830
  eL as MethodsArray,
26828
26831
  lg as ModeArray,
26829
26832
  ug as ModeArrayCustom,
@@ -26838,7 +26841,7 @@ export {
26838
26841
  mg as StepperStateArray,
26839
26842
  Je as TableViewHeaderKeys,
26840
26843
  Rn as TimepickerMode,
26841
- m6 as ToastManager,
26844
+ mN as ToastManager,
26842
26845
  lv as ToasterAppearances,
26843
26846
  sg as TriggerAlignmentArray,
26844
26847
  ev as components,