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.
- package/dist/szld-components.es.js +9 -6
- package/dist/szld-components.umd.js +1 -1
- package/es/index.js +35 -8
- package/es/mock/index.d.ts +306 -0
- package/es/mock/index.js +387 -1
- package/es/services/index.d.ts +6 -0
- package/es/services/index.js +85 -0
- package/es/services/request.d.ts +6 -0
- package/es/services/request.js +140 -0
- package/es/services/status.d.ts +1 -0
- package/es/services/status.js +44 -0
- package/es/services/vite.svg +1 -0
- package/es/utils/enum.d.ts +4 -0
- package/es/utils/enum.js +10 -0
- package/es/utils/method.js +14 -10
- package/es/vite-env.d.ts +5 -0
- package/lib/index.js +32 -5
- package/lib/mock/index.d.ts +306 -0
- package/lib/mock/index.js +386 -0
- package/lib/services/index.d.ts +6 -0
- package/lib/services/index.js +85 -0
- package/lib/services/request.d.ts +6 -0
- package/lib/services/request.js +140 -0
- package/lib/services/status.d.ts +1 -0
- package/lib/services/status.js +44 -0
- package/lib/services/vite.svg +1 -0
- package/lib/utils/enum.d.ts +4 -0
- package/lib/utils/enum.js +10 -0
- package/lib/utils/method.js +14 -10
- package/lib/vite-env.d.ts +5 -0
- package/package.json +3 -1
|
@@ -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(
|
|
26563
|
-
|
|
26564
|
-
|
|
26565
|
-
|
|
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
|
-
|
|
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
|
});
|