@burdenoff/microfe-workflows 2026.803.1 → 2026.828.1

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,37 +3,37 @@ import { useWorkflowsTranslation as t } from "../i18n.js";
3
3
  import { createContext as n, useEffect as r, useState as i } from "react";
4
4
  import { EmphasisPanel as a, GlassCard as o, IllustratedEmptyState as s, NextSteps as c, PagePurpose as l } from "@burdenoff/fe-libs/ui";
5
5
  import { Boxes as u, LayoutDashboard as d, Workflow as f } from "lucide-react";
6
- import { FluidGridsPermissionsProvider as p, refetchStoreNodes as m, resetFluidGridsClient as h, resetGlobalStoreClient as g, setFluidGridsClient as _, setFluidGridsConfig as v, setGlobalStoreClient as y } from "@burdenoff/fluidgrids-fe-sdk";
7
- import { useGatewayClient as b } from "@burdenoff/fe-libs/shared/graphql";
8
- import { PermissionProvider as x, usePermissions as S } from "@burdenoff/fe-libs/shared/providers/shell";
9
- import { jsx as C, jsxs as w } from "react/jsx-runtime";
6
+ import { FluidGridsPermissionsProvider as p, FluidGridsTranslationProvider as m, refetchStoreNodes as h, resetFluidGridsClient as g, resetGlobalStoreClient as _, setFluidGridsClient as v, setFluidGridsConfig as y, setGlobalStoreClient as b } from "@burdenoff/fluidgrids-fe-sdk";
7
+ import { useGatewayClient as x } from "@burdenoff/fe-libs/shared/graphql";
8
+ import { PermissionProvider as S, usePermissions as C } from "@burdenoff/fe-libs/shared/providers/shell";
9
+ import { jsx as w, jsxs as T } from "react/jsx-runtime";
10
10
  //#region src/providers/WorkflowsProvider.tsx
11
- var T = n(null);
12
- function E({ children: e }) {
13
- let { hasPermission: t, isLoading: n } = S();
14
- return /* @__PURE__ */ C(p, {
11
+ var E = n(null);
12
+ function D({ children: e }) {
13
+ let { hasPermission: t, isLoading: n } = C();
14
+ return /* @__PURE__ */ w(p, {
15
15
  hasPermission: t,
16
16
  isLoading: n,
17
17
  children: e
18
18
  });
19
19
  }
20
- function D(e) {
20
+ function O(e) {
21
21
  let t = e.endsWith("/") ? e.slice(0, -1) : e;
22
22
  return t.endsWith("/graphql") ? t : `${t}/workspaces/graphql`;
23
23
  }
24
- function O({ children: n, ...p }) {
25
- let S = t(), O = b("workspace"), k = b("global"), [A, j] = i(!1);
26
- if (r(() => (O && k && (_(O), y(k), m(), j(!0)), () => {
27
- h(), g(), j(!1);
28
- }), [O, k]), r(() => {
24
+ function k({ children: n, ...p }) {
25
+ let C = t(), k = x("workspace"), A = x("global"), [j, M] = i(!1);
26
+ if (r(() => (k && A && (v(k), b(A), h(), M(!0)), () => {
27
+ g(), _(), M(!1);
28
+ }), [k, A]), r(() => {
29
29
  if (p.apiGatewayUrl) {
30
- let t = D(p.apiGatewayUrl), n = p.apiGatewayUrl.endsWith("/") ? p.apiGatewayUrl.slice(0, -1) : p.apiGatewayUrl;
30
+ let t = O(p.apiGatewayUrl), n = p.apiGatewayUrl.endsWith("/") ? p.apiGatewayUrl.slice(0, -1) : p.apiGatewayUrl;
31
31
  e({
32
32
  workflowSvcUrl: t,
33
33
  apiGatewayUrl: n
34
34
  });
35
35
  let r = p.callbacks?.onWorkflowSaved;
36
- v({
36
+ y({
37
37
  apiGatewayUrl: n,
38
38
  authToken: p.authToken,
39
39
  workspaceId: p.workspaceId ?? "",
@@ -53,33 +53,33 @@ function O({ children: n, ...p }) {
53
53
  p.callbacks
54
54
  ]), !p.workspaceId) {
55
55
  let e = (e, t) => `${e.endsWith("/") ? e.slice(0, -1) : e}/${t}`, t = (t) => p.navigate(e(p.basePath ?? "/", t));
56
- return /* @__PURE__ */ w("div", {
56
+ return /* @__PURE__ */ T("div", {
57
57
  className: "mx-auto flex h-full min-h-[60vh] w-full max-w-2xl flex-col justify-center gap-6 px-4 py-10",
58
58
  children: [
59
- /* @__PURE__ */ C(l, {
60
- icon: /* @__PURE__ */ C(f, {
59
+ /* @__PURE__ */ w(l, {
60
+ icon: /* @__PURE__ */ w(f, {
61
61
  className: "size-4",
62
62
  "aria-hidden": "true"
63
63
  }),
64
- children: S("workflows.provider.purpose", "Workflows let you automate multi-step processes — for example, sync a new signup into your CRM, post run results to Slack, or transform and route data between apps. You build them visually by wiring nodes together, then trigger them on a schedule, a webhook, or on demand.")
64
+ children: C("workflows.provider.purpose", "Workflows let you automate multi-step processes — for example, sync a new signup into your CRM, post run results to Slack, or transform and route data between apps. You build them visually by wiring nodes together, then trigger them on a schedule, a webhook, or on demand.")
65
65
  }),
66
- /* @__PURE__ */ C(a, {
66
+ /* @__PURE__ */ w(a, {
67
67
  className: "p-6",
68
- children: /* @__PURE__ */ C(s, {
68
+ children: /* @__PURE__ */ w(s, {
69
69
  illustration: "onboarding",
70
- title: S("workflows.provider.workspaceRequired.title", "Pick a workspace to start building"),
71
- description: S("workflows.provider.workspaceRequired.description", "Workflows live inside a workspace so your automations, runs, and connections stay scoped to the right team. Select or create an active workspace from the shell to load your workflows.")
70
+ title: C("workflows.provider.workspaceRequired.title", "Pick a workspace to start building"),
71
+ description: C("workflows.provider.workspaceRequired.description", "Workflows live inside a workspace so your automations, runs, and connections stay scoped to the right team. Select or create an active workspace from the shell to load your workflows.")
72
72
  })
73
73
  }),
74
- /* @__PURE__ */ C(c, {
74
+ /* @__PURE__ */ w(c, {
75
75
  storageKey: "workflows-get-started",
76
- title: S("workflows.provider.nextSteps.title", "Once your workspace is active"),
76
+ title: C("workflows.provider.nextSteps.title", "Once your workspace is active"),
77
77
  steps: [
78
78
  {
79
79
  id: "open-workflows",
80
- label: S("workflows.provider.nextSteps.open.label", "Open your workflows"),
81
- description: S("workflows.provider.nextSteps.open.description", "Browse, search, and manage every automation in this workspace."),
82
- icon: /* @__PURE__ */ C(f, {
80
+ label: C("workflows.provider.nextSteps.open.label", "Open your workflows"),
81
+ description: C("workflows.provider.nextSteps.open.description", "Browse, search, and manage every automation in this workspace."),
82
+ icon: /* @__PURE__ */ w(f, {
83
83
  className: "size-4",
84
84
  "aria-hidden": "true"
85
85
  }),
@@ -87,9 +87,9 @@ function O({ children: n, ...p }) {
87
87
  },
88
88
  {
89
89
  id: "start-template",
90
- label: S("workflows.provider.nextSteps.template.label", "Start from a template"),
91
- description: S("workflows.provider.nextSteps.template.description", "Skip the blank canvas — adapt a ready-made workflow to your use-case."),
92
- icon: /* @__PURE__ */ C(d, {
90
+ label: C("workflows.provider.nextSteps.template.label", "Start from a template"),
91
+ description: C("workflows.provider.nextSteps.template.description", "Skip the blank canvas — adapt a ready-made workflow to your use-case."),
92
+ icon: /* @__PURE__ */ w(d, {
93
93
  className: "size-4",
94
94
  "aria-hidden": "true"
95
95
  }),
@@ -97,9 +97,9 @@ function O({ children: n, ...p }) {
97
97
  },
98
98
  {
99
99
  id: "build-new",
100
- label: S("workflows.provider.nextSteps.build.label", "Build a workflow from scratch"),
101
- description: S("workflows.provider.nextSteps.build.description", "Open the visual builder and wire nodes together step by step."),
102
- icon: /* @__PURE__ */ C(u, {
100
+ label: C("workflows.provider.nextSteps.build.label", "Build a workflow from scratch"),
101
+ description: C("workflows.provider.nextSteps.build.description", "Open the visual builder and wire nodes together step by step."),
102
+ icon: /* @__PURE__ */ w(u, {
103
103
  className: "size-4",
104
104
  "aria-hidden": "true"
105
105
  }),
@@ -110,32 +110,35 @@ function O({ children: n, ...p }) {
110
110
  ]
111
111
  });
112
112
  }
113
- return A ? /* @__PURE__ */ C(T.Provider, {
113
+ return j ? /* @__PURE__ */ w(E.Provider, {
114
114
  value: p,
115
- children: /* @__PURE__ */ C(x, {
116
- scopeId: p.workspaceId ?? null,
117
- gateway: "workspace",
118
- children: /* @__PURE__ */ C(E, { children: n })
115
+ children: /* @__PURE__ */ w(m, {
116
+ t: C,
117
+ children: /* @__PURE__ */ w(S, {
118
+ scopeId: p.workspaceId ?? null,
119
+ gateway: "workspace",
120
+ children: /* @__PURE__ */ w(D, { children: n })
121
+ })
119
122
  })
120
- }) : /* @__PURE__ */ w("div", {
123
+ }) : /* @__PURE__ */ T("div", {
121
124
  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",
122
125
  role: "status",
123
126
  "aria-live": "polite",
124
127
  "aria-busy": "true",
125
- "aria-label": S("workflows.provider.loading.ariaLabel", "Loading workflows"),
126
- children: [/* @__PURE__ */ w(o, {
128
+ "aria-label": C("workflows.provider.loading.ariaLabel", "Loading workflows"),
129
+ children: [/* @__PURE__ */ T(o, {
127
130
  treatment: "glass",
128
131
  className: "flex w-full flex-col items-center gap-4 border-border-seam p-6",
129
132
  children: [
130
- /* @__PURE__ */ C("div", { className: "h-12 w-12 rounded-full bg-muted/60 motion-safe:animate-vc-shimmer" }),
131
- /* @__PURE__ */ C("div", { className: "h-4 w-40 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }),
132
- /* @__PURE__ */ C("div", { className: "h-3 w-56 max-w-full rounded bg-muted/30 motion-safe:animate-vc-shimmer" })
133
+ /* @__PURE__ */ w("div", { className: "h-12 w-12 rounded-full bg-muted/60 motion-safe:animate-vc-shimmer" }),
134
+ /* @__PURE__ */ w("div", { className: "h-4 w-40 rounded bg-muted/50 motion-safe:animate-vc-shimmer" }),
135
+ /* @__PURE__ */ w("div", { className: "h-3 w-56 max-w-full rounded bg-muted/30 motion-safe:animate-vc-shimmer" })
133
136
  ]
134
- }), /* @__PURE__ */ C("p", {
137
+ }), /* @__PURE__ */ w("p", {
135
138
  className: "text-sm text-text-secondary",
136
- children: S("workflows.provider.loading.message", "Connecting workflows...")
139
+ children: C("workflows.provider.loading.message", "Connecting workflows...")
137
140
  })]
138
141
  });
139
142
  }
140
143
  //#endregion
141
- export { O as WorkflowsProvider };
144
+ export { k as WorkflowsProvider };
package/dist/workflows.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { config as e, resetWorkflowsConfig as t, setWorkflowsConfig as n } from "./config/index.js";
2
2
  import { WorkflowsRoot as r } from "./WorkflowsRoot.js";
3
- import { ExecutionDetailPage as i, ExecutionsListPage as a, FluidGridsProvider as o, FluidGridsRoot as s, HistoryPage as c, NodesPage as l, SettingsPage as u, TemplatesPage as d, WorkflowBuilder as f, WorkflowBuilderCore as p, WorkflowBuilderPage as m, WorkflowsList as h, cn as g, createFluidGridsClient as _, fetchAllNodesWithManifests as v, getFluidGridsClient as y, getFluidGridsClient as b, getFluidGridsClientSafe as x, isFluidGridsClientReady as S, resetFluidGridsClient as C, setFluidGridsClient as w, setFluidGridsClient as T, setFluidGridsConfig as E, useCreateWorkflow as D, useCreateWorkflowVersion as O, useDashboardSummary as k, useDeleteWorkflow as A, useDuplicateWorkflow as j, useFlowStore as M, useFluidGridsContext as N, useLazyNodeManifest as P, useLazyWorkflowDefinition as F, useNodeEndpoint as I, useNodeEndpoints as L, useNodeManifest as R, useTriggerWorkflow as z, useUpdateWorkflow as B, useWorkflowDefinition as V, useWorkflowDefinitions as H, useWorkflowRun as U, useWorkflowRuns as W, useWorkflowVersions as G, waitForFluidGridsClient as K } from "@burdenoff/fluidgrids-fe-sdk";
4
- export { f as EmbeddableWorkflowBuilder, p as EmbeddableWorkflowBuilderCore, o as EmbeddableWorkflowProvider, s as EmbeddableWorkflowRoot, i as ExecutionDetailPage, a as ExecutionsListPage, c as HistoryPage, l as NodesPage, u as SettingsPage, d as TemplatesPage, m as WorkflowBuilderPage, h as WorkflowsList, r as WorkflowsRoot, g as cn, e as config, _ as createEmbeddableClient, v as fetchAllNodesWithManifests, b as getEmbeddableClient, y as getFluidGridsClient, x as getFluidGridsClientSafe, S as isFluidGridsClientReady, C as resetFluidGridsClient, t as resetWorkflowsConfig, T as setEmbeddableClient, E as setEmbeddableConfig, w as setFluidGridsClient, n as setWorkflowsConfig, D as useCreateWorkflow, O as useCreateWorkflowVersion, k as useDashboardSummary, A as useDeleteWorkflow, j as useDuplicateWorkflow, N as useEmbeddableContext, M as useEmbeddableFlowStore, P as useLazyNodeManifest, F as useLazyWorkflowDefinition, I as useNodeEndpoint, L as useNodeEndpoints, R as useNodeManifest, z as useTriggerWorkflow, B as useUpdateWorkflow, V as useWorkflowDefinition, H as useWorkflowDefinitions, U as useWorkflowRun, W as useWorkflowRuns, G as useWorkflowVersions, K as waitForFluidGridsClient };
3
+ import { ExecutionDetailPage as i, ExecutionsListPage as a, FluidGridsProvider as o, FluidGridsRoot as s, HistoryPage as c, NodesPage as l, SettingsPage as u, TemplatePreview as d, TemplatesPage as f, WorkflowBuilder as p, WorkflowBuilderCore as m, WorkflowBuilderPage as h, WorkflowSearchRedirect as g, WorkflowsList as _, cn as v, createFluidGridsClient as y, fetchAllNodesWithManifests as b, getFluidGridsClient as x, getFluidGridsClient as S, getFluidGridsClientSafe as C, isFluidGridsClientReady as w, resetFluidGridsClient as T, setFluidGridsClient as E, setFluidGridsClient as D, setFluidGridsConfig as O, useCreateWorkflow as k, useCreateWorkflowVersion as A, useDashboardSummary as j, useDeleteWorkflow as M, useDuplicateWorkflow as N, useFlowStore as P, useFluidGridsContext as F, useLazyNodeManifest as I, useLazyWorkflowDefinition as L, useNodeEndpoint as R, useNodeEndpoints as z, useNodeManifest as B, useTriggerWorkflow as V, useUpdateWorkflow as H, useWorkflowDefinition as U, useWorkflowDefinitions as W, useWorkflowRun as G, useWorkflowRuns as K, useWorkflowVersions as q, waitForFluidGridsClient as J } from "@burdenoff/fluidgrids-fe-sdk";
4
+ export { p as EmbeddableWorkflowBuilder, m as EmbeddableWorkflowBuilderCore, o as EmbeddableWorkflowProvider, s as EmbeddableWorkflowRoot, i as ExecutionDetailPage, a as ExecutionsListPage, c as HistoryPage, l as NodesPage, u as SettingsPage, d as TemplatePreview, f as TemplatesPage, h as WorkflowBuilderPage, g as WorkflowSearchRedirect, _ as WorkflowsList, r as WorkflowsRoot, v as cn, e as config, y as createEmbeddableClient, b as fetchAllNodesWithManifests, S as getEmbeddableClient, x as getFluidGridsClient, C as getFluidGridsClientSafe, w as isFluidGridsClientReady, T as resetFluidGridsClient, t as resetWorkflowsConfig, D as setEmbeddableClient, O as setEmbeddableConfig, E as setFluidGridsClient, n as setWorkflowsConfig, k as useCreateWorkflow, A as useCreateWorkflowVersion, j as useDashboardSummary, M as useDeleteWorkflow, N as useDuplicateWorkflow, F as useEmbeddableContext, P as useEmbeddableFlowStore, I as useLazyNodeManifest, L as useLazyWorkflowDefinition, R as useNodeEndpoint, z as useNodeEndpoints, B as useNodeManifest, V as useTriggerWorkflow, H as useUpdateWorkflow, U as useWorkflowDefinition, W as useWorkflowDefinitions, G as useWorkflowRun, K as useWorkflowRuns, q as useWorkflowVersions, J as waitForFluidGridsClient };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-workflows",
3
- "version": "2026.803.1",
3
+ "version": "2026.828.1",
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.803.2",
38
+ "@burdenoff/fluidgrids-fe-sdk": "2026.804.2",
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.803.2",
58
+ "@burdenoff/fluidgrids-fe-sdk": "2026.804.2",
59
59
  "react": "^19.0.0",
60
60
  "react-dom": "^19.0.0"
61
61
  },
@@ -72,7 +72,7 @@
72
72
  "README.md"
73
73
  ],
74
74
  "publishConfig": {
75
- "access": "restricted"
75
+ "access": "public"
76
76
  },
77
77
  "overrides": {
78
78
  "lodash": ">=4.17.21",