@lv-x-software-house/x_view 1.2.6-dev.70 → 1.2.6-dev.71
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 -11
- package/dist/index.mjs +5 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17561,14 +17561,10 @@ function XViewScene({
|
|
|
17561
17561
|
}
|
|
17562
17562
|
graphDataRef.current[sceneConfigId2].nodes.push(newNode);
|
|
17563
17563
|
const sceneFileData = {
|
|
17564
|
-
|
|
17565
|
-
nodes: sceneDataRef2.current.nodes,
|
|
17566
|
-
// Permanece intacto, como estava no último save de cena inicial
|
|
17567
|
-
links: sceneDataRef2.current.links,
|
|
17564
|
+
...sceneDataRef2.current,
|
|
17568
17565
|
quest_nodes: graphDataRef.current[sceneConfigId2].nodes,
|
|
17569
17566
|
quest_links: graphDataRef.current[sceneConfigId2].links,
|
|
17570
|
-
quest_counter: currentCounter + 1
|
|
17571
|
-
milestones: sceneDataRef2.current.milestones || []
|
|
17567
|
+
quest_counter: currentCounter + 1
|
|
17572
17568
|
};
|
|
17573
17569
|
try {
|
|
17574
17570
|
await actions.save_view_data(sceneSaveUrl2, sceneFileData);
|
|
@@ -17644,9 +17640,7 @@ function XViewScene({
|
|
|
17644
17640
|
const specificParentData = graphDataRef.current[sceneConfigId2];
|
|
17645
17641
|
specificParentData.links.push(newLink);
|
|
17646
17642
|
const viewFilePayload = {
|
|
17647
|
-
|
|
17648
|
-
nodes: sceneDataRef2.current.nodes,
|
|
17649
|
-
links: sceneDataRef2.current.links,
|
|
17643
|
+
...sceneDataRef2.current,
|
|
17650
17644
|
quest_nodes: specificParentData.nodes,
|
|
17651
17645
|
quest_links: specificParentData.links,
|
|
17652
17646
|
quest_counter: sceneDataRef2.current.quest_counter || 1
|
|
@@ -19359,7 +19353,7 @@ function XViewScene({
|
|
|
19359
19353
|
return serializableLinkData;
|
|
19360
19354
|
});
|
|
19361
19355
|
const sceneFileData = {
|
|
19362
|
-
|
|
19356
|
+
...sceneDataRef.current,
|
|
19363
19357
|
nodes: currentNodes,
|
|
19364
19358
|
links: currentLinks,
|
|
19365
19359
|
quest_nodes: ((_b2 = parentDataRef.current[sceneConfigId]) == null ? void 0 : _b2.nodes) || sceneDataRef.current.quest_nodes || [],
|
|
@@ -19409,7 +19403,7 @@ function XViewScene({
|
|
|
19409
19403
|
sceneDataRef.current.links = currentLinks;
|
|
19410
19404
|
const isView = ((_a2 = viewParams == null ? void 0 : viewParams.type) == null ? void 0 : _a2.toLowerCase()) === "view";
|
|
19411
19405
|
const sceneFileData = {
|
|
19412
|
-
|
|
19406
|
+
...sceneDataRef.current,
|
|
19413
19407
|
nodes: currentNodes,
|
|
19414
19408
|
links: currentLinks,
|
|
19415
19409
|
quest_nodes: isView ? ((_b2 = parentDataRef.current[sceneConfigId]) == null ? void 0 : _b2.nodes) || [] : sceneDataRef.current.quest_nodes || [],
|
package/dist/index.mjs
CHANGED
|
@@ -17618,14 +17618,10 @@ function XViewScene({
|
|
|
17618
17618
|
}
|
|
17619
17619
|
graphDataRef.current[sceneConfigId2].nodes.push(newNode);
|
|
17620
17620
|
const sceneFileData = {
|
|
17621
|
-
|
|
17622
|
-
nodes: sceneDataRef2.current.nodes,
|
|
17623
|
-
// Permanece intacto, como estava no último save de cena inicial
|
|
17624
|
-
links: sceneDataRef2.current.links,
|
|
17621
|
+
...sceneDataRef2.current,
|
|
17625
17622
|
quest_nodes: graphDataRef.current[sceneConfigId2].nodes,
|
|
17626
17623
|
quest_links: graphDataRef.current[sceneConfigId2].links,
|
|
17627
|
-
quest_counter: currentCounter + 1
|
|
17628
|
-
milestones: sceneDataRef2.current.milestones || []
|
|
17624
|
+
quest_counter: currentCounter + 1
|
|
17629
17625
|
};
|
|
17630
17626
|
try {
|
|
17631
17627
|
await actions.save_view_data(sceneSaveUrl2, sceneFileData);
|
|
@@ -17701,9 +17697,7 @@ function XViewScene({
|
|
|
17701
17697
|
const specificParentData = graphDataRef.current[sceneConfigId2];
|
|
17702
17698
|
specificParentData.links.push(newLink);
|
|
17703
17699
|
const viewFilePayload = {
|
|
17704
|
-
|
|
17705
|
-
nodes: sceneDataRef2.current.nodes,
|
|
17706
|
-
links: sceneDataRef2.current.links,
|
|
17700
|
+
...sceneDataRef2.current,
|
|
17707
17701
|
quest_nodes: specificParentData.nodes,
|
|
17708
17702
|
quest_links: specificParentData.links,
|
|
17709
17703
|
quest_counter: sceneDataRef2.current.quest_counter || 1
|
|
@@ -19416,7 +19410,7 @@ function XViewScene({
|
|
|
19416
19410
|
return serializableLinkData;
|
|
19417
19411
|
});
|
|
19418
19412
|
const sceneFileData = {
|
|
19419
|
-
|
|
19413
|
+
...sceneDataRef.current,
|
|
19420
19414
|
nodes: currentNodes,
|
|
19421
19415
|
links: currentLinks,
|
|
19422
19416
|
quest_nodes: ((_b2 = parentDataRef.current[sceneConfigId]) == null ? void 0 : _b2.nodes) || sceneDataRef.current.quest_nodes || [],
|
|
@@ -19466,7 +19460,7 @@ function XViewScene({
|
|
|
19466
19460
|
sceneDataRef.current.links = currentLinks;
|
|
19467
19461
|
const isView = ((_a2 = viewParams == null ? void 0 : viewParams.type) == null ? void 0 : _a2.toLowerCase()) === "view";
|
|
19468
19462
|
const sceneFileData = {
|
|
19469
|
-
|
|
19463
|
+
...sceneDataRef.current,
|
|
19470
19464
|
nodes: currentNodes,
|
|
19471
19465
|
links: currentLinks,
|
|
19472
19466
|
quest_nodes: isView ? ((_b2 = parentDataRef.current[sceneConfigId]) == null ? void 0 : _b2.nodes) || [] : sceneDataRef.current.quest_nodes || [],
|
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.
|
|
3
|
+
"version": "1.2.6-dev.71",
|
|
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",
|