@solfacil/girassol 0.9.0 → 0.10.0-beta-tabs-key.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { defineComponent as J, openBlock as g, createElementBlock as y, normalizeClass as k, createElementVNode as f, toDisplayString as B, useSlots as ht, computed as x, unref as u, renderSlot as L, createVNode as _, createCommentVNode as F, createBlock as ee, withCtx as q, ref as R, withDirectives as Ce, onMounted as st, provide as Pi, isRef as Ue, watch as me, getCurrentInstance as ke, onBeforeUnmount as ki, toRef as Le, resolveDynamicComponent as ni, h as gt, inject as Bi, reactive as ot, onUnmounted as li, nextTick as Ee, warn as Oi, watchEffect as Yi, markRaw as fn, mergeProps as Be, vShow as Pe, createTextVNode as re, vModelText as bn, Fragment as Ae, renderList as he, getCurrentScope as hn, onScopeDispose as Dn, withModifiers as Ne, normalizeStyle as Nt, withKeys as De, resolveComponent as Sn, Transition as ai, createSlots as An, Teleport as xn, render as Vi } from "vue";
2
- const wn = /* @__PURE__ */ f("path", {
1
+ import { defineComponent as J, openBlock as g, createElementBlock as y, normalizeClass as B, createElementVNode as b, toDisplayString as O, useSlots as ht, computed as x, unref as u, renderSlot as C, createVNode as _, createCommentVNode as F, createBlock as ee, withCtx as q, ref as R, withDirectives as Ce, onMounted as st, provide as Pi, isRef as Ue, watch as me, getCurrentInstance as ke, onBeforeUnmount as ki, toRef as Le, resolveDynamicComponent as ni, h as gt, inject as Bi, reactive as ot, onUnmounted as li, nextTick as Ee, warn as Oi, watchEffect as Yi, markRaw as fn, mergeProps as Be, vShow as Pe, createTextVNode as re, vModelText as bn, Fragment as Ae, renderList as he, getCurrentScope as hn, onScopeDispose as Dn, withModifiers as Ne, normalizeStyle as Nt, withKeys as De, resolveComponent as Sn, Transition as ai, createSlots as An, Teleport as xn, render as Vi } from "vue";
2
+ const wn = /* @__PURE__ */ b("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"
5
5
  }, null, -1), Wi = /* @__PURE__ */ J({
@@ -11,12 +11,12 @@ const wn = /* @__PURE__ */ f("path", {
11
11
  },
12
12
  setup(e) {
13
13
  return (t, i) => (g(), y("svg", {
14
- class: k(["sol-inner-loader", `-${e.size}`]),
14
+ class: B(["sol-inner-loader", `-${e.size}`]),
15
15
  viewBox: "0 0 32 32",
16
16
  fill: "none",
17
17
  xmlns: "http://www.w3.org/2000/svg"
18
18
  }, [
19
- f("title", null, B(e.title), 1),
19
+ b("title", null, O(e.title), 1),
20
20
  wn
21
21
  ], 2));
22
22
  }
@@ -45,7 +45,7 @@ const Zn = ["data-testid", "disabled"], Tn = { class: "icon -left" }, zn = { cla
45
45
  );
46
46
  return (a, s) => (g(), y("button", {
47
47
  "data-testid": `button-${e.id}`,
48
- class: k(["sol-button-core", `-${e.variant} -${e.size}
48
+ class: B(["sol-button-core", `-${e.variant} -${e.size}
49
49
  ${t(e.loading, "-loading")}
50
50
  ${t(e.onColor, "-on-color")}
51
51
  ${t(u(n), "-has-icon")}
@@ -54,12 +54,12 @@ const Zn = ["data-testid", "disabled"], Tn = { class: "icon -left" }, zn = { cla
54
54
  type: "button",
55
55
  disabled: e.disabled || e.loading
56
56
  }, [
57
- f("div", Tn, [
58
- L(a.$slots, "icon-left")
57
+ b("div", Tn, [
58
+ C(a.$slots, "icon-left")
59
59
  ]),
60
- L(a.$slots, "default"),
61
- f("div", zn, [
62
- L(a.$slots, "icon-right")
60
+ C(a.$slots, "default"),
61
+ b("div", zn, [
62
+ C(a.$slots, "icon-right")
63
63
  ]),
64
64
  e.loading ? (g(), y("div", Ln, [
65
65
  _(Wi, {
@@ -75,7 +75,7 @@ const Cn = {
75
75
  viewBox: "0 0 24 24",
76
76
  width: "1em",
77
77
  height: "1em"
78
- }, Gn = /* @__PURE__ */ f("path", {
78
+ }, Gn = /* @__PURE__ */ b("path", {
79
79
  fill: "currentColor",
80
80
  d: "M7 21q-.825 0-1.412-.587Q5 19.825 5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413Q17.825 21 17 21ZM17 6H7v13h10ZM9 17h2V8H9Zm4 0h2V8h-2ZM7 6v13Z"
81
81
  }, null, -1), pn = [
@@ -107,7 +107,7 @@ const Pn = { name: "material-symbols-delete-outline", render: En }, Ui = /* @__P
107
107
  })) : F("", !0)
108
108
  ]),
109
109
  default: q(() => [
110
- L(t.$slots, "default")
110
+ C(t.$slots, "default")
111
111
  ]),
112
112
  _: 3
113
113
  }, 8, ["id", "size", "loading"]));
@@ -329,7 +329,7 @@ const Qn = ["id", "data-testid", "value"], Qi = /* @__PURE__ */ J({
329
329
  ref: o,
330
330
  "data-testid": `input-${e.id}`,
331
331
  value: e.modelValue,
332
- class: k(["sol-input-core", [`-${e.size}`, { "-error": e.error, "-feedback-icon": e.hasFeedbackIcon }]]),
332
+ class: B(["sol-input-core", [`-${e.size}`, { "-error": e.error, "-feedback-icon": e.hasFeedbackIcon }]]),
333
333
  onInput: s
334
334
  }, null, 42, Qn)), [
335
335
  [u(a), u(l)]
@@ -790,8 +790,8 @@ async function fl(e, t) {
790
790
  const N = o[M], I = await N(t, s);
791
791
  if (typeof I != "string" && I)
792
792
  continue;
793
- const S = typeof I == "string" ? I : tn(s);
794
- if (c.push(S), e.bails)
793
+ const v = typeof I == "string" ? I : tn(s);
794
+ if (c.push(v), e.bails)
795
795
  return {
796
796
  errors: c
797
797
  };
@@ -1274,25 +1274,25 @@ function on(e, t, i) {
1274
1274
  return $e(i == null ? void 0 : i.type) ? Bl(e, t, i) : un(e, t, i);
1275
1275
  }
1276
1276
  function un(e, t, i) {
1277
- const { initialValue: n, validateOnMount: l, bails: a, type: s, checkedValue: o, label: r, validateOnValueUpdate: c, uncheckedValue: M, controlled: N, keepValueOnUnmount: I, modelPropName: d, syncVModel: S, form: Z } = Pl(u(e), i), O = N ? ri(ut) : void 0, C = Z || O;
1277
+ const { initialValue: n, validateOnMount: l, bails: a, type: s, checkedValue: o, label: r, validateOnValueUpdate: c, uncheckedValue: M, controlled: N, keepValueOnUnmount: I, modelPropName: d, syncVModel: v, form: Z } = Pl(u(e), i), p = N ? ri(ut) : void 0, L = Z || p;
1278
1278
  let z = !1;
1279
- const { id: v, value: h, initialValue: G, meta: w, setState: Y, errors: V, errorMessage: te } = xl(e, {
1279
+ const { id: f, value: D, initialValue: G, meta: w, setState: Y, errors: W, errorMessage: te } = xl(e, {
1280
1280
  modelValue: n,
1281
- form: C
1281
+ form: L
1282
1282
  });
1283
- S && Ol({ value: h, prop: d, handleChange: ae });
1283
+ v && Ol({ value: D, prop: d, handleChange: ae });
1284
1284
  const $ = () => {
1285
1285
  w.touched = !0;
1286
1286
  }, le = x(() => {
1287
1287
  let A = u(t);
1288
- const X = u(C == null ? void 0 : C.schema);
1288
+ const X = u(L == null ? void 0 : L.schema);
1289
1289
  return X && !et(X) && (A = kl(X, u(e)) || A), et(A) || He(A) || Array.isArray(A) ? A : Ki(A);
1290
1290
  });
1291
1291
  async function ue(A) {
1292
1292
  var X, se;
1293
- return C != null && C.validateSchema ? (X = (await C.validateSchema(A)).results[u(e)]) !== null && X !== void 0 ? X : { valid: !0, errors: [] } : en(h.value, le.value, {
1293
+ return L != null && L.validateSchema ? (X = (await L.validateSchema(A)).results[u(e)]) !== null && X !== void 0 ? X : { valid: !0, errors: [] } : en(D.value, le.value, {
1294
1294
  name: u(r) || u(e),
1295
- values: (se = C == null ? void 0 : C.values) !== null && se !== void 0 ? se : {},
1295
+ values: (se = L == null ? void 0 : L.values) !== null && se !== void 0 ? se : {},
1296
1296
  bails: a
1297
1297
  });
1298
1298
  }
@@ -1302,27 +1302,27 @@ function un(e, t, i) {
1302
1302
  }
1303
1303
  function ae(A, X = !0) {
1304
1304
  const se = ci(A);
1305
- h.value = se, !c && X && ce();
1305
+ D.value = se, !c && X && ce();
1306
1306
  }
1307
1307
  st(() => {
1308
1308
  if (l)
1309
1309
  return ce();
1310
- (!C || !C.validateSchema) && ge();
1310
+ (!L || !L.validateSchema) && ge();
1311
1311
  });
1312
1312
  function de(A) {
1313
1313
  w.touched = A;
1314
1314
  }
1315
- let T, b = ie(h.value);
1316
- function D() {
1317
- T = me(h, (A, X) => {
1318
- if (Me(A, X) && Me(A, b))
1315
+ let T, h = ie(D.value);
1316
+ function S() {
1317
+ T = me(D, (A, X) => {
1318
+ if (Me(A, X) && Me(A, h))
1319
1319
  return;
1320
- (c ? ce : ge)(), b = ie(A);
1320
+ (c ? ce : ge)(), h = ie(A);
1321
1321
  }, {
1322
1322
  deep: !0
1323
1323
  });
1324
1324
  }
1325
- D();
1325
+ S();
1326
1326
  function P(A) {
1327
1327
  var X;
1328
1328
  T == null || T();
@@ -1333,22 +1333,22 @@ function un(e, t, i) {
1333
1333
  touched: (X = A == null ? void 0 : A.touched) !== null && X !== void 0 ? X : !1,
1334
1334
  errors: (A == null ? void 0 : A.errors) || []
1335
1335
  }), w.pending = !1, w.validated = !1, ge(), Ee(() => {
1336
- D();
1336
+ S();
1337
1337
  });
1338
1338
  }
1339
- function W(A) {
1340
- h.value = A;
1339
+ function U(A) {
1340
+ D.value = A;
1341
1341
  }
1342
- function p(A) {
1342
+ function k(A) {
1343
1343
  Y({ errors: Array.isArray(A) ? A : [A] });
1344
1344
  }
1345
- const H = {
1346
- id: v,
1345
+ const V = {
1346
+ id: f,
1347
1347
  name: e,
1348
1348
  label: r,
1349
- value: h,
1349
+ value: D,
1350
1350
  meta: w,
1351
- errors: V,
1351
+ errors: W,
1352
1352
  errorMessage: te,
1353
1353
  type: s,
1354
1354
  checkedValue: o,
@@ -1362,25 +1362,25 @@ function un(e, t, i) {
1362
1362
  handleBlur: $,
1363
1363
  setState: Y,
1364
1364
  setTouched: de,
1365
- setErrors: p,
1366
- setValue: W
1365
+ setErrors: k,
1366
+ setValue: U
1367
1367
  };
1368
- if (Pi(ll, H), Ue(t) && typeof u(t) != "function" && me(t, (A, X) => {
1368
+ if (Pi(ll, V), Ue(t) && typeof u(t) != "function" && me(t, (A, X) => {
1369
1369
  Me(A, X) || (w.validated ? ce() : ge());
1370
1370
  }, {
1371
1371
  deep: !0
1372
- }), process.env.NODE_ENV !== "production" && (H._vm = ke(), me(() => Object.assign(Object.assign({ errors: V.value }, w), { value: h.value }), Qe, {
1372
+ }), process.env.NODE_ENV !== "production" && (V._vm = ke(), me(() => Object.assign(Object.assign({ errors: W.value }, w), { value: D.value }), Qe, {
1373
1373
  deep: !0
1374
- }), C || zl(H)), !C)
1375
- return H;
1376
- C.register(H), ki(() => {
1377
- z = !0, C.unregister(H);
1374
+ }), L || zl(V)), !L)
1375
+ return V;
1376
+ L.register(V), ki(() => {
1377
+ z = !0, L.unregister(V);
1378
1378
  });
1379
1379
  const ve = x(() => {
1380
1380
  const A = le.value;
1381
1381
  return !A || He(A) || et(A) || Array.isArray(A) ? {} : Object.keys(A).reduce((X, se) => {
1382
1382
  const pe = jl(A[se]).map((xe) => xe.__locatorRef).reduce((xe, Fe) => {
1383
- const dt = oe(C.values, Fe) || C.values[Fe];
1383
+ const dt = oe(L.values, Fe) || L.values[Fe];
1384
1384
  return dt !== void 0 && (xe[Fe] = dt), xe;
1385
1385
  }, {});
1386
1386
  return Object.assign(X, pe), X;
@@ -1390,7 +1390,7 @@ function un(e, t, i) {
1390
1390
  if (!Object.keys(A).length)
1391
1391
  return;
1392
1392
  !Me(A, X) && (w.validated ? ce() : ge());
1393
- }), H;
1393
+ }), V;
1394
1394
  }
1395
1395
  function Pl(e, t) {
1396
1396
  const i = () => ({
@@ -1426,8 +1426,8 @@ function Bl(e, t, i) {
1426
1426
  I && o.validate();
1427
1427
  return;
1428
1428
  }
1429
- let S = ci(N);
1430
- n || (S = Pt(u(o.value), u(l), u(a))), r(S, I);
1429
+ let v = ci(N);
1430
+ n || (v = Pt(u(o.value), u(l), u(a))), r(v, I);
1431
1431
  }
1432
1432
  return Object.assign(Object.assign({}, o), {
1433
1433
  checked: c,
@@ -1527,7 +1527,7 @@ J({
1527
1527
  }
1528
1528
  },
1529
1529
  setup(e, t) {
1530
- const i = Le(e, "rules"), n = Le(e, "name"), l = Le(e, "label"), a = Le(e, "uncheckedValue"), s = Le(e, "keepValue"), { errors: o, value: r, errorMessage: c, validate: M, handleChange: N, handleBlur: I, setTouched: d, resetField: S, handleReset: Z, meta: O, checked: C, setErrors: z } = on(n, i, {
1530
+ const i = Le(e, "rules"), n = Le(e, "name"), l = Le(e, "label"), a = Le(e, "uncheckedValue"), s = Le(e, "keepValue"), { errors: o, value: r, errorMessage: c, validate: M, handleChange: N, handleBlur: I, setTouched: d, resetField: v, handleReset: Z, meta: p, checked: L, setErrors: z } = on(n, i, {
1531
1531
  validateOnMount: e.validateOnMount,
1532
1532
  bails: e.bails,
1533
1533
  standalone: e.standalone,
@@ -1538,20 +1538,20 @@ J({
1538
1538
  label: l,
1539
1539
  validateOnValueUpdate: !1,
1540
1540
  keepValueOnUnmount: s
1541
- }), v = function(te, $ = !0) {
1541
+ }), f = function(te, $ = !0) {
1542
1542
  N(te, $), t.emit("update:modelValue", r.value);
1543
- }, h = (V) => {
1544
- $e(t.attrs.type) || (r.value = ci(V));
1543
+ }, D = (W) => {
1544
+ $e(t.attrs.type) || (r.value = ci(W));
1545
1545
  }, G = function(te) {
1546
- h(te), t.emit("update:modelValue", r.value);
1546
+ D(te), t.emit("update:modelValue", r.value);
1547
1547
  }, w = x(() => {
1548
- const { validateOnInput: V, validateOnChange: te, validateOnBlur: $, validateOnModelUpdate: le } = Yl(e), ue = [I, t.attrs.onBlur, $ ? M : void 0].filter(Boolean), ce = [(de) => v(de, V), t.attrs.onInput].filter(Boolean), ge = [(de) => v(de, te), t.attrs.onChange].filter(Boolean), ye = {
1548
+ const { validateOnInput: W, validateOnChange: te, validateOnBlur: $, validateOnModelUpdate: le } = Yl(e), ue = [I, t.attrs.onBlur, $ ? M : void 0].filter(Boolean), ce = [(de) => f(de, W), t.attrs.onInput].filter(Boolean), ge = [(de) => f(de, te), t.attrs.onChange].filter(Boolean), ye = {
1549
1549
  name: e.name,
1550
1550
  onBlur: ue,
1551
1551
  onInput: ce,
1552
1552
  onChange: ge
1553
1553
  };
1554
- ye["onUpdate:modelValue"] = (de) => v(de, le), $e(t.attrs.type) && C && (ye.checked = C.value);
1554
+ ye["onUpdate:modelValue"] = (de) => f(de, le), $e(t.attrs.type) && L && (ye.checked = L.value);
1555
1555
  const ae = Zi(e, t);
1556
1556
  return rl(ae, t.attrs) && (ye.value = r.value), ye;
1557
1557
  });
@@ -1559,12 +1559,12 @@ J({
1559
1559
  return {
1560
1560
  field: w.value,
1561
1561
  value: r.value,
1562
- meta: O,
1562
+ meta: p,
1563
1563
  errors: o.value,
1564
1564
  errorMessage: c.value,
1565
1565
  validate: M,
1566
- resetField: S,
1567
- handleChange: v,
1566
+ resetField: v,
1567
+ handleChange: f,
1568
1568
  handleInput: G,
1569
1569
  handleReset: Z,
1570
1570
  handleBlur: I,
@@ -1575,12 +1575,12 @@ J({
1575
1575
  return t.expose({
1576
1576
  setErrors: z,
1577
1577
  setTouched: d,
1578
- reset: S,
1578
+ reset: v,
1579
1579
  validate: M,
1580
1580
  handleChange: N
1581
1581
  }), () => {
1582
- const V = ni(Zi(e, t)), te = St(V, t, Y);
1583
- return V ? gt(V, Object.assign(Object.assign({}, t.attrs), w.value), te) : te;
1582
+ const W = ni(Zi(e, t)), te = St(W, t, Y);
1583
+ return W ? gt(W, Object.assign(Object.assign({}, t.attrs), w.value), te) : te;
1584
1584
  };
1585
1585
  }
1586
1586
  });
@@ -1610,21 +1610,21 @@ function Ul(e) {
1610
1610
  const E = M.value[j];
1611
1611
  return E && E.length && (m[j] = E[0]), m;
1612
1612
  }, {}));
1613
- function S(m) {
1613
+ function v(m) {
1614
1614
  const j = a.value[m];
1615
1615
  return Array.isArray(j) ? j[0] : j;
1616
1616
  }
1617
1617
  function Z(m) {
1618
1618
  return !!a.value[m];
1619
1619
  }
1620
- const O = x(() => Ie(a.value).reduce((m, j) => {
1621
- const E = S(j);
1620
+ const p = x(() => Ie(a.value).reduce((m, j) => {
1621
+ const E = v(j);
1622
1622
  return E && (m[j] = u(E.label || E.name) || ""), m;
1623
- }, {})), C = x(() => Ie(a.value).reduce((m, j) => {
1623
+ }, {})), L = x(() => Ie(a.value).reduce((m, j) => {
1624
1624
  var E;
1625
- const Q = S(j);
1625
+ const Q = v(j);
1626
1626
  return Q && (m[j] = (E = Q.bails) !== null && E !== void 0 ? E : !0), m;
1627
- }, {})), z = Object.assign({}, (e == null ? void 0 : e.initialErrors) || {}), v = (t = e == null ? void 0 : e.keepValuesOnUnmount) !== null && t !== void 0 ? t : !1, { initialValues: h, originalInitialValues: G, setInitialValues: w } = $l(a, c, e == null ? void 0 : e.initialValues), Y = Hl(a, c, G, d), V = x(() => [...n, ...Ie(a.value)].reduce((m, j) => {
1627
+ }, {})), z = Object.assign({}, (e == null ? void 0 : e.initialErrors) || {}), f = (t = e == null ? void 0 : e.keepValuesOnUnmount) !== null && t !== void 0 ? t : !1, { initialValues: D, originalInitialValues: G, setInitialValues: w } = $l(a, c, e == null ? void 0 : e.initialValues), Y = Hl(a, c, G, d), W = x(() => [...n, ...Ie(a.value)].reduce((m, j) => {
1628
1628
  const E = oe(c, j);
1629
1629
  return Te(m, j, E), m;
1630
1630
  }, {})), te = e == null ? void 0 : e.validationSchema, $ = Si(ji, 5), le = Si(ji, 5), ue = kt(async (m) => await m === "silent" ? $() : le(), (m, [j]) => {
@@ -1637,7 +1637,7 @@ function Ul(e) {
1637
1637
  valid: !we.length
1638
1638
  };
1639
1639
  if (ne.results[K] = Se, Se.valid || (ne.errors[K] = Se.errors[0]), !fe)
1640
- return D(K, we), ne;
1640
+ return S(K, we), ne;
1641
1641
  if (T(fe, (Re) => Re.meta.valid = Se.valid), j === "silent")
1642
1642
  return ne;
1643
1643
  const vn = Array.isArray(fe) ? fe.some((Re) => Re.meta.validated) : fe.meta.validated;
@@ -1650,16 +1650,16 @@ function Ul(e) {
1650
1650
  return ne instanceof Event && (ne.preventDefault(), ne.stopPropagation()), X(Ie(a.value).reduce((K, fe) => (K[fe] = !0, K), {})), s.value = !0, o.value++, It().then((K) => {
1651
1651
  const fe = ie(c);
1652
1652
  if (K.valid && typeof E == "function") {
1653
- const we = ie(V.value);
1653
+ const we = ie(W.value);
1654
1654
  return E(m ? we : fe, {
1655
1655
  evt: ne,
1656
1656
  controlledValues: we,
1657
1657
  setErrors: P,
1658
- setFieldError: D,
1658
+ setFieldError: S,
1659
1659
  setTouched: X,
1660
1660
  setFieldTouched: A,
1661
- setValues: p,
1662
- setFieldValue: W,
1661
+ setValues: k,
1662
+ setFieldValue: U,
1663
1663
  resetForm: se
1664
1664
  });
1665
1665
  }
@@ -1681,7 +1681,7 @@ function Ul(e) {
1681
1681
  formId: i,
1682
1682
  fieldsByPath: a,
1683
1683
  values: c,
1684
- controlledValues: V,
1684
+ controlledValues: W,
1685
1685
  errorBag: M,
1686
1686
  errors: d,
1687
1687
  schema: te,
@@ -1689,17 +1689,17 @@ function Ul(e) {
1689
1689
  meta: Y,
1690
1690
  isSubmitting: s,
1691
1691
  fieldArrays: r,
1692
- keepValuesOnUnmount: v,
1692
+ keepValuesOnUnmount: f,
1693
1693
  validateSchema: u(te) ? ue : void 0,
1694
1694
  validate: It,
1695
1695
  register: Fe,
1696
1696
  unregister: dt,
1697
1697
  setFieldErrorBag: I,
1698
1698
  validateField: xt,
1699
- setFieldValue: W,
1700
- setValues: p,
1699
+ setFieldValue: U,
1700
+ setValues: k,
1701
1701
  setErrors: P,
1702
- setFieldError: D,
1702
+ setFieldError: S,
1703
1703
  setFieldTouched: A,
1704
1704
  setTouched: X,
1705
1705
  resetForm: se,
@@ -1715,40 +1715,40 @@ function Ul(e) {
1715
1715
  function T(m, j) {
1716
1716
  return Array.isArray(m) ? m.forEach(j) : j(m);
1717
1717
  }
1718
- function b(m) {
1718
+ function h(m) {
1719
1719
  Object.values(a.value).forEach((j) => {
1720
1720
  !j || T(j, m);
1721
1721
  });
1722
1722
  }
1723
- function D(m, j) {
1723
+ function S(m, j) {
1724
1724
  I(m, j);
1725
1725
  }
1726
1726
  function P(m) {
1727
1727
  N(m);
1728
1728
  }
1729
- function W(m, j, { force: E } = { force: !1 }) {
1729
+ function U(m, j, { force: E } = { force: !1 }) {
1730
1730
  var Q;
1731
- const U = a.value[m], ne = ie(j);
1732
- if (!U) {
1731
+ const H = a.value[m], ne = ie(j);
1732
+ if (!H) {
1733
1733
  Te(c, m, ne);
1734
1734
  return;
1735
1735
  }
1736
- if (de(U) && ((Q = U[0]) === null || Q === void 0 ? void 0 : Q.type) === "checkbox" && !Array.isArray(j)) {
1736
+ if (de(H) && ((Q = H[0]) === null || Q === void 0 ? void 0 : Q.type) === "checkbox" && !Array.isArray(j)) {
1737
1737
  const fe = ie(Pt(oe(c, m) || [], j, void 0));
1738
1738
  Te(c, m, fe);
1739
1739
  return;
1740
1740
  }
1741
1741
  let K = j;
1742
- !de(U) && U.type === "checkbox" && !E && !l && (K = ie(Pt(oe(c, m), j, u(U.uncheckedValue)))), Te(c, m, K);
1742
+ !de(H) && H.type === "checkbox" && !E && !l && (K = ie(Pt(oe(c, m), j, u(H.uncheckedValue)))), Te(c, m, K);
1743
1743
  }
1744
- function p(m) {
1744
+ function k(m) {
1745
1745
  Ie(c).forEach((j) => {
1746
1746
  delete c[j];
1747
1747
  }), Ie(m).forEach((j) => {
1748
- W(j, m[j]);
1748
+ U(j, m[j]);
1749
1749
  }), r.forEach((j) => j && j.reset());
1750
1750
  }
1751
- function H(m) {
1751
+ function V(m) {
1752
1752
  const { value: j } = nn(m, void 0, ae);
1753
1753
  return me(j, () => {
1754
1754
  Z(u(m)) || It({ mode: "validated-only" });
@@ -1757,7 +1757,7 @@ function Ul(e) {
1757
1757
  }), n.add(u(m)), j;
1758
1758
  }
1759
1759
  function ve(m) {
1760
- return Array.isArray(m) ? m.map(H) : H(m);
1760
+ return Array.isArray(m) ? m.map(V) : V(m);
1761
1761
  }
1762
1762
  function A(m, j) {
1763
1763
  const E = a.value[m];
@@ -1769,7 +1769,7 @@ function Ul(e) {
1769
1769
  });
1770
1770
  }
1771
1771
  function se(m) {
1772
- l = !0, b((j) => j.resetField()), m != null && m.values ? (w(m.values), p(m == null ? void 0 : m.values)) : (w(G.value), p(G.value)), m != null && m.touched && X(m.touched), P((m == null ? void 0 : m.errors) || {}), o.value = (m == null ? void 0 : m.submitCount) || 0, Ee(() => {
1772
+ l = !0, h((j) => j.resetField()), m != null && m.values ? (w(m.values), k(m == null ? void 0 : m.values)) : (w(G.value), k(G.value)), m != null && m.touched && X(m.touched), P((m == null ? void 0 : m.errors) || {}), o.value = (m == null ? void 0 : m.submitCount) || 0, Ee(() => {
1773
1773
  l = !1;
1774
1774
  });
1775
1775
  }
@@ -1779,8 +1779,8 @@ function Ul(e) {
1779
1779
  a.value[Q] = E;
1780
1780
  return;
1781
1781
  }
1782
- const U = a.value[Q];
1783
- U && !Array.isArray(U) && (a.value[Q] = [U]), a.value[Q] = [...a.value[Q], E];
1782
+ const H = a.value[Q];
1783
+ H && !Array.isArray(H) && (a.value[Q] = [H]), a.value[Q] = [...a.value[Q], E];
1784
1784
  }
1785
1785
  function xe(m, j) {
1786
1786
  const E = j, Q = a.value[E];
@@ -1790,17 +1790,17 @@ function Ul(e) {
1790
1790
  return;
1791
1791
  }
1792
1792
  if (de(Q)) {
1793
- const U = Q.findIndex((ne) => ne.id === m.id);
1794
- if (U === -1)
1793
+ const H = Q.findIndex((ne) => ne.id === m.id);
1794
+ if (H === -1)
1795
1795
  return;
1796
- Q.splice(U, 1), Q.length || delete a.value[E];
1796
+ Q.splice(H, 1), Q.length || delete a.value[E];
1797
1797
  }
1798
1798
  }
1799
1799
  }
1800
1800
  function Fe(m) {
1801
1801
  const j = u(m.name);
1802
- pe(m, j), Ue(m.name) && me(m.name, async (Q, U) => {
1803
- await Ee(), xe(m, U), pe(m, Q), (d.value[U] || d.value[Q]) && (D(U, void 0), xt(Q)), await Ee(), Z(U) || Mt(c, U);
1802
+ pe(m, j), Ue(m.name) && me(m.name, async (Q, H) => {
1803
+ await Ee(), xe(m, H), pe(m, Q), (d.value[H] || d.value[Q]) && (S(H, void 0), xt(Q)), await Ee(), Z(H) || Mt(c, H);
1804
1804
  });
1805
1805
  const E = u(m.errorMessage);
1806
1806
  E && (z == null ? void 0 : z[j]) !== E && xt(j), delete z[j];
@@ -1808,42 +1808,42 @@ function Ul(e) {
1808
1808
  function dt(m) {
1809
1809
  const j = u(m.name), E = a.value[j], Q = !!E && de(E);
1810
1810
  xe(m, j), Ee(() => {
1811
- var U;
1812
- const ne = (U = u(m.keepValueOnUnmount)) !== null && U !== void 0 ? U : u(v), K = oe(c, j);
1811
+ var H;
1812
+ const ne = (H = u(m.keepValueOnUnmount)) !== null && H !== void 0 ? H : u(f), K = oe(c, j);
1813
1813
  if (Q && (E === a.value[j] || !a.value[j]) && !ne)
1814
1814
  if (Array.isArray(K)) {
1815
1815
  const we = K.findIndex((Se) => Me(Se, u(m.checkedValue)));
1816
1816
  if (we > -1) {
1817
1817
  const Se = [...K];
1818
- Se.splice(we, 1), W(j, Se, { force: !0 });
1818
+ Se.splice(we, 1), U(j, Se, { force: !0 });
1819
1819
  }
1820
1820
  } else
1821
1821
  K === u(m.checkedValue) && Mt(c, j);
1822
1822
  if (!Z(j)) {
1823
- if (D(j, void 0), ne || Q && Array.isArray(K) && !Ri(K))
1823
+ if (S(j, void 0), ne || Q && Array.isArray(K) && !Ri(K))
1824
1824
  return;
1825
1825
  Mt(c, j);
1826
1826
  }
1827
1827
  });
1828
1828
  }
1829
1829
  async function It(m) {
1830
- if (b((U) => U.meta.validated = !0), ae.validateSchema)
1830
+ if (h((H) => H.meta.validated = !0), ae.validateSchema)
1831
1831
  return ae.validateSchema((m == null ? void 0 : m.mode) || "force");
1832
- const j = await Promise.all(Object.values(a.value).map((U) => {
1833
- const ne = Array.isArray(U) ? U[0] : U;
1832
+ const j = await Promise.all(Object.values(a.value).map((H) => {
1833
+ const ne = Array.isArray(H) ? H[0] : H;
1834
1834
  return ne ? ne.validate(m).then((K) => ({
1835
1835
  key: u(ne.name),
1836
1836
  valid: K.valid,
1837
1837
  errors: K.errors
1838
1838
  })) : Promise.resolve({ key: "", valid: !0, errors: [] });
1839
1839
  })), E = {}, Q = {};
1840
- for (const U of j)
1841
- E[U.key] = {
1842
- valid: U.valid,
1843
- errors: U.errors
1844
- }, U.errors.length && (Q[U.key] = U.errors[0]);
1840
+ for (const H of j)
1841
+ E[H.key] = {
1842
+ valid: H.valid,
1843
+ errors: H.errors
1844
+ }, H.errors.length && (Q[H.key] = H.errors[0]);
1845
1845
  return {
1846
- valid: j.every((U) => U.valid),
1846
+ valid: j.every((H) => H.valid),
1847
1847
  results: E,
1848
1848
  errors: Q
1849
1849
  };
@@ -1853,19 +1853,19 @@ function Ul(e) {
1853
1853
  return j ? Array.isArray(j) ? j.map((E) => E.validate())[0] : j.validate() : (Oi(`field with name ${m} was not found`), Promise.resolve({ errors: [], valid: !0 }));
1854
1854
  }
1855
1855
  function Nn(m) {
1856
- Mt(h.value, m);
1856
+ Mt(D.value, m);
1857
1857
  }
1858
1858
  function jn(m, j, E = !1) {
1859
1859
  Te(c, m, j), Ni(m, j), E && !(e != null && e.initialValues) && Te(G.value, m, ie(j));
1860
1860
  }
1861
1861
  function Ni(m, j) {
1862
- Te(h.value, m, ie(j));
1862
+ Te(D.value, m, ie(j));
1863
1863
  }
1864
1864
  async function ji() {
1865
1865
  const m = u(te);
1866
1866
  return m ? et(m) ? await Sl(m, c) : await Al(m, c, {
1867
- names: O.value,
1868
- bailsMap: C.value
1867
+ names: p.value,
1868
+ bailsMap: L.value
1869
1869
  }) : { valid: !0, results: {}, errors: {} };
1870
1870
  }
1871
1871
  const yn = ye((m, { evt: j }) => {
@@ -1990,7 +1990,7 @@ J({
1990
1990
  }
1991
1991
  },
1992
1992
  setup(e, t) {
1993
- const i = Le(e, "initialValues"), n = Le(e, "validationSchema"), l = Le(e, "keepValues"), { errors: a, values: s, meta: o, isSubmitting: r, submitCount: c, controlledValues: M, validate: N, validateField: I, handleReset: d, resetForm: S, handleSubmit: Z, setErrors: O, setFieldError: C, setFieldValue: z, setValues: v, setFieldTouched: h, setTouched: G } = Ul({
1993
+ const i = Le(e, "initialValues"), n = Le(e, "validationSchema"), l = Le(e, "keepValues"), { errors: a, values: s, meta: o, isSubmitting: r, submitCount: c, controlledValues: M, validate: N, validateField: I, handleReset: d, resetForm: v, handleSubmit: Z, setErrors: p, setFieldError: L, setFieldValue: z, setValues: f, setFieldTouched: D, setTouched: G } = Ul({
1994
1994
  validationSchema: n.value ? n : void 0,
1995
1995
  initialValues: i,
1996
1996
  initialErrors: e.initialErrors,
@@ -2000,7 +2000,7 @@ J({
2000
2000
  }), w = Z((le, { evt: ue }) => {
2001
2001
  qi(ue) && ue.target.submit();
2002
2002
  }, e.onInvalidSubmit), Y = e.onSubmit ? Z(e.onSubmit, e.onInvalidSubmit) : w;
2003
- function V(le) {
2003
+ function W(le) {
2004
2004
  oi(le) && le.preventDefault(), d(), typeof t.attrs.onReset == "function" && t.attrs.onReset();
2005
2005
  }
2006
2006
  function te(le, ue) {
@@ -2019,23 +2019,23 @@ J({
2019
2019
  handleSubmit: te,
2020
2020
  handleReset: d,
2021
2021
  submitForm: w,
2022
- setErrors: O,
2023
- setFieldError: C,
2022
+ setErrors: p,
2023
+ setFieldError: L,
2024
2024
  setFieldValue: z,
2025
- setValues: v,
2026
- setFieldTouched: h,
2025
+ setValues: f,
2026
+ setFieldTouched: D,
2027
2027
  setTouched: G,
2028
- resetForm: S
2028
+ resetForm: v
2029
2029
  };
2030
2030
  }
2031
2031
  return t.expose({
2032
- setFieldError: C,
2033
- setErrors: O,
2032
+ setFieldError: L,
2033
+ setErrors: p,
2034
2034
  setFieldValue: z,
2035
- setValues: v,
2036
- setFieldTouched: h,
2035
+ setValues: f,
2036
+ setFieldTouched: D,
2037
2037
  setTouched: G,
2038
- resetForm: S,
2038
+ resetForm: v,
2039
2039
  validate: N,
2040
2040
  validateField: I
2041
2041
  }), function() {
@@ -2045,7 +2045,7 @@ J({
2045
2045
  const ge = e.as === "form" ? {
2046
2046
  novalidate: !0
2047
2047
  } : {};
2048
- return gt(ue, Object.assign(Object.assign(Object.assign({}, ge), t.attrs), { onSubmit: Y, onReset: V }), ce);
2048
+ return gt(ue, Object.assign(Object.assign(Object.assign({}, ge), t.attrs), { onSubmit: Y, onReset: W }), ce);
2049
2049
  };
2050
2050
  }
2051
2051
  });
@@ -2066,33 +2066,33 @@ function Xl(e) {
2066
2066
  return Tt("FieldArray requires being a child of `<Form/>` or `useForm` being called before it. Array fields may not work correctly"), l;
2067
2067
  if (!u(e))
2068
2068
  return Tt("FieldArray requires a field path to be provided, did you forget to pass the `name` prop?"), l;
2069
- const a = t.fieldArrays.find((v) => u(v.path) === u(e));
2069
+ const a = t.fieldArrays.find((f) => u(f.path) === u(e));
2070
2070
  if (a)
2071
2071
  return a;
2072
2072
  let s = 0;
2073
2073
  function o() {
2074
- const v = oe(t == null ? void 0 : t.values, u(e), []) || [];
2075
- i.value = v.map(c), r();
2074
+ const f = oe(t == null ? void 0 : t.values, u(e), []) || [];
2075
+ i.value = f.map(c), r();
2076
2076
  }
2077
2077
  o();
2078
2078
  function r() {
2079
- const v = i.value.length;
2080
- for (let h = 0; h < v; h++) {
2081
- const G = i.value[h];
2082
- G.isFirst = h === 0, G.isLast = h === v - 1;
2079
+ const f = i.value.length;
2080
+ for (let D = 0; D < f; D++) {
2081
+ const G = i.value[D];
2082
+ G.isFirst = D === 0, G.isLast = D === f - 1;
2083
2083
  }
2084
2084
  }
2085
- function c(v) {
2086
- const h = s++;
2085
+ function c(f) {
2086
+ const D = s++;
2087
2087
  return {
2088
- key: h,
2088
+ key: D,
2089
2089
  value: Ml({
2090
2090
  get() {
2091
- const w = oe(t == null ? void 0 : t.values, u(e), []) || [], Y = i.value.findIndex((V) => V.key === h);
2092
- return Y === -1 ? v : w[Y];
2091
+ const w = oe(t == null ? void 0 : t.values, u(e), []) || [], Y = i.value.findIndex((W) => W.key === D);
2092
+ return Y === -1 ? f : w[Y];
2093
2093
  },
2094
2094
  set(w) {
2095
- const Y = i.value.findIndex((V) => V.key === h);
2095
+ const Y = i.value.findIndex((W) => W.key === D);
2096
2096
  if (Y === -1) {
2097
2097
  Tt("Attempting to update a non-existent array item");
2098
2098
  return;
@@ -2104,59 +2104,59 @@ function Xl(e) {
2104
2104
  isLast: !1
2105
2105
  };
2106
2106
  }
2107
- function M(v) {
2108
- const h = u(e), G = oe(t == null ? void 0 : t.values, h);
2107
+ function M(f) {
2108
+ const D = u(e), G = oe(t == null ? void 0 : t.values, D);
2109
2109
  if (!G || !Array.isArray(G))
2110
2110
  return;
2111
2111
  const w = [...G];
2112
- w.splice(v, 1), t == null || t.unsetInitialValue(h + `[${v}]`), t == null || t.setFieldValue(h, w), i.value.splice(v, 1), r();
2112
+ w.splice(f, 1), t == null || t.unsetInitialValue(D + `[${f}]`), t == null || t.setFieldValue(D, w), i.value.splice(f, 1), r();
2113
2113
  }
2114
- function N(v) {
2115
- const h = u(e), G = oe(t == null ? void 0 : t.values, h), w = Ke(G) ? [] : G;
2114
+ function N(f) {
2115
+ const D = u(e), G = oe(t == null ? void 0 : t.values, D), w = Ke(G) ? [] : G;
2116
2116
  if (!Array.isArray(w))
2117
2117
  return;
2118
2118
  const Y = [...w];
2119
- Y.push(v), t == null || t.stageInitialValue(h + `[${Y.length - 1}]`, v), t == null || t.setFieldValue(h, Y), i.value.push(c(v)), r();
2119
+ Y.push(f), t == null || t.stageInitialValue(D + `[${Y.length - 1}]`, f), t == null || t.setFieldValue(D, Y), i.value.push(c(f)), r();
2120
2120
  }
2121
- function I(v, h) {
2121
+ function I(f, D) {
2122
2122
  const G = u(e), w = oe(t == null ? void 0 : t.values, G);
2123
- if (!Array.isArray(w) || !(v in w) || !(h in w))
2123
+ if (!Array.isArray(w) || !(f in w) || !(D in w))
2124
2124
  return;
2125
- const Y = [...w], V = [...i.value], te = Y[v];
2126
- Y[v] = Y[h], Y[h] = te;
2127
- const $ = V[v];
2128
- V[v] = V[h], V[h] = $, t == null || t.setFieldValue(G, Y), i.value = V, r();
2125
+ const Y = [...w], W = [...i.value], te = Y[f];
2126
+ Y[f] = Y[D], Y[D] = te;
2127
+ const $ = W[f];
2128
+ W[f] = W[D], W[D] = $, t == null || t.setFieldValue(G, Y), i.value = W, r();
2129
2129
  }
2130
- function d(v, h) {
2130
+ function d(f, D) {
2131
2131
  const G = u(e), w = oe(t == null ? void 0 : t.values, G);
2132
- if (!Array.isArray(w) || w.length < v)
2132
+ if (!Array.isArray(w) || w.length < f)
2133
2133
  return;
2134
- const Y = [...w], V = [...i.value];
2135
- Y.splice(v, 0, h), V.splice(v, 0, c(h)), t == null || t.setFieldValue(G, Y), i.value = V, r();
2134
+ const Y = [...w], W = [...i.value];
2135
+ Y.splice(f, 0, D), W.splice(f, 0, c(D)), t == null || t.setFieldValue(G, Y), i.value = W, r();
2136
2136
  }
2137
- function S(v) {
2138
- const h = u(e);
2139
- t == null || t.setFieldValue(h, v), o();
2137
+ function v(f) {
2138
+ const D = u(e);
2139
+ t == null || t.setFieldValue(D, f), o();
2140
2140
  }
2141
- function Z(v, h) {
2141
+ function Z(f, D) {
2142
2142
  const G = u(e), w = oe(t == null ? void 0 : t.values, G);
2143
- !Array.isArray(w) || w.length - 1 < v || (t == null || t.setFieldValue(`${G}[${v}]`, h), t == null || t.validate({ mode: "validated-only" }));
2143
+ !Array.isArray(w) || w.length - 1 < f || (t == null || t.setFieldValue(`${G}[${f}]`, D), t == null || t.validate({ mode: "validated-only" }));
2144
2144
  }
2145
- function O(v) {
2146
- const h = u(e), G = oe(t == null ? void 0 : t.values, h), w = Ke(G) ? [] : G;
2145
+ function p(f) {
2146
+ const D = u(e), G = oe(t == null ? void 0 : t.values, D), w = Ke(G) ? [] : G;
2147
2147
  if (!Array.isArray(w))
2148
2148
  return;
2149
- const Y = [v, ...w];
2150
- t == null || t.stageInitialValue(h + `[${Y.length - 1}]`, v), t == null || t.setFieldValue(h, Y), i.value.unshift(c(v)), r();
2149
+ const Y = [f, ...w];
2150
+ t == null || t.stageInitialValue(D + `[${Y.length - 1}]`, f), t == null || t.setFieldValue(D, Y), i.value.unshift(c(f)), r();
2151
2151
  }
2152
- function C(v, h) {
2152
+ function L(f, D) {
2153
2153
  const G = u(e), w = oe(t == null ? void 0 : t.values, G), Y = Ke(w) ? [] : [...w];
2154
- if (!Array.isArray(w) || !(v in w) || !(h in w))
2154
+ if (!Array.isArray(w) || !(f in w) || !(D in w))
2155
2155
  return;
2156
- const V = [...i.value], te = V[v];
2157
- V.splice(v, 1), V.splice(h, 0, te);
2158
- const $ = Y[v];
2159
- Y.splice(v, 1), Y.splice(h, 0, $), t == null || t.setFieldValue(G, Y), i.value = V, r();
2156
+ const W = [...i.value], te = W[f];
2157
+ W.splice(f, 1), W.splice(D, 0, te);
2158
+ const $ = Y[f];
2159
+ Y.splice(f, 1), Y.splice(D, 0, $), t == null || t.setFieldValue(G, Y), i.value = W, r();
2160
2160
  }
2161
2161
  const z = {
2162
2162
  fields: i,
@@ -2165,13 +2165,13 @@ function Xl(e) {
2165
2165
  swap: I,
2166
2166
  insert: d,
2167
2167
  update: Z,
2168
- replace: S,
2169
- prepend: O,
2170
- move: C
2168
+ replace: v,
2169
+ prepend: p,
2170
+ move: L
2171
2171
  };
2172
2172
  return t.fieldArrays.push(Object.assign({ path: e, reset: o }, z)), ki(() => {
2173
- const v = t.fieldArrays.findIndex((h) => u(h.path) === u(e));
2174
- v >= 0 && t.fieldArrays.splice(v, 1);
2173
+ const f = t.fieldArrays.findIndex((D) => u(D.path) === u(e));
2174
+ f >= 0 && t.fieldArrays.splice(f, 1);
2175
2175
  }), z;
2176
2176
  }
2177
2177
  J({
@@ -2258,7 +2258,7 @@ const Rl = {
2258
2258
  viewBox: "0 0 24 24",
2259
2259
  width: "1em",
2260
2260
  height: "1em"
2261
- }, Jl = /* @__PURE__ */ f("path", {
2261
+ }, Jl = /* @__PURE__ */ b("path", {
2262
2262
  fill: "currentColor",
2263
2263
  d: "m9.55 18l-5.7-5.7l1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4Z"
2264
2264
  }, null, -1), ql = [
@@ -2320,21 +2320,21 @@ const rn = { name: "material-symbols-done", render: _l }, Kl = ["id", "data-test
2320
2320
  return (I, d) => (g(), y("div", {
2321
2321
  id: `input-text-${e.id}`,
2322
2322
  "data-testid": `input-text-${e.id}`,
2323
- class: k([[`${I.$props.class}`, { "-disabled": e.disabled }], "sol-input-text-core"])
2323
+ class: B([[`${I.$props.class}`, { "-disabled": e.disabled }], "sol-input-text-core"])
2324
2324
  }, [
2325
2325
  e.label ? (g(), y("label", {
2326
2326
  key: 0,
2327
2327
  for: `input-text-input-${e.id}`,
2328
2328
  "data-testid": `input-text-label-${e.id}`,
2329
- class: k(["label", `-${e.size}`]),
2329
+ class: B(["label", `-${e.size}`]),
2330
2330
  "data-required": e.required
2331
- }, B(e.label), 11, ea)) : F("", !0),
2332
- f("div", ta, [
2331
+ }, O(e.label), 11, ea)) : F("", !0),
2332
+ b("div", ta, [
2333
2333
  _(Qi, Be(I.$attrs, {
2334
2334
  id: `text-input-${e.id}`,
2335
2335
  modelValue: u(s),
2336
2336
  "onUpdate:modelValue": [
2337
- d[0] || (d[0] = (S) => Ue(s) ? s.value = S : null),
2337
+ d[0] || (d[0] = (v) => Ue(s) ? s.value = v : null),
2338
2338
  N
2339
2339
  ],
2340
2340
  size: e.size,
@@ -2350,27 +2350,27 @@ const rn = { name: "material-symbols-done", render: _l }, Kl = ["id", "data-test
2350
2350
  }), null, 16, ["id", "modelValue", "size", "name", "mask", "placeholder", "data-required", "has-feedback-icon", "error", "disabled", "aria-invalid", "aria-describedby"]),
2351
2351
  e.isLoading ? (g(), ee(Wi, {
2352
2352
  key: 0,
2353
- class: k(["icon-position", `-${e.size}`]),
2353
+ class: B(["icon-position", `-${e.size}`]),
2354
2354
  title: "carregando",
2355
2355
  "aria-busy": e.isSuccess,
2356
2356
  size: e.size
2357
2357
  }, null, 8, ["aria-busy", "class", "size"])) : (g(), y("div", {
2358
2358
  key: 1,
2359
- class: k(["icon-position", `-${e.size}`])
2359
+ class: B(["icon-position", `-${e.size}`])
2360
2360
  }, [
2361
2361
  e.isSuccess ? (g(), ee(u(rn), {
2362
2362
  key: 0,
2363
2363
  "aria-hidden": "true",
2364
2364
  class: "text-feedback-positive-pure"
2365
- })) : L(I.$slots, "icon", { key: 1 })
2365
+ })) : C(I.$slots, "icon", { key: 1 })
2366
2366
  ], 2))
2367
2367
  ]),
2368
2368
  u(r) ? (g(), y("span", {
2369
2369
  key: 1,
2370
2370
  id: `input-text-describe-${e.id}`,
2371
2371
  "data-testid": `input-text-describe-${e.id}`,
2372
- class: k(["message", `-${u(M).type}`])
2373
- }, B(u(M).text), 11, ia)) : F("", !0)
2372
+ class: B(["message", `-${u(M).type}`])
2373
+ }, O(u(M).text), 11, ia)) : F("", !0)
2374
2374
  ], 10, Kl));
2375
2375
  }
2376
2376
  });
@@ -2378,15 +2378,15 @@ const la = {
2378
2378
  viewBox: "0 0 24 24",
2379
2379
  width: "1em",
2380
2380
  height: "1em"
2381
- }, aa = /* @__PURE__ */ f("g", {
2381
+ }, aa = /* @__PURE__ */ b("g", {
2382
2382
  fill: "none",
2383
2383
  stroke: "currentColor",
2384
2384
  "stroke-linecap": "round",
2385
2385
  "stroke-linejoin": "round",
2386
2386
  "stroke-width": "1.5"
2387
2387
  }, [
2388
- /* @__PURE__ */ f("path", { d: "M12 14a2 2 0 1 0 0-4a2 2 0 0 0 0 4Z" }),
2389
- /* @__PURE__ */ f("path", { d: "M21 12c-1.889 2.991-5.282 6-9 6s-7.111-3.009-9-6c2.299-2.842 4.992-6 9-6s6.701 3.158 9 6Z" })
2388
+ /* @__PURE__ */ b("path", { d: "M12 14a2 2 0 1 0 0-4a2 2 0 0 0 0 4Z" }),
2389
+ /* @__PURE__ */ b("path", { d: "M21 12c-1.889 2.991-5.282 6-9 6s-7.111-3.009-9-6c2.299-2.842 4.992-6 9-6s6.701 3.158 9 6Z" })
2390
2390
  ], -1), sa = [
2391
2391
  aa
2392
2392
  ];
@@ -2397,15 +2397,15 @@ const ua = { name: "iconoir-eye-empty", render: oa }, ra = {
2397
2397
  viewBox: "0 0 24 24",
2398
2398
  width: "1em",
2399
2399
  height: "1em"
2400
- }, ca = /* @__PURE__ */ f("g", {
2400
+ }, ca = /* @__PURE__ */ b("g", {
2401
2401
  fill: "none",
2402
2402
  stroke: "currentColor",
2403
2403
  "stroke-linecap": "round",
2404
2404
  "stroke-linejoin": "round",
2405
2405
  "stroke-width": "1.5"
2406
2406
  }, [
2407
- /* @__PURE__ */ f("path", { d: "m3 3l18 18M10.5 10.677a2 2 0 0 0 2.823 2.823" }),
2408
- /* @__PURE__ */ f("path", { d: "M7.362 7.561C5.68 8.74 4.279 10.42 3 12c1.889 2.991 5.282 6 9 6c1.55 0 3.043-.523 4.395-1.35M12 6c4.008 0 6.701 3.158 9 6a15.66 15.66 0 0 1-1.078 1.5" })
2407
+ /* @__PURE__ */ b("path", { d: "m3 3l18 18M10.5 10.677a2 2 0 0 0 2.823 2.823" }),
2408
+ /* @__PURE__ */ b("path", { d: "M7.362 7.561C5.68 8.74 4.279 10.42 3 12c1.889 2.991 5.282 6 9 6c1.55 0 3.043-.523 4.395-1.35M12 6c4.008 0 6.701 3.158 9 6a15.66 15.66 0 0 1-1.078 1.5" })
2409
2409
  ], -1), da = [
2410
2410
  ca
2411
2411
  ];
@@ -2451,7 +2451,7 @@ const Ma = { name: "iconoir-eye-off", render: Ia }, ma = ["aria-label"], Bt = /*
2451
2451
  "onUpdate:modelValue": a[1] || (a[1] = (s) => t("update:modelValue", s))
2452
2452
  }, {
2453
2453
  icon: q(() => [
2454
- f("button", {
2454
+ b("button", {
2455
2455
  type: "button",
2456
2456
  "data-testid": "toggle-type-password",
2457
2457
  "aria-label": i.value ? "Hide password" : "Show password",
@@ -2522,7 +2522,7 @@ const ga = ["id", "data-testid"], Na = ["id", "data-testid", "for", "data-requir
2522
2522
  return g(), y("div", {
2523
2523
  id: `input-textarea-${e.id}`,
2524
2524
  "data-testid": `input-textarea-${e.id}`,
2525
- class: k([[`${(I = M.$props.class) != null ? I : ""}`, `-${e.size}`], "sol-textarea-core"])
2525
+ class: B([[`${(I = M.$props.class) != null ? I : ""}`, `-${e.size}`], "sol-textarea-core"])
2526
2526
  }, [
2527
2527
  e.label ? (g(), y("label", {
2528
2528
  key: 0,
@@ -2532,10 +2532,10 @@ const ga = ["id", "data-testid"], Na = ["id", "data-testid", "for", "data-requir
2532
2532
  class: "label",
2533
2533
  "data-required": e.required
2534
2534
  }, [
2535
- f("span", null, B(e.label), 1)
2535
+ b("span", null, O(e.label), 1)
2536
2536
  ], 8, Na)) : F("", !0),
2537
- re(" " + B(u(l)) + " ", 1),
2538
- Ce(f("textarea", Be(M.$attrs, {
2537
+ re(" " + O(u(l)) + " ", 1),
2538
+ Ce(b("textarea", Be(M.$attrs, {
2539
2539
  id: `input-textarea-input-${e.id}`,
2540
2540
  "onUpdate:modelValue": N[0] || (N[0] = (d) => Ue(l) ? l.value = d : null),
2541
2541
  "data-testid": `input-textarea-input-${e.id}`,
@@ -2554,8 +2554,8 @@ const ga = ["id", "data-testid"], Na = ["id", "data-testid", "for", "data-requir
2554
2554
  key: 1,
2555
2555
  id: `input-textarea-describe-${e.id}`,
2556
2556
  "data-testid": `input-textarea-describe-${e.id}`,
2557
- class: k(["message", `-${u(r).type}`])
2558
- }, B(u(r).text), 11, ya)) : F("", !0)
2557
+ class: B(["message", `-${u(r).type}`])
2558
+ }, O(u(r).text), 11, ya)) : F("", !0)
2559
2559
  ], 10, ga);
2560
2560
  };
2561
2561
  }
@@ -2590,9 +2590,9 @@ const va = ["id", "aria-checked", "aria-labelledby", "data-testid", "checked", "
2590
2590
  t("change", (l = i.value) != null ? l : !!i.checked), t("update:checked", !i.checked);
2591
2591
  }
2592
2592
  return (l, a) => (g(), y("div", {
2593
- class: k(["sol-switch-core", [l.$props.class, `-text-${e.textDirection}`, { "-stretch-label": e.stretchLabel }]])
2593
+ class: B(["sol-switch-core", [l.$props.class, `-text-${e.textDirection}`, { "-stretch-label": e.stretchLabel }]])
2594
2594
  }, [
2595
- f("input", Be(l.$attrs, {
2595
+ b("input", Be(l.$attrs, {
2596
2596
  id: `switch-${e.name}-${e.id}`,
2597
2597
  type: "checkbox",
2598
2598
  class: "switch",
@@ -2605,12 +2605,12 @@ const va = ["id", "aria-checked", "aria-labelledby", "data-testid", "checked", "
2605
2605
  name: e.name,
2606
2606
  onChange: n
2607
2607
  }), null, 16, va),
2608
- f("label", {
2608
+ b("label", {
2609
2609
  id: `switch-label-${e.name}-${e.id}`,
2610
- class: k(["label", `-${e.textDirection} ${e.hideLabel ? "sr-only" : ""}`]),
2610
+ class: B(["label", `-${e.textDirection} ${e.hideLabel ? "sr-only" : ""}`]),
2611
2611
  for: `switch-${e.name}-${e.id}`,
2612
2612
  "data-testid": `switch-label-${e.name}-${e.id}`
2613
- }, B(e.label), 11, fa)
2613
+ }, O(e.label), 11, fa)
2614
2614
  ], 2));
2615
2615
  }
2616
2616
  });
@@ -2634,9 +2634,9 @@ const ba = ["id", "data-testid", "checked", "value", "name"], ha = ["for"], Da =
2634
2634
  emits: ["change"],
2635
2635
  setup(e, { emit: t }) {
2636
2636
  return (i, n) => (g(), y("div", {
2637
- class: k(["sol-radio-core", [i.$props.class, { "-hide-label": e.hideLabel }]])
2637
+ class: B(["sol-radio-core", [i.$props.class, { "-hide-label": e.hideLabel }]])
2638
2638
  }, [
2639
- f("input", Be(i.$attrs, {
2639
+ b("input", Be(i.$attrs, {
2640
2640
  id: `radio-${e.name}-${e.id}`,
2641
2641
  type: "radio",
2642
2642
  class: "radio",
@@ -2646,10 +2646,10 @@ const ba = ["id", "data-testid", "checked", "value", "name"], ha = ["for"], Da =
2646
2646
  name: e.name,
2647
2647
  onChange: n[0] || (n[0] = (l) => t("change", e.value))
2648
2648
  }), null, 16, ba),
2649
- f("label", {
2649
+ b("label", {
2650
2650
  class: "label",
2651
2651
  for: `radio-${e.name}-${e.id}`
2652
- }, B(e.label), 9, ha)
2652
+ }, O(e.label), 9, ha)
2653
2653
  ], 2));
2654
2654
  }
2655
2655
  });
@@ -2702,25 +2702,25 @@ const Sa = ["id", "data-testid", "aria-labelledby"], Aa = ["id", "data-testid"],
2702
2702
  "aria-labelledby": `radio-group-title-${e.id}`,
2703
2703
  class: "sol-radio-group-core"
2704
2704
  }, [
2705
- L(N.$slots, "title", {
2705
+ C(N.$slots, "title", {
2706
2706
  id: `radio-group-title-${e.id}`
2707
2707
  }, () => [
2708
- f("legend", {
2708
+ b("legend", {
2709
2709
  id: `radio-group-title-${e.id}`,
2710
- class: k(["title", { "sr-only": e.hideTitle }]),
2710
+ class: B(["title", { "sr-only": e.hideTitle }]),
2711
2711
  "data-testid": `radio-group-title-${e.id}`
2712
- }, B(e.title), 11, Aa)
2712
+ }, O(e.title), 11, Aa)
2713
2713
  ]),
2714
- f("ul", {
2715
- class: k(["container-radios", { "flex-col": e.direction === "column" }])
2714
+ b("ul", {
2715
+ class: B(["container-radios", { "flex-col": e.direction === "column" }])
2716
2716
  }, [
2717
- L(N.$slots, "default", {
2717
+ C(N.$slots, "default", {
2718
2718
  radios: e.radios,
2719
2719
  direction: e.direction
2720
2720
  }, () => [
2721
- (g(!0), y(Ae, null, he(e.radios, (d, S) => {
2721
+ (g(!0), y(Ae, null, he(e.radios, (d, v) => {
2722
2722
  var Z;
2723
- return g(), y("li", { key: S }, [
2723
+ return g(), y("li", { key: v }, [
2724
2724
  _(nt, Be(N.$attrs, {
2725
2725
  id: (Z = d == null ? void 0 : d.id) != null ? Z : `${d.value}`,
2726
2726
  class: ["radio", { "mb-micro": e.direction === "column", "mr-micro": e.direction === "row" }],
@@ -2731,7 +2731,7 @@ const Sa = ["id", "data-testid", "aria-labelledby"], Aa = ["id", "data-testid"],
2731
2731
  error: !!u(a),
2732
2732
  "aria-invalid": !!u(a),
2733
2733
  "aria-describedby": u(o),
2734
- onChange: (O) => M(d)
2734
+ onChange: (p) => M(d)
2735
2735
  }), null, 16, ["id", "class", "name", "value", "label", "checked", "error", "aria-invalid", "aria-describedby", "onChange"])
2736
2736
  ]);
2737
2737
  }), 128))
@@ -2741,8 +2741,8 @@ const Sa = ["id", "data-testid", "aria-labelledby"], Aa = ["id", "data-testid"],
2741
2741
  key: 0,
2742
2742
  id: `radios-describe-${e.id}`,
2743
2743
  "data-testid": `radios-describe-${e.id}`,
2744
- class: k(["message", `-${u(r).type}`])
2745
- }, B(u(r).text), 11, xa)) : F("", !0)
2744
+ class: B(["message", `-${u(r).type}`])
2745
+ }, O(u(r).text), 11, xa)) : F("", !0)
2746
2746
  ], 8, Sa));
2747
2747
  }
2748
2748
  });
@@ -2770,9 +2770,9 @@ const wa = ["id", "indeterminate", "data-testid", "checked", "value", "name"], Z
2770
2770
  emits: ["change"],
2771
2771
  setup(e, { emit: t }) {
2772
2772
  return (i, n) => (g(), y("div", {
2773
- class: k(["sol-checkbox-core", [i.$props.class, { "-hide-label": e.hideLabel }]])
2773
+ class: B(["sol-checkbox-core", [i.$props.class, { "-hide-label": e.hideLabel }]])
2774
2774
  }, [
2775
- f("input", Be(i.$attrs, {
2775
+ b("input", Be(i.$attrs, {
2776
2776
  id: `checkbox-${e.name}-${e.id}`,
2777
2777
  type: "checkbox",
2778
2778
  indeterminate: e.indeterminate,
@@ -2783,10 +2783,10 @@ const wa = ["id", "indeterminate", "data-testid", "checked", "value", "name"], Z
2783
2783
  name: e.name,
2784
2784
  onChange: n[0] || (n[0] = (l) => t("change", e.value))
2785
2785
  }), null, 16, wa),
2786
- f("label", {
2786
+ b("label", {
2787
2787
  class: "label",
2788
2788
  for: `checkbox-${e.name}-${e.id}`
2789
- }, B(e.label), 9, Za)
2789
+ }, O(e.label), 9, Za)
2790
2790
  ], 2));
2791
2791
  }
2792
2792
  });
@@ -2834,9 +2834,9 @@ const za = ["id", "data-testid", "aria-labelledby"], La = ["id", "data-testid"],
2834
2834
  return Array.isArray(l.value) ? [...l.value, I] : [I];
2835
2835
  }
2836
2836
  function N(I) {
2837
- var S;
2837
+ var v;
2838
2838
  t("change", I.value);
2839
- const d = c(I.value) ? (S = l.value) == null ? void 0 : S.filter((Z) => Z !== I.value) : M(I.value);
2839
+ const d = c(I.value) ? (v = l.value) == null ? void 0 : v.filter((Z) => Z !== I.value) : M(I.value);
2840
2840
  l.value = d, t("update:modelValue", d);
2841
2841
  }
2842
2842
  return (I, d) => (g(), y("fieldset", {
@@ -2845,36 +2845,36 @@ const za = ["id", "data-testid", "aria-labelledby"], La = ["id", "data-testid"],
2845
2845
  class: "sol-checkbox-group-core",
2846
2846
  "aria-labelledby": `checkbox-group-title-${e.id}`
2847
2847
  }, [
2848
- L(I.$slots, "title", {
2848
+ C(I.$slots, "title", {
2849
2849
  id: `checkbox-group-title-${e.id}`
2850
2850
  }, () => [
2851
- f("legend", {
2851
+ b("legend", {
2852
2852
  id: `checkbox-group-title-${e.id}`,
2853
- class: k(["title", { "sr-only": e.hideTitle }]),
2853
+ class: B(["title", { "sr-only": e.hideTitle }]),
2854
2854
  "data-testid": `checkbox-group-title-${e.id}`
2855
- }, B(e.title), 11, La)
2855
+ }, O(e.title), 11, La)
2856
2856
  ]),
2857
- f("ul", {
2858
- class: k(["container-checkboxes", { "flex-col": e.direction === "column" }])
2857
+ b("ul", {
2858
+ class: B(["container-checkboxes", { "flex-col": e.direction === "column" }])
2859
2859
  }, [
2860
- L(I.$slots, "default", {
2860
+ C(I.$slots, "default", {
2861
2861
  checkboxes: e.checkboxes,
2862
2862
  direction: e.direction
2863
2863
  }, () => [
2864
- (g(!0), y(Ae, null, he(e.checkboxes, (S, Z) => {
2865
- var O;
2864
+ (g(!0), y(Ae, null, he(e.checkboxes, (v, Z) => {
2865
+ var p;
2866
2866
  return g(), y("li", { key: Z }, [
2867
2867
  _(Xe, Be(I.$attrs, {
2868
- id: (O = S == null ? void 0 : S.id) != null ? O : `${S.value}`,
2868
+ id: (p = v == null ? void 0 : v.id) != null ? p : `${v.value}`,
2869
2869
  class: ["checkbox", { "mb-micro": e.direction === "column", "mr-micro": e.direction === "row" }],
2870
- label: S.label,
2871
- name: S.name,
2872
- value: S.value,
2873
- checked: c(S.value),
2870
+ label: v.label,
2871
+ name: v.name,
2872
+ value: v.value,
2873
+ checked: c(v.value),
2874
2874
  error: !!u(a),
2875
2875
  "aria-invalid": !!u(a),
2876
2876
  "aria-describedby": u(o),
2877
- onChange: (C) => N(S)
2877
+ onChange: (L) => N(v)
2878
2878
  }), null, 16, ["id", "class", "label", "name", "value", "checked", "error", "aria-invalid", "aria-describedby", "onChange"])
2879
2879
  ]);
2880
2880
  }), 128))
@@ -2884,8 +2884,8 @@ const za = ["id", "data-testid", "aria-labelledby"], La = ["id", "data-testid"],
2884
2884
  key: 0,
2885
2885
  id: `checkboxes-describe-${e.id}`,
2886
2886
  "data-testid": `checkboxes-describe-${e.id}`,
2887
- class: k(["message", `-${u(r).type}`])
2888
- }, B(u(r).text), 11, Ca)) : F("", !0)
2887
+ class: B(["message", `-${u(r).type}`])
2888
+ }, O(u(r).text), 11, Ca)) : F("", !0)
2889
2889
  ], 8, za));
2890
2890
  }
2891
2891
  });
@@ -2944,27 +2944,27 @@ function dn(e, t, i = {}) {
2944
2944
  let r;
2945
2945
  const c = (d) => {
2946
2946
  n.clearTimeout(r);
2947
- const S = qe(e);
2948
- !S || S === d.target || d.composedPath().includes(S) || !o.value || t(d);
2949
- }, M = (d) => l && l.some((S) => {
2950
- const Z = qe(S);
2947
+ const v = qe(e);
2948
+ !v || v === d.target || d.composedPath().includes(v) || !o.value || t(d);
2949
+ }, M = (d) => l && l.some((v) => {
2950
+ const Z = qe(v);
2951
2951
  return Z && (d.target === Z || d.composedPath().includes(Z));
2952
2952
  }), N = [
2953
2953
  _e(n, "click", c, { passive: !0, capture: a }),
2954
2954
  _e(n, "pointerdown", (d) => {
2955
- const S = qe(e);
2956
- o.value = !!S && !d.composedPath().includes(S) && !M(d);
2955
+ const v = qe(e);
2956
+ o.value = !!v && !d.composedPath().includes(v) && !M(d);
2957
2957
  }, { passive: !0 }),
2958
2958
  _e(n, "pointerup", (d) => {
2959
2959
  if (d.button === 0) {
2960
- const S = d.composedPath();
2961
- d.composedPath = () => S, r = n.setTimeout(() => c(d), 50);
2960
+ const v = d.composedPath();
2961
+ d.composedPath = () => v, r = n.setTimeout(() => c(d), 50);
2962
2962
  }
2963
2963
  }, { passive: !0 }),
2964
2964
  s && _e(n, "blur", (d) => {
2965
- var S;
2965
+ var v;
2966
2966
  const Z = qe(e);
2967
- ((S = document.activeElement) == null ? void 0 : S.tagName) === "IFRAME" && !(Z != null && Z.contains(document.activeElement)) && t(d);
2967
+ ((v = document.activeElement) == null ? void 0 : v.tagName) === "IFRAME" && !(Z != null && Z.contains(document.activeElement)) && t(d);
2968
2968
  })
2969
2969
  ].filter(Boolean);
2970
2970
  return () => N.forEach((d) => d());
@@ -3081,11 +3081,11 @@ function At({ target: e, query: t }) {
3081
3081
  genericIndex: -1
3082
3082
  });
3083
3083
  function n(d) {
3084
- const S = d != null ? d : i.index, Z = e == null ? void 0 : e.value;
3084
+ const v = d != null ? d : i.index, Z = e == null ? void 0 : e.value;
3085
3085
  I(), d !== void 0 && (i.index = d), setTimeout(() => {
3086
3086
  var z;
3087
- const O = Z.children[S], C = t && O.querySelector(t) ? O.querySelector(t) : O;
3088
- i.id = (z = O == null ? void 0 : O.id) != null ? z : "", C == null || C.focus();
3087
+ const p = Z.children[v], L = t && p.querySelector(t) ? p.querySelector(t) : p;
3088
+ i.id = (z = p == null ? void 0 : p.id) != null ? z : "", L == null || L.focus();
3089
3089
  }, 0);
3090
3090
  }
3091
3091
  function l() {
@@ -3100,21 +3100,21 @@ function At({ target: e, query: t }) {
3100
3100
  function o(d) {
3101
3101
  n(d - 1);
3102
3102
  }
3103
- function r({ query: d, to: S }) {
3104
- var h, G;
3105
- const Z = i.index >= 0 ? i.index : 0, C = (e == null ? void 0 : e.value).children[Z], z = Array.isArray(d) ? d.flatMap((w) => Array.from(C.querySelectorAll(w))).filter((w) => w) : Array.from(C.querySelectorAll(d));
3103
+ function r({ query: d, to: v }) {
3104
+ var D, G;
3105
+ const Z = i.index >= 0 ? i.index : 0, L = (e == null ? void 0 : e.value).children[Z], z = Array.isArray(d) ? d.flatMap((w) => Array.from(L.querySelectorAll(w))).filter((w) => w) : Array.from(L.querySelectorAll(d));
3106
3106
  if (!z.length)
3107
3107
  return;
3108
- const v = i.rowIndex < z.length - 1;
3109
- S === "RIGHT" && v && (i.rowIndex += 1, (h = z[i.rowIndex]) == null || h.focus()), S === "LEFT" && (i.rowIndex = i.rowIndex >= 0 ? i.rowIndex - 1 : -1, i.rowIndex < 0 ? C.focus() : (G = z[i.rowIndex]) == null || G.focus());
3108
+ const f = i.rowIndex < z.length - 1;
3109
+ v === "RIGHT" && f && (i.rowIndex += 1, (D = z[i.rowIndex]) == null || D.focus()), v === "LEFT" && (i.rowIndex = i.rowIndex >= 0 ? i.rowIndex - 1 : -1, i.rowIndex < 0 ? L.focus() : (G = z[i.rowIndex]) == null || G.focus());
3110
3110
  }
3111
- function c({ query: d, to: S }) {
3112
- var z, v;
3113
- const Z = e == null ? void 0 : e.value, O = Array.isArray(d) ? d.flatMap((h) => Array.from(Z.querySelectorAll(h))).filter((h) => h) : Array.from(Z.querySelectorAll(d));
3114
- if (!O.length)
3111
+ function c({ query: d, to: v }) {
3112
+ var z, f;
3113
+ const Z = e == null ? void 0 : e.value, p = Array.isArray(d) ? d.flatMap((D) => Array.from(Z.querySelectorAll(D))).filter((D) => D) : Array.from(Z.querySelectorAll(d));
3114
+ if (!p.length)
3115
3115
  return;
3116
- const C = i.genericIndex < O.length - 1;
3117
- S === "NEXT" && C && (i.genericIndex += 1, (z = O[i.genericIndex]) == null || z.focus()), S === "PREVIOUS" && (i.genericIndex = i.genericIndex >= 0 ? i.genericIndex - 1 : -1, i.genericIndex < 0 ? Z.focus() : (v = O[i.genericIndex]) == null || v.focus());
3116
+ const L = i.genericIndex < p.length - 1;
3117
+ v === "NEXT" && L && (i.genericIndex += 1, (z = p[i.genericIndex]) == null || z.focus()), v === "PREVIOUS" && (i.genericIndex = i.genericIndex >= 0 ? i.genericIndex - 1 : -1, i.genericIndex < 0 ? Z.focus() : (f = p[i.genericIndex]) == null || f.focus());
3118
3118
  }
3119
3119
  function M(d) {
3120
3120
  return d.id ? d.id === i.id : d.index === i.index;
@@ -3142,7 +3142,7 @@ const $a = {
3142
3142
  viewBox: "0 0 24 24",
3143
3143
  width: "1em",
3144
3144
  height: "1em"
3145
- }, Qa = /* @__PURE__ */ f("path", {
3145
+ }, Qa = /* @__PURE__ */ b("path", {
3146
3146
  fill: "currentColor",
3147
3147
  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"
3148
3148
  }, null, -1), Xa = [
@@ -3175,7 +3175,7 @@ const Ra = { name: "mi-close", render: Fa }, Ja = ["id", "data-testid", "tabinde
3175
3175
  return (a, s) => (g(), y("div", {
3176
3176
  id: `removable-chip-${e.id}`,
3177
3177
  "data-testid": `removable-chip-${e.id}`,
3178
- class: k(["sol-removable-chip", {
3178
+ class: B(["sol-removable-chip", {
3179
3179
  "-disabled": e.disabled,
3180
3180
  [`-${e.size}`]: !0,
3181
3181
  [`-${e.variant}`]: !0
@@ -3190,14 +3190,14 @@ const Ra = { name: "mi-close", render: Fa }, Ja = ["id", "data-testid", "tabinde
3190
3190
  ["self"]
3191
3191
  ))
3192
3192
  }, [
3193
- f("span", {
3193
+ b("span", {
3194
3194
  id: `removable-chip-description-${e.id}`,
3195
3195
  "z-index": "-1",
3196
3196
  class: "description"
3197
3197
  }, " Press Delete or Backspace to remove ", 8, qa),
3198
- f("span", _a, [
3199
- L(a.$slots, "default", {}, () => [
3200
- re(B(e.label), 1)
3198
+ b("span", _a, [
3199
+ C(a.$slots, "default", {}, () => [
3200
+ re(O(e.label), 1)
3201
3201
  ])
3202
3202
  ]),
3203
3203
  _(u(Ra), {
@@ -3212,7 +3212,7 @@ const Ka = {
3212
3212
  viewBox: "0 0 24 24",
3213
3213
  width: "1em",
3214
3214
  height: "1em"
3215
- }, es = /* @__PURE__ */ f("path", {
3215
+ }, es = /* @__PURE__ */ b("path", {
3216
3216
  fill: "currentColor",
3217
3217
  d: "m19.6 21l-6.3-6.3q-.75.6-1.725.95Q10.6 16 9.5 16q-2.725 0-4.612-1.887Q3 12.225 3 9.5q0-2.725 1.888-4.613Q6.775 3 9.5 3t4.613 1.887Q16 6.775 16 9.5q0 1.1-.35 2.075q-.35.975-.95 1.725l6.3 6.3ZM9.5 14q1.875 0 3.188-1.312Q14 11.375 14 9.5q0-1.875-1.312-3.188Q11.375 5 9.5 5Q7.625 5 6.312 6.312Q5 7.625 5 9.5q0 1.875 1.312 3.188Q7.625 14 9.5 14Z"
3218
3218
  }, null, -1), ts = [
@@ -3224,7 +3224,7 @@ function is(e, t) {
3224
3224
  const ns = { name: "material-symbols-search", render: is }, ls = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], as = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], ss = { key: 1 }, os = {
3225
3225
  key: 0,
3226
3226
  class: "no-data"
3227
- }, us = /* @__PURE__ */ f("p", null, "Sem resultado para essa busca", -1), rs = /* @__PURE__ */ J({
3227
+ }, us = /* @__PURE__ */ b("p", null, "Sem resultado para essa busca", -1), rs = /* @__PURE__ */ J({
3228
3228
  __name: "ListOption",
3229
3229
  props: {
3230
3230
  id: null,
@@ -3273,10 +3273,10 @@ const ns = { name: "material-symbols-search", render: is }, ls = ["id", "data-te
3273
3273
  checked: e.isSelected(s),
3274
3274
  label: `${s.name}`,
3275
3275
  name: e.name
3276
- }, null, 8, ["id", "value", "checked", "label", "name"])) : (g(), y("span", ss, B(s.name), 1))
3276
+ }, null, 8, ["id", "value", "checked", "label", "name"])) : (g(), y("span", ss, O(s.name), 1))
3277
3277
  ], 44, as))), 128)),
3278
3278
  e.options.length ? F("", !0) : (g(), y("li", os, [
3279
- L(l.$slots, "no-data", {}, () => [
3279
+ C(l.$slots, "no-data", {}, () => [
3280
3280
  _(u(ns), { class: "icon" }),
3281
3281
  us
3282
3282
  ])
@@ -3288,7 +3288,7 @@ const cs = {
3288
3288
  viewBox: "0 0 24 24",
3289
3289
  width: "1em",
3290
3290
  height: "1em"
3291
- }, ds = /* @__PURE__ */ f("path", {
3291
+ }, ds = /* @__PURE__ */ b("path", {
3292
3292
  fill: "currentColor",
3293
3293
  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"
3294
3294
  }, null, -1), Is = [
@@ -3301,7 +3301,7 @@ const ms = { name: "mi-search", render: Ms }, gs = {
3301
3301
  viewBox: "0 0 24 24",
3302
3302
  width: "1em",
3303
3303
  height: "1em"
3304
- }, Ns = /* @__PURE__ */ f("path", {
3304
+ }, Ns = /* @__PURE__ */ b("path", {
3305
3305
  fill: "currentColor",
3306
3306
  d: "m17 10l-5 6l-5-6h10z"
3307
3307
  }, null, -1), js = [
@@ -3314,7 +3314,7 @@ const vs = { name: "mi-caret-down", render: ys }, fs = {
3314
3314
  viewBox: "0 0 24 24",
3315
3315
  width: "1em",
3316
3316
  height: "1em"
3317
- }, bs = /* @__PURE__ */ f("path", {
3317
+ }, bs = /* @__PURE__ */ b("path", {
3318
3318
  fill: "currentColor",
3319
3319
  d: "m12 13.4l-4.9 4.9q-.275.275-.7.275q-.425 0-.7-.275q-.275-.275-.275-.7q0-.425.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7q0-.425.275-.7q.275-.275.7-.275q.425 0 .7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275q.425 0 .7.275q.275.275.275.7q0 .425-.275.7L13.4 12l4.9 4.9q.275.275.275.7q0 .425-.275.7q-.275.275-.7.275q-.425 0-.7-.275Z"
3320
3320
  }, null, -1), hs = [
@@ -3326,7 +3326,7 @@ function Ds(e, t) {
3326
3326
  const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-testid"], xs = ["id", "data-testid", "data-required"], ws = {
3327
3327
  key: 0,
3328
3328
  class: "container-tags"
3329
- }, Zs = ["data-testid"], Ts = ["id", "data-testid"], zs = { class: "select-options-container" }, Ls = /* @__PURE__ */ f("hr", { class: "text-neutral-high-medium" }, null, -1), ft = /* @__PURE__ */ J({
3329
+ }, Zs = ["data-testid"], Ts = ["id", "data-testid"], zs = { class: "select-options-container" }, Ls = /* @__PURE__ */ b("hr", { class: "text-neutral-high-medium" }, null, -1), ft = /* @__PURE__ */ J({
3330
3330
  __name: "Select",
3331
3331
  props: {
3332
3332
  id: null,
@@ -3356,16 +3356,16 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3356
3356
  setup(e, { emit: t }) {
3357
3357
  const i = e, n = R(), l = R(!1), a = R(""), s = x(
3358
3358
  () => {
3359
- var b;
3360
- return i.fetchOnSearch ? i.options : (b = i.options) == null ? void 0 : b.filter((D) => new RegExp(a.value, "gi").test(`${D.name}`));
3359
+ var h;
3360
+ return i.fetchOnSearch ? i.options : (h = i.options) == null ? void 0 : h.filter((S) => new RegExp(a.value, "gi").test(`${S.name}`));
3361
3361
  }
3362
3362
  );
3363
3363
  dn(n, () => {
3364
3364
  l.value && d();
3365
3365
  });
3366
3366
  const o = x(() => {
3367
- var b;
3368
- return (b = i.name) != null ? b : "";
3367
+ var h;
3368
+ return (h = i.name) != null ? h : "";
3369
3369
  }), { value: r, errorMessage: c } = rt(o.value, {
3370
3370
  error: x(() => i.error),
3371
3371
  rules: i.rules,
@@ -3373,7 +3373,7 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3373
3373
  useFieldParent: i.useField
3374
3374
  }, {
3375
3375
  propKey: "selected",
3376
- emit: (b) => t("update:selected", b)
3376
+ emit: (h) => t("update:selected", h)
3377
3377
  });
3378
3378
  function M() {
3379
3379
  i.disabled || (l.value ? d() : I());
@@ -3385,86 +3385,86 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3385
3385
  function d() {
3386
3386
  le(), t("closeDropdown");
3387
3387
  }
3388
- function S(b) {
3388
+ function v(h) {
3389
3389
  if (Array.isArray(r.value)) {
3390
- const D = r.value.findIndex(
3391
- ({ value: P }) => P === b.value
3390
+ const S = r.value.findIndex(
3391
+ ({ value: P }) => P === h.value
3392
3392
  );
3393
- return D === -1 ? [...r.value, b] : r.value.filter((P, W) => W !== D);
3393
+ return S === -1 ? [...r.value, h] : r.value.filter((P, U) => U !== S);
3394
3394
  }
3395
- return [b];
3395
+ return [h];
3396
3396
  }
3397
- function Z(b) {
3398
- const D = i.multiple ? S(b) : b;
3399
- r.value = D, i.closeOnSelect && !i.multiple && d();
3397
+ function Z(h) {
3398
+ const S = i.multiple ? v(h) : h;
3399
+ r.value = S, i.closeOnSelect && !i.multiple && d();
3400
3400
  }
3401
- function O(b) {
3402
- var D;
3403
- return Array.isArray(r.value) ? r.value.some(({ value: P }) => P === b.value) : b.value === ((D = r == null ? void 0 : r.value) == null ? void 0 : D.value);
3401
+ function p(h) {
3402
+ var S;
3403
+ return Array.isArray(r.value) ? r.value.some(({ value: P }) => P === h.value) : h.value === ((S = r == null ? void 0 : r.value) == null ? void 0 : S.value);
3404
3404
  }
3405
- const C = R(), z = R();
3406
- function v() {
3407
- var b;
3408
- i.searchable && (te(), (b = C.value) == null || b.focus());
3405
+ const L = R(), z = R();
3406
+ function f() {
3407
+ var h;
3408
+ i.searchable && (te(), (h = L.value) == null || h.focus());
3409
3409
  }
3410
3410
  const {
3411
- elementFocus: h,
3411
+ elementFocus: D,
3412
3412
  focusOnFirstItem: G,
3413
3413
  focusOnLastItem: w,
3414
3414
  focusOnNextItem: Y,
3415
- focusOnPreviousItem: V,
3415
+ focusOnPreviousItem: W,
3416
3416
  resetStateFocus: te
3417
3417
  } = At({ target: z }), { navigate: $ } = Oe({
3418
3418
  Home: G,
3419
3419
  End: () => w(i.options.length),
3420
- ArrowUp: V,
3420
+ ArrowUp: W,
3421
3421
  ArrowDown: () => {
3422
3422
  !l.value && I(), Y(i.options.length);
3423
3423
  },
3424
3424
  Escape: d
3425
3425
  }, {
3426
- fallback: v,
3426
+ fallback: f,
3427
3427
  exclude: ["Enter", "NumpadEnter", "Space"]
3428
3428
  });
3429
3429
  function le() {
3430
3430
  l.value = !1, a.value = "", te();
3431
3431
  }
3432
- function ue(b) {
3433
- return (D) => b === "search" ? C.value = D == null ? void 0 : D.input : z.value = D == null ? void 0 : D.list;
3432
+ function ue(h) {
3433
+ return (S) => h === "search" ? L.value = S == null ? void 0 : S.input : z.value = S == null ? void 0 : S.list;
3434
3434
  }
3435
3435
  function ce() {
3436
- var D;
3437
- const b = r.value;
3438
- return (D = b == null ? void 0 : b.name) != null ? D : i.placeholder;
3436
+ var S;
3437
+ const h = r.value;
3438
+ return (S = h == null ? void 0 : h.name) != null ? S : i.placeholder;
3439
3439
  }
3440
3440
  const ge = x(
3441
3441
  () => !!(c != null && c.value) || !!i.helperText
3442
3442
  ), ye = x(
3443
3443
  () => ge.value ? `input-text-describe-${i.id}` : void 0
3444
3444
  ), ae = x(() => {
3445
- var b;
3446
- return (b = c == null ? void 0 : c.value) != null && b.length ? { text: c == null ? void 0 : c.value, type: "error" } : { text: i.helperText, type: "helper" };
3445
+ var h;
3446
+ return (h = c == null ? void 0 : c.value) != null && h.length ? { text: c == null ? void 0 : c.value, type: "error" } : { text: i.helperText, type: "helper" };
3447
3447
  });
3448
3448
  function de() {
3449
3449
  if (n.value) {
3450
- const b = n.value.getBoundingClientRect(), D = window.outerHeight - b.bottom > 300 ? "bottom" : "top";
3451
- N.value = D;
3450
+ const h = n.value.getBoundingClientRect(), S = window.outerHeight - h.bottom > 300 ? "bottom" : "top";
3451
+ N.value = S;
3452
3452
  }
3453
3453
  }
3454
3454
  function T() {
3455
3455
  r.value = [], d();
3456
3456
  }
3457
- return (b, D) => {
3458
- var W;
3457
+ return (h, S) => {
3458
+ var U;
3459
3459
  const P = Sn("Button");
3460
3460
  return g(), y("div", {
3461
3461
  ref_key: "el",
3462
3462
  ref: n,
3463
- class: k(["sol-select-core", [`-${e.size} -${N.value}`, { "-selected-multiple": e.multiple && Array.isArray(u(r)) && ((W = u(r)) == null ? void 0 : W.length) }]]),
3463
+ class: B(["sol-select-core", [`-${e.size} -${N.value}`, { "-selected-multiple": e.multiple && Array.isArray(u(r)) && ((U = u(r)) == null ? void 0 : U.length) }]]),
3464
3464
  "data-testid": `select-${e.id}`,
3465
- onKeydownPassive: D[3] || (D[3] = (...p) => u($) && u($)(...p))
3465
+ onKeydownPassive: S[3] || (S[3] = (...k) => u($) && u($)(...k))
3466
3466
  }, [
3467
- L(b.$slots, "label", {
3467
+ C(h.$slots, "label", {
3468
3468
  id: `select-label-${e.id}`,
3469
3469
  for: `select-toggle-${e.id}`
3470
3470
  }, () => [
@@ -3473,8 +3473,8 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3473
3473
  id: `select-label-${e.id}`,
3474
3474
  "data-testid": `select-label-${e.id}`,
3475
3475
  "data-required": e.required,
3476
- class: k(["label", { "-disabled": e.disabled }])
3477
- }, B(e.label), 11, xs)) : F("", !0)
3476
+ class: B(["label", { "-disabled": e.disabled }])
3477
+ }, O(e.label), 11, xs)) : F("", !0)
3478
3478
  ]),
3479
3479
  _(P, {
3480
3480
  id: `select-toggle-${e.id}`,
@@ -3493,15 +3493,15 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3493
3493
  onClick: Ne(M, ["stop"])
3494
3494
  }, {
3495
3495
  default: q(() => [
3496
- L(b.$slots, "toggle-dropdown", {
3496
+ C(h.$slots, "toggle-dropdown", {
3497
3497
  toggle: { open: I, close: d, toggleDropdown: M },
3498
3498
  isOpen: l.value,
3499
3499
  select: Z,
3500
3500
  selected: e.selected
3501
3501
  }, () => {
3502
- var p, H, ve;
3502
+ var k, V, ve;
3503
3503
  return [
3504
- e.multiple && Array.isArray(u(r)) && ((p = u(r)) == null ? void 0 : p.length) ? (g(), y("div", ws, [
3504
+ e.multiple && Array.isArray(u(r)) && ((k = u(r)) == null ? void 0 : k.length) ? (g(), y("div", ws, [
3505
3505
  (g(!0), y(Ae, null, he(u(r), (A, X) => (g(), ee(vt, {
3506
3506
  id: `select-value-selected-${e.id}-${A.value}`,
3507
3507
  key: X,
@@ -3516,8 +3516,8 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3516
3516
  "data-testid": `select-value-selected-${e.id}`,
3517
3517
  class: "min-w-3xs text-left",
3518
3518
  tabindex: "-1"
3519
- }, B(ce()), 9, Zs)),
3520
- e.multiple && Array.isArray(u(r)) && ((H = u(r)) == null ? void 0 : H.length) > 1 ? (g(), ee(je, {
3519
+ }, O(ce()), 9, Zs)),
3520
+ e.multiple && Array.isArray(u(r)) && ((V = u(r)) == null ? void 0 : V.length) > 1 ? (g(), ee(je, {
3521
3521
  key: 2,
3522
3522
  id: `select-${e.id}-clear-all`,
3523
3523
  class: "clear-button",
@@ -3534,7 +3534,7 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3534
3534
  _(u(vs), {
3535
3535
  "aria-hidden": "true",
3536
3536
  tabindex: "-1",
3537
- class: k(["icon", { "-open": l.value }])
3537
+ class: B(["icon", { "-open": l.value }])
3538
3538
  }, null, 8, ["class"])
3539
3539
  ];
3540
3540
  })
@@ -3545,8 +3545,8 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3545
3545
  key: 0,
3546
3546
  id: `select-describe-${e.id}`,
3547
3547
  "data-testid": `select-describe-${e.id}`,
3548
- class: k(["message", `-${u(ae).type}`])
3549
- }, B(u(ae).text), 11, Ts)), [
3548
+ class: B(["message", `-${u(ae).type}`])
3549
+ }, O(u(ae).text), 11, Ts)), [
3550
3550
  [Pe, !l.value]
3551
3551
  ]) : F("", !0),
3552
3552
  _(ai, {
@@ -3554,17 +3554,17 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3554
3554
  name: "dropdown"
3555
3555
  }, {
3556
3556
  default: q(() => [
3557
- Ce(f("div", zs, [
3558
- L(b.$slots, "search", {}, () => [
3557
+ Ce(b("div", zs, [
3558
+ C(h.$slots, "search", {}, () => [
3559
3559
  e.searchable ? (g(), y("div", {
3560
3560
  key: 0,
3561
- class: k(["search-container", { "-loading": e.loading }])
3561
+ class: B(["search-container", { "-loading": e.loading }])
3562
3562
  }, [
3563
3563
  _(Qi, {
3564
3564
  id: `select-search-${e.id}`,
3565
3565
  ref: ue("search"),
3566
3566
  modelValue: a.value,
3567
- "onUpdate:modelValue": D[0] || (D[0] = (p) => a.value = p),
3567
+ "onUpdate:modelValue": S[0] || (S[0] = (k) => a.value = k),
3568
3568
  role: "combobox",
3569
3569
  class: "search",
3570
3570
  size: "small",
@@ -3574,13 +3574,13 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3574
3574
  "aria-haspopup": "listbox",
3575
3575
  "aria-owns": `select-list-${e.id}`,
3576
3576
  "aria-controls": `select-list-${e.id}`,
3577
- "aria-activedescendant": u(h).id,
3577
+ "aria-activedescendant": u(D).id,
3578
3578
  "aria-labelledby": `select-label-${e.id}`,
3579
- onClick: D[1] || (D[1] = Ne(() => {
3579
+ onClick: S[1] || (S[1] = Ne(() => {
3580
3580
  }, ["stop"])),
3581
- onInput: D[2] || (D[2] = (p) => {
3582
- var H;
3583
- return t("search", (H = p.target) == null ? void 0 : H.value);
3581
+ onInput: S[2] || (S[2] = (k) => {
3582
+ var V;
3583
+ return t("search", (V = k.target) == null ? void 0 : V.value);
3584
3584
  })
3585
3585
  }, null, 8, ["id", "modelValue", "placeholder", "aria-expanded", "aria-owns", "aria-controls", "aria-activedescendant", "aria-labelledby"]),
3586
3586
  _(u(ms), {
@@ -3595,11 +3595,11 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
3595
3595
  options: u(s),
3596
3596
  name: u(o),
3597
3597
  multiple: e.multiple,
3598
- "is-selected": O,
3598
+ "is-selected": p,
3599
3599
  onSelect: Z
3600
3600
  }, {
3601
3601
  "no-data": q(() => [
3602
- L(b.$slots, "no-data")
3602
+ C(h.$slots, "no-data")
3603
3603
  ]),
3604
3604
  _: 3
3605
3605
  }, 8, ["id", "options", "name", "multiple"])
@@ -3643,7 +3643,7 @@ const Cs = ["id", "data-testid", "aria-disabled", "tabindex", "title", "aria-che
3643
3643
  return (s, o) => (g(), y("div", {
3644
3644
  id: n.chip,
3645
3645
  "data-testid": n.chip,
3646
- class: k(["sol-selectable-chip", [
3646
+ class: B(["sol-selectable-chip", [
3647
3647
  `-${e.size}`,
3648
3648
  {
3649
3649
  "-disabled": e.disabled,
@@ -3668,14 +3668,14 @@ const Cs = ["id", "data-testid", "aria-disabled", "tabindex", "title", "aria-che
3668
3668
  "aria-label": "selected",
3669
3669
  role: "img"
3670
3670
  })) : F("", !0),
3671
- f("span", {
3671
+ b("span", {
3672
3672
  id: n.describe,
3673
3673
  "z-index": "-1",
3674
3674
  class: "description"
3675
- }, " Press Enter or Space to " + B(e.selected ? "unselect" : "select"), 9, Gs),
3676
- f("span", ps, [
3677
- L(s.$slots, "default", {}, () => [
3678
- re(B(e.label), 1)
3675
+ }, " Press Enter or Space to " + O(e.selected ? "unselect" : "select"), 9, Gs),
3676
+ b("span", ps, [
3677
+ C(s.$slots, "default", {}, () => [
3678
+ re(O(e.label), 1)
3679
3679
  ])
3680
3680
  ])
3681
3681
  ], 42, Cs));
@@ -3700,11 +3700,11 @@ const Es = ["id", "data-testid", "title"], Xt = /* @__PURE__ */ J({
3700
3700
  return (t, i) => (g(), y("div", {
3701
3701
  id: `tag-${e.id}`,
3702
3702
  "data-testid": `tag-${e.id}`,
3703
- class: k(["sol-tag-core", `-${e.size} -${e.variant} -${e.type}`]),
3703
+ class: B(["sol-tag-core", `-${e.size} -${e.variant} -${e.type}`]),
3704
3704
  title: e.text
3705
3705
  }, [
3706
- L(t.$slots, "default", {}, () => [
3707
- re(B(e.text), 1)
3706
+ C(t.$slots, "default", {}, () => [
3707
+ re(O(e.text), 1)
3708
3708
  ])
3709
3709
  ], 10, Es));
3710
3710
  }
@@ -3716,7 +3716,7 @@ const Ps = {
3716
3716
  viewBox: "0 0 24 24",
3717
3717
  width: "1em",
3718
3718
  height: "1em"
3719
- }, ks = /* @__PURE__ */ f("path", {
3719
+ }, ks = /* @__PURE__ */ b("path", {
3720
3720
  fill: "currentColor",
3721
3721
  d: "m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4ZM12 22q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4Q8.65 4 6.325 6.325Q4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z"
3722
3722
  }, null, -1), Bs = [
@@ -3729,7 +3729,7 @@ const Ys = { name: "material-symbols-check-circle-outline", render: Os }, Vs = {
3729
3729
  viewBox: "0 0 24 24",
3730
3730
  width: "1em",
3731
3731
  height: "1em"
3732
- }, Ws = /* @__PURE__ */ f("path", {
3732
+ }, Ws = /* @__PURE__ */ b("path", {
3733
3733
  fill: "currentColor",
3734
3734
  d: "M1 21L12 2l11 19Zm3.45-2h15.1L12 6ZM12 18q.425 0 .713-.288Q13 17.425 13 17t-.287-.712Q12.425 16 12 16t-.712.288Q11 16.575 11 17t.288.712Q11.575 18 12 18Zm-1-3h2v-5h-2Zm1-2.5Z"
3735
3735
  }, null, -1), Us = [
@@ -3742,7 +3742,7 @@ const $s = { name: "material-symbols-warning-outline", render: Hs }, Qs = {
3742
3742
  viewBox: "0 0 24 24",
3743
3743
  width: "1em",
3744
3744
  height: "1em"
3745
- }, Xs = /* @__PURE__ */ f("path", {
3745
+ }, Xs = /* @__PURE__ */ b("path", {
3746
3746
  fill: "currentColor",
3747
3747
  d: "m8.4 17l3.6-3.6l3.6 3.6l1.4-1.4l-3.6-3.6L17 8.4L15.6 7L12 10.6L8.4 7L7 8.4l3.6 3.6L7 15.6Zm3.6 5q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4Q8.65 4 6.325 6.325Q4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z"
3748
3748
  }, null, -1), Fs = [
@@ -3755,7 +3755,7 @@ const Js = { name: "material-symbols-cancel-outline", render: Rs }, qs = {
3755
3755
  viewBox: "0 0 24 24",
3756
3756
  width: "1em",
3757
3757
  height: "1em"
3758
- }, _s = /* @__PURE__ */ f("path", {
3758
+ }, _s = /* @__PURE__ */ b("path", {
3759
3759
  fill: "currentColor",
3760
3760
  d: "M11 17h2v-6h-2Zm1-8q.425 0 .713-.288Q13 8.425 13 8t-.287-.713Q12.425 7 12 7t-.712.287Q11 7.575 11 8t.288.712Q11.575 9 12 9Zm0 13q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4Q8.65 4 6.325 6.325Q4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z"
3761
3761
  }, null, -1), Ks = [
@@ -3781,11 +3781,11 @@ const to = { name: "material-symbols-info-outline", render: eo }, io = ["id", "d
3781
3781
  return (i, n) => (g(), y("div", {
3782
3782
  id: `alert-${e.id}`,
3783
3783
  "data-testid": `alert-${e.id}`,
3784
- class: k(["sol-alert-core", `-${e.feedback}`]),
3784
+ class: B(["sol-alert-core", `-${e.feedback}`]),
3785
3785
  "aria-live": "assertive",
3786
3786
  role: "alert"
3787
3787
  }, [
3788
- f("div", no, [
3788
+ b("div", no, [
3789
3789
  e.feedback === "success" ? (g(), ee(u(Ys), {
3790
3790
  key: 0,
3791
3791
  class: "icon",
@@ -3806,10 +3806,10 @@ const to = { name: "material-symbols-info-outline", render: eo }, io = ["id", "d
3806
3806
  class: "icon",
3807
3807
  "aria-hidden": "true"
3808
3808
  })) : F("", !0),
3809
- f("div", lo, [
3810
- e.title ? (g(), y("strong", ao, B(e.title), 1)) : F("", !0),
3811
- L(i.$slots, "default", {}, () => [
3812
- re(B(e.text), 1)
3809
+ b("div", lo, [
3810
+ e.title ? (g(), y("strong", ao, O(e.title), 1)) : F("", !0),
3811
+ C(i.$slots, "default", {}, () => [
3812
+ re(O(e.text), 1)
3813
3813
  ])
3814
3814
  ])
3815
3815
  ]),
@@ -3821,7 +3821,7 @@ const to = { name: "material-symbols-info-outline", render: eo }, io = ["id", "d
3821
3821
  onClick: n[0] || (n[0] = (l) => t("click"))
3822
3822
  }, {
3823
3823
  default: q(() => [
3824
- re(B(e.action), 1)
3824
+ re(O(e.action), 1)
3825
3825
  ]),
3826
3826
  _: 1
3827
3827
  }, 8, ["id"])) : F("", !0)
@@ -3835,7 +3835,7 @@ const so = {
3835
3835
  viewBox: "0 0 24 24",
3836
3836
  width: "1em",
3837
3837
  height: "1em"
3838
- }, oo = /* @__PURE__ */ f("path", {
3838
+ }, oo = /* @__PURE__ */ b("path", {
3839
3839
  fill: "currentColor",
3840
3840
  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"
3841
3841
  }, null, -1), uo = [
@@ -3856,20 +3856,20 @@ const In = { name: "material-symbols-keyboard-arrow-down-rounded", render: ro },
3856
3856
  return (t, i) => (g(), y("details", {
3857
3857
  id: `accordion-${e.id}`,
3858
3858
  "data-testid": `accordion-${e.id}`,
3859
- class: k(["sol-accordion-core", { "-on-color": e.onColor, "-disabled": e.disabled }]),
3859
+ class: B(["sol-accordion-core", { "-on-color": e.onColor, "-disabled": e.disabled }]),
3860
3860
  "aria-disabled": e.disabled
3861
3861
  }, [
3862
- f("summary", {
3862
+ b("summary", {
3863
3863
  "data-testid": `accordion-title-${e.id}`,
3864
3864
  class: "summary",
3865
3865
  tabindex: e.disabled ? -1 : 0
3866
3866
  }, [
3867
- f("div", Mo, [
3868
- f("span", mo, [
3869
- L(t.$slots, "icon")
3867
+ b("div", Mo, [
3868
+ b("span", mo, [
3869
+ C(t.$slots, "icon")
3870
3870
  ]),
3871
- L(t.$slots, "title", {}, () => [
3872
- re(B(e.title), 1)
3871
+ C(t.$slots, "title", {}, () => [
3872
+ re(O(e.title), 1)
3873
3873
  ])
3874
3874
  ]),
3875
3875
  _(u(In), {
@@ -3877,11 +3877,11 @@ const In = { name: "material-symbols-keyboard-arrow-down-rounded", render: ro },
3877
3877
  "aria-hidden": "true"
3878
3878
  })
3879
3879
  ], 8, Io),
3880
- f("div", {
3880
+ b("div", {
3881
3881
  "data-testid": `accordion-content-${e.id}`,
3882
3882
  class: "accordion-content"
3883
3883
  }, [
3884
- L(t.$slots, "default")
3884
+ C(t.$slots, "default")
3885
3885
  ], 8, go)
3886
3886
  ], 10, co));
3887
3887
  }
@@ -3902,18 +3902,18 @@ const No = ["id", "data-testid", "disabled", "aria-selected"], jo = { class: "ic
3902
3902
  id: `tab-item-${e.id}`,
3903
3903
  "data-testid": `tab-item-${e.id}`,
3904
3904
  role: "tab",
3905
- class: k(["tab-item-core", { "-selected": e.active, "-disabled": e.disabled }]),
3905
+ class: B(["tab-item-core", { "-selected": e.active, "-disabled": e.disabled }]),
3906
3906
  disabled: e.disabled,
3907
3907
  type: "button",
3908
3908
  tabindex: "-1",
3909
3909
  "aria-selected": e.active
3910
3910
  }, [
3911
- f("div", jo, [
3912
- L(t.$slots, "icon")
3911
+ b("div", jo, [
3912
+ C(t.$slots, "icon")
3913
3913
  ]),
3914
- f("span", {
3914
+ b("span", {
3915
3915
  class: "label",
3916
- textContent: B(e.label)
3916
+ textContent: O(e.label)
3917
3917
  }, null, 8, yo)
3918
3918
  ], 10, No));
3919
3919
  }
@@ -3942,51 +3942,57 @@ const fo = ["id", "data-testid"], bo = ["data-testid"], Jt = /* @__PURE__ */ J({
3942
3942
  ArrowLeft: () => s({ to: "PREVIOUS", query: o }),
3943
3943
  ArrowRight: () => s({ to: "NEXT", query: o })
3944
3944
  });
3945
- function c(M, N) {
3946
- if (N)
3945
+ function c(N, I) {
3946
+ if (I)
3947
3947
  return;
3948
- const I = i.tabList.map((d, S) => ({ ...d, active: S === M }));
3949
- t("update:tabList", I);
3948
+ const d = i.tabList.map((v, Z) => ({ ...v, active: Z === N }));
3949
+ t("update:tabList", d);
3950
+ }
3951
+ function M() {
3952
+ if (i.tabList.some(({ disabled: d, active: v }) => !d && v))
3953
+ return i.tabList;
3954
+ const I = i.tabList.findIndex(({ disabled: d }) => !d);
3955
+ return i.tabList.map((d, v) => v === I ? { ...d, active: !0 } : d);
3950
3956
  }
3951
- return (M, N) => (g(), y("div", {
3957
+ return (N, I) => (g(), y("div", {
3952
3958
  id: `tabs-${e.id}`,
3953
3959
  "data-testid": `tabs-${e.id}`,
3954
3960
  class: "sol-tabs-core",
3955
3961
  tabindex: "0",
3956
- onKeyupPassive: N[0] || (N[0] = (...I) => u(r) && u(r)(...I))
3962
+ onKeyupPassive: I[0] || (I[0] = (...d) => u(r) && u(r)(...d))
3957
3963
  }, [
3958
- f("div", {
3964
+ b("div", {
3959
3965
  ref_key: "tabs",
3960
3966
  ref: n,
3961
3967
  role: "tablist",
3962
- class: k(["tabs-header", { "-only-line": e.onlyLine }])
3968
+ class: B(["tabs-header", { "-only-line": e.onlyLine }])
3963
3969
  }, [
3964
- (g(!0), y(Ae, null, he(e.tabList, ({ label: I, active: d, disabled: S }, Z) => (g(), ee(vo, {
3965
- id: `${e.id}-${Z}`,
3966
- key: `tab-item-${Z}`,
3967
- label: I,
3968
- active: d,
3969
- disabled: S,
3970
- "data-interactive": !S,
3971
- onClick: (O) => c(Z, d),
3970
+ (g(!0), y(Ae, null, he(M(), ({ label: d, active: v, disabled: Z }, p) => (g(), ee(vo, {
3971
+ id: `${e.id}-${p}`,
3972
+ key: `tab-item-${p}`,
3973
+ label: d,
3974
+ active: v,
3975
+ disabled: Z,
3976
+ "data-interactive": !Z,
3977
+ onClick: (L) => c(p, v),
3972
3978
  onKeyup: [
3973
- De(Ne((O) => c(Z, d), ["self"]), ["enter"]),
3974
- De(Ne((O) => c(Z, d), ["self"]), ["space"])
3979
+ De(Ne((L) => c(p, v), ["self"]), ["enter"]),
3980
+ De(Ne((L) => c(p, v), ["self"]), ["space"])
3975
3981
  ]
3976
3982
  }, {
3977
3983
  icon: q(() => [
3978
- L(M.$slots, `icon:${Z + 1}`)
3984
+ C(N.$slots, `icon:${p + 1}`)
3979
3985
  ]),
3980
3986
  _: 2
3981
3987
  }, 1032, ["id", "label", "active", "disabled", "data-interactive", "onClick", "onKeyup"]))), 128))
3982
3988
  ], 2),
3983
- (g(!0), y(Ae, null, he(e.tabList, ({ active: I }, d) => Ce((g(), y("div", {
3984
- key: `tab-content-${d}`,
3985
- "data-testid": `tab-content-${e.id}-${d}`
3989
+ (g(!0), y(Ae, null, he(e.tabList, ({ active: d }, v) => Ce((g(), y("div", {
3990
+ key: `tab-content-${v}`,
3991
+ "data-testid": `tab-content-${e.id}-${v}`
3986
3992
  }, [
3987
- L(M.$slots, `tab:${d + 1}`)
3993
+ C(N.$slots, `tab:${v + 1}`)
3988
3994
  ], 8, bo)), [
3989
- [Pe, I]
3995
+ [Pe, d]
3990
3996
  ])), 128))
3991
3997
  ], 40, fo));
3992
3998
  }
@@ -4032,15 +4038,15 @@ const ho = ["id", "data-testid"], Do = ["id", "aria-expanded"], So = ["id", "dat
4032
4038
  function d() {
4033
4039
  i.value ? N() : I();
4034
4040
  }
4035
- return (S, Z) => (g(), y("div", {
4041
+ return (v, Z) => (g(), y("div", {
4036
4042
  id: `menu-${e.id}`,
4037
4043
  ref_key: "el",
4038
4044
  ref: t,
4039
4045
  "data-testid": `menu-${e.id}`,
4040
- class: k([`-${e.position}`, "sol-menu-core"]),
4041
- onKeyupPassive: Z[0] || (Z[0] = (...O) => u(M) && u(M)(...O))
4046
+ class: B([`-${e.position}`, "sol-menu-core"]),
4047
+ onKeyupPassive: Z[0] || (Z[0] = (...p) => u(M) && u(M)(...p))
4042
4048
  }, [
4043
- L(S.$slots, "trigger", {
4049
+ C(v.$slots, "trigger", {
4044
4050
  id: `menu-button-${e.id}`,
4045
4051
  toggle: d,
4046
4052
  isOpen: i.value,
@@ -4051,7 +4057,7 @@ const ho = ["id", "data-testid"], Do = ["id", "aria-expanded"], So = ["id", "dat
4051
4057
  ariaExpanded: i.value
4052
4058
  }
4053
4059
  }, () => [
4054
- f("button", {
4060
+ b("button", {
4055
4061
  id: `menu-button-${e.id}`,
4056
4062
  type: "button",
4057
4063
  role: "menuitem",
@@ -4060,21 +4066,21 @@ const ho = ["id", "data-testid"], Do = ["id", "aria-expanded"], So = ["id", "dat
4060
4066
  "aria-expanded": i.value,
4061
4067
  onClick: d
4062
4068
  }, [
4063
- L(S.$slots, "label", { isOpen: i.value }, () => [
4064
- re(B(e.label), 1)
4069
+ C(v.$slots, "label", { isOpen: i.value }, () => [
4070
+ re(O(e.label), 1)
4065
4071
  ])
4066
4072
  ], 8, Do)
4067
4073
  ]),
4068
- Ce(f("menu", {
4074
+ Ce(b("menu", {
4069
4075
  id: `menu-container-${e.id}`,
4070
4076
  ref_key: "menu",
4071
4077
  ref: n,
4072
4078
  "data-testid": `menu-container-${e.id}`,
4073
4079
  role: "menu",
4074
4080
  "aria-labelledby": `menu-button-${e.id}`,
4075
- class: k(["menu", { "-open": i.value }])
4081
+ class: B(["menu", { "-open": i.value }])
4076
4082
  }, [
4077
- L(S.$slots, "default", { close: N })
4083
+ C(v.$slots, "default", { close: N })
4078
4084
  ], 10, So), [
4079
4085
  [Pe, i.value]
4080
4086
  ])
@@ -4093,21 +4099,21 @@ const Ao = ["itemprop"], xo = /* @__PURE__ */ J({
4093
4099
  },
4094
4100
  setup(e) {
4095
4101
  return (t, i) => (g(), y("p", {
4096
- class: k(["text-property-value", `-${e.align}`])
4102
+ class: B(["text-property-value", `-${e.align}`])
4097
4103
  }, [
4098
- f("span", {
4099
- class: k(["property", { "-hide": e.hide }])
4104
+ b("span", {
4105
+ class: B(["property", { "-hide": e.hide }])
4100
4106
  }, [
4101
- L(t.$slots, "property", {}, () => [
4102
- re(B(e.property), 1)
4107
+ C(t.$slots, "property", {}, () => [
4108
+ re(O(e.property), 1)
4103
4109
  ])
4104
4110
  ], 2),
4105
- f("span", {
4111
+ b("span", {
4106
4112
  itemprop: e.itemProp,
4107
- class: k(["value", { "-highlight": e.isHighlightValue }])
4113
+ class: B(["value", { "-highlight": e.isHighlightValue }])
4108
4114
  }, [
4109
- L(t.$slots, "value", {}, () => [
4110
- re(B(e.value), 1)
4115
+ C(t.$slots, "value", {}, () => [
4116
+ re(O(e.value), 1)
4111
4117
  ])
4112
4118
  ], 10, Ao)
4113
4119
  ], 2));
@@ -4158,7 +4164,7 @@ const wo = ["id", "data-testid"], Zo = {
4158
4164
  return (c, M) => (g(), y("li", {
4159
4165
  id: `listitem-${e.id}-${e.itemIndex}`,
4160
4166
  "data-testid": `listitem-${e.id}-${e.itemIndex}`,
4161
- class: k(["list-item", { "-selected": e.isSelected }]),
4167
+ class: B(["list-item", { "-selected": e.isSelected }]),
4162
4168
  tabindex: "-1",
4163
4169
  onClick: M[3] || (M[3] = Ne((N) => t("listitem:click"), ["self"])),
4164
4170
  onKeyup: [
@@ -4176,59 +4182,59 @@ const wo = ["id", "data-testid"], Zo = {
4176
4182
  ]
4177
4183
  }, [
4178
4184
  s(I) ? (g(), y("div", Zo, [
4179
- L(c.$slots, "selectable", {
4185
+ C(c.$slots, "selectable", {
4180
4186
  data: e.data,
4181
4187
  index: e.itemIndex,
4182
4188
  label: `${e.data[N[0]]}`
4183
4189
  })
4184
4190
  ])) : F("", !0),
4185
4191
  o(I) ? (g(), y("div", To, [
4186
- L(c.$slots, "image", { data: e.data })
4192
+ C(c.$slots, "image", { data: e.data })
4187
4193
  ])) : F("", !0),
4188
- (g(!0), y(Ae, null, he(N, (d, S) => (g(), y("div", {
4189
- key: S,
4194
+ (g(!0), y(Ae, null, he(N, (d, v) => (g(), y("div", {
4195
+ key: v,
4190
4196
  style: Nt(`${e.setFixedColumnSize(d)}`),
4191
4197
  class: "column-item",
4192
4198
  "data-testid": `listitem-column-${e.id}-${e.itemIndex}-${d}`
4193
4199
  }, [
4194
- L(c.$slots, `column:${d}`, {
4200
+ C(c.$slots, `column:${d}`, {
4195
4201
  data: { key: d, value: e.data[d] },
4196
4202
  index: e.itemIndex,
4197
- columnIndex: S,
4203
+ columnIndex: v,
4198
4204
  renderHeader: e.renderHeader,
4199
4205
  headers: e.headers
4200
4206
  }, () => {
4201
- var Z, O, C, z;
4207
+ var Z, p, L, z;
4202
4208
  return [
4203
4209
  _(xo, {
4204
4210
  "data-testid": `listitem-${e.id}-${e.itemIndex}-${d}`,
4205
4211
  "item-prop": d,
4206
- hide: (O = (Z = e.headers) == null ? void 0 : Z[d]) == null ? void 0 : O.hide,
4207
- align: (z = (C = e.headers) == null ? void 0 : C[d]) == null ? void 0 : z.align,
4212
+ hide: (p = (Z = e.headers) == null ? void 0 : Z[d]) == null ? void 0 : p.hide,
4213
+ align: (z = (L = e.headers) == null ? void 0 : L[d]) == null ? void 0 : z.align,
4208
4214
  "is-highlight-value": e.isHighlight({ key: d })
4209
4215
  }, {
4210
4216
  property: q(() => [
4211
- L(c.$slots, `header:${d}`, {
4217
+ C(c.$slots, `header:${d}`, {
4212
4218
  data: {
4213
4219
  key: d,
4214
4220
  value: e.data[d]
4215
4221
  },
4216
4222
  index: I,
4217
- columnIndex: S,
4223
+ columnIndex: v,
4218
4224
  renderHeader: e.renderHeader,
4219
4225
  headers: e.headers
4220
4226
  }, () => [
4221
- re(B(e.renderHeader(d)), 1)
4227
+ re(O(e.renderHeader(d)), 1)
4222
4228
  ])
4223
4229
  ]),
4224
4230
  value: q(() => [
4225
- L(c.$slots, `value:${d}`, {
4231
+ C(c.$slots, `value:${d}`, {
4226
4232
  data: { key: d, value: e.data[d] },
4227
4233
  index: I,
4228
- columnIndex: S,
4234
+ columnIndex: v,
4229
4235
  isHighlight: e.isHighlight
4230
4236
  }, () => [
4231
- re(B(a(e.data[d])), 1)
4237
+ re(O(a(e.data[d])), 1)
4232
4238
  ])
4233
4239
  ]),
4234
4240
  _: 2
@@ -4237,7 +4243,8 @@ const wo = ["id", "data-testid"], Zo = {
4237
4243
  })
4238
4244
  ], 12, zo))), 128)),
4239
4245
  r(I, 0) ? (g(), y("div", Lo, [
4240
- L(c.$slots, "action-button", {
4246
+ C(c.$slots, "action-button", {
4247
+ data: e.data,
4241
4248
  arias: {
4242
4249
  testid: `list-row-action-${e.id}-${e.itemIndex}`,
4243
4250
  data: e.data,
@@ -4254,7 +4261,7 @@ const Go = {
4254
4261
  viewBox: "0 0 24 24",
4255
4262
  width: "1em",
4256
4263
  height: "1em"
4257
- }, po = /* @__PURE__ */ f("path", {
4264
+ }, po = /* @__PURE__ */ b("path", {
4258
4265
  fill: "currentColor",
4259
4266
  d: "M12 20q-.825 0-1.412-.587Q10 18.825 10 18q0-.825.588-1.413Q11.175 16 12 16t1.413.587Q14 17.175 14 18q0 .825-.587 1.413Q12.825 20 12 20Zm0-6q-.825 0-1.412-.588Q10 12.825 10 12t.588-1.413Q11.175 10 12 10t1.413.587Q14 11.175 14 12q0 .825-.587 1.412Q12.825 14 12 14Zm0-6q-.825 0-1.412-.588Q10 6.825 10 6t.588-1.412Q11.175 4 12 4t1.413.588Q14 5.175 14 6t-.587 1.412Q12.825 8 12 8Z"
4260
4267
  }, null, -1), Eo = [
@@ -4282,75 +4289,75 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
4282
4289
  setup(e, { expose: t, emit: i }) {
4283
4290
  var de;
4284
4291
  const n = e, l = ht(), a = x(() => !!(l != null && l.menu)), s = x(() => !!(l != null && l.image)), o = ka("(min-width: 1024px)"), r = x(() => {
4285
- var T, b, D;
4286
- return (b = (T = n.sortPositions) == null ? void 0 : T.mobile) != null && b.length ? (D = n.sortPositions) == null ? void 0 : D.mobile : N();
4292
+ var T, h, S;
4293
+ return (h = (T = n.sortPositions) == null ? void 0 : T.mobile) != null && h.length ? (S = n.sortPositions) == null ? void 0 : S.mobile : N();
4287
4294
  }), c = x(() => {
4288
4295
  var T;
4289
4296
  return (T = n.sortPositions) != null && T.desktop.length ? n.sortPositions.desktop : Object.keys(n.data[0]);
4290
4297
  }), M = x(() => o.value ? [c.value] : r.value);
4291
4298
  function N() {
4292
- return Object.keys(n.data[0]).reduce((b, D, P) => {
4299
+ return Object.keys(n.data[0]).reduce((h, S, P) => {
4293
4300
  if (P === 0)
4294
- return b = [[D]];
4301
+ return h = [[S]];
4295
4302
  if (P === 1)
4296
- return b = [...b, [D]];
4297
- const W = b == null ? void 0 : b.length, p = b == null ? void 0 : b[W - 1];
4298
- return Array.isArray(p) && (p == null ? void 0 : p.length) < 2 ? (b[W - 1] = [...p, D], b) : b = [...b, [D]];
4303
+ return h = [...h, [S]];
4304
+ const U = h == null ? void 0 : h.length, k = h == null ? void 0 : h[U - 1];
4305
+ return Array.isArray(k) && (k == null ? void 0 : k.length) < 2 ? (h[U - 1] = [...k, S], h) : h = [...h, [S]];
4299
4306
  }, []);
4300
4307
  }
4301
4308
  function I(T) {
4302
- var b, D;
4303
- return (D = n.headers && ((b = n.headers[T]) == null ? void 0 : b.text)) != null ? D : T;
4309
+ var h, S;
4310
+ return (S = n.headers && ((h = n.headers[T]) == null ? void 0 : h.text)) != null ? S : T;
4304
4311
  }
4305
4312
  function d(T) {
4306
- var b, D, P, W, p, H, ve, A, X;
4307
- if ((b = n.headers) != null && b[T]) {
4308
- if (((P = (D = n.headers) == null ? void 0 : D[T]) == null ? void 0 : P.width) && o.value)
4309
- return `--basis-width: ${(p = (W = n.headers) == null ? void 0 : W[T]) == null ? void 0 : p.width}; --shrink: 0;`;
4310
- if (((ve = (H = n.headers) == null ? void 0 : H[T]) == null ? void 0 : ve.mobileWidth) && !o.value)
4313
+ var h, S, P, U, k, V, ve, A, X;
4314
+ if ((h = n.headers) != null && h[T]) {
4315
+ if (((P = (S = n.headers) == null ? void 0 : S[T]) == null ? void 0 : P.width) && o.value)
4316
+ return `--basis-width: ${(k = (U = n.headers) == null ? void 0 : U[T]) == null ? void 0 : k.width}; --shrink: 0;`;
4317
+ if (((ve = (V = n.headers) == null ? void 0 : V[T]) == null ? void 0 : ve.mobileWidth) && !o.value)
4311
4318
  return `--basis-width: ${(X = (A = n.headers) == null ? void 0 : A[T]) == null ? void 0 : X.mobileWidth}; --shrink: 0;`;
4312
4319
  }
4313
4320
  }
4314
- function S({ key: T, value: b }) {
4315
- var D, P;
4316
- return b ? !0 : T ? !!((P = (D = n.headers) == null ? void 0 : D[T]) != null && P.highlight) : !1;
4321
+ function v({ key: T, value: h }) {
4322
+ var S, P;
4323
+ return h ? !0 : T ? !!((P = (S = n.headers) == null ? void 0 : S[T]) != null && P.highlight) : !1;
4317
4324
  }
4318
- const Z = R(), O = [
4325
+ const Z = R(), p = [
4319
4326
  "[data-interactive] input",
4320
4327
  "[data-interactive-element]",
4321
4328
  "[data-interactive] button"
4322
4329
  ], {
4323
- elementFocus: C,
4330
+ elementFocus: L,
4324
4331
  focusInsideRow: z,
4325
- focusOnFirstItem: v,
4326
- focusOnLastItem: h,
4332
+ focusOnFirstItem: f,
4333
+ focusOnLastItem: D,
4327
4334
  focusOnNextItem: G,
4328
4335
  focusOnPreviousItem: w,
4329
4336
  resetStateFocus: Y
4330
- } = At({ target: Z }), { navigate: V } = Oe({
4331
- Home: v,
4332
- End: () => h(n.data.length),
4337
+ } = At({ target: Z }), { navigate: W } = Oe({
4338
+ Home: f,
4339
+ End: () => D(n.data.length),
4333
4340
  ArrowUp: () => !te() && w(),
4334
4341
  ArrowDown: () => !te() && G(n.data.length),
4335
- ArrowLeft: () => C.id && z({ to: "LEFT", query: O }),
4336
- ArrowRight: () => C.id && z({ to: "RIGHT", query: O })
4342
+ ArrowLeft: () => L.id && z({ to: "LEFT", query: p }),
4343
+ ArrowRight: () => L.id && z({ to: "RIGHT", query: p })
4337
4344
  }, {
4338
4345
  fallback: Y,
4339
4346
  exclude: ["Enter", "NumpadEnter", "Space"]
4340
4347
  });
4341
4348
  function te() {
4342
- var T, b;
4349
+ var T, h;
4343
4350
  if (document.activeElement && ((T = document.activeElement) == null ? void 0 : T.role)) {
4344
- const D = document.activeElement.role, P = (b = document.activeElement) == null ? void 0 : b.parentElement;
4345
- return D === "menuitem" ? !0 : !!(() => D === "none" && (P == null ? void 0 : P.role) && ["menuitem", "menu"].includes(P.role))();
4351
+ const S = document.activeElement.role, P = (h = document.activeElement) == null ? void 0 : h.parentElement;
4352
+ return S === "menuitem" ? !0 : !!(() => S === "none" && (P == null ? void 0 : P.role) && ["menuitem", "menu"].includes(P.role))();
4346
4353
  }
4347
4354
  return !1;
4348
4355
  }
4349
4356
  const $ = R((de = n == null ? void 0 : n.selected) != null ? de : {});
4350
4357
  function le(T) {
4351
4358
  if (Array.isArray($.value) ? $.value.length : Object.keys($.value).length) {
4352
- const D = n.dataIdentifier.key, P = T[D];
4353
- return n.selectMode && n.selectMode === "checkbox" && Array.isArray($.value) ? $.value.findIndex((p) => p[D] === P) >= 0 : $.value[D] === P;
4359
+ const S = n.dataIdentifier.key, P = T[S];
4360
+ return n.selectMode && n.selectMode === "checkbox" && Array.isArray($.value) ? $.value.findIndex((k) => k[S] === P) >= 0 : $.value[S] === P;
4354
4361
  }
4355
4362
  return !1;
4356
4363
  }
@@ -4358,16 +4365,16 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
4358
4365
  $.value = T, i("listitem:selected", T), i("update:selected", $.value);
4359
4366
  }
4360
4367
  function ce(T) {
4361
- const b = n.dataIdentifier.key, D = T[b], P = Array.isArray($.value) ? $.value : [], W = le(T) ? P == null ? void 0 : P.filter((p) => p[b] !== D) : ge(T);
4362
- $.value = W, i("listitem:selected", T), i("update:selected", $.value);
4368
+ const h = n.dataIdentifier.key, S = T[h], P = Array.isArray($.value) ? $.value : [], U = le(T) ? P == null ? void 0 : P.filter((k) => k[h] !== S) : ge(T);
4369
+ $.value = U, i("listitem:selected", T), i("update:selected", $.value);
4363
4370
  }
4364
4371
  function ge(T) {
4365
- var b;
4372
+ var h;
4366
4373
  if (Array.isArray($.value)) {
4367
- const D = n.dataIdentifier.key, P = $.value.findIndex(
4368
- (W) => W[D] === T[D]
4374
+ const S = n.dataIdentifier.key, P = $.value.findIndex(
4375
+ (U) => U[S] === T[S]
4369
4376
  );
4370
- return P === -1 ? [...$.value, T] : (b = $.value) == null ? void 0 : b.filter((W, p) => p !== P);
4377
+ return P === -1 ? [...$.value, T] : (h = $.value) == null ? void 0 : h.filter((U, k) => k !== P);
4371
4378
  }
4372
4379
  return [T];
4373
4380
  }
@@ -4385,7 +4392,7 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
4385
4392
  return t({
4386
4393
  unselectAll: ae,
4387
4394
  selectAll: ye
4388
- }), (T, b) => (g(), y("ul", {
4395
+ }), (T, h) => (g(), y("ul", {
4389
4396
  id: `list-${e.id}`,
4390
4397
  ref_key: "list",
4391
4398
  ref: Z,
@@ -4394,66 +4401,66 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
4394
4401
  "aria-label": e.ariaLabel,
4395
4402
  tabindex: "0",
4396
4403
  itemscope: "",
4397
- onKeyupPassive: b[0] || (b[0] = (...D) => u(V) && u(V)(...D))
4404
+ onKeyupPassive: h[0] || (h[0] = (...S) => u(W) && u(W)(...S))
4398
4405
  }, [
4399
- (g(!0), y(Ae, null, he(e.data, (D, P) => (g(), ee(Co, {
4406
+ (g(!0), y(Ae, null, he(e.data, (S, P) => (g(), ee(Co, {
4400
4407
  id: e.id,
4401
4408
  key: P,
4402
4409
  headers: e.headers,
4403
- data: D,
4410
+ data: S,
4404
4411
  "item-index": P,
4405
- "is-selected": le(D),
4412
+ "is-selected": le(S),
4406
4413
  "sort-positions": u(M),
4407
4414
  "fallback-value": e.fallbackValue,
4408
4415
  "has-image": u(s),
4409
4416
  "has-menu": u(a),
4410
4417
  "render-header": I,
4411
- "is-highlight": S,
4418
+ "is-highlight": v,
4412
4419
  "set-fixed-column-size": d,
4413
- "onListitem:click": (W) => i("listitem:click", { ...D, index: P })
4420
+ "onListitem:click": (U) => i("listitem:click", { ...S, index: P })
4414
4421
  }, An({
4415
- selectable: q(({ data: W, label: p }) => {
4416
- var H, ve, A, X, se, pe;
4422
+ selectable: q(({ data: U, label: k }) => {
4423
+ var V, ve, A, X, se, pe;
4417
4424
  return [
4418
4425
  e.selectMode === "checkbox" ? (g(), ee(Xe, {
4419
4426
  key: 0,
4420
- id: `listitem-${W[(H = e.dataIdentifier) == null ? void 0 : H.key]}`,
4427
+ id: `listitem-${U[(V = e.dataIdentifier) == null ? void 0 : V.key]}`,
4421
4428
  "hide-label": !0,
4422
- label: p,
4423
- checked: le(D),
4424
- value: `${W[(ve = e.dataIdentifier) == null ? void 0 : ve.key]}`,
4429
+ label: k,
4430
+ checked: le(S),
4431
+ value: `${U[(ve = e.dataIdentifier) == null ? void 0 : ve.key]}`,
4425
4432
  name: (A = e.dataIdentifier.inputName) != null ? A : e.id,
4426
- onChange: (xe) => ce(W)
4433
+ onChange: (xe) => ce(U)
4427
4434
  }, null, 8, ["id", "label", "checked", "value", "name", "onChange"])) : F("", !0),
4428
4435
  e.selectMode === "radio" ? (g(), ee(nt, {
4429
4436
  key: 1,
4430
- id: `listitem-${W[(X = e.dataIdentifier) == null ? void 0 : X.key]}`,
4437
+ id: `listitem-${U[(X = e.dataIdentifier) == null ? void 0 : X.key]}`,
4431
4438
  "hide-label": !0,
4432
- label: p,
4433
- checked: le(D),
4434
- value: `${W[(se = e.dataIdentifier) == null ? void 0 : se.key]}`,
4439
+ label: k,
4440
+ checked: le(S),
4441
+ value: `${U[(se = e.dataIdentifier) == null ? void 0 : se.key]}`,
4435
4442
  name: (pe = e.dataIdentifier.inputName) != null ? pe : e.id,
4436
- onChange: (xe) => ue(W)
4443
+ onChange: (xe) => ue(U)
4437
4444
  }, null, 8, ["id", "label", "checked", "value", "name", "onChange"])) : F("", !0)
4438
4445
  ];
4439
4446
  }),
4440
- "action-button": q(({ arias: W }) => [
4441
- L(T.$slots, "action-button", { arias: W }, () => [
4447
+ "action-button": q(({ arias: U, data: k }) => [
4448
+ C(T.$slots, "action-button", { arias: U }, () => [
4442
4449
  _(lt, {
4443
4450
  id: `listitem-${e.id}-${P}`,
4444
4451
  position: "left"
4445
4452
  }, {
4446
- trigger: q(({ arias: p, id: H, toggle: ve }) => [
4453
+ trigger: q(({ arias: V, id: ve, toggle: A }) => [
4447
4454
  _(je, {
4448
- id: H,
4449
- "aria-haspopup": p.ariaHaspopup,
4450
- "aria-expanded": p.ariaExpanded,
4451
- role: p.role,
4455
+ id: ve,
4456
+ "aria-haspopup": V.ariaHaspopup,
4457
+ "aria-expanded": V.ariaExpanded,
4458
+ role: V.role,
4452
4459
  size: "small",
4453
4460
  variant: "tertiary",
4454
- "aria-label": W.ariaLabel,
4461
+ "aria-label": U.ariaLabel,
4455
4462
  class: "menu-button-trigger",
4456
- onClick: ve
4463
+ onClick: A
4457
4464
  }, {
4458
4465
  "icon-left": q(() => [
4459
4466
  _(u(ko), {
@@ -4465,7 +4472,7 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
4465
4472
  }, 1032, ["id", "aria-haspopup", "aria-expanded", "role", "aria-label", "onClick"])
4466
4473
  ]),
4467
4474
  default: q(() => [
4468
- L(T.$slots, "menu")
4475
+ C(T.$slots, "menu", { data: k })
4469
4476
  ]),
4470
4477
  _: 2
4471
4478
  }, 1032, ["id"])
@@ -4475,43 +4482,43 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
4475
4482
  }, [
4476
4483
  u(s) ? {
4477
4484
  name: "image",
4478
- fn: q(({ data: W }) => [
4479
- L(T.$slots, "image", { data: W })
4485
+ fn: q(({ data: U }) => [
4486
+ C(T.$slots, "image", { data: U })
4480
4487
  ]),
4481
4488
  key: "0"
4482
4489
  } : void 0,
4483
- he(D, (W, p) => ({
4484
- name: `column:${p}`,
4485
- fn: q((H) => [
4486
- L(T.$slots, `column:${p}`, {
4487
- data: H.data,
4488
- index: H.index,
4490
+ he(S, (U, k) => ({
4491
+ name: `column:${k}`,
4492
+ fn: q((V) => [
4493
+ C(T.$slots, `column:${k}`, {
4494
+ data: V.data,
4495
+ index: V.index,
4489
4496
  columnIndex: P,
4490
4497
  renderHeader: I,
4491
4498
  headers: e.headers
4492
4499
  })
4493
4500
  ])
4494
4501
  })),
4495
- he(D, (W, p) => ({
4496
- name: `header:${p}`,
4497
- fn: q((H) => [
4498
- L(T.$slots, `header:${p}`, {
4499
- data: H.data,
4500
- index: H.index,
4501
- columnIndex: H.columnIndex,
4502
- renderHeader: H.renderHeader,
4503
- headers: H.headers
4502
+ he(S, (U, k) => ({
4503
+ name: `header:${k}`,
4504
+ fn: q((V) => [
4505
+ C(T.$slots, `header:${k}`, {
4506
+ data: V.data,
4507
+ index: V.index,
4508
+ columnIndex: V.columnIndex,
4509
+ renderHeader: V.renderHeader,
4510
+ headers: V.headers
4504
4511
  })
4505
4512
  ])
4506
4513
  })),
4507
- he(D, (W, p) => ({
4508
- name: `value:${p}`,
4509
- fn: q((H) => [
4510
- L(T.$slots, `value:${p}`, {
4511
- data: H.data,
4512
- index: H.index,
4513
- columnIndex: H.columnIndex,
4514
- isHighlight: H.isHighlight
4514
+ he(S, (U, k) => ({
4515
+ name: `value:${k}`,
4516
+ fn: q((V) => [
4517
+ C(T.$slots, `value:${k}`, {
4518
+ data: V.data,
4519
+ index: V.index,
4520
+ columnIndex: V.columnIndex,
4521
+ isHighlight: V.isHighlight
4515
4522
  })
4516
4523
  ])
4517
4524
  }))
@@ -4543,7 +4550,7 @@ const Oo = ["id"], _t = /* @__PURE__ */ J({
4543
4550
  n[2] || (n[2] = De((l) => t("clicked"), ["space"]))
4544
4551
  ]
4545
4552
  }, [
4546
- L(i.$slots, "default")
4553
+ C(i.$slots, "default")
4547
4554
  ], 40, Oo));
4548
4555
  }
4549
4556
  });
@@ -4575,19 +4582,19 @@ const Yo = ["id"], Vo = ["href", "target"], bt = /* @__PURE__ */ J({
4575
4582
  n[2] || (n[2] = De((a) => t("clicked"), ["space"]))
4576
4583
  ]
4577
4584
  }, [
4578
- L(i.$slots, "default", {
4585
+ C(i.$slots, "default", {
4579
4586
  id: (l = e.linkId) != null ? l : e.id,
4580
4587
  active: e.active,
4581
4588
  link: e.link,
4582
4589
  text: e.text,
4583
4590
  external: e.external
4584
4591
  }, () => [
4585
- f("a", {
4592
+ b("a", {
4586
4593
  role: "menuitem",
4587
- class: k({ "-active": e.active }),
4594
+ class: B({ "-active": e.active }),
4588
4595
  href: e.link,
4589
4596
  target: e.external ? "_blank" : "_parent"
4590
- }, B(e.text), 11, Vo)
4597
+ }, O(e.text), 11, Vo)
4591
4598
  ])
4592
4599
  ], 40, Yo);
4593
4600
  };
@@ -4609,11 +4616,11 @@ const Wo = { class: "label-container" }, Uo = { class: "label" }, Kt = /* @__PUR
4609
4616
  class: "sol-menu-navigation-links-core"
4610
4617
  }, {
4611
4618
  label: q(({ isOpen: n }) => [
4612
- L(t.$slots, "label", { isOpen: n }, () => [
4613
- f("div", Wo, [
4614
- f("span", Uo, B(e.label), 1),
4619
+ C(t.$slots, "label", { isOpen: n }, () => [
4620
+ b("div", Wo, [
4621
+ b("span", Uo, O(e.label), 1),
4615
4622
  _(u(In), {
4616
- class: k(["icon", { "-opened": n }]),
4623
+ class: B(["icon", { "-opened": n }]),
4617
4624
  "aria-hidden": "true"
4618
4625
  }, null, 8, ["class"])
4619
4626
  ])
@@ -4635,7 +4642,7 @@ const Wo = { class: "label-container" }, Uo = { class: "label" }, Kt = /* @__PUR
4635
4642
  default: q(() => {
4636
4643
  var o;
4637
4644
  return [
4638
- L(t.$slots, "default", {
4645
+ C(t.$slots, "default", {
4639
4646
  id: (o = l.id) != null ? o : e.id,
4640
4647
  active: l.active,
4641
4648
  link: l.link,
@@ -4663,14 +4670,14 @@ const Ho = (e, t) => {
4663
4670
  }, $o = {}, Qo = { class: "sol-overlay-core" };
4664
4671
  function Xo(e, t) {
4665
4672
  return g(), y("div", Qo, [
4666
- L(e.$slots, "default")
4673
+ C(e.$slots, "default")
4667
4674
  ]);
4668
4675
  }
4669
4676
  const Fo = /* @__PURE__ */ Ho($o, [["render", Xo]]), Ro = {
4670
4677
  viewBox: "0 0 24 24",
4671
4678
  width: "1em",
4672
4679
  height: "1em"
4673
- }, Jo = /* @__PURE__ */ f("path", {
4680
+ }, Jo = /* @__PURE__ */ b("path", {
4674
4681
  fill: "currentColor",
4675
4682
  d: "M6.4 19L5 17.6l5.6-5.6L5 6.4L6.4 5l5.6 5.6L17.6 5L19 6.4L13.4 12l5.6 5.6l-1.4 1.4l-5.6-5.6Z"
4676
4683
  }, null, -1), qo = [
@@ -4716,16 +4723,16 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
4716
4723
  var z;
4717
4724
  return (z = n.isOpen) != null ? z : o.value;
4718
4725
  }), M = Oa(document.body), N = x(() => {
4719
- var h, G;
4720
- const z = (h = n.size.desktop) != null ? h : "medium", v = (G = n.size.mobile) != null ? G : "full";
4721
- return `-desktop-${z} -mobile-${v}`;
4726
+ var D, G;
4727
+ const z = (D = n.size.desktop) != null ? D : "medium", f = (G = n.size.mobile) != null ? G : "full";
4728
+ return `-desktop-${z} -mobile-${f}`;
4722
4729
  }), { navigate: I } = Oe({
4723
4730
  Escape: d
4724
4731
  });
4725
4732
  function d() {
4726
4733
  o.value = !1, i("close"), i("update:isOpen", !1);
4727
4734
  }
4728
- function S() {
4735
+ function v() {
4729
4736
  o.value = !0, i("open"), i("update:isOpen", !0);
4730
4737
  }
4731
4738
  function Z() {
@@ -4734,21 +4741,21 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
4734
4741
  `${window.innerHeight}px`
4735
4742
  );
4736
4743
  }
4737
- function O(z) {
4744
+ function p(z) {
4738
4745
  Z(), M.value = !!z, z ? setTimeout(() => r.value = !0, 90) : r.value = !1;
4739
4746
  }
4740
- function C(z, v) {
4747
+ function L(z, f) {
4741
4748
  z && setTimeout(() => {
4742
- var h;
4743
- return (h = v == null ? void 0 : v.value) == null ? void 0 : h.focus();
4749
+ var D;
4750
+ return (D = f == null ? void 0 : f.value) == null ? void 0 : D.focus();
4744
4751
  }, 110);
4745
4752
  }
4746
4753
  return me(c, (z) => {
4747
- O(z), C(z, s);
4754
+ p(z), L(z, s);
4748
4755
  }, { immediate: !0 }), t({
4749
4756
  close: d,
4750
- open: S
4751
- }), (z, v) => (g(), ee(xn, { to: e.target }, [
4757
+ open: v
4758
+ }), (z, f) => (g(), ee(xn, { to: e.target }, [
4752
4759
  u(c) ? (g(), ee(Fo, { key: 0 }, {
4753
4760
  default: q(() => [
4754
4761
  _(ai, {
@@ -4756,7 +4763,7 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
4756
4763
  mode: "out-in"
4757
4764
  }, {
4758
4765
  default: q(() => [
4759
- Ce(f("div", {
4766
+ Ce(b("div", {
4760
4767
  id: l.modal,
4761
4768
  ref_key: "modal",
4762
4769
  ref: s,
@@ -4764,20 +4771,20 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
4764
4771
  tabindex: "-1",
4765
4772
  role: "alertdialog",
4766
4773
  "aria-modal": "true",
4767
- class: k(["sol-modal-core", u(N)]),
4774
+ class: B(["sol-modal-core", u(N)]),
4768
4775
  "aria-labelledby": l.headerTitle,
4769
- onKeyupPassive: v[3] || (v[3] = (...h) => u(I) && u(I)(...h))
4776
+ onKeyupPassive: f[3] || (f[3] = (...D) => u(I) && u(I)(...D))
4770
4777
  }, [
4771
- f("header", {
4778
+ b("header", {
4772
4779
  id: l.header,
4773
4780
  "data-testid": a.header,
4774
4781
  class: "header"
4775
4782
  }, [
4776
- f("h2", {
4783
+ b("h2", {
4777
4784
  id: l.headerTitle,
4778
4785
  "data-testid": a.headerTitle,
4779
4786
  class: "title"
4780
- }, B(e.title), 9, iu),
4787
+ }, O(e.title), 9, iu),
4781
4788
  _(je, {
4782
4789
  id: l.headerClose,
4783
4790
  size: "small",
@@ -4795,11 +4802,11 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
4795
4802
  _: 1
4796
4803
  }, 8, ["id"])
4797
4804
  ], 8, tu),
4798
- f("main", nu, [
4799
- L(z.$slots, "default")
4805
+ b("main", nu, [
4806
+ C(z.$slots, "default")
4800
4807
  ]),
4801
- f("footer", lu, [
4802
- L(z.$slots, "action-tertiary", {
4808
+ b("footer", lu, [
4809
+ C(z.$slots, "action-tertiary", {
4803
4810
  id: l.actionTertiary
4804
4811
  }, () => [
4805
4812
  e.actionTertiaryText ? (g(), ee(je, {
@@ -4807,16 +4814,16 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
4807
4814
  id: l.actionTertiary,
4808
4815
  variant: "tertiary",
4809
4816
  size: "medium",
4810
- onClick: v[0] || (v[0] = (h) => i("action:primary"))
4817
+ onClick: f[0] || (f[0] = (D) => i("action:primary"))
4811
4818
  }, {
4812
4819
  default: q(() => [
4813
- re(B(e.actionTertiaryText), 1)
4820
+ re(O(e.actionTertiaryText), 1)
4814
4821
  ]),
4815
4822
  _: 1
4816
4823
  }, 8, ["id"])) : F("", !0)
4817
4824
  ]),
4818
- f("div", au, [
4819
- L(z.$slots, "action-secondary", {
4825
+ b("div", au, [
4826
+ C(z.$slots, "action-secondary", {
4820
4827
  id: l.actionSecondary
4821
4828
  }, () => [
4822
4829
  e.actionSecondaryText ? (g(), ee(je, {
@@ -4824,15 +4831,15 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
4824
4831
  id: l.actionSecondary,
4825
4832
  variant: "secondary",
4826
4833
  size: "medium",
4827
- onClick: v[1] || (v[1] = (h) => i("action:secondary"))
4834
+ onClick: f[1] || (f[1] = (D) => i("action:secondary"))
4828
4835
  }, {
4829
4836
  default: q(() => [
4830
- re(B(e.actionSecondaryText), 1)
4837
+ re(O(e.actionSecondaryText), 1)
4831
4838
  ]),
4832
4839
  _: 1
4833
4840
  }, 8, ["id"])) : F("", !0)
4834
4841
  ]),
4835
- L(z.$slots, "action-primary", {
4842
+ C(z.$slots, "action-primary", {
4836
4843
  id: l.actionPrimary
4837
4844
  }, () => [
4838
4845
  e.actionPrimaryText ? (g(), ee(je, {
@@ -4840,10 +4847,10 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
4840
4847
  id: l.actionPrimary,
4841
4848
  size: "medium",
4842
4849
  variant: "primary",
4843
- onClick: v[2] || (v[2] = (h) => i("action:tertiary"))
4850
+ onClick: f[2] || (f[2] = (D) => i("action:tertiary"))
4844
4851
  }, {
4845
4852
  default: q(() => [
4846
- re(B(e.actionPrimaryText), 1)
4853
+ re(O(e.actionPrimaryText), 1)
4847
4854
  ]),
4848
4855
  _: 1
4849
4856
  }, 8, ["id"])) : F("", !0)
@@ -4869,7 +4876,7 @@ const su = {
4869
4876
  viewBox: "0 0 24 24",
4870
4877
  width: "1em",
4871
4878
  height: "1em"
4872
- }, ou = /* @__PURE__ */ f("path", {
4879
+ }, ou = /* @__PURE__ */ b("path", {
4873
4880
  fill: "currentColor",
4874
4881
  d: "m13.3 17.3l-4.6-4.6q-.15-.15-.212-.325q-.063-.175-.063-.375t.063-.375q.062-.175.212-.325l4.6-4.6q.275-.275.7-.275q.425 0 .7.275q.275.275.275.7q0 .425-.275.7L10.8 12l3.9 3.9q.275.275.275.7q0 .425-.275.7q-.275.275-.7.275q-.425 0-.7-.275Z"
4875
4882
  }, null, -1), uu = [
@@ -4882,7 +4889,7 @@ const cu = { name: "material-symbols-chevron-left-rounded", render: ru }, du = {
4882
4889
  viewBox: "0 0 24 24",
4883
4890
  width: "1em",
4884
4891
  height: "1em"
4885
- }, Iu = /* @__PURE__ */ f("path", {
4892
+ }, Iu = /* @__PURE__ */ b("path", {
4886
4893
  fill: "currentColor",
4887
4894
  d: "M8.7 17.3q-.275-.275-.275-.7q0-.425.275-.7l3.9-3.9l-3.9-3.9q-.275-.275-.275-.7q0-.425.275-.7q.275-.275.7-.275q.425 0 .7.275l4.6 4.6q.15.15.213.325q.062.175.062.375t-.062.375q-.063.175-.213.325l-4.6 4.6q-.275.275-.7.275q-.425 0-.7-.275Z"
4888
4895
  }, null, -1), Mu = [
@@ -4971,7 +4978,7 @@ const gu = { name: "material-symbols-chevron-right-rounded", render: mu }, Nu =
4971
4978
  "dropdown-position": e.openMenuPosition,
4972
4979
  "onUpdate:selected": M
4973
4980
  }, null, 8, ["id", "selected", "options", "size", "dropdown-position"]),
4974
- f("span", ju, "de " + B(s()), 1),
4981
+ b("span", ju, "de " + O(s()), 1),
4975
4982
  _(je, {
4976
4983
  id: `next-page-${e.id}`,
4977
4984
  variant: "tertiary",
@@ -5042,16 +5049,16 @@ const yu = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTU0IDE1NCIgZmlsbD
5042
5049
  "data-testid": `empty-state-${e.id}`,
5043
5050
  class: "sol-empty-state-core"
5044
5051
  }, [
5045
- f("figure", xu, [
5046
- f("img", {
5052
+ b("figure", xu, [
5053
+ b("img", {
5047
5054
  src: u(i),
5048
5055
  alt: `${n(e.variant)}`
5049
5056
  }, null, 8, wu)
5050
5057
  ]),
5051
- f("h1", Zu, B(e.title), 1),
5052
- f("p", Tu, B(e.subtitle), 1),
5053
- f("div", zu, [
5054
- L(l.$slots, "button")
5058
+ b("h1", Zu, O(e.title), 1),
5059
+ b("p", Tu, O(e.subtitle), 1),
5060
+ b("div", zu, [
5061
+ C(l.$slots, "button")
5055
5062
  ])
5056
5063
  ], 8, Au));
5057
5064
  }
@@ -5147,7 +5154,7 @@ const Gu = {
5147
5154
  viewBox: "0 0 24 24",
5148
5155
  width: "1em",
5149
5156
  height: "1em"
5150
- }, pu = /* @__PURE__ */ f("path", {
5157
+ }, pu = /* @__PURE__ */ b("path", {
5151
5158
  fill: "currentColor",
5152
5159
  d: "m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4ZM12 22q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Z"
5153
5160
  }, null, -1), Eu = [
@@ -5160,7 +5167,7 @@ const ku = { name: "material-symbols-check-circle", render: Pu }, Bu = {
5160
5167
  viewBox: "0 0 24 24",
5161
5168
  width: "1em",
5162
5169
  height: "1em"
5163
- }, Ou = /* @__PURE__ */ f("path", {
5170
+ }, Ou = /* @__PURE__ */ b("path", {
5164
5171
  fill: "currentColor",
5165
5172
  d: "m8.4 17l3.6-3.6l3.6 3.6l1.4-1.4l-3.6-3.6L17 8.4L15.6 7L12 10.6L8.4 7L7 8.4l3.6 3.6L7 15.6Zm3.6 5q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Z"
5166
5173
  }, null, -1), Yu = [
@@ -5173,7 +5180,7 @@ const Wu = { name: "material-symbols-cancel", render: Vu }, Uu = {
5173
5180
  viewBox: "0 0 24 24",
5174
5181
  width: "1em",
5175
5182
  height: "1em"
5176
- }, Hu = /* @__PURE__ */ f("path", {
5183
+ }, Hu = /* @__PURE__ */ b("path", {
5177
5184
  fill: "currentColor",
5178
5185
  d: "M12 17q.425 0 .713-.288Q13 16.425 13 16t-.287-.713Q12.425 15 12 15t-.712.287Q11 15.575 11 16t.288.712Q11.575 17 12 17Zm0 5q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-9q.425 0 .713-.288Q13 12.425 13 12V8q0-.425-.287-.713Q12.425 7 12 7t-.712.287Q11 7.575 11 8v4q0 .425.288.712q.287.288.712.288Z"
5179
5186
  }, null, -1), $u = [
@@ -5239,7 +5246,7 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
5239
5246
  role: "alert",
5240
5247
  "aria-live": "assertive",
5241
5248
  style: Nt(u(a)),
5242
- class: k(["sol-toast-core", [`-${e.type} -${e.position}`, { "-multiline": u(s) }]]),
5249
+ class: B(["sol-toast-core", [`-${e.type} -${e.position}`, { "-multiline": u(s) }]]),
5243
5250
  onKeyup: N[0] || (N[0] = De(
5244
5251
  (...I) => e.onCloseHandler && e.onCloseHandler(...I),
5245
5252
  ["esc"]
@@ -5249,9 +5256,9 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
5249
5256
  onFocusin: o,
5250
5257
  onFocusout: r
5251
5258
  }, [
5252
- f("section", Ru, [
5259
+ b("section", Ru, [
5253
5260
  e.showIcon ? (g(), y("div", Ju, [
5254
- L(M.$slots, "icon-status", { type: e.type }, () => [
5261
+ C(M.$slots, "icon-status", { type: e.type }, () => [
5255
5262
  e.type === "success" ? (g(), ee(u(ku), {
5256
5263
  key: 0,
5257
5264
  class: "icon"
@@ -5266,24 +5273,24 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
5266
5273
  })) : F("", !0)
5267
5274
  ])
5268
5275
  ])) : F("", !0),
5269
- f("div", qu, [
5270
- f("p", {
5271
- class: k(["title", { "-multiline": u(s) }])
5276
+ b("div", qu, [
5277
+ b("p", {
5278
+ class: B(["title", { "-multiline": u(s) }])
5272
5279
  }, [
5273
- L(M.$slots, "title", {}, () => [
5274
- re(B(e.title), 1)
5280
+ C(M.$slots, "title", {}, () => [
5281
+ re(O(e.title), 1)
5275
5282
  ])
5276
5283
  ], 2),
5277
5284
  e.description ? (g(), y("p", _u, [
5278
- L(M.$slots, "description", {}, () => [
5279
- re(B(e.description), 1)
5285
+ C(M.$slots, "description", {}, () => [
5286
+ re(O(e.description), 1)
5280
5287
  ])
5281
5288
  ])) : F("", !0)
5282
5289
  ])
5283
5290
  ]),
5284
5291
  _(je, {
5285
5292
  id: `toast-action-${e.type}-${e.position}`,
5286
- class: k(["action", { "-multiline": u(s) }]),
5293
+ class: B(["action", { "-multiline": u(s) }]),
5287
5294
  size: "small",
5288
5295
  "on-color": e.type !== "warning",
5289
5296
  variant: "tertiary",
@@ -5291,7 +5298,7 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
5291
5298
  onClick: c
5292
5299
  }, {
5293
5300
  default: q(() => [
5294
- re(B(e.actionText), 1)
5301
+ re(O(e.actionText), 1)
5295
5302
  ]),
5296
5303
  _: 1
5297
5304
  }, 8, ["id", "on-color", "class"]),