@burdenoff/microfe-workflows 2026.1124.2 → 2026.1124.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/WorkflowsRoot.js +81 -72
- package/dist/WorkflowsRoutes.js +159 -120
- package/dist/routePreload.d.ts +5 -0
- package/dist/routePreload.js +6 -1
- package/dist/rulePages.d.ts +1 -0
- package/dist/rulePages.js +1 -0
- package/dist/switchRedirectRules.d.ts +1 -0
- package/dist/switchRedirectRules.js +4 -0
- package/dist/translations/en.d.ts +1 -0
- package/dist/translations/en.js +1 -0
- package/package.json +4 -4
package/dist/WorkflowsRoot.js
CHANGED
|
@@ -2,153 +2,162 @@ import { WorkflowsProvider as e } from "./providers/WorkflowsProvider.js";
|
|
|
2
2
|
import { workflowsSessionKey as t } from "./providers/sessionKey.js";
|
|
3
3
|
import { WorkflowsRoutes as n } from "./WorkflowsRoutes.js";
|
|
4
4
|
import { useWorkflowsTranslation as r } from "./i18n.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { WORKFLOW_PERMISSIONS as i } from "./constants/permissions.js";
|
|
6
|
+
import { useEffect as a } from "react";
|
|
7
|
+
import { ErrorBoundary as o } from "@burdenoff/fe-libs/shared/components";
|
|
8
|
+
import { AuroraBackground as s, Button as c, IllustratedEmptyState as l } from "@burdenoff/fe-libs/ui";
|
|
9
|
+
import { BarChart3 as u, Boxes as d, Database as f, FileCode2 as p, History as m, LayoutDashboard as h, Network as g, PlayCircle as _, RefreshCw as v, Scale as y, Server as b, Settings as x, Sparkles as S, Table2 as C, Variable as w, Workflow as T } from "lucide-react";
|
|
10
|
+
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
10
11
|
// src/WorkflowsRoot.tsx
|
|
11
|
-
function
|
|
12
|
-
let { basePath:
|
|
13
|
-
return
|
|
14
|
-
if (!
|
|
12
|
+
function O(O) {
|
|
13
|
+
let { basePath: k = "/", registerNavItems: A, registerFooterItems: j } = O, M = r();
|
|
14
|
+
return a(() => {
|
|
15
|
+
if (!A) return;
|
|
15
16
|
let e = (e, t) => `${e.endsWith("/") ? e.slice(0, -1) : e}/${t}`, t = [
|
|
16
17
|
{
|
|
17
18
|
id: "workflows-list",
|
|
18
|
-
label:
|
|
19
|
-
path: e(
|
|
20
|
-
icon: /* @__PURE__ */
|
|
19
|
+
label: M("workflows.nav.myWorkflows", "My Workflows"),
|
|
20
|
+
path: e(k, "list"),
|
|
21
|
+
icon: /* @__PURE__ */ E(T, { size: 18 }),
|
|
21
22
|
order: 2
|
|
22
23
|
},
|
|
23
24
|
{
|
|
24
25
|
id: "workflows-ai-studio",
|
|
25
|
-
label:
|
|
26
|
-
path: e(
|
|
27
|
-
icon: /* @__PURE__ */
|
|
26
|
+
label: M("workflows.nav.aiStudio", "AI Studio"),
|
|
27
|
+
path: e(k, "ai-studio"),
|
|
28
|
+
icon: /* @__PURE__ */ E(S, { size: 18 }),
|
|
28
29
|
order: 2.5
|
|
29
30
|
},
|
|
30
31
|
{
|
|
31
32
|
id: "workflows-builder",
|
|
32
|
-
label:
|
|
33
|
-
path: e(
|
|
34
|
-
icon: /* @__PURE__ */
|
|
33
|
+
label: M("workflows.nav.builder", "Builder"),
|
|
34
|
+
path: e(k, "new"),
|
|
35
|
+
icon: /* @__PURE__ */ E(d, { size: 18 }),
|
|
35
36
|
order: 3
|
|
36
37
|
},
|
|
37
38
|
{
|
|
38
39
|
id: "workflows-runs",
|
|
39
|
-
label:
|
|
40
|
-
path: e(
|
|
41
|
-
icon: /* @__PURE__ */
|
|
40
|
+
label: M("workflows.nav.runs", "Runs"),
|
|
41
|
+
path: e(k, "runs"),
|
|
42
|
+
icon: /* @__PURE__ */ E(_, { size: 18 }),
|
|
42
43
|
order: 4
|
|
43
44
|
},
|
|
44
45
|
{
|
|
45
46
|
id: "workflows-insights",
|
|
46
|
-
label:
|
|
47
|
-
path: e(
|
|
48
|
-
icon: /* @__PURE__ */
|
|
47
|
+
label: M("workflows.nav.insights", "Insights"),
|
|
48
|
+
path: e(k, "insights"),
|
|
49
|
+
icon: /* @__PURE__ */ E(u, { size: 18 }),
|
|
49
50
|
order: 5
|
|
50
51
|
},
|
|
51
52
|
{
|
|
52
53
|
id: "workflows-data-sinks",
|
|
53
|
-
label:
|
|
54
|
-
path: e(
|
|
55
|
-
icon: /* @__PURE__ */
|
|
54
|
+
label: M("workflows.nav.dataSinks", "DataSinks"),
|
|
55
|
+
path: e(k, "data-sinks"),
|
|
56
|
+
icon: /* @__PURE__ */ E(f, { size: 18 }),
|
|
56
57
|
order: 6
|
|
57
58
|
},
|
|
58
59
|
{
|
|
59
60
|
id: "workflows-data-tables",
|
|
60
|
-
label:
|
|
61
|
-
path: e(
|
|
62
|
-
icon: /* @__PURE__ */
|
|
61
|
+
label: M("workflows.nav.dataTables", "Data Tables"),
|
|
62
|
+
path: e(k, "data-tables"),
|
|
63
|
+
icon: /* @__PURE__ */ E(C, { size: 18 }),
|
|
63
64
|
order: 7
|
|
64
65
|
},
|
|
66
|
+
{
|
|
67
|
+
id: "workflows-rules",
|
|
68
|
+
label: M("workflows.nav.rules", "Rule Builder"),
|
|
69
|
+
path: e(k, "rules"),
|
|
70
|
+
icon: /* @__PURE__ */ E(y, { size: 18 }),
|
|
71
|
+
requiredPermission: i.WORKFLOW_READ,
|
|
72
|
+
order: 7.5
|
|
73
|
+
},
|
|
65
74
|
{
|
|
66
75
|
id: "workflows-history",
|
|
67
|
-
label:
|
|
68
|
-
path: e(
|
|
69
|
-
icon: /* @__PURE__ */
|
|
76
|
+
label: M("workflows.nav.history", "History"),
|
|
77
|
+
path: e(k, "history"),
|
|
78
|
+
icon: /* @__PURE__ */ E(m, { size: 18 }),
|
|
70
79
|
order: 7
|
|
71
80
|
},
|
|
72
81
|
{
|
|
73
82
|
id: "workflows-templates",
|
|
74
|
-
label:
|
|
75
|
-
path: e(
|
|
76
|
-
icon: /* @__PURE__ */
|
|
83
|
+
label: M("workflows.nav.templates", "Templates"),
|
|
84
|
+
path: e(k, "templates"),
|
|
85
|
+
icon: /* @__PURE__ */ E(h, { size: 18 }),
|
|
77
86
|
order: 8
|
|
78
87
|
},
|
|
79
88
|
{
|
|
80
89
|
id: "workflows-nodes",
|
|
81
|
-
label:
|
|
82
|
-
path: e(
|
|
83
|
-
icon: /* @__PURE__ */
|
|
90
|
+
label: M("workflows.nav.nodes", "Nodes"),
|
|
91
|
+
path: e(k, "nodes"),
|
|
92
|
+
icon: /* @__PURE__ */ E(g, { size: 18 }),
|
|
84
93
|
order: 9
|
|
85
94
|
},
|
|
86
95
|
{
|
|
87
96
|
id: "workflows-variables",
|
|
88
|
-
label:
|
|
89
|
-
path: e(
|
|
90
|
-
icon: /* @__PURE__ */ w
|
|
97
|
+
label: M("workflows.nav.variables", "Variables"),
|
|
98
|
+
path: e(k, "variables"),
|
|
99
|
+
icon: /* @__PURE__ */ E(w, { size: 18 }),
|
|
91
100
|
order: 10
|
|
92
101
|
},
|
|
93
102
|
{
|
|
94
103
|
id: "workflows-runners",
|
|
95
|
-
label:
|
|
96
|
-
path: e(
|
|
97
|
-
icon: /* @__PURE__ */
|
|
104
|
+
label: M("workflows.nav.runners", "Runners"),
|
|
105
|
+
path: e(k, "runners"),
|
|
106
|
+
icon: /* @__PURE__ */ E(b, { size: 18 }),
|
|
98
107
|
order: 11
|
|
99
108
|
},
|
|
100
109
|
{
|
|
101
110
|
id: "workflows-settings",
|
|
102
|
-
label:
|
|
103
|
-
path: e(
|
|
104
|
-
icon: /* @__PURE__ */
|
|
111
|
+
label: M("workflows.nav.settings", "Settings"),
|
|
112
|
+
path: e(k, "settings"),
|
|
113
|
+
icon: /* @__PURE__ */ E(x, { size: 18 }),
|
|
105
114
|
order: 12
|
|
106
115
|
}
|
|
107
116
|
], n = [{
|
|
108
117
|
id: "workflows",
|
|
109
|
-
label:
|
|
110
|
-
path:
|
|
111
|
-
icon: /* @__PURE__ */
|
|
118
|
+
label: M("workflows.nav.title", "Workflows"),
|
|
119
|
+
path: k,
|
|
120
|
+
icon: /* @__PURE__ */ E(p, { size: 20 }),
|
|
112
121
|
order: 200,
|
|
113
122
|
group: "workflows",
|
|
114
123
|
children: t
|
|
115
124
|
}];
|
|
116
|
-
return
|
|
125
|
+
return A(n);
|
|
117
126
|
}, [
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
]),
|
|
122
|
-
if (!
|
|
127
|
+
A,
|
|
128
|
+
k,
|
|
129
|
+
M
|
|
130
|
+
]), a(() => {
|
|
131
|
+
if (!j) return;
|
|
123
132
|
let e = [{
|
|
124
133
|
id: "workflows-status",
|
|
125
|
-
label:
|
|
134
|
+
label: M("workflows.footer.status", "Workflows Ready"),
|
|
126
135
|
type: "status",
|
|
127
136
|
order: 10,
|
|
128
137
|
section: "left"
|
|
129
138
|
}];
|
|
130
|
-
return
|
|
131
|
-
}, [
|
|
132
|
-
fallback: /* @__PURE__ */
|
|
139
|
+
return j(e);
|
|
140
|
+
}, [j, M]), /* @__PURE__ */ E(o, {
|
|
141
|
+
fallback: /* @__PURE__ */ D("div", {
|
|
133
142
|
className: "relative flex min-h-[60vh] w-full items-center justify-center overflow-hidden px-4 py-10",
|
|
134
|
-
children: [/* @__PURE__ */
|
|
143
|
+
children: [/* @__PURE__ */ E(s, { intensity: "subtle" }), /* @__PURE__ */ E(l, {
|
|
135
144
|
illustration: "empty-generic",
|
|
136
|
-
title:
|
|
137
|
-
description:
|
|
138
|
-
action: /* @__PURE__ */
|
|
145
|
+
title: M("workflows.error.title", "Workflows hit a snag"),
|
|
146
|
+
description: M("workflows.error.loadFailed", "Something went wrong loading this module. Please refresh the page."),
|
|
147
|
+
action: /* @__PURE__ */ D(c, {
|
|
139
148
|
onClick: () => window.location.reload(),
|
|
140
|
-
children: [/* @__PURE__ */
|
|
149
|
+
children: [/* @__PURE__ */ E(v, {
|
|
141
150
|
className: "size-4",
|
|
142
151
|
"aria-hidden": "true"
|
|
143
|
-
}),
|
|
152
|
+
}), M("workflows.error.refresh", "Refresh page")]
|
|
144
153
|
}),
|
|
145
154
|
kind: "error"
|
|
146
155
|
})]
|
|
147
156
|
}),
|
|
148
|
-
children: /* @__PURE__ */
|
|
149
|
-
...
|
|
150
|
-
children: /* @__PURE__ */
|
|
151
|
-
}, t(
|
|
157
|
+
children: /* @__PURE__ */ E(e, {
|
|
158
|
+
...O,
|
|
159
|
+
children: /* @__PURE__ */ E(n, {})
|
|
160
|
+
}, t(O))
|
|
152
161
|
});
|
|
153
162
|
}
|
|
154
|
-
export {
|
|
163
|
+
export { O as WorkflowsRoot };
|
package/dist/WorkflowsRoutes.js
CHANGED
|
@@ -1,42 +1,62 @@
|
|
|
1
1
|
import { useWorkflowsTranslation as e } from "./i18n.js";
|
|
2
2
|
import { WORKFLOW_PERMISSIONS as t } from "./constants/permissions.js";
|
|
3
3
|
import { RouteTransition as n } from "./components/RouteTransition.js";
|
|
4
|
-
import {
|
|
5
|
-
import { Suspense as
|
|
6
|
-
import { AccessDenied as
|
|
7
|
-
import { AccessGate as
|
|
8
|
-
import { useFluidGridsFlagsSettled as
|
|
9
|
-
import { jsx as
|
|
10
|
-
import { Navigate as
|
|
11
|
-
import { AiStudioPage as
|
|
12
|
-
import { useNavigationV2 as
|
|
4
|
+
import { routesBase as r, scheduleWorkflowPagePreload as i, workflowsRoutePage as a } from "./routePreload.js";
|
|
5
|
+
import { Suspense as o, lazy as s, useEffect as ee } from "react";
|
|
6
|
+
import { AccessDenied as c, PermissionGate as l } from "@burdenoff/fe-libs/shared/components";
|
|
7
|
+
import { AccessGate as u, GlassCard as d, RouteSkeleton as f, SectionLoader as p, useLoadingSystem as m } from "@burdenoff/fe-libs/ui";
|
|
8
|
+
import { useFluidGridsFlagsSettled as h, useSelfHostedWorkersEnabled as g } from "@burdenoff/fluidgrids-fe-sdk/workflow-host";
|
|
9
|
+
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
10
|
+
import { Navigate as y, Route as b, Routes as x, useLocation as S, useParams as C } from "react-router";
|
|
11
|
+
import { AiStudioPage as w, ApprovalInboxPage as T, DataSinkDashboardPage as E, DataTablesPage as D, ErrorAnalyticsPage as O, ExecutionDetailPage as k, ExecutionsListPage as A, HistoryPage as j, InsightsPage as M, NodesPage as N, RunnersPage as P, SettingsPage as F, TaskQueuesPage as te, TemplatePreview as I, TemplatesPage as L, VariablesPage as R, WorkflowBuilderPage as z, WorkflowSearchRedirect as B, WorkflowsList as V } from "@burdenoff/fluidgrids-fe-sdk/workflow-pages";
|
|
12
|
+
import { useNavigationV2 as H } from "@burdenoff/fluidgrids-fe-sdk/navigation-v2";
|
|
13
|
+
import { WorkflowPageTwin as U, hasWorkflowPageTwin as W } from "@burdenoff/fluidgrids-fe-sdk/page-twins";
|
|
13
14
|
// src/WorkflowsRoutes.tsx
|
|
14
|
-
|
|
15
|
+
var G = s(async () => ({ default: (await import("./rulePages.js")).RuleSetsPage })), K = s(async () => ({ default: (await import("./rulePages.js")).RuleBuilderPage }));
|
|
16
|
+
function q() {
|
|
17
|
+
let { pathname: e } = S();
|
|
18
|
+
return r(e, C()["*"] ?? "");
|
|
19
|
+
}
|
|
20
|
+
function J() {
|
|
21
|
+
let e = m(), t = q(), { pathname: n } = S();
|
|
22
|
+
return e ? /* @__PURE__ */ _(Y, { page: a(n, t) }) : /* @__PURE__ */ _(X, {});
|
|
23
|
+
}
|
|
24
|
+
function Y({ page: t }) {
|
|
25
|
+
let n = e();
|
|
26
|
+
return W(t) ? /* @__PURE__ */ _(f, {
|
|
27
|
+
label: n("workflows.routes.loading.ariaLabel", "Loading workflow page"),
|
|
28
|
+
children: /* @__PURE__ */ _(U, { page: t })
|
|
29
|
+
}) : /* @__PURE__ */ _(p, {
|
|
30
|
+
route: !0,
|
|
31
|
+
label: n("workflows.routes.loading.message", "Loading workflow page...")
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function X() {
|
|
15
35
|
let t = e();
|
|
16
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ v("div", {
|
|
17
37
|
className: "mx-auto flex w-full max-w-6xl flex-col gap-6 px-4 py-6 sm:px-6",
|
|
18
38
|
role: "status",
|
|
19
39
|
"aria-live": "polite",
|
|
20
40
|
"aria-busy": "true",
|
|
21
41
|
"aria-label": t("workflows.routes.loading.ariaLabel", "Loading workflow page"),
|
|
22
42
|
children: [
|
|
23
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ v("div", {
|
|
24
44
|
className: "flex flex-col gap-3",
|
|
25
|
-
children: [/* @__PURE__ */
|
|
45
|
+
children: [/* @__PURE__ */ _("div", { className: "h-7 w-48 rounded-md bg-muted/60 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ _("div", { className: "h-4 w-72 max-w-full rounded bg-muted/40 motion-safe:animate-vc-shimmer" })]
|
|
26
46
|
}),
|
|
27
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ _("div", {
|
|
28
48
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
29
49
|
children: [
|
|
30
50
|
0,
|
|
31
51
|
1,
|
|
32
52
|
2
|
|
33
|
-
].map((e) => /* @__PURE__ */
|
|
53
|
+
].map((e) => /* @__PURE__ */ v(d, {
|
|
34
54
|
treatment: "metric",
|
|
35
55
|
className: "flex flex-col gap-3 border-border-seam p-5",
|
|
36
|
-
children: [/* @__PURE__ */
|
|
56
|
+
children: [/* @__PURE__ */ _("div", { className: "h-3 w-20 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ _("div", { className: "h-8 w-24 rounded-md bg-muted/60 motion-safe:animate-vc-shimmer" })]
|
|
37
57
|
}, e))
|
|
38
58
|
}),
|
|
39
|
-
/* @__PURE__ */
|
|
59
|
+
/* @__PURE__ */ _(d, {
|
|
40
60
|
treatment: "glass",
|
|
41
61
|
className: "flex flex-col gap-4 border-border-seam p-6",
|
|
42
62
|
children: [
|
|
@@ -44,230 +64,249 @@ function B() {
|
|
|
44
64
|
1,
|
|
45
65
|
2,
|
|
46
66
|
3
|
|
47
|
-
].map((e) => /* @__PURE__ */
|
|
67
|
+
].map((e) => /* @__PURE__ */ v("div", {
|
|
48
68
|
className: "flex items-center gap-4",
|
|
49
|
-
children: [/* @__PURE__ */
|
|
69
|
+
children: [/* @__PURE__ */ _("div", { className: "h-10 w-10 shrink-0 rounded-full bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ v("div", {
|
|
50
70
|
className: "flex flex-1 flex-col gap-2",
|
|
51
|
-
children: [/* @__PURE__ */
|
|
71
|
+
children: [/* @__PURE__ */ _("div", { className: "h-4 w-1/3 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ _("div", { className: "h-3 w-2/3 rounded bg-muted/30 motion-safe:animate-vc-shimmer" })]
|
|
52
72
|
})]
|
|
53
73
|
}, e))
|
|
54
74
|
}),
|
|
55
|
-
/* @__PURE__ */
|
|
75
|
+
/* @__PURE__ */ _("p", {
|
|
56
76
|
className: "text-center text-sm text-text-secondary",
|
|
57
77
|
children: t("workflows.routes.loading.message", "Loading workflow page...")
|
|
58
78
|
})
|
|
59
79
|
]
|
|
60
80
|
});
|
|
61
81
|
}
|
|
62
|
-
function
|
|
63
|
-
let { runId: e } =
|
|
64
|
-
return /* @__PURE__ */
|
|
82
|
+
function Z() {
|
|
83
|
+
let { runId: e } = C();
|
|
84
|
+
return /* @__PURE__ */ _(y, {
|
|
65
85
|
to: `../runs/${e}`,
|
|
66
86
|
replace: !0
|
|
67
87
|
});
|
|
68
88
|
}
|
|
69
|
-
function
|
|
70
|
-
let { pathname: e } =
|
|
71
|
-
return /* @__PURE__ */
|
|
89
|
+
function Q() {
|
|
90
|
+
let { pathname: e } = S(), t = C()["*"] ?? "", n = t && e.endsWith(t) ? e.slice(0, -t.length) : e, r = n.endsWith("/") ? n : `${n}/`;
|
|
91
|
+
return /* @__PURE__ */ _(y, {
|
|
72
92
|
to: `${r}list`,
|
|
73
93
|
replace: !0
|
|
74
94
|
});
|
|
75
95
|
}
|
|
76
|
-
function
|
|
77
|
-
let e =
|
|
78
|
-
return !e && !n ? /* @__PURE__ */
|
|
96
|
+
function ne() {
|
|
97
|
+
let e = g(), n = h();
|
|
98
|
+
return !e && !n ? /* @__PURE__ */ _(J, {}) : e ? /* @__PURE__ */ _(l, {
|
|
79
99
|
permission: t.TASK_QUEUE_READ,
|
|
80
|
-
fallback: /* @__PURE__ */
|
|
81
|
-
children: /* @__PURE__ */
|
|
82
|
-
}) : /* @__PURE__ */
|
|
100
|
+
fallback: /* @__PURE__ */ _(c, {}),
|
|
101
|
+
children: /* @__PURE__ */ _(te, {})
|
|
102
|
+
}) : /* @__PURE__ */ _(y, {
|
|
83
103
|
to: "../list",
|
|
84
104
|
replace: !0
|
|
85
105
|
});
|
|
86
106
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
107
|
+
function $({ perWorkflow: e }) {
|
|
108
|
+
return H() ? /* @__PURE__ */ _(l, {
|
|
89
109
|
permission: e ? t.WORKFLOW_READ : t.SYSTEM_CONFIG_READ,
|
|
90
|
-
fallback: /* @__PURE__ */
|
|
91
|
-
children: /* @__PURE__ */
|
|
92
|
-
}) : /* @__PURE__ */
|
|
110
|
+
fallback: /* @__PURE__ */ _(re, { perWorkflow: e }),
|
|
111
|
+
children: /* @__PURE__ */ _(F, {})
|
|
112
|
+
}) : /* @__PURE__ */ _(l, {
|
|
93
113
|
permission: t.SYSTEM_CONFIG_READ,
|
|
94
|
-
fallback: /* @__PURE__ */
|
|
95
|
-
children: /* @__PURE__ */
|
|
114
|
+
fallback: /* @__PURE__ */ _(c, {}),
|
|
115
|
+
children: /* @__PURE__ */ _(F, {})
|
|
96
116
|
});
|
|
97
117
|
}
|
|
98
|
-
function
|
|
118
|
+
function re({ perWorkflow: t }) {
|
|
99
119
|
let n = e();
|
|
100
|
-
return /* @__PURE__ */
|
|
120
|
+
return /* @__PURE__ */ _(u, {
|
|
101
121
|
message: t ? n("workflows.routes.settingsAccess.workflowMessage", "You need access to workflows to see these settings") : n("workflows.routes.settingsAccess.workspaceMessage", "You need access to the workspace settings"),
|
|
102
122
|
granterHint: n("workflows.routes.settingsAccess.granterHint", "A workspace admin can give you access.")
|
|
103
123
|
});
|
|
104
124
|
}
|
|
105
|
-
function
|
|
106
|
-
let { pathname: e } =
|
|
107
|
-
|
|
108
|
-
if (!
|
|
109
|
-
}, [
|
|
125
|
+
function ie() {
|
|
126
|
+
let { pathname: e } = S(), t = q(), n = a(e, t) === "WorkflowBuilderPage";
|
|
127
|
+
ee(() => {
|
|
128
|
+
if (!n) return i("WorkflowBuilderPage");
|
|
129
|
+
}, [n]);
|
|
110
130
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
113
|
-
fallback: /* @__PURE__ */
|
|
114
|
-
children: /* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */
|
|
131
|
+
function ae() {
|
|
132
|
+
return ie(), /* @__PURE__ */ _(o, {
|
|
133
|
+
fallback: /* @__PURE__ */ _(J, {}),
|
|
134
|
+
children: /* @__PURE__ */ v(x, { children: [
|
|
135
|
+
/* @__PURE__ */ _(b, {
|
|
116
136
|
index: !0,
|
|
117
|
-
element: /* @__PURE__ */
|
|
137
|
+
element: /* @__PURE__ */ _(y, {
|
|
118
138
|
to: "list",
|
|
119
139
|
replace: !0
|
|
120
140
|
})
|
|
121
141
|
}),
|
|
122
|
-
/* @__PURE__ */
|
|
142
|
+
/* @__PURE__ */ _(b, {
|
|
123
143
|
path: "list",
|
|
124
|
-
element: /* @__PURE__ */
|
|
144
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(V, {}) })
|
|
125
145
|
}),
|
|
126
|
-
/* @__PURE__ */
|
|
146
|
+
/* @__PURE__ */ _(b, {
|
|
127
147
|
path: "new",
|
|
128
|
-
element: /* @__PURE__ */
|
|
148
|
+
element: /* @__PURE__ */ _(n, {
|
|
129
149
|
kind: "canvas",
|
|
130
|
-
children: /* @__PURE__ */
|
|
150
|
+
children: /* @__PURE__ */ _(z, {})
|
|
131
151
|
})
|
|
132
152
|
}),
|
|
133
|
-
/* @__PURE__ */
|
|
153
|
+
/* @__PURE__ */ _(b, {
|
|
134
154
|
path: "workflow/:id/:version",
|
|
135
|
-
element: /* @__PURE__ */
|
|
155
|
+
element: /* @__PURE__ */ _(n, {
|
|
136
156
|
kind: "canvas",
|
|
137
|
-
children: /* @__PURE__ */
|
|
157
|
+
children: /* @__PURE__ */ _(z, {})
|
|
138
158
|
})
|
|
139
159
|
}),
|
|
140
|
-
/* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ _(b, {
|
|
141
161
|
path: "builder",
|
|
142
|
-
element: /* @__PURE__ */
|
|
162
|
+
element: /* @__PURE__ */ _(y, {
|
|
143
163
|
to: "../new",
|
|
144
164
|
replace: !0
|
|
145
165
|
})
|
|
146
166
|
}),
|
|
147
|
-
/* @__PURE__ */
|
|
167
|
+
/* @__PURE__ */ _(b, {
|
|
148
168
|
path: "builder/:id/:version",
|
|
149
|
-
element: /* @__PURE__ */
|
|
169
|
+
element: /* @__PURE__ */ _(n, {
|
|
150
170
|
kind: "canvas",
|
|
151
|
-
children: /* @__PURE__ */
|
|
171
|
+
children: /* @__PURE__ */ _(z, {})
|
|
152
172
|
})
|
|
153
173
|
}),
|
|
154
|
-
/* @__PURE__ */
|
|
174
|
+
/* @__PURE__ */ _(b, {
|
|
155
175
|
path: "resolve/:id",
|
|
156
|
-
element: /* @__PURE__ */
|
|
176
|
+
element: /* @__PURE__ */ _(B, {})
|
|
157
177
|
}),
|
|
158
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ _(b, {
|
|
159
179
|
path: "runs",
|
|
160
|
-
element: /* @__PURE__ */
|
|
180
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(A, {}) })
|
|
161
181
|
}),
|
|
162
|
-
/* @__PURE__ */
|
|
182
|
+
/* @__PURE__ */ _(b, {
|
|
163
183
|
path: "runs/:runId",
|
|
164
|
-
element: /* @__PURE__ */
|
|
184
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(k, {}) })
|
|
165
185
|
}),
|
|
166
|
-
/* @__PURE__ */
|
|
186
|
+
/* @__PURE__ */ _(b, {
|
|
167
187
|
path: "ai-studio",
|
|
168
|
-
element: /* @__PURE__ */
|
|
188
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(w, {}) })
|
|
169
189
|
}),
|
|
170
|
-
/* @__PURE__ */
|
|
190
|
+
/* @__PURE__ */ _(b, {
|
|
171
191
|
path: "insights",
|
|
172
|
-
element: /* @__PURE__ */
|
|
192
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(M, {}) })
|
|
173
193
|
}),
|
|
174
|
-
/* @__PURE__ */
|
|
194
|
+
/* @__PURE__ */ _(b, {
|
|
175
195
|
path: "insights/errors",
|
|
176
|
-
element: /* @__PURE__ */
|
|
196
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(O, {}) })
|
|
177
197
|
}),
|
|
178
|
-
/* @__PURE__ */
|
|
198
|
+
/* @__PURE__ */ _(b, {
|
|
179
199
|
path: "data-sinks",
|
|
180
|
-
element: /* @__PURE__ */
|
|
200
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(E, {}) })
|
|
181
201
|
}),
|
|
182
|
-
/* @__PURE__ */
|
|
202
|
+
/* @__PURE__ */ _(b, {
|
|
183
203
|
path: "data-tables",
|
|
184
|
-
element: /* @__PURE__ */
|
|
204
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(D, {}) })
|
|
205
|
+
}),
|
|
206
|
+
/* @__PURE__ */ _(b, {
|
|
207
|
+
path: "rules",
|
|
208
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
|
|
209
|
+
permission: t.WORKFLOW_READ,
|
|
210
|
+
fallback: /* @__PURE__ */ _(c, {}),
|
|
211
|
+
children: /* @__PURE__ */ _(G, {})
|
|
212
|
+
}) })
|
|
213
|
+
}),
|
|
214
|
+
/* @__PURE__ */ _(b, {
|
|
215
|
+
path: "rules/:ruleSetId",
|
|
216
|
+
element: /* @__PURE__ */ _(n, {
|
|
217
|
+
kind: "canvas",
|
|
218
|
+
children: /* @__PURE__ */ _(l, {
|
|
219
|
+
permission: t.WORKFLOW_READ,
|
|
220
|
+
fallback: /* @__PURE__ */ _(c, {}),
|
|
221
|
+
children: /* @__PURE__ */ _(K, {})
|
|
222
|
+
})
|
|
223
|
+
})
|
|
185
224
|
}),
|
|
186
|
-
/* @__PURE__ */
|
|
225
|
+
/* @__PURE__ */ _(b, {
|
|
187
226
|
path: "approvals",
|
|
188
|
-
element: /* @__PURE__ */
|
|
227
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
|
|
189
228
|
permission: t.WORKFLOW_RUN_READ,
|
|
190
|
-
fallback: /* @__PURE__ */
|
|
191
|
-
children: /* @__PURE__ */
|
|
229
|
+
fallback: /* @__PURE__ */ _(c, {}),
|
|
230
|
+
children: /* @__PURE__ */ _(T, {})
|
|
192
231
|
}) })
|
|
193
232
|
}),
|
|
194
|
-
/* @__PURE__ */
|
|
233
|
+
/* @__PURE__ */ _(b, {
|
|
195
234
|
path: "history",
|
|
196
|
-
element: /* @__PURE__ */
|
|
235
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(j, {}) })
|
|
197
236
|
}),
|
|
198
|
-
/* @__PURE__ */
|
|
237
|
+
/* @__PURE__ */ _(b, {
|
|
199
238
|
path: "templates",
|
|
200
|
-
element: /* @__PURE__ */
|
|
239
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(L, {}) })
|
|
201
240
|
}),
|
|
202
|
-
/* @__PURE__ */
|
|
241
|
+
/* @__PURE__ */ _(b, {
|
|
203
242
|
path: "templates/:productId/preview",
|
|
204
|
-
element: /* @__PURE__ */
|
|
243
|
+
element: /* @__PURE__ */ _(n, {
|
|
205
244
|
kind: "canvas",
|
|
206
|
-
children: /* @__PURE__ */
|
|
245
|
+
children: /* @__PURE__ */ _(I, {})
|
|
207
246
|
})
|
|
208
247
|
}),
|
|
209
|
-
/* @__PURE__ */
|
|
248
|
+
/* @__PURE__ */ _(b, {
|
|
210
249
|
path: "nodes",
|
|
211
|
-
element: /* @__PURE__ */
|
|
250
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(N, {}) })
|
|
212
251
|
}),
|
|
213
|
-
/* @__PURE__ */
|
|
252
|
+
/* @__PURE__ */ _(b, {
|
|
214
253
|
path: "settings",
|
|
215
|
-
element: /* @__PURE__ */
|
|
254
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _($, { perWorkflow: !1 }) })
|
|
216
255
|
}),
|
|
217
|
-
/* @__PURE__ */
|
|
256
|
+
/* @__PURE__ */ _(b, {
|
|
218
257
|
path: "settings/:workflowKey",
|
|
219
|
-
element: /* @__PURE__ */
|
|
258
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _($, { perWorkflow: !0 }) })
|
|
220
259
|
}),
|
|
221
|
-
/* @__PURE__ */
|
|
260
|
+
/* @__PURE__ */ _(b, {
|
|
222
261
|
path: "variables",
|
|
223
|
-
element: /* @__PURE__ */
|
|
262
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
|
|
224
263
|
permission: t.VARIABLE_READ,
|
|
225
|
-
fallback: /* @__PURE__ */
|
|
226
|
-
children: /* @__PURE__ */
|
|
264
|
+
fallback: /* @__PURE__ */ _(c, {}),
|
|
265
|
+
children: /* @__PURE__ */ _(R, {})
|
|
227
266
|
}) })
|
|
228
267
|
}),
|
|
229
|
-
/* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ _(b, {
|
|
230
269
|
path: "runners",
|
|
231
|
-
element: /* @__PURE__ */
|
|
270
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
|
|
232
271
|
permission: t.SANDBOX_READ,
|
|
233
|
-
fallback: /* @__PURE__ */
|
|
234
|
-
children: /* @__PURE__ */
|
|
272
|
+
fallback: /* @__PURE__ */ _(c, {}),
|
|
273
|
+
children: /* @__PURE__ */ _(P, {})
|
|
235
274
|
}) })
|
|
236
275
|
}),
|
|
237
|
-
/* @__PURE__ */
|
|
276
|
+
/* @__PURE__ */ _(b, {
|
|
238
277
|
path: "task-queues",
|
|
239
|
-
element: /* @__PURE__ */
|
|
278
|
+
element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(ne, {}) })
|
|
240
279
|
}),
|
|
241
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ _(b, {
|
|
242
281
|
path: "executions",
|
|
243
|
-
element: /* @__PURE__ */
|
|
282
|
+
element: /* @__PURE__ */ _(y, {
|
|
244
283
|
to: "../runs",
|
|
245
284
|
replace: !0
|
|
246
285
|
})
|
|
247
286
|
}),
|
|
248
|
-
/* @__PURE__ */
|
|
287
|
+
/* @__PURE__ */ _(b, {
|
|
249
288
|
path: "executions/:runId",
|
|
250
|
-
element: /* @__PURE__ */
|
|
289
|
+
element: /* @__PURE__ */ _(Z, {})
|
|
251
290
|
}),
|
|
252
|
-
/* @__PURE__ */
|
|
291
|
+
/* @__PURE__ */ _(b, {
|
|
253
292
|
path: "credentials",
|
|
254
|
-
element: /* @__PURE__ */
|
|
293
|
+
element: /* @__PURE__ */ _(y, {
|
|
255
294
|
to: "/integrations/connections",
|
|
256
295
|
replace: !0
|
|
257
296
|
})
|
|
258
297
|
}),
|
|
259
|
-
/* @__PURE__ */
|
|
298
|
+
/* @__PURE__ */ _(b, {
|
|
260
299
|
path: "oauth/callback",
|
|
261
|
-
element: /* @__PURE__ */
|
|
300
|
+
element: /* @__PURE__ */ _(y, {
|
|
262
301
|
to: "/integrations/connections",
|
|
263
302
|
replace: !0
|
|
264
303
|
})
|
|
265
304
|
}),
|
|
266
|
-
/* @__PURE__ */
|
|
305
|
+
/* @__PURE__ */ _(b, {
|
|
267
306
|
path: "*",
|
|
268
|
-
element: /* @__PURE__ */
|
|
307
|
+
element: /* @__PURE__ */ _(Q, {})
|
|
269
308
|
})
|
|
270
309
|
] })
|
|
271
310
|
});
|
|
272
311
|
}
|
|
273
|
-
export {
|
|
312
|
+
export { ae as WorkflowsRoutes };
|
package/dist/routePreload.d.ts
CHANGED
|
@@ -44,3 +44,8 @@ export declare function scheduleWorkflowPagePreload(page: WorkflowPageName, { se
|
|
|
44
44
|
settleMs?: number | undefined;
|
|
45
45
|
idleTimeoutMs?: number | undefined;
|
|
46
46
|
}): () => void;
|
|
47
|
+
/**
|
|
48
|
+
* The address without the splat's segments. Counted, not compared as text: React Router decodes
|
|
49
|
+
* the splat (`run 1`) while the pathname stays encoded (`run%201`).
|
|
50
|
+
*/
|
|
51
|
+
export declare function routesBase(pathname: string, splat: string): string;
|
package/dist/routePreload.js
CHANGED
|
@@ -63,4 +63,9 @@ function o(e, { settleMs: n = a, idleTimeoutMs: r = 1e4 } = {}) {
|
|
|
63
63
|
i = !0, o();
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
|
|
66
|
+
function s(e, t) {
|
|
67
|
+
if (!t) return e;
|
|
68
|
+
let n = e.split("/"), r = t.replace(/\/+$/, "").split("/").length, i = +!!e.endsWith("/"), a = n.length - r - i;
|
|
69
|
+
return a > 0 ? `${n.slice(0, a).join("/")}/` : e;
|
|
70
|
+
}
|
|
71
|
+
export { n as WORKFLOWS_ROUTE_PAGES, a as WORKFLOW_PAGE_SETTLE_MS, i as preloadWorkflowsRoute, s as routesBase, o as scheduleWorkflowPagePreload, r as workflowsRoutePage };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RuleBuilderPage, RuleSetsPage } from '@burdenoff/fluidgrids-fe-sdk';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RuleBuilderPage, RuleSetsPage } from "@burdenoff/fluidgrids-fe-sdk";
|
|
@@ -11,6 +11,7 @@ import { ContextSwitchRedirectRule } from '@burdenoff/fe-libs/chrome/contextSwit
|
|
|
11
11
|
* - `workflow/:id/:version`, legacy `builder/:id/:version`, `resolve/:id` → `list`
|
|
12
12
|
* - `runs/:runId`, legacy `executions/:runId` → `runs`
|
|
13
13
|
* - `settings/:workflowKey` → `settings`
|
|
14
|
+
* - `rules/:ruleSetId` → `rules` (BOFF-4075)
|
|
14
15
|
*
|
|
15
16
|
* Pages that hold no workspace resource id (`list`, `new`, `runs`, `insights`,
|
|
16
17
|
* `settings`, the store's `templates/:productId/preview`, …) stay in place and
|
package/dist/translations/en.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-workflows",
|
|
3
|
-
"version": "2026.1124.
|
|
3
|
+
"version": "2026.1124.4",
|
|
4
4
|
"description": "Workflows microfrontend for Burdenoff products - thin shell over @burdenoff/fluidgrids-fe-sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"verify:package": "mkdir -p node_modules/.cache/release-package && npm pack --dry-run --json --ignore-scripts > node_modules/.cache/release-package/pack.json && bun scripts/check-release-package.ts node_modules/.cache/release-package/pack.json"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@burdenoff/fe-libs": "2026.
|
|
51
|
+
"@burdenoff/fe-libs": "2026.1124.15",
|
|
52
52
|
"lucide-react": "^0.468.0",
|
|
53
53
|
"react": "^19.3.1",
|
|
54
54
|
"react-dom": "^19.3.1",
|
|
55
55
|
"react-router": "^8.5.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@burdenoff/fluidgrids-fe-sdk": "2026.
|
|
58
|
+
"@burdenoff/fluidgrids-fe-sdk": "2026.1124.12",
|
|
59
59
|
"@burdenoff/toolchain": "2026.1107.14",
|
|
60
60
|
"@types/bun": "^1.4.4",
|
|
61
61
|
"@types/node": "^24.19.2",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"vite": "8.3.5"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@burdenoff/fluidgrids-fe-sdk": "2026.
|
|
78
|
+
"@burdenoff/fluidgrids-fe-sdk": "2026.1124.12",
|
|
79
79
|
"framer-motion": "^12.0.0",
|
|
80
80
|
"react": "^19.0.0",
|
|
81
81
|
"react-dom": "^19.0.0"
|