@a2simcode/ui 0.0.139 → 0.0.141

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.
@@ -407,11 +407,11 @@ function Af(e, t, n) {
407
407
  function mr(e, t, n, a, o, i) {
408
408
  const r = [];
409
409
  return e == null ? Object.keys(t.group).forEach((l) => {
410
- (!i || i.includes(l)) && (t.map[l] || t.group[l].forEach((c) => {
411
- (!i || i.includes(c[n])) && (a && (c.value = c[a]), o && (c.label = c[o]), t.group[c[n]] && t.group[c[n]].length > 0 && (c.children = mr(t.group[c[n]], t, n, a, o, i)), r.push(c));
410
+ (!i || !i.includes(l)) && (t.map[l] || t.group[l].forEach((c) => {
411
+ (!i || !i.includes(c[n])) && (a && (c.value = c[a]), o && (c.label = c[o]), t.group[c[n]] && t.group[c[n]].length > 0 && (c.children = mr(t.group[c[n]], t, n, a, o, i)), r.push(c));
412
412
  }));
413
413
  }) : e.forEach((l) => {
414
- (!i || i.indexOf(l[n]) === -1) && (a && (l.value = l[a]), o && (l.label = l[o]), t.group[l[n]] && t.group[l[n]].length > 0 && (l.children = mr(t.group[l[n]], t, n, a, o, i)), r.push(l));
414
+ (!i || !i.includes(l[n])) && (a && (l.value = l[a]), o && (l.label = l[o]), t.group[l[n]] && t.group[l[n]].length > 0 && (l.children = mr(t.group[l[n]], t, n, a, o, i)), r.push(l));
415
415
  }), r;
416
416
  }
417
417
  function Mf(e, t, n, a, o, i) {
@@ -427,7 +427,7 @@ function Mf(e, t, n, a, o, i) {
427
427
  }), c = {}, r === n) {
428
428
  const s = [];
429
429
  return l.forEach((u) => {
430
- (!i || i.includes(u[r])) && (a && (u.value = u[a]), o && (u.label = u[o]), s.push(u));
430
+ (!i || !i.includes(u[r])) && (a && (u.value = u[a]), o && (u.label = u[o]), s.push(u));
431
431
  }), s;
432
432
  }
433
433
  return mr(null, Af(l, r, n), r, a, o, i);
@@ -5466,7 +5466,7 @@ var xp = class {
5466
5466
  return nt(() => ie.value, () => {
5467
5467
  q();
5468
5468
  }), Pt(() => {
5469
- q(), n.id && h(n.id);
5469
+ q(), n.id && h && h(n.id);
5470
5470
  }), To(() => {
5471
5471
  ye.value.forEach((L) => L()), ye.value = [];
5472
5472
  }), (L, j) => {