@kong/kongponents 9.35.4 → 9.35.5-pr.2805.04dbddeb3.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 h1 = Object.defineProperty;
2
2
  var g1 = (e, t, a) => t in e ? h1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var Ua = (e, t, a) => g1(e, typeof t != "symbol" ? t + "" : t, a);
4
- import { defineComponent as le, renderSlot as V, reactive as Yr, ref as N, computed as b, createBlock as ee, openBlock as y, resolveDynamicComponent as He, normalizeStyle as Me, withCtx as P, createElementBlock as T, normalizeClass as de, createCommentVNode as U, createElementVNode as H, unref as A, toDisplayString as re, withKeys as ut, withModifiers as Ke, shallowRef as Yp, watch as ue, getCurrentScope as Hp, onScopeDispose as qp, shallowReadonly as sr, useSlots as Dt, useAttrs as Jt, onMounted as rt, mergeProps as Ye, toHandlers as Ms, Teleport as m1, toValue as wn, getCurrentInstance as Wp, useId as $t, onBeforeUnmount as rn, createVNode as j, createTextVNode as we, Transition as oa, withDirectives as Za, vShow as Er, useCssVars as Rt, nextTick as ht, Fragment as Ae, renderList as Re, onUnmounted as Fa, isReadonly as y1, toRefs as _p, watchEffect as wu, createSlots as mt, isVNode as Up, useTemplateRef as St, normalizeProps as na, inject as xi, toRef as Lo, provide as Mi, guardReactiveProps as Da, isRef as pr, resolveComponent as Ht, resolveDirective as b1, warn as w1, Comment as C1, cloneVNode as k1, onBeforeMount as $1, TransitionGroup as S1, render as Ed, h as xd, createPropsRestProxy as Kp, mergeModels as Md, useModel as T1, vModelText as D1 } from "vue";
4
+ import { defineComponent as le, renderSlot as K, reactive as Yr, ref as N, useSlots as St, createCommentVNode as U, computed as b, createBlock as ee, openBlock as y, resolveDynamicComponent as He, normalizeStyle as Me, withCtx as P, createElementBlock as T, normalizeClass as de, createElementVNode as H, unref as A, toDisplayString as re, withKeys as ut, withModifiers as Ke, shallowRef as Yp, watch as ue, getCurrentScope as Hp, onScopeDispose as qp, shallowReadonly as sr, useAttrs as Jt, onMounted as rt, mergeProps as Ye, toHandlers as Ms, Teleport as m1, toValue as wn, getCurrentInstance as Wp, useId as $t, onBeforeUnmount as rn, createVNode as j, createTextVNode as we, Transition as oa, withDirectives as Za, vShow as Er, useCssVars as Rt, nextTick as ht, Fragment as Ae, renderList as Re, onUnmounted as Fa, isReadonly as y1, toRefs as _p, watchEffect as wu, createSlots as mt, isVNode as Up, useTemplateRef as Tt, normalizeProps as na, inject as xi, toRef as Lo, provide as Mi, guardReactiveProps as Da, isRef as pr, resolveComponent as Ht, resolveDirective as b1, warn as w1, Comment as C1, cloneVNode as k1, onBeforeMount as $1, TransitionGroup as S1, render as Ed, h as xd, createPropsRestProxy as Kp, mergeModels as Md, useModel as T1, vModelText as D1 } from "vue";
5
5
  async function Vp(e) {
6
6
  var n, r;
7
7
  if (navigator.clipboard)
@@ -25,7 +25,7 @@ const jp = /* @__PURE__ */ le({
25
25
  __name: "KClipboardProvider",
26
26
  setup(e) {
27
27
  const t = (a = "") => Vp(a);
28
- return (a, n) => V(a.$slots, "default", { copyToClipboard: t });
28
+ return (a, n) => K(a.$slots, "default", { copyToClipboard: t });
29
29
  }
30
30
  }), A1 = le({
31
31
  name: "KComponent",
@@ -42,39 +42,32 @@ const jp = /* @__PURE__ */ le({
42
42
  data: a
43
43
  });
44
44
  }
45
- }), Os = le({
46
- name: "KToggle",
45
+ }), Os = /* @__PURE__ */ le({
46
+ __name: "KToggle",
47
47
  props: {
48
- toggled: {
49
- type: Boolean,
50
- default: !1
51
- }
48
+ toggled: { type: Boolean }
52
49
  },
53
50
  emits: ["toggled"],
54
- setup(e, { slots: t, emit: a }) {
55
- const n = N(e.toggled), r = () => {
51
+ setup(e, { emit: t }) {
52
+ const a = t, n = N(e.toggled), r = [n], i = () => {
56
53
  n.value = !n.value, a("toggled", n.value);
57
54
  };
58
- try {
59
- if (!t.default)
60
- throw new Error("KToggle expects slot content");
61
- return () => (t == null ? void 0 : t.default) && t.default({
62
- isToggled: n,
63
- toggle: r
64
- });
65
- } catch {
66
- return console.error(`KToggle expects to have slot content.
55
+ return St().default || console.error(`KToggle expects to have slot content.
67
56
 
68
- Example usage:
57
+ Example usage:
69
58
 
70
- <KToggle>
71
- <button #default="{isToggled, toggle}" @click="toggle">
72
- {{ isToggled ? 'hello' : 'goodbye' }}
73
- </button>
74
- ^^------add slotted content
75
- </KToggle>
76
- `), () => null;
77
- }
59
+ <KToggle>
60
+ <template #default="{ isToggled, toggle }">
61
+ <button @click="toggle">
62
+ {{ isToggled ? 'hello' : 'goodbye' }}
63
+ </button>
64
+ </template>
65
+ </KToggle>
66
+ `), (u, l) => u.$slots.default ? K(u.$slots, "default", {
67
+ key: 0,
68
+ isToggled: r[0],
69
+ toggle: i
70
+ }) : U("", !0);
78
71
  }
79
72
  }), Qr = {
80
73
  info: "info",
@@ -3648,7 +3641,7 @@ const Qp = {
3648
3641
  class: de(["k-alert", [r.appearance]])
3649
3642
  }, [
3650
3643
  r.showIcon || r.$slots.icon ? (y(), T("div", Ly, [
3651
- V(r.$slots, "icon", {}, () => [
3644
+ K(r.$slots, "icon", {}, () => [
3652
3645
  (y(), ee(He(n.value), {
3653
3646
  class: "alert-icon",
3654
3647
  decorative: "",
@@ -3659,7 +3652,7 @@ const Qp = {
3659
3652
  H("div", By, [
3660
3653
  r.title ? (y(), T("span", Ry, re(r.title), 1)) : U("", !0),
3661
3654
  r.message || r.$slots.default ? (y(), T("div", Fy, [
3662
- V(r.$slots, "default", {}, () => [
3655
+ K(r.$slots, "default", {}, () => [
3663
3656
  H("p", null, re(r.message), 1)
3664
3657
  ])
3665
3658
  ])) : U("", !0)
@@ -4067,7 +4060,7 @@ const Zy = function(e) {
4067
4060
  switch (v) {
4068
4061
  case "bestFit": {
4069
4062
  var L;
4070
- const D = (L = Y.map((B) => [B.placement, B.overflows.filter((Z) => Z > 0).reduce((Z, K) => Z + K, 0)]).sort((B, Z) => B[1] - Z[1])[0]) == null ? void 0 : L[0];
4063
+ const D = (L = Y.map((B) => [B.placement, B.overflows.filter((Z) => Z > 0).reduce((Z, V) => Z + V, 0)]).sort((B, Z) => B[1] - Z[1])[0]) == null ? void 0 : L[0];
4071
4064
  D && (M = D);
4072
4065
  break;
4073
4066
  }
@@ -4732,7 +4725,7 @@ const Ab = {
4732
4725
  ue(() => e.icon, (s) => {
4733
4726
  typeof s == "string" && console.warn("KButton: `icon` prop usage has changed. Please refer to the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#kbutton");
4734
4727
  }, { immediate: !0 });
4735
- const t = Dt(), a = Jt(), n = b(() => e.to && typeof e.to == "string" ? "a" : e.to ? "router-link" : "button"), r = b(() => Object.values(I1).indexOf(e.appearance) === -1 ? ["primary", e.appearance] : e.appearance), i = b(() => e.appearance === "none" && !e.icon ? null : e.size), o = b(() => {
4728
+ const t = St(), a = Jt(), n = b(() => e.to && typeof e.to == "string" ? "a" : e.to ? "router-link" : "button"), r = b(() => Object.values(I1).indexOf(e.appearance) === -1 ? ["primary", e.appearance] : e.appearance), i = b(() => e.appearance === "none" && !e.icon ? null : e.size), o = b(() => {
4736
4729
  const s = Object.assign({}, a);
4737
4730
  return e.to && (typeof e.to == "string" ? s.href = e.to : s.to = e.to, e.disabled && (s.href = null)), e.disabled !== void 0 && e.disabled !== !1 || delete s.disabled, s;
4738
4731
  }), u = (s) => {
@@ -4752,8 +4745,8 @@ const Ab = {
4752
4745
  type: s.type
4753
4746
  }, o.value, Ms(l.value)), {
4754
4747
  default: P(() => [
4755
- V(s.$slots, "icon", {}, void 0, !0),
4756
- V(s.$slots, "default", {}, void 0, !0)
4748
+ K(s.$slots, "icon", {}, void 0, !0),
4749
+ K(s.$slots, "default", {}, void 0, !0)
4757
4750
  ]),
4758
4751
  _: 3
4759
4752
  }, 16, ["class", "disabled", "tabindex", "type"]));
@@ -4769,8 +4762,8 @@ const Ab = {
4769
4762
  key: 0,
4770
4763
  to: t.target
4771
4764
  }, [
4772
- V(t.$slots, "default")
4773
- ], 8, ["to"])) : V(t.$slots, "default", { key: 1 });
4765
+ K(t.$slots, "default")
4766
+ ], 8, ["to"])) : K(t.$slots, "default", { key: 1 });
4774
4767
  }
4775
4768
  });
4776
4769
  function ph(e) {
@@ -4962,7 +4955,7 @@ function Yb(e = {}) {
4962
4955
  selection: a
4963
4956
  };
4964
4957
  }
4965
- const Tt = (e) => {
4958
+ const Dt = (e) => {
4966
4959
  const t = Number(e);
4967
4960
  return Number.isNaN(t) ? `${e}` : `${t}px`;
4968
4961
  }, Hb = ["id", "aria-labelledby", "x-placement"], qb = ["tabindex"], Wb = {
@@ -4994,7 +4987,7 @@ const Tt = (e) => {
4994
4987
  },
4995
4988
  emits: ["open", "close", "popover-click"],
4996
4989
  setup(e, { expose: t, emit: a }) {
4997
- const n = a, r = Dt(), i = $t(), o = $t(), u = N(null), l = N(null), s = N(null), c = N(!1), d = b(() => {
4990
+ const n = a, r = St(), i = $t(), o = $t(), u = N(null), l = N(null), s = N(null), c = N(!1), d = b(() => {
4998
4991
  var $, M;
4999
4992
  return l.value && (($ = l.value) != null && $.children[0]) ? (M = l.value) == null ? void 0 : M.children[0] : null;
5000
4993
  }), f = N(null), v = () => {
@@ -5010,9 +5003,9 @@ const Tt = (e) => {
5010
5003
  h(), c.value = !1;
5011
5004
  }, e.trigger === "hover" ? e.popoverTimeout : 0);
5012
5005
  }, w = ($) => {
5013
- var D, B, Z, K, ae;
5006
+ var D, B, Z, V, ae;
5014
5007
  const M = $.target;
5015
- (D = d.value) != null && D.contains(M) && !((B = s.value) != null && B.contains(M)) ? v() : (Z = s.value) != null && Z.contains(M) && !((K = l.value) != null && K.contains(M)) ? (e.closeOnPopoverClick && p(), n("popover-click")) : c.value && !((ae = u.value) != null && ae.contains(M)) && p();
5008
+ (D = d.value) != null && D.contains(M) && !((B = s.value) != null && B.contains(M)) ? v() : (Z = s.value) != null && Z.contains(M) && !((V = l.value) != null && V.contains(M)) ? (e.closeOnPopoverClick && p(), n("popover-click")) : c.value && !((ae = u.value) != null && ae.contains(M)) && p();
5016
5009
  }, C = b(() => e.placement.trim().replace(/ /g, "-").replace(/[A-Z]+(?![a-z])|[A-Z]/g, ($, M) => (M ? "-" : "") + $.toLowerCase()).replace(/--+/g, "-").replace(/-+$/g, "")), { floatingStyles: k, placement: S, update: I } = Db(d, s, {
5017
5010
  ...C.value === "auto" && { middleware: [Cb()] },
5018
5011
  // when placement is auto just use autoPlacement middleware
@@ -5027,7 +5020,7 @@ const Tt = (e) => {
5027
5020
  },
5028
5021
  strategy: "fixed",
5029
5022
  transform: !1
5030
- }), x = b(() => Tt(e.offset)), Y = b(() => S.value.includes("top") ? {
5023
+ }), x = b(() => Dt(e.offset)), Y = b(() => S.value.includes("top") ? {
5031
5024
  marginBottom: x.value
5032
5025
  } : S.value.includes("bottom") ? {
5033
5026
  marginTop: x.value
@@ -5040,9 +5033,9 @@ const Tt = (e) => {
5040
5033
  zIndex: e.zIndex
5041
5034
  })), q = b(() => ({
5042
5035
  ...Y.value,
5043
- width: Tt(e.width),
5044
- maxWidth: Tt(e.maxWidth),
5045
- maxHeight: Tt(e.maxHeight)
5036
+ width: Dt(e.width),
5037
+ maxWidth: Dt(e.maxWidth),
5038
+ maxHeight: Dt(e.maxHeight)
5046
5039
  })), L = b(() => [e.popoverClasses, { "hide-caret": e.hideCaret }]), O = N();
5047
5040
  return t({
5048
5041
  hidePopover: p,
@@ -5073,7 +5066,7 @@ const Tt = (e) => {
5073
5066
  ref: l,
5074
5067
  class: "popover-trigger-wrapper"
5075
5068
  }, [
5076
- V($.$slots, "default", {}, () => [
5069
+ K($.$slots, "default", {}, () => [
5077
5070
  j(nt, {
5078
5071
  "aria-controls": A(i),
5079
5072
  "data-testid": "popover-button"
@@ -5127,7 +5120,7 @@ const Tt = (e) => {
5127
5120
  id: A(o),
5128
5121
  class: de(["popover-title", { "close-icon-spacing": !$.hideCloseIcon }])
5129
5122
  }, [
5130
- V($.$slots, "title", {}, () => [
5123
+ K($.$slots, "title", {}, () => [
5131
5124
  we(re($.title), 1)
5132
5125
  ], !0)
5133
5126
  ], 10, _b)) : U("", !0)
@@ -5135,10 +5128,10 @@ const Tt = (e) => {
5135
5128
  H("div", {
5136
5129
  class: de(["popover-content", { "close-icon-spacing": !$.hideCloseIcon && !(r.title || $.title) }])
5137
5130
  }, [
5138
- V($.$slots, "content", {}, void 0, !0)
5131
+ K($.$slots, "content", {}, void 0, !0)
5139
5132
  ], 2),
5140
5133
  r.footer ? (y(), T("div", Ub, [
5141
- V($.$slots, "footer", {}, void 0, !0)
5134
+ K($.$slots, "footer", {}, void 0, !0)
5142
5135
  ])) : U("", !0)
5143
5136
  ], 4)
5144
5137
  ], 14, Hb), [
@@ -5168,7 +5161,7 @@ const Tt = (e) => {
5168
5161
  disabled: { type: Boolean }
5169
5162
  },
5170
5163
  setup(e) {
5171
- const t = Dt(), a = b(() => !e.disabled && (!!e.text || !!e.label || !!t.content)), n = $t();
5164
+ const t = St(), a = b(() => !e.disabled && (!!e.text || !!e.label || !!t.content)), n = $t();
5172
5165
  return (r, i) => a.value ? (y(), ee(Jn, Ye({
5173
5166
  key: 0,
5174
5167
  "hide-caret": "",
@@ -5187,7 +5180,7 @@ const Tt = (e) => {
5187
5180
  id: r.tooltipId || A(n),
5188
5181
  role: "tooltip"
5189
5182
  }, [
5190
- V(r.$slots, "content", {
5183
+ K(r.$slots, "content", {
5191
5184
  label: r.text || r.label
5192
5185
  }, () => [
5193
5186
  we(re(r.text || r.label), 1)
@@ -5195,10 +5188,10 @@ const Tt = (e) => {
5195
5188
  ], 8, Vb)
5196
5189
  ]),
5197
5190
  default: P(() => [
5198
- V(r.$slots, "default")
5191
+ K(r.$slots, "default")
5199
5192
  ]),
5200
5193
  _: 3
5201
- }, 16, ["max-width", "offset", "placement", "z-index"])) : V(r.$slots, "default", { key: 1 });
5194
+ }, 16, ["max-width", "offset", "placement", "z-index"])) : K(r.$slots, "default", { key: 1 });
5202
5195
  }
5203
5196
  }), jb = ["tabindex"], Gb = /* @__PURE__ */ le({
5204
5197
  __name: "KBadge",
@@ -5214,7 +5207,7 @@ const Tt = (e) => {
5214
5207
  Rt((u) => ({
5215
5208
  "5ee2d747": r.value
5216
5209
  }));
5217
- const t = b(() => Object.keys(Gp).includes(e.appearance)), a = N(), n = N(!1), r = b(() => Tt(e.maxWidth)), i = async () => {
5210
+ const t = b(() => Object.keys(Gp).includes(e.appearance)), a = N(), n = N(!1), r = b(() => Dt(e.maxWidth)), i = async () => {
5218
5211
  var u, l;
5219
5212
  a.value && (await ht(), n.value = ((u = a.value) == null ? void 0 : u.offsetWidth) < ((l = a.value) == null ? void 0 : l.scrollWidth));
5220
5213
  }, o = b(() => e.tooltip ? e.truncationTooltip ? n.value : !0 : !1);
@@ -5231,13 +5224,13 @@ const Tt = (e) => {
5231
5224
  class: de(["badge-content", { "icon-after": !u.iconBefore }]),
5232
5225
  tabindex: o.value ? 0 : void 0
5233
5226
  }, [
5234
- u.$slots.icon ? V(u.$slots, "icon", { key: 0 }, void 0, !0) : U("", !0),
5227
+ u.$slots.icon ? K(u.$slots, "icon", { key: 0 }, void 0, !0) : U("", !0),
5235
5228
  H("div", {
5236
5229
  ref_key: "badgeTextElement",
5237
5230
  ref: a,
5238
5231
  class: "badge-content-wrapper"
5239
5232
  }, [
5240
- V(u.$slots, "default", {}, void 0, !0)
5233
+ K(u.$slots, "default", {}, void 0, !0)
5241
5234
  ], 512)
5242
5235
  ], 10, jb)
5243
5236
  ]),
@@ -5290,18 +5283,18 @@ const Tt = (e) => {
5290
5283
  }), {
5291
5284
  default: P(() => [
5292
5285
  n.$slots[`icon-${a(i, o)}`] ? (y(), T("span", Qb, [
5293
- V(n.$slots, `icon-${a(i, o)}`, {}, void 0, !0)
5286
+ K(n.$slots, `icon-${a(i, o)}`, {}, void 0, !0)
5294
5287
  ])) : U("", !0),
5295
5288
  i.text ? (y(), T("span", {
5296
5289
  key: 1,
5297
5290
  class: "breadcrumbs-text",
5298
- style: Me({ maxWidth: A(Tt)(i.maxWidth ?? n.itemMaxWidth) })
5291
+ style: Me({ maxWidth: A(Dt)(i.maxWidth ?? n.itemMaxWidth) })
5299
5292
  }, re(i.text), 5)) : U("", !0)
5300
5293
  ]),
5301
5294
  _: 2
5302
5295
  }, 1040, ["class"])),
5303
5296
  o < n.items.length - 1 ? (y(), T("span", Zb, [
5304
- V(n.$slots, "divider", {}, () => [
5297
+ K(n.$slots, "divider", {}, () => [
5305
5298
  r[0] || (r[0] = we(" / "))
5306
5299
  ], !0)
5307
5300
  ])) : U("", !0)
@@ -5327,7 +5320,7 @@ const Tt = (e) => {
5327
5320
  titleTag: { default: "div" }
5328
5321
  },
5329
5322
  setup(e) {
5330
- const t = Dt(), a = b(() => !!(t.title || e.title || t.actions));
5323
+ const t = St(), a = b(() => !!(t.title || e.title || t.actions));
5331
5324
  return (n, r) => (y(), T("div", e0, [
5332
5325
  a.value ? (y(), T("div", t0, [
5333
5326
  t.title || n.title ? (y(), ee(He(n.titleTag), {
@@ -5335,21 +5328,21 @@ const Tt = (e) => {
5335
5328
  class: "card-title"
5336
5329
  }, {
5337
5330
  default: P(() => [
5338
- V(n.$slots, "title", {}, () => [
5331
+ K(n.$slots, "title", {}, () => [
5339
5332
  we(re(n.title), 1)
5340
5333
  ], !0)
5341
5334
  ]),
5342
5335
  _: 3
5343
5336
  })) : U("", !0),
5344
5337
  t.actions ? (y(), T("div", a0, [
5345
- V(n.$slots, "actions", {}, void 0, !0)
5338
+ K(n.$slots, "actions", {}, void 0, !0)
5346
5339
  ])) : U("", !0)
5347
5340
  ])) : U("", !0),
5348
5341
  t.default ? (y(), T("div", n0, [
5349
- V(n.$slots, "default", {}, void 0, !0)
5342
+ K(n.$slots, "default", {}, void 0, !0)
5350
5343
  ])) : U("", !0),
5351
5344
  t.footer ? (y(), T("div", r0, [
5352
- V(n.$slots, "footer", {}, void 0, !0)
5345
+ K(n.$slots, "footer", {}, void 0, !0)
5353
5346
  ])) : U("", !0)
5354
5347
  ]));
5355
5348
  }
@@ -5852,7 +5845,7 @@ const m0 = /* @__PURE__ */ le({
5852
5845
  __name: "SkeletonBase",
5853
5846
  setup(e) {
5854
5847
  return (t, a) => (y(), T("div", y0, [
5855
- V(t.$slots, "default", {}, () => [
5848
+ K(t.$slots, "default", {}, () => [
5856
5849
  j(ba, {
5857
5850
  height: "1",
5858
5851
  width: "100"
@@ -5878,19 +5871,19 @@ const m0 = /* @__PURE__ */ le({
5878
5871
  Rt((a) => ({
5879
5872
  "243e7eb5": t.value
5880
5873
  }));
5881
- const t = b(() => e.maxWidth ? Tt(e.maxWidth) : e.cardCount === 1 ? "470px" : `calc((100% / 3) - ${Ny})`);
5874
+ const t = b(() => e.maxWidth ? Dt(e.maxWidth) : e.cardCount === 1 ? "470px" : `calc((100% / 3) - ${Ny})`);
5882
5875
  return (a, n) => (y(), T("div", C0, [
5883
5876
  (y(!0), T(Ae, null, Re(a.cardCount, (r) => (y(), T("div", {
5884
5877
  key: r,
5885
5878
  class: "skeleton-card"
5886
5879
  }, [
5887
5880
  H("div", k0, [
5888
- V(a.$slots, "card-header", {}, () => [
5881
+ K(a.$slots, "card-header", {}, () => [
5889
5882
  j(ba, { width: "50" })
5890
5883
  ], !0)
5891
5884
  ]),
5892
5885
  H("div", $0, [
5893
- V(a.$slots, "card-content", {}, () => [
5886
+ K(a.$slots, "card-content", {}, () => [
5894
5887
  (y(), T(Ae, null, Re(3, (i) => j(ba, {
5895
5888
  key: i,
5896
5889
  width: "100"
@@ -5899,7 +5892,7 @@ const m0 = /* @__PURE__ */ le({
5899
5892
  ], !0)
5900
5893
  ]),
5901
5894
  H("div", S0, [
5902
- V(a.$slots, "card-footer", {}, () => [
5895
+ K(a.$slots, "card-footer", {}, () => [
5903
5896
  (y(), T(Ae, null, Re(2, (i) => j(ba, {
5904
5897
  key: i,
5905
5898
  height: "2",
@@ -5926,7 +5919,7 @@ const m0 = /* @__PURE__ */ le({
5926
5919
  key: r,
5927
5920
  class: "skeleton-table-row"
5928
5921
  }, [
5929
- V(a.$slots, "default", {}, () => [
5922
+ K(a.$slots, "default", {}, () => [
5930
5923
  (y(!0), T(Ae, null, Re(a.columns, (i) => (y(), T("div", {
5931
5924
  key: i,
5932
5925
  class: "skeleton-cell-container"
@@ -6067,13 +6060,13 @@ const m0 = /* @__PURE__ */ le({
6067
6060
  "max-width": a.cardMaxWidth
6068
6061
  }, {
6069
6062
  "card-header": P(() => [
6070
- V(a.$slots, "card-header")
6063
+ K(a.$slots, "card-header")
6071
6064
  ]),
6072
6065
  "card-content": P(() => [
6073
- V(a.$slots, "card-content")
6066
+ K(a.$slots, "card-content")
6074
6067
  ]),
6075
6068
  "card-footer": P(() => [
6076
- V(a.$slots, "card-footer")
6069
+ K(a.$slots, "card-footer")
6077
6070
  ]),
6078
6071
  _: 3
6079
6072
  }, 8, ["card-count", "max-width"])) : a.type === "table" ? (y(), ee(E0, {
@@ -6082,7 +6075,7 @@ const m0 = /* @__PURE__ */ le({
6082
6075
  rows: a.tableRows
6083
6076
  }, {
6084
6077
  default: P(() => [
6085
- V(a.$slots, "default")
6078
+ K(a.$slots, "default")
6086
6079
  ]),
6087
6080
  _: 3
6088
6081
  }, 8, ["columns", "rows"])) : a.type === "form" ? (y(), ee(O0, { key: 2 })) : a.type === "fullscreen-kong" ? (y(), ee(F0, {
@@ -6150,7 +6143,7 @@ const m0 = /* @__PURE__ */ le({
6150
6143
  }, [
6151
6144
  H("div", W0, [
6152
6145
  H("div", _0, [
6153
- V(i.$slots, "icon", {}, () => [
6146
+ K(i.$slots, "icon", {}, () => [
6154
6147
  (y(), ee(He(n.value), {
6155
6148
  color: r.value,
6156
6149
  decorative: "",
@@ -6159,18 +6152,18 @@ const m0 = /* @__PURE__ */ le({
6159
6152
  ], !0)
6160
6153
  ]),
6161
6154
  i.title || i.$slots.title ? (y(), T("div", U0, [
6162
- V(i.$slots, "title", {}, () => [
6155
+ K(i.$slots, "title", {}, () => [
6163
6156
  we(re(i.title), 1)
6164
6157
  ], !0)
6165
6158
  ])) : U("", !0),
6166
6159
  i.message || i.$slots.default ? (y(), T("div", K0, [
6167
- V(i.$slots, "default", {}, () => [
6160
+ K(i.$slots, "default", {}, () => [
6168
6161
  H("p", null, re(i.message), 1)
6169
6162
  ], !0)
6170
6163
  ])) : U("", !0)
6171
6164
  ]),
6172
6165
  i.actionButtonVisible && i.actionButtonText || i.$slots.action ? (y(), T("div", V0, [
6173
- V(i.$slots, "action", {}, () => [
6166
+ K(i.$slots, "action", {}, () => [
6174
6167
  j(nt, {
6175
6168
  disabled: i.actionButtonDisabled,
6176
6169
  type: "button",
@@ -6275,7 +6268,7 @@ const m0 = /* @__PURE__ */ le({
6275
6268
  }), {
6276
6269
  default: P(() => [
6277
6270
  H("span", G0, [
6278
- V(d.$slots, "default", {}, () => [
6271
+ K(d.$slots, "default", {}, () => [
6279
6272
  we(re(i.value), 1)
6280
6273
  ], !0)
6281
6274
  ])
@@ -6340,7 +6333,7 @@ const m0 = /* @__PURE__ */ le({
6340
6333
  }), (v, h) => (y(), T("div", {
6341
6334
  class: de(["k-dropdown", { "selection-dropdown-menu": v.selectionMenu }])
6342
6335
  }, [
6343
- j(A(Os), null, {
6336
+ j(Os, null, {
6344
6337
  default: P(({ toggle: m, isToggled: g }) => [
6345
6338
  j(Jn, Ye({
6346
6339
  ref_key: "kPop",
@@ -6355,7 +6348,7 @@ const m0 = /* @__PURE__ */ le({
6355
6348
  }), {
6356
6349
  content: P(() => [
6357
6350
  H("ul", Z0, [
6358
- V(v.$slots, "items", {
6351
+ K(v.$slots, "items", {
6359
6352
  closeDropdown: c,
6360
6353
  handleSelection: s,
6361
6354
  items: v.items
@@ -6382,7 +6375,7 @@ const m0 = /* @__PURE__ */ le({
6382
6375
  position: v.disabledTooltip ? "bottom" : void 0
6383
6376
  }, {
6384
6377
  default: P(() => [
6385
- V(v.$slots, "default", {
6378
+ K(v.$slots, "default", {
6386
6379
  isOpen: g.value
6387
6380
  }, () => [
6388
6381
  u.value ? (y(), ee(nt, {
@@ -6414,7 +6407,7 @@ const m0 = /* @__PURE__ */ le({
6414
6407
  })
6415
6408
  ], 2));
6416
6409
  }
6417
- }), Mr = /* @__PURE__ */ Oe(X0, [["__scopeId", "data-v-816d9a8b"]]), J0 = { class: "pagination-offset-button-container" }, ew = /* @__PURE__ */ le({
6410
+ }), Mr = /* @__PURE__ */ Oe(X0, [["__scopeId", "data-v-dceaa4c1"]]), J0 = { class: "pagination-offset-button-container" }, ew = /* @__PURE__ */ le({
6418
6411
  __name: "PaginationOffset",
6419
6412
  props: {
6420
6413
  previousButtonDisabled: {
@@ -6516,24 +6509,24 @@ const aw = {
6516
6509
  setup(e, { emit: t }) {
6517
6510
  const a = {
6518
6511
  placement: "top"
6519
- }, n = t, r = N(null), i = N(), o = N(e.currentPage ? e.currentPage : 1), u = N(e.initialPageSize ? e.initialPageSize : e.pageSizes[0]), l = b(() => Math.ceil(e.totalCount / u.value)), s = e.pageSizes.map((K, ae) => ({
6520
- label: `${K}`,
6512
+ }, n = t, r = N(null), i = N(), o = N(e.currentPage ? e.currentPage : 1), u = N(e.initialPageSize ? e.initialPageSize : e.pageSizes[0]), l = b(() => Math.ceil(e.totalCount / u.value)), s = e.pageSizes.map((V, ae) => ({
6513
+ label: `${V}`,
6521
6514
  key: `size-${ae}`,
6522
- value: K,
6523
- selected: K === u.value
6515
+ value: V,
6516
+ selected: V === u.value
6524
6517
  })), c = b(() => `${u.value} ${u.value === 1 ? "item per page" : " items per page"}`), d = N(e.neighbors), f = N(3), v = async () => (await ht(), r.value ? r.value.scrollWidth > r.value.clientWidth : !1), h = async () => {
6525
6518
  await v() && (d.value > 1 || f.value > 1) && (d.value > 1 ? d.value-- : f.value > 1 && f.value--, q.value = m(o.value, l.value, Y.value, F.value));
6526
- }, m = (K, ae, G, he) => {
6519
+ }, m = (V, ae, G, he) => {
6527
6520
  if (e.disablePageJump)
6528
6521
  return [];
6529
6522
  let fe = [...Array(ae).keys()].map((ge) => ge + 1);
6530
6523
  const $e = f.value + 2 + 2 * d.value;
6531
6524
  return fe.length <= $e || (G ? G && he ? fe = fe.filter(
6532
- (ge) => ge > K - d.value - 1 && ge < K + d.value + 1
6525
+ (ge) => ge > V - d.value - 1 && ge < V + d.value + 1
6533
6526
  ) : G && !he && (fe = fe.filter((ge) => ge > ae - d.value * 2 - f.value)) : fe = fe.filter((ge) => ge <= d.value * 2 + f.value)), fe;
6534
6527
  }, g = N(o.value === 1), p = N(o.value === l.value), w = b(() => (o.value - 1) * u.value + 1), C = b(() => {
6535
- const K = w.value - 1 + u.value;
6536
- return K > e.totalCount ? e.totalCount : K;
6528
+ const V = w.value - 1 + u.value;
6529
+ return V > e.totalCount ? e.totalCount : V;
6537
6530
  }), k = b(() => `${w.value} to ${C.value}`), S = b(() => ` of ${e.totalCount}`), I = b(() => e.currentPage ? e.currentPage : o.value), x = b(() => 5 + 2 * d.value), Y = N(I.value >= d.value + (f.value + 1) && l.value > x.value), F = N(l.value > f.value + 2 + 2 * d.value), q = N(m(
6538
6531
  I.value,
6539
6532
  l.value,
@@ -6543,19 +6536,19 @@ const aw = {
6543
6536
  o.value++, M();
6544
6537
  }, O = () => {
6545
6538
  o.value--, M();
6546
- }, $ = (K) => {
6547
- o.value = K, M();
6539
+ }, $ = (V) => {
6540
+ o.value = V, M();
6548
6541
  }, M = () => {
6549
- const K = (o.value - 1) * u.value + u.value;
6550
- p.value = K >= e.totalCount, g.value = o.value === 1, l.value <= x.value ? (Y.value = !1, F.value = !1) : (Y.value = o.value >= d.value + (f.value + 1), F.value = o.value <= l.value - d.value - f.value), q.value = m(o.value, l.value, Y.value, F.value), n("pageChange", {
6542
+ const V = (o.value - 1) * u.value + u.value;
6543
+ p.value = V >= e.totalCount, g.value = o.value === 1, l.value <= x.value ? (Y.value = !1, F.value = !1) : (Y.value = o.value >= d.value + (f.value + 1), F.value = o.value <= l.value - d.value - f.value), q.value = m(o.value, l.value, Y.value, F.value), n("pageChange", {
6551
6544
  page: o.value,
6552
6545
  pageCount: l.value,
6553
6546
  firstItem: w.value,
6554
6547
  lastItem: C.value,
6555
6548
  visibleItems: e.items.slice(w.value - 1, C.value)
6556
6549
  });
6557
- }, D = (K) => {
6558
- u.value !== K.value && (u.value = K.value, n("pageSizeChange", {
6550
+ }, D = (V) => {
6551
+ u.value !== V.value && (u.value = V.value, n("pageSizeChange", {
6559
6552
  pageSize: u.value,
6560
6553
  pageCount: l.value
6561
6554
  }), e.currentPage !== 1 && $(1));
@@ -6564,12 +6557,12 @@ const aw = {
6564
6557
  }, Z = () => {
6565
6558
  n("getPreviousOffset");
6566
6559
  };
6567
- return ue(() => e.currentPage, (K, ae) => {
6568
- K !== ae && K && $(K);
6569
- }), ue(l, (K, ae) => {
6570
- K !== ae && (p.value = o.value === K, F.value = K > f.value + 2 + 2 * d.value, q.value = m(
6560
+ return ue(() => e.currentPage, (V, ae) => {
6561
+ V !== ae && V && $(V);
6562
+ }), ue(l, (V, ae) => {
6563
+ V !== ae && (p.value = o.value === V, F.value = V > f.value + 2 + 2 * d.value, q.value = m(
6571
6564
  I.value,
6572
- K,
6565
+ V,
6573
6566
  !1,
6574
6567
  F.value
6575
6568
  ));
@@ -6578,18 +6571,18 @@ const aw = {
6578
6571
  }), rt(() => {
6579
6572
  !e.disablePageJump && !e.offset && (i.value = er.create(h), i.value.observe(r.value));
6580
6573
  }), rn(() => {
6581
- var K;
6582
- !e.disablePageJump && !e.offset && ((K = i.value) == null || K.unobserve(r.value));
6583
- }), (K, ae) => (y(), T("nav", {
6574
+ var V;
6575
+ !e.disablePageJump && !e.offset && ((V = i.value) == null || V.unobserve(r.value));
6576
+ }), (V, ae) => (y(), T("nav", {
6584
6577
  ref_key: "kPaginationElement",
6585
6578
  ref: r,
6586
- class: de(["k-pagination", { "page-jump": !K.disablePageJump && !K.offset }]),
6579
+ class: de(["k-pagination", { "page-jump": !V.disablePageJump && !V.offset }]),
6587
6580
  "data-testid": "k-pagination"
6588
6581
  }, [
6589
- K.offset ? (y(), ee(tw, {
6582
+ V.offset ? (y(), ee(tw, {
6590
6583
  key: 1,
6591
- "next-button-disabled": K.offsetNextButtonDisabled,
6592
- "previous-button-disabled": K.offsetPreviousButtonDisabled,
6584
+ "next-button-disabled": V.offsetNextButtonDisabled,
6585
+ "previous-button-disabled": V.offsetPreviousButtonDisabled,
6593
6586
  onGetNextOffset: B,
6594
6587
  onGetPreviousOffset: Z
6595
6588
  }, null, 8, ["next-button-disabled", "previous-button-disabled"])) : (y(), T(Ae, { key: 0 }, [
@@ -6619,7 +6612,7 @@ const aw = {
6619
6612
  _: 1
6620
6613
  }, 8, ["disabled"])
6621
6614
  ]),
6622
- !K.disablePageJump && Y.value ? (y(), T("li", iw, [
6615
+ !V.disablePageJump && Y.value ? (y(), T("li", iw, [
6623
6616
  H("button", {
6624
6617
  "aria-label": "Go to the first page",
6625
6618
  class: "pagination-button",
@@ -6628,7 +6621,7 @@ const aw = {
6628
6621
  onClick: ae[0] || (ae[0] = (G) => $(1))
6629
6622
  }, " 1 ")
6630
6623
  ])) : U("", !0),
6631
- !K.disablePageJump && Y.value ? (y(), T("li", ow, " ... ")) : U("", !0),
6624
+ !V.disablePageJump && Y.value ? (y(), T("li", ow, " ... ")) : U("", !0),
6632
6625
  (y(!0), T(Ae, null, Re(q.value, (G) => (y(), T("li", { key: G }, [
6633
6626
  H("button", {
6634
6627
  "aria-current": G == I.value && "page" || void 0,
@@ -6639,8 +6632,8 @@ const aw = {
6639
6632
  onClick: (he) => $(G)
6640
6633
  }, re(G), 11, sw)
6641
6634
  ]))), 128)),
6642
- !K.disablePageJump && F.value ? (y(), T("li", lw, " ... ")) : U("", !0),
6643
- !K.disablePageJump && F.value ? (y(), T("li", uw, [
6635
+ !V.disablePageJump && F.value ? (y(), T("li", lw, " ... ")) : U("", !0),
6636
+ !V.disablePageJump && F.value ? (y(), T("li", uw, [
6644
6637
  H("button", {
6645
6638
  "aria-label": "Go to the last page",
6646
6639
  class: "pagination-button",
@@ -6673,7 +6666,7 @@ const aw = {
6673
6666
  ])
6674
6667
  ], 64)),
6675
6668
  H("div", dw, [
6676
- !K.disablePageJump && !K.offset ? (y(), T("span", cw, [
6669
+ !V.disablePageJump && !V.offset ? (y(), T("span", cw, [
6677
6670
  H("span", fw, re(k.value), 1),
6678
6671
  we(" " + re(S.value), 1)
6679
6672
  ])) : U("", !0),
@@ -6710,7 +6703,7 @@ const aw = {
6710
6703
  ])
6711
6704
  ], 2));
6712
6705
  }
6713
- }), zs = /* @__PURE__ */ Oe(vw, [["__scopeId", "data-v-b0dcd595"]]), pw = /* @__PURE__ */ le({
6706
+ }), zs = /* @__PURE__ */ Oe(vw, [["__scopeId", "data-v-efb5f715"]]), pw = /* @__PURE__ */ le({
6714
6707
  __name: "KCatalogItem",
6715
6708
  props: {
6716
6709
  item: {},
@@ -6732,21 +6725,21 @@ const aw = {
6732
6725
  onClick: n
6733
6726
  }, {
6734
6727
  title: P(() => [
6735
- V(r.$slots, "card-title", {}, () => [
6728
+ K(r.$slots, "card-title", {}, () => [
6736
6729
  we(re(r.item ? r.item.title : ""), 1)
6737
6730
  ], !0)
6738
6731
  ]),
6739
6732
  actions: P(() => [
6740
- V(r.$slots, "card-actions", {}, void 0, !0)
6733
+ K(r.$slots, "card-actions", {}, void 0, !0)
6741
6734
  ]),
6742
6735
  footer: P(() => [
6743
- V(r.$slots, "card-footer", {}, void 0, !0)
6736
+ K(r.$slots, "card-footer", {}, void 0, !0)
6744
6737
  ]),
6745
6738
  default: P(() => [
6746
6739
  H("div", {
6747
6740
  class: de({ "multi-line-truncate": r.truncate })
6748
6741
  }, [
6749
- V(r.$slots, "card-body", {}, () => [
6742
+ K(r.$slots, "card-body", {}, () => [
6750
6743
  we(re(r.item ? r.item.description : ""), 1)
6751
6744
  ], !0)
6752
6745
  ], 2)
@@ -6799,7 +6792,7 @@ const aw = {
6799
6792
  },
6800
6793
  emits: ["card-click", "error-action-click", "empty-state-action-click", "update:catalog-preferences", "state"],
6801
6794
  setup(e, { emit: t }) {
6802
- const { useRequest: a, useDebounce: n, useSwrvState: r } = In(), i = t, o = Dt(), u = $t(), l = () => {
6795
+ const { useRequest: a, useDebounce: n, useSwrvState: r } = In(), i = t, o = St(), u = $t(), l = () => {
6803
6796
  var se;
6804
6797
  const ie = (se = e.paginationPageSizes) == null ? void 0 : se[0];
6805
6798
  return ie || Cc;
@@ -6834,14 +6827,14 @@ const aw = {
6834
6827
  return e.cacheIdentifier && (ie = e.cacheIdentifier), e.fetcherCacheKey && (ie += `-${e.fetcherCacheKey}`), `k-catalog_${ie}`;
6835
6828
  }), $ = N(""), { debouncedFn: M, generateDebouncedFn: D } = n((ie) => {
6836
6829
  $.value = ie;
6837
- }, 350), B = D(0), { data: Z, error: K, revalidate: ae, isValidating: G } = a(
6830
+ }, 350), B = D(0), { data: Z, error: V, revalidate: ae, isValidating: G } = a(
6838
6831
  () => O.value,
6839
6832
  () => q(),
6840
6833
  { revalidateOnFocus: !1, revalidateDebounce: 0 }
6841
- ), { state: he, hasData: fe, swrvState: $e } = r(Z, K, G), ge = N(!0), Ne = b(() => ({
6834
+ ), { state: he, hasData: fe, swrvState: $e } = r(Z, V, G), ge = N(!0), Ne = b(() => ({
6842
6835
  hasData: fe.value,
6843
6836
  state: he.value
6844
- })), _e = b(() => ge.value ? "loading" : K.value ? "error" : "success"), Le = ({ page: ie }) => {
6837
+ })), _e = b(() => ge.value ? "loading" : V.value ? "error" : "success"), Le = ({ page: ie }) => {
6845
6838
  f.value = ie;
6846
6839
  }, qe = ({ pageSize: ie }) => {
6847
6840
  m.value = [null], h.value = null, v.value = ie, f.value = 1;
@@ -6901,7 +6894,7 @@ const aw = {
6901
6894
  _: 1
6902
6895
  })) : U("", !0),
6903
6896
  k.value ? (y(), T("div", gw, [
6904
- V(ie.$slots, "toolbar", { state: Ne.value }, void 0, !0)
6897
+ K(ie.$slots, "toolbar", { state: Ne.value }, void 0, !0)
6905
6898
  ])) : U("", !0),
6906
6899
  I.value ? (y(), ee(Fs, {
6907
6900
  key: 2,
@@ -6910,7 +6903,7 @@ const aw = {
6910
6903
  "data-testid": "catalog-skeleton-loader",
6911
6904
  type: "card"
6912
6905
  })) : ie.error ? (y(), T("div", mw, [
6913
- V(ie.$slots, "error-state", {}, () => [
6906
+ K(ie.$slots, "error-state", {}, () => [
6914
6907
  j(Kn, {
6915
6908
  "icon-variant": "error",
6916
6909
  message: ie.errorStateMessage,
@@ -6935,7 +6928,7 @@ const aw = {
6935
6928
  ]), 1032, ["message", "title"])
6936
6929
  ], !0)
6937
6930
  ])) : x.value ? (y(), T("div", yw, [
6938
- V(ie.$slots, "empty-state", {}, () => [
6931
+ K(ie.$slots, "empty-state", {}, () => [
6939
6932
  j(Kn, {
6940
6933
  "icon-variant": ie.emptyStateIconVariant,
6941
6934
  message: ie.emptyStateMessage,
@@ -6951,7 +6944,7 @@ const aw = {
6951
6944
  onClick: se[1] || (se[1] = (ve) => i("empty-state-action-click"))
6952
6945
  }, {
6953
6946
  default: P(() => [
6954
- V(ie.$slots, "empty-state-action-icon", {}, void 0, !0),
6947
+ K(ie.$slots, "empty-state-action-icon", {}, void 0, !0),
6955
6948
  we(" " + re(ie.emptyStateActionMessage), 1)
6956
6949
  ]),
6957
6950
  _: 3
@@ -6966,7 +6959,7 @@ const aw = {
6966
6959
  class: de(["catalog-page", `card-${ie.cardSize}`]),
6967
6960
  "data-tableid": A(u)
6968
6961
  }, [
6969
- V(ie.$slots, "body", { data: s.value }, () => [
6962
+ K(ie.$slots, "body", { data: s.value }, () => [
6970
6963
  (y(!0), T(Ae, null, Re(s.value, (ve, z) => (y(), ee(bh, {
6971
6964
  key: ve.key ? ve.key : `catalog-${A(u)}-item-${z}`,
6972
6965
  class: "catalog-item",
@@ -6976,15 +6969,15 @@ const aw = {
6976
6969
  onClick: (Ce) => i("card-click", ve)
6977
6970
  }, {
6978
6971
  "card-title": P(() => [
6979
- V(ie.$slots, "card-title", { item: ve }, () => [
6972
+ K(ie.$slots, "card-title", { item: ve }, () => [
6980
6973
  we(re(ve.title), 1)
6981
6974
  ], !0)
6982
6975
  ]),
6983
6976
  "card-actions": P(() => [
6984
- V(ie.$slots, "card-actions", { item: ve }, void 0, !0)
6977
+ K(ie.$slots, "card-actions", { item: ve }, void 0, !0)
6985
6978
  ]),
6986
6979
  "card-body": P(() => [
6987
- V(ie.$slots, "card-body", { item: ve }, () => [
6980
+ K(ie.$slots, "card-body", { item: ve }, () => [
6988
6981
  we(re(ve.description), 1)
6989
6982
  ], !0)
6990
6983
  ]),
@@ -7012,7 +7005,7 @@ const aw = {
7012
7005
  }, null, 8, ["current-page", "disable-page-jump", "initial-page-size", "neighbors", "offset", "offset-next-button-disabled", "offset-previous-button-disabled", "page-sizes", "total-count"])) : U("", !0)
7013
7006
  ]));
7014
7007
  }
7015
- }), Cw = /* @__PURE__ */ Oe(ww, [["__scopeId", "data-v-12a23f83"]]), kw = /* @__PURE__ */ le({
7008
+ }), Cw = /* @__PURE__ */ Oe(ww, [["__scopeId", "data-v-2935e34d"]]), kw = /* @__PURE__ */ le({
7016
7009
  __name: "KLabel",
7017
7010
  props: {
7018
7011
  info: { default: "" },
@@ -7024,17 +7017,17 @@ const aw = {
7024
7017
  ue(() => e.help, (r) => {
7025
7018
  r && console.warn("KLabel: `help` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel");
7026
7019
  }, { immediate: !0 });
7027
- const t = Dt(), a = b(() => !!(e.help || e.info || t.tooltip)), n = $t();
7020
+ const t = St(), a = b(() => !!(e.help || e.info || t.tooltip)), n = $t();
7028
7021
  return (r, i) => (y(), T("label", {
7029
7022
  class: de(["k-label", { required: r.required }])
7030
7023
  }, [
7031
- V(r.$slots, "default", {}, void 0, !0),
7024
+ K(r.$slots, "default", {}, void 0, !0),
7032
7025
  a.value ? (y(), ee(pa, Ye({ key: 0 }, r.tooltipAttributes, {
7033
7026
  class: "label-tooltip",
7034
7027
  "tooltip-id": A(n)
7035
7028
  }), {
7036
7029
  content: P(() => [
7037
- V(r.$slots, "tooltip", {}, () => [
7030
+ K(r.$slots, "tooltip", {}, () => [
7038
7031
  we(re(r.info || r.help), 1)
7039
7032
  ], !0)
7040
7033
  ]),
@@ -7065,7 +7058,7 @@ const aw = {
7065
7058
  },
7066
7059
  emits: ["change", "input", "update:modelValue"],
7067
7060
  setup(e, { emit: t }) {
7068
- const a = t, n = Dt(), r = Jt(), i = $t(), o = b(() => r.id ? String(r.id) : i), u = b(() => !!(e.label || n.default)), l = b(() => (r == null ? void 0 : r.disabled) !== void 0 && String(r == null ? void 0 : r.disabled) !== "false"), s = b(() => u.value && (!!e.description || !!n.description)), c = b(() => !!n.tooltip), d = b(() => {
7061
+ const a = t, n = St(), r = Jt(), i = $t(), o = b(() => r.id ? String(r.id) : i), u = b(() => !!(e.label || n.default)), l = b(() => (r == null ? void 0 : r.disabled) !== void 0 && String(r == null ? void 0 : r.disabled) !== "false"), s = b(() => u.value && (!!e.description || !!n.description)), c = b(() => !!n.tooltip), d = b(() => {
7069
7062
  const m = { ...r };
7070
7063
  return delete m.class, m.checked = e.modelValue, m.indeterminate !== void 0 && String(m.indeterminate) !== "false" && !e.modelValue ? (delete m.checked, m.indeterminate = !0) : delete m.indeterminate, m;
7071
7064
  }), f = b(() => ({
@@ -7114,7 +7107,7 @@ const aw = {
7114
7107
  for: o.value
7115
7108
  }), mt({
7116
7109
  default: P(() => [
7117
- V(m.$slots, "default", {}, () => [
7110
+ K(m.$slots, "default", {}, () => [
7118
7111
  we(re(m.label), 1)
7119
7112
  ], !0)
7120
7113
  ]),
@@ -7123,13 +7116,13 @@ const aw = {
7123
7116
  c.value ? {
7124
7117
  name: "tooltip",
7125
7118
  fn: P(() => [
7126
- V(m.$slots, "tooltip", {}, void 0, !0)
7119
+ K(m.$slots, "tooltip", {}, void 0, !0)
7127
7120
  ]),
7128
7121
  key: "0"
7129
7122
  } : void 0
7130
7123
  ]), 1040, ["for"])) : U("", !0),
7131
7124
  s.value ? (y(), T("div", Tw, [
7132
- V(m.$slots, "description", {}, () => [
7125
+ K(m.$slots, "description", {}, () => [
7133
7126
  H("p", null, re(m.description), 1)
7134
7127
  ], !0)
7135
7128
  ])) : U("", !0)
@@ -7198,8 +7191,8 @@ const aw = {
7198
7191
  case 1: {
7199
7192
  const Z = v;
7200
7193
  v = 0;
7201
- const K = $ - c, ae = kc(K);
7202
- Z && ae < kc(Z) + 1 || m !== 0 || (h = K < 0 ? 2 : 1), o && (g = Tr, o = !1), c = $, B = 4;
7194
+ const V = $ - c, ae = kc(V);
7195
+ Z && ae < kc(Z) + 1 || m !== 0 || (h = V < 0 ? 2 : 1), o && (g = Tr, o = !1), c = $, B = 4;
7203
7196
  const G = S();
7204
7197
  G >= -l && G <= Y() && (B += 1, D = ae > l);
7205
7198
  break;
@@ -7208,21 +7201,21 @@ const aw = {
7208
7201
  B = 8, h !== 0 && (M = !0, B += 1), h = 0, m = 0, g = Tr;
7209
7202
  break;
7210
7203
  case 3: {
7211
- const Z = $.filter(([K, ae]) => C.t[K] !== ae);
7204
+ const Z = $.filter(([V, ae]) => C.t[V] !== ae);
7212
7205
  if (!Z.length) break;
7213
- L(Z.reduce((K, [ae, G]) => ((m === 2 || (g ? !o && ae < g[0] : F(ae) + (h === 0 && m === 0 ? q(ae) : 0) < S())) && (K += G - q(ae)), K), 0));
7214
- for (const [K, ae] of Z) {
7215
- const G = q(K), he = Iw(C, K, ae);
7206
+ L(Z.reduce((V, [ae, G]) => ((m === 2 || (g ? !o && ae < g[0] : F(ae) + (h === 0 && m === 0 ? q(ae) : 0) < S())) && (V += G - q(ae)), V), 0));
7207
+ for (const [V, ae] of Z) {
7208
+ const G = q(V), he = Iw(C, V, ae);
7216
7209
  i && (w += he ? ae : ae - G);
7217
7210
  }
7218
- i && l && w > l && (L(((K, ae) => {
7211
+ i && l && w > l && (L(((V, ae) => {
7219
7212
  let G = 0;
7220
7213
  const he = [];
7221
- K.t.forEach((Le, qe) => {
7214
+ V.t.forEach((Le, qe) => {
7222
7215
  Le !== qn && (he.push(Le), qe < ae && G++);
7223
- }), K.i = -1;
7224
- const fe = Ch(he), $e = fe.length, ge = $e / 2 | 0, Ne = $e % 2 == 0 ? (fe[ge - 1] + fe[ge]) / 2 : fe[ge], _e = K.o;
7225
- return ((K.o = Ne) - _e) * Ta(ae - G, 0);
7216
+ }), V.i = -1;
7217
+ const fe = Ch(he), $e = fe.length, ge = $e / 2 | 0, Ne = $e % 2 == 0 ? (fe[ge - 1] + fe[ge]) / 2 : fe[ge], _e = V.o;
7218
+ return ((V.o = Ne) - _e) * Ta(ae - G, 0);
7226
7219
  })(C, Mn(C, I()))), i = !1), B = 3, D = !0;
7227
7220
  break;
7228
7221
  }
@@ -7241,8 +7234,8 @@ const aw = {
7241
7234
  case 8:
7242
7235
  g = x($), B = 1;
7243
7236
  }
7244
- B && (u = 1 + (2147483647 & u), M && f && (d += f, f = 0), k.forEach(([Z, K]) => {
7245
- B & Z && K(D);
7237
+ B && (u = 1 + (2147483647 & u), M && f && (d += f, f = 0), k.forEach(([Z, V]) => {
7238
+ B & Z && V(D);
7246
7239
  }));
7247
7240
  } };
7248
7241
  }, Ul = setTimeout, Ro = (e, t) => t && $h() ? -e : e, Lw = (e, t, a, n, r, i) => {
@@ -8312,7 +8305,7 @@ const w$ = ["id", "aria-describedby", "aria-invalid", "type", "value"], C$ = ["a
8312
8305
  }, { immediate: !0 }), ue(() => e.labelAttributes.help, (D) => {
8313
8306
  D && console.warn("KInput: `help` property of `labelAttributes` prop is deprecated. Please use `info` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#klabel");
8314
8307
  });
8315
- const n = a, r = St("inputElement"), i = N(""), o = N(!1), u = N(0), { stripRequiredLabel: l } = In(), s = Dt(), c = Jt(), d = b(() => (c == null ? void 0 : c.required) !== void 0 && String(c == null ? void 0 : c.required) !== "false"), f = $t(), v = b(() => c.id ? String(c.id) : f), h = $t(), m = b(() => l(e.label, d.value)), g = b(() => {
8308
+ const n = a, r = Tt("inputElement"), i = N(""), o = N(!1), u = N(0), { stripRequiredLabel: l } = In(), s = St(), c = Jt(), d = b(() => (c == null ? void 0 : c.required) !== void 0 && String(c == null ? void 0 : c.required) !== "false"), f = $t(), v = b(() => c.id ? String(c.id) : f), h = $t(), m = b(() => l(e.label, d.value)), g = b(() => {
8316
8309
  var D;
8317
8310
  return !!((D = e.labelAttributes) != null && D.info || s["label-tooltip"]);
8318
8311
  }), p = b({
@@ -8326,8 +8319,8 @@ const w$ = ["id", "aria-describedby", "aria-invalid", "type", "value"], C$ = ["a
8326
8319
  const D = { ...c };
8327
8320
  return delete D.class, delete D.input, delete D.onInput, D;
8328
8321
  }), C = b(() => {
8329
- var K, ae;
8330
- const D = ((K = i.value) == null ? void 0 : K.toString().length) || 0, B = ((ae = e.modelValue) == null ? void 0 : ae.toString().length) || 0;
8322
+ var V, ae;
8323
+ const D = ((V = i.value) == null ? void 0 : V.toString().length) || 0, B = ((ae = e.modelValue) == null ? void 0 : ae.toString().length) || 0;
8331
8324
  let Z = D;
8332
8325
  return !o.value && B && (Z = B), !!e.characterLimit && Z > e.characterLimit;
8333
8326
  }), k = b(() => {
@@ -8375,7 +8368,7 @@ const w$ = ["id", "aria-describedby", "aria-invalid", "type", "value"], C$ = ["a
8375
8368
  g.value ? {
8376
8369
  name: "tooltip",
8377
8370
  fn: P(() => [
8378
- V(D.$slots, "label-tooltip", {}, void 0, !0)
8371
+ K(D.$slots, "label-tooltip", {}, void 0, !0)
8379
8372
  ]),
8380
8373
  key: "0"
8381
8374
  } : void 0
@@ -8389,7 +8382,7 @@ const w$ = ["id", "aria-describedby", "aria-invalid", "type", "value"], C$ = ["a
8389
8382
  ref: F,
8390
8383
  class: "before-content-wrapper"
8391
8384
  }, [
8392
- V(D.$slots, "before", {}, void 0, !0)
8385
+ K(D.$slots, "before", {}, void 0, !0)
8393
8386
  ], 512)) : U("", !0),
8394
8387
  H("input", Ye({
8395
8388
  id: v.value,
@@ -8426,7 +8419,7 @@ const w$ = ["id", "aria-describedby", "aria-invalid", "type", "value"], C$ = ["a
8426
8419
  key: 1,
8427
8420
  decorative: ""
8428
8421
  }))
8429
- ], 40, C$)) : V(D.$slots, "after", { key: 1 }, void 0, !0)
8422
+ ], 40, C$)) : K(D.$slots, "after", { key: 1 }, void 0, !0)
8430
8423
  ], 512)) : U("", !0)
8431
8424
  ], 2),
8432
8425
  j(oa, {
@@ -8599,7 +8592,7 @@ const L$ = /* @__PURE__ */ le({
8599
8592
  onClick: n
8600
8593
  }), {
8601
8594
  default: P(() => [
8602
- V(r.$slots, "default", {}, void 0, !0)
8595
+ K(r.$slots, "default", {}, void 0, !0)
8603
8596
  ]),
8604
8597
  _: 3
8605
8598
  }, 16, ["class"])
@@ -8665,7 +8658,7 @@ const F$ = ["id"], z$ = {
8665
8658
  "KCodeBlock: `highlightedLineNumbers` prop should be either a properly formatted string (e.g. '1,3-5,7'), an array of numbers or tuples of numbers."
8666
8659
  );
8667
8660
  }, { immediate: !0 });
8668
- const r = t, i = Dt(), o = N(e.query), u = N(!1), l = N(e.initialRegExpMode), s = N(e.initialFilterMode), c = N(null), d = N(e.query), f = N(0), v = N([]), h = N(null), m = St("codeBlock"), g = St("codeBlockContent"), p = St("codeBlockLineNumbers"), w = N(!1), C = N(!1), k = b(() => new Set(v.value)), S = b(() => {
8661
+ const r = t, i = St(), o = N(e.query), u = N(!1), l = N(e.initialRegExpMode), s = N(e.initialFilterMode), c = N(null), d = N(e.query), f = N(0), v = N([]), h = N(null), m = Tt("codeBlock"), g = Tt("codeBlockContent"), p = Tt("codeBlockLineNumbers"), w = N(!1), C = N(!1), k = b(() => new Set(v.value)), S = b(() => {
8669
8662
  var se;
8670
8663
  return Array.from({ length: (se = e.code) == null ? void 0 : se.split(`
8671
8664
  `).length }, (ve, z) => z + 1);
@@ -8684,7 +8677,7 @@ const F$ = ["id"], z$ = {
8684
8677
  }), $ = b(() => !e.singleLine && e.searchable), M = b(
8685
8678
  () => e.singleLine ? Qc(e.code).replaceAll(`
8686
8679
  `, "") : Qc(e.code)
8687
- ), D = b(() => Tt(e.maxHeight));
8680
+ ), D = b(() => Dt(e.maxHeight));
8688
8681
  ue(() => e.code, async function() {
8689
8682
  await ht(), ae(), Ne();
8690
8683
  }), ue(() => l.value, function() {
@@ -8742,11 +8735,11 @@ const F$ = ["id"], z$ = {
8742
8735
  },
8743
8736
  shouldPreventDefaultAction: !0
8744
8737
  }
8745
- }, K = new T$(B, Z);
8738
+ }, V = new T$(B, Z);
8746
8739
  rt(function() {
8747
- K.registerListener(), ae(), !e.query && e.highlightedLineNumbers.length ? ge() : Ne();
8740
+ V.registerListener(), ae(), !e.query && e.highlightedLineNumbers.length ? ge() : Ne();
8748
8741
  }), rn(function() {
8749
- K.unRegisterListener();
8742
+ V.unRegisterListener();
8750
8743
  });
8751
8744
  function ae() {
8752
8745
  var z;
@@ -9021,7 +9014,7 @@ const F$ = ["id"], z$ = {
9021
9014
  ]),
9022
9015
  _: 1
9023
9016
  }, 8, ["aria-label", "copy-tooltip", "data-testid", "theme"])) : U("", !0),
9024
- V(se.$slots, "secondary-actions", {}, void 0, !0)
9017
+ K(se.$slots, "secondary-actions", {}, void 0, !0)
9025
9018
  ])
9026
9019
  ])) : U("", !0),
9027
9020
  Y.value || C.value ? Za((y(), ee(He("pre"), {
@@ -9099,7 +9092,7 @@ const F$ = ["id"], z$ = {
9099
9092
  },
9100
9093
  emits: ["toggle", "update:modelValue"],
9101
9094
  setup(e, { emit: t }) {
9102
- const a = t, n = Dt(), r = $t(), i = N(!0), o = N(!1), u = b(() => e.triggerAlignment === "trailing"), l = b(() => !!n["visible-content"]), s = b({
9095
+ const a = t, n = St(), r = $t(), i = N(!0), o = N(!1), u = b(() => e.triggerAlignment === "trailing"), l = b(() => !!n["visible-content"]), s = b({
9103
9096
  get() {
9104
9097
  return e.modelValue;
9105
9098
  },
@@ -9121,14 +9114,14 @@ const F$ = ["id"], z$ = {
9121
9114
  "data-testid": "collapse-title"
9122
9115
  }, {
9123
9116
  default: P(() => [
9124
- V(f.$slots, "title", {}, () => [
9117
+ K(f.$slots, "title", {}, () => [
9125
9118
  we(re(f.title), 1)
9126
9119
  ], !0)
9127
9120
  ]),
9128
9121
  _: 3
9129
9122
  })) : U("", !0),
9130
9123
  H("div", X$, [
9131
- V(f.$slots, "trigger", {
9124
+ K(f.$slots, "trigger", {
9132
9125
  isCollapsed: c.value,
9133
9126
  toggle: d
9134
9127
  }, () => [
@@ -9141,7 +9134,7 @@ const F$ = ["id"], z$ = {
9141
9134
  type: "button",
9142
9135
  onClick: v[0] || (v[0] = Ke((h) => d(), ["prevent", "stop"]))
9143
9136
  }, [
9144
- V(f.$slots, "trigger-content", {}, () => [
9137
+ K(f.$slots, "trigger-content", {}, () => [
9145
9138
  j(A(ku), {
9146
9139
  class: de(["collapse-trigger-icon", { "collapse-expanded": !c.value }]),
9147
9140
  "data-testid": "collapse-trigger-icon",
@@ -9155,7 +9148,7 @@ const F$ = ["id"], z$ = {
9155
9148
  ])
9156
9149
  ], 2),
9157
9150
  l.value ? (y(), T("div", tS, [
9158
- V(f.$slots, "visible-content", {}, void 0, !0)
9151
+ K(f.$slots, "visible-content", {}, void 0, !0)
9159
9152
  ])) : U("", !0),
9160
9153
  j(oa, { name: "kongponents-fade-transition" }, {
9161
9154
  default: P(() => [
@@ -9164,7 +9157,7 @@ const F$ = ["id"], z$ = {
9164
9157
  class: "collapse-hidden-content",
9165
9158
  "data-testid": "collapse-hidden-content"
9166
9159
  }, [
9167
- V(f.$slots, "default", {}, void 0, !0)
9160
+ K(f.$slots, "default", {}, void 0, !0)
9168
9161
  ], 8, aS), [
9169
9162
  [Er, !c.value]
9170
9163
  ])
@@ -12147,12 +12140,12 @@ function LT() {
12147
12140
  }), t.default = C;
12148
12141
  var n = a(/* @__PURE__ */ fT()), r = a(/* @__PURE__ */ pT()), i = a(/* @__PURE__ */ qa()), o = a(/* @__PURE__ */ CT()), u = a(/* @__PURE__ */ kT()), l = a(/* @__PURE__ */ ug()), s = /* @__PURE__ */ $T(), c = a(/* @__PURE__ */ nr()), d = a(/* @__PURE__ */ Vt()), f = /* @__PURE__ */ Ks(), v = a(/* @__PURE__ */ NT()), h = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, m = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, g = /^'([^]*?)'?$/, p = /''/g, w = /[a-zA-Z]/;
12149
12142
  function C(S, I, x) {
12150
- var Y, F, q, L, O, $, M, D, B, Z, K, ae, G, he, fe, $e, ge, Ne;
12143
+ var Y, F, q, L, O, $, M, D, B, Z, V, ae, G, he, fe, $e, ge, Ne;
12151
12144
  (0, d.default)(2, arguments);
12152
12145
  var _e = String(I), Le = (0, f.getDefaultOptions)(), qe = (Y = (F = x == null ? void 0 : x.locale) !== null && F !== void 0 ? F : Le.locale) !== null && Y !== void 0 ? Y : v.default, Ge = (0, c.default)((q = (L = (O = ($ = x == null ? void 0 : x.firstWeekContainsDate) !== null && $ !== void 0 ? $ : x == null || (M = x.locale) === null || M === void 0 || (D = M.options) === null || D === void 0 ? void 0 : D.firstWeekContainsDate) !== null && O !== void 0 ? O : Le.firstWeekContainsDate) !== null && L !== void 0 ? L : (B = Le.locale) === null || B === void 0 || (Z = B.options) === null || Z === void 0 ? void 0 : Z.firstWeekContainsDate) !== null && q !== void 0 ? q : 1);
12153
12146
  if (!(Ge >= 1 && Ge <= 7))
12154
12147
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
12155
- var it = (0, c.default)((K = (ae = (G = (he = x == null ? void 0 : x.weekStartsOn) !== null && he !== void 0 ? he : x == null || (fe = x.locale) === null || fe === void 0 || ($e = fe.options) === null || $e === void 0 ? void 0 : $e.weekStartsOn) !== null && G !== void 0 ? G : Le.weekStartsOn) !== null && ae !== void 0 ? ae : (ge = Le.locale) === null || ge === void 0 || (Ne = ge.options) === null || Ne === void 0 ? void 0 : Ne.weekStartsOn) !== null && K !== void 0 ? K : 0);
12148
+ var it = (0, c.default)((V = (ae = (G = (he = x == null ? void 0 : x.weekStartsOn) !== null && he !== void 0 ? he : x == null || (fe = x.locale) === null || fe === void 0 || ($e = fe.options) === null || $e === void 0 ? void 0 : $e.weekStartsOn) !== null && G !== void 0 ? G : Le.weekStartsOn) !== null && ae !== void 0 ? ae : (ge = Le.locale) === null || ge === void 0 || (Ne = ge.options) === null || Ne === void 0 ? void 0 : Ne.weekStartsOn) !== null && V !== void 0 ? V : 0);
12156
12149
  if (!(it >= 0 && it <= 6))
12157
12150
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
12158
12151
  if (!qe.localize)
@@ -13241,8 +13234,8 @@ function tD(e) {
13241
13234
  padding: s
13242
13235
  }), Z = M ? $ ? ga : Xt : $ ? ha : Zt;
13243
13236
  S[D] > I[D] && (Z = zo(Z));
13244
- var K = zo(Z), ae = [];
13245
- if (i && ae.push(B[O] <= 0), u && ae.push(B[Z] <= 0, B[K] <= 0), ae.every(function(ge) {
13237
+ var V = zo(Z), ae = [];
13238
+ if (i && ae.push(B[O] <= 0), u && ae.push(B[Z] <= 0, B[V] <= 0), ae.every(function(ge) {
13246
13239
  return ge;
13247
13240
  })) {
13248
13241
  F = L, Y = !1;
@@ -13380,10 +13373,10 @@ function cD(e) {
13380
13373
  };
13381
13374
  if (I) {
13382
13375
  if (i) {
13383
- var $, M = k === "y" ? Zt : Xt, D = k === "y" ? ha : ga, B = k === "y" ? "height" : "width", Z = I[k], K = Z + g[M], ae = Z - g[D], G = v ? -Y[B] / 2 : 0, he = w === Pr ? x[B] : Y[B], fe = w === Pr ? -Y[B] : -x[B], $e = t.elements.arrow, ge = v && $e ? Gu($e) : {
13376
+ var $, M = k === "y" ? Zt : Xt, D = k === "y" ? ha : ga, B = k === "y" ? "height" : "width", Z = I[k], V = Z + g[M], ae = Z - g[D], G = v ? -Y[B] / 2 : 0, he = w === Pr ? x[B] : Y[B], fe = w === Pr ? -Y[B] : -x[B], $e = t.elements.arrow, ge = v && $e ? Gu($e) : {
13384
13377
  width: 0,
13385
13378
  height: 0
13386
- }, Ne = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : mg(), _e = Ne[M], Le = Ne[D], qe = pi(0, x[B], ge[B]), Ge = C ? x[B] / 2 - G - qe - _e - q.mainAxis : he - qe - _e - q.mainAxis, it = C ? -x[B] / 2 + G + qe + Le + q.mainAxis : fe + qe + Le + q.mainAxis, Ze = t.elements.arrow && Bi(t.elements.arrow), Je = Ze ? k === "y" ? Ze.clientTop || 0 : Ze.clientLeft || 0 : 0, et = ($ = L == null ? void 0 : L[k]) != null ? $ : 0, ie = Z + Ge - et - Je, se = Z + it - et, ve = pi(v ? cs(K, ie) : K, Z, v ? Wn(ae, se) : ae);
13379
+ }, Ne = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : mg(), _e = Ne[M], Le = Ne[D], qe = pi(0, x[B], ge[B]), Ge = C ? x[B] / 2 - G - qe - _e - q.mainAxis : he - qe - _e - q.mainAxis, it = C ? -x[B] / 2 + G + qe + Le + q.mainAxis : fe + qe + Le + q.mainAxis, Ze = t.elements.arrow && Bi(t.elements.arrow), Je = Ze ? k === "y" ? Ze.clientTop || 0 : Ze.clientLeft || 0 : 0, et = ($ = L == null ? void 0 : L[k]) != null ? $ : 0, ie = Z + Ge - et - Je, se = Z + it - et, ve = pi(v ? cs(V, ie) : V, Z, v ? Wn(ae, se) : ae);
13387
13380
  I[k] = ve, O[k] = ve - Z;
13388
13381
  }
13389
13382
  if (u) {
@@ -15212,7 +15205,7 @@ function JN({
15212
15205
  for (let $ = 1; $ <= U9; $++) {
15213
15206
  for (let M = 1, D = i; M <= Bt; M++, D += D === Bt ? 1 - Bt : 1) {
15214
15207
  f && D === o && (p = 1, w = e.numDays, C = Math.floor((p - 1) / Bt + 1), k = Math.floor((s - p) / Bt + 1), S = 1, I = c, x = e.month, Y = e.year, f = !1, v = !0);
15215
- const B = n.getDateFromParams(Y, x, p, 0, 0, 0, 0), Z = n.getDateFromParams(Y, x, p, 12, 0, 0, 0), K = n.getDateFromParams(
15208
+ const B = n.getDateFromParams(Y, x, p, 0, 0, 0, 0), Z = n.getDateFromParams(Y, x, p, 12, 0, 0, 0), V = n.getDateFromParams(
15216
15209
  Y,
15217
15210
  x,
15218
15211
  p,
@@ -15243,7 +15236,7 @@ function JN({
15243
15236
  year: Y,
15244
15237
  date: ae,
15245
15238
  startDate: B,
15246
- endDate: K,
15239
+ endDate: V,
15247
15240
  noonDate: Z,
15248
15241
  dayIndex: Je,
15249
15242
  isToday: Ne,
@@ -17081,7 +17074,7 @@ function A6(e, { slots: t, emit: a }) {
17081
17074
  () => e.minPage || (C.value ? fe(C.value) : null)
17082
17075
  ), O = b(
17083
17076
  () => e.maxPage || (k.value ? fe(k.value) : null)
17084
- ), $ = b(() => e.navVisibility), M = b(() => !!e.showWeeknumbers), D = b(() => !!e.showIsoWeeknumbers), B = b(() => s.value === "monthly"), Z = b(() => s.value === "weekly"), K = b(() => s.value === "daily"), ae = () => {
17077
+ ), $ = b(() => e.navVisibility), M = b(() => !!e.showWeeknumbers), D = b(() => !!e.showIsoWeeknumbers), B = b(() => s.value === "monthly"), Z = b(() => s.value === "weekly"), V = b(() => s.value === "daily"), ae = () => {
17085
17078
  o.value = !0, a("transition-start");
17086
17079
  }, G = () => {
17087
17080
  o.value = !1, a("transition-end"), f && (f.resolve(!0), f = null);
@@ -17337,7 +17330,7 @@ function A6(e, { slots: t, emit: a }) {
17337
17330
  maxPage: O,
17338
17331
  isMonthly: B,
17339
17332
  isWeekly: Z,
17340
- isDaily: K,
17333
+ isDaily: V,
17341
17334
  navVisibility: $,
17342
17335
  showWeeknumbers: M,
17343
17336
  showIsoWeeknumbers: D,
@@ -17521,7 +17514,7 @@ const I6 = le({
17521
17514
  function Z() {
17522
17515
  o.isFocused = !0, o.isInteractive && ["focus", "hover-focus"].includes(o.visibility) && g();
17523
17516
  }
17524
- function K(G) {
17517
+ function V(G) {
17525
17518
  ["focus", "hover-focus"].includes(o.visibility) && (!G.relatedTarget || !Yo(n.value, G.relatedTarget)) && (o.isFocused = !1, !o.isHovered && o.autoHide && p());
17526
17519
  }
17527
17520
  function ae() {
@@ -17554,7 +17547,7 @@ const I6 = le({
17554
17547
  onMouseOver: D,
17555
17548
  onMouseLeave: B,
17556
17549
  onFocusIn: Z,
17557
- onFocusOut: K
17550
+ onFocusOut: V
17558
17551
  };
17559
17552
  }
17560
17553
  }), xn = (e, t) => {
@@ -17587,7 +17580,7 @@ function E6(e, t, a, n, r, i) {
17587
17580
  tabindex: "-1",
17588
17581
  class: `vc-popover-content direction-${e.direction}`
17589
17582
  }, e.$attrs), [
17590
- V(e.$slots, "default", {
17583
+ K(e.$slots, "default", {
17591
17584
  direction: e.direction,
17592
17585
  alignment: e.alignment,
17593
17586
  data: e.data,
@@ -17636,7 +17629,7 @@ const Cd = /* @__PURE__ */ xn(I6, [["render", E6]]), x6 = { class: "vc-day-popov
17636
17629
  }, null, 2)
17637
17630
  ])) : U("", !0),
17638
17631
  H("div", O6, [
17639
- V(n.$slots, "default", {}, () => [
17632
+ K(n.$slots, "default", {}, () => [
17640
17633
  we(re(e.attribute.popover ? e.attribute.popover.label : "No content provided"), 1)
17641
17634
  ])
17642
17635
  ])
@@ -17652,7 +17645,7 @@ const Cd = /* @__PURE__ */ xn(I6, [["render", E6]]), x6 = { class: "vc-day-popov
17652
17645
  },
17653
17646
  setup(e) {
17654
17647
  const a = Nm(e.name);
17655
- return (n, r) => A(a) ? (y(), ee(He(A(a)), na(Ye({ key: 0 }, n.$attrs)), null, 16)) : V(n.$slots, "default", { key: 1 });
17648
+ return (n, r) => A(a) ? (y(), ee(He(A(a)), na(Ye({ key: 0 }, n.$attrs)), null, 16)) : K(n.$slots, "default", { key: 1 });
17656
17649
  }
17657
17650
  }), L6 = { class: "vc-day-popover-container" }, B6 = {
17658
17651
  key: 0,
@@ -17982,7 +17975,7 @@ const pL = { class: "vc-nav-header" }, hL = ["disabled"], gL = ["disabled"], mL
17982
17975
  Z.value && (o.value && w(), k());
17983
17976
  }
17984
17977
  function p() {
17985
- K.value && (o.value && C(), S());
17978
+ V.value && (o.value && C(), S());
17986
17979
  }
17987
17980
  function w() {
17988
17981
  l.value--;
@@ -18040,7 +18033,7 @@ const pL = { class: "vc-nav-header" }, hL = ["disabled"], gL = ["disabled"], mL
18040
18033
  () => o.value ? I.value : L.value
18041
18034
  ), Z = b(
18042
18035
  () => o.value ? Y.value : $.value
18043
- ), K = b(
18036
+ ), V = b(
18044
18037
  () => o.value ? q.value : D.value
18045
18038
  ), ae = b(() => nm(L.value.map((fe) => fe.year))), G = b(() => Cr(L.value.map((fe) => fe.year))), he = b(() => o.value ? l.value : `${ae.value} - ${G.value}`);
18046
18039
  return wu(() => {
@@ -18085,14 +18078,14 @@ const pL = { class: "vc-nav-header" }, hL = ["disabled"], gL = ["disabled"], mL
18085
18078
  H("button", {
18086
18079
  type: "button",
18087
18080
  class: "vc-nav-arrow is-right vc-focus",
18088
- disabled: !A(K),
18081
+ disabled: !A(V),
18089
18082
  onClick: p,
18090
18083
  onKeydown: $e[2] || ($e[2] = (ge) => A(Eo)(ge, p))
18091
18084
  }, [
18092
18085
  j(da, {
18093
18086
  name: "nav-next-button",
18094
18087
  move: p,
18095
- disabled: !A(K)
18088
+ disabled: !A(V)
18096
18089
  }, {
18097
18090
  default: P(() => [
18098
18091
  j(Fr, {
@@ -18127,7 +18120,7 @@ const pL = { class: "vc-nav-header" }, hL = ["disabled"], gL = ["disabled"], mL
18127
18120
  page: null
18128
18121
  },
18129
18122
  setup(e) {
18130
- return vL(Lo(e, "page")), (a, n) => V(a.$slots, "default");
18123
+ return vL(Lo(e, "page")), (a, n) => K(a.$slots, "default");
18131
18124
  }
18132
18125
  }), wL = /* @__PURE__ */ le({
18133
18126
  __name: "CalendarNavPopover",
@@ -18181,13 +18174,13 @@ const pL = { class: "vc-nav-header" }, hL = ["disabled"], gL = ["disabled"], mL
18181
18174
  attributeCells: f.value
18182
18175
  }));
18183
18176
  function m({ data: D }, { popovers: B }) {
18184
- const { key: Z, customData: K, popover: ae } = D;
18177
+ const { key: Z, customData: V, popover: ae } = D;
18185
18178
  if (!ae)
18186
18179
  return;
18187
18180
  const G = Yv(
18188
18181
  {
18189
18182
  key: Z,
18190
- customData: K,
18183
+ customData: V,
18191
18184
  attribute: D
18192
18185
  },
18193
18186
  { ...ae },
@@ -18574,7 +18567,7 @@ function zL(e, { emit: t, slots: a }) {
18574
18567
  start: E[0],
18575
18568
  end: E[1]
18576
18569
  } : E[0];
18577
- }), K = b(() => {
18570
+ }), V = b(() => {
18578
18571
  if (!Le(s.value))
18579
18572
  return null;
18580
18573
  const E = {
@@ -18599,7 +18592,7 @@ function zL(e, { emit: t, slots: a }) {
18599
18592
  }), E;
18600
18593
  }), G = b(() => {
18601
18594
  const E = va(e.attributes) ? [...e.attributes] : [];
18602
- return ae.value ? E.unshift(ae.value) : K.value && E.unshift(K.value), E;
18595
+ return ae.value ? E.unshift(ae.value) : V.value && E.unshift(V.value), E;
18603
18596
  }), he = b(() => $e(
18604
18597
  e.rules === "auto" ? fe() : e.rules ?? {}
18605
18598
  ));
@@ -19350,7 +19343,7 @@ const WL = ["value"], _L = ["value", "disabled"], UL = {
19350
19343
  function iB(e, t, a, n, r, i) {
19351
19344
  const o = Ht("DatePickerPopover"), u = Ht("DatePickerBase");
19352
19345
  return e.$slots.default ? (y(), T(Ae, { key: 0 }, [
19353
- V(e.$slots, "default", na(Da(e.slotCtx))),
19346
+ K(e.$slots, "default", na(Da(e.slotCtx))),
19354
19347
  j(o, na(Da(e.$attrs)), null, 16)
19355
19348
  ], 64)) : (y(), ee(u, na(Ye({ key: 1 }, e.$attrs)), null, 16));
19356
19349
  }
@@ -19397,7 +19390,7 @@ const sB = { class: "k-segmented-control" }, lB = ["data-testid", "disabled", "o
19397
19390
  type: "button",
19398
19391
  onClick: (h) => c(v)
19399
19392
  }, [
19400
- V(d.$slots, "option-label", { option: v }, () => [
19393
+ K(d.$slots, "option-label", { option: v }, () => [
19401
19394
  we(re(v.label), 1)
19402
19395
  ], !0)
19403
19396
  ], 10, lB))), 128))
@@ -19450,7 +19443,7 @@ const sB = { class: "k-segmented-control" }, lB = ["data-testid", "disabled", "o
19450
19443
  }, v = N(e.modelValue.start), h = N(e.modelValue || f), m = l.value ? v : h, g = N({
19451
19444
  minutes: [0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55]
19452
19445
  }), p = b(() => ({
19453
- width: Tt(e.width)
19446
+ width: Dt(e.width)
19454
19447
  })), w = b(() => e.mode === $r.RelativeDateTime ? "dateTime" : e.mode === $r.RelativeDate ? "date" : e.mode), C = Intl.DateTimeFormat().resolvedOptions().timeZone, k = Yr({
19455
19448
  abbreviatedDisplay: e.placeholder,
19456
19449
  fullRangeDisplay: "",
@@ -19462,28 +19455,28 @@ const sB = { class: "k-segmented-control" }, lB = ["data-testid", "disabled", "o
19462
19455
  tabName: "relative"
19463
19456
  }), S = (D) => {
19464
19457
  if (!D) return;
19465
- const B = l.value ? !D.start : !D.start || !D.end, Z = (D == null ? void 0 : D.start) || /* @__PURE__ */ new Date(), K = (D == null ? void 0 : D.end) || null;
19466
- d.value = !!B, !l.value && D && D.start && D.end ? (h.value.start = Z, h.value.end = K) : D && D.start && (v.value = Z), k.selectedRange = k.previouslySelectedRange = {
19458
+ const B = l.value ? !D.start : !D.start || !D.end, Z = (D == null ? void 0 : D.start) || /* @__PURE__ */ new Date(), V = (D == null ? void 0 : D.end) || null;
19459
+ d.value = !!B, !l.value && D && D.start && D.end ? (h.value.start = Z, h.value.end = V) : D && D.start && (v.value = Z), k.selectedRange = k.previouslySelectedRange = {
19467
19460
  start: Z,
19468
- end: K,
19461
+ end: V,
19469
19462
  timePeriodsKey: ""
19470
19463
  };
19471
19464
  }, I = (D, B = !1) => {
19472
19465
  k.selectedTimeframe = k.previouslySelectedTimeframe = D;
19473
- const Z = k.selectedTimeframe.start(), K = k.selectedTimeframe.end();
19466
+ const Z = k.selectedTimeframe.start(), V = k.selectedTimeframe.end();
19474
19467
  k.selectedRange = {
19475
19468
  start: new Date(Z),
19476
- end: new Date(K),
19469
+ end: new Date(V),
19477
19470
  timePeriodsKey: k.selectedTimeframe.key
19478
19471
  }, k.fullRangeDisplay = Y(k.selectedRange, !1), d.value = !1, B && F();
19479
19472
  }, x = () => {
19480
19473
  var D;
19481
19474
  h.value = f, v.value = null, k.abbreviatedDisplay = e.placeholder, k.fullRangeDisplay = "", s.value && (k.selectedTimeframe = (D = e.timePeriods[0]) == null ? void 0 : D.values[0]), k.selectedRange = k.previouslySelectedRange = f, a("change", k.selectedRange), a("update:modelValue", k.selectedRange);
19482
19475
  }, Y = (D, B) => {
19483
- const { start: Z, end: K } = D;
19476
+ const { start: Z, end: V } = D;
19484
19477
  let ae = "PP hh:mm a";
19485
19478
  const G = Cl(Z, C, "(z)");
19486
- return !u.value && s.value ? ae = "PP hh:mm a" : M1.includes(e.mode) && (ae = "PP"), l.value ? `${vl(Z, ae)} ${G}` : B ? `<div>${vl(Z, ae)} -&nbsp;</div><div>${Cl(K, C, ae)} ${G}</div>` : `${vl(Z, ae)} - ${Cl(K, C, ae)} ${G}`;
19479
+ return !u.value && s.value ? ae = "PP hh:mm a" : M1.includes(e.mode) && (ae = "PP"), l.value ? `${vl(Z, ae)} ${G}` : B ? `<div>${vl(Z, ae)} -&nbsp;</div><div>${Cl(V, C, ae)} ${G}</div>` : `${vl(Z, ae)} - ${Cl(V, C, ae)} ${G}`;
19487
19480
  }, F = async () => {
19488
19481
  var D;
19489
19482
  l.value ? (a("change", { start: k.selectedRange.start, end: null }), a("update:modelValue", { start: k.selectedRange.start, end: null })) : (a("change", k.selectedRange), a("update:modelValue", k.selectedRange)), (D = n.value) == null || D.hidePopover(), q();
@@ -19555,8 +19548,8 @@ const sB = { class: "k-segmented-control" }, lB = ["data-testid", "disabled", "o
19555
19548
  "select-attribute": i,
19556
19549
  transparent: ""
19557
19550
  }, null, 8, ["modelValue", "is-range", "max-date", "min-date", "mode", "rules"])) : s.value && !l.value ? (y(), T("div", vB, [
19558
- (y(!0), T(Ae, null, Re(D.timePeriods, (Z, K) => (y(), T("div", {
19559
- key: `section-${String(Z.section || K)}`,
19551
+ (y(!0), T(Ae, null, Re(D.timePeriods, (Z, V) => (y(), T("div", {
19552
+ key: `section-${String(Z.section || V)}`,
19560
19553
  class: "timeframe-section"
19561
19554
  }, [
19562
19555
  H("div", pB, re(Z.section), 1),
@@ -19655,10 +19648,10 @@ const sB = { class: "k-segmented-control" }, lB = ["data-testid", "disabled", "o
19655
19648
  },
19656
19649
  emits: ["file-added", "file-removed", "error"],
19657
19650
  setup(e, { emit: t }) {
19658
- const a = t, n = Dt(), r = Jt(), { stripRequiredLabel: i } = In(), o = $t(), u = b(() => r.id ? String(r.id) : o), l = b(() => {
19651
+ const a = t, n = St(), r = Jt(), { stripRequiredLabel: i } = In(), o = $t(), u = b(() => r.id ? String(r.id) : o), l = b(() => {
19659
19652
  const x = { ...r };
19660
19653
  return delete x.id, x;
19661
- }), s = St("input"), c = b(() => {
19654
+ }), s = Tt("input"), c = b(() => {
19662
19655
  var x;
19663
19656
  return !!((x = e.labelAttributes) != null && x.info || n["label-tooltip"]);
19664
19657
  }), d = b(() => i(e.label, f.value)), f = b(() => (r == null ? void 0 : r.required) !== void 0 && String(r == null ? void 0 : r.required) !== "false"), v = N(!1), h = b(() => {
@@ -19699,7 +19692,7 @@ const sB = { class: "k-segmented-control" }, lB = ["data-testid", "disabled", "o
19699
19692
  c.value ? {
19700
19693
  name: "tooltip",
19701
19694
  fn: P(() => [
19702
- V(x.$slots, "label-tooltip", {}, void 0, !0)
19695
+ K(x.$slots, "label-tooltip", {}, void 0, !0)
19703
19696
  ]),
19704
19697
  key: "0"
19705
19698
  } : void 0
@@ -19744,7 +19737,7 @@ const sB = { class: "k-segmented-control" }, lB = ["data-testid", "disabled", "o
19744
19737
  x.$slots.icon ? {
19745
19738
  name: "before",
19746
19739
  fn: P(() => [
19747
- V(x.$slots, "icon", {}, void 0, !0)
19740
+ K(x.$slots, "icon", {}, void 0, !0)
19748
19741
  ]),
19749
19742
  key: "0"
19750
19743
  } : void 0
@@ -19821,7 +19814,7 @@ const sB = { class: "k-segmented-control" }, lB = ["data-testid", "disabled", "o
19821
19814
  for: o.value
19822
19815
  }, {
19823
19816
  default: P(() => [
19824
- V(c.$slots, "label", {}, () => [
19817
+ K(c.$slots, "label", {}, () => [
19825
19818
  we(re(c.label), 1)
19826
19819
  ], !0)
19827
19820
  ]),
@@ -20178,18 +20171,18 @@ var bp = {
20178
20171
  }, s = function($, M) {
20179
20172
  var D = typeof (M == null ? void 0 : M.composedPath) == "function" ? M.composedPath() : void 0;
20180
20173
  return o.containerGroups.findIndex(function(B) {
20181
- var Z = B.container, K = B.tabbableNodes;
20174
+ var Z = B.container, V = B.tabbableNodes;
20182
20175
  return Z.contains($) || // fall back to explicit tabbable search which will take into consideration any
20183
20176
  // web components if the `tabbableOptions.getShadowRoot` option was used for
20184
20177
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
20185
20178
  // look inside web components even if open)
20186
- (D == null ? void 0 : D.includes(Z)) || K.find(function(ae) {
20179
+ (D == null ? void 0 : D.includes(Z)) || V.find(function(ae) {
20187
20180
  return ae === $;
20188
20181
  });
20189
20182
  });
20190
20183
  }, c = function($) {
20191
- var M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, D = M.hasFallback, B = D === void 0 ? !1 : D, Z = M.params, K = Z === void 0 ? [] : Z, ae = i[$];
20192
- if (typeof ae == "function" && (ae = ae.apply(void 0, jB(K))), ae === !0 && (ae = void 0), !ae) {
20184
+ var M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, D = M.hasFallback, B = D === void 0 ? !1 : D, Z = M.params, V = Z === void 0 ? [] : Z, ae = i[$];
20185
+ if (typeof ae == "function" && (ae = ae.apply(void 0, jB(V))), ae === !0 && (ae = void 0), !ae) {
20193
20186
  if (ae === void 0 || ae === !1)
20194
20187
  return ae;
20195
20188
  throw new Error("`".concat($, "` was specified but was not a node, or did not return a node"));
@@ -20224,7 +20217,7 @@ var bp = {
20224
20217
  return $;
20225
20218
  }, f = function() {
20226
20219
  if (o.containerGroups = o.containers.map(function($) {
20227
- var M = HB($, i.tabbableOptions), D = qB($, i.tabbableOptions), B = M.length > 0 ? M[0] : void 0, Z = M.length > 0 ? M[M.length - 1] : void 0, K = D.find(function(he) {
20220
+ var M = HB($, i.tabbableOptions), D = qB($, i.tabbableOptions), B = M.length > 0 ? M[0] : void 0, Z = M.length > 0 ? M[M.length - 1] : void 0, V = D.find(function(he) {
20228
20221
  return cr(he);
20229
20222
  }), ae = D.slice().reverse().find(function(he) {
20230
20223
  return cr(he);
@@ -20249,7 +20242,7 @@ var bp = {
20249
20242
  // "close enough most of the time" alternative for positive tabindexes which should generally
20250
20243
  // be avoided anyway...
20251
20244
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
20252
- firstDomTabbableNode: K,
20245
+ firstDomTabbableNode: V,
20253
20246
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
20254
20247
  lastDomTabbableNode: ae,
20255
20248
  /**
@@ -20299,11 +20292,11 @@ var bp = {
20299
20292
  }, g = function($) {
20300
20293
  var M = $.target, D = $.event, B = $.isBackward, Z = B === void 0 ? !1 : B;
20301
20294
  M = M || xo(D), f();
20302
- var K = null;
20295
+ var V = null;
20303
20296
  if (o.tabbableGroups.length > 0) {
20304
20297
  var ae = s(M, D), G = ae >= 0 ? o.containerGroups[ae] : void 0;
20305
20298
  if (ae < 0)
20306
- Z ? K = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : K = o.tabbableGroups[0].firstTabbableNode;
20299
+ Z ? V = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : V = o.tabbableGroups[0].firstTabbableNode;
20307
20300
  else if (Z) {
20308
20301
  var he = o.tabbableGroups.findIndex(function(Le) {
20309
20302
  var qe = Le.firstTabbableNode;
@@ -20311,8 +20304,8 @@ var bp = {
20311
20304
  });
20312
20305
  if (he < 0 && (G.container === M || xl(M, i.tabbableOptions) && !cr(M, i.tabbableOptions) && !G.nextTabbableNode(M, !1)) && (he = ae), he >= 0) {
20313
20306
  var fe = he === 0 ? o.tabbableGroups.length - 1 : he - 1, $e = o.tabbableGroups[fe];
20314
- K = Rn(M) >= 0 ? $e.lastTabbableNode : $e.lastDomTabbableNode;
20315
- } else gi(D) || (K = G.nextTabbableNode(M, !1));
20307
+ V = Rn(M) >= 0 ? $e.lastTabbableNode : $e.lastDomTabbableNode;
20308
+ } else gi(D) || (V = G.nextTabbableNode(M, !1));
20316
20309
  } else {
20317
20310
  var ge = o.tabbableGroups.findIndex(function(Le) {
20318
20311
  var qe = Le.lastTabbableNode;
@@ -20320,12 +20313,12 @@ var bp = {
20320
20313
  });
20321
20314
  if (ge < 0 && (G.container === M || xl(M, i.tabbableOptions) && !cr(M, i.tabbableOptions) && !G.nextTabbableNode(M)) && (ge = ae), ge >= 0) {
20322
20315
  var Ne = ge === o.tabbableGroups.length - 1 ? 0 : ge + 1, _e = o.tabbableGroups[Ne];
20323
- K = Rn(M) >= 0 ? _e.firstTabbableNode : _e.firstDomTabbableNode;
20324
- } else gi(D) || (K = G.nextTabbableNode(M));
20316
+ V = Rn(M) >= 0 ? _e.firstTabbableNode : _e.firstDomTabbableNode;
20317
+ } else gi(D) || (V = G.nextTabbableNode(M));
20325
20318
  }
20326
20319
  } else
20327
- K = c("fallbackFocus");
20328
- return K;
20320
+ V = c("fallbackFocus");
20321
+ return V;
20329
20322
  }, p = function($) {
20330
20323
  var M = xo($);
20331
20324
  if (!(s(M, $) >= 0)) {
@@ -20352,7 +20345,7 @@ var bp = {
20352
20345
  var B, Z = !0;
20353
20346
  if (o.mostRecentlyFocusedNode)
20354
20347
  if (Rn(o.mostRecentlyFocusedNode) > 0) {
20355
- var K = s(o.mostRecentlyFocusedNode), ae = o.containerGroups[K].tabbableNodes;
20348
+ var V = s(o.mostRecentlyFocusedNode), ae = o.containerGroups[V].tabbableNodes;
20356
20349
  if (ae.length > 0) {
20357
20350
  var G = ae.findIndex(function(he) {
20358
20351
  return he === o.mostRecentlyFocusedNode;
@@ -20452,14 +20445,14 @@ var bp = {
20452
20445
  checkCanReturnFocus: i.checkCanReturnFocus
20453
20446
  }, $);
20454
20447
  clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, Y(), o.active = !1, o.paused = !1, L(), bp.deactivateTrap(r, u);
20455
- var D = l(M, "onDeactivate"), B = l(M, "onPostDeactivate"), Z = l(M, "checkCanReturnFocus"), K = l(M, "returnFocus", "returnFocusOnDeactivate");
20448
+ var D = l(M, "onDeactivate"), B = l(M, "onPostDeactivate"), Z = l(M, "checkCanReturnFocus"), V = l(M, "returnFocus", "returnFocusOnDeactivate");
20456
20449
  D == null || D();
20457
20450
  var ae = function() {
20458
20451
  wp(function() {
20459
- K && h(m(o.nodeFocusedBeforeActivation)), B == null || B();
20452
+ V && h(m(o.nodeFocusedBeforeActivation)), B == null || B();
20460
20453
  });
20461
20454
  };
20462
- return K && Z ? (Z(m(o.nodeFocusedBeforeActivation)).then(ae, ae), this) : (ae(), this);
20455
+ return V && Z ? (Z(m(o.nodeFocusedBeforeActivation)).then(ae, ae), this) : (ae(), this);
20463
20456
  },
20464
20457
  pause: function($) {
20465
20458
  return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, $)) : this;
@@ -20487,8 +20480,8 @@ var bp = {
20487
20480
  var D = l(M, "onPause"), B = l(M, "onPostPause");
20488
20481
  D == null || D(), Y(), L(), B == null || B();
20489
20482
  } else {
20490
- var Z = l(M, "onUnpause"), K = l(M, "onPostUnpause");
20491
- Z == null || Z(), f(), x(), L(), K == null || K();
20483
+ var Z = l(M, "onUnpause"), V = l(M, "onPostUnpause");
20484
+ Z == null || Z(), f(), x(), L(), V == null || V();
20492
20485
  }
20493
20486
  return this;
20494
20487
  }
@@ -20628,7 +20621,7 @@ const rR = {
20628
20621
  "5c7fae9c": l.value,
20629
20622
  "7a620b59": s.value
20630
20623
  }));
20631
- const a = t, n = Dt(), r = Jt(), i = Yb(), o = N(null), u = N(null), l = b(() => e.fullScreen && !n.content ? "95%" : Tt(e.maxWidth)), s = b(() => e.fullScreen && !n.content ? "95vh" : Tt(e.maxHeight)), c = b(() => {
20624
+ const a = t, n = St(), r = Jt(), i = Yb(), o = N(null), u = N(null), l = b(() => e.fullScreen && !n.content ? "95%" : Dt(e.maxWidth)), s = b(() => e.fullScreen && !n.content ? "95vh" : Dt(e.maxHeight)), c = b(() => {
20632
20625
  const w = Object.assign({}, r);
20633
20626
  return delete w.class, w;
20634
20627
  }), d = b(() => !!e.title || !!n.title || !e.hideCloseIcon), f = (w) => {
@@ -20679,10 +20672,10 @@ const rR = {
20679
20672
  class: de(["modal-container", { "custom-content": w.$slots.content }]),
20680
20673
  tabindex: "-1"
20681
20674
  }, [
20682
- V(w.$slots, "content", {}, () => [
20675
+ K(w.$slots, "content", {}, () => [
20683
20676
  d.value ? (y(), T("div", sR, [
20684
20677
  w.title || w.$slots.title ? (y(), T("div", lR, [
20685
- V(w.$slots, "title", {}, () => [
20678
+ K(w.$slots, "title", {}, () => [
20686
20679
  we(re(w.title), 1)
20687
20680
  ], !0)
20688
20681
  ])) : U("", !0),
@@ -20703,12 +20696,12 @@ const rR = {
20703
20696
  H("div", {
20704
20697
  class: de(["modal-content", { "no-header": !d.value }])
20705
20698
  }, [
20706
- V(w.$slots, "default", {}, void 0, !0)
20699
+ K(w.$slots, "default", {}, void 0, !0)
20707
20700
  ], 2),
20708
20701
  H("div", uR, [
20709
- V(w.$slots, "footer", {}, () => [
20702
+ K(w.$slots, "footer", {}, () => [
20710
20703
  H("div", dR, [
20711
- V(w.$slots, "footer-actions", {}, () => [
20704
+ K(w.$slots, "footer-actions", {}, () => [
20712
20705
  w.hideCancelButton ? U("", !0) : (y(), ee(nt, {
20713
20706
  key: 0,
20714
20707
  appearance: w.cancelButtonAppearance,
@@ -20865,36 +20858,36 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
20865
20858
  }, [
20866
20859
  H("div", vR, [
20867
20860
  s.$slots["body-header"] || e.bodyHeader ? (y(), T("div", pR, [
20868
- V(s.$slots, "body-header", {}, () => [
20861
+ K(s.$slots, "body-header", {}, () => [
20869
20862
  we(re(e.bodyHeader), 1)
20870
20863
  ], !0)
20871
20864
  ])) : U("", !0),
20872
20865
  s.$slots["body-header-description"] || e.bodyHeaderDescription ? (y(), T("div", hR, [
20873
- V(s.$slots, "body-header-description", {}, () => [
20866
+ K(s.$slots, "body-header-description", {}, () => [
20874
20867
  we(re(e.bodyHeaderDescription), 1)
20875
20868
  ], !0)
20876
20869
  ])) : U("", !0)
20877
20870
  ]),
20878
20871
  H("div", gR, [
20879
- V(s.$slots, "default", {}, void 0, !0)
20872
+ K(s.$slots, "default", {}, void 0, !0)
20880
20873
  ]),
20881
20874
  H("div", mR, [
20882
20875
  H("div", yR, [
20883
20876
  H("div", bR, [
20884
20877
  H("span", wR, [
20885
- V(s.$slots, "header-icon", {}, () => [
20878
+ K(s.$slots, "header-icon", {}, () => [
20886
20879
  j(A($u), { color: A(Sy) }, null, 8, ["color"])
20887
20880
  ], !0)
20888
20881
  ]),
20889
20882
  H("span", CR, [
20890
- V(s.$slots, "header-content", {}, () => [
20883
+ K(s.$slots, "header-content", {}, () => [
20891
20884
  we(re(e.title), 1)
20892
20885
  ], !0)
20893
20886
  ])
20894
20887
  ]),
20895
20888
  H("div", kR, [
20896
20889
  H("div", $R, [
20897
- V(s.$slots, "action-buttons", {}, () => [
20890
+ K(s.$slots, "action-buttons", {}, () => [
20898
20891
  j(nt, {
20899
20892
  appearance: e.cancelButtonAppearance,
20900
20893
  class: "cancel-button",
@@ -20921,10 +20914,10 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
20921
20914
  ])
20922
20915
  ]),
20923
20916
  s.$slots["footer-content"] ? (y(), T("div", SR, [
20924
- V(s.$slots, "footer-content", {}, void 0, !0),
20917
+ K(s.$slots, "footer-content", {}, void 0, !0),
20925
20918
  H("div", TR, [
20926
20919
  H("div", DR, [
20927
- V(s.$slots, "action-buttons", {}, () => [
20920
+ K(s.$slots, "action-buttons", {}, () => [
20928
20921
  j(nt, {
20929
20922
  appearance: e.actionButtonAppearance,
20930
20923
  class: "proceed-button",
@@ -20972,7 +20965,7 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
20972
20965
  ]
20973
20966
  }, [
20974
20967
  H("span", OR, [
20975
- V(r.$slots, "content", {}, () => [
20968
+ K(r.$slots, "content", {}, () => [
20976
20969
  we(re(r.item.label), 1)
20977
20970
  ], !0)
20978
20971
  ])
@@ -21003,7 +20996,7 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
21003
20996
  }), u = (d) => {
21004
20997
  var f;
21005
20998
  return (f = e.items) == null ? void 0 : f.filter((v) => v.group === d);
21006
- }, l = St("itemsContainer"), s = (d) => {
20999
+ }, l = Tt("itemsContainer"), s = (d) => {
21007
21000
  var h;
21008
21001
  const f = l.value;
21009
21002
  if (!f)
@@ -21028,7 +21021,7 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
21028
21021
  onSelected: r
21029
21022
  }, {
21030
21023
  content: P(() => [
21031
- V(d.$slots, "content", { item: v }, void 0, !0)
21024
+ K(d.$slots, "content", { item: v }, void 0, !0)
21032
21025
  ]),
21033
21026
  _: 2
21034
21027
  }, 1032, ["item"]))), 128)),
@@ -21044,7 +21037,7 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
21044
21037
  onSelected: r
21045
21038
  }, {
21046
21039
  content: P(() => [
21047
- V(d.$slots, "content", { item: h }, void 0, !0)
21040
+ K(d.$slots, "content", { item: h }, void 0, !0)
21048
21041
  ]),
21049
21042
  _: 2
21050
21043
  }, 1032, ["item"]))), 128))
@@ -21067,7 +21060,7 @@ Docs: https://kongponents.konghq.com/components/modal.html#fullscreen`);
21067
21060
  }, 8, ["item"])) : U("", !0)
21068
21061
  ], 512));
21069
21062
  }
21070
- }), FR = /* @__PURE__ */ Oe(RR, [["__scopeId", "data-v-d937032e"]]);
21063
+ }), FR = /* @__PURE__ */ Oe(RR, [["__scopeId", "data-v-a2ee6e0d"]]);
21071
21064
  function vu(e) {
21072
21065
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;");
21073
21066
  }
@@ -21146,13 +21139,13 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21146
21139
  emits: ["selected", "input", "change", "update:modelValue", "query-change", "item-added", "item-removed"],
21147
21140
  setup(e, { emit: t }) {
21148
21141
  Rt((X) => ({
21149
- "719ee018": qe.value
21142
+ "5a822525": qe.value
21150
21143
  }));
21151
- const a = Jt(), n = Dt(), { cloneDeep: r, stripRequiredLabel: i } = In(), o = 36, u = "Filter...";
21144
+ const a = Jt(), n = St(), { cloneDeep: r, stripRequiredLabel: i } = In(), o = 36, u = "Filter...";
21152
21145
  ue(() => e.items, (X) => {
21153
21146
  !X.length || X.every((Ee) => Ee.label !== void 0 && Ee.value !== void 0) && JR(X) || console.warn("KMultiselect: Items must have a label & value and value must be unique");
21154
21147
  }, { immediate: !0 });
21155
- const l = t, s = St("kMultiselectItems"), c = b(() => a.required !== void 0 && String(a.required) !== "false"), d = b(() => i(e.label, c.value)), f = b(() => {
21148
+ const l = t, s = Tt("kMultiselectItems"), c = b(() => a.required !== void 0 && String(a.required) !== "false"), d = b(() => i(e.label, c.value)), f = b(() => {
21156
21149
  var X, me;
21157
21150
  return !!((X = e.labelAttributes) != null && X.help || (me = e.labelAttributes) != null && me.info || n["label-tooltip"]);
21158
21151
  }), v = (X) => $e.value || ge.value || X != null && X.disabled ? "neutral" : e.error ? "danger" : "info", h = {
@@ -21160,7 +21153,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21160
21153
  placement: "bottom-start",
21161
21154
  popoverTimeout: 0,
21162
21155
  popoverClasses: "multiselect-popover"
21163
- }, m = N(0), g = N(0), p = $t(), w = b(() => a.id ? String(a.id) : p), C = $t(), k = St("multiselectElement"), S = St("multiselectDropdownInputElement"), I = St("multiselectSelectionsStagingElement"), x = b(() => e.selectedRowCount * o), Y = N(""), F = b(() => !(!Y.value || L.value.filter((X) => X.label === Y.value).length)), q = N(null), L = N([]), O = N([]), $ = N([]), M = N([]), D = N([]), B = /* @__PURE__ */ new Set(), Z = N([]), K = N([]), ae = b(() => K.value.map((X) => X.label).join(", ")), G = N(!1), he = N(!1), fe = N(!1), $e = b(() => (a == null ? void 0 : a.disabled) !== void 0 && String(a == null ? void 0 : a.disabled) !== "false"), ge = b(() => (a == null ? void 0 : a.readonly) !== void 0 && String(a == null ? void 0 : a.readonly) !== "false"), Ne = b({
21156
+ }, m = N(0), g = N(0), p = $t(), w = b(() => a.id ? String(a.id) : p), C = $t(), k = Tt("multiselectElement"), S = Tt("multiselectDropdownInputElement"), I = Tt("multiselectSelectionsStagingElement"), x = b(() => e.selectedRowCount * o), Y = N(""), F = b(() => !(!Y.value || L.value.filter((X) => X.label === Y.value).length)), q = N(null), L = N([]), O = N([]), $ = N([]), M = N([]), D = N([]), B = /* @__PURE__ */ new Set(), Z = N([]), V = N([]), ae = b(() => V.value.map((X) => X.label).join(", ")), G = N(!1), he = N(!1), fe = N(!1), $e = b(() => (a == null ? void 0 : a.disabled) !== void 0 && String(a == null ? void 0 : a.disabled) !== "false"), ge = b(() => (a == null ? void 0 : a.readonly) !== void 0 && String(a == null ? void 0 : a.readonly) !== "false"), Ne = b({
21164
21157
  get() {
21165
21158
  return e.modelValue;
21166
21159
  },
@@ -21181,9 +21174,9 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21181
21174
  maxWidth: oe.value + "px",
21182
21175
  disabled: a.disabled !== void 0 && String(a.disabled) !== "false" || a.readonly !== void 0 && String(a.readonly) !== "false"
21183
21176
  };
21184
- }), qe = b(() => Tt(e.dropdownMaxHeight)), Ge = b(() => ({ ...Le.value })), it = b(() => {
21177
+ }), qe = b(() => Dt(e.dropdownMaxHeight)), Ge = b(() => ({ ...Le.value })), it = b(() => {
21185
21178
  const X = e.width ? e.width : "300";
21186
- return Tt(X);
21179
+ return Dt(X);
21187
21180
  }), Ze = b(() => ({
21188
21181
  width: it.value
21189
21182
  })), Je = b(() => ({
@@ -21297,7 +21290,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21297
21290
  setTimeout(() => {
21298
21291
  const X = I.value;
21299
21292
  if (e.collapsedContext) {
21300
- Z.value = r(M.value), K.value = [], m.value++;
21293
+ Z.value = r(M.value), V.value = [], m.value++;
21301
21294
  return;
21302
21295
  }
21303
21296
  if (X)
@@ -21305,7 +21298,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21305
21298
  const Ee = M.value.pop();
21306
21299
  Ee && !B.has(Ee.value) && (D.value.push(Ee), B.add(Ee.value)), g.value++;
21307
21300
  } else
21308
- Z.value = r(M.value), K.value = r(D.value), m.value++;
21301
+ Z.value = r(M.value), V.value = r(D.value), m.value++;
21309
21302
  }, 0);
21310
21303
  }), ue(m, async () => {
21311
21304
  q.value && typeof q.value.updatePopper == "function" && (await ht(), q.value.updatePopper());
@@ -21364,13 +21357,13 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21364
21357
  f.value ? {
21365
21358
  name: "tooltip",
21366
21359
  fn: P(() => [
21367
- V(X.$slots, "label-tooltip", {}, void 0, !0)
21360
+ K(X.$slots, "label-tooltip", {}, void 0, !0)
21368
21361
  ]),
21369
21362
  key: "0"
21370
21363
  } : void 0
21371
21364
  ]), 1040, ["data-testid", "for", "required"])) : U("", !0),
21372
21365
  H("div", qR, [
21373
- j(A(Os), null, {
21366
+ j(Os, null, {
21374
21367
  default: P(({ isToggled: W, toggle: E }) => [
21375
21368
  j(Jn, Ye({
21376
21369
  ref_key: "popper",
@@ -21422,7 +21415,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21422
21415
  onSelected: Se
21423
21416
  }, {
21424
21417
  content: P(({ item: Q }) => [
21425
- V(X.$slots, "item-template", {
21418
+ K(X.$slots, "item-template", {
21426
21419
  class: "multiselect-item",
21427
21420
  item: Q
21428
21421
  }, void 0, !0)
@@ -21436,7 +21429,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21436
21429
  item: { label: "No results", value: "no_results", disabled: !0 }
21437
21430
  })) : U("", !0),
21438
21431
  X.$slots.empty && !X.loading && !O.value.length ? (y(), T("div", GR, [
21439
- V(X.$slots, "empty", {}, void 0, !0)
21432
+ K(X.$slots, "empty", {}, void 0, !0)
21440
21433
  ])) : U("", !0)
21441
21434
  ], 32),
21442
21435
  X.dropdownFooterText || X.$slots["dropdown-footer-text"] ? (y(), T("div", {
@@ -21444,7 +21437,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21444
21437
  class: de(["dropdown-footer", `dropdown-footer-${X.dropdownFooterTextPosition}`]),
21445
21438
  "data-testid": "dropdown-footer"
21446
21439
  }, [
21447
- V(X.$slots, "dropdown-footer-text", {}, () => [
21440
+ K(X.$slots, "dropdown-footer-text", {}, () => [
21448
21441
  we(re(X.dropdownFooterText), 1)
21449
21442
  ], !0)
21450
21443
  ], 2)) : U("", !0)
@@ -21525,7 +21518,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21525
21518
  key: "0"
21526
21519
  } : void 0
21527
21520
  ]), 1032, ["appearance", "tooltip"]))), 128)),
21528
- K.value.length ? (y(), ee(Ee, {
21521
+ V.value.length ? (y(), ee(Ee, {
21529
21522
  key: 0,
21530
21523
  class: "hidden-selection-count-tooltip",
21531
21524
  "max-width": "300",
@@ -21540,7 +21533,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21540
21533
  }, ["stop"]))
21541
21534
  }, {
21542
21535
  default: P(() => [
21543
- we(" +" + re(K.value.length), 1)
21536
+ we(" +" + re(V.value.length), 1)
21544
21537
  ]),
21545
21538
  _: 1
21546
21539
  }, 8, ["appearance"])
@@ -21620,7 +21613,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21620
21613
  ], 6);
21621
21614
  };
21622
21615
  }
21623
- }), tF = /* @__PURE__ */ Oe(eF, [["__scopeId", "data-v-fb549160"]]), aF = {
21616
+ }), tF = /* @__PURE__ */ Oe(eF, [["__scopeId", "data-v-24a98a81"]]), aF = {
21624
21617
  key: 0,
21625
21618
  class: "prompt-content"
21626
21619
  }, nF = { class: "prompt-message" }, rF = {
@@ -21646,7 +21639,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21646
21639
  },
21647
21640
  emits: ["proceed", "cancel"],
21648
21641
  setup(e, { emit: t }) {
21649
- const a = t, n = Dt(), r = Jt(), i = b(() => {
21642
+ const a = t, n = St(), r = Jt(), i = b(() => {
21650
21643
  const d = Object.assign({}, r);
21651
21644
  return delete d["tabbable-options"], delete d["max-width"], delete d["max-height"], delete d["close-on-backdrop-click"], delete d["input-autofocus"], delete d["hide-close-icon"], delete d["hide-cancel-button"], delete d["full-screen"], d;
21652
21645
  }), o = N(""), u = N(!1), l = b(() => e.actionButtonDisabled ? !0 : e.confirmationText ? e.confirmationText !== o.value : !1), s = b(() => e.confirmationPrompt.split("{confirmationText}")), c = () => {
@@ -21672,7 +21665,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21672
21665
  }), mt({
21673
21666
  default: P(() => [
21674
21667
  n.default || d.message ? (y(), T("div", aF, [
21675
- V(d.$slots, "default", {}, () => [
21668
+ K(d.$slots, "default", {}, () => [
21676
21669
  H("p", nF, re(d.message), 1)
21677
21670
  ], !0)
21678
21671
  ])) : U("", !0),
@@ -21700,7 +21693,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21700
21693
  n.title ? {
21701
21694
  name: "title",
21702
21695
  fn: P(() => [
21703
- V(d.$slots, "title", {}, void 0, !0)
21696
+ K(d.$slots, "title", {}, void 0, !0)
21704
21697
  ]),
21705
21698
  key: "0"
21706
21699
  } : void 0
@@ -21745,7 +21738,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21745
21738
  }, { deep: !0, immediate: !0 }), ue(() => e.type, (p) => {
21746
21739
  p && console.warn("KRadio: `type` prop is deprecated. Please use `card` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#kradio");
21747
21740
  }, { immediate: !0 });
21748
- const a = t, n = Dt(), r = Jt(), i = $t(), o = b(() => r.id ? String(r.id) : i), u = b(() => (r == null ? void 0 : r.disabled) !== void 0 && String(r == null ? void 0 : r.disabled) !== "false"), l = b(() => !!(e.label || n.default)), s = b(() => l.value && (!!e.description || !!n.description)), c = b(() => !!e.label && (!!e.description || !!n.description)), d = b(() => !!n.tooltip), f = b(() => e.selectedValue === e.modelValue), v = () => {
21741
+ const a = t, n = St(), r = Jt(), i = $t(), o = b(() => r.id ? String(r.id) : i), u = b(() => (r == null ? void 0 : r.disabled) !== void 0 && String(r == null ? void 0 : r.disabled) !== "false"), l = b(() => !!(e.label || n.default)), s = b(() => l.value && (!!e.description || !!n.description)), c = b(() => !!e.label && (!!e.description || !!n.description)), d = b(() => !!n.tooltip), f = b(() => e.selectedValue === e.modelValue), v = () => {
21749
21742
  a("change", e.selectedValue), a("update:modelValue", e.selectedValue);
21750
21743
  }, h = b(() => {
21751
21744
  const p = { ...r };
@@ -21784,7 +21777,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21784
21777
  for: o.value
21785
21778
  }), mt({
21786
21779
  default: P(() => [
21787
- V(p.$slots, "default", {}, () => [
21780
+ K(p.$slots, "default", {}, () => [
21788
21781
  we(re(p.label), 1)
21789
21782
  ], !0)
21790
21783
  ]),
@@ -21793,13 +21786,13 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21793
21786
  d.value ? {
21794
21787
  name: "tooltip",
21795
21788
  fn: P(() => [
21796
- V(p.$slots, "tooltip", {}, void 0, !0)
21789
+ K(p.$slots, "tooltip", {}, void 0, !0)
21797
21790
  ]),
21798
21791
  key: "0"
21799
21792
  } : void 0
21800
21793
  ]), 1040, ["for"]),
21801
21794
  s.value ? (y(), T("div", dF, [
21802
- V(p.$slots, "description", {}, () => [
21795
+ K(p.$slots, "description", {}, () => [
21803
21796
  H("p", null, re(p.description), 1)
21804
21797
  ], !0)
21805
21798
  ])) : U("", !0)
@@ -21814,12 +21807,12 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21814
21807
  onKeyup: ut(v, ["space"])
21815
21808
  }, [
21816
21809
  p.$slots.default ? (y(), T("span", fF, [
21817
- V(p.$slots, "default", {}, void 0, !0)
21810
+ K(p.$slots, "default", {}, void 0, !0)
21818
21811
  ])) : U("", !0),
21819
21812
  p.label || c.value ? (y(), T("span", vF, [
21820
21813
  p.label ? (y(), T("span", pF, re(p.label), 1)) : U("", !0),
21821
21814
  c.value ? (y(), T("span", hF, [
21822
- V(p.$slots, "description", {}, () => [
21815
+ K(p.$slots, "description", {}, () => [
21823
21816
  we(re(p.description), 1)
21824
21817
  ], !0)
21825
21818
  ])) : U("", !0)
@@ -21861,7 +21854,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21861
21854
  ]
21862
21855
  }, [
21863
21856
  H("span", kF, [
21864
- V(r.$slots, "content", {}, () => [
21857
+ K(r.$slots, "content", {}, () => [
21865
21858
  we(re(r.item.label), 1)
21866
21859
  ], !0)
21867
21860
  ])
@@ -21888,7 +21881,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21888
21881
  }), u = (d) => {
21889
21882
  var f;
21890
21883
  return (f = e.items) == null ? void 0 : f.filter((v) => v.group === d);
21891
- }, l = St("itemsContainer"), s = (d) => {
21884
+ }, l = Tt("itemsContainer"), s = (d) => {
21892
21885
  var m, g;
21893
21886
  const f = l.value;
21894
21887
  if (!f)
@@ -21920,7 +21913,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21920
21913
  onSelected: r
21921
21914
  }, {
21922
21915
  content: P(() => [
21923
- V(d.$slots, "content", { item: v }, void 0, !0)
21916
+ K(d.$slots, "content", { item: v }, void 0, !0)
21924
21917
  ]),
21925
21918
  _: 2
21926
21919
  }, 1032, ["item"]))), 128)),
@@ -21937,7 +21930,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21937
21930
  onSelected: r
21938
21931
  }, {
21939
21932
  content: P(() => [
21940
- V(d.$slots, "content", { item: h }, void 0, !0)
21933
+ K(d.$slots, "content", { item: h }, void 0, !0)
21941
21934
  ]),
21942
21935
  _: 2
21943
21936
  }, 1032, ["item"]))), 128))
@@ -21960,7 +21953,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
21960
21953
  }, 8, ["item"])) : U("", !0)
21961
21954
  ], 512));
21962
21955
  }
21963
- }), EF = /* @__PURE__ */ Oe(IF, [["__scopeId", "data-v-c6d81412"]]), xF = ["id"], MF = ["aria-live"], OF = {
21956
+ }), EF = /* @__PURE__ */ Oe(IF, [["__scopeId", "data-v-2f823fac"]]), xF = ["id"], MF = ["aria-live"], OF = {
21964
21957
  key: 0,
21965
21958
  class: "select-loading",
21966
21959
  "data-propagate-clicks": "false",
@@ -22012,11 +22005,11 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22012
22005
  emits: ["selected", "input", "change", "update:modelValue", "query-change", "item-added", "item-removed"],
22013
22006
  setup(e, { emit: t }) {
22014
22007
  Rt((z) => ({
22015
- "0ad73176": O.value,
22016
- c17fbdb8: $.value,
22017
- f5eff1aa: B.value
22008
+ b7866b0a: O.value,
22009
+ "7ace2269": $.value,
22010
+ "465dedf4": B.value
22018
22011
  }));
22019
- const { stripRequiredLabel: a } = In(), n = t, r = Jt(), i = Dt(), o = $t(), u = b(() => r.id ? String(r.id) : o), l = N(!1), s = N(), c = b(() => {
22012
+ const { stripRequiredLabel: a } = In(), n = t, r = Jt(), i = St(), o = $t(), u = b(() => r.id ? String(r.id) : o), l = N(!1), s = N(), c = b(() => {
22020
22013
  var z;
22021
22014
  return !!((z = e.labelAttributes) != null && z.info || i["label-tooltip"]);
22022
22015
  }), d = b(() => r.required !== void 0 && String(r.required) !== "false"), f = b(() => r.disabled !== void 0 && String(r.disabled) !== "false"), v = b(() => r.readonly !== void 0 && String(r.readonly) !== "false"), h = {
@@ -22024,10 +22017,10 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22024
22017
  popoverTimeout: 0,
22025
22018
  placement: "bottom-start",
22026
22019
  hideCaret: !0
22027
- }, m = N(0), g = St("inputElement"), p = b(() => a(e.label, d.value)), w = N(!1), C = N(""), k = b(() => {
22020
+ }, m = N(0), g = Tt("inputElement"), p = b(() => a(e.label, d.value)), w = N(!1), C = N(""), k = b(() => {
22028
22021
  var z, Ce;
22029
22022
  return !(!C.value || (Ce = (z = x.value) == null ? void 0 : z.filter((Ie) => Ie.label === C.value)) != null && Ce.length);
22030
- }), S = $t(), I = N(null), x = N([]), Y = N(!1), F = St("popperElement"), q = St("selectWrapperElement"), L = b({
22023
+ }), S = $t(), I = N(null), x = N([]), Y = N(!1), F = Tt("popperElement"), q = Tt("selectWrapperElement"), L = b({
22031
22024
  get() {
22032
22025
  return e.modelValue;
22033
22026
  },
@@ -22036,7 +22029,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22036
22029
  const Ce = (Ie = x.value) == null ? void 0 : Ie.filter((Se) => Se.value === z);
22037
22030
  Ce != null && Ce.length ? Ne(Ce[0]) : z || _e();
22038
22031
  }
22039
- }), O = b(() => Tt(e.width || "100%")), $ = N(""), M = b(() => {
22032
+ }), O = b(() => Dt(e.width || "100%")), $ = N(""), M = b(() => {
22040
22033
  const z = { ...r };
22041
22034
  return delete z.class, z;
22042
22035
  }), D = b(() => {
@@ -22049,7 +22042,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22049
22042
  maxWidth: String($.value),
22050
22043
  disabled: f.value || v.value
22051
22044
  };
22052
- }), B = b(() => Tt(e.dropdownMaxHeight)), Z = b(() => ({ ...D.value })), K = b(() => e.placeholder || r.placeholder || "Select..."), ae = b(() => !f.value && e.clearable && !!I.value), G = b(() => !!(I.value && (i["selected-item-template"] || e.reuseItemTemplate && i["item-template"]))), he = b(() => {
22045
+ }), B = b(() => Dt(e.dropdownMaxHeight)), Z = b(() => ({ ...D.value })), V = b(() => e.placeholder || r.placeholder || "Select..."), ae = b(() => !f.value && e.clearable && !!I.value), G = b(() => !!(I.value && (i["selected-item-template"] || e.reuseItemTemplate && i["item-template"]))), he = b(() => {
22053
22046
  let z = [];
22054
22047
  if (!e.enableFiltering || !C.value)
22055
22048
  z = x.value;
@@ -22087,7 +22080,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22087
22080
  var Se;
22088
22081
  Ce.selected = !1, Ce.custom && ((Se = x.value) == null || Se.splice(Ie, 1), n("item-removed", Ce));
22089
22082
  }), I.value = null, C.value = "", n("input", null), n("change", null), n("update:modelValue", null);
22090
- }, Le = St("kSelectItems"), qe = (z, Ce) => {
22083
+ }, Le = Tt("kSelectItems"), qe = (z, Ce) => {
22091
22084
  var Se, Ue;
22092
22085
  if (z.keyCode === 27) {
22093
22086
  Ce.value = !1;
@@ -22164,12 +22157,12 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22164
22157
  c.value ? {
22165
22158
  name: "tooltip",
22166
22159
  fn: P(() => [
22167
- V(z.$slots, "label-tooltip", {}, void 0, !0)
22160
+ K(z.$slots, "label-tooltip", {}, void 0, !0)
22168
22161
  ]),
22169
22162
  key: "0"
22170
22163
  } : void 0
22171
22164
  ]), 1040, ["for", "required"])) : U("", !0),
22172
- j(A(Os), null, {
22165
+ j(Os, null, {
22173
22166
  default: P(({ toggle: Ie, isToggled: Se }) => [
22174
22167
  j(Jn, Ye({ ref: "popperElement" }, Z.value, {
22175
22168
  "close-on-popover-click": "",
@@ -22183,7 +22176,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22183
22176
  "aria-live": z.enableFiltering ? "polite" : "off"
22184
22177
  }, [
22185
22178
  z.enableFiltering && z.loading ? (y(), T("div", OF, [
22186
- V(z.$slots, "loading", {}, () => [
22179
+ K(z.$slots, "loading", {}, () => [
22187
22180
  j(A(Oi), {
22188
22181
  class: "loading-icon",
22189
22182
  title: "Loading"
@@ -22200,7 +22193,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22200
22193
  onSelected: Ne
22201
22194
  }, {
22202
22195
  content: P(({ item: Ue }) => [
22203
- V(z.$slots, "item-template", { item: Ue }, void 0, !0)
22196
+ K(z.$slots, "item-template", { item: Ue }, void 0, !0)
22204
22197
  ]),
22205
22198
  _: 3
22206
22199
  }, 8, ["filter-string", "item-creation-enabled", "item-creation-valid", "items"]),
@@ -22209,17 +22202,17 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22209
22202
  item: { label: "No results", value: "no_results", disabled: !0 }
22210
22203
  })) : U("", !0),
22211
22204
  (z.dropdownFooterText || z.$slots["dropdown-footer-text"]) && z.dropdownFooterTextPosition === "static" ? (y(), T("div", NF, [
22212
- V(z.$slots, "dropdown-footer-text", {}, () => [
22205
+ K(z.$slots, "dropdown-footer-text", {}, () => [
22213
22206
  we(re(z.dropdownFooterText), 1)
22214
22207
  ], !0)
22215
22208
  ])) : U("", !0)
22216
22209
  ])),
22217
22210
  !z.loading && !he.value.length && z.$slots.empty ? (y(), T("div", LF, [
22218
- V(z.$slots, "empty", {}, void 0, !0)
22211
+ K(z.$slots, "empty", {}, void 0, !0)
22219
22212
  ])) : U("", !0)
22220
22213
  ], 8, MF),
22221
22214
  (z.dropdownFooterText || z.$slots["dropdown-footer-text"]) && z.dropdownFooterTextPosition === "sticky" ? (y(), T("div", BF, [
22222
- V(z.$slots, "dropdown-footer-text", {}, () => [
22215
+ K(z.$slots, "dropdown-footer-text", {}, () => [
22223
22216
  we(re(z.dropdownFooterText), 1)
22224
22217
  ], !0)
22225
22218
  ])) : U("", !0)
@@ -22245,7 +22238,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22245
22238
  disabled: f.value,
22246
22239
  error: z.error,
22247
22240
  "model-value": C.value,
22248
- placeholder: I.value && !z.enableFiltering ? I.value.label : K.value,
22241
+ placeholder: I.value && !z.enableFiltering ? I.value.label : V.value,
22249
22242
  readonly: v.value,
22250
22243
  spellcheck: "false"
22251
22244
  }, M.value, {
@@ -22282,14 +22275,14 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22282
22275
  i.before ? {
22283
22276
  name: "before",
22284
22277
  fn: P(() => [
22285
- V(z.$slots, "before", {}, void 0, !0)
22278
+ K(z.$slots, "before", {}, void 0, !0)
22286
22279
  ]),
22287
22280
  key: "0"
22288
22281
  } : void 0,
22289
22282
  z.$slots["label-tooltip"] ? {
22290
22283
  name: "label-tooltip",
22291
22284
  fn: P(() => [
22292
- V(z.$slots, "label-tooltip", {}, void 0, !0)
22285
+ K(z.$slots, "label-tooltip", {}, void 0, !0)
22293
22286
  ]),
22294
22287
  key: "1"
22295
22288
  } : void 0
@@ -22300,10 +22293,10 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22300
22293
  key: 0,
22301
22294
  class: de(["custom-selected-item-wrapper", { clearable: z.clearable }])
22302
22295
  }, [
22303
- V(z.$slots, "selected-item-template", {
22296
+ K(z.$slots, "selected-item-template", {
22304
22297
  item: I.value
22305
22298
  }, () => [
22306
- V(z.$slots, "item-template", {
22299
+ K(z.$slots, "item-template", {
22307
22300
  item: I.value
22308
22301
  }, void 0, !0)
22309
22302
  ], !0)
@@ -22324,7 +22317,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22324
22317
  }, re(z.help), 3)) : U("", !0)
22325
22318
  ], 2));
22326
22319
  }
22327
- }), FF = /* @__PURE__ */ Oe(RF, [["__scopeId", "data-v-32afcba4"]]), zF = { class: "k-slideout" }, YF = { class: "slideout-header" }, HF = {
22320
+ }), FF = /* @__PURE__ */ Oe(RF, [["__scopeId", "data-v-e90c141b"]]), zF = { class: "k-slideout" }, YF = { class: "slideout-header" }, HF = {
22328
22321
  key: 0,
22329
22322
  class: "slideout-title",
22330
22323
  "data-testid": "slideout-title"
@@ -22347,7 +22340,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22347
22340
  "5dace9c6": u.maxWidth,
22348
22341
  df700f08: u.zIndex
22349
22342
  }));
22350
- const a = t, n = St("slideoutContainerElement"), r = b(() => Tt(e.offsetTop));
22343
+ const a = t, n = Tt("slideoutContainerElement"), r = b(() => Dt(e.offsetTop));
22351
22344
  Lb(n, (u) => {
22352
22345
  u.isTrusted && e.closeOnBlur && a("close");
22353
22346
  });
@@ -22381,7 +22374,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22381
22374
  }, [
22382
22375
  H("div", YF, [
22383
22376
  u.title || u.$slots.title ? (y(), T("div", HF, [
22384
- V(u.$slots, "title", {}, () => [
22377
+ K(u.$slots, "title", {}, () => [
22385
22378
  we(re(u.title), 1)
22386
22379
  ], !0)
22387
22380
  ])) : U("", !0),
@@ -22399,7 +22392,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22399
22392
  ])
22400
22393
  ]),
22401
22394
  H("div", qF, [
22402
- V(u.$slots, "default", {}, void 0, !0)
22395
+ K(u.$slots, "default", {}, void 0, !0)
22403
22396
  ])
22404
22397
  ], 512)) : U("", !0)
22405
22398
  ]),
@@ -22416,7 +22409,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22416
22409
  },
22417
22410
  setup(e) {
22418
22411
  const t = b(() => ({
22419
- maxWidth: Tt(e.maxLabelWidth)
22412
+ maxWidth: Dt(e.maxLabelWidth)
22420
22413
  }));
22421
22414
  return (a, n) => (y(), T("li", {
22422
22415
  "aria-current": a.state === "active" ? "step" : "false",
@@ -22873,17 +22866,17 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22873
22866
  emits: ["cell-click", "row-click", "error-action-click", "empty-state-action-click", "update:table-preferences", "sort", "state"],
22874
22867
  setup(e, { emit: t }) {
22875
22868
  Rt((_) => ({
22876
- "3d4335a5": et.value
22869
+ "514b4f8d": et.value
22877
22870
  }));
22878
- const { useDebounce: a, useRequest: n, useSwrvState: r, clientSideSorter: i } = In(), o = e, u = t, l = Jt(), s = Dt(), c = $t(), d = {
22871
+ const { useDebounce: a, useRequest: n, useSwrvState: r, clientSideSorter: i } = In(), o = e, u = t, l = Jt(), s = St(), c = $t(), d = {
22879
22872
  pageSize: 15,
22880
22873
  page: 1,
22881
22874
  query: "",
22882
22875
  sortColumnKey: "",
22883
22876
  sortColumnOrder: "desc",
22884
22877
  offset: null
22885
- }, f = N([]), v = N(), h = N([]), m = N([]), g = N(""), p = N(""), w = N(""), C = b(() => h.value.filter((_) => _.hidable).length > 0), k = b(() => !!(C.value && !o.error && !Be.value && !o.loading && f.value && f.value.length)), S = b(() => h.value.filter((_) => _.hidable)), I = b(() => k.value ? o.tablePreferences.columnVisibility || {} : {}), x = N(k.value ? o.tablePreferences.columnVisibility || {} : {}), Y = N(0), F = N(!1), q = N(1), L = N(15), O = N(""), $ = N(""), M = N("desc"), D = N(null), B = N([]), Z = N(!0), K = N(!1), ae = N(!1), G = b(() => !!s.toolbar || k.value), he = b(() => ({
22886
- maxHeight: Tt(o.maxHeight)
22878
+ }, f = N([]), v = N(), h = N([]), m = N([]), g = N(""), p = N(""), w = N(""), C = b(() => h.value.filter((_) => _.hidable).length > 0), k = b(() => !!(C.value && !o.error && !Be.value && !o.loading && f.value && f.value.length)), S = b(() => h.value.filter((_) => _.hidable)), I = b(() => k.value ? o.tablePreferences.columnVisibility || {} : {}), x = N(k.value ? o.tablePreferences.columnVisibility || {} : {}), Y = N(0), F = N(!1), q = N(1), L = N(15), O = N(""), $ = N(""), M = N("desc"), D = N(null), B = N([]), Z = N(!0), V = N(!1), ae = N(!1), G = b(() => !!s.toolbar || k.value), he = b(() => ({
22879
+ maxHeight: Dt(o.maxHeight)
22887
22880
  })), fe = (_) => `column-${_}`, $e = (_) => `tooltip-${_}`, ge = (_) => _, Ne = (_, te) => (ce, ye) => {
22888
22881
  const Pe = /^on[^a-z]/, je = {};
22889
22882
  for (const ct in te)
@@ -22897,7 +22890,7 @@ const tl = () => HR(), qR = { "data-testid": "multiselect-container" }, WR = ["i
22897
22890
  }, {});
22898
22891
  }, _e = b(() => (_, te) => {
22899
22892
  const ce = Ne("onRow:", l)(te, "row"), ye = Ne("onCell:", l)(_, "cell"), Pe = ["a", "button", "label", "input", "select"];
22900
- return ce.click && (K.value = !0), {
22893
+ return ce.click && (V.value = !0), {
22901
22894
  ...ce,
22902
22895
  ...ye,
22903
22896
  click(je) {
@@ -23090,7 +23083,7 @@ We suggest using 'KTableData' component instead.
23090
23083
  Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23091
23084
  }), (_, te) => (y(), T("div", tz, [
23092
23085
  G.value ? (y(), T("div", az, [
23093
- V(_.$slots, "toolbar", { state: De.value }, void 0, !0),
23086
+ K(_.$slots, "toolbar", { state: De.value }, void 0, !0),
23094
23087
  k.value ? (y(), T("div", nz, [
23095
23088
  j(Xm, {
23096
23089
  columns: S.value,
@@ -23105,7 +23098,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23105
23098
  "data-testid": "table-skeleton",
23106
23099
  type: "table"
23107
23100
  })) : e.error ? (y(), T("div", rz, [
23108
- V(_.$slots, "error-state", {}, () => [
23101
+ K(_.$slots, "error-state", {}, () => [
23109
23102
  j(Kn, {
23110
23103
  "icon-variant": "error",
23111
23104
  message: e.errorStateMessage,
@@ -23130,7 +23123,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23130
23123
  ]), 1032, ["message", "title"])
23131
23124
  ], !0)
23132
23125
  ])) : !e.error && !Be.value && !e.loading && !J.value && f.value && !f.value.length ? (y(), T("div", iz, [
23133
- V(_.$slots, "empty-state", {}, () => [
23126
+ K(_.$slots, "empty-state", {}, () => [
23134
23127
  j(Kn, {
23135
23128
  "icon-variant": e.emptyStateIconVariant,
23136
23129
  message: e.emptyStateMessage,
@@ -23146,7 +23139,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23146
23139
  onClick: te[2] || (te[2] = (ce) => _.$emit("empty-state-action-click"))
23147
23140
  }, {
23148
23141
  default: P(() => [
23149
- V(_.$slots, "empty-state-action-icon", {}, void 0, !0),
23142
+ K(_.$slots, "empty-state-action-icon", {}, void 0, !0),
23150
23143
  we(" " + re(e.emptyStateActionMessage), 1)
23151
23144
  ]),
23152
23145
  _: 3
@@ -23165,7 +23158,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23165
23158
  H("table", {
23166
23159
  class: de(["table", {
23167
23160
  "has-hover": e.rowHover,
23168
- "is-clickable": K.value
23161
+ "is-clickable": V.value
23169
23162
  }]),
23170
23163
  "data-tableid": A(c)
23171
23164
  }, [
@@ -23207,7 +23200,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23207
23200
  "aria-describedby": ce.tooltip || _.$slots[$e(ce.key)] ? `${$e(ce.key)}-${A(c)}` : void 0,
23208
23201
  class: de(["table-headers-container", { resized: g.value === ce.key }])
23209
23202
  }, [
23210
- V(_.$slots, fe(ce.key), {
23203
+ K(_.$slots, fe(ce.key), {
23211
23204
  column: ge(ce)
23212
23205
  }, () => [
23213
23206
  H("span", {
@@ -23222,7 +23215,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23222
23215
  "tooltip-id": `${$e(ce.key)}-${A(c)}`
23223
23216
  }, {
23224
23217
  content: P(() => [
23225
- V(_.$slots, $e(ce.key), {
23218
+ K(_.$slots, $e(ce.key), {
23226
23219
  column: ge(ce)
23227
23220
  }, () => [
23228
23221
  we(re(ce.tooltip), 1)
@@ -23259,8 +23252,8 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23259
23252
  H("tbody", null, [
23260
23253
  (y(!0), T(Ae, null, Re(f.value, (ce, ye) => (y(), T("tr", Ye({ ref_for: !0 }, e.rowAttrs(ce), {
23261
23254
  key: `table-${A(c)}-row-${ye}`,
23262
- role: K.value ? "link" : null,
23263
- tabindex: K.value ? 0 : null
23255
+ role: V.value ? "link" : null,
23256
+ tabindex: V.value ? 0 : null
23264
23257
  }), [
23265
23258
  (y(!0), T(Ae, null, Re(m.value, (Pe, je) => (y(), T("td", Ye({ ref_for: !0 }, e.cellAttrs({ headerKey: Pe.key, row: ce, rowIndex: ye, colIndex: je }), {
23266
23259
  key: `table-${A(c)}-cell-${je}`,
@@ -23269,7 +23262,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23269
23262
  },
23270
23263
  style: qe.value[Pe.key]
23271
23264
  }, Ms(_e.value(ce[Pe.key], ce), !0)), [
23272
- V(_.$slots, Pe.key, {
23265
+ K(_.$slots, Pe.key, {
23273
23266
  row: ge(ce),
23274
23267
  rowKey: ye,
23275
23268
  rowValue: ce[Pe.key]
@@ -23302,7 +23295,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23302
23295
  ]))
23303
23296
  ]));
23304
23297
  }
23305
- }), pz = /* @__PURE__ */ Oe(vz, [["__scopeId", "data-v-f98342d3"]]), hz = { class: "k-tabs" }, gz = {
23298
+ }), pz = /* @__PURE__ */ Oe(vz, [["__scopeId", "data-v-f70c5972"]]), hz = { class: "k-tabs" }, gz = {
23306
23299
  "aria-label": "Tabs",
23307
23300
  role: "tablist"
23308
23301
  }, mz = ["id", "data-testid"], yz = ["id", "aria-labelledby"], bz = /* @__PURE__ */ le({
@@ -23349,7 +23342,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23349
23342
  ]
23350
23343
  }, {
23351
23344
  default: P(() => [
23352
- V(l.$slots, `${i(c.hash)}-anchor`, {}, () => [
23345
+ K(l.$slots, `${i(c.hash)}-anchor`, {}, () => [
23353
23346
  H("span", null, re(c.title), 1)
23354
23347
  ])
23355
23348
  ]),
@@ -23364,7 +23357,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23364
23357
  class: "tab-container",
23365
23358
  role: "tabpanel"
23366
23359
  }, [
23367
- n.value === c.hash ? V(l.$slots, i(c.hash), { key: 0 }) : U("", !0)
23360
+ n.value === c.hash ? K(l.$slots, i(c.hash), { key: 0 }) : U("", !0)
23368
23361
  ], 8, yz))), 128))
23369
23362
  ]));
23370
23363
  }
@@ -23393,7 +23386,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23393
23386
  }, { immediate: !0 }), ue(() => e.hasError, (S) => {
23394
23387
  S && console.warn("KTextArea: `hasError` prop is deprecated. Please use `error` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#ktextarea");
23395
23388
  }, { immediate: !0 });
23396
- const a = t, n = Jt(), r = Dt(), { stripRequiredLabel: i } = In(), o = b(() => (n == null ? void 0 : n.required) !== void 0 && String(n == null ? void 0 : n.required) !== "false"), u = N(""), l = b(() => i(e.label, o.value)), s = b(() => {
23389
+ const a = t, n = Jt(), r = St(), { stripRequiredLabel: i } = In(), o = b(() => (n == null ? void 0 : n.required) !== void 0 && String(n == null ? void 0 : n.required) !== "false"), u = N(""), l = b(() => i(e.label, o.value)), s = b(() => {
23397
23390
  var S, I;
23398
23391
  return !!((S = e.labelAttributes) != null && S.help || (I = e.labelAttributes) != null && I.info || r["label-tooltip"]);
23399
23392
  }), c = b(() => e.error || e.hasError || g.value ? !0 : void 0), d = N(0), f = b({
@@ -23448,7 +23441,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), z();
23448
23441
  s.value ? {
23449
23442
  name: "tooltip",
23450
23443
  fn: P(() => [
23451
- V(S.$slots, "label-tooltip", {}, void 0, !0)
23444
+ K(S.$slots, "label-tooltip", {}, void 0, !0)
23452
23445
  ]),
23453
23446
  key: "0"
23454
23447
  } : void 0
@@ -24388,8 +24381,8 @@ ze.prototype = /** @lends Sortable.prototype */
24388
24381
  _onDragOver: function(t) {
24389
24382
  var a = this.el, n = t.target, r, i, o, u = this.options, l = u.group, s = ze.active, c = Mo === l, d = u.sort, f = Ot || s, v, h = this, m = !1;
24390
24383
  if (pu) return;
24391
- function g(K, ae) {
24392
- Qt(K, h, Ra({
24384
+ function g(V, ae) {
24385
+ Qt(V, h, Ra({
24393
24386
  evt: t,
24394
24387
  isOwner: c,
24395
24388
  axis: v ? "vertical" : "horizontal",
@@ -24409,12 +24402,12 @@ ze.prototype = /** @lends Sortable.prototype */
24409
24402
  function p() {
24410
24403
  g("dragOverAnimationCapture"), h.captureAnimationState(), h !== f && f.captureAnimationState();
24411
24404
  }
24412
- function w(K) {
24405
+ function w(V) {
24413
24406
  return g("dragOverCompleted", {
24414
- insertion: K
24415
- }), K && (c ? s._hideClone() : s._showClone(h), h !== f && (ta(be, Ot ? Ot.options.ghostClass : s.options.ghostClass, !1), ta(be, u.ghostClass, !0)), Ot !== h && h !== ze.active ? Ot = h : h === ze.active && Ot && (Ot = null), f === h && (h._ignoreWhileAnimating = n), h.animateAll(function() {
24407
+ insertion: V
24408
+ }), V && (c ? s._hideClone() : s._showClone(h), h !== f && (ta(be, Ot ? Ot.options.ghostClass : s.options.ghostClass, !1), ta(be, u.ghostClass, !0)), Ot !== h && h !== ze.active ? Ot = h : h === ze.active && Ot && (Ot = null), f === h && (h._ignoreWhileAnimating = n), h.animateAll(function() {
24416
24409
  g("dragOverAnimationComplete"), h._ignoreWhileAnimating = null;
24417
- }), h !== f && (f.animateAll(), f._ignoreWhileAnimating = null)), (n === be && !be.animated || n === a && !n.animated) && (vr = null), !u.dragoverBubble && !t.rootEl && n !== document && (be.parentNode[ia]._isOutsideThisEl(t.target), !K && Pn(t)), !u.dragoverBubble && t.stopPropagation && t.stopPropagation(), m = !0;
24410
+ }), h !== f && (f.animateAll(), f._ignoreWhileAnimating = null)), (n === be && !be.animated || n === a && !n.animated) && (vr = null), !u.dragoverBubble && !t.rootEl && n !== document && (be.parentNode[ia]._isOutsideThisEl(t.target), !V && Pn(t)), !u.dragoverBubble && t.stopPropagation && t.stopPropagation(), m = !0;
24418
24411
  }
24419
24412
  function C() {
24420
24413
  aa = ua(be), hn = ua(be, u.draggable), Yt({
@@ -25188,7 +25181,7 @@ const yY = {
25188
25181
  emits: ["selected", "expanded"],
25189
25182
  setup(e, { expose: t, emit: a }) {
25190
25183
  var d;
25191
- const n = e, r = a, i = Dt(), o = b(() => !n.hideIcons || !!i["item-icon"]), u = (f) => {
25184
+ const n = e, r = a, i = St(), o = b(() => !n.hideIcons || !!i["item-icon"]), u = (f) => {
25192
25185
  f.target && f.target.closest("a:not(.disabled), button:not([data-tree-item-trigger]), label, input, select") !== null || r("selected", n.item);
25193
25186
  }, l = N(!0), s = (f) => {
25194
25187
  l.value = f;
@@ -25245,12 +25238,12 @@ const yY = {
25245
25238
  onClick: Ke(u, ["prevent"])
25246
25239
  }, [
25247
25240
  o.value ? (y(), T("div", $Y, [
25248
- V(f.$slots, "item-icon", {}, () => [
25241
+ K(f.$slots, "item-icon", {}, () => [
25249
25242
  j(A(hy), { decorative: "" })
25250
25243
  ], !0)
25251
25244
  ])) : U("", !0),
25252
25245
  H("div", SY, [
25253
- V(f.$slots, "item-label", {}, () => [
25246
+ K(f.$slots, "item-label", {}, () => [
25254
25247
  we(re(e.item.name), 1)
25255
25248
  ], !0)
25256
25249
  ])
@@ -25337,7 +25330,7 @@ const yY = {
25337
25330
  r("selected", L);
25338
25331
  }, m = N(/* @__PURE__ */ new Map()), g = (L, O) => {
25339
25332
  m.value.set(O, L);
25340
- }, p = (L) => n.collapsible ? !!m.value.get(L) : !0, w = St("tree-items"), C = () => {
25333
+ }, p = (L) => n.collapsible ? !!m.value.get(L) : !0, w = Tt("tree-items"), C = () => {
25341
25334
  var L;
25342
25335
  o.value.forEach((O) => {
25343
25336
  m.value.set(O.id, !1);
@@ -25352,8 +25345,8 @@ const yY = {
25352
25345
  O == null || O.setExpandedValue(!0);
25353
25346
  });
25354
25347
  }, S = b(() => n.level > n.maxDepth - 1), I = (L) => {
25355
- var B, Z, K, ae;
25356
- const O = ((Z = (B = L.relatedContext) == null ? void 0 : B.component) == null ? void 0 : Z.$attrs.level) || 0, $ = (K = L.draggedContext) == null ? void 0 : K.element;
25348
+ var B, Z, V, ae;
25349
+ const O = ((Z = (B = L.relatedContext) == null ? void 0 : B.component) == null ? void 0 : Z.$attrs.level) || 0, $ = (V = L.draggedContext) == null ? void 0 : V.element;
25357
25350
  let M = 0;
25358
25351
  return (ae = $.children) != null && ae.length && (M = Id($)), !(O + M > n.maxDepth - 1);
25359
25352
  }, x = (L) => {
@@ -25421,7 +25414,7 @@ const yY = {
25421
25414
  onSelected: h
25422
25415
  }, mt({
25423
25416
  "item-label": P(() => [
25424
- V(L.$slots, "item-label", { item: M }, () => [
25417
+ K(L.$slots, "item-label", { item: M }, () => [
25425
25418
  we(re(M.name), 1)
25426
25419
  ], !0)
25427
25420
  ]),
@@ -25430,7 +25423,7 @@ const yY = {
25430
25423
  L.$slots["item-icon"] ? {
25431
25424
  name: "item-icon",
25432
25425
  fn: P(() => [
25433
- V(L.$slots, "item-icon", { item: M }, void 0, !0)
25426
+ K(L.$slots, "item-icon", { item: M }, void 0, !0)
25434
25427
  ]),
25435
25428
  key: "0"
25436
25429
  } : void 0
@@ -25455,14 +25448,14 @@ const yY = {
25455
25448
  onSelected: h
25456
25449
  }, mt({
25457
25450
  "item-label": P(({ item: D }) => [
25458
- V(L.$slots, "item-label", { item: D }, void 0, !0)
25451
+ K(L.$slots, "item-label", { item: D }, void 0, !0)
25459
25452
  ]),
25460
25453
  _: 2
25461
25454
  }, [
25462
25455
  L.$slots["item-icon"] ? {
25463
25456
  name: "item-icon",
25464
25457
  fn: P(({ item: D }) => [
25465
- V(L.$slots, "item-icon", { item: D }, void 0, !0)
25458
+ K(L.$slots, "item-icon", { item: D }, void 0, !0)
25466
25459
  ]),
25467
25460
  key: "0"
25468
25461
  } : void 0
@@ -25475,7 +25468,7 @@ const yY = {
25475
25468
  }, 16, ["disabled", "filter", "group", "level", "list"]);
25476
25469
  };
25477
25470
  }
25478
- }), IY = /* @__PURE__ */ Oe(AY, [["__scopeId", "data-v-d5756bf1"]]), v1 = (e, t) => (e.forEach((a) => {
25471
+ }), IY = /* @__PURE__ */ Oe(AY, [["__scopeId", "data-v-f0240cb3"]]), v1 = (e, t) => (e.forEach((a) => {
25479
25472
  var n;
25480
25473
  t.push(a.id), (n = a.children) != null && n.length && v1(a.children, t);
25481
25474
  }), t), EY = (e) => {
@@ -25544,7 +25537,7 @@ const yY = {
25544
25537
  i.value = h;
25545
25538
  }
25546
25539
  }), u = b(() => ({
25547
- maxWidth: Tt(n.width)
25540
+ maxWidth: Dt(n.width)
25548
25541
  })), l = (h, m) => {
25549
25542
  (m || i.value).forEach((p) => {
25550
25543
  var w;
@@ -25564,7 +25557,7 @@ const yY = {
25564
25557
  g.children || (g.children = []);
25565
25558
  }));
25566
25559
  });
25567
- const d = St("tree-draggable");
25560
+ const d = Tt("tree-draggable");
25568
25561
  return t({ collapseAll: () => {
25569
25562
  var h;
25570
25563
  (h = d.value) == null || h.collapseAll();
@@ -25596,14 +25589,14 @@ const yY = {
25596
25589
  onSelected: l
25597
25590
  }, mt({
25598
25591
  "item-label": P(({ item: g }) => [
25599
- V(h.$slots, "item-label", { item: g })
25592
+ K(h.$slots, "item-label", { item: g })
25600
25593
  ]),
25601
25594
  _: 2
25602
25595
  }, [
25603
25596
  h.$slots["item-icon"] ? {
25604
25597
  name: "item-icon",
25605
25598
  fn: P(({ item: g }) => [
25606
- V(h.$slots, "item-icon", { item: g })
25599
+ K(h.$slots, "item-icon", { item: g })
25607
25600
  ]),
25608
25601
  key: "0"
25609
25602
  } : void 0
@@ -25628,7 +25621,7 @@ const yY = {
25628
25621
  rel: "noopener",
25629
25622
  target: "_blank"
25630
25623
  }, [
25631
- V(a.$slots, "default", {}, void 0, !0),
25624
+ K(a.$slots, "default", {}, void 0, !0),
25632
25625
  a.hideIcon ? U("", !0) : (y(), ee(A(ty), {
25633
25626
  key: 0,
25634
25627
  decorative: "",
@@ -25692,7 +25685,7 @@ const yY = {
25692
25685
  }, v = async () => {
25693
25686
  t.value = !t.value, await ht(), d();
25694
25687
  }, h = b(() => ({
25695
- width: Tt(e.width)
25688
+ width: Dt(e.width)
25696
25689
  }));
25697
25690
  return rt(() => {
25698
25691
  n.value = er.create(c), n.value.observe(r.value), d();
@@ -25709,7 +25702,7 @@ const yY = {
25709
25702
  }, [
25710
25703
  !m.truncateText && a.value ? (y(), T("div", LY, [
25711
25704
  t.value ? U("", !0) : (y(), T("div", BY, [
25712
- V(m.$slots, "expand-trigger", {
25705
+ K(m.$slots, "expand-trigger", {
25713
25706
  expand: v,
25714
25707
  truncatedCount: s.value
25715
25708
  }, () => [
@@ -25727,9 +25720,9 @@ const yY = {
25727
25720
  ref: r,
25728
25721
  class: "truncate-container"
25729
25722
  }, [
25730
- V(m.$slots, "default", {}, void 0, !0),
25723
+ K(m.$slots, "default", {}, void 0, !0),
25731
25724
  !m.truncateText && t.value ? (y(), T("div", FY, [
25732
- V(m.$slots, "collapse-trigger", { collapse: v }, () => [
25725
+ K(m.$slots, "collapse-trigger", { collapse: v }, () => [
25733
25726
  H("button", {
25734
25727
  "aria-label": "Collapse content",
25735
25728
  class: "collapse-trigger",
@@ -25751,7 +25744,7 @@ const yY = {
25751
25744
  class: "truncate-collapse-controls"
25752
25745
  }, [
25753
25746
  t.value ? U("", !0) : (y(), T("div", zY, [
25754
- V(m.$slots, "expand-trigger", { expand: v }, () => [
25747
+ K(m.$slots, "expand-trigger", { expand: v }, () => [
25755
25748
  j(p, {
25756
25749
  appearance: "tertiary",
25757
25750
  size: "small",
@@ -25766,7 +25759,7 @@ const yY = {
25766
25759
  ], !0)
25767
25760
  ])),
25768
25761
  t.value ? (y(), T("div", YY, [
25769
- V(m.$slots, "collapse-trigger", { collapse: v }, () => [
25762
+ K(m.$slots, "collapse-trigger", { collapse: v }, () => [
25770
25763
  j(p, {
25771
25764
  appearance: "tertiary",
25772
25765
  size: "small",
@@ -25908,7 +25901,7 @@ const yY = {
25908
25901
  "kpop-attributes": { placement: "bottom-end" }
25909
25902
  }, {
25910
25903
  items: P(() => [
25911
- V(t.$slots, "items", {}, void 0, !0)
25904
+ K(t.$slots, "items", {}, void 0, !0)
25912
25905
  ]),
25913
25906
  default: P(() => [
25914
25907
  j(pa, {
@@ -26044,14 +26037,14 @@ const yY = {
26044
26037
  setup(e, { emit: t }) {
26045
26038
  var ma;
26046
26039
  Rt((R) => ({
26047
- "7b3561d9": A(qe).expandable,
26048
- "25cf786e": ve.value,
26049
- 25376546: k.value,
26050
- a7c831cc: D.value
26040
+ "3fd36684": A(qe).expandable,
26041
+ "5f0ecfba": ve.value,
26042
+ "95d5ad8a": k.value,
26043
+ "50fbed8f": D.value
26051
26044
  }));
26052
- const a = Kp(e, ["resizeColumns", "tablePreferences", "rowHover", "rowAttrs", "rowLink", "rowBulkActionEnabled", "rowKey", "cellAttrs", "loading", "emptyStateTitle", "emptyStateMessage", "emptyStateActionMessage", "emptyStateIconVariant", "emptyStateButtonAppearance", "emptyStateActionRoute", "error", "errorStateTitle", "errorStateMessage", "errorStateActionMessage", "errorStateActionRoute", "maxHeight", "hidePagination", "paginationAttributes", "rowExpandable", "rowExpanded", "hideHeaders", "nested", "hidePaginationWhenOptional", "hideToolbar", "tooltipTarget", "data", "headers"]), n = t, r = Dt(), i = $t(), o = (R) => typeof e.rowKey == "function" && typeof e.rowKey(R) == "string" ? e.rowKey(R) : typeof e.rowKey == "string" && e.rowKey in R && typeof R[e.rowKey] == "string" ? R[e.rowKey] : "", u = St("table-wrapper"), l = St("header-row"), s = N([]), c = N([]), d = N(""), f = N(""), v = N(""), h = b(() => s.value.filter((R) => R.hidable).length > 0), m = b(() => e.nested || !h.value || e.error ? !1 : r.toolbar ? !0 : !e.loading && !!e.data && !!e.data.length), g = b(() => e.loading || !(e.data && e.data.length)), p = b(() => s.value.filter((R) => R.hidable && !Ie(R.key))), w = b(() => m.value ? e.tablePreferences.columnVisibility || {} : {}), C = N(m.value ? e.tablePreferences.columnVisibility || {} : {}), k = N("100%"), S = N(!1), I = N(!1), x = N(!1), Y = N(!1), F = N(""), q = N("desc"), L = N(!1), O = b(() => !e.hideToolbar && !e.nested && (!!r.toolbar || m.value || ae.value)), $ = N(!1), M = b(() => ({
26053
- maxHeight: Tt(e.maxHeight)
26054
- })), D = b(() => `${tg()}px`), B = N([]), Z = b(() => !e.nested && !e.error && s.value.some((R) => R.key === Ve.BULK_ACTIONS) && !!(r["bulk-action-items"] || r["bulk-actions"]) && !!e.data.every((R) => o(R))), K = N([]), ae = b(() => e.nested || !Z.value || e.error ? !1 : r.toolbar ? !0 : !e.loading && !!e.data && !!e.data.length), G = b(() => {
26045
+ const a = Kp(e, ["resizeColumns", "tablePreferences", "rowHover", "rowAttrs", "rowLink", "rowBulkActionEnabled", "rowKey", "cellAttrs", "loading", "emptyStateTitle", "emptyStateMessage", "emptyStateActionMessage", "emptyStateIconVariant", "emptyStateButtonAppearance", "emptyStateActionRoute", "error", "errorStateTitle", "errorStateMessage", "errorStateActionMessage", "errorStateActionRoute", "maxHeight", "hidePagination", "paginationAttributes", "rowExpandable", "rowExpanded", "hideHeaders", "nested", "hidePaginationWhenOptional", "hideToolbar", "tooltipTarget", "data", "headers"]), n = t, r = St(), i = $t(), o = (R) => typeof e.rowKey == "function" && typeof e.rowKey(R) == "string" ? e.rowKey(R) : typeof e.rowKey == "string" && e.rowKey in R && typeof R[e.rowKey] == "string" ? R[e.rowKey] : "", u = Tt("table-wrapper"), l = Tt("header-row"), s = N([]), c = N([]), d = N(""), f = N(""), v = N(""), h = b(() => s.value.filter((R) => R.hidable).length > 0), m = b(() => e.nested || !h.value || e.error ? !1 : r.toolbar ? !0 : !e.loading && !!e.data && !!e.data.length), g = b(() => e.loading || !(e.data && e.data.length)), p = b(() => s.value.filter((R) => R.hidable && !Ie(R.key))), w = b(() => m.value ? e.tablePreferences.columnVisibility || {} : {}), C = N(m.value ? e.tablePreferences.columnVisibility || {} : {}), k = N("100%"), S = N(!1), I = N(!1), x = N(!1), Y = N(!1), F = N(""), q = N("desc"), L = N(!1), O = b(() => !e.hideToolbar && !e.nested && (!!r.toolbar || m.value || ae.value)), $ = N(!1), M = b(() => ({
26046
+ maxHeight: Dt(e.maxHeight)
26047
+ })), D = b(() => `${tg()}px`), B = N([]), Z = b(() => !e.nested && !e.error && s.value.some((R) => R.key === Ve.BULK_ACTIONS) && !!(r["bulk-action-items"] || r["bulk-actions"]) && !!e.data.every((R) => o(R))), V = N([]), ae = b(() => e.nested || !Z.value || e.error ? !1 : r.toolbar ? !0 : !e.loading && !!e.data && !!e.data.length), G = b(() => {
26055
26048
  const R = B.value.length;
26056
26049
  return R ? R > 100 ? "99+" : String(R) : "";
26057
26050
  }), he = N(/* @__PURE__ */ new WeakMap()), fe = (R) => `column-${R}`, $e = (R) => `tooltip-${R}`, ge = (R, ne) => (J, _) => {
@@ -26195,7 +26188,7 @@ const yY = {
26195
26188
  }, Qe = (R) => {
26196
26189
  const ne = R.target;
26197
26190
  ne && (typeof ne.scrollTop == "number" || typeof ne.scrollLeft == "number") && (ne.scrollTop > 1 ? (S.value = !0, I.value = !0) : ne.scrollTop === 0 && (I.value = !1), ne.scrollLeft > 1 ? x.value = !0 : ne.scrollLeft === 0 && (x.value = !1), ne.scrollWidth === ne.scrollLeft + ne.clientWidth ? Y.value = !1 : Y.value = !0);
26198
- }, lt = (R) => K.value.find((ne) => ne.rowKey === o(R)), It = (R) => {
26191
+ }, lt = (R) => V.value.find((ne) => ne.rowKey === o(R)), It = (R) => {
26199
26192
  if (typeof e.rowBulkActionEnabled != "function")
26200
26193
  return !1;
26201
26194
  const ne = e.rowBulkActionEnabled(R);
@@ -26256,14 +26249,14 @@ const yY = {
26256
26249
  R && (C.value = e.tablePreferences.columnVisibility || {});
26257
26250
  }, { immediate: !0 });
26258
26251
  const tt = N(!1), wt = b(() => {
26259
- const R = K.value.filter((ne) => !ne.disabled && e.data.find((J) => o(J) === ne.rowKey));
26252
+ const R = V.value.filter((ne) => !ne.disabled && e.data.find((J) => o(J) === ne.rowKey));
26260
26253
  return !!R.filter((ne) => ne.selected).length && !!R.filter((ne) => !ne.selected).length;
26261
26254
  }), Mt = (R) => {
26262
- K.value.forEach((ne) => {
26255
+ V.value.forEach((ne) => {
26263
26256
  e.data.find((J) => o(J) === ne.rowKey) && !ne.disabled && (ne.selected = R);
26264
26257
  });
26265
26258
  };
26266
- return ue([() => e.data, K], (R) => {
26259
+ return ue([() => e.data, V], (R) => {
26267
26260
  const [ne, J] = R;
26268
26261
  if (ne.forEach((_) => {
26269
26262
  if (!he.value.get(_)) {
@@ -26272,7 +26265,7 @@ const yY = {
26272
26265
  }
26273
26266
  }), Z.value) {
26274
26267
  ne.forEach((ye) => {
26275
- lt(ye) || K.value.push({
26268
+ lt(ye) || V.value.push({
26276
26269
  rowKey: o(ye),
26277
26270
  selected: !1,
26278
26271
  disabled: !It(ye)
@@ -26301,9 +26294,9 @@ const yY = {
26301
26294
  class: de(["k-table-view", { "hide-headers": R.hideHeaders }])
26302
26295
  }, [
26303
26296
  O.value ? (y(), T("div", ZY, [
26304
- V(R.$slots, "toolbar", {}, void 0, !0),
26297
+ K(R.$slots, "toolbar", {}, void 0, !0),
26305
26298
  ae.value || m.value ? (y(), T("div", XY, [
26306
- ae.value ? V(R.$slots, "bulk-actions", {
26299
+ ae.value ? K(R.$slots, "bulk-actions", {
26307
26300
  key: 0,
26308
26301
  selectedRows: B.value
26309
26302
  }, () => [
@@ -26314,7 +26307,7 @@ const yY = {
26314
26307
  disabled: !G.value || R.loading || !R.data.length
26315
26308
  }, {
26316
26309
  items: P(() => [
26317
- V(R.$slots, "bulk-action-items", { selectedRows: B.value }, void 0, !0)
26310
+ K(R.$slots, "bulk-action-items", { selectedRows: B.value }, void 0, !0)
26318
26311
  ]),
26319
26312
  _: 3
26320
26313
  }, 8, ["button-label", "count", "disabled"]))
@@ -26334,7 +26327,7 @@ const yY = {
26334
26327
  "data-testid": "table-skeleton",
26335
26328
  type: "table"
26336
26329
  })) : R.error ? (y(), T("div", JY, [
26337
- V(R.$slots, "error-state", {}, () => [
26330
+ K(R.$slots, "error-state", {}, () => [
26338
26331
  j(Kn, {
26339
26332
  "icon-variant": "error",
26340
26333
  message: R.errorStateMessage,
@@ -26359,7 +26352,7 @@ const yY = {
26359
26352
  ]), 1032, ["message", "title"])
26360
26353
  ], !0)
26361
26354
  ])) : !R.error && !R.loading && R.data && !R.data.length ? (y(), T("div", eH, [
26362
- V(R.$slots, "empty-state", {}, () => [
26355
+ K(R.$slots, "empty-state", {}, () => [
26363
26356
  j(Kn, {
26364
26357
  "icon-variant": R.emptyStateIconVariant,
26365
26358
  message: R.emptyStateMessage,
@@ -26375,7 +26368,7 @@ const yY = {
26375
26368
  onClick: ne[2] || (ne[2] = (J) => n("empty-state-action-click"))
26376
26369
  }, {
26377
26370
  default: P(() => [
26378
- V(R.$slots, "empty-state-action-icon", {}, void 0, !0),
26371
+ K(R.$slots, "empty-state-action-icon", {}, void 0, !0),
26379
26372
  we(" " + re(R.emptyStateActionMessage), 1)
26380
26373
  ]),
26381
26374
  _: 3
@@ -26431,7 +26424,7 @@ const yY = {
26431
26424
  "aria-describedby": J.tooltip || r[$e(J.key)] ? `${$e(J.key)}-${A(i)}` : void 0,
26432
26425
  class: de(["table-headers-container", { resized: d.value === J.key }])
26433
26426
  }, [
26434
- J.key !== A(Ve).BULK_ACTIONS ? V(R.$slots, fe(J.key), {
26427
+ J.key !== A(Ve).BULK_ACTIONS ? K(R.$slots, fe(J.key), {
26435
26428
  key: 0,
26436
26429
  column: J
26437
26430
  }, () => [
@@ -26459,7 +26452,7 @@ const yY = {
26459
26452
  "tooltip-id": `${$e(J.key)}-${A(i)}`
26460
26453
  }, {
26461
26454
  content: P(() => [
26462
- V(R.$slots, $e(J.key), { column: J }, () => [
26455
+ K(R.$slots, $e(J.key), { column: J }, () => [
26463
26456
  we(re(J.tooltip), 1)
26464
26457
  ], !0)
26465
26458
  ]),
@@ -26525,7 +26518,7 @@ const yY = {
26525
26518
  class: "cell-wrapper"
26526
26519
  }, { ref_for: !0 }, ea(J, te.key)), {
26527
26520
  default: P(() => [
26528
- te.key !== A(Ve).BULK_ACTIONS && te.key !== A(Ve).ACTIONS ? V(R.$slots, te.key, {
26521
+ te.key !== A(Ve).BULK_ACTIONS && te.key !== A(Ve).ACTIONS ? K(R.$slots, te.key, {
26529
26522
  key: 0,
26530
26523
  row: J,
26531
26524
  rowKey: _,
@@ -26558,7 +26551,7 @@ const yY = {
26558
26551
  onToggleDropdown: (ye) => Ue(J, ye)
26559
26552
  }, {
26560
26553
  items: P(() => [
26561
- V(R.$slots, "action-items", { row: J }, void 0, !0)
26554
+ K(R.$slots, "action-items", { row: J }, void 0, !0)
26562
26555
  ]),
26563
26556
  default: P(() => [
26564
26557
  j(nt, {
@@ -26618,7 +26611,7 @@ const yY = {
26618
26611
  colspan: c.value.length
26619
26612
  }, [
26620
26613
  H("div", vH, [
26621
- V(R.$slots, "row-expanded", {
26614
+ K(R.$slots, "row-expanded", {
26622
26615
  columnWidths: pe.value,
26623
26616
  nestedHeaders: Q.value,
26624
26617
  row: J
@@ -26657,7 +26650,7 @@ const yY = {
26657
26650
  ]))
26658
26651
  ], 2));
26659
26652
  }
26660
- }), p1 = /* @__PURE__ */ Oe(pH, [["__scopeId", "data-v-e9d06ca8"]]), hH = /* @__PURE__ */ le({
26653
+ }), p1 = /* @__PURE__ */ Oe(pH, [["__scopeId", "data-v-161a7429"]]), hH = /* @__PURE__ */ le({
26661
26654
  __name: "KTableData",
26662
26655
  props: {
26663
26656
  fetcher: { type: Function },
@@ -26739,7 +26732,7 @@ const yY = {
26739
26732
  const n = Kp(e, ["resizeColumns", "tablePreferences", "rowHover", "rowAttrs", "rowLink", "rowBulkActionEnabled", "rowKey", "cellAttrs", "loading", "emptyStateTitle", "emptyStateMessage", "emptyStateActionMessage", "emptyStateIconVariant", "emptyStateButtonAppearance", "emptyStateActionRoute", "error", "errorStateTitle", "errorStateMessage", "errorStateActionMessage", "errorStateActionRoute", "maxHeight", "hidePagination", "paginationAttributes", "rowExpandable", "rowExpanded", "hideHeaders", "nested", "hidePaginationWhenOptional", "hideToolbar", "headers", "fetcherCacheKey", "cacheIdentifier", "searchInput", "initialFetcherParams", "clientSort", "sortable", "fetcher", "sortHandlerFunction", "tooltipTarget"]), r = b(() => {
26740
26733
  const oe = /^on[^a-z]/;
26741
26734
  return b$(n, (Be, De) => oe.test(De));
26742
- }), i = a, o = Dt(), { useDebounce: u, useRequest: l, useSwrvState: s, clientSideSorter: c } = In(), d = $t(), f = N([]), v = b(() => e.sortable ? e.headers : e.headers.map((oe) => ({ ...oe, sortable: !1 }))), h = b(() => e.emptyStateButtonAppearance ? e.emptyStateButtonAppearance : e.searchInput ? "tertiary" : "primary"), m = N(0), g = N(1), p = N(Zm(e.tablePreferences, e.paginationAttributes)), w = N(e.searchInput ?? ""), C = N(""), k = N("desc"), S = N(null), I = N([]), x = N(!0), Y = N(!1), F = {
26735
+ }), i = a, o = St(), { useDebounce: u, useRequest: l, useSwrvState: s, clientSideSorter: c } = In(), d = $t(), f = N([]), v = b(() => e.sortable ? e.headers : e.headers.map((oe) => ({ ...oe, sortable: !1 }))), h = b(() => e.emptyStateButtonAppearance ? e.emptyStateButtonAppearance : e.searchInput ? "tertiary" : "primary"), m = N(0), g = N(1), p = N(Zm(e.tablePreferences, e.paginationAttributes)), w = N(e.searchInput ?? ""), C = N(""), k = N("desc"), S = N(null), I = N([]), x = N(!0), Y = N(!1), F = {
26743
26736
  pageSize: p.value,
26744
26737
  page: g.value,
26745
26738
  query: w.value,
@@ -26756,14 +26749,14 @@ const yY = {
26756
26749
  })), L = (oe) => oe.startsWith("column-"), O = (oe) => oe.startsWith("tooltip-"), $ = (oe) => v.value.some((Be) => Be.key === oe), M = b(() => o ? Object.keys(o).filter(L) : []), D = b(() => o ? Object.keys(o).filter(O) : []), B = b(() => o ? Object.keys(o).filter($) : []), Z = b(() => ({
26757
26750
  sortColumnKey: C.value,
26758
26751
  sortColumnOrder: k.value
26759
- })), K = b(() => ({
26752
+ })), V = b(() => ({
26760
26753
  pageSize: p.value,
26761
26754
  page: g.value,
26762
26755
  query: w.value,
26763
26756
  offset: S.value,
26764
26757
  ...e.clientSort ? {} : Z.value
26765
26758
  })), ae = b(() => ({
26766
- ...K.value,
26759
+ ...V.value,
26767
26760
  ...Z.value
26768
26761
  })), G = N(!0), he = async () => {
26769
26762
  const oe = await e.fetcher(ae.value);
@@ -26779,7 +26772,7 @@ const yY = {
26779
26772
  if (!e.fetcher || !Y.value)
26780
26773
  return "";
26781
26774
  let oe = d;
26782
- return e.cacheIdentifier && (oe = e.cacheIdentifier), oe += `-${JSON.stringify(K.value)}`, e.fetcherCacheKey && (oe += `-${e.fetcherCacheKey}`), `k-table_${oe}`;
26775
+ return e.cacheIdentifier && (oe = e.cacheIdentifier), oe += `-${JSON.stringify(V.value)}`, e.fetcherCacheKey && (oe += `-${e.fetcherCacheKey}`), `k-table_${oe}`;
26783
26776
  }), { debouncedFn: _e, generateDebouncedFn: Le } = u((oe) => {
26784
26777
  w.value = oe;
26785
26778
  }, 350), qe = Le(0), {
@@ -26910,74 +26903,74 @@ const yY = {
26910
26903
  o.toolbar && !oe.hideToolbar ? {
26911
26904
  name: "toolbar",
26912
26905
  fn: P(() => [
26913
- V(oe.$slots, "toolbar", { state: z.value })
26906
+ K(oe.$slots, "toolbar", { state: z.value })
26914
26907
  ]),
26915
26908
  key: "0"
26916
26909
  } : void 0,
26917
26910
  o["bulk-actions"] ? {
26918
26911
  name: "bulk-actions",
26919
26912
  fn: P((De) => [
26920
- V(oe.$slots, "bulk-actions", na(Da(De)))
26913
+ K(oe.$slots, "bulk-actions", na(Da(De)))
26921
26914
  ]),
26922
26915
  key: "1"
26923
26916
  } : void 0,
26924
26917
  o["bulk-action-items"] ? {
26925
26918
  name: "bulk-action-items",
26926
26919
  fn: P((De) => [
26927
- V(oe.$slots, "bulk-action-items", na(Da(De)))
26920
+ K(oe.$slots, "bulk-action-items", na(Da(De)))
26928
26921
  ]),
26929
26922
  key: "2"
26930
26923
  } : void 0,
26931
26924
  o["error-state"] ? {
26932
26925
  name: "error-state",
26933
26926
  fn: P(() => [
26934
- V(oe.$slots, "error-state")
26927
+ K(oe.$slots, "error-state")
26935
26928
  ]),
26936
26929
  key: "3"
26937
26930
  } : void 0,
26938
26931
  o["empty-state"] ? {
26939
26932
  name: "empty-state",
26940
26933
  fn: P(() => [
26941
- V(oe.$slots, "empty-state")
26934
+ K(oe.$slots, "empty-state")
26942
26935
  ]),
26943
26936
  key: "4"
26944
26937
  } : void 0,
26945
26938
  o["empty-state-action-icon"] ? {
26946
26939
  name: "empty-state-action-icon",
26947
26940
  fn: P(() => [
26948
- V(oe.$slots, "empty-state-action-icon")
26941
+ K(oe.$slots, "empty-state-action-icon")
26949
26942
  ]),
26950
26943
  key: "5"
26951
26944
  } : void 0,
26952
26945
  Re(M.value, (De) => ({
26953
26946
  name: De,
26954
26947
  fn: P((X) => [
26955
- V(oe.$slots, De, na(Da(X)))
26948
+ K(oe.$slots, De, na(Da(X)))
26956
26949
  ])
26957
26950
  })),
26958
26951
  Re(D.value, (De) => ({
26959
26952
  name: De,
26960
26953
  fn: P((X) => [
26961
- V(oe.$slots, De, na(Da(X)))
26954
+ K(oe.$slots, De, na(Da(X)))
26962
26955
  ])
26963
26956
  })),
26964
26957
  Re(B.value, (De) => ({
26965
26958
  name: De,
26966
26959
  fn: P((X) => [
26967
- V(oe.$slots, De, na(Da(X)))
26960
+ K(oe.$slots, De, na(Da(X)))
26968
26961
  ])
26969
26962
  })),
26970
26963
  o["action-items"] ? {
26971
26964
  name: "action-items",
26972
26965
  fn: P((De) => [
26973
- V(oe.$slots, "action-items", na(Da(De)))
26966
+ K(oe.$slots, "action-items", na(Da(De)))
26974
26967
  ]),
26975
26968
  key: "6"
26976
26969
  } : void 0,
26977
26970
  o["row-expanded"] ? {
26978
26971
  name: "row-expanded",
26979
26972
  fn: P((De) => [
26980
- V(oe.$slots, "row-expanded", na(Da(De)))
26973
+ K(oe.$slots, "row-expanded", na(Da(De)))
26981
26974
  ]),
26982
26975
  key: "7"
26983
26976
  } : void 0
@@ -27016,7 +27009,7 @@ const yY = {
27016
27009
  transform: `translateX(-${h(c.value)})`
27017
27010
  })), o = () => {
27018
27011
  a("change", c.value), l();
27019
- }, u = St("thumbPopover"), l = () => {
27012
+ }, u = Tt("thumbPopover"), l = () => {
27020
27013
  var m;
27021
27014
  (m = u.value) == null || m.showPopover();
27022
27015
  }, s = () => {