@apipass/design-system 1.12.0 → 1.12.1
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/lib/index.js
CHANGED
|
@@ -3646,26 +3646,27 @@ function U5({
|
|
|
3646
3646
|
renderItem: o,
|
|
3647
3647
|
isNodeLoading: n,
|
|
3648
3648
|
onItemAction: i,
|
|
3649
|
-
|
|
3649
|
+
dependencies: a,
|
|
3650
|
+
...c
|
|
3650
3651
|
}) {
|
|
3651
|
-
function
|
|
3652
|
+
function d(h) {
|
|
3652
3653
|
return /* @__PURE__ */ l(
|
|
3653
3654
|
Z6,
|
|
3654
3655
|
{
|
|
3655
|
-
id:
|
|
3656
|
-
textValue:
|
|
3657
|
-
hasChildItems: ko(
|
|
3656
|
+
id: h.id,
|
|
3657
|
+
textValue: h.label,
|
|
3658
|
+
hasChildItems: ko(h),
|
|
3658
3659
|
className: "tree-item",
|
|
3659
|
-
onAction: i ? () => i(
|
|
3660
|
+
onAction: i ? () => i(h) : void 0,
|
|
3660
3661
|
children: [
|
|
3661
|
-
/* @__PURE__ */ t(G6, { children: o(
|
|
3662
|
-
|
|
3663
|
-
((n == null ? void 0 : n(
|
|
3662
|
+
/* @__PURE__ */ t(G6, { children: o(h) }),
|
|
3663
|
+
h.children && h.children.length > 0 && /* @__PURE__ */ t(H6, { items: h.children, dependencies: a, children: d }),
|
|
3664
|
+
((n == null ? void 0 : n(h.id)) ?? !1) && /* @__PURE__ */ t(Z6, { id: `${h.id}::loading`, textValue: "Loading", isDisabled: !0, className: "tree-item", children: /* @__PURE__ */ t(G6, { children: /* @__PURE__ */ t(Qe, { size: "16", className: "tree-item-loading-icon" }) }) })
|
|
3664
3665
|
]
|
|
3665
3666
|
}
|
|
3666
3667
|
);
|
|
3667
3668
|
}
|
|
3668
|
-
return /* @__PURE__ */ t(Ae, { items: r, className: u(e, "tree"),
|
|
3669
|
+
return /* @__PURE__ */ t(Ae, { items: r, className: u(e, "tree"), dependencies: a, ...c, children: d });
|
|
3669
3670
|
}
|
|
3670
3671
|
function G6({ children: e }) {
|
|
3671
3672
|
return /* @__PURE__ */ t(Be, { children: ({ hasChildItems: r, level: o }) => /* @__PURE__ */ l(
|