@burdenoff/microfe-workflows 2026.1022.14 → 2026.1023.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.
- package/dist/plugin.js +115 -0
- package/dist/workflows.js +4 -3
- package/package.json +5 -1
package/dist/plugin.js
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { BotMessageSquare as e, History as t, KeyRound as n, Workflow as r } from "lucide-react";
|
|
2
|
+
//#region src/plugin.ts
|
|
3
|
+
var i = "fluidgrids", a = {
|
|
4
|
+
goToWorkflows: "fg:go-to-workflows",
|
|
5
|
+
goToRuns: "fg:go-to-runs",
|
|
6
|
+
goToCredentials: "fg:go-to-credentials",
|
|
7
|
+
toggleAssistant: "fg:toggle-ai-assistant"
|
|
8
|
+
}, o = "fg:toggle-ai-assistant", s = "2026.1023.1";
|
|
9
|
+
function c(e, t) {
|
|
10
|
+
if (!/^\/[^/]/.test(t) || t.endsWith("/")) throw Error(`createFluidGridsPlugin: ${e} must be a rooted path without a trailing slash, got "${t}"`);
|
|
11
|
+
}
|
|
12
|
+
function l(o) {
|
|
13
|
+
let s = () => void 0;
|
|
14
|
+
return [
|
|
15
|
+
{
|
|
16
|
+
id: a.goToWorkflows,
|
|
17
|
+
pluginId: i,
|
|
18
|
+
label: "Go to Workflows",
|
|
19
|
+
description: "Open the list of workflows in this workspace",
|
|
20
|
+
icon: r,
|
|
21
|
+
keywords: [
|
|
22
|
+
"workflows",
|
|
23
|
+
"automations",
|
|
24
|
+
"flows",
|
|
25
|
+
"list",
|
|
26
|
+
"fluidgrids"
|
|
27
|
+
],
|
|
28
|
+
section: o,
|
|
29
|
+
execute: s
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: a.goToRuns,
|
|
33
|
+
pluginId: i,
|
|
34
|
+
label: "Go to Runs",
|
|
35
|
+
description: "See workflow runs and their status",
|
|
36
|
+
icon: t,
|
|
37
|
+
keywords: [
|
|
38
|
+
"runs",
|
|
39
|
+
"executions",
|
|
40
|
+
"history",
|
|
41
|
+
"status",
|
|
42
|
+
"fluidgrids"
|
|
43
|
+
],
|
|
44
|
+
section: o,
|
|
45
|
+
execute: s
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: a.goToCredentials,
|
|
49
|
+
pluginId: i,
|
|
50
|
+
label: "Go to Credentials",
|
|
51
|
+
description: "Manage the connections and credentials workflows use",
|
|
52
|
+
icon: n,
|
|
53
|
+
keywords: [
|
|
54
|
+
"credentials",
|
|
55
|
+
"connections",
|
|
56
|
+
"integrations",
|
|
57
|
+
"secrets",
|
|
58
|
+
"oauth"
|
|
59
|
+
],
|
|
60
|
+
section: o,
|
|
61
|
+
execute: s
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: a.toggleAssistant,
|
|
65
|
+
pluginId: i,
|
|
66
|
+
label: "Toggle AI Assistant",
|
|
67
|
+
description: "Open or close the AI assistant panel (Ctrl+Shift+A)",
|
|
68
|
+
icon: e,
|
|
69
|
+
keywords: [
|
|
70
|
+
"ai",
|
|
71
|
+
"assistant",
|
|
72
|
+
"chat",
|
|
73
|
+
"help",
|
|
74
|
+
"copilot"
|
|
75
|
+
],
|
|
76
|
+
section: o,
|
|
77
|
+
execute: s
|
|
78
|
+
}
|
|
79
|
+
];
|
|
80
|
+
}
|
|
81
|
+
function u(e = {}) {
|
|
82
|
+
let t = e.basePath ?? "/workflows", n = e.credentialsPath ?? "/integrations/connections", r = e.assistantToggleEvent ?? "fg:toggle-ai-assistant";
|
|
83
|
+
if (c("basePath", t), c("credentialsPath", n), !r) throw Error("createFluidGridsPlugin: assistantToggleEvent must not be empty");
|
|
84
|
+
let o = l("FluidGrids");
|
|
85
|
+
return {
|
|
86
|
+
manifest: {
|
|
87
|
+
id: i,
|
|
88
|
+
name: "FluidGrids",
|
|
89
|
+
version: s,
|
|
90
|
+
description: "Workflow automation: workflows, runs, credentials and the AI assistant",
|
|
91
|
+
activationEvents: [{ type: "eager" }],
|
|
92
|
+
contributes: { commands: o }
|
|
93
|
+
},
|
|
94
|
+
activate(e) {
|
|
95
|
+
let i = new Map([
|
|
96
|
+
[a.goToWorkflows, () => e.shell.navigate(`${t}/list`)],
|
|
97
|
+
[a.goToRuns, () => e.shell.navigate(`${t}/runs`)],
|
|
98
|
+
[a.goToCredentials, () => e.shell.navigate(n)],
|
|
99
|
+
[a.toggleAssistant, () => {
|
|
100
|
+
typeof window > "u" || window.dispatchEvent(new CustomEvent(r));
|
|
101
|
+
}]
|
|
102
|
+
]);
|
|
103
|
+
for (let t of o) {
|
|
104
|
+
let n = i.get(t.id);
|
|
105
|
+
n && e.commands.register({
|
|
106
|
+
...t,
|
|
107
|
+
execute: n
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
var d = u();
|
|
114
|
+
//#endregion
|
|
115
|
+
export { o as FLUIDGRIDS_ASSISTANT_TOGGLE_EVENT, a as FLUIDGRIDS_PLUGIN_COMMANDS, i as FLUIDGRIDS_PLUGIN_ID, u as createFluidGridsPlugin, d as fluidGridsPlugin };
|
package/dist/workflows.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
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
3
|
import { workflowsSwitchRedirectRules as i } from "./switchRedirectRules.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
4
|
+
import { FLUIDGRIDS_ASSISTANT_TOGGLE_EVENT as a, FLUIDGRIDS_PLUGIN_COMMANDS as o, FLUIDGRIDS_PLUGIN_ID as s, createFluidGridsPlugin as c, fluidGridsPlugin as l } from "./plugin.js";
|
|
5
|
+
import { enTranslations as u } from "./translations/en.js";
|
|
6
|
+
import { ExecutionDetailPage as d, ExecutionsListPage as f, FLUIDGRIDS_FLAGS as p, FluidGridsProvider as m, FluidGridsRoot as h, HistoryPage as g, NodesPage as _, SettingsPage as v, TemplatePreview as y, TemplatesPage as b, WorkflowBuilder as x, WorkflowBuilderCore as S, WorkflowBuilderPage as C, WorkflowSearchRedirect as w, WorkflowsList as T, cn as E, createFluidGridsClient as D, fetchAllNodesWithManifests as O, getFluidGridsClient as k, getFluidGridsClient as A, getFluidGridsClientSafe as j, isFluidGridsClientReady as M, resetFluidGridsClient as N, setFluidGridsClient as P, setFluidGridsClient as F, setFluidGridsConfig as I, useCreateWorkflow as L, useCreateWorkflowVersion as R, useDashboardSummary as z, useDeleteWorkflow as B, useDuplicateWorkflow as V, useFlowStore as H, useFluidGridsContext as U, useFluidGridsFlag as W, useLazyNodeManifest as G, useLazyWorkflowDefinition as K, useNodeEndpoint as q, useNodeEndpoints as J, useNodeManifest as Y, useTriggerWorkflow as X, useUpdateWorkflow as Z, useWorkflowDefinition as Q, useWorkflowDefinitions as $, useWorkflowRun as ee, useWorkflowRuns as te, useWorkflowVersions as ne, waitForFluidGridsClient as re } from "@burdenoff/fluidgrids-fe-sdk";
|
|
7
|
+
export { x as EmbeddableWorkflowBuilder, S as EmbeddableWorkflowBuilderCore, m as EmbeddableWorkflowProvider, h as EmbeddableWorkflowRoot, d as ExecutionDetailPage, f as ExecutionsListPage, a as FLUIDGRIDS_ASSISTANT_TOGGLE_EVENT, p as FLUIDGRIDS_FLAGS, o as FLUIDGRIDS_PLUGIN_COMMANDS, s as FLUIDGRIDS_PLUGIN_ID, g as HistoryPage, _ as NodesPage, v as SettingsPage, y as TemplatePreview, b as TemplatesPage, C as WorkflowBuilderPage, w as WorkflowSearchRedirect, T as WorkflowsList, r as WorkflowsRoot, E as cn, e as config, D as createEmbeddableClient, c as createFluidGridsPlugin, u as enTranslations, O as fetchAllNodesWithManifests, l as fluidGridsPlugin, A as getEmbeddableClient, k as getFluidGridsClient, j as getFluidGridsClientSafe, M as isFluidGridsClientReady, N as resetFluidGridsClient, t as resetWorkflowsConfig, F as setEmbeddableClient, I as setEmbeddableConfig, P as setFluidGridsClient, n as setWorkflowsConfig, L as useCreateWorkflow, R as useCreateWorkflowVersion, z as useDashboardSummary, B as useDeleteWorkflow, V as useDuplicateWorkflow, U as useEmbeddableContext, H as useEmbeddableFlowStore, W as useFluidGridsFlag, G as useLazyNodeManifest, K as useLazyWorkflowDefinition, q as useNodeEndpoint, J as useNodeEndpoints, Y as useNodeManifest, X as useTriggerWorkflow, Z as useUpdateWorkflow, Q as useWorkflowDefinition, $ as useWorkflowDefinitions, ee as useWorkflowRun, te as useWorkflowRuns, ne as useWorkflowVersions, re as waitForFluidGridsClient, i as workflowsSwitchRedirectRules };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-workflows",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.1023.1",
|
|
4
4
|
"description": "Workflows microfrontend for Burdenoff products - thin shell over @burdenoff/fluidgrids-fe-sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
},
|
|
11
11
|
"./switch-redirect-rules": {
|
|
12
12
|
"import": "./dist/switchRedirectRules.js"
|
|
13
|
+
},
|
|
14
|
+
"./plugin": {
|
|
15
|
+
"types": "./dist/plugin.d.ts",
|
|
16
|
+
"import": "./dist/plugin.js"
|
|
13
17
|
}
|
|
14
18
|
},
|
|
15
19
|
"scripts": {
|