From a4de661a42536abbeb3b40e9b63bf81d329a16e3 Mon Sep 17 00:00:00 2001 From: AbleKSaju <126228406+AbleKSaju@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:54:33 +0530 Subject: [PATCH] feat: split item list and grid views for ClassicPOS and ModernPOS --- .../POS/{ => Classic}/ItemsGrid.vue | 43 +- .../POS/{ => Classic}/ItemsTable.vue | 9 +- .../POS/Modern/ModernPOSItemsGrid.vue | 132 +++++ .../POS/Modern/ModernPOSItemsTable.vue | 202 ++++++++ src/pages/POS/ClassicPOS.vue | 5 - src/pages/POS/ModernPOS.vue | 466 +++++++++--------- 6 files changed, 604 insertions(+), 253 deletions(-) rename src/components/POS/{ => Classic}/ItemsGrid.vue (74%) rename src/components/POS/{ => Classic}/ItemsTable.vue (92%) create mode 100644 src/components/POS/Modern/ModernPOSItemsGrid.vue create mode 100644 src/components/POS/Modern/ModernPOSItemsTable.vue diff --git a/src/components/POS/ItemsGrid.vue b/src/components/POS/Classic/ItemsGrid.vue similarity index 74% rename from src/components/POS/ItemsGrid.vue rename to src/components/POS/Classic/ItemsGrid.vue index 534efd29..2da0d0b7 100644 --- a/src/components/POS/ItemsGrid.vue +++ b/src/components/POS/Classic/ItemsGrid.vue @@ -3,18 +3,28 @@ class=" flex flex-col gap-4 - p-4 + p-2 items-center - mt-4 px-2 rounded-t-md text-black w-full + overflow-y-auto + custom-scroll custom-scroll-thumb2 " - style="height: 80vh" + style="height: 83vh" > -