@burdenoff/microfe-workflows 2026.1124.1 → 2026.1124.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.
@@ -19,6 +19,13 @@ export interface WorkflowsRootProps extends MicrofrontendRootProps {
19
19
  * FluidGrids product, off for every other host.
20
20
  */
21
21
  builderTimings?: FluidGridsConfig['builderTimings'];
22
+ /**
23
+ * Where the host mounts the developer portal (`microfe-devportal`), e.g.
24
+ * `/devportal`. Forwarded to the SDK so the Node Catalog and the builder
25
+ * Node Store can offer "Publish a custom node". Omit it when the host has no
26
+ * developer portal; the entry points then stay hidden (BOFF-10622).
27
+ */
28
+ devportalBasePath?: FluidGridsConfig['devportalBasePath'];
22
29
  /**
23
30
  * Optional callback functions
24
31
  */
@@ -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 };
@@ -2,41 +2,42 @@ 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
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";
5
+ import { Suspense as a, lazy as o, useEffect as s } from "react";
6
+ import { AccessDenied as c, PermissionGate as l } from "@burdenoff/fe-libs/shared/components";
7
+ import { AccessGate as u, GlassCard as d } from "@burdenoff/fe-libs/ui";
8
+ import { useFluidGridsFlagsSettled as f, useSelfHostedWorkersEnabled as p } from "@burdenoff/fluidgrids-fe-sdk/workflow-host";
9
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
10
+ import { Navigate as g, Route as _, Routes as v, useLocation as y, useParams as b } from "react-router";
11
+ import { AiStudioPage as x, ApprovalInboxPage as S, DataSinkDashboardPage as C, DataTablesPage as w, ErrorAnalyticsPage as T, ExecutionDetailPage as E, ExecutionsListPage as D, HistoryPage as O, InsightsPage as k, NodesPage as A, RunnersPage as j, SettingsPage as M, TaskQueuesPage as N, TemplatePreview as P, TemplatesPage as F, VariablesPage as I, WorkflowBuilderPage as L, WorkflowSearchRedirect as R, WorkflowsList as z } from "@burdenoff/fluidgrids-fe-sdk/workflow-pages";
12
+ import { useNavigationV2 as B } from "@burdenoff/fluidgrids-fe-sdk/navigation-v2";
13
13
  // src/WorkflowsRoutes.tsx
14
- function B() {
14
+ var V = o(async () => ({ default: (await import("./rulePages.js")).RuleSetsPage })), H = o(async () => ({ default: (await import("./rulePages.js")).RuleBuilderPage }));
15
+ function U() {
15
16
  let t = e();
16
- return /* @__PURE__ */ m("div", {
17
+ return /* @__PURE__ */ h("div", {
17
18
  className: "mx-auto flex w-full max-w-6xl flex-col gap-6 px-4 py-6 sm:px-6",
18
19
  role: "status",
19
20
  "aria-live": "polite",
20
21
  "aria-busy": "true",
21
22
  "aria-label": t("workflows.routes.loading.ariaLabel", "Loading workflow page"),
22
23
  children: [
23
- /* @__PURE__ */ m("div", {
24
+ /* @__PURE__ */ h("div", {
24
25
  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" })]
26
+ children: [/* @__PURE__ */ m("div", { className: "h-7 w-48 rounded-md bg-muted/60 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ m("div", { className: "h-4 w-72 max-w-full rounded bg-muted/40 motion-safe:animate-vc-shimmer" })]
26
27
  }),
27
- /* @__PURE__ */ p("div", {
28
+ /* @__PURE__ */ m("div", {
28
29
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
29
30
  children: [
30
31
  0,
31
32
  1,
32
33
  2
33
- ].map((e) => /* @__PURE__ */ m(u, {
34
+ ].map((e) => /* @__PURE__ */ h(d, {
34
35
  treatment: "metric",
35
36
  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" })]
37
+ children: [/* @__PURE__ */ m("div", { className: "h-3 w-20 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ m("div", { className: "h-8 w-24 rounded-md bg-muted/60 motion-safe:animate-vc-shimmer" })]
37
38
  }, e))
38
39
  }),
39
- /* @__PURE__ */ p(u, {
40
+ /* @__PURE__ */ m(d, {
40
41
  treatment: "glass",
41
42
  className: "flex flex-col gap-4 border-border-seam p-6",
42
43
  children: [
@@ -44,230 +45,249 @@ function B() {
44
45
  1,
45
46
  2,
46
47
  3
47
- ].map((e) => /* @__PURE__ */ m("div", {
48
+ ].map((e) => /* @__PURE__ */ h("div", {
48
49
  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", {
50
+ children: [/* @__PURE__ */ m("div", { className: "h-10 w-10 shrink-0 rounded-full bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ h("div", {
50
51
  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" })]
52
+ children: [/* @__PURE__ */ m("div", { className: "h-4 w-1/3 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ m("div", { className: "h-3 w-2/3 rounded bg-muted/30 motion-safe:animate-vc-shimmer" })]
52
53
  })]
53
54
  }, e))
54
55
  }),
55
- /* @__PURE__ */ p("p", {
56
+ /* @__PURE__ */ m("p", {
56
57
  className: "text-center text-sm text-text-secondary",
57
58
  children: t("workflows.routes.loading.message", "Loading workflow page...")
58
59
  })
59
60
  ]
60
61
  });
61
62
  }
62
- function V() {
63
- let { runId: e } = y();
64
- return /* @__PURE__ */ p(h, {
63
+ function W() {
64
+ let { runId: e } = b();
65
+ return /* @__PURE__ */ m(g, {
65
66
  to: `../runs/${e}`,
66
67
  replace: !0
67
68
  });
68
69
  }
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, {
70
+ function G() {
71
+ let { pathname: e } = y(), t = b()["*"] ?? "", n = t && e.endsWith(t) ? e.slice(0, -t.length) : e, r = n.endsWith("/") ? n : `${n}/`;
72
+ return /* @__PURE__ */ m(g, {
72
73
  to: `${r}list`,
73
74
  replace: !0
74
75
  });
75
76
  }
76
- function U() {
77
- let e = f(), n = d();
78
- return !e && !n ? /* @__PURE__ */ p(B, {}) : e ? /* @__PURE__ */ p(c, {
77
+ function K() {
78
+ let e = p(), n = f();
79
+ return !e && !n ? /* @__PURE__ */ m(U, {}) : e ? /* @__PURE__ */ m(l, {
79
80
  permission: t.TASK_QUEUE_READ,
80
- fallback: /* @__PURE__ */ p(s, {}),
81
- children: /* @__PURE__ */ p(M, {})
82
- }) : /* @__PURE__ */ p(h, {
81
+ fallback: /* @__PURE__ */ m(c, {}),
82
+ children: /* @__PURE__ */ m(N, {})
83
+ }) : /* @__PURE__ */ m(g, {
83
84
  to: "../list",
84
85
  replace: !0
85
86
  });
86
87
  }
87
- function W({ perWorkflow: e }) {
88
- return z() ? /* @__PURE__ */ p(c, {
88
+ function q({ perWorkflow: e }) {
89
+ return B() ? /* @__PURE__ */ m(l, {
89
90
  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, {
91
+ fallback: /* @__PURE__ */ m(J, { perWorkflow: e }),
92
+ children: /* @__PURE__ */ m(M, {})
93
+ }) : /* @__PURE__ */ m(l, {
93
94
  permission: t.SYSTEM_CONFIG_READ,
94
- fallback: /* @__PURE__ */ p(s, {}),
95
- children: /* @__PURE__ */ p(j, {})
95
+ fallback: /* @__PURE__ */ m(c, {}),
96
+ children: /* @__PURE__ */ m(M, {})
96
97
  });
97
98
  }
98
- function G({ perWorkflow: t }) {
99
+ function J({ perWorkflow: t }) {
99
100
  let n = e();
100
- return /* @__PURE__ */ p(l, {
101
+ return /* @__PURE__ */ m(u, {
101
102
  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
103
  granterHint: n("workflows.routes.settingsAccess.granterHint", "A workspace admin can give you access.")
103
104
  });
104
105
  }
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(() => {
106
+ function Y() {
107
+ let { pathname: e } = y(), t = b()["*"] ?? "", n = t && e.endsWith(t) ? e.slice(0, -t.length) : e, a = i(e, n) === "WorkflowBuilderPage";
108
+ s(() => {
108
109
  if (!a) return r("WorkflowBuilderPage");
109
110
  }, [a]);
110
111
  }
111
- function q() {
112
- return K(), /* @__PURE__ */ p(a, {
113
- fallback: /* @__PURE__ */ p(B, {}),
114
- children: /* @__PURE__ */ m(_, { children: [
115
- /* @__PURE__ */ p(g, {
112
+ function X() {
113
+ return Y(), /* @__PURE__ */ m(a, {
114
+ fallback: /* @__PURE__ */ m(U, {}),
115
+ children: /* @__PURE__ */ h(v, { children: [
116
+ /* @__PURE__ */ m(_, {
116
117
  index: !0,
117
- element: /* @__PURE__ */ p(h, {
118
+ element: /* @__PURE__ */ m(g, {
118
119
  to: "list",
119
120
  replace: !0
120
121
  })
121
122
  }),
122
- /* @__PURE__ */ p(g, {
123
+ /* @__PURE__ */ m(_, {
123
124
  path: "list",
124
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(R, {}) })
125
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(z, {}) })
125
126
  }),
126
- /* @__PURE__ */ p(g, {
127
+ /* @__PURE__ */ m(_, {
127
128
  path: "new",
128
- element: /* @__PURE__ */ p(n, {
129
+ element: /* @__PURE__ */ m(n, {
129
130
  kind: "canvas",
130
- children: /* @__PURE__ */ p(I, {})
131
+ children: /* @__PURE__ */ m(L, {})
131
132
  })
132
133
  }),
133
- /* @__PURE__ */ p(g, {
134
+ /* @__PURE__ */ m(_, {
134
135
  path: "workflow/:id/:version",
135
- element: /* @__PURE__ */ p(n, {
136
+ element: /* @__PURE__ */ m(n, {
136
137
  kind: "canvas",
137
- children: /* @__PURE__ */ p(I, {})
138
+ children: /* @__PURE__ */ m(L, {})
138
139
  })
139
140
  }),
140
- /* @__PURE__ */ p(g, {
141
+ /* @__PURE__ */ m(_, {
141
142
  path: "builder",
142
- element: /* @__PURE__ */ p(h, {
143
+ element: /* @__PURE__ */ m(g, {
143
144
  to: "../new",
144
145
  replace: !0
145
146
  })
146
147
  }),
147
- /* @__PURE__ */ p(g, {
148
+ /* @__PURE__ */ m(_, {
148
149
  path: "builder/:id/:version",
149
- element: /* @__PURE__ */ p(n, {
150
+ element: /* @__PURE__ */ m(n, {
150
151
  kind: "canvas",
151
- children: /* @__PURE__ */ p(I, {})
152
+ children: /* @__PURE__ */ m(L, {})
152
153
  })
153
154
  }),
154
- /* @__PURE__ */ p(g, {
155
+ /* @__PURE__ */ m(_, {
155
156
  path: "resolve/:id",
156
- element: /* @__PURE__ */ p(L, {})
157
+ element: /* @__PURE__ */ m(R, {})
157
158
  }),
158
- /* @__PURE__ */ p(g, {
159
+ /* @__PURE__ */ m(_, {
159
160
  path: "runs",
160
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(E, {}) })
161
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(D, {}) })
161
162
  }),
162
- /* @__PURE__ */ p(g, {
163
+ /* @__PURE__ */ m(_, {
163
164
  path: "runs/:runId",
164
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(T, {}) })
165
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(E, {}) })
165
166
  }),
166
- /* @__PURE__ */ p(g, {
167
+ /* @__PURE__ */ m(_, {
167
168
  path: "ai-studio",
168
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(b, {}) })
169
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(x, {}) })
169
170
  }),
170
- /* @__PURE__ */ p(g, {
171
+ /* @__PURE__ */ m(_, {
171
172
  path: "insights",
172
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(O, {}) })
173
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(k, {}) })
173
174
  }),
174
- /* @__PURE__ */ p(g, {
175
+ /* @__PURE__ */ m(_, {
175
176
  path: "insights/errors",
176
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(w, {}) })
177
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(T, {}) })
177
178
  }),
178
- /* @__PURE__ */ p(g, {
179
+ /* @__PURE__ */ m(_, {
179
180
  path: "data-sinks",
180
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(S, {}) })
181
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(C, {}) })
181
182
  }),
182
- /* @__PURE__ */ p(g, {
183
+ /* @__PURE__ */ m(_, {
183
184
  path: "data-tables",
184
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(C, {}) })
185
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(w, {}) })
186
+ }),
187
+ /* @__PURE__ */ m(_, {
188
+ path: "rules",
189
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(l, {
190
+ permission: t.WORKFLOW_READ,
191
+ fallback: /* @__PURE__ */ m(c, {}),
192
+ children: /* @__PURE__ */ m(V, {})
193
+ }) })
194
+ }),
195
+ /* @__PURE__ */ m(_, {
196
+ path: "rules/:ruleSetId",
197
+ element: /* @__PURE__ */ m(n, {
198
+ kind: "canvas",
199
+ children: /* @__PURE__ */ m(l, {
200
+ permission: t.WORKFLOW_READ,
201
+ fallback: /* @__PURE__ */ m(c, {}),
202
+ children: /* @__PURE__ */ m(H, {})
203
+ })
204
+ })
185
205
  }),
186
- /* @__PURE__ */ p(g, {
206
+ /* @__PURE__ */ m(_, {
187
207
  path: "approvals",
188
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(c, {
208
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(l, {
189
209
  permission: t.WORKFLOW_RUN_READ,
190
- fallback: /* @__PURE__ */ p(s, {}),
191
- children: /* @__PURE__ */ p(x, {})
210
+ fallback: /* @__PURE__ */ m(c, {}),
211
+ children: /* @__PURE__ */ m(S, {})
192
212
  }) })
193
213
  }),
194
- /* @__PURE__ */ p(g, {
214
+ /* @__PURE__ */ m(_, {
195
215
  path: "history",
196
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(D, {}) })
216
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(O, {}) })
197
217
  }),
198
- /* @__PURE__ */ p(g, {
218
+ /* @__PURE__ */ m(_, {
199
219
  path: "templates",
200
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(P, {}) })
220
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(F, {}) })
201
221
  }),
202
- /* @__PURE__ */ p(g, {
222
+ /* @__PURE__ */ m(_, {
203
223
  path: "templates/:productId/preview",
204
- element: /* @__PURE__ */ p(n, {
224
+ element: /* @__PURE__ */ m(n, {
205
225
  kind: "canvas",
206
- children: /* @__PURE__ */ p(N, {})
226
+ children: /* @__PURE__ */ m(P, {})
207
227
  })
208
228
  }),
209
- /* @__PURE__ */ p(g, {
229
+ /* @__PURE__ */ m(_, {
210
230
  path: "nodes",
211
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(k, {}) })
231
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(A, {}) })
212
232
  }),
213
- /* @__PURE__ */ p(g, {
233
+ /* @__PURE__ */ m(_, {
214
234
  path: "settings",
215
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(W, { perWorkflow: !1 }) })
235
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(q, { perWorkflow: !1 }) })
216
236
  }),
217
- /* @__PURE__ */ p(g, {
237
+ /* @__PURE__ */ m(_, {
218
238
  path: "settings/:workflowKey",
219
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(W, { perWorkflow: !0 }) })
239
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(q, { perWorkflow: !0 }) })
220
240
  }),
221
- /* @__PURE__ */ p(g, {
241
+ /* @__PURE__ */ m(_, {
222
242
  path: "variables",
223
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(c, {
243
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(l, {
224
244
  permission: t.VARIABLE_READ,
225
- fallback: /* @__PURE__ */ p(s, {}),
226
- children: /* @__PURE__ */ p(F, {})
245
+ fallback: /* @__PURE__ */ m(c, {}),
246
+ children: /* @__PURE__ */ m(I, {})
227
247
  }) })
228
248
  }),
229
- /* @__PURE__ */ p(g, {
249
+ /* @__PURE__ */ m(_, {
230
250
  path: "runners",
231
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(c, {
251
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(l, {
232
252
  permission: t.SANDBOX_READ,
233
- fallback: /* @__PURE__ */ p(s, {}),
234
- children: /* @__PURE__ */ p(A, {})
253
+ fallback: /* @__PURE__ */ m(c, {}),
254
+ children: /* @__PURE__ */ m(j, {})
235
255
  }) })
236
256
  }),
237
- /* @__PURE__ */ p(g, {
257
+ /* @__PURE__ */ m(_, {
238
258
  path: "task-queues",
239
- element: /* @__PURE__ */ p(n, { children: /* @__PURE__ */ p(U, {}) })
259
+ element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(K, {}) })
240
260
  }),
241
- /* @__PURE__ */ p(g, {
261
+ /* @__PURE__ */ m(_, {
242
262
  path: "executions",
243
- element: /* @__PURE__ */ p(h, {
263
+ element: /* @__PURE__ */ m(g, {
244
264
  to: "../runs",
245
265
  replace: !0
246
266
  })
247
267
  }),
248
- /* @__PURE__ */ p(g, {
268
+ /* @__PURE__ */ m(_, {
249
269
  path: "executions/:runId",
250
- element: /* @__PURE__ */ p(V, {})
270
+ element: /* @__PURE__ */ m(W, {})
251
271
  }),
252
- /* @__PURE__ */ p(g, {
272
+ /* @__PURE__ */ m(_, {
253
273
  path: "credentials",
254
- element: /* @__PURE__ */ p(h, {
274
+ element: /* @__PURE__ */ m(g, {
255
275
  to: "/integrations/connections",
256
276
  replace: !0
257
277
  })
258
278
  }),
259
- /* @__PURE__ */ p(g, {
279
+ /* @__PURE__ */ m(_, {
260
280
  path: "oauth/callback",
261
- element: /* @__PURE__ */ p(h, {
281
+ element: /* @__PURE__ */ m(g, {
262
282
  to: "/integrations/connections",
263
283
  replace: !0
264
284
  })
265
285
  }),
266
- /* @__PURE__ */ p(g, {
286
+ /* @__PURE__ */ m(_, {
267
287
  path: "*",
268
- element: /* @__PURE__ */ p(H, {})
288
+ element: /* @__PURE__ */ m(G, {})
269
289
  })
270
290
  ] })
271
291
  });
272
292
  }
273
- export { q as WorkflowsRoutes };
293
+ export { X as WorkflowsRoutes };
@@ -58,7 +58,8 @@ function D({ children: i, ...l }) {
58
58
  productId: l.productId,
59
59
  productName: l.productName,
60
60
  onWorkflowSaved: r,
61
- builderTimings: n
61
+ builderTimings: n,
62
+ devportalBasePath: l.devportalBasePath
62
63
  }), g(D), v(O), d().catch((e) => {
63
64
  console.warn("[Workflows] Could not refresh installed nodes", e);
64
65
  }), k.set(!0), () => {
@@ -77,7 +78,8 @@ function D({ children: i, ...l }) {
77
78
  l.productName,
78
79
  l.callbacks,
79
80
  j,
80
- M
81
+ M,
82
+ l.devportalBasePath
81
83
  ]), l.workspaceId ? !A || !l.workspaceToken || !l.productId ? /* @__PURE__ */ C("div", {
82
84
  className: "mx-auto flex h-full min-h-[60vh] w-full max-w-md flex-col items-center justify-center gap-4 px-4 py-10 text-center",
83
85
  role: "status",
@@ -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.1",
3
+ "version": "2026.1124.3",
4
4
  "description": "Workflows microfrontend for Burdenoff products - thin shell over @burdenoff/fluidgrids-fe-sdk",
5
5
  "type": "module",
6
6
  "exports": {