@lv-x-software-house/x_view 1.2.2 → 1.2.3-dev.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/index.js +12 -1
- package/dist/index.mjs +12 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4446,7 +4446,18 @@ var renderTextWithMentions = (text, availableNodes, onMentionClick, activeMentio
|
|
|
4446
4446
|
}
|
|
4447
4447
|
const nodeId = part;
|
|
4448
4448
|
const node = availableNodes.find((n) => String(n.id) === String(nodeId));
|
|
4449
|
-
if (!node)
|
|
4449
|
+
if (!node) {
|
|
4450
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
|
4451
|
+
"span",
|
|
4452
|
+
{
|
|
4453
|
+
key: i,
|
|
4454
|
+
className: "inline-flex items-center gap-0.5 align-baseline font-medium px-1.5 rounded-md mx-0.5 select-none text-[0.95em] text-slate-400 bg-slate-800/40 border border-slate-600/50 border-dashed cursor-help",
|
|
4455
|
+
title: `Node externo ou n\xE3o carregado na view atual (ID: ${nodeId})`
|
|
4456
|
+
},
|
|
4457
|
+
/* @__PURE__ */ import_react7.default.createElement("span", { className: "opacity-60 text-[0.8em]" }, "@"),
|
|
4458
|
+
"Desconhecido"
|
|
4459
|
+
);
|
|
4460
|
+
}
|
|
4450
4461
|
const displayName = node.name;
|
|
4451
4462
|
const currentMentionIdx = mentionCounterRef.current;
|
|
4452
4463
|
const isMentionActive = activeMentionIndex === currentMentionIdx;
|
package/dist/index.mjs
CHANGED
|
@@ -4402,7 +4402,18 @@ var renderTextWithMentions = (text, availableNodes, onMentionClick, activeMentio
|
|
|
4402
4402
|
}
|
|
4403
4403
|
const nodeId = part;
|
|
4404
4404
|
const node = availableNodes.find((n) => String(n.id) === String(nodeId));
|
|
4405
|
-
if (!node)
|
|
4405
|
+
if (!node) {
|
|
4406
|
+
return /* @__PURE__ */ React6.createElement(
|
|
4407
|
+
"span",
|
|
4408
|
+
{
|
|
4409
|
+
key: i,
|
|
4410
|
+
className: "inline-flex items-center gap-0.5 align-baseline font-medium px-1.5 rounded-md mx-0.5 select-none text-[0.95em] text-slate-400 bg-slate-800/40 border border-slate-600/50 border-dashed cursor-help",
|
|
4411
|
+
title: `Node externo ou n\xE3o carregado na view atual (ID: ${nodeId})`
|
|
4412
|
+
},
|
|
4413
|
+
/* @__PURE__ */ React6.createElement("span", { className: "opacity-60 text-[0.8em]" }, "@"),
|
|
4414
|
+
"Desconhecido"
|
|
4415
|
+
);
|
|
4416
|
+
}
|
|
4406
4417
|
const displayName = node.name;
|
|
4407
4418
|
const currentMentionIdx = mentionCounterRef.current;
|
|
4408
4419
|
const isMentionActive = activeMentionIndex === currentMentionIdx;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lv-x-software-house/x_view",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3-dev.1",
|
|
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",
|