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.
- package/dist/assets/AnimatedSpinner-ChSRgyeI.css +39 -0
- package/dist/assets/AnimatedSpinner-urWn52iY.js +18 -0
- 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
- package/dist/assets/{AuthView-CyY2quTd.js → AuthView-DIQI5asI.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-CRtE2Fld.css → CanvasChatSwitch-0IWSu8RE.css} +249 -45
- package/dist/assets/{CanvasChatSwitch-BTInPgKl.js → CanvasChatSwitch-BIpZuY-n.js} +437 -268
- package/dist/assets/{ChangePasswordView-Db-MkXhZ.js → ChangePasswordView-D8Qv0tim.js} +3 -3
- package/dist/assets/CollectionParameter-DT1MnS63.js +4 -0
- package/dist/assets/{CredentialsView-CLr_6U2B.js → CredentialsView-tJ8-2RrO.js} +8 -8
- package/dist/assets/{ErrorView-CUS5vnCW.js → ErrorView-CZEZD7LB.js} +1 -1
- package/dist/assets/{ExecutionsTime-BOPJEomw.css → ExecutionsTime-DZHUIJjP.css} +6 -6
- 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
- package/dist/assets/{ExecutionsView-1df-oH5P.js → ExecutionsView-BCfIz8EF.js} +48 -56
- package/dist/assets/{ExecutionsView-BnBpSqVn.css → ExecutionsView-ByQf9yli.css} +13 -47
- package/dist/assets/{FileSaver.min-DLKMtSuf.js → FileSaver.min-Bs2qHlKb.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-CcqTLBeP.js → FixedCollectionParameter-E0LDqNW3.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-BHRWkO2H.js → ForgotMyPasswordView-YOnrzvKJ.js} +3 -3
- package/dist/assets/InsightsChartAverageRuntime-DWrrriYN.js +61 -0
- package/dist/assets/InsightsChartFailed-DRi6JC3m.js +57 -0
- package/dist/assets/InsightsChartFailureRate-BdFNsMpg.js +57 -0
- package/dist/assets/InsightsChartTimeSaved-C12GZzSQ.js +71 -0
- package/dist/assets/InsightsChartTotal-Cn386HO4.js +59 -0
- package/dist/assets/InsightsDashboard-BawwZ0Oo.js +154 -0
- package/dist/assets/InsightsDashboard-CB4vHnBh.css +152 -0
- package/dist/assets/InsightsPaywall-OeXh6LeZ.css +133 -0
- package/dist/assets/InsightsPaywall-g3JcqAYL.js +58 -0
- package/dist/assets/{InsightsSummary-DcRuPjLJ.css → InsightsSummary-W08OzElS.css} +57 -35
- package/dist/assets/InsightsSummary-vMmKUcie.js +185 -0
- package/dist/assets/InsightsTableWorkflows-DQQ1vvMz.js +129 -0
- package/dist/assets/InsightsTableWorkflows-Us3j4UTO.css +128 -0
- package/dist/assets/{Logo-DbXTFYA8.js → Logo-Vm92axlM.js} +1 -1
- package/dist/assets/{MainHeader-BfQR9Td3.js → MainHeader-BUhpvu2K.js} +9 -10
- package/dist/assets/{MainSidebar-CDUegYGN.js → MainSidebar-D5P5FSUQ.js} +11 -2
- package/dist/assets/{NodeCreation-BBXRRxZa.js → NodeCreation-BgW5u-Bc.js} +4 -4
- package/dist/assets/{NodeCreator-BiyvtIjb.js → NodeCreator-CFe2n6vJ.js} +3 -3
- package/dist/assets/{NodeDetailsView-BcVu3kf0.css → NodeDetailsView-BT-ro74o.css} +63 -70
- package/dist/assets/{NodeDetailsView-Ph7FVpa8.js → NodeDetailsView-CmtK-rDD.js} +138 -478
- package/dist/assets/{NodeView-BEJ48TF4.js → NodeView-BqaNPfpx.js} +19 -21
- package/dist/assets/{ProjectCardBadge-B7cCM6Eo.js → ProjectCardBadge-BKgtzWr1.js} +1 -1
- package/dist/assets/{ProjectHeader-BjPaep-H.js → ProjectHeader-BWVSdavS.js} +1 -1
- package/dist/assets/{ProjectSettings-C1By1g0Z.js → ProjectSettings-BL-2-uOg.js} +2 -2
- 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
- package/dist/assets/{ResourcesListLayout-CiiXWGd5.js → ResourcesListLayout-CozpmfUY.js} +1 -1
- package/dist/assets/{RunDataAi-CQE0VYut.js → RunDataAi-B_EadpzG.js} +88 -37
- package/dist/assets/{RunDataAi-CN9FrT9c.css → RunDataAi-CUUDqZRP.css} +128 -0
- package/dist/assets/{RunDataJson-BY9cOxFp.js → RunDataJson-CyNNCtyd.js} +11 -12
- package/dist/assets/{RunDataJsonActions-CuFjccfe.js → RunDataJsonActions-SQqaiBEP.js} +1 -2
- package/dist/assets/{RunDataSearch-afEc-21Y.js → RunDataSearch-BF9kshKq.js} +1 -1
- package/dist/assets/{RunDataTable-N6yWFXKt.js → RunDataTable-DsW7wuc2.js} +10 -8
- package/dist/assets/{SamlOnboarding-HDQzVmha.js → SamlOnboarding-BX7RiRJB.js} +3 -3
- package/dist/assets/{SettingsApiView-DQMZT3uc.js → SettingsApiView-CDIPYvaG.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-BlQT_0E8.js → SettingsCommunityNodesView-BRSEkT73.js} +4 -5
- package/dist/assets/{SettingsExternalSecrets-BL_3qoNS.js → SettingsExternalSecrets-D7ASuAnS.js} +1 -1
- package/dist/assets/{SettingsLdapView-BMsfXg-A.js → SettingsLdapView-DA5fZZ51.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-Bm5vaSO2.js → SettingsLogStreamingView-C9qkYvCr.js} +1 -1
- package/dist/assets/{SettingsPersonalView-Djl1VXnE.js → SettingsPersonalView-BnNOJcvO.js} +1 -1
- package/dist/assets/{SettingsSourceControl-A-9nD8hG.js → SettingsSourceControl--ozL4427.js} +1 -1
- package/dist/assets/{SettingsSso-DZCscZY6.js → SettingsSso-Bfe_HRSr.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-Rd5AGlNl.js → SettingsUsageAndPlan-CzvMNudh.js} +1 -1
- package/dist/assets/{SettingsUsersView-NEahsGVs.js → SettingsUsersView-DGu5ku48.js} +1 -1
- package/dist/assets/{SettingsView-CeXAUGXE.js → SettingsView-CvreVxXL.js} +1 -1
- package/dist/assets/{SetupView-BI7oJfg0.js → SetupView-BJT6GtIA.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DMZX1S1F.js → SetupWorkflowCredentialsButton-BEq2gs_-.js} +2 -4
- package/dist/assets/{SetupWorkflowFromTemplateView-DZsPVdhN.js → SetupWorkflowFromTemplateView-F9oCDWX8.js} +3 -12
- package/dist/assets/{SigninView-CzVnEKyz.js → SigninView-DyoDtCBc.js} +3 -3
- package/dist/assets/{SignoutView-C4ynr4AN.js → SignoutView-DclBslYe.js} +1 -1
- package/dist/assets/{SignupView-9nwGonm9.js → SignupView-BhB0Hhj0.js} +3 -3
- package/dist/assets/{TemplateDetails-DT1tI4AF.js → TemplateDetails-B3utdyMi.js} +1 -1
- package/dist/assets/{TemplateList-DGPm_Qol.js → TemplateList-Bgz1iiiH.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-DwXY5s5G.js → TemplatesCollectionView-CORzb8YZ.js} +7 -9
- package/dist/assets/{TemplatesSearchView-D0R7uF40.js → TemplatesSearchView-DTuv4-5C.js} +3 -3
- package/dist/assets/{TemplatesView-BZ-ntkfi.js → TemplatesView-CFV5SVF7.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-TwVAHvD7.js → TemplatesWorkflowView-CQVVdNty.js} +5 -7
- package/dist/assets/{TestDefinitionEditView-C3nnWQ4Q.css → TestDefinitionEditView-Cwkrz308.css} +12 -18
- package/dist/assets/{TestDefinitionEditView-o2Gc4BjN.js → TestDefinitionEditView-DX6GIeq2.js} +163 -199
- package/dist/assets/{TestDefinitionListView-BuUWjPAl.js → TestDefinitionListView-CLEkthYQ.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-DmSFNxfn.js → TestDefinitionNewView-DWTTqvlN.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-1dNmGZUI.js → TestDefinitionRootView-D0yLW0V6.js} +1 -1
- package/dist/assets/{VariablesView-D46tH9pw.js → VariablesView-Dsr4pqth.js} +3 -3
- package/dist/assets/{WorkerView-G0K849qT.js → WorkerView-Bbu5wv-g.js} +6 -7
- package/dist/assets/{WorkflowActivator-DfalOPsa.js → WorkflowActivator-C197X_D6.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BcD7ZskD.js → WorkflowExecutionsInfoAccordion-CHPlRtMQ.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-BhPbJi5K.js → WorkflowExecutionsLandingPage-CnvMc3SA.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-CowaFwPg.js → WorkflowExecutionsPreview-CJBM3Awe.js} +24 -256
- package/dist/assets/{WorkflowExecutionsPreview-CHu6M3Dh.css → WorkflowExecutionsPreview-D7jTJ8GL.css} +16 -48
- package/dist/assets/{WorkflowExecutionsView-BAojAjIM.js → WorkflowExecutionsView-BwB6WS6M.js} +11 -17
- package/dist/assets/{WorkflowHistory-Bj5_YFN8.js → WorkflowHistory-U5a4aYts.js} +4 -4
- package/dist/assets/{WorkflowOnboardingView-D9peqUJs.js → WorkflowOnboardingView-DHUUTLOo.js} +1 -1
- package/dist/assets/{WorkflowPreview-gflk06YT.js → WorkflowPreview-D8pwehRe.js} +1 -1
- package/dist/assets/{WorkflowsView-CmgKYCQ6.js → WorkflowsView-DIh7kqZk.js} +10 -10
- package/dist/assets/chartjs.utils-DTEY3u-V.js +193 -0
- package/dist/assets/dateFormatter-C7xnNKzY.js +21 -0
- package/dist/assets/{easyAiWorkflowUtils-CLssJdgl.js → easyAiWorkflowUtils-V__OjFo9.js} +1 -1
- package/dist/assets/{global-link-actions-BphqczCY.js → global-link-actions-vGpWr9Uz.js} +1 -1
- package/dist/assets/{import-curl-C9KhAemD.js → import-curl-C6ERUxFe.js} +1 -1
- package/dist/assets/{index-C0DaAYgf.js → index-BrjPYODL.js} +3 -1
- package/dist/assets/{index-CkOV8f0Z.js → index-DD7Wuhk5.js} +9472 -3624
- package/dist/assets/{index-BaqhUIB7.css → index-DJ205bL0.css} +369 -44
- package/dist/assets/{pickBy-DUugkW7s.js → pickBy-BILEJ4hg.js} +1 -1
- package/dist/assets/{templateActions-Czp13jCM.js → templateActions-M3qRQiV6.js} +2 -7
- package/dist/assets/{useBeforeUnload-BBbiw-FV.js → useBeforeUnload-DTsj_abb.js} +1 -1
- package/dist/assets/{useCanvasMapping-Cla--atl.js → useCanvasMapping-DJvMRP2s.js} +6 -6
- package/dist/assets/{useCanvasOperations-FyzGfva5.js → useCanvasOperations-DCaSrD1N.js} +27 -256
- package/dist/assets/{useClearExecutionButtonVisible-fESJZE5R.js → useClearExecutionButtonVisible-CVPKhr9F.js} +2 -2
- package/dist/assets/{useExecutionDebugging-D4s4CdaL.js → useExecutionDebugging-yY2o_eNc.js} +1 -1
- package/dist/assets/{useExecutionHelpers-Bm91b8wb.js → useExecutionHelpers-BVY9xXbG.js} +2 -19
- package/dist/assets/{useImportCurlCommand-BPNuR5ZX.js → useImportCurlCommand-Chewi-_x.js} +2 -2
- package/dist/assets/{usePushConnection-BbQhNUm8.js → usePushConnection-9zsAnuvC.js} +3 -4
- package/dist/assets/{useTestDefinitionForm-ZJngcsSH.js → useTestDefinitionForm-CCVy0jKP.js} +1 -1
- package/dist/assets/{useWorkflowActivate-CkCvd-g6.js → useWorkflowActivate-DeEvbrsK.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-BD3jmKi_.js +0 -4
- package/dist/assets/InsightsSummary-CyilLKXz.js +0 -152
- package/dist/assets/pushConnection.store-Cb2TGyrZ.js +0 -238
- package/dist/assets/useRunWorkflow-DnbQqqcB.js +0 -527
package/dist/assets/{TestDefinitionEditView-o2Gc4BjN.js → TestDefinitionEditView-DX6GIeq2.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useTestDefinitionForm } from "./useTestDefinitionForm-
|
|
2
|
-
import { _ as _export_sfc, i as createElementBlock, g as openBlock, k as createBaseVNode, n as normalizeClass, d as defineComponent, r as ref,
|
|
3
|
-
import { u as useVueFlow, a as useCanvasMapping, C as Canvas, b as CanvasNode } from "./useCanvasMapping-
|
|
4
|
-
import {
|
|
5
|
-
import { L as Line } from "./index-
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
1
|
+
import { u as useTestDefinitionForm } from "./useTestDefinitionForm-CCVy0jKP.js";
|
|
2
|
+
import { _ as _export_sfc, i as createElementBlock, g as openBlock, k as createBaseVNode, n as normalizeClass, d as defineComponent, r as ref, a0 as useCssModule, q as computed, h as resolveComponent, m as unref, j as createVNode, f as createCommentVNode, aS as N8nTooltip, w as withCtx, e as createBlock, b9 as N8nText, x as renderSlot, F as Fragment, l as createTextVNode, t as toDisplayString, df as InfoTip, c as useI18n, g8 as ne, U as useWorkflowsStore, bw as useNodeTypesStore, W as useRoute, b as useRouter, fA as useModel, o as onMounted, c_ as N8nHeading, g9 as _sfc_main$9, b3 as mergeProps, bb as N8nButton, ai as useTelemetry, a4 as useProjectsStore, ga as SAMPLE_EVALUATION_WORKFLOW, aT as N8nLink, gb as __unplugin_components_0, V as VIEWS, fz as mergeModels, gc as Tag, gd as NODE_PINNING_MODAL_KEY, ge as __unplugin_components_0$1, ak as useMessage, gf as useCssVar, f9 as dateformat, bc as watchEffect, D as renderList, gg as TestTableBase, bE as N8nIcon, K as useDebounce, a as useToast, g5 as useTestDefinitionStore, fQ as useAnnotationTagsStore, L as useUIStore, $ as useDocumentVisibility, I as watch, d2 as orderBy, aU as _sfc_main$a, gh as InlineNameEdit } from "./index-DD7Wuhk5.js";
|
|
3
|
+
import { u as useVueFlow, a as useCanvasMapping, C as Canvas, b as CanvasNode } from "./useCanvasMapping-DJvMRP2s.js";
|
|
4
|
+
import { b as useCanvasOperations } from "./useCanvasOperations-DCaSrD1N.js";
|
|
5
|
+
import { L as Line } from "./index-BrjPYODL.js";
|
|
6
|
+
import { _ as __unplugin_components_0$2 } from "./AnimatedSpinner-urWn52iY.js";
|
|
7
|
+
import { c as convertToDisplayDate } from "./dateFormatter-C7xnNKzY.js";
|
|
8
8
|
const blockArrow = "_blockArrow_hbkir_123";
|
|
9
9
|
const stalk = "_stalk_hbkir_129";
|
|
10
10
|
const arrowHead = "_arrowHead_hbkir_136";
|
|
@@ -762,61 +762,44 @@ const cssModules$4 = {
|
|
|
762
762
|
"$style": style0$4
|
|
763
763
|
};
|
|
764
764
|
const ConfigSection = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__cssModules", cssModules$4]]);
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
primary: "
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
grid: "rgba(68, 68, 68, 0.1)"
|
|
774
|
-
},
|
|
775
|
-
dark: {
|
|
776
|
-
primary: "rgb(255, 110, 92)",
|
|
777
|
-
text: {
|
|
778
|
-
primary: "rgb(255, 255, 255)",
|
|
779
|
-
secondary: "rgba(255, 255, 255, 0.7)"
|
|
780
|
-
},
|
|
781
|
-
background: "rgb(32, 32, 32)",
|
|
782
|
-
grid: "rgba(255, 255, 255, 0.1)"
|
|
783
|
-
}
|
|
784
|
-
};
|
|
785
|
-
function useMetricsChart(mode = "light") {
|
|
786
|
-
const colors = THEME_COLORS[mode];
|
|
787
|
-
const toRGBA = (color, alpha) => {
|
|
788
|
-
if (color.includes("rgba")) return color;
|
|
789
|
-
return color.replace("rgb", "rgba").replace(")", `, ${alpha})`);
|
|
765
|
+
function useMetricsChart() {
|
|
766
|
+
const colors = {
|
|
767
|
+
primary: useCssVar("--color-primary", document.body).value,
|
|
768
|
+
textBase: useCssVar("--color-text-base", document.body).value,
|
|
769
|
+
backgroundXLight: useCssVar("--color-background-xlight", document.body).value,
|
|
770
|
+
foregroundLight: useCssVar("--color-foreground-light", document.body).value,
|
|
771
|
+
foregroundBase: useCssVar("--color-foreground-base", document.body).value,
|
|
772
|
+
foregroundDark: useCssVar("--color-foreground-dark", document.body).value
|
|
790
773
|
};
|
|
791
774
|
function generateChartData(runs2, metric) {
|
|
792
|
-
const
|
|
793
|
-
return {
|
|
794
|
-
labels: sortedRuns.map((run) => {
|
|
795
|
-
return dateFormat(run.runAt, "yyyy-mm-dd HH:MM");
|
|
796
|
-
}),
|
|
775
|
+
const data = {
|
|
797
776
|
datasets: [
|
|
798
777
|
{
|
|
799
|
-
|
|
800
|
-
|
|
778
|
+
data: runs2,
|
|
779
|
+
parsing: {
|
|
780
|
+
xAxisKey: "id",
|
|
781
|
+
yAxisKey: `metrics.${metric}`
|
|
782
|
+
},
|
|
801
783
|
borderColor: colors.primary,
|
|
802
|
-
backgroundColor:
|
|
803
|
-
borderWidth:
|
|
804
|
-
pointRadius:
|
|
805
|
-
pointHoverRadius:
|
|
806
|
-
pointBackgroundColor: colors.
|
|
807
|
-
|
|
808
|
-
pointHoverBackgroundColor: colors.background,
|
|
809
|
-
pointHoverBorderColor: colors.primary,
|
|
810
|
-
tension: 0.4,
|
|
811
|
-
fill: true
|
|
784
|
+
backgroundColor: colors.backgroundXLight,
|
|
785
|
+
borderWidth: 1,
|
|
786
|
+
pointRadius: 2,
|
|
787
|
+
pointHoverRadius: 4,
|
|
788
|
+
pointBackgroundColor: colors.backgroundXLight,
|
|
789
|
+
pointHoverBackgroundColor: colors.backgroundXLight
|
|
812
790
|
}
|
|
813
791
|
]
|
|
814
792
|
};
|
|
793
|
+
return data;
|
|
815
794
|
}
|
|
816
|
-
function generateChartOptions(
|
|
795
|
+
function generateChartOptions({
|
|
796
|
+
metric,
|
|
797
|
+
data
|
|
798
|
+
}) {
|
|
817
799
|
return {
|
|
818
800
|
responsive: true,
|
|
819
801
|
maintainAspectRatio: false,
|
|
802
|
+
animation: false,
|
|
820
803
|
devicePixelRatio: 2,
|
|
821
804
|
interaction: {
|
|
822
805
|
mode: "index",
|
|
@@ -824,67 +807,64 @@ function useMetricsChart(mode = "light") {
|
|
|
824
807
|
},
|
|
825
808
|
scales: {
|
|
826
809
|
y: {
|
|
827
|
-
|
|
810
|
+
border: {
|
|
811
|
+
display: false
|
|
812
|
+
},
|
|
828
813
|
grid: {
|
|
829
|
-
color: colors.
|
|
814
|
+
color: colors.foregroundBase
|
|
830
815
|
},
|
|
831
816
|
ticks: {
|
|
832
817
|
padding: 8,
|
|
833
|
-
color: colors.
|
|
834
|
-
},
|
|
835
|
-
title: {
|
|
836
|
-
display: false,
|
|
837
|
-
text: params.metric,
|
|
838
|
-
padding: 16,
|
|
839
|
-
color: colors.text.primary
|
|
818
|
+
color: colors.textBase
|
|
840
819
|
}
|
|
841
820
|
},
|
|
842
821
|
x: {
|
|
843
|
-
|
|
822
|
+
border: {
|
|
844
823
|
display: false
|
|
845
824
|
},
|
|
846
|
-
|
|
825
|
+
grid: {
|
|
847
826
|
display: false
|
|
848
827
|
},
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
828
|
+
ticks: {
|
|
829
|
+
color: colors.textBase,
|
|
830
|
+
// eslint-disable-next-line id-denylist
|
|
831
|
+
callback(_tickValue, index) {
|
|
832
|
+
return `#${data[index].index}`;
|
|
833
|
+
}
|
|
853
834
|
}
|
|
854
835
|
}
|
|
855
836
|
},
|
|
856
837
|
plugins: {
|
|
857
838
|
tooltip: {
|
|
858
|
-
backgroundColor: colors.
|
|
859
|
-
titleColor: colors.
|
|
839
|
+
backgroundColor: colors.backgroundXLight,
|
|
840
|
+
titleColor: colors.textBase,
|
|
860
841
|
titleFont: {
|
|
861
842
|
weight: "600"
|
|
862
843
|
},
|
|
863
|
-
bodyColor: colors.
|
|
844
|
+
bodyColor: colors.textBase,
|
|
864
845
|
bodySpacing: 4,
|
|
865
846
|
padding: 12,
|
|
866
|
-
borderColor:
|
|
847
|
+
borderColor: colors.foregroundBase,
|
|
867
848
|
borderWidth: 1,
|
|
868
849
|
displayColors: true,
|
|
869
850
|
callbacks: {
|
|
870
|
-
title: (tooltipItems) =>
|
|
871
|
-
|
|
851
|
+
title: (tooltipItems) => {
|
|
852
|
+
return dateformat(tooltipItems[0].raw.runAt, "yyyy-mm-dd HH:MM");
|
|
853
|
+
},
|
|
854
|
+
label: (context) => `${metric}: ${context.parsed.y.toFixed(2)}`,
|
|
855
|
+
labelColor() {
|
|
856
|
+
return {
|
|
857
|
+
borderColor: "rgba(29, 21, 21, 0)",
|
|
858
|
+
backgroundColor: colors.primary,
|
|
859
|
+
borderWidth: 0,
|
|
860
|
+
borderRadius: 5
|
|
861
|
+
};
|
|
862
|
+
}
|
|
872
863
|
}
|
|
873
864
|
},
|
|
874
865
|
legend: {
|
|
875
866
|
display: false
|
|
876
867
|
}
|
|
877
|
-
},
|
|
878
|
-
animation: {
|
|
879
|
-
duration: 750,
|
|
880
|
-
easing: "easeInOutQuart"
|
|
881
|
-
},
|
|
882
|
-
transitions: {
|
|
883
|
-
active: {
|
|
884
|
-
animation: {
|
|
885
|
-
duration: 300
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
868
|
}
|
|
889
869
|
};
|
|
890
870
|
}
|
|
@@ -897,26 +877,29 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
897
877
|
__name: "MetricsChart",
|
|
898
878
|
props: {
|
|
899
879
|
selectedMetric: {},
|
|
900
|
-
runs: {}
|
|
901
|
-
theme: {}
|
|
880
|
+
runs: {}
|
|
902
881
|
},
|
|
903
882
|
emits: ["update:selectedMetric"],
|
|
904
883
|
setup(__props, { emit: __emit }) {
|
|
905
884
|
const emit = __emit;
|
|
906
885
|
const props = __props;
|
|
907
|
-
const
|
|
908
|
-
const metricsChart = useMetricsChart(props.theme);
|
|
886
|
+
const metricsChart = useMetricsChart();
|
|
909
887
|
const availableMetrics = computed(() => {
|
|
910
888
|
return props.runs.reduce((acc, run) => {
|
|
911
889
|
const metricKeys = Object.keys(run.metrics ?? {});
|
|
912
890
|
return [.../* @__PURE__ */ new Set([...acc, ...metricKeys])];
|
|
913
891
|
}, []);
|
|
914
892
|
});
|
|
915
|
-
const
|
|
893
|
+
const filteredRuns = computed(
|
|
894
|
+
() => props.runs.filter((run) => run.metrics?.[props.selectedMetric] !== void 0)
|
|
895
|
+
);
|
|
896
|
+
const chartData = computed(
|
|
897
|
+
() => metricsChart.generateChartData(filteredRuns.value, props.selectedMetric)
|
|
898
|
+
);
|
|
916
899
|
const chartOptions = computed(
|
|
917
900
|
() => metricsChart.generateChartOptions({
|
|
918
901
|
metric: props.selectedMetric,
|
|
919
|
-
|
|
902
|
+
data: filteredRuns.value
|
|
920
903
|
})
|
|
921
904
|
);
|
|
922
905
|
watchEffect(() => {
|
|
@@ -927,8 +910,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
927
910
|
return (_ctx, _cache) => {
|
|
928
911
|
const _component_N8nOption = resolveComponent("N8nOption");
|
|
929
912
|
const _component_N8nSelect = resolveComponent("N8nSelect");
|
|
930
|
-
return
|
|
931
|
-
key: 0,
|
|
913
|
+
return openBlock(), createElementBlock("div", {
|
|
932
914
|
class: normalizeClass(_ctx.$style.metricsChartContainer)
|
|
933
915
|
}, [
|
|
934
916
|
createBaseVNode("div", {
|
|
@@ -956,22 +938,22 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
956
938
|
createBaseVNode("div", {
|
|
957
939
|
class: normalizeClass(_ctx.$style.chartWrapper)
|
|
958
940
|
}, [
|
|
959
|
-
|
|
941
|
+
(openBlock(), createBlock(unref(Line), {
|
|
960
942
|
key: _ctx.selectedMetric,
|
|
961
943
|
data: chartData.value,
|
|
962
944
|
options: chartOptions.value,
|
|
963
945
|
class: normalizeClass(_ctx.$style.metricsChart)
|
|
964
|
-
}, null, 8, ["data", "options", "class"]))
|
|
946
|
+
}, null, 8, ["data", "options", "class"]))
|
|
965
947
|
], 2)
|
|
966
|
-
], 2)
|
|
948
|
+
], 2);
|
|
967
949
|
};
|
|
968
950
|
}
|
|
969
951
|
});
|
|
970
|
-
const metricsChartContainer = "
|
|
971
|
-
const chartHeader = "
|
|
972
|
-
const chartTitle = "
|
|
973
|
-
const metricSelect = "
|
|
974
|
-
const chartWrapper = "
|
|
952
|
+
const metricsChartContainer = "_metricsChartContainer_1xhz2_123";
|
|
953
|
+
const chartHeader = "_chartHeader_1xhz2_128";
|
|
954
|
+
const chartTitle = "_chartTitle_1xhz2_131";
|
|
955
|
+
const metricSelect = "_metricSelect_1xhz2_136";
|
|
956
|
+
const chartWrapper = "_chartWrapper_1xhz2_139";
|
|
975
957
|
const style0$3 = {
|
|
976
958
|
metricsChartContainer,
|
|
977
959
|
chartHeader,
|
|
@@ -988,24 +970,43 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
988
970
|
__name: "TestRunsTable",
|
|
989
971
|
props: {
|
|
990
972
|
runs: {},
|
|
991
|
-
columns: {}
|
|
992
|
-
selectable: { type: Boolean }
|
|
973
|
+
columns: {}
|
|
993
974
|
},
|
|
994
|
-
emits: ["rowClick"
|
|
975
|
+
emits: ["rowClick"],
|
|
995
976
|
setup(__props, { emit: __emit }) {
|
|
996
977
|
const emit = __emit;
|
|
997
978
|
const props = __props;
|
|
998
|
-
const
|
|
999
|
-
new:
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
979
|
+
const statusDictionary = {
|
|
980
|
+
new: {
|
|
981
|
+
icon: "status-new",
|
|
982
|
+
color: "foreground-xdark"
|
|
983
|
+
},
|
|
984
|
+
running: {
|
|
985
|
+
icon: "spinner",
|
|
986
|
+
color: "secondary"
|
|
987
|
+
},
|
|
988
|
+
completed: {
|
|
989
|
+
icon: "status-completed",
|
|
990
|
+
color: "success"
|
|
991
|
+
},
|
|
992
|
+
error: {
|
|
993
|
+
icon: "status-error",
|
|
994
|
+
color: "danger"
|
|
995
|
+
},
|
|
996
|
+
cancelled: {
|
|
997
|
+
icon: "status-canceled",
|
|
998
|
+
color: "foreground-xdark"
|
|
999
|
+
},
|
|
1000
|
+
warning: {
|
|
1001
|
+
icon: "status-warning",
|
|
1002
|
+
color: "warning"
|
|
1003
|
+
},
|
|
1004
|
+
success: {
|
|
1005
|
+
icon: "status-completed",
|
|
1006
|
+
color: "success"
|
|
1007
|
+
}
|
|
1006
1008
|
};
|
|
1007
1009
|
const locale = useI18n();
|
|
1008
|
-
const selectedRows = ref([]);
|
|
1009
1010
|
const runSummaries = computed(() => {
|
|
1010
1011
|
return props.runs.map(({ status, finalResult, ...run }) => {
|
|
1011
1012
|
if (status === "completed" && finalResult) {
|
|
@@ -1014,86 +1015,60 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1014
1015
|
return { ...run, status };
|
|
1015
1016
|
});
|
|
1016
1017
|
});
|
|
1017
|
-
function onSelectionChange(runs2) {
|
|
1018
|
-
selectedRows.value = runs2;
|
|
1019
|
-
emit("selectionChange", runs2);
|
|
1020
|
-
}
|
|
1021
|
-
async function deleteRuns() {
|
|
1022
|
-
emit("deleteRuns", selectedRows.value);
|
|
1023
|
-
}
|
|
1024
1018
|
return (_ctx, _cache) => {
|
|
1025
1019
|
const _component_N8nHeading = resolveComponent("N8nHeading");
|
|
1026
|
-
const
|
|
1020
|
+
const _component_AnimatedSpinner = __unplugin_components_0$2;
|
|
1027
1021
|
return openBlock(), createElementBlock("div", {
|
|
1028
1022
|
class: normalizeClass(_ctx.$style.container)
|
|
1029
1023
|
}, [
|
|
1030
1024
|
createVNode(_component_N8nHeading, {
|
|
1031
1025
|
size: "large",
|
|
1032
1026
|
bold: true,
|
|
1033
|
-
class: normalizeClass(_ctx.$style.runsTableHeading)
|
|
1027
|
+
class: normalizeClass(_ctx.$style.runsTableHeading),
|
|
1028
|
+
color: "text-base"
|
|
1034
1029
|
}, {
|
|
1035
1030
|
default: withCtx(() => [
|
|
1036
|
-
createTextVNode(toDisplayString(unref(locale).baseText("testDefinition.edit.pastRuns.total", { adjustToNumber: _ctx.runs.length })), 1)
|
|
1031
|
+
createTextVNode(toDisplayString(unref(locale).baseText("testDefinition.edit.pastRuns.total", { adjustToNumber: _ctx.runs.length })) + " ", 1),
|
|
1032
|
+
createVNode(unref(N8nText), null, {
|
|
1033
|
+
default: withCtx(() => [
|
|
1034
|
+
createTextVNode(" (" + toDisplayString(_ctx.runs.length) + ") ", 1)
|
|
1035
|
+
]),
|
|
1036
|
+
_: 1
|
|
1037
|
+
})
|
|
1037
1038
|
]),
|
|
1038
1039
|
_: 1
|
|
1039
1040
|
}, 8, ["class"]),
|
|
1040
|
-
createBaseVNode("div", {
|
|
1041
|
-
class: normalizeClass(_ctx.$style.header)
|
|
1042
|
-
}, [
|
|
1043
|
-
withDirectives(createVNode(_component_n8n_button, {
|
|
1044
|
-
type: "danger",
|
|
1045
|
-
class: normalizeClass(_ctx.$style.activator),
|
|
1046
|
-
size: "medium",
|
|
1047
|
-
icon: "trash",
|
|
1048
|
-
"data-test-id": "delete-runs-button",
|
|
1049
|
-
onClick: deleteRuns
|
|
1050
|
-
}, {
|
|
1051
|
-
default: withCtx(() => [
|
|
1052
|
-
createTextVNode(toDisplayString(unref(locale).baseText("testDefinition.listRuns.deleteRuns", {
|
|
1053
|
-
adjustToNumber: selectedRows.value.length
|
|
1054
|
-
})), 1)
|
|
1055
|
-
]),
|
|
1056
|
-
_: 1
|
|
1057
|
-
}, 8, ["class"]), [
|
|
1058
|
-
[vShow, selectedRows.value.length > 0]
|
|
1059
|
-
])
|
|
1060
|
-
], 2),
|
|
1061
1041
|
createVNode(TestTableBase, {
|
|
1062
1042
|
data: runSummaries.value,
|
|
1063
1043
|
columns: _ctx.columns,
|
|
1064
|
-
selectable: "",
|
|
1065
1044
|
"default-sort": { prop: "runAt", order: "descending" },
|
|
1066
|
-
onRowClick: _cache[0] || (_cache[0] = (row) => emit("rowClick", row))
|
|
1067
|
-
onSelectionChange
|
|
1045
|
+
onRowClick: _cache[0] || (_cache[0] = (row) => emit("rowClick", row))
|
|
1068
1046
|
}, {
|
|
1047
|
+
id: withCtx(({ row }) => [
|
|
1048
|
+
createTextVNode("#" + toDisplayString(row.index), 1)
|
|
1049
|
+
]),
|
|
1069
1050
|
status: withCtx(({ row }) => [
|
|
1070
1051
|
createBaseVNode("div", _hoisted_1$1, [
|
|
1071
|
-
|
|
1072
|
-
icon: "circle",
|
|
1073
|
-
size: "xsmall",
|
|
1074
|
-
style: normalizeStyle({ color: statusesColorDictionary[row.status] })
|
|
1075
|
-
}, null, 8, ["style"]),
|
|
1076
|
-
row.status === "error" ? (openBlock(), createBlock(unref(N8nText), {
|
|
1052
|
+
row.status === "running" ? (openBlock(), createBlock(unref(N8nText), {
|
|
1077
1053
|
key: 0,
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
color: "text-base"
|
|
1054
|
+
color: "secondary",
|
|
1055
|
+
class: "mr-2xs"
|
|
1081
1056
|
}, {
|
|
1082
1057
|
default: withCtx(() => [
|
|
1083
|
-
|
|
1058
|
+
createVNode(_component_AnimatedSpinner)
|
|
1084
1059
|
]),
|
|
1085
|
-
_:
|
|
1086
|
-
}
|
|
1060
|
+
_: 1
|
|
1061
|
+
})) : (openBlock(), createBlock(unref(N8nIcon), {
|
|
1087
1062
|
key: 1,
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
},
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1063
|
+
icon: statusDictionary[row.status].icon,
|
|
1064
|
+
color: statusDictionary[row.status].color,
|
|
1065
|
+
class: "mr-2xs"
|
|
1066
|
+
}, null, 8, ["icon", "color"])),
|
|
1067
|
+
row.status === "error" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
1068
|
+
createTextVNode(toDisplayString(row.failedCases) + " " + toDisplayString(row.status), 1)
|
|
1069
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
1070
|
+
createTextVNode(toDisplayString(row.status), 1)
|
|
1071
|
+
], 64))
|
|
1097
1072
|
])
|
|
1098
1073
|
]),
|
|
1099
1074
|
_: 1
|
|
@@ -1102,7 +1077,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1102
1077
|
};
|
|
1103
1078
|
}
|
|
1104
1079
|
});
|
|
1105
|
-
const container = "
|
|
1080
|
+
const container = "_container_1rjad_123";
|
|
1106
1081
|
const style0$2 = {
|
|
1107
1082
|
container
|
|
1108
1083
|
};
|
|
@@ -1114,22 +1089,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1114
1089
|
__name: "RunsSection",
|
|
1115
1090
|
props: /* @__PURE__ */ mergeModels({
|
|
1116
1091
|
runs: {},
|
|
1117
|
-
testId: {}
|
|
1118
|
-
appliedTheme: {}
|
|
1092
|
+
testId: {}
|
|
1119
1093
|
}, {
|
|
1120
1094
|
"selectedMetric": { required: true },
|
|
1121
1095
|
"selectedMetricModifiers": {}
|
|
1122
1096
|
}),
|
|
1123
|
-
emits:
|
|
1124
|
-
setup(__props
|
|
1097
|
+
emits: ["update:selectedMetric"],
|
|
1098
|
+
setup(__props) {
|
|
1125
1099
|
const props = __props;
|
|
1126
|
-
const emit = __emit;
|
|
1127
1100
|
const locale = useI18n();
|
|
1128
1101
|
const router = useRouter();
|
|
1129
1102
|
const selectedMetric = useModel(__props, "selectedMetric");
|
|
1130
|
-
function onDeleteRuns(toDelete) {
|
|
1131
|
-
emit("deleteRuns", toDelete);
|
|
1132
|
-
}
|
|
1133
1103
|
const metrics = computed(() => {
|
|
1134
1104
|
const metricKeys = props.runs.reduce((acc, run) => {
|
|
1135
1105
|
Object.keys(run.metrics ?? {}).forEach((metric) => acc.add(metric));
|
|
@@ -1144,14 +1114,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1144
1114
|
sortable: true,
|
|
1145
1115
|
showHeaderTooltip: true,
|
|
1146
1116
|
sortMethod: (a, b) => (a.metrics?.[metric] ?? 0) - (b.metrics?.[metric] ?? 0),
|
|
1147
|
-
formatter: (row) =>
|
|
1117
|
+
formatter: (row) => row.metrics?.[metric] !== void 0 ? (row.metrics?.[metric]).toFixed(2) : ""
|
|
1148
1118
|
}))
|
|
1149
1119
|
);
|
|
1150
1120
|
const columns = computed(() => [
|
|
1151
1121
|
{
|
|
1152
|
-
prop: "
|
|
1122
|
+
prop: "id",
|
|
1153
1123
|
label: locale.baseText("testDefinition.listRuns.runNumber"),
|
|
1154
|
-
formatter: (row) => `${row.id}`,
|
|
1155
1124
|
showOverflowTooltip: true
|
|
1156
1125
|
},
|
|
1157
1126
|
{
|
|
@@ -1159,6 +1128,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1159
1128
|
label: "Run at",
|
|
1160
1129
|
sortable: true,
|
|
1161
1130
|
showOverflowTooltip: true,
|
|
1131
|
+
formatter: (row) => {
|
|
1132
|
+
const { date, time } = convertToDisplayDate(row.runAt);
|
|
1133
|
+
return [date, time].join(", ");
|
|
1134
|
+
},
|
|
1162
1135
|
sortMethod: (a, b) => new Date(a.runAt ?? a.createdAt).getTime() - new Date(b.runAt ?? b.createdAt).getTime()
|
|
1163
1136
|
},
|
|
1164
1137
|
{
|
|
@@ -1181,23 +1154,21 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1181
1154
|
createVNode(MetricsChart, {
|
|
1182
1155
|
selectedMetric: selectedMetric.value,
|
|
1183
1156
|
"onUpdate:selectedMetric": _cache[0] || (_cache[0] = ($event) => selectedMetric.value = $event),
|
|
1184
|
-
runs: _ctx.runs
|
|
1185
|
-
|
|
1186
|
-
}, null, 8, ["selectedMetric", "runs", "theme"]),
|
|
1157
|
+
runs: _ctx.runs
|
|
1158
|
+
}, null, 8, ["selectedMetric", "runs"]),
|
|
1187
1159
|
createVNode(TestRunsTable, {
|
|
1188
1160
|
class: normalizeClass(_ctx.$style.runsTable),
|
|
1189
1161
|
runs: _ctx.runs,
|
|
1190
1162
|
columns: columns.value,
|
|
1191
1163
|
selectable: true,
|
|
1192
1164
|
"data-test-id": "past-runs-table",
|
|
1193
|
-
onDeleteRuns,
|
|
1194
1165
|
onRowClick: handleRowClick
|
|
1195
1166
|
}, null, 8, ["class", "runs", "columns"])
|
|
1196
1167
|
], 2);
|
|
1197
1168
|
};
|
|
1198
1169
|
}
|
|
1199
1170
|
});
|
|
1200
|
-
const runs = "
|
|
1171
|
+
const runs = "_runs_37xaf_123";
|
|
1201
1172
|
const style0$1 = {
|
|
1202
1173
|
runs
|
|
1203
1174
|
};
|
|
@@ -1235,7 +1206,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1235
1206
|
const isLoading = computed(() => tagsStore.isLoading);
|
|
1236
1207
|
const tagsById = computed(() => tagsStore.tagsById);
|
|
1237
1208
|
const currentWorkflowId = computed(() => props.name);
|
|
1238
|
-
const appliedTheme = computed(() => uiStore.appliedTheme);
|
|
1239
1209
|
const workflowName = computed(() => workflowStore.workflow.name);
|
|
1240
1210
|
const hasRuns = computed(() => runs2.value.length > 0);
|
|
1241
1211
|
const fieldsIssues = computed(() => testDefinitionStore.getFieldIssues(props.testId) ?? []);
|
|
@@ -1269,20 +1239,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1269
1239
|
});
|
|
1270
1240
|
window.open(executionsRoute.href, "_blank");
|
|
1271
1241
|
}
|
|
1272
|
-
const runs2 = computed(
|
|
1273
|
-
|
|
1274
|
-
(
|
|
1275
|
-
)
|
|
1276
|
-
|
|
1242
|
+
const runs2 = computed(() => {
|
|
1243
|
+
const testRuns = Object.values(testDefinitionStore.testRunsById ?? {}).filter(
|
|
1244
|
+
({ testDefinitionId }) => testDefinitionId === props.testId
|
|
1245
|
+
);
|
|
1246
|
+
return orderBy(testRuns, (record) => new Date(record.runAt), ["asc"]).map(
|
|
1247
|
+
(record, index) => Object.assign(record, { index: index + 1 })
|
|
1248
|
+
);
|
|
1249
|
+
});
|
|
1277
1250
|
const isRunning = computed(() => runs2.value.some((run) => run.status === "running"));
|
|
1278
1251
|
const isRunTestEnabled = computed(() => fieldsIssues.value.length === 0 && !isRunning.value);
|
|
1279
|
-
async function onDeleteRuns(toDelete) {
|
|
1280
|
-
await Promise.all(
|
|
1281
|
-
toDelete.map(async (run) => {
|
|
1282
|
-
await testDefinitionStore.deleteTestRun({ testDefinitionId: props.testId, runId: run.id });
|
|
1283
|
-
})
|
|
1284
|
-
);
|
|
1285
|
-
}
|
|
1286
1252
|
async function renameTag(newName) {
|
|
1287
1253
|
await tagsStore.rename({ id: state.value.tags.value[0], name: newName });
|
|
1288
1254
|
}
|
|
@@ -1436,10 +1402,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1436
1402
|
"onUpdate:selectedMetric": _cache[1] || (_cache[1] = ($event) => selectedMetric.value = $event),
|
|
1437
1403
|
class: normalizeClass(_ctx.$style.runs),
|
|
1438
1404
|
runs: runs2.value,
|
|
1439
|
-
"test-id": _ctx.testId
|
|
1440
|
-
|
|
1441
|
-
onDeleteRuns
|
|
1442
|
-
}, null, 8, ["selectedMetric", "class", "runs", "test-id", "applied-theme"])) : createCommentVNode("", true),
|
|
1405
|
+
"test-id": _ctx.testId
|
|
1406
|
+
}, null, 8, ["selectedMetric", "class", "runs", "test-id"])) : createCommentVNode("", true),
|
|
1443
1407
|
showConfig.value ? (openBlock(), createBlock(ConfigSection, {
|
|
1444
1408
|
key: 1,
|
|
1445
1409
|
tags: unref(state).tags,
|
package/dist/assets/{TestDefinitionListView-BuUWjPAl.js → TestDefinitionListView-CLEkthYQ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, q as computed, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, w as withCtx, l as createTextVNode, m as unref,
|
|
1
|
+
import { d as defineComponent, q as computed, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, w as withCtx, l as createTextVNode, m as unref, d9 as N8nBadge, e as createBlock, f as createCommentVNode, t as toDisplayString, c as useI18n, b9 as N8nText, bb as N8nButton, F as Fragment, _ as _export_sfc, x as renderSlot, b3 as mergeProps, bE as N8nIcon, cV as _sfc_main$3, D as renderList, b as useRouter, g5 as useTestDefinitionStore, a as useToast, d7 as useAsyncState, d2 as orderBy, g6 as N8nLoading, c_ as N8nHeading, J as withModifiers, g7 as N8nActionToggle, aS as N8nTooltip, aU as _sfc_main$4, as as h, cd as RouterLink, V as VIEWS, ak as useMessage, al as MODAL_CONFIRM } from "./index-DD7Wuhk5.js";
|
|
2
2
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "EmptyState",
|
|
4
4
|
emits: ["create-test"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useTestDefinitionForm } from "./useTestDefinitionForm-
|
|
2
|
-
import { d as defineComponent,
|
|
1
|
+
import { u as useTestDefinitionForm } from "./useTestDefinitionForm-CCVy0jKP.js";
|
|
2
|
+
import { d as defineComponent, g5 as useTestDefinitionStore, fQ as useAnnotationTagsStore, av as useExecutionsStore, a as useToast, b as useRouter, W as useRoute, ai as useTelemetry, a1 as useRootStore, V as VIEWS, e as createBlock, g as openBlock, m as unref, g6 as N8nLoading } from "./index-DD7Wuhk5.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "TestDefinitionNewView",
|
|
5
5
|
props: {
|
package/dist/assets/{TestDefinitionRootView-1dNmGZUI.js → TestDefinitionRootView-D0yLW0V6.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter,
|
|
1
|
+
import { d as defineComponent, b as useRouter, a7 as useWorkflowHelpers, U as useWorkflowsStore, d7 as useAsyncState, h as resolveComponent, i as createElementBlock, g as openBlock, e as createBlock, f as createCommentVNode, m as unref, n as normalizeClass, _ as _export_sfc } from "./index-DD7Wuhk5.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "TestDefinitionRootView",
|
|
4
4
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { R as ResourcesListLayout } from "./ResourcesListLayout-
|
|
3
|
-
import { p as pickBy } from "./pickBy-
|
|
1
|
+
import { d as defineComponent, ba as useClipboard, a as useToast, q as computed, e as createBlock, g as openBlock, m as unref, aS as N8nTooltip, w as withCtx, k as createBaseVNode, t as toDisplayString, l as createTextVNode, c as useI18n, _ as _export_sfc, bL as reactive, d5 as toRaw, r as ref, i as createElementBlock, j as createVNode, d6 as N8nFormInput, f as createCommentVNode, bb as N8nButton, p as useSettingsStore, bN as useEnvironmentsStore, u as useUsersStore, L as useUIStore, a3 as useSourceControlStore, W as useRoute, b as useRouter, bA as useTemplateRef, a9 as getResourcePermissions, d7 as useAsyncState, ac as EnterpriseEditionFeature, a8 as usePageRedirectionHelper, o as onMounted, a6 as useDocumentTitle, h as resolveComponent, aW as createSlots, d8 as N8nActionBox, b3 as mergeProps, b0 as normalizeProps, F as Fragment, d9 as N8nBadge, da as N8nInputLabel, db as N8nCheckbox, dc as uid, ai as useTelemetry, ak as useMessage, al as MODAL_CONFIRM } from "./index-DD7Wuhk5.js";
|
|
2
|
+
import { R as ResourcesListLayout } from "./ResourcesListLayout-CozpmfUY.js";
|
|
3
|
+
import { p as pickBy } from "./pickBy-BILEJ4hg.js";
|
|
4
4
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "VariablesUsageBadge",
|
|
6
6
|
props: {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { d as defineComponent, r as ref, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, j as createVNode, w as withCtx, x as renderSlot, _ as _export_sfc, e as createBlock, F as Fragment, D as renderList, t as toDisplayString, l as createTextVNode, m as unref, c as useI18n,
|
|
3
|
-
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./easyAiWorkflowUtils-CLssJdgl.js";
|
|
1
|
+
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-BL-bMMgn.js";
|
|
2
|
+
import { d as defineComponent, r as ref, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, j as createVNode, w as withCtx, x as renderSlot, _ as _export_sfc, e as createBlock, F as Fragment, D as renderList, t as toDisplayString, l as createTextVNode, m as unref, c as useI18n, ba as useClipboard, a as useToast, q as computed, aN as sortByProperty, o as onMounted, y as onBeforeUnmount, b as useRouter, a6 as useDocumentTitle, a1 as useRootStore, T as usePushConnectionStore, ai as useTelemetry, aB as onBeforeMount, p as useSettingsStore, a8 as usePageRedirectionHelper } from "./index-DD7Wuhk5.js";
|
|
3
|
+
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-9zsAnuvC.js";
|
|
4
|
+
import { C as Chart } from "./index-BrjPYODL.js";
|
|
5
|
+
import "./global-link-actions-vGpWr9Uz.js";
|
|
6
|
+
import "./easyAiWorkflowUtils-V__OjFo9.js";
|
|
8
7
|
function averageWorkerLoadFromLoads(loads) {
|
|
9
8
|
return loads.reduce((prev, curr) => prev + curr, 0) / loads.length;
|
|
10
9
|
}
|