n8n-editor-ui 1.90.1 → 1.91.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.
Files changed (119) hide show
  1. package/dist/assets/{AnimatedSpinner-ChThynSJ.js → AnimatedSpinner-BrkRvAXQ.js} +1 -1
  2. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WGp2Kuen.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DRamY8Fo.js} +1 -1
  3. package/dist/assets/{AuthView-Dlhn_SQ-.js → AuthView-ehh7NFh5.js} +2 -2
  4. package/dist/assets/{CanvasChatSwitch-BuBg7TJP.js → CanvasChatSwitch-DUBgoMXw.js} +11 -11
  5. package/dist/assets/{ChangePasswordView-BKYXOoDf.js → ChangePasswordView-BLFb7_-o.js} +3 -3
  6. package/dist/assets/CollectionParameter-BaH_a73u.js +4 -0
  7. package/dist/assets/{CredentialsView-BNWIgrLb.js → CredentialsView-1uYUpp0G.js} +10 -9
  8. package/dist/assets/{DemoFooter-DR6r_2qR.js → DemoFooter-CNfkqkRC.js} +8 -8
  9. package/dist/assets/{ErrorView-Bu8Mt5FH.js → ErrorView-CmYweWFA.js} +1 -1
  10. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DvtOOOhh.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DAWTDTON.js} +2 -2
  11. package/dist/assets/{ExecutionsView-C0WZAIi0.js → ExecutionsView-fotg1R4V.js} +11 -10
  12. package/dist/assets/{FileSaver.min-Cm0u4qyc.js → FileSaver.min-CcnqpaV-.js} +1 -1
  13. package/dist/assets/{FixedCollectionParameter-KmRZtBiP.js → FixedCollectionParameter-BYR4RzWw.js} +1 -1
  14. package/dist/assets/{ForgotMyPasswordView-GH7SqEFu.js → ForgotMyPasswordView-CQMKtpr-.js} +3 -3
  15. package/dist/assets/{InsightsChartAverageRuntime-SeBUN06R.js → InsightsChartAverageRuntime-B-9BU5qw.js} +7 -6
  16. package/dist/assets/{InsightsChartFailed-TYjH8LwV.js → InsightsChartFailed-Bd1BlFEm.js} +7 -6
  17. package/dist/assets/{InsightsChartFailureRate-D41Jv-6v.js → InsightsChartFailureRate-DPTCueAp.js} +7 -6
  18. package/dist/assets/{InsightsChartTimeSaved-TLPDAmPx.js → InsightsChartTimeSaved-CSVKB08W.js} +7 -6
  19. package/dist/assets/{InsightsChartTotal-CaKTe2mv.js → InsightsChartTotal-Bxjmisao.js} +7 -6
  20. package/dist/assets/InsightsDashboard-5cOORj5z.js +372 -0
  21. package/dist/assets/{InsightsDashboard-DPVczYm3.css → InsightsDashboard-Bx4vx9gz.css} +16 -0
  22. package/dist/assets/{InsightsPaywall-Z4Y0nO-i.js → InsightsPaywall-Bdo_3Ic_.js} +1 -1
  23. package/dist/assets/{InsightsSummary-FixbpmPJ.css → InsightsSummary-CdlaUpAt.css} +25 -25
  24. package/dist/assets/{InsightsSummary-DzYli0Pu.js → InsightsSummary-DB62HhNM.js} +16 -17
  25. package/dist/assets/{InsightsTableWorkflows-CUHAG57c.js → InsightsTableWorkflows-BEC5Yh0b.js} +2 -2
  26. package/dist/assets/{Logo-Dxp4M9dy.js → Logo-CK8euEWT.js} +1 -1
  27. package/dist/assets/{LogsPanel-zIrTNE6j.js → LogsPanel-CrGEYFLo.js} +480 -364
  28. package/dist/assets/{LogsPanel-DmPMCt9w.css → LogsPanel-DLC2TAqh.css} +203 -97
  29. package/dist/assets/{MainHeader-D4cIIoUA.js → MainHeader-C7XOaZKu.js} +122 -295
  30. package/dist/assets/MainHeader-CEPLiR-5.css +1044 -0
  31. package/dist/assets/{MainSidebar-BtW-9UPT.js → MainSidebar-DD_ugRL3.js} +2 -2
  32. package/dist/assets/{NodeCreation-thD32mA1.js → NodeCreation-S2FoBcnW.js} +4 -4
  33. package/dist/assets/{NodeCreator-B4mHaU45.js → NodeCreator-D6TKVgLu.js} +14 -4
  34. package/dist/assets/{NodeDetailsView-cO3Ci9jH.js → NodeDetailsView-DtvMtBqp.js} +40 -30
  35. package/dist/assets/{NodeView-E5b1ClVD.js → NodeView-BPhaaoWK.js} +135 -30
  36. package/dist/assets/{ProjectCardBadge-LnLKqSK-.js → ProjectCardBadge-C_L_pqWA.js} +1 -1
  37. package/dist/assets/{ProjectHeader-DC02ZuZ0.js → ProjectHeader-C0FZTxjm.js} +1 -1
  38. package/dist/assets/{ProjectSettings-Zr1UOp7s.js → ProjectSettings-DlggJ6Ti.js} +2 -2
  39. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CM7WIpD3.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BNtCDFSj.js} +1 -1
  40. package/dist/assets/{ResourcesListLayout-CglK2dXR.css → ResourcesListLayout-CtGME7aU.css} +8 -8
  41. package/dist/assets/{ResourcesListLayout-DTsuHdYx.js → ResourcesListLayout-HzoSFUaj.js} +2 -2
  42. package/dist/assets/{RunData-DepHcD2K.css → RunData-C9dtm1M2.css} +92 -73
  43. package/dist/assets/{RunData-Ds-U68nr.js → RunData-D8Eax0cQ.js} +319 -221
  44. package/dist/assets/{RunDataAi-DdK11EHU.js → RunDataAi-BUnCQIRN.js} +3 -3
  45. package/dist/assets/{RunDataJson-Txw0lqay.css → RunDataJson-BH9HLoGC.css} +12 -8
  46. package/dist/assets/{RunDataJson-B2WU5od1.js → RunDataJson-DXd3nZxI.js} +20 -14
  47. package/dist/assets/{RunDataJsonActions-DqZ2X1yJ.js → RunDataJsonActions-aivOaol2.js} +1 -1
  48. package/dist/assets/{RunDataSearch-CQsyZvGK.js → RunDataSearch-DJ9BZGTu.js} +1 -1
  49. package/dist/assets/{RunDataTable-DyUvXWfl.css → RunDataTable-CUxj7dHx.css} +47 -39
  50. package/dist/assets/{RunDataTable-BO0R4JT_.js → RunDataTable-vEPCwbcC.js} +41 -30
  51. package/dist/assets/{SamlOnboarding-CmwMX5y2.js → SamlOnboarding--OTxMEws.js} +3 -3
  52. package/dist/assets/{SettingsApiView-D6uBbi9-.js → SettingsApiView-BulxWyyY.js} +1 -1
  53. package/dist/assets/{SettingsCommunityNodesView-CJODtx_K.js → SettingsCommunityNodesView-4wwPXFO2.js} +4 -4
  54. package/dist/assets/{SettingsExternalSecrets-CVk14P_P.js → SettingsExternalSecrets-zt7dxBKK.js} +1 -1
  55. package/dist/assets/{SettingsLdapView-pg71FErj.js → SettingsLdapView-xneO6UIv.js} +1 -1
  56. package/dist/assets/{SettingsLogStreamingView-DUOI3Xb9.js → SettingsLogStreamingView-_h8wUzum.js} +1 -1
  57. package/dist/assets/{SettingsPersonalView-BFnOmBPC.js → SettingsPersonalView-CwYMP4sk.js} +1 -1
  58. package/dist/assets/{SettingsSourceControl-BUNmxcvB.js → SettingsSourceControl-B9Tg93u3.js} +1 -1
  59. package/dist/assets/{SettingsSso-Dx8Qw_2Z.js → SettingsSso-XaL1PzfW.js} +1 -1
  60. package/dist/assets/{SettingsUsageAndPlan-DTk86tXU.js → SettingsUsageAndPlan-Ci15FW81.js} +1 -1
  61. package/dist/assets/{SettingsUsersView-BviXcl30.js → SettingsUsersView-DBJV4vSK.js} +1 -1
  62. package/dist/assets/{SettingsView-fzPdUijx.js → SettingsView-DMzdPF-1.js} +1 -1
  63. package/dist/assets/{SetupView-DUTx1JXK.js → SetupView-BqWgdvDq.js} +3 -3
  64. package/dist/assets/{SetupWorkflowCredentialsButton-fApxCGHh.js → SetupWorkflowCredentialsButton-B2wnuUnF.js} +1 -1
  65. package/dist/assets/{SetupWorkflowFromTemplateView-C5t9fEKF.js → SetupWorkflowFromTemplateView-BwC_wFSc.js} +3 -3
  66. package/dist/assets/{SigninView-BRVoXQRW.js → SigninView-DpTLJJwD.js} +3 -3
  67. package/dist/assets/{SignoutView-Duh6wb4Y.js → SignoutView-dkTtOCo1.js} +1 -1
  68. package/dist/assets/{SignupView-DMkpTtjs.js → SignupView-CJFJJO3L.js} +3 -3
  69. package/dist/assets/{TemplateDetails-Df9_jph6.js → TemplateDetails-84YElIBA.js} +1 -1
  70. package/dist/assets/{TemplateList-qSnJvw0K.js → TemplateList-CGsfKuVA.js} +1 -1
  71. package/dist/assets/{TemplatesCollectionView--ccYXaCo.js → TemplatesCollectionView-2y8KZk0I.js} +5 -5
  72. package/dist/assets/{TemplatesSearchView-D1YgHKld.js → TemplatesSearchView-DgosiOzl.js} +3 -3
  73. package/dist/assets/{TemplatesView-B9CwObHN.js → TemplatesView-CgQSZO4a.js} +1 -1
  74. package/dist/assets/{TemplatesWorkflowView-DtLpUF59.js → TemplatesWorkflowView-2pSUmAbX.js} +5 -5
  75. package/dist/assets/{TestDefinitionEditView-DFcBlKnN.js → TestDefinitionEditView-C26sWE7p.js} +8 -8
  76. package/dist/assets/{TestDefinitionListView-C_mbolTO.js → TestDefinitionListView-Cyl6bsLP.js} +1 -1
  77. package/dist/assets/{TestDefinitionNewView-CvyM6TLE.js → TestDefinitionNewView-CfIZ0atk.js} +2 -2
  78. package/dist/assets/{TestDefinitionRootView-BXzJY0cY.js → TestDefinitionRootView-CYg7HBL-.js} +1 -1
  79. package/dist/assets/{VariablesView-BHFJj5IU.js → VariablesView-BFE9B0_b.js} +3 -3
  80. package/dist/assets/{WorkerView-CgIksFjP.js → WorkerView-BUMCMS_B.js} +6 -6
  81. package/dist/assets/WorkflowActivator-BDLto9c0.js +776 -0
  82. package/dist/assets/{MainHeader-CWA2JfVJ.css → WorkflowActivator-DAyH7N29.css} +74 -434
  83. package/dist/assets/{WorkflowExecutionsInfoAccordion-BcBLZ_Ul.js → WorkflowExecutionsInfoAccordion-manN-WIj.js} +1 -1
  84. package/dist/assets/{WorkflowExecutionsLandingPage-B9ByHnbR.js → WorkflowExecutionsLandingPage-BzGmpGvf.js} +2 -2
  85. package/dist/assets/{WorkflowExecutionsPreview-DCE7TYLh.js → WorkflowExecutionsPreview-CNEV2lom.js} +6 -6
  86. package/dist/assets/{WorkflowExecutionsView-DFoBpdS7.js → WorkflowExecutionsView-WiNvtAmD.js} +7 -7
  87. package/dist/assets/{WorkflowHistory-DolmPUM2.js → WorkflowHistory-6uJJqB4x.js} +4 -4
  88. package/dist/assets/{WorkflowOnboardingView-DQW48M8_.js → WorkflowOnboardingView-CPt_AUR-.js} +1 -1
  89. package/dist/assets/{WorkflowPreview-BFR6V9SO.js → WorkflowPreview-CHUEX6H6.js} +1 -1
  90. package/dist/assets/{WorkflowsView-CsM69PSv.css → WorkflowsView-B2_HJCJ5.css} +28 -162
  91. package/dist/assets/{WorkflowsView-B-feKuLZ.js → WorkflowsView-DbGBRbfc.js} +123 -216
  92. package/dist/assets/{chartjs.utils-BcXTJ2Te.js → chartjs.utils-C--HONKb.js} +2 -2
  93. package/dist/assets/{dateFormatter-CZI1kGYK.js → dateFormatter-DbKqmK4w.js} +5 -5
  94. package/dist/assets/{easyAiWorkflowUtils-ChToD_Yl.js → easyAiWorkflowUtils-BWgfZ0am.js} +1 -1
  95. package/dist/assets/{global-link-actions-OGaZVwsw.js → global-link-actions-COf-9vBh.js} +1 -1
  96. package/dist/assets/{import-curl-CAszzwx1.js → import-curl-BiXaU2jk.js} +1 -1
  97. package/dist/assets/{index-7WdERzqm.js → index-B6xE9gZ1.js} +1 -1
  98. package/dist/assets/{index-BpdkKRP4.js → index-BLAboPd2.js} +14034 -12086
  99. package/dist/assets/{index-C5OXOcIJ.css → index-sq5ggyEC.css} +6265 -4303
  100. package/dist/assets/{pickBy-mYqFOFbh.js → pickBy-gZHb6vZ2.js} +1 -1
  101. package/dist/assets/{templateActions-BX9arLbc.js → templateActions-DCx74tPa.js} +1 -1
  102. package/dist/assets/{useBeforeUnload-K7nQ15Rk.js → useBeforeUnload-DbfysOS-.js} +1 -1
  103. package/dist/assets/{useCanvasMapping-D_UPCxYX.js → useCanvasMapping-CSuq_dYj.js} +251 -96
  104. package/dist/assets/{useCanvasMapping-C--wac6H.css → useCanvasMapping-cuXLM-h-.css} +185 -4
  105. package/dist/assets/{useCanvasOperations-D6VFiC3b.js → useCanvasOperations-C0pQBHW3.js} +3 -2
  106. package/dist/assets/{useClearExecutionButtonVisible-D_0O6f0X.js → useClearExecutionButtonVisible-Cvfxw8xC.js} +2 -2
  107. package/dist/assets/{useExecutionDebugging-BNMaKOh7.js → useExecutionDebugging-D2H5O6fT.js} +1 -1
  108. package/dist/assets/{useExecutionHelpers-DN5HqPqY.js → useExecutionHelpers-C--m0pTQ.js} +2 -2
  109. package/dist/assets/{useImportCurlCommand-BSL596XF.js → useImportCurlCommand-XFn6Ezp2.js} +2 -2
  110. package/dist/assets/{usePushConnection-BdV7ILvK.js → usePushConnection-x0iF1Axz.js} +5 -3
  111. package/dist/assets/{useTestDefinitionForm-CIhrxyve.js → useTestDefinitionForm-2YP-8pAN.js} +1 -1
  112. package/dist/assets/{useWorkflowActivate-pZ62ib_C.js → useWorkflowActivate-CvmIpy5T.js} +1 -1
  113. package/dist/index.html +2 -2
  114. package/package.json +1 -1
  115. package/vite.config.mts +15 -1
  116. package/dist/assets/CollectionParameter-CQXiWluX.js +0 -4
  117. package/dist/assets/InsightsDashboard-o3JS9fjz.js +0 -178
  118. package/dist/assets/WorkflowActivator-BX59FxTZ.css +0 -260
  119. package/dist/assets/WorkflowActivator-O6i5XAk2.js +0 -231
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, aF as useLoadingService, L as useUIStore, a3 as useSourceControlStore, a as useToast, r as ref, q as computed, ab as hasPermission, h as resolveComponent, i as createElementBlock, f as createCommentVNode, g as openBlock, B as normalizeStyle, n as normalizeClass, m as unref, k as createBaseVNode, j as createVNode, l as createTextVNode, t as toDisplayString, e as createBlock, w as withCtx, c as useI18n, C as createEventBus, an as SOURCE_CONTROL_PUSH_MODAL_KEY, aG as notifyUserAboutPullWorkFolderOutcome, aH as sourceControlEventBus, aI as SOURCE_CONTROL_PULL_MODAL_KEY, _ as _export_sfc, aJ as get, S as defineStore, aK as useCloudPlanStore, a1 as useRootStore, aL as useStorage, aM as DateTime, Y as STORES, ai as useTelemetry, p as useSettingsStore, a4 as useProjectsStore, b as useRouter, aN as sortByProperty, V as VIEWS, a9 as getResourcePermissions, a8 as usePageRedirectionHelper, F as Fragment, D as renderList, aO as useDebugInfo, aP as useTemplatesStore, u as useUsersStore, aQ as useVersionsStore, U as useWorkflowsStore, K as useDebounce, W as useRoute, o as onMounted, aR as useExternalHooks, z as nextTick, y as onBeforeUnmount, G as onClickOutside, aS as N8nTooltip, aT as N8nLink, aU as _sfc_main$5, aV as N8nNavigationDropdown, aW as createSlots, aX as VERSIONS_MODAL_KEY, aY as ABOUT_MODAL_KEY } from "./index-BpdkKRP4.js";
2
- import { L as Logo } from "./Logo-Dxp4M9dy.js";
1
+ import { d as defineComponent, aD as useLoadingService, H as useUIStore, a0 as useSourceControlStore, a as useToast, r as ref, q as computed, a9 as hasPermission, h as resolveComponent, i as createElementBlock, f as createCommentVNode, g as openBlock, B as normalizeStyle, n as normalizeClass, m as unref, k as createBaseVNode, j as createVNode, l as createTextVNode, t as toDisplayString, e as createBlock, w as withCtx, c as useI18n, C as createEventBus, al as SOURCE_CONTROL_PUSH_MODAL_KEY, aE as notifyUserAboutPullWorkFolderOutcome, aF as sourceControlEventBus, aG as SOURCE_CONTROL_PULL_MODAL_KEY, _ as _export_sfc, aH as get, O as defineStore, aI as useCloudPlanStore, Z as useRootStore, aJ as useStorage, aK as DateTime, T as STORES, ag as useTelemetry, p as useSettingsStore, a1 as useProjectsStore, b as useRouter, aL as sortByProperty, V as VIEWS, a7 as getResourcePermissions, a6 as usePageRedirectionHelper, F as Fragment, D as renderList, aM as useDebugInfo, aN as useTemplatesStore, u as useUsersStore, aO as useVersionsStore, Q as useWorkflowsStore, G as useDebounce, R as useRoute, o as onMounted, aP as useExternalHooks, z as nextTick, y as onBeforeUnmount, aQ as onClickOutside, aR as N8nTooltip, aS as N8nLink, aT as _sfc_main$5, aU as N8nNavigationDropdown, aV as createSlots, aW as VERSIONS_MODAL_KEY, aX as ABOUT_MODAL_KEY } from "./index-BLAboPd2.js";
2
+ import { L as Logo } from "./Logo-CK8euEWT.js";
3
3
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4
4
  __name: "MainSidebarSourceControl",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-B4mHaU45.js","assets/index-BpdkKRP4.js","assets/index-C5OXOcIJ.css","assets/useCanvasOperations-D6VFiC3b.js","assets/NodeCreator-D9fmPdS2.css"])))=>i.map(i=>d[i]);
2
- import { by as useNodeTypesStore, q as computed, c as useI18n, U as useWorkflowsStore, f8 as MANUAL_TRIGGER_NODE_TYPE, hu as CHAIN_LLM_LANGCHAIN_NODE_TYPE, bl as NodeConnectionTypes, bj as CHAT_TRIGGER_NODE_TYPE, hv as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, hw as OPEN_AI_NODE_TYPE, f0 as SPLIT_IN_BATCHES_NODE_TYPE, hx as NO_OP_NODE_TYPE, f3 as WEBHOOK_NODE_TYPE, fa as SCHEDULE_TRIGGER_NODE_TYPE, aR as useExternalHooks, a2 as useCanvasStore, eu as AI_CATEGORY_LANGUAGE_MODELS, hy as QA_CHAIN_NODE_TYPE, hz as AGENT_NODE_TYPE, hA as BASIC_CHAIN_NODE_TYPE, hB as OPEN_AI_ASSISTANT_NODE_TYPE, aA as STICKY_NODE_TYPE, f6 as TRIGGER_NODE_CREATOR_VIEW, c5 as NODE_CREATOR_OPEN_SOURCES, d as defineComponent, L as useUIStore, r as ref, fU as useThrottleFn, o as onMounted, y as onBeforeUnmount, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, e as createBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, w as withCtx, m as unref, bL as KeyboardShortcutTooltip, b_ as defineAsyncComponent, bZ as Suspense, F as Fragment, aq as __vitePreload, hC as getMidCanvasPosition, hD as DEFAULT_STICKY_WIDTH, hE as DEFAULT_STICKY_HEIGHT, _ as _export_sfc } from "./index-BpdkKRP4.js";
3
- import { a as useNodeCreatorStore, t as transformNodeType, s as sortNodeCreateElements } from "./useCanvasOperations-D6VFiC3b.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-D6TKVgLu.js","assets/index-BLAboPd2.js","assets/index-sq5ggyEC.css","assets/useCanvasOperations-C0pQBHW3.js","assets/NodeCreator-D9fmPdS2.css"])))=>i.map(i=>d[i]);
2
+ import { bz as useNodeTypesStore, q as computed, c as useI18n, Q as useWorkflowsStore, fh as MANUAL_TRIGGER_NODE_TYPE, hC as CHAIN_LLM_LANGCHAIN_NODE_TYPE, bm as NodeConnectionTypes, bk as CHAT_TRIGGER_NODE_TYPE, hD as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, hE as OPEN_AI_NODE_TYPE, f9 as SPLIT_IN_BATCHES_NODE_TYPE, hF as NO_OP_NODE_TYPE, fc as WEBHOOK_NODE_TYPE, fj as SCHEDULE_TRIGGER_NODE_TYPE, aP as useExternalHooks, $ as useCanvasStore, eD as AI_CATEGORY_LANGUAGE_MODELS, hG as QA_CHAIN_NODE_TYPE, hH as AGENT_NODE_TYPE, hI as BASIC_CHAIN_NODE_TYPE, hJ as OPEN_AI_ASSISTANT_NODE_TYPE, ay as STICKY_NODE_TYPE, ff as TRIGGER_NODE_CREATOR_VIEW, c9 as NODE_CREATOR_OPEN_SOURCES, d as defineComponent, H as useUIStore, r as ref, bM as useThrottleFn, o as onMounted, y as onBeforeUnmount, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, e as createBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, w as withCtx, m as unref, bP as KeyboardShortcutTooltip, c2 as defineAsyncComponent, c1 as Suspense, F as Fragment, ao as __vitePreload, hK as getMidCanvasPosition, hL as DEFAULT_STICKY_WIDTH, hM as DEFAULT_STICKY_HEIGHT, _ as _export_sfc } from "./index-BLAboPd2.js";
3
+ import { a as useNodeCreatorStore, t as transformNodeType, s as sortNodeCreateElements } from "./useCanvasOperations-C0pQBHW3.js";
4
4
  const useActions = () => {
5
5
  const nodeCreatorStore = useNodeCreatorStore();
6
6
  const nodeTypesStore = useNodeTypesStore();
@@ -241,7 +241,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
241
241
  emits: ["addNodes", "toggleNodeCreator"],
242
242
  setup(__props, { emit: __emit }) {
243
243
  const LazyNodeCreator = defineAsyncComponent(
244
- async () => await __vitePreload(() => import("./NodeCreator-B4mHaU45.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
244
+ async () => await __vitePreload(() => import("./NodeCreator-D6TKVgLu.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
245
245
  );
246
246
  const props = __props;
247
247
  const emit = __emit;
@@ -1,6 +1,6 @@
1
- import { ef as createCompounder, il as memoize, de as i18n, f2 as HTTP_REQUEST_NODE_TYPE, im as getCredentialOnlyNodeType, eB as AI_CATEGORY_TOOLS, fd as AI_CATEGORY_ROOT_NODES, fj as CUSTOM_API_CALL_KEY, br as AI_SUBCATEGORY, d as defineComponent, bM as reactive, o as onMounted, aR as useExternalHooks, y as onBeforeUnmount, b3 as toRefs, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, j as createVNode, _ as _export_sfc, dL as useNodeType, r as ref, q as computed, em as DEFAULT_SUBCATEGORY, io as CREDENTIAL_ONLY_NODE_PREFIX, c as useI18n, f5 as HITL_SUBCATEGORY, dF as isCommunityPackageName, cc as resolveDirective, e as createBlock, aW as createSlots, w as withCtx, aC as withDirectives, aD as vShow, B as normalizeStyle, bB as _sfc_main$h, J as withModifiers, m as unref, cE as COMMUNITY_NODES_INSTALLATION_DOCS_URL, c6 as DRAG_EVENT_DATA_KEY, ai as useTelemetry, b7 as mergeProps, t as toDisplayString, f3 as WEBHOOK_NODE_TYPE, fm as getNewNodePosition, fz as NODE_SIZE, x as renderSlot, U as useWorkflowsStore, I as watch, b4 as normalizeProps, b5 as guardReactiveProps, bb as onUnmounted, F as Fragment, D as renderList, f7 as REGULAR_NODE_CREATOR_VIEW, u as useUsersStore, f6 as TRIGGER_NODE_CREATOR_VIEW, hw as OPEN_AI_NODE_TYPE, hv as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, ip as withMemo, gN as createStaticVNode, l as createTextVNode, iq as REQUEST_NODE_FORM_URL, gd as getNodeIconSource, er as SEND_AND_WAIT_OPERATION, eF as AI_OTHERS_NODE_CREATOR_VIEW, eG as AI_NODE_CREATOR_VIEW, K as useDebounce, g5 as Transition, eE as AI_UNCATEGORIZED_CATEGORY, L as useUIStore, dl as useAssistantStore, aU as _sfc_main$i, ir as SlideTransition, by as useNodeTypesStore, bN as useCredentialsStore } from "./index-BpdkKRP4.js";
2
- import { u as upperFirst, g as formatTriggerActionName, a as useNodeCreatorStore, h as useViewStacks, j as camelCase, k as useKeyboardNavigation, t as transformNodeType, A as AINodesView, l as AIView, R as RegularView, T as TriggerView, n as flattenCreateElements } from "./useCanvasOperations-D6VFiC3b.js";
3
- import { u as useActions } from "./NodeCreation-thD32mA1.js";
1
+ import { eo as createCompounder, iu as memoize, dj as i18n, fb as HTTP_REQUEST_NODE_TYPE, iv as getCredentialOnlyNodeType, eK as AI_CATEGORY_TOOLS, fm as AI_CATEGORY_ROOT_NODES, fs as CUSTOM_API_CALL_KEY, bs as AI_SUBCATEGORY, d as defineComponent, bQ as reactive, o as onMounted, aP as useExternalHooks, y as onBeforeUnmount, b3 as toRefs, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, j as createVNode, _ as _export_sfc, dU as useNodeType, r as ref, q as computed, ev as DEFAULT_SUBCATEGORY, iw as CREDENTIAL_ONLY_NODE_PREFIX, c as useI18n, fe as HITL_SUBCATEGORY, dO as isCommunityPackageName, ch as resolveDirective, e as createBlock, aV as createSlots, w as withCtx, aA as withDirectives, aB as vShow, B as normalizeStyle, bC as _sfc_main$h, b2 as withModifiers, m as unref, cJ as COMMUNITY_NODES_INSTALLATION_DOCS_URL, cb as DRAG_EVENT_DATA_KEY, ag as useTelemetry, b7 as mergeProps, t as toDisplayString, fc as WEBHOOK_NODE_TYPE, fv as getNewNodePosition, fI as NODE_SIZE, x as renderSlot, Q as useWorkflowsStore, X as watch, b4 as normalizeProps, b5 as guardReactiveProps, bb as onUnmounted, F as Fragment, D as renderList, fg as REGULAR_NODE_CREATOR_VIEW, u as useUsersStore, ff as TRIGGER_NODE_CREATOR_VIEW, hE as OPEN_AI_NODE_TYPE, hD as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, ix as withMemo, gT as createStaticVNode, l as createTextVNode, iy as REQUEST_NODE_FORM_URL, gk as getNodeIconSource, eA as SEND_AND_WAIT_OPERATION, eO as AI_OTHERS_NODE_CREATOR_VIEW, eP as AI_NODE_CREATOR_VIEW, G as useDebounce, gd as Transition, eN as AI_UNCATEGORIZED_CATEGORY, H as useUIStore, dr as useAssistantStore, bV as useBuilderStore, aT as _sfc_main$i, iz as SlideTransition, bz as useNodeTypesStore, bR as useCredentialsStore } from "./index-BLAboPd2.js";
2
+ import { u as upperFirst, g as formatTriggerActionName, a as useNodeCreatorStore, h as useViewStacks, j as camelCase, k as useKeyboardNavigation, t as transformNodeType, A as AINodesView, l as AIView, R as RegularView, T as TriggerView, n as flattenCreateElements } from "./useCanvasOperations-C0pQBHW3.js";
3
+ import { u as useActions } from "./NodeCreation-S2FoBcnW.js";
4
4
  var startCase = createCompounder(function(result, word, index) {
5
5
  return result + (index ? " " : "") + upperFirst(word);
6
6
  });
@@ -2059,6 +2059,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2059
2059
  const emit = __emit;
2060
2060
  const uiStore = useUIStore();
2061
2061
  const assistantStore = useAssistantStore();
2062
+ const builderStore = useBuilderStore();
2062
2063
  const { setShowScrim, setActions, setMergeNodes } = useNodeCreatorStore();
2063
2064
  const { generateMergedNodesAndActions } = useActionsGenerator();
2064
2065
  const state = reactive({
@@ -2068,9 +2069,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2068
2069
  const showScrim = computed(() => useNodeCreatorStore().showScrim);
2069
2070
  const viewStacksLength = computed(() => useViewStacks().viewStacks.length);
2070
2071
  const nodeCreatorInlineStyle = computed(() => {
2071
- const rightPosition = assistantStore.isAssistantOpen ? assistantStore.chatWidth : 0;
2072
+ const rightPosition = getRightOffset();
2072
2073
  return { top: `${uiStore.bannersHeight + uiStore.headerHeight}px`, right: `${rightPosition}px` };
2073
2074
  });
2075
+ function getRightOffset() {
2076
+ if (assistantStore.isAssistantOpen) {
2077
+ return assistantStore.chatWidth;
2078
+ }
2079
+ if (builderStore.isAssistantOpen) {
2080
+ return builderStore.chatWidth;
2081
+ }
2082
+ return 0;
2083
+ }
2074
2084
  function onMouseUpOutside() {
2075
2085
  if (state.mousedownInsideEvent) {
2076
2086
  const clickEvent = new MouseEvent("click", {
@@ -1,12 +1,12 @@
1
- import { d as defineComponent, r as ref, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, bB as _sfc_main$g, w as withCtx, H as withKeys, J as withModifiers, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, e as createBlock, f as createCommentVNode, z as nextTick, _ as _export_sfc, au as useNDVStore, U as useWorkflowsStore, dF as isCommunityPackageName, cC as NPM_PACKAGE_DOCS_BASE_URL, hF as BUILTIN_NODES_DOCS_URL, cE as COMMUNITY_NODES_INSTALLATION_DOCS_URL, aR as useExternalHooks, ai as useTelemetry, bl as NodeConnectionTypes, b as useRouter, be as useClipboard, a7 as useWorkflowHelpers, a as useToast, hG as OPEN_URL_PANEL_TRIGGER_NODE_TYPES, hH as PRODUCTION_ONLY_TRIGGER_NODE_TYPES, fk as MCP_TRIGGER_NODE_TYPE, fb as FORM_TRIGGER_NODE_TYPE, bj as CHAT_TRIGGER_NODE_TYPE, I as watch, F as Fragment, D as renderList, G as onClickOutside, as as h, hI as toRef, hJ as tryOnScopeDispose, hK as toValue, hL as isIOS, hM as noop, hN as isObject, hO as isClient, by as useNodeTypesStore, bz as useNodeHelpers, K as useDebounce, g7 as nodeIssuesToString, B as normalizeStyle, g2 as TitledList, bv as getNodeInputs, hP as SWITCH_NODE_TYPE, eb as isEqual, hQ as captureException, p as useSettingsStore, aw as usePostHog, bN as useCredentialsStore, u as useUsersStore, a4 as useProjectsStore, dx as OPEN_AI_API_CREDENTIAL_TYPE, hR as AI_CREDITS_EXPERIMENT, bQ as useHistoryStore, ad as ProjectTypes, bw as getConnectionTypes, o as onMounted, hS as ndvEventBus, y as onBeforeUnmount, hT as _sfc_main$h, hU as CUSTOM_NODES_DOCS_URL, aC as withDirectives, aD as vShow, hf as _sfc_main$i, hV as NodeCredentials, bn as get, fB as getNodeParameters, cb as deepCopy, hW as set, hX as unset, fq as RenameNodeCommand, he as isINodePropertyCollectionList, hY as isINodePropertiesList, hZ as isINodePropertyOptionsList, h_ as displayParameter, gZ as Draggable, fU as useThrottleFn, L as useUIStore, fF as useSlots, h$ as MAIN_NODE_PANEL_WIDTH, aL as useStorage, i0 as LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH, x as renderSlot, cc as resolveDirective, df as InfoTip, cH as storeToRefs, g6 as useNodeDirtiness, dL as useNodeType, bp as usePinnedData, g3 as CanvasNodeDirtiness, aW as createSlots, bd as N8nText, i1 as waitingNodeTooltip, bF as N8nRadioButtons, e5 as isPresent, i2 as truncate, gN as createStaticVNode, bT as START_NODE_TYPE, f8 as MANUAL_TRIGGER_NODE_TYPE, i3 as CRON_NODE_TYPE, i4 as INTERVAL_NODE_TYPE, bx as getNodeOutputs, bG as uniqBy, b6 as resolveDynamicComponent, aS as N8nTooltip, bD as N8nIcon, i5 as isTriggerPanelObject, ds as getTriggerNodeServiceName, f3 as WEBHOOK_NODE_TYPE, di as CopyInput, C as createEventBus, g5 as Transition, V as VIEWS, am as WORKFLOW_SETTINGS_MODAL_KEY, fW as useDeviceSupport, i6 as EXECUTABLE_TRIGGER_NODE_TYPES, aA as STICKY_NODE_TYPE, i7 as BASE_NODE_SURVEY_URL, ac as EnterpriseEditionFeature, dT as dataPinningEventBus, bI as useStyles, i8 as APP_MODALS_ELEMENT_ID, ak as useMessage, al as MODAL_CONFIRM, bV as jsonParse } from "./index-BpdkKRP4.js";
2
- import { i as importCurlEventBus } from "./import-curl-CAszzwx1.js";
3
- import { R as RunData } from "./RunData-Ds-U68nr.js";
4
- import { b as convertToDisplayDateComponents } from "./dateFormatter-CZI1kGYK.js";
5
- import { R as RunDataAi } from "./RunDataAi-DdK11EHU.js";
6
- import { u as useWorkflowActivate } from "./useWorkflowActivate-pZ62ib_C.js";
7
- import "./FileSaver.min-Cm0u4qyc.js";
8
- import "./useExecutionHelpers-DN5HqPqY.js";
9
- import "./useCanvasOperations-D6VFiC3b.js";
1
+ import { d as defineComponent, r as ref, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, bC as _sfc_main$g, w as withCtx, bd as withKeys, b2 as withModifiers, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, e as createBlock, f as createCommentVNode, z as nextTick, _ as _export_sfc, as as useNDVStore, Q as useWorkflowsStore, dO as isCommunityPackageName, cH as NPM_PACKAGE_DOCS_BASE_URL, hN as BUILTIN_NODES_DOCS_URL, cJ as COMMUNITY_NODES_INSTALLATION_DOCS_URL, aP as useExternalHooks, ag as useTelemetry, bm as NodeConnectionTypes, b as useRouter, bf as useClipboard, a5 as useWorkflowHelpers, a as useToast, hO as OPEN_URL_PANEL_TRIGGER_NODE_TYPES, hP as PRODUCTION_ONLY_TRIGGER_NODE_TYPES, ft as MCP_TRIGGER_NODE_TYPE, fk as FORM_TRIGGER_NODE_TYPE, bk as CHAT_TRIGGER_NODE_TYPE, X as watch, F as Fragment, D as renderList, aQ as onClickOutside, aq as h, hQ as toRef, hR as tryOnScopeDispose, hS as toValue, hT as isIOS, hU as noop, hV as isObject, hW as isClient, bz as useNodeTypesStore, bA as useNodeHelpers, G as useDebounce, B as normalizeStyle, ga as TitledList, bw as getNodeInputs, hX as SWITCH_NODE_TYPE, ej as isEqual, hY as captureException, p as useSettingsStore, au as usePostHog, bR as useCredentialsStore, u as useUsersStore, a1 as useProjectsStore, dD as OPEN_AI_API_CREDENTIAL_TYPE, hZ as AI_CREDITS_EXPERIMENT, bU as useHistoryStore, ab as ProjectTypes, bx as getConnectionTypes, o as onMounted, bH as ndvEventBus, y as onBeforeUnmount, h_ as _sfc_main$h, h$ as CUSTOM_NODES_DOCS_URL, aA as withDirectives, aB as vShow, hn as _sfc_main$i, i0 as NodeCredentials, bo as get, fK as getNodeParameters, cg as deepCopy, i1 as set, i2 as unset, fz as RenameNodeCommand, hm as isINodePropertyCollectionList, i3 as isINodePropertiesList, i4 as isINodePropertyOptionsList, i5 as displayParameter, h2 as Draggable, bM as useThrottleFn, H as useUIStore, fO as useSlots, i6 as MAIN_NODE_PANEL_WIDTH, aJ as useStorage, i7 as LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH, x as renderSlot, ch as resolveDirective, dk as InfoTip, cM as storeToRefs, ge as useNodeDirtiness, dU as useNodeType, bq as usePinnedData, gb as CanvasNodeDirtiness, aV as createSlots, be as N8nText, i8 as waitingNodeTooltip, bG as N8nRadioButtons, ee as isPresent, i9 as truncate, gT as createStaticVNode, bX as START_NODE_TYPE, fh as MANUAL_TRIGGER_NODE_TYPE, ia as CRON_NODE_TYPE, ib as INTERVAL_NODE_TYPE, by as getNodeOutputs, ic as uniqBy, b6 as resolveDynamicComponent, aR as N8nTooltip, bE as N8nIcon, id as isTriggerPanelObject, dx as getTriggerNodeServiceName, fc as WEBHOOK_NODE_TYPE, dn as CopyInput, C as createEventBus, gd as Transition, V as VIEWS, ak as WORKFLOW_SETTINGS_MODAL_KEY, g2 as useDeviceSupport, ie as EXECUTABLE_TRIGGER_NODE_TYPES, ay as STICKY_NODE_TYPE, ig as BASE_NODE_SURVEY_URL, aa as EnterpriseEditionFeature, e0 as dataPinningEventBus, bJ as useStyles, ih as APP_MODALS_ELEMENT_ID, ai as useMessage, aj as MODAL_CONFIRM, bZ as jsonParse } from "./index-BLAboPd2.js";
2
+ import { i as importCurlEventBus } from "./import-curl-BiXaU2jk.js";
3
+ import { R as RunData } from "./RunData-D8Eax0cQ.js";
4
+ import { b as convertToDisplayDateComponents } from "./dateFormatter-DbKqmK4w.js";
5
+ import { R as RunDataAi } from "./RunDataAi-BUnCQIRN.js";
6
+ import { u as useWorkflowActivate } from "./useWorkflowActivate-CvmIpy5T.js";
7
+ import "./FileSaver.min-CcnqpaV-.js";
8
+ import "./useExecutionHelpers-C--m0pTQ.js";
9
+ import "./useCanvasOperations-C0pQBHW3.js";
10
10
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
11
11
  __name: "NodeTitle",
12
12
  props: {
@@ -776,7 +776,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
776
776
  const matchedNodeType = nodeTypesStore.getNodeType(node2.type);
777
777
  if (matchedNodeType) {
778
778
  const issues = nodeHelpers.getNodeIssues(matchedNodeType, node2, workflow.value);
779
- const stringifiedIssues = issues ? nodeIssuesToString(issues, node2) : "";
779
+ const stringifiedIssues = issues ? nodeHelpers.nodeIssuesToString(issues, node2) : "";
780
780
  return { node: node2, nodeType: matchedNodeType, issues: stringifiedIssues };
781
781
  }
782
782
  }
@@ -3273,7 +3273,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3273
3273
  return nodeTypesStore.getNodeType(node2.type, node2.typeVersion);
3274
3274
  });
3275
3275
  const inputNodes = computed(
3276
- () => props.nodes.map((node2) => {
3276
+ () => props.nodes?.map((node2) => {
3277
3277
  const fullNode = workflowsStore.getNodeByName(node2.name);
3278
3278
  if (!fullNode) return null;
3279
3279
  return {
@@ -3281,7 +3281,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3281
3281
  type: nodeTypesStore.getNodeType(fullNode.type, fullNode.typeVersion),
3282
3282
  depth: node2.depth
3283
3283
  };
3284
- }).filter(isPresent)
3284
+ }).filter(isPresent) ?? []
3285
3285
  );
3286
3286
  const activeNode = computed(() => ndvStore.activeNode);
3287
3287
  const activeNodeType = computed(() => {
@@ -4452,9 +4452,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4452
4452
  const settingsEventBus = createEventBus();
4453
4453
  const redrawRequired = ref(false);
4454
4454
  const runInputIndex = ref(-1);
4455
- const runOutputIndex = ref(-1);
4456
- const isLinkingEnabled = ref(true);
4455
+ const runOutputIndex = computed(() => ndvStore.output.run ?? -1);
4457
4456
  const selectedInput = ref();
4457
+ const isLinkingEnabled = ref(true);
4458
4458
  const triggerWaitingWarningEnabled = ref(false);
4459
4459
  const isDragging = ref(false);
4460
4460
  const mainPanelPosition = ref(0);
@@ -4487,18 +4487,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4487
4487
  });
4488
4488
  const parentNodes = computed(() => {
4489
4489
  if (activeNode.value) {
4490
- return props.workflowObject.getParentNodesByDepth(activeNode.value.name, 1).map(({ name }) => name) || [];
4491
- } else {
4492
- return [];
4490
+ return props.workflowObject.getParentNodesByDepth(activeNode.value.name, 1);
4493
4491
  }
4492
+ return [];
4494
4493
  });
4495
4494
  const parentNode = computed(() => {
4496
- for (const parentNodeName of parentNodes.value) {
4497
- if (workflowsStore?.pinnedWorkflowData?.[parentNodeName]) {
4498
- return parentNodeName;
4495
+ for (const parent of parentNodes.value) {
4496
+ if (workflowsStore?.pinnedWorkflowData?.[parent.name]) {
4497
+ return parent;
4499
4498
  }
4500
- if (workflowRunData.value?.[parentNodeName]) {
4501
- return parentNodeName;
4499
+ if (workflowRunData.value?.[parent.name]) {
4500
+ return parent;
4502
4501
  }
4503
4502
  }
4504
4503
  return parentNodes.value[0];
@@ -4517,7 +4516,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4517
4516
  )?.[0];
4518
4517
  return connectedOutputNode;
4519
4518
  }
4520
- return selectedInput.value || parentNode.value;
4519
+ return selectedInput.value ?? parentNode.value?.name;
4521
4520
  });
4522
4521
  const inputNode = computed(() => {
4523
4522
  if (inputNodeName.value) {
@@ -4593,12 +4592,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4593
4592
  }
4594
4593
  return 0;
4595
4594
  });
4595
+ const connectedCurrentNodeOutputs = computed(() => {
4596
+ return parentNodes.value.find(({ name }) => name === inputNodeName.value)?.indicies;
4597
+ });
4596
4598
  const inputRun = computed(() => {
4597
4599
  if (isLinkingEnabled.value && maxOutputRun.value === maxInputRun.value) {
4598
4600
  return outputRun.value;
4599
4601
  }
4600
- if (runInputIndex.value === -1) {
4601
- return maxInputRun.value;
4602
+ const currentInputNodeName = inputNodeName.value;
4603
+ if (runInputIndex.value === -1 && currentInputNodeName) {
4604
+ return connectedCurrentNodeOutputs.value?.map(
4605
+ (outputIndex) => nodeHelpers.getLastRunIndexWithData(currentInputNodeName, outputIndex)
4606
+ ).find((runIndex) => runIndex !== -1) ?? maxInputRun.value;
4602
4607
  }
4603
4608
  return Math.min(runInputIndex.value, maxInputRun.value);
4604
4609
  });
@@ -4740,7 +4745,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4740
4745
  });
4741
4746
  };
4742
4747
  const onLinkRunToInput = () => {
4743
- runOutputIndex.value = runInputIndex.value;
4748
+ ndvStore.setOutputRunIndex(runInputIndex.value);
4744
4749
  isLinkingEnabled.value = true;
4745
4750
  trackLinking("input");
4746
4751
  };
@@ -4801,13 +4806,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4801
4806
  });
4802
4807
  };
4803
4808
  const onRunOutputIndexChange = (run) => {
4804
- runOutputIndex.value = run;
4809
+ ndvStore.setOutputRunIndex(run);
4805
4810
  trackRunChange(run, "output");
4806
4811
  };
4807
4812
  const onRunInputIndexChange = (run) => {
4808
4813
  runInputIndex.value = run;
4809
4814
  if (linked.value) {
4810
- runOutputIndex.value = run;
4815
+ ndvStore.setOutputRunIndex(run);
4811
4816
  }
4812
4817
  trackRunChange(run, "input");
4813
4818
  };
@@ -4846,6 +4851,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4846
4851
  const unregisterKeyboardListener = () => {
4847
4852
  document.removeEventListener("keydown", onKeyDown, true);
4848
4853
  };
4854
+ const setSelectedInput = (value) => {
4855
+ selectedInput.value = value;
4856
+ };
4849
4857
  watch(
4850
4858
  activeNode,
4851
4859
  (node2, oldNode) => {
@@ -4856,7 +4864,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4856
4864
  }
4857
4865
  if (node2 && node2.name !== oldNode?.name && !isActiveStickyNode.value) {
4858
4866
  runInputIndex.value = -1;
4859
- runOutputIndex.value = -1;
4867
+ ndvStore.setOutputRunIndex(-1);
4860
4868
  isLinkingEnabled.value = true;
4861
4869
  selectedInput.value = void 0;
4862
4870
  triggerWaitingWarningEnabled.value = false;
@@ -4903,7 +4911,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4903
4911
  { immediate: true }
4904
4912
  );
4905
4913
  watch(maxOutputRun, () => {
4906
- runOutputIndex.value = -1;
4914
+ ndvStore.setOutputRunIndex(-1);
4907
4915
  });
4908
4916
  watch(maxInputRun, () => {
4909
4917
  runInputIndex.value = -1;
@@ -4920,9 +4928,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4920
4928
  });
4921
4929
  onMounted(() => {
4922
4930
  dataPinningEventBus.on("data-pinning-discovery", setIsTooltipVisible);
4931
+ ndvEventBus.on("updateInputNodeName", setSelectedInput);
4923
4932
  });
4924
4933
  onBeforeUnmount(() => {
4925
4934
  dataPinningEventBus.off("data-pinning-discovery", setIsTooltipVisible);
4935
+ ndvEventBus.off("updateInputNodeName", setSelectedInput);
4926
4936
  unregisterKeyboardListener();
4927
4937
  });
4928
4938
  return (_ctx, _cache) => {
@@ -1,12 +1,12 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-thD32mA1.js","assets/index-BpdkKRP4.js","assets/index-C5OXOcIJ.css","assets/useCanvasOperations-D6VFiC3b.js","assets/NodeCreation-RKvezEeg.css","assets/NodeDetailsView-cO3Ci9jH.js","assets/import-curl-CAszzwx1.js","assets/RunData-Ds-U68nr.js","assets/FileSaver.min-Cm0u4qyc.js","assets/useExecutionHelpers-DN5HqPqY.js","assets/dateFormatter-CZI1kGYK.js","assets/RunData-DepHcD2K.css","assets/RunDataAi-DdK11EHU.js","assets/RunDataAi-BF2gZZGr.css","assets/useWorkflowActivate-pZ62ib_C.js","assets/NodeDetailsView-CGgV4Pn_.css","assets/SetupWorkflowCredentialsButton-fApxCGHh.js"])))=>i.map(i=>d[i]);
2
- import { d as defineComponent, h as resolveComponent, e as createBlock, g as openBlock, C as createEventBus, a0 as useCssModule, bJ as toRef, q as computed, r as ref, bK as refDebounced, i as createElementBlock, k as createBaseVNode, x as renderSlot, f as createCommentVNode, b7 as mergeProps, m as unref, n as normalizeClass, _ as _export_sfc, c as useI18n, bL as KeyboardShortcutTooltip, w as withCtx, j as createVNode, J as withModifiers, bM as reactive, o as onMounted, bb as onUnmounted, l as createTextVNode, t as toDisplayString, b as useRouter, W as useRoute, a as useToast, a6 as useDocumentTitle, a7 as useWorkflowHelpers, bz as useNodeHelpers, by as useNodeTypesStore, L as useUIStore, U as useWorkflowsStore, a3 as useSourceControlStore, p as useSettingsStore, bN as useCredentialsStore, bO as useEnvironmentsStore, bP as useExternalSecretsStore, a1 as useRootStore, av as useExecutionsStore, a2 as useCanvasStore, a5 as useNpsSurveyStore, bQ as useHistoryStore, a4 as useProjectsStore, u as useUsersStore, E as useTagsStore, T as usePushConnectionStore, au as useNDVStore, aP as useTemplatesStore, bA as useRunWorkflow, be as useClipboard, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, bR as NEW_WORKFLOW_ID, V as VIEWS, bS as CanvasNodeRenderType, a_ as LOGS_PANEL_STATE, bT as START_NODE_TYPE, bU as getNodeViewTab, s as MAIN_HEADER_TABS, ao as VALID_WORKFLOW_IMPORT_URL_REGEX, ak as useMessage, al as MODAL_CONFIRM, bV as jsonParse, a9 as getResourcePermissions, bj as CHAT_TRIGGER_NODE_TYPE, bk as MANUAL_CHAT_TRIGGER_NODE_TYPE, I as watch, bW as onBeforeRouteLeave, aB as onBeforeMount, am as WORKFLOW_SETTINGS_MODAL_KEY, aR as useExternalHooks, bX as onActivated, bY as onDeactivated, y as onBeforeUnmount, bZ as Suspense, b_ as defineAsyncComponent, b$ as N8nCallout, aq as __vitePreload, ac as EnterpriseEditionFeature, z as nextTick, ai as useTelemetry, c0 as tryToParseNumber, aj as nodeViewEventBus, bl as NodeConnectionTypes, c1 as isValidNodeConnectionType, c2 as CanvasConnectionMode, c3 as historyBus, aH as sourceControlEventBus, c4 as getNodesWithNormalizedPosition, as as h, c5 as NODE_CREATOR_OPEN_SOURCES, aA as STICKY_NODE_TYPE, c6 as DRAG_EVENT_DATA_KEY } from "./index-BpdkKRP4.js";
3
- import { u as useVueFlow, a as useCanvasMapping, C as Canvas } from "./useCanvasMapping-D_UPCxYX.js";
4
- import { g as globalLinkActionsEventBus } from "./global-link-actions-OGaZVwsw.js";
5
- import { a as useNodeCreatorStore, b as useCanvasOperations, c as createCanvasConnectionHandleString } from "./useCanvasOperations-D6VFiC3b.js";
6
- import { u as useExecutionDebugging } from "./useExecutionDebugging-BNMaKOh7.js";
7
- import { u as useBeforeUnload } from "./useBeforeUnload-K7nQ15Rk.js";
8
- import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-ChToD_Yl.js";
9
- import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-D_0O6f0X.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-S2FoBcnW.js","assets/index-BLAboPd2.js","assets/index-sq5ggyEC.css","assets/useCanvasOperations-C0pQBHW3.js","assets/NodeCreation-RKvezEeg.css","assets/NodeDetailsView-DtvMtBqp.js","assets/import-curl-BiXaU2jk.js","assets/RunData-D8Eax0cQ.js","assets/FileSaver.min-CcnqpaV-.js","assets/useExecutionHelpers-C--m0pTQ.js","assets/dateFormatter-DbKqmK4w.js","assets/RunData-C9dtm1M2.css","assets/RunDataAi-BUnCQIRN.js","assets/RunDataAi-BF2gZZGr.css","assets/useWorkflowActivate-CvmIpy5T.js","assets/NodeDetailsView-CGgV4Pn_.css","assets/SetupWorkflowCredentialsButton-B2wnuUnF.js"])))=>i.map(i=>d[i]);
2
+ import { d as defineComponent, h as resolveComponent, e as createBlock, g as openBlock, C as createEventBus, Y as useCssModule, bN as toRef, q as computed, r as ref, bO as refDebounced, i as createElementBlock, k as createBaseVNode, x as renderSlot, f as createCommentVNode, b7 as mergeProps, m as unref, n as normalizeClass, _ as _export_sfc, c as useI18n, bP as KeyboardShortcutTooltip, w as withCtx, j as createVNode, b2 as withModifiers, bQ as reactive, o as onMounted, bb as onUnmounted, l as createTextVNode, t as toDisplayString, b as useRouter, R as useRoute, a as useToast, a4 as useDocumentTitle, a5 as useWorkflowHelpers, bA as useNodeHelpers, bz as useNodeTypesStore, H as useUIStore, Q as useWorkflowsStore, a0 as useSourceControlStore, p as useSettingsStore, bR as useCredentialsStore, bS as useEnvironmentsStore, bT as useExternalSecretsStore, Z as useRootStore, at as useExecutionsStore, $ as useCanvasStore, a3 as useNpsSurveyStore, bU as useHistoryStore, a1 as useProjectsStore, u as useUsersStore, E as useTagsStore, P as usePushConnectionStore, as as useNDVStore, aN as useTemplatesStore, bV as useBuilderStore, a2 as useFoldersStore, bB as useRunWorkflow, bf as useClipboard, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, bW as NEW_WORKFLOW_ID, V as VIEWS, aZ as LOGS_PANEL_STATE, bX as START_NODE_TYPE, bY as getNodeViewTab, s as MAIN_HEADER_TABS, am as VALID_WORKFLOW_IMPORT_URL_REGEX, ai as useMessage, aj as MODAL_CONFIRM, bZ as jsonParse, a7 as getResourcePermissions, bk as CHAT_TRIGGER_NODE_TYPE, bl as MANUAL_CHAT_TRIGGER_NODE_TYPE, X as watch, b_ as onBeforeRouteLeave, az as onBeforeMount, ak as WORKFLOW_SETTINGS_MODAL_KEY, aP as useExternalHooks, b$ as onActivated, c0 as onDeactivated, y as onBeforeUnmount, c1 as Suspense, c2 as defineAsyncComponent, c3 as N8nCallout, ao as __vitePreload, aa as EnterpriseEditionFeature, z as nextTick, ag as useTelemetry, c4 as tryToParseNumber, ah as nodeViewEventBus, bm as NodeConnectionTypes, c5 as isValidNodeConnectionType, c6 as CanvasConnectionMode, c7 as historyBus, aF as sourceControlEventBus, c8 as getNodesWithNormalizedPosition, aq as h, c9 as NODE_CREATOR_OPEN_SOURCES, ca as CanvasNodeRenderType, ay as STICKY_NODE_TYPE, cb as DRAG_EVENT_DATA_KEY } from "./index-BLAboPd2.js";
3
+ import { u as useVueFlow, a as useCanvasMapping, C as Canvas } from "./useCanvasMapping-CSuq_dYj.js";
4
+ import { g as globalLinkActionsEventBus } from "./global-link-actions-COf-9vBh.js";
5
+ import { a as useNodeCreatorStore, b as useCanvasOperations, c as createCanvasConnectionHandleString } from "./useCanvasOperations-C0pQBHW3.js";
6
+ import { u as useExecutionDebugging } from "./useExecutionDebugging-D2H5O6fT.js";
7
+ import { u as useBeforeUnload } from "./useBeforeUnload-DbfysOS-.js";
8
+ import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-BWgfZ0am.js";
9
+ import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-Cvfxw8xC.js";
10
10
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
11
11
  __name: "CanvasChatButton",
12
12
  props: {
@@ -284,13 +284,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
284
284
  __name: "NodeView",
285
285
  setup(__props) {
286
286
  const LazyNodeCreation = defineAsyncComponent(
287
- async () => await __vitePreload(() => import("./NodeCreation-thD32mA1.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
287
+ async () => await __vitePreload(() => import("./NodeCreation-S2FoBcnW.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
288
288
  );
289
289
  const LazyNodeDetailsView = defineAsyncComponent(
290
- async () => await __vitePreload(() => import("./NodeDetailsView-cO3Ci9jH.js"), true ? __vite__mapDeps([5,1,2,6,7,8,9,10,11,12,3,13,14,15]) : void 0)
290
+ async () => await __vitePreload(() => import("./NodeDetailsView-DtvMtBqp.js"), true ? __vite__mapDeps([5,1,2,6,7,8,9,10,11,12,3,13,14,15]) : void 0)
291
291
  );
292
292
  const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
293
- async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-fApxCGHh.js"), true ? __vite__mapDeps([16,1,2]) : void 0)
293
+ async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-B2wnuUnF.js"), true ? __vite__mapDeps([16,1,2]) : void 0)
294
294
  );
295
295
  const $style = useCssModule();
296
296
  const router = useRouter();
@@ -323,6 +323,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
323
323
  const pushConnectionStore = usePushConnectionStore();
324
324
  const ndvStore = useNDVStore();
325
325
  const templatesStore = useTemplatesStore();
326
+ const builderStore = useBuilderStore();
327
+ const foldersStore = useFoldersStore();
326
328
  const canvasEventBus = createEventBus();
327
329
  const { addBeforeUnloadEventBindings, removeBeforeUnloadEventBindings } = useBeforeUnload({
328
330
  route
@@ -379,11 +381,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
379
381
  const isExecutionPreview = ref(false);
380
382
  const canOpenNDV = ref(true);
381
383
  const hideNodeIssues = ref(false);
384
+ const fallbackNodes = ref([]);
382
385
  const initializedWorkflowId = ref();
383
386
  const workflowId = computed(() => {
384
387
  const workflowIdParam = route.params.name;
385
388
  return [PLACEHOLDER_EMPTY_WORKFLOW_ID, NEW_WORKFLOW_ID].includes(workflowIdParam) ? void 0 : workflowIdParam;
386
389
  });
390
+ const routeNodeId = computed(() => route.params.nodeId);
387
391
  const isNewWorkflowRoute = computed(() => route.name === VIEWS.NEW_WORKFLOW || !workflowId.value);
388
392
  const isWorkflowRoute = computed(() => !!route?.meta?.nodeView || isDemoRoute.value);
389
393
  const isDemoRoute = computed(() => route.name === VIEWS.DEMO);
@@ -394,18 +398,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
394
398
  const isCanvasReadOnly = computed(() => {
395
399
  return isDemoRoute.value || isReadOnlyEnvironment.value || !(workflowPermissions.value.update ?? projectPermissions.value.workflow.update);
396
400
  });
397
- const fallbackNodes = computed(
398
- () => isLoading.value || isCanvasReadOnly.value ? [] : [
399
- {
400
- id: CanvasNodeRenderType.AddNodes,
401
- name: CanvasNodeRenderType.AddNodes,
402
- type: CanvasNodeRenderType.AddNodes,
403
- typeVersion: 1,
404
- position: [0, 0],
405
- parameters: {}
406
- }
407
- ]
408
- );
409
401
  const showFallbackNodes = computed(() => triggerNodes.value.length === 0);
410
402
  const keyBindingsEnabled = computed(() => {
411
403
  return !ndvStore.activeNode && uiStore.activeModals.length === 0;
@@ -485,19 +477,48 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
485
477
  }
486
478
  async function initializeWorkspaceForNewWorkflow() {
487
479
  resetWorkspace();
480
+ const parentFolderId = route.query.parentFolderId;
488
481
  await workflowsStore.getNewWorkflowData(
489
482
  void 0,
490
483
  projectsStore.currentProjectId,
491
- route.query.parentFolderId
484
+ parentFolderId
492
485
  );
493
486
  workflowsStore.makeNewWorkflowShareable();
487
+ if (projectsStore.currentProjectId) {
488
+ await fetchAndSetProject(projectsStore.currentProjectId);
489
+ }
490
+ await fetchAndSetParentFolder(parentFolderId);
494
491
  uiStore.nodeViewInitialized = true;
495
492
  initializedWorkflowId.value = NEW_WORKFLOW_ID;
496
493
  }
494
+ async function fetchAndSetParentFolder(folderId) {
495
+ if (folderId) {
496
+ let parentFolder = foldersStore.getCachedFolder(folderId);
497
+ if (!parentFolder && projectsStore.currentProjectId) {
498
+ await foldersStore.getFolderPath(projectsStore.currentProjectId, folderId);
499
+ parentFolder = foldersStore.getCachedFolder(folderId);
500
+ }
501
+ if (parentFolder) {
502
+ workflowsStore.setParentFolder({
503
+ ...parentFolder,
504
+ parentFolderId: parentFolder.parentFolder ?? null
505
+ });
506
+ }
507
+ }
508
+ }
509
+ async function fetchAndSetProject(projectId) {
510
+ if (!projectsStore.currentProject) {
511
+ const project = await projectsStore.fetchProject(projectId);
512
+ projectsStore.setCurrentProject(project);
513
+ }
514
+ }
497
515
  async function initializeWorkspaceForExistingWorkflow(id) {
498
516
  try {
499
517
  const workflowData = await workflowsStore.fetchWorkflow(id);
500
518
  openWorkflow(workflowData);
519
+ if (workflowData.parentFolder) {
520
+ workflowsStore.setParentFolder(workflowData.parentFolder);
521
+ }
501
522
  if (workflowData.meta?.onboardingId) {
502
523
  trackOpenWorkflowFromOnboardingTemplate();
503
524
  }
@@ -635,7 +656,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
635
656
  revertUpdateNodePosition(nodeName, { x: position[0], y: position[1] });
636
657
  }
637
658
  function onDeleteNode(id) {
638
- deleteNode(id, { trackHistory: true });
659
+ const matchedFallbackNode = fallbackNodes.value.findIndex((node) => node.id === id);
660
+ if (matchedFallbackNode >= 0) {
661
+ fallbackNodes.value.splice(matchedFallbackNode, 1);
662
+ } else {
663
+ deleteNode(id, { trackHistory: true });
664
+ }
639
665
  }
640
666
  function onDeleteNodes(ids) {
641
667
  deleteNodes(ids);
@@ -884,6 +910,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
884
910
  await importWorkflowData(workflowData, "file");
885
911
  fitView();
886
912
  selectNodes(workflowData.nodes?.map((node) => node.id) ?? []);
913
+ if (data.tidyUp) {
914
+ setTimeout(() => {
915
+ canvasEventBus.emit("tidyUp", { source: "import-workflow-data" });
916
+ }, 0);
917
+ }
887
918
  }
888
919
  async function onImportWorkflowUrlEvent(data) {
889
920
  const workflowData = await fetchWorkflowDataFromUrl(data.url);
@@ -1132,8 +1163,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1132
1163
  if (!chatTriggerNode.value) return null;
1133
1164
  return workflowsStore.pinDataByNodeName(chatTriggerNode.value.name);
1134
1165
  });
1135
- async function onOpenChat(isOpen) {
1136
- await toggleChatOpen("main", isOpen);
1166
+ async function onToggleChat() {
1167
+ await toggleChatOpen("main");
1168
+ }
1169
+ async function onOpenChat() {
1170
+ await toggleChatOpen("main", true);
1137
1171
  }
1138
1172
  function addUndoRedoEventBindings() {
1139
1173
  historyBus.on("nodeMove", onRevertNodePosition);
@@ -1358,6 +1392,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1358
1392
  uiStore.addFirstStepOnLoad = false;
1359
1393
  }
1360
1394
  }
1395
+ function updateNodeRoute(nodeId) {
1396
+ const nodeUi = workflowsStore.findNodeByPartialId(nodeId);
1397
+ if (nodeUi) {
1398
+ setNodeActive(nodeUi.id);
1399
+ } else {
1400
+ toast.showToast({
1401
+ title: i18n.baseText("nodeView.showMessage.ndvUrl.missingNodes.title"),
1402
+ message: i18n.baseText("nodeView.showMessage.ndvUrl.missingNodes.content"),
1403
+ type: "warning"
1404
+ });
1405
+ void router.replace({
1406
+ name: route.name,
1407
+ params: { name: workflowId.value }
1408
+ });
1409
+ }
1410
+ }
1361
1411
  watch(
1362
1412
  () => route.name,
1363
1413
  async (newRouteName, oldRouteName) => {
@@ -1365,6 +1415,56 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1365
1415
  await initializeRoute(force);
1366
1416
  }
1367
1417
  );
1418
+ watch(
1419
+ () => {
1420
+ return isLoading.value || isCanvasReadOnly.value || editableWorkflow.value.nodes.length !== 0;
1421
+ },
1422
+ (isReadOnlyOrLoading) => {
1423
+ const defaultFallbackNodes = [
1424
+ {
1425
+ id: CanvasNodeRenderType.AddNodes,
1426
+ name: CanvasNodeRenderType.AddNodes,
1427
+ type: CanvasNodeRenderType.AddNodes,
1428
+ typeVersion: 1,
1429
+ position: [0, 0],
1430
+ parameters: {}
1431
+ }
1432
+ ];
1433
+ if (builderStore.isAIBuilderEnabled && builderStore.isAssistantEnabled) {
1434
+ defaultFallbackNodes.unshift({
1435
+ id: CanvasNodeRenderType.AIPrompt,
1436
+ name: CanvasNodeRenderType.AIPrompt,
1437
+ type: CanvasNodeRenderType.AIPrompt,
1438
+ typeVersion: 1,
1439
+ position: [-690, -15],
1440
+ parameters: {}
1441
+ });
1442
+ }
1443
+ fallbackNodes.value = isReadOnlyOrLoading ? [] : defaultFallbackNodes;
1444
+ }
1445
+ );
1446
+ watch(
1447
+ () => route.params.nodeId,
1448
+ async (newId) => {
1449
+ if (typeof newId !== "string" || newId === "") ndvStore.activeNodeName = null;
1450
+ else {
1451
+ updateNodeRoute(newId);
1452
+ }
1453
+ }
1454
+ );
1455
+ watch(
1456
+ () => ndvStore.activeNode,
1457
+ async (val) => {
1458
+ if (![VIEWS.WORKFLOW].includes(String(route.name))) return;
1459
+ const nodeId = val?.id ? workflowsStore.getPartialIdForNode(val?.id) : "";
1460
+ if (nodeId !== route.params.nodeId) {
1461
+ await router.replace({
1462
+ name: route.name,
1463
+ params: { name: workflowId.value, nodeId }
1464
+ });
1465
+ }
1466
+ }
1467
+ );
1368
1468
  onBeforeRouteLeave(async (to, from, next) => {
1369
1469
  const toNodeViewTab = getNodeViewTab(to);
1370
1470
  if (toNodeViewTab === MAIN_HEADER_TABS.EXECUTIONS || from.name === VIEWS.TEMPLATE_IMPORT || toNodeViewTab === MAIN_HEADER_TABS.WORKFLOW && from.name === VIEWS.EXECUTION_DEBUG || isReadOnlyEnvironment.value) {
@@ -1408,6 +1508,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1408
1508
  canvasStore.stopLoading();
1409
1509
  void externalHooks.run("nodeView.mount").catch(() => {
1410
1510
  });
1511
+ setTimeout(() => {
1512
+ if (routeNodeId.value) {
1513
+ updateNodeRoute(routeNodeId.value);
1514
+ }
1515
+ }, 500);
1411
1516
  emitPostMessageReady();
1412
1517
  });
1413
1518
  void usersStore.showPersonalizationSurvey();
@@ -1479,7 +1584,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1479
1584
  "onDuplicate:nodes": onDuplicateNodes,
1480
1585
  "onCopy:nodes": onCopyNodes,
1481
1586
  "onCut:nodes": onCutNodes,
1482
- "onRun:workflow": _cache[2] || (_cache[2] = ($event) => unref(runEntireWorkflow)("main")),
1587
+ "onRun:workflow": _cache[1] || (_cache[1] = ($event) => unref(runEntireWorkflow)("main")),
1483
1588
  "onSave:workflow": onSaveWorkflow,
1484
1589
  "onCreate:workflow": onCreateWorkflow,
1485
1590
  onViewportChange,
@@ -1512,7 +1617,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1512
1617
  key: 1,
1513
1618
  type: isLogsPanelOpen.value ? "tertiary" : "primary",
1514
1619
  label: isLogsPanelOpen.value ? unref(i18n).baseText("chat.hide") : unref(i18n).baseText("chat.open"),
1515
- onClick: _cache[1] || (_cache[1] = ($event) => onOpenChat(!isLogsPanelOpen.value))
1620
+ onClick: onToggleChat
1516
1621
  }, null, 8, ["type", "label"])) : createCommentVNode("", true),
1517
1622
  isStopExecutionButtonVisible.value ? (openBlock(), createBlock(_sfc_main$4, {
1518
1623
  key: 2,
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, q as computed, ad as ProjectTypes, c as useI18n, h2 as splitName, gP as ResourceType, V as VIEWS, h as resolveComponent, cc as resolveDirective, i as createElementBlock, g as openBlock, b7 as mergeProps, j as createVNode, x as renderSlot, w as withCtx, e as createBlock, f as createCommentVNode, n as normalizeClass, aC as withDirectives, g$ as ProjectIcon, k as createBaseVNode, l as createTextVNode, t as toDisplayString, _ as _export_sfc } from "./index-BpdkKRP4.js";
1
+ import { d as defineComponent, q as computed, ab as ProjectTypes, c as useI18n, h7 as splitName, gU as ResourceType, V as VIEWS, h as resolveComponent, ch as resolveDirective, i as createElementBlock, g as openBlock, b7 as mergeProps, j as createVNode, x as renderSlot, w as withCtx, e as createBlock, f as createCommentVNode, n as normalizeClass, aA as withDirectives, dA as ProjectIcon, k as createBaseVNode, l as createTextVNode, t as toDisplayString, _ as _export_sfc } from "./index-BLAboPd2.js";
2
2
  const _hoisted_1 = { key: 1 };
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "ProjectCardBadge",
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, W as useRoute, r as ref, q as computed, V as VIEWS, c as useI18n, I as watch, h as resolveComponent, e as createBlock, g as openBlock, i as createElementBlock, n as normalizeClass, x as renderSlot, j as createVNode, m as unref, gD as N8nActionToggle, w as withCtx, aU as _sfc_main$3, _ as _export_sfc, bM as reactive, b as useRouter, a4 as useProjectsStore, a3 as useSourceControlStore, p as useSettingsStore, ad as ProjectTypes, a9 as getResourcePermissions, k as createBaseVNode, f as createCommentVNode, g$ as ProjectIcon, l as createTextVNode, t as toDisplayString, bf as N8nButton, b7 as mergeProps, aS as N8nTooltip } from "./index-BpdkKRP4.js";
1
+ import { d as defineComponent, R as useRoute, r as ref, q as computed, V as VIEWS, c as useI18n, X as watch, h as resolveComponent, e as createBlock, g as openBlock, i as createElementBlock, n as normalizeClass, x as renderSlot, j as createVNode, m as unref, gJ as N8nActionToggle, w as withCtx, aT as _sfc_main$3, _ as _export_sfc, bQ as reactive, b as useRouter, a1 as useProjectsStore, a0 as useSourceControlStore, p as useSettingsStore, ab as ProjectTypes, a7 as getResourcePermissions, k as createBaseVNode, f as createCommentVNode, dA as ProjectIcon, l as createTextVNode, t as toDisplayString, bg as N8nButton, b7 as mergeProps, aR as N8nTooltip } from "./index-BLAboPd2.js";
2
2
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3
3
  __name: "ProjectTabs",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, g0 as mergeModels, g1 as useModel, r as ref, q as computed, c as useI18n, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, j as createVNode, k as createBaseVNode, l as createTextVNode, t as toDisplayString, m as unref, i as createElementBlock, f as createCommentVNode, n as normalizeClass, gi as ProjectSharing, J as withModifiers, _ as _export_sfc, a8 as usePageRedirectionHelper, u as useUsersStore, a4 as useProjectsStore, h9 as useRolesStore, aK as useCloudPlanStore, a as useToast, b as useRouter, a6 as useDocumentTitle, ha as getAllIconNames, I as watch, aB as onBeforeMount, o as onMounted, d6 as N8nFormInput, F as Fragment, D as renderList, cb as deepCopy, ai as useTelemetry, z as nextTick, V as VIEWS } from "./index-BpdkKRP4.js";
2
- import { P as ProjectHeader } from "./ProjectHeader-DC02ZuZ0.js";
1
+ import { d as defineComponent, g8 as mergeModels, g9 as useModel, r as ref, q as computed, c as useI18n, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, j as createVNode, k as createBaseVNode, l as createTextVNode, t as toDisplayString, m as unref, i as createElementBlock, f as createCommentVNode, n as normalizeClass, gp as ProjectSharing, b2 as withModifiers, _ as _export_sfc, a6 as usePageRedirectionHelper, u as useUsersStore, a1 as useProjectsStore, he as useRolesStore, aI as useCloudPlanStore, a as useToast, b as useRouter, a4 as useDocumentTitle, hf as getAllIconNames, X as watch, az as onBeforeMount, o as onMounted, db as N8nFormInput, F as Fragment, D as renderList, cg as deepCopy, ag as useTelemetry, z as nextTick, V as VIEWS } from "./index-BLAboPd2.js";
2
+ import { P as ProjectHeader } from "./ProjectHeader-C0FZTxjm.js";
3
3
  const _hoisted_1$2 = { class: "pt-l" };
4
4
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
5
5
  __name: "ProjectDeleteDialog",
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, T as usePushConnectionStore, q as computed, h as resolveComponent, cc as resolveDirective, i as createElementBlock, g as openBlock, x as renderSlot, j as createVNode, w as withCtx, k as createBaseVNode, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, aC as withDirectives } from "./index-BpdkKRP4.js";
1
+ import { d as defineComponent, P as usePushConnectionStore, q as computed, h as resolveComponent, ch as resolveDirective, i as createElementBlock, g as openBlock, x as renderSlot, j as createVNode, w as withCtx, k as createBaseVNode, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, aA as withDirectives } from "./index-BLAboPd2.js";
2
2
  const _hoisted_1 = {
3
3
  key: 0,
4
4
  class: "push-connection-lost primary-color"