@burdenoff/fluidgrids-fe-sdk 2026.1107.1 → 2026.1108.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/{ExecutionDetailPage-TQST7JKC.js → ExecutionDetailPage-STW6RPK6.js} +7 -7
- package/dist/{ExecutionsListPage-QQKEGXSC.js → ExecutionsListPage-753XDOTM.js} +6 -6
- package/dist/{MissingNodesInstallModal-OSAJLIBE.js → MissingNodesInstallModal-Q6OPULJU.js} +2 -1
- package/dist/{TemplateConfigurationModal-SILENYXX.js → TemplateConfigurationModal-PWCDDPKT.js} +2 -1
- package/dist/{TemplateDetailPanel-7MPY5MYT.js → TemplateDetailPanel-ZTYXKWRI.js} +2 -1
- package/dist/{WorkflowBuilder-R7VIOVRO.js → WorkflowBuilder-HY3PZZVD.js} +10 -8
- package/dist/{WorkflowsList-2WX7N526.js → WorkflowsList-YFDT7ZPX.js} +7 -7
- package/dist/{agentTools-MEEGOAE2.js → agentTools-3UQNOO7V.js} +3 -3
- package/dist/{chunk-4F54UT62.js → chunk-26GYGAC5.js} +13 -10
- package/dist/{chunk-ZWDKN6PU.js → chunk-2CM26W2I.js} +1 -1
- package/dist/{chunk-WBVBRXDI.js → chunk-36TEHKVN.js} +5 -5
- package/dist/{chunk-MYAFMXFI.js → chunk-3QV3L3YY.js} +1 -1
- package/dist/{chunk-MESGVHUU.js → chunk-47OW3OM5.js} +3 -3
- package/dist/{chunk-TDFC5U66.js → chunk-4OZISYDF.js} +1 -1
- package/dist/{chunk-HUCRE45R.js → chunk-5OVWMFPL.js} +3 -0
- package/dist/{chunk-CTKWMPQQ.js → chunk-63X5ORDO.js} +2 -0
- package/dist/{chunk-RI4NFNDX.js → chunk-F522K3P5.js} +5 -5
- package/dist/{chunk-PYSEOWLW.js → chunk-HPYXHIRI.js} +4 -4
- package/dist/{chunk-JOOGRWYY.js → chunk-HRZMKJEC.js} +3 -3
- package/dist/{chunk-752BT4WM.js → chunk-I23KAUR6.js} +1 -1
- package/dist/{chunk-NSDBXKIC.js → chunk-JXJ2DESW.js} +2 -2
- package/dist/{chunk-VKC3ICRA.js → chunk-ODWKSYMZ.js} +4 -4
- package/dist/{chunk-V2K4HJY4.js → chunk-PF7XQA2S.js} +1 -1
- package/dist/{chunk-5KK3ALQ4.js → chunk-QHRRYTOL.js} +1 -1
- package/dist/{chunk-BQXVT32O.js → chunk-QJAZXCFQ.js} +1 -23
- package/dist/chunk-TFCIZFDM.js +28 -0
- package/dist/{chunk-HY3XCZLB.js → chunk-TKHW2G7O.js} +5 -5
- package/dist/{chunk-KXCJPWYE.js → chunk-TYE252O5.js} +1 -1
- package/dist/{chunk-GA3V3X7Q.js → chunk-WX5BNZVX.js} +2 -2
- package/dist/{chunk-ZTZNQ5GF.js → chunk-XAXZ4T6H.js} +1 -1
- package/dist/chunk-XRGAH6IQ.js +110 -0
- package/dist/{chunk-E3PNEIBJ.js → chunk-YQOXXM5V.js} +5 -5
- package/dist/{chunk-BLLBUHVF.js → chunk-ZKRDO4IG.js} +1 -1
- package/dist/executions.js +8 -8
- package/dist/history.js +4 -4
- package/dist/index.d.ts +19 -4
- package/dist/index.js +38 -34
- package/dist/{node-detail-view-AQCGO4XQ.js → node-detail-view-GFC3UDYD.js} +6 -6
- package/dist/nodes.js +4 -1
- package/dist/observability.js +4 -4
- package/dist/{quick-config-panel-G3T4JCF6.js → quick-config-panel-6XUUXIHX.js} +5 -5
- package/dist/settings.js +5 -5
- package/dist/templates.js +9 -7
- package/dist/{workflow-builder-C261exmL.d.ts → workflow-builder-D7eMRluc.d.ts} +3 -1
- package/dist/workflow-builder.d.ts +1 -1
- package/dist/workflow-builder.js +11 -9
- package/dist/workflows-list.js +7 -7
- package/package.json +1 -1
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { buttonVariants } from './chunk-QJAZXCFQ.js';
|
|
2
|
+
import { cn } from './chunk-JL7CASN5.js';
|
|
3
|
+
import { useTr } from './chunk-UULVIT25.js';
|
|
4
|
+
import { getFluidGridsConfig } from './chunk-UEG2WC3G.js';
|
|
5
|
+
import { useInRouterContext, useNavigate } from 'react-router';
|
|
6
|
+
import { Icon } from '@iconify/react';
|
|
7
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
// src/utils/devportal-link.ts
|
|
10
|
+
var DEVPORTAL_NODE_APPS_PATH = "/apps";
|
|
11
|
+
function hasUnsafeCharacter(value) {
|
|
12
|
+
for (let i = 0; i < value.length; i++) {
|
|
13
|
+
const code = value.charCodeAt(i);
|
|
14
|
+
if (code < 32 || code === 127 || value[i] === "\\") return true;
|
|
15
|
+
}
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
function resolveDevportalLink(basePath, subpath = DEVPORTAL_NODE_APPS_PATH) {
|
|
19
|
+
const base = basePath?.trim();
|
|
20
|
+
if (!base) return null;
|
|
21
|
+
if (hasUnsafeCharacter(base)) return null;
|
|
22
|
+
const suffix = `/${subpath.replace(/^\/+/, "")}`.replace(/\/+$/, "");
|
|
23
|
+
if (base.startsWith("/")) {
|
|
24
|
+
if (base.startsWith("//")) return null;
|
|
25
|
+
const root2 = base.replace(/\/+$/, "");
|
|
26
|
+
return { href: `${root2}${suffix}` || "/", external: false };
|
|
27
|
+
}
|
|
28
|
+
let url;
|
|
29
|
+
try {
|
|
30
|
+
url = new URL(base);
|
|
31
|
+
} catch {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
if (url.protocol !== "https:" && url.protocol !== "http:") return null;
|
|
35
|
+
if (url.username || url.password) return null;
|
|
36
|
+
const root = `${url.origin}${url.pathname.replace(/\/+$/, "")}`;
|
|
37
|
+
return { href: `${root}${suffix}`, external: true };
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// src/utils/plain-click.ts
|
|
41
|
+
function isPlainLeftClick(event) {
|
|
42
|
+
return event.button === 0 && !event.defaultPrevented && !event.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey;
|
|
43
|
+
}
|
|
44
|
+
var KEY = "fluidgrids.nodes.publishCustomNode";
|
|
45
|
+
function RouterLink({
|
|
46
|
+
link,
|
|
47
|
+
className,
|
|
48
|
+
children
|
|
49
|
+
}) {
|
|
50
|
+
const navigate = useNavigate();
|
|
51
|
+
const onClick = (event) => {
|
|
52
|
+
if (!isPlainLeftClick(event)) return;
|
|
53
|
+
event.preventDefault();
|
|
54
|
+
void navigate(link.href);
|
|
55
|
+
};
|
|
56
|
+
return /* @__PURE__ */ jsx(
|
|
57
|
+
"a",
|
|
58
|
+
{
|
|
59
|
+
href: link.href,
|
|
60
|
+
onClick,
|
|
61
|
+
className,
|
|
62
|
+
"data-testid": "publish-custom-node",
|
|
63
|
+
children
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
function PublishCustomNodeAction({
|
|
68
|
+
appearance = "button",
|
|
69
|
+
className,
|
|
70
|
+
devportalBasePath
|
|
71
|
+
}) {
|
|
72
|
+
const tr = useTr();
|
|
73
|
+
const inRouter = useInRouterContext();
|
|
74
|
+
const link = resolveDevportalLink(
|
|
75
|
+
devportalBasePath ?? getFluidGridsConfig().devportalBasePath
|
|
76
|
+
);
|
|
77
|
+
if (!link) return null;
|
|
78
|
+
const label = tr(`${KEY}.label`, "Publish a custom node");
|
|
79
|
+
const classes = appearance === "button" ? cn(buttonVariants({ variant: "default" }), className) : cn(
|
|
80
|
+
"flex w-full items-center gap-2 rounded-md px-2 py-2 text-xs font-medium text-primary transition-colors hover:bg-muted/60 hover:text-primary/80",
|
|
81
|
+
className
|
|
82
|
+
);
|
|
83
|
+
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
84
|
+
/* @__PURE__ */ jsx(
|
|
85
|
+
Icon,
|
|
86
|
+
{
|
|
87
|
+
icon: "mdi:upload",
|
|
88
|
+
width: 16,
|
|
89
|
+
className: appearance === "button" ? "mr-2" : "size-4 shrink-0",
|
|
90
|
+
"aria-hidden": "true"
|
|
91
|
+
}
|
|
92
|
+
),
|
|
93
|
+
/* @__PURE__ */ jsx("span", { className: appearance === "compact" ? "truncate" : void 0, children: label })
|
|
94
|
+
] });
|
|
95
|
+
if (!link.external && inRouter) {
|
|
96
|
+
return /* @__PURE__ */ jsx(RouterLink, { link, className: classes, children: content });
|
|
97
|
+
}
|
|
98
|
+
return /* @__PURE__ */ jsx(
|
|
99
|
+
"a",
|
|
100
|
+
{
|
|
101
|
+
href: link.href,
|
|
102
|
+
className: classes,
|
|
103
|
+
"data-testid": "publish-custom-node",
|
|
104
|
+
...link.external ? { target: "_blank", rel: "noopener noreferrer" } : {},
|
|
105
|
+
children: content
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { DEVPORTAL_NODE_APPS_PATH, PublishCustomNodeAction, resolveDevportalLink };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useNodeSelectedEvent, Card, FluidGridsMark } from './chunk-
|
|
1
|
+
import { useNodeSelectedEvent, Card, FluidGridsMark } from './chunk-26GYGAC5.js';
|
|
2
2
|
import { Input } from './chunk-IEVSFCFS.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { FluidGridsProvider } from './chunk-
|
|
6
|
-
import { cn } from './chunk-JL7CASN5.js';
|
|
3
|
+
import { useWorkflowDefinition } from './chunk-PF7XQA2S.js';
|
|
4
|
+
import { Button } from './chunk-QJAZXCFQ.js';
|
|
5
|
+
import { FluidGridsProvider } from './chunk-5OVWMFPL.js';
|
|
7
6
|
import { useFlowStore } from './chunk-UZJKX5FN.js';
|
|
7
|
+
import { cn } from './chunk-JL7CASN5.js';
|
|
8
8
|
import { useTr } from './chunk-UULVIT25.js';
|
|
9
9
|
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
10
10
|
import { MarkerType, ReactFlowProvider, useReactFlow, ReactFlow, Background, Controls, MiniMap, Handle, Position } from '@xyflow/react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LOG_STREAM_DESTINATIONS, CREATE_LOG_STREAM_DESTINATION, UPDATE_LOG_STREAM_DESTINATION, DELETE_LOG_STREAM_DESTINATION, TEST_LOG_STREAM_DESTINATION, REPLAY_WORKFLOW_RUN, RETRY_WORKFLOW_RUNS, OBSERVABILITY_DASHBOARD_SUMMARY, OBSERVABILITY_FAILED_RUNS, OBSERVABILITY_DATA_SINKS, OBSERVABILITY_DATA_SINK_DATA } from './chunk-5ERAJC2I.js';
|
|
2
|
-
import { useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt, useFluidGridsFlag, FLUIDGRIDS_FLAGS } from './chunk-
|
|
2
|
+
import { useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt, useFluidGridsFlag, FLUIDGRIDS_FLAGS } from './chunk-5OVWMFPL.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
5
5
|
import { throwIfResultError, describeOperationError, emitFluidGridsEvent } from './chunk-JKLZ6YZ3.js';
|
package/dist/executions.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './chunk-AD3BXTJS.js';
|
|
2
|
-
export { ExecutionDetailPage } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
export { ExecutionsListPage } from './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
2
|
+
export { ExecutionDetailPage } from './chunk-36TEHKVN.js';
|
|
3
|
+
import './chunk-XAXZ4T6H.js';
|
|
4
|
+
export { ExecutionsListPage } from './chunk-ODWKSYMZ.js';
|
|
5
|
+
import './chunk-WX5BNZVX.js';
|
|
6
|
+
import './chunk-2CM26W2I.js';
|
|
7
7
|
import './chunk-NZMUKAXG.js';
|
|
8
8
|
import './chunk-NZAYYUQ4.js';
|
|
9
9
|
import './chunk-EXJW7EKR.js';
|
|
@@ -14,19 +14,19 @@ import './chunk-JDLQ6QIB.js';
|
|
|
14
14
|
import './chunk-KHS2DZHH.js';
|
|
15
15
|
import './chunk-Y53CVZVV.js';
|
|
16
16
|
import './chunk-FNZZ5JJL.js';
|
|
17
|
-
import './chunk-
|
|
17
|
+
import './chunk-PF7XQA2S.js';
|
|
18
18
|
import './chunk-PJAWNFJV.js';
|
|
19
19
|
import './chunk-H4ERTSMX.js';
|
|
20
20
|
import './chunk-4VJ3MDOV.js';
|
|
21
|
-
import './chunk-
|
|
21
|
+
import './chunk-5OVWMFPL.js';
|
|
22
22
|
import './chunk-5375NUIO.js';
|
|
23
|
-
import './chunk-JL7CASN5.js';
|
|
24
23
|
import './chunk-SDZEAIIE.js';
|
|
25
24
|
import './chunk-UZJKX5FN.js';
|
|
26
25
|
import './chunk-Y7FKJJMF.js';
|
|
27
26
|
import './chunk-TYI2XOSI.js';
|
|
28
27
|
import './chunk-G77IGC3Y.js';
|
|
29
28
|
import './chunk-Z3ABLERJ.js';
|
|
29
|
+
import './chunk-JL7CASN5.js';
|
|
30
30
|
import './chunk-UULVIT25.js';
|
|
31
31
|
import './chunk-PDODDDHY.js';
|
|
32
32
|
import './chunk-JKLZ6YZ3.js';
|
package/dist/history.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { HistoryPage } from './chunk-
|
|
1
|
+
export { HistoryPage } from './chunk-TYE252O5.js';
|
|
2
2
|
import './chunk-OHKSDHNC.js';
|
|
3
3
|
import './chunk-KE677WYY.js';
|
|
4
4
|
import './chunk-FNZZ5JJL.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-PF7XQA2S.js';
|
|
6
6
|
import './chunk-PJAWNFJV.js';
|
|
7
7
|
import './chunk-4VJ3MDOV.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-5OVWMFPL.js';
|
|
9
9
|
import './chunk-5375NUIO.js';
|
|
10
|
-
import './chunk-JL7CASN5.js';
|
|
11
10
|
import './chunk-SDZEAIIE.js';
|
|
12
11
|
import './chunk-UZJKX5FN.js';
|
|
13
12
|
import './chunk-Y7FKJJMF.js';
|
|
14
13
|
import './chunk-TYI2XOSI.js';
|
|
15
14
|
import './chunk-G77IGC3Y.js';
|
|
16
15
|
import './chunk-Z3ABLERJ.js';
|
|
16
|
+
import './chunk-JL7CASN5.js';
|
|
17
17
|
import './chunk-UULVIT25.js';
|
|
18
18
|
import './chunk-PDODDDHY.js';
|
|
19
19
|
import './chunk-JKLZ6YZ3.js';
|