n8n-editor-ui 1.86.0 → 1.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/assets/AnimatedSpinner-ChSRgyeI.css +39 -0
  2. package/dist/assets/AnimatedSpinner-urWn52iY.js +18 -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-DIbgkfAC.js} +1 -1
  4. package/dist/assets/{AuthView-CyY2quTd.js → AuthView-DIQI5asI.js} +2 -2
  5. package/dist/assets/{CanvasChatSwitch-CRtE2Fld.css → CanvasChatSwitch-0IWSu8RE.css} +249 -45
  6. package/dist/assets/{CanvasChatSwitch-BTInPgKl.js → CanvasChatSwitch-BIpZuY-n.js} +437 -268
  7. package/dist/assets/{ChangePasswordView-Db-MkXhZ.js → ChangePasswordView-D8Qv0tim.js} +3 -3
  8. package/dist/assets/CollectionParameter-DT1MnS63.js +4 -0
  9. package/dist/assets/{CredentialsView-CLr_6U2B.js → CredentialsView-tJ8-2RrO.js} +8 -8
  10. package/dist/assets/{ErrorView-CUS5vnCW.js → ErrorView-CZEZD7LB.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-gcknFyjA.js} +23 -20
  13. package/dist/assets/{ExecutionsView-1df-oH5P.js → ExecutionsView-BCfIz8EF.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-Bs2qHlKb.js} +1 -1
  16. package/dist/assets/{FixedCollectionParameter-CcqTLBeP.js → FixedCollectionParameter-E0LDqNW3.js} +1 -1
  17. package/dist/assets/{ForgotMyPasswordView-BHRWkO2H.js → ForgotMyPasswordView-YOnrzvKJ.js} +3 -3
  18. package/dist/assets/InsightsChartAverageRuntime-DWrrriYN.js +61 -0
  19. package/dist/assets/InsightsChartFailed-DRi6JC3m.js +57 -0
  20. package/dist/assets/InsightsChartFailureRate-BdFNsMpg.js +57 -0
  21. package/dist/assets/InsightsChartTimeSaved-C12GZzSQ.js +71 -0
  22. package/dist/assets/InsightsChartTotal-Cn386HO4.js +59 -0
  23. package/dist/assets/InsightsDashboard-BawwZ0Oo.js +154 -0
  24. package/dist/assets/InsightsDashboard-CB4vHnBh.css +152 -0
  25. package/dist/assets/InsightsPaywall-OeXh6LeZ.css +133 -0
  26. package/dist/assets/InsightsPaywall-g3JcqAYL.js +58 -0
  27. package/dist/assets/{InsightsSummary-DcRuPjLJ.css → InsightsSummary-W08OzElS.css} +57 -35
  28. package/dist/assets/InsightsSummary-vMmKUcie.js +185 -0
  29. package/dist/assets/InsightsTableWorkflows-DQQ1vvMz.js +129 -0
  30. package/dist/assets/InsightsTableWorkflows-Us3j4UTO.css +128 -0
  31. package/dist/assets/{Logo-DbXTFYA8.js → Logo-Vm92axlM.js} +1 -1
  32. package/dist/assets/{MainHeader-BfQR9Td3.js → MainHeader-BUhpvu2K.js} +9 -10
  33. package/dist/assets/{MainSidebar-CDUegYGN.js → MainSidebar-D5P5FSUQ.js} +11 -2
  34. package/dist/assets/{NodeCreation-BBXRRxZa.js → NodeCreation-BgW5u-Bc.js} +4 -4
  35. package/dist/assets/{NodeCreator-BiyvtIjb.js → NodeCreator-CFe2n6vJ.js} +3 -3
  36. package/dist/assets/{NodeDetailsView-BcVu3kf0.css → NodeDetailsView-BT-ro74o.css} +63 -70
  37. package/dist/assets/{NodeDetailsView-Ph7FVpa8.js → NodeDetailsView-CmtK-rDD.js} +138 -478
  38. package/dist/assets/{NodeView-BEJ48TF4.js → NodeView-BqaNPfpx.js} +19 -21
  39. package/dist/assets/{ProjectCardBadge-B7cCM6Eo.js → ProjectCardBadge-BKgtzWr1.js} +1 -1
  40. package/dist/assets/{ProjectHeader-BjPaep-H.js → ProjectHeader-BWVSdavS.js} +1 -1
  41. package/dist/assets/{ProjectSettings-C1By1g0Z.js → ProjectSettings-BL-2-uOg.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-BL-bMMgn.js} +1 -2
  43. package/dist/assets/{ResourcesListLayout-CiiXWGd5.js → ResourcesListLayout-CozpmfUY.js} +1 -1
  44. package/dist/assets/{RunDataAi-CQE0VYut.js → RunDataAi-B_EadpzG.js} +88 -37
  45. package/dist/assets/{RunDataAi-CN9FrT9c.css → RunDataAi-CUUDqZRP.css} +128 -0
  46. package/dist/assets/{RunDataJson-BY9cOxFp.js → RunDataJson-CyNNCtyd.js} +11 -12
  47. package/dist/assets/{RunDataJsonActions-CuFjccfe.js → RunDataJsonActions-SQqaiBEP.js} +1 -2
  48. package/dist/assets/{RunDataSearch-afEc-21Y.js → RunDataSearch-BF9kshKq.js} +1 -1
  49. package/dist/assets/{RunDataTable-N6yWFXKt.js → RunDataTable-DsW7wuc2.js} +10 -8
  50. package/dist/assets/{SamlOnboarding-HDQzVmha.js → SamlOnboarding-BX7RiRJB.js} +3 -3
  51. package/dist/assets/{SettingsApiView-DQMZT3uc.js → SettingsApiView-CDIPYvaG.js} +1 -1
  52. package/dist/assets/{SettingsCommunityNodesView-BlQT_0E8.js → SettingsCommunityNodesView-BRSEkT73.js} +4 -5
  53. package/dist/assets/{SettingsExternalSecrets-BL_3qoNS.js → SettingsExternalSecrets-D7ASuAnS.js} +1 -1
  54. package/dist/assets/{SettingsLdapView-BMsfXg-A.js → SettingsLdapView-DA5fZZ51.js} +1 -1
  55. package/dist/assets/{SettingsLogStreamingView-Bm5vaSO2.js → SettingsLogStreamingView-C9qkYvCr.js} +1 -1
  56. package/dist/assets/{SettingsPersonalView-Djl1VXnE.js → SettingsPersonalView-BnNOJcvO.js} +1 -1
  57. package/dist/assets/{SettingsSourceControl-A-9nD8hG.js → SettingsSourceControl--ozL4427.js} +1 -1
  58. package/dist/assets/{SettingsSso-DZCscZY6.js → SettingsSso-Bfe_HRSr.js} +1 -1
  59. package/dist/assets/{SettingsUsageAndPlan-Rd5AGlNl.js → SettingsUsageAndPlan-CzvMNudh.js} +1 -1
  60. package/dist/assets/{SettingsUsersView-NEahsGVs.js → SettingsUsersView-DGu5ku48.js} +1 -1
  61. package/dist/assets/{SettingsView-CeXAUGXE.js → SettingsView-CvreVxXL.js} +1 -1
  62. package/dist/assets/{SetupView-BI7oJfg0.js → SetupView-BJT6GtIA.js} +3 -3
  63. package/dist/assets/{SetupWorkflowCredentialsButton-DMZX1S1F.js → SetupWorkflowCredentialsButton-BEq2gs_-.js} +2 -4
  64. package/dist/assets/{SetupWorkflowFromTemplateView-DZsPVdhN.js → SetupWorkflowFromTemplateView-F9oCDWX8.js} +3 -12
  65. package/dist/assets/{SigninView-CzVnEKyz.js → SigninView-DyoDtCBc.js} +3 -3
  66. package/dist/assets/{SignoutView-C4ynr4AN.js → SignoutView-DclBslYe.js} +1 -1
  67. package/dist/assets/{SignupView-9nwGonm9.js → SignupView-BhB0Hhj0.js} +3 -3
  68. package/dist/assets/{TemplateDetails-DT1tI4AF.js → TemplateDetails-B3utdyMi.js} +1 -1
  69. package/dist/assets/{TemplateList-DGPm_Qol.js → TemplateList-Bgz1iiiH.js} +1 -1
  70. package/dist/assets/{TemplatesCollectionView-DwXY5s5G.js → TemplatesCollectionView-CORzb8YZ.js} +7 -9
  71. package/dist/assets/{TemplatesSearchView-D0R7uF40.js → TemplatesSearchView-DTuv4-5C.js} +3 -3
  72. package/dist/assets/{TemplatesView-BZ-ntkfi.js → TemplatesView-CFV5SVF7.js} +1 -1
  73. package/dist/assets/{TemplatesWorkflowView-TwVAHvD7.js → TemplatesWorkflowView-CQVVdNty.js} +5 -7
  74. package/dist/assets/{TestDefinitionEditView-C3nnWQ4Q.css → TestDefinitionEditView-Cwkrz308.css} +12 -18
  75. package/dist/assets/{TestDefinitionEditView-o2Gc4BjN.js → TestDefinitionEditView-DX6GIeq2.js} +163 -199
  76. package/dist/assets/{TestDefinitionListView-BuUWjPAl.js → TestDefinitionListView-CLEkthYQ.js} +1 -1
  77. package/dist/assets/{TestDefinitionNewView-DmSFNxfn.js → TestDefinitionNewView-DWTTqvlN.js} +2 -2
  78. package/dist/assets/{TestDefinitionRootView-1dNmGZUI.js → TestDefinitionRootView-D0yLW0V6.js} +1 -1
  79. package/dist/assets/{VariablesView-D46tH9pw.js → VariablesView-Dsr4pqth.js} +3 -3
  80. package/dist/assets/{WorkerView-G0K849qT.js → WorkerView-Bbu5wv-g.js} +6 -7
  81. package/dist/assets/{WorkflowActivator-DfalOPsa.js → WorkflowActivator-C197X_D6.js} +2 -2
  82. package/dist/assets/{WorkflowExecutionsInfoAccordion-BcD7ZskD.js → WorkflowExecutionsInfoAccordion-CHPlRtMQ.js} +1 -1
  83. package/dist/assets/{WorkflowExecutionsLandingPage-BhPbJi5K.js → WorkflowExecutionsLandingPage-CnvMc3SA.js} +2 -2
  84. package/dist/assets/{WorkflowExecutionsPreview-CowaFwPg.js → WorkflowExecutionsPreview-CJBM3Awe.js} +24 -256
  85. package/dist/assets/{WorkflowExecutionsPreview-CHu6M3Dh.css → WorkflowExecutionsPreview-D7jTJ8GL.css} +16 -48
  86. package/dist/assets/{WorkflowExecutionsView-BAojAjIM.js → WorkflowExecutionsView-BwB6WS6M.js} +11 -17
  87. package/dist/assets/{WorkflowHistory-Bj5_YFN8.js → WorkflowHistory-U5a4aYts.js} +4 -4
  88. package/dist/assets/{WorkflowOnboardingView-D9peqUJs.js → WorkflowOnboardingView-DHUUTLOo.js} +1 -1
  89. package/dist/assets/{WorkflowPreview-gflk06YT.js → WorkflowPreview-D8pwehRe.js} +1 -1
  90. package/dist/assets/{WorkflowsView-CmgKYCQ6.js → WorkflowsView-DIh7kqZk.js} +10 -10
  91. package/dist/assets/chartjs.utils-DTEY3u-V.js +193 -0
  92. package/dist/assets/dateFormatter-C7xnNKzY.js +21 -0
  93. package/dist/assets/{easyAiWorkflowUtils-CLssJdgl.js → easyAiWorkflowUtils-V__OjFo9.js} +1 -1
  94. package/dist/assets/{global-link-actions-BphqczCY.js → global-link-actions-vGpWr9Uz.js} +1 -1
  95. package/dist/assets/{import-curl-C9KhAemD.js → import-curl-C6ERUxFe.js} +1 -1
  96. package/dist/assets/{index-C0DaAYgf.js → index-BrjPYODL.js} +3 -1
  97. package/dist/assets/{index-CkOV8f0Z.js → index-DD7Wuhk5.js} +9472 -3624
  98. package/dist/assets/{index-BaqhUIB7.css → index-DJ205bL0.css} +369 -44
  99. package/dist/assets/{pickBy-DUugkW7s.js → pickBy-BILEJ4hg.js} +1 -1
  100. package/dist/assets/{templateActions-Czp13jCM.js → templateActions-M3qRQiV6.js} +2 -7
  101. package/dist/assets/{useBeforeUnload-BBbiw-FV.js → useBeforeUnload-DTsj_abb.js} +1 -1
  102. package/dist/assets/{useCanvasMapping-Cla--atl.js → useCanvasMapping-DJvMRP2s.js} +6 -6
  103. package/dist/assets/{useCanvasOperations-FyzGfva5.js → useCanvasOperations-DCaSrD1N.js} +27 -256
  104. package/dist/assets/{useClearExecutionButtonVisible-fESJZE5R.js → useClearExecutionButtonVisible-CVPKhr9F.js} +2 -2
  105. package/dist/assets/{useExecutionDebugging-D4s4CdaL.js → useExecutionDebugging-yY2o_eNc.js} +1 -1
  106. package/dist/assets/{useExecutionHelpers-Bm91b8wb.js → useExecutionHelpers-BVY9xXbG.js} +2 -19
  107. package/dist/assets/{useImportCurlCommand-BPNuR5ZX.js → useImportCurlCommand-Chewi-_x.js} +2 -2
  108. package/dist/assets/{usePushConnection-BbQhNUm8.js → usePushConnection-9zsAnuvC.js} +3 -4
  109. package/dist/assets/{useTestDefinitionForm-ZJngcsSH.js → useTestDefinitionForm-CCVy0jKP.js} +1 -1
  110. package/dist/assets/{useWorkflowActivate-CkCvd-g6.js → useWorkflowActivate-DeEvbrsK.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 { 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-DD7Wuhk5.js";
2
+ import { u as useWorkflowActivate } from "./useWorkflowActivate-DeEvbrsK.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-DD7Wuhk5.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-DD7Wuhk5.js";
2
+ import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-CHPlRtMQ.js";
3
3
  const _hoisted_1 = {
4
4
  key: 0,
5
5
  "data-test-id": "workflow-execution-no-trigger-content"
@@ -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-DD7Wuhk5.js";
2
+ import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DIbgkfAC.js";
3
+ import { W as WorkflowPreview } from "./WorkflowPreview-D8pwehRe.js";
4
+ import { u as useExecutionDebugging } from "./useExecutionDebugging-yY2o_eNc.js";
5
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-BVY9xXbG.js";
6
+ import "./dateFormatter-C7xnNKzY.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
@@ -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,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-DD7Wuhk5.js";
2
+ import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-gcknFyjA.js";
3
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-BVY9xXbG.js";
4
+ import { a as toDayMonth, t as toTime } from "./dateFormatter-C7xnNKzY.js";
5
+ import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-CHPlRtMQ.js";
6
+ import { b as useCanvasOperations } from "./useCanvasOperations-DCaSrD1N.js";
7
+ import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DIbgkfAC.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-DD7Wuhk5.js";
2
+ import { W as WorkflowPreview } from "./WorkflowPreview-D8pwehRe.js";
3
+ import { F as FileSaver_minExports } from "./FileSaver.min-Bs2qHlKb.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-DD7Wuhk5.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-DD7Wuhk5.js";
2
2
  const _hoisted_1 = ["src"];
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "WorkflowPreview",
@@ -1,11 +1,11 @@
1
- import { P as ProjectCardBadge } from "./ProjectCardBadge-B7cCM6Eo.js";
2
- import { d as defineComponent, U as useRoute, b as useRouter, q as computed, c as useI18n, 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, go as ResourceType, J as withModifiers, l as createTextVNode, t as toDisplayString, cR as _sfc_main$4, _ as _export_sfc, a3 as useProjectsStore, ac as ProjectTypes, aV as createSlots, a as useToast, p as useSettingsStore, L as useUIStore, u as useUsersStore, T as useWorkflowsStore, gp as useFoldersStore, r as ref, a8 as getResourcePermissions, fl as dateFormat, aB as withDirectives, aC as vShow, ag as WORKFLOW_SHARE_MODAL_KEY, ah as useTelemetry, ao as DUPLICATE_MODAL_KEY, aj as useMessage, ak as MODAL_CONFIRM, gq as PROJECT_MOVE_RESOURCE_MODAL, gr as FOLDER_NAME_ILLEGAL_CHARACTERS_REGEX, gs as ILLEGAL_FOLDER_CHARACTERS, gt as FOLDER_NAME_ONLY_DOTS_REGEX, gu as FOLDER_NAME_MAX_LENGTH, a2 as useSourceControlStore, av as usePostHog, E as useTagsStore, da as useUsageStore, gv as useInsightsStore, a5 as useDocumentTitle, K as useDebounce, ab as EnterpriseEditionFeature, gw as EASY_AI_WORKFLOW_EXPERIMENT, I as watch, o as onMounted, C as createEventBus, y as onBeforeUnmount, A as debounce, d7 as N8nInputLabel, ae as _sfc_main$5, gx as N8nSelect, F as Fragment, D as renderList, gy as _sfc_main$6, cX as N8nHeading, b8 as N8nText, gz as N8nCard, ca as N8nIcon, gA as DEFAULT_WORKFLOW_PAGE_SIZE, bW as AI_CREDITS_EXPERIMENT, dd as COMMUNITY_PLUS_ENROLLMENT_MODAL } from "./index-CkOV8f0Z.js";
3
- import { R as ResourcesListLayout } from "./ResourcesListLayout-CiiXWGd5.js";
4
- import { W as WorkflowActivator } from "./WorkflowActivator-DfalOPsa.js";
5
- import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-BjPaep-H.js";
6
- import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-CLssJdgl.js";
7
- import { I as InsightsSummary } from "./InsightsSummary-CyilLKXz.js";
8
- import "./useWorkflowActivate-CkCvd-g6.js";
1
+ import { P as ProjectCardBadge } from "./ProjectCardBadge-BKgtzWr1.js";
2
+ import { d as defineComponent, W as useRoute, b as useRouter, q as computed, c as useI18n, 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, gj as ResourceType, J as withModifiers, l as createTextVNode, t as toDisplayString, cV as _sfc_main$4, _ as _export_sfc, a4 as useProjectsStore, ad as ProjectTypes, aW as createSlots, a as useToast, p as useSettingsStore, L as useUIStore, u as useUsersStore, U as useWorkflowsStore, gk as useFoldersStore, r as ref, a9 as getResourcePermissions, f9 as dateformat, aC as withDirectives, aD as vShow, ah as WORKFLOW_SHARE_MODAL_KEY, ai as useTelemetry, ap as DUPLICATE_MODAL_KEY, ak as useMessage, al as MODAL_CONFIRM, gl as PROJECT_MOVE_RESOURCE_MODAL, gm as FOLDER_NAME_ILLEGAL_CHARACTERS_REGEX, gn as ILLEGAL_FOLDER_CHARACTERS, go as FOLDER_NAME_ONLY_DOTS_REGEX, gp as FOLDER_NAME_MAX_LENGTH, a3 as useSourceControlStore, aw as usePostHog, E as useTagsStore, dd as useUsageStore, gq as useInsightsStore, a6 as useDocumentTitle, K as useDebounce, ac as EnterpriseEditionFeature, gr as EASY_AI_WORKFLOW_EXPERIMENT, I as watch, o as onMounted, C as createEventBus, y as onBeforeUnmount, A as debounce, da as N8nInputLabel, af as _sfc_main$5, gs as N8nSelect, F as Fragment, D as renderList, gt as _sfc_main$6, c_ as N8nHeading, b9 as N8nText, gu as N8nCard, bE as N8nIcon, gv as DEFAULT_WORKFLOW_PAGE_SIZE, b$ as AI_CREDITS_EXPERIMENT, dg as COMMUNITY_PLUS_ENROLLMENT_MODAL } from "./index-DD7Wuhk5.js";
3
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-CozpmfUY.js";
4
+ import { W as WorkflowActivator } from "./WorkflowActivator-C197X_D6.js";
5
+ import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-BWVSdavS.js";
6
+ import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-V__OjFo9.js";
7
+ import { I as InsightsSummary } from "./InsightsSummary-vMmKUcie.js";
8
+ import "./useWorkflowActivate-DeEvbrsK.js";
9
9
  const FOLDER_LIST_ITEM_ACTIONS = {
10
10
  OPEN: "open",
11
11
  CREATE: "create",
@@ -417,7 +417,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
417
417
  });
418
418
  const formattedCreatedAtDate = computed(() => {
419
419
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear().toString();
420
- return dateFormat(
420
+ return dateformat(
421
421
  props.data.createdAt,
422
422
  `d mmmm${String(props.data.createdAt).startsWith(currentYear) ? "" : ", yyyy"}`
423
423
  );
@@ -1692,7 +1692,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1692
1692
  header: withCtx(() => [
1693
1693
  createVNode(ProjectHeader, { onCreateFolder: createFolderInCurrent }, {
1694
1694
  default: withCtx(() => [
1695
- unref(overview).isOverviewSubPage ? (openBlock(), createBlock(InsightsSummary, {
1695
+ unref(overview).isOverviewSubPage && unref(insightsStore).isSummaryEnabled ? (openBlock(), createBlock(InsightsSummary, {
1696
1696
  key: 0,
1697
1697
  loading: unref(insightsStore).summary.isLoading,
1698
1698
  summary: unref(insightsStore).summary.state