n8n-editor-ui 1.97.0 → 1.97.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 (102) hide show
  1. package/dist/assets/{AnimatedSpinner-BbE6jHOu.js → AnimatedSpinner-15ZZp0OO.js} +1 -1
  2. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BZ2GH0iH.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CrF4ktlo.js} +1 -1
  3. package/dist/assets/{AuthView-CrlqfMI5.js → AuthView-64US-Z-m.js} +2 -2
  4. package/dist/assets/{CanvasChatSwitch-C3NWFgk4.js → CanvasChatSwitch-D1N7Xp_1.js} +8 -8
  5. package/dist/assets/{ChangePasswordView-DBFF8086.js → ChangePasswordView-Y_vO8rQ4.js} +3 -3
  6. package/dist/assets/CollectionParameter-DOqrZmRA.js +4 -0
  7. package/dist/assets/{CredentialsView-B9s5TscM.js → CredentialsView-B90NtMag.js} +7 -7
  8. package/dist/assets/{DemoFooter-DZ9uJIf9.js → DemoFooter-DpmRLCPd.js} +6 -6
  9. package/dist/assets/{ErrorView-B6u3dXpH.js → ErrorView-B5-OZKdh.js} +1 -1
  10. package/dist/assets/{EvaluationsRootView-C1FnaqZ_.js → EvaluationsRootView-6cGJTYGC.js} +1 -1
  11. package/dist/assets/{EvaluationsView-CYXSwzgF.js → EvaluationsView-DkIkcLrr.js} +3 -3
  12. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-Ceq2psmv.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-hCFNZKpq.js} +2 -2
  13. package/dist/assets/{ExecutionsView-Cc64SfIc.js → ExecutionsView-cA-SzEOo.js} +8 -8
  14. package/dist/assets/{FileSaver.min-Disj8eb5.js → FileSaver.min-Bv-Q_h7m.js} +1 -1
  15. package/dist/assets/{FixedCollectionParameter-DrqR-CZn.js → FixedCollectionParameter-3cfdvUwK.js} +1 -1
  16. package/dist/assets/{ForgotMyPasswordView-DnoUd6bs.js → ForgotMyPasswordView-Cv7uhij6.js} +3 -3
  17. package/dist/assets/{InsightsChartAverageRuntime-BaVGCN4s.js → InsightsChartAverageRuntime-Cr7taDDn.js} +4 -4
  18. package/dist/assets/{InsightsChartFailed--Ck66zdr.js → InsightsChartFailed-Cm5FrmfQ.js} +4 -4
  19. package/dist/assets/{InsightsChartFailureRate-BEnyD778.js → InsightsChartFailureRate-Ci-cBou0.js} +4 -4
  20. package/dist/assets/{InsightsChartTimeSaved-Chx9AJ6h.js → InsightsChartTimeSaved-CMBBA9I4.js} +4 -4
  21. package/dist/assets/{InsightsChartTotal-BNA21_XU.js → InsightsChartTotal-Dxn2bjBB.js} +4 -4
  22. package/dist/assets/{InsightsDashboard-Bsy2cANM.js → InsightsDashboard-BvqZMhnh.js} +10 -10
  23. package/dist/assets/{InsightsPaywall-GPfXhmE2.js → InsightsPaywall-4Vl-4bws.js} +1 -1
  24. package/dist/assets/{InsightsSummary-B5VSOlKK.js → InsightsSummary-CTzqNpAf.js} +1 -1
  25. package/dist/assets/{InsightsTableWorkflows-6-29Fbmj.js → InsightsTableWorkflows-DgCECSSh.js} +2 -2
  26. package/dist/assets/{Logo-Bt_6IpKO.js → Logo-B8GIjJ79.js} +1 -1
  27. package/dist/assets/{LogsPanel-BOr-dFe3.js → LogsPanel-CsNXIuce.js} +3 -3
  28. package/dist/assets/{MainHeader-C6Jx0rXI.js → MainHeader-B2RGao3U.js} +9 -9
  29. package/dist/assets/{MainSidebar-BXXytBar.js → MainSidebar-E0ePOcg-.js} +2 -2
  30. package/dist/assets/{NodeCreation-BIfVMPa7.js → NodeCreation-B6jElzI2.js} +3 -3
  31. package/dist/assets/{NodeCreator-DLiTvqLI.js → NodeCreator-Bd2BI_OU.js} +2 -2
  32. package/dist/assets/{NodeDetailsView-BDF0fGMs.js → NodeDetailsView-BLMLHNQw.js} +8 -8
  33. package/dist/assets/{NodeView-DgdMFdhk.js → NodeView-C4qNUqxt.js} +11 -11
  34. package/dist/assets/{ProjectCardBadge-CofRlXsk.js → ProjectCardBadge-be4FNX6y.js} +1 -1
  35. package/dist/assets/{ProjectHeader-BvA7Wpwr.js → ProjectHeader-CsHp0dpi.js} +2 -2
  36. package/dist/assets/{ProjectSettings-CrDC-3_3.js → ProjectSettings-t5UigWKy.js} +3 -3
  37. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DxNGSSoO.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-Dpfsxn-o.js} +1 -1
  38. package/dist/assets/{ResourcesListLayout-qljecvR-.js → ResourcesListLayout-DLThke_K.js} +2 -2
  39. package/dist/assets/{RunData-CYDMlaQ6.js → RunData-u5uBr_cv.js} +28 -28
  40. package/dist/assets/{RunDataAi-CxdjuP0A.js → RunDataAi-DZzXTVdi.js} +3 -3
  41. package/dist/assets/{RunDataJson-D5izLqQI.js → RunDataJson-CeZYY8D_.js} +6 -6
  42. package/dist/assets/{RunDataJsonActions-DAaYLHZc.js → RunDataJsonActions-BRAsiSnM.js} +1 -1
  43. package/dist/assets/{RunDataParsedAiContent-DHxyWJHq.js → RunDataParsedAiContent-C1lte0Et.js} +4 -4
  44. package/dist/assets/{RunDataSearch-TEurtb6F.js → RunDataSearch-BP_FSk35.js} +1 -1
  45. package/dist/assets/{RunDataTable-s1WZYFih.js → RunDataTable-CQghTfxP.js} +2 -2
  46. package/dist/assets/{SamlOnboarding-DiA_qmVn.js → SamlOnboarding-CWTnplHM.js} +3 -3
  47. package/dist/assets/{SettingsApiView-DeQV4O5K.js → SettingsApiView-BskWDsE-.js} +1 -1
  48. package/dist/assets/{SettingsCommunityNodesView-C6qJjOCf.js → SettingsCommunityNodesView-JUjLtmC0.js} +4 -4
  49. package/dist/assets/{SettingsExternalSecrets-kDlbID-f.js → SettingsExternalSecrets-BOJ40YuL.js} +1 -1
  50. package/dist/assets/{SettingsLdapView-C3NEUPyD.js → SettingsLdapView-CT-V5pbv.js} +1 -1
  51. package/dist/assets/{SettingsLogStreamingView-BgCKenqc.js → SettingsLogStreamingView-_G1aTzAD.js} +1 -1
  52. package/dist/assets/{SettingsPersonalView-Dp-2_nD5.js → SettingsPersonalView-BzzZLVh4.js} +1 -1
  53. package/dist/assets/{SettingsSourceControl-BV2_t2Wa.js → SettingsSourceControl-Bte_2m43.js} +1 -1
  54. package/dist/assets/{SettingsSso-D_XFdxcB.js → SettingsSso-Di8rSq_x.js} +1 -1
  55. package/dist/assets/{SettingsUsageAndPlan-BAVUu2N4.js → SettingsUsageAndPlan-CwaYHjbQ.js} +1 -1
  56. package/dist/assets/{SettingsUsersView-CQapkyv7.js → SettingsUsersView-DQbemH_k.js} +1 -1
  57. package/dist/assets/{SettingsView--1XR6uFD.js → SettingsView-DhqdV7_S.js} +1 -1
  58. package/dist/assets/{SetupView-DG1s9QDh.js → SetupView-BOZr75Am.js} +3 -3
  59. package/dist/assets/{SetupWorkflowCredentialsButton-ZIVPumDO.js → SetupWorkflowCredentialsButton-DFtZhM9C.js} +1 -1
  60. package/dist/assets/{SetupWorkflowFromTemplateView-D7uZMweH.js → SetupWorkflowFromTemplateView-CTMDcuGm.js} +3 -3
  61. package/dist/assets/{SigninView-KCgNlhVY.js → SigninView-DY-vQ0LU.js} +3 -3
  62. package/dist/assets/{SignoutView-pE0DDq5n.js → SignoutView-B8rfrg6C.js} +1 -1
  63. package/dist/assets/{SignupView-D2f_BLTD.js → SignupView-BxrYV76w.js} +3 -3
  64. package/dist/assets/{TemplateDetails-BSsv4B85.js → TemplateDetails-DVQ2nLZj.js} +1 -1
  65. package/dist/assets/{TemplateList-B1Ar74SB.js → TemplateList-DPouUB38.js} +1 -1
  66. package/dist/assets/{TemplatesCollectionView-BZGuPEOb.js → TemplatesCollectionView-O7noND46.js} +5 -5
  67. package/dist/assets/{TemplatesSearchView-qjVhluXk.js → TemplatesSearchView-Bg5DxRv0.js} +3 -3
  68. package/dist/assets/{TemplatesView-ubkT9s02.js → TemplatesView-BnzdRWmO.js} +1 -1
  69. package/dist/assets/{TemplatesWorkflowView-Cyp0osv7.js → TemplatesWorkflowView-B_6tDGsp.js} +5 -5
  70. package/dist/assets/{VariablesView-DqqeMAgz.js → VariablesView-DzrhNxAe.js} +4 -4
  71. package/dist/assets/{WorkerView-BupSGWdO.js → WorkerView-CC1X8IeJ.js} +6 -6
  72. package/dist/assets/{WorkflowActivator-D-Hnqidn.js → WorkflowActivator-C30ojCUO.js} +2 -2
  73. package/dist/assets/{WorkflowExecutionsInfoAccordion-DbWLcKUA.js → WorkflowExecutionsInfoAccordion-XaZEx8v7.js} +1 -1
  74. package/dist/assets/{WorkflowExecutionsLandingPage-LVa1eb_l.js → WorkflowExecutionsLandingPage-8aAYw87x.js} +2 -2
  75. package/dist/assets/{WorkflowExecutionsPreview-BxTjr1vz.js → WorkflowExecutionsPreview-CpAsFXP1.js} +5 -5
  76. package/dist/assets/{WorkflowExecutionsView-BZSYh9z9.js → WorkflowExecutionsView-DR67gC3V.js} +6 -6
  77. package/dist/assets/{WorkflowHistory-JVBDHINt.js → WorkflowHistory-eAJEV9yu.js} +3 -3
  78. package/dist/assets/{WorkflowOnboardingView-Dy-1IC0L.js → WorkflowOnboardingView-BjyAt8Oq.js} +1 -1
  79. package/dist/assets/{WorkflowPreview-Cigbt4bL.js → WorkflowPreview-BxWA_Uiv.js} +1 -1
  80. package/dist/assets/{WorkflowsView-CT_wTBkN.js → WorkflowsView-iKkH1nVB.js} +112 -75
  81. package/dist/assets/{canvas-hESuR4Ii.js → canvas-BzAUJmlt.js} +1 -1
  82. package/dist/assets/{chartjs.utils-B_2Gs6jF.js → chartjs.utils-CC0SyVUG.js} +2 -2
  83. package/dist/assets/{easyAiWorkflowUtils-Cr-_M_d8.js → easyAiWorkflowUtils-H7-jyGZy.js} +1 -1
  84. package/dist/assets/en-D5Q1-BWp.js +3183 -0
  85. package/dist/assets/{global-link-actions-kPS4H23l.js → global-link-actions-zn0GER90.js} +1 -1
  86. package/dist/assets/{import-curl-DF3kL2Uq.js → import-curl-D7BhanPS.js} +1 -1
  87. package/dist/assets/{index-CnOUgoOS.js → index-CAyQE60i.js} +1 -1
  88. package/dist/assets/{index-CYJmC7Ra.js → index-HDYArLT1.js} +3970 -10287
  89. package/dist/assets/{pickBy-BJdh6yK0.js → pickBy-2p7dSPXv.js} +1 -1
  90. package/dist/assets/{templateActions-k3pgfZxR.js → templateActions-CxINaftd.js} +1 -1
  91. package/dist/assets/{useBeforeUnload-BUo1Q8qu.js → useBeforeUnload-DkY263Ue.js} +1 -1
  92. package/dist/assets/{useExecutionDebugging-D7uUVejC.js → useExecutionDebugging-BrUGp6HK.js} +1 -1
  93. package/dist/assets/{useExecutionHelpers-C3ME9bsC.js → useExecutionHelpers-Dulw8xCc.js} +1 -1
  94. package/dist/assets/{useImportCurlCommand-CAgwrnW9.js → useImportCurlCommand-CjFFwjFi.js} +2 -2
  95. package/dist/assets/{useProjectPages-vmgKLBn6.js → useProjectPages-DGU7KQ6y.js} +1 -1
  96. package/dist/assets/{usePushConnection-v75Wib9I.js → usePushConnection-4FO744xJ.js} +3 -3
  97. package/dist/assets/{useWorkflowActivate-CDImNya8.js → useWorkflowActivate-CUShgia-.js} +1 -1
  98. package/dist/assets/{useWorkflowSaving-C8feAx2_.js → useWorkflowSaving-oozcXWTy.js} +1 -1
  99. package/dist/index.html +2 -2
  100. package/package.json +1 -1
  101. package/dist/assets/CollectionParameter-BKrbv9MJ.js +0 -4
  102. package/dist/assets/{polyfills-CcXIOoWM.js → polyfills-J2x06Gdp.js} +3779 -3779
@@ -1,6 +1,6 @@
1
- import { A as defineComponent, C as resolveComponent, $ as createBlock, H as openBlock, bA as mergeProps, aW as createSlots, K as withCtx, L as createBaseVNode, O as toDisplayString, aF as normalizeClass, I as renderSlot, J as createVNode, av as _export_sfc, bg as normalizeStyle, R as withDirectives, N as createTextVNode, Q as unref, b as useI18n, aY as vShow, ei as orderBy, eR as throttle, G as createElementBlock, an as createCommentVNode, aN as Fragment, aO as renderList, r as ref, ae as watch, ac as onMounted, cv as nextTick, b3 as onBeforeMount, c as computed, be as useDebounce, k as useToast, aJ as useDocumentTitle, l as useSettingsStore, au as useTemplatesStore, al as useUsersStore, a6 as useRoute, j as useRouter, dM as onBeforeRouteLeave, F as resolveDirective, eS as CREATOR_HUB_URL, V as VIEWS, o as useTelemetry } from "./index-CYJmC7Ra.js";
2
- import { N as NodeList, T as TemplateList } from "./TemplateList-B1Ar74SB.js";
3
- import { T as TemplatesView } from "./TemplatesView-ubkT9s02.js";
1
+ import { d as defineComponent, h as resolveComponent, e as createBlock, g as openBlock, b8 as mergeProps, aV as createSlots, w as withCtx, k as createBaseVNode, t as toDisplayString, n as normalizeClass, x as renderSlot, j as createVNode, _ as _export_sfc, B as normalizeStyle, aA as withDirectives, l as createTextVNode, m as unref, c as useI18n, aB as vShow, eo as orderBy, ep as throttle, i as createElementBlock, f as createCommentVNode, F as Fragment, D as renderList, r as ref, X as watch, o as onMounted, z as nextTick, az as onBeforeMount, q as computed, G as useDebounce, a as useToast, a4 as useDocumentTitle, p as useSettingsStore, aN as useTemplatesStore, u as useUsersStore, R as useRoute, b as useRouter, dh as onBeforeRouteLeave, bN as resolveDirective, eq as CREATOR_HUB_URL, V as VIEWS, ag as useTelemetry } from "./index-HDYArLT1.js";
2
+ import { N as NodeList, T as TemplateList } from "./TemplateList-DPouUB38.js";
3
+ import { T as TemplatesView } from "./TemplatesView-BnzdRWmO.js";
4
4
  const _hoisted_1$3 = ["textContent"];
5
5
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6
6
  __name: "CollectionWorkflowCard",
@@ -1,4 +1,4 @@
1
- import { A as defineComponent, j as useRouter, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, J as createVNode, L as createBaseVNode, O as toDisplayString, Q as unref, b as useI18n, V as VIEWS, av as _export_sfc, an as createCommentVNode, I as renderSlot } from "./index-CYJmC7Ra.js";
1
+ import { d as defineComponent, b as useRouter, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, V as VIEWS, _ as _export_sfc, f as createCommentVNode, x as renderSlot } from "./index-HDYArLT1.js";
2
2
  const _hoisted_1 = ["textContent"];
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "GoBackButton",
@@ -1,8 +1,8 @@
1
- import { _ as __unplugin_components_1 } from "./TemplateDetails-BSsv4B85.js";
2
- import { W as WorkflowPreview } from "./WorkflowPreview-Cigbt4bL.js";
3
- import { A as defineComponent, au as useTemplatesStore, aq as useNodeTypesStore, a6 as useRoute, j as useRouter, aJ as useDocumentTitle, r as ref, c as computed, ae as watch, ac as onMounted, C as resolveComponent, $ as createBlock, H as openBlock, aW as createSlots, K as withCtx, L as createBaseVNode, aF as normalizeClass, an as createCommentVNode, J as createVNode, Q as unref, b as useI18n, G as createElementBlock, N as createTextVNode, O as toDisplayString, o as useTelemetry, U as useExternalHooks, av as _export_sfc } from "./index-CYJmC7Ra.js";
4
- import { u as useTemplateWorkflow } from "./templateActions-k3pgfZxR.js";
5
- import { T as TemplatesView } from "./TemplatesView-ubkT9s02.js";
1
+ import { _ as __unplugin_components_1 } from "./TemplateDetails-DVQ2nLZj.js";
2
+ import { W as WorkflowPreview } from "./WorkflowPreview-BxWA_Uiv.js";
3
+ import { d as defineComponent, aN as useTemplatesStore, bz as useNodeTypesStore, R as useRoute, b as useRouter, a4 as useDocumentTitle, r as ref, q as computed, X as watch, o as onMounted, h as resolveComponent, e as createBlock, g as openBlock, aV as createSlots, w as withCtx, k as createBaseVNode, n as normalizeClass, f as createCommentVNode, j as createVNode, m as unref, c as useI18n, i as createElementBlock, l as createTextVNode, t as toDisplayString, ag as useTelemetry, aP as useExternalHooks, _ as _export_sfc } from "./index-HDYArLT1.js";
4
+ import { u as useTemplateWorkflow } from "./templateActions-CxINaftd.js";
5
+ import { T as TemplatesView } from "./TemplatesView-BnzdRWmO.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "TemplatesWorkflowView",
8
8
  setup(__props) {
@@ -1,7 +1,7 @@
1
- import { A as defineComponent, aS as useClipboard, k as useToast, c as computed, $ as createBlock, H as openBlock, Q as unref, bj as N8nTooltip, K as withCtx, L as createBaseVNode, O as toDisplayString, N as createTextVNode, b as useI18n, av as _export_sfc, a7 as reactive, af as toRaw, r as ref, G as createElementBlock, J as createVNode, dg as N8nFormInput, an as createCommentVNode, b9 as N8nButton, l as useSettingsStore, cT as useEnvironmentsStore, al as useUsersStore, u as useUIStore, ao as useSourceControlStore, a6 as useRoute, j as useRouter, cm as useTemplateRef, bt as getResourcePermissions, dz as useAsyncState, E as EnterpriseEditionFeature, m as usePageRedirectionHelper, ac as onMounted, aJ as useDocumentTitle, C as resolveComponent, aW as createSlots, dA as N8nActionBox, bA as mergeProps, dB as normalizeProps, aN as Fragment, dC as N8nBadge, b5 as N8nInputLabel, cR as N8nCheckbox, dD as uid, o as useTelemetry, g as useMessage, i as MODAL_CONFIRM } from "./index-CYJmC7Ra.js";
2
- import { R as ResourcesListLayout } from "./ResourcesListLayout-qljecvR-.js";
3
- import { p as pickBy } from "./pickBy-BJdh6yK0.js";
4
- import "./useProjectPages-vmgKLBn6.js";
1
+ import { d as defineComponent, bg as useClipboard, a as useToast, q as computed, e as createBlock, g as openBlock, m as unref, aR as N8nTooltip, w as withCtx, k as createBaseVNode, t as toDisplayString, l as createTextVNode, c as useI18n, _ as _export_sfc, d2 as reactive, er as toRaw, r as ref, i as createElementBlock, j as createVNode, es as N8nFormInput, f as createCommentVNode, bh as N8nButton, p as useSettingsStore, d4 as useEnvironmentsStore, u as useUsersStore, H as useUIStore, a0 as useSourceControlStore, R as useRoute, b as useRouter, aZ as useTemplateRef, a7 as getResourcePermissions, et as useAsyncState, aa as EnterpriseEditionFeature, a6 as usePageRedirectionHelper, o as onMounted, a4 as useDocumentTitle, h as resolveComponent, aV as createSlots, eu as N8nActionBox, b8 as mergeProps, b5 as normalizeProps, F as Fragment, ev as N8nBadge, ew as N8nInputLabel, ex as N8nCheckbox, ey as uid, ag as useTelemetry, ai as useMessage, aj as MODAL_CONFIRM } from "./index-HDYArLT1.js";
2
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-DLThke_K.js";
3
+ import { p as pickBy } from "./pickBy-2p7dSPXv.js";
4
+ import "./useProjectPages-DGU7KQ6y.js";
5
5
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6
6
  __name: "VariablesUsageBadge",
7
7
  props: {
@@ -1,9 +1,9 @@
1
- import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-DxNGSSoO.js";
2
- import { A as defineComponent, r as ref, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, L as createBaseVNode, an as createCommentVNode, J as createVNode, K as withCtx, I as renderSlot, av as _export_sfc, $ as createBlock, aN as Fragment, aO as renderList, O as toDisplayString, N as createTextVNode, Q as unref, b as useI18n, aS as useClipboard, k as useToast, c as computed, er as sortByProperty, ac as onMounted, ad as onBeforeUnmount, j as useRouter, aJ as useDocumentTitle, p as useRootStore, B as usePushConnectionStore, o as useTelemetry, b3 as onBeforeMount, l as useSettingsStore, m as usePageRedirectionHelper } from "./index-CYJmC7Ra.js";
3
- import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-v75Wib9I.js";
4
- import { C as Chart } from "./index-CnOUgoOS.js";
5
- import "./easyAiWorkflowUtils-Cr-_M_d8.js";
6
- import "./global-link-actions-kPS4H23l.js";
1
+ import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-Dpfsxn-o.js";
2
+ import { d as defineComponent, r as ref, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, j as createVNode, w as withCtx, x as renderSlot, _ as _export_sfc, e as createBlock, F as Fragment, D as renderList, t as toDisplayString, l as createTextVNode, m as unref, c as useI18n, bg as useClipboard, a as useToast, q as computed, aL as sortByProperty, o as onMounted, y as onBeforeUnmount, b as useRouter, a4 as useDocumentTitle, Z as useRootStore, P as usePushConnectionStore, ag as useTelemetry, az as onBeforeMount, p as useSettingsStore, a6 as usePageRedirectionHelper } from "./index-HDYArLT1.js";
3
+ import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-4FO744xJ.js";
4
+ import { C as Chart } from "./index-CAyQE60i.js";
5
+ import "./easyAiWorkflowUtils-H7-jyGZy.js";
6
+ import "./global-link-actions-zn0GER90.js";
7
7
  function averageWorkerLoadFromLoads(loads) {
8
8
  return loads.reduce((prev, curr) => prev + curr, 0) / loads.length;
9
9
  }
@@ -1,5 +1,5 @@
1
- import { A as defineComponent, c as computed, bx as ProjectTypes, b as useI18n, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, J as createVNode, K as withCtx, bB as ProjectIcon, N as createTextVNode, O as toDisplayString, av as _export_sfc, cK as useProjectsStore, dS as useFoldersStore, r as ref, ae as watch, ad as onBeforeUnmount, $ as createBlock, an as createCommentVNode, aW as createSlots, I as renderSlot, ac as onMounted, eu as onClickOutside, L as createBaseVNode, eM as withKeys, aH as withModifiers, T as createEventBus, Q as unref, k as useToast, u as useUIStore, j as useRouter, f as useWorkflowHelpers, e as useWorkflowsStore, bm as useCredentialsStore, eN as getActivatableTriggerNodes, eO as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, F as resolveDirective, R as withDirectives, eP as OPEN_AI_API_CREDENTIAL_TYPE, eQ as WORKFLOW_ACTIVATION_CONFLICTING_WEBHOOK_MODAL_KEY, n as h } from "./index-CYJmC7Ra.js";
2
- import { u as useWorkflowActivate } from "./useWorkflowActivate-CDImNya8.js";
1
+ import { d as defineComponent, q as computed, ab as ProjectTypes, c as useI18n, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, w as withCtx, eR as ProjectIcon, l as createTextVNode, t as toDisplayString, _ as _export_sfc, a1 as useProjectsStore, a2 as useFoldersStore, r as ref, X as watch, y as onBeforeUnmount, e as createBlock, f as createCommentVNode, aV as createSlots, x as renderSlot, o as onMounted, aQ as onClickOutside, k as createBaseVNode, be as withKeys, b3 as withModifiers, C as createEventBus, m as unref, a as useToast, H as useUIStore, b as useRouter, a5 as useWorkflowHelpers, Q as useWorkflowsStore, d3 as useCredentialsStore, eS as getActivatableTriggerNodes, eT as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, bN as resolveDirective, aA as withDirectives, eU as OPEN_AI_API_CREDENTIAL_TYPE, eV as WORKFLOW_ACTIVATION_CONFLICTING_WEBHOOK_MODAL_KEY, aq as h } from "./index-HDYArLT1.js";
2
+ import { u as useWorkflowActivate } from "./useWorkflowActivate-CUShgia-.js";
3
3
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
4
4
  __name: "ProjectBreadcrumb",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { A as defineComponent, j as useRouter, f as useWorkflowHelpers, l as useSettingsStore, u as useUIStore, e as useWorkflowsStore, d as useNpsSurveyStore, r as ref, c as computed, b as useI18n, aG as deepCopy, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, ae as watch, ac as onMounted, C as resolveComponent, $ as createBlock, H as openBlock, K as withCtx, L as createBaseVNode, N as createTextVNode, J as createVNode, O as toDisplayString, Q as unref, aH as withModifiers, aF as normalizeClass, aI as WORKFLOW_SETTINGS_MODAL_KEY, av as _export_sfc } from "./index-CYJmC7Ra.js";
1
+ import { d as defineComponent, b as useRouter, a5 as useWorkflowHelpers, p as useSettingsStore, H as useUIStore, Q as useWorkflowsStore, a3 as useNpsSurveyStore, r as ref, q as computed, c as useI18n, dA as deepCopy, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, X as watch, o as onMounted, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, k as createBaseVNode, l as createTextVNode, j as createVNode, t as toDisplayString, m as unref, b3 as withModifiers, n as normalizeClass, ak as WORKFLOW_SETTINGS_MODAL_KEY, _ as _export_sfc } from "./index-HDYArLT1.js";
2
2
  const _hoisted_1 = { class: "mt-2xs" };
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "WorkflowExecutionsInfoAccordion",
@@ -1,5 +1,5 @@
1
- import { A as defineComponent, j as useRouter, a6 as useRoute, u as useUIStore, e as useWorkflowsStore, c as computed, C as resolveComponent, G as createElementBlock, H as openBlock, an as createCommentVNode, aF as normalizeClass, J as createVNode, K as withCtx, N as createTextVNode, O as toDisplayString, Q as unref, b as useI18n, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, av as _export_sfc } from "./index-CYJmC7Ra.js";
2
- import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-DbWLcKUA.js";
1
+ import { d as defineComponent, b as useRouter, R as useRoute, H as useUIStore, Q as useWorkflowsStore, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, n as normalizeClass, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, _ as _export_sfc } from "./index-HDYArLT1.js";
2
+ import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-XaZEx8v7.js";
3
3
  const _hoisted_1 = {
4
4
  key: 0,
5
5
  "data-test-id": "workflow-execution-no-trigger-content"
@@ -1,8 +1,8 @@
1
- import { A as defineComponent, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, J as createVNode, av as _export_sfc, a$ as useExecutionsStore, k as useToast, r as ref, c as computed, F as resolveDirective, L as createBaseVNode, O as toDisplayString, Q as unref, b as useI18n, $ as createBlock, T as createEventBus, aN as Fragment, aO as renderList, K as withCtx, N as createTextVNode, R as withDirectives, o as useTelemetry, a6 as useRoute, e as useWorkflowsStore, l as useSettingsStore, bt as getResourcePermissions, E as EnterpriseEditionFeature, an as createCommentVNode, b4 as N8nText, b9 as N8nButton, dv as RouterLink, V as VIEWS, a_ as _sfc_main$4, dw as ElDropdownMenu, dx as ElDropdownItem, dy as ElDropdown, g as useMessage, i as MODAL_CONFIRM } from "./index-CYJmC7Ra.js";
2
- import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BZ2GH0iH.js";
3
- import { W as WorkflowPreview } from "./WorkflowPreview-Cigbt4bL.js";
4
- import { u as useExecutionDebugging } from "./useExecutionDebugging-D7uUVejC.js";
5
- import { u as useExecutionHelpers } from "./useExecutionHelpers-C3ME9bsC.js";
1
+ import { d as defineComponent, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, _ as _export_sfc, at as useExecutionsStore, a as useToast, r as ref, q as computed, bN as resolveDirective, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, e as createBlock, C as createEventBus, F as Fragment, D as renderList, w as withCtx, l as createTextVNode, aA as withDirectives, ag as useTelemetry, R as useRoute, Q as useWorkflowsStore, p as useSettingsStore, a7 as getResourcePermissions, aa as EnterpriseEditionFeature, f as createCommentVNode, bf as N8nText, bh as N8nButton, dB as RouterLink, V as VIEWS, aT as _sfc_main$4, dC as ElDropdownMenu, dD as ElDropdownItem, dE as ElDropdown, ai as useMessage, aj as MODAL_CONFIRM } from "./index-HDYArLT1.js";
2
+ import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CrF4ktlo.js";
3
+ import { W as WorkflowPreview } from "./WorkflowPreview-BxWA_Uiv.js";
4
+ import { u as useExecutionDebugging } from "./useExecutionDebugging-BrUGp6HK.js";
5
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-Dulw8xCc.js";
6
6
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7
7
  __name: "VoteButtons",
8
8
  props: {
@@ -1,9 +1,9 @@
1
- import { A as defineComponent, a6 as useRoute, e as useWorkflowsStore, l as useSettingsStore, c as computed, E as EnterpriseEditionFeature, b as useI18n, ac as onMounted, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, J as createVNode, Q as unref, V as VIEWS, K as withCtx, L as createBaseVNode, $ as createBlock, an as createCommentVNode, N as createTextVNode, O as toDisplayString, dI as toDayMonth, dJ as toTime, av as _export_sfc, j as useRouter, a$ as useExecutionsStore, m as usePageRedirectionHelper, r as ref, bt as getResourcePermissions, ae as watch, dK as TransitionGroup, aN as Fragment, aO as renderList, dL as isComponentPublicInstance, dM as onBeforeRouteLeave, dN as getNodeViewTab, dO as MAIN_HEADER_TABS, aq as useNodeTypesStore, k as useToast, be as useDebounce, ap as useCanvasOperations, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, dP as NEW_WORKFLOW_ID, ad as onBeforeUnmount, dQ as NO_NETWORK_ERROR_CODE, o as useTelemetry, dR as executionRetryMessage } from "./index-CYJmC7Ra.js";
2
- import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-Ceq2psmv.js";
3
- import { u as useExecutionHelpers } from "./useExecutionHelpers-C3ME9bsC.js";
4
- import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-DbWLcKUA.js";
5
- import { u as useWorkflowSaving } from "./useWorkflowSaving-C8feAx2_.js";
6
- import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BZ2GH0iH.js";
1
+ import { d as defineComponent, R as useRoute, Q as useWorkflowsStore, p as useSettingsStore, q as computed, aa as EnterpriseEditionFeature, c as useI18n, o as onMounted, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, m as unref, V as VIEWS, w as withCtx, k as createBaseVNode, e as createBlock, f as createCommentVNode, l as createTextVNode, t as toDisplayString, bF as toDayMonth, bE as toTime, _ as _export_sfc, b as useRouter, at as useExecutionsStore, a6 as usePageRedirectionHelper, r as ref, a7 as getResourcePermissions, X as watch, du as TransitionGroup, F as Fragment, D as renderList, dv as isComponentPublicInstance, dh as onBeforeRouteLeave, db as getNodeViewTab, s as MAIN_HEADER_TABS, bz as useNodeTypesStore, a as useToast, G as useDebounce, cG as useCanvasOperations, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, d9 as NEW_WORKFLOW_ID, y as onBeforeUnmount, dw as NO_NETWORK_ERROR_CODE, ag as useTelemetry, dx as executionRetryMessage } from "./index-HDYArLT1.js";
2
+ import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-hCFNZKpq.js";
3
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-Dulw8xCc.js";
4
+ import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-XaZEx8v7.js";
5
+ import { u as useWorkflowSaving } from "./useWorkflowSaving-oozcXWTy.js";
6
+ import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CrF4ktlo.js";
7
7
  const _hoisted_1$1 = { key: 2 };
8
8
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
9
9
  __name: "WorkflowExecutionsCard",
@@ -1,6 +1,6 @@
1
- import { A as defineComponent, r as ref, c as computed, cL as dateFormat, b as useI18n, ac as onMounted, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, I as renderSlot, L as createBaseVNode, J as createVNode, O as toDisplayString, K as withCtx, N as createTextVNode, $ as createBlock, an as createCommentVNode, Q as unref, aH as withModifiers, av as _export_sfc, aN as Fragment, aO as renderList, ek as get, bl as defineStore, p as useRootStore, l as useSettingsStore, e as useWorkflowsStore, x as getNewWorkflow, a6 as useRoute, j as useRouter, k as useToast, m as usePageRedirectionHelper, u as useUIStore, V as VIEWS, bt as getResourcePermissions, b3 as onBeforeMount, dn as watchEffect, bd as telemetry, n as h, el as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-CYJmC7Ra.js";
2
- import { W as WorkflowPreview } from "./WorkflowPreview-Cigbt4bL.js";
3
- import { F as FileSaver_minExports } from "./FileSaver.min-Disj8eb5.js";
1
+ import { d as defineComponent, r as ref, q as computed, fZ as dateFormat, c as useI18n, o as onMounted, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, x as renderSlot, k as createBaseVNode, j as createVNode, t as toDisplayString, w as withCtx, l as createTextVNode, e as createBlock, f as createCommentVNode, m as unref, b3 as withModifiers, _ as _export_sfc, F as Fragment, D as renderList, aH as get, O as defineStore, Z as useRootStore, p as useSettingsStore, Q as useWorkflowsStore, em as getNewWorkflow, R as useRoute, b as useRouter, a as useToast, a6 as usePageRedirectionHelper, H as useUIStore, V as VIEWS, a7 as getResourcePermissions, az as onBeforeMount, a$ as watchEffect, eD as telemetry, aq as h, f_ as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-HDYArLT1.js";
2
+ import { W as WorkflowPreview } from "./WorkflowPreview-BxWA_Uiv.js";
3
+ import { F as FileSaver_minExports } from "./FileSaver.min-Bv-Q_h7m.js";
4
4
  const _hoisted_1$3 = ["datetime"];
5
5
  const _hoisted_2$1 = ["value"];
6
6
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { A as defineComponent, at as useLoadingService, au as useTemplatesStore, e as useWorkflowsStore, j as useRouter, a6 as useRoute, ac as onMounted, V as VIEWS, G as createElementBlock, H as openBlock, b as useI18n } from "./index-CYJmC7Ra.js";
1
+ import { d as defineComponent, aD as useLoadingService, aN as useTemplatesStore, Q as useWorkflowsStore, b as useRouter, R as useRoute, o as onMounted, V as VIEWS, i as createElementBlock, g as openBlock, c as useI18n } from "./index-HDYArLT1.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "WorkflowOnboardingView",
4
4
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { A as defineComponent, k as useToast, a$ as useExecutionsStore, r as ref, c as computed, ac as onMounted, ad as onBeforeUnmount, ae as watch, C as resolveComponent, G as createElementBlock, H as openBlock, an as createCommentVNode, L as createBaseVNode, aF as normalizeClass, J as createVNode, b as useI18n, av as _export_sfc } from "./index-CYJmC7Ra.js";
1
+ import { d as defineComponent, a as useToast, at as useExecutionsStore, r as ref, q as computed, o as onMounted, y as onBeforeUnmount, X as watch, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, k as createBaseVNode, n as normalizeClass, j as createVNode, c as useI18n, _ as _export_sfc } from "./index-HDYArLT1.js";
2
2
  const _hoisted_1 = ["src"];
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "WorkflowPreview",
@@ -1,12 +1,12 @@
1
- import { P as ProjectCardBadge, _ as _sfc_main$4 } from "./ProjectCardBadge-CofRlXsk.js";
2
- import { A as defineComponent, a6 as useRoute, j as useRouter, dS as useFoldersStore, r as ref, c as computed, b as useI18n, bx as ProjectTypes, V as VIEWS, C as resolveComponent, G as createElementBlock, H as openBlock, J as createVNode, K as withCtx, aF as normalizeClass, L as createBaseVNode, an as createCommentVNode, $ as createBlock, Q as unref, bz as ResourceType, aH as withModifiers, N as createTextVNode, O as toDisplayString, cM as _sfc_main$3, av as _export_sfc, k as useToast, l as useSettingsStore, u as useUIStore, al as useUsersStore, e as useWorkflowsStore, cK as useProjectsStore, bt as getResourcePermissions, cL as dateFormat, R as withDirectives, aY as vShow, dT as WORKFLOW_SHARE_MODAL_KEY, o as useTelemetry, dU as DUPLICATE_MODAL_KEY, g as useMessage, i as MODAL_CONFIRM, cO as PROJECT_MOVE_RESOURCE_MODAL, dV as FOLDER_NAME_ILLEGAL_CHARACTERS_REGEX, dW as ILLEGAL_FOLDER_CHARACTERS, dX as FOLDER_NAME_ONLY_DOTS_REGEX, dY as FOLDER_NAME_MAX_LENGTH, ao as useSourceControlStore, dq as usePostHog, dZ as useTagsStore, bs as useUsageStore, cP as useInsightsStore, aJ as useDocumentTitle, be as useDebounce, E as EnterpriseEditionFeature, d_ as EASY_AI_WORKFLOW_EXPERIMENT, ae as watch, ac as onMounted, T as createEventBus, ad as onBeforeUnmount, d$ as debounce, e0 as PROJECT_ROOT, aW as createSlots, b5 as N8nInputLabel, du as _sfc_main$5, bb as N8nSelect, aN as Fragment, aO as renderList, ba as _sfc_main$6, br as N8nHeading, b4 as N8nText, e1 as N8nCard, e2 as N8nIcon, bG as Draggable, e3 as DEFAULT_WORKFLOW_PAGE_SIZE, bw as COMMUNITY_PLUS_ENROLLMENT_MODAL } from "./index-CYJmC7Ra.js";
3
- import { W as WorkflowActivator, _ as __unplugin_components_0, I as InlineTextEdit } from "./WorkflowActivator-D-Hnqidn.js";
4
- import { R as ResourcesListLayout } from "./ResourcesListLayout-qljecvR-.js";
5
- import { P as ProjectHeader } from "./ProjectHeader-BvA7Wpwr.js";
6
- import { u as useProjectPages } from "./useProjectPages-vmgKLBn6.js";
7
- import { I as InsightsSummary } from "./InsightsSummary-B5VSOlKK.js";
8
- import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-Cr-_M_d8.js";
9
- import "./useWorkflowActivate-CDImNya8.js";
1
+ import { P as ProjectCardBadge, _ as _sfc_main$4 } from "./ProjectCardBadge-be4FNX6y.js";
2
+ import { d as defineComponent, R as useRoute, b as useRouter, a2 as useFoldersStore, r as ref, q as computed, c as useI18n, ab as ProjectTypes, V as VIEWS, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, w as withCtx, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, e as createBlock, m as unref, g5 as ResourceType, b3 as withModifiers, l as createTextVNode, t as toDisplayString, ef as _sfc_main$3, _ as _export_sfc, a as useToast, p as useSettingsStore, H as useUIStore, u as useUsersStore, Q as useWorkflowsStore, a1 as useProjectsStore, a7 as getResourcePermissions, fZ as dateFormat, aA as withDirectives, aB as vShow, af as WORKFLOW_SHARE_MODAL_KEY, ag as useTelemetry, an as DUPLICATE_MODAL_KEY, ai as useMessage, aj as MODAL_CONFIRM, g6 as PROJECT_MOVE_RESOURCE_MODAL, g7 as FOLDER_NAME_ILLEGAL_CHARACTERS_REGEX, g8 as ILLEGAL_FOLDER_CHARACTERS, g9 as FOLDER_NAME_ONLY_DOTS_REGEX, ga as FOLDER_NAME_MAX_LENGTH, a0 as useSourceControlStore, au as usePostHog, E as useTagsStore, ez as useUsageStore, gb as useInsightsStore, a4 as useDocumentTitle, G as useDebounce, aa as EnterpriseEditionFeature, gc as EASY_AI_WORKFLOW_EXPERIMENT, X as watch, o as onMounted, C as createEventBus, y as onBeforeUnmount, A as debounce, gd as PROJECT_ROOT, aV as createSlots, ew as N8nInputLabel, ad as _sfc_main$5, fp as N8nSelect, F as Fragment, D as renderList, fo as _sfc_main$6, ek as N8nHeading, bf as N8nText, ge as N8nCard, bJ as N8nIcon, gf as Draggable, gg as DEFAULT_WORKFLOW_PAGE_SIZE, eC as COMMUNITY_PLUS_ENROLLMENT_MODAL } from "./index-HDYArLT1.js";
3
+ import { W as WorkflowActivator, _ as __unplugin_components_0, I as InlineTextEdit } from "./WorkflowActivator-C30ojCUO.js";
4
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-DLThke_K.js";
5
+ import { P as ProjectHeader } from "./ProjectHeader-CsHp0dpi.js";
6
+ import { u as useProjectPages } from "./useProjectPages-DGU7KQ6y.js";
7
+ import { I as InsightsSummary } from "./InsightsSummary-CTzqNpAf.js";
8
+ import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-H7-jyGZy.js";
9
+ import "./useWorkflowActivate-CUShgia-.js";
10
10
  const FOLDER_LIST_ITEM_ACTIONS = {
11
11
  OPEN: "open",
12
12
  CREATE: "create",
@@ -1837,42 +1837,67 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1837
1837
  }
1838
1838
  };
1839
1839
  const onFolderTransferred = async (payload) => {
1840
- const destinationParentFolderId = payload.newParent.type === "folder" ? payload.newParent.id : void 0;
1841
- await foldersStore.moveFolderToProject(
1842
- payload.projectId,
1843
- payload.folder.id,
1844
- payload.destinationProjectId,
1845
- destinationParentFolderId,
1846
- payload.shareCredentials
1847
- );
1848
- const isCurrentFolder = currentFolderId.value === payload.folder.id;
1849
- const newFolderURL = router.resolve({
1850
- name: VIEWS.PROJECTS_FOLDERS,
1851
- params: {
1852
- projectId: payload.destinationProjectId,
1853
- folderId: destinationParentFolderId
1840
+ try {
1841
+ await foldersStore.moveFolderToProject(
1842
+ payload.source.projectId,
1843
+ payload.source.folder.id,
1844
+ payload.destination.projectId,
1845
+ payload.destination.parentFolder.id,
1846
+ payload.shareCredentials
1847
+ );
1848
+ const isCurrentFolder = currentFolderId.value === payload.source.folder.id;
1849
+ const newFolderURL = router.resolve({
1850
+ name: VIEWS.PROJECTS_FOLDERS,
1851
+ params: {
1852
+ projectId: payload.destination.canAccess ? payload.destination.projectId : payload.source.projectId,
1853
+ folderId: payload.destination.canAccess ? payload.source.folder.id : void 0
1854
+ }
1855
+ }).href;
1856
+ if (isCurrentFolder) {
1857
+ if (payload.destination.canAccess) {
1858
+ void router.push(newFolderURL);
1859
+ } else {
1860
+ void router.push({
1861
+ name: VIEWS.PROJECTS_WORKFLOWS,
1862
+ params: {
1863
+ projectId: payload.source.projectId
1864
+ }
1865
+ });
1866
+ }
1867
+ } else {
1868
+ await refreshWorkflows();
1869
+ if (payload.destination.canAccess) {
1870
+ toast.showToast({
1871
+ title: i18n.baseText("folders.move.success.title"),
1872
+ message: i18n.baseText("folders.move.success.message", {
1873
+ interpolate: {
1874
+ folderName: payload.source.folder.name,
1875
+ newFolderName: payload.destination.parentFolder.name
1876
+ }
1877
+ }),
1878
+ onClick: (event) => {
1879
+ if (event?.target instanceof HTMLAnchorElement) {
1880
+ event.preventDefault();
1881
+ void router.push(newFolderURL);
1882
+ }
1883
+ },
1884
+ type: "success"
1885
+ });
1886
+ } else {
1887
+ toast.showToast({
1888
+ title: i18n.baseText("folders.move.success.title"),
1889
+ message: i18n.baseText("folders.move.success.messageNoAccess", {
1890
+ interpolate: {
1891
+ folderName: payload.source.folder.name,
1892
+ newFolderName: payload.destination.parentFolder.name
1893
+ }
1894
+ }),
1895
+ type: "success"
1896
+ });
1897
+ }
1854
1898
  }
1855
- }).href;
1856
- if (isCurrentFolder) {
1857
- void router.push(newFolderURL);
1858
- } else {
1859
- toast.showToast({
1860
- title: i18n.baseText("folders.move.success.title"),
1861
- message: i18n.baseText("folders.move.success.message", {
1862
- interpolate: {
1863
- folderName: payload.folder.name,
1864
- newFolderName: payload.newParent.name
1865
- }
1866
- }),
1867
- onClick: (event) => {
1868
- if (event?.target instanceof HTMLAnchorElement) {
1869
- event.preventDefault();
1870
- void router.push(newFolderURL);
1871
- }
1872
- },
1873
- type: "success"
1874
- });
1875
- await fetchWorkflows();
1899
+ } catch (error) {
1900
+ toast.showError(error, i18n.baseText("folders.move.error.title"));
1876
1901
  }
1877
1902
  };
1878
1903
  const moveWorkflowToFolder = async (payload) => {
@@ -1895,38 +1920,50 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1895
1920
  );
1896
1921
  };
1897
1922
  const onWorkflowTransferred = async (payload) => {
1898
- const parentFolderId = payload.newParent.type === "folder" ? payload.newParent.id : void 0;
1899
- await projectsStore.moveResourceToProject(
1900
- "workflow",
1901
- payload.workflow.id,
1902
- payload.projectId,
1903
- parentFolderId,
1904
- payload.shareCredentials
1905
- );
1906
- await fetchWorkflows();
1907
1923
  try {
1908
- toast.showToast({
1909
- title: i18n.baseText("folders.move.workflow.success.title"),
1910
- message: i18n.baseText("folders.move.workflow.success.message", {
1911
- interpolate: {
1912
- workflowName: payload.workflow.name,
1913
- newFolderName: payload.newParent.name
1914
- }
1915
- }),
1916
- onClick: (event) => {
1917
- if (event?.target instanceof HTMLAnchorElement) {
1918
- event.preventDefault();
1919
- void router.push({
1920
- name: VIEWS.PROJECTS_FOLDERS,
1921
- params: {
1922
- projectId: payload.projectId,
1923
- folderId: payload.newParent.type === "folder" ? payload.newParent.id : void 0
1924
- }
1925
- });
1926
- }
1927
- },
1928
- type: "success"
1929
- });
1924
+ await projectsStore.moveResourceToProject(
1925
+ "workflow",
1926
+ payload.source.workflow.id,
1927
+ payload.destination.projectId,
1928
+ payload.destination.parentFolder.id,
1929
+ payload.shareCredentials
1930
+ );
1931
+ await refreshWorkflows();
1932
+ if (payload.destination.canAccess) {
1933
+ toast.showToast({
1934
+ title: i18n.baseText("folders.move.workflow.success.title"),
1935
+ message: i18n.baseText("folders.move.workflow.success.message", {
1936
+ interpolate: {
1937
+ workflowName: payload.source.workflow.name,
1938
+ newFolderName: payload.destination.parentFolder.name
1939
+ }
1940
+ }),
1941
+ onClick: (event) => {
1942
+ if (event?.target instanceof HTMLAnchorElement) {
1943
+ event.preventDefault();
1944
+ void router.push({
1945
+ name: VIEWS.PROJECTS_FOLDERS,
1946
+ params: {
1947
+ projectId: payload.destination.projectId,
1948
+ folderId: payload.destination.parentFolder.id
1949
+ }
1950
+ });
1951
+ }
1952
+ },
1953
+ type: "success"
1954
+ });
1955
+ } else {
1956
+ toast.showToast({
1957
+ title: i18n.baseText("folders.move.workflow.success.title"),
1958
+ message: i18n.baseText("folders.move.workflow.success.messageNoAccess", {
1959
+ interpolate: {
1960
+ workflowName: payload.source.workflow.name,
1961
+ newFolderName: payload.destination.parentFolder.name
1962
+ }
1963
+ }),
1964
+ type: "success"
1965
+ });
1966
+ }
1930
1967
  } catch (error) {
1931
1968
  toast.showError(error, i18n.baseText("folders.move.workflow.error.title"));
1932
1969
  }
@@ -1,4 +1,4 @@
1
- import { a6 as useRoute, ao as useSourceControlStore, e as useWorkflowsStore, c as computed, j as useRouter, ap as useCanvasOperations, aq as useNodeTypesStore, ar as START_NODE_TYPE, T as createEventBus } from "./index-CYJmC7Ra.js";
1
+ import { R as useRoute, a0 as useSourceControlStore, Q as useWorkflowsStore, q as computed, b as useRouter, cG as useCanvasOperations, bz as useNodeTypesStore, da as START_NODE_TYPE, C as createEventBus } from "./index-HDYArLT1.js";
2
2
  function useClearExecutionButtonVisible() {
3
3
  const route = useRoute();
4
4
  const sourceControlStore = useSourceControlStore();
@@ -1,5 +1,5 @@
1
- import { aj as useCssVar, ak as merge } from "./index-CYJmC7Ra.js";
2
- import { s as smartDecimal } from "./InsightsSummary-B5VSOlKK.js";
1
+ import { f$ as useCssVar, hM as merge } from "./index-HDYArLT1.js";
2
+ import { s as smartDecimal } from "./InsightsSummary-CTzqNpAf.js";
3
3
  const generateLinearGradient = (ctx, height) => {
4
4
  const gradient = ctx.createLinearGradient(0, 0, 0, height);
5
5
  gradient.addColorStop(0, "rgba(255, 111,92, 1)");
@@ -1,4 +1,4 @@
1
- import { S as NodeConnectionTypes } from "./index-CYJmC7Ra.js";
1
+ import { by as NodeConnectionTypes } from "./index-HDYArLT1.js";
2
2
  const getEasyAiWorkflowJson = () => {
3
3
  return {
4
4
  name: "Demo: My first AI Agent in n8n",