@burdenoff/microfe-workflows 2026.922.7 → 2026.922.8
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/WorkflowsRoutes.js +75 -67
- package/package.json +3 -3
package/dist/WorkflowsRoutes.js
CHANGED
|
@@ -3,36 +3,36 @@ import { WORKFLOW_PERMISSIONS as t } from "./constants/permissions.js";
|
|
|
3
3
|
import { Suspense as n } from "react";
|
|
4
4
|
import { AccessDenied as r, PermissionGate as i } from "@burdenoff/fe-libs/shared/components";
|
|
5
5
|
import { GlassCard as a } from "@burdenoff/fe-libs/ui";
|
|
6
|
-
import {
|
|
7
|
-
import { jsx as
|
|
8
|
-
import { Navigate as
|
|
6
|
+
import { ApprovalInboxPage as o, ExecutionDetailPage as s, ExecutionsListPage as c, HistoryPage as l, NodesPage as u, SettingsPage as d, TemplatePreview as f, TemplatesPage as p, VariablesPage as m, WorkflowBuilderPage as h, WorkflowSearchRedirect as g, WorkflowsList as _ } from "@burdenoff/fluidgrids-fe-sdk";
|
|
7
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
8
|
+
import { Navigate as b, Route as x, Routes as S, useParams as C } from "react-router";
|
|
9
9
|
//#region src/WorkflowsRoutes.tsx
|
|
10
|
-
function
|
|
10
|
+
function w() {
|
|
11
11
|
let t = e();
|
|
12
|
-
return /* @__PURE__ */
|
|
12
|
+
return /* @__PURE__ */ y("div", {
|
|
13
13
|
className: "mx-auto flex w-full max-w-6xl flex-col gap-6 px-4 py-6 sm:px-6",
|
|
14
14
|
role: "status",
|
|
15
15
|
"aria-live": "polite",
|
|
16
16
|
"aria-busy": "true",
|
|
17
17
|
"aria-label": t("workflows.routes.loading.ariaLabel", "Loading workflow page"),
|
|
18
18
|
children: [
|
|
19
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ y("div", {
|
|
20
20
|
className: "flex flex-col gap-3",
|
|
21
|
-
children: [/* @__PURE__ */
|
|
21
|
+
children: [/* @__PURE__ */ v("div", { className: "h-7 w-48 rounded-md bg-muted/60 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ v("div", { className: "h-4 w-72 max-w-full rounded bg-muted/40 motion-safe:animate-vc-shimmer" })]
|
|
22
22
|
}),
|
|
23
|
-
/* @__PURE__ */
|
|
23
|
+
/* @__PURE__ */ v("div", {
|
|
24
24
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
25
25
|
children: [
|
|
26
26
|
0,
|
|
27
27
|
1,
|
|
28
28
|
2
|
|
29
|
-
].map((e) => /* @__PURE__ */
|
|
29
|
+
].map((e) => /* @__PURE__ */ y(a, {
|
|
30
30
|
treatment: "metric",
|
|
31
31
|
className: "flex flex-col gap-3 border-border-seam p-5",
|
|
32
|
-
children: [/* @__PURE__ */
|
|
32
|
+
children: [/* @__PURE__ */ v("div", { className: "h-3 w-20 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ v("div", { className: "h-8 w-24 rounded-md bg-muted/60 motion-safe:animate-vc-shimmer" })]
|
|
33
33
|
}, e))
|
|
34
34
|
}),
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ v(a, {
|
|
36
36
|
treatment: "glass",
|
|
37
37
|
className: "flex flex-col gap-4 border-border-seam p-6",
|
|
38
38
|
children: [
|
|
@@ -40,134 +40,142 @@ function C() {
|
|
|
40
40
|
1,
|
|
41
41
|
2,
|
|
42
42
|
3
|
|
43
|
-
].map((e) => /* @__PURE__ */
|
|
43
|
+
].map((e) => /* @__PURE__ */ y("div", {
|
|
44
44
|
className: "flex items-center gap-4",
|
|
45
|
-
children: [/* @__PURE__ */
|
|
45
|
+
children: [/* @__PURE__ */ v("div", { className: "h-10 w-10 shrink-0 rounded-full bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ y("div", {
|
|
46
46
|
className: "flex flex-1 flex-col gap-2",
|
|
47
|
-
children: [/* @__PURE__ */
|
|
47
|
+
children: [/* @__PURE__ */ v("div", { className: "h-4 w-1/3 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ v("div", { className: "h-3 w-2/3 rounded bg-muted/30 motion-safe:animate-vc-shimmer" })]
|
|
48
48
|
})]
|
|
49
49
|
}, e))
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ v("p", {
|
|
52
52
|
className: "text-center text-sm text-text-secondary",
|
|
53
53
|
children: t("workflows.routes.loading.message", "Loading workflow page...")
|
|
54
54
|
})
|
|
55
55
|
]
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
let { runId: e } =
|
|
60
|
-
return /* @__PURE__ */
|
|
58
|
+
function T() {
|
|
59
|
+
let { runId: e } = C();
|
|
60
|
+
return /* @__PURE__ */ v(b, {
|
|
61
61
|
to: `../runs/${e}`,
|
|
62
62
|
replace: !0
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
return /* @__PURE__ */
|
|
67
|
-
fallback: /* @__PURE__ */
|
|
68
|
-
children: /* @__PURE__ */
|
|
69
|
-
/* @__PURE__ */
|
|
65
|
+
function E() {
|
|
66
|
+
return /* @__PURE__ */ v(n, {
|
|
67
|
+
fallback: /* @__PURE__ */ v(w, {}),
|
|
68
|
+
children: /* @__PURE__ */ y(S, { children: [
|
|
69
|
+
/* @__PURE__ */ v(x, {
|
|
70
70
|
index: !0,
|
|
71
|
-
element: /* @__PURE__ */
|
|
71
|
+
element: /* @__PURE__ */ v(b, {
|
|
72
72
|
to: "list",
|
|
73
73
|
replace: !0
|
|
74
74
|
})
|
|
75
75
|
}),
|
|
76
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ v(x, {
|
|
77
77
|
path: "list",
|
|
78
|
-
element: /* @__PURE__ */ _
|
|
78
|
+
element: /* @__PURE__ */ v(_, {})
|
|
79
79
|
}),
|
|
80
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ v(x, {
|
|
81
81
|
path: "new",
|
|
82
|
-
element: /* @__PURE__ */
|
|
82
|
+
element: /* @__PURE__ */ v(h, {})
|
|
83
83
|
}),
|
|
84
|
-
/* @__PURE__ */
|
|
84
|
+
/* @__PURE__ */ v(x, {
|
|
85
85
|
path: "workflow/:id/:version",
|
|
86
|
-
element: /* @__PURE__ */
|
|
86
|
+
element: /* @__PURE__ */ v(h, {})
|
|
87
87
|
}),
|
|
88
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ v(x, {
|
|
89
89
|
path: "builder",
|
|
90
|
-
element: /* @__PURE__ */
|
|
90
|
+
element: /* @__PURE__ */ v(b, {
|
|
91
91
|
to: "../new",
|
|
92
92
|
replace: !0
|
|
93
93
|
})
|
|
94
94
|
}),
|
|
95
|
-
/* @__PURE__ */
|
|
95
|
+
/* @__PURE__ */ v(x, {
|
|
96
96
|
path: "builder/:id/:version",
|
|
97
|
-
element: /* @__PURE__ */
|
|
97
|
+
element: /* @__PURE__ */ v(h, {})
|
|
98
98
|
}),
|
|
99
|
-
/* @__PURE__ */
|
|
99
|
+
/* @__PURE__ */ v(x, {
|
|
100
100
|
path: "resolve/:id",
|
|
101
|
-
element: /* @__PURE__ */
|
|
101
|
+
element: /* @__PURE__ */ v(g, {})
|
|
102
102
|
}),
|
|
103
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ v(x, {
|
|
104
104
|
path: "runs",
|
|
105
|
-
element: /* @__PURE__ */
|
|
105
|
+
element: /* @__PURE__ */ v(c, {})
|
|
106
106
|
}),
|
|
107
|
-
/* @__PURE__ */
|
|
107
|
+
/* @__PURE__ */ v(x, {
|
|
108
108
|
path: "runs/:runId",
|
|
109
|
-
element: /* @__PURE__ */
|
|
109
|
+
element: /* @__PURE__ */ v(s, {})
|
|
110
|
+
}),
|
|
111
|
+
/* @__PURE__ */ v(x, {
|
|
112
|
+
path: "approvals",
|
|
113
|
+
element: /* @__PURE__ */ v(i, {
|
|
114
|
+
permission: t.WORKFLOW_RUN_READ,
|
|
115
|
+
fallback: /* @__PURE__ */ v(r, {}),
|
|
116
|
+
children: /* @__PURE__ */ v(o, {})
|
|
117
|
+
})
|
|
110
118
|
}),
|
|
111
|
-
/* @__PURE__ */
|
|
119
|
+
/* @__PURE__ */ v(x, {
|
|
112
120
|
path: "history",
|
|
113
|
-
element: /* @__PURE__ */
|
|
121
|
+
element: /* @__PURE__ */ v(l, {})
|
|
114
122
|
}),
|
|
115
|
-
/* @__PURE__ */
|
|
123
|
+
/* @__PURE__ */ v(x, {
|
|
116
124
|
path: "templates",
|
|
117
|
-
element: /* @__PURE__ */
|
|
125
|
+
element: /* @__PURE__ */ v(p, {})
|
|
118
126
|
}),
|
|
119
|
-
/* @__PURE__ */
|
|
127
|
+
/* @__PURE__ */ v(x, {
|
|
120
128
|
path: "templates/:productId/preview",
|
|
121
|
-
element: /* @__PURE__ */
|
|
129
|
+
element: /* @__PURE__ */ v(f, {})
|
|
122
130
|
}),
|
|
123
|
-
/* @__PURE__ */
|
|
131
|
+
/* @__PURE__ */ v(x, {
|
|
124
132
|
path: "nodes",
|
|
125
|
-
element: /* @__PURE__ */
|
|
133
|
+
element: /* @__PURE__ */ v(u, {})
|
|
126
134
|
}),
|
|
127
|
-
/* @__PURE__ */
|
|
135
|
+
/* @__PURE__ */ v(x, {
|
|
128
136
|
path: "settings",
|
|
129
|
-
element: /* @__PURE__ */
|
|
137
|
+
element: /* @__PURE__ */ v(i, {
|
|
130
138
|
permission: t.SYSTEM_CONFIG_READ,
|
|
131
|
-
fallback: /* @__PURE__ */
|
|
132
|
-
children: /* @__PURE__ */
|
|
139
|
+
fallback: /* @__PURE__ */ v(r, {}),
|
|
140
|
+
children: /* @__PURE__ */ v(d, {})
|
|
133
141
|
})
|
|
134
142
|
}),
|
|
135
|
-
/* @__PURE__ */
|
|
143
|
+
/* @__PURE__ */ v(x, {
|
|
136
144
|
path: "variables",
|
|
137
|
-
element: /* @__PURE__ */
|
|
145
|
+
element: /* @__PURE__ */ v(i, {
|
|
138
146
|
permission: t.VARIABLE_READ,
|
|
139
|
-
fallback: /* @__PURE__ */
|
|
140
|
-
children: /* @__PURE__ */
|
|
147
|
+
fallback: /* @__PURE__ */ v(r, {}),
|
|
148
|
+
children: /* @__PURE__ */ v(m, {})
|
|
141
149
|
})
|
|
142
150
|
}),
|
|
143
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ v(x, {
|
|
144
152
|
path: "executions",
|
|
145
|
-
element: /* @__PURE__ */
|
|
153
|
+
element: /* @__PURE__ */ v(b, {
|
|
146
154
|
to: "../runs",
|
|
147
155
|
replace: !0
|
|
148
156
|
})
|
|
149
157
|
}),
|
|
150
|
-
/* @__PURE__ */
|
|
158
|
+
/* @__PURE__ */ v(x, {
|
|
151
159
|
path: "executions/:runId",
|
|
152
|
-
element: /* @__PURE__ */
|
|
160
|
+
element: /* @__PURE__ */ v(T, {})
|
|
153
161
|
}),
|
|
154
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ v(x, {
|
|
155
163
|
path: "credentials",
|
|
156
|
-
element: /* @__PURE__ */
|
|
164
|
+
element: /* @__PURE__ */ v(b, {
|
|
157
165
|
to: "/integrations/connections",
|
|
158
166
|
replace: !0
|
|
159
167
|
})
|
|
160
168
|
}),
|
|
161
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ v(x, {
|
|
162
170
|
path: "oauth/callback",
|
|
163
|
-
element: /* @__PURE__ */
|
|
171
|
+
element: /* @__PURE__ */ v(b, {
|
|
164
172
|
to: "/integrations/connections",
|
|
165
173
|
replace: !0
|
|
166
174
|
})
|
|
167
175
|
}),
|
|
168
|
-
/* @__PURE__ */
|
|
176
|
+
/* @__PURE__ */ v(x, {
|
|
169
177
|
path: "*",
|
|
170
|
-
element: /* @__PURE__ */
|
|
178
|
+
element: /* @__PURE__ */ v(b, {
|
|
171
179
|
to: "list",
|
|
172
180
|
replace: !0
|
|
173
181
|
})
|
|
@@ -176,4 +184,4 @@ function T() {
|
|
|
176
184
|
});
|
|
177
185
|
}
|
|
178
186
|
//#endregion
|
|
179
|
-
export {
|
|
187
|
+
export { E as WorkflowsRoutes };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-workflows",
|
|
3
|
-
"version": "2026.922.
|
|
3
|
+
"version": "2026.922.8",
|
|
4
4
|
"description": "Workflows microfrontend for Burdenoff products - thin shell over @burdenoff/fluidgrids-fe-sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react-router": "^8.3.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@burdenoff/fluidgrids-fe-sdk": "2026.922.
|
|
38
|
+
"@burdenoff/fluidgrids-fe-sdk": "2026.922.13",
|
|
39
39
|
"@eslint/js": "^9.39.2",
|
|
40
40
|
"@types/react": "^19.0.2",
|
|
41
41
|
"@types/react-dom": "^19.0.2",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"vite-plugin-dts": "3.9.1"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@burdenoff/fluidgrids-fe-sdk": "2026.922.
|
|
58
|
+
"@burdenoff/fluidgrids-fe-sdk": "2026.922.13",
|
|
59
59
|
"react": "^19.0.0",
|
|
60
60
|
"react-dom": "^19.0.0"
|
|
61
61
|
},
|