@solfacil/girassol 0.2.10 → 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.
Files changed (26) hide show
  1. package/dist/girassol.es.js +340 -317
  2. package/dist/girassol.umd.js +2 -2
  3. package/dist/style.css +1 -1
  4. package/dist/theme/solfacil/miscs.d.ts +7 -0
  5. package/dist/theme/solfacil/spacing.d.ts +3 -0
  6. package/dist/types/components/forms/button/{Button.vue.d.ts → button/Button.vue.d.ts} +0 -0
  7. package/dist/types/components/forms/button/{button.spec.d.ts → button/button.spec.d.ts} +0 -0
  8. package/dist/types/components/forms/button/{ButtonDestructive.vue.d.ts → button-destructive/ButtonDestructive.vue.d.ts} +0 -0
  9. package/dist/types/components/forms/button/index.d.ts +2 -2
  10. package/dist/types/components/forms/checkbox/{Checkbox.vue.d.ts → checkbox/Checkbox.vue.d.ts} +12 -8
  11. package/dist/types/components/forms/checkbox/{checkbox.spec.d.ts → checkbox/checkbox.spec.d.ts} +0 -0
  12. package/dist/types/components/forms/checkbox/{CheckboxGroup.vue.d.ts → checkbox-group/CheckboxGroup.vue.d.ts} +12 -12
  13. package/dist/types/components/forms/checkbox/{checkbox-group.spec.d.ts → checkbox-group/checkbox-group.spec.d.ts} +0 -0
  14. package/dist/types/components/forms/checkbox/index.d.ts +2 -2
  15. package/dist/types/components/forms/checkbox/{checkbox-type.d.ts → type.d.ts} +1 -0
  16. package/dist/types/components/forms/radio/index.d.ts +2 -2
  17. package/dist/types/components/forms/radio/{Radio.vue.d.ts → radio/Radio.vue.d.ts} +8 -8
  18. package/dist/types/components/forms/radio/{radio.spec.d.ts → radio/radio.spec.d.ts} +0 -0
  19. package/dist/types/components/forms/radio/{RadioGroup.vue.d.ts → radio-group/RadioGroup.vue.d.ts} +14 -14
  20. package/dist/types/components/forms/radio/{radio-group.spec.d.ts → radio-group/radio-group.spec.d.ts} +0 -0
  21. package/dist/types/components/forms/radio/{radio-type.d.ts → types.d.ts} +0 -0
  22. package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +4 -0
  23. package/dist/types/components/menus/menu-item/menu-item-link/types.d.ts +1 -0
  24. package/dist/types/index.d.ts +108 -84
  25. package/package.json +20 -18
  26. package/theme/solfacil/spacing.ts +2 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, openBlock as s, createElementBlock as r, normalizeClass as x, 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 k, 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"
@@ -12,7 +12,7 @@ const _e = /* @__PURE__ */ u("path", {
12
12
  },
13
13
  setup(e) {
14
14
  return (n, t) => (s(), r("svg", {
15
- class: x(["sol-inner-loader", `-${e.size}`]),
15
+ class: k(["sol-inner-loader", `-${e.size}`]),
16
16
  viewBox: "0 0 32 32",
17
17
  fill: "none",
18
18
  xmlns: "http://www.w3.org/2000/svg"
@@ -36,14 +36,14 @@ 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", {
45
45
  "data-testid": `button-${e.id}`,
46
- class: x(["sol-button-core", `-${e.variant} -${e.size}
46
+ class: k(["sol-button-core", `-${e.variant} -${e.size}
47
47
  ${n(e.loading, "-loading-helper")}
48
48
  ${n(e.onColor, "-on-color")}
49
49
  ${n($(i), "-has-icon")}
@@ -136,7 +136,7 @@ const ut = ["id", "data-testid", "value"], W = /* @__PURE__ */ O({
136
136
  ref: l,
137
137
  "data-testid": `input-${e.id}`,
138
138
  value: e.modelValue,
139
- class: x(["sol-input-core", { "-invert": e.invert, "-error": e.error }]),
139
+ class: k(["sol-input-core", { "-invert": e.invert, "-error": e.error }]),
140
140
  onInput: i
141
141
  }, null, 42, ut));
142
142
  }
@@ -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);
@@ -174,7 +174,7 @@ const ht = ["id", "data-testid"], ft = ["for"], mt = { class: "container-input"
174
174
  return s(), r("div", {
175
175
  id: `textfield-${e.id}`,
176
176
  "data-testid": `textfield-${e.id}`,
177
- class: x([[`${(c = o.$props.class) != null ? c : ""}`, { "-invert": e.invert }], "sol-textfield-core"])
177
+ class: k([[`${(c = o.$props.class) != null ? c : ""}`, { "-invert": e.invert }], "sol-textfield-core"])
178
178
  }, [
179
179
  m(o.$slots, "label", {}, () => [
180
180
  e.label ? (s(), r("label", {
@@ -182,7 +182,7 @@ const ht = ["id", "data-testid"], ft = ["for"], mt = { class: "container-input"
182
182
  for: `input-${e.id}`,
183
183
  class: "label"
184
184
  }, [
185
- u("span", null, k(e.label), 1)
185
+ u("span", null, x(e.label), 1)
186
186
  ], 8, ft)) : T("", !0)
187
187
  ]),
188
188
  u("div", mt, [
@@ -204,11 +204,11 @@ const ht = ["id", "data-testid"], ft = ["for"], mt = { class: "container-input"
204
204
  key: 0,
205
205
  id: `hint-${e.id}`,
206
206
  class: "hint"
207
- }, k(e.hint), 9, vt)) : e.error ? (s(), r("span", {
207
+ }, x(e.hint), 9, vt)) : e.error ? (s(), r("span", {
208
208
  key: 1,
209
209
  id: `error-${e.id}`,
210
210
  class: "error"
211
- }, k(e.error), 9, $t)) : T("", !0)
211
+ }, x(e.error), 9, $t)) : T("", !0)
212
212
  ], 10, ht);
213
213
  };
214
214
  }
@@ -227,7 +227,7 @@ const bt = {
227
227
  function wt(e, n) {
228
228
  return s(), r("svg", bt, gt);
229
229
  }
230
- const xt = { name: "mi-eye", render: wt }, kt = {
230
+ const kt = { name: "mi-eye", render: wt }, xt = {
231
231
  preserveAspectRatio: "xMidYMid meet",
232
232
  viewBox: "0 0 24 24",
233
233
  width: "1em",
@@ -238,17 +238,17 @@ const xt = { name: "mi-eye", render: wt }, kt = {
238
238
  }, null, -1), Ct = [
239
239
  St
240
240
  ];
241
- function Bt(e, n) {
242
- return s(), r("svg", kt, Ct);
241
+ function It(e, n) {
242
+ return s(), r("svg", xt, Ct);
243
243
  }
244
- const It = { name: "mi-eye-off", render: Bt }, Ot = ["aria-label"], $e = /* @__PURE__ */ O({
244
+ const Bt = { name: "mi-eye-off", render: It }, Ot = ["aria-label"], $e = /* @__PURE__ */ O({
245
245
  __name: "TextfieldPassword",
246
246
  props: {
247
247
  id: { default: "" },
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, {
@@ -265,10 +265,10 @@ const It = { name: "mi-eye-off", render: Bt }, Ot = ["aria-label"], $e = /* @__P
265
265
  "aria-label": n.value ? "Hide password" : "Show password",
266
266
  onClick: l[0] || (l[0] = (a) => n.value = !n.value)
267
267
  }, [
268
- Y(L($(xt), { "aria-hidden": "true" }, null, 512), [
268
+ Y(L($(kt), { "aria-hidden": "true" }, null, 512), [
269
269
  [X, n.value]
270
270
  ]),
271
- Y(L($(It), { "aria-hidden": "true" }, null, 512), [
271
+ Y(L($(Bt), { "aria-hidden": "true" }, null, 512), [
272
272
  [X, !n.value]
273
273
  ])
274
274
  ], 8, Ot)
@@ -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);
@@ -314,7 +314,7 @@ const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textare
314
314
  return s(), r("div", {
315
315
  id: `textarea-${e.id}`,
316
316
  "data-testid": `textarea-${e.id}`,
317
- class: x([[`${(c = o.$props.class) != null ? c : ""}`, { "-invert": e.invert }], "sol-textarea-core"])
317
+ class: k([[`${(c = o.$props.class) != null ? c : ""}`, { "-invert": e.invert }], "sol-textarea-core"])
318
318
  }, [
319
319
  m(o.$slots, "label", {}, () => [
320
320
  e.label ? (s(), r("label", {
@@ -322,7 +322,7 @@ const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textare
322
322
  for: `input-${e.id}`,
323
323
  class: "label"
324
324
  }, [
325
- u("span", null, k(e.label), 1)
325
+ u("span", null, x(e.label), 1)
326
326
  ], 8, Tt)) : T("", !0)
327
327
  ]),
328
328
  u("div", Lt, [
@@ -345,11 +345,11 @@ const Mt = ["id", "data-testid"], Tt = ["for"], Lt = { class: "container-textare
345
345
  key: 0,
346
346
  id: `hint-${e.id}`,
347
347
  class: "hint"
348
- }, k(e.hint), 9, zt)) : e.error ? (s(), r("span", {
348
+ }, x(e.hint), 9, zt)) : e.error ? (s(), r("span", {
349
349
  key: 1,
350
350
  id: `error-${e.id}`,
351
351
  class: "error"
352
- }, k(e.error), 9, Vt)) : T("", !0)
352
+ }, x(e.error), 9, Vt)) : 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 At = ["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,
@@ -370,7 +373,7 @@ const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], se =
370
373
  emits: ["change"],
371
374
  setup(e, { emit: n }) {
372
375
  return (t, i) => (s(), r("div", {
373
- class: x(["sol-radio-core", t.$props.class])
376
+ class: k(["sol-radio-core", t.$props.class])
374
377
  }, [
375
378
  u("input", U(t.$attrs, {
376
379
  id: `radio-${e.name}-${e.id}`,
@@ -385,11 +388,11 @@ const At = ["id", "data-testid", "checked", "value", "name"], Et = ["for"], se =
385
388
  u("label", {
386
389
  class: "label",
387
390
  for: `radio-${e.name}-${e.id}`
388
- }, k(e.label), 9, Et)
391
+ }, x(e.label), 9, Et)
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 pt = ["aria-labelledby"], Nt = ["id", "data-testid"], Rt = ["id", "data-testid"], Ht = ["id", "data-testid"], ye = /* @__PURE__ */ O({
393
396
  __name: "RadioGroup",
394
397
  props: {
395
398
  id: null,
@@ -408,7 +411,7 @@ const pt = ["aria-labelledby"], Dt = ["id", "data-testid"], Nt = ["id"], Rt = ["
408
411
  return !!d && !c;
409
412
  }
410
413
  function l(d, c) {
411
- 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;
412
415
  }
413
416
  function a(d) {
414
417
  return (t == null ? void 0 : t.modelValue) === d;
@@ -425,22 +428,22 @@ const pt = ["aria-labelledby"], Dt = ["id", "data-testid"], Nt = ["id"], Rt = ["
425
428
  }, () => [
426
429
  u("legend", {
427
430
  id: `radio-group-title-${e.id}`,
428
- class: x(["title", { "sr-only": e.hideTitle }]),
431
+ class: k(["title", { "sr-only": e.hideTitle }]),
429
432
  "data-testid": `radio-group-title-${e.id}`
430
- }, k(e.title), 11, Dt)
433
+ }, x(e.title), 11, Nt)
431
434
  ]),
432
435
  u("ul", {
433
- class: x(["container-radios", { "flex-col": e.direction === "column" }])
436
+ class: k(["container-radios", { "flex-col": e.direction === "column" }])
434
437
  }, [
435
438
  m(d.$slots, "default", {
436
439
  radios: e.radios,
437
440
  direction: e.direction
438
441
  }, () => [
439
442
  (s(!0), r(j, null, Z(e.radios, (h, f) => {
440
- var B;
443
+ var I;
441
444
  return s(), r("li", { key: f }, [
442
445
  L(se, U(d.$attrs, {
443
- id: (B = h == null ? void 0 : h.id) != null ? B : `${h.value}`,
446
+ id: (I = h == null ? void 0 : h.id) != null ? I : `${h.value}`,
444
447
  class: ["radio", { "mb-micro": e.direction === "column", "mr-micro": e.direction === "row" }],
445
448
  name: h.name,
446
449
  value: h.value,
@@ -456,13 +459,15 @@ 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
- }, k(e.hint), 9, Nt)) : e.error ? (s(), r("p", {
465
+ }, x(e.hint), 9, Rt)) : 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
- }, k(e.error), 9, Rt)) : T("", !0)
470
+ }, x(e.error), 9, Ht)) : T("", !0)
466
471
  ], 8, pt));
467
472
  }
468
473
  });
@@ -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
495
  setup(e, { emit: n }) {
487
496
  return (t, i) => (s(), r("div", {
488
- class: x(["sol-checkbox-core", t.$props.class])
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
508
  onChange: i[0] || (i[0] = (l) => n("change", e.value))
499
- }), null, 16, Ht),
509
+ }), null, 16, Ft),
500
510
  u("label", {
501
511
  class: "label",
502
512
  for: `checkbox-${e.name}-${e.id}`
503
- }, k(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,
@@ -523,7 +533,7 @@ const qt = ["aria-labelledby"], Kt = ["id", "data-testid"], Ut = ["id"], Gt = ["
523
533
  return !!c && !h;
524
534
  }
525
535
  function l(c, h) {
526
- 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;
527
537
  }
528
538
  function a(c) {
529
539
  var h;
@@ -535,7 +545,7 @@ const qt = ["aria-labelledby"], Kt = ["id", "data-testid"], Ut = ["id"], Gt = ["
535
545
  function d(c) {
536
546
  var f;
537
547
  n("change", c.value);
538
- const h = a(c.value) ? (f = t.modelValue) == null ? void 0 : f.filter((B) => B !== c.value) : o(c.value);
548
+ const h = a(c.value) ? (f = t.modelValue) == null ? void 0 : f.filter((I) => I !== c.value) : o(c.value);
539
549
  n("update:modelValue", h);
540
550
  }
541
551
  return (c, h) => (s(), r("fieldset", {
@@ -547,20 +557,20 @@ const qt = ["aria-labelledby"], Kt = ["id", "data-testid"], Ut = ["id"], Gt = ["
547
557
  }, () => [
548
558
  u("legend", {
549
559
  id: `checkbox-group-title-${e.id}`,
550
- class: x(["title", { "sr-only": e.hideTitle }]),
560
+ class: k(["title", { "sr-only": e.hideTitle }]),
551
561
  "data-testid": `checkbox-group-title-${e.id}`
552
- }, k(e.title), 11, Kt)
562
+ }, x(e.title), 11, Gt)
553
563
  ]),
554
564
  u("ul", {
555
- class: x(["container-checkboxes", { "flex-col": e.direction === "column" }])
565
+ class: k(["container-checkboxes", { "flex-col": e.direction === "column" }])
556
566
  }, [
557
567
  m(c.$slots, "default", {
558
568
  checkboxes: e.checkboxes,
559
569
  direction: e.direction
560
570
  }, () => [
561
- (s(!0), r(j, null, Z(e.checkboxes, (f, B) => {
571
+ (s(!0), r(j, null, Z(e.checkboxes, (f, I) => {
562
572
  var y;
563
- return s(), r("li", { key: B }, [
573
+ return s(), r("li", { key: I }, [
564
574
  L(de, U(c.$attrs, {
565
575
  id: (y = f == null ? void 0 : f.id) != null ? y : `${f.value}`,
566
576
  class: ["checkbox", { "mb-micro": e.direction === "column", "mr-micro": e.direction === "row" }],
@@ -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
- }, k(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
- }, k(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", "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({
598
610
  __name: "Switch",
599
611
  props: {
600
612
  id: null,
@@ -609,15 +621,15 @@ const Qt = ["id", "for", "data-testid"], Yt = { class: "switch-container" }, Wt
609
621
  emits: ["change"],
610
622
  setup(e, { emit: n }) {
611
623
  return (t, i) => (s(), r("div", {
612
- class: x(["sol-switch-core", [t.$props.class, { "-horizontal": e.horizontalLabel }]])
624
+ class: k(["sol-switch-core", [t.$props.class, { "-horizontal": e.horizontalLabel }]])
613
625
  }, [
614
626
  u("label", {
615
627
  id: `switch-label-${e.name}-${e.id}`,
616
- class: x(["label", { "mb-1": !e.horizontalLabel, "sr-only": e.hideLabel }]),
628
+ class: k(["label", { "mb-1": !e.horizontalLabel, "sr-only": e.hideLabel }]),
617
629
  for: `switch-${e.name}-${e.id}`,
618
630
  "data-testid": `switch-label-${e.name}-${e.id}`
619
- }, k(e.label), 11, Qt),
620
- u("div", Yt, [
631
+ }, x(e.label), 11, Wt),
632
+ u("div", jt, [
621
633
  u("input", U(t.$attrs, {
622
634
  id: `switch-${e.name}-${e.id}`,
623
635
  type: "checkbox",
@@ -630,8 +642,8 @@ const Qt = ["id", "for", "data-testid"], Yt = { class: "switch-container" }, Wt
630
642
  value: e.value,
631
643
  name: e.name,
632
644
  onChange: i[0] || (i[0] = (l) => n("change", e.value))
633
- }), null, 16, Wt),
634
- jt
645
+ }), null, 16, Zt),
646
+ Jt
635
647
  ])
636
648
  ], 2));
637
649
  }
@@ -640,21 +652,21 @@ we.install = (e) => {
640
652
  e.component("SolSwitch", we);
641
653
  };
642
654
  var Le;
643
- const te = typeof window < "u", Zt = (e) => typeof e == "string", ve = () => {
655
+ const te = typeof window < "u", Xt = (e) => typeof e == "string", ve = () => {
644
656
  };
645
657
  te && ((Le = window == null ? void 0 : window.navigator) == null ? void 0 : Le.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
646
- function Jt(e) {
658
+ function _t(e) {
647
659
  return typeof e == "function" ? e() : $(e);
648
660
  }
649
- function Xt(e) {
661
+ function en(e) {
650
662
  return e;
651
663
  }
652
- function _t(e) {
664
+ function tn(e) {
653
665
  return je() ? (Ze(e), !0) : !1;
654
666
  }
655
667
  function J(e) {
656
668
  var n;
657
- const t = Jt(e);
669
+ const t = _t(e);
658
670
  return (n = t == null ? void 0 : t.$el) != null ? n : t;
659
671
  }
660
672
  const Re = te ? window : void 0;
@@ -663,7 +675,7 @@ te && window.navigator;
663
675
  te && window.location;
664
676
  function le(...e) {
665
677
  let n, t, i, l;
666
- if (Zt(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)
667
679
  return ve;
668
680
  let a = ve;
669
681
  const o = Je(() => J(n), (c) => {
@@ -673,7 +685,7 @@ function le(...e) {
673
685
  }, { immediate: !0, flush: "post" }), d = () => {
674
686
  o(), a();
675
687
  };
676
- return _t(d), d;
688
+ return tn(d), d;
677
689
  }
678
690
  function Te(e, n, t = {}) {
679
691
  const { window: i = Re, ignore: l, capture: a = !0, detectIframe: o = !1 } = t;
@@ -683,10 +695,10 @@ function Te(e, n, t = {}) {
683
695
  let c;
684
696
  const h = (y) => {
685
697
  i.clearTimeout(c);
686
- const S = J(e), I = y.composedPath();
687
- !S || S === y.target || I.includes(S) || !d.value || l && l.length > 0 && l.some((M) => {
698
+ const S = J(e), B = y.composedPath();
699
+ !S || S === y.target || B.includes(S) || !d.value || l && l.length > 0 && l.some((M) => {
688
700
  const N = J(M);
689
- return N && (y.target === N || I.includes(N));
701
+ return N && (y.target === N || B.includes(N));
690
702
  }) || n(y);
691
703
  }, f = [
692
704
  le(i, "click", h, { passive: !0, capture: a }),
@@ -702,28 +714,28 @@ function Te(e, n, t = {}) {
702
714
  }, { passive: !0 }),
703
715
  o && le(i, "blur", (y) => {
704
716
  var S;
705
- const I = J(e);
706
- ((S = document.activeElement) == null ? void 0 : S.tagName) === "IFRAME" && !(I != null && I.contains(document.activeElement)) && n(y);
717
+ const B = J(e);
718
+ ((S = document.activeElement) == null ? void 0 : S.tagName) === "IFRAME" && !(B != null && B.contains(document.activeElement)) && n(y);
707
719
  })
708
720
  ].filter(Boolean);
709
721
  return () => f.forEach((y) => y());
710
722
  }
711
- const xe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ke = "__vueuse_ssr_handlers__";
712
- xe[ke] = xe[ke] || {};
713
- xe[ke];
723
+ const ke = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, xe = "__vueuse_ssr_handlers__";
724
+ ke[xe] = ke[xe] || {};
725
+ ke[xe];
714
726
  var Pe;
715
727
  (function(e) {
716
728
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
717
729
  })(Pe || (Pe = {}));
718
- var en = Object.defineProperty, ze = Object.getOwnPropertySymbols, tn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, Ve = (e, n, t) => n in e ? en(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, ln = (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) => {
719
731
  for (var t in n || (n = {}))
720
- tn.call(n, t) && Ve(e, t, n[t]);
732
+ ln.call(n, t) && Ve(e, t, n[t]);
721
733
  if (ze)
722
734
  for (var t of ze(n))
723
- nn.call(n, t) && Ve(e, t, n[t]);
735
+ an.call(n, t) && Ve(e, t, n[t]);
724
736
  return e;
725
737
  };
726
- const an = {
738
+ const sn = {
727
739
  easeInSine: [0.12, 0, 0.39, 0],
728
740
  easeOutSine: [0.61, 1, 0.88, 1],
729
741
  easeInOutSine: [0.37, 0, 0.63, 1],
@@ -749,27 +761,27 @@ const an = {
749
761
  easeOutBack: [0.34, 1.56, 0.64, 1],
750
762
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
751
763
  };
752
- ln({
753
- linear: Xt
754
- }, an);
755
- const on = {
764
+ on({
765
+ linear: en
766
+ }, sn);
767
+ const dn = {
756
768
  preserveAspectRatio: "xMidYMid meet",
757
769
  viewBox: "0 0 24 24",
758
770
  width: "1em",
759
771
  height: "1em"
760
- }, sn = /* @__PURE__ */ u("path", {
772
+ }, cn = /* @__PURE__ */ u("path", {
761
773
  fill: "currentColor",
762
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"
763
- }, null, -1), dn = [
764
- sn
775
+ }, null, -1), rn = [
776
+ cn
765
777
  ];
766
- function cn(e, n) {
767
- return s(), r("svg", on, dn);
778
+ function un(e, n) {
779
+ return s(), r("svg", dn, rn);
768
780
  }
769
- const He = { 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 = {
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 = {
770
782
  key: 0,
771
783
  class: "no-data"
772
- }, bn = /* @__PURE__ */ D(" Sem dados "), Se = /* @__PURE__ */ O({
784
+ }, gn = /* @__PURE__ */ p(" Sem dados "), Se = /* @__PURE__ */ O({
773
785
  __name: "Dropdown",
774
786
  props: {
775
787
  id: null,
@@ -788,14 +800,14 @@ const He = { name: "mi-search", render: cn }, rn = ["data-testid"], un = ["id",
788
800
  },
789
801
  emits: ["closeDropdown", "search", "update:selected"],
790
802
  setup(e, { emit: n }) {
791
- 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(
792
804
  () => {
793
805
  var b;
794
806
  return t.fetchOnSearch ? t.options : (b = t.options) == null ? void 0 : b.filter(
795
807
  (v) => typeof v == "string" ? v.includes(a.value) : v.name.includes(a.value)
796
808
  );
797
809
  }
798
- ), d = p(
810
+ ), d = D(
799
811
  () => Array.isArray(t.selected) ? t.selected.join(", ").trim() : t.selected
800
812
  );
801
813
  Te(i, () => {
@@ -810,18 +822,18 @@ const He = { name: "mi-search", render: cn }, rn = ["data-testid"], un = ["id",
810
822
  function f() {
811
823
  he(), n("closeDropdown");
812
824
  }
813
- function B(b) {
825
+ function I(b) {
814
826
  const v = new Set(t.selected);
815
827
  return v.has(b) ? v.delete(b) : v.add(b), [...v];
816
828
  }
817
829
  function y(b) {
818
- const v = typeof b == "string" ? b : b.value, C = t.isMultipleSelect ? B(v) : v;
830
+ const v = typeof b == "string" ? b : b.value, C = t.isMultipleSelect ? I(v) : v;
819
831
  n("update:selected", C), t.closeOnSelect && !t.isMultipleSelect && f();
820
832
  }
821
833
  function S(b) {
822
834
  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;
823
835
  }
824
- const I = ie({
836
+ const B = ie({
825
837
  list: void 0,
826
838
  search: void 0
827
839
  }), M = ie({
@@ -833,12 +845,12 @@ const He = { name: "mi-search", render: cn }, rn = ["data-testid"], un = ["id",
833
845
  const F = P != null ? P : M.index;
834
846
  P !== void 0 && (M.index = P), setTimeout(() => {
835
847
  var g, w;
836
- const H = (g = I.list) == null ? void 0 : g.children[F];
848
+ const H = (g = B.list) == null ? void 0 : g.children[F];
837
849
  M.id = (w = H == null ? void 0 : H.id) != null ? w : "", H == null || H.focus();
838
850
  }, 0);
839
851
  }, C = () => {
840
852
  var P;
841
- t.searchable && (M.index = 0, (P = I == null ? void 0 : I.search) == null || P.focus());
853
+ t.searchable && (M.index = 0, (P = B == null ? void 0 : B.search) == null || P.focus());
842
854
  };
843
855
  switch (b) {
844
856
  case "ArrowUp":
@@ -862,21 +874,21 @@ const He = { name: "mi-search", render: cn }, rn = ["data-testid"], un = ["id",
862
874
  return typeof b == "string" ? b : b[v != null ? v : "value"];
863
875
  }
864
876
  function ne(b, v) {
865
- I[b] = v != null ? v : void 0;
877
+ B[b] = v != null ? v : void 0;
866
878
  }
867
879
  return (b, v) => (s(), r("div", {
868
880
  ref_key: "el",
869
881
  ref: i,
870
- class: x(["sol-dropdown-core", { "-smaller": e.smallerWidth }]),
882
+ class: k(["sol-dropdown-core", { "-smaller": e.smallerWidth }]),
871
883
  "data-testid": `dropdown-${e.id}`,
872
884
  onKeydownPassive: N
873
885
  }, [
874
886
  m(b.$slots, "label", {}, () => [
875
887
  u("label", {
876
888
  id: `label-dropdown-${e.id}`,
877
- class: x(["label", { "-disabled": e.disabled, "sr-only": e.ariaLabel }]),
889
+ class: k(["label", { "-disabled": e.disabled, "sr-only": e.ariaLabel }]),
878
890
  for: `toggle-dropdown-${e.id}`
879
- }, k(e.label || e.ariaLabel), 11, un)
891
+ }, x(e.label || e.ariaLabel), 11, fn)
880
892
  ]),
881
893
  u("button", {
882
894
  id: `toggle-dropdown-${e.id}`,
@@ -897,18 +909,18 @@ const He = { name: "mi-search", render: cn }, rn = ["data-testid"], un = ["id",
897
909
  selectedSanitized: $(d),
898
910
  selected: e.selected
899
911
  }, () => [
900
- D(k($(d) || "Selecione"), 1)
912
+ p(x($(d) || "Selecione"), 1)
901
913
  ])
902
- ], 8, hn),
914
+ ], 8, mn),
903
915
  L(Me, {
904
916
  mode: "out-in",
905
917
  name: "dropdown"
906
918
  }, {
907
919
  default: E(() => [
908
- Y(u("div", fn, [
920
+ Y(u("div", vn, [
909
921
  e.searchable ? (s(), r("div", {
910
922
  key: 0,
911
- class: x(["search-container", { "-loading": e.loading }])
923
+ class: k(["search-container", { "-loading": e.loading }])
912
924
  }, [
913
925
  m(b.$slots, "search", { filter: a.value }, () => [
914
926
  L(W, {
@@ -971,42 +983,42 @@ const He = { name: "mi-search", render: cn }, rn = ["data-testid"], un = ["id",
971
983
  option: C,
972
984
  isSelect: S
973
985
  }, () => [
974
- D(k(G(C, "name")), 1)
986
+ p(x(G(C, "name")), 1)
975
987
  ])
976
- ], 44, vn))), 128)),
977
- $(o).length ? T("", !0) : (s(), r("li", $n, [
988
+ ], 44, bn))), 128)),
989
+ $(o).length ? T("", !0) : (s(), r("li", yn, [
978
990
  m(b.$slots, "no-data", {}, () => [
979
- bn
991
+ gn
980
992
  ])
981
993
  ]))
982
- ], 8, mn)
994
+ ], 8, $n)
983
995
  ], 512), [
984
996
  [X, l.value]
985
997
  ])
986
998
  ]),
987
999
  _: 3
988
1000
  })
989
- ], 42, rn));
1001
+ ], 42, hn));
990
1002
  }
991
1003
  });
992
1004
  Se.install = (e) => {
993
1005
  e.component("SolDropdown", Se);
994
1006
  };
995
- const yn = {
1007
+ const wn = {
996
1008
  preserveAspectRatio: "xMidYMid meet",
997
1009
  viewBox: "0 0 24 24",
998
1010
  width: "1em",
999
1011
  height: "1em"
1000
- }, gn = /* @__PURE__ */ u("path", {
1012
+ }, kn = /* @__PURE__ */ u("path", {
1001
1013
  fill: "currentColor",
1002
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"
1003
- }, null, -1), wn = [
1004
- gn
1015
+ }, null, -1), xn = [
1016
+ kn
1005
1017
  ];
1006
- function xn(e, n) {
1007
- return s(), r("svg", yn, wn);
1018
+ function Sn(e, n) {
1019
+ return s(), r("svg", wn, xn);
1008
1020
  }
1009
- const Fe = { name: "mi-close", render: xn }, kn = ["id", "data-testid", "title", "aria-describedby", "aria-disabled", "onKeydown"], Sn = ["id"], Cn = { 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({
1010
1022
  __name: "Chip",
1011
1023
  props: {
1012
1024
  id: null,
@@ -1035,7 +1047,7 @@ const Fe = { name: "mi-close", render: xn }, kn = ["id", "data-testid", "title",
1035
1047
  return (l, a) => (s(), r("div", {
1036
1048
  id: `chip-${e.id}`,
1037
1049
  "data-testid": `chip-${e.id}`,
1038
- class: x(["sol-chip-core", { "-selected": e.selected, "-disabled": e.disabled }]),
1050
+ class: k(["sol-chip-core", { "-selected": e.selected, "-disabled": e.disabled }]),
1039
1051
  tabindex: "0",
1040
1052
  title: e.label,
1041
1053
  "aria-describedby": `chip-description-${e.id}`,
@@ -1047,10 +1059,10 @@ const Fe = { name: "mi-close", render: xn }, kn = ["id", "data-testid", "title",
1047
1059
  id: `chip-description-${e.id}`,
1048
1060
  "z-index": "-1",
1049
1061
  class: "sr-only"
1050
- }, "Press Delete or Backspace to remove this Chip", 8, Sn),
1051
- u("span", Cn, [
1062
+ }, "Press Delete or Backspace to remove this Chip", 8, In),
1063
+ u("span", Bn, [
1052
1064
  m(l.$slots, "default", {}, () => [
1053
- D(k(e.label), 1)
1065
+ p(x(e.label), 1)
1054
1066
  ])
1055
1067
  ]),
1056
1068
  e.removable ? (s(), r("i", {
@@ -1062,13 +1074,13 @@ const Fe = { name: "mi-close", render: xn }, kn = ["id", "data-testid", "title",
1062
1074
  }, [
1063
1075
  L($(Fe), { class: "icon" })
1064
1076
  ])) : T("", !0)
1065
- ], 42, kn));
1077
+ ], 42, Cn));
1066
1078
  }
1067
1079
  });
1068
- const Bn = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], In = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], On = {
1080
+ const On = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], Mn = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], Tn = {
1069
1081
  key: 0,
1070
1082
  class: "no-data"
1071
- }, Mn = /* @__PURE__ */ D(" Sem dados "), Tn = /* @__PURE__ */ O({
1083
+ }, Ln = /* @__PURE__ */ p(" Sem dados "), Pn = /* @__PURE__ */ O({
1072
1084
  __name: "ListOption",
1073
1085
  props: {
1074
1086
  id: null,
@@ -1114,32 +1126,32 @@ const Bn = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], In
1114
1126
  option: o,
1115
1127
  isSelected: e.isSelected(o)
1116
1128
  }, () => [
1117
- D(k(o.name), 1)
1129
+ p(x(o.name), 1)
1118
1130
  ])
1119
- ], 44, In))), 128)),
1120
- e.options.length ? T("", !0) : (s(), r("li", On, [
1131
+ ], 44, Mn))), 128)),
1132
+ e.options.length ? T("", !0) : (s(), r("li", Tn, [
1121
1133
  m(l.$slots, "no-data", {}, () => [
1122
- Mn
1134
+ Ln
1123
1135
  ])
1124
1136
  ]))
1125
- ], 8, Bn));
1137
+ ], 8, On));
1126
1138
  }
1127
1139
  });
1128
- const Ln = {
1140
+ const zn = {
1129
1141
  preserveAspectRatio: "xMidYMid meet",
1130
1142
  viewBox: "0 0 24 24",
1131
1143
  width: "1em",
1132
1144
  height: "1em"
1133
- }, Pn = /* @__PURE__ */ u("path", {
1145
+ }, Vn = /* @__PURE__ */ u("path", {
1134
1146
  fill: "currentColor",
1135
1147
  d: "m17 10l-5 6l-5-6h10z"
1136
- }, null, -1), zn = [
1137
- Pn
1148
+ }, null, -1), An = [
1149
+ Vn
1138
1150
  ];
1139
- function Vn(e, n) {
1140
- return s(), r("svg", Ln, zn);
1151
+ function En(e, n) {
1152
+ return s(), r("svg", zn, An);
1141
1153
  }
1142
- const An = { name: "mi-caret-down", render: Vn };
1154
+ const Dn = { name: "mi-caret-down", render: En };
1143
1155
  function qe(e, n) {
1144
1156
  function t({ code: i }) {
1145
1157
  var o;
@@ -1161,11 +1173,11 @@ function Ke({ target: e, query: n }) {
1161
1173
  index: -1
1162
1174
  });
1163
1175
  function i(f) {
1164
- const B = f != null ? f : t.index, y = e == null ? void 0 : e.value;
1176
+ const I = f != null ? f : t.index, y = e == null ? void 0 : e.value;
1165
1177
  f !== void 0 && (t.index = f), setTimeout(() => {
1166
1178
  var M;
1167
- const S = y.children[B], I = n && S.querySelector(n) ? S.querySelector(n) : S;
1168
- t.id = (M = S == null ? void 0 : S.id) != null ? M : "", I == null || I.focus();
1179
+ const S = y.children[I], B = n && S.querySelector(n) ? S.querySelector(n) : S;
1180
+ t.id = (M = S == null ? void 0 : S.id) != null ? M : "", B == null || B.focus();
1169
1181
  }, 0);
1170
1182
  }
1171
1183
  function l() {
@@ -1197,14 +1209,14 @@ function Ke({ target: e, query: n }) {
1197
1209
  focusOnLastItem: d
1198
1210
  };
1199
1211
  }
1200
- const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], Nn = {
1212
+ const pn = ["data-testid"], Nn = ["id"], Rn = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"], Hn = {
1201
1213
  key: 0,
1202
1214
  class: "container-tags"
1203
- }, Rn = {
1215
+ }, Fn = {
1204
1216
  key: 1,
1205
1217
  class: "mr-micro placeholder-inline",
1206
1218
  tabindex: "-1"
1207
- }, Hn = { class: "error" }, Fn = { class: "select-options-container" }, Ce = /* @__PURE__ */ O({
1219
+ }, qn = { class: "error" }, Kn = { class: "select-options-container" }, Ce = /* @__PURE__ */ O({
1208
1220
  __name: "Select",
1209
1221
  props: {
1210
1222
  id: null,
@@ -1225,7 +1237,7 @@ const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid",
1225
1237
  },
1226
1238
  emits: ["closeDropdown", "search", "update:selected"],
1227
1239
  setup(e, { emit: n }) {
1228
- 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(
1229
1241
  () => {
1230
1242
  var g;
1231
1243
  return t.fetchOnSearch ? t.options : (g = t.options) == null ? void 0 : g.filter((w) => w.name.includes(a.value));
@@ -1252,14 +1264,14 @@ const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid",
1252
1264
  }
1253
1265
  return [g];
1254
1266
  }
1255
- function B(g) {
1267
+ function I(g) {
1256
1268
  t.multiple ? n("update:selected", f(g)) : n("update:selected", g), t.closeOnSelect && !t.multiple && h();
1257
1269
  }
1258
1270
  function y(g) {
1259
1271
  var w;
1260
1272
  return Array.isArray(t.selected) ? t.selected.some(({ value: V }) => V === g.value) : g.value === ((w = t.selected) == null ? void 0 : w.value);
1261
1273
  }
1262
- const S = z(), I = z();
1274
+ const S = z(), B = z();
1263
1275
  function M() {
1264
1276
  var g;
1265
1277
  t.searchable && (v(), (g = S.value) == null || g.focus());
@@ -1271,7 +1283,7 @@ const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid",
1271
1283
  focusOnNextItem: ne,
1272
1284
  focusOnPreviousItem: b,
1273
1285
  resetStateFocus: v
1274
- } = Ke({ target: I }), { navigate: C } = qe({
1286
+ } = Ke({ target: B }), { navigate: C } = qe({
1275
1287
  Home: he,
1276
1288
  End: () => G(t.options.length),
1277
1289
  ArrowUp: b,
@@ -1288,7 +1300,7 @@ const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid",
1288
1300
  }
1289
1301
  function F(g) {
1290
1302
  return (w) => {
1291
- g === "search" ? S.value = w == null ? void 0 : w.input : I.value = w == null ? void 0 : w.list;
1303
+ g === "search" ? S.value = w == null ? void 0 : w.input : B.value = w == null ? void 0 : w.list;
1292
1304
  };
1293
1305
  }
1294
1306
  function H() {
@@ -1299,7 +1311,7 @@ const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid",
1299
1311
  return (g, w) => (s(), r("div", {
1300
1312
  ref_key: "el",
1301
1313
  ref: i,
1302
- class: x(["sol-select-core", { "-smaller": e.smallerWidth }]),
1314
+ class: k(["sol-select-core", { "-smaller": e.smallerWidth }]),
1303
1315
  "data-testid": `select-${e.id}`,
1304
1316
  onKeydownPassive: w[3] || (w[3] = (...V) => $(C) && $(C)(...V))
1305
1317
  }, [
@@ -1310,8 +1322,8 @@ const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid",
1310
1322
  e.label ? (s(), r("label", {
1311
1323
  key: 0,
1312
1324
  id: `select-label-${e.id}`,
1313
- class: x(["label", { "-disabled": e.disabled }])
1314
- }, k(e.label), 11, pn)) : T("", !0)
1325
+ class: k(["label", { "-disabled": e.disabled }])
1326
+ }, x(e.label), 11, Nn)) : T("", !0)
1315
1327
  ]),
1316
1328
  u("button", {
1317
1329
  id: `select-toggle-${e.id}`,
@@ -1328,39 +1340,39 @@ const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid",
1328
1340
  m(g.$slots, "toggle-dropdown", {
1329
1341
  toggle: { open: c, close: h, toggleDropdown: d },
1330
1342
  isOpen: l.value,
1331
- select: B,
1343
+ select: I,
1332
1344
  selected: e.selected
1333
1345
  }, () => {
1334
1346
  var V;
1335
1347
  return [
1336
- e.multiple && Array.isArray(e.selected) && ((V = e.selected) == null ? void 0 : V.length) ? (s(), r("div", Nn, [
1348
+ e.multiple && Array.isArray(e.selected) && ((V = e.selected) == null ? void 0 : V.length) ? (s(), r("div", Hn, [
1337
1349
  (s(!0), r(j, null, Z(e.selected, (A, fe) => (s(), R(ce, {
1338
1350
  id: A.value,
1339
1351
  key: fe,
1340
1352
  label: A.name,
1341
- onClick: q((me) => B(A), ["stop"]),
1342
- onClose: (me) => B(A)
1353
+ onClick: q((me) => I(A), ["stop"]),
1354
+ onClose: (me) => I(A)
1343
1355
  }, null, 8, ["id", "label", "onClick", "onClose"]))), 128))
1344
- ])) : (s(), r("span", Rn, k(H()), 1)),
1345
- L($(An), {
1356
+ ])) : (s(), r("span", Fn, x(H()), 1)),
1357
+ L($(Dn), {
1346
1358
  "aria-hidden": "true",
1347
1359
  tabindex: "-1",
1348
- class: x(["icon", { "-open": l.value }])
1360
+ class: k(["icon", { "-open": l.value }])
1349
1361
  }, null, 8, ["class"])
1350
1362
  ];
1351
1363
  })
1352
- ], 8, Dn),
1353
- u("span", Hn, k(e.error), 1),
1364
+ ], 8, Rn),
1365
+ u("span", qn, x(e.error), 1),
1354
1366
  L(Me, {
1355
1367
  mode: "out-in",
1356
1368
  name: "dropdown"
1357
1369
  }, {
1358
1370
  default: E(() => [
1359
- Y(u("div", Fn, [
1371
+ Y(u("div", Kn, [
1360
1372
  m(g.$slots, "search", {}, () => [
1361
1373
  e.searchable ? (s(), r("div", {
1362
1374
  key: 0,
1363
- class: x(["search-container", { "-loading": e.loading }])
1375
+ class: k(["search-container", { "-loading": e.loading }])
1364
1376
  }, [
1365
1377
  m(g.$slots, "search", { filter: a.value }, () => [
1366
1378
  L(W, {
@@ -1392,13 +1404,13 @@ const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid",
1392
1404
  })
1393
1405
  ])
1394
1406
  ], 2)) : T("", !0),
1395
- L(Tn, {
1407
+ L(Pn, {
1396
1408
  id: e.id,
1397
1409
  ref: F("list"),
1398
1410
  options: $(o),
1399
1411
  multiple: e.multiple,
1400
1412
  "is-selected": y,
1401
- onSelect: B
1413
+ onSelect: I
1402
1414
  }, {
1403
1415
  "item-list": E(({ text: V, value: A, option: fe, isSelected: me }) => [
1404
1416
  m(g.$slots, "default", {
@@ -1420,7 +1432,7 @@ const En = ["data-testid"], pn = ["id"], Dn = ["id", "disabled", "data-testid",
1420
1432
  ]),
1421
1433
  _: 3
1422
1434
  })
1423
- ], 42, En));
1435
+ ], 42, pn));
1424
1436
  }
1425
1437
  });
1426
1438
  Ce.install = (e) => {
@@ -1429,21 +1441,21 @@ Ce.install = (e) => {
1429
1441
  ce.install = (e) => {
1430
1442
  e.component("SolChip", ce);
1431
1443
  };
1432
- const qn = {
1444
+ const Un = {
1433
1445
  preserveAspectRatio: "xMidYMid meet",
1434
1446
  viewBox: "0 0 24 24",
1435
1447
  width: "1em",
1436
1448
  height: "1em"
1437
- }, Kn = /* @__PURE__ */ u("path", {
1449
+ }, Gn = /* @__PURE__ */ u("path", {
1438
1450
  fill: "currentColor",
1439
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"
1440
- }, null, -1), Un = [
1441
- Kn
1452
+ }, null, -1), Qn = [
1453
+ Gn
1442
1454
  ];
1443
- function Gn(e, n) {
1444
- return s(), r("svg", qn, Un);
1455
+ function Yn(e, n) {
1456
+ return s(), r("svg", Un, Qn);
1445
1457
  }
1446
- 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"], Be = /* @__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({
1447
1459
  __name: "Accordion",
1448
1460
  props: {
1449
1461
  id: null,
@@ -1455,7 +1467,7 @@ const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Gn },
1455
1467
  return (n, t) => (s(), r("details", {
1456
1468
  id: `accordion-${e.id}`,
1457
1469
  "data-testid": `accordion-${e.id}`,
1458
- class: x(["sol-accordion-core", { "-on-color": e.onColor, "-disabled": e.disabled }]),
1470
+ class: k(["sol-accordion-core", { "-on-color": e.onColor, "-disabled": e.disabled }]),
1459
1471
  "aria-disabled": e.disabled
1460
1472
  }, [
1461
1473
  u("summary", {
@@ -1463,32 +1475,32 @@ const Ue = { name: "material-symbols-keyboard-arrow-down-rounded", render: Gn },
1463
1475
  class: "summary",
1464
1476
  tabindex: e.disabled ? -1 : 0
1465
1477
  }, [
1466
- u("div", Wn, [
1467
- u("span", jn, [
1478
+ u("div", Zn, [
1479
+ u("span", Jn, [
1468
1480
  m(n.$slots, "icon")
1469
1481
  ]),
1470
1482
  m(n.$slots, "title", {}, () => [
1471
- D(k(e.title), 1)
1483
+ p(x(e.title), 1)
1472
1484
  ])
1473
1485
  ]),
1474
1486
  L($(Ue), {
1475
1487
  class: "icon",
1476
1488
  "aria-hidden": "true"
1477
1489
  })
1478
- ], 8, Yn),
1490
+ ], 8, jn),
1479
1491
  u("div", {
1480
1492
  "data-testid": `accordion-content-${e.id}`,
1481
1493
  class: "accordion-content"
1482
1494
  }, [
1483
1495
  m(n.$slots, "default")
1484
- ], 8, Zn)
1485
- ], 10, Qn));
1496
+ ], 8, Xn)
1497
+ ], 10, Wn));
1486
1498
  }
1487
1499
  });
1488
- Be.install = (e) => {
1489
- e.component("SolAccordion", Be);
1500
+ Ie.install = (e) => {
1501
+ e.component("SolAccordion", Ie);
1490
1502
  };
1491
- const Jn = ["id", "data-testid"], Xn = ["id", "aria-expanded"], _n = ["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({
1492
1504
  __name: "Menu",
1493
1505
  props: {
1494
1506
  id: null,
@@ -1498,9 +1510,9 @@ const Jn = ["id", "data-testid"], Xn = ["id", "aria-expanded"], _n = ["id", "dat
1498
1510
  setup(e) {
1499
1511
  const n = z();
1500
1512
  Te(n, () => {
1501
- B();
1513
+ I();
1502
1514
  });
1503
- const t = z(!1), i = z(), l = p(
1515
+ const t = z(!1), i = z(), l = D(
1504
1516
  () => i.value ? i.value.childElementCount : 0
1505
1517
  ), {
1506
1518
  resetStateFocus: a,
@@ -1515,23 +1527,23 @@ const Jn = ["id", "data-testid"], Xn = ["id", "aria-expanded"], _n = ["id", "dat
1515
1527
  ArrowDown: () => {
1516
1528
  !t.value && y(), d(l.value);
1517
1529
  },
1518
- Escape: B
1530
+ Escape: I
1519
1531
  });
1520
- function B() {
1532
+ function I() {
1521
1533
  t.value = !1, a();
1522
1534
  }
1523
1535
  function y() {
1524
1536
  t.value = !0;
1525
1537
  }
1526
1538
  function S() {
1527
- t.value ? B() : y();
1539
+ t.value ? I() : y();
1528
1540
  }
1529
- return (I, M) => (s(), r("div", {
1541
+ return (B, M) => (s(), r("div", {
1530
1542
  id: `menu-${e.id}`,
1531
1543
  ref_key: "el",
1532
1544
  ref: n,
1533
1545
  "data-testid": `menu-${e.id}`,
1534
- class: x([`-${e.position}`, "sol-menu-core"]),
1546
+ class: k([`-${e.position}`, "sol-menu-core"]),
1535
1547
  onKeyupPassive: M[0] || (M[0] = (...N) => $(f) && $(f)(...N))
1536
1548
  }, [
1537
1549
  u("button", {
@@ -1543,10 +1555,10 @@ const Jn = ["id", "data-testid"], Xn = ["id", "aria-expanded"], _n = ["id", "dat
1543
1555
  "aria-expanded": t.value,
1544
1556
  onClick: S
1545
1557
  }, [
1546
- m(I.$slots, "label", { isOpen: t.value }, () => [
1547
- D(k(e.label), 1)
1558
+ m(B.$slots, "label", { isOpen: t.value }, () => [
1559
+ p(x(e.label), 1)
1548
1560
  ])
1549
- ], 8, Xn),
1561
+ ], 8, el),
1550
1562
  Y(u("menu", {
1551
1563
  id: `menu-container-${e.id}`,
1552
1564
  ref_key: "menu",
@@ -1554,22 +1566,23 @@ const Jn = ["id", "data-testid"], Xn = ["id", "aria-expanded"], _n = ["id", "dat
1554
1566
  "data-testid": `menu-container-${e.id}`,
1555
1567
  role: "menu",
1556
1568
  "aria-labelledby": `menu-button-${e.id}`,
1557
- class: x(["menu", { "-open": t.value }])
1569
+ class: k(["menu", { "-open": t.value }])
1558
1570
  }, [
1559
- m(I.$slots, "default", { close: B })
1560
- ], 10, _n), [
1571
+ m(B.$slots, "default", { close: I })
1572
+ ], 10, tl), [
1561
1573
  [X, t.value]
1562
1574
  ])
1563
- ], 42, Jn));
1575
+ ], 42, _n));
1564
1576
  }
1565
1577
  });
1566
1578
  re.install = (e) => {
1567
1579
  e.component("SolMenu", re);
1568
1580
  };
1569
- const el = ["id"], tl = ["href", "target"], ue = /* @__PURE__ */ O({
1581
+ const nl = ["id"], ll = ["href", "target"], ue = /* @__PURE__ */ O({
1570
1582
  __name: "MenuItemLink",
1571
1583
  props: {
1572
1584
  id: null,
1585
+ linkId: null,
1573
1586
  text: null,
1574
1587
  link: null,
1575
1588
  active: null,
@@ -1577,38 +1590,41 @@ const el = ["id"], tl = ["href", "target"], ue = /* @__PURE__ */ O({
1577
1590
  },
1578
1591
  emits: ["clicked"],
1579
1592
  setup(e, { emit: n }) {
1580
- return (t, i) => (s(), r("li", {
1581
- id: `menu-item-link-${e.id}`,
1582
- class: "sol-menuitem-link-core",
1583
- tabindex: "-1",
1584
- role: "none",
1585
- onClick: i[0] || (i[0] = (l) => n("clicked")),
1586
- onKeyup: [
1587
- i[1] || (i[1] = K((l) => n("clicked"), ["enter"])),
1588
- i[2] || (i[2] = K((l) => n("clicked"), ["space"]))
1589
- ]
1590
- }, [
1591
- m(t.$slots, "default", {
1592
- id: e.id,
1593
- active: e.active,
1594
- link: e.link,
1595
- text: e.text,
1596
- external: e.external
1597
- }, () => [
1598
- u("a", {
1599
- role: "menuitem",
1600
- class: x({ "-active": e.active }),
1601
- href: e.link,
1602
- target: e.external ? "_blank" : "_parent"
1603
- }, k(e.text), 11, tl)
1604
- ])
1605
- ], 40, el));
1593
+ return (t, i) => {
1594
+ var l;
1595
+ return s(), r("li", {
1596
+ id: `menu-item-link-${e.id}`,
1597
+ class: "sol-menuitem-link-core",
1598
+ tabindex: "-1",
1599
+ role: "none",
1600
+ onClick: i[0] || (i[0] = (a) => n("clicked")),
1601
+ onKeyup: [
1602
+ i[1] || (i[1] = K((a) => n("clicked"), ["enter"])),
1603
+ i[2] || (i[2] = K((a) => n("clicked"), ["space"]))
1604
+ ]
1605
+ }, [
1606
+ m(t.$slots, "default", {
1607
+ id: (l = e.linkId) != null ? l : e.id,
1608
+ active: e.active,
1609
+ link: e.link,
1610
+ text: e.text,
1611
+ external: e.external
1612
+ }, () => [
1613
+ u("a", {
1614
+ role: "menuitem",
1615
+ class: k({ "-active": e.active }),
1616
+ href: e.link,
1617
+ target: e.external ? "_blank" : "_parent"
1618
+ }, x(e.text), 11, ll)
1619
+ ])
1620
+ ], 40, nl);
1621
+ };
1606
1622
  }
1607
1623
  });
1608
1624
  ue.install = (e) => {
1609
1625
  e.component("SolMenuItemLink", ue);
1610
1626
  };
1611
- const nl = { class: "label-container" }, ll = { class: "label" }, Ie = /* @__PURE__ */ O({
1627
+ const il = { class: "label-container" }, al = { class: "label" }, Be = /* @__PURE__ */ O({
1612
1628
  __name: "MenuNavigationLinks",
1613
1629
  props: {
1614
1630
  id: null,
@@ -1622,43 +1638,50 @@ const nl = { class: "label-container" }, ll = { class: "label" }, Ie = /* @__PUR
1622
1638
  }, {
1623
1639
  label: E(({ isOpen: i }) => [
1624
1640
  m(n.$slots, "label", { isOpen: i }, () => [
1625
- u("div", nl, [
1626
- u("span", ll, k(e.label), 1),
1641
+ u("div", il, [
1642
+ u("span", al, x(e.label), 1),
1627
1643
  L($(Ue), {
1628
- class: x(["icon", { "-opened": i }]),
1644
+ class: k(["icon", { "-opened": i }]),
1629
1645
  "aria-hidden": "true"
1630
1646
  }, null, 8, ["class"])
1631
1647
  ])
1632
1648
  ])
1633
1649
  ]),
1634
1650
  default: E(({ close: i }) => [
1635
- (s(!0), r(j, null, Z(e.linkItems, (l, a) => (s(), R(ue, {
1636
- id: `${e.id}-${l.text}`,
1637
- key: a,
1638
- text: l.text,
1639
- link: l.link,
1640
- external: l.external,
1641
- active: l.active,
1642
- onClicked: i
1643
- }, {
1644
- default: E(() => [
1645
- m(n.$slots, "default", {
1646
- id: e.id,
1647
- active: l.active,
1648
- link: l.link,
1649
- text: l.text,
1650
- external: l.external
1651
- })
1652
- ]),
1653
- _: 2
1654
- }, 1032, ["id", "text", "link", "external", "active", "onClicked"]))), 128))
1651
+ (s(!0), r(j, null, Z(e.linkItems, (l, a) => {
1652
+ var o;
1653
+ return s(), R(ue, {
1654
+ id: `${e.id}-${(o = l == null ? void 0 : l.id) != null ? o : l.text}`,
1655
+ key: a,
1656
+ "link-id": l.id,
1657
+ text: l.text,
1658
+ link: l.link,
1659
+ external: l.external,
1660
+ active: l.active,
1661
+ onClicked: i
1662
+ }, {
1663
+ default: E(() => {
1664
+ var d;
1665
+ return [
1666
+ m(n.$slots, "default", {
1667
+ id: (d = l.id) != null ? d : e.id,
1668
+ active: l.active,
1669
+ link: l.link,
1670
+ text: l.text,
1671
+ external: l.external
1672
+ })
1673
+ ];
1674
+ }),
1675
+ _: 2
1676
+ }, 1032, ["id", "link-id", "text", "link", "external", "active", "onClicked"]);
1677
+ }), 128))
1655
1678
  ]),
1656
1679
  _: 3
1657
1680
  }, 8, ["id"]));
1658
1681
  }
1659
1682
  });
1660
- Ie.install = (e) => {
1661
- e.component("SolMenuNavigationLinks", Ie);
1683
+ Be.install = (e) => {
1684
+ e.component("SolMenuNavigationLinks", Be);
1662
1685
  };
1663
1686
  const Ge = 12, Q = {
1664
1687
  type: "success",
@@ -1668,7 +1691,7 @@ const Ge = 12, Q = {
1668
1691
  position: "top-right",
1669
1692
  hideProgressBar: !1
1670
1693
  };
1671
- function il(e, n) {
1694
+ function ol(e, n) {
1672
1695
  const t = ie({
1673
1696
  id: null,
1674
1697
  intervalId: null,
@@ -1686,7 +1709,7 @@ function il(e, n) {
1686
1709
  function o() {
1687
1710
  clearInterval(t.intervalId), clearTimeout(t.id), i.value = 100;
1688
1711
  }
1689
- return pe(() => {
1712
+ return De(() => {
1690
1713
  if (n <= 0)
1691
1714
  return !1;
1692
1715
  }), Xe(() => {
@@ -1698,9 +1721,9 @@ function il(e, n) {
1698
1721
  progress: i
1699
1722
  };
1700
1723
  }
1701
- function al(e) {
1724
+ function sl(e) {
1702
1725
  return {
1703
- stylePosition: p(() => {
1726
+ stylePosition: D(() => {
1704
1727
  const { position: t, offset: i } = e();
1705
1728
  switch (t) {
1706
1729
  case "top-left":
@@ -1744,56 +1767,56 @@ function al(e) {
1744
1767
  };
1745
1768
  }
1746
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 || {});
1747
- const ol = {
1770
+ const dl = {
1748
1771
  preserveAspectRatio: "xMidYMid meet",
1749
1772
  viewBox: "0 0 24 24",
1750
1773
  width: "1em",
1751
1774
  height: "1em"
1752
- }, sl = /* @__PURE__ */ u("path", {
1775
+ }, cl = /* @__PURE__ */ u("path", {
1753
1776
  fill: "currentColor",
1754
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"
1755
- }, null, -1), dl = [
1756
- sl
1778
+ }, null, -1), rl = [
1779
+ cl
1757
1780
  ];
1758
- function cl(e, n) {
1759
- return s(), r("svg", ol, dl);
1781
+ function ul(e, n) {
1782
+ return s(), r("svg", dl, rl);
1760
1783
  }
1761
- const rl = { name: "mi-circle-check", render: cl }, ul = {
1784
+ const hl = { name: "mi-circle-check", render: ul }, fl = {
1762
1785
  preserveAspectRatio: "xMidYMid meet",
1763
1786
  viewBox: "0 0 24 24",
1764
1787
  width: "1em",
1765
1788
  height: "1em"
1766
- }, hl = /* @__PURE__ */ u("path", {
1789
+ }, ml = /* @__PURE__ */ u("path", {
1767
1790
  fill: "currentColor",
1768
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"
1769
- }, null, -1), fl = [
1770
- hl
1792
+ }, null, -1), vl = [
1793
+ ml
1771
1794
  ];
1772
- function ml(e, n) {
1773
- return s(), r("svg", ul, fl);
1795
+ function $l(e, n) {
1796
+ return s(), r("svg", fl, vl);
1774
1797
  }
1775
- const vl = { name: "mi-circle-error", render: ml }, $l = {
1798
+ const bl = { name: "mi-circle-error", render: $l }, yl = {
1776
1799
  preserveAspectRatio: "xMidYMid meet",
1777
1800
  viewBox: "0 0 24 24",
1778
1801
  width: "1em",
1779
1802
  height: "1em"
1780
- }, bl = /* @__PURE__ */ u("g", { fill: "currentColor" }, [
1803
+ }, gl = /* @__PURE__ */ u("g", { fill: "currentColor" }, [
1781
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" }),
1782
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" })
1783
- ], -1), yl = [
1784
- bl
1806
+ ], -1), wl = [
1807
+ gl
1785
1808
  ];
1786
- function gl(e, n) {
1787
- return s(), r("svg", $l, yl);
1809
+ function kl(e, n) {
1810
+ return s(), r("svg", yl, wl);
1788
1811
  }
1789
- const wl = { name: "mi-circle-warning", render: gl }, xl = ["id", "data-testid"], kl = { class: "content-wrapper" }, Sl = {
1812
+ const xl = { name: "mi-circle-warning", render: kl }, Sl = ["id", "data-testid"], Cl = { class: "content-wrapper" }, Il = {
1790
1813
  key: 0,
1791
1814
  class: "icon-container",
1792
1815
  "aria-hidden": "true"
1793
- }, Cl = { class: "content" }, Bl = {
1816
+ }, Bl = { class: "content" }, Ol = {
1794
1817
  key: 0,
1795
1818
  class: "description"
1796
- }, Il = ["data-testid"], Ol = /* @__PURE__ */ O({
1819
+ }, Ml = ["data-testid"], Tl = /* @__PURE__ */ O({
1797
1820
  __name: "Toast",
1798
1821
  props: {
1799
1822
  id: null,
@@ -1810,20 +1833,20 @@ const wl = { name: "mi-circle-warning", render: gl }, xl = ["id", "data-testid"]
1810
1833
  position: { default: Q.position }
1811
1834
  },
1812
1835
  setup(e) {
1813
- const n = e, { start: t, stop: i, progress: l } = il(() => {
1836
+ const n = e, { start: t, stop: i, progress: l } = ol(() => {
1814
1837
  var h;
1815
1838
  (h = n.onCloseHandler) == null || h.call(n);
1816
- }, n.timeout), { stylePosition: a } = al(() => ({
1839
+ }, n.timeout), { stylePosition: a } = sl(() => ({
1817
1840
  offset: n.offset,
1818
1841
  position: n.position
1819
- })), o = p(() => n.title && n.description);
1842
+ })), o = D(() => n.title && n.description);
1820
1843
  function d() {
1821
1844
  n.timeout > 0 && i();
1822
1845
  }
1823
1846
  function c() {
1824
1847
  t();
1825
1848
  }
1826
- return pe(() => {
1849
+ return De(() => {
1827
1850
  t();
1828
1851
  }), (h, f) => (s(), R(Me, {
1829
1852
  name: $(Qe)[e.position],
@@ -1836,9 +1859,9 @@ const wl = { name: "mi-circle-warning", render: gl }, xl = ["id", "data-testid"]
1836
1859
  role: "status",
1837
1860
  "data-testid": `toast-${e.type}-${e.id}`,
1838
1861
  style: ae($(a)),
1839
- class: x(["sol-toast-core", [`-${e.type}`, { "-multiline": $(o) }]]),
1862
+ class: k(["sol-toast-core", [`-${e.type}`, { "-multiline": $(o) }]]),
1840
1863
  onKeyup: f[1] || (f[1] = K(
1841
- (...B) => e.onCloseHandler && e.onCloseHandler(...B),
1864
+ (...I) => e.onCloseHandler && e.onCloseHandler(...I),
1842
1865
  ["esc"]
1843
1866
  )),
1844
1867
  onMouseenter: d,
@@ -1846,54 +1869,54 @@ const wl = { name: "mi-circle-warning", render: gl }, xl = ["id", "data-testid"]
1846
1869
  onFocusin: d,
1847
1870
  onFocusout: c
1848
1871
  }, [
1849
- u("section", kl, [
1850
- e.showIcon ? (s(), r("div", Sl, [
1872
+ u("section", Cl, [
1873
+ e.showIcon ? (s(), r("div", Il, [
1851
1874
  m(h.$slots, "icon-status", { type: e.type }, () => [
1852
- e.type === "success" ? (s(), R($(rl), {
1875
+ e.type === "success" ? (s(), R($(hl), {
1853
1876
  key: 0,
1854
1877
  class: "icon"
1855
1878
  })) : T("", !0),
1856
- e.type === "info" ? (s(), R($(wl), {
1879
+ e.type === "info" ? (s(), R($(xl), {
1857
1880
  key: 1,
1858
1881
  class: "icon"
1859
1882
  })) : T("", !0),
1860
- e.type === "danger" ? (s(), R($(vl), {
1883
+ e.type === "danger" ? (s(), R($(bl), {
1861
1884
  key: 2,
1862
1885
  class: "icon"
1863
1886
  })) : T("", !0)
1864
1887
  ])
1865
1888
  ])) : T("", !0),
1866
- u("div", Cl, [
1889
+ u("div", Bl, [
1867
1890
  u("p", {
1868
- class: x(["title", { "-multiline": $(o) }])
1891
+ class: k(["title", { "-multiline": $(o) }])
1869
1892
  }, [
1870
1893
  m(h.$slots, "title", {}, () => [
1871
- D(k(e.title), 1)
1894
+ p(x(e.title), 1)
1872
1895
  ])
1873
1896
  ], 2),
1874
- e.description ? (s(), r("p", Bl, [
1897
+ e.description ? (s(), r("p", Ol, [
1875
1898
  m(h.$slots, "description", {}, () => [
1876
- D(k(e.description), 1)
1899
+ p(x(e.description), 1)
1877
1900
  ])
1878
1901
  ])) : T("", !0)
1879
1902
  ])
1880
1903
  ]),
1881
1904
  u("button", {
1882
1905
  type: "button",
1883
- class: x(["close", { "-multiline": $(o) }]),
1906
+ class: k(["close", { "-multiline": $(o) }]),
1884
1907
  "data-testid": `toast-close-button-${e.type}-${e.id}`,
1885
1908
  "aria-label": "close notification",
1886
- onClick: f[0] || (f[0] = (...B) => e.onCloseHandler && e.onCloseHandler(...B))
1909
+ onClick: f[0] || (f[0] = (...I) => e.onCloseHandler && e.onCloseHandler(...I))
1887
1910
  }, [
1888
1911
  L($(Fe), { class: "icon" })
1889
- ], 10, Il),
1912
+ ], 10, Ml),
1890
1913
  e.hideProgressBar ? T("", !0) : (s(), r("div", {
1891
1914
  key: 0,
1892
1915
  class: "progressbar",
1893
1916
  "aria-hidden": "true",
1894
1917
  style: ae({ width: `${$(l)}%` })
1895
1918
  }, null, 4))
1896
- ], 46, xl)) : T("", !0)
1919
+ ], 46, Sl)) : T("", !0)
1897
1920
  ]),
1898
1921
  _: 3
1899
1922
  }, 8, ["name"]));
@@ -1907,7 +1930,7 @@ const ee = {
1907
1930
  "bottom-right": [],
1908
1931
  "bottom-center": []
1909
1932
  };
1910
- function Al() {
1933
+ function Dl() {
1911
1934
  let e = 0;
1912
1935
  function n() {
1913
1936
  Object.entries(ee).forEach(([i, l]) => {
@@ -1920,15 +1943,15 @@ function Al() {
1920
1943
  }
1921
1944
  return {
1922
1945
  createToast: (i, l) => {
1923
- const a = e++, o = l ? Ml(l) : Q;
1924
- return l != null && l.showOneToast && n(), Tl(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), {
1925
1948
  close: () => Oe(a, o.position)
1926
1949
  };
1927
1950
  },
1928
1951
  clearAllToasts: n
1929
1952
  };
1930
1953
  }
1931
- function Ml(e) {
1954
+ function Ll(e) {
1932
1955
  const n = {
1933
1956
  ...Q,
1934
1957
  ...e,
@@ -1936,18 +1959,18 @@ function Ml(e) {
1936
1959
  };
1937
1960
  return n.hideProgressBar = !!(n.timeout && (n == null ? void 0 : n.timeout) <= 0), e.hideProgressBar && (n.hideProgressBar = e.hideProgressBar), n;
1938
1961
  }
1939
- function Tl(e, n, t) {
1962
+ function Pl(e, n, t) {
1940
1963
  setTimeout(() => {
1941
- const i = Pl(n, ee, Ge), l = document.createElement("div");
1964
+ const i = Vl(n, ee, Ge), l = document.createElement("div");
1942
1965
  document.body.appendChild(l);
1943
1966
  const a = L(
1944
- Ol,
1945
- Ll(n, e, i, Oe, t)
1967
+ Tl,
1968
+ zl(n, e, i, Oe, t)
1946
1969
  );
1947
- 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);
1948
1971
  }, 1);
1949
1972
  }
1950
- function Ll(e, n, t, i, l) {
1973
+ function zl(e, n, t, i, l) {
1951
1974
  return {
1952
1975
  ...e,
1953
1976
  ...l,
@@ -1959,12 +1982,12 @@ function Ll(e, n, t, i, l) {
1959
1982
  }
1960
1983
  };
1961
1984
  }
1962
- function Pl(e, n, t) {
1985
+ function Vl(e, n, t) {
1963
1986
  if (!e.position)
1964
1987
  throw new Error("no position");
1965
1988
  return n[e.position].reduce((i, { toastVNode: l }) => (i += l.el.offsetHeight + t || 0, i), t);
1966
1989
  }
1967
- function zl(e, n, t, i) {
1990
+ function Al(e, n, t, i) {
1968
1991
  for (let l = e; l < n.length; l++) {
1969
1992
  const { toastVNode: a } = n[l];
1970
1993
  if (!a.el)
@@ -1986,11 +2009,11 @@ function Oe(e, n) {
1986
2009
  if (i === -1)
1987
2010
  return;
1988
2011
  const { container: l, toastVNode: a } = t[i], o = (c = a == null ? void 0 : a.el) == null ? void 0 : c.offsetHeight;
1989
- if (ee[n].splice(i, 1), zl(i, t, n, o), !a.component)
2012
+ if (ee[n].splice(i, 1), Al(i, t, n, o), !a.component)
1990
2013
  return;
1991
2014
  const d = a.component.props;
1992
2015
  d.visible = !1, d.onClose && d.onClose(), setTimeout(() => {
1993
- De(null, l), document.body.removeChild(l);
2016
+ pe(null, l), document.body.removeChild(l);
1994
2017
  }, 1e3);
1995
2018
  }
1996
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");
@@ -2009,17 +2032,17 @@ const Ae = {
2009
2032
  SolDropdown: Se,
2010
2033
  SolSelect: Ce,
2011
2034
  SolChip: ce,
2012
- SolAccordion: Be,
2035
+ SolAccordion: Ie,
2013
2036
  SolMenu: re,
2014
2037
  SolMenuItemLink: ue,
2015
- SolMenuNavigationLinks: Ie
2038
+ SolMenuNavigationLinks: Be
2016
2039
  };
2017
- function El(e) {
2040
+ function pl(e) {
2018
2041
  for (const n in Ae)
2019
2042
  e.component(n, Ae[n]);
2020
2043
  }
2021
2044
  export {
2022
- Be as SolAccordion,
2045
+ Ie as SolAccordion,
2023
2046
  _ as SolButton,
2024
2047
  Ne as SolButtonDestructive,
2025
2048
  de as SolCheckbox,
@@ -2029,7 +2052,7 @@ export {
2029
2052
  W as SolInput,
2030
2053
  re as SolMenu,
2031
2054
  ue as SolMenuItemLink,
2032
- Ie as SolMenuNavigationLinks,
2055
+ Be as SolMenuNavigationLinks,
2033
2056
  se as SolRadio,
2034
2057
  ye as SolRadioGroup,
2035
2058
  Ce as SolSelect,
@@ -2038,6 +2061,6 @@ export {
2038
2061
  oe as SolTextfield,
2039
2062
  $e as SolTextfieldPassword,
2040
2063
  Ae as components,
2041
- El as install,
2042
- Al as useToast
2064
+ pl as install,
2065
+ Dl as useToast
2043
2066
  };