From 894a298f457f5ddc204050f3eb03c163bcc44f7d Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Mon, 22 Apr 2024 20:48:46 +0200 Subject: [PATCH] maybe better without vueform ? --- vue3/package.json | 1 + .../src/components/dialogs/MealPlanDialog.vue | 99 ++++++------------- vue3/yarn.lock | 2 +- 3 files changed, 32 insertions(+), 70 deletions(-) diff --git a/vue3/package.json b/vue3/package.json index 6dd517963..c9256ad7f 100644 --- a/vue3/package.json +++ b/vue3/package.json @@ -11,6 +11,7 @@ "dependencies": { "@mdi/font": "7.2.96", "@types/luxon": "^3.4.2", + "@vueform/multiselect": "^2.6.7", "@vueform/vueform": "^1.9.2", "@vueuse/core": "^10.9.0", "luxon": "^3.4.4", diff --git a/vue3/src/components/dialogs/MealPlanDialog.vue b/vue3/src/components/dialogs/MealPlanDialog.vue index 5b7a5ec99..c7713002f 100644 --- a/vue3/src/components/dialogs/MealPlanDialog.vue +++ b/vue3/src/components/dialogs/MealPlanDialog.vue @@ -5,81 +5,39 @@ Meal Plan Edit - - - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - Delete - + > + + + + + + + + + + @@ -101,7 +59,8 @@ import {ApiApi, MealPlan, RecipeOverview} from "@/openapi"; import {DateTime} from "luxon"; import RecipeCard from "@/components/display/RecipeCard.vue"; import {useMealPlanStore} from "@/stores/MealPlanStore"; - +import {VNumberInput} from 'vuetify/labs/VNumberInput' //TODO remove once component is out of labs +import Multiselect from '@vueform/multiselect' const props = defineProps( { @@ -161,6 +120,8 @@ async function recipeSearch(searchQuery: string) { + + \ No newline at end of file diff --git a/vue3/yarn.lock b/vue3/yarn.lock index 8d1915fb1..8f05a57f9 100644 --- a/vue3/yarn.lock +++ b/vue3/yarn.lock @@ -412,7 +412,7 @@ resolved "https://registry.yarnpkg.com/@vue/tsconfig/-/tsconfig-0.4.0.tgz#f01e2f6089b5098136fb084a0dd0cdd4533b72b0" integrity sha512-CPuIReonid9+zOG/CGTT05FXrPYATEqoDGNrEaqS4hwcw5BUNM2FguC0mOwJD4Jr16UpRVl9N0pY3P+srIbqmg== -"@vueform/multiselect@^2.6.3": +"@vueform/multiselect@^2.6.3", "@vueform/multiselect@^2.6.7": version "2.6.7" resolved "https://registry.yarnpkg.com/@vueform/multiselect/-/multiselect-2.6.7.tgz#12e38719de428389378fd4af2e5143442707e6fd" integrity sha512-d0iwfzsj+N27o/JPE1KXbf0rVtwIe33dqlkQcOPxOP0RS6mW9umQG1hcuFEpdqNajuryHB9N4zo0rEcGmN20xQ==