From 6b1a5ec2fc188756b97dde294a7247882d79bcc6 Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Fri, 20 Sep 2024 11:22:18 +0200 Subject: [PATCH] feat: cleanup and update deps Signed-off-by: Alexander Trost --- .../DispatchCreateOrUpdateSlideover.vue | 4 - .../dispatches/DispatchStatusUpdateModal.vue | 13 +- .../centrum/livemap/DispatchesLayer.vue | 2 - .../centrum/livemap/JoinUnitSlideover.vue | 9 +- .../centrum/livemap/TakeDispatchSlideover.vue | 2 - .../partials/DispatchStatusBreakdown.vue | 5 +- .../centrum/settings/CentrumSettings.vue | 10 -- .../settings/UnitCreateOrUpdateModal.vue | 28 +--- .../centrum/units/UnitAssignUsersModal.vue | 2 - .../centrum/units/UnitStatusUpdateModal.vue | 6 - .../documents/DocumentCommentEntry.vue | 59 +++++---- app/components/documents/DocumentComments.vue | 6 +- .../colleagues/info/ColleagueActivityFeed.vue | 2 - .../livemap/controls/SettingsModal.vue | 2 - app/components/partials/DatePicker.client.vue | 1 - app/components/partials/DocEditor.vue | 2 +- .../partials/MonthCalendar.client.vue | 1 - app/components/partials/Pagination.vue | 2 +- .../partials/elements/GenericTime.vue | 2 +- .../notification/NotificationsList.vue | 39 +++--- .../exam/ExamEditorQuestion.vue | 18 ++- app/components/rector/laws/LawBookEntry.vue | 74 +++++++---- app/composables/nui.ts | 1 - app/error.vue | 6 +- app/middleware/02.auth.global.ts | 6 +- app/store/auth.ts | 4 +- app/store/calendar.ts | 2 - app/store/clipboard.ts | 7 +- app/store/documenteditor.ts | 7 +- app/store/notificator.ts | 2 +- app/typings.d.ts | 7 +- .../proto/services/centrum/manager/units.go | 4 +- go.mod | 2 +- go.sum | 4 +- go.work.sum | 8 +- nuxt.config.ts | 3 + package.json | 2 +- pnpm-lock.yaml | 122 +++++++++--------- 38 files changed, 222 insertions(+), 254 deletions(-) diff --git a/app/components/centrum/dispatches/DispatchCreateOrUpdateSlideover.vue b/app/components/centrum/dispatches/DispatchCreateOrUpdateSlideover.vue index e20b05ee1..85dc7b7af 100644 --- a/app/components/centrum/dispatches/DispatchCreateOrUpdateSlideover.vue +++ b/app/components/centrum/dispatches/DispatchCreateOrUpdateSlideover.vue @@ -114,8 +114,6 @@ const onSubmitThrottle = useThrottleFn(async (event: FormSubmitEvent) => type="text" name="message" :placeholder="$t('common.message')" - - /> @@ -133,8 +131,6 @@ const onSubmitThrottle = useThrottleFn(async (event: FormSubmitEvent) => type="text" name="description" :placeholder="$t('common.description')" - - /> diff --git a/app/components/centrum/dispatches/DispatchStatusUpdateModal.vue b/app/components/centrum/dispatches/DispatchStatusUpdateModal.vue index 8aef13782..d8c1b5e32 100644 --- a/app/components/centrum/dispatches/DispatchStatusUpdateModal.vue +++ b/app/components/centrum/dispatches/DispatchStatusUpdateModal.vue @@ -146,14 +146,7 @@ function updateReasonField(value: string): void {
- +
@@ -170,8 +163,6 @@ function updateReasonField(value: string): void { type="text" name="reason" :placeholder="$t('common.reason')" - - /> @@ -192,8 +183,6 @@ function updateReasonField(value: string): void { name="dispatchStatus" :options="[' ', ...settings?.predefinedStatus.dispatchStatus]" :searchable-placeholder="$t('common.search_field')" - - @change="updateReasonField($event)" >