From f72bc3387110243c03705e77304b541914bce673 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 30 Jul 2024 15:04:56 +0200 Subject: [PATCH] implementing snapshots --- dashboard/app.vue | 8 +- dashboard/components/CVerticalNavigation.vue | 24 +++- dashboard/components/DatePicker.vue | 63 +++++++++++ .../components/dialog/CreateSnapshot.vue | 89 +++++++++++++++ dashboard/composables/useCustomDialog.ts | 27 ++++- dashboard/package.json | 4 +- dashboard/pages/report.vue | 6 +- dashboard/pnpm-lock.yaml | 106 ++++++++++++++---- dashboard/tailwind.config.js | 42 +++++++ 9 files changed, 338 insertions(+), 31 deletions(-) create mode 100644 dashboard/components/DatePicker.vue create mode 100644 dashboard/components/dialog/CreateSnapshot.vue diff --git a/dashboard/app.vue b/dashboard/app.vue index b37898e..826da4b 100644 --- a/dashboard/app.vue +++ b/dashboard/app.vue @@ -8,7 +8,7 @@ const debugMode = process.dev; const { alerts, closeAlert } = useAlert(); -const { showDialog, closeDialog, dialogComponent, dialogParams } = useCustomDialog(); +const { showDialog, closeDialog, dialogComponent, dialogParams, dialogStyle, dialogClosable } = useCustomDialog();