From 59ee12878551942b6310e9c0a7c4695507357611 Mon Sep 17 00:00:00 2001 From: Claudio Maggioni Date: Wed, 17 May 2023 11:48:59 +0200 Subject: [PATCH] Implemented fuzzy finder and company selection --- stockingly-frontend/package.json | 3 + .../src/layouts/default/AppBar.vue | 23 ----- .../src/layouts/default/Default.vue | 3 - stockingly-frontend/src/views/Home.vue | 95 ++++++++++++++++--- stockingly-frontend/yarn.lock | 15 +++ 5 files changed, 101 insertions(+), 38 deletions(-) delete mode 100644 stockingly-frontend/src/layouts/default/AppBar.vue diff --git a/stockingly-frontend/package.json b/stockingly-frontend/package.json index 2c16fdc..2f9a9e3 100644 --- a/stockingly-frontend/package.json +++ b/stockingly-frontend/package.json @@ -11,6 +11,8 @@ "dependencies": { "@mdi/font": "^7.2.96", "core-js": "^3.29.0", + "debounce": "^1.2.1", + "fuse.js": "^6.6.2", "roboto-fontface": "*", "vue": "^3.2.0", "vue-router": "^4.0.0", @@ -19,6 +21,7 @@ }, "devDependencies": { "@babel/types": "^7.21.4", + "@types/debounce": "^1.2.1", "@types/node": "^18.15.0", "@types/webfontloader": "^1.6.35", "@vitejs/plugin-vue": "^3.0.3", diff --git a/stockingly-frontend/src/layouts/default/AppBar.vue b/stockingly-frontend/src/layouts/default/AppBar.vue deleted file mode 100644 index 584230c..0000000 --- a/stockingly-frontend/src/layouts/default/AppBar.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - diff --git a/stockingly-frontend/src/layouts/default/Default.vue b/stockingly-frontend/src/layouts/default/Default.vue index e642631..57ada2f 100644 --- a/stockingly-frontend/src/layouts/default/Default.vue +++ b/stockingly-frontend/src/layouts/default/Default.vue @@ -1,12 +1,9 @@ diff --git a/stockingly-frontend/src/views/Home.vue b/stockingly-frontend/src/views/Home.vue index 789b8d3..680993b 100644 --- a/stockingly-frontend/src/views/Home.vue +++ b/stockingly-frontend/src/views/Home.vue @@ -1,4 +1,15 @@