@lv-x-software-house/x_view 1.2.6-dev.80 → 1.2.6-dev.81

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/index.js CHANGED
@@ -11981,7 +11981,7 @@ function QuestDetailsPanel({
11981
11981
  handleRenderQuestAbstractionTree,
11982
11982
  style = {}
11983
11983
  }) {
11984
- var _a, _b;
11984
+ var _a, _b, _c, _d, _e, _f;
11985
11985
  const initialRawTitle = (node == null ? void 0 : node.raw_title) || (((_a = node == null ? void 0 : node.name) == null ? void 0 : _a.includes(" - \xBB ")) ? node.name.split(" - \xBB ")[1] : node == null ? void 0 : node.name) || "";
11986
11986
  const [rawTitle, setRawTitle] = (0, import_react22.useState)(initialRawTitle);
11987
11987
  const prefixParts = ((node == null ? void 0 : node.name) || "").split(" - \xBB ");
@@ -13076,7 +13076,7 @@ ${noteText}` : noteText : entry.notes,
13076
13076
  handleRenderQuestTree(node);
13077
13077
  }
13078
13078
  },
13079
- className: "flex-1 flex items-center justify-center gap-2 px-2 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-300 text-[11px] font-medium rounded-lg border border-white/5 hover:border-white/10 transition-colors"
13079
+ className: `flex-1 flex items-center justify-center gap-2 px-2 py-1.5 text-[11px] font-medium rounded-lg border transition-colors ${((_d = (_c = node == null ? void 0 : node.quest_tree) == null ? void 0 : _c.children) == null ? void 0 : _d.length) > 0 ? "bg-indigo-500/10 hover:bg-indigo-500/30 text-indigo-400 border-indigo-500/20" : "bg-slate-800 hover:bg-slate-700 text-slate-400 border-white/5"}`
13080
13080
  },
13081
13081
  "Renderizar Horizontal"
13082
13082
  ), /* @__PURE__ */ import_react22.default.createElement(
@@ -13088,7 +13088,7 @@ ${noteText}` : noteText : entry.notes,
13088
13088
  handleRenderQuestAbstractionTree(node);
13089
13089
  }
13090
13090
  },
13091
- className: "flex-1 flex items-center justify-center gap-2 px-2 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-300 text-[11px] font-medium rounded-lg border border-white/5 hover:border-white/10 transition-colors"
13091
+ className: `flex-1 flex items-center justify-center gap-2 px-2 py-1.5 text-[11px] font-medium rounded-lg border transition-colors ${((_f = (_e = node == null ? void 0 : node.quest_abstraction_tree) == null ? void 0 : _e.children) == null ? void 0 : _f.length) > 0 ? "bg-indigo-500/10 hover:bg-indigo-500/30 text-indigo-400 border-indigo-500/20" : "bg-slate-800 hover:bg-slate-700 text-slate-400 border-white/5"}`
13092
13092
  },
13093
13093
  "Renderizar Vertical"
13094
13094
  )))), /* @__PURE__ */ import_react22.default.createElement("div", { className: "pt-2 border-t border-white/5 space-y-3" }, /* @__PURE__ */ import_react22.default.createElement("div", { className: "flex items-center justify-between" }, /* @__PURE__ */ import_react22.default.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ import_react22.default.createElement(import_fi20.FiLink, { className: "text-indigo-400", size: 14 }), /* @__PURE__ */ import_react22.default.createElement("h3", { className: "text-[11px] uppercase font-bold text-slate-500 tracking-wider" }, "Depend\xEAncias (Quest Chain)"))), /* @__PURE__ */ import_react22.default.createElement("div", { className: `relative w-full bg-slate-900/60 p-2 min-h-[42px] flex flex-wrap gap-2 rounded-xl border border-white/10 ${canEdit ? "focus-within:ring-2 focus-within:ring-indigo-400/40" : ""} transition-all` }, dependencyIds.map((depId) => {
@@ -18108,7 +18108,7 @@ function XViewScene({
18108
18108
  abstraction_tree: questNode.quest_abstraction_tree,
18109
18109
  _forceUpdate: true
18110
18110
  };
18111
- handleRenderAbstractionTree(treePayload, questNode.id);
18111
+ handleRenderAbstractionTree(treePayload);
18112
18112
  };
18113
18113
  const handleCloseQuestTree = () => {
18114
18114
  setQuestTreeMode2({
package/dist/index.mjs CHANGED
@@ -12020,7 +12020,7 @@ function QuestDetailsPanel({
12020
12020
  handleRenderQuestAbstractionTree,
12021
12021
  style = {}
12022
12022
  }) {
12023
- var _a, _b;
12023
+ var _a, _b, _c, _d, _e, _f;
12024
12024
  const initialRawTitle = (node == null ? void 0 : node.raw_title) || (((_a = node == null ? void 0 : node.name) == null ? void 0 : _a.includes(" - \xBB ")) ? node.name.split(" - \xBB ")[1] : node == null ? void 0 : node.name) || "";
12025
12025
  const [rawTitle, setRawTitle] = useState20(initialRawTitle);
12026
12026
  const prefixParts = ((node == null ? void 0 : node.name) || "").split(" - \xBB ");
@@ -13115,7 +13115,7 @@ ${noteText}` : noteText : entry.notes,
13115
13115
  handleRenderQuestTree(node);
13116
13116
  }
13117
13117
  },
13118
- className: "flex-1 flex items-center justify-center gap-2 px-2 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-300 text-[11px] font-medium rounded-lg border border-white/5 hover:border-white/10 transition-colors"
13118
+ className: `flex-1 flex items-center justify-center gap-2 px-2 py-1.5 text-[11px] font-medium rounded-lg border transition-colors ${((_d = (_c = node == null ? void 0 : node.quest_tree) == null ? void 0 : _c.children) == null ? void 0 : _d.length) > 0 ? "bg-indigo-500/10 hover:bg-indigo-500/30 text-indigo-400 border-indigo-500/20" : "bg-slate-800 hover:bg-slate-700 text-slate-400 border-white/5"}`
13119
13119
  },
13120
13120
  "Renderizar Horizontal"
13121
13121
  ), /* @__PURE__ */ React21.createElement(
@@ -13127,7 +13127,7 @@ ${noteText}` : noteText : entry.notes,
13127
13127
  handleRenderQuestAbstractionTree(node);
13128
13128
  }
13129
13129
  },
13130
- className: "flex-1 flex items-center justify-center gap-2 px-2 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-300 text-[11px] font-medium rounded-lg border border-white/5 hover:border-white/10 transition-colors"
13130
+ className: `flex-1 flex items-center justify-center gap-2 px-2 py-1.5 text-[11px] font-medium rounded-lg border transition-colors ${((_f = (_e = node == null ? void 0 : node.quest_abstraction_tree) == null ? void 0 : _e.children) == null ? void 0 : _f.length) > 0 ? "bg-indigo-500/10 hover:bg-indigo-500/30 text-indigo-400 border-indigo-500/20" : "bg-slate-800 hover:bg-slate-700 text-slate-400 border-white/5"}`
13131
13131
  },
13132
13132
  "Renderizar Vertical"
13133
13133
  )))), /* @__PURE__ */ React21.createElement("div", { className: "pt-2 border-t border-white/5 space-y-3" }, /* @__PURE__ */ React21.createElement("div", { className: "flex items-center justify-between" }, /* @__PURE__ */ React21.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ React21.createElement(FiLink7, { className: "text-indigo-400", size: 14 }), /* @__PURE__ */ React21.createElement("h3", { className: "text-[11px] uppercase font-bold text-slate-500 tracking-wider" }, "Depend\xEAncias (Quest Chain)"))), /* @__PURE__ */ React21.createElement("div", { className: `relative w-full bg-slate-900/60 p-2 min-h-[42px] flex flex-wrap gap-2 rounded-xl border border-white/10 ${canEdit ? "focus-within:ring-2 focus-within:ring-indigo-400/40" : ""} transition-all` }, dependencyIds.map((depId) => {
@@ -18172,7 +18172,7 @@ function XViewScene({
18172
18172
  abstraction_tree: questNode.quest_abstraction_tree,
18173
18173
  _forceUpdate: true
18174
18174
  };
18175
- handleRenderAbstractionTree(treePayload, questNode.id);
18175
+ handleRenderAbstractionTree(treePayload);
18176
18176
  };
18177
18177
  const handleCloseQuestTree = () => {
18178
18178
  setQuestTreeMode2({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lv-x-software-house/x_view",
3
- "version": "1.2.6-dev.80",
3
+ "version": "1.2.6-dev.81",
4
4
  "description": "Pacote privado contendo os componentes e lógica de renderização 3D do X View.",
5
5
  "author": "iv.x - Engenharia de Software - ivxsoftwarehouse@gmail.com",
6
6
  "license": "UNLICENSED",