n8n-editor-ui 1.83.2 → 1.85.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 (126) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-COOCXFFe.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BefsLZo6.js} +1 -1
  2. package/dist/assets/{AuthView-C7UxnH6d.js → AuthView-Bwnmj61F.js} +2 -2
  3. package/dist/assets/{CanvasChat-CSLR5tKe.css → CanvasChatSwitch-BcSDHC-c.css} +546 -33
  4. package/dist/assets/{CanvasChat-CmjR9yPV.js → CanvasChatSwitch-Dgc1t6ax.js} +1047 -550
  5. package/dist/assets/{ChangePasswordView-ah8H7l7b.js → ChangePasswordView-Ojbow8CX.js} +3 -3
  6. package/dist/assets/CollectionParameter-2r_LuiyO.js +4 -0
  7. package/dist/assets/CommitMonoVariable-ytizKI8U.woff2 +0 -0
  8. package/dist/assets/{CredentialsView-DqcTSsjv.js → CredentialsView-DhEvPiu_.js} +19 -9
  9. package/dist/assets/{ErrorView-DG7aEbhz.js → ErrorView-RGryGbpa.js} +1 -1
  10. package/dist/assets/{ConcurrentExecutionsHeader-CEBmSYNK.css → ExecutionsTime-BOPJEomw.css} +63 -63
  11. package/dist/assets/{ConcurrentExecutionsHeader-tdwilNra.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-Iwq0aeRX.js} +114 -114
  12. package/dist/assets/ExecutionsView-CL7Ei3Em.js +943 -0
  13. package/dist/assets/{ExecutionsView-CB1tvZfo.css → ExecutionsView-JCKikuIS.css} +60 -188
  14. package/dist/assets/{FileSaver.min-D9u6MONp.js → FileSaver.min-C4OYrSWg.js} +1 -1
  15. package/dist/assets/{FixedCollectionParameter-CLjLHGyL.js → FixedCollectionParameter-CJ4s-1jy.js} +1 -1
  16. package/dist/assets/{ForgotMyPasswordView-DDtUSUcw.js → ForgotMyPasswordView-7tFMaf89.js} +3 -3
  17. package/dist/assets/InterVariable-DiVDrmQJ.woff2 +0 -0
  18. package/dist/assets/InterVariable-Italic-FCBEiFp6.woff2 +0 -0
  19. package/dist/assets/{Logo-CBvZEey7.js → Logo-BW8jOa0h.js} +8 -19
  20. package/dist/assets/{ProjectHeader-BZ6b6lat.css → Logo-DLBj1gMw.css} +23 -17
  21. package/dist/assets/{MainHeader-PgJurmwZ.js → MainHeader-BUWCKbvC.js} +47 -22
  22. package/dist/assets/{MainHeader-CX-ZfeKE.css → MainHeader-CWA2JfVJ.css} +22 -22
  23. package/dist/assets/{MainSidebar-DsyUXL2c.js → MainSidebar-BeZfQeco.js} +75 -42
  24. package/dist/assets/{MainSidebar-BRAjTL7J.css → MainSidebar-CKMiDGvH.css} +13 -12
  25. package/dist/assets/{NodeCreation-CiSTfSrv.js → NodeCreation-DIg39Pbx.js} +5 -5
  26. package/dist/assets/{NodeCreator-16svYK-i.js → NodeCreator-BwYjrEUk.js} +10 -11
  27. package/dist/assets/{NodeCreator-DDiuO5S0.css → NodeCreator-D9fmPdS2.css} +12 -12
  28. package/dist/assets/{NodeDetailsView-CVVfk-zW.css → NodeDetailsView-C1z3N5z_.css} +46 -46
  29. package/dist/assets/{NodeDetailsView-D5ZKTnOO.js → NodeDetailsView-WuroVzlr.js} +93 -85
  30. package/dist/assets/{NodeView-CVxHVGxF.js → NodeView-CmjajouX.js} +63 -28
  31. package/dist/assets/{ProjectCardBadge-DKJ8uRN7.js → ProjectCardBadge-cIqYJxKe.js} +1 -1
  32. package/dist/assets/ProjectHeader-B-a6_GH6.css +285 -0
  33. package/dist/assets/{ProjectHeader-BY3TAX3C.js → ProjectHeader-BGrFY-5v.js} +66 -27
  34. package/dist/assets/{ProjectSettings-B3FxW1ze.js → ProjectSettings-D10vay6-.js} +2 -3
  35. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CzwYeMCe.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DJAYslHT.js} +2 -2
  36. package/dist/assets/{ResourcesListLayout-DbPhtDij.js → ResourcesListLayout-C6v8Zm5q.js} +25 -21
  37. package/dist/assets/{ResourcesListLayout-Brs7VKUf.css → ResourcesListLayout-CWgWhtKq.css} +43 -33
  38. package/dist/assets/{RunDataAi-DJ-PSs_k.css → RunDataAi-CN9FrT9c.css} +2 -2
  39. package/dist/assets/{RunDataAi-Cq_XIdUj.js → RunDataAi-dhPBStdr.js} +25 -20
  40. package/dist/assets/{RunDataJson-BYaB0x1O.js → RunDataJson-kGRhUGn3.js} +12 -12
  41. package/dist/assets/{RunDataJsonActions-CU0K3JKo.js → RunDataJsonActions-BTljOq8V.js} +2 -2
  42. package/dist/assets/{RunDataSearch-Cx3Q6SS-.js → RunDataSearch-mVQhE8PH.js} +1 -1
  43. package/dist/assets/{RunDataTable-thC_K8V5.js → RunDataTable-CFoDiExh.js} +2 -2
  44. package/dist/assets/{SamlOnboarding-kqju2Vdw.js → SamlOnboarding-dDZHHNp4.js} +3 -3
  45. package/dist/assets/{SettingsApiView-DZWY9nyk.js → SettingsApiView-C9hbuZ42.js} +2 -3
  46. package/dist/assets/{SettingsCommunityNodesView-BLPF2nGe.js → SettingsCommunityNodesView-0wzih2lc.js} +5 -5
  47. package/dist/assets/{SettingsExternalSecrets-giVhhOpK.js → SettingsExternalSecrets-BCDoBPTc.js} +1 -1
  48. package/dist/assets/{SettingsLdapView-CcLGbweG.js → SettingsLdapView-CBCprymb.js} +1 -1
  49. package/dist/assets/{SettingsLogStreamingView-T4v-UDVv.js → SettingsLogStreamingView-CMQQQdcB.js} +2 -2
  50. package/dist/assets/{SettingsPersonalView-C1vojEEm.js → SettingsPersonalView-DtAM5Qmb.js} +1 -1
  51. package/dist/assets/{SettingsSourceControl-mTHmVIMw.js → SettingsSourceControl-CysMFVZs.js} +1 -1
  52. package/dist/assets/{SettingsSso-BBoPSBvR.js → SettingsSso-B0PZUvVx.js} +7 -7
  53. package/dist/assets/{SettingsSso-BjoJZ2DU.css → SettingsSso-DyrGnPdA.css} +10 -10
  54. package/dist/assets/{SettingsUsageAndPlan-CT1Jb0GH.js → SettingsUsageAndPlan-2QUTEbXv.js} +8 -3
  55. package/dist/assets/{SettingsUsageAndPlan-Cul4YcIk.css → SettingsUsageAndPlan-b3WY2Ea_.css} +3 -3
  56. package/dist/assets/{SettingsUsersView-Cak1x7Pc.js → SettingsUsersView-C16e4GB4.js} +1 -1
  57. package/dist/assets/{SettingsView-DCkltMay.js → SettingsView-B-BQ6FGS.js} +1 -1
  58. package/dist/assets/{SetupView-DJmIQyS0.js → SetupView-Kx3RATQz.js} +3 -3
  59. package/dist/assets/{SetupWorkflowCredentialsButton-DCfwCYAd.js → SetupWorkflowCredentialsButton-BQ2_-L-1.js} +1 -1
  60. package/dist/assets/{SetupWorkflowFromTemplateView-k_iBV2jh.js → SetupWorkflowFromTemplateView-D_E17TKc.js} +3 -3
  61. package/dist/assets/{SigninView-BnsteSQ9.js → SigninView-d0aJ1Mkg.js} +3 -3
  62. package/dist/assets/{SignoutView-CyCh9bOx.js → SignoutView-CvyFrh7y.js} +1 -1
  63. package/dist/assets/{SignupView-BsFwHPbF.js → SignupView-CnlD_UrJ.js} +3 -3
  64. package/dist/assets/{TemplateDetails-D_qS2oXP.js → TemplateDetails-DRuh9UqO.js} +3 -3
  65. package/dist/assets/{TemplateList-Bsr77oun.js → TemplateList-gpWBWX3r.js} +1 -1
  66. package/dist/assets/{TemplatesCollectionView-DOx2xwGE.js → TemplatesCollectionView-Y6-pxrOD.js} +5 -5
  67. package/dist/assets/{TemplatesSearchView-C6YmB2wy.js → TemplatesSearchView-DP8XRZ62.js} +3 -3
  68. package/dist/assets/{TemplatesView-DQBwrteM.js → TemplatesView-B3vanV3h.js} +1 -1
  69. package/dist/assets/{TemplatesWorkflowView-C2iuRHel.js → TemplatesWorkflowView-CIB9qsVC.js} +5 -5
  70. package/dist/assets/{TestDefinitionEditView-JONL00pA.css → TestDefinitionEditView-BXhOuJrU.css} +128 -116
  71. package/dist/assets/{TestDefinitionEditView-BhFe0nl4.js → TestDefinitionEditView-BkhmS3l4.js} +243 -252
  72. package/dist/assets/{TestDefinitionListView-xb_7O8DU.js → TestDefinitionListView-tvjwd9Ts.js} +1 -1
  73. package/dist/assets/{TestDefinitionNewView-DfTA2Tx8.js → TestDefinitionNewView-DOGHwct6.js} +13 -4
  74. package/dist/assets/{TestDefinitionRootView-CaoWSLan.js → TestDefinitionRootView-B-QvwldV.js} +1 -1
  75. package/dist/assets/{VariablesView-CbTLdNwU.css → VariablesView-ATWfdJsE.css} +7 -11
  76. package/dist/assets/{VariablesView-B2ttHbBo.js → VariablesView-CoBnz2nF.js} +6 -6
  77. package/dist/assets/{WorkerView-CzDTwlX2.js → WorkerView-CsTZzlRj.js} +7 -7
  78. package/dist/assets/{WorkflowActivator-mNogYc60.js → WorkflowActivator-DeLhupjy.js} +2 -2
  79. package/dist/assets/{WorkflowExecutionsInfoAccordion-CNoXKDkU.js → WorkflowExecutionsInfoAccordion-WRdvo2wq.js} +1 -1
  80. package/dist/assets/{WorkflowExecutionsLandingPage-XS-H1Pwn.js → WorkflowExecutionsLandingPage-DP8mgG6I.js} +2 -2
  81. package/dist/assets/{WorkflowExecutionsPreview-BMqpqyNP.js → WorkflowExecutionsPreview-BmG1Fptg.js} +270 -136
  82. package/dist/assets/{WorkflowExecutionsPreview-BDVLuC1z.css → WorkflowExecutionsPreview-CHu6M3Dh.css} +70 -38
  83. package/dist/assets/{WorkflowExecutionsView-BLj64NZs.js → WorkflowExecutionsView-DmN-exp3.js} +6 -7
  84. package/dist/assets/{WorkflowHistory-CFqqM71F.js → WorkflowHistory-CdEr7dbB.js} +3 -3
  85. package/dist/assets/{WorkflowOnboardingView-8o-XsXJA.js → WorkflowOnboardingView-D45YjFmk.js} +1 -1
  86. package/dist/assets/{WorkflowPreview-B05e6atY.js → WorkflowPreview-x0_AdULu.js} +1 -1
  87. package/dist/assets/{WorkflowsView-D6AZEJR8.js → WorkflowsView-BhcJ-MjE.js} +726 -341
  88. package/dist/assets/{WorkflowsView-JN0Hvhvt.css → WorkflowsView-r9qJOUEb.css} +64 -43
  89. package/dist/assets/{easyAiWorkflowUtils-DCq6uUmq.js → easyAiWorkflowUtils-NXaV8dgZ.js} +5 -5
  90. package/dist/assets/{global-link-actions-DhVbzPXz.js → global-link-actions-DgZH3fz2.js} +1 -1
  91. package/dist/assets/{import-curl-CpQ9LTub.js → import-curl-DUv4B2nO.js} +1 -1
  92. package/dist/assets/{index-ntAcmC2q.js → index-CDluwnbb.js} +4962 -3420
  93. package/dist/assets/{index-D534l065.css → index-CgXKy7t-.css} +2783 -2112
  94. package/dist/assets/{index-wbgX3Vnk.js → index-DAyhXitv.js} +1 -1
  95. package/dist/assets/{pickBy-DAl85H93.js → pickBy-D-hOoXP_.js} +1 -1
  96. package/dist/assets/{polyfills-C7eMRNFe.js → polyfills-CLZ4X0Ad.js} +2342 -1944
  97. package/dist/assets/{pushConnection.store-Cs7MLBaJ.js → pushConnection.store-Dl_VgTY2.js} +1 -1
  98. package/dist/assets/{templateActions-C6kwBsE2.js → templateActions-B4AFVixD.js} +1 -1
  99. package/dist/assets/{typescript.worker-DP34mIHW.js → typescript.worker-Bt3bByTc.js} +1158 -695
  100. package/dist/assets/{useBeforeUnload-Cr9E4FVX.js → useBeforeUnload-DS-CCd-3.js} +1 -1
  101. package/dist/assets/{useCanvasMapping-CkNBF2SE.css → useCanvasMapping-CJcAsQmx.css} +585 -585
  102. package/dist/assets/{useCanvasMapping-DwbUSpab.js → useCanvasMapping-DnPGwCm3.js} +10390 -10379
  103. package/dist/assets/{useCanvasOperations-Ch4-PXXM.js → useCanvasOperations-CY1OrN2X.js} +472 -185
  104. package/dist/assets/useClearExecutionButtonVisible-CjX9PqMR.js +23 -0
  105. package/dist/assets/{useExecutionDebugging-WtMBcJA-.js → useExecutionDebugging-BN-lQ24h.js} +1 -1
  106. package/dist/assets/{useExecutionHelpers-DYVB2XNC.js → useExecutionHelpers-wN0DRQB-.js} +1 -1
  107. package/dist/assets/{useImportCurlCommand-B6a2t4kf.js → useImportCurlCommand-DgTeVIgh.js} +13 -20
  108. package/dist/assets/useOverview-BBgWJdVL.js +161 -0
  109. package/dist/assets/{Logo-DJLTXpXC.css → useOverview-DcRuPjLJ.css} +97 -30
  110. package/dist/assets/{usePushConnection-BvuDmDSY.js → usePushConnection-F1s4Muc0.js} +5 -4
  111. package/dist/assets/{useRunWorkflow-BjW-TsKk.js → useRunWorkflow-RBDuKZVj.js} +13 -13
  112. package/dist/assets/{useTestDefinitionForm-uexL_DkW.js → useTestDefinitionForm-DX1gvhBC.js} +1 -1
  113. package/dist/assets/{useWorkflowActivate-BAjo-kUC.js → useWorkflowActivate-DsRC3mvG.js} +1 -1
  114. package/dist/index.html +3 -3
  115. package/package.json +1 -1
  116. package/dist/assets/CollectionParameter-Dk76idMw.js +0 -4
  117. package/dist/assets/ExecutionsView-zqdNLgx1.js +0 -983
  118. package/dist/assets/ProjectCreateResource-5lC9x1Ht.js +0 -56
  119. package/dist/assets/ProjectCreateResource-eYdTamXR.css +0 -139
  120. package/dist/assets/open-sans-latin-400-normal-kLvSbl7y.woff +0 -0
  121. package/dist/assets/open-sans-latin-400-normal-sjvN8RAh.woff2 +0 -0
  122. package/dist/assets/open-sans-latin-600-normal-BYc6TgXR.woff2 +0 -0
  123. package/dist/assets/open-sans-latin-600-normal-CJ2UE_uF.woff +0 -0
  124. package/dist/assets/open-sans-latin-700-normal-DMXgkrz3.woff +0 -0
  125. package/dist/assets/open-sans-latin-700-normal-DXyImmHa.woff2 +0 -0
  126. package/dist/assets/usePinnedData-CvnROquX.js +0 -274
@@ -1,14 +1,14 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-CiSTfSrv.js","assets/index-ntAcmC2q.js","assets/index-D534l065.css","assets/useCanvasOperations-Ch4-PXXM.js","assets/usePinnedData-CvnROquX.js","assets/NodeCreation-RKvezEeg.css","assets/NodeDetailsView-D5ZKTnOO.js","assets/useRunWorkflow-BjW-TsKk.js","assets/pushConnection.store-Cs7MLBaJ.js","assets/import-curl-CpQ9LTub.js","assets/FileSaver.min-D9u6MONp.js","assets/RunDataAi-Cq_XIdUj.js","assets/useExecutionHelpers-DYVB2XNC.js","assets/RunDataAi-DJ-PSs_k.css","assets/useWorkflowActivate-BAjo-kUC.js","assets/NodeDetailsView-CVVfk-zW.css","assets/SetupWorkflowCredentialsButton-DCfwCYAd.js"])))=>i.map(i=>d[i]);
2
- import { d as defineComponent, c as openBlock, e as createBlock, m as resolveComponent, D as createEventBus, bs as toRef, q as computed, r as ref, h as createElementBlock, j as createBaseVNode, b0 as mergeProps, l as unref, f as createCommentVNode, n as normalizeClass, v as renderSlot, ab as useCssModule, _ as _export_sfc, w as withCtx, i as createVNode, J as withModifiers, bt as KeyboardShortcutTooltip, g as useI18n, bu as reactive, o as onMounted, b5 as onUnmounted, t as toDisplayString, k as createTextVNode, b as useRouter, W as useRoute, a as useToast, a4 as useDocumentTitle, a5 as useWorkflowHelpers, bq as useNodeHelpers, bp as useNodeTypesStore, L as useUIStore, U as useWorkflowsStore, a1 as useSourceControlStore, p as useSettingsStore, bv as useCredentialsStore, bw as useEnvironmentsStore, bx as useExternalSecretsStore, $ as useRootStore, at as useExecutionsStore, a0 as useCanvasStore, a3 as useNpsSurveyStore, by as useHistoryStore, a2 as useProjectsStore, u as useUsersStore, E as useTagsStore, as as useNDVStore, aN as useTemplatesStore, au as usePostHog, b7 as useClipboard, bz as getNodeViewTab, s as MAIN_HEADER_TABS, ai as VALID_WORKFLOW_IMPORT_URL_REGEX, af as MODAL_CONFIRM, bA as jsonParse, I as watch, bB as onBeforeRouteLeave, aw as onBeforeMount, V as VIEWS, bC as onActivated, bD as onDeactivated, y as onBeforeUnmount, bE as Suspense, bF as N8nCallout, bG as defineAsyncComponent, aU as useExternalHooks, al as useMessage, a9 as EnterpriseEditionFeature, bH as NEW_WORKFLOW_ID, bI as AI_CREDITS_EXPERIMENT, z as nextTick, bJ as tryToParseNumber, bK as NODE_CREATOR_OPEN_SOURCES, ad as nodeViewEventBus, bi as NodeConnectionType, bL as CanvasConnectionMode, bM as isValidNodeConnectionType, aC as STICKY_NODE_TYPE, aF as sourceControlEventBus, bN as DRAG_EVENT_DATA_KEY, ak as useTelemetry, Y as PLACEHOLDER_EMPTY_WORKFLOW_ID, bO as CanvasNodeRenderType, bP as START_NODE_TYPE, bQ as getNodesWithNormalizedPosition, am as getResourcePermissions, ap as h, b8 as CHAT_TRIGGER_NODE_TYPE, b9 as MANUAL_CHAT_TRIGGER_NODE_TYPE, ar as __vitePreload, bR as historyBus } from "./index-ntAcmC2q.js";
3
- import { u as useVueFlow, a as useCanvasMapping, _ as __unplugin_components_0 } from "./useCanvasMapping-DwbUSpab.js";
4
- import { u as useRunWorkflow } from "./useRunWorkflow-BjW-TsKk.js";
5
- import { g as globalLinkActionsEventBus } from "./global-link-actions-DhVbzPXz.js";
6
- import { u as useNodeCreatorStore, a as useCanvasOperations, c as createCanvasConnectionHandleString } from "./useCanvasOperations-Ch4-PXXM.js";
7
- import { u as useExecutionDebugging } from "./useExecutionDebugging-WtMBcJA-.js";
8
- import { u as usePushConnectionStore } from "./pushConnection.store-Cs7MLBaJ.js";
9
- import { u as useBeforeUnload } from "./useBeforeUnload-Cr9E4FVX.js";
10
- import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-DCq6uUmq.js";
11
- import "./usePinnedData-CvnROquX.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-DIg39Pbx.js","assets/index-CDluwnbb.js","assets/index-CgXKy7t-.css","assets/useCanvasOperations-CY1OrN2X.js","assets/NodeCreation-RKvezEeg.css","assets/NodeDetailsView-WuroVzlr.js","assets/useRunWorkflow-RBDuKZVj.js","assets/pushConnection.store-Dl_VgTY2.js","assets/import-curl-DUv4B2nO.js","assets/FileSaver.min-C4OYrSWg.js","assets/RunDataAi-dhPBStdr.js","assets/useExecutionHelpers-wN0DRQB-.js","assets/RunDataAi-CN9FrT9c.css","assets/useWorkflowActivate-DsRC3mvG.js","assets/NodeDetailsView-C1z3N5z_.css","assets/SetupWorkflowCredentialsButton-BQ2_-L-1.js"])))=>i.map(i=>d[i]);
2
+ import { d as defineComponent, h as resolveComponent, e as createBlock, g as openBlock, C as createEventBus, $ as useCssModule, bA as toRef, q as computed, r as ref, I as watch, i as createElementBlock, k as createBaseVNode, x as renderSlot, f as createCommentVNode, b2 as mergeProps, n as normalizeClass, m as unref, A as debounce, _ as _export_sfc, c as useI18n, bB as KeyboardShortcutTooltip, w as withCtx, j as createVNode, J as withModifiers, bC as reactive, o as onMounted, b6 as onUnmounted, l as createTextVNode, t as toDisplayString, b as useRouter, U as useRoute, a as useToast, a5 as useDocumentTitle, a6 as useWorkflowHelpers, bv as useNodeHelpers, bu as useNodeTypesStore, L as useUIStore, T as useWorkflowsStore, a2 as useSourceControlStore, p as useSettingsStore, bD as useCredentialsStore, bE as useEnvironmentsStore, bF as useExternalSecretsStore, a0 as useRootStore, au as useExecutionsStore, a1 as useCanvasStore, a4 as useNpsSurveyStore, bG as useHistoryStore, a3 as useProjectsStore, u as useUsersStore, E as useTagsStore, at as useNDVStore, aO as useTemplatesStore, av as usePostHog, b8 as useClipboard, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, bH as NEW_WORKFLOW_ID, V as VIEWS, bI as CanvasNodeRenderType, bJ as START_NODE_TYPE, bK as getNodeViewTab, s as MAIN_HEADER_TABS, an as VALID_WORKFLOW_IMPORT_URL_REGEX, aj as useMessage, ak as MODAL_CONFIRM, bL as jsonParse, a8 as getResourcePermissions, bt as CHAT_TRIGGER_NODE_TYPE, bj as MANUAL_CHAT_TRIGGER_NODE_TYPE, bM as onBeforeRouteLeave, aA as onBeforeMount, aQ as useExternalHooks, bN as onActivated, bO as onDeactivated, y as onBeforeUnmount, bP as Suspense, bQ as defineAsyncComponent, bR as N8nCallout, ap as __vitePreload, ab as EnterpriseEditionFeature, bS as AI_CREDITS_EXPERIMENT, z as nextTick, ah as useTelemetry, bT as tryToParseNumber, ai as nodeViewEventBus, be as NodeConnectionTypes, bU as isValidNodeConnectionType, bV as CanvasConnectionMode, bW as historyBus, aG as sourceControlEventBus, bX as getNodesWithNormalizedPosition, ar as h, bY as NODE_CREATOR_OPEN_SOURCES, az as STICKY_NODE_TYPE, bZ as DRAG_EVENT_DATA_KEY } from "./index-CDluwnbb.js";
3
+ import { u as useVueFlow, a as useCanvasMapping, C as Canvas } from "./useCanvasMapping-DnPGwCm3.js";
4
+ import { u as useRunWorkflow } from "./useRunWorkflow-RBDuKZVj.js";
5
+ import { g as globalLinkActionsEventBus } from "./global-link-actions-DgZH3fz2.js";
6
+ import { a as useNodeCreatorStore, b as useCanvasOperations, c as createCanvasConnectionHandleString } from "./useCanvasOperations-CY1OrN2X.js";
7
+ import { u as useExecutionDebugging } from "./useExecutionDebugging-BN-lQ24h.js";
8
+ import { u as usePushConnectionStore } from "./pushConnection.store-Dl_VgTY2.js";
9
+ import { u as useBeforeUnload } from "./useBeforeUnload-DS-CCd-3.js";
10
+ import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-NXaV8dgZ.js";
11
+ import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-CjX9PqMR.js";
12
12
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
13
13
  __name: "CanvasChatButton",
14
14
  props: {
@@ -65,6 +65,39 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
65
65
  initialFitViewDone.value = true;
66
66
  }
67
67
  });
68
+ const nodesDebounced = ref([]);
69
+ const connectionsDebounced = ref([]);
70
+ const debounceNodesWatcher = ref();
71
+ const debounceConnectionsWatcher = ref();
72
+ watch(() => props.executing, setupDebouncedWatchers, { immediate: true });
73
+ function setupDebouncedWatchers() {
74
+ debounceNodesWatcher.value?.();
75
+ debounceConnectionsWatcher.value?.();
76
+ const debounceTime = props.executing ? 200 : 0;
77
+ const maxWait = props.executing ? 50 : 0;
78
+ debounceNodesWatcher.value = watch(
79
+ mappedNodes,
80
+ debounce(
81
+ (value) => {
82
+ nodesDebounced.value = value;
83
+ },
84
+ debounceTime,
85
+ { maxWait }
86
+ ),
87
+ { immediate: true, deep: true }
88
+ );
89
+ debounceConnectionsWatcher.value = watch(
90
+ mappedConnections,
91
+ debounce(
92
+ (value) => {
93
+ connectionsDebounced.value = value;
94
+ },
95
+ debounceTime,
96
+ { maxWait }
97
+ ),
98
+ { immediate: true, deep: true }
99
+ );
100
+ }
68
101
  return (_ctx, _cache) => {
69
102
  return openBlock(), createElementBlock("div", {
70
103
  class: normalizeClass(unref($style).wrapper),
@@ -73,11 +106,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
73
106
  createBaseVNode("div", {
74
107
  class: normalizeClass(unref($style).canvas)
75
108
  }, [
76
- workflow.value ? (openBlock(), createBlock(__unplugin_components_0, mergeProps({
109
+ workflow.value ? (openBlock(), createBlock(Canvas, mergeProps({
77
110
  key: 0,
78
111
  id: _ctx.id,
79
- nodes: unref(mappedNodes),
80
- connections: unref(mappedConnections),
112
+ nodes: nodesDebounced.value,
113
+ connections: connectionsDebounced.value,
81
114
  "event-bus": _ctx.eventBus,
82
115
  "read-only": _ctx.readOnly
83
116
  }, _ctx.$attrs), null, 16, ["id", "nodes", "connections", "event-bus", "read-only"])) : createCommentVNode("", true)
@@ -284,13 +317,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
284
317
  __name: "NodeView",
285
318
  setup(__props) {
286
319
  const LazyNodeCreation = defineAsyncComponent(
287
- async () => await __vitePreload(() => import("./NodeCreation-CiSTfSrv.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3,4,5]) : void 0)
320
+ async () => await __vitePreload(() => import("./NodeCreation-DIg39Pbx.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
288
321
  );
289
322
  const LazyNodeDetailsView = defineAsyncComponent(
290
- async () => await __vitePreload(() => import("./NodeDetailsView-D5ZKTnOO.js").then((n) => n.N), true ? __vite__mapDeps([6,1,2,4,7,8,9,10,11,12,13,14,15]) : void 0)
323
+ async () => await __vitePreload(() => import("./NodeDetailsView-WuroVzlr.js").then((n) => n.N), true ? __vite__mapDeps([5,1,2,3,6,7,8,9,10,11,12,13,14]) : void 0)
291
324
  );
292
325
  const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
293
- async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-DCfwCYAd.js"), true ? __vite__mapDeps([16,1,2]) : void 0)
326
+ async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-BQ2_-L-1.js"), true ? __vite__mapDeps([15,1,2]) : void 0)
294
327
  );
295
328
  const $style = useCssModule();
296
329
  const router = useRouter();
@@ -333,6 +366,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
333
366
  const {
334
367
  updateNodePosition,
335
368
  updateNodesPosition,
369
+ tidyUp,
336
370
  revertUpdateNodePosition,
337
371
  renameNode,
338
372
  revertRenameNode,
@@ -410,7 +444,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
410
444
  const keyBindingsEnabled = computed(() => {
411
445
  return !ndvStore.activeNode && uiStore.activeModals.length === 0;
412
446
  });
413
- const isChatOpen = computed(() => workflowsStore.isChatPanelOpen);
447
+ const isChatOpen = computed(() => workflowsStore.chatPanelState !== "closed");
414
448
  async function initializeData() {
415
449
  const loadPromises = (() => {
416
450
  if (settingsStore.isPreviewMode && isDemoRoute.value) return [];
@@ -626,6 +660,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
626
660
  const disabledTriggerNodes = triggerNodes.value.filter((node) => node.disabled);
627
661
  return disabledTriggerNodes.length === triggerNodes.value.length;
628
662
  });
663
+ function onTidyUp(event) {
664
+ tidyUp(event);
665
+ }
629
666
  function onUpdateNodesPosition(events) {
630
667
  updateNodesPosition(events, { trackHistory: true });
631
668
  }
@@ -919,18 +956,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
919
956
  const mappedConnections = connections.map(({ from, to }) => {
920
957
  const fromNode = editableWorkflow.value.nodes[offsetIndex + from.nodeIndex];
921
958
  const toNode = editableWorkflow.value.nodes[offsetIndex + to.nodeIndex];
922
- const type = from.type ?? to.type ?? NodeConnectionType.Main;
959
+ const type = from.type ?? to.type ?? NodeConnectionTypes.Main;
923
960
  return {
924
961
  source: fromNode.id,
925
962
  sourceHandle: createCanvasConnectionHandleString({
926
963
  mode: CanvasConnectionMode.Output,
927
- type: isValidNodeConnectionType(type) ? type : NodeConnectionType.Main,
964
+ type: isValidNodeConnectionType(type) ? type : NodeConnectionTypes.Main,
928
965
  index: from.outputIndex ?? 0
929
966
  }),
930
967
  target: toNode.id,
931
968
  targetHandle: createCanvasConnectionHandleString({
932
969
  mode: CanvasConnectionMode.Input,
933
- type: isValidNodeConnectionType(type) ? type : NodeConnectionType.Main,
970
+ type: isValidNodeConnectionType(type) ? type : NodeConnectionTypes.Main,
934
971
  index: to.inputIndex ?? 0
935
972
  }),
936
973
  data: {
@@ -1014,10 +1051,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1014
1051
  const isStopWaitingForWebhookButtonVisible = computed(
1015
1052
  () => isWorkflowRunning.value && isExecutionWaitingForWebhook.value
1016
1053
  );
1017
- const isClearExecutionButtonVisible = computed(
1018
- () => !isReadOnlyRoute.value && !isReadOnlyEnvironment.value && !isWorkflowRunning.value && !allTriggerNodesDisabled.value && workflowExecutionData.value
1019
- );
1020
- const workflowExecutionData = computed(() => workflowsStore.workflowExecutionData);
1054
+ const isClearExecutionButtonVisible = useClearExecutionButtonVisible();
1021
1055
  async function onRunWorkflowToNode(id) {
1022
1056
  const node = workflowsStore.getNodeById(id);
1023
1057
  if (!node) return;
@@ -1365,7 +1399,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1365
1399
  watch(
1366
1400
  () => route.name,
1367
1401
  async (newRouteName, oldRouteName) => {
1368
- const force = newRouteName === VIEWS.NEW_WORKFLOW && oldRouteName === VIEWS.WORKFLOW;
1402
+ const force = newRouteName === VIEWS.NEW_WORKFLOW && oldRouteName === VIEWS.WORKFLOW || newRouteName === VIEWS.WORKFLOW && oldRouteName === VIEWS.NEW_WORKFLOW;
1369
1403
  await initializeRoute(force);
1370
1404
  }
1371
1405
  );
@@ -1483,7 +1517,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1483
1517
  "onSave:workflow": onSaveWorkflow,
1484
1518
  "onCreate:workflow": onCreateWorkflow,
1485
1519
  onViewportChange,
1486
- onDragAndDrop
1520
+ onDragAndDrop,
1521
+ onTidyUp
1487
1522
  }, {
1488
1523
  default: withCtx(() => [
1489
1524
  (openBlock(), createBlock(Suspense, null, {
@@ -1522,7 +1557,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1522
1557
  key: 3,
1523
1558
  onClick: onStopWaitingForWebhook
1524
1559
  })) : createCommentVNode("", true),
1525
- isClearExecutionButtonVisible.value ? (openBlock(), createBlock(_sfc_main$2, {
1560
+ unref(isClearExecutionButtonVisible) && !unref(settingsStore).isNewLogsEnabled ? (openBlock(), createBlock(_sfc_main$2, {
1526
1561
  key: 4,
1527
1562
  onClick: onClearExecutionData
1528
1563
  })) : createCommentVNode("", true)
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, q as computed, g9 as ProjectTypes, gl as splitName, m as resolveComponent, bW as resolveDirective, c as openBlock, e as createBlock, w as withCtx, k as createTextVNode, t as toDisplayString, j as createBaseVNode, b0 as mergeProps, n as normalizeClass, i as createVNode, ax as withDirectives, h as createElementBlock, f as createCommentVNode, g as useI18n, ga as __unplugin_components_0, _ as _export_sfc } from "./index-ntAcmC2q.js";
1
+ import { d as defineComponent, q as computed, ac as ProjectTypes, c as useI18n, gz as splitName, h as resolveComponent, c2 as resolveDirective, e as createBlock, g as openBlock, w as withCtx, k as createBaseVNode, b2 as mergeProps, f as createCommentVNode, n as normalizeClass, j as createVNode, aB as withDirectives, gj as __unplugin_components_0, i as createElementBlock, l as createTextVNode, t as toDisplayString, _ as _export_sfc } from "./index-CDluwnbb.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "ProjectCardBadge",
4
4
  props: {
@@ -0,0 +1,285 @@
1
+ /* BEM support Func
2
+ -------------------------- */
3
+ /* Transition
4
+ -------------------------- */
5
+ /* Color
6
+ -------------------------- */
7
+ /* Link
8
+ -------------------------- */
9
+ /* Border
10
+ -------------------------- */
11
+ /* Outline
12
+ -------------------------- */
13
+ /* Box shadow
14
+ -------------------------- */
15
+ /* Fill
16
+ -------------------------- */
17
+ /* Typography
18
+ -------------------------- */
19
+ /* z-index
20
+ -------------------------- */
21
+ /* Disable base
22
+ -------------------------- */
23
+ /* Icon
24
+ -------------------------- */
25
+ /* Checkbox
26
+ -------------------------- */
27
+ /* Radio
28
+ -------------------------- */
29
+ /* Select
30
+ -------------------------- */
31
+ /* Alert
32
+ -------------------------- */
33
+ /* MessageBox
34
+ -------------------------- */
35
+ /* Message
36
+ -------------------------- */
37
+ /* Notification
38
+ -------------------------- */
39
+ /* Input
40
+ -------------------------- */
41
+ /* Cascader
42
+ -------------------------- */
43
+ /* Group
44
+ -------------------------- */
45
+ /* Tab
46
+ -------------------------- */
47
+ /* Button
48
+ -------------------------- */
49
+ /* cascader
50
+ -------------------------- */
51
+ /* Switch
52
+ -------------------------- */
53
+ /* Dialog
54
+ -------------------------- */
55
+ /* Table
56
+ -------------------------- */
57
+ /* Pagination
58
+ -------------------------- */
59
+ /* Popup
60
+ -------------------------- */
61
+ /* Popover
62
+ -------------------------- */
63
+ /* Tooltip
64
+ -------------------------- */
65
+ /* Tag
66
+ -------------------------- */
67
+ /* Tree
68
+ -------------------------- */
69
+ /* Dropdown
70
+ -------------------------- */
71
+ /* Badge
72
+ -------------------------- */
73
+ /* Card
74
+ --------------------------*/
75
+ /* Slider
76
+ --------------------------*/
77
+ /* Steps
78
+ --------------------------*/
79
+ /* Menu
80
+ --------------------------*/
81
+ /* Rate
82
+ --------------------------*/
83
+ /* DatePicker
84
+ --------------------------*/
85
+ /* Loading
86
+ --------------------------*/
87
+ /* Scrollbar
88
+ --------------------------*/
89
+ /* Carousel
90
+ --------------------------*/
91
+ /* Collapse
92
+ --------------------------*/
93
+ /* Transfer
94
+ --------------------------*/
95
+ /* Header
96
+ --------------------------*/
97
+ /* Footer
98
+ --------------------------*/
99
+ /* Main
100
+ --------------------------*/
101
+ /* Timeline
102
+ --------------------------*/
103
+ /* Backtop
104
+ --------------------------*/
105
+ /* Link
106
+ --------------------------*/
107
+ /* Calendar
108
+ --------------------------*/
109
+ /* Form
110
+ -------------------------- */
111
+ /* Avatar
112
+ --------------------------*/
113
+ /* Break-point
114
+ --------------------------*/
115
+ /* Break-points
116
+ -------------------------- */
117
+ /* Scrollbar
118
+ -------------------------- */
119
+ /* Placeholder
120
+ -------------------------- */
121
+ /* BEM
122
+ -------------------------- */
123
+ ._buttonGroup_aulto_123 {
124
+ display: inline-flex;
125
+ }
126
+ ._buttonGroup_aulto_123 > .button {
127
+ border-right: 1px solid var(--button-font-color, var(--color-button-primary-font));
128
+ }
129
+ ._buttonGroup_aulto_123 > .button:not(:first-child) {
130
+ border-radius: 0;
131
+ }
132
+ ._buttonGroup_aulto_123 > .button:first-child {
133
+ border-top-right-radius: 0;
134
+ border-bottom-right-radius: 0;
135
+ }
136
+ ._buttonGroupDropdown_aulto_137 {
137
+ border-top-left-radius: 0;
138
+ border-bottom-left-radius: 0;
139
+ }/* BEM support Func
140
+ -------------------------- */
141
+ /* Transition
142
+ -------------------------- */
143
+ /* Color
144
+ -------------------------- */
145
+ /* Link
146
+ -------------------------- */
147
+ /* Border
148
+ -------------------------- */
149
+ /* Outline
150
+ -------------------------- */
151
+ /* Box shadow
152
+ -------------------------- */
153
+ /* Fill
154
+ -------------------------- */
155
+ /* Typography
156
+ -------------------------- */
157
+ /* z-index
158
+ -------------------------- */
159
+ /* Disable base
160
+ -------------------------- */
161
+ /* Icon
162
+ -------------------------- */
163
+ /* Checkbox
164
+ -------------------------- */
165
+ /* Radio
166
+ -------------------------- */
167
+ /* Select
168
+ -------------------------- */
169
+ /* Alert
170
+ -------------------------- */
171
+ /* MessageBox
172
+ -------------------------- */
173
+ /* Message
174
+ -------------------------- */
175
+ /* Notification
176
+ -------------------------- */
177
+ /* Input
178
+ -------------------------- */
179
+ /* Cascader
180
+ -------------------------- */
181
+ /* Group
182
+ -------------------------- */
183
+ /* Tab
184
+ -------------------------- */
185
+ /* Button
186
+ -------------------------- */
187
+ /* cascader
188
+ -------------------------- */
189
+ /* Switch
190
+ -------------------------- */
191
+ /* Dialog
192
+ -------------------------- */
193
+ /* Table
194
+ -------------------------- */
195
+ /* Pagination
196
+ -------------------------- */
197
+ /* Popup
198
+ -------------------------- */
199
+ /* Popover
200
+ -------------------------- */
201
+ /* Tooltip
202
+ -------------------------- */
203
+ /* Tag
204
+ -------------------------- */
205
+ /* Tree
206
+ -------------------------- */
207
+ /* Dropdown
208
+ -------------------------- */
209
+ /* Badge
210
+ -------------------------- */
211
+ /* Card
212
+ --------------------------*/
213
+ /* Slider
214
+ --------------------------*/
215
+ /* Steps
216
+ --------------------------*/
217
+ /* Menu
218
+ --------------------------*/
219
+ /* Rate
220
+ --------------------------*/
221
+ /* DatePicker
222
+ --------------------------*/
223
+ /* Loading
224
+ --------------------------*/
225
+ /* Scrollbar
226
+ --------------------------*/
227
+ /* Carousel
228
+ --------------------------*/
229
+ /* Collapse
230
+ --------------------------*/
231
+ /* Transfer
232
+ --------------------------*/
233
+ /* Header
234
+ --------------------------*/
235
+ /* Footer
236
+ --------------------------*/
237
+ /* Main
238
+ --------------------------*/
239
+ /* Timeline
240
+ --------------------------*/
241
+ /* Backtop
242
+ --------------------------*/
243
+ /* Link
244
+ --------------------------*/
245
+ /* Calendar
246
+ --------------------------*/
247
+ /* Form
248
+ -------------------------- */
249
+ /* Avatar
250
+ --------------------------*/
251
+ /* Break-point
252
+ --------------------------*/
253
+ /* Break-points
254
+ -------------------------- */
255
+ /* Scrollbar
256
+ -------------------------- */
257
+ /* Placeholder
258
+ -------------------------- */
259
+ /* BEM
260
+ -------------------------- */
261
+ ._projectHeader_rok4y_123,
262
+ ._projectDescription_rok4y_124 {
263
+ display: flex;
264
+ align-items: center;
265
+ justify-content: space-between;
266
+ padding-bottom: var(--spacing-m);
267
+ min-height: var(--spacing-3xl);
268
+ }
269
+ ._projectDetails_rok4y_132 {
270
+ display: flex;
271
+ align-items: center;
272
+ }
273
+ ._actions_rok4y_137 {
274
+ padding: var(--spacing-2xs) 0 var(--spacing-xs);
275
+ }
276
+ @media screen and (max-width: 767px) {
277
+ ._projectHeader_rok4y_123 {
278
+ flex-direction: column;
279
+ align-items: flex-start;
280
+ gap: var(--spacing-xs);
281
+ }
282
+ ._headerActions_rok4y_147 {
283
+ margin-left: auto;
284
+ }
285
+ }
@@ -1,6 +1,5 @@
1
- import { d as defineComponent, W as useRoute, r as ref, q as computed, I as watch, c as openBlock, e as createBlock, m as resolveComponent, V as VIEWS, g as useI18n, b as useRouter, a2 as useProjectsStore, a1 as useSourceControlStore, p as useSettingsStore, h as createElementBlock, j as createBaseVNode, n as normalizeClass, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, v as renderSlot, l as unref, f as createCommentVNode, cR as N8nButton, b0 as mergeProps, aQ as N8nTooltip, ga as __unplugin_components_0, g9 as ProjectTypes, am as getResourcePermissions, _ as _export_sfc } from "./index-ntAcmC2q.js";
2
- import { P as ProjectCreateResource } from "./ProjectCreateResource-5lC9x1Ht.js";
3
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1
+ import { d as defineComponent, U as useRoute, r as ref, q as computed, V as VIEWS, c as useI18n, I as watch, h as resolveComponent, e as createBlock, g as openBlock, i as createElementBlock, n as normalizeClass, x as renderSlot, j as createVNode, m as unref, g8 as N8nActionToggle, w as withCtx, aT as _sfc_main$3, _ as _export_sfc, b as useRouter, a3 as useProjectsStore, a2 as useSourceControlStore, p as useSettingsStore, ac as ProjectTypes, a8 as getResourcePermissions, k as createBaseVNode, f as createCommentVNode, l as createTextVNode, t as toDisplayString, b9 as N8nButton, b2 as mergeProps, aR as N8nTooltip } from "./index-CDluwnbb.js";
2
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4
3
  __name: "ProjectTabs",
5
4
  props: {
6
5
  showSettings: { type: Boolean }
@@ -81,6 +80,58 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
81
80
  };
82
81
  }
83
82
  });
83
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
84
+ __name: "ProjectCreateResource",
85
+ props: {
86
+ actions: {},
87
+ disabled: { type: Boolean },
88
+ type: {}
89
+ },
90
+ emits: ["action"],
91
+ setup(__props, { expose: __expose, emit: __emit }) {
92
+ const emit = __emit;
93
+ const actionToggleRef = ref(null);
94
+ __expose({
95
+ openActionToggle: (isOpen) => actionToggleRef.value?.openActionToggle(isOpen)
96
+ });
97
+ return (_ctx, _cache) => {
98
+ return openBlock(), createElementBlock("div", {
99
+ class: normalizeClass([_ctx.$style.buttonGroup])
100
+ }, [
101
+ renderSlot(_ctx.$slots, "default"),
102
+ createVNode(unref(N8nActionToggle), {
103
+ ref_key: "actionToggleRef",
104
+ ref: actionToggleRef,
105
+ "data-test-id": "add-resource",
106
+ actions: _ctx.actions,
107
+ placement: "bottom-end",
108
+ teleported: false,
109
+ onAction: _cache[0] || (_cache[0] = ($event) => emit("action", $event))
110
+ }, {
111
+ default: withCtx(() => [
112
+ createVNode(unref(_sfc_main$3), {
113
+ disabled: _ctx.disabled,
114
+ class: normalizeClass([_ctx.$style.buttonGroupDropdown]),
115
+ icon: "angle-down",
116
+ type: _ctx.type ?? "primary"
117
+ }, null, 8, ["disabled", "class", "type"])
118
+ ]),
119
+ _: 1
120
+ }, 8, ["actions"])
121
+ ], 2);
122
+ };
123
+ }
124
+ });
125
+ const buttonGroup = "_buttonGroup_aulto_123";
126
+ const buttonGroupDropdown = "_buttonGroupDropdown_aulto_137";
127
+ const style0$1 = {
128
+ buttonGroup,
129
+ buttonGroupDropdown
130
+ };
131
+ const cssModules$1 = {
132
+ "$style": style0$1
133
+ };
134
+ const ProjectCreateResource = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
84
135
  const _hoisted_1 = { key: 0 };
85
136
  const _sfc_main = /* @__PURE__ */ defineComponent({
86
137
  __name: "ProjectHeader",
@@ -93,15 +144,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
93
144
  const sourceControlStore = useSourceControlStore();
94
145
  const settingsStore = useSettingsStore();
95
146
  const emit = __emit;
96
- const headerIcon = computed(() => {
97
- if (projectsStore.currentProject?.type === ProjectTypes.Personal) {
98
- return { type: "icon", value: "user" };
99
- } else if (projectsStore.currentProject?.name) {
100
- return projectsStore.currentProject.icon ?? { type: "icon", value: "layer-group" };
101
- } else {
102
- return { type: "icon", value: "home" };
103
- }
104
- });
105
147
  const projectName = computed(() => {
106
148
  if (!projectsStore.currentProject) {
107
149
  return i18n.baseText("projects.menu.overview");
@@ -118,7 +160,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
118
160
  () => !!route?.params?.projectId && !!projectPermissions.value.update && projectsStore.currentProject?.type === ProjectTypes.Team
119
161
  );
120
162
  const homeProject = computed(() => projectsStore.currentProject ?? projectsStore.personalProject);
121
- const isFoldersFeatureEnabled = computed(() => settingsStore.settings.folders.enabled);
163
+ const showFolders = computed(() => {
164
+ return settingsStore.isFoldersFeatureEnabled && route.name !== VIEWS.WORKFLOWS;
165
+ });
122
166
  const ACTION_TYPES = {
123
167
  WORKFLOW: "workflow",
124
168
  CREDENTIAL: "credential",
@@ -139,11 +183,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
139
183
  disabled: sourceControlStore.preferences.branchReadOnly || !getResourcePermissions(homeProject.value?.scopes).credential.create
140
184
  }
141
185
  ];
142
- if (isFoldersFeatureEnabled.value) {
186
+ if (showFolders.value) {
143
187
  items.push({
144
188
  value: ACTION_TYPES.FOLDER,
145
189
  label: i18n.baseText("projects.header.create.folder"),
146
- disabled: false
190
+ disabled: sourceControlStore.preferences.branchReadOnly || !getResourcePermissions(homeProject.value?.scopes).folder.create
147
191
  });
148
192
  }
149
193
  return items;
@@ -179,7 +223,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
179
223
  executableAction(homeProject.value.id);
180
224
  };
181
225
  return (_ctx, _cache) => {
182
- const _component_ProjectIcon = __unplugin_components_0;
183
226
  const _component_N8nHeading = resolveComponent("N8nHeading");
184
227
  const _component_N8nText = resolveComponent("N8nText");
185
228
  return openBlock(), createElementBlock("div", null, [
@@ -189,11 +232,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
189
232
  createBaseVNode("div", {
190
233
  class: normalizeClass(_ctx.$style.projectDetails)
191
234
  }, [
192
- createVNode(_component_ProjectIcon, {
193
- icon: headerIcon.value,
194
- "border-less": true,
195
- size: "medium"
196
- }, null, 8, ["icon"]),
197
235
  createBaseVNode("div", {
198
236
  class: normalizeClass(_ctx.$style.headerActions)
199
237
  }, [
@@ -244,20 +282,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
244
282
  }, 8, ["disabled", "content"])
245
283
  ], 2)) : createCommentVNode("", true)
246
284
  ], 2),
285
+ renderSlot(_ctx.$slots, "default"),
247
286
  createBaseVNode("div", {
248
287
  class: normalizeClass(_ctx.$style.actions)
249
288
  }, [
250
- createVNode(_sfc_main$1, { "show-settings": showSettings.value }, null, 8, ["show-settings"])
289
+ createVNode(_sfc_main$2, { "show-settings": showSettings.value }, null, 8, ["show-settings"])
251
290
  ], 2)
252
291
  ]);
253
292
  };
254
293
  }
255
294
  });
256
- const projectHeader = "_projectHeader_m645v_123";
257
- const projectDescription = "_projectDescription_m645v_124";
258
- const projectDetails = "_projectDetails_m645v_132";
259
- const actions = "_actions_m645v_137";
260
- const headerActions = "_headerActions_m645v_147";
295
+ const projectHeader = "_projectHeader_rok4y_123";
296
+ const projectDescription = "_projectDescription_rok4y_124";
297
+ const projectDetails = "_projectDetails_rok4y_132";
298
+ const actions = "_actions_rok4y_137";
299
+ const headerActions = "_headerActions_rok4y_147";
261
300
  const style0 = {
262
301
  projectHeader,
263
302
  projectDescription,
@@ -1,6 +1,5 @@
1
- import { d as defineComponent, fn as mergeModels, fo as useModel, r as ref, q as computed, c as openBlock, e as createBlock, w as withCtx, i as createVNode, k as createTextVNode, t as toDisplayString, l as unref, J as withModifiers, j as createBaseVNode, h as createElementBlock, fL as ProjectSharing, n as normalizeClass, f as createCommentVNode, g as useI18n, m as resolveComponent, _ as _export_sfc, a6 as usePageRedirectionHelper, u as useUsersStore, a2 as useProjectsStore, gs as useRolesStore, aI as useCloudPlanStore, a as useToast, b as useRouter, a4 as useDocumentTitle, gt as getAllIconNames, I as watch, aw as onBeforeMount, o as onMounted, cQ as N8nFormInput, F as Fragment, B as renderList, V as VIEWS, bV as deepCopy, z as nextTick, ak as useTelemetry } from "./index-ntAcmC2q.js";
2
- import { P as ProjectHeader } from "./ProjectHeader-BY3TAX3C.js";
3
- import "./ProjectCreateResource-5lC9x1Ht.js";
1
+ import { d as defineComponent, fI as mergeModels, fJ as useModel, r as ref, q as computed, c as useI18n, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, j as createVNode, k as createBaseVNode, l as createTextVNode, t as toDisplayString, m as unref, i as createElementBlock, f as createCommentVNode, n as normalizeClass, fW as ProjectSharing, J as withModifiers, _ as _export_sfc, a7 as usePageRedirectionHelper, u as useUsersStore, a3 as useProjectsStore, gG as useRolesStore, aJ as useCloudPlanStore, a as useToast, b as useRouter, a5 as useDocumentTitle, gH as getAllIconNames, I as watch, aA as onBeforeMount, o as onMounted, d0 as N8nFormInput, F as Fragment, D as renderList, c1 as deepCopy, ah as useTelemetry, z as nextTick, V as VIEWS } from "./index-CDluwnbb.js";
2
+ import { P as ProjectHeader } from "./ProjectHeader-BGrFY-5v.js";
4
3
  const _hoisted_1$2 = { class: "pt-l" };
5
4
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6
5
  __name: "ProjectDeleteDialog",
@@ -1,5 +1,5 @@
1
- import { u as usePushConnectionStore } from "./pushConnection.store-Cs7MLBaJ.js";
2
- import { d as defineComponent, q as computed, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, ax as withDirectives, l as unref, j as createBaseVNode, k as createTextVNode, t as toDisplayString, v as renderSlot, g as useI18n, m as resolveComponent, bW as resolveDirective } from "./index-ntAcmC2q.js";
1
+ import { u as usePushConnectionStore } from "./pushConnection.store-Dl_VgTY2.js";
2
+ import { d as defineComponent, q as computed, h as resolveComponent, c2 as resolveDirective, i as createElementBlock, g as openBlock, x as renderSlot, j as createVNode, w as withCtx, k as createBaseVNode, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, aB as withDirectives } from "./index-CDluwnbb.js";
3
3
  const _hoisted_1 = {
4
4
  key: 0,
5
5
  class: "push-connection-lost primary-color"