n8n-editor-ui 1.71.3 → 1.72.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-C7YrhVc7.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WpdLQ_Lc.js} +1 -1
  2. package/dist/assets/{AuthView-Cnr31xHM.css → AuthView-BP3bsQpK.css} +3 -14
  3. package/dist/assets/{AuthView-BhrVKHQb.js → AuthView-xWm2P-0B.js} +1 -1
  4. package/dist/assets/{CanvasChat-B2z8TKEq.js → CanvasChat-CpplEK_c.js} +76 -104
  5. package/dist/assets/{CanvasChat-BuYT3e9G.css → CanvasChat-DhkdJLy7.css} +18 -81
  6. package/dist/assets/{CanvasControls-Gjw5xMXK.css → CanvasControls-BEOkwFDJ.css} +1 -2
  7. package/dist/assets/{CanvasControls-D3OVjMCG.js → CanvasControls-CNOZvEmR.js} +1 -1
  8. package/dist/assets/{ChangePasswordView-BkoEwfgW.js → ChangePasswordView-Bx4HKBs9.js} +2 -2
  9. package/dist/assets/CollectionParameter-IbNRc-rP.js +4 -0
  10. package/dist/assets/{ConcurrentExecutionsHeader-D99WmQjD.css → ConcurrentExecutionsHeader-ChCLnjVG.css} +7 -17
  11. package/dist/assets/{ConcurrentExecutionsHeader-D_jkbuah.js → ConcurrentExecutionsHeader-dMskl4He.js} +51 -47
  12. package/dist/assets/CredentialsView-CzforIh7.css +36 -0
  13. package/dist/assets/{CredentialsView-WgZTdwDF.js → CredentialsView-DYmrbOcr.js} +15 -25
  14. package/dist/assets/ErrorView-DZCz_7-d.css +22 -0
  15. package/dist/assets/{ErrorView-CCvyR8gc.js → ErrorView-DpKWfKAY.js} +1 -1
  16. package/dist/assets/{ExecutionsView-DNwpODRj.css → ExecutionsView-CLxQdDnP.css} +16 -43
  17. package/dist/assets/{ExecutionsView-BsIeNcoc.js → ExecutionsView-a2Slm2v9.js} +123 -38
  18. package/dist/assets/FileSaver.min-BiLlhrlQ.js +81 -0
  19. package/dist/assets/{FixedCollectionParameter-DzOGMEdq.css → FixedCollectionParameter-CUxLKPYJ.css} +1 -6
  20. package/dist/assets/{FixedCollectionParameter-DMpNSKjt.js → FixedCollectionParameter-DMiADFki.js} +5 -9
  21. package/dist/assets/{ForgotMyPasswordView-m-NI0pKA.js → ForgotMyPasswordView-RLODqWeW.js} +2 -2
  22. package/dist/assets/{MainHeader-DrUbWzLR.css → MainHeader-Bg4Jr0GW.css} +16 -63
  23. package/dist/assets/{MainHeader-CzdjrO1j.js → MainHeader-CZBWRbIF.js} +20 -33
  24. package/dist/assets/{MainSidebar-DL53w2zU.css → MainSidebar-B_Q71vG8.css} +16 -68
  25. package/dist/assets/{MainSidebar-CWZj9hUz.js → MainSidebar-Cm-l0HUG.js} +86 -71
  26. package/dist/assets/{NodeCreation-BNsKR1XL.js → NodeCreation-Bycww9rf.js} +10 -14
  27. package/dist/assets/{NodeCreation-30KXmZi2.css → NodeCreation-DTNNkgVv.css} +1 -5
  28. package/dist/assets/{NodeCreator-nENM_3bV.js → NodeCreator-BrgHuvb2.js} +54 -90
  29. package/dist/assets/{NodeCreator-CvOLgSO_.css → NodeCreator-BvqI_pdC.css} +21 -91
  30. package/dist/assets/{NodeViewSwitcher-tJDzCGJC.js → NodeViewSwitcher-D5JjSNB2.js} +7425 -1780
  31. package/dist/assets/{NodeViewSwitcher-jLTC590F.css → NodeViewSwitcher-DngiUgY8.css} +323 -950
  32. package/dist/assets/{ProjectCardBadge-Dwm_41ZR.js → ProjectCardBadge-B6a5Tl_X.js} +8 -13
  33. package/dist/assets/ProjectHeader-CDl0NBcF.css +21 -0
  34. package/dist/assets/{ProjectHeader-DTRxu2oO.js → ProjectHeader-CUoGk-wO.js} +61 -44
  35. package/dist/assets/{ProjectSettings-hzCZqVHM.js → ProjectSettings-BSOa51jE.js} +24 -42
  36. package/dist/assets/{ProjectSettings-CChpfrTS.css → ProjectSettings-DZws5IzZ.css} +2 -9
  37. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-Bv3nXXk5.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-ouQuoTYp.js} +1 -1
  38. package/dist/assets/{ResourcesListLayout-CKArPHiS.js → ResourcesListLayout-BKk7DIWo.js} +24 -30
  39. package/dist/assets/{ResourcesListLayout-I4rYUdFt.css → ResourcesListLayout-NZz6R66g.css} +11 -47
  40. package/dist/assets/{RunDataJson-jFaJ_yC4.js → RunDataJson-D7Whxi5x.js} +13 -13
  41. package/dist/assets/{RunDataJson-Dtc8i0I7.css → RunDataJson-DW_khHj4.css} +0 -1
  42. package/dist/assets/{RunDataJsonActions-zNKrn8z4.css → RunDataJsonActions-CoiM0oFP.css} +0 -1
  43. package/dist/assets/RunDataJsonActions-hLh8-Su6.js +5514 -0
  44. package/dist/assets/{RunDataSearch-BA0wlJtp.css → RunDataSearch-B4q8H9Ex.css} +0 -1
  45. package/dist/assets/{RunDataSearch-C9VyfwRz.js → RunDataSearch-Ds3EGLA6.js} +5 -7
  46. package/dist/assets/{RunDataTable-enskmmU4.css → RunDataTable-BOaG0Pms.css} +2 -10
  47. package/dist/assets/{RunDataTable-CK4Z05pd.js → RunDataTable-atOC6vYW.js} +9 -14
  48. package/dist/assets/{SamlOnboarding-POzPTpcl.js → SamlOnboarding-DuDPZUey.js} +4 -5
  49. package/dist/assets/{SettingsApiView-BOFUFUqU.js → SettingsApiView-CFlbEwnS.js} +1 -1
  50. package/dist/assets/{SettingsApiView-5wBxahqI.css → SettingsApiView-DX3S-5pa.css} +2 -8
  51. package/dist/assets/{SettingsCommunityNodesView-088VPv0r.js → SettingsCommunityNodesView-CJrxi3vi.js} +3 -3
  52. package/dist/assets/{SettingsCommunityNodesView-BTbugFls.css → SettingsCommunityNodesView-kzxtAoLp.css} +10 -42
  53. package/dist/assets/SettingsExternalSecrets-BnXyxlJd.css +29 -0
  54. package/dist/assets/{SettingsExternalSecrets-DlobsnOy.js → SettingsExternalSecrets-BusSlBVI.js} +14 -17
  55. package/dist/assets/SettingsLdapView-BLPKhtjA.js +2423 -0
  56. package/dist/assets/{SettingsLdapView-cRgzivq6.css → SettingsLdapView-BPh_inzE.css} +2 -8
  57. package/dist/assets/{SettingsLogStreamingView-EW9yIYwY.js → SettingsLogStreamingView-DI9OYnte.js} +20 -37
  58. package/dist/assets/SettingsLogStreamingView-Uz298HNW.css +46 -0
  59. package/dist/assets/{SettingsPersonalView-BOQgHIYm.css → SettingsPersonalView-CqzRUitO.css} +3 -13
  60. package/dist/assets/{SettingsPersonalView-DrJJtUL5.js → SettingsPersonalView-CwLPEQe5.js} +7 -10
  61. package/dist/assets/{SettingsSourceControl-COccchDl.js → SettingsSourceControl-BHiwsbh6.js} +1 -1
  62. package/dist/assets/{SettingsSourceControl-aZrwFtXG.css → SettingsSourceControl-C7H8sLJN.css} +5 -21
  63. package/dist/assets/{SettingsSso-BczGJSZo.js → SettingsSso-BUE-Dg9u.js} +10 -11
  64. package/dist/assets/{SettingsSso-DUkYL_--.css → SettingsSso-Be_ejj46.css} +3 -13
  65. package/dist/assets/{SettingsUsageAndPlan-vijI-va0.css → SettingsUsageAndPlan-C3fKPMTY.css} +13 -54
  66. package/dist/assets/{SettingsUsageAndPlan-OepwN_K0.js → SettingsUsageAndPlan-g8SYxLIm.js} +3 -7
  67. package/dist/assets/{SettingsUsersView-D6xH2uOE.js → SettingsUsersView-DsjbsMkp.js} +8 -15
  68. package/dist/assets/{SettingsView-D30Stwpp.js → SettingsView-BZqGq_NA.js} +3 -4
  69. package/dist/assets/{SettingsView-DOWbkj-V.css → SettingsView-o6uNYu0t.css} +1 -5
  70. package/dist/assets/{SetupView-DLhUy2sO.js → SetupView-DKcifLmN.js} +3 -9
  71. package/dist/assets/{SetupWorkflowCredentialsButton-FAOxK4hC.js → SetupWorkflowCredentialsButton-1FX7DWWs.js} +3 -5
  72. package/dist/assets/{SetupWorkflowFromTemplateView-29le4KEi.js → SetupWorkflowFromTemplateView-BI8db6Bn.js} +5 -9
  73. package/dist/assets/SetupWorkflowFromTemplateView-DjBcyMCl.css +26 -0
  74. package/dist/assets/{SigninView-B3r5QMqu.js → SigninView-DRl5Z9dU.js} +4 -5
  75. package/dist/assets/{SigninView-BEBHcgmK.css → SigninView-DzDE1gJb.css} +3 -14
  76. package/dist/assets/{SignoutView-DiRv1jyS.js → SignoutView-CD6CNCd4.js} +1 -1
  77. package/dist/assets/{SignupView-DepIL1mr.js → SignupView-BUIFD8_L.js} +2 -2
  78. package/dist/assets/{TemplateDetails-BG8YmNsP.js → TemplateDetails-BZy8nHAa.js} +1 -1
  79. package/dist/assets/{TemplateDetails-BjsdeJu8.css → TemplateDetails-p3M6A7jr.css} +1 -4
  80. package/dist/assets/{TemplateList-4lx8vpYf.css → TemplateList-BR3bpDTv.css} +13 -52
  81. package/dist/assets/{TemplateList-CEljIT09.js → TemplateList-DdYIfcdc.js} +1 -1
  82. package/dist/assets/{TemplatesCollectionView-C1BUeMtq.css → TemplatesCollectionView-DJVlK4Bb.css} +1 -5
  83. package/dist/assets/{TemplatesCollectionView-C1katHqi.js → TemplatesCollectionView-a9gOg1oh.js} +5 -5
  84. package/dist/assets/{TemplatesSearchView-BiokbeYf.css → TemplatesSearchView-CFrHWGcY.css} +4 -21
  85. package/dist/assets/{TemplatesSearchView-6ugazm6D.js → TemplatesSearchView-C_qp2w-Y.js} +5 -20
  86. package/dist/assets/{TemplatesView-BfnDbKo5.css → TemplatesView-CBNZZ_X1.css} +3 -16
  87. package/dist/assets/{TemplatesView-BnpZqzSI.js → TemplatesView-Srd2qTc6.js} +1 -1
  88. package/dist/assets/{TemplatesWorkflowView-D-rSlrYy.js → TemplatesWorkflowView-CDkCoN9X.js} +35 -39
  89. package/dist/assets/{TemplatesWorkflowView-BN5JjV6M.css → TemplatesWorkflowView-CVC0fbb6.css} +2 -10
  90. package/dist/assets/{TestDefinitionEditView-szspUG0t.css → TestDefinitionEditView-CVRXpJ4c.css} +13 -54
  91. package/dist/assets/{TestDefinitionEditView-Dw2F_7Ku.js → TestDefinitionEditView-CgQpahO7.js} +3 -4
  92. package/dist/assets/{TestDefinitionListView-Cv9ivpVk.js → TestDefinitionListView-BGJr2Okj.js} +4 -4
  93. package/dist/assets/{TestDefinitionListView-BfUssieW.css → TestDefinitionListView-BJVxwUdb.css} +9 -46
  94. package/dist/assets/{VariablesView-meR15bnW.css → VariablesView-BnGnRwcl.css} +3 -13
  95. package/dist/assets/{VariablesView-BrvfrvgE.js → VariablesView-DBlZthPg.js} +28 -38
  96. package/dist/assets/{VirtualSchema-Be-DGXEU.css → VirtualSchema-CIfwZj8N.css} +11 -48
  97. package/dist/assets/VirtualSchema-DkiHWd9N.js +378 -0
  98. package/dist/assets/{WorkerView-DhAgtBED.js → WorkerView--FWlY_KA.js} +14 -23
  99. package/dist/assets/WorkerView-CvXMClDD.css +123 -0
  100. package/dist/assets/{WorkflowActivator-Def_oRg7.js → WorkflowActivator-BbpMhG1U.js} +2 -2
  101. package/dist/assets/{WorkflowActivator-D8FiI2jP.css → WorkflowActivator-DSBGQvK0.css} +3 -9
  102. package/dist/assets/{WorkflowExecutionsInfoAccordion-lODxxxtv.js → WorkflowExecutionsInfoAccordion-DOpZ49kK.js} +1 -1
  103. package/dist/assets/{WorkflowExecutionsInfoAccordion-DfMew6q4.css → WorkflowExecutionsInfoAccordion-f5tIRAwu.css} +2 -14
  104. package/dist/assets/WorkflowExecutionsLandingPage-BodEQ5Bq.css +23 -0
  105. package/dist/assets/{WorkflowExecutionsLandingPage-Bidi-y5V.js → WorkflowExecutionsLandingPage-CAbWLqG8.js} +2 -2
  106. package/dist/assets/{WorkflowExecutionsPreview-DRCpGEbi.css → WorkflowExecutionsPreview-C-e7WZrK.css} +22 -98
  107. package/dist/assets/{WorkflowExecutionsPreview-d2F04pj8.js → WorkflowExecutionsPreview-CfUWIIgy.js} +39 -71
  108. package/dist/assets/{WorkflowExecutionsView-C6EMZ-AQ.css → WorkflowExecutionsView-CFOgmzpK.css} +18 -74
  109. package/dist/assets/{WorkflowExecutionsView-CHr4rzKW.js → WorkflowExecutionsView-DrfZ7QK8.js} +151 -165
  110. package/dist/assets/{WorkflowHistory-C-lUH0fo.css → WorkflowHistory-D0ufvWsH.css} +14 -57
  111. package/dist/assets/{WorkflowHistory-BSijDFcx.js → WorkflowHistory-eqsh1yXn.js} +16 -29
  112. package/dist/assets/{WorkflowOnboardingView-CvuowIe6.js → WorkflowOnboardingView-Kbe8c2_R.js} +22 -5
  113. package/dist/assets/{WorkflowPreview-CYf78I6t.js → WorkflowPreview-DKTyMYfO.js} +5 -11
  114. package/dist/assets/{WorkflowPreview-Bpiv2_RO.css → WorkflowPreview-DuLM6rtd.css} +4 -15
  115. package/dist/assets/{WorkflowsView-Bc1WW7-8.js → WorkflowsView-ClrcrpKc.js} +110 -120
  116. package/dist/assets/WorkflowsView-D5fBzfD4.css +65 -0
  117. package/dist/assets/{index-D50gpyk6.css → index-Bo70cRA3.css} +350 -1351
  118. package/dist/assets/{index-D57HUAs6.js → index-fCEqBD8K.js} +45117 -40863
  119. package/dist/assets/polyfills-BN5TIqPj.js +5985 -0
  120. package/dist/assets/{pushConnection.store-BrFt2YWH.js → pushConnection.store-Kmly9nV5.js} +2 -3
  121. package/dist/assets/{templateActions-BrLvM4wQ.js → templateActions-xeWyRgrU.js} +1 -1
  122. package/dist/assets/{testDefinition.store.ee-DJ6gErZh.js → testDefinition.store.ee-C9BPbACc.js} +1 -1
  123. package/dist/assets/{useBugReporting-v6zXxGxR.js → useBugReporting-CbgIVUCL.js} +1 -1
  124. package/dist/assets/{useExecutionDebugging-Dhwr-oW3.js → useExecutionDebugging-Cuf88DQE.js} +3 -6
  125. package/dist/assets/{useExecutionHelpers-Ovym9OwA.js → useExecutionHelpers-BIxUwlsh.js} +3 -4
  126. package/dist/assets/{useGlobalEntityCreation-D_NS7_je.js → useGlobalEntityCreation-DGVSN-Im.js} +29 -14
  127. package/dist/assets/{useNodeViewVersionSwitcher-ESq0kPP5.js → useNodeViewVersionSwitcher-Eg-dOWbq.js} +1 -1
  128. package/dist/assets/{usePushConnection-DCkWEVa2.js → usePushConnection-D-iAKJiL.js} +36 -22
  129. package/dist/assets/{useRunWorkflow-B_S0x25z.css → useRunWorkflow-BDl-2MsN.css} +24 -106
  130. package/dist/assets/{useRunWorkflow-g1Tw1vWo.js → useRunWorkflow-BXE6bWp2.js} +1547 -1581
  131. package/dist/assets/{useWorkflowActivate-DibPO-sA.js → useWorkflowActivate-D8cU5eJ_.js} +1 -1
  132. package/dist/index.html +4 -2
  133. package/package.json +1 -1
  134. package/tsconfig.json +2 -1
  135. package/vite.config.mts +11 -0
  136. package/dist/assets/CollectionParameter-D7-YFFFP.js +0 -4
  137. package/dist/assets/CredentialsView-ChjCCSbV.css +0 -56
  138. package/dist/assets/ErrorView-Dzof6SY8.css +0 -35
  139. package/dist/assets/FileSaver.min-BsJSdQo9.js +0 -74
  140. package/dist/assets/ProjectHeader-CTK_rV3h.css +0 -28
  141. package/dist/assets/RunDataJsonActions-CUYH2C-z.js +0 -5509
  142. package/dist/assets/SettingsExternalSecrets-BD5PuMIG.css +0 -50
  143. package/dist/assets/SettingsLdapView-CDm8JWNK.js +0 -2417
  144. package/dist/assets/SettingsLogStreamingView-CWIuI89G.css +0 -75
  145. package/dist/assets/SetupWorkflowFromTemplateView-CvsDVBkh.css +0 -44
  146. package/dist/assets/VirtualSchema-DFybirEh.js +0 -1863
  147. package/dist/assets/WorkerView-C_d54L0W.css +0 -181
  148. package/dist/assets/WorkflowExecutionsLandingPage-B1zCnzh_.css +0 -39
  149. package/dist/assets/WorkflowsView-C1eCTa1K.css +0 -82
  150. /package/dist/assets/{ProjectCardBadge-DPUG4BoB.css → ProjectCardBadge-DQvW5T7s.css} +0 -0
  151. /package/dist/assets/{SettingsUsersView-Ba9S2o-I.css → SettingsUsersView-C13eCMjh.css} +0 -0
@@ -1,11 +1,11 @@
1
- import { d as defineComponent, q as computed, c as openBlock, h as createElementBlock, s as renderSlot, v as shorten, r as ref, x as onBeforeUnmount, o as onMounted, y as nextTick, z as debounce, e as createBlock, w as withCtx, j as createBaseVNode, A as renderList, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, i as createVNode, F as Fragment, B as normalizeStyle, C as createEventBus, m as resolveComponent, _ as _export_sfc, D as useTagsStore, E as onClickOutside, G as withKeys, H as watch, I as withModifiers, J as useDebounce, K as useUIStore, L as getBannerRowHeight, N as BREAKPOINT_SM, O as BREAKPOINT_XL, P as BREAKPOINT_LG, Q as BREAKPOINT_MD, g as useI18n, V as VIEWS, R as defineStore, S as STORES, T as useWorkflowsStore, u as useUsersStore, U as useRoute, W as TIME, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, Y as useDocumentVisibility, f as createCommentVNode, Z as useRootStore, $ as useCanvasStore, p as useSettingsStore, a0 as useSourceControlStore, a1 as useProjectsStore, a2 as useNpsSurveyStore, b as useRouter, a as useToast, a3 as useDocumentTitle, a4 as useWorkflowHelpers, a5 as usePageRedirectionHelper, a6 as MAX_WORKFLOW_NAME_LENGTH, a7 as _sfc_main$f, a8 as EnterpriseEditionFeature, a9 as SaveButton, aa as useCssModule, ab as WORKFLOW_SHARE_MODAL_KEY, ac as nodeViewEventBus, ad as WORKFLOW_MENU_ACTIONS, ae as MODAL_CONFIRM, af as MODAL_CLOSE, ag as WORKFLOW_SETTINGS_MODAL_KEY, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, ai as VALID_WORKFLOW_IMPORT_URL_REGEX, aj as DUPLICATE_MODAL_KEY, ak as useTelemetry, al as useMessage, am as getResourcePermissions, an as hasPermission, ao as MAIN_HEADER_TABS, ap as hyphenate, aq as h, ar as hasOwn, as as __vitePreload, at as useNDVStore, au as useExecutionsStore, av as usePostHog, aw as useLocalStorage, ax as onBeforeMount, ay as withDirectives, az as vShow, aA as LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON, aB as WORKFLOW_EVALUATION_EXPERIMENT, aC as STICKY_NODE_TYPE } from "./index-D57HUAs6.js";
2
- import { _ as _sfc_main$g } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-Bv3nXXk5.js";
3
- import { W as WorkflowActivator } from "./WorkflowActivator-Def_oRg7.js";
4
- import { u as useBeforeUnload, a as useNodeViewVersionSwitcher } from "./useNodeViewVersionSwitcher-ESq0kPP5.js";
5
- import { u as usePushConnectionStore } from "./pushConnection.store-BrFt2YWH.js";
6
- import { F as FileSaver_minExports } from "./FileSaver.min-BsJSdQo9.js";
7
- import { u as usePushConnection } from "./usePushConnection-DCkWEVa2.js";
8
- import "./useWorkflowActivate-DibPO-sA.js";
1
+ import { d as defineComponent, q as computed, c as openBlock, h as createElementBlock, s as renderSlot, v as shorten, r as ref, x as onBeforeUnmount, o as onMounted, y as nextTick, z as debounce, e as createBlock, w as withCtx, j as createBaseVNode, A as renderList, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, i as createVNode, F as Fragment, B as normalizeStyle, C as createEventBus, m as resolveComponent, _ as _export_sfc, D as useTagsStore, E as onClickOutside, G as withKeys, H as watch, I as withModifiers, J as useDebounce, K as useUIStore, L as getBannerRowHeight, N as BREAKPOINT_SM, O as BREAKPOINT_XL, P as BREAKPOINT_LG, Q as BREAKPOINT_MD, g as useI18n, V as VIEWS, R as defineStore, S as STORES, T as useWorkflowsStore, u as useUsersStore, U as useRoute, W as TIME, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, Y as useDocumentVisibility, f as createCommentVNode, Z as useRootStore, $ as useCanvasStore, p as useSettingsStore, a0 as useSourceControlStore, a1 as useProjectsStore, a2 as useNpsSurveyStore, b as useRouter, a as useToast, a3 as useDocumentTitle, a4 as useWorkflowHelpers, a5 as usePageRedirectionHelper, a6 as MAX_WORKFLOW_NAME_LENGTH, a7 as _sfc_main$f, a8 as EnterpriseEditionFeature, a9 as SaveButton, aa as useCssModule, ab as WORKFLOW_SHARE_MODAL_KEY, ac as nodeViewEventBus, ad as WORKFLOW_MENU_ACTIONS, ae as MODAL_CONFIRM, af as MODAL_CLOSE, ag as WORKFLOW_SETTINGS_MODAL_KEY, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, ai as VALID_WORKFLOW_IMPORT_URL_REGEX, aj as DUPLICATE_MODAL_KEY, ak as useTelemetry, al as useMessage, am as getResourcePermissions, an as hasPermission, ao as MAIN_HEADER_TABS, ap as hyphenate, aq as h, ar as hasOwn, as as __vitePreload, at as useNDVStore, au as useExecutionsStore, av as usePostHog, aw as useLocalStorage, ax as onBeforeMount, ay as withDirectives, az as vShow, aA as LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON, aB as WORKFLOW_EVALUATION_EXPERIMENT, aC as STICKY_NODE_TYPE } from "./index-fCEqBD8K.js";
2
+ import { _ as _sfc_main$g } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-ouQuoTYp.js";
3
+ import { W as WorkflowActivator } from "./WorkflowActivator-BbpMhG1U.js";
4
+ import { u as useBeforeUnload, a as useNodeViewVersionSwitcher } from "./useNodeViewVersionSwitcher-Eg-dOWbq.js";
5
+ import { u as usePushConnectionStore } from "./pushConnection.store-Kmly9nV5.js";
6
+ import { F as FileSaver_minExports } from "./FileSaver.min-BiLlhrlQ.js";
7
+ import { u as usePushConnection } from "./usePushConnection-D-iAKJiL.js";
8
+ import "./useWorkflowActivate-D8cU5eJ_.js";
9
9
  const _hoisted_1$8 = ["title", "data-test-id"];
10
10
  const DEFAULT_WORKFLOW_NAME_LIMIT = 25;
11
11
  const WORKFLOW_NAME_END_COUNT_TO_KEEP = 4;
@@ -171,9 +171,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
171
171
  return toDisplay;
172
172
  });
173
173
  const setMaxWidth = () => {
174
- var _a;
175
- const container2 = (_a = tagsContainer.value) == null ? void 0 : _a.$el;
176
- const parent = container2 == null ? void 0 : container2.parentNode;
174
+ const container2 = tagsContainer.value?.$el;
175
+ const parent = container2?.parentNode;
177
176
  if (parent) {
178
177
  maxWidth.value = 0;
179
178
  void nextTick(() => {
@@ -341,15 +340,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
341
340
  const emit = __emit;
342
341
  const inputRef = ref();
343
342
  onMounted(() => {
344
- var _a;
345
343
  if (props.autofocus && inputRef.value) {
346
344
  focus();
347
345
  }
348
- (_a = props.eventBus) == null ? void 0 : _a.on("focus", focus);
346
+ props.eventBus?.on("focus", focus);
349
347
  });
350
348
  onBeforeUnmount(() => {
351
- var _a;
352
- (_a = props.eventBus) == null ? void 0 : _a.off("focus", focus);
349
+ props.eventBus?.off("focus", focus);
353
350
  });
354
351
  function focus() {
355
352
  if (inputRef.value) {
@@ -759,18 +756,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
759
756
  const showUserStack = computed(() => collaborationStore.collaborators.length > 1);
760
757
  const collaboratorsSorted = computed(() => {
761
758
  const users = collaborationStore.collaborators.map(({ user }) => user);
762
- const index = users.findIndex((user) => {
763
- var _a;
764
- return user.id === ((_a = usersStore.currentUser) == null ? void 0 : _a.id);
765
- });
759
+ const index = users.findIndex((user) => user.id === usersStore.currentUser?.id);
766
760
  if (index < 1) return { defaultGroup: users };
767
761
  const [currentUser] = users.splice(index, 1);
768
762
  return { defaultGroup: [currentUser, ...users] };
769
763
  });
770
- const currentUserEmail = computed(() => {
771
- var _a;
772
- return (_a = usersStore.currentUser) == null ? void 0 : _a.email;
773
- });
764
+ const currentUserEmail = computed(() => usersStore.currentUser?.email);
774
765
  onMounted(() => {
775
766
  collaborationStore.initialize();
776
767
  });
@@ -998,14 +989,13 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
998
989
  }
999
990
  }
1000
991
  function onShareButtonClick() {
1001
- var _a;
1002
992
  uiStore.openModalWithData({
1003
993
  name: WORKFLOW_SHARE_MODAL_KEY,
1004
994
  data: { id: props.id }
1005
995
  });
1006
996
  telemetry.track("User opened sharing modal", {
1007
997
  workflow_id: props.id,
1008
- user_id_sharer: (_a = usersStore.currentUser) == null ? void 0 : _a.id,
998
+ user_id_sharer: usersStore.currentUser?.id,
1009
999
  sub_view: route.name === VIEWS.WORKFLOWS ? "Workflows listing" : "Workflow editor"
1010
1000
  });
1011
1001
  }
@@ -1082,7 +1072,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1082
1072
  }
1083
1073
  async function handleFileImport() {
1084
1074
  const inputRef = importFileRef.value;
1085
- if ((inputRef == null ? void 0 : inputRef.files) && inputRef.files.length !== 0) {
1075
+ if (inputRef?.files && inputRef.files.length !== 0) {
1086
1076
  const reader = new FileReader();
1087
1077
  reader.onload = () => {
1088
1078
  let workflowData;
@@ -1108,7 +1098,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1108
1098
  setNodeViewSwitcherDropdownOpened(visible);
1109
1099
  }
1110
1100
  async function onWorkflowMenuSelect(action) {
1111
- var _a;
1112
1101
  switch (action) {
1113
1102
  case WORKFLOW_MENU_ACTIONS.DUPLICATE: {
1114
1103
  uiStore.openModalWithData({
@@ -1165,7 +1154,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1165
1154
  break;
1166
1155
  }
1167
1156
  case WORKFLOW_MENU_ACTIONS.IMPORT_FROM_FILE: {
1168
- (_a = importFileRef.value) == null ? void 0 : _a.click();
1157
+ importFileRef.value?.click();
1169
1158
  break;
1170
1159
  }
1171
1160
  case WORKFLOW_MENU_ACTIONS.PUSH: {
@@ -1695,7 +1684,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1695
1684
  if (to.params.name !== "new" && typeof to.params.name === "string") {
1696
1685
  workflowToReturnTo.value = to.params.name;
1697
1686
  }
1698
- if ((from == null ? void 0 : from.name) === VIEWS.EXECUTION_PREVIEW && to.params.name === from.params.name && typeof from.params.executionId === "string") {
1687
+ if (from?.name === VIEWS.EXECUTION_PREVIEW && to.params.name === from.params.name && typeof from.params.executionId === "string") {
1699
1688
  executionToReturnTo.value = from.params.executionId;
1700
1689
  }
1701
1690
  }
@@ -1736,9 +1725,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1736
1725
  }
1737
1726
  }
1738
1727
  async function navigateToExecutionsView(openInNewTab) {
1739
- var _a;
1740
1728
  const routeWorkflowId = workflowId.value === PLACEHOLDER_EMPTY_WORKFLOW_ID ? "new" : workflowId.value;
1741
- const executionToReturnToValue = ((_a = executionsStore.activeExecution) == null ? void 0 : _a.id) || executionToReturnTo.value;
1729
+ const executionToReturnToValue = executionsStore.activeExecution?.id || executionToReturnTo.value;
1742
1730
  const routeToNavigateTo = executionToReturnToValue ? {
1743
1731
  name: VIEWS.EXECUTION_PREVIEW,
1744
1732
  params: { name: routeWorkflowId, executionId: executionToReturnToValue }
@@ -1760,14 +1748,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1760
1748
  githubButtonHidden.value = true;
1761
1749
  }
1762
1750
  return (_ctx, _cache) => {
1763
- var _a;
1764
1751
  const _component_N8nIcon = resolveComponent("N8nIcon");
1765
1752
  return openBlock(), createElementBlock("div", _hoisted_1, [
1766
1753
  createBaseVNode("div", {
1767
1754
  class: normalizeClass({ "main-header": true, expanded: !unref(uiStore).sidebarMenuCollapsed })
1768
1755
  }, [
1769
1756
  withDirectives(createBaseVNode("div", _hoisted_2, [
1770
- ((_a = workflow.value) == null ? void 0 : _a.name) ? (openBlock(), createBlock(WorkflowDetails, {
1757
+ workflow.value?.name ? (openBlock(), createBlock(WorkflowDetails, {
1771
1758
  key: 0,
1772
1759
  id: workflow.value.id,
1773
1760
  tags: workflow.value.tags,
@@ -30,8 +30,6 @@
30
30
  ._collapsed_15zv3_12 ._connected_15zv3_32 > span {
31
31
  display: none;
32
32
  }._gift-icon_197jx_1 {
33
- display: -webkit-box;
34
- display: -ms-flexbox;
35
33
  display: flex;
36
34
  position: relative;
37
35
  }
@@ -46,15 +44,9 @@
46
44
  position: absolute;
47
45
  background-color: var(--color-text-xlight);
48
46
  right: -0.3em;
49
- display: -webkit-box;
50
- display: -ms-flexbox;
51
47
  display: flex;
52
- -webkit-box-align: center;
53
- -ms-flex-align: center;
54
- align-items: center;
55
- -webkit-box-pack: center;
56
- -ms-flex-pack: center;
57
- justify-content: center;
48
+ align-items: center;
49
+ justify-content: center;
58
50
  top: -0.148em;
59
51
  }
60
52
  ._gift-icon_197jx_1 ._notification_197jx_8 div {
@@ -63,45 +55,28 @@
63
55
  background-color: var(--color-primary);
64
56
  border-radius: 50%;
65
57
  }._container_92ffs_1 {
66
- display: -webkit-box;
67
- display: -ms-flexbox;
68
58
  display: flex;
69
- -webkit-box-orient: vertical;
70
- -webkit-box-direction: normal;
71
- -ms-flex-direction: column;
72
- flex-direction: column;
59
+ flex-direction: column;
73
60
  background-color: var(--color-background-light);
74
61
  border: var(--border-base);
75
62
  border-right: 0;
76
63
  }
77
64
  ._textAndCloseButton_92ffs_9 {
78
- display: -webkit-box;
79
- display: -ms-flexbox;
80
65
  display: flex;
81
66
  margin-top: var(--spacing-xs);
82
67
  margin-left: var(--spacing-s);
83
68
  margin-right: var(--spacing-2xs);
84
69
  }
85
70
  ._text_92ffs_9 {
86
- -webkit-box-flex: 1;
87
- -ms-flex: 1;
88
- flex: 1;
71
+ flex: 1;
89
72
  font-size: var(--font-size-3xs);
90
73
  line-height: var(--font-line-height-compact);
91
74
  }
92
75
  ._closeButton_92ffs_22 {
93
- -webkit-box-flex: 0;
94
- -ms-flex: 0;
95
- flex: 0;
96
- display: -webkit-box;
97
- display: -ms-flexbox;
76
+ flex: 0;
98
77
  display: flex;
99
- -webkit-box-align: center;
100
- -ms-flex-align: center;
101
- align-items: center;
102
- -webkit-box-pack: center;
103
- -ms-flex-pack: center;
104
- justify-content: center;
78
+ align-items: center;
79
+ justify-content: center;
105
80
  width: var(--spacing-2xs);
106
81
  height: var(--spacing-2xs);
107
82
  border: none;
@@ -116,9 +91,7 @@
116
91
  grid-auto-rows: auto;
117
92
  width: 100%;
118
93
  overflow: hidden;
119
- -webkit-box-align: start;
120
- -ms-flex-align: start;
121
- align-items: start;
94
+ align-items: start;
122
95
  }
123
96
  ._projectItems_6p5d2_9 {
124
97
  height: 100%;
@@ -137,8 +110,7 @@
137
110
  padding: 0 var(--spacing-s);
138
111
  text-overflow: ellipsis;
139
112
  overflow: hidden;
140
- -webkit-box-sizing: border-box;
141
- box-sizing: border-box;
113
+ box-sizing: border-box;
142
114
  color: var(--color-text-base);
143
115
  }.home[data-v-6cb5f5b7] {
144
116
  padding: 0 var(--spacing-xs);
@@ -149,7 +121,6 @@
149
121
  position: relative;
150
122
  height: 100%;
151
123
  border-right: var(--border-width-base) var(--border-style-base) var(--color-foreground-base);
152
- -webkit-transition: width 150ms ease-in-out;
153
124
  transition: width 150ms ease-in-out;
154
125
  width: 200px;
155
126
  padding-top: 54px;
@@ -160,16 +131,10 @@
160
131
  top: 0;
161
132
  left: 0;
162
133
  width: 100%;
163
- display: -webkit-box;
164
- display: -ms-flexbox;
165
134
  display: flex;
166
- -webkit-box-align: center;
167
- -ms-flex-align: center;
168
- align-items: center;
135
+ align-items: center;
169
136
  padding: var(--spacing-xs);
170
- -webkit-box-pack: justify;
171
- -ms-flex-pack: justify;
172
- justify-content: space-between;
137
+ justify-content: space-between;
173
138
  }
174
139
  ._sideMenu_15e4m_1 ._logo_15e4m_10 img {
175
140
  position: relative;
@@ -181,10 +146,7 @@
181
146
  padding-top: 90px;
182
147
  }
183
148
  ._sideMenu_15e4m_1._sideMenuCollapsed_15e4m_25 ._logo_15e4m_10 {
184
- -webkit-box-orient: vertical;
185
- -webkit-box-direction: normal;
186
- -ms-flex-direction: column;
187
- flex-direction: column;
149
+ flex-direction: column;
188
150
  gap: 16px;
189
151
  }
190
152
  ._sideMenu_15e4m_1._sideMenuCollapsed_15e4m_25 ._logo_15e4m_10 img {
@@ -195,15 +157,9 @@
195
157
  right: -10px;
196
158
  top: 50%;
197
159
  z-index: 999;
198
- display: -webkit-box;
199
- display: -ms-flexbox;
200
160
  display: flex;
201
- -webkit-box-pack: center;
202
- -ms-flex-pack: center;
203
- justify-content: center;
204
- -webkit-box-align: center;
205
- -ms-flex-align: center;
206
- align-items: center;
161
+ justify-content: center;
162
+ align-items: center;
207
163
  color: var(--color-text-base);
208
164
  background-color: var(--color-foreground-xlight);
209
165
  width: 20px;
@@ -215,12 +171,8 @@
215
171
  color: var(--color-primary-shade-1);
216
172
  }
217
173
  ._updates_15e4m_56 {
218
- display: -webkit-box;
219
- display: -ms-flexbox;
220
174
  display: flex;
221
- -webkit-box-align: center;
222
- -ms-flex-align: center;
223
- align-items: center;
175
+ align-items: center;
224
176
  cursor: pointer;
225
177
  padding: var(--spacing-2xs) var(--spacing-l);
226
178
  margin: var(--spacing-2xs) 0 0;
@@ -238,13 +190,9 @@
238
190
  color: var(--color-text-dark) !important;
239
191
  }
240
192
  ._userArea_15e4m_76 {
241
- display: -webkit-box;
242
- display: -ms-flexbox;
243
193
  display: flex;
244
194
  padding: var(--spacing-xs);
245
- -webkit-box-align: center;
246
- -ms-flex-align: center;
247
- align-items: center;
195
+ align-items: center;
248
196
  height: 60px;
249
197
  border-top: var(--border-width-base) var(--border-style-base) var(--color-foreground-base);
250
198
  }
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, aD as useLoadingService, K as useUIStore, a0 as useSourceControlStore, a as useToast, r as ref, q as computed, c as openBlock, h as createElementBlock, l as unref, n as normalizeClass, j as createBaseVNode, i as createVNode, k as createTextVNode, t as toDisplayString, w as withCtx, e as createBlock, f as createCommentVNode, B as normalizeStyle, g as useI18n, an as hasPermission, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, y as nextTick, aE as sourceControlEventBus, aF as SOURCE_CONTROL_PULL_MODAL_KEY, m as resolveComponent, C as createEventBus, _ as _export_sfc, aG as get, R as defineStore, S as STORES, aH as useCloudPlanStore, Z as useRootStore, aI as useStorage, aJ as DateTime, ak as useTelemetry, a1 as useProjectsStore, F as Fragment, A as renderList, V as VIEWS, aK as sortByProperty, p as useSettingsStore, aL as useTemplatesStore, u as useUsersStore, aM as useVersionsStore, T as useWorkflowsStore, J as useDebounce, U as useRoute, b as useRouter, a5 as usePageRedirectionHelper, o as onMounted, x as onBeforeUnmount, E as onClickOutside, aN as N8nNavigationDropdown, aO as createSlots, aP as useExternalHooks, aQ as VERSIONS_MODAL_KEY, aR as ABOUT_MODAL_KEY } from "./index-D57HUAs6.js";
2
- import { u as useBugReporting } from "./useBugReporting-v6zXxGxR.js";
3
- import { u as useGlobalEntityCreation } from "./useGlobalEntityCreation-D_NS7_je.js";
1
+ import { d as defineComponent, aD as useLoadingService, K as useUIStore, a0 as useSourceControlStore, a as useToast, r as ref, q as computed, c as openBlock, h as createElementBlock, l as unref, n as normalizeClass, j as createBaseVNode, i as createVNode, k as createTextVNode, t as toDisplayString, w as withCtx, e as createBlock, f as createCommentVNode, B as normalizeStyle, g as useI18n, an as hasPermission, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, y as nextTick, aE as sourceControlEventBus, aF as SOURCE_CONTROL_PULL_MODAL_KEY, m as resolveComponent, C as createEventBus, _ as _export_sfc, aG as get, R as defineStore, S as STORES, aH as useCloudPlanStore, Z as useRootStore, aI as useStorage, aJ as DateTime, ak as useTelemetry, a1 as useProjectsStore, F as Fragment, A as renderList, V as VIEWS, aK as sortByProperty, p as useSettingsStore, aL as useTemplatesStore, u as useUsersStore, aM as useVersionsStore, T as useWorkflowsStore, J as useDebounce, U as useRoute, b as useRouter, a5 as usePageRedirectionHelper, o as onMounted, x as onBeforeUnmount, E as onClickOutside, aN as N8nNavigationDropdown, aO as createSlots, aP as useExternalHooks, aQ as VERSIONS_MODAL_KEY, aR as ABOUT_MODAL_KEY } from "./index-fCEqBD8K.js";
2
+ import { u as useBugReporting } from "./useBugReporting-CbgIVUCL.js";
3
+ import { u as useGlobalEntityCreation } from "./useGlobalEntityCreation-DGVSN-Im.js";
4
4
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5
5
  __name: "MainSidebarSourceControl",
6
6
  props: {
@@ -80,7 +80,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
80
80
  sourceControlEventBus.emit("pull");
81
81
  } catch (error) {
82
82
  const errorResponse = error.response;
83
- if ((errorResponse == null ? void 0 : errorResponse.status) === responseStatuses.CONFLICT) {
83
+ if (errorResponse?.status === responseStatuses.CONFLICT) {
84
84
  uiStore.openModalWithData({
85
85
  name: SOURCE_CONTROL_PULL_MODAL_KEY,
86
86
  data: { eventBus, status: errorResponse.data.data }
@@ -372,20 +372,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
372
372
  }
373
373
  }
374
374
  });
375
- const personalProject = computed(() => {
376
- var _a, _b;
377
- return {
378
- id: ((_a = projectsStore.personalProject) == null ? void 0 : _a.id) ?? "",
379
- label: locale.baseText("projects.menu.personal"),
380
- icon: props.collapsed ? void 0 : "user",
381
- route: {
382
- to: {
383
- name: VIEWS.PROJECTS_WORKFLOWS,
384
- params: { projectId: (_b = projectsStore.personalProject) == null ? void 0 : _b.id }
385
- }
375
+ const personalProject = computed(() => ({
376
+ id: projectsStore.personalProject?.id ?? "",
377
+ label: locale.baseText("projects.menu.personal"),
378
+ icon: props.collapsed ? void 0 : "user",
379
+ route: {
380
+ to: {
381
+ name: VIEWS.PROJECTS_WORKFLOWS,
382
+ params: { projectId: projectsStore.personalProject?.id }
386
383
  }
387
- };
388
- });
384
+ }
385
+ }));
389
386
  const displayProjects = computed(
390
387
  () => sortByProperty(
391
388
  "name",
@@ -641,9 +638,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
641
638
  window.removeEventListener("resize", onResize);
642
639
  });
643
640
  const trackTemplatesClick = () => {
644
- var _a;
645
641
  telemetry.track("User clicked on templates", {
646
- role: (_a = usersStore.currentUserCloudInfo) == null ? void 0 : _a.role,
642
+ role: usersStore.currentUserCloudInfo?.role,
647
643
  active_workflow_count: workflowsStore.activeWorkflows.length
648
644
  });
649
645
  };
@@ -718,25 +714,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
718
714
  fullyExpanded.value = !isCollapsed.value;
719
715
  }
720
716
  };
721
- const { menu, handleSelect: handleMenuSelect } = useGlobalEntityCreation();
717
+ const {
718
+ menu,
719
+ handleSelect: handleMenuSelect,
720
+ createProjectAppendSlotName,
721
+ projectsLimitReachedMessage
722
+ } = useGlobalEntityCreation();
722
723
  onClickOutside(createBtn, () => {
723
- var _a;
724
- (_a = createBtn.value) == null ? void 0 : _a.close();
724
+ createBtn.value?.close();
725
725
  });
726
726
  return (_ctx, _cache) => {
727
- const _component_n8n_icon = resolveComponent("n8n-icon");
727
+ const _component_N8nIcon = resolveComponent("N8nIcon");
728
728
  const _component_N8nIconButton = resolveComponent("N8nIconButton");
729
+ const _component_N8nButton = resolveComponent("N8nButton");
730
+ const _component_N8nTooltip = resolveComponent("N8nTooltip");
729
731
  const _component_ProjectNavigation = __unplugin_components_0;
730
732
  const _component_BecomeTemplateCreatorCta = __unplugin_components_1;
731
733
  const _component_GiftNotificationIcon = __unplugin_components_2;
732
- const _component_n8n_text = resolveComponent("n8n-text");
734
+ const _component_N8nText = resolveComponent("N8nText");
733
735
  const _component_MainSidebarSourceControl = __unplugin_components_3;
734
- const _component_n8n_avatar = resolveComponent("n8n-avatar");
735
- const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
736
- const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
737
- const _component_el_dropdown = resolveComponent("el-dropdown");
738
- const _component_n8n_action_dropdown = resolveComponent("n8n-action-dropdown");
739
- const _component_n8n_menu = resolveComponent("n8n-menu");
736
+ const _component_N8nAvatar = resolveComponent("N8nAvatar");
737
+ const _component_ElDropdownItem = resolveComponent("ElDropdownItem");
738
+ const _component_ElDropdownMenu = resolveComponent("ElDropdownMenu");
739
+ const _component_ElDropdown = resolveComponent("ElDropdown");
740
+ const _component_N8nActionDropdown = resolveComponent("N8nActionDropdown");
741
+ const _component_N8nMenu = resolveComponent("N8nMenu");
740
742
  return openBlock(), createElementBlock("div", {
741
743
  id: "side-menu",
742
744
  class: normalizeClass({
@@ -750,12 +752,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
750
752
  class: normalizeClass(["clickable", _ctx.$style.sideMenuCollapseButton]),
751
753
  onClick: toggleCollapse
752
754
  }, [
753
- isCollapsed.value ? (openBlock(), createBlock(_component_n8n_icon, {
755
+ isCollapsed.value ? (openBlock(), createBlock(_component_N8nIcon, {
754
756
  key: 0,
755
757
  icon: "chevron-right",
756
758
  size: "xsmall",
757
759
  class: "ml-5xs"
758
- })) : (openBlock(), createBlock(_component_n8n_icon, {
760
+ })) : (openBlock(), createBlock(_component_N8nIcon, {
759
761
  key: 1,
760
762
  icon: "chevron-left",
761
763
  size: "xsmall",
@@ -778,6 +780,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
778
780
  menu: unref(menu),
779
781
  onSelect: unref(handleMenuSelect)
780
782
  }, {
783
+ [unref(createProjectAppendSlotName)]: withCtx(({ item }) => [
784
+ item.disabled ? (openBlock(), createBlock(_component_N8nTooltip, {
785
+ key: 0,
786
+ placement: "right",
787
+ content: unref(projectsLimitReachedMessage)
788
+ }, {
789
+ default: withCtx(() => [
790
+ createVNode(_component_N8nButton, {
791
+ size: "mini",
792
+ style: { "margin-left": "auto" },
793
+ type: "tertiary",
794
+ onClick: ($event) => unref(handleMenuSelect)(item.id)
795
+ }, {
796
+ default: withCtx(() => [
797
+ createTextVNode(toDisplayString(unref(i18n).baseText("generic.upgrade")), 1)
798
+ ]),
799
+ _: 2
800
+ }, 1032, ["onClick"])
801
+ ]),
802
+ _: 2
803
+ }, 1032, ["content"])) : createCommentVNode("", true)
804
+ ]),
781
805
  default: withCtx(() => [
782
806
  createVNode(_component_N8nIconButton, {
783
807
  icon: "plus",
@@ -785,23 +809,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
785
809
  outline: ""
786
810
  })
787
811
  ]),
788
- _: 1
789
- }, 8, ["menu", "onSelect"])
812
+ _: 2
813
+ }, 1032, ["menu", "onSelect"])
790
814
  ], 2),
791
- createVNode(_component_n8n_menu, {
815
+ createVNode(_component_N8nMenu, {
792
816
  items: mainMenuItems.value,
793
817
  collapsed: isCollapsed.value,
794
818
  onSelect: handleSelect
795
819
  }, createSlots({
796
- header: withCtx(() => {
797
- var _a;
798
- return [
799
- createVNode(_component_ProjectNavigation, {
800
- collapsed: isCollapsed.value,
801
- "plan-name": (_a = unref(cloudPlanStore).currentPlanData) == null ? void 0 : _a.displayName
802
- }, null, 8, ["collapsed", "plan-name"])
803
- ];
804
- }),
820
+ header: withCtx(() => [
821
+ createVNode(_component_ProjectNavigation, {
822
+ collapsed: isCollapsed.value,
823
+ "plan-name": unref(cloudPlanStore).currentPlanData?.displayName
824
+ }, null, 8, ["collapsed", "plan-name"])
825
+ ]),
805
826
  beforeLowerMenu: withCtx(() => [
806
827
  fullyExpanded.value && !userIsTrialing.value ? (openBlock(), createBlock(_component_BecomeTemplateCreatorCta, { key: 0 })) : createCommentVNode("", true)
807
828
  ]),
@@ -818,7 +839,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
818
839
  }, [
819
840
  createVNode(_component_GiftNotificationIcon)
820
841
  ], 2),
821
- createVNode(_component_n8n_text, {
842
+ createVNode(_component_N8nText, {
822
843
  class: normalizeClass({ ["ml-xs"]: true, [_ctx.$style.expanded]: fullyExpanded.value }),
823
844
  color: "text-base"
824
845
  }, {
@@ -842,39 +863,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
842
863
  class: normalizeClass(_ctx.$style.userArea)
843
864
  }, [
844
865
  createBaseVNode("div", _hoisted_2, [
845
- createVNode(_component_el_dropdown, {
866
+ createVNode(_component_ElDropdown, {
846
867
  placement: "right-end",
847
868
  trigger: "click",
848
869
  onCommand: onUserActionToggle
849
870
  }, createSlots({
850
- default: withCtx(() => {
851
- var _a, _b;
852
- return [
853
- createBaseVNode("div", {
854
- class: normalizeClass({ [_ctx.$style.avatar]: true, ["clickable"]: isCollapsed.value })
855
- }, [
856
- createVNode(_component_n8n_avatar, {
857
- "first-name": (_a = unref(usersStore).currentUser) == null ? void 0 : _a.firstName,
858
- "last-name": (_b = unref(usersStore).currentUser) == null ? void 0 : _b.lastName,
859
- size: "small"
860
- }, null, 8, ["first-name", "last-name"])
861
- ], 2)
862
- ];
863
- }),
871
+ default: withCtx(() => [
872
+ createBaseVNode("div", {
873
+ class: normalizeClass({ [_ctx.$style.avatar]: true, ["clickable"]: isCollapsed.value })
874
+ }, [
875
+ createVNode(_component_N8nAvatar, {
876
+ "first-name": unref(usersStore).currentUser?.firstName,
877
+ "last-name": unref(usersStore).currentUser?.lastName,
878
+ size: "small"
879
+ }, null, 8, ["first-name", "last-name"])
880
+ ], 2)
881
+ ]),
864
882
  _: 2
865
883
  }, [
866
884
  isCollapsed.value ? {
867
885
  name: "dropdown",
868
886
  fn: withCtx(() => [
869
- createVNode(_component_el_dropdown_menu, null, {
887
+ createVNode(_component_ElDropdownMenu, null, {
870
888
  default: withCtx(() => [
871
- createVNode(_component_el_dropdown_item, { command: "settings" }, {
889
+ createVNode(_component_ElDropdownItem, { command: "settings" }, {
872
890
  default: withCtx(() => [
873
891
  createTextVNode(toDisplayString(unref(i18n).baseText("settings")), 1)
874
892
  ]),
875
893
  _: 1
876
894
  }),
877
- createVNode(_component_el_dropdown_item, { command: "logout" }, {
895
+ createVNode(_component_ElDropdownItem, { command: "logout" }, {
878
896
  default: withCtx(() => [
879
897
  createTextVNode(toDisplayString(unref(i18n).baseText("auth.signout")), 1)
880
898
  ]),
@@ -891,24 +909,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
891
909
  createBaseVNode("div", {
892
910
  class: normalizeClass({ ["ml-2xs"]: true, [_ctx.$style.userName]: true, [_ctx.$style.expanded]: fullyExpanded.value })
893
911
  }, [
894
- createVNode(_component_n8n_text, {
912
+ createVNode(_component_N8nText, {
895
913
  size: "small",
896
914
  bold: true,
897
915
  color: "text-dark"
898
916
  }, {
899
- default: withCtx(() => {
900
- var _a;
901
- return [
902
- createTextVNode(toDisplayString((_a = unref(usersStore).currentUser) == null ? void 0 : _a.fullName), 1)
903
- ];
904
- }),
917
+ default: withCtx(() => [
918
+ createTextVNode(toDisplayString(unref(usersStore).currentUser?.fullName), 1)
919
+ ]),
905
920
  _: 1
906
921
  })
907
922
  ], 2),
908
923
  createBaseVNode("div", {
909
924
  class: normalizeClass({ [_ctx.$style.userActions]: true, [_ctx.$style.expanded]: fullyExpanded.value })
910
925
  }, [
911
- createVNode(_component_n8n_action_dropdown, {
926
+ createVNode(_component_N8nActionDropdown, {
912
927
  items: userMenuItems.value,
913
928
  placement: "top-start",
914
929
  "data-test-id": "user-menu",