@lv-x-software-house/x_view 1.2.5-dev.23 → 1.2.5-dev.24
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 +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13259,6 +13259,7 @@ function XViewScene({
|
|
|
13259
13259
|
if (userActionHandlers.handleSaveNodeDetails) {
|
|
13260
13260
|
userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
|
|
13261
13261
|
}
|
|
13262
|
+
setDetailsNode(updatedNode);
|
|
13262
13263
|
}, [session, actionHandlerContext]);
|
|
13263
13264
|
const handleFinishQuestQuick = (0, import_react27.useCallback)((questNode) => {
|
|
13264
13265
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
@@ -13338,7 +13339,10 @@ function XViewScene({
|
|
|
13338
13339
|
if (userActionHandlers.handleSaveNodeDetails) {
|
|
13339
13340
|
userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
|
|
13340
13341
|
}
|
|
13341
|
-
|
|
13342
|
+
if (detailsNode && String(detailsNode.id) === String(cleanQuestNode.id)) {
|
|
13343
|
+
setDetailsNode(null);
|
|
13344
|
+
}
|
|
13345
|
+
}, [session, actionHandlerContext, viewMembers, detailsNode]);
|
|
13342
13346
|
const handleCancelQuest = (0, import_react27.useCallback)(() => {
|
|
13343
13347
|
const { graphGroup, ghostElements } = stateRef.current;
|
|
13344
13348
|
if (ghostElements.node && graphGroup) {
|
package/dist/index.mjs
CHANGED
|
@@ -13264,6 +13264,7 @@ function XViewScene({
|
|
|
13264
13264
|
if (userActionHandlers.handleSaveNodeDetails) {
|
|
13265
13265
|
userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
|
|
13266
13266
|
}
|
|
13267
|
+
setDetailsNode(updatedNode);
|
|
13267
13268
|
}, [session, actionHandlerContext]);
|
|
13268
13269
|
const handleFinishQuestQuick = useCallback4((questNode) => {
|
|
13269
13270
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
@@ -13343,7 +13344,10 @@ function XViewScene({
|
|
|
13343
13344
|
if (userActionHandlers.handleSaveNodeDetails) {
|
|
13344
13345
|
userActionHandlers.handleSaveNodeDetails(actionHandlerContext, updatedNode);
|
|
13345
13346
|
}
|
|
13346
|
-
|
|
13347
|
+
if (detailsNode && String(detailsNode.id) === String(cleanQuestNode.id)) {
|
|
13348
|
+
setDetailsNode(null);
|
|
13349
|
+
}
|
|
13350
|
+
}, [session, actionHandlerContext, viewMembers, detailsNode]);
|
|
13347
13351
|
const handleCancelQuest = useCallback4(() => {
|
|
13348
13352
|
const { graphGroup, ghostElements } = stateRef.current;
|
|
13349
13353
|
if (ghostElements.node && graphGroup) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lv-x-software-house/x_view",
|
|
3
|
-
"version": "1.2.5-dev.
|
|
3
|
+
"version": "1.2.5-dev.24",
|
|
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",
|