@burdenoff/fluidgrids-fe-sdk 2026.1109.4 → 2026.1109.6
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-IGDA3C36.js → ExecutionDetailPage-E3TMETIQ.js} +7 -7
- package/dist/{ExecutionsListPage-BY7HA64B.js → ExecutionsListPage-BZWJ7KSM.js} +6 -6
- package/dist/{WorkflowBuilder-VKOPUT3O.js → WorkflowBuilder-VUBKMFSF.js} +11 -11
- package/dist/{WorkflowsList-HB5FN5YQ.js → WorkflowsList-DWQU55I5.js} +7 -7
- package/dist/{agentTools-GRPT3OXR.js → agentTools-ORZSDXL5.js} +4 -4
- package/dist/{chunk-3CAYQ57D.js → chunk-2SUZKBHB.js} +1 -1
- package/dist/{chunk-6YEJN4S2.js → chunk-4I6BXKKC.js} +105 -67
- package/dist/{chunk-2CXUTQUH.js → chunk-5UA262ZO.js} +1 -1
- package/dist/{chunk-UKOXHS4T.js → chunk-5WUX3DET.js} +1 -1
- package/dist/{chunk-EGCUHKON.js → chunk-7VT6V5PG.js} +2 -2
- package/dist/{chunk-V3R4HTLC.js → chunk-7XQI4U5C.js} +2 -2
- package/dist/{chunk-VPFEBZOB.js → chunk-B3USL2JQ.js} +1 -1
- package/dist/{chunk-FHMMAGOG.js → chunk-EPEMX2L2.js} +6 -6
- package/dist/{chunk-XO5ND2HT.js → chunk-GABLFLEM.js} +4 -4
- package/dist/{chunk-ODXI4P3V.js → chunk-GG357Z3E.js} +5 -5
- package/dist/{chunk-C5C7ONWO.js → chunk-GLF5IVZH.js} +4 -4
- package/dist/{chunk-E7KIH3CF.js → chunk-HZ7FQCFU.js} +1 -1
- package/dist/{chunk-XSUFTJCE.js → chunk-I6FW4C3B.js} +3 -18
- package/dist/{chunk-OJPRKEP4.js → chunk-IVAV4Y57.js} +1 -1
- package/dist/{chunk-X3F5IQBP.js → chunk-JXCJRBWD.js} +26 -1
- package/dist/{chunk-JFUQH6HV.js → chunk-K7YFK5K2.js} +1 -1
- package/dist/{chunk-U6VWCHYM.js → chunk-L3UC5E4J.js} +10 -10
- package/dist/{chunk-6CIPJJTP.js → chunk-LI7RF5GC.js} +4 -4
- package/dist/{chunk-MUIVZFIU.js → chunk-NQ7JQNQ7.js} +1 -1
- package/dist/{chunk-IPJV2IOH.js → chunk-O2OFNGAF.js} +1 -1
- package/dist/{chunk-IU52TFZA.js → chunk-QPNZV7OD.js} +1 -1
- package/dist/{chunk-ZMEBM2GZ.js → chunk-RXSZSHXK.js} +4 -4
- package/dist/{chunk-VNXGRNDK.js → chunk-S3ADBQTT.js} +2 -2
- package/dist/{chunk-ZE7AHJWF.js → chunk-X4HWBDMZ.js} +2 -2
- package/dist/{chunk-M2ELYF52.js → chunk-XGQLFKRC.js} +1 -1
- package/dist/{chunk-URLZGUSW.js → chunk-XTNHYVGH.js} +6 -6
- package/dist/executions.js +8 -8
- package/dist/history.js +6 -6
- package/dist/index.js +35 -35
- package/dist/{node-detail-view-EQVKHAIS.js → node-detail-view-5GXLTSQY.js} +7 -7
- package/dist/observability.js +4 -4
- package/dist/{quick-config-panel-N354ZISU.js → quick-config-panel-EX3WVWXH.js} +5 -5
- package/dist/settings.js +5 -5
- package/dist/templates.js +10 -10
- package/dist/workflow-builder.js +12 -12
- package/dist/workflow-preview.js +2 -2
- package/dist/workflows-list.js +7 -7
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ExecutionDetailPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { ExecutionDetailPage } from './chunk-GG357Z3E.js';
|
|
2
|
+
import './chunk-NQ7JQNQ7.js';
|
|
3
|
+
import './chunk-7VT6V5PG.js';
|
|
4
|
+
import './chunk-IVAV4Y57.js';
|
|
5
5
|
import './chunk-Q526TUOC.js';
|
|
6
6
|
import './chunk-NZAYYUQ4.js';
|
|
7
7
|
import './chunk-OJHBCOBA.js';
|
|
@@ -13,13 +13,13 @@ import './chunk-JDLQ6QIB.js';
|
|
|
13
13
|
import './chunk-DFFQYK2X.js';
|
|
14
14
|
import './chunk-Y53CVZVV.js';
|
|
15
15
|
import './chunk-FNZZ5JJL.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-K7YFK5K2.js';
|
|
17
17
|
import './chunk-PJAWNFJV.js';
|
|
18
18
|
import './chunk-POCNG3PM.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-I6FW4C3B.js';
|
|
20
20
|
import './chunk-ERT444RG.js';
|
|
21
21
|
import './chunk-SDZEAIIE.js';
|
|
22
|
-
import './chunk-
|
|
22
|
+
import './chunk-JXCJRBWD.js';
|
|
23
23
|
import './chunk-Y7FKJJMF.js';
|
|
24
24
|
import './chunk-TYI2XOSI.js';
|
|
25
25
|
import './chunk-G77IGC3Y.js';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { ExecutionsListPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { ExecutionsListPage } from './chunk-RXSZSHXK.js';
|
|
2
|
+
import './chunk-7VT6V5PG.js';
|
|
3
|
+
import './chunk-IVAV4Y57.js';
|
|
4
4
|
import './chunk-5YLS3WH5.js';
|
|
5
5
|
import './chunk-WZ3EJVS6.js';
|
|
6
6
|
import './chunk-5ERAJC2I.js';
|
|
7
7
|
import './chunk-DFFQYK2X.js';
|
|
8
8
|
import './chunk-FNZZ5JJL.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-K7YFK5K2.js';
|
|
10
10
|
import './chunk-PJAWNFJV.js';
|
|
11
11
|
import './chunk-4VJ3MDOV.js';
|
|
12
12
|
import './chunk-POCNG3PM.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-I6FW4C3B.js';
|
|
14
14
|
import './chunk-ERT444RG.js';
|
|
15
15
|
import './chunk-SDZEAIIE.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-JXCJRBWD.js';
|
|
17
17
|
import './chunk-Y7FKJJMF.js';
|
|
18
18
|
import './chunk-TYI2XOSI.js';
|
|
19
19
|
import './chunk-G77IGC3Y.js';
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export { WorkflowBuilder } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { WorkflowBuilder } from './chunk-XTNHYVGH.js';
|
|
2
|
+
import './chunk-QPNZV7OD.js';
|
|
3
3
|
import './chunk-PIKYQE7P.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import './chunk-L3UC5E4J.js';
|
|
5
|
+
import './chunk-HZ7FQCFU.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-TFCIZFDM.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-O2OFNGAF.js';
|
|
12
|
+
import './chunk-5WUX3DET.js';
|
|
13
13
|
import './chunk-MYE6CMGK.js';
|
|
14
14
|
import './chunk-JDLQ6QIB.js';
|
|
15
15
|
import './chunk-DFFQYK2X.js';
|
|
16
16
|
import './chunk-Y53CVZVV.js';
|
|
17
|
-
import './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
17
|
+
import './chunk-B3USL2JQ.js';
|
|
18
|
+
import './chunk-5UA262ZO.js';
|
|
19
|
+
import './chunk-K7YFK5K2.js';
|
|
20
20
|
import './chunk-XRGAH6IQ.js';
|
|
21
21
|
import './chunk-QJAZXCFQ.js';
|
|
22
22
|
import './chunk-GLYINMOR.js';
|
|
23
23
|
import './chunk-4VJ3MDOV.js';
|
|
24
24
|
import './chunk-POCNG3PM.js';
|
|
25
|
-
import './chunk-
|
|
25
|
+
import './chunk-I6FW4C3B.js';
|
|
26
26
|
import './chunk-ERT444RG.js';
|
|
27
27
|
import './chunk-SDZEAIIE.js';
|
|
28
|
-
import './chunk-
|
|
28
|
+
import './chunk-JXCJRBWD.js';
|
|
29
29
|
import './chunk-Y7FKJJMF.js';
|
|
30
30
|
import './chunk-TYI2XOSI.js';
|
|
31
31
|
import './chunk-G77IGC3Y.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { WorkflowsList } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { WorkflowsList } from './chunk-EPEMX2L2.js';
|
|
2
|
+
import './chunk-QPNZV7OD.js';
|
|
3
|
+
import './chunk-IVAV4Y57.js';
|
|
4
4
|
import './chunk-5ERAJC2I.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-5WUX3DET.js';
|
|
6
6
|
import './chunk-FNZZ5JJL.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-K7YFK5K2.js';
|
|
8
8
|
import './chunk-PJAWNFJV.js';
|
|
9
9
|
import './chunk-4VJ3MDOV.js';
|
|
10
10
|
import './chunk-POCNG3PM.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-I6FW4C3B.js';
|
|
12
12
|
import './chunk-ERT444RG.js';
|
|
13
13
|
import './chunk-SDZEAIIE.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-JXCJRBWD.js';
|
|
15
15
|
import './chunk-Y7FKJJMF.js';
|
|
16
16
|
import './chunk-TYI2XOSI.js';
|
|
17
17
|
import './chunk-G77IGC3Y.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { nodeTitle, selectedOperationOf, paramsFromOperation, fixedParameterState } from './chunk-
|
|
2
|
-
import { computeAttachPosition } from './chunk-
|
|
3
|
-
import { NODE_CONFIGS, createConfiguredNode, isNodeConfigsInitialized, useSaveStatusStore, autosaveAllowedFor, isFlowComplete, isNodeTypeHiddenFromPalette } from './chunk-
|
|
1
|
+
import { nodeTitle, selectedOperationOf, paramsFromOperation, fixedParameterState } from './chunk-7XQI4U5C.js';
|
|
2
|
+
import { computeAttachPosition } from './chunk-HZ7FQCFU.js';
|
|
3
|
+
import { NODE_CONFIGS, createConfiguredNode, isNodeConfigsInitialized, useSaveStatusStore, autosaveAllowedFor, isFlowComplete, isNodeTypeHiddenFromPalette } from './chunk-I6FW4C3B.js';
|
|
4
4
|
import './chunk-ERT444RG.js';
|
|
5
5
|
import './chunk-SDZEAIIE.js';
|
|
6
|
-
import { resolveOutputHandles, resolveInputHandles, useFlowStore } from './chunk-
|
|
6
|
+
import { resolveOutputHandles, resolveInputHandles, useFlowStore } from './chunk-JXCJRBWD.js';
|
|
7
7
|
import './chunk-Y7FKJJMF.js';
|
|
8
8
|
import './chunk-TYI2XOSI.js';
|
|
9
9
|
import './chunk-G77IGC3Y.js';
|
|
@@ -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-I6FW4C3B.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';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates,
|
|
2
|
-
import { QuotaExhaustedDialog } from './chunk-
|
|
1
|
+
import { TEMPLATE_STORE_CATEGORIES, useImportWorkflowTemplate, FlowBuilderPage, useWorkflowTemplates, TemplateCard, useTemplateSubmissions, usePublishToStore } from './chunk-L3UC5E4J.js';
|
|
2
|
+
import { QuotaExhaustedDialog } from './chunk-5WUX3DET.js';
|
|
3
3
|
import { templatesControls } from './chunk-FNZZ5JJL.js';
|
|
4
|
-
import { useWorkflowDefinitions, useDuplicateWorkflow, useLazyWorkflowDefinition } from './chunk-
|
|
4
|
+
import { useWorkflowDefinitions, useDuplicateWorkflow, useLazyWorkflowDefinition } from './chunk-K7YFK5K2.js';
|
|
5
5
|
import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
6
6
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
7
|
-
import { BILLING_PLANS_PATH, useFluidGridsAnalytics, emitTemplateUsed, isQuotaExhaustedFailure } from './chunk-
|
|
7
|
+
import { BILLING_PLANS_PATH, useFluidGridsAnalytics, emitTemplateUsed, isQuotaExhaustedFailure } from './chunk-I6FW4C3B.js';
|
|
8
8
|
import { SdkPermissionButton, FLUIDGRIDS_PERMISSIONS } from './chunk-ERT444RG.js';
|
|
9
9
|
import { useTr } from './chunk-UULVIT25.js';
|
|
10
10
|
import { useState, useEffect, useCallback, useMemo } from 'react';
|
|
@@ -873,43 +873,100 @@ function MySubmissionsPanel({ onResubmit }) {
|
|
|
873
873
|
);
|
|
874
874
|
}) });
|
|
875
875
|
}
|
|
876
|
-
|
|
877
|
-
|
|
876
|
+
|
|
877
|
+
// src/modules/templates/utils/gallery-category.ts
|
|
878
|
+
var STORE_CATEGORIES = new Set(
|
|
879
|
+
Object.keys(TEMPLATE_CATEGORY_LABELS)
|
|
880
|
+
);
|
|
881
|
+
function isTemplateStoreCategory(value) {
|
|
882
|
+
return STORE_CATEGORIES.has(value);
|
|
883
|
+
}
|
|
884
|
+
var CATEGORY_ALIASES = /* @__PURE__ */ new Map([
|
|
885
|
+
["notification", "communication"],
|
|
886
|
+
["notifications", "communication"],
|
|
887
|
+
["ai-automation", "ai-ml"],
|
|
888
|
+
["ai-data", "ai-ml"],
|
|
889
|
+
["developer-tools", "devops"],
|
|
890
|
+
["ai", "ai-ml"],
|
|
891
|
+
["ai/ml", "ai-ml"]
|
|
892
|
+
]);
|
|
893
|
+
function storedGalleryCategory(category) {
|
|
894
|
+
const value = category?.trim().toLowerCase().replace(/[\s_]+/g, "-");
|
|
895
|
+
if (!value) return void 0;
|
|
896
|
+
if (isTemplateStoreCategory(value)) return value;
|
|
897
|
+
return CATEGORY_ALIASES.get(value);
|
|
898
|
+
}
|
|
899
|
+
var KEYWORD_RULES = [
|
|
900
|
+
{
|
|
901
|
+
category: "ai-ml",
|
|
902
|
+
word: /(?<![a-z0-9])(?:ai|ml)(?![a-z0-9])/,
|
|
903
|
+
// "openai" and "gpt" keep names like "OpenAI summary" here now that "ai"
|
|
904
|
+
// has to be a whole word.
|
|
905
|
+
stems: ["model", "llm", "openai", "gpt"]
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
category: "integration",
|
|
909
|
+
word: /(?<![a-z0-9])apis?(?![a-z0-9])/,
|
|
910
|
+
stems: ["integrat", "connect"]
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
category: "data-processing",
|
|
914
|
+
word: /(?<![a-z0-9])etl(?![a-z0-9])/,
|
|
915
|
+
stems: ["data", "transform", "process"]
|
|
916
|
+
},
|
|
878
917
|
{
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
icon: "mdi:database-cog"
|
|
918
|
+
category: "communication",
|
|
919
|
+
stems: ["email", "slack", "notify", "message"]
|
|
882
920
|
},
|
|
883
|
-
{
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
921
|
+
{
|
|
922
|
+
category: "automation",
|
|
923
|
+
stems: ["automat", "schedule", "trigger"]
|
|
924
|
+
}
|
|
887
925
|
];
|
|
888
|
-
var
|
|
889
|
-
|
|
890
|
-
integration: "bg-chart-3/10 text-chart-3 border-chart-3/30",
|
|
891
|
-
automation: "bg-status-success-bg-subtle text-status-success-text border-status-success-border",
|
|
892
|
-
"ai-ml": "bg-status-warning-bg-subtle text-status-warning-text border-status-warning-border",
|
|
893
|
-
communication: "bg-status-error-bg-subtle text-status-error-text border-status-error-border"
|
|
894
|
-
};
|
|
895
|
-
function inferCategory(workflow) {
|
|
926
|
+
var DEFAULT_GALLERY_CATEGORY = "automation";
|
|
927
|
+
function inferGalleryCategory(workflow) {
|
|
896
928
|
const text = [
|
|
897
929
|
workflow.name,
|
|
898
930
|
workflow.description ?? "",
|
|
899
931
|
...workflow.tags ?? [],
|
|
900
932
|
workflow.category ?? ""
|
|
901
933
|
].join(" ").toLowerCase();
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
934
|
+
for (const rule of KEYWORD_RULES) {
|
|
935
|
+
if (rule.word?.test(text) || rule.stems.some((s) => text.includes(s))) {
|
|
936
|
+
return rule.category;
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
return DEFAULT_GALLERY_CATEGORY;
|
|
940
|
+
}
|
|
941
|
+
function galleryCategory(workflow) {
|
|
942
|
+
return storedGalleryCategory(workflow.category) ?? inferGalleryCategory(workflow);
|
|
943
|
+
}
|
|
944
|
+
var CATEGORY_FILTERS = ["all", ...TEMPLATE_STORE_CATEGORIES];
|
|
945
|
+
var CATEGORY_FILTER_OPTIONS = CATEGORY_FILTERS.map((value) => ({
|
|
946
|
+
value,
|
|
947
|
+
label: value === "all" ? "All" : TEMPLATE_CATEGORY_LABELS[value]
|
|
948
|
+
}));
|
|
949
|
+
var CATEGORY_COLORS = {
|
|
950
|
+
"data-processing": "bg-status-info-bg-subtle text-status-info-text border-status-info-border",
|
|
951
|
+
integration: "bg-chart-3/10 text-chart-3 border-chart-3/30",
|
|
952
|
+
automation: "bg-status-success-bg-subtle text-status-success-text border-status-success-border",
|
|
953
|
+
"ai-ml": "bg-status-warning-bg-subtle text-status-warning-text border-status-warning-border",
|
|
954
|
+
communication: "bg-status-error-bg-subtle text-status-error-text border-status-error-border",
|
|
955
|
+
devops: "bg-chart-1/10 text-chart-1 border-chart-1/30",
|
|
956
|
+
marketing: "bg-chart-5/10 text-chart-5 border-chart-5/30",
|
|
957
|
+
sales: "bg-chart-4/10 text-chart-4 border-chart-4/30",
|
|
958
|
+
support: "bg-chart-6/10 text-chart-6 border-chart-6/30",
|
|
959
|
+
productivity: "bg-chart-7/10 text-chart-7 border-chart-7/30",
|
|
960
|
+
finance: "bg-chart-12/10 text-chart-12 border-chart-12/30"
|
|
961
|
+
};
|
|
962
|
+
function categoryIcon(value) {
|
|
963
|
+
return value === "all" ? "mdi:view-grid" : TEMPLATE_CATEGORY_ICONS[value];
|
|
964
|
+
}
|
|
965
|
+
function categoryLabel2(tr, value) {
|
|
966
|
+
return value === "all" ? tr("fluidgrids.templates.categories.all", "All") : tr(
|
|
967
|
+
`fluidgrids.templates.categories.${value}`,
|
|
968
|
+
TEMPLATE_CATEGORY_LABELS[value]
|
|
969
|
+
);
|
|
913
970
|
}
|
|
914
971
|
function TemplateSkeleton() {
|
|
915
972
|
return /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsx(Skeleton, { className: "h-52 rounded-lg bg-card-foreground/10" }, i)) });
|
|
@@ -975,8 +1032,6 @@ function WorkspaceTemplateCard({
|
|
|
975
1032
|
isLoading
|
|
976
1033
|
}) {
|
|
977
1034
|
const tr = useTr();
|
|
978
|
-
const categoryLabel2 = CATEGORIES.find((c) => c.value === category)?.label ?? tr("fluidgrids.templates.templatesPage.cardDefaultCategory", "Workflow");
|
|
979
|
-
const categoryColor = CATEGORY_COLORS[category] ?? "bg-bg-sunken text-text-muted border-border-strong";
|
|
980
1035
|
return /* @__PURE__ */ jsxs(Card, { className: "group border border-border-secondary bg-background-secondary hover:border-border-primary transition-all duration-200 flex flex-col", children: [
|
|
981
1036
|
/* @__PURE__ */ jsxs(CardHeader, { className: "flex-1 pb-3", children: [
|
|
982
1037
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2 mb-3", children: [
|
|
@@ -988,7 +1043,7 @@ function WorkspaceTemplateCard({
|
|
|
988
1043
|
className: "text-text-primary"
|
|
989
1044
|
}
|
|
990
1045
|
) }),
|
|
991
|
-
/* @__PURE__ */ jsx(Badge, { variant: "outline", className:
|
|
1046
|
+
/* @__PURE__ */ jsx(Badge, { variant: "outline", className: CATEGORY_COLORS[category], children: categoryLabel2(tr, category) })
|
|
992
1047
|
] }),
|
|
993
1048
|
/* @__PURE__ */ jsx("h3", { className: "font-semibold text-text-primary text-base leading-tight mb-1.5 line-clamp-2", children: workflow.name }),
|
|
994
1049
|
/* @__PURE__ */ jsx("p", { className: "text-sm text-text-secondary line-clamp-2 min-h-[2.5rem]", children: workflow.description || tr(
|
|
@@ -1138,7 +1193,7 @@ function TemplatesPage() {
|
|
|
1138
1193
|
const categorizedWorkflows = useMemo(() => {
|
|
1139
1194
|
return workflows.map((w) => ({
|
|
1140
1195
|
workflow: w,
|
|
1141
|
-
category:
|
|
1196
|
+
category: galleryCategory(w)
|
|
1142
1197
|
}));
|
|
1143
1198
|
}, [workflows]);
|
|
1144
1199
|
const filtered = useMemo(() => {
|
|
@@ -1175,13 +1230,10 @@ function TemplatesPage() {
|
|
|
1175
1230
|
{ source: "template" }
|
|
1176
1231
|
);
|
|
1177
1232
|
if (result?.success && result.workflow) {
|
|
1178
|
-
const category = workflow.category ? workflow.category.toLowerCase().replace(/\s+/g, "-") : inferCategory(workflow);
|
|
1179
1233
|
emitTemplateUsed(bus, {
|
|
1180
1234
|
workspaceId,
|
|
1181
1235
|
templateId: workflow.id,
|
|
1182
|
-
category:
|
|
1183
|
-
(c) => c.value !== "all" && c.value === category
|
|
1184
|
-
) ? category : void 0
|
|
1236
|
+
category: galleryCategory(workflow)
|
|
1185
1237
|
});
|
|
1186
1238
|
toast.success(
|
|
1187
1239
|
tr(
|
|
@@ -1327,20 +1379,14 @@ function TemplatesPage() {
|
|
|
1327
1379
|
category: {
|
|
1328
1380
|
// The chips carry no visible heading; the labels are the page's own.
|
|
1329
1381
|
label: "Category",
|
|
1330
|
-
options:
|
|
1382
|
+
options: CATEGORY_FILTER_OPTIONS,
|
|
1331
1383
|
neutral: "all",
|
|
1332
1384
|
value: activeCategory,
|
|
1333
1385
|
set: setActiveCategory
|
|
1334
1386
|
},
|
|
1335
1387
|
storeCategory: {
|
|
1336
1388
|
label: "Category",
|
|
1337
|
-
options:
|
|
1338
|
-
{ value: "all", label: "All" },
|
|
1339
|
-
...TEMPLATE_STORE_CATEGORIES.map((value) => ({
|
|
1340
|
-
value,
|
|
1341
|
-
label: TEMPLATE_CATEGORY_LABELS[value]
|
|
1342
|
-
}))
|
|
1343
|
-
],
|
|
1389
|
+
options: CATEGORY_FILTER_OPTIONS,
|
|
1344
1390
|
neutral: "all",
|
|
1345
1391
|
value: storeCategory,
|
|
1346
1392
|
set: setStoreCategory
|
|
@@ -1469,17 +1515,18 @@ function TemplatesPage() {
|
|
|
1469
1515
|
{
|
|
1470
1516
|
className: "flex flex-wrap gap-2 mb-6",
|
|
1471
1517
|
"data-tour": "fluidgrids-templates-category-tabs",
|
|
1472
|
-
children:
|
|
1473
|
-
const count = categoryCounts[
|
|
1474
|
-
const isActive = activeCategory ===
|
|
1518
|
+
children: CATEGORY_FILTERS.map((value) => {
|
|
1519
|
+
const count = categoryCounts[value] ?? 0;
|
|
1520
|
+
const isActive = activeCategory === value;
|
|
1475
1521
|
return /* @__PURE__ */ jsxs(
|
|
1476
1522
|
"button",
|
|
1477
1523
|
{
|
|
1478
|
-
onClick: () => setActiveCategory(
|
|
1524
|
+
onClick: () => setActiveCategory(value),
|
|
1525
|
+
"aria-pressed": isActive,
|
|
1479
1526
|
className: `inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm font-medium transition-colors ${isActive ? "bg-background-tertiary text-text-primary border border-border-primary" : "bg-background-secondary text-text-secondary border border-border-secondary hover:text-text-primary hover:border-border-primary"}`,
|
|
1480
1527
|
children: [
|
|
1481
|
-
/* @__PURE__ */ jsx(Icon, { icon:
|
|
1482
|
-
|
|
1528
|
+
/* @__PURE__ */ jsx(Icon, { icon: categoryIcon(value), width: 16 }),
|
|
1529
|
+
categoryLabel2(tr, value),
|
|
1483
1530
|
/* @__PURE__ */ jsxs(
|
|
1484
1531
|
"span",
|
|
1485
1532
|
{
|
|
@@ -1493,7 +1540,7 @@ function TemplatesPage() {
|
|
|
1493
1540
|
)
|
|
1494
1541
|
]
|
|
1495
1542
|
},
|
|
1496
|
-
|
|
1543
|
+
value
|
|
1497
1544
|
);
|
|
1498
1545
|
})
|
|
1499
1546
|
}
|
|
@@ -1522,7 +1569,7 @@ function TemplatesPage() {
|
|
|
1522
1569
|
{
|
|
1523
1570
|
className: "flex flex-wrap gap-2 mb-6",
|
|
1524
1571
|
"data-testid": "store-template-categories",
|
|
1525
|
-
children:
|
|
1572
|
+
children: CATEGORY_FILTERS.map((value) => {
|
|
1526
1573
|
const isActive = storeCategory === value;
|
|
1527
1574
|
return /* @__PURE__ */ jsxs(
|
|
1528
1575
|
"button",
|
|
@@ -1531,17 +1578,8 @@ function TemplatesPage() {
|
|
|
1531
1578
|
"aria-pressed": isActive,
|
|
1532
1579
|
className: `inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm font-medium transition-colors ${isActive ? "bg-background-tertiary text-text-primary border border-border-primary" : "bg-background-secondary text-text-secondary border border-border-secondary hover:text-text-primary hover:border-border-primary"}`,
|
|
1533
1580
|
children: [
|
|
1534
|
-
/* @__PURE__ */ jsx(
|
|
1535
|
-
|
|
1536
|
-
{
|
|
1537
|
-
icon: value === "all" ? "mdi:view-grid" : TEMPLATE_CATEGORY_ICONS[value],
|
|
1538
|
-
width: 16
|
|
1539
|
-
}
|
|
1540
|
-
),
|
|
1541
|
-
value === "all" ? tr("fluidgrids.templates.categories.all", "All") : tr(
|
|
1542
|
-
`fluidgrids.templates.categories.${value}`,
|
|
1543
|
-
TEMPLATE_CATEGORY_LABELS[value]
|
|
1544
|
-
)
|
|
1581
|
+
/* @__PURE__ */ jsx(Icon, { icon: categoryIcon(value), width: 16 }),
|
|
1582
|
+
categoryLabel2(tr, value)
|
|
1545
1583
|
]
|
|
1546
1584
|
},
|
|
1547
1585
|
value
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFluidGridsAnalytics, emitWorkflowLimitHit, emitUpgradeClicked, WORKFLOWS_QUOTA_NAME } from './chunk-
|
|
1
|
+
import { useFluidGridsAnalytics, emitWorkflowLimitHit, emitUpgradeClicked, WORKFLOWS_QUOTA_NAME } from './chunk-I6FW4C3B.js';
|
|
2
2
|
import { ExportWorkflowCodeDocument, ShareWorkflowDocument, WorkflowSharingDocument } from './chunk-VAWYR6P4.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
@@ -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-IVAV4Y57.js';
|
|
2
2
|
import { isAgentNodeType } from './chunk-WZ3EJVS6.js';
|
|
3
3
|
import { useAvailableTags, formatRunVersion, nodeDisplayTitle } from './chunk-DFFQYK2X.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-I6FW4C3B.js';
|
|
7
7
|
import { SetWorkflowRunVersioningOverrideDocument, WorkflowRunsCountDocument, DurableParityRunFieldsDocument, WorkflowRunPendingDocument, WorkflowRunMetadataDocument } from './chunk-VAWYR6P4.js';
|
|
8
8
|
import { useTr } from './chunk-UULVIT25.js';
|
|
9
9
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { structuredParameterType, parseParameterValue, liveInternalOperations, resolveNodeOperation, readDisplayOptions, getNodeDetail, useNodeRegistryRevision, fieldsFromIO, pathToExpression, NODE_CONFIGS, resolveUiSpec, fieldsFromValue, declaredOutputFields, subscribeWorkflowSaved } from './chunk-
|
|
1
|
+
import { structuredParameterType, parseParameterValue, liveInternalOperations, resolveNodeOperation, readDisplayOptions, getNodeDetail, useNodeRegistryRevision, fieldsFromIO, pathToExpression, NODE_CONFIGS, resolveUiSpec, fieldsFromValue, declaredOutputFields, subscribeWorkflowSaved } from './chunk-I6FW4C3B.js';
|
|
2
2
|
import { useBuilderReadOnly } from './chunk-SDZEAIIE.js';
|
|
3
|
-
import { useFlowStore } from './chunk-
|
|
3
|
+
import { useFlowStore } from './chunk-JXCJRBWD.js';
|
|
4
4
|
import { EventRegistrationsDocument } from './chunk-VAWYR6P4.js';
|
|
5
5
|
import { useTr } from './chunk-UULVIT25.js';
|
|
6
6
|
import { getFluidGridsClientSafe } from './chunk-PDODDDHY.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { canvasFromDefinition } from './chunk-
|
|
1
|
+
import { canvasFromDefinition } from './chunk-5UA262ZO.js';
|
|
2
2
|
import { WorkflowDefinitionDocument, WorkflowVersionDiffDocument } from './chunk-VAWYR6P4.js';
|
|
3
3
|
import { useTr } from './chunk-UULVIT25.js';
|
|
4
4
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { CreateWorkflowRefusalDialog, firstWorkflowProgress, GUIDED_TOUR_STATE, builderPathFor } from './chunk-
|
|
2
|
-
import { useExecutions } from './chunk-
|
|
3
|
-
import { useExportWorkflowAs, WorkflowShareDialog, downloadWorkflowExport, importAcceptAttribute, canEditWorkflow, canShareWorkflow, 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-QPNZV7OD.js';
|
|
2
|
+
import { useExecutions } from './chunk-IVAV4Y57.js';
|
|
3
|
+
import { useExportWorkflowAs, WorkflowShareDialog, downloadWorkflowExport, importAcceptAttribute, canEditWorkflow, canShareWorkflow, QuotaExhaustedDialog, importFileKind, parseWorkflowImport, CODE_EXPORT_FORMATS, ImportSourceError, assertImportByteSize, MAX_IMPORT_ARCHIVE_BYTES, readProjectArchive, checkTypeScriptImport, MAX_IMPORT_SOURCE_BYTES, typeScriptModuleFile, typeScriptImportSource, workflowNameFromFile, primaryImportModule } from './chunk-5WUX3DET.js';
|
|
4
4
|
import { workflowsListControls } from './chunk-FNZZ5JJL.js';
|
|
5
|
-
import { useCreateWorkflow, useWorkflowDefinitions, useLazyWorkflowDefinition, useImportWorkflow, usePreviewN8nImport, useDuplicateWorkflow, useDeleteWorkflow } from './chunk-
|
|
5
|
+
import { useCreateWorkflow, useWorkflowDefinitions, useLazyWorkflowDefinition, useImportWorkflow, usePreviewN8nImport, useDuplicateWorkflow, useDeleteWorkflow } from './chunk-K7YFK5K2.js';
|
|
6
6
|
import { useFluidGridsPageControls } from './chunk-PJAWNFJV.js';
|
|
7
7
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
8
|
-
import { createThenOpen, FluidGridsContext, useFluidGridsFlag, FLUIDGRIDS_FLAGS, BILLING_PLANS_PATH, isQuotaExhaustedFailure } from './chunk-
|
|
8
|
+
import { createThenOpen, FluidGridsContext, useFluidGridsFlag, FLUIDGRIDS_FLAGS, BILLING_PLANS_PATH, isQuotaExhaustedFailure } from './chunk-I6FW4C3B.js';
|
|
9
9
|
import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, SdkPermissionButton, SdkPermissionGate } from './chunk-ERT444RG.js';
|
|
10
|
-
import { useFlowStore } from './chunk-
|
|
10
|
+
import { useFlowStore } from './chunk-JXCJRBWD.js';
|
|
11
11
|
import { WorkflowFoldersDocument, CreateWorkflowFolderDocument, RenameWorkflowFolderDocument, MoveWorkflowFolderDocument, DeleteWorkflowFolderDocument, WorkflowProjectsDocument, CreateWorkflowProjectDocument, RenameWorkflowProjectDocument, DeleteWorkflowProjectDocument, BulkMoveWorkflowsToFolderDocument, BulkAssignWorkflowsToProjectDocument, BulkDeleteWorkflowsDocument } from './chunk-VAWYR6P4.js';
|
|
12
12
|
import { useTr } from './chunk-UULVIT25.js';
|
|
13
13
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AgentsTab } from './chunk-
|
|
1
|
+
import { AgentsTab } from './chunk-XGQLFKRC.js';
|
|
2
2
|
import { ActionPoliciesTab, checkCodecServerUrl } from './chunk-OJHBCOBA.js';
|
|
3
3
|
import { useResource, fetchPauseRules, FieldError, fetchSearchAttributes, StatusPill, NativeSelect, fetchArchiveSettings, fetchCodecServerSettings, deletePauseRule, createPauseRule, deleteSearchAttribute, createSearchAttribute, saveArchiveSettings, clearArchiveSettings, saveCodecServerSettings } from './chunk-5YLS3WH5.js';
|
|
4
|
-
import { LogStreamingTab } from './chunk-
|
|
4
|
+
import { LogStreamingTab } from './chunk-2SUZKBHB.js';
|
|
5
5
|
import { FluidGridsDocsLink } from './chunk-4VJ3MDOV.js';
|
|
6
|
-
import { useFluidGridsFlag, FLUIDGRIDS_FLAGS, usePhaseCFlags, useSaveStatusStore, findSaveConflict, useDurableParityEnabled, useConnections } from './chunk-
|
|
6
|
+
import { useFluidGridsFlag, FLUIDGRIDS_FLAGS, usePhaseCFlags, useSaveStatusStore, findSaveConflict, useDurableParityEnabled, useConnections } from './chunk-I6FW4C3B.js';
|
|
7
7
|
import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS } from './chunk-ERT444RG.js';
|
|
8
|
-
import { useFlowStore } from './chunk-
|
|
8
|
+
import { useFlowStore } from './chunk-JXCJRBWD.js';
|
|
9
9
|
import { getGlobalStoreClient } from './chunk-TYI2XOSI.js';
|
|
10
10
|
import { useWorkflowDefinitionQuery, useUpdateWorkflowDefinitionMutation, useWorkflowDefinitionsQuery, ManagedAiWorkspacePolicyDocument, UpdateManagedAiWorkspacePolicyDocument, DurableHistoryCapsDocument, UpdateDurableHistoryCapsDocument } from './chunk-VAWYR6P4.js';
|
|
11
11
|
import { useTr } from './chunk-UULVIT25.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useDurableRunFields, useRunHistory, useDeterminismStatus, useRunStackTrace, RunHistoryView, SignalRunDialog, terminateDurableRun } from './chunk-
|
|
2
|
-
import { useDurableParityRunFields, hasAgentNodeState, agentNodeTraces, orderNodesByExecution, useRunPending, useRunMetadata, ExecutionStatusBadge, NodeTimeline, RunLogViewer, NodeStatusBadge, setRunVersioningOverride } from './chunk-
|
|
3
|
-
import { useExecution, useExecutionActions, useAutoRefresh, runChainLinks, shortRunId, callbackTone, parseMetadataDefinition, overrideRequestOf } from './chunk-
|
|
1
|
+
import { useDurableRunFields, useRunHistory, useDeterminismStatus, useRunStackTrace, RunHistoryView, SignalRunDialog, terminateDurableRun } from './chunk-NQ7JQNQ7.js';
|
|
2
|
+
import { useDurableParityRunFields, hasAgentNodeState, agentNodeTraces, orderNodesByExecution, useRunPending, useRunMetadata, ExecutionStatusBadge, NodeTimeline, RunLogViewer, NodeStatusBadge, setRunVersioningOverride } from './chunk-7VT6V5PG.js';
|
|
3
|
+
import { useExecution, useExecutionActions, useAutoRefresh, runChainLinks, shortRunId, callbackTone, parseMetadataDefinition, overrideRequestOf } from './chunk-IVAV4Y57.js';
|
|
4
4
|
import { fetchRunFailureClusters, OPEN_STATUSES, dismissRunFailureCluster, BUCKET_LABELS } from './chunk-Q526TUOC.js';
|
|
5
5
|
import { aiCost, formatTokens, modelLabel } from './chunk-NZAYYUQ4.js';
|
|
6
6
|
import { useRunPolicyDecisions, RunPolicyDecisions, checkCodecServerUrl, containsEncodedPayload, isEncodedPayload, encodedPayloadBytes, decodePayloads, CodecServerError } from './chunk-OJHBCOBA.js';
|
|
@@ -8,8 +8,8 @@ import { readTyped, writeTyped, useResource, fetchCodecServerSettings, fetchRunC
|
|
|
8
8
|
import { EntityTagPicker, canSaveRunAsTestCase, useWorkflowProposal, WorkflowProposalCard, MAX_CASE_NAME, saveRunAsTestCase } from './chunk-MYE6CMGK.js';
|
|
9
9
|
import { buildNodeDisplayMap, formatRunVersion, nodeDisplayTitle } from './chunk-DFFQYK2X.js';
|
|
10
10
|
import { AiCreditBalanceSlot } from './chunk-Y53CVZVV.js';
|
|
11
|
-
import { useWorkflowVersions } from './chunk-
|
|
12
|
-
import { useDurableFunctionNodesEnabled, useDurableParityEnabled, usePhaseCFlags, runSignalTargets, canSignalRun, formatElapsedMs, runDurationMs, useWorkflowTestsEnabled, durableInterfaceOf } from './chunk-
|
|
11
|
+
import { useWorkflowVersions } from './chunk-K7YFK5K2.js';
|
|
12
|
+
import { useDurableFunctionNodesEnabled, useDurableParityEnabled, usePhaseCFlags, runSignalTargets, canSignalRun, formatElapsedMs, runDurationMs, useWorkflowTestsEnabled, durableInterfaceOf } from './chunk-I6FW4C3B.js';
|
|
13
13
|
import { useFluidGridsPermission, FLUIDGRIDS_PERMISSIONS, SdkPermissionButton } from './chunk-ERT444RG.js';
|
|
14
14
|
import { TaskQueuesDocument, TaskQueueStatsDocument, CreateTaskQueueDocument, UpdateTaskQueueDocument, DeleteTaskQueueDocument, RunLogsDocument, RunLogAppendedDocument, ExplainRunDocument, RunAiUsageDocument } from './chunk-VAWYR6P4.js';
|
|
15
15
|
import { useTr } from './chunk-UULVIT25.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useNodeSelectedEvent, Card, FluidGridsMark } from './chunk-
|
|
1
|
+
import { useNodeSelectedEvent, Card, FluidGridsMark } from './chunk-L3UC5E4J.js';
|
|
2
2
|
import { Input } from './chunk-IEVSFCFS.js';
|
|
3
|
-
import { useWorkflowDefinition } from './chunk-
|
|
3
|
+
import { useWorkflowDefinition } from './chunk-K7YFK5K2.js';
|
|
4
4
|
import { Button } from './chunk-QJAZXCFQ.js';
|
|
5
|
-
import { FluidGridsProvider } from './chunk-
|
|
6
|
-
import { useFlowStore } from './chunk-
|
|
5
|
+
import { FluidGridsProvider } from './chunk-I6FW4C3B.js';
|
|
6
|
+
import { useFlowStore } from './chunk-JXCJRBWD.js';
|
|
7
7
|
import { cn } from './chunk-JL7CASN5.js';
|
|
8
8
|
import { useTr } from './chunk-UULVIT25.js';
|
|
9
9
|
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SdkPermissionGate, FLUIDGRIDS_PERMISSIONS } from './chunk-ERT444RG.js';
|
|
2
2
|
import { useBuilderReadOnly } from './chunk-SDZEAIIE.js';
|
|
3
|
-
import { STICKY_NOTE_TYPE, useFlowStore, resolveOperationName, synchronizeOperationUpdate, isNodeTrigger, resolveOutputHandles, resolveInputHandles, outputHandlesSpacerHeight, WAIT_FOR_SIGNAL_NODE_TYPE, CODE_WORKFLOW_NODE_TYPE, readSignalName, LogicNodeCard, NodeCard, NodeCardHeader, NodeCardBody, InputHandles, OutputHandles, NodeTypeIcon, nodeAccent, readCodeWorkflowState, partitionStickyNotes, interfaceFields, interfaceHandlers } from './chunk-
|
|
3
|
+
import { STICKY_NOTE_TYPE, useFlowStore, resolveStickyColor, STICKY_COLORS, stickySurfaceStyle, resolveOperationName, synchronizeOperationUpdate, isNodeTrigger, resolveOutputHandles, resolveInputHandles, outputHandlesSpacerHeight, WAIT_FOR_SIGNAL_NODE_TYPE, CODE_WORKFLOW_NODE_TYPE, readSignalName, LogicNodeCard, NodeCard, NodeCardHeader, NodeCardBody, InputHandles, OutputHandles, NodeTypeIcon, nodeAccent, readCodeWorkflowState, partitionStickyNotes, interfaceFields, interfaceHandlers, DEFAULT_STICKY_COLOR } from './chunk-JXCJRBWD.js';
|
|
4
4
|
import { getGlobalStoreClient, createGlobalStoreClient, setGlobalStoreClient, resetGlobalStoreClient } from './chunk-TYI2XOSI.js';
|
|
5
5
|
import { GetMyNodeInstallationsDocument } from './chunk-G77IGC3Y.js';
|
|
6
6
|
import { fetchAllNodeEndpointConfigs, NodeManifestDocument, UpdateWorkflowDefinitionDocument, CreateWorkflowDefinitionDocument, CreateWorkflowVersionDocument, ExecuteStepDocument, TriggerWorkflowDocument, RunFromNodeDocument, ExecutionDetailDocument, WorkflowDefinitionDocument, WorkflowRunDocument } from './chunk-VAWYR6P4.js';
|
|
@@ -562,16 +562,6 @@ function useDeleteNode() {
|
|
|
562
562
|
[deleteElements, getEdges, getNode, deleteNodes]
|
|
563
563
|
);
|
|
564
564
|
}
|
|
565
|
-
var STICKY_COLORS = {
|
|
566
|
-
yellow: "var(--color-chart-4)",
|
|
567
|
-
orange: "var(--color-status-warning-bg)",
|
|
568
|
-
blue: "var(--color-chart-1)",
|
|
569
|
-
green: "var(--color-chart-2)",
|
|
570
|
-
red: "var(--color-chart-5)",
|
|
571
|
-
purple: "var(--color-chart-3)",
|
|
572
|
-
gray: "var(--color-chart-axis)"
|
|
573
|
-
};
|
|
574
|
-
var DEFAULT_STICKY_COLOR = "yellow";
|
|
575
565
|
var STICKY_DEFAULT_SIZE = { width: 260, height: 170 };
|
|
576
566
|
var STICKY_MIN_SIZE = { width: 160, height: 90 };
|
|
577
567
|
function ToolbarButton({
|
|
@@ -618,7 +608,7 @@ function StickyNoteNodeComponent({
|
|
|
618
608
|
wrapper.style.zIndex = "-1";
|
|
619
609
|
}
|
|
620
610
|
});
|
|
621
|
-
const colorKey =
|
|
611
|
+
const colorKey = resolveStickyColor(data.color);
|
|
622
612
|
const accent = STICKY_COLORS[colorKey];
|
|
623
613
|
const patchData = useCallback(
|
|
624
614
|
(patch) => {
|
|
@@ -782,12 +772,7 @@ function StickyNoteNodeComponent({
|
|
|
782
772
|
"div",
|
|
783
773
|
{
|
|
784
774
|
className: "flex h-full w-full flex-col overflow-hidden rounded-lg border",
|
|
785
|
-
style:
|
|
786
|
-
backgroundColor: `${accent}1F`,
|
|
787
|
-
// Same border whether selected or not — selection shows only via the
|
|
788
|
-
// floating toolbar (no extra border/outline on click).
|
|
789
|
-
borderColor: `${accent}59`
|
|
790
|
-
},
|
|
775
|
+
style: stickySurfaceStyle(accent),
|
|
791
776
|
onDoubleClick: (e) => {
|
|
792
777
|
e.stopPropagation();
|
|
793
778
|
if (!readOnly) startEditing();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { REPLAY_WORKFLOW_RUN, RETRY_WORKFLOW_RUNS } from './chunk-5ERAJC2I.js';
|
|
2
|
-
import { useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt } from './chunk-
|
|
2
|
+
import { useFluidGridsAnalytics, emitRunStarted, openRunQuotaUpgradePrompt } from './chunk-I6FW4C3B.js';
|
|
3
3
|
import { ExecutionsListDocument, ExecutionDetailDocument, ExecutionStatsDocument, PauseExecutionDocument, ResumeExecutionDocument, CancelExecutionDocument, RetryNodeDocument, TriggerWorkflowDocument, TerminateExecutionDocument } from './chunk-VAWYR6P4.js';
|
|
4
4
|
import { useTr } from './chunk-UULVIT25.js';
|
|
5
5
|
import { getFluidGridsClient } from './chunk-PDODDDHY.js';
|