@oub/fusion 0.2.80 → 0.2.81

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, openBlock as d, createElementBlock as v, createStaticVNode as $o, ref as ae, resolveComponent as fe, normalizeClass as W, createBlock as ue, renderSlot as G, createTextVNode as dt, toDisplayString as oe, createElementVNode as g, createCommentVNode as S, withDirectives as Qt, withKeys as ke, vModelText as Xr, createVNode as be, resolveDynamicComponent as Rt, withCtx as ge, getCurrentScope as zr, onScopeDispose as Kr, unref as A, toRef as ba, readonly as ei, customRef as ti, watch as ct, h as Wr, computed as j, vModelDynamic as ai, mergeProps as ze, Fragment as Te, renderList as Le, createSlots as et, pushScopeId as Un, popScopeId as Vn, withScopeId as ni, Transition as Gt, vShow as ha, reactive as Ta, useSlots as Zt, onMounted as it, nextTick as Ht, onUnmounted as Qn, isRef as pr, normalizeProps as Ge, guardReactiveProps as rt, Teleport as ri, render as fr, withModifiers as Me, normalizeStyle as mt, onBeforeUpdate as oi, useCssVars as ii } from "vue";
1
+ import { defineComponent as ce, openBlock as d, createElementBlock as v, createStaticVNode as $o, ref as ae, resolveComponent as fe, normalizeClass as W, createBlock as ue, renderSlot as G, createTextVNode as ct, toDisplayString as oe, createElementVNode as g, createCommentVNode as S, withDirectives as Qt, withKeys as ke, vModelText as Xr, createVNode as be, resolveDynamicComponent as Rt, withCtx as ge, getCurrentScope as zr, onScopeDispose as Kr, unref as A, toRef as ba, readonly as ei, customRef as ti, watch as pt, h as Wr, computed as j, vModelDynamic as ai, mergeProps as ze, Fragment as Te, renderList as Le, createSlots as et, pushScopeId as Un, popScopeId as Vn, withScopeId as ni, Transition as Gt, vShow as ha, reactive as Ta, useSlots as Zt, onMounted as it, nextTick as Ht, onUnmounted as Qn, isRef as pr, normalizeProps as Ge, guardReactiveProps as rt, Teleport as ri, render as fr, withModifiers as Me, normalizeStyle as dt, onBeforeUpdate as oi, useCssVars as ii } from "vue";
2
2
  const si = ce({
3
3
  name: "FusionLoadingSpinner",
4
4
  props: {
@@ -163,7 +163,7 @@ function mi(e, t, n, r, a, o) {
163
163
  "spinner-colour": e.spinnerColourValue
164
164
  }, null, 8, ["spinner-colour"])) : (d(), v("span", vi, [
165
165
  G(e.$slots, "icon"),
166
- dt(" " + oe(e.label), 1)
166
+ ct(" " + oe(e.label), 1)
167
167
  ]))
168
168
  ], 42, fi);
169
169
  }
@@ -740,7 +740,7 @@ function ns(e, t, n, r, a, o) {
740
740
  onFocus: t[1] || (t[1] = (i) => e.$emit("input:focus", i))
741
741
  }, {
742
742
  default: ge(() => [
743
- dt(oe(e.label) + " ", 1),
743
+ ct(oe(e.label) + " ", 1),
744
744
  e.$slots.icon ? (d(), v("span", {
745
745
  key: 0,
746
746
  class: W(["fusion-text-link-icon", e.size === "small" ? "small-icon" : "regular-icon"]),
@@ -787,7 +787,7 @@ function an(...e) {
787
787
  Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
788
788
  const o = [], i = () => {
789
789
  o.forEach((c) => c()), o.length = 0;
790
- }, s = (c, m, h, w) => (c.addEventListener(m, h, w), () => c.removeEventListener(m, h, w)), u = ct(
790
+ }, s = (c, m, h, w) => (c.addEventListener(m, h, w), () => c.removeEventListener(m, h, w)), u = pt(
791
791
  () => [ma(t), zt(a)],
792
792
  ([c, m]) => {
793
793
  if (i(), !c)
@@ -869,7 +869,7 @@ function ds(...e) {
869
869
  Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
870
870
  const o = [], i = () => {
871
871
  o.forEach((c) => c()), o.length = 0;
872
- }, s = (c, m, h, w) => (c.addEventListener(m, h, w), () => c.removeEventListener(m, h, w)), u = ct(
872
+ }, s = (c, m, h, w) => (c.addEventListener(m, h, w), () => c.removeEventListener(m, h, w)), u = pt(
873
873
  () => [ls(t), zt(a)],
874
874
  ([c, m]) => {
875
875
  if (i(), !c)
@@ -905,7 +905,7 @@ const Ua = /* @__PURE__ */ new WeakMap();
905
905
  function ps(e, t = !1) {
906
906
  const n = ae(t);
907
907
  let r = null, a;
908
- ct(is(e), (s) => {
908
+ pt(is(e), (s) => {
909
909
  const u = nn(zt(s));
910
910
  if (u) {
911
911
  const p = u;
@@ -946,7 +946,7 @@ function fs() {
946
946
  return;
947
947
  e = !0;
948
948
  const a = ps(n, r.value);
949
- ct(t, (o) => a.value = o);
949
+ pt(t, (o) => a.value = o);
950
950
  };
951
951
  }
952
952
  fs();
@@ -1548,7 +1548,7 @@ function pl(e, t, n, r, a, o) {
1548
1548
  onKeydown: (D) => e.handleKeydownSelect(D, h)
1549
1549
  }, et({
1550
1550
  content: ge(() => [
1551
- dt(oe(h.label), 1)
1551
+ ct(oe(h.label), 1)
1552
1552
  ]),
1553
1553
  _: 2
1554
1554
  }, [
@@ -3272,13 +3272,13 @@ function Yu(e, t, n, r, a, o) {
3272
3272
  });
3273
3273
  }
3274
3274
  const Ah = /* @__PURE__ */ he(Eu, [["render", Yu], ["__scopeId", "data-v-d1afd31b"]]);
3275
- function pt(e) {
3275
+ function ft(e) {
3276
3276
  "@babel/helpers - typeof";
3277
- return pt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
3277
+ return ft = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
3278
3278
  return typeof t;
3279
3279
  } : function(t) {
3280
3280
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3281
- }, pt(e);
3281
+ }, ft(e);
3282
3282
  }
3283
3283
  function we(e) {
3284
3284
  if (e === null || e === !0 || e === !1)
@@ -3293,7 +3293,7 @@ function le(e, t) {
3293
3293
  function ye(e) {
3294
3294
  le(1, arguments);
3295
3295
  var t = Object.prototype.toString.call(e);
3296
- return e instanceof Date || pt(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
3296
+ return e instanceof Date || ft(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
3297
3297
  }
3298
3298
  function Ft(e, t) {
3299
3299
  le(2, arguments);
@@ -3313,7 +3313,7 @@ function ht(e, t) {
3313
3313
  return a >= i ? o : (n.setFullYear(o.getFullYear(), o.getMonth(), a), n);
3314
3314
  }
3315
3315
  function so(e, t) {
3316
- if (le(2, arguments), !t || pt(t) !== "object")
3316
+ if (le(2, arguments), !t || ft(t) !== "object")
3317
3317
  return /* @__PURE__ */ new Date(NaN);
3318
3318
  var n = t.years ? we(t.years) : 0, r = t.months ? we(t.months) : 0, a = t.weeks ? we(t.weeks) : 0, o = t.days ? we(t.days) : 0, i = t.hours ? we(t.hours) : 0, s = t.minutes ? we(t.minutes) : 0, u = t.seconds ? we(t.seconds) : 0, p = ye(e), c = r || n ? ht(p, r + n * 12) : p, m = o || a ? Ft(c, o + a * 7) : c, h = s + i * 60, w = u + h * 60, D = w * 1e3, L = new Date(m.getTime() + D);
3319
3319
  return L;
@@ -3384,7 +3384,7 @@ function Xn(e, t) {
3384
3384
  }
3385
3385
  var zn = 6e4, Kn = 36e5, ad = 1e3;
3386
3386
  function lo(e) {
3387
- return le(1, arguments), e instanceof Date || pt(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
3387
+ return le(1, arguments), e instanceof Date || ft(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
3388
3388
  }
3389
3389
  function ga(e) {
3390
3390
  if (le(1, arguments), !lo(e) && typeof e != "number")
@@ -4874,7 +4874,7 @@ function kc() {
4874
4874
  }
4875
4875
  }
4876
4876
  function Ac(e, t) {
4877
- if (t && (pt(t) === "object" || typeof t == "function"))
4877
+ if (t && (ft(t) === "object" || typeof t == "function"))
4878
4878
  return t;
4879
4879
  if (t !== void 0)
4880
4880
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -4897,12 +4897,12 @@ function xe(e, t) {
4897
4897
  throw new TypeError("Cannot call a class as a function");
4898
4898
  }
4899
4899
  function wc(e, t) {
4900
- if (pt(e) !== "object" || e === null)
4900
+ if (ft(e) !== "object" || e === null)
4901
4901
  return e;
4902
4902
  var n = e[Symbol.toPrimitive];
4903
4903
  if (n !== void 0) {
4904
4904
  var r = n.call(e, t || "default");
4905
- if (pt(r) !== "object")
4905
+ if (ft(r) !== "object")
4906
4906
  return r;
4907
4907
  throw new TypeError("@@toPrimitive must return a primitive value.");
4908
4908
  }
@@ -4910,7 +4910,7 @@ function wc(e, t) {
4910
4910
  }
4911
4911
  function bo(e) {
4912
4912
  var t = wc(e, "string");
4913
- return pt(t) === "symbol" ? t : String(t);
4913
+ return ft(t) === "symbol" ? t : String(t);
4914
4914
  }
4915
4915
  function Cr(e, t) {
4916
4916
  for (var n = 0; n < t.length; n++) {
@@ -6619,7 +6619,7 @@ function Dn(e, t, n, r) {
6619
6619
  };
6620
6620
  for (x.s(); !(B = x.n()).done; ) {
6621
6621
  var f = q();
6622
- if (pt(f) === "object")
6622
+ if (ft(f) === "object")
6623
6623
  return f.v;
6624
6624
  }
6625
6625
  } catch (pe) {
@@ -6797,7 +6797,7 @@ function Do(e, t) {
6797
6797
  return n.setMonth(r, Math.min(o, s)), n;
6798
6798
  }
6799
6799
  function qe(e, t) {
6800
- if (le(2, arguments), pt(t) !== "object" || t === null)
6800
+ if (le(2, arguments), ft(t) !== "object" || t === null)
6801
6801
  throw new RangeError("values parameter must be an object");
6802
6802
  var n = ye(e);
6803
6803
  return isNaN(n.getTime()) ? /* @__PURE__ */ new Date(NaN) : (t.year != null && n.setFullYear(t.year), t.month != null && (n = Do(n, t.month)), t.date != null && n.setDate(we(t.date)), t.hours != null && n.setHours(we(t.hours)), t.minutes != null && n.setMinutes(we(t.minutes)), t.seconds != null && n.setSeconds(we(t.seconds)), t.milliseconds != null && n.setMilliseconds(we(t.milliseconds)), n);
@@ -6833,7 +6833,7 @@ function oa(e, t) {
6833
6833
  return ht(e, -n);
6834
6834
  }
6835
6835
  function Up(e, t) {
6836
- if (le(2, arguments), !t || pt(t) !== "object")
6836
+ if (le(2, arguments), !t || ft(t) !== "object")
6837
6837
  return /* @__PURE__ */ new Date(NaN);
6838
6838
  var n = t.years ? we(t.years) : 0, r = t.months ? we(t.months) : 0, a = t.weeks ? we(t.weeks) : 0, o = t.days ? we(t.days) : 0, i = t.hours ? we(t.hours) : 0, s = t.minutes ? we(t.minutes) : 0, u = t.seconds ? we(t.seconds) : 0, p = oa(e, r + n * 12), c = hp(p, o + a * 7), m = s + i * 60, h = u + m * 60, w = h * 1e3, D = new Date(c.getTime() - w);
6839
6839
  return D;
@@ -7547,7 +7547,7 @@ const lf = (e, t, n) => {
7547
7547
  }, Lt = (e, t, n, r) => {
7548
7548
  let a = e ? J(e) : J();
7549
7549
  return (t || t === 0) && (a = Po(a, +t)), (n || n === 0) && (a = To(a, +n)), (r || r === 0) && (a = Zn(a, +r)), Gn(a, 0);
7550
- }, $e = (e, t) => !e || !t ? !1 : Da(ot(e), ot(t)), Qe = (e, t) => !e || !t ? !1 : aa(ot(e), ot(t)), tt = (e, t) => !e || !t ? !1 : Sa(ot(e), ot(t)), Xa = (e, t, n) => e != null && e[0] && e != null && e[1] ? tt(n, e[0]) && $e(n, e[1]) : e != null && e[0] && t ? tt(n, e[0]) && $e(n, t) || $e(n, e[0]) && tt(n, t) : !1, vt = (e) => {
7550
+ }, $e = (e, t) => !e || !t ? !1 : Da(ot(e), ot(t)), Qe = (e, t) => !e || !t ? !1 : aa(ot(e), ot(t)), tt = (e, t) => !e || !t ? !1 : Sa(ot(e), ot(t)), Xa = (e, t, n) => e != null && e[0] && e != null && e[1] ? tt(n, e[0]) && $e(n, e[1]) : e != null && e[0] && t ? tt(n, e[0]) && $e(n, t) || $e(n, e[0]) && tt(n, t) : !1, mt = (e) => {
7551
7551
  const t = qe(new Date(e), { date: 1 });
7552
7552
  return ot(t);
7553
7553
  }, cn = (e, t, n) => t && (n || n === 0) ? Object.fromEntries(
@@ -7824,9 +7824,9 @@ const lf = (e, t, n) => {
7824
7824
  };
7825
7825
  }, Qf = (e, t, n) => {
7826
7826
  const r = ae(), { defaultedTextInput: a, getDefaultPattern: o } = Ye(t), i = ae(""), s = ba(t, "format");
7827
- ct(r, () => {
7827
+ pt(r, () => {
7828
7828
  e("internal-model-change", r.value);
7829
- }), ct(s, () => {
7829
+ }), pt(s, () => {
7830
7830
  V();
7831
7831
  });
7832
7832
  const u = (l) => No(l, t.timezone), p = (l) => yt(l, t.timezone), c = (l, P, Q = !1) => Eo(
@@ -7945,7 +7945,7 @@ const lf = (e, t, n) => {
7945
7945
  ));
7946
7946
  return { handleMonthYearChange: i, isDisabled: u, updateMonthYear: s };
7947
7947
  };
7948
- var ta = /* @__PURE__ */ ((e) => (e.center = "center", e.left = "left", e.right = "right", e))(ta || {}), ft = /* @__PURE__ */ ((e) => (e.month = "month", e.year = "year", e))(ft || {}), Xt = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(Xt || {}), Wt = /* @__PURE__ */ ((e) => (e.header = "header", e.calendar = "calendar", e.timePicker = "timePicker", e))(Wt || {}), At = /* @__PURE__ */ ((e) => (e.month = "month", e.year = "year", e.calendar = "calendar", e.time = "time", e.minutes = "minutes", e.hours = "hours", e.seconds = "seconds", e))(At || {});
7948
+ var ta = /* @__PURE__ */ ((e) => (e.center = "center", e.left = "left", e.right = "right", e))(ta || {}), vt = /* @__PURE__ */ ((e) => (e.month = "month", e.year = "year", e))(vt || {}), Xt = /* @__PURE__ */ ((e) => (e.top = "top", e.bottom = "bottom", e))(Xt || {}), Wt = /* @__PURE__ */ ((e) => (e.header = "header", e.calendar = "calendar", e.timePicker = "timePicker", e))(Wt || {}), At = /* @__PURE__ */ ((e) => (e.month = "month", e.year = "year", e.calendar = "calendar", e.time = "time", e.minutes = "minutes", e.hours = "hours", e.seconds = "seconds", e))(At || {});
7949
7949
  const Nf = ({
7950
7950
  menuRef: e,
7951
7951
  menuRefInner: t,
@@ -7960,7 +7960,7 @@ const Nf = ({
7960
7960
  top: "0",
7961
7961
  left: "0"
7962
7962
  }), m = ae(!1), h = ba(i, "teleportCenter");
7963
- ct(h, () => {
7963
+ pt(h, () => {
7964
7964
  c.value = JSON.parse(JSON.stringify({})), T();
7965
7965
  });
7966
7966
  const w = (b) => {
@@ -8735,17 +8735,17 @@ const Nf = ({
8735
8735
  if (!r.monthPicker)
8736
8736
  return !0;
8737
8737
  let F = !0;
8738
- const E = J(vt(k));
8738
+ const E = J(mt(k));
8739
8739
  if (r.minDate && r.maxDate) {
8740
- const te = J(vt(r.minDate)), V = J(vt(r.maxDate));
8740
+ const te = J(mt(r.minDate)), V = J(mt(r.maxDate));
8741
8741
  return tt(E, te) && $e(E, V) || Qe(E, te) || Qe(E, V);
8742
8742
  }
8743
8743
  if (r.minDate) {
8744
- const te = J(vt(r.minDate));
8744
+ const te = J(mt(r.minDate));
8745
8745
  F = tt(E, te) || Qe(E, te);
8746
8746
  }
8747
8747
  if (r.maxDate) {
8748
- const te = J(vt(r.maxDate));
8748
+ const te = J(mt(r.maxDate));
8749
8749
  F = $e(E, te) || Qe(E, te);
8750
8750
  }
8751
8751
  return F;
@@ -8754,7 +8754,7 @@ const Nf = ({
8754
8754
  };
8755
8755
  return (k, F) => (d(), v("div", {
8756
8756
  class: "dp__action_row",
8757
- style: mt(e.calendarWidth ? { width: `${e.calendarWidth}px` } : {})
8757
+ style: dt(e.calendarWidth ? { width: `${e.calendarWidth}px` } : {})
8758
8758
  }, [
8759
8759
  k.$slots["action-row"] ? G(k.$slots, "action-row", Ge(ze({ key: 0 }, {
8760
8760
  internalModelValue: k.internalModelValue,
@@ -8772,7 +8772,7 @@ const Nf = ({
8772
8772
  value: k.internalModelValue
8773
8773
  }) : S("", !0),
8774
8774
  k.$slots["action-preview"] ? S("", !0) : (d(), v(Te, { key: 1 }, [
8775
- dt(oe(N.value), 1)
8775
+ ct(oe(N.value), 1)
8776
8776
  ], 64))
8777
8777
  ], 8, Kf)) : S("", !0),
8778
8778
  g("div", Wf, [
@@ -8884,7 +8884,7 @@ const Nf = ({
8884
8884
  dp__container_block: ((l = s.items) == null ? void 0 : l.length) > 6
8885
8885
  };
8886
8886
  });
8887
- ct(
8887
+ pt(
8888
8888
  () => s.items,
8889
8889
  () => F(),
8890
8890
  { deep: !0 }
@@ -8917,7 +8917,7 @@ const Nf = ({
8917
8917
  ref_key: "gridWrapRef",
8918
8918
  ref: D,
8919
8919
  class: W(R.value),
8920
- style: mt(N.value),
8920
+ style: dt(N.value),
8921
8921
  role: "dialog",
8922
8922
  tabindex: "0",
8923
8923
  onKeydown: [
@@ -8933,7 +8933,7 @@ const Nf = ({
8933
8933
  ref: z,
8934
8934
  class: W(k.value),
8935
8935
  role: "grid",
8936
- style: mt({ height: `${U.value}px` })
8936
+ style: dt({ height: `${U.value}px` })
8937
8937
  }, [
8938
8938
  g("div", Zf, [
8939
8939
  G(f.$slots, "header")
@@ -8967,7 +8967,7 @@ const Nf = ({
8967
8967
  item: ne
8968
8968
  }) : S("", !0),
8969
8969
  f.$slots.item ? S("", !0) : (d(), v(Te, { key: 1 }, [
8970
- dt(oe(ne.text), 1)
8970
+ ct(oe(ne.text), 1)
8971
8971
  ], 64))
8972
8972
  ], 2)
8973
8973
  ], 42, _f))), 128))
@@ -9105,7 +9105,7 @@ const Nf = ({
9105
9105
  year: e.year
9106
9106
  }) : S("", !0),
9107
9107
  L.$slots.year ? S("", !0) : (d(), v(Te, { key: 1 }, [
9108
- dt(oe(e.year), 1)
9108
+ ct(oe(e.year), 1)
9109
9109
  ], 64))
9110
9110
  ], 40, av),
9111
9111
  A(a)(A(s), e.instance) ? (d(), ue(ya, {
@@ -9187,7 +9187,7 @@ const Nf = ({
9187
9187
  emit: s
9188
9188
  }) => {
9189
9189
  const u = j(() => ir(a.yearRange, a.reverseYears)), p = ae([!1]), c = j(() => (T, H) => {
9190
- const R = qe(vt(/* @__PURE__ */ new Date()), {
9190
+ const R = qe(mt(/* @__PURE__ */ new Date()), {
9191
9191
  month: i.value(T),
9192
9192
  year: o.value(T)
9193
9193
  });
@@ -9271,7 +9271,7 @@ const Nf = ({
9271
9271
  if (e.range) {
9272
9272
  const f = H();
9273
9273
  if (Array.isArray(s.value) && Array.isArray(f)) {
9274
- const l = N(B, q, 0) || N(B, q, 1), P = xt(vt(J()), B, u.value(q));
9274
+ const l = N(B, q, 0) || N(B, q, 1), P = xt(mt(J()), B, u.value(q));
9275
9275
  return Xa(s.value, h.value, P) && !l;
9276
9276
  }
9277
9277
  return !1;
@@ -9284,8 +9284,8 @@ const Nf = ({
9284
9284
  Mo(u.value(B), e.maxDate)
9285
9285
  ) || Cf(e.disabledDates, u.value(B)).includes(q.value), P = me(q.value, B), Q = qo(i.value, q.value, u.value(B));
9286
9286
  return { active: f, disabled: l, isBetween: P, highlighted: Q };
9287
- })), k = (B, q) => xt(vt(J()), B, u.value(q)), F = (B, q) => {
9288
- const f = s.value ? s.value : vt(/* @__PURE__ */ new Date());
9287
+ })), k = (B, q) => xt(mt(J()), B, u.value(q)), F = (B, q) => {
9288
+ const f = s.value ? s.value : mt(/* @__PURE__ */ new Date());
9289
9289
  s.value = xt(f, B, u.value(q)), t("auto-apply");
9290
9290
  }, E = (B, q) => {
9291
9291
  const f = ur(s, k(B, q), t);
@@ -9428,13 +9428,13 @@ const Nf = ({
9428
9428
  const i = (c) => Array.isArray(n.value) ? n.value.some((m) => Be(m) === c) : n.value ? Be(n.value) === c : !1, s = (c) => e.range && Array.isArray(n.value) ? Xa(n.value, r.value, p(c)) : !1, u = j(() => ia(ir(e.yearRange, e.reverseYears), (c) => {
9429
9429
  const m = i(c.value), h = Pa(c.value, sa(e.minDate), sa(e.maxDate)), w = s(c.value), D = sr(a.value, c.value);
9430
9430
  return { active: m, disabled: h, isBetween: w, highlighted: D };
9431
- })), p = (c) => St(vt(/* @__PURE__ */ new Date()), c);
9431
+ })), p = (c) => St(mt(/* @__PURE__ */ new Date()), c);
9432
9432
  return {
9433
9433
  groupedYears: u,
9434
9434
  modelValue: n,
9435
9435
  focusYear: o,
9436
9436
  setHoverValue: (c) => {
9437
- r.value = St(vt(/* @__PURE__ */ new Date()), c);
9437
+ r.value = St(mt(/* @__PURE__ */ new Date()), c);
9438
9438
  },
9439
9439
  selectYear: (c) => {
9440
9440
  var m;
@@ -9607,7 +9607,7 @@ const Nf = ({
9607
9607
  class: W(k.value)
9608
9608
  }, [
9609
9609
  X.separator ? (d(), v(Te, { key: 0 }, [
9610
- dt(" : ")
9610
+ ct(" : ")
9611
9611
  ], 64)) : (d(), v(Te, { key: 1 }, [
9612
9612
  g("button", {
9613
9613
  ref_for: !0,
@@ -9662,7 +9662,7 @@ const Nf = ({
9662
9662
  value: te.value(X.type).value
9663
9663
  }) : S("", !0),
9664
9664
  y.$slots[X.type] ? S("", !0) : (d(), v(Te, { key: 1 }, [
9665
- dt(oe(te.value(X.type).text), 1)
9665
+ ct(oe(te.value(X.type).text), 1)
9666
9666
  ], 64))
9667
9667
  ], 42, cv),
9668
9668
  g("button", {
@@ -9860,7 +9860,7 @@ const Nf = ({
9860
9860
  "dp--overlay-absolute": !a.timePicker && !b.timePickerInline,
9861
9861
  "dp--overlay-relative": a.timePicker
9862
9862
  }),
9863
- style: mt(b.timePicker ? { height: `${A(m).modeHeight}px` } : void 0),
9863
+ style: dt(b.timePicker ? { height: `${A(m).modeHeight}px` } : void 0),
9864
9864
  tabindex: b.timePickerInline ? void 0 : 0
9865
9865
  }, [
9866
9866
  g("div", {
@@ -10121,16 +10121,16 @@ const Nf = ({
10121
10121
  const R = (l) => ({
10122
10122
  get: () => a[l],
10123
10123
  set: (P) => {
10124
- const Q = l === ft.month ? ft.year : ft.month;
10125
- r("update-month-year", { [l]: P, [Q]: a[Q] }), l === ft.month ? V(!0) : b(!0);
10124
+ const Q = l === vt.month ? vt.year : vt.month;
10125
+ r("update-month-year", { [l]: P, [Q]: a[Q] }), l === vt.month ? V(!0) : b(!0);
10126
10126
  }
10127
- }), N = j(R(ft.month)), me = j(R(ft.year)), Z = j(() => (l) => ({
10127
+ }), N = j(R(vt.month)), me = j(R(vt.year)), Z = j(() => (l) => ({
10128
10128
  month: a.month,
10129
10129
  year: a.year,
10130
- items: l === ft.month ? a.months : a.years,
10130
+ items: l === vt.month ? a.months : a.years,
10131
10131
  instance: a.instance,
10132
10132
  updateMonthYear: K,
10133
- toggle: l === ft.month ? V : b
10133
+ toggle: l === vt.month ? V : b
10134
10134
  })), k = j(() => a.months.find((P) => P.value === a.month) || { text: "", value: 0 }), F = j(() => ia(a.months, (l) => {
10135
10135
  const P = a.month === l.value, Q = Pa(
10136
10136
  l.value,
@@ -10155,7 +10155,7 @@ const Nf = ({
10155
10155
  var l, P;
10156
10156
  return [
10157
10157
  {
10158
- type: ft.month,
10158
+ type: vt.month,
10159
10159
  index: 1,
10160
10160
  toggle: V,
10161
10161
  modelValue: N.value,
@@ -10166,7 +10166,7 @@ const Nf = ({
10166
10166
  ariaLabel: (l = i.value) == null ? void 0 : l.openMonthsOverlay
10167
10167
  },
10168
10168
  {
10169
- type: ft.year,
10169
+ type: vt.year,
10170
10170
  index: 2,
10171
10171
  toggle: b,
10172
10172
  modelValue: me.value,
@@ -10226,7 +10226,7 @@ const Nf = ({
10226
10226
  value: a[O.type]
10227
10227
  }) : S("", !0),
10228
10228
  l.$slots[O.type] ? S("", !0) : (d(), v(Te, { key: 1 }, [
10229
- dt(oe(O.text), 1)
10229
+ ct(oe(O.text), 1)
10230
10230
  ], 64))
10231
10231
  ], 40, Dv),
10232
10232
  be(Gt, {
@@ -10453,7 +10453,7 @@ const Nf = ({
10453
10453
  index: X
10454
10454
  }) : S("", !0),
10455
10455
  O.$slots["calendar-header"] ? S("", !0) : (d(), v(Te, { key: 1 }, [
10456
- dt(oe(pe), 1)
10456
+ ct(oe(pe), 1)
10457
10457
  ], 64))
10458
10458
  ]))), 128))
10459
10459
  ]),
@@ -10509,7 +10509,7 @@ const Nf = ({
10509
10509
  date: ve.value
10510
10510
  }) : S("", !0),
10511
10511
  O.$slots.day ? S("", !0) : (d(), v(Te, { key: 1 }, [
10512
- dt(oe(ve.text), 1)
10512
+ ct(oe(ve.text), 1)
10513
10513
  ], 64)),
10514
10514
  ve.marker && E.value(ve) ? (d(), v(Te, { key: 2 }, [
10515
10515
  O.$slots.marker ? G(O.$slots, "marker", {
@@ -10520,7 +10520,7 @@ const Nf = ({
10520
10520
  }) : (d(), v("div", {
10521
10521
  key: 1,
10522
10522
  class: W(Z.value(ve.marker)),
10523
- style: mt(ve.marker.color ? { backgroundColor: ve.marker.color } : {})
10523
+ style: dt(ve.marker.color ? { backgroundColor: ve.marker.color } : {})
10524
10524
  }, null, 6))
10525
10525
  ], 64)) : S("", !0),
10526
10526
  k.value(ve.value) ? (d(), v("div", {
@@ -10529,7 +10529,7 @@ const Nf = ({
10529
10529
  ref_key: "activeTooltip",
10530
10530
  ref: U,
10531
10531
  class: "dp__marker_tooltip",
10532
- style: mt(h.value)
10532
+ style: dt(h.value)
10533
10533
  }, [
10534
10534
  (re = ve.marker) != null && re.tooltip ? (d(), v("div", {
10535
10535
  key: 0,
@@ -10548,14 +10548,14 @@ const Nf = ({
10548
10548
  O.$slots["marker-tooltip"] ? S("", !0) : (d(), v(Te, { key: 1 }, [
10549
10549
  g("div", {
10550
10550
  class: "dp__tooltip_mark",
10551
- style: mt(He.color ? { backgroundColor: He.color } : {})
10551
+ style: dt(He.color ? { backgroundColor: He.color } : {})
10552
10552
  }, null, 4),
10553
10553
  g("div", null, oe(He.text), 1)
10554
10554
  ], 64))
10555
10555
  ]))), 128)),
10556
10556
  g("div", {
10557
10557
  class: "dp__arrow_bottom_tp",
10558
- style: mt(z.value)
10558
+ style: dt(z.value)
10559
10559
  }, null, 4)
10560
10560
  ])) : S("", !0)
10561
10561
  ], 4)) : S("", !0)
@@ -10584,7 +10584,7 @@ const Nf = ({
10584
10584
  }, N = () => {
10585
10585
  e.autoApply && t("select-date");
10586
10586
  };
10587
- ct(o, (C, Y) => {
10587
+ pt(o, (C, Y) => {
10588
10588
  JSON.stringify(C) !== JSON.stringify(Y) && k();
10589
10589
  }), it(() => {
10590
10590
  e.shadow || (o.value || (l(), p.value && I(p.value)), k(!0), e.focusStartDate && e.startDate && l());
@@ -10851,7 +10851,7 @@ const Nf = ({
10851
10851
  } = Mv(a, r, f, l), R = Zt(), { setHoverDate: N, getDayClassData: me, clearHoverDate: Z } = Rf(u, a), { defaultedMultiCalendars: k } = Ye(a), F = ae([]), E = ae([]), te = ae(null), V = lt(R, "calendar"), b = lt(R, "monthYear"), x = lt(R, "timePicker"), B = (Q) => {
10852
10852
  a.shadow || r("mount", Q);
10853
10853
  };
10854
- ct(
10854
+ pt(
10855
10855
  o,
10856
10856
  () => {
10857
10857
  a.shadow || setTimeout(() => {
@@ -11101,7 +11101,7 @@ const Nf = ({
11101
11101
  default: ge(({ instance: R }) => [
11102
11102
  g("div", {
11103
11103
  class: "dp-quarter-picker-wrap",
11104
- style: mt({ minHeight: `${A(u).modeHeight}px` })
11104
+ style: dt({ minHeight: `${A(u).modeHeight}px` })
11105
11105
  }, [
11106
11106
  g("div", null, [
11107
11107
  be(Xo, ze(T.$props, {
@@ -11141,7 +11141,7 @@ const Nf = ({
11141
11141
  value: N.value,
11142
11142
  text: N.text
11143
11143
  }) : (d(), v(Te, { key: 1 }, [
11144
- dt(oe(N.text), 1)
11144
+ ct(oe(N.text), 1)
11145
11145
  ], 64))
11146
11146
  ], 42, Ev)
11147
11147
  ]))), 128))
@@ -11317,7 +11317,7 @@ const Nf = ({
11317
11317
  class: W({
11318
11318
  dp__menu_content_wrapper: ((Pe = M.presetDates) == null ? void 0 : Pe.length) || !!M.$slots["left-sidebar"] || !!M.$slots["right-sidebar"]
11319
11319
  }),
11320
- style: mt({ "--dp-menu-width": `${D.value}px` })
11320
+ style: dt({ "--dp-menu-width": `${D.value}px` })
11321
11321
  }, [
11322
11322
  M.$slots["left-sidebar"] ? (d(), v("div", Xv, [
11323
11323
  G(M.$slots, "left-sidebar", Ge(rt(V.value)))
@@ -11332,7 +11332,7 @@ const Nf = ({
11332
11332
  }) : (d(), v("button", {
11333
11333
  key: 1,
11334
11334
  type: "button",
11335
- style: mt(re.style || {}),
11335
+ style: dt(re.style || {}),
11336
11336
  class: "dp__btn dp--preset-range",
11337
11337
  onClick: Me((st) => Ae(re.value, re.noTz), ["prevent"]),
11338
11338
  onKeydown: [
@@ -11418,7 +11418,7 @@ const Nf = ({
11418
11418
  if (!e)
11419
11419
  return bn;
11420
11420
  let a = bn;
11421
- const o = ct(
11421
+ const o = pt(
11422
11422
  () => A(e),
11423
11423
  (s) => {
11424
11424
  a(), s && (s.addEventListener(t, n, r), a = () => {
@@ -11485,7 +11485,7 @@ const Nf = ({
11485
11485
  me.value.tabOutClosesMenu && document.removeEventListener("keyup", M);
11486
11486
  });
11487
11487
  const E = lt(o, "all", a.presetDates), te = lt(o, "input");
11488
- ct(
11488
+ pt(
11489
11489
  [s, u],
11490
11490
  () => {
11491
11491
  Q(s.value);
@@ -13797,7 +13797,7 @@ const Hh = /* @__PURE__ */ he(Mm, [["render", Rm], ["__scopeId", "data-v-e52f3fc
13797
13797
  },
13798
13798
  computed: {
13799
13799
  circularProgressSize() {
13800
- return this.size + this.strokeWidth;
13800
+ return this.size + this.strokeWidth / 2;
13801
13801
  },
13802
13802
  halfCircularProgressSize() {
13803
13803
  return this.circularProgressSize / 2;
@@ -13806,7 +13806,7 @@ const Hh = /* @__PURE__ */ he(Mm, [["render", Rm], ["__scopeId", "data-v-e52f3fc
13806
13806
  return (this.circularProgressSize - this.strokeWidth) / 2;
13807
13807
  },
13808
13808
  circumference() {
13809
- return 2 * Math.PI * this.radius;
13809
+ return Math.round(2 * Math.PI * this.radius);
13810
13810
  },
13811
13811
  circularProgressLength() {
13812
13812
  return this.animatedProgress * this.circumference / 100;
@@ -13826,6 +13826,9 @@ const Hh = /* @__PURE__ */ he(Mm, [["render", Rm], ["__scopeId", "data-v-e52f3fc
13826
13826
  default:
13827
13827
  return this.progressValuePercentage;
13828
13828
  }
13829
+ },
13830
+ strokeDashArray() {
13831
+ return `${this.circularProgressLength} ${this.circumference - this.circularProgressLength}`;
13829
13832
  }
13830
13833
  },
13831
13834
  watch: {
@@ -13840,9 +13843,7 @@ const Hh = /* @__PURE__ */ he(Mm, [["render", Rm], ["__scopeId", "data-v-e52f3fc
13840
13843
  }
13841
13844
  }), qr = () => {
13842
13845
  ii((e) => ({
13843
- "04d4303f": e.halfCircularProgressSize,
13844
- "4fd9b1de": e.circularProgressLength,
13845
- "3949d210": e.circumference
13846
+ "50928b9f": e.halfCircularProgressSize
13846
13847
  }));
13847
13848
  }, Jr = cr.setup;
13848
13849
  cr.setup = Jr ? (e, t) => (qr(), Jr(e, t)) : qr;
@@ -13880,12 +13881,13 @@ function jm(e, t, n, r, a, o) {
13880
13881
  "stroke-width": e.strokeWidth
13881
13882
  }, null, 8, Xm),
13882
13883
  g("circle", {
13883
- class: "progress-fill",
13884
13884
  cx: e.halfCircularProgressSize,
13885
13885
  cy: e.halfCircularProgressSize,
13886
13886
  r: e.radius,
13887
- "stroke-width": e.strokeWidth
13888
- }, null, 8, zm)
13887
+ "stroke-width": e.strokeWidth,
13888
+ class: "progress-fill",
13889
+ style: dt({ "stroke-dasharray": e.strokeDashArray })
13890
+ }, null, 12, zm)
13889
13891
  ], 8, Jm)),
13890
13892
  g("div", Km, [
13891
13893
  g("span", Wm, oe(e.progressLabel), 1),
@@ -13893,7 +13895,7 @@ function jm(e, t, n, r, a, o) {
13893
13895
  ])
13894
13896
  ]);
13895
13897
  }
13896
- const Gm = /* @__PURE__ */ he(cr, [["render", jm], ["__scopeId", "data-v-edc0da11"]]), Zm = ce({
13898
+ const Gm = /* @__PURE__ */ he(cr, [["render", jm], ["__scopeId", "data-v-b594a8ae"]]), Zm = ce({
13897
13899
  name: "FusionCircularProgressIndicatorLabel",
13898
13900
  components: { FusionDivider: jo, SVGCheckCircle: Aa },
13899
13901
  props: {
@@ -13987,7 +13989,7 @@ const uh = /* @__PURE__ */ he(oh, [["render", lh], ["__scopeId", "data-v-9245aeb
13987
13989
  },
13988
13990
  progressSize: {
13989
13991
  type: Number,
13990
- default: 250
13992
+ default: 116
13991
13993
  },
13992
13994
  progressLabelType: {
13993
13995
  type: String,
@@ -13995,7 +13997,7 @@ const uh = /* @__PURE__ */ he(oh, [["render", lh], ["__scopeId", "data-v-9245aeb
13995
13997
  },
13996
13998
  progressDescription: {
13997
13999
  type: String,
13998
- default: "signed up"
14000
+ default: ""
13999
14001
  },
14000
14002
  visibleItemsCount: {
14001
14003
  type: Number,
@@ -14034,7 +14036,7 @@ function ph(e, t, n, r, a, o) {
14034
14036
  }, null, 8, ["checklist", "visible-items-count"])
14035
14037
  ]);
14036
14038
  }
14037
- const Rh = /* @__PURE__ */ he(dh, [["render", ph], ["__scopeId", "data-v-76bb4bed"]]);
14039
+ const Rh = /* @__PURE__ */ he(dh, [["render", ph], ["__scopeId", "data-v-9abe1eb2"]]);
14038
14040
  export {
14039
14041
  Ah as FusionBanner,
14040
14042
  Yr as FusionButton,