@lv-x-software-house/x_view 1.2.6-dev.15 → 1.2.6-dev.16
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 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13524,11 +13524,11 @@ function AncestryBoard({
|
|
|
13524
13524
|
children: []
|
|
13525
13525
|
};
|
|
13526
13526
|
if (navigationStack.length === 0) {
|
|
13527
|
-
setGroups((prev) => [
|
|
13527
|
+
setGroups((prev) => [...prev, newItem]);
|
|
13528
13528
|
} else {
|
|
13529
13529
|
const parentId = navigationStack[navigationStack.length - 1];
|
|
13530
13530
|
const add = (list) => list.map(
|
|
13531
|
-
(g) => g.id === parentId ? { ...g, children: [
|
|
13531
|
+
(g) => g.id === parentId ? { ...g, children: [...g.children, newItem] } : { ...g, children: add(g.children) }
|
|
13532
13532
|
);
|
|
13533
13533
|
setGroups((prev) => add(prev));
|
|
13534
13534
|
}
|
|
@@ -13544,7 +13544,7 @@ function AncestryBoard({
|
|
|
13544
13544
|
content: [],
|
|
13545
13545
|
children: []
|
|
13546
13546
|
};
|
|
13547
|
-
return { ...g, children: [
|
|
13547
|
+
return { ...g, children: [...g.children, newItem] };
|
|
13548
13548
|
}
|
|
13549
13549
|
return { ...g, children: add(g.children) };
|
|
13550
13550
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -13572,11 +13572,11 @@ function AncestryBoard({
|
|
|
13572
13572
|
children: []
|
|
13573
13573
|
};
|
|
13574
13574
|
if (navigationStack.length === 0) {
|
|
13575
|
-
setGroups((prev) => [
|
|
13575
|
+
setGroups((prev) => [...prev, newItem]);
|
|
13576
13576
|
} else {
|
|
13577
13577
|
const parentId = navigationStack[navigationStack.length - 1];
|
|
13578
13578
|
const add = (list) => list.map(
|
|
13579
|
-
(g) => g.id === parentId ? { ...g, children: [
|
|
13579
|
+
(g) => g.id === parentId ? { ...g, children: [...g.children, newItem] } : { ...g, children: add(g.children) }
|
|
13580
13580
|
);
|
|
13581
13581
|
setGroups((prev) => add(prev));
|
|
13582
13582
|
}
|
|
@@ -13592,7 +13592,7 @@ function AncestryBoard({
|
|
|
13592
13592
|
content: [],
|
|
13593
13593
|
children: []
|
|
13594
13594
|
};
|
|
13595
|
-
return { ...g, children: [
|
|
13595
|
+
return { ...g, children: [...g.children, newItem] };
|
|
13596
13596
|
}
|
|
13597
13597
|
return { ...g, children: add(g.children) };
|
|
13598
13598
|
});
|
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.16",
|
|
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",
|