n8n-editor-ui 1.74.1 → 1.75.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 (93) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CRv-7oGl.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CGrVAIIO.js} +1 -1
  2. package/dist/assets/{AuthView-DiVCkmJO.js → AuthView-ilZ0xRQe.js} +2 -2
  3. package/dist/assets/{CanvasChat-BMwaSHw5.js → CanvasChat-B3m7qTtB.js} +4 -4
  4. package/dist/assets/{CanvasControls-B3S4M5tk.js → CanvasControls-laNSmWAd.js} +1 -1
  5. package/dist/assets/{ChangePasswordView-DMNxdEvW.js → ChangePasswordView-DGXlOlVn.js} +3 -3
  6. package/dist/assets/CollectionParameter-CS9E8rhZ.js +4 -0
  7. package/dist/assets/{ConcurrentExecutionsHeader-Cz1SdK5W.js → ConcurrentExecutionsHeader-CDIlj36E.js} +19 -14
  8. package/dist/assets/{CredentialsView-DRWQyccW.css → CredentialsView-BAqjGrNq.css} +8 -11
  9. package/dist/assets/{CredentialsView-BdvSQS_L.js → CredentialsView-BqjdkWhh.js} +67 -21
  10. package/dist/assets/{ErrorView-pJv59Fp1.js → ErrorView--I-VVLk9.js} +1 -1
  11. package/dist/assets/{ExecutionsView-DizYSIgZ.js → ExecutionsView-BiSV7J9a.js} +9 -7
  12. package/dist/assets/{ExecutionsView-C0P3HAAt.css → ExecutionsView-CB1tvZfo.css} +2 -2
  13. package/dist/assets/{FileSaver.min-CYFZIcxk.js → FileSaver.min-LAx9vEXw.js} +1 -1
  14. package/dist/assets/{FixedCollectionParameter-C-azlgUa.js → FixedCollectionParameter-ByX4uXQc.js} +1 -1
  15. package/dist/assets/{ForgotMyPasswordView-DLg1bxUi.js → ForgotMyPasswordView-C-tewPwi.js} +3 -3
  16. package/dist/assets/{Logo-DN8dwlbz.js → Logo-CyDV6IUz.js} +1 -1
  17. package/dist/assets/{MainHeader-Dj7ade30.js → MainHeader-nG1530RP.js} +9 -9
  18. package/dist/assets/{MainSidebar-DlNj8GJy.js → MainSidebar-CF4s-Ouk.js} +85 -44
  19. package/dist/assets/{NodeCreation-ZBewl4bk.js → NodeCreation-De8juZ9k.js} +4 -4
  20. package/dist/assets/{NodeCreator-DdQP0uVg.js → NodeCreator-Cra3o41k.js} +5 -5
  21. package/dist/assets/{NodeViewSwitcher-Bdg8qofd.js → NodeViewSwitcher-BE3EzD3h.js} +70 -42
  22. package/dist/assets/{NodeViewSwitcher-UPCWvuIo.css → NodeViewSwitcher-CB1zkjni.css} +2 -2
  23. package/dist/assets/{ProjectCardBadge-pbI58Ond.js → ProjectCardBadge-CYEfBgU2.js} +15 -2
  24. package/dist/assets/{ProjectHeader-D7XYidpZ.js → ProjectHeader-DUhyXx1P.js} +1 -1
  25. package/dist/assets/{ProjectSettings-CXSvZq_1.js → ProjectSettings-DmPZa04c.js} +3 -4
  26. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-B8guxlKC.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-C0Zr49w5.js} +1 -1
  27. package/dist/assets/{ResourcesListLayout-BhSNEyun.js → ResourcesListLayout-BF7yHXTU.js} +21 -6
  28. package/dist/assets/{ResourcesListLayout-Dw1dU1aW.css → ResourcesListLayout-CJC-YvjD.css} +6 -6
  29. package/dist/assets/{RunDataJson-DyoK2r6Z.js → RunDataJson-D6kl_yU3.js} +15 -15
  30. package/dist/assets/{RunDataJsonActions-DmM5PsDX.js → RunDataJsonActions-CBSKVOkR.js} +2 -2
  31. package/dist/assets/{RunDataSearch-B9xsocwZ.js → RunDataSearch-C8ri_W9l.js} +1 -1
  32. package/dist/assets/{RunDataTable-iUS0fcZW.js → RunDataTable-fDrhEtER.js} +2 -2
  33. package/dist/assets/{SamlOnboarding-c9rXuzta.js → SamlOnboarding-B9rLeJiC.js} +3 -3
  34. package/dist/assets/{SettingsApiView-BbA8em4X.js → SettingsApiView-DYA_Z_Bm.js} +1 -1
  35. package/dist/assets/{SettingsCommunityNodesView-BUA0OLqR.js → SettingsCommunityNodesView-DWF5X20Q.js} +4 -4
  36. package/dist/assets/{SettingsExternalSecrets-Bp4-QTpk.js → SettingsExternalSecrets-D56h6u5r.js} +1 -1
  37. package/dist/assets/{SettingsLdapView-DAraUZwU.js → SettingsLdapView-tZze_vXh.js} +1 -1
  38. package/dist/assets/{SettingsLogStreamingView-DTgMc-WZ.js → SettingsLogStreamingView-Bw3FugIn.js} +1 -1
  39. package/dist/assets/{SettingsPersonalView-BDWzpO2x.js → SettingsPersonalView-BRXa1jDG.js} +1 -1
  40. package/dist/assets/{SettingsSourceControl-Dr974WK5.js → SettingsSourceControl-BBn_qSA4.js} +1 -1
  41. package/dist/assets/{SettingsSso-BxAzGPEO.js → SettingsSso-BJCIqJoE.js} +1 -1
  42. package/dist/assets/{SettingsUsageAndPlan-DXkQcpTq.js → SettingsUsageAndPlan-BLxfFlk9.js} +1 -1
  43. package/dist/assets/{SettingsUsersView-ioxWjgmR.js → SettingsUsersView-DgquKogH.js} +1 -1
  44. package/dist/assets/{SettingsView-B_btgRH4.js → SettingsView-geSqtBi5.js} +1 -1
  45. package/dist/assets/{SetupView-r9ZPGr7D.js → SetupView-BUnzDsGx.js} +3 -3
  46. package/dist/assets/{SetupWorkflowCredentialsButton-BQTw1Lni.js → SetupWorkflowCredentialsButton-OMbE5FVR.js} +1 -1
  47. package/dist/assets/{SetupWorkflowFromTemplateView-ChO-yyKZ.js → SetupWorkflowFromTemplateView-CDUDJkOD.js} +3 -3
  48. package/dist/assets/{SigninView-D7_W1amk.js → SigninView-BM3kNgaO.js} +3 -3
  49. package/dist/assets/{SignoutView-BvPOsQQ0.js → SignoutView-CpD96iu3.js} +1 -1
  50. package/dist/assets/{SignupView-Bf0vYlCQ.js → SignupView-BHirfE85.js} +3 -3
  51. package/dist/assets/{TemplateDetails-D-RiAVQD.js → TemplateDetails-CnvXukVX.js} +1 -1
  52. package/dist/assets/{TemplateList-DeJfbzYl.js → TemplateList-oSLDmMo9.js} +1 -1
  53. package/dist/assets/{TemplatesCollectionView-uSsfhIa9.js → TemplatesCollectionView-CoK7iBJV.js} +5 -5
  54. package/dist/assets/{TemplatesSearchView-DBbTV_xi.js → TemplatesSearchView-Cu2hXp49.js} +3 -3
  55. package/dist/assets/{TemplatesView-Qt03GfQO.js → TemplatesView-B0NINzN-.js} +1 -1
  56. package/dist/assets/{TemplatesWorkflowView-CLplrMA6.js → TemplatesWorkflowView-BQngHyNE.js} +5 -5
  57. package/dist/assets/{TestDefinitionEditView-CEfQepq8.js → TestDefinitionEditView-DQ1n3kAQ.js} +271 -225
  58. package/dist/assets/{TestDefinitionEditView-DM4tV2LS.css → TestDefinitionEditView-FI1GVbhl.css} +123 -93
  59. package/dist/assets/{TestDefinitionListView-6hn-gG-H.js → TestDefinitionListView-BnnmuS88.js} +65 -17
  60. package/dist/assets/{TestDefinitionListView-BD5_O4Fx.css → TestDefinitionListView-GsFM1AF9.css} +15 -9
  61. package/dist/assets/TestDefinitionRootView-D0gG8g0k.js +36 -0
  62. package/dist/assets/TestDefinitionRootView-K8b6hMi2.css +128 -0
  63. package/dist/assets/{VariablesView-BrXojLhD.js → VariablesView-CkD1CK7k.js} +2 -2
  64. package/dist/assets/{WorkerView-DwULN80E.js → WorkerView-Bm_msQwI.js} +5 -5
  65. package/dist/assets/{WorkflowActivator-Dm9xwqOB.js → WorkflowActivator-B5QyeA7d.js} +35 -3
  66. package/dist/assets/{WorkflowActivator-DQhm5t0U.css → WorkflowActivator-brtYjIty.css} +2 -2
  67. package/dist/assets/{WorkflowExecutionsInfoAccordion-B-Z0pyld.js → WorkflowExecutionsInfoAccordion-BYRGFbed.js} +1 -1
  68. package/dist/assets/{WorkflowExecutionsLandingPage-HJBYlJAc.js → WorkflowExecutionsLandingPage-DuWFInNH.js} +2 -2
  69. package/dist/assets/{WorkflowExecutionsPreview-nYDpKm_b.js → WorkflowExecutionsPreview-Bwo_dPzH.js} +5 -5
  70. package/dist/assets/{WorkflowExecutionsView-Chvs3FQ3.js → WorkflowExecutionsView-9Bir7Ax7.js} +9 -7
  71. package/dist/assets/{WorkflowExecutionsView-DEqJNNDZ.css → WorkflowExecutionsView-BUHtKz5M.css} +2 -2
  72. package/dist/assets/{WorkflowHistory-6MCJq0xa.js → WorkflowHistory-Cu1-T0_R.js} +3 -3
  73. package/dist/assets/{WorkflowOnboardingView-7WiSlKOU.js → WorkflowOnboardingView-D_PW4z5K.js} +1 -1
  74. package/dist/assets/{WorkflowPreview-Dw2NtUVX.js → WorkflowPreview-DMBM5zJ7.js} +1 -1
  75. package/dist/assets/{WorkflowsView-DXnpDXEX.js → WorkflowsView-DTJQfqt9.js} +7 -19
  76. package/dist/assets/{easyAiWorkflowUtils-BTWwHsY8.js → easyAiWorkflowUtils-oy6hZxJE.js} +1 -1
  77. package/dist/assets/{index-D0W-rAl_.js → index-DVhaXv7m.js} +6493 -1873
  78. package/dist/assets/{index-B7TFhNa2.css → index-DuAsyBNI.css} +266 -96
  79. package/dist/assets/{pushConnection.store-SZWXnCKb.js → pushConnection.store-nnc6AEL8.js} +1 -1
  80. package/dist/assets/{templateActions-DDtJe_-b.js → templateActions-BjByEL0H.js} +1 -1
  81. package/dist/assets/{useBugReporting-BGxycXGV.js → useBugReporting-Cgoz2JMv.js} +1 -1
  82. package/dist/assets/{useCanvasOperations-Byu1Z5ea.css → useCanvasOperations-BSKKylIT.css} +4 -4
  83. package/dist/assets/{useCanvasOperations-BsWyQUek.js → useCanvasOperations-CZCbgXks.js} +68 -42
  84. package/dist/assets/{useExecutionDebugging-CB_jUGyC.js → useExecutionDebugging-Czm5h-sB.js} +1 -1
  85. package/dist/assets/{useExecutionHelpers-COwnTHmy.js → useExecutionHelpers-qeNSBls3.js} +1 -1
  86. package/dist/assets/{useNodeViewVersionSwitcher-C8AkOtTL.js → useNodeViewVersionSwitcher-Z6V-jW5s.js} +1 -1
  87. package/dist/assets/{usePinnedData-872bXiu-.js → usePinnedData-9d5rr-Ll.js} +1 -1
  88. package/dist/assets/{usePushConnection-CXpJRez7.js → usePushConnection-C5MO_Lyn.js} +40 -12
  89. package/dist/assets/{useRunWorkflow-u9KNHrnZ.js → useRunWorkflow-BeM5B2jX.js} +4 -8
  90. package/dist/assets/{useWorkflowActivate-D8Du1iYk.js → useWorkflowActivate-CAW-Lrw6.js} +1 -1
  91. package/dist/index.html +2 -2
  92. package/package.json +1 -1
  93. package/dist/assets/CollectionParameter-Cmdh94LV.js +0 -4
@@ -419,16 +419,14 @@
419
419
  -------------------------- */
420
420
  /* BEM
421
421
  -------------------------- */
422
- ._header_vi783_123 {
422
+ ._header_qmfly_123 {
423
423
  display: flex;
424
424
  align-items: center;
425
- gap: var(--spacing-2xs);
426
- margin-bottom: var(--spacing-l);
427
425
  }
428
- ._header_vi783_123:hover ._editInputButton_vi783_129 {
426
+ ._header_qmfly_123:hover ._editInputButton_qmfly_127 {
429
427
  opacity: 1;
430
428
  }
431
- ._title_vi783_133 {
429
+ ._title_qmfly_131 {
432
430
  margin: 0;
433
431
  flex-grow: 1;
434
432
  font-size: var(--font-size-xl);
@@ -439,20 +437,21 @@
439
437
  max-width: 100%;
440
438
  overflow: hidden;
441
439
  }
442
- ._title_vi783_133 ._titleText_vi783_144 {
440
+ ._title_qmfly_131 ._titleText_qmfly_142 {
443
441
  display: block;
444
442
  white-space: nowrap;
445
443
  overflow: hidden;
446
444
  text-overflow: ellipsis;
447
445
  }
448
- ._editInputButton_vi783_129 {
446
+ ._editInputButton_qmfly_127 {
449
447
  --button-font-color: var(--prim-gray-490);
450
- opacity: 0;
448
+ opacity: 0.2;
451
449
  border: none;
452
450
  }
453
- ._backButton_vi783_157 {
451
+ ._backButton_qmfly_155 {
454
452
  --button-font-color: var(--color-text-light);
455
453
  border: none;
454
+ padding-left: 0;
456
455
  }/* BEM support Func
457
456
  -------------------------- */
458
457
  /* Transition
@@ -575,9 +574,28 @@
575
574
  -------------------------- */
576
575
  /* BEM
577
576
  -------------------------- */
578
- ._field_2al59_123 {
579
- width: 100%;
580
- margin-top: var(--spacing-xs);
577
+ ._description_f14k1_123 {
578
+ display: flex;
579
+ align-items: center;
580
+ color: var(--color-text-light);
581
+ font-size: var(--font-size-s);
582
+ }
583
+ ._description_f14k1_123:hover ._editInputButton_f14k1_129 {
584
+ opacity: 1;
585
+ }
586
+ ._descriptionText_f14k1_133 {
587
+ display: block;
588
+ white-space: nowrap;
589
+ overflow: hidden;
590
+ text-overflow: ellipsis;
591
+ }
592
+ ._descriptionText_f14k1_133 ._icon_f14k1_139 {
593
+ margin-right: var(--spacing-2xs);
594
+ }
595
+ ._editInputButton_f14k1_129 {
596
+ --button-font-color: var(--prim-gray-490);
597
+ opacity: 0;
598
+ border: none;
581
599
  }/* BEM support Func
582
600
  -------------------------- */
583
601
  /* Transition
@@ -700,7 +718,7 @@
700
718
  -------------------------- */
701
719
  /* BEM
702
720
  -------------------------- */
703
- ._evaluationStep_11knb_123 {
721
+ ._evaluationStep_65xdl_123 {
704
722
  display: grid;
705
723
  grid-template-columns: 1fr;
706
724
  gap: var(--spacing-m);
@@ -712,18 +730,11 @@
712
730
  width: 100%;
713
731
  color: var(--color-text-dark);
714
732
  }
715
- ._evaluationStep_11knb_123._small_11knb_135 {
733
+ ._evaluationStep_65xdl_123._small_65xdl_135 {
716
734
  width: 80%;
735
+ margin-left: auto;
717
736
  }
718
- ._contentPlaceholder_11knb_139 {
719
- position: absolute;
720
- top: 0;
721
- left: 0;
722
- width: 100%;
723
- height: 100%;
724
- z-index: -1;
725
- }
726
- ._icon_11knb_148 {
737
+ ._icon_65xdl_140 {
727
738
  display: flex;
728
739
  align-items: center;
729
740
  justify-content: center;
@@ -732,31 +743,31 @@
732
743
  width: 2rem;
733
744
  height: 2rem;
734
745
  }
735
- ._icon_11knb_148._warning_11knb_157 {
746
+ ._icon_65xdl_140._warning_65xdl_149 {
736
747
  background-color: var(--color-warning-tint-2);
737
748
  }
738
- ._content_11knb_139 {
749
+ ._content_65xdl_153 {
739
750
  display: grid;
740
751
  gap: var(--spacing-2xs);
741
752
  }
742
- ._header_11knb_166 {
753
+ ._header_65xdl_158 {
743
754
  display: flex;
744
755
  gap: var(--spacing-2xs);
745
756
  align-items: center;
746
757
  }
747
- ._title_11knb_172 {
758
+ ._title_65xdl_164 {
748
759
  font-weight: var(--font-weight-bold);
749
760
  font-size: var(--font-size-s);
750
761
  line-height: 1.125rem;
751
762
  }
752
- ._warningIcon_11knb_178 {
763
+ ._warningIcon_65xdl_170 {
753
764
  color: var(--color-warning);
754
765
  }
755
- ._cardContent_11knb_182 {
766
+ ._cardContent_65xdl_174 {
756
767
  font-size: var(--font-size-s);
757
768
  margin-top: var(--spacing-xs);
758
769
  }
759
- ._collapseButton_11knb_187 {
770
+ ._collapseButton_65xdl_179 {
760
771
  cursor: pointer;
761
772
  border: none;
762
773
  background: none;
@@ -769,8 +780,13 @@
769
780
  min-width: -moz-fit-content;
770
781
  min-width: fit-content;
771
782
  }
772
- ._cardContentWrapper_11knb_200 {
783
+ ._cardContentWrapper_65xdl_192 {
773
784
  height: max-content;
785
+ }
786
+ ._description_65xdl_196 {
787
+ font-size: var(--font-size-2xs);
788
+ color: var(--color-text-light);
789
+ line-height: 1rem;
774
790
  }/* BEM support Func
775
791
  -------------------------- */
776
792
  /* Transition
@@ -1168,64 +1184,105 @@
1168
1184
  -------------------------- */
1169
1185
  /* BEM
1170
1186
  -------------------------- */
1171
- ._container_7ygna_123 {
1172
- width: 100%;
1187
+ ._container_y9ejv_123 {
1188
+ --evaluation-edit-panel-width: 24rem;
1189
+ --metrics-chart-height: 10rem;
1173
1190
  height: 100%;
1174
- overflow: hidden;
1175
- padding: var(--spacing-s);
1176
- display: grid;
1177
- grid-template-columns: minmax(auto, 24rem) 1fr;
1178
- gap: var(--spacing-2xl);
1191
+ display: flex;
1192
+ flex-direction: column;
1193
+ }
1194
+ @media (min-height: 56rem) {
1195
+ ._container_y9ejv_123 {
1196
+ --metrics-chart-height: 16rem;
1197
+ }
1198
+ }
1199
+ @media screen and (min-width: 1200px) {
1200
+ ._container_y9ejv_123 {
1201
+ --evaluation-edit-panel-width: 30rem;
1202
+ }
1203
+ }
1204
+ ._content_y9ejv_141 {
1205
+ display: flex;
1206
+ overflow-y: hidden;
1207
+ position: relative;
1208
+ }
1209
+ ._noRuns_y9ejv_146 ._content_y9ejv_141 {
1210
+ justify-content: center;
1211
+ overflow-y: auto;
1179
1212
  }
1180
- ._formContent_7ygna_133 {
1213
+ ._headerSection_y9ejv_151 {
1214
+ display: flex;
1215
+ justify-content: space-between;
1216
+ align-items: flex-start;
1217
+ background-color: var(--color-background-light);
1181
1218
  width: 100%;
1182
- min-width: -moz-fit-content;
1183
- min-width: fit-content;
1184
- padding-bottom: 10px;
1185
- overflow: hidden;
1219
+ }
1220
+ ._headerMeta_y9ejv_159 {
1221
+ max-width: 50%;
1222
+ }
1223
+ ._name_y9ejv_163 {
1186
1224
  display: flex;
1187
- flex-direction: column;
1225
+ align-items: center;
1188
1226
  }
1189
- ._runsTableTotal_7ygna_142 {
1190
- display: block;
1191
- margin-bottom: var(--spacing-xs);
1227
+ ._name_y9ejv_163 ._lastSaved_y9ejv_167 {
1228
+ font-size: var(--font-size-s);
1229
+ color: var(--color-text-light);
1192
1230
  }
1193
- ._runsTable_7ygna_142 {
1194
- flex-shrink: 1;
1195
- max-width: 100%;
1196
- max-height: 80vh;
1231
+ ._descriptionInput_y9ejv_172 {
1232
+ margin-top: var(--spacing-2xs);
1233
+ }
1234
+ ._runs_y9ejv_176 {
1235
+ display: flex;
1236
+ flex-direction: column;
1237
+ gap: var(--spacing-m);
1238
+ flex: 1;
1239
+ padding-top: var(--spacing-3xs);
1197
1240
  overflow: auto;
1198
1241
  }
1199
- ._runsTableHeading_7ygna_154 {
1200
- display: block;
1201
- margin-bottom: var(--spacing-xl);
1242
+ @media (min-height: 56rem) {
1243
+ ._runs_y9ejv_176 {
1244
+ margin-top: var(--spacing-2xl);
1245
+ }
1202
1246
  }
1203
- ._panelBlock_7ygna_159 {
1204
- max-width: var(--evaluation-edit-panel-width, 24rem);
1247
+ ._panelBlock_y9ejv_190 {
1248
+ width: var(--evaluation-edit-panel-width);
1205
1249
  display: grid;
1250
+ height: 100%;
1206
1251
  overflow-y: auto;
1207
- min-height: 0;
1252
+ flex-shrink: 0;
1253
+ padding-bottom: var(--spacing-l);
1254
+ margin-left: var(--spacing-2xl);
1255
+ transition: width 0.2s ease;
1256
+ }
1257
+ ._panelBlock_y9ejv_190._hidden_y9ejv_200 {
1258
+ margin-left: 0;
1259
+ width: 0;
1260
+ overflow: hidden;
1261
+ flex-shrink: 1;
1208
1262
  }
1209
- ._panelIntro_7ygna_166 {
1263
+ ._noRuns_y9ejv_146 ._panelBlock_y9ejv_190 {
1264
+ overflow-y: initial;
1265
+ }
1266
+ ._panelIntro_y9ejv_210 {
1210
1267
  font-size: var(--font-size-m);
1211
1268
  color: var(--color-text-dark);
1212
- margin-top: var(--spacing-s);
1213
1269
  justify-self: center;
1214
1270
  position: relative;
1215
1271
  display: block;
1216
1272
  }
1217
- ._step_7ygna_175 {
1273
+ ._step_y9ejv_218 {
1218
1274
  position: relative;
1219
1275
  }
1220
- ._step_7ygna_175:not(:first-child) {
1276
+ ._step_y9ejv_218:not(:first-child) {
1221
1277
  margin-top: var(--spacing-m);
1222
1278
  }
1223
- ._introArrow_7ygna_182 {
1279
+ ._introArrow_y9ejv_225 {
1224
1280
  --arrow-height: 1.5rem;
1281
+ margin-bottom: -1rem;
1225
1282
  justify-self: center;
1226
1283
  }
1227
- ._evaluationArrows_7ygna_187 {
1228
- --arrow-height: 13.8rem;
1284
+ ._evaluationArrows_y9ejv_231 {
1285
+ --arrow-height: 22rem;
1229
1286
  display: flex;
1230
1287
  justify-content: space-between;
1231
1288
  width: 100%;
@@ -1234,34 +1291,7 @@
1234
1291
  margin-bottom: -100%;
1235
1292
  z-index: 0;
1236
1293
  }
1237
- ._footer_7ygna_198 {
1238
- margin-top: var(--spacing-xl);
1294
+ ._controls_y9ejv_242 {
1239
1295
  display: flex;
1240
- justify-content: flex-start;
1241
- }
1242
- ._workflow_7ygna_204 {
1243
- padding: var(--spacing-l);
1244
- background-color: var(--color-background-light);
1245
- border-radius: var(--border-radius-large);
1246
- border: var(--border-base);
1247
- }
1248
- ._workflowSteps_7ygna_211 {
1249
- display: grid;
1250
- gap: var(--spacing-2xs);
1251
- max-width: 42rem;
1252
- margin: 0 auto;
1253
- }
1254
- ._sideBySide_7ygna_218 {
1255
- display: grid;
1256
- grid-template-columns: 1fr auto 1fr;
1257
- gap: var(--spacing-2xs);
1258
- justify-items: end;
1259
- align-items: start;
1260
- }
1261
- ._mockedNodesLabel_7ygna_226 {
1262
- min-height: 1.5rem;
1263
- display: block;
1264
- }
1265
- ._runTestButton_7ygna_231 {
1266
- margin-top: var(--spacing-m);
1296
+ gap: var(--spacing-s);
1267
1297
  }
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, l as unref, n as normalizeClass, i as createVNode, g as useI18n, _ as _export_sfc, w as withCtx, k as createTextVNode, F as Fragment, fy as _sfc_main$4, f as createCommentVNode, A as renderList, e as createBlock, a$ as resolveDynamicComponent, aP as _sfc_main$5, I as withModifiers, a_ as mergeProps, b as useRouter, hA as useAnnotationTagsStore, hI as useTestDefinitionStore, r as ref, a as useToast, q as computed, o as onMounted, V as VIEWS } from "./index-D0W-rAl_.js";
1
+ import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, l as unref, n as normalizeClass, i as createVNode, g as useI18n, _ as _export_sfc, q as computed, w as withCtx, k as createTextVNode, F as Fragment, fA as _sfc_main$4, f as createCommentVNode, A as renderList, e as createBlock, b1 as resolveDynamicComponent, aR as _sfc_main$5, I as withModifiers, b0 as mergeProps, b as useRouter, hE as useAnnotationTagsStore, hM as useTestDefinitionStore, r as ref, a as useToast, o as onMounted, V as VIEWS } from "./index-DVhaXv7m.js";
2
2
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3
3
  __name: "EmptyState",
4
4
  emits: ["create-test"],
@@ -14,20 +14,37 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
14
14
  }, [
15
15
  createBaseVNode("h1", null, toDisplayString(unref(locale).baseText("testDefinition.list.tests")), 1)
16
16
  ], 2),
17
- createVNode(_component_n8n_action_box, {
18
- description: unref(locale).baseText("testDefinition.list.actionDescription"),
19
- "button-text": unref(locale).baseText("testDefinition.list.actionButton"),
20
- "onClick:button": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("create-test"))
21
- }, null, 8, ["description", "button-text"])
17
+ createBaseVNode("div", {
18
+ class: normalizeClass(_ctx.$style.content)
19
+ }, [
20
+ createVNode(_component_n8n_action_box, {
21
+ class: normalizeClass(_ctx.$style.actionBox),
22
+ heading: unref(locale).baseText("testDefinition.list.evaluations"),
23
+ description: unref(locale).baseText("testDefinition.list.actionDescription"),
24
+ "button-text": unref(locale).baseText("testDefinition.list.actionButton"),
25
+ "onClick:button": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("create-test"))
26
+ }, null, 8, ["class", "heading", "description", "button-text"]),
27
+ createVNode(_component_n8n_action_box, {
28
+ class: normalizeClass(_ctx.$style.actionBox),
29
+ heading: unref(locale).baseText("testDefinition.list.unitTests.title"),
30
+ description: unref(locale).baseText("testDefinition.list.unitTests.description"),
31
+ "button-text": unref(locale).baseText("testDefinition.list.unitTests.cta"),
32
+ "button-type": "tertiary"
33
+ }, null, 8, ["class", "heading", "description", "button-text"])
34
+ ], 2)
22
35
  ], 2);
23
36
  };
24
37
  }
25
38
  });
26
- const container$1 = "_container_84f9f_123";
27
- const header = "_header_84f9f_129";
39
+ const container$1 = "_container_8wqbe_123";
40
+ const header = "_header_8wqbe_127";
41
+ const content = "_content_8wqbe_139";
42
+ const actionBox = "_actionBox_8wqbe_145";
28
43
  const style0$3 = {
29
44
  container: container$1,
30
- header
45
+ header,
46
+ content,
47
+ actionBox
31
48
  };
32
49
  const cssModules$3 = {
33
50
  "$style": style0$3
@@ -40,7 +57,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
40
57
  props: {
41
58
  test: {}
42
59
  },
43
- emits: ["run-test", "view-details", "edit-test", "delete-test"],
60
+ emits: ["run-test", "view-details", "edit-test", "delete-test", "cancel-test-run"],
44
61
  setup(__props, { emit: __emit }) {
45
62
  const props = __props;
46
63
  const locale = useI18n();
@@ -50,7 +67,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
50
67
  icon: "play",
51
68
  id: "run",
52
69
  event: () => emit("run-test", props.test.id),
53
- tooltip: locale.baseText("testDefinition.runTest")
70
+ tooltip: locale.baseText("testDefinition.runTest"),
71
+ show: () => props.test.execution.status !== "running"
72
+ },
73
+ {
74
+ icon: "stop",
75
+ id: "cancel",
76
+ event: () => emit("cancel-test-run", props.test.id, props.test.execution.id),
77
+ tooltip: locale.baseText("testDefinition.cancelTestRun"),
78
+ show: () => props.test.execution.status === "running"
54
79
  },
55
80
  {
56
81
  icon: "list",
@@ -71,6 +96,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
71
96
  tooltip: locale.baseText("testDefinition.deleteTest")
72
97
  }
73
98
  ];
99
+ const visibleActions = computed(() => actions2.filter((action) => action.show?.() ?? true));
74
100
  return (_ctx, _cache) => {
75
101
  const _component_n8n_text = resolveComponent("n8n-text");
76
102
  const _component_n8n_spinner = resolveComponent("n8n-spinner");
@@ -124,8 +150,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
124
150
  createBaseVNode("div", {
125
151
  class: normalizeClass(_ctx.$style.actions)
126
152
  }, [
127
- (openBlock(), createElementBlock(Fragment, null, renderList(actions2, (action) => {
128
- return createVNode(_component_n8n_tooltip, {
153
+ (openBlock(true), createElementBlock(Fragment, null, renderList(visibleActions.value, (action) => {
154
+ return openBlock(), createBlock(_component_n8n_tooltip, {
129
155
  key: action.icon,
130
156
  placement: "top",
131
157
  "show-after": 1e3
@@ -144,7 +170,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
144
170
  ]),
145
171
  _: 2
146
172
  }, 1024);
147
- }), 64))
173
+ }), 128))
148
174
  ], 2)
149
175
  ], 10, _hoisted_1);
150
176
  };
@@ -241,6 +267,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
241
267
  const lastRun = testDefinitionStore.lastRunByTestId[testId];
242
268
  if (!lastRun) {
243
269
  return {
270
+ id: null,
244
271
  lastRun: null,
245
272
  errorRate: 0,
246
273
  metrics: {},
@@ -248,6 +275,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
248
275
  };
249
276
  }
250
277
  const mockExecutions = {
278
+ id: lastRun.id,
251
279
  lastRun: lastRun.updatedAt ?? "",
252
280
  errorRate: 0,
253
281
  metrics: lastRun.metrics ?? {},
@@ -274,6 +302,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
274
302
  toast.showError(error, locale.baseText("testDefinition.list.testStartError"));
275
303
  }
276
304
  }
305
+ async function onCancelTestRun(testId, testRunId) {
306
+ try {
307
+ if (!testRunId) {
308
+ throw new Error("Failed to cancel test run");
309
+ }
310
+ const result = await testDefinitionStore.cancelTestRun(testId, testRunId);
311
+ if (result.success) {
312
+ toast.showMessage({
313
+ title: locale.baseText("testDefinition.list.testCancelled"),
314
+ type: "success"
315
+ });
316
+ await testDefinitionStore.fetchTestRuns(testId);
317
+ } else {
318
+ throw new Error("Failed to cancel test run");
319
+ }
320
+ } catch (error) {
321
+ toast.showError(error, locale.baseText("testDefinition.list.testStartError"));
322
+ }
323
+ }
277
324
  async function onViewDetails(testId) {
278
325
  void router.push({ name: VIEWS.TEST_DEFINITION_RUNS, params: { testId } });
279
326
  }
@@ -344,15 +391,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
344
391
  onRunTest,
345
392
  onViewDetails,
346
393
  onEditTest,
347
- onDeleteTest
394
+ onDeleteTest,
395
+ onCancelTestRun
348
396
  }, null, 8, ["tests"]))
349
397
  ], 64))
350
398
  ], 2);
351
399
  };
352
400
  }
353
401
  });
354
- const container = "_container_1c8ch_123";
355
- const loading = "_loading_1c8ch_130";
402
+ const container = "_container_12eu3_123";
403
+ const loading = "_loading_12eu3_130";
356
404
  const style0 = {
357
405
  container,
358
406
  loading
@@ -120,12 +120,10 @@
120
120
  -------------------------- */
121
121
  /* BEM
122
122
  -------------------------- */
123
- ._container_84f9f_123 {
124
- max-width: 44rem;
125
- margin: var(--spacing-4xl) auto 0;
126
- gap: var(--spacing-l);
123
+ ._container_8wqbe_123 {
124
+ max-width: 75rem;
127
125
  }
128
- ._header_84f9f_129 {
126
+ ._header_8wqbe_127 {
129
127
  display: flex;
130
128
  justify-content: space-between;
131
129
  align-items: center;
@@ -133,8 +131,16 @@
133
131
  font-size: var(--font-size-l);
134
132
  margin-bottom: var(--spacing-xl);
135
133
  }
136
- ._header_84f9f_129 h1 {
134
+ ._header_8wqbe_127 h1 {
137
135
  margin: 0;
136
+ }
137
+ ._content_8wqbe_139 {
138
+ width: 100%;
139
+ display: flex;
140
+ gap: var(--spacing-m);
141
+ }
142
+ ._actionBox_8wqbe_145 {
143
+ flex: 1;
138
144
  }/* BEM support Func
139
145
  -------------------------- */
140
146
  /* Transition
@@ -553,13 +559,13 @@
553
559
  -------------------------- */
554
560
  /* BEM
555
561
  -------------------------- */
556
- ._container_1c8ch_123 {
557
- padding: var(--spacing-xl) var(--spacing-l);
562
+ ._container_12eu3_123 {
558
563
  height: 100%;
559
564
  width: 100%;
560
565
  max-width: var(--content-container-width);
566
+ margin: auto;
561
567
  }
562
- ._loading_1c8ch_130 {
568
+ ._loading_12eu3_130 {
563
569
  display: flex;
564
570
  justify-content: center;
565
571
  align-items: center;
@@ -0,0 +1,36 @@
1
+ import { d as defineComponent, b as useRouter, a4 as useWorkflowHelpers, T as useWorkflowsStore, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, m as resolveComponent, _ as _export_sfc } from "./index-DVhaXv7m.js";
2
+ const _sfc_main = /* @__PURE__ */ defineComponent({
3
+ __name: "TestDefinitionRootView",
4
+ setup(__props) {
5
+ const router = useRouter();
6
+ const workflowHelpers = useWorkflowHelpers({ router });
7
+ const workflowStore = useWorkflowsStore();
8
+ async function initWorkflow() {
9
+ const workflowId = router.currentRoute.value.params.name;
10
+ const isAlreadyInitialized = workflowStore.workflow.id === workflowId;
11
+ if (isAlreadyInitialized) return;
12
+ const workflow = await workflowStore.fetchWorkflow(workflowId);
13
+ void workflowHelpers.initState(workflow);
14
+ }
15
+ onMounted(initWorkflow);
16
+ return (_ctx, _cache) => {
17
+ const _component_router_view = resolveComponent("router-view");
18
+ return openBlock(), createElementBlock("div", {
19
+ class: normalizeClass(_ctx.$style.evaluationsView)
20
+ }, [
21
+ createVNode(_component_router_view)
22
+ ], 2);
23
+ };
24
+ }
25
+ });
26
+ const evaluationsView = "_evaluationsView_qv3lh_123";
27
+ const style0 = {
28
+ evaluationsView
29
+ };
30
+ const cssModules = {
31
+ "$style": style0
32
+ };
33
+ const TestDefinitionRootView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
34
+ export {
35
+ TestDefinitionRootView as default
36
+ };