@solfacil/girassol 0.2.12 → 0.3.0

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 p, 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 D, Transition as Me, normalizeStyle as ae, withKeys as K, onMounted as pe, onUnmounted as Xe, render as De } 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 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";
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"
@@ -36,9 +36,9 @@ const nt = ["data-testid", "disabled"], lt = { class: "icon -left" }, it = { cla
36
36
  function n(a, o) {
37
37
  return a ? o : "";
38
38
  }
39
- const t = Ye(), i = p(
39
+ const t = Ye(), i = D(
40
40
  () => !!(t != null && t.default) && (!!(t != null && t["icon-right"]) || !!(t != null && t["icon-left"]))
41
- ), l = p(
41
+ ), l = D(
42
42
  () => !(t != null && t.default) && (!!(t != null && t["icon-right"]) || !!(t != null && t["icon-left"]))
43
43
  );
44
44
  return (a, o) => (s(), r("button", {
@@ -157,7 +157,7 @@ const ht = ["id", "data-testid"], ft = ["for"], mt = { class: "container-input"
157
157
  },
158
158
  emits: ["update:modelValue"],
159
159
  setup(e, { emit: n }) {
160
- const t = e, i = p({
160
+ const t = e, i = D({
161
161
  get: () => t.modelValue,
162
162
  set: (o) => {
163
163
  n("update:modelValue", o);
@@ -248,7 +248,7 @@ 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 = p(
251
+ const n = z(!1), t = D(
252
252
  () => n.value ? "text" : "password"
253
253
  );
254
254
  return (i, l) => (s(), R(oe, {
@@ -297,7 +297,7 @@ const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textare
297
297
  },
298
298
  emits: ["update:modelValue"],
299
299
  setup(e, { emit: n }) {
300
- const t = e, i = p({
300
+ const t = e, i = D({
301
301
  get: () => t.modelValue,
302
302
  set: (o) => {
303
303
  n("update:modelValue", o);
@@ -357,10 +357,10 @@ 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"], pt = {
360
+ const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], Dt = {
361
361
  inheritAttrs: !1
362
362
  }, se = /* @__PURE__ */ O({
363
- ...pt,
363
+ ...Dt,
364
364
  __name: "Radio",
365
365
  props: {
366
366
  id: null,
@@ -392,7 +392,7 @@ const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], pt =
392
392
  ], 2));
393
393
  }
394
394
  });
395
- const Dt = ["aria-labelledby"], Nt = ["id", "data-testid"], Rt = ["id", "data-testid"], Ht = ["id", "data-testid"], ye = /* @__PURE__ */ O({
395
+ const pt = ["aria-labelledby"], Nt = ["id", "data-testid"], Rt = ["id", "data-testid"], Ht = ["id", "data-testid"], ye = /* @__PURE__ */ O({
396
396
  __name: "RadioGroup",
397
397
  props: {
398
398
  id: null,
@@ -411,7 +411,7 @@ const Dt = ["aria-labelledby"], Nt = ["id", "data-testid"], Rt = ["id", "data-te
411
411
  return !!d && !c;
412
412
  }
413
413
  function l(d, c) {
414
- return c ? `error-${t.id}` : i(d, c) ? `hint-${t.id}` : null;
414
+ return c ? `radios-error-${t.id}` : i(d, c) ? `radios-hint-${t.id}` : null;
415
415
  }
416
416
  function a(d) {
417
417
  return (t == null ? void 0 : t.modelValue) === d;
@@ -468,7 +468,7 @@ const Dt = ["aria-labelledby"], Nt = ["id", "data-testid"], Rt = ["id", "data-te
468
468
  "data-testid": `radios-error-${e.id}`,
469
469
  class: "error"
470
470
  }, x(e.error), 9, Ht)) : T("", !0)
471
- ], 8, Dt));
471
+ ], 8, pt));
472
472
  }
473
473
  });
474
474
  se.install = (e) => {
@@ -477,7 +477,10 @@ se.install = (e) => {
477
477
  ye.install = (e) => {
478
478
  e.component("SolRadioGroup", ye);
479
479
  };
480
- const Ft = ["id", "data-testid", "checked", "value", "name"], qt = ["for"], de = /* @__PURE__ */ O({
480
+ const Ft = ["id", "indeterminate", "data-testid", "checked", "value", "name"], qt = ["for"], Kt = {
481
+ inheritAttrs: !1
482
+ }, de = /* @__PURE__ */ O({
483
+ ...Kt,
481
484
  __name: "Checkbox",
482
485
  props: {
483
486
  id: null,
@@ -485,7 +488,8 @@ const Ft = ["id", "data-testid", "checked", "value", "name"], qt = ["for"], de =
485
488
  value: null,
486
489
  label: null,
487
490
  checked: null,
488
- class: null
491
+ class: null,
492
+ indeterminate: { type: Boolean }
489
493
  },
490
494
  emits: ["change"],
491
495
  setup(e, { emit: n }) {
@@ -495,6 +499,7 @@ const Ft = ["id", "data-testid", "checked", "value", "name"], qt = ["for"], de =
495
499
  u("input", U(t.$attrs, {
496
500
  id: `checkbox-${e.name}-${e.id}`,
497
501
  type: "checkbox",
502
+ indeterminate: e.indeterminate,
498
503
  class: "checkbox",
499
504
  "data-testid": `checkbox-${e.name}-${e.id}`,
500
505
  checked: e.checked,
@@ -509,7 +514,7 @@ const Ft = ["id", "data-testid", "checked", "value", "name"], qt = ["for"], de =
509
514
  ], 2));
510
515
  }
511
516
  });
512
- const Kt = ["aria-labelledby"], Ut = ["id", "data-testid"], Gt = ["id"], Qt = ["id"], ge = /* @__PURE__ */ O({
517
+ const Ut = ["aria-labelledby"], Gt = ["id", "data-testid"], Qt = ["id", "data-testid"], Yt = ["id", "data-testid"], ge = /* @__PURE__ */ O({
513
518
  __name: "CheckboxGroup",
514
519
  props: {
515
520
  id: null,
@@ -528,7 +533,7 @@ const Kt = ["aria-labelledby"], Ut = ["id", "data-testid"], Gt = ["id"], Qt = ["
528
533
  return !!c && !h;
529
534
  }
530
535
  function l(c, h) {
531
- return h ? `error-${t.id}` : i(c, h) ? `hint-${t.id}` : null;
536
+ return h ? `checkboxes-error-${t.id}` : i(c, h) ? `checkboxes-hint-${t.id}` : null;
532
537
  }
533
538
  function a(c) {
534
539
  var h;
@@ -554,7 +559,7 @@ const Kt = ["aria-labelledby"], Ut = ["id", "data-testid"], Gt = ["id"], Qt = ["
554
559
  id: `checkbox-group-title-${e.id}`,
555
560
  class: k(["title", { "sr-only": e.hideTitle }]),
556
561
  "data-testid": `checkbox-group-title-${e.id}`
557
- }, x(e.title), 11, Ut)
562
+ }, x(e.title), 11, Gt)
558
563
  ]),
559
564
  u("ul", {
560
565
  class: k(["container-checkboxes", { "flex-col": e.direction === "column" }])
@@ -583,14 +588,16 @@ const Kt = ["aria-labelledby"], Ut = ["id", "data-testid"], Gt = ["id"], Qt = ["
583
588
  ], 2),
584
589
  i(e.hint, e.error) ? (s(), r("p", {
585
590
  key: 0,
586
- id: `hint-${e.id}`,
591
+ id: `checkboxes-hint-${e.id}`,
592
+ "data-testid": `checkboxes-hint-${e.id}`,
587
593
  class: "hint"
588
- }, x(e.hint), 9, Gt)) : e.error ? (s(), r("p", {
594
+ }, x(e.hint), 9, Qt)) : e.error ? (s(), r("p", {
589
595
  key: 1,
590
- id: `error-${e.id}`,
596
+ id: `checkboxes-error-${e.id}`,
597
+ "data-testid": `checkboxes-hint-${e.id}`,
591
598
  class: "error"
592
- }, x(e.error), 9, Qt)) : T("", !0)
593
- ], 8, Kt));
599
+ }, x(e.error), 9, Yt)) : T("", !0)
600
+ ], 8, Ut));
594
601
  }
595
602
  });
596
603
  de.install = (e) => {
@@ -599,7 +606,7 @@ de.install = (e) => {
599
606
  ge.install = (e) => {
600
607
  e.component("SolCheckboxGroup", ge);
601
608
  };
602
- const Yt = ["id", "for", "data-testid"], Wt = { class: "switch-container" }, jt = ["id", "aria-checked", "aria-labelledby", "data-testid", "checked", "value", "name"], Zt = /* @__PURE__ */ u("span", { class: "ellipse" }, null, -1), we = /* @__PURE__ */ O({
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({
603
610
  __name: "Switch",
604
611
  props: {
605
612
  id: null,
@@ -621,8 +628,8 @@ const Yt = ["id", "for", "data-testid"], Wt = { class: "switch-container" }, jt
621
628
  class: k(["label", { "mb-1": !e.horizontalLabel, "sr-only": e.hideLabel }]),
622
629
  for: `switch-${e.name}-${e.id}`,
623
630
  "data-testid": `switch-label-${e.name}-${e.id}`
624
- }, x(e.label), 11, Yt),
625
- u("div", Wt, [
631
+ }, x(e.label), 11, Wt),
632
+ u("div", jt, [
626
633
  u("input", U(t.$attrs, {
627
634
  id: `switch-${e.name}-${e.id}`,
628
635
  type: "checkbox",
@@ -635,8 +642,8 @@ const Yt = ["id", "for", "data-testid"], Wt = { class: "switch-container" }, jt
635
642
  value: e.value,
636
643
  name: e.name,
637
644
  onChange: i[0] || (i[0] = (l) => n("change", e.value))
638
- }), null, 16, jt),
639
- Zt
645
+ }), null, 16, Zt),
646
+ Jt
640
647
  ])
641
648
  ], 2));
642
649
  }
@@ -645,21 +652,21 @@ we.install = (e) => {
645
652
  e.component("SolSwitch", we);
646
653
  };
647
654
  var Le;
648
- const te = typeof window < "u", Jt = (e) => typeof e == "string", ve = () => {
655
+ const te = typeof window < "u", Xt = (e) => typeof e == "string", ve = () => {
649
656
  };
650
657
  te && ((Le = window == null ? void 0 : window.navigator) == null ? void 0 : Le.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
651
- function Xt(e) {
658
+ function _t(e) {
652
659
  return typeof e == "function" ? e() : $(e);
653
660
  }
654
- function _t(e) {
661
+ function en(e) {
655
662
  return e;
656
663
  }
657
- function en(e) {
664
+ function tn(e) {
658
665
  return je() ? (Ze(e), !0) : !1;
659
666
  }
660
667
  function J(e) {
661
668
  var n;
662
- const t = Xt(e);
669
+ const t = _t(e);
663
670
  return (n = t == null ? void 0 : t.$el) != null ? n : t;
664
671
  }
665
672
  const Re = te ? window : void 0;
@@ -668,7 +675,7 @@ te && window.navigator;
668
675
  te && window.location;
669
676
  function le(...e) {
670
677
  let n, t, i, l;
671
- if (Jt(e[0]) ? ([t, i, l] = e, n = Re) : [n, t, i, l] = e, !n)
678
+ if (Xt(e[0]) ? ([t, i, l] = e, n = Re) : [n, t, i, l] = e, !n)
672
679
  return ve;
673
680
  let a = ve;
674
681
  const o = Je(() => J(n), (c) => {
@@ -678,7 +685,7 @@ function le(...e) {
678
685
  }, { immediate: !0, flush: "post" }), d = () => {
679
686
  o(), a();
680
687
  };
681
- return en(d), d;
688
+ return tn(d), d;
682
689
  }
683
690
  function Te(e, n, t = {}) {
684
691
  const { window: i = Re, ignore: l, capture: a = !0, detectIframe: o = !1 } = t;
@@ -720,15 +727,15 @@ var Pe;
720
727
  (function(e) {
721
728
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
722
729
  })(Pe || (Pe = {}));
723
- var tn = Object.defineProperty, ze = Object.getOwnPropertySymbols, nn = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable, Ve = (e, n, t) => n in e ? tn(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, an = (e, n) => {
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) => {
724
731
  for (var t in n || (n = {}))
725
- nn.call(n, t) && Ve(e, t, n[t]);
732
+ ln.call(n, t) && Ve(e, t, n[t]);
726
733
  if (ze)
727
734
  for (var t of ze(n))
728
- ln.call(n, t) && Ve(e, t, n[t]);
735
+ an.call(n, t) && Ve(e, t, n[t]);
729
736
  return e;
730
737
  };
731
- const on = {
738
+ const sn = {
732
739
  easeInSine: [0.12, 0, 0.39, 0],
733
740
  easeOutSine: [0.61, 1, 0.88, 1],
734
741
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -754,27 +761,27 @@ const on = {
754
761
  easeOutBack: [0.34, 1.56, 0.64, 1],
755
762
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
756
763
  };
757
- an({
758
- linear: _t
759
- }, on);
760
- const sn = {
764
+ on({
765
+ linear: en
766
+ }, sn);
767
+ const dn = {
761
768
  preserveAspectRatio: "xMidYMid meet",
762
769
  viewBox: "0 0 24 24",
763
770
  width: "1em",
764
771
  height: "1em"
765
- }, dn = /* @__PURE__ */ u("path", {
772
+ }, cn = /* @__PURE__ */ u("path", {
766
773
  fill: "currentColor",
767
774
  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"
768
- }, null, -1), cn = [
769
- dn
775
+ }, null, -1), rn = [
776
+ cn
770
777
  ];
771
- function rn(e, n) {
772
- return s(), r("svg", sn, cn);
778
+ function un(e, n) {
779
+ return s(), r("svg", dn, rn);
773
780
  }
774
- const He = { name: "mi-search", render: rn }, un = ["data-testid"], hn = ["id", "for"], fn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], mn = { class: "dropdown-container" }, vn = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], $n = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], bn = {
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 = {
775
782
  key: 0,
776
783
  class: "no-data"
777
- }, yn = /* @__PURE__ */ D(" Sem dados "), Se = /* @__PURE__ */ O({
784
+ }, gn = /* @__PURE__ */ p(" Sem dados "), Se = /* @__PURE__ */ O({
778
785
  __name: "Dropdown",
779
786
  props: {
780
787
  id: null,
@@ -793,14 +800,14 @@ const He = { name: "mi-search", render: rn }, un = ["data-testid"], hn = ["id",
793
800
  },
794
801
  emits: ["closeDropdown", "search", "update:selected"],
795
802
  setup(e, { emit: n }) {
796
- const t = e, i = z(), l = z(!1), a = z(""), o = p(
803
+ const t = e, i = z(), l = z(!1), a = z(""), o = D(
797
804
  () => {
798
805
  var b;
799
806
  return t.fetchOnSearch ? t.options : (b = t.options) == null ? void 0 : b.filter(
800
807
  (v) => typeof v == "string" ? v.includes(a.value) : v.name.includes(a.value)
801
808
  );
802
809
  }
803
- ), d = p(
810
+ ), d = D(
804
811
  () => Array.isArray(t.selected) ? t.selected.join(", ").trim() : t.selected
805
812
  );
806
813
  Te(i, () => {
@@ -881,7 +888,7 @@ const He = { name: "mi-search", render: rn }, un = ["data-testid"], hn = ["id",
881
888
  id: `label-dropdown-${e.id}`,
882
889
  class: k(["label", { "-disabled": e.disabled, "sr-only": e.ariaLabel }]),
883
890
  for: `toggle-dropdown-${e.id}`
884
- }, x(e.label || e.ariaLabel), 11, hn)
891
+ }, x(e.label || e.ariaLabel), 11, fn)
885
892
  ]),
886
893
  u("button", {
887
894
  id: `toggle-dropdown-${e.id}`,
@@ -902,15 +909,15 @@ const He = { name: "mi-search", render: rn }, un = ["data-testid"], hn = ["id",
902
909
  selectedSanitized: $(d),
903
910
  selected: e.selected
904
911
  }, () => [
905
- D(x($(d) || "Selecione"), 1)
912
+ p(x($(d) || "Selecione"), 1)
906
913
  ])
907
- ], 8, fn),
914
+ ], 8, mn),
908
915
  L(Me, {
909
916
  mode: "out-in",
910
917
  name: "dropdown"
911
918
  }, {
912
919
  default: E(() => [
913
- Y(u("div", mn, [
920
+ Y(u("div", vn, [
914
921
  e.searchable ? (s(), r("div", {
915
922
  key: 0,
916
923
  class: k(["search-container", { "-loading": e.loading }])
@@ -976,42 +983,42 @@ const He = { name: "mi-search", render: rn }, un = ["data-testid"], hn = ["id",
976
983
  option: C,
977
984
  isSelect: S
978
985
  }, () => [
979
- D(x(G(C, "name")), 1)
986
+ p(x(G(C, "name")), 1)
980
987
  ])
981
- ], 44, $n))), 128)),
982
- $(o).length ? T("", !0) : (s(), r("li", bn, [
988
+ ], 44, bn))), 128)),
989
+ $(o).length ? T("", !0) : (s(), r("li", yn, [
983
990
  m(b.$slots, "no-data", {}, () => [
984
- yn
991
+ gn
985
992
  ])
986
993
  ]))
987
- ], 8, vn)
994
+ ], 8, $n)
988
995
  ], 512), [
989
996
  [X, l.value]
990
997
  ])
991
998
  ]),
992
999
  _: 3
993
1000
  })
994
- ], 42, un));
1001
+ ], 42, hn));
995
1002
  }
996
1003
  });
997
1004
  Se.install = (e) => {
998
1005
  e.component("SolDropdown", Se);
999
1006
  };
1000
- const gn = {
1007
+ const wn = {
1001
1008
  preserveAspectRatio: "xMidYMid meet",
1002
1009
  viewBox: "0 0 24 24",
1003
1010
  width: "1em",
1004
1011
  height: "1em"
1005
- }, wn = /* @__PURE__ */ u("path", {
1012
+ }, kn = /* @__PURE__ */ u("path", {
1006
1013
  fill: "currentColor",
1007
1014
  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"
1008
- }, null, -1), kn = [
1009
- wn
1015
+ }, null, -1), xn = [
1016
+ kn
1010
1017
  ];
1011
- function xn(e, n) {
1012
- return s(), r("svg", gn, kn);
1018
+ function Sn(e, n) {
1019
+ return s(), r("svg", wn, xn);
1013
1020
  }
1014
- const Fe = { name: "mi-close", render: xn }, Sn = ["id", "data-testid", "title", "aria-describedby", "aria-disabled", "onKeydown"], Cn = ["id"], In = { class: "label" }, ce = /* @__PURE__ */ O({
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({
1015
1022
  __name: "Chip",
1016
1023
  props: {
1017
1024
  id: null,
@@ -1052,10 +1059,10 @@ const Fe = { name: "mi-close", render: xn }, Sn = ["id", "data-testid", "title",
1052
1059
  id: `chip-description-${e.id}`,
1053
1060
  "z-index": "-1",
1054
1061
  class: "sr-only"
1055
- }, "Press Delete or Backspace to remove this Chip", 8, Cn),
1056
- u("span", In, [
1062
+ }, "Press Delete or Backspace to remove this Chip", 8, In),
1063
+ u("span", Bn, [
1057
1064
  m(l.$slots, "default", {}, () => [
1058
- D(x(e.label), 1)
1065
+ p(x(e.label), 1)
1059
1066
  ])
1060
1067
  ]),
1061
1068
  e.removable ? (s(), r("i", {
@@ -1067,13 +1074,13 @@ const Fe = { name: "mi-close", render: xn }, Sn = ["id", "data-testid", "title",
1067
1074
  }, [
1068
1075
  L($(Fe), { class: "icon" })
1069
1076
  ])) : T("", !0)
1070
- ], 42, Sn));
1077
+ ], 42, Cn));
1071
1078
  }
1072
1079
  });
1073
- const Bn = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], On = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], Mn = {
1080
+ const On = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Mn = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], Tn = {
1074
1081
  key: 0,
1075
1082
  class: "no-data"
1076
- }, Tn = /* @__PURE__ */ D(" Sem dados "), Ln = /* @__PURE__ */ O({
1083
+ }, Ln = /* @__PURE__ */ p(" Sem dados "), Pn = /* @__PURE__ */ O({
1077
1084
  __name: "ListOption",
1078
1085
  props: {
1079
1086
  id: null,
@@ -1119,32 +1126,32 @@ const Bn = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], On
1119
1126
  option: o,
1120
1127
  isSelected: e.isSelected(o)
1121
1128
  }, () => [
1122
- D(x(o.name), 1)
1129
+ p(x(o.name), 1)
1123
1130
  ])
1124
- ], 44, On))), 128)),
1125
- e.options.length ? T("", !0) : (s(), r("li", Mn, [
1131
+ ], 44, Mn))), 128)),
1132
+ e.options.length ? T("", !0) : (s(), r("li", Tn, [
1126
1133
  m(l.$slots, "no-data", {}, () => [
1127
- Tn
1134
+ Ln
1128
1135
  ])
1129
1136
  ]))
1130
- ], 8, Bn));
1137
+ ], 8, On));
1131
1138
  }
1132
1139
  });
1133
- const Pn = {
1140
+ const zn = {
1134
1141
  preserveAspectRatio: "xMidYMid meet",
1135
1142
  viewBox: "0 0 24 24",
1136
1143
  width: "1em",
1137
1144
  height: "1em"
1138
- }, zn = /* @__PURE__ */ u("path", {
1145
+ }, Vn = /* @__PURE__ */ u("path", {
1139
1146
  fill: "currentColor",
1140
1147
  d: "m17 10l-5 6l-5-6h10z"
1141
- }, null, -1), Vn = [
1142
- zn
1148
+ }, null, -1), An = [
1149
+ Vn
1143
1150
  ];
1144
- function An(e, n) {
1145
- return s(), r("svg", Pn, Vn);
1151
+ function En(e, n) {
1152
+ return s(), r("svg", zn, An);
1146
1153
  }
1147
- const En = { name: "mi-caret-down", render: An };
1154
+ const Dn = { name: "mi-caret-down", render: En };
1148
1155
  function qe(e, n) {
1149
1156
  function t({ code: i }) {
1150
1157
  var o;
@@ -1202,14 +1209,14 @@ function Ke({ target: e, query: n }) {
1202
1209
  focusOnLastItem: d
1203
1210
  };
1204
1211
  }
1205
- const pn = ["data-testid"], Dn = ["id"], Nn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], Rn = {
1212
+ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], Hn = {
1206
1213
  key: 0,
1207
1214
  class: "container-tags"
1208
- }, Hn = {
1215
+ }, Fn = {
1209
1216
  key: 1,
1210
1217
  class: "mr-micro placeholder-inline",
1211
1218
  tabindex: "-1"
1212
- }, Fn = { class: "error" }, qn = { class: "select-options-container" }, Ce = /* @__PURE__ */ O({
1219
+ }, qn = { class: "error" }, Kn = { class: "select-options-container" }, Ce = /* @__PURE__ */ O({
1213
1220
  __name: "Select",
1214
1221
  props: {
1215
1222
  id: null,
@@ -1230,7 +1237,7 @@ const pn = ["data-testid"], Dn = ["id"], Nn = ["id", "disabled", "data-testid",
1230
1237
  },
1231
1238
  emits: ["closeDropdown", "search", "update:selected"],
1232
1239
  setup(e, { emit: n }) {
1233
- const t = e, i = z(), l = z(!1), a = z(""), o = p(
1240
+ const t = e, i = z(), l = z(!1), a = z(""), o = D(
1234
1241
  () => {
1235
1242
  var g;
1236
1243
  return t.fetchOnSearch ? t.options : (g = t.options) == null ? void 0 : g.filter((w) => w.name.includes(a.value));
@@ -1316,7 +1323,7 @@ const pn = ["data-testid"], Dn = ["id"], Nn = ["id", "disabled", "data-testid",
1316
1323
  key: 0,
1317
1324
  id: `select-label-${e.id}`,
1318
1325
  class: k(["label", { "-disabled": e.disabled }])
1319
- }, x(e.label), 11, Dn)) : T("", !0)
1326
+ }, x(e.label), 11, Nn)) : T("", !0)
1320
1327
  ]),
1321
1328
  u("button", {
1322
1329
  id: `select-toggle-${e.id}`,
@@ -1338,7 +1345,7 @@ const pn = ["data-testid"], Dn = ["id"], Nn = ["id", "disabled", "data-testid",
1338
1345
  }, () => {
1339
1346
  var V;
1340
1347
  return [
1341
- e.multiple && Array.isArray(e.selected) && ((V = e.selected) == null ? void 0 : V.length) ? (s(), r("div", Rn, [
1348
+ e.multiple && Array.isArray(e.selected) && ((V = e.selected) == null ? void 0 : V.length) ? (s(), r("div", Hn, [
1342
1349
  (s(!0), r(j, null, Z(e.selected, (A, fe) => (s(), R(ce, {
1343
1350
  id: A.value,
1344
1351
  key: fe,
@@ -1346,22 +1353,22 @@ const pn = ["data-testid"], Dn = ["id"], Nn = ["id", "disabled", "data-testid",
1346
1353
  onClick: q((me) => I(A), ["stop"]),
1347
1354
  onClose: (me) => I(A)
1348
1355
  }, null, 8, ["id", "label", "onClick", "onClose"]))), 128))
1349
- ])) : (s(), r("span", Hn, x(H()), 1)),
1350
- L($(En), {
1356
+ ])) : (s(), r("span", Fn, x(H()), 1)),
1357
+ L($(Dn), {
1351
1358
  "aria-hidden": "true",
1352
1359
  tabindex: "-1",
1353
1360
  class: k(["icon", { "-open": l.value }])
1354
1361
  }, null, 8, ["class"])
1355
1362
  ];
1356
1363
  })
1357
- ], 8, Nn),
1358
- u("span", Fn, x(e.error), 1),
1364
+ ], 8, Rn),
1365
+ u("span", qn, x(e.error), 1),
1359
1366
  L(Me, {
1360
1367
  mode: "out-in",
1361
1368
  name: "dropdown"
1362
1369
  }, {
1363
1370
  default: E(() => [
1364
- Y(u("div", qn, [
1371
+ Y(u("div", Kn, [
1365
1372
  m(g.$slots, "search", {}, () => [
1366
1373
  e.searchable ? (s(), r("div", {
1367
1374
  key: 0,
@@ -1397,7 +1404,7 @@ const pn = ["data-testid"], Dn = ["id"], Nn = ["id", "disabled", "data-testid",
1397
1404
  })
1398
1405
  ])
1399
1406
  ], 2)) : T("", !0),
1400
- L(Ln, {
1407
+ L(Pn, {
1401
1408
  id: e.id,
1402
1409
  ref: F("list"),
1403
1410
  options: $(o),
@@ -1434,21 +1441,21 @@ Ce.install = (e) => {
1434
1441
  ce.install = (e) => {
1435
1442
  e.component("SolChip", ce);
1436
1443
  };
1437
- const Kn = {
1444
+ const Un = {
1438
1445
  preserveAspectRatio: "xMidYMid meet",
1439
1446
  viewBox: "0 0 24 24",
1440
1447
  width: "1em",
1441
1448
  height: "1em"
1442
- }, Un = /* @__PURE__ */ u("path", {
1449
+ }, Gn = /* @__PURE__ */ u("path", {
1443
1450
  fill: "currentColor",
1444
1451
  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"
1445
- }, null, -1), Gn = [
1446
- Un
1452
+ }, null, -1), Qn = [
1453
+ Gn
1447
1454
  ];
1448
- function Qn(e, n) {
1449
- return s(), r("svg", Kn, Gn);
1455
+ function Yn(e, n) {
1456
+ return s(), r("svg", Un, Qn);
1450
1457
  }
1451
- const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Qn }, Yn = ["id", "data-testid", "aria-disabled"], Wn = ["data-testid", "tabindex"], jn = { class: "container-title" }, Zn = { class: "icon" }, Jn = ["data-testid"], Ie = /* @__PURE__ */ O({
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({
1452
1459
  __name: "Accordion",
1453
1460
  props: {
1454
1461
  id: null,
@@ -1468,32 +1475,32 @@ const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Qn },
1468
1475
  class: "summary",
1469
1476
  tabindex: e.disabled ? -1 : 0
1470
1477
  }, [
1471
- u("div", jn, [
1472
- u("span", Zn, [
1478
+ u("div", Zn, [
1479
+ u("span", Jn, [
1473
1480
  m(n.$slots, "icon")
1474
1481
  ]),
1475
1482
  m(n.$slots, "title", {}, () => [
1476
- D(x(e.title), 1)
1483
+ p(x(e.title), 1)
1477
1484
  ])
1478
1485
  ]),
1479
1486
  L($(Ue), {
1480
1487
  class: "icon",
1481
1488
  "aria-hidden": "true"
1482
1489
  })
1483
- ], 8, Wn),
1490
+ ], 8, jn),
1484
1491
  u("div", {
1485
1492
  "data-testid": `accordion-content-${e.id}`,
1486
1493
  class: "accordion-content"
1487
1494
  }, [
1488
1495
  m(n.$slots, "default")
1489
- ], 8, Jn)
1490
- ], 10, Yn));
1496
+ ], 8, Xn)
1497
+ ], 10, Wn));
1491
1498
  }
1492
1499
  });
1493
1500
  Ie.install = (e) => {
1494
1501
  e.component("SolAccordion", Ie);
1495
1502
  };
1496
- const Xn = ["id", "data-testid"], _n = ["id", "aria-expanded"], el = ["id", "data-testid", "aria-labelledby"], re = /* @__PURE__ */ O({
1503
+ const _n = ["id", "data-testid"], el = ["id", "aria-expanded"], tl = ["id", "data-testid", "aria-labelledby"], re = /* @__PURE__ */ O({
1497
1504
  __name: "Menu",
1498
1505
  props: {
1499
1506
  id: null,
@@ -1505,7 +1512,7 @@ const Xn = ["id", "data-testid"], _n = ["id", "aria-expanded"], el = ["id", "dat
1505
1512
  Te(n, () => {
1506
1513
  I();
1507
1514
  });
1508
- const t = z(!1), i = z(), l = p(
1515
+ const t = z(!1), i = z(), l = D(
1509
1516
  () => i.value ? i.value.childElementCount : 0
1510
1517
  ), {
1511
1518
  resetStateFocus: a,
@@ -1549,9 +1556,9 @@ const Xn = ["id", "data-testid"], _n = ["id", "aria-expanded"], el = ["id", "dat
1549
1556
  onClick: S
1550
1557
  }, [
1551
1558
  m(B.$slots, "label", { isOpen: t.value }, () => [
1552
- D(x(e.label), 1)
1559
+ p(x(e.label), 1)
1553
1560
  ])
1554
- ], 8, _n),
1561
+ ], 8, el),
1555
1562
  Y(u("menu", {
1556
1563
  id: `menu-container-${e.id}`,
1557
1564
  ref_key: "menu",
@@ -1562,16 +1569,16 @@ const Xn = ["id", "data-testid"], _n = ["id", "aria-expanded"], el = ["id", "dat
1562
1569
  class: k(["menu", { "-open": t.value }])
1563
1570
  }, [
1564
1571
  m(B.$slots, "default", { close: I })
1565
- ], 10, el), [
1572
+ ], 10, tl), [
1566
1573
  [X, t.value]
1567
1574
  ])
1568
- ], 42, Xn));
1575
+ ], 42, _n));
1569
1576
  }
1570
1577
  });
1571
1578
  re.install = (e) => {
1572
1579
  e.component("SolMenu", re);
1573
1580
  };
1574
- const tl = ["id"], nl = ["href", "target"], ue = /* @__PURE__ */ O({
1581
+ const nl = ["id"], ll = ["href", "target"], ue = /* @__PURE__ */ O({
1575
1582
  __name: "MenuItemLink",
1576
1583
  props: {
1577
1584
  id: null,
@@ -1608,16 +1615,16 @@ const tl = ["id"], nl = ["href", "target"], ue = /* @__PURE__ */ O({
1608
1615
  class: k({ "-active": e.active }),
1609
1616
  href: e.link,
1610
1617
  target: e.external ? "_blank" : "_parent"
1611
- }, x(e.text), 11, nl)
1618
+ }, x(e.text), 11, ll)
1612
1619
  ])
1613
- ], 40, tl);
1620
+ ], 40, nl);
1614
1621
  };
1615
1622
  }
1616
1623
  });
1617
1624
  ue.install = (e) => {
1618
1625
  e.component("SolMenuItemLink", ue);
1619
1626
  };
1620
- const ll = { class: "label-container" }, il = { class: "label" }, Be = /* @__PURE__ */ O({
1627
+ const il = { class: "label-container" }, al = { class: "label" }, Be = /* @__PURE__ */ O({
1621
1628
  __name: "MenuNavigationLinks",
1622
1629
  props: {
1623
1630
  id: null,
@@ -1631,8 +1638,8 @@ const ll = { class: "label-container" }, il = { class: "label" }, Be = /* @__PUR
1631
1638
  }, {
1632
1639
  label: E(({ isOpen: i }) => [
1633
1640
  m(n.$slots, "label", { isOpen: i }, () => [
1634
- u("div", ll, [
1635
- u("span", il, x(e.label), 1),
1641
+ u("div", il, [
1642
+ u("span", al, x(e.label), 1),
1636
1643
  L($(Ue), {
1637
1644
  class: k(["icon", { "-opened": i }]),
1638
1645
  "aria-hidden": "true"
@@ -1684,7 +1691,7 @@ const Ge = 12, Q = {
1684
1691
  position: "top-right",
1685
1692
  hideProgressBar: !1
1686
1693
  };
1687
- function al(e, n) {
1694
+ function ol(e, n) {
1688
1695
  const t = ie({
1689
1696
  id: null,
1690
1697
  intervalId: null,
@@ -1702,7 +1709,7 @@ function al(e, n) {
1702
1709
  function o() {
1703
1710
  clearInterval(t.intervalId), clearTimeout(t.id), i.value = 100;
1704
1711
  }
1705
- return pe(() => {
1712
+ return De(() => {
1706
1713
  if (n <= 0)
1707
1714
  return !1;
1708
1715
  }), Xe(() => {
@@ -1714,9 +1721,9 @@ function al(e, n) {
1714
1721
  progress: i
1715
1722
  };
1716
1723
  }
1717
- function ol(e) {
1724
+ function sl(e) {
1718
1725
  return {
1719
- stylePosition: p(() => {
1726
+ stylePosition: D(() => {
1720
1727
  const { position: t, offset: i } = e();
1721
1728
  switch (t) {
1722
1729
  case "top-left":
@@ -1760,56 +1767,56 @@ function ol(e) {
1760
1767
  };
1761
1768
  }
1762
1769
  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 || {});
1763
- const sl = {
1770
+ const dl = {
1764
1771
  preserveAspectRatio: "xMidYMid meet",
1765
1772
  viewBox: "0 0 24 24",
1766
1773
  width: "1em",
1767
1774
  height: "1em"
1768
- }, dl = /* @__PURE__ */ u("path", {
1775
+ }, cl = /* @__PURE__ */ u("path", {
1769
1776
  fill: "currentColor",
1770
1777
  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"
1771
- }, null, -1), cl = [
1772
- dl
1778
+ }, null, -1), rl = [
1779
+ cl
1773
1780
  ];
1774
- function rl(e, n) {
1775
- return s(), r("svg", sl, cl);
1781
+ function ul(e, n) {
1782
+ return s(), r("svg", dl, rl);
1776
1783
  }
1777
- const ul = { name: "mi-circle-check", render: rl }, hl = {
1784
+ const hl = { name: "mi-circle-check", render: ul }, fl = {
1778
1785
  preserveAspectRatio: "xMidYMid meet",
1779
1786
  viewBox: "0 0 24 24",
1780
1787
  width: "1em",
1781
1788
  height: "1em"
1782
- }, fl = /* @__PURE__ */ u("path", {
1789
+ }, ml = /* @__PURE__ */ u("path", {
1783
1790
  fill: "currentColor",
1784
1791
  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"
1785
- }, null, -1), ml = [
1786
- fl
1792
+ }, null, -1), vl = [
1793
+ ml
1787
1794
  ];
1788
- function vl(e, n) {
1789
- return s(), r("svg", hl, ml);
1795
+ function $l(e, n) {
1796
+ return s(), r("svg", fl, vl);
1790
1797
  }
1791
- const $l = { name: "mi-circle-error", render: vl }, bl = {
1798
+ const bl = { name: "mi-circle-error", render: $l }, yl = {
1792
1799
  preserveAspectRatio: "xMidYMid meet",
1793
1800
  viewBox: "0 0 24 24",
1794
1801
  width: "1em",
1795
1802
  height: "1em"
1796
- }, yl = /* @__PURE__ */ u("g", { fill: "currentColor" }, [
1803
+ }, gl = /* @__PURE__ */ u("g", { fill: "currentColor" }, [
1797
1804
  /* @__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" }),
1798
1805
  /* @__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" })
1799
- ], -1), gl = [
1800
- yl
1806
+ ], -1), wl = [
1807
+ gl
1801
1808
  ];
1802
- function wl(e, n) {
1803
- return s(), r("svg", bl, gl);
1809
+ function kl(e, n) {
1810
+ return s(), r("svg", yl, wl);
1804
1811
  }
1805
- const kl = { name: "mi-circle-warning", render: wl }, xl = ["id", "data-testid"], Sl = { class: "content-wrapper" }, Cl = {
1812
+ const xl = { name: "mi-circle-warning", render: kl }, Sl = ["id", "data-testid"], Cl = { class: "content-wrapper" }, Il = {
1806
1813
  key: 0,
1807
1814
  class: "icon-container",
1808
1815
  "aria-hidden": "true"
1809
- }, Il = { class: "content" }, Bl = {
1816
+ }, Bl = { class: "content" }, Ol = {
1810
1817
  key: 0,
1811
1818
  class: "description"
1812
- }, Ol = ["data-testid"], Ml = /* @__PURE__ */ O({
1819
+ }, Ml = ["data-testid"], Tl = /* @__PURE__ */ O({
1813
1820
  __name: "Toast",
1814
1821
  props: {
1815
1822
  id: null,
@@ -1826,20 +1833,20 @@ const kl = { name: "mi-circle-warning", render: wl }, xl = ["id", "data-testid"]
1826
1833
  position: { default: Q.position }
1827
1834
  },
1828
1835
  setup(e) {
1829
- const n = e, { start: t, stop: i, progress: l } = al(() => {
1836
+ const n = e, { start: t, stop: i, progress: l } = ol(() => {
1830
1837
  var h;
1831
1838
  (h = n.onCloseHandler) == null || h.call(n);
1832
- }, n.timeout), { stylePosition: a } = ol(() => ({
1839
+ }, n.timeout), { stylePosition: a } = sl(() => ({
1833
1840
  offset: n.offset,
1834
1841
  position: n.position
1835
- })), o = p(() => n.title && n.description);
1842
+ })), o = D(() => n.title && n.description);
1836
1843
  function d() {
1837
1844
  n.timeout > 0 && i();
1838
1845
  }
1839
1846
  function c() {
1840
1847
  t();
1841
1848
  }
1842
- return pe(() => {
1849
+ return De(() => {
1843
1850
  t();
1844
1851
  }), (h, f) => (s(), R(Me, {
1845
1852
  name: $(Qe)[e.position],
@@ -1862,34 +1869,34 @@ const kl = { name: "mi-circle-warning", render: wl }, xl = ["id", "data-testid"]
1862
1869
  onFocusin: d,
1863
1870
  onFocusout: c
1864
1871
  }, [
1865
- u("section", Sl, [
1866
- e.showIcon ? (s(), r("div", Cl, [
1872
+ u("section", Cl, [
1873
+ e.showIcon ? (s(), r("div", Il, [
1867
1874
  m(h.$slots, "icon-status", { type: e.type }, () => [
1868
- e.type === "success" ? (s(), R($(ul), {
1875
+ e.type === "success" ? (s(), R($(hl), {
1869
1876
  key: 0,
1870
1877
  class: "icon"
1871
1878
  })) : T("", !0),
1872
- e.type === "info" ? (s(), R($(kl), {
1879
+ e.type === "info" ? (s(), R($(xl), {
1873
1880
  key: 1,
1874
1881
  class: "icon"
1875
1882
  })) : T("", !0),
1876
- e.type === "danger" ? (s(), R($($l), {
1883
+ e.type === "danger" ? (s(), R($(bl), {
1877
1884
  key: 2,
1878
1885
  class: "icon"
1879
1886
  })) : T("", !0)
1880
1887
  ])
1881
1888
  ])) : T("", !0),
1882
- u("div", Il, [
1889
+ u("div", Bl, [
1883
1890
  u("p", {
1884
1891
  class: k(["title", { "-multiline": $(o) }])
1885
1892
  }, [
1886
1893
  m(h.$slots, "title", {}, () => [
1887
- D(x(e.title), 1)
1894
+ p(x(e.title), 1)
1888
1895
  ])
1889
1896
  ], 2),
1890
- e.description ? (s(), r("p", Bl, [
1897
+ e.description ? (s(), r("p", Ol, [
1891
1898
  m(h.$slots, "description", {}, () => [
1892
- D(x(e.description), 1)
1899
+ p(x(e.description), 1)
1893
1900
  ])
1894
1901
  ])) : T("", !0)
1895
1902
  ])
@@ -1902,14 +1909,14 @@ const kl = { name: "mi-circle-warning", render: wl }, xl = ["id", "data-testid"]
1902
1909
  onClick: f[0] || (f[0] = (...I) => e.onCloseHandler && e.onCloseHandler(...I))
1903
1910
  }, [
1904
1911
  L($(Fe), { class: "icon" })
1905
- ], 10, Ol),
1912
+ ], 10, Ml),
1906
1913
  e.hideProgressBar ? T("", !0) : (s(), r("div", {
1907
1914
  key: 0,
1908
1915
  class: "progressbar",
1909
1916
  "aria-hidden": "true",
1910
1917
  style: ae({ width: `${$(l)}%` })
1911
1918
  }, null, 4))
1912
- ], 46, xl)) : T("", !0)
1919
+ ], 46, Sl)) : T("", !0)
1913
1920
  ]),
1914
1921
  _: 3
1915
1922
  }, 8, ["name"]));
@@ -1923,7 +1930,7 @@ const ee = {
1923
1930
  "bottom-right": [],
1924
1931
  "bottom-center": []
1925
1932
  };
1926
- function El() {
1933
+ function Dl() {
1927
1934
  let e = 0;
1928
1935
  function n() {
1929
1936
  Object.entries(ee).forEach(([i, l]) => {
@@ -1936,15 +1943,15 @@ function El() {
1936
1943
  }
1937
1944
  return {
1938
1945
  createToast: (i, l) => {
1939
- const a = e++, o = l ? Tl(l) : Q;
1940
- return l != null && l.showOneToast && n(), Ll(a, o, typeof i == "string" ? { title: i } : i), {
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), {
1941
1948
  close: () => Oe(a, o.position)
1942
1949
  };
1943
1950
  },
1944
1951
  clearAllToasts: n
1945
1952
  };
1946
1953
  }
1947
- function Tl(e) {
1954
+ function Ll(e) {
1948
1955
  const n = {
1949
1956
  ...Q,
1950
1957
  ...e,
@@ -1952,18 +1959,18 @@ function Tl(e) {
1952
1959
  };
1953
1960
  return n.hideProgressBar = !!(n.timeout && (n == null ? void 0 : n.timeout) <= 0), e.hideProgressBar && (n.hideProgressBar = e.hideProgressBar), n;
1954
1961
  }
1955
- function Ll(e, n, t) {
1962
+ function Pl(e, n, t) {
1956
1963
  setTimeout(() => {
1957
- const i = zl(n, ee, Ge), l = document.createElement("div");
1964
+ const i = Vl(n, ee, Ge), l = document.createElement("div");
1958
1965
  document.body.appendChild(l);
1959
1966
  const a = L(
1960
- Ml,
1961
- Pl(n, e, i, Oe, t)
1967
+ Tl,
1968
+ zl(n, e, i, Oe, t)
1962
1969
  );
1963
- De(a, l), ee[n.position].push({ toastVNode: a, container: l }), a.component && (a.component.props.visible = !0);
1970
+ pe(a, l), ee[n.position].push({ toastVNode: a, container: l }), a.component && (a.component.props.visible = !0);
1964
1971
  }, 1);
1965
1972
  }
1966
- function Pl(e, n, t, i, l) {
1973
+ function zl(e, n, t, i, l) {
1967
1974
  return {
1968
1975
  ...e,
1969
1976
  ...l,
@@ -1975,12 +1982,12 @@ function Pl(e, n, t, i, l) {
1975
1982
  }
1976
1983
  };
1977
1984
  }
1978
- function zl(e, n, t) {
1985
+ function Vl(e, n, t) {
1979
1986
  if (!e.position)
1980
1987
  throw new Error("no position");
1981
1988
  return n[e.position].reduce((i, { toastVNode: l }) => (i += l.el.offsetHeight + t || 0, i), t);
1982
1989
  }
1983
- function Vl(e, n, t, i) {
1990
+ function Al(e, n, t, i) {
1984
1991
  for (let l = e; l < n.length; l++) {
1985
1992
  const { toastVNode: a } = n[l];
1986
1993
  if (!a.el)
@@ -2002,11 +2009,11 @@ function Oe(e, n) {
2002
2009
  if (i === -1)
2003
2010
  return;
2004
2011
  const { container: l, toastVNode: a } = t[i], o = (c = a == null ? void 0 : a.el) == null ? void 0 : c.offsetHeight;
2005
- if (ee[n].splice(i, 1), Vl(i, t, n, o), !a.component)
2012
+ if (ee[n].splice(i, 1), Al(i, t, n, o), !a.component)
2006
2013
  return;
2007
2014
  const d = a.component.props;
2008
2015
  d.visible = !1, d.onClose && d.onClose(), setTimeout(() => {
2009
- De(null, l), document.body.removeChild(l);
2016
+ pe(null, l), document.body.removeChild(l);
2010
2017
  }, 1e3);
2011
2018
  }
2012
2019
  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");
@@ -2055,5 +2062,5 @@ export {
2055
2062
  $e as SolTextfieldPassword,
2056
2063
  Ae as components,
2057
2064
  pl as install,
2058
- El as useToast
2065
+ Dl as useToast
2059
2066
  };