@solfacil/girassol 0.2.11 → 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.
Files changed (23) hide show
  1. package/dist/girassol.es.js +435 -422
  2. package/dist/girassol.umd.js +2 -2
  3. package/dist/style.css +1 -1
  4. package/dist/types/components/forms/button/{Button.vue.d.ts → button/Button.vue.d.ts} +0 -0
  5. package/dist/types/components/forms/button/{button.spec.d.ts → button/button.spec.d.ts} +0 -0
  6. package/dist/types/components/forms/button/{ButtonDestructive.vue.d.ts → button-destructive/ButtonDestructive.vue.d.ts} +0 -0
  7. package/dist/types/components/forms/button/index.d.ts +2 -2
  8. package/dist/types/components/forms/checkbox/{Checkbox.vue.d.ts → checkbox/Checkbox.vue.d.ts} +12 -8
  9. package/dist/types/components/forms/checkbox/{checkbox.spec.d.ts → checkbox/checkbox.spec.d.ts} +0 -0
  10. package/dist/types/components/forms/checkbox/{CheckboxGroup.vue.d.ts → checkbox-group/CheckboxGroup.vue.d.ts} +12 -12
  11. package/dist/types/components/forms/checkbox/{checkbox-group.spec.d.ts → checkbox-group/checkbox-group.spec.d.ts} +0 -0
  12. package/dist/types/components/forms/checkbox/index.d.ts +2 -2
  13. package/dist/types/components/forms/checkbox/{checkbox-type.d.ts → type.d.ts} +1 -0
  14. package/dist/types/components/forms/radio/index.d.ts +2 -2
  15. package/dist/types/components/forms/radio/{Radio.vue.d.ts → radio/Radio.vue.d.ts} +8 -8
  16. package/dist/types/components/forms/radio/{radio.spec.d.ts → radio/radio.spec.d.ts} +0 -0
  17. package/dist/types/components/forms/radio/{RadioGroup.vue.d.ts → radio-group/RadioGroup.vue.d.ts} +14 -14
  18. package/dist/types/components/forms/radio/{radio-group.spec.d.ts → radio-group/radio-group.spec.d.ts} +0 -0
  19. package/dist/types/components/forms/radio/{radio-type.d.ts → types.d.ts} +0 -0
  20. package/dist/types/components/forms/switch/Switch.vue.d.ts +52 -22
  21. package/dist/types/components/menus/menu/Menu.vue.d.ts +7 -7
  22. package/dist/types/index.d.ts +175 -130
  23. package/package.json +20 -18
@@ -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 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"
@@ -11,7 +11,7 @@ const _e = /* @__PURE__ */ u("path", {
11
11
  dark: { type: Boolean }
12
12
  },
13
13
  setup(e) {
14
- return (l, t) => (s(), r("svg", {
14
+ return (n, t) => (s(), r("svg", {
15
15
  class: k(["sol-inner-loader", `-${e.size}`]),
16
16
  viewBox: "0 0 32 32",
17
17
  fill: "none",
@@ -19,7 +19,7 @@ const _e = /* @__PURE__ */ u("path", {
19
19
  }, et, 2));
20
20
  }
21
21
  });
22
- const lt = ["data-testid", "disabled"], nt = { class: "icon -left" }, it = { class: "icon -right" }, at = {
22
+ const nt = ["data-testid", "disabled"], lt = { class: "icon -left" }, it = { class: "icon -right" }, at = {
23
23
  key: 0,
24
24
  class: "loading"
25
25
  }, _ = /* @__PURE__ */ O({
@@ -33,26 +33,26 @@ const lt = ["data-testid", "disabled"], nt = { class: "icon -left" }, it = { cla
33
33
  variant: { default: "primary" }
34
34
  },
35
35
  setup(e) {
36
- function l(a, o) {
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
- ), n = 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", {
45
45
  "data-testid": `button-${e.id}`,
46
46
  class: k(["sol-button-core", `-${e.variant} -${e.size}
47
- ${l(e.loading, "-loading-helper")}
48
- ${l(e.onColor, "-on-color")}
49
- ${l($(i), "-has-icon")}
50
- ${l($(n), "-only-icon")}
47
+ ${n(e.loading, "-loading-helper")}
48
+ ${n(e.onColor, "-on-color")}
49
+ ${n($(i), "-has-icon")}
50
+ ${n($(l), "-only-icon")}
51
51
  `]),
52
52
  type: "button",
53
53
  disabled: e.disabled || e.loading
54
54
  }, [
55
- u("div", nt, [
55
+ u("div", lt, [
56
56
  m(a.$slots, "icon-left")
57
57
  ]),
58
58
  m(a.$slots, "default"),
@@ -66,7 +66,7 @@ const lt = ["data-testid", "disabled"], nt = { class: "icon -left" }, it = { cla
66
66
  dark: e.onColor
67
67
  }, null, 8, ["data-testid", "size", "dark"])
68
68
  ])) : T("", !0)
69
- ], 10, lt));
69
+ ], 10, nt));
70
70
  }
71
71
  });
72
72
  const ot = {
@@ -80,10 +80,10 @@ const ot = {
80
80
  }, null, -1), dt = [
81
81
  st
82
82
  ];
83
- function ct(e, l) {
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 (l, 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,
@@ -102,7 +102,7 @@ const rt = { name: "material-symbols-delete-outline", render: ct }, Ne = /* @__P
102
102
  L($(rt))
103
103
  ]),
104
104
  default: E(() => [
105
- m(l.$slots, "default")
105
+ m(n.$slots, "default")
106
106
  ]),
107
107
  _: 3
108
108
  }, 8, ["id", "size", "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({
@@ -123,17 +123,17 @@ const ut = ["id", "data-testid", "value"], W = /* @__PURE__ */ O({
123
123
  error: { type: Boolean }
124
124
  },
125
125
  emits: ["update:modelValue"],
126
- setup(e, { expose: l, emit: t }) {
126
+ setup(e, { expose: n, emit: t }) {
127
127
  function i({ target: a }) {
128
128
  t("update:modelValue", a == null ? void 0 : a.value);
129
129
  }
130
- const n = z("");
131
- return l({
132
- input: n
130
+ const l = V("");
131
+ return n({
132
+ input: l
133
133
  }), (a, o) => (s(), r("input", {
134
134
  id: `input-${e.id}`,
135
135
  ref_key: "input",
136
- ref: n,
136
+ ref: l,
137
137
  "data-testid": `input-${e.id}`,
138
138
  value: e.modelValue,
139
139
  class: k(["sol-input-core", { "-invert": e.invert, "-error": e.error }]),
@@ -156,18 +156,18 @@ const ht = ["id", "data-testid"], ft = ["for"], mt = { class: "container-input"
156
156
  error: null
157
157
  },
158
158
  emits: ["update:modelValue"],
159
- setup(e, { emit: l }) {
160
- const t = e, i = p({
159
+ setup(e, { emit: n }) {
160
+ const t = e, i = D({
161
161
  get: () => t.modelValue,
162
162
  set: (o) => {
163
- l("update:modelValue", o);
163
+ n("update:modelValue", o);
164
164
  }
165
165
  });
166
- function n(o, d) {
166
+ function l(o, d) {
167
167
  return !!o && !d;
168
168
  }
169
169
  function a(o, d) {
170
- return d ? `error-${t.id}` : n(o, d) ? `hint-${t.id}` : null;
170
+ return d ? `error-${t.id}` : l(o, d) ? `hint-${t.id}` : null;
171
171
  }
172
172
  return (o, d) => {
173
173
  var c;
@@ -200,7 +200,7 @@ const ht = ["id", "data-testid"], ft = ["for"], mt = { class: "container-input"
200
200
  ]),
201
201
  m(o.$slots, "icon")
202
202
  ]),
203
- n(e.hint, e.error) ? (s(), r("span", {
203
+ l(e.hint, e.error) ? (s(), r("span", {
204
204
  key: 0,
205
205
  id: `hint-${e.id}`,
206
206
  class: "hint"
@@ -224,7 +224,7 @@ const bt = {
224
224
  ], -1), gt = [
225
225
  yt
226
226
  ];
227
- function wt(e, l) {
227
+ function wt(e, n) {
228
228
  return s(), r("svg", bt, gt);
229
229
  }
230
230
  const kt = { name: "mi-eye", render: wt }, xt = {
@@ -238,7 +238,7 @@ const kt = { name: "mi-eye", render: wt }, xt = {
238
238
  }, null, -1), Ct = [
239
239
  St
240
240
  ];
241
- function It(e, l) {
241
+ function It(e, n) {
242
242
  return s(), r("svg", xt, Ct);
243
243
  }
244
244
  const Bt = { name: "mi-eye-off", render: It }, Ot = ["aria-label"], $e = /* @__PURE__ */ O({
@@ -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 l = z(!1), t = p(
252
- () => l.value ? "text" : "password"
251
+ const n = V(!1), t = D(
252
+ () => n.value ? "text" : "password"
253
253
  );
254
- return (i, n) => (s(), R(oe, {
254
+ return (i, l) => (s(), H(oe, {
255
255
  id: e.id,
256
256
  required: "",
257
257
  type: $(t),
@@ -262,14 +262,14 @@ const Bt = { name: "mi-eye-off", render: It }, Ot = ["aria-label"], $e = /* @__P
262
262
  u("button", {
263
263
  type: "button",
264
264
  "data-testid": "toggle-type-password",
265
- "aria-label": l.value ? "Hide password" : "Show password",
266
- onClick: n[0] || (n[0] = (a) => l.value = !l.value)
265
+ "aria-label": n.value ? "Hide password" : "Show password",
266
+ onClick: l[0] || (l[0] = (a) => n.value = !n.value)
267
267
  }, [
268
268
  Y(L($(kt), { "aria-hidden": "true" }, null, 512), [
269
- [X, l.value]
269
+ [X, n.value]
270
270
  ]),
271
271
  Y(L($(Bt), { "aria-hidden": "true" }, null, 512), [
272
- [X, !l.value]
272
+ [X, !n.value]
273
273
  ])
274
274
  ], 8, Ot)
275
275
  ]),
@@ -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,
@@ -296,18 +296,18 @@ const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textare
296
296
  error: null
297
297
  },
298
298
  emits: ["update:modelValue"],
299
- setup(e, { emit: l }) {
300
- const t = e, i = p({
299
+ setup(e, { emit: n }) {
300
+ const t = e, i = D({
301
301
  get: () => t.modelValue,
302
302
  set: (o) => {
303
- l("update:modelValue", o);
303
+ n("update:modelValue", o);
304
304
  }
305
305
  });
306
- function n(o, d) {
306
+ function l(o, d) {
307
307
  return !!o && !d;
308
308
  }
309
309
  function a(o, d) {
310
- return d ? `error-${t.id}` : n(o, d) ? `hint-${t.id}` : null;
310
+ return d ? `error-${t.id}` : l(o, d) ? `hint-${t.id}` : null;
311
311
  }
312
312
  return (o, d) => {
313
313
  var c;
@@ -341,15 +341,15 @@ const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textare
341
341
  ])
342
342
  ])
343
343
  ]),
344
- n(e.hint, e.error) ? (s(), r("span", {
344
+ l(e.hint, e.error) ? (s(), r("span", {
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,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"], se = /* @__PURE__ */ O({
360
+ const zt = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], Dt = {
361
+ inheritAttrs: !1
362
+ }, se = /* @__PURE__ */ O({
363
+ ...Dt,
361
364
  __name: "Radio",
362
365
  props: {
363
366
  id: null,
@@ -368,7 +371,7 @@ const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], se =
368
371
  class: null
369
372
  },
370
373
  emits: ["change"],
371
- setup(e, { emit: l }) {
374
+ setup(e, { emit: n }) {
372
375
  return (t, i) => (s(), r("div", {
373
376
  class: k(["sol-radio-core", t.$props.class])
374
377
  }, [
@@ -380,8 +383,8 @@ const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], se =
380
383
  checked: e.checked,
381
384
  value: e.value,
382
385
  name: e.name,
383
- onChange: i[0] || (i[0] = (n) => l("change", e.value))
384
- }), null, 16, At),
386
+ onChange: i[0] || (i[0] = (l) => n("change", e.value))
387
+ }), null, 16, zt),
385
388
  u("label", {
386
389
  class: "label",
387
390
  for: `radio-${e.name}-${e.id}`
@@ -389,7 +392,7 @@ const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], se =
389
392
  ], 2));
390
393
  }
391
394
  });
392
- const pt = ["aria-labelledby"], Dt = ["id", "data-testid"], Nt = ["id"], Rt = ["id"], ye = /* @__PURE__ */ O({
395
+ const Nt = ["aria-labelledby"], Rt = ["id", "data-testid"], Ht = ["id", "data-testid"], pt = ["id", "data-testid"], ye = /* @__PURE__ */ O({
393
396
  __name: "RadioGroup",
394
397
  props: {
395
398
  id: null,
@@ -402,19 +405,19 @@ const pt = ["aria-labelledby"], Dt = ["id", "data-testid"], Nt = ["id"], Rt = ["
402
405
  direction: { default: "row" }
403
406
  },
404
407
  emits: ["change", "update:modelValue"],
405
- setup(e, { emit: l }) {
408
+ setup(e, { emit: n }) {
406
409
  const t = e;
407
410
  function i(d, c) {
408
411
  return !!d && !c;
409
412
  }
410
- function n(d, c) {
411
- return c ? `error-${t.id}` : i(d, c) ? `hint-${t.id}` : null;
413
+ function l(d, c) {
414
+ return c ? `radios-error-${t.id}` : i(d, c) ? `radios-hint-${t.id}` : null;
412
415
  }
413
416
  function a(d) {
414
417
  return (t == null ? void 0 : t.modelValue) === d;
415
418
  }
416
419
  function o(d) {
417
- l("change", d.value), l("update:modelValue", d.value);
420
+ n("change", d.value), n("update:modelValue", d.value);
418
421
  }
419
422
  return (d, c) => (s(), r("fieldset", {
420
423
  class: "sol-radio-group-core",
@@ -427,7 +430,7 @@ const pt = ["aria-labelledby"], Dt = ["id", "data-testid"], Nt = ["id"], Rt = ["
427
430
  id: `radio-group-title-${e.id}`,
428
431
  class: k(["title", { "sr-only": e.hideTitle }]),
429
432
  "data-testid": `radio-group-title-${e.id}`
430
- }, x(e.title), 11, Dt)
433
+ }, x(e.title), 11, Rt)
431
434
  ]),
432
435
  u("ul", {
433
436
  class: k(["container-radios", { "flex-col": e.direction === "column" }])
@@ -447,7 +450,7 @@ const pt = ["aria-labelledby"], Dt = ["id", "data-testid"], Nt = ["id"], Rt = ["
447
450
  label: h.label,
448
451
  checked: a(h.value),
449
452
  "aria-invalid": !!e.error,
450
- "aria-describedby": n(e.hint, e.error),
453
+ "aria-describedby": l(e.hint, e.error),
451
454
  onChange: (y) => o(h)
452
455
  }), null, 16, ["id", "class", "name", "value", "label", "checked", "aria-invalid", "aria-describedby", "onChange"])
453
456
  ]);
@@ -456,14 +459,16 @@ const pt = ["aria-labelledby"], Dt = ["id", "data-testid"], Nt = ["id"], Rt = ["
456
459
  ], 2),
457
460
  i(e.hint, e.error) ? (s(), r("p", {
458
461
  key: 0,
459
- id: `hint-${e.id}`,
462
+ id: `radios-hint-${e.id}`,
463
+ "data-testid": `radios-hint-${e.id}`,
460
464
  class: "hint"
461
- }, x(e.hint), 9, Nt)) : e.error ? (s(), r("p", {
465
+ }, x(e.hint), 9, Ht)) : e.error ? (s(), r("p", {
462
466
  key: 1,
463
- id: `error-${e.id}`,
467
+ id: `radios-error-${e.id}`,
468
+ "data-testid": `radios-error-${e.id}`,
464
469
  class: "error"
465
- }, x(e.error), 9, Rt)) : T("", !0)
466
- ], 8, pt));
470
+ }, x(e.error), 9, pt)) : T("", !0)
471
+ ], 8, Nt));
467
472
  }
468
473
  });
469
474
  se.install = (e) => {
@@ -472,7 +477,10 @@ se.install = (e) => {
472
477
  ye.install = (e) => {
473
478
  e.component("SolRadioGroup", ye);
474
479
  };
475
- const Ht = ["id", "data-testid", "checked", "value", "name"], Ft = ["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,
476
484
  __name: "Checkbox",
477
485
  props: {
478
486
  id: null,
@@ -480,31 +488,33 @@ const Ht = ["id", "data-testid", "checked", "value", "name"], Ft = ["for"], de =
480
488
  value: null,
481
489
  label: null,
482
490
  checked: null,
483
- class: null
491
+ class: null,
492
+ indeterminate: { type: Boolean }
484
493
  },
485
494
  emits: ["change"],
486
- setup(e, { emit: l }) {
495
+ setup(e, { emit: n }) {
487
496
  return (t, i) => (s(), r("div", {
488
497
  class: k(["sol-checkbox-core", t.$props.class])
489
498
  }, [
490
499
  u("input", U(t.$attrs, {
491
500
  id: `checkbox-${e.name}-${e.id}`,
492
501
  type: "checkbox",
502
+ indeterminate: e.indeterminate,
493
503
  class: "checkbox",
494
504
  "data-testid": `checkbox-${e.name}-${e.id}`,
495
505
  checked: e.checked,
496
506
  value: e.value,
497
507
  name: e.name,
498
- onChange: i[0] || (i[0] = (n) => l("change", e.value))
499
- }), null, 16, Ht),
508
+ onChange: i[0] || (i[0] = (l) => n("change", e.value))
509
+ }), null, 16, Ft),
500
510
  u("label", {
501
511
  class: "label",
502
512
  for: `checkbox-${e.name}-${e.id}`
503
- }, x(e.label), 9, Ft)
513
+ }, x(e.label), 9, qt)
504
514
  ], 2));
505
515
  }
506
516
  });
507
- const qt = ["aria-labelledby"], Kt = ["id", "data-testid"], Ut = ["id"], Gt = ["id"], ge = /* @__PURE__ */ O({
517
+ const Ut = ["aria-labelledby"], Gt = ["id", "data-testid"], Qt = ["id", "data-testid"], Yt = ["id", "data-testid"], ge = /* @__PURE__ */ O({
508
518
  __name: "CheckboxGroup",
509
519
  props: {
510
520
  id: null,
@@ -517,13 +527,13 @@ const qt = ["aria-labelledby"], Kt = ["id", "data-testid"], Ut = ["id"], Gt = ["
517
527
  direction: { default: "row" }
518
528
  },
519
529
  emits: ["change", "update:modelValue"],
520
- setup(e, { emit: l }) {
530
+ setup(e, { emit: n }) {
521
531
  const t = e;
522
532
  function i(c, h) {
523
533
  return !!c && !h;
524
534
  }
525
- function n(c, h) {
526
- return h ? `error-${t.id}` : i(c, h) ? `hint-${t.id}` : null;
535
+ function l(c, h) {
536
+ return h ? `checkboxes-error-${t.id}` : i(c, h) ? `checkboxes-hint-${t.id}` : null;
527
537
  }
528
538
  function a(c) {
529
539
  var h;
@@ -534,9 +544,9 @@ const qt = ["aria-labelledby"], Kt = ["id", "data-testid"], Ut = ["id"], Gt = ["
534
544
  }
535
545
  function d(c) {
536
546
  var f;
537
- l("change", c.value);
547
+ n("change", c.value);
538
548
  const h = a(c.value) ? (f = t.modelValue) == null ? void 0 : f.filter((I) => I !== c.value) : o(c.value);
539
- l("update:modelValue", h);
549
+ n("update:modelValue", h);
540
550
  }
541
551
  return (c, h) => (s(), r("fieldset", {
542
552
  class: "sol-checkbox-group-core",
@@ -549,7 +559,7 @@ const qt = ["aria-labelledby"], Kt = ["id", "data-testid"], Ut = ["id"], Gt = ["
549
559
  id: `checkbox-group-title-${e.id}`,
550
560
  class: k(["title", { "sr-only": e.hideTitle }]),
551
561
  "data-testid": `checkbox-group-title-${e.id}`
552
- }, x(e.title), 11, Kt)
562
+ }, x(e.title), 11, Gt)
553
563
  ]),
554
564
  u("ul", {
555
565
  class: k(["container-checkboxes", { "flex-col": e.direction === "column" }])
@@ -569,7 +579,7 @@ const qt = ["aria-labelledby"], Kt = ["id", "data-testid"], Ut = ["id"], Gt = ["
569
579
  value: f.value,
570
580
  checked: a(f.value),
571
581
  "aria-invalid": !!e.error,
572
- "aria-describedby": n(e.hint, e.error),
582
+ "aria-describedby": l(e.hint, e.error),
573
583
  onChange: (S) => d(f)
574
584
  }), null, 16, ["id", "class", "label", "name", "value", "checked", "aria-invalid", "aria-describedby", "onChange"])
575
585
  ]);
@@ -578,14 +588,16 @@ const qt = ["aria-labelledby"], Kt = ["id", "data-testid"], Ut = ["id"], Gt = ["
578
588
  ], 2),
579
589
  i(e.hint, e.error) ? (s(), r("p", {
580
590
  key: 0,
581
- id: `hint-${e.id}`,
591
+ id: `checkboxes-hint-${e.id}`,
592
+ "data-testid": `checkboxes-hint-${e.id}`,
582
593
  class: "hint"
583
- }, x(e.hint), 9, Ut)) : e.error ? (s(), r("p", {
594
+ }, x(e.hint), 9, Qt)) : e.error ? (s(), r("p", {
584
595
  key: 1,
585
- id: `error-${e.id}`,
596
+ id: `checkboxes-error-${e.id}`,
597
+ "data-testid": `checkboxes-hint-${e.id}`,
586
598
  class: "error"
587
- }, x(e.error), 9, Gt)) : T("", !0)
588
- ], 8, qt));
599
+ }, x(e.error), 9, Yt)) : T("", !0)
600
+ ], 8, Ut));
589
601
  }
590
602
  });
591
603
  de.install = (e) => {
@@ -594,7 +606,7 @@ de.install = (e) => {
594
606
  ge.install = (e) => {
595
607
  e.component("SolCheckboxGroup", ge);
596
608
  };
597
- const Qt = ["id", "for", "data-testid"], Yt = { class: "switch-container" }, Wt = ["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({
598
610
  __name: "Switch",
599
611
  props: {
600
612
  id: null,
@@ -603,36 +615,37 @@ const Qt = ["id", "for", "data-testid"], Yt = { class: "switch-container" }, Wt
603
615
  label: null,
604
616
  checked: { type: Boolean },
605
617
  class: null,
618
+ textDirection: { default: "left" },
606
619
  hideLabel: { type: Boolean },
607
- horizontalLabel: { type: Boolean }
620
+ stretchLabel: { type: Boolean, default: !1 }
608
621
  },
609
622
  emits: ["change"],
610
- setup(e, { emit: l }) {
623
+ setup(e, { emit: n }) {
611
624
  return (t, i) => (s(), r("div", {
612
- 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 }]])
613
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),
614
643
  u("label", {
615
644
  id: `switch-label-${e.name}-${e.id}`,
616
- class: k(["label", { "mb-1": !e.horizontalLabel, "sr-only": e.hideLabel }]),
645
+ class: k(["label", `-${e.textDirection} ${e.hideLabel ? "sr-only" : ""}`]),
617
646
  for: `switch-${e.name}-${e.id}`,
618
647
  "data-testid": `switch-label-${e.name}-${e.id}`
619
- }, x(e.label), 11, Qt),
620
- u("div", Yt, [
621
- u("input", U(t.$attrs, {
622
- id: `switch-${e.name}-${e.id}`,
623
- type: "checkbox",
624
- class: "switch",
625
- role: "switch",
626
- "aria-checked": e.checked,
627
- "aria-labelledby": `switch-label-${e.name}-${e.id}`,
628
- "data-testid": `switch-${e.name}-${e.id}`,
629
- checked: e.checked,
630
- value: e.value,
631
- name: e.name,
632
- onChange: i[0] || (i[0] = (n) => l("change", e.value))
633
- }), null, 16, Wt),
634
- jt
635
- ])
648
+ }, x(e.label), 11, jt)
636
649
  ], 2));
637
650
  }
638
651
  });
@@ -653,57 +666,57 @@ function _t(e) {
653
666
  return je() ? (Ze(e), !0) : !1;
654
667
  }
655
668
  function J(e) {
656
- var l;
669
+ var n;
657
670
  const t = Jt(e);
658
- return (l = t == null ? void 0 : t.$el) != null ? l : t;
671
+ return (n = t == null ? void 0 : t.$el) != null ? n : t;
659
672
  }
660
- const Re = te ? window : void 0;
673
+ const He = te ? window : void 0;
661
674
  te && window.document;
662
675
  te && window.navigator;
663
676
  te && window.location;
664
- function ne(...e) {
665
- let l, t, i, n;
666
- if (Zt(e[0]) ? ([t, i, n] = e, l = Re) : [l, t, i, n] = e, !l)
677
+ function le(...e) {
678
+ let n, t, i, l;
679
+ if (Zt(e[0]) ? ([t, i, l] = e, n = He) : [n, t, i, l] = e, !n)
667
680
  return ve;
668
681
  let a = ve;
669
- const o = Je(() => J(l), (c) => {
670
- a(), c && (c.addEventListener(t, i, n), a = () => {
671
- c.removeEventListener(t, i, n), a = ve;
682
+ const o = Je(() => J(n), (c) => {
683
+ a(), c && (c.addEventListener(t, i, l), a = () => {
684
+ c.removeEventListener(t, i, l), a = ve;
672
685
  });
673
686
  }, { immediate: !0, flush: "post" }), d = () => {
674
687
  o(), a();
675
688
  };
676
689
  return _t(d), d;
677
690
  }
678
- function Te(e, l, t = {}) {
679
- const { window: i = Re, ignore: n, capture: a = !0, detectIframe: o = !1 } = t;
691
+ function Te(e, n, t = {}) {
692
+ const { window: i = He, ignore: l, capture: a = !0, detectIframe: o = !1 } = t;
680
693
  if (!i)
681
694
  return;
682
- const d = z(!0);
695
+ const d = V(!0);
683
696
  let c;
684
697
  const h = (y) => {
685
698
  i.clearTimeout(c);
686
699
  const S = J(e), B = y.composedPath();
687
- !S || S === y.target || B.includes(S) || !d.value || n && n.length > 0 && n.some((M) => {
688
- const N = J(M);
689
- return N && (y.target === N || B.includes(N));
690
- }) || l(y);
700
+ !S || S === y.target || B.includes(S) || !d.value || l && l.length > 0 && l.some((M) => {
701
+ const R = J(M);
702
+ return R && (y.target === R || B.includes(R));
703
+ }) || n(y);
691
704
  }, f = [
692
- ne(i, "click", h, { passive: !0, capture: a }),
693
- ne(i, "pointerdown", (y) => {
705
+ le(i, "click", h, { passive: !0, capture: a }),
706
+ le(i, "pointerdown", (y) => {
694
707
  const S = J(e);
695
708
  d.value = !!S && !y.composedPath().includes(S);
696
709
  }, { passive: !0 }),
697
- ne(i, "pointerup", (y) => {
710
+ le(i, "pointerup", (y) => {
698
711
  if (y.button === 0) {
699
712
  const S = y.composedPath();
700
713
  y.composedPath = () => S, c = i.setTimeout(() => h(y), 50);
701
714
  }
702
715
  }, { passive: !0 }),
703
- o && ne(i, "blur", (y) => {
716
+ o && le(i, "blur", (y) => {
704
717
  var S;
705
718
  const B = J(e);
706
- ((S = document.activeElement) == null ? void 0 : S.tagName) === "IFRAME" && !(B != null && B.contains(document.activeElement)) && l(y);
719
+ ((S = document.activeElement) == null ? void 0 : S.tagName) === "IFRAME" && !(B != null && B.contains(document.activeElement)) && n(y);
707
720
  })
708
721
  ].filter(Boolean);
709
722
  return () => f.forEach((y) => y());
@@ -715,15 +728,15 @@ var Pe;
715
728
  (function(e) {
716
729
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
717
730
  })(Pe || (Pe = {}));
718
- var el = Object.defineProperty, ze = Object.getOwnPropertySymbols, tl = Object.prototype.hasOwnProperty, ll = Object.prototype.propertyIsEnumerable, Ve = (e, l, t) => l in e ? el(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, nl = (e, l) => {
719
- for (var t in l || (l = {}))
720
- tl.call(l, t) && Ve(e, t, l[t]);
721
- if (ze)
722
- for (var t of ze(l))
723
- ll.call(l, t) && Ve(e, t, l[t]);
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) => {
732
+ for (var t in n || (n = {}))
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]);
724
737
  return e;
725
738
  };
726
- const il = {
739
+ const an = {
727
740
  easeInSine: [0.12, 0, 0.39, 0],
728
741
  easeOutSine: [0.61, 1, 0.88, 1],
729
742
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -749,27 +762,27 @@ const il = {
749
762
  easeOutBack: [0.34, 1.56, 0.64, 1],
750
763
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
751
764
  };
752
- nl({
765
+ ln({
753
766
  linear: Xt
754
- }, il);
755
- const al = {
767
+ }, an);
768
+ const on = {
756
769
  preserveAspectRatio: "xMidYMid meet",
757
770
  viewBox: "0 0 24 24",
758
771
  width: "1em",
759
772
  height: "1em"
760
- }, ol = /* @__PURE__ */ u("path", {
773
+ }, sn = /* @__PURE__ */ u("path", {
761
774
  fill: "currentColor",
762
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"
763
- }, null, -1), sl = [
764
- ol
776
+ }, null, -1), dn = [
777
+ sn
765
778
  ];
766
- function dl(e, l) {
767
- return s(), r("svg", al, sl);
779
+ function cn(e, n) {
780
+ return s(), r("svg", on, dn);
768
781
  }
769
- const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id", "for"], ul = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], hl = { class: "dropdown-container" }, fl = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], ml = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], vl = {
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 = {
770
783
  key: 0,
771
784
  class: "no-data"
772
- }, $l = /* @__PURE__ */ D(" Sem dados "), Se = /* @__PURE__ */ O({
785
+ }, bn = /* @__PURE__ */ N(" Sem dados "), Se = /* @__PURE__ */ O({
773
786
  __name: "Dropdown",
774
787
  props: {
775
788
  id: null,
@@ -787,28 +800,28 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
787
800
  options: { default: () => [] }
788
801
  },
789
802
  emits: ["closeDropdown", "search", "update:selected"],
790
- setup(e, { emit: l }) {
791
- const t = e, i = z(), n = z(!1), a = z(""), o = p(
803
+ setup(e, { emit: n }) {
804
+ const t = e, i = V(), l = V(!1), a = V(""), o = D(
792
805
  () => {
793
806
  var b;
794
807
  return t.fetchOnSearch ? t.options : (b = t.options) == null ? void 0 : b.filter(
795
808
  (v) => typeof v == "string" ? v.includes(a.value) : v.name.includes(a.value)
796
809
  );
797
810
  }
798
- ), d = p(
811
+ ), d = D(
799
812
  () => Array.isArray(t.selected) ? t.selected.join(", ").trim() : t.selected
800
813
  );
801
814
  Te(i, () => {
802
- n.value && f();
815
+ l.value && f();
803
816
  });
804
817
  function c() {
805
- t.disabled || (n.value ? f() : h());
818
+ t.disabled || (l.value ? f() : h());
806
819
  }
807
820
  function h() {
808
- n.value = !0;
821
+ l.value = !0;
809
822
  }
810
823
  function f() {
811
- he(), l("closeDropdown");
824
+ he(), n("closeDropdown");
812
825
  }
813
826
  function I(b) {
814
827
  const v = new Set(t.selected);
@@ -816,7 +829,7 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
816
829
  }
817
830
  function y(b) {
818
831
  const v = typeof b == "string" ? b : b.value, C = t.isMultipleSelect ? I(v) : v;
819
- l("update:selected", C), t.closeOnSelect && !t.isMultipleSelect && f();
832
+ n("update:selected", C), t.closeOnSelect && !t.isMultipleSelect && f();
820
833
  }
821
834
  function S(b) {
822
835
  return Array.isArray(t.selected) ? typeof b == "string" ? t.selected.includes(b) : t.selected.includes(b.value) : typeof b == "string" ? b === t.selected : b.value === t.selected;
@@ -828,13 +841,13 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
828
841
  id: "",
829
842
  index: 0
830
843
  });
831
- function N({ code: b }) {
844
+ function R({ code: b }) {
832
845
  const v = (P) => {
833
846
  const F = P != null ? P : M.index;
834
847
  P !== void 0 && (M.index = P), setTimeout(() => {
835
848
  var g, w;
836
- const H = (g = B.list) == null ? void 0 : g.children[F];
837
- 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();
838
851
  }, 0);
839
852
  }, C = () => {
840
853
  var P;
@@ -844,7 +857,7 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
844
857
  case "ArrowUp":
845
858
  return M.index > 0 && (M.index -= 1), v();
846
859
  case "ArrowDown":
847
- return n.value ? (M.index < o.value.length - 1 && (M.index += 1), v()) : (h(), v(0));
860
+ return l.value ? (M.index < o.value.length - 1 && (M.index += 1), v()) : (h(), v(0));
848
861
  case "Home":
849
862
  return v(0);
850
863
  case "End":
@@ -856,12 +869,12 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
856
869
  }
857
870
  }
858
871
  function he() {
859
- n.value = !1, M.index = 0, a.value = "";
872
+ l.value = !1, M.index = 0, a.value = "";
860
873
  }
861
874
  function G(b, v) {
862
875
  return typeof b == "string" ? b : b[v != null ? v : "value"];
863
876
  }
864
- function le(b, v) {
877
+ function ne(b, v) {
865
878
  B[b] = v != null ? v : void 0;
866
879
  }
867
880
  return (b, v) => (s(), r("div", {
@@ -869,14 +882,14 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
869
882
  ref: i,
870
883
  class: k(["sol-dropdown-core", { "-smaller": e.smallerWidth }]),
871
884
  "data-testid": `dropdown-${e.id}`,
872
- onKeydownPassive: N
885
+ onKeydownPassive: R
873
886
  }, [
874
887
  m(b.$slots, "label", {}, () => [
875
888
  u("label", {
876
889
  id: `label-dropdown-${e.id}`,
877
890
  class: k(["label", { "-disabled": e.disabled, "sr-only": e.ariaLabel }]),
878
891
  for: `toggle-dropdown-${e.id}`
879
- }, x(e.label || e.ariaLabel), 11, rl)
892
+ }, x(e.label || e.ariaLabel), 11, un)
880
893
  ]),
881
894
  u("button", {
882
895
  id: `toggle-dropdown-${e.id}`,
@@ -884,7 +897,7 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
884
897
  "data-testid": `toggle-dropdown-${e.id}`,
885
898
  class: "button-toggle-dropdown toggle-dropdown",
886
899
  "aria-haspopup": "listbox",
887
- "aria-expanded": n.value,
900
+ "aria-expanded": l.value,
888
901
  "aria-labelledby": `label-dropdown-${e.id}`,
889
902
  "aria-label": e.ariaLabel,
890
903
  "aria-controls": `dropdown-list-${e.id}`,
@@ -892,20 +905,20 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
892
905
  }, [
893
906
  m(b.$slots, "toggle-dropdown", {
894
907
  toggle: { open: h, close: f, toggleDropdown: c },
895
- isOpen: n.value,
908
+ isOpen: l.value,
896
909
  select: y,
897
910
  selectedSanitized: $(d),
898
911
  selected: e.selected
899
912
  }, () => [
900
- D(x($(d) || "Selecione"), 1)
913
+ N(x($(d) || "Selecione"), 1)
901
914
  ])
902
- ], 8, ul),
915
+ ], 8, hn),
903
916
  L(Me, {
904
917
  mode: "out-in",
905
918
  name: "dropdown"
906
919
  }, {
907
920
  default: E(() => [
908
- Y(u("div", hl, [
921
+ Y(u("div", fn, [
909
922
  e.searchable ? (s(), r("div", {
910
923
  key: 0,
911
924
  class: k(["search-container", { "-loading": e.loading }])
@@ -913,7 +926,7 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
913
926
  m(b.$slots, "search", { filter: a.value }, () => [
914
927
  L(W, {
915
928
  id: `search-dropdown-${e.id}`,
916
- ref: (C) => le("search", C == null ? void 0 : C.input),
929
+ ref: (C) => ne("search", C == null ? void 0 : C.input),
917
930
  modelValue: a.value,
918
931
  "onUpdate:modelValue": v[0] || (v[0] = (C) => a.value = C),
919
932
  "data-testid": `search-dropdown-${e.id}`,
@@ -921,7 +934,7 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
921
934
  class: "search",
922
935
  "aria-autocomplete": "list",
923
936
  placeholder: e.searchPlaceholder,
924
- "aria-expanded": n.value,
937
+ "aria-expanded": l.value,
925
938
  "aria-haspopup": "listbox",
926
939
  "aria-owns": `dropdown-list-${e.id}`,
927
940
  "aria-controls": `dropdown-list-${e.id}`,
@@ -931,10 +944,10 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
931
944
  }, ["stop"])),
932
945
  onInput: v[2] || (v[2] = (C) => {
933
946
  var P;
934
- return l("search", (P = C.target) == null ? void 0 : P.value);
947
+ return n("search", (P = C.target) == null ? void 0 : P.value);
935
948
  })
936
949
  }, null, 8, ["id", "modelValue", "data-testid", "placeholder", "aria-expanded", "aria-owns", "aria-controls", "aria-activedescendant", "aria-labelledby"]),
937
- L($(He), {
950
+ L($(pe), {
938
951
  "aria-hidden": "true",
939
952
  class: "icon"
940
953
  })
@@ -942,7 +955,7 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
942
955
  ], 2)) : T("", !0),
943
956
  u("ul", {
944
957
  id: `dropdown-list-${e.id}`,
945
- ref: (C) => le("list", C),
958
+ ref: (C) => ne("list", C),
946
959
  "data-testid": `dropdown-list-${e.id}`,
947
960
  role: "listbox",
948
961
  tabindex: "-1",
@@ -971,42 +984,42 @@ const He = { name: "mi-search", render: dl }, cl = ["data-testid"], rl = ["id",
971
984
  option: C,
972
985
  isSelect: S
973
986
  }, () => [
974
- D(x(G(C, "name")), 1)
987
+ N(x(G(C, "name")), 1)
975
988
  ])
976
- ], 44, ml))), 128)),
977
- $(o).length ? T("", !0) : (s(), r("li", vl, [
989
+ ], 44, vn))), 128)),
990
+ $(o).length ? T("", !0) : (s(), r("li", $n, [
978
991
  m(b.$slots, "no-data", {}, () => [
979
- $l
992
+ bn
980
993
  ])
981
994
  ]))
982
- ], 8, fl)
995
+ ], 8, mn)
983
996
  ], 512), [
984
- [X, n.value]
997
+ [X, l.value]
985
998
  ])
986
999
  ]),
987
1000
  _: 3
988
1001
  })
989
- ], 42, cl));
1002
+ ], 42, rn));
990
1003
  }
991
1004
  });
992
1005
  Se.install = (e) => {
993
1006
  e.component("SolDropdown", Se);
994
1007
  };
995
- const bl = {
1008
+ const yn = {
996
1009
  preserveAspectRatio: "xMidYMid meet",
997
1010
  viewBox: "0 0 24 24",
998
1011
  width: "1em",
999
1012
  height: "1em"
1000
- }, yl = /* @__PURE__ */ u("path", {
1013
+ }, gn = /* @__PURE__ */ u("path", {
1001
1014
  fill: "currentColor",
1002
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"
1003
- }, null, -1), gl = [
1004
- yl
1016
+ }, null, -1), wn = [
1017
+ gn
1005
1018
  ];
1006
- function wl(e, l) {
1007
- return s(), r("svg", bl, gl);
1019
+ function kn(e, n) {
1020
+ return s(), r("svg", yn, wn);
1008
1021
  }
1009
- const Fe = { name: "mi-close", render: wl }, kl = ["id", "data-testid", "title", "aria-describedby", "aria-disabled", "onKeydown"], xl = ["id"], Sl = { 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({
1010
1023
  __name: "Chip",
1011
1024
  props: {
1012
1025
  id: null,
@@ -1016,23 +1029,23 @@ const Fe = { name: "mi-close", render: wl }, kl = ["id", "data-testid", "title",
1016
1029
  removable: { type: Boolean, default: !0 }
1017
1030
  },
1018
1031
  emits: ["close", "update:selected"],
1019
- setup(e, { emit: l }) {
1032
+ setup(e, { emit: n }) {
1020
1033
  const t = e;
1021
- function i({ code: n }) {
1034
+ function i({ code: l }) {
1022
1035
  if (!t.disabled)
1023
- switch (n) {
1036
+ switch (l) {
1024
1037
  case "Enter":
1025
1038
  case "NumpadEnter":
1026
1039
  case "Space":
1027
- return l("update:selected");
1040
+ return n("update:selected");
1028
1041
  case "Delete":
1029
1042
  case "Backspace":
1030
- return t.removable && l("close");
1043
+ return t.removable && n("close");
1031
1044
  default:
1032
1045
  return !1;
1033
1046
  }
1034
1047
  }
1035
- return (n, a) => (s(), r("div", {
1048
+ return (l, a) => (s(), r("div", {
1036
1049
  id: `chip-${e.id}`,
1037
1050
  "data-testid": `chip-${e.id}`,
1038
1051
  class: k(["sol-chip-core", { "-selected": e.selected, "-disabled": e.disabled }]),
@@ -1040,17 +1053,17 @@ const Fe = { name: "mi-close", render: wl }, kl = ["id", "data-testid", "title",
1040
1053
  title: e.label,
1041
1054
  "aria-describedby": `chip-description-${e.id}`,
1042
1055
  "aria-disabled": e.disabled,
1043
- onClick: a[1] || (a[1] = (o) => l("update:selected")),
1056
+ onClick: a[1] || (a[1] = (o) => n("update:selected")),
1044
1057
  onKeydown: q(i, ["self"])
1045
1058
  }, [
1046
1059
  u("span", {
1047
1060
  id: `chip-description-${e.id}`,
1048
1061
  "z-index": "-1",
1049
1062
  class: "sr-only"
1050
- }, "Press Delete or Backspace to remove this Chip", 8, xl),
1051
- u("span", Sl, [
1052
- m(n.$slots, "default", {}, () => [
1053
- D(x(e.label), 1)
1063
+ }, "Press Delete or Backspace to remove this Chip", 8, Sn),
1064
+ u("span", Cn, [
1065
+ m(l.$slots, "default", {}, () => [
1066
+ N(x(e.label), 1)
1054
1067
  ])
1055
1068
  ]),
1056
1069
  e.removable ? (s(), r("i", {
@@ -1058,17 +1071,17 @@ const Fe = { name: "mi-close", render: wl }, kl = ["id", "data-testid", "title",
1058
1071
  role: "presentation",
1059
1072
  "aira-hidden": "true",
1060
1073
  class: "close",
1061
- onClick: a[0] || (a[0] = q((o) => l("close"), ["stop"]))
1074
+ onClick: a[0] || (a[0] = q((o) => n("close"), ["stop"]))
1062
1075
  }, [
1063
1076
  L($(Fe), { class: "icon" })
1064
1077
  ])) : T("", !0)
1065
- ], 42, kl));
1078
+ ], 42, xn));
1066
1079
  }
1067
1080
  });
1068
- const Cl = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Il = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], Bl = {
1081
+ const In = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Bn = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], On = {
1069
1082
  key: 0,
1070
1083
  class: "no-data"
1071
- }, Ol = /* @__PURE__ */ D(" Sem dados "), Ml = /* @__PURE__ */ O({
1084
+ }, Mn = /* @__PURE__ */ N(" Sem dados "), Tn = /* @__PURE__ */ O({
1072
1085
  __name: "ListOption",
1073
1086
  props: {
1074
1087
  id: null,
@@ -1077,11 +1090,11 @@ const Cl = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Il
1077
1090
  isSelected: null
1078
1091
  },
1079
1092
  emits: ["select"],
1080
- setup(e, { expose: l, emit: t }) {
1081
- const i = z("");
1082
- return l({
1093
+ setup(e, { expose: n, emit: t }) {
1094
+ const i = V("");
1095
+ return n({
1083
1096
  list: i
1084
- }), (n, a) => (s(), r("ul", {
1097
+ }), (l, a) => (s(), r("ul", {
1085
1098
  id: `select-list-${e.id}`,
1086
1099
  ref_key: "list",
1087
1100
  ref: i,
@@ -1108,54 +1121,54 @@ const Cl = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Il
1108
1121
  K((c) => t("select", o), ["space"])
1109
1122
  ]
1110
1123
  }, [
1111
- m(n.$slots, "item-list", {
1124
+ m(l.$slots, "item-list", {
1112
1125
  text: o.name,
1113
1126
  value: o.value,
1114
1127
  option: o,
1115
1128
  isSelected: e.isSelected(o)
1116
1129
  }, () => [
1117
- D(x(o.name), 1)
1130
+ N(x(o.name), 1)
1118
1131
  ])
1119
- ], 44, Il))), 128)),
1120
- e.options.length ? T("", !0) : (s(), r("li", Bl, [
1121
- m(n.$slots, "no-data", {}, () => [
1122
- Ol
1132
+ ], 44, Bn))), 128)),
1133
+ e.options.length ? T("", !0) : (s(), r("li", On, [
1134
+ m(l.$slots, "no-data", {}, () => [
1135
+ Mn
1123
1136
  ])
1124
1137
  ]))
1125
- ], 8, Cl));
1138
+ ], 8, In));
1126
1139
  }
1127
1140
  });
1128
- const Tl = {
1141
+ const Ln = {
1129
1142
  preserveAspectRatio: "xMidYMid meet",
1130
1143
  viewBox: "0 0 24 24",
1131
1144
  width: "1em",
1132
1145
  height: "1em"
1133
- }, Ll = /* @__PURE__ */ u("path", {
1146
+ }, Pn = /* @__PURE__ */ u("path", {
1134
1147
  fill: "currentColor",
1135
1148
  d: "m17 10l-5 6l-5-6h10z"
1136
- }, null, -1), Pl = [
1137
- Ll
1149
+ }, null, -1), Vn = [
1150
+ Pn
1138
1151
  ];
1139
- function zl(e, l) {
1140
- return s(), r("svg", Tl, Pl);
1152
+ function An(e, n) {
1153
+ return s(), r("svg", Ln, Vn);
1141
1154
  }
1142
- const Vl = { name: "mi-caret-down", render: zl };
1143
- function qe(e, l) {
1155
+ const zn = { name: "mi-caret-down", render: An };
1156
+ function qe(e, n) {
1144
1157
  function t({ code: i }) {
1145
1158
  var o;
1146
- const n = i;
1159
+ const l = i;
1147
1160
  (() => {
1148
- if (!(l != null && l.fallback))
1161
+ if (!(n != null && n.fallback))
1149
1162
  return !1;
1150
- const d = (c) => Array.isArray(c) ? !c.includes(n) : n !== c;
1151
- return l != null && l.exclude ? !e.hasOwnProperty(n) && d(l.exclude) : !e.hasOwnProperty(n);
1152
- })() && (l == null || l.fallback()), e.hasOwnProperty(n) && ((o = e[n]) == null || o.call(e));
1163
+ const d = (c) => Array.isArray(c) ? !c.includes(l) : l !== c;
1164
+ return n != null && n.exclude ? !e.hasOwnProperty(l) && d(n.exclude) : !e.hasOwnProperty(l);
1165
+ })() && (n == null || n.fallback()), e.hasOwnProperty(l) && ((o = e[l]) == null || o.call(e));
1153
1166
  }
1154
1167
  return {
1155
1168
  navigate: t
1156
1169
  };
1157
1170
  }
1158
- function Ke({ target: e, query: l }) {
1171
+ function Ke({ target: e, query: n }) {
1159
1172
  const t = ie({
1160
1173
  id: "",
1161
1174
  index: -1
@@ -1164,11 +1177,11 @@ function Ke({ target: e, query: l }) {
1164
1177
  const I = f != null ? f : t.index, y = e == null ? void 0 : e.value;
1165
1178
  f !== void 0 && (t.index = f), setTimeout(() => {
1166
1179
  var M;
1167
- const S = y.children[I], B = l && S.querySelector(l) ? S.querySelector(l) : S;
1180
+ const S = y.children[I], B = n && S.querySelector(n) ? S.querySelector(n) : S;
1168
1181
  t.id = (M = S == null ? void 0 : S.id) != null ? M : "", B == null || B.focus();
1169
1182
  }, 0);
1170
1183
  }
1171
- function n() {
1184
+ function l() {
1172
1185
  t.index > 0 && (t.index -= 1, i());
1173
1186
  }
1174
1187
  function a(f) {
@@ -1191,20 +1204,20 @@ function Ke({ target: e, query: l }) {
1191
1204
  isItemFocused: c,
1192
1205
  resetStateFocus: h,
1193
1206
  focusListItem: i,
1194
- focusOnPreviousItem: n,
1207
+ focusOnPreviousItem: l,
1195
1208
  focusOnNextItem: a,
1196
1209
  focusOnFirstItem: o,
1197
1210
  focusOnLastItem: d
1198
1211
  };
1199
1212
  }
1200
- const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], Dl = {
1213
+ const En = ["data-testid"], Dn = ["id"], Nn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], Rn = {
1201
1214
  key: 0,
1202
1215
  class: "container-tags"
1203
- }, Nl = {
1216
+ }, Hn = {
1204
1217
  key: 1,
1205
1218
  class: "mr-micro placeholder-inline",
1206
1219
  tabindex: "-1"
1207
- }, Rl = { class: "error" }, Hl = { class: "select-options-container" }, Ce = /* @__PURE__ */ O({
1220
+ }, pn = { class: "error" }, Fn = { class: "select-options-container" }, Ce = /* @__PURE__ */ O({
1208
1221
  __name: "Select",
1209
1222
  props: {
1210
1223
  id: null,
@@ -1224,51 +1237,51 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1224
1237
  placeholder: { default: "placeholder" }
1225
1238
  },
1226
1239
  emits: ["closeDropdown", "search", "update:selected"],
1227
- setup(e, { emit: l }) {
1228
- const t = e, i = z(), n = z(!1), a = z(""), o = p(
1240
+ setup(e, { emit: n }) {
1241
+ const t = e, i = V(), l = V(!1), a = V(""), o = D(
1229
1242
  () => {
1230
1243
  var g;
1231
1244
  return t.fetchOnSearch ? t.options : (g = t.options) == null ? void 0 : g.filter((w) => w.name.includes(a.value));
1232
1245
  }
1233
1246
  );
1234
1247
  Te(i, () => {
1235
- n.value && h();
1248
+ l.value && h();
1236
1249
  });
1237
1250
  function d() {
1238
- t.disabled || (n.value ? h() : c());
1251
+ t.disabled || (l.value ? h() : c());
1239
1252
  }
1240
1253
  function c() {
1241
- n.value = !0;
1254
+ l.value = !0;
1242
1255
  }
1243
1256
  function h() {
1244
- P(), l("closeDropdown");
1257
+ P(), n("closeDropdown");
1245
1258
  }
1246
1259
  function f(g) {
1247
1260
  if (Array.isArray(t.selected)) {
1248
1261
  const w = t.selected.findIndex(
1249
- ({ value: V }) => V === g.value
1262
+ ({ value: A }) => A === g.value
1250
1263
  );
1251
- 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);
1252
1265
  }
1253
1266
  return [g];
1254
1267
  }
1255
1268
  function I(g) {
1256
- t.multiple ? l("update:selected", f(g)) : l("update:selected", g), t.closeOnSelect && !t.multiple && h();
1269
+ t.multiple ? n("update:selected", f(g)) : n("update:selected", g), t.closeOnSelect && !t.multiple && h();
1257
1270
  }
1258
1271
  function y(g) {
1259
1272
  var w;
1260
- 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);
1261
1274
  }
1262
- const S = z(), B = z();
1275
+ const S = V(), B = V();
1263
1276
  function M() {
1264
1277
  var g;
1265
1278
  t.searchable && (v(), (g = S.value) == null || g.focus());
1266
1279
  }
1267
1280
  const {
1268
- elementFocus: N,
1281
+ elementFocus: R,
1269
1282
  focusOnFirstItem: he,
1270
1283
  focusOnLastItem: G,
1271
- focusOnNextItem: le,
1284
+ focusOnNextItem: ne,
1272
1285
  focusOnPreviousItem: b,
1273
1286
  resetStateFocus: v
1274
1287
  } = Ke({ target: B }), { navigate: C } = qe({
@@ -1276,7 +1289,7 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1276
1289
  End: () => G(t.options.length),
1277
1290
  ArrowUp: b,
1278
1291
  ArrowDown: () => {
1279
- !n.value && c(), le(t.options.length);
1292
+ !l.value && c(), ne(t.options.length);
1280
1293
  },
1281
1294
  Escape: h
1282
1295
  }, {
@@ -1284,14 +1297,14 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1284
1297
  exclude: ["Enter", "NumpadEnter", "Space"]
1285
1298
  });
1286
1299
  function P() {
1287
- n.value = !1, a.value = "", v();
1300
+ l.value = !1, a.value = "", v();
1288
1301
  }
1289
1302
  function F(g) {
1290
1303
  return (w) => {
1291
1304
  g === "search" ? S.value = w == null ? void 0 : w.input : B.value = w == null ? void 0 : w.list;
1292
1305
  };
1293
1306
  }
1294
- function H() {
1307
+ function p() {
1295
1308
  var w;
1296
1309
  const g = t.selected;
1297
1310
  return (w = g == null ? void 0 : g.name) != null ? w : t.placeholder;
@@ -1301,7 +1314,7 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1301
1314
  ref: i,
1302
1315
  class: k(["sol-select-core", { "-smaller": e.smallerWidth }]),
1303
1316
  "data-testid": `select-${e.id}`,
1304
- onKeydownPassive: w[3] || (w[3] = (...V) => $(C) && $(C)(...V))
1317
+ onKeydownPassive: w[3] || (w[3] = (...A) => $(C) && $(C)(...A))
1305
1318
  }, [
1306
1319
  m(g.$slots, "label", {
1307
1320
  id: `select-label-${e.id}`,
@@ -1311,7 +1324,7 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1311
1324
  key: 0,
1312
1325
  id: `select-label-${e.id}`,
1313
1326
  class: k(["label", { "-disabled": e.disabled }])
1314
- }, x(e.label), 11, El)) : T("", !0)
1327
+ }, x(e.label), 11, Dn)) : T("", !0)
1315
1328
  ]),
1316
1329
  u("button", {
1317
1330
  id: `select-toggle-${e.id}`,
@@ -1319,7 +1332,7 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1319
1332
  "data-testid": `select-toggle-${e.id}`,
1320
1333
  class: "select-button-toggle",
1321
1334
  "aria-haspopup": "listbox",
1322
- "aria-expanded": n.value,
1335
+ "aria-expanded": l.value,
1323
1336
  "aria-labelledby": `select-label-${e.id}`,
1324
1337
  "aria-label": e.ariaLabel,
1325
1338
  "aria-controls": `select-list-${e.id}`,
@@ -1327,36 +1340,36 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1327
1340
  }, [
1328
1341
  m(g.$slots, "toggle-dropdown", {
1329
1342
  toggle: { open: c, close: h, toggleDropdown: d },
1330
- isOpen: n.value,
1343
+ isOpen: l.value,
1331
1344
  select: I,
1332
1345
  selected: e.selected
1333
1346
  }, () => {
1334
- var V;
1347
+ var A;
1335
1348
  return [
1336
- e.multiple && Array.isArray(e.selected) && ((V = e.selected) == null ? void 0 : V.length) ? (s(), r("div", Dl, [
1337
- (s(!0), r(j, null, Z(e.selected, (A, fe) => (s(), R(ce, {
1338
- 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,
1339
1352
  key: fe,
1340
- label: A.name,
1341
- onClick: q((me) => I(A), ["stop"]),
1342
- onClose: (me) => I(A)
1353
+ label: z.name,
1354
+ onClick: q((me) => I(z), ["stop"]),
1355
+ onClose: (me) => I(z)
1343
1356
  }, null, 8, ["id", "label", "onClick", "onClose"]))), 128))
1344
- ])) : (s(), r("span", Nl, x(H()), 1)),
1345
- L($(Vl), {
1357
+ ])) : (s(), r("span", Hn, x(p()), 1)),
1358
+ L($(zn), {
1346
1359
  "aria-hidden": "true",
1347
1360
  tabindex: "-1",
1348
- class: k(["icon", { "-open": n.value }])
1361
+ class: k(["icon", { "-open": l.value }])
1349
1362
  }, null, 8, ["class"])
1350
1363
  ];
1351
1364
  })
1352
- ], 8, pl),
1353
- u("span", Rl, x(e.error), 1),
1365
+ ], 8, Nn),
1366
+ u("span", pn, x(e.error), 1),
1354
1367
  L(Me, {
1355
1368
  mode: "out-in",
1356
1369
  name: "dropdown"
1357
1370
  }, {
1358
1371
  default: E(() => [
1359
- Y(u("div", Hl, [
1372
+ Y(u("div", Fn, [
1360
1373
  m(g.$slots, "search", {}, () => [
1361
1374
  e.searchable ? (s(), r("div", {
1362
1375
  key: 0,
@@ -1367,32 +1380,32 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1367
1380
  id: `select-search-${e.id}`,
1368
1381
  ref: F("search"),
1369
1382
  modelValue: a.value,
1370
- "onUpdate:modelValue": w[0] || (w[0] = (V) => a.value = V),
1383
+ "onUpdate:modelValue": w[0] || (w[0] = (A) => a.value = A),
1371
1384
  "data-testid": `select-search-${e.id}`,
1372
1385
  role: "combobox",
1373
1386
  class: "search",
1374
1387
  "aria-autocomplete": "list",
1375
1388
  placeholder: e.searchPlaceholder,
1376
- "aria-expanded": n.value,
1389
+ "aria-expanded": l.value,
1377
1390
  "aria-haspopup": "listbox",
1378
1391
  "aria-owns": `select-list-${e.id}`,
1379
1392
  "aria-controls": `select-list-${e.id}`,
1380
- "aria-activedescendant": $(N).id,
1393
+ "aria-activedescendant": $(R).id,
1381
1394
  "aria-labelledby": `select-label-${e.id}`,
1382
1395
  onClick: w[1] || (w[1] = q(() => {
1383
1396
  }, ["stop"])),
1384
- onInput: w[2] || (w[2] = (V) => {
1385
- var A;
1386
- return l("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);
1387
1400
  })
1388
1401
  }, null, 8, ["id", "modelValue", "data-testid", "placeholder", "aria-expanded", "aria-owns", "aria-controls", "aria-activedescendant", "aria-labelledby"]),
1389
- L($(He), {
1402
+ L($(pe), {
1390
1403
  "aria-hidden": "true",
1391
1404
  class: "icon"
1392
1405
  })
1393
1406
  ])
1394
1407
  ], 2)) : T("", !0),
1395
- L(Ml, {
1408
+ L(Tn, {
1396
1409
  id: e.id,
1397
1410
  ref: F("list"),
1398
1411
  options: $(o),
@@ -1400,10 +1413,10 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1400
1413
  "is-selected": y,
1401
1414
  onSelect: I
1402
1415
  }, {
1403
- "item-list": E(({ text: V, value: A, option: fe, isSelected: me }) => [
1416
+ "item-list": E(({ text: A, value: z, option: fe, isSelected: me }) => [
1404
1417
  m(g.$slots, "default", {
1405
- text: V,
1406
- value: A,
1418
+ text: A,
1419
+ value: z,
1407
1420
  option: fe,
1408
1421
  isSelected: me
1409
1422
  })
@@ -1415,12 +1428,12 @@ const Al = ["data-testid"], El = ["id"], pl = ["id", "disabled", "data-testid",
1415
1428
  }, 8, ["id", "options", "multiple"])
1416
1429
  ])
1417
1430
  ], 512), [
1418
- [X, n.value]
1431
+ [X, l.value]
1419
1432
  ])
1420
1433
  ]),
1421
1434
  _: 3
1422
1435
  })
1423
- ], 42, Al));
1436
+ ], 42, En));
1424
1437
  }
1425
1438
  });
1426
1439
  Ce.install = (e) => {
@@ -1429,21 +1442,21 @@ Ce.install = (e) => {
1429
1442
  ce.install = (e) => {
1430
1443
  e.component("SolChip", ce);
1431
1444
  };
1432
- const Fl = {
1445
+ const qn = {
1433
1446
  preserveAspectRatio: "xMidYMid meet",
1434
1447
  viewBox: "0 0 24 24",
1435
1448
  width: "1em",
1436
1449
  height: "1em"
1437
- }, ql = /* @__PURE__ */ u("path", {
1450
+ }, Kn = /* @__PURE__ */ u("path", {
1438
1451
  fill: "currentColor",
1439
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"
1440
- }, null, -1), Kl = [
1441
- ql
1453
+ }, null, -1), Un = [
1454
+ Kn
1442
1455
  ];
1443
- function Ul(e, l) {
1444
- return s(), r("svg", Fl, Kl);
1456
+ function Gn(e, n) {
1457
+ return s(), r("svg", qn, Un);
1445
1458
  }
1446
- const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Ul }, Gl = ["id", "data-testid", "aria-disabled"], Ql = ["data-testid", "tabindex"], Yl = { class: "container-title" }, Wl = { class: "icon" }, jl = ["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({
1447
1460
  __name: "Accordion",
1448
1461
  props: {
1449
1462
  id: null,
@@ -1452,7 +1465,7 @@ const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Ul },
1452
1465
  disabled: { type: Boolean }
1453
1466
  },
1454
1467
  setup(e) {
1455
- return (l, t) => (s(), r("details", {
1468
+ return (n, t) => (s(), r("details", {
1456
1469
  id: `accordion-${e.id}`,
1457
1470
  "data-testid": `accordion-${e.id}`,
1458
1471
  class: k(["sol-accordion-core", { "-on-color": e.onColor, "-disabled": e.disabled }]),
@@ -1463,32 +1476,32 @@ const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Ul },
1463
1476
  class: "summary",
1464
1477
  tabindex: e.disabled ? -1 : 0
1465
1478
  }, [
1466
- u("div", Yl, [
1467
- u("span", Wl, [
1468
- m(l.$slots, "icon")
1479
+ u("div", Wn, [
1480
+ u("span", jn, [
1481
+ m(n.$slots, "icon")
1469
1482
  ]),
1470
- m(l.$slots, "title", {}, () => [
1471
- D(x(e.title), 1)
1483
+ m(n.$slots, "title", {}, () => [
1484
+ N(x(e.title), 1)
1472
1485
  ])
1473
1486
  ]),
1474
1487
  L($(Ue), {
1475
1488
  class: "icon",
1476
1489
  "aria-hidden": "true"
1477
1490
  })
1478
- ], 8, Ql),
1491
+ ], 8, Yn),
1479
1492
  u("div", {
1480
1493
  "data-testid": `accordion-content-${e.id}`,
1481
1494
  class: "accordion-content"
1482
1495
  }, [
1483
- m(l.$slots, "default")
1484
- ], 8, jl)
1485
- ], 10, Gl));
1496
+ m(n.$slots, "default")
1497
+ ], 8, Zn)
1498
+ ], 10, Qn));
1486
1499
  }
1487
1500
  });
1488
1501
  Ie.install = (e) => {
1489
1502
  e.component("SolAccordion", Ie);
1490
1503
  };
1491
- const Zl = ["id", "data-testid"], Jl = ["id", "aria-expanded"], Xl = ["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({
1492
1505
  __name: "Menu",
1493
1506
  props: {
1494
1507
  id: null,
@@ -1496,11 +1509,11 @@ const Zl = ["id", "data-testid"], Jl = ["id", "aria-expanded"], Xl = ["id", "dat
1496
1509
  position: { default: "bottom" }
1497
1510
  },
1498
1511
  setup(e) {
1499
- const l = z();
1500
- Te(l, () => {
1512
+ const n = V();
1513
+ Te(n, () => {
1501
1514
  I();
1502
1515
  });
1503
- const t = z(!1), i = z(), n = p(
1516
+ const t = V(!1), i = V(), l = D(
1504
1517
  () => i.value ? i.value.childElementCount : 0
1505
1518
  ), {
1506
1519
  resetStateFocus: a,
@@ -1510,10 +1523,10 @@ const Zl = ["id", "data-testid"], Jl = ["id", "aria-expanded"], Xl = ["id", "dat
1510
1523
  focusOnLastItem: h
1511
1524
  } = Ke({ target: i, query: '[role="menuitem"]' }), { navigate: f } = qe({
1512
1525
  Home: c,
1513
- End: () => h(n.value),
1526
+ End: () => h(l.value),
1514
1527
  ArrowUp: o,
1515
1528
  ArrowDown: () => {
1516
- !t.value && y(), d(n.value);
1529
+ !t.value && y(), d(l.value);
1517
1530
  },
1518
1531
  Escape: I
1519
1532
  });
@@ -1529,10 +1542,10 @@ const Zl = ["id", "data-testid"], Jl = ["id", "aria-expanded"], Xl = ["id", "dat
1529
1542
  return (B, M) => (s(), r("div", {
1530
1543
  id: `menu-${e.id}`,
1531
1544
  ref_key: "el",
1532
- ref: l,
1545
+ ref: n,
1533
1546
  "data-testid": `menu-${e.id}`,
1534
1547
  class: k([`-${e.position}`, "sol-menu-core"]),
1535
- onKeyupPassive: M[0] || (M[0] = (...N) => $(f) && $(f)(...N))
1548
+ onKeyupPassive: M[0] || (M[0] = (...R) => $(f) && $(f)(...R))
1536
1549
  }, [
1537
1550
  u("button", {
1538
1551
  id: `menu-button-${e.id}`,
@@ -1544,9 +1557,9 @@ const Zl = ["id", "data-testid"], Jl = ["id", "aria-expanded"], Xl = ["id", "dat
1544
1557
  onClick: S
1545
1558
  }, [
1546
1559
  m(B.$slots, "label", { isOpen: t.value }, () => [
1547
- D(x(e.label), 1)
1560
+ N(x(e.label), 1)
1548
1561
  ])
1549
- ], 8, Jl),
1562
+ ], 8, Xn),
1550
1563
  Y(u("menu", {
1551
1564
  id: `menu-container-${e.id}`,
1552
1565
  ref_key: "menu",
@@ -1557,16 +1570,16 @@ const Zl = ["id", "data-testid"], Jl = ["id", "aria-expanded"], Xl = ["id", "dat
1557
1570
  class: k(["menu", { "-open": t.value }])
1558
1571
  }, [
1559
1572
  m(B.$slots, "default", { close: I })
1560
- ], 10, Xl), [
1573
+ ], 10, _n), [
1561
1574
  [X, t.value]
1562
1575
  ])
1563
- ], 42, Zl));
1576
+ ], 42, Jn));
1564
1577
  }
1565
1578
  });
1566
1579
  re.install = (e) => {
1567
1580
  e.component("SolMenu", re);
1568
1581
  };
1569
- const _l = ["id"], en = ["href", "target"], ue = /* @__PURE__ */ O({
1582
+ const el = ["id"], tl = ["href", "target"], ue = /* @__PURE__ */ O({
1570
1583
  __name: "MenuItemLink",
1571
1584
  props: {
1572
1585
  id: null,
@@ -1577,22 +1590,22 @@ const _l = ["id"], en = ["href", "target"], ue = /* @__PURE__ */ O({
1577
1590
  external: null
1578
1591
  },
1579
1592
  emits: ["clicked"],
1580
- setup(e, { emit: l }) {
1593
+ setup(e, { emit: n }) {
1581
1594
  return (t, i) => {
1582
- var n;
1595
+ var l;
1583
1596
  return s(), r("li", {
1584
1597
  id: `menu-item-link-${e.id}`,
1585
1598
  class: "sol-menuitem-link-core",
1586
1599
  tabindex: "-1",
1587
1600
  role: "none",
1588
- onClick: i[0] || (i[0] = (a) => l("clicked")),
1601
+ onClick: i[0] || (i[0] = (a) => n("clicked")),
1589
1602
  onKeyup: [
1590
- i[1] || (i[1] = K((a) => l("clicked"), ["enter"])),
1591
- i[2] || (i[2] = K((a) => l("clicked"), ["space"]))
1603
+ i[1] || (i[1] = K((a) => n("clicked"), ["enter"])),
1604
+ i[2] || (i[2] = K((a) => n("clicked"), ["space"]))
1592
1605
  ]
1593
1606
  }, [
1594
1607
  m(t.$slots, "default", {
1595
- id: (n = e.linkId) != null ? n : e.id,
1608
+ id: (l = e.linkId) != null ? l : e.id,
1596
1609
  active: e.active,
1597
1610
  link: e.link,
1598
1611
  text: e.text,
@@ -1603,16 +1616,16 @@ const _l = ["id"], en = ["href", "target"], ue = /* @__PURE__ */ O({
1603
1616
  class: k({ "-active": e.active }),
1604
1617
  href: e.link,
1605
1618
  target: e.external ? "_blank" : "_parent"
1606
- }, x(e.text), 11, en)
1619
+ }, x(e.text), 11, tl)
1607
1620
  ])
1608
- ], 40, _l);
1621
+ ], 40, el);
1609
1622
  };
1610
1623
  }
1611
1624
  });
1612
1625
  ue.install = (e) => {
1613
1626
  e.component("SolMenuItemLink", ue);
1614
1627
  };
1615
- const tn = { class: "label-container" }, ln = { class: "label" }, Be = /* @__PURE__ */ O({
1628
+ const nl = { class: "label-container" }, ll = { class: "label" }, Be = /* @__PURE__ */ O({
1616
1629
  __name: "MenuNavigationLinks",
1617
1630
  props: {
1618
1631
  id: null,
@@ -1620,14 +1633,14 @@ const tn = { class: "label-container" }, ln = { class: "label" }, Be = /* @__PUR
1620
1633
  linkItems: null
1621
1634
  },
1622
1635
  setup(e) {
1623
- return (l, t) => (s(), R(re, {
1636
+ return (n, t) => (s(), H(re, {
1624
1637
  id: `navigation-${e.id}`,
1625
1638
  class: "sol-menu-navigation-links-core"
1626
1639
  }, {
1627
1640
  label: E(({ isOpen: i }) => [
1628
- m(l.$slots, "label", { isOpen: i }, () => [
1629
- u("div", tn, [
1630
- u("span", ln, x(e.label), 1),
1641
+ m(n.$slots, "label", { isOpen: i }, () => [
1642
+ u("div", nl, [
1643
+ u("span", ll, x(e.label), 1),
1631
1644
  L($(Ue), {
1632
1645
  class: k(["icon", { "-opened": i }]),
1633
1646
  "aria-hidden": "true"
@@ -1636,27 +1649,27 @@ const tn = { class: "label-container" }, ln = { class: "label" }, Be = /* @__PUR
1636
1649
  ])
1637
1650
  ]),
1638
1651
  default: E(({ close: i }) => [
1639
- (s(!0), r(j, null, Z(e.linkItems, (n, a) => {
1652
+ (s(!0), r(j, null, Z(e.linkItems, (l, a) => {
1640
1653
  var o;
1641
- return s(), R(ue, {
1642
- id: `${e.id}-${(o = n == null ? void 0 : n.id) != null ? o : n.text}`,
1654
+ return s(), H(ue, {
1655
+ id: `${e.id}-${(o = l == null ? void 0 : l.id) != null ? o : l.text}`,
1643
1656
  key: a,
1644
- "link-id": n.id,
1645
- text: n.text,
1646
- link: n.link,
1647
- external: n.external,
1648
- active: n.active,
1657
+ "link-id": l.id,
1658
+ text: l.text,
1659
+ link: l.link,
1660
+ external: l.external,
1661
+ active: l.active,
1649
1662
  onClicked: i
1650
1663
  }, {
1651
1664
  default: E(() => {
1652
1665
  var d;
1653
1666
  return [
1654
- m(l.$slots, "default", {
1655
- id: (d = n.id) != null ? d : e.id,
1656
- active: n.active,
1657
- link: n.link,
1658
- text: n.text,
1659
- external: n.external
1667
+ m(n.$slots, "default", {
1668
+ id: (d = l.id) != null ? d : e.id,
1669
+ active: l.active,
1670
+ link: l.link,
1671
+ text: l.text,
1672
+ external: l.external
1660
1673
  })
1661
1674
  ];
1662
1675
  }),
@@ -1679,39 +1692,39 @@ const Ge = 12, Q = {
1679
1692
  position: "top-right",
1680
1693
  hideProgressBar: !1
1681
1694
  };
1682
- function nn(e, l) {
1695
+ function il(e, n) {
1683
1696
  const t = ie({
1684
1697
  id: null,
1685
1698
  intervalId: null,
1686
1699
  startTime: 0,
1687
- remaining: l
1688
- }), i = z(100);
1689
- function n() {
1700
+ remaining: n
1701
+ }), i = V(100);
1702
+ function l() {
1690
1703
  clearInterval(t.intervalId), clearTimeout(t.id), t.remaining -= Date.now() - t.startTime;
1691
1704
  }
1692
1705
  function a() {
1693
1706
  t.startTime = Date.now(), clearTimeout(t.id), t.intervalId = setInterval(() => {
1694
1707
  i.value--;
1695
- }, l / 100 - 5), t.id = setTimeout(e, t.remaining);
1708
+ }, n / 100 - 5), t.id = setTimeout(e, t.remaining);
1696
1709
  }
1697
1710
  function o() {
1698
1711
  clearInterval(t.intervalId), clearTimeout(t.id), i.value = 100;
1699
1712
  }
1700
- return pe(() => {
1701
- if (l <= 0)
1713
+ return De(() => {
1714
+ if (n <= 0)
1702
1715
  return !1;
1703
1716
  }), Xe(() => {
1704
1717
  o();
1705
1718
  }), {
1706
1719
  start: a,
1707
- stop: n,
1720
+ stop: l,
1708
1721
  clear: o,
1709
1722
  progress: i
1710
1723
  };
1711
1724
  }
1712
- function an(e) {
1725
+ function al(e) {
1713
1726
  return {
1714
- stylePosition: p(() => {
1727
+ stylePosition: D(() => {
1715
1728
  const { position: t, offset: i } = e();
1716
1729
  switch (t) {
1717
1730
  case "top-left":
@@ -1755,56 +1768,56 @@ function an(e) {
1755
1768
  };
1756
1769
  }
1757
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 || {});
1758
- const on = {
1771
+ const ol = {
1759
1772
  preserveAspectRatio: "xMidYMid meet",
1760
1773
  viewBox: "0 0 24 24",
1761
1774
  width: "1em",
1762
1775
  height: "1em"
1763
- }, sn = /* @__PURE__ */ u("path", {
1776
+ }, sl = /* @__PURE__ */ u("path", {
1764
1777
  fill: "currentColor",
1765
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"
1766
- }, null, -1), dn = [
1767
- sn
1779
+ }, null, -1), dl = [
1780
+ sl
1768
1781
  ];
1769
- function cn(e, l) {
1770
- return s(), r("svg", on, dn);
1782
+ function cl(e, n) {
1783
+ return s(), r("svg", ol, dl);
1771
1784
  }
1772
- const rn = { name: "mi-circle-check", render: cn }, un = {
1785
+ const rl = { name: "mi-circle-check", render: cl }, ul = {
1773
1786
  preserveAspectRatio: "xMidYMid meet",
1774
1787
  viewBox: "0 0 24 24",
1775
1788
  width: "1em",
1776
1789
  height: "1em"
1777
- }, hn = /* @__PURE__ */ u("path", {
1790
+ }, hl = /* @__PURE__ */ u("path", {
1778
1791
  fill: "currentColor",
1779
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"
1780
- }, null, -1), fn = [
1781
- hn
1793
+ }, null, -1), fl = [
1794
+ hl
1782
1795
  ];
1783
- function mn(e, l) {
1784
- return s(), r("svg", un, fn);
1796
+ function ml(e, n) {
1797
+ return s(), r("svg", ul, fl);
1785
1798
  }
1786
- const vn = { name: "mi-circle-error", render: mn }, $n = {
1799
+ const vl = { name: "mi-circle-error", render: ml }, $l = {
1787
1800
  preserveAspectRatio: "xMidYMid meet",
1788
1801
  viewBox: "0 0 24 24",
1789
1802
  width: "1em",
1790
1803
  height: "1em"
1791
- }, bn = /* @__PURE__ */ u("g", { fill: "currentColor" }, [
1804
+ }, bl = /* @__PURE__ */ u("g", { fill: "currentColor" }, [
1792
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" }),
1793
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" })
1794
- ], -1), yn = [
1795
- bn
1807
+ ], -1), yl = [
1808
+ bl
1796
1809
  ];
1797
- function gn(e, l) {
1798
- return s(), r("svg", $n, yn);
1810
+ function gl(e, n) {
1811
+ return s(), r("svg", $l, yl);
1799
1812
  }
1800
- const wn = { name: "mi-circle-warning", render: gn }, kn = ["id", "data-testid"], xn = { class: "content-wrapper" }, Sn = {
1813
+ const wl = { name: "mi-circle-warning", render: gl }, kl = ["id", "data-testid"], xl = { class: "content-wrapper" }, Sl = {
1801
1814
  key: 0,
1802
1815
  class: "icon-container",
1803
1816
  "aria-hidden": "true"
1804
- }, Cn = { class: "content" }, In = {
1817
+ }, Cl = { class: "content" }, Il = {
1805
1818
  key: 0,
1806
1819
  class: "description"
1807
- }, Bn = ["data-testid"], On = /* @__PURE__ */ O({
1820
+ }, Bl = ["data-testid"], Ol = /* @__PURE__ */ O({
1808
1821
  __name: "Toast",
1809
1822
  props: {
1810
1823
  id: null,
@@ -1821,22 +1834,22 @@ const wn = { name: "mi-circle-warning", render: gn }, kn = ["id", "data-testid"]
1821
1834
  position: { default: Q.position }
1822
1835
  },
1823
1836
  setup(e) {
1824
- const l = e, { start: t, stop: i, progress: n } = nn(() => {
1837
+ const n = e, { start: t, stop: i, progress: l } = il(() => {
1825
1838
  var h;
1826
- (h = l.onCloseHandler) == null || h.call(l);
1827
- }, l.timeout), { stylePosition: a } = an(() => ({
1828
- offset: l.offset,
1829
- position: l.position
1830
- })), o = p(() => l.title && l.description);
1839
+ (h = n.onCloseHandler) == null || h.call(n);
1840
+ }, n.timeout), { stylePosition: a } = al(() => ({
1841
+ offset: n.offset,
1842
+ position: n.position
1843
+ })), o = D(() => n.title && n.description);
1831
1844
  function d() {
1832
- l.timeout > 0 && i();
1845
+ n.timeout > 0 && i();
1833
1846
  }
1834
1847
  function c() {
1835
1848
  t();
1836
1849
  }
1837
- return pe(() => {
1850
+ return De(() => {
1838
1851
  t();
1839
- }), (h, f) => (s(), R(Me, {
1852
+ }), (h, f) => (s(), H(Me, {
1840
1853
  name: $(Qe)[e.position],
1841
1854
  type: "animation"
1842
1855
  }, {
@@ -1857,34 +1870,34 @@ const wn = { name: "mi-circle-warning", render: gn }, kn = ["id", "data-testid"]
1857
1870
  onFocusin: d,
1858
1871
  onFocusout: c
1859
1872
  }, [
1860
- u("section", xn, [
1861
- e.showIcon ? (s(), r("div", Sn, [
1873
+ u("section", xl, [
1874
+ e.showIcon ? (s(), r("div", Sl, [
1862
1875
  m(h.$slots, "icon-status", { type: e.type }, () => [
1863
- e.type === "success" ? (s(), R($(rn), {
1876
+ e.type === "success" ? (s(), H($(rl), {
1864
1877
  key: 0,
1865
1878
  class: "icon"
1866
1879
  })) : T("", !0),
1867
- e.type === "info" ? (s(), R($(wn), {
1880
+ e.type === "info" ? (s(), H($(wl), {
1868
1881
  key: 1,
1869
1882
  class: "icon"
1870
1883
  })) : T("", !0),
1871
- e.type === "danger" ? (s(), R($(vn), {
1884
+ e.type === "danger" ? (s(), H($(vl), {
1872
1885
  key: 2,
1873
1886
  class: "icon"
1874
1887
  })) : T("", !0)
1875
1888
  ])
1876
1889
  ])) : T("", !0),
1877
- u("div", Cn, [
1890
+ u("div", Cl, [
1878
1891
  u("p", {
1879
1892
  class: k(["title", { "-multiline": $(o) }])
1880
1893
  }, [
1881
1894
  m(h.$slots, "title", {}, () => [
1882
- D(x(e.title), 1)
1895
+ N(x(e.title), 1)
1883
1896
  ])
1884
1897
  ], 2),
1885
- e.description ? (s(), r("p", In, [
1898
+ e.description ? (s(), r("p", Il, [
1886
1899
  m(h.$slots, "description", {}, () => [
1887
- D(x(e.description), 1)
1900
+ N(x(e.description), 1)
1888
1901
  ])
1889
1902
  ])) : T("", !0)
1890
1903
  ])
@@ -1897,14 +1910,14 @@ const wn = { name: "mi-circle-warning", render: gn }, kn = ["id", "data-testid"]
1897
1910
  onClick: f[0] || (f[0] = (...I) => e.onCloseHandler && e.onCloseHandler(...I))
1898
1911
  }, [
1899
1912
  L($(Fe), { class: "icon" })
1900
- ], 10, Bn),
1913
+ ], 10, Bl),
1901
1914
  e.hideProgressBar ? T("", !0) : (s(), r("div", {
1902
1915
  key: 0,
1903
1916
  class: "progressbar",
1904
1917
  "aria-hidden": "true",
1905
- style: ae({ width: `${$(n)}%` })
1918
+ style: ae({ width: `${$(l)}%` })
1906
1919
  }, null, 4))
1907
- ], 46, kn)) : T("", !0)
1920
+ ], 46, kl)) : T("", !0)
1908
1921
  ]),
1909
1922
  _: 3
1910
1923
  }, 8, ["name"]));
@@ -1918,11 +1931,11 @@ const ee = {
1918
1931
  "bottom-right": [],
1919
1932
  "bottom-center": []
1920
1933
  };
1921
- function An() {
1934
+ function zl() {
1922
1935
  let e = 0;
1923
- function l() {
1924
- Object.entries(ee).forEach(([i, n]) => {
1925
- n.length && n.forEach((a) => {
1936
+ function n() {
1937
+ Object.entries(ee).forEach(([i, l]) => {
1938
+ l.length && l.forEach((a) => {
1926
1939
  var d;
1927
1940
  const o = (d = a.toastVNode.props) == null ? void 0 : d.id;
1928
1941
  Oe(o, i);
@@ -1930,54 +1943,54 @@ function An() {
1930
1943
  });
1931
1944
  }
1932
1945
  return {
1933
- createToast: (i, n) => {
1934
- const a = e++, o = n ? Mn(n) : Q;
1935
- return n != null && n.showOneToast && l(), Tn(a, o, typeof i == "string" ? { title: i } : i), {
1946
+ createToast: (i, l) => {
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), {
1936
1949
  close: () => Oe(a, o.position)
1937
1950
  };
1938
1951
  },
1939
- clearAllToasts: l
1952
+ clearAllToasts: n
1940
1953
  };
1941
1954
  }
1942
- function Mn(e) {
1943
- const l = {
1955
+ function Ml(e) {
1956
+ const n = {
1944
1957
  ...Q,
1945
1958
  ...e,
1946
1959
  showIcon: e.showIcon
1947
1960
  };
1948
- return l.hideProgressBar = !!(l.timeout && (l == null ? void 0 : l.timeout) <= 0), e.hideProgressBar && (l.hideProgressBar = e.hideProgressBar), l;
1961
+ return n.hideProgressBar = !!(n.timeout && (n == null ? void 0 : n.timeout) <= 0), e.hideProgressBar && (n.hideProgressBar = e.hideProgressBar), n;
1949
1962
  }
1950
- function Tn(e, l, t) {
1963
+ function Tl(e, n, t) {
1951
1964
  setTimeout(() => {
1952
- const i = Pn(l, ee, Ge), n = document.createElement("div");
1953
- document.body.appendChild(n);
1965
+ const i = Pl(n, ee, Ge), l = document.createElement("div");
1966
+ document.body.appendChild(l);
1954
1967
  const a = L(
1955
- On,
1956
- Ln(l, e, i, Oe, t)
1968
+ Ol,
1969
+ Ll(n, e, i, Oe, t)
1957
1970
  );
1958
- De(a, n), ee[l.position].push({ toastVNode: a, container: n }), 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);
1959
1972
  }, 1);
1960
1973
  }
1961
- function Ln(e, l, t, i, n) {
1974
+ function Ll(e, n, t, i, l) {
1962
1975
  return {
1963
1976
  ...e,
1964
- ...n,
1965
- id: l,
1977
+ ...l,
1978
+ id: n,
1966
1979
  offset: t,
1967
1980
  visible: !1,
1968
1981
  onCloseHandler() {
1969
- i(l, e.position ? e.position : "top-right");
1982
+ i(n, e.position ? e.position : "top-right");
1970
1983
  }
1971
1984
  };
1972
1985
  }
1973
- function Pn(e, l, t) {
1986
+ function Pl(e, n, t) {
1974
1987
  if (!e.position)
1975
1988
  throw new Error("no position");
1976
- return l[e.position].reduce((i, { toastVNode: n }) => (i += n.el.offsetHeight + t || 0, i), t);
1989
+ return n[e.position].reduce((i, { toastVNode: l }) => (i += l.el.offsetHeight + t || 0, i), t);
1977
1990
  }
1978
- function zn(e, l, t, i) {
1979
- for (let n = e; n < l.length; n++) {
1980
- const { toastVNode: a } = l[n];
1991
+ function Vl(e, n, t, i) {
1992
+ for (let l = e; l < n.length; l++) {
1993
+ const { toastVNode: a } = n[l];
1981
1994
  if (!a.el)
1982
1995
  return;
1983
1996
  const o = t.split("-")[0] || "top", d = parseInt(a.el.style[o], 10) - i - Ge;
@@ -1986,9 +1999,9 @@ function zn(e, l, t, i) {
1986
1999
  a.component.props.offset = d;
1987
2000
  }
1988
2001
  }
1989
- function Oe(e, l) {
2002
+ function Oe(e, n) {
1990
2003
  var c;
1991
- const t = ee[l], i = t.findIndex(
2004
+ const t = ee[n], i = t.findIndex(
1992
2005
  ({ toastVNode: h }) => {
1993
2006
  var f;
1994
2007
  return e === ((f = h == null ? void 0 : h.props) == null ? void 0 : f.id);
@@ -1996,18 +2009,18 @@ function Oe(e, l) {
1996
2009
  );
1997
2010
  if (i === -1)
1998
2011
  return;
1999
- const { container: n, toastVNode: a } = t[i], o = (c = a == null ? void 0 : a.el) == null ? void 0 : c.offsetHeight;
2000
- if (ee[l].splice(i, 1), zn(i, t, l, o), !a.component)
2012
+ const { container: l, toastVNode: a } = t[i], o = (c = a == null ? void 0 : a.el) == null ? void 0 : c.offsetHeight;
2013
+ if (ee[n].splice(i, 1), Vl(i, t, n, o), !a.component)
2001
2014
  return;
2002
2015
  const d = a.component.props;
2003
2016
  d.visible = !1, d.onClose && d.onClose(), setTimeout(() => {
2004
- De(null, n), document.body.removeChild(n);
2017
+ Ne(null, l), document.body.removeChild(l);
2005
2018
  }, 1e3);
2006
2019
  }
2007
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");
2008
- const Ae = {
2021
+ const ze = {
2009
2022
  SolButton: _,
2010
- SolButtonDestructive: Ne,
2023
+ SolButtonDestructive: Re,
2011
2024
  SolInput: W,
2012
2025
  SolTextarea: be,
2013
2026
  SolTextfield: oe,
@@ -2025,14 +2038,14 @@ const Ae = {
2025
2038
  SolMenuItemLink: ue,
2026
2039
  SolMenuNavigationLinks: Be
2027
2040
  };
2028
- function En(e) {
2029
- for (const l in Ae)
2030
- e.component(l, Ae[l]);
2041
+ function El(e) {
2042
+ for (const n in ze)
2043
+ e.component(n, ze[n]);
2031
2044
  }
2032
2045
  export {
2033
2046
  Ie as SolAccordion,
2034
2047
  _ as SolButton,
2035
- Ne as SolButtonDestructive,
2048
+ Re as SolButtonDestructive,
2036
2049
  de as SolCheckbox,
2037
2050
  ge as SolCheckboxGroup,
2038
2051
  ce as SolChip,
@@ -2048,7 +2061,7 @@ export {
2048
2061
  be as SolTextarea,
2049
2062
  oe as SolTextfield,
2050
2063
  $e as SolTextfieldPassword,
2051
- Ae as components,
2052
- En as install,
2053
- An as useToast
2064
+ ze as components,
2065
+ El as install,
2066
+ zl as useToast
2054
2067
  };