From 189d358b2a675b55f82488238fd717009b5462d4 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 12 Apr 2023 14:35:35 +0200 Subject: [PATCH] chore: update all deps (#1976) --- components/common/CommonAlert.vue | 2 +- components/common/CommonCheckbox.vue | 2 +- components/common/CommonCropImage.vue | 2 +- components/common/CommonInputImage.vue | 2 +- components/common/CommonRadio.vue | 2 +- components/common/CommonTabs.vue | 2 +- components/list/ListEntry.vue | 2 +- components/modal/ModalDialog.vue | 2 +- .../modal/ModalMediaPreviewCarousel.vue | 2 +- components/nav/NavBottomMoreMenu.vue | 2 +- ...ficationSubscribePushNotificationError.vue | 2 +- components/publish/PublishLanguagePicker.vue | 2 +- .../publish/PublishVisibilityPicker.vue | 2 +- .../settings/SettingsProfileMetadata.vue | 2 +- components/status/StatusPoll.vue | 4 +- composables/cache.ts | 4 +- docs/package.json | 2 +- nuxt.config.ts | 14 +- package.json | 57 +- pnpm-lock.yaml | 3699 ++++++++--------- 20 files changed, 1730 insertions(+), 2078 deletions(-) diff --git a/components/common/CommonAlert.vue b/components/common/CommonAlert.vue index c3856bab..cc2bd0c1 100644 --- a/components/common/CommonAlert.vue +++ b/components/common/CommonAlert.vue @@ -2,7 +2,7 @@ const emit = defineEmits<{ (event: 'close'): void }>() -const { modelValue: visible } = defineModel<{ +const { modelValue: visible } = defineModels<{ modelValue?: boolean }>() diff --git a/components/common/CommonCheckbox.vue b/components/common/CommonCheckbox.vue index 9f762e9c..85ea5e86 100644 --- a/components/common/CommonCheckbox.vue +++ b/components/common/CommonCheckbox.vue @@ -3,7 +3,7 @@ defineProps<{ label: string hover?: boolean }>() -const { modelValue } = defineModel<{ +const { modelValue } = defineModels<{ modelValue?: boolean }>() diff --git a/components/common/CommonCropImage.vue b/components/common/CommonCropImage.vue index 1a44ff2b..6ab271e3 100644 --- a/components/common/CommonCropImage.vue +++ b/components/common/CommonCropImage.vue @@ -14,7 +14,7 @@ const props = withDefaults(defineProps(), { stencilSizePercentage: 0.9, }) -const { modelValue: file } = defineModel<{ +const { modelValue: file } = defineModels<{ /** Images to be cropped */ modelValue: File | null }>() diff --git a/components/common/CommonInputImage.vue b/components/common/CommonInputImage.vue index d64756f3..6443e2a0 100644 --- a/components/common/CommonInputImage.vue +++ b/components/common/CommonInputImage.vue @@ -22,7 +22,7 @@ const emit = defineEmits<{ (event: 'error', code: number, message: string): void }>() -const { modelValue: file } = defineModel<{ +const { modelValue: file } = defineModels<{ modelValue: FileWithHandle | null }>() diff --git a/components/common/CommonRadio.vue b/components/common/CommonRadio.vue index 5f0c175a..c5328ad1 100644 --- a/components/common/CommonRadio.vue +++ b/components/common/CommonRadio.vue @@ -4,7 +4,7 @@ defineProps<{ value: any hover?: boolean }>() -const { modelValue } = defineModel<{ +const { modelValue } = defineModels<{ modelValue: any }>() diff --git a/components/common/CommonTabs.vue b/components/common/CommonTabs.vue index a2a0e703..bf720dba 100644 --- a/components/common/CommonTabs.vue +++ b/components/common/CommonTabs.vue @@ -8,7 +8,7 @@ const { options, command } = defineProps<{ command?: boolean }>() -const { modelValue } = defineModel<{ +const { modelValue } = defineModels<{ modelValue: string }>() diff --git a/components/list/ListEntry.vue b/components/list/ListEntry.vue index 97ec6dcb..2aef27b6 100644 --- a/components/list/ListEntry.vue +++ b/components/list/ListEntry.vue @@ -6,7 +6,7 @@ const emit = defineEmits<{ (e: 'listUpdated', list: mastodon.v1.List): void (e: 'listRemoved', id: string): void }>() -const { list } = defineModel<{ +const { list } = defineModels<{ list: mastodon.v1.List }>() diff --git a/components/modal/ModalDialog.vue b/components/modal/ModalDialog.vue index 6cc998f3..675bc330 100644 --- a/components/modal/ModalDialog.vue +++ b/components/modal/ModalDialog.vue @@ -48,7 +48,7 @@ const emit = defineEmits<{ (event: 'close',): void }>() -const { modelValue: visible } = defineModel<{ +const { modelValue: visible } = defineModels<{ /** v-model dislog visibility */ modelValue: boolean }>() diff --git a/components/modal/ModalMediaPreviewCarousel.vue b/components/modal/ModalMediaPreviewCarousel.vue index d7dcc357..5c51b70c 100644 --- a/components/modal/ModalMediaPreviewCarousel.vue +++ b/components/modal/ModalMediaPreviewCarousel.vue @@ -14,7 +14,7 @@ const emit = defineEmits<{ (event: 'close'): void }>() -const { modelValue } = defineModel<{ +const { modelValue } = defineModels<{ modelValue: number }>() diff --git a/components/nav/NavBottomMoreMenu.vue b/components/nav/NavBottomMoreMenu.vue index 5cb3321d..b085b14a 100644 --- a/components/nav/NavBottomMoreMenu.vue +++ b/components/nav/NavBottomMoreMenu.vue @@ -1,5 +1,5 @@ diff --git a/components/publish/PublishLanguagePicker.vue b/components/publish/PublishLanguagePicker.vue index c8827d45..cf92aa7a 100644 --- a/components/publish/PublishLanguagePicker.vue +++ b/components/publish/PublishLanguagePicker.vue @@ -1,7 +1,7 @@