@burdenoff/fluidgrids-fe-sdk 2026.1022.2 → 2026.1022.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.
- package/dist/{ExecutionDetailPage-NFZVCUCA.js → ExecutionDetailPage-GXP7V43B.js} +2 -2
- package/dist/{ExecutionsListPage-KSOHJU4T.js → ExecutionsListPage-7AZRFJJT.js} +2 -2
- package/dist/{MissingNodesInstallModal-ODVBW4X4.js → MissingNodesInstallModal-OSAJLIBE.js} +9 -9
- package/dist/{TemplateConfigurationModal-HUHXIL3K.js → TemplateConfigurationModal-SILENYXX.js} +9 -9
- package/dist/{TemplateDetailPanel-RZDJEXGG.js → TemplateDetailPanel-PP42MUM2.js} +6 -6
- package/dist/{WorkflowBuilder-FR3TUJ33.js → WorkflowBuilder-36X3QZTC.js} +5 -5
- package/dist/{WorkflowsList-BAYEP7TU.js → WorkflowsList-O3DFQM6S.js} +2 -2
- package/dist/{chunk-JG65547T.js → chunk-3FI4DCIY.js} +24 -24
- package/dist/{chunk-YPF7LVUZ.js → chunk-5QUAOGY7.js} +1 -1
- package/dist/{chunk-TWIORNPU.js → chunk-6CVZQJKW.js} +20 -13
- package/dist/{chunk-GDAFKRQO.js → chunk-BQXVT32O.js} +4 -4
- package/dist/{chunk-3XEIMQNT.js → chunk-HIXQIM22.js} +77 -77
- package/dist/{chunk-EU5ANGO4.js → chunk-M7FOQBCR.js} +3 -3
- package/dist/{chunk-6LMWVUD7.js → chunk-P3R3RFAC.js} +4 -4
- package/dist/{chunk-PBIN6ERJ.js → chunk-PVDKSM6Q.js} +7 -7
- package/dist/{chunk-FJHERSHE.js → chunk-QP62LB3V.js} +2 -2
- package/dist/{chunk-2HUSQTUK.js → chunk-T3UCFY7J.js} +189 -204
- package/dist/{chunk-CU23L6GP.js → chunk-TVTOVRGV.js} +7 -7
- package/dist/{chunk-EGYJKHAL.js → chunk-VI2RFS65.js} +4 -4
- package/dist/{chunk-7LSGGJ7D.js → chunk-YXMFRQYV.js} +1 -1
- package/dist/executions.js +3 -3
- package/dist/index.d.ts +14 -0
- package/dist/index.js +60 -40
- package/dist/nodes.js +1 -1
- package/dist/settings.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/templates.js +5 -5
- package/dist/workflow-builder.js +6 -6
- package/dist/workflows-list.js +2 -2
- package/package.json +1 -1
|
@@ -17,124 +17,124 @@ import { gql } from '@apollo/client';
|
|
|
17
17
|
var RUN_STATUS_CONFIG = {
|
|
18
18
|
PENDING: {
|
|
19
19
|
label: "Pending",
|
|
20
|
-
color: "text-
|
|
21
|
-
bgColor: "bg-
|
|
22
|
-
borderColor: "border-
|
|
20
|
+
color: "text-text-secondary",
|
|
21
|
+
bgColor: "bg-bg-sunken",
|
|
22
|
+
borderColor: "border-border-default",
|
|
23
23
|
icon: "mdi:clock-outline"
|
|
24
24
|
},
|
|
25
25
|
RUNNING: {
|
|
26
26
|
label: "Running",
|
|
27
|
-
color: "text-
|
|
28
|
-
bgColor: "bg-
|
|
29
|
-
borderColor: "border-
|
|
27
|
+
color: "text-status-info-text",
|
|
28
|
+
bgColor: "bg-status-info-bg-subtle",
|
|
29
|
+
borderColor: "border-status-info-border",
|
|
30
30
|
icon: "mdi:play-circle-outline"
|
|
31
31
|
},
|
|
32
32
|
COMPLETED: {
|
|
33
33
|
label: "Completed",
|
|
34
|
-
color: "text-
|
|
35
|
-
bgColor: "bg-
|
|
36
|
-
borderColor: "border-
|
|
34
|
+
color: "text-status-success-text",
|
|
35
|
+
bgColor: "bg-status-success-bg-subtle",
|
|
36
|
+
borderColor: "border-status-success-border",
|
|
37
37
|
icon: "mdi:check-circle-outline"
|
|
38
38
|
},
|
|
39
39
|
FAILED: {
|
|
40
40
|
label: "Failed",
|
|
41
|
-
color: "text-
|
|
42
|
-
bgColor: "bg-
|
|
43
|
-
borderColor: "border-
|
|
41
|
+
color: "text-status-error-text",
|
|
42
|
+
bgColor: "bg-status-error-bg-subtle",
|
|
43
|
+
borderColor: "border-status-error-border",
|
|
44
44
|
icon: "mdi:alert-circle-outline"
|
|
45
45
|
},
|
|
46
46
|
CANCELLED: {
|
|
47
47
|
label: "Cancelled",
|
|
48
|
-
color: "text-
|
|
49
|
-
bgColor: "bg-
|
|
50
|
-
borderColor: "border-
|
|
48
|
+
color: "text-status-warning-text",
|
|
49
|
+
bgColor: "bg-status-warning-bg-subtle",
|
|
50
|
+
borderColor: "border-status-warning-border",
|
|
51
51
|
icon: "mdi:cancel"
|
|
52
52
|
},
|
|
53
53
|
WAITING: {
|
|
54
54
|
label: "Waiting",
|
|
55
|
-
color: "text-
|
|
56
|
-
bgColor: "bg-
|
|
57
|
-
borderColor: "border-
|
|
55
|
+
color: "text-chart-3",
|
|
56
|
+
bgColor: "bg-chart-3/10",
|
|
57
|
+
borderColor: "border-chart-3/30",
|
|
58
58
|
icon: "mdi:timer-sand"
|
|
59
59
|
},
|
|
60
60
|
TERMINATED: {
|
|
61
61
|
label: "Terminated",
|
|
62
|
-
color: "text-
|
|
63
|
-
bgColor: "bg-
|
|
64
|
-
borderColor: "border-
|
|
62
|
+
color: "text-text-secondary",
|
|
63
|
+
bgColor: "bg-bg-sunken",
|
|
64
|
+
borderColor: "border-border-strong",
|
|
65
65
|
icon: "mdi:stop-circle-outline"
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
var NODE_STATUS_CONFIG = {
|
|
69
69
|
PENDING: {
|
|
70
70
|
label: "Pending",
|
|
71
|
-
color: "text-
|
|
72
|
-
bgColor: "bg-
|
|
73
|
-
borderColor: "border-
|
|
71
|
+
color: "text-text-secondary",
|
|
72
|
+
bgColor: "bg-bg-sunken",
|
|
73
|
+
borderColor: "border-border-default",
|
|
74
74
|
icon: "mdi:clock-outline"
|
|
75
75
|
},
|
|
76
76
|
RUNNING: {
|
|
77
77
|
label: "Running",
|
|
78
|
-
color: "text-
|
|
79
|
-
bgColor: "bg-
|
|
80
|
-
borderColor: "border-
|
|
78
|
+
color: "text-status-info-text",
|
|
79
|
+
bgColor: "bg-status-info-bg-subtle",
|
|
80
|
+
borderColor: "border-status-info-border",
|
|
81
81
|
icon: "mdi:play-circle-outline"
|
|
82
82
|
},
|
|
83
83
|
COMPLETED: {
|
|
84
84
|
label: "Completed",
|
|
85
|
-
color: "text-
|
|
86
|
-
bgColor: "bg-
|
|
87
|
-
borderColor: "border-
|
|
85
|
+
color: "text-status-success-text",
|
|
86
|
+
bgColor: "bg-status-success-bg-subtle",
|
|
87
|
+
borderColor: "border-status-success-border",
|
|
88
88
|
icon: "mdi:check-circle-outline"
|
|
89
89
|
},
|
|
90
90
|
FAILED: {
|
|
91
91
|
label: "Failed",
|
|
92
|
-
color: "text-
|
|
93
|
-
bgColor: "bg-
|
|
94
|
-
borderColor: "border-
|
|
92
|
+
color: "text-status-error-text",
|
|
93
|
+
bgColor: "bg-status-error-bg-subtle",
|
|
94
|
+
borderColor: "border-status-error-border",
|
|
95
95
|
icon: "mdi:alert-circle-outline"
|
|
96
96
|
},
|
|
97
97
|
SKIPPED: {
|
|
98
98
|
label: "Skipped",
|
|
99
|
-
color: "text-
|
|
100
|
-
bgColor: "bg-
|
|
101
|
-
borderColor: "border-
|
|
99
|
+
color: "text-text-muted",
|
|
100
|
+
bgColor: "bg-bg-sunken",
|
|
101
|
+
borderColor: "border-border-default",
|
|
102
102
|
icon: "mdi:skip-next"
|
|
103
103
|
},
|
|
104
104
|
DELAYED: {
|
|
105
105
|
label: "Delayed",
|
|
106
|
-
color: "text-
|
|
107
|
-
bgColor: "bg-
|
|
108
|
-
borderColor: "border-
|
|
106
|
+
color: "text-status-warning-text",
|
|
107
|
+
bgColor: "bg-status-warning-bg-subtle",
|
|
108
|
+
borderColor: "border-status-warning-border",
|
|
109
109
|
icon: "mdi:clock-alert-outline"
|
|
110
110
|
},
|
|
111
111
|
CANCELLED: {
|
|
112
112
|
label: "Cancelled",
|
|
113
|
-
color: "text-
|
|
114
|
-
bgColor: "bg-
|
|
115
|
-
borderColor: "border-
|
|
113
|
+
color: "text-status-warning-text",
|
|
114
|
+
bgColor: "bg-status-warning-bg-subtle",
|
|
115
|
+
borderColor: "border-status-warning-border",
|
|
116
116
|
icon: "mdi:cancel"
|
|
117
117
|
},
|
|
118
118
|
TIMEOUT: {
|
|
119
119
|
label: "Timeout",
|
|
120
|
-
color: "text-
|
|
121
|
-
bgColor: "bg-
|
|
122
|
-
borderColor: "border-
|
|
120
|
+
color: "text-status-error-text",
|
|
121
|
+
bgColor: "bg-status-error-bg-subtle",
|
|
122
|
+
borderColor: "border-status-error-border",
|
|
123
123
|
icon: "mdi:timer-off-outline"
|
|
124
124
|
},
|
|
125
125
|
// A node parked by a Wait node, an external webhook/form resume, or a person (BOFF-7651).
|
|
126
126
|
WAITING: {
|
|
127
127
|
label: "Waiting",
|
|
128
|
-
color: "text-
|
|
129
|
-
bgColor: "bg-
|
|
130
|
-
borderColor: "border-
|
|
128
|
+
color: "text-chart-3",
|
|
129
|
+
bgColor: "bg-chart-3/10",
|
|
130
|
+
borderColor: "border-chart-3/30",
|
|
131
131
|
icon: "mdi:timer-sand"
|
|
132
132
|
},
|
|
133
133
|
WAITING_SUBWORKFLOW: {
|
|
134
134
|
label: "Waiting",
|
|
135
|
-
color: "text-
|
|
136
|
-
bgColor: "bg-
|
|
137
|
-
borderColor: "border-
|
|
135
|
+
color: "text-chart-3",
|
|
136
|
+
bgColor: "bg-chart-3/10",
|
|
137
|
+
borderColor: "border-chart-3/30",
|
|
138
138
|
icon: "mdi:subdirectory-arrow-right"
|
|
139
139
|
}
|
|
140
140
|
};
|
|
@@ -1426,16 +1426,16 @@ function formatRelativeTime(dateStr) {
|
|
|
1426
1426
|
function getProgressColor(status) {
|
|
1427
1427
|
switch (status) {
|
|
1428
1428
|
case "COMPLETED":
|
|
1429
|
-
return "bg-
|
|
1429
|
+
return "bg-status-success-bg";
|
|
1430
1430
|
case "FAILED":
|
|
1431
1431
|
case "TERMINATED":
|
|
1432
|
-
return "bg-
|
|
1432
|
+
return "bg-status-error-bg";
|
|
1433
1433
|
case "RUNNING":
|
|
1434
|
-
return "bg-
|
|
1434
|
+
return "bg-status-info-bg";
|
|
1435
1435
|
case "CANCELLED":
|
|
1436
|
-
return "bg-
|
|
1436
|
+
return "bg-status-warning-bg";
|
|
1437
1437
|
default:
|
|
1438
|
-
return "bg-
|
|
1438
|
+
return "bg-text-muted";
|
|
1439
1439
|
}
|
|
1440
1440
|
}
|
|
1441
1441
|
function ExecutionCards({
|
|
@@ -1534,7 +1534,7 @@ function ExecutionCards({
|
|
|
1534
1534
|
{
|
|
1535
1535
|
icon: "mdi:check-circle",
|
|
1536
1536
|
width: 12,
|
|
1537
|
-
className: "text-
|
|
1537
|
+
className: "text-status-success-text"
|
|
1538
1538
|
}
|
|
1539
1539
|
),
|
|
1540
1540
|
execution.completedNodes ?? 0
|
|
@@ -1545,7 +1545,7 @@ function ExecutionCards({
|
|
|
1545
1545
|
{
|
|
1546
1546
|
icon: "mdi:alert-circle",
|
|
1547
1547
|
width: 12,
|
|
1548
|
-
className: "text-
|
|
1548
|
+
className: "text-status-error-text"
|
|
1549
1549
|
}
|
|
1550
1550
|
),
|
|
1551
1551
|
execution.failedNodes ?? 0
|
|
@@ -1556,7 +1556,7 @@ function ExecutionCards({
|
|
|
1556
1556
|
{
|
|
1557
1557
|
icon: "mdi:skip-next",
|
|
1558
1558
|
width: 12,
|
|
1559
|
-
className: "text-
|
|
1559
|
+
className: "text-text-muted"
|
|
1560
1560
|
}
|
|
1561
1561
|
),
|
|
1562
1562
|
execution.skippedNodes ?? 0
|
|
@@ -1582,7 +1582,7 @@ function ExecutionCards({
|
|
|
1582
1582
|
e.stopPropagation();
|
|
1583
1583
|
onAction("pause", execution);
|
|
1584
1584
|
},
|
|
1585
|
-
className: "flex items-center gap-1 text-xs px-2 py-1 rounded bg-background-tertiary hover:bg-
|
|
1585
|
+
className: "flex items-center gap-1 text-xs px-2 py-1 rounded bg-background-tertiary hover:bg-status-warning-bg-subtle text-text-secondary hover:text-status-warning-text transition-colors",
|
|
1586
1586
|
children: [
|
|
1587
1587
|
/* @__PURE__ */ jsx(Icon, { icon: "mdi:pause", width: 12 }),
|
|
1588
1588
|
" ",
|
|
@@ -1601,7 +1601,7 @@ function ExecutionCards({
|
|
|
1601
1601
|
e.stopPropagation();
|
|
1602
1602
|
onAction("cancel", execution);
|
|
1603
1603
|
},
|
|
1604
|
-
className: "flex items-center gap-1 text-xs px-2 py-1 rounded bg-background-tertiary hover:bg-
|
|
1604
|
+
className: "flex items-center gap-1 text-xs px-2 py-1 rounded bg-background-tertiary hover:bg-status-error-bg-subtle text-text-secondary hover:text-status-error-text transition-colors",
|
|
1605
1605
|
children: [
|
|
1606
1606
|
/* @__PURE__ */ jsx(Icon, { icon: "mdi:stop", width: 12 }),
|
|
1607
1607
|
" ",
|
|
@@ -1646,19 +1646,19 @@ function formatDuration2(ms) {
|
|
|
1646
1646
|
function getStatusDotColor(status) {
|
|
1647
1647
|
switch (status) {
|
|
1648
1648
|
case "COMPLETED":
|
|
1649
|
-
return "bg-
|
|
1649
|
+
return "bg-status-success-bg";
|
|
1650
1650
|
case "FAILED":
|
|
1651
1651
|
case "TERMINATED":
|
|
1652
|
-
return "bg-
|
|
1652
|
+
return "bg-status-error-bg";
|
|
1653
1653
|
case "RUNNING":
|
|
1654
|
-
return "bg-
|
|
1654
|
+
return "bg-status-info-bg animate-pulse";
|
|
1655
1655
|
case "CANCELLED":
|
|
1656
|
-
return "bg-
|
|
1656
|
+
return "bg-status-warning-bg";
|
|
1657
1657
|
case "WAITING":
|
|
1658
|
-
return "bg-
|
|
1658
|
+
return "bg-chart-3";
|
|
1659
1659
|
case "PENDING":
|
|
1660
1660
|
default:
|
|
1661
|
-
return "bg-
|
|
1661
|
+
return "bg-text-muted";
|
|
1662
1662
|
}
|
|
1663
1663
|
}
|
|
1664
1664
|
function groupByDate(executions) {
|
|
@@ -1782,7 +1782,7 @@ function ExecutionTimeline({
|
|
|
1782
1782
|
)
|
|
1783
1783
|
] })
|
|
1784
1784
|
] }),
|
|
1785
|
-
execution.errorMessage && /* @__PURE__ */ jsx("p", { className: "mt-1.5 text-xs text-
|
|
1785
|
+
execution.errorMessage && /* @__PURE__ */ jsx("p", { className: "mt-1.5 text-xs text-status-error-text truncate max-w-sm", children: execution.errorMessage })
|
|
1786
1786
|
] }),
|
|
1787
1787
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 shrink-0", children: [
|
|
1788
1788
|
/* @__PURE__ */ jsx(
|
|
@@ -1800,7 +1800,7 @@ function ExecutionTimeline({
|
|
|
1800
1800
|
e.stopPropagation();
|
|
1801
1801
|
onAction("cancel", execution);
|
|
1802
1802
|
},
|
|
1803
|
-
className: "opacity-0 group-hover:opacity-100 p-1 rounded hover:bg-
|
|
1803
|
+
className: "opacity-0 group-hover:opacity-100 p-1 rounded hover:bg-status-error-bg-subtle text-text-tertiary hover:text-status-error-text transition-all",
|
|
1804
1804
|
title: tr(
|
|
1805
1805
|
"fluidgrids.executions.executionTimeline.cancelTooltip",
|
|
1806
1806
|
"Cancel execution"
|
|
@@ -1813,7 +1813,7 @@ function ExecutionTimeline({
|
|
|
1813
1813
|
execution.status === "RUNNING" && /* @__PURE__ */ jsx("div", { className: "mt-2", children: /* @__PURE__ */ jsx("div", { className: "h-1 bg-background-tertiary rounded-full overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
1814
1814
|
"div",
|
|
1815
1815
|
{
|
|
1816
|
-
className: "h-full bg-
|
|
1816
|
+
className: "h-full bg-status-info-bg rounded-full transition-all duration-500 animate-pulse",
|
|
1817
1817
|
style: {
|
|
1818
1818
|
width: `${Math.min(execution.progress, 100)}%`
|
|
1819
1819
|
}
|
|
@@ -1986,14 +1986,14 @@ function NodeTimeline({
|
|
|
1986
1986
|
/* @__PURE__ */ jsx("div", { children: formatTime2(node.startTime) }),
|
|
1987
1987
|
/* @__PURE__ */ jsx("div", { children: formatDuration3(node.duration) })
|
|
1988
1988
|
] }),
|
|
1989
|
-
hasChildRun && /* @__PURE__ */ jsxs("span", { className: "px-2 py-0.5 text-xs bg-
|
|
1989
|
+
hasChildRun && /* @__PURE__ */ jsxs("span", { className: "px-2 py-0.5 text-xs bg-chart-12/10 text-chart-12 rounded flex items-center gap-1", children: [
|
|
1990
1990
|
/* @__PURE__ */ jsx(Icon, { icon: "mdi:sitemap", width: 12 }),
|
|
1991
1991
|
tr(
|
|
1992
1992
|
"fluidgrids.executions.nodeTimeline.subWorkflowBadge",
|
|
1993
1993
|
"Sub-workflow"
|
|
1994
1994
|
)
|
|
1995
1995
|
] }),
|
|
1996
|
-
isWaitingSubworkflow && /* @__PURE__ */ jsx("span", { className: "px-2 py-0.5 text-xs bg-
|
|
1996
|
+
isWaitingSubworkflow && /* @__PURE__ */ jsx("span", { className: "px-2 py-0.5 text-xs bg-chart-3/10 text-chart-3 rounded animate-pulse", children: tr(
|
|
1997
1997
|
"fluidgrids.executions.nodeTimeline.waitingBadge",
|
|
1998
1998
|
"Waiting..."
|
|
1999
1999
|
) }),
|
|
@@ -2023,7 +2023,7 @@ function NodeTimeline({
|
|
|
2023
2023
|
"button",
|
|
2024
2024
|
{
|
|
2025
2025
|
onClick: () => setSelectedTab("output"),
|
|
2026
|
-
className: `px-3 py-1.5 text-sm rounded ${selectedTab === "output" ? "bg-action-primary-bg text-
|
|
2026
|
+
className: `px-3 py-1.5 text-sm rounded ${selectedTab === "output" ? "bg-action-primary-bg text-action-primary-text" : "bg-background-tertiary text-text-secondary"}`,
|
|
2027
2027
|
children: tr(
|
|
2028
2028
|
"fluidgrids.executions.nodeTimeline.outputTab",
|
|
2029
2029
|
"Output"
|
|
@@ -2034,7 +2034,7 @@ function NodeTimeline({
|
|
|
2034
2034
|
"button",
|
|
2035
2035
|
{
|
|
2036
2036
|
onClick: () => setSelectedTab("input"),
|
|
2037
|
-
className: `px-3 py-1.5 text-sm rounded ${selectedTab === "input" ? "bg-action-primary-bg text-
|
|
2037
|
+
className: `px-3 py-1.5 text-sm rounded ${selectedTab === "input" ? "bg-action-primary-bg text-action-primary-text" : "bg-background-tertiary text-text-secondary"}`,
|
|
2038
2038
|
children: tr(
|
|
2039
2039
|
"fluidgrids.executions.nodeTimeline.inputTab",
|
|
2040
2040
|
"Input"
|
|
@@ -2059,7 +2059,7 @@ function NodeTimeline({
|
|
|
2059
2059
|
"button",
|
|
2060
2060
|
{
|
|
2061
2061
|
onClick: () => onViewChildRun(node.childRunId),
|
|
2062
|
-
className: "px-3 py-1.5 text-sm bg-
|
|
2062
|
+
className: "px-3 py-1.5 text-sm bg-chart-12 text-action-primary-text rounded hover:bg-chart-12/90 flex items-center gap-1.5",
|
|
2063
2063
|
children: [
|
|
2064
2064
|
/* @__PURE__ */ jsx(Icon, { icon: "mdi:sitemap", width: 16 }),
|
|
2065
2065
|
tr(
|
|
@@ -2073,7 +2073,7 @@ function NodeTimeline({
|
|
|
2073
2073
|
"button",
|
|
2074
2074
|
{
|
|
2075
2075
|
onClick: () => onRetryNode(node.nodeId),
|
|
2076
|
-
className: "px-3 py-1.5 text-sm bg-action-primary-bg text-
|
|
2076
|
+
className: "px-3 py-1.5 text-sm bg-action-primary-bg text-action-primary-text rounded hover:bg-action-primary-bgHover flex items-center gap-1.5",
|
|
2077
2077
|
children: [
|
|
2078
2078
|
/* @__PURE__ */ jsx(Icon, { icon: "mdi:refresh", width: 16 }),
|
|
2079
2079
|
tr(
|
|
@@ -2680,7 +2680,7 @@ function Pagination({
|
|
|
2680
2680
|
onClick: () => goToPage(pageNum),
|
|
2681
2681
|
className: `
|
|
2682
2682
|
min-w-[32px] h-8 px-2 rounded text-sm font-medium
|
|
2683
|
-
${pageNum === page ? "bg-action-primary-bg text-
|
|
2683
|
+
${pageNum === page ? "bg-action-primary-bg text-action-primary-text" : "hover:bg-background-tertiary text-text-secondary"}
|
|
2684
2684
|
`,
|
|
2685
2685
|
children: pageNum
|
|
2686
2686
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isCreateIntent, decideMissingWorkflow } from './chunk-6N27YGMB.js';
|
|
2
|
-
import { useInstalledNodes, buildNodeCheck, refetchStoreNodes, FlowBuilderPage, buildRequiredNodeTypes, mergeStickyNotes } from './chunk-
|
|
2
|
+
import { useInstalledNodes, buildNodeCheck, refetchStoreNodes, FlowBuilderPage, buildRequiredNodeTypes, mergeStickyNotes } from './chunk-T3UCFY7J.js';
|
|
3
3
|
import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-HP3A6BPK.js';
|
|
4
|
-
import { useFlowStore } from './chunk-
|
|
4
|
+
import { useFlowStore } from './chunk-VI2RFS65.js';
|
|
5
5
|
import { useTr } from './chunk-UULVIT25.js';
|
|
6
6
|
import { useNavigate, useParams, useLocation } from 'react-router';
|
|
7
7
|
import { toast } from 'sonner';
|
|
@@ -12,7 +12,7 @@ import { ErrorBoundary } from '@burdenoff/fe-libs/shared/components';
|
|
|
12
12
|
import '@xyflow/react/dist/style.css';
|
|
13
13
|
|
|
14
14
|
var LazyMissingNodesInstallModal = lazy(
|
|
15
|
-
() => import('./MissingNodesInstallModal-
|
|
15
|
+
() => import('./MissingNodesInstallModal-OSAJLIBE.js').then(
|
|
16
16
|
(m) => ({ default: m.MissingNodesInstallModal })
|
|
17
17
|
)
|
|
18
18
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useExecution, buildNodeDisplayMap, useExecutionActions, useAutoRefresh, ExecutionStatusBadge, formatRunVersion, NodeTimeline, RunLogViewer } from './chunk-
|
|
1
|
+
import { useExecution, buildNodeDisplayMap, useExecutionActions, useAutoRefresh, ExecutionStatusBadge, formatRunVersion, NodeTimeline, RunLogViewer } from './chunk-HIXQIM22.js';
|
|
2
2
|
import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS } from './chunk-ONVGFVNH.js';
|
|
3
3
|
import { getFluidGridsConfig } from './chunk-UZG3ZIQM.js';
|
|
4
4
|
import { RunLogsDocument, RunLogAppendedDocument } from './chunk-SAZVBFMO.js';
|
|
@@ -1013,7 +1013,7 @@ function ExecutionDetailPage() {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
),
|
|
1015
1015
|
execution.parentRunId && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 mb-3 text-sm", children: [
|
|
1016
|
-
/* @__PURE__ */ jsx(Icon, { icon: "mdi:sitemap", className: "text-
|
|
1016
|
+
/* @__PURE__ */ jsx(Icon, { icon: "mdi:sitemap", className: "text-chart-12", width: 16 }),
|
|
1017
1017
|
/* @__PURE__ */ jsx("span", { className: "text-text-secondary", children: tr(
|
|
1018
1018
|
"fluidgrids.executions.executionDetail.subWorkflowOf",
|
|
1019
1019
|
"Sub-workflow of"
|
|
@@ -1022,7 +1022,7 @@ function ExecutionDetailPage() {
|
|
|
1022
1022
|
Link,
|
|
1023
1023
|
{
|
|
1024
1024
|
to: `../runs/${execution.parentRunId}`,
|
|
1025
|
-
className: "text-
|
|
1025
|
+
className: "text-chart-12 hover:underline font-medium",
|
|
1026
1026
|
children: [
|
|
1027
1027
|
tr(
|
|
1028
1028
|
"fluidgrids.executions.executionDetail.parentRunLinkPrefix",
|
|
@@ -1040,7 +1040,7 @@ function ExecutionDetailPage() {
|
|
|
1040
1040
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 mb-2", children: [
|
|
1041
1041
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl sm:text-3xl font-bold text-text-primary", children: execution.workflow?.name || execution.workflowKey }),
|
|
1042
1042
|
/* @__PURE__ */ jsx(ExecutionStatusBadge, { status: execution.status, size: "lg" }),
|
|
1043
|
-
execution.parentRunId && /* @__PURE__ */ jsx("span", { className: "px-2 py-0.5 text-xs bg-
|
|
1043
|
+
execution.parentRunId && /* @__PURE__ */ jsx("span", { className: "px-2 py-0.5 text-xs bg-chart-12/10 text-chart-12 rounded", children: tr(
|
|
1044
1044
|
"fluidgrids.executions.executionDetail.subWorkflowBadge",
|
|
1045
1045
|
"Sub-Workflow"
|
|
1046
1046
|
) })
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates, TemplateCard } from './chunk-
|
|
1
|
+
import { useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates, TemplateCard } from './chunk-T3UCFY7J.js';
|
|
2
2
|
import { QuotaExhaustedDialog } from './chunk-SYVLFHWV.js';
|
|
3
3
|
import { useWorkflowDefinitions, useDuplicateWorkflow } from './chunk-HP3A6BPK.js';
|
|
4
4
|
import { templatesControls } from './chunk-D3UWK7GY.js';
|
|
@@ -10573,11 +10573,11 @@ var CATEGORIES = [
|
|
|
10573
10573
|
{ value: "communication", label: "Communication", icon: "mdi:message-text" }
|
|
10574
10574
|
];
|
|
10575
10575
|
var CATEGORY_COLORS = {
|
|
10576
|
-
"data-processing": "bg-
|
|
10577
|
-
integration: "bg-
|
|
10578
|
-
automation: "bg-
|
|
10579
|
-
"ai-ml": "bg-
|
|
10580
|
-
communication: "bg-
|
|
10576
|
+
"data-processing": "bg-status-info-bg-subtle text-status-info-text border-status-info-border",
|
|
10577
|
+
integration: "bg-chart-3/10 text-chart-3 border-chart-3/30",
|
|
10578
|
+
automation: "bg-status-success-bg-subtle text-status-success-text border-status-success-border",
|
|
10579
|
+
"ai-ml": "bg-status-warning-bg-subtle text-status-warning-text border-status-warning-border",
|
|
10580
|
+
communication: "bg-status-error-bg-subtle text-status-error-text border-status-error-border"
|
|
10581
10581
|
};
|
|
10582
10582
|
function inferCategory(workflow) {
|
|
10583
10583
|
const text = [
|
|
@@ -10662,7 +10662,7 @@ function WorkspaceTemplateCard({
|
|
|
10662
10662
|
}) {
|
|
10663
10663
|
const tr = useTr();
|
|
10664
10664
|
const categoryLabel = CATEGORIES.find((c) => c.value === category)?.label ?? tr("fluidgrids.templates.templatesPage.cardDefaultCategory", "Workflow");
|
|
10665
|
-
const categoryColor = CATEGORY_COLORS[category] ?? "bg-
|
|
10665
|
+
const categoryColor = CATEGORY_COLORS[category] ?? "bg-bg-sunken text-text-muted border-border-strong";
|
|
10666
10666
|
return /* @__PURE__ */ jsxs(Card, { className: "group border border-border-secondary bg-background-secondary hover:border-border-primary transition-all duration-200 flex flex-col", children: [
|
|
10667
10667
|
/* @__PURE__ */ jsxs(CardHeader, { className: "flex-1 pb-3", children: [
|
|
10668
10668
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2 mb-3", children: [
|
|
@@ -4,7 +4,7 @@ import { SdkPermissionButton, FLUIDGRIDS_PERMISSIONS, SdkPermissionGate } from '
|
|
|
4
4
|
import { useWorkflowDefinitions, useLazyWorkflowDefinition, useImportWorkflow, useDuplicateWorkflow, useDeleteWorkflow } from './chunk-HP3A6BPK.js';
|
|
5
5
|
import { workflowsListControls } from './chunk-D3UWK7GY.js';
|
|
6
6
|
import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
7
|
-
import { useFlowStore } from './chunk-
|
|
7
|
+
import { useFlowStore } from './chunk-VI2RFS65.js';
|
|
8
8
|
import { BILLING_PLANS_PATH, isQuotaExhaustedFailure } from './chunk-4UAWCWS7.js';
|
|
9
9
|
import { useTr } from './chunk-UULVIT25.js';
|
|
10
10
|
import { useState, useMemo } from 'react';
|
|
@@ -90,7 +90,7 @@ function SharePopup({ shareUrl, embedUrl }) {
|
|
|
90
90
|
return /* @__PURE__ */ jsx(
|
|
91
91
|
"div",
|
|
92
92
|
{
|
|
93
|
-
className: "fixed inset-0 z-50 flex items-center justify-center bg-
|
|
93
|
+
className: "fixed inset-0 z-50 flex items-center justify-center bg-bg-overlay",
|
|
94
94
|
onClick: () => setIsOpen(false),
|
|
95
95
|
children: /* @__PURE__ */ jsxs(
|
|
96
96
|
"div",
|