@quidgest/ui 0.16.53 → 0.16.54

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.
package/dist/ui.esm.js CHANGED
@@ -1,10 +1,10 @@
1
1
  var cs = Object.defineProperty;
2
2
  var fs = (a, e, t) => e in a ? cs(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
3
  var _e = (a, e, t) => fs(a, typeof e != "symbol" ? e + "" : e, t);
4
- import { getCurrentInstance as wn, computed as k, ref as j, toValue as ha, provide as vl, inject as ja, unref as d, isRef as mn, watch as De, defineComponent as ue, mergeModels as Ve, toRef as Ce, useModel as We, createElementBlock as b, openBlock as p, normalizeClass as oe, renderSlot as D, normalizeStyle as Ne, withModifiers as at, createCommentVNode as S, createElementVNode as Z, createVNode as me, createTextVNode as Ge, toDisplayString as ke, useAttrs as hl, createBlock as ne, resolveDynamicComponent as ra, withCtx as N, Fragment as ye, h as Zn, mergeProps as Te, withKeys as vn, normalizeProps as Oe, guardReactiveProps as Qe, useSlots as Gt, onMounted as Je, onUnmounted as Mt, renderList as Be, nextTick as Ee, useTemplateRef as xt, createSlots as He, withDirectives as Wt, vModelDynamic as ps, vModelText as yl, useId as ms, onBeforeUnmount as gl, reactive as na, Teleport as Or, Transition as Ht, render as Jl, getCurrentScope as Lr, onScopeDispose as Ir, onBeforeUpdate as vs, vShow as fn, resolveComponent as hs, vModelCheckbox as ys, readonly as gs, customRef as bs, shallowRef as Jn, toHandlers as _s, watchEffect as ws, TransitionGroup as ks } from "vue";
4
+ import { getCurrentInstance as wn, computed as k, ref as j, toValue as ha, provide as vl, inject as ja, unref as d, isRef as mn, watch as De, defineComponent as ue, mergeModels as Ve, toRef as Ce, useModel as We, createElementBlock as b, openBlock as p, normalizeClass as oe, renderSlot as D, normalizeStyle as Ne, withModifiers as at, createCommentVNode as S, createElementVNode as Z, createVNode as ve, createTextVNode as Ge, toDisplayString as ke, useAttrs as hl, createBlock as ne, resolveDynamicComponent as ra, withCtx as N, Fragment as ye, h as Zn, mergeProps as Te, withKeys as vn, normalizeProps as Oe, guardReactiveProps as Qe, useSlots as Gt, onMounted as Je, onUnmounted as Mt, renderList as Re, nextTick as Be, useTemplateRef as xt, createSlots as He, withDirectives as Wt, vModelDynamic as ps, vModelText as yl, useId as ms, onBeforeUnmount as gl, reactive as na, Teleport as Or, Transition as Ht, render as Jl, getCurrentScope as Lr, onScopeDispose as Ir, onBeforeUpdate as vs, vShow as fn, resolveComponent as hs, vModelCheckbox as ys, readonly as gs, customRef as bs, shallowRef as Jn, toHandlers as _s, watchEffect as ws, TransitionGroup as ks } from "vue";
5
5
  /*!
6
- * Quidgest UI v0.16.53
7
- * (c) 2025 Quidgest - Consultores de Gestão, S.A.
6
+ * Quidgest UI v0.16.54
7
+ * (c) 2026 Quidgest - Consultores de Gestão, S.A.
8
8
  * Released under the MIT License.
9
9
  */
10
10
  const el = {
@@ -586,7 +586,7 @@ const Rs = ["id", "disabled"], Es = {
586
586
  onClick: at(r, ["stop", "prevent"])
587
587
  }, [
588
588
  t.loading ? (p(), b("div", Es, [
589
- me(d(Ga))
589
+ ve(d(Ga))
590
590
  ])) : S("", !0),
591
591
  Z("span", Vs, [
592
592
  D(f.$slots, "default"),
@@ -858,7 +858,7 @@ const Rs = ["id", "disabled"], Es = {
858
858
  const a = this.getSvgContent(this.svgElSource);
859
859
  if (!a) return Zn("div", this.$attrs);
860
860
  const e = {};
861
- return this.copySvgAttrs(e, this.svgElSource), this.copySvgAttrs(e, a), this.copyComponentAttrs(e, this.$attrs), e.innerHTML = a.innerHTML, Zn("svg", e);
861
+ return this.copySvgAttrs(e, this.svgElSource), this.copySvgAttrs(e, a), this.copyComponentAttrs(e, this.$attrs), e.innerHTML = a.innerHTML, this.$attrs.id || delete e.id, Zn("svg", e);
862
862
  },
863
863
  expose: []
864
864
  });
@@ -987,7 +987,7 @@ const ni = /* @__PURE__ */ ue({
987
987
  }, {
988
988
  header: N(() => [
989
989
  s.title ? (p(), b("div", ri, [
990
- me(d(bt), {
990
+ ve(d(bt), {
991
991
  variant: "text",
992
992
  block: "",
993
993
  class: "q-collapsible__btn",
@@ -997,7 +997,7 @@ const ni = /* @__PURE__ */ ue({
997
997
  default: N(() => [
998
998
  Z("div", oi, [
999
999
  s.iconRight ? S("", !0) : D(s.$slots, "icon", { key: 0 }, () => [
1000
- me(d(hn), {
1000
+ ve(d(hn), {
1001
1001
  "model-value": t.value,
1002
1002
  icons: e.icons
1003
1003
  }, null, 8, ["model-value", "icons"])
@@ -1007,7 +1007,7 @@ const ni = /* @__PURE__ */ ue({
1007
1007
  e.required ? (p(), b("span", ii, " * ")) : S("", !0),
1008
1008
  D(s.$slots, "title.append"),
1009
1009
  s.iconRight ? D(s.$slots, "icon", { key: 2 }, () => [
1010
- me(d(hn), {
1010
+ ve(d(hn), {
1011
1011
  "model-value": t.value,
1012
1012
  class: "q-collapsible__chevron-right",
1013
1013
  icons: e.icons
@@ -1185,7 +1185,7 @@ const mi = /* @__PURE__ */ ue({
1185
1185
  onClick: u
1186
1186
  }, {
1187
1187
  default: N(() => [
1188
- me(d(ze), Oe(Qe(t.icons.remove)), null, 16)
1188
+ ve(d(ze), Oe(Qe(t.icons.remove)), null, 16)
1189
1189
  ]),
1190
1190
  _: 1
1191
1191
  }, 8, ["color", "aria-label", "title", "disabled"])) : S("", !0)
@@ -1199,7 +1199,8 @@ const mi = /* @__PURE__ */ ue({
1199
1199
  class: {},
1200
1200
  content: {},
1201
1201
  color: { default: "highlight" },
1202
- placement: { default: "top-right" }
1202
+ placement: { default: "top-right" },
1203
+ enabled: { type: Boolean, default: !0 }
1203
1204
  },
1204
1205
  setup(a) {
1205
1206
  const e = a, t = Gt(), n = k(() => !e.content && !t.content), l = k(() => [
@@ -1214,7 +1215,8 @@ const mi = /* @__PURE__ */ ue({
1214
1215
  class: oe(["q-badge-indicator__wrapper", e.class])
1215
1216
  }, [
1216
1217
  D(r.$slots, "default"),
1217
- me(d(Ta), {
1218
+ e.enabled ? (p(), ne(d(Ta), {
1219
+ key: 0,
1218
1220
  pill: "",
1219
1221
  variant: "bold",
1220
1222
  class: oe(l.value),
@@ -1226,7 +1228,7 @@ const mi = /* @__PURE__ */ ue({
1226
1228
  ])
1227
1229
  ]),
1228
1230
  _: 3
1229
- }, 8, ["class", "color"])
1231
+ }, 8, ["class", "color"])) : S("", !0)
1230
1232
  ], 10, Mi));
1231
1233
  }
1232
1234
  }), Ai = we(Di), Ci = ["id"], qi = /* @__PURE__ */ ue({
@@ -1357,7 +1359,7 @@ const mi = /* @__PURE__ */ ue({
1357
1359
  const J = r.value, A = t.slides[J], K = t.slides[P];
1358
1360
  n("slide:before-change", K.id, A == null ? void 0 : A.id), r.value = P, l.value = P, t.animationDuration > 0 ? (o = !0, setTimeout(() => {
1359
1361
  o = !1, n("slide:after-change", K.id, A == null ? void 0 : A.id);
1360
- }, t.animationDuration)) : Ee(() => {
1362
+ }, t.animationDuration)) : Be(() => {
1361
1363
  n("slide:after-change", K.id, A == null ? void 0 : A.id);
1362
1364
  });
1363
1365
  }
@@ -1450,18 +1452,18 @@ const mi = /* @__PURE__ */ ue({
1450
1452
  onKeydown: le
1451
1453
  }, [
1452
1454
  P.loading ? (p(), b("div", Bi, [
1453
- me(d($a), {
1455
+ ve(d($a), {
1454
1456
  width: "100%",
1455
1457
  height: "100%"
1456
1458
  }),
1457
1459
  Z("div", Ri, [
1458
- me(d($a), {
1460
+ ve(d($a), {
1459
1461
  type: "text",
1460
1462
  width: "40%",
1461
1463
  height: "24px",
1462
1464
  class: "q-carousel__skeleton-title"
1463
1465
  }),
1464
- me(d($a), {
1466
+ ve(d($a), {
1465
1467
  type: "text",
1466
1468
  width: "60%",
1467
1469
  height: "16px",
@@ -1469,13 +1471,13 @@ const mi = /* @__PURE__ */ ue({
1469
1471
  })
1470
1472
  ]),
1471
1473
  t.showControls ? (p(), b("div", Ei, [
1472
- me(d($a), {
1474
+ ve(d($a), {
1473
1475
  type: "icon",
1474
1476
  width: "40px",
1475
1477
  height: "40px",
1476
1478
  class: "q-carousel__skeleton-control"
1477
1479
  }),
1478
- me(d($a), {
1480
+ ve(d($a), {
1479
1481
  type: "icon",
1480
1482
  width: "40px",
1481
1483
  height: "40px",
@@ -1491,7 +1493,7 @@ const mi = /* @__PURE__ */ ue({
1491
1493
  onTouchmove: be,
1492
1494
  onTouchend: I
1493
1495
  }, [
1494
- (p(!0), b(ye, null, Be(P.slides, (B, _) => (p(), b("div", {
1496
+ (p(!0), b(ye, null, Re(P.slides, (B, _) => (p(), b("div", {
1495
1497
  key: B.id,
1496
1498
  class: oe([
1497
1499
  "q-carousel__slide",
@@ -1517,7 +1519,7 @@ const mi = /* @__PURE__ */ ue({
1517
1519
  (z = P.slides[r.value]) != null && z.subtitle ? (p(), b("p", Qi, ke(P.slides[r.value].subtitle), 1)) : S("", !0)
1518
1520
  ])) : S("", !0),
1519
1521
  P.showIndicators && P.slides.length > 1 ? (p(), b("ol", Wi, [
1520
- (p(!0), b(ye, null, Be(P.slides, (B, _) => (p(), b("li", {
1522
+ (p(!0), b(ye, null, Re(P.slides, (B, _) => (p(), b("li", {
1521
1523
  key: B.id,
1522
1524
  class: oe([
1523
1525
  "q-carousel__indicator",
@@ -1531,26 +1533,26 @@ const mi = /* @__PURE__ */ ue({
1531
1533
  }, null, 14, Hi))), 128))
1532
1534
  ])) : S("", !0),
1533
1535
  P.showControls && P.slides.length > 1 ? (p(), b(ye, { key: 4 }, [
1534
- me(d(bt), {
1536
+ ve(d(bt), {
1535
1537
  class: "q-carousel__control q-carousel__control--prev",
1536
1538
  "data-testid": "carousel-prev",
1537
1539
  "aria-label": P.texts.previousText,
1538
1540
  onClick: T
1539
1541
  }, {
1540
1542
  default: N(() => [
1541
- me(d(ze), Te({ class: "q-carousel__control-icon q-carousel__control-icon--prev" }, t.icons.back), null, 16),
1543
+ ve(d(ze), Te({ class: "q-carousel__control-icon q-carousel__control-icon--prev" }, t.icons.back), null, 16),
1542
1544
  Z("span", Ui, ke(P.texts.previousText), 1)
1543
1545
  ]),
1544
1546
  _: 1
1545
1547
  }, 8, ["aria-label"]),
1546
- me(d(bt), {
1548
+ ve(d(bt), {
1547
1549
  class: "q-carousel__control q-carousel__control--next",
1548
1550
  "data-testid": "carousel-next",
1549
1551
  "aria-label": P.texts.nextText,
1550
1552
  onClick: O
1551
1553
  }, {
1552
1554
  default: N(() => [
1553
- me(d(ze), Te({ class: "q-carousel__control-icon q-carousel__control-icon--next" }, t.icons.forward), null, 16),
1555
+ ve(d(ze), Te({ class: "q-carousel__control-icon q-carousel__control-icon--next" }, t.icons.forward), null, 16),
1554
1556
  Z("span", ji, ke(P.texts.nextText), 1)
1555
1557
  ]),
1556
1558
  _: 1
@@ -1726,7 +1728,7 @@ const mi = /* @__PURE__ */ ue({
1726
1728
  setup(a) {
1727
1729
  const e = a;
1728
1730
  return (t, n) => (p(), b("div", lu, [
1729
- me(d(jt), {
1731
+ ve(d(jt), {
1730
1732
  class: "q-checkbox__label",
1731
1733
  for: e.for,
1732
1734
  required: e.required
@@ -1849,7 +1851,7 @@ const mi = /* @__PURE__ */ ue({
1849
1851
  onClick: l
1850
1852
  }, {
1851
1853
  default: N(() => [
1852
- me(d(ze), Oe(Qe(t.icons.clear)), null, 16)
1854
+ ve(d(ze), Oe(Qe(t.icons.clear)), null, 16)
1853
1855
  ]),
1854
1856
  _: 1
1855
1857
  }, 8, ["id", "class", "aria-label"]));
@@ -2234,13 +2236,13 @@ const mi = /* @__PURE__ */ ue({
2234
2236
  }, {
2235
2237
  default: N(() => [
2236
2238
  D(C.$slots, "default", {}, () => [
2237
- (p(!0), b(ye, null, Be(s.value, (P, J) => (p(), ne(d(Gr), {
2239
+ (p(!0), b(ye, null, Re(s.value, (P, J) => (p(), ne(d(Gr), {
2238
2240
  id: P.id,
2239
2241
  key: P.id,
2240
2242
  title: s.value.length === 1 ? void 0 : P.title
2241
2243
  }, {
2242
2244
  default: N(() => [
2243
- (p(!0), b(ye, null, Be(I(P.id), (A, K) => (p(), ne(d(Xr), {
2245
+ (p(!0), b(ye, null, Re(I(P.id), (A, K) => (p(), ne(d(Xr), {
2244
2246
  key: A[n.itemValue],
2245
2247
  ref_for: !0,
2246
2248
  ref_key: "listItemsRef",
@@ -2362,7 +2364,7 @@ const mi = /* @__PURE__ */ ue({
2362
2364
  ])
2363
2365
  ]),
2364
2366
  t.description ? (p(), b("div", Au, [
2365
- me(d(ze), Oe(Qe(t.icons.description)), null, 16),
2367
+ ve(d(ze), Oe(Qe(t.icons.description)), null, 16),
2366
2368
  Z("span", null, ke(t.description), 1)
2367
2369
  ])) : S("", !0)
2368
2370
  ]),
@@ -2610,9 +2612,9 @@ const Hu = () => {
2610
2612
  ].join(",");
2611
2613
  let r;
2612
2614
  gl(() => {
2613
- e.closingFocus ? Ee(() => {
2615
+ e.closingFocus ? Be(() => {
2614
2616
  f(e.closingFocus);
2615
- }) : e.returnFocusOnDeactivate && Ee(() => {
2617
+ }) : e.returnFocusOnDeactivate && Be(() => {
2616
2618
  f(r);
2617
2619
  });
2618
2620
  });
@@ -2640,13 +2642,13 @@ const Hu = () => {
2640
2642
  return De(
2641
2643
  () => e.active,
2642
2644
  () => {
2643
- e.active ? (e.returnFocusOnDeactivate && (r = document.activeElement), e.initialFocus ? Ee(() => {
2645
+ e.active ? (e.returnFocusOnDeactivate && (r = document.activeElement), e.initialFocus ? Be(() => {
2644
2646
  f(e.initialFocus);
2645
- }) : e.focusWithinOnActivate && Ee(() => {
2647
+ }) : e.focusWithinOnActivate && Be(() => {
2646
2648
  i();
2647
- })) : e.closingFocus ? Ee(() => {
2649
+ })) : e.closingFocus ? Be(() => {
2648
2650
  f(e.closingFocus);
2649
- }) : e.returnFocusOnDeactivate && Ee(() => {
2651
+ }) : e.returnFocusOnDeactivate && Be(() => {
2650
2652
  f(r);
2651
2653
  });
2652
2654
  },
@@ -2909,7 +2911,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
2909
2911
  }
2910
2912
  De(
2911
2913
  () => t.placement,
2912
- () => Ee(O)
2914
+ () => Be(O)
2913
2915
  );
2914
2916
  let T;
2915
2917
  function w() {
@@ -2926,14 +2928,14 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
2926
2928
  function L() {
2927
2929
  if (T && Y(), n("update:modelValue", !1), t.anchor && t.trigger === "click") {
2928
2930
  const g = I();
2929
- Ee(() => g == null ? void 0 : g.focus());
2931
+ Be(() => g == null ? void 0 : g.focus());
2930
2932
  }
2931
2933
  }
2932
2934
  function Y() {
2933
2935
  clearTimeout(T), T = void 0;
2934
2936
  }
2935
2937
  function R() {
2936
- Ee(U), n("enter");
2938
+ Be(U), n("enter");
2937
2939
  }
2938
2940
  function V() {
2939
2941
  be();
@@ -3022,13 +3024,13 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3022
3024
  o.value || B(), t.spy && (clearTimeout(_), _ = void 0);
3023
3025
  }
3024
3026
  return Je(() => {
3025
- Ee(A);
3027
+ Be(A);
3026
3028
  }), gl(K), (g, h) => (p(), b(ye, null, [
3027
3029
  (p(), ne(Or, {
3028
3030
  disabled: !c.value,
3029
3031
  to: t.attach
3030
3032
  }, [
3031
- me(Ht, {
3033
+ ve(Ht, {
3032
3034
  name: "fade",
3033
3035
  appear: ""
3034
3036
  }, {
@@ -3046,7 +3048,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3046
3048
  ]),
3047
3049
  _: 1
3048
3050
  }),
3049
- me(Ht, {
3051
+ ve(Ht, {
3050
3052
  name: t.transition,
3051
3053
  appear: "",
3052
3054
  onEnter: R,
@@ -3064,7 +3066,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3064
3066
  class: oe(r.value),
3065
3067
  style: Ne(m.value)
3066
3068
  }, [
3067
- me(d(Zr), {
3069
+ ve(d(Zr), {
3068
3070
  onDismiss: P,
3069
3071
  onInteractOutside: q,
3070
3072
  onPointerDownOutside: C
@@ -3200,7 +3202,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3200
3202
  function le() {
3201
3203
  if (Y(), $.value !== void 0) {
3202
3204
  const B = M.value.indexOf($.value);
3203
- B !== -1 && Ee(() => z(B));
3205
+ B !== -1 && Be(() => z(B));
3204
3206
  }
3205
3207
  }
3206
3208
  function he(B) {
@@ -3209,14 +3211,14 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3209
3211
  if (["ArrowDown", "ArrowUp", "Home", "End"].includes(B.key) && (B.preventDefault(), B.stopPropagation()), B.key === "Escape")
3210
3212
  L(), o.value && (B.preventDefault(), B.stopPropagation(), R());
3211
3213
  else if (["ArrowDown", "ArrowUp"].includes(B.key))
3212
- o.value ? Ee(() => {
3214
+ o.value ? Be(() => {
3213
3215
  if (i.value === void 0)
3214
3216
  be();
3215
3217
  else {
3216
3218
  const U = B.key === "ArrowDown" ? "next" : "prev";
3217
3219
  C(i.value, U);
3218
3220
  }
3219
- }) : (Y(), Ee(() => {
3221
+ }) : (Y(), Be(() => {
3220
3222
  B.key === "ArrowDown" ? be() : I();
3221
3223
  }));
3222
3224
  else if (B.key === "Enter") {
@@ -3289,18 +3291,18 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3289
3291
  ), De(i, (B) => {
3290
3292
  B !== void 0 && z(B);
3291
3293
  }), De(s, (B) => {
3292
- B && o.value && n.selectionMode === "automatic" && Ee(be);
3294
+ B && o.value && n.selectionMode === "automatic" && Be(be);
3293
3295
  }), De(
3294
3296
  () => n.loading,
3295
3297
  (B) => {
3296
- !B && o.value && Ee(be);
3298
+ !B && o.value && Be(be);
3297
3299
  }
3298
3300
  ), e({
3299
3301
  triggerEl: c
3300
3302
  }), (B, _) => {
3301
3303
  var E;
3302
3304
  return p(), b(ye, null, [
3303
- me(d(en), Te({
3305
+ ve(d(en), Te({
3304
3306
  id: n.id,
3305
3307
  ref_key: "triggerEl",
3306
3308
  ref: c,
@@ -3362,7 +3364,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3362
3364
  onMousedown: at(V, ["stop", "prevent"])
3363
3365
  }, {
3364
3366
  default: N(() => [
3365
- me(d(hn), {
3367
+ ve(d(hn), {
3366
3368
  "model-value": o.value,
3367
3369
  icons: n.icons
3368
3370
  }, null, 8, ["model-value", "icons"])
@@ -3387,7 +3389,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3387
3389
  key: "1"
3388
3390
  } : void 0
3389
3391
  ]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
3390
- me(d(oa), {
3392
+ ve(d(oa), {
3391
3393
  modelValue: o.value,
3392
3394
  "onUpdate:modelValue": _[1] || (_[1] = (U) => o.value = U),
3393
3395
  spy: "",
@@ -3414,7 +3416,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3414
3416
  }, [
3415
3417
  D(B.$slots, "body.prepend"),
3416
3418
  n.loading ? (p(), b("div", cd, [
3417
- me(d(Ga), { size: 24 })
3419
+ ve(d(Ga), { size: 24 })
3418
3420
  ])) : M.value.length ? (p(), ne(d(Tn), {
3419
3421
  key: 1,
3420
3422
  ref_key: "listRef",
@@ -7664,7 +7666,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7664
7666
  vs(() => {
7665
7667
  x.value = null;
7666
7668
  }), Je(() => {
7667
- Ee().then(() => he()), s.noOverlayFocus || L(), G(!0);
7669
+ Be().then(() => he()), s.noOverlayFocus || L(), G(!0);
7668
7670
  }), Mt(() => G(!1));
7669
7671
  const G = (_) => {
7670
7672
  var E;
@@ -7705,7 +7707,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7705
7707
  { deep: !0 }
7706
7708
  );
7707
7709
  const he = (_ = !0) => {
7708
- Ee().then(() => {
7710
+ Be().then(() => {
7709
7711
  const E = pt(x), U = pt(M), te = pt(T), g = pt(F), h = te ? te.getBoundingClientRect().height : 0;
7710
7712
  U && (U.getBoundingClientRect().height ? w.value = U.getBoundingClientRect().height - h : w.value = f.value.modeHeight - h), E && g && _ && (g.scrollTop = E.offsetTop - g.offsetTop - (w.value / 2 - E.getBoundingClientRect().height) - h);
7711
7713
  });
@@ -7774,12 +7776,12 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7774
7776
  Z("div", pp, [
7775
7777
  D(_.$slots, "header")
7776
7778
  ]),
7777
- _.$slots.overlay ? D(_.$slots, "overlay", { key: 0 }) : (p(!0), b(ye, { key: 1 }, Be(a.items, (te, g) => (p(), b("div", {
7779
+ _.$slots.overlay ? D(_.$slots, "overlay", { key: 0 }) : (p(!0), b(ye, { key: 1 }, Re(a.items, (te, g) => (p(), b("div", {
7778
7780
  key: g,
7779
7781
  class: oe(["dp__overlay_row", { dp__flex_row: a.items.length >= 3 }]),
7780
7782
  role: "row"
7781
7783
  }, [
7782
- (p(!0), b(ye, null, Be(te, (h, ee) => (p(), b("div", {
7784
+ (p(!0), b(ye, null, Re(te, (h, ee) => (p(), b("div", {
7783
7785
  key: h.value,
7784
7786
  ref_for: !0,
7785
7787
  ref: (qe) => q(qe, h, g, ee),
@@ -7848,7 +7850,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7848
7850
  }),
7849
7851
  "data-dp-mobile": a.isMobile
7850
7852
  }, [
7851
- (p(!0), b(ye, null, Be(t.value, (o, s) => (p(), b("div", {
7853
+ (p(!0), b(ye, null, Re(t.value, (o, s) => (p(), b("div", {
7852
7854
  key: o,
7853
7855
  class: oe(n.value)
7854
7856
  }, [
@@ -7964,7 +7966,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7964
7966
  _: 3
7965
7967
  }, 8, ["aria-label", "disabled", "class"])) : S("", !0)
7966
7968
  ], 2),
7967
- me(Ht, {
7969
+ ve(Ht, {
7968
7970
  name: d(m)(a.showYearPicker),
7969
7971
  css: d(u)
7970
7972
  }, {
@@ -8179,7 +8181,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8179
8181
  v.value = Qt(te, E, x.value(U)), e("auto-apply"), e("update-flow-step");
8180
8182
  }, A = (E, U) => {
8181
8183
  const te = P(E, U);
8182
- o.value.fixedEnd || o.value.fixedStart ? v.value = zo(te, v, e, o) : v.value ? w(te, v.value) && (v.value = jl(v, P(E, U), e)) : v.value = [P(E, U)], Ee().then(() => {
8184
+ o.value.fixedEnd || o.value.fixedStart ? v.value = zo(te, v, e, o) : v.value ? w(te, v.value) && (v.value = jl(v, P(E, U), e)) : v.value = [P(E, U)], Be().then(() => {
8183
8185
  An(v.value, e, a.autoApply, a.modelAuto);
8184
8186
  });
8185
8187
  }, K = (E, U) => {
@@ -8307,7 +8309,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8307
8309
  onHoverValue: (W) => d($)(W, V)
8308
8310
  }, He({
8309
8311
  header: N(() => [
8310
- me(Fo, Te(Y.$props, {
8312
+ ve(Fo, Te(Y.$props, {
8311
8313
  items: d(i)(V),
8312
8314
  instance: V,
8313
8315
  "show-year-picker": d(v)[V],
@@ -8317,7 +8319,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8317
8319
  onYearSelect: (W) => d(F)(W, V),
8318
8320
  onToggleYearPicker: (W) => d(w)(V, W == null ? void 0 : W.flow, W == null ? void 0 : W.show)
8319
8321
  }), He({ _: 2 }, [
8320
- Be(d(r), (W, le) => ({
8322
+ Re(d(r), (W, le) => ({
8321
8323
  name: W,
8322
8324
  fn: N((he) => [
8323
8325
  D(Y.$slots, W, Oe(Qe(he)))
@@ -8368,7 +8370,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8368
8370
  var T;
8369
8371
  if (e("update-month-year", { instance: 0, year: O }), o.value.enabled)
8370
8372
  return n.value ? Array.isArray(n.value) && (((T = n.value) == null ? void 0 : T.map((w) => Pe(w))).includes(O) ? n.value = n.value.filter((w) => Pe(w) !== O) : n.value.push(Pt(vt(re()), O))) : n.value = [Pt(vt(Da(re())), O)], e("auto-apply", !0);
8371
- i.value.enabled ? (n.value = jl(n, $(O), e), Ee().then(() => {
8373
+ i.value.enabled ? (n.value = jl(n, $(O), e), Be().then(() => {
8372
8374
  An(n.value, e, a.autoApply, a.modelAuto);
8373
8375
  })) : (n.value = $(O), e("auto-apply"));
8374
8376
  }
@@ -8483,8 +8485,8 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8483
8485
  () => (y) => A(y, l[y]) || R(y, l[y])
8484
8486
  ), Y = k(() => ({ hours: l.hours, minutes: l.minutes, seconds: l.seconds })), R = (y, ce) => u.value.enabled && !u.value.disableTimeRangeValidation ? !l.validateTime(y, ce) : !1, V = (y, ce) => {
8485
8487
  if (u.value.enabled && !u.value.disableTimeRangeValidation) {
8486
- const pe = ce ? +l[`${y}Increment`] : -+l[`${y}Increment`], ve = l[y] + pe;
8487
- return !l.validateTime(y, ve);
8488
+ const pe = ce ? +l[`${y}Increment`] : -+l[`${y}Increment`], me = l[y] + pe;
8489
+ return !l.validateTime(y, me);
8488
8490
  }
8489
8491
  return !1;
8490
8492
  }, W = k(() => (y) => !E(+l[y] + +l[`${y}Increment`], y) || V(y, !0)), le = k(() => (y) => !E(+l[y] - +l[`${y}Increment`], y) || V(y, !1)), he = (y, ce) => no(Ze(re(), y), ce), be = (y, ce) => kf(Ze(re(), y), ce), I = k(
@@ -8513,33 +8515,33 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8513
8515
  }
8514
8516
  return { text: l[y] < 10 ? `0${l[y]}` : `${l[y]}`, value: l[y] };
8515
8517
  }), A = (y, ce) => {
8516
- var ve;
8518
+ var me;
8517
8519
  if (!l.disabledTimesConfig) return !1;
8518
8520
  const pe = l.disabledTimesConfig(l.order, y === "hours" ? ce : void 0);
8519
- return pe[y] ? !!((ve = pe[y]) != null && ve.includes(ce)) : !0;
8521
+ return pe[y] ? !!((me = pe[y]) != null && me.includes(ce)) : !0;
8520
8522
  }, K = (y, ce) => ce !== "hours" || $.value === "AM" ? y : y + 12, z = (y) => {
8521
- const ce = l.is24 ? 24 : 12, pe = y === "hours" ? ce : 60, ve = +l[`${y}GridIncrement`], Re = y === "hours" && !l.is24 ? ve : 0, Le = [];
8522
- for (let je = Re; je < pe; je += ve)
8523
+ const ce = l.is24 ? 24 : 12, pe = y === "hours" ? ce : 60, me = +l[`${y}GridIncrement`], Ee = y === "hours" && !l.is24 ? me : 0, Le = [];
8524
+ for (let je = Ee; je < pe; je += me)
8523
8525
  Le.push({ value: l.is24 ? je : K(je, y), text: je < 10 ? `0${je}` : `${je}` });
8524
8526
  return y === "hours" && !l.is24 && Le.unshift({ value: $.value === "PM" ? 12 : 0, text: "12" }), La(Le, (je) => ({ active: !1, disabled: c.value.times[y].includes(je.value) || !E(je.value, y) || A(y, je.value) || R(y, je.value) }));
8525
8527
  }, B = (y) => y >= 0 ? y : 59, _ = (y) => y >= 0 ? y : 23, E = (y, ce) => {
8526
- const pe = l.minTime ? G(zn(l.minTime)) : null, ve = l.maxTime ? G(zn(l.maxTime)) : null, Re = G(
8528
+ const pe = l.minTime ? G(zn(l.minTime)) : null, me = l.maxTime ? G(zn(l.maxTime)) : null, Ee = G(
8527
8529
  zn(
8528
8530
  Y.value,
8529
8531
  ce,
8530
8532
  ce === "minutes" || ce === "seconds" ? B(y) : _(y)
8531
8533
  )
8532
8534
  );
8533
- return pe && ve ? (Sa(Re, ve) || Ma(Re, ve)) && (va(Re, pe) || Ma(Re, pe)) : pe ? va(Re, pe) || Ma(Re, pe) : ve ? Sa(Re, ve) || Ma(Re, ve) : !0;
8535
+ return pe && me ? (Sa(Ee, me) || Ma(Ee, me)) && (va(Ee, pe) || Ma(Ee, pe)) : pe ? va(Ee, pe) || Ma(Ee, pe) : me ? Sa(Ee, me) || Ma(Ee, me) : !0;
8534
8536
  }, U = (y) => l[`no${y[0].toUpperCase() + y.slice(1)}Overlay`], te = (y) => {
8535
8537
  U(y) || (M[y] = !M[y], M[y] ? (F.value = !0, n("overlay-opened", y)) : (F.value = !1, n("overlay-closed", y)));
8536
8538
  }, g = (y) => y === "hours" ? Xt : y === "minutes" ? la : Pa, h = () => {
8537
8539
  w.value && clearTimeout(w.value);
8538
8540
  }, ee = (y, ce = !0, pe) => {
8539
- const ve = ce ? he : be, Re = ce ? +l[`${y}Increment`] : -+l[`${y}Increment`];
8540
- E(+l[y] + Re, y) && n(
8541
+ const me = ce ? he : be, Ee = ce ? +l[`${y}Increment`] : -+l[`${y}Increment`];
8542
+ E(+l[y] + Ee, y) && n(
8541
8543
  `update:${y}`,
8542
- g(y)(ve({ [y]: +l[y] }, { [y]: +l[`${y}Increment`] }))
8544
+ g(y)(me({ [y]: +l[y] }, { [y]: +l[`${y}Increment`] }))
8543
8545
  ), !(pe != null && pe.keyboard) && f.value.timeArrowHoldThreshold && (w.value = setTimeout(() => {
8544
8546
  ee(y, ce);
8545
8547
  }, f.value.timeArrowHoldThreshold));
@@ -8550,47 +8552,47 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8550
8552
  }, se = (y, ce, pe) => {
8551
8553
  if (y && l.arrowNavigation) {
8552
8554
  Array.isArray(T.value[ce]) ? T.value[ce][pe] = y : T.value[ce] = [y];
8553
- const ve = T.value.reduce(
8554
- (Re, Le) => Le.map((je, it) => [...Re[it] || [], Le[it]]),
8555
+ const me = T.value.reduce(
8556
+ (Ee, Le) => Le.map((je, it) => [...Ee[it] || [], Le[it]]),
8555
8557
  []
8556
8558
  );
8557
- o(l.closeTimePickerBtn), O.value && (ve[1] = ve[1].concat(O.value)), r(ve, l.order);
8559
+ o(l.closeTimePickerBtn), O.value && (me[1] = me[1].concat(O.value)), r(me, l.order);
8558
8560
  }
8559
8561
  }, fe = (y, ce) => (te(y), n(`update:${y}`, ce));
8560
8562
  return e({ openChildCmp: Se }), (y, ce) => {
8561
8563
  var pe;
8562
8564
  return y.disabled ? S("", !0) : (p(), b("div", $p, [
8563
- (p(!0), b(ye, null, Be(q.value, (ve, Re) => {
8565
+ (p(!0), b(ye, null, Re(q.value, (me, Ee) => {
8564
8566
  var Le, je, it;
8565
8567
  return p(), b("div", {
8566
- key: Re,
8568
+ key: Ee,
8567
8569
  class: oe(I.value),
8568
8570
  "data-compact": C.value && !y.enableSeconds,
8569
8571
  "data-collapsed": C.value && y.enableSeconds
8570
8572
  }, [
8571
- ve.separator ? (p(), b(ye, { key: 0 }, [
8573
+ me.separator ? (p(), b(ye, { key: 0 }, [
8572
8574
  F.value ? S("", !0) : (p(), b(ye, { key: 0 }, [
8573
8575
  Ge(":")
8574
8576
  ], 64))
8575
8577
  ], 64)) : (p(), b(ye, { key: 1 }, [
8576
8578
  Z("button", {
8577
8579
  ref_for: !0,
8578
- ref: (Q) => se(Q, Re, 0),
8580
+ ref: (Q) => se(Q, Ee, 0),
8579
8581
  type: "button",
8580
8582
  class: oe({
8581
8583
  dp__btn: !0,
8582
8584
  dp__inc_dec_button: !y.timePickerInline,
8583
8585
  dp__inc_dec_button_inline: y.timePickerInline,
8584
8586
  dp__tp_inline_btn_top: y.timePickerInline,
8585
- dp__inc_dec_button_disabled: W.value(ve.type),
8587
+ dp__inc_dec_button_disabled: W.value(me.type),
8586
8588
  "dp--hidden-el": F.value
8587
8589
  }),
8588
- "data-test-id": `${ve.type}-time-inc-btn-${l.order}`,
8589
- "aria-label": (Le = d(s)) == null ? void 0 : Le.incrementValue(ve.type),
8590
+ "data-test-id": `${me.type}-time-inc-btn-${l.order}`,
8591
+ "aria-label": (Le = d(s)) == null ? void 0 : Le.incrementValue(me.type),
8590
8592
  tabindex: "0",
8591
- onKeydown: (Q) => d($t)(Q, () => ee(ve.type, !0, { keyboard: !0 }), !0),
8592
- onClick: (Q) => d(f).timeArrowHoldThreshold ? void 0 : ee(ve.type, !0),
8593
- onMousedown: (Q) => d(f).timeArrowHoldThreshold ? ee(ve.type, !0) : void 0,
8593
+ onKeydown: (Q) => d($t)(Q, () => ee(me.type, !0, { keyboard: !0 }), !0),
8594
+ onClick: (Q) => d(f).timeArrowHoldThreshold ? void 0 : ee(me.type, !0),
8595
+ onMousedown: (Q) => d(f).timeArrowHoldThreshold ? ee(me.type, !0) : void 0,
8594
8596
  onMouseup: h
8595
8597
  }, [
8596
8598
  l.timePickerInline ? (p(), b(ye, { key: 1 }, [
@@ -8605,50 +8607,50 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8605
8607
  ], 42, Tp),
8606
8608
  Z("button", {
8607
8609
  ref_for: !0,
8608
- ref: (Q) => se(Q, Re, 1),
8610
+ ref: (Q) => se(Q, Ee, 1),
8609
8611
  type: "button",
8610
- "aria-label": `${J.value(ve.type).text}-${(je = d(s)) == null ? void 0 : je.openTpOverlay(ve.type)}`,
8612
+ "aria-label": `${J.value(me.type).text}-${(je = d(s)) == null ? void 0 : je.openTpOverlay(me.type)}`,
8611
8613
  class: oe({
8612
8614
  dp__time_display: !0,
8613
8615
  dp__time_display_block: !y.timePickerInline,
8614
8616
  dp__time_display_inline: y.timePickerInline,
8615
- "dp--time-invalid": L.value(ve.type),
8616
- "dp--time-overlay-btn": !L.value(ve.type),
8617
+ "dp--time-invalid": L.value(me.type),
8618
+ "dp--time-overlay-btn": !L.value(me.type),
8617
8619
  "dp--hidden-el": F.value
8618
8620
  }),
8619
- disabled: U(ve.type),
8621
+ disabled: U(me.type),
8620
8622
  tabindex: "0",
8621
- "data-test-id": `${ve.type}-toggle-overlay-btn-${l.order}`,
8622
- onKeydown: (Q) => d($t)(Q, () => te(ve.type), !0),
8623
- onClick: (Q) => te(ve.type)
8623
+ "data-test-id": `${me.type}-toggle-overlay-btn-${l.order}`,
8624
+ onKeydown: (Q) => d($t)(Q, () => te(me.type), !0),
8625
+ onClick: (Q) => te(me.type)
8624
8626
  }, [
8625
- y.$slots[ve.type] ? D(y.$slots, ve.type, {
8627
+ y.$slots[me.type] ? D(y.$slots, me.type, {
8626
8628
  key: 0,
8627
- text: J.value(ve.type).text,
8628
- value: J.value(ve.type).value
8629
+ text: J.value(me.type).text,
8630
+ value: J.value(me.type).value
8629
8631
  }) : S("", !0),
8630
- y.$slots[ve.type] ? S("", !0) : (p(), b(ye, { key: 1 }, [
8631
- Ge(ke(J.value(ve.type).text), 1)
8632
+ y.$slots[me.type] ? S("", !0) : (p(), b(ye, { key: 1 }, [
8633
+ Ge(ke(J.value(me.type).text), 1)
8632
8634
  ], 64))
8633
8635
  ], 42, Mp),
8634
8636
  Z("button", {
8635
8637
  ref_for: !0,
8636
- ref: (Q) => se(Q, Re, 2),
8638
+ ref: (Q) => se(Q, Ee, 2),
8637
8639
  type: "button",
8638
8640
  class: oe({
8639
8641
  dp__btn: !0,
8640
8642
  dp__inc_dec_button: !y.timePickerInline,
8641
8643
  dp__inc_dec_button_inline: y.timePickerInline,
8642
8644
  dp__tp_inline_btn_bottom: y.timePickerInline,
8643
- dp__inc_dec_button_disabled: le.value(ve.type),
8645
+ dp__inc_dec_button_disabled: le.value(me.type),
8644
8646
  "dp--hidden-el": F.value
8645
8647
  }),
8646
- "data-test-id": `${ve.type}-time-dec-btn-${l.order}`,
8647
- "aria-label": (it = d(s)) == null ? void 0 : it.decrementValue(ve.type),
8648
+ "data-test-id": `${me.type}-time-dec-btn-${l.order}`,
8649
+ "aria-label": (it = d(s)) == null ? void 0 : it.decrementValue(me.type),
8648
8650
  tabindex: "0",
8649
- onKeydown: (Q) => d($t)(Q, () => ee(ve.type, !1, { keyboard: !0 }), !0),
8650
- onClick: (Q) => d(f).timeArrowHoldThreshold ? void 0 : ee(ve.type, !1),
8651
- onMousedown: (Q) => d(f).timeArrowHoldThreshold ? ee(ve.type, !1) : void 0,
8651
+ onKeydown: (Q) => d($t)(Q, () => ee(me.type, !1, { keyboard: !0 }), !0),
8652
+ onClick: (Q) => d(f).timeArrowHoldThreshold ? void 0 : ee(me.type, !1),
8653
+ onMousedown: (Q) => d(f).timeArrowHoldThreshold ? ee(me.type, !1) : void 0,
8652
8654
  onMouseup: h
8653
8655
  }, [
8654
8656
  l.timePickerInline ? (p(), b(ye, { key: 1 }, [
@@ -8681,30 +8683,30 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8681
8683
  tabindex: "0",
8682
8684
  "data-compact": C.value,
8683
8685
  onClick: X,
8684
- onKeydown: ce[0] || (ce[0] = (ve) => d($t)(ve, () => X(), !0))
8686
+ onKeydown: ce[0] || (ce[0] = (me) => d($t)(me, () => X(), !0))
8685
8687
  }, ke($.value), 41, Cp))
8686
8688
  ])),
8687
- (p(!0), b(ye, null, Be(P.value, (ve, Re) => (p(), ne(Ht, {
8688
- key: Re,
8689
- name: d(v)(M[ve.type]),
8689
+ (p(!0), b(ye, null, Re(P.value, (me, Ee) => (p(), ne(Ht, {
8690
+ key: Ee,
8691
+ name: d(v)(M[me.type]),
8690
8692
  css: d(x)
8691
8693
  }, {
8692
8694
  default: N(() => {
8693
8695
  var Le, je;
8694
8696
  return [
8695
- M[ve.type] ? (p(), ne(an, {
8697
+ M[me.type] ? (p(), ne(an, {
8696
8698
  key: 0,
8697
- items: z(ve.type),
8699
+ items: z(me.type),
8698
8700
  "is-last": y.autoApply && !d(f).keepActionRow,
8699
8701
  "esc-close": y.escClose,
8700
- type: ve.type,
8702
+ type: me.type,
8701
8703
  "text-input": y.textInput,
8702
8704
  config: y.config,
8703
8705
  "arrow-navigation": y.arrowNavigation,
8704
8706
  "aria-labels": y.ariaLabels,
8705
- "overlay-label": (je = (Le = d(s)).timeOverlay) == null ? void 0 : je.call(Le, ve.type),
8706
- onSelected: (it) => fe(ve.type, it),
8707
- onToggle: (it) => te(ve.type),
8707
+ "overlay-label": (je = (Le = d(s)).timeOverlay) == null ? void 0 : je.call(Le, me.type),
8708
+ onSelected: (it) => fe(me.type, it),
8709
+ onToggle: (it) => te(me.type),
8708
8710
  onResetFlow: ce[1] || (ce[1] = (it) => y.$emit("reset-flow"))
8709
8711
  }, He({
8710
8712
  "button-icon": N(() => [
@@ -8713,21 +8715,21 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8713
8715
  ]),
8714
8716
  _: 2
8715
8717
  }, [
8716
- y.$slots[`${ve.type}-overlay-value`] ? {
8718
+ y.$slots[`${me.type}-overlay-value`] ? {
8717
8719
  name: "item",
8718
8720
  fn: N(({ item: it }) => [
8719
- D(y.$slots, `${ve.type}-overlay-value`, {
8721
+ D(y.$slots, `${me.type}-overlay-value`, {
8720
8722
  text: it.text,
8721
8723
  value: it.value
8722
8724
  })
8723
8725
  ]),
8724
8726
  key: "0"
8725
8727
  } : void 0,
8726
- y.$slots[`${ve.type}-overlay-header`] ? {
8728
+ y.$slots[`${me.type}-overlay-header`] ? {
8727
8729
  name: "header",
8728
8730
  fn: N(() => [
8729
- D(y.$slots, `${ve.type}-overlay-header`, {
8730
- toggle: () => te(ve.type)
8731
+ D(y.$slots, `${me.type}-overlay-header`, {
8732
+ toggle: () => te(me.type)
8731
8733
  })
8732
8734
  ]),
8733
8735
  key: "1"
@@ -8784,7 +8786,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8784
8786
  A.push(Y(0));
8785
8787
  return A;
8786
8788
  }), V = (A, K = !1, z = "") => {
8787
- K || n("reset-flow"), L.value = A, n(A ? "overlay-opened" : "overlay-closed", wt.time), l.arrowNavigation && o(A), Ee(() => {
8789
+ K || n("reset-flow"), L.value = A, n(A ? "overlay-opened" : "overlay-closed", wt.time), l.arrowNavigation && o(A), Be(() => {
8788
8790
  z !== "" && T.value[0] && T.value[0].openChildCmp(z);
8789
8791
  });
8790
8792
  }, W = k(() => ({
@@ -8830,7 +8832,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8830
8832
  ], 42, Sp)), [
8831
8833
  [fn, !d(M)(A.hideNavigation, "time")]
8832
8834
  ]) : S("", !0),
8833
- me(Ht, {
8835
+ ve(Ht, {
8834
8836
  name: d(v)(L.value),
8835
8837
  css: d(x) && !A.timePickerInline
8836
8838
  }, {
@@ -8870,7 +8872,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8870
8872
  key: 1,
8871
8873
  class: oe(A.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
8872
8874
  }, [
8873
- (p(!0), b(ye, null, Be(R.value, (E, U) => Wt((p(), ne(qp, Te({ key: U }, { ref_for: !0 }, {
8875
+ (p(!0), b(ye, null, Re(R.value, (E, U) => Wt((p(), ne(qp, Te({ key: U }, { ref_for: !0 }, {
8874
8876
  ...A.$props,
8875
8877
  order: U,
8876
8878
  hours: E.hours,
@@ -8892,7 +8894,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8892
8894
  onOverlayOpened: J,
8893
8895
  onAmPmChange: K[2] || (K[2] = (te) => A.$emit("am-pm-change", te))
8894
8896
  }), He({ _: 2 }, [
8895
- Be(d(le), (te, g) => ({
8897
+ Re(d(le), (te, g) => ({
8896
8898
  name: te,
8897
8899
  fn: N((h) => [
8898
8900
  D(A.$slots, te, Te({ ref_for: !0 }, h))
@@ -9078,7 +9080,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9078
9080
  "is-mobile": v.isMobile
9079
9081
  }, {
9080
9082
  default: N(() => [
9081
- me(Qo, Te({
9083
+ ve(Qo, Te({
9082
9084
  ref_key: "tpRef",
9083
9085
  ref: s
9084
9086
  }, v.$props, {
@@ -9096,7 +9098,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9096
9098
  onOverlayClosed: x[5] || (x[5] = (M) => v.$emit("overlay-toggle", { open: !1, overlay: M })),
9097
9099
  onOverlayOpened: x[6] || (x[6] = (M) => v.$emit("overlay-toggle", { open: !0, overlay: M }))
9098
9100
  }), He({ _: 2 }, [
9099
- Be(d(o), (M, $) => ({
9101
+ Re(d(o), (M, $) => ({
9100
9102
  name: M,
9101
9103
  fn: N((O) => [
9102
9104
  D(v.$slots, M, Oe(Qe(O)))
@@ -9247,7 +9249,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9247
9249
  dp__year_disable_select: _.disableYearSelect
9248
9250
  }])
9249
9251
  }, [
9250
- (p(!0), b(ye, null, Be(B.value, (X, Se) => (p(), b(ye, {
9252
+ (p(!0), b(ye, null, Re(B.value, (X, Se) => (p(), b(ye, {
9251
9253
  key: X.type
9252
9254
  }, [
9253
9255
  Z("button", {
@@ -9270,7 +9272,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9270
9272
  Ge(ke(X.text), 1)
9271
9273
  ], 64))
9272
9274
  ], 42, Yp),
9273
- me(Ht, {
9275
+ ve(Ht, {
9274
9276
  name: d(v)(X.showSelectionGrid),
9275
9277
  css: d(x)
9276
9278
  }, {
@@ -9421,7 +9423,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9421
9423
  const V = (X) => X ? l.vertical ? "vNext" : "next" : l.vertical ? "vPrevious" : "previous", W = (X, Se) => {
9422
9424
  if (l.transitions) {
9423
9425
  const se = vt(Qt(re(), l.month, l.year));
9424
- T.value = dt(vt(Qt(re(), X, Se)), se) ? o.value[V(!0)] : o.value[V(!1)], O.value = !1, Ee(() => {
9426
+ T.value = dt(vt(Qt(re(), X, Se)), se) ? o.value[V(!0)] : o.value[V(!1)], O.value = !1, Be(() => {
9425
9427
  O.value = !0;
9426
9428
  });
9427
9429
  }
@@ -9442,9 +9444,9 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9442
9444
  const { width: se, height: fe } = X.getBoundingClientRect();
9443
9445
  v.value = Se.value;
9444
9446
  let y = { left: `${se / 2}px` }, ce = -50;
9445
- if (await Ee(), F.value[0]) {
9446
- const { left: pe, width: ve } = F.value[0].getBoundingClientRect();
9447
- pe < 0 && (y = { left: "0" }, ce = 0, G.value.left = `${se / 2}px`), window.innerWidth < pe + ve && (y = { right: "0" }, ce = 0, G.value.left = `${ve - se / 2}px`);
9447
+ if (await Be(), F.value[0]) {
9448
+ const { left: pe, width: me } = F.value[0].getBoundingClientRect();
9449
+ pe < 0 && (y = { left: "0" }, ce = 0, G.value.left = `${se / 2}px`), window.innerWidth < pe + me && (y = { right: "0" }, ce = 0, G.value.left = `${me - se / 2}px`);
9448
9450
  }
9449
9451
  x.value = {
9450
9452
  bottom: `${fe}px`,
@@ -9499,7 +9501,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9499
9501
  }, [
9500
9502
  Z("div", Np, [
9501
9503
  X.weekNumbers ? (p(), b("div", Qp, ke(X.weekNumName), 1)) : S("", !0),
9502
- (p(!0), b(ye, null, Be(R.value, (se, fe) => {
9504
+ (p(!0), b(ye, null, Re(R.value, (se, fe) => {
9503
9505
  var y, ce;
9504
9506
  return p(), b("div", {
9505
9507
  key: fe,
@@ -9520,7 +9522,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9520
9522
  }), 128))
9521
9523
  ]),
9522
9524
  Se[2] || (Se[2] = Z("div", { class: "dp__calendar_header_separator" }, null, -1)),
9523
- me(Ht, {
9525
+ ve(Ht, {
9524
9526
  name: T.value,
9525
9527
  css: !!X.transitions
9526
9528
  }, {
@@ -9531,7 +9533,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9531
9533
  role: "rowgroup",
9532
9534
  onMouseleave: Se[1] || (Se[1] = (se) => L.value = !1)
9533
9535
  }, [
9534
- (p(!0), b(ye, null, Be(Y.value, (se, fe) => (p(), b("div", {
9536
+ (p(!0), b(ye, null, Re(Y.value, (se, fe) => (p(), b("div", {
9535
9537
  key: fe,
9536
9538
  class: "dp__calendar_row",
9537
9539
  role: "row"
@@ -9539,8 +9541,8 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9539
9541
  X.weekNumbers ? (p(), b("div", Hp, [
9540
9542
  Z("div", Up, ke(g(se.days)), 1)
9541
9543
  ])) : S("", !0),
9542
- (p(!0), b(ye, null, Be(se.days, (y, ce) => {
9543
- var pe, ve, Re;
9544
+ (p(!0), b(ye, null, Re(se.days, (y, ce) => {
9545
+ var pe, me, Ee;
9544
9546
  return p(), b("div", {
9545
9547
  id: d(cl)(y.value),
9546
9548
  ref_for: !0,
@@ -9550,7 +9552,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9550
9552
  class: "dp__calendar_item",
9551
9553
  "aria-selected": (y.classData.dp__active_date || y.classData.dp__range_start || y.classData.dp__range_end) ?? void 0,
9552
9554
  "aria-disabled": y.classData.dp__cell_disabled || void 0,
9553
- "aria-label": (ve = (pe = d(i)) == null ? void 0 : pe.day) == null ? void 0 : ve.call(pe, y),
9555
+ "aria-label": (me = (pe = d(i)) == null ? void 0 : pe.day) == null ? void 0 : me.call(pe, y),
9554
9556
  tabindex: !y.current && X.hideOffsetDates ? void 0 : 0,
9555
9557
  "data-test-id": d(cl)(y.value),
9556
9558
  onClick: at((Le) => h(Le, y), ["prevent"]),
@@ -9592,12 +9594,12 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9592
9594
  class: "dp__marker_tooltip",
9593
9595
  style: Ne(x.value)
9594
9596
  }, [
9595
- (Re = y.marker) != null && Re.tooltip ? (p(), b("div", {
9597
+ (Ee = y.marker) != null && Ee.tooltip ? (p(), b("div", {
9596
9598
  key: 0,
9597
9599
  class: "dp__tooltip_content",
9598
9600
  onClick: ee
9599
9601
  }, [
9600
- (p(!0), b(ye, null, Be(y.marker.tooltip, (Le, je) => (p(), b("div", {
9602
+ (p(!0), b(ye, null, Re(y.marker.tooltip, (Le, je) => (p(), b("div", {
9601
9603
  key: je,
9602
9604
  class: "dp__tooltip_text"
9603
9605
  }, [
@@ -9744,20 +9746,20 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9744
9746
  default:
9745
9747
  return [!1, !1];
9746
9748
  }
9747
- }, ve = (H, de, Me, Ie) => {
9749
+ }, me = (H, de, Me, Ie) => {
9748
9750
  if (a.sixWeeks && H.length < 6) {
9749
9751
  const ae = 6 - H.length, ge = (de.getDay() + 7 - Ie) % 7, xe = 6 - (Me.getDay() + 7 - Ie) % 7, [zt, Et] = pe(ge, xe);
9750
9752
  for (let ua = 1; ua <= ae; ua++)
9751
9753
  if (Et ? !!(ua % 2) == zt : zt) {
9752
- const Kt = H[0].days[0], Bn = Re(At(Kt.value, -7), Fe(de));
9754
+ const Kt = H[0].days[0], Bn = Ee(At(Kt.value, -7), Fe(de));
9753
9755
  H.unshift({ days: Bn });
9754
9756
  } else {
9755
- const Kt = H[H.length - 1], Bn = Kt.days[Kt.days.length - 1], ds = Re(At(Bn.value, 1), Fe(de));
9757
+ const Kt = H[H.length - 1], Bn = Kt.days[Kt.days.length - 1], ds = Ee(At(Bn.value, 1), Fe(de));
9756
9758
  H.push({ days: ds });
9757
9759
  }
9758
9760
  }
9759
9761
  return H;
9760
- }, Re = (H, de) => {
9762
+ }, Ee = (H, de) => {
9761
9763
  const Me = re(H), Ie = [];
9762
9764
  for (let ae = 0; ae < 7; ae++) {
9763
9765
  const ge = At(Me, ae), xe = Fe(ge) !== de;
@@ -9771,7 +9773,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9771
9773
  return Ie;
9772
9774
  }, Le = (H, de) => {
9773
9775
  const Me = [], Ie = new Date(de, H), ae = new Date(de, H + 1, 0), ge = a.weekStart, xe = Lt(Ie, { weekStartsOn: ge }), zt = (Et) => {
9774
- const ua = Re(Et, H);
9776
+ const ua = Ee(Et, H);
9775
9777
  if (Me.push({ days: ua }), !Me[Me.length - 1].days.some(
9776
9778
  (Kt) => Ye(vt(Kt.value), vt(ae))
9777
9779
  )) {
@@ -9779,10 +9781,10 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9779
9781
  zt(Kt);
9780
9782
  }
9781
9783
  };
9782
- return zt(xe), ve(Me, Ie, ae, ge);
9784
+ return zt(xe), me(Me, Ie, ae, ge);
9783
9785
  }, je = (H) => {
9784
9786
  const de = aa(re(H.value), f.hours, f.minutes, $e());
9785
- e("date-update", de), T.value.enabled ? Ul(de, i, T.value.limit) : i.value = de, n(), Ee().then(() => {
9787
+ e("date-update", de), T.value.enabled ? Ul(de, i, T.value.limit) : i.value = de, n(), Be().then(() => {
9786
9788
  K();
9787
9789
  });
9788
9790
  }, it = (H) => x.value.noDisabledRange ? Oo(l.value[0], H).some((de) => F(de)) : !1, Q = () => {
@@ -9837,7 +9839,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9837
9839
  modelValue: i,
9838
9840
  range: x.value.enabled,
9839
9841
  timezone: de ? void 0 : $.value.timezone
9840
- }), P(), a.multiCalendars && Ee().then(() => z(!0));
9842
+ }), P(), a.multiCalendars && Be().then(() => z(!0));
9841
9843
  }, On = () => {
9842
9844
  const H = Yl(re(), $.value);
9843
9845
  !x.value.enabled && !T.value.enabled ? i.value = H : i.value && Array.isArray(i.value) && i.value[0] ? T.value.enabled ? i.value = [...i.value, H] : i.value = ot(H, i.value[0]) ? [H, i.value[0]] : [i.value[0], H] : i.value = [H], P();
@@ -9970,13 +9972,13 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9970
9972
  }, h = (se, fe) => {
9971
9973
  var y;
9972
9974
  if (!l.range) {
9973
- const ce = i.value ? i.value : u, pe = fe ? new Date(fe) : ce, ve = se ? Lt(pe, { weekStartsOn: 1 }) : co(pe, { weekStartsOn: 1 });
9975
+ const ce = i.value ? i.value : u, pe = fe ? new Date(fe) : ce, me = se ? Lt(pe, { weekStartsOn: 1 }) : co(pe, { weekStartsOn: 1 });
9974
9976
  T({
9975
- value: ve,
9977
+ value: me,
9976
9978
  current: Fe(pe) === o.value(0),
9977
9979
  text: "",
9978
9980
  classData: {}
9979
- }), (y = document.getElementById(cl(ve))) == null || y.focus();
9981
+ }), (y = document.getElementById(cl(me))) == null || y.focus();
9980
9982
  }
9981
9983
  }, ee = (se) => {
9982
9984
  var fe;
@@ -10012,7 +10014,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10012
10014
  selectWeekDate: h,
10013
10015
  setStartTime: R
10014
10016
  }), (se, fe) => (p(), b(ye, null, [
10015
- me(Dn, {
10017
+ ve(Dn, {
10016
10018
  "multi-calendars": d(be).count,
10017
10019
  collapse: se.collapse,
10018
10020
  "is-mobile": se.isMobile
@@ -10035,14 +10037,14 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10035
10037
  onOverlayClosed: Se,
10036
10038
  onOverlayOpened: fe[2] || (fe[2] = (pe) => se.$emit("overlay-toggle", { open: !0, overlay: pe }))
10037
10039
  }), He({ _: 2 }, [
10038
- Be(d(J), (pe, ve) => ({
10040
+ Re(d(J), (pe, me) => ({
10039
10041
  name: pe,
10040
- fn: N((Re) => [
10041
- D(se.$slots, pe, Oe(Qe(Re)))
10042
+ fn: N((Ee) => [
10043
+ D(se.$slots, pe, Oe(Qe(Ee)))
10042
10044
  ])
10043
10045
  }))
10044
10046
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
10045
- me(Xp, Te({
10047
+ ve(Xp, Te({
10046
10048
  ref: (pe) => {
10047
10049
  pe && (C.value[ce] = pe);
10048
10050
  },
@@ -10061,10 +10063,10 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10061
10063
  onTooltipOpen: fe[6] || (fe[6] = (pe) => se.$emit("tooltip-open", pe)),
10062
10064
  onTooltipClose: fe[7] || (fe[7] = (pe) => se.$emit("tooltip-close", pe))
10063
10065
  }), He({ _: 2 }, [
10064
- Be(d(P), (pe, ve) => ({
10066
+ Re(d(P), (pe, me) => ({
10065
10067
  name: pe,
10066
- fn: N((Re) => [
10067
- D(se.$slots, pe, Oe(Qe({ ...Re })))
10068
+ fn: N((Ee) => [
10069
+ D(se.$slots, pe, Oe(Qe({ ...Ee })))
10068
10070
  ])
10069
10071
  }))
10070
10072
  ]), 1040, ["mapped-dates", "month", "year", "instance", "onSelectDate", "onHandleSpace", "onHandleScroll", "onHandleSwipe"])
@@ -10092,7 +10094,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10092
10094
  onOverlayOpened: fe[14] || (fe[14] = (y) => X(y, !0)),
10093
10095
  onAmPmChange: fe[15] || (fe[15] = (y) => se.$emit("am-pm-change", y))
10094
10096
  }), He({ _: 2 }, [
10095
- Be(d(A), (y, ce) => ({
10097
+ Re(d(A), (y, ce) => ({
10096
10098
  name: y,
10097
10099
  fn: N((pe) => [
10098
10100
  D(se.$slots, y, Oe(Qe(pe)))
@@ -10232,7 +10234,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10232
10234
  value: F.internalModelValue
10233
10235
  }) : S("", !0),
10234
10236
  Z("div", null, [
10235
- me(Fo, Te(F.$props, {
10237
+ ve(Fo, Te(F.$props, {
10236
10238
  items: d(c)(L),
10237
10239
  instance: L,
10238
10240
  "show-year-picker": d(x)[L],
@@ -10242,7 +10244,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10242
10244
  onYearSelect: (Y) => d(T)(Y, L),
10243
10245
  onToggleYearPicker: (Y) => d(O)(L, Y == null ? void 0 : Y.flow, Y == null ? void 0 : Y.show)
10244
10246
  }), He({ _: 2 }, [
10245
- Be(d(o), (Y, R) => ({
10247
+ Re(d(o), (Y, R) => ({
10246
10248
  name: Y,
10247
10249
  fn: N((V) => [
10248
10250
  D(F.$slots, Y, Oe(Qe(V)))
@@ -10251,7 +10253,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10251
10253
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
10252
10254
  ]),
10253
10255
  Z("div", em, [
10254
- (p(!0), b(ye, null, Be(d(m)(L), (Y, R) => (p(), b("div", { key: R }, [
10256
+ (p(!0), b(ye, null, Re(d(m)(L), (Y, R) => (p(), b("div", { key: R }, [
10255
10257
  Z("button", {
10256
10258
  type: "button",
10257
10259
  class: oe(["dp--qr-btn", {
@@ -10428,9 +10430,9 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10428
10430
  y("selectCurrentDate");
10429
10431
  }, pe = (Q, ie) => {
10430
10432
  y("presetDate", ha(Q), ie);
10431
- }, ve = () => {
10433
+ }, me = () => {
10432
10434
  y("clearHoverDate");
10433
- }, Re = (Q, ie) => {
10435
+ }, Ee = (Q, ie) => {
10434
10436
  y("updateMonthYear", Q, ie);
10435
10437
  }, Le = (Q, ie) => {
10436
10438
  Q.preventDefault(), qe(ie);
@@ -10461,7 +10463,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10461
10463
  m.value.enabled && !m.value.input && !((ie = r.value) != null && ie.contains(Q.target)) && L.value && (L.value = !1, n("menu-blur"));
10462
10464
  };
10463
10465
  return e({
10464
- updateMonthYear: Re,
10466
+ updateMonthYear: Ee,
10465
10467
  switchView: fe,
10466
10468
  handleFlow: P,
10467
10469
  onValueCleared: () => {
@@ -10479,7 +10481,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10479
10481
  "aria-label": (rt = Q.ariaLabels) == null ? void 0 : rt.menu,
10480
10482
  class: oe(g.value),
10481
10483
  style: Ne({ "--dp-arrow-left": A.value }),
10482
- onMouseleave: ve,
10484
+ onMouseleave: me,
10483
10485
  onClick: h,
10484
10486
  onKeydown: je
10485
10487
  }, [
@@ -10516,7 +10518,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10516
10518
  class: oe({ "dp--preset-dates-collapsed": a.collapse, "dp--preset-dates": !0 }),
10517
10519
  "data-dp-mobile": d($)
10518
10520
  }, [
10519
- (p(!0), b(ye, null, Be(Q.presetDates, ($e, yt) => (p(), b(ye, { key: yt }, [
10521
+ (p(!0), b(ye, null, Re(Q.presetDates, ($e, yt) => (p(), b(ye, { key: yt }, [
10520
10522
  $e.slot ? D(Q.$slots, $e.slot, {
10521
10523
  key: 0,
10522
10524
  presetDate: pe,
@@ -10568,7 +10570,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10568
10570
  onOverlayToggle: ie[14] || (ie[14] = ($e) => Q.$emit("overlay-toggle", $e)),
10569
10571
  "onUpdate:internalModelValue": ie[15] || (ie[15] = ($e) => Q.$emit("update:internal-model-value", $e))
10570
10572
  }), He({ _: 2 }, [
10571
- Be(E.value, ($e, yt) => ({
10573
+ Re(E.value, ($e, yt) => ({
10572
10574
  name: $e,
10573
10575
  fn: N((Rt) => [
10574
10576
  D(Q.$slots, $e, Oe(Qe({ ...Rt })))
@@ -10596,7 +10598,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10596
10598
  onInvalidSelect: ie[18] || (ie[18] = ($e) => Q.$emit("invalid-select")),
10597
10599
  onSelectNow: ce
10598
10600
  }), He({ _: 2 }, [
10599
- Be(d(_), ($e, yt) => ({
10601
+ Re(d(_), ($e, yt) => ({
10600
10602
  name: $e,
10601
10603
  fn: N((Rt) => [
10602
10604
  D(Q.$slots, $e, Oe(Qe({ ...Rt })))
@@ -11093,7 +11095,7 @@ const fm = ({
11093
11095
  }
11094
11096
  }, s = () => {
11095
11097
  var u, m;
11096
- (u = a.flow) != null && u.length && n.value !== -1 && (n.value += 1, e("flow-step", n.value), f()), ((m = a.flow) == null ? void 0 : m.length) === n.value && Ee().then(() => i());
11098
+ (u = a.flow) != null && u.length && n.value !== -1 && (n.value += 1, e("flow-step", n.value), f()), ((m = a.flow) == null ? void 0 : m.length) === n.value && Be().then(() => i());
11097
11099
  }, i = () => {
11098
11100
  n.value = -1;
11099
11101
  }, c = (u, m, ...v) => {
@@ -11200,7 +11202,7 @@ const fm = ({
11200
11202
  }, le = (z, B) => {
11201
11203
  r.value.enabled && r.value.tabSubmit && !B && R(z.target.value), r.value.tabSubmit && dl(M.value) && l.inputValue !== "" ? (n("set-input-date", M.value, !0, !0), M.value = null) : r.value.tabSubmit && l.inputValue === "" && (M.value = null, n("clear", !0));
11202
11204
  }, he = () => {
11203
- O.value = !0, n("focus"), Ee().then(() => {
11205
+ O.value = !0, n("focus"), Be().then(() => {
11204
11206
  var z;
11205
11207
  r.value.enabled && r.value.selectOnFocus && ((z = $.value) == null || z.select());
11206
11208
  });
@@ -11305,7 +11307,7 @@ const fm = ({
11305
11307
  onKeydown: B[4] || (B[4] = (te) => d($t)(te, () => C(te), !0, K)),
11306
11308
  onClick: B[5] || (B[5] = at((te) => C(te), ["prevent"]))
11307
11309
  }, [
11308
- me(d(To), {
11310
+ ve(d(To), {
11309
11311
  class: "dp__input_icons",
11310
11312
  "data-test-id": "clear-icon"
11311
11313
  })
@@ -11381,13 +11383,13 @@ const fm = ({
11381
11383
  defaultedMultiDates: he
11382
11384
  } = nt(l), { menuTransition: be, showTransition: I } = nn(Y), { isMobile: C } = Ho(W), q = wn();
11383
11385
  Je(() => {
11384
- g(l.modelValue), Ee().then(() => {
11386
+ g(l.modelValue), Be().then(() => {
11385
11387
  var ae;
11386
- V.value.enabled || ((ae = _(v.value)) == null || ae.addEventListener("scroll", pe), window == null || window.addEventListener("resize", ve));
11387
- }), V.value.enabled && (o.value = !0), window == null || window.addEventListener("keyup", Re), window == null || window.addEventListener("keydown", Le);
11388
+ V.value.enabled || ((ae = _(v.value)) == null || ae.addEventListener("scroll", pe), window == null || window.addEventListener("resize", me));
11389
+ }), V.value.enabled && (o.value = !0), window == null || window.addEventListener("keyup", Ee), window == null || window.addEventListener("keydown", Le);
11388
11390
  }), Mt(() => {
11389
11391
  var ae;
11390
- V.value.enabled || ((ae = _(v.value)) == null || ae.removeEventListener("scroll", pe), window == null || window.removeEventListener("resize", ve)), window == null || window.removeEventListener("keyup", Re), window == null || window.removeEventListener("keydown", Le);
11392
+ V.value.enabled || ((ae = _(v.value)) == null || ae.removeEventListener("scroll", pe), window == null || window.removeEventListener("resize", me)), window == null || window.removeEventListener("keyup", Ee), window == null || window.removeEventListener("keydown", Le);
11391
11393
  });
11392
11394
  const P = Dt(r, "all", l.presetDates), J = Dt(r, "input");
11393
11395
  De(
@@ -11430,12 +11432,12 @@ const fm = ({
11430
11432
  return ((ge = (ae = u.value) == null ? void 0 : ae.$el) == null ? void 0 : ge.getBoundingClientRect()) ?? { width: 0, left: 0, right: 0 };
11431
11433
  }, pe = () => {
11432
11434
  o.value && (W.value.closeOnScroll ? yt() : B());
11433
- }, ve = () => {
11435
+ }, me = () => {
11434
11436
  var ge;
11435
11437
  o.value && B();
11436
11438
  const ae = ((ge = f.value) == null ? void 0 : ge.$el.getBoundingClientRect().width) ?? 0;
11437
11439
  $.value = document.body.offsetWidth <= ae;
11438
- }, Re = (ae) => {
11440
+ }, Ee = (ae) => {
11439
11441
  ae.key === "Tab" && !V.value.enabled && !l.teleport && W.value.tabOutClosesMenu && (v.value.contains(document.activeElement) || yt()), M.value = ae.shiftKey;
11440
11442
  }, Le = (ae) => {
11441
11443
  M.value = ae.shiftKey;
@@ -11466,7 +11468,7 @@ const fm = ({
11466
11468
  return;
11467
11469
  }
11468
11470
  const zt = Array.isArray(ae) ? !ae.some((ua) => !G(ua)) : G(ae), Et = L(ae);
11469
- zt && Et ? (O.value = !0, te.value = ae, ge ? (x.value = xe, ie(), n("text-submit")) : l.autoApply && Bt(!0), Ee().then(() => {
11471
+ zt && Et ? (O.value = !0, te.value = ae, ge ? (x.value = xe, ie(), n("text-submit")) : l.autoApply && Bt(!0), Be().then(() => {
11470
11472
  O.value = !1;
11471
11473
  })) : n("invalid-date", ae);
11472
11474
  }, qn = () => {
@@ -11519,7 +11521,7 @@ const fm = ({
11519
11521
  "data-datepicker-instance": "",
11520
11522
  "data-dp-mobile": d(C)
11521
11523
  }, [
11522
- me(wm, Te({
11524
+ ve(wm, Te({
11523
11525
  ref_key: "inputRef",
11524
11526
  ref: u,
11525
11527
  "input-value": d(U),
@@ -11538,7 +11540,7 @@ const fm = ({
11538
11540
  onRealBlur: ge[1] || (ge[1] = (xe) => m.value = !1),
11539
11541
  onTextInput: ge[2] || (ge[2] = (xe) => ae.$emit("text-input", xe))
11540
11542
  }), He({ _: 2 }, [
11541
- Be(d(J), (xe, zt) => ({
11543
+ Re(d(J), (xe, zt) => ({
11542
11544
  name: xe,
11543
11545
  fn: N((Et) => [
11544
11546
  D(ae.$slots, xe, Oe(Qe(Et)))
@@ -11547,7 +11549,7 @@ const fm = ({
11547
11549
  ]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
11548
11550
  (p(), ne(ra(ae.teleport ? Or : "div"), Oe(Qe(se.value)), {
11549
11551
  default: N(() => [
11550
- me(Ht, {
11552
+ ve(Ht, {
11551
11553
  name: d(be)(d(A)),
11552
11554
  css: d(I) && !d(V).enabled
11553
11555
  }, {
@@ -11560,7 +11562,7 @@ const fm = ({
11560
11562
  class: { "dp--menu-wrapper": !d(V).enabled },
11561
11563
  style: d(V).enabled ? void 0 : d(K)
11562
11564
  }), [
11563
- me(xr, Te({
11565
+ ve(xr, Te({
11564
11566
  ref_key: "dpMenuRef",
11565
11567
  ref: f
11566
11568
  }, ae.$props, {
@@ -11594,7 +11596,7 @@ const fm = ({
11594
11596
  onOverlayToggle: ge[18] || (ge[18] = (xe) => ae.$emit("overlay-toggle", xe)),
11595
11597
  onMenuBlur: ge[19] || (ge[19] = (xe) => ae.$emit("blur"))
11596
11598
  }), He({ _: 2 }, [
11597
- Be(d(P), (xe, zt) => ({
11599
+ Re(d(P), (xe, zt) => ({
11598
11600
  name: xe,
11599
11601
  fn: N((Et) => [
11600
11602
  D(ae.$slots, xe, Oe(Qe({ ...Et })))
@@ -12277,10 +12279,10 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12277
12279
  invalid: e.invalid
12278
12280
  }, He({
12279
12281
  prepend: N(() => [
12280
- me(d(ze), Te({ class: "q-date-time-picker__input-icon" }, x.value), null, 16)
12282
+ ve(d(ze), Te({ class: "q-date-time-picker__input-icon" }, x.value), null, 16)
12281
12283
  ]),
12282
12284
  default: N(() => [
12283
- me(d(Xl), {
12285
+ ve(d(Xl), {
12284
12286
  modelValue: n.value,
12285
12287
  "onUpdate:modelValue": w[0] || (w[0] = (F) => n.value = F),
12286
12288
  "model-type": l.value,
@@ -12326,7 +12328,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12326
12328
  }), null, 16, Km)
12327
12329
  ]),
12328
12330
  "clear-icon": N(({ clear: F }) => [
12329
- me(d(xn), {
12331
+ ve(d(xn), {
12330
12332
  texts: e.texts,
12331
12333
  onClick: F
12332
12334
  }, null, 8, ["texts", "onClick"])
@@ -12471,7 +12473,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12471
12473
  return [
12472
12474
  D(u.$slots, "body.icon", {}, () => [
12473
12475
  t.icon ? (p(), b("span", iv, [
12474
- me(d(ze), Oe(Qe(t.icon)), null, 16)
12476
+ ve(d(ze), Oe(Qe(t.icon)), null, 16)
12475
12477
  ])) : S("", !0)
12476
12478
  ]),
12477
12479
  Z("div", uv, [
@@ -12481,7 +12483,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12481
12483
  }, null, 8, dv)) : (p(), b("div", cv, ke(t.text), 1))
12482
12484
  ]),
12483
12485
  t.input ? (p(), b("div", fv, [
12484
- me(d(en), {
12486
+ ve(d(en), {
12485
12487
  modelValue: l.value,
12486
12488
  "onUpdate:modelValue": m[0] || (m[0] = (x) => l.value = x),
12487
12489
  invalid: !!r.value,
@@ -12504,7 +12506,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12504
12506
  ])) : S("", !0),
12505
12507
  t.buttons || u.$slots["footer.append"] ? (p(), b("div", pv, [
12506
12508
  t.buttons ? (p(), b("span", mv, [
12507
- (p(!0), b(ye, null, Be(t.buttons, (v) => (p(), ne(d(bt), Te({ ref_for: !0 }, v.props, {
12509
+ (p(!0), b(ye, null, Re(t.buttons, (v) => (p(), ne(d(bt), Te({ ref_for: !0 }, v.props, {
12508
12510
  key: v.id,
12509
12511
  onClick: () => c(v)
12510
12512
  }), {
@@ -12526,7 +12528,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12526
12528
  onClick: i
12527
12529
  }, {
12528
12530
  default: N(() => [
12529
- me(d(ze), Oe(Qe(t.icons.close)), null, 16)
12531
+ ve(d(ze), Oe(Qe(t.icons.close)), null, 16)
12530
12532
  ]),
12531
12533
  _: 1
12532
12534
  })) : S("", !0)
@@ -12547,7 +12549,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12547
12549
  function o(s, i) {
12548
12550
  i || (r(s), n("leave", s));
12549
12551
  }
12550
- return (s, i) => (p(!0), b(ye, null, Be(d(l), (c) => (p(), ne(d(ts), Te({
12552
+ return (s, i) => (p(!0), b(ye, null, Re(d(l), (c) => (p(), ne(d(ts), Te({
12551
12553
  key: c.id,
12552
12554
  ref_for: !0
12553
12555
  }, c.props, {
@@ -12682,7 +12684,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12682
12684
  o.value = void 0, r.value = void 0, Y == null || Y.focus();
12683
12685
  }
12684
12686
  function F() {
12685
- Ee(() => {
12687
+ Be(() => {
12686
12688
  var L;
12687
12689
  return (L = f.value) == null ? void 0 : L.$el.focus();
12688
12690
  });
@@ -12718,7 +12720,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12718
12720
  onKeydown: at(m, ["stop"])
12719
12721
  }, [
12720
12722
  D(L.$slots, "prepend"),
12721
- me(d(Tn), {
12723
+ ve(d(Tn), {
12722
12724
  ref: "qListRef",
12723
12725
  class: "q-dropdown-menu__items",
12724
12726
  highlighted: r.value,
@@ -12741,7 +12743,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12741
12743
  V.extraInfo ? (p(), b("span", $v, ke(V.extraInfo), 1)) : S("", !0)
12742
12744
  ]),
12743
12745
  ((le = V.items) == null ? void 0 : le.length) > 0 ? (p(), b(ye, { key: 0 }, [
12744
- me(d(ze), Oe(Qe(t.icons.expand)), null, 16),
12746
+ ve(d(ze), Oe(Qe(t.icons.expand)), null, 16),
12745
12747
  o.value === V.key ? (p(), ne(R, Te({
12746
12748
  key: 0,
12747
12749
  "model-value": a.modelValue
@@ -12812,7 +12814,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12812
12814
  r = document.activeElement;
12813
12815
  }
12814
12816
  async function i() {
12815
- await Ee(), r == null || r.focus();
12817
+ await Be(), r == null || r.focus();
12816
12818
  }
12817
12819
  return (c, f) => (p(), ne(xv, Te(t, {
12818
12820
  modelValue: l.value,
@@ -13037,9 +13039,9 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
13037
13039
  disabled: e.disabled
13038
13040
  }, w.$attrs, { onChange: i }), null, 16, Pv),
13039
13041
  !t.value && l.value ? (p(), b("div", Sv, [
13040
- me(d(ze), Oe(Qe(e.icons.upload)), null, 16),
13042
+ ve(d(ze), Oe(Qe(e.icons.upload)), null, 16),
13041
13043
  Z("span", null, ke(e.texts.dropHereOr), 1),
13042
- me(d(bt), {
13044
+ ve(d(bt), {
13043
13045
  label: e.texts.chooseFile,
13044
13046
  onClick: s
13045
13047
  }, null, 8, ["label"])
@@ -13060,29 +13062,29 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
13060
13062
  ])
13061
13063
  ]),
13062
13064
  l.value ? (p(), b("div", Fv, [
13063
- me(d(bt), {
13065
+ ve(d(bt), {
13064
13066
  title: e.texts.download,
13065
13067
  borderless: "",
13066
13068
  onClick: c
13067
13069
  }, {
13068
13070
  default: N(() => [
13069
- me(d(ze), Oe(Qe(e.icons.download)), null, 16)
13071
+ ve(d(ze), Oe(Qe(e.icons.download)), null, 16)
13070
13072
  ]),
13071
13073
  _: 1
13072
13074
  }, 8, ["title"]),
13073
- me(d(bt), {
13075
+ ve(d(bt), {
13074
13076
  title: e.texts.remove,
13075
13077
  borderless: "",
13076
13078
  onClick: f
13077
13079
  }, {
13078
13080
  default: N(() => [
13079
- me(d(ze), Oe(Qe(e.icons.remove)), null, 16)
13081
+ ve(d(ze), Oe(Qe(e.icons.remove)), null, 16)
13080
13082
  ]),
13081
13083
  _: 1
13082
13084
  }, 8, ["title"])
13083
13085
  ])) : S("", !0)
13084
13086
  ])) : (p(), b("div", Yv, [
13085
- me(d(ze), Oe(Qe(e.icons.empty)), null, 16),
13087
+ ve(d(ze), Oe(Qe(e.icons.empty)), null, 16),
13086
13088
  Ge(" " + ke(e.texts.empty), 1)
13087
13089
  ]))
13088
13090
  ], 2)
@@ -13259,14 +13261,14 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13259
13261
  default: N(() => [
13260
13262
  t.$slots.prepend || e.prependIcon ? (p(), b("div", lh, [
13261
13263
  e.prependIcon ? (p(), b("span", rh, [
13262
- me(d(ze), Oe(Qe(e.prependIcon)), null, 16)
13264
+ ve(d(ze), Oe(Qe(e.prependIcon)), null, 16)
13263
13265
  ])) : S("", !0),
13264
13266
  D(t.$slots, "prepend")
13265
13267
  ])) : S("", !0),
13266
13268
  D(t.$slots, "default"),
13267
13269
  t.$slots.append || e.appendIcon ? (p(), b("div", oh, [
13268
13270
  e.appendIcon ? (p(), b("span", sh, [
13269
- me(d(ze), Oe(Qe(e.appendIcon)), null, 16)
13271
+ ve(d(ze), Oe(Qe(e.appendIcon)), null, 16)
13270
13272
  ])) : S("", !0),
13271
13273
  D(t.$slots, "append")
13272
13274
  ])) : S("", !0)
@@ -13336,10 +13338,10 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13336
13338
  class: oe(["q-meter", e.class])
13337
13339
  }, [
13338
13340
  Z("div", mh, [
13339
- me(d(jt), {
13341
+ ve(d(jt), {
13340
13342
  label: e.label
13341
13343
  }, null, 8, ["label"]),
13342
- me(d(jt), {
13344
+ ve(d(jt), {
13343
13345
  label: o.value,
13344
13346
  class: "q-meter__value-label"
13345
13347
  }, null, 8, ["label"])
@@ -13367,7 +13369,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13367
13369
  setup(a) {
13368
13370
  const e = a;
13369
13371
  return (t, n) => (p(), b("ul", gh, [
13370
- (p(!0), b(ye, null, Be(e.messages, (l) => (p(), b("li", { key: l }, ke(l), 1))), 128))
13372
+ (p(!0), b(ye, null, Re(e.messages, (l) => (p(), b("li", { key: l }, ke(l), 1))), 128))
13371
13373
  ]));
13372
13374
  }
13373
13375
  }), bh = { class: "q-password-field__meter" }, _h = {
@@ -13442,7 +13444,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13442
13444
  return [
13443
13445
  Z("div", bh, [
13444
13446
  n.value ? (p(), b("div", _h, [
13445
- me(d(as), {
13447
+ ve(d(as), {
13446
13448
  "model-value": e.score,
13447
13449
  max: 1,
13448
13450
  color: n.value.color
@@ -13515,7 +13517,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13515
13517
  return (v, x) => {
13516
13518
  var M, $;
13517
13519
  return p(), b(ye, null, [
13518
- me(d(en), Te({
13520
+ ve(d(en), Te({
13519
13521
  id: e.id,
13520
13522
  ref_key: "fieldRef",
13521
13523
  ref: l,
@@ -13553,7 +13555,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13553
13555
  name: "append",
13554
13556
  fn: N(() => [
13555
13557
  D(v.$slots, "append"),
13556
- me(d(bt), {
13558
+ ve(d(bt), {
13557
13559
  size: "small",
13558
13560
  borderless: "",
13559
13561
  "data-testid": "q-password-toggle",
@@ -13561,7 +13563,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13561
13563
  onClick: f
13562
13564
  }, {
13563
13565
  default: N(() => [
13564
- me(d(ze), Oe(Qe(n.value ? e.icons.show : e.icons.hide)), null, 16)
13566
+ ve(d(ze), Oe(Qe(n.value ? e.icons.show : e.icons.hide)), null, 16)
13565
13567
  ]),
13566
13568
  _: 1
13567
13569
  }, 8, ["disabled"])
@@ -13725,7 +13727,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13725
13727
  () => t.block,
13726
13728
  async ($) => {
13727
13729
  var O;
13728
- await Ee(), $ ? (O = o.value) == null || O.removeAttribute("style") : M();
13730
+ await Be(), $ ? (O = o.value) == null || O.removeAttribute("style") : M();
13729
13731
  },
13730
13732
  { immediate: !0 }
13731
13733
  ), ($, O) => (p(), b("div", {
@@ -13743,7 +13745,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13743
13745
  ])
13744
13746
  ], -1)),
13745
13747
  Z("tbody", null, [
13746
- (p(!0), b(ye, null, Be(s.value, (T) => (p(), b(ye, {
13748
+ (p(!0), b(ye, null, Re(s.value, (T) => (p(), b(ye, {
13747
13749
  key: T.id
13748
13750
  }, [
13749
13751
  T.title ? (p(), ne(d(ss), {
@@ -13754,7 +13756,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13754
13756
  "no-toggle": t.noToggle,
13755
13757
  onClick: () => u(T.id)
13756
13758
  }, null, 8, ["data-key", "title", "icons", "no-toggle", "onClick"])) : S("", !0),
13757
- T.id === "" || l.value.includes(T.id) ? (p(!0), b(ye, { key: 1 }, Be(f(T.id), (w) => (p(), ne(d(os), {
13759
+ T.id === "" || l.value.includes(T.id) ? (p(!0), b(ye, { key: 1 }, Re(f(T.id), (w) => (p(), ne(d(os), {
13758
13760
  key: w.id,
13759
13761
  class: oe(m(w)),
13760
13762
  field: w,
@@ -13828,7 +13830,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13828
13830
  class: oe(o.value),
13829
13831
  onClick: at(u, ["prevent", "stop"])
13830
13832
  }, [
13831
- me(d(jt), {
13833
+ ve(d(jt), {
13832
13834
  for: d(c),
13833
13835
  label: t.field.label,
13834
13836
  required: i.value,
@@ -13894,7 +13896,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13894
13896
  onClick: i
13895
13897
  }, {
13896
13898
  default: N(() => [
13897
- me(d(ze), Oe(Qe(o.value)), null, 16)
13899
+ ve(d(ze), Oe(Qe(o.value)), null, 16)
13898
13900
  ]),
13899
13901
  _: 1
13900
13902
  })),
@@ -14196,11 +14198,9 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14196
14198
  function be(A) {
14197
14199
  A.key.length === 1 && A.preventDefault(), he(A);
14198
14200
  }
14199
- function I() {
14200
- setTimeout(() => {
14201
- var A;
14202
- t.loading ? (A = m.value) == null || A.focus() : P(), n("show");
14203
- }, 0);
14201
+ async function I() {
14202
+ var A;
14203
+ await Be(), t.loading ? (A = m.value) == null || A.focus() : P(), n("show");
14204
14204
  }
14205
14205
  function C() {
14206
14206
  q(), n("hide");
@@ -14215,7 +14215,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14215
14215
  }
14216
14216
  async function J() {
14217
14217
  var _;
14218
- if (await Ee(), await Ee(), !t.multiple || !t.badges || !v.value) return;
14218
+ if (await Be(), await Be(), !t.multiple || !t.badges || !v.value) return;
14219
14219
  let A = 0, K = 0;
14220
14220
  const z = v.value.offsetWidth, B = 4;
14221
14221
  for (const E of x.value ?? []) {
@@ -14229,12 +14229,12 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14229
14229
  return De(
14230
14230
  () => t.loading,
14231
14231
  (A) => {
14232
- !A && s.value && Ee(P);
14232
+ !A && s.value && Be(P);
14233
14233
  }
14234
14234
  ), De(() => t.badges, J), De(() => t.clearable, J), De(o, L), (A, K) => {
14235
14235
  var z;
14236
14236
  return p(), b(ye, null, [
14237
- me(d(ga), {
14237
+ ve(d(ga), {
14238
14238
  id: d(r),
14239
14239
  ref: "trigger",
14240
14240
  label: t.label,
@@ -14275,7 +14275,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14275
14275
  onClick: le
14276
14276
  }, {
14277
14277
  default: N(() => [
14278
- me(d(hn), {
14278
+ ve(d(hn), {
14279
14279
  "model-value": s.value,
14280
14280
  icons: t.icons
14281
14281
  }, null, 8, ["model-value", "icons"])
@@ -14291,7 +14291,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14291
14291
  ])) : (p(), b(ye, { key: 0 }, [
14292
14292
  t.badges ? (p(), b("span", ay, [
14293
14293
  t.multiple ? (p(), b(ye, { key: 0 }, [
14294
- (p(!0), b(ye, null, Be(l.value, (B, _) => (p(), b(ye, { key: _ }, [
14294
+ (p(!0), b(ye, null, Re(l.value, (B, _) => (p(), b(ye, { key: _ }, [
14295
14295
  _ < l.value.length - i.value ? (p(), ne(d(Ta), {
14296
14296
  key: 0,
14297
14297
  pill: "",
@@ -14324,7 +14324,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14324
14324
  ]),
14325
14325
  _: 1
14326
14326
  }, 8, ["disabled"])) : S("", !0),
14327
- (p(!0), b(ye, null, Be(l.value, (B, _) => (p(), ne(d(Ta), {
14327
+ (p(!0), b(ye, null, Re(l.value, (B, _) => (p(), ne(d(Ta), {
14328
14328
  key: _,
14329
14329
  ref_for: !0,
14330
14330
  ref: "allBadges",
@@ -14401,7 +14401,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14401
14401
  key: "1"
14402
14402
  } : void 0
14403
14403
  ]), 1032, ["id", "label", "required", "class", "readonly", "disabled", "data-loading", "size", "invalid"]),
14404
- me(d(oa), {
14404
+ ve(d(oa), {
14405
14405
  modelValue: s.value,
14406
14406
  "onUpdate:modelValue": K[1] || (K[1] = (B) => s.value = B),
14407
14407
  spy: "",
@@ -14427,7 +14427,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14427
14427
  }, [
14428
14428
  D(A.$slots, "body.prepend"),
14429
14429
  t.loading ? (p(), b("div", sy, [
14430
- me(d(Ga), { size: 24 })
14430
+ ve(d(Ga), { size: 24 })
14431
14431
  ])) : (p(), ne(d(Tn), {
14432
14432
  key: 1,
14433
14433
  ref: "list",
@@ -14535,7 +14535,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14535
14535
  opacity: "1"
14536
14536
  };
14537
14537
  }
14538
- return De(l, () => Ee(i), { immediate: !0 }), (c, f) => (p(), b("div", {
14538
+ return De(l, () => Be(i), { immediate: !0 }), (c, f) => (p(), b("div", {
14539
14539
  class: "q-sidebar-anchor",
14540
14540
  style: Ne({ width: t.anchorWidth + "px" })
14541
14541
  }, [
@@ -14544,7 +14544,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14544
14544
  class: "q-sidebar__indicator",
14545
14545
  style: Ne(r.value)
14546
14546
  }, null, 4),
14547
- (p(!0), b(ye, null, Be(c.panels, (u) => (p(), ne(d(Kl), {
14547
+ (p(!0), b(ye, null, Re(c.panels, (u) => (p(), ne(d(Kl), {
14548
14548
  key: u.id,
14549
14549
  ref_for: !0,
14550
14550
  ref_key: "itemRefs",
@@ -14700,7 +14700,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14700
14700
  class: oe(f.value),
14701
14701
  style: Ne({ width: c.value })
14702
14702
  }, [
14703
- me(fy, {
14703
+ ve(fy, {
14704
14704
  modelValue: l.value,
14705
14705
  "onUpdate:modelValue": w[0] || (w[0] = (F) => l.value = F),
14706
14706
  panels: t.panels,
@@ -14708,14 +14708,14 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14708
14708
  "show-labels": t.showLabels,
14709
14709
  "onClick:item": M
14710
14710
  }, He({ _: 2 }, [
14711
- Be(t.panels, (F) => ({
14711
+ Re(t.panels, (F) => ({
14712
14712
  name: F.id,
14713
14713
  fn: N(() => [
14714
14714
  D(T.$slots, `anchor:${F.id}`, { item: F })
14715
14715
  ])
14716
14716
  }))
14717
14717
  ]), 1032, ["modelValue", "panels", "anchor-width", "show-labels"]),
14718
- me(Ht, {
14718
+ ve(Ht, {
14719
14719
  name: T.position === "left" ? "slide-right" : "slide-left",
14720
14720
  onAfterLeave: $
14721
14721
  }, {
@@ -14939,7 +14939,7 @@ function Iy(a = {}) {
14939
14939
  const m = ha(a == null ? void 0 : a.styleTarget);
14940
14940
  m ? m.style[o] = `${s.value}px` : u = `${s.value}px`, l.value.style[o] = u;
14941
14941
  }
14942
- return De([r, l], () => Ee(c), { immediate: !0 }), De(s, () => {
14942
+ return De([r, l], () => Be(c), { immediate: !0 }), De(s, () => {
14943
14943
  var f;
14944
14944
  return (f = a == null ? void 0 : a.onResize) == null ? void 0 : f.call(a);
14945
14945
  }), Oy(l, ([{ contentRect: f }]) => {
@@ -15150,17 +15150,17 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15150
15150
  style: Ne(c.value)
15151
15151
  }, He({
15152
15152
  default: N(() => [
15153
- me(d(pl), {
15153
+ ve(d(pl), {
15154
15154
  fluid: "",
15155
15155
  class: "q-toast__body"
15156
15156
  }, {
15157
15157
  default: N(() => [
15158
- me(d(ml), {
15158
+ ve(d(ml), {
15159
15159
  align: "center",
15160
15160
  justify: "between"
15161
15161
  }, {
15162
15162
  default: N(() => [
15163
- me(d(za), null, {
15163
+ ve(d(za), null, {
15164
15164
  default: N(() => [
15165
15165
  D(M.$slots, "default", {}, () => [
15166
15166
  Z("span", null, ke(t.text), 1)
@@ -15174,14 +15174,14 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15174
15174
  }, {
15175
15175
  default: N(() => [
15176
15176
  D(M.$slots, "dismiss", {}, () => [
15177
- me(d(bt), {
15177
+ ve(d(bt), {
15178
15178
  class: "q-toast__dismiss",
15179
15179
  variant: f.value,
15180
15180
  color: t.color,
15181
15181
  onClick: m
15182
15182
  }, {
15183
15183
  default: N(() => [
15184
- me(d(ze), Oe(Qe(t.icons.close)), null, 16)
15184
+ ve(d(ze), Oe(Qe(t.icons.close)), null, 16)
15185
15185
  ]),
15186
15186
  _: 1
15187
15187
  }, 8, ["variant", "color"])
@@ -15201,14 +15201,14 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15201
15201
  t.title ? {
15202
15202
  name: "header",
15203
15203
  fn: N(() => [
15204
- me(d(pl), { fluid: "" }, {
15204
+ ve(d(pl), { fluid: "" }, {
15205
15205
  default: N(() => [
15206
- me(d(ml), {
15206
+ ve(d(ml), {
15207
15207
  align: "center",
15208
15208
  justify: "between"
15209
15209
  }, {
15210
15210
  default: N(() => [
15211
- me(d(za), null, {
15211
+ ve(d(za), null, {
15212
15212
  default: N(() => [
15213
15213
  Z("div", Ny, [
15214
15214
  M.$slots["title.prepend"] ? D(M.$slots, "title.prepend", { key: 0 }) : S("", !0),
@@ -15218,17 +15218,17 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15218
15218
  ]),
15219
15219
  _: 3
15220
15220
  }),
15221
- me(d(za), { cols: "auto" }, {
15221
+ ve(d(za), { cols: "auto" }, {
15222
15222
  default: N(() => [
15223
15223
  D(M.$slots, "dismiss", {}, () => [
15224
- me(d(bt), {
15224
+ ve(d(bt), {
15225
15225
  class: "q-toast__dismiss",
15226
15226
  variant: f.value,
15227
15227
  color: t.color,
15228
15228
  onClick: m
15229
15229
  }, {
15230
15230
  default: N(() => [
15231
- me(d(ze), Oe(Qe(t.icons.close)), null, 16)
15231
+ ve(d(ze), Oe(Qe(t.icons.close)), null, 16)
15232
15232
  ]),
15233
15233
  _: 1
15234
15234
  }, 8, ["variant", "color"])
@@ -15269,11 +15269,11 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15269
15269
  "data-placement": e.placement
15270
15270
  }, {
15271
15271
  default: N(() => [
15272
- (p(!0), b(ye, null, Be(l.value, (s) => (p(), b("div", {
15272
+ (p(!0), b(ye, null, Re(l.value, (s) => (p(), b("div", {
15273
15273
  key: s.id,
15274
15274
  class: "q-toast__container"
15275
15275
  }, [
15276
- me(d(us), Te({ ref_for: !0 }, s.props, {
15276
+ ve(d(us), Te({ ref_for: !0 }, s.props, {
15277
15277
  onDismiss: () => d(n)(s.id)
15278
15278
  }), null, 16, ["onDismiss"])
15279
15279
  ]))), 128))
@@ -15403,7 +15403,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15403
15403
  D(c.$slots, "anchor", {
15404
15404
  props: { "aria-describedby": d(n) }
15405
15405
  }),
15406
- me(d(oa), {
15406
+ ve(d(oa), {
15407
15407
  id: d(n),
15408
15408
  modelValue: t.value,
15409
15409
  "onUpdate:modelValue": f[0] || (f[0] = (u) => t.value = u),