@morghulis/core 1.0.50 → 1.0.52
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.
|
@@ -16013,11 +16013,17 @@ const Eg = /* @__PURE__ */ I({
|
|
|
16013
16013
|
setup(e) {
|
|
16014
16014
|
const t = e, n = O(() => t.data[t.field.prop]), o = O(() => t.data.isLeaf ? "leaf" : t.node.expanded && t.data.children.length ? "folder-open" : "folder"), l = O(() => t.data.isLeaf ? "success" : t.data.children.length ? "warning" : "info");
|
|
16015
16015
|
return (s, a) => (b(), z(H, null, [
|
|
16016
|
-
|
|
16016
|
+
e.data.disabled ? (b(), k(h(j), {
|
|
16017
|
+
key: 0,
|
|
16018
|
+
icon: "ban",
|
|
16019
|
+
type: "danger",
|
|
16020
|
+
style: { width: "14px", "margin-right": "10px" }
|
|
16021
|
+
})) : (b(), k(h(j), {
|
|
16022
|
+
key: 1,
|
|
16017
16023
|
icon: o.value,
|
|
16018
16024
|
type: l.value,
|
|
16019
16025
|
style: { width: "14px", "margin-right": "10px" }
|
|
16020
|
-
}, null, 8, ["icon", "type"]),
|
|
16026
|
+
}, null, 8, ["icon", "type"])),
|
|
16021
16027
|
te("span", null, M(n.value), 1)
|
|
16022
16028
|
], 64));
|
|
16023
16029
|
}
|