From 6b38359a905dd70ee7fcb810179fa14fa87a1d42 Mon Sep 17 00:00:00 2001 From: bagus-arie05 Date: Tue, 6 Jan 2026 14:51:28 +0700 Subject: [PATCH] update anjungan, store management --- .../features/queue/CurrentPatientCard.vue | 29 +- composables/useAPI.ts | 105 + composables/useClinicAPI.ts | 160 + composables/useQueueAPI.ts | 193 + docs/API_ENDPOINTS_CLINIC_DOCTOR.md | 1538 ++++ nuxt.config.ts | 4 +- package-lock.json | 40 + package.json | 3 +- pages/AdminKlinik.vue | 80 +- pages/AdminLoket.vue | 10 + pages/Anjungan/Anjungan/[id].vue | 481 +- pages/CheckInPasien/checkIn.vue | 6240 +++++++++-------- .../checkIn.vue.backup.combined-layout | 3386 --------- .../checkIn.vue.before-combined.backup | 3351 --------- .../checkIn.vue.refactore.backup | 717 -- pages/Setting/MasterAnjungan.vue | 2 +- plugins/pinia-persistedstate.client.ts | 8 + server/api/queue/patients.ts.txt | 212 + stores/anjunganStore.js | 6 + stores/clinicStore.js | 198 +- stores/klinikruangstore.js | 6 + stores/loketStore.js | 125 + stores/masterStore.js | 705 +- stores/penunjangStore.js | 289 + stores/queueStore.js | 174 +- stores/ruangStore.js | 313 + stores/screenStore.js | 6 + 27 files changed, 7395 insertions(+), 10986 deletions(-) create mode 100644 composables/useAPI.ts create mode 100644 composables/useClinicAPI.ts create mode 100644 composables/useQueueAPI.ts create mode 100644 docs/API_ENDPOINTS_CLINIC_DOCTOR.md delete mode 100644 pages/CheckInPasien/checkIn.vue.backup.combined-layout delete mode 100644 pages/CheckInPasien/checkIn.vue.before-combined.backup delete mode 100644 pages/CheckInPasien/checkIn.vue.refactore.backup create mode 100644 plugins/pinia-persistedstate.client.ts create mode 100644 server/api/queue/patients.ts.txt create mode 100644 stores/loketStore.js create mode 100644 stores/penunjangStore.js create mode 100644 stores/ruangStore.js diff --git a/components/features/queue/CurrentPatientCard.vue b/components/features/queue/CurrentPatientCard.vue index 9bd50a4..7cd364f 100644 --- a/components/features/queue/CurrentPatientCard.vue +++ b/components/features/queue/CurrentPatientCard.vue @@ -1,7 +1,20 @@