@burdenoff/microfe-workflows 2026.528.1 → 2026.529.2

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.
@@ -3,102 +3,97 @@ import { WorkflowsProvider as t } from "./providers/WorkflowsProvider.js";
3
3
  import { WorkflowsRoutes as n } from "./WorkflowsRoutes.js";
4
4
  import { useEffect as r, useMemo as i } from "react";
5
5
  import { ErrorBoundary as a } from "@burdenoff/fe-libs/shared/components";
6
- import { FeatureFlagProvider as o, useFeatureFlags as s } from "@burdenoff/fe-libs/shared/feature-flags";
7
- import { jsx as c } from "react/jsx-runtime";
8
- import { Boxes as l, FileCode2 as u, History as d, LayoutDashboard as f, Network as p, PlayCircle as m, Settings as h, Workflow as g } from "lucide-react";
6
+ import { useFeatureFlags as o } from "@burdenoff/fe-libs/shared/feature-flags";
7
+ import { jsx as s } from "react/jsx-runtime";
8
+ import { Boxes as c, FileCode2 as l, History as u, LayoutDashboard as d, Network as f, PlayCircle as p, Settings as m, Workflow as h } from "lucide-react";
9
9
  //#region src/WorkflowsRoot.tsx
10
- function _(_) {
11
- let { basePath: v = "/", registerNavItems: y, registerFooterItems: b } = _, { isEnabled: x, evaluations: S } = s(), C = i(() => ({ isEnabled: x }), [S, x]), w = e();
10
+ function g(g) {
11
+ let { basePath: _ = "/", registerNavItems: v, registerFooterItems: y } = g, { isEnabled: b, evaluations: x } = o(), S = i(() => ({ isEnabled: b }), [x, b]), C = e();
12
12
  return r(() => {
13
- if (!y) return;
13
+ if (!v) return;
14
14
  let e = (e, t) => `${e.endsWith("/") ? e.slice(0, -1) : e}/${t}`, t = [
15
- ...C.isEnabled("workflows.list") ? [{
15
+ ...S.isEnabled("workflows.list") ? [{
16
16
  id: "workflows-list",
17
- label: w("workflows.nav.myWorkflows", "My Workflows"),
18
- path: e(v, "list"),
19
- icon: /* @__PURE__ */ c(g, { size: 18 }),
17
+ label: C("workflows.nav.myWorkflows", "My Workflows"),
18
+ path: e(_, "list"),
19
+ icon: /* @__PURE__ */ s(h, { size: 18 }),
20
20
  order: 2
21
21
  }] : [],
22
- ...C.isEnabled("workflows.builder") ? [{
22
+ ...S.isEnabled("workflows.builder") ? [{
23
23
  id: "workflows-builder",
24
- label: w("workflows.nav.builder", "Builder"),
25
- path: e(v, "new"),
26
- icon: /* @__PURE__ */ c(l, { size: 18 }),
24
+ label: C("workflows.nav.builder", "Builder"),
25
+ path: e(_, "new"),
26
+ icon: /* @__PURE__ */ s(c, { size: 18 }),
27
27
  order: 3
28
28
  }] : [],
29
- ...C.isEnabled("workflows.runs") ? [{
29
+ ...S.isEnabled("workflows.runs") ? [{
30
30
  id: "workflows-runs",
31
- label: w("workflows.nav.runs", "Runs"),
32
- path: e(v, "runs"),
33
- icon: /* @__PURE__ */ c(m, { size: 18 }),
31
+ label: C("workflows.nav.runs", "Runs"),
32
+ path: e(_, "runs"),
33
+ icon: /* @__PURE__ */ s(p, { size: 18 }),
34
34
  order: 4
35
35
  }] : [],
36
- ...C.isEnabled("workflows.history") ? [{
36
+ ...S.isEnabled("workflows.history") ? [{
37
37
  id: "workflows-history",
38
- label: w("workflows.nav.history", "History"),
39
- path: e(v, "history"),
40
- icon: /* @__PURE__ */ c(d, { size: 18 }),
38
+ label: C("workflows.nav.history", "History"),
39
+ path: e(_, "history"),
40
+ icon: /* @__PURE__ */ s(u, { size: 18 }),
41
41
  order: 5
42
42
  }] : [],
43
- ...C.isEnabled("workflows.templates") ? [{
43
+ ...S.isEnabled("workflows.templates") ? [{
44
44
  id: "workflows-templates",
45
- label: w("workflows.nav.templates", "Templates"),
46
- path: e(v, "templates"),
47
- icon: /* @__PURE__ */ c(f, { size: 18 }),
45
+ label: C("workflows.nav.templates", "Templates"),
46
+ path: e(_, "templates"),
47
+ icon: /* @__PURE__ */ s(d, { size: 18 }),
48
48
  order: 6
49
49
  }] : [],
50
- ...C.isEnabled("workflows.nodes") ? [{
50
+ ...S.isEnabled("workflows.nodes") ? [{
51
51
  id: "workflows-nodes",
52
- label: w("workflows.nav.nodes", "Nodes"),
53
- path: e(v, "nodes"),
54
- icon: /* @__PURE__ */ c(p, { size: 18 }),
52
+ label: C("workflows.nav.nodes", "Nodes"),
53
+ path: e(_, "nodes"),
54
+ icon: /* @__PURE__ */ s(f, { size: 18 }),
55
55
  order: 7
56
56
  }] : [],
57
- ...C.isEnabled("workflows.settings") ? [{
57
+ ...S.isEnabled("workflows.settings") ? [{
58
58
  id: "workflows-settings",
59
- label: w("workflows.nav.settings", "Settings"),
60
- path: e(v, "settings"),
61
- icon: /* @__PURE__ */ c(h, { size: 18 }),
59
+ label: C("workflows.nav.settings", "Settings"),
60
+ path: e(_, "settings"),
61
+ icon: /* @__PURE__ */ s(m, { size: 18 }),
62
62
  order: 8
63
63
  }] : []
64
64
  ];
65
- return y([{
65
+ return v([{
66
66
  id: "workflows",
67
- label: w("workflows.nav.title", "Workflows"),
68
- path: v,
69
- icon: /* @__PURE__ */ c(u, { size: 20 }),
67
+ label: C("workflows.nav.title", "Workflows"),
68
+ path: _,
69
+ icon: /* @__PURE__ */ s(l, { size: 20 }),
70
70
  order: 200,
71
71
  group: "workflows",
72
72
  children: t
73
73
  }]);
74
74
  }, [
75
- y,
76
75
  v,
77
- C,
78
- w
76
+ _,
77
+ S,
78
+ C
79
79
  ]), r(() => {
80
- if (b) return b([{
80
+ if (y) return y([{
81
81
  id: "workflows-status",
82
- label: w("workflows.footer.status", "Workflows Ready"),
82
+ label: C("workflows.footer.status", "Workflows Ready"),
83
83
  type: "status",
84
84
  order: 10,
85
85
  section: "left"
86
86
  }]);
87
- }, [b, w]), /* @__PURE__ */ c(o, {
88
- workspaceId: null,
89
- gateway: "global",
90
- defaultEnabled: !0,
91
- children: /* @__PURE__ */ c(a, {
92
- fallback: /* @__PURE__ */ c("div", {
93
- className: "p-6 text-center text-text-secondary",
94
- children: w("workflows.error.loadFailed", "Something went wrong loading this module. Please refresh the page.")
95
- }),
96
- children: /* @__PURE__ */ c(t, {
97
- ..._,
98
- children: /* @__PURE__ */ c(n, {})
99
- })
87
+ }, [y, C]), /* @__PURE__ */ s(a, {
88
+ fallback: /* @__PURE__ */ s("div", {
89
+ className: "p-6 text-center text-text-secondary",
90
+ children: C("workflows.error.loadFailed", "Something went wrong loading this module. Please refresh the page.")
91
+ }),
92
+ children: /* @__PURE__ */ s(t, {
93
+ ...g,
94
+ children: /* @__PURE__ */ s(n, {})
100
95
  })
101
96
  });
102
97
  }
103
98
  //#endregion
104
- export { _ as WorkflowsRoot };
99
+ export { g as WorkflowsRoot };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-workflows",
3
- "version": "2026.528.1",
3
+ "version": "2026.529.2",
4
4
  "description": "Workflows microfrontend for Burdenoff products - thin shell over @burdenoff/fluidgrids-fe-sdk",
5
5
  "type": "module",
6
6
  "exports": {