@burdenoff/fluidgrids-fe-sdk 2026.731.2 → 2026.731.4

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.
@@ -0,0 +1,8 @@
1
+ export { ExecutionDetailPage } from './chunk-IBPEITOH.js';
2
+ import './chunk-4BY7JVRA.js';
3
+ import './chunk-UIY2HBWA.js';
4
+ import './chunk-3ZYUGTIT.js';
5
+ import './chunk-IU65EQOS.js';
6
+ import './chunk-5BDQNSP3.js';
7
+ //# sourceMappingURL=ExecutionDetailPage-Q2H7KMHW.js.map
8
+ //# sourceMappingURL=ExecutionDetailPage-Q2H7KMHW.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ExecutionDetailPage-MKSTHEIY.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ExecutionDetailPage-Q2H7KMHW.js"}
@@ -0,0 +1,8 @@
1
+ export { ExecutionsListPage } from './chunk-FTWBKQUU.js';
2
+ import './chunk-4BY7JVRA.js';
3
+ import './chunk-42PCKNPK.js';
4
+ import './chunk-IU65EQOS.js';
5
+ import './chunk-5BDQNSP3.js';
6
+ import './chunk-WWU2O2SR.js';
7
+ //# sourceMappingURL=ExecutionsListPage-SMQZVUYI.js.map
8
+ //# sourceMappingURL=ExecutionsListPage-SMQZVUYI.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ExecutionsListPage-6ZJICORE.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ExecutionsListPage-SMQZVUYI.js"}
@@ -1,4 +1,4 @@
1
- export { WorkflowBuilder } from './chunk-UHUNDVWH.js';
1
+ export { WorkflowBuilder } from './chunk-BWUUCBIC.js';
2
2
  import './chunk-MRVS73S2.js';
3
3
  import './chunk-DBOMRIP5.js';
4
4
  import './chunk-TH764V3S.js';
@@ -12,5 +12,5 @@ import './chunk-IU65EQOS.js';
12
12
  import './chunk-5BDQNSP3.js';
13
13
  import './chunk-WWU2O2SR.js';
14
14
  import './chunk-XQP33UJR.js';
15
- //# sourceMappingURL=WorkflowBuilder-65FSMSCD.js.map
16
- //# sourceMappingURL=WorkflowBuilder-65FSMSCD.js.map
15
+ //# sourceMappingURL=WorkflowBuilder-734VD3ZO.js.map
16
+ //# sourceMappingURL=WorkflowBuilder-734VD3ZO.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-65FSMSCD.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-734VD3ZO.js"}
@@ -1352,9 +1352,24 @@ function ExecutionTimeline({
1352
1352
  ] })
1353
1353
  ] }, dateLabel)) });
1354
1354
  }
1355
+ function orderNodesByExecution(nodeStates, triggerNodeId) {
1356
+ const rankOf = (node) => {
1357
+ const stamp = node.startTime ?? node.endTime;
1358
+ return stamp ? new Date(stamp).getTime() : Number.POSITIVE_INFINITY;
1359
+ };
1360
+ return [...nodeStates].sort((a, b) => {
1361
+ const aIsTrigger = triggerNodeId !== void 0 && a.nodeId === triggerNodeId;
1362
+ const bIsTrigger = triggerNodeId !== void 0 && b.nodeId === triggerNodeId;
1363
+ if (aIsTrigger !== bIsTrigger) return aIsTrigger ? -1 : 1;
1364
+ const rankA = rankOf(a);
1365
+ const rankB = rankOf(b);
1366
+ return rankA === rankB ? 0 : rankA - rankB;
1367
+ });
1368
+ }
1355
1369
  function NodeTimeline({
1356
1370
  nodeStates,
1357
1371
  loading,
1372
+ triggerNodeId,
1358
1373
  onRetryNode,
1359
1374
  onViewChildRun
1360
1375
  }) {
@@ -1398,12 +1413,10 @@ function NodeTimeline({
1398
1413
  if (!metadata || typeof metadata !== "object") return false;
1399
1414
  return Object.keys(metadata).length > 0;
1400
1415
  };
1401
- const sortedNodes = [...nodeStates].sort((a, b) => {
1402
- if (!a.startTime && !b.startTime) return 0;
1403
- if (!a.startTime) return 1;
1404
- if (!b.startTime) return -1;
1405
- return new Date(a.startTime).getTime() - new Date(b.startTime).getTime();
1406
- });
1416
+ const sortedNodes = orderNodesByExecution(
1417
+ nodeStates,
1418
+ triggerNodeId
1419
+ );
1407
1420
  if (loading) {
1408
1421
  return /* @__PURE__ */ jsx("div", { className: "space-y-4", children: [...Array(4)].map((_, i) => /* @__PURE__ */ jsxs("div", { className: "flex gap-4 animate-pulse", children: [
1409
1422
  /* @__PURE__ */ jsx("div", { className: "w-8 h-8 bg-background-tertiary rounded-full" }),
@@ -2406,5 +2419,5 @@ function useAutoRefresh(refetchFn, enabled = true, interval = 5e3) {
2406
2419
  }
2407
2420
 
2408
2421
  export { ExecutionCards, ExecutionFilters, ExecutionStats, ExecutionStatusBadge, ExecutionTable, ExecutionTimeline, NodeTimeline, Pagination, RunLogViewer, useAutoRefresh, useExecution, useExecutionActions, useExecutionStats, useExecutionsStore, useExecutionsWithStore };
2409
- //# sourceMappingURL=chunk-ES223BPI.js.map
2410
- //# sourceMappingURL=chunk-ES223BPI.js.map
2422
+ //# sourceMappingURL=chunk-4BY7JVRA.js.map
2423
+ //# sourceMappingURL=chunk-4BY7JVRA.js.map