@burdenoff/microfe-workflows 2026.1124.3 → 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.
@@ -1,43 +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, lazy as o, useEffect as s } from "react";
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
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";
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
- var V = o(async () => ({ default: (await import("./rulePages.js")).RuleSetsPage })), H = o(async () => ({ default: (await import("./rulePages.js")).RuleBuilderPage }));
15
- function U() {
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() {
16
35
  let t = e();
17
- return /* @__PURE__ */ h("div", {
36
+ return /* @__PURE__ */ v("div", {
18
37
  className: "mx-auto flex w-full max-w-6xl flex-col gap-6 px-4 py-6 sm:px-6",
19
38
  role: "status",
20
39
  "aria-live": "polite",
21
40
  "aria-busy": "true",
22
41
  "aria-label": t("workflows.routes.loading.ariaLabel", "Loading workflow page"),
23
42
  children: [
24
- /* @__PURE__ */ h("div", {
43
+ /* @__PURE__ */ v("div", {
25
44
  className: "flex flex-col gap-3",
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" })]
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" })]
27
46
  }),
28
- /* @__PURE__ */ m("div", {
47
+ /* @__PURE__ */ _("div", {
29
48
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
30
49
  children: [
31
50
  0,
32
51
  1,
33
52
  2
34
- ].map((e) => /* @__PURE__ */ h(d, {
53
+ ].map((e) => /* @__PURE__ */ v(d, {
35
54
  treatment: "metric",
36
55
  className: "flex flex-col gap-3 border-border-seam p-5",
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" })]
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" })]
38
57
  }, e))
39
58
  }),
40
- /* @__PURE__ */ m(d, {
59
+ /* @__PURE__ */ _(d, {
41
60
  treatment: "glass",
42
61
  className: "flex flex-col gap-4 border-border-seam p-6",
43
62
  children: [
@@ -45,249 +64,249 @@ function U() {
45
64
  1,
46
65
  2,
47
66
  3
48
- ].map((e) => /* @__PURE__ */ h("div", {
67
+ ].map((e) => /* @__PURE__ */ v("div", {
49
68
  className: "flex items-center gap-4",
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", {
69
+ children: [/* @__PURE__ */ _("div", { className: "h-10 w-10 shrink-0 rounded-full bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ v("div", {
51
70
  className: "flex flex-1 flex-col gap-2",
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" })]
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" })]
53
72
  })]
54
73
  }, e))
55
74
  }),
56
- /* @__PURE__ */ m("p", {
75
+ /* @__PURE__ */ _("p", {
57
76
  className: "text-center text-sm text-text-secondary",
58
77
  children: t("workflows.routes.loading.message", "Loading workflow page...")
59
78
  })
60
79
  ]
61
80
  });
62
81
  }
63
- function W() {
64
- let { runId: e } = b();
65
- return /* @__PURE__ */ m(g, {
82
+ function Z() {
83
+ let { runId: e } = C();
84
+ return /* @__PURE__ */ _(y, {
66
85
  to: `../runs/${e}`,
67
86
  replace: !0
68
87
  });
69
88
  }
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, {
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, {
73
92
  to: `${r}list`,
74
93
  replace: !0
75
94
  });
76
95
  }
77
- function K() {
78
- let e = p(), n = f();
79
- return !e && !n ? /* @__PURE__ */ m(U, {}) : e ? /* @__PURE__ */ m(l, {
96
+ function ne() {
97
+ let e = g(), n = h();
98
+ return !e && !n ? /* @__PURE__ */ _(J, {}) : e ? /* @__PURE__ */ _(l, {
80
99
  permission: t.TASK_QUEUE_READ,
81
- fallback: /* @__PURE__ */ m(c, {}),
82
- children: /* @__PURE__ */ m(N, {})
83
- }) : /* @__PURE__ */ m(g, {
100
+ fallback: /* @__PURE__ */ _(c, {}),
101
+ children: /* @__PURE__ */ _(te, {})
102
+ }) : /* @__PURE__ */ _(y, {
84
103
  to: "../list",
85
104
  replace: !0
86
105
  });
87
106
  }
88
- function q({ perWorkflow: e }) {
89
- return B() ? /* @__PURE__ */ m(l, {
107
+ function $({ perWorkflow: e }) {
108
+ return H() ? /* @__PURE__ */ _(l, {
90
109
  permission: e ? t.WORKFLOW_READ : t.SYSTEM_CONFIG_READ,
91
- fallback: /* @__PURE__ */ m(J, { perWorkflow: e }),
92
- children: /* @__PURE__ */ m(M, {})
93
- }) : /* @__PURE__ */ m(l, {
110
+ fallback: /* @__PURE__ */ _(re, { perWorkflow: e }),
111
+ children: /* @__PURE__ */ _(F, {})
112
+ }) : /* @__PURE__ */ _(l, {
94
113
  permission: t.SYSTEM_CONFIG_READ,
95
- fallback: /* @__PURE__ */ m(c, {}),
96
- children: /* @__PURE__ */ m(M, {})
114
+ fallback: /* @__PURE__ */ _(c, {}),
115
+ children: /* @__PURE__ */ _(F, {})
97
116
  });
98
117
  }
99
- function J({ perWorkflow: t }) {
118
+ function re({ perWorkflow: t }) {
100
119
  let n = e();
101
- return /* @__PURE__ */ m(u, {
120
+ return /* @__PURE__ */ _(u, {
102
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"),
103
122
  granterHint: n("workflows.routes.settingsAccess.granterHint", "A workspace admin can give you access.")
104
123
  });
105
124
  }
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(() => {
109
- if (!a) return r("WorkflowBuilderPage");
110
- }, [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]);
111
130
  }
112
- function X() {
113
- return Y(), /* @__PURE__ */ m(a, {
114
- fallback: /* @__PURE__ */ m(U, {}),
115
- children: /* @__PURE__ */ h(v, { children: [
116
- /* @__PURE__ */ m(_, {
131
+ function ae() {
132
+ return ie(), /* @__PURE__ */ _(o, {
133
+ fallback: /* @__PURE__ */ _(J, {}),
134
+ children: /* @__PURE__ */ v(x, { children: [
135
+ /* @__PURE__ */ _(b, {
117
136
  index: !0,
118
- element: /* @__PURE__ */ m(g, {
137
+ element: /* @__PURE__ */ _(y, {
119
138
  to: "list",
120
139
  replace: !0
121
140
  })
122
141
  }),
123
- /* @__PURE__ */ m(_, {
142
+ /* @__PURE__ */ _(b, {
124
143
  path: "list",
125
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(z, {}) })
144
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(V, {}) })
126
145
  }),
127
- /* @__PURE__ */ m(_, {
146
+ /* @__PURE__ */ _(b, {
128
147
  path: "new",
129
- element: /* @__PURE__ */ m(n, {
148
+ element: /* @__PURE__ */ _(n, {
130
149
  kind: "canvas",
131
- children: /* @__PURE__ */ m(L, {})
150
+ children: /* @__PURE__ */ _(z, {})
132
151
  })
133
152
  }),
134
- /* @__PURE__ */ m(_, {
153
+ /* @__PURE__ */ _(b, {
135
154
  path: "workflow/:id/:version",
136
- element: /* @__PURE__ */ m(n, {
155
+ element: /* @__PURE__ */ _(n, {
137
156
  kind: "canvas",
138
- children: /* @__PURE__ */ m(L, {})
157
+ children: /* @__PURE__ */ _(z, {})
139
158
  })
140
159
  }),
141
- /* @__PURE__ */ m(_, {
160
+ /* @__PURE__ */ _(b, {
142
161
  path: "builder",
143
- element: /* @__PURE__ */ m(g, {
162
+ element: /* @__PURE__ */ _(y, {
144
163
  to: "../new",
145
164
  replace: !0
146
165
  })
147
166
  }),
148
- /* @__PURE__ */ m(_, {
167
+ /* @__PURE__ */ _(b, {
149
168
  path: "builder/:id/:version",
150
- element: /* @__PURE__ */ m(n, {
169
+ element: /* @__PURE__ */ _(n, {
151
170
  kind: "canvas",
152
- children: /* @__PURE__ */ m(L, {})
171
+ children: /* @__PURE__ */ _(z, {})
153
172
  })
154
173
  }),
155
- /* @__PURE__ */ m(_, {
174
+ /* @__PURE__ */ _(b, {
156
175
  path: "resolve/:id",
157
- element: /* @__PURE__ */ m(R, {})
176
+ element: /* @__PURE__ */ _(B, {})
158
177
  }),
159
- /* @__PURE__ */ m(_, {
178
+ /* @__PURE__ */ _(b, {
160
179
  path: "runs",
161
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(D, {}) })
180
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(A, {}) })
162
181
  }),
163
- /* @__PURE__ */ m(_, {
182
+ /* @__PURE__ */ _(b, {
164
183
  path: "runs/:runId",
165
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(E, {}) })
184
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(k, {}) })
166
185
  }),
167
- /* @__PURE__ */ m(_, {
186
+ /* @__PURE__ */ _(b, {
168
187
  path: "ai-studio",
169
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(x, {}) })
188
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(w, {}) })
170
189
  }),
171
- /* @__PURE__ */ m(_, {
190
+ /* @__PURE__ */ _(b, {
172
191
  path: "insights",
173
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(k, {}) })
192
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(M, {}) })
174
193
  }),
175
- /* @__PURE__ */ m(_, {
194
+ /* @__PURE__ */ _(b, {
176
195
  path: "insights/errors",
177
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(T, {}) })
196
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(O, {}) })
178
197
  }),
179
- /* @__PURE__ */ m(_, {
198
+ /* @__PURE__ */ _(b, {
180
199
  path: "data-sinks",
181
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(C, {}) })
200
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(E, {}) })
182
201
  }),
183
- /* @__PURE__ */ m(_, {
202
+ /* @__PURE__ */ _(b, {
184
203
  path: "data-tables",
185
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(w, {}) })
204
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(D, {}) })
186
205
  }),
187
- /* @__PURE__ */ m(_, {
206
+ /* @__PURE__ */ _(b, {
188
207
  path: "rules",
189
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(l, {
208
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
190
209
  permission: t.WORKFLOW_READ,
191
- fallback: /* @__PURE__ */ m(c, {}),
192
- children: /* @__PURE__ */ m(V, {})
210
+ fallback: /* @__PURE__ */ _(c, {}),
211
+ children: /* @__PURE__ */ _(G, {})
193
212
  }) })
194
213
  }),
195
- /* @__PURE__ */ m(_, {
214
+ /* @__PURE__ */ _(b, {
196
215
  path: "rules/:ruleSetId",
197
- element: /* @__PURE__ */ m(n, {
216
+ element: /* @__PURE__ */ _(n, {
198
217
  kind: "canvas",
199
- children: /* @__PURE__ */ m(l, {
218
+ children: /* @__PURE__ */ _(l, {
200
219
  permission: t.WORKFLOW_READ,
201
- fallback: /* @__PURE__ */ m(c, {}),
202
- children: /* @__PURE__ */ m(H, {})
220
+ fallback: /* @__PURE__ */ _(c, {}),
221
+ children: /* @__PURE__ */ _(K, {})
203
222
  })
204
223
  })
205
224
  }),
206
- /* @__PURE__ */ m(_, {
225
+ /* @__PURE__ */ _(b, {
207
226
  path: "approvals",
208
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(l, {
227
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
209
228
  permission: t.WORKFLOW_RUN_READ,
210
- fallback: /* @__PURE__ */ m(c, {}),
211
- children: /* @__PURE__ */ m(S, {})
229
+ fallback: /* @__PURE__ */ _(c, {}),
230
+ children: /* @__PURE__ */ _(T, {})
212
231
  }) })
213
232
  }),
214
- /* @__PURE__ */ m(_, {
233
+ /* @__PURE__ */ _(b, {
215
234
  path: "history",
216
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(O, {}) })
235
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(j, {}) })
217
236
  }),
218
- /* @__PURE__ */ m(_, {
237
+ /* @__PURE__ */ _(b, {
219
238
  path: "templates",
220
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(F, {}) })
239
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(L, {}) })
221
240
  }),
222
- /* @__PURE__ */ m(_, {
241
+ /* @__PURE__ */ _(b, {
223
242
  path: "templates/:productId/preview",
224
- element: /* @__PURE__ */ m(n, {
243
+ element: /* @__PURE__ */ _(n, {
225
244
  kind: "canvas",
226
- children: /* @__PURE__ */ m(P, {})
245
+ children: /* @__PURE__ */ _(I, {})
227
246
  })
228
247
  }),
229
- /* @__PURE__ */ m(_, {
248
+ /* @__PURE__ */ _(b, {
230
249
  path: "nodes",
231
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(A, {}) })
250
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(N, {}) })
232
251
  }),
233
- /* @__PURE__ */ m(_, {
252
+ /* @__PURE__ */ _(b, {
234
253
  path: "settings",
235
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(q, { perWorkflow: !1 }) })
254
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _($, { perWorkflow: !1 }) })
236
255
  }),
237
- /* @__PURE__ */ m(_, {
256
+ /* @__PURE__ */ _(b, {
238
257
  path: "settings/:workflowKey",
239
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(q, { perWorkflow: !0 }) })
258
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _($, { perWorkflow: !0 }) })
240
259
  }),
241
- /* @__PURE__ */ m(_, {
260
+ /* @__PURE__ */ _(b, {
242
261
  path: "variables",
243
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(l, {
262
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
244
263
  permission: t.VARIABLE_READ,
245
- fallback: /* @__PURE__ */ m(c, {}),
246
- children: /* @__PURE__ */ m(I, {})
264
+ fallback: /* @__PURE__ */ _(c, {}),
265
+ children: /* @__PURE__ */ _(R, {})
247
266
  }) })
248
267
  }),
249
- /* @__PURE__ */ m(_, {
268
+ /* @__PURE__ */ _(b, {
250
269
  path: "runners",
251
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(l, {
270
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(l, {
252
271
  permission: t.SANDBOX_READ,
253
- fallback: /* @__PURE__ */ m(c, {}),
254
- children: /* @__PURE__ */ m(j, {})
272
+ fallback: /* @__PURE__ */ _(c, {}),
273
+ children: /* @__PURE__ */ _(P, {})
255
274
  }) })
256
275
  }),
257
- /* @__PURE__ */ m(_, {
276
+ /* @__PURE__ */ _(b, {
258
277
  path: "task-queues",
259
- element: /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(K, {}) })
278
+ element: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(ne, {}) })
260
279
  }),
261
- /* @__PURE__ */ m(_, {
280
+ /* @__PURE__ */ _(b, {
262
281
  path: "executions",
263
- element: /* @__PURE__ */ m(g, {
282
+ element: /* @__PURE__ */ _(y, {
264
283
  to: "../runs",
265
284
  replace: !0
266
285
  })
267
286
  }),
268
- /* @__PURE__ */ m(_, {
287
+ /* @__PURE__ */ _(b, {
269
288
  path: "executions/:runId",
270
- element: /* @__PURE__ */ m(W, {})
289
+ element: /* @__PURE__ */ _(Z, {})
271
290
  }),
272
- /* @__PURE__ */ m(_, {
291
+ /* @__PURE__ */ _(b, {
273
292
  path: "credentials",
274
- element: /* @__PURE__ */ m(g, {
293
+ element: /* @__PURE__ */ _(y, {
275
294
  to: "/integrations/connections",
276
295
  replace: !0
277
296
  })
278
297
  }),
279
- /* @__PURE__ */ m(_, {
298
+ /* @__PURE__ */ _(b, {
280
299
  path: "oauth/callback",
281
- element: /* @__PURE__ */ m(g, {
300
+ element: /* @__PURE__ */ _(y, {
282
301
  to: "/integrations/connections",
283
302
  replace: !0
284
303
  })
285
304
  }),
286
- /* @__PURE__ */ m(_, {
305
+ /* @__PURE__ */ _(b, {
287
306
  path: "*",
288
- element: /* @__PURE__ */ m(G, {})
307
+ element: /* @__PURE__ */ _(Q, {})
289
308
  })
290
309
  ] })
291
310
  });
292
311
  }
293
- export { X 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-workflows",
3
- "version": "2026.1124.3",
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"