@burdenoff/fluidgrids-fe-sdk 2026.1022.3 → 2026.1022.5
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-I6YRSLOP.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-E4GMHPVS.js → WorkflowBuilder-36X3QZTC.js} +5 -5
- package/dist/{WorkflowsList-BAYEP7TU.js → WorkflowsList-O3DFQM6S.js} +2 -2
- package/dist/{chunk-FLVFVYBE.js → chunk-3FI4DCIY.js} +24 -24
- package/dist/{chunk-CU23L6GP.js → chunk-BMMZQSQ3.js} +8 -8
- package/dist/{chunk-GDAFKRQO.js → chunk-BQXVT32O.js} +4 -4
- package/dist/{chunk-3XEIMQNT.js → chunk-HIXQIM22.js} +77 -77
- package/dist/{chunk-LHOW7QKK.js → chunk-IYWT6OV3.js} +1 -1
- package/dist/{chunk-PWLDDAT6.js → chunk-M7FOQBCR.js} +3 -3
- package/dist/{chunk-6LMWVUD7.js → chunk-P3R3RFAC.js} +4 -4
- package/dist/{chunk-YPF7LVUZ.js → chunk-PG2JFX63.js} +2 -2
- package/dist/{chunk-QXJS7WIZ.js → chunk-PVDKSM6Q.js} +7 -7
- package/dist/{chunk-FJHERSHE.js → chunk-QP62LB3V.js} +2 -2
- package/dist/{chunk-L5RW3DUB.js → chunk-T3UCFY7J.js} +177 -195
- package/dist/{chunk-TWIORNPU.js → chunk-TRH5FWNT.js} +21 -14
- 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/history.js +1 -1
- package/dist/index.js +61 -41
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ExecutionDetailPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { ExecutionDetailPage } from './chunk-P3R3RFAC.js';
|
|
2
|
+
import './chunk-HIXQIM22.js';
|
|
3
3
|
import './chunk-QBFAJNUC.js';
|
|
4
4
|
import './chunk-ONVGFVNH.js';
|
|
5
5
|
import './chunk-JL7CASN5.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ExecutionsListPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { ExecutionsListPage } from './chunk-PG2JFX63.js';
|
|
2
|
+
import './chunk-HIXQIM22.js';
|
|
3
3
|
import './chunk-QBFAJNUC.js';
|
|
4
4
|
import './chunk-HP3A6BPK.js';
|
|
5
5
|
import './chunk-D3UWK7GY.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from './chunk-
|
|
2
|
-
import { Badge, Button } from './chunk-
|
|
1
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from './chunk-YXMFRQYV.js';
|
|
2
|
+
import { Badge, Button } from './chunk-BQXVT32O.js';
|
|
3
3
|
import './chunk-JL7CASN5.js';
|
|
4
4
|
import './chunk-UULVIT25.js';
|
|
5
5
|
import { Puzzle, Download, CheckCircle2, AlertTriangle, ShoppingCart, ExternalLink, Loader2 } from 'lucide-react';
|
|
@@ -47,7 +47,7 @@ function MissingNodesInstallModal({
|
|
|
47
47
|
{
|
|
48
48
|
className: "flex items-center gap-2 text-sm",
|
|
49
49
|
children: [
|
|
50
|
-
/* @__PURE__ */ jsx(CheckCircle2, { className: "size-4 text-
|
|
50
|
+
/* @__PURE__ */ jsx(CheckCircle2, { className: "size-4 text-status-success-text shrink-0" }),
|
|
51
51
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
52
52
|
node.displayName || node.nodeType,
|
|
53
53
|
" v",
|
|
@@ -63,7 +63,7 @@ function MissingNodesInstallModal({
|
|
|
63
63
|
{
|
|
64
64
|
className: "flex items-center gap-2 text-sm",
|
|
65
65
|
children: [
|
|
66
|
-
/* @__PURE__ */ jsx(Download, { className: "size-4 text-
|
|
66
|
+
/* @__PURE__ */ jsx(Download, { className: "size-4 text-status-info-text shrink-0" }),
|
|
67
67
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
68
68
|
node.displayName || node.nodeType,
|
|
69
69
|
" v",
|
|
@@ -73,7 +73,7 @@ function MissingNodesInstallModal({
|
|
|
73
73
|
Badge,
|
|
74
74
|
{
|
|
75
75
|
variant: "outline",
|
|
76
|
-
className: "text-xs ml-auto border-
|
|
76
|
+
className: "text-xs ml-auto border-status-info-border text-status-info-text",
|
|
77
77
|
children: "Not installed"
|
|
78
78
|
}
|
|
79
79
|
)
|
|
@@ -102,7 +102,7 @@ function MissingNodesInstallModal({
|
|
|
102
102
|
{
|
|
103
103
|
className: "flex items-center gap-2 text-sm",
|
|
104
104
|
children: [
|
|
105
|
-
/* @__PURE__ */ jsx(ShoppingCart, { className: "size-4 text-
|
|
105
|
+
/* @__PURE__ */ jsx(ShoppingCart, { className: "size-4 text-status-warning-text shrink-0" }),
|
|
106
106
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
107
107
|
node.displayName || node.nodeType,
|
|
108
108
|
" v",
|
|
@@ -112,7 +112,7 @@ function MissingNodesInstallModal({
|
|
|
112
112
|
Badge,
|
|
113
113
|
{
|
|
114
114
|
variant: "outline",
|
|
115
|
-
className: "text-xs ml-auto border-
|
|
115
|
+
className: "text-xs ml-auto border-status-warning-border text-status-warning-text",
|
|
116
116
|
children: "Purchase required"
|
|
117
117
|
}
|
|
118
118
|
)
|
|
@@ -139,7 +139,7 @@ function MissingNodesInstallModal({
|
|
|
139
139
|
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs", children: "These nodes are not published to the store, so they cannot be installed from here. Open the workflow to review the steps that use them." })
|
|
140
140
|
] })
|
|
141
141
|
] }),
|
|
142
|
-
hasPaidBlockers && /* @__PURE__ */ jsxs("div", { className: "rounded-lg bg-
|
|
142
|
+
hasPaidBlockers && /* @__PURE__ */ jsxs("div", { className: "rounded-lg bg-status-warning-bg-subtle border border-status-warning-border p-3 text-sm text-status-warning-text flex items-start gap-2", children: [
|
|
143
143
|
/* @__PURE__ */ jsx(AlertTriangle, { className: "size-4 mt-0.5 shrink-0" }),
|
|
144
144
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
145
145
|
/* @__PURE__ */ jsx("p", { className: "font-medium", children: "Purchase required before installing" }),
|
|
@@ -149,7 +149,7 @@ function MissingNodesInstallModal({
|
|
|
149
149
|
{
|
|
150
150
|
variant: "link",
|
|
151
151
|
size: "sm",
|
|
152
|
-
className: "mt-1 h-auto p-0 text-xs text-
|
|
152
|
+
className: "mt-1 h-auto p-0 text-xs text-status-warning-text underline",
|
|
153
153
|
onClick: () => window.open("/store", "_blank"),
|
|
154
154
|
children: [
|
|
155
155
|
/* @__PURE__ */ jsx(ExternalLink, { className: "size-3 mr-1" }),
|
package/dist/{TemplateConfigurationModal-HUHXIL3K.js → TemplateConfigurationModal-SILENYXX.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Label } from './chunk-VTQVPNUQ.js';
|
|
2
2
|
import { Input } from './chunk-IEVSFCFS.js';
|
|
3
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from './chunk-
|
|
4
|
-
import { Badge, Button } from './chunk-
|
|
3
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from './chunk-YXMFRQYV.js';
|
|
4
|
+
import { Badge, Button } from './chunk-BQXVT32O.js';
|
|
5
5
|
import './chunk-JL7CASN5.js';
|
|
6
6
|
import { useTr } from './chunk-UULVIT25.js';
|
|
7
7
|
import { useState, useEffect, useMemo } from 'react';
|
|
@@ -155,7 +155,7 @@ function TemplateConfigurationModal({
|
|
|
155
155
|
{
|
|
156
156
|
className: "flex items-center gap-2 text-sm",
|
|
157
157
|
children: [
|
|
158
|
-
/* @__PURE__ */ jsx(CheckCircle2, { className: "size-4 text-
|
|
158
|
+
/* @__PURE__ */ jsx(CheckCircle2, { className: "size-4 text-status-success-text shrink-0" }),
|
|
159
159
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
160
160
|
node.displayName || node.nodeType,
|
|
161
161
|
" v",
|
|
@@ -174,7 +174,7 @@ function TemplateConfigurationModal({
|
|
|
174
174
|
{
|
|
175
175
|
className: "flex items-center gap-2 text-sm",
|
|
176
176
|
children: [
|
|
177
|
-
/* @__PURE__ */ jsx(Download, { className: "size-4 text-
|
|
177
|
+
/* @__PURE__ */ jsx(Download, { className: "size-4 text-status-info-text shrink-0" }),
|
|
178
178
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
179
179
|
node.displayName || node.nodeType,
|
|
180
180
|
" v",
|
|
@@ -184,7 +184,7 @@ function TemplateConfigurationModal({
|
|
|
184
184
|
Badge,
|
|
185
185
|
{
|
|
186
186
|
variant: "outline",
|
|
187
|
-
className: "text-xs ml-auto border-
|
|
187
|
+
className: "text-xs ml-auto border-status-info-border text-status-info-text",
|
|
188
188
|
children: tr(
|
|
189
189
|
"fluidgrids.builder.templateConfigModal.willInstallBadge",
|
|
190
190
|
"Will install"
|
|
@@ -200,7 +200,7 @@ function TemplateConfigurationModal({
|
|
|
200
200
|
{
|
|
201
201
|
className: "flex items-center gap-2 text-sm",
|
|
202
202
|
children: [
|
|
203
|
-
/* @__PURE__ */ jsx(ShoppingCart, { className: "size-4 text-
|
|
203
|
+
/* @__PURE__ */ jsx(ShoppingCart, { className: "size-4 text-status-warning-text shrink-0" }),
|
|
204
204
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
205
205
|
node.displayName || node.nodeType,
|
|
206
206
|
" v",
|
|
@@ -210,7 +210,7 @@ function TemplateConfigurationModal({
|
|
|
210
210
|
Badge,
|
|
211
211
|
{
|
|
212
212
|
variant: "outline",
|
|
213
|
-
className: "text-xs ml-auto border-
|
|
213
|
+
className: "text-xs ml-auto border-status-warning-border text-status-warning-text",
|
|
214
214
|
children: tr(
|
|
215
215
|
"fluidgrids.builder.templateConfigModal.purchaseRequiredBadge",
|
|
216
216
|
"Purchase required"
|
|
@@ -245,7 +245,7 @@ function TemplateConfigurationModal({
|
|
|
245
245
|
/* @__PURE__ */ jsx("strong", { children: "DRAFT" }),
|
|
246
246
|
". You can review and edit it in the builder before activating."
|
|
247
247
|
] }) }),
|
|
248
|
-
hasPaidBlockers && /* @__PURE__ */ jsxs("div", { className: "rounded-lg bg-
|
|
248
|
+
hasPaidBlockers && /* @__PURE__ */ jsxs("div", { className: "rounded-lg bg-status-warning-bg-subtle border border-status-warning-border p-3 text-sm text-status-warning-text flex items-start gap-2", children: [
|
|
249
249
|
/* @__PURE__ */ jsx(AlertTriangle, { className: "size-4 mt-0.5 shrink-0" }),
|
|
250
250
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
251
251
|
/* @__PURE__ */ jsx("p", { className: "font-medium", children: tr(
|
|
@@ -261,7 +261,7 @@ function TemplateConfigurationModal({
|
|
|
261
261
|
{
|
|
262
262
|
variant: "link",
|
|
263
263
|
size: "sm",
|
|
264
|
-
className: "mt-1 h-auto p-0 text-xs text-
|
|
264
|
+
className: "mt-1 h-auto p-0 text-xs text-status-warning-text underline",
|
|
265
265
|
onClick: () => window.open("/store", "_blank"),
|
|
266
266
|
children: [
|
|
267
267
|
/* @__PURE__ */ jsx(ExternalLink, { className: "size-3 mr-1" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button, Badge } from './chunk-
|
|
1
|
+
import { Button, Badge } from './chunk-BQXVT32O.js';
|
|
2
2
|
import './chunk-JL7CASN5.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { X, Sparkles, Star, Download, Eye, User, Calendar, Tag, ExternalLink } from 'lucide-react';
|
|
@@ -63,14 +63,14 @@ function TemplateDetailPanel({
|
|
|
63
63
|
Badge,
|
|
64
64
|
{
|
|
65
65
|
variant: "secondary",
|
|
66
|
-
className: "bg-
|
|
66
|
+
className: "bg-status-success-bg text-action-primary-text border-0",
|
|
67
67
|
children: tr("fluidgrids.builder.templateDetailPanel.freeBadge", "Free")
|
|
68
68
|
}
|
|
69
69
|
) : /* @__PURE__ */ jsxs(
|
|
70
70
|
Badge,
|
|
71
71
|
{
|
|
72
72
|
variant: "default",
|
|
73
|
-
className: "bg-
|
|
73
|
+
className: "bg-status-info-bg text-action-primary-text border-0",
|
|
74
74
|
children: [
|
|
75
75
|
"$",
|
|
76
76
|
template.price?.toString() || "0"
|
|
@@ -81,9 +81,9 @@ function TemplateDetailPanel({
|
|
|
81
81
|
Badge,
|
|
82
82
|
{
|
|
83
83
|
variant: "default",
|
|
84
|
-
className: "bg-
|
|
84
|
+
className: "bg-status-warning-bg-subtle text-status-warning-text border border-status-warning-border shadow-lg",
|
|
85
85
|
children: [
|
|
86
|
-
/* @__PURE__ */ jsx(Star, { className: "size-3 mr-1 fill-
|
|
86
|
+
/* @__PURE__ */ jsx(Star, { className: "size-3 mr-1 fill-current" }),
|
|
87
87
|
tr(
|
|
88
88
|
"fluidgrids.builder.templateDetailPanel.featuredBadge",
|
|
89
89
|
"Featured"
|
|
@@ -101,7 +101,7 @@ function TemplateDetailPanel({
|
|
|
101
101
|
] }),
|
|
102
102
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 text-sm text-muted-foreground", children: [
|
|
103
103
|
template.rating && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
104
|
-
/* @__PURE__ */ jsx(Star, { className: "size-4 fill-
|
|
104
|
+
/* @__PURE__ */ jsx(Star, { className: "size-4 fill-status-warning-bg text-status-warning-text" }),
|
|
105
105
|
/* @__PURE__ */ jsx("span", { className: "font-medium text-foreground", children: template.rating.toFixed(1) }),
|
|
106
106
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
107
107
|
"(",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { WorkflowBuilder } from './chunk-
|
|
1
|
+
export { WorkflowBuilder } from './chunk-M7FOQBCR.js';
|
|
2
2
|
import './chunk-6N27YGMB.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-T3UCFY7J.js';
|
|
4
4
|
import './chunk-GEMNVFPK.js';
|
|
5
5
|
import './chunk-IEVSFCFS.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-YXMFRQYV.js';
|
|
7
|
+
import './chunk-BQXVT32O.js';
|
|
8
8
|
import './chunk-SYVLFHWV.js';
|
|
9
9
|
import './chunk-PXIFUMLA.js';
|
|
10
10
|
import './chunk-WBH2XEWO.js';
|
|
@@ -13,7 +13,7 @@ import './chunk-JL7CASN5.js';
|
|
|
13
13
|
import './chunk-HP3A6BPK.js';
|
|
14
14
|
import './chunk-UZG3ZIQM.js';
|
|
15
15
|
import './chunk-5TW5JP5R.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-VI2RFS65.js';
|
|
17
17
|
import './chunk-SAZVBFMO.js';
|
|
18
18
|
import './chunk-4UAWCWS7.js';
|
|
19
19
|
import './chunk-UULVIT25.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { WorkflowsList } from './chunk-
|
|
1
|
+
export { WorkflowsList } from './chunk-QP62LB3V.js';
|
|
2
2
|
import './chunk-6N27YGMB.js';
|
|
3
3
|
import './chunk-SYVLFHWV.js';
|
|
4
4
|
import './chunk-ONVGFVNH.js';
|
|
@@ -7,7 +7,7 @@ import './chunk-HP3A6BPK.js';
|
|
|
7
7
|
import './chunk-D3UWK7GY.js';
|
|
8
8
|
import './chunk-UZG3ZIQM.js';
|
|
9
9
|
import './chunk-PJAWNFJV.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-VI2RFS65.js';
|
|
11
11
|
import './chunk-SAZVBFMO.js';
|
|
12
12
|
import './chunk-4UAWCWS7.js';
|
|
13
13
|
import './chunk-UULVIT25.js';
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { FluidGridsProvider, Card, FluidGridsMark } from './chunk-
|
|
1
|
+
import { FluidGridsProvider, Card, FluidGridsMark } from './chunk-T3UCFY7J.js';
|
|
2
2
|
import { Input } from './chunk-IEVSFCFS.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Button } from './chunk-BQXVT32O.js';
|
|
4
4
|
import { cn } from './chunk-JL7CASN5.js';
|
|
5
5
|
import { useWorkflowDefinition } from './chunk-HP3A6BPK.js';
|
|
6
|
-
import { useFlowStore } from './chunk-
|
|
6
|
+
import { useFlowStore } from './chunk-VI2RFS65.js';
|
|
7
7
|
import { useTr } from './chunk-UULVIT25.js';
|
|
8
8
|
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
9
9
|
import { MarkerType, ReactFlowProvider, useReactFlow, ReactFlow, Background, Controls, MiniMap, Handle, Position } from '@xyflow/react';
|
|
10
10
|
import { useShallow } from 'zustand/shallow';
|
|
11
|
+
import { edgeColor, nodeCategoryColor } from '@burdenoff/fe-libs/shared/utils';
|
|
11
12
|
import '@xyflow/react/dist/style.css';
|
|
12
13
|
import { ArrowLeft, Save, Play, Trash2 } from 'lucide-react';
|
|
13
14
|
import { useTheme } from '@burdenoff/fe-libs/shared/hooks/shell';
|
|
@@ -43,41 +44,40 @@ var defaultEdgeOptions = {
|
|
|
43
44
|
height: 21
|
|
44
45
|
},
|
|
45
46
|
style: {
|
|
46
|
-
stroke: "
|
|
47
|
+
stroke: edgeColor("default")
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
50
|
var handleStyle = {
|
|
50
51
|
width: 10,
|
|
51
52
|
height: 10,
|
|
52
|
-
background: "
|
|
53
|
-
|
|
54
|
-
border: "2px solid white"
|
|
53
|
+
background: "var(--color-node-handle-connected)",
|
|
54
|
+
border: "2px solid var(--color-node-bg)"
|
|
55
55
|
};
|
|
56
56
|
var baseNodeStyle = {
|
|
57
57
|
padding: "8px 16px",
|
|
58
58
|
borderRadius: "8px",
|
|
59
59
|
fontWeight: 500,
|
|
60
|
-
boxShadow: "
|
|
60
|
+
boxShadow: "var(--shadow-elevation-2)",
|
|
61
61
|
position: "relative",
|
|
62
|
-
|
|
62
|
+
// Text on a solid node-category fill (white in every theme).
|
|
63
|
+
color: "var(--color-action-primary-text)"
|
|
63
64
|
};
|
|
64
|
-
var
|
|
65
|
-
"trigger:api": "
|
|
66
|
-
end: "
|
|
67
|
-
"internal:if": "
|
|
68
|
-
"internal:switch": "
|
|
69
|
-
"internal:loop": "
|
|
70
|
-
"internal:merge": "
|
|
71
|
-
"internal:set": "
|
|
72
|
-
"internal:filter": "
|
|
73
|
-
"internal:aggregate": "
|
|
74
|
-
"internal:wait": "
|
|
75
|
-
"internal:noop": "
|
|
76
|
-
"internal:http": "
|
|
77
|
-
default: "#3b82f6"
|
|
65
|
+
var NODE_CATEGORY_BY_TYPE = {
|
|
66
|
+
"trigger:api": "trigger",
|
|
67
|
+
end: "end",
|
|
68
|
+
"internal:if": "logic",
|
|
69
|
+
"internal:switch": "logic",
|
|
70
|
+
"internal:loop": "loop",
|
|
71
|
+
"internal:merge": "utility",
|
|
72
|
+
"internal:set": "data",
|
|
73
|
+
"internal:filter": "data",
|
|
74
|
+
"internal:aggregate": "data",
|
|
75
|
+
"internal:wait": "utility",
|
|
76
|
+
"internal:noop": "utility",
|
|
77
|
+
"internal:http": "integration"
|
|
78
78
|
};
|
|
79
79
|
function getNodeColor(type) {
|
|
80
|
-
return
|
|
80
|
+
return nodeCategoryColor(NODE_CATEGORY_BY_TYPE[type] ?? "default");
|
|
81
81
|
}
|
|
82
82
|
function TriggerNode({ data }) {
|
|
83
83
|
const tr = useTr();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useFluidGridsFlag, FLUIDGRIDS_FLAGS, LogStreamingTab } from './chunk-KNFGMDDU.js';
|
|
2
|
-
import { useFlowStore } from './chunk-
|
|
2
|
+
import { useFlowStore } from './chunk-VI2RFS65.js';
|
|
3
3
|
import { useWorkflowDefinitionQuery, useUpdateWorkflowDefinitionMutation, useWorkflowDefinitionsQuery } from './chunk-SAZVBFMO.js';
|
|
4
4
|
import { useTr } from './chunk-UULVIT25.js';
|
|
5
5
|
import { useState, useMemo, useEffect, useCallback } from 'react';
|
|
@@ -36,16 +36,16 @@ var DEFAULT_SETTINGS = {
|
|
|
36
36
|
};
|
|
37
37
|
function ReadOnlyBanner() {
|
|
38
38
|
const tr = useTr();
|
|
39
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 p-3 rounded-lg bg-
|
|
39
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 p-3 rounded-lg bg-status-warning-bg-subtle border border-status-warning-border mb-6", children: [
|
|
40
40
|
/* @__PURE__ */ jsx(
|
|
41
41
|
Icon,
|
|
42
42
|
{
|
|
43
43
|
icon: "mdi:information",
|
|
44
44
|
width: 18,
|
|
45
|
-
className: "text-
|
|
45
|
+
className: "text-status-warning-text shrink-0"
|
|
46
46
|
}
|
|
47
47
|
),
|
|
48
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-
|
|
48
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-status-warning-text", children: tr(
|
|
49
49
|
"fluidgrids.settings.readOnlyBanner.message",
|
|
50
50
|
"Settings are managed at workspace level. Contact your workspace administrator to change these values."
|
|
51
51
|
) })
|
|
@@ -212,16 +212,16 @@ function ExecutionTab({ workflowKey }) {
|
|
|
212
212
|
if (!workflowKey) {
|
|
213
213
|
const settings = DEFAULT_SETTINGS.execution;
|
|
214
214
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
215
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 p-3 rounded-lg bg-
|
|
215
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 p-3 rounded-lg bg-status-warning-bg-subtle border border-status-warning-border mb-6", children: [
|
|
216
216
|
/* @__PURE__ */ jsx(
|
|
217
217
|
Icon,
|
|
218
218
|
{
|
|
219
219
|
icon: "mdi:information",
|
|
220
220
|
width: 18,
|
|
221
|
-
className: "text-
|
|
221
|
+
className: "text-status-warning-text shrink-0"
|
|
222
222
|
}
|
|
223
223
|
),
|
|
224
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-
|
|
224
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-status-warning-text", children: tr(
|
|
225
225
|
"fluidgrids.settings.execution.noWorkflowContextBanner",
|
|
226
226
|
"No workflow selected \u2014 open Settings from a specific workflow to edit its execution settings."
|
|
227
227
|
) })
|
|
@@ -650,7 +650,7 @@ function SettingsPage({
|
|
|
650
650
|
] })
|
|
651
651
|
] }),
|
|
652
652
|
/* @__PURE__ */ jsxs(Tabs, { value: visibleTab, onValueChange: setActiveTab, className: "w-full", children: [
|
|
653
|
-
/* @__PURE__ */ jsxs(TabsList, { className: "
|
|
653
|
+
/* @__PURE__ */ jsxs(TabsList, { className: "mb-6 h-auto max-w-full flex-wrap justify-start border border-border-secondary bg-background-secondary", children: [
|
|
654
654
|
/* @__PURE__ */ jsxs(TabsTrigger, { value: "general", className: "gap-1.5", children: [
|
|
655
655
|
/* @__PURE__ */ jsx(Icon, { icon: "mdi:cog", width: 16 }),
|
|
656
656
|
tr("fluidgrids.settings.page.generalTab", "General")
|
|
@@ -9,7 +9,7 @@ var buttonVariants = cva(
|
|
|
9
9
|
variants: {
|
|
10
10
|
variant: {
|
|
11
11
|
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
12
|
-
destructive: "bg-
|
|
12
|
+
destructive: "bg-action-danger-bg text-action-danger-text hover:bg-action-danger-bgHover",
|
|
13
13
|
outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",
|
|
14
14
|
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
15
15
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
@@ -59,9 +59,9 @@ var badgeVariants = cva(
|
|
|
59
59
|
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
60
60
|
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
|
|
61
61
|
outline: "text-foreground",
|
|
62
|
-
success: "border-transparent bg-
|
|
63
|
-
warning: "border-transparent bg-
|
|
64
|
-
info: "border-transparent bg-
|
|
62
|
+
success: "border-transparent bg-status-success-bg-subtle text-status-success-text",
|
|
63
|
+
warning: "border-transparent bg-status-warning-bg-subtle text-status-warning-text",
|
|
64
|
+
info: "border-transparent bg-status-info-bg-subtle text-status-info-text"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
defaultVariants: {
|