@lv-x-software-house/x_view 1.2.8-dev.18 → 1.2.8-dev.19
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 +8 -7
- package/dist/index.mjs +8 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16234,10 +16234,10 @@ function XViewScene({
|
|
|
16234
16234
|
timelineNodes.push(nodeInfo);
|
|
16235
16235
|
});
|
|
16236
16236
|
if (timelineNodes.length === 0) return;
|
|
16237
|
-
const
|
|
16238
|
-
const maxTimeIndex =
|
|
16237
|
+
const sortedTimePoints = Array.from(allTimePoints).sort((a, b) => a - b);
|
|
16238
|
+
const maxTimeIndex = sortedTimePoints.length - 1;
|
|
16239
16239
|
const timeToYMap = new Map(
|
|
16240
|
-
|
|
16240
|
+
sortedTimePoints.map((time, index) => [
|
|
16241
16241
|
time,
|
|
16242
16242
|
(index - maxTimeIndex) * TIMELINE_LAYER_SPACING_Y
|
|
16243
16243
|
])
|
|
@@ -16379,6 +16379,7 @@ function XViewScene({
|
|
|
16379
16379
|
}
|
|
16380
16380
|
});
|
|
16381
16381
|
if (timelineNodes.length === 0) return;
|
|
16382
|
+
const sortedTimePoints = Array.from(allTimePoints).sort((a, b) => a - b);
|
|
16382
16383
|
const maxTimeIndex = sortedTimePoints.length - 1;
|
|
16383
16384
|
const timeToYMap = new Map(
|
|
16384
16385
|
sortedTimePoints.map((time, index) => [
|
|
@@ -16779,11 +16780,11 @@ function XViewScene({
|
|
|
16779
16780
|
}
|
|
16780
16781
|
}
|
|
16781
16782
|
});
|
|
16782
|
-
const
|
|
16783
|
+
const sortedTimePoints = Array.from(allActiveTimePoints).sort(
|
|
16783
16784
|
(a, b) => a - b
|
|
16784
16785
|
);
|
|
16785
16786
|
const timeToYMap = /* @__PURE__ */ new Map();
|
|
16786
|
-
|
|
16787
|
+
sortedTimePoints.forEach((ms, idx) => {
|
|
16787
16788
|
timeToYMap.set(ms, idx * TIMELINE_LAYER_SPACING_Y);
|
|
16788
16789
|
});
|
|
16789
16790
|
const startX = -((QUEST_STATUS_ORDER.length - 1) * QUEST_LENS_COLUMN_SPACING) / 2;
|
|
@@ -16802,7 +16803,7 @@ function XViewScene({
|
|
|
16802
16803
|
if (!timeInfo.isUndated) {
|
|
16803
16804
|
nodeY = timeToYMap.get(timeInfo.startDate.getTime());
|
|
16804
16805
|
} else {
|
|
16805
|
-
const undatedOffset =
|
|
16806
|
+
const undatedOffset = sortedTimePoints.length > 0 ? sortedTimePoints.length * 5 : 0;
|
|
16806
16807
|
nodeY = -40 - rowIndex * QUEST_LENS_ROW_SPACING - undatedOffset;
|
|
16807
16808
|
}
|
|
16808
16809
|
const posKey = `${statusName}_${nodeY}`;
|
|
@@ -16885,7 +16886,7 @@ function XViewScene({
|
|
|
16885
16886
|
if (!timeInfo.isUndated) {
|
|
16886
16887
|
targetY = timeToYMap.get(timeInfo.startDate.getTime());
|
|
16887
16888
|
} else {
|
|
16888
|
-
const undatedOffset =
|
|
16889
|
+
const undatedOffset = sortedTimePoints.length > 0 ? sortedTimePoints.length * 5 : 0;
|
|
16889
16890
|
targetY = -40 - rowIndex * QUEST_LENS_ROW_SPACING - undatedOffset;
|
|
16890
16891
|
}
|
|
16891
16892
|
const posKey = `${statusName}_${targetY}`;
|
package/dist/index.mjs
CHANGED
|
@@ -16297,10 +16297,10 @@ function XViewScene({
|
|
|
16297
16297
|
timelineNodes.push(nodeInfo);
|
|
16298
16298
|
});
|
|
16299
16299
|
if (timelineNodes.length === 0) return;
|
|
16300
|
-
const
|
|
16301
|
-
const maxTimeIndex =
|
|
16300
|
+
const sortedTimePoints = Array.from(allTimePoints).sort((a, b) => a - b);
|
|
16301
|
+
const maxTimeIndex = sortedTimePoints.length - 1;
|
|
16302
16302
|
const timeToYMap = new Map(
|
|
16303
|
-
|
|
16303
|
+
sortedTimePoints.map((time, index) => [
|
|
16304
16304
|
time,
|
|
16305
16305
|
(index - maxTimeIndex) * TIMELINE_LAYER_SPACING_Y
|
|
16306
16306
|
])
|
|
@@ -16442,6 +16442,7 @@ function XViewScene({
|
|
|
16442
16442
|
}
|
|
16443
16443
|
});
|
|
16444
16444
|
if (timelineNodes.length === 0) return;
|
|
16445
|
+
const sortedTimePoints = Array.from(allTimePoints).sort((a, b) => a - b);
|
|
16445
16446
|
const maxTimeIndex = sortedTimePoints.length - 1;
|
|
16446
16447
|
const timeToYMap = new Map(
|
|
16447
16448
|
sortedTimePoints.map((time, index) => [
|
|
@@ -16842,11 +16843,11 @@ function XViewScene({
|
|
|
16842
16843
|
}
|
|
16843
16844
|
}
|
|
16844
16845
|
});
|
|
16845
|
-
const
|
|
16846
|
+
const sortedTimePoints = Array.from(allActiveTimePoints).sort(
|
|
16846
16847
|
(a, b) => a - b
|
|
16847
16848
|
);
|
|
16848
16849
|
const timeToYMap = /* @__PURE__ */ new Map();
|
|
16849
|
-
|
|
16850
|
+
sortedTimePoints.forEach((ms, idx) => {
|
|
16850
16851
|
timeToYMap.set(ms, idx * TIMELINE_LAYER_SPACING_Y);
|
|
16851
16852
|
});
|
|
16852
16853
|
const startX = -((QUEST_STATUS_ORDER.length - 1) * QUEST_LENS_COLUMN_SPACING) / 2;
|
|
@@ -16865,7 +16866,7 @@ function XViewScene({
|
|
|
16865
16866
|
if (!timeInfo.isUndated) {
|
|
16866
16867
|
nodeY = timeToYMap.get(timeInfo.startDate.getTime());
|
|
16867
16868
|
} else {
|
|
16868
|
-
const undatedOffset =
|
|
16869
|
+
const undatedOffset = sortedTimePoints.length > 0 ? sortedTimePoints.length * 5 : 0;
|
|
16869
16870
|
nodeY = -40 - rowIndex * QUEST_LENS_ROW_SPACING - undatedOffset;
|
|
16870
16871
|
}
|
|
16871
16872
|
const posKey = `${statusName}_${nodeY}`;
|
|
@@ -16948,7 +16949,7 @@ function XViewScene({
|
|
|
16948
16949
|
if (!timeInfo.isUndated) {
|
|
16949
16950
|
targetY = timeToYMap.get(timeInfo.startDate.getTime());
|
|
16950
16951
|
} else {
|
|
16951
|
-
const undatedOffset =
|
|
16952
|
+
const undatedOffset = sortedTimePoints.length > 0 ? sortedTimePoints.length * 5 : 0;
|
|
16952
16953
|
targetY = -40 - rowIndex * QUEST_LENS_ROW_SPACING - undatedOffset;
|
|
16953
16954
|
}
|
|
16954
16955
|
const posKey = `${statusName}_${targetY}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lv-x-software-house/x_view",
|
|
3
|
-
"version": "1.2.8-dev.
|
|
3
|
+
"version": "1.2.8-dev.19",
|
|
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",
|