@lv-x-software-house/x_view 1.2.6-dev.84 → 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 +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15640,8 +15640,9 @@ function XViewScene({
|
|
|
15640
15640
|
const parentDbInfo = parentDbsArray.find(
|
|
15641
15641
|
(db) => String(db.db_id) === String(parentFileId)
|
|
15642
15642
|
);
|
|
15643
|
-
const
|
|
15644
|
-
const
|
|
15643
|
+
const isCurrentView = String(parentFileId) === String(sceneConfigId);
|
|
15644
|
+
const ownerId2 = (parentDbInfo == null ? void 0 : parentDbInfo.owner_id) || (isCurrentView ? viewParams == null ? void 0 : viewParams.owner_id : null);
|
|
15645
|
+
const datasetName = isCurrentView ? "Quests Internas (View)" : parentFile.dataset_name || `Dataset #${parentFileId.substring(0, 6)}`;
|
|
15645
15646
|
if (parentFile.nodes && ownerId2) {
|
|
15646
15647
|
for (const node of parentFile.nodes) {
|
|
15647
15648
|
map.set(String(node.id), { parentFileId, ownerId: ownerId2, datasetName });
|
package/dist/index.mjs
CHANGED
|
@@ -15703,8 +15703,9 @@ function XViewScene({
|
|
|
15703
15703
|
const parentDbInfo = parentDbsArray.find(
|
|
15704
15704
|
(db) => String(db.db_id) === String(parentFileId)
|
|
15705
15705
|
);
|
|
15706
|
-
const
|
|
15707
|
-
const
|
|
15706
|
+
const isCurrentView = String(parentFileId) === String(sceneConfigId);
|
|
15707
|
+
const ownerId2 = (parentDbInfo == null ? void 0 : parentDbInfo.owner_id) || (isCurrentView ? viewParams == null ? void 0 : viewParams.owner_id : null);
|
|
15708
|
+
const datasetName = isCurrentView ? "Quests Internas (View)" : parentFile.dataset_name || `Dataset #${parentFileId.substring(0, 6)}`;
|
|
15708
15709
|
if (parentFile.nodes && ownerId2) {
|
|
15709
15710
|
for (const node of parentFile.nodes) {
|
|
15710
15711
|
map.set(String(node.id), { parentFileId, ownerId: ownerId2, datasetName });
|
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",
|