n8n-editor-ui 1.111.0 → 1.112.0
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/assets/{AddDataStoreModal-D3j8deoq.css → AddDataStoreModal-B7jBhCjt.css} +5 -3
- package/dist/assets/{AddDataStoreModal-COmj3tI8.js → AddDataStoreModal-CLYFuWF4.js} +12 -7
- package/dist/assets/{AnimatedSpinner-BRe0Ugab.js → AnimatedSpinner-D7Nt5ZAz.js} +2 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BllZkKe3.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BzK1dfc7.js} +2 -1
- package/dist/assets/{AuthView-z58gFjsc.js → AuthView-Db8T18BU.js} +3 -2
- package/dist/assets/{ChangePasswordView-DUmtjPAx.js → ChangePasswordView-Clb7ta4t.js} +4 -3
- package/dist/assets/CollectionParameter-BGBoLgV2.js +5 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-4IRcAtjj.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-BG5somV-.js} +2 -1
- package/dist/assets/{CredentialsView-Ie0l_odH.js → CredentialsView-CydHAPfb.js} +11 -9
- package/dist/assets/{DataStoreActions.vue_vue_type_script_setup_true_lang-d31tni9q.js → DataStoreActions.vue_vue_type_script_setup_true_lang-qftEof1u.js} +2 -2
- package/dist/assets/{DataStoreDetailsView-BPsHPucD.css → DataStoreDetailsView-C8fMxukz.css} +60 -39
- package/dist/assets/{DataStoreDetailsView-DLuRcsh-.js → DataStoreDetailsView-DZK3pYSP.js} +267 -102
- package/dist/assets/{DataStoreView-DmY3FIsv.js → DataStoreView-CT0OnFLR.js} +14 -29
- package/dist/assets/{DemoFooter-BQj55pTx.js → DemoFooter-DHwNRr6t.js} +7 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-NJbsTbk5.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-Y97PdUKW.js} +2 -1
- package/dist/assets/{EntityNotFound-B1VWHiBa.js → EntityNotFound-BDjIF_1D.js} +2 -1
- package/dist/assets/{EntityUnAuthorised-B0Yg7JWa.js → EntityUnAuthorised-Dz3DXm1-.js} +2 -1
- package/dist/assets/{ErrorView-aHqCD3ri.js → ErrorView-BH0St5KC.js} +2 -1
- package/dist/assets/{EvaluationsRootView-CoYRtuEz.js → EvaluationsRootView-CnJlr4OF.js} +2 -1
- package/dist/assets/{EvaluationsView-BC1UMOb0.js → EvaluationsView-DABp8z-m.js} +4 -3
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-CMR49MM7.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-gCj_FZH6.js} +3 -2
- package/dist/assets/{ExecutionsView-C8r32amj.js → ExecutionsView-CivgrlFE.js} +14 -12
- package/dist/assets/{ExecutionsView-DpVZbkhT.css → ExecutionsView-GKNLT5Ec.css} +1 -1
- package/dist/assets/{FixedCollectionParameter-DTkvAml6.css → FixedCollectionParameter-Dg7ZadcB.css} +18 -18
- package/dist/assets/{FixedCollectionParameter-BzZrk2iw.js → FixedCollectionParameter-l8xC6wRw.js} +7 -3
- package/dist/assets/{ForgotMyPasswordView-CaXCwrIx.js → ForgotMyPasswordView-WF87QWAH.js} +4 -3
- package/dist/assets/{InfoAccordion-DUHSL9ZE.js → InfoAccordion-8iWJ2sSU.js} +2 -1
- package/dist/assets/{InsightsChartAverageRuntime-DFunYdc9.js → InsightsChartAverageRuntime-BEd6XJn6.js} +5 -4
- package/dist/assets/{InsightsChartFailed-0uRNHiAU.js → InsightsChartFailed-CVwzK3ch.js} +5 -4
- package/dist/assets/{InsightsChartFailureRate-BuiZokRI.js → InsightsChartFailureRate-BeA77_lp.js} +5 -4
- package/dist/assets/{InsightsChartTimeSaved-CK46Eo2R.js → InsightsChartTimeSaved-DkgR7j7U.js} +5 -4
- package/dist/assets/{InsightsChartTotal-ZhGp0D6c.js → InsightsChartTotal--1QxzvAZ.js} +5 -4
- package/dist/assets/{InsightsDashboard-DEJEg2jy.js → InsightsDashboard-cHCzH4ZY.js} +13 -11
- package/dist/assets/{InsightsPaywall-CEYbNF-U.js → InsightsPaywall-neQ9PmYP.js} +2 -1
- package/dist/assets/{InsightsSummary-D4c0lwdE.js → InsightsSummary-BekdjOxv.js} +4 -2
- package/dist/assets/{InsightsTableWorkflows-Cf2s_w2o.js → InsightsTableWorkflows-LMO-UU8h.js} +5 -4
- package/dist/assets/{Logo-DF7Ve1nG.js → Logo-DXNRuN8z.js} +2 -1
- package/dist/assets/{LogsPanel-Dz_R5wsR.js → LogsPanel-2GQHQFmh.js} +36 -22
- package/dist/assets/{LogsPanel-BinqqXXh.css → LogsPanel-CUsQIBpC.css} +17 -17
- package/dist/assets/{MainHeader-DBWR1wTC.js → MainHeader-BlBek00C.js} +12 -10
- package/dist/assets/{MainSidebar-3_9O8-rJ.js → MainSidebar-qdHg8D5V.js} +3 -2
- package/dist/assets/{NodeCreation-Dtlm36Oq.js → NodeCreation-DO5k3aK3.js} +4 -3
- package/dist/assets/{NodeCreator-DUoi7nAW.js → NodeCreator-C3Pmrqkh.js} +2 -1
- package/dist/assets/{NodeDetailsView-Di4Qgo0H.js → NodeDetailsView-BACft9ex.js} +18 -17
- package/dist/assets/{NodeDetailsView-CjdovDgq.css → NodeDetailsView-CBYV4Rrz.css} +11 -11
- package/dist/assets/{NodeDetailsViewV2-DeY6N1Bz.js → NodeDetailsViewV2--1S2eK5u.js} +14 -13
- package/dist/assets/{NodeView-DsbJeAY_.js → NodeView-BRwQ5Cqs.js} +113 -99
- package/dist/assets/{NodeView-DMJpfBYR.css → NodeView-Chs2u0U9.css} +28 -25
- package/dist/assets/{PageViewLayout-DC6xqvMl.js → PageViewLayout-DldtilHz.js} +2 -1
- package/dist/assets/{PrebuiltAgentTemplatesView-Bf_4L0Mz.js → PrebuiltAgentTemplatesView-ChyN8J2x.js} +3 -2
- package/dist/assets/{ProjectBreadcrumb-OJlbtg71.js → ProjectBreadcrumb-9uWmVmc7.js} +2 -1
- package/dist/assets/{ProjectHeader-CuQxn8hj.js → ProjectHeader-CWapIKXf.js} +93 -23
- package/dist/assets/{ProjectSettings-CyyS1dIR.js → ProjectSettings-BlYXGYRx.js} +5 -3
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DbrwK8IB.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DjpouOrH.js} +2 -1
- package/dist/assets/{ResourcesListLayout-i7do2ZBR.js → ResourcesListLayout-CfDIFGjS.js} +5 -4
- package/dist/assets/{RunDataJson-DRtbtIz3.js → RunDataJson-CTm3-xdY.js} +4 -3
- package/dist/assets/{RunDataJsonActions-7l2QvE2z.js → RunDataJsonActions-B_yBOGYB.js} +2 -1
- package/dist/assets/{RunDataParsedAiContent-CD12A0kN.js → RunDataParsedAiContent-Cg9vUI0v.js} +3 -2
- package/dist/assets/{RunDataSearch-LNeMq9j6.js → RunDataSearch-DPt2MvbI.js} +2 -1
- package/dist/assets/{RunDataTable-DcKBX4aO.js → RunDataTable-DHVRSqQT.js} +2 -1
- package/dist/assets/{SamlOnboarding-i5e6HuF6.js → SamlOnboarding-CN_xGqen.js} +4 -3
- package/dist/assets/{SelectedItemsInfo-CfUb0ZrI.css → SelectedItemsInfo-Dl4uynXs.css} +5 -3
- package/dist/assets/{SelectedItemsInfo-C55zD1dl.js → SelectedItemsInfo-DzoCyQOW.js} +12 -7
- package/dist/assets/{SettingsApiView-C3ju5H4H.js → SettingsApiView-BIKCRKGM.js} +2 -1
- package/dist/assets/{SettingsCommunityNodesView-i_vIhGwd.js → SettingsCommunityNodesView-ClWYmDB8.js} +7 -4
- package/dist/assets/{SettingsExternalSecrets-ChCiOX-n.js → SettingsExternalSecrets-D58JxT3V.js} +2 -1
- package/dist/assets/{SettingsLdapView-2QEfpHy6.js → SettingsLdapView-uImCjvMm.js} +2 -1
- package/dist/assets/{SettingsLogStreamingView-BORk25bO.js → SettingsLogStreamingView-DUn62Yq4.js} +2 -1
- package/dist/assets/{SettingsPersonalView-Yl43xiM_.js → SettingsPersonalView-DGiCMsXu.js} +2 -1
- package/dist/assets/{SettingsSourceControl-BpcJX-rJ.js → SettingsSourceControl-CVik5czR.js} +2 -1
- package/dist/assets/{SettingsSso-BugeRCyt.js → SettingsSso-BQkWpsdO.js} +2 -1
- package/dist/assets/{SettingsUsageAndPlan-Dt6g-FQw.js → SettingsUsageAndPlan-BuwgmEka.js} +2 -1
- package/dist/assets/{SettingsUsersView-BhBuZop9.js → SettingsUsersView-DCmtHeMa.js} +2 -1
- package/dist/assets/{SettingsView-Cx0SMMrn.js → SettingsView-CrBThv_a.js} +2 -1
- package/dist/assets/{SetupView-CUJOHrm2.js → SetupView-CES8Gnnv.js} +4 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-D6h_IgTa.js → SetupWorkflowCredentialsButton-Bjhx_rck.js} +2 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-_ReKyIk1.js → SetupWorkflowFromTemplateView-C8kmCc7J.js} +4 -3
- package/dist/assets/{SigninView--fAZZd3A.js → SigninView-24xKsh_S.js} +4 -3
- package/dist/assets/{SignoutView-DXoOH9BS.js → SignoutView-DgFIUUyh.js} +2 -1
- package/dist/assets/{SignupView-d0cK_S0B.js → SignupView-BckB-uUh.js} +4 -3
- package/dist/assets/{TableBase-D5vBzOrx.js → TableBase-CQEzJfeN.js} +2 -1
- package/dist/assets/{Tags-CZdua1l_.js → Tags-DbX-5_Fk.js} +2 -2
- package/dist/assets/{TemplateDetails-ccSWABeF.js → TemplateDetails-BGraOFbY.js} +3 -2
- package/dist/assets/{TemplateList-BKUKBRua.js → TemplateList-5P1N08U1.js} +2 -1
- package/dist/assets/{TemplatesCollectionView-BTyYNxNc.js → TemplatesCollectionView-D2-SU0eR.js} +7 -7
- package/dist/assets/{TemplatesSearchView-BYM3HbbU.js → TemplatesSearchView-ncBXTfOM.js} +4 -3
- package/dist/assets/{TemplatesView-CrH_O4he.js → TemplatesView-DO7HuUts.js} +2 -1
- package/dist/assets/{TemplatesWorkflowView-Dg3REjWI.js → TemplatesWorkflowView-BvrjU4RD.js} +7 -7
- package/dist/assets/{TriggerPanel-dDX4Bzu7.js → TriggerPanel-BFQ6veDz.js} +10 -8
- package/dist/assets/{VariablesView-DQw3gYG7.js → VariablesView-BVzruwEA.js} +7 -6
- package/dist/assets/{WorkerView-DIs4RXZZ.js → WorkerView-DRM6mgWJ.js} +9 -6
- package/dist/assets/{WorkflowActivator-z_Ef2Dd7.js → WorkflowActivator-BOt1oNlm.js} +4 -3
- package/dist/assets/{WorkflowExecutionsInfoAccordion-ptRuD88E.js → WorkflowExecutionsInfoAccordion-BjZUTKcs.js} +3 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-C-RDf8Mu.js → WorkflowExecutionsLandingPage-ENKxL7Yh.js} +4 -3
- package/dist/assets/{WorkflowExecutionsPreview-Bk449wx1.js → WorkflowExecutionsPreview-Cdgg29u5.js} +5 -4
- package/dist/assets/{WorkflowExecutionsView-Dp0exxTM.js → WorkflowExecutionsView-t3W7WuAy.js} +9 -9
- package/dist/assets/{WorkflowHistory-D8zH1o6c.js → WorkflowHistory--OLvuBs1.js} +3 -2
- package/dist/assets/{WorkflowOnboardingView-8OmgIoUc.js → WorkflowOnboardingView-C8y96ur1.js} +2 -1
- package/dist/assets/{WorkflowPreview-jOuoMEkv.js → WorkflowPreview-C1XHoZmU.js} +2 -1
- package/dist/assets/{WorkflowsView-B9MpreL6.js → WorkflowsView-B9rxI0No.js} +272 -62
- package/dist/assets/{WorkflowsView-BuvoAeDm.css → WorkflowsView-MF9XcT0u.css} +186 -0
- package/dist/assets/{canvas-k8kjfgjE.js → canvas-D2PwiGnN.js} +1 -1
- package/dist/assets/{chartjs.utils-BXNxmkto.js → chartjs.utils-B6sz8yOh.js} +2 -2
- package/dist/assets/{core-e2mfCMV8.js → core-Be7WBA6o.js} +2 -1
- package/dist/assets/{en-C3wg5zl_.js → en-CJyn5rnO.js} +26 -20
- package/dist/assets/{global-link-actions-CR3odK4e.js → global-link-actions-B9WsUojd.js} +1 -1
- package/dist/assets/index-4g2Akj0I.js +13861 -0
- package/dist/assets/{index-DnpNicM9.css → index-B7wrqKiF.css} +8081 -8069
- package/dist/assets/{index-DuLlH1tF.js → index-BJG79OsS.js} +326896 -342404
- package/dist/assets/{index-DuaZRDhZ.js → index-LOlKxvn4.js} +2 -1
- package/dist/assets/loadDefaultEn-DNiURDi9.js +8 -0
- package/dist/assets/{pickBy-sB8d3BKD.js → pickBy-BMn768eW.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-SxwN_l4P.js → readyToRunWorkflows.store-HSpbq3Bf.js} +2 -1
- package/dist/assets/readyToRunWorkflowsV2.store-DcRVIsRt.js +138 -0
- package/dist/assets/sqlite3-DBpDb1lf.wasm +0 -0
- package/dist/assets/sqlite3-opfs-async-proxy-CYRFPDln.js +579 -0
- package/dist/assets/sqlite3-worker1-bundler-friendly-DF3WqBKq.js +11289 -0
- package/dist/assets/{templateActions-BUeOwdy0.js → templateActions-DR_XHPc4.js} +1 -1
- package/dist/assets/{useBeforeUnload-DpCu12iW.js → useBeforeUnload-DmAaB1v5.js} +2 -1
- package/dist/assets/{useExecutionDebugging-XRtGhlAr.js → useExecutionDebugging-B8xDxcb6.js} +2 -1
- package/dist/assets/{useImportCurlCommand-DJJ0VEAg.js → useImportCurlCommand-BaN8fxqM.js} +2 -1
- package/dist/assets/{useProjectPages-DrMZX3ez.js → useProjectPages-B-oTYbCo.js} +2 -1
- package/dist/assets/{usePushConnection-CPQe3uqU.js → usePushConnection-Bcd2_XWM.js} +36 -22
- package/dist/assets/{useWorkflowActivate-RFJxTj5m.js → useWorkflowActivate-BDE2t3MM.js} +2 -1
- package/dist/assets/worker-DZxlyUFA.js +11826 -0
- package/dist/index.html +3 -2
- package/package.json +1 -1
- package/vite/i18n-locales-hmr-helpers.ts +19 -0
- package/vite.config.mts +25 -1
- package/dist/assets/CollectionParameter--MG-Jsbv.js +0 -4
- package/dist/assets/Tag-CGAmDPzS.js +0 -32
- package/dist/assets/Tag-Cg-Hqs2H.css +0 -153
- package/dist/assets/dataStore.store-vaNG0oX7.js +0 -291
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dK as assert, d_ as doesNodeHaveCredentialsToFill, V as VIEWS, cM as tryToParseNumber, d$ as getNewWorkflow, e0 as replaceAllTemplateNodeCredentials, cR as getNodesWithNormalizedPosition } from "./index-BJG79OsS.js";
|
|
2
2
|
async function createWorkflowFromTemplate(opts) {
|
|
3
3
|
const { credentialOverrides, nodeTypeProvider, rootStore, template, workflowsStore } = opts;
|
|
4
4
|
const workflowData = await getNewWorkflow(rootStore.restApiContext, { name: template.name });
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as useUIStore, bI as useCanvasStore, V as VIEWS } from "./index-BJG79OsS.js";
|
|
2
|
+
import { b8 as ref, a9 as computed, bT as useI18n } from "./index-4g2Akj0I.js";
|
|
2
3
|
function useBeforeUnload({ route }) {
|
|
3
4
|
const uiStore = useUIStore();
|
|
4
5
|
const canvasStore = useCanvasStore();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { b as useRouter, a as useToast,
|
|
1
|
+
import { b as useRouter, a as useToast, C as useWorkflowsStore, g as useSettingsStore, s as useUIStore, ab as usePageRedirectionHelper, af as EnterpriseEditionFeature, d4 as DEBUG_PAYWALL_MODAL_KEY, d5 as sanitizeHtml, Z as useMessage, $ as MODAL_CONFIRM, V as VIEWS, Y as useTelemetry, a4 as useRootStore, d6 as isFullExecutionResponse } from "./index-BJG79OsS.js";
|
|
2
|
+
import { a9 as computed, bT as useI18n, K as h } from "./index-4g2Akj0I.js";
|
|
2
3
|
const useExecutionDebugging = () => {
|
|
3
4
|
const telemetry = useTelemetry();
|
|
4
5
|
const router = useRouter();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ga as process$1, gb as requirePathBrowserify, gc as require$$0, bk as getDefaultExportFromCjs, gd as Buffer, a as useToast, dK as assert, ge as CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS, gf as importCurlEventBus, gg as CURL_IMPORT_NODES_PROTOCOLS, b7 as get } from "./index-BJG79OsS.js";
|
|
2
2
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-TGKdzP3c.js";
|
|
3
|
+
import { u as unref, bT as useI18n } from "./index-4g2Akj0I.js";
|
|
3
4
|
class CCError extends Error {
|
|
4
5
|
}
|
|
5
6
|
const UTF8encoder = new TextEncoder();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as useRoute, V as VIEWS } from "./index-BJG79OsS.js";
|
|
2
|
+
import { a9 as computed, b6 as reactive } from "./index-4g2Akj0I.js";
|
|
2
3
|
const useProjectPages = () => {
|
|
3
4
|
const route = useRoute();
|
|
4
5
|
const isProjectsSubPage = computed(() => route.params?.projectId !== void 0);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as globalLinkActionsEventBus } from "./global-link-actions-
|
|
3
|
-
import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-
|
|
1
|
+
import { ef as makeRestApiRequest, C as useWorkflowsStore, s as useUIStore, eg as clearPopupWindowState, Y as useTelemetry, eh as isPrebuiltAgentTemplateId, ei as isTutorialTemplateId, bH as parse, g as useSettingsStore, a9 as useWorkflowSaving, aa as useWorkflowHelpers, X as WORKFLOW_SETTINGS_MODAL_KEY, a as useToast, ej as generateNodesGraph, ek as getExecutionErrorToastConfiguration, K as useNodeTypesStore, el as getTriggerNodeServiceName, be as useNodeHelpers, aV as useExternalHooks, em as codeNodeEditorEventBus, en as SampleTemplates, cG as EVALUATION_TRIGGER_NODE_TYPE, bf as useRunWorkflow, eo as getExecutionErrorMessage, cu as useCredentialsStore, ep as useAssistantStore, eq as TRIMMED_TASK_DATA_CONNECTIONS_KEY, er as useSchemaPreviewStore, es as isCommunityPackageName, z as defineStore, a4 as useRootStore, A as usePushConnectionStore } from "./index-BJG79OsS.js";
|
|
2
|
+
import { g as globalLinkActionsEventBus } from "./global-link-actions-B9WsUojd.js";
|
|
3
|
+
import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-HSpbq3Bf.js";
|
|
4
|
+
import { u as useReadyToRunWorkflowsV2Store } from "./readyToRunWorkflowsV2.store-DcRVIsRt.js";
|
|
5
|
+
import { bT as useI18n, b8 as ref } from "./index-4g2Akj0I.js";
|
|
4
6
|
var GET_STATUS_ENDPOINT = "/orchestration/worker/status";
|
|
5
7
|
var sendGetWorkerStatus = async (context) => {
|
|
6
8
|
await makeRestApiRequest(context, "POST", GET_STATUS_ENDPOINT);
|
|
@@ -10,6 +12,7 @@ async function executionFinished({ data }, options) {
|
|
|
10
12
|
const uiStore = useUIStore();
|
|
11
13
|
const aiTemplatesStarterCollectionStore = useAITemplatesStarterCollectionStore();
|
|
12
14
|
const readyToRunWorkflowsStore = useReadyToRunWorkflowsStore();
|
|
15
|
+
const readyToRunWorkflowsV2Store = useReadyToRunWorkflowsV2Store();
|
|
13
16
|
workflowsStore.lastAddedExecutingNode = null;
|
|
14
17
|
if (typeof workflowsStore.activeExecutionId === "undefined") {
|
|
15
18
|
return;
|
|
@@ -31,6 +34,12 @@ async function executionFinished({ data }, options) {
|
|
|
31
34
|
);
|
|
32
35
|
} else if (templateId.startsWith("37_onboarding_experiments_batch_aug11")) {
|
|
33
36
|
readyToRunWorkflowsStore.trackExecuteWorkflow(templateId.split("-").pop() ?? "", data.status);
|
|
37
|
+
} else if (templateId === "ready-to-run-ai-workflow-v1" || templateId === "ready-to-run-ai-workflow-v2") {
|
|
38
|
+
if (data.status === "success") {
|
|
39
|
+
readyToRunWorkflowsV2Store.trackExecuteAiWorkflowSuccess();
|
|
40
|
+
} else {
|
|
41
|
+
readyToRunWorkflowsV2Store.trackExecuteAiWorkflow(data.status);
|
|
42
|
+
}
|
|
34
43
|
} else if (isPrebuiltAgentTemplateId(templateId)) {
|
|
35
44
|
telemetry.track("User executed pre-built Agent", {
|
|
36
45
|
template: templateId,
|
|
@@ -124,22 +133,12 @@ async function fetchExecutionData(executionId) {
|
|
|
124
133
|
}
|
|
125
134
|
}
|
|
126
135
|
function getRunExecutionData(execution) {
|
|
127
|
-
|
|
128
|
-
|
|
136
|
+
return {
|
|
137
|
+
...execution.data,
|
|
129
138
|
startData: execution.data?.startData,
|
|
130
139
|
resultData: execution.data?.resultData ?? { runData: {} },
|
|
131
140
|
executionData: execution.data?.executionData
|
|
132
141
|
};
|
|
133
|
-
if (workflowsStore.workflowExecutionData?.workflowId === execution.workflowId) {
|
|
134
|
-
const activeRunData = workflowsStore.workflowExecutionData?.data?.resultData?.runData;
|
|
135
|
-
if (activeRunData) {
|
|
136
|
-
for (const key of Object.keys(activeRunData)) {
|
|
137
|
-
if (hasTrimmedItem(activeRunData[key])) continue;
|
|
138
|
-
runExecutionData.resultData.runData[key] = activeRunData[key];
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
return runExecutionData;
|
|
143
142
|
}
|
|
144
143
|
function getRunDataExecutedErrorMessage(execution) {
|
|
145
144
|
const i18n = useI18n();
|
|
@@ -283,9 +282,6 @@ function setRunExecutionData(execution, runExecutionData) {
|
|
|
283
282
|
const nodeHelpers = useNodeHelpers();
|
|
284
283
|
const runDataExecutedErrorMessage = getRunDataExecutedErrorMessage(execution);
|
|
285
284
|
const workflowExecution = workflowsStore.getWorkflowExecution;
|
|
286
|
-
if (workflowsStore.getWorkflowRunData && !hasTrimmedData(workflowsStore.getWorkflowRunData)) {
|
|
287
|
-
runExecutionData.resultData.runData = workflowsStore.getWorkflowRunData;
|
|
288
|
-
}
|
|
289
285
|
workflowsStore.executingNode.length = 0;
|
|
290
286
|
workflowsStore.setWorkflowExecutionData({
|
|
291
287
|
...workflowExecution,
|
|
@@ -355,13 +351,29 @@ async function nodeDescriptionUpdated(_event) {
|
|
|
355
351
|
async function nodeExecuteAfter({ data: pushData }) {
|
|
356
352
|
const workflowsStore = useWorkflowsStore();
|
|
357
353
|
const assistantStore = useAssistantStore();
|
|
358
|
-
const
|
|
359
|
-
|
|
360
|
-
|
|
354
|
+
const placeholderOutputData = {
|
|
355
|
+
main: []
|
|
356
|
+
};
|
|
357
|
+
if (typeof pushData.itemCount === "number") {
|
|
358
|
+
const fillObject = { json: { [TRIMMED_TASK_DATA_CONNECTIONS_KEY]: true } };
|
|
359
|
+
const fillArray = new Array(pushData.itemCount).fill(fillObject);
|
|
360
|
+
placeholderOutputData.main = [fillArray];
|
|
361
361
|
}
|
|
362
|
-
|
|
362
|
+
const pushDataWithPlaceholderOutputData = {
|
|
363
|
+
...pushData,
|
|
364
|
+
data: {
|
|
365
|
+
...pushData.data,
|
|
366
|
+
data: placeholderOutputData
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
workflowsStore.updateNodeExecutionData(pushDataWithPlaceholderOutputData);
|
|
363
370
|
workflowsStore.removeExecutingNode(pushData.nodeName);
|
|
364
371
|
void assistantStore.onNodeExecution(pushData);
|
|
372
|
+
}
|
|
373
|
+
async function nodeExecuteAfterData({ data: pushData }) {
|
|
374
|
+
const workflowsStore = useWorkflowsStore();
|
|
375
|
+
const schemaPreviewStore = useSchemaPreviewStore();
|
|
376
|
+
workflowsStore.updateNodeExecutionData(pushData);
|
|
365
377
|
void schemaPreviewStore.trackSchemaPreviewExecution(pushData);
|
|
366
378
|
}
|
|
367
379
|
async function nodeExecuteBefore({ data }) {
|
|
@@ -541,6 +553,8 @@ function usePushConnection(options) {
|
|
|
541
553
|
return await nodeExecuteBefore(event);
|
|
542
554
|
case "nodeExecuteAfter":
|
|
543
555
|
return await nodeExecuteAfter(event);
|
|
556
|
+
case "nodeExecuteAfterData":
|
|
557
|
+
return await nodeExecuteAfterData(event);
|
|
544
558
|
case "executionStarted":
|
|
545
559
|
return await executionStarted(event);
|
|
546
560
|
case "sendWorkerStatusMessage":
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as useRouter, aa as useWorkflowHelpers, a9 as useWorkflowSaving, C as useWorkflowsStore, s as useUIStore, a as useToast, a7 as useNpsSurveyStore, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, Y as useTelemetry, aV as useExternalHooks, aI as useStorage, eE as LOCAL_STORAGE_ACTIVATION_FLAG, W as WORKFLOW_ACTIVE_MODAL_KEY } from "./index-BJG79OsS.js";
|
|
2
|
+
import { b8 as ref, bT as useI18n } from "./index-4g2Akj0I.js";
|
|
2
3
|
function useWorkflowActivate() {
|
|
3
4
|
const updatingWorkflowActivation = ref(false);
|
|
4
5
|
const router = useRouter();
|