@cobre-npm/ds-v3 0.40.1 → 0.40.2

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 Gg = Object.defineProperty;
2
2
  var Zg = (t, e, n) => e in t ? Gg(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var Ae = (t, e, n) => Zg(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { defineComponent as De, ref as Q, resolveDirective as tn, withDirectives as bt, openBlock as g, createElementBlock as D, normalizeClass as oe, createTextVNode as $t, toDisplayString as fe, computed as q, toRefs as Tu, createCommentVNode as N, renderSlot as le, useSlots as an, withKeys as ku, createElementVNode as P, normalizeStyle as ct, withModifiers as qt, unref as S, Fragment as Ne, renderList as Xe, pushScopeId as rn, popScopeId as on, normalizeProps as lt, guardReactiveProps as kt, createBlock as Ie, resolveDynamicComponent as Wa, mergeProps as Dt, toHandlers as Jg, vShow as Tr, createVNode as Re, Transition as jn, withCtx as Te, useAttrs as Cu, nextTick as nn, onMounted as Mt, defineExpose as e_, onUnmounted as To, watch as Pt, getCurrentScope as $h, onScopeDispose as Dh, toRef as Ua, readonly as t_, customRef as n_, reactive as $r, h as Oh, createSlots as en, getCurrentInstance as a_, version as r_, vModelText as o_, vModelDynamic as i_, mergeModels as zd, useModel as s_, shallowRef as l_, Teleport as xh, isRef as qd, render as Xd, onBeforeUpdate as u_ } from "vue";
4
+ import { defineComponent as De, ref as Q, resolveDirective as tn, withDirectives as bt, openBlock as g, createElementBlock as D, normalizeClass as oe, createTextVNode as $t, toDisplayString as fe, computed as q, toRefs as Tu, createCommentVNode as N, renderSlot as le, useSlots as an, withKeys as ku, createElementVNode as P, normalizeStyle as ct, withModifiers as Xt, unref as S, Fragment as Ne, renderList as Xe, pushScopeId as rn, popScopeId as on, normalizeProps as lt, guardReactiveProps as kt, createBlock as Ie, resolveDynamicComponent as Wa, mergeProps as Dt, toHandlers as Jg, vShow as Tr, createVNode as Re, Transition as jn, withCtx as Te, useAttrs as Cu, nextTick as nn, onMounted as Mt, defineExpose as e_, onUnmounted as To, watch as Pt, getCurrentScope as $h, onScopeDispose as Dh, toRef as Ua, readonly as t_, customRef as n_, reactive as $r, h as Oh, createSlots as en, getCurrentInstance as a_, version as r_, vModelText as o_, vModelDynamic as i_, mergeModels as zd, useModel as s_, shallowRef as l_, Teleport as xh, isRef as qd, render as Xd, onBeforeUpdate as u_ } from "vue";
5
5
  var c_ = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
6
  function Eu(t) {
7
7
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -2312,9 +2312,9 @@ const Ph = /* @__PURE__ */ it($_, [["render", O_], ["__scopeId", "data-v-4a47d72
2312
2312
  setup(t, { emit: e }) {
2313
2313
  const n = an(), a = Q(), r = e, o = (u) => {
2314
2314
  r("update:modelValue", u.target.checked), r("changed");
2315
- }, i = () => {
2316
- var u;
2317
- r("update:modelValue", !((u = a.value) != null && u.checked)), r("changed");
2315
+ }, i = (u) => {
2316
+ var f, c;
2317
+ r("update:modelValue", !((f = a.value) != null && f.checked)), r("changed"), a.value.checked = !((c = a.value) != null && c.checked), l(u);
2318
2318
  }, l = (u) => {
2319
2319
  u.stopPropagation();
2320
2320
  };
@@ -2340,20 +2340,19 @@ const Ph = /* @__PURE__ */ it($_, [["render", O_], ["__scopeId", "data-v-4a47d72
2340
2340
  class: "co-ms-8 co-label co-label--md",
2341
2341
  style: ct(u.disabled && { opacity: 0.5 }),
2342
2342
  for: u.id,
2343
- onClick: qt(l, ["stop"])
2343
+ onClick: Xt(l, ["stop"])
2344
2344
  }, [
2345
2345
  $t(fe(u.label) + " ", 1),
2346
2346
  u.description ? (g(), D("p", {
2347
2347
  key: 0,
2348
2348
  class: "co-fw-400 co-text-primary-80 co-label co-label--md co-medium pt-2 mb-0",
2349
- style: ct(u.disabled && { opacity: 0.5 }),
2350
- onClick: qt(l, ["stop"])
2349
+ style: ct(u.disabled && { opacity: 0.5 })
2351
2350
  }, fe(u.description), 5)) : N("", !0)
2352
2351
  ], 12, A_)) : N("", !0),
2353
2352
  S(n).option ? (g(), D("div", {
2354
2353
  key: 1,
2355
2354
  class: "co-ms-8 co-center",
2356
- onClick: qt(l, ["stop"])
2355
+ onClick: i
2357
2356
  }, [
2358
2357
  le(u.$slots, "option")
2359
2358
  ])) : N("", !0)
@@ -3222,7 +3221,7 @@ function Fy(t, e, n, a, r, o) {
3222
3221
  class: "vs__dropdown-menu",
3223
3222
  role: "listbox",
3224
3223
  tabindex: "-1",
3225
- onMousedown: e[2] || (e[2] = qt((...l) => o.onMousedown && o.onMousedown(...l), ["prevent"])),
3224
+ onMousedown: e[2] || (e[2] = Xt((...l) => o.onMousedown && o.onMousedown(...l), ["prevent"])),
3226
3225
  onMouseup: e[3] || (e[3] = (...l) => o.onMouseUp && o.onMouseUp(...l))
3227
3226
  }, [
3228
3227
  le(t.$slots, "list-header", lt(kt(o.scope.listHeader))),
@@ -3238,7 +3237,7 @@ function Fy(t, e, n, a, r, o) {
3238
3237
  }]),
3239
3238
  "aria-selected": u === t.typeAheadPointer ? !0 : null,
3240
3239
  onMouseover: (f) => n.selectable(l) ? t.typeAheadPointer = u : null,
3241
- onClick: qt((f) => n.selectable(l) ? o.select(l) : null, ["prevent", "stop"])
3240
+ onClick: Xt((f) => n.selectable(l) ? o.select(l) : null, ["prevent", "stop"])
3242
3241
  }, [
3243
3242
  le(t.$slots, "option", lt(kt(o.normalizeOptionForSlot(l))), () => [
3244
3243
  $t(fe(n.getOptionLabel(l)), 1)
@@ -3783,7 +3782,7 @@ const WL = /* @__PURE__ */ it(mb, [["render", yb], ["__scopeId", "data-v-f0bb42d
3783
3782
  var y;
3784
3783
  return g(), D("section", xb, [
3785
3784
  bt(P("div", {
3786
- onDrop: qt(i, ["prevent"])
3785
+ onDrop: Xt(i, ["prevent"])
3787
3786
  }, [
3788
3787
  P("div", {
3789
3788
  class: oe(["co-uploader__drag-area position-relative", {
@@ -4031,7 +4030,7 @@ const WL = /* @__PURE__ */ it(mb, [["render", yb], ["__scopeId", "data-v-f0bb42d
4031
4030
  theme: "icon-cloudy",
4032
4031
  size: "small",
4033
4032
  class: oe(["ms-1", c.account && c.copied === c.account ? "icon-check" : "icon-copy"]),
4034
- onClick: h[0] || (h[0] = qt((m) => f(c.account), ["stop"]))
4033
+ onClick: h[0] || (h[0] = Xt((m) => f(c.account), ["stop"]))
4035
4034
  }, null, 8, ["class"])) : N("", !0)
4036
4035
  ], 32));
4037
4036
  }
@@ -4249,7 +4248,7 @@ const WL = /* @__PURE__ */ it(mb, [["render", yb], ["__scopeId", "data-v-f0bb42d
4249
4248
  size: "auto",
4250
4249
  class: "p-0",
4251
4250
  disabled: e.isDisabled,
4252
- onClick: n[0] || (n[0] = qt((a) => e.$emit("close"), ["stop"]))
4251
+ onClick: n[0] || (n[0] = Xt((a) => e.$emit("close"), ["stop"]))
4253
4252
  }, {
4254
4253
  content: Te(() => [
4255
4254
  x0
@@ -4302,7 +4301,7 @@ const WL = /* @__PURE__ */ it(mb, [["render", yb], ["__scopeId", "data-v-f0bb42d
4302
4301
  theme: "icon-cloudy",
4303
4302
  size: "small",
4304
4303
  class: oe(["copy-text-box__btn co-mx-4", l.copied === l.text ? "icon-check" : "icon-copy"]),
4305
- onClick: u[0] || (u[0] = qt((f) => i(l.text), ["stop"]))
4304
+ onClick: u[0] || (u[0] = Xt((f) => i(l.text), ["stop"]))
4306
4305
  }, null, 8, ["class"])) : N("", !0)
4307
4306
  ], 32));
4308
4307
  }
@@ -4773,7 +4772,7 @@ const ew = (t) => (rn("data-v-09fc78b4"), t = t(), on(), t), tw = { class: "co-f
4773
4772
  theme: "ghost",
4774
4773
  size: "auto",
4775
4774
  class: "co-pe-8 co-ps-7",
4776
- onClick: a[0] || (a[0] = qt(() => {
4775
+ onClick: a[0] || (a[0] = Xt(() => {
4777
4776
  }, ["stop"]))
4778
4777
  }, {
4779
4778
  content: Te(() => [
@@ -4786,7 +4785,7 @@ const ew = (t) => (rn("data-v-09fc78b4"), t = t(), on(), t), tw = { class: "co-f
4786
4785
  options: n.actionListOptions,
4787
4786
  class: "dropdown-menu mt-2",
4788
4787
  onClickOption: a[1] || (a[1] = (r) => n.$emit("clickOption", r)),
4789
- onClick: a[2] || (a[2] = qt(() => {
4788
+ onClick: a[2] || (a[2] = Xt(() => {
4790
4789
  }, ["stop"]))
4791
4790
  }, null, 8, ["options"])
4792
4791
  ]),
@@ -6245,7 +6244,7 @@ const Hw = (t) => (rn("data-v-8a74ae3b"), t = t(), on(), t), jw = { class: "co-i
6245
6244
  disabled: !1,
6246
6245
  modelValue: i.value.includes(_),
6247
6246
  onChanged: (k) => c(_),
6248
- onClick: b[1] || (b[1] = qt(() => {
6247
+ onClick: b[1] || (b[1] = Xt(() => {
6249
6248
  }, ["stop"]))
6250
6249
  }, null, 8, ["id", "modelValue", "onChanged"])
6251
6250
  ])) : N("", !0),
@@ -6263,7 +6262,7 @@ const Hw = (t) => (rn("data-v-8a74ae3b"), t = t(), on(), t), jw = { class: "co-i
6263
6262
  class: "d-none",
6264
6263
  options: p.kebabMenuOptions || [],
6265
6264
  onClickOption: (x) => m({ option: x, rowData: _ }),
6266
- onClick: b[2] || (b[2] = qt(() => {
6265
+ onClick: b[2] || (b[2] = Xt(() => {
6267
6266
  }, ["stop"]))
6268
6267
  }, null, 8, ["options", "onClickOption"])) : N("", !0),
6269
6268
  !S(o)[k.key] || k.key === void 0 ? (g(), D("p", {
@@ -6517,7 +6516,7 @@ const Hw = (t) => (rn("data-v-8a74ae3b"), t = t(), on(), t), jw = { class: "co-i
6517
6516
  theme: "icon-cloudy",
6518
6517
  size: "small",
6519
6518
  class: oe(["co-fw-400 co-icon co-icon--sm ms-2", f.copied === r.value ? "icon-check" : "icon-copy"]),
6520
- onClick: c[0] || (c[0] = qt((m) => u(r.value), ["stop"]))
6519
+ onClick: c[0] || (c[0] = Xt((m) => u(r.value), ["stop"]))
6521
6520
  }, null, 8, ["class"])) : N("", !0)
6522
6521
  ], 40, YT)), [
6523
6522
  [h]
@@ -6803,7 +6802,7 @@ const Kh = /* @__PURE__ */ De({
6803
6802
  (g(!0), D(Ne, null, Xe(h.subItems, (m) => (g(), D("li", {
6804
6803
  key: m.text,
6805
6804
  class: oe(["navbar__item co-body co-body--lg flex-shrink-0 navbar__subItem", i(h)]),
6806
- onClick: qt((w) => f.handleClickSubItemOption(m), ["stop"])
6805
+ onClick: Xt((w) => f.handleClickSubItemOption(m), ["stop"])
6807
6806
  }, fe(m.text), 11, ck))), 128))
6808
6807
  ])
6809
6808
  ]),
@@ -10267,7 +10266,7 @@ const zE = (t, e, n) => {
10267
10266
  value: i
10268
10267
  };
10269
10268
  });
10270
- }, qE = (t) => [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11][t], Xt = (t) => {
10269
+ }, qE = (t) => [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11][t], qt = (t) => {
10271
10270
  const e = S(t);
10272
10271
  return e != null && e.$el ? e == null ? void 0 : e.$el : e;
10273
10272
  }, XE = (t) => ({ type: "dot", ...t ?? {} }), yp = (t) => Array.isArray(t) ? !!t[0] && !!t[1] : !1, zu = {
@@ -11024,7 +11023,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11024
11023
  defaultedMultiDates: c
11025
11024
  } = Ot(a), { isTimeValid: h, isMonthValid: m } = Za(a), { buildMatrix: w } = Ga(), p = Q(null), b = Q(null), y = Q(!1), _ = Q({}), T = Q(null), C = Q(null);
11026
11025
  Mt(() => {
11027
- a.arrowNavigation && w([Xt(p), Xt(b)], "actionRow"), k(), window.addEventListener("resize", k);
11026
+ a.arrowNavigation && w([qt(p), qt(b)], "actionRow"), k(), window.addEventListener("resize", k);
11028
11027
  }), To(() => {
11029
11028
  window.removeEventListener("resize", k);
11030
11029
  });
@@ -11158,7 +11157,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11158
11157
  l.arrowNavigation && ((W = l.headerRefs) != null && W.length ? o(ie) : a(ie));
11159
11158
  }, x = () => {
11160
11159
  var ie;
11161
- const W = Xt(p);
11160
+ const W = qt(p);
11162
11161
  W && (f.value.enabled || (w.value ? (ie = w.value) == null || ie.focus({ preventScroll: !0 }) : W.focus({ preventScroll: !0 })), m.value = W.clientHeight < W.scrollHeight);
11163
11162
  }, O = q(
11164
11163
  () => ({
@@ -11193,7 +11192,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11193
11192
  );
11194
11193
  const ue = (ie = !0) => {
11195
11194
  nn().then(() => {
11196
- const W = Xt(w), $ = Xt(p), R = Xt(_), re = Xt(C), I = R ? R.getBoundingClientRect().height : 0;
11195
+ const W = qt(w), $ = qt(p), R = qt(_), re = qt(C), I = R ? R.getBoundingClientRect().height : 0;
11197
11196
  $ && ($.getBoundingClientRect().height ? T.value = $.getBoundingClientRect().height - I : T.value = c.value.modeHeight - I), W && re && ie && (re.scrollTop = W.offsetTop - re.offsetTop - (T.value / 2 - W.getBoundingClientRect().height) - I);
11198
11197
  });
11199
11198
  }, we = (ie) => {
@@ -11250,7 +11249,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11250
11249
  "aria-label": ie.overlayLabel,
11251
11250
  tabindex: ie.useRelative ? void 0 : "0",
11252
11251
  onKeydown: A,
11253
- onClick: W[0] || (W[0] = qt(() => {
11252
+ onClick: W[0] || (W[0] = Xt(() => {
11254
11253
  }, ["prevent"]))
11255
11254
  }, [
11256
11255
  P("div", {
@@ -11278,7 +11277,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11278
11277
  "aria-disabled": I.disabled || void 0,
11279
11278
  tabindex: "0",
11280
11279
  "data-test": I.text,
11281
- onClick: qt((Me) => we(I), ["prevent"]),
11280
+ onClick: Xt((Me) => we(I), ["prevent"]),
11282
11281
  onKeydown: (Me) => S(_n)(Me, () => we(I), !0),
11283
11282
  onMouseover: (Me) => ge(I.value)
11284
11283
  }, [
@@ -12241,7 +12240,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
12241
12240
  setup(t, { expose: e, emit: n }) {
12242
12241
  const a = n, r = t, { buildMatrix: o, setTimePicker: i } = Ga(), l = an(), { defaultedTransitions: u, defaultedAriaLabels: f, defaultedTextInput: c, defaultedConfig: h, defaultedRange: m } = Ot(r), { transitionName: w, showTransition: p } = ni(u), { hideNavigationButtons: b } = rs(), y = Q(null), _ = Q(null), T = Q([]), C = Q(null), k = Q(!1);
12243
12242
  Mt(() => {
12244
- a("mount"), !r.timePicker && r.arrowNavigation ? o([Xt(y.value)], "time") : i(!0, r.timePicker);
12243
+ a("mount"), !r.timePicker && r.arrowNavigation ? o([qt(y.value)], "time") : i(!0, r.timePicker);
12245
12244
  });
12246
12245
  const x = q(() => m.value.enabled && r.modelAuto ? yp(r.internalModelValue) : !0), O = Q(!1), L = (te) => ({
12247
12246
  hours: Array.isArray(r.hours) ? r.hours[te] : r.hours,
@@ -12645,7 +12644,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
12645
12644
  }, te = (W) => {
12646
12645
  W || a("reset-flow");
12647
12646
  }, A = (W, $) => {
12648
- r.arrowNavigation && (J.value[$] = Xt(W), b(J.value, "monthYear"));
12647
+ r.arrowNavigation && (J.value[$] = qt(W), b(J.value, "monthYear"));
12649
12648
  }, ye = q(() => {
12650
12649
  var W, $, R, re, I, Z;
12651
12650
  return [
@@ -12913,7 +12912,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
12913
12912
  };
12914
12913
  }, ee = async (G, he, M) => {
12915
12914
  var se, de, K;
12916
- const Ve = Xt(b.value[he][M]);
12915
+ const Ve = qt(b.value[he][M]);
12917
12916
  Ve && ((se = G.marker) != null && se.customPosition && (K = (de = G.marker) == null ? void 0 : de.tooltip) != null && K.length ? p.value = G.marker.customPosition(Ve) : await F(Ve, G), a("tooltip-open", G.marker));
12918
12917
  }, ge = async (G, he, M) => {
12919
12918
  var se, de;
@@ -13010,7 +13009,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
13010
13009
  "aria-label": (j = (Ve = S(u)) == null ? void 0 : Ve.day) == null ? void 0 : j.call(Ve, de),
13011
13010
  tabindex: !de.current && G.hideOffsetDates ? void 0 : 0,
13012
13011
  "data-test": de.value,
13013
- onClick: qt((Ee) => Z(Ee, de), ["prevent"]),
13012
+ onClick: Xt((Ee) => Z(Ee, de), ["prevent"]),
13014
13013
  onTouchend: (Ee) => Z(Ee, de, !1),
13015
13014
  onKeydown: (Ee) => S(_n)(Ee, () => G.$emit("select-date", de)),
13016
13015
  onMouseenter: (Ee) => ge(de, se, K),
@@ -13797,7 +13796,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
13797
13796
  Mt(() => {
13798
13797
  if (!r.shadow) {
13799
13798
  T.value = !0, k(), window.addEventListener("resize", k);
13800
- const j = Xt(o);
13799
+ const j = qt(o);
13801
13800
  if (j && !h.value.enabled && !m.value.enabled && (l(!0), F()), j) {
13802
13801
  const pe = (Ee) => {
13803
13802
  w.value.allowPreventDefault && Ee.preventDefault(), Ha(Ee, w.value, !0);
@@ -13809,7 +13808,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
13809
13808
  window.removeEventListener("resize", k);
13810
13809
  });
13811
13810
  const k = () => {
13812
- const j = Xt(_);
13811
+ const j = qt(_);
13813
13812
  j && (y.value = j.getBoundingClientRect().width);
13814
13813
  }, { arrowRight: x, arrowLeft: O, arrowDown: L, arrowUp: J } = Ga(), { flowStep: z, updateFlowStep: X, childMount: ue, resetFlow: we, handleFlow: Ce } = OD(r, a, C), V = q(() => r.monthPicker ? L$ : r.yearPicker ? R$ : r.timePicker ? Q$ : r.quarterPicker ? vD : fD), H = q(() => {
13815
13814
  var j;
@@ -13817,7 +13816,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
13817
13816
  const pe = (j = o.value) == null ? void 0 : j.getBoundingClientRect(), Ee = r.getInputRect();
13818
13817
  return (Ee == null ? void 0 : Ee.width) < (y == null ? void 0 : y.value) && (Ee == null ? void 0 : Ee.left) <= ((pe == null ? void 0 : pe.left) ?? 0) ? `${(Ee == null ? void 0 : Ee.width) / 2}px` : (Ee == null ? void 0 : Ee.right) >= ((pe == null ? void 0 : pe.right) ?? 0) && (Ee == null ? void 0 : Ee.width) < (y == null ? void 0 : y.value) ? `${(y == null ? void 0 : y.value) - (Ee == null ? void 0 : Ee.width) / 2}px` : "50%";
13819
13818
  }), F = () => {
13820
- const j = Xt(o);
13819
+ const j = qt(o);
13821
13820
  j && j.focus({ preventScroll: !0 });
13822
13821
  }, ee = q(() => {
13823
13822
  var j;
@@ -13954,7 +13953,7 @@ const Ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
13954
13953
  style: ct(Be.style || {}),
13955
13954
  class: oe(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": t.collapse }]),
13956
13955
  "data-test": Be.testId ?? void 0,
13957
- onClick: qt((St) => M(Be.value, Be.noTz), ["prevent"]),
13956
+ onClick: Xt((St) => M(Be.value, Be.noTz), ["prevent"]),
13958
13957
  onKeydown: (St) => S(_n)(St, () => M(Be.value, Be.noTz), !0)
13959
13958
  }, fe(Be.label), 47, wD))
13960
13959
  ], 64))), 128))
@@ -14071,7 +14070,7 @@ const CD = ({
14071
14070
  }, C = () => {
14072
14071
  h.value.left = "50%", h.value.top = "50%", h.value.transform = "translate(-50%, -50%)", h.value.position = "fixed", delete h.value.opacity;
14073
14072
  }, k = () => {
14074
- const F = Xt(n), { top: ee, left: ge, transform: te } = i.altPosition(F);
14073
+ const F = qt(n), { top: ee, left: ge, transform: te } = i.altPosition(F);
14075
14074
  h.value = { top: `${ee}px`, left: `${ge}px`, transform: te ?? "" };
14076
14075
  }, x = (F = !0) => {
14077
14076
  var ee;
@@ -14106,14 +14105,14 @@ const CD = ({
14106
14105
  }
14107
14106
  }
14108
14107
  }, X = () => {
14109
- const F = Xt(n);
14108
+ const F = qt(n);
14110
14109
  if (F) {
14111
14110
  const { height: ee } = f.value, { top: ge, height: te } = F.getBoundingClientRect(), A = window.innerHeight - ge - te, ye = ge;
14112
14111
  return ee <= A ? vr.bottom : ee > A && ee <= ye ? vr.top : A >= ye ? vr.bottom : vr.top;
14113
14112
  }
14114
14113
  return vr.bottom;
14115
14114
  }, ue = (F) => X() === vr.bottom ? L(F) : J(F), we = () => {
14116
- const F = Xt(n);
14115
+ const F = qt(n);
14117
14116
  if (F)
14118
14117
  return i.autoPosition ? ue(F) : L(F);
14119
14118
  }, Ce = function(F) {
@@ -14146,7 +14145,7 @@ const CD = ({
14146
14145
  getScrollableParent: V,
14147
14146
  shadowRender: (F, ee) => {
14148
14147
  var ge, te, A;
14149
- const ye = document.createElement("div"), ie = (ge = Xt(n)) == null ? void 0 : ge.getBoundingClientRect();
14148
+ const ye = document.createElement("div"), ie = (ge = qt(n)) == null ? void 0 : ge.getBoundingClientRect();
14150
14149
  ye.setAttribute("id", "dp--temp-container");
14151
14150
  const W = (te = a.value) != null && te.clientWidth ? a.value : document.body;
14152
14151
  W.append(ye);
@@ -14711,7 +14710,7 @@ const CD = ({
14711
14710
  class: "dp--clear-btn",
14712
14711
  type: "button",
14713
14712
  onKeydown: ye[4] || (ye[4] = (R) => S(_n)(R, () => H(R), !0, te)),
14714
- onClick: ye[5] || (ye[5] = qt((R) => H(R), ["prevent"]))
14713
+ onClick: ye[5] || (ye[5] = Xt((R) => H(R), ["prevent"]))
14715
14714
  }, [
14716
14715
  Re(S(gp), {
14717
14716
  class: "dp__input_icons",
@@ -14741,7 +14740,7 @@ const CD = ({
14741
14740
  }, RD = (t, e, n, a = {}) => {
14742
14741
  const { window: r = ID, event: o = "pointerdown" } = a;
14743
14742
  return r ? ND(r, o, (i) => {
14744
- const l = Xt(t), u = Xt(e);
14743
+ const l = qt(t), u = qt(e);
14745
14744
  !l || !u || l === i.target || i.composedPath().includes(l) || i.composedPath().includes(u) || n(i);
14746
14745
  }, { passive: !0 }) : void 0;
14747
14746
  }, BD = /* @__PURE__ */ De({
@@ -19882,7 +19881,7 @@ const ii = (t) => (rn("data-v-7f8629d9"), t = t(), on(), t), yP = { class: "co-f
19882
19881
  theme: "filter",
19883
19882
  size: "auto",
19884
19883
  label: O.label,
19885
- onClick: qt((L) => p(O.type), ["stop"])
19884
+ onClick: Xt((L) => p(O.type), ["stop"])
19886
19885
  }, null, 8, ["label", "class", "onClick"]))), 128))
19887
19886
  ]),
19888
19887
  P("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobre-npm/ds-v3",
3
- "version": "0.40.1",
3
+ "version": "0.40.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"