From 566627239b04f667097fd65fde198fb4d41c70af Mon Sep 17 00:00:00 2001 From: Khafid Prayoga Date: Mon, 15 Sep 2025 11:01:18 +0700 Subject: [PATCH] feat(pagination): add reusable pagination component and update list views - Create new PaginationView component to standardize pagination display - Update multiple list components to use the new PaginationView - Make paginationMeta prop required in list components --- app/components/app/divison/list.vue | 13 ++++------ app/components/app/equipment/list.vue | 10 +++----- app/components/app/installation/list.vue | 15 ++++------- app/components/app/specialist/list.vue | 15 ++++------- app/components/app/tools/list.vue | 25 ++++++++----------- app/components/app/unit/list.vue | 14 ++++------- .../custom-ui/pagination/pagination-view.vue | 24 ++++++++++++++++++ .../pub/custom-ui/pagination/pagination.vue | 4 +-- 8 files changed, 60 insertions(+), 60 deletions(-) create mode 100644 app/components/pub/custom-ui/pagination/pagination-view.vue diff --git a/app/components/app/divison/list.vue b/app/components/app/divison/list.vue index cf0d5ea2..e2540e85 100644 --- a/app/components/app/divison/list.vue +++ b/app/components/app/divison/list.vue @@ -1,10 +1,11 @@ diff --git a/app/components/app/unit/list.vue b/app/components/app/unit/list.vue index 1baaa6ba..e9489ef1 100644 --- a/app/components/app/unit/list.vue +++ b/app/components/app/unit/list.vue @@ -1,10 +1,11 @@ + + diff --git a/app/components/pub/custom-ui/pagination/pagination.vue b/app/components/pub/custom-ui/pagination/pagination.vue index 694e3b7b..06ca17b6 100644 --- a/app/components/pub/custom-ui/pagination/pagination.vue +++ b/app/components/pub/custom-ui/pagination/pagination.vue @@ -89,12 +89,12 @@ function getButtonClass(pageNumber: number) {