@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.
@@ -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 { useEffect as i } from "react";
6
- import { ErrorBoundary as a } from "@burdenoff/fe-libs/shared/components";
7
- import { AuroraBackground as o, Button as s, IllustratedEmptyState as c } from "@burdenoff/fe-libs/ui";
8
- import { BarChart3 as l, Boxes as u, Database as d, FileCode2 as f, History as p, LayoutDashboard as m, Network as h, PlayCircle as g, RefreshCw as _, Server as v, Settings as y, Sparkles as b, Table2 as x, Variable as S, Workflow as C } from "lucide-react";
9
- import { jsx as w, jsxs as T } from "react/jsx-runtime";
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 E(E) {
12
- let { basePath: D = "/", registerNavItems: O, registerFooterItems: k } = E, A = r();
13
- return i(() => {
14
- if (!O) return;
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: A("workflows.nav.myWorkflows", "My Workflows"),
19
- path: e(D, "list"),
20
- icon: /* @__PURE__ */ w(C, { size: 18 }),
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: A("workflows.nav.aiStudio", "AI Studio"),
26
- path: e(D, "ai-studio"),
27
- icon: /* @__PURE__ */ w(b, { size: 18 }),
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: A("workflows.nav.builder", "Builder"),
33
- path: e(D, "new"),
34
- icon: /* @__PURE__ */ w(u, { size: 18 }),
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: A("workflows.nav.runs", "Runs"),
40
- path: e(D, "runs"),
41
- icon: /* @__PURE__ */ w(g, { size: 18 }),
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: A("workflows.nav.insights", "Insights"),
47
- path: e(D, "insights"),
48
- icon: /* @__PURE__ */ w(l, { size: 18 }),
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: A("workflows.nav.dataSinks", "DataSinks"),
54
- path: e(D, "data-sinks"),
55
- icon: /* @__PURE__ */ w(d, { size: 18 }),
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: A("workflows.nav.dataTables", "Data Tables"),
61
- path: e(D, "data-tables"),
62
- icon: /* @__PURE__ */ w(x, { size: 18 }),
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: A("workflows.nav.history", "History"),
68
- path: e(D, "history"),
69
- icon: /* @__PURE__ */ w(p, { size: 18 }),
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: A("workflows.nav.templates", "Templates"),
75
- path: e(D, "templates"),
76
- icon: /* @__PURE__ */ w(m, { size: 18 }),
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: A("workflows.nav.nodes", "Nodes"),
82
- path: e(D, "nodes"),
83
- icon: /* @__PURE__ */ w(h, { size: 18 }),
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: A("workflows.nav.variables", "Variables"),
89
- path: e(D, "variables"),
90
- icon: /* @__PURE__ */ w(S, { size: 18 }),
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: A("workflows.nav.runners", "Runners"),
96
- path: e(D, "runners"),
97
- icon: /* @__PURE__ */ w(v, { size: 18 }),
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: A("workflows.nav.settings", "Settings"),
103
- path: e(D, "settings"),
104
- icon: /* @__PURE__ */ w(y, { size: 18 }),
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: A("workflows.nav.title", "Workflows"),
110
- path: D,
111
- icon: /* @__PURE__ */ w(f, { size: 20 }),
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 O(n);
125
+ return A(n);
117
126
  }, [
118
- O,
119
- D,
120
- A
121
- ]), i(() => {
122
- if (!k) return;
127
+ A,
128
+ k,
129
+ M
130
+ ]), a(() => {
131
+ if (!j) return;
123
132
  let e = [{
124
133
  id: "workflows-status",
125
- label: A("workflows.footer.status", "Workflows Ready"),
134
+ label: M("workflows.footer.status", "Workflows Ready"),
126
135
  type: "status",
127
136
  order: 10,
128
137
  section: "left"
129
138
  }];
130
- return k(e);
131
- }, [k, A]), /* @__PURE__ */ w(a, {
132
- fallback: /* @__PURE__ */ T("div", {
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__ */ w(o, { intensity: "subtle" }), /* @__PURE__ */ w(c, {
143
+ children: [/* @__PURE__ */ E(s, { intensity: "subtle" }), /* @__PURE__ */ E(l, {
135
144
  illustration: "empty-generic",
136
- title: A("workflows.error.title", "Workflows hit a snag"),
137
- description: A("workflows.error.loadFailed", "Something went wrong loading this module. Please refresh the page."),
138
- action: /* @__PURE__ */ T(s, {
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__ */ w(_, {
149
+ children: [/* @__PURE__ */ E(v, {
141
150
  className: "size-4",
142
151
  "aria-hidden": "true"
143
- }), A("workflows.error.refresh", "Refresh page")]
152
+ }), M("workflows.error.refresh", "Refresh page")]
144
153
  }),
145
154
  kind: "error"
146
155
  })]
147
156
  }),
148
- children: /* @__PURE__ */ w(e, {
149
- ...E,
150
- children: /* @__PURE__ */ w(n, {})
151
- }, t(E))
157
+ children: /* @__PURE__ */ E(e, {
158
+ ...O,
159
+ children: /* @__PURE__ */ E(n, {})
160
+ }, t(O))
152
161
  });
153
162
  }
154
- export { E as WorkflowsRoot };
163
+ export { O as WorkflowsRoot };
@@ -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 { scheduleWorkflowPagePreload as r, workflowsRoutePage as i } from "./routePreload.js";
5
- import { Suspense as a, useEffect as o } from "react";
6
- import { AccessDenied as s, PermissionGate as c } from "@burdenoff/fe-libs/shared/components";
7
- import { AccessGate as l, GlassCard as u } from "@burdenoff/fe-libs/ui";
8
- import { useFluidGridsFlagsSettled as d, useSelfHostedWorkersEnabled as f } from "@burdenoff/fluidgrids-fe-sdk/workflow-host";
9
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
10
- import { Navigate as h, Route as g, Routes as _, useLocation as v, useParams as y } from "react-router";
11
- import { AiStudioPage as b, ApprovalInboxPage as x, DataSinkDashboardPage as S, DataTablesPage as C, ErrorAnalyticsPage as w, ExecutionDetailPage as T, ExecutionsListPage as E, HistoryPage as D, InsightsPage as O, NodesPage as k, RunnersPage as A, SettingsPage as j, TaskQueuesPage as M, TemplatePreview as N, TemplatesPage as P, VariablesPage as F, WorkflowBuilderPage as I, WorkflowSearchRedirect as L, WorkflowsList as R } from "@burdenoff/fluidgrids-fe-sdk/workflow-pages";
12
- import { useNavigationV2 as z } from "@burdenoff/fluidgrids-fe-sdk/navigation-v2";
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
- function B() {
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__ */ m("div", {
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__ */ m("div", {
43
+ /* @__PURE__ */ v("div", {
24
44
  className: "flex flex-col gap-3",
25
- children: [/* @__PURE__ */ p("div", { className: "h-7 w-48 rounded-md bg-muted/60 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ p("div", { className: "h-4 w-72 max-w-full rounded bg-muted/40 motion-safe:animate-vc-shimmer" })]
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__ */ p("div", {
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__ */ m(u, {
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__ */ p("div", { className: "h-3 w-20 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ p("div", { className: "h-8 w-24 rounded-md bg-muted/60 motion-safe:animate-vc-shimmer" })]
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__ */ p(u, {
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__ */ m("div", {
67
+ ].map((e) => /* @__PURE__ */ v("div", {
48
68
  className: "flex items-center gap-4",
49
- children: [/* @__PURE__ */ p("div", { className: "h-10 w-10 shrink-0 rounded-full bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ m("div", {
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__ */ p("div", { className: "h-4 w-1/3 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ p("div", { className: "h-3 w-2/3 rounded bg-muted/30 motion-safe:animate-vc-shimmer" })]
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__ */ p("p", {
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 V() {
63
- let { runId: e } = y();
64
- return /* @__PURE__ */ p(h, {
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 H() {
70
- let { pathname: e } = v(), t = y()["*"] ?? "", n = t && e.endsWith(t) ? e.slice(0, -t.length) : e, r = n.endsWith("/") ? n : `${n}/`;
71
- return /* @__PURE__ */ p(h, {
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 U() {
77
- let e = f(), n = d();
78
- return !e && !n ? /* @__PURE__ */ p(B, {}) : e ? /* @__PURE__ */ p(c, {
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__ */ p(s, {}),
81
- children: /* @__PURE__ */ p(M, {})
82
- }) : /* @__PURE__ */ p(h, {
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 W({ perWorkflow: e }) {
88
- return z() ? /* @__PURE__ */ p(c, {
107
+ function $({ perWorkflow: e }) {
108
+ return H() ? /* @__PURE__ */ _(l, {
89
109
  permission: e ? t.WORKFLOW_READ : t.SYSTEM_CONFIG_READ,
90
- fallback: /* @__PURE__ */ p(G, { perWorkflow: e }),
91
- children: /* @__PURE__ */ p(j, {})
92
- }) : /* @__PURE__ */ p(c, {
110
+ fallback: /* @__PURE__ */ _(re, { perWorkflow: e }),
111
+ children: /* @__PURE__ */ _(F, {})
112
+ }) : /* @__PURE__ */ _(l, {
93
113
  permission: t.SYSTEM_CONFIG_READ,
94
- fallback: /* @__PURE__ */ p(s, {}),
95
- children: /* @__PURE__ */ p(j, {})
114
+ fallback: /* @__PURE__ */ _(c, {}),
115
+ children: /* @__PURE__ */ _(F, {})
96
116
  });
97
117
  }
98
- function G({ perWorkflow: t }) {
118
+ function re({ perWorkflow: t }) {
99
119
  let n = e();
100
- return /* @__PURE__ */ p(l, {
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 K() {
106
- let { pathname: e } = v(), t = y()["*"] ?? "", n = t && e.endsWith(t) ? e.slice(0, -t.length) : e, a = i(e, n) === "WorkflowBuilderPage";
107
- o(() => {
108
- if (!a) return r("WorkflowBuilderPage");
109
- }, [a]);
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 q() {
112
- return K(), /* @__PURE__ */ p(a, {
113
- fallback: /* @__PURE__ */ p(B, {}),
114
- children: /* @__PURE__ */ m(_, { children: [
115
- /* @__PURE__ */ p(g, {
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__ */ p(h, {
137
+ element: /* @__PURE__ */ _(y, {
118
138
  to: "list",
119
139
  replace: !0
120
140
  })
121
141
  }),
122
- /* @__PURE__ */ p(g, {
142
+ /* @__PURE__ */ _(b, {
123
143
  path: "list",
124
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(R, {}) })
144
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(V, {}) })
125
145
  }),
126
- /* @__PURE__ */ p(g, {
146
+ /* @__PURE__ */ _(b, {
127
147
  path: "new",
128
- element: /* @__PURE__ */ p(n, {
148
+ element: /* @__PURE__ */ _(n, {
129
149
  kind: "canvas",
130
- children: /* @__PURE__ */ p(I, {})
150
+ children: /* @__PURE__ */ _(z, {})
131
151
  })
132
152
  }),
133
- /* @__PURE__ */ p(g, {
153
+ /* @__PURE__ */ _(b, {
134
154
  path: "workflow/:id/:version",
135
- element: /* @__PURE__ */ p(n, {
155
+ element: /* @__PURE__ */ _(n, {
136
156
  kind: "canvas",
137
- children: /* @__PURE__ */ p(I, {})
157
+ children: /* @__PURE__ */ _(z, {})
138
158
  })
139
159
  }),
140
- /* @__PURE__ */ p(g, {
160
+ /* @__PURE__ */ _(b, {
141
161
  path: "builder",
142
- element: /* @__PURE__ */ p(h, {
162
+ element: /* @__PURE__ */ _(y, {
143
163
  to: "../new",
144
164
  replace: !0
145
165
  })
146
166
  }),
147
- /* @__PURE__ */ p(g, {
167
+ /* @__PURE__ */ _(b, {
148
168
  path: "builder/:id/:version",
149
- element: /* @__PURE__ */ p(n, {
169
+ element: /* @__PURE__ */ _(n, {
150
170
  kind: "canvas",
151
- children: /* @__PURE__ */ p(I, {})
171
+ children: /* @__PURE__ */ _(z, {})
152
172
  })
153
173
  }),
154
- /* @__PURE__ */ p(g, {
174
+ /* @__PURE__ */ _(b, {
155
175
  path: "resolve/:id",
156
- element: /* @__PURE__ */ p(L, {})
176
+ element: /* @__PURE__ */ _(B, {})
157
177
  }),
158
- /* @__PURE__ */ p(g, {
178
+ /* @__PURE__ */ _(b, {
159
179
  path: "runs",
160
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(E, {}) })
180
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(A, {}) })
161
181
  }),
162
- /* @__PURE__ */ p(g, {
182
+ /* @__PURE__ */ _(b, {
163
183
  path: "runs/:runId",
164
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(T, {}) })
184
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(k, {}) })
165
185
  }),
166
- /* @__PURE__ */ p(g, {
186
+ /* @__PURE__ */ _(b, {
167
187
  path: "ai-studio",
168
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(b, {}) })
188
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(w, {}) })
169
189
  }),
170
- /* @__PURE__ */ p(g, {
190
+ /* @__PURE__ */ _(b, {
171
191
  path: "insights",
172
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(O, {}) })
192
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(M, {}) })
173
193
  }),
174
- /* @__PURE__ */ p(g, {
194
+ /* @__PURE__ */ _(b, {
175
195
  path: "insights/errors",
176
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(w, {}) })
196
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(O, {}) })
177
197
  }),
178
- /* @__PURE__ */ p(g, {
198
+ /* @__PURE__ */ _(b, {
179
199
  path: "data-sinks",
180
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(S, {}) })
200
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(E, {}) })
181
201
  }),
182
- /* @__PURE__ */ p(g, {
202
+ /* @__PURE__ */ _(b, {
183
203
  path: "data-tables",
184
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(C, {}) })
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__ */ p(g, {
225
+ /* @__PURE__ */ _(b, {
187
226
  path: "approvals",
188
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(c, {
227
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
189
228
  permission: t.WORKFLOW_RUN_READ,
190
- fallback: /* @__PURE__ */ p(s, {}),
191
- children: /* @__PURE__ */ p(x, {})
229
+ fallback: /* @__PURE__ */ _(c, {}),
230
+ children: /* @__PURE__ */ _(T, {})
192
231
  }) })
193
232
  }),
194
- /* @__PURE__ */ p(g, {
233
+ /* @__PURE__ */ _(b, {
195
234
  path: "history",
196
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(D, {}) })
235
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(j, {}) })
197
236
  }),
198
- /* @__PURE__ */ p(g, {
237
+ /* @__PURE__ */ _(b, {
199
238
  path: "templates",
200
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(P, {}) })
239
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(L, {}) })
201
240
  }),
202
- /* @__PURE__ */ p(g, {
241
+ /* @__PURE__ */ _(b, {
203
242
  path: "templates/:productId/preview",
204
- element: /* @__PURE__ */ p(n, {
243
+ element: /* @__PURE__ */ _(n, {
205
244
  kind: "canvas",
206
- children: /* @__PURE__ */ p(N, {})
245
+ children: /* @__PURE__ */ _(I, {})
207
246
  })
208
247
  }),
209
- /* @__PURE__ */ p(g, {
248
+ /* @__PURE__ */ _(b, {
210
249
  path: "nodes",
211
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(k, {}) })
250
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(N, {}) })
212
251
  }),
213
- /* @__PURE__ */ p(g, {
252
+ /* @__PURE__ */ _(b, {
214
253
  path: "settings",
215
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(W, { perWorkflow: !1 }) })
254
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _($, { perWorkflow: !1 }) })
216
255
  }),
217
- /* @__PURE__ */ p(g, {
256
+ /* @__PURE__ */ _(b, {
218
257
  path: "settings/:workflowKey",
219
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(W, { perWorkflow: !0 }) })
258
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _($, { perWorkflow: !0 }) })
220
259
  }),
221
- /* @__PURE__ */ p(g, {
260
+ /* @__PURE__ */ _(b, {
222
261
  path: "variables",
223
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(c, {
262
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
224
263
  permission: t.VARIABLE_READ,
225
- fallback: /* @__PURE__ */ p(s, {}),
226
- children: /* @__PURE__ */ p(F, {})
264
+ fallback: /* @__PURE__ */ _(c, {}),
265
+ children: /* @__PURE__ */ _(R, {})
227
266
  }) })
228
267
  }),
229
- /* @__PURE__ */ p(g, {
268
+ /* @__PURE__ */ _(b, {
230
269
  path: "runners",
231
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(c, {
270
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
232
271
  permission: t.SANDBOX_READ,
233
- fallback: /* @__PURE__ */ p(s, {}),
234
- children: /* @__PURE__ */ p(A, {})
272
+ fallback: /* @__PURE__ */ _(c, {}),
273
+ children: /* @__PURE__ */ _(P, {})
235
274
  }) })
236
275
  }),
237
- /* @__PURE__ */ p(g, {
276
+ /* @__PURE__ */ _(b, {
238
277
  path: "task-queues",
239
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(U, {}) })
278
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(ne, {}) })
240
279
  }),
241
- /* @__PURE__ */ p(g, {
280
+ /* @__PURE__ */ _(b, {
242
281
  path: "executions",
243
- element: /* @__PURE__ */ p(h, {
282
+ element: /* @__PURE__ */ _(y, {
244
283
  to: "../runs",
245
284
  replace: !0
246
285
  })
247
286
  }),
248
- /* @__PURE__ */ p(g, {
287
+ /* @__PURE__ */ _(b, {
249
288
  path: "executions/:runId",
250
- element: /* @__PURE__ */ p(V, {})
289
+ element: /* @__PURE__ */ _(Z, {})
251
290
  }),
252
- /* @__PURE__ */ p(g, {
291
+ /* @__PURE__ */ _(b, {
253
292
  path: "credentials",
254
- element: /* @__PURE__ */ p(h, {
293
+ element: /* @__PURE__ */ _(y, {
255
294
  to: "/integrations/connections",
256
295
  replace: !0
257
296
  })
258
297
  }),
259
- /* @__PURE__ */ p(g, {
298
+ /* @__PURE__ */ _(b, {
260
299
  path: "oauth/callback",
261
- element: /* @__PURE__ */ p(h, {
300
+ element: /* @__PURE__ */ _(y, {
262
301
  to: "/integrations/connections",
263
302
  replace: !0
264
303
  })
265
304
  }),
266
- /* @__PURE__ */ p(g, {
305
+ /* @__PURE__ */ _(b, {
267
306
  path: "*",
268
- element: /* @__PURE__ */ p(H, {})
307
+ element: /* @__PURE__ */ _(Q, {})
269
308
  })
270
309
  ] })
271
310
  });
272
311
  }
273
- export { q as WorkflowsRoutes };
312
+ export { ae as WorkflowsRoutes };
@@ -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;
@@ -63,4 +63,9 @@ function o(e, { settleMs: n = a, idleTimeoutMs: r = 1e4 } = {}) {
63
63
  i = !0, o();
64
64
  };
65
65
  }
66
- export { n as WORKFLOWS_ROUTE_PAGES, a as WORKFLOW_PAGE_SETTLE_MS, i as preloadWorkflowsRoute, o as scheduleWorkflowPagePreload, r as workflowsRoutePage };
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
@@ -14,6 +14,10 @@ function e(e = "/workflows") {
14
14
  {
15
15
  match: RegExp(`^${t}/settings/[^/]+`),
16
16
  to: `${e}/settings`
17
+ },
18
+ {
19
+ match: RegExp(`^${t}/rules/[^/]+`),
20
+ to: `${e}/rules`
17
21
  }
18
22
  ];
19
23
  }
@@ -16,6 +16,7 @@ export declare const enTranslations: {
16
16
  insights: string;
17
17
  dataSinks: string;
18
18
  dataTables: string;
19
+ rules: string;
19
20
  history: string;
20
21
  templates: string;
21
22
  nodes: string;
@@ -9,6 +9,7 @@ var e = { workflows: {
9
9
  insights: "Insights",
10
10
  dataSinks: "DataSinks",
11
11
  dataTables: "Data Tables",
12
+ rules: "Rule Builder",
12
13
  history: "History",
13
14
  templates: "Templates",
14
15
  nodes: "Nodes",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-workflows",
3
- "version": "2026.1124.2",
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.1120.2",
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.1120.4",
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.1120.4",
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"