@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 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 ownerId2 = (parentDbInfo == null ? void 0 : parentDbInfo.owner_id) || null;
15644
- const datasetName = parentFile.dataset_name || `Dataset #${parentFileId.substring(0, 6)}`;
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 ownerId2 = (parentDbInfo == null ? void 0 : parentDbInfo.owner_id) || null;
15707
- const datasetName = parentFile.dataset_name || `Dataset #${parentFileId.substring(0, 6)}`;
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.84",
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",