n8n-editor-ui 1.91.0 → 1.92.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 (113) hide show
  1. package/dist/assets/{AnimatedSpinner-fxUUiJkt.js → AnimatedSpinner-CtKKeDrz.js} +1 -1
  2. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DaejGlee.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DR6h_xsK.js} +1 -1
  3. package/dist/assets/{AuthView-C38evMFm.js → AuthView-mKkzBRxh.js} +2 -2
  4. package/dist/assets/{CanvasChatSwitch-wA9DYH8v.js → CanvasChatSwitch-Bu2VD2kp.js} +22 -10
  5. package/dist/assets/{ChangePasswordView-BhWZeFH0.js → ChangePasswordView-D5UI1v-J.js} +3 -3
  6. package/dist/assets/CollectionParameter-BeCTpZ-q.js +4 -0
  7. package/dist/assets/{CredentialsView-Nqr-i2Pe.js → CredentialsView-B78eNJO5.js} +6 -6
  8. package/dist/assets/{DemoFooter-BWR2cAp9.js → DemoFooter-DP26HpCu.js} +8 -8
  9. package/dist/assets/{ErrorView-CS9OEuyr.js → ErrorView-C3fvEdCg.js} +1 -1
  10. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DetKnv65.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-BBpwYdHY.js} +2 -2
  11. package/dist/assets/{ExecutionsView-C9YWPuDj.js → ExecutionsView-BvlDZwIs.js} +8 -8
  12. package/dist/assets/{FileSaver.min-DmkzTNV9.js → FileSaver.min-BzAtcQXX.js} +1 -1
  13. package/dist/assets/{FixedCollectionParameter-B95bmTf5.js → FixedCollectionParameter-CS5zXMAh.js} +1 -1
  14. package/dist/assets/{ForgotMyPasswordView-qiBahYik.js → ForgotMyPasswordView-CVQ7pcIG.js} +3 -3
  15. package/dist/assets/{InsightsChartAverageRuntime-Dxhbd0ns.js → InsightsChartAverageRuntime-Boh0SMb3.js} +4 -4
  16. package/dist/assets/{InsightsChartFailed-BQcqQ0cP.js → InsightsChartFailed-IZ-KYOU9.js} +4 -4
  17. package/dist/assets/{InsightsChartFailureRate-ByRknnji.js → InsightsChartFailureRate-2fWw3p0L.js} +4 -4
  18. package/dist/assets/{InsightsChartTimeSaved-DwWd2CE4.js → InsightsChartTimeSaved-B2pLVys1.js} +4 -4
  19. package/dist/assets/{InsightsChartTotal-ByBJBO5S.js → InsightsChartTotal-2QD4wPLR.js} +4 -4
  20. package/dist/assets/{InsightsDashboard-Bi1pPMYJ.js → InsightsDashboard-CbiFbJ8w.js} +10 -10
  21. package/dist/assets/{InsightsPaywall-BHAFddnZ.js → InsightsPaywall-5d-cSdiS.js} +1 -1
  22. package/dist/assets/{InsightsSummary-BbdmlYGl.js → InsightsSummary-gldDQ9rg.js} +1 -1
  23. package/dist/assets/{InsightsTableWorkflows-06mtfv-r.js → InsightsTableWorkflows-_eTCUNCX.js} +2 -2
  24. package/dist/assets/{Logo-YWli2nsX.js → Logo-Dl2xVRIu.js} +1 -1
  25. package/dist/assets/{LogsPanel-CutVxFbc.js → LogsPanel-JnYirDqa.js} +73 -105
  26. package/dist/assets/{LogsPanel-DLC2TAqh.css → LogsPanel-mTaFEGk_.css} +38 -34
  27. package/dist/assets/{MainHeader-DeD-Rq-o.js → MainHeader-Bk29pgmL.js} +9 -9
  28. package/dist/assets/{MainSidebar-w7XcpgsG.js → MainSidebar-BM5ku_wM.js} +11 -11
  29. package/dist/assets/{MainSidebar-CKMiDGvH.css → MainSidebar-zZpP3qQ0.css} +13 -12
  30. package/dist/assets/{NodeCreation-BPVX4AyM.js → NodeCreation-BEjdAYc_.js} +4 -4
  31. package/dist/assets/{NodeCreator-ORfmLjpf.js → NodeCreator-cEUgbAI9.js} +3 -3
  32. package/dist/assets/{NodeDetailsView-z4dW5CZA.js → NodeDetailsView-D4O9dKTA.js} +62 -47
  33. package/dist/assets/{NodeDetailsView-CGgV4Pn_.css → NodeDetailsView-DsFLtbxi.css} +20 -20
  34. package/dist/assets/{NodeView-DoYUR6zN.js → NodeView-DDSOUm8E.js} +29 -16
  35. package/dist/assets/{ProjectCardBadge-9gGGsnO4.js → ProjectCardBadge-BNn2hiMe.js} +1 -1
  36. package/dist/assets/{ProjectHeader-mP1U8azT.js → ProjectHeader-CaEZ2OPj.js} +1 -1
  37. package/dist/assets/{ProjectSettings-BXv7wHt2.js → ProjectSettings-otA8E-yW.js} +2 -2
  38. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-Cu81u0g8.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-C3JbZMCk.js} +1 -1
  39. package/dist/assets/{ResourcesListLayout-l12N8elL.js → ResourcesListLayout-1d9Ic6VX.js} +1 -1
  40. package/dist/assets/{RunData-C9dtm1M2.css → RunData-BjlZgIyx.css} +12 -2
  41. package/dist/assets/{RunData-DcTRJlPx.js → RunData-Bx47sNQp.js} +383 -189
  42. package/dist/assets/{RunDataAi-BF2gZZGr.css → RunDataAi-D9VLFXIf.css} +10 -51
  43. package/dist/assets/{RunDataAi-gSq_Xjqe.js → RunDataAi-DOac7nwD.js} +27 -310
  44. package/dist/assets/{RunDataJson-ZWzRQWbP.js → RunDataJson-Pev6yNEV.js} +7 -7
  45. package/dist/assets/{RunDataJsonActions-CLZHKSxo.js → RunDataJsonActions-Co4xgmVq.js} +1 -1
  46. package/dist/assets/RunDataParsedAiContent-9EEUzCKp.css +176 -0
  47. package/dist/assets/RunDataParsedAiContent-D6MNLmT3.js +148 -0
  48. package/dist/assets/{RunDataSearch-DGVT04w4.js → RunDataSearch-C8orcAlP.js} +1 -1
  49. package/dist/assets/{RunDataTable-DXZeWFoe.js → RunDataTable-oi_l8dhA.js} +3 -3
  50. package/dist/assets/{SamlOnboarding-oqY0GJU1.js → SamlOnboarding-CT5J6dx0.js} +3 -3
  51. package/dist/assets/{SettingsApiView-wOjTe5Iz.js → SettingsApiView-CupjcI9v.js} +1 -1
  52. package/dist/assets/{SettingsCommunityNodesView-BferxshR.js → SettingsCommunityNodesView-B5K2VLyJ.js} +4 -4
  53. package/dist/assets/{SettingsExternalSecrets-AVAe3pFB.js → SettingsExternalSecrets-BidJCf_t.js} +1 -1
  54. package/dist/assets/{SettingsLdapView-Dzz0oH8X.js → SettingsLdapView-Cva6akhW.js} +1 -1
  55. package/dist/assets/{SettingsLogStreamingView-7wK5X84p.js → SettingsLogStreamingView-Cy-rAKUO.js} +1 -1
  56. package/dist/assets/{SettingsPersonalView-DFJF_V6T.js → SettingsPersonalView-ZJ1Syok2.js} +14 -13
  57. package/dist/assets/{SettingsSourceControl-CMcBENTO.js → SettingsSourceControl-CMtqqlkO.js} +1 -1
  58. package/dist/assets/{SettingsSso-Z1Q6NEkd.js → SettingsSso-Bi3OpykL.js} +1 -1
  59. package/dist/assets/{SettingsUsageAndPlan-CcRKHQ0-.js → SettingsUsageAndPlan-C5TbwZhP.js} +1 -1
  60. package/dist/assets/{SettingsUsersView-B3WfDCek.js → SettingsUsersView-BHuP5k0A.js} +1 -1
  61. package/dist/assets/{SettingsView-BlwKUaR5.js → SettingsView-DPIIqaKN.js} +1 -1
  62. package/dist/assets/{SetupView-D5lrdUoq.js → SetupView-C4V9j6sh.js} +3 -3
  63. package/dist/assets/{SetupWorkflowCredentialsButton-Bc6VdFCN.js → SetupWorkflowCredentialsButton-BZ9ILQUp.js} +1 -1
  64. package/dist/assets/{SetupWorkflowFromTemplateView-CJD5W1WL.js → SetupWorkflowFromTemplateView-3uV3zSU2.js} +3 -3
  65. package/dist/assets/{SigninView-DH2fyWJ4.js → SigninView-DWZHdCjG.js} +3 -3
  66. package/dist/assets/{SignoutView-CBkwCdXi.js → SignoutView-DbduXAir.js} +1 -1
  67. package/dist/assets/{SignupView-BRMhMcBZ.js → SignupView-DWq6VACk.js} +3 -3
  68. package/dist/assets/{TemplateDetails-D-BdppKN.js → TemplateDetails-BckqE6GK.js} +1 -1
  69. package/dist/assets/{TemplateList-BnoYTtBt.js → TemplateList-Bw0JeBMP.js} +1 -1
  70. package/dist/assets/{TemplatesCollectionView-BjJj8lj5.js → TemplatesCollectionView-CAKT-mpV.js} +5 -5
  71. package/dist/assets/{TemplatesSearchView-EuczA-oB.js → TemplatesSearchView-I2a5us58.js} +3 -3
  72. package/dist/assets/{TemplatesView-lDM12E7u.js → TemplatesView-6EwGFFJK.js} +1 -1
  73. package/dist/assets/{TemplatesWorkflowView-CvyrJnPM.js → TemplatesWorkflowView-C8xYMhwu.js} +5 -5
  74. package/dist/assets/{TestDefinitionEditView-D3rNVRaa.js → TestDefinitionEditView-CNd3Cuzq.js} +7 -7
  75. package/dist/assets/{TestDefinitionListView-m3RGW84j.js → TestDefinitionListView-BwTWIaAM.js} +1 -1
  76. package/dist/assets/{TestDefinitionNewView-BdBvbajQ.js → TestDefinitionNewView-BQas0_G1.js} +2 -2
  77. package/dist/assets/{TestDefinitionRootView-DJnT-m57.js → TestDefinitionRootView-D971MFye.js} +1 -1
  78. package/dist/assets/{VariablesView-C7i_CSj8.js → VariablesView-DcBBuFxh.js} +3 -3
  79. package/dist/assets/{WorkerView-GWMai3R9.js → WorkerView-DSgBNIeb.js} +6 -6
  80. package/dist/assets/{WorkflowActivator-SziK5CNk.js → WorkflowActivator-CPCbgb_n.js} +2 -2
  81. package/dist/assets/{WorkflowExecutionsInfoAccordion-DENHBjmU.js → WorkflowExecutionsInfoAccordion-Bc6vzAZu.js} +1 -1
  82. package/dist/assets/{WorkflowExecutionsLandingPage-BzDiGWu4.js → WorkflowExecutionsLandingPage-BPPS4V9i.js} +2 -2
  83. package/dist/assets/{WorkflowExecutionsPreview-DqdkoKXB.js → WorkflowExecutionsPreview-Bbb5MB8Z.js} +6 -6
  84. package/dist/assets/{WorkflowExecutionsView-AxW7n6yq.js → WorkflowExecutionsView-Pz-7iHJY.js} +11 -9
  85. package/dist/assets/{WorkflowHistory-BVlsuqfI.js → WorkflowHistory-Czo9IuI6.js} +3 -3
  86. package/dist/assets/{WorkflowOnboardingView-fOW1AS_n.js → WorkflowOnboardingView-B8DdkfJ5.js} +1 -1
  87. package/dist/assets/{WorkflowPreview-ChN9npJk.js → WorkflowPreview-eVlO1itk.js} +1 -1
  88. package/dist/assets/{WorkflowsView-s_WHwcWN.js → WorkflowsView-Cr2D0vym.js} +9 -9
  89. package/dist/assets/{chartjs.utils-wOlz1LMy.js → chartjs.utils-Dk1WO3Mr.js} +2 -2
  90. package/dist/assets/{dateFormatter-yaAmYK7_.js → dateFormatter-C8N5khiG.js} +1 -1
  91. package/dist/assets/{easyAiWorkflowUtils-CVW2fylI.js → easyAiWorkflowUtils-CLqHnasO.js} +1 -1
  92. package/dist/assets/{global-link-actions-X1_8ARhd.js → global-link-actions-BvoZh8u9.js} +1 -1
  93. package/dist/assets/{import-curl-DdqJa2Tm.js → import-curl-BpxkGYMX.js} +1 -1
  94. package/dist/assets/{index-B7FgXPOI.js → index-B6eunbxp.js} +2871 -2467
  95. package/dist/assets/{index-CK1EcLzg.js → index-Br8T1Gn6.js} +1 -1
  96. package/dist/assets/{index-sq5ggyEC.css → index-DCpy4nCU.css} +124 -0
  97. package/dist/assets/{pickBy-s5T-2ufr.js → pickBy-8Urz9lDY.js} +1 -1
  98. package/dist/assets/{templateActions-sdO4R-bv.js → templateActions-DzjysjbQ.js} +1 -1
  99. package/dist/assets/{useBeforeUnload-CQPMw1S7.js → useBeforeUnload-DxrN8vOO.js} +1 -1
  100. package/dist/assets/{useCanvasMapping-DRc556sb.js → useCanvasMapping-C2BQB9QB.js} +21 -18
  101. package/dist/assets/{useCanvasOperations-B0S86JW0.js → useCanvasOperations-DaP5jKbH.js} +2 -2
  102. package/dist/assets/{useClearExecutionButtonVisible-C3SJ4iFv.js → useClearExecutionButtonVisible-BV-jMf2m.js} +2 -2
  103. package/dist/assets/{useExecutionDebugging-CJwhg6O9.js → useExecutionDebugging-0pPCimcw.js} +1 -1
  104. package/dist/assets/{useExecutionHelpers-BWNgdgwx.js → useExecutionHelpers-DIvhViMz.js} +2 -2
  105. package/dist/assets/{useImportCurlCommand-DAljDdWP.js → useImportCurlCommand-BWf4R83s.js} +19 -10
  106. package/dist/assets/usePushConnection-Pobjq0U9.js +632 -0
  107. package/dist/assets/{useTestDefinitionForm-CLiOMqSh.js → useTestDefinitionForm-BA3IS_2B.js} +1 -1
  108. package/dist/assets/{useWorkflowActivate-yVdxh8CC.js → useWorkflowActivate-DFqvrpj6.js} +1 -1
  109. package/dist/assets/useWorkflowSaving-BACesUoL.js +66 -0
  110. package/dist/index.html +2 -2
  111. package/package.json +1 -1
  112. package/dist/assets/CollectionParameter-X0kImkTc.js +0 -4
  113. package/dist/assets/usePushConnection-BBpCn7jd.js +0 -537
@@ -1,6 +1,6 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-ORfmLjpf.js","assets/index-B7FgXPOI.js","assets/index-sq5ggyEC.css","assets/useCanvasOperations-B0S86JW0.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-B7FgXPOI.js";
3
- import { a as useNodeCreatorStore, t as transformNodeType, s as sortNodeCreateElements } from "./useCanvasOperations-B0S86JW0.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-cEUgbAI9.js","assets/index-B6eunbxp.js","assets/index-DCpy4nCU.css","assets/useCanvasOperations-DaP5jKbH.js","assets/NodeCreator-D9fmPdS2.css"])))=>i.map(i=>d[i]);
2
+ import { bz as useNodeTypesStore, q as computed, c as useI18n, Q as useWorkflowsStore, fn as MANUAL_TRIGGER_NODE_TYPE, hH as CHAIN_LLM_LANGCHAIN_NODE_TYPE, bm as NodeConnectionTypes, bk as CHAT_TRIGGER_NODE_TYPE, hI as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, hJ as OPEN_AI_NODE_TYPE, ff as SPLIT_IN_BATCHES_NODE_TYPE, hK as NO_OP_NODE_TYPE, fi as WEBHOOK_NODE_TYPE, fp as SCHEDULE_TRIGGER_NODE_TYPE, aP as useExternalHooks, $ as useCanvasStore, eJ as AI_CATEGORY_LANGUAGE_MODELS, hL as QA_CHAIN_NODE_TYPE, hM as AGENT_NODE_TYPE, hN as BASIC_CHAIN_NODE_TYPE, hO as OPEN_AI_ASSISTANT_NODE_TYPE, ay as STICKY_NODE_TYPE, fl as TRIGGER_NODE_CREATOR_VIEW, ca 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, c3 as defineAsyncComponent, c2 as Suspense, F as Fragment, ao as __vitePreload, hP as getMidCanvasPosition, hQ as DEFAULT_STICKY_WIDTH, hR as DEFAULT_STICKY_HEIGHT, _ as _export_sfc } from "./index-B6eunbxp.js";
3
+ import { a as useNodeCreatorStore, t as transformNodeType, s as sortNodeCreateElements } from "./useCanvasOperations-DaP5jKbH.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-ORfmLjpf.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
244
+ async () => await __vitePreload(() => import("./NodeCreator-cEUgbAI9.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 { 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-B7FgXPOI.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-B0S86JW0.js";
3
- import { u as useActions } from "./NodeCreation-BPVX4AyM.js";
1
+ import { eu as createCompounder, iz as memoize, dp as i18n, fh as HTTP_REQUEST_NODE_TYPE, iA as getCredentialOnlyNodeType, eQ as AI_CATEGORY_TOOLS, fs as AI_CATEGORY_ROOT_NODES, fy 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, d_ as useNodeType, r as ref, q as computed, eB as DEFAULT_SUBCATEGORY, iB as CREDENTIAL_ONLY_NODE_PREFIX, c as useI18n, fk as HITL_SUBCATEGORY, dT as isCommunityPackageName, cm 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, cO as COMMUNITY_NODES_INSTALLATION_DOCS_URL, ce as DRAG_EVENT_DATA_KEY, ag as useTelemetry, b7 as mergeProps, t as toDisplayString, fi as WEBHOOK_NODE_TYPE, fB as getNewNodePosition, fO 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, fm as REGULAR_NODE_CREATOR_VIEW, u as useUsersStore, fl as TRIGGER_NODE_CREATOR_VIEW, hJ as OPEN_AI_NODE_TYPE, hI as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, iC as withMemo, gY as createStaticVNode, l as createTextVNode, iD as REQUEST_NODE_FORM_URL, gp as getNodeIconSource, eG as SEND_AND_WAIT_OPERATION, eU as AI_OTHERS_NODE_CREATOR_VIEW, eV as AI_NODE_CREATOR_VIEW, G as useDebounce, gi as Transition, eT as AI_UNCATEGORIZED_CATEGORY, H as useUIStore, dC as useAssistantStore, bV as useBuilderStore, aT as _sfc_main$i, iE as SlideTransition, bz as useNodeTypesStore, bR as useCredentialsStore } from "./index-B6eunbxp.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-DaP5jKbH.js";
3
+ import { u as useActions } from "./NodeCreation-BEjdAYc_.js";
4
4
  var startCase = createCompounder(function(result, word, index) {
5
5
  return result + (index ? " " : "") + upperFirst(word);
6
6
  });
@@ -1,12 +1,13 @@
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-B7FgXPOI.js";
2
- import { i as importCurlEventBus } from "./import-curl-DdqJa2Tm.js";
3
- import { R as RunData } from "./RunData-DcTRJlPx.js";
4
- import { b as convertToDisplayDateComponents } from "./dateFormatter-yaAmYK7_.js";
5
- import { R as RunDataAi } from "./RunDataAi-gSq_Xjqe.js";
6
- import { u as useWorkflowActivate } from "./useWorkflowActivate-yVdxh8CC.js";
7
- import "./FileSaver.min-DmkzTNV9.js";
8
- import "./useExecutionHelpers-BWNgdgwx.js";
9
- import "./useCanvasOperations-B0S86JW0.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, dT as isCommunityPackageName, cM as NPM_PACKAGE_DOCS_BASE_URL, hS as BUILTIN_NODES_DOCS_URL, cO 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, hT as OPEN_URL_PANEL_TRIGGER_NODE_TYPES, hU as PRODUCTION_ONLY_TRIGGER_NODE_TYPES, fz as MCP_TRIGGER_NODE_TYPE, fq 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, hV as toRef, hW as tryOnScopeDispose, hX as toValue, hY as isIOS, hZ as noop, h_ as isObject, h$ as isClient, bz as useNodeTypesStore, bA as useNodeHelpers, G as useDebounce, B as normalizeStyle, gf as TitledList, bw as getNodeInputs, i0 as SWITCH_NODE_TYPE, ep as isEqual, i1 as captureException, p as useSettingsStore, au as usePostHog, bR as useCredentialsStore, u as useUsersStore, a1 as useProjectsStore, dI as OPEN_AI_API_CREDENTIAL_TYPE, i2 as AI_CREDITS_EXPERIMENT, bU as useHistoryStore, ab as ProjectTypes, bx as getConnectionTypes, o as onMounted, bH as ndvEventBus, y as onBeforeUnmount, i3 as _sfc_main$h, i4 as CUSTOM_NODES_DOCS_URL, aA as withDirectives, aB as vShow, hs as _sfc_main$i, i5 as NodeCredentials, bo as get, fQ as getNodeParameters, cl as deepCopy, i6 as set, i7 as unset, fF as RenameNodeCommand, hr as isINodePropertyCollectionList, i8 as isINodePropertiesList, i9 as isINodePropertyOptionsList, ia as displayParameter, h7 as Draggable, bM as useThrottleFn, H as useUIStore, fU as useSlots, ib as MAIN_NODE_PANEL_WIDTH, aJ as useStorage, ic as LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH, x as renderSlot, cm as resolveDirective, dq as InfoTip, cR as storeToRefs, gj as useNodeDirtiness, d_ as useNodeType, bq as usePinnedData, gg as CanvasNodeDirtiness, aV as createSlots, be as N8nText, id as waitingNodeTooltip, bG as N8nRadioButtons, ek as isPresent, ie as truncate, gY as createStaticVNode, bY as START_NODE_TYPE, fn as MANUAL_TRIGGER_NODE_TYPE, ig as CRON_NODE_TYPE, ih as INTERVAL_NODE_TYPE, by as getNodeOutputs, ii as uniqBy, b6 as resolveDynamicComponent, aR as N8nTooltip, bE as N8nIcon, ij as isTriggerPanelObject, dz as getTriggerNodeServiceName, fi as WEBHOOK_NODE_TYPE, dt as CopyInput, C as createEventBus, gi as Transition, V as VIEWS, ak as WORKFLOW_SETTINGS_MODAL_KEY, g8 as useDeviceSupport, ik as EXECUTABLE_TRIGGER_NODE_TYPES, ay as STICKY_NODE_TYPE, il as BASE_NODE_SURVEY_URL, aa as EnterpriseEditionFeature, e6 as dataPinningEventBus, bJ as useStyles, im as APP_MODALS_ELEMENT_ID, ai as useMessage, aj as MODAL_CONFIRM, b_ as jsonParse } from "./index-B6eunbxp.js";
2
+ import { i as importCurlEventBus } from "./import-curl-BpxkGYMX.js";
3
+ import { R as RunData } from "./RunData-Bx47sNQp.js";
4
+ import { b as convertToDisplayDateComponents } from "./dateFormatter-C8N5khiG.js";
5
+ import { R as RunDataAi } from "./RunDataAi-DOac7nwD.js";
6
+ import { u as useWorkflowActivate } from "./useWorkflowActivate-DFqvrpj6.js";
7
+ import "./FileSaver.min-BzAtcQXX.js";
8
+ import "./useExecutionHelpers-DIvhViMz.js";
9
+ import "./RunDataParsedAiContent-D6MNLmT3.js";
10
+ import "./useCanvasOperations-DaP5jKbH.js";
10
11
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
11
12
  __name: "NodeTitle",
12
13
  props: {
@@ -1281,6 +1282,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
1281
1282
  );
1282
1283
  const node2 = computed(() => ndvStore.activeNode);
1283
1284
  const isTriggerNode = computed(() => !!node2.value && nodeTypesStore.isTriggerNode(node2.value.type));
1285
+ const isNodesAsToolNode = computed(
1286
+ () => !!node2.value && nodeTypesStore.isNodesAsToolNode(node2.value.type)
1287
+ );
1284
1288
  const isExecutable = computed(() => {
1285
1289
  if (props.nodeType && node2.value) {
1286
1290
  const workflowNode = currentWorkflowInstance.value.getNode(node2.value.name);
@@ -1290,7 +1294,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
1290
1294
  props.nodeType
1291
1295
  );
1292
1296
  const inputNames = getConnectionTypes(inputs);
1293
- if (!inputNames.includes(NodeConnectionTypes.Main) && !isTriggerNode.value) {
1297
+ if (!inputNames.includes(NodeConnectionTypes.Main) && !isNodesAsToolNode.value && !isTriggerNode.value) {
1294
1298
  return false;
1295
1299
  }
1296
1300
  }
@@ -2132,7 +2136,7 @@ const style0$8 = {
2132
2136
  const cssModules$9 = {
2133
2137
  "$style": style0$8
2134
2138
  };
2135
- const NodeSettings = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__cssModules", cssModules$9], ["__scopeId", "data-v-18fbbe4a"]]);
2139
+ const NodeSettings = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__cssModules", cssModules$9], ["__scopeId", "data-v-3636ca77"]]);
2136
2140
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2137
2141
  __name: "PanelDragButton",
2138
2142
  props: {
@@ -2858,9 +2862,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2858
2862
  pushRef: {},
2859
2863
  blockUI: { type: Boolean, default: false },
2860
2864
  isProductionExecutionPreview: { type: Boolean, default: false },
2861
- isPaneActive: { type: Boolean, default: false }
2865
+ isPaneActive: { type: Boolean, default: false },
2866
+ displayMode: {}
2862
2867
  },
2863
- emits: ["linkRun", "unlinkRun", "runChange", "activatePane", "tableMounted", "itemHover", "search", "openSettings"],
2868
+ emits: ["linkRun", "unlinkRun", "runChange", "activatePane", "tableMounted", "itemHover", "search", "openSettings", "displayModeChange"],
2864
2869
  setup(__props, { emit: __emit }) {
2865
2870
  const OUTPUT_TYPE = {
2866
2871
  REGULAR: "regular",
@@ -2871,7 +2876,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2871
2876
  const ndvStore = useNDVStore();
2872
2877
  const nodeTypesStore = useNodeTypesStore();
2873
2878
  const workflowsStore = useWorkflowsStore();
2874
- const uiStore = useUIStore();
2875
2879
  const telemetry = useTelemetry();
2876
2880
  const i18n = useI18n();
2877
2881
  const { activeNode } = storeToRefs(ndvStore);
@@ -2882,7 +2886,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2882
2886
  });
2883
2887
  const pinnedData = usePinnedData(activeNode, {
2884
2888
  runIndex: props.runIndex,
2885
- displayMode: ndvStore.outputPanelDisplayMode
2889
+ displayMode: props.displayMode
2886
2890
  });
2887
2891
  const outputMode = ref(OUTPUT_TYPE.REGULAR);
2888
2892
  const outputTypes = ref([
@@ -2918,7 +2922,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2918
2922
  const isNodeRunning = computed(() => {
2919
2923
  return workflowRunning.value && !!node2.value && workflowsStore.isNodeExecuting(node2.value.name);
2920
2924
  });
2921
- const workflowRunning = computed(() => uiStore.isActionActive.workflowRunning);
2925
+ const workflowRunning = computed(() => workflowsStore.isWorkflowRunning);
2922
2926
  const workflowExecution = computed(() => {
2923
2927
  return workflowsStore.getWorkflowExecution;
2924
2928
  });
@@ -3074,13 +3078,16 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3074
3078
  "pane-type": "output",
3075
3079
  "data-output-type": outputMode.value,
3076
3080
  "callout-message": allToolsWereUnusedNotice.value,
3081
+ "display-mode": _ctx.displayMode,
3082
+ "disable-ai-content": true,
3077
3083
  onActivatePane: activatePane,
3078
3084
  onRunChange: onRunIndexChange,
3079
3085
  onLinkRun,
3080
3086
  onUnlinkRun,
3081
3087
  onTableMounted: _cache[1] || (_cache[1] = ($event) => emit("tableMounted", $event)),
3082
3088
  onItemHover: _cache[2] || (_cache[2] = ($event) => emit("itemHover", $event)),
3083
- onSearch: _cache[3] || (_cache[3] = ($event) => emit("search", $event))
3089
+ onSearch: _cache[3] || (_cache[3] = ($event) => emit("search", $event)),
3090
+ onDisplayModeChange: _cache[4] || (_cache[4] = ($event) => emit("displayModeChange", $event))
3084
3091
  }, createSlots({
3085
3092
  header: withCtx(() => [
3086
3093
  createBaseVNode("div", {
@@ -3132,7 +3139,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3132
3139
  key: 0,
3133
3140
  onClick: insertTestData
3134
3141
  }, [
3135
- _cache[4] || (_cache[4] = createBaseVNode("br", null, null, -1)),
3142
+ _cache[5] || (_cache[5] = createBaseVNode("br", null, null, -1)),
3136
3143
  createTextVNode(" " + toDisplayString(unref(i18n).baseText("generic.or")) + " ", 1),
3137
3144
  createVNode(unref(N8nText), {
3138
3145
  tag: "a",
@@ -3156,7 +3163,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3156
3163
  color: "text-dark",
3157
3164
  size: "large"
3158
3165
  }, {
3159
- default: withCtx(() => _cache[5] || (_cache[5] = [
3166
+ default: withCtx(() => _cache[6] || (_cache[6] = [
3160
3167
  createTextVNode("Waiting for input")
3161
3168
  ])),
3162
3169
  _: 1
@@ -3228,7 +3235,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3228
3235
  ]),
3229
3236
  key: "1"
3230
3237
  } : void 0
3231
- ]), 1032, ["class", "node", "workflow", "run-index", "linked-runs", "can-link-runs", "too-much-data-title", "no-data-in-branch-message", "is-executing", "executing-message", "push-ref", "block-u-i", "is-production-execution-preview", "is-pane-active", "hide-pagination", "data-output-type", "callout-message"]);
3238
+ ]), 1032, ["class", "node", "workflow", "run-index", "linked-runs", "can-link-runs", "too-much-data-title", "no-data-in-branch-message", "is-executing", "executing-message", "push-ref", "block-u-i", "is-production-execution-preview", "is-pane-active", "hide-pagination", "data-output-type", "callout-message", "display-mode"]);
3232
3239
  };
3233
3240
  }
3234
3241
  });
@@ -3428,9 +3435,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3428
3435
  linkedRuns: { type: Boolean },
3429
3436
  readOnly: { type: Boolean, default: false },
3430
3437
  isProductionExecutionPreview: { type: Boolean, default: false },
3431
- isPaneActive: { type: Boolean, default: false }
3438
+ isPaneActive: { type: Boolean, default: false },
3439
+ displayMode: {}
3432
3440
  },
3433
- emits: ["itemHover", "tableMounted", "linkRun", "unlinkRun", "runChange", "search", "changeInputNode", "execute", "activatePane"],
3441
+ emits: ["itemHover", "tableMounted", "linkRun", "unlinkRun", "runChange", "search", "changeInputNode", "execute", "activatePane", "displayModeChange"],
3434
3442
  setup(__props, { emit: __emit }) {
3435
3443
  const props = __props;
3436
3444
  const emit = __emit;
@@ -3446,7 +3454,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3446
3454
  const nodeTypesStore = useNodeTypesStore();
3447
3455
  const ndvStore = useNDVStore();
3448
3456
  const workflowsStore = useWorkflowsStore();
3449
- const uiStore = useUIStore();
3450
3457
  const {
3451
3458
  activeNode,
3452
3459
  focusedMappableInput,
@@ -3495,7 +3502,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3495
3502
  return true;
3496
3503
  });
3497
3504
  const isExecutingPrevious = computed(() => {
3498
- if (!workflowRunning.value) {
3505
+ if (!workflowsStore.isWorkflowRunning) {
3499
3506
  return false;
3500
3507
  }
3501
3508
  const triggeredNode = workflowsStore.executedNode;
@@ -3510,7 +3517,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3510
3517
  }
3511
3518
  return false;
3512
3519
  });
3513
- const workflowRunning = computed(() => uiStore.isActionActive.workflowRunning);
3514
3520
  const rootNodesParents = computed(() => {
3515
3521
  if (!rootNode.value) return [];
3516
3522
  return props.workflow.getParentNodesByDepth(rootNode.value);
@@ -3661,15 +3667,18 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3661
3667
  "distance-from-active": currentNodeDepth.value,
3662
3668
  "is-production-execution-preview": _ctx.isProductionExecutionPreview,
3663
3669
  "is-pane-active": _ctx.isPaneActive,
3670
+ "display-mode": _ctx.displayMode,
3664
3671
  "pane-type": "input",
3665
3672
  "data-test-id": "ndv-input-panel",
3673
+ "disable-ai-content": true,
3666
3674
  onActivatePane: activatePane,
3667
3675
  onItemHover,
3668
3676
  onLinkRun,
3669
3677
  onUnlinkRun,
3670
3678
  onRunChange: onRunIndexChange,
3671
3679
  onTableMounted,
3672
- onSearch
3680
+ onSearch,
3681
+ onDisplayModeChange: _cache[1] || (_cache[1] = ($event) => emit("displayModeChange", $event))
3673
3682
  }, createSlots({
3674
3683
  header: withCtx(() => [
3675
3684
  createBaseVNode("div", {
@@ -3836,7 +3845,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3836
3845
  color: "text-dark",
3837
3846
  size: "large"
3838
3847
  }, {
3839
- default: withCtx(() => _cache[2] || (_cache[2] = [
3848
+ default: withCtx(() => _cache[3] || (_cache[3] = [
3840
3849
  createTextVNode("Waiting for input")
3841
3850
  ])),
3842
3851
  _: 1
@@ -3887,7 +3896,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3887
3896
  name: "before-data",
3888
3897
  fn: withCtx(() => [
3889
3898
  (openBlock(), createBlock(resolveDynamicComponent("style"), null, {
3890
- default: withCtx(() => _cache[1] || (_cache[1] = [
3899
+ default: withCtx(() => _cache[2] || (_cache[2] = [
3891
3900
  createTextVNode("button.linkRun { display: none }")
3892
3901
  ])),
3893
3902
  _: 1
@@ -3905,7 +3914,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3905
3914
  ]),
3906
3915
  key: "0"
3907
3916
  } : void 0
3908
- ]), 1032, ["class", "node", "nodes", "workflow", "run-index", "linked-runs", "can-link-runs", "too-much-data-title", "no-data-in-branch-message", "is-executing", "executing-message", "push-ref", "override-outputs", "mapping-enabled", "distance-from-active", "is-production-execution-preview", "is-pane-active"]);
3917
+ ]), 1032, ["class", "node", "nodes", "workflow", "run-index", "linked-runs", "can-link-runs", "too-much-data-title", "no-data-in-branch-message", "is-executing", "executing-message", "push-ref", "override-outputs", "mapping-enabled", "distance-from-active", "is-production-execution-preview", "is-pane-active", "display-mode"]);
3909
3918
  };
3910
3919
  }
3911
3920
  });
@@ -4039,9 +4048,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4039
4048
  const executedNode = workflowsStore.executedNode;
4040
4049
  return !!node2.value && !node2.value.disabled && isWebhookBasedNode.value && waitingOnWebhook && (!executedNode || executedNode === props.nodeName);
4041
4050
  });
4042
- const workflowRunning = computed(() => {
4043
- return uiStore.isActionActive.workflowRunning;
4044
- });
4051
+ const workflowRunning = computed(() => workflowsStore.isWorkflowRunning);
4045
4052
  const isActivelyPolling = computed(() => {
4046
4053
  const triggeredNode = workflowsStore.executedNode;
4047
4054
  return workflowRunning.value && isPollingNode.value && props.nodeName === triggeredNode;
@@ -4414,7 +4421,7 @@ const style0 = {
4414
4421
  const cssModules$1 = {
4415
4422
  "$style": style0
4416
4423
  };
4417
- const TriggerPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-e575e8c9"]]);
4424
+ const TriggerPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-d43aa3b1"]]);
4418
4425
  const _hoisted_1 = {
4419
4426
  key: 0,
4420
4427
  ref: "container",
@@ -4441,7 +4448,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4441
4448
  const pinnedData = usePinnedData(activeNode);
4442
4449
  const workflowActivate = useWorkflowActivate();
4443
4450
  const nodeTypesStore = useNodeTypesStore();
4444
- const uiStore = useUIStore();
4445
4451
  const workflowsStore = useWorkflowsStore();
4446
4452
  const settingsStore = useSettingsStore();
4447
4453
  const deviceSupport = useDeviceSupport();
@@ -4471,9 +4477,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4471
4477
  }
4472
4478
  return null;
4473
4479
  });
4474
- const workflowRunning = computed(() => uiStore.isActionActive.workflowRunning);
4475
4480
  const showTriggerWaitingWarning = computed(
4476
- () => triggerWaitingWarningEnabled.value && !!activeNodeType.value && !activeNodeType.value.group.includes("trigger") && workflowRunning.value && workflowsStore.executionWaitingForWebhook
4481
+ () => triggerWaitingWarningEnabled.value && !!activeNodeType.value && !activeNodeType.value.group.includes("trigger") && workflowsStore.isWorkflowRunning && workflowsStore.executionWaitingForWebhook
4477
4482
  );
4478
4483
  const workflowRunData = computed(() => {
4479
4484
  if (workflowExecution.value === null) {
@@ -4618,9 +4623,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4618
4623
  return `${BASE_NODE_SURVEY_URL}${activeNodeType.value.name}`;
4619
4624
  });
4620
4625
  const outputPanelEditMode = computed(() => ndvStore.outputPanelEditMode);
4621
- const isWorkflowRunning = computed(() => uiStore.isActionActive.workflowRunning);
4622
4626
  const isExecutionWaitingForWebhook = computed(() => workflowsStore.executionWaitingForWebhook);
4623
- const blockUi = computed(() => isWorkflowRunning.value || isExecutionWaitingForWebhook.value);
4627
+ const blockUi = computed(
4628
+ () => workflowsStore.isWorkflowRunning || isExecutionWaitingForWebhook.value
4629
+ );
4624
4630
  const foreignCredentials = computed(() => {
4625
4631
  const credentials = activeNode.value?.credentials;
4626
4632
  const usedCredentials = workflowsStore.usedCredentials;
@@ -4635,6 +4641,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4635
4641
  return foreignCredentialsArray;
4636
4642
  });
4637
4643
  const hasForeignCredential = computed(() => foreignCredentials.value.length > 0);
4644
+ const inputPanelDisplayMode = computed(() => ndvStore.inputPanelDisplayMode);
4645
+ const outputPanelDisplayMode = computed(() => ndvStore.outputPanelDisplayMode);
4638
4646
  const setIsTooltipVisible = ({ isTooltipVisible }) => {
4639
4647
  pinDataDiscoveryTooltipVisible.value = isTooltipVisible;
4640
4648
  };
@@ -4727,7 +4735,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4727
4735
  };
4728
4736
  const onNodeExecute = () => {
4729
4737
  setTimeout(() => {
4730
- if (!activeNode.value || !workflowRunning.value) {
4738
+ if (!activeNode.value || !workflowsStore.isWorkflowRunning) {
4731
4739
  return;
4732
4740
  }
4733
4741
  triggerWaitingWarningEnabled.value = true;
@@ -4854,6 +4862,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4854
4862
  const setSelectedInput = (value) => {
4855
4863
  selectedInput.value = value;
4856
4864
  };
4865
+ const handleChangeDisplayMode = (pane, mode) => {
4866
+ ndvStore.setPanelDisplayMode({ pane, mode });
4867
+ };
4857
4868
  watch(
4858
4869
  activeNode,
4859
4870
  (node2, oldNode) => {
@@ -4891,8 +4902,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4891
4902
  parameters_pane_position: mainPanelPosition.value,
4892
4903
  input_first_connector_runs: maxInputRun.value,
4893
4904
  output_first_connector_runs: maxOutputRun.value,
4894
- selected_view_inputs: isTriggerNode.value ? "trigger" : ndvStore.inputPanelDisplayMode,
4895
- selected_view_outputs: ndvStore.outputPanelDisplayMode,
4905
+ selected_view_inputs: isTriggerNode.value ? "trigger" : inputPanelDisplayMode.value,
4906
+ selected_view_outputs: outputPanelDisplayMode.value,
4896
4907
  input_connectors: parentNodes.value.length,
4897
4908
  output_connectors: outgoingConnections?.main?.length,
4898
4909
  input_displayed_run_index: inputRun.value,
@@ -5022,15 +5033,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
5022
5033
  "block-u-i": blockUi.value && isTriggerNode.value && !isExecutableTriggerNode.value,
5023
5034
  "is-production-execution-preview": _ctx.isProductionExecutionPreview,
5024
5035
  "is-pane-active": isOutputPaneActive.value,
5036
+ "display-mode": outputPanelDisplayMode.value,
5025
5037
  onActivatePane: activateOutputPane,
5026
5038
  onLinkRun: onLinkRunToOutput,
5027
- onUnlinkRun: _cache[1] || (_cache[1] = () => onUnlinkRun("output")),
5039
+ onUnlinkRun: _cache[2] || (_cache[2] = () => onUnlinkRun("output")),
5028
5040
  onRunChange: onRunOutputIndexChange,
5029
5041
  onOpenSettings: openSettings,
5030
5042
  onTableMounted: onOutputTableMounted,
5031
5043
  onItemHover: onOutputItemHover,
5032
- onSearch
5033
- }, null, 8, ["workflow", "can-link-runs", "run-index", "linked-runs", "push-ref", "is-read-only", "block-u-i", "is-production-execution-preview", "is-pane-active"])
5044
+ onSearch,
5045
+ onDisplayModeChange: _cache[3] || (_cache[3] = ($event) => handleChangeDisplayMode("output", $event))
5046
+ }, null, 8, ["workflow", "can-link-runs", "run-index", "linked-runs", "push-ref", "is-read-only", "block-u-i", "is-production-execution-preview", "is-pane-active", "display-mode"])
5034
5047
  ]),
5035
5048
  main: withCtx(() => [
5036
5049
  createVNode(NodeSettings, {
@@ -5046,7 +5059,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
5046
5059
  onValueChanged: valueChanged,
5047
5060
  onExecute: onNodeExecute,
5048
5061
  onStopExecution,
5049
- onRedrawRequired: _cache[2] || (_cache[2] = ($event) => redrawRequired.value = true),
5062
+ onRedrawRequired: _cache[4] || (_cache[4] = ($event) => redrawRequired.value = true),
5050
5063
  onActivate: onWorkflowActivate,
5051
5064
  onSwitchSelectedNode,
5052
5065
  onOpenConnectionNodeCreator
@@ -5083,6 +5096,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
5083
5096
  "read-only": _ctx.readOnly || hasForeignCredential.value,
5084
5097
  "is-production-execution-preview": _ctx.isProductionExecutionPreview,
5085
5098
  "is-pane-active": isInputPaneActive.value,
5099
+ "display-mode": inputPanelDisplayMode.value,
5086
5100
  onActivatePane: activateInputPane,
5087
5101
  onLinkRun: onLinkRunToInput,
5088
5102
  onUnlinkRun: _cache[0] || (_cache[0] = () => onUnlinkRun("input")),
@@ -5092,8 +5106,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
5092
5106
  onExecute: onNodeExecute,
5093
5107
  onTableMounted: onInputTableMounted,
5094
5108
  onItemHover: onInputItemHover,
5095
- onSearch
5096
- }, null, 8, ["workflow", "can-link-runs", "run-index", "linked-runs", "current-node-name", "push-ref", "read-only", "is-production-execution-preview", "is-pane-active"])) : createCommentVNode("", true)
5109
+ onSearch,
5110
+ onDisplayModeChange: _cache[1] || (_cache[1] = ($event) => handleChangeDisplayMode("input", $event))
5111
+ }, null, 8, ["workflow", "can-link-runs", "run-index", "linked-runs", "current-node-name", "push-ref", "read-only", "is-production-execution-preview", "is-pane-active", "display-mode"])) : createCommentVNode("", true)
5097
5112
  ]),
5098
5113
  key: "0"
5099
5114
  } : void 0
@@ -1006,7 +1006,7 @@
1006
1006
  -------------------------- */
1007
1007
  /* BEM
1008
1008
  -------------------------- */
1009
- .node-settings[data-v-18fbbe4a] {
1009
+ .node-settings[data-v-3636ca77] {
1010
1010
  display: flex;
1011
1011
  flex-direction: column;
1012
1012
  overflow: hidden;
@@ -1014,19 +1014,19 @@
1014
1014
  height: 100%;
1015
1015
  width: 100%;
1016
1016
  }
1017
- .node-settings .no-parameters[data-v-18fbbe4a] {
1017
+ .node-settings .no-parameters[data-v-3636ca77] {
1018
1018
  margin-top: var(--spacing-xs);
1019
1019
  }
1020
- .node-settings .header-side-menu[data-v-18fbbe4a] {
1020
+ .node-settings .header-side-menu[data-v-3636ca77] {
1021
1021
  padding: var(--spacing-s) var(--spacing-s) var(--spacing-s) var(--spacing-s);
1022
1022
  font-size: var(--font-size-l);
1023
1023
  display: flex;
1024
1024
  justify-content: space-between;
1025
1025
  }
1026
- .node-settings .header-side-menu .node-name[data-v-18fbbe4a] {
1026
+ .node-settings .header-side-menu .node-name[data-v-3636ca77] {
1027
1027
  padding-top: var(--spacing-5xs);
1028
1028
  }
1029
- .node-settings .node-is-not-valid[data-v-18fbbe4a] {
1029
+ .node-settings .node-is-not-valid[data-v-3636ca77] {
1030
1030
  height: 75%;
1031
1031
  padding: 10px;
1032
1032
  display: flex;
@@ -1036,54 +1036,54 @@
1036
1036
  text-align: center;
1037
1037
  line-height: var(--font-line-height-regular);
1038
1038
  }
1039
- .node-settings .node-parameters-wrapper[data-v-18fbbe4a] {
1039
+ .node-settings .node-parameters-wrapper[data-v-3636ca77] {
1040
1040
  overflow-y: auto;
1041
1041
  padding: 0 var(--spacing-m) var(--spacing-l) var(--spacing-m);
1042
1042
  flex-grow: 1;
1043
1043
  }
1044
- .node-settings.dragging[data-v-18fbbe4a] {
1044
+ .node-settings.dragging[data-v-3636ca77] {
1045
1045
  border-color: var(--color-primary);
1046
1046
  box-shadow: 0px 6px 16px rgba(255, 74, 51, 0.15);
1047
1047
  }
1048
- .parameter-content[data-v-18fbbe4a] {
1048
+ .parameter-content[data-v-3636ca77] {
1049
1049
  font-size: 0.9em;
1050
1050
  margin-right: -15px;
1051
1051
  margin-left: -15px;
1052
1052
  }
1053
- .parameter-content input[data-v-18fbbe4a] {
1053
+ .parameter-content input[data-v-3636ca77] {
1054
1054
  width: calc(100% - 35px);
1055
1055
  padding: 5px;
1056
1056
  }
1057
- .parameter-content select[data-v-18fbbe4a] {
1057
+ .parameter-content select[data-v-3636ca77] {
1058
1058
  width: calc(100% - 20px);
1059
1059
  padding: 5px;
1060
1060
  }
1061
- .parameter-content[data-v-18fbbe4a]:before {
1061
+ .parameter-content[data-v-3636ca77]:before {
1062
1062
  display: table;
1063
1063
  content: " ";
1064
1064
  position: relative;
1065
1065
  box-sizing: border-box;
1066
1066
  clear: both;
1067
1067
  }
1068
- .parameter-wrapper[data-v-18fbbe4a] {
1068
+ .parameter-wrapper[data-v-3636ca77] {
1069
1069
  padding: 0 1em;
1070
1070
  }
1071
- .color-reset-button-wrapper[data-v-18fbbe4a] {
1071
+ .color-reset-button-wrapper[data-v-3636ca77] {
1072
1072
  position: relative;
1073
1073
  }
1074
- .color-reset-button[data-v-18fbbe4a] {
1074
+ .color-reset-button[data-v-3636ca77] {
1075
1075
  position: absolute;
1076
1076
  right: 7px;
1077
1077
  top: -25px;
1078
1078
  }
1079
- .node-version[data-v-18fbbe4a] {
1079
+ .node-version[data-v-3636ca77] {
1080
1080
  border-top: var(--border-base);
1081
1081
  font-size: var(--font-size-xs);
1082
1082
  font-size: var(--font-size-2xs);
1083
1083
  padding: var(--spacing-xs) 0 var(--spacing-2xs) 0;
1084
1084
  color: var(--color-text-light);
1085
1085
  }
1086
- .parameter-value input.expression[data-v-18fbbe4a] {
1086
+ .parameter-value input.expression[data-v-3636ca77] {
1087
1087
  border-style: dashed;
1088
1088
  border-color: #ff9600;
1089
1089
  display: inline-block;
@@ -2576,12 +2576,12 @@
2576
2576
  -------------------------- */
2577
2577
  /* BEM
2578
2578
  -------------------------- */
2579
- .fade-enter-active[data-v-e575e8c9],
2580
- .fade-leave-active[data-v-e575e8c9] {
2579
+ .fade-enter-active[data-v-d43aa3b1],
2580
+ .fade-leave-active[data-v-d43aa3b1] {
2581
2581
  transition: opacity 200ms;
2582
2582
  }
2583
- .fade-enter[data-v-e575e8c9],
2584
- .fade-leave-to[data-v-e575e8c9] {
2583
+ .fade-enter[data-v-d43aa3b1],
2584
+ .fade-leave-to[data-v-d43aa3b1] {
2585
2585
  opacity: 0;
2586
2586
  }/* BEM support Func
2587
2587
  -------------------------- */
@@ -1,12 +1,13 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-BPVX4AyM.js","assets/index-B7FgXPOI.js","assets/index-sq5ggyEC.css","assets/useCanvasOperations-B0S86JW0.js","assets/NodeCreation-RKvezEeg.css","assets/NodeDetailsView-z4dW5CZA.js","assets/import-curl-DdqJa2Tm.js","assets/RunData-DcTRJlPx.js","assets/FileSaver.min-DmkzTNV9.js","assets/useExecutionHelpers-BWNgdgwx.js","assets/dateFormatter-yaAmYK7_.js","assets/RunData-C9dtm1M2.css","assets/RunDataAi-gSq_Xjqe.js","assets/RunDataAi-BF2gZZGr.css","assets/useWorkflowActivate-yVdxh8CC.js","assets/NodeDetailsView-CGgV4Pn_.css","assets/SetupWorkflowCredentialsButton-Bc6VdFCN.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-B7FgXPOI.js";
3
- import { u as useVueFlow, a as useCanvasMapping, C as Canvas } from "./useCanvasMapping-DRc556sb.js";
4
- import { g as globalLinkActionsEventBus } from "./global-link-actions-X1_8ARhd.js";
5
- import { a as useNodeCreatorStore, b as useCanvasOperations, c as createCanvasConnectionHandleString } from "./useCanvasOperations-B0S86JW0.js";
6
- import { u as useExecutionDebugging } from "./useExecutionDebugging-CJwhg6O9.js";
7
- import { u as useBeforeUnload } from "./useBeforeUnload-CQPMw1S7.js";
8
- import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-CVW2fylI.js";
9
- import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-C3SJ4iFv.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-BEjdAYc_.js","assets/index-B6eunbxp.js","assets/index-DCpy4nCU.css","assets/useCanvasOperations-DaP5jKbH.js","assets/NodeCreation-RKvezEeg.css","assets/NodeDetailsView-D4O9dKTA.js","assets/import-curl-BpxkGYMX.js","assets/RunData-Bx47sNQp.js","assets/FileSaver.min-BzAtcQXX.js","assets/useExecutionHelpers-DIvhViMz.js","assets/dateFormatter-C8N5khiG.js","assets/RunData-BjlZgIyx.css","assets/RunDataAi-DOac7nwD.js","assets/RunDataParsedAiContent-D6MNLmT3.js","assets/RunDataParsedAiContent-9EEUzCKp.css","assets/RunDataAi-D9VLFXIf.css","assets/useWorkflowActivate-DFqvrpj6.js","assets/NodeDetailsView-DsFLtbxi.css","assets/SetupWorkflowCredentialsButton-BZ9ILQUp.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, bW as useParameterOverridesStore, bB as useRunWorkflow, bf as useClipboard, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, bX as NEW_WORKFLOW_ID, V as VIEWS, aZ as LOGS_PANEL_STATE, bY as START_NODE_TYPE, bZ as getNodeViewTab, s as MAIN_HEADER_TABS, am as VALID_WORKFLOW_IMPORT_URL_REGEX, ai as useMessage, aj as MODAL_CONFIRM, b_ 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, c0 as onActivated, c1 as onDeactivated, y as onBeforeUnmount, c2 as Suspense, c3 as defineAsyncComponent, c4 as N8nCallout, ao as __vitePreload, aa as EnterpriseEditionFeature, z as nextTick, ag as useTelemetry, c5 as tryToParseNumber, ah as nodeViewEventBus, bm as NodeConnectionTypes, c6 as isValidNodeConnectionType, c7 as CanvasConnectionMode, c8 as historyBus, aF as sourceControlEventBus, c9 as getNodesWithNormalizedPosition, aq as h, ca as NODE_CREATOR_OPEN_SOURCES, cb as CanvasNodeRenderType, ay as STICKY_NODE_TYPE, cc as hasFromAiExpressions, cd as FROM_AI_PARAMETERS_MODAL_KEY, ce as DRAG_EVENT_DATA_KEY } from "./index-B6eunbxp.js";
3
+ import { u as useVueFlow, a as useCanvasMapping, C as Canvas } from "./useCanvasMapping-C2BQB9QB.js";
4
+ import { g as globalLinkActionsEventBus } from "./global-link-actions-BvoZh8u9.js";
5
+ import { a as useNodeCreatorStore, b as useCanvasOperations, c as createCanvasConnectionHandleString } from "./useCanvasOperations-DaP5jKbH.js";
6
+ import { u as useExecutionDebugging } from "./useExecutionDebugging-0pPCimcw.js";
7
+ import { u as useBeforeUnload } from "./useBeforeUnload-DxrN8vOO.js";
8
+ import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-CLqHnasO.js";
9
+ import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-BV-jMf2m.js";
10
+ import { u as useWorkflowSaving } from "./useWorkflowSaving-BACesUoL.js";
10
11
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
11
12
  __name: "CanvasChatButton",
12
13
  props: {
@@ -284,13 +285,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
284
285
  __name: "NodeView",
285
286
  setup(__props) {
286
287
  const LazyNodeCreation = defineAsyncComponent(
287
- async () => await __vitePreload(() => import("./NodeCreation-BPVX4AyM.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
288
+ async () => await __vitePreload(() => import("./NodeCreation-BEjdAYc_.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
288
289
  );
289
290
  const LazyNodeDetailsView = defineAsyncComponent(
290
- async () => await __vitePreload(() => import("./NodeDetailsView-z4dW5CZA.js"), true ? __vite__mapDeps([5,1,2,6,7,8,9,10,11,12,3,13,14,15]) : void 0)
291
+ async () => await __vitePreload(() => import("./NodeDetailsView-D4O9dKTA.js"), true ? __vite__mapDeps([5,1,2,6,7,8,9,10,11,12,13,14,3,15,16,17]) : void 0)
291
292
  );
292
293
  const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
293
- async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-Bc6VdFCN.js"), true ? __vite__mapDeps([16,1,2]) : void 0)
294
+ async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-BZ9ILQUp.js"), true ? __vite__mapDeps([18,1,2]) : void 0)
294
295
  );
295
296
  const $style = useCssModule();
296
297
  const router = useRouter();
@@ -325,6 +326,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
325
326
  const templatesStore = useTemplatesStore();
326
327
  const builderStore = useBuilderStore();
327
328
  const foldersStore = useFoldersStore();
329
+ const parameterOverridesStore = useParameterOverridesStore();
328
330
  const canvasEventBus = createEventBus();
329
331
  const { addBeforeUnloadEventBindings, removeBeforeUnloadEventBindings } = useBeforeUnload({
330
332
  route
@@ -1048,8 +1050,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1048
1050
  async function onRunWorkflowToNode(id) {
1049
1051
  const node = workflowsStore.getNodeById(id);
1050
1052
  if (!node) return;
1051
- trackRunWorkflowToNode(node);
1052
- void runWorkflow({ destinationNode: node.name, source: "Node.executeNode" });
1053
+ if (hasFromAiExpressions(node) && nodeTypesStore.isNodesAsToolNode(node.type)) {
1054
+ uiStore.openModalWithData({
1055
+ name: FROM_AI_PARAMETERS_MODAL_KEY,
1056
+ data: {
1057
+ nodeName: node.name
1058
+ }
1059
+ });
1060
+ } else {
1061
+ trackRunWorkflowToNode(node);
1062
+ parameterOverridesStore.clearParameterOverrides(workflowsStore.workflowId, node.id);
1063
+ void runWorkflow({ destinationNode: node.name, source: "Node.executeNode" });
1064
+ }
1053
1065
  }
1054
1066
  function trackRunWorkflowToNode(node) {
1055
1067
  const telemetryPayload = {
@@ -1471,12 +1483,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1471
1483
  next();
1472
1484
  return;
1473
1485
  }
1474
- await workflowHelpers.promptSaveUnsavedWorkflowChanges(next, {
1486
+ await useWorkflowSaving({ router }).promptSaveUnsavedWorkflowChanges(next, {
1475
1487
  async confirm() {
1476
1488
  if (from.name === VIEWS.NEW_WORKFLOW) {
1489
+ const savedWorkflowId = workflowsStore.workflowId;
1477
1490
  await router.replace({
1478
1491
  name: VIEWS.WORKFLOW,
1479
- params: { name: workflowId.value }
1492
+ params: { name: savedWorkflowId }
1480
1493
  });
1481
1494
  await router.push(to);
1482
1495
  return false;
@@ -1,4 +1,4 @@
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-B7FgXPOI.js";
1
+ import { d as defineComponent, q as computed, ab as ProjectTypes, c as useI18n, hc as splitName, gZ as ResourceType, V as VIEWS, h as resolveComponent, cm 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, dF as ProjectIcon, k as createBaseVNode, l as createTextVNode, t as toDisplayString, _ as _export_sfc } from "./index-B6eunbxp.js";
2
2
  const _hoisted_1 = { key: 1 };
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "ProjectCardBadge",