n8n-editor-ui 1.111.0 → 1.112.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/assets/{AddDataStoreModal-D3j8deoq.css → AddDataStoreModal-B7jBhCjt.css} +5 -3
  2. package/dist/assets/{AddDataStoreModal-COmj3tI8.js → AddDataStoreModal-CLYFuWF4.js} +12 -7
  3. package/dist/assets/{AnimatedSpinner-BRe0Ugab.js → AnimatedSpinner-D7Nt5ZAz.js} +2 -1
  4. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BllZkKe3.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BzK1dfc7.js} +2 -1
  5. package/dist/assets/{AuthView-z58gFjsc.js → AuthView-Db8T18BU.js} +3 -2
  6. package/dist/assets/{ChangePasswordView-DUmtjPAx.js → ChangePasswordView-Clb7ta4t.js} +4 -3
  7. package/dist/assets/CollectionParameter-BGBoLgV2.js +5 -0
  8. package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-4IRcAtjj.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-BG5somV-.js} +2 -1
  9. package/dist/assets/{CredentialsView-Ie0l_odH.js → CredentialsView-CydHAPfb.js} +11 -9
  10. package/dist/assets/{DataStoreActions.vue_vue_type_script_setup_true_lang-d31tni9q.js → DataStoreActions.vue_vue_type_script_setup_true_lang-qftEof1u.js} +2 -2
  11. package/dist/assets/{DataStoreDetailsView-BPsHPucD.css → DataStoreDetailsView-C8fMxukz.css} +60 -39
  12. package/dist/assets/{DataStoreDetailsView-DLuRcsh-.js → DataStoreDetailsView-DZK3pYSP.js} +267 -102
  13. package/dist/assets/{DataStoreView-DmY3FIsv.js → DataStoreView-CT0OnFLR.js} +14 -29
  14. package/dist/assets/{DemoFooter-BQj55pTx.js → DemoFooter-DHwNRr6t.js} +7 -6
  15. package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-NJbsTbk5.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-Y97PdUKW.js} +2 -1
  16. package/dist/assets/{EntityNotFound-B1VWHiBa.js → EntityNotFound-BDjIF_1D.js} +2 -1
  17. package/dist/assets/{EntityUnAuthorised-B0Yg7JWa.js → EntityUnAuthorised-Dz3DXm1-.js} +2 -1
  18. package/dist/assets/{ErrorView-aHqCD3ri.js → ErrorView-BH0St5KC.js} +2 -1
  19. package/dist/assets/{EvaluationsRootView-CoYRtuEz.js → EvaluationsRootView-CnJlr4OF.js} +2 -1
  20. package/dist/assets/{EvaluationsView-BC1UMOb0.js → EvaluationsView-DABp8z-m.js} +4 -3
  21. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-CMR49MM7.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-gCj_FZH6.js} +3 -2
  22. package/dist/assets/{ExecutionsView-C8r32amj.js → ExecutionsView-CivgrlFE.js} +14 -12
  23. package/dist/assets/{ExecutionsView-DpVZbkhT.css → ExecutionsView-GKNLT5Ec.css} +1 -1
  24. package/dist/assets/{FixedCollectionParameter-DTkvAml6.css → FixedCollectionParameter-Dg7ZadcB.css} +18 -18
  25. package/dist/assets/{FixedCollectionParameter-BzZrk2iw.js → FixedCollectionParameter-l8xC6wRw.js} +7 -3
  26. package/dist/assets/{ForgotMyPasswordView-CaXCwrIx.js → ForgotMyPasswordView-WF87QWAH.js} +4 -3
  27. package/dist/assets/{InfoAccordion-DUHSL9ZE.js → InfoAccordion-8iWJ2sSU.js} +2 -1
  28. package/dist/assets/{InsightsChartAverageRuntime-DFunYdc9.js → InsightsChartAverageRuntime-BEd6XJn6.js} +5 -4
  29. package/dist/assets/{InsightsChartFailed-0uRNHiAU.js → InsightsChartFailed-CVwzK3ch.js} +5 -4
  30. package/dist/assets/{InsightsChartFailureRate-BuiZokRI.js → InsightsChartFailureRate-BeA77_lp.js} +5 -4
  31. package/dist/assets/{InsightsChartTimeSaved-CK46Eo2R.js → InsightsChartTimeSaved-DkgR7j7U.js} +5 -4
  32. package/dist/assets/{InsightsChartTotal-ZhGp0D6c.js → InsightsChartTotal--1QxzvAZ.js} +5 -4
  33. package/dist/assets/{InsightsDashboard-DEJEg2jy.js → InsightsDashboard-cHCzH4ZY.js} +13 -11
  34. package/dist/assets/{InsightsPaywall-CEYbNF-U.js → InsightsPaywall-neQ9PmYP.js} +2 -1
  35. package/dist/assets/{InsightsSummary-D4c0lwdE.js → InsightsSummary-BekdjOxv.js} +4 -2
  36. package/dist/assets/{InsightsTableWorkflows-Cf2s_w2o.js → InsightsTableWorkflows-LMO-UU8h.js} +5 -4
  37. package/dist/assets/{Logo-DF7Ve1nG.js → Logo-DXNRuN8z.js} +2 -1
  38. package/dist/assets/{LogsPanel-Dz_R5wsR.js → LogsPanel-2GQHQFmh.js} +36 -22
  39. package/dist/assets/{LogsPanel-BinqqXXh.css → LogsPanel-CUsQIBpC.css} +17 -17
  40. package/dist/assets/{MainHeader-DBWR1wTC.js → MainHeader-BlBek00C.js} +12 -10
  41. package/dist/assets/{MainSidebar-3_9O8-rJ.js → MainSidebar-qdHg8D5V.js} +3 -2
  42. package/dist/assets/{NodeCreation-Dtlm36Oq.js → NodeCreation-DO5k3aK3.js} +4 -3
  43. package/dist/assets/{NodeCreator-DUoi7nAW.js → NodeCreator-C3Pmrqkh.js} +2 -1
  44. package/dist/assets/{NodeDetailsView-Di4Qgo0H.js → NodeDetailsView-BACft9ex.js} +18 -17
  45. package/dist/assets/{NodeDetailsView-CjdovDgq.css → NodeDetailsView-CBYV4Rrz.css} +11 -11
  46. package/dist/assets/{NodeDetailsViewV2-DeY6N1Bz.js → NodeDetailsViewV2--1S2eK5u.js} +14 -13
  47. package/dist/assets/{NodeView-DsbJeAY_.js → NodeView-BRwQ5Cqs.js} +113 -99
  48. package/dist/assets/{NodeView-DMJpfBYR.css → NodeView-Chs2u0U9.css} +28 -25
  49. package/dist/assets/{PageViewLayout-DC6xqvMl.js → PageViewLayout-DldtilHz.js} +2 -1
  50. package/dist/assets/{PrebuiltAgentTemplatesView-Bf_4L0Mz.js → PrebuiltAgentTemplatesView-ChyN8J2x.js} +3 -2
  51. package/dist/assets/{ProjectBreadcrumb-OJlbtg71.js → ProjectBreadcrumb-9uWmVmc7.js} +2 -1
  52. package/dist/assets/{ProjectHeader-CuQxn8hj.js → ProjectHeader-CWapIKXf.js} +93 -23
  53. package/dist/assets/{ProjectSettings-CyyS1dIR.js → ProjectSettings-BlYXGYRx.js} +5 -3
  54. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DbrwK8IB.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DjpouOrH.js} +2 -1
  55. package/dist/assets/{ResourcesListLayout-i7do2ZBR.js → ResourcesListLayout-CfDIFGjS.js} +5 -4
  56. package/dist/assets/{RunDataJson-DRtbtIz3.js → RunDataJson-CTm3-xdY.js} +4 -3
  57. package/dist/assets/{RunDataJsonActions-7l2QvE2z.js → RunDataJsonActions-B_yBOGYB.js} +2 -1
  58. package/dist/assets/{RunDataParsedAiContent-CD12A0kN.js → RunDataParsedAiContent-Cg9vUI0v.js} +3 -2
  59. package/dist/assets/{RunDataSearch-LNeMq9j6.js → RunDataSearch-DPt2MvbI.js} +2 -1
  60. package/dist/assets/{RunDataTable-DcKBX4aO.js → RunDataTable-DHVRSqQT.js} +2 -1
  61. package/dist/assets/{SamlOnboarding-i5e6HuF6.js → SamlOnboarding-CN_xGqen.js} +4 -3
  62. package/dist/assets/{SelectedItemsInfo-CfUb0ZrI.css → SelectedItemsInfo-Dl4uynXs.css} +5 -3
  63. package/dist/assets/{SelectedItemsInfo-C55zD1dl.js → SelectedItemsInfo-DzoCyQOW.js} +12 -7
  64. package/dist/assets/{SettingsApiView-C3ju5H4H.js → SettingsApiView-BIKCRKGM.js} +2 -1
  65. package/dist/assets/{SettingsCommunityNodesView-i_vIhGwd.js → SettingsCommunityNodesView-ClWYmDB8.js} +7 -4
  66. package/dist/assets/{SettingsExternalSecrets-ChCiOX-n.js → SettingsExternalSecrets-D58JxT3V.js} +2 -1
  67. package/dist/assets/{SettingsLdapView-2QEfpHy6.js → SettingsLdapView-uImCjvMm.js} +2 -1
  68. package/dist/assets/{SettingsLogStreamingView-BORk25bO.js → SettingsLogStreamingView-DUn62Yq4.js} +2 -1
  69. package/dist/assets/{SettingsPersonalView-Yl43xiM_.js → SettingsPersonalView-DGiCMsXu.js} +2 -1
  70. package/dist/assets/{SettingsSourceControl-BpcJX-rJ.js → SettingsSourceControl-CVik5czR.js} +2 -1
  71. package/dist/assets/{SettingsSso-BugeRCyt.js → SettingsSso-BQkWpsdO.js} +2 -1
  72. package/dist/assets/{SettingsUsageAndPlan-Dt6g-FQw.js → SettingsUsageAndPlan-BuwgmEka.js} +2 -1
  73. package/dist/assets/{SettingsUsersView-BhBuZop9.js → SettingsUsersView-DCmtHeMa.js} +2 -1
  74. package/dist/assets/{SettingsView-Cx0SMMrn.js → SettingsView-CrBThv_a.js} +2 -1
  75. package/dist/assets/{SetupView-CUJOHrm2.js → SetupView-CES8Gnnv.js} +4 -3
  76. package/dist/assets/{SetupWorkflowCredentialsButton-D6h_IgTa.js → SetupWorkflowCredentialsButton-Bjhx_rck.js} +2 -1
  77. package/dist/assets/{SetupWorkflowFromTemplateView-_ReKyIk1.js → SetupWorkflowFromTemplateView-C8kmCc7J.js} +4 -3
  78. package/dist/assets/{SigninView--fAZZd3A.js → SigninView-24xKsh_S.js} +4 -3
  79. package/dist/assets/{SignoutView-DXoOH9BS.js → SignoutView-DgFIUUyh.js} +2 -1
  80. package/dist/assets/{SignupView-d0cK_S0B.js → SignupView-BckB-uUh.js} +4 -3
  81. package/dist/assets/{TableBase-D5vBzOrx.js → TableBase-CQEzJfeN.js} +2 -1
  82. package/dist/assets/{Tags-CZdua1l_.js → Tags-DbX-5_Fk.js} +2 -2
  83. package/dist/assets/{TemplateDetails-ccSWABeF.js → TemplateDetails-BGraOFbY.js} +3 -2
  84. package/dist/assets/{TemplateList-BKUKBRua.js → TemplateList-5P1N08U1.js} +2 -1
  85. package/dist/assets/{TemplatesCollectionView-BTyYNxNc.js → TemplatesCollectionView-D2-SU0eR.js} +7 -7
  86. package/dist/assets/{TemplatesSearchView-BYM3HbbU.js → TemplatesSearchView-ncBXTfOM.js} +4 -3
  87. package/dist/assets/{TemplatesView-CrH_O4he.js → TemplatesView-DO7HuUts.js} +2 -1
  88. package/dist/assets/{TemplatesWorkflowView-Dg3REjWI.js → TemplatesWorkflowView-BvrjU4RD.js} +7 -7
  89. package/dist/assets/{TriggerPanel-dDX4Bzu7.js → TriggerPanel-BFQ6veDz.js} +10 -8
  90. package/dist/assets/{VariablesView-DQw3gYG7.js → VariablesView-BVzruwEA.js} +7 -6
  91. package/dist/assets/{WorkerView-DIs4RXZZ.js → WorkerView-DRM6mgWJ.js} +9 -6
  92. package/dist/assets/{WorkflowActivator-z_Ef2Dd7.js → WorkflowActivator-BOt1oNlm.js} +4 -3
  93. package/dist/assets/{WorkflowExecutionsInfoAccordion-ptRuD88E.js → WorkflowExecutionsInfoAccordion-BjZUTKcs.js} +3 -2
  94. package/dist/assets/{WorkflowExecutionsLandingPage-C-RDf8Mu.js → WorkflowExecutionsLandingPage-ENKxL7Yh.js} +4 -3
  95. package/dist/assets/{WorkflowExecutionsPreview-Bk449wx1.js → WorkflowExecutionsPreview-Cdgg29u5.js} +5 -4
  96. package/dist/assets/{WorkflowExecutionsView-Dp0exxTM.js → WorkflowExecutionsView-t3W7WuAy.js} +9 -9
  97. package/dist/assets/{WorkflowHistory-D8zH1o6c.js → WorkflowHistory--OLvuBs1.js} +3 -2
  98. package/dist/assets/{WorkflowOnboardingView-8OmgIoUc.js → WorkflowOnboardingView-C8y96ur1.js} +2 -1
  99. package/dist/assets/{WorkflowPreview-jOuoMEkv.js → WorkflowPreview-C1XHoZmU.js} +2 -1
  100. package/dist/assets/{WorkflowsView-B9MpreL6.js → WorkflowsView-B9rxI0No.js} +272 -62
  101. package/dist/assets/{WorkflowsView-BuvoAeDm.css → WorkflowsView-MF9XcT0u.css} +186 -0
  102. package/dist/assets/{canvas-k8kjfgjE.js → canvas-D2PwiGnN.js} +1 -1
  103. package/dist/assets/{chartjs.utils-BXNxmkto.js → chartjs.utils-B6sz8yOh.js} +2 -2
  104. package/dist/assets/{core-e2mfCMV8.js → core-Be7WBA6o.js} +2 -1
  105. package/dist/assets/{en-C3wg5zl_.js → en-CJyn5rnO.js} +26 -20
  106. package/dist/assets/{global-link-actions-CR3odK4e.js → global-link-actions-B9WsUojd.js} +1 -1
  107. package/dist/assets/index-4g2Akj0I.js +13861 -0
  108. package/dist/assets/{index-DnpNicM9.css → index-B7wrqKiF.css} +8081 -8069
  109. package/dist/assets/{index-DuLlH1tF.js → index-BJG79OsS.js} +326896 -342404
  110. package/dist/assets/{index-DuaZRDhZ.js → index-LOlKxvn4.js} +2 -1
  111. package/dist/assets/loadDefaultEn-DNiURDi9.js +8 -0
  112. package/dist/assets/{pickBy-sB8d3BKD.js → pickBy-BMn768eW.js} +1 -1
  113. package/dist/assets/{readyToRunWorkflows.store-SxwN_l4P.js → readyToRunWorkflows.store-HSpbq3Bf.js} +2 -1
  114. package/dist/assets/readyToRunWorkflowsV2.store-DcRVIsRt.js +138 -0
  115. package/dist/assets/sqlite3-DBpDb1lf.wasm +0 -0
  116. package/dist/assets/sqlite3-opfs-async-proxy-CYRFPDln.js +579 -0
  117. package/dist/assets/sqlite3-worker1-bundler-friendly-DF3WqBKq.js +11289 -0
  118. package/dist/assets/{templateActions-BUeOwdy0.js → templateActions-DR_XHPc4.js} +1 -1
  119. package/dist/assets/{useBeforeUnload-DpCu12iW.js → useBeforeUnload-DmAaB1v5.js} +2 -1
  120. package/dist/assets/{useExecutionDebugging-XRtGhlAr.js → useExecutionDebugging-B8xDxcb6.js} +2 -1
  121. package/dist/assets/{useImportCurlCommand-DJJ0VEAg.js → useImportCurlCommand-BaN8fxqM.js} +2 -1
  122. package/dist/assets/{useProjectPages-DrMZX3ez.js → useProjectPages-B-oTYbCo.js} +2 -1
  123. package/dist/assets/{usePushConnection-CPQe3uqU.js → usePushConnection-Bcd2_XWM.js} +36 -22
  124. package/dist/assets/{useWorkflowActivate-RFJxTj5m.js → useWorkflowActivate-BDE2t3MM.js} +2 -1
  125. package/dist/assets/worker-DZxlyUFA.js +11826 -0
  126. package/dist/index.html +3 -2
  127. package/package.json +1 -1
  128. package/vite/i18n-locales-hmr-helpers.ts +19 -0
  129. package/vite.config.mts +25 -1
  130. package/dist/assets/CollectionParameter--MG-Jsbv.js +0 -4
  131. package/dist/assets/Tag-CGAmDPzS.js +0 -32
  132. package/dist/assets/Tag-Cg-Hqs2H.css +0 -153
  133. package/dist/assets/dataStore.store-vaNG0oX7.js +0 -291
@@ -1,10 +1,11 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-Dtlm36Oq.js","assets/index-DuLlH1tF.js","assets/index-DnpNicM9.css","assets/NodeCreation-C4gQlPqI.css","assets/NodeDetailsView-Di4Qgo0H.js","assets/TriggerPanel-dDX4Bzu7.js","assets/RunDataParsedAiContent-CD12A0kN.js","assets/core-e2mfCMV8.js","assets/RunDataParsedAiContent-wfIiKsq7.css","assets/ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-4IRcAtjj.js","assets/InfoAccordion-DUHSL9ZE.js","assets/InfoAccordion-dxudNqVC.css","assets/TriggerPanel-DiD8pi0I.css","assets/useWorkflowActivate-RFJxTj5m.js","assets/global-link-actions-CR3odK4e.js","assets/useExecutionDebugging-XRtGhlAr.js","assets/useBeforeUnload-DpCu12iW.js","assets/canvas-k8kjfgjE.js","assets/readyToRunWorkflows.store-SxwN_l4P.js","assets/NodeDetailsView-CjdovDgq.css","assets/NodeDetailsViewV2-DeY6N1Bz.js","assets/NodeDetailsViewV2-J_3cfdea.css","assets/SetupWorkflowCredentialsButton-D6h_IgTa.js"])))=>i.map(i=>d[i]);
2
- import { d as defineComponent, aq as createEventBus, aG as useTemplateRef, as as useCssModule, cx as useVueFlow, b_ as toRef, x as computed, cy as useCanvasMapping, r as ref, cz as refThrottled, h as createElementBlock, g as openBlock, n as normalizeClass, l as unref, j as createBaseVNode, X as renderSlot, e as createBlock, f as createCommentVNode, cA as Canvas, K as mergeProps, _ as _export_sfc, a1 as useWorkflowsStore, cB as useExpressionResolveCtx, cC as useContextMenuItems, aY as useNDVStore, a7 as watch, p as N8nText, w as withCtx, t as toDisplayString, F as Fragment, A as renderList, i as createVNode, q as N8nButton, k as createTextVNode, cD as N8nKeyboardShortcut, cE as _sfc_main$b, aa as _sfc_main$c, bO as provide, cF as ExpressionLocalResolveContextSymbol, ad as useNodeTypesStore, bX as NodeIcon, cG as _sfc_main$d, bL as useNodeHelpers, cH as useFocusPanelStore, cI as useNodeSettingsParameters, cJ as useEnvironmentsStore, cK as useExperimentalNdvStore, cL as useDeviceSupport, cv as useActiveElement, cM as useTelemetryContext, cN as HTML_NODE_TYPE, cO as isValueExpression, cP as isResourceLocatorValue, cQ as AI_TRANSFORM_NODE_TYPE, cR as useResolvedExpression, cl as useThrottleFn, B as withModifiers, N as N8nIcon, cS as InfoTip, c as useI18n, cT as __unplugin_components_2, cU as __unplugin_components_3, cV as __unplugin_components_4, cW as __unplugin_components_5, cX as __unplugin_components_6, cY as __unplugin_components_7, cZ as __unplugin_components_8, c_ as __unplugin_components_9, c$ as N8nInput, O as N8nRadioButtons, ap as normalizeStyle, ch as N8nResizeWrapper, d0 as getParameterTypeOption, d1 as htmlEditorEventBus, d2 as parseFromExpression, d3 as isValidParameterOption, d4 as formatAsExpression, al as useTelemetry, Y as nextTick, d5 as hasFocusOnInput, d6 as isFocusableEl, bB as isChatNode, d7 as truncateBeforeLast, ab as I18nT, cg as KeyboardShortcutTooltip, aM as N8nActionDropdown, d8 as reactive, o as onMounted, c7 as onUnmounted, d9 as _sfc_main$e, D as useI18n$1, b as useRouter, a2 as useRoute, a as useToast, ax as useDocumentTitle, az as useWorkflowHelpers, ay as useWorkflowSaving, Q as useUIStore, af as useSourceControlStore, da as useNodeCreatorStore, v as useSettingsStore, db as useCredentialsStore, dc as useExternalSecretsStore, at as useRootStore, aZ as useExecutionsStore, co as useCanvasStore, aw as useNpsSurveyStore, dd as useHistoryStore, au as useProjectsStore, u as useUsersStore, ar as useTagsStore, a0 as usePushConnectionStore, bk as useTemplatesStore, de as useBuilderStore, av as useFoldersStore, df as usePostHog, dg as useAgentRequestStore, bK as useLogsStore, bM as useRunWorkflow, bP as useCanvasOperations, dh as useWorkflowExtraction, ca as useClipboard, bn as useKeybindings, bu as ABOUT_MODAL_KEY, a3 as PLACEHOLDER_EMPTY_WORKFLOW_ID, di as NEW_WORKFLOW_ID, V as VIEWS, dj as NDV_UI_OVERHAUL_EXPERIMENT, bQ as START_NODE_TYPE, dk as getNodeViewTab, L as MAIN_HEADER_TABS, dl as VALID_WORKFLOW_IMPORT_URL_REGEX, am as useMessage, an as MODAL_CONFIRM, dm as jsonParse, aB as getResourcePermissions, bH as CHAT_TRIGGER_NODE_TYPE, bG as MANUAL_CHAT_TRIGGER_NODE_TYPE, dn as EVALUATION_TRIGGER_NODE_TYPE, dp as getBounds, dq as onBeforeRouteLeave, b1 as onBeforeMount, ak as WORKFLOW_SETTINGS_MODAL_KEY, bp as useExternalHooks, dr as onActivated, ds as onDeactivated, W as onBeforeUnmount, dt as Suspense, du as defineAsyncComponent, z as N8nCallout, aU as __vitePreload, aE as EnterpriseEditionFeature, dv as NODE_CREATOR_OPEN_SOURCES, dw as EVALUATION_NODE_TYPE, dx as getSampleWorkflowByTemplateId, dy as tryToParseNumber, aO as nodeViewEventBus, bC as NodeConnectionTypes, dz as createCanvasConnectionHandleString, dA as CanvasConnectionMode, dB as isValidNodeConnectionType, dC as sourceControlEventBus, dD as getNodesWithNormalizedPosition, aW as h, dE as CanvasNodeRenderType, dF as shouldIgnoreCanvasShortcut, b0 as STICKY_NODE_TYPE, dG as needsAgentInput, dH as FROM_AI_PARAMETERS_MODAL_KEY, dI as historyBus, dJ as DRAG_EVENT_DATA_KEY } from "./index-DuLlH1tF.js";
3
- import { g as globalLinkActionsEventBus } from "./global-link-actions-CR3odK4e.js";
4
- import { u as useExecutionDebugging } from "./useExecutionDebugging-XRtGhlAr.js";
5
- import { u as useBeforeUnload } from "./useBeforeUnload-DpCu12iW.js";
6
- import { c as canvasEventBus } from "./canvas-k8kjfgjE.js";
7
- import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-SxwN_l4P.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-DO5k3aK3.js","assets/index-4g2Akj0I.js","assets/index-BJG79OsS.js","assets/index-B7wrqKiF.css","assets/NodeCreation-C4gQlPqI.css","assets/NodeDetailsView-BACft9ex.js","assets/TriggerPanel-BFQ6veDz.js","assets/RunDataParsedAiContent-Cg9vUI0v.js","assets/core-Be7WBA6o.js","assets/RunDataParsedAiContent-wfIiKsq7.css","assets/ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-BG5somV-.js","assets/InfoAccordion-8iWJ2sSU.js","assets/InfoAccordion-dxudNqVC.css","assets/TriggerPanel-DiD8pi0I.css","assets/useWorkflowActivate-BDE2t3MM.js","assets/global-link-actions-B9WsUojd.js","assets/useExecutionDebugging-B8xDxcb6.js","assets/useBeforeUnload-DmAaB1v5.js","assets/canvas-D2PwiGnN.js","assets/readyToRunWorkflows.store-HSpbq3Bf.js","assets/NodeDetailsView-CBYV4Rrz.css","assets/NodeDetailsViewV2--1S2eK5u.js","assets/NodeDetailsViewV2-J_3cfdea.css","assets/SetupWorkflowCredentialsButton-Bjhx_rck.js"])))=>i.map(i=>d[i]);
2
+ import { o as defineComponent, bB as useTemplateRef, br as toRef, a9 as computed, b8 as ref, ac as createElementBlock, b1 as openBlock, aQ as normalizeClass, u as unref, ad as createBaseVNode, bb as renderSlot, aa as createBlock, ab as createCommentVNode, aP as mergeProps, w as watch, bI as withCtx, bo as toDisplayString, F as Fragment, ba as renderList, k as createVNode, ah as createTextVNode, b3 as provide, bT as useI18n, aS as normalizeStyle, n as nextTick, bX as I18nT, b6 as reactive, r as onMounted, s as onUnmounted, aU as onBeforeMount, aT as onActivated, aW as onDeactivated, aV as onBeforeUnmount, a0 as Suspense, aj as defineAsyncComponent, bN as __vitePreload, K as h } from "./index-4g2Akj0I.js";
3
+ import { a1 as createEventBus, a3 as useCssModule, bQ as useVueFlow, bR as useCanvasMapping, bS as refThrottled, bT as Canvas, _ as _export_sfc, C as useWorkflowsStore, bU as useExpressionResolveCtx, bV as useContextMenuItems, au as useNDVStore, d as N8nText, e as N8nButton, bW as N8nKeyboardShortcut, bX as _sfc_main$b, bY as ExpressionLocalResolveContextSymbol, K as useNodeTypesStore, bp as NodeIcon, I as _sfc_main$c, bZ as _sfc_main$d, be as useNodeHelpers, b_ as useFocusPanelStore, b$ as useNodeSettingsParameters, c0 as useEnvironmentsStore, c1 as useExperimentalNdvStore, c2 as useDeviceSupport, bO as useActiveElement, c3 as useTelemetryContext, c4 as CanvasNodeRenderType, c5 as HTML_NODE_TYPE, c6 as isValueExpression, c7 as isResourceLocatorValue, c8 as AI_TRANSFORM_NODE_TYPE, c9 as useResolvedExpression, bG as useThrottleFn, w as withModifiers, N as N8nIcon, ca as InfoTip, cb as __unplugin_components_2, cc as __unplugin_components_3, cd as __unplugin_components_4, ce as __unplugin_components_5, cf as __unplugin_components_6, cg as __unplugin_components_7, ch as __unplugin_components_8, ci as __unplugin_components_9, cj as N8nInput, q as N8nRadioButtons, bC as N8nResizeWrapper, ck as getParameterTypeOption, cl as htmlEditorEventBus, cm as parseFromExpression, cn as isValidParameterOption, co as formatAsExpression, Y as useTelemetry, cp as hasFocusOnInput, cq as isFocusableEl, b4 as isChatNode, cr as truncateBeforeLast, bB as KeyboardShortcutTooltip, am as N8nActionDropdown, cs as _sfc_main$e, k as useI18n$1, b as useRouter, D as useRoute, a as useToast, a8 as useDocumentTitle, aa as useWorkflowHelpers, a9 as useWorkflowSaving, s as useUIStore, O as useSourceControlStore, ct as useNodeCreatorStore, g as useSettingsStore, cu as useCredentialsStore, cv as useExternalSecretsStore, a4 as useRootStore, av as useExecutionsStore, bI as useCanvasStore, a7 as useNpsSurveyStore, cw as useHistoryStore, a5 as useProjectsStore, u as useUsersStore, a2 as useTagsStore, A as usePushConnectionStore, aQ as useTemplatesStore, cx as useBuilderStore, a6 as useFoldersStore, cy as usePostHog, cz as useAgentRequestStore, bd as useLogsStore, bf as useRunWorkflow, bh as useCanvasOperations, cA as useWorkflowExtraction, bv as useClipboard, aT as useKeybindings, aZ as ABOUT_MODAL_KEY, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, cB as NEW_WORKFLOW_ID, V as VIEWS, cC as NDV_UI_OVERHAUL_EXPERIMENT, bi as START_NODE_TYPE, cD as getNodeViewTab, p as MAIN_HEADER_TABS, cE as VALID_WORKFLOW_IMPORT_URL_REGEX, Z as useMessage, $ as MODAL_CONFIRM, cF as jsonParse, ac as getResourcePermissions, ba as CHAT_TRIGGER_NODE_TYPE, b9 as MANUAL_CHAT_TRIGGER_NODE_TYPE, cG as EVALUATION_TRIGGER_NODE_TYPE, cH as getBounds, cI as onBeforeRouteLeave, X as WORKFLOW_SETTINGS_MODAL_KEY, aV as useExternalHooks, i as N8nCallout, af as EnterpriseEditionFeature, cJ as NODE_CREATOR_OPEN_SOURCES, cK as EVALUATION_NODE_TYPE, cL as getSampleWorkflowByTemplateId, cM as tryToParseNumber, ao as nodeViewEventBus, b5 as NodeConnectionTypes, cN as createCanvasConnectionHandleString, cO as CanvasConnectionMode, cP as isValidNodeConnectionType, cQ as sourceControlEventBus, cR as getNodesWithNormalizedPosition, cS as shouldIgnoreCanvasShortcut, ay as STICKY_NODE_TYPE, cT as needsAgentInput, cU as FROM_AI_PARAMETERS_MODAL_KEY, cV as historyBus, cW as DRAG_EVENT_DATA_KEY } from "./index-BJG79OsS.js";
4
+ import { g as globalLinkActionsEventBus } from "./global-link-actions-B9WsUojd.js";
5
+ import { u as useExecutionDebugging } from "./useExecutionDebugging-B8xDxcb6.js";
6
+ import { u as useBeforeUnload } from "./useBeforeUnload-DmAaB1v5.js";
7
+ import { c as canvasEventBus } from "./canvas-D2PwiGnN.js";
8
+ import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-HSpbq3Bf.js";
8
9
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
9
10
  ...{
10
11
  inheritAttrs: false
@@ -18,7 +19,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18
19
  showFallbackNodes: { type: Boolean, default: true },
19
20
  eventBus: { default: () => createEventBus() },
20
21
  readOnly: { type: Boolean },
21
- executing: { type: Boolean }
22
+ executing: { type: Boolean },
23
+ suppressInteraction: { type: Boolean, default: false }
22
24
  },
23
25
  setup(__props, { expose: __expose }) {
24
26
  const props = __props;
@@ -65,8 +67,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
65
67
  connections: _ctx.executing ? unref(mappedConnectionsThrottled) : unref(mappedConnections),
66
68
  "event-bus": _ctx.eventBus,
67
69
  "read-only": _ctx.readOnly,
68
- executing: _ctx.executing
69
- }, _ctx.$attrs), null, 16, ["id", "nodes", "connections", "event-bus", "read-only", "executing"])) : createCommentVNode("", true)
70
+ executing: _ctx.executing,
71
+ "suppress-interaction": _ctx.suppressInteraction
72
+ }, _ctx.$attrs), null, 16, ["id", "nodes", "connections", "event-bus", "read-only", "executing", "suppress-interaction"])) : createCommentVNode("", true)
70
73
  ], 2),
71
74
  renderSlot(_ctx.$slots, "default")
72
75
  ], 2);
@@ -114,7 +117,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
114
117
  __name: "ExperimentalNodeDetailsDrawer",
115
118
  props: {
116
119
  node: {},
117
- nodeIds: {}
120
+ nodeIds: {},
121
+ isReadOnly: { type: Boolean }
118
122
  },
119
123
  emits: ["openNdv", "contextMenuAction"],
120
124
  setup(__props, { emit: __emit }) {
@@ -134,7 +138,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
134
138
  );
135
139
  provide(ExpressionLocalResolveContextSymbol, expressionResolveCtx);
136
140
  return (_ctx, _cache) => {
137
- const _component_N8nIconButton = _sfc_main$c;
138
141
  return openBlock(), createElementBlock("div", {
139
142
  class: normalizeClass(_ctx.$style.component)
140
143
  }, [
@@ -175,21 +178,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
175
178
  _: 1
176
179
  }, 8, ["class"])) : _ctx.node ? (openBlock(), createBlock(_sfc_main$b, {
177
180
  key: nodeSettingsViewKey.value,
178
- "node-id": _ctx.node.id
179
- }, {
180
- actions: withCtx(() => [
181
- createVNode(_component_N8nIconButton, {
182
- icon: "maximize-2",
183
- type: "secondary",
184
- text: "",
185
- size: "mini",
186
- "icon-size": "large",
187
- "aria-label": "Expand",
188
- onClick: _cache[0] || (_cache[0] = ($event) => emit("openNdv"))
189
- })
190
- ]),
191
- _: 1
192
- }, 8, ["node-id"])) : createCommentVNode("", true)
181
+ "node-id": _ctx.node.id,
182
+ "is-read-only": _ctx.isReadOnly
183
+ }, null, 8, ["node-id", "is-read-only"])) : createCommentVNode("", true)
193
184
  ], 2);
194
185
  };
195
186
  }
@@ -222,7 +213,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
222
213
  const emit = __emit;
223
214
  return (_ctx, _cache) => {
224
215
  return openBlock(), createBlock(unref(N8nText), {
225
- tag: "div",
216
+ tag: "header",
226
217
  size: "small",
227
218
  bold: "",
228
219
  class: normalizeClass(_ctx.$style.component)
@@ -269,7 +260,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
269
260
  onClick: _cache[0] || (_cache[0] = ($event) => emit("clearParameter"))
270
261
  })) : (openBlock(), createBlock(unref(_sfc_main$c), {
271
262
  key: 1,
272
- icon: "maximize-2",
263
+ icon: "expand",
273
264
  size: "small",
274
265
  type: "tertiary",
275
266
  text: "",
@@ -280,6 +271,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
280
271
  "data-test-id": "node-execute-button",
281
272
  "node-name": _ctx.node.name,
282
273
  tooltip: `Execute ${_ctx.node.name}`,
274
+ type: "secondary",
283
275
  size: "small",
284
276
  icon: "play",
285
277
  square: true,
@@ -357,8 +349,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
357
349
  if (!experimentalNdvStore.isNdvInFocusPanelEnabled || resolvedParameter.value) {
358
350
  return resolvedParameter.value?.node;
359
351
  }
360
- const selected = vueFlow.getSelectedNodes.value[0]?.id;
361
- return selected ? workflowsStore.allNodes.find((n) => n.id === selected) : void 0;
352
+ const selected = vueFlow.getSelectedNodes.value[0];
353
+ return selected?.data?.render.type === CanvasNodeRenderType.Default ? workflowsStore.allNodes.find((n) => n.id === selected.id) : void 0;
362
354
  });
363
355
  const multipleNodesSelected = computed(() => vueFlow.getSelectedNodes.value.length > 1);
364
356
  const isExecutable = computed(() => {
@@ -423,6 +415,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
423
415
  });
424
416
  const isNodeExecuting = computed(() => workflowsStore.isNodeExecuting(node.value?.name ?? ""));
425
417
  const selectedNodeIds = computed(() => vueFlow.getSelectedNodes.value.map((n) => n.id));
418
+ const emptyTitle = computed(
419
+ () => experimentalNdvStore.isNdvInFocusPanelEnabled ? locale.baseText("nodeView.focusPanel.v2.noParameters.title") : locale.baseText("nodeView.focusPanel.noParameters.title")
420
+ );
421
+ const emptySubtitle = computed(
422
+ () => experimentalNdvStore.isNdvInFocusPanelEnabled ? locale.baseText("nodeView.focusPanel.v2.noParameters.subtitle") : locale.baseText("nodeView.focusPanel.noParameters.subtitle")
423
+ );
426
424
  const { resolvedExpression } = useResolvedExpression({
427
425
  expression,
428
426
  additionalData: resolvedAdditionalExpressionData,
@@ -600,7 +598,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
600
598
  return focusPanelActive.value ? (openBlock(), createElementBlock("div", {
601
599
  key: 0,
602
600
  ref: "wrapper",
603
- class: normalizeClass(_ctx.$style.wrapper),
601
+ "data-test-id": "focus-panel",
602
+ class: normalizeClass([
603
+ _ctx.$style.wrapper,
604
+ { [_ctx.$style.isNdvInFocusPanelEnabled]: unref(experimentalNdvStore).isNdvInFocusPanelEnabled }
605
+ ]),
604
606
  onKeydown: _cache[10] || (_cache[10] = withModifiers(() => {
605
607
  }, ["stop"]))
606
608
  }, [
@@ -628,7 +630,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
628
630
  }, null, 8, ["node", "parameter", "is-executable"])) : createCommentVNode("", true),
629
631
  resolvedParameter.value ? (openBlock(), createElementBlock("div", {
630
632
  key: 1,
631
- class: normalizeClass(_ctx.$style.content)
633
+ class: normalizeClass(_ctx.$style.content),
634
+ "data-test-id": "focus-parameter"
632
635
  }, [
633
636
  !unref(experimentalNdvStore).isNdvInFocusPanelEnabled ? (openBlock(), createElementBlock("div", {
634
637
  key: 0,
@@ -846,55 +849,56 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
846
849
  key: 2,
847
850
  node: node.value,
848
851
  "node-ids": selectedNodeIds.value,
852
+ "is-read-only": isReadOnly.value,
849
853
  onOpenNdv,
850
854
  onContextMenuAction: _cache[9] || (_cache[9] = (action, nodeIds) => emit("contextMenuAction", action, nodeIds))
851
- }, null, 8, ["node", "node-ids"])) : (openBlock(), createElementBlock("div", {
855
+ }, null, 8, ["node", "node-ids", "is-read-only"])) : (openBlock(), createElementBlock("div", {
852
856
  key: 3,
853
857
  class: normalizeClass([_ctx.$style.content, _ctx.$style.emptyContent])
854
858
  }, [
855
859
  createBaseVNode("div", {
856
- class: normalizeClass(_ctx.$style.emptyText)
860
+ class: normalizeClass(_ctx.$style.focusParameterWrapper)
857
861
  }, [
858
862
  createBaseVNode("div", {
859
- class: normalizeClass(_ctx.$style.focusParameterWrapper)
863
+ class: normalizeClass(_ctx.$style.iconWrapper)
860
864
  }, [
861
- createBaseVNode("div", {
862
- class: normalizeClass(_ctx.$style.iconWrapper)
863
- }, [
864
- createVNode(_component_N8nIcon, {
865
- class: normalizeClass(_ctx.$style.forceHover),
866
- icon: "panel-right",
867
- size: "medium"
868
- }, null, 8, ["class"]),
869
- createVNode(_component_N8nIcon, {
870
- class: normalizeClass(_ctx.$style.pointerIcon),
871
- icon: "mouse-pointer",
872
- color: "text-dark",
873
- size: "large"
874
- }, null, 8, ["class"])
875
- ], 2),
876
865
  createVNode(_component_N8nIcon, {
877
- icon: "ellipsis-vertical",
878
- size: "small",
879
- color: "text-base"
880
- }),
881
- createVNode(_component_N8nRadioButtons, {
882
- size: "small",
883
- "model-value": "expression",
884
- disabled: true,
885
- options: [
886
- { label: unref(locale).baseText("parameterInput.fixed"), value: "fixed" },
887
- { label: unref(locale).baseText("parameterInput.expression"), value: "expression" }
888
- ]
889
- }, null, 8, ["options"])
866
+ class: normalizeClass(_ctx.$style.forceHover),
867
+ icon: "panel-right",
868
+ size: "medium"
869
+ }, null, 8, ["class"]),
870
+ createVNode(_component_N8nIcon, {
871
+ class: normalizeClass(_ctx.$style.pointerIcon),
872
+ icon: "mouse-pointer",
873
+ color: "text-dark",
874
+ size: "large"
875
+ }, null, 8, ["class"])
890
876
  ], 2),
877
+ createVNode(_component_N8nIcon, {
878
+ icon: "ellipsis-vertical",
879
+ size: "small",
880
+ color: "text-base"
881
+ }),
882
+ createVNode(_component_N8nRadioButtons, {
883
+ size: "small",
884
+ "model-value": "expression",
885
+ disabled: true,
886
+ options: [
887
+ { label: unref(locale).baseText("parameterInput.fixed"), value: "fixed" },
888
+ { label: unref(locale).baseText("parameterInput.expression"), value: "expression" }
889
+ ]
890
+ }, null, 8, ["options"])
891
+ ], 2),
892
+ createBaseVNode("div", {
893
+ class: normalizeClass(_ctx.$style.emptyText)
894
+ }, [
891
895
  createVNode(unref(N8nText), {
892
896
  color: "text-base",
893
897
  size: "medium",
894
898
  bold: true
895
899
  }, {
896
900
  default: withCtx(() => [
897
- createTextVNode(toDisplayString(unref(locale).baseText("nodeView.focusPanel.noParameters.title")), 1)
901
+ createTextVNode(toDisplayString(emptyTitle.value), 1)
898
902
  ]),
899
903
  _: 1
900
904
  }),
@@ -903,7 +907,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
903
907
  size: "small"
904
908
  }, {
905
909
  default: withCtx(() => [
906
- createTextVNode(toDisplayString(unref(locale).baseText("nodeView.focusPanel.noParameters.subtitle")), 1)
910
+ createTextVNode(toDisplayString(emptySubtitle.value), 1)
907
911
  ]),
908
912
  _: 1
909
913
  })
@@ -917,32 +921,34 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
917
921
  };
918
922
  }
919
923
  });
920
- const wrapper$1 = "_wrapper_s6jeo_123";
921
- const container = "_container_s6jeo_135";
922
- const content = "_content_s6jeo_141";
923
- const emptyContent = "_emptyContent_s6jeo_147";
924
- const emptyText = "_emptyText_s6jeo_152";
925
- const focusParameterWrapper = "_focusParameterWrapper_s6jeo_158";
926
- const iconWrapper$1 = "_iconWrapper_s6jeo_165";
927
- const pointerIcon = "_pointerIcon_s6jeo_169";
928
- const tabHeader = "_tabHeader_s6jeo_179";
929
- const tabHeaderText = "_tabHeaderText_s6jeo_186";
930
- const buttonWrapper = "_buttonWrapper_s6jeo_191";
931
- const parameterDetailsWrapper = "_parameterDetailsWrapper_s6jeo_196";
932
- const parameterOptionsWrapper = "_parameterOptionsWrapper_s6jeo_203";
933
- const noExecutionDataTip = "_noExecutionDataTip_s6jeo_207";
934
- const editorContainer = "_editorContainer_s6jeo_210";
935
- const editor = "_editor_s6jeo_210";
936
- const delayedShow = "_delayedShow_s6jeo_225";
937
- const triggerShow = "_triggerShow_s6jeo_1";
938
- const closeButton = "_closeButton_s6jeo_236";
939
- const heightFull = "_heightFull_s6jeo_240";
940
- const forceHover = "_forceHover_s6jeo_244";
924
+ const wrapper$1 = "_wrapper_1v9yh_123";
925
+ const container = "_container_1v9yh_135";
926
+ const content = "_content_1v9yh_141";
927
+ const emptyContent = "_emptyContent_1v9yh_147";
928
+ const isNdvInFocusPanelEnabled = "_isNdvInFocusPanelEnabled_1v9yh_152";
929
+ const emptyText = "_emptyText_1v9yh_155";
930
+ const focusParameterWrapper = "_focusParameterWrapper_1v9yh_161";
931
+ const iconWrapper$1 = "_iconWrapper_1v9yh_168";
932
+ const pointerIcon = "_pointerIcon_1v9yh_172";
933
+ const tabHeader = "_tabHeader_1v9yh_182";
934
+ const tabHeaderText = "_tabHeaderText_1v9yh_189";
935
+ const buttonWrapper = "_buttonWrapper_1v9yh_194";
936
+ const parameterDetailsWrapper = "_parameterDetailsWrapper_1v9yh_199";
937
+ const parameterOptionsWrapper = "_parameterOptionsWrapper_1v9yh_206";
938
+ const noExecutionDataTip = "_noExecutionDataTip_1v9yh_210";
939
+ const editorContainer = "_editorContainer_1v9yh_213";
940
+ const editor = "_editor_1v9yh_213";
941
+ const delayedShow = "_delayedShow_1v9yh_228";
942
+ const triggerShow = "_triggerShow_1v9yh_1";
943
+ const closeButton = "_closeButton_1v9yh_239";
944
+ const heightFull = "_heightFull_1v9yh_243";
945
+ const forceHover = "_forceHover_1v9yh_247";
941
946
  const style0$3 = {
942
947
  wrapper: wrapper$1,
943
948
  container,
944
949
  content,
945
950
  emptyContent,
951
+ isNdvInFocusPanelEnabled,
946
952
  emptyText,
947
953
  focusParameterWrapper,
948
954
  iconWrapper: iconWrapper$1,
@@ -1364,16 +1370,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1364
1370
  __name: "NodeView",
1365
1371
  setup(__props) {
1366
1372
  const LazyNodeCreation = defineAsyncComponent(
1367
- async () => await __vitePreload(() => import("./NodeCreation-Dtlm36Oq.js"), true ? __vite__mapDeps([0,1,2,3]) : void 0)
1373
+ async () => await __vitePreload(() => import("./NodeCreation-DO5k3aK3.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
1368
1374
  );
1369
1375
  const LazyNodeDetailsView = defineAsyncComponent(
1370
- async () => await __vitePreload(() => import("./NodeDetailsView-Di4Qgo0H.js"), true ? __vite__mapDeps([4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]) : void 0)
1376
+ async () => await __vitePreload(() => import("./NodeDetailsView-BACft9ex.js"), true ? __vite__mapDeps([5,2,1,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]) : void 0)
1371
1377
  );
1372
1378
  const LazyNodeDetailsViewV2 = defineAsyncComponent(
1373
- async () => await __vitePreload(() => import("./NodeDetailsViewV2-DeY6N1Bz.js"), true ? __vite__mapDeps([20,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,21]) : void 0)
1379
+ async () => await __vitePreload(() => import("./NodeDetailsViewV2--1S2eK5u.js"), true ? __vite__mapDeps([21,2,1,3,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22]) : void 0)
1374
1380
  );
1375
1381
  const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
1376
- async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-D6h_IgTa.js"), true ? __vite__mapDeps([22,1,2]) : void 0)
1382
+ async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-Bjhx_rck.js"), true ? __vite__mapDeps([23,2,1,3]) : void 0)
1377
1383
  );
1378
1384
  const $style = useCssModule();
1379
1385
  const router = useRouter();
@@ -1634,7 +1640,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1634
1640
  }
1635
1641
  }
1636
1642
  async function fetchAndSetProject(projectId) {
1637
- if (!projectsStore.currentProject) {
1643
+ if (projectsStore.currentProject?.id !== projectId) {
1638
1644
  const project = await projectsStore.fetchProject(projectId);
1639
1645
  projectsStore.setCurrentProject(project);
1640
1646
  }
@@ -1722,9 +1728,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1722
1728
  isBlankRedirect.value = true;
1723
1729
  const templateId = workflow.meta.templateId;
1724
1730
  const parentFolderId = route.query.parentFolderId;
1731
+ if (projectsStore.currentProjectId) {
1732
+ await fetchAndSetProject(projectsStore.currentProjectId);
1733
+ }
1734
+ await fetchAndSetParentFolder(parentFolderId);
1725
1735
  await router.replace({
1726
1736
  name: VIEWS.NEW_WORKFLOW,
1727
- query: { templateId, parentFolderId }
1737
+ query: { templateId, parentFolderId, projectId: projectsStore.currentProjectId }
1728
1738
  });
1729
1739
  await importTemplate({
1730
1740
  id: templateId,
@@ -1787,8 +1797,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1787
1797
  const disabledTriggerNodes = triggerNodes.value.filter((node) => node.disabled);
1788
1798
  return disabledTriggerNodes.length === triggerNodes.value.length;
1789
1799
  });
1790
- function onTidyUp(event) {
1791
- tidyUp(event);
1800
+ function onTidyUp(event, options) {
1801
+ tidyUp(event, options);
1792
1802
  }
1793
1803
  function onExtractWorkflow(nodeIds) {
1794
1804
  void extractWorkflow(nodeIds);
@@ -2084,9 +2094,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2084
2094
  }
2085
2095
  async function onImportWorkflowDataEvent(data) {
2086
2096
  const workflowData = data.data;
2097
+ const trackEvents = typeof data.trackEvents === "boolean" ? data.trackEvents : void 0;
2087
2098
  await importWorkflowData(workflowData, "file", {
2088
2099
  viewport: viewportBoundaries.value,
2089
- regenerateIds: data.regenerateIds === true || data.regenerateIds === void 0
2100
+ regenerateIds: data.regenerateIds === true || data.regenerateIds === void 0,
2101
+ trackEvents
2090
2102
  });
2091
2103
  fitView();
2092
2104
  selectNodes(workflowData.nodes?.map((node) => node.id) ?? []);
@@ -2095,7 +2107,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2095
2107
  setTimeout(() => {
2096
2108
  canvasEventBus.emit("tidyUp", {
2097
2109
  source: "import-workflow-data",
2098
- nodeIdsFilter: nodesIdsToTidyUp
2110
+ nodeIdsFilter: nodesIdsToTidyUp,
2111
+ trackEvents
2099
2112
  });
2100
2113
  }, 0);
2101
2114
  }
@@ -2647,7 +2660,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2647
2660
  name: CanvasNodeRenderType.AIPrompt,
2648
2661
  type: CanvasNodeRenderType.AIPrompt,
2649
2662
  typeVersion: 1,
2650
- position: [-690, -15],
2663
+ position: [-300, -100],
2651
2664
  parameters: {},
2652
2665
  draggable: false
2653
2666
  };
@@ -2773,6 +2786,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2773
2786
  "read-only": isCanvasReadOnly.value,
2774
2787
  executing: isWorkflowRunning.value,
2775
2788
  "key-bindings": keyBindingsEnabled.value,
2789
+ "suppress-interaction": unref(canvasStore).suppressInteraction,
2776
2790
  "onUpdate:nodes:position": onUpdateNodesPosition,
2777
2791
  "onUpdate:node:position": onUpdateNodePosition,
2778
2792
  "onUpdate:node:activated": onSetNodeActivated,
@@ -2940,7 +2954,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2940
2954
  }))
2941
2955
  ]),
2942
2956
  _: 1
2943
- }, 8, ["id", "workflow", "workflow-object", "fallback-nodes", "show-fallback-nodes", "event-bus", "read-only", "executing", "key-bindings", "onUpdate:logs:inputOpen", "onUpdate:logs:outputOpen", "onUpdate:hasRangeSelection"])) : createCommentVNode("", true),
2957
+ }, 8, ["id", "workflow", "workflow-object", "fallback-nodes", "show-fallback-nodes", "event-bus", "read-only", "executing", "key-bindings", "suppress-interaction", "onUpdate:logs:inputOpen", "onUpdate:logs:outputOpen", "onUpdate:hasRangeSelection"])) : createCommentVNode("", true),
2944
2958
  !isLoading.value ? (openBlock(), createBlock(FocusPanel, {
2945
2959
  key: 1,
2946
2960
  "is-canvas-read-only": isCanvasReadOnly.value,
@@ -555,7 +555,7 @@
555
555
  -------------------------- */
556
556
  /* BEM
557
557
  -------------------------- */
558
- ._wrapper_s6jeo_123 {
558
+ ._wrapper_1v9yh_123 {
559
559
  display: flex;
560
560
  flex-direction: row;
561
561
  flex-wrap: nowrap;
@@ -566,111 +566,114 @@
566
566
  flex-grow: 0;
567
567
  flex-shrink: 0;
568
568
  }
569
- ._container_s6jeo_135 {
569
+ ._container_1v9yh_135 {
570
570
  display: flex;
571
571
  flex-direction: column;
572
572
  height: 100%;
573
573
  }
574
- ._content_s6jeo_141 {
574
+ ._content_1v9yh_141 {
575
575
  display: flex;
576
576
  flex-direction: column;
577
577
  height: 100%;
578
578
  width: 100%;
579
579
  }
580
- ._content_s6jeo_141._emptyContent_s6jeo_147 {
580
+ ._content_1v9yh_141._emptyContent_1v9yh_147 {
581
581
  text-align: center;
582
582
  justify-content: center;
583
583
  align-items: center;
584
584
  }
585
- ._content_s6jeo_141._emptyContent_s6jeo_147 ._emptyText_s6jeo_152 {
585
+ ._isNdvInFocusPanelEnabled_1v9yh_152 ._content_1v9yh_141._emptyContent_1v9yh_147 {
586
+ flex-direction: column-reverse;
587
+ }
588
+ ._content_1v9yh_141._emptyContent_1v9yh_147 ._emptyText_1v9yh_155 {
586
589
  margin: 0 var(--spacing-xl);
587
590
  display: flex;
588
591
  flex-direction: column;
589
592
  gap: var(--spacing-2xs);
590
593
  }
591
- ._content_s6jeo_141._emptyContent_s6jeo_147 ._emptyText_s6jeo_152 ._focusParameterWrapper_s6jeo_158 {
594
+ ._content_1v9yh_141._emptyContent_1v9yh_147 ._focusParameterWrapper_1v9yh_161 {
592
595
  display: flex;
593
596
  align-items: center;
594
597
  justify-content: center;
595
598
  gap: var(--spacing-2xs);
596
- margin-bottom: var(--spacing-m);
599
+ margin-block: var(--spacing-m);
597
600
  }
598
- ._content_s6jeo_141._emptyContent_s6jeo_147 ._emptyText_s6jeo_152 ._focusParameterWrapper_s6jeo_158 ._iconWrapper_s6jeo_165 {
601
+ ._content_1v9yh_141._emptyContent_1v9yh_147 ._focusParameterWrapper_1v9yh_161 ._iconWrapper_1v9yh_168 {
599
602
  position: relative;
600
603
  display: inline-block;
601
604
  }
602
- ._content_s6jeo_141._emptyContent_s6jeo_147 ._emptyText_s6jeo_152 ._focusParameterWrapper_s6jeo_158 ._pointerIcon_s6jeo_169 {
605
+ ._content_1v9yh_141._emptyContent_1v9yh_147 ._focusParameterWrapper_1v9yh_161 ._pointerIcon_1v9yh_172 {
603
606
  position: absolute;
604
607
  top: 100%;
605
608
  left: 50%;
606
609
  transform: translate(-20%, -30%);
607
610
  pointer-events: none;
608
611
  }
609
- ._content_s6jeo_141._emptyContent_s6jeo_147 ._emptyText_s6jeo_152 ._focusParameterWrapper_s6jeo_158 [class*="_disabled_"] {
612
+ ._content_1v9yh_141._emptyContent_1v9yh_147 ._focusParameterWrapper_1v9yh_161 [class*="_disabled_"] {
610
613
  cursor: default !important;
611
614
  }
612
- ._content_s6jeo_141 ._tabHeader_s6jeo_179 {
615
+ ._content_1v9yh_141 ._tabHeader_1v9yh_182 {
613
616
  display: flex;
614
617
  justify-content: space-between;
615
618
  align-items: center;
616
619
  border-bottom: 1px solid var(--color-foreground-base);
617
620
  padding: var(--spacing-2xs);
618
621
  }
619
- ._content_s6jeo_141 ._tabHeader_s6jeo_179 ._tabHeaderText_s6jeo_186 {
622
+ ._content_1v9yh_141 ._tabHeader_1v9yh_182 ._tabHeaderText_1v9yh_189 {
620
623
  display: flex;
621
624
  gap: var(--spacing-4xs);
622
625
  align-items: baseline;
623
626
  }
624
- ._content_s6jeo_141 ._tabHeader_s6jeo_179 ._buttonWrapper_s6jeo_191 {
627
+ ._content_1v9yh_141 ._tabHeader_1v9yh_182 ._buttonWrapper_1v9yh_194 {
625
628
  display: flex;
626
629
  gap: var(--spacing-2xs);
627
630
  align-items: center;
628
631
  }
629
- ._content_s6jeo_141 ._parameterDetailsWrapper_s6jeo_196 {
632
+ ._content_1v9yh_141 ._parameterDetailsWrapper_1v9yh_199 {
630
633
  display: flex;
631
634
  height: 100%;
632
635
  flex-direction: column;
633
636
  gap: var(--spacing-2xs);
634
637
  padding: var(--spacing-2xs);
635
638
  }
636
- ._content_s6jeo_141 ._parameterDetailsWrapper_s6jeo_196 ._parameterOptionsWrapper_s6jeo_203 {
639
+ ._content_1v9yh_141 ._parameterDetailsWrapper_1v9yh_199 ._parameterOptionsWrapper_1v9yh_206 {
637
640
  display: flex;
638
641
  justify-content: space-between;
639
642
  }
640
- ._content_s6jeo_141 ._parameterDetailsWrapper_s6jeo_196 ._noExecutionDataTip_s6jeo_207 {
643
+ ._content_1v9yh_141 ._parameterDetailsWrapper_1v9yh_199 ._noExecutionDataTip_1v9yh_210 {
641
644
  align-content: center;
642
645
  }
643
- ._content_s6jeo_141 ._parameterDetailsWrapper_s6jeo_196 ._editorContainer_s6jeo_210 {
646
+ ._content_1v9yh_141 ._parameterDetailsWrapper_1v9yh_199 ._editorContainer_1v9yh_213 {
644
647
  height: 0;
645
648
  flex-grow: 1;
646
649
  }
647
- ._content_s6jeo_141 ._parameterDetailsWrapper_s6jeo_196 ._editorContainer_s6jeo_210 ._editor_s6jeo_210 {
650
+ ._content_1v9yh_141 ._parameterDetailsWrapper_1v9yh_199 ._editorContainer_1v9yh_213 ._editor_1v9yh_213 {
648
651
  display: flex;
649
652
  height: 100%;
650
653
  width: 100%;
651
654
  font-size: var(--font-size-2xs);
652
655
  }
653
- ._content_s6jeo_141 ._parameterDetailsWrapper_s6jeo_196 ._editorContainer_s6jeo_210 ._editor_s6jeo_210 .cm-editor {
656
+ ._content_1v9yh_141 ._parameterDetailsWrapper_1v9yh_199 ._editorContainer_1v9yh_213 ._editor_1v9yh_213 .cm-editor {
654
657
  background-color: var(--color-code-background);
655
658
  width: 100%;
656
659
  }
657
- ._delayedShow_s6jeo_225 {
660
+ ._delayedShow_1v9yh_228 {
658
661
  opacity: 0;
659
662
  transition: opacity 0.1s none;
660
- animation: _triggerShow_s6jeo_1 0.1s normal 0.1s forwards;
663
+ animation: _triggerShow_1v9yh_1 0.1s normal 0.1s forwards;
661
664
  }
662
- @keyframes _triggerShow_s6jeo_1 {
665
+ @keyframes _triggerShow_1v9yh_1 {
663
666
  to {
664
667
  opacity: 1;
665
668
  }
666
669
  }
667
- ._closeButton_s6jeo_236 {
670
+ ._closeButton_1v9yh_239 {
668
671
  cursor: pointer;
669
672
  }
670
- ._heightFull_s6jeo_240 {
673
+ ._heightFull_1v9yh_243 {
671
674
  height: 100%;
672
675
  }
673
- ._forceHover_s6jeo_244 {
676
+ ._forceHover_1v9yh_247 {
674
677
  color: var(--color-button-secondary-hover-active-focus-font);
675
678
  border-color: var(--color-button-secondary-hover-active-focus-border);
676
679
  background-color: var(--color-button-secondary-hover-active-focus-background);
@@ -1,4 +1,5 @@
1
- import { _ as _export_sfc, h as createElementBlock, g as openBlock, X as renderSlot, j as createBaseVNode, n as normalizeClass } from "./index-DuLlH1tF.js";
1
+ import { _ as _export_sfc } from "./index-BJG79OsS.js";
2
+ import { ac as createElementBlock, b1 as openBlock, bb as renderSlot, ad as createBaseVNode, aQ as normalizeClass } from "./index-4g2Akj0I.js";
2
3
  const wrapper = "_wrapper_1x8n3_123";
3
4
  const content = "_content_1x8n3_139";
4
5
  const style0 = {
@@ -1,5 +1,6 @@
1
- import { _ as __unplugin_components_5 } from "./PageViewLayout-DC6xqvMl.js";
2
- import { d as defineComponent, ad as useNodeTypesStore, bm as useCalloutHelpers, x as computed, o as onMounted, e as createBlock, g as openBlock, w as withCtx, j as createBaseVNode, n as normalizeClass, i as createVNode, m as N8nHeading, k as createTextVNode, t as toDisplayString, l as unref, c as useI18n, C as N8nLink, V as VIEWS, h as createElementBlock, F as Fragment, A as renderList, s as N8nCard, g6 as NodeCreatorNode, br as createSlots, bX as NodeIcon, _ as _export_sfc } from "./index-DuLlH1tF.js";
1
+ import { _ as __unplugin_components_5 } from "./PageViewLayout-DldtilHz.js";
2
+ import { K as useNodeTypesStore, aS as useCalloutHelpers, c as N8nHeading, j as N8nLink, V as VIEWS, f as N8nCard, fa as NodeCreatorNode, bp as NodeIcon, _ as _export_sfc } from "./index-BJG79OsS.js";
3
+ import { o as defineComponent, a9 as computed, r as onMounted, aa as createBlock, b1 as openBlock, bI as withCtx, ad as createBaseVNode, aQ as normalizeClass, k as createVNode, ah as createTextVNode, bo as toDisplayString, u as unref, bT as useI18n, ac as createElementBlock, F as Fragment, ba as renderList, af as createSlots } from "./index-4g2Akj0I.js";
3
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
5
  __name: "PrebuiltAgentTemplatesView",
5
6
  setup(__props) {
@@ -1,4 +1,5 @@
1
- import { d as defineComponent, r as ref, x as computed, a7 as watch, h as createElementBlock, g as openBlock, n as normalizeClass, X as renderSlot, j as createBaseVNode, f as createCommentVNode, t as toDisplayString, e as createBlock, i as createVNode, l as unref, ef as N8nActionToggle, w as withCtx, p as N8nText, k as createTextVNode, a9 as Tooltip, dM as N8nLoading, F as Fragment, A as renderList, B as withModifiers, C as N8nLink, _ as _export_sfc, aF as ProjectTypes, ft as isIconOrEmoji, c as useI18n, fu as __unplugin_components_0$1 } from "./index-DuLlH1tF.js";
1
+ import { dr as N8nActionToggle, d as N8nText, H as Tooltip, cZ as N8nLoading, w as withModifiers, j as N8nLink, _ as _export_sfc, ag as ProjectTypes, eC as isIconOrEmoji, eD as __unplugin_components_0$1 } from "./index-BJG79OsS.js";
2
+ import { o as defineComponent, b8 as ref, a9 as computed, w as watch, ac as createElementBlock, b1 as openBlock, aQ as normalizeClass, bb as renderSlot, ad as createBaseVNode, ab as createCommentVNode, bo as toDisplayString, aa as createBlock, k as createVNode, u as unref, bI as withCtx, ah as createTextVNode, F as Fragment, ba as renderList, bT as useI18n } from "./index-4g2Akj0I.js";
2
3
  const _hoisted_1 = { "data-test-id": "hidden-items-tooltip" };
3
4
  const _hoisted_2 = ["title", "data-resourceid", "onClick", "onMouseenter", "onMouseup"];
4
5
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({