From 3c15554ab481badc77dfa2b6c9b02dd7aa7fe212 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 9 Feb 2023 07:26:08 +0100 Subject: [PATCH] Side filters --- src/components/NavBar.vue | 17 +- src/components/ui/ModuleSearchbar.vue | 77 +++----- src/composables/useArrayData.js | 6 +- src/css/app.scss | 7 + src/css/quasar.variables.scss | 2 - src/layouts/MainLayout.vue | 13 +- src/pages/Customer/Card/CustomerCard.vue | 2 +- .../Customer/Card/CustomerDescriptor.vue | 10 +- src/pages/Customer/Card/CustomerSummary.vue | 26 +-- src/pages/Customer/CustomerList.vue | 172 +++++++++++++++++- src/pages/InvoiceOut/Card/InvoiceOutCard.vue | 3 + 11 files changed, 246 insertions(+), 89 deletions(-) diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index ee95e258c..e63534d2f 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -13,6 +13,8 @@ const user = state.getUser(); const token = session.getToken(); const appName = 'Lilium'; +defineEmits(['onToggleRightDrawer']); + onMounted(() => (state.headerMounted.value = true)); function onToggleDrawer() { @@ -29,9 +31,13 @@ function onToggleDrawer() { - + - + {{ t('globals.backToDashboard') }} @@ -52,11 +58,16 @@ function onToggleDrawer() { + + + {{ t('globals.collapseMenu') }} + + diff --git a/src/components/ui/ModuleSearchbar.vue b/src/components/ui/ModuleSearchbar.vue index 138121a86..6382f8710 100644 --- a/src/components/ui/ModuleSearchbar.vue +++ b/src/components/ui/ModuleSearchbar.vue @@ -1,5 +1,5 @@