szld-libs 0.2.97 → 0.2.98

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.
@@ -26559,10 +26559,13 @@ const GM = (n, l, a) => {
26559
26559
  const a = eS(n, l), s = a.filter((h) => {
26560
26560
  var g;
26561
26561
  return (g = h.json) == null ? void 0 : g.combination;
26562
- }).reduce((h, g) => {
26563
- const _ = g.json["combination-id"];
26564
- return _ && (h[_] || (h[_] = []), h[_].push(g)), h;
26565
- }, {}), d = /* @__PURE__ */ new Set();
26562
+ }).reduce(
26563
+ (h, g) => {
26564
+ const _ = g.json["combination-id"];
26565
+ return _ && (h[_] || (h[_] = []), h[_].push(g)), h;
26566
+ },
26567
+ {}
26568
+ ), d = /* @__PURE__ */ new Set();
26566
26569
  Object.values(s).forEach((h) => {
26567
26570
  (h == null ? void 0 : h.length) !== 0 && h.slice(1).forEach((g) => d.add(g.attrid));
26568
26571
  });
@@ -26658,8 +26661,8 @@ const T6 = (n) => {
26658
26661
  data_list: [l(g.children)]
26659
26662
  };
26660
26663
  else if (g.attrtype === 1 && g.children.length > 0 && Array.isArray(g.children)) {
26661
- const { attrvalue: R = [], children: k = [] } = g || {};
26662
- Array.isArray(R) && (R != null && R.length) && (g.children = R.map((O) => JM((k == null ? void 0 : k[0]) || [], O)), h[_] = {
26664
+ let { attrvalue: R = [], children: k = [] } = g || {};
26665
+ R = Array.isArray(R) ? R : [R], Array.isArray(R) && (R != null && R.length) && (g.children = R.map((O) => JM((k == null ? void 0 : k[0]) || [], O)), h[_] = {
26663
26666
  asid: ((E = (C = (w = g.children) == null ? void 0 : w[0]) == null ? void 0 : C[0]) == null ? void 0 : E.asid) || "",
26664
26667
  data_list: g.children.map((O) => l(O))
26665
26668
  });