@scmlatam/web-ui 0.1.89 → 0.1.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./main-DjsmXIIn.js";
1
+ import { _ as f } from "./main-Cwijjo8F.js";
2
2
  const o = {
3
3
  config: {
4
4
  isInitialized: !1
@@ -34003,6 +34003,7 @@ const iv = ({
34003
34003
  e.map((r, s) => /* @__PURE__ */ v(
34004
34004
  yc,
34005
34005
  {
34006
+ index: r.path === "/",
34006
34007
  path: r.path,
34007
34008
  element: Ca(r.element, {
34008
34009
  location: t,
@@ -34011,7 +34012,7 @@ const iv = ({
34011
34012
  },
34012
34013
  s
34013
34014
  )),
34014
- /* @__PURE__ */ v(yc, { path: "*", element: /* @__PURE__ */ v(cP, { to: "/signin" }) })
34015
+ /* @__PURE__ */ v(yc, { path: "*", element: /* @__PURE__ */ v(cP, { to: "/" }) })
34015
34016
  ] }) });
34016
34017
  };
34017
34018
  var gP = {
@@ -59266,7 +59267,7 @@ async function FQ(e) {
59266
59267
  return;
59267
59268
  const {
59268
59269
  default: t
59269
- } = await import("./get-context-rISr6hLD.js"), n = await t();
59270
+ } = await import("./get-context-jyM_O6uK.js"), n = await t();
59270
59271
  if (!e || !RQ(n))
59271
59272
  return;
59272
59273
  const r = S({}, e, {
@@ -70851,7 +70852,7 @@ const coe = zZ, uoe = ({
70851
70852
  {
70852
70853
  value: w.value,
70853
70854
  sx: {
70854
- display: w.label.toLowerCase().includes(c?.value.toLowerCase() || "") ? "block" : "none"
70855
+ display: `${w.label} ${w.sublabel ?? ""}`.toLowerCase().includes(c?.value?.toLowerCase() ?? "") ? "block" : "none"
70855
70856
  },
70856
70857
  onClick: () => {
70857
70858
  m(!1);
@@ -70882,7 +70883,7 @@ const coe = zZ, uoe = ({
70882
70883
  search: c
70883
70884
  }) => {
70884
70885
  const u = yr(null), d = yr(null), [p, g] = ln({ width: 0, height: 0 }), [h, b] = ln(!1), [m, y] = ln(""), C = c?.value ?? m, x = r.filter(
70885
- (M) => M.label.toLowerCase().includes(C.toLowerCase())
70886
+ (M) => `${M.label} ${M.sublabel ?? ""}`.toLowerCase().includes(C.toLowerCase())
70886
70887
  ).map((M) => M.value), E = x.filter(
70887
70888
  (M) => t.includes(M)
70888
70889
  ).length, P = x.length > 0 && E === x.length, O = E > 0 && !P, D = (M) => /* @__PURE__ */ v(
package/dist/web-ui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as o, a as s, b as r, F as t, G as b, c as m, T as C, u as T, d } from "./main-DjsmXIIn.js";
1
+ import { C as o, a as s, b as r, F as t, G as b, c as m, T as C, u as T, d } from "./main-Cwijjo8F.js";
2
2
  export {
3
3
  o as Core,
4
4
  s as CoreContext,