@celke/kole-react 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1329,70 +1329,93 @@ var Wr = {
1329
1329
  compacta: "density-compact",
1330
1330
  confortavel: "density-comfortable",
1331
1331
  espacosa: "density-cozy"
1332
- }, Gr = Tt(null), Kr = "lp-preferencias";
1333
- function qr() {
1332
+ }, Gr = {
1333
+ claro: "light",
1334
+ escuro: "dark",
1335
+ sistema: "system"
1336
+ }, Kr = "(prefers-color-scheme: dark)", qr = "sistema", Jr = Tt(null), Yr = "lp-preferencias";
1337
+ function Xr() {
1334
1338
  try {
1335
- return JSON.parse(localStorage.getItem(Kr) ?? "{}");
1339
+ return JSON.parse(localStorage.getItem(Yr) ?? "{}");
1336
1340
  } catch {
1337
1341
  return {};
1338
1342
  }
1339
1343
  }
1340
- function Jr() {
1344
+ function Zr() {
1341
1345
  try {
1342
- return window.matchMedia("(prefers-color-scheme: dark)").matches ? "escuro" : "claro";
1346
+ return window.matchMedia(Kr).matches;
1343
1347
  } catch {
1344
- return "claro";
1348
+ return !1;
1345
1349
  }
1346
1350
  }
1347
- function Yr({ children: e, temaInicial: t, densidadeInicial: n = "confortavel" }) {
1348
- let [r, i] = Y(() => qr().tema ?? t ?? Jr()), [a, o] = Y(() => qr().densidade ?? n);
1351
+ function Qr(e) {
1352
+ let [t, n] = Y(Zr);
1353
+ return K(() => {
1354
+ if (!e) return;
1355
+ let t;
1356
+ try {
1357
+ t = window.matchMedia(Kr);
1358
+ } catch {
1359
+ return;
1360
+ }
1361
+ n(t.matches);
1362
+ let r = (e) => n(e.matches);
1363
+ return t.addEventListener("change", r), () => t.removeEventListener("change", r);
1364
+ }, [e]), t;
1365
+ }
1366
+ function $r({ temaInicial: e, densidadeInicial: t = "confortavel" } = {}) {
1367
+ return `(function(){var p={};try{p=JSON.parse(localStorage.getItem(${JSON.stringify(Yr)})||"{}")||{}}catch(e){}var t=p.tema||${JSON.stringify(e ?? qr)};var h=document.documentElement;h.setAttribute("data-theme",${JSON.stringify(Gr)}[t]||"light");var d=${JSON.stringify(Wr)}[p.densidade||${JSON.stringify(t)}];if(d)h.classList.add(d)})();`;
1368
+ }
1369
+ function ei({ children: e, temaInicial: t, densidadeInicial: n = "confortavel" }) {
1370
+ let [r, i] = Y(() => Xr().tema ?? t ?? qr), [a, o] = Y(() => Xr().densidade ?? n), s = Qr(r === "sistema"), c = r === "escuro" || r === "sistema" && s;
1349
1371
  K(() => {
1350
- document.documentElement.setAttribute("data-theme", r === "escuro" ? "dark" : "light");
1372
+ document.documentElement.setAttribute("data-theme", Gr[r] ?? "light");
1351
1373
  }, [r]), K(() => {
1352
1374
  let e = document.body;
1353
1375
  Object.values(Wr).forEach((t) => e.classList.remove(t)), e.classList.add(Wr[a]);
1354
1376
  }, [a]), K(() => {
1355
1377
  try {
1356
- localStorage.setItem(Kr, JSON.stringify({
1378
+ localStorage.setItem(Yr, JSON.stringify({
1357
1379
  tema: r,
1358
1380
  densidade: a
1359
1381
  }));
1360
1382
  } catch {}
1361
1383
  }, [r, a]);
1362
- let s = W(() => i((e) => e === "escuro" ? "claro" : "escuro"), []), c = At(() => ({
1384
+ let l = W(() => i(c ? "claro" : "escuro"), [c]), u = At(() => ({
1363
1385
  tema: r,
1364
- escuro: r === "escuro",
1386
+ escuro: c,
1365
1387
  densidade: a,
1366
1388
  definirTema: i,
1367
- alternarTema: s,
1389
+ alternarTema: l,
1368
1390
  definirDensidade: o
1369
1391
  }), [
1370
1392
  r,
1393
+ c,
1371
1394
  a,
1372
- s
1395
+ l
1373
1396
  ]);
1374
- return /* @__PURE__ */ H(Gr.Provider, {
1375
- value: c,
1397
+ return /* @__PURE__ */ H(Jr.Provider, {
1398
+ value: u,
1376
1399
  children: e
1377
1400
  });
1378
1401
  }
1379
- function Xr() {
1380
- let e = G(Gr);
1402
+ function ti() {
1403
+ let e = G(Jr);
1381
1404
  if (!e) throw Error("usePreferencias precisa de <ProvedorPreferencias> (ou <ProvedorUi>) acima na árvore.");
1382
1405
  return e;
1383
1406
  }
1384
- function Zr({ children: e, ...t }) {
1385
- return /* @__PURE__ */ H(Yr, {
1407
+ function ni({ children: e, ...t }) {
1408
+ return /* @__PURE__ */ H(ei, {
1386
1409
  ...t,
1387
1410
  children: /* @__PURE__ */ H(Vr, { children: /* @__PURE__ */ H(Fr, { children: e }) })
1388
1411
  });
1389
1412
  }
1390
- function Qr() {
1391
- return G(Gr);
1413
+ function ri() {
1414
+ return G(Jr);
1392
1415
  }
1393
1416
  //#endregion
1394
1417
  //#region src/utils/useCliqueFora.ts
1395
- function $r(e, t, n) {
1418
+ function ii(e, t, n) {
1396
1419
  K(() => {
1397
1420
  if (!t) return;
1398
1421
  let r = (t) => {
@@ -1404,11 +1427,11 @@ function $r(e, t, n) {
1404
1427
  }
1405
1428
  //#endregion
1406
1429
  //#region src/components/Avatar/Avatar.tsx
1407
- function ei(e = "") {
1430
+ function ai(e = "") {
1408
1431
  let t = e.trim().split(/\s+/).filter(Boolean);
1409
1432
  return t.length ? (t[0][0] + (t.length > 1 ? t[t.length - 1][0] : "")).toUpperCase() : "";
1410
1433
  }
1411
- function ti({ foto: e, nome: t, iniciais: n, tom: r = "claro", formato: i = "circulo", tamanho: a, className: o }) {
1434
+ function oi({ foto: e, nome: t, iniciais: n, tom: r = "claro", formato: i = "circulo", tamanho: a, className: o }) {
1412
1435
  let [s, c] = Y(!1), l = a ? { "--av-size": a } : void 0;
1413
1436
  return /* @__PURE__ */ H("span", {
1414
1437
  className: X("lp-av", `lp-av--${i}`, `lp-av--${r}`, o),
@@ -1422,30 +1445,30 @@ function ti({ foto: e, nome: t, iniciais: n, tom: r = "claro", formato: i = "cir
1422
1445
  }) : /* @__PURE__ */ H("span", {
1423
1446
  className: "lp-av-ini",
1424
1447
  "aria-hidden": "true",
1425
- children: n ?? ei(t)
1448
+ children: n ?? ai(t)
1426
1449
  })
1427
1450
  });
1428
1451
  }
1429
1452
  //#endregion
1430
1453
  //#region src/components/Busca/Busca.tsx
1431
- var ni = 8;
1432
- function ri({ placeholder: e = "Buscar…", ocupado: t, itensMenu: n, aoNavegar: r, aoBuscar: i, aoMudarTermo: a, atalho: o = !0, children: s, className: c }) {
1454
+ var si = 8;
1455
+ function ci({ placeholder: e = "Buscar…", ocupado: t, itensMenu: n, aoNavegar: r, aoBuscar: i, aoMudarTermo: a, atalho: o = !0, children: s, className: c }) {
1433
1456
  let l = J(null), u = J(null), [d, f] = Y(""), [p, m] = Y(!1), [h, g] = Y(-1);
1434
- $r([l], p, () => m(!1)), K(() => {
1457
+ ii([l], p, () => m(!1)), K(() => {
1435
1458
  if (!o) return;
1436
1459
  let e = (e) => {
1437
1460
  (e.ctrlKey || e.metaKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), u.current?.focus());
1438
1461
  };
1439
1462
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
1440
1463
  }, [o]);
1441
- let _ = kn(d.trim()), v = _ && n ? n.filter((e) => kn(`${e.rotulo} ${e.trilha ?? ""}`).includes(_)) : [], y = v.slice(0, ni), b = v.length - y.length, x = () => l.current ? [...l.current.querySelectorAll(".lp-pb-item, [data-busca-opcao]")] : [];
1464
+ let _ = kn(d.trim()), v = _ && n ? n.filter((e) => kn(`${e.rotulo} ${e.trilha ?? ""}`).includes(_)) : [], y = v.slice(0, si), b = v.length - y.length, x = () => l.current ? [...l.current.querySelectorAll(".lp-pb-item, [data-busca-opcao]")] : [];
1442
1465
  K(() => {
1443
1466
  x().forEach((e, t) => e.classList.toggle("is-ativa", t === h));
1444
1467
  });
1445
1468
  let S = (e) => {
1446
1469
  f(e), g(-1), m(!0), a?.(e);
1447
- }, C = (e, t) => {
1448
- r && (t?.preventDefault(), r(e)), f(""), m(!1), u.current?.blur();
1470
+ }, C = (e, t, n) => {
1471
+ r && !n && (t?.preventDefault(), r(e)), f(""), m(!1), u.current?.blur();
1449
1472
  }, w = (e) => {
1450
1473
  let t = x();
1451
1474
  if (e.key === "ArrowDown" || e.key === "ArrowUp") {
@@ -1508,7 +1531,7 @@ function ri({ placeholder: e = "Buscar…", ocupado: t, itensMenu: n, aoNavegar:
1508
1531
  y.map((e) => /* @__PURE__ */ U("a", {
1509
1532
  className: "lp-pb-item",
1510
1533
  href: e.rota,
1511
- onClick: (t) => C(e.rota, t),
1534
+ onClick: (t) => C(e.rota, t, e.recarregar),
1512
1535
  children: [
1513
1536
  /* @__PURE__ */ H(Z, { icone: e.icone ?? "chevron-right" }),
1514
1537
  /* @__PURE__ */ H("span", { children: e.rotulo }),
@@ -1550,11 +1573,11 @@ function ri({ placeholder: e = "Buscar…", ocupado: t, itensMenu: n, aoNavegar:
1550
1573
  }
1551
1574
  //#endregion
1552
1575
  //#region src/components/Trilha/Trilha.tsx
1553
- var ii = Tt(null), ai = ii.Provider;
1554
- function oi() {
1555
- return G(ii)?.itens ?? [];
1576
+ var li = Tt(null), ui = li.Provider;
1577
+ function di() {
1578
+ return G(li)?.itens ?? [];
1556
1579
  }
1557
- function si(e, t) {
1580
+ function fi(e, t) {
1558
1581
  let n = [], r = -1, i = (e, a) => {
1559
1582
  for (let o of e) o.rota && t(o.rota) && o.rota.length > r && (n = [...a, {
1560
1583
  rotulo: o.rotulo,
@@ -1568,7 +1591,7 @@ function si(e, t) {
1568
1591
  for (let t of e) i(t.itens, t.rotulo ? [{ rotulo: t.rotulo }] : []);
1569
1592
  return n;
1570
1593
  }
1571
- var ci = {
1594
+ var pi = {
1572
1595
  chevron: /* @__PURE__ */ H(Z, { icone: "chevron-right" }),
1573
1596
  barra: "/",
1574
1597
  duplo: "»",
@@ -1576,10 +1599,10 @@ var ci = {
1576
1599
  til: "~",
1577
1600
  ponto: "•"
1578
1601
  };
1579
- function li({ itens: e, extras: t = [], mostrarUnico: n = !1, separador: r, icones: i, aparencia: a, className: o }) {
1580
- let s = G(ii), c = [...e ?? s?.itens ?? [], ...t];
1602
+ function mi({ itens: e, extras: t = [], mostrarUnico: n = !1, separador: r, icones: i, aparencia: a, className: o }) {
1603
+ let s = G(li), c = [...e ?? s?.itens ?? [], ...t];
1581
1604
  if (!c.length || c.length < 2 && !n) return null;
1582
- let l = s?.modelo ?? {}, u = r ?? l.separador ?? "chevron", d = i ?? l.icones ?? "inicio", f = a ?? l.aparencia ?? "simples", p = typeof u == "string" && u in ci ? ci[u] : u, m = c.length - 1, h = (e, t, n) => s ? s.link(e.rota, t, n) : /* @__PURE__ */ H("a", {
1605
+ let l = s?.modelo ?? {}, u = r ?? l.separador ?? "chevron", d = i ?? l.icones ?? "inicio", f = a ?? l.aparencia ?? "simples", p = typeof u == "string" && u in pi ? pi[u] : u, m = c.length - 1, h = (e, t, n) => s ? s.link(e.rota, t, n) : /* @__PURE__ */ H("a", {
1583
1606
  href: e.rota,
1584
1607
  className: n,
1585
1608
  children: t
@@ -1627,7 +1650,7 @@ function li({ itens: e, extras: t = [], mostrarUnico: n = !1, separador: r, icon
1627
1650
  }
1628
1651
  //#endregion
1629
1652
  //#region src/components/Estrutura/Estrutura.tsx
1630
- var ui = [
1653
+ var hi = [
1631
1654
  {
1632
1655
  valor: "compacta",
1633
1656
  rotulo: "Compacta",
@@ -1643,33 +1666,34 @@ var ui = [
1643
1666
  rotulo: "Espaçosa",
1644
1667
  icone: "menu"
1645
1668
  }
1646
- ], di = "lp-sidebar-expandida";
1647
- function fi(e) {
1669
+ ], gi = "lp-sidebar-expandida";
1670
+ function _i(e) {
1648
1671
  let [t, n] = Y(() => typeof window < "u" && window.matchMedia(e).matches);
1649
1672
  return K(() => {
1650
1673
  let t = window.matchMedia(e), r = () => n(t.matches);
1651
1674
  return r(), t.addEventListener("change", r), () => t.removeEventListener("change", r);
1652
1675
  }, [e]), t;
1653
1676
  }
1654
- function pi() {
1677
+ function vi() {
1655
1678
  try {
1656
- return localStorage.getItem(di) !== "0";
1679
+ return localStorage.getItem(gi) !== "0";
1657
1680
  } catch {
1658
1681
  return !0;
1659
1682
  }
1660
1683
  }
1661
- function mi(e) {
1684
+ function yi(e) {
1662
1685
  let t = [], n = (e, r, i) => {
1663
1686
  for (let a of e) a.desabilitado || (a.filhos?.length ? n(a.filhos, [...r, a.rotulo], a.icone ?? i) : a.rota && t.push({
1664
1687
  rotulo: a.rotulo,
1665
1688
  rota: a.rota,
1666
1689
  icone: a.icone ?? i,
1667
- trilha: r.join(" › ") || void 0
1690
+ trilha: r.join(" › ") || void 0,
1691
+ recarregar: a.recarregar || void 0
1668
1692
  }));
1669
1693
  };
1670
1694
  return e.forEach((e) => n(e.itens, e.rotulo ? [e.rotulo] : [])), t;
1671
1695
  }
1672
- function hi({ itens: e, aoEscolher: t }) {
1696
+ function bi({ itens: e, aoEscolher: t }) {
1673
1697
  return /* @__PURE__ */ H(V, { children: e.map((e) => /* @__PURE__ */ U(Ct, { children: [e.divisorAntes && /* @__PURE__ */ H("div", {
1674
1698
  className: "lp-tb-menu-ln",
1675
1699
  "aria-hidden": "true"
@@ -1680,10 +1704,10 @@ function hi({ itens: e, aoEscolher: t }) {
1680
1704
  children: [e.icone && /* @__PURE__ */ H(Z, { icone: e.icone }), /* @__PURE__ */ H("span", { children: e.rotulo })]
1681
1705
  })] }, e.id)) });
1682
1706
  }
1683
- function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuario: a, menuUsuario: o = [], aoEscolherMenuUsuario: s, notificacoes: c, aoEscolherNotificacao: l, menuDesenvolvimento: u = [], aoEscolherMenuDesenvolvimento: d, ambiente: f, versao: p, rodapeSidebar: m, rodape: h, modeloTrilha: g, submenu: _ = "abaixo", busca: v, placeholderBusca: y = "Buscar no sistema…", aoBuscar: b, complementosTopbar: x, children: S }) {
1684
- let C = Qr(), w = `lp-conteudo-${q().replace(/:/g, "")}`, T = fi("(max-width: 64rem)"), E = fi("(max-width: 48rem)"), [D, O] = Y(() => !T && pi()), [k, A] = Y(null), [j, M] = Y(0), [N, P] = Y(/* @__PURE__ */ new Set()), [F, I] = Y(null), [L, R] = Y(!0), z = J(null), B = J(null), ee = J(null), te = J(null);
1707
+ function xi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuario: a, menuUsuario: o = [], aoEscolherMenuUsuario: s, notificacoes: c, aoEscolherNotificacao: l, menuDesenvolvimento: u = [], aoEscolherMenuDesenvolvimento: d, ambiente: f, versao: p, rodapeSidebar: m, rodape: h, modeloTrilha: g, submenu: _ = "abaixo", busca: v, placeholderBusca: y = "Buscar no sistema…", aoBuscar: b, complementosTopbar: x, children: S }) {
1708
+ let C = ri(), w = `lp-conteudo-${q().replace(/:/g, "")}`, T = _i("(max-width: 64rem)"), E = _i("(max-width: 48rem)"), [D, O] = Y(() => !T && vi()), [k, A] = Y(null), [j, M] = Y(0), [N, P] = Y(/* @__PURE__ */ new Set()), [F, I] = Y(null), [L, R] = Y(!0), z = J(null), B = J(null), ee = J(null), te = J(null);
1685
1709
  K(() => {
1686
- O(!T && pi());
1710
+ O(!T && vi());
1687
1711
  }, [T]), K(() => {
1688
1712
  te.current?.scrollTo({ top: 0 });
1689
1713
  }, [n]);
@@ -1691,12 +1715,12 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1691
1715
  O((e) => {
1692
1716
  let t = !e;
1693
1717
  if (!T) try {
1694
- localStorage.setItem(di, t ? "1" : "0");
1718
+ localStorage.setItem(gi, t ? "1" : "0");
1695
1719
  } catch {}
1696
1720
  return t;
1697
1721
  });
1698
1722
  }, re = W(() => I(null), []), ie = W(() => A(null), []);
1699
- $r([ee], F !== null, re), $r([z, B], k !== null, ie), K(() => {
1723
+ ii([ee], F !== null, re), ii([z, B], k !== null, ie), K(() => {
1700
1724
  if (!F && !k) return;
1701
1725
  let e = (e) => {
1702
1726
  e.key === "Escape" && (I(null), A(null));
@@ -1709,7 +1733,18 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1709
1733
  for (let n of t) n.rota && e(n.rota) && (!r || n.rota.length > r.length) && (r = n.rota), n.filhos && i(n.filhos);
1710
1734
  };
1711
1735
  return t.forEach((e) => i(e.itens)), r;
1712
- }, [t, n]), oe = W((e) => !!e && e === ae, [ae]), se = (e) => !!e.filhos?.some((e) => oe(e.rota) || se(e)), ce = _ === "abaixo" && D, le = (e) => P((t) => {
1736
+ }, [t, n]), oe = W((e) => !!e && e === ae, [ae]), se = At(() => {
1737
+ let n = /* @__PURE__ */ new Set();
1738
+ e.recarregar && n.add(e.href ?? "/");
1739
+ let r = (e) => {
1740
+ for (let t of e) t.recarregar && t.rota && n.add(t.rota), t.filhos && r(t.filhos);
1741
+ };
1742
+ return t.forEach((e) => r(e.itens)), n;
1743
+ }, [
1744
+ t,
1745
+ e.recarregar,
1746
+ e.href
1747
+ ]), ce = (e) => !!e.filhos?.some((e) => oe(e.rota) || ce(e)), le = _ === "abaixo" && D, ue = (e) => P((t) => {
1713
1748
  let n = new Set(t);
1714
1749
  return n.has(e) ? n.delete(e) : n.add(e), n;
1715
1750
  });
@@ -1724,31 +1759,31 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1724
1759
  };
1725
1760
  t.forEach((e) => n(e.itens, "")), e.length && P((t) => /* @__PURE__ */ new Set([...t, ...e]));
1726
1761
  }, [t, oe]), K(() => {
1727
- ce && A(null);
1728
- }, [ce]);
1729
- let ue = () => {
1762
+ le && A(null);
1763
+ }, [le]);
1764
+ let de = () => {
1730
1765
  A(null), T && O(!1);
1731
- }, de = (e, t, n) => {
1732
- let a = oe(e.rota), o = {
1766
+ }, fe = (e, t, n) => {
1767
+ let a = oe(e.rota), o = !!e.recarregar || !!e.rota && se.has(e.rota), s = {
1733
1768
  href: e.rota ?? "#",
1734
1769
  className: X(t, a && "lp-active", e.desabilitado && "lp-is-disabled"),
1735
1770
  "aria-current": a ? "page" : void 0,
1736
1771
  "aria-disabled": e.desabilitado || void 0,
1737
1772
  children: n,
1738
1773
  onClick: (t) => {
1739
- e.desabilitado ? t.preventDefault() : (r && e.rota && (t.preventDefault(), r(e.rota)), ue());
1774
+ e.desabilitado ? t.preventDefault() : (r && e.rota && !o && (t.preventDefault(), r(e.rota)), de());
1740
1775
  }
1741
1776
  };
1742
- return i ? i(o, e) : /* @__PURE__ */ H("a", { ...o });
1743
- }, fe = At(() => {
1777
+ return i && !o ? i(s, e) : /* @__PURE__ */ H("a", { ...s });
1778
+ }, pe = At(() => {
1744
1779
  let n = {
1745
1780
  rotulo: "Início",
1746
1781
  rota: e.href ?? "/",
1747
1782
  icone: "house"
1748
- }, r = si(t, oe), i = r[r.length - 1];
1783
+ }, r = fi(t, oe), i = r[r.length - 1];
1749
1784
  return {
1750
1785
  itens: !i || i.rota === n.rota ? [n] : [n, ...r],
1751
- link: (e, t, n) => de({
1786
+ link: (e, t, n) => fe({
1752
1787
  rotulo: "",
1753
1788
  rota: e
1754
1789
  }, n, t),
@@ -1760,9 +1795,10 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1760
1795
  e.href,
1761
1796
  r,
1762
1797
  i,
1763
- g
1764
- ]), pe = (e, t) => e.map((e) => {
1765
- if (!e.filhos?.length) return /* @__PURE__ */ H(Ct, { children: de(e, "lp-nav-sub", /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("span", {
1798
+ g,
1799
+ se
1800
+ ]), me = (e, t) => e.map((e) => {
1801
+ if (!e.filhos?.length) return /* @__PURE__ */ H(Ct, { children: fe(e, "lp-nav-sub", /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("span", {
1766
1802
  className: "lp-nav-sub-ic",
1767
1803
  children: /* @__PURE__ */ H(Z, { icone: e.icone ?? "chevron-right" })
1768
1804
  }), /* @__PURE__ */ H("span", {
@@ -1771,13 +1807,13 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1771
1807
  })] })) }, e.rotulo);
1772
1808
  let n = `${t}›${e.rotulo}`, r = N.has(n);
1773
1809
  return /* @__PURE__ */ U("div", {
1774
- className: X("lp-nav-sub-grp", r && "lp-sub-open", se(e) && "lp-has-active"),
1810
+ className: X("lp-nav-sub-grp", r && "lp-sub-open", ce(e) && "lp-has-active"),
1775
1811
  children: [/* @__PURE__ */ U("button", {
1776
1812
  type: "button",
1777
1813
  className: X("lp-nav-sub lp-nav-sub-parent", e.desabilitado && "lp-is-disabled"),
1778
1814
  disabled: e.desabilitado,
1779
1815
  "aria-expanded": r,
1780
- onClick: () => le(n),
1816
+ onClick: () => ue(n),
1781
1817
  children: [
1782
1818
  /* @__PURE__ */ H("span", {
1783
1819
  className: "lp-nav-sub-ic",
@@ -1796,24 +1832,24 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1796
1832
  className: "lp-nav-sub-netos",
1797
1833
  role: "group",
1798
1834
  "aria-label": e.rotulo,
1799
- children: pe(e.filhos, n)
1835
+ children: me(e.filhos, n)
1800
1836
  })]
1801
1837
  }, e.rotulo);
1802
- }), me = At(() => mi(t), [t]), he = At(() => {
1838
+ }), he = At(() => yi(t), [t]), ge = At(() => {
1803
1839
  for (let e of t) for (let t of e.itens) if (t.rotulo === k && t.filhos) return t;
1804
1840
  return null;
1805
- }, [t, k]), ge = c?.filter((e) => e.naoLida).length ?? 0, _e = u.length > 0, ve = ui.find((e) => e.valor === C?.densidade) ?? ui[1], ye = (e) => I((t) => t === e ? null : e), be = (e) => (t) => {
1841
+ }, [t, k]), _e = c?.filter((e) => e.naoLida).length ?? 0, ve = u.length > 0, ye = hi.find((e) => e.valor === C?.densidade) ?? hi[1], be = (e) => I((t) => t === e ? null : e), xe = (e) => (t) => {
1806
1842
  I(null), e?.(t);
1807
- }, xe = a && /* @__PURE__ */ H(ti, {
1843
+ }, Se = a && /* @__PURE__ */ H(oi, {
1808
1844
  className: "lp-avatar-topo",
1809
1845
  tom: "escuro",
1810
1846
  tamanho: "1.875rem",
1811
1847
  nome: a.nome,
1812
1848
  foto: a.foto,
1813
1849
  iniciais: a.iniciais
1814
- }), Se = a && /* @__PURE__ */ U("div", {
1850
+ }), Ce = a && /* @__PURE__ */ U("div", {
1815
1851
  className: "lp-tb-menu-head",
1816
- children: [xe, /* @__PURE__ */ U("div", {
1852
+ children: [Se, /* @__PURE__ */ U("div", {
1817
1853
  className: "lp-tb-menu-head-tx",
1818
1854
  children: [/* @__PURE__ */ H("div", {
1819
1855
  className: "lp-profile-name",
@@ -1823,7 +1859,7 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1823
1859
  children: a.cargo
1824
1860
  })]
1825
1861
  })]
1826
- }), Ce = C && /* @__PURE__ */ H(V, { children: ui.map((e) => /* @__PURE__ */ U("button", {
1862
+ }), we = C && /* @__PURE__ */ H(V, { children: hi.map((e) => /* @__PURE__ */ U("button", {
1827
1863
  type: "button",
1828
1864
  className: X("lp-tb-menu-item", C.densidade === e.valor && "lp-active"),
1829
1865
  "aria-pressed": C.densidade === e.valor,
@@ -1836,9 +1872,9 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1836
1872
  className: "lp-tb-menu-check"
1837
1873
  })
1838
1874
  ]
1839
- }, e.valor)) }), we = v === void 0 ? /* @__PURE__ */ H(ri, {
1875
+ }, e.valor)) }), Te = v === void 0 ? /* @__PURE__ */ H(ci, {
1840
1876
  placeholder: y,
1841
- itensMenu: me,
1877
+ itensMenu: he,
1842
1878
  aoNavegar: r,
1843
1879
  aoBuscar: b
1844
1880
  }) : v || null;
@@ -1892,7 +1928,7 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1892
1928
  href: e.href ?? "/",
1893
1929
  "aria-label": e.nome,
1894
1930
  onClick: (t) => {
1895
- r && (t.preventDefault(), r(e.href ?? "/"));
1931
+ r && !e.recarregar && (t.preventDefault(), r(e.href ?? "/"));
1896
1932
  },
1897
1933
  children: e.logo && L ? /* @__PURE__ */ H("img", {
1898
1934
  className: "lp-brand-img",
@@ -1928,14 +1964,14 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1928
1964
  children: [/* @__PURE__ */ H("span", { children: e.rotulo }), /* @__PURE__ */ H("span", { className: "lp-sidebar-grp-ln" })]
1929
1965
  }), /* @__PURE__ */ H("div", {
1930
1966
  className: "lp-sidebar-items",
1931
- children: e.itens.map((e) => e.filhos ? ce ? /* @__PURE__ */ U("div", {
1932
- className: X("lp-nav-group", N.has(e.rotulo) && "lp-grupo-aberto", se(e) && "lp-has-active"),
1967
+ children: e.itens.map((e) => e.filhos ? le ? /* @__PURE__ */ U("div", {
1968
+ className: X("lp-nav-group", N.has(e.rotulo) && "lp-grupo-aberto", ce(e) && "lp-has-active"),
1933
1969
  children: [/* @__PURE__ */ U("button", {
1934
1970
  type: "button",
1935
1971
  className: X("lp-nav-it lp-nav-parent", e.desabilitado && "lp-is-disabled"),
1936
1972
  disabled: e.desabilitado,
1937
1973
  "aria-expanded": N.has(e.rotulo),
1938
- onClick: () => le(e.rotulo),
1974
+ onClick: () => ue(e.rotulo),
1939
1975
  children: [
1940
1976
  /* @__PURE__ */ H("span", {
1941
1977
  className: "lp-nav-tile",
@@ -1954,10 +1990,10 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1954
1990
  className: "lp-nav-filhos",
1955
1991
  role: "group",
1956
1992
  "aria-label": e.rotulo,
1957
- children: pe(e.filhos, e.rotulo)
1993
+ children: me(e.filhos, e.rotulo)
1958
1994
  })]
1959
1995
  }, e.rotulo) : /* @__PURE__ */ H("div", {
1960
- className: X("lp-nav-group", k === e.rotulo && "lp-aside-on", se(e) && "lp-has-active"),
1996
+ className: X("lp-nav-group", k === e.rotulo && "lp-aside-on", ce(e) && "lp-has-active"),
1961
1997
  children: /* @__PURE__ */ U("button", {
1962
1998
  type: "button",
1963
1999
  className: X("lp-nav-it lp-nav-parent", e.desabilitado && "lp-is-disabled"),
@@ -1985,7 +2021,7 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
1985
2021
  texto: D ? void 0 : e.rotulo,
1986
2022
  posicao: "direita",
1987
2023
  atraso: 150,
1988
- children: de(e, "lp-nav-it", /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("span", {
2024
+ children: fe(e, "lp-nav-it", /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("span", {
1989
2025
  className: "lp-nav-tile",
1990
2026
  children: /* @__PURE__ */ H(Z, { icone: e.icone ?? "circle" })
1991
2027
  }), /* @__PURE__ */ H("span", {
@@ -2014,22 +2050,22 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2014
2050
  })
2015
2051
  ]
2016
2052
  }),
2017
- he && /* @__PURE__ */ U("div", {
2053
+ ge && /* @__PURE__ */ U("div", {
2018
2054
  className: X("lp-sidebar-aside", !D && "lp-aside--flutuante"),
2019
2055
  ref: B,
2020
2056
  role: "region",
2021
- "aria-label": `Submenu ${he.rotulo}`,
2057
+ "aria-label": `Submenu ${ge.rotulo}`,
2022
2058
  style: D ? void 0 : { "--aside-topo": `${Math.max(8, Math.min(j, window.innerHeight - 320))}px` },
2023
2059
  children: [/* @__PURE__ */ U("div", {
2024
2060
  className: "lp-aside-head",
2025
2061
  children: [
2026
2062
  /* @__PURE__ */ H("span", {
2027
2063
  className: "lp-aside-ic",
2028
- children: /* @__PURE__ */ H(Z, { icone: he.icone ?? "folder" })
2064
+ children: /* @__PURE__ */ H(Z, { icone: ge.icone ?? "folder" })
2029
2065
  }),
2030
2066
  /* @__PURE__ */ H("span", {
2031
2067
  className: "lp-aside-ttl",
2032
- children: he.rotulo
2068
+ children: ge.rotulo
2033
2069
  }),
2034
2070
  /* @__PURE__ */ H("button", {
2035
2071
  type: "button",
@@ -2042,17 +2078,17 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2042
2078
  ]
2043
2079
  }), /* @__PURE__ */ H("div", {
2044
2080
  className: "lp-aside-corpo",
2045
- children: he.filhos.map((e) => {
2046
- if (!e.filhos?.length) return /* @__PURE__ */ H(Ct, { children: de(e, "lp-nav-sub", /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("span", {
2081
+ children: ge.filhos.map((e) => {
2082
+ if (!e.filhos?.length) return /* @__PURE__ */ H(Ct, { children: fe(e, "lp-nav-sub", /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("span", {
2047
2083
  className: "lp-nav-sub-ic",
2048
2084
  children: /* @__PURE__ */ H(Z, { icone: e.icone ?? "chevron-right" })
2049
2085
  }), /* @__PURE__ */ H("span", {
2050
2086
  className: "lp-nav-sub-tx",
2051
2087
  children: e.rotulo
2052
2088
  })] })) }, e.rotulo);
2053
- let t = `${he.rotulo}›${e.rotulo}`, n = N.has(t) || se(e);
2089
+ let t = `${ge.rotulo}›${e.rotulo}`, n = N.has(t) || ce(e);
2054
2090
  return /* @__PURE__ */ U("div", {
2055
- className: X("lp-nav-sub-grp", n && "lp-sub-open", se(e) && "lp-has-active"),
2091
+ className: X("lp-nav-sub-grp", n && "lp-sub-open", ce(e) && "lp-has-active"),
2056
2092
  children: [/* @__PURE__ */ U("button", {
2057
2093
  type: "button",
2058
2094
  className: X("lp-nav-sub lp-nav-sub-parent", e.desabilitado && "lp-is-disabled"),
@@ -2080,7 +2116,7 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2080
2116
  className: "lp-nav-sub-netos",
2081
2117
  role: "group",
2082
2118
  "aria-label": e.rotulo,
2083
- children: e.filhos.map((e) => /* @__PURE__ */ H(Ct, { children: de(e, "lp-nav-sub lp-nav-sub-neto", /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("span", {
2119
+ children: e.filhos.map((e) => /* @__PURE__ */ H(Ct, { children: fe(e, "lp-nav-sub lp-nav-sub-neto", /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("span", {
2084
2120
  className: "lp-nav-sub-ic",
2085
2121
  children: /* @__PURE__ */ H(Z, { icone: e.icone ?? "chevron-right" })
2086
2122
  }), /* @__PURE__ */ H("span", {
@@ -2110,7 +2146,7 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2110
2146
  className: "lp-tb-system",
2111
2147
  children: [/* @__PURE__ */ H("b", { children: e.nome }), e.subtitulo && /* @__PURE__ */ H("span", { children: e.subtitulo })]
2112
2148
  }),
2113
- !E && we,
2149
+ !E && Te,
2114
2150
  /* @__PURE__ */ U("div", {
2115
2151
  className: "lp-tb-right",
2116
2152
  ref: ee,
@@ -2120,14 +2156,14 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2120
2156
  C && /* @__PURE__ */ U("div", {
2121
2157
  className: "lp-tb-menu-wrap",
2122
2158
  children: [/* @__PURE__ */ H(Dr, {
2123
- texto: `Densidade: ${ve.rotulo}`,
2159
+ texto: `Densidade: ${ye.rotulo}`,
2124
2160
  children: /* @__PURE__ */ H("button", {
2125
2161
  type: "button",
2126
2162
  className: X("lp-tb-icon", F === "densidade" && "lp-menu-open"),
2127
2163
  "aria-expanded": F === "densidade",
2128
- "aria-label": `Densidade: ${ve.rotulo}`,
2129
- onClick: () => ye("densidade"),
2130
- children: /* @__PURE__ */ H(Z, { icone: ve.icone })
2164
+ "aria-label": `Densidade: ${ye.rotulo}`,
2165
+ onClick: () => be("densidade"),
2166
+ children: /* @__PURE__ */ H(Z, { icone: ye.icone })
2131
2167
  })
2132
2168
  }), F === "densidade" && /* @__PURE__ */ U("div", {
2133
2169
  className: "lp-tb-menu",
@@ -2136,10 +2172,10 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2136
2172
  children: [/* @__PURE__ */ H("div", {
2137
2173
  className: "lp-tb-menu-ttl",
2138
2174
  children: "Densidade"
2139
- }), Ce]
2175
+ }), we]
2140
2176
  })]
2141
2177
  }),
2142
- _e && /* @__PURE__ */ U("div", {
2178
+ ve && /* @__PURE__ */ U("div", {
2143
2179
  className: "lp-tb-menu-wrap",
2144
2180
  children: [/* @__PURE__ */ H(Dr, {
2145
2181
  texto: "Desenvolvimento",
@@ -2148,16 +2184,16 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2148
2184
  className: X("lp-tb-icon", F === "dev" && "lp-menu-open"),
2149
2185
  "aria-expanded": F === "dev",
2150
2186
  "aria-label": "Desenvolvimento",
2151
- onClick: () => ye("dev"),
2187
+ onClick: () => be("dev"),
2152
2188
  children: /* @__PURE__ */ H(Z, { icone: "code" })
2153
2189
  })
2154
2190
  }), F === "dev" && /* @__PURE__ */ H("div", {
2155
2191
  className: "lp-tb-menu",
2156
2192
  role: "group",
2157
2193
  "aria-label": "Desenvolvimento",
2158
- children: /* @__PURE__ */ H(hi, {
2194
+ children: /* @__PURE__ */ H(bi, {
2159
2195
  itens: u,
2160
- aoEscolher: be(d)
2196
+ aoEscolher: xe(d)
2161
2197
  })
2162
2198
  })]
2163
2199
  }),
@@ -2180,9 +2216,9 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2180
2216
  type: "button",
2181
2217
  className: X("lp-tb-icon lp-tb-bell", F === "sino" && "lp-menu-open"),
2182
2218
  "aria-expanded": F === "sino",
2183
- "aria-label": ge ? `Notificações: ${ge} não lida(s)` : "Notificações",
2184
- onClick: () => ye("sino"),
2185
- children: [/* @__PURE__ */ H(Z, { icone: "bell" }), ge > 0 && /* @__PURE__ */ H("span", {
2219
+ "aria-label": _e ? `Notificações: ${_e} não lida(s)` : "Notificações",
2220
+ onClick: () => be("sino"),
2221
+ children: [/* @__PURE__ */ H(Z, { icone: "bell" }), _e > 0 && /* @__PURE__ */ H("span", {
2186
2222
  className: "lp-bell-dot",
2187
2223
  "aria-hidden": "true"
2188
2224
  })]
@@ -2193,14 +2229,14 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2193
2229
  "aria-label": "Notificações",
2194
2230
  children: [/* @__PURE__ */ U("div", {
2195
2231
  className: "lp-tb-menu-ttl",
2196
- children: [/* @__PURE__ */ H("span", { children: "Notificações" }), ge > 0 && /* @__PURE__ */ U("span", {
2232
+ children: [/* @__PURE__ */ H("span", { children: "Notificações" }), _e > 0 && /* @__PURE__ */ U("span", {
2197
2233
  className: "lp-notif-count",
2198
- children: [ge, " não lida(s)"]
2234
+ children: [_e, " não lida(s)"]
2199
2235
  })]
2200
2236
  }), c.length ? c.map((e) => /* @__PURE__ */ U("button", {
2201
2237
  type: "button",
2202
2238
  className: X("lp-tb-menu-item lp-notif-item", e.naoLida && "lp-unread"),
2203
- onClick: () => be(l)(e.id),
2239
+ onClick: () => xe(l)(e.id),
2204
2240
  children: [
2205
2241
  /* @__PURE__ */ H("span", {
2206
2242
  className: "lp-notif-ic",
@@ -2241,14 +2277,14 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2241
2277
  className: "lp-profile",
2242
2278
  "aria-expanded": F === "compacto",
2243
2279
  "aria-label": `Conta e preferências: ${a.nome}`,
2244
- onClick: () => ye("compacto"),
2245
- children: xe
2280
+ onClick: () => be("compacto"),
2281
+ children: Se
2246
2282
  }), F === "compacto" && /* @__PURE__ */ U("div", {
2247
2283
  className: "lp-tb-menu lp-tb-menu-compact",
2248
2284
  role: "group",
2249
2285
  "aria-label": "Conta e preferências",
2250
2286
  children: [
2251
- Se,
2287
+ Ce,
2252
2288
  b && /* @__PURE__ */ U("div", {
2253
2289
  className: "lp-cm-search",
2254
2290
  role: "search",
@@ -2271,23 +2307,23 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2271
2307
  onClick: C.alternarTema,
2272
2308
  children: [/* @__PURE__ */ H(Z, { icone: C.escuro ? "sun" : "moon" }), /* @__PURE__ */ H("span", { children: C.escuro ? "Tema claro" : "Tema escuro" })]
2273
2309
  })] }),
2274
- _e && /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("div", {
2310
+ ve && /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("div", {
2275
2311
  className: "lp-tb-menu-ttl",
2276
2312
  children: "Desenvolvimento"
2277
- }), /* @__PURE__ */ H(hi, {
2313
+ }), /* @__PURE__ */ H(bi, {
2278
2314
  itens: u,
2279
- aoEscolher: be(d)
2315
+ aoEscolher: xe(d)
2280
2316
  })] }),
2281
2317
  C && /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("div", {
2282
2318
  className: "lp-tb-menu-ttl",
2283
2319
  children: "Densidade"
2284
- }), Ce] }),
2320
+ }), we] }),
2285
2321
  o.length > 0 && /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("div", {
2286
2322
  className: "lp-tb-menu-ln",
2287
2323
  "aria-hidden": "true"
2288
- }), /* @__PURE__ */ H(hi, {
2324
+ }), /* @__PURE__ */ H(bi, {
2289
2325
  itens: o,
2290
- aoEscolher: be(s)
2326
+ aoEscolher: xe(s)
2291
2327
  })] })
2292
2328
  ]
2293
2329
  })]
@@ -2298,9 +2334,9 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2298
2334
  className: X("lp-profile", !o.length && "lp-no-menu"),
2299
2335
  "aria-expanded": o.length ? F === "usuario" : void 0,
2300
2336
  "aria-label": `Usuário: ${a.nome}`,
2301
- onClick: () => o.length && ye("usuario"),
2337
+ onClick: () => o.length && be("usuario"),
2302
2338
  children: [
2303
- xe,
2339
+ Se,
2304
2340
  /* @__PURE__ */ U("div", {
2305
2341
  className: "lp-profile-info",
2306
2342
  children: [/* @__PURE__ */ H("div", {
@@ -2320,9 +2356,9 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2320
2356
  className: "lp-tb-menu lp-tb-menu-user",
2321
2357
  role: "group",
2322
2358
  "aria-label": "Menu do usuário",
2323
- children: [Se, /* @__PURE__ */ H(hi, {
2359
+ children: [Ce, /* @__PURE__ */ H(bi, {
2324
2360
  itens: o,
2325
- aoEscolher: be(s)
2361
+ aoEscolher: xe(s)
2326
2362
  })]
2327
2363
  })]
2328
2364
  })] }))
@@ -2337,8 +2373,8 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2337
2373
  tabIndex: -1,
2338
2374
  children: /* @__PURE__ */ H("div", {
2339
2375
  className: "lp-content-inner",
2340
- children: /* @__PURE__ */ H(ai, {
2341
- value: fe,
2376
+ children: /* @__PURE__ */ H(ui, {
2377
+ value: pe,
2342
2378
  children: S
2343
2379
  })
2344
2380
  })
@@ -2355,7 +2391,7 @@ function gi({ marca: e, nav: t, rotaAtual: n, aoNavegar: r, renderLink: i, usuar
2355
2391
  }
2356
2392
  //#endregion
2357
2393
  //#region src/components/CabecalhoPagina/CabecalhoPagina.tsx
2358
- function _i({ titulo: e, icone: t, categoria: n, trilha: r, acoes: i, children: a, className: o }) {
2394
+ function Si({ titulo: e, icone: t, categoria: n, trilha: r, acoes: i, children: a, className: o }) {
2359
2395
  return /* @__PURE__ */ U("header", {
2360
2396
  className: X("lp-cab", o),
2361
2397
  children: [/* @__PURE__ */ U("div", {
@@ -2376,7 +2412,7 @@ function _i({ titulo: e, icone: t, categoria: n, trilha: r, acoes: i, children:
2376
2412
  className: "lp-cab-titulo",
2377
2413
  children: e
2378
2414
  }),
2379
- r && /* @__PURE__ */ H(li, {
2415
+ r && /* @__PURE__ */ H(mi, {
2380
2416
  extras: Array.isArray(r) ? r : void 0,
2381
2417
  className: "lp-cab-trilha"
2382
2418
  })
@@ -2395,13 +2431,13 @@ function _i({ titulo: e, icone: t, categoria: n, trilha: r, acoes: i, children:
2395
2431
  }
2396
2432
  //#endregion
2397
2433
  //#region src/components/BoasVindas/BoasVindas.tsx
2398
- var vi = new Intl.DateTimeFormat("pt-BR", { dateStyle: "full" }), yi = new Intl.DateTimeFormat("pt-BR", { dateStyle: "short" }), bi = new Intl.DateTimeFormat("pt-BR", { timeStyle: "short" });
2399
- function xi({ nome: e, cargo: t, sigla: n, foto: r, ultimoAcesso: i, children: a, className: o }) {
2400
- let [s] = Y(() => /* @__PURE__ */ new Date()), c = [t, n].filter(Boolean).join(" · "), l = vi.format(s);
2434
+ var Ci = new Intl.DateTimeFormat("pt-BR", { dateStyle: "full" }), wi = new Intl.DateTimeFormat("pt-BR", { dateStyle: "short" }), Ti = new Intl.DateTimeFormat("pt-BR", { timeStyle: "short" });
2435
+ function Ei({ nome: e, cargo: t, sigla: n, foto: r, ultimoAcesso: i, children: a, className: o }) {
2436
+ let [s] = Y(() => /* @__PURE__ */ new Date()), c = [t, n].filter(Boolean).join(" · "), l = Ci.format(s);
2401
2437
  return /* @__PURE__ */ U("header", {
2402
2438
  className: X("lp-bv", o),
2403
2439
  children: [
2404
- /* @__PURE__ */ H(ti, {
2440
+ /* @__PURE__ */ H(oi, {
2405
2441
  nome: e,
2406
2442
  foto: r,
2407
2443
  tom: "escuro",
@@ -2431,9 +2467,9 @@ function xi({ nome: e, cargo: t, sigla: n, foto: r, ultimoAcesso: i, children: a
2431
2467
  children: [
2432
2468
  /* @__PURE__ */ H(Z, { icone: "clock" }),
2433
2469
  "Último acesso em ",
2434
- yi.format(i),
2470
+ wi.format(i),
2435
2471
  " às ",
2436
- bi.format(i)
2472
+ Ti.format(i)
2437
2473
  ]
2438
2474
  })
2439
2475
  ]
@@ -2447,7 +2483,7 @@ function xi({ nome: e, cargo: t, sigla: n, foto: r, ultimoAcesso: i, children: a
2447
2483
  }
2448
2484
  //#endregion
2449
2485
  //#region src/components/Alerta/Alerta.tsx
2450
- var Si = {
2486
+ var Di = {
2451
2487
  pri: "info",
2452
2488
  destaque: "circle-alert",
2453
2489
  ok: "circle-check",
@@ -2456,10 +2492,10 @@ var Si = {
2456
2492
  err: "circle-x",
2457
2493
  neutral: "info"
2458
2494
  };
2459
- function Ci({ severidade: e = "info", aparencia: t = "suave", formato: n = "padrao", sombra: r, titulo: i, mensagem: a, children: o, icone: s, midia: c, acoes: l, posicaoAcoes: u, dispensavel: d = !1, aoFechar: f, botaoFechar: p = "simples", className: m }) {
2495
+ function Oi({ severidade: e = "info", aparencia: t = "suave", formato: n = "padrao", sombra: r, titulo: i, mensagem: a, children: o, icone: s, midia: c, acoes: l, posicaoAcoes: u, dispensavel: d = !1, aoFechar: f, botaoFechar: p = "simples", className: m }) {
2460
2496
  let [h, g] = Y(!1);
2461
2497
  if (h) return null;
2462
- let _ = t === "cartao", v = t === "faixa", y = d || !!f, b = s === !1 ? null : s ?? Si[e], x = (u ?? (_ || i ? "abaixo" : "lado")) === "abaixo", S = y && /* @__PURE__ */ H("button", {
2498
+ let _ = t === "cartao", v = t === "faixa", y = d || !!f, b = s === !1 ? null : s ?? Di[e], x = (u ?? (_ || i ? "abaixo" : "lado")) === "abaixo", S = y && /* @__PURE__ */ H("button", {
2463
2499
  type: "button",
2464
2500
  className: X("lp-alerta-fechar", p === "circulo" && "lp-alerta-fechar--circulo"),
2465
2501
  "aria-label": "Fechar alerta",
@@ -2527,27 +2563,27 @@ function Ci({ severidade: e = "info", aparencia: t = "suave", formato: n = "padr
2527
2563
  }
2528
2564
  //#endregion
2529
2565
  //#region src/components/Campo/Campo.tsx
2530
- var wi = Tt(0), Ti = "Campo obrigatório";
2531
- function Ei({ valor: e, validar: t, obrigatorio: n, erro: r, aviso: i }) {
2532
- let a = G(wi), [o, s] = Y(!1), [c, l] = Y(!1), u = !e?.trim(), d = !u && t ? t(e) : "", f = c || a > 0, p = r, m = i;
2533
- return p || (u && n && f ? p = Ti : d && o && f ? p = d : d && !o && !m && (m = `${d}. O valor será mantido como está.`)), {
2566
+ var ki = Tt(0), Ai = "Campo obrigatório";
2567
+ function ji({ valor: e, validar: t, obrigatorio: n, erro: r, aviso: i }) {
2568
+ let a = G(ki), [o, s] = Y(!1), [c, l] = Y(!1), u = !e?.trim(), d = !u && t ? t(e) : "", f = c || a > 0, p = r, m = i;
2569
+ return p || (u && n && f ? p = Ai : d && o && f ? p = d : d && !o && !m && (m = `${d}. O valor será mantido como está.`)), {
2534
2570
  erro: p || void 0,
2535
2571
  aviso: m || void 0,
2536
2572
  aoInteragir: () => s(!0),
2537
2573
  aoSair: () => o && l(!0)
2538
2574
  };
2539
2575
  }
2540
- function Di(e) {
2576
+ function Mi(e) {
2541
2577
  let t = q(), n = e ?? `lp-${t.replace(/:/g, "")}`;
2542
2578
  return {
2543
2579
  id: n,
2544
2580
  msgId: `${n}-msg`
2545
2581
  };
2546
2582
  }
2547
- function Oi(e, t) {
2583
+ function Ni(e, t) {
2548
2584
  return e.erro || e.aviso || e.dica ? t : void 0;
2549
2585
  }
2550
- function ki({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a = "campo", className: o, htmlFor: s, msgId: c, children: l }) {
2586
+ function Pi({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a = "campo", className: o, htmlFor: s, msgId: c, children: l }) {
2551
2587
  let u = a === "inline", d = J(null), [f, p] = Y(0);
2552
2588
  kt(() => {
2553
2589
  if (!u || !d.current) return;
@@ -2629,8 +2665,8 @@ function ki({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a
2629
2665
  }
2630
2666
  //#endregion
2631
2667
  //#region src/components/CampoMarcacao/CampoMarcacao.tsx
2632
- function Ai({ rotulo: e, valor: t, aoMudar: n, aparencia: r = "caixa", dica: i, erro: a, obrigatorio: o, className: s, id: c, onChange: l, ...u }) {
2633
- let { id: d, msgId: f } = Di(c);
2668
+ function Fi({ rotulo: e, valor: t, aoMudar: n, aparencia: r = "caixa", dica: i, erro: a, obrigatorio: o, className: s, id: c, onChange: l, ...u }) {
2669
+ let { id: d, msgId: f } = Mi(c);
2634
2670
  return /* @__PURE__ */ U("div", {
2635
2671
  className: X("lp-marc-wrap", s),
2636
2672
  children: [/* @__PURE__ */ U("label", {
@@ -2677,8 +2713,8 @@ function Ai({ rotulo: e, valor: t, aoMudar: n, aparencia: r = "caixa", dica: i,
2677
2713
  }
2678
2714
  //#endregion
2679
2715
  //#region src/components/CampoTexto/CampoTexto.tsx
2680
- var ji = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a = "campo", className: o, id: s, valor: c, aoMudar: l, onChange: u, icone: d, mascara: f, maiuscula: p, prefixo: m, sufixo: h, disabled: g, type: _ = "text", validar: v, onBlur: y, ...b }, x) {
2681
- let { id: S, msgId: C } = Di(s), w = Ei({
2716
+ var Ii = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a = "campo", className: o, id: s, valor: c, aoMudar: l, onChange: u, icone: d, mascara: f, maiuscula: p, prefixo: m, sufixo: h, disabled: g, type: _ = "text", validar: v, onBlur: y, ...b }, x) {
2717
+ let { id: S, msgId: C } = Mi(s), w = ji({
2682
2718
  valor: c ?? "",
2683
2719
  validar: v,
2684
2720
  obrigatorio: i,
@@ -2703,14 +2739,14 @@ var ji = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, va
2703
2739
  required: i,
2704
2740
  "aria-required": i || void 0,
2705
2741
  "aria-invalid": n ? !0 : void 0,
2706
- "aria-describedby": Oi({
2742
+ "aria-describedby": Ni({
2707
2743
  erro: n,
2708
2744
  aviso: r,
2709
2745
  dica: t
2710
2746
  }, C),
2711
2747
  ...b
2712
2748
  });
2713
- return /* @__PURE__ */ H(ki, {
2749
+ return /* @__PURE__ */ H(Pi, {
2714
2750
  rotulo: e,
2715
2751
  dica: t,
2716
2752
  erro: n,
@@ -2743,8 +2779,8 @@ var ji = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, va
2743
2779
  })
2744
2780
  });
2745
2781
  });
2746
- function Mi(e, t, n = {}) {
2747
- let r = ln[e], i = Et((e, t) => /* @__PURE__ */ H(ji, {
2782
+ function Li(e, t, n = {}) {
2783
+ let r = ln[e], i = Et((e, t) => /* @__PURE__ */ H(Ii, {
2748
2784
  ref: t,
2749
2785
  mascara: r.mascara,
2750
2786
  placeholder: r.placeholder,
@@ -2755,14 +2791,14 @@ function Mi(e, t, n = {}) {
2755
2791
  }));
2756
2792
  return i.displayName = t, i;
2757
2793
  }
2758
- var Ni = Mi("cpf", "CampoCpf", { inputMode: "numeric" }), Pi = Mi("cnpj", "CampoCnpj", { inputMode: "numeric" }), Fi = Mi("cpfCnpj", "CampoCpfCnpj", { inputMode: "numeric" }), Ii = Mi("cep", "CampoCep", { inputMode: "numeric" }), Li = Mi("placa", "CampoPlaca"), Ri = Mi("email", "CampoEmail", {
2794
+ var Ri = Li("cpf", "CampoCpf", { inputMode: "numeric" }), zi = Li("cnpj", "CampoCnpj", { inputMode: "numeric" }), Bi = Li("cpfCnpj", "CampoCpfCnpj", { inputMode: "numeric" }), Vi = Li("cep", "CampoCep", { inputMode: "numeric" }), Hi = Li("placa", "CampoPlaca"), Ui = Li("email", "CampoEmail", {
2759
2795
  type: "email",
2760
2796
  inputMode: "email",
2761
2797
  autoComplete: "email",
2762
2798
  icone: "mail"
2763
- }), zi = Mi("renavam", "CampoRenavam", { inputMode: "numeric" }), Bi = Mi("chassi", "CampoChassi"), Vi = Mi("cnh", "CampoCnh", { inputMode: "numeric" }), Hi = Mi("imei", "CampoImei", { inputMode: "numeric" }), Ui = Et(({ tipo: e, ...t }, n) => {
2799
+ }), Wi = Li("renavam", "CampoRenavam", { inputMode: "numeric" }), Gi = Li("chassi", "CampoChassi"), Ki = Li("cnh", "CampoCnh", { inputMode: "numeric" }), qi = Li("imei", "CampoImei", { inputMode: "numeric" }), Ji = Et(({ tipo: e, ...t }, n) => {
2764
2800
  let [r, i] = Ht.telefone;
2765
- return /* @__PURE__ */ H(ji, {
2801
+ return /* @__PURE__ */ H(Ii, {
2766
2802
  ref: n,
2767
2803
  mascara: e === "fixo" ? r : e === "celular" ? i : [r, i],
2768
2804
  inputMode: "tel",
@@ -2772,43 +2808,43 @@ var Ni = Mi("cpf", "CampoCpf", { inputMode: "numeric" }), Pi = Mi("cnpj", "Campo
2772
2808
  ...t
2773
2809
  });
2774
2810
  });
2775
- Ui.displayName = "CampoTelefone";
2776
- var Wi = Et((e, t) => /* @__PURE__ */ H(ji, {
2811
+ Ji.displayName = "CampoTelefone";
2812
+ var Yi = Et((e, t) => /* @__PURE__ */ H(Ii, {
2777
2813
  ref: t,
2778
2814
  type: "date",
2779
2815
  ...e
2780
2816
  }));
2781
- Wi.displayName = "CampoData";
2782
- var Gi = Et((e, t) => /* @__PURE__ */ H(ji, {
2817
+ Yi.displayName = "CampoData";
2818
+ var Xi = Et((e, t) => /* @__PURE__ */ H(Ii, {
2783
2819
  ref: t,
2784
2820
  type: "time",
2785
2821
  ...e
2786
2822
  }));
2787
- Gi.displayName = "CampoHora";
2788
- var Ki = Et((e, t) => /* @__PURE__ */ H(ji, {
2823
+ Xi.displayName = "CampoHora";
2824
+ var Zi = Et((e, t) => /* @__PURE__ */ H(Ii, {
2789
2825
  ref: t,
2790
2826
  type: "datetime-local",
2791
2827
  ...e
2792
2828
  }));
2793
- Ki.displayName = "CampoDataHora";
2794
- var qi = new Intl.NumberFormat("pt-BR", {
2829
+ Zi.displayName = "CampoDataHora";
2830
+ var Qi = new Intl.NumberFormat("pt-BR", {
2795
2831
  minimumFractionDigits: 2,
2796
2832
  maximumFractionDigits: 2
2797
- }), Ji = Et(function({ valor: e, aoMudar: t, ...n }, r) {
2798
- return /* @__PURE__ */ H(ji, {
2833
+ }), $i = Et(function({ valor: e, aoMudar: t, ...n }, r) {
2834
+ return /* @__PURE__ */ H(Ii, {
2799
2835
  ref: r,
2800
2836
  inputMode: "numeric",
2801
2837
  prefixo: "R$",
2802
2838
  placeholder: "0,00",
2803
- valor: e == null ? "" : qi.format(e),
2839
+ valor: e == null ? "" : Qi.format(e),
2804
2840
  aoMudar: (e) => {
2805
2841
  let n = e.replace(/\D/g, "");
2806
2842
  t?.(n ? Number(n) / 100 : null);
2807
2843
  },
2808
2844
  ...n
2809
2845
  });
2810
- }), Yi = Et(function({ valor: e, aoMudar: t, ...n }, r) {
2811
- return /* @__PURE__ */ H(ji, {
2846
+ }), ea = Et(function({ valor: e, aoMudar: t, ...n }, r) {
2847
+ return /* @__PURE__ */ H(Ii, {
2812
2848
  ref: r,
2813
2849
  inputMode: "numeric",
2814
2850
  valor: e == null ? "" : String(e),
@@ -2818,17 +2854,17 @@ var qi = new Intl.NumberFormat("pt-BR", {
2818
2854
  },
2819
2855
  ...n
2820
2856
  });
2821
- }), Xi = {
2857
+ }), ta = {
2822
2858
  vazia: "",
2823
2859
  fraca: "Fraca",
2824
2860
  media: "Média",
2825
2861
  forte: "Forte"
2826
2862
  };
2827
- function Zi({ revelavel: e = !0, forca: t = !1, politica: n = ar, autoComplete: r = "current-password", className: i, valor: a = "", validar: o, aviso: s, onKeyDown: c, onKeyUp: l, disabled: u, ...d }) {
2863
+ function na({ revelavel: e = !0, forca: t = !1, politica: n = ar, autoComplete: r = "current-password", className: i, valor: a = "", validar: o, aviso: s, onKeyDown: c, onKeyUp: l, disabled: u, ...d }) {
2828
2864
  let [f, p] = Y(!1), [m, h] = Y(!1), g = cr(a, n), _ = (e) => h(e.getModifierState?.("CapsLock") ?? !1);
2829
2865
  return /* @__PURE__ */ U("div", {
2830
2866
  className: X("lp-senha", i),
2831
- children: [/* @__PURE__ */ H(ji, {
2867
+ children: [/* @__PURE__ */ H(Ii, {
2832
2868
  ...d,
2833
2869
  type: f ? "text" : "password",
2834
2870
  autoComplete: r,
@@ -2865,14 +2901,14 @@ function Zi({ revelavel: e = !0, forca: t = !1, politica: n = ar, autoComplete:
2865
2901
  ].map((e) => /* @__PURE__ */ H("span", { className: X("lp-senha-barra", e <= g.score && "is-on") }, e))
2866
2902
  }), g.nivel !== "vazia" && /* @__PURE__ */ U("span", {
2867
2903
  className: "lp-senha-nivel",
2868
- children: ["Força: ", Xi[g.nivel]]
2904
+ children: ["Força: ", ta[g.nivel]]
2869
2905
  })]
2870
2906
  })]
2871
2907
  });
2872
2908
  }
2873
2909
  //#endregion
2874
2910
  //#region src/components/Dialogo/Dialogo.tsx
2875
- function Qi({ aberto: e, aoFechar: t, titulo: n, subtitulo: r, icone: i, tamanho: a = "medio", telaCheiaAbaixo: o, aparencia: s = "central", posicao: c = "centro", rolagem: l = "corpo", animacao: u = "padrao", tom: d = "claro", dispensavel: f = !0, rodape: p, children: m, className: h }) {
2911
+ function ra({ aberto: e, aoFechar: t, titulo: n, subtitulo: r, icone: i, tamanho: a = "medio", telaCheiaAbaixo: o, aparencia: s = "central", posicao: c = "centro", rolagem: l = "corpo", animacao: u = "padrao", tom: d = "claro", dispensavel: f = !0, rodape: p, children: m, className: h }) {
2876
2912
  let g = q();
2877
2913
  if (!e) return null;
2878
2914
  let _ = s === "lateral";
@@ -2924,7 +2960,7 @@ function Qi({ aberto: e, aoFechar: t, titulo: n, subtitulo: r, icone: i, tamanho
2924
2960
  }
2925
2961
  //#endregion
2926
2962
  //#region src/components/Status/Status.tsx
2927
- function $i({ rotulo: e, severidade: t = "neutral", icone: n, className: r }) {
2963
+ function ia({ rotulo: e, severidade: t = "neutral", icone: n, className: r }) {
2928
2964
  return /* @__PURE__ */ U("span", {
2929
2965
  className: X("lp-status", r),
2930
2966
  "data-sev": t,
@@ -2933,9 +2969,9 @@ function $i({ rotulo: e, severidade: t = "neutral", icone: n, className: r }) {
2933
2969
  }
2934
2970
  //#endregion
2935
2971
  //#region src/components/TelaLogin/TelaLogin.tsx
2936
- var ea = 6;
2937
- function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, identificador: i = "cpf", titulo: a = "Acesse sua conta", descricao: o = "Entre com suas credenciais institucionais.", aoEntrar: s, aoConfirmarCodigo: c, confiarDispositivo: l = !0, instrucaoCodigo: u = "Digite o código de 6 dígitos gerado no aplicativo de autenticação.", linkSenha: d, acoes: f, rodape: p, className: m }) {
2938
- let [h, g] = Y(""), [_, v] = Y(""), [y, b] = Y(!1), [x, S] = Y(""), [C, w] = Y(!1), [T, E] = Y(!1), [D, O] = Y(""), [k, A] = Y(!1), [j, M] = Y(""), [N, P] = Y(!1), F = Qr(), I = q(), L = t === "conteudo" && !!n, R = async (e) => {
2972
+ var aa = 6;
2973
+ function oa({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, identificador: i = "cpf", titulo: a = "Acesse sua conta", descricao: o = "Entre com suas credenciais institucionais.", aoEntrar: s, aoConfirmarCodigo: c, confiarDispositivo: l = !0, instrucaoCodigo: u = "Digite o código de 6 dígitos gerado no aplicativo de autenticação.", linkSenha: d, acoes: f, rodape: p, className: m }) {
2974
+ let [h, g] = Y(""), [_, v] = Y(""), [y, b] = Y(!1), [x, S] = Y(""), [C, w] = Y(!1), [T, E] = Y(!1), [D, O] = Y(""), [k, A] = Y(!1), [j, M] = Y(""), [N, P] = Y(!1), F = ri(), I = q(), L = t === "conteudo" && !!n, R = async (e) => {
2939
2975
  if (e.preventDefault(), w(!0), h.trim() && _) {
2940
2976
  S(""), b(!0);
2941
2977
  try {
@@ -2951,7 +2987,7 @@ function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, id
2951
2987
  }
2952
2988
  }
2953
2989
  }, z = async (e) => {
2954
- if (e?.preventDefault(), D.length !== ea) M(`Informe os ${ea} dígitos`);
2990
+ if (e?.preventDefault(), D.length !== aa) M(`Informe os ${aa} dígitos`);
2955
2991
  else {
2956
2992
  P(!0);
2957
2993
  try {
@@ -3003,7 +3039,7 @@ function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, id
3003
3039
  className: "lp-login-sub",
3004
3040
  children: e.subtitulo
3005
3041
  })] }),
3006
- r?.rotulo && r.rotulo !== "#" && /* @__PURE__ */ H($i, {
3042
+ r?.rotulo && r.rotulo !== "#" && /* @__PURE__ */ H(ia, {
3007
3043
  rotulo: r.rotulo,
3008
3044
  severidade: r.severidade ?? "err"
3009
3045
  })
@@ -3072,7 +3108,7 @@ function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, id
3072
3108
  })
3073
3109
  ]
3074
3110
  }),
3075
- x && /* @__PURE__ */ H(Ci, {
3111
+ x && /* @__PURE__ */ H(Oi, {
3076
3112
  severidade: "err",
3077
3113
  mensagem: x
3078
3114
  }),
@@ -3081,16 +3117,16 @@ function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, id
3081
3117
  onSubmit: R,
3082
3118
  noValidate: !0,
3083
3119
  children: [
3084
- i === "cpf" ? /* @__PURE__ */ H(Ni, {
3120
+ i === "cpf" ? /* @__PURE__ */ H(Ri, {
3085
3121
  rotulo: "CPF",
3086
3122
  autoComplete: "username",
3087
3123
  ...ee
3088
- }) : i === "email" ? /* @__PURE__ */ H(Ri, {
3124
+ }) : i === "email" ? /* @__PURE__ */ H(Ui, {
3089
3125
  rotulo: "E-mail",
3090
3126
  autoComplete: "username",
3091
3127
  placeholder: "voce@empresa.com.br",
3092
3128
  ...ee
3093
- }) : /* @__PURE__ */ H(ji, {
3129
+ }) : /* @__PURE__ */ H(Ii, {
3094
3130
  rotulo: "Usuário",
3095
3131
  autoComplete: "username",
3096
3132
  icone: "user",
@@ -3098,7 +3134,7 @@ function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, id
3098
3134
  }),
3099
3135
  /* @__PURE__ */ U("div", {
3100
3136
  className: "lp-login-senha",
3101
- children: [/* @__PURE__ */ H(Zi, {
3137
+ children: [/* @__PURE__ */ H(na, {
3102
3138
  rotulo: "Senha",
3103
3139
  placeholder: "••••••••",
3104
3140
  valor: _,
@@ -3130,7 +3166,7 @@ function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, id
3130
3166
  ]
3131
3167
  })]
3132
3168
  }),
3133
- /* @__PURE__ */ H(Qi, {
3169
+ /* @__PURE__ */ H(ra, {
3134
3170
  aberto: T,
3135
3171
  aoFechar: () => E(!1),
3136
3172
  titulo: "Verificação em duas etapas",
@@ -3158,7 +3194,7 @@ function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, id
3158
3194
  className: "lp-login-desc",
3159
3195
  children: u
3160
3196
  }),
3161
- /* @__PURE__ */ H(ji, {
3197
+ /* @__PURE__ */ H(Ii, {
3162
3198
  rotulo: "Código",
3163
3199
  className: "lp-login-otp-campo",
3164
3200
  mascara: "000000",
@@ -3171,7 +3207,7 @@ function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, id
3171
3207
  },
3172
3208
  erro: j || void 0
3173
3209
  }),
3174
- l && /* @__PURE__ */ H(Ai, {
3210
+ l && /* @__PURE__ */ H(Fi, {
3175
3211
  rotulo: "Confiar neste dispositivo",
3176
3212
  dica: "O código não será pedido de novo neste computador.",
3177
3213
  valor: k,
@@ -3185,7 +3221,7 @@ function ta({ marca: e, modelo: t = "conteudo", apresentacao: n, ambiente: r, id
3185
3221
  }
3186
3222
  //#endregion
3187
3223
  //#region src/components/TelaErro/TelaErro.tsx
3188
- function na({ codigo: e, titulo: t, descricao: n, icone: r, cor: i = "pri", acoes: a, detalhe: o, marca: s, tela: c = "cheia", className: l }) {
3224
+ function sa({ codigo: e, titulo: t, descricao: n, icone: r, cor: i = "pri", acoes: a, detalhe: o, marca: s, tela: c = "cheia", className: l }) {
3189
3225
  return /* @__PURE__ */ U("div", {
3190
3226
  className: X("lp-erro", `lp-erro--${c}`, i !== "pri" && `lp-erro--${i}`, l),
3191
3227
  children: [
@@ -3256,7 +3292,7 @@ function na({ codigo: e, titulo: t, descricao: n, icone: r, cor: i = "pri", acoe
3256
3292
  }
3257
3293
  //#endregion
3258
3294
  //#region src/components/GrupoBotoes/GrupoBotoes.tsx
3259
- function ra({ children: e, orientacao: t = "horizontal", rotulo: n, className: r, ...i }) {
3295
+ function ca({ children: e, orientacao: t = "horizontal", rotulo: n, className: r, ...i }) {
3260
3296
  return /* @__PURE__ */ H(Or.Provider, {
3261
3297
  value: i,
3262
3298
  children: /* @__PURE__ */ H("div", {
@@ -3267,11 +3303,11 @@ function ra({ children: e, orientacao: t = "horizontal", rotulo: n, className: r
3267
3303
  })
3268
3304
  });
3269
3305
  }
3270
- function ia(e) {
3306
+ function la(e) {
3271
3307
  let { opcoes: t, aparencia: n = "contorno", ...r } = e, i = e.multiplo ? e.valor ?? [] : e.valor == null ? [] : [e.valor], a = (e) => i.some((t) => Object.is(t, e)), o = (t) => {
3272
3308
  e.multiplo ? e.aoMudar?.(a(t) ? i.filter((e) => !Object.is(e, t)) : [...i, t]) : e.aoMudar?.(t);
3273
3309
  }, { multiplo: s, valor: c, aoMudar: l, ...u } = r;
3274
- return /* @__PURE__ */ H(ra, {
3310
+ return /* @__PURE__ */ H(ca, {
3275
3311
  ...u,
3276
3312
  children: t.map((e, t) => /* @__PURE__ */ H($, {
3277
3313
  rotulo: e.rotulo,
@@ -3285,7 +3321,7 @@ function ia(e) {
3285
3321
  }, t))
3286
3322
  });
3287
3323
  }
3288
- function aa({ children: e, rotulo: t, distribuicao: n = "inicio", className: r }) {
3324
+ function ua({ children: e, rotulo: t, distribuicao: n = "inicio", className: r }) {
3289
3325
  return /* @__PURE__ */ H("div", {
3290
3326
  role: "toolbar",
3291
3327
  "aria-label": t,
@@ -3295,30 +3331,30 @@ function aa({ children: e, rotulo: t, distribuicao: n = "inicio", className: r }
3295
3331
  }
3296
3332
  //#endregion
3297
3333
  //#region src/components/MenuSuspenso/MenuSuspenso.tsx
3298
- var oa = {
3334
+ var da = {
3299
3335
  baixo: "chevron-down",
3300
3336
  cima: "chevron-up",
3301
3337
  direita: "chevron-right",
3302
3338
  esquerda: "chevron-left"
3303
- }, sa = 8, ca = "[role=\"menuitem\"]:not([aria-disabled=\"true\"])", la = "a[href], button:not(:disabled), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex=\"-1\"])";
3304
- function ua(e, t, n, r, i, [a, o]) {
3339
+ }, fa = 8, pa = "[role=\"menuitem\"]:not([aria-disabled=\"true\"])", ma = "a[href], button:not(:disabled), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex=\"-1\"])";
3340
+ function ha(e, t, n, r, i, [a, o]) {
3305
3341
  let s = window.innerWidth, c = window.innerHeight, l = 4 + o, u = r;
3306
3342
  u === "baixo" && e.bottom + l + n > c && e.top - l - n >= 0 ? u = "cima" : u === "cima" && e.top - l - n < 0 && e.bottom + l + n <= c ? u = "baixo" : u === "direita" && e.right + l + t > s && e.left - l - t >= 0 ? u = "esquerda" : u === "esquerda" && e.left - l - t < 0 && e.right + l + t <= s && (u = "direita");
3307
3343
  let d, f;
3308
- return u === "baixo" || u === "cima" ? (d = u === "baixo" ? e.bottom + l : e.top - l - n, f = i === "inicio" ? e.left : i === "fim" ? e.right - t : e.left + e.width / 2 - t / 2, f += a) : (f = u === "direita" ? e.right + l : e.left - l - t, d = i === "fim" ? e.bottom - n : i === "centro" ? e.top + e.height / 2 - n / 2 : e.top, d += a), f = Math.max(sa, Math.min(f, s - t - sa)), d = Math.max(sa, Math.min(d, c - n - sa)), {
3344
+ return u === "baixo" || u === "cima" ? (d = u === "baixo" ? e.bottom + l : e.top - l - n, f = i === "inicio" ? e.left : i === "fim" ? e.right - t : e.left + e.width / 2 - t / 2, f += a) : (f = u === "direita" ? e.right + l : e.left - l - t, d = i === "fim" ? e.bottom - n : i === "centro" ? e.top + e.height / 2 - n / 2 : e.top, d += a), f = Math.max(fa, Math.min(f, s - t - fa)), d = Math.max(fa, Math.min(d, c - n - fa)), {
3309
3345
  top: d,
3310
3346
  left: f,
3311
3347
  direcao: u
3312
3348
  };
3313
3349
  }
3314
- function da({ rotulo: e, icone: t, dica: n, "aria-label": r, itens: i, aoEscolher: a, children: o, dividido: s = !1, aoClicarPrincipal: c, direcao: l = "baixo", alinhamento: u = "inicio", alinhamentoTelaGrande: d, fechamento: f = "sempre", deslocamento: p = [0, 0], referencia: m = "gatilho", escuro: h = !1, cor: g, sombra: _, semSeta: v = !1, larguraMenu: y, desabilitado: b, gatilho: x, className: S, severidade: C, aparencia: w, formato: T, tamanho: E }) {
3350
+ function ga({ rotulo: e, icone: t, dica: n, "aria-label": r, itens: i, aoEscolher: a, children: o, dividido: s = !1, aoClicarPrincipal: c, direcao: l = "baixo", alinhamento: u = "inicio", alinhamentoTelaGrande: d, fechamento: f = "sempre", deslocamento: p = [0, 0], referencia: m = "gatilho", escuro: h = !1, cor: g, sombra: _, semSeta: v = !1, larguraMenu: y, desabilitado: b, gatilho: x, className: S, severidade: C, aparencia: w, formato: T, tamanho: E }) {
3315
3351
  let D = q(), O = J(null), k = J(null), A = J(null), [j, M] = Y(!1), [N, P] = Y(null), F = J("primeiro"), I = !!i?.length, [L, R] = p, z = W((e = !0) => {
3316
3352
  M(!1), e && k.current?.focus();
3317
3353
  }, []), B = W(() => {
3318
3354
  let e = m === "pai" ? O.current : k.current, t = A.current;
3319
3355
  if (!e || !t) return;
3320
3356
  let n = d && window.matchMedia("(min-width: 64rem)").matches;
3321
- P(ua(e.getBoundingClientRect(), t.offsetWidth, t.offsetHeight, l, n ? d : u, [L, R]));
3357
+ P(ha(e.getBoundingClientRect(), t.offsetWidth, t.offsetHeight, l, n ? d : u, [L, R]));
3322
3358
  }, [
3323
3359
  m,
3324
3360
  l,
@@ -3336,9 +3372,9 @@ function da({ rotulo: e, icone: t, dica: n, "aria-label": r, itens: i, aoEscolhe
3336
3372
  let ee = !!N;
3337
3373
  K(() => {
3338
3374
  if (!ee || !A.current) return;
3339
- let e = A.current.querySelectorAll(I ? ca : la);
3375
+ let e = A.current.querySelectorAll(I ? pa : ma);
3340
3376
  ((F.current === "ultimo" ? e[e.length - 1] : e[0]) ?? A.current).focus({ preventScroll: !0 });
3341
- }, [ee, I]), $r([O, A], j && (f === "sempre" || f === "fora"), () => z(!1)), K(() => {
3377
+ }, [ee, I]), ii([O, A], j && (f === "sempre" || f === "fora"), () => z(!1)), K(() => {
3342
3378
  if (!j) return;
3343
3379
  let e = (e) => e.key === "Escape" && z();
3344
3380
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
@@ -3355,19 +3391,19 @@ function da({ rotulo: e, icone: t, dica: n, "aria-label": r, itens: i, aoEscolhe
3355
3391
  let t = A.current;
3356
3392
  if (!t) return;
3357
3393
  if (e.key === "Tab") {
3358
- let n = Array.from(t.querySelectorAll(I ? ca : la)), r = document.activeElement;
3394
+ let n = Array.from(t.querySelectorAll(I ? pa : ma)), r = document.activeElement;
3359
3395
  (I || !n.length || (e.shiftKey ? r === n[0] : r === n[n.length - 1])) && (e.shiftKey && e.preventDefault(), z());
3360
3396
  return;
3361
3397
  }
3362
3398
  if (!I) return;
3363
- let n = Array.from(t.querySelectorAll(ca));
3399
+ let n = Array.from(t.querySelectorAll(pa));
3364
3400
  if (!n.length) return;
3365
3401
  let r = n.indexOf(document.activeElement), i = null;
3366
3402
  e.key === "ArrowDown" ? i = (r + 1) % n.length : e.key === "ArrowUp" ? i = (r - 1 + n.length) % n.length : e.key === "Home" ? i = 0 : e.key === "End" && (i = n.length - 1), i !== null && (e.preventDefault(), n[i].focus());
3367
3403
  }, ie = (e) => {
3368
3404
  e.desabilitado || (a?.(e.id ?? e.rotulo ?? ""), (f === "sempre" || f === "dentro") && z());
3369
3405
  }, ae = !v && /* @__PURE__ */ H(Z, {
3370
- icone: oa[l],
3406
+ icone: da[l],
3371
3407
  className: "lp-menu-sus-seta"
3372
3408
  }), oe = {
3373
3409
  ref: k,
@@ -3389,10 +3425,10 @@ function da({ rotulo: e, icone: t, dica: n, "aria-label": r, itens: i, aoEscolhe
3389
3425
  let n = /* @__PURE__ */ H($, {
3390
3426
  ...oe,
3391
3427
  className: X("lp-menu-sus-divisor", j && "is-aberto"),
3392
- icone: oa[l],
3428
+ icone: da[l],
3393
3429
  "aria-label": r ?? (e ? `Mais opções de ${e}` : "Mais opções")
3394
3430
  });
3395
- ce = /* @__PURE__ */ U(ra, {
3431
+ ce = /* @__PURE__ */ U(ca, {
3396
3432
  severidade: C,
3397
3433
  aparencia: w,
3398
3434
  formato: T,
@@ -3489,11 +3525,11 @@ function da({ rotulo: e, icone: t, dica: n, "aria-label": r, itens: i, aoEscolhe
3489
3525
  }
3490
3526
  //#endregion
3491
3527
  //#region src/components/Abas/Abas.tsx
3492
- function fa(e) {
3528
+ function _a(e) {
3493
3529
  return null;
3494
3530
  }
3495
- function pa({ ativa: e, aoMudar: t, rotulo: n, variante: r = "sublinhado", alinhamento: i, orientacao: a = "horizontal", iconeAcima: o = !1, painel: s = "livre", posicaoBarra: c = "topo", cabecalho: l, titulo: u, identidade: d, aoVoltar: f, acoes: p, children: m, className: h }) {
3496
- let g = q().replace(/:/g, ""), _ = J(null), v = St.toArray(m).filter((e) => Dt(e) && e.type === fa), [y, b] = Y(v[0]?.props.valor), x = e ?? y, S = !!u, C = a === "vertical", w = i ?? (r === "sublinhado" ? "preencher" : "inicio"), T = (e) => {
3531
+ function va({ ativa: e, aoMudar: t, rotulo: n, variante: r = "sublinhado", alinhamento: i, orientacao: a = "horizontal", iconeAcima: o = !1, painel: s = "livre", posicaoBarra: c = "topo", cabecalho: l, titulo: u, identidade: d, aoVoltar: f, acoes: p, children: m, className: h }) {
3532
+ let g = q().replace(/:/g, ""), _ = J(null), v = St.toArray(m).filter((e) => Dt(e) && e.type === _a), [y, b] = Y(v[0]?.props.valor), x = e ?? y, S = !!u, C = a === "vertical", w = i ?? (r === "sublinhado" ? "preencher" : "inicio"), T = (e) => {
3497
3533
  b(e), t?.(e);
3498
3534
  }, E = (e) => {
3499
3535
  let t = Array.from(_.current?.querySelectorAll(".lp-abas-tab") ?? []), n = t.length, r = t.indexOf(e.currentTarget), i = -1;
@@ -3539,7 +3575,7 @@ function pa({ ativa: e, aoMudar: t, rotulo: n, variante: r = "sublinhado", alinh
3539
3575
  children: D.map((e) => {
3540
3576
  if ("grupo" in e) {
3541
3577
  let t = e.abas.some((e) => e.props.valor === x), n = e.abas.find((e) => e.props.valor === x);
3542
- return /* @__PURE__ */ H(da, {
3578
+ return /* @__PURE__ */ H(ga, {
3543
3579
  rotulo: e.grupo,
3544
3580
  itens: e.abas.map((e) => ({
3545
3581
  id: e.props.valor,
@@ -3636,7 +3672,7 @@ function pa({ ativa: e, aoMudar: t, rotulo: n, variante: r = "sublinhado", alinh
3636
3672
  }
3637
3673
  //#endregion
3638
3674
  //#region src/components/Card/Card.tsx
3639
- function ma({ midia: e, posicaoMidia: t = "topo", titulo: n, subtitulo: r, ferramentas: i, recolhivel: a = !1, recolhidoInicial: o = !1, dispensavel: s = !1, aoFechar: c, telaCheia: l = !1, acoes: u, rodape: d, cor: f, borda: p, alinhamento: m, corpoSemEspaco: h = !1, detalhes: g, aoClicar: _, children: v, className: y, ...b }) {
3675
+ function ya({ midia: e, posicaoMidia: t = "topo", titulo: n, subtitulo: r, ferramentas: i, recolhivel: a = !1, recolhidoInicial: o = !1, dispensavel: s = !1, aoFechar: c, telaCheia: l = !1, acoes: u, rodape: d, cor: f, borda: p, alinhamento: m, corpoSemEspaco: h = !1, detalhes: g, aoClicar: _, children: v, className: y, ...b }) {
3640
3676
  let [x, S] = Y(o), [C, w] = Y(!1), [T, E] = Y(!1), D = q();
3641
3677
  if (K(() => {
3642
3678
  if (!T) return;
@@ -3745,7 +3781,7 @@ function ma({ midia: e, posicaoMidia: t = "topo", titulo: n, subtitulo: r, ferra
3745
3781
  ]
3746
3782
  });
3747
3783
  }
3748
- function ha({ children: e, className: t }) {
3784
+ function ba({ children: e, className: t }) {
3749
3785
  return /* @__PURE__ */ H("div", {
3750
3786
  className: X("lp-grupo-cards", t),
3751
3787
  children: e
@@ -3753,7 +3789,7 @@ function ha({ children: e, className: t }) {
3753
3789
  }
3754
3790
  //#endregion
3755
3791
  //#region src/components/Recolhivel/Recolhivel.tsx
3756
- function ga({ aberto: e, children: t, orientacao: n = "vertical", id: r, className: i }) {
3792
+ function xa({ aberto: e, children: t, orientacao: n = "vertical", id: r, className: i }) {
3757
3793
  return /* @__PURE__ */ H("div", {
3758
3794
  id: r,
3759
3795
  className: X("lp-recolhivel", n === "horizontal" && "lp-recolhivel--horizontal", e && "is-aberto", i),
@@ -3766,9 +3802,9 @@ function ga({ aberto: e, children: t, orientacao: n = "vertical", id: r, classNa
3766
3802
  }
3767
3803
  //#endregion
3768
3804
  //#region src/components/Carrossel/Carrossel.tsx
3769
- var _a = () => typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
3770
- function va({ slides: e, rotulo: t, automatico: n = !0, intervalo: r = 5e3, controles: i = !1, indicadores: a = !1, transicao: o = "deslizar", escuro: s = !1, arrastar: c = !0, proporcao: l = "16 / 10", className: u }) {
3771
- let d = e.length, [f, p] = Y(0), [m, h] = Y(() => _a()), [g, _] = Y(!1), v = J(null), y = W((e) => p((e % d + d) % d), [d]), b = W(() => p((e) => (e + 1) % d), [d]), x = () => p((e) => (e - 1 + d) % d), S = n && !m && !g && d > 1;
3805
+ var Sa = () => typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
3806
+ function Ca({ slides: e, rotulo: t, automatico: n = !0, intervalo: r = 5e3, controles: i = !1, indicadores: a = !1, transicao: o = "deslizar", escuro: s = !1, arrastar: c = !0, proporcao: l = "16 / 10", className: u }) {
3807
+ let d = e.length, [f, p] = Y(0), [m, h] = Y(() => Sa()), [g, _] = Y(!1), v = J(null), y = W((e) => p((e % d + d) % d), [d]), b = W(() => p((e) => (e + 1) % d), [d]), x = () => p((e) => (e - 1 + d) % d), S = n && !m && !g && d > 1;
3772
3808
  return K(() => {
3773
3809
  if (!S) return;
3774
3810
  let t = window.setTimeout(b, e[f]?.intervalo ?? r);
@@ -3863,7 +3899,7 @@ function va({ slides: e, rotulo: t, automatico: n = !0, intervalo: r = 5e3, cont
3863
3899
  }
3864
3900
  //#endregion
3865
3901
  //#region src/components/QuadroArrastavel/QuadroArrastavel.tsx
3866
- function ya(e, t) {
3902
+ function wa(e, t) {
3867
3903
  for (let n = 0; n < e.length; n++) {
3868
3904
  let r = e[n].itens.findIndex((e) => e.id === t);
3869
3905
  if (r >= 0) return {
@@ -3873,14 +3909,14 @@ function ya(e, t) {
3873
3909
  }
3874
3910
  return null;
3875
3911
  }
3876
- function ba(e, t, n) {
3912
+ function Ta(e, t, n) {
3877
3913
  let r = e.map((e) => ({
3878
3914
  ...e,
3879
3915
  itens: [...e.itens]
3880
3916
  })), [i] = r[t.coluna].itens.splice(t.indice, 1);
3881
3917
  return r[n.coluna].itens.splice(Math.min(n.indice, r[n.coluna].itens.length), 0, i), r;
3882
3918
  }
3883
- function xa({ colunas: e, aoMudar: t, renderItem: n, nomeItem: r, className: i }) {
3919
+ function Ea({ colunas: e, aoMudar: t, renderItem: n, nomeItem: r, className: i }) {
3884
3920
  let [a, o] = Y(null), [s, c] = Y(null), [l, u] = Y(""), d = J([]), f = (t) => e[t]?.titulo ?? `coluna ${t + 1}`, p = (t) => e.flatMap((e) => e.itens).find((e) => e.id === t), m = (e, t) => {
3885
3921
  if (e.button !== 0) return;
3886
3922
  let n = e.currentTarget.closest("[data-quadro-item]");
@@ -3910,13 +3946,13 @@ function xa({ colunas: e, aoMudar: t, renderItem: n, nomeItem: r, className: i }
3910
3946
  let n = e.getBoundingClientRect(), a = (e, t, n) => e < t ? t - e : e > n ? e - n : 0, o = a(r, n.left, n.right) + a(i, n.top, n.bottom);
3911
3947
  o < c && (c = o, s = t);
3912
3948
  });
3913
- let l = d.current[s], u = ya(e, a.id);
3949
+ let l = d.current[s], u = wa(e, a.id);
3914
3950
  if (!l || !u) return;
3915
3951
  let f = Array.from(l.querySelectorAll("[data-quadro-item]")).filter((e) => e.dataset.quadroItem !== a.id).filter((e) => {
3916
3952
  let t = e.getBoundingClientRect();
3917
3953
  return t.top + t.height / 2 < i;
3918
3954
  }).length;
3919
- (u.coluna !== s || u.indice !== f) && t(ba(e, u, {
3955
+ (u.coluna !== s || u.indice !== f) && t(Ta(e, u, {
3920
3956
  coluna: s,
3921
3957
  indice: f
3922
3958
  }));
@@ -3937,7 +3973,7 @@ function xa({ colunas: e, aoMudar: t, renderItem: n, nomeItem: r, className: i }
3937
3973
  let a = r(p(i));
3938
3974
  if (n.key === " " || n.key === "Enter") {
3939
3975
  if (n.preventDefault(), s) {
3940
- let t = ya(e, i);
3976
+ let t = wa(e, i);
3941
3977
  c(null), u(`${a} solto em ${f(t.coluna)}, posição ${t.indice + 1}.`);
3942
3978
  } else c({
3943
3979
  id: i,
@@ -3950,7 +3986,7 @@ function xa({ colunas: e, aoMudar: t, renderItem: n, nomeItem: r, className: i }
3950
3986
  n.preventDefault(), t(s.origem), c(null), u(`Movimento cancelado. ${a} voltou ao lugar.`);
3951
3987
  return;
3952
3988
  }
3953
- let o = ya(e, i);
3989
+ let o = wa(e, i);
3954
3990
  if (!o) return;
3955
3991
  let l = null;
3956
3992
  if (n.key === "ArrowUp" && o.indice > 0 ? l = {
@@ -3966,9 +4002,9 @@ function xa({ colunas: e, aoMudar: t, renderItem: n, nomeItem: r, className: i }
3966
4002
  coluna: o.coluna + 1,
3967
4003
  indice: o.indice
3968
4004
  }), !n.key.startsWith("Arrow") || (n.preventDefault(), !l)) return;
3969
- let d = ba(e, o, l);
4005
+ let d = Ta(e, o, l);
3970
4006
  t(d);
3971
- let m = ya(d, i);
4007
+ let m = wa(d, i);
3972
4008
  u(`${a} em ${f(m.coluna)}, posição ${m.indice + 1} de ${d[m.coluna].itens.length}.`);
3973
4009
  }, v = (e) => /* @__PURE__ */ H("button", {
3974
4010
  type: "button",
@@ -4024,10 +4060,10 @@ function xa({ colunas: e, aoMudar: t, renderItem: n, nomeItem: r, className: i }
4024
4060
  }
4025
4061
  //#endregion
4026
4062
  //#region src/components/Acordeao/Acordeao.tsx
4027
- var Sa = Tt(null);
4028
- function Ca({ children: e, multiplo: t = !1, abertos: n, padraoAbertos: r = [], aoMudar: i, variante: a = "padrao", cor: o, separado: s = !1, icone: c = "seta", posicaoIcone: l = "fim", className: u }) {
4063
+ var Da = Tt(null);
4064
+ function Oa({ children: e, multiplo: t = !1, abertos: n, padraoAbertos: r = [], aoMudar: i, variante: a = "padrao", cor: o, separado: s = !1, icone: c = "seta", posicaoIcone: l = "fim", className: u }) {
4029
4065
  let [d, f] = Y(r), p = n ?? d;
4030
- return /* @__PURE__ */ H(Sa.Provider, {
4066
+ return /* @__PURE__ */ H(Da.Provider, {
4031
4067
  value: {
4032
4068
  abertos: p,
4033
4069
  alternar: (e) => {
@@ -4042,8 +4078,8 @@ function Ca({ children: e, multiplo: t = !1, abertos: n, padraoAbertos: r = [],
4042
4078
  })
4043
4079
  });
4044
4080
  }
4045
- function wa({ valor: e, titulo: t, icone: n, cor: r, desabilitado: i = !1, children: a }) {
4046
- let o = G(Sa), s = q();
4081
+ function ka({ valor: e, titulo: t, icone: n, cor: r, desabilitado: i = !1, children: a }) {
4082
+ let o = G(Da), s = q();
4047
4083
  if (!o) throw Error("ItemAcordeao precisa estar dentro de <Acordeao>.");
4048
4084
  let c = o.abertos.includes(e);
4049
4085
  return /* @__PURE__ */ U("div", {
@@ -4074,7 +4110,7 @@ function wa({ valor: e, titulo: t, icone: n, cor: r, desabilitado: i = !1, child
4074
4110
  })
4075
4111
  ]
4076
4112
  })
4077
- }), /* @__PURE__ */ H(ga, {
4113
+ }), /* @__PURE__ */ H(xa, {
4078
4114
  aberto: c,
4079
4115
  children: /* @__PURE__ */ H("div", {
4080
4116
  id: `${s}-painel`,
@@ -4088,7 +4124,7 @@ function wa({ valor: e, titulo: t, icone: n, cor: r, desabilitado: i = !1, child
4088
4124
  }
4089
4125
  //#endregion
4090
4126
  //#region src/components/AcaoLinha/AcaoLinha.tsx
4091
- function Ta({ icone: e, rotulo: t, severidade: n = "neutra", carregando: r = !1, disabled: i, className: a, type: o = "button", ...s }) {
4127
+ function Aa({ icone: e, rotulo: t, severidade: n = "neutra", carregando: r = !1, disabled: i, className: a, type: o = "button", ...s }) {
4092
4128
  return /* @__PURE__ */ H(Dr, {
4093
4129
  texto: t,
4094
4130
  children: /* @__PURE__ */ H("button", {
@@ -4107,35 +4143,35 @@ function Ta({ icone: e, rotulo: t, severidade: n = "neutra", carregando: r = !1,
4107
4143
  }
4108
4144
  //#endregion
4109
4145
  //#region src/components/Balao/Balao.tsx
4110
- var Ea = {
4146
+ var ja = {
4111
4147
  cima: "baixo",
4112
4148
  baixo: "cima",
4113
4149
  direita: "esquerda",
4114
4150
  esquerda: "direita"
4115
- }, Da = 10, Oa = 8;
4116
- function ka(e, t, n, r) {
4117
- return r === "cima" ? e.top - Da - n >= Oa : r === "baixo" ? e.bottom + Da + n <= window.innerHeight - Oa : r === "esquerda" ? e.left - Da - t >= Oa : e.right + Da + t <= window.innerWidth - Oa;
4151
+ }, Ma = 10, Na = 8;
4152
+ function Pa(e, t, n, r) {
4153
+ return r === "cima" ? e.top - Ma - n >= Na : r === "baixo" ? e.bottom + Ma + n <= window.innerHeight - Na : r === "esquerda" ? e.left - Ma - t >= Na : e.right + Ma + t <= window.innerWidth - Na;
4118
4154
  }
4119
- function Aa(e, t, n, r) {
4120
- let i = ka(e, t, n, r) || !ka(e, t, n, Ea[r]) ? r : Ea[r], a = window.innerWidth, o = window.innerHeight, s = e.left + e.width / 2, c = e.top + e.height / 2, l, u;
4121
- return i === "cima" || i === "baixo" ? (l = i === "cima" ? e.top - Da - n : e.bottom + Da, u = Math.max(Oa, Math.min(s - t / 2, a - t - Oa)), {
4155
+ function Fa(e, t, n, r) {
4156
+ let i = Pa(e, t, n, r) || !Pa(e, t, n, ja[r]) ? r : ja[r], a = window.innerWidth, o = window.innerHeight, s = e.left + e.width / 2, c = e.top + e.height / 2, l, u;
4157
+ return i === "cima" || i === "baixo" ? (l = i === "cima" ? e.top - Ma - n : e.bottom + Ma, u = Math.max(Na, Math.min(s - t / 2, a - t - Na)), {
4122
4158
  top: l,
4123
4159
  left: u,
4124
4160
  lado: i,
4125
4161
  seta: s - u
4126
- }) : (u = i === "esquerda" ? e.left - Da - t : e.right + Da, l = Math.max(Oa, Math.min(c - n / 2, o - n - Oa)), {
4162
+ }) : (u = i === "esquerda" ? e.left - Ma - t : e.right + Ma, l = Math.max(Na, Math.min(c - n / 2, o - n - Na)), {
4127
4163
  top: l,
4128
4164
  left: u,
4129
4165
  lado: i,
4130
4166
  seta: c - l
4131
4167
  });
4132
4168
  }
4133
- function ja({ children: e, titulo: t, conteudo: n, posicao: r = "cima", cor: i = "pri", aparencia: a = "padrao", gatilho: o = "clique", largura: s, className: c }) {
4169
+ function Ia({ children: e, titulo: t, conteudo: n, posicao: r = "cima", cor: i = "pri", aparencia: a = "padrao", gatilho: o = "clique", largura: s, className: c }) {
4134
4170
  let l = q(), u = J(null), d = J(null), f = J(void 0), [p, m] = Y(!1), [h, g] = Y(null), _ = W(() => {
4135
4171
  let e = u.current, t = d.current;
4136
4172
  if (!e || !t) return;
4137
4173
  let n = e.firstElementChild ?? e;
4138
- g(Aa(n.getBoundingClientRect(), t.offsetWidth, t.offsetHeight, r));
4174
+ g(Fa(n.getBoundingClientRect(), t.offsetWidth, t.offsetHeight, r));
4139
4175
  }, [r]);
4140
4176
  kt(() => {
4141
4177
  if (!p) g(null);
@@ -4153,7 +4189,7 @@ function ja({ children: e, titulo: t, conteudo: n, posicao: r = "cima", cor: i =
4153
4189
  return () => {
4154
4190
  window.clearTimeout(t), document.removeEventListener("keydown", e), document.removeEventListener("pointerdown", n);
4155
4191
  };
4156
- }, [p, o]), $r([u, d], p && o === "clique", () => m(!1)), K(() => () => window.clearTimeout(f.current), []);
4192
+ }, [p, o]), ii([u, d], p && o === "clique", () => m(!1)), K(() => () => window.clearTimeout(f.current), []);
4157
4193
  let v = o === "passar", y = () => {
4158
4194
  window.clearTimeout(f.current), m(!0);
4159
4195
  }, b = () => {
@@ -4206,8 +4242,8 @@ function ja({ children: e, titulo: t, conteudo: n, posicao: r = "cima", cor: i =
4206
4242
  }
4207
4243
  //#endregion
4208
4244
  //#region src/components/Form/Form.tsx
4209
- var Ma = Tt({ arranjo: "pagina" });
4210
- function Na({ arranjo: e = "pagina", titulo: t, entidade: n, modo: r = "novo", trilha: i, identidade: a, icone: o, aberto: s = !0, tamanho: c = "grande", aoSalvar: l, aoCancelar: u, salvando: d = !1, pendencias: f, menu: p, menuTitulo: m = "Formulários", menuAtivo: h, aoEscolherMenu: g, acoes: _, acoesPadrao: v = !0, posicaoAcoes: y = "secao", rotuloSalvar: b = "Salvar", children: x, className: S }) {
4245
+ var La = Tt({ arranjo: "pagina" });
4246
+ function Ra({ arranjo: e = "pagina", titulo: t, entidade: n, modo: r = "novo", trilha: i, identidade: a, icone: o, aberto: s = !0, tamanho: c = "grande", aoSalvar: l, aoCancelar: u, salvando: d = !1, pendencias: f, menu: p, menuTitulo: m = "Formulários", menuAtivo: h, aoEscolherMenu: g, acoes: _, acoesPadrao: v = !0, posicaoAcoes: y = "secao", rotuloSalvar: b = "Salvar", children: x, className: S }) {
4211
4247
  let C = `lp-form-${q().replace(/:/g, "")}`, w = t ?? (n ? Un(n, r) : ""), T = r === "leitura", [E, D] = Y(0);
4212
4248
  K(() => {
4213
4249
  s && D(0);
@@ -4242,7 +4278,7 @@ function Na({ arranjo: e = "pagina", titulo: t, entidade: n, modo: r = "novo", t
4242
4278
  className: "lp-form-secoes",
4243
4279
  onSubmit: O,
4244
4280
  noValidate: !0,
4245
- children: /* @__PURE__ */ H(wi.Provider, {
4281
+ children: /* @__PURE__ */ H(ki.Provider, {
4246
4282
  value: E,
4247
4283
  children: T ? /* @__PURE__ */ H("fieldset", {
4248
4284
  className: "lp-form-leitura",
@@ -4251,9 +4287,9 @@ function Na({ arranjo: e = "pagina", titulo: t, entidade: n, modo: r = "novo", t
4251
4287
  }) : x
4252
4288
  })
4253
4289
  }), j = { arranjo: e };
4254
- if (e === "modal") return /* @__PURE__ */ H(Ma.Provider, {
4290
+ if (e === "modal") return /* @__PURE__ */ H(La.Provider, {
4255
4291
  value: j,
4256
- children: /* @__PURE__ */ H(Qi, {
4292
+ children: /* @__PURE__ */ H(ra, {
4257
4293
  aberto: s,
4258
4294
  aoFechar: () => u?.(),
4259
4295
  titulo: w,
@@ -4268,7 +4304,7 @@ function Na({ arranjo: e = "pagina", titulo: t, entidade: n, modo: r = "novo", t
4268
4304
  });
4269
4305
  if (!s) return null;
4270
4306
  let M = !!p?.length, N = v || !!_;
4271
- return /* @__PURE__ */ H(Ma.Provider, {
4307
+ return /* @__PURE__ */ H(La.Provider, {
4272
4308
  value: j,
4273
4309
  children: /* @__PURE__ */ U("div", {
4274
4310
  className: X("lp-form-pagina", S),
@@ -4299,7 +4335,7 @@ function Na({ arranjo: e = "pagina", titulo: t, entidade: n, modo: r = "novo", t
4299
4335
  className: "lp-form-ident",
4300
4336
  children: a
4301
4337
  })]
4302
- }), i && /* @__PURE__ */ H(li, {
4338
+ }), i && /* @__PURE__ */ H(mi, {
4303
4339
  extras: Array.isArray(i) ? i : void 0,
4304
4340
  className: "lp-form-trilha"
4305
4341
  })]
@@ -4366,8 +4402,8 @@ function Na({ arranjo: e = "pagina", titulo: t, entidade: n, modo: r = "novo", t
4366
4402
  })
4367
4403
  });
4368
4404
  }
4369
- function Pa({ legenda: e, icone: t, acoes: n, colunas: r, children: i, className: a }) {
4370
- let { arranjo: o } = G(Ma), s = `lp-sec-${q().replace(/:/g, "")}`, c = r ? { "--lp-colunas": r } : void 0, l = /* @__PURE__ */ H("div", {
4405
+ function za({ legenda: e, icone: t, acoes: n, colunas: r, children: i, className: a }) {
4406
+ let { arranjo: o } = G(La), s = `lp-sec-${q().replace(/:/g, "")}`, c = r ? { "--lp-colunas": r } : void 0, l = /* @__PURE__ */ H("div", {
4371
4407
  className: X("lp-fsec-grade", !!r && "tem-colunas"),
4372
4408
  style: c,
4373
4409
  children: i
@@ -4409,9 +4445,9 @@ function Pa({ legenda: e, icone: t, acoes: n, colunas: r, children: i, className
4409
4445
  }
4410
4446
  //#endregion
4411
4447
  //#region src/components/CampoTextarea/CampoTextarea.tsx
4412
- var Fa = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, className: a, id: o, valor: s, aoMudar: c, onChange: l, maxLength: u, contador: d = !0, rows: f = 3, ...p }, m) {
4413
- let { id: h, msgId: g } = Di(o), _ = d && !!u, v = s?.length ?? 0, y = u ? v / u : 0;
4414
- return /* @__PURE__ */ H(ki, {
4448
+ var Ba = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, className: a, id: o, valor: s, aoMudar: c, onChange: l, maxLength: u, contador: d = !0, rows: f = 3, ...p }, m) {
4449
+ let { id: h, msgId: g } = Mi(o), _ = d && !!u, v = s?.length ?? 0, y = u ? v / u : 0;
4450
+ return /* @__PURE__ */ H(Pi, {
4415
4451
  rotulo: e,
4416
4452
  dica: t,
4417
4453
  erro: n,
@@ -4435,7 +4471,7 @@ var Fa = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, cl
4435
4471
  required: i,
4436
4472
  "aria-required": i || void 0,
4437
4473
  "aria-invalid": n ? !0 : void 0,
4438
- "aria-describedby": Oi({
4474
+ "aria-describedby": Ni({
4439
4475
  erro: n,
4440
4476
  aviso: r,
4441
4477
  dica: t
@@ -4455,7 +4491,7 @@ var Fa = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, cl
4455
4491
  });
4456
4492
  //#endregion
4457
4493
  //#region src/utils/usePosicaoFlutuante.ts
4458
- function Ia(e, t, n = 260, r = 4) {
4494
+ function Va(e, t, n = 260, r = 4) {
4459
4495
  let [i, a] = Y(null), o = W(() => {
4460
4496
  let t = e.current;
4461
4497
  if (!t) return;
@@ -4480,15 +4516,15 @@ function Ia(e, t, n = 260, r = 4) {
4480
4516
  }
4481
4517
  //#endregion
4482
4518
  //#region src/components/CampoSelect/CampoSelect.tsx
4483
- function La({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a = "campo", className: o, id: s, opcoes: c, placeholder: l = "Selecione", comBusca: u = !1, botaoLimpar: d = !1, disabled: f = !1, multiplo: p, selecionados: m, alternar: h, limpar: g }) {
4484
- let { id: _, msgId: v } = Di(s), y = `${_}-lista`, b = a === "inline", x = J(null), S = J(null), C = J(null), [w, T] = Y(!1), [E, D] = Y(-1), [O, k] = Y(""), A = Ia(x, w), j = (e) => m.some((t) => Object.is(t, e.valor)), M = u && O.trim() ? c.filter((e) => kn(e.rotulo).includes(kn(O.trim()))) : c, N = c.filter(j).map((e) => e.rotulo).join(", "), P = W(() => {
4519
+ function Ha({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a = "campo", className: o, id: s, opcoes: c, placeholder: l = "Selecione", comBusca: u = !1, botaoLimpar: d = !1, disabled: f = !1, multiplo: p, selecionados: m, alternar: h, limpar: g }) {
4520
+ let { id: _, msgId: v } = Mi(s), y = `${_}-lista`, b = a === "inline", x = J(null), S = J(null), C = J(null), [w, T] = Y(!1), [E, D] = Y(-1), [O, k] = Y(""), A = Va(x, w), j = (e) => m.some((t) => Object.is(t, e.valor)), M = u && O.trim() ? c.filter((e) => kn(e.rotulo).includes(kn(O.trim()))) : c, N = c.filter(j).map((e) => e.rotulo).join(", "), P = W(() => {
4485
4521
  T(!1), k(""), D(-1);
4486
4522
  }, []), F = () => {
4487
4523
  if (f) return;
4488
4524
  let e = c.findIndex(j);
4489
4525
  D(e >= 0 ? e : 0), T(!0);
4490
4526
  };
4491
- $r([x, S], w, P), K(() => {
4527
+ ii([x, S], w, P), K(() => {
4492
4528
  w && E >= 0 && document.getElementById(`${_}-op-${E}`)?.scrollIntoView({ block: "nearest" });
4493
4529
  }, [
4494
4530
  w,
@@ -4511,7 +4547,7 @@ function La({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a
4511
4547
  "aria-activedescendant": w && E >= 0 ? `${_}-op-${E}` : void 0,
4512
4548
  "aria-required": i || void 0,
4513
4549
  "aria-invalid": n ? !0 : void 0,
4514
- "aria-describedby": Oi({
4550
+ "aria-describedby": Ni({
4515
4551
  erro: n,
4516
4552
  aviso: r,
4517
4553
  dica: t
@@ -4545,7 +4581,7 @@ function La({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a
4545
4581
  }
4546
4582
  }
4547
4583
  };
4548
- return /* @__PURE__ */ U(ki, {
4584
+ return /* @__PURE__ */ U(Pi, {
4549
4585
  rotulo: e,
4550
4586
  dica: t,
4551
4587
  erro: n,
@@ -4642,9 +4678,9 @@ function La({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a
4642
4678
  }))]
4643
4679
  });
4644
4680
  }
4645
- function Ra({ valor: e, aoMudar: t, ...n }) {
4681
+ function Ua({ valor: e, aoMudar: t, ...n }) {
4646
4682
  let r = e != null;
4647
- return /* @__PURE__ */ H(La, {
4683
+ return /* @__PURE__ */ H(Ha, {
4648
4684
  ...n,
4649
4685
  multiplo: !1,
4650
4686
  selecionados: r ? [e] : [],
@@ -4652,8 +4688,8 @@ function Ra({ valor: e, aoMudar: t, ...n }) {
4652
4688
  limpar: () => t?.(null)
4653
4689
  });
4654
4690
  }
4655
- function za({ valor: e = [], aoMudar: t, ...n }) {
4656
- return /* @__PURE__ */ H(La, {
4691
+ function Wa({ valor: e = [], aoMudar: t, ...n }) {
4692
+ return /* @__PURE__ */ H(Ha, {
4657
4693
  ...n,
4658
4694
  multiplo: !0,
4659
4695
  selecionados: e,
@@ -4663,28 +4699,28 @@ function za({ valor: e = [], aoMudar: t, ...n }) {
4663
4699
  }
4664
4700
  //#endregion
4665
4701
  //#region src/components/CampoDominio/CampoDominio.tsx
4666
- var Ba = (e) => un.map((t) => ({
4702
+ var Ga = (e) => un.map((t) => ({
4667
4703
  valor: t.uf,
4668
4704
  rotulo: e === "sigla" ? t.uf : `${t.uf} — ${t.descricao}`
4669
4705
  }));
4670
- function Va({ exibicao: e = "completo", comBusca: t = !0, placeholder: n = "UF", ...r }) {
4671
- return /* @__PURE__ */ H(Ra, {
4672
- opcoes: Ba(e),
4706
+ function Ka({ exibicao: e = "completo", comBusca: t = !0, placeholder: n = "UF", ...r }) {
4707
+ return /* @__PURE__ */ H(Ua, {
4708
+ opcoes: Ga(e),
4673
4709
  comBusca: t,
4674
4710
  placeholder: n,
4675
4711
  ...r
4676
4712
  });
4677
4713
  }
4678
- function Ha({ exibicao: e = "completo", comBusca: t = !0, placeholder: n = "UFs", ...r }) {
4679
- return /* @__PURE__ */ H(za, {
4680
- opcoes: Ba(e),
4714
+ function qa({ exibicao: e = "completo", comBusca: t = !0, placeholder: n = "UFs", ...r }) {
4715
+ return /* @__PURE__ */ H(Wa, {
4716
+ opcoes: Ga(e),
4681
4717
  comBusca: t,
4682
4718
  placeholder: n,
4683
4719
  ...r
4684
4720
  });
4685
4721
  }
4686
- function Ua({ placeholder: e = "Selecione", ...t }) {
4687
- return /* @__PURE__ */ H(Ra, {
4722
+ function Ja({ placeholder: e = "Selecione", ...t }) {
4723
+ return /* @__PURE__ */ H(Ua, {
4688
4724
  opcoes: [...pn],
4689
4725
  placeholder: e,
4690
4726
  ...t
@@ -4692,8 +4728,8 @@ function Ua({ placeholder: e = "Selecione", ...t }) {
4692
4728
  }
4693
4729
  //#endregion
4694
4730
  //#region src/components/Escolha/Escolha.tsx
4695
- function Wa({ rotulo: e, dica: t, erro: n, obrigatorio: r, className: i, opcoes: a, valor: o, aoMudar: s, aparencia: c = "segmentado", disabled: l = !1, ariaLabel: u, id: d }) {
4696
- let { id: f, msgId: p } = Di(d), m = J(null), h = a.findIndex((e) => Object.is(e.valor, o)), g = h >= 0 ? h : 0, _ = (e, t) => {
4731
+ function Ya({ rotulo: e, dica: t, erro: n, obrigatorio: r, className: i, opcoes: a, valor: o, aoMudar: s, aparencia: c = "segmentado", disabled: l = !1, ariaLabel: u, id: d }) {
4732
+ let { id: f, msgId: p } = Mi(d), m = J(null), h = a.findIndex((e) => Object.is(e.valor, o)), g = h >= 0 ? h : 0, _ = (e, t) => {
4697
4733
  let n = e.key === "ArrowRight" || e.key === "ArrowDown" ? 1 : e.key === "ArrowLeft" || e.key === "ArrowUp" ? -1 : 0;
4698
4734
  if (!n) return;
4699
4735
  e.preventDefault();
@@ -4701,7 +4737,7 @@ function Wa({ rotulo: e, dica: t, erro: n, obrigatorio: r, className: i, opcoes:
4701
4737
  for (let e = 0; e < a.length && (r = (r + n + a.length) % a.length, a[r].desabilitada); e++);
4702
4738
  s?.(a[r].valor), m.current?.querySelectorAll("[role=\"radio\"]")[r]?.focus();
4703
4739
  };
4704
- return /* @__PURE__ */ H(ki, {
4740
+ return /* @__PURE__ */ H(Pi, {
4705
4741
  rotulo: e,
4706
4742
  dica: t,
4707
4743
  erro: n,
@@ -4716,7 +4752,7 @@ function Wa({ rotulo: e, dica: t, erro: n, obrigatorio: r, className: i, opcoes:
4716
4752
  "aria-label": e ?? u,
4717
4753
  "aria-required": r || void 0,
4718
4754
  "aria-invalid": n ? !0 : void 0,
4719
- "aria-describedby": Oi({
4755
+ "aria-describedby": Ni({
4720
4756
  erro: n,
4721
4757
  dica: t
4722
4758
  }, p),
@@ -4742,8 +4778,8 @@ function Wa({ rotulo: e, dica: t, erro: n, obrigatorio: r, className: i, opcoes:
4742
4778
  }
4743
4779
  //#endregion
4744
4780
  //#region src/components/Avaliacao/Avaliacao.tsx
4745
- var Ga = (e) => e.toLocaleString("pt-BR", { maximumFractionDigits: 1 });
4746
- function Ka({ valor: e, aoMudar: t, max: n = 5, passo: r = 1, somenteLeitura: i = !1, rotulo: a, icone: o = "star", tamanho: s = "medio", mensagens: c, aoPassar: l, limpavel: u = !1, textoOcupado: d = "Salvando...", className: f }) {
4781
+ var Xa = (e) => e.toLocaleString("pt-BR", { maximumFractionDigits: 1 });
4782
+ function Za({ valor: e, aoMudar: t, max: n = 5, passo: r = 1, somenteLeitura: i = !1, rotulo: a, icone: o = "star", tamanho: s = "medio", mensagens: c, aoPassar: l, limpavel: u = !1, textoOcupado: d = "Salvando...", className: f }) {
4747
4783
  let p = q(), [m, h] = Y(null), [g, _] = Y(!1), v = m ?? e, y = i || g, b = async (e) => {
4748
4784
  if (y) return;
4749
4785
  let n = t?.(e);
@@ -4781,7 +4817,7 @@ function Ka({ valor: e, aoMudar: t, max: n = 5, passo: r = 1, somenteLeitura: i
4781
4817
  if (i) return /* @__PURE__ */ H("span", {
4782
4818
  className: T,
4783
4819
  role: "img",
4784
- "aria-label": `${a}: ${Ga(e)} de ${n}`,
4820
+ "aria-label": `${a}: ${Xa(e)} de ${n}`,
4785
4821
  children: /* @__PURE__ */ H("span", {
4786
4822
  className: "lp-aval-estrelas",
4787
4823
  children: C
@@ -4810,7 +4846,7 @@ function Ka({ valor: e, aoMudar: t, max: n = 5, passo: r = 1, somenteLeitura: i
4810
4846
  onChange: () => b(t),
4811
4847
  onFocus: () => h(null)
4812
4848
  }),
4813
- Ga(t),
4849
+ Xa(t),
4814
4850
  " de ",
4815
4851
  n
4816
4852
  ] }, t))
@@ -4835,7 +4871,7 @@ function Ka({ valor: e, aoMudar: t, max: n = 5, passo: r = 1, somenteLeitura: i
4835
4871
  }
4836
4872
  //#endregion
4837
4873
  //#region src/components/Chip/Chip.tsx
4838
- function qa({ rotulo: e, campo: t, aoRemover: n, focavel: r = !0, className: i }) {
4874
+ function Qa({ rotulo: e, campo: t, aoRemover: n, focavel: r = !0, className: i }) {
4839
4875
  return /* @__PURE__ */ U("span", {
4840
4876
  className: X("lp-chip", i),
4841
4877
  children: [
@@ -4860,7 +4896,7 @@ function qa({ rotulo: e, campo: t, aoRemover: n, focavel: r = !0, className: i }
4860
4896
  }
4861
4897
  //#endregion
4862
4898
  //#region src/components/Filtros/Filtros.tsx
4863
- function Ja({ children: e, aoConsultar: t, aoLimpar: n, aplicados: r = [], alterado: i, consultando: a, aparencia: o = "barra", className: s }) {
4899
+ function $a({ children: e, aoConsultar: t, aoLimpar: n, aplicados: r = [], alterado: i, consultando: a, aparencia: o = "barra", className: s }) {
4864
4900
  return /* @__PURE__ */ U("div", {
4865
4901
  className: X("lp-filtros", s),
4866
4902
  children: [
@@ -4906,7 +4942,7 @@ function Ja({ children: e, aoConsultar: t, aoLimpar: n, aplicados: r = [], alter
4906
4942
  }),
4907
4943
  i && /* @__PURE__ */ H("div", {
4908
4944
  className: "lp-fb-avisos",
4909
- children: /* @__PURE__ */ H(Ci, {
4945
+ children: /* @__PURE__ */ H(Oi, {
4910
4946
  severidade: "warn",
4911
4947
  mensagem: "Filtros alterados — clique em Consultar para atualizar a lista."
4912
4948
  })
@@ -4917,7 +4953,7 @@ function Ja({ children: e, aoConsultar: t, aoLimpar: n, aplicados: r = [], alter
4917
4953
  "aria-label": "Filtros aplicados",
4918
4954
  children: r.map((e) => /* @__PURE__ */ H("span", {
4919
4955
  role: "listitem",
4920
- children: /* @__PURE__ */ H(qa, {
4956
+ children: /* @__PURE__ */ H(Qa, {
4921
4957
  campo: e.campo,
4922
4958
  rotulo: e.rotulo,
4923
4959
  aoRemover: e.aoRemover
@@ -4929,8 +4965,8 @@ function Ja({ children: e, aoConsultar: t, aoLimpar: n, aplicados: r = [], alter
4929
4965
  }
4930
4966
  //#endregion
4931
4967
  //#region src/components/Picklist/Picklist.tsx
4932
- function Ya({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, className: a, id: o, valor: s, aoMudar: c, rotuloFonte: l = "Disponíveis", rotuloAlvo: u = "Selecionados", paraRotulo: d = (e) => typeof e == "string" ? e : String(e), renderItem: f, filtro: p = !1, dragdrop: m = !0, reordenar: h = !0, alturaLista: g = "15rem", disabled: _ = !1 }) {
4933
- let { id: v, msgId: y } = Di(o), b = dr(s), [x, S] = Y({
4968
+ function eo({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, className: a, id: o, valor: s, aoMudar: c, rotuloFonte: l = "Disponíveis", rotuloAlvo: u = "Selecionados", paraRotulo: d = (e) => typeof e == "string" ? e : String(e), renderItem: f, filtro: p = !1, dragdrop: m = !0, reordenar: h = !0, alturaLista: g = "15rem", disabled: _ = !1 }) {
4969
+ let { id: v, msgId: y } = Mi(o), b = dr(s), [x, S] = Y({
4934
4970
  fonte: /* @__PURE__ */ new Set(),
4935
4971
  alvo: /* @__PURE__ */ new Set()
4936
4972
  }), [C, w] = Y({
@@ -4939,7 +4975,7 @@ function Ya({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, className:
4939
4975
  }), [T, E] = Y({
4940
4976
  fonte: 0,
4941
4977
  alvo: 0
4942
- }), [D, O] = Y(""), [k, A] = Y(!1), j = G(wi), M = J(null), N = {
4978
+ }), [D, O] = Y(""), [k, A] = Y(!1), j = G(ki), M = J(null), N = {
4943
4979
  fonte: vr(b.fonte, C.fonte, d),
4944
4980
  alvo: vr(b.alvo, C.alvo, d)
4945
4981
  }, P = (e, t) => {
@@ -5095,7 +5131,7 @@ function Ya({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, className:
5095
5131
  ]
5096
5132
  });
5097
5133
  }, te = N.fonte.filter((e) => x.fonte.has(e)), ne = N.alvo.filter((e) => x.alvo.has(e));
5098
- return /* @__PURE__ */ H(ki, {
5134
+ return /* @__PURE__ */ H(Pi, {
5099
5135
  rotulo: e,
5100
5136
  dica: t,
5101
5137
  erro: B,
@@ -5161,8 +5197,8 @@ function Ya({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, className:
5161
5197
  }
5162
5198
  //#endregion
5163
5199
  //#region src/utils/useBuscaAssincrona.ts
5164
- var Xa = 300;
5165
- function Za({ buscar: e, ativo: t = !0, minimo: n = 0, atraso: r = 300 }) {
5200
+ var to = 300;
5201
+ function no({ buscar: e, ativo: t = !0, minimo: n = 0, atraso: r = 300 }) {
5166
5202
  let [i, a] = Y(""), [o, s] = Y([]), [c, l] = Y(!1), u = J(0), d = J(e);
5167
5203
  d.current = e;
5168
5204
  let f = J(!1);
@@ -5196,16 +5232,16 @@ function Za({ buscar: e, ativo: t = !0, minimo: n = 0, atraso: r = 300 }) {
5196
5232
  }
5197
5233
  //#endregion
5198
5234
  //#region src/components/CampoBusca/CampoBusca.tsx
5199
- function Qa({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a = "campo", className: o, id: s, buscar: c, paraRotulo: l, paraDetalhe: u, chave: d = (e) => e.id ?? l(e), valor: f = null, aoMudar: p, minimo: m = 1, atraso: h = 300, placeholder: g = "Buscar…", disabled: _ = !1, vazioTexto: v = "Nenhum resultado encontrado" }) {
5200
- let { id: y, msgId: b } = Di(s), x = `${y}-lista`, S = a === "inline", C = J(null), w = J(null), T = J(null), [E, D] = Y(!1), [O, k] = Y(0), [A, j] = Y(!1), M = G(wi), { termo: N, setTermo: P, resultados: F, carregando: I } = Za({
5235
+ function ro({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a = "campo", className: o, id: s, buscar: c, paraRotulo: l, paraDetalhe: u, chave: d = (e) => e.id ?? l(e), valor: f = null, aoMudar: p, minimo: m = 1, atraso: h = 300, placeholder: g = "Buscar…", disabled: _ = !1, vazioTexto: v = "Nenhum resultado encontrado" }) {
5236
+ let { id: y, msgId: b } = Mi(s), x = `${y}-lista`, S = a === "inline", C = J(null), w = J(null), T = J(null), [E, D] = Y(!1), [O, k] = Y(0), [A, j] = Y(!1), M = G(ki), { termo: N, setTermo: P, resultados: F, carregando: I } = no({
5201
5237
  buscar: c,
5202
5238
  ativo: E,
5203
5239
  minimo: m,
5204
5240
  atraso: h
5205
- }), L = E && N.trim().length >= m, R = Ia(C, L), z = W(() => {
5241
+ }), L = E && N.trim().length >= m, R = Va(C, L), z = W(() => {
5206
5242
  D(!1), P("");
5207
5243
  }, [P]);
5208
- $r([C, w], E, z), K(() => k(0), [F]), K(() => {
5244
+ ii([C, w], E, z), K(() => k(0), [F]), K(() => {
5209
5245
  L && document.getElementById(`${y}-op-${O}`)?.scrollIntoView({ block: "nearest" });
5210
5246
  }, [
5211
5247
  L,
@@ -5217,7 +5253,7 @@ function Qa({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a
5217
5253
  }, ee = (e) => {
5218
5254
  e.key === "ArrowDown" && L ? (e.preventDefault(), k((e) => Math.min(e + 1, F.length - 1))) : e.key === "ArrowUp" && L ? (e.preventDefault(), k((e) => Math.max(e - 1, 0))) : e.key === "Enter" && L && F[O] ? (e.preventDefault(), B(F[O])) : e.key === "Escape" && E ? (e.preventDefault(), e.stopPropagation(), z()) : e.key === "Tab" && z();
5219
5255
  }, te = n || (i && !f && (A || M > 0) ? "Campo obrigatório" : void 0);
5220
- return /* @__PURE__ */ U(ki, {
5256
+ return /* @__PURE__ */ U(Pi, {
5221
5257
  rotulo: e,
5222
5258
  dica: t,
5223
5259
  erro: te,
@@ -5245,7 +5281,7 @@ function Qa({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a
5245
5281
  "aria-activedescendant": L && F.length ? `${y}-op-${O}` : void 0,
5246
5282
  "aria-required": i || void 0,
5247
5283
  "aria-invalid": te ? !0 : void 0,
5248
- "aria-describedby": Oi({
5284
+ "aria-describedby": Ni({
5249
5285
  erro: te,
5250
5286
  aviso: r,
5251
5287
  dica: t
@@ -5318,7 +5354,7 @@ function Qa({ rotulo: e, dica: t, erro: n, aviso: r, obrigatorio: i, variante: a
5318
5354
  }
5319
5355
  //#endregion
5320
5356
  //#region src/components/CampoBusca/CampoCidade.tsx
5321
- function $a({ uf: e, buscarPorUf: t, valor: n = null, aoMudar: r, placeholder: i = "Município", disabled: a, ...o }) {
5357
+ function io({ uf: e, buscarPorUf: t, valor: n = null, aoMudar: r, placeholder: i = "Município", disabled: a, ...o }) {
5322
5358
  let [s, c] = Y([]), l = J(e);
5323
5359
  return K(() => {
5324
5360
  if (!t || !e) {
@@ -5331,7 +5367,7 @@ function $a({ uf: e, buscarPorUf: t, valor: n = null, aoMudar: r, placeholder: i
5331
5367
  };
5332
5368
  }, [e, !!t]), K(() => {
5333
5369
  l.current !== e && (l.current = e, n && r?.(null));
5334
- }, [e]), t ? /* @__PURE__ */ H(Qa, {
5370
+ }, [e]), t ? /* @__PURE__ */ H(ro, {
5335
5371
  ...o,
5336
5372
  disabled: a || !e,
5337
5373
  placeholder: e ? i : "Escolha a UF primeiro",
@@ -5345,7 +5381,7 @@ function $a({ uf: e, buscarPorUf: t, valor: n = null, aoMudar: r, placeholder: i
5345
5381
  chave: (e) => e.id,
5346
5382
  valor: typeof n == "object" ? n : null,
5347
5383
  aoMudar: r
5348
- }) : /* @__PURE__ */ H(ji, {
5384
+ }) : /* @__PURE__ */ H(Ii, {
5349
5385
  ...o,
5350
5386
  disabled: a,
5351
5387
  placeholder: i,
@@ -5355,7 +5391,7 @@ function $a({ uf: e, buscarPorUf: t, valor: n = null, aoMudar: r, placeholder: i
5355
5391
  }
5356
5392
  //#endregion
5357
5393
  //#region src/components/Paginacao/Paginacao.tsx
5358
- function eo(e, t) {
5394
+ function ao(e, t) {
5359
5395
  return t <= 7 ? Array.from({ length: t }, (e, t) => t + 1) : e <= 4 ? [
5360
5396
  1,
5361
5397
  2,
@@ -5382,7 +5418,7 @@ function eo(e, t) {
5382
5418
  t
5383
5419
  ];
5384
5420
  }
5385
- function to({ total: e, pagina: t, tamanho: n, tamanhoOpcoes: r = [
5421
+ function oo({ total: e, pagina: t, tamanho: n, tamanhoOpcoes: r = [
5386
5422
  10,
5387
5423
  20,
5388
5424
  50,
@@ -5424,7 +5460,7 @@ function to({ total: e, pagina: t, tamanho: n, tamanhoOpcoes: r = [
5424
5460
  onClick: () => f(l - 1),
5425
5461
  children: /* @__PURE__ */ H(Z, { icone: "chevron-left" })
5426
5462
  }),
5427
- eo(l, c).map((e, t) => e === "…" ? /* @__PURE__ */ H("span", {
5463
+ ao(l, c).map((e, t) => e === "…" ? /* @__PURE__ */ H("span", {
5428
5464
  className: "lp-pag-bt lp-pag-gap",
5429
5465
  "aria-hidden": "true",
5430
5466
  children: "…"
@@ -5450,7 +5486,7 @@ function to({ total: e, pagina: t, tamanho: n, tamanhoOpcoes: r = [
5450
5486
  }
5451
5487
  //#endregion
5452
5488
  //#region src/components/Skeleton/Skeleton.tsx
5453
- function no({ largura: e = "100%", altura: t = "1rem", formato: n = "retangulo", className: r }) {
5489
+ function so({ largura: e = "100%", altura: t = "1rem", formato: n = "retangulo", className: r }) {
5454
5490
  let i = {
5455
5491
  width: e,
5456
5492
  height: t
@@ -5463,7 +5499,7 @@ function no({ largura: e = "100%", altura: t = "1rem", formato: n = "retangulo",
5463
5499
  }
5464
5500
  //#endregion
5465
5501
  //#region src/components/Vazio/Vazio.tsx
5466
- function ro({ titulo: e, descricao: t, icone: n = "inbox", children: r, className: i }) {
5502
+ function co({ titulo: e, descricao: t, icone: n = "inbox", children: r, className: i }) {
5467
5503
  return /* @__PURE__ */ U("div", {
5468
5504
  className: X("lp-vazio", i),
5469
5505
  children: [
@@ -5488,8 +5524,8 @@ function ro({ titulo: e, descricao: t, icone: n = "inbox", children: r, classNam
5488
5524
  }
5489
5525
  //#endregion
5490
5526
  //#region src/components/Tabela/Tabela.tsx
5491
- var io = Cn;
5492
- function ao({ marcado: e, indeterminado: t, rotulo: n, aoMudar: r }) {
5527
+ var lo = Cn;
5528
+ function uo({ marcado: e, indeterminado: t, rotulo: n, aoMudar: r }) {
5493
5529
  let i = J(null);
5494
5530
  return K(() => {
5495
5531
  i.current && (i.current.indeterminate = !!t);
@@ -5509,14 +5545,14 @@ function ao({ marcado: e, indeterminado: t, rotulo: n, aoMudar: r }) {
5509
5545
  })]
5510
5546
  });
5511
5547
  }
5512
- var oo = [
5548
+ var fo = [
5513
5549
  "70%",
5514
5550
  "55%",
5515
5551
  "82%",
5516
5552
  "64%",
5517
5553
  "48%"
5518
5554
  ];
5519
- function so({ colunas: e, registros: t, chave: n = (e, t) => e.id ?? t, acoes: r, aparencia: i = "listrada", rotulo: a = "Tabela de dados", carregando: o, atualizando: s, erro: c, aoRecarregar: l, vazioTitulo: u = "Nenhum registro encontrado", vazioDescricao: d, vazioIcone: f = "inbox", vazioAcoes: p, ordenacao: m, aoOrdenar: h, selecao: g, selecionados: _ = [], aoMudarSelecao: v, aoClicarLinha: y, paginacao: b, className: x }) {
5555
+ function po({ colunas: e, registros: t, chave: n = (e, t) => e.id ?? t, acoes: r, aparencia: i = "listrada", rotulo: a = "Tabela de dados", carregando: o, atualizando: s, erro: c, aoRecarregar: l, vazioTitulo: u = "Nenhum registro encontrado", vazioDescricao: d, vazioIcone: f = "inbox", vazioAcoes: p, ordenacao: m, aoOrdenar: h, selecao: g, selecionados: _ = [], aoMudarSelecao: v, aoClicarLinha: y, paginacao: b, className: x }) {
5520
5556
  let S = t.map(n), C = new Set(_), w = S.length > 0 && S.every((e) => C.has(e)), T = !w && S.some((e) => C.has(e)), E = (e) => {
5521
5557
  g === "unica" ? v?.(C.has(e) ? [] : [e]) : v?.(C.has(e) ? _.filter((t) => t !== e) : [..._, e]);
5522
5558
  }, D = () => {
@@ -5534,14 +5570,14 @@ function so({ colunas: e, registros: t, chave: n = (e, t) => e.id ?? t, acoes: r
5534
5570
  "aria-label": "Carregando registros",
5535
5571
  children: [/* @__PURE__ */ H("div", { className: "lp-tbl-carregando-cab" }), Array.from({ length: Math.min(b?.tamanho ?? 5, 8) }, (e, t) => /* @__PURE__ */ H("div", {
5536
5572
  className: "lp-tbl-carregando-lin",
5537
- children: /* @__PURE__ */ H(no, {
5538
- largura: oo[t % oo.length],
5573
+ children: /* @__PURE__ */ H(so, {
5574
+ largura: fo[t % fo.length],
5539
5575
  altura: "0.6875rem"
5540
5576
  })
5541
5577
  }, t))]
5542
5578
  }) : c ? /* @__PURE__ */ H("div", {
5543
5579
  className: "lp-tbl-vazio",
5544
- children: /* @__PURE__ */ H(ro, {
5580
+ children: /* @__PURE__ */ H(co, {
5545
5581
  icone: "triangle-alert",
5546
5582
  titulo: "Não foi possível carregar",
5547
5583
  descricao: typeof c == "string" ? c : "Verifique a conexão e tente de novo.",
@@ -5564,7 +5600,7 @@ function so({ colunas: e, registros: t, chave: n = (e, t) => e.id ?? t, acoes: r
5564
5600
  g && /* @__PURE__ */ H("th", {
5565
5601
  className: "lp-tbl-col-sel",
5566
5602
  scope: "col",
5567
- children: g === "multipla" ? /* @__PURE__ */ H(ao, {
5603
+ children: g === "multipla" ? /* @__PURE__ */ H(uo, {
5568
5604
  marcado: w,
5569
5605
  indeterminado: T,
5570
5606
  rotulo: "Selecionar todos os visíveis",
@@ -5599,15 +5635,15 @@ function so({ colunas: e, registros: t, chave: n = (e, t) => e.id ?? t, acoes: r
5599
5635
  children: [
5600
5636
  g && /* @__PURE__ */ H("td", {
5601
5637
  className: "lp-tbl-col-sel",
5602
- children: /* @__PURE__ */ H(ao, {
5638
+ children: /* @__PURE__ */ H(uo, {
5603
5639
  marcado: a,
5604
5640
  rotulo: `Selecionar linha ${n + 1}`,
5605
5641
  aoMudar: () => E(i)
5606
5642
  })
5607
5643
  }),
5608
5644
  e.map((e) => {
5609
- let n = io(t, e.campo), r;
5610
- return r = e.render ? e.render(t) : e.severidade ? /* @__PURE__ */ H($i, {
5645
+ let n = lo(t, e.campo), r;
5646
+ return r = e.render ? e.render(t) : e.severidade ? /* @__PURE__ */ H(ia, {
5611
5647
  rotulo: String(e.formato ? e.formato(n, t) : n ?? ""),
5612
5648
  severidade: e.severidade(t)
5613
5649
  }) : e.formato ? e.formato(n, t) : n == null || n === "" ? "—" : String(n), /* @__PURE__ */ H("td", {
@@ -5628,7 +5664,7 @@ function so({ colunas: e, registros: t, chave: n = (e, t) => e.id ?? t, acoes: r
5628
5664
  })
5629
5665
  }) : /* @__PURE__ */ H("div", {
5630
5666
  className: "lp-tbl-vazio",
5631
- children: /* @__PURE__ */ H(ro, {
5667
+ children: /* @__PURE__ */ H(co, {
5632
5668
  icone: f,
5633
5669
  titulo: u,
5634
5670
  descricao: d,
@@ -5636,7 +5672,7 @@ function so({ colunas: e, registros: t, chave: n = (e, t) => e.id ?? t, acoes: r
5636
5672
  })
5637
5673
  }), /* @__PURE__ */ U("div", {
5638
5674
  className: X("lp-tbl-card", x),
5639
- children: [j, b && !o && !c && b.total > 0 && /* @__PURE__ */ H(to, {
5675
+ children: [j, b && !o && !c && b.total > 0 && /* @__PURE__ */ H(oo, {
5640
5676
  embutida: !0,
5641
5677
  ...b
5642
5678
  })]
@@ -5644,14 +5680,14 @@ function so({ colunas: e, registros: t, chave: n = (e, t) => e.id ?? t, acoes: r
5644
5680
  }
5645
5681
  //#endregion
5646
5682
  //#region src/components/Lista/Lista.tsx
5647
- function co({ children: e, variante: t = "padrao", numerada: n = !1, horizontal: r = !1, rotulo: i, className: a }) {
5683
+ function mo({ children: e, variante: t = "padrao", numerada: n = !1, horizontal: r = !1, rotulo: i, className: a }) {
5648
5684
  return /* @__PURE__ */ H(n ? "ol" : "ul", {
5649
5685
  "aria-label": i,
5650
5686
  className: X("lp-lista", t === "sem-borda" && "lp-lista--sem-borda", n && "lp-lista--numerada", r === !0 && "lp-lista--horizontal", typeof r == "string" && `lp-lista--horizontal-${r}`, a),
5651
5687
  children: e
5652
5688
  });
5653
5689
  }
5654
- function lo({ children: e, titulo: t, icone: n, inicio: r, fim: i, ativo: a = !1, desabilitado: o = !1, cor: s, solido: c = !1, href: l, onClick: u, marcacao: d, marcado: f, aoMarcar: p, nome: m, className: h }) {
5690
+ function ho({ children: e, titulo: t, icone: n, inicio: r, fim: i, ativo: a = !1, desabilitado: o = !1, cor: s, solido: c = !1, href: l, onClick: u, marcacao: d, marcado: f, aoMarcar: p, nome: m, className: h }) {
5655
5691
  let g = r ?? (n ? /* @__PURE__ */ H(Z, {
5656
5692
  icone: n,
5657
5693
  className: "lp-lista-icone"
@@ -5711,7 +5747,7 @@ function lo({ children: e, titulo: t, icone: n, inicio: r, fim: i, ativo: a = !1
5711
5747
  }
5712
5748
  //#endregion
5713
5749
  //#region src/components/ListaCards/ListaCards.tsx
5714
- function uo({ itens: e, card: t, chave: n = (e, t) => e.id ?? t, larguraMin: r = "16rem", alturaCard: i = "8.5rem", rotulo: a, carregando: o, atualizando: s, erro: c, aoRecarregar: l, vazioTitulo: u = "Nenhum registro encontrado", vazioDescricao: d, vazioIcone: f = "inbox", vazioAcoes: p, paginacao: m, className: h }) {
5750
+ function go({ itens: e, card: t, chave: n = (e, t) => e.id ?? t, larguraMin: r = "16rem", alturaCard: i = "8.5rem", rotulo: a, carregando: o, atualizando: s, erro: c, aoRecarregar: l, vazioTitulo: u = "Nenhum registro encontrado", vazioDescricao: d, vazioIcone: f = "inbox", vazioAcoes: p, paginacao: m, className: h }) {
5715
5751
  let g = { "--lp-cards-min": r }, _;
5716
5752
  return _ = o ? /* @__PURE__ */ H("div", {
5717
5753
  className: "lp-cards",
@@ -5719,8 +5755,8 @@ function uo({ itens: e, card: t, chave: n = (e, t) => e.id ?? t, larguraMin: r =
5719
5755
  role: "status",
5720
5756
  "aria-busy": "true",
5721
5757
  "aria-label": "Carregando registros",
5722
- children: Array.from({ length: Math.min(m?.tamanho ?? 6, 12) }, (e, t) => /* @__PURE__ */ H(no, { altura: i }, t))
5723
- }) : c ? /* @__PURE__ */ H(ro, {
5758
+ children: Array.from({ length: Math.min(m?.tamanho ?? 6, 12) }, (e, t) => /* @__PURE__ */ H(so, { altura: i }, t))
5759
+ }) : c ? /* @__PURE__ */ H(co, {
5724
5760
  icone: "triangle-alert",
5725
5761
  titulo: "Não foi possível carregar",
5726
5762
  descricao: typeof c == "string" ? c : "Verifique a conexão e tente de novo.",
@@ -5740,24 +5776,24 @@ function uo({ itens: e, card: t, chave: n = (e, t) => e.id ?? t, larguraMin: r =
5740
5776
  className: "lp-cards-cel",
5741
5777
  children: t(e, r)
5742
5778
  }, n(e, r)))
5743
- }) : /* @__PURE__ */ H(ro, {
5779
+ }) : /* @__PURE__ */ H(co, {
5744
5780
  icone: f,
5745
5781
  titulo: u,
5746
5782
  descricao: d,
5747
5783
  children: p
5748
5784
  }), /* @__PURE__ */ U("div", {
5749
5785
  className: X("lp-cards-lista", h),
5750
- children: [_, m && !o && !c && m.total > 0 && /* @__PURE__ */ H(to, { ...m })]
5786
+ children: [_, m && !o && !c && m.total > 0 && /* @__PURE__ */ H(oo, { ...m })]
5751
5787
  });
5752
5788
  }
5753
5789
  //#endregion
5754
5790
  //#region src/components/Indicador/Indicador.tsx
5755
- var fo = new Intl.NumberFormat("pt-BR"), po = new Intl.NumberFormat("pt-BR", {
5791
+ var _o = new Intl.NumberFormat("pt-BR"), vo = new Intl.NumberFormat("pt-BR", {
5756
5792
  minimumFractionDigits: 2,
5757
5793
  maximumFractionDigits: 2
5758
5794
  });
5759
- function mo({ rotulo: e, valor: t, icone: n, cor: r, href: i, aoClicar: a, carregando: o, variacao: s, variacaoBoa: c = "alta", descricao: l, children: u, className: d }) {
5760
- let f = typeof t == "number" ? fo.format(t) : t, p = (s ?? 0) >= 0, m = p === (c === "alta"), h = r ? { "--ind-cor": r } : void 0;
5795
+ function yo({ rotulo: e, valor: t, icone: n, cor: r, href: i, aoClicar: a, carregando: o, variacao: s, variacaoBoa: c = "alta", descricao: l, children: u, className: d }) {
5796
+ let f = typeof t == "number" ? _o.format(t) : t, p = (s ?? 0) >= 0, m = p === (c === "alta"), h = r ? { "--ind-cor": r } : void 0;
5761
5797
  return /* @__PURE__ */ U("div", {
5762
5798
  className: X("lp-ind", r && "lp-ind--cor", (!!i || !!a) && "lp-ind--link", d),
5763
5799
  style: h,
@@ -5783,7 +5819,7 @@ function mo({ rotulo: e, valor: t, icone: n, cor: r, href: i, aoClicar: a, carre
5783
5819
  children: /* @__PURE__ */ H(Z, { icone: n })
5784
5820
  })]
5785
5821
  }),
5786
- o ? /* @__PURE__ */ H(no, {
5822
+ o ? /* @__PURE__ */ H(so, {
5787
5823
  largura: "4.5rem",
5788
5824
  altura: "1.8rem"
5789
5825
  }) : s === void 0 ? /* @__PURE__ */ H("div", {
@@ -5798,7 +5834,7 @@ function mo({ rotulo: e, valor: t, icone: n, cor: r, href: i, aoClicar: a, carre
5798
5834
  className: X("lp-ind-var", m ? "is-boa" : "is-ruim"),
5799
5835
  children: [
5800
5836
  /* @__PURE__ */ H(Z, { icone: p ? "arrow-up" : "arrow-down" }),
5801
- po.format(Math.abs(s)),
5837
+ vo.format(Math.abs(s)),
5802
5838
  "%",
5803
5839
  /* @__PURE__ */ H("span", {
5804
5840
  className: "lp-sr",
@@ -5818,7 +5854,7 @@ function mo({ rotulo: e, valor: t, icone: n, cor: r, href: i, aoClicar: a, carre
5818
5854
  ]
5819
5855
  });
5820
5856
  }
5821
- function ho({ children: e, className: t }) {
5857
+ function bo({ children: e, className: t }) {
5822
5858
  return /* @__PURE__ */ H("div", {
5823
5859
  className: X("lp-inds", t),
5824
5860
  children: e
@@ -5826,7 +5862,7 @@ function ho({ children: e, className: t }) {
5826
5862
  }
5827
5863
  //#endregion
5828
5864
  //#region src/components/Detalhes/Detalhes.tsx
5829
- function go({ rotulo: e, valor: t, disposicao: n = "coluna", children: r, className: i }) {
5865
+ function xo({ rotulo: e, valor: t, disposicao: n = "coluna", children: r, className: i }) {
5830
5866
  let a = r ?? (t == null || t === "" ? "—" : t);
5831
5867
  return /* @__PURE__ */ U("div", {
5832
5868
  className: X("lp-det", n === "linha" && "lp-det--linha", i),
@@ -5841,7 +5877,7 @@ function go({ rotulo: e, valor: t, disposicao: n = "coluna", children: r, classN
5841
5877
  }
5842
5878
  //#endregion
5843
5879
  //#region src/components/Badge/Badge.tsx
5844
- function _o({ cor: e = "pri", aparencia: t = "solido", formato: n = "padrao", tamanho: r = "pequeno", icone: i, rotulo: a, children: o, className: s }) {
5880
+ function So({ cor: e = "pri", aparencia: t = "solido", formato: n = "padrao", tamanho: r = "pequeno", icone: i, rotulo: a, children: o, className: s }) {
5845
5881
  return /* @__PURE__ */ U("span", {
5846
5882
  className: X("lp-badge", `lp-badge--${t}`, n === "pilula" && "lp-badge--pilula", `lp-badge--${r}`, s),
5847
5883
  "data-cor": e,
@@ -5852,7 +5888,7 @@ function _o({ cor: e = "pri", aparencia: t = "solido", formato: n = "padrao", ta
5852
5888
  ]
5853
5889
  });
5854
5890
  }
5855
- function vo({ children: e, conteudo: t, max: n = 99, ponto: r = !1, cor: i = "err", posicao: a = "superior-direita", descricao: o, className: s }) {
5891
+ function Co({ children: e, conteudo: t, max: n = 99, ponto: r = !1, cor: i = "err", posicao: a = "superior-direita", descricao: o, className: s }) {
5856
5892
  let c = t == null || t === !1 || t === "", l = typeof t == "number" && t > n ? `${n}+` : t;
5857
5893
  return /* @__PURE__ */ U("span", {
5858
5894
  className: X("lp-com-badge", s),
@@ -5868,7 +5904,7 @@ function vo({ children: e, conteudo: t, max: n = 99, ponto: r = !1, cor: i = "er
5868
5904
  }
5869
5905
  //#endregion
5870
5906
  //#region src/components/Placa/Placa.tsx
5871
- function yo({ numero: e, uf: t = "PR", className: n }) {
5907
+ function wo({ numero: e, uf: t = "PR", className: n }) {
5872
5908
  let r = (e ?? "").toUpperCase(), i = (t ?? "").toUpperCase();
5873
5909
  return /* @__PURE__ */ U("span", {
5874
5910
  className: X("lp-placa", n),
@@ -5890,7 +5926,7 @@ function yo({ numero: e, uf: t = "PR", className: n }) {
5890
5926
  }
5891
5927
  //#endregion
5892
5928
  //#region src/components/Citacao/Citacao.tsx
5893
- function bo({ children: e, autor: t, fonte: n, cor: r = "pri", aparencia: i = "simples", alinhamento: a = "inicio", icone: o = "info", className: s }) {
5929
+ function To({ children: e, autor: t, fonte: n, cor: r = "pri", aparencia: i = "simples", alinhamento: a = "inicio", icone: o = "info", className: s }) {
5894
5930
  return /* @__PURE__ */ U("figure", {
5895
5931
  className: X("lp-citacao", r !== "pri" && `lp-citacao--${r}`, `lp-citacao--${i}`, a !== "inicio" && `lp-citacao--${a}`, s),
5896
5932
  children: [
@@ -5919,7 +5955,7 @@ function bo({ children: e, autor: t, fonte: n, cor: r = "pri", aparencia: i = "s
5919
5955
  }
5920
5956
  //#endregion
5921
5957
  //#region src/components/Imagem/Imagem.tsx
5922
- function xo({ responsiva: e = !0, cantos: t = "reto", miniatura: n = !1, alinhamento: r, proporcao: i, largura: a, loading: o = "lazy", className: s, style: c, ...l }) {
5958
+ function Eo({ responsiva: e = !0, cantos: t = "reto", miniatura: n = !1, alinhamento: r, proporcao: i, largura: a, loading: o = "lazy", className: s, style: c, ...l }) {
5923
5959
  return /* @__PURE__ */ H("img", {
5924
5960
  loading: o,
5925
5961
  className: X("lp-img", e && "lp-img--responsiva", t !== "reto" && `lp-img--${t}`, n && "lp-img--miniatura", r && `lp-img--${r}`, i && "lp-img--recorte", s),
@@ -5931,14 +5967,14 @@ function xo({ responsiva: e = !0, cantos: t = "reto", miniatura: n = !1, alinham
5931
5967
  ...l
5932
5968
  });
5933
5969
  }
5934
- function So({ src: e, alt: t, legenda: n, alinhamentoLegenda: r = "inicio", cantos: i = "arredondado", miniatura: a, proporcao: o, alinhamento: s, largura: c, className: l, style: u }) {
5970
+ function Do({ src: e, alt: t, legenda: n, alinhamentoLegenda: r = "inicio", cantos: i = "arredondado", miniatura: a, proporcao: o, alinhamento: s, largura: c, className: l, style: u }) {
5935
5971
  return /* @__PURE__ */ U("figure", {
5936
5972
  className: X("lp-figura", s && `lp-figura--${s}`, l),
5937
5973
  style: {
5938
5974
  width: c,
5939
5975
  ...u
5940
5976
  },
5941
- children: [/* @__PURE__ */ H(xo, {
5977
+ children: [/* @__PURE__ */ H(Eo, {
5942
5978
  src: e,
5943
5979
  alt: t,
5944
5980
  cantos: i,
@@ -5953,7 +5989,7 @@ function So({ src: e, alt: t, legenda: n, alinhamentoLegenda: r = "inicio", cant
5953
5989
  }
5954
5990
  //#endregion
5955
5991
  //#region src/components/BotaoFechar/BotaoFechar.tsx
5956
- function Co({ variante: e = "padrao", tamanho: t = "medio", rotulo: n = "Fechar", className: r, type: i = "button", ...a }) {
5992
+ function Oo({ variante: e = "padrao", tamanho: t = "medio", rotulo: n = "Fechar", className: r, type: i = "button", ...a }) {
5957
5993
  return /* @__PURE__ */ H("button", {
5958
5994
  type: i,
5959
5995
  className: X("lp-fechar", e === "claro" && "lp-fechar--claro", t === "pequeno" && "lp-fechar--pequeno", r),
@@ -5965,7 +6001,7 @@ function Co({ variante: e = "padrao", tamanho: t = "medio", rotulo: n = "Fechar"
5965
6001
  }
5966
6002
  //#endregion
5967
6003
  //#region src/components/Carregando/Carregando.tsx
5968
- function wo({ mensagem: e = "Carregando", logo: t, bloqueante: n = !1, className: r }) {
6004
+ function ko({ mensagem: e = "Carregando", logo: t, bloqueante: n = !1, className: r }) {
5969
6005
  let i = J(null);
5970
6006
  K(() => {
5971
6007
  if (!n) return;
@@ -6017,16 +6053,16 @@ function wo({ mensagem: e = "Carregando", logo: t, bloqueante: n = !1, className
6017
6053
  }
6018
6054
  //#endregion
6019
6055
  //#region src/components/Girador/Girador.tsx
6020
- var To = {
6056
+ var Ao = {
6021
6057
  pequeno: "1rem",
6022
6058
  medio: "1.75rem",
6023
6059
  grande: "2.75rem"
6024
6060
  };
6025
- function Eo({ tipo: e = "anel", cor: t = "pri", tamanho: n = "medio", rotulo: r = "Carregando...", mostrarRotulo: i = !1, className: a }) {
6061
+ function jo({ tipo: e = "anel", cor: t = "pri", tamanho: n = "medio", rotulo: r = "Carregando...", mostrarRotulo: i = !1, className: a }) {
6026
6062
  return /* @__PURE__ */ U("span", {
6027
6063
  role: "status",
6028
6064
  className: X("lp-girador", `lp-girador--${e}`, t !== "pri" && `lp-girador--${t}`, a),
6029
- style: { "--gir-tam": To[n] ?? n },
6065
+ style: { "--gir-tam": Ao[n] ?? n },
6030
6066
  children: [/* @__PURE__ */ H("span", {
6031
6067
  className: "lp-girador-forma",
6032
6068
  "aria-hidden": "true",
@@ -6043,9 +6079,9 @@ function Eo({ tipo: e = "anel", cor: t = "pri", tamanho: n = "medio", rotulo: r
6043
6079
  }
6044
6080
  //#endregion
6045
6081
  //#region src/components/Progresso/Progresso.tsx
6046
- var Do = (e, t) => Math.max(0, Math.min(100, e / t * 100)), Oo = (e, t) => `${Math.round(Do(e, t))}%`;
6047
- function ko({ valor: e = 0, max: t = 100, segmentos: n, cor: r = "pri", aparencia: i = "solido", animado: a = !1, entrada: o = !1, altura: s = "md", mostrarValor: c = "nenhum", marcador: l = !1, marcos: u, trilhaColorida: d = !1, etiqueta: f, rotulo: p, formatar: m = Oo, className: h }) {
6048
- let g = Do(e, t), _ = m(e, t), v = (e) => X("lp-prog-barra", `lp-prog--${e}`, i !== "solido" && `lp-prog-barra--${i}`, a && "lp-prog-barra--animado", o && "lp-prog-barra--entrada");
6082
+ var Mo = (e, t) => Math.max(0, Math.min(100, e / t * 100)), No = (e, t) => `${Math.round(Mo(e, t))}%`;
6083
+ function Po({ valor: e = 0, max: t = 100, segmentos: n, cor: r = "pri", aparencia: i = "solido", animado: a = !1, entrada: o = !1, altura: s = "md", mostrarValor: c = "nenhum", marcador: l = !1, marcos: u, trilhaColorida: d = !1, etiqueta: f, rotulo: p, formatar: m = No, className: h }) {
6084
+ let g = Mo(e, t), _ = m(e, t), v = (e) => X("lp-prog-barra", `lp-prog--${e}`, i !== "solido" && `lp-prog-barra--${i}`, a && "lp-prog-barra--animado", o && "lp-prog-barra--entrada");
6049
6085
  return /* @__PURE__ */ U("div", {
6050
6086
  className: X("lp-prog", r !== "pri" && `lp-prog--${r}`, `lp-prog--${s}`, d && "lp-prog--trilha-colorida", c === "balao" && "lp-prog--com-balao", h),
6051
6087
  children: [
@@ -6059,7 +6095,7 @@ function ko({ valor: e = 0, max: t = 100, segmentos: n, cor: r = "pri", aparenci
6059
6095
  "aria-label": p,
6060
6096
  children: n.map((e, n) => /* @__PURE__ */ H("div", {
6061
6097
  className: v(e.cor ?? r),
6062
- style: { width: `${Do(e.valor, t)}%` },
6098
+ style: { width: `${Mo(e.valor, t)}%` },
6063
6099
  role: "progressbar",
6064
6100
  "aria-label": e.rotulo,
6065
6101
  "aria-valuenow": e.valor,
@@ -6090,7 +6126,7 @@ function ko({ valor: e = 0, max: t = 100, segmentos: n, cor: r = "pri", aparenci
6090
6126
  }),
6091
6127
  u?.map((n) => /* @__PURE__ */ H("span", {
6092
6128
  className: X("lp-prog-marco", n <= e && "is-atingido"),
6093
- style: { left: `${Do(n, t)}%` },
6129
+ style: { left: `${Mo(n, t)}%` },
6094
6130
  "aria-hidden": "true"
6095
6131
  }, n)),
6096
6132
  l && /* @__PURE__ */ H("span", {
@@ -6119,8 +6155,8 @@ function ko({ valor: e = 0, max: t = 100, segmentos: n, cor: r = "pri", aparenci
6119
6155
  }
6120
6156
  //#endregion
6121
6157
  //#region src/components/Conversa/Conversa.tsx
6122
- var Ao = 24;
6123
- function jo({ children: e, vazio: t, campo: n, larguraMaxima: r, rotulo: i = "Conversa", rotuloIrParaFim: a = "Ir para o fim", className: o }) {
6158
+ var Fo = 24;
6159
+ function Io({ children: e, vazio: t, campo: n, larguraMaxima: r, rotulo: i = "Conversa", rotuloIrParaFim: a = "Ir para o fim", className: o }) {
6124
6160
  let s = J(null), c = J(null), l = J(!0), [u, d] = Y(!1), f = St.toArray(e), p = f.length === 0, m = J(f.length), h = f.length > m.current && f.slice(m.current).some((e) => Dt(e) && e.props.autor === "usuario"), g = W(() => {
6125
6161
  let e = s.current;
6126
6162
  e && (e.scrollTop = e.scrollHeight, l.current = !0, d(!1));
@@ -6139,7 +6175,7 @@ function jo({ children: e, vazio: t, campo: n, larguraMaxima: r, rotulo: i = "Co
6139
6175
  let _ = () => {
6140
6176
  let e = s.current;
6141
6177
  if (!e) return;
6142
- let t = e.scrollHeight - e.scrollTop - e.clientHeight <= Ao;
6178
+ let t = e.scrollHeight - e.scrollTop - e.clientHeight <= Fo;
6143
6179
  l.current = t, d(!t);
6144
6180
  }, v = r ? { "--conversa-largura": r } : void 0;
6145
6181
  return /* @__PURE__ */ U("div", {
@@ -6160,7 +6196,7 @@ function jo({ children: e, vazio: t, campo: n, larguraMaxima: r, rotulo: i = "Co
6160
6196
  "aria-live": "polite",
6161
6197
  children: p ? /* @__PURE__ */ H("div", {
6162
6198
  className: "lp-conversa-vazio",
6163
- children: t ?? /* @__PURE__ */ H(ro, {
6199
+ children: t ?? /* @__PURE__ */ H(co, {
6164
6200
  titulo: "Nenhuma mensagem ainda",
6165
6201
  descricao: "Envie uma mensagem para começar a conversa.",
6166
6202
  icone: "message-square"
@@ -6184,10 +6220,10 @@ function jo({ children: e, vazio: t, campo: n, larguraMaxima: r, rotulo: i = "Co
6184
6220
  }
6185
6221
  //#endregion
6186
6222
  //#region src/components/Mensagem/Mensagem.tsx
6187
- function Mo(e) {
6223
+ function Lo(e) {
6188
6224
  return e.toDateString() === (/* @__PURE__ */ new Date()).toDateString() ? Ln(e) : zn(e);
6189
6225
  }
6190
- function No({ autor: e = "assistente", children: t, nome: n, avatar: r, hora: i, estado: a = "concluida", erro: o, aoTentarNovamente: s, copiavel: c = !1, textoCopia: l, acoes: u, rodape: d, rotuloTentarNovamente: f = "Tentar novamente", rotuloCopiar: p = "Copiar mensagem", rotuloGerando: m = "Gerando resposta", rotuloEnviando: h = "Enviando", className: g }) {
6226
+ function Ro({ autor: e = "assistente", children: t, nome: n, avatar: r, hora: i, estado: a = "concluida", erro: o, aoTentarNovamente: s, copiavel: c = !1, textoCopia: l, acoes: u, rodape: d, rotuloTentarNovamente: f = "Tentar novamente", rotuloCopiar: p = "Copiar mensagem", rotuloGerando: m = "Gerando resposta", rotuloEnviando: h = "Enviando", className: g }) {
6191
6227
  let _ = Ur(), v = J(null), y = J(void 0), [b, x] = Y(!1);
6192
6228
  K(() => () => window.clearTimeout(y.current), []);
6193
6229
  let S = t == null || t === !1 || t === "", C = typeof t == "string", w = a === "gerando", T = a === "erro", E = async () => {
@@ -6206,10 +6242,10 @@ function No({ autor: e = "assistente", children: t, nome: n, avatar: r, hora: i,
6206
6242
  children: t
6207
6243
  })
6208
6244
  });
6209
- let D = r === !0 ? /* @__PURE__ */ H(ti, {
6245
+ let D = r === !0 ? /* @__PURE__ */ H(oi, {
6210
6246
  nome: n,
6211
6247
  tom: e === "usuario" ? "escuro" : "claro"
6212
- }) : typeof r == "string" ? /* @__PURE__ */ H(ti, {
6248
+ }) : typeof r == "string" ? /* @__PURE__ */ H(oi, {
6213
6249
  foto: r,
6214
6250
  nome: n
6215
6251
  }) : r, O = c && !S && !w || !!u, k = i instanceof Date ? i.toISOString() : void 0;
@@ -6229,7 +6265,7 @@ function No({ autor: e = "assistente", children: t, nome: n, avatar: r, hora: i,
6229
6265
  children: n
6230
6266
  }), i && /* @__PURE__ */ H("time", {
6231
6267
  dateTime: k,
6232
- children: i instanceof Date ? Mo(i) : i
6268
+ children: i instanceof Date ? Lo(i) : i
6233
6269
  })]
6234
6270
  }),
6235
6271
  (!S || w || d) && /* @__PURE__ */ U("div", {
@@ -6301,8 +6337,8 @@ function No({ autor: e = "assistente", children: t, nome: n, avatar: r, hora: i,
6301
6337
  }
6302
6338
  //#endregion
6303
6339
  //#region src/components/CampoMensagem/CampoMensagem.tsx
6304
- var Po = .8, Fo = Et(function({ valor: e, aoMudar: t, aoEnviar: n, gerando: r = !1, aoParar: i, desabilitado: a = !1, placeholder: o = "Escreva uma mensagem", maxCaracteres: s, linhasMaximas: c = 6, autoFocus: l, acoesExtras: u, rotulo: d = "Mensagem", rotuloEnviar: f = "Enviar mensagem", rotuloParar: p = "Parar", id: m, className: h }, g) {
6305
- let { id: _ } = Di(m), v = J(null);
6340
+ var zo = .8, Bo = Et(function({ valor: e, aoMudar: t, aoEnviar: n, gerando: r = !1, aoParar: i, desabilitado: a = !1, placeholder: o = "Escreva uma mensagem", maxCaracteres: s, linhasMaximas: c = 6, autoFocus: l, acoesExtras: u, rotulo: d = "Mensagem", rotuloEnviar: f = "Enviar mensagem", rotuloParar: p = "Parar", id: m, className: h }, g) {
6341
+ let { id: _ } = Mi(m), v = J(null);
6306
6342
  Ot(g, () => v.current);
6307
6343
  let y = e.trim(), b = !a && !r && y !== "" && (!s || e.length <= s), x = s ? e.length / s : 0, S = W(() => {
6308
6344
  let e = v.current;
@@ -6354,7 +6390,7 @@ var Po = .8, Fo = Et(function({ valor: e, aoMudar: t, aoEnviar: n, gerando: r =
6354
6390
  className: "lp-campo-mensagem-extras",
6355
6391
  children: u
6356
6392
  }),
6357
- s && x >= Po && /* @__PURE__ */ U("span", {
6393
+ s && x >= zo && /* @__PURE__ */ U("span", {
6358
6394
  className: X("lp-campo-mensagem-contador", x >= 1 ? "is-err" : x >= .9 && "is-warn"),
6359
6395
  "aria-hidden": "true",
6360
6396
  children: [
@@ -6381,8 +6417,8 @@ var Po = .8, Fo = Et(function({ valor: e, aoMudar: t, aoEnviar: n, gerando: r =
6381
6417
  })
6382
6418
  ]
6383
6419
  });
6384
- }), Io = (e) => e === 1 ? "1 fonte" : `${e} fontes`;
6385
- function Lo({ children: e, mais: t, menos: n }) {
6420
+ }), Vo = (e) => e === 1 ? "1 fonte" : `${e} fontes`;
6421
+ function Ho({ children: e, mais: t, menos: n }) {
6386
6422
  let r = J(null), [i, a] = Y(!1), [o, s] = Y(!1);
6387
6423
  return kt(() => {
6388
6424
  let e = r.current;
@@ -6403,7 +6439,7 @@ function Lo({ children: e, mais: t, menos: n }) {
6403
6439
  children: i ? n : t
6404
6440
  })] });
6405
6441
  }
6406
- function Ro({ itens: e, abertoInicial: t = !1, rotulo: n = Io, rotuloMostrarMais: r = "Mostrar trecho completo", rotuloMostrarMenos: i = "Mostrar menos", className: a }) {
6442
+ function Uo({ itens: e, abertoInicial: t = !1, rotulo: n = Vo, rotuloMostrarMais: r = "Mostrar trecho completo", rotuloMostrarMenos: i = "Mostrar menos", className: a }) {
6407
6443
  let o = q(), [s, c] = Y(t);
6408
6444
  return e.length ? /* @__PURE__ */ U("div", {
6409
6445
  className: X("lp-referencias", s && "is-aberto", a),
@@ -6421,7 +6457,7 @@ function Ro({ itens: e, abertoInicial: t = !1, rotulo: n = Io, rotuloMostrarMais
6421
6457
  className: "lp-referencias-seta"
6422
6458
  })
6423
6459
  ]
6424
- }), /* @__PURE__ */ H(ga, {
6460
+ }), /* @__PURE__ */ H(xa, {
6425
6461
  aberto: s,
6426
6462
  id: o,
6427
6463
  children: /* @__PURE__ */ H("ol", {
@@ -6449,7 +6485,7 @@ function Ro({ itens: e, abertoInicial: t = !1, rotulo: n = Io, rotuloMostrarMais
6449
6485
  className: "lp-referencias-detalhe",
6450
6486
  children: e.detalhe
6451
6487
  })]
6452
- }), e.trecho && /* @__PURE__ */ H(Lo, {
6488
+ }), e.trecho && /* @__PURE__ */ H(Ho, {
6453
6489
  mais: r,
6454
6490
  menos: i,
6455
6491
  children: e.trecho
@@ -6462,24 +6498,24 @@ function Ro({ itens: e, abertoInicial: t = !1, rotulo: n = Io, rotuloMostrarMais
6462
6498
  }
6463
6499
  //#endregion
6464
6500
  //#region src/components/Arquivo/VisualizadorArquivo.tsx
6465
- var zo = [
6501
+ var Wo = [
6466
6502
  1,
6467
6503
  1.5,
6468
6504
  2,
6469
6505
  3,
6470
6506
  4
6471
6507
  ];
6472
- function Bo({ arquivo: e, aoFalhar: t, className: n }) {
6508
+ function Go({ arquivo: e, aoFalhar: t, className: n }) {
6473
6509
  let r = e ? `${e.url ?? ""}|${e.nome}` : "vazio";
6474
6510
  return /* @__PURE__ */ H("div", {
6475
6511
  className: X("lp-visu", n),
6476
- children: /* @__PURE__ */ H(Vo, {
6512
+ children: /* @__PURE__ */ H(Ko, {
6477
6513
  arquivo: e,
6478
6514
  aoFalhar: t
6479
6515
  }, r)
6480
6516
  });
6481
6517
  }
6482
- function Vo({ arquivo: e, aoFalhar: t }) {
6518
+ function Ko({ arquivo: e, aoFalhar: t }) {
6483
6519
  let [n, r] = Y(!1), i = e?.url?.trim(), a = e ? Jn(e.tipo, e.nome) : "outro", o = () => {
6484
6520
  r(!0), e && t?.(e);
6485
6521
  };
@@ -6487,7 +6523,7 @@ function Vo({ arquivo: e, aoFalhar: t }) {
6487
6523
  let t = [e?.nome, e?.tamanho ? Kn(e.tamanho) : ""].filter(Boolean).join(" · ");
6488
6524
  return /* @__PURE__ */ H("div", {
6489
6525
  className: "lp-visu-indisponivel",
6490
- children: /* @__PURE__ */ H(ro, {
6526
+ children: /* @__PURE__ */ H(co, {
6491
6527
  icone: e ? Yn(e.tipo, e.nome) : "file",
6492
6528
  titulo: i ? "Pré-visualização indisponível" : "Arquivo indisponível",
6493
6529
  descricao: t || void 0,
@@ -6502,7 +6538,7 @@ function Vo({ arquivo: e, aoFalhar: t }) {
6502
6538
  })
6503
6539
  });
6504
6540
  }
6505
- return a === "imagem" ? /* @__PURE__ */ H(Ho, {
6541
+ return a === "imagem" ? /* @__PURE__ */ H(qo, {
6506
6542
  url: i,
6507
6543
  nome: e.nome,
6508
6544
  aoFalhar: o
@@ -6534,11 +6570,11 @@ function Vo({ arquivo: e, aoFalhar: t }) {
6534
6570
  ]
6535
6571
  });
6536
6572
  }
6537
- function Ho({ url: e, nome: t, aoFalhar: n }) {
6573
+ function qo({ url: e, nome: t, aoFalhar: n }) {
6538
6574
  let [r, i] = Y(0), [a, o] = Y(0), [s, c] = Y({
6539
6575
  x: 0,
6540
6576
  y: 0
6541
- }), l = J(null), u = J(null), d = zo[r], f = (e, t) => {
6577
+ }), l = J(null), u = J(null), d = Wo[r], f = (e, t) => {
6542
6578
  let n = l.current?.getBoundingClientRect();
6543
6579
  if (!n) return {
6544
6580
  x: e,
@@ -6550,7 +6586,7 @@ function Ho({ url: e, nome: t, aoFalhar: n }) {
6550
6586
  y: Math.max(-i, Math.min(i, t))
6551
6587
  };
6552
6588
  }, p = (e) => {
6553
- let t = Math.max(0, Math.min(zo.length - 1, e));
6589
+ let t = Math.max(0, Math.min(Wo.length - 1, e));
6554
6590
  i(t), t === 0 && c({
6555
6591
  x: 0,
6556
6592
  y: 0
@@ -6582,7 +6618,7 @@ function Ho({ url: e, nome: t, aoFalhar: n }) {
6582
6618
  else return;
6583
6619
  e.preventDefault();
6584
6620
  },
6585
- onDoubleClick: () => r === 0 ? i(zo.indexOf(2)) : m(),
6621
+ onDoubleClick: () => r === 0 ? i(Wo.indexOf(2)) : m(),
6586
6622
  onPointerDown: (e) => {
6587
6623
  d <= 1 || (e.currentTarget.setPointerCapture(e.pointerId), u.current = {
6588
6624
  x: e.clientX,
@@ -6629,7 +6665,7 @@ function Ho({ url: e, nome: t, aoFalhar: n }) {
6629
6665
  aparencia: "texto",
6630
6666
  dica: "Ampliar",
6631
6667
  "aria-label": "Ampliar",
6632
- disabled: r === zo.length - 1,
6668
+ disabled: r === Wo.length - 1,
6633
6669
  onClick: () => p(r + 1)
6634
6670
  }),
6635
6671
  /* @__PURE__ */ H($, {
@@ -6654,13 +6690,13 @@ function Ho({ url: e, nome: t, aoFalhar: n }) {
6654
6690
  }
6655
6691
  //#endregion
6656
6692
  //#region src/components/Arquivo/DialogoArquivo.tsx
6657
- var Uo = "video, audio, input, textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"]";
6658
- function Wo({ aberto: e, aoFechar: t, arquivos: n, indice: r, aoMudarIndice: i }) {
6693
+ var Jo = "video, audio, input, textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"]";
6694
+ function Yo({ aberto: e, aoFechar: t, arquivos: n, indice: r, aoMudarIndice: i }) {
6659
6695
  let a = n.length, o = Math.max(0, Math.min(r, a - 1)), s = n[o] ?? null;
6660
6696
  return K(() => {
6661
6697
  if (!e || a < 2) return;
6662
6698
  let t = (e) => {
6663
- e.target?.closest?.(Uo) || (e.key === "ArrowLeft" && o > 0 ? i(o - 1) : e.key === "ArrowRight" && o < a - 1 && i(o + 1));
6699
+ e.target?.closest?.(Jo) || (e.key === "ArrowLeft" && o > 0 ? i(o - 1) : e.key === "ArrowRight" && o < a - 1 && i(o + 1));
6664
6700
  };
6665
6701
  return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
6666
6702
  }, [
@@ -6668,7 +6704,7 @@ function Wo({ aberto: e, aoFechar: t, arquivos: n, indice: r, aoMudarIndice: i }
6668
6704
  a,
6669
6705
  o,
6670
6706
  i
6671
- ]), /* @__PURE__ */ H(Qi, {
6707
+ ]), /* @__PURE__ */ H(ra, {
6672
6708
  aberto: e,
6673
6709
  aoFechar: t,
6674
6710
  tamanho: "full",
@@ -6702,14 +6738,14 @@ function Wo({ aberto: e, aoFechar: t, arquivos: n, indice: r, aoMudarIndice: i }
6702
6738
  onClick: () => i(o + 1)
6703
6739
  })
6704
6740
  ] }) : void 0,
6705
- children: /* @__PURE__ */ H(Bo, { arquivo: s })
6741
+ children: /* @__PURE__ */ H(Go, { arquivo: s })
6706
6742
  });
6707
6743
  }
6708
6744
  //#endregion
6709
6745
  //#region src/components/Arquivo/CampoAnexo.tsx
6710
- var Go = (e) => `${e.nome}|${e.tamanho}`, Ko = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, className: i, id: a, valor: o = [], aoMudar: s, accept: c, multiple: l = !0, maxTamanho: u = 0, minimo: d = 0, disabled: f = !1 }, p) {
6711
- let { id: m, msgId: h } = Di(a), g = J(null), _ = J(/* @__PURE__ */ new Map()), v = J(/* @__PURE__ */ new Map()), [y, b] = Y(!1), [x, S] = Y(""), [C, w] = Y(null), [T, E] = Y(!1), D = G(wi);
6712
- Ot(p, () => ({ arquivoDe: (e) => _.current.get(Go(e)) ?? null }), []), K(() => () => v.current.forEach((e) => URL.revokeObjectURL(e)), []);
6746
+ var Xo = (e) => `${e.nome}|${e.tamanho}`, Zo = Et(function({ rotulo: e, dica: t, erro: n, aviso: r, className: i, id: a, valor: o = [], aoMudar: s, accept: c, multiple: l = !0, maxTamanho: u = 0, minimo: d = 0, disabled: f = !1 }, p) {
6747
+ let { id: m, msgId: h } = Mi(a), g = J(null), _ = J(/* @__PURE__ */ new Map()), v = J(/* @__PURE__ */ new Map()), [y, b] = Y(!1), [x, S] = Y(""), [C, w] = Y(null), [T, E] = Y(!1), D = G(ki);
6748
+ Ot(p, () => ({ arquivoDe: (e) => _.current.get(Xo(e)) ?? null }), []), K(() => () => v.current.forEach((e) => URL.revokeObjectURL(e)), []);
6713
6749
  let O = (e) => {
6714
6750
  if (!e?.length || f) return;
6715
6751
  E(!0);
@@ -6719,7 +6755,7 @@ var Go = (e) => `${e.nome}|${e.tamanho}`, Ko = Et(function({ rotulo: e, dica: t,
6719
6755
  n.push(r.name);
6720
6756
  continue;
6721
6757
  }
6722
- let e = Go({
6758
+ let e = Xo({
6723
6759
  nome: r.name,
6724
6760
  tamanho: r.size
6725
6761
  });
@@ -6735,16 +6771,16 @@ var Go = (e) => `${e.nome}|${e.tamanho}`, Ko = Et(function({ rotulo: e, dica: t,
6735
6771
  if (S(n.length ? `${mn(n)} excede${n.length > 1 ? "m" : ""} ${Kn(u)}.` : ""), t.length) {
6736
6772
  if (!l) s?.(t.slice(0, 1));
6737
6773
  else {
6738
- let e = new Set(o.map(Go));
6739
- s?.([...o, ...t.filter((t) => !e.has(Go(t)))]);
6774
+ let e = new Set(o.map(Xo));
6775
+ s?.([...o, ...t.filter((t) => !e.has(Xo(t)))]);
6740
6776
  }
6741
6777
  }
6742
6778
  }, k = (e) => {
6743
- E(!0), s?.(o.filter((t) => Go(t) !== Go(e)));
6779
+ E(!0), s?.(o.filter((t) => Xo(t) !== Xo(e)));
6744
6780
  }, A = (e) => {
6745
6781
  e.preventDefault(), b(!1), O(e.dataTransfer.files);
6746
6782
  }, j = d > 0 && o.length < d && (T || D > 0), M = n || x || (j ? d === 1 ? "Anexe pelo menos um arquivo" : `Anexe pelo menos ${d} arquivos` : void 0);
6747
- return /* @__PURE__ */ U(ki, {
6783
+ return /* @__PURE__ */ U(Pi, {
6748
6784
  rotulo: e,
6749
6785
  dica: t,
6750
6786
  erro: M,
@@ -6817,15 +6853,15 @@ var Go = (e) => `${e.nome}|${e.tamanho}`, Ko = Et(function({ rotulo: e, dica: t,
6817
6853
  children: Kn(e.tamanho)
6818
6854
  })]
6819
6855
  })]
6820
- }), !f && /* @__PURE__ */ H(Ta, {
6856
+ }), !f && /* @__PURE__ */ H(Aa, {
6821
6857
  icone: "x",
6822
6858
  rotulo: `Remover ${e.nome}`,
6823
6859
  severidade: "err",
6824
6860
  onClick: () => k(e)
6825
6861
  })]
6826
- }, Go(e)))
6862
+ }, Xo(e)))
6827
6863
  }),
6828
- /* @__PURE__ */ H(Wo, {
6864
+ /* @__PURE__ */ H(Yo, {
6829
6865
  aberto: C !== null,
6830
6866
  aoFechar: () => w(null),
6831
6867
  arquivos: o,
@@ -6834,18 +6870,18 @@ var Go = (e) => `${e.nome}|${e.tamanho}`, Ko = Et(function({ rotulo: e, dica: t,
6834
6870
  })
6835
6871
  ]
6836
6872
  });
6837
- }), qo = {
6873
+ }), Qo = {
6838
6874
  sm: "3rem",
6839
6875
  md: "4.5rem",
6840
6876
  lg: "6rem"
6841
- }, Jo = (e) => (e == null ? [] : Array.isArray(e) ? e : [e]).map((e) => typeof e == "string" ? {
6877
+ }, $o = (e) => (e == null ? [] : Array.isArray(e) ? e : [e]).map((e) => typeof e == "string" ? {
6842
6878
  nome: "",
6843
6879
  tamanho: 0,
6844
6880
  tipo: "image/*",
6845
6881
  url: e
6846
6882
  } : e).filter((e) => !!e?.url?.trim());
6847
- function Yo({ fotos: e, nome: t, tamanho: n = "md", altura: r, largura: i, ampliavel: a = !1, indice: o, aoMudarIndice: s, aoAmpliar: c, semFoto: l, sobreposto: u, className: d }) {
6848
- let f = Jo(e), [p, m] = Y(0), [h, g] = Y(!1), _ = Math.max(0, Math.min(o ?? p, f.length - 1)), v = (e) => {
6883
+ function es({ fotos: e, nome: t, tamanho: n = "md", altura: r, largura: i, ampliavel: a = !1, indice: o, aoMudarIndice: s, aoAmpliar: c, semFoto: l, sobreposto: u, className: d }) {
6884
+ let f = $o(e), [p, m] = Y(0), [h, g] = Y(!1), _ = Math.max(0, Math.min(o ?? p, f.length - 1)), v = (e) => {
6849
6885
  m(e), s?.(e);
6850
6886
  }, y = f[_], b = {
6851
6887
  height: r,
@@ -6854,11 +6890,11 @@ function Yo({ fotos: e, nome: t, tamanho: n = "md", altura: r, largura: i, ampli
6854
6890
  if (!y) return /* @__PURE__ */ U("div", {
6855
6891
  className: X("lp-foto", `lp-foto--${n}`, d),
6856
6892
  style: b,
6857
- children: [l ?? /* @__PURE__ */ H(ti, {
6893
+ children: [l ?? /* @__PURE__ */ H(oi, {
6858
6894
  nome: t,
6859
6895
  tom: "escuro",
6860
6896
  formato: "quadrado",
6861
- tamanho: qo[n]
6897
+ tamanho: Qo[n]
6862
6898
  }), u && /* @__PURE__ */ H("div", {
6863
6899
  className: "lp-foto-sobreposto",
6864
6900
  children: u
@@ -6896,7 +6932,7 @@ function Yo({ fotos: e, nome: t, tamanho: n = "md", altura: r, largura: i, ampli
6896
6932
  className: "lp-foto-sobreposto",
6897
6933
  children: u
6898
6934
  }),
6899
- a && /* @__PURE__ */ H(Wo, {
6935
+ a && /* @__PURE__ */ H(Yo, {
6900
6936
  aberto: h,
6901
6937
  aoFechar: () => g(!1),
6902
6938
  arquivos: f.map((e, t) => ({
@@ -6910,6 +6946,6 @@ function Yo({ fotos: e, nome: t, tamanho: n = "md", altura: r, largura: i, ampli
6910
6946
  });
6911
6947
  }
6912
6948
  //#endregion
6913
- export { fa as Aba, pa as Abas, Ta as AcaoLinha, Ca as Acordeao, Ci as Alerta, Ka as Avaliacao, ti as Avatar, Xa as BUSCA_ATRASO_MS, _o as Badge, ja as Balao, aa as BarraBotoes, xi as BoasVindas, $ as Botao, Co as BotaoFechar, ri as Busca, _i as CabecalhoPagina, ki as Campo, Ko as CampoAnexo, Qa as CampoBusca, Ii as CampoCep, Bi as CampoChassi, $a as CampoCidade, Vi as CampoCnh, Pi as CampoCnpj, Ni as CampoCpf, Fi as CampoCpfCnpj, Wi as CampoData, Ki as CampoDataHora, Ri as CampoEmail, Gi as CampoHora, Hi as CampoImei, Yi as CampoInteiro, Ai as CampoMarcacao, Fo as CampoMensagem, Ji as CampoMoeda, Li as CampoPlaca, zi as CampoRenavam, Ra as CampoSelect, za as CampoSelectMultiplo, Zi as CampoSenha, Ui as CampoTelefone, Fa as CampoTextarea, ji as CampoTexto, Ua as CampoTipoPessoa, Va as CampoUf, Ha as CampoUfMultiplo, ma as Card, wo as Carregando, va as Carrossel, qa as Chip, bo as Citacao, vo as ComBadge, jo as Conversa, go as Detalhes, Qi as Dialogo, Wo as DialogoArquivo, Dr as Dica, un as ESTADOS, Wa as Escolha, gi as Estrutura, So as Figura, Ja as Filtros, Na as Form, Pa as FormSecao, Yo as Foto, Eo as Girador, ia as GrupoAlternancia, ra as GrupoBotoes, ha as GrupoCards, Z as Icone, xo as Imagem, mo as Indicador, ho as Indicadores, wa as ItemAcordeao, lo as ItemLista, co as Lista, uo as ListaCards, Ht as MASCARAS, Ti as MSG_OBRIGATORIO, No as Mensagem, da as MenuSuspenso, fn as OPCOES_ESTADOS, ur as PICKLIST_VAZIO, ar as POLITICA_PADRAO, to as Paginacao, Ya as Picklist, yo as Placa, ko as Progresso, Fr as ProvedorConfirmacao, Yr as ProvedorPreferencias, Vr as ProvedorToast, Zr as ProvedorUi, xa as QuadroArrastavel, ga as Recolhivel, Ro as Referencias, wi as RevelarCamposCtx, tr as SEVERIDADES, no as Skeleton, $i as Status, ln as TIPOS_CAMPO, Ut as TIPOS_DE_CAMPO, pn as TIPOS_PESSOA, so as Tabela, na as TelaErro, ta as TelaLogin, Rr as Toast, li as Trilha, dn as UF_SIGLAS, ro as Vazio, Bo as VisualizadorArquivo, er as apiDefinida, Vt as aplicarMascara, si as caminhoNoMenu, X as cx, Vn as dataBrParaIso, Xn as decodificarJwt, ir as ehSeveridade, Zn as expiracaoJwt, vr as filtrarItens, cr as forcaSenha, Kn as formatBytes, An as formatCpfCnpj, Fn as formatDataBr, zn as formatDataHoraBr, Ln as formatHoraBr, En as formatarNumero, Yn as iconeArquivo, On as iniciais, Zt as isCep, tn as isChassi, nn as isCnh, Jt as isCnpj, qt as isCpf, Yt as isCpfCnpj, on as isData, sn as isDataHora, Xt as isEmail, an as isHora, rn as isImei, $t as isPlaca, en as isRenavam, Qt as isTelefone, Bn as isoParaDataBr, Qn as jwtExpirado, Cn as lerCampo, mn as listaPorExtenso, $n as margemRefreshJwt, pr as moverParaAlvo, mr as moverParaFonte, hr as moverTudoParaAlvo, gr as moverTudoParaFonte, Mn as nomeCurto, Wn as nomeDeArquivo, jn as nomeProprio, kn as normalizar, dr as normalizarPicklistValor, xn as numeroPorExtenso, Pn as parseDataBr, Rn as parseDataHoraBr, In as parseHoraBr, Pt as registrarIcones, _r as reordenarLista, Dn as saudacaoPorHora, Bt as semMascara, lr as senhasIguais, rr as severidadeCor, Jn as tipoDeArquivo, Un as tituloDeEntidade, Za as useBuscaAssincrona, Di as useCampoIds, Ir as useConfirmacao, Xr as usePreferencias, Qr as usePreferenciasOpcional, Hr as useToast, oi as useTrilha, Ei as useValidacaoCampo, Q as validar, sr as validarSenha, cn as validarTelefone, io as valorDoCampo, Sn as valorMonetarioPorExtenso };
6949
+ export { _a as Aba, va as Abas, Aa as AcaoLinha, Oa as Acordeao, Oi as Alerta, Za as Avaliacao, oi as Avatar, to as BUSCA_ATRASO_MS, So as Badge, Ia as Balao, ua as BarraBotoes, Ei as BoasVindas, $ as Botao, Oo as BotaoFechar, ci as Busca, Si as CabecalhoPagina, Pi as Campo, Zo as CampoAnexo, ro as CampoBusca, Vi as CampoCep, Gi as CampoChassi, io as CampoCidade, Ki as CampoCnh, zi as CampoCnpj, Ri as CampoCpf, Bi as CampoCpfCnpj, Yi as CampoData, Zi as CampoDataHora, Ui as CampoEmail, Xi as CampoHora, qi as CampoImei, ea as CampoInteiro, Fi as CampoMarcacao, Bo as CampoMensagem, $i as CampoMoeda, Hi as CampoPlaca, Wi as CampoRenavam, Ua as CampoSelect, Wa as CampoSelectMultiplo, na as CampoSenha, Ji as CampoTelefone, Ba as CampoTextarea, Ii as CampoTexto, Ja as CampoTipoPessoa, Ka as CampoUf, qa as CampoUfMultiplo, ya as Card, ko as Carregando, Ca as Carrossel, Qa as Chip, To as Citacao, Co as ComBadge, Io as Conversa, xo as Detalhes, ra as Dialogo, Yo as DialogoArquivo, Dr as Dica, un as ESTADOS, Ya as Escolha, xi as Estrutura, Do as Figura, $a as Filtros, Ra as Form, za as FormSecao, es as Foto, jo as Girador, la as GrupoAlternancia, ca as GrupoBotoes, ba as GrupoCards, Z as Icone, Eo as Imagem, yo as Indicador, bo as Indicadores, ka as ItemAcordeao, ho as ItemLista, mo as Lista, go as ListaCards, Ht as MASCARAS, Ai as MSG_OBRIGATORIO, Ro as Mensagem, ga as MenuSuspenso, fn as OPCOES_ESTADOS, ur as PICKLIST_VAZIO, ar as POLITICA_PADRAO, oo as Paginacao, eo as Picklist, wo as Placa, Po as Progresso, Fr as ProvedorConfirmacao, ei as ProvedorPreferencias, Vr as ProvedorToast, ni as ProvedorUi, Ea as QuadroArrastavel, xa as Recolhivel, Uo as Referencias, ki as RevelarCamposCtx, tr as SEVERIDADES, so as Skeleton, ia as Status, ln as TIPOS_CAMPO, Ut as TIPOS_DE_CAMPO, pn as TIPOS_PESSOA, po as Tabela, sa as TelaErro, oa as TelaLogin, Rr as Toast, mi as Trilha, dn as UF_SIGLAS, co as Vazio, Go as VisualizadorArquivo, er as apiDefinida, Vt as aplicarMascara, fi as caminhoNoMenu, X as cx, Vn as dataBrParaIso, Xn as decodificarJwt, ir as ehSeveridade, Zn as expiracaoJwt, vr as filtrarItens, cr as forcaSenha, Kn as formatBytes, An as formatCpfCnpj, Fn as formatDataBr, zn as formatDataHoraBr, Ln as formatHoraBr, En as formatarNumero, Yn as iconeArquivo, On as iniciais, Zt as isCep, tn as isChassi, nn as isCnh, Jt as isCnpj, qt as isCpf, Yt as isCpfCnpj, on as isData, sn as isDataHora, Xt as isEmail, an as isHora, rn as isImei, $t as isPlaca, en as isRenavam, Qt as isTelefone, Bn as isoParaDataBr, Qn as jwtExpirado, Cn as lerCampo, mn as listaPorExtenso, $n as margemRefreshJwt, pr as moverParaAlvo, mr as moverParaFonte, hr as moverTudoParaAlvo, gr as moverTudoParaFonte, Mn as nomeCurto, Wn as nomeDeArquivo, jn as nomeProprio, kn as normalizar, dr as normalizarPicklistValor, xn as numeroPorExtenso, Pn as parseDataBr, Rn as parseDataHoraBr, In as parseHoraBr, Pt as registrarIcones, _r as reordenarLista, Dn as saudacaoPorHora, $r as scriptTemaInicial, Bt as semMascara, lr as senhasIguais, rr as severidadeCor, Jn as tipoDeArquivo, Un as tituloDeEntidade, no as useBuscaAssincrona, Mi as useCampoIds, Ir as useConfirmacao, ti as usePreferencias, ri as usePreferenciasOpcional, Hr as useToast, di as useTrilha, ji as useValidacaoCampo, Q as validar, sr as validarSenha, cn as validarTelefone, lo as valorDoCampo, Sn as valorMonetarioPorExtenso };
6914
6950
 
6915
6951
  //# sourceMappingURL=index.js.map