@burdenoff/fluidgrids-fe-sdk 2026.1103.1 → 2026.1104.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-XHII23QR.js → ExecutionDetailPage-WNDMCMME.js} +11 -11
- package/dist/{ExecutionsListPage-GTCSYSC6.js → ExecutionsListPage-3KSHXY4G.js} +7 -7
- package/dist/{WorkflowBuilder-E5MFEECZ.js → WorkflowBuilder-LG7TFPU2.js} +12 -12
- package/dist/{WorkflowsList-NYSQEZWU.js → WorkflowsList-KB23QLNI.js} +7 -7
- package/dist/{agentTools-PA62A53S.js → agentTools-J7A22OD5.js} +4 -4
- package/dist/{chunk-6VODFT2Q.js → chunk-3HM6SO5A.js} +5 -5
- package/dist/{chunk-A7QPQ6MO.js → chunk-4C6XRZK6.js} +1 -1
- package/dist/{chunk-EFOJEQDS.js → chunk-4YB6BMV3.js} +22 -3
- package/dist/{chunk-DQLSF6GB.js → chunk-626EGC24.js} +6 -6
- package/dist/{chunk-XNVYPEBO.js → chunk-64WNLW7J.js} +2 -2
- package/dist/{chunk-PC3CICOW.js → chunk-7GI3457S.js} +1 -1
- package/dist/{chunk-SA474Y5U.js → chunk-7S6M2BYB.js} +3 -3
- package/dist/{chunk-B2DNUVKW.js → chunk-B5L7VBDH.js} +4 -4
- package/dist/{chunk-ZTJX5ONT.js → chunk-BJ5H5QV4.js} +4 -4
- package/dist/chunk-BOTM2YQG.js +18 -0
- package/dist/{chunk-4XV2DAVO.js → chunk-D46ZR6XI.js} +4 -4
- package/dist/{chunk-DLKGWGRN.js → chunk-D7DZB3MU.js} +1 -1
- package/dist/{chunk-JCHE4V55.js → chunk-FSU6LYGU.js} +1 -1
- package/dist/{chunk-JTQFBZTV.js → chunk-H3RSOHD5.js} +3 -2
- package/dist/{chunk-TJ2PFY7I.js → chunk-H5WEPFLT.js} +2 -2
- package/dist/{chunk-6O2B5NAK.js → chunk-IO2MKIEI.js} +30 -206
- package/dist/{chunk-W74MXVFX.js → chunk-JFG2XCJR.js} +1 -1
- package/dist/{chunk-QAXP5HON.js → chunk-L2MUO3VU.js} +2 -2
- package/dist/{chunk-UETHT3KG.js → chunk-LQ7KYFAK.js} +2 -2
- package/dist/{chunk-4FDMLKLL.js → chunk-MJGB6XAP.js} +25 -2
- package/dist/{chunk-OR7KZZ2D.js → chunk-N3WDPUGC.js} +1 -1
- package/dist/{chunk-VFLHURFM.js → chunk-OXDRU5GT.js} +1 -1
- package/dist/{chunk-7JLLH4YE.js → chunk-PN2XVTLA.js} +4 -4
- package/dist/{chunk-BDBSRN2O.js → chunk-PR6QP4R7.js} +10 -6
- package/dist/{chunk-P6IRD5SA.js → chunk-PXVHPGUB.js} +10 -10
- package/dist/{chunk-7SY2SL5Y.js → chunk-QA7O5PUG.js} +210 -8
- package/dist/{chunk-A4XNCGWT.js → chunk-QH5KODNH.js} +2 -2
- package/dist/{chunk-3Y4266JL.js → chunk-VB4STO5K.js} +3 -3
- package/dist/{chunk-CXNJKM4D.js → chunk-WFDNMJBW.js} +1 -1
- package/dist/{chunk-23LYGZ27.js → chunk-WWR7ZCS5.js} +354 -8
- package/dist/{chunk-PBCBDSVA.js → chunk-YGGPLCJD.js} +2 -2
- package/dist/executions.js +12 -12
- package/dist/history.js +5 -5
- package/dist/index.d.ts +257 -1
- package/dist/index.js +43 -43
- package/dist/{node-detail-view-KET5DNEH.js → node-detail-view-NWY5PDKY.js} +8 -8
- package/dist/nodes.js +2 -2
- package/dist/observability.js +5 -5
- package/dist/{quick-config-panel-L6CTZQUG.js → quick-config-panel-SCNELONP.js} +5 -5
- package/dist/settings.js +6 -6
- package/dist/templates.js +11 -11
- package/dist/workflow-builder.js +13 -13
- package/dist/workflows-list.js +7 -7
- package/package.json +1 -1
- package/dist/chunk-OUYEMZT6.js +0 -185
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { CreateWorkflowRefusalDialog, firstWorkflowProgress, GUIDED_TOUR_STATE, builderPathFor } from './chunk-
|
|
2
|
-
import { useExecutions } from './chunk-
|
|
3
|
-
import { useExportWorkflowAs, downloadWorkflowExport, importAcceptAttribute, QuotaExhaustedDialog, importFileKind, parseWorkflowImport, CODE_EXPORT_FORMATS, ImportSourceError, assertImportByteSize, MAX_IMPORT_ARCHIVE_BYTES, readProjectArchive, checkTypeScriptImport, MAX_IMPORT_SOURCE_BYTES, typeScriptModuleFile, typeScriptImportSource, workflowNameFromFile, primaryImportModule } from './chunk-
|
|
1
|
+
import { CreateWorkflowRefusalDialog, firstWorkflowProgress, GUIDED_TOUR_STATE, builderPathFor } from './chunk-FSU6LYGU.js';
|
|
2
|
+
import { useExecutions } from './chunk-L2MUO3VU.js';
|
|
3
|
+
import { useExportWorkflowAs, downloadWorkflowExport, importAcceptAttribute, QuotaExhaustedDialog, importFileKind, parseWorkflowImport, CODE_EXPORT_FORMATS, ImportSourceError, assertImportByteSize, MAX_IMPORT_ARCHIVE_BYTES, readProjectArchive, checkTypeScriptImport, MAX_IMPORT_SOURCE_BYTES, typeScriptModuleFile, typeScriptImportSource, workflowNameFromFile, primaryImportModule } from './chunk-MJGB6XAP.js';
|
|
4
4
|
import { workflowsListControls } from './chunk-FNZZ5JJL.js';
|
|
5
|
-
import { useCreateWorkflow, useWorkflowDefinitions, useLazyWorkflowDefinition, useImportWorkflow, useDuplicateWorkflow, useDeleteWorkflow } from './chunk-
|
|
5
|
+
import { useCreateWorkflow, useWorkflowDefinitions, useLazyWorkflowDefinition, useImportWorkflow, usePreviewN8nImport, useDuplicateWorkflow, useDeleteWorkflow } from './chunk-4YB6BMV3.js';
|
|
6
6
|
import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
7
7
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
8
|
-
import { createThenOpen, useFluidGridsFlag, FLUIDGRIDS_FLAGS, BILLING_PLANS_PATH, describeOperationError, useFlowStore, throwIfResultError, isQuotaExhaustedFailure } from './chunk-
|
|
8
|
+
import { createThenOpen, useFluidGridsFlag, FLUIDGRIDS_FLAGS, BILLING_PLANS_PATH, describeOperationError, useFlowStore, throwIfResultError, isQuotaExhaustedFailure } from './chunk-WWR7ZCS5.js';
|
|
9
9
|
import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, SdkPermissionButton, SdkPermissionGate } from './chunk-ZUVFD5KV.js';
|
|
10
|
-
import { WorkflowFoldersDocument, CreateWorkflowFolderDocument, RenameWorkflowFolderDocument, MoveWorkflowFolderDocument, DeleteWorkflowFolderDocument, WorkflowProjectsDocument, CreateWorkflowProjectDocument, RenameWorkflowProjectDocument, DeleteWorkflowProjectDocument, BulkMoveWorkflowsToFolderDocument, BulkAssignWorkflowsToProjectDocument, BulkDeleteWorkflowsDocument } from './chunk-
|
|
10
|
+
import { WorkflowFoldersDocument, CreateWorkflowFolderDocument, RenameWorkflowFolderDocument, MoveWorkflowFolderDocument, DeleteWorkflowFolderDocument, WorkflowProjectsDocument, CreateWorkflowProjectDocument, RenameWorkflowProjectDocument, DeleteWorkflowProjectDocument, BulkMoveWorkflowsToFolderDocument, BulkAssignWorkflowsToProjectDocument, BulkDeleteWorkflowsDocument } from './chunk-H3RSOHD5.js';
|
|
11
11
|
import { useTr } from './chunk-UULVIT25.js';
|
|
12
12
|
import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
13
13
|
import { useState, useRef, useCallback, useMemo, useEffect } from 'react';
|
|
@@ -698,6 +698,159 @@ var CardWorkflow = ({
|
|
|
698
698
|
)
|
|
699
699
|
] });
|
|
700
700
|
};
|
|
701
|
+
function Section({
|
|
702
|
+
title,
|
|
703
|
+
icon,
|
|
704
|
+
testId,
|
|
705
|
+
children
|
|
706
|
+
}) {
|
|
707
|
+
return /* @__PURE__ */ jsxs("div", { className: "space-y-1", "data-testid": testId, children: [
|
|
708
|
+
/* @__PURE__ */ jsxs("p", { className: "flex items-center gap-1.5 text-xs font-medium text-foreground", children: [
|
|
709
|
+
/* @__PURE__ */ jsx(Icon, { icon, className: "size-3.5 text-muted-foreground" }),
|
|
710
|
+
title
|
|
711
|
+
] }),
|
|
712
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-1 pl-5 text-xs text-muted-foreground", children })
|
|
713
|
+
] });
|
|
714
|
+
}
|
|
715
|
+
function keyed(entries, keyOf) {
|
|
716
|
+
const seen = /* @__PURE__ */ new Map();
|
|
717
|
+
for (const entry of entries) {
|
|
718
|
+
const key = keyOf(entry);
|
|
719
|
+
if (!seen.has(key)) seen.set(key, entry);
|
|
720
|
+
}
|
|
721
|
+
return [...seen.entries()];
|
|
722
|
+
}
|
|
723
|
+
function N8nImportReport({ report }) {
|
|
724
|
+
const tr = useTr();
|
|
725
|
+
return /* @__PURE__ */ jsxs(
|
|
726
|
+
"div",
|
|
727
|
+
{
|
|
728
|
+
className: "space-y-3 rounded-lg border border-border bg-background p-3",
|
|
729
|
+
"data-testid": "fluidgrids-import-n8n-report",
|
|
730
|
+
children: [
|
|
731
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-2", children: [
|
|
732
|
+
/* @__PURE__ */ jsx(
|
|
733
|
+
Icon,
|
|
734
|
+
{
|
|
735
|
+
icon: "mynaui:download",
|
|
736
|
+
className: "mt-0.5 size-4 shrink-0 text-muted-foreground"
|
|
737
|
+
}
|
|
738
|
+
),
|
|
739
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-0.5", children: [
|
|
740
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-foreground", children: tr(
|
|
741
|
+
"fluidgrids.workflowsList.importN8nDetected",
|
|
742
|
+
"n8n workflow detected"
|
|
743
|
+
) }),
|
|
744
|
+
/* @__PURE__ */ jsx(
|
|
745
|
+
"p",
|
|
746
|
+
{
|
|
747
|
+
className: "text-xs text-muted-foreground",
|
|
748
|
+
"data-testid": "fluidgrids-import-n8n-summary",
|
|
749
|
+
children: tr(
|
|
750
|
+
"fluidgrids.workflowsList.importN8nSummary",
|
|
751
|
+
"{{mapped}} of {{total}} nodes convert directly \xB7 {{placeholders}} placeholders \xB7 {{connections}} connections to set up",
|
|
752
|
+
{
|
|
753
|
+
mapped: String(report.mappedNodes.length),
|
|
754
|
+
total: String(report.nodeCount),
|
|
755
|
+
placeholders: String(report.placeholders.length),
|
|
756
|
+
connections: String(report.connectionsNeeded.length)
|
|
757
|
+
}
|
|
758
|
+
)
|
|
759
|
+
}
|
|
760
|
+
)
|
|
761
|
+
] })
|
|
762
|
+
] }),
|
|
763
|
+
report.placeholders.length > 0 && /* @__PURE__ */ jsx(
|
|
764
|
+
Section,
|
|
765
|
+
{
|
|
766
|
+
title: tr(
|
|
767
|
+
"fluidgrids.workflowsList.importN8nPlaceholders",
|
|
768
|
+
"Placeholders: these nodes are kept as disabled No-op nodes, with their n8n settings in the node notes"
|
|
769
|
+
),
|
|
770
|
+
icon: "mynaui:square-dashed",
|
|
771
|
+
testId: "fluidgrids-import-n8n-placeholders",
|
|
772
|
+
children: report.placeholders.map((placeholder) => /* @__PURE__ */ jsxs("li", { children: [
|
|
773
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-foreground", children: placeholder.name }),
|
|
774
|
+
" ",
|
|
775
|
+
/* @__PURE__ */ jsxs("span", { className: "font-mono", children: [
|
|
776
|
+
"(",
|
|
777
|
+
placeholder.n8nType,
|
|
778
|
+
")"
|
|
779
|
+
] }),
|
|
780
|
+
":",
|
|
781
|
+
" ",
|
|
782
|
+
placeholder.reason
|
|
783
|
+
] }, placeholder.nodeId))
|
|
784
|
+
}
|
|
785
|
+
),
|
|
786
|
+
report.connectionsNeeded.length > 0 && /* @__PURE__ */ jsx(
|
|
787
|
+
Section,
|
|
788
|
+
{
|
|
789
|
+
title: tr(
|
|
790
|
+
"fluidgrids.workflowsList.importN8nConnections",
|
|
791
|
+
"Connections to create: n8n credentials are never imported"
|
|
792
|
+
),
|
|
793
|
+
icon: "mynaui:key",
|
|
794
|
+
testId: "fluidgrids-import-n8n-connections",
|
|
795
|
+
children: keyed(
|
|
796
|
+
report.connectionsNeeded,
|
|
797
|
+
(connection) => `${connection.nodeId}|${connection.provider ?? ""}|${connection.n8nCredentialType ?? ""}`
|
|
798
|
+
).map(([key, connection]) => /* @__PURE__ */ jsxs("li", { children: [
|
|
799
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-foreground", children: connection.nodeName }),
|
|
800
|
+
connection.provider && connection.provider !== "*" ? ` \xB7 ${connection.provider}` : "",
|
|
801
|
+
connection.n8nCredentialName ? ` \xB7 ${tr(
|
|
802
|
+
"fluidgrids.workflowsList.importN8nCredentialWas",
|
|
803
|
+
"was {{credential}} in n8n",
|
|
804
|
+
{ credential: connection.n8nCredentialName }
|
|
805
|
+
)}` : ""
|
|
806
|
+
] }, key))
|
|
807
|
+
}
|
|
808
|
+
),
|
|
809
|
+
report.expressionIssues.length > 0 && /* @__PURE__ */ jsx(
|
|
810
|
+
Section,
|
|
811
|
+
{
|
|
812
|
+
title: tr(
|
|
813
|
+
"fluidgrids.workflowsList.importN8nExpressions",
|
|
814
|
+
"Expressions and conditions to review"
|
|
815
|
+
),
|
|
816
|
+
icon: "mynaui:code",
|
|
817
|
+
testId: "fluidgrids-import-n8n-expressions",
|
|
818
|
+
children: keyed(
|
|
819
|
+
report.expressionIssues,
|
|
820
|
+
(issue) => `${issue.nodeName}|${issue.expression}|${issue.reason}`
|
|
821
|
+
).map(([key, issue]) => /* @__PURE__ */ jsxs("li", { children: [
|
|
822
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-foreground", children: issue.nodeName }),
|
|
823
|
+
": ",
|
|
824
|
+
/* @__PURE__ */ jsx("span", { className: "break-all font-mono", children: issue.expression }),
|
|
825
|
+
" ",
|
|
826
|
+
"\u2014 ",
|
|
827
|
+
issue.reason
|
|
828
|
+
] }, key))
|
|
829
|
+
}
|
|
830
|
+
),
|
|
831
|
+
report.warnings.length > 0 && /* @__PURE__ */ jsx(
|
|
832
|
+
Section,
|
|
833
|
+
{
|
|
834
|
+
title: tr("fluidgrids.workflowsList.importN8nNotes", "Notes"),
|
|
835
|
+
icon: "mynaui:info-circle",
|
|
836
|
+
testId: "fluidgrids-import-n8n-warnings",
|
|
837
|
+
children: keyed(
|
|
838
|
+
report.warnings,
|
|
839
|
+
(warning) => `${warning.nodeName ?? ""}|${warning.message}`
|
|
840
|
+
).map(([key, warning]) => /* @__PURE__ */ jsxs("li", { children: [
|
|
841
|
+
warning.nodeName ? /* @__PURE__ */ jsxs("span", { className: "font-medium text-foreground", children: [
|
|
842
|
+
warning.nodeName,
|
|
843
|
+
":",
|
|
844
|
+
" "
|
|
845
|
+
] }) : null,
|
|
846
|
+
warning.message
|
|
847
|
+
] }, key))
|
|
848
|
+
}
|
|
849
|
+
)
|
|
850
|
+
]
|
|
851
|
+
}
|
|
852
|
+
);
|
|
853
|
+
}
|
|
701
854
|
function formatMiB(bytes) {
|
|
702
855
|
const mib = bytes / (1024 * 1024);
|
|
703
856
|
return Number.isInteger(mib) ? String(mib) : mib.toFixed(1);
|
|
@@ -788,7 +941,17 @@ function WorkflowImportDialog({
|
|
|
788
941
|
const [workflowKey, setWorkflowKey] = useState("");
|
|
789
942
|
const [version, setVersion] = useState("");
|
|
790
943
|
const [loadingUrl, setLoadingUrl] = useState(false);
|
|
944
|
+
const { previewN8nImport } = usePreviewN8nImport();
|
|
945
|
+
const [n8nPreview, setN8nPreview] = useState(null);
|
|
946
|
+
const [previewingN8n, setPreviewingN8n] = useState(false);
|
|
947
|
+
const previewRequest = useRef(0);
|
|
948
|
+
const dropN8nPreview = () => {
|
|
949
|
+
previewRequest.current += 1;
|
|
950
|
+
setN8nPreview(null);
|
|
951
|
+
setPreviewingN8n(false);
|
|
952
|
+
};
|
|
791
953
|
const reset = () => {
|
|
954
|
+
dropN8nPreview();
|
|
792
955
|
setRawJson("");
|
|
793
956
|
setUrl("");
|
|
794
957
|
setParsed(null);
|
|
@@ -800,6 +963,7 @@ function WorkflowImportDialog({
|
|
|
800
963
|
setSubmitted(false);
|
|
801
964
|
};
|
|
802
965
|
const selectTypeScript = (label, files) => {
|
|
966
|
+
dropN8nPreview();
|
|
803
967
|
setParsed(null);
|
|
804
968
|
setIssues(null);
|
|
805
969
|
setSubmitted(false);
|
|
@@ -809,6 +973,7 @@ function WorkflowImportDialog({
|
|
|
809
973
|
setVersion("");
|
|
810
974
|
};
|
|
811
975
|
const refuseSource = (error) => {
|
|
976
|
+
dropN8nPreview();
|
|
812
977
|
setTypeScript(null);
|
|
813
978
|
setParsed(null);
|
|
814
979
|
setSubmitted(false);
|
|
@@ -838,16 +1003,39 @@ function WorkflowImportDialog({
|
|
|
838
1003
|
}
|
|
839
1004
|
return true;
|
|
840
1005
|
};
|
|
1006
|
+
const showN8nPreview = async (next) => {
|
|
1007
|
+
const request = previewRequest.current;
|
|
1008
|
+
setPreviewingN8n(true);
|
|
1009
|
+
try {
|
|
1010
|
+
const preview = await previewN8nImport(next.definitionJson);
|
|
1011
|
+
if (request !== previewRequest.current) return;
|
|
1012
|
+
setN8nPreview(preview);
|
|
1013
|
+
setName(preview.name);
|
|
1014
|
+
} catch (error) {
|
|
1015
|
+
if (request !== previewRequest.current) return;
|
|
1016
|
+
setParsed(null);
|
|
1017
|
+
toast.error(
|
|
1018
|
+
error instanceof Error ? error.message : tr(
|
|
1019
|
+
"fluidgrids.workflowsList.importN8nPreviewFailed",
|
|
1020
|
+
"The n8n workflow could not be read"
|
|
1021
|
+
)
|
|
1022
|
+
);
|
|
1023
|
+
} finally {
|
|
1024
|
+
if (request === previewRequest.current) setPreviewingN8n(false);
|
|
1025
|
+
}
|
|
1026
|
+
};
|
|
841
1027
|
const parse = (value) => {
|
|
842
1028
|
setTypeScript(null);
|
|
843
1029
|
setIssues(null);
|
|
844
1030
|
setSubmitted(false);
|
|
1031
|
+
dropN8nPreview();
|
|
845
1032
|
try {
|
|
846
1033
|
const next = parseWorkflowImport(value);
|
|
847
1034
|
setParsed(next);
|
|
848
1035
|
setName(next.name);
|
|
849
1036
|
setWorkflowKey("");
|
|
850
1037
|
setVersion(next.version ?? "");
|
|
1038
|
+
if (next.source === "n8n") void showN8nPreview(next);
|
|
851
1039
|
} catch (error) {
|
|
852
1040
|
setParsed(null);
|
|
853
1041
|
toast.error(
|
|
@@ -1126,6 +1314,7 @@ function WorkflowImportDialog({
|
|
|
1126
1314
|
onChange: (event) => {
|
|
1127
1315
|
setRawJson(event.target.value);
|
|
1128
1316
|
setParsed(null);
|
|
1317
|
+
dropN8nPreview();
|
|
1129
1318
|
},
|
|
1130
1319
|
onBlur: () => rawJson.trim() && parse(rawJson),
|
|
1131
1320
|
placeholder: tr(
|
|
@@ -1140,7 +1329,20 @@ function WorkflowImportDialog({
|
|
|
1140
1329
|
}
|
|
1141
1330
|
),
|
|
1142
1331
|
(parsed || typeScript) && /* @__PURE__ */ jsxs("div", { className: "space-y-3 rounded-lg border border-border bg-muted/30 p-3", children: [
|
|
1143
|
-
parsed ? /* @__PURE__ */
|
|
1332
|
+
parsed?.source === "n8n" ? n8nPreview ? /* @__PURE__ */ jsx(N8nImportReport, { report: n8nPreview.report }) : /* @__PURE__ */ jsx(
|
|
1333
|
+
"p",
|
|
1334
|
+
{
|
|
1335
|
+
className: "text-xs text-muted-foreground",
|
|
1336
|
+
"data-testid": "fluidgrids-import-n8n-previewing",
|
|
1337
|
+
children: previewingN8n ? tr(
|
|
1338
|
+
"fluidgrids.workflowsList.importN8nPreviewing",
|
|
1339
|
+
"Reading the n8n workflow\u2026"
|
|
1340
|
+
) : tr(
|
|
1341
|
+
"fluidgrids.workflowsList.importN8nDetected",
|
|
1342
|
+
"n8n workflow detected"
|
|
1343
|
+
)
|
|
1344
|
+
}
|
|
1345
|
+
) : parsed ? /* @__PURE__ */ jsxs("p", { className: "text-xs text-muted-foreground", children: [
|
|
1144
1346
|
parsed.nodeReferences.length,
|
|
1145
1347
|
" ",
|
|
1146
1348
|
tr(
|
|
@@ -1223,7 +1425,7 @@ function WorkflowImportDialog({
|
|
|
1223
1425
|
Button,
|
|
1224
1426
|
{
|
|
1225
1427
|
onClick: () => void handleImport(),
|
|
1226
|
-
disabled: loading || !parsed && !typeScript || !name.trim(),
|
|
1428
|
+
disabled: loading || !parsed && !typeScript || !name.trim() || parsed?.source === "n8n" && !n8nPreview,
|
|
1227
1429
|
children: loading ? tr("fluidgrids.workflowsList.importing", "Importing\u2026") : tr("fluidgrids.workflowsList.importConfirm", "Import workflow")
|
|
1228
1430
|
}
|
|
1229
1431
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { throwIfResultError } from './chunk-
|
|
2
|
-
import { RunFailureClustersDocument, DismissRunFailureClusterDocument, RunFailureTriageSettingsDocument, SetRunFailureTriageEnabledDocument, FgTriageFailedRunsDocument } from './chunk-
|
|
1
|
+
import { throwIfResultError } from './chunk-WWR7ZCS5.js';
|
|
2
|
+
import { RunFailureClustersDocument, DismissRunFailureClusterDocument, RunFailureTriageSettingsDocument, SetRunFailureTriageEnabledDocument, FgTriageFailedRunsDocument } from './chunk-H3RSOHD5.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
5
5
|
import { useState, useCallback, useEffect } from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { operatorSpec, normaliseAssertRules, describeAssertRuleProblem } from './chunk-JDLQ6QIB.js';
|
|
2
|
-
import { useEntityTags, useTagEntity, useUntagEntity } from './chunk-
|
|
2
|
+
import { useEntityTags, useTagEntity, useUntagEntity } from './chunk-7GI3457S.js';
|
|
3
3
|
import { notifyFluidGridsAiCreditsUpdated } from './chunk-Y53CVZVV.js';
|
|
4
4
|
import { ErrorType } from './chunk-AOLY5INN.js';
|
|
5
|
-
import { throwIfResultError, isForbiddenError } from './chunk-
|
|
5
|
+
import { throwIfResultError, isForbiddenError } from './chunk-WWR7ZCS5.js';
|
|
6
6
|
import { getFluidGridsConfig } from './chunk-6AMNEX2Y.js';
|
|
7
|
-
import { WorkflowProposalDocument, ProposeRunFixDocument, ProposeWorkflowChangeDocument, ApplyWorkflowProposalDocument, RejectWorkflowProposalDocument, CancelWorkflowProposalDocument, WorkflowTestCasesDocument, WorkflowTestRunsDocument, WorkflowTestRunDocument, CreateWorkflowTestCaseDocument, UpdateWorkflowTestCaseDocument, DeleteWorkflowTestCaseDocument, RunWorkflowTestsDocument, CreateWorkflowTestCaseFromRunDocument } from './chunk-
|
|
7
|
+
import { WorkflowProposalDocument, ProposeRunFixDocument, ProposeWorkflowChangeDocument, ApplyWorkflowProposalDocument, RejectWorkflowProposalDocument, CancelWorkflowProposalDocument, WorkflowTestCasesDocument, WorkflowTestRunsDocument, WorkflowTestRunDocument, CreateWorkflowTestCaseDocument, UpdateWorkflowTestCaseDocument, DeleteWorkflowTestCaseDocument, RunWorkflowTestsDocument, CreateWorkflowTestCaseFromRunDocument } from './chunk-H3RSOHD5.js';
|
|
8
8
|
import { useTr } from './chunk-UULVIT25.js';
|
|
9
9
|
import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
10
10
|
import { useState, useRef, useEffect, useCallback } from '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 { throwIfResultError, describeOperationError, useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt, useFluidGridsFlag, FLUIDGRIDS_FLAGS } from './chunk-
|
|
2
|
+
import { throwIfResultError, describeOperationError, useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt, useFluidGridsFlag, FLUIDGRIDS_FLAGS } from './chunk-WWR7ZCS5.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient } from './chunk-NTWG3CJX.js';
|
|
5
5
|
import { useCallback, useState, useMemo, useEffect } from 'react';
|