@oub/fusion 0.2.141 → 0.2.143

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
@@ -5,7 +5,7 @@ var Xo = (e) => {
5
5
  var Sl = (e, t, a) => t in e ? Cl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
6
6
  var Le = (e, t, a) => Sl(e, typeof t != "symbol" ? t + "" : t, a), nr = (e, t, a) => t.has(e) || Xo("Cannot " + a);
7
7
  var W = (e, t, a) => (nr(e, t, "read from private field"), a ? a.call(e) : t.get(e)), Ie = (e, t, a) => t.has(e) ? Xo("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), We = (e, t, a, r) => (nr(e, t, "write to private field"), r ? r.call(e, a) : t.set(e, a), a), Ae = (e, t, a) => (nr(e, t, "access private method"), a);
8
- import { defineComponent as se, createElementBlock as h, openBlock as c, createStaticVNode as Tl, ref as ne, resolveComponent as re, normalizeClass as z, createBlock as fe, renderSlot as ee, createTextVNode as kt, toDisplayString as te, createElementVNode as g, withDirectives as ta, createCommentVNode as S, withKeys as we, vModelText as Zs, createVNode as ue, resolveDynamicComponent as sa, withCtx as ve, unref as C, getCurrentScope as _s, onScopeDispose as $s, toRef as rn, readonly as Pl, customRef as Fl, watch as At, h as ei, computed as Z, vModelDynamic as Dl, mergeProps as _e, Fragment as Fe, renderList as He, createSlots as it, withScopeId as Bl, Transition as Aa, vShow as tn, reactive as bn, useSlots as wa, onMounted as ht, nextTick as oa, onUnmounted as fo, isRef as Wo, normalizeProps as at, guardReactiveProps as ft, Teleport as xl, render as Ko, withModifiers as Ee, normalizeStyle as gt, onBeforeUpdate as Ol, useCssVars as Ul } from "vue";
8
+ import { defineComponent as se, createElementBlock as h, openBlock as c, createStaticVNode as Tl, ref as ne, resolveComponent as re, normalizeClass as J, createBlock as fe, renderSlot as ee, createTextVNode as kt, toDisplayString as te, createElementVNode as g, withDirectives as ta, createCommentVNode as S, withKeys as we, vModelText as Zs, createVNode as ue, resolveDynamicComponent as sa, withCtx as ve, unref as C, getCurrentScope as _s, onScopeDispose as $s, toRef as rn, readonly as Pl, customRef as Fl, watch as At, h as ei, computed as Z, vModelDynamic as Dl, mergeProps as _e, Fragment as Fe, renderList as He, createSlots as it, withScopeId as Bl, Transition as Aa, vShow as tn, reactive as bn, useSlots as wa, onMounted as ht, nextTick as oa, onUnmounted as fo, isRef as Wo, normalizeProps as at, guardReactiveProps as ft, Teleport as xl, render as Ko, withModifiers as Ee, normalizeStyle as gt, onBeforeUpdate as Ol, useCssVars as Ul } from "vue";
9
9
  const Il = se({
10
10
  name: "FusionLoadingSpinner",
11
11
  props: {
@@ -153,7 +153,7 @@ function Rl(e, t, a, r, n, o) {
153
153
  id: "fusion-btn",
154
154
  ref: "fusionButtonEl",
155
155
  disabled: e.isDisabled || e.isLoading,
156
- class: z(["fusion-button", [e.variantTypeClass, e.variantStyleClass, e.buttonSizeClass, e.buttonHasIcon, e.isLoadingClass]]),
156
+ class: J(["fusion-button", [e.variantTypeClass, e.variantStyleClass, e.buttonSizeClass, e.buttonHasIcon, e.isLoadingClass]]),
157
157
  "data-test": e.dataTest,
158
158
  type: e.type,
159
159
  onFocus: t[0] || (t[0] = (i) => e.focus = !0),
@@ -327,20 +327,20 @@ function _l(e, t, a, r, n, o) {
327
327
  }, [
328
328
  g("div", Yl, [
329
329
  g("label", {
330
- class: z(["fusion-textarea label", e.stateClasses]),
330
+ class: J(["fusion-textarea label", e.stateClasses]),
331
331
  for: e.id,
332
332
  "data-test": "label"
333
333
  }, te(e.label), 11, jl),
334
334
  e.helperLabel ? (c(), h("div", {
335
335
  key: 0,
336
- class: z(["fusion-textarea helper-label", e.stateClasses]),
336
+ class: J(["fusion-textarea helper-label", e.stateClasses]),
337
337
  "data-test": "helper-label"
338
338
  }, te(e.helperLabel), 3)) : S("", !0)
339
339
  ]),
340
340
  ta(g("textarea", {
341
341
  id: e.id,
342
342
  "onUpdate:modelValue": t[0] || (t[0] = (i) => e.inputValue = i),
343
- class: z(["fusion-textarea field", [e.disabled, e.stateClasses]]),
343
+ class: J(["fusion-textarea field", [e.disabled, e.stateClasses]]),
344
344
  name: e.name,
345
345
  rows: e.rows,
346
346
  cols: e.cols,
@@ -362,18 +362,18 @@ function _l(e, t, a, r, n, o) {
362
362
  ]),
363
363
  e.disabled ? S("", !0) : (c(), h("div", Wl, [
364
364
  g("div", {
365
- class: z(e.errorLabel && e.showCharLength ? "fusion-textarea-error-wrapper" : "")
365
+ class: J(e.errorLabel && e.showCharLength ? "fusion-textarea-error-wrapper" : "")
366
366
  }, [
367
367
  e.errorLabel ? (c(), h("div", {
368
368
  key: 0,
369
- class: z(["fusion-textarea error-label-wrapper", e.stateClasses])
369
+ class: J(["fusion-textarea error-label-wrapper", e.stateClasses])
370
370
  }, [
371
371
  ue(s, { "data-test": "error-icon" }),
372
372
  g("span", Kl, te(e.errorLabel), 1)
373
373
  ], 2)) : S("", !0),
374
374
  !e.disabled && e.showCharLength ? (c(), h("div", {
375
375
  key: 1,
376
- class: z(["fusion-textarea text-count-label", !e.disabled && e.showCharLength ? "fusion-textarea-character-amount-wrapper" : ""]),
376
+ class: J(["fusion-textarea text-count-label", !e.disabled && e.showCharLength ? "fusion-textarea-character-amount-wrapper" : ""]),
377
377
  "data-test": "text-count-label"
378
378
  }, [
379
379
  g("span", Gl, te(e.inputValue.length), 1),
@@ -383,7 +383,7 @@ function _l(e, t, a, r, n, o) {
383
383
  ]))
384
384
  ], 8, Jl);
385
385
  }
386
- const E2 = /* @__PURE__ */ pe(zl, [["render", _l], ["__scopeId", "data-v-1cdc6d3f"]]), $l = se({
386
+ const N2 = /* @__PURE__ */ pe(zl, [["render", _l], ["__scopeId", "data-v-1cdc6d3f"]]), $l = se({
387
387
  name: "SVGTick"
388
388
  }), eu = {
389
389
  width: "20",
@@ -505,12 +505,12 @@ const ti = /* @__PURE__ */ pe($l, [["render", tu]]), au = se({
505
505
  function du(e, t, a, r, n, o) {
506
506
  const s = re("SVGTick");
507
507
  return c(), h("label", {
508
- class: z(["fusion-checkbox-wrapper", e.stateClasses]),
508
+ class: J(["fusion-checkbox-wrapper", e.stateClasses]),
509
509
  "data-test": e.dataTest
510
510
  }, [
511
511
  g("span", ru, [
512
512
  g("input", {
513
- class: z(["fusion-checkbox-input", e.stateClasses]),
513
+ class: J(["fusion-checkbox-input", e.stateClasses]),
514
514
  checked: e.defaultValue,
515
515
  disabled: e.disabled,
516
516
  type: "checkbox",
@@ -617,13 +617,13 @@ const ai = /* @__PURE__ */ pe(au, [["render", du], ["__scopeId", "data-v-70be7e3
617
617
  };
618
618
  function yu(e, t, a, r, n, o) {
619
619
  return c(), h("div", {
620
- class: z(["fusion-radio-wrapper", e.stateClasses]),
620
+ class: J(["fusion-radio-wrapper", e.stateClasses]),
621
621
  "data-test": e.dataTest
622
622
  }, [
623
623
  g("div", fu, [
624
624
  g("input", {
625
625
  id: e.id,
626
- class: z(["fusion-radio input", e.stateClasses]),
626
+ class: J(["fusion-radio input", e.stateClasses]),
627
627
  type: "radio",
628
628
  name: e.name,
629
629
  required: e.required,
@@ -638,12 +638,12 @@ function yu(e, t, a, r, n, o) {
638
638
  }, null, 42, hu)
639
639
  ]),
640
640
  g("div", {
641
- class: z(["fusion-radio label-container", e.stateClasses])
641
+ class: J(["fusion-radio label-container", e.stateClasses])
642
642
  }, [
643
643
  g("div", mu, [
644
644
  g("label", {
645
645
  id: `label-${e.id}`,
646
- class: z(["fusion-radio label", e.stateClasses]),
646
+ class: J(["fusion-radio label", e.stateClasses]),
647
647
  for: e.id,
648
648
  "data-test": "label"
649
649
  }, te(e.label), 11, gu),
@@ -725,7 +725,7 @@ const bu = /* @__PURE__ */ pe(cu, [["render", yu], ["__scopeId", "data-v-ee8a32d
725
725
  }), Au = ["data-test"];
726
726
  function wu(e, t, a, r, n, o) {
727
727
  return c(), h("span", {
728
- class: z(["fusion-text-link-container", e.disabled ? "disabled" : ""]),
728
+ class: J(["fusion-text-link-container", e.disabled ? "disabled" : ""]),
729
729
  "data-test": e.dataTest
730
730
  }, [
731
731
  (c(), fe(sa(e.elementType), {
@@ -733,7 +733,7 @@ function wu(e, t, a, r, n, o) {
733
733
  href: e.isButton ? null : e.href,
734
734
  target: e.isButton ? null : e.target,
735
735
  type: e.isButton ? "button" : null,
736
- class: z(["fusion-text-link", [{ disabled: e.disabled }, e.variationClasses, e.sizeClasses, e.iconClasses, e.buttonClasses]]),
736
+ class: J(["fusion-text-link", [{ disabled: e.disabled }, e.variationClasses, e.sizeClasses, e.iconClasses, e.buttonClasses]]),
737
737
  tabindex: e.disabled ? -1 : e.tabIndex,
738
738
  "data-test": "link",
739
739
  onBlur: t[0] || (t[0] = (s) => e.$emit("input:blur", s)),
@@ -743,7 +743,7 @@ function wu(e, t, a, r, n, o) {
743
743
  kt(te(e.label) + " ", 1),
744
744
  e.$slots.icon ? (c(), h("span", {
745
745
  key: 0,
746
- class: z(["fusion-text-link-icon", e.size === "small" ? "small-icon" : "regular-icon"]),
746
+ class: J(["fusion-text-link-icon", e.size === "small" ? "small-icon" : "regular-icon"]),
747
747
  "data-test": "link-icon"
748
748
  }, [
749
749
  ee(e.$slots, "icon", {}, void 0, !0)
@@ -1185,19 +1185,19 @@ const on = /* @__PURE__ */ pe(qu, [["render", zu]]), Ju = se({
1185
1185
  function _u(e, t, a, r, n, o) {
1186
1186
  const s = re("SVGExclamationOctagon");
1187
1187
  return c(), h("div", {
1188
- class: z(["fusion-input-container", e.stateClasses]),
1188
+ class: J(["fusion-input-container", e.stateClasses]),
1189
1189
  "data-test": e.dataTest
1190
1190
  }, [
1191
1191
  g("div", ju, [
1192
1192
  e.label ? (c(), h("label", {
1193
1193
  key: 0,
1194
- class: z(["fusion-input label", e.stateClasses]),
1194
+ class: J(["fusion-input label", e.stateClasses]),
1195
1195
  for: e.id,
1196
1196
  "data-test": "label"
1197
1197
  }, te(e.label), 11, Xu)) : S("", !0),
1198
1198
  e.helperLabel ? (c(), h("div", {
1199
1199
  key: 1,
1200
- class: z(["fusion-input helper-label", e.stateClasses]),
1200
+ class: J(["fusion-input helper-label", e.stateClasses]),
1201
1201
  "data-test": "helper-label"
1202
1202
  }, te(e.helperLabel), 3)) : S("", !0)
1203
1203
  ]),
@@ -1209,7 +1209,7 @@ function _u(e, t, a, r, n, o) {
1209
1209
  id: e.id,
1210
1210
  ref: "input",
1211
1211
  "onUpdate:modelValue": t[0] || (t[0] = (i) => e.inputValue = i),
1212
- class: z(["fusion-input field", e.stateClasses]),
1212
+ class: J(["fusion-input field", e.stateClasses]),
1213
1213
  name: e.name,
1214
1214
  type: e.type,
1215
1215
  placeholder: e.placeholder,
@@ -1232,7 +1232,7 @@ function _u(e, t, a, r, n, o) {
1232
1232
  ]),
1233
1233
  e.errorLabel ? (c(), h("div", {
1234
1234
  key: 0,
1235
- class: z(["fusion-input error-wrapper", e.stateClasses])
1235
+ class: J(["fusion-input error-wrapper", e.stateClasses])
1236
1236
  }, [
1237
1237
  ue(s, { "data-test": "error-icon" }),
1238
1238
  g("span", Zu, te(e.errorLabel), 1)
@@ -1483,7 +1483,7 @@ const ii = /* @__PURE__ */ pe(nd, [["render", id], ["__scopeId", "data-v-1531b23
1483
1483
  return;
1484
1484
  }
1485
1485
  if (e.key === "ArrowDown" || e.key === "ArrowUp") {
1486
- const a = this.$el.querySelectorAll(".fusion-list-box-menu-item"), n = [...this.$el.querySelectorAll("#test-select-search-field"), ...a];
1486
+ const a = this.$el.querySelectorAll("[data-test='list-box-option'].fusion-menu-item"), n = [...this.$el.querySelectorAll("[data-test='search-input'] input[data-test='input']"), ...a];
1487
1487
  ko(e, n);
1488
1488
  }
1489
1489
  }
@@ -1611,7 +1611,7 @@ function Td(e, t, a, r, n, o) {
1611
1611
  _: 3
1612
1612
  }, 8, ["onTrigger"]);
1613
1613
  }
1614
- const wo = /* @__PURE__ */ pe(ld, [["render", Td], ["__scopeId", "data-v-635a982c"]]), Pd = {
1614
+ const wo = /* @__PURE__ */ pe(ld, [["render", Td], ["__scopeId", "data-v-2028c5cf"]]), Pd = {
1615
1615
  name: "SVGArrowDown"
1616
1616
  }, Fd = {
1617
1617
  xmlns: "http://www.w3.org/2000/svg",
@@ -1849,19 +1849,19 @@ function qd(e, t, a, r, n, o) {
1849
1849
  g("div", Md, [
1850
1850
  e.label ? (c(), h("label", {
1851
1851
  key: 0,
1852
- class: z(["fusion-select label", e.stateClasses]),
1852
+ class: J(["fusion-select label", e.stateClasses]),
1853
1853
  for: e.id,
1854
1854
  "data-test": "label"
1855
1855
  }, te(e.label), 11, Vd)) : S("", !0),
1856
1856
  e.helperLabel ? (c(), h("div", {
1857
1857
  key: 1,
1858
- class: z(["fusion-select helper-label", e.stateClasses]),
1858
+ class: J(["fusion-select helper-label", e.stateClasses]),
1859
1859
  "data-test": "helper-label"
1860
1860
  }, te(e.helperLabel), 3)) : S("", !0)
1861
1861
  ]),
1862
1862
  g("button", {
1863
1863
  id: e.id,
1864
- class: z(["fusion-select field", e.stateClasses]),
1864
+ class: J(["fusion-select field", e.stateClasses]),
1865
1865
  "data-test": "select",
1866
1866
  tabindex: e.tabIndex,
1867
1867
  autofocus: e.autofocus,
@@ -1878,7 +1878,7 @@ function qd(e, t, a, r, n, o) {
1878
1878
  g("span", Nd, [
1879
1879
  e.selected.label ? (c(), h("span", Rd, te(e.selected.label), 1)) : (c(), h("span", Qd, te(e.placeholder), 1)),
1880
1880
  ue(s, {
1881
- class: z([[e.interactionStates.opened ? "open" : "", e.stateClasses], "fusion-select arrow-icon"])
1881
+ class: J([[e.interactionStates.opened ? "open" : "", e.stateClasses], "fusion-select arrow-icon"])
1882
1882
  }, null, 8, ["class"])
1883
1883
  ])
1884
1884
  ], 42, Ld),
@@ -1899,14 +1899,14 @@ function qd(e, t, a, r, n, o) {
1899
1899
  }, null, 8, ["select-id", "options", "search-text", "search-disabled", "search-placeholder", "search-loading", "search-error-title", "search-error-description", "selected", "onHandle:select", "onHandle:close"])) : S("", !0),
1900
1900
  e.errorLabel ? (c(), h("div", {
1901
1901
  key: 1,
1902
- class: z(["fusion-select error-wrapper", e.stateClasses])
1902
+ class: J(["fusion-select error-wrapper", e.stateClasses])
1903
1903
  }, [
1904
1904
  ue(l, { "data-test": "error-icon" }),
1905
1905
  g("span", Ed, te(e.errorLabel), 1)
1906
1906
  ], 2)) : S("", !0)
1907
1907
  ], 8, Id);
1908
1908
  }
1909
- const q2 = /* @__PURE__ */ pe(Ud, [["render", qd], ["__scopeId", "data-v-25ceabe2"]]), Hd = se({
1909
+ const Q2 = /* @__PURE__ */ pe(Ud, [["render", qd], ["__scopeId", "data-v-25ceabe2"]]), Hd = se({
1910
1910
  name: "FusionPasswordInput",
1911
1911
  components: {
1912
1912
  FusionInput: Ao,
@@ -2010,7 +2010,7 @@ function Jd(e, t, a, r, n, o) {
2010
2010
  autocomplete: e.autocomplete,
2011
2011
  required: e.required,
2012
2012
  "data-test": "fusion-password-input",
2013
- class: z({ disabled: e.disabled }),
2013
+ class: J({ disabled: e.disabled }),
2014
2014
  disabled: e.disabled,
2015
2015
  label: e.label,
2016
2016
  "helper-label": e.helperLabel,
@@ -2041,7 +2041,7 @@ function Jd(e, t, a, r, n, o) {
2041
2041
  ]), 1032, ["id", "input", "type", "placeholder", "autocomplete", "required", "class", "disabled", "label", "helper-label", "name", "error-label", "onUpdate:input", "onInput:blur", "onInput:focus", "onKeydown:enter"])
2042
2042
  ], 8, zd);
2043
2043
  }
2044
- const H2 = /* @__PURE__ */ pe(Hd, [["render", Jd]]), sn = {
2044
+ const R2 = /* @__PURE__ */ pe(Hd, [["render", Jd]]), sn = {
2045
2045
  default: {
2046
2046
  code: "GB",
2047
2047
  dialCode: 44,
@@ -2721,7 +2721,7 @@ const $d = /* @__PURE__ */ pe(Kd, [["render", _d], ["__scopeId", "data-v-6e820bf
2721
2721
  function rc(e, t, a, r, n, o) {
2722
2722
  const s = re("CountryFlag"), i = re("SVGArrowDown");
2723
2723
  return c(), h("div", {
2724
- class: z(["country-selector-wrapper", { disabled: a.disabled }]),
2724
+ class: J(["country-selector-wrapper", { disabled: a.disabled }]),
2725
2725
  "data-test": a.dataTest
2726
2726
  }, [
2727
2727
  g("div", ac, [
@@ -2735,7 +2735,7 @@ function rc(e, t, a, r, n, o) {
2735
2735
  class: "flag"
2736
2736
  }, null, 8, ["country"]),
2737
2737
  ue(i, {
2738
- class: z(["arrow-icon", { active: a.isOpen }])
2738
+ class: J(["arrow-icon", { active: a.isOpen }])
2739
2739
  }, null, 8, ["class"])
2740
2740
  ]),
2741
2741
  g("div", nc, "(+" + te(a.country.dialCode) + ")", 1)
@@ -2908,19 +2908,19 @@ function mc(e, t, a, r, n, o) {
2908
2908
  g("div", lc, [
2909
2909
  e.label ? (c(), h("label", {
2910
2910
  key: 0,
2911
- class: z(["fusion-phone-input label", e.stateClasses]),
2911
+ class: J(["fusion-phone-input label", e.stateClasses]),
2912
2912
  for: e.id,
2913
2913
  "data-test": "label"
2914
2914
  }, te(e.label), 11, uc)) : S("", !0),
2915
2915
  e.helperLabel ? (c(), h("div", {
2916
2916
  key: 1,
2917
- class: z(["fusion-phone-input helper-label", e.stateClasses]),
2917
+ class: J(["fusion-phone-input helper-label", e.stateClasses]),
2918
2918
  "data-test": "helper-label"
2919
2919
  }, te(e.helperLabel), 3)) : S("", !0)
2920
2920
  ]),
2921
2921
  g("div", dc, [
2922
2922
  g("div", {
2923
- class: z(["field-wrapper", e.stateClasses])
2923
+ class: J(["field-wrapper", e.stateClasses])
2924
2924
  }, [
2925
2925
  ue(s, {
2926
2926
  country: e.selectedCountryData,
@@ -2936,7 +2936,7 @@ function mc(e, t, a, r, n, o) {
2936
2936
  placeholder: e.placeholder || e.defaultPlaceholder,
2937
2937
  required: e.required,
2938
2938
  maxlength: "12",
2939
- class: z(["fusion-phone-input field", e.stateClasses]),
2939
+ class: J(["fusion-phone-input field", e.stateClasses]),
2940
2940
  disabled: e.disabled || e.readonly,
2941
2941
  tabindex: e.tabIndex,
2942
2942
  autocomplete: e.autocomplete,
@@ -2977,7 +2977,7 @@ function mc(e, t, a, r, n, o) {
2977
2977
  ])) : S("", !0)
2978
2978
  ], 8, ic);
2979
2979
  }
2980
- const z2 = /* @__PURE__ */ pe(sc, [["render", mc], ["__scopeId", "data-v-9590a466"]]), gc = se({
2980
+ const E2 = /* @__PURE__ */ pe(sc, [["render", mc], ["__scopeId", "data-v-9590a466"]]), gc = se({
2981
2981
  name: "FusionRadioGroup",
2982
2982
  components: { SVGExclamationTriangle: Ot, FusionRadio: bu },
2983
2983
  props: {
@@ -3041,7 +3041,7 @@ function Sc(e, t, a, r, n, o) {
3041
3041
  ])
3042
3042
  ]);
3043
3043
  }
3044
- const J2 = /* @__PURE__ */ pe(gc, [["render", Sc], ["__scopeId", "data-v-92546a39"]]), Tc = se({
3044
+ const q2 = /* @__PURE__ */ pe(gc, [["render", Sc], ["__scopeId", "data-v-92546a39"]]), Tc = se({
3045
3045
  name: "FusionCheckboxGroup",
3046
3046
  components: { SVGExclamationTriangle: Ot, FusionCheckbox: ai },
3047
3047
  props: {
@@ -3099,7 +3099,7 @@ function Ic(e, t, a, r, n, o) {
3099
3099
  ])
3100
3100
  ]);
3101
3101
  }
3102
- const Y2 = /* @__PURE__ */ pe(Tc, [["render", Ic], ["__scopeId", "data-v-0961114b"]]), Mc = se({
3102
+ const H2 = /* @__PURE__ */ pe(Tc, [["render", Ic], ["__scopeId", "data-v-0961114b"]]), Mc = se({
3103
3103
  name: "SVGClose"
3104
3104
  }), Vc = {
3105
3105
  width: "24",
@@ -3246,7 +3246,7 @@ function Ec(e, t, a, r, n, o) {
3246
3246
  id: "fusion-icon-btn",
3247
3247
  ref: "fusionIconButtonEl",
3248
3248
  disabled: e.isDisabled || e.isLoading,
3249
- class: z(["fusion-icon-button fusion-button", [e.variantTypeClass, e.variantStyleClass, e.buttonSizeClass]]),
3249
+ class: J(["fusion-icon-button fusion-button", [e.variantTypeClass, e.variantStyleClass, e.buttonSizeClass]]),
3250
3250
  "data-test": e.dataTest,
3251
3251
  type: e.type,
3252
3252
  "aria-label": e.ariaLabel,
@@ -3380,7 +3380,7 @@ function Gc(e, t, a, r, n, o) {
3380
3380
  return c(), fe(Aa, { name: "fade" }, {
3381
3381
  default: ve(() => [
3382
3382
  ta(g("div", {
3383
- class: z(["fusion-banner", e.variantTypeClass]),
3383
+ class: J(["fusion-banner", e.variantTypeClass]),
3384
3384
  role: "alert",
3385
3385
  "data-test": e.dataTest
3386
3386
  }, [
@@ -3431,7 +3431,7 @@ function Gc(e, t, a, r, n, o) {
3431
3431
  _: 3
3432
3432
  });
3433
3433
  }
3434
- const j2 = /* @__PURE__ */ pe(Jc, [["render", Gc], ["__scopeId", "data-v-4618707b"]]);
3434
+ const z2 = /* @__PURE__ */ pe(Jc, [["render", Gc], ["__scopeId", "data-v-4618707b"]]);
3435
3435
  function wt(e) {
3436
3436
  "@babel/helpers - typeof";
3437
3437
  return wt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -4844,10 +4844,10 @@ var Qp = /^(\d+)(th|st|nd|rd)?/i, Rp = /\d+/i, Ep = {
4844
4844
  function aa(e, t, a) {
4845
4845
  var r, n, o, s, i, l, u, p, f, m, b, A, B, E, x, F, Y, D;
4846
4846
  me(2, arguments);
4847
- var L = String(t), J = zt(), Q = (r = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : J.locale) !== null && r !== void 0 ? r : wi, ce = Ce((o = (s = (i = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (u = a.locale) === null || u === void 0 || (p = u.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && i !== void 0 ? i : J.firstWeekContainsDate) !== null && s !== void 0 ? s : (f = J.locale) === null || f === void 0 || (m = f.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
4847
+ var L = String(t), z = zt(), Q = (r = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : z.locale) !== null && r !== void 0 ? r : wi, ce = Ce((o = (s = (i = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (u = a.locale) === null || u === void 0 || (p = u.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && i !== void 0 ? i : z.firstWeekContainsDate) !== null && s !== void 0 ? s : (f = z.locale) === null || f === void 0 || (m = f.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
4848
4848
  if (!(ce >= 1 && ce <= 7))
4849
4849
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4850
- var K = Ce((b = (A = (B = (E = a == null ? void 0 : a.weekStartsOn) !== null && E !== void 0 ? E : a == null || (x = a.locale) === null || x === void 0 || (F = x.options) === null || F === void 0 ? void 0 : F.weekStartsOn) !== null && B !== void 0 ? B : J.weekStartsOn) !== null && A !== void 0 ? A : (Y = J.locale) === null || Y === void 0 || (D = Y.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && b !== void 0 ? b : 0);
4850
+ var K = Ce((b = (A = (B = (E = a == null ? void 0 : a.weekStartsOn) !== null && E !== void 0 ? E : a == null || (x = a.locale) === null || x === void 0 || (F = x.options) === null || F === void 0 ? void 0 : F.weekStartsOn) !== null && B !== void 0 ? B : z.weekStartsOn) !== null && A !== void 0 ? A : (Y = z.locale) === null || Y === void 0 || (D = Y.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && b !== void 0 ? b : 0);
4851
4851
  if (!(K >= 0 && K <= 6))
4852
4852
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4853
4853
  if (!Q.localize)
@@ -6800,8 +6800,8 @@ function Xr(e, t, a, r) {
6800
6800
  var F = String(e), Y = String(t), D = zt(), L = (n = (o = void 0) !== null && o !== void 0 ? o : D.locale) !== null && n !== void 0 ? n : wi;
6801
6801
  if (!L.match)
6802
6802
  throw new RangeError("locale must contain match property");
6803
- var J = Ce((s = (i = (l = (u = void 0) !== null && u !== void 0 ? u : void 0) !== null && l !== void 0 ? l : D.firstWeekContainsDate) !== null && i !== void 0 ? i : (p = D.locale) === null || p === void 0 || (f = p.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && s !== void 0 ? s : 1);
6804
- if (!(J >= 1 && J <= 7))
6803
+ var z = Ce((s = (i = (l = (u = void 0) !== null && u !== void 0 ? u : void 0) !== null && l !== void 0 ? l : D.firstWeekContainsDate) !== null && i !== void 0 ? i : (p = D.locale) === null || p === void 0 || (f = p.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && s !== void 0 ? s : 1);
6804
+ if (!(z >= 1 && z <= 7))
6805
6805
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
6806
6806
  var Q = Ce((m = (b = (A = (B = void 0) !== null && B !== void 0 ? B : void 0) !== null && A !== void 0 ? A : D.weekStartsOn) !== null && b !== void 0 ? b : (E = D.locale) === null || E === void 0 || (x = E.options) === null || x === void 0 ? void 0 : x.weekStartsOn) !== null && m !== void 0 ? m : 0);
6807
6807
  if (!(Q >= 0 && Q <= 6))
@@ -6809,7 +6809,7 @@ function Xr(e, t, a, r) {
6809
6809
  if (Y === "")
6810
6810
  return F === "" ? be(a) : /* @__PURE__ */ new Date(NaN);
6811
6811
  var ce = {
6812
- firstWeekContainsDate: J,
6812
+ firstWeekContainsDate: z,
6813
6813
  weekStartsOn: Q,
6814
6814
  locale: L
6815
6815
  }, K = [new bf()], w = Y.match(rh).map(function(G) {
@@ -8113,7 +8113,7 @@ const lm = (e, t) => {
8113
8113
  V(d[0]),
8114
8114
  d[1] ? V(d[1]) : Pa(t.partialRange)
8115
8115
  ];
8116
- }, J = () => r.value[1] ? L() : V(rt(r.value[0])), Q = () => (r.value || []).map((d) => V(d)), ce = () => (D(), t.modelAuto ? J() : t.multiDates ? Q() : Array.isArray(r.value) ? Dn(() => L(), t.range) : V(rt(r.value))), K = (d) => !d || Array.isArray(d) && !d.length ? null : t.timePicker ? B(rt(d)) : t.monthPicker ? E(rt(d)) : t.yearPicker ? b(rt(d)) : t.multiDates ? x(rt(d)) : t.weekPicker ? F(rt(d)) : Y(rt(d)), w = (d) => {
8116
+ }, z = () => r.value[1] ? L() : V(rt(r.value[0])), Q = () => (r.value || []).map((d) => V(d)), ce = () => (D(), t.modelAuto ? z() : t.multiDates ? Q() : Array.isArray(r.value) ? Dn(() => L(), t.range) : V(rt(r.value))), K = (d) => !d || Array.isArray(d) && !d.length ? null : t.timePicker ? B(rt(d)) : t.monthPicker ? E(rt(d)) : t.yearPicker ? b(rt(d)) : t.multiDates ? x(rt(d)) : t.weekPicker ? F(rt(d)) : Y(rt(d)), w = (d) => {
8117
8117
  const M = K(d);
8118
8118
  eo(rt(M)) ? (r.value = rt(M), O()) : (r.value = null, s.value = "");
8119
8119
  }, U = () => {
@@ -8227,7 +8227,7 @@ const xm = ({
8227
8227
  }
8228
8228
  }, L = ({ inputEl: k, left: V, width: I }) => {
8229
8229
  window.screen.width > 768 && !u.value && E(V, I), ce(k);
8230
- }, J = (k) => {
8230
+ }, z = (k) => {
8231
8231
  const { top: V, left: I, height: H, width: v } = x(k);
8232
8232
  p.value.top = `${H + V + +s.offset}px`, f.value = !1, u.value || (p.value.left = `${I + v / 2 - l.value.width / 2}px`), L({ inputEl: k, left: I, width: v });
8233
8233
  }, Q = (k) => {
@@ -8253,10 +8253,10 @@ const xm = ({
8253
8253
  return V <= v ? ua.bottom : V > v && V <= d ? ua.top : v >= d ? ua.bottom : ua.top;
8254
8254
  }
8255
8255
  return ua.bottom;
8256
- }, w = (k) => K() === ua.bottom ? J(k) : Q(k), U = () => {
8256
+ }, w = (k) => K() === ua.bottom ? z(k) : Q(k), U = () => {
8257
8257
  const k = nt(a);
8258
8258
  if (k)
8259
- return s.autoPosition ? w(k) : J(k);
8259
+ return s.autoPosition ? w(k) : z(k);
8260
8260
  }, q = function(k) {
8261
8261
  if (k) {
8262
8262
  const V = k.scrollHeight > k.clientHeight, I = window.getComputedStyle(k).overflowY.indexOf("hidden") !== -1;
@@ -8425,7 +8425,7 @@ const xm = ({
8425
8425
  return !1;
8426
8426
  }
8427
8427
  return !1;
8428
- }, Y = (v) => Xn(e.value, s.value, v.value), D = () => t.modelAuto && Array.isArray(t.internalModelValue) ? !!t.internalModelValue[0] : !1, L = () => t.modelAuto ? Ri(t.internalModelValue) : !0, J = (v) => {
8428
+ }, Y = (v) => Xn(e.value, s.value, v.value), D = () => t.modelAuto && Array.isArray(t.internalModelValue) ? !!t.internalModelValue[0] : !1, L = () => t.modelAuto ? Ri(t.internalModelValue) : !0, z = (v) => {
8429
8429
  if (Array.isArray(e.value) && e.value.length || t.weekPicker)
8430
8430
  return !1;
8431
8431
  const d = t.range ? !b(v) && !b(v, !1) : !0;
@@ -8454,7 +8454,7 @@ const xm = ({
8454
8454
  };
8455
8455
  }, j = (v) => ({
8456
8456
  dp__active_date: Q(v),
8457
- dp__date_hover: J(v)
8457
+ dp__date_hover: z(v)
8458
8458
  }), O = (v) => ({
8459
8459
  ...V(v),
8460
8460
  ...I(v),
@@ -8468,8 +8468,8 @@ const xm = ({
8468
8468
  dp__range_start: d,
8469
8469
  dp__range_end: M,
8470
8470
  dp__range_between: U(v) && !t.weekPicker,
8471
- dp__date_hover_start: A(J(v), v, !0),
8472
- dp__date_hover_end: A(J(v), v, !1)
8471
+ dp__date_hover_start: A(z(v), v, !0),
8472
+ dp__date_hover_end: A(z(v), v, !1)
8473
8473
  };
8474
8474
  }, I = (v) => ({
8475
8475
  ...V(v),
@@ -8534,12 +8534,12 @@ const xm = ({
8534
8534
  return x(e.allowedDates) && (w.allowedDates = E(e.allowedDates)), typeof a.value != "function" && x(a.value.dates) && (w.highlightedDates = E(a.value.dates)), x(e.disabledDates) && (w.disabledDates = E(e.disabledDates)), w;
8535
8535
  }, Y = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, D = (w) => Array.isArray(w) ? [w[0] ? gr(w[0]) : null, w[1] ? gr(w[1]) : null] : gr(w), L = (w, U, q) => w.find(
8536
8536
  (j) => +j.hours === Bt(U) && j.minutes === "*" ? !0 : +j.minutes === qt(U) && +j.hours === Bt(U)
8537
- ) && q, J = (w, U, q) => {
8537
+ ) && q, z = (w, U, q) => {
8538
8538
  const [j, O] = w, [k, V] = U;
8539
8539
  return !L(j, k, q) && !L(O, V, q) && q;
8540
8540
  }, Q = (w, U) => {
8541
8541
  const q = Array.isArray(U) ? U : [U];
8542
- return Array.isArray(e.disabledTimes) ? Array.isArray(e.disabledTimes[0]) ? J(e.disabledTimes, q, w) : !q.some((j) => L(e.disabledTimes, j, w)) : w;
8542
+ return Array.isArray(e.disabledTimes) ? Array.isArray(e.disabledTimes[0]) ? z(e.disabledTimes, q, w) : !q.some((j) => L(e.disabledTimes, j, w)) : w;
8543
8543
  }, ce = (w, U) => {
8544
8544
  const q = Array.isArray(U) ? [va(U[0]), U[1] ? va(U[1]) : void 0] : va(U), j = !e.disabledTimes(q);
8545
8545
  return w && j;
@@ -8820,7 +8820,7 @@ const xm = ({
8820
8820
  m.value = k.map((V) => F(V.trim())).filter((V) => V);
8821
8821
  } else
8822
8822
  m.value = F(O);
8823
- }, J = (O) => {
8823
+ }, z = (O) => {
8824
8824
  var k;
8825
8825
  const V = typeof O == "string" ? O : (k = O.target) == null ? void 0 : k.value;
8826
8826
  V !== "" ? (o.value.openMenu && !n.isMenuOpen && r("open"), L(V), r("set-input-date", m.value)) : x(), B.value = !1, r("update:input-value", V);
@@ -8861,7 +8861,7 @@ const xm = ({
8861
8861
  key: 0,
8862
8862
  value: e.inputValue,
8863
8863
  isMenuOpen: e.isMenuOpen,
8864
- onInput: J,
8864
+ onInput: z,
8865
8865
  onEnter: Q,
8866
8866
  onTab: ce,
8867
8867
  onClear: q,
@@ -8878,7 +8878,7 @@ const xm = ({
8878
8878
  ref_key: "inputRef",
8879
8879
  ref: b,
8880
8880
  name: O.name,
8881
- class: z(E.value),
8881
+ class: J(E.value),
8882
8882
  inputmode: C(o).enabled ? "text" : "none",
8883
8883
  placeholder: O.placeholder,
8884
8884
  disabled: O.disabled,
@@ -8889,7 +8889,7 @@ const xm = ({
8889
8889
  "aria-label": (V = C(s)) == null ? void 0 : V.input,
8890
8890
  "aria-disabled": O.disabled || void 0,
8891
8891
  "aria-invalid": O.state === !1 ? !0 : void 0,
8892
- onInput: J,
8892
+ onInput: z,
8893
8893
  onKeydown: [
8894
8894
  we(Q, ["enter"]),
8895
8895
  we(ce, ["tab"]),
@@ -8964,8 +8964,8 @@ const xm = ({
8964
8964
  i.value.rangeSeparator,
8965
8965
  r.modelAuto,
8966
8966
  u()
8967
- ), L = Z(() => !r.internalModelValue || !r.menuMount ? "" : typeof o.value == "string" ? Array.isArray(r.internalModelValue) ? r.internalModelValue.length === 2 && r.internalModelValue[1] ? Y() : r.multiDates ? r.internalModelValue.map((w) => `${D(w)}`) : r.modelAuto ? `${D(r.internalModelValue[0])}` : `${D(r.internalModelValue[0])} -` : D(r.internalModelValue) : F()), J = () => r.multiDates ? "; " : " - ", Q = Z(
8968
- () => Array.isArray(L.value) ? L.value.join(J()) : L.value
8967
+ ), L = Z(() => !r.internalModelValue || !r.menuMount ? "" : typeof o.value == "string" ? Array.isArray(r.internalModelValue) ? r.internalModelValue.length === 2 && r.internalModelValue[1] ? Y() : r.multiDates ? r.internalModelValue.map((w) => `${D(w)}`) : r.modelAuto ? `${D(r.internalModelValue[0])}` : `${D(r.internalModelValue[0])} -` : D(r.internalModelValue) : F()), z = () => r.multiDates ? "; " : " - ", Q = Z(
8968
+ () => Array.isArray(L.value) ? L.value.join(z()) : L.value
8969
8969
  ), ce = (w) => {
8970
8970
  if (!r.monthPicker)
8971
8971
  return !0;
@@ -9093,7 +9093,7 @@ const xm = ({
9093
9093
  var v;
9094
9094
  const d = nt(A);
9095
9095
  d && (u.value.enabled || (b.value ? (v = b.value) == null || v.focus({ preventScroll: !0 }) : d.focus({ preventScroll: !0 })), m.value = d.clientHeight < d.scrollHeight);
9096
- }, J = Z(
9096
+ }, z = Z(
9097
9097
  () => ({
9098
9098
  dp__overlay: !0,
9099
9099
  "dp--overlay-absolute": !i.useRelative,
@@ -9151,7 +9151,7 @@ const xm = ({
9151
9151
  return c(), h("div", {
9152
9152
  ref_key: "gridWrapRef",
9153
9153
  ref: A,
9154
- class: z(J.value),
9154
+ class: J(z.value),
9155
9155
  style: gt(Q.value),
9156
9156
  role: "dialog",
9157
9157
  tabindex: "0",
@@ -9166,7 +9166,7 @@ const xm = ({
9166
9166
  g("div", {
9167
9167
  ref_key: "containerRef",
9168
9168
  ref: Y,
9169
- class: z(w.value),
9169
+ class: J(w.value),
9170
9170
  role: "grid",
9171
9171
  style: gt({ height: `${F.value}px` })
9172
9172
  }, [
@@ -9175,7 +9175,7 @@ const xm = ({
9175
9175
  ]),
9176
9176
  v.$slots.overlay ? ee(v.$slots, "overlay", { key: 0 }) : (c(!0), h(Fe, { key: 1 }, He(v.items, (N, _) => (c(), h("div", {
9177
9177
  key: _,
9178
- class: z(["dp__overlay_row", { dp__flex_row: v.items.length >= 3 }]),
9178
+ class: J(["dp__overlay_row", { dp__flex_row: v.items.length >= 3 }]),
9179
9179
  role: "row"
9180
9180
  }, [
9181
9181
  (c(!0), h(Fe, null, He(N, (G, P) => (c(), h("div", {
@@ -9183,7 +9183,7 @@ const xm = ({
9183
9183
  ref_for: !0,
9184
9184
  ref: (y) => k(y, G, _, P),
9185
9185
  role: "gridcell",
9186
- class: z(ce.value),
9186
+ class: J(ce.value),
9187
9187
  "aria-selected": G.active,
9188
9188
  "aria-disabled": G.disabled || void 0,
9189
9189
  tabindex: "0",
@@ -9195,7 +9195,7 @@ const xm = ({
9195
9195
  onMouseover: (y) => H(G.value)
9196
9196
  }, [
9197
9197
  g("div", {
9198
- class: z(G.className)
9198
+ class: J(G.className)
9199
9199
  }, [
9200
9200
  v.$slots.item ? ee(v.$slots, "item", {
9201
9201
  key: 0,
@@ -9214,7 +9214,7 @@ const xm = ({
9214
9214
  ref: x,
9215
9215
  type: "button",
9216
9216
  "aria-label": (M = C(l)) == null ? void 0 : M.toggleOverlay,
9217
- class: z(K.value),
9217
+ class: J(K.value),
9218
9218
  tabindex: "0",
9219
9219
  onClick: j,
9220
9220
  onKeydown: [
@@ -9242,7 +9242,7 @@ const xm = ({
9242
9242
  dp__instance_calendar: t.multiCalendars > 0
9243
9243
  }));
9244
9244
  return (n, o) => (c(), h("div", {
9245
- class: z({
9245
+ class: J({
9246
9246
  dp__menu_inner: !n.stretch,
9247
9247
  "dp--menu--inner-stretched": n.stretch,
9248
9248
  dp__flex_display: n.multiCalendars > 0
@@ -9250,7 +9250,7 @@ const xm = ({
9250
9250
  }, [
9251
9251
  (c(!0), h(Fe, null, He(a.value, (s, i) => (c(), h("div", {
9252
9252
  key: s,
9253
- class: z(r.value)
9253
+ class: J(r.value)
9254
9254
  }, [
9255
9255
  ee(n.$slots, "default", {
9256
9256
  instance: s,
@@ -9286,7 +9286,7 @@ const xm = ({
9286
9286
  ]
9287
9287
  }, [
9288
9288
  g("span", {
9289
- class: z(["dp__inner_nav", { dp__inner_nav_disabled: n.disabled }])
9289
+ class: J(["dp__inner_nav", { dp__inner_nav_disabled: n.disabled }])
9290
9290
  }, [
9291
9291
  ee(n.$slots, "default")
9292
9292
  ], 2)
@@ -9423,11 +9423,11 @@ const xm = ({
9423
9423
  emit: i
9424
9424
  }) => {
9425
9425
  const l = Z(() => Eo(n.yearRange, n.reverseYears)), u = ne([!1]), p = Z(() => (D, L) => {
9426
- const J = Xe(Ft(/* @__PURE__ */ new Date()), {
9426
+ const z = Xe(Ft(/* @__PURE__ */ new Date()), {
9427
9427
  month: s.value(D),
9428
9428
  year: o.value(D)
9429
9429
  });
9430
- return Yi(J, n.maxDate, n.minDate, n.preventMinMaxNavigation, L);
9430
+ return Yi(z, n.maxDate, n.minDate, n.preventMinMaxNavigation, L);
9431
9431
  }), f = () => {
9432
9432
  for (let D = 0; D < e.value.count; D++)
9433
9433
  if (D === 0)
@@ -9453,17 +9453,17 @@ const xm = ({
9453
9453
  const B = (D, L) => {
9454
9454
  a.value[L].year = D, e.value.count && !e.value.solo && m(L);
9455
9455
  }, E = Z(() => (D) => Ha(l.value, (L) => {
9456
- const J = o.value(D) === L.value, Q = cn(L.value, za(n.minDate), za(n.maxDate)), ce = qo(t.value, L.value);
9457
- return { active: J, disabled: Q, highlighted: ce };
9456
+ const z = o.value(D) === L.value, Q = cn(L.value, za(n.minDate), za(n.maxDate)), ce = qo(t.value, L.value);
9457
+ return { active: z, disabled: Q, highlighted: ce };
9458
9458
  })), x = (D, L) => {
9459
9459
  B(D, L), Y(L);
9460
9460
  }, F = (D, L = !1) => {
9461
9461
  if (!p.value(D, L)) {
9462
- const J = L ? o.value(D) + 1 : o.value(D) - 1;
9463
- B(J, D);
9462
+ const z = L ? o.value(D) + 1 : o.value(D) - 1;
9463
+ B(z, D);
9464
9464
  }
9465
- }, Y = (D, L = !1, J) => {
9466
- L || i("reset-flow"), J !== void 0 ? u.value[D] = J : u.value[D] = !u.value[D], u.value || i("overlay-closed");
9465
+ }, Y = (D, L = !1, z) => {
9466
+ L || i("reset-flow"), z !== void 0 ? u.value[D] = z : u.value[D] = !u.value[D], u.value || i("overlay-closed");
9467
9467
  };
9468
9468
  return {
9469
9469
  isDisabled: p,
@@ -9496,7 +9496,7 @@ const xm = ({
9496
9496
  ht(() => {
9497
9497
  e.startDate && (i.value && e.focusStartDate || !i.value) && b(Oe(X(e.startDate)), 0);
9498
9498
  });
9499
- const D = (I) => I ? { month: Ne(I), year: Oe(I) } : { month: null, year: null }, L = () => i.value ? Array.isArray(i.value) ? i.value.map((I) => D(I)) : D(i.value) : D(), J = (I, H) => {
9499
+ const D = (I) => I ? { month: Ne(I), year: Oe(I) } : { month: null, year: null }, L = () => i.value ? Array.isArray(i.value) ? i.value.map((I) => D(I)) : D(i.value) : D(), z = (I, H) => {
9500
9500
  const v = p.value[I], d = L();
9501
9501
  return Array.isArray(d) ? d.some((M) => M.year === (v == null ? void 0 : v.year) && M.month === H) : (v == null ? void 0 : v.year) === d.year && H === d.month;
9502
9502
  }, Q = (I, H, v) => {
@@ -9514,7 +9514,7 @@ const xm = ({
9514
9514
  }
9515
9515
  return !1;
9516
9516
  }, K = Z(() => (I) => Ha(f.value, (H) => {
9517
- const v = J(I, H.value), d = cn(
9517
+ const v = z(I, H.value), d = cn(
9518
9518
  H.value,
9519
9519
  Ei(l.value(I), e.minDate),
9520
9520
  qi(l.value(I), e.maxDate)
@@ -9601,12 +9601,12 @@ const xm = ({
9601
9601
  toggleYearPicker: Y,
9602
9602
  handleYearSelect: D,
9603
9603
  handleYear: L,
9604
- getModelMonthYear: J
9604
+ getModelMonthYear: z
9605
9605
  } = Gm(s, r);
9606
9606
  return t({ getSidebarProps: () => ({
9607
9607
  modelValue: A,
9608
9608
  year: u,
9609
- getModelMonthYear: J,
9609
+ getModelMonthYear: z,
9610
9610
  selectMonth: x,
9611
9611
  selectYear: F,
9612
9612
  handleYear: L
@@ -9783,7 +9783,7 @@ const xm = ({
9783
9783
  return !n.validateTime(y, ie);
9784
9784
  }
9785
9785
  return !1;
9786
- }, J = Z(() => (y) => !V(+n[y] + +n[`${y}Increment`], y) || L(y, !0)), Q = Z(() => (y) => !V(+n[y] - +n[`${y}Increment`], y) || L(y, !1)), ce = (y, ge) => pi(Xe(X(), y), ge), K = (y, ge) => Fh(Xe(X(), y), ge), w = Z(
9786
+ }, z = Z(() => (y) => !V(+n[y] + +n[`${y}Increment`], y) || L(y, !0)), Q = Z(() => (y) => !V(+n[y] - +n[`${y}Increment`], y) || L(y, !1)), ce = (y, ge) => pi(Xe(X(), y), ge), K = (y, ge) => Fh(Xe(X(), y), ge), w = Z(
9787
9787
  () => ({
9788
9788
  dp__time_col: !0,
9789
9789
  dp__time_col_block: !n.timePickerInline,
@@ -9845,7 +9845,7 @@ const xm = ({
9845
9845
  var ye, R, ae;
9846
9846
  return c(), h("div", {
9847
9847
  key: xe,
9848
- class: z(w.value)
9848
+ class: J(w.value)
9849
9849
  }, [
9850
9850
  ie.separator ? (c(), h(Fe, { key: 0 }, [
9851
9851
  kt(" : ")
@@ -9854,12 +9854,12 @@ const xm = ({
9854
9854
  ref_for: !0,
9855
9855
  ref: (Be) => G(Be, xe, 0),
9856
9856
  type: "button",
9857
- class: z({
9857
+ class: J({
9858
9858
  dp__btn: !0,
9859
9859
  dp__inc_dec_button: !y.timePickerInline,
9860
9860
  dp__inc_dec_button_inline: y.timePickerInline,
9861
9861
  dp__tp_inline_btn_top: y.timePickerInline,
9862
- dp__inc_dec_button_disabled: J.value(ie.type)
9862
+ dp__inc_dec_button_disabled: z.value(ie.type)
9863
9863
  }),
9864
9864
  "aria-label": (ye = C(i)) == null ? void 0 : ye.incrementValue(ie.type),
9865
9865
  tabindex: "0",
@@ -9882,7 +9882,7 @@ const xm = ({
9882
9882
  ref: (Be) => G(Be, xe, 1),
9883
9883
  type: "button",
9884
9884
  "aria-label": (R = C(i)) == null ? void 0 : R.openTpOverlay(ie.type),
9885
- class: z({
9885
+ class: J({
9886
9886
  dp__time_display: !0,
9887
9887
  dp__time_display_block: !y.timePickerInline,
9888
9888
  dp__time_display_inline: y.timePickerInline,
@@ -9910,7 +9910,7 @@ const xm = ({
9910
9910
  ref_for: !0,
9911
9911
  ref: (Be) => G(Be, xe, 2),
9912
9912
  type: "button",
9913
- class: z({
9913
+ class: J({
9914
9914
  dp__btn: !0,
9915
9915
  dp__inc_dec_button: !y.timePickerInline,
9916
9916
  dp__inc_dec_button_inline: y.timePickerInline,
@@ -10035,7 +10035,7 @@ const xm = ({
10035
10035
  hours: Array.isArray(n.hours) ? n.hours[k] : n.hours,
10036
10036
  minutes: Array.isArray(n.minutes) ? n.minutes[k] : n.minutes,
10037
10037
  seconds: Array.isArray(n.seconds) ? n.seconds[k] : n.seconds
10038
- }), J = Z(() => {
10038
+ }), z = Z(() => {
10039
10039
  const k = [];
10040
10040
  if (n.range)
10041
10041
  for (let V = 0; V < 2; V++)
@@ -10051,7 +10051,7 @@ const xm = ({
10051
10051
  dp__btn: !0,
10052
10052
  dp__button: !0,
10053
10053
  dp__button_bottom: n.autoApply && !f.value.keepActionRow
10054
- })), K = vt(i, "timePicker"), w = (k, V, I) => n.range ? V === 0 ? [k, J.value[1][I]] : [J.value[0][I], k] : k, U = (k) => {
10054
+ })), K = vt(i, "timePicker"), w = (k, V, I) => n.range ? V === 0 ? [k, z.value[1][I]] : [z.value[0][I], k] : k, U = (k) => {
10055
10055
  r("update:hours", k);
10056
10056
  }, q = (k) => {
10057
10057
  r("update:minutes", k);
@@ -10071,7 +10071,7 @@ const xm = ({
10071
10071
  ref_key: "openTimePickerBtn",
10072
10072
  ref: B,
10073
10073
  type: "button",
10074
- class: z(ce.value),
10074
+ class: J(ce.value),
10075
10075
  "aria-label": (I = C(u)) == null ? void 0 : I.openTimePicker,
10076
10076
  tabindex: k.noOverlayFocus ? void 0 : 0,
10077
10077
  onKeydown: [
@@ -10096,7 +10096,7 @@ const xm = ({
10096
10096
  key: 0,
10097
10097
  ref_key: "overlayRef",
10098
10098
  ref: F,
10099
- class: z({
10099
+ class: J({
10100
10100
  dp__overlay: !k.timePickerInline,
10101
10101
  "dp--overlay-absolute": !n.timePicker && !k.timePickerInline,
10102
10102
  "dp--overlay-relative": n.timePicker
@@ -10105,7 +10105,7 @@ const xm = ({
10105
10105
  tabindex: k.timePickerInline ? void 0 : 0
10106
10106
  }, [
10107
10107
  g("div", {
10108
- class: z(
10108
+ class: J(
10109
10109
  k.timePickerInline ? "dp__time_picker_inline_container" : "dp__overlay_container dp__container_flex dp__time_picker_overlay_container"
10110
10110
  ),
10111
10111
  style: { display: "flex" }
@@ -10121,9 +10121,9 @@ const xm = ({
10121
10121
  }) : S("", !0),
10122
10122
  k.$slots["time-picker-overlay"] ? S("", !0) : (c(), h("div", {
10123
10123
  key: 1,
10124
- class: z(k.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
10124
+ class: J(k.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
10125
10125
  }, [
10126
- (c(!0), h(Fe, null, He(J.value, (v, d) => ta((c(), fe(d1, _e({ key: d }, {
10126
+ (c(!0), h(Fe, null, He(z.value, (v, d) => ta((c(), fe(d1, _e({ key: d }, {
10127
10127
  ...k.$props,
10128
10128
  order: d,
10129
10129
  hours: v.hours,
@@ -10159,7 +10159,7 @@ const xm = ({
10159
10159
  ref_key: "closeTimePickerBtn",
10160
10160
  ref: E,
10161
10161
  type: "button",
10162
- class: z(ce.value),
10162
+ class: J(ce.value),
10163
10163
  "aria-label": (H = C(u)) == null ? void 0 : H.closeTimePicker,
10164
10164
  tabindex: "0",
10165
10165
  onKeydown: [
@@ -10190,12 +10190,12 @@ const xm = ({
10190
10190
  Object.keys(t).map((D) => D === x ? [D, F] : [D, t[D]].slice())
10191
10191
  );
10192
10192
  if (e.range && !e.disableTimeRangeValidation) {
10193
- const D = (J) => a.value ? ra(
10194
- a.value[J],
10195
- Y.hours[J],
10196
- Y.minutes[J],
10197
- Y.seconds[J]
10198
- ) : null, L = (J) => xo(a.value[J], 0);
10193
+ const D = (z) => a.value ? ra(
10194
+ a.value[z],
10195
+ Y.hours[z],
10196
+ Y.minutes[z],
10197
+ Y.seconds[z]
10198
+ ) : null, L = (z) => xo(a.value[z], 0);
10199
10199
  return !(qe(D(0), D(1)) && (un(D(0), L(1)) || dn(D(1), L(0))));
10200
10200
  }
10201
10201
  return !0;
@@ -10223,11 +10223,11 @@ const xm = ({
10223
10223
  }, E = Z(() => (x, F) => {
10224
10224
  var Y;
10225
10225
  if (Array.isArray(e.disabledTimes)) {
10226
- const { disabledArr: D, hours: L } = B(x, F), J = D.filter((Q) => +Q.hours === L);
10227
- return ((Y = J[0]) == null ? void 0 : Y.minutes) === "*" ? { hours: [L], minutes: void 0, seconds: void 0 } : {
10226
+ const { disabledArr: D, hours: L } = B(x, F), z = D.filter((Q) => +Q.hours === L);
10227
+ return ((Y = z[0]) == null ? void 0 : Y.minutes) === "*" ? { hours: [L], minutes: void 0, seconds: void 0 } : {
10228
10228
  hours: [],
10229
- minutes: (J == null ? void 0 : J.map((Q) => +Q.minutes)) ?? [],
10230
- seconds: (J == null ? void 0 : J.map((Q) => Q.seconds ? +Q.seconds : void 0)) ?? []
10229
+ minutes: (z == null ? void 0 : z.map((Q) => +Q.minutes)) ?? [],
10230
+ seconds: (z == null ? void 0 : z.map((Q) => Q.seconds ? +Q.seconds : void 0)) ?? []
10231
10231
  };
10232
10232
  }
10233
10233
  return { hours: [], minutes: [], seconds: [] };
@@ -10359,13 +10359,13 @@ const xm = ({
10359
10359
  ht(() => {
10360
10360
  r("mount");
10361
10361
  });
10362
- const J = (d) => ({
10362
+ const z = (d) => ({
10363
10363
  get: () => n[d],
10364
10364
  set: (M) => {
10365
10365
  const N = d === Ct.month ? Ct.year : Ct.month;
10366
10366
  r("update-month-year", { [d]: M, [N]: n[N] }), d === Ct.month ? O(!0) : k(!0);
10367
10367
  }
10368
- }), Q = Z(J(Ct.month)), ce = Z(J(Ct.year)), K = Z(() => (d) => ({
10368
+ }), Q = Z(z(Ct.month)), ce = Z(z(Ct.year)), K = Z(() => (d) => ({
10369
10369
  month: n.month,
10370
10370
  year: n.year,
10371
10371
  items: d === Ct.month ? n.months : n.years,
@@ -10441,7 +10441,7 @@ const xm = ({
10441
10441
  _: 3
10442
10442
  }, 8, ["aria-label", "disabled"])) : S("", !0),
10443
10443
  g("div", {
10444
- class: z(["dp__month_year_wrap", {
10444
+ class: J(["dp__month_year_wrap", {
10445
10445
  dp__year_disable_select: d.disableYearSelect
10446
10446
  }])
10447
10447
  }, [
@@ -10606,10 +10606,10 @@ const xm = ({
10606
10606
  ht(() => {
10607
10607
  r("mount", { cmp: "calendar", refs: b }), i.value.noSwipe || A.value && (A.value.addEventListener("touchstart", k, { passive: !1 }), A.value.addEventListener("touchend", V, { passive: !1 }), A.value.addEventListener("touchmove", I, { passive: !1 })), n.monthChangeOnScroll && A.value && A.value.addEventListener("wheel", d, { passive: !1 });
10608
10608
  });
10609
- const J = (P) => P ? n.vertical ? "vNext" : "next" : n.vertical ? "vPrevious" : "previous", Q = (P, y) => {
10609
+ const z = (P) => P ? n.vertical ? "vNext" : "next" : n.vertical ? "vPrevious" : "previous", Q = (P, y) => {
10610
10610
  if (n.transitions) {
10611
10611
  const ge = dt(Wt(X(), n.month, n.year));
10612
- E.value = lt(dt(Wt(X(), P, y)), ge) ? s.value[J(!0)] : s.value[J(!1)], B.value = !1, oa(() => {
10612
+ E.value = lt(dt(Wt(X(), P, y)), ge) ? s.value[z(!0)] : s.value[z(!1)], B.value = !1, oa(() => {
10613
10613
  B.value = !0;
10614
10614
  });
10615
10615
  }
@@ -10671,13 +10671,13 @@ const xm = ({
10671
10671
  return t({ triggerTransition: Q }), (P, y) => {
10672
10672
  var ge;
10673
10673
  return c(), h("div", {
10674
- class: z(U.value)
10674
+ class: J(U.value)
10675
10675
  }, [
10676
10676
  g("div", {
10677
10677
  ref_key: "calendarWrapRef",
10678
10678
  ref: A,
10679
10679
  role: "grid",
10680
- class: z(ce.value),
10680
+ class: J(ce.value),
10681
10681
  "aria-label": (ge = C(l)) == null ? void 0 : ge.calendarWrap
10682
10682
  }, [
10683
10683
  (c(), h(Fe, { key: 0 }, [
@@ -10742,7 +10742,7 @@ const xm = ({
10742
10742
  onMouseleave: (Ye) => O(ye)
10743
10743
  }, [
10744
10744
  g("div", {
10745
- class: z(["dp__cell_inner", ye.classData])
10745
+ class: J(["dp__cell_inner", ye.classData])
10746
10746
  }, [
10747
10747
  P.$slots.day && q.value(ye) ? ee(P.$slots, "day", {
10748
10748
  key: 0,
@@ -10760,7 +10760,7 @@ const xm = ({
10760
10760
  date: ye.value
10761
10761
  }) : (c(), h("div", {
10762
10762
  key: 1,
10763
- class: z(K.value(ye.marker)),
10763
+ class: J(K.value(ye.marker)),
10764
10764
  style: gt(ye.marker.color ? { backgroundColor: ye.marker.color } : {})
10765
10765
  }, null, 6))
10766
10766
  ], 64)) : S("", !0),
@@ -10819,7 +10819,7 @@ const xm = ({
10819
10819
  () => (T) => s.value[T] ? s.value[T].month : 0
10820
10820
  ), L = Z(
10821
10821
  () => (T) => s.value[T] ? s.value[T].year : 0
10822
- ), J = (T, $, Se) => {
10822
+ ), z = (T, $, Se) => {
10823
10823
  var Ue, Ke;
10824
10824
  s.value[T] || (s.value[T] = { month: 0, year: 0 }), s.value[T].month = gs($) ? (Ue = s.value[T]) == null ? void 0 : Ue.month : $, s.value[T].year = gs(Se) ? (Ke = s.value[T]) == null ? void 0 : Ke.year : Se;
10825
10825
  }, Q = () => {
@@ -10841,7 +10841,7 @@ const xm = ({
10841
10841
  if (l.value.count && T && !e.startDate)
10842
10842
  return U(X(), T);
10843
10843
  }, U = (T, $ = !1) => {
10844
- if ((!l.value.count || !l.value.static || $) && J(0, Ne(T), Oe(T)), l.value.count && (!l.value.solo || !o.value))
10844
+ if ((!l.value.count || !l.value.static || $) && z(0, Ne(T), Oe(T)), l.value.count && (!l.value.solo || !o.value))
10845
10845
  for (let Se = 1; Se < l.value.count; Se++) {
10846
10846
  const Ue = Xe(X(), { month: D.value(Se - 1), year: L.value(Se - 1) }), Ke = pi(Ue, { months: 1 });
10847
10847
  s.value[Se] = { month: Ne(Ke), year: Oe(Ke) };
@@ -10875,26 +10875,26 @@ const xm = ({
10875
10875
  k($, T), l.value.count && l.value.solo && v();
10876
10876
  }, I = (T, $) => {
10877
10877
  const Se = Xe(X(), { month: D.value($), year: L.value($) }), Ue = T < 0 ? Dt(Se, 1) : qa(Se, 1);
10878
- p(Ne(Ue), Oe(Ue), T < 0, e.preventMinMaxNavigation) && (J($, Ne(Ue), Oe(Ue)), t("update-month-year", { instance: $, month: Ne(Ue), year: Oe(Ue) }), l.value.count && !l.value.solo && H($), a());
10878
+ p(Ne(Ue), Oe(Ue), T < 0, e.preventMinMaxNavigation) && (z($, Ne(Ue), Oe(Ue)), t("update-month-year", { instance: $, month: Ne(Ue), year: Oe(Ue) }), l.value.count && !l.value.solo && H($), a());
10879
10879
  }, H = (T) => {
10880
10880
  for (let $ = T - 1; $ >= 0; $--) {
10881
10881
  const Se = qa(Xe(X(), { month: D.value($ + 1), year: L.value($ + 1) }), 1);
10882
- J($, Ne(Se), Oe(Se));
10882
+ z($, Ne(Se), Oe(Se));
10883
10883
  }
10884
10884
  for (let $ = T + 1; $ <= l.value.count - 1; $++) {
10885
10885
  const Se = Dt(Xe(X(), { month: D.value($ - 1), year: L.value($ - 1) }), 1);
10886
- J($, Ne(Se), Oe(Se));
10886
+ z($, Ne(Se), Oe(Se));
10887
10887
  }
10888
10888
  }, v = () => {
10889
10889
  if (Array.isArray(o.value) && o.value.length === 2) {
10890
10890
  const T = X(
10891
10891
  X(o.value[1] ? o.value[1] : Dt(o.value[0], 1))
10892
10892
  ), [$, Se] = [Ne(o.value[0]), Oe(o.value[0])], [Ue, Ke] = [Ne(o.value[1]), Oe(o.value[1])];
10893
- ($ !== Ue || $ === Ue && Se !== Ke) && l.value.solo && J(1, Ne(T), Oe(T));
10893
+ ($ !== Ue || $ === Ue && Se !== Ke) && l.value.solo && z(1, Ne(T), Oe(T));
10894
10894
  } else
10895
- o.value && !Array.isArray(o.value) && (J(0, Ne(o.value), Oe(o.value)), U(X()));
10895
+ o.value && !Array.isArray(o.value) && (z(0, Ne(o.value), Oe(o.value)), U(X()));
10896
10896
  }, d = () => {
10897
- e.startDate && (J(0, Ne(X(e.startDate)), Oe(X(e.startDate))), l.value.count && H(0));
10897
+ e.startDate && (z(0, Ne(X(e.startDate)), Oe(X(e.startDate))), l.value.count && H(0));
10898
10898
  }, M = lm((T, $) => {
10899
10899
  e.monthChangeOnScroll && I(e.monthChangeOnScroll !== "inverse" ? -T.deltaY : T.deltaY, $);
10900
10900
  }, 50), N = (T, $, Se = !1) => {
@@ -10964,12 +10964,12 @@ const xm = ({
10964
10964
  m(Se) ? ($ && Be(T.value), n.value = Se) : t("invalid-date", T.value);
10965
10965
  }, Be = (T) => {
10966
10966
  const $ = Ne(X(T)), Se = Oe(X(T));
10967
- if (J(0, $, Se), l.value.count > 0)
10967
+ if (z(0, $, Se), l.value.count > 0)
10968
10968
  for (let Ue = 1; Ue < l.value.count; Ue++) {
10969
10969
  const Ke = pm(
10970
10970
  Xe(X(T), { year: D.value(Ue - 1), month: L.value(Ue - 1) })
10971
10971
  );
10972
- J(Ue, Ke.month, Ke.year);
10972
+ z(Ue, Ke.month, Ke.year);
10973
10973
  }
10974
10974
  }, le = (T) => Array.isArray(o.value) && o.value.length === 2 ? e.fixedStart && (lt(T, o.value[0]) || qe(T, o.value[0])) ? [o.value[0], T] : e.fixedEnd && (st(T, o.value[1]) || qe(T, o.value[1])) ? [T, o.value[1]] : (t("invalid-fixed-range", T), o.value) : [], Ye = (T) => {
10975
10975
  if (ye(T.value) || !b(T.value, o.value, e.fixedStart ? 0 : 1))
@@ -11003,7 +11003,7 @@ const xm = ({
11003
11003
  As(i.hours) && As(i.minutes) && !e.multiDates && (mt(T, $), Tn());
11004
11004
  }, ja = (T, $) => {
11005
11005
  var Se;
11006
- J(T, $.month, $.year), l.value.count && !l.value.solo && H(T), t("update-month-year", { instance: T, month: $.month, year: $.year }), a(l.value.solo ? T : void 0);
11006
+ z(T, $.month, $.year), l.value.count && !l.value.solo && H(T), t("update-month-year", { instance: T, month: $.month, year: $.year }), a(l.value.solo ? T : void 0);
11007
11007
  const Ue = (Se = e.flow) != null && Se.length ? e.flow[e.flowStep] : void 0;
11008
11008
  !$.fromNav && (Ue === Mt.month || Ue === Mt.year) && r();
11009
11009
  }, yt = (T, $) => {
@@ -11089,7 +11089,7 @@ const xm = ({
11089
11089
  presetDate: Y,
11090
11090
  selectCurrentDate: D,
11091
11091
  updateTime: L
11092
- } = B1(n, r, v, d), J = wa(), { setHoverDate: Q, getDayClassData: ce, clearHoverDate: K } = Im(l, n), { defaultedMultiCalendars: w } = tt(n), U = ne([]), q = ne([]), j = ne(null), O = vt(J, "calendar"), k = vt(J, "monthYear"), V = vt(J, "timePicker"), I = (N) => {
11092
+ } = B1(n, r, v, d), z = wa(), { setHoverDate: Q, getDayClassData: ce, clearHoverDate: K } = Im(l, n), { defaultedMultiCalendars: w } = tt(n), U = ne([]), q = ne([]), j = ne(null), O = vt(z, "calendar"), k = vt(z, "monthYear"), V = vt(z, "timePicker"), I = (N) => {
11093
11093
  n.shadow || r("mount", N);
11094
11094
  };
11095
11095
  At(
@@ -11268,7 +11268,7 @@ const xm = ({
11268
11268
  isBetween: k
11269
11269
  };
11270
11270
  });
11271
- }), J = (K) => {
11271
+ }), z = (K) => {
11272
11272
  Ho(K, s, e.multiDatesLimit), t("auto-apply", !0);
11273
11273
  }, Q = (K) => {
11274
11274
  const w = zo(s, K, t);
@@ -11291,7 +11291,7 @@ const xm = ({
11291
11291
  selectYear: f,
11292
11292
  selectQuarter: (K, w, U) => {
11293
11293
  if (!U)
11294
- return u.value[w].month = Ne($o(K)), e.multiDates ? J(K) : e.range ? Q(K) : ce(K);
11294
+ return u.value[w].month = Ne($o(K)), e.multiDates ? z(K) : e.range ? Q(K) : ce(K);
11295
11295
  },
11296
11296
  toggleYearPicker: B,
11297
11297
  handleYearSelect: E,
@@ -11339,21 +11339,21 @@ const xm = ({
11339
11339
  "multi-calendars": C(i).count,
11340
11340
  stretch: ""
11341
11341
  }, {
11342
- default: ve(({ instance: J }) => [
11342
+ default: ve(({ instance: z }) => [
11343
11343
  g("div", {
11344
11344
  class: "dp-quarter-picker-wrap",
11345
11345
  style: gt({ minHeight: `${C(l).modeHeight}px` })
11346
11346
  }, [
11347
11347
  g("div", null, [
11348
11348
  ue(Ki, _e(D.$props, {
11349
- items: C(u)(J),
11350
- instance: J,
11351
- "show-year-picker": C(A)[J],
11352
- year: C(p)(J),
11353
- "is-disabled": (Q) => C(f)(J, Q),
11354
- onHandleYear: (Q) => C(Y)(J, Q),
11355
- onYearSelect: (Q) => C(F)(Q, J),
11356
- onToggleYearPicker: (Q) => C(x)(J, Q == null ? void 0 : Q.flow, Q == null ? void 0 : Q.show)
11349
+ items: C(u)(z),
11350
+ instance: z,
11351
+ "show-year-picker": C(A)[z],
11352
+ year: C(p)(z),
11353
+ "is-disabled": (Q) => C(f)(z, Q),
11354
+ onHandleYear: (Q) => C(Y)(z, Q),
11355
+ onYearSelect: (Q) => C(F)(Q, z),
11356
+ onToggleYearPicker: (Q) => C(x)(z, Q == null ? void 0 : Q.flow, Q == null ? void 0 : Q.show)
11357
11357
  }), it({ _: 2 }, [
11358
11358
  He(C(s), (Q, ce) => ({
11359
11359
  name: Q,
@@ -11364,17 +11364,17 @@ const xm = ({
11364
11364
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
11365
11365
  ]),
11366
11366
  g("div", I1, [
11367
- (c(!0), h(Fe, null, He(C(m)(J), (Q, ce) => (c(), h("div", { key: ce }, [
11367
+ (c(!0), h(Fe, null, He(C(m)(z), (Q, ce) => (c(), h("div", { key: ce }, [
11368
11368
  g("button", {
11369
11369
  type: "button",
11370
- class: z(["dp--qr-btn", {
11370
+ class: J(["dp--qr-btn", {
11371
11371
  "dp--qr-btn-active": Q.active,
11372
11372
  "dp--qr-btn-between": Q.isBetween,
11373
11373
  "dp--qr-btn-disabled": Q.disabled,
11374
11374
  "dp--highlighted": Q.highlighted
11375
11375
  }]),
11376
11376
  disabled: Q.disabled,
11377
- onClick: (K) => C(E)(Q.value, J, Q.disabled),
11377
+ onClick: (K) => C(E)(Q.value, z, Q.disabled),
11378
11378
  onMouseover: (K) => C(B)(Q.value)
11379
11379
  }, [
11380
11380
  D.$slots.quarter ? ee(D.$slots, "quarter", {
@@ -11465,7 +11465,7 @@ const xm = ({
11465
11465
  const Y = () => {
11466
11466
  const R = nt(E);
11467
11467
  R && (A.value = R.getBoundingClientRect().width);
11468
- }, { arrowRight: D, arrowLeft: L, arrowDown: J, arrowUp: Q } = ia(), { flowStep: ce, updateFlowStep: K, childMount: w, resetFlow: U } = Mm(n, r, F), q = Z(() => n.monthPicker ? Zm : n.yearPicker ? $m : n.timePicker ? g1 : n.quarterPicker ? V1 : O1), j = () => {
11468
+ }, { arrowRight: D, arrowLeft: L, arrowDown: z, arrowUp: Q } = ia(), { flowStep: ce, updateFlowStep: K, childMount: w, resetFlow: U } = Mm(n, r, F), q = Z(() => n.monthPicker ? Zm : n.yearPicker ? $m : n.timePicker ? g1 : n.quarterPicker ? V1 : O1), j = () => {
11469
11469
  const R = nt(B);
11470
11470
  R && R.focus({ preventScroll: !0 });
11471
11471
  }, O = Z(() => {
@@ -11492,7 +11492,7 @@ const xm = ({
11492
11492
  if (R === "up")
11493
11493
  return Q();
11494
11494
  if (R === "down")
11495
- return J();
11495
+ return z();
11496
11496
  if (R === "left")
11497
11497
  return L();
11498
11498
  if (R === "right")
@@ -11532,7 +11532,7 @@ const xm = ({
11532
11532
  ref: B,
11533
11533
  tabindex: "0",
11534
11534
  role: "dialog",
11535
- class: z(d.value),
11535
+ class: J(d.value),
11536
11536
  onMouseleave: ye,
11537
11537
  onClick: M,
11538
11538
  onKeydown: [
@@ -11546,16 +11546,16 @@ const xm = ({
11546
11546
  }, [
11547
11547
  (R.disabled || R.readonly) && C(f).enabled ? (c(), h("div", {
11548
11548
  key: 0,
11549
- class: z(v.value)
11549
+ class: J(v.value)
11550
11550
  }, null, 2)) : S("", !0),
11551
11551
  !C(f).enabled && !R.teleportCenter ? (c(), h("div", {
11552
11552
  key: 1,
11553
- class: z(H.value)
11553
+ class: J(H.value)
11554
11554
  }, null, 2)) : S("", !0),
11555
11555
  g("div", {
11556
11556
  ref_key: "innerMenuRef",
11557
11557
  ref: E,
11558
- class: z({
11558
+ class: J({
11559
11559
  dp__menu_content_wrapper: ((Be = R.presetDates) == null ? void 0 : Be.length) || !!R.$slots["left-sidebar"] || !!R.$slots["right-sidebar"]
11560
11560
  }),
11561
11561
  style: gt({ "--dp-menu-width": `${A.value}px` })
@@ -11711,7 +11711,7 @@ const xm = ({
11711
11711
  "invalid-date"
11712
11712
  ],
11713
11713
  setup(e, { expose: t, emit: a }) {
11714
- const r = a, n = e, o = wa(), s = ne(!1), i = rn(n, "modelValue"), l = rn(n, "timezone"), u = ne(null), p = ne(null), f = ne(null), m = ne(!1), b = ne(null), A = ne(!1), B = ne(!1), { setMenuFocused: E, setShiftKey: x } = Wi(), { clearArrowNav: F } = ia(), { mapDatesArrToMap: Y, validateDate: D, isValidTime: L } = Ca(n), { defaultedTransitions: J, defaultedTextInput: Q, defaultedInline: ce, defaultedConfig: K } = tt(n), { menuTransition: w, showTransition: U } = kn(J);
11714
+ const r = a, n = e, o = wa(), s = ne(!1), i = rn(n, "modelValue"), l = rn(n, "timezone"), u = ne(null), p = ne(null), f = ne(null), m = ne(!1), b = ne(null), A = ne(!1), B = ne(!1), { setMenuFocused: E, setShiftKey: x } = Wi(), { clearArrowNav: F } = ia(), { mapDatesArrToMap: Y, validateDate: D, isValidTime: L } = Ca(n), { defaultedTransitions: z, defaultedTextInput: Q, defaultedInline: ce, defaultedConfig: K } = tt(n), { menuTransition: w, showTransition: U } = kn(z);
11715
11715
  ht(() => {
11716
11716
  _(n.modelValue), oa().then(() => {
11717
11717
  if (!ce.value.enabled) {
@@ -11838,7 +11838,7 @@ const xm = ({
11838
11838
  }), (oe, De) => (c(), h("div", {
11839
11839
  ref_key: "pickerWrapperRef",
11840
11840
  ref: b,
11841
- class: z(ge.value),
11841
+ class: J(ge.value),
11842
11842
  "data-datepicker-instance": ""
11843
11843
  }, [
11844
11844
  ue(Qm, _e({
@@ -12097,12 +12097,12 @@ function ng(e, t, a, r, n, o) {
12097
12097
  }, [
12098
12098
  g("div", $1, [
12099
12099
  g("label", {
12100
- class: z(["fusion-date-picker label", e.stateClasses]),
12100
+ class: J(["fusion-date-picker label", e.stateClasses]),
12101
12101
  for: `dp-input-${e.id}`
12102
12102
  }, te(e.label), 11, eg),
12103
12103
  e.helperLabel ? (c(), h("div", {
12104
12104
  key: 0,
12105
- class: z(["fusion-date-picker helper-label", e.stateClasses]),
12105
+ class: J(["fusion-date-picker helper-label", e.stateClasses]),
12106
12106
  "data-test": "helper-label"
12107
12107
  }, te(e.helperLabel), 3)) : S("", !0)
12108
12108
  ]),
@@ -12122,7 +12122,7 @@ function ng(e, t, a, r, n, o) {
12122
12122
  "text-input": e.datePickerInputOptions,
12123
12123
  name: e.name,
12124
12124
  "hide-offset-dates": "",
12125
- class: z(["fusion-date-picker cmp", e.stateClasses]),
12125
+ class: J(["fusion-date-picker cmp", e.stateClasses]),
12126
12126
  "input-class-name": "fusion-date-picker field",
12127
12127
  "max-date": e.maxDate,
12128
12128
  "min-date": e.minDate,
@@ -12142,7 +12142,7 @@ function ng(e, t, a, r, n, o) {
12142
12142
  ])) : S("", !0)
12143
12143
  ], 8, _1);
12144
12144
  }
12145
- const X2 = /* @__PURE__ */ pe(Z1, [["render", ng], ["__scopeId", "data-v-1a23a7be"]]), rg = se({
12145
+ const J2 = /* @__PURE__ */ pe(Z1, [["render", ng], ["__scopeId", "data-v-1a23a7be"]]), rg = se({
12146
12146
  name: "FusionSearchableInput",
12147
12147
  components: {
12148
12148
  SVGSearch: si,
@@ -12158,79 +12158,75 @@ const X2 = /* @__PURE__ */ pe(Z1, [["render", ng], ["__scopeId", "data-v-1a23a7b
12158
12158
  type: String,
12159
12159
  required: !0
12160
12160
  },
12161
- options: {
12162
- type: Array,
12163
- required: !0
12164
- },
12165
12161
  label: {
12166
12162
  type: String,
12167
12163
  default: ""
12168
12164
  },
12165
+ helperLabel: {
12166
+ type: String,
12167
+ default: ""
12168
+ },
12169
12169
  placeholder: {
12170
12170
  type: String,
12171
12171
  default: "Please select an option"
12172
12172
  },
12173
- searchText: {
12173
+ errorLabel: {
12174
12174
  type: String,
12175
12175
  default: ""
12176
12176
  },
12177
- searchPlaceholder: {
12177
+ modelValue: {
12178
+ type: Object,
12179
+ default: () => ({ label: "", value: null })
12180
+ },
12181
+ tabIndex: {
12182
+ type: Number,
12183
+ default: 0
12184
+ },
12185
+ autocomplete: {
12178
12186
  type: String,
12179
- default: "Type to search"
12187
+ default: "on"
12180
12188
  },
12181
- searchLoading: {
12189
+ disabled: {
12182
12190
  type: Boolean,
12183
12191
  default: !1
12184
12192
  },
12185
- searchErrorTitle: {
12186
- type: String,
12187
- default: ""
12188
- },
12189
- searchErrorDescription: {
12190
- type: String,
12191
- default: ""
12193
+ autofocus: {
12194
+ type: Boolean,
12195
+ default: !1
12192
12196
  },
12193
- minSearchLength: {
12194
- type: Number,
12195
- default: 2
12197
+ options: {
12198
+ type: Array,
12199
+ required: !0
12196
12200
  },
12197
- helperLabel: {
12201
+ searchText: {
12198
12202
  type: String,
12199
12203
  default: ""
12200
12204
  },
12201
- errorLabel: {
12205
+ searchPlaceholder: {
12202
12206
  type: String,
12203
- default: ""
12204
- },
12205
- modelValue: {
12206
- type: Object,
12207
- default: () => ({ label: "", value: null })
12207
+ default: "Type to search"
12208
12208
  },
12209
- required: {
12209
+ searchLoading: {
12210
12210
  type: Boolean,
12211
12211
  default: !1
12212
12212
  },
12213
- tabIndex: {
12214
- type: Number,
12215
- default: 0
12216
- },
12217
- autocomplete: {
12213
+ searchErrorTitle: {
12218
12214
  type: String,
12219
- default: "on"
12215
+ default: ""
12220
12216
  },
12221
- title: {
12217
+ searchErrorDescription: {
12222
12218
  type: String,
12223
12219
  default: ""
12224
12220
  },
12225
- disabled: {
12226
- type: Boolean,
12227
- default: !1
12221
+ minSearchLength: {
12222
+ type: Number,
12223
+ default: 2
12228
12224
  },
12229
12225
  readonly: {
12230
12226
  type: Boolean,
12231
12227
  default: !1
12232
12228
  },
12233
- autofocus: {
12229
+ required: {
12234
12230
  type: Boolean,
12235
12231
  default: !1
12236
12232
  },
@@ -12248,7 +12244,6 @@ const X2 = /* @__PURE__ */ pe(Z1, [["render", ng], ["__scopeId", "data-v-1a23a7b
12248
12244
  return {
12249
12245
  selected: this.modelValue,
12250
12246
  searchInputValue: "",
12251
- styleVariables: {},
12252
12247
  interactionStates: {
12253
12248
  opened: !1,
12254
12249
  focused: !1
@@ -12259,7 +12254,6 @@ const X2 = /* @__PURE__ */ pe(Z1, [["render", ng], ["__scopeId", "data-v-1a23a7b
12259
12254
  stateClasses() {
12260
12255
  return {
12261
12256
  disabled: this.disabled,
12262
- error: !!this.errorLabel,
12263
12257
  opened: this.interactionStates.opened
12264
12258
  };
12265
12259
  }
@@ -12296,90 +12290,80 @@ const X2 = /* @__PURE__ */ pe(Z1, [["render", ng], ["__scopeId", "data-v-1a23a7b
12296
12290
  },
12297
12291
  handleKeyDown(e) {
12298
12292
  if (e.key === "ArrowDown" || e.key === "ArrowUp") {
12299
- const t = this.$el.querySelectorAll(".fusion-select-list-box-item"), r = [...this.$el.querySelectorAll("#fusion-searchable-input-field"), ...t];
12293
+ const t = this.$el.querySelectorAll("[data-test='list-box-option'].fusion-menu-item"), r = [...this.$el.querySelectorAll(
12294
+ "[data-test='searchable-input-field'] input[data-test='input']"
12295
+ ), ...t];
12300
12296
  ko(e, r);
12301
12297
  }
12302
12298
  }
12303
12299
  }
12304
- }), og = ["data-test"], sg = { class: "fusion-searchable-input-label-wrapper" }, ig = ["for"], lg = { class: "fusion-searchable-input-wrapper" };
12305
- function ug(e, t, a, r, n, o) {
12306
- const s = re("SVGSearch"), i = re("FusionInput"), l = re("FusionListBox");
12307
- return c(), h("div", {
12308
- class: "fusion-searchable-input-container",
12309
- "data-test": e.dataTest
12310
- }, [
12311
- g("div", sg, [
12312
- e.label ? (c(), h("label", {
12313
- key: 0,
12314
- class: z(["fusion-searchable-input label", e.stateClasses]),
12315
- for: e.id,
12316
- "data-test": "label"
12317
- }, te(e.label), 11, ig)) : S("", !0),
12318
- e.helperLabel ? (c(), h("div", {
12319
- key: 1,
12320
- class: z(["fusion-searchable-input helper-label", e.stateClasses]),
12321
- "data-test": "helper-label"
12322
- }, te(e.helperLabel), 3)) : S("", !0)
12323
- ]),
12324
- g("div", lg, [
12325
- ue(i, {
12326
- id: e.id,
12327
- name: "fusion-searchable-input",
12328
- class: z(["fusion-searchable-input field", e.stateClasses]),
12329
- "data-test": "searchable-input",
12330
- tabindex: e.tabIndex,
12331
- autofocus: e.autofocus,
12332
- "aria-labelledby": e.ariaLabel,
12333
- "aria-invalid": !!e.errorLabel,
12334
- "aria-disabled": e.disabled,
12335
- "error-label": e.errorLabel,
12336
- disabled: e.disabled,
12337
- input: e.selected.label,
12338
- placeholder: e.searchPlaceholder,
12339
- autocomplete: e.autocomplete,
12340
- onClick: e.handleInputClick,
12341
- "onInput:blur": e.handleBlur,
12342
- "onInput:focus": e.handleFocus,
12343
- onKeydown: [
12344
- we(e.handleKeydownEnter, ["enter"]),
12345
- e.handleKeyDown
12346
- ],
12347
- "onUpdate:input": e.updateInput
12348
- }, {
12349
- icon: ve(() => [
12350
- ue(s, { class: "fusion-searchable-input-search-icon" })
12351
- ]),
12352
- _: 1
12353
- }, 8, ["id", "tabindex", "autofocus", "aria-labelledby", "aria-invalid", "aria-disabled", "class", "error-label", "disabled", "input", "placeholder", "autocomplete", "onClick", "onInput:blur", "onInput:focus", "onKeydown", "onUpdate:input"]),
12354
- e.interactionStates.opened ? (c(), fe(l, {
12355
- key: 0,
12356
- "select-id": "fusion-searchable-input-select-" + e.id,
12357
- options: e.options,
12358
- "search-text": e.searchText,
12359
- "search-disabled": !0,
12360
- "search-placeholder": e.searchPlaceholder,
12361
- "search-loading": e.searchLoading,
12362
- "search-error-title": e.searchErrorTitle,
12363
- "search-error-description": e.searchErrorDescription,
12364
- "data-test": "list-box",
12365
- selected: e.selected,
12366
- "onHandle:select": e.handleSelect,
12367
- "onHandle:close": e.closeListBox
12368
- }, null, 8, ["select-id", "options", "search-text", "search-placeholder", "search-loading", "search-error-title", "search-error-description", "selected", "onHandle:select", "onHandle:close"])) : S("", !0)
12369
- ])
12300
+ }), og = ["data-test"];
12301
+ function sg(e, t, a, r, n, o) {
12302
+ const s = re("SVGSearch"), i = re("FusionListBox"), l = re("FusionInput");
12303
+ return c(), h("div", { "data-test": e.dataTest }, [
12304
+ ue(l, {
12305
+ id: e.id,
12306
+ input: e.selected.label,
12307
+ placeholder: e.searchPlaceholder,
12308
+ autocomplete: e.autocomplete,
12309
+ class: J(e.stateClasses),
12310
+ disabled: e.disabled,
12311
+ label: e.label,
12312
+ "helper-label": e.helperLabel,
12313
+ name: e.name,
12314
+ "error-label": e.errorLabel,
12315
+ "tab-index": e.tabIndex,
12316
+ autofocus: e.autofocus,
12317
+ required: e.required,
12318
+ readonly: e.readonly,
12319
+ "aria-labelledby": e.ariaLabel,
12320
+ "aria-invalid": !!e.errorLabel,
12321
+ "aria-disabled": e.disabled,
12322
+ "data-test": "searchable-input-field",
12323
+ onClick: e.handleInputClick,
12324
+ "onInput:blur": e.handleBlur,
12325
+ "onInput:focus": e.handleFocus,
12326
+ onKeydown: [
12327
+ we(e.handleKeydownEnter, ["enter"]),
12328
+ e.handleKeyDown
12329
+ ],
12330
+ "onUpdate:input": e.updateInput
12331
+ }, {
12332
+ icon: ve(() => [
12333
+ ue(s)
12334
+ ]),
12335
+ content: ve(() => [
12336
+ e.interactionStates.opened ? (c(), fe(i, {
12337
+ key: 0,
12338
+ "select-id": "fusion-searchable-input-select-" + e.id,
12339
+ options: e.options,
12340
+ "search-text": e.searchText,
12341
+ "search-disabled": "",
12342
+ "search-placeholder": e.searchPlaceholder,
12343
+ "search-loading": e.searchLoading,
12344
+ "search-error-title": e.searchErrorTitle,
12345
+ "search-error-description": e.searchErrorDescription,
12346
+ "data-test": "list-box",
12347
+ selected: e.selected,
12348
+ "onHandle:select": e.handleSelect,
12349
+ "onHandle:close": e.closeListBox
12350
+ }, null, 8, ["select-id", "options", "search-text", "search-placeholder", "search-loading", "search-error-title", "search-error-description", "selected", "onHandle:select", "onHandle:close"])) : S("", !0)
12351
+ ]),
12352
+ _: 1
12353
+ }, 8, ["id", "input", "placeholder", "autocomplete", "class", "disabled", "label", "helper-label", "name", "error-label", "tab-index", "autofocus", "required", "readonly", "aria-labelledby", "aria-invalid", "aria-disabled", "onClick", "onInput:blur", "onInput:focus", "onKeydown", "onUpdate:input"])
12370
12354
  ], 8, og);
12371
12355
  }
12372
- const W2 = /* @__PURE__ */ pe(rg, [["render", ug], ["__scopeId", "data-v-20d5b7fd"]]), dg = se({
12356
+ const Y2 = /* @__PURE__ */ pe(rg, [["render", sg]]), ig = se({
12373
12357
  name: "SVGDecrement"
12374
- }), cg = {
12358
+ }), lg = {
12375
12359
  width: "24",
12376
12360
  height: "24",
12377
12361
  viewBox: "0 0 24 24",
12378
12362
  fill: "none",
12379
12363
  xmlns: "http://www.w3.org/2000/svg"
12380
12364
  };
12381
- function pg(e, t, a, r, n, o) {
12382
- return c(), h("svg", cg, [...t[0] || (t[0] = [
12365
+ function ug(e, t, a, r, n, o) {
12366
+ return c(), h("svg", lg, [...t[0] || (t[0] = [
12383
12367
  g("mask", {
12384
12368
  id: "mask0_509_78",
12385
12369
  style: { "mask-type": "alpha" },
@@ -12403,17 +12387,17 @@ function pg(e, t, a, r, n, o) {
12403
12387
  ], -1)
12404
12388
  ])]);
12405
12389
  }
12406
- const fg = /* @__PURE__ */ pe(dg, [["render", pg]]), hg = se({
12390
+ const dg = /* @__PURE__ */ pe(ig, [["render", ug]]), cg = se({
12407
12391
  name: "SVGIncrement"
12408
- }), mg = {
12392
+ }), pg = {
12409
12393
  width: "24",
12410
12394
  height: "24",
12411
12395
  viewBox: "0 0 24 24",
12412
12396
  fill: "none",
12413
12397
  xmlns: "http://www.w3.org/2000/svg"
12414
12398
  };
12415
- function gg(e, t, a, r, n, o) {
12416
- return c(), h("svg", mg, [...t[0] || (t[0] = [
12399
+ function fg(e, t, a, r, n, o) {
12400
+ return c(), h("svg", pg, [...t[0] || (t[0] = [
12417
12401
  g("mask", {
12418
12402
  id: "mask0_509_77",
12419
12403
  style: { "mask-type": "alpha" },
@@ -12437,9 +12421,9 @@ function gg(e, t, a, r, n, o) {
12437
12421
  ], -1)
12438
12422
  ])]);
12439
12423
  }
12440
- const vg = /* @__PURE__ */ pe(hg, [["render", gg]]), yg = se({
12424
+ const hg = /* @__PURE__ */ pe(cg, [["render", fg]]), mg = se({
12441
12425
  name: "FusionNumericInputStepper",
12442
- components: { FusionIconButton: Ja, SVGDecrement: fg, SVGIncrement: vg },
12426
+ components: { FusionIconButton: Ja, SVGDecrement: dg, SVGIncrement: hg },
12443
12427
  props: {
12444
12428
  label: {
12445
12429
  type: String,
@@ -12507,26 +12491,26 @@ const vg = /* @__PURE__ */ pe(hg, [["render", gg]]), yg = se({
12507
12491
  this.state.value > this.minValue && (this.state.value -= 1, this.$emit("update:modelValue", this.state.value));
12508
12492
  }
12509
12493
  }
12510
- }), bg = ["data-test"], kg = { class: "fusion-numeric-input-stepper headers" }, Ag = { class: "fusion-numeric-input-stepper inputs-wrapper" };
12511
- function wg(e, t, a, r, n, o) {
12494
+ }), gg = ["data-test"], vg = { class: "fusion-numeric-input-stepper headers" }, yg = { class: "fusion-numeric-input-stepper inputs-wrapper" };
12495
+ function bg(e, t, a, r, n, o) {
12512
12496
  const s = re("SVGDecrement"), i = re("FusionIconButton"), l = re("SVGIncrement");
12513
12497
  return c(), h("div", {
12514
12498
  class: "fusion-numeric-input-stepper wrapper",
12515
12499
  "data-test": e.dataTest
12516
12500
  }, [
12517
- g("div", kg, [
12501
+ g("div", vg, [
12518
12502
  e.label ? (c(), h("label", {
12519
12503
  key: 0,
12520
- class: z(["fusion-numeric-input-stepper label", e.stateClasses]),
12504
+ class: J(["fusion-numeric-input-stepper label", e.stateClasses]),
12521
12505
  "data-test": "label"
12522
12506
  }, te(e.label), 3)) : S("", !0),
12523
12507
  e.helperLabel ? (c(), h("div", {
12524
12508
  key: 1,
12525
- class: z(["fusion-numeric-input-stepper helper-label", e.stateClasses]),
12509
+ class: J(["fusion-numeric-input-stepper helper-label", e.stateClasses]),
12526
12510
  "data-test": "helper-label"
12527
12511
  }, te(e.helperLabel), 3)) : S("", !0)
12528
12512
  ]),
12529
- g("div", Ag, [
12513
+ g("div", yg, [
12530
12514
  ue(i, {
12531
12515
  disabled: e.isMinDisabled || e.disabled,
12532
12516
  label: "",
@@ -12542,7 +12526,7 @@ function wg(e, t, a, r, n, o) {
12542
12526
  }, 8, ["disabled", "onClick"]),
12543
12527
  g("span", {
12544
12528
  "data-text": "fusion-numeric-input-stepper-value",
12545
- class: z(["fusion-numeric-input-stepper value", e.stateClasses])
12529
+ class: J(["fusion-numeric-input-stepper value", e.stateClasses])
12546
12530
  }, te(e.state.value), 3),
12547
12531
  ue(i, {
12548
12532
  disabled: e.isMaxDisabled || e.disabled,
@@ -12558,9 +12542,9 @@ function wg(e, t, a, r, n, o) {
12558
12542
  _: 1
12559
12543
  }, 8, ["disabled", "onClick"])
12560
12544
  ])
12561
- ], 8, bg);
12545
+ ], 8, gg);
12562
12546
  }
12563
- const K2 = /* @__PURE__ */ pe(yg, [["render", wg], ["__scopeId", "data-v-c9dd10c1"]]), Cg = se({
12547
+ const j2 = /* @__PURE__ */ pe(mg, [["render", bg], ["__scopeId", "data-v-c9dd10c1"]]), kg = se({
12564
12548
  name: "FusionTag",
12565
12549
  props: {
12566
12550
  variantStyle: {
@@ -12603,6 +12587,20 @@ const K2 = /* @__PURE__ */ pe(yg, [["render", wg], ["__scopeId", "data-v-c9dd10c
12603
12587
  return "warning";
12604
12588
  case "success":
12605
12589
  return "success";
12590
+ case "status-1":
12591
+ return "status-1";
12592
+ case "status-2":
12593
+ return "status-2";
12594
+ case "status-3":
12595
+ return "status-3";
12596
+ case "status-4":
12597
+ return "status-4";
12598
+ case "status-5":
12599
+ return "status-5";
12600
+ case "status-6":
12601
+ return "status-6";
12602
+ case "status-7":
12603
+ return "status-7";
12606
12604
  default:
12607
12605
  return "emphasis-one";
12608
12606
  }
@@ -12616,35 +12614,35 @@ const K2 = /* @__PURE__ */ pe(yg, [["render", wg], ["__scopeId", "data-v-c9dd10c
12616
12614
  return "emphasis-one";
12617
12615
  }
12618
12616
  }
12619
- }), Sg = {
12617
+ }), Ag = {
12620
12618
  class: "text-body",
12621
12619
  "data-test": "fusion-tag-label"
12622
12620
  };
12623
- function Tg(e, t, a, r, n, o) {
12621
+ function wg(e, t, a, r, n, o) {
12624
12622
  return c(), h("div", {
12625
- class: z(["fusion-tag", `fusion-tag-${e.variantTypeClass}`]),
12623
+ class: J(["fusion-tag", `fusion-tag-${e.variantTypeClass}`]),
12626
12624
  "data-test": "fusion-tag"
12627
12625
  }, [
12628
12626
  e.$slots.icon ? (c(), h("span", {
12629
12627
  key: 0,
12630
- class: z(["fusion-tag-icon", `fusion-tag-icon-${e.variantTypeClass}`]),
12628
+ class: J(["fusion-tag-icon", `fusion-tag-icon-${e.variantTypeClass}`]),
12631
12629
  "data-test": "fusion-tag-icon"
12632
12630
  }, [
12633
12631
  ee(e.$slots, "icon", {}, void 0, !0)
12634
12632
  ], 2)) : S("", !0),
12635
- g("div", Sg, te(e.label), 1)
12633
+ g("div", Ag, te(e.label), 1)
12636
12634
  ], 2);
12637
12635
  }
12638
- const Pg = /* @__PURE__ */ pe(Cg, [["render", Tg], ["__scopeId", "data-v-c5681870"]]), Fg = se({
12636
+ const Cg = /* @__PURE__ */ pe(kg, [["render", wg], ["__scopeId", "data-v-d6bac064"]]), Sg = se({
12639
12637
  name: "FusionDivider"
12640
- }), Dg = {
12638
+ }), Tg = {
12641
12639
  class: "fusion-divider",
12642
12640
  "data-test": "fusion-divider"
12643
12641
  };
12644
- function Bg(e, t, a, r, n, o) {
12645
- return c(), h("hr", Dg);
12642
+ function Pg(e, t, a, r, n, o) {
12643
+ return c(), h("hr", Tg);
12646
12644
  }
12647
- const el = /* @__PURE__ */ pe(Fg, [["render", Bg], ["__scopeId", "data-v-7f05f527"]]), xg = se({
12645
+ const el = /* @__PURE__ */ pe(Sg, [["render", Pg], ["__scopeId", "data-v-7f05f527"]]), Fg = se({
12648
12646
  name: "FusionCard",
12649
12647
  components: {
12650
12648
  FusionDivider: el
@@ -12677,14 +12675,14 @@ const el = /* @__PURE__ */ pe(Fg, [["render", Bg], ["__scopeId", "data-v-7f05f52
12677
12675
  this.selectable && !this.disabled && (e.type === "click" || e.type === "keydown") && this.$emit("update:selected", !this.selected);
12678
12676
  }
12679
12677
  }
12680
- }), Og = ["role", "aria-pressed", "tabindex", "aria-disabled"], Ug = { class: "fusion-card-body" }, Ig = { class: "fusion-card-content" }, Mg = {
12678
+ }), Dg = ["role", "aria-pressed", "tabindex", "aria-disabled"], Bg = { class: "fusion-card-body" }, xg = { class: "fusion-card-content" }, Og = {
12681
12679
  key: 0,
12682
12680
  class: "fusion-card-image"
12683
12681
  };
12684
- function Vg(e, t, a, r, n, o) {
12682
+ function Ug(e, t, a, r, n, o) {
12685
12683
  const s = re("FusionDivider");
12686
12684
  return c(), h("div", {
12687
- class: z(["fusion-card", {
12685
+ class: J(["fusion-card", {
12688
12686
  "fusion-card-shadow": e.shadow,
12689
12687
  "fusion-card-gradient": e.variant === "gradient",
12690
12688
  "fusion-card-brand": e.variant === "brand",
@@ -12703,8 +12701,8 @@ function Vg(e, t, a, r, n, o) {
12703
12701
  t[3] || (t[3] = we(Ee((...i) => e.handleInteraction && e.handleInteraction(...i), ["prevent"]), ["space"]))
12704
12702
  ]
12705
12703
  }, [
12706
- g("div", Ug, [
12707
- g("div", Ig, [
12704
+ g("div", Bg, [
12705
+ g("div", xg, [
12708
12706
  ee(e.$slots, "content", {}, void 0, !0)
12709
12707
  ]),
12710
12708
  e.$slots.footer && !e.$slots.image ? (c(), fe(s, {
@@ -12720,12 +12718,12 @@ function Vg(e, t, a, r, n, o) {
12720
12718
  ee(e.$slots, "footer", {}, void 0, !0)
12721
12719
  ])) : S("", !0)
12722
12720
  ]),
12723
- e.$slots.image && !e.$slots.footer ? (c(), h("div", Mg, [
12721
+ e.$slots.image && !e.$slots.footer ? (c(), h("div", Og, [
12724
12722
  ee(e.$slots, "image", {}, void 0, !0)
12725
12723
  ])) : S("", !0)
12726
- ], 42, Og);
12724
+ ], 42, Dg);
12727
12725
  }
12728
- const G2 = /* @__PURE__ */ pe(xg, [["render", Vg], ["__scopeId", "data-v-7dea0d58"]]), Lg = {
12726
+ const X2 = /* @__PURE__ */ pe(Fg, [["render", Ug], ["__scopeId", "data-v-7dea0d58"]]), Ig = {
12729
12727
  name: "FusionProgressBarStep",
12730
12728
  props: {
12731
12729
  stepLabel: {
@@ -12749,20 +12747,20 @@ const G2 = /* @__PURE__ */ pe(xg, [["render", Vg], ["__scopeId", "data-v-7dea0d5
12749
12747
  default: !1
12750
12748
  }
12751
12749
  }
12752
- }, Ng = { class: "fusion-progress-bar-item-label" };
12753
- function Qg(e, t, a, r, n, o) {
12750
+ }, Mg = { class: "fusion-progress-bar-item-label" };
12751
+ function Vg(e, t, a, r, n, o) {
12754
12752
  return c(), h("div", {
12755
- class: z(["fusion-progress-bar-item", [a.active ? "active" : "", a.completed ? "completed" : ""]])
12753
+ class: J(["fusion-progress-bar-item", [a.active ? "active" : "", a.completed ? "completed" : ""]])
12756
12754
  }, [
12757
12755
  t[0] || (t[0] = g("div", { class: "fusion-progress-bar-item-track" }, null, -1)),
12758
12756
  t[1] || (t[1] = g("div", { class: "fusion-progress-bar-item-circle" }, null, -1)),
12759
- g("span", Ng, te(a.stepLabel), 1)
12757
+ g("span", Mg, te(a.stepLabel), 1)
12760
12758
  ], 2);
12761
12759
  }
12762
- const Rg = /* @__PURE__ */ pe(Lg, [["render", Qg], ["__scopeId", "data-v-55681af3"]]), Eg = se({
12760
+ const Lg = /* @__PURE__ */ pe(Ig, [["render", Vg], ["__scopeId", "data-v-55681af3"]]), Ng = se({
12763
12761
  name: "FusionProgressBar",
12764
12762
  components: {
12765
- FusionProgressBarStep: Rg
12763
+ FusionProgressBarStep: Lg
12766
12764
  },
12767
12765
  props: {
12768
12766
  // Mode prop to determine which type of progress bar to render
@@ -12801,17 +12799,17 @@ const Rg = /* @__PURE__ */ pe(Lg, [["render", Qg], ["__scopeId", "data-v-55681af
12801
12799
  return e < this.stepNumber - 1;
12802
12800
  }
12803
12801
  }
12804
- }), qg = { class: "fusion-progress-bar-wrapper" }, Hg = {
12802
+ }), Qg = { class: "fusion-progress-bar-wrapper" }, Rg = {
12805
12803
  key: 0,
12806
12804
  class: "fusion-progress-bar-track"
12807
- }, zg = {
12805
+ }, Eg = {
12808
12806
  key: 1,
12809
12807
  class: "fusion-progress-bar-percentage"
12810
- }, Jg = { class: "fusion-progress-bar-percentage-track" };
12811
- function Yg(e, t, a, r, n, o) {
12808
+ }, qg = { class: "fusion-progress-bar-percentage-track" };
12809
+ function Hg(e, t, a, r, n, o) {
12812
12810
  const s = re("FusionProgressBarStep");
12813
- return c(), h("div", qg, [
12814
- e.mode === "steps" ? (c(), h("div", Hg, [
12811
+ return c(), h("div", Qg, [
12812
+ e.mode === "steps" ? (c(), h("div", Rg, [
12815
12813
  (c(!0), h(Fe, null, He(e.steps, (i, l) => (c(), fe(s, {
12816
12814
  key: `step-${i.position}`,
12817
12815
  active: !e.isCompleted(l) && l <= e.stepNumber - 1,
@@ -12821,8 +12819,8 @@ function Yg(e, t, a, r, n, o) {
12821
12819
  "is-first-step": l === 0,
12822
12820
  "data-test": `step-${i.label.toLowerCase()}`
12823
12821
  }, null, 8, ["active", "current-step", "completed", "step-label", "is-first-step", "data-test"]))), 128))
12824
- ])) : e.mode === "percentage" ? (c(), h("div", zg, [
12825
- g("div", Jg, [
12822
+ ])) : e.mode === "percentage" ? (c(), h("div", Eg, [
12823
+ g("div", qg, [
12826
12824
  g("div", {
12827
12825
  class: "fusion-progress-bar-percentage-fill",
12828
12826
  style: gt({ width: `${Math.min(Math.max(e.percentage || 0, 0), 100)}%` })
@@ -12831,48 +12829,48 @@ function Yg(e, t, a, r, n, o) {
12831
12829
  ])) : S("", !0)
12832
12830
  ]);
12833
12831
  }
12834
- const jg = /* @__PURE__ */ pe(Eg, [["render", Yg], ["__scopeId", "data-v-4c3c2461"]]), Xg = se({
12832
+ const zg = /* @__PURE__ */ pe(Ng, [["render", Hg], ["__scopeId", "data-v-4c3c2461"]]), Jg = se({
12835
12833
  name: "FusionContextMenu",
12836
12834
  components: {
12837
12835
  OnClickOutside: bo
12838
12836
  },
12839
12837
  emits: ["click-outside"]
12840
- }), Wg = { class: "fusion-context-menu" };
12841
- function Kg(e, t, a, r, n, o) {
12838
+ }), Yg = { class: "fusion-context-menu" };
12839
+ function jg(e, t, a, r, n, o) {
12842
12840
  const s = re("OnClickOutside");
12843
12841
  return c(), fe(s, {
12844
12842
  ignore: [".fusion-context-menu"],
12845
12843
  onTrigger: t[0] || (t[0] = (i) => e.$emit("click-outside"))
12846
12844
  }, {
12847
12845
  default: ve(() => [
12848
- g("div", Wg, [
12846
+ g("div", Yg, [
12849
12847
  ee(e.$slots, "default", {}, void 0, !0)
12850
12848
  ])
12851
12849
  ]),
12852
12850
  _: 3
12853
12851
  });
12854
12852
  }
12855
- const Z2 = /* @__PURE__ */ pe(Xg, [["render", Kg], ["__scopeId", "data-v-1599d91b"]]), Gg = {
12853
+ const W2 = /* @__PURE__ */ pe(Jg, [["render", jg], ["__scopeId", "data-v-1599d91b"]]), Xg = {
12856
12854
  name: "FusionPlatformBar"
12857
- }, Zg = { class: "fusion-platform-bar" };
12858
- function _g(e, t, a, r, n, o) {
12859
- return c(), h("div", Zg, [
12855
+ }, Wg = { class: "fusion-platform-bar" };
12856
+ function Kg(e, t, a, r, n, o) {
12857
+ return c(), h("div", Wg, [
12860
12858
  ee(e.$slots, "left-icon", {}, void 0, !0),
12861
12859
  ee(e.$slots, "logo", {}, void 0, !0),
12862
12860
  ee(e.$slots, "right-icon", {}, void 0, !0)
12863
12861
  ]);
12864
12862
  }
12865
- const _2 = /* @__PURE__ */ pe(Gg, [["render", _g], ["__scopeId", "data-v-fcdfbcf9"]]), $g = se({
12863
+ const K2 = /* @__PURE__ */ pe(Xg, [["render", Kg], ["__scopeId", "data-v-fcdfbcf9"]]), Gg = se({
12866
12864
  name: "SVGXMark"
12867
- }), ev = {
12865
+ }), Zg = {
12868
12866
  width: "28",
12869
12867
  height: "28",
12870
12868
  viewBox: "0 0 28 28",
12871
12869
  fill: "none",
12872
12870
  xmlns: "http://www.w3.org/2000/svg"
12873
12871
  };
12874
- function tv(e, t, a, r, n, o) {
12875
- return c(), h("svg", ev, [...t[0] || (t[0] = [
12872
+ function _g(e, t, a, r, n, o) {
12873
+ return c(), h("svg", Zg, [...t[0] || (t[0] = [
12876
12874
  g("mask", {
12877
12875
  id: "mask0_5103_4",
12878
12876
  style: { "mask-type": "alpha" },
@@ -12896,7 +12894,7 @@ function tv(e, t, a, r, n, o) {
12896
12894
  ], -1)
12897
12895
  ])]);
12898
12896
  }
12899
- const tl = /* @__PURE__ */ pe($g, [["render", tv]]), av = se({
12897
+ const tl = /* @__PURE__ */ pe(Gg, [["render", _g]]), $g = se({
12900
12898
  name: "FusionSideNavigation",
12901
12899
  components: { FusionIconButton: Ja, SVGXMark: tl },
12902
12900
  props: {
@@ -12941,12 +12939,12 @@ const tl = /* @__PURE__ */ pe($g, [["render", tv]]), av = se({
12941
12939
  this.handleScroll();
12942
12940
  }
12943
12941
  }
12944
- }), nv = { class: "flex items-center p-sm" }, rv = { class: "fusion-side-navigation-content-wrapper" }, ov = { class: "fusion-side-navigation-list" };
12945
- function sv(e, t, a, r, n, o) {
12942
+ }), ev = { class: "flex items-center p-sm" }, tv = { class: "fusion-side-navigation-content-wrapper" }, av = { class: "fusion-side-navigation-list" };
12943
+ function nv(e, t, a, r, n, o) {
12946
12944
  const s = re("SVGXMark"), i = re("FusionIconButton");
12947
12945
  return c(), h(Fe, null, [
12948
12946
  g("aside", {
12949
- class: z(["fusion-side-navigation", {
12947
+ class: J(["fusion-side-navigation", {
12950
12948
  "fusion-side-navigation-open": e.isOpen,
12951
12949
  "fusion-side-navigation-mobile": e.isMobile
12952
12950
  }]),
@@ -12954,9 +12952,9 @@ function sv(e, t, a, r, n, o) {
12954
12952
  }, [
12955
12953
  e.$slots.header && e.isMobile ? (c(), h("div", {
12956
12954
  key: 0,
12957
- class: z(["fusion-side-navigation-header", { "has-shadow": e.hasScrolledDown }])
12955
+ class: J(["fusion-side-navigation-header", { "has-shadow": e.hasScrolledDown }])
12958
12956
  }, [
12959
- g("div", nv, [
12957
+ g("div", ev, [
12960
12958
  ee(e.$slots, "header", {}, void 0, !0),
12961
12959
  ue(i, {
12962
12960
  class: "fusion-side-navigation-header-icon",
@@ -12973,20 +12971,20 @@ function sv(e, t, a, r, n, o) {
12973
12971
  }, 8, ["onClick"])
12974
12972
  ])
12975
12973
  ], 2)) : S("", !0),
12976
- g("div", rv, [
12974
+ g("div", tv, [
12977
12975
  g("nav", {
12978
12976
  ref: "contentRef",
12979
12977
  class: "fusion-side-navigation-content",
12980
12978
  onScroll: t[0] || (t[0] = (...l) => e.handleScroll && e.handleScroll(...l))
12981
12979
  }, [
12982
- g("ul", ov, [
12980
+ g("ul", av, [
12983
12981
  ee(e.$slots, "default", {}, void 0, !0)
12984
12982
  ])
12985
12983
  ], 544)
12986
12984
  ]),
12987
12985
  e.$slots.footer ? (c(), h("div", {
12988
12986
  key: 1,
12989
- class: z(["fusion-side-navigation-footer", { "has-shadow": e.hasScrolledUp }])
12987
+ class: J(["fusion-side-navigation-footer", { "has-shadow": e.hasScrolledUp }])
12990
12988
  }, [
12991
12989
  ee(e.$slots, "footer", {}, void 0, !0)
12992
12990
  ], 2)) : S("", !0)
@@ -12999,7 +12997,7 @@ function sv(e, t, a, r, n, o) {
12999
12997
  })) : S("", !0)
13000
12998
  ], 64);
13001
12999
  }
13002
- const $2 = /* @__PURE__ */ pe(av, [["render", sv], ["__scopeId", "data-v-3bd17874"]]), iv = se({
13000
+ const G2 = /* @__PURE__ */ pe($g, [["render", nv], ["__scopeId", "data-v-3bd17874"]]), rv = se({
13003
13001
  name: "FusionSideNavigationItem",
13004
13002
  props: {
13005
13003
  item: {
@@ -13036,15 +13034,15 @@ const $2 = /* @__PURE__ */ pe(av, [["render", sv], ["__scopeId", "data-v-3bd1787
13036
13034
  this.disabled || this.$emit("update:selected", !this.selected);
13037
13035
  }
13038
13036
  }
13039
- }), lv = ["tabindex", "aria-disabled", "aria-current", "aria-label"], uv = ["href"], dv = {
13037
+ }), ov = ["tabindex", "aria-disabled", "aria-current", "aria-label"], sv = ["href"], iv = {
13040
13038
  key: 1,
13041
13039
  class: "fusion-side-navigation-item-label"
13042
13040
  };
13043
- function cv(e, t, a, r, n, o) {
13041
+ function lv(e, t, a, r, n, o) {
13044
13042
  var s, i;
13045
13043
  return c(), h("li", {
13046
13044
  tabindex: e.disabled ? -1 : 0,
13047
- class: z(["fusion-side-navigation-item", { selected: e.selected, disabled: e.disabled, active: e.active }]),
13045
+ class: J(["fusion-side-navigation-item", { selected: e.selected, disabled: e.disabled, active: e.active }]),
13048
13046
  "aria-disabled": e.disabled,
13049
13047
  "aria-current": e.selected ? "page" : void 0,
13050
13048
  "aria-label": (s = e.item) == null ? void 0 : s.label,
@@ -13064,15 +13062,15 @@ function cv(e, t, a, r, n, o) {
13064
13062
  }, [
13065
13063
  e.$slots.icon ? (c(), h("div", {
13066
13064
  key: 0,
13067
- class: z(["fusion-side-navigation-item-icon", { selected: e.selected }])
13065
+ class: J(["fusion-side-navigation-item-icon", { selected: e.selected }])
13068
13066
  }, [
13069
13067
  ee(e.$slots, "icon", {}, void 0, !0)
13070
13068
  ], 2)) : S("", !0),
13071
- (i = e.item) != null && i.label ? (c(), h("span", dv, te(e.item.label), 1)) : S("", !0)
13072
- ], 8, uv)
13073
- ], 42, lv);
13069
+ (i = e.item) != null && i.label ? (c(), h("span", iv, te(e.item.label), 1)) : S("", !0)
13070
+ ], 8, sv)
13071
+ ], 42, ov);
13074
13072
  }
13075
- const eb = /* @__PURE__ */ pe(iv, [["render", cv], ["__scopeId", "data-v-3a17c014"]]), pv = {
13073
+ const Z2 = /* @__PURE__ */ pe(rv, [["render", lv], ["__scopeId", "data-v-3a17c014"]]), uv = {
13076
13074
  name: "FusionListItem",
13077
13075
  components: {
13078
13076
  SVGTick: ti
@@ -13148,8 +13146,8 @@ const eb = /* @__PURE__ */ pe(iv, [["render", cv], ["__scopeId", "data-v-3a17c01
13148
13146
  this.isPressed = !1;
13149
13147
  }
13150
13148
  }
13151
- }, fv = { class: "fusion-list-item-content" };
13152
- function hv(e, t, a, r, n, o) {
13149
+ }, dv = { class: "fusion-list-item-content" };
13150
+ function cv(e, t, a, r, n, o) {
13153
13151
  return c(), fe(sa(o.componentTag), _e({
13154
13152
  class: ["fusion-list-item", {
13155
13153
  hover: n.isHovered,
@@ -13170,24 +13168,24 @@ function hv(e, t, a, r, n, o) {
13170
13168
  onMouseup: o.handleMouseUp
13171
13169
  }), {
13172
13170
  default: ve(() => [
13173
- g("div", fv, [
13171
+ g("div", dv, [
13174
13172
  ee(e.$slots, "default", {}, void 0, !0)
13175
13173
  ])
13176
13174
  ]),
13177
13175
  _: 3
13178
13176
  }, 16, ["class", "tabindex", "onClick", "onKeydown", "onMouseover", "onMouseout", "onMousedown", "onMouseup"]);
13179
13177
  }
13180
- const tb = /* @__PURE__ */ pe(pv, [["render", hv], ["__scopeId", "data-v-31387a17"]]), mv = se({
13178
+ const _2 = /* @__PURE__ */ pe(uv, [["render", cv], ["__scopeId", "data-v-31387a17"]]), pv = se({
13181
13179
  name: "SVGArrowRight"
13182
- }), gv = {
13180
+ }), fv = {
13183
13181
  width: "24",
13184
13182
  height: "24",
13185
13183
  viewBox: "0 0 24 24",
13186
13184
  fill: "none",
13187
13185
  xmlns: "http://www.w3.org/2000/svg"
13188
13186
  };
13189
- function vv(e, t, a, r, n, o) {
13190
- return c(), h("svg", gv, [...t[0] || (t[0] = [
13187
+ function hv(e, t, a, r, n, o) {
13188
+ return c(), h("svg", fv, [...t[0] || (t[0] = [
13191
13189
  g("mask", {
13192
13190
  id: "mask0_4977_2591",
13193
13191
  style: { "mask-type": "alpha" },
@@ -13211,10 +13209,10 @@ function vv(e, t, a, r, n, o) {
13211
13209
  ], -1)
13212
13210
  ])]);
13213
13211
  }
13214
- const yv = /* @__PURE__ */ pe(mv, [["render", vv]]), bv = se({
13212
+ const mv = /* @__PURE__ */ pe(pv, [["render", hv]]), gv = se({
13215
13213
  name: "FusionWidget",
13216
13214
  components: {
13217
- SVGArrowRight: yv
13215
+ SVGArrowRight: mv
13218
13216
  },
13219
13217
  props: {
13220
13218
  title: {
@@ -13230,46 +13228,46 @@ const yv = /* @__PURE__ */ pe(mv, [["render", vv]]), bv = se({
13230
13228
  default: !1
13231
13229
  }
13232
13230
  }
13233
- }), kv = ["href", "tabindex"], Av = { class: "fusion-widget-header" }, wv = { class: "fusion-widget-title" }, Cv = { class: "fusion-widget-arrow" }, Sv = { class: "fusion-widget-content" }, Tv = {
13231
+ }), vv = ["href", "tabindex"], yv = { class: "fusion-widget-header" }, bv = { class: "fusion-widget-title" }, kv = { class: "fusion-widget-arrow" }, Av = { class: "fusion-widget-content" }, wv = {
13234
13232
  key: 0,
13235
13233
  class: "fusion-widget-actions"
13236
13234
  };
13237
- function Pv(e, t, a, r, n, o) {
13235
+ function Cv(e, t, a, r, n, o) {
13238
13236
  const s = re("SVGArrowRight");
13239
13237
  return c(), h("div", {
13240
- class: z(["fusion-widget-container", { "fusion-widget-container-disabled": e.disabled }])
13238
+ class: J(["fusion-widget-container", { "fusion-widget-container-disabled": e.disabled }])
13241
13239
  }, [
13242
13240
  g("a", {
13243
13241
  href: e.disabled ? void 0 : e.url,
13244
13242
  class: "fusion-widget-link",
13245
13243
  tabindex: e.disabled ? -1 : 0
13246
13244
  }, [
13247
- g("div", Av, [
13248
- g("span", wv, te(e.title), 1),
13249
- g("span", Cv, [
13245
+ g("div", yv, [
13246
+ g("span", bv, te(e.title), 1),
13247
+ g("span", kv, [
13250
13248
  ue(s)
13251
13249
  ])
13252
13250
  ]),
13253
- g("div", Sv, [
13251
+ g("div", Av, [
13254
13252
  ee(e.$slots, "default", {}, void 0, !0)
13255
13253
  ])
13256
- ], 8, kv),
13257
- e.$slots.actions ? (c(), h("div", Tv, [
13254
+ ], 8, vv),
13255
+ e.$slots.actions ? (c(), h("div", wv, [
13258
13256
  ee(e.$slots, "actions", {}, void 0, !0)
13259
13257
  ])) : S("", !0)
13260
13258
  ], 2);
13261
13259
  }
13262
- const ab = /* @__PURE__ */ pe(bv, [["render", Pv], ["__scopeId", "data-v-81862ce6"]]), Fv = se({
13260
+ const $2 = /* @__PURE__ */ pe(gv, [["render", Cv], ["__scopeId", "data-v-81862ce6"]]), Sv = se({
13263
13261
  name: "SVGExclamationCircle"
13264
- }), Dv = {
13262
+ }), Tv = {
13265
13263
  width: "24",
13266
13264
  height: "24",
13267
13265
  viewBox: "0 0 24 24",
13268
13266
  fill: "none",
13269
13267
  xmlns: "http://www.w3.org/2000/svg"
13270
13268
  };
13271
- function Bv(e, t, a, r, n, o) {
13272
- return c(), h("svg", Dv, [...t[0] || (t[0] = [
13269
+ function Pv(e, t, a, r, n, o) {
13270
+ return c(), h("svg", Tv, [...t[0] || (t[0] = [
13273
13271
  g("mask", {
13274
13272
  id: "mask0_3842_316",
13275
13273
  style: { "mask-type": "alpha" },
@@ -13293,7 +13291,7 @@ function Bv(e, t, a, r, n, o) {
13293
13291
  ], -1)
13294
13292
  ])]);
13295
13293
  }
13296
- const Cs = /* @__PURE__ */ pe(Fv, [["render", Bv]]), xv = se({
13294
+ const Cs = /* @__PURE__ */ pe(Sv, [["render", Pv]]), Fv = se({
13297
13295
  name: "FusionToastMessage",
13298
13296
  components: {
13299
13297
  SVGCheckCircle: on,
@@ -13340,24 +13338,24 @@ const Cs = /* @__PURE__ */ pe(Fv, [["render", Bv]]), xv = se({
13340
13338
  this.$emit("dismiss");
13341
13339
  }
13342
13340
  }
13343
- }), Ov = { class: "fusion-toast-message-icon" }, Uv = { class: "fusion-toast-message-content" }, Iv = {
13341
+ }), Dv = { class: "fusion-toast-message-icon" }, Bv = { class: "fusion-toast-message-content" }, xv = {
13344
13342
  key: 0,
13345
13343
  class: "fusion-toast-message-title"
13346
- }, Mv = {
13344
+ }, Ov = {
13347
13345
  key: 1,
13348
13346
  class: "fusion-toast-message-text"
13349
13347
  };
13350
- function Vv(e, t, a, r, n, o) {
13348
+ function Uv(e, t, a, r, n, o) {
13351
13349
  const s = re("SVGClose");
13352
13350
  return c(), h("div", {
13353
- class: z(["fusion-toast-message", e.toastTypeClass])
13351
+ class: J(["fusion-toast-message", e.toastTypeClass])
13354
13352
  }, [
13355
- g("div", Ov, [
13353
+ g("div", Dv, [
13356
13354
  (c(), fe(sa(e.iconComponent)))
13357
13355
  ]),
13358
- g("div", Uv, [
13359
- e.title ? (c(), h("div", Iv, te(e.title), 1)) : S("", !0),
13360
- e.message ? (c(), h("div", Mv, te(e.message), 1)) : S("", !0)
13356
+ g("div", Bv, [
13357
+ e.title ? (c(), h("div", xv, te(e.title), 1)) : S("", !0),
13358
+ e.message ? (c(), h("div", Ov, te(e.message), 1)) : S("", !0)
13361
13359
  ]),
13362
13360
  e.dismissable ? (c(), h("button", {
13363
13361
  key: 0,
@@ -13370,17 +13368,17 @@ function Vv(e, t, a, r, n, o) {
13370
13368
  ])) : S("", !0)
13371
13369
  ], 2);
13372
13370
  }
13373
- const nb = /* @__PURE__ */ pe(xv, [["render", Vv], ["__scopeId", "data-v-4d75daa6"]]), Lv = se({
13371
+ const eb = /* @__PURE__ */ pe(Fv, [["render", Uv], ["__scopeId", "data-v-4d75daa6"]]), Iv = se({
13374
13372
  name: "SVGArrowLeft"
13375
- }), Nv = {
13373
+ }), Mv = {
13376
13374
  width: "28",
13377
13375
  height: "28",
13378
13376
  viewBox: "0 0 28 28",
13379
13377
  fill: "none",
13380
13378
  xmlns: "http://www.w3.org/2000/svg"
13381
13379
  };
13382
- function Qv(e, t, a, r, n, o) {
13383
- return c(), h("svg", Nv, [...t[0] || (t[0] = [
13380
+ function Vv(e, t, a, r, n, o) {
13381
+ return c(), h("svg", Mv, [...t[0] || (t[0] = [
13384
13382
  g("mask", {
13385
13383
  id: "mask0_5193_483",
13386
13384
  style: { "mask-type": "alpha" },
@@ -13404,11 +13402,11 @@ function Qv(e, t, a, r, n, o) {
13404
13402
  ], -1)
13405
13403
  ])]);
13406
13404
  }
13407
- const Rv = /* @__PURE__ */ pe(Lv, [["render", Qv]]), Ev = se({
13405
+ const Lv = /* @__PURE__ */ pe(Iv, [["render", Vv]]), Nv = se({
13408
13406
  name: "FusionToolBar",
13409
13407
  components: {
13410
13408
  FusionIconButton: Ja,
13411
- SVGArrowLeft: Rv
13409
+ SVGArrowLeft: Lv
13412
13410
  },
13413
13411
  props: {
13414
13412
  title: {
@@ -13434,16 +13432,16 @@ const Rv = /* @__PURE__ */ pe(Lv, [["render", Qv]]), Ev = se({
13434
13432
  this.$emit("back");
13435
13433
  }
13436
13434
  }
13437
- }), qv = { class: "fusion-toolbar" }, Hv = { class: "fusion-toolbar-content" }, zv = {
13435
+ }), Qv = { class: "fusion-toolbar" }, Rv = { class: "fusion-toolbar-content" }, Ev = {
13438
13436
  key: 0,
13439
13437
  class: "fusion-toolbar-title"
13440
- }, Jv = {
13438
+ }, qv = {
13441
13439
  key: 1,
13442
13440
  class: "fusion-toolbar-helper-text"
13443
13441
  };
13444
- function Yv(e, t, a, r, n, o) {
13442
+ function Hv(e, t, a, r, n, o) {
13445
13443
  const s = re("SVGArrowLeft"), i = re("FusionIconButton");
13446
- return c(), h("div", qv, [
13444
+ return c(), h("div", Qv, [
13447
13445
  e.showBackButton ? (c(), fe(i, {
13448
13446
  key: 0,
13449
13447
  "variant-style": "ghost",
@@ -13458,24 +13456,24 @@ function Yv(e, t, a, r, n, o) {
13458
13456
  ]),
13459
13457
  _: 1
13460
13458
  }, 8, ["aria-label", "onClick"])) : S("", !0),
13461
- g("div", Hv, [
13462
- e.title ? (c(), h("h2", zv, te(e.title), 1)) : S("", !0),
13463
- e.helperText ? (c(), h("p", Jv, te(e.helperText), 1)) : S("", !0)
13459
+ g("div", Rv, [
13460
+ e.title ? (c(), h("h2", Ev, te(e.title), 1)) : S("", !0),
13461
+ e.helperText ? (c(), h("p", qv, te(e.helperText), 1)) : S("", !0)
13464
13462
  ])
13465
13463
  ]);
13466
13464
  }
13467
- const rb = /* @__PURE__ */ pe(Ev, [["render", Yv], ["__scopeId", "data-v-d38e99f9"]]), jv = se({
13465
+ const tb = /* @__PURE__ */ pe(Nv, [["render", Hv], ["__scopeId", "data-v-d38e99f9"]]), zv = se({
13468
13466
  name: "FusionActionBar"
13469
- }), Xv = { class: "fusion-action-bar" };
13470
- function Wv(e, t, a, r, n, o) {
13471
- return c(), h("div", Xv, [
13467
+ }), Jv = { class: "fusion-action-bar" };
13468
+ function Yv(e, t, a, r, n, o) {
13469
+ return c(), h("div", Jv, [
13472
13470
  ee(e.$slots, "default")
13473
13471
  ]);
13474
13472
  }
13475
- const ob = /* @__PURE__ */ pe(jv, [["render", Wv]]), Kv = {
13473
+ const ab = /* @__PURE__ */ pe(zv, [["render", Yv]]), jv = {
13476
13474
  name: "FusionKeyValuePair",
13477
13475
  components: {
13478
- FusionTag: Pg,
13476
+ FusionTag: Cg,
13479
13477
  FusionTextLink: Cu
13480
13478
  },
13481
13479
  props: {
@@ -13582,38 +13580,38 @@ const ob = /* @__PURE__ */ pe(jv, [["render", Wv]]), Kv = {
13582
13580
  return this.valueText || this.secondaryValueText || this.tagText || this.linkText || this.$slots.icon;
13583
13581
  }
13584
13582
  }
13585
- }, Gv = {
13583
+ }, Xv = {
13586
13584
  key: 0,
13587
13585
  class: "fusion-key-value-pair-key"
13588
- }, Zv = {
13586
+ }, Wv = {
13589
13587
  key: 1,
13590
13588
  class: "flex items-center gap-2xs"
13591
- }, _v = {
13589
+ }, Kv = {
13592
13590
  key: 2,
13593
13591
  class: "fusion-key-value-pair-value"
13594
- }, $v = {
13592
+ }, Gv = {
13595
13593
  key: 3,
13596
13594
  class: "flex"
13597
- }, e0 = {
13595
+ }, Zv = {
13598
13596
  key: 4,
13599
13597
  class: "fusion-key-value-pair-icon"
13600
13598
  };
13601
- function t0(e, t, a, r, n, o) {
13599
+ function _v(e, t, a, r, n, o) {
13602
13600
  const s = re("FusionTag"), i = re("FusionTextLink");
13603
13601
  return c(), h("div", {
13604
- class: z(["fusion-key-value-pair", o.orderClass])
13602
+ class: J(["fusion-key-value-pair", o.orderClass])
13605
13603
  }, [
13606
- a.keyText ? (c(), h("span", Gv, te(a.keyText), 1)) : S("", !0),
13607
- o.showValueContainer ? (c(), h("div", Zv, [
13604
+ a.keyText ? (c(), h("span", Xv, te(a.keyText), 1)) : S("", !0),
13605
+ o.showValueContainer ? (c(), h("div", Wv, [
13608
13606
  !a.showTag && a.valueText ? (c(), h("span", {
13609
13607
  key: 0,
13610
- class: z(["fusion-key-value-pair-value", o.valueTextEmphasisClass])
13608
+ class: J(["fusion-key-value-pair-value", o.valueTextEmphasisClass])
13611
13609
  }, te(a.valueText), 3)) : S("", !0),
13612
13610
  a.showTag && !a.tagText && a.valueText ? (c(), h("span", {
13613
13611
  key: 1,
13614
- class: z(["fusion-key-value-pair-value", o.valueTextEmphasisClass])
13612
+ class: J(["fusion-key-value-pair-value", o.valueTextEmphasisClass])
13615
13613
  }, te(a.valueText), 3)) : S("", !0),
13616
- a.showTag && a.tagText ? (c(), h("div", _v, [
13614
+ a.showTag && a.tagText ? (c(), h("div", Kv, [
13617
13615
  ue(s, {
13618
13616
  label: a.tagText,
13619
13617
  "variant-type": a.tagVariantType,
@@ -13621,7 +13619,7 @@ function t0(e, t, a, r, n, o) {
13621
13619
  emphasis: a.tagEmphasis
13622
13620
  }, null, 8, ["label", "variant-type", "variant-style", "emphasis"])
13623
13621
  ])) : S("", !0),
13624
- a.showLink && a.linkText ? (c(), h("div", $v, [
13622
+ a.showLink && a.linkText ? (c(), h("div", Gv, [
13625
13623
  ue(i, {
13626
13624
  label: a.linkText,
13627
13625
  href: a.linkHref,
@@ -13632,17 +13630,17 @@ function t0(e, t, a, r, n, o) {
13632
13630
  class: "-m-[5px]"
13633
13631
  }, null, 8, ["label", "href", "target", "variant-type", "size", "disabled"])
13634
13632
  ])) : S("", !0),
13635
- e.$slots.icon ? (c(), h("div", e0, [
13633
+ e.$slots.icon ? (c(), h("div", Zv, [
13636
13634
  ee(e.$slots, "icon", {}, void 0, !0)
13637
13635
  ])) : S("", !0),
13638
13636
  a.secondaryValueText ? (c(), h("span", {
13639
13637
  key: 5,
13640
- class: z(["fusion-key-value-pair-secondary-value", { "line-through": a.strikeThroughSecondaryValueText }])
13638
+ class: J(["fusion-key-value-pair-secondary-value", { "line-through": a.strikeThroughSecondaryValueText }])
13641
13639
  }, te(a.secondaryValueText), 3)) : S("", !0)
13642
13640
  ])) : S("", !0)
13643
13641
  ], 2);
13644
13642
  }
13645
- const sb = /* @__PURE__ */ pe(Kv, [["render", t0], ["__scopeId", "data-v-5bbe53b0"]]), a0 = se({
13643
+ const nb = /* @__PURE__ */ pe(jv, [["render", _v], ["__scopeId", "data-v-9645cdf8"]]), $v = se({
13646
13644
  name: "FusionFooterBar",
13647
13645
  components: {
13648
13646
  FusionButton: mo
@@ -13698,19 +13696,19 @@ const sb = /* @__PURE__ */ pe(Kv, [["render", t0], ["__scopeId", "data-v-5bbe53b
13698
13696
  this.isMobile = window.innerWidth < this.mobileBreakpoint;
13699
13697
  }
13700
13698
  }
13701
- }), n0 = {
13699
+ }), e0 = {
13702
13700
  key: 0,
13703
13701
  class: "fusion-footer-bar-content"
13704
- }, r0 = { class: "fusion-footer-bar-actions" };
13705
- function o0(e, t, a, r, n, o) {
13702
+ }, t0 = { class: "fusion-footer-bar-actions" };
13703
+ function a0(e, t, a, r, n, o) {
13706
13704
  const s = re("FusionButton");
13707
13705
  return c(), h("footer", {
13708
- class: z(["fusion-footer-bar", { "fusion-footer-bar-mobile": e.isMobile }])
13706
+ class: J(["fusion-footer-bar", { "fusion-footer-bar-mobile": e.isMobile }])
13709
13707
  }, [
13710
- e.$slots.content ? (c(), h("div", n0, [
13708
+ e.$slots.content ? (c(), h("div", e0, [
13711
13709
  ee(e.$slots, "content", {}, void 0, !0)
13712
13710
  ])) : S("", !0),
13713
- g("div", r0, [
13711
+ g("div", t0, [
13714
13712
  e.hideCancelButton ? S("", !0) : (c(), fe(s, {
13715
13713
  key: 0,
13716
13714
  label: e.cancelButtonLabel,
@@ -13745,7 +13743,7 @@ function o0(e, t, a, r, n, o) {
13745
13743
  ])
13746
13744
  ], 2);
13747
13745
  }
13748
- const ib = /* @__PURE__ */ pe(a0, [["render", o0], ["__scopeId", "data-v-5701177f"]]), s0 = {
13746
+ const rb = /* @__PURE__ */ pe($v, [["render", a0], ["__scopeId", "data-v-5701177f"]]), n0 = {
13749
13747
  name: "FusionSubheadingBar",
13750
13748
  props: {
13751
13749
  label: {
@@ -13753,14 +13751,14 @@ const ib = /* @__PURE__ */ pe(a0, [["render", o0], ["__scopeId", "data-v-5701177
13753
13751
  required: !0
13754
13752
  }
13755
13753
  }
13756
- }, i0 = { class: "fusion-subheading-bar" }, l0 = { class: "fusion-subheading-bar-subtitle" };
13757
- function u0(e, t, a, r, n, o) {
13758
- return c(), h("div", i0, [
13759
- g("span", l0, te(a.label), 1),
13754
+ }, r0 = { class: "fusion-subheading-bar" }, o0 = { class: "fusion-subheading-bar-subtitle" };
13755
+ function s0(e, t, a, r, n, o) {
13756
+ return c(), h("div", r0, [
13757
+ g("span", o0, te(a.label), 1),
13760
13758
  ee(e.$slots, "tag", {}, void 0, !0)
13761
13759
  ]);
13762
13760
  }
13763
- const lb = /* @__PURE__ */ pe(s0, [["render", u0], ["__scopeId", "data-v-45ba5287"]]), d0 = {
13761
+ const ob = /* @__PURE__ */ pe(n0, [["render", s0], ["__scopeId", "data-v-45ba5287"]]), i0 = {
13764
13762
  name: "FusionModalHeader",
13765
13763
  components: {
13766
13764
  FusionIconButton: Ja,
@@ -13791,16 +13789,16 @@ const lb = /* @__PURE__ */ pe(s0, [["render", u0], ["__scopeId", "data-v-45ba528
13791
13789
  this.$emit("close");
13792
13790
  }
13793
13791
  }
13794
- }, c0 = ["id"];
13795
- function p0(e, t, a, r, n, o) {
13792
+ }, l0 = ["id"];
13793
+ function u0(e, t, a, r, n, o) {
13796
13794
  const s = re("SVGXMark"), i = re("FusionIconButton");
13797
13795
  return c(), h("header", {
13798
- class: z(["fusion-modal-header", { shadow: a.hasShadow }])
13796
+ class: J(["fusion-modal-header", { shadow: a.hasShadow }])
13799
13797
  }, [
13800
13798
  g("h2", {
13801
13799
  id: o.headingId,
13802
13800
  class: "fusion-modal-header-title"
13803
- }, te(a.title), 9, c0),
13801
+ }, te(a.title), 9, l0),
13804
13802
  ue(i, {
13805
13803
  size: "small",
13806
13804
  "variant-style": "ghost",
@@ -13816,7 +13814,7 @@ function p0(e, t, a, r, n, o) {
13816
13814
  }, 8, ["onClick"])
13817
13815
  ], 2);
13818
13816
  }
13819
- const f0 = /* @__PURE__ */ pe(d0, [["render", p0], ["__scopeId", "data-v-37ccd524"]]), h0 = {
13817
+ const d0 = /* @__PURE__ */ pe(i0, [["render", u0], ["__scopeId", "data-v-37ccd524"]]), c0 = {
13820
13818
  name: "FusionModalFooter",
13821
13819
  components: {
13822
13820
  FusionButton: mo
@@ -13887,10 +13885,10 @@ const f0 = /* @__PURE__ */ pe(d0, [["render", p0], ["__scopeId", "data-v-37ccd52
13887
13885
  }
13888
13886
  }
13889
13887
  };
13890
- function m0(e, t, a, r, n, o) {
13888
+ function p0(e, t, a, r, n, o) {
13891
13889
  const s = re("FusionButton");
13892
13890
  return c(), h("footer", {
13893
- class: z(["fusion-modal-footer", { shadow: a.hasShadow, "fusion-modal-footer-mobile": n.isMobile }])
13891
+ class: J(["fusion-modal-footer", { shadow: a.hasShadow, "fusion-modal-footer-mobile": n.isMobile }])
13894
13892
  }, [
13895
13893
  a.hideCancel ? S("", !0) : (c(), fe(s, {
13896
13894
  key: 0,
@@ -13916,11 +13914,11 @@ function m0(e, t, a, r, n, o) {
13916
13914
  }, null, 8, ["loading", "form", "label", "variant-type", "onClick"]))
13917
13915
  ], 2);
13918
13916
  }
13919
- const g0 = /* @__PURE__ */ pe(h0, [["render", m0], ["__scopeId", "data-v-a88d5948"]]), v0 = {
13917
+ const f0 = /* @__PURE__ */ pe(c0, [["render", p0], ["__scopeId", "data-v-a88d5948"]]), h0 = {
13920
13918
  name: "FusionModal",
13921
13919
  components: {
13922
- FusionModalHeader: f0,
13923
- FusionModalFooter: g0,
13920
+ FusionModalHeader: d0,
13921
+ FusionModalFooter: f0,
13924
13922
  OnClickOutside: bo
13925
13923
  },
13926
13924
  props: {
@@ -14010,11 +14008,11 @@ const g0 = /* @__PURE__ */ pe(h0, [["render", m0], ["__scopeId", "data-v-a88d594
14010
14008
  this.modalDialog && this.modalDialog.focus();
14011
14009
  }
14012
14010
  }
14013
- }, y0 = ["aria-labelledby"];
14014
- function b0(e, t, a, r, n, o) {
14011
+ }, m0 = ["aria-labelledby"];
14012
+ function g0(e, t, a, r, n, o) {
14015
14013
  const s = re("FusionModalHeader"), i = re("FusionModalFooter"), l = re("OnClickOutside");
14016
14014
  return c(), h("div", {
14017
- class: z(["fusion-modal", { "fusion-modal-mobile": n.isMobile }])
14015
+ class: J(["fusion-modal", { "fusion-modal-mobile": n.isMobile }])
14018
14016
  }, [
14019
14017
  ue(l, {
14020
14018
  options: { ignore: [".fusion-modal-dialog"] },
@@ -14058,7 +14056,7 @@ function b0(e, t, a, r, n, o) {
14058
14056
  onCancel: o.cancelModal,
14059
14057
  onConfirm: o.confirmModal
14060
14058
  }, null, 8, ["mobile-breakpoint", "has-shadow", "cancel-button-label", "confirm-button-label", "hide-cancel", "hide-confirm", "confirm-button-variant", "cancel-button-loading", "confirm-button-loading", "form-element-id", "onCancel", "onConfirm"]))
14061
- ], 8, y0)
14059
+ ], 8, m0)
14062
14060
  ]),
14063
14061
  _: 3
14064
14062
  }, 8, ["onTrigger"]),
@@ -14068,7 +14066,7 @@ function b0(e, t, a, r, n, o) {
14068
14066
  }, null, -1))
14069
14067
  ], 2);
14070
14068
  }
14071
- const ub = /* @__PURE__ */ pe(v0, [["render", b0], ["__scopeId", "data-v-9397fe0b"]]), k0 = 12, Yo = se({
14069
+ const sb = /* @__PURE__ */ pe(h0, [["render", g0], ["__scopeId", "data-v-9397fe0b"]]), v0 = 12, Yo = se({
14072
14070
  name: "FusionCircularProgressIndicator",
14073
14071
  props: {
14074
14072
  size: {
@@ -14096,7 +14094,7 @@ const ub = /* @__PURE__ */ pe(v0, [["render", b0], ["__scopeId", "data-v-9397fe0
14096
14094
  },
14097
14095
  data() {
14098
14096
  return {
14099
- strokeWidth: k0,
14097
+ strokeWidth: v0,
14100
14098
  animatedProgress: 0
14101
14099
  };
14102
14100
  },
@@ -14152,25 +14150,25 @@ const ub = /* @__PURE__ */ pe(v0, [["render", b0], ["__scopeId", "data-v-9397fe0
14152
14150
  }));
14153
14151
  }, Ts = Yo.setup;
14154
14152
  Yo.setup = Ts ? (e, t) => (Ss(), Ts(e, t)) : Ss;
14155
- const A0 = {
14153
+ const y0 = {
14156
14154
  class: "fusion-circular-progress-indicator-container",
14157
14155
  role: "progressbar",
14158
14156
  "aria-labelledby": "fusion-progress-indicator-label",
14159
14157
  "data-test": "fusion-circular-progress-indicator-container"
14160
- }, w0 = ["width", "height", "viewBox"], C0 = ["cx", "cy", "r", "stroke-width"], S0 = ["cx", "cy", "r", "stroke-width"], T0 = {
14158
+ }, b0 = ["width", "height", "viewBox"], k0 = ["cx", "cy", "r", "stroke-width"], A0 = ["cx", "cy", "r", "stroke-width"], w0 = {
14161
14159
  id: "fusion-progress-indicator-label",
14162
14160
  class: "fusion-circular-progress-indicator-label",
14163
14161
  "data-test": "fusion-circular-progress-indicator-label"
14164
- }, P0 = {
14162
+ }, C0 = {
14165
14163
  class: "progress-indicator__title",
14166
14164
  "data-test": "progress-indicator-title"
14167
- }, F0 = {
14165
+ }, S0 = {
14168
14166
  key: 0,
14169
14167
  class: "progress-indicator__description",
14170
14168
  "data-test": "progress-indicator-description"
14171
14169
  };
14172
- function D0(e, t, a, r, n, o) {
14173
- return c(), h("div", A0, [
14170
+ function T0(e, t, a, r, n, o) {
14171
+ return c(), h("div", y0, [
14174
14172
  (c(), h("svg", {
14175
14173
  width: e.circularProgressSize,
14176
14174
  height: e.circularProgressSize,
@@ -14184,7 +14182,7 @@ function D0(e, t, a, r, n, o) {
14184
14182
  cy: e.halfCircularProgressSize,
14185
14183
  r: e.radius,
14186
14184
  "stroke-width": e.strokeWidth
14187
- }, null, 8, C0),
14185
+ }, null, 8, k0),
14188
14186
  g("circle", {
14189
14187
  cx: e.halfCircularProgressSize,
14190
14188
  cy: e.halfCircularProgressSize,
@@ -14192,15 +14190,15 @@ function D0(e, t, a, r, n, o) {
14192
14190
  "stroke-width": e.strokeWidth,
14193
14191
  class: "progress-fill",
14194
14192
  style: gt({ "stroke-dasharray": e.strokeDashArray })
14195
- }, null, 12, S0)
14196
- ], 8, w0)),
14197
- g("div", T0, [
14198
- g("span", P0, te(e.progressLabel), 1),
14199
- e.progressDescription ? (c(), h("span", F0, te(e.progressDescription), 1)) : S("", !0)
14193
+ }, null, 12, A0)
14194
+ ], 8, b0)),
14195
+ g("div", w0, [
14196
+ g("span", C0, te(e.progressLabel), 1),
14197
+ e.progressDescription ? (c(), h("span", S0, te(e.progressDescription), 1)) : S("", !0)
14200
14198
  ])
14201
14199
  ]);
14202
14200
  }
14203
- const B0 = /* @__PURE__ */ pe(Yo, [["render", D0], ["__scopeId", "data-v-b594a8ae"]]), x0 = se({
14201
+ const P0 = /* @__PURE__ */ pe(Yo, [["render", T0], ["__scopeId", "data-v-b594a8ae"]]), F0 = se({
14204
14202
  name: "FusionCircularProgressIndicatorLabel",
14205
14203
  components: { FusionDivider: el, SVGCheckCircle: on },
14206
14204
  props: {
@@ -14213,37 +14211,37 @@ const B0 = /* @__PURE__ */ pe(Yo, [["render", D0], ["__scopeId", "data-v-b594a8a
14213
14211
  default: !1
14214
14212
  }
14215
14213
  }
14216
- }), O0 = {
14214
+ }), D0 = {
14217
14215
  class: "fusion-circular-progress-label-container",
14218
14216
  "data-test": "fusion-circular-progress-label-container"
14219
- }, U0 = {
14217
+ }, B0 = {
14220
14218
  class: "fusion-circular-progress-label",
14221
14219
  "data-test": "fusion-circular-progress-label"
14222
- }, I0 = {
14220
+ }, x0 = {
14223
14221
  key: 0,
14224
14222
  class: "fusion-circular-progress-label__icon",
14225
14223
  "data-test": "fusion-circular-progress-label-icon"
14226
- }, M0 = { class: "fusion-circular-progress-label__content" }, V0 = {
14224
+ }, O0 = { class: "fusion-circular-progress-label__content" }, U0 = {
14227
14225
  class: "fusion-circular-progress-label__text",
14228
14226
  "data-test": "fusion-circular-progress-label-text"
14229
14227
  };
14230
- function L0(e, t, a, r, n, o) {
14228
+ function I0(e, t, a, r, n, o) {
14231
14229
  const s = re("SVGCheckCircle"), i = re("FusionDivider");
14232
- return c(), h("div", O0, [
14233
- g("div", U0, [
14234
- e.completed ? (c(), h("div", I0, [
14230
+ return c(), h("div", D0, [
14231
+ g("div", B0, [
14232
+ e.completed ? (c(), h("div", x0, [
14235
14233
  ue(s, { class: "fusion-circular-progress-label__svg" })
14236
14234
  ])) : S("", !0),
14237
- g("div", M0, [
14238
- g("span", V0, te(e.content), 1)
14235
+ g("div", O0, [
14236
+ g("span", U0, te(e.content), 1)
14239
14237
  ])
14240
14238
  ]),
14241
14239
  ue(i)
14242
14240
  ]);
14243
14241
  }
14244
- const N0 = /* @__PURE__ */ pe(x0, [["render", L0], ["__scopeId", "data-v-259fec30"]]), Q0 = se({
14242
+ const M0 = /* @__PURE__ */ pe(F0, [["render", I0], ["__scopeId", "data-v-259fec30"]]), V0 = se({
14245
14243
  name: "FusionCircularProgressIndicatorLabelChecklist",
14246
- components: { FusionCircularProgressIndicatorLabel: N0 },
14244
+ components: { FusionCircularProgressIndicatorLabel: M0 },
14247
14245
  props: {
14248
14246
  checklist: {
14249
14247
  type: Array,
@@ -14263,28 +14261,28 @@ const N0 = /* @__PURE__ */ pe(x0, [["render", L0], ["__scopeId", "data-v-259fec3
14263
14261
  return this.checklist.length - this.visibleItemsCount;
14264
14262
  }
14265
14263
  }
14266
- }), R0 = {
14264
+ }), L0 = {
14267
14265
  class: "fusion-circular-progress-label-checklist",
14268
14266
  "data-test": "fusion-circular-progress-label-checklist"
14269
- }, E0 = {
14267
+ }, N0 = {
14270
14268
  key: 0,
14271
14269
  class: "fusion-circular-progress-label-checklist__footer",
14272
14270
  "data-test": "fusion-circular-progress-label-checklist-footer"
14273
14271
  };
14274
- function q0(e, t, a, r, n, o) {
14272
+ function Q0(e, t, a, r, n, o) {
14275
14273
  const s = re("FusionCircularProgressIndicatorLabel");
14276
- return c(), h("div", R0, [
14274
+ return c(), h("div", L0, [
14277
14275
  (c(!0), h(Fe, null, He(e.cappedChecklist, (i, l) => (c(), fe(s, {
14278
14276
  key: l,
14279
14277
  content: i.content,
14280
14278
  completed: i.completed
14281
14279
  }, null, 8, ["content", "completed"]))), 128)),
14282
- e.additionalItemsCount > 0 ? (c(), h("span", E0, " +" + te(e.additionalItemsCount) + " more ", 1)) : S("", !0)
14280
+ e.additionalItemsCount > 0 ? (c(), h("span", N0, " +" + te(e.additionalItemsCount) + " more ", 1)) : S("", !0)
14283
14281
  ]);
14284
14282
  }
14285
- const H0 = /* @__PURE__ */ pe(Q0, [["render", q0], ["__scopeId", "data-v-9245aeb2"]]), z0 = se({
14283
+ const R0 = /* @__PURE__ */ pe(V0, [["render", Q0], ["__scopeId", "data-v-9245aeb2"]]), E0 = se({
14286
14284
  name: "FusionCircularProgressIndicatorLabelCollection",
14287
- components: { FusionCircularProgressIndicatorLabelChecklist: H0, FusionCircularProgressIndicator: B0 },
14285
+ components: { FusionCircularProgressIndicatorLabelChecklist: R0, FusionCircularProgressIndicator: P0 },
14288
14286
  props: {
14289
14287
  checklist: {
14290
14288
  type: Array,
@@ -14316,13 +14314,13 @@ const H0 = /* @__PURE__ */ pe(Q0, [["render", q0], ["__scopeId", "data-v-9245aeb
14316
14314
  return this.checklist.length;
14317
14315
  }
14318
14316
  }
14319
- }), J0 = {
14317
+ }), q0 = {
14320
14318
  class: "fusion-circular-progress-indicator-label-collection",
14321
14319
  "data-test": "fusion-circular-progress-indicator-label-collection"
14322
14320
  };
14323
- function Y0(e, t, a, r, n, o) {
14321
+ function H0(e, t, a, r, n, o) {
14324
14322
  const s = re("FusionCircularProgressIndicator"), i = re("FusionCircularProgressIndicatorLabelChecklist");
14325
- return c(), h("div", J0, [
14323
+ return c(), h("div", q0, [
14326
14324
  ue(s, {
14327
14325
  class: "fusion-circular-progress-indicator-label-collection__indicator",
14328
14326
  size: e.progressSize,
@@ -14338,7 +14336,7 @@ function Y0(e, t, a, r, n, o) {
14338
14336
  }, null, 8, ["checklist", "visible-items-count"])
14339
14337
  ]);
14340
14338
  }
14341
- const db = /* @__PURE__ */ pe(z0, [["render", Y0], ["__scopeId", "data-v-9abe1eb2"]]), j0 = se({
14339
+ const ib = /* @__PURE__ */ pe(E0, [["render", H0], ["__scopeId", "data-v-9abe1eb2"]]), z0 = se({
14342
14340
  name: "FusionMonthDatePicker",
14343
14341
  components: { SVGCalendar: Jo, SVGExclamationTriangle: Ot, VueDatePicker: Cn },
14344
14342
  props: {
@@ -14454,25 +14452,25 @@ const db = /* @__PURE__ */ pe(z0, [["render", Y0], ["__scopeId", "data-v-9abe1eb
14454
14452
  this.$emit("update:modelValue", new Date(a, t, 1));
14455
14453
  }
14456
14454
  }
14457
- }), X0 = ["data-test"], W0 = { class: "fusion-date-picker-label" }, K0 = ["for"], G0 = {
14455
+ }), J0 = ["data-test"], Y0 = { class: "fusion-date-picker-label" }, j0 = ["for"], X0 = {
14458
14456
  key: 0,
14459
14457
  class: "fusion-date-picker error-wrapper"
14460
- }, Z0 = { "data-test": "error-label" };
14461
- function _0(e, t, a, r, n, o) {
14458
+ }, W0 = { "data-test": "error-label" };
14459
+ function K0(e, t, a, r, n, o) {
14462
14460
  const s = re("SVGCalendar"), i = re("VueDatePicker"), l = re("SVGExclamationTriangle");
14463
14461
  return c(), h("div", {
14464
14462
  id: "monthpicker",
14465
14463
  class: "fusion-date-picker fusion-month-picker",
14466
14464
  "data-test": e.dataTest
14467
14465
  }, [
14468
- g("div", W0, [
14466
+ g("div", Y0, [
14469
14467
  g("label", {
14470
- class: z(["fusion-date-picker label", e.stateClasses]),
14468
+ class: J(["fusion-date-picker label", e.stateClasses]),
14471
14469
  for: `dp-input-${e.id}`
14472
- }, te(e.label), 11, K0),
14470
+ }, te(e.label), 11, j0),
14473
14471
  e.helperLabel ? (c(), h("div", {
14474
14472
  key: 0,
14475
- class: z(["fusion-date-picker helper-label", e.stateClasses]),
14473
+ class: J(["fusion-date-picker helper-label", e.stateClasses]),
14476
14474
  "data-test": "helper-label"
14477
14475
  }, te(e.helperLabel), 3)) : S("", !0)
14478
14476
  ]),
@@ -14488,7 +14486,7 @@ function _0(e, t, a, r, n, o) {
14488
14486
  "text-input": e.datePickerInputOptions,
14489
14487
  name: e.name,
14490
14488
  "hide-offset-dates": "",
14491
- class: z(["fusion-date-picker cmp", e.stateClasses]),
14489
+ class: J(["fusion-date-picker cmp", e.stateClasses]),
14492
14490
  "input-class-name": "fusion-date-picker field",
14493
14491
  "max-date": e.maxDate,
14494
14492
  "min-date": e.minDate,
@@ -14504,13 +14502,13 @@ function _0(e, t, a, r, n, o) {
14504
14502
  ]),
14505
14503
  _: 1
14506
14504
  }, 8, ["model-value", "uid", "format", "placeholder", "autocomplete", "required", "text-input", "name", "class", "max-date", "min-date", "disabled", "clearable", "onBlur", "onFocus", "onUpdate:modelValue"]),
14507
- e.errorLabel ? (c(), h("div", G0, [
14505
+ e.errorLabel ? (c(), h("div", X0, [
14508
14506
  ue(l, { "data-test": "error-icon" }),
14509
- g("span", Z0, te(e.errorLabel), 1)
14507
+ g("span", W0, te(e.errorLabel), 1)
14510
14508
  ])) : S("", !0)
14511
- ], 8, X0);
14509
+ ], 8, J0);
14512
14510
  }
14513
- const cb = /* @__PURE__ */ pe(j0, [["render", _0], ["__scopeId", "data-v-1a58f07d"]]);
14511
+ const lb = /* @__PURE__ */ pe(z0, [["render", K0], ["__scopeId", "data-v-1a58f07d"]]);
14514
14512
  class to extends Error {
14515
14513
  constructor(a, r = null) {
14516
14514
  super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall.");
@@ -14521,7 +14519,7 @@ class to extends Error {
14521
14519
  }
14522
14520
  }
14523
14521
  var ca, xa, pn, Oa;
14524
- class $0 {
14522
+ class G0 {
14525
14523
  constructor(t, a) {
14526
14524
  Ie(this, ca);
14527
14525
  Ie(this, xa, !1);
@@ -14539,11 +14537,11 @@ class $0 {
14539
14537
  ca = new WeakMap(), xa = new WeakMap(), pn = new WeakMap(), Oa = new WeakMap();
14540
14538
  const xn = () => {
14541
14539
  };
14542
- function ey(e, t = {}) {
14543
- const { body: a = null, headers: r = {}, method: n = "GET", onBeforeRequest: o = xn, onUploadProgress: s = xn, shouldRetry: i = () => !0, onAfterResponse: l = xn, onTimeout: u = xn, responseType: p, retries: f = 3, signal: m = null, timeout: b = 3e4, withCredentials: A = !1 } = t, B = (F) => 0.3 * 2 ** (F - 1) * 1e3, E = new $0(b, u);
14540
+ function Z0(e, t = {}) {
14541
+ const { body: a = null, headers: r = {}, method: n = "GET", onBeforeRequest: o = xn, onUploadProgress: s = xn, shouldRetry: i = () => !0, onAfterResponse: l = xn, onTimeout: u = xn, responseType: p, retries: f = 3, signal: m = null, timeout: b = 3e4, withCredentials: A = !1 } = t, B = (F) => 0.3 * 2 ** (F - 1) * 1e3, E = new G0(b, u);
14544
14542
  function x(F = 0) {
14545
14543
  return new Promise(async (Y, D) => {
14546
- const L = new XMLHttpRequest(), J = (Q) => {
14544
+ const L = new XMLHttpRequest(), z = (Q) => {
14547
14545
  i(L) && F < f ? setTimeout(() => {
14548
14546
  x(F + 1).then(Y, D);
14549
14547
  }, B(F)) : (E.done(), D(Q));
@@ -14554,13 +14552,13 @@ function ey(e, t = {}) {
14554
14552
  try {
14555
14553
  await l(L, F);
14556
14554
  } catch (Q) {
14557
- Q.request = L, J(Q);
14555
+ Q.request = L, z(Q);
14558
14556
  return;
14559
14557
  }
14560
14558
  L.status >= 200 && L.status < 300 ? (E.done(), Y(L)) : i(L) && F < f ? setTimeout(() => {
14561
14559
  x(F + 1).then(Y, D);
14562
14560
  }, B(F)) : (E.done(), D(new to(L.statusText, L)));
14563
- }, L.onerror = () => J(new to(L.statusText, L)), L.upload.onprogress = (Q) => {
14561
+ }, L.onerror = () => z(new to(L.statusText, L)), L.upload.onprogress = (Q) => {
14564
14562
  E.progress(), s(Q);
14565
14563
  }, r && Object.keys(r).forEach((Q) => {
14566
14564
  L.setRequestHeader(Q, r[Q]);
@@ -14569,11 +14567,11 @@ function ey(e, t = {}) {
14569
14567
  }
14570
14568
  return x();
14571
14569
  }
14572
- function ty(e) {
14570
+ function _0(e) {
14573
14571
  const t = (a) => "error" in a && !!a.error;
14574
14572
  return e.filter((a) => !t(a));
14575
14573
  }
14576
- function ay(e) {
14574
+ function $0(e) {
14577
14575
  return e.filter((t) => {
14578
14576
  var a;
14579
14577
  return !((a = t.progress) != null && a.uploadStarted) || !t.isRestored;
@@ -14651,18 +14649,18 @@ function nl(e) {
14651
14649
  const t = e.name ? (a = al(e.name).extension) == null ? void 0 : a.toLowerCase() : null;
14652
14650
  return t && t in Ps ? Ps[t] : "application/octet-stream";
14653
14651
  }
14654
- function ny(e) {
14652
+ function ey(e) {
14655
14653
  return e.charCodeAt(0).toString(32);
14656
14654
  }
14657
14655
  function Fs(e) {
14658
14656
  let t = "";
14659
- return e.replace(/[^A-Z0-9]/gi, (a) => (t += `-${ny(a)}`, "/")) + t;
14657
+ return e.replace(/[^A-Z0-9]/gi, (a) => (t += `-${ey(a)}`, "/")) + t;
14660
14658
  }
14661
- function ry(e, t) {
14659
+ function ty(e, t) {
14662
14660
  let a = t || "uppy";
14663
14661
  return typeof e.name == "string" && (a += `-${Fs(e.name.toLowerCase())}`), e.type !== void 0 && (a += `-${e.type}`), e.meta && typeof e.meta.relativePath == "string" && (a += `-${Fs(e.meta.relativePath.toLowerCase())}`), e.data.size !== void 0 && (a += `-${e.data.size}`), e.data.lastModified !== void 0 && (a += `-${e.data.lastModified}`), a;
14664
14662
  }
14665
- function oy(e) {
14663
+ function ay(e) {
14666
14664
  return !e.isRemote || !e.remote ? !1 : (/* @__PURE__ */ new Set([
14667
14665
  "box",
14668
14666
  "dropbox",
@@ -14671,11 +14669,11 @@ function oy(e) {
14671
14669
  "unsplash"
14672
14670
  ])).has(e.remote.provider);
14673
14671
  }
14674
- function sy(e, t) {
14675
- if (oy(e))
14672
+ function ny(e, t) {
14673
+ if (ay(e))
14676
14674
  return e.id;
14677
14675
  const a = nl(e);
14678
- return ry({
14676
+ return ty({
14679
14677
  ...e,
14680
14678
  type: a
14681
14679
  }, t);
@@ -14690,10 +14688,10 @@ function Vn() {
14690
14688
  const e = /* @__PURE__ */ new Date(), t = wr(e.getHours()), a = wr(e.getMinutes()), r = wr(e.getSeconds());
14691
14689
  return `${t}:${a}:${r}`;
14692
14690
  }
14693
- function iy(e) {
14691
+ function ry(e) {
14694
14692
  return e ? e.readyState !== 0 && e.readyState !== 4 || e.status === 0 : !1;
14695
14693
  }
14696
- function ly(e) {
14694
+ function oy(e) {
14697
14695
  return new Error("Cancelled", { cause: e });
14698
14696
  }
14699
14697
  function Bs(e) {
@@ -14709,7 +14707,7 @@ function Bs(e) {
14709
14707
  return this;
14710
14708
  }
14711
14709
  var Yt, Vt, jt, Ua, Lt, Ia, pa, ut, ao, _a, rl, ol, sl, zn, Ma;
14712
- class uy {
14710
+ class sy {
14713
14711
  constructor(t) {
14714
14712
  Ie(this, ut);
14715
14713
  Ie(this, Yt, 0);
@@ -14764,7 +14762,7 @@ class uy {
14764
14762
  }, (p) => {
14765
14763
  l ? i(l) : (n.done(), i(p));
14766
14764
  }), (p) => {
14767
- l = ly(p);
14765
+ l = oy(p);
14768
14766
  };
14769
14767
  }, a);
14770
14768
  });
@@ -14847,7 +14845,7 @@ Yt = new WeakMap(), Vt = new WeakMap(), jt = new WeakMap(), Ua = new WeakMap(),
14847
14845
  a !== -1 && W(this, Vt).splice(a, 1);
14848
14846
  }, zn = new WeakMap(), Ma = new WeakMap();
14849
14847
  const Cr = Symbol("__queue");
14850
- function dy(e, t, a) {
14848
+ function iy(e, t, a) {
14851
14849
  const r = [];
14852
14850
  return e.forEach((n) => typeof n != "string" ? r.push(n) : t[Symbol.split](n).forEach((o, s, i) => {
14853
14851
  o !== "" && r.push(o), s < i.length - 1 && r.push(a);
@@ -14871,16 +14869,16 @@ function xs(e, t) {
14871
14869
  for (const o of Object.keys(t))
14872
14870
  if (o !== "_") {
14873
14871
  let s = t[o];
14874
- typeof s == "string" && (s = a[Symbol.replace](s, r)), n = dy(n, new RegExp(`%\\{${o}\\}`, "g"), s);
14872
+ typeof s == "string" && (s = a[Symbol.replace](s, r)), n = iy(n, new RegExp(`%\\{${o}\\}`, "g"), s);
14875
14873
  }
14876
14874
  return n;
14877
14875
  }
14878
- const cy = (e) => {
14876
+ const ly = (e) => {
14879
14877
  throw new Error(`missing string: ${e}`);
14880
14878
  };
14881
14879
  var fn, hn, no;
14882
14880
  class il {
14883
- constructor(t, { onMissingKey: a = cy } = {}) {
14881
+ constructor(t, { onMissingKey: a = ly } = {}) {
14884
14882
  Ie(this, hn);
14885
14883
  Le(this, "locale");
14886
14884
  Ie(this, fn);
@@ -14929,7 +14927,7 @@ fn = new WeakMap(), hn = new WeakSet(), no = function(t) {
14929
14927
  pluralize: t.pluralize || a.pluralize
14930
14928
  });
14931
14929
  };
14932
- class py {
14930
+ class uy {
14933
14931
  constructor(t, a) {
14934
14932
  Le(this, "uppy");
14935
14933
  Le(this, "opts");
@@ -14988,7 +14986,7 @@ class py {
14988
14986
  }
14989
14987
  }
14990
14988
  var Nt, mn;
14991
- class fy {
14989
+ class dy {
14992
14990
  constructor(t) {
14993
14991
  Ie(this, Nt);
14994
14992
  Ie(this, mn, []);
@@ -15043,18 +15041,18 @@ class fy {
15043
15041
  }
15044
15042
  }
15045
15043
  Nt = new WeakMap(), mn = new WeakMap();
15046
- const hy = {
15044
+ const cy = {
15047
15045
  debug: () => {
15048
15046
  },
15049
15047
  warn: () => {
15050
15048
  },
15051
15049
  error: (...e) => console.error(`[Uppy] [${Vn()}]`, ...e)
15052
- }, my = {
15050
+ }, py = {
15053
15051
  debug: (...e) => console.debug(`[Uppy] [${Vn()}]`, ...e),
15054
15052
  warn: (...e) => console.warn(`[Uppy] [${Vn()}]`, ...e),
15055
15053
  error: (...e) => console.error(`[Uppy] [${Vn()}]`, ...e)
15056
- }, gy = "5.0.0", vy = {
15057
- version: gy
15054
+ }, fy = "5.0.0", hy = {
15055
+ version: fy
15058
15056
  };
15059
15057
  var Va, Jn, ul;
15060
15058
  class ll {
@@ -15080,7 +15078,7 @@ Va = new WeakMap(), Jn = new WeakSet(), ul = function(...t) {
15080
15078
  W(this, Va).forEach((a) => {
15081
15079
  a(...t);
15082
15080
  });
15083
- }, Le(ll, "VERSION", vy.version);
15081
+ }, Le(ll, "VERSION", hy.version);
15084
15082
  var On = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
15085
15083
  function _n(e) {
15086
15084
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -15096,7 +15094,7 @@ function jo() {
15096
15094
  return Sr = e, Sr;
15097
15095
  }
15098
15096
  var Tr, Us;
15099
- function yy() {
15097
+ function my() {
15100
15098
  if (Us) return Tr;
15101
15099
  Us = 1;
15102
15100
  var e = typeof On == "object" && On && On.Object === Object && On;
@@ -15106,11 +15104,11 @@ var Pr, Is;
15106
15104
  function dl() {
15107
15105
  if (Is) return Pr;
15108
15106
  Is = 1;
15109
- var e = yy(), t = typeof self == "object" && self && self.Object === Object && self, a = e || t || Function("return this")();
15107
+ var e = my(), t = typeof self == "object" && self && self.Object === Object && self, a = e || t || Function("return this")();
15110
15108
  return Pr = a, Pr;
15111
15109
  }
15112
15110
  var Fr, Ms;
15113
- function by() {
15111
+ function gy() {
15114
15112
  if (Ms) return Fr;
15115
15113
  Ms = 1;
15116
15114
  var e = dl(), t = function() {
@@ -15119,7 +15117,7 @@ function by() {
15119
15117
  return Fr = t, Fr;
15120
15118
  }
15121
15119
  var Dr, Vs;
15122
- function ky() {
15120
+ function vy() {
15123
15121
  if (Vs) return Dr;
15124
15122
  Vs = 1;
15125
15123
  var e = /\s/;
@@ -15131,10 +15129,10 @@ function ky() {
15131
15129
  return Dr = t, Dr;
15132
15130
  }
15133
15131
  var Br, Ls;
15134
- function Ay() {
15132
+ function yy() {
15135
15133
  if (Ls) return Br;
15136
15134
  Ls = 1;
15137
- var e = ky(), t = /^\s+/;
15135
+ var e = vy(), t = /^\s+/;
15138
15136
  function a(r) {
15139
15137
  return r && r.slice(0, e(r) + 1).replace(t, "");
15140
15138
  }
@@ -15148,7 +15146,7 @@ function cl() {
15148
15146
  return xr = t, xr;
15149
15147
  }
15150
15148
  var Or, Qs;
15151
- function wy() {
15149
+ function by() {
15152
15150
  if (Qs) return Or;
15153
15151
  Qs = 1;
15154
15152
  var e = cl(), t = Object.prototype, a = t.hasOwnProperty, r = t.toString, n = e ? e.toStringTag : void 0;
@@ -15165,7 +15163,7 @@ function wy() {
15165
15163
  return Or = o, Or;
15166
15164
  }
15167
15165
  var Ur, Rs;
15168
- function Cy() {
15166
+ function ky() {
15169
15167
  if (Rs) return Ur;
15170
15168
  Rs = 1;
15171
15169
  var e = Object.prototype, t = e.toString;
@@ -15175,17 +15173,17 @@ function Cy() {
15175
15173
  return Ur = a, Ur;
15176
15174
  }
15177
15175
  var Ir, Es;
15178
- function Sy() {
15176
+ function Ay() {
15179
15177
  if (Es) return Ir;
15180
15178
  Es = 1;
15181
- var e = cl(), t = wy(), a = Cy(), r = "[object Null]", n = "[object Undefined]", o = e ? e.toStringTag : void 0;
15179
+ var e = cl(), t = by(), a = ky(), r = "[object Null]", n = "[object Undefined]", o = e ? e.toStringTag : void 0;
15182
15180
  function s(i) {
15183
15181
  return i == null ? i === void 0 ? n : r : o && o in Object(i) ? t(i) : a(i);
15184
15182
  }
15185
15183
  return Ir = s, Ir;
15186
15184
  }
15187
15185
  var Mr, qs;
15188
- function Ty() {
15186
+ function wy() {
15189
15187
  if (qs) return Mr;
15190
15188
  qs = 1;
15191
15189
  function e(t) {
@@ -15194,20 +15192,20 @@ function Ty() {
15194
15192
  return Mr = e, Mr;
15195
15193
  }
15196
15194
  var Vr, Hs;
15197
- function Py() {
15195
+ function Cy() {
15198
15196
  if (Hs) return Vr;
15199
15197
  Hs = 1;
15200
- var e = Sy(), t = Ty(), a = "[object Symbol]";
15198
+ var e = Ay(), t = wy(), a = "[object Symbol]";
15201
15199
  function r(n) {
15202
15200
  return typeof n == "symbol" || t(n) && e(n) == a;
15203
15201
  }
15204
15202
  return Vr = r, Vr;
15205
15203
  }
15206
15204
  var Lr, zs;
15207
- function Fy() {
15205
+ function Sy() {
15208
15206
  if (zs) return Lr;
15209
15207
  zs = 1;
15210
- var e = Ay(), t = jo(), a = Py(), r = NaN, n = /^[-+]0x[0-9a-f]+$/i, o = /^0b[01]+$/i, s = /^0o[0-7]+$/i, i = parseInt;
15208
+ var e = yy(), t = jo(), a = Cy(), r = NaN, n = /^[-+]0x[0-9a-f]+$/i, o = /^0b[01]+$/i, s = /^0o[0-7]+$/i, i = parseInt;
15211
15209
  function l(u) {
15212
15210
  if (typeof u == "number")
15213
15211
  return u;
@@ -15226,10 +15224,10 @@ function Fy() {
15226
15224
  return Lr = l, Lr;
15227
15225
  }
15228
15226
  var Nr, Js;
15229
- function Dy() {
15227
+ function Ty() {
15230
15228
  if (Js) return Nr;
15231
15229
  Js = 1;
15232
- var e = jo(), t = by(), a = Fy(), r = "Expected a function", n = Math.max, o = Math.min;
15230
+ var e = jo(), t = gy(), a = Sy(), r = "Expected a function", n = Math.max, o = Math.min;
15233
15231
  function s(i, l, u) {
15234
15232
  var p, f, m, b, A, B, E = 0, x = !1, F = !1, Y = !0;
15235
15233
  if (typeof i != "function")
@@ -15242,7 +15240,7 @@ function Dy() {
15242
15240
  function L(j) {
15243
15241
  return E = j, A = setTimeout(ce, l), x ? D(j) : b;
15244
15242
  }
15245
- function J(j) {
15243
+ function z(j) {
15246
15244
  var O = j - B, k = j - E, V = l - O;
15247
15245
  return F ? o(V, m - k) : V;
15248
15246
  }
@@ -15254,7 +15252,7 @@ function Dy() {
15254
15252
  var j = t();
15255
15253
  if (Q(j))
15256
15254
  return K(j);
15257
- A = setTimeout(ce, J(j));
15255
+ A = setTimeout(ce, z(j));
15258
15256
  }
15259
15257
  function K(j) {
15260
15258
  return A = void 0, Y && p ? D(j) : (p = f = void 0, b);
@@ -15280,10 +15278,10 @@ function Dy() {
15280
15278
  return Nr = s, Nr;
15281
15279
  }
15282
15280
  var Qr, Ys;
15283
- function By() {
15281
+ function Py() {
15284
15282
  if (Ys) return Qr;
15285
15283
  Ys = 1;
15286
- var e = Dy(), t = jo(), a = "Expected a function";
15284
+ var e = Ty(), t = jo(), a = "Expected a function";
15287
15285
  function r(n, o, s) {
15288
15286
  var i = !0, l = !0;
15289
15287
  if (typeof n != "function")
@@ -15296,10 +15294,10 @@ function By() {
15296
15294
  }
15297
15295
  return Qr = r, Qr;
15298
15296
  }
15299
- var xy = By();
15300
- const Oy = /* @__PURE__ */ _n(xy);
15297
+ var Fy = Py();
15298
+ const Dy = /* @__PURE__ */ _n(Fy);
15301
15299
  var Rr, js;
15302
- function Uy() {
15300
+ function By() {
15303
15301
  return js || (js = 1, Rr = function() {
15304
15302
  var t = {}, a = t._fns = {};
15305
15303
  t.emit = function(s, i, l, u, p, f, m) {
@@ -15340,21 +15338,21 @@ function Uy() {
15340
15338
  return t;
15341
15339
  }), Rr;
15342
15340
  }
15343
- var Iy = Uy();
15344
- const My = /* @__PURE__ */ _n(Iy);
15345
- let Vy = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ly = (e = 21) => {
15341
+ var xy = By();
15342
+ const Oy = /* @__PURE__ */ _n(xy);
15343
+ let Uy = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Iy = (e = 21) => {
15346
15344
  let t = "", a = e | 0;
15347
15345
  for (; a--; )
15348
- t += Vy[Math.random() * 64 | 0];
15346
+ t += Uy[Math.random() * 64 | 0];
15349
15347
  return t;
15350
15348
  };
15351
- const Ny = "5.0.1", Qy = {
15352
- version: Ny
15349
+ const My = "5.0.1", Vy = {
15350
+ version: My
15353
15351
  };
15354
- function Ry(e, t) {
15352
+ function Ly(e, t) {
15355
15353
  return t.name ? t.name : e.split("/")[0] === "image" ? `${e.split("/")[0]}.${e.split("/")[1]}` : "noname";
15356
15354
  }
15357
- const Ey = {
15355
+ const Ny = {
15358
15356
  strings: {
15359
15357
  addBulkFilesFailed: {
15360
15358
  0: "Failed to add %{smart_count} file due to an internal error",
@@ -15420,7 +15418,7 @@ const Ey = {
15420
15418
  }
15421
15419
  };
15422
15420
  var Er, Xs;
15423
- function qy() {
15421
+ function Qy() {
15424
15422
  return Xs || (Xs = 1, Er = function(t) {
15425
15423
  if (typeof t != "number" || Number.isNaN(t))
15426
15424
  throw new TypeError(`Expected a number, got ${typeof t}`);
@@ -15432,10 +15430,10 @@ function qy() {
15432
15430
  return `${s >= 10 || s % 1 === 0 ? Math.round(s) : s.toFixed(1)} ${i}`;
15433
15431
  }), Er;
15434
15432
  }
15435
- var Hy = qy();
15436
- const Un = /* @__PURE__ */ _n(Hy);
15433
+ var Ry = Qy();
15434
+ const Un = /* @__PURE__ */ _n(Ry);
15437
15435
  var qr, Ws;
15438
- function zy() {
15436
+ function Ey() {
15439
15437
  if (Ws) return qr;
15440
15438
  Ws = 1;
15441
15439
  function e(t, a) {
@@ -15466,10 +15464,10 @@ function zy() {
15466
15464
  }, qr;
15467
15465
  }
15468
15466
  var Hr, Ks;
15469
- function Jy() {
15467
+ function qy() {
15470
15468
  if (Ks) return Hr;
15471
15469
  Ks = 1;
15472
- var e = zy(), t = /[\/\+\.]/;
15470
+ var e = Ey(), t = /[\/\+\.]/;
15473
15471
  return Hr = function(a, r) {
15474
15472
  function n(o) {
15475
15473
  var s = e(o, a, t);
@@ -15478,8 +15476,8 @@ function Jy() {
15478
15476
  return r ? n(r.split(";")[0]) : n;
15479
15477
  }, Hr;
15480
15478
  }
15481
- var Yy = Jy();
15482
- const jy = /* @__PURE__ */ _n(Yy), Xy = {
15479
+ var Hy = qy();
15480
+ const zy = /* @__PURE__ */ _n(Hy), Jy = {
15483
15481
  maxFileSize: null,
15484
15482
  minFileSize: null,
15485
15483
  maxTotalFileSize: null,
@@ -15497,7 +15495,7 @@ class Pt extends Error {
15497
15495
  this.isUserFacing = (r == null ? void 0 : r.isUserFacing) ?? !0, r != null && r.file && (this.file = r.file);
15498
15496
  }
15499
15497
  }
15500
- class Wy {
15498
+ class Yy {
15501
15499
  constructor(t, a) {
15502
15500
  Le(this, "getI18n");
15503
15501
  Le(this, "getOpts");
@@ -15527,7 +15525,7 @@ class Wy {
15527
15525
  }
15528
15526
  validateSingleFile(t) {
15529
15527
  const { maxFileSize: a, minFileSize: r, allowedFileTypes: n } = this.getOpts().restrictions;
15530
- if (n && !n.some((s) => s.includes("/") ? t.type ? jy(t.type.replace(/;.*?$/, ""), s) : !1 : s[0] === "." && t.extension ? t.extension.toLowerCase() === s.slice(1).toLowerCase() : !1)) {
15528
+ if (n && !n.some((s) => s.includes("/") ? t.type ? zy(t.type.replace(/;.*?$/, ""), s) : !1 : s[0] === "." && t.extension ? t.extension.toLowerCase() === s.slice(1).toLowerCase() : !1)) {
15531
15529
  const s = n.join(", ");
15532
15530
  throw new Pt(this.getI18n()("youCanOnlyUploadFileTypes", {
15533
15531
  types: s
@@ -15564,7 +15562,7 @@ class Wy {
15564
15562
  return { missingFields: n, error: a };
15565
15563
  }
15566
15564
  }
15567
- function Ky(e) {
15565
+ function jy(e) {
15568
15566
  if (e == null && typeof navigator < "u" && (e = navigator.userAgent), !e)
15569
15567
  return !0;
15570
15568
  const t = /Edge\/(\d+\.\d+)/.exec(e);
@@ -15589,7 +15587,7 @@ const jn = class jn {
15589
15587
  Ie(this, St, /* @__PURE__ */ Object.create(null));
15590
15588
  Ie(this, Tt);
15591
15589
  Ie(this, gn);
15592
- Ie(this, fa, My());
15590
+ Ie(this, fa, Oy());
15593
15591
  Ie(this, La, /* @__PURE__ */ new Set());
15594
15592
  Ie(this, Na, /* @__PURE__ */ new Set());
15595
15593
  Ie(this, ha, /* @__PURE__ */ new Set());
@@ -15639,7 +15637,7 @@ const jn = class jn {
15639
15637
  // and click 'ADD MORE FILES', - focus won't activate in Firefox.
15640
15638
  // - We must throttle at around >500ms to avoid performance lags.
15641
15639
  // [Practical Check] Firefox, try to upload a big file for a prolonged period of time. Laptop will start to heat up.
15642
- Ie(this, ma, Oy(() => Ae(this, ke, po).call(this), 500, { leading: !0, trailing: !0 }));
15640
+ Ie(this, ma, Dy(() => Ae(this, ke, po).call(this), 500, { leading: !0, trailing: !0 }));
15643
15641
  Ie(this, $t, this.updateOnlineStatus.bind(this));
15644
15642
  // We need to store request clients by a unique ID, so we can share RequestClient instances across files
15645
15643
  // this allows us to do rate limiting and synchronous operations like refreshing provider tokens
@@ -15652,18 +15650,18 @@ const jn = class jn {
15652
15650
  // all 6 files would go ahead and refresh the token at the same time
15653
15651
  // (calling /refresh-token up to 6 times), which will probably fail for some providers
15654
15652
  Ie(this, vn, /* @__PURE__ */ new Map());
15655
- this.defaultLocale = Ey;
15653
+ this.defaultLocale = Ny;
15656
15654
  const a = {
15657
15655
  id: "uppy",
15658
15656
  autoProceed: !1,
15659
15657
  allowMultipleUploadBatches: !0,
15660
15658
  debug: !1,
15661
- restrictions: Xy,
15659
+ restrictions: Jy,
15662
15660
  meta: {},
15663
15661
  onBeforeFileAdded: (n, o) => !Object.hasOwn(o, n.id),
15664
15662
  onBeforeUpload: (n) => n,
15665
15663
  store: new ll(),
15666
- logger: hy,
15664
+ logger: cy,
15667
15665
  infoTimeout: 5e3
15668
15666
  }, r = { ...a, ...t };
15669
15667
  this.opts = {
@@ -15672,19 +15670,19 @@ const jn = class jn {
15672
15670
  ...a.restrictions,
15673
15671
  ...t == null ? void 0 : t.restrictions
15674
15672
  }
15675
- }, t != null && t.logger && t.debug ? this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.", "warning") : t != null && t.debug && (this.opts.logger = my), this.log(`Using Core v${jn.VERSION}`), this.i18nInit(), this.store = this.opts.store, this.setState({
15673
+ }, t != null && t.logger && t.debug ? this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.", "warning") : t != null && t.debug && (this.opts.logger = py), this.log(`Using Core v${jn.VERSION}`), this.i18nInit(), this.store = this.opts.store, this.setState({
15676
15674
  ...In,
15677
15675
  plugins: {},
15678
15676
  files: {},
15679
15677
  currentUploads: {},
15680
15678
  capabilities: {
15681
- uploadProgress: Ky(),
15679
+ uploadProgress: jy(),
15682
15680
  individualCancellation: !0,
15683
15681
  resumableUploads: !1
15684
15682
  },
15685
15683
  meta: { ...this.opts.meta },
15686
15684
  info: []
15687
- }), We(this, Tt, new Wy(() => this.opts, () => this.i18n)), We(this, gn, this.store.subscribe((n, o, s) => {
15685
+ }), We(this, Tt, new Yy(() => this.opts, () => this.i18n)), We(this, gn, this.store.subscribe((n, o, s) => {
15688
15686
  this.emit("state-update", n, o, s), this.updateAll(o);
15689
15687
  })), this.opts.debug && typeof window < "u" && (window[this.opts.id] = this), Ae(this, ke, ml).call(this);
15690
15688
  }
@@ -16266,7 +16264,7 @@ fl = function(t) {
16266
16264
  type: t.type,
16267
16265
  size: t.size,
16268
16266
  data: t
16269
- } : t, r = nl(a), n = Ry(r, a), o = al(n).extension, s = sy(a, this.getID()), i = a.meta || {};
16267
+ } : t, r = nl(a), n = Ly(r, a), o = al(n).extension, s = ny(a, this.getID()), i = a.meta || {};
16270
16268
  i.name = n, i.type = r;
16271
16269
  const l = Number.isFinite(a.data.size) ? a.data.size : null;
16272
16270
  return {
@@ -16506,7 +16504,7 @@ $a = function(t, a = {}) {
16506
16504
  const { forceAllowNewUpload: r = !1 } = a, { allowNewUpload: n, currentUploads: o } = this.getState();
16507
16505
  if (!n && !r)
16508
16506
  throw new Error("Cannot create a new upload: already uploading.");
16509
- const s = Ly();
16507
+ const s = Iy();
16510
16508
  return this.emit("upload", s, this.getFilesByIds(t)), this.setState({
16511
16509
  allowNewUpload: this.opts.allowMultipleUploadBatches !== !1 && this.opts.allowMultipleUploads !== !1,
16512
16510
  currentUploads: {
@@ -16573,24 +16571,24 @@ Ln = function(t) {
16573
16571
  failed: [],
16574
16572
  uploadID: t
16575
16573
  }), o;
16576
- }, Le(jn, "VERSION", Qy.version);
16574
+ }, Le(jn, "VERSION", Vy.version);
16577
16575
  let ro = jn;
16578
- const Gy = "5.0.0", Zy = {
16579
- version: Gy
16580
- }, _y = {
16576
+ const Xy = "5.0.0", Wy = {
16577
+ version: Xy
16578
+ }, Ky = {
16581
16579
  strings: {
16582
16580
  // Shown in the Informer if an upload is being canceled because it stalled for too long.
16583
16581
  uploadStalled: "Upload has not made any progress for %{seconds} seconds. You may want to retry it."
16584
16582
  }
16585
16583
  };
16586
- function $y(e, t) {
16584
+ function Gy(e, t) {
16587
16585
  let a = t;
16588
- return a || (a = new Error("Upload error")), typeof a == "string" && (a = new Error(a)), a instanceof Error || (a = Object.assign(new Error("Upload error"), { data: a })), iy(e) ? (a = new to(a, e), a) : (a.request = e, a);
16586
+ return a || (a = new Error("Upload error")), typeof a == "string" && (a = new Error(a)), a instanceof Error || (a = Object.assign(new Error("Upload error"), { data: a })), ry(e) ? (a = new to(a, e), a) : (a.request = e, a);
16589
16587
  }
16590
16588
  function Gs(e) {
16591
16589
  return e.data.slice(0, e.data.size, e.meta.type);
16592
16590
  }
16593
- const e2 = {
16591
+ const Zy = {
16594
16592
  formData: !0,
16595
16593
  fieldName: "file",
16596
16594
  method: "post",
@@ -16603,10 +16601,10 @@ const e2 = {
16603
16601
  responseType: ""
16604
16602
  };
16605
16603
  var Qa, Ht, yl, bl, kl, Al, yn;
16606
- class vl extends py {
16604
+ class vl extends uy {
16607
16605
  constructor(a, r) {
16608
16606
  super(a, {
16609
- ...e2,
16607
+ ...Zy,
16610
16608
  fieldName: r.bundle ? "files[]" : "file",
16611
16609
  ...r
16612
16610
  });
@@ -16620,7 +16618,7 @@ class vl extends py {
16620
16618
  return;
16621
16619
  }
16622
16620
  this.opts.limit === 0 && !this.opts[Cr] && this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0", "warning"), this.uppy.log("[XHRUpload] Uploading...");
16623
- const r = this.uppy.getFilesByIds(a), n = ty(r), o = ay(n);
16621
+ const r = this.uppy.getFilesByIds(a), n = _0(r), o = $0(n);
16624
16622
  if (this.uppy.emit("upload-start", o), this.opts.bundle) {
16625
16623
  if (n.some((i) => i.isRemote))
16626
16624
  throw new Error("Can’t upload remote files when the `bundle: true` option is set");
@@ -16630,7 +16628,7 @@ class vl extends py {
16630
16628
  } else
16631
16629
  await Ae(this, Ht, Al).call(this, n);
16632
16630
  });
16633
- if (this.type = "uploader", this.id = this.opts.id || "XHRUpload", this.defaultLocale = _y, this.i18nInit(), Cr in this.opts ? this.requests = this.opts[Cr] : this.requests = new uy(this.opts.limit), this.opts.bundle && !this.opts.formData)
16631
+ if (this.type = "uploader", this.id = this.opts.id || "XHRUpload", this.defaultLocale = Ky, this.i18nInit(), Cr in this.opts ? this.requests = this.opts[Cr] : this.requests = new sy(this.opts.limit), this.opts.bundle && !this.opts.formData)
16634
16632
  throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");
16635
16633
  if (this.opts.bundle && typeof this.opts.headers == "function")
16636
16634
  throw new Error("`opts.headers` can not be a function when the `bundle: true` option is set.");
@@ -16639,7 +16637,7 @@ class vl extends py {
16639
16637
  this.uploaderEvents = /* @__PURE__ */ Object.create(null), We(this, Qa, (n) => async (o, s) => {
16640
16638
  var i, l;
16641
16639
  try {
16642
- const u = await ey(o, {
16640
+ const u = await Z0(o, {
16643
16641
  ...s,
16644
16642
  onBeforeRequest: (m, b) => {
16645
16643
  var A, B;
@@ -16685,7 +16683,7 @@ class vl extends py {
16685
16683
  return;
16686
16684
  const p = u.request;
16687
16685
  for (const f of n)
16688
- this.uppy.emit("upload-error", this.uppy.getFile(f.id), $y(p, u), p);
16686
+ this.uppy.emit("upload-error", this.uppy.getFile(f.id), Gy(p, u), p);
16689
16687
  throw u;
16690
16688
  }
16691
16689
  });
@@ -16744,7 +16742,7 @@ class vl extends py {
16744
16742
  }
16745
16743
  }
16746
16744
  Qa = new WeakMap(), Ht = new WeakSet(), yl = async function(a) {
16747
- const r = new fy(this.uppy), n = new AbortController(), o = this.requests.wrapPromiseFunction(async () => {
16745
+ const r = new dy(this.uppy), n = new AbortController(), o = this.requests.wrapPromiseFunction(async () => {
16748
16746
  const s = this.getOptions(a), i = W(this, Qa).call(this, [a]), l = s.formData ? this.createFormDataUpload(a, s) : a.data, u = typeof s.endpoint == "string" ? s.endpoint : await s.endpoint(a);
16749
16747
  return i(u, {
16750
16748
  ...s,
@@ -16819,23 +16817,23 @@ Qa = new WeakMap(), Ht = new WeakSet(), yl = async function(a) {
16819
16817
  }
16820
16818
  return Ae(this, Ht, yl).call(this, r);
16821
16819
  }));
16822
- }, yn = new WeakMap(), Le(vl, "VERSION", Zy.version);
16820
+ }, yn = new WeakMap(), Le(vl, "VERSION", Wy.version);
16823
16821
  function wl(e) {
16824
16822
  if (e === 0) return "0 B";
16825
16823
  const t = 1024, a = ["B", "KB", "MB", "GB"], r = Math.floor(Math.log(e) / Math.log(t));
16826
16824
  return `${parseFloat((e / t ** r).toFixed(1))} ${a[r]}`;
16827
16825
  }
16828
- const t2 = se({
16826
+ const _y = se({
16829
16827
  name: "SVGImagePlaceholder"
16830
- }), a2 = {
16828
+ }), $y = {
16831
16829
  width: "24",
16832
16830
  height: "25",
16833
16831
  viewBox: "0 0 24 25",
16834
16832
  fill: "none",
16835
16833
  xmlns: "http://www.w3.org/2000/svg"
16836
16834
  };
16837
- function n2(e, t, a, r, n, o) {
16838
- return c(), h("svg", a2, [...t[0] || (t[0] = [
16835
+ function e2(e, t, a, r, n, o) {
16836
+ return c(), h("svg", $y, [...t[0] || (t[0] = [
16839
16837
  g("mask", {
16840
16838
  id: "mask0_8171_276",
16841
16839
  style: { "mask-type": "alpha" },
@@ -16860,17 +16858,17 @@ function n2(e, t, a, r, n, o) {
16860
16858
  ], -1)
16861
16859
  ])]);
16862
16860
  }
16863
- const r2 = /* @__PURE__ */ pe(t2, [["render", n2]]), o2 = se({
16861
+ const t2 = /* @__PURE__ */ pe(_y, [["render", e2]]), a2 = se({
16864
16862
  name: "SVGBin"
16865
- }), s2 = {
16863
+ }), n2 = {
16866
16864
  width: "28",
16867
16865
  height: "29",
16868
16866
  viewBox: "0 0 28 29",
16869
16867
  fill: "none",
16870
16868
  xmlns: "http://www.w3.org/2000/svg"
16871
16869
  };
16872
- function i2(e, t, a, r, n, o) {
16873
- return c(), h("svg", s2, [...t[0] || (t[0] = [
16870
+ function r2(e, t, a, r, n, o) {
16871
+ return c(), h("svg", n2, [...t[0] || (t[0] = [
16874
16872
  g("mask", {
16875
16873
  id: "mask0_8171_287",
16876
16874
  style: { "mask-type": "alpha" },
@@ -16895,9 +16893,9 @@ function i2(e, t, a, r, n, o) {
16895
16893
  ], -1)
16896
16894
  ])]);
16897
16895
  }
16898
- const l2 = /* @__PURE__ */ pe(o2, [["render", i2]]), u2 = se({
16896
+ const o2 = /* @__PURE__ */ pe(a2, [["render", r2]]), s2 = se({
16899
16897
  name: "FileUploaderListItem",
16900
- components: { SVGBin: l2, SVGImagePlaceholder: r2, FusionIconButton: Ja, FusionProgressBar: jg },
16898
+ components: { SVGBin: o2, SVGImagePlaceholder: t2, FusionIconButton: Ja, FusionProgressBar: zg },
16901
16899
  props: {
16902
16900
  file: {
16903
16901
  type: Object,
@@ -16916,24 +16914,24 @@ const l2 = /* @__PURE__ */ pe(o2, [["render", i2]]), u2 = se({
16916
16914
  methods: {
16917
16915
  formatFileSize: wl
16918
16916
  }
16919
- }), d2 = { class: "fusion-file-uploader-list-item" }, c2 = { class: "mr-xs" }, p2 = { class: "flex flex-col gap-2xs flex-1" }, f2 = { class: "text-medium text-primary" }, h2 = { class: "text-base text-secondary" }, m2 = { class: "uppy-file-size" }, g2 = {
16917
+ }), i2 = { class: "fusion-file-uploader-list-item" }, l2 = { class: "mr-xs" }, u2 = { class: "flex flex-col gap-2xs flex-1" }, d2 = { class: "text-medium text-primary" }, c2 = { class: "text-base text-secondary" }, p2 = { class: "uppy-file-size" }, f2 = {
16920
16918
  key: 0,
16921
16919
  class: "pb-sm"
16922
16920
  };
16923
- function v2(e, t, a, r, n, o) {
16921
+ function h2(e, t, a, r, n, o) {
16924
16922
  var p, f;
16925
16923
  const s = re("SVGImagePlaceholder"), i = re("SVGBin"), l = re("FusionIconButton"), u = re("FusionProgressBar");
16926
16924
  return c(), h("div", {
16927
- class: z(["fusion-file-uploader-list-item-container", { "has-border": e.hasBorder }])
16925
+ class: J(["fusion-file-uploader-list-item-container", { "has-border": e.hasBorder }])
16928
16926
  }, [
16929
- g("div", d2, [
16930
- g("div", c2, [
16927
+ g("div", i2, [
16928
+ g("div", l2, [
16931
16929
  ue(s)
16932
16930
  ]),
16933
- g("div", p2, [
16934
- g("div", f2, te(e.file.name), 1),
16935
- g("div", h2, [
16936
- g("span", m2, te(e.formatFileSize(e.file.size || 0)), 1)
16931
+ g("div", u2, [
16932
+ g("div", d2, te(e.file.name), 1),
16933
+ g("div", c2, [
16934
+ g("span", p2, te(e.formatFileSize(e.file.size || 0)), 1)
16937
16935
  ])
16938
16936
  ]),
16939
16937
  ue(l, {
@@ -16949,7 +16947,7 @@ function v2(e, t, a, r, n, o) {
16949
16947
  _: 1
16950
16948
  })
16951
16949
  ]),
16952
- (p = e.file.progress) != null && p.uploadStarted && !((f = e.file.progress) != null && f.uploadComplete) ? (c(), h("div", g2, [
16950
+ (p = e.file.progress) != null && p.uploadStarted && !((f = e.file.progress) != null && f.uploadComplete) ? (c(), h("div", f2, [
16953
16951
  ue(u, {
16954
16952
  mode: "percentage",
16955
16953
  percentage: e.file.progress.percentage || 0
@@ -16957,10 +16955,10 @@ function v2(e, t, a, r, n, o) {
16957
16955
  ])) : S("", !0)
16958
16956
  ], 2);
16959
16957
  }
16960
- const y2 = /* @__PURE__ */ pe(u2, [["render", v2], ["__scopeId", "data-v-19a54239"]]), b2 = se({
16958
+ const m2 = /* @__PURE__ */ pe(s2, [["render", h2], ["__scopeId", "data-v-19a54239"]]), g2 = se({
16961
16959
  name: "FileUploaderList",
16962
16960
  components: {
16963
- FileUploaderListItem: y2
16961
+ FileUploaderListItem: m2
16964
16962
  },
16965
16963
  props: {
16966
16964
  files: {
@@ -16973,13 +16971,13 @@ const y2 = /* @__PURE__ */ pe(u2, [["render", v2], ["__scopeId", "data-v-19a5423
16973
16971
  }
16974
16972
  },
16975
16973
  emits: ["remove-file"]
16976
- }), k2 = {
16974
+ }), v2 = {
16977
16975
  key: 0,
16978
16976
  class: "my-sm"
16979
16977
  };
16980
- function A2(e, t, a, r, n, o) {
16978
+ function y2(e, t, a, r, n, o) {
16981
16979
  const s = re("FileUploaderListItem");
16982
- return e.files.length ? (c(), h("div", k2, [
16980
+ return e.files.length ? (c(), h("div", v2, [
16983
16981
  (c(!0), h(Fe, null, He(e.files, (i, l) => (c(), fe(s, {
16984
16982
  key: i.id,
16985
16983
  file: i,
@@ -16989,12 +16987,12 @@ function A2(e, t, a, r, n, o) {
16989
16987
  }, null, 8, ["file", "is-uploading", "has-border"]))), 128))
16990
16988
  ])) : S("", !0);
16991
16989
  }
16992
- const w2 = /* @__PURE__ */ pe(b2, [["render", A2]]), C2 = se({
16990
+ const b2 = /* @__PURE__ */ pe(g2, [["render", y2]]), k2 = se({
16993
16991
  name: "FusionFileUploaderButton",
16994
16992
  components: {
16995
16993
  SVGExclamationTriangle: Ot,
16996
16994
  FusionButton: mo,
16997
- FileUploaderList: w2
16995
+ FileUploaderList: b2
16998
16996
  },
16999
16997
  props: {
17000
16998
  uploadUrl: {
@@ -17189,30 +17187,30 @@ const w2 = /* @__PURE__ */ pe(b2, [["render", A2]]), C2 = se({
17189
17187
  this.internalErrorMessage = "";
17190
17188
  }
17191
17189
  }
17192
- }), S2 = ["data-test"], T2 = {
17190
+ }), A2 = ["data-test"], w2 = {
17193
17191
  key: 0,
17194
17192
  class: "uppy-label-wrapper"
17195
- }, P2 = ["for"], F2 = { class: "uppy-upload-button-wrapper" }, D2 = ["accept"], B2 = { "data-test": "error-label" };
17196
- function x2(e, t, a, r, n, o) {
17193
+ }, C2 = ["for"], S2 = { class: "uppy-upload-button-wrapper" }, T2 = ["accept"], P2 = { "data-test": "error-label" };
17194
+ function F2(e, t, a, r, n, o) {
17197
17195
  const s = re("FusionButton"), i = re("FileUploaderList"), l = re("SVGExclamationTriangle");
17198
17196
  return c(), h("div", {
17199
- class: z(["uppy-uploader", e.stateClasses]),
17197
+ class: J(["uppy-uploader", e.stateClasses]),
17200
17198
  "data-test": e.dataTest
17201
17199
  }, [
17202
- e.label || e.helperLabel ? (c(), h("div", T2, [
17200
+ e.label || e.helperLabel ? (c(), h("div", w2, [
17203
17201
  e.label ? (c(), h("label", {
17204
17202
  key: 0,
17205
- class: z(["uppy-input label", e.stateClasses]),
17203
+ class: J(["uppy-input label", e.stateClasses]),
17206
17204
  for: e.id,
17207
17205
  "data-test": "label"
17208
- }, te(e.label), 11, P2)) : S("", !0),
17206
+ }, te(e.label), 11, C2)) : S("", !0),
17209
17207
  e.helperLabel ? (c(), h("div", {
17210
17208
  key: 1,
17211
- class: z(["uppy-input helper-label", e.stateClasses]),
17209
+ class: J(["uppy-input helper-label", e.stateClasses]),
17212
17210
  "data-test": "helper-label"
17213
17211
  }, te(e.helperLabel), 3)) : S("", !0)
17214
17212
  ])) : S("", !0),
17215
- g("div", F2, [
17213
+ g("div", S2, [
17216
17214
  ue(s, {
17217
17215
  type: "button",
17218
17216
  label: "Choose file",
@@ -17237,17 +17235,17 @@ function x2(e, t, a, r, n, o) {
17237
17235
  accept: e.acceptedFileTypes,
17238
17236
  style: { display: "none" },
17239
17237
  onChange: t[0] || (t[0] = (...u) => e.onFileInputChange && e.onFileInputChange(...u))
17240
- }, null, 40, D2),
17238
+ }, null, 40, T2),
17241
17239
  e.displayErrorMessage ? (c(), h("div", {
17242
17240
  key: 1,
17243
- class: z(["uppy-input error-wrapper", e.stateClasses])
17241
+ class: J(["uppy-input error-wrapper", e.stateClasses])
17244
17242
  }, [
17245
17243
  ue(l, { "data-test": "error-icon" }),
17246
- g("span", B2, te(e.displayErrorMessage), 1)
17244
+ g("span", P2, te(e.displayErrorMessage), 1)
17247
17245
  ], 2)) : S("", !0)
17248
- ], 10, S2);
17246
+ ], 10, A2);
17249
17247
  }
17250
- const pb = /* @__PURE__ */ pe(C2, [["render", x2], ["__scopeId", "data-v-7e4f151b"]]), O2 = se({
17248
+ const ub = /* @__PURE__ */ pe(k2, [["render", F2], ["__scopeId", "data-v-7e4f151b"]]), D2 = se({
17251
17249
  name: "FusionRangeDatePicker",
17252
17250
  components: { SVGCalendar: Jo, SVGExclamationTriangle: Ot, VueDatePicker: Cn },
17253
17251
  props: {
@@ -17370,11 +17368,11 @@ const pb = /* @__PURE__ */ pe(C2, [["render", x2], ["__scopeId", "data-v-7e4f151
17370
17368
  this.$emit("input:blur");
17371
17369
  }
17372
17370
  }
17373
- }), U2 = ["data-test"], I2 = { class: "fusion-date-picker-label" }, M2 = ["for"], V2 = {
17371
+ }), B2 = ["data-test"], x2 = { class: "fusion-date-picker-label" }, O2 = ["for"], U2 = {
17374
17372
  key: 0,
17375
17373
  class: "fusion-date-picker error-wrapper"
17376
- }, L2 = { "data-test": "error-label" };
17377
- function N2(e, t, a, r, n, o) {
17374
+ }, I2 = { "data-test": "error-label" };
17375
+ function M2(e, t, a, r, n, o) {
17378
17376
  var u, p, f;
17379
17377
  const s = re("SVGCalendar"), i = re("VueDatePicker"), l = re("SVGExclamationTriangle");
17380
17378
  return c(), h("div", {
@@ -17382,14 +17380,14 @@ function N2(e, t, a, r, n, o) {
17382
17380
  class: "fusion-date-picker fusion-range-picker",
17383
17381
  "data-test": e.dataTest
17384
17382
  }, [
17385
- g("div", I2, [
17383
+ g("div", x2, [
17386
17384
  g("label", {
17387
- class: z(["fusion-date-picker label", e.stateClasses]),
17385
+ class: J(["fusion-date-picker label", e.stateClasses]),
17388
17386
  for: `dp-input-${e.id}`
17389
- }, te(e.label), 11, M2),
17387
+ }, te(e.label), 11, O2),
17390
17388
  e.helperLabel ? (c(), h("div", {
17391
17389
  key: 0,
17392
- class: z(["fusion-date-picker helper-label", e.stateClasses]),
17390
+ class: J(["fusion-date-picker helper-label", e.stateClasses]),
17393
17391
  "data-test": "helper-label"
17394
17392
  }, te(e.helperLabel), 3)) : S("", !0)
17395
17393
  ]),
@@ -17410,7 +17408,7 @@ function N2(e, t, a, r, n, o) {
17410
17408
  name: e.name,
17411
17409
  "hide-offset-dates": "",
17412
17410
  range: "",
17413
- class: z(["fusion-date-picker cmp", e.stateClasses]),
17411
+ class: J(["fusion-date-picker cmp", e.stateClasses]),
17414
17412
  "input-class-name": "fusion-date-picker field",
17415
17413
  "max-date": e.maxDate,
17416
17414
  "min-date": e.minDate,
@@ -17430,55 +17428,55 @@ function N2(e, t, a, r, n, o) {
17430
17428
  ]),
17431
17429
  _: 1
17432
17430
  }, 8, ["modelValue", "uid", "format", "placeholder", "autocomplete", "required", "text-input", "name", "class", "max-date", "min-date", "disabled", "clearable", "max-range", "min-range", "auto-range", "partial-range", "fixed-start", "fixed-end", "onUpdate:modelValue", "onBlur", "onFocus"]),
17433
- e.errorLabel ? (c(), h("div", V2, [
17431
+ e.errorLabel ? (c(), h("div", U2, [
17434
17432
  ue(l, { "data-test": "error-icon" }),
17435
- g("span", L2, te(e.errorLabel), 1)
17433
+ g("span", I2, te(e.errorLabel), 1)
17436
17434
  ])) : S("", !0)
17437
- ], 8, U2);
17435
+ ], 8, B2);
17438
17436
  }
17439
- const fb = /* @__PURE__ */ pe(O2, [["render", N2], ["__scopeId", "data-v-778569a8"]]);
17437
+ const db = /* @__PURE__ */ pe(D2, [["render", M2], ["__scopeId", "data-v-778569a8"]]);
17440
17438
  export {
17441
- ob as FusionActionBar,
17442
- j2 as FusionBanner,
17439
+ ab as FusionActionBar,
17440
+ z2 as FusionBanner,
17443
17441
  mo as FusionButton,
17444
- G2 as FusionCard,
17442
+ X2 as FusionCard,
17445
17443
  ai as FusionCheckbox,
17446
- Y2 as FusionCheckboxGroup,
17447
- B0 as FusionCircularProgressIndicator,
17448
- N0 as FusionCircularProgressIndicatorLabel,
17449
- H0 as FusionCircularProgressIndicatorLabelChecklist,
17450
- db as FusionCircularProgressIndicatorLabelCollection,
17451
- Z2 as FusionContextMenu,
17452
- X2 as FusionDatePicker,
17444
+ H2 as FusionCheckboxGroup,
17445
+ P0 as FusionCircularProgressIndicator,
17446
+ M0 as FusionCircularProgressIndicatorLabel,
17447
+ R0 as FusionCircularProgressIndicatorLabelChecklist,
17448
+ ib as FusionCircularProgressIndicatorLabelCollection,
17449
+ W2 as FusionContextMenu,
17450
+ J2 as FusionDatePicker,
17453
17451
  el as FusionDivider,
17454
- pb as FusionFileUploaderButton,
17455
- ib as FusionFooterBar,
17452
+ ub as FusionFileUploaderButton,
17453
+ rb as FusionFooterBar,
17456
17454
  Ja as FusionIconButton,
17457
17455
  Ao as FusionInput,
17458
- sb as FusionKeyValuePair,
17456
+ nb as FusionKeyValuePair,
17459
17457
  wo as FusionListBox,
17460
- tb as FusionListItem,
17458
+ _2 as FusionListItem,
17461
17459
  ho as FusionLoadingSpinner,
17462
17460
  ii as FusionMenuItem,
17463
- ub as FusionModal,
17464
- cb as FusionMonthDatePicker,
17465
- K2 as FusionNumericInputStepper,
17466
- H2 as FusionPasswordInput,
17467
- z2 as FusionPhoneInput,
17468
- _2 as FusionPlatformBar,
17469
- jg as FusionProgressBar,
17461
+ sb as FusionModal,
17462
+ lb as FusionMonthDatePicker,
17463
+ j2 as FusionNumericInputStepper,
17464
+ R2 as FusionPasswordInput,
17465
+ E2 as FusionPhoneInput,
17466
+ K2 as FusionPlatformBar,
17467
+ zg as FusionProgressBar,
17470
17468
  bu as FusionRadio,
17471
- J2 as FusionRadioGroup,
17472
- fb as FusionRangeDatePicker,
17473
- W2 as FusionSearchableInput,
17474
- q2 as FusionSelect,
17475
- $2 as FusionSideNavigation,
17476
- eb as FusionSideNavigationItem,
17477
- lb as FusionSubheadingBar,
17478
- Pg as FusionTag,
17469
+ q2 as FusionRadioGroup,
17470
+ db as FusionRangeDatePicker,
17471
+ Y2 as FusionSearchableInput,
17472
+ Q2 as FusionSelect,
17473
+ G2 as FusionSideNavigation,
17474
+ Z2 as FusionSideNavigationItem,
17475
+ ob as FusionSubheadingBar,
17476
+ Cg as FusionTag,
17479
17477
  Cu as FusionTextLink,
17480
- E2 as FusionTextarea,
17481
- nb as FusionToastMessage,
17482
- rb as FusionToolBar,
17483
- ab as FusionWidget
17478
+ N2 as FusionTextarea,
17479
+ eb as FusionToastMessage,
17480
+ tb as FusionToolBar,
17481
+ $2 as FusionWidget
17484
17482
  };