@lv-x-software-house/x_view 1.2.1-dev.8 → 1.2.1-dev.9

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
@@ -9713,6 +9713,9 @@ function XViewScene({
9713
9713
  sceneResponse.data.scene.nodes = [targetNode];
9714
9714
  sceneResponse.data.scene.links = [];
9715
9715
  }
9716
+ } else if (focusAncestryId) {
9717
+ sceneResponse.data.scene.nodes = [];
9718
+ sceneResponse.data.scene.links = [];
9716
9719
  }
9717
9720
  sceneDataRef.current = sceneResponse.data.scene;
9718
9721
  parentDataRef.current = sceneResponse.data.parent;
@@ -9751,8 +9754,10 @@ function XViewScene({
9751
9754
  get_ancestry_board_action,
9752
9755
  isInitialized,
9753
9756
  permissionStatus,
9754
- focusNodeId
9755
- // <-- ADICIONADO O focusNodeId NAS DEPENDÊNCIAS
9757
+ focusNodeId,
9758
+ // <-- MANTIDO
9759
+ focusAncestryId
9760
+ // <-- ADICIONADO O focusAncestryId NAS DEPENDÊNCIAS
9756
9761
  ]);
9757
9762
  const isNodeInView = (0, import_react23.useCallback)((id) => {
9758
9763
  const key = String(id);
package/dist/index.mjs CHANGED
@@ -9712,6 +9712,9 @@ function XViewScene({
9712
9712
  sceneResponse.data.scene.nodes = [targetNode];
9713
9713
  sceneResponse.data.scene.links = [];
9714
9714
  }
9715
+ } else if (focusAncestryId) {
9716
+ sceneResponse.data.scene.nodes = [];
9717
+ sceneResponse.data.scene.links = [];
9715
9718
  }
9716
9719
  sceneDataRef.current = sceneResponse.data.scene;
9717
9720
  parentDataRef.current = sceneResponse.data.parent;
@@ -9750,8 +9753,10 @@ function XViewScene({
9750
9753
  get_ancestry_board_action,
9751
9754
  isInitialized,
9752
9755
  permissionStatus,
9753
- focusNodeId
9754
- // <-- ADICIONADO O focusNodeId NAS DEPENDÊNCIAS
9756
+ focusNodeId,
9757
+ // <-- MANTIDO
9758
+ focusAncestryId
9759
+ // <-- ADICIONADO O focusAncestryId NAS DEPENDÊNCIAS
9755
9760
  ]);
9756
9761
  const isNodeInView = useCallback3((id) => {
9757
9762
  const key = String(id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lv-x-software-house/x_view",
3
- "version": "1.2.1-dev.8",
3
+ "version": "1.2.1-dev.9",
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",