From 83f5b07c7e9eb0611ff26af45e1a4c815add3e59 Mon Sep 17 00:00:00 2001 From: Spythere Date: Mon, 19 Feb 2024 17:37:46 +0100 Subject: [PATCH] code adaptation for API changes; tons changed to kilos --- src/App.vue | 12 +- src/components/app/Footer.vue | 19 ++- src/components/app/MainContainer.vue | 12 +- src/components/common/Checkbox.vue | 4 +- src/components/sections/InputsSection.vue | 4 +- src/components/sections/StockSection.vue | 35 ++-- src/components/sections/TrainImageSection.vue | 2 +- src/components/tabs/NumberGeneratorTab.vue | 156 ++++++++++++------ src/components/tabs/StockGeneratorTab.vue | 16 +- src/components/tabs/StockListTab.vue | 12 +- src/components/tabs/WikiListTab.vue | 24 ++- src/components/utils/StockThumbnails.vue | 32 ++-- src/constants/massLimits.json | 17 +- src/locales/en.json | 2 +- src/locales/pl.json | 2 +- src/main.ts | 10 +- src/mixins/stockMixin.ts | 6 +- src/mixins/warningsMixin.ts | 18 +- src/store.ts | 8 +- src/styles/global.scss | 26 +-- src/styles/tab.scss | 2 +- src/types.ts | 29 ++-- src/utils/vehicleLimitsUtils.ts | 21 ++- src/utils/vehicleUtils.ts | 122 ++++++++++---- src/views/AppContainerView.vue | 8 +- 25 files changed, 365 insertions(+), 234 deletions(-) diff --git a/src/App.vue b/src/App.vue index 2c90c22..d7d74c2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,11 +5,11 @@