From 95f1c8b889355ba64e2560bdbd102ee7b2865616 Mon Sep 17 00:00:00 2001 From: YSHgroup Date: Mon, 29 Apr 2024 15:42:23 -0400 Subject: [PATCH] Update the add event modal and functionality --- components.d.ts | 6 +++ src/components/EventModal.vue | 73 ++++++++++++++++++++++++++++++----- src/interfaces/eventTypes.ts | 7 ++++ src/interfaces/index.ts | 3 +- src/stores/calendar.ts | 25 ++++++++++-- 5 files changed, 100 insertions(+), 14 deletions(-) create mode 100644 src/interfaces/eventTypes.ts diff --git a/components.d.ts b/components.d.ts index 25df4f0..ff26d3f 100644 --- a/components.d.ts +++ b/components.d.ts @@ -8,11 +8,17 @@ export {} declare module 'vue' { export interface GlobalComponents { BButton: typeof import('bootstrap-vue-next')['BButton'] + BButtonGroup: typeof import('bootstrap-vue-next')['BButtonGroup'] BCard: typeof import('bootstrap-vue-next')['BCard'] + BCardBody: typeof import('bootstrap-vue-next')['BCardBody'] + BCardBordy: typeof import('bootstrap-vue-next')['BCardBordy'] + BCardFooter: typeof import('bootstrap-vue-next')['BCardFooter'] BCardText: typeof import('bootstrap-vue-next')['BCardText'] BCol: typeof import('bootstrap-vue-next')['BCol'] BContainer: typeof import('bootstrap-vue-next')['BContainer'] BFormInput: typeof import('bootstrap-vue-next')['BFormInput'] + BFormInvalidFeedback: typeof import('bootstrap-vue-next')['BFormInvalidFeedback'] + BFormTextarea: typeof import('bootstrap-vue-next')['BFormTextarea'] BNav: typeof import('bootstrap-vue-next')['BNav'] BRow: typeof import('bootstrap-vue-next')['BRow'] EventModal: typeof import('./src/components/EventModal.vue')['default'] diff --git a/src/components/EventModal.vue b/src/components/EventModal.vue index f8e462e..49dc286 100644 --- a/src/components/EventModal.vue +++ b/src/components/EventModal.vue @@ -1,24 +1,79 @@