@burdenoff/fluidgrids-fe-sdk 2026.1101.1 → 2026.1101.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.
- package/dist/{ExecutionDetailPage-4LPCNWM3.js → ExecutionDetailPage-Q77U6YJO.js} +11 -8
- package/dist/{ExecutionsListPage-HNPUKYD7.js → ExecutionsListPage-X4H4FVLN.js} +6 -5
- package/dist/{WorkflowBuilder-QFSCYCUC.js → WorkflowBuilder-RJPRUMQR.js} +11 -8
- package/dist/{WorkflowsList-RV4BRJO7.js → WorkflowsList-R2JJK7BL.js} +7 -6
- package/dist/agentTools-MISTH7JI.js +349 -0
- package/dist/{chunk-77HIU3CX.js → chunk-26HGYPBC.js} +1 -1
- package/dist/{chunk-76UUEMTN.js → chunk-37VUN74D.js} +4 -4
- package/dist/{chunk-QPZCJKII.js → chunk-3ERT6FQK.js} +3 -3
- package/dist/chunk-472HJ3S3.js +3929 -0
- package/dist/{chunk-WNZV4SLU.js → chunk-4QHCXTHW.js} +4 -4
- package/dist/chunk-AASHQI77.js +126 -0
- package/dist/chunk-CGXQVZGY.js +260 -0
- package/dist/chunk-CRDG2SQQ.js +185 -0
- package/dist/chunk-DQ2ZCXYX.js +21875 -0
- package/dist/chunk-F7DD7BOB.js +1164 -0
- package/dist/chunk-GTEBQQ7J.js +24 -0
- package/dist/{chunk-ALFMJSD6.js → chunk-H7XPXONT.js} +1 -1
- package/dist/{chunk-UO5DUKYN.js → chunk-HKKSXOFO.js} +8 -7
- package/dist/chunk-IA2ZCHNQ.js +1336 -0
- package/dist/{chunk-3M36XWAH.js → chunk-IGRIN7NL.js} +8 -7
- package/dist/chunk-JDLQ6QIB.js +283 -0
- package/dist/{chunk-AD7BICOT.js → chunk-JKBCLBHY.js} +1 -1
- package/dist/{chunk-6JX5UPDW.js → chunk-JNZCXFLD.js} +1 -1
- package/dist/{chunk-SEFOT2LD.js → chunk-LWLHPVIA.js} +1 -1
- package/dist/{chunk-JWROEOG5.js → chunk-LYTR6IQO.js} +1 -38
- package/dist/chunk-MR2B67NW.js +338 -0
- package/dist/{chunk-RIHYPPMQ.js → chunk-NLYQ3XDE.js} +1 -1
- package/dist/{chunk-6ILIBJFH.js → chunk-NZJWKVER.js} +7904 -7943
- package/dist/chunk-OCJTTHTS.js +46 -0
- package/dist/chunk-OSQ3OCR3.js +1193 -0
- package/dist/{chunk-VJL3DFJT.js → chunk-REO4S5MY.js} +2 -2
- package/dist/{chunk-XKQMCPSB.js → chunk-T2UUYYVJ.js} +4 -4
- package/dist/{chunk-BXR6BWXM.js → chunk-W7MTSATB.js} +5 -5
- package/dist/{chunk-A47PSD7A.js → chunk-WF6GMBR4.js} +7 -4
- package/dist/chunk-WYCB6OQL.js +19709 -0
- package/dist/{chunk-YOLPHVOE.js → chunk-YKFR7BZJ.js} +1 -1
- package/dist/{chunk-26NENGXA.js → chunk-YSXNJGCY.js} +4 -4
- package/dist/code-editor-field-JKCUR6BI.js +3 -0
- package/dist/executions.js +12 -9
- package/dist/history.js +4 -3
- package/dist/index.js +41 -32
- package/dist/node-detail-view-PCYFQX62.js +2034 -0
- package/dist/observability.js +5 -4
- package/dist/quick-config-panel-BRZZHOSI.js +402 -0
- package/dist/settings.js +6 -5
- package/dist/templates.js +10 -7
- package/dist/workflow-builder.js +12 -9
- package/dist/workflows-list.js +7 -6
- package/package.json +4 -1
- package/dist/chunk-NMEI7TQW.js +0 -2628
- package/dist/chunk-S7XV65DB.js +0 -50350
package/dist/observability.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { DataSinkDashboardPage, ErrorAnalyticsPage, InsightsPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { DataSinkDashboardPage, ErrorAnalyticsPage, InsightsPage } from './chunk-IGRIN7NL.js';
|
|
2
|
+
import './chunk-H7XPXONT.js';
|
|
3
|
+
import './chunk-NLYQ3XDE.js';
|
|
4
4
|
import './chunk-5ERAJC2I.js';
|
|
5
5
|
import './chunk-GLYINMOR.js';
|
|
6
6
|
import './chunk-7KKYIRLH.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-NZJWKVER.js';
|
|
8
8
|
import './chunk-ZUVFD5KV.js';
|
|
9
9
|
import './chunk-JL7CASN5.js';
|
|
10
|
+
import './chunk-OCJTTHTS.js';
|
|
10
11
|
import './chunk-PXIFUMLA.js';
|
|
11
12
|
import './chunk-6AMNEX2Y.js';
|
|
12
13
|
import './chunk-G77IGC3Y.js';
|
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
import { ReadOnlyFieldset, NodeParamsForm, NodeExecutionActions } from './chunk-472HJ3S3.js';
|
|
2
|
+
import './chunk-AASHQI77.js';
|
|
3
|
+
import { useNodeConfig, nodeSubtitle, nodeTitle, FieldTree } from './chunk-IA2ZCHNQ.js';
|
|
4
|
+
import './chunk-GTEBQQ7J.js';
|
|
5
|
+
import './chunk-YKFR7BZJ.js';
|
|
6
|
+
import './chunk-JDLQ6QIB.js';
|
|
7
|
+
import './chunk-7KKYIRLH.js';
|
|
8
|
+
import { useFlowStore, useNodeExecution, getNodeDetail, nodeAccent, NodeTypeIcon } from './chunk-NZJWKVER.js';
|
|
9
|
+
import './chunk-ZUVFD5KV.js';
|
|
10
|
+
import './chunk-JL7CASN5.js';
|
|
11
|
+
import './chunk-OCJTTHTS.js';
|
|
12
|
+
import './chunk-PXIFUMLA.js';
|
|
13
|
+
import './chunk-6AMNEX2Y.js';
|
|
14
|
+
import './chunk-G77IGC3Y.js';
|
|
15
|
+
import './chunk-IHEV5HTD.js';
|
|
16
|
+
import { useTr } from './chunk-UULVIT25.js';
|
|
17
|
+
import './chunk-NTWG3CJX.js';
|
|
18
|
+
import './chunk-62GWEYJ5.js';
|
|
19
|
+
import { useState, useRef, useLayoutEffect, useMemo, useEffect } from 'react';
|
|
20
|
+
import { Icon } from '@iconify/react';
|
|
21
|
+
import { useReactFlow, useStore } from '@xyflow/react';
|
|
22
|
+
import { shallow } from 'zustand/shallow';
|
|
23
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
|
+
|
|
25
|
+
var PANEL_WIDTH = 380;
|
|
26
|
+
var PANEL_EST_HEIGHT = 480;
|
|
27
|
+
var MAPPER_WIDTH = 260;
|
|
28
|
+
var VIEWPORT_MARGIN = 12;
|
|
29
|
+
var NODE_GAP = 14;
|
|
30
|
+
var MAPPER_GAP = 10;
|
|
31
|
+
function useNodeScreenRect(nodeId) {
|
|
32
|
+
const { flowToScreenPosition } = useReactFlow();
|
|
33
|
+
const raw = useStore((s) => {
|
|
34
|
+
const n = s.nodeLookup.get(nodeId);
|
|
35
|
+
if (!n) return null;
|
|
36
|
+
const p = n.internals?.positionAbsolute ?? n.position;
|
|
37
|
+
return {
|
|
38
|
+
x: p.x,
|
|
39
|
+
y: p.y,
|
|
40
|
+
w: n.measured?.width ?? n.width ?? 288,
|
|
41
|
+
h: n.measured?.height ?? n.height ?? 120,
|
|
42
|
+
// Selecting the transform forces a re-render on pan/zoom.
|
|
43
|
+
tx: s.transform[0],
|
|
44
|
+
ty: s.transform[1],
|
|
45
|
+
z: s.transform[2]
|
|
46
|
+
};
|
|
47
|
+
}, shallow);
|
|
48
|
+
if (!raw) return null;
|
|
49
|
+
const tl = flowToScreenPosition({ x: raw.x, y: raw.y });
|
|
50
|
+
const br = flowToScreenPosition({ x: raw.x + raw.w, y: raw.y + raw.h });
|
|
51
|
+
return {
|
|
52
|
+
left: tl.x,
|
|
53
|
+
top: tl.y,
|
|
54
|
+
right: br.x,
|
|
55
|
+
bottom: br.y,
|
|
56
|
+
cy: (tl.y + br.y) / 2
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
var clamp = (v, lo, hi) => Math.min(Math.max(v, lo), Math.max(lo, hi));
|
|
60
|
+
function QuickConfigPanel() {
|
|
61
|
+
const quickConfig = useFlowStore((s) => s.workflow.quickConfig);
|
|
62
|
+
if (!quickConfig) return null;
|
|
63
|
+
return (
|
|
64
|
+
// Remount per node so panel-local state (mapper open) resets naturally.
|
|
65
|
+
/* @__PURE__ */ jsx(
|
|
66
|
+
QuickConfigPanelInner,
|
|
67
|
+
{
|
|
68
|
+
nodeId: quickConfig.nodeId,
|
|
69
|
+
type: quickConfig.type
|
|
70
|
+
},
|
|
71
|
+
quickConfig.nodeId
|
|
72
|
+
)
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
function QuickConfigPanelInner({
|
|
76
|
+
nodeId,
|
|
77
|
+
type
|
|
78
|
+
}) {
|
|
79
|
+
const close = useFlowStore((s) => s.actions.quickConfig.close);
|
|
80
|
+
const openNdv = useFlowStore((s) => s.actions.ndv.open);
|
|
81
|
+
const tr = useTr();
|
|
82
|
+
const { executeStep, executeFromNode } = useNodeExecution();
|
|
83
|
+
const workflow = useFlowStore((s) => s.workflow);
|
|
84
|
+
const execution = useFlowStore((s) => s.execution);
|
|
85
|
+
const config = useNodeConfig({ nodeId, type });
|
|
86
|
+
const {
|
|
87
|
+
node,
|
|
88
|
+
nodes,
|
|
89
|
+
sourceIds,
|
|
90
|
+
selectedSource,
|
|
91
|
+
setSelectedSource,
|
|
92
|
+
inputFields
|
|
93
|
+
} = config;
|
|
94
|
+
const [showMapper, setShowMapper] = useState(false);
|
|
95
|
+
const nodeRect = useNodeScreenRect(nodeId);
|
|
96
|
+
const cardRef = useRef(null);
|
|
97
|
+
const [panelH, setPanelH] = useState(PANEL_EST_HEIGHT);
|
|
98
|
+
useLayoutEffect(() => {
|
|
99
|
+
const el = cardRef.current;
|
|
100
|
+
if (!el) return;
|
|
101
|
+
const measure = () => setPanelH(el.offsetHeight);
|
|
102
|
+
measure();
|
|
103
|
+
const ro = new ResizeObserver(measure);
|
|
104
|
+
ro.observe(el);
|
|
105
|
+
return () => ro.disconnect();
|
|
106
|
+
}, []);
|
|
107
|
+
const placement = useMemo(() => {
|
|
108
|
+
const mapperCoords = (panelLeft, panelTop) => {
|
|
109
|
+
const leftPlacement = panelLeft - MAPPER_GAP - MAPPER_WIDTH;
|
|
110
|
+
const rightPlacement = panelLeft + PANEL_WIDTH + MAPPER_GAP;
|
|
111
|
+
const rawLeft2 = leftPlacement >= VIEWPORT_MARGIN ? leftPlacement : rightPlacement;
|
|
112
|
+
return {
|
|
113
|
+
mapperLeft: clamp(
|
|
114
|
+
rawLeft2,
|
|
115
|
+
VIEWPORT_MARGIN,
|
|
116
|
+
window.innerWidth - MAPPER_WIDTH - VIEWPORT_MARGIN
|
|
117
|
+
),
|
|
118
|
+
mapperTop: panelTop
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
if (!nodeRect) {
|
|
122
|
+
const left2 = window.innerWidth / 2 - PANEL_WIDTH / 2;
|
|
123
|
+
const top2 = window.innerHeight / 4;
|
|
124
|
+
return {
|
|
125
|
+
side: "right",
|
|
126
|
+
left: left2,
|
|
127
|
+
top: top2,
|
|
128
|
+
connectorLeft: 0,
|
|
129
|
+
connectorWidth: 0,
|
|
130
|
+
connectorTop: 0,
|
|
131
|
+
hasConnector: false,
|
|
132
|
+
...mapperCoords(left2, top2)
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
const need = PANEL_WIDTH + NODE_GAP + VIEWPORT_MARGIN;
|
|
136
|
+
const spaceRight = window.innerWidth - nodeRect.right;
|
|
137
|
+
const spaceLeft = nodeRect.left;
|
|
138
|
+
const side = spaceRight >= need ? "right" : spaceLeft >= need ? "left" : spaceRight >= spaceLeft ? "right" : "left";
|
|
139
|
+
const rawLeft = side === "right" ? nodeRect.right + NODE_GAP : nodeRect.left - NODE_GAP - PANEL_WIDTH;
|
|
140
|
+
const left = clamp(
|
|
141
|
+
rawLeft,
|
|
142
|
+
VIEWPORT_MARGIN,
|
|
143
|
+
window.innerWidth - PANEL_WIDTH - VIEWPORT_MARGIN
|
|
144
|
+
);
|
|
145
|
+
const top = clamp(
|
|
146
|
+
nodeRect.cy - panelH / 2,
|
|
147
|
+
VIEWPORT_MARGIN,
|
|
148
|
+
window.innerHeight - panelH - VIEWPORT_MARGIN
|
|
149
|
+
);
|
|
150
|
+
const connectorTop = clamp(nodeRect.cy, top + 6, top + panelH - 6);
|
|
151
|
+
const connectorLeft = side === "right" ? nodeRect.right : left + PANEL_WIDTH;
|
|
152
|
+
const connectorWidth = Math.max(
|
|
153
|
+
0,
|
|
154
|
+
side === "right" ? left - nodeRect.right : nodeRect.left - (left + PANEL_WIDTH)
|
|
155
|
+
);
|
|
156
|
+
return {
|
|
157
|
+
side,
|
|
158
|
+
left,
|
|
159
|
+
top,
|
|
160
|
+
connectorLeft,
|
|
161
|
+
connectorWidth,
|
|
162
|
+
connectorTop,
|
|
163
|
+
hasConnector: connectorWidth > 1,
|
|
164
|
+
...mapperCoords(left, top)
|
|
165
|
+
};
|
|
166
|
+
}, [nodeRect, panelH]);
|
|
167
|
+
useEffect(() => {
|
|
168
|
+
const onKey = (e) => {
|
|
169
|
+
if (e.key === "Escape") close();
|
|
170
|
+
};
|
|
171
|
+
window.addEventListener("keydown", onKey);
|
|
172
|
+
return () => window.removeEventListener("keydown", onKey);
|
|
173
|
+
}, [close]);
|
|
174
|
+
useEffect(() => {
|
|
175
|
+
if (!nodes.some((n) => n.id === nodeId)) close();
|
|
176
|
+
}, [nodes, nodeId, close]);
|
|
177
|
+
if (!node) return null;
|
|
178
|
+
const meta = getNodeDetail(node.type);
|
|
179
|
+
const accent = nodeAccent(node.type || meta.title);
|
|
180
|
+
const subtitle = nodeSubtitle(node);
|
|
181
|
+
const expandToNdv = () => {
|
|
182
|
+
openNdv({ nodeId, type });
|
|
183
|
+
};
|
|
184
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
185
|
+
placement.hasConnector && /* @__PURE__ */ jsx(
|
|
186
|
+
"div",
|
|
187
|
+
{
|
|
188
|
+
"aria-hidden": true,
|
|
189
|
+
className: "pointer-events-none fixed",
|
|
190
|
+
style: {
|
|
191
|
+
left: placement.connectorLeft,
|
|
192
|
+
top: placement.connectorTop - 1,
|
|
193
|
+
width: placement.connectorWidth,
|
|
194
|
+
height: 2,
|
|
195
|
+
background: accent,
|
|
196
|
+
opacity: 0.55,
|
|
197
|
+
zIndex: 299
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
),
|
|
201
|
+
showMapper && /* @__PURE__ */ jsxs(
|
|
202
|
+
"div",
|
|
203
|
+
{
|
|
204
|
+
className: "fixed overflow-hidden rounded-xl border border-border bg-card shadow-xl",
|
|
205
|
+
style: {
|
|
206
|
+
left: placement.mapperLeft,
|
|
207
|
+
top: placement.mapperTop,
|
|
208
|
+
width: MAPPER_WIDTH,
|
|
209
|
+
maxHeight: "min(60vh, 480px)",
|
|
210
|
+
zIndex: 301,
|
|
211
|
+
display: "flex",
|
|
212
|
+
flexDirection: "column"
|
|
213
|
+
},
|
|
214
|
+
"data-testid": "quick-config-mapper",
|
|
215
|
+
children: [
|
|
216
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2 border-b border-border px-3 py-2", children: [
|
|
217
|
+
/* @__PURE__ */ jsx(
|
|
218
|
+
Icon,
|
|
219
|
+
{
|
|
220
|
+
icon: "mdi:tray-arrow-down",
|
|
221
|
+
className: "size-3.5 text-muted-foreground"
|
|
222
|
+
}
|
|
223
|
+
),
|
|
224
|
+
/* @__PURE__ */ jsx("span", { className: "text-[11px] font-semibold uppercase tracking-[0.12em] text-muted-foreground", children: tr("fluidgrids.builder.quickConfigPanel.inputHeading", "Input") }),
|
|
225
|
+
sourceIds.length > 0 && /* @__PURE__ */ jsx(
|
|
226
|
+
"select",
|
|
227
|
+
{
|
|
228
|
+
className: "ml-auto max-w-[55%] truncate rounded-md border border-border-default bg-bg-surface px-1.5 py-0.5 text-[11px] text-text-primary scheme-normal dark:scheme-dark outline-none focus:border-action-primary-border [&_option]:bg-bg-surface [&_option]:text-text-primary",
|
|
229
|
+
value: selectedSource ?? "",
|
|
230
|
+
onChange: (e) => setSelectedSource(e.target.value),
|
|
231
|
+
"data-testid": "qc-source-selector",
|
|
232
|
+
children: sourceIds.map((sid) => {
|
|
233
|
+
const sn = nodes.find((n) => n.id === sid);
|
|
234
|
+
return /* @__PURE__ */ jsx("option", { value: sid, children: nodeTitle(sn) }, sid);
|
|
235
|
+
})
|
|
236
|
+
}
|
|
237
|
+
)
|
|
238
|
+
] }),
|
|
239
|
+
/* @__PURE__ */ jsx("div", { className: "min-h-0 flex-1 overflow-auto px-2 py-2", children: inputFields.length > 0 ? /* @__PURE__ */ jsx(FieldTree, { fields: inputFields, draggable: true }) : /* @__PURE__ */ jsx("p", { className: "px-2 py-4 text-center text-xs text-muted-foreground", children: sourceIds.length === 0 ? tr(
|
|
240
|
+
"fluidgrids.builder.quickConfigPanel.noUpstreamNode",
|
|
241
|
+
"Connect an upstream node to map its fields."
|
|
242
|
+
) : tr(
|
|
243
|
+
"fluidgrids.builder.quickConfigPanel.noOutputFields",
|
|
244
|
+
"The selected source has no declared output fields."
|
|
245
|
+
) }) }),
|
|
246
|
+
/* @__PURE__ */ jsx("p", { className: "shrink-0 border-t border-border px-3 py-1.5 text-[10px] leading-snug text-muted-foreground", children: tr(
|
|
247
|
+
"fluidgrids.builder.quickConfigPanel.dragFieldHint",
|
|
248
|
+
"Drag a field onto a parameter to map it."
|
|
249
|
+
) })
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
),
|
|
253
|
+
/* @__PURE__ */ jsx(
|
|
254
|
+
"div",
|
|
255
|
+
{
|
|
256
|
+
className: "fixed",
|
|
257
|
+
style: {
|
|
258
|
+
left: placement.left,
|
|
259
|
+
top: placement.top,
|
|
260
|
+
zIndex: 300,
|
|
261
|
+
width: PANEL_WIDTH
|
|
262
|
+
},
|
|
263
|
+
"data-testid": "quick-config-panel",
|
|
264
|
+
children: /* @__PURE__ */ jsxs(
|
|
265
|
+
"div",
|
|
266
|
+
{
|
|
267
|
+
ref: cardRef,
|
|
268
|
+
className: "flex flex-col overflow-hidden rounded-xl border border-border bg-card shadow-2xl animate-in fade-in zoom-in-95 duration-150",
|
|
269
|
+
style: {
|
|
270
|
+
maxHeight: "min(70vh, 560px)",
|
|
271
|
+
borderTop: `3px solid ${accent}`
|
|
272
|
+
},
|
|
273
|
+
children: [
|
|
274
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2.5 border-b border-border px-3 py-2.5 select-none", children: [
|
|
275
|
+
/* @__PURE__ */ jsx(
|
|
276
|
+
"div",
|
|
277
|
+
{
|
|
278
|
+
className: "flex size-7 shrink-0 items-center justify-center rounded-lg",
|
|
279
|
+
style: {
|
|
280
|
+
backgroundColor: `color-mix(in srgb, ${accent} 13%, transparent)`,
|
|
281
|
+
color: accent,
|
|
282
|
+
border: `1px solid color-mix(in srgb, ${accent} 26%, transparent)`
|
|
283
|
+
},
|
|
284
|
+
children: /* @__PURE__ */ jsx(NodeTypeIcon, { icon: meta.icon, className: "size-4" })
|
|
285
|
+
}
|
|
286
|
+
),
|
|
287
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
288
|
+
/* @__PURE__ */ jsx("p", { className: "truncate text-sm font-semibold leading-tight text-foreground", children: nodeTitle(node) }),
|
|
289
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: "truncate font-mono text-[11px] leading-tight text-muted-foreground", children: subtitle })
|
|
290
|
+
] }),
|
|
291
|
+
/* @__PURE__ */ jsx(
|
|
292
|
+
"button",
|
|
293
|
+
{
|
|
294
|
+
type: "button",
|
|
295
|
+
title: showMapper ? tr(
|
|
296
|
+
"fluidgrids.builder.quickConfigPanel.hideInputDataTooltip",
|
|
297
|
+
"Hide input data"
|
|
298
|
+
) : tr(
|
|
299
|
+
"fluidgrids.builder.quickConfigPanel.mapInputDataTooltip",
|
|
300
|
+
"Map data from input"
|
|
301
|
+
),
|
|
302
|
+
"aria-label": tr(
|
|
303
|
+
"fluidgrids.builder.quickConfigPanel.toggleMapperAriaLabel",
|
|
304
|
+
"Toggle input mapper"
|
|
305
|
+
),
|
|
306
|
+
onClick: () => setShowMapper((v) => !v),
|
|
307
|
+
className: `rounded-md p-1.5 transition-colors hover:bg-muted ${showMapper ? "text-primary" : "text-muted-foreground"} hover:text-foreground`,
|
|
308
|
+
"data-testid": "qc-toggle-mapper",
|
|
309
|
+
children: /* @__PURE__ */ jsx(Icon, { icon: "mdi:tray-arrow-down", className: "size-4" })
|
|
310
|
+
}
|
|
311
|
+
),
|
|
312
|
+
/* @__PURE__ */ jsx(
|
|
313
|
+
"button",
|
|
314
|
+
{
|
|
315
|
+
type: "button",
|
|
316
|
+
title: tr(
|
|
317
|
+
"fluidgrids.builder.quickConfigPanel.openFullEditorTooltip",
|
|
318
|
+
"Open full editor"
|
|
319
|
+
),
|
|
320
|
+
"aria-label": tr(
|
|
321
|
+
"fluidgrids.builder.quickConfigPanel.openFullEditorAriaLabel",
|
|
322
|
+
"Open full editor"
|
|
323
|
+
),
|
|
324
|
+
onClick: expandToNdv,
|
|
325
|
+
className: "rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",
|
|
326
|
+
"data-testid": "qc-expand",
|
|
327
|
+
children: /* @__PURE__ */ jsx(Icon, { icon: "mdi:arrow-expand", className: "size-4" })
|
|
328
|
+
}
|
|
329
|
+
),
|
|
330
|
+
/* @__PURE__ */ jsx(
|
|
331
|
+
"button",
|
|
332
|
+
{
|
|
333
|
+
type: "button",
|
|
334
|
+
title: tr(
|
|
335
|
+
"fluidgrids.builder.quickConfigPanel.closeTooltip",
|
|
336
|
+
"Close"
|
|
337
|
+
),
|
|
338
|
+
"aria-label": tr(
|
|
339
|
+
"fluidgrids.builder.quickConfigPanel.closeAriaLabel",
|
|
340
|
+
"Close"
|
|
341
|
+
),
|
|
342
|
+
onClick: close,
|
|
343
|
+
className: "rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",
|
|
344
|
+
"data-testid": "qc-close",
|
|
345
|
+
children: /* @__PURE__ */ jsx(Icon, { icon: "mdi:close", className: "size-4" })
|
|
346
|
+
}
|
|
347
|
+
)
|
|
348
|
+
] }),
|
|
349
|
+
/* @__PURE__ */ jsx(
|
|
350
|
+
"div",
|
|
351
|
+
{
|
|
352
|
+
className: "min-h-0 flex-1 space-y-4 overflow-auto p-3",
|
|
353
|
+
"data-testid": "qc-params",
|
|
354
|
+
onFocusCapture: (e) => {
|
|
355
|
+
const tag = e.target.tagName;
|
|
356
|
+
if (sourceIds.length > 0 && (tag === "INPUT" || tag === "SELECT" || tag === "TEXTAREA")) {
|
|
357
|
+
setShowMapper(true);
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
children: /* @__PURE__ */ jsx(ReadOnlyFieldset, { className: "space-y-4", children: /* @__PURE__ */ jsx(
|
|
361
|
+
NodeParamsForm,
|
|
362
|
+
{
|
|
363
|
+
config,
|
|
364
|
+
nodeType: node.type,
|
|
365
|
+
testIdPrefix: "qc"
|
|
366
|
+
}
|
|
367
|
+
) })
|
|
368
|
+
}
|
|
369
|
+
),
|
|
370
|
+
/* @__PURE__ */ jsx(
|
|
371
|
+
NodeExecutionActions,
|
|
372
|
+
{
|
|
373
|
+
targetNodeId: nodeId,
|
|
374
|
+
nodes: workflow.nodes,
|
|
375
|
+
edges: workflow.edges,
|
|
376
|
+
logs: execution.logs,
|
|
377
|
+
workflowKey: workflow.workflowKey || workflow.id,
|
|
378
|
+
workflowVersion: workflow.version || "1.0.0",
|
|
379
|
+
sourceRun: execution.sourceRun,
|
|
380
|
+
isExecuting: execution.isExecuting,
|
|
381
|
+
onExecuteStep: async (targetId) => {
|
|
382
|
+
await executeStep(targetId);
|
|
383
|
+
},
|
|
384
|
+
onContinueFromNode: async (sourceRunId, targetId) => {
|
|
385
|
+
await executeFromNode(sourceRunId, targetId);
|
|
386
|
+
},
|
|
387
|
+
testIdPrefix: "qc"
|
|
388
|
+
}
|
|
389
|
+
),
|
|
390
|
+
/* @__PURE__ */ jsx("p", { className: "shrink-0 border-t border-border px-3 py-1.5 text-[10px] leading-snug text-muted-foreground", children: tr(
|
|
391
|
+
"fluidgrids.builder.quickConfigPanel.footerHint",
|
|
392
|
+
"Changes apply instantly \xB7 double-click the node for the full editor"
|
|
393
|
+
) })
|
|
394
|
+
]
|
|
395
|
+
}
|
|
396
|
+
)
|
|
397
|
+
}
|
|
398
|
+
)
|
|
399
|
+
] });
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export { QuickConfigPanel };
|
package/dist/settings.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { SettingsPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { SettingsPage } from './chunk-4QHCXTHW.js';
|
|
2
|
+
import './chunk-YKFR7BZJ.js';
|
|
3
|
+
import './chunk-JKBCLBHY.js';
|
|
4
|
+
import './chunk-NLYQ3XDE.js';
|
|
4
5
|
import './chunk-5ERAJC2I.js';
|
|
5
|
-
import './chunk-YOLPHVOE.js';
|
|
6
6
|
import './chunk-4VJ3MDOV.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-NZJWKVER.js';
|
|
8
8
|
import './chunk-ZUVFD5KV.js';
|
|
9
9
|
import './chunk-JL7CASN5.js';
|
|
10
|
+
import './chunk-OCJTTHTS.js';
|
|
10
11
|
import './chunk-PXIFUMLA.js';
|
|
11
12
|
import './chunk-6AMNEX2Y.js';
|
|
12
13
|
import './chunk-G77IGC3Y.js';
|
package/dist/templates.js
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
export { TemplatePreview, TemplatesPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { TemplatePreview, TemplatesPage } from './chunk-T2UUYYVJ.js';
|
|
2
|
+
import './chunk-DQ2ZCXYX.js';
|
|
3
3
|
import './chunk-GEMNVFPK.js';
|
|
4
4
|
import './chunk-B6CCE2RW.js';
|
|
5
5
|
import './chunk-IEVSFCFS.js';
|
|
6
6
|
import './chunk-YXMFRQYV.js';
|
|
7
7
|
import './chunk-BQXVT32O.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import './chunk-MR2B67NW.js';
|
|
9
|
+
import './chunk-CRDG2SQQ.js';
|
|
10
|
+
import './chunk-WF6GMBR4.js';
|
|
11
|
+
import './chunk-F7DD7BOB.js';
|
|
12
|
+
import './chunk-JDLQ6QIB.js';
|
|
10
13
|
import './chunk-PZ45H72P.js';
|
|
11
14
|
import './chunk-Y53CVZVV.js';
|
|
12
15
|
import './chunk-FNZZ5JJL.js';
|
|
13
|
-
import './chunk-
|
|
16
|
+
import './chunk-LWLHPVIA.js';
|
|
14
17
|
import './chunk-PJAWNFJV.js';
|
|
15
18
|
import './chunk-GLYINMOR.js';
|
|
16
19
|
import './chunk-7KKYIRLH.js';
|
|
17
|
-
import './chunk-YOLPHVOE.js';
|
|
18
20
|
import './chunk-4VJ3MDOV.js';
|
|
19
|
-
import './chunk-
|
|
21
|
+
import './chunk-NZJWKVER.js';
|
|
20
22
|
import './chunk-ZUVFD5KV.js';
|
|
21
23
|
import './chunk-JL7CASN5.js';
|
|
24
|
+
import './chunk-OCJTTHTS.js';
|
|
22
25
|
import './chunk-PXIFUMLA.js';
|
|
23
26
|
import './chunk-6AMNEX2Y.js';
|
|
24
27
|
import './chunk-G77IGC3Y.js';
|
package/dist/workflow-builder.js
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
export { WorkflowBuilder, WorkflowBuilderCore, WorkflowSearchRedirect } from './chunk-
|
|
2
|
-
export { WorkflowBuilder as WorkflowBuilderPage } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { WorkflowBuilder, WorkflowBuilderCore, WorkflowSearchRedirect } from './chunk-3ERT6FQK.js';
|
|
2
|
+
export { WorkflowBuilder as WorkflowBuilderPage } from './chunk-YSXNJGCY.js';
|
|
3
|
+
import './chunk-26HGYPBC.js';
|
|
4
4
|
import './chunk-PIKYQE7P.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-DQ2ZCXYX.js';
|
|
6
6
|
import './chunk-GEMNVFPK.js';
|
|
7
7
|
import './chunk-B6CCE2RW.js';
|
|
8
8
|
import './chunk-IEVSFCFS.js';
|
|
9
9
|
import './chunk-YXMFRQYV.js';
|
|
10
10
|
import './chunk-BQXVT32O.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-MR2B67NW.js';
|
|
12
|
+
import './chunk-CRDG2SQQ.js';
|
|
13
|
+
import './chunk-WF6GMBR4.js';
|
|
14
|
+
import './chunk-F7DD7BOB.js';
|
|
15
|
+
import './chunk-JDLQ6QIB.js';
|
|
13
16
|
import './chunk-PZ45H72P.js';
|
|
14
17
|
import './chunk-Y53CVZVV.js';
|
|
15
|
-
import './chunk-
|
|
18
|
+
import './chunk-LWLHPVIA.js';
|
|
16
19
|
import './chunk-GLYINMOR.js';
|
|
17
20
|
import './chunk-7KKYIRLH.js';
|
|
18
|
-
import './chunk-YOLPHVOE.js';
|
|
19
21
|
import './chunk-4VJ3MDOV.js';
|
|
20
|
-
export { refetchStoreNodes, useFlowStore } from './chunk-
|
|
22
|
+
export { refetchStoreNodes, useFlowStore } from './chunk-NZJWKVER.js';
|
|
21
23
|
import './chunk-ZUVFD5KV.js';
|
|
22
24
|
import './chunk-JL7CASN5.js';
|
|
25
|
+
import './chunk-OCJTTHTS.js';
|
|
23
26
|
import './chunk-PXIFUMLA.js';
|
|
24
27
|
import './chunk-6AMNEX2Y.js';
|
|
25
28
|
import './chunk-G77IGC3Y.js';
|
package/dist/workflows-list.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
export { WorkflowsList } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { WorkflowsList } from './chunk-W7MTSATB.js';
|
|
2
|
+
import './chunk-26HGYPBC.js';
|
|
3
|
+
import './chunk-LYTR6IQO.js';
|
|
4
4
|
import './chunk-5ERAJC2I.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-WF6GMBR4.js';
|
|
6
6
|
import './chunk-FNZZ5JJL.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-LWLHPVIA.js';
|
|
8
8
|
import './chunk-PJAWNFJV.js';
|
|
9
9
|
import './chunk-7KKYIRLH.js';
|
|
10
10
|
import './chunk-4VJ3MDOV.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-NZJWKVER.js';
|
|
12
12
|
import './chunk-ZUVFD5KV.js';
|
|
13
13
|
import './chunk-JL7CASN5.js';
|
|
14
|
+
import './chunk-OCJTTHTS.js';
|
|
14
15
|
import './chunk-PXIFUMLA.js';
|
|
15
16
|
import './chunk-6AMNEX2Y.js';
|
|
16
17
|
import './chunk-G77IGC3Y.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/fluidgrids-fe-sdk",
|
|
3
|
-
"version": "2026.1101.
|
|
3
|
+
"version": "2026.1101.2",
|
|
4
4
|
"description": "FluidGrids Workflow Builder SDK - Embeddable visual workflow automation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"imports": {
|
|
@@ -56,6 +56,9 @@
|
|
|
56
56
|
"dist",
|
|
57
57
|
"README.md"
|
|
58
58
|
],
|
|
59
|
+
"sideEffects": [
|
|
60
|
+
"**/*.css"
|
|
61
|
+
],
|
|
59
62
|
"scripts": {
|
|
60
63
|
"dev": "tsup --watch",
|
|
61
64
|
"build": "tsup && cp src/styles/index.css dist/styles.css",
|