From 8d44ab4f03ae23a8cf2004ebdaf50928a6e6f371 Mon Sep 17 00:00:00 2001 From: Matus Kosut Date: Tue, 21 Jul 2026 16:08:37 +0200 Subject: [PATCH 1/7] feat: tests --- .../components/price-estimator/LabCard.vue | 451 ++++++++++-------- .../components/price-estimator/LabModal.vue | 15 +- .../price-estimator/MachineModal.vue | 15 +- .../price-estimator/PriceEstimator.vue | 158 ++++-- .../price-estimator/StorageModal.vue | 15 +- .../components/price-estimator/TotalBlock.vue | 78 ++- docs/.vitepress/theme/plugins/vuetify.ts | 25 + 7 files changed, 479 insertions(+), 278 deletions(-) diff --git a/docs/.vitepress/theme/components/price-estimator/LabCard.vue b/docs/.vitepress/theme/components/price-estimator/LabCard.vue index 7bdfebc66ec..c612e8fba31 100644 --- a/docs/.vitepress/theme/components/price-estimator/LabCard.vue +++ b/docs/.vitepress/theme/components/price-estimator/LabCard.vue @@ -153,195 +153,209 @@ const removeStorageById = (storageId: number) => { diff --git a/docs/.vitepress/theme/components/price-estimator/LabModal.vue b/docs/.vitepress/theme/components/price-estimator/LabModal.vue index 73e45c28d24..77e588f57ee 100644 --- a/docs/.vitepress/theme/components/price-estimator/LabModal.vue +++ b/docs/.vitepress/theme/components/price-estimator/LabModal.vue @@ -57,8 +57,12 @@ onMounted(() => { diff --git a/docs/.vitepress/theme/components/price-estimator/MachineModal.vue b/docs/.vitepress/theme/components/price-estimator/MachineModal.vue index c3690f37140..8dc990699b0 100644 --- a/docs/.vitepress/theme/components/price-estimator/MachineModal.vue +++ b/docs/.vitepress/theme/components/price-estimator/MachineModal.vue @@ -193,9 +193,11 @@ onMounted(() => { diff --git a/docs/.vitepress/theme/components/price-estimator/PriceEstimator.vue b/docs/.vitepress/theme/components/price-estimator/PriceEstimator.vue index e0b5dd85a4d..b84899baf71 100644 --- a/docs/.vitepress/theme/components/price-estimator/PriceEstimator.vue +++ b/docs/.vitepress/theme/components/price-estimator/PriceEstimator.vue @@ -43,52 +43,114 @@ async function handleFileUpload(event: Event) { + + diff --git a/docs/.vitepress/theme/components/price-estimator/StorageModal.vue b/docs/.vitepress/theme/components/price-estimator/StorageModal.vue index 9cc896a030c..5be3f786411 100644 --- a/docs/.vitepress/theme/components/price-estimator/StorageModal.vue +++ b/docs/.vitepress/theme/components/price-estimator/StorageModal.vue @@ -62,9 +62,11 @@ onMounted(() => { diff --git a/docs/.vitepress/theme/components/price-estimator/TotalBlock.vue b/docs/.vitepress/theme/components/price-estimator/TotalBlock.vue index 63666286934..d8dcec9e8c7 100644 --- a/docs/.vitepress/theme/components/price-estimator/TotalBlock.vue +++ b/docs/.vitepress/theme/components/price-estimator/TotalBlock.vue @@ -121,24 +121,28 @@ const tableItems = computed(() => {