@oub/fusion 0.2.18 → 0.2.20

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/fusion.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ce, useCssVars as Eo, openBlock as m, createElementBlock as k, pushScopeId as Mr, popScopeId as Lr, createElementVNode as D, resolveComponent as xe, normalizeClass as ne, createBlock as we, renderSlot as ie, createTextVNode as ut, toDisplayString as me, createCommentVNode as Q, withDirectives as Qt, withKeys as ye, vModelText as Hr, createVNode as Se, vModelDynamic as Jo, getCurrentScope as Rr, onScopeDispose as qr, unref as b, toRef as ya, readonly as Xo, customRef as Yo, ref as te, watch as ct, h as Er, computed as z, withCtx as Ae, Fragment as Pe, renderList as Re, createSlots as tt, withScopeId as Wo, Transition as zt, vShow as ma, reactive as Da, useSlots as jt, onMounted as it, nextTick as Lt, onUnmounted as xn, mergeProps as $e, isRef as or, normalizeProps as je, guardReactiveProps as rt, resolveDynamicComponent as Bn, Teleport as Ko, render as ir, withModifiers as He, normalizeStyle as mt, onBeforeUpdate as zo } from "vue";
1
+ import { defineComponent as Ce, useCssVars as Eo, openBlock as m, createElementBlock as k, pushScopeId as Mr, popScopeId as Lr, createElementVNode as D, resolveComponent as xe, normalizeClass as ne, createBlock as we, renderSlot as ie, createTextVNode as ut, toDisplayString as fe, createCommentVNode as Q, withDirectives as Qt, withKeys as ye, vModelText as Hr, createVNode as Se, vModelDynamic as Jo, getCurrentScope as Rr, onScopeDispose as qr, unref as b, toRef as ya, readonly as Xo, customRef as Yo, ref as te, watch as ct, h as Er, computed as z, withCtx as Ae, Fragment as Pe, renderList as Re, createSlots as tt, withScopeId as Wo, Transition as zt, vShow as ma, reactive as Da, useSlots as jt, onMounted as it, nextTick as Lt, onUnmounted as xn, mergeProps as $e, isRef as or, normalizeProps as je, guardReactiveProps as rt, resolveDynamicComponent as Bn, Teleport as Ko, render as ir, withModifiers as He, normalizeStyle as mt, onBeforeUpdate as zo } from "vue";
2
2
  const Fn = Ce({
3
3
  name: "FusionLoadingSpinner",
4
4
  props: {
@@ -153,7 +153,7 @@ function ni(e, t, n, r, a, o) {
153
153
  "spinner-colour": e.spinnerColourValue
154
154
  }, null, 8, ["spinner-colour"])) : (m(), k("span", ai, [
155
155
  ie(e.$slots, "icon", {}, void 0, !0),
156
- ut(" " + me(e.label), 1)
156
+ ut(" " + fe(e.label), 1)
157
157
  ]))
158
158
  ], 42, ti);
159
159
  }
@@ -314,12 +314,12 @@ function yi(e, t, n, r, a, o) {
314
314
  class: ne(["fusion-textarea label", e.stateClasses]),
315
315
  for: e.id,
316
316
  "data-test": "label"
317
- }, me(e.label), 11, fi),
317
+ }, fe(e.label), 11, fi),
318
318
  e.helperLabel ? (m(), k("div", {
319
319
  key: 0,
320
320
  class: ne(["fusion-textarea helper-label", e.stateClasses]),
321
321
  "data-test": "helper-label"
322
- }, me(e.helperLabel), 3)) : Q("", !0),
322
+ }, fe(e.helperLabel), 3)) : Q("", !0),
323
323
  Qt(D("textarea", {
324
324
  id: e.id,
325
325
  "onUpdate:modelValue": t[0] || (t[0] = (l) => e.inputValue = l),
@@ -354,20 +354,20 @@ function yi(e, t, n, r, a, o) {
354
354
  class: "error-icon",
355
355
  "data-test": "error-icon"
356
356
  }),
357
- D("span", mi, me(e.errorLabel), 1)
357
+ D("span", mi, fe(e.errorLabel), 1)
358
358
  ], 2)) : Q("", !0),
359
359
  !e.disabled && e.showCharLength ? (m(), k("div", {
360
360
  key: 1,
361
361
  class: ne(["fusion-textarea text-count-label", !e.disabled && e.showCharLength ? "fusion-textarea-character-amount" : ""]),
362
362
  "data-test": "text-count-label"
363
363
  }, [
364
- D("span", gi, me(e.inputValue.length), 1),
365
- D("span", hi, "/" + me(e.maxLength), 1)
364
+ D("span", gi, fe(e.inputValue.length), 1),
365
+ D("span", hi, "/" + fe(e.maxLength), 1)
366
366
  ], 2)) : Q("", !0)
367
367
  ], 2)
368
368
  ], 8, pi);
369
369
  }
370
- const av = /* @__PURE__ */ Le(ci, [["render", yi], ["__scopeId", "data-v-00a9126d"]]), bi = Ce({
370
+ const nv = /* @__PURE__ */ Le(ci, [["render", yi], ["__scopeId", "data-v-00a9126d"]]), bi = Ce({
371
371
  name: "SVGTick"
372
372
  }), Ai = {
373
373
  width: "11",
@@ -502,8 +502,8 @@ function Qi(e, t, n, r, a, o) {
502
502
  ])) : Q("", !0)
503
503
  ]),
504
504
  D("span", Oi, [
505
- e.label ? (m(), k("span", Ii, me(e.label), 1)) : Q("", !0),
506
- e.helperText ? (m(), k("span", Ui, me(e.helperText), 1)) : Q("", !0)
505
+ e.label ? (m(), k("span", Ii, fe(e.label), 1)) : Q("", !0),
506
+ e.helperText ? (m(), k("span", Ui, fe(e.helperText), 1)) : Q("", !0)
507
507
  ]),
508
508
  ie(e.$slots, "default", {}, void 0, !0)
509
509
  ], 10, Ti);
@@ -602,14 +602,14 @@ function Ei(e, t, n, r, a, o) {
602
602
  for: e.id,
603
603
  "data-test": "label"
604
604
  }, [
605
- ut(me(e.label) + " ", 1),
606
- e.helperLabel ? (m(), k("span", qi, me(e.helperLabel), 1)) : Q("", !0)
605
+ ut(fe(e.label) + " ", 1),
606
+ e.helperLabel ? (m(), k("span", qi, fe(e.helperLabel), 1)) : Q("", !0)
607
607
  ], 10, Ri)
608
608
  ])
609
609
  ], 2)
610
610
  ], 10, Mi);
611
611
  }
612
- const nv = /* @__PURE__ */ Le(Ni, [["render", Ei], ["__scopeId", "data-v-9c7d2fa5"]]), Ji = Ce({
612
+ const rv = /* @__PURE__ */ Le(Ni, [["render", Ei], ["__scopeId", "data-v-9c7d2fa5"]]), Ji = Ce({
613
613
  name: "FusionTextLink",
614
614
  props: {
615
615
  id: {
@@ -686,14 +686,14 @@ function Ki(e, t, n, r, a, o) {
686
686
  onBlur: t[0] || (t[0] = (i) => e.$emit("input:blur", i)),
687
687
  onFocus: t[1] || (t[1] = (i) => e.$emit("input:focus", i))
688
688
  }, [
689
- ut(me(e.label) + " ", 1),
689
+ ut(fe(e.label) + " ", 1),
690
690
  e.$slots.icon ? (m(), k("span", Wi, [
691
691
  ie(e.$slots, "icon", {}, void 0, !0)
692
692
  ])) : Q("", !0)
693
693
  ], 42, Yi)
694
694
  ], 10, Xi);
695
695
  }
696
- const rv = /* @__PURE__ */ Le(Ji, [["render", Ki], ["__scopeId", "data-v-a3d9cc51"]]), zi = Ce({
696
+ const ov = /* @__PURE__ */ Le(Ji, [["render", Ki], ["__scopeId", "data-v-a3d9cc51"]]), zi = Ce({
697
697
  name: "FusionInput",
698
698
  components: {
699
699
  SVGExclamationTriangle: ia
@@ -827,12 +827,12 @@ function tl(e, t, n, r, a, o) {
827
827
  class: ne(["fusion-input label", e.stateClasses]),
828
828
  for: e.id,
829
829
  "data-test": "label"
830
- }, me(e.label), 11, Zi)) : Q("", !0),
830
+ }, fe(e.label), 11, Zi)) : Q("", !0),
831
831
  e.helperLabel ? (m(), k("div", {
832
832
  key: 1,
833
833
  class: ne(["fusion-input helper-label", e.stateClasses]),
834
834
  "data-test": "helper-label"
835
- }, me(e.helperLabel), 3)) : Q("", !0),
835
+ }, fe(e.helperLabel), 3)) : Q("", !0),
836
836
  D("div", Gi, [
837
837
  e.$slots.icon ? (m(), k("span", _i, [
838
838
  ie(e.$slots, "icon", {}, void 0, !0)
@@ -868,7 +868,7 @@ function tl(e, t, n, r, a, o) {
868
868
  class: ne(["fusion-input error-label", e.stateClasses])
869
869
  }, [
870
870
  Se(i, { "data-test": "error-icon" }),
871
- D("span", el, me(e.errorLabel), 1)
871
+ D("span", el, fe(e.errorLabel), 1)
872
872
  ], 2)) : Q("", !0)
873
873
  ], 10, ji);
874
874
  }
@@ -1303,8 +1303,8 @@ function Gl(e, t, n, r, a, o) {
1303
1303
  ])) : e.searchErrorTitle ? (m(), k("div", Hl, [
1304
1304
  D("div", Rl, [
1305
1305
  Se(c, { "data-test": "error-icon" }),
1306
- D("div", ql, me(e.searchErrorTitle), 1),
1307
- D("div", El, me(e.searchErrorDescription), 1)
1306
+ D("div", ql, fe(e.searchErrorTitle), 1),
1307
+ D("div", El, fe(e.searchErrorDescription), 1)
1308
1308
  ])
1309
1309
  ])) : e.$slots["custom-list"] ? (m(), k("div", Jl, [
1310
1310
  D("div", Xl, [
@@ -1319,7 +1319,7 @@ function Gl(e, t, n, r, a, o) {
1319
1319
  onKeydown: (S) => e.handleKeydownSelect(S, v),
1320
1320
  onClick: (S) => e.handleSelect(v)
1321
1321
  }, [
1322
- D("span", null, me(v.label), 1),
1322
+ D("span", null, fe(v.label), 1),
1323
1323
  v.value === e.selected.value ? (m(), k("span", Kl, [
1324
1324
  Se(d, { class: "fusion-icon" })
1325
1325
  ])) : Q("", !0)
@@ -1541,12 +1541,12 @@ function ps(e, t, n, r, a, o) {
1541
1541
  class: ne(["fusion-select label", e.stateClasses]),
1542
1542
  for: e.id,
1543
1543
  "data-test": "label"
1544
- }, me(e.label), 11, is)) : Q("", !0),
1544
+ }, fe(e.label), 11, is)) : Q("", !0),
1545
1545
  e.helperLabel ? (m(), k("div", {
1546
1546
  key: 1,
1547
1547
  class: ne(["fusion-select helper-label", e.stateClasses]),
1548
1548
  "data-test": "helper-label"
1549
- }, me(e.helperLabel), 3)) : Q("", !0),
1549
+ }, fe(e.helperLabel), 3)) : Q("", !0),
1550
1550
  D("button", {
1551
1551
  id: e.id,
1552
1552
  class: ne(["fusion-select field", e.stateClasses]),
@@ -1563,7 +1563,7 @@ function ps(e, t, n, r, a, o) {
1563
1563
  onKeydown: t[3] || (t[3] = ye((...c) => e.handleKeydownEnter && e.handleKeydownEnter(...c), ["enter"]))
1564
1564
  }, [
1565
1565
  D("span", ss, [
1566
- e.selected.label ? (m(), k("span", ds, me(e.selected.label), 1)) : (m(), k("span", us, me(e.placeholder), 1)),
1566
+ e.selected.label ? (m(), k("span", ds, fe(e.selected.label), 1)) : (m(), k("span", us, fe(e.placeholder), 1)),
1567
1567
  Se(i, {
1568
1568
  class: ne([[e.interactionStates.opened ? "open" : "", e.stateClasses], "fusion-select arrow-icon"])
1569
1569
  }, null, 8, ["class"])
@@ -1589,11 +1589,11 @@ function ps(e, t, n, r, a, o) {
1589
1589
  class: ne(["fusion-select error-label", e.stateClasses])
1590
1590
  }, [
1591
1591
  Se(u),
1592
- D("span", cs, me(e.errorLabel), 1)
1592
+ D("span", cs, fe(e.errorLabel), 1)
1593
1593
  ], 2)) : Q("", !0)
1594
1594
  ], 8, os);
1595
1595
  }
1596
- const ov = /* @__PURE__ */ Le(rs, [["render", ps], ["__scopeId", "data-v-73163a73"]]), fs = Ce({
1596
+ const iv = /* @__PURE__ */ Le(rs, [["render", ps], ["__scopeId", "data-v-73163a73"]]), fs = Ce({
1597
1597
  name: "FusionPasswordInput",
1598
1598
  components: {
1599
1599
  FusionInput: On,
@@ -1742,7 +1742,7 @@ function gs(e, t, n, r, a, o) {
1742
1742
  ]), 1032, ["id", "modelValue", "type", "placeholder", "required", "class", "disabled", "label", "helper-label", "name", "error-label", "onInput", "onBlur", "onFocus", "onKeydown"])
1743
1743
  ], 8, vs);
1744
1744
  }
1745
- const iv = /* @__PURE__ */ Le(fs, [["render", gs], ["__scopeId", "data-v-a2fd5a4c"]]), Aa = {
1745
+ const lv = /* @__PURE__ */ Le(fs, [["render", gs], ["__scopeId", "data-v-a2fd5a4c"]]), Aa = {
1746
1746
  default: {
1747
1747
  code: "GB",
1748
1748
  dialCode: 44,
@@ -2369,7 +2369,7 @@ function Ps(e, t, n, r, a, o) {
2369
2369
  width: "11"
2370
2370
  }, null, 8, ["class"])
2371
2371
  ]),
2372
- D("div", Ds, "(+" + me(n.country.dialCode) + ")", 1)
2372
+ D("div", Ds, "(+" + fe(n.country.dialCode) + ")", 1)
2373
2373
  ])
2374
2374
  ], 10, Ss);
2375
2375
  }
@@ -2438,7 +2438,7 @@ function Us(e, t, n, r, a, o) {
2438
2438
  country: u.code,
2439
2439
  class: "flag"
2440
2440
  }, null, 8, ["country"]),
2441
- D("span", Os, me(u.name), 1),
2441
+ D("span", Os, fe(u.name), 1),
2442
2442
  u.code === n.selectedCountry.code ? (m(), k("span", Is, [
2443
2443
  Se(l, { class: "fusion-icon" })
2444
2444
  ])) : Q("", !0)
@@ -2617,12 +2617,12 @@ function Js(e, t, n, r, a, o) {
2617
2617
  class: ne(["fusion-phone-input label", e.stateClasses]),
2618
2618
  for: e.id,
2619
2619
  "data-test": "label"
2620
- }, me(e.label), 11, Ms)) : Q("", !0),
2620
+ }, fe(e.label), 11, Ms)) : Q("", !0),
2621
2621
  e.helperLabel ? (m(), k("div", {
2622
2622
  key: 1,
2623
2623
  class: ne(["fusion-phone-input helper-label", e.stateClasses]),
2624
2624
  "data-test": "helper-label"
2625
- }, me(e.helperLabel), 3)) : Q("", !0),
2625
+ }, fe(e.helperLabel), 3)) : Q("", !0),
2626
2626
  D("div", Ls, [
2627
2627
  D("div", {
2628
2628
  class: ne(["field-wrapper", e.stateClasses])
@@ -2680,11 +2680,11 @@ function Js(e, t, n, r, a, o) {
2680
2680
  class: "fusion-phone-input error-icon",
2681
2681
  "data-test": "error-icon"
2682
2682
  }),
2683
- D("span", Es, me(e.errorLabel), 1)
2683
+ D("span", Es, fe(e.errorLabel), 1)
2684
2684
  ])) : Q("", !0)
2685
2685
  ], 8, Ns);
2686
2686
  }
2687
- const lv = /* @__PURE__ */ Le(Vs, [["render", Js], ["__scopeId", "data-v-f1c0947e"]]), Xs = Ce({
2687
+ const sv = /* @__PURE__ */ Le(Vs, [["render", Js], ["__scopeId", "data-v-f1c0947e"]]), Xs = Ce({
2688
2688
  name: "SVGInformationCircle"
2689
2689
  }), Ys = {
2690
2690
  width: "20",
@@ -2866,8 +2866,8 @@ function gu(e, t, n, r, a, o) {
2866
2866
  "data-test": "fusion-banner-icon"
2867
2867
  })) : Q("", !0),
2868
2868
  D("div", fu, [
2869
- e.showTitle && e.title ? (m(), k("p", vu, me(e.title), 1)) : Q("", !0),
2870
- e.message ? (m(), k("p", mu, me(e.message), 1)) : Q("", !0)
2869
+ e.showTitle && e.title ? (m(), k("p", vu, fe(e.title), 1)) : Q("", !0),
2870
+ e.message ? (m(), k("p", mu, fe(e.message), 1)) : Q("", !0)
2871
2871
  ]),
2872
2872
  e.isDismissible ? (m(), k("button", {
2873
2873
  key: 4,
@@ -2887,7 +2887,7 @@ function gu(e, t, n, r, a, o) {
2887
2887
  _: 1
2888
2888
  });
2889
2889
  }
2890
- const sv = /* @__PURE__ */ Le(du, [["render", gu], ["__scopeId", "data-v-095f7e36"]]);
2890
+ const uv = /* @__PURE__ */ Le(du, [["render", gu], ["__scopeId", "data-v-095f7e36"]]);
2891
2891
  function pt(e) {
2892
2892
  "@babel/helpers - typeof";
2893
2893
  return pt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -2896,7 +2896,7 @@ function pt(e) {
2896
2896
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2897
2897
  }, pt(e);
2898
2898
  }
2899
- function ve(e) {
2899
+ function me(e) {
2900
2900
  if (e === null || e === !0 || e === !1)
2901
2901
  return NaN;
2902
2902
  var t = Number(e);
@@ -2913,12 +2913,12 @@ function pe(e) {
2913
2913
  }
2914
2914
  function xt(e, t) {
2915
2915
  le(2, arguments);
2916
- var n = pe(e), r = ve(t);
2916
+ var n = pe(e), r = me(t);
2917
2917
  return isNaN(r) ? /* @__PURE__ */ new Date(NaN) : (r && n.setDate(n.getDate() + r), n);
2918
2918
  }
2919
2919
  function gt(e, t) {
2920
2920
  le(2, arguments);
2921
- var n = pe(e), r = ve(t);
2921
+ var n = pe(e), r = me(t);
2922
2922
  if (isNaN(r))
2923
2923
  return /* @__PURE__ */ new Date(NaN);
2924
2924
  if (!r)
@@ -2931,12 +2931,12 @@ function gt(e, t) {
2931
2931
  function $r(e, t) {
2932
2932
  if (le(2, arguments), !t || pt(t) !== "object")
2933
2933
  return /* @__PURE__ */ new Date(NaN);
2934
- var n = t.years ? ve(t.years) : 0, r = t.months ? ve(t.months) : 0, a = t.weeks ? ve(t.weeks) : 0, o = t.days ? ve(t.days) : 0, i = t.hours ? ve(t.hours) : 0, l = t.minutes ? ve(t.minutes) : 0, u = t.seconds ? ve(t.seconds) : 0, c = pe(e), d = r || n ? gt(c, r + n * 12) : c, f = o || a ? xt(d, o + a * 7) : d, v = l + i * 60, A = u + v * 60, S = A * 1e3, L = new Date(f.getTime() + S);
2934
+ var n = t.years ? me(t.years) : 0, r = t.months ? me(t.months) : 0, a = t.weeks ? me(t.weeks) : 0, o = t.days ? me(t.days) : 0, i = t.hours ? me(t.hours) : 0, l = t.minutes ? me(t.minutes) : 0, u = t.seconds ? me(t.seconds) : 0, c = pe(e), d = r || n ? gt(c, r + n * 12) : c, f = o || a ? xt(d, o + a * 7) : d, v = l + i * 60, A = u + v * 60, S = A * 1e3, L = new Date(f.getTime() + S);
2935
2935
  return L;
2936
2936
  }
2937
2937
  function hu(e, t) {
2938
2938
  le(2, arguments);
2939
- var n = pe(e).getTime(), r = ve(t);
2939
+ var n = pe(e).getTime(), r = me(t);
2940
2940
  return new Date(n + r);
2941
2941
  }
2942
2942
  var yu = {};
@@ -2946,7 +2946,7 @@ function Pt() {
2946
2946
  function Wt(e, t) {
2947
2947
  var n, r, a, o, i, l, u, c;
2948
2948
  le(1, arguments);
2949
- var d = Pt(), f = ve((n = (r = (a = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && a !== void 0 ? a : d.weekStartsOn) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && n !== void 0 ? n : 0);
2949
+ var d = Pt(), f = me((n = (r = (a = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && a !== void 0 ? a : d.weekStartsOn) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && n !== void 0 ? n : 0);
2950
2950
  if (!(f >= 0 && f <= 6))
2951
2951
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2952
2952
  var v = pe(e), A = v.getDay(), S = (A < f ? 7 : 0) + A - f;
@@ -2990,12 +2990,12 @@ function wu(e, t) {
2990
2990
  }
2991
2991
  function Su(e, t) {
2992
2992
  le(2, arguments);
2993
- var n = ve(t), r = n * 3;
2993
+ var n = me(t), r = n * 3;
2994
2994
  return gt(e, r);
2995
2995
  }
2996
2996
  function Ln(e, t) {
2997
2997
  le(2, arguments);
2998
- var n = ve(t);
2998
+ var n = me(t);
2999
2999
  return gt(e, n * 12);
3000
3000
  }
3001
3001
  var Hn = 6e4, Rn = 36e5, Cu = 1e3;
@@ -3057,7 +3057,7 @@ function Tu(e) {
3057
3057
  function xu(e, t) {
3058
3058
  var n, r, a, o, i, l, u, c;
3059
3059
  le(1, arguments);
3060
- var d = Pt(), f = ve((n = (r = (a = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && a !== void 0 ? a : d.weekStartsOn) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && n !== void 0 ? n : 0);
3060
+ var d = Pt(), f = me((n = (r = (a = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && a !== void 0 ? a : d.weekStartsOn) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && n !== void 0 ? n : 0);
3061
3061
  if (!(f >= 0 && f <= 6))
3062
3062
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
3063
3063
  var v = pe(e), A = v.getDay(), S = (A < f ? -7 : 0) + 6 - (A - f);
@@ -3070,7 +3070,7 @@ function pr(e) {
3070
3070
  }
3071
3071
  function ao(e, t) {
3072
3072
  le(2, arguments);
3073
- var n = ve(t);
3073
+ var n = me(t);
3074
3074
  return hu(e, -n);
3075
3075
  }
3076
3076
  var Bu = 864e5;
@@ -3111,7 +3111,7 @@ function ro(e) {
3111
3111
  function Kt(e, t) {
3112
3112
  var n, r, a, o, i, l, u, c;
3113
3113
  le(1, arguments);
3114
- var d = Pt(), f = ve((n = (r = (a = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && a !== void 0 ? a : d.weekStartsOn) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && n !== void 0 ? n : 0);
3114
+ var d = Pt(), f = me((n = (r = (a = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && a !== void 0 ? a : d.weekStartsOn) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && n !== void 0 ? n : 0);
3115
3115
  if (!(f >= 0 && f <= 6))
3116
3116
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
3117
3117
  var v = pe(e), A = v.getUTCDay(), S = (A < f ? 7 : 0) + A - f;
@@ -3120,7 +3120,7 @@ function Kt(e, t) {
3120
3120
  function qn(e, t) {
3121
3121
  var n, r, a, o, i, l, u, c;
3122
3122
  le(1, arguments);
3123
- var d = pe(e), f = d.getUTCFullYear(), v = Pt(), A = ve((n = (r = (a = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && a !== void 0 ? a : v.firstWeekContainsDate) !== null && r !== void 0 ? r : (u = v.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
3123
+ var d = pe(e), f = d.getUTCFullYear(), v = Pt(), A = me((n = (r = (a = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && a !== void 0 ? a : v.firstWeekContainsDate) !== null && r !== void 0 ? r : (u = v.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
3124
3124
  if (!(A >= 1 && A <= 7))
3125
3125
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
3126
3126
  var S = /* @__PURE__ */ new Date(0);
@@ -3133,7 +3133,7 @@ function qn(e, t) {
3133
3133
  function Uu(e, t) {
3134
3134
  var n, r, a, o, i, l, u, c;
3135
3135
  le(1, arguments);
3136
- var d = Pt(), f = ve((n = (r = (a = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && a !== void 0 ? a : d.firstWeekContainsDate) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), v = qn(e, t), A = /* @__PURE__ */ new Date(0);
3136
+ var d = Pt(), f = me((n = (r = (a = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && a !== void 0 ? a : d.firstWeekContainsDate) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), v = qn(e, t), A = /* @__PURE__ */ new Date(0);
3137
3137
  A.setUTCFullYear(v, 0, f), A.setUTCHours(0, 0, 0, 0);
3138
3138
  var S = Kt(A, t);
3139
3139
  return S;
@@ -4252,10 +4252,10 @@ var Pd = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Td = /P+p+|P+|
4252
4252
  function Vt(e, t, n) {
4253
4253
  var r, a, o, i, l, u, c, d, f, v, A, S, L, W, F, I, Y, P;
4254
4254
  le(2, arguments);
4255
- var H = String(t), R = Pt(), M = (r = (a = n == null ? void 0 : n.locale) !== null && a !== void 0 ? a : R.locale) !== null && r !== void 0 ? r : uo, ce = ve((o = (i = (l = (u = n == null ? void 0 : n.firstWeekContainsDate) !== null && u !== void 0 ? u : n == null || (c = n.locale) === null || c === void 0 || (d = c.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && l !== void 0 ? l : R.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = R.locale) === null || f === void 0 || (v = f.options) === null || v === void 0 ? void 0 : v.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
4255
+ var H = String(t), R = Pt(), M = (r = (a = n == null ? void 0 : n.locale) !== null && a !== void 0 ? a : R.locale) !== null && r !== void 0 ? r : uo, ce = me((o = (i = (l = (u = n == null ? void 0 : n.firstWeekContainsDate) !== null && u !== void 0 ? u : n == null || (c = n.locale) === null || c === void 0 || (d = c.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && l !== void 0 ? l : R.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = R.locale) === null || f === void 0 || (v = f.options) === null || v === void 0 ? void 0 : v.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
4256
4256
  if (!(ce >= 1 && ce <= 7))
4257
4257
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4258
- var j = ve((A = (S = (L = (W = n == null ? void 0 : n.weekStartsOn) !== null && W !== void 0 ? W : n == null || (F = n.locale) === null || F === void 0 || (I = F.options) === null || I === void 0 ? void 0 : I.weekStartsOn) !== null && L !== void 0 ? L : R.weekStartsOn) !== null && S !== void 0 ? S : (Y = R.locale) === null || Y === void 0 || (P = Y.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && A !== void 0 ? A : 0);
4258
+ var j = me((A = (S = (L = (W = n == null ? void 0 : n.weekStartsOn) !== null && W !== void 0 ? W : n == null || (F = n.locale) === null || F === void 0 || (I = F.options) === null || I === void 0 ? void 0 : I.weekStartsOn) !== null && L !== void 0 ? L : R.weekStartsOn) !== null && S !== void 0 ? S : (Y = R.locale) === null || Y === void 0 || (P = Y.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && A !== void 0 ? A : 0);
4259
4259
  if (!(j >= 0 && j <= 6))
4260
4260
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4261
4261
  if (!M.localize)
@@ -4342,7 +4342,7 @@ function aa(e) {
4342
4342
  function Md(e, t) {
4343
4343
  var n, r, a, o, i, l, u, c;
4344
4344
  le(1, arguments);
4345
- var d = pe(e), f = d.getFullYear(), v = Pt(), A = ve((n = (r = (a = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && a !== void 0 ? a : v.firstWeekContainsDate) !== null && r !== void 0 ? r : (u = v.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
4345
+ var d = pe(e), f = d.getFullYear(), v = Pt(), A = me((n = (r = (a = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && a !== void 0 ? a : v.firstWeekContainsDate) !== null && r !== void 0 ? r : (u = v.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
4346
4346
  if (!(A >= 1 && A <= 7))
4347
4347
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4348
4348
  var S = /* @__PURE__ */ new Date(0);
@@ -4355,7 +4355,7 @@ function Md(e, t) {
4355
4355
  function Ld(e, t) {
4356
4356
  var n, r, a, o, i, l, u, c;
4357
4357
  le(1, arguments);
4358
- var d = Pt(), f = ve((n = (r = (a = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && a !== void 0 ? a : d.firstWeekContainsDate) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), v = Md(e, t), A = /* @__PURE__ */ new Date(0);
4358
+ var d = Pt(), f = me((n = (r = (a = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && a !== void 0 ? a : d.firstWeekContainsDate) !== null && r !== void 0 ? r : (u = d.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), v = Md(e, t), A = /* @__PURE__ */ new Date(0);
4359
4359
  A.setFullYear(v, 0, f), A.setHours(0, 0, 0, 0);
4360
4360
  var S = Wt(A, t);
4361
4361
  return S;
@@ -5174,7 +5174,7 @@ var jd = /* @__PURE__ */ function(e) {
5174
5174
  }(Ve);
5175
5175
  function nc(e, t, n) {
5176
5176
  le(2, arguments);
5177
- var r = pe(e), a = ve(t), o = oo(r, n) - a;
5177
+ var r = pe(e), a = me(t), o = oo(r, n) - a;
5178
5178
  return r.setUTCDate(r.getUTCDate() - o * 7), r;
5179
5179
  }
5180
5180
  var rc = /* @__PURE__ */ function(e) {
@@ -5215,7 +5215,7 @@ var rc = /* @__PURE__ */ function(e) {
5215
5215
  }(Ve);
5216
5216
  function oc(e, t) {
5217
5217
  le(2, arguments);
5218
- var n = pe(e), r = ve(t), a = ro(n) - r;
5218
+ var n = pe(e), r = me(t), a = ro(n) - r;
5219
5219
  return n.setUTCDate(n.getUTCDate() - a * 7), n;
5220
5220
  }
5221
5221
  var ic = /* @__PURE__ */ function(e) {
@@ -5330,10 +5330,10 @@ var ic = /* @__PURE__ */ function(e) {
5330
5330
  function Jn(e, t, n) {
5331
5331
  var r, a, o, i, l, u, c, d;
5332
5332
  le(2, arguments);
5333
- var f = Pt(), v = ve((r = (a = (o = (i = n == null ? void 0 : n.weekStartsOn) !== null && i !== void 0 ? i : n == null || (l = n.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && o !== void 0 ? o : f.weekStartsOn) !== null && a !== void 0 ? a : (c = f.locale) === null || c === void 0 || (d = c.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && r !== void 0 ? r : 0);
5333
+ var f = Pt(), v = me((r = (a = (o = (i = n == null ? void 0 : n.weekStartsOn) !== null && i !== void 0 ? i : n == null || (l = n.locale) === null || l === void 0 || (u = l.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && o !== void 0 ? o : f.weekStartsOn) !== null && a !== void 0 ? a : (c = f.locale) === null || c === void 0 || (d = c.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && r !== void 0 ? r : 0);
5334
5334
  if (!(v >= 0 && v <= 6))
5335
5335
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
5336
- var A = pe(e), S = ve(t), L = A.getUTCDay(), W = S % 7, F = (W + 7) % 7, I = (F < v ? 7 : 0) + S - L;
5336
+ var A = pe(e), S = me(t), L = A.getUTCDay(), W = S % 7, F = (W + 7) % 7, I = (F < v ? 7 : 0) + S - L;
5337
5337
  return A.setUTCDate(A.getUTCDate() + I), A;
5338
5338
  }
5339
5339
  var cc = /* @__PURE__ */ function(e) {
@@ -5561,7 +5561,7 @@ var cc = /* @__PURE__ */ function(e) {
5561
5561
  }(Ve);
5562
5562
  function vc(e, t) {
5563
5563
  le(2, arguments);
5564
- var n = ve(t);
5564
+ var n = me(t);
5565
5565
  n % 7 === 0 && (n = n - 7);
5566
5566
  var r = 1, a = pe(e), o = a.getUTCDay(), i = n % 7, l = (i + 7) % 7, u = (l < r ? 7 : 0) + n - o;
5567
5567
  return a.setUTCDate(a.getUTCDate() + u), a;
@@ -6177,10 +6177,10 @@ function An(e, t, n, r) {
6177
6177
  var R = String(e), M = String(t), ce = Pt(), j = (a = (o = r == null ? void 0 : r.locale) !== null && o !== void 0 ? o : ce.locale) !== null && a !== void 0 ? a : uo;
6178
6178
  if (!j.match)
6179
6179
  throw new RangeError("locale must contain match property");
6180
- var y = ve((i = (l = (u = (c = r == null ? void 0 : r.firstWeekContainsDate) !== null && c !== void 0 ? c : r == null || (d = r.locale) === null || d === void 0 || (f = d.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && u !== void 0 ? u : ce.firstWeekContainsDate) !== null && l !== void 0 ? l : (v = ce.locale) === null || v === void 0 || (A = v.options) === null || A === void 0 ? void 0 : A.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
6180
+ var y = me((i = (l = (u = (c = r == null ? void 0 : r.firstWeekContainsDate) !== null && c !== void 0 ? c : r == null || (d = r.locale) === null || d === void 0 || (f = d.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && u !== void 0 ? u : ce.firstWeekContainsDate) !== null && l !== void 0 ? l : (v = ce.locale) === null || v === void 0 || (A = v.options) === null || A === void 0 ? void 0 : A.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
6181
6181
  if (!(y >= 1 && y <= 7))
6182
6182
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
6183
- var x = ve((S = (L = (W = (F = r == null ? void 0 : r.weekStartsOn) !== null && F !== void 0 ? F : r == null || (I = r.locale) === null || I === void 0 || (Y = I.options) === null || Y === void 0 ? void 0 : Y.weekStartsOn) !== null && W !== void 0 ? W : ce.weekStartsOn) !== null && L !== void 0 ? L : (P = ce.locale) === null || P === void 0 || (H = P.options) === null || H === void 0 ? void 0 : H.weekStartsOn) !== null && S !== void 0 ? S : 0);
6183
+ var x = me((S = (L = (W = (F = r == null ? void 0 : r.weekStartsOn) !== null && F !== void 0 ? F : r == null || (I = r.locale) === null || I === void 0 || (Y = I.options) === null || Y === void 0 ? void 0 : Y.weekStartsOn) !== null && W !== void 0 ? W : ce.weekStartsOn) !== null && L !== void 0 ? L : (P = ce.locale) === null || P === void 0 || (H = P.options) === null || H === void 0 ? void 0 : H.weekStartsOn) !== null && S !== void 0 ? S : 0);
6184
6184
  if (!(x >= 0 && x <= 6))
6185
6185
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
6186
6186
  if (M === "")
@@ -6192,8 +6192,8 @@ function An(e, t, n, r) {
6192
6192
  }, $ = [new Kd()], U = M.match(Ic).map(function(ue) {
6193
6193
  var X = ue[0];
6194
6194
  if (X in yn) {
6195
- var fe = yn[X];
6196
- return fe(ue, j.formatLong);
6195
+ var ve = yn[X];
6196
+ return ve(ue, j.formatLong);
6197
6197
  }
6198
6198
  return ue;
6199
6199
  }).join("").match(Oc), h = [], B = hr(U), T;
@@ -6201,19 +6201,19 @@ function An(e, t, n, r) {
6201
6201
  var E = function() {
6202
6202
  var X = T.value;
6203
6203
  !(r != null && r.useAdditionalWeekYearTokens) && so(X) && La(X, M, e), !(r != null && r.useAdditionalDayOfYearTokens) && lo(X) && La(X, M, e);
6204
- var fe = X[0], de = Fc[fe];
6204
+ var ve = X[0], de = Fc[ve];
6205
6205
  if (de) {
6206
6206
  var N = de.incompatibleTokens;
6207
6207
  if (Array.isArray(N)) {
6208
6208
  var _ = h.find(function(ae) {
6209
- return N.includes(ae.token) || ae.token === fe;
6209
+ return N.includes(ae.token) || ae.token === ve;
6210
6210
  });
6211
6211
  if (_)
6212
6212
  throw new RangeError("The format string mustn't contain `".concat(_.fullToken, "` and `").concat(X, "` at the same time"));
6213
6213
  } else if (de.incompatibleTokens === "*" && h.length > 0)
6214
6214
  throw new RangeError("The format string mustn't contain `".concat(X, "` and any other token at the same time"));
6215
6215
  h.push({
6216
- token: fe,
6216
+ token: ve,
6217
6217
  fullToken: X
6218
6218
  });
6219
6219
  var ke = de.run(R, X, j.match, q);
@@ -6223,9 +6223,9 @@ function An(e, t, n, r) {
6223
6223
  };
6224
6224
  $.push(ke.setter), R = ke.rest;
6225
6225
  } else {
6226
- if (fe.match(Nc))
6227
- throw new RangeError("Format string contains an unescaped latin alphabet character `" + fe + "`");
6228
- if (X === "''" ? X = "'" : fe === "'" && (X = Mc(X)), R.indexOf(X) === 0)
6226
+ if (ve.match(Nc))
6227
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + ve + "`");
6228
+ if (X === "''" ? X = "'" : ve === "'" && (X = Mc(X)), R.indexOf(X) === 0)
6229
6229
  R = R.slice(X.length);
6230
6230
  else
6231
6231
  return {
@@ -6249,13 +6249,13 @@ function An(e, t, n, r) {
6249
6249
  return ue.priority;
6250
6250
  }).sort(function(ue, X) {
6251
6251
  return X - ue;
6252
- }).filter(function(ue, X, fe) {
6253
- return fe.indexOf(ue) === X;
6252
+ }).filter(function(ue, X, ve) {
6253
+ return ve.indexOf(ue) === X;
6254
6254
  }).map(function(ue) {
6255
6255
  return $.filter(function(X) {
6256
6256
  return X.priority === ue;
6257
- }).sort(function(X, fe) {
6258
- return fe.subPriority - X.subPriority;
6257
+ }).sort(function(X, ve) {
6258
+ return ve.subPriority - X.subPriority;
6259
6259
  });
6260
6260
  }).map(function(ue) {
6261
6261
  return ue[0];
@@ -6288,13 +6288,13 @@ function br(e, t) {
6288
6288
  }
6289
6289
  function Lc(e, t) {
6290
6290
  le(2, arguments);
6291
- var n = ve(t);
6291
+ var n = me(t);
6292
6292
  return xt(e, -n);
6293
6293
  }
6294
6294
  function Hc(e, t) {
6295
6295
  var n;
6296
6296
  le(1, arguments);
6297
- var r = ve((n = t == null ? void 0 : t.additionalDigits) !== null && n !== void 0 ? n : 2);
6297
+ var r = me((n = t == null ? void 0 : t.additionalDigits) !== null && n !== void 0 ? n : 2);
6298
6298
  if (r !== 2 && r !== 1 && r !== 0)
6299
6299
  throw new RangeError("additionalDigits must be 0, 1 or 2");
6300
6300
  if (!(typeof e == "string" || Object.prototype.toString.call(e) === "[object String]"))
@@ -6407,7 +6407,7 @@ function ep(e, t) {
6407
6407
  }
6408
6408
  function ho(e, t) {
6409
6409
  le(2, arguments);
6410
- var n = pe(e), r = ve(t), a = n.getFullYear(), o = n.getDate(), i = /* @__PURE__ */ new Date(0);
6410
+ var n = pe(e), r = me(t), a = n.getFullYear(), o = n.getDate(), i = /* @__PURE__ */ new Date(0);
6411
6411
  i.setFullYear(a, r, 15), i.setHours(0, 0, 0, 0);
6412
6412
  var l = Qd(i);
6413
6413
  return n.setMonth(r, Math.min(o, l)), n;
@@ -6416,47 +6416,47 @@ function Ee(e, t) {
6416
6416
  if (le(2, arguments), pt(t) !== "object" || t === null)
6417
6417
  throw new RangeError("values parameter must be an object");
6418
6418
  var n = pe(e);
6419
- return isNaN(n.getTime()) ? /* @__PURE__ */ new Date(NaN) : (t.year != null && n.setFullYear(t.year), t.month != null && (n = ho(n, t.month)), t.date != null && n.setDate(ve(t.date)), t.hours != null && n.setHours(ve(t.hours)), t.minutes != null && n.setMinutes(ve(t.minutes)), t.seconds != null && n.setSeconds(ve(t.seconds)), t.milliseconds != null && n.setMilliseconds(ve(t.milliseconds)), n);
6419
+ return isNaN(n.getTime()) ? /* @__PURE__ */ new Date(NaN) : (t.year != null && n.setFullYear(t.year), t.month != null && (n = ho(n, t.month)), t.date != null && n.setDate(me(t.date)), t.hours != null && n.setHours(me(t.hours)), t.minutes != null && n.setMinutes(me(t.minutes)), t.seconds != null && n.setSeconds(me(t.seconds)), t.milliseconds != null && n.setMilliseconds(me(t.milliseconds)), n);
6420
6420
  }
6421
6421
  function yo(e, t) {
6422
6422
  le(2, arguments);
6423
- var n = pe(e), r = ve(t);
6423
+ var n = pe(e), r = me(t);
6424
6424
  return n.setHours(r), n;
6425
6425
  }
6426
6426
  function Xn(e, t) {
6427
6427
  le(2, arguments);
6428
- var n = pe(e), r = ve(t);
6428
+ var n = pe(e), r = me(t);
6429
6429
  return n.setMilliseconds(r), n;
6430
6430
  }
6431
6431
  function bo(e, t) {
6432
6432
  le(2, arguments);
6433
- var n = pe(e), r = ve(t);
6433
+ var n = pe(e), r = me(t);
6434
6434
  return n.setMinutes(r), n;
6435
6435
  }
6436
6436
  function Yn(e, t) {
6437
6437
  le(2, arguments);
6438
- var n = pe(e), r = ve(t);
6438
+ var n = pe(e), r = me(t);
6439
6439
  return n.setSeconds(r), n;
6440
6440
  }
6441
6441
  function Ct(e, t) {
6442
6442
  le(2, arguments);
6443
- var n = pe(e), r = ve(t);
6443
+ var n = pe(e), r = me(t);
6444
6444
  return isNaN(n.getTime()) ? /* @__PURE__ */ new Date(NaN) : (n.setFullYear(r), n);
6445
6445
  }
6446
6446
  function na(e, t) {
6447
6447
  le(2, arguments);
6448
- var n = ve(t);
6448
+ var n = me(t);
6449
6449
  return gt(e, -n);
6450
6450
  }
6451
6451
  function tp(e, t) {
6452
6452
  if (le(2, arguments), !t || pt(t) !== "object")
6453
6453
  return /* @__PURE__ */ new Date(NaN);
6454
- var n = t.years ? ve(t.years) : 0, r = t.months ? ve(t.months) : 0, a = t.weeks ? ve(t.weeks) : 0, o = t.days ? ve(t.days) : 0, i = t.hours ? ve(t.hours) : 0, l = t.minutes ? ve(t.minutes) : 0, u = t.seconds ? ve(t.seconds) : 0, c = na(e, r + n * 12), d = Lc(c, o + a * 7), f = l + i * 60, v = u + f * 60, A = v * 1e3, S = new Date(d.getTime() - A);
6454
+ var n = t.years ? me(t.years) : 0, r = t.months ? me(t.months) : 0, a = t.weeks ? me(t.weeks) : 0, o = t.days ? me(t.days) : 0, i = t.hours ? me(t.hours) : 0, l = t.minutes ? me(t.minutes) : 0, u = t.seconds ? me(t.seconds) : 0, c = na(e, r + n * 12), d = Lc(c, o + a * 7), f = l + i * 60, v = u + f * 60, A = v * 1e3, S = new Date(d.getTime() - A);
6455
6455
  return S;
6456
6456
  }
6457
6457
  function Ao(e, t) {
6458
6458
  le(2, arguments);
6459
- var n = ve(t);
6459
+ var n = me(t);
6460
6460
  return Ln(e, -n);
6461
6461
  }
6462
6462
  function Pa() {
@@ -8388,7 +8388,7 @@ const rf = ({
8388
8388
  value: y.internalModelValue
8389
8389
  }) : Q("", !0),
8390
8390
  y.$slots["action-preview"] ? Q("", !0) : (m(), k(Pe, { key: 1 }, [
8391
- ut(me(M.value), 1)
8391
+ ut(fe(M.value), 1)
8392
8392
  ], 64))
8393
8393
  ], 8, vf)) : Q("", !0),
8394
8394
  D("div", mf, [
@@ -8408,7 +8408,7 @@ const rf = ({
8408
8408
  x[1] || (x[1] = ye((q) => y.$emit("close-picker"), ["enter"])),
8409
8409
  x[2] || (x[2] = ye((q) => y.$emit("close-picker"), ["space"]))
8410
8410
  ]
8411
- }, me(y.cancelText), 545)) : Q("", !0),
8411
+ }, fe(y.cancelText), 545)) : Q("", !0),
8412
8412
  b(a).showNow ? (m(), k("button", {
8413
8413
  key: 1,
8414
8414
  ref_key: "cancelButtonRef",
@@ -8420,7 +8420,7 @@ const rf = ({
8420
8420
  x[4] || (x[4] = ye((q) => y.$emit("select-now"), ["enter"])),
8421
8421
  x[5] || (x[5] = ye((q) => y.$emit("select-now"), ["space"]))
8422
8422
  ]
8423
- }, me(y.nowButtonLabel), 545)) : Q("", !0),
8423
+ }, fe(y.nowButtonLabel), 545)) : Q("", !0),
8424
8424
  b(a).showSelect ? (m(), k("button", {
8425
8425
  key: 2,
8426
8426
  ref_key: "selectButtonRef",
@@ -8433,7 +8433,7 @@ const rf = ({
8433
8433
  ye(j, ["space"])
8434
8434
  ],
8435
8435
  onClick: j
8436
- }, me(y.selectText), 41, gf)) : Q("", !0)
8436
+ }, fe(y.selectText), 41, gf)) : Q("", !0)
8437
8437
  ], 64))
8438
8438
  ])
8439
8439
  ], 64))
@@ -8583,7 +8583,7 @@ const rf = ({
8583
8583
  item: ee
8584
8584
  }) : Q("", !0),
8585
8585
  p.$slots.item ? Q("", !0) : (m(), k(Pe, { key: 1 }, [
8586
- ut(me(ee.text), 1)
8586
+ ut(fe(ee.text), 1)
8587
8587
  ], 64))
8588
8588
  ], 2)
8589
8589
  ], 42, Af))), 128))
@@ -8721,7 +8721,7 @@ const rf = ({
8721
8721
  year: e.year
8722
8722
  }) : Q("", !0),
8723
8723
  L.$slots.year ? Q("", !0) : (m(), k(Pe, { key: 1 }, [
8724
- ut(me(e.year), 1)
8724
+ ut(fe(e.year), 1)
8725
8725
  ], 64))
8726
8726
  ], 40, Cf),
8727
8727
  b(a)(b(l), e.instance) ? (m(), we(ha, {
@@ -9184,13 +9184,13 @@ const rf = ({
9184
9184
  const X = a.disabledTimesConfig(a.order, g === "hours" ? se : void 0);
9185
9185
  return X[g] ? !!((ue = X[g]) != null && ue.includes(se)) : !0;
9186
9186
  }, h = (g) => {
9187
- const se = a.is24 ? 24 : 12, ue = g === "hours" ? se : 60, X = +a[`${g}GridIncrement`], fe = g === "hours" && !a.is24 ? X : 0, de = [];
9188
- for (let N = fe; N < ue; N += X)
9187
+ const se = a.is24 ? 24 : 12, ue = g === "hours" ? se : 60, X = +a[`${g}GridIncrement`], ve = g === "hours" && !a.is24 ? X : 0, de = [];
9188
+ for (let N = ve; N < ue; N += X)
9189
9189
  de.push({ value: N, text: N < 10 ? `0${N}` : `${N}` });
9190
9190
  return g === "hours" && !a.is24 && de.push({ value: 0, text: "12" }), ra(de, (N) => ({ active: !1, disabled: c.value.times[g].includes(N.value) || !B(N.value, g) || U(g, N.value) || P(g, N.value) }));
9191
9191
  }, B = (g, se) => {
9192
- const ue = a.minTime ? F(sn(a.minTime)) : null, X = a.maxTime ? F(sn(a.maxTime)) : null, fe = F(sn(Y.value, se, g));
9193
- return ue && X ? (Sa(fe, X) || ea(fe, X)) && (wa(fe, ue) || ea(fe, ue)) : ue ? wa(fe, ue) || ea(fe, ue) : X ? Sa(fe, X) || ea(fe, X) : !0;
9192
+ const ue = a.minTime ? F(sn(a.minTime)) : null, X = a.maxTime ? F(sn(a.maxTime)) : null, ve = F(sn(Y.value, se, g));
9193
+ return ue && X ? (Sa(ve, X) || ea(ve, X)) && (wa(ve, ue) || ea(ve, ue)) : ue ? wa(ve, ue) || ea(ve, ue) : X ? Sa(ve, X) || ea(ve, X) : !0;
9194
9194
  }, T = (g) => a[`no${g[0].toUpperCase() + g.slice(1)}Overlay`], E = (g) => {
9195
9195
  T(g) || (A[g] = !A[g], A[g] || r("overlay-closed"));
9196
9196
  }, p = (g) => g === "hours" ? ht : g === "minutes" ? Dt : aa, s = (g, se = !0) => {
@@ -9207,7 +9207,7 @@ const rf = ({
9207
9207
  if (g && a.arrowNavigation) {
9208
9208
  Array.isArray(W.value[se]) ? W.value[se][ue] = g : W.value[se] = [g];
9209
9209
  const X = W.value.reduce(
9210
- (fe, de) => de.map((N, _) => [...fe[_] || [], de[_]]),
9210
+ (ve, de) => de.map((N, _) => [...ve[_] || [], de[_]]),
9211
9211
  []
9212
9212
  );
9213
9213
  i(a.closeTimePickerBtn), L.value && (X[1] = X[1].concat(L.value)), o(X, a.order);
@@ -9216,10 +9216,10 @@ const rf = ({
9216
9216
  return t({ openChildCmp: Z }), (g, se) => {
9217
9217
  var ue;
9218
9218
  return g.disabled ? Q("", !0) : (m(), k("div", Bf, [
9219
- (m(!0), k(Pe, null, Re(x.value, (X, fe) => {
9219
+ (m(!0), k(Pe, null, Re(x.value, (X, ve) => {
9220
9220
  var de, N, _;
9221
9221
  return m(), k("div", {
9222
- key: fe,
9222
+ key: ve,
9223
9223
  class: ne(y.value)
9224
9224
  }, [
9225
9225
  X.separator ? (m(), k(Pe, { key: 0 }, [
@@ -9227,7 +9227,7 @@ const rf = ({
9227
9227
  ], 64)) : (m(), k(Pe, { key: 1 }, [
9228
9228
  D("button", {
9229
9229
  ref_for: !0,
9230
- ref: (ke) => ee(ke, fe, 0),
9230
+ ref: (ke) => ee(ke, ve, 0),
9231
9231
  type: "button",
9232
9232
  class: ne({
9233
9233
  dp__btn: !0,
@@ -9254,7 +9254,7 @@ const rf = ({
9254
9254
  ], 42, Ff),
9255
9255
  D("button", {
9256
9256
  ref_for: !0,
9257
- ref: (ke) => ee(ke, fe, 1),
9257
+ ref: (ke) => ee(ke, ve, 1),
9258
9258
  type: "button",
9259
9259
  "aria-label": (N = b(l)) == null ? void 0 : N.openTpOverlay(X.type),
9260
9260
  class: ne({
@@ -9278,12 +9278,12 @@ const rf = ({
9278
9278
  value: $.value(X.type).value
9279
9279
  }) : Q("", !0),
9280
9280
  g.$slots[X.type] ? Q("", !0) : (m(), k(Pe, { key: 1 }, [
9281
- ut(me($.value(X.type).text), 1)
9281
+ ut(fe($.value(X.type).text), 1)
9282
9282
  ], 64))
9283
9283
  ], 42, Uf),
9284
9284
  D("button", {
9285
9285
  ref_for: !0,
9286
- ref: (ke) => ee(ke, fe, 2),
9286
+ ref: (ke) => ee(ke, ve, 2),
9287
9287
  type: "button",
9288
9288
  class: ne({
9289
9289
  dp__btn: !0,
@@ -9331,10 +9331,10 @@ const rf = ({
9331
9331
  ye(He(V, ["prevent"]), ["enter"]),
9332
9332
  ye(He(V, ["prevent"]), ["space"])
9333
9333
  ]
9334
- }, me(S.value), 41, Lf))
9334
+ }, fe(S.value), 41, Lf))
9335
9335
  ])),
9336
- (m(!0), k(Pe, null, Re(q.value, (X, fe) => (m(), we(zt, {
9337
- key: fe,
9336
+ (m(!0), k(Pe, null, Re(q.value, (X, ve) => (m(), we(zt, {
9337
+ key: ve,
9338
9338
  name: b(f)(A[X.type]),
9339
9339
  css: b(v)
9340
9340
  }, {
@@ -9842,7 +9842,7 @@ const rf = ({
9842
9842
  value: a[O.type]
9843
9843
  }) : Q("", !0),
9844
9844
  s.$slots[O.type] ? Q("", !0) : (m(), k(Pe, { key: 1 }, [
9845
- ut(me(O.text), 1)
9845
+ ut(fe(O.text), 1)
9846
9846
  ], 64))
9847
9847
  ], 40, Kf),
9848
9848
  Se(zt, {
@@ -10004,9 +10004,9 @@ const rf = ({
10004
10004
  })), q = z(() => (O) => a.hideOffsetDates ? O.current : !0), $ = async (O, g, se) => {
10005
10005
  var ue, X;
10006
10006
  if (r("set-hover-date", O), (X = (ue = O.marker) == null ? void 0 : ue.tooltip) != null && X.length) {
10007
- const fe = ze(A.value[g][se]);
10008
- if (fe) {
10009
- const { width: de, height: N } = fe.getBoundingClientRect();
10007
+ const ve = ze(A.value[g][se]);
10008
+ if (ve) {
10009
+ const { width: de, height: N } = ve.getBoundingClientRect();
10010
10010
  f.value = O.value;
10011
10011
  let _ = { left: `${de / 2}px` }, ke = -50;
10012
10012
  if (await Lt(), I.value[0]) {
@@ -10057,7 +10057,7 @@ const rf = ({
10057
10057
  }, [
10058
10058
  (m(), k(Pe, { key: 0 }, [
10059
10059
  D("div", Zf, [
10060
- O.weekNumbers ? (m(), k("div", Gf, me(O.weekNumName), 1)) : Q("", !0),
10060
+ O.weekNumbers ? (m(), k("div", Gf, fe(O.weekNumName), 1)) : Q("", !0),
10061
10061
  (m(!0), k(Pe, null, Re(H.value, (ue, X) => (m(), k("div", {
10062
10062
  key: X,
10063
10063
  class: "dp__calendar_header_item",
@@ -10069,7 +10069,7 @@ const rf = ({
10069
10069
  index: X
10070
10070
  }) : Q("", !0),
10071
10071
  O.$slots["calendar-header"] ? Q("", !0) : (m(), k(Pe, { key: 1 }, [
10072
- ut(me(ue), 1)
10072
+ ut(fe(ue), 1)
10073
10073
  ], 64))
10074
10074
  ]))), 128))
10075
10075
  ]),
@@ -10087,21 +10087,21 @@ const rf = ({
10087
10087
  role: "rowgroup",
10088
10088
  "aria-label": ((ue = b(u)) == null ? void 0 : ue.calendarDays) || void 0
10089
10089
  }, [
10090
- (m(!0), k(Pe, null, Re(P.value, (X, fe) => (m(), k("div", {
10091
- key: fe,
10090
+ (m(!0), k(Pe, null, Re(P.value, (X, ve) => (m(), k("div", {
10091
+ key: ve,
10092
10092
  class: "dp__calendar_row",
10093
10093
  role: "row"
10094
10094
  }, [
10095
10095
  O.weekNumbers ? (m(), k("div", e0, [
10096
- D("div", t0, me(V(X.days)), 1)
10096
+ D("div", t0, fe(V(X.days)), 1)
10097
10097
  ])) : Q("", !0),
10098
10098
  (m(!0), k(Pe, null, Re(X.days, (de, N) => {
10099
10099
  var _, ke, ae;
10100
10100
  return m(), k("div", {
10101
10101
  id: de.value.toISOString().split("T")[0],
10102
10102
  ref_for: !0,
10103
- ref: (Ne) => p(Ne, fe, N),
10104
- key: N + fe,
10103
+ ref: (Ne) => p(Ne, ve, N),
10104
+ key: N + ve,
10105
10105
  role: "gridcell",
10106
10106
  class: "dp__calendar_item",
10107
10107
  "aria-selected": de.classData.dp__active_date || de.classData.dp__range_start || de.classData.dp__range_start,
@@ -10113,7 +10113,7 @@ const rf = ({
10113
10113
  ye((Ne) => O.$emit("select-date", de), ["enter"]),
10114
10114
  ye((Ne) => O.$emit("handle-space", de), ["space"])
10115
10115
  ],
10116
- onMouseenter: (Ne) => $(de, fe, N),
10116
+ onMouseenter: (Ne) => $(de, ve, N),
10117
10117
  onMouseleave: (Ne) => U(de)
10118
10118
  }, [
10119
10119
  D("div", {
@@ -10125,7 +10125,7 @@ const rf = ({
10125
10125
  date: de.value
10126
10126
  }) : Q("", !0),
10127
10127
  O.$slots.day ? Q("", !0) : (m(), k(Pe, { key: 1 }, [
10128
- ut(me(de.text), 1)
10128
+ ut(fe(de.text), 1)
10129
10129
  ], 64)),
10130
10130
  de.marker && q.value(de) ? (m(), k(Pe, { key: 2 }, [
10131
10131
  O.$slots.marker ? ie(O.$slots, "marker", {
@@ -10166,7 +10166,7 @@ const rf = ({
10166
10166
  class: "dp__tooltip_mark",
10167
10167
  style: mt(Ne.color ? { backgroundColor: Ne.color } : {})
10168
10168
  }, null, 4),
10169
- D("div", null, me(Ne.text), 1)
10169
+ D("div", null, fe(Ne.text), 1)
10170
10170
  ], 64))
10171
10171
  ]))), 128)),
10172
10172
  D("div", {
@@ -10327,7 +10327,7 @@ const rf = ({
10327
10327
  }
10328
10328
  };
10329
10329
  return Tt(he), g(ge, Te, G, be);
10330
- }, X = (w) => (o.value = Va(J(w.value), e.timezone, e.weekStart), t("date-update", w.value), j()), fe = (w) => {
10330
+ }, X = (w) => (o.value = Va(J(w.value), e.timezone, e.weekStart), t("date-update", w.value), j()), ve = (w) => {
10331
10331
  const K = Mt(J(w.value), l.hours, l.minutes, la());
10332
10332
  t("date-update", K), e.multiDates ? ar(K, o, e.multiDatesLimit) : o.value = K, r(), Lt().then(() => {
10333
10333
  j();
@@ -10374,7 +10374,7 @@ const rf = ({
10374
10374
  if (e.weekPicker)
10375
10375
  return X(w);
10376
10376
  if (!e.range)
10377
- return fe(w);
10377
+ return ve(w);
10378
10378
  Vr(l.hours) && Vr(l.minutes) && !e.multiDates && (lt(w, K), dt());
10379
10379
  }, za = (w, K) => {
10380
10380
  var ge;
@@ -10757,7 +10757,7 @@ const rf = ({
10757
10757
  value: M.value,
10758
10758
  text: M.text
10759
10759
  }) : (m(), k(Pe, { key: 1 }, [
10760
- ut(me(M.text), 1)
10760
+ ut(fe(M.text), 1)
10761
10761
  ], 64))
10762
10762
  ], 42, u0)
10763
10763
  ]))), 128))
@@ -10889,7 +10889,7 @@ const rf = ({
10889
10889
  (ke = I.value) != null && ke[N] && ((ae = I.value) == null || ae[N](..._));
10890
10890
  }, X = () => {
10891
10891
  ue("selectCurrentDate");
10892
- }, fe = (N, _) => {
10892
+ }, ve = (N, _) => {
10893
10893
  ue("presetDate", N, _);
10894
10894
  }, de = () => {
10895
10895
  ue("clearHoverDate");
@@ -10942,7 +10942,7 @@ const rf = ({
10942
10942
  (m(!0), k(Pe, null, Re(N.presetDates, (ae, Ne) => (m(), k(Pe, { key: Ne }, [
10943
10943
  ae.slot ? ie(N.$slots, ae.slot, {
10944
10944
  key: 0,
10945
- presetDate: fe,
10945
+ presetDate: ve,
10946
10946
  label: ae.label,
10947
10947
  value: ae.value
10948
10948
  }) : (m(), k("button", {
@@ -10950,12 +10950,12 @@ const rf = ({
10950
10950
  type: "button",
10951
10951
  style: mt(ae.style || {}),
10952
10952
  class: "dp__btn dp--preset-range",
10953
- onClick: He((lt) => fe(ae.value, ae.noTz), ["prevent"]),
10953
+ onClick: He((lt) => ve(ae.value, ae.noTz), ["prevent"]),
10954
10954
  onKeydown: [
10955
- ye(He((lt) => fe(ae.value, ae.noTz), ["prevent"]), ["enter"]),
10956
- ye(He((lt) => fe(ae.value, ae.noTz), ["prevent"]), ["space"])
10955
+ ye(He((lt) => ve(ae.value, ae.noTz), ["prevent"]), ["enter"]),
10956
+ ye(He((lt) => ve(ae.value, ae.noTz), ["prevent"]), ["space"])
10957
10957
  ]
10958
- }, me(ae.label), 45, v0))
10958
+ }, fe(ae.label), 45, v0))
10959
10959
  ], 64))), 128))
10960
10960
  ])) : Q("", !0),
10961
10961
  D("div", {
@@ -11089,14 +11089,14 @@ const rf = ({
11089
11089
  const r = n, a = e, o = jt(), i = te(!1), l = ya(a, "modelValue"), u = ya(a, "timezone"), c = te(null), d = te(null), f = te(null), v = te(!1), A = te(null), S = te(!1), { setMenuFocused: L, setShiftKey: W } = Vo(), { clearArrowNav: F } = Ht(), { mapDatesArrToMap: I, validateDate: Y, isValidTime: P } = Zt(a), { defaultedTransitions: H, defaultedTextInput: R, defaultedInline: M, defaultedConfig: ce } = Ke(a), { menuTransition: j, showTransition: y } = Ta(H);
11090
11090
  it(() => {
11091
11091
  V(a.modelValue), Lt().then(() => {
11092
- M.value.enabled || (E(A.value).addEventListener("scroll", fe), window.addEventListener("resize", de));
11092
+ M.value.enabled || (E(A.value).addEventListener("scroll", ve), window.addEventListener("resize", de));
11093
11093
  }), M.value.enabled && (i.value = !0), ce.value.tabOutClosesMenu && document.addEventListener("keyup", N);
11094
11094
  });
11095
11095
  const x = z(() => I());
11096
11096
  xn(() => {
11097
11097
  if (!M.value.enabled) {
11098
11098
  const G = E(A.value);
11099
- G && G.removeEventListener("scroll", fe), window.removeEventListener("resize", de);
11099
+ G && G.removeEventListener("scroll", ve), window.removeEventListener("resize", de);
11100
11100
  }
11101
11101
  ce.value.tabOutClosesMenu && document.removeEventListener("keyup", N);
11102
11102
  });
@@ -11135,7 +11135,7 @@ const rf = ({
11135
11135
  ), se = z(() => a.dark ? "dp__theme_dark" : "dp__theme_light"), ue = z(() => a.teleport ? {
11136
11136
  to: typeof a.teleport == "boolean" ? "body" : a.teleport,
11137
11137
  disabled: M.value.enabled
11138
- } : { class: "dp__outer_menu_wrap" }), X = z(() => M.value.enabled && (a.timePicker || a.monthPicker || a.yearPicker || a.quarterPicker)), fe = () => {
11138
+ } : { class: "dp__outer_menu_wrap" }), X = z(() => M.value.enabled && (a.timePicker || a.monthPicker || a.yearPicker || a.quarterPicker)), ve = () => {
11139
11139
  i.value && (ce.value.closeOnScroll ? dt() : T());
11140
11140
  }, de = () => {
11141
11141
  i.value && T();
@@ -11196,7 +11196,7 @@ const rf = ({
11196
11196
  selectDate: Ne,
11197
11197
  clearValue: ke,
11198
11198
  openMenu: _,
11199
- onScroll: fe,
11199
+ onScroll: ve,
11200
11200
  formatInputValue: ee,
11201
11201
  // exposed for testing purposes
11202
11202
  updateInternalModelValue: ja,
@@ -11450,12 +11450,12 @@ function U0(e, t, n, r, a, o) {
11450
11450
  D("label", {
11451
11451
  class: ne(["fusion-date-picker label", e.stateClasses]),
11452
11452
  for: e.id
11453
- }, me(e.label), 11, F0),
11453
+ }, fe(e.label), 11, F0),
11454
11454
  e.helperLabel ? (m(), k("div", {
11455
11455
  key: 0,
11456
11456
  class: ne(["fusion-date-picker helper-label", e.stateClasses]),
11457
11457
  "data-test": "helper-label"
11458
- }, me(e.helperLabel), 3)) : Q("", !0),
11458
+ }, fe(e.helperLabel), 3)) : Q("", !0),
11459
11459
  Se(l, {
11460
11460
  id: e.id,
11461
11461
  modelValue: e.dateInParent,
@@ -11490,11 +11490,11 @@ function U0(e, t, n, r, a, o) {
11490
11490
  class: "error-icon",
11491
11491
  "data-test": "error-icon"
11492
11492
  }),
11493
- D("span", I0, me(e.errorLabel), 1)
11493
+ D("span", I0, fe(e.errorLabel), 1)
11494
11494
  ])) : Q("", !0)
11495
11495
  ], 8, B0);
11496
11496
  }
11497
- const uv = /* @__PURE__ */ Le(x0, [["render", U0], ["__scopeId", "data-v-1cc3fea9"]]), Q0 = Ce({
11497
+ const dv = /* @__PURE__ */ Le(x0, [["render", U0], ["__scopeId", "data-v-1cc3fea9"]]), Q0 = Ce({
11498
11498
  name: "FusionSearchableInput",
11499
11499
  components: {
11500
11500
  SVGSearch: zr,
@@ -11670,12 +11670,12 @@ function M0(e, t, n, r, a, o) {
11670
11670
  class: ne(["fusion-searchable-input label", e.stateClasses]),
11671
11671
  for: e.id,
11672
11672
  "data-test": "label"
11673
- }, me(e.label), 11, N0)) : Q("", !0),
11673
+ }, fe(e.label), 11, N0)) : Q("", !0),
11674
11674
  e.helperLabel ? (m(), k("div", {
11675
11675
  key: 1,
11676
11676
  class: ne(["fusion-searchable-input helper-label", e.stateClasses]),
11677
11677
  "data-test": "helper-label"
11678
- }, me(e.helperLabel), 3)) : Q("", !0),
11678
+ }, fe(e.helperLabel), 3)) : Q("", !0),
11679
11679
  Se(l, {
11680
11680
  id: "fusion-searchable-input-field",
11681
11681
  name: "fusion-searchable-input",
@@ -11721,7 +11721,7 @@ function M0(e, t, n, r, a, o) {
11721
11721
  }, null, 8, ["select-id", "options", "search-text", "search-placeholder", "search-loading", "search-error-title", "search-error-description", "selected", "onHandle:select", "onHandle:close"])) : Q("", !0)
11722
11722
  ], 8, V0);
11723
11723
  }
11724
- const dv = /* @__PURE__ */ Le(Q0, [["render", M0], ["__scopeId", "data-v-002807fa"]]), L0 = Ce({
11724
+ const cv = /* @__PURE__ */ Le(Q0, [["render", M0], ["__scopeId", "data-v-002807fa"]]), L0 = Ce({
11725
11725
  name: "SVGDecrement"
11726
11726
  }), H0 = {
11727
11727
  width: "21",
@@ -11787,6 +11787,14 @@ const G0 = /* @__PURE__ */ Le(Y0, [["render", Z0]]), _0 = Ce({
11787
11787
  name: "FusionNumericInputStepper",
11788
11788
  components: { SVGDecrement: X0, FusionButton: ri, SVGIncrement: G0 },
11789
11789
  props: {
11790
+ label: {
11791
+ type: String,
11792
+ default: ""
11793
+ },
11794
+ helperLabel: {
11795
+ type: String,
11796
+ default: ""
11797
+ },
11790
11798
  disabled: {
11791
11799
  type: Boolean,
11792
11800
  default: !1
@@ -11846,57 +11854,69 @@ const G0 = /* @__PURE__ */ Le(Y0, [["render", Z0]]), _0 = Ce({
11846
11854
  }
11847
11855
  }
11848
11856
  });
11849
- const $0 = ["data-test"];
11850
- function ev(e, t, n, r, a, o) {
11857
+ const $0 = ["data-test"], ev = { class: "fusion-numeric-input-stepper wrapper" };
11858
+ function tv(e, t, n, r, a, o) {
11851
11859
  const i = xe("SVGDecrement"), l = xe("FusionButton"), u = xe("SVGIncrement");
11852
11860
  return m(), k("div", {
11853
- class: "fusion-numeric-input-stepper container",
11861
+ class: "fusion-numeric-input-stepper wrapper",
11854
11862
  "data-test": e.dataTest
11855
11863
  }, [
11856
- Se(l, {
11857
- disabled: e.isMinDisabled || e.disabled,
11858
- label: "",
11859
- "variant-style": "outline",
11860
- "data-test": "fusion-numeric-input-stepper-decrement-btn",
11861
- onClick: e.decreaseValue
11862
- }, {
11863
- icon: Ae(() => [
11864
- Se(i)
11865
- ]),
11866
- _: 1
11867
- }, 8, ["disabled", "onClick"]),
11868
- D("span", {
11869
- "data-text": "fusion-numeric-input-stepper-value",
11870
- class: ne(["fusion-numeric-input-stepper value", e.stateClasses])
11871
- }, me(e.state.value), 3),
11872
- Se(l, {
11873
- disabled: e.isMaxDisabled || e.disabled,
11874
- label: "",
11875
- "variant-style": "outline",
11876
- "data-test": "fusion-numeric-input-stepper-increment-btn",
11877
- onClick: e.increaseValue
11878
- }, {
11879
- icon: Ae(() => [
11880
- Se(u)
11881
- ]),
11882
- _: 1
11883
- }, 8, ["disabled", "onClick"])
11864
+ e.label ? (m(), k("label", {
11865
+ key: 0,
11866
+ class: ne(["fusion-numeric-input-stepper label", e.stateClasses]),
11867
+ "data-test": "label"
11868
+ }, fe(e.label), 3)) : Q("", !0),
11869
+ e.helperLabel ? (m(), k("div", {
11870
+ key: 1,
11871
+ class: ne(["fusion-numeric-input-stepper helper-label", e.stateClasses]),
11872
+ "data-test": "helper-label"
11873
+ }, fe(e.helperLabel), 3)) : Q("", !0),
11874
+ D("div", ev, [
11875
+ Se(l, {
11876
+ disabled: e.isMinDisabled || e.disabled,
11877
+ label: "",
11878
+ "variant-style": "outline",
11879
+ "data-test": "fusion-numeric-input-stepper-decrement-btn",
11880
+ onClick: e.decreaseValue
11881
+ }, {
11882
+ icon: Ae(() => [
11883
+ Se(i)
11884
+ ]),
11885
+ _: 1
11886
+ }, 8, ["disabled", "onClick"]),
11887
+ D("span", {
11888
+ "data-text": "fusion-numeric-input-stepper-value",
11889
+ class: ne(["fusion-numeric-input-stepper value", e.stateClasses])
11890
+ }, fe(e.state.value), 3),
11891
+ Se(l, {
11892
+ disabled: e.isMaxDisabled || e.disabled,
11893
+ label: "",
11894
+ "variant-style": "outline",
11895
+ "data-test": "fusion-numeric-input-stepper-increment-btn",
11896
+ onClick: e.increaseValue
11897
+ }, {
11898
+ icon: Ae(() => [
11899
+ Se(u)
11900
+ ]),
11901
+ _: 1
11902
+ }, 8, ["disabled", "onClick"])
11903
+ ])
11884
11904
  ], 8, $0);
11885
11905
  }
11886
- const cv = /* @__PURE__ */ Le(_0, [["render", ev], ["__scopeId", "data-v-ed6add95"]]);
11906
+ const pv = /* @__PURE__ */ Le(_0, [["render", tv], ["__scopeId", "data-v-14838290"]]);
11887
11907
  export {
11888
- sv as FusionBanner,
11908
+ uv as FusionBanner,
11889
11909
  ri as FusionButton,
11890
11910
  Vi as FusionCheckbox,
11891
- uv as FusionDatePicker,
11911
+ dv as FusionDatePicker,
11892
11912
  On as FusionInput,
11893
11913
  Xr as FusionLoadingSpinner,
11894
- cv as FusionNumericInputStepper,
11895
- iv as FusionPasswordInput,
11896
- lv as FusionPhoneInput,
11897
- nv as FusionRadio,
11898
- dv as FusionSearchableInput,
11899
- ov as FusionSelect,
11900
- rv as FusionTextLink,
11901
- av as FusionTextarea
11914
+ pv as FusionNumericInputStepper,
11915
+ lv as FusionPasswordInput,
11916
+ sv as FusionPhoneInput,
11917
+ rv as FusionRadio,
11918
+ cv as FusionSearchableInput,
11919
+ iv as FusionSelect,
11920
+ ov as FusionTextLink,
11921
+ nv as FusionTextarea
11902
11922
  };