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.
Files changed (133) hide show
  1. package/dist/assets/{AddDataStoreModal-D3j8deoq.css → AddDataStoreModal-B7jBhCjt.css} +5 -3
  2. package/dist/assets/{AddDataStoreModal-COmj3tI8.js → AddDataStoreModal-CLYFuWF4.js} +12 -7
  3. package/dist/assets/{AnimatedSpinner-BRe0Ugab.js → AnimatedSpinner-D7Nt5ZAz.js} +2 -1
  4. 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
  5. package/dist/assets/{AuthView-z58gFjsc.js → AuthView-Db8T18BU.js} +3 -2
  6. package/dist/assets/{ChangePasswordView-DUmtjPAx.js → ChangePasswordView-Clb7ta4t.js} +4 -3
  7. package/dist/assets/CollectionParameter-BGBoLgV2.js +5 -0
  8. 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
  9. package/dist/assets/{CredentialsView-Ie0l_odH.js → CredentialsView-CydHAPfb.js} +11 -9
  10. 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
  11. package/dist/assets/{DataStoreDetailsView-BPsHPucD.css → DataStoreDetailsView-C8fMxukz.css} +60 -39
  12. package/dist/assets/{DataStoreDetailsView-DLuRcsh-.js → DataStoreDetailsView-DZK3pYSP.js} +267 -102
  13. package/dist/assets/{DataStoreView-DmY3FIsv.js → DataStoreView-CT0OnFLR.js} +14 -29
  14. package/dist/assets/{DemoFooter-BQj55pTx.js → DemoFooter-DHwNRr6t.js} +7 -6
  15. 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
  16. package/dist/assets/{EntityNotFound-B1VWHiBa.js → EntityNotFound-BDjIF_1D.js} +2 -1
  17. package/dist/assets/{EntityUnAuthorised-B0Yg7JWa.js → EntityUnAuthorised-Dz3DXm1-.js} +2 -1
  18. package/dist/assets/{ErrorView-aHqCD3ri.js → ErrorView-BH0St5KC.js} +2 -1
  19. package/dist/assets/{EvaluationsRootView-CoYRtuEz.js → EvaluationsRootView-CnJlr4OF.js} +2 -1
  20. package/dist/assets/{EvaluationsView-BC1UMOb0.js → EvaluationsView-DABp8z-m.js} +4 -3
  21. 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
  22. package/dist/assets/{ExecutionsView-C8r32amj.js → ExecutionsView-CivgrlFE.js} +14 -12
  23. package/dist/assets/{ExecutionsView-DpVZbkhT.css → ExecutionsView-GKNLT5Ec.css} +1 -1
  24. package/dist/assets/{FixedCollectionParameter-DTkvAml6.css → FixedCollectionParameter-Dg7ZadcB.css} +18 -18
  25. package/dist/assets/{FixedCollectionParameter-BzZrk2iw.js → FixedCollectionParameter-l8xC6wRw.js} +7 -3
  26. package/dist/assets/{ForgotMyPasswordView-CaXCwrIx.js → ForgotMyPasswordView-WF87QWAH.js} +4 -3
  27. package/dist/assets/{InfoAccordion-DUHSL9ZE.js → InfoAccordion-8iWJ2sSU.js} +2 -1
  28. package/dist/assets/{InsightsChartAverageRuntime-DFunYdc9.js → InsightsChartAverageRuntime-BEd6XJn6.js} +5 -4
  29. package/dist/assets/{InsightsChartFailed-0uRNHiAU.js → InsightsChartFailed-CVwzK3ch.js} +5 -4
  30. package/dist/assets/{InsightsChartFailureRate-BuiZokRI.js → InsightsChartFailureRate-BeA77_lp.js} +5 -4
  31. package/dist/assets/{InsightsChartTimeSaved-CK46Eo2R.js → InsightsChartTimeSaved-DkgR7j7U.js} +5 -4
  32. package/dist/assets/{InsightsChartTotal-ZhGp0D6c.js → InsightsChartTotal--1QxzvAZ.js} +5 -4
  33. package/dist/assets/{InsightsDashboard-DEJEg2jy.js → InsightsDashboard-cHCzH4ZY.js} +13 -11
  34. package/dist/assets/{InsightsPaywall-CEYbNF-U.js → InsightsPaywall-neQ9PmYP.js} +2 -1
  35. package/dist/assets/{InsightsSummary-D4c0lwdE.js → InsightsSummary-BekdjOxv.js} +4 -2
  36. package/dist/assets/{InsightsTableWorkflows-Cf2s_w2o.js → InsightsTableWorkflows-LMO-UU8h.js} +5 -4
  37. package/dist/assets/{Logo-DF7Ve1nG.js → Logo-DXNRuN8z.js} +2 -1
  38. package/dist/assets/{LogsPanel-Dz_R5wsR.js → LogsPanel-2GQHQFmh.js} +36 -22
  39. package/dist/assets/{LogsPanel-BinqqXXh.css → LogsPanel-CUsQIBpC.css} +17 -17
  40. package/dist/assets/{MainHeader-DBWR1wTC.js → MainHeader-BlBek00C.js} +12 -10
  41. package/dist/assets/{MainSidebar-3_9O8-rJ.js → MainSidebar-qdHg8D5V.js} +3 -2
  42. package/dist/assets/{NodeCreation-Dtlm36Oq.js → NodeCreation-DO5k3aK3.js} +4 -3
  43. package/dist/assets/{NodeCreator-DUoi7nAW.js → NodeCreator-C3Pmrqkh.js} +2 -1
  44. package/dist/assets/{NodeDetailsView-Di4Qgo0H.js → NodeDetailsView-BACft9ex.js} +18 -17
  45. package/dist/assets/{NodeDetailsView-CjdovDgq.css → NodeDetailsView-CBYV4Rrz.css} +11 -11
  46. package/dist/assets/{NodeDetailsViewV2-DeY6N1Bz.js → NodeDetailsViewV2--1S2eK5u.js} +14 -13
  47. package/dist/assets/{NodeView-DsbJeAY_.js → NodeView-BRwQ5Cqs.js} +113 -99
  48. package/dist/assets/{NodeView-DMJpfBYR.css → NodeView-Chs2u0U9.css} +28 -25
  49. package/dist/assets/{PageViewLayout-DC6xqvMl.js → PageViewLayout-DldtilHz.js} +2 -1
  50. package/dist/assets/{PrebuiltAgentTemplatesView-Bf_4L0Mz.js → PrebuiltAgentTemplatesView-ChyN8J2x.js} +3 -2
  51. package/dist/assets/{ProjectBreadcrumb-OJlbtg71.js → ProjectBreadcrumb-9uWmVmc7.js} +2 -1
  52. package/dist/assets/{ProjectHeader-CuQxn8hj.js → ProjectHeader-CWapIKXf.js} +93 -23
  53. package/dist/assets/{ProjectSettings-CyyS1dIR.js → ProjectSettings-BlYXGYRx.js} +5 -3
  54. 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
  55. package/dist/assets/{ResourcesListLayout-i7do2ZBR.js → ResourcesListLayout-CfDIFGjS.js} +5 -4
  56. package/dist/assets/{RunDataJson-DRtbtIz3.js → RunDataJson-CTm3-xdY.js} +4 -3
  57. package/dist/assets/{RunDataJsonActions-7l2QvE2z.js → RunDataJsonActions-B_yBOGYB.js} +2 -1
  58. package/dist/assets/{RunDataParsedAiContent-CD12A0kN.js → RunDataParsedAiContent-Cg9vUI0v.js} +3 -2
  59. package/dist/assets/{RunDataSearch-LNeMq9j6.js → RunDataSearch-DPt2MvbI.js} +2 -1
  60. package/dist/assets/{RunDataTable-DcKBX4aO.js → RunDataTable-DHVRSqQT.js} +2 -1
  61. package/dist/assets/{SamlOnboarding-i5e6HuF6.js → SamlOnboarding-CN_xGqen.js} +4 -3
  62. package/dist/assets/{SelectedItemsInfo-CfUb0ZrI.css → SelectedItemsInfo-Dl4uynXs.css} +5 -3
  63. package/dist/assets/{SelectedItemsInfo-C55zD1dl.js → SelectedItemsInfo-DzoCyQOW.js} +12 -7
  64. package/dist/assets/{SettingsApiView-C3ju5H4H.js → SettingsApiView-BIKCRKGM.js} +2 -1
  65. package/dist/assets/{SettingsCommunityNodesView-i_vIhGwd.js → SettingsCommunityNodesView-ClWYmDB8.js} +7 -4
  66. package/dist/assets/{SettingsExternalSecrets-ChCiOX-n.js → SettingsExternalSecrets-D58JxT3V.js} +2 -1
  67. package/dist/assets/{SettingsLdapView-2QEfpHy6.js → SettingsLdapView-uImCjvMm.js} +2 -1
  68. package/dist/assets/{SettingsLogStreamingView-BORk25bO.js → SettingsLogStreamingView-DUn62Yq4.js} +2 -1
  69. package/dist/assets/{SettingsPersonalView-Yl43xiM_.js → SettingsPersonalView-DGiCMsXu.js} +2 -1
  70. package/dist/assets/{SettingsSourceControl-BpcJX-rJ.js → SettingsSourceControl-CVik5czR.js} +2 -1
  71. package/dist/assets/{SettingsSso-BugeRCyt.js → SettingsSso-BQkWpsdO.js} +2 -1
  72. package/dist/assets/{SettingsUsageAndPlan-Dt6g-FQw.js → SettingsUsageAndPlan-BuwgmEka.js} +2 -1
  73. package/dist/assets/{SettingsUsersView-BhBuZop9.js → SettingsUsersView-DCmtHeMa.js} +2 -1
  74. package/dist/assets/{SettingsView-Cx0SMMrn.js → SettingsView-CrBThv_a.js} +2 -1
  75. package/dist/assets/{SetupView-CUJOHrm2.js → SetupView-CES8Gnnv.js} +4 -3
  76. package/dist/assets/{SetupWorkflowCredentialsButton-D6h_IgTa.js → SetupWorkflowCredentialsButton-Bjhx_rck.js} +2 -1
  77. package/dist/assets/{SetupWorkflowFromTemplateView-_ReKyIk1.js → SetupWorkflowFromTemplateView-C8kmCc7J.js} +4 -3
  78. package/dist/assets/{SigninView--fAZZd3A.js → SigninView-24xKsh_S.js} +4 -3
  79. package/dist/assets/{SignoutView-DXoOH9BS.js → SignoutView-DgFIUUyh.js} +2 -1
  80. package/dist/assets/{SignupView-d0cK_S0B.js → SignupView-BckB-uUh.js} +4 -3
  81. package/dist/assets/{TableBase-D5vBzOrx.js → TableBase-CQEzJfeN.js} +2 -1
  82. package/dist/assets/{Tags-CZdua1l_.js → Tags-DbX-5_Fk.js} +2 -2
  83. package/dist/assets/{TemplateDetails-ccSWABeF.js → TemplateDetails-BGraOFbY.js} +3 -2
  84. package/dist/assets/{TemplateList-BKUKBRua.js → TemplateList-5P1N08U1.js} +2 -1
  85. package/dist/assets/{TemplatesCollectionView-BTyYNxNc.js → TemplatesCollectionView-D2-SU0eR.js} +7 -7
  86. package/dist/assets/{TemplatesSearchView-BYM3HbbU.js → TemplatesSearchView-ncBXTfOM.js} +4 -3
  87. package/dist/assets/{TemplatesView-CrH_O4he.js → TemplatesView-DO7HuUts.js} +2 -1
  88. package/dist/assets/{TemplatesWorkflowView-Dg3REjWI.js → TemplatesWorkflowView-BvrjU4RD.js} +7 -7
  89. package/dist/assets/{TriggerPanel-dDX4Bzu7.js → TriggerPanel-BFQ6veDz.js} +10 -8
  90. package/dist/assets/{VariablesView-DQw3gYG7.js → VariablesView-BVzruwEA.js} +7 -6
  91. package/dist/assets/{WorkerView-DIs4RXZZ.js → WorkerView-DRM6mgWJ.js} +9 -6
  92. package/dist/assets/{WorkflowActivator-z_Ef2Dd7.js → WorkflowActivator-BOt1oNlm.js} +4 -3
  93. package/dist/assets/{WorkflowExecutionsInfoAccordion-ptRuD88E.js → WorkflowExecutionsInfoAccordion-BjZUTKcs.js} +3 -2
  94. package/dist/assets/{WorkflowExecutionsLandingPage-C-RDf8Mu.js → WorkflowExecutionsLandingPage-ENKxL7Yh.js} +4 -3
  95. package/dist/assets/{WorkflowExecutionsPreview-Bk449wx1.js → WorkflowExecutionsPreview-Cdgg29u5.js} +5 -4
  96. package/dist/assets/{WorkflowExecutionsView-Dp0exxTM.js → WorkflowExecutionsView-t3W7WuAy.js} +9 -9
  97. package/dist/assets/{WorkflowHistory-D8zH1o6c.js → WorkflowHistory--OLvuBs1.js} +3 -2
  98. package/dist/assets/{WorkflowOnboardingView-8OmgIoUc.js → WorkflowOnboardingView-C8y96ur1.js} +2 -1
  99. package/dist/assets/{WorkflowPreview-jOuoMEkv.js → WorkflowPreview-C1XHoZmU.js} +2 -1
  100. package/dist/assets/{WorkflowsView-B9MpreL6.js → WorkflowsView-B9rxI0No.js} +272 -62
  101. package/dist/assets/{WorkflowsView-BuvoAeDm.css → WorkflowsView-MF9XcT0u.css} +186 -0
  102. package/dist/assets/{canvas-k8kjfgjE.js → canvas-D2PwiGnN.js} +1 -1
  103. package/dist/assets/{chartjs.utils-BXNxmkto.js → chartjs.utils-B6sz8yOh.js} +2 -2
  104. package/dist/assets/{core-e2mfCMV8.js → core-Be7WBA6o.js} +2 -1
  105. package/dist/assets/{en-C3wg5zl_.js → en-CJyn5rnO.js} +26 -20
  106. package/dist/assets/{global-link-actions-CR3odK4e.js → global-link-actions-B9WsUojd.js} +1 -1
  107. package/dist/assets/index-4g2Akj0I.js +13861 -0
  108. package/dist/assets/{index-DnpNicM9.css → index-B7wrqKiF.css} +8081 -8069
  109. package/dist/assets/{index-DuLlH1tF.js → index-BJG79OsS.js} +326896 -342404
  110. package/dist/assets/{index-DuaZRDhZ.js → index-LOlKxvn4.js} +2 -1
  111. package/dist/assets/loadDefaultEn-DNiURDi9.js +8 -0
  112. package/dist/assets/{pickBy-sB8d3BKD.js → pickBy-BMn768eW.js} +1 -1
  113. package/dist/assets/{readyToRunWorkflows.store-SxwN_l4P.js → readyToRunWorkflows.store-HSpbq3Bf.js} +2 -1
  114. package/dist/assets/readyToRunWorkflowsV2.store-DcRVIsRt.js +138 -0
  115. package/dist/assets/sqlite3-DBpDb1lf.wasm +0 -0
  116. package/dist/assets/sqlite3-opfs-async-proxy-CYRFPDln.js +579 -0
  117. package/dist/assets/sqlite3-worker1-bundler-friendly-DF3WqBKq.js +11289 -0
  118. package/dist/assets/{templateActions-BUeOwdy0.js → templateActions-DR_XHPc4.js} +1 -1
  119. package/dist/assets/{useBeforeUnload-DpCu12iW.js → useBeforeUnload-DmAaB1v5.js} +2 -1
  120. package/dist/assets/{useExecutionDebugging-XRtGhlAr.js → useExecutionDebugging-B8xDxcb6.js} +2 -1
  121. package/dist/assets/{useImportCurlCommand-DJJ0VEAg.js → useImportCurlCommand-BaN8fxqM.js} +2 -1
  122. package/dist/assets/{useProjectPages-DrMZX3ez.js → useProjectPages-B-oTYbCo.js} +2 -1
  123. package/dist/assets/{usePushConnection-CPQe3uqU.js → usePushConnection-Bcd2_XWM.js} +36 -22
  124. package/dist/assets/{useWorkflowActivate-RFJxTj5m.js → useWorkflowActivate-BDE2t3MM.js} +2 -1
  125. package/dist/assets/worker-DZxlyUFA.js +11826 -0
  126. package/dist/index.html +3 -2
  127. package/package.json +1 -1
  128. package/vite/i18n-locales-hmr-helpers.ts +19 -0
  129. package/vite.config.mts +25 -1
  130. package/dist/assets/CollectionParameter--MG-Jsbv.js +0 -4
  131. package/dist/assets/Tag-CGAmDPzS.js +0 -32
  132. package/dist/assets/Tag-Cg-Hqs2H.css +0 -153
  133. package/dist/assets/dataStore.store-vaNG0oX7.js +0 -291
@@ -1,4 +1,4 @@
1
- import { eA as assert, eR as doesNodeHaveCredentialsToFill, V as VIEWS, dy as tryToParseNumber, eS as getNewWorkflow, eT as replaceAllTemplateNodeCredentials, dD as getNodesWithNormalizedPosition } from "./index-DuLlH1tF.js";
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 { Q as useUIStore, co as useCanvasStore, r as ref, x as computed, V as VIEWS, c as useI18n } from "./index-DuLlH1tF.js";
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, a1 as useWorkflowsStore, v as useSettingsStore, Q as useUIStore, aA as usePageRedirectionHelper, x as computed, aE as EnterpriseEditionFeature, c as useI18n, dT as DEBUG_PAYWALL_MODAL_KEY, aW as h, dU as sanitizeHtml, am as useMessage, an as MODAL_CONFIRM, V as VIEWS, al as useTelemetry, at as useRootStore, dV as isFullExecutionResponse } from "./index-DuLlH1tF.js";
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 { h2 as process$1, h3 as requirePathBrowserify, h4 as require$$0, bS as getDefaultExportFromCjs, h5 as Buffer, a as useToast, l as unref, eA as assert, h6 as CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS, h7 as importCurlEventBus, h8 as CURL_IMPORT_NODES_PROTOCOLS, c as useI18n, bE as get } from "./index-DuLlH1tF.js";
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 { a2 as useRoute, x as computed, V as VIEWS, d8 as reactive } from "./index-DuLlH1tF.js";
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 { f8 as makeRestApiRequest, a1 as useWorkflowsStore, Q as useUIStore, f9 as clearPopupWindowState, al as useTelemetry, fa as isPrebuiltAgentTemplateId, fb as isTutorialTemplateId, cm as parse, fc as hasTrimmedItem, v as useSettingsStore, ay as useWorkflowSaving, az as useWorkflowHelpers, ak as WORKFLOW_SETTINGS_MODAL_KEY, a as useToast, fd as generateNodesGraph, c as useI18n, fe as getExecutionErrorToastConfiguration, ad as useNodeTypesStore, ff as getTriggerNodeServiceName, bL as useNodeHelpers, fg as hasTrimmedData, bp as useExternalHooks, fh as codeNodeEditorEventBus, fi as SampleTemplates, dn as EVALUATION_TRIGGER_NODE_TYPE, bM as useRunWorkflow, fj as getExecutionErrorMessage, db as useCredentialsStore, fk as useAssistantStore, fl as useSchemaPreviewStore, fm as isCommunityPackageName, $ as defineStore, at as useRootStore, a0 as usePushConnectionStore, r as ref } from "./index-DuLlH1tF.js";
2
- import { g as globalLinkActionsEventBus } from "./global-link-actions-CR3odK4e.js";
3
- import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-SxwN_l4P.js";
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
- const workflowsStore = useWorkflowsStore();
128
- const runExecutionData = {
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 schemaPreviewStore = useSchemaPreviewStore();
359
- if (pushData.itemCount && pushData.data?.data?.main && Array.isArray(pushData.data.data.main[0]) && pushData.data.data.main[0].length < pushData.itemCount) {
360
- pushData.data.data.main[0]?.push(...new Array(pushData.itemCount - 1).fill({ json: {} }));
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
- workflowsStore.updateNodeExecutionData(pushData);
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 { r as ref, b as useRouter, az as useWorkflowHelpers, ay as useWorkflowSaving, a1 as useWorkflowsStore, Q as useUIStore, a as useToast, aw as useNpsSurveyStore, a3 as PLACEHOLDER_EMPTY_WORKFLOW_ID, al as useTelemetry, bp as useExternalHooks, c as useI18n, bc as useStorage, fv as LOCAL_STORAGE_ACTIVATION_FLAG, ag as WORKFLOW_ACTIVE_MODAL_KEY } from "./index-DuLlH1tF.js";
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();