@lv-x-software-house/x_view 1.2.6-dev.85 → 1.2.6-dev.86
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 +6 -3
- package/dist/index.mjs +6 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -895,11 +895,11 @@ var getParentFileInfoForNode = (allParentData, sceneData, nodeId, sceneConfigId
|
|
|
895
895
|
if (allParentData.hasOwnProperty(parentFileId)) {
|
|
896
896
|
const parentFile = allParentData[parentFileId];
|
|
897
897
|
if (parentFile.nodes && parentFile.nodes.some((n) => String(n.id) === String(nodeId))) {
|
|
898
|
-
const
|
|
898
|
+
const parentDbInfo = parentDbsArray.find(
|
|
899
899
|
(db) => String(db.db_id) === String(parentFileId)
|
|
900
900
|
);
|
|
901
|
-
if (
|
|
902
|
-
return { parentFileId, ownerId:
|
|
901
|
+
if (parentDbInfo) {
|
|
902
|
+
return { parentFileId, ownerId: parentDbInfo.owner_id };
|
|
903
903
|
} else if (sceneConfigId && String(parentFileId) === String(sceneConfigId)) {
|
|
904
904
|
return { parentFileId, ownerId: sceneOwnerId };
|
|
905
905
|
} else {
|
|
@@ -15637,6 +15637,9 @@ function XViewScene({
|
|
|
15637
15637
|
for (const parentFileId in allParentData) {
|
|
15638
15638
|
if (allParentData.hasOwnProperty(parentFileId)) {
|
|
15639
15639
|
const parentFile = allParentData[parentFileId];
|
|
15640
|
+
const parentDbInfo = parentDbsArray.find(
|
|
15641
|
+
(db) => String(db.db_id) === String(parentFileId)
|
|
15642
|
+
);
|
|
15640
15643
|
const isCurrentView = String(parentFileId) === String(sceneConfigId);
|
|
15641
15644
|
const ownerId2 = (parentDbInfo == null ? void 0 : parentDbInfo.owner_id) || (isCurrentView ? viewParams == null ? void 0 : viewParams.owner_id : null);
|
|
15642
15645
|
const datasetName = isCurrentView ? "Quests Internas (View)" : parentFile.dataset_name || `Dataset #${parentFileId.substring(0, 6)}`;
|
package/dist/index.mjs
CHANGED
|
@@ -856,11 +856,11 @@ var getParentFileInfoForNode = (allParentData, sceneData, nodeId, sceneConfigId
|
|
|
856
856
|
if (allParentData.hasOwnProperty(parentFileId)) {
|
|
857
857
|
const parentFile = allParentData[parentFileId];
|
|
858
858
|
if (parentFile.nodes && parentFile.nodes.some((n) => String(n.id) === String(nodeId))) {
|
|
859
|
-
const
|
|
859
|
+
const parentDbInfo = parentDbsArray.find(
|
|
860
860
|
(db) => String(db.db_id) === String(parentFileId)
|
|
861
861
|
);
|
|
862
|
-
if (
|
|
863
|
-
return { parentFileId, ownerId:
|
|
862
|
+
if (parentDbInfo) {
|
|
863
|
+
return { parentFileId, ownerId: parentDbInfo.owner_id };
|
|
864
864
|
} else if (sceneConfigId && String(parentFileId) === String(sceneConfigId)) {
|
|
865
865
|
return { parentFileId, ownerId: sceneOwnerId };
|
|
866
866
|
} else {
|
|
@@ -15700,6 +15700,9 @@ function XViewScene({
|
|
|
15700
15700
|
for (const parentFileId in allParentData) {
|
|
15701
15701
|
if (allParentData.hasOwnProperty(parentFileId)) {
|
|
15702
15702
|
const parentFile = allParentData[parentFileId];
|
|
15703
|
+
const parentDbInfo = parentDbsArray.find(
|
|
15704
|
+
(db) => String(db.db_id) === String(parentFileId)
|
|
15705
|
+
);
|
|
15703
15706
|
const isCurrentView = String(parentFileId) === String(sceneConfigId);
|
|
15704
15707
|
const ownerId2 = (parentDbInfo == null ? void 0 : parentDbInfo.owner_id) || (isCurrentView ? viewParams == null ? void 0 : viewParams.owner_id : null);
|
|
15705
15708
|
const datasetName = isCurrentView ? "Quests Internas (View)" : parentFile.dataset_name || `Dataset #${parentFileId.substring(0, 6)}`;
|
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.86",
|
|
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",
|