@solfacil/girassol 0.3.0 → 0.3.1

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, openBlock as s, createElementBlock as r, normalizeClass as k, createElementVNode as u, useSlots as Ye, computed as D, unref as $, renderSlot as m, createVNode as L, createCommentVNode as T, createBlock as R, withCtx as E, ref as z, toDisplayString as x, mergeProps as U, isRef as Ee, withDirectives as Y, vShow as X, vModelText as We, Fragment as j, renderList as Z, getCurrentScope as je, onScopeDispose as Ze, watch as Je, reactive as ie, withModifiers as q, createTextVNode as p, Transition as Me, normalizeStyle as ae, withKeys as K, onMounted as De, onUnmounted as Xe, render as pe } from "vue";
1
+ import { defineComponent as O, openBlock as s, createElementBlock as r, normalizeClass as k, createElementVNode as u, useSlots as Ye, computed as D, unref as $, renderSlot as m, createVNode as L, createCommentVNode as T, createBlock as H, withCtx as E, ref as V, toDisplayString as x, mergeProps as U, isRef as Ee, withDirectives as Y, vShow as X, vModelText as We, Fragment as j, renderList as Z, getCurrentScope as je, onScopeDispose as Ze, watch as Je, reactive as ie, withModifiers as q, createTextVNode as N, Transition as Me, normalizeStyle as ae, withKeys as K, onMounted as De, onUnmounted as Xe, render as Ne } from "vue";
2
2
  const _e = /* @__PURE__ */ u("path", {
3
3
  class: "path",
4
4
  d: "M16.0008 1.5C17.905 1.5 19.7905 1.87506 21.5497 2.60375C23.3089 3.33244 24.9074 4.4005 26.2538 5.74695C27.6003 7.0934 28.6684 8.69187 29.397 10.4511C30.1257 12.2103 30.5008 14.0958 30.5008 16C30.5008 17.9042 30.1257 19.7897 29.397 21.5489C28.6684 23.3081 27.6003 24.9066 26.2538 26.2531C24.9074 27.5995 23.3089 28.6676 21.5497 29.3963C19.7905 30.1249 17.905 30.5 16.0008 30.5C14.0966 30.5 12.2111 30.1249 10.4519 29.3963C8.69266 28.6676 7.09419 27.5995 5.74774 26.253C4.4013 24.9066 3.33323 23.3081 2.60454 21.5489C1.87585 19.7897 1.50079 17.9042 1.50079 16C1.5008 14.0958 1.87585 12.2103 2.60454 10.4511C3.33324 8.69187 4.4013 7.0934 5.74775 5.74695C7.0942 4.4005 8.69267 3.33244 10.4519 2.60375C12.2111 1.87505 14.0966 1.5 16.0008 1.5L16.0008 1.5Z"
@@ -83,7 +83,7 @@ const ot = {
83
83
  function ct(e, n) {
84
84
  return s(), r("svg", ot, dt);
85
85
  }
86
- const rt = { name: "material-symbols-delete-outline", render: ct }, Ne = /* @__PURE__ */ O({
86
+ const rt = { name: "material-symbols-delete-outline", render: ct }, Re = /* @__PURE__ */ O({
87
87
  __name: "ButtonDestructive",
88
88
  props: {
89
89
  id: null,
@@ -91,7 +91,7 @@ const rt = { name: "material-symbols-delete-outline", render: ct }, Ne = /* @__P
91
91
  loading: { type: Boolean }
92
92
  },
93
93
  setup(e) {
94
- return (n, t) => (s(), R(_, {
94
+ return (n, t) => (s(), H(_, {
95
95
  id: `destructive-${e.id}`,
96
96
  size: e.size,
97
97
  loading: e.loading,
@@ -111,7 +111,7 @@ const rt = { name: "material-symbols-delete-outline", render: ct }, Ne = /* @__P
111
111
  _.install = (e) => {
112
112
  e.component("SolButton", _);
113
113
  };
114
- Ne.install = (e) => {
114
+ Re.install = (e) => {
115
115
  e.component("SolButton", _);
116
116
  };
117
117
  const ut = ["id", "data-testid", "value"], W = /* @__PURE__ */ O({
@@ -127,7 +127,7 @@ const ut = ["id", "data-testid", "value"], W = /* @__PURE__ */ O({
127
127
  function i({ target: a }) {
128
128
  t("update:modelValue", a == null ? void 0 : a.value);
129
129
  }
130
- const l = z("");
130
+ const l = V("");
131
131
  return n({
132
132
  input: l
133
133
  }), (a, o) => (s(), r("input", {
@@ -248,10 +248,10 @@ const Bt = { name: "mi-eye-off", render: It }, Ot = ["aria-label"], $e = /* @__P
248
248
  label: { default: "Sua senha" }
249
249
  },
250
250
  setup(e) {
251
- const n = z(!1), t = D(
251
+ const n = V(!1), t = D(
252
252
  () => n.value ? "text" : "password"
253
253
  );
254
- return (i, l) => (s(), R(oe, {
254
+ return (i, l) => (s(), H(oe, {
255
255
  id: e.id,
256
256
  required: "",
257
257
  type: $(t),
@@ -283,7 +283,7 @@ oe.install = (e) => {
283
283
  $e.install = (e) => {
284
284
  e.component("SolTextfieldPassword", $e);
285
285
  };
286
- const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textarea" }, Pt = ["id", "data-testid", "invert", "aria-invalid", "aria-describedby"], zt = ["id"], Vt = ["id"], be = /* @__PURE__ */ O({
286
+ const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textarea" }, Pt = ["id", "data-testid", "invert", "aria-invalid", "aria-describedby"], Vt = ["id"], At = ["id"], be = /* @__PURE__ */ O({
287
287
  __name: "Textarea",
288
288
  props: {
289
289
  id: null,
@@ -345,11 +345,11 @@ const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textare
345
345
  key: 0,
346
346
  id: `hint-${e.id}`,
347
347
  class: "hint"
348
- }, x(e.hint), 9, zt)) : e.error ? (s(), r("span", {
348
+ }, x(e.hint), 9, Vt)) : e.error ? (s(), r("span", {
349
349
  key: 1,
350
350
  id: `error-${e.id}`,
351
351
  class: "error"
352
- }, x(e.error), 9, Vt)) : T("", !0)
352
+ }, x(e.error), 9, At)) : T("", !0)
353
353
  ], 10, Mt);
354
354
  };
355
355
  }
@@ -357,7 +357,7 @@ const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textare
357
357
  be.install = (e) => {
358
358
  e.component("SolTextarea", be);
359
359
  };
360
- const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], Dt = {
360
+ const zt = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], Dt = {
361
361
  inheritAttrs: !1
362
362
  }, se = /* @__PURE__ */ O({
363
363
  ...Dt,
@@ -384,7 +384,7 @@ const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], Dt =
384
384
  value: e.value,
385
385
  name: e.name,
386
386
  onChange: i[0] || (i[0] = (l) => n("change", e.value))
387
- }), null, 16, At),
387
+ }), null, 16, zt),
388
388
  u("label", {
389
389
  class: "label",
390
390
  for: `radio-${e.name}-${e.id}`
@@ -392,7 +392,7 @@ const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], Dt =
392
392
  ], 2));
393
393
  }
394
394
  });
395
- const pt = ["aria-labelledby"], Nt = ["id", "data-testid"], Rt = ["id", "data-testid"], Ht = ["id", "data-testid"], ye = /* @__PURE__ */ O({
395
+ const Nt = ["aria-labelledby"], Rt = ["id", "data-testid"], Ht = ["id", "data-testid"], pt = ["id", "data-testid"], ye = /* @__PURE__ */ O({
396
396
  __name: "RadioGroup",
397
397
  props: {
398
398
  id: null,
@@ -430,7 +430,7 @@ const pt = ["aria-labelledby"], Nt = ["id", "data-testid"], Rt = ["id", "data-te
430
430
  id: `radio-group-title-${e.id}`,
431
431
  class: k(["title", { "sr-only": e.hideTitle }]),
432
432
  "data-testid": `radio-group-title-${e.id}`
433
- }, x(e.title), 11, Nt)
433
+ }, x(e.title), 11, Rt)
434
434
  ]),
435
435
  u("ul", {
436
436
  class: k(["container-radios", { "flex-col": e.direction === "column" }])
@@ -462,13 +462,13 @@ const pt = ["aria-labelledby"], Nt = ["id", "data-testid"], Rt = ["id", "data-te
462
462
  id: `radios-hint-${e.id}`,
463
463
  "data-testid": `radios-hint-${e.id}`,
464
464
  class: "hint"
465
- }, x(e.hint), 9, Rt)) : e.error ? (s(), r("p", {
465
+ }, x(e.hint), 9, Ht)) : e.error ? (s(), r("p", {
466
466
  key: 1,
467
467
  id: `radios-error-${e.id}`,
468
468
  "data-testid": `radios-error-${e.id}`,
469
469
  class: "error"
470
- }, x(e.error), 9, Ht)) : T("", !0)
471
- ], 8, pt));
470
+ }, x(e.error), 9, pt)) : T("", !0)
471
+ ], 8, Nt));
472
472
  }
473
473
  });
474
474
  se.install = (e) => {
@@ -606,7 +606,7 @@ de.install = (e) => {
606
606
  ge.install = (e) => {
607
607
  e.component("SolCheckboxGroup", ge);
608
608
  };
609
- const Wt = ["id", "for", "data-testid"], jt = { class: "switch-container" }, Zt = ["id", "aria-checked", "aria-labelledby", "data-testid", "checked", "value", "name"], Jt = /* @__PURE__ */ u("span", { class: "ellipse" }, null, -1), we = /* @__PURE__ */ O({
609
+ const Wt = ["id", "aria-checked", "aria-labelledby", "data-testid", "checked", "value", "name"], jt = ["id", "for", "data-testid"], we = /* @__PURE__ */ O({
610
610
  __name: "Switch",
611
611
  props: {
612
612
  id: null,
@@ -615,36 +615,37 @@ const Wt = ["id", "for", "data-testid"], jt = { class: "switch-container" }, Zt
615
615
  label: null,
616
616
  checked: { type: Boolean },
617
617
  class: null,
618
+ textDirection: { default: "left" },
618
619
  hideLabel: { type: Boolean },
619
- horizontalLabel: { type: Boolean }
620
+ stretchLabel: { type: Boolean, default: !1 }
620
621
  },
621
622
  emits: ["change"],
622
623
  setup(e, { emit: n }) {
623
624
  return (t, i) => (s(), r("div", {
624
- class: k(["sol-switch-core", [t.$props.class, { "-horizontal": e.horizontalLabel }]])
625
+ class: k(["sol-switch-core", [t.$props.class, `-text-${e.textDirection}`, { "-stretch-label": e.stretchLabel }]])
625
626
  }, [
627
+ u("input", U(t.$attrs, {
628
+ id: `switch-${e.name}-${e.id}`,
629
+ type: "checkbox",
630
+ class: "switch",
631
+ role: "switch",
632
+ "aria-checked": e.checked,
633
+ "aria-labelledby": `switch-label-${e.name}-${e.id}`,
634
+ "data-testid": `switch-${e.name}-${e.id}`,
635
+ checked: e.checked,
636
+ value: e.value,
637
+ name: e.name,
638
+ onChange: i[0] || (i[0] = (l) => {
639
+ var a;
640
+ return n("change", (a = e.value) != null ? a : !!e.checked);
641
+ })
642
+ }), null, 16, Wt),
626
643
  u("label", {
627
644
  id: `switch-label-${e.name}-${e.id}`,
628
- class: k(["label", { "mb-1": !e.horizontalLabel, "sr-only": e.hideLabel }]),
645
+ class: k(["label", `-${e.textDirection} ${e.hideLabel ? "sr-only" : ""}`]),
629
646
  for: `switch-${e.name}-${e.id}`,
630
647
  "data-testid": `switch-label-${e.name}-${e.id}`
631
- }, x(e.label), 11, Wt),
632
- u("div", jt, [
633
- u("input", U(t.$attrs, {
634
- id: `switch-${e.name}-${e.id}`,
635
- type: "checkbox",
636
- class: "switch",
637
- role: "switch",
638
- "aria-checked": e.checked,
639
- "aria-labelledby": `switch-label-${e.name}-${e.id}`,
640
- "data-testid": `switch-${e.name}-${e.id}`,
641
- checked: e.checked,
642
- value: e.value,
643
- name: e.name,
644
- onChange: i[0] || (i[0] = (l) => n("change", e.value))
645
- }), null, 16, Zt),
646
- Jt
647
- ])
648
+ }, x(e.label), 11, jt)
648
649
  ], 2));
649
650
  }
650
651
  });
@@ -652,30 +653,30 @@ we.install = (e) => {
652
653
  e.component("SolSwitch", we);
653
654
  };
654
655
  var Le;
655
- const te = typeof window < "u", Xt = (e) => typeof e == "string", ve = () => {
656
+ const te = typeof window < "u", Zt = (e) => typeof e == "string", ve = () => {
656
657
  };
657
658
  te && ((Le = window == null ? void 0 : window.navigator) == null ? void 0 : Le.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
658
- function _t(e) {
659
+ function Jt(e) {
659
660
  return typeof e == "function" ? e() : $(e);
660
661
  }
661
- function en(e) {
662
+ function Xt(e) {
662
663
  return e;
663
664
  }
664
- function tn(e) {
665
+ function _t(e) {
665
666
  return je() ? (Ze(e), !0) : !1;
666
667
  }
667
668
  function J(e) {
668
669
  var n;
669
- const t = _t(e);
670
+ const t = Jt(e);
670
671
  return (n = t == null ? void 0 : t.$el) != null ? n : t;
671
672
  }
672
- const Re = te ? window : void 0;
673
+ const He = te ? window : void 0;
673
674
  te && window.document;
674
675
  te && window.navigator;
675
676
  te && window.location;
676
677
  function le(...e) {
677
678
  let n, t, i, l;
678
- if (Xt(e[0]) ? ([t, i, l] = e, n = Re) : [n, t, i, l] = e, !n)
679
+ if (Zt(e[0]) ? ([t, i, l] = e, n = He) : [n, t, i, l] = e, !n)
679
680
  return ve;
680
681
  let a = ve;
681
682
  const o = Je(() => J(n), (c) => {
@@ -685,20 +686,20 @@ function le(...e) {
685
686
  }, { immediate: !0, flush: "post" }), d = () => {
686
687
  o(), a();
687
688
  };
688
- return tn(d), d;
689
+ return _t(d), d;
689
690
  }
690
691
  function Te(e, n, t = {}) {
691
- const { window: i = Re, ignore: l, capture: a = !0, detectIframe: o = !1 } = t;
692
+ const { window: i = He, ignore: l, capture: a = !0, detectIframe: o = !1 } = t;
692
693
  if (!i)
693
694
  return;
694
- const d = z(!0);
695
+ const d = V(!0);
695
696
  let c;
696
697
  const h = (y) => {
697
698
  i.clearTimeout(c);
698
699
  const S = J(e), B = y.composedPath();
699
700
  !S || S === y.target || B.includes(S) || !d.value || l && l.length > 0 && l.some((M) => {
700
- const N = J(M);
701
- return N && (y.target === N || B.includes(N));
701
+ const R = J(M);
702
+ return R && (y.target === R || B.includes(R));
702
703
  }) || n(y);
703
704
  }, f = [
704
705
  le(i, "click", h, { passive: !0, capture: a }),
@@ -727,15 +728,15 @@ var Pe;
727
728
  (function(e) {
728
729
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
729
730
  })(Pe || (Pe = {}));
730
- var nn = Object.defineProperty, ze = Object.getOwnPropertySymbols, ln = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, Ve = (e, n, t) => n in e ? nn(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, on = (e, n) => {
731
+ var en = Object.defineProperty, Ve = Object.getOwnPropertySymbols, tn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, Ae = (e, n, t) => n in e ? en(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, ln = (e, n) => {
731
732
  for (var t in n || (n = {}))
732
- ln.call(n, t) && Ve(e, t, n[t]);
733
- if (ze)
734
- for (var t of ze(n))
735
- an.call(n, t) && Ve(e, t, n[t]);
733
+ tn.call(n, t) && Ae(e, t, n[t]);
734
+ if (Ve)
735
+ for (var t of Ve(n))
736
+ nn.call(n, t) && Ae(e, t, n[t]);
736
737
  return e;
737
738
  };
738
- const sn = {
739
+ const an = {
739
740
  easeInSine: [0.12, 0, 0.39, 0],
740
741
  easeOutSine: [0.61, 1, 0.88, 1],
741
742
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -761,27 +762,27 @@ const sn = {
761
762
  easeOutBack: [0.34, 1.56, 0.64, 1],
762
763
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
763
764
  };
764
- on({
765
- linear: en
766
- }, sn);
767
- const dn = {
765
+ ln({
766
+ linear: Xt
767
+ }, an);
768
+ const on = {
768
769
  preserveAspectRatio: "xMidYMid meet",
769
770
  viewBox: "0 0 24 24",
770
771
  width: "1em",
771
772
  height: "1em"
772
- }, cn = /* @__PURE__ */ u("path", {
773
+ }, sn = /* @__PURE__ */ u("path", {
773
774
  fill: "currentColor",
774
775
  d: "M10 4a6 6 0 1 0 0 12a6 6 0 0 0 0-12zm-8 6a8 8 0 1 1 14.32 4.906l5.387 5.387a1 1 0 0 1-1.414 1.414l-5.387-5.387A8 8 0 0 1 2 10z"
775
- }, null, -1), rn = [
776
- cn
776
+ }, null, -1), dn = [
777
+ sn
777
778
  ];
778
- function un(e, n) {
779
- return s(), r("svg", dn, rn);
779
+ function cn(e, n) {
780
+ return s(), r("svg", on, dn);
780
781
  }
781
- const He = { name: "mi-search", render: un }, hn = ["data-testid"], fn = ["id", "for"], mn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], vn = { class: "dropdown-container" }, $n = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], bn = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], yn = {
782
+ const pe = { name: "mi-search", render: cn }, rn = ["data-testid"], un = ["id", "for"], hn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], fn = { class: "dropdown-container" }, mn = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], vn = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], $n = {
782
783
  key: 0,
783
784
  class: "no-data"
784
- }, gn = /* @__PURE__ */ p(" Sem dados "), Se = /* @__PURE__ */ O({
785
+ }, bn = /* @__PURE__ */ N(" Sem dados "), Se = /* @__PURE__ */ O({
785
786
  __name: "Dropdown",
786
787
  props: {
787
788
  id: null,
@@ -800,7 +801,7 @@ const He = { name: "mi-search", render: un }, hn = ["data-testid"], fn = ["id",
800
801
  },
801
802
  emits: ["closeDropdown", "search", "update:selected"],
802
803
  setup(e, { emit: n }) {
803
- const t = e, i = z(), l = z(!1), a = z(""), o = D(
804
+ const t = e, i = V(), l = V(!1), a = V(""), o = D(
804
805
  () => {
805
806
  var b;
806
807
  return t.fetchOnSearch ? t.options : (b = t.options) == null ? void 0 : b.filter(
@@ -840,13 +841,13 @@ const He = { name: "mi-search", render: un }, hn = ["data-testid"], fn = ["id",
840
841
  id: "",
841
842
  index: 0
842
843
  });
843
- function N({ code: b }) {
844
+ function R({ code: b }) {
844
845
  const v = (P) => {
845
846
  const F = P != null ? P : M.index;
846
847
  P !== void 0 && (M.index = P), setTimeout(() => {
847
848
  var g, w;
848
- const H = (g = B.list) == null ? void 0 : g.children[F];
849
- M.id = (w = H == null ? void 0 : H.id) != null ? w : "", H == null || H.focus();
849
+ const p = (g = B.list) == null ? void 0 : g.children[F];
850
+ M.id = (w = p == null ? void 0 : p.id) != null ? w : "", p == null || p.focus();
850
851
  }, 0);
851
852
  }, C = () => {
852
853
  var P;
@@ -881,14 +882,14 @@ const He = { name: "mi-search", render: un }, hn = ["data-testid"], fn = ["id",
881
882
  ref: i,
882
883
  class: k(["sol-dropdown-core", { "-smaller": e.smallerWidth }]),
883
884
  "data-testid": `dropdown-${e.id}`,
884
- onKeydownPassive: N
885
+ onKeydownPassive: R
885
886
  }, [
886
887
  m(b.$slots, "label", {}, () => [
887
888
  u("label", {
888
889
  id: `label-dropdown-${e.id}`,
889
890
  class: k(["label", { "-disabled": e.disabled, "sr-only": e.ariaLabel }]),
890
891
  for: `toggle-dropdown-${e.id}`
891
- }, x(e.label || e.ariaLabel), 11, fn)
892
+ }, x(e.label || e.ariaLabel), 11, un)
892
893
  ]),
893
894
  u("button", {
894
895
  id: `toggle-dropdown-${e.id}`,
@@ -909,15 +910,15 @@ const He = { name: "mi-search", render: un }, hn = ["data-testid"], fn = ["id",
909
910
  selectedSanitized: $(d),
910
911
  selected: e.selected
911
912
  }, () => [
912
- p(x($(d) || "Selecione"), 1)
913
+ N(x($(d) || "Selecione"), 1)
913
914
  ])
914
- ], 8, mn),
915
+ ], 8, hn),
915
916
  L(Me, {
916
917
  mode: "out-in",
917
918
  name: "dropdown"
918
919
  }, {
919
920
  default: E(() => [
920
- Y(u("div", vn, [
921
+ Y(u("div", fn, [
921
922
  e.searchable ? (s(), r("div", {
922
923
  key: 0,
923
924
  class: k(["search-container", { "-loading": e.loading }])
@@ -946,7 +947,7 @@ const He = { name: "mi-search", render: un }, hn = ["data-testid"], fn = ["id",
946
947
  return n("search", (P = C.target) == null ? void 0 : P.value);
947
948
  })
948
949
  }, null, 8, ["id", "modelValue", "data-testid", "placeholder", "aria-expanded", "aria-owns", "aria-controls", "aria-activedescendant", "aria-labelledby"]),
949
- L($(He), {
950
+ L($(pe), {
950
951
  "aria-hidden": "true",
951
952
  class: "icon"
952
953
  })
@@ -983,42 +984,42 @@ const He = { name: "mi-search", render: un }, hn = ["data-testid"], fn = ["id",
983
984
  option: C,
984
985
  isSelect: S
985
986
  }, () => [
986
- p(x(G(C, "name")), 1)
987
+ N(x(G(C, "name")), 1)
987
988
  ])
988
- ], 44, bn))), 128)),
989
- $(o).length ? T("", !0) : (s(), r("li", yn, [
989
+ ], 44, vn))), 128)),
990
+ $(o).length ? T("", !0) : (s(), r("li", $n, [
990
991
  m(b.$slots, "no-data", {}, () => [
991
- gn
992
+ bn
992
993
  ])
993
994
  ]))
994
- ], 8, $n)
995
+ ], 8, mn)
995
996
  ], 512), [
996
997
  [X, l.value]
997
998
  ])
998
999
  ]),
999
1000
  _: 3
1000
1001
  })
1001
- ], 42, hn));
1002
+ ], 42, rn));
1002
1003
  }
1003
1004
  });
1004
1005
  Se.install = (e) => {
1005
1006
  e.component("SolDropdown", Se);
1006
1007
  };
1007
- const wn = {
1008
+ const yn = {
1008
1009
  preserveAspectRatio: "xMidYMid meet",
1009
1010
  viewBox: "0 0 24 24",
1010
1011
  width: "1em",
1011
1012
  height: "1em"
1012
- }, kn = /* @__PURE__ */ u("path", {
1013
+ }, gn = /* @__PURE__ */ u("path", {
1013
1014
  fill: "currentColor",
1014
1015
  d: "M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12L5.293 6.707a1 1 0 0 1 0-1.414z"
1015
- }, null, -1), xn = [
1016
- kn
1016
+ }, null, -1), wn = [
1017
+ gn
1017
1018
  ];
1018
- function Sn(e, n) {
1019
- return s(), r("svg", wn, xn);
1019
+ function kn(e, n) {
1020
+ return s(), r("svg", yn, wn);
1020
1021
  }
1021
- const Fe = { name: "mi-close", render: Sn }, Cn = ["id", "data-testid", "title", "aria-describedby", "aria-disabled", "onKeydown"], In = ["id"], Bn = { class: "label" }, ce = /* @__PURE__ */ O({
1022
+ const Fe = { name: "mi-close", render: kn }, xn = ["id", "data-testid", "title", "aria-describedby", "aria-disabled", "onKeydown"], Sn = ["id"], Cn = { class: "label" }, ce = /* @__PURE__ */ O({
1022
1023
  __name: "Chip",
1023
1024
  props: {
1024
1025
  id: null,
@@ -1059,10 +1060,10 @@ const Fe = { name: "mi-close", render: Sn }, Cn = ["id", "data-testid", "title",
1059
1060
  id: `chip-description-${e.id}`,
1060
1061
  "z-index": "-1",
1061
1062
  class: "sr-only"
1062
- }, "Press Delete or Backspace to remove this Chip", 8, In),
1063
- u("span", Bn, [
1063
+ }, "Press Delete or Backspace to remove this Chip", 8, Sn),
1064
+ u("span", Cn, [
1064
1065
  m(l.$slots, "default", {}, () => [
1065
- p(x(e.label), 1)
1066
+ N(x(e.label), 1)
1066
1067
  ])
1067
1068
  ]),
1068
1069
  e.removable ? (s(), r("i", {
@@ -1074,13 +1075,13 @@ const Fe = { name: "mi-close", render: Sn }, Cn = ["id", "data-testid", "title",
1074
1075
  }, [
1075
1076
  L($(Fe), { class: "icon" })
1076
1077
  ])) : T("", !0)
1077
- ], 42, Cn));
1078
+ ], 42, xn));
1078
1079
  }
1079
1080
  });
1080
- const On = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Mn = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], Tn = {
1081
+ const In = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Bn = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], On = {
1081
1082
  key: 0,
1082
1083
  class: "no-data"
1083
- }, Ln = /* @__PURE__ */ p(" Sem dados "), Pn = /* @__PURE__ */ O({
1084
+ }, Mn = /* @__PURE__ */ N(" Sem dados "), Tn = /* @__PURE__ */ O({
1084
1085
  __name: "ListOption",
1085
1086
  props: {
1086
1087
  id: null,
@@ -1090,7 +1091,7 @@ const On = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Mn
1090
1091
  },
1091
1092
  emits: ["select"],
1092
1093
  setup(e, { expose: n, emit: t }) {
1093
- const i = z("");
1094
+ const i = V("");
1094
1095
  return n({
1095
1096
  list: i
1096
1097
  }), (l, a) => (s(), r("ul", {
@@ -1126,32 +1127,32 @@ const On = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Mn
1126
1127
  option: o,
1127
1128
  isSelected: e.isSelected(o)
1128
1129
  }, () => [
1129
- p(x(o.name), 1)
1130
+ N(x(o.name), 1)
1130
1131
  ])
1131
- ], 44, Mn))), 128)),
1132
- e.options.length ? T("", !0) : (s(), r("li", Tn, [
1132
+ ], 44, Bn))), 128)),
1133
+ e.options.length ? T("", !0) : (s(), r("li", On, [
1133
1134
  m(l.$slots, "no-data", {}, () => [
1134
- Ln
1135
+ Mn
1135
1136
  ])
1136
1137
  ]))
1137
- ], 8, On));
1138
+ ], 8, In));
1138
1139
  }
1139
1140
  });
1140
- const zn = {
1141
+ const Ln = {
1141
1142
  preserveAspectRatio: "xMidYMid meet",
1142
1143
  viewBox: "0 0 24 24",
1143
1144
  width: "1em",
1144
1145
  height: "1em"
1145
- }, Vn = /* @__PURE__ */ u("path", {
1146
+ }, Pn = /* @__PURE__ */ u("path", {
1146
1147
  fill: "currentColor",
1147
1148
  d: "m17 10l-5 6l-5-6h10z"
1148
- }, null, -1), An = [
1149
- Vn
1149
+ }, null, -1), Vn = [
1150
+ Pn
1150
1151
  ];
1151
- function En(e, n) {
1152
- return s(), r("svg", zn, An);
1152
+ function An(e, n) {
1153
+ return s(), r("svg", Ln, Vn);
1153
1154
  }
1154
- const Dn = { name: "mi-caret-down", render: En };
1155
+ const zn = { name: "mi-caret-down", render: An };
1155
1156
  function qe(e, n) {
1156
1157
  function t({ code: i }) {
1157
1158
  var o;
@@ -1209,14 +1210,14 @@ function Ke({ target: e, query: n }) {
1209
1210
  focusOnLastItem: d
1210
1211
  };
1211
1212
  }
1212
- const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], Hn = {
1213
+ const En = ["data-testid"], Dn = ["id"], Nn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], Rn = {
1213
1214
  key: 0,
1214
1215
  class: "container-tags"
1215
- }, Fn = {
1216
+ }, Hn = {
1216
1217
  key: 1,
1217
1218
  class: "mr-micro placeholder-inline",
1218
1219
  tabindex: "-1"
1219
- }, qn = { class: "error" }, Kn = { class: "select-options-container" }, Ce = /* @__PURE__ */ O({
1220
+ }, pn = { class: "error" }, Fn = { class: "select-options-container" }, Ce = /* @__PURE__ */ O({
1220
1221
  __name: "Select",
1221
1222
  props: {
1222
1223
  id: null,
@@ -1237,7 +1238,7 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1237
1238
  },
1238
1239
  emits: ["closeDropdown", "search", "update:selected"],
1239
1240
  setup(e, { emit: n }) {
1240
- const t = e, i = z(), l = z(!1), a = z(""), o = D(
1241
+ const t = e, i = V(), l = V(!1), a = V(""), o = D(
1241
1242
  () => {
1242
1243
  var g;
1243
1244
  return t.fetchOnSearch ? t.options : (g = t.options) == null ? void 0 : g.filter((w) => w.name.includes(a.value));
@@ -1258,9 +1259,9 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1258
1259
  function f(g) {
1259
1260
  if (Array.isArray(t.selected)) {
1260
1261
  const w = t.selected.findIndex(
1261
- ({ value: V }) => V === g.value
1262
+ ({ value: A }) => A === g.value
1262
1263
  );
1263
- return w === -1 ? [...t.selected, g] : t.selected.filter((V, A) => A !== w);
1264
+ return w === -1 ? [...t.selected, g] : t.selected.filter((A, z) => z !== w);
1264
1265
  }
1265
1266
  return [g];
1266
1267
  }
@@ -1269,15 +1270,15 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1269
1270
  }
1270
1271
  function y(g) {
1271
1272
  var w;
1272
- return Array.isArray(t.selected) ? t.selected.some(({ value: V }) => V === g.value) : g.value === ((w = t.selected) == null ? void 0 : w.value);
1273
+ return Array.isArray(t.selected) ? t.selected.some(({ value: A }) => A === g.value) : g.value === ((w = t.selected) == null ? void 0 : w.value);
1273
1274
  }
1274
- const S = z(), B = z();
1275
+ const S = V(), B = V();
1275
1276
  function M() {
1276
1277
  var g;
1277
1278
  t.searchable && (v(), (g = S.value) == null || g.focus());
1278
1279
  }
1279
1280
  const {
1280
- elementFocus: N,
1281
+ elementFocus: R,
1281
1282
  focusOnFirstItem: he,
1282
1283
  focusOnLastItem: G,
1283
1284
  focusOnNextItem: ne,
@@ -1303,7 +1304,7 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1303
1304
  g === "search" ? S.value = w == null ? void 0 : w.input : B.value = w == null ? void 0 : w.list;
1304
1305
  };
1305
1306
  }
1306
- function H() {
1307
+ function p() {
1307
1308
  var w;
1308
1309
  const g = t.selected;
1309
1310
  return (w = g == null ? void 0 : g.name) != null ? w : t.placeholder;
@@ -1313,7 +1314,7 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1313
1314
  ref: i,
1314
1315
  class: k(["sol-select-core", { "-smaller": e.smallerWidth }]),
1315
1316
  "data-testid": `select-${e.id}`,
1316
- onKeydownPassive: w[3] || (w[3] = (...V) => $(C) && $(C)(...V))
1317
+ onKeydownPassive: w[3] || (w[3] = (...A) => $(C) && $(C)(...A))
1317
1318
  }, [
1318
1319
  m(g.$slots, "label", {
1319
1320
  id: `select-label-${e.id}`,
@@ -1323,7 +1324,7 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1323
1324
  key: 0,
1324
1325
  id: `select-label-${e.id}`,
1325
1326
  class: k(["label", { "-disabled": e.disabled }])
1326
- }, x(e.label), 11, Nn)) : T("", !0)
1327
+ }, x(e.label), 11, Dn)) : T("", !0)
1327
1328
  ]),
1328
1329
  u("button", {
1329
1330
  id: `select-toggle-${e.id}`,
@@ -1343,32 +1344,32 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1343
1344
  select: I,
1344
1345
  selected: e.selected
1345
1346
  }, () => {
1346
- var V;
1347
+ var A;
1347
1348
  return [
1348
- e.multiple && Array.isArray(e.selected) && ((V = e.selected) == null ? void 0 : V.length) ? (s(), r("div", Hn, [
1349
- (s(!0), r(j, null, Z(e.selected, (A, fe) => (s(), R(ce, {
1350
- id: A.value,
1349
+ e.multiple && Array.isArray(e.selected) && ((A = e.selected) == null ? void 0 : A.length) ? (s(), r("div", Rn, [
1350
+ (s(!0), r(j, null, Z(e.selected, (z, fe) => (s(), H(ce, {
1351
+ id: z.value,
1351
1352
  key: fe,
1352
- label: A.name,
1353
- onClick: q((me) => I(A), ["stop"]),
1354
- onClose: (me) => I(A)
1353
+ label: z.name,
1354
+ onClick: q((me) => I(z), ["stop"]),
1355
+ onClose: (me) => I(z)
1355
1356
  }, null, 8, ["id", "label", "onClick", "onClose"]))), 128))
1356
- ])) : (s(), r("span", Fn, x(H()), 1)),
1357
- L($(Dn), {
1357
+ ])) : (s(), r("span", Hn, x(p()), 1)),
1358
+ L($(zn), {
1358
1359
  "aria-hidden": "true",
1359
1360
  tabindex: "-1",
1360
1361
  class: k(["icon", { "-open": l.value }])
1361
1362
  }, null, 8, ["class"])
1362
1363
  ];
1363
1364
  })
1364
- ], 8, Rn),
1365
- u("span", qn, x(e.error), 1),
1365
+ ], 8, Nn),
1366
+ u("span", pn, x(e.error), 1),
1366
1367
  L(Me, {
1367
1368
  mode: "out-in",
1368
1369
  name: "dropdown"
1369
1370
  }, {
1370
1371
  default: E(() => [
1371
- Y(u("div", Kn, [
1372
+ Y(u("div", Fn, [
1372
1373
  m(g.$slots, "search", {}, () => [
1373
1374
  e.searchable ? (s(), r("div", {
1374
1375
  key: 0,
@@ -1379,7 +1380,7 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1379
1380
  id: `select-search-${e.id}`,
1380
1381
  ref: F("search"),
1381
1382
  modelValue: a.value,
1382
- "onUpdate:modelValue": w[0] || (w[0] = (V) => a.value = V),
1383
+ "onUpdate:modelValue": w[0] || (w[0] = (A) => a.value = A),
1383
1384
  "data-testid": `select-search-${e.id}`,
1384
1385
  role: "combobox",
1385
1386
  class: "search",
@@ -1389,22 +1390,22 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1389
1390
  "aria-haspopup": "listbox",
1390
1391
  "aria-owns": `select-list-${e.id}`,
1391
1392
  "aria-controls": `select-list-${e.id}`,
1392
- "aria-activedescendant": $(N).id,
1393
+ "aria-activedescendant": $(R).id,
1393
1394
  "aria-labelledby": `select-label-${e.id}`,
1394
1395
  onClick: w[1] || (w[1] = q(() => {
1395
1396
  }, ["stop"])),
1396
- onInput: w[2] || (w[2] = (V) => {
1397
- var A;
1398
- return n("search", (A = V.target) == null ? void 0 : A.value);
1397
+ onInput: w[2] || (w[2] = (A) => {
1398
+ var z;
1399
+ return n("search", (z = A.target) == null ? void 0 : z.value);
1399
1400
  })
1400
1401
  }, null, 8, ["id", "modelValue", "data-testid", "placeholder", "aria-expanded", "aria-owns", "aria-controls", "aria-activedescendant", "aria-labelledby"]),
1401
- L($(He), {
1402
+ L($(pe), {
1402
1403
  "aria-hidden": "true",
1403
1404
  class: "icon"
1404
1405
  })
1405
1406
  ])
1406
1407
  ], 2)) : T("", !0),
1407
- L(Pn, {
1408
+ L(Tn, {
1408
1409
  id: e.id,
1409
1410
  ref: F("list"),
1410
1411
  options: $(o),
@@ -1412,10 +1413,10 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1412
1413
  "is-selected": y,
1413
1414
  onSelect: I
1414
1415
  }, {
1415
- "item-list": E(({ text: V, value: A, option: fe, isSelected: me }) => [
1416
+ "item-list": E(({ text: A, value: z, option: fe, isSelected: me }) => [
1416
1417
  m(g.$slots, "default", {
1417
- text: V,
1418
- value: A,
1418
+ text: A,
1419
+ value: z,
1419
1420
  option: fe,
1420
1421
  isSelected: me
1421
1422
  })
@@ -1432,7 +1433,7 @@ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid",
1432
1433
  ]),
1433
1434
  _: 3
1434
1435
  })
1435
- ], 42, pn));
1436
+ ], 42, En));
1436
1437
  }
1437
1438
  });
1438
1439
  Ce.install = (e) => {
@@ -1441,21 +1442,21 @@ Ce.install = (e) => {
1441
1442
  ce.install = (e) => {
1442
1443
  e.component("SolChip", ce);
1443
1444
  };
1444
- const Un = {
1445
+ const qn = {
1445
1446
  preserveAspectRatio: "xMidYMid meet",
1446
1447
  viewBox: "0 0 24 24",
1447
1448
  width: "1em",
1448
1449
  height: "1em"
1449
- }, Gn = /* @__PURE__ */ u("path", {
1450
+ }, Kn = /* @__PURE__ */ u("path", {
1450
1451
  fill: "currentColor",
1451
1452
  d: "M12 14.975q-.2 0-.387-.075q-.188-.075-.313-.2l-4.6-4.6q-.275-.275-.275-.7q0-.425.275-.7q.275-.275.7-.275q.425 0 .7.275l3.9 3.9l3.9-3.9q.275-.275.7-.275q.425 0 .7.275q.275.275.275.7q0 .425-.275.7l-4.6 4.6q-.15.15-.325.212q-.175.063-.375.063Z"
1452
- }, null, -1), Qn = [
1453
- Gn
1453
+ }, null, -1), Un = [
1454
+ Kn
1454
1455
  ];
1455
- function Yn(e, n) {
1456
- return s(), r("svg", Un, Qn);
1456
+ function Gn(e, n) {
1457
+ return s(), r("svg", qn, Un);
1457
1458
  }
1458
- const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Yn }, Wn = ["id", "data-testid", "aria-disabled"], jn = ["data-testid", "tabindex"], Zn = { class: "container-title" }, Jn = { class: "icon" }, Xn = ["data-testid"], Ie = /* @__PURE__ */ O({
1459
+ const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Gn }, Qn = ["id", "data-testid", "aria-disabled"], Yn = ["data-testid", "tabindex"], Wn = { class: "container-title" }, jn = { class: "icon" }, Zn = ["data-testid"], Ie = /* @__PURE__ */ O({
1459
1460
  __name: "Accordion",
1460
1461
  props: {
1461
1462
  id: null,
@@ -1475,32 +1476,32 @@ const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Yn },
1475
1476
  class: "summary",
1476
1477
  tabindex: e.disabled ? -1 : 0
1477
1478
  }, [
1478
- u("div", Zn, [
1479
- u("span", Jn, [
1479
+ u("div", Wn, [
1480
+ u("span", jn, [
1480
1481
  m(n.$slots, "icon")
1481
1482
  ]),
1482
1483
  m(n.$slots, "title", {}, () => [
1483
- p(x(e.title), 1)
1484
+ N(x(e.title), 1)
1484
1485
  ])
1485
1486
  ]),
1486
1487
  L($(Ue), {
1487
1488
  class: "icon",
1488
1489
  "aria-hidden": "true"
1489
1490
  })
1490
- ], 8, jn),
1491
+ ], 8, Yn),
1491
1492
  u("div", {
1492
1493
  "data-testid": `accordion-content-${e.id}`,
1493
1494
  class: "accordion-content"
1494
1495
  }, [
1495
1496
  m(n.$slots, "default")
1496
- ], 8, Xn)
1497
- ], 10, Wn));
1497
+ ], 8, Zn)
1498
+ ], 10, Qn));
1498
1499
  }
1499
1500
  });
1500
1501
  Ie.install = (e) => {
1501
1502
  e.component("SolAccordion", Ie);
1502
1503
  };
1503
- const _n = ["id", "data-testid"], el = ["id", "aria-expanded"], tl = ["id", "data-testid", "aria-labelledby"], re = /* @__PURE__ */ O({
1504
+ const Jn = ["id", "data-testid"], Xn = ["id", "aria-expanded"], _n = ["id", "data-testid", "aria-labelledby"], re = /* @__PURE__ */ O({
1504
1505
  __name: "Menu",
1505
1506
  props: {
1506
1507
  id: null,
@@ -1508,11 +1509,11 @@ const _n = ["id", "data-testid"], el = ["id", "aria-expanded"], tl = ["id", "dat
1508
1509
  position: { default: "bottom" }
1509
1510
  },
1510
1511
  setup(e) {
1511
- const n = z();
1512
+ const n = V();
1512
1513
  Te(n, () => {
1513
1514
  I();
1514
1515
  });
1515
- const t = z(!1), i = z(), l = D(
1516
+ const t = V(!1), i = V(), l = D(
1516
1517
  () => i.value ? i.value.childElementCount : 0
1517
1518
  ), {
1518
1519
  resetStateFocus: a,
@@ -1544,7 +1545,7 @@ const _n = ["id", "data-testid"], el = ["id", "aria-expanded"], tl = ["id", "dat
1544
1545
  ref: n,
1545
1546
  "data-testid": `menu-${e.id}`,
1546
1547
  class: k([`-${e.position}`, "sol-menu-core"]),
1547
- onKeyupPassive: M[0] || (M[0] = (...N) => $(f) && $(f)(...N))
1548
+ onKeyupPassive: M[0] || (M[0] = (...R) => $(f) && $(f)(...R))
1548
1549
  }, [
1549
1550
  u("button", {
1550
1551
  id: `menu-button-${e.id}`,
@@ -1556,9 +1557,9 @@ const _n = ["id", "data-testid"], el = ["id", "aria-expanded"], tl = ["id", "dat
1556
1557
  onClick: S
1557
1558
  }, [
1558
1559
  m(B.$slots, "label", { isOpen: t.value }, () => [
1559
- p(x(e.label), 1)
1560
+ N(x(e.label), 1)
1560
1561
  ])
1561
- ], 8, el),
1562
+ ], 8, Xn),
1562
1563
  Y(u("menu", {
1563
1564
  id: `menu-container-${e.id}`,
1564
1565
  ref_key: "menu",
@@ -1569,16 +1570,16 @@ const _n = ["id", "data-testid"], el = ["id", "aria-expanded"], tl = ["id", "dat
1569
1570
  class: k(["menu", { "-open": t.value }])
1570
1571
  }, [
1571
1572
  m(B.$slots, "default", { close: I })
1572
- ], 10, tl), [
1573
+ ], 10, _n), [
1573
1574
  [X, t.value]
1574
1575
  ])
1575
- ], 42, _n));
1576
+ ], 42, Jn));
1576
1577
  }
1577
1578
  });
1578
1579
  re.install = (e) => {
1579
1580
  e.component("SolMenu", re);
1580
1581
  };
1581
- const nl = ["id"], ll = ["href", "target"], ue = /* @__PURE__ */ O({
1582
+ const el = ["id"], tl = ["href", "target"], ue = /* @__PURE__ */ O({
1582
1583
  __name: "MenuItemLink",
1583
1584
  props: {
1584
1585
  id: null,
@@ -1615,16 +1616,16 @@ const nl = ["id"], ll = ["href", "target"], ue = /* @__PURE__ */ O({
1615
1616
  class: k({ "-active": e.active }),
1616
1617
  href: e.link,
1617
1618
  target: e.external ? "_blank" : "_parent"
1618
- }, x(e.text), 11, ll)
1619
+ }, x(e.text), 11, tl)
1619
1620
  ])
1620
- ], 40, nl);
1621
+ ], 40, el);
1621
1622
  };
1622
1623
  }
1623
1624
  });
1624
1625
  ue.install = (e) => {
1625
1626
  e.component("SolMenuItemLink", ue);
1626
1627
  };
1627
- const il = { class: "label-container" }, al = { class: "label" }, Be = /* @__PURE__ */ O({
1628
+ const nl = { class: "label-container" }, ll = { class: "label" }, Be = /* @__PURE__ */ O({
1628
1629
  __name: "MenuNavigationLinks",
1629
1630
  props: {
1630
1631
  id: null,
@@ -1632,14 +1633,14 @@ const il = { class: "label-container" }, al = { class: "label" }, Be = /* @__PUR
1632
1633
  linkItems: null
1633
1634
  },
1634
1635
  setup(e) {
1635
- return (n, t) => (s(), R(re, {
1636
+ return (n, t) => (s(), H(re, {
1636
1637
  id: `navigation-${e.id}`,
1637
1638
  class: "sol-menu-navigation-links-core"
1638
1639
  }, {
1639
1640
  label: E(({ isOpen: i }) => [
1640
1641
  m(n.$slots, "label", { isOpen: i }, () => [
1641
- u("div", il, [
1642
- u("span", al, x(e.label), 1),
1642
+ u("div", nl, [
1643
+ u("span", ll, x(e.label), 1),
1643
1644
  L($(Ue), {
1644
1645
  class: k(["icon", { "-opened": i }]),
1645
1646
  "aria-hidden": "true"
@@ -1650,7 +1651,7 @@ const il = { class: "label-container" }, al = { class: "label" }, Be = /* @__PUR
1650
1651
  default: E(({ close: i }) => [
1651
1652
  (s(!0), r(j, null, Z(e.linkItems, (l, a) => {
1652
1653
  var o;
1653
- return s(), R(ue, {
1654
+ return s(), H(ue, {
1654
1655
  id: `${e.id}-${(o = l == null ? void 0 : l.id) != null ? o : l.text}`,
1655
1656
  key: a,
1656
1657
  "link-id": l.id,
@@ -1691,13 +1692,13 @@ const Ge = 12, Q = {
1691
1692
  position: "top-right",
1692
1693
  hideProgressBar: !1
1693
1694
  };
1694
- function ol(e, n) {
1695
+ function il(e, n) {
1695
1696
  const t = ie({
1696
1697
  id: null,
1697
1698
  intervalId: null,
1698
1699
  startTime: 0,
1699
1700
  remaining: n
1700
- }), i = z(100);
1701
+ }), i = V(100);
1701
1702
  function l() {
1702
1703
  clearInterval(t.intervalId), clearTimeout(t.id), t.remaining -= Date.now() - t.startTime;
1703
1704
  }
@@ -1721,7 +1722,7 @@ function ol(e, n) {
1721
1722
  progress: i
1722
1723
  };
1723
1724
  }
1724
- function sl(e) {
1725
+ function al(e) {
1725
1726
  return {
1726
1727
  stylePosition: D(() => {
1727
1728
  const { position: t, offset: i } = e();
@@ -1767,56 +1768,56 @@ function sl(e) {
1767
1768
  };
1768
1769
  }
1769
1770
  var Qe = /* @__PURE__ */ ((e) => (e["top-left"] = "bounce-left", e["top-right"] = "bounce-right", e["top-center"] = "bounce-down", e["bottom-left"] = "bounce-left", e["bottom-center"] = "bounce-up", e["bottom-right"] = "bounce-right", e))(Qe || {});
1770
- const dl = {
1771
+ const ol = {
1771
1772
  preserveAspectRatio: "xMidYMid meet",
1772
1773
  viewBox: "0 0 24 24",
1773
1774
  width: "1em",
1774
1775
  height: "1em"
1775
- }, cl = /* @__PURE__ */ u("path", {
1776
+ }, sl = /* @__PURE__ */ u("path", {
1776
1777
  fill: "currentColor",
1777
1778
  d: "M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12zm14.664-3.247a1 1 0 0 1 .083 1.411l-5.333 6a1 1 0 0 1-1.495 0l-2.666-3a1 1 0 0 1 1.494-1.328l1.92 2.159l4.586-5.16a1 1 0 0 1 1.411-.082z"
1778
- }, null, -1), rl = [
1779
- cl
1779
+ }, null, -1), dl = [
1780
+ sl
1780
1781
  ];
1781
- function ul(e, n) {
1782
- return s(), r("svg", dl, rl);
1782
+ function cl(e, n) {
1783
+ return s(), r("svg", ol, dl);
1783
1784
  }
1784
- const hl = { name: "mi-circle-check", render: ul }, fl = {
1785
+ const rl = { name: "mi-circle-check", render: cl }, ul = {
1785
1786
  preserveAspectRatio: "xMidYMid meet",
1786
1787
  viewBox: "0 0 24 24",
1787
1788
  width: "1em",
1788
1789
  height: "1em"
1789
- }, ml = /* @__PURE__ */ u("path", {
1790
+ }, hl = /* @__PURE__ */ u("path", {
1790
1791
  fill: "currentColor",
1791
1792
  d: "M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12zm5.793-4.207a1 1 0 0 1 1.414 0L12 10.586l2.793-2.793a1 1 0 1 1 1.414 1.414L13.414 12l2.793 2.793a1 1 0 0 1-1.414 1.414L12 13.414l-2.793 2.793a1 1 0 0 1-1.414-1.414L10.586 12L7.793 9.207a1 1 0 0 1 0-1.414z"
1792
- }, null, -1), vl = [
1793
- ml
1793
+ }, null, -1), fl = [
1794
+ hl
1794
1795
  ];
1795
- function $l(e, n) {
1796
- return s(), r("svg", fl, vl);
1796
+ function ml(e, n) {
1797
+ return s(), r("svg", ul, fl);
1797
1798
  }
1798
- const bl = { name: "mi-circle-error", render: $l }, yl = {
1799
+ const vl = { name: "mi-circle-error", render: ml }, $l = {
1799
1800
  preserveAspectRatio: "xMidYMid meet",
1800
1801
  viewBox: "0 0 24 24",
1801
1802
  width: "1em",
1802
1803
  height: "1em"
1803
- }, gl = /* @__PURE__ */ u("g", { fill: "currentColor" }, [
1804
+ }, bl = /* @__PURE__ */ u("g", { fill: "currentColor" }, [
1804
1805
  /* @__PURE__ */ u("path", { d: "M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12z" }),
1805
1806
  /* @__PURE__ */ u("path", { d: "M12 14a1 1 0 0 1-1-1V7a1 1 0 1 1 2 0v6a1 1 0 0 1-1 1zm-1.5 2.5a1.5 1.5 0 1 1 3 0a1.5 1.5 0 0 1-3 0z" })
1806
- ], -1), wl = [
1807
- gl
1807
+ ], -1), yl = [
1808
+ bl
1808
1809
  ];
1809
- function kl(e, n) {
1810
- return s(), r("svg", yl, wl);
1810
+ function gl(e, n) {
1811
+ return s(), r("svg", $l, yl);
1811
1812
  }
1812
- const xl = { name: "mi-circle-warning", render: kl }, Sl = ["id", "data-testid"], Cl = { class: "content-wrapper" }, Il = {
1813
+ const wl = { name: "mi-circle-warning", render: gl }, kl = ["id", "data-testid"], xl = { class: "content-wrapper" }, Sl = {
1813
1814
  key: 0,
1814
1815
  class: "icon-container",
1815
1816
  "aria-hidden": "true"
1816
- }, Bl = { class: "content" }, Ol = {
1817
+ }, Cl = { class: "content" }, Il = {
1817
1818
  key: 0,
1818
1819
  class: "description"
1819
- }, Ml = ["data-testid"], Tl = /* @__PURE__ */ O({
1820
+ }, Bl = ["data-testid"], Ol = /* @__PURE__ */ O({
1820
1821
  __name: "Toast",
1821
1822
  props: {
1822
1823
  id: null,
@@ -1833,10 +1834,10 @@ const xl = { name: "mi-circle-warning", render: kl }, Sl = ["id", "data-testid"]
1833
1834
  position: { default: Q.position }
1834
1835
  },
1835
1836
  setup(e) {
1836
- const n = e, { start: t, stop: i, progress: l } = ol(() => {
1837
+ const n = e, { start: t, stop: i, progress: l } = il(() => {
1837
1838
  var h;
1838
1839
  (h = n.onCloseHandler) == null || h.call(n);
1839
- }, n.timeout), { stylePosition: a } = sl(() => ({
1840
+ }, n.timeout), { stylePosition: a } = al(() => ({
1840
1841
  offset: n.offset,
1841
1842
  position: n.position
1842
1843
  })), o = D(() => n.title && n.description);
@@ -1848,7 +1849,7 @@ const xl = { name: "mi-circle-warning", render: kl }, Sl = ["id", "data-testid"]
1848
1849
  }
1849
1850
  return De(() => {
1850
1851
  t();
1851
- }), (h, f) => (s(), R(Me, {
1852
+ }), (h, f) => (s(), H(Me, {
1852
1853
  name: $(Qe)[e.position],
1853
1854
  type: "animation"
1854
1855
  }, {
@@ -1869,34 +1870,34 @@ const xl = { name: "mi-circle-warning", render: kl }, Sl = ["id", "data-testid"]
1869
1870
  onFocusin: d,
1870
1871
  onFocusout: c
1871
1872
  }, [
1872
- u("section", Cl, [
1873
- e.showIcon ? (s(), r("div", Il, [
1873
+ u("section", xl, [
1874
+ e.showIcon ? (s(), r("div", Sl, [
1874
1875
  m(h.$slots, "icon-status", { type: e.type }, () => [
1875
- e.type === "success" ? (s(), R($(hl), {
1876
+ e.type === "success" ? (s(), H($(rl), {
1876
1877
  key: 0,
1877
1878
  class: "icon"
1878
1879
  })) : T("", !0),
1879
- e.type === "info" ? (s(), R($(xl), {
1880
+ e.type === "info" ? (s(), H($(wl), {
1880
1881
  key: 1,
1881
1882
  class: "icon"
1882
1883
  })) : T("", !0),
1883
- e.type === "danger" ? (s(), R($(bl), {
1884
+ e.type === "danger" ? (s(), H($(vl), {
1884
1885
  key: 2,
1885
1886
  class: "icon"
1886
1887
  })) : T("", !0)
1887
1888
  ])
1888
1889
  ])) : T("", !0),
1889
- u("div", Bl, [
1890
+ u("div", Cl, [
1890
1891
  u("p", {
1891
1892
  class: k(["title", { "-multiline": $(o) }])
1892
1893
  }, [
1893
1894
  m(h.$slots, "title", {}, () => [
1894
- p(x(e.title), 1)
1895
+ N(x(e.title), 1)
1895
1896
  ])
1896
1897
  ], 2),
1897
- e.description ? (s(), r("p", Ol, [
1898
+ e.description ? (s(), r("p", Il, [
1898
1899
  m(h.$slots, "description", {}, () => [
1899
- p(x(e.description), 1)
1900
+ N(x(e.description), 1)
1900
1901
  ])
1901
1902
  ])) : T("", !0)
1902
1903
  ])
@@ -1909,14 +1910,14 @@ const xl = { name: "mi-circle-warning", render: kl }, Sl = ["id", "data-testid"]
1909
1910
  onClick: f[0] || (f[0] = (...I) => e.onCloseHandler && e.onCloseHandler(...I))
1910
1911
  }, [
1911
1912
  L($(Fe), { class: "icon" })
1912
- ], 10, Ml),
1913
+ ], 10, Bl),
1913
1914
  e.hideProgressBar ? T("", !0) : (s(), r("div", {
1914
1915
  key: 0,
1915
1916
  class: "progressbar",
1916
1917
  "aria-hidden": "true",
1917
1918
  style: ae({ width: `${$(l)}%` })
1918
1919
  }, null, 4))
1919
- ], 46, Sl)) : T("", !0)
1920
+ ], 46, kl)) : T("", !0)
1920
1921
  ]),
1921
1922
  _: 3
1922
1923
  }, 8, ["name"]));
@@ -1930,7 +1931,7 @@ const ee = {
1930
1931
  "bottom-right": [],
1931
1932
  "bottom-center": []
1932
1933
  };
1933
- function Dl() {
1934
+ function zl() {
1934
1935
  let e = 0;
1935
1936
  function n() {
1936
1937
  Object.entries(ee).forEach(([i, l]) => {
@@ -1943,15 +1944,15 @@ function Dl() {
1943
1944
  }
1944
1945
  return {
1945
1946
  createToast: (i, l) => {
1946
- const a = e++, o = l ? Ll(l) : Q;
1947
- return l != null && l.showOneToast && n(), Pl(a, o, typeof i == "string" ? { title: i } : i), {
1947
+ const a = e++, o = l ? Ml(l) : Q;
1948
+ return l != null && l.showOneToast && n(), Tl(a, o, typeof i == "string" ? { title: i } : i), {
1948
1949
  close: () => Oe(a, o.position)
1949
1950
  };
1950
1951
  },
1951
1952
  clearAllToasts: n
1952
1953
  };
1953
1954
  }
1954
- function Ll(e) {
1955
+ function Ml(e) {
1955
1956
  const n = {
1956
1957
  ...Q,
1957
1958
  ...e,
@@ -1959,18 +1960,18 @@ function Ll(e) {
1959
1960
  };
1960
1961
  return n.hideProgressBar = !!(n.timeout && (n == null ? void 0 : n.timeout) <= 0), e.hideProgressBar && (n.hideProgressBar = e.hideProgressBar), n;
1961
1962
  }
1962
- function Pl(e, n, t) {
1963
+ function Tl(e, n, t) {
1963
1964
  setTimeout(() => {
1964
- const i = Vl(n, ee, Ge), l = document.createElement("div");
1965
+ const i = Pl(n, ee, Ge), l = document.createElement("div");
1965
1966
  document.body.appendChild(l);
1966
1967
  const a = L(
1967
- Tl,
1968
- zl(n, e, i, Oe, t)
1968
+ Ol,
1969
+ Ll(n, e, i, Oe, t)
1969
1970
  );
1970
- pe(a, l), ee[n.position].push({ toastVNode: a, container: l }), a.component && (a.component.props.visible = !0);
1971
+ Ne(a, l), ee[n.position].push({ toastVNode: a, container: l }), a.component && (a.component.props.visible = !0);
1971
1972
  }, 1);
1972
1973
  }
1973
- function zl(e, n, t, i, l) {
1974
+ function Ll(e, n, t, i, l) {
1974
1975
  return {
1975
1976
  ...e,
1976
1977
  ...l,
@@ -1982,12 +1983,12 @@ function zl(e, n, t, i, l) {
1982
1983
  }
1983
1984
  };
1984
1985
  }
1985
- function Vl(e, n, t) {
1986
+ function Pl(e, n, t) {
1986
1987
  if (!e.position)
1987
1988
  throw new Error("no position");
1988
1989
  return n[e.position].reduce((i, { toastVNode: l }) => (i += l.el.offsetHeight + t || 0, i), t);
1989
1990
  }
1990
- function Al(e, n, t, i) {
1991
+ function Vl(e, n, t, i) {
1991
1992
  for (let l = e; l < n.length; l++) {
1992
1993
  const { toastVNode: a } = n[l];
1993
1994
  if (!a.el)
@@ -2009,17 +2010,17 @@ function Oe(e, n) {
2009
2010
  if (i === -1)
2010
2011
  return;
2011
2012
  const { container: l, toastVNode: a } = t[i], o = (c = a == null ? void 0 : a.el) == null ? void 0 : c.offsetHeight;
2012
- if (ee[n].splice(i, 1), Al(i, t, n, o), !a.component)
2013
+ if (ee[n].splice(i, 1), Vl(i, t, n, o), !a.component)
2013
2014
  return;
2014
2015
  const d = a.component.props;
2015
2016
  d.visible = !1, d.onClose && d.onClose(), setTimeout(() => {
2016
- pe(null, l), document.body.removeChild(l);
2017
+ Ne(null, l), document.body.removeChild(l);
2017
2018
  }, 1e3);
2018
2019
  }
2019
2020
  console.log("%c\u{1F33B}[Girassol]\u{1F33B}", "padding: 8px;background: #212121;color: gold; font-family: 'Fira code'; font-weight: bold; font-size: 1.2rem");
2020
- const Ae = {
2021
+ const ze = {
2021
2022
  SolButton: _,
2022
- SolButtonDestructive: Ne,
2023
+ SolButtonDestructive: Re,
2023
2024
  SolInput: W,
2024
2025
  SolTextarea: be,
2025
2026
  SolTextfield: oe,
@@ -2037,14 +2038,14 @@ const Ae = {
2037
2038
  SolMenuItemLink: ue,
2038
2039
  SolMenuNavigationLinks: Be
2039
2040
  };
2040
- function pl(e) {
2041
- for (const n in Ae)
2042
- e.component(n, Ae[n]);
2041
+ function El(e) {
2042
+ for (const n in ze)
2043
+ e.component(n, ze[n]);
2043
2044
  }
2044
2045
  export {
2045
2046
  Ie as SolAccordion,
2046
2047
  _ as SolButton,
2047
- Ne as SolButtonDestructive,
2048
+ Re as SolButtonDestructive,
2048
2049
  de as SolCheckbox,
2049
2050
  ge as SolCheckboxGroup,
2050
2051
  ce as SolChip,
@@ -2060,7 +2061,7 @@ export {
2060
2061
  be as SolTextarea,
2061
2062
  oe as SolTextfield,
2062
2063
  $e as SolTextfieldPassword,
2063
- Ae as components,
2064
- pl as install,
2065
- Dl as useToast
2064
+ ze as components,
2065
+ El as install,
2066
+ zl as useToast
2066
2067
  };