scope360-core 0.0.95 → 0.0.96

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.
@@ -2,7 +2,7 @@ import './style.css';
2
2
  var Zu = Object.defineProperty;
3
3
  var ec = (n, e, t) => e in n ? Zu(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
4
4
  var oe = (n, e, t) => (ec(n, typeof e != "symbol" ? e + "" : e, t), t);
5
- import { defineAsyncComponent as tc, openBlock as A, createBlock as pe, resolveDynamicComponent as or, unref as P, computed as U, createElementBlock as F, normalizeStyle as ht, normalizeClass as fe, createCommentVNode as W, toDisplayString as xe, withKeys as ue, withModifiers as ge, renderSlot as ie, createVNode as De, withDirectives as Ht, Fragment as be, renderList as Ee, vShow as gn, Transition as Ln, withCtx as Te, createTextVNode as bt, mergeModels as Ut, ref as te, useModel as dn, createElementVNode as se, vModelDynamic as nc, pushScopeId as Fo, popScopeId as Ho, vModelCheckbox as ac, reactive as Ea, defineComponent as ut, useSlots as la, toRef as Sr, onMounted as ct, nextTick as kn, onUnmounted as lr, watch as Vn, mergeProps as lt, isRef as Us, createSlots as _t, normalizeProps as tt, guardReactiveProps as gt, Teleport as rc, h as ic, render as Gs, onBeforeUpdate as sc, getCurrentScope as oc, onScopeDispose as lc } from "vue";
5
+ import { defineAsyncComponent as tc, openBlock as A, createBlock as pe, resolveDynamicComponent as or, unref as P, computed as U, createElementBlock as F, normalizeStyle as ht, normalizeClass as fe, createCommentVNode as W, toDisplayString as xe, withKeys as ue, withModifiers as ge, renderSlot as ie, createVNode as De, withDirectives as Ht, Fragment as be, renderList as Ee, vShow as gn, Transition as Ln, withCtx as Te, createTextVNode as bt, mergeModels as Ut, ref as te, useModel as dn, createElementVNode as se, vModelDynamic as nc, onMounted as lt, pushScopeId as Fo, popScopeId as Ho, vModelCheckbox as ac, reactive as Ea, defineComponent as ct, useSlots as la, toRef as Sr, nextTick as kn, onUnmounted as lr, watch as Vn, mergeProps as ut, isRef as Us, createSlots as _t, normalizeProps as tt, guardReactiveProps as gt, Teleport as rc, h as ic, render as Gs, onBeforeUpdate as sc, getCurrentScope as oc, onScopeDispose as lc } from "vue";
6
6
  const uc = (n, e) => {
7
7
  const t = n[e];
8
8
  return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((a, r) => {
@@ -1375,7 +1375,9 @@ const Oc = {
1375
1375
  const e = dn(n, "modelValue"), t = n, a = te(null), r = () => {
1376
1376
  e.value = t.value;
1377
1377
  }, i = U(() => t.value === e.value);
1378
- return (s, o) => (A(), F("label", Ic, [
1378
+ return lt(() => {
1379
+ r();
1380
+ }), (s, o) => (A(), F("label", Ic, [
1379
1381
  se("input", {
1380
1382
  name: "radio",
1381
1383
  type: "radio",
@@ -1392,7 +1394,7 @@ const Oc = {
1392
1394
  se("span", Lc, xe(n.label), 1)
1393
1395
  ]));
1394
1396
  }
1395
- }, gy = /* @__PURE__ */ Et(Vc, [["__scopeId", "data-v-df5c9a23"]]), Yc = (n) => (Fo("data-v-7e155a89"), n = n(), Ho(), n), Fc = { class: "scope-toggle-wrapper" }, Hc = ["checked", "name"], zc = /* @__PURE__ */ Yc(() => /* @__PURE__ */ se("div", { class: "scope-toggle-wrapper__indicator" }, null, -1)), qc = {
1397
+ }, gy = /* @__PURE__ */ Et(Vc, [["__scopeId", "data-v-6302ea2d"]]), Yc = (n) => (Fo("data-v-7e155a89"), n = n(), Ho(), n), Fc = { class: "scope-toggle-wrapper" }, Hc = ["checked", "name"], zc = /* @__PURE__ */ Yc(() => /* @__PURE__ */ se("div", { class: "scope-toggle-wrapper__indicator" }, null, -1)), qc = {
1396
1398
  __name: "Toggle",
1397
1399
  props: /* @__PURE__ */ Ut({
1398
1400
  name: String
@@ -5832,7 +5834,7 @@ const Yh = ({
5832
5834
  }, jh = ["id", "name", "inputmode", "placeholder", "disabled", "readonly", "required", "value", "autocomplete", "aria-label", "aria-disabled", "aria-invalid"], Uh = {
5833
5835
  key: 2,
5834
5836
  class: "dp__clear_icon"
5835
- }, Gh = /* @__PURE__ */ ut({
5837
+ }, Gh = /* @__PURE__ */ ct({
5836
5838
  compatConfig: {
5837
5839
  MODE: 3
5838
5840
  },
@@ -6017,7 +6019,7 @@ const Yh = ({
6017
6019
  ]);
6018
6020
  };
6019
6021
  }
6020
- }), Kh = ["title"], Xh = ["disabled"], Qh = /* @__PURE__ */ ut({
6022
+ }), Kh = ["title"], Xh = ["disabled"], Qh = /* @__PURE__ */ ct({
6021
6023
  compatConfig: {
6022
6024
  MODE: 3
6023
6025
  },
@@ -6039,7 +6041,7 @@ const Yh = ({
6039
6041
  defaultedMultiDates: u,
6040
6042
  getDefaultPattern: d
6041
6043
  } = qe(a), { isTimeValid: h, isMonthValid: m } = zn(a), { buildMatrix: p } = Hn(), f = te(null), b = te(null), D = te(!1), T = te({}), _ = te(null), x = te(null);
6042
- ct(() => {
6044
+ lt(() => {
6043
6045
  a.arrowNavigation && p([at(f), at(b)], "actionRow"), S(), window.addEventListener("resize", S);
6044
6046
  }), lr(() => {
6045
6047
  window.removeEventListener("resize", S);
@@ -6075,7 +6077,7 @@ const Yh = ({
6075
6077
  ref: x,
6076
6078
  class: "dp__action_row"
6077
6079
  }, [
6078
- k.$slots["action-row"] ? ie(k.$slots, "action-row", tt(lt({ key: 0 }, {
6080
+ k.$slots["action-row"] ? ie(k.$slots, "action-row", tt(ut({ key: 0 }, {
6079
6081
  internalModelValue: k.internalModelValue,
6080
6082
  disabled: w.value,
6081
6083
  selectDate: () => k.$emit("select-date"),
@@ -6146,7 +6148,7 @@ const Yh = ({
6146
6148
  ], 64))
6147
6149
  ], 512));
6148
6150
  }
6149
- }), Jh = ["onKeydown"], Zh = { class: "dp__selection_grid_header" }, ep = ["aria-selected", "aria-disabled", "onClick", "onKeydown", "onMouseover"], tp = ["aria-label"], dr = /* @__PURE__ */ ut({
6151
+ }), Jh = ["onKeydown"], Zh = { class: "dp__selection_grid_header" }, ep = ["aria-selected", "aria-disabled", "onClick", "onKeydown", "onMouseover"], tp = ["aria-label"], dr = /* @__PURE__ */ ct({
6150
6152
  __name: "SelectionOverlay",
6151
6153
  props: {
6152
6154
  items: {},
@@ -6173,7 +6175,7 @@ const Yh = ({
6173
6175
  ), { hideNavigationButtons: d } = Vr(), h = te(!1), m = te(null), p = te(null), f = te([]), b = te(), D = te(null), T = te(0), _ = te(null);
6174
6176
  sc(() => {
6175
6177
  m.value = null;
6176
- }), ct(() => {
6178
+ }), lt(() => {
6177
6179
  kn().then(() => ne()), o.noOverlayFocus || S(), x(!0);
6178
6180
  }), lr(() => x(!1));
6179
6181
  const x = (Q) => {
@@ -6327,7 +6329,7 @@ const Yh = ({
6327
6329
  ], 46, Jh);
6328
6330
  };
6329
6331
  }
6330
- }), Fr = /* @__PURE__ */ ut({
6332
+ }), Fr = /* @__PURE__ */ ct({
6331
6333
  __name: "InstanceWrap",
6332
6334
  props: {
6333
6335
  multiCalendars: {},
@@ -6359,7 +6361,7 @@ const Yh = ({
6359
6361
  ], 2))), 128))
6360
6362
  ], 2));
6361
6363
  }
6362
- }), np = ["aria-label", "aria-disabled"], ja = /* @__PURE__ */ ut({
6364
+ }), np = ["aria-label", "aria-disabled"], ja = /* @__PURE__ */ ct({
6363
6365
  compatConfig: {
6364
6366
  MODE: 3
6365
6367
  },
@@ -6371,7 +6373,7 @@ const Yh = ({
6371
6373
  emits: ["activate", "set-ref"],
6372
6374
  setup(n, { emit: e }) {
6373
6375
  const t = e, a = te(null);
6374
- return ct(() => t("set-ref", a)), (r, i) => (A(), F("button", {
6376
+ return lt(() => t("set-ref", a)), (r, i) => (A(), F("button", {
6375
6377
  ref_key: "elRef",
6376
6378
  ref: a,
6377
6379
  type: "button",
@@ -6392,7 +6394,7 @@ const Yh = ({
6392
6394
  ], 2)
6393
6395
  ], 40, np));
6394
6396
  }
6395
- }), ap = { class: "dp--year-mode-picker" }, rp = ["aria-label"], Dl = /* @__PURE__ */ ut({
6397
+ }), ap = { class: "dp--year-mode-picker" }, rp = ["aria-label"], Dl = /* @__PURE__ */ ct({
6396
6398
  __name: "YearModePicker",
6397
6399
  props: {
6398
6400
  ...Gt,
@@ -6556,7 +6558,7 @@ const Yh = ({
6556
6558
  a.value[0] = { month: Pe(M), year: ke(M) };
6557
6559
  }
6558
6560
  };
6559
- ct(() => {
6561
+ lt(() => {
6560
6562
  b(), n.value.count && m();
6561
6563
  });
6562
6564
  const D = (M, w) => {
@@ -6620,7 +6622,7 @@ const Yh = ({
6620
6622
  props: n,
6621
6623
  emit: e
6622
6624
  });
6623
- ct(() => {
6625
+ lt(() => {
6624
6626
  n.startDate && (h.value && n.focusStartDate || !h.value) && _(ke(G(n.startDate)), 0);
6625
6627
  });
6626
6628
  const j = (y) => y ? { month: Pe(y), year: ke(y) } : { month: null, year: null }, ne = () => h.value ? Array.isArray(h.value) ? h.value.map((y) => j(y)) : j(h.value) : j(), $ = (y, v) => {
@@ -6695,7 +6697,7 @@ const Yh = ({
6695
6697
  handleYear: O,
6696
6698
  getModelMonthYear: ne
6697
6699
  };
6698
- }, sp = /* @__PURE__ */ ut({
6700
+ }, sp = /* @__PURE__ */ ct({
6699
6701
  compatConfig: {
6700
6702
  MODE: 3
6701
6703
  },
@@ -6717,7 +6719,7 @@ const Yh = ({
6717
6719
  ],
6718
6720
  setup(n, { expose: e, emit: t }) {
6719
6721
  const a = t, r = la(), i = Mt(r, "yearMode"), s = n;
6720
- ct(() => {
6722
+ lt(() => {
6721
6723
  s.shadow || a("mount", null);
6722
6724
  });
6723
6725
  const {
@@ -6751,7 +6753,7 @@ const Yh = ({
6751
6753
  stretch: ""
6752
6754
  }, {
6753
6755
  default: Te(({ instance: C }) => [
6754
- w.$slots["month-year"] ? ie(w.$slots, "month-year", tt(lt({ key: 0 }, {
6756
+ w.$slots["month-year"] ? ie(w.$slots, "month-year", tt(ut({ key: 0 }, {
6755
6757
  year: P(c),
6756
6758
  months: P(o)(C),
6757
6759
  years: P(l)(C),
@@ -6773,7 +6775,7 @@ const Yh = ({
6773
6775
  onHoverValue: (j) => P(b)(j, C)
6774
6776
  }, {
6775
6777
  header: Te(() => [
6776
- De(Dl, lt(w.$props, {
6778
+ De(Dl, ut(w.$props, {
6777
6779
  items: P(l)(C),
6778
6780
  instance: C,
6779
6781
  "show-year-picker": P(m)[C],
@@ -6799,7 +6801,7 @@ const Yh = ({
6799
6801
  }
6800
6802
  }), op = (n, e) => {
6801
6803
  const { modelValue: t } = cr(n, e), a = te(null), { defaultedHighlight: r, defaultedMultiDates: i, defaultedFilters: s, defaultedRange: o, propDates: l } = qe(n), c = te();
6802
- ct(() => {
6804
+ lt(() => {
6803
6805
  n.startDate && (t.value && n.focusStartDate || !t.value) && (c.value = ke(G(n.startDate)));
6804
6806
  });
6805
6807
  const u = (p) => Array.isArray(t.value) ? t.value.some((f) => ke(f) === p) : t.value ? ke(t.value) === p : !1, d = (p) => o.value.enabled && Array.isArray(t.value) ? Lr(t.value, a.value, m(p)) : !1, h = U(() => Da(ys(n.yearRange, n.locale, n.reverseYears), (p) => {
@@ -6826,7 +6828,7 @@ const Yh = ({
6826
6828
  t.value = m(p), e("auto-apply");
6827
6829
  }
6828
6830
  };
6829
- }, lp = /* @__PURE__ */ ut({
6831
+ }, lp = /* @__PURE__ */ ct({
6830
6832
  compatConfig: {
6831
6833
  MODE: 3
6832
6834
  },
@@ -6848,7 +6850,7 @@ const Yh = ({
6848
6850
  modelValue: s,
6849
6851
  selectYear: l
6850
6852
  }) }), (d, h) => (A(), F("div", null, [
6851
- d.$slots["month-year"] ? ie(d.$slots, "month-year", tt(lt({ key: 0 }, {
6853
+ d.$slots["month-year"] ? ie(d.$slots, "month-year", tt(ut({ key: 0 }, {
6852
6854
  years: P(i),
6853
6855
  selectYear: P(l)
6854
6856
  }))) : (A(), pe(dr, {
@@ -6880,7 +6882,7 @@ const Yh = ({
6880
6882
  }), up = {
6881
6883
  key: 0,
6882
6884
  class: "dp__time_input"
6883
- }, cp = ["aria-label", "onKeydown", "onClick"], dp = /* @__PURE__ */ se("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1), fp = /* @__PURE__ */ se("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1), hp = ["aria-label", "disabled", "onKeydown", "onClick"], pp = ["aria-label", "onKeydown", "onClick"], mp = /* @__PURE__ */ se("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1), vp = /* @__PURE__ */ se("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1), yp = { key: 0 }, gp = ["aria-label", "onKeydown"], _p = /* @__PURE__ */ ut({
6885
+ }, cp = ["aria-label", "onKeydown", "onClick"], dp = /* @__PURE__ */ se("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1), fp = /* @__PURE__ */ se("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1), hp = ["aria-label", "disabled", "onKeydown", "onClick"], pp = ["aria-label", "onKeydown", "onClick"], mp = /* @__PURE__ */ se("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1), vp = /* @__PURE__ */ se("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1), yp = { key: 0 }, gp = ["aria-label", "onKeydown"], _p = /* @__PURE__ */ ct({
6884
6886
  compatConfig: {
6885
6887
  MODE: 3
6886
6888
  },
@@ -6912,7 +6914,7 @@ const Yh = ({
6912
6914
  minutes: !1,
6913
6915
  seconds: !1
6914
6916
  }), f = te("AM"), b = te(null), D = te([]);
6915
- ct(() => {
6917
+ lt(() => {
6916
6918
  a("mounted");
6917
6919
  });
6918
6920
  const T = (N) => Le(/* @__PURE__ */ new Date(), {
@@ -7152,7 +7154,7 @@ const Yh = ({
7152
7154
  ]));
7153
7155
  };
7154
7156
  }
7155
- }), bp = { class: "dp--tp-wrap" }, wp = ["aria-label", "tabindex"], kp = ["tabindex"], xp = ["aria-label"], Ol = /* @__PURE__ */ ut({
7157
+ }), bp = { class: "dp--tp-wrap" }, wp = ["aria-label", "tabindex"], kp = ["tabindex"], xp = ["aria-label"], Ol = /* @__PURE__ */ ct({
7156
7158
  compatConfig: {
7157
7159
  MODE: 3
7158
7160
  },
@@ -7180,7 +7182,7 @@ const Yh = ({
7180
7182
  ],
7181
7183
  setup(n, { expose: e, emit: t }) {
7182
7184
  const a = t, r = n, { buildMatrix: i, setTimePicker: s } = Hn(), o = la(), { defaultedTransitions: l, defaultedAriaLabels: c, defaultedTextInput: u, defaultedConfig: d, defaultedRange: h } = qe(r), { transitionName: m, showTransition: p } = ur(l), { hideNavigationButtons: f } = Vr(), b = te(null), D = te(null), T = te([]), _ = te(null);
7183
- ct(() => {
7185
+ lt(() => {
7184
7186
  a("mount"), !r.timePicker && r.arrowNavigation ? i([at(b.value)], "time") : s(!0, r.timePicker);
7185
7187
  });
7186
7188
  const x = U(() => h.value.enabled && r.modelAuto ? hl(r.internalModelValue) : !0), S = te(!1), M = (g) => ({
@@ -7275,7 +7277,7 @@ const Yh = ({
7275
7277
  key: 1,
7276
7278
  class: fe(g.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
7277
7279
  }, [
7278
- (A(!0), F(be, null, Ee(w.value, (Q, E) => Ht((A(), pe(_p, lt({ key: E }, {
7280
+ (A(!0), F(be, null, Ee(w.value, (Q, E) => Ht((A(), pe(_p, ut({ key: E }, {
7279
7281
  ...g.$props,
7280
7282
  order: E,
7281
7283
  hours: Q.hours,
@@ -7426,7 +7428,7 @@ const Yh = ({
7426
7428
  [_.seconds, x.seconds]
7427
7429
  ) : b(_.hours, _.minutes, _.seconds);
7428
7430
  };
7429
- ct(() => {
7431
+ lt(() => {
7430
7432
  if (!n.shadow)
7431
7433
  return c(r.value), t.value ? D() : p();
7432
7434
  });
@@ -7442,7 +7444,7 @@ const Yh = ({
7442
7444
  },
7443
7445
  validateTime: d
7444
7446
  };
7445
- }, Dp = /* @__PURE__ */ ut({
7447
+ }, Dp = /* @__PURE__ */ ct({
7446
7448
  compatConfig: {
7447
7449
  MODE: 3
7448
7450
  },
@@ -7462,7 +7464,7 @@ const Yh = ({
7462
7464
  stretch: ""
7463
7465
  }, {
7464
7466
  default: Te(() => [
7465
- De(Ol, lt(h.$props, {
7467
+ De(Ol, ut(h.$props, {
7466
7468
  hours: P(o).hours,
7467
7469
  minutes: P(o).minutes,
7468
7470
  seconds: P(o).seconds,
@@ -7485,7 +7487,7 @@ const Yh = ({
7485
7487
  _: 3
7486
7488
  }));
7487
7489
  }
7488
- }), Sp = { class: "dp__month_year_row" }, Pp = ["aria-label", "onClick", "onKeydown"], Mp = /* @__PURE__ */ ut({
7490
+ }), Sp = { class: "dp__month_year_row" }, Pp = ["aria-label", "onClick", "onKeydown"], Mp = /* @__PURE__ */ ct({
7489
7491
  compatConfig: {
7490
7492
  MODE: 3
7491
7493
  },
@@ -7509,7 +7511,7 @@ const Yh = ({
7509
7511
  defaultedHighlight: u,
7510
7512
  propDates: d
7511
7513
  } = qe(r), { transitionName: h, showTransition: m } = ur(i), { buildMatrix: p } = Hn(), { handleMonthYearChange: f, isDisabled: b, updateMonthYear: D } = Vh(r, a), { showLeftIcon: T, showRightIcon: _ } = Vr(), x = te(!1), S = te(!1), M = te([null, null, null, null]);
7512
- ct(() => {
7514
+ lt(() => {
7513
7515
  a("mount");
7514
7516
  });
7515
7517
  const w = (E) => ({
@@ -7583,7 +7585,7 @@ const Yh = ({
7583
7585
  }), (E, L) => {
7584
7586
  var y, v, V;
7585
7587
  return A(), F("div", Sp, [
7586
- E.$slots["month-year"] ? ie(E.$slots, "month-year", tt(lt({ key: 0 }, { month: n.month, year: n.year, months: n.months, years: n.years, updateMonthYear: P(D), handleMonthYearChange: P(f), instance: n.instance }))) : (A(), F(be, { key: 1 }, [
7588
+ E.$slots["month-year"] ? ie(E.$slots, "month-year", tt(ut({ key: 0 }, { month: n.month, year: n.year, months: n.months, years: n.years, updateMonthYear: P(D), handleMonthYearChange: P(f), instance: n.instance }))) : (A(), F(be, { key: 1 }, [
7587
7589
  P(T)(P(o), n.instance) && !E.vertical ? (A(), pe(ja, {
7588
7590
  key: 0,
7589
7591
  "aria-label": (y = P(s)) == null ? void 0 : y.prevMonth,
@@ -7728,7 +7730,7 @@ const Yh = ({
7728
7730
  key: 0,
7729
7731
  role: "gridcell",
7730
7732
  class: "dp__calendar_item dp__week_num"
7731
- }, Ip = { class: "dp__cell_inner" }, Bp = ["id", "aria-selected", "aria-disabled", "aria-label", "onClick", "onKeydown", "onMouseenter", "onMouseleave", "onMousedown"], Lp = /* @__PURE__ */ ut({
7733
+ }, Ip = { class: "dp__cell_inner" }, Bp = ["id", "aria-selected", "aria-disabled", "aria-label", "onClick", "onKeydown", "onMouseenter", "onMouseleave", "onMousedown"], Lp = /* @__PURE__ */ ct({
7732
7734
  compatConfig: {
7733
7735
  MODE: 3
7734
7736
  },
@@ -7763,7 +7765,7 @@ const Yh = ({
7763
7765
  left: "",
7764
7766
  transform: ""
7765
7767
  }), p = te([]), f = te(null), b = te(!0), D = te(""), T = te({ startX: 0, endX: 0, startY: 0, endY: 0 }), _ = te([]), x = te({ left: "50%" }), S = te(!1), M = U(() => r.calendar ? r.calendar(r.mappedDates) : r.mappedDates), w = U(() => r.dayNames ? Array.isArray(r.dayNames) ? r.dayNames : r.dayNames(r.locale, +r.weekStart) : ih(r.formatLocale, r.locale, +r.weekStart));
7766
- ct(() => {
7768
+ lt(() => {
7767
7769
  a("mount", { cmp: "calendar", refs: p }), o.value.noSwipe || f.value && (f.value.addEventListener("touchstart", re, { passive: !1 }), f.value.addEventListener("touchend", Q, { passive: !1 }), f.value.addEventListener("touchmove", E, { passive: !1 })), r.monthChangeOnScroll && f.value && f.value.addEventListener("wheel", v, { passive: !1 });
7768
7770
  });
7769
7771
  const O = (H) => H ? r.vertical ? "vNext" : "next" : r.vertical ? "vPrevious" : "previous", C = (H, me) => {
@@ -8000,7 +8002,7 @@ const Yh = ({
8000
8002
  JSON.stringify(I) !== JSON.stringify(ee) && k();
8001
8003
  },
8002
8004
  { deep: !0 }
8003
- ), ct(() => {
8005
+ ), lt(() => {
8004
8006
  n.shadow || (s.value || (z(), u.value && M(u.value)), k(!0), n.focusStartDate && n.startDate && z());
8005
8007
  });
8006
8008
  const Y = U(() => {
@@ -8226,7 +8228,7 @@ const Yh = ({
8226
8228
  _(I, ee, de, ei);
8227
8229
  }
8228
8230
  };
8229
- }, Yp = { key: 0 }, Fp = /* @__PURE__ */ ut({
8231
+ }, Yp = { key: 0 }, Fp = /* @__PURE__ */ ct({
8230
8232
  __name: "DatePicker",
8231
8233
  props: {
8232
8234
  ...Gt
@@ -8333,7 +8335,7 @@ const Yh = ({
8333
8335
  collapse: L.collapse
8334
8336
  }, {
8335
8337
  default: Te(({ instance: v, index: V }) => [
8336
- L.disableMonthYearSelect ? W("", !0) : (A(), pe(Mp, lt({
8338
+ L.disableMonthYearSelect ? W("", !0) : (A(), pe(Mp, ut({
8337
8339
  key: 0,
8338
8340
  ref: (z) => {
8339
8341
  z && (ne.value[V] = z);
@@ -8356,7 +8358,7 @@ const Yh = ({
8356
8358
  ])
8357
8359
  }))
8358
8360
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
8359
- De(Lp, lt({
8361
+ De(Lp, ut({
8360
8362
  ref: (z) => {
8361
8363
  z && ($.value[V] = z);
8362
8364
  },
@@ -8386,7 +8388,7 @@ const Yh = ({
8386
8388
  _: 3
8387
8389
  }, 8, ["multi-calendars", "collapse"]),
8388
8390
  L.enableTimePicker ? (A(), F("div", Yp, [
8389
- L.$slots["time-picker"] ? ie(L.$slots, "time-picker", tt(lt({ key: 0 }, { time: P(c), updateTime: P(S) }))) : (A(), pe(Ol, lt({
8391
+ L.$slots["time-picker"] ? ie(L.$slots, "time-picker", tt(ut({ key: 0 }, { time: P(c), updateTime: P(S) }))) : (A(), pe(Ol, ut({
8390
8392
  key: 1,
8391
8393
  ref_key: "timePickerRef",
8392
8394
  ref: Y
@@ -8489,7 +8491,7 @@ const Yh = ({
8489
8491
  handleYearSelect: x,
8490
8492
  handleYear: S
8491
8493
  };
8492
- }, zp = { class: "dp--quarter-items" }, qp = ["disabled", "onClick", "onMouseover"], Wp = /* @__PURE__ */ ut({
8494
+ }, zp = { class: "dp--quarter-items" }, qp = ["disabled", "onClick", "onMouseover"], Wp = /* @__PURE__ */ ct({
8493
8495
  compatConfig: {
8494
8496
  MODE: 3
8495
8497
  },
@@ -8538,7 +8540,7 @@ const Yh = ({
8538
8540
  style: ht({ minHeight: `${P(l).modeHeight}px` })
8539
8541
  }, [
8540
8542
  se("div", null, [
8541
- De(Dl, lt(x.$props, {
8543
+ De(Dl, ut(x.$props, {
8542
8544
  items: P(c)(M),
8543
8545
  instance: M,
8544
8546
  "show-year-picker": P(p)[M],
@@ -8599,7 +8601,7 @@ const Yh = ({
8599
8601
  }, Zp = {
8600
8602
  key: 3,
8601
8603
  class: "dp__action_extra"
8602
- }, ho = /* @__PURE__ */ ut({
8604
+ }, ho = /* @__PURE__ */ ct({
8603
8605
  compatConfig: {
8604
8606
  MODE: 3
8605
8607
  },
@@ -8645,7 +8647,7 @@ const Yh = ({
8645
8647
  menuWrapRef: i.value
8646
8648
  };
8647
8649
  }), { setMenuFocused: o, setShiftKey: l, control: c } = xl(), u = la(), { defaultedTextInput: d, defaultedInline: h, defaultedConfig: m } = qe(r), p = te(null), f = te(0), b = te(null), D = te(!1), T = te(null);
8648
- ct(() => {
8650
+ lt(() => {
8649
8651
  if (!r.shadow) {
8650
8652
  D.value = !0, _(), window.addEventListener("resize", _);
8651
8653
  const R = at(i);
@@ -8794,7 +8796,7 @@ const Yh = ({
8794
8796
  class: "dp__instance_calendar",
8795
8797
  role: "document"
8796
8798
  }, [
8797
- (A(), pe(or($.value), lt({
8799
+ (A(), pe(or($.value), ut({
8798
8800
  ref_key: "dynCmpRef",
8799
8801
  ref: T
8800
8802
  }, s.value, {
@@ -8839,7 +8841,7 @@ const Yh = ({
8839
8841
  }) : W("", !0)
8840
8842
  ])) : W("", !0)
8841
8843
  ], 6),
8842
- !R.autoApply || P(m).keepActionRow ? (A(), pe(Qh, lt({
8844
+ !R.autoApply || P(m).keepActionRow ? (A(), pe(Qh, ut({
8843
8845
  key: 2,
8844
8846
  "menu-mount": D.value
8845
8847
  }, s.value, {
@@ -8882,7 +8884,7 @@ const Yh = ({
8882
8884
  const o = at(n), l = at(e);
8883
8885
  !o || !l || o === s.target || s.composedPath().includes(o) || s.composedPath().includes(l) || t(s);
8884
8886
  }, { passive: !0 }) : void 0;
8885
- }, rm = /* @__PURE__ */ ut({
8887
+ }, rm = /* @__PURE__ */ ct({
8886
8888
  compatConfig: {
8887
8889
  MODE: 3
8888
8890
  },
@@ -8924,7 +8926,7 @@ const Yh = ({
8924
8926
  defaultedRange: j,
8925
8927
  defaultedMultiDates: ne
8926
8928
  } = qe(r), { menuTransition: $, showTransition: Y } = ur(M);
8927
- ct(() => {
8929
+ lt(() => {
8928
8930
  v(r.modelValue), kn().then(() => {
8929
8931
  if (!O.value.enabled) {
8930
8932
  const J = Q(m.value);
@@ -9055,7 +9057,7 @@ const Yh = ({
9055
9057
  class: fe($e.value),
9056
9058
  "data-datepicker-instance": ""
9057
9059
  }, [
9058
- De(Gh, lt({
9060
+ De(Gh, ut({
9059
9061
  ref_key: "inputRef",
9060
9062
  ref: d,
9061
9063
  "input-value": P(L),
@@ -9087,7 +9089,7 @@ const Yh = ({
9087
9089
  css: P(Y) && !P(O).enabled
9088
9090
  }, {
9089
9091
  default: Te(() => [
9090
- s.value ? (A(), F("div", lt({
9092
+ s.value ? (A(), F("div", ut({
9091
9093
  key: 0,
9092
9094
  ref_key: "dpWrapMenuRef",
9093
9095
  ref: c
@@ -9095,7 +9097,7 @@ const Yh = ({
9095
9097
  class: { "dp--menu-wrapper": !P(O).enabled },
9096
9098
  style: P(O).enabled ? void 0 : P(B)
9097
9099
  }), [
9098
- De(ho, lt({
9100
+ De(ho, ut({
9099
9101
  ref_key: "dpMenuRef",
9100
9102
  ref: u
9101
9103
  }, J.$props, {
@@ -11407,7 +11409,7 @@ const Py = {
11407
11409
  }
11408
11410
  }
11409
11411
  const t = te(null);
11410
- return ct(() => {
11412
+ return lt(() => {
11411
11413
  t.value && e(t.value);
11412
11414
  }), (a, r) => (A(), F("div", {
11413
11415
  ref_key: "confetti",
@@ -11443,7 +11445,7 @@ const Py = {
11443
11445
  }, d = (h) => {
11444
11446
  i.value && !i.value.contains(h.target) && u();
11445
11447
  };
11446
- return ct(() => {
11448
+ return lt(() => {
11447
11449
  document.addEventListener("click", d);
11448
11450
  }), lr(() => {
11449
11451
  document.removeEventListener("click", d);