@burdenoff/fluidgrids-fe-sdk 2026.1106.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-OOHJQR2L.js → ExecutionDetailPage-STW6RPK6.js} +8 -8
- package/dist/{ExecutionsListPage-6HS5VQOV.js → ExecutionsListPage-753XDOTM.js} +7 -7
- 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-PICIS7FI.js → WorkflowBuilder-HY3PZZVD.js} +15 -13
- package/dist/{WorkflowsList-SD5XQC4Q.js → WorkflowsList-YFDT7ZPX.js} +8 -8
- package/dist/{agentTools-UH4LU6LA.js → agentTools-3UQNOO7V.js} +5 -5
- package/dist/assistant.d.ts +1 -61
- package/dist/{chunk-OTOQFZFO.js → chunk-26GYGAC5.js} +17 -14
- package/dist/{chunk-WC526MLS.js → chunk-2CM26W2I.js} +1 -1
- package/dist/{chunk-GPABUQTD.js → chunk-36TEHKVN.js} +5 -5
- package/dist/{chunk-WBRW67HX.js → chunk-3QV3L3YY.js} +2 -2
- package/dist/{chunk-OLRIWGYM.js → chunk-47OW3OM5.js} +4 -4
- package/dist/{chunk-JRLBPR5U.js → chunk-4OZISYDF.js} +1 -1
- package/dist/{chunk-HSTP2RX3.js → chunk-5OVWMFPL.js} +4 -1
- package/dist/{chunk-CTKWMPQQ.js → chunk-63X5ORDO.js} +2 -0
- package/dist/{chunk-M72SMQOS.js → chunk-F522K3P5.js} +6 -6
- package/dist/{chunk-4XAXF5VP.js → chunk-HPYXHIRI.js} +4 -4
- package/dist/{chunk-UWCD7JUU.js → chunk-HRZMKJEC.js} +4 -4
- package/dist/{chunk-Y4UCHFGK.js → chunk-I23KAUR6.js} +1 -1
- package/dist/{chunk-43GSC5Y6.js → chunk-JRSCUUBT.js} +1 -1
- package/dist/{chunk-GBJWPSLJ.js → chunk-JXJ2DESW.js} +2 -2
- package/dist/{chunk-6VIG44VF.js → chunk-KE677WYY.js} +1 -1
- package/dist/{chunk-XWINH6CR.js → chunk-NMYENCP2.js} +1 -1
- package/dist/{chunk-UIS7KGHW.js → chunk-ODWKSYMZ.js} +4 -4
- package/dist/{chunk-5Z4F24QT.js → chunk-OHKSDHNC.js} +1 -1
- package/dist/{chunk-EIMTOK6E.js → chunk-PF7XQA2S.js} +1 -1
- package/dist/{chunk-XNARCHMT.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-LLCVVRCE.js → chunk-TKHW2G7O.js} +7 -7
- package/dist/{chunk-5GG2FEKW.js → chunk-TYE252O5.js} +2 -2
- package/dist/{chunk-TGWDFLEX.js → chunk-UZJKX5FN.js} +5 -4
- package/dist/{chunk-UYTPURFW.js → chunk-WX5BNZVX.js} +2 -2
- package/dist/{chunk-ASYYYJG2.js → chunk-XAXZ4T6H.js} +1 -1
- package/dist/chunk-XRGAH6IQ.js +110 -0
- package/dist/{chunk-GBQC5WDH.js → chunk-YQOXXM5V.js} +5 -5
- package/dist/{chunk-KJT5TAOE.js → chunk-ZKRDO4IG.js} +1 -1
- package/dist/executions.js +9 -9
- package/dist/history.js +7 -7
- package/dist/index.d.ts +23 -25759
- package/dist/index.js +43 -39
- package/dist/{node-detail-view-P5NV5CMO.js → node-detail-view-GFC3UDYD.js} +8 -8
- package/dist/nodes.js +4 -1
- package/dist/observability.js +5 -5
- package/dist/pageControlsBridge-kfcowd-2.d.ts +37 -0
- package/dist/{quick-config-panel-ZNSBVF4G.js → quick-config-panel-6XUUXIHX.js} +6 -6
- package/dist/settings.d.ts +0 -8
- package/dist/settings.js +6 -6
- package/dist/templates.d.ts +0 -10
- package/dist/templates.js +14 -12
- package/dist/workflow-builder-D7eMRluc.d.ts +690 -0
- package/dist/workflow-builder.d.ts +1 -1
- package/dist/workflow-builder.js +16 -14
- package/dist/workflow-preview.d.ts +0 -95
- package/dist/workflow-preview.js +2 -2
- package/dist/workflows-list.js +8 -8
- package/package.json +1 -1
- package/dist/pageControlsBridge-D6y36qi5.d.ts +0 -87
- package/dist/workflow-builder-C-ekFbwR.d.ts +0 -1210
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useRunStatusCounts, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination, runStatusLabels } from './chunk-
|
|
2
|
-
import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, WORKFLOW_ID_MAX_LENGTH } from './chunk-
|
|
3
|
-
import { useWorkflowDefinitions } from './chunk-
|
|
1
|
+
import { useRunStatusCounts, ExecutionStats, ExecutionFilters, ExecutionTable, ExecutionCards, ExecutionTimeline, Pagination, runStatusLabels } from './chunk-WX5BNZVX.js';
|
|
2
|
+
import { useExecutionsWithStore, useExecutionStats, useExecutionActions, useAutoRefresh, WORKFLOW_ID_MAX_LENGTH } from './chunk-2CM26W2I.js';
|
|
3
|
+
import { useWorkflowDefinitions } from './chunk-PF7XQA2S.js';
|
|
4
4
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
5
|
-
import { useDurableParityEnabled } from './chunk-
|
|
5
|
+
import { useDurableParityEnabled } from './chunk-5OVWMFPL.js';
|
|
6
6
|
import { useTr } from './chunk-UULVIT25.js';
|
|
7
7
|
import { useExecutionsStore } from './chunk-UEG2WC3G.js';
|
|
8
8
|
import { useRef, useCallback, useMemo, useState, useEffect } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { canvasFromDefinition } from './chunk-
|
|
1
|
+
import { canvasFromDefinition } from './chunk-KE677WYY.js';
|
|
2
2
|
import { WorkflowDefinitionDocument, WorkflowVersionDiffDocument } from './chunk-Z3ABLERJ.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFluidGridsAnalytics, emitWorkflowCreated, emitRunStarted, runTriggerFromMode, openRunQuotaUpgradePrompt, emitWorkflowPublished } from './chunk-
|
|
1
|
+
import { useFluidGridsAnalytics, emitWorkflowCreated, emitRunStarted, runTriggerFromMode, openRunQuotaUpgradePrompt, emitWorkflowPublished } from './chunk-5OVWMFPL.js';
|
|
2
2
|
import { WorkflowDefinitionsDocument, WorkflowDefinitionDocument, WorkflowVersionsDocument, CreateWorkflowDefinitionDocument, ImportWorkflowDocument, PreviewN8nImportDocument, UpdateWorkflowDefinitionDocument, CreateWorkflowVersionDocument, DeleteWorkflowDefinitionDocument, DuplicateWorkflowDocument, RestoreWorkflowVersionDocument, TriggerWorkflowDocument, WorkflowRunsDocument, WorkflowRunDocument, DashboardSummaryDocument, ActivateWorkflowDefinitionDocument, DeactivateWorkflowDefinitionDocument } from './chunk-Z3ABLERJ.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { emptyAgentForm, agentToForm, describeRule, formToInput, AgentFormError, DEFAULT_GRANT_DAYS, MAX_GRANT_DAYS, grantDays } from './chunk-WZ3EJVS6.js';
|
|
2
|
-
import { useAgentDefinitions, useAgentDefinitionList, useConnections } from './chunk-
|
|
2
|
+
import { useAgentDefinitions, useAgentDefinitionList, useConnections } from './chunk-5OVWMFPL.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { describeOperationError } from './chunk-JKLZ6YZ3.js';
|
|
5
5
|
import { useState, useCallback, useEffect } from 'react';
|
|
@@ -50,27 +50,5 @@ function Button({
|
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
|
-
var badgeVariants = cva(
|
|
54
|
-
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
55
|
-
{
|
|
56
|
-
variants: {
|
|
57
|
-
variant: {
|
|
58
|
-
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
59
|
-
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
60
|
-
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
|
|
61
|
-
outline: "text-foreground",
|
|
62
|
-
success: "border-transparent bg-status-success-bg-subtle text-status-success-text",
|
|
63
|
-
warning: "border-transparent bg-status-warning-bg-subtle text-status-warning-text",
|
|
64
|
-
info: "border-transparent bg-status-info-bg-subtle text-status-info-text"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
defaultVariants: {
|
|
68
|
-
variant: "default"
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
);
|
|
72
|
-
function Badge({ className, variant, ...props }) {
|
|
73
|
-
return /* @__PURE__ */ jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
|
|
74
|
-
}
|
|
75
53
|
|
|
76
|
-
export {
|
|
54
|
+
export { Button, buttonVariants };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { cn } from './chunk-JL7CASN5.js';
|
|
2
|
+
import { cva } from 'class-variance-authority';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var badgeVariants = cva(
|
|
6
|
+
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
11
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
12
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
|
|
13
|
+
outline: "text-foreground",
|
|
14
|
+
success: "border-transparent bg-status-success-bg-subtle text-status-success-text",
|
|
15
|
+
warning: "border-transparent bg-status-warning-bg-subtle text-status-warning-text",
|
|
16
|
+
info: "border-transparent bg-status-info-bg-subtle text-status-info-text"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
defaultVariants: {
|
|
20
|
+
variant: "default"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
function Badge({ className, variant, ...props }) {
|
|
25
|
+
return /* @__PURE__ */ jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { Badge, badgeVariants };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { isGuidedTourIntent, pickGuidedTour, withoutGuidedTourIntent, isCreateIntent, CreateWorkflowRefusalDialog, decideMissingWorkflow } from './chunk-
|
|
1
|
+
import { isGuidedTourIntent, pickGuidedTour, withoutGuidedTourIntent, isCreateIntent, CreateWorkflowRefusalDialog, decideMissingWorkflow } from './chunk-I23KAUR6.js';
|
|
2
2
|
import { registerLiveCanvasHandler } from './chunk-PIKYQE7P.js';
|
|
3
|
-
import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-
|
|
4
|
-
import { canvasFromDefinition } from './chunk-
|
|
5
|
-
import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-
|
|
6
|
-
import { refetchStoreNodes, BILLING_PLANS_PATH, codeBuildIdOf, rememberRevision, blankWorkflowCreateInput, classifyCreateRefusal, useSaveStatusStore, workflowFingerprint, registerWorkflowNodeTypes } from './chunk-
|
|
7
|
-
import { useFlowStore, mergeStickyNotes } from './chunk-
|
|
3
|
+
import { useWorkflowReloadStore, releaseLeaseKeptForReload, useInstalledNodes, buildNodeCheck, FlowBuilderPage, buildRequiredNodeTypes } from './chunk-26GYGAC5.js';
|
|
4
|
+
import { canvasFromDefinition } from './chunk-KE677WYY.js';
|
|
5
|
+
import { useLazyWorkflowDefinition, useCreateWorkflow } from './chunk-PF7XQA2S.js';
|
|
6
|
+
import { refetchStoreNodes, BILLING_PLANS_PATH, codeBuildIdOf, rememberRevision, blankWorkflowCreateInput, classifyCreateRefusal, useSaveStatusStore, workflowFingerprint, registerWorkflowNodeTypes } from './chunk-5OVWMFPL.js';
|
|
7
|
+
import { useFlowStore, mergeStickyNotes } from './chunk-UZJKX5FN.js';
|
|
8
8
|
import { WorkflowDefinitionDocument } from './chunk-Z3ABLERJ.js';
|
|
9
9
|
import { useTr } from './chunk-UULVIT25.js';
|
|
10
10
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
@@ -726,7 +726,7 @@ function GuidedTourStarter({ ready }) {
|
|
|
726
726
|
return /* @__PURE__ */ jsx(StartGuidedTour, {});
|
|
727
727
|
}
|
|
728
728
|
var LazyMissingNodesInstallModal = lazy(
|
|
729
|
-
() => import('./MissingNodesInstallModal-
|
|
729
|
+
() => import('./MissingNodesInstallModal-Q6OPULJU.js').then(
|
|
730
730
|
(m) => ({ default: m.MissingNodesInstallModal })
|
|
731
731
|
)
|
|
732
732
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { versionsOfWorkflow, VersionDiffDialog } from './chunk-
|
|
1
|
+
import { versionsOfWorkflow, VersionDiffDialog } from './chunk-OHKSDHNC.js';
|
|
2
2
|
import { historyControls } from './chunk-FNZZ5JJL.js';
|
|
3
|
-
import { useWorkflowDefinitions, useRestoreWorkflowVersion } from './chunk-
|
|
3
|
+
import { useWorkflowDefinitions, useRestoreWorkflowVersion } from './chunk-PF7XQA2S.js';
|
|
4
4
|
import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
5
5
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
6
6
|
import { useTr } from './chunk-UULVIT25.js';
|
|
@@ -1055,10 +1055,11 @@ var NodeCard = React.forwardRef(
|
|
|
1055
1055
|
hovered ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0"
|
|
1056
1056
|
),
|
|
1057
1057
|
style: {
|
|
1058
|
-
// Inline offset
|
|
1059
|
-
// app's Tailwind scan of fe-sdk
|
|
1060
|
-
// utilities. The toolbar is
|
|
1061
|
-
// the card's top edge (half
|
|
1058
|
+
// Inline offset instead of a Tailwind negative-top spacing
|
|
1059
|
+
// utility so it survives the host app's Tailwind scan of fe-sdk
|
|
1060
|
+
// source, which drops some spacing utilities. The toolbar is
|
|
1061
|
+
// ~30px tall; top:-15px centers it on the card's top edge (half
|
|
1062
|
+
// outside, half over the card).
|
|
1062
1063
|
top: -15,
|
|
1063
1064
|
transform: hovered ? "translateY(0)" : "translateY(4px)"
|
|
1064
1065
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { validateDateRange, statusCountFilter, STATUS_COUNT_GROUP_BY, statusCountsOf } from './chunk-
|
|
1
|
+
import { validateDateRange, statusCountFilter, STATUS_COUNT_GROUP_BY, statusCountsOf } from './chunk-2CM26W2I.js';
|
|
2
2
|
import { isAgentNodeType } from './chunk-WZ3EJVS6.js';
|
|
3
3
|
import { useAvailableTags, formatRunVersion, nodeDisplayTitle } from './chunk-KHS2DZHH.js';
|
|
4
4
|
import { executionsControls } from './chunk-FNZZ5JJL.js';
|
|
5
5
|
import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
6
|
-
import { useDurableParityEnabled, formatElapsedMs, runDurationMs, nodeStateDurationMs } from './chunk-
|
|
6
|
+
import { useDurableParityEnabled, formatElapsedMs, runDurationMs, nodeStateDurationMs } from './chunk-5OVWMFPL.js';
|
|
7
7
|
import { SetWorkflowRunVersioningOverrideDocument, WorkflowRunsCountDocument, DurableParityRunFieldsDocument, WorkflowRunPendingDocument, WorkflowRunMetadataDocument } from './chunk-Z3ABLERJ.js';
|
|
8
8
|
import { useTr } from './chunk-UULVIT25.js';
|
|
9
9
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { signalPayloadCard, components_default, payloadFromCardValues, parseRawSignalPayload } from './chunk-
|
|
1
|
+
import { signalPayloadCard, components_default, payloadFromCardValues, parseRawSignalPayload } from './chunk-5OVWMFPL.js';
|
|
2
2
|
import { TerminateWorkflowRunDocument, WorkflowRunHistoryDocument, RunEventAppendedDocument, DurableRunFieldsDocument, WorkflowRunDeterminismStatusDocument, WorkflowRunStackTraceDocument, SignalWorkflowRunDocument } from './chunk-Z3ABLERJ.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient, getFluidGridsClientSafe } from './chunk-PDODDDHY.js';
|
|
@@ -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-
|
|
3
|
+
import { useWorkflowDefinition } from './chunk-PF7XQA2S.js';
|
|
4
|
+
import { Button } from './chunk-QJAZXCFQ.js';
|
|
5
|
+
import { FluidGridsProvider } from './chunk-5OVWMFPL.js';
|
|
6
|
+
import { useFlowStore } from './chunk-UZJKX5FN.js';
|
|
6
7
|
import { cn } from './chunk-JL7CASN5.js';
|
|
7
|
-
import { useFlowStore } from './chunk-TGWDFLEX.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
|
-
import './chunk-
|
|
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-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { HistoryPage } from './chunk-TYE252O5.js';
|
|
2
|
+
import './chunk-OHKSDHNC.js';
|
|
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
|
-
import './chunk-
|
|
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';
|