n8n-editor-ui 1.83.1 → 1.84.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 (110) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-Cu5o7-TL.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-78eP7HIe.js} +1 -1
  2. package/dist/assets/{AuthView-mP34ZmnC.js → AuthView-Bn_LB3Kw.js} +2 -2
  3. package/dist/assets/{CanvasChat-CSLR5tKe.css → CanvasChat-CGGQcCRA.css} +45 -30
  4. package/dist/assets/{CanvasChat-cto4xkVD.js → CanvasChat-tuKMnT6J.js} +230 -143
  5. package/dist/assets/{ChangePasswordView-DkwRz1u6.js → ChangePasswordView-aXYIR8zr.js} +3 -3
  6. package/dist/assets/CollectionParameter-DR9e0MGf.js +4 -0
  7. package/dist/assets/{CredentialsView-UBVro_dv.js → CredentialsView-k8CeiyMJ.js} +5 -6
  8. package/dist/assets/{ErrorView-EWPmvugu.js → ErrorView-e-cpk6J7.js} +1 -1
  9. package/dist/assets/{ConcurrentExecutionsHeader-CEBmSYNK.css → ExecutionsTime-BOPJEomw.css} +63 -63
  10. package/dist/assets/{ConcurrentExecutionsHeader-Ul9ROpk0.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-BYacEmlc.js} +114 -114
  11. package/dist/assets/ExecutionsView-CQi8A4ps.js +926 -0
  12. package/dist/assets/{ExecutionsView-CB1tvZfo.css → ExecutionsView-CRTcP3sx.css} +60 -188
  13. package/dist/assets/{FileSaver.min-D6Iix6V9.js → FileSaver.min-DmMmlWYQ.js} +1 -1
  14. package/dist/assets/{FixedCollectionParameter-DBIBAKMF.js → FixedCollectionParameter-BfUPtP5M.js} +1 -1
  15. package/dist/assets/{ForgotMyPasswordView-DOMjwy3H.js → ForgotMyPasswordView-Dzao5PZ9.js} +3 -3
  16. package/dist/assets/{ProjectHeader-BZ6b6lat.css → Logo-DLBj1gMw.css} +23 -17
  17. package/dist/assets/{Logo-CidMx5L1.js → Logo-DVRZ2qRx.js} +8 -19
  18. package/dist/assets/{MainHeader-CpYwrGHe.js → MainHeader-BUw_JG4S.js} +10 -10
  19. package/dist/assets/{MainSidebar-u0kzXS10.js → MainSidebar-C6aXqICd.js} +75 -42
  20. package/dist/assets/{MainSidebar-BRAjTL7J.css → MainSidebar-CKMiDGvH.css} +13 -12
  21. package/dist/assets/{NodeCreation-C3kgMOiP.js → NodeCreation-B9-99kNr.js} +4 -4
  22. package/dist/assets/{NodeCreator-C3jOJmI0.js → NodeCreator-DH90304h.js} +4 -4
  23. package/dist/assets/{NodeDetailsView-CVVfk-zW.css → NodeDetailsView-0RXvy-0D.css} +2 -2
  24. package/dist/assets/{NodeDetailsView-BuAX7b_S.js → NodeDetailsView-Ci-9Cz_w.js} +69 -61
  25. package/dist/assets/{NodeView-CsrK5ExP.js → NodeView-CFUO-Q9X.js} +57 -19
  26. package/dist/assets/{ProjectCardBadge-BYZ4CZ8h.js → ProjectCardBadge-CGqr1_BG.js} +1 -1
  27. package/dist/assets/{ProjectHeader-AVHuknTg.js → ProjectHeader-C8hRwBFC.js} +60 -7
  28. package/dist/assets/ProjectHeader-CQjB5wC7.css +285 -0
  29. package/dist/assets/{ProjectSettings-BBgNR6v0.js → ProjectSettings-motYfWGR.js} +2 -3
  30. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-oVU1CjGg.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DzkWenq4.js} +2 -2
  31. package/dist/assets/{ResourcesListLayout-C9w15Q23.js → ResourcesListLayout-BYVhS2j5.js} +14 -13
  32. package/dist/assets/{ResourcesListLayout-Brs7VKUf.css → ResourcesListLayout-BqQI0lCG.css} +29 -22
  33. package/dist/assets/{RunDataAi-DvJKJNYm.js → RunDataAi-pfKF0Nfm.js} +3 -3
  34. package/dist/assets/{RunDataJson-T-tjG8mj.js → RunDataJson-CNT_rM-i.js} +12 -12
  35. package/dist/assets/{RunDataJsonActions-zKxT1j4k.js → RunDataJsonActions-BTLAUv9R.js} +2 -2
  36. package/dist/assets/{RunDataSearch-CYKk6_W2.js → RunDataSearch-BpcbBojC.js} +1 -1
  37. package/dist/assets/{RunDataTable-rs93_vdQ.js → RunDataTable-ZnG9QEzJ.js} +2 -2
  38. package/dist/assets/{SamlOnboarding-gWhQJPLd.js → SamlOnboarding-DjhCWFIr.js} +3 -3
  39. package/dist/assets/{SettingsApiView-QxAEXccw.js → SettingsApiView-C1ClqjeG.js} +1 -1
  40. package/dist/assets/{SettingsCommunityNodesView-BpwvEtUI.js → SettingsCommunityNodesView-D5eLIpQC.js} +5 -5
  41. package/dist/assets/{SettingsExternalSecrets-DXrPZ93O.js → SettingsExternalSecrets-ubf6jijA.js} +1 -1
  42. package/dist/assets/{SettingsLdapView-nAm7w9WO.js → SettingsLdapView-BezV6JLr.js} +1 -1
  43. package/dist/assets/{SettingsLogStreamingView-Dr4ArIl_.js → SettingsLogStreamingView-ETOxA5Tw.js} +1 -1
  44. package/dist/assets/{SettingsPersonalView-DWFlvGTn.js → SettingsPersonalView-DGxUC8Q4.js} +1 -1
  45. package/dist/assets/{SettingsSourceControl-DKLeROzN.js → SettingsSourceControl-1vHHG6W9.js} +1 -1
  46. package/dist/assets/{SettingsSso-BVmlQW_R.js → SettingsSso-CdI26YPF.js} +1 -1
  47. package/dist/assets/{SettingsUsageAndPlan-I5n8xGLd.js → SettingsUsageAndPlan-BmI8cSiq.js} +1 -1
  48. package/dist/assets/{SettingsUsersView-D8uY5rsT.js → SettingsUsersView-90JmT1qM.js} +1 -1
  49. package/dist/assets/{SettingsView-e7XAFpfc.js → SettingsView-i7rE7s3I.js} +1 -1
  50. package/dist/assets/{SetupView-DQq_7fpU.js → SetupView-Lp4ullGE.js} +3 -3
  51. package/dist/assets/{SetupWorkflowCredentialsButton-frwFWfGJ.js → SetupWorkflowCredentialsButton-CoXXUd3B.js} +1 -1
  52. package/dist/assets/{SetupWorkflowFromTemplateView-C3ENxhAx.js → SetupWorkflowFromTemplateView-TVU0-Zq4.js} +3 -3
  53. package/dist/assets/{SigninView-Bq3o_KYj.js → SigninView-BqF8j6-h.js} +3 -3
  54. package/dist/assets/{SignoutView-BYQXAHDT.js → SignoutView-DrYJ9Qe3.js} +1 -1
  55. package/dist/assets/{SignupView-xqJgShbm.js → SignupView-_EKPhYKN.js} +3 -3
  56. package/dist/assets/{TemplateDetails-COPYl_Ch.js → TemplateDetails-DAalg9G2.js} +3 -3
  57. package/dist/assets/{TemplateList-DWGAiMoN.js → TemplateList-BEYMeJMu.js} +1 -1
  58. package/dist/assets/{TemplatesCollectionView-D7C-dsc7.js → TemplatesCollectionView-fMELXCRX.js} +5 -5
  59. package/dist/assets/{TemplatesSearchView-CUFKLHbU.js → TemplatesSearchView-BO-e3IH7.js} +3 -3
  60. package/dist/assets/{TemplatesView-BjZHhHGF.js → TemplatesView-p57nARMp.js} +1 -1
  61. package/dist/assets/{TemplatesWorkflowView-C2OFQoFQ.js → TemplatesWorkflowView-DAbL5S1-.js} +5 -5
  62. package/dist/assets/{TestDefinitionEditView-DjR3gJvA.js → TestDefinitionEditView-BTo9LlAU.js} +244 -252
  63. package/dist/assets/{TestDefinitionEditView-JONL00pA.css → TestDefinitionEditView-BXhOuJrU.css} +128 -116
  64. package/dist/assets/{TestDefinitionListView-BLzGSiMz.js → TestDefinitionListView-D_-DyZDv.js} +1 -1
  65. package/dist/assets/{TestDefinitionNewView-DBs9WSAD.js → TestDefinitionNewView-Crk5OePO.js} +13 -4
  66. package/dist/assets/{TestDefinitionRootView-vaMPai85.js → TestDefinitionRootView-BtiqAWW1.js} +1 -1
  67. package/dist/assets/{VariablesView-B2A18wmf.js → VariablesView-Bg3GI1iE.js} +5 -5
  68. package/dist/assets/{VariablesView-CbTLdNwU.css → VariablesView-BvDpOTm3.css} +7 -11
  69. package/dist/assets/{WorkerView-CfmL9mV2.js → WorkerView-CaTyr1ci.js} +7 -7
  70. package/dist/assets/{WorkflowActivator-Bk7lYyKD.js → WorkflowActivator-BvmRhIkt.js} +2 -2
  71. package/dist/assets/{WorkflowExecutionsInfoAccordion-BJUV_abc.js → WorkflowExecutionsInfoAccordion-BuIbG1kZ.js} +1 -1
  72. package/dist/assets/{WorkflowExecutionsLandingPage-BGJsZkAj.js → WorkflowExecutionsLandingPage-BirtsKx4.js} +2 -2
  73. package/dist/assets/{WorkflowExecutionsPreview-BDVLuC1z.css → WorkflowExecutionsPreview-CPGOOAq2.css} +48 -16
  74. package/dist/assets/{WorkflowExecutionsPreview-C1dnDirp.js → WorkflowExecutionsPreview-DFyHWF9H.js} +253 -119
  75. package/dist/assets/{WorkflowExecutionsView-CeyHBNCa.js → WorkflowExecutionsView-IUjVjxU9.js} +7 -7
  76. package/dist/assets/{WorkflowHistory-BjD7fWBc.js → WorkflowHistory-BqKSxr_5.js} +3 -3
  77. package/dist/assets/{WorkflowOnboardingView-C9XnQ0XZ.js → WorkflowOnboardingView-Bs0Rmm6I.js} +1 -1
  78. package/dist/assets/{WorkflowPreview-DzPoQOB4.js → WorkflowPreview-1jsK9hpV.js} +1 -1
  79. package/dist/assets/{WorkflowsView-DG5J9u8v.js → WorkflowsView-MzPw02jI.js} +482 -347
  80. package/dist/assets/{WorkflowsView-JN0Hvhvt.css → WorkflowsView-Sg6GR5kC.css} +53 -39
  81. package/dist/assets/{easyAiWorkflowUtils-CHIZUcBZ.js → easyAiWorkflowUtils-DlyLBhIZ.js} +1 -1
  82. package/dist/assets/{global-link-actions-DJx6dXwY.js → global-link-actions-DvwtxSrW.js} +1 -1
  83. package/dist/assets/{import-curl-BQvYdAxP.js → import-curl-CbxpR02g.js} +1 -1
  84. package/dist/assets/{index-CFLVCCgm.css → index-74EeM2i2.css} +751 -103
  85. package/dist/assets/{index-BloiTH5y.js → index-CyVlLoqB.js} +3216 -2198
  86. package/dist/assets/{index-Cvcpg6Dy.js → index-tzkIB4Tg.js} +1 -1
  87. package/dist/assets/{pickBy-fjQgBd6D.js → pickBy-DI3cF803.js} +1 -1
  88. package/dist/assets/{polyfills-C7eMRNFe.js → polyfills-CLZ4X0Ad.js} +2342 -1944
  89. package/dist/assets/{pushConnection.store-D5RQY4RP.js → pushConnection.store-BhUCpqAg.js} +1 -1
  90. package/dist/assets/{templateActions-DfmqYUYJ.js → templateActions-BnGO7zdc.js} +1 -1
  91. package/dist/assets/{typescript.worker-DP34mIHW.js → typescript.worker-Bt3bByTc.js} +1158 -695
  92. package/dist/assets/{useBeforeUnload-BTvPg0aq.js → useBeforeUnload-DtKxjKeS.js} +1 -1
  93. package/dist/assets/{useCanvasMapping-CGHW3BxZ.js → useCanvasMapping-BCP7UO9p.js} +10410 -10398
  94. package/dist/assets/{useCanvasMapping-CkNBF2SE.css → useCanvasMapping-CI4ehFWu.css} +579 -579
  95. package/dist/assets/{useCanvasOperations-Cr_vZCiR.js → useCanvasOperations-Ctquo5LL.js} +23 -6
  96. package/dist/assets/{useExecutionDebugging-CTmjDF_B.js → useExecutionDebugging-C0TAc9fj.js} +1 -1
  97. package/dist/assets/{useExecutionHelpers-C8isDFPE.js → useExecutionHelpers-BQHL3OpL.js} +1 -1
  98. package/dist/assets/{useImportCurlCommand-uH3ThHFG.js → useImportCurlCommand-IE8oJ9bp.js} +13 -20
  99. package/dist/assets/{usePinnedData-C5x08fuF.js → usePinnedData-CtRDhd6k.js} +2 -2
  100. package/dist/assets/{usePushConnection-DUixULqA.js → usePushConnection-DXozzPWi.js} +5 -4
  101. package/dist/assets/{useRunWorkflow-CnFMyZFO.js → useRunWorkflow-D9JIEr1s.js} +3 -3
  102. package/dist/assets/{useTestDefinitionForm-DxJcvrhw.js → useTestDefinitionForm-8dJH3v29.js} +1 -1
  103. package/dist/assets/{useWorkflowActivate-Cn5TIR2c.js → useWorkflowActivate-CI3X35ZJ.js} +1 -1
  104. package/dist/index.html +3 -3
  105. package/package.json +1 -1
  106. package/dist/assets/CollectionParameter-DzUDyeJC.js +0 -4
  107. package/dist/assets/ExecutionsView-DCeodQ1s.js +0 -983
  108. package/dist/assets/Logo-DJLTXpXC.css +0 -165
  109. package/dist/assets/ProjectCreateResource-cJSSCcoG.js +0 -56
  110. package/dist/assets/ProjectCreateResource-eYdTamXR.css +0 -139
@@ -1,9 +1,8 @@
1
- import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, _ as _export_sfc, at as useExecutionsStore, a as useToast, r as ref, q as computed, bW as resolveDirective, j as createBaseVNode, t as toDisplayString, l as unref, e as createBlock, F as Fragment, B as renderList, w as withCtx, k as createTextVNode, ax as withDirectives, g as useI18n, D as createEventBus, ak as useTelemetry, W as useRoute, b as useRouter, U as useWorkflowsStore, p as useSettingsStore, bX as useTestDefinitionStore, o as onMounted, f as createCommentVNode, V as VIEWS, b0 as mergeProps, bY as ElDropdown, af as MODAL_CONFIRM, al as useMessage, am as getResourcePermissions, a9 as EnterpriseEditionFeature } from "./index-BloiTH5y.js";
2
- import { u as useExecutionDebugging } from "./useExecutionDebugging-CTmjDF_B.js";
3
- import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-Cu5o7-TL.js";
4
- import { W as WorkflowPreview } from "./WorkflowPreview-DzPoQOB4.js";
5
- import { u as useExecutionHelpers } from "./useExecutionHelpers-C8isDFPE.js";
6
- import { P as ProjectCreateResource } from "./ProjectCreateResource-cJSSCcoG.js";
1
+ import { d as defineComponent, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, _ as _export_sfc, at as useExecutionsStore, a as useToast, r as ref, q as computed, b_ as resolveDirective, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, e as createBlock, C as createEventBus, F as Fragment, D as renderList, w as withCtx, l as createTextVNode, aA as withDirectives, ag as useTelemetry, U as useRoute, b as useRouter, T as useWorkflowsStore, p as useSettingsStore, b$ as useTestDefinitionStore, a8 as getResourcePermissions, ab as EnterpriseEditionFeature, o as onMounted, f as createCommentVNode, c0 as N8nText, c1 as N8nButton, c2 as RouterLink, V as VIEWS, c3 as ElDropdown, J as withModifiers, aS as _sfc_main$4, c4 as N8nIcon, c5 as ElDropdownMenu, c6 as ElDropdownItem, aQ as N8nTooltip, aq as h, ai as useMessage, aj as MODAL_CONFIRM } from "./index-CyVlLoqB.js";
2
+ import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-78eP7HIe.js";
3
+ import { W as WorkflowPreview } from "./WorkflowPreview-1jsK9hpV.js";
4
+ import { u as useExecutionDebugging } from "./useExecutionDebugging-C0TAc9fj.js";
5
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-BQHL3OpL.js";
7
6
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
8
7
  __name: "VoteButtons",
9
8
  props: {
@@ -347,7 +346,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
347
346
  const testDefinitionStore = useTestDefinitionStore();
348
347
  const executionsStore = useExecutionsStore();
349
348
  const retryDropdownRef = ref(null);
350
- const actionToggleRef = ref(null);
351
349
  const workflowId = computed(() => route.params.name);
352
350
  const workflowPermissions = computed(
353
351
  () => getResourcePermissions(workflowsStore.getWorkflowById(workflowId.value)?.scopes).workflow
@@ -375,48 +373,91 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
375
373
  () => !!props.execution?.annotation && (props.execution?.annotation.vote || props.execution?.annotation.tags.length > 0)
376
374
  );
377
375
  const testDefinitions = computed(
378
- () => testDefinitionStore.allTestDefinitionsByWorkflowId[workflowId.value]
376
+ () => testDefinitionStore.allTestDefinitionsByWorkflowId[workflowId.value] ?? []
379
377
  );
380
378
  const testDefinition = computed(
381
379
  () => testDefinitions.value.find((test) => test.id === route.query.testId)
382
380
  );
383
- const addToTestActions = computed(() => {
384
- const testAction = testDefinitions.value.filter((test) => test.annotationTagId).map((test) => {
385
- const isAlreadyAdded = isTagAlreadyAdded(test.annotationTagId ?? "");
386
- return {
387
- label: `${test.name}`,
388
- value: test.annotationTagId ?? "",
389
- disabled: !workflowPermissions.value.update || isAlreadyAdded
390
- };
391
- });
392
- const newTestAction = {
393
- label: "+ New Test",
394
- value: "new",
395
- disabled: !workflowPermissions.value.update
396
- };
397
- return [newTestAction, ...testAction];
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 "";
398
389
  });
399
- function getTestButtonLabel(isAdded) {
400
- if (isAdded) {
401
- return locale.baseText("testDefinition.executions.addedTo", {
402
- interpolate: { name: testDefinition.value?.name ?? "" }
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 }
403
451
  });
404
- }
405
- return testDefinition.value ? locale.baseText("testDefinition.executions.addTo.existing", {
406
- interpolate: { name: testDefinition.value.name }
407
- }) : locale.baseText("testDefinition.executions.addTo.new");
408
- }
409
- const addTestButtonData = computed(() => {
410
- const isAdded = isTagAlreadyAdded(route.query.tag);
411
- return {
412
- label: getTestButtonLabel(isAdded),
413
- type: route.query.testId ? "primary" : "secondary",
414
- disabled: !workflowPermissions.value.update || isAdded
415
- };
452
+ return acc;
453
+ }, []);
416
454
  });
417
455
  function isTagAlreadyAdded(tagId) {
418
456
  return Boolean(tagId && props.execution?.annotation?.tags.some((tag) => tag.id === tagId));
419
457
  }
458
+ const executionHasTestTag = computed(
459
+ () => isTagAlreadyAdded(testDefinition.value?.annotationTagId)
460
+ );
420
461
  async function onDeleteExecution() {
421
462
  const confirmationText = [
422
463
  hasAnnotation.value && locale.baseText("executionDetails.confirmMessage.annotationsNote"),
@@ -447,50 +488,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
447
488
  retryDropdownRef.value.handleClose();
448
489
  }
449
490
  }
450
- async function handleAddToTestAction(actionValue) {
451
- if (actionValue === "new") {
452
- await router.push({
453
- name: VIEWS.NEW_TEST_DEFINITION,
454
- params: {
455
- name: workflowId.value
456
- }
457
- });
458
- return;
459
- }
460
- const currentTags = props.execution?.annotation?.tags ?? [];
461
- const newTags = [...currentTags.map((t) => t.id), actionValue];
462
- await executionsStore.annotateExecution(props.execution.id, { tags: newTags });
463
- toast.showMessage({
464
- title: locale.baseText("testDefinition.executions.toast.addedTo.title"),
465
- message: locale.baseText("testDefinition.executions.toast.addedTo", {
466
- interpolate: { name: testDefinition.value?.name ?? "" }
467
- }),
468
- type: "success"
469
- });
470
- }
471
- async function handleEvaluationButton() {
472
- if (!testDefinition.value) {
473
- actionToggleRef.value?.openActionToggle(true);
474
- } else {
475
- await handleAddToTestAction(route.query.tag);
476
- }
477
- }
478
491
  onMounted(async () => {
479
492
  await testDefinitionStore.fetchTestDefinitionsByWorkflowId(workflowId.value);
480
493
  });
481
494
  return (_ctx, _cache) => {
482
- const _component_N8nText = resolveComponent("N8nText");
483
- const _component_N8nButton = resolveComponent("N8nButton");
484
495
  const _component_N8nSpinner = resolveComponent("N8nSpinner");
485
- const _component_router_link = resolveComponent("router-link");
486
- const _component_N8nIconButton = resolveComponent("N8nIconButton");
487
- const _component_ElDropdownItem = resolveComponent("ElDropdownItem");
488
- const _component_ElDropdownMenu = resolveComponent("ElDropdownMenu");
489
496
  return executionUIDetails.value?.name === "new" ? (openBlock(), createElementBlock("div", {
490
497
  key: 0,
491
498
  class: normalizeClass(_ctx.$style.newInfo)
492
499
  }, [
493
- createVNode(_component_N8nText, {
500
+ createVNode(unref(N8nText), {
494
501
  class: normalizeClass(_ctx.$style.newMessage),
495
502
  color: "text-light"
496
503
  }, {
@@ -499,7 +506,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
499
506
  ]),
500
507
  _: 1
501
508
  }, 8, ["class"]),
502
- createVNode(_component_N8nButton, {
509
+ createVNode(unref(N8nButton), {
503
510
  class: "mt-l",
504
511
  type: "tertiary",
505
512
  onClick: handleStopClick
@@ -518,7 +525,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
518
525
  }, [
519
526
  createVNode(_component_N8nSpinner, { type: "ring" })
520
527
  ], 2),
521
- createVNode(_component_N8nText, {
528
+ createVNode(unref(N8nText), {
522
529
  class: normalizeClass(_ctx.$style.runningMessage),
523
530
  color: "text-light"
524
531
  }, {
@@ -527,7 +534,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
527
534
  ]),
528
535
  _: 1
529
536
  }, 8, ["class"]),
530
- createVNode(_component_N8nButton, {
537
+ createVNode(unref(N8nButton), {
531
538
  "data-test-id": "stop-execution",
532
539
  class: "mt-l",
533
540
  type: "tertiary",
@@ -550,7 +557,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
550
557
  }, [
551
558
  isAnnotationEnabled.value && _ctx.execution ? (openBlock(), createBlock(WorkflowExecutionAnnotationPanel, { key: 0 })) : createCommentVNode("", true),
552
559
  createBaseVNode("div", null, [
553
- createVNode(_component_N8nText, {
560
+ createVNode(unref(N8nText), {
554
561
  size: "large",
555
562
  color: "text-base",
556
563
  bold: true,
@@ -561,13 +568,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
561
568
  ]),
562
569
  _: 1
563
570
  }),
564
- _cache[1] || (_cache[1] = createBaseVNode("br", null, null, -1)),
571
+ _cache[3] || (_cache[3] = createBaseVNode("br", null, null, -1)),
565
572
  executionUIDetails.value?.name === "running" ? (openBlock(), createBlock(_component_N8nSpinner, {
566
573
  key: 0,
567
574
  size: "small",
568
575
  class: normalizeClass([_ctx.$style.spinner, "mr-4xs"])
569
576
  }, null, 8, ["class"])) : createCommentVNode("", true),
570
- createVNode(_component_N8nText, {
577
+ createVNode(unref(N8nText), {
571
578
  size: "medium",
572
579
  class: normalizeClass([_ctx.$style.status, _ctx.$style[executionUIDetails.value.name]]),
573
580
  "data-test-id": "execution-preview-label"
@@ -577,8 +584,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
577
584
  ]),
578
585
  _: 1
579
586
  }, 8, ["class"]),
580
- _cache[2] || (_cache[2] = createTextVNode(" " + toDisplayString(" ") + " ")),
581
- executionUIDetails.value?.showTimestamp === false ? (openBlock(), createBlock(_component_N8nText, {
587
+ _cache[4] || (_cache[4] = createTextVNode(" " + toDisplayString(" ") + " ")),
588
+ executionUIDetails.value?.showTimestamp === false ? (openBlock(), createBlock(unref(N8nText), {
582
589
  key: 1,
583
590
  color: "text-base",
584
591
  size: "medium"
@@ -587,7 +594,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
587
594
  createTextVNode(" | ID#" + toDisplayString(_ctx.execution.id), 1)
588
595
  ]),
589
596
  _: 1
590
- })) : executionUIDetails.value.name === "running" ? (openBlock(), createBlock(_component_N8nText, {
597
+ })) : executionUIDetails.value.name === "running" ? (openBlock(), createBlock(unref(N8nText), {
591
598
  key: 2,
592
599
  color: "text-base",
593
600
  size: "medium"
@@ -598,7 +605,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
598
605
  })) + " | ID#" + toDisplayString(_ctx.execution.id), 1)
599
606
  ]),
600
607
  _: 1
601
- })) : executionUIDetails.value.name !== "waiting" ? (openBlock(), createBlock(_component_N8nText, {
608
+ })) : executionUIDetails.value.name !== "waiting" ? (openBlock(), createBlock(unref(N8nText), {
602
609
  key: 3,
603
610
  color: "text-base",
604
611
  size: "medium",
@@ -611,15 +618,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
611
618
  ]),
612
619
  _: 1
613
620
  })) : createCommentVNode("", true),
614
- _cache[3] || (_cache[3] = createBaseVNode("br", null, null, -1)),
615
- _ctx.execution.mode === "retry" ? (openBlock(), createBlock(_component_N8nText, {
621
+ _cache[5] || (_cache[5] = createBaseVNode("br", null, null, -1)),
622
+ _ctx.execution.mode === "retry" ? (openBlock(), createBlock(unref(N8nText), {
616
623
  key: 4,
617
624
  color: "text-base",
618
625
  size: "medium"
619
626
  }, {
620
627
  default: withCtx(() => [
621
628
  createTextVNode(toDisplayString(unref(locale).baseText("executionDetails.retry")) + " ", 1),
622
- createVNode(_component_router_link, {
629
+ createVNode(unref(RouterLink), {
623
630
  class: normalizeClass(_ctx.$style.executionLink),
624
631
  to: {
625
632
  name: unref(VIEWS).EXECUTION_PREVIEW,
@@ -641,20 +648,136 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
641
648
  createBaseVNode("div", {
642
649
  class: normalizeClass(_ctx.$style.actions)
643
650
  }, [
644
- testDefinitions.value && testDefinitions.value.length ? (openBlock(), createBlock(ProjectCreateResource, {
645
- key: 0,
646
- ref_key: "actionToggleRef",
647
- ref: actionToggleRef,
648
- actions: addToTestActions.value,
649
- type: addTestButtonData.value.type,
650
- onAction: handleAddToTestAction
651
+ createVNode(unref(N8nTooltip), {
652
+ placement: "top",
653
+ content: disableAddToTestTooltip.value,
654
+ disabled: !disableAddToTestTooltip.value
651
655
  }, {
652
656
  default: withCtx(() => [
653
- createVNode(_component_N8nButton, mergeProps({ "data-test-id": "add-to-test-button" }, addTestButtonData.value, { onClick: handleEvaluationButton }), null, 16)
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
+ })
654
777
  ]),
655
778
  _: 1
656
- }, 8, ["actions", "type"])) : createCommentVNode("", true),
657
- createVNode(_component_router_link, {
779
+ }, 8, ["content", "disabled"]),
780
+ createVNode(unref(RouterLink), {
658
781
  to: {
659
782
  name: unref(VIEWS).EXECUTION_DEBUG,
660
783
  params: {
@@ -664,7 +787,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
664
787
  }
665
788
  }, {
666
789
  default: withCtx(() => [
667
- createVNode(_component_N8nButton, {
790
+ createVNode(unref(N8nButton), {
668
791
  size: "medium",
669
792
  type: debugButtonData.value.type,
670
793
  class: normalizeClass(_ctx.$style.debugLink),
@@ -673,7 +796,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
673
796
  default: withCtx(() => [
674
797
  createBaseVNode("span", {
675
798
  "data-test-id": "execution-debug-button",
676
- onClick: _cache[0] || (_cache[0] = //@ts-ignore
799
+ onClick: _cache[2] || (_cache[2] = //@ts-ignore
677
800
  (...args) => unref(executionDebugging).handleDebugLinkClick && unref(executionDebugging).handleDebugLinkClick(...args))
678
801
  }, toDisplayString(debugButtonData.value.text), 1)
679
802
  ]),
@@ -683,22 +806,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
683
806
  _: 1
684
807
  }, 8, ["to"]),
685
808
  isRetriable.value ? (openBlock(), createBlock(unref(ElDropdown), {
686
- key: 1,
809
+ key: 0,
687
810
  ref: "retryDropdown",
688
811
  trigger: "click",
689
812
  class: "mr-xs",
690
813
  onCommand: handleRetryClick
691
814
  }, {
692
815
  dropdown: withCtx(() => [
693
- createVNode(_component_ElDropdownMenu, null, {
816
+ createVNode(unref(ElDropdownMenu), null, {
694
817
  default: withCtx(() => [
695
- createVNode(_component_ElDropdownItem, { command: "current-workflow" }, {
818
+ createVNode(unref(ElDropdownItem), { command: "current-workflow" }, {
696
819
  default: withCtx(() => [
697
820
  createTextVNode(toDisplayString(unref(locale).baseText("executionsList.retryWithCurrentlySavedWorkflow")), 1)
698
821
  ]),
699
822
  _: 1
700
823
  }),
701
- createVNode(_component_ElDropdownItem, { command: "original-workflow" }, {
824
+ createVNode(unref(ElDropdownItem), { command: "original-workflow" }, {
702
825
  default: withCtx(() => [
703
826
  createTextVNode(toDisplayString(unref(locale).baseText("executionsList.retryWithOriginalWorkflow")), 1)
704
827
  ]),
@@ -710,7 +833,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
710
833
  ]),
711
834
  default: withCtx(() => [
712
835
  createBaseVNode("span", _hoisted_2, [
713
- createVNode(_component_N8nIconButton, {
836
+ createVNode(unref(_sfc_main$4), {
714
837
  size: "medium",
715
838
  type: "tertiary",
716
839
  title: unref(locale).baseText("executionsList.retryExecution"),
@@ -723,7 +846,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
723
846
  ]),
724
847
  _: 1
725
848
  }, 512)) : createCommentVNode("", true),
726
- createVNode(_component_N8nIconButton, {
849
+ createVNode(unref(_sfc_main$4), {
727
850
  title: unref(locale).baseText("executionDetails.deleteExecution"),
728
851
  disabled: !workflowPermissions.value.update,
729
852
  icon: "trash",
@@ -745,19 +868,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
745
868
  };
746
869
  }
747
870
  });
748
- const previewContainer = "_previewContainer_1xkms_123";
749
- const executionDetails = "_executionDetails_1xkms_129";
750
- const spinner = "_spinner_1xkms_148";
751
- const running = "_running_1xkms_154";
752
- const waiting = "_waiting_1xkms_159";
753
- const success = "_success_1xkms_163";
754
- const error = "_error_1xkms_167";
755
- const newInfo = "_newInfo_1xkms_171";
756
- const runningInfo = "_runningInfo_1xkms_172";
757
- const newMessage = "_newMessage_1xkms_179";
758
- const runningMessage = "_runningMessage_1xkms_180";
759
- const debugLink = "_debugLink_1xkms_186";
760
- const actions = "_actions_1xkms_191";
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";
761
889
  const style0 = {
762
890
  previewContainer,
763
891
  executionDetails,
@@ -771,7 +899,13 @@ const style0 = {
771
899
  newMessage,
772
900
  runningMessage,
773
901
  debugLink,
774
- actions
902
+ actions,
903
+ testDropdownMenu,
904
+ testDropdownMenuScroll,
905
+ createTestButton,
906
+ "is-disabled": "_is-disabled_w0lyd_212",
907
+ fontMedium,
908
+ buttonGroup
775
909
  };
776
910
  const cssModules = {
777
911
  "$style": style0
@@ -1,10 +1,10 @@
1
- import { d as defineComponent, W as useRoute, U as useWorkflowsStore, p as useSettingsStore, q as computed, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, j as createBaseVNode, e as createBlock, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, V as VIEWS, g as useI18n, m as resolveComponent, a9 as EnterpriseEditionFeature, _ as _export_sfc, b as useRouter, at as useExecutionsStore, a6 as usePageRedirectionHelper, r as ref, I as watch, F as Fragment, B as renderList, bS as TransitionGroup, bT as isComponentPublicInstance, am as getResourcePermissions, a5 as useWorkflowHelpers, bB as onBeforeRouteLeave, bz as getNodeViewTab, s as MAIN_HEADER_TABS, bp as useNodeTypesStore, a as useToast, K as useDebounce, y as onBeforeUnmount, Y as PLACEHOLDER_EMPTY_WORKFLOW_ID, bU as NO_NETWORK_ERROR_CODE, ak as useTelemetry, bH as NEW_WORKFLOW_ID } from "./index-BloiTH5y.js";
2
- import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ConcurrentExecutionsHeader-Ul9ROpk0.js";
3
- import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-C8isDFPE.js";
4
- import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BJUV_abc.js";
5
- import { a as useCanvasOperations } from "./useCanvasOperations-Cr_vZCiR.js";
6
- import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-Cu5o7-TL.js";
7
- import "./usePinnedData-C5x08fuF.js";
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, at as useExecutionsStore, a7 as usePageRedirectionHelper, r as ref, a8 as getResourcePermissions, I as watch, bW as TransitionGroup, F as Fragment, D as renderList, bX as isComponentPublicInstance, a6 as useWorkflowHelpers, bI as onBeforeRouteLeave, bG as getNodeViewTab, s as MAIN_HEADER_TABS, bs as useNodeTypesStore, a as useToast, K as useDebounce, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, bD as NEW_WORKFLOW_ID, y as onBeforeUnmount, bY as NO_NETWORK_ERROR_CODE, ag as useTelemetry } from "./index-CyVlLoqB.js";
2
+ import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-BYacEmlc.js";
3
+ import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-BQHL3OpL.js";
4
+ import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BuIbG1kZ.js";
5
+ import { a as useCanvasOperations } from "./useCanvasOperations-Ctquo5LL.js";
6
+ import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-78eP7HIe.js";
7
+ import "./usePinnedData-CtRDhd6k.js";
8
8
  const _hoisted_1$1 = { key: 2 };
9
9
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
10
10
  __name: "WorkflowExecutionsCard",
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, r as ref, q as computed, o as onMounted, c as openBlock, h as createElementBlock, v as renderSlot, j as createBaseVNode, t as toDisplayString, i as createVNode, w as withCtx, k as createTextVNode, e as createBlock, l as unref, f as createCommentVNode, n as normalizeClass, J as withModifiers, g as useI18n, m as resolveComponent, dS as dateFormat, _ as _export_sfc, F as Fragment, B as renderList, aH as get, S as defineStore, $ as useRootStore, p as useSettingsStore, U as useWorkflowsStore, cK as getNewWorkflow, W as useRoute, b as useRouter, a as useToast, a6 as usePageRedirectionHelper, L as useUIStore, aw as onBeforeMount, V as VIEWS, bo as watchEffect, d1 as telemetry, am as getResourcePermissions, ap as h, fX as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-BloiTH5y.js";
2
- import { W as WorkflowPreview } from "./WorkflowPreview-DzPoQOB4.js";
3
- import { F as FileSaver_minExports } from "./FileSaver.min-D6Iix6V9.js";
1
+ import { d as defineComponent, r as ref, q as computed, d$ 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, aH as get, S as defineStore, a0 as useRootStore, p as useSettingsStore, T as useWorkflowsStore, cU as getNewWorkflow, U as useRoute, b as useRouter, a as useToast, a7 as usePageRedirectionHelper, L as useUIStore, V as VIEWS, a8 as getResourcePermissions, az as onBeforeMount, bo as watchEffect, d9 as telemetry, aq as h, g4 as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-CyVlLoqB.js";
2
+ import { W as WorkflowPreview } from "./WorkflowPreview-1jsK9hpV.js";
3
+ import { F as FileSaver_minExports } from "./FileSaver.min-DmMmlWYQ.js";
4
4
  const _hoisted_1$2 = ["datetime"];
5
5
  const _hoisted_2$1 = ["value"];
6
6
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, aD as useLoadingService, aN as useTemplatesStore, U as useWorkflowsStore, b as useRouter, W as useRoute, o as onMounted, V as VIEWS, c as openBlock, h as createElementBlock, g as useI18n } from "./index-BloiTH5y.js";
1
+ import { d as defineComponent, aD as useLoadingService, aN 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-CyVlLoqB.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, at as useExecutionsStore, r as ref, q as computed, o as onMounted, y as onBeforeUnmount, I as watch, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, f as createCommentVNode, j as createBaseVNode, m as resolveComponent, g as useI18n, _ as _export_sfc } from "./index-BloiTH5y.js";
1
+ import { d as defineComponent, a as useToast, at 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-CyVlLoqB.js";
2
2
  const _hoisted_1 = ["src"];
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "WorkflowPreview",