n8n-editor-ui 1.86.0 → 1.87.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 (116) hide show
  1. package/dist/assets/AnimatedSpinner-BJKBduqI.js +18 -0
  2. package/dist/assets/AnimatedSpinner-ChSRgyeI.css +39 -0
  3. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DofUIs9S.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BNiwICGe.js} +1 -1
  4. package/dist/assets/{AuthView-CyY2quTd.js → AuthView-DrViDPFs.js} +2 -2
  5. package/dist/assets/{CanvasChatSwitch-CRtE2Fld.css → CanvasChatSwitch-0IWSu8RE.css} +249 -45
  6. package/dist/assets/{CanvasChatSwitch-BTInPgKl.js → CanvasChatSwitch-BnTApoNZ.js} +436 -268
  7. package/dist/assets/{ChangePasswordView-Db-MkXhZ.js → ChangePasswordView-DPUv2ZhO.js} +3 -3
  8. package/dist/assets/CollectionParameter-14_bIMyy.js +4 -0
  9. package/dist/assets/{CredentialsView-CLr_6U2B.js → CredentialsView-Cx3MfjwO.js} +8 -8
  10. package/dist/assets/{ErrorView-CUS5vnCW.js → ErrorView-C3Sxa6Qs.js} +1 -1
  11. package/dist/assets/{ExecutionsTime-BOPJEomw.css → ExecutionsTime-DZHUIJjP.css} +6 -6
  12. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-D15zjPBZ.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-B0NnOKRw.js} +23 -20
  13. package/dist/assets/{ExecutionsView-1df-oH5P.js → ExecutionsView-BD9a5MiE.js} +48 -56
  14. package/dist/assets/{ExecutionsView-BnBpSqVn.css → ExecutionsView-ByQf9yli.css} +13 -47
  15. package/dist/assets/{FileSaver.min-DLKMtSuf.js → FileSaver.min-CsyH54Dh.js} +1 -1
  16. package/dist/assets/{FixedCollectionParameter-CcqTLBeP.js → FixedCollectionParameter-icyYiANk.js} +1 -1
  17. package/dist/assets/{ForgotMyPasswordView-BHRWkO2H.js → ForgotMyPasswordView-B7m6OAyt.js} +3 -3
  18. package/dist/assets/InsightsChartAverageRuntime-CiI5y8BG.js +61 -0
  19. package/dist/assets/InsightsChartFailed-BAnQv9pU.js +57 -0
  20. package/dist/assets/InsightsChartFailureRate-CGRL86zw.js +57 -0
  21. package/dist/assets/InsightsChartTimeSaved-BJmjC9xP.js +71 -0
  22. package/dist/assets/InsightsChartTotal-YSqQgGkL.js +59 -0
  23. package/dist/assets/InsightsDashboard-CB4vHnBh.css +152 -0
  24. package/dist/assets/InsightsDashboard-oe5QP-_0.js +154 -0
  25. package/dist/assets/InsightsPaywall-BCSe1GCl.js +58 -0
  26. package/dist/assets/InsightsPaywall-OeXh6LeZ.css +133 -0
  27. package/dist/assets/InsightsSummary-Bf61oFlG.js +185 -0
  28. package/dist/assets/{InsightsSummary-DcRuPjLJ.css → InsightsSummary-W08OzElS.css} +57 -35
  29. package/dist/assets/InsightsTableWorkflows-B5M_o3Di.js +129 -0
  30. package/dist/assets/InsightsTableWorkflows-Us3j4UTO.css +128 -0
  31. package/dist/assets/{Logo-DbXTFYA8.js → Logo-DZ8mhDMd.js} +1 -1
  32. package/dist/assets/{MainHeader-BfQR9Td3.js → MainHeader-CItoJWMi.js} +9 -10
  33. package/dist/assets/{MainSidebar-CDUegYGN.js → MainSidebar-Cponf9eD.js} +11 -2
  34. package/dist/assets/{NodeCreation-BBXRRxZa.js → NodeCreation-DiUBT9p0.js} +4 -4
  35. package/dist/assets/{NodeCreator-BiyvtIjb.js → NodeCreator-BHji7uJa.js} +3 -3
  36. package/dist/assets/{NodeDetailsView-BcVu3kf0.css → NodeDetailsView-BT-ro74o.css} +63 -70
  37. package/dist/assets/{NodeDetailsView-Ph7FVpa8.js → NodeDetailsView-CPsaG2IZ.js} +123 -444
  38. package/dist/assets/{NodeView-BEJ48TF4.js → NodeView-9P-9rNOD.js} +19 -21
  39. package/dist/assets/{ProjectCardBadge-B7cCM6Eo.js → ProjectCardBadge-BdyDghHf.js} +1 -1
  40. package/dist/assets/{ProjectHeader-BjPaep-H.js → ProjectHeader-D8-9oE80.js} +1 -1
  41. package/dist/assets/{ProjectSettings-C1By1g0Z.js → ProjectSettings-Brpx7x2l.js} +2 -2
  42. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-UHiXbqwy.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-CShLauba.js} +1 -2
  43. package/dist/assets/{ResourcesListLayout-CiiXWGd5.js → ResourcesListLayout-nD22utQX.js} +1 -1
  44. package/dist/assets/{RunDataAi-CN9FrT9c.css → RunDataAi-CUUDqZRP.css} +128 -0
  45. package/dist/assets/{RunDataAi-CQE0VYut.js → RunDataAi-DULZvgnn.js} +88 -37
  46. package/dist/assets/{RunDataJson-BY9cOxFp.js → RunDataJson-jnag_uEf.js} +11 -12
  47. package/dist/assets/{RunDataJsonActions-CuFjccfe.js → RunDataJsonActions-CWCdb4Yi.js} +1 -2
  48. package/dist/assets/{RunDataSearch-afEc-21Y.js → RunDataSearch-CI5OdX2M.js} +1 -1
  49. package/dist/assets/{RunDataTable-N6yWFXKt.js → RunDataTable-CQc98S7W.js} +10 -8
  50. package/dist/assets/{SamlOnboarding-HDQzVmha.js → SamlOnboarding-mdVsZszT.js} +3 -3
  51. package/dist/assets/{SettingsApiView-DQMZT3uc.js → SettingsApiView-CRDQ66Jq.js} +1 -1
  52. package/dist/assets/{SettingsCommunityNodesView-BlQT_0E8.js → SettingsCommunityNodesView-DCp8y1mn.js} +4 -5
  53. package/dist/assets/{SettingsExternalSecrets-BL_3qoNS.js → SettingsExternalSecrets-PhLe1dhs.js} +1 -1
  54. package/dist/assets/{SettingsLdapView-BMsfXg-A.js → SettingsLdapView-DrPh9Cmp.js} +1 -1
  55. package/dist/assets/{SettingsLogStreamingView-Bm5vaSO2.js → SettingsLogStreamingView-D_dGzLfg.js} +1 -1
  56. package/dist/assets/{SettingsPersonalView-Djl1VXnE.js → SettingsPersonalView-C6XeNBcf.js} +1 -1
  57. package/dist/assets/{SettingsSourceControl-A-9nD8hG.js → SettingsSourceControl-Bu_qi87k.js} +1 -1
  58. package/dist/assets/{SettingsSso-DZCscZY6.js → SettingsSso-BF8Nr76R.js} +1 -1
  59. package/dist/assets/{SettingsUsageAndPlan-Rd5AGlNl.js → SettingsUsageAndPlan-DTyc2TI4.js} +1 -1
  60. package/dist/assets/{SettingsUsersView-NEahsGVs.js → SettingsUsersView-BfK_vKh5.js} +1 -1
  61. package/dist/assets/{SettingsView-CeXAUGXE.js → SettingsView-bkz5b7Ks.js} +1 -1
  62. package/dist/assets/{SetupView-BI7oJfg0.js → SetupView--_MmPcKt.js} +3 -3
  63. package/dist/assets/{SetupWorkflowCredentialsButton-DMZX1S1F.js → SetupWorkflowCredentialsButton-C94b-j6c.js} +2 -4
  64. package/dist/assets/{SetupWorkflowFromTemplateView-DZsPVdhN.js → SetupWorkflowFromTemplateView-Bn6NUya1.js} +3 -12
  65. package/dist/assets/{SigninView-CzVnEKyz.js → SigninView-s9B3HXBX.js} +3 -3
  66. package/dist/assets/{SignoutView-C4ynr4AN.js → SignoutView-CvFIZuRL.js} +1 -1
  67. package/dist/assets/{SignupView-9nwGonm9.js → SignupView-B6YMoGnc.js} +3 -3
  68. package/dist/assets/{TemplateDetails-DT1tI4AF.js → TemplateDetails-DOGmuYC4.js} +1 -1
  69. package/dist/assets/{TemplateList-DGPm_Qol.js → TemplateList-BRL4OSZK.js} +1 -1
  70. package/dist/assets/{TemplatesCollectionView-DwXY5s5G.js → TemplatesCollectionView-Ct2GIDCZ.js} +7 -9
  71. package/dist/assets/{TemplatesSearchView-D0R7uF40.js → TemplatesSearchView-CWGmY4-P.js} +3 -3
  72. package/dist/assets/{TemplatesView-BZ-ntkfi.js → TemplatesView-vYQo2Y75.js} +1 -1
  73. package/dist/assets/{TemplatesWorkflowView-TwVAHvD7.js → TemplatesWorkflowView-Cw6mc6wy.js} +5 -7
  74. package/dist/assets/{TestDefinitionEditView-o2Gc4BjN.js → TestDefinitionEditView-CZnzTAsp.js} +163 -199
  75. package/dist/assets/{TestDefinitionEditView-C3nnWQ4Q.css → TestDefinitionEditView-Cwkrz308.css} +12 -18
  76. package/dist/assets/{TestDefinitionListView-BuUWjPAl.js → TestDefinitionListView-CKsRlhn4.js} +1 -1
  77. package/dist/assets/{TestDefinitionNewView-DmSFNxfn.js → TestDefinitionNewView-B1KZ2Qnt.js} +2 -2
  78. package/dist/assets/{TestDefinitionRootView-1dNmGZUI.js → TestDefinitionRootView-V43FaNr3.js} +1 -1
  79. package/dist/assets/{VariablesView-D46tH9pw.js → VariablesView-DLB1Vvnc.js} +3 -3
  80. package/dist/assets/{WorkerView-G0K849qT.js → WorkerView-Iqi25XGQ.js} +6 -7
  81. package/dist/assets/{WorkflowActivator-DfalOPsa.js → WorkflowActivator-D9fExB06.js} +2 -2
  82. package/dist/assets/{WorkflowExecutionsInfoAccordion-BcD7ZskD.js → WorkflowExecutionsInfoAccordion-Md7C2uBw.js} +1 -1
  83. package/dist/assets/{WorkflowExecutionsLandingPage-BhPbJi5K.js → WorkflowExecutionsLandingPage-CKOlfG7s.js} +2 -2
  84. package/dist/assets/{WorkflowExecutionsPreview-CHu6M3Dh.css → WorkflowExecutionsPreview-D7jTJ8GL.css} +16 -48
  85. package/dist/assets/{WorkflowExecutionsPreview-CowaFwPg.js → WorkflowExecutionsPreview-DS6HDJng.js} +24 -256
  86. package/dist/assets/{WorkflowExecutionsView-BAojAjIM.js → WorkflowExecutionsView-LF3g9gDB.js} +11 -17
  87. package/dist/assets/{WorkflowHistory-Bj5_YFN8.js → WorkflowHistory-Cu7OIIMi.js} +4 -4
  88. package/dist/assets/{WorkflowOnboardingView-D9peqUJs.js → WorkflowOnboardingView-B2WUKfr6.js} +1 -1
  89. package/dist/assets/{WorkflowPreview-gflk06YT.js → WorkflowPreview-DlKRTeNZ.js} +1 -1
  90. package/dist/assets/{WorkflowsView-CmgKYCQ6.js → WorkflowsView-dot2ovV7.js} +10 -10
  91. package/dist/assets/chartjs.utils-BLcAAfTE.js +193 -0
  92. package/dist/assets/dateFormatter-Cdy8FmTT.js +21 -0
  93. package/dist/assets/{easyAiWorkflowUtils-CLssJdgl.js → easyAiWorkflowUtils-C5xkiwuo.js} +1 -1
  94. package/dist/assets/{global-link-actions-BphqczCY.js → global-link-actions-CfWIYTMM.js} +1 -1
  95. package/dist/assets/{import-curl-C9KhAemD.js → import-curl-DO7fae0m.js} +1 -1
  96. package/dist/assets/{index-C0DaAYgf.js → index-Bo3CExk-.js} +3 -1
  97. package/dist/assets/{index-CkOV8f0Z.js → index-D76xStxp.js} +9450 -3622
  98. package/dist/assets/{index-BaqhUIB7.css → index-DJ205bL0.css} +369 -44
  99. package/dist/assets/{pickBy-DUugkW7s.js → pickBy-DdpxIwij.js} +1 -1
  100. package/dist/assets/{templateActions-Czp13jCM.js → templateActions-BCMgItKi.js} +2 -7
  101. package/dist/assets/{useBeforeUnload-BBbiw-FV.js → useBeforeUnload-CDzomPGL.js} +1 -1
  102. package/dist/assets/{useCanvasMapping-Cla--atl.js → useCanvasMapping-D1DfqsUU.js} +6 -6
  103. package/dist/assets/{useCanvasOperations-FyzGfva5.js → useCanvasOperations-CAthHfOB.js} +27 -256
  104. package/dist/assets/{useClearExecutionButtonVisible-fESJZE5R.js → useClearExecutionButtonVisible-CnDyjcGF.js} +2 -2
  105. package/dist/assets/{useExecutionDebugging-D4s4CdaL.js → useExecutionDebugging-Bm9sy3W3.js} +1 -1
  106. package/dist/assets/{useExecutionHelpers-Bm91b8wb.js → useExecutionHelpers-C_yBGArA.js} +2 -19
  107. package/dist/assets/{useImportCurlCommand-BPNuR5ZX.js → useImportCurlCommand-CK-lTdZr.js} +2 -2
  108. package/dist/assets/{usePushConnection-BbQhNUm8.js → usePushConnection-potv7eom.js} +3 -4
  109. package/dist/assets/{useTestDefinitionForm-ZJngcsSH.js → useTestDefinitionForm-Dlzud2C-.js} +1 -1
  110. package/dist/assets/{useWorkflowActivate-CkCvd-g6.js → useWorkflowActivate-BvmFVCGP.js} +1 -1
  111. package/dist/index.html +2 -2
  112. package/package.json +1 -1
  113. package/dist/assets/CollectionParameter-BD3jmKi_.js +0 -4
  114. package/dist/assets/InsightsSummary-CyilLKXz.js +0 -152
  115. package/dist/assets/pushConnection.store-Cb2TGyrZ.js +0 -238
  116. package/dist/assets/useRunWorkflow-DnbQqqcB.js +0 -527
@@ -1,5 +1,5 @@
1
- import { u as useTestDefinitionForm } from "./useTestDefinitionForm-ZJngcsSH.js";
2
- import { d as defineComponent, c7 as useTestDefinitionStore, fZ as useAnnotationTagsStore, au as useExecutionsStore, a as useToast, b as useRouter, U as useRoute, ah as useTelemetry, a0 as useRootStore, V as VIEWS, e as createBlock, g as openBlock, m as unref, gd as N8nLoading } from "./index-CkOV8f0Z.js";
1
+ import { u as useTestDefinitionForm } from "./useTestDefinitionForm-Dlzud2C-.js";
2
+ import { d as defineComponent, g5 as useTestDefinitionStore, fQ as useAnnotationTagsStore, av as useExecutionsStore, a as useToast, b as useRouter, W as useRoute, ai as useTelemetry, a1 as useRootStore, V as VIEWS, e as createBlock, g as openBlock, m as unref, g6 as N8nLoading } from "./index-D76xStxp.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "TestDefinitionNewView",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, b as useRouter, a6 as useWorkflowHelpers, T as useWorkflowsStore, d4 as useAsyncState, h as resolveComponent, i as createElementBlock, g as openBlock, e as createBlock, f as createCommentVNode, m as unref, n as normalizeClass, _ as _export_sfc } from "./index-CkOV8f0Z.js";
1
+ import { d as defineComponent, b as useRouter, a7 as useWorkflowHelpers, U as useWorkflowsStore, d7 as useAsyncState, h as resolveComponent, i as createElementBlock, g as openBlock, e as createBlock, f as createCommentVNode, m as unref, n as normalizeClass, _ as _export_sfc } from "./index-D76xStxp.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "TestDefinitionRootView",
4
4
  props: {
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, b9 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, bG as reactive, d2 as toRaw, r as ref, i as createElementBlock, j as createVNode, d3 as N8nFormInput, f as createCommentVNode, ba as N8nButton, p as useSettingsStore, bI as useEnvironmentsStore, u as useUsersStore, L as useUIStore, a2 as useSourceControlStore, U as useRoute, b as useRouter, bx as useTemplateRef, a8 as getResourcePermissions, d4 as useAsyncState, ab as EnterpriseEditionFeature, a7 as usePageRedirectionHelper, o as onMounted, a5 as useDocumentTitle, h as resolveComponent, aV as createSlots, d5 as N8nActionBox, b2 as mergeProps, a$ as normalizeProps, F as Fragment, d6 as N8nBadge, d7 as N8nInputLabel, d8 as N8nCheckbox, d9 as uid, ah as useTelemetry, aj as useMessage, ak as MODAL_CONFIRM } from "./index-CkOV8f0Z.js";
2
- import { R as ResourcesListLayout } from "./ResourcesListLayout-CiiXWGd5.js";
3
- import { p as pickBy } from "./pickBy-DUugkW7s.js";
1
+ import { d as defineComponent, ba as useClipboard, a as useToast, q as computed, e as createBlock, g as openBlock, m as unref, aS as N8nTooltip, w as withCtx, k as createBaseVNode, t as toDisplayString, l as createTextVNode, c as useI18n, _ as _export_sfc, bL as reactive, d5 as toRaw, r as ref, i as createElementBlock, j as createVNode, d6 as N8nFormInput, f as createCommentVNode, bb as N8nButton, p as useSettingsStore, bN as useEnvironmentsStore, u as useUsersStore, L as useUIStore, a3 as useSourceControlStore, W as useRoute, b as useRouter, bA as useTemplateRef, a9 as getResourcePermissions, d7 as useAsyncState, ac as EnterpriseEditionFeature, a8 as usePageRedirectionHelper, o as onMounted, a6 as useDocumentTitle, h as resolveComponent, aW as createSlots, d8 as N8nActionBox, b3 as mergeProps, b0 as normalizeProps, F as Fragment, d9 as N8nBadge, da as N8nInputLabel, db as N8nCheckbox, dc as uid, ai as useTelemetry, ak as useMessage, al as MODAL_CONFIRM } from "./index-D76xStxp.js";
2
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-nD22utQX.js";
3
+ import { p as pickBy } from "./pickBy-DdpxIwij.js";
4
4
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
5
5
  __name: "VariablesUsageBadge",
6
6
  props: {
@@ -1,10 +1,9 @@
1
- import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-UHiXbqwy.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, b9 as useClipboard, a as useToast, q as computed, aM as sortByProperty, o as onMounted, y as onBeforeUnmount, b as useRouter, a5 as useDocumentTitle, a0 as useRootStore, ah as useTelemetry, aA as onBeforeMount, p as useSettingsStore, a7 as usePageRedirectionHelper } from "./index-CkOV8f0Z.js";
3
- import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-BbQhNUm8.js";
4
- import { u as usePushConnectionStore } from "./pushConnection.store-Cb2TGyrZ.js";
5
- import { C as Chart } from "./index-C0DaAYgf.js";
6
- import "./global-link-actions-BphqczCY.js";
7
- import "./easyAiWorkflowUtils-CLssJdgl.js";
1
+ import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-CShLauba.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, ba as useClipboard, a as useToast, q as computed, aN as sortByProperty, o as onMounted, y as onBeforeUnmount, b as useRouter, a6 as useDocumentTitle, a1 as useRootStore, T as usePushConnectionStore, ai as useTelemetry, aB as onBeforeMount, p as useSettingsStore, a8 as usePageRedirectionHelper } from "./index-D76xStxp.js";
3
+ import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-potv7eom.js";
4
+ import { C as Chart } from "./index-Bo3CExk-.js";
5
+ import "./global-link-actions-CfWIYTMM.js";
6
+ import "./easyAiWorkflowUtils-C5xkiwuo.js";
8
7
  function averageWorkerLoadFromLoads(loads) {
9
8
  return loads.reduce((prev, curr) => prev + curr, 0) / loads.length;
10
9
  }
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, i as createElementBlock, g as openBlock, l as createTextVNode, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, a as useToast, T as useWorkflowsStore, bH as useCredentialsStore, q as computed, dy as getActivatableTriggerNodes, dz as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, I as watch, h as resolveComponent, c6 as resolveDirective, j as createVNode, f as createCommentVNode, n as normalizeClass, e as createBlock, w as withCtx, aB as withDirectives, dA as OPEN_AI_API_CREDENTIAL_TYPE, ar as h, _ as _export_sfc } from "./index-CkOV8f0Z.js";
2
- import { u as useWorkflowActivate } from "./useWorkflowActivate-CkCvd-g6.js";
1
+ import { d as defineComponent, i as createElementBlock, g as openBlock, l as createTextVNode, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, a as useToast, U as useWorkflowsStore, bM as useCredentialsStore, q as computed, dA as getActivatableTriggerNodes, dB as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, I as watch, h as resolveComponent, cc as resolveDirective, j as createVNode, f as createCommentVNode, n as normalizeClass, e as createBlock, w as withCtx, aC as withDirectives, dC as OPEN_AI_API_CREDENTIAL_TYPE, as as h, _ as _export_sfc } from "./index-D76xStxp.js";
2
+ import { u as useWorkflowActivate } from "./useWorkflowActivate-BvmFVCGP.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "WorkflowActivationErrorMessage",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, b as useRouter, a6 as useWorkflowHelpers, p as useSettingsStore, L as useUIStore, T as useWorkflowsStore, a4 as useNpsSurveyStore, r as ref, q as computed, c as useI18n, c5 as deepCopy, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, I 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, J as withModifiers, n as normalizeClass, al as WORKFLOW_SETTINGS_MODAL_KEY, _ as _export_sfc } from "./index-CkOV8f0Z.js";
1
+ import { d as defineComponent, b as useRouter, a7 as useWorkflowHelpers, p as useSettingsStore, L as useUIStore, U as useWorkflowsStore, a5 as useNpsSurveyStore, r as ref, q as computed, c as useI18n, cb as deepCopy, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, I 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, J as withModifiers, n as normalizeClass, am as WORKFLOW_SETTINGS_MODAL_KEY, _ as _export_sfc } from "./index-D76xStxp.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 { d as defineComponent, b as useRouter, U as useRoute, L as useUIStore, T 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, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, _ as _export_sfc } from "./index-CkOV8f0Z.js";
2
- import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BcD7ZskD.js";
1
+ import { d as defineComponent, b as useRouter, W as useRoute, L as useUIStore, U 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, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, _ as _export_sfc } from "./index-D76xStxp.js";
2
+ import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-Md7C2uBw.js";
3
3
  const _hoisted_1 = {
4
4
  key: 0,
5
5
  "data-test-id": "workflow-execution-no-trigger-content"
@@ -474,12 +474,12 @@
474
474
  -------------------------- */
475
475
  /* BEM
476
476
  -------------------------- */
477
- ._previewContainer_w0lyd_123 {
477
+ ._previewContainer_1xkms_123 {
478
478
  position: relative;
479
479
  height: 100%;
480
480
  overflow: hidden;
481
481
  }
482
- ._executionDetails_w0lyd_129 {
482
+ ._executionDetails_1xkms_129 {
483
483
  position: absolute;
484
484
  padding: var(--spacing-m);
485
485
  padding-right: var(--spacing-xl);
@@ -490,81 +490,49 @@
490
490
  transition: all 150ms ease-in-out;
491
491
  pointer-events: none;
492
492
  }
493
- ._executionDetails_w0lyd_129 > div:last-child {
493
+ ._executionDetails_1xkms_129 > div:last-child {
494
494
  display: flex;
495
495
  align-items: center;
496
496
  }
497
- ._executionDetails_w0lyd_129 * {
497
+ ._executionDetails_1xkms_129 * {
498
498
  pointer-events: all;
499
499
  }
500
- ._spinner_w0lyd_148 div div {
500
+ ._spinner_1xkms_148 div div {
501
501
  width: 30px;
502
502
  height: 30px;
503
503
  border-width: 2px;
504
504
  }
505
- ._running_w0lyd_154,
506
- ._spinner_w0lyd_148 {
505
+ ._running_1xkms_154,
506
+ ._spinner_1xkms_148 {
507
507
  color: var(--color-warning);
508
508
  }
509
- ._waiting_w0lyd_159 {
509
+ ._waiting_1xkms_159 {
510
510
  color: var(--color-secondary);
511
511
  }
512
- ._success_w0lyd_163 {
512
+ ._success_1xkms_163 {
513
513
  color: var(--color-success);
514
514
  }
515
- ._error_w0lyd_167 {
515
+ ._error_1xkms_167 {
516
516
  color: var(--color-danger);
517
517
  }
518
- ._newInfo_w0lyd_171,
519
- ._runningInfo_w0lyd_172 {
518
+ ._newInfo_1xkms_171,
519
+ ._runningInfo_1xkms_172 {
520
520
  display: flex;
521
521
  flex-direction: column;
522
522
  align-items: center;
523
523
  margin-top: var(--spacing-4xl);
524
524
  }
525
- ._newMessage_w0lyd_179,
526
- ._runningMessage_w0lyd_180 {
525
+ ._newMessage_1xkms_179,
526
+ ._runningMessage_1xkms_180 {
527
527
  width: 240px;
528
528
  margin-top: var(--spacing-l);
529
529
  text-align: center;
530
530
  }
531
- ._debugLink_w0lyd_186 a > span {
531
+ ._debugLink_1xkms_186 a > span {
532
532
  display: block;
533
533
  padding: var(--button-padding-vertical, var(--spacing-xs)) var(--button-padding-horizontal, var(--spacing-m));
534
534
  }
535
- ._actions_w0lyd_191 {
535
+ ._actions_1xkms_191 {
536
536
  display: flex;
537
537
  gap: var(--spacing-xs);
538
- }
539
- ._testDropdownMenu_w0lyd_196 {
540
- padding: 0;
541
- }
542
- ._testDropdownMenuScroll_w0lyd_200 {
543
- max-height: 274px;
544
- overflow-y: auto;
545
- overflow-x: hidden;
546
- }
547
- ._createTestButton_w0lyd_206 {
548
- border-top: 1px solid var(--color-foreground-base);
549
- background-color: var(--color-background-light-base);
550
- border-bottom-left-radius: var(--border-radius-base);
551
- border-bottom-right-radius: var(--border-radius-base);
552
- }
553
- ._createTestButton_w0lyd_206:not(._is-disabled_w0lyd_212):hover {
554
- color: var(--color-primary);
555
- }
556
- ._fontMedium_w0lyd_216 {
557
- font-weight: 600;
558
- }
559
- ._buttonGroup_w0lyd_220 {
560
- display: inline-flex;
561
- }
562
- ._buttonGroup_w0lyd_220 .button:first-child {
563
- border-top-right-radius: 0;
564
- border-bottom-right-radius: 0;
565
- }
566
- ._buttonGroup_w0lyd_220 .button:last-child {
567
- border-top-left-radius: 0;
568
- border-bottom-left-radius: 0;
569
- border-left: 0;
570
538
  }
@@ -1,8 +1,9 @@
1
- import { d as defineComponent, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, _ as _export_sfc, au as useExecutionsStore, a as useToast, r as ref, q as computed, c6 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, aB as withDirectives, ah as useTelemetry, U as useRoute, b as useRouter, T as useWorkflowsStore, p as useSettingsStore, c7 as useTestDefinitionStore, a8 as getResourcePermissions, ab as EnterpriseEditionFeature, o as onMounted, f as createCommentVNode, b8 as N8nText, ba as N8nButton, c8 as RouterLink, V as VIEWS, c9 as ElDropdown, J as withModifiers, aT as _sfc_main$4, ca as N8nIcon, cb as ElDropdownMenu, cc as ElDropdownItem, aR as N8nTooltip, ar as h, aj as useMessage, ak as MODAL_CONFIRM } from "./index-CkOV8f0Z.js";
2
- import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DofUIs9S.js";
3
- import { W as WorkflowPreview } from "./WorkflowPreview-gflk06YT.js";
4
- import { u as useExecutionDebugging } from "./useExecutionDebugging-D4s4CdaL.js";
5
- import { u as useExecutionHelpers } from "./useExecutionHelpers-Bm91b8wb.js";
1
+ import { d as defineComponent, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, _ as _export_sfc, av as useExecutionsStore, a as useToast, r as ref, q as computed, cc 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, aC as withDirectives, ai as useTelemetry, W as useRoute, U as useWorkflowsStore, p as useSettingsStore, a9 as getResourcePermissions, ac as EnterpriseEditionFeature, f as createCommentVNode, b9 as N8nText, bb as N8nButton, cd as RouterLink, V as VIEWS, aU as _sfc_main$4, ce as ElDropdownMenu, cf as ElDropdownItem, cg as ElDropdown, ak as useMessage, al as MODAL_CONFIRM } from "./index-D76xStxp.js";
2
+ import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BNiwICGe.js";
3
+ import { W as WorkflowPreview } from "./WorkflowPreview-DlKRTeNZ.js";
4
+ import { u as useExecutionDebugging } from "./useExecutionDebugging-Bm9sy3W3.js";
5
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-C_yBGArA.js";
6
+ import "./dateFormatter-Cdy8FmTT.js";
6
7
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7
8
  __name: "VoteButtons",
8
9
  props: {
@@ -335,16 +336,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
335
336
  const props = __props;
336
337
  const emit = __emit;
337
338
  const route = useRoute();
338
- const router = useRouter();
339
339
  const locale = useI18n();
340
340
  const executionHelpers = useExecutionHelpers();
341
341
  const message = useMessage();
342
- const toast = useToast();
343
342
  const executionDebugging = useExecutionDebugging();
344
343
  const workflowsStore = useWorkflowsStore();
345
344
  const settingsStore = useSettingsStore();
346
- const testDefinitionStore = useTestDefinitionStore();
347
- const executionsStore = useExecutionsStore();
348
345
  const retryDropdownRef = ref(null);
349
346
  const workflowId = computed(() => route.params.name);
350
347
  const workflowPermissions = computed(
@@ -372,92 +369,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
372
369
  const hasAnnotation = computed(
373
370
  () => !!props.execution?.annotation && (props.execution?.annotation.vote || props.execution?.annotation.tags.length > 0)
374
371
  );
375
- const testDefinitions = computed(
376
- () => testDefinitionStore.allTestDefinitionsByWorkflowId[workflowId.value] ?? []
377
- );
378
- const testDefinition = computed(
379
- () => testDefinitions.value.find((test) => test.id === route.query.testId)
380
- );
381
- const disableAddToTestTooltip = computed(() => {
382
- if (props.execution.mode === "evaluation") {
383
- return locale.baseText("testDefinition.executions.tooltip.noExecutions");
384
- }
385
- if (props.execution.status !== "success") {
386
- return locale.baseText("testDefinition.executions.tooltip.onlySuccess");
387
- }
388
- return "";
389
- });
390
- const getTagIds = (tags) => (tags ?? []).map((t) => t.id);
391
- const addExecutionTag = async (annotationTagId) => {
392
- const newTags = [...getTagIds(props.execution?.annotation?.tags), annotationTagId];
393
- await executionsStore.annotateExecution(props.execution.id, { tags: newTags });
394
- toast.showToast({
395
- title: locale.baseText("testDefinition.executions.toast.addedTo.title"),
396
- message: h(
397
- N8nText,
398
- {
399
- color: "primary",
400
- style: { cursor: "pointer " }
401
- },
402
- () => locale.baseText("testDefinition.executions.toast.closeTab")
403
- ),
404
- closeOnClick: false,
405
- onClick() {
406
- window.close();
407
- },
408
- type: "success"
409
- });
410
- };
411
- const removeExecutionTag = async (annotationTagId) => {
412
- const newTags = getTagIds(props.execution?.annotation?.tags).filter(
413
- (id) => id !== annotationTagId
414
- );
415
- await executionsStore.annotateExecution(props.execution.id, { tags: newTags });
416
- toast.showMessage({
417
- title: locale.baseText("testDefinition.executions.toast.removedFrom.title"),
418
- type: "success"
419
- });
420
- };
421
- const createTestForExecution = async (id) => {
422
- await router.push({
423
- name: VIEWS.NEW_TEST_DEFINITION,
424
- params: {
425
- name: workflowId.value
426
- },
427
- query: {
428
- executionId: id,
429
- annotationTags: getTagIds(props.execution?.annotation?.tags)
430
- }
431
- });
432
- };
433
- const commandCallbacks = {
434
- addTag: addExecutionTag,
435
- removeTag: removeExecutionTag,
436
- createTest: createTestForExecution
437
- };
438
- const handleCommand = async (command) => {
439
- const action = commandCallbacks[command.type];
440
- return await action(command.id);
441
- };
442
- const testList = computed(() => {
443
- return testDefinitions.value.reduce((acc, test) => {
444
- if (!test.annotationTagId) return acc;
445
- const added = isTagAlreadyAdded(test.annotationTagId);
446
- acc.push({
447
- label: test.name,
448
- value: test.annotationTagId,
449
- added,
450
- command: { type: added ? "removeTag" : "addTag", id: test.annotationTagId, name: test.name }
451
- });
452
- return acc;
453
- }, []);
454
- });
455
- function isTagAlreadyAdded(tagId) {
456
- return Boolean(tagId && props.execution?.annotation?.tags.some((tag) => tag.id === tagId));
457
- }
458
- const executionHasTestTag = computed(
459
- () => isTagAlreadyAdded(testDefinition.value?.annotationTagId)
460
- );
461
372
  async function onDeleteExecution() {
462
373
  const confirmationText = [
463
374
  hasAnnotation.value && locale.baseText("executionDetails.confirmMessage.annotationsNote"),
@@ -488,9 +399,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
488
399
  retryDropdownRef.value.handleClose();
489
400
  }
490
401
  }
491
- onMounted(async () => {
492
- await testDefinitionStore.fetchTestDefinitionsByWorkflowId(workflowId.value);
493
- });
494
402
  return (_ctx, _cache) => {
495
403
  const _component_N8nSpinner = resolveComponent("N8nSpinner");
496
404
  return executionUIDetails.value?.name === "new" ? (openBlock(), createElementBlock("div", {
@@ -568,7 +476,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
568
476
  ]),
569
477
  _: 1
570
478
  }),
571
- _cache[3] || (_cache[3] = createBaseVNode("br", null, null, -1)),
479
+ _cache[1] || (_cache[1] = createBaseVNode("br", null, null, -1)),
572
480
  executionUIDetails.value?.name === "running" ? (openBlock(), createBlock(_component_N8nSpinner, {
573
481
  key: 0,
574
482
  size: "small",
@@ -584,7 +492,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
584
492
  ]),
585
493
  _: 1
586
494
  }, 8, ["class"]),
587
- _cache[4] || (_cache[4] = createTextVNode(" " + toDisplayString(" ") + " ")),
495
+ _cache[2] || (_cache[2] = createTextVNode(" " + toDisplayString(" ") + " ")),
588
496
  executionUIDetails.value?.showTimestamp === false ? (openBlock(), createBlock(unref(N8nText), {
589
497
  key: 1,
590
498
  color: "text-base",
@@ -618,7 +526,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
618
526
  ]),
619
527
  _: 1
620
528
  })) : createCommentVNode("", true),
621
- _cache[5] || (_cache[5] = createBaseVNode("br", null, null, -1)),
529
+ _cache[3] || (_cache[3] = createBaseVNode("br", null, null, -1)),
622
530
  _ctx.execution.mode === "retry" ? (openBlock(), createBlock(unref(N8nText), {
623
531
  key: 4,
624
532
  color: "text-base",
@@ -648,135 +556,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
648
556
  createBaseVNode("div", {
649
557
  class: normalizeClass(_ctx.$style.actions)
650
558
  }, [
651
- createVNode(unref(N8nTooltip), {
652
- placement: "top",
653
- content: disableAddToTestTooltip.value,
654
- disabled: !disableAddToTestTooltip.value
655
- }, {
656
- default: withCtx(() => [
657
- createVNode(unref(ElDropdown), {
658
- trigger: "click",
659
- placement: "bottom-end",
660
- "data-test-id": "test-execution-crud",
661
- onCommand: handleCommand
662
- }, {
663
- dropdown: withCtx(() => [
664
- createVNode(unref(ElDropdownMenu), {
665
- class: normalizeClass(_ctx.$style.testDropdownMenu)
666
- }, {
667
- default: withCtx(() => [
668
- createBaseVNode("div", {
669
- class: normalizeClass(_ctx.$style.testDropdownMenuScroll)
670
- }, [
671
- (openBlock(true), createElementBlock(Fragment, null, renderList(testList.value, (test) => {
672
- return openBlock(), createBlock(unref(ElDropdownItem), {
673
- key: test.value,
674
- command: test.command,
675
- "data-test-id": "test-execution-add-to"
676
- }, {
677
- default: withCtx(() => [
678
- createVNode(unref(N8nText), {
679
- color: test.added ? "primary" : "text-dark",
680
- class: normalizeClass(_ctx.$style.fontMedium)
681
- }, {
682
- default: withCtx(() => [
683
- test.added ? (openBlock(), createBlock(unref(N8nIcon), {
684
- key: 0,
685
- icon: "check",
686
- color: "primary"
687
- })) : createCommentVNode("", true),
688
- createTextVNode(" " + toDisplayString(test.label), 1)
689
- ]),
690
- _: 2
691
- }, 1032, ["color", "class"])
692
- ]),
693
- _: 2
694
- }, 1032, ["command"]);
695
- }), 128))
696
- ], 2),
697
- createVNode(unref(ElDropdownItem), {
698
- class: normalizeClass(_ctx.$style.createTestButton),
699
- command: { type: "createTest", id: _ctx.execution.id },
700
- disabled: !workflowPermissions.value.update,
701
- "data-test-id": "test-execution-create"
702
- }, {
703
- default: withCtx(() => [
704
- createVNode(unref(N8nText), {
705
- class: normalizeClass(_ctx.$style.fontMedium)
706
- }, {
707
- default: withCtx(() => [
708
- createVNode(unref(N8nIcon), { icon: "plus" }),
709
- createTextVNode(" " + toDisplayString(unref(locale).baseText("testDefinition.executions.tooltip.addTo")), 1)
710
- ]),
711
- _: 1
712
- }, 8, ["class"])
713
- ]),
714
- _: 1
715
- }, 8, ["class", "command", "disabled"])
716
- ]),
717
- _: 1
718
- }, 8, ["class"])
719
- ]),
720
- default: withCtx(() => [
721
- testDefinition.value ? (openBlock(), createElementBlock("div", {
722
- key: 0,
723
- class: normalizeClass(_ctx.$style.buttonGroup)
724
- }, [
725
- executionHasTestTag.value ? (openBlock(), createBlock(unref(N8nButton), {
726
- key: 0,
727
- disabled: !!disableAddToTestTooltip.value,
728
- type: "secondary",
729
- "data-test-id": "test-execution-remove",
730
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => removeExecutionTag(testDefinition.value.annotationTagId), ["stop"]))
731
- }, {
732
- default: withCtx(() => [
733
- createTextVNode(toDisplayString(unref(locale).baseText("testDefinition.executions.removeFrom", {
734
- interpolate: { name: testDefinition.value.name }
735
- })), 1)
736
- ]),
737
- _: 1
738
- }, 8, ["disabled"])) : (openBlock(), createBlock(unref(N8nButton), {
739
- key: 1,
740
- disabled: !!disableAddToTestTooltip.value,
741
- type: "primary",
742
- "data-test-id": "test-execution-add",
743
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => addExecutionTag(testDefinition.value.annotationTagId), ["stop"]))
744
- }, {
745
- default: withCtx(() => [
746
- createTextVNode(toDisplayString(unref(locale).baseText("testDefinition.executions.addTo.existing", {
747
- interpolate: { name: testDefinition.value.name }
748
- })), 1)
749
- ]),
750
- _: 1
751
- }, 8, ["disabled"])),
752
- createVNode(unref(_sfc_main$4), {
753
- disabled: !!disableAddToTestTooltip.value,
754
- icon: "angle-down",
755
- type: executionHasTestTag.value ? "secondary" : "primary",
756
- "data-test-id": "test-execution-toggle"
757
- }, null, 8, ["disabled", "type"])
758
- ], 2)) : (openBlock(), createBlock(unref(N8nButton), {
759
- key: 1,
760
- disabled: !!disableAddToTestTooltip.value,
761
- type: "secondary",
762
- "data-test-id": "test-execution-toggle"
763
- }, {
764
- default: withCtx(() => [
765
- createTextVNode(toDisplayString(unref(locale).baseText("testDefinition.executions.addTo.new")) + " ", 1),
766
- createVNode(unref(N8nIcon), {
767
- icon: "angle-down",
768
- size: "small",
769
- class: "ml-2xs"
770
- })
771
- ]),
772
- _: 1
773
- }, 8, ["disabled"]))
774
- ]),
775
- _: 1
776
- })
777
- ]),
778
- _: 1
779
- }, 8, ["content", "disabled"]),
780
559
  createVNode(unref(RouterLink), {
781
560
  to: {
782
561
  name: unref(VIEWS).EXECUTION_DEBUG,
@@ -796,7 +575,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
796
575
  default: withCtx(() => [
797
576
  createBaseVNode("span", {
798
577
  "data-test-id": "execution-debug-button",
799
- onClick: _cache[2] || (_cache[2] = //@ts-ignore
578
+ onClick: _cache[0] || (_cache[0] = //@ts-ignore
800
579
  (...args) => unref(executionDebugging).handleDebugLinkClick && unref(executionDebugging).handleDebugLinkClick(...args))
801
580
  }, toDisplayString(debugButtonData.value.text), 1)
802
581
  ]),
@@ -868,24 +647,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
868
647
  };
869
648
  }
870
649
  });
871
- const previewContainer = "_previewContainer_w0lyd_123";
872
- const executionDetails = "_executionDetails_w0lyd_129";
873
- const spinner = "_spinner_w0lyd_148";
874
- const running = "_running_w0lyd_154";
875
- const waiting = "_waiting_w0lyd_159";
876
- const success = "_success_w0lyd_163";
877
- const error = "_error_w0lyd_167";
878
- const newInfo = "_newInfo_w0lyd_171";
879
- const runningInfo = "_runningInfo_w0lyd_172";
880
- const newMessage = "_newMessage_w0lyd_179";
881
- const runningMessage = "_runningMessage_w0lyd_180";
882
- const debugLink = "_debugLink_w0lyd_186";
883
- const actions = "_actions_w0lyd_191";
884
- const testDropdownMenu = "_testDropdownMenu_w0lyd_196";
885
- const testDropdownMenuScroll = "_testDropdownMenuScroll_w0lyd_200";
886
- const createTestButton = "_createTestButton_w0lyd_206";
887
- const fontMedium = "_fontMedium_w0lyd_216";
888
- const buttonGroup = "_buttonGroup_w0lyd_220";
650
+ const previewContainer = "_previewContainer_1xkms_123";
651
+ const executionDetails = "_executionDetails_1xkms_129";
652
+ const spinner = "_spinner_1xkms_148";
653
+ const running = "_running_1xkms_154";
654
+ const waiting = "_waiting_1xkms_159";
655
+ const success = "_success_1xkms_163";
656
+ const error = "_error_1xkms_167";
657
+ const newInfo = "_newInfo_1xkms_171";
658
+ const runningInfo = "_runningInfo_1xkms_172";
659
+ const newMessage = "_newMessage_1xkms_179";
660
+ const runningMessage = "_runningMessage_1xkms_180";
661
+ const debugLink = "_debugLink_1xkms_186";
662
+ const actions = "_actions_1xkms_191";
889
663
  const style0 = {
890
664
  previewContainer,
891
665
  executionDetails,
@@ -899,13 +673,7 @@ const style0 = {
899
673
  newMessage,
900
674
  runningMessage,
901
675
  debugLink,
902
- actions,
903
- testDropdownMenu,
904
- testDropdownMenuScroll,
905
- createTestButton,
906
- "is-disabled": "_is-disabled_w0lyd_212",
907
- fontMedium,
908
- buttonGroup
676
+ actions
909
677
  };
910
678
  const cssModules = {
911
679
  "$style": style0
@@ -1,9 +1,10 @@
1
- import { d as defineComponent, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, q as computed, ab 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, _ as _export_sfc, b as useRouter, au as useExecutionsStore, a7 as usePageRedirectionHelper, r as ref, a8 as getResourcePermissions, I as watch, c2 as TransitionGroup, F as Fragment, D as renderList, c3 as isComponentPublicInstance, a6 as useWorkflowHelpers, bQ as onBeforeRouteLeave, bO as getNodeViewTab, s as MAIN_HEADER_TABS, bv as useNodeTypesStore, a as useToast, K as useDebounce, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, bL as NEW_WORKFLOW_ID, y as onBeforeUnmount, c4 as NO_NETWORK_ERROR_CODE, ah as useTelemetry } from "./index-CkOV8f0Z.js";
2
- import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-D15zjPBZ.js";
3
- import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-Bm91b8wb.js";
4
- import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BcD7ZskD.js";
5
- import { c as useCanvasOperations } from "./useCanvasOperations-FyzGfva5.js";
6
- import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DofUIs9S.js";
1
+ import { d as defineComponent, W as useRoute, U as useWorkflowsStore, p as useSettingsStore, q as computed, ac 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, _ as _export_sfc, b as useRouter, av as useExecutionsStore, a8 as usePageRedirectionHelper, r as ref, a9 as getResourcePermissions, I as watch, c7 as TransitionGroup, F as Fragment, D as renderList, c8 as isComponentPublicInstance, a7 as useWorkflowHelpers, bV as onBeforeRouteLeave, bT as getNodeViewTab, s as MAIN_HEADER_TABS, bw as useNodeTypesStore, a as useToast, K as useDebounce, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, bQ as NEW_WORKFLOW_ID, y as onBeforeUnmount, c9 as NO_NETWORK_ERROR_CODE, ai as useTelemetry, ca as executionRetryMessage } from "./index-D76xStxp.js";
2
+ import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-B0NnOKRw.js";
3
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-C_yBGArA.js";
4
+ import { a as toDayMonth, t as toTime } from "./dateFormatter-Cdy8FmTT.js";
5
+ import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-Md7C2uBw.js";
6
+ import { b as useCanvasOperations } from "./useCanvasOperations-CAthHfOB.js";
7
+ import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BNiwICGe.js";
7
8
  const _hoisted_1$1 = { key: 2 };
8
9
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
9
10
  __name: "WorkflowExecutionsCard",
@@ -860,17 +861,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
860
861
  }
861
862
  async function retryExecution(payload) {
862
863
  try {
863
- const retrySuccessful = await executionsStore.retryExecution(payload.id, payload.loadWorkflow);
864
- if (retrySuccessful) {
865
- toast.showMessage({
866
- title: i18n.baseText("executionsList.showMessage.retrySuccessfulTrue.title"),
867
- type: "success"
868
- });
869
- } else {
870
- toast.showMessage({
871
- title: i18n.baseText("executionsList.showMessage.retrySuccessfulFalse.title"),
872
- type: "error"
873
- });
864
+ const retryStatus = await executionsStore.retryExecution(payload.id, payload.loadWorkflow);
865
+ const retryMessage = executionRetryMessage(retryStatus);
866
+ if (retryMessage) {
867
+ toast.showMessage(retryMessage);
874
868
  }
875
869
  } catch (error2) {
876
870
  toast.showError(error2, i18n.baseText("executionsList.showError.retryExecution.title"));
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, r as ref, q as computed, fl 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, J as withModifiers, _ as _export_sfc, F as Fragment, D as renderList, aI as get, S as defineStore, a0 as useRootStore, p as useSettingsStore, T as useWorkflowsStore, cZ as getNewWorkflow, U as useRoute, b as useRouter, a as useToast, a7 as usePageRedirectionHelper, L as useUIStore, V as VIEWS, a8 as getResourcePermissions, aA as onBeforeMount, bb as watchEffect, de as telemetry, ar as h, gc as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-CkOV8f0Z.js";
2
- import { W as WorkflowPreview } from "./WorkflowPreview-gflk06YT.js";
3
- import { F as FileSaver_minExports } from "./FileSaver.min-DLKMtSuf.js";
1
+ import { d as defineComponent, r as ref, q as computed, f9 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, J as withModifiers, _ as _export_sfc, F as Fragment, D as renderList, aJ as get, S as defineStore, a1 as useRootStore, p as useSettingsStore, U as useWorkflowsStore, d0 as getNewWorkflow, W as useRoute, b as useRouter, a as useToast, a8 as usePageRedirectionHelper, L as useUIStore, V as VIEWS, a9 as getResourcePermissions, aB as onBeforeMount, bc as watchEffect, dh as telemetry, as as h, g4 as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-D76xStxp.js";
2
+ import { W as WorkflowPreview } from "./WorkflowPreview-DlKRTeNZ.js";
3
+ import { F as FileSaver_minExports } from "./FileSaver.min-CsyH54Dh.js";
4
4
  const _hoisted_1$2 = ["datetime"];
5
5
  const _hoisted_2$1 = ["value"];
6
6
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
@@ -22,7 +22,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22
22
  const isAuthorElementTruncated = ref(false);
23
23
  const formattedCreatedAt = computed(() => {
24
24
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear().toString();
25
- const [date, time] = dateFormat(
25
+ const [date, time] = dateformat(
26
26
  props.item.createdAt,
27
27
  `${props.item.createdAt.startsWith(currentYear) ? "" : "yyyy "}mmm d"#"HH:MM:ss`
28
28
  ).split("#");
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, aE as useLoadingService, aO as useTemplatesStore, T as useWorkflowsStore, b as useRouter, U as useRoute, o as onMounted, V as VIEWS, i as createElementBlock, g as openBlock, c as useI18n } from "./index-CkOV8f0Z.js";
1
+ import { d as defineComponent, aF as useLoadingService, aP as useTemplatesStore, U as useWorkflowsStore, b as useRouter, W as useRoute, o as onMounted, V as VIEWS, i as createElementBlock, g as openBlock, c as useI18n } from "./index-D76xStxp.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "WorkflowOnboardingView",
4
4
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, a as useToast, au as useExecutionsStore, r as ref, q as computed, o as onMounted, y as onBeforeUnmount, I 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-CkOV8f0Z.js";
1
+ import { d as defineComponent, a as useToast, av as useExecutionsStore, r as ref, q as computed, o as onMounted, y as onBeforeUnmount, I 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-D76xStxp.js";
2
2
  const _hoisted_1 = ["src"];
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "WorkflowPreview",