pangea-lib 1.19.16 → 1.19.18

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/main.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var dp = Object.defineProperty;
2
2
  var vp = (e, c, a) => c in e ? dp(e, c, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[c] = a;
3
3
  var j = (e, c, a) => (vp(e, typeof c != "symbol" ? c + "" : c, a), a);
4
- import { defineComponent as D1, openBlock as S, createElementBlock as Y, normalizeClass as S1, renderSlot as o1, computed as W, resolveComponent as k3, normalizeStyle as B2, createBlock as L1, withModifiers as E4, createElementVNode as p1, toDisplayString as j1, createCommentVNode as G, watch as J2, h as v6, unref as L, createVNode as y2, ref as c1, mergeModels as r0, useModel as J8, withCtx as k1, Fragment as N1, renderList as W1, version as pp, shallowRef as Ft, onMounted as L2, onUnmounted as y0, toRaw as k7, nextTick as U2, isProxy as Ot, reactive as x0, useSlots as G4, toRef as s0, mergeProps as g2, isRef as bc, createSlots as k2, normalizeProps as V2, guardReactiveProps as I2, resolveDynamicComponent as e5, Teleport as zp, Transition as y6, render as Lc, createTextVNode as q3, onBeforeUpdate as Mp, withDirectives as j6, vShow as H8, withKeys as Hp, getCurrentScope as gp, onScopeDispose as Vp, useCssVars as Cp } from "vue";
4
+ import { defineComponent as D1, openBlock as S, createElementBlock as E, normalizeClass as S1, renderSlot as o1, computed as W, resolveComponent as k3, normalizeStyle as B2, createBlock as L1, withModifiers as E4, createElementVNode as p1, toDisplayString as j1, createCommentVNode as G, watch as J2, h as v6, unref as L, createVNode as b2, ref as c1, mergeModels as r0, useModel as J8, withCtx as k1, Fragment as N1, renderList as W1, version as pp, shallowRef as Ft, onMounted as y2, onUnmounted as y0, toRaw as k7, nextTick as U2, isProxy as Ot, reactive as x0, useSlots as G4, toRef as s0, mergeProps as g2, isRef as bc, createSlots as k2, normalizeProps as V2, guardReactiveProps as I2, resolveDynamicComponent as e5, Teleport as zp, Transition as y6, render as Lc, createTextVNode as q3, onBeforeUpdate as Mp, withDirectives as j6, vShow as H8, withKeys as Hp, getCurrentScope as gp, onScopeDispose as Vp, useCssVars as Cp } from "vue";
5
5
  import { defineStore as bp } from "pinia";
6
6
  const yc = {
7
7
  colors: {
@@ -15,7 +15,7 @@ const Lp = /* @__PURE__ */ D1({
15
15
  color: {}
16
16
  },
17
17
  setup(e) {
18
- return (c, a) => (S(), Y("div", {
18
+ return (c, a) => (S(), E("div", {
19
19
  class: S1(["badge", `badge__${c.color}`])
20
20
  }, [
21
21
  o1(c.$slots, "default", {}, void 0, !0)
@@ -48,7 +48,7 @@ const m3 = (e, c) => {
48
48
  });
49
49
  return (t, n) => {
50
50
  const i = k3("PgaSpinner");
51
- return t.href ? (S(), Y("a", {
51
+ return t.href ? (S(), E("a", {
52
52
  key: 0,
53
53
  href: t.href,
54
54
  target: t.target,
@@ -56,7 +56,7 @@ const m3 = (e, c) => {
56
56
  style: B2(a.value)
57
57
  }, [
58
58
  o1(t.$slots, "default", {}, void 0, !0)
59
- ], 14, xp)) : (S(), Y("button", {
59
+ ], 14, xp)) : (S(), E("button", {
60
60
  key: 1,
61
61
  class: S1(["button", [`button__${t.type}`, `button__${t.size}`, t.isLoading ? "button__is-loading" : ""]]),
62
62
  style: B2(a.value)
@@ -66,7 +66,7 @@ const m3 = (e, c) => {
66
66
  class: "button--spinner",
67
67
  size: "s"
68
68
  })) : o1(t.$slots, "default", { key: 1 }, void 0, !0),
69
- t.numberToDisplay ? (S(), Y("div", {
69
+ t.numberToDisplay ? (S(), E("div", {
70
70
  key: 2,
71
71
  class: "button--number-to-display",
72
72
  onClick: n[0] || (n[0] = E4(() => {
@@ -3100,9 +3100,9 @@ const xM = /* @__PURE__ */ D1({
3100
3100
  const wM = {}, kM = { class: "info-card" }, SM = { class: "info-card--icon-container" }, NM = { class: "info-card--content" };
3101
3101
  function _M(e, c) {
3102
3102
  const a = k3("PgaIcon");
3103
- return S(), Y("div", kM, [
3103
+ return S(), E("div", kM, [
3104
3104
  p1("div", SM, [
3105
- y2(a, {
3105
+ b2(a, {
3106
3106
  class: "info-card--icon",
3107
3107
  icon: "circle-info"
3108
3108
  })
@@ -3127,8 +3127,8 @@ const AM = /* @__PURE__ */ m3(wM, [["render", _M], ["__scopeId", "data-v-1e5dda7
3127
3127
  const c = e;
3128
3128
  return (a, t) => {
3129
3129
  const n = k3("PgaSpinner"), i = k3("PgaIcon");
3130
- return S(), Y("div", PM, [
3131
- c.isLoading ? (S(), L1(n, { key: 0 })) : (S(), Y("div", DM, [
3130
+ return S(), E("div", PM, [
3131
+ c.isLoading ? (S(), L1(n, { key: 0 })) : (S(), E("div", DM, [
3132
3132
  c.type === "success" ? (S(), L1(i, {
3133
3133
  key: 0,
3134
3134
  icon: ["fas", "circle-check"],
@@ -3143,7 +3143,7 @@ const AM = /* @__PURE__ */ m3(wM, [["render", _M], ["__scopeId", "data-v-1e5dda7
3143
3143
  class: "information-card--title",
3144
3144
  textContent: j1(c.informationCardTitle)
3145
3145
  }, null, 8, TM),
3146
- c.informationCardDescription ? (S(), Y("span", {
3146
+ c.informationCardDescription ? (S(), E("span", {
3147
3147
  key: 2,
3148
3148
  class: "information-card--description",
3149
3149
  textContent: j1(c.informationCardDescription)
@@ -3162,7 +3162,7 @@ const RM = /* @__PURE__ */ m3(OM, [["__scopeId", "data-v-539a927b"]]), BM = /* @
3162
3162
  setup(e) {
3163
3163
  return (c, a) => {
3164
3164
  const t = k3("PgaIcon");
3165
- return S(), Y("div", {
3165
+ return S(), E("div", {
3166
3166
  class: S1(["item-selected", { "item-selected__selected": c.isItemSelected }])
3167
3167
  }, [
3168
3168
  c.isItemSelected ? (S(), L1(t, {
@@ -3240,7 +3240,7 @@ const { useI18nStore: As1, useI18n: vn } = WM("pga-i18n", "es", YM), UM = { clas
3240
3240
  }
3241
3241
  return (s, l) => {
3242
3242
  const o = k3("PgaIcon"), f = k3("PgaButton");
3243
- return t.value ? (S(), Y("div", {
3243
+ return t.value ? (S(), E("div", {
3244
3244
  key: 0,
3245
3245
  class: "modal",
3246
3246
  onMousedown: l[4] || (l[4] = (u) => t.value = !1)
@@ -3259,14 +3259,14 @@ const { useI18nStore: As1, useI18n: vn } = WM("pga-i18n", "es", YM), UM = { clas
3259
3259
  class: "close-icon",
3260
3260
  onClick: l[0] || (l[0] = (u) => t.value = !1)
3261
3261
  }, [
3262
- y2(o, { icon: "xmark" })
3262
+ b2(o, { icon: "xmark" })
3263
3263
  ])
3264
3264
  ]),
3265
3265
  p1("div", jM, [
3266
3266
  o1(s.$slots, "default", {}, void 0, !0)
3267
3267
  ]),
3268
- s.confirmButtons ? (S(), Y("div", ZM, [
3269
- y2(f, {
3268
+ s.confirmButtons ? (S(), E("div", ZM, [
3269
+ b2(f, {
3270
3270
  type: "danger",
3271
3271
  size: "m",
3272
3272
  onClick: l[1] || (l[1] = (u) => t.value = !1)
@@ -3278,7 +3278,7 @@ const { useI18nStore: As1, useI18n: vn } = WM("pga-i18n", "es", YM), UM = { clas
3278
3278
  ]),
3279
3279
  _: 1
3280
3280
  }),
3281
- y2(f, {
3281
+ b2(f, {
3282
3282
  type: "success",
3283
3283
  size: "m",
3284
3284
  isLoading: s.isLoading,
@@ -3300,7 +3300,7 @@ const { useI18nStore: As1, useI18n: vn } = WM("pga-i18n", "es", YM), UM = { clas
3300
3300
  const JM = /* @__PURE__ */ m3(QM, [["__scopeId", "data-v-10db9757"]]);
3301
3301
  const eH = {}, cH = { class: "no-data" };
3302
3302
  function aH(e, c) {
3303
- return S(), Y("div", cH, [
3303
+ return S(), E("div", cH, [
3304
3304
  o1(e.$slots, "default", {}, void 0, !0)
3305
3305
  ]);
3306
3306
  }
@@ -3316,14 +3316,14 @@ const tH = /* @__PURE__ */ m3(eH, [["render", aH], ["__scopeId", "data-v-033c108
3316
3316
  emits: ["update:itemSelectedId"],
3317
3317
  setup(e) {
3318
3318
  const c = J8(e, "itemSelectedId");
3319
- return (a, t) => (S(), Y("div", nH, [
3320
- a.label ? (S(), Y("span", {
3319
+ return (a, t) => (S(), E("div", nH, [
3320
+ a.label ? (S(), E("span", {
3321
3321
  key: 0,
3322
3322
  class: "selector-label",
3323
3323
  textContent: j1(a.label)
3324
3324
  }, null, 8, iH)) : G("", !0),
3325
3325
  p1("div", rH, [
3326
- (S(!0), Y(N1, null, W1(a.items, (n, i) => (S(), Y("div", {
3326
+ (S(!0), E(N1, null, W1(a.items, (n, i) => (S(), E("div", {
3327
3327
  class: S1(["selector--item", {
3328
3328
  "selector--item__first-item": i === 0,
3329
3329
  "selector--item__last-item": i + 1 === a.items.length,
@@ -3343,10 +3343,10 @@ const oH = /* @__PURE__ */ m3(lH, [["__scopeId", "data-v-b61e5a4d"]]), fH = /* @
3343
3343
  size: { default: "m" }
3344
3344
  },
3345
3345
  setup(e) {
3346
- return (c, a) => (S(), Y("div", {
3346
+ return (c, a) => (S(), E("div", {
3347
3347
  class: S1(["spinner", `spinner__${c.size}`])
3348
3348
  }, [
3349
- (S(), Y(N1, null, W1(4, (t) => p1("div", {
3349
+ (S(), E(N1, null, W1(4, (t) => p1("div", {
3350
3350
  key: t,
3351
3351
  class: S1(["spinner--side", `spinner--side__${c.size}`])
3352
3352
  }, null, 2)), 64))
@@ -3937,7 +3937,7 @@ const v0 = (e) => typeof e < "u", V4 = (e) => typeof e == "function", na = (e, c
3937
3937
  function IH(e) {
3938
3938
  return e.type === "mouseup" || e.type === "click" || e.type === "contextmenu";
3939
3939
  }
3940
- const b2 = Math.PI, y3 = 2 * b2, O8 = Number.POSITIVE_INFINITY, $H = b2 / 180, q2 = b2 / 2, x4 = b2 / 4, ia = b2 * 2 / 3, r4 = Math.log10, d4 = Math.sign;
3940
+ const L2 = Math.PI, y3 = 2 * L2, O8 = Number.POSITIVE_INFINITY, $H = L2 / 180, q2 = L2 / 2, x4 = L2 / 4, ia = L2 * 2 / 3, r4 = Math.log10, d4 = Math.sign;
3941
3941
  function C8(e, c, a) {
3942
3942
  return Math.abs(e - c) < a;
3943
3943
  }
@@ -3967,10 +3967,10 @@ function gn(e, c, a) {
3967
3967
  i = e[t][a], isNaN(i) || (c.min = Math.min(c.min, i), c.max = Math.max(c.max, i));
3968
3968
  }
3969
3969
  function s4(e) {
3970
- return e * (b2 / 180);
3970
+ return e * (L2 / 180);
3971
3971
  }
3972
3972
  function k9(e) {
3973
- return e * (180 / b2);
3973
+ return e * (180 / L2);
3974
3974
  }
3975
3975
  function sa(e) {
3976
3976
  if (!C2(e))
@@ -3983,7 +3983,7 @@ function sa(e) {
3983
3983
  function qH(e, c) {
3984
3984
  const a = c.x - e.x, t = c.y - e.y, n = Math.sqrt(a * a + t * t);
3985
3985
  let i = Math.atan2(t, a);
3986
- return i < -0.5 * b2 && (i += y3), {
3986
+ return i < -0.5 * L2 && (i += y3), {
3987
3987
  angle: i,
3988
3988
  distance: n
3989
3989
  };
@@ -4111,7 +4111,7 @@ const yn = (e) => e === "start" ? "left" : e === "end" ? "right" : "center", J6
4111
4111
  easeInOutQuint: (e) => (e /= 0.5) < 1 ? 0.5 * e * e * e * e * e : 0.5 * ((e -= 2) * e * e * e * e + 2),
4112
4112
  easeInSine: (e) => -Math.cos(e * q2) + 1,
4113
4113
  easeOutSine: (e) => Math.sin(e * q2),
4114
- easeInOutSine: (e) => -0.5 * (Math.cos(b2 * e) - 1),
4114
+ easeInOutSine: (e) => -0.5 * (Math.cos(L2 * e) - 1),
4115
4115
  easeInExpo: (e) => e === 0 ? 0 : Math.pow(2, 10 * (e - 1)),
4116
4116
  easeOutExpo: (e) => e === 1 ? 1 : -Math.pow(2, -10 * e) + 1,
4117
4117
  easeInOutExpo: (e) => n8(e) ? e : e < 0.5 ? 0.5 * Math.pow(2, 10 * (e * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (e * 2 - 1)) + 2),
@@ -4490,7 +4490,7 @@ function lg(e, c, a, t, n) {
4490
4490
  f = n ? n / 2 : d, e.moveTo(a + Math.sin(z) * f, t - Math.cos(z) * d), z += ia, e.lineTo(a + Math.sin(z) * f, t - Math.cos(z) * d), z += ia, e.lineTo(a + Math.sin(z) * f, t - Math.cos(z) * d), e.closePath();
4491
4491
  break;
4492
4492
  case "rectRounded":
4493
- o = d * 0.516, l = d - o, r = Math.cos(z + x4) * l, u = Math.cos(z + x4) * (n ? n / 2 - o : l), s = Math.sin(z + x4) * l, h = Math.sin(z + x4) * (n ? n / 2 - o : l), e.arc(a - u, t - s, o, z - b2, z - q2), e.arc(a + h, t - r, o, z - q2, z), e.arc(a + u, t + s, o, z, z + q2), e.arc(a - h, t + r, o, z + q2, z + b2), e.closePath();
4493
+ o = d * 0.516, l = d - o, r = Math.cos(z + x4) * l, u = Math.cos(z + x4) * (n ? n / 2 - o : l), s = Math.sin(z + x4) * l, h = Math.sin(z + x4) * (n ? n / 2 - o : l), e.arc(a - u, t - s, o, z - L2, z - q2), e.arc(a + h, t - r, o, z - q2, z), e.arc(a + u, t + s, o, z, z + q2), e.arc(a - h, t + r, o, z + q2, z + L2), e.closePath();
4494
4494
  break;
4495
4495
  case "rect":
4496
4496
  if (!v) {
@@ -4555,7 +4555,7 @@ function p0(e, c, a, t, n, i = {}) {
4555
4555
  }
4556
4556
  function I8(e, c) {
4557
4557
  const { x: a, y: t, w: n, h: i, radius: r } = c;
4558
- e.arc(a + r.topLeft, t + r.topLeft, r.topLeft, 1.5 * b2, b2, !0), e.lineTo(a, t + i - r.bottomLeft), e.arc(a + r.bottomLeft, t + i - r.bottomLeft, r.bottomLeft, b2, q2, !0), e.lineTo(a + n - r.bottomRight, t + i), e.arc(a + n - r.bottomRight, t + i - r.bottomRight, r.bottomRight, q2, 0, !0), e.lineTo(a + n, t + r.topRight), e.arc(a + n - r.topRight, t + r.topRight, r.topRight, 0, -q2, !0), e.lineTo(a + r.topLeft, t);
4558
+ e.arc(a + r.topLeft, t + r.topLeft, r.topLeft, 1.5 * L2, L2, !0), e.lineTo(a, t + i - r.bottomLeft), e.arc(a + r.bottomLeft, t + i - r.bottomLeft, r.bottomLeft, L2, q2, !0), e.lineTo(a + n - r.bottomRight, t + i), e.arc(a + n - r.bottomRight, t + i - r.bottomRight, r.bottomRight, q2, 0, !0), e.lineTo(a + n, t + r.topRight), e.arc(a + n - r.topRight, t + r.topRight, r.topRight, 0, -q2, !0), e.lineTo(a + r.topLeft, t);
4559
4559
  }
4560
4560
  const hg = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/, mg = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;
4561
4561
  function dg(e, c) {
@@ -7160,11 +7160,11 @@ class Z4 extends U4 {
7160
7160
  const a = this.axis, t = this.chart, n = this.options, { grid: i, position: r, border: s } = n, l = i.offset, o = this.isHorizontal(), u = this.ticks.length + (l ? 1 : 0), h = O6(i), m = [], v = s.setContext(this.getContext()), d = v.display ? v.width : 0, z = d / 2, H = function(y) {
7161
7161
  return w4(t, y, d);
7162
7162
  };
7163
- let M, C, b, k, R, x, F, N, q, r1, T, E;
7163
+ let M, C, b, k, R, x, F, N, q, r1, T, Y;
7164
7164
  if (r === "top")
7165
- M = H(this.bottom), x = this.bottom - h, N = M - z, r1 = H(c.top) + z, E = c.bottom;
7165
+ M = H(this.bottom), x = this.bottom - h, N = M - z, r1 = H(c.top) + z, Y = c.bottom;
7166
7166
  else if (r === "bottom")
7167
- M = H(this.top), r1 = c.top, E = H(c.bottom) - z, x = M + z, N = this.top + h;
7167
+ M = H(this.top), r1 = c.top, Y = H(c.bottom) - z, x = M + z, N = this.top + h;
7168
7168
  else if (r === "left")
7169
7169
  M = H(this.right), R = this.right - h, F = M - z, q = H(c.left) + z, T = c.right;
7170
7170
  else if (r === "right")
@@ -7176,7 +7176,7 @@ class Z4 extends U4 {
7176
7176
  const y = Object.keys(r)[0], _ = r[y];
7177
7177
  M = H(this.chart.scales[y].getPixelForValue(_));
7178
7178
  }
7179
- r1 = c.top, E = c.bottom, x = M + z, N = x + h;
7179
+ r1 = c.top, Y = c.bottom, x = M + z, N = x + h;
7180
7180
  } else if (a === "y") {
7181
7181
  if (r === "center")
7182
7182
  M = H((c.left + c.right) / 2);
@@ -7189,7 +7189,7 @@ class Z4 extends U4 {
7189
7189
  const n1 = t2(n.ticks.maxTicksLimit, u), g = Math.max(1, Math.ceil(u / n1));
7190
7190
  for (C = 0; C < u; C += g) {
7191
7191
  const y = this.getContext(C), _ = i.setContext(y), X = s.setContext(y), s1 = _.lineWidth, v1 = _.color, B = X.dash || [], I = X.dashOffset, p = _.tickWidth, O = _.tickColor, i1 = _.tickBorderDash || [], e1 = _.tickBorderDashOffset;
7192
- b = $V(this, C, l), b !== void 0 && (k = w4(t, b, s1), o ? R = F = q = T = k : x = N = r1 = E = k, m.push({
7192
+ b = $V(this, C, l), b !== void 0 && (k = w4(t, b, s1), o ? R = F = q = T = k : x = N = r1 = Y = k, m.push({
7193
7193
  tx1: R,
7194
7194
  ty1: x,
7195
7195
  tx2: F,
@@ -7197,7 +7197,7 @@ class Z4 extends U4 {
7197
7197
  x1: q,
7198
7198
  y1: r1,
7199
7199
  x2: T,
7200
- y2: E,
7200
+ y2: Y,
7201
7201
  width: s1,
7202
7202
  color: v1,
7203
7203
  borderDash: B,
@@ -7212,7 +7212,7 @@ class Z4 extends U4 {
7212
7212
  }
7213
7213
  _computeLabelItems(c) {
7214
7214
  const a = this.axis, t = this.options, { position: n, ticks: i } = t, r = this.isHorizontal(), s = this.ticks, { align: l, crossAlign: o, padding: f, mirror: u } = i, h = O6(t.grid), m = h + f, v = u ? -f : m, d = -s4(this.labelRotation), z = [];
7215
- let H, M, C, b, k, R, x, F, N, q, r1, T, E = "middle";
7215
+ let H, M, C, b, k, R, x, F, N, q, r1, T, Y = "middle";
7216
7216
  if (n === "top")
7217
7217
  R = this.bottom - v, x = this._getXAxisLabelAlignment();
7218
7218
  else if (n === "bottom")
@@ -7240,7 +7240,7 @@ class Z4 extends U4 {
7240
7240
  }
7241
7241
  x = this._getYAxisLabelAlignment(h).textAlign;
7242
7242
  }
7243
- a === "y" && (l === "start" ? E = "top" : l === "end" && (E = "bottom"));
7243
+ a === "y" && (l === "start" ? Y = "top" : l === "end" && (Y = "bottom"));
7244
7244
  const n1 = this._getLabelSizes();
7245
7245
  for (H = 0, M = s.length; H < M; ++H) {
7246
7246
  C = s[H], b = C.label;
@@ -7253,7 +7253,7 @@ class Z4 extends U4 {
7253
7253
  if (g.showLabelBackdrop) {
7254
7254
  const I = G2(g.backdropPadding), p = n1.heights[H], O = n1.widths[H];
7255
7255
  let i1 = T - I.top, e1 = 0 - I.left;
7256
- switch (E) {
7256
+ switch (Y) {
7257
7257
  case "middle":
7258
7258
  i1 -= p / 2;
7259
7259
  break;
@@ -7290,7 +7290,7 @@ class Z4 extends U4 {
7290
7290
  strokeColor: X,
7291
7291
  strokeWidth: s1,
7292
7292
  textAlign: v1,
7293
- textBaseline: E,
7293
+ textBaseline: Y,
7294
7294
  translation: [
7295
7295
  k,
7296
7296
  R
@@ -8613,7 +8613,7 @@ class Zn extends U4 {
8613
8613
  _drawArgs(c) {
8614
8614
  const { top: a, left: t, bottom: n, right: i, options: r } = this, s = r.align;
8615
8615
  let l = 0, o, f, u;
8616
- return this.isHorizontal() ? (f = J6(s, t, i), u = a + c, o = i - t) : (r.position === "left" ? (f = t + c, u = J6(s, n, a), l = b2 * -0.5) : (f = i - c, u = J6(s, a, n), l = b2 * 0.5), o = n - a), {
8616
+ return this.isHorizontal() ? (f = J6(s, t, i), u = a + c, o = i - t) : (r.position === "left" ? (f = t + c, u = J6(s, n, a), l = L2 * -0.5) : (f = i - c, u = J6(s, a, n), l = L2 * 0.5), o = n - a), {
8617
8617
  titleX: f,
8618
8618
  titleY: u,
8619
8619
  maxWidth: o,
@@ -9541,7 +9541,7 @@ function BC(e) {
9541
9541
  r: e.right - e._padding.right,
9542
9542
  t: e.top + e._padding.top,
9543
9543
  b: e.bottom - e._padding.bottom
9544
- }, a = Object.assign({}, c), t = [], n = [], i = e._pointLabels.length, r = e.options.pointLabels, s = r.centerPointLabels ? b2 / i : 0;
9544
+ }, a = Object.assign({}, c), t = [], n = [], i = e._pointLabels.length, r = e.options.pointLabels, s = r.centerPointLabels ? L2 / i : 0;
9545
9545
  for (let l = 0; l < i; l++) {
9546
9546
  const o = r.setContext(e.getPointLabelContext(l));
9547
9547
  n[l] = o.padding;
@@ -9591,7 +9591,7 @@ function EC(e, c) {
9591
9591
  function YC(e, c, a) {
9592
9592
  const t = [], n = e._pointLabels.length, i = e.options, { centerPointLabels: r, display: s } = i.pointLabels, l = {
9593
9593
  extra: X7(i) / 2,
9594
- additionalAngle: r ? b2 / n : 0
9594
+ additionalAngle: r ? L2 / n : 0
9595
9595
  };
9596
9596
  let o;
9597
9597
  for (let f = 0; f < n; f++) {
@@ -10256,7 +10256,7 @@ const rb = D1({
10256
10256
  }, l = (o) => {
10257
10257
  o.update(e.updateMode);
10258
10258
  };
10259
- return L2(r), y0(s), J2([
10259
+ return y2(r), y0(s), J2([
10260
10260
  () => e.options,
10261
10261
  () => e.data
10262
10262
  ], (o, f) => {
@@ -10333,11 +10333,13 @@ const lb = /* @__PURE__ */ sb("bar", b8), ob = /* @__PURE__ */ D1({
10333
10333
  }
10334
10334
  };
10335
10335
  });
10336
- return (t, n) => (S(), L1(L(lb), {
10337
- id: t.id,
10338
- options: a.value,
10339
- data: t.data
10340
- }, null, 8, ["id", "options", "data"]));
10336
+ return (t, n) => (S(), E("div", null, [
10337
+ b2(L(lb), {
10338
+ id: t.id,
10339
+ options: a.value,
10340
+ data: t.data
10341
+ }, null, 8, ["id", "options", "data"])
10342
+ ]));
10341
10343
  }
10342
10344
  }), fb = ["textContent"], ub = /* @__PURE__ */ D1({
10343
10345
  __name: "PgaDisplayText",
@@ -10346,7 +10348,7 @@ const lb = /* @__PURE__ */ sb("bar", b8), ob = /* @__PURE__ */ D1({
10346
10348
  },
10347
10349
  setup(e) {
10348
10350
  const c = e, a = W(() => typeof c.text == "string" ? c.text : c.text());
10349
- return (t, n) => (S(), Y("span", {
10351
+ return (t, n) => (S(), E("span", {
10350
10352
  textContent: j1(a.value)
10351
10353
  }, null, 8, fb));
10352
10354
  }
@@ -13192,7 +13194,7 @@ function J7(e, c, a, t) {
13192
13194
  const { incompatibleTokens: q } = N;
13193
13195
  if (Array.isArray(q)) {
13194
13196
  const T = u.find(
13195
- (E) => q.includes(E.token) || E.token === F
13197
+ (Y) => q.includes(Y.token) || Y.token === F
13196
13198
  );
13197
13199
  if (T)
13198
13200
  throw new RangeError(
@@ -13299,7 +13301,7 @@ function Vi(e, c) {
13299
13301
  return O9(e, -c);
13300
13302
  }
13301
13303
  function w6() {
13302
- return S(), Y(
13304
+ return S(), E(
13303
13305
  "svg",
13304
13306
  {
13305
13307
  xmlns: "http://www.w3.org/2000/svg",
@@ -13328,7 +13330,7 @@ w6.compatConfig = {
13328
13330
  MODE: 3
13329
13331
  };
13330
13332
  function Ci() {
13331
- return S(), Y(
13333
+ return S(), E(
13332
13334
  "svg",
13333
13335
  {
13334
13336
  xmlns: "http://www.w3.org/2000/svg",
@@ -13351,7 +13353,7 @@ Ci.compatConfig = {
13351
13353
  MODE: 3
13352
13354
  };
13353
13355
  function q9() {
13354
- return S(), Y(
13356
+ return S(), E(
13355
13357
  "svg",
13356
13358
  {
13357
13359
  xmlns: "http://www.w3.org/2000/svg",
@@ -13371,7 +13373,7 @@ q9.compatConfig = {
13371
13373
  MODE: 3
13372
13374
  };
13373
13375
  function W9() {
13374
- return S(), Y(
13376
+ return S(), E(
13375
13377
  "svg",
13376
13378
  {
13377
13379
  xmlns: "http://www.w3.org/2000/svg",
@@ -13391,7 +13393,7 @@ W9.compatConfig = {
13391
13393
  MODE: 3
13392
13394
  };
13393
13395
  function U9() {
13394
- return S(), Y(
13396
+ return S(), E(
13395
13397
  "svg",
13396
13398
  {
13397
13399
  xmlns: "http://www.w3.org/2000/svg",
@@ -13414,7 +13416,7 @@ U9.compatConfig = {
13414
13416
  MODE: 3
13415
13417
  };
13416
13418
  function G9() {
13417
- return S(), Y(
13419
+ return S(), E(
13418
13420
  "svg",
13419
13421
  {
13420
13422
  xmlns: "http://www.w3.org/2000/svg",
@@ -13434,7 +13436,7 @@ G9.compatConfig = {
13434
13436
  MODE: 3
13435
13437
  };
13436
13438
  function j9() {
13437
- return S(), Y(
13439
+ return S(), E(
13438
13440
  "svg",
13439
13441
  {
13440
13442
  xmlns: "http://www.w3.org/2000/svg",
@@ -14062,8 +14064,8 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14062
14064
  v1(w[0]),
14063
14065
  w[1] ? v1(w[1]) : c6(i.value.partialRange)
14064
14066
  ];
14065
- }, q = () => t.value[1] ? N() : v1(H2(t.value[0])), r1 = () => (t.value || []).map((w) => v1(w)), T = (w = !1) => (w || F(), c.modelAuto ? q() : s.value.enabled ? r1() : Array.isArray(t.value) ? v8(() => N(), i.value.enabled) : v1(H2(t.value))), E = (w) => !w || Array.isArray(w) && !w.length ? null : c.timePicker ? C(H2(w)) : c.monthPicker ? b(H2(w)) : c.yearPicker ? H(H2(w)) : s.value.enabled ? k(H2(w)) : c.weekPicker ? R(H2(w)) : x(H2(w)), n1 = (w) => {
14066
- const u1 = E(w);
14067
+ }, q = () => t.value[1] ? N() : v1(H2(t.value[0])), r1 = () => (t.value || []).map((w) => v1(w)), T = (w = !1) => (w || F(), c.modelAuto ? q() : s.value.enabled ? r1() : Array.isArray(t.value) ? v8(() => N(), i.value.enabled) : v1(H2(t.value))), Y = (w) => !w || Array.isArray(w) && !w.length ? null : c.timePicker ? C(H2(w)) : c.monthPicker ? b(H2(w)) : c.yearPicker ? H(H2(w)) : s.value.enabled ? k(H2(w)) : c.weekPicker ? R(H2(w)) : x(H2(w)), n1 = (w) => {
14068
+ const u1 = Y(w);
14067
14069
  c9(H2(u1)) ? (t.value = H2(u1), X()) : (t.value = null, o.value = "");
14068
14070
  }, g = () => {
14069
14071
  const w = (u1) => x3(u1, n.value.format);
@@ -14298,7 +14300,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14298
14300
  defaultedMultiDates: f,
14299
14301
  getDefaultPattern: u
14300
14302
  } = i2(t), { isTimeValid: h, isMonthValid: m } = L4(t), { buildMatrix: v } = b4(), d = c1(null), z = c1(null), H = c1(!1), M = c1({}), C = c1(null), b = c1(null);
14301
- L2(() => {
14303
+ y2(() => {
14302
14304
  t.arrowNavigation && v([p2(d), p2(z)], "actionRow"), k(), window.addEventListener("resize", k);
14303
14305
  }), y0(() => {
14304
14306
  window.removeEventListener("resize", k);
@@ -14324,12 +14326,12 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14324
14326
  s.value.rangeSeparator,
14325
14327
  t.modelAuto,
14326
14328
  u()
14327
- ), r1 = W(() => !t.internalModelValue || !t.menuMount ? "" : typeof i.value == "string" ? Array.isArray(t.internalModelValue) ? t.internalModelValue.length === 2 && t.internalModelValue[1] ? N() : f.value.enabled ? t.internalModelValue.map((g) => `${q(g)}`) : t.modelAuto ? `${q(t.internalModelValue[0])}` : `${q(t.internalModelValue[0])} -` : q(t.internalModelValue) : F()), T = () => f.value.enabled ? "; " : " - ", E = W(
14329
+ ), r1 = W(() => !t.internalModelValue || !t.menuMount ? "" : typeof i.value == "string" ? Array.isArray(t.internalModelValue) ? t.internalModelValue.length === 2 && t.internalModelValue[1] ? N() : f.value.enabled ? t.internalModelValue.map((g) => `${q(g)}`) : t.modelAuto ? `${q(t.internalModelValue[0])}` : `${q(t.internalModelValue[0])} -` : q(t.internalModelValue) : F()), T = () => f.value.enabled ? "; " : " - ", Y = W(
14328
14330
  () => Array.isArray(r1.value) ? r1.value.join(T()) : r1.value
14329
14331
  ), n1 = () => {
14330
14332
  h.value(t.internalModelValue) && m.value(t.internalModelValue) && R.value ? a("select-date") : a("invalid-select");
14331
14333
  };
14332
- return (g, y) => (S(), Y("div", {
14334
+ return (g, y) => (S(), E("div", {
14333
14335
  ref_key: "actionRowRef",
14334
14336
  ref: b,
14335
14337
  class: "dp__action_row"
@@ -14339,19 +14341,19 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14339
14341
  disabled: x.value,
14340
14342
  selectDate: () => g.$emit("select-date"),
14341
14343
  closePicker: () => g.$emit("close-picker")
14342
- }))) : (S(), Y(N1, { key: 1 }, [
14343
- L(n).showPreview ? (S(), Y("div", {
14344
+ }))) : (S(), E(N1, { key: 1 }, [
14345
+ L(n).showPreview ? (S(), E("div", {
14344
14346
  key: 0,
14345
14347
  class: "dp__selection_preview",
14346
- title: E.value,
14348
+ title: Y.value,
14347
14349
  style: B2(M.value)
14348
14350
  }, [
14349
14351
  g.$slots["action-preview"] && H.value ? o1(g.$slots, "action-preview", {
14350
14352
  key: 0,
14351
14353
  value: g.internalModelValue
14352
14354
  }) : G("", !0),
14353
- !g.$slots["action-preview"] && H.value ? (S(), Y(N1, { key: 1 }, [
14354
- q3(j1(E.value), 1)
14355
+ !g.$slots["action-preview"] && H.value ? (S(), E(N1, { key: 1 }, [
14356
+ q3(j1(Y.value), 1)
14355
14357
  ], 64)) : G("", !0)
14356
14358
  ], 12, ex)) : G("", !0),
14357
14359
  p1("div", {
@@ -14364,8 +14366,8 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14364
14366
  key: 0,
14365
14367
  value: g.internalModelValue
14366
14368
  }) : G("", !0),
14367
- g.$slots["action-buttons"] ? G("", !0) : (S(), Y(N1, { key: 1 }, [
14368
- !L(l).enabled && L(n).showCancel ? (S(), Y("button", {
14369
+ g.$slots["action-buttons"] ? G("", !0) : (S(), E(N1, { key: 1 }, [
14370
+ !L(l).enabled && L(n).showCancel ? (S(), E("button", {
14369
14371
  key: 0,
14370
14372
  ref_key: "cancelButtonRef",
14371
14373
  ref: d,
@@ -14374,14 +14376,14 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14374
14376
  onClick: y[0] || (y[0] = (_) => g.$emit("close-picker")),
14375
14377
  onKeydown: y[1] || (y[1] = (_) => L($2)(_, () => g.$emit("close-picker")))
14376
14378
  }, j1(g.cancelText), 545)) : G("", !0),
14377
- L(n).showNow ? (S(), Y("button", {
14379
+ L(n).showNow ? (S(), E("button", {
14378
14380
  key: 1,
14379
14381
  type: "button",
14380
14382
  class: "dp__action_button dp__action_cancel",
14381
14383
  onClick: y[2] || (y[2] = (_) => g.$emit("select-now")),
14382
14384
  onKeydown: y[3] || (y[3] = (_) => L($2)(_, () => g.$emit("select-now")))
14383
14385
  }, j1(g.nowButtonLabel), 33)) : G("", !0),
14384
- L(n).showSelect ? (S(), Y("button", {
14386
+ L(n).showSelect ? (S(), E("button", {
14385
14387
  key: 2,
14386
14388
  ref_key: "selectButtonRef",
14387
14389
  ref: z,
@@ -14424,7 +14426,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14424
14426
  ), { hideNavigationButtons: u } = m5(), h = c1(!1), m = c1(null), v = c1(null), d = c1([]), z = c1(), H = c1(null), M = c1(0), C = c1(null);
14425
14427
  Mp(() => {
14426
14428
  m.value = null;
14427
- }), L2(() => {
14429
+ }), y2(() => {
14428
14430
  U2().then(() => r1()), s.noOverlayFocus || k(), b(!0);
14429
14431
  }), y0(() => b(!1));
14430
14432
  const b = (I) => {
@@ -14472,10 +14474,10 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14472
14474
  });
14473
14475
  }, T = (I) => {
14474
14476
  I.disabled || r("selected", I.value);
14475
- }, E = () => {
14477
+ }, Y = () => {
14476
14478
  r("toggle"), r("reset-flow");
14477
14479
  }, n1 = () => {
14478
- s.escClose && E();
14480
+ s.escClose && Y();
14479
14481
  }, g = (I, p, O, i1) => {
14480
14482
  I && ((p.active || p.value === s.focusValue) && (m.value = I), s.arrowNavigation && (Array.isArray(d.value[O]) ? d.value[O][i1] = I : d.value[O] = [I], y()));
14481
14483
  }, y = () => {
@@ -14487,7 +14489,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14487
14489
  }, X = (I) => {
14488
14490
  z.value = I, r("hover-value", I);
14489
14491
  }, s1 = () => {
14490
- if (E(), !s.isLast) {
14492
+ if (Y(), !s.isLast) {
14491
14493
  const I = wy(s.menuWrapRef ?? null, "action-row");
14492
14494
  if (I) {
14493
14495
  const p = yi(I);
@@ -14511,13 +14513,13 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14511
14513
  }
14512
14514
  }, B = (I) => {
14513
14515
  if (I.key === a2.enter)
14514
- return E();
14516
+ return Y();
14515
14517
  if (I.key === a2.tab)
14516
14518
  return s1();
14517
14519
  };
14518
14520
  return c({ focusGrid: k }), (I, p) => {
14519
14521
  var O;
14520
- return S(), Y("div", {
14522
+ return S(), E("div", {
14521
14523
  ref_key: "gridWrapRef",
14522
14524
  ref: v,
14523
14525
  class: S1(R.value),
@@ -14538,12 +14540,12 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14538
14540
  p1("div", tx, [
14539
14541
  o1(I.$slots, "header")
14540
14542
  ]),
14541
- I.$slots.overlay ? o1(I.$slots, "overlay", { key: 0 }) : (S(!0), Y(N1, { key: 1 }, W1(I.items, (i1, e1) => (S(), Y("div", {
14543
+ I.$slots.overlay ? o1(I.$slots, "overlay", { key: 0 }) : (S(!0), E(N1, { key: 1 }, W1(I.items, (i1, e1) => (S(), E("div", {
14542
14544
  key: e1,
14543
14545
  class: S1(["dp__overlay_row", { dp__flex_row: I.items.length >= 3 }]),
14544
14546
  role: "row"
14545
14547
  }, [
14546
- (S(!0), Y(N1, null, W1(i1, (w, u1) => (S(), Y("div", {
14548
+ (S(!0), E(N1, null, W1(i1, (w, u1) => (S(), E("div", {
14547
14549
  key: w.value,
14548
14550
  ref_for: !0,
14549
14551
  ref: (Z) => g(Z, w, e1, u1),
@@ -14564,14 +14566,14 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14564
14566
  key: 0,
14565
14567
  item: w
14566
14568
  }) : G("", !0),
14567
- I.$slots.item ? G("", !0) : (S(), Y(N1, { key: 1 }, [
14569
+ I.$slots.item ? G("", !0) : (S(), E(N1, { key: 1 }, [
14568
14570
  q3(j1(w.text), 1)
14569
14571
  ], 64))
14570
14572
  ], 2)
14571
14573
  ], 42, nx))), 128))
14572
14574
  ], 2))), 128))
14573
14575
  ], 6),
14574
- I.$slots["button-icon"] ? j6((S(), Y("button", {
14576
+ I.$slots["button-icon"] ? j6((S(), E("button", {
14575
14577
  key: 0,
14576
14578
  ref_key: "toggleButton",
14577
14579
  ref: H,
@@ -14579,7 +14581,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14579
14581
  "aria-label": (O = L(l)) == null ? void 0 : O.toggleOverlay,
14580
14582
  class: S1(N.value),
14581
14583
  tabindex: "0",
14582
- onClick: E,
14584
+ onClick: Y,
14583
14585
  onKeydown: B
14584
14586
  }, [
14585
14587
  o1(I.$slots, "button-icon")
@@ -14602,7 +14604,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14602
14604
  ), t = W(() => ({
14603
14605
  dp__instance_calendar: c.multiCalendars > 0
14604
14606
  }));
14605
- return (n, i) => (S(), Y("div", {
14607
+ return (n, i) => (S(), E("div", {
14606
14608
  class: S1({
14607
14609
  dp__menu_inner: !n.stretch,
14608
14610
  "dp--menu--inner-stretched": n.stretch,
@@ -14610,7 +14612,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14610
14612
  "dp--flex-display-collapsed": n.collapse
14611
14613
  })
14612
14614
  }, [
14613
- (S(!0), Y(N1, null, W1(a.value, (r, s) => (S(), Y("div", {
14615
+ (S(!0), E(N1, null, W1(a.value, (r, s) => (S(), E("div", {
14614
14616
  key: r,
14615
14617
  class: S1(t.value)
14616
14618
  }, [
@@ -14633,7 +14635,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14633
14635
  emits: ["activate", "set-ref"],
14634
14636
  setup(e, { emit: c }) {
14635
14637
  const a = c, t = c1(null);
14636
- return L2(() => a("set-ref", t)), (n, i) => (S(), Y("button", {
14638
+ return y2(() => a("set-ref", t)), (n, i) => (S(), E("button", {
14637
14639
  ref_key: "elRef",
14638
14640
  ref: t,
14639
14641
  type: "button",
@@ -14672,7 +14674,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14672
14674
  };
14673
14675
  return (d, z) => {
14674
14676
  var H, M, C;
14675
- return S(), Y("div", sx, [
14677
+ return S(), E("div", sx, [
14676
14678
  L(i)(L(s), e.instance) ? (S(), L1(n0, {
14677
14679
  key: 0,
14678
14680
  ref: "mpPrevIconRef",
@@ -14699,7 +14701,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14699
14701
  key: 0,
14700
14702
  year: e.year
14701
14703
  }) : G("", !0),
14702
- d.$slots.year ? G("", !0) : (S(), Y(N1, { key: 1 }, [
14704
+ d.$slots.year ? G("", !0) : (S(), E(N1, { key: 1 }, [
14703
14705
  q3(j1(e.year), 1)
14704
14706
  ], 64))
14705
14707
  ], 40, lx),
@@ -14716,7 +14718,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14716
14718
  ]),
14717
14719
  _: 3
14718
14720
  }, 8, ["aria-label", "disabled"])) : G("", !0),
14719
- y2(y6, {
14721
+ b2(y6, {
14720
14722
  name: L(u)(e.showYearPicker),
14721
14723
  css: L(f)
14722
14724
  }, {
@@ -14825,19 +14827,19 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14825
14827
  n.value[0] = { month: _1(N), year: x1(N) };
14826
14828
  }
14827
14829
  };
14828
- L2(() => {
14830
+ y2(() => {
14829
14831
  C(), e.value.count && d();
14830
14832
  });
14831
14833
  const b = (N, q) => {
14832
14834
  n.value[q].year = N, f("update-month-year", { instance: q, year: N, month: n.value[q].month }), e.value.count && !e.value.solo && z(q);
14833
14835
  }, k = W(() => (N) => b6(u.value, (q) => {
14834
14836
  var r1;
14835
- const T = l.value(N) === q.value, E = g0(
14837
+ const T = l.value(N) === q.value, Y = g0(
14836
14838
  q.value,
14837
14839
  L6(t.value.minDate),
14838
14840
  L6(t.value.maxDate)
14839
14841
  ) || ((r1 = s.value.years) == null ? void 0 : r1.includes(l.value(N))), n1 = J9(a.value, q.value);
14840
- return { active: T, disabled: E, highlighted: n1 };
14842
+ return { active: T, disabled: Y, highlighted: n1 };
14841
14843
  })), R = (N, q) => {
14842
14844
  b(N, q), F(q);
14843
14845
  }, x = (N, q = !1) => {
@@ -14890,13 +14892,13 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14890
14892
  props: e,
14891
14893
  emit: c
14892
14894
  });
14893
- L2(() => {
14895
+ y2(() => {
14894
14896
  e.startDate && (h.value && e.focusStartDate || !h.value) && C(x1(K(e.startDate)), 0);
14895
14897
  });
14896
14898
  const q = (p) => p ? { month: _1(p), year: x1(p) } : { month: null, year: null }, r1 = () => h.value ? Array.isArray(h.value) ? h.value.map((p) => q(p)) : q(h.value) : q(), T = (p, O) => {
14897
14899
  const i1 = d.value[p], e1 = r1();
14898
14900
  return Array.isArray(e1) ? e1.some((w) => w.year === (i1 == null ? void 0 : i1.year) && w.month === O) : (i1 == null ? void 0 : i1.year) === e1.year && O === e1.month;
14899
- }, E = (p, O, i1) => {
14901
+ }, Y = (p, O, i1) => {
14900
14902
  var e1, w;
14901
14903
  const u1 = r1();
14902
14904
  return Array.isArray(u1) ? m.value(O) === ((e1 = u1[i1]) == null ? void 0 : e1.year) && p === ((w = u1[i1]) == null ? void 0 : w.month) : !1;
@@ -14904,7 +14906,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14904
14906
  if (r.value.enabled) {
14905
14907
  const i1 = r1();
14906
14908
  if (Array.isArray(h.value) && Array.isArray(i1)) {
14907
- const e1 = E(p, O, 0) || E(p, O, 1), w = B3(i3(K()), p, m.value(O));
14909
+ const e1 = Y(p, O, 0) || Y(p, O, 1), w = B3(i3(K()), p, m.value(O));
14908
14910
  return o5(h.value, H.value, w) && !e1;
14909
14911
  }
14910
14912
  return !1;
@@ -14990,7 +14992,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
14990
14992
  ],
14991
14993
  setup(e, { expose: c, emit: a }) {
14992
14994
  const t = a, n = G4(), i = W2(n, "yearMode"), r = e;
14993
- L2(() => {
14995
+ y2(() => {
14994
14996
  r.shadow || t("mount", null);
14995
14997
  });
14996
14998
  const {
@@ -15050,7 +15052,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15050
15052
  onHoverValue: (q) => L(z)(q, N)
15051
15053
  }, k2({
15052
15054
  header: k1(() => [
15053
- y2(Fi, g2(x.$props, {
15055
+ b2(Fi, g2(x.$props, {
15054
15056
  items: L(l)(N),
15055
15057
  instance: N,
15056
15058
  "show-year-picker": L(m)[N],
@@ -15087,7 +15089,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15087
15089
  }
15088
15090
  }), ux = (e, c) => {
15089
15091
  const { modelValue: a } = D0(e, c), t = c1(null), { defaultedHighlight: n, defaultedMultiDates: i, defaultedFilters: r, defaultedRange: s, propDates: l } = i2(e), o = c1();
15090
- L2(() => {
15092
+ y2(() => {
15091
15093
  e.startDate && (a.value && e.focusStartDate || !a.value) && (o.value = x1(K(e.startDate)));
15092
15094
  });
15093
15095
  const f = (v) => Array.isArray(a.value) ? a.value.some((d) => x1(d) === v) : a.value ? x1(a.value) === v : !1, u = (v) => s.value.enabled && Array.isArray(a.value) ? o5(a.value, t.value, m(v)) : !1, h = W(() => b6(X9(e.yearRange, e.locale, e.reverseYears), (v) => {
@@ -15135,7 +15137,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15135
15137
  return c({ getSidebarProps: () => ({
15136
15138
  modelValue: r,
15137
15139
  selectYear: l
15138
- }) }), (u, h) => (S(), Y("div", null, [
15140
+ }) }), (u, h) => (S(), E("div", null, [
15139
15141
  u.$slots["top-extra"] ? o1(u.$slots, "top-extra", {
15140
15142
  key: 0,
15141
15143
  value: u.internalModelValue
@@ -15205,7 +15207,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15205
15207
  minutes: !1,
15206
15208
  seconds: !1
15207
15209
  }), d = c1("AM"), z = c1(null), H = c1([]), M = c1();
15208
- L2(() => {
15210
+ y2(() => {
15209
15211
  t("mounted");
15210
15212
  });
15211
15213
  const C = (V) => G1(/* @__PURE__ */ new Date(), {
@@ -15231,14 +15233,14 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15231
15233
  dp__time_col_sec: n.enableSeconds && n.is24,
15232
15234
  dp__time_col_sec_with_button: n.enableSeconds && !n.is24
15233
15235
  })
15234
- ), E = W(() => {
15236
+ ), Y = W(() => {
15235
15237
  const V = [{ type: "hours" }];
15236
15238
  return n.enableMinutes && V.push({ type: "", separator: !0 }, {
15237
15239
  type: "minutes"
15238
15240
  }), n.enableSeconds && V.push({ type: "", separator: !0 }, {
15239
15241
  type: "seconds"
15240
15242
  }), V;
15241
- }), n1 = W(() => E.value.filter((V) => !V.separator)), g = W(() => (V) => {
15243
+ }), n1 = W(() => Y.value.filter((V) => !V.separator)), g = W(() => (V) => {
15242
15244
  if (V === "hours") {
15243
15245
  const U = w(+n.hours);
15244
15246
  return { text: U < 10 ? `0${U}` : `${U}`, value: U };
@@ -15292,16 +15294,16 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15292
15294
  }, l1 = (V, U) => (p(V), t(`update:${V}`, U));
15293
15295
  return c({ openChildCmp: Z }), (V, U) => {
15294
15296
  var H1;
15295
- return V.disabled ? G("", !0) : (S(), Y("div", mx, [
15296
- (S(!0), Y(N1, null, W1(E.value, (D, y1) => {
15297
+ return V.disabled ? G("", !0) : (S(), E("div", mx, [
15298
+ (S(!0), E(N1, null, W1(Y.value, (D, y1) => {
15297
15299
  var P, Q, F1;
15298
- return S(), Y("div", {
15300
+ return S(), E("div", {
15299
15301
  key: y1,
15300
15302
  class: S1(T.value)
15301
15303
  }, [
15302
- D.separator ? (S(), Y(N1, { key: 0 }, [
15304
+ D.separator ? (S(), E(N1, { key: 0 }, [
15303
15305
  q3(" : ")
15304
- ], 64)) : (S(), Y(N1, { key: 1 }, [
15306
+ ], 64)) : (S(), E(N1, { key: 1 }, [
15305
15307
  p1("button", {
15306
15308
  ref_for: !0,
15307
15309
  ref: (C1) => b1(C1, y1, 0),
@@ -15321,10 +15323,10 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15321
15323
  onMousedown: (C1) => L(f).timeArrowHoldThreshold ? e1(D.type, !0) : void 0,
15322
15324
  onMouseup: i1
15323
15325
  }, [
15324
- n.timePickerInline ? (S(), Y(N1, { key: 1 }, [
15326
+ n.timePickerInline ? (S(), E(N1, { key: 1 }, [
15325
15327
  vx,
15326
15328
  px
15327
- ], 64)) : (S(), Y(N1, { key: 0 }, [
15329
+ ], 64)) : (S(), E(N1, { key: 0 }, [
15328
15330
  V.$slots["arrow-up"] ? o1(V.$slots, "arrow-up", { key: 0 }) : G("", !0),
15329
15331
  V.$slots["arrow-up"] ? G("", !0) : (S(), L1(L(G9), { key: 1 }))
15330
15332
  ], 64))
@@ -15352,7 +15354,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15352
15354
  text: g.value(D.type).text,
15353
15355
  value: g.value(D.type).value
15354
15356
  }) : G("", !0),
15355
- V.$slots[D.type] ? G("", !0) : (S(), Y(N1, { key: 1 }, [
15357
+ V.$slots[D.type] ? G("", !0) : (S(), E(N1, { key: 1 }, [
15356
15358
  q3(j1(g.value(D.type).text), 1)
15357
15359
  ], 64))
15358
15360
  ], 42, zx),
@@ -15375,10 +15377,10 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15375
15377
  onMousedown: (C1) => L(f).timeArrowHoldThreshold ? e1(D.type, !1) : void 0,
15376
15378
  onMouseup: i1
15377
15379
  }, [
15378
- n.timePickerInline ? (S(), Y(N1, { key: 1 }, [
15380
+ n.timePickerInline ? (S(), E(N1, { key: 1 }, [
15379
15381
  Hx,
15380
15382
  gx
15381
- ], 64)) : (S(), Y(N1, { key: 0 }, [
15383
+ ], 64)) : (S(), E(N1, { key: 0 }, [
15382
15384
  V.$slots["arrow-down"] ? o1(V.$slots, "arrow-down", { key: 0 }) : G("", !0),
15383
15385
  V.$slots["arrow-down"] ? G("", !0) : (S(), L1(L(j9), { key: 1 }))
15384
15386
  ], 64))
@@ -15386,13 +15388,13 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15386
15388
  ], 64))
15387
15389
  ], 2);
15388
15390
  }), 128)),
15389
- V.is24 ? G("", !0) : (S(), Y("div", Vx, [
15391
+ V.is24 ? G("", !0) : (S(), E("div", Vx, [
15390
15392
  V.$slots["am-pm-button"] ? o1(V.$slots, "am-pm-button", {
15391
15393
  key: 0,
15392
15394
  toggle: u1,
15393
15395
  value: d.value
15394
15396
  }) : G("", !0),
15395
- V.$slots["am-pm-button"] ? G("", !0) : (S(), Y("button", {
15397
+ V.$slots["am-pm-button"] ? G("", !0) : (S(), E("button", {
15396
15398
  key: 1,
15397
15399
  ref_key: "amPmButton",
15398
15400
  ref: z,
@@ -15405,7 +15407,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15405
15407
  onKeydown: U[0] || (U[0] = (D) => L($2)(D, () => u1(), !0))
15406
15408
  }, j1(d.value), 41, Cx))
15407
15409
  ])),
15408
- (S(!0), Y(N1, null, W1(n1.value, (D, y1) => (S(), L1(y6, {
15410
+ (S(!0), E(N1, null, W1(n1.value, (D, y1) => (S(), L1(y6, {
15409
15411
  key: y1,
15410
15412
  name: L(h)(v[D.type]),
15411
15413
  css: L(m)
@@ -15485,7 +15487,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15485
15487
  ],
15486
15488
  setup(e, { expose: c, emit: a }) {
15487
15489
  const t = a, n = e, { buildMatrix: i, setTimePicker: r } = b4(), s = G4(), { defaultedTransitions: l, defaultedAriaLabels: o, defaultedTextInput: f, defaultedConfig: u, defaultedRange: h } = i2(n), { transitionName: m, showTransition: v } = P0(l), { hideNavigationButtons: d } = m5(), z = c1(null), H = c1(null), M = c1([]), C = c1(null);
15488
- L2(() => {
15490
+ y2(() => {
15489
15491
  t("mount"), !n.timePicker && n.arrowNavigation ? i([p2(z.value)], "time") : r(!0, n.timePicker);
15490
15492
  });
15491
15493
  const b = W(() => h.value.enabled && n.modelAuto ? Li(n.internalModelValue) : !0), k = c1(!1), R = (_) => ({
@@ -15510,7 +15512,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15510
15512
  dp__button_bottom: n.autoApply && !u.value.keepActionRow
15511
15513
  })), q = W2(s, "timePicker"), r1 = (_, X, s1) => h.value.enabled ? X === 0 ? [_, x.value[1][s1]] : [x.value[0][s1], _] : _, T = (_) => {
15512
15514
  t("update:hours", _);
15513
- }, E = (_) => {
15515
+ }, Y = (_) => {
15514
15516
  t("update:minutes", _);
15515
15517
  }, n1 = (_) => {
15516
15518
  t("update:seconds", _);
@@ -15524,8 +15526,8 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15524
15526
  };
15525
15527
  return c({ toggleTimePicker: F }), (_, X) => {
15526
15528
  var s1;
15527
- return S(), Y("div", Lx, [
15528
- !_.timePicker && !_.timePickerInline ? j6((S(), Y("button", {
15529
+ return S(), E("div", Lx, [
15530
+ !_.timePicker && !_.timePickerInline ? j6((S(), E("button", {
15529
15531
  key: 0,
15530
15532
  ref_key: "openTimePickerBtn",
15531
15533
  ref: z,
@@ -15542,14 +15544,14 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15542
15544
  ], 42, yx)), [
15543
15545
  [H8, !L(d)(_.hideNavigation, "time")]
15544
15546
  ]) : G("", !0),
15545
- y2(y6, {
15547
+ b2(y6, {
15546
15548
  name: L(m)(k.value),
15547
15549
  css: L(v) && !_.timePickerInline
15548
15550
  }, {
15549
15551
  default: k1(() => {
15550
15552
  var v1;
15551
15553
  return [
15552
- k.value || _.timePicker || _.timePickerInline ? (S(), Y("div", {
15554
+ k.value || _.timePicker || _.timePickerInline ? (S(), E("div", {
15553
15555
  key: 0,
15554
15556
  ref_key: "overlayRef",
15555
15557
  ref: C,
@@ -15573,14 +15575,14 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15573
15575
  minutes: e.minutes,
15574
15576
  seconds: e.seconds,
15575
15577
  setHours: T,
15576
- setMinutes: E,
15578
+ setMinutes: Y,
15577
15579
  setSeconds: n1
15578
15580
  }) : G("", !0),
15579
- _.$slots["time-picker-overlay"] ? G("", !0) : (S(), Y("div", {
15581
+ _.$slots["time-picker-overlay"] ? G("", !0) : (S(), E("div", {
15580
15582
  key: 1,
15581
15583
  class: S1(_.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
15582
15584
  }, [
15583
- (S(!0), Y(N1, null, W1(x.value, (B, I) => j6((S(), L1(bx, g2({
15585
+ (S(!0), E(N1, null, W1(x.value, (B, I) => j6((S(), L1(bx, g2({
15584
15586
  key: I,
15585
15587
  ref_for: !0
15586
15588
  }, {
@@ -15598,7 +15600,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15598
15600
  ref: M,
15599
15601
  "validate-time": (p, O) => e.validateTime(p, r1(O, I, p)),
15600
15602
  "onUpdate:hours": (p) => T(r1(p, I, "hours")),
15601
- "onUpdate:minutes": (p) => E(r1(p, I, "minutes")),
15603
+ "onUpdate:minutes": (p) => Y(r1(p, I, "minutes")),
15602
15604
  "onUpdate:seconds": (p) => n1(r1(p, I, "seconds")),
15603
15605
  onMounted: g,
15604
15606
  onOverlayClosed: y,
@@ -15615,7 +15617,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15615
15617
  [H8, I === 0 ? !0 : b.value]
15616
15618
  ])), 128))
15617
15619
  ], 2)),
15618
- !_.timePicker && !_.timePickerInline ? j6((S(), Y("button", {
15620
+ !_.timePicker && !_.timePickerInline ? j6((S(), E("button", {
15619
15621
  key: 2,
15620
15622
  ref_key: "closeTimePickerBtn",
15621
15623
  ref: H,
@@ -15736,7 +15738,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15736
15738
  [b.seconds, k.seconds]
15737
15739
  ) : H(b.hours, b.minutes, b.seconds);
15738
15740
  };
15739
- L2(() => {
15741
+ y2(() => {
15740
15742
  if (!e.shadow)
15741
15743
  return o(n.value), a.value ? M() : d();
15742
15744
  });
@@ -15771,7 +15773,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15771
15773
  ],
15772
15774
  setup(e, { expose: c, emit: a }) {
15773
15775
  const t = a, n = e, i = G4(), r = W2(i, "timePicker"), s = c1(null), { time: l, modelValue: o, disabledTimesConfig: f, updateTime: u, validateTime: h } = kx(n, t);
15774
- return L2(() => {
15776
+ return y2(() => {
15775
15777
  n.shadow || t("mount", null);
15776
15778
  }), c({ getSidebarProps: () => ({
15777
15779
  modelValue: o,
@@ -15785,7 +15787,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15785
15787
  stretch: ""
15786
15788
  }, {
15787
15789
  default: k1(() => [
15788
- y2(Ii, g2({
15790
+ b2(Ii, g2({
15789
15791
  ref_key: "tpRef",
15790
15792
  ref: s
15791
15793
  }, m.$props, {
@@ -15841,7 +15843,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15841
15843
  defaultedHighlight: f,
15842
15844
  propDates: u
15843
15845
  } = i2(n), { transitionName: h, showTransition: m } = P0(i), { buildMatrix: v } = b4(), { handleMonthYearChange: d, isDisabled: z, updateMonthYear: H } = Jy(n, t), { showLeftIcon: M, showRightIcon: C } = m5(), b = c1(!1), k = c1(!1), R = c1([null, null, null, null]);
15844
- L2(() => {
15846
+ y2(() => {
15845
15847
  t("mount");
15846
15848
  });
15847
15849
  const x = (B) => ({
@@ -15864,7 +15866,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15864
15866
  ki(n.year, u.value.maxDate)
15865
15867
  ) || l.value.months.includes(B.value), O = Pi(f.value, B.value, n.year);
15866
15868
  return { active: I, disabled: p, highlighted: O };
15867
- })), E = W(() => b6(n.years, (B) => {
15869
+ })), Y = W(() => b6(n.years, (B) => {
15868
15870
  const I = n.year === B.value, p = g0(
15869
15871
  B.value,
15870
15872
  L6(u.value.minDate),
@@ -15903,7 +15905,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15903
15905
  updateModelValue: (p) => N.value = p,
15904
15906
  text: xi(n.year, n.locale),
15905
15907
  showSelectionGrid: k.value,
15906
- items: E.value,
15908
+ items: Y.value,
15907
15909
  ariaLabel: (I = r.value) == null ? void 0 : I.openYearsOverlay
15908
15910
  }
15909
15911
  ];
@@ -15914,11 +15916,11 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15914
15916
  handleMonthYearChange: d
15915
15917
  }), (B, I) => {
15916
15918
  var p, O, i1;
15917
- return S(), Y("div", Nx, [
15918
- B.$slots["month-year"] ? (S(), Y("div", _x, [
15919
+ return S(), E("div", Nx, [
15920
+ B.$slots["month-year"] ? (S(), E("div", _x, [
15919
15921
  o1(B.$slots, "month-year", V2(I2({ month: e.month, year: e.year, months: e.months, years: e.years, updateMonthYear: L(H), handleMonthYearChange: L(d), instance: e.instance })))
15920
- ])) : (S(), Y(N1, { key: 1 }, [
15921
- B.$slots["top-extra"] ? (S(), Y("div", Ax, [
15922
+ ])) : (S(), E(N1, { key: 1 }, [
15923
+ B.$slots["top-extra"] ? (S(), E("div", Ax, [
15922
15924
  o1(B.$slots, "top-extra", { value: B.internalModelValue })
15923
15925
  ])) : G("", !0),
15924
15926
  p1("div", Px, [
@@ -15940,7 +15942,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15940
15942
  dp__year_disable_select: B.disableYearSelect
15941
15943
  }])
15942
15944
  }, [
15943
- (S(!0), Y(N1, null, W1(v1.value, (e1, w) => (S(), Y(N1, {
15945
+ (S(!0), E(N1, null, W1(v1.value, (e1, w) => (S(), E(N1, {
15944
15946
  key: e1.type
15945
15947
  }, [
15946
15948
  p1("button", {
@@ -15959,11 +15961,11 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
15959
15961
  text: e1.text,
15960
15962
  value: n[e1.type]
15961
15963
  }) : G("", !0),
15962
- B.$slots[e1.type] ? G("", !0) : (S(), Y(N1, { key: 1 }, [
15964
+ B.$slots[e1.type] ? G("", !0) : (S(), E(N1, { key: 1 }, [
15963
15965
  q3(j1(e1.text), 1)
15964
15966
  ], 64))
15965
15967
  ], 40, Dx),
15966
- y2(y6, {
15968
+ b2(y6, {
15967
15969
  name: L(h)(e1.showSelectionGrid),
15968
15970
  css: L(m)
15969
15971
  }, {
@@ -16100,7 +16102,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16100
16102
  left: "",
16101
16103
  transform: ""
16102
16104
  }), v = c1([]), d = c1(null), z = c1(!0), H = c1(""), M = c1({ startX: 0, endX: 0, startY: 0, endY: 0 }), C = c1([]), b = c1({ left: "50%" }), k = c1(!1), R = W(() => n.calendar ? n.calendar(n.mappedDates) : n.mappedDates), x = W(() => n.dayNames ? Array.isArray(n.dayNames) ? n.dayNames : n.dayNames(n.locale, +n.weekStart) : Vy(n.formatLocale, n.locale, +n.weekStart));
16103
- L2(() => {
16105
+ y2(() => {
16104
16106
  t("mount", { cmp: "calendar", refs: v }), s.value.noSwipe || d.value && (d.value.addEventListener("touchstart", X, { passive: !1 }), d.value.addEventListener("touchend", s1, { passive: !1 }), d.value.addEventListener("touchmove", v1, { passive: !1 })), n.monthChangeOnScroll && d.value && d.value.addEventListener("wheel", p, { passive: !1 });
16105
16107
  });
16106
16108
  const F = (Z) => Z ? n.vertical ? "vNext" : "next" : n.vertical ? "vPrevious" : "previous", N = (Z, b1) => {
@@ -16120,7 +16122,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16120
16122
  dp__marker_dot: b1.type === "dot",
16121
16123
  dp__marker_line: b1.type === "line"
16122
16124
  };
16123
- }), T = W(() => (Z) => A1(Z, h.value)), E = W(() => ({
16125
+ }), T = W(() => (Z) => A1(Z, h.value)), Y = W(() => ({
16124
16126
  dp__calendar: !0,
16125
16127
  dp__calendar_next: o.value.count > 0 && n.instance !== 0
16126
16128
  })), n1 = W(() => (Z) => n.hideOffsetDates ? Z.current : !0), g = async (Z, b1, l1) => {
@@ -16171,8 +16173,8 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16171
16173
  };
16172
16174
  return c({ triggerTransition: N }), (Z, b1) => {
16173
16175
  var l1;
16174
- return S(), Y("div", {
16175
- class: S1(E.value)
16176
+ return S(), E("div", {
16177
+ class: S1(Y.value)
16176
16178
  }, [
16177
16179
  p1("div", {
16178
16180
  ref_key: "calendarWrapRef",
@@ -16182,10 +16184,10 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16182
16184
  "aria-label": (l1 = L(l)) == null ? void 0 : l1.calendarWrap
16183
16185
  }, [
16184
16186
  p1("div", Ox, [
16185
- Z.weekNumbers ? (S(), Y("div", Rx, j1(Z.weekNumName), 1)) : G("", !0),
16186
- (S(!0), Y(N1, null, W1(x.value, (V, U) => {
16187
+ Z.weekNumbers ? (S(), E("div", Rx, j1(Z.weekNumName), 1)) : G("", !0),
16188
+ (S(!0), E(N1, null, W1(x.value, (V, U) => {
16187
16189
  var H1, D;
16188
- return S(), Y("div", {
16190
+ return S(), E("div", {
16189
16191
  key: U,
16190
16192
  class: "dp__calendar_header_item",
16191
16193
  role: "gridcell",
@@ -16197,38 +16199,38 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16197
16199
  day: V,
16198
16200
  index: U
16199
16201
  }) : G("", !0),
16200
- Z.$slots["calendar-header"] ? G("", !0) : (S(), Y(N1, { key: 1 }, [
16202
+ Z.$slots["calendar-header"] ? G("", !0) : (S(), E(N1, { key: 1 }, [
16201
16203
  q3(j1(V), 1)
16202
16204
  ], 64))
16203
16205
  ], 8, Bx);
16204
16206
  }), 128))
16205
16207
  ]),
16206
16208
  Ix,
16207
- y2(y6, {
16209
+ b2(y6, {
16208
16210
  name: H.value,
16209
16211
  css: !!Z.transitions
16210
16212
  }, {
16211
16213
  default: k1(() => {
16212
16214
  var V;
16213
16215
  return [
16214
- z.value ? (S(), Y("div", {
16216
+ z.value ? (S(), E("div", {
16215
16217
  key: 0,
16216
16218
  class: "dp__calendar",
16217
16219
  role: "rowgroup",
16218
16220
  "aria-label": ((V = L(l)) == null ? void 0 : V.calendarDays) || void 0,
16219
16221
  onMouseleave: b1[1] || (b1[1] = (U) => k.value = !1)
16220
16222
  }, [
16221
- (S(!0), Y(N1, null, W1(R.value, (U, H1) => (S(), Y("div", {
16223
+ (S(!0), E(N1, null, W1(R.value, (U, H1) => (S(), E("div", {
16222
16224
  key: H1,
16223
16225
  class: "dp__calendar_row",
16224
16226
  role: "row"
16225
16227
  }, [
16226
- Z.weekNumbers ? (S(), Y("div", Ex, [
16228
+ Z.weekNumbers ? (S(), E("div", Ex, [
16227
16229
  p1("div", Yx, j1(i1(U.days)), 1)
16228
16230
  ])) : G("", !0),
16229
- (S(!0), Y(N1, null, W1(U.days, (D, y1) => {
16231
+ (S(!0), E(N1, null, W1(U.days, (D, y1) => {
16230
16232
  var P, Q, F1;
16231
- return S(), Y("div", {
16233
+ return S(), E("div", {
16232
16234
  id: L(Di)(D.value),
16233
16235
  ref_for: !0,
16234
16236
  ref: (C1) => I(C1, H1, y1),
@@ -16255,22 +16257,22 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16255
16257
  day: +D.text,
16256
16258
  date: D.value
16257
16259
  }) : G("", !0),
16258
- Z.$slots.day ? G("", !0) : (S(), Y(N1, { key: 1 }, [
16260
+ Z.$slots.day ? G("", !0) : (S(), E(N1, { key: 1 }, [
16259
16261
  q3(j1(D.text), 1)
16260
16262
  ], 64)),
16261
- D.marker && n1.value(D) ? (S(), Y(N1, { key: 2 }, [
16263
+ D.marker && n1.value(D) ? (S(), E(N1, { key: 2 }, [
16262
16264
  Z.$slots.marker ? o1(Z.$slots, "marker", {
16263
16265
  key: 0,
16264
16266
  marker: D.marker,
16265
16267
  day: +D.text,
16266
16268
  date: D.value
16267
- }) : (S(), Y("div", {
16269
+ }) : (S(), E("div", {
16268
16270
  key: 1,
16269
16271
  class: S1(r1.value(D.marker)),
16270
16272
  style: B2(D.marker.color ? { backgroundColor: D.marker.color } : {})
16271
16273
  }, null, 6))
16272
16274
  ], 64)) : G("", !0),
16273
- T.value(D.value) ? (S(), Y("div", {
16275
+ T.value(D.value) ? (S(), E("div", {
16274
16276
  key: 3,
16275
16277
  ref_for: !0,
16276
16278
  ref_key: "activeTooltip",
@@ -16278,12 +16280,12 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16278
16280
  class: "dp__marker_tooltip",
16279
16281
  style: B2(m.value)
16280
16282
  }, [
16281
- (F1 = D.marker) != null && F1.tooltip ? (S(), Y("div", {
16283
+ (F1 = D.marker) != null && F1.tooltip ? (S(), E("div", {
16282
16284
  key: 0,
16283
16285
  class: "dp__tooltip_content",
16284
16286
  onClick: w
16285
16287
  }, [
16286
- (S(!0), Y(N1, null, W1(D.marker.tooltip, (C1, D2) => (S(), Y("div", {
16288
+ (S(!0), E(N1, null, W1(D.marker.tooltip, (C1, D2) => (S(), E("div", {
16287
16289
  key: D2,
16288
16290
  class: "dp__tooltip_text"
16289
16291
  }, [
@@ -16292,7 +16294,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16292
16294
  tooltip: C1,
16293
16295
  day: D.value
16294
16296
  }) : G("", !0),
16295
- Z.$slots["marker-tooltip"] ? G("", !0) : (S(), Y(N1, { key: 1 }, [
16297
+ Z.$slots["marker-tooltip"] ? G("", !0) : (S(), E(N1, { key: 1 }, [
16296
16298
  p1("div", {
16297
16299
  class: "dp__tooltip_mark",
16298
16300
  style: B2(C1.color ? { backgroundColor: C1.color } : {})
@@ -16330,7 +16332,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16330
16332
  defaultedMultiDates: H
16331
16333
  } = i2(e), { validateMonthYearInRange: M, isDisabled: C, isDateRangeAllowed: b, checkMinMaxRange: k } = L4(e), { updateTimeValues: R, getSetDateTime: x, setTime: F, assignStartTime: N, validateTime: q, disabledTimesConfig: r1 } = $i(e, o, s, t), T = W(
16332
16334
  () => (A) => l.value[A] ? l.value[A].month : 0
16333
- ), E = W(
16335
+ ), Y = W(
16334
16336
  () => (A) => l.value[A] ? l.value[A].year : 0
16335
16337
  ), n1 = (A) => !v.value.keepViewOnOffsetClick || A ? !0 : !r.value, g = (A, a1, $, t1 = !1) => {
16336
16338
  var h1, N2;
@@ -16344,7 +16346,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16344
16346
  JSON.stringify(A) !== JSON.stringify(a1) && s1();
16345
16347
  },
16346
16348
  { deep: !0 }
16347
- ), L2(() => {
16349
+ ), y2(() => {
16348
16350
  e.shadow || (s.value || (b1(), h.value && N(h.value)), s1(!0), e.focusStartDate && e.startDate && b1());
16349
16351
  });
16350
16352
  const _ = W(() => {
@@ -16360,7 +16362,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16360
16362
  }, v1 = () => Array.isArray(s.value) && m.value.enabled ? _1(s.value[0]) === _1(s.value[1] ?? s.value[0]) : !1, B = (A, a1 = !1) => {
16361
16363
  if ((!u.value.count || !u.value.static || a1) && g(0, _1(A), x1(A)), u.value.count && (!u.value.solo || !s.value || v1()))
16362
16364
  for (let $ = 1; $ < u.value.count; $++) {
16363
- const t1 = G1(K(), { month: T.value($ - 1), year: E.value($ - 1) }), h1 = ci(t1, { months: 1 });
16365
+ const t1 = G1(K(), { month: T.value($ - 1), year: Y.value($ - 1) }), h1 = ci(t1, { months: 1 });
16364
16366
  l.value[$] = { month: _1(h1), year: x1(h1) };
16365
16367
  }
16366
16368
  }, I = (A, a1) => {
@@ -16391,15 +16393,15 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16391
16393
  const a1 = s.value;
16392
16394
  i1(a1, A), u.value.count && u.value.solo && Z();
16393
16395
  }, w = (A, a1) => {
16394
- const $ = G1(K(), { month: T.value(a1), year: E.value(a1) }), t1 = A < 0 ? o3($, 1) : C6($, 1);
16396
+ const $ = G1(K(), { month: T.value(a1), year: Y.value(a1) }), t1 = A < 0 ? o3($, 1) : C6($, 1);
16395
16397
  M(_1(t1), x1(t1), A < 0, e.preventMinMaxNavigation) && (g(a1, _1(t1), x1(t1)), c("update-month-year", { instance: a1, month: _1(t1), year: x1(t1) }), u.value.count && !u.value.solo && u1(a1), a());
16396
16398
  }, u1 = (A) => {
16397
16399
  for (let a1 = A - 1; a1 >= 0; a1--) {
16398
- const $ = C6(G1(K(), { month: T.value(a1 + 1), year: E.value(a1 + 1) }), 1);
16400
+ const $ = C6(G1(K(), { month: T.value(a1 + 1), year: Y.value(a1 + 1) }), 1);
16399
16401
  g(a1, _1($), x1($));
16400
16402
  }
16401
16403
  for (let a1 = A + 1; a1 <= u.value.count - 1; a1++) {
16402
- const $ = o3(G1(K(), { month: T.value(a1 - 1), year: E.value(a1 - 1) }), 1);
16404
+ const $ = o3(G1(K(), { month: T.value(a1 - 1), year: Y.value(a1 - 1) }), 1);
16403
16405
  g(a1, _1($), x1($));
16404
16406
  }
16405
16407
  }, Z = () => {
@@ -16492,7 +16494,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16492
16494
  if (g(0, a1, $), u.value.count > 0)
16493
16495
  for (let t1 = 1; t1 < u.value.count; t1++) {
16494
16496
  const h1 = _y(
16495
- G1(K(A), { year: T.value(t1 - 1), month: E.value(t1 - 1) })
16497
+ G1(K(A), { year: T.value(t1 - 1), month: Y.value(t1 - 1) })
16496
16498
  );
16497
16499
  g(t1, h1.month, h1.year);
16498
16500
  }
@@ -16554,7 +16556,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16554
16556
  calendars: l,
16555
16557
  modelValue: s,
16556
16558
  month: T,
16557
- year: E,
16559
+ year: Y,
16558
16560
  time: o,
16559
16561
  disabledTimesConfig: r1,
16560
16562
  today: f,
@@ -16621,7 +16623,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16621
16623
  presetDate: b,
16622
16624
  selectCurrentDate: k,
16623
16625
  updateTime: R
16624
- } = Ux(n, t, v1, B), x = G4(), { setHoverDate: F, getDayClassData: N, clearHoverDate: q } = fw(l, n), { defaultedMultiCalendars: r1 } = i2(n), T = c1([]), E = c1([]), n1 = c1(null), g = W2(x, "calendar"), y = W2(x, "monthYear"), _ = W2(x, "timePicker"), X = (l1) => {
16626
+ } = Ux(n, t, v1, B), x = G4(), { setHoverDate: F, getDayClassData: N, clearHoverDate: q } = fw(l, n), { defaultedMultiCalendars: r1 } = i2(n), T = c1([]), Y = c1([]), n1 = c1(null), g = W2(x, "calendar"), y = W2(x, "monthYear"), _ = W2(x, "timePicker"), X = (l1) => {
16625
16627
  n.shadow || t("mount", l1);
16626
16628
  };
16627
16629
  J2(
@@ -16639,7 +16641,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16639
16641
  })));
16640
16642
  function v1(l1) {
16641
16643
  var V;
16642
- l1 || l1 === 0 ? (V = E.value[l1]) == null || V.triggerTransition(r.value(l1), s.value(l1)) : E.value.forEach((U, H1) => U.triggerTransition(r.value(H1), s.value(H1)));
16644
+ l1 || l1 === 0 ? (V = Y.value[l1]) == null || V.triggerTransition(r.value(l1), s.value(l1)) : Y.value.forEach((U, H1) => U.triggerTransition(r.value(H1), s.value(H1)));
16643
16645
  }
16644
16646
  function B() {
16645
16647
  t("update-flow-step");
@@ -16698,8 +16700,8 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16698
16700
  changeMonth: w,
16699
16701
  changeYear: u1,
16700
16702
  selectWeekDate: e1
16701
- }), (l1, V) => (S(), Y(N1, null, [
16702
- y2(u5, {
16703
+ }), (l1, V) => (S(), E(N1, null, [
16704
+ b2(u5, {
16703
16705
  "multi-calendars": L(r1).count,
16704
16706
  collapse: l1.collapse
16705
16707
  }, {
@@ -16728,9 +16730,9 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16728
16730
  ])
16729
16731
  }))
16730
16732
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
16731
- y2(Wx, g2({
16733
+ b2(Wx, g2({
16732
16734
  ref: (D) => {
16733
- D && (E.value[H1] = D);
16735
+ D && (Y.value[H1] = D);
16734
16736
  },
16735
16737
  "mapped-dates": s1.value(U),
16736
16738
  month: L(r)(U),
@@ -16757,7 +16759,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16757
16759
  ]),
16758
16760
  _: 3
16759
16761
  }, 8, ["multi-calendars", "collapse"]),
16760
- l1.enableTimePicker ? (S(), Y("div", Gx, [
16762
+ l1.enableTimePicker ? (S(), E("div", Gx, [
16761
16763
  l1.$slots["time-picker"] ? o1(l1.$slots, "time-picker", V2(g2({ key: 0 }, { time: L(o), updateTime: L(R) }))) : (S(), L1(Ii, g2({
16762
16764
  key: 1,
16763
16765
  ref_key: "timePickerRef",
@@ -16836,7 +16838,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16836
16838
  });
16837
16839
  }), T = (g) => {
16838
16840
  ee(g, f, o.value.limit), c("auto-apply", !0);
16839
- }, E = (g) => {
16841
+ }, Y = (g) => {
16840
16842
  f.value = ce(f, g, c), h5(f.value, c, e.autoApply, e.modelAuto);
16841
16843
  }, n1 = (g) => {
16842
16844
  f.value = g, c("auto-apply");
@@ -16856,7 +16858,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16856
16858
  selectYear: d,
16857
16859
  selectQuarter: (g, y, _) => {
16858
16860
  if (!_)
16859
- return m.value[y].month = _1(vt(g)), o.value.enabled ? T(g) : r.value.enabled ? E(g) : n1(g);
16861
+ return m.value[y].month = _1(vt(g)), o.value.enabled ? T(g) : r.value.enabled ? Y(g) : n1(g);
16860
16862
  },
16861
16863
  toggleYearPicker: C,
16862
16864
  handleYearSelect: b,
@@ -16917,7 +16919,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16917
16919
  value: b.internalModelValue
16918
16920
  }) : G("", !0),
16919
16921
  p1("div", null, [
16920
- y2(Fi, g2(b.$props, {
16922
+ b2(Fi, g2(b.$props, {
16921
16923
  items: L(o)(R),
16922
16924
  instance: R,
16923
16925
  "show-year-picker": L(v)[R],
@@ -16936,7 +16938,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16936
16938
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
16937
16939
  ]),
16938
16940
  p1("div", Xx, [
16939
- (S(!0), Y(N1, null, W1(L(h)(R), (x, F) => (S(), Y("div", { key: F }, [
16941
+ (S(!0), E(N1, null, W1(L(h)(R), (x, F) => (S(), E("div", { key: F }, [
16940
16942
  p1("button", {
16941
16943
  type: "button",
16942
16944
  class: S1(["dp--qr-btn", {
@@ -16954,7 +16956,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
16954
16956
  key: 0,
16955
16957
  value: x.value,
16956
16958
  text: x.text
16957
- }) : (S(), Y(N1, { key: 1 }, [
16959
+ }) : (S(), E(N1, { key: 1 }, [
16958
16960
  q3(j1(x.text), 1)
16959
16961
  ], 64))
16960
16962
  ], 42, Kx)
@@ -17027,7 +17029,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
17027
17029
  menuWrapRef: i.value
17028
17030
  };
17029
17031
  }), { setMenuFocused: s, setShiftKey: l, control: o } = Ti(), f = G4(), { defaultedTextInput: u, defaultedInline: h, defaultedConfig: m } = i2(n), v = c1(null), d = c1(0), z = c1(null), H = c1(!1), M = c1(null);
17030
- L2(() => {
17032
+ y2(() => {
17031
17033
  if (!n.shadow) {
17032
17034
  H.value = !0, C(), window.addEventListener("resize", C);
17033
17035
  const P = p2(i);
@@ -17044,7 +17046,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
17044
17046
  const C = () => {
17045
17047
  const P = p2(z);
17046
17048
  P && (d.value = P.getBoundingClientRect().width);
17047
- }, { arrowRight: b, arrowLeft: k, arrowDown: R, arrowUp: x } = b4(), { flowStep: F, updateFlowStep: N, childMount: q, resetFlow: r1, handleFlow: T } = uw(n, t, M), E = W(() => n.monthPicker ? fx : n.yearPicker ? hx : n.timePicker ? Sx : n.quarterPicker ? Qx : jx), n1 = W(() => {
17049
+ }, { arrowRight: b, arrowLeft: k, arrowDown: R, arrowUp: x } = b4(), { flowStep: F, updateFlowStep: N, childMount: q, resetFlow: r1, handleFlow: T } = uw(n, t, M), Y = W(() => n.monthPicker ? fx : n.yearPicker ? hx : n.timePicker ? Sx : n.quarterPicker ? Qx : jx), n1 = W(() => {
17048
17050
  var P;
17049
17051
  if (m.value.arrowLeft)
17050
17052
  return m.value.arrowLeft;
@@ -17137,7 +17139,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
17137
17139
  handleFlow: T
17138
17140
  }), (P, Q) => {
17139
17141
  var F1, C1, D2;
17140
- return S(), Y("div", {
17142
+ return S(), E("div", {
17141
17143
  id: P.uid ? `dp-menu-${P.uid}` : void 0,
17142
17144
  ref_key: "dpMenuRef",
17143
17145
  ref: i,
@@ -17150,13 +17152,13 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
17150
17152
  onClick: p,
17151
17153
  onKeydown: y1
17152
17154
  }, [
17153
- (P.disabled || P.readonly) && L(h).enabled || P.loading ? (S(), Y("div", {
17155
+ (P.disabled || P.readonly) && L(h).enabled || P.loading ? (S(), E("div", {
17154
17156
  key: 0,
17155
17157
  class: S1(B.value)
17156
17158
  }, [
17157
- P.loading ? (S(), Y("div", ew, aw)) : G("", !0)
17159
+ P.loading ? (S(), E("div", ew, aw)) : G("", !0)
17158
17160
  ], 2)) : G("", !0),
17159
- !L(h).enabled && !P.teleportCenter ? (S(), Y("div", {
17161
+ !L(h).enabled && !P.teleportCenter ? (S(), E("div", {
17160
17162
  key: 1,
17161
17163
  class: S1(v1.value)
17162
17164
  }, null, 2)) : G("", !0),
@@ -17169,20 +17171,20 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
17169
17171
  }),
17170
17172
  style: B2({ "--dp-menu-width": `${d.value}px` })
17171
17173
  }, [
17172
- P.$slots["left-sidebar"] ? (S(), Y("div", tw, [
17174
+ P.$slots["left-sidebar"] ? (S(), E("div", tw, [
17173
17175
  o1(P.$slots, "left-sidebar", V2(I2(y.value)))
17174
17176
  ])) : G("", !0),
17175
- P.presetDates.length ? (S(), Y("div", {
17177
+ P.presetDates.length ? (S(), E("div", {
17176
17178
  key: 1,
17177
17179
  class: S1({ "dp--preset-dates-collapsed": e.collapse, "dp--preset-dates": !0 })
17178
17180
  }, [
17179
- (S(!0), Y(N1, null, W1(P.presetDates, (g1, J3) => (S(), Y(N1, { key: J3 }, [
17181
+ (S(!0), E(N1, null, W1(P.presetDates, (g1, J3) => (S(), E(N1, { key: J3 }, [
17180
17182
  g1.slot ? o1(P.$slots, g1.slot, {
17181
17183
  key: 0,
17182
17184
  presetDate: V,
17183
17185
  label: g1.label,
17184
17186
  value: g1.value
17185
- }) : (S(), Y("button", {
17187
+ }) : (S(), E("button", {
17186
17188
  key: 1,
17187
17189
  type: "button",
17188
17190
  style: B2(g1.style || {}),
@@ -17199,7 +17201,7 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
17199
17201
  class: "dp__instance_calendar",
17200
17202
  role: "document"
17201
17203
  }, [
17202
- (S(), L1(e5(E.value), g2({
17204
+ (S(), L1(e5(Y.value), g2({
17203
17205
  ref_key: "dynCmpRef",
17204
17206
  ref: M
17205
17207
  }, r.value, {
@@ -17235,10 +17237,10 @@ const wy = (e, c) => e == null ? void 0 : e.querySelector(`[data-dp-element="${c
17235
17237
  }))
17236
17238
  ]), 1040, ["flow-step", "onMount", "onUpdateFlowStep", "onResetFlow"]))
17237
17239
  ], 512),
17238
- P.$slots["right-sidebar"] ? (S(), Y("div", iw, [
17240
+ P.$slots["right-sidebar"] ? (S(), E("div", iw, [
17239
17241
  o1(P.$slots, "right-sidebar", V2(I2(y.value)))
17240
17242
  ])) : G("", !0),
17241
- P.$slots["action-extra"] ? (S(), Y("div", rw, [
17243
+ P.$slots["action-extra"] ? (S(), E("div", rw, [
17242
17244
  P.$slots["action-extra"] ? o1(P.$slots, "action-extra", {
17243
17245
  key: 0,
17244
17246
  selectCurrentDate: l1
@@ -17358,8 +17360,8 @@ const sw = ({
17358
17360
  return y && !_;
17359
17361
  }
17360
17362
  return !0;
17361
- }, E = function(g) {
17362
- return !g || g === document.body || g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? window : T(g) ? g : E(g.assignedSlot ? g.assignedSlot.parentNode : g.parentNode);
17363
+ }, Y = function(g) {
17364
+ return !g || g === document.body || g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? window : T(g) ? g : Y(g.assignedSlot ? g.assignedSlot.parentNode : g.parentNode);
17363
17365
  }, n1 = (g) => {
17364
17366
  if (g)
17365
17367
  switch (r.position) {
@@ -17377,7 +17379,7 @@ const sw = ({
17377
17379
  menuStyle: f,
17378
17380
  xCorrect: o,
17379
17381
  setMenuPosition: b,
17380
- getScrollableParent: E,
17382
+ getScrollableParent: Y,
17381
17383
  shadowRender: (g, y) => {
17382
17384
  var _, X, s1;
17383
17385
  const v1 = document.createElement("div"), B = (_ = p2(a)) == null ? void 0 : _.getBoundingClientRect();
@@ -17554,7 +17556,7 @@ const sw = ({
17554
17556
  }, q = (p) => s.value.enabled ? c.modelAuto ? x() && M(p) : !1 : M(p), r1 = (p) => n.value ? ky(p.value, r.value.highlight) : !1, T = (p) => {
17555
17557
  const O = l(p.value);
17556
17558
  return O && (typeof n.value == "function" ? !n.value(p.value, O) : !n.value.options.highlightDisabled);
17557
- }, E = (p) => {
17559
+ }, Y = (p) => {
17558
17560
  var O;
17559
17561
  return typeof n.value == "function" ? n.value(p.value) : (O = n.value.weekdays) == null ? void 0 : O.includes(p.value.getDay());
17560
17562
  }, n1 = (p) => (s.value.enabled || c.weekPicker) && (!(a.value.count > 0) || p.current) && F() && !(!p.current && c.hideOffsetDates) && !M(p) ? R(p) : !1, g = (p) => {
@@ -17563,8 +17565,8 @@ const sw = ({
17563
17565
  dp__cell_offset: !p.current,
17564
17566
  dp__pointer: !c.disabled && !(!p.current && c.hideOffsetDates) && !l(p.value),
17565
17567
  dp__cell_disabled: l(p.value),
17566
- dp__cell_highlight: !T(p) && (r1(p) || E(p)) && !q(p) && !e1 && !k(p) && !(n1(p) && c.weekPicker) && !i1,
17567
- dp__cell_highlight_active: !T(p) && (r1(p) || E(p)) && q(p),
17568
+ dp__cell_highlight: !T(p) && (r1(p) || Y(p)) && !q(p) && !e1 && !k(p) && !(n1(p) && c.weekPicker) && !i1,
17569
+ dp__cell_highlight_active: !T(p) && (r1(p) || Y(p)) && q(p),
17568
17570
  dp__today: !c.noToday && A1(p.value, f.value) && p.current,
17569
17571
  "dp--past": s2(p.value, f.value),
17570
17572
  "dp--future": h2(p.value, f.value)
@@ -17630,23 +17632,23 @@ const sw = ({
17630
17632
  };
17631
17633
  }, L4 = (e) => {
17632
17634
  const { defaultedFilters: c, defaultedRange: a, propDates: t, defaultedMultiDates: n } = i2(e), i = (T) => t.value.disabledDates ? typeof t.value.disabledDates == "function" ? t.value.disabledDates(K(T)) : !!G8(T, t.value.disabledDates) : !1, r = (T) => {
17633
- const E = t.value.maxDate ? h2(T, t.value.maxDate) : !1, n1 = t.value.minDate ? s2(T, t.value.minDate) : !1, g = i(T), y = c.value.months.map((B) => +B).includes(_1(T)), _ = e.disabledWeekDays.length ? e.disabledWeekDays.some((B) => +B === vL(T)) : !1, X = u(T), s1 = x1(T), v1 = s1 < +e.yearRange[0] || s1 > +e.yearRange[1];
17634
- return !(E || n1 || g || y || v1 || _ || X);
17635
- }, s = (T, E) => s2(...f4(t.value.minDate, T, E)) || A1(...f4(t.value.minDate, T, E)), l = (T, E) => h2(...f4(t.value.maxDate, T, E)) || A1(...f4(t.value.maxDate, T, E)), o = (T, E, n1) => {
17635
+ const Y = t.value.maxDate ? h2(T, t.value.maxDate) : !1, n1 = t.value.minDate ? s2(T, t.value.minDate) : !1, g = i(T), y = c.value.months.map((B) => +B).includes(_1(T)), _ = e.disabledWeekDays.length ? e.disabledWeekDays.some((B) => +B === vL(T)) : !1, X = u(T), s1 = x1(T), v1 = s1 < +e.yearRange[0] || s1 > +e.yearRange[1];
17636
+ return !(Y || n1 || g || y || v1 || _ || X);
17637
+ }, s = (T, Y) => s2(...f4(t.value.minDate, T, Y)) || A1(...f4(t.value.minDate, T, Y)), l = (T, Y) => h2(...f4(t.value.maxDate, T, Y)) || A1(...f4(t.value.maxDate, T, Y)), o = (T, Y, n1) => {
17636
17638
  let g = !1;
17637
- return t.value.maxDate && n1 && l(T, E) && (g = !0), t.value.minDate && !n1 && s(T, E) && (g = !0), g;
17638
- }, f = (T, E, n1, g) => {
17639
+ return t.value.maxDate && n1 && l(T, Y) && (g = !0), t.value.minDate && !n1 && s(T, Y) && (g = !0), g;
17640
+ }, f = (T, Y, n1, g) => {
17639
17641
  let y = !1;
17640
- return g ? t.value.minDate && t.value.maxDate ? y = o(T, E, n1) : (t.value.minDate && s(T, E) || t.value.maxDate && l(T, E)) && (y = !0) : y = !0, y;
17641
- }, u = (T) => Array.isArray(t.value.allowedDates) && !t.value.allowedDates.length ? !0 : t.value.allowedDates ? !G8(T, t.value.allowedDates) : !1, h = (T) => !r(T), m = (T) => a.value.noDisabledRange ? !si({ start: T[0], end: T[1] }).some((E) => h(E)) : !0, v = (T) => {
17642
+ return g ? t.value.minDate && t.value.maxDate ? y = o(T, Y, n1) : (t.value.minDate && s(T, Y) || t.value.maxDate && l(T, Y)) && (y = !0) : y = !0, y;
17643
+ }, u = (T) => Array.isArray(t.value.allowedDates) && !t.value.allowedDates.length ? !0 : t.value.allowedDates ? !G8(T, t.value.allowedDates) : !1, h = (T) => !r(T), m = (T) => a.value.noDisabledRange ? !si({ start: T[0], end: T[1] }).some((Y) => h(Y)) : !0, v = (T) => {
17642
17644
  if (T) {
17643
- const E = x1(T);
17644
- return E >= +e.yearRange[0] && E <= e.yearRange[1];
17645
+ const Y = x1(T);
17646
+ return Y >= +e.yearRange[0] && Y <= e.yearRange[1];
17645
17647
  }
17646
17648
  return !0;
17647
- }, d = (T, E) => !!(Array.isArray(T) && T[E] && (a.value.maxRange || a.value.minRange) && v(T[E])), z = (T, E, n1 = 0) => {
17648
- if (d(E, n1) && v(T)) {
17649
- const g = ii(T, E[n1]), y = Si(E[n1], T), _ = y.length === 1 ? 0 : y.filter((s1) => h(s1)).length, X = Math.abs(g) - (a.value.minMaxRawRange ? 0 : _);
17649
+ }, d = (T, Y) => !!(Array.isArray(T) && T[Y] && (a.value.maxRange || a.value.minRange) && v(T[Y])), z = (T, Y, n1 = 0) => {
17650
+ if (d(Y, n1) && v(T)) {
17651
+ const g = ii(T, Y[n1]), y = Si(Y[n1], T), _ = y.length === 1 ? 0 : y.filter((s1) => h(s1)).length, X = Math.abs(g) - (a.value.minMaxRawRange ? 0 : _);
17650
17652
  if (a.value.minRange && a.value.maxRange)
17651
17653
  return X >= +a.value.minRange && X <= +a.value.maxRange;
17652
17654
  if (a.value.minRange)
@@ -17655,39 +17657,39 @@ const sw = ({
17655
17657
  return X <= +a.value.maxRange;
17656
17658
  }
17657
17659
  return !0;
17658
- }, H = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, M = (T) => Array.isArray(T) ? [T[0] ? z7(T[0]) : null, T[1] ? z7(T[1]) : null] : z7(T), C = (T, E, n1) => T.find(
17659
- (g) => +g.hours === j3(E) && g.minutes === "*" ? !0 : +g.minutes === C4(E) && +g.hours === j3(E)
17660
- ) && n1, b = (T, E, n1) => {
17661
- const [g, y] = T, [_, X] = E;
17660
+ }, H = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, M = (T) => Array.isArray(T) ? [T[0] ? z7(T[0]) : null, T[1] ? z7(T[1]) : null] : z7(T), C = (T, Y, n1) => T.find(
17661
+ (g) => +g.hours === j3(Y) && g.minutes === "*" ? !0 : +g.minutes === C4(Y) && +g.hours === j3(Y)
17662
+ ) && n1, b = (T, Y, n1) => {
17663
+ const [g, y] = T, [_, X] = Y;
17662
17664
  return !C(g, _, n1) && !C(y, X, n1) && n1;
17663
- }, k = (T, E) => {
17664
- const n1 = Array.isArray(E) ? E : [E];
17665
+ }, k = (T, Y) => {
17666
+ const n1 = Array.isArray(Y) ? Y : [Y];
17665
17667
  return Array.isArray(e.disabledTimes) ? Array.isArray(e.disabledTimes[0]) ? b(e.disabledTimes, n1, T) : !n1.some((g) => C(e.disabledTimes, g, T)) : T;
17666
- }, R = (T, E) => {
17667
- const n1 = Array.isArray(E) ? [I4(E[0]), E[1] ? I4(E[1]) : void 0] : I4(E), g = !e.disabledTimes(n1);
17668
+ }, R = (T, Y) => {
17669
+ const n1 = Array.isArray(Y) ? [I4(Y[0]), Y[1] ? I4(Y[1]) : void 0] : I4(Y), g = !e.disabledTimes(n1);
17668
17670
  return T && g;
17669
- }, x = (T, E) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? k(E, T) : R(E, T) : E, F = (T) => {
17670
- let E = !0;
17671
+ }, x = (T, Y) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? k(Y, T) : R(Y, T) : Y, F = (T) => {
17672
+ let Y = !0;
17671
17673
  if (!T || H())
17672
17674
  return !0;
17673
17675
  const n1 = !t.value.minDate && !t.value.maxDate ? M(T) : T;
17674
- return (e.maxTime || t.value.maxDate) && (E = yt(
17676
+ return (e.maxTime || t.value.maxDate) && (Y = yt(
17675
17677
  e.maxTime,
17676
17678
  t.value.maxDate,
17677
17679
  "max",
17678
17680
  H2(n1),
17679
- E
17680
- )), (e.minTime || t.value.minDate) && (E = yt(
17681
+ Y
17682
+ )), (e.minTime || t.value.minDate) && (Y = yt(
17681
17683
  e.minTime,
17682
17684
  t.value.minDate,
17683
17685
  "min",
17684
17686
  H2(n1),
17685
- E
17686
- )), x(T, E);
17687
+ Y
17688
+ )), x(T, Y);
17687
17689
  }, N = (T) => {
17688
17690
  if (!e.monthPicker)
17689
17691
  return !0;
17690
- let E = !0;
17692
+ let Y = !0;
17691
17693
  const n1 = K(i3(T));
17692
17694
  if (t.value.minDate && t.value.maxDate) {
17693
17695
  const g = K(i3(t.value.minDate)), y = K(i3(t.value.maxDate));
@@ -17695,14 +17697,14 @@ const sw = ({
17695
17697
  }
17696
17698
  if (t.value.minDate) {
17697
17699
  const g = K(i3(t.value.minDate));
17698
- E = h2(n1, g) || A1(n1, g);
17700
+ Y = h2(n1, g) || A1(n1, g);
17699
17701
  }
17700
17702
  if (t.value.maxDate) {
17701
17703
  const g = K(i3(t.value.maxDate));
17702
- E = s2(n1, g) || A1(n1, g);
17704
+ Y = s2(n1, g) || A1(n1, g);
17703
17705
  }
17704
- return E;
17705
- }, q = W(() => (T) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : F(T)), r1 = W(() => (T) => e.monthPicker ? Array.isArray(T) && (a.value.enabled || n.value.enabled) ? !T.filter((E) => !N(E)).length : N(T) : !0);
17706
+ return Y;
17707
+ }, q = W(() => (T) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : F(T)), r1 = W(() => (T) => e.monthPicker ? Array.isArray(T) && (a.value.enabled || n.value.enabled) ? !T.filter((Y) => !N(Y)).length : N(T) : !0);
17706
17708
  return {
17707
17709
  isDisabled: h,
17708
17710
  validateDate: r,
@@ -17841,7 +17843,7 @@ const sw = ({
17841
17843
  });
17842
17844
  }, T = (y) => {
17843
17845
  y.preventDefault(), v4(y, l.value, !0), i.value.enabled && i.value.openMenu && !s.value.input && !n.isMenuOpen ? t("open") : i.value.enabled || t("toggle");
17844
- }, E = () => {
17846
+ }, Y = () => {
17845
17847
  t("real-blur"), z.value = !1, (!n.isMenuOpen || s.value.enabled && s.value.input) && t("blur"), n.autoApply && i.value.enabled && v.value && !n.isMenuOpen && (t("set-input-date", v.value), t("select-date"), v.value = null);
17846
17848
  }, n1 = (y) => {
17847
17849
  v4(y, l.value, !0), t("clear");
@@ -17862,9 +17864,9 @@ const sw = ({
17862
17864
  }
17863
17865
  }), (y, _) => {
17864
17866
  var X;
17865
- return S(), Y("div", { onClick: T }, [
17867
+ return S(), E("div", { onClick: T }, [
17866
17868
  y.$slots.trigger && !y.$slots["dp-input"] && !L(s).enabled ? o1(y.$slots, "trigger", { key: 0 }) : G("", !0),
17867
- !y.$slots.trigger && (!L(s).enabled || L(s).input) ? (S(), Y("div", hw, [
17869
+ !y.$slots.trigger && (!L(s).enabled || L(s).input) ? (S(), E("div", hw, [
17868
17870
  y.$slots["dp-input"] && !y.$slots.trigger && (!L(s).enabled || L(s).enabled && L(s).input) ? o1(y.$slots, "dp-input", {
17869
17871
  key: 0,
17870
17872
  value: e.inputValue,
@@ -17873,7 +17875,7 @@ const sw = ({
17873
17875
  onEnter: N,
17874
17876
  onTab: q,
17875
17877
  onClear: n1,
17876
- onBlur: E,
17878
+ onBlur: Y,
17877
17879
  onKeypress: g,
17878
17880
  onPaste: R,
17879
17881
  onFocus: r1,
@@ -17881,7 +17883,7 @@ const sw = ({
17881
17883
  closeMenu: () => y.$emit("close"),
17882
17884
  toggleMenu: () => y.$emit("toggle")
17883
17885
  }) : G("", !0),
17884
- y.$slots["dp-input"] ? G("", !0) : (S(), Y("input", {
17886
+ y.$slots["dp-input"] ? G("", !0) : (S(), E("input", {
17885
17887
  key: 1,
17886
17888
  id: y.uid ? `dp-input-${y.uid}` : void 0,
17887
17889
  ref_key: "inputRef",
@@ -17900,7 +17902,7 @@ const sw = ({
17900
17902
  "aria-disabled": y.disabled || void 0,
17901
17903
  "aria-invalid": y.state === !1 ? !0 : void 0,
17902
17904
  onInput: F,
17903
- onBlur: E,
17905
+ onBlur: Y,
17904
17906
  onFocus: r1,
17905
17907
  onKeypress: g,
17906
17908
  onKeydown: g,
@@ -17909,7 +17911,7 @@ const sw = ({
17909
17911
  p1("div", {
17910
17912
  onClick: _[2] || (_[2] = (s1) => t("toggle"))
17911
17913
  }, [
17912
- y.$slots["input-icon"] && !y.hideInputIcon ? (S(), Y("span", {
17914
+ y.$slots["input-icon"] && !y.hideInputIcon ? (S(), E("span", {
17913
17915
  key: 0,
17914
17916
  class: "dp__input_icon",
17915
17917
  onClick: _[0] || (_[0] = (s1) => t("toggle"))
@@ -17922,7 +17924,7 @@ const sw = ({
17922
17924
  onClick: _[1] || (_[1] = (s1) => t("toggle"))
17923
17925
  })) : G("", !0)
17924
17926
  ]),
17925
- y.$slots["clear-icon"] && e.inputValue && y.clearable && !y.disabled && !y.readonly ? (S(), Y("span", dw, [
17927
+ y.$slots["clear-icon"] && e.inputValue && y.clearable && !y.disabled && !y.readonly ? (S(), E("span", dw, [
17926
17928
  o1(y.$slots, "clear-icon", { clear: n1 })
17927
17929
  ])) : G("", !0),
17928
17930
  y.clearable && !y.$slots["clear-icon"] && e.inputValue && !y.disabled && !y.readonly ? (S(), L1(L(Ci), {
@@ -18000,8 +18002,8 @@ const sw = ({
18000
18002
  defaultedConfig: N,
18001
18003
  defaultedRange: q,
18002
18004
  defaultedMultiDates: r1
18003
- } = i2(n), { menuTransition: T, showTransition: E } = P0(R);
18004
- L2(() => {
18005
+ } = i2(n), { menuTransition: T, showTransition: Y } = P0(R);
18006
+ y2(() => {
18005
18007
  O(n.modelValue), U2().then(() => {
18006
18008
  if (!F.value.enabled) {
18007
18009
  const $ = v1(m.value);
@@ -18133,13 +18135,13 @@ const sw = ({
18133
18135
  switchView: j5,
18134
18136
  toggleMenu: q0,
18135
18137
  handleFlow: a1
18136
- }), ($, t1) => (S(), Y("div", {
18138
+ }), ($, t1) => (S(), E("div", {
18137
18139
  ref_key: "pickerWrapperRef",
18138
18140
  ref: m,
18139
18141
  class: S1(u1.value),
18140
18142
  "data-datepicker-instance": ""
18141
18143
  }, [
18142
- y2(vw, g2({
18144
+ b2(vw, g2({
18143
18145
  ref_key: "inputRef",
18144
18146
  ref: u,
18145
18147
  "input-value": L(I),
@@ -18166,12 +18168,12 @@ const sw = ({
18166
18168
  ]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
18167
18169
  (S(), L1(e5($.teleport ? zp : "div"), V2(I2(b1.value)), {
18168
18170
  default: k1(() => [
18169
- y2(y6, {
18171
+ b2(y6, {
18170
18172
  name: L(T)(L(y)),
18171
- css: L(E) && !L(F).enabled
18173
+ css: L(Y) && !L(F).enabled
18172
18174
  }, {
18173
18175
  default: k1(() => [
18174
- r.value ? (S(), Y("div", g2({
18176
+ r.value ? (S(), E("div", g2({
18175
18177
  key: 0,
18176
18178
  ref_key: "dpWrapMenuRef",
18177
18179
  ref: o
@@ -18179,7 +18181,7 @@ const sw = ({
18179
18181
  class: { "dp--menu-wrapper": !L(F).enabled },
18180
18182
  style: L(F).enabled ? void 0 : L(_)
18181
18183
  }), [
18182
- y2(St, g2({
18184
+ b2(St, g2({
18183
18185
  ref_key: "dpMenuRef",
18184
18186
  ref: f
18185
18187
  }, $.$props, {
@@ -18274,12 +18276,12 @@ const Cw = /* @__PURE__ */ D1({
18274
18276
  setup(e) {
18275
18277
  return (c, a) => {
18276
18278
  const t = k3("PgaIcon");
18277
- return c.errors.length > 0 ? (S(), Y("div", bw, [
18278
- (S(!0), Y(N1, null, W1(c.errors, (n) => (S(), Y("div", {
18279
+ return c.errors.length > 0 ? (S(), E("div", bw, [
18280
+ (S(!0), E(N1, null, W1(c.errors, (n) => (S(), E("div", {
18279
18281
  class: "error-message",
18280
18282
  key: n.$uid
18281
18283
  }, [
18282
- y2(t, { icon: ["fas", "triangle-exclamation"] }),
18284
+ b2(t, { icon: ["fas", "triangle-exclamation"] }),
18283
18285
  p1("span", {
18284
18286
  textContent: j1(n.$message)
18285
18287
  }, null, 8, Lw)
@@ -18379,13 +18381,13 @@ const Nw = /* @__PURE__ */ kw(Sw), _w = { class: "select" }, Aw = {
18379
18381
  function u(h) {
18380
18382
  a.value = h.id, r.value = !1;
18381
18383
  }
18382
- return L2(() => {
18384
+ return y2(() => {
18383
18385
  new ResizeObserver(() => {
18384
18386
  n.value && (i.value = n.value.getBoundingClientRect().height + "px");
18385
18387
  }).observe(n.value);
18386
18388
  }), (h, m) => {
18387
18389
  const v = k3("PgaDisplayText"), d = k3("PgaIcon");
18388
- return j6((S(), Y("div", _w, [
18390
+ return j6((S(), E("div", _w, [
18389
18391
  p1("div", {
18390
18392
  ref_key: "inputRef",
18391
18393
  ref: n,
@@ -18407,8 +18409,8 @@ const Nw = /* @__PURE__ */ kw(Sw), _w = { class: "select" }, Aw = {
18407
18409
  icon: "chevron-down"
18408
18410
  })) : G("", !0)
18409
18411
  ], 2),
18410
- r.value ? (S(), Y("ul", Aw, [
18411
- (S(!0), Y(N1, null, W1(h.options, (z) => (S(), Y("li", {
18412
+ r.value ? (S(), E("ul", Aw, [
18413
+ (S(!0), E(N1, null, W1(h.options, (z) => (S(), E("li", {
18412
18414
  class: S1(["select--dropdown--option", { "select--dropdown--option__selected": z.id === a.value }]),
18413
18415
  key: z.id,
18414
18416
  onClick: (H) => u(z)
@@ -29384,8 +29386,18 @@ function Ts1(e, c, a = "animate__") {
29384
29386
  });
29385
29387
  }
29386
29388
  function Fs1(e, c) {
29387
- const a = e.replace(/^#/, ""), t = parseInt(a.substring(0, 2), 16), n = parseInt(a.substring(2, 4), 16), i = parseInt(a.substring(4, 6), 16), r = Math.min(1, Math.max(0, c));
29388
- return `rgba(${t}, ${n}, ${i}, ${r})`;
29389
+ let a = 0, t = 0, n = 0, i = 0;
29390
+ if (e.startsWith("rgb") || e.startsWith("rgba")) {
29391
+ const r = e.replace(/rgba?\((.*?)\)/, "$1").replace(/\s/g, ""), [, s, l, o, f = "1"] = r.match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?/);
29392
+ a = parseInt(s), t = parseInt(l), n = parseInt(o), i = parseFloat(f);
29393
+ }
29394
+ if (e.startsWith("#")) {
29395
+ let r = e;
29396
+ r.length === 4 && (r = "#" + r[1] + r[1] + r[2] + r[2] + r[3] + r[3]);
29397
+ let [, s, l, o, f] = r.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i).map((u, h) => h === 4 ? parseInt(u, 16) / 255 : parseInt(u, 16));
29398
+ f = f ? parseFloat(f.toFixed(3)) : 1, a = s, t = l, n = o, i = f;
29399
+ }
29400
+ return `rgba(${a}, ${t}, ${n}, ${i * c})`;
29389
29401
  }
29390
29402
  function Os1(e, c) {
29391
29403
  const t = {
@@ -32057,5 +32069,6 @@ export {
32057
32069
  Os1 as getDatetimeInString,
32058
32070
  xt1 as getNumberInString,
32059
32071
  Bs1 as isCurrentUrl,
32060
- Fs1 as rgba
32072
+ Fs1 as rgba,
32073
+ As1 as useI18nStore
32061
32074
  };