@kong/kongponents 9.18.5-pr.2596.771805656.0 → 9.18.5

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 Bg = Object.defineProperty;
2
2
  var _g = (e, t, n) => t in e ? Bg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var zn = (e, t, n) => _g(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as ie, reactive as wr, ref as P, computed as b, openBlock as h, createBlock as J, resolveDynamicComponent as Ne, normalizeStyle as Me, withCtx as L, createElementBlock as D, normalizeClass as le, renderSlot as G, unref as A, createCommentVNode as U, createElementVNode as H, toDisplayString as te, withKeys as dt, withModifiers as Ve, useSlots as Et, useAttrs as Ut, onMounted as lt, mergeProps as Ye, toHandlers as dl, shallowRef as Rg, watch as ce, getCurrentScope as Mv, onScopeDispose as Ov, shallowReadonly as qa, getCurrentInstance as Fg, onUnmounted as Vt, isReadonly as Yg, toRefs as Pv, watchEffect as qs, useCssVars as _t, useId as St, onBeforeUnmount as cl, createVNode as Z, createTextVNode as he, Transition as rn, withDirectives as ua, vShow as ur, nextTick as ht, Fragment as De, renderList as Fe, createSlots as yt, isVNode as Nv, useTemplateRef as Bt, normalizeProps as ar, inject as ci, provide as fi, toRef as vo, guardReactiveProps as hs, isRef as Ka, resolveComponent as Zt, resolveDirective as zg, Comment as qg, cloneVNode as Hg, toValue as Kr, onBeforeMount as Wg, TransitionGroup as Ug, render as Hu, h as Wu } from "vue";
4
+ import { defineComponent as ie, reactive as wr, ref as P, computed as b, createBlock as J, openBlock as h, resolveDynamicComponent as Ne, normalizeStyle as Me, withCtx as L, createElementBlock as D, normalizeClass as le, createCommentVNode as U, createElementVNode as H, renderSlot as G, unref as A, toDisplayString as te, withKeys as dt, withModifiers as Ve, useSlots as Et, useAttrs as Ut, onMounted as lt, mergeProps as Ye, toHandlers as dl, shallowRef as Rg, watch as ce, getCurrentScope as Mv, onScopeDispose as Ov, shallowReadonly as qa, getCurrentInstance as Fg, onUnmounted as Vt, isReadonly as Yg, toRefs as Pv, watchEffect as qs, useCssVars as _t, useId as St, onBeforeUnmount as cl, createVNode as Z, createTextVNode as he, Transition as rn, withDirectives as ua, vShow as ur, nextTick as ht, Fragment as De, renderList as Fe, createSlots as yt, isVNode as Nv, useTemplateRef as Bt, normalizeProps as ar, inject as ci, toRef as vo, provide as fi, guardReactiveProps as hs, isRef as Ka, resolveComponent as Zt, resolveDirective as zg, Comment as qg, cloneVNode as Hg, toValue as Kr, onBeforeMount as Wg, TransitionGroup as Ug, render as Hu, h as Wu } from "vue";
5
5
  async function Lv(e) {
6
6
  var a, r;
7
7
  if (navigator.clipboard)
@@ -7833,7 +7833,7 @@ function P0(e, t, n) {
7833
7833
  var a, r, i, o, s, u, l = 0, d = !1, f = !1, c = !0;
7834
7834
  if (typeof e != "function")
7835
7835
  throw new TypeError(A0);
7836
- t = Hd(t) || 0, bs(n) && (d = !!n.leading, f = "maxWait" in n, i = f ? M0(Hd(n.maxWait) || 0, t) : i, c = "trailing" in n ? !!n.trailing : c);
7836
+ t = Hd(t) || 0, bs(n) && (d = !0, f = "maxWait" in n, i = f ? M0(Hd(n.maxWait) || 0, t) : i, c = "trailing" in n ? !0 : c);
7837
7837
  function v(T) {
7838
7838
  var B = a, q = r;
7839
7839
  return a = r = void 0, l = T, o = e.apply(q, B), o;
@@ -9083,8 +9083,6 @@ var ta = {
9083
9083
  return ot(i, n.length);
9084
9084
  }
9085
9085
  }, Ha = {
9086
- am: "am",
9087
- pm: "pm",
9088
9086
  midnight: "midnight",
9089
9087
  noon: "noon",
9090
9088
  morning: "morning",
@@ -10631,8 +10629,6 @@ function _2() {
10631
10629
  value: !0
10632
10630
  }), t.default = void 0;
10633
10631
  var a = n(/* @__PURE__ */ M2()), r = n(/* @__PURE__ */ P2()), i = n(/* @__PURE__ */ $p()), o = n(/* @__PURE__ */ L2()), s = n(/* @__PURE__ */ xp()), u = n(/* @__PURE__ */ Dp()), l = n(/* @__PURE__ */ B2()), d = {
10634
- am: "am",
10635
- pm: "pm",
10636
10632
  midnight: "midnight",
10637
10633
  noon: "noon",
10638
10634
  morning: "morning",
@@ -12024,7 +12020,6 @@ function Ip(e, t, n, a, r, i, o) {
12024
12020
  return s.setUTCFullYear(e, t, n), s.setUTCHours(a, r, i, o), s;
12025
12021
  }
12026
12022
  var Pc = 36e5, sk = 6e4, ql = {
12027
- timezone: /([Z+-].*)$/,
12028
12023
  timezoneZ: /^(Z)$/,
12029
12024
  timezoneHH: /^([+-]\d{2})$/,
12030
12025
  timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
@@ -12206,7 +12201,6 @@ const _c = /* @__PURE__ */ wl(mk);
12206
12201
  var yk = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, Wl = 36e5, Rc = 6e4, bk = 2, qt = {
12207
12202
  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
12208
12203
  datePattern: /^([0-9W+-]+)(.*)/,
12209
- plainTime: /:/,
12210
12204
  // year tokens
12211
12205
  YY: /^(\d{2})$/,
12212
12206
  YYY: [
@@ -12914,7 +12908,6 @@ function li(e, t) {
12914
12908
  var n = t, a = n.placement, r = a === void 0 ? e.placement : a, i = n.strategy, o = i === void 0 ? e.strategy : i, s = n.boundary, u = s === void 0 ? Nk : s, l = n.rootBoundary, d = l === void 0 ? Mp : l, f = n.elementContext, c = f === void 0 ? Br : f, v = n.altBoundary, m = v === void 0 ? !1 : v, w = n.padding, y = w === void 0 ? 0 : w, p = Bp(typeof y != "number" ? y : _p(y, hi)), g = c === Br ? Lk : Br, k = e.rects.popper, S = e.elements[m ? g : c], $ = pC(Pa(S) ? S : S.contextElement || ha(e.elements.popper), u, d, o), T = hr(e.elements.reference), B = Fp({
12915
12909
  reference: T,
12916
12910
  element: k,
12917
- strategy: "absolute",
12918
12911
  placement: r
12919
12912
  }), q = Ss(Object.assign({}, k, B)), V = c === Br ? q : T, M = {
12920
12913
  top: $.top - V.top + p.top,
@@ -13084,7 +13077,6 @@ function $C(e) {
13084
13077
  t.modifiersData[n] = Fp({
13085
13078
  reference: t.rects.reference,
13086
13079
  element: t.rects.popper,
13087
- strategy: "absolute",
13088
13080
  placement: t.placement
13089
13081
  });
13090
13082
  }
@@ -14549,7 +14541,6 @@ function xh(e, t, n, a, r, i, o) {
14549
14541
  return s.setUTCFullYear(e, t, n), s.setUTCHours(a, r, i, o), s;
14550
14542
  }
14551
14543
  var Wf = 36e5, R8 = 6e4, Zl = {
14552
- timezone: /([Z+-].*)$/,
14553
14544
  timezoneZ: /^(Z)$/,
14554
14545
  timezoneHH: /^([+-]\d{2})$/,
14555
14546
  timezoneHHMM: /^([+-]\d{2}):?(\d{2})$/
@@ -14622,7 +14613,6 @@ const W8 = H8;
14622
14613
  var Xl = 36e5, jf = 6e4, U8 = 2, Ht = {
14623
14614
  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
14624
14615
  datePattern: /^([0-9W+-]+)(.*)/,
14625
- plainTime: /:/,
14626
14616
  // year tokens
14627
14617
  YY: /^(\d{2})$/,
14628
14618
  YYY: [
@@ -14659,7 +14649,7 @@ function V8(e, t) {
14659
14649
  throw new TypeError("1 argument required, but only " + arguments.length + " present");
14660
14650
  if (e === null)
14661
14651
  return /* @__PURE__ */ new Date(NaN);
14662
- var n = t, a = n.additionalDigits == null ? U8 : M8(n.additionalDigits);
14652
+ var n = t || {}, a = n.additionalDigits == null ? U8 : M8(n.additionalDigits);
14663
14653
  if (a !== 2 && a !== 1 && a !== 0)
14664
14654
  throw new RangeError("additionalDigits must be 0, 1 or 2");
14665
14655
  if (e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]")
@@ -19322,7 +19312,7 @@ const CP = /* @__PURE__ */ ga(wP, [["render", kP]]), SP = { class: "k-segmented-
19322
19312
  c.value && ((j = T.selectedRange) != null && j.start) ? T.abbreviatedDisplay = M(T.selectedRange, !0) : f.value && !c.value && (T.abbreviatedDisplay = T.selectedTimeframe.display);
19323
19313
  }, x = (j) => j.charAt(0).toUpperCase() + j.slice(1), I = (j) => T.selectedTimeframe.key === j.key ? "primary" : "secondary";
19324
19314
  return ce(w, (j, W) => {
19325
- j !== void 0 && j !== W && B({ start: j, end: null, timePeriodsKey: "" });
19315
+ j !== void 0 && j !== W && B({ start: j, end: null });
19326
19316
  }, { immediate: !0 }), ce(y, (j, W) => {
19327
19317
  j !== void 0 && j !== W && B(j);
19328
19318
  }, { immediate: !0 }), ce(() => T.tabName, (j, W) => {
@@ -19972,7 +19962,7 @@ function gN(e, t) {
19972
19962
  if (typeof e != "object" || !e) return e;
19973
19963
  var n = e[Symbol.toPrimitive];
19974
19964
  if (n !== void 0) {
19975
- var a = n.call(e, t || "default");
19965
+ var a = n.call(e, t);
19976
19966
  if (typeof a != "object") return a;
19977
19967
  throw new TypeError("@@toPrimitive must return a primitive value.");
19978
19968
  }