energy-components 1.4.0 → 1.5.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 m6 = Object.defineProperty;
2
2
  var g6 = (e, a, t) => a in e ? m6(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t;
3
3
  var f1 = (e, a, t) => g6(e, typeof a != "symbol" ? a + "" : a, t);
4
- import { defineComponent as x1, computed as B, openBlock as M, createElementBlock as S, normalizeClass as a1, normalizeStyle as c2, Fragment as k1, renderList as O1, toRefs as h2, unref as d, createBlock as M1, createCommentVNode as C, createElementVNode as Y, renderSlot as K, createTextVNode as Q1, toDisplayString as p1, mergeProps as A1, ref as N, watch as t2, onMounted as N1, onBeforeUnmount as Q3, getCurrentInstance as M6, toHandlers as n7, createVNode as P1, withModifiers as C1, mergeModels as P2, useModel as f3, withDirectives as w2, vModelText as q7, inject as E3, provide as L3, withKeys as M2, vShow as k2, Transition as e3, withCtx as g1, createSlots as n2, nextTick as i2, reactive as G3, useSlots as r3, toRef as F3, onUnmounted as s3, isRef as $e, normalizeProps as s2, guardReactiveProps as f2, resolveDynamicComponent as K3, Teleport as r5, h as y6, render as Pe, useAttrs as z6, onBeforeUpdate as b6, getCurrentScope as w6, onScopeDispose as _6, watchEffect as s5 } from "vue";
4
+ import { defineComponent as x1, computed as B, openBlock as M, createElementBlock as S, normalizeClass as a1, normalizeStyle as s2, Fragment as k1, renderList as O1, toRefs as h2, unref as d, createBlock as M1, createCommentVNode as C, createElementVNode as Y, renderSlot as K, createTextVNode as Q1, toDisplayString as p1, mergeProps as A1, ref as N, watch as t2, onMounted as N1, onBeforeUnmount as Q3, getCurrentInstance as M6, toHandlers as n7, createVNode as P1, withModifiers as C1, mergeModels as P2, useModel as f3, withDirectives as w2, vModelText as q7, inject as E3, provide as L3, withKeys as M2, vShow as k2, Transition as e3, withCtx as g1, createSlots as i2, nextTick as o2, reactive as G3, useSlots as r3, toRef as F3, onUnmounted as s3, isRef as $e, normalizeProps as n2, guardReactiveProps as f2, resolveDynamicComponent as K3, Teleport as r5, h as y6, render as Pe, useAttrs as z6, onBeforeUpdate as b6, getCurrentScope as w6, onScopeDispose as _6, watchEffect as s5 } from "vue";
5
5
  const x6 = "selection", I6 = [
6
6
  {
7
7
  icon: {
@@ -10840,7 +10840,7 @@ const P6 = n5.reduce((e, a) => (e[a.name] = a, e), {}), T6 = /* @__PURE__ */ x1(
10840
10840
  e.modifier && `icon--${e.modifier}`,
10841
10841
  e.small && "icon--small"
10842
10842
  ]]),
10843
- style: c2({ color: e.color })
10843
+ style: s2({ color: e.color })
10844
10844
  }, [
10845
10845
  (M(!0), S(k1, null, O1(t.value, (s) => (M(), S("span", {
10846
10846
  key: `name-layer-${s}`,
@@ -11092,13 +11092,13 @@ const P6 = n5.reduce((e, a) => (e[a.name] = a, e), {}), T6 = /* @__PURE__ */ x1(
11092
11092
  /**
11093
11093
  * <span>Variante del botón</span>
11094
11094
  * <br>
11095
- *`['primary', 'secondary']`
11095
+ *`['primary', 'secondary', 'ghost']`
11096
11096
  */
11097
11097
  variant: {
11098
11098
  type: String,
11099
11099
  default: "primary",
11100
11100
  validator(e) {
11101
- return ["primary", "secondary"].includes(e);
11101
+ return ["primary", "secondary", "ghost"].includes(e);
11102
11102
  }
11103
11103
  },
11104
11104
  /**
@@ -11136,7 +11136,7 @@ const P6 = n5.reduce((e, a) => (e[a.name] = a, e), {}), T6 = /* @__PURE__ */ x1(
11136
11136
  "is-action": ""
11137
11137
  }), null, 16));
11138
11138
  }
11139
- }), V3 = /* @__PURE__ */ R1(V6, [["__scopeId", "data-v-782579da"]]), E6 = ["id", "checked", "aria-label", "required", "disabled"], L6 = ["for"], Y6 = /* @__PURE__ */ x1({
11139
+ }), V3 = /* @__PURE__ */ R1(V6, [["__scopeId", "data-v-261a503b"]]), E6 = ["id", "checked", "aria-label", "required", "disabled"], L6 = ["for"], Y6 = /* @__PURE__ */ x1({
11140
11140
  __name: "checkbox",
11141
11141
  props: {
11142
11142
  /**
@@ -12927,7 +12927,7 @@ function E0(e, a, t, l, r, s) {
12927
12927
  spellcheck: t.spellcheck,
12928
12928
  placeholder: e.placeholder,
12929
12929
  required: t.required,
12930
- style: c2({
12930
+ style: s2({
12931
12931
  ...s.inputStyle
12932
12932
  }),
12933
12933
  value: e.search,
@@ -12965,12 +12965,12 @@ function E0(e, a, t, l, r, s) {
12965
12965
  tabindex: "-1",
12966
12966
  onMousedown: a[12] || (a[12] = C1(() => {
12967
12967
  }, ["prevent"])),
12968
- style: c2({ maxHeight: e.optimizedHeight + "px" }),
12968
+ style: s2({ maxHeight: e.optimizedHeight + "px" }),
12969
12969
  ref: "list"
12970
12970
  }, [
12971
12971
  Y("ul", {
12972
12972
  class: "multiselect__content",
12973
- style: c2(s.contentStyle),
12973
+ style: s2(s.contentStyle),
12974
12974
  role: "listbox",
12975
12975
  id: "listbox-" + e.id,
12976
12976
  "aria-multiselectable": e.multiple
@@ -13194,11 +13194,11 @@ const L0 = /* @__PURE__ */ R1(b0, [["render", E0], ["__scopeId", "data-v-ac9e451
13194
13194
  }, D = (_) => {
13195
13195
  r("close", _);
13196
13196
  }, w = (_) => {
13197
- i2(() => {
13197
+ o2(() => {
13198
13198
  r("select", _);
13199
13199
  });
13200
13200
  }, $ = () => {
13201
- i2(() => {
13201
+ o2(() => {
13202
13202
  if (o.value) {
13203
13203
  const _ = n.value.filter(
13204
13204
  (P) => z(P)
@@ -13252,7 +13252,7 @@ const L0 = /* @__PURE__ */ R1(b0, [["render", E0], ["__scopeId", "data-v-ac9e451
13252
13252
  "onUpdate:modelValue": $,
13253
13253
  onFocus: P[3] || (P[3] = C1(() => L(), ["prevent"])),
13254
13254
  onBlur: C1(() => null, ["prevent"])
13255
- }), n2({
13255
+ }), i2({
13256
13256
  selection: g1(({ isOpen: Q }) => [
13257
13257
  P1(d(ae), {
13258
13258
  id: `multiselect-dropdown-${e.id}`,
@@ -13266,7 +13266,7 @@ const L0 = /* @__PURE__ */ R1(b0, [["render", E0], ["__scopeId", "data-v-ac9e451
13266
13266
  "helper-text": e.helperText,
13267
13267
  readonly: "",
13268
13268
  onClick: C1((i1) => Q ? null : L(), ["prevent", "stop"])
13269
- }, n2({
13269
+ }, i2({
13270
13270
  "right-icon": g1(() => [
13271
13271
  P1(d(L1), {
13272
13272
  name: "arrow_down",
@@ -16567,7 +16567,7 @@ const o9 = (e, a, t) => {
16567
16567
  }, d9 = (e) => ({ type: "dot", ...e ?? {} }), R5 = (e) => Array.isArray(e) ? !!e[0] && !!e[1] : !1, me = {
16568
16568
  prop: (e) => `"${e}" prop must be enabled!`,
16569
16569
  dateArr: (e) => `You need to use array as "model-value" binding in order to support "${e}"`
16570
- }, o2 = (e) => e, He = (e) => e === 0 ? e : !e || isNaN(+e) ? null : +e, We = (e) => e === null, B5 = (e) => {
16570
+ }, c2 = (e) => e, He = (e) => e === 0 ? e : !e || isNaN(+e) ? null : +e, We = (e) => e === null, B5 = (e) => {
16571
16571
  if (e)
16572
16572
  return [...e.querySelectorAll("input, button, select, textarea, a[href]")][0];
16573
16573
  }, u9 = (e) => {
@@ -17102,9 +17102,9 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17102
17102
  O(b[0]),
17103
17103
  b[1] ? O(b[1]) : y3(s.value.partialRange)
17104
17104
  ];
17105
- }, P = () => l.value[1] ? _() : O(o2(l.value[0])), Q = () => (l.value || []).map((b) => O(b)), i1 = (b = !1) => (b || W(), a.modelAuto ? P() : i.value.enabled ? Q() : Array.isArray(l.value) ? l7(() => _(), s.value.enabled) : O(o2(l.value))), v1 = (b) => !b || Array.isArray(b) && !b.length ? null : a.timePicker ? w(o2(b)) : a.monthPicker ? $(o2(b)) : a.yearPicker ? I(o2(b)) : i.value.enabled ? H(o2(b)) : a.weekPicker ? L(o2(b)) : V(o2(b)), k = (b) => {
17105
+ }, P = () => l.value[1] ? _() : O(c2(l.value[0])), Q = () => (l.value || []).map((b) => O(b)), i1 = (b = !1) => (b || W(), a.modelAuto ? P() : i.value.enabled ? Q() : Array.isArray(l.value) ? l7(() => _(), s.value.enabled) : O(c2(l.value))), v1 = (b) => !b || Array.isArray(b) && !b.length ? null : a.timePicker ? w(c2(b)) : a.monthPicker ? $(c2(b)) : a.yearPicker ? I(c2(b)) : i.value.enabled ? H(c2(b)) : a.weekPicker ? L(c2(b)) : V(c2(b)), k = (b) => {
17106
17106
  const c1 = v1(b);
17107
- X7(o2(c1)) ? (l.value = o2(c1), r1()) : (l.value = null, f.value = "");
17107
+ X7(c2(c1)) ? (l.value = c2(c1), r1()) : (l.value = null, f.value = "");
17108
17108
  }, A = () => {
17109
17109
  const b = (c1) => N2(c1, r.value.format);
17110
17110
  return `${b(l.value[0])} ${r.value.rangeSeparator} ${l.value[1] ? b(l.value[1]) : ""}`;
@@ -17123,19 +17123,19 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17123
17123
  }, O = (b) => b ? a.utc ? m9(b, a.utc === "preserve", a.enableSeconds) : a.modelType ? a.modelType === "timestamp" ? +m(b) : a.modelType === "iso" ? m(b).toISOString() : a.modelType === "format" && (typeof a.format == "string" || !a.format) ? g(m(b)) : g(m(b), a.modelType, !0) : m(b) : "", d1 = (b, c1 = !1, z1 = !1) => {
17124
17124
  if (z1) return b;
17125
17125
  if (e("update:model-value", b), n.value.emitTimezone && c1) {
17126
- const a2 = Array.isArray(b) ? b.map((j) => g2(o2(j), n.value.emitTimezone)) : g2(o2(b), n.value.emitTimezone);
17126
+ const a2 = Array.isArray(b) ? b.map((j) => g2(c2(j), n.value.emitTimezone)) : g2(c2(b), n.value.emitTimezone);
17127
17127
  e("update:model-timezone-value", a2);
17128
17128
  }
17129
17129
  }, X = (b) => Array.isArray(l.value) ? i.value.enabled ? l.value.map((c1) => b(c1)) : [
17130
17130
  b(l.value[0]),
17131
17131
  l.value[1] ? b(l.value[1]) : y3(s.value.partialRange)
17132
- ] : b(o2(l.value)), F = () => {
17132
+ ] : b(c2(l.value)), F = () => {
17133
17133
  if (Array.isArray(l.value)) {
17134
17134
  const b = W2(l.value[0], a.weekStart), c1 = l.value[1] ? W2(l.value[1], a.weekStart) : [];
17135
17135
  return [b.map((z1) => t1(z1)), c1.map((z1) => t1(z1))];
17136
17136
  }
17137
17137
  return W2(l.value, a.weekStart).map((b) => t1(b));
17138
- }, p = (b, c1) => d1(o2(X(b)), !1, c1), T = (b) => {
17138
+ }, p = (b, c1) => d1(c2(X(b)), !1, c1), T = (b) => {
17139
17139
  const c1 = F();
17140
17140
  return b ? c1 : e("update:model-value", F());
17141
17141
  }, e1 = (b = !1) => (b || r1(), a.monthPicker ? p(z, b) : a.timePicker ? p(v, b) : a.yearPicker ? p(I1, b) : a.weekPicker ? T(b) : d1(i1(b), !0, b));
@@ -17339,7 +17339,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17339
17339
  () => !u.value(l.internalModelValue) || !h.value(l.internalModelValue) || !H.value
17340
17340
  ), V = () => {
17341
17341
  const k = s.value;
17342
- return l.timePicker || l.monthPicker, k(o2(l.internalModelValue));
17342
+ return l.timePicker || l.monthPicker, k(c2(l.internalModelValue));
17343
17343
  }, W = () => {
17344
17344
  const k = l.internalModelValue;
17345
17345
  return n.value.count > 0 ? `${_(k[0])} - ${_(k[1])}` : [_(k[0]), _(k[1])];
@@ -17360,7 +17360,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17360
17360
  ref: w,
17361
17361
  class: "dp__action_row"
17362
17362
  }, [
17363
- k.$slots["action-row"] ? K(k.$slots, "action-row", s2(A1({ key: 0 }, {
17363
+ k.$slots["action-row"] ? K(k.$slots, "action-row", n2(A1({ key: 0 }, {
17364
17364
  internalModelValue: k.internalModelValue,
17365
17365
  disabled: L.value,
17366
17366
  selectDate: () => k.$emit("select-date"),
@@ -17370,7 +17370,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17370
17370
  key: 0,
17371
17371
  class: "dp__selection_preview",
17372
17372
  title: i1.value,
17373
- style: c2(I.value)
17373
+ style: s2(I.value)
17374
17374
  }, [
17375
17375
  k.$slots["action-preview"] && z.value ? K(k.$slots, "action-preview", {
17376
17376
  key: 0,
@@ -17452,7 +17452,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17452
17452
  b6(() => {
17453
17453
  m.value = null;
17454
17454
  }), N1(() => {
17455
- i2().then(() => Q()), i.noOverlayFocus || H(), $(!0);
17455
+ o2().then(() => Q()), i.noOverlayFocus || H(), $(!0);
17456
17456
  }), s3(() => $(!1));
17457
17457
  const $ = (X) => {
17458
17458
  var F;
@@ -17493,7 +17493,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17493
17493
  { deep: !0 }
17494
17494
  );
17495
17495
  const Q = (X = !0) => {
17496
- i2().then(() => {
17496
+ o2().then(() => {
17497
17497
  const F = r2(m), p = r2(g), T = r2(I), e1 = r2(w), b = T ? T.getBoundingClientRect().height : 0;
17498
17498
  p && (p.getBoundingClientRect().height ? D.value = p.getBoundingClientRect().height - b : D.value = c.value.modeHeight - b), F && e1 && X && (e1.scrollTop = F.offsetTop - e1.offsetTop - (D.value / 2 - F.getBoundingClientRect().height) - b);
17499
17499
  });
@@ -17508,7 +17508,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17508
17508
  }, x = () => {
17509
17509
  var X, F;
17510
17510
  const p = (X = i.headerRefs) != null && X.length ? [i.headerRefs].concat(v.value) : v.value.concat([i.skipButtonRef ? [] : [I.value]]);
17511
- r(o2(p), (F = i.headerRefs) != null && F.length ? "monthPicker" : "selectionGrid");
17511
+ r(c2(p), (F = i.headerRefs) != null && F.length ? "monthPicker" : "selectionGrid");
17512
17512
  }, U = (X) => {
17513
17513
  i.arrowNavigation || J2(X, c.value, !0);
17514
17514
  }, r1 = (X) => {
@@ -17546,7 +17546,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17546
17546
  ref_key: "gridWrapRef",
17547
17547
  ref: g,
17548
17548
  class: a1(L.value),
17549
- style: c2(V.value),
17549
+ style: s2(V.value),
17550
17550
  role: X.useRelative ? void 0 : "dialog",
17551
17551
  "aria-label": X.overlayLabel,
17552
17552
  tabindex: X.useRelative ? void 0 : "0",
@@ -17558,7 +17558,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17558
17558
  ref_key: "containerRef",
17559
17559
  ref: w,
17560
17560
  class: a1(P.value),
17561
- style: c2({ "--dp-overlay-height": `${D.value}px` }),
17561
+ style: s2({ "--dp-overlay-height": `${D.value}px` }),
17562
17562
  role: "grid"
17563
17563
  }, [
17564
17564
  Y("div", j9, [
@@ -17772,7 +17772,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17772
17772
  type: "year",
17773
17773
  onToggle: g,
17774
17774
  onSelected: D[4] || (D[4] = (P) => v(P))
17775
- }, n2({
17775
+ }, i2({
17776
17776
  "button-icon": g1(() => [
17777
17777
  I.$slots["calendar-icon"] ? K(I.$slots, "calendar-icon", { key: 0 }) : C("", !0),
17778
17778
  I.$slots["calendar-icon"] ? C("", !0) : (M(), M1(d(P3), { key: 1 }))
@@ -17967,7 +17967,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
17967
17967
  m.value = q2(e1, p, g.value(T)), a("auto-apply"), a("update-flow-step");
17968
17968
  }, q = (p, T) => {
17969
17969
  const e1 = U(p, T);
17970
- n.value.fixedEnd || n.value.fixedStart ? m.value = G5(e1, m, a, n) : m.value ? w(e1, m.value) && (m.value = ze(m, U(p, T), a)) : m.value = [U(p, T)], i2().then(() => {
17970
+ n.value.fixedEnd || n.value.fixedStart ? m.value = G5(e1, m, a, n) : m.value ? w(e1, m.value) && (m.value = ze(m, U(p, T), a)) : m.value = [U(p, T)], o2().then(() => {
17971
17971
  m7(m.value, a, e.autoApply, e.modelAuto);
17972
17972
  });
17973
17973
  }, O = (p, T) => {
@@ -18073,7 +18073,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18073
18073
  key: 0,
18074
18074
  value: V.internalModelValue
18075
18075
  }) : C("", !0),
18076
- V.$slots["month-year"] ? K(V.$slots, "month-year", s2(A1({ key: 1 }, {
18076
+ V.$slots["month-year"] ? K(V.$slots, "month-year", n2(A1({ key: 1 }, {
18077
18077
  year: d(f),
18078
18078
  months: d(i)(_),
18079
18079
  years: d(o)(_),
@@ -18093,7 +18093,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18093
18093
  type: "month",
18094
18094
  onSelected: (P) => d(I)(P, _),
18095
18095
  onHoverValue: (P) => d(z)(P, _)
18096
- }, n2({
18096
+ }, i2({
18097
18097
  header: g1(() => [
18098
18098
  P1(U5, A1(V.$props, {
18099
18099
  items: d(o)(_),
@@ -18104,11 +18104,11 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18104
18104
  onHandleYear: (P) => d(H)(_, P),
18105
18105
  onYearSelect: (P) => d($)(P, _),
18106
18106
  onToggleYearPicker: (P) => d(w)(_, P == null ? void 0 : P.flow, P == null ? void 0 : P.show)
18107
- }), n2({ _: 2 }, [
18107
+ }), i2({ _: 2 }, [
18108
18108
  O1(d(s), (P, Q) => ({
18109
18109
  name: P,
18110
18110
  fn: g1((i1) => [
18111
- K(V.$slots, P, s2(f2(i1)))
18111
+ K(V.$slots, P, n2(f2(i1)))
18112
18112
  ])
18113
18113
  }))
18114
18114
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
@@ -18156,7 +18156,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18156
18156
  var z;
18157
18157
  if (a("update-month-year", { instance: 0, year: v }), n.value.enabled)
18158
18158
  return l.value ? Array.isArray(l.value) && (((z = l.value) == null ? void 0 : z.map((I) => I1(I))).includes(v) ? l.value = l.value.filter((I) => I1(I) !== v) : l.value.push(Y2(m2(t1()), v))) : l.value = [Y2(m2(W3(t1())), v)], a("auto-apply", !0);
18159
- o.value.enabled ? (l.value = ze(l, g(v), a), i2().then(() => {
18159
+ o.value.enabled ? (l.value = ze(l, g(v), a), o2().then(() => {
18160
18160
  m7(l.value, a, e.autoApply, e.modelAuto);
18161
18161
  })) : (l.value = g(v), a("auto-apply"));
18162
18162
  }
@@ -18187,7 +18187,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18187
18187
  key: 0,
18188
18188
  value: u.internalModelValue
18189
18189
  }) : C("", !0),
18190
- u.$slots["month-year"] ? K(u.$slots, "month-year", s2(A1({ key: 1 }, {
18190
+ u.$slots["month-year"] ? K(u.$slots, "month-year", n2(A1({ key: 1 }, {
18191
18191
  years: d(s),
18192
18192
  selectYear: d(o)
18193
18193
  }))) : (M(), M1(J3, {
@@ -18202,7 +18202,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18202
18202
  "use-relative": "",
18203
18203
  onSelected: d(o),
18204
18204
  onHoverValue: d(f)
18205
- }, n2({ _: 2 }, [
18205
+ }, i2({ _: 2 }, [
18206
18206
  u.$slots["year-overlay-value"] ? {
18207
18207
  name: "item",
18208
18208
  fn: g1(({ item: m }) => [
@@ -18494,7 +18494,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18494
18494
  onSelected: (s1) => h1(o1.type, s1),
18495
18495
  onToggle: (s1) => e1(o1.type),
18496
18496
  onResetFlow: J[1] || (J[1] = (s1) => y.$emit("reset-flow"))
18497
- }, n2({
18497
+ }, i2({
18498
18498
  "button-icon": g1(() => [
18499
18499
  y.$slots["clock-icon"] ? K(y.$slots, "clock-icon", { key: 0 }) : C("", !0),
18500
18500
  y.$slots["clock-icon"] ? C("", !0) : (M(), M1(K3(y.timePickerInline ? d(P3) : d(ue)), { key: 1 }))
@@ -18572,7 +18572,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18572
18572
  q.push(V(0));
18573
18573
  return q;
18574
18574
  }), _ = (q, O = !1, d1 = "") => {
18575
- O || l("reset-flow"), L.value = q, l(q ? "overlay-opened" : "overlay-closed", u2.time), r.arrowNavigation && n(q), i2(() => {
18575
+ O || l("reset-flow"), L.value = q, l(q ? "overlay-opened" : "overlay-closed", u2.time), r.arrowNavigation && n(q), o2(() => {
18576
18576
  d1 !== "" && D.value[0] && D.value[0].openChildCmp(d1);
18577
18577
  });
18578
18578
  }, P = B(() => ({
@@ -18635,7 +18635,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18635
18635
  "dp--overlay-absolute": !r.timePicker && !q.timePickerInline,
18636
18636
  "dp--overlay-relative": r.timePicker
18637
18637
  }),
18638
- style: c2(q.timePicker ? { height: `${d(u).modeHeight}px` } : void 0),
18638
+ style: s2(q.timePicker ? { height: `${d(u).modeHeight}px` } : void 0),
18639
18639
  "aria-label": (X = d(f)) == null ? void 0 : X.timePicker,
18640
18640
  tabindex: q.timePickerInline ? void 0 : 0
18641
18641
  }, [
@@ -18682,7 +18682,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18682
18682
  onOverlayClosed: U,
18683
18683
  onOverlayOpened: r1,
18684
18684
  onAmPmChange: O[2] || (O[2] = (e1) => q.$emit("am-pm-change", e1))
18685
- }), n2({ _: 2 }, [
18685
+ }), i2({ _: 2 }, [
18686
18686
  O1(d(Q), (e1, b) => ({
18687
18687
  name: e1,
18688
18688
  fn: g1((c1) => [
@@ -18886,11 +18886,11 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
18886
18886
  onResetFlow: g[4] || (g[4] = (v) => m.$emit("reset-flow")),
18887
18887
  onOverlayClosed: g[5] || (g[5] = (v) => m.$emit("overlay-toggle", { open: !1, overlay: v })),
18888
18888
  onOverlayOpened: g[6] || (g[6] = (v) => m.$emit("overlay-toggle", { open: !0, overlay: v }))
18889
- }), n2({ _: 2 }, [
18889
+ }), i2({ _: 2 }, [
18890
18890
  O1(d(n), (v, z) => ({
18891
18891
  name: v,
18892
18892
  fn: g1((I) => [
18893
- K(m.$slots, v, s2(f2(I)))
18893
+ K(m.$slots, v, n2(f2(I)))
18894
18894
  ])
18895
18895
  }))
18896
18896
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"])
@@ -19003,7 +19003,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19003
19003
  var T, e1, b, c1, z1, a2;
19004
19004
  return M(), S("div", mt, [
19005
19005
  F.$slots["month-year"] ? (M(), S("div", gt, [
19006
- K(F.$slots, "month-year", s2(f2({ month: e.month, year: e.year, months: e.months, years: e.years, updateMonthYear: d(D), handleMonthYearChange: d(z), instance: e.instance })))
19006
+ K(F.$slots, "month-year", n2(f2({ month: e.month, year: e.year, months: e.months, years: e.years, updateMonthYear: d(D), handleMonthYearChange: d(z), instance: e.instance })))
19007
19007
  ])) : (M(), S(k1, { key: 1 }, [
19008
19008
  F.$slots["top-extra"] ? (M(), S("div", Mt, [
19009
19009
  K(F.$slots, "top-extra", { value: F.internalModelValue })
@@ -19074,7 +19074,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19074
19074
  "overlay-label": j.overlayLabel,
19075
19075
  onSelected: j.updateModelValue,
19076
19076
  onToggle: j.toggle
19077
- }, n2({
19077
+ }, i2({
19078
19078
  "button-icon": g1(() => [
19079
19079
  F.$slots["calendar-icon"] ? K(F.$slots, "calendar-icon", { key: 0 }) : C("", !0),
19080
19080
  F.$slots["calendar-icon"] ? C("", !0) : (M(), M1(d(P3), { key: 1 }))
@@ -19201,7 +19201,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19201
19201
  const _ = (j) => j ? r.vertical ? "vNext" : "next" : r.vertical ? "vPrevious" : "previous", P = (j, l1) => {
19202
19202
  if (r.transitions) {
19203
19203
  const Z = m2(q2(t1(), r.month, r.year));
19204
- D.value = J1(m2(q2(t1(), j, l1)), Z) ? n.value[_(!0)] : n.value[_(!1)], I.value = !1, i2(() => {
19204
+ D.value = J1(m2(q2(t1(), j, l1)), Z) ? n.value[_(!0)] : n.value[_(!1)], I.value = !1, o2(() => {
19205
19205
  I.value = !0;
19206
19206
  });
19207
19207
  }
@@ -19222,7 +19222,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19222
19222
  const { width: Z, height: h1 } = j.getBoundingClientRect();
19223
19223
  m.value = l1.value;
19224
19224
  let y = { left: `${Z / 2}px` }, J = -50;
19225
- if (await i2(), $.value[0]) {
19225
+ if (await o2(), $.value[0]) {
19226
19226
  const { left: S1, width: o1 } = $.value[0].getBoundingClientRect();
19227
19227
  S1 < 0 && (y = { left: "0" }, J = 0, H.value.left = `${Z / 2}px`), window.innerWidth < S1 + o1 && (y = { right: "0" }, J = 0, H.value.left = `${o1 - Z / 2}px`);
19228
19228
  }
@@ -19361,7 +19361,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19361
19361
  }) : (M(), S("div", {
19362
19362
  key: 1,
19363
19363
  class: a1(i1.value(y.marker)),
19364
- style: c2(y.marker.color ? { backgroundColor: y.marker.color } : {})
19364
+ style: s2(y.marker.color ? { backgroundColor: y.marker.color } : {})
19365
19365
  }, null, 6))
19366
19366
  ], 64)) : C("", !0),
19367
19367
  v1.value(y.value) ? (M(), S("div", {
@@ -19370,7 +19370,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19370
19370
  ref_key: "activeTooltip",
19371
19371
  ref: $,
19372
19372
  class: "dp__marker_tooltip",
19373
- style: c2(g.value)
19373
+ style: s2(g.value)
19374
19374
  }, [
19375
19375
  (B1 = y.marker) != null && B1.tooltip ? (M(), S("div", {
19376
19376
  key: 0,
@@ -19389,14 +19389,14 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19389
19389
  j.$slots["marker-tooltip"] ? C("", !0) : (M(), S(k1, { key: 1 }, [
19390
19390
  Y("div", {
19391
19391
  class: "dp__tooltip_mark",
19392
- style: c2(D1.color ? { backgroundColor: D1.color } : {})
19392
+ style: s2(D1.color ? { backgroundColor: D1.color } : {})
19393
19393
  }, null, 4),
19394
19394
  Y("div", null, p1(D1.text), 1)
19395
19395
  ], 64))
19396
19396
  ]))), 128)),
19397
19397
  Y("div", {
19398
19398
  class: "dp__arrow_bottom_tp",
19399
- style: c2(H.value)
19399
+ style: s2(H.value)
19400
19400
  }, null, 4)
19401
19401
  ])) : C("", !0)
19402
19402
  ], 4)) : C("", !0)
@@ -19560,7 +19560,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19560
19560
  return _2(V2), S1(w1, G, u1, m1);
19561
19561
  }, D1 = (R) => {
19562
19562
  const n1 = Z2(t1(R.value), c.hours, c.minutes, B2());
19563
- a("date-update", n1), D.value.enabled ? ye(n1, o, D.value.limit) : o.value = n1, l(), i2().then(() => {
19563
+ a("date-update", n1), D.value.enabled ? ye(n1, o, D.value.limit) : o.value = n1, l(), o2().then(() => {
19564
19564
  q();
19565
19565
  });
19566
19566
  }, E = (R) => g.value.noDisabledRange ? Y5(r.value[0], R).some((n1) => $(n1)) : !1, s1 = () => {
@@ -19615,7 +19615,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19615
19615
  modelValue: o,
19616
19616
  range: g.value.enabled,
19617
19617
  timezone: n1 ? void 0 : z.value.timezone
19618
- }), U(), e.multiCalendars && i2().then(() => O(!0));
19618
+ }), U(), e.multiCalendars && o2().then(() => O(!0));
19619
19619
  }, I7 = () => {
19620
19620
  const R = fe(t1(), z.value);
19621
19621
  !g.value.enabled && !D.value.enabled ? o.value = R : o.value && Array.isArray(o.value) && o.value[0] ? D.value.enabled ? o.value = [...o.value, R] : o.value = U1(R, o.value[0]) ? [R, o.value[0]] : [o.value[0], R] : o.value = [R], U();
@@ -19809,11 +19809,11 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19809
19809
  onUpdateMonthYear: (J) => d(w)(h1, J),
19810
19810
  onOverlayClosed: j,
19811
19811
  onOverlayOpened: Z[2] || (Z[2] = (J) => l1.$emit("overlay-toggle", { open: !0, overlay: J }))
19812
- }), n2({ _: 2 }, [
19812
+ }), i2({ _: 2 }, [
19813
19813
  O1(d(U), (J, S1) => ({
19814
19814
  name: J,
19815
19815
  fn: g1((o1) => [
19816
- K(l1.$slots, J, s2(f2(o1)))
19816
+ K(l1.$slots, J, n2(f2(o1)))
19817
19817
  ])
19818
19818
  }))
19819
19819
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
@@ -19835,11 +19835,11 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19835
19835
  onResetFlow: Z[5] || (Z[5] = (J) => l1.$emit("reset-flow")),
19836
19836
  onTooltipOpen: Z[6] || (Z[6] = (J) => l1.$emit("tooltip-open", J)),
19837
19837
  onTooltipClose: Z[7] || (Z[7] = (J) => l1.$emit("tooltip-close", J))
19838
- }), n2({ _: 2 }, [
19838
+ }), i2({ _: 2 }, [
19839
19839
  O1(d(x), (J, S1) => ({
19840
19840
  name: J,
19841
19841
  fn: g1((o1) => [
19842
- K(l1.$slots, J, s2(f2({ ...o1 })))
19842
+ K(l1.$slots, J, n2(f2({ ...o1 })))
19843
19843
  ])
19844
19844
  }))
19845
19845
  ]), 1040, ["mapped-dates", "month", "year", "instance", "onSelectDate", "onHandleSpace", "onHandleScroll", "onHandleSwipe"])
@@ -19847,7 +19847,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19847
19847
  _: 3
19848
19848
  }, 8, ["multi-calendars", "collapse", "is-mobile"]),
19849
19849
  l1.enableTimePicker ? (M(), S("div", Pt, [
19850
- l1.$slots["time-picker"] ? K(l1.$slots, "time-picker", s2(A1({ key: 0 }, { time: d(f), updateTime: d(L) }))) : (M(), M1(X5, A1({
19850
+ l1.$slots["time-picker"] ? K(l1.$slots, "time-picker", n2(A1({ key: 0 }, { time: d(f), updateTime: d(L) }))) : (M(), M1(X5, A1({
19851
19851
  key: 1,
19852
19852
  ref_key: "timePickerRef",
19853
19853
  ref: A
@@ -19866,11 +19866,11 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
19866
19866
  onOverlayClosed: Z[13] || (Z[13] = (h1) => a2(h1, !1)),
19867
19867
  onOverlayOpened: Z[14] || (Z[14] = (h1) => a2(h1, !0)),
19868
19868
  onAmPmChange: Z[15] || (Z[15] = (h1) => l1.$emit("am-pm-change", h1))
19869
- }), n2({ _: 2 }, [
19869
+ }), i2({ _: 2 }, [
19870
19870
  O1(d(r1), (h1, y) => ({
19871
19871
  name: h1,
19872
19872
  fn: g1((J) => [
19873
- K(l1.$slots, h1, s2(f2(J)))
19873
+ K(l1.$slots, h1, n2(f2(J)))
19874
19874
  ])
19875
19875
  }))
19876
19876
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"]))
@@ -20000,7 +20000,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
20000
20000
  default: g1(({ instance: L }) => [
20001
20001
  Y("div", {
20002
20002
  class: "dp-quarter-picker-wrap",
20003
- style: c2({ minHeight: `${d(o).modeHeight}px` })
20003
+ style: s2({ minHeight: `${d(o).modeHeight}px` })
20004
20004
  }, [
20005
20005
  $.$slots["top-extra"] ? K($.$slots, "top-extra", {
20006
20006
  key: 0,
@@ -20016,11 +20016,11 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
20016
20016
  onHandleYear: (V) => d(w)(L, V),
20017
20017
  onYearSelect: (V) => d(D)(V, L),
20018
20018
  onToggleYearPicker: (V) => d(I)(L, V == null ? void 0 : V.flow, V == null ? void 0 : V.show)
20019
- }), n2({ _: 2 }, [
20019
+ }), i2({ _: 2 }, [
20020
20020
  O1(d(n), (V, W) => ({
20021
20021
  name: V,
20022
20022
  fn: g1((_) => [
20023
- K($.$slots, V, s2(f2(_)))
20023
+ K($.$slots, V, n2(f2(_)))
20024
20024
  ])
20025
20025
  }))
20026
20026
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
@@ -20250,7 +20250,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
20250
20250
  role: d(h).enabled ? void 0 : "dialog",
20251
20251
  "aria-label": (y1 = E.ariaLabels) == null ? void 0 : y1.menu,
20252
20252
  class: a1(T.value),
20253
- style: c2({ "--dp-arrow-left": U.value }),
20253
+ style: s2({ "--dp-arrow-left": U.value }),
20254
20254
  onMouseleave: J,
20255
20255
  onClick: e1,
20256
20256
  onKeydown: B1
@@ -20278,10 +20278,10 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
20278
20278
  "dp--menu-content-wrapper-collapsed": e.collapse && (((R2 = E.presetDates) == null ? void 0 : R2.length) || !!E.$slots["left-sidebar"] || !!E.$slots["right-sidebar"])
20279
20279
  }),
20280
20280
  "data-dp-mobile": d(v),
20281
- style: c2({ "--dp-menu-width": `${I.value}px` })
20281
+ style: s2({ "--dp-menu-width": `${I.value}px` })
20282
20282
  }, [
20283
20283
  E.$slots["left-sidebar"] ? (M(), S("div", Yt, [
20284
- K(E.$slots, "left-sidebar", s2(f2(q.value)))
20284
+ K(E.$slots, "left-sidebar", n2(f2(q.value)))
20285
20285
  ])) : C("", !0),
20286
20286
  E.presetDates.length ? (M(), S("div", {
20287
20287
  key: 1,
@@ -20297,7 +20297,7 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
20297
20297
  }) : (M(), S("button", {
20298
20298
  key: 1,
20299
20299
  type: "button",
20300
- style: c2(b1.style || {}),
20300
+ style: s2(b1.style || {}),
20301
20301
  class: a1(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": e.collapse }]),
20302
20302
  "data-test-id": b1.testId ?? void 0,
20303
20303
  "data-dp-mobile": d(v),
@@ -20339,17 +20339,17 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
20339
20339
  onInvalidDate: s1[13] || (s1[13] = (b1) => E.$emit("invalid-date", b1)),
20340
20340
  onOverlayToggle: s1[14] || (s1[14] = (b1) => E.$emit("overlay-toggle", b1)),
20341
20341
  "onUpdate:internalModelValue": s1[15] || (s1[15] = (b1) => E.$emit("update:internal-model-value", b1))
20342
- }), n2({ _: 2 }, [
20342
+ }), i2({ _: 2 }, [
20343
20343
  O1(X.value, (b1, B2) => ({
20344
20344
  name: b1,
20345
20345
  fn: g1((K1) => [
20346
- K(E.$slots, b1, s2(f2({ ...K1 })))
20346
+ K(E.$slots, b1, n2(f2({ ...K1 })))
20347
20347
  ])
20348
20348
  }))
20349
20349
  ]), 1040, ["flow-step", "onMount", "onUpdateFlowStep", "onResetFlow"]))
20350
20350
  ], 512),
20351
20351
  E.$slots["right-sidebar"] ? (M(), S("div", Ht, [
20352
- K(E.$slots, "right-sidebar", s2(f2(q.value)))
20352
+ K(E.$slots, "right-sidebar", n2(f2(q.value)))
20353
20353
  ])) : C("", !0),
20354
20354
  E.$slots["action-extra"] ? (M(), S("div", Wt, [
20355
20355
  E.$slots["action-extra"] ? K(E.$slots, "action-extra", {
@@ -20367,11 +20367,11 @@ const K7 = (e, a) => e == null ? void 0 : e.querySelector(`[data-dp-element="${a
20367
20367
  onSelectDate: s1[17] || (s1[17] = (b1) => E.$emit("select-date")),
20368
20368
  onInvalidSelect: s1[18] || (s1[18] = (b1) => E.$emit("invalid-select")),
20369
20369
  onSelectNow: h1
20370
- }), n2({ _: 2 }, [
20370
+ }), i2({ _: 2 }, [
20371
20371
  O1(d(d1), (b1, B2) => ({
20372
20372
  name: b1,
20373
20373
  fn: g1((K1) => [
20374
- K(E.$slots, b1, s2(f2({ ...K1 })))
20374
+ K(E.$slots, b1, n2(f2({ ...K1 })))
20375
20375
  ])
20376
20376
  }))
20377
20377
  ]), 1040, ["menu-mount", "calendar-width"])) : C("", !0)
@@ -20800,13 +20800,13 @@ const qt = ({
20800
20800
  e.maxTime,
20801
20801
  l.value.maxDate,
20802
20802
  "max",
20803
- o2(x),
20803
+ c2(x),
20804
20804
  A
20805
20805
  )), (e.minTime || l.value.minDate) && (A = Ue(
20806
20806
  e.minTime,
20807
20807
  l.value.minDate,
20808
20808
  "min",
20809
- o2(x),
20809
+ c2(x),
20810
20810
  A
20811
20811
  )), _(k, A);
20812
20812
  }, Q = (k) => {
@@ -20853,7 +20853,7 @@ const qt = ({
20853
20853
  }
20854
20854
  }, i = () => {
20855
20855
  var u, h;
20856
- (u = e.flow) != null && u.length && l.value !== -1 && (l.value += 1, a("flow-step", l.value), c()), ((h = e.flow) == null ? void 0 : h.length) === l.value && i2().then(() => o());
20856
+ (u = e.flow) != null && u.length && l.value !== -1 && (l.value += 1, a("flow-step", l.value), c()), ((h = e.flow) == null ? void 0 : h.length) === l.value && o2().then(() => o());
20857
20857
  }, o = () => {
20858
20858
  l.value = -1;
20859
20859
  }, f = (u, h, ...m) => {
@@ -20959,7 +20959,7 @@ const qt = ({
20959
20959
  }, Q = (O, d1) => {
20960
20960
  s.value.enabled && s.value.tabSubmit && !d1 && W(O.target.value), s.value.tabSubmit && X7(v.value) && r.inputValue !== "" ? (l("set-input-date", v.value, !0, !0), v.value = null) : s.value.tabSubmit && r.inputValue === "" && (v.value = null, l("clear", !0));
20961
20961
  }, i1 = () => {
20962
- I.value = !0, l("focus"), i2().then(() => {
20962
+ I.value = !0, l("focus"), o2().then(() => {
20963
20963
  var O;
20964
20964
  s.value.enabled && s.value.selectOnFocus && ((O = z.value) == null || O.select());
20965
20965
  });
@@ -21138,7 +21138,7 @@ const qt = ({
21138
21138
  defaultedMultiDates: i1
21139
21139
  } = q1(r), { menuTransition: v1, showTransition: k } = Z3(V), { isMobile: A } = Z5(P);
21140
21140
  N1(() => {
21141
- e1(r.modelValue), i2().then(() => {
21141
+ e1(r.modelValue), o2().then(() => {
21142
21142
  if (!_.value.enabled) {
21143
21143
  const G = X(m.value);
21144
21144
  G == null || G.addEventListener("scroll", J), window == null || window.addEventListener("resize", S1);
@@ -21227,7 +21227,7 @@ const qt = ({
21227
21227
  return;
21228
21228
  }
21229
21229
  const V2 = Array.isArray(G) ? !G.some((g3) => !H(g3)) : H(G), _2 = L(G);
21230
- V2 && _2 ? (I.value = !0, T.value = G, u1 && (g.value = m1, y1(), l("text-submit")), i2().then(() => {
21230
+ V2 && _2 ? (I.value = !0, T.value = G, u1 && (g.value = m1, y1(), l("text-submit")), o2().then(() => {
21231
21231
  I.value = !1;
21232
21232
  })) : l("invalid-date", G);
21233
21233
  }, w7 = () => {
@@ -21297,15 +21297,15 @@ const qt = ({
21297
21297
  onBlur: I7,
21298
21298
  onRealBlur: u1[1] || (u1[1] = (m1) => h.value = !1),
21299
21299
  onTextInput: u1[2] || (u1[2] = (m1) => G.$emit("text-input", m1))
21300
- }), n2({ _: 2 }, [
21300
+ }), i2({ _: 2 }, [
21301
21301
  O1(d(U), (m1, V2) => ({
21302
21302
  name: m1,
21303
21303
  fn: g1((_2) => [
21304
- K(G.$slots, m1, s2(f2(_2)))
21304
+ K(G.$slots, m1, n2(f2(_2)))
21305
21305
  ])
21306
21306
  }))
21307
21307
  ]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
21308
- (M(), M1(K3(G.teleport ? r5 : "div"), s2(f2(l1.value)), {
21308
+ (M(), M1(K3(G.teleport ? r5 : "div"), n2(f2(l1.value)), {
21309
21309
  default: g1(() => [
21310
21310
  P1(e3, {
21311
21311
  name: d(v1)(d(r1)),
@@ -21353,11 +21353,11 @@ const qt = ({
21353
21353
  onInvalidDate: u1[17] || (u1[17] = (m1) => G.$emit("invalid-date", m1)),
21354
21354
  onOverlayToggle: u1[18] || (u1[18] = (m1) => G.$emit("overlay-toggle", m1)),
21355
21355
  onMenuBlur: u1[19] || (u1[19] = (m1) => G.$emit("blur"))
21356
- }), n2({ _: 2 }, [
21356
+ }), i2({ _: 2 }, [
21357
21357
  O1(d(x), (m1, V2) => ({
21358
21358
  name: m1,
21359
21359
  fn: g1((_2) => [
21360
- K(G.$slots, m1, s2(f2({ ..._2 })))
21360
+ K(G.$slots, m1, n2(f2({ ..._2 })))
21361
21361
  ])
21362
21362
  }))
21363
21363
  ]), 1040, ["internal-model-value", "class", "open-on-top", "no-overlay-focus", "collapse", "is-text-input-date", "onRecalculatePosition"])
@@ -21529,7 +21529,7 @@ const oa = { class: "rds-e-datepicker" }, ca = { class: "rds-e-datepicker__day_w
21529
21529
  */
21530
21530
  clearValue: m
21531
21531
  }), N1(() => {
21532
- i2(() => h());
21532
+ o2(() => h());
21533
21533
  }), (g, v) => (M(), S("div", oa, [
21534
21534
  P1(d(be), A1({
21535
21535
  ref_key: "rdsDatepicker",
@@ -21547,7 +21547,7 @@ const oa = { class: "rds-e-datepicker" }, ca = { class: "rds-e-datepicker__day_w
21547
21547
  "enable-time-picker": !1
21548
21548
  }, { ...o.value, ...g.$attrs }, {
21549
21549
  "onUpdate:modelValue": v[2] || (v[2] = (z) => i.value = z)
21550
- }), n2({
21550
+ }), i2({
21551
21551
  "dp-input": g1(({ onEnter: z, onTab: I, onClear: D, onBlur: w }) => [
21552
21552
  P1(d(ae), A1({
21553
21553
  id: e.id,
@@ -21592,7 +21592,7 @@ const oa = { class: "rds-e-datepicker" }, ca = { class: "rds-e-datepicker__day_w
21592
21592
  O1(d(r), (z, I) => ({
21593
21593
  name: I,
21594
21594
  fn: g1((D) => [
21595
- K(g.$slots, I, s2(f2(D || {})), void 0, !0)
21595
+ K(g.$slots, I, n2(f2(D || {})), void 0, !0)
21596
21596
  ])
21597
21597
  }))
21598
21598
  ]), 1040, ["modelValue", "locale", "disabled", "clearable", "action-row", "range", "month-picker"])
@@ -22026,7 +22026,7 @@ const oa = { class: "rds-e-datepicker" }, ca = { class: "rds-e-datepicker__day_w
22026
22026
  };
22027
22027
  t2(
22028
22028
  () => l.open,
22029
- (v) => i2(() => {
22029
+ (v) => o2(() => {
22030
22030
  c(v);
22031
22031
  }),
22032
22032
  { immediate: !0 }
@@ -22469,7 +22469,7 @@ const Fa = ["aria-selected", "tabindex", "onClick", "onKeydown"], Ha = { class:
22469
22469
  I(n.value);
22470
22470
  };
22471
22471
  return N1(async () => {
22472
- await i2(), i.value && (f = Array.from(
22472
+ await o2(), i.value && (f = Array.from(
22473
22473
  i.value.children
22474
22474
  )), n.value = t.options[0].id ?? "", window.addEventListener("resize", l6(D, 200));
22475
22475
  }), s3(() => {
@@ -22826,7 +22826,7 @@ const Fa = ["aria-selected", "tabindex", "onClick", "onKeydown"], Ha = { class:
22826
22826
  }, [
22827
22827
  Y("div", {
22828
22828
  class: "rds-e-indicator__progress-bar__fill",
22829
- style: c2(f.value)
22829
+ style: s2(f.value)
22830
22830
  }, null, 4)
22831
22831
  ], 512),
22832
22832
  (M(!0), S(k1, null, O1(a.steps, (z, I) => (M(), S("div", {
@@ -23063,7 +23063,7 @@ const Fa = ["aria-selected", "tabindex", "onClick", "onKeydown"], Ha = { class:
23063
23063
  };
23064
23064
  t2(
23065
23065
  () => t.value,
23066
- () => i2(() => {
23066
+ () => o2(() => {
23067
23067
  i();
23068
23068
  }),
23069
23069
  { immediate: !0 }
@@ -23196,7 +23196,7 @@ const Fa = ["aria-selected", "tabindex", "onClick", "onKeydown"], Ha = { class:
23196
23196
  default: g1(() => [
23197
23197
  P1(d(t6), {
23198
23198
  class: "rds-e-modal__card",
23199
- style: c2(s.value),
23199
+ style: s2(s.value),
23200
23200
  onClick: o[1] || (o[1] = C1(() => {
23201
23201
  }, ["stop"]))
23202
23202
  }, {
@@ -24432,7 +24432,7 @@ const Ir = { class: "rds-e-sidebar__sidebar__container" }, kr = {
24432
24432
  }), Dr = /* @__PURE__ */ R1(Sr, [["__scopeId", "data-v-363d1830"]]), $r = { class: "rds-e-sidedrawer__header rds-mb-24" }, Pr = {
24433
24433
  key: 0,
24434
24434
  class: "rds-headline-04 rds-content-high"
24435
- }, Tr = /* @__PURE__ */ x1({
24435
+ }, Tr = { class: "rds-e-sidedrawer__content-inner" }, Cr = { class: "rds-e-sidedrawer__footer rds-pt-12" }, Ar = /* @__PURE__ */ x1({
24436
24436
  __name: "sidedrawer",
24437
24437
  props: {
24438
24438
  /**
@@ -24448,6 +24448,13 @@ const Ir = { class: "rds-e-sidebar__sidebar__container" }, kr = {
24448
24448
  iconClose: {
24449
24449
  type: Boolean,
24450
24450
  default: !0
24451
+ },
24452
+ /**
24453
+ * <span>Define el ancho del componente al abrirse</span>
24454
+ */
24455
+ containerWidth: {
24456
+ type: String,
24457
+ default: ""
24451
24458
  }
24452
24459
  },
24453
24460
  emits: ["sidedrawerChange"],
@@ -24492,7 +24499,8 @@ const Ir = { class: "rds-e-sidebar__sidebar__container" }, kr = {
24492
24499
  Y("div", {
24493
24500
  ref_key: "sidebar",
24494
24501
  ref: r,
24495
- class: a1(["rds-e-sidedrawer__content rds-pa-24", o.value])
24502
+ class: a1(["rds-e-sidedrawer__content rds-pa-24", o.value]),
24503
+ style: s2({ "--container-width": `${e.containerWidth}px` })
24496
24504
  }, [
24497
24505
  Y("div", $r, [
24498
24506
  e.title ? (M(), S("h2", Pr, p1(e.title), 1)) : C("", !0),
@@ -24503,11 +24511,16 @@ const Ir = { class: "rds-e-sidebar__sidebar__container" }, kr = {
24503
24511
  onClick: h[0] || (h[0] = (m) => c(!0))
24504
24512
  })) : C("", !0)
24505
24513
  ]),
24506
- K(u.$slots, "content", {}, void 0, !0)
24507
- ], 2)
24514
+ Y("div", Tr, [
24515
+ K(u.$slots, "content", {}, void 0, !0)
24516
+ ]),
24517
+ Y("div", Cr, [
24518
+ K(u.$slots, "footer", {}, void 0, !0)
24519
+ ])
24520
+ ], 6)
24508
24521
  ], 2));
24509
24522
  }
24510
- }), Cr = /* @__PURE__ */ R1(Tr, [["__scopeId", "data-v-784b3aa8"]]), l5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24523
+ }), Or = /* @__PURE__ */ R1(Ar, [["__scopeId", "data-v-18f02b05"]]), l5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24511
24524
  __proto__: null,
24512
24525
  RDSAccordion: Aa,
24513
24526
  RDSAccordionGroup: Da,
@@ -24533,7 +24546,7 @@ const Ir = { class: "rds-e-sidebar__sidebar__container" }, kr = {
24533
24546
  RDSRadioGroup: f0,
24534
24547
  RDSSelectionChip: xa,
24535
24548
  RDSSidebar: Dr,
24536
- RDSSidedrawer: Cr,
24549
+ RDSSidedrawer: Or,
24537
24550
  RDSSwitch: c0,
24538
24551
  RDSTabBar: ja,
24539
24552
  RDSTag: e6,
@@ -24542,11 +24555,11 @@ const Ir = { class: "rds-e-sidebar__sidebar__container" }, kr = {
24542
24555
  RDSToggle: za,
24543
24556
  RDSTooltip: _r
24544
24557
  }, Symbol.toStringTag, { value: "Module" }));
24545
- let Ar;
24546
- function Br(e) {
24547
- Ar = e;
24558
+ let Rr;
24559
+ function Er(e) {
24560
+ Rr = e;
24548
24561
  }
24549
- const Vr = {
24562
+ const Lr = {
24550
24563
  install: (e) => {
24551
24564
  for (const a in l5)
24552
24565
  e.component(
@@ -24580,7 +24593,7 @@ export {
24580
24593
  f0 as RDSRadioGroup,
24581
24594
  xa as RDSSelectionChip,
24582
24595
  Dr as RDSSidebar,
24583
- Cr as RDSSidedrawer,
24596
+ Or as RDSSidedrawer,
24584
24597
  c0 as RDSSwitch,
24585
24598
  ja as RDSTabBar,
24586
24599
  e6 as RDSTag,
@@ -24588,7 +24601,7 @@ export {
24588
24601
  ae as RDSTextField,
24589
24602
  za as RDSToggle,
24590
24603
  _r as RDSTooltip,
24591
- Ar as VueInstance,
24592
- Vr as default,
24593
- Br as setVueInstance
24604
+ Rr as VueInstance,
24605
+ Lr as default,
24606
+ Er as setVueInstance
24594
24607
  };