@burdenoff/fluidgrids-fe-sdk 2026.1021.2 → 2026.1021.3
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-TWLLKOCJ.js → ExecutionDetailPage-2CAK5J7R.js} +2 -2
- package/dist/{ExecutionsListPage-NZZFAU5B.js → ExecutionsListPage-KBDJJNV6.js} +2 -2
- package/dist/{WorkflowsList-DYZIYY3G.js → WorkflowsList-3ZDCAB4D.js} +1 -1
- package/dist/{chunk-V7LEL2JU.js → chunk-3RIZZY32.js} +27 -22
- package/dist/{chunk-WQ7CETWI.js → chunk-3SCUZ75C.js} +81 -10
- package/dist/{chunk-BEOGOFNQ.js → chunk-OM24EQUG.js} +1 -1
- package/dist/{chunk-YA73BHRQ.js → chunk-WUA2WMJH.js} +1 -1
- package/dist/executions.js +3 -3
- package/dist/index.js +7 -7
- package/dist/workflows-list.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ExecutionDetailPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { ExecutionDetailPage } from './chunk-WUA2WMJH.js';
|
|
2
|
+
import './chunk-3SCUZ75C.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-OM24EQUG.js';
|
|
2
|
+
import './chunk-3SCUZ75C.js';
|
|
3
3
|
import './chunk-QBFAJNUC.js';
|
|
4
4
|
import './chunk-O6E247J6.js';
|
|
5
5
|
import './chunk-D3UWK7GY.js';
|
|
@@ -211,18 +211,32 @@ function SharePopup({ shareUrl, embedUrl }) {
|
|
|
211
211
|
}
|
|
212
212
|
);
|
|
213
213
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
214
|
+
function WorkflowStatusPill({ status }) {
|
|
215
|
+
const tr = useTr();
|
|
216
|
+
const styles = {
|
|
217
|
+
DRAFT: {
|
|
218
|
+
label: tr("fluidgrids.workflowsList.statusDraft", "Draft"),
|
|
219
|
+
dotClass: "bg-muted-foreground/60"
|
|
220
|
+
},
|
|
221
|
+
ACTIVE: {
|
|
222
|
+
label: tr("fluidgrids.workflowsList.statusActive", "Active"),
|
|
223
|
+
dotClass: "bg-[var(--color-status-success-text)]"
|
|
224
|
+
},
|
|
225
|
+
ARCHIVED: {
|
|
226
|
+
label: tr("fluidgrids.workflowsList.statusArchived", "Archived"),
|
|
227
|
+
dotClass: "bg-muted-foreground/30"
|
|
228
|
+
},
|
|
229
|
+
DEPRECATED: {
|
|
230
|
+
label: tr("fluidgrids.workflowsList.statusDeprecated", "Deprecated"),
|
|
231
|
+
dotClass: "bg-[var(--color-status-error-text)]"
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
const info = styles[status ?? "DRAFT"] ?? styles.DRAFT;
|
|
235
|
+
return /* @__PURE__ */ jsxs("span", { className: "mt-0.5 inline-flex shrink-0 items-center gap-1.5 rounded-full border border-border px-2 py-0.5 text-[11px] font-medium text-muted-foreground", children: [
|
|
236
|
+
/* @__PURE__ */ jsx("span", { className: `size-1.5 rounded-full ${info.dotClass}` }),
|
|
237
|
+
info.label
|
|
238
|
+
] });
|
|
239
|
+
}
|
|
226
240
|
function relativeTime(iso) {
|
|
227
241
|
if (!iso) return "\u2014";
|
|
228
242
|
const then = new Date(iso).getTime();
|
|
@@ -318,7 +332,6 @@ var CardWorkflow = ({
|
|
|
318
332
|
return;
|
|
319
333
|
handleOnEdit();
|
|
320
334
|
};
|
|
321
|
-
const statusInfo = STATUS_STYLES[workflow.status ?? "DRAFT"] ?? STATUS_STYLES.DRAFT;
|
|
322
335
|
const updatedExact = workflow.updated_at ? new Date(workflow.updated_at).toLocaleString() : void 0;
|
|
323
336
|
return /* @__PURE__ */ jsxs(TooltipProvider, { children: [
|
|
324
337
|
/* @__PURE__ */ jsxs(
|
|
@@ -345,15 +358,7 @@ var CardWorkflow = ({
|
|
|
345
358
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
346
359
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2", children: [
|
|
347
360
|
/* @__PURE__ */ jsx("h3", { className: "truncate font-semibold leading-6 text-card-foreground", children: workflow?.name }),
|
|
348
|
-
/* @__PURE__ */
|
|
349
|
-
/* @__PURE__ */ jsx(
|
|
350
|
-
"span",
|
|
351
|
-
{
|
|
352
|
-
className: cn("size-1.5 rounded-full", statusInfo.dotClass)
|
|
353
|
-
}
|
|
354
|
-
),
|
|
355
|
-
statusInfo.label
|
|
356
|
-
] })
|
|
361
|
+
/* @__PURE__ */ jsx(WorkflowStatusPill, { status: workflow.status })
|
|
357
362
|
] }),
|
|
358
363
|
/* @__PURE__ */ jsx("p", { className: "mt-1 line-clamp-2 text-xs leading-snug text-muted-foreground", children: workflow.description || tr(
|
|
359
364
|
"fluidgrids.builder.cardWorkflow.noDescription",
|
|
@@ -137,7 +137,35 @@ function ExecutionStatusBadge({
|
|
|
137
137
|
showLabel = true,
|
|
138
138
|
animated = true
|
|
139
139
|
}) {
|
|
140
|
+
const tr = useTr();
|
|
140
141
|
const config = RUN_STATUS_CONFIG[status];
|
|
142
|
+
const labels = {
|
|
143
|
+
PENDING: tr(
|
|
144
|
+
"fluidgrids.executions.executionFilters.statusPending",
|
|
145
|
+
"Pending"
|
|
146
|
+
),
|
|
147
|
+
RUNNING: tr(
|
|
148
|
+
"fluidgrids.executions.executionFilters.statusRunning",
|
|
149
|
+
"Running"
|
|
150
|
+
),
|
|
151
|
+
COMPLETED: tr(
|
|
152
|
+
"fluidgrids.executions.executionFilters.statusCompleted",
|
|
153
|
+
"Completed"
|
|
154
|
+
),
|
|
155
|
+
FAILED: tr("fluidgrids.executions.executionFilters.statusFailed", "Failed"),
|
|
156
|
+
CANCELLED: tr(
|
|
157
|
+
"fluidgrids.executions.executionFilters.statusCancelled",
|
|
158
|
+
"Cancelled"
|
|
159
|
+
),
|
|
160
|
+
WAITING: tr(
|
|
161
|
+
"fluidgrids.executions.executionFilters.statusWaiting",
|
|
162
|
+
"Waiting"
|
|
163
|
+
),
|
|
164
|
+
TERMINATED: tr(
|
|
165
|
+
"fluidgrids.executions.executionFilters.statusTerminated",
|
|
166
|
+
"Terminated"
|
|
167
|
+
)
|
|
168
|
+
};
|
|
141
169
|
const sizeClasses = {
|
|
142
170
|
sm: "px-1.5 py-0.5 text-xs gap-1",
|
|
143
171
|
md: "px-2 py-1 text-sm gap-1.5",
|
|
@@ -168,7 +196,7 @@ function ExecutionStatusBadge({
|
|
|
168
196
|
className: animated && isRunning ? "animate-spin" : ""
|
|
169
197
|
}
|
|
170
198
|
),
|
|
171
|
-
showLabel && /* @__PURE__ */ jsx("span", { children:
|
|
199
|
+
showLabel && /* @__PURE__ */ jsx("span", { children: labels[status] })
|
|
172
200
|
]
|
|
173
201
|
}
|
|
174
202
|
);
|
|
@@ -314,6 +342,57 @@ function ExecutionFilters({
|
|
|
314
342
|
],
|
|
315
343
|
[tr]
|
|
316
344
|
);
|
|
345
|
+
const errorOptions = [
|
|
346
|
+
{
|
|
347
|
+
value: "TIMEOUT",
|
|
348
|
+
label: tr(
|
|
349
|
+
"fluidgrids.executions.executionFilters.errorTimeout",
|
|
350
|
+
"TIMEOUT"
|
|
351
|
+
)
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
value: "TRANSIENT",
|
|
355
|
+
label: tr(
|
|
356
|
+
"fluidgrids.executions.executionFilters.errorTransient",
|
|
357
|
+
"TRANSIENT"
|
|
358
|
+
)
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
value: "DEPENDENCY",
|
|
362
|
+
label: tr(
|
|
363
|
+
"fluidgrids.executions.executionFilters.errorDependency",
|
|
364
|
+
"DEPENDENCY"
|
|
365
|
+
)
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
value: "AUTHORIZATION",
|
|
369
|
+
label: tr(
|
|
370
|
+
"fluidgrids.executions.executionFilters.errorAuthorization",
|
|
371
|
+
"AUTHORIZATION"
|
|
372
|
+
)
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
value: "VALIDATION",
|
|
376
|
+
label: tr(
|
|
377
|
+
"fluidgrids.executions.executionFilters.errorValidation",
|
|
378
|
+
"VALIDATION"
|
|
379
|
+
)
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
value: "PERMANENT",
|
|
383
|
+
label: tr(
|
|
384
|
+
"fluidgrids.executions.executionFilters.errorPermanent",
|
|
385
|
+
"PERMANENT"
|
|
386
|
+
)
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
value: "UNKNOWN",
|
|
390
|
+
label: tr(
|
|
391
|
+
"fluidgrids.executions.executionFilters.errorUnknown",
|
|
392
|
+
"UNKNOWN"
|
|
393
|
+
)
|
|
394
|
+
}
|
|
395
|
+
];
|
|
317
396
|
const datePresets = [
|
|
318
397
|
{
|
|
319
398
|
value: "all",
|
|
@@ -599,15 +678,7 @@ function ExecutionFilters({
|
|
|
599
678
|
"fluidgrids.executions.executionFilters.allErrors",
|
|
600
679
|
"All error types"
|
|
601
680
|
) }),
|
|
602
|
-
|
|
603
|
-
"TIMEOUT",
|
|
604
|
-
"TRANSIENT",
|
|
605
|
-
"DEPENDENCY",
|
|
606
|
-
"AUTHORIZATION",
|
|
607
|
-
"VALIDATION",
|
|
608
|
-
"PERMANENT",
|
|
609
|
-
"UNKNOWN"
|
|
610
|
-
].map((type) => /* @__PURE__ */ jsx("option", { value: type, children: type }, type))
|
|
681
|
+
errorOptions.map(({ value, label }) => /* @__PURE__ */ jsx("option", { value, children: label }, value))
|
|
611
682
|
]
|
|
612
683
|
}
|
|
613
684
|
),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination } from './chunk-
|
|
1
|
+
import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination } from './chunk-3SCUZ75C.js';
|
|
2
2
|
import { useWorkflowDefinitions } from './chunk-O6E247J6.js';
|
|
3
3
|
import { useExecutionsStore } from './chunk-UZG3ZIQM.js';
|
|
4
4
|
import { useTr } from './chunk-UULVIT25.js';
|
|
@@ -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-3SCUZ75C.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-L2UWPFJM.js';
|
package/dist/executions.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './chunk-AD3BXTJS.js';
|
|
2
|
-
export { ExecutionsListPage } from './chunk-
|
|
3
|
-
export { ExecutionDetailPage } from './chunk-
|
|
4
|
-
import './chunk-
|
|
2
|
+
export { ExecutionsListPage } from './chunk-OM24EQUG.js';
|
|
3
|
+
export { ExecutionDetailPage } from './chunk-WUA2WMJH.js';
|
|
4
|
+
import './chunk-3SCUZ75C.js';
|
|
5
5
|
import './chunk-QBFAJNUC.js';
|
|
6
6
|
import './chunk-ONVGFVNH.js';
|
|
7
7
|
import './chunk-JL7CASN5.js';
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { Label } from './chunk-VTQVPNUQ.js';
|
|
2
2
|
export { WorkflowBuilder, WorkflowBuilderCore, WorkflowSearchRedirect } from './chunk-2EEWETUI.js';
|
|
3
3
|
export { WorkflowBuilder as WorkflowBuilderPage } from './chunk-BRGQ64CK.js';
|
|
4
|
-
export { WorkflowsList } from './chunk-
|
|
4
|
+
export { WorkflowsList } from './chunk-3RIZZY32.js';
|
|
5
5
|
import './chunk-6N27YGMB.js';
|
|
6
6
|
import './chunk-AD3BXTJS.js';
|
|
7
|
-
export { ExecutionsListPage } from './chunk-
|
|
8
|
-
export { ExecutionDetailPage } from './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
export { ExecutionsListPage } from './chunk-OM24EQUG.js';
|
|
8
|
+
export { ExecutionDetailPage } from './chunk-WUA2WMJH.js';
|
|
9
|
+
import './chunk-3SCUZ75C.js';
|
|
10
10
|
export { HistoryPage } from './chunk-EPYVZPGU.js';
|
|
11
11
|
export { NodesPage, fetchAllNodesWithManifests, useLazyNodeManifest, useNodeEndpoint, useNodeEndpoints, useNodeManifest } from './chunk-6B6XOZ4V.js';
|
|
12
12
|
export { DataSinkDashboardPage, ErrorAnalyticsPage, InsightsPage } from './chunk-KZYQPCMK.js';
|
|
@@ -63,7 +63,7 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
|
63
63
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
64
64
|
|
|
65
65
|
var WorkflowsList2 = lazy(
|
|
66
|
-
() => import('./WorkflowsList-
|
|
66
|
+
() => import('./WorkflowsList-3ZDCAB4D.js').then((m) => ({ default: m.WorkflowsList }))
|
|
67
67
|
);
|
|
68
68
|
var WorkflowBuilder3 = lazy(
|
|
69
69
|
() => import('./WorkflowBuilder-S7JFXUM4.js').then((m) => ({
|
|
@@ -71,12 +71,12 @@ var WorkflowBuilder3 = lazy(
|
|
|
71
71
|
}))
|
|
72
72
|
);
|
|
73
73
|
var ExecutionsListPage2 = lazy(
|
|
74
|
-
() => import('./ExecutionsListPage-
|
|
74
|
+
() => import('./ExecutionsListPage-KBDJJNV6.js').then((m) => ({
|
|
75
75
|
default: m.ExecutionsListPage
|
|
76
76
|
}))
|
|
77
77
|
);
|
|
78
78
|
var ExecutionDetailPage2 = lazy(
|
|
79
|
-
() => import('./ExecutionDetailPage-
|
|
79
|
+
() => import('./ExecutionDetailPage-2CAK5J7R.js').then((m) => ({
|
|
80
80
|
default: m.ExecutionDetailPage
|
|
81
81
|
}))
|
|
82
82
|
);
|
package/dist/workflows-list.js
CHANGED