chore: upgrade to VueUse v10

This commit is contained in:
Anthony Fu 2023-05-02 01:58:55 +02:00
parent 076c47b7b0
commit 61526df93f
8 changed files with 106 additions and 61 deletions

View file

@ -1,5 +1,4 @@
<script setup lang="ts"> <script setup lang="ts">
import { SwipeDirection } from '@vueuse/core'
import { useGesture } from '@vueuse/gesture' import { useGesture } from '@vueuse/gesture'
import type { PermissiveMotionProperties } from '@vueuse/motion' import type { PermissiveMotionProperties } from '@vueuse/motion'
import { useReducedMotion } from '@vueuse/motion' import { useReducedMotion } from '@vueuse/motion'
@ -45,19 +44,19 @@ const { isSwiping, lengthX, lengthY, direction } = useSwipe(target, {
passive: false, passive: false,
onSwipeEnd(e, direction) { onSwipeEnd(e, direction) {
// eslint-disable-next-line @typescript-eslint/no-use-before-define // eslint-disable-next-line @typescript-eslint/no-use-before-define
if (direction === SwipeDirection.RIGHT && Math.abs(distanceX.value) > threshold) { if (direction === 'right' && Math.abs(distanceX.value) > threshold) {
modelValue.value = Math.max(0, modelValue.value - 1) modelValue.value = Math.max(0, modelValue.value - 1)
resetZoom() resetZoom()
} }
// eslint-disable-next-line @typescript-eslint/no-use-before-define // eslint-disable-next-line @typescript-eslint/no-use-before-define
if (direction === SwipeDirection.LEFT && Math.abs(distanceX.value) > threshold) { if (direction === 'left' && Math.abs(distanceX.value) > threshold) {
modelValue.value = Math.min(media.length - 1, modelValue.value + 1) modelValue.value = Math.min(media.length - 1, modelValue.value + 1)
resetZoom() resetZoom()
} }
// eslint-disable-next-line @typescript-eslint/no-use-before-define // eslint-disable-next-line @typescript-eslint/no-use-before-define
if (direction === SwipeDirection.UP && Math.abs(distanceY.value) > threshold) if (direction === 'up' && Math.abs(distanceY.value) > threshold)
emit('close') emit('close')
}, },
}) })
@ -81,14 +80,14 @@ const distanceX = computed(() => {
if (width.value === 0) if (width.value === 0)
return 0 return 0
if (!isSwiping.value || (direction.value !== SwipeDirection.LEFT && direction.value !== SwipeDirection.RIGHT)) if (!isSwiping.value || (direction.value !== 'left' && direction.value !== 'right'))
return modelValue.value * 100 * -1 return modelValue.value * 100 * -1
return (lengthX.value / width.value) * 100 * -1 + (modelValue.value * 100) * -1 return (lengthX.value / width.value) * 100 * -1 + (modelValue.value * 100) * -1
}) })
const distanceY = computed(() => { const distanceY = computed(() => {
if (height.value === 0 || !isSwiping.value || direction.value !== SwipeDirection.UP) if (height.value === 0 || !isSwiping.value || direction.value !== 'up')
return 0 return 0
return (lengthY.value / height.value) * 100 * -1 return (lengthY.value / height.value) * 100 * -1

View file

@ -1,4 +1,4 @@
import type { MaybeComputedRef, MaybeRef, UseTimeAgoOptions } from '@vueuse/core' import type { MaybeRef, MaybeRefOrGetter, UseTimeAgoOptions } from '@vueuse/core'
const formatter = Intl.NumberFormat() const formatter = Intl.NumberFormat()
@ -29,7 +29,7 @@ export function useHumanReadableNumber() {
} }
} }
export function useFormattedDateTime(value: MaybeComputedRef<string | number | Date | undefined | null>, export function useFormattedDateTime(value: MaybeRefOrGetter<string | number | Date | undefined | null>,
options: Intl.DateTimeFormatOptions = { dateStyle: 'long', timeStyle: 'medium' }) { options: Intl.DateTimeFormatOptions = { dateStyle: 'long', timeStyle: 'medium' }) {
const { locale } = useI18n() const { locale } = useI18n()
const formatter = $computed(() => Intl.DateTimeFormat(locale.value, options)) const formatter = $computed(() => Intl.DateTimeFormat(locale.value, options))

View file

@ -1,4 +1,4 @@
import type { MaybeComputedRef, RemovableRef } from '@vueuse/core' import type { MaybeRefOrGetter, RemovableRef } from '@vueuse/core'
import type { Ref } from 'vue' import type { Ref } from 'vue'
import type { UseIDBOptions } from '@vueuse/integrations/useIDBKeyval' import type { UseIDBOptions } from '@vueuse/integrations/useIDBKeyval'
import { del, get, set, update } from '~/utils/elk-idb' import { del, get, set, update } from '~/utils/elk-idb'
@ -7,7 +7,7 @@ const isIDBSupported = !process.test && typeof indexedDB !== 'undefined'
export async function useAsyncIDBKeyval<T>( export async function useAsyncIDBKeyval<T>(
key: IDBValidKey, key: IDBValidKey,
initialValue: MaybeComputedRef<T>, initialValue: MaybeRefOrGetter<T>,
options: UseIDBOptions = {}, options: UseIDBOptions = {},
): Promise<RemovableRef<T>> { ): Promise<RemovableRef<T>> {
const { const {

View file

@ -1,8 +1,8 @@
import type { MaybeComputedRef } from '@vueuse/core' import type { MaybeRefOrGetter } from '@vueuse/core'
import type { Paginator, mastodon } from 'masto' import type { Paginator, mastodon } from 'masto'
import type { RouteLocation } from 'vue-router' import type { RouteLocation } from 'vue-router'
export type UseSearchOptions = MaybeComputedRef< export type UseSearchOptions = MaybeRefOrGetter<
Partial<Omit<mastodon.v1.SearchParams, keyof mastodon.DefaultPaginationParams | 'q'>> Partial<Omit<mastodon.v1.SearchParams, keyof mastodon.DefaultPaginationParams | 'q'>>
> >
@ -20,7 +20,7 @@ export type StatusSearchResult = BuildSearchResult<'status', mastodon.v1.Status>
export type SearchResult = HashTagSearchResult | AccountSearchResult | StatusSearchResult export type SearchResult = HashTagSearchResult | AccountSearchResult | StatusSearchResult
export function useSearch(query: MaybeComputedRef<string>, options: UseSearchOptions = {}) { export function useSearch(query: MaybeRefOrGetter<string>, options: UseSearchOptions = {}) {
const done = ref(false) const done = ref(false)
const { client } = $(useMasto()) const { client } = $(useMasto())
const loading = ref(false) const loading = ref(false)

View file

@ -1,7 +1,7 @@
import { withoutProtocol } from 'ufo' import { withoutProtocol } from 'ufo'
import type { mastodon } from 'masto' import type { mastodon } from 'masto'
import type { EffectScope, Ref } from 'vue' import type { EffectScope, Ref } from 'vue'
import type { MaybeComputedRef, RemovableRef } from '@vueuse/core' import type { MaybeRefOrGetter, RemovableRef } from '@vueuse/core'
import type { ElkMasto } from './masto/masto' import type { ElkMasto } from './masto/masto'
import type { UserLogin } from '~/types' import type { UserLogin } from '~/types'
import type { Overwrite } from '~/types/utils' import type { Overwrite } from '~/types/utils'
@ -114,7 +114,7 @@ if (process.client) {
export function useUsers() { export function useUsers() {
return users return users
} }
export function useSelfAccount(user: MaybeComputedRef<mastodon.v1.Account | undefined>) { export function useSelfAccount(user: MaybeRefOrGetter<mastodon.v1.Account | undefined>) {
return computed(() => currentUser.value && resolveUnref(user)?.id === currentUser.value.account.id) return computed(() => currentUser.value && resolveUnref(user)?.id === currentUser.value.account.id)
} }

View file

@ -52,9 +52,9 @@ export function useHydratedHead<T extends SchemaAugmentations>(input: UseHeadInp
(input as any).title = () => isHydrated.value ? typeof title === 'function' ? title() : title : '' (input as any).title = () => isHydrated.value ? typeof title === 'function' ? title() : title : ''
} }
} }
return useHead(() => { return useHead((() => {
if (!isHydrated.value) if (!isHydrated.value)
return {} return {}
return resolveUnref(input) return resolveUnref(input)
}, options) }) as UseHeadInput<T>, options)
} }

View file

@ -51,12 +51,12 @@
"@tiptap/vue-3": "2.0.3", "@tiptap/vue-3": "2.0.3",
"@unocss/nuxt": "^0.51.4", "@unocss/nuxt": "^0.51.4",
"@vue-macros/nuxt": "^1.2.8", "@vue-macros/nuxt": "^1.2.8",
"@vueuse/core": "^9.13.0", "@vueuse/core": "^10.1.0",
"@vueuse/gesture": "2.0.0-beta.1", "@vueuse/gesture": "2.0.0-beta.1",
"@vueuse/integrations": "^9.13.0", "@vueuse/integrations": "^10.1.0",
"@vueuse/math": "^9.13.0", "@vueuse/math": "^10.1.0",
"@vueuse/motion": "2.0.0-beta.12", "@vueuse/motion": "2.0.0-beta.12",
"@vueuse/nuxt": "^9.13.0", "@vueuse/nuxt": "^10.1.0",
"blurhash": "^2.0.5", "blurhash": "^2.0.5",
"browser-fs-access": "^0.33.0", "browser-fs-access": "^0.33.0",
"chroma-js": "^2.4.2", "chroma-js": "^2.4.2",

View file

@ -77,25 +77,25 @@ importers:
version: 0.51.4(postcss@8.4.23)(rollup@2.79.1)(vite@4.3.1)(webpack@5.78.0) version: 0.51.4(postcss@8.4.23)(rollup@2.79.1)(vite@4.3.1)(webpack@5.78.0)
'@vue-macros/nuxt': '@vue-macros/nuxt':
specifier: ^1.2.8 specifier: ^1.2.8
version: 1.2.8(@vue-macros/reactivity-transform@0.3.4)(@vueuse/core@9.13.0)(nuxt@3.4.2)(rollup@2.79.1)(vite@4.3.1)(vue-tsc@1.2.0)(vue@3.2.45)(webpack@5.78.0) version: 1.2.8(@vue-macros/reactivity-transform@0.3.4)(@vueuse/core@10.1.0)(nuxt@3.4.2)(rollup@2.79.1)(vite@4.3.1)(vue-tsc@1.2.0)(vue@3.2.45)(webpack@5.78.0)
'@vueuse/core': '@vueuse/core':
specifier: ^9.13.0 specifier: ^10.1.0
version: 9.13.0(vue@3.2.45) version: 10.1.0(vue@3.2.45)
'@vueuse/gesture': '@vueuse/gesture':
specifier: 2.0.0-beta.1 specifier: 2.0.0-beta.1
version: 2.0.0-beta.1(vue@3.2.45) version: 2.0.0-beta.1(vue@3.2.45)
'@vueuse/integrations': '@vueuse/integrations':
specifier: ^9.13.0 specifier: ^10.1.0
version: 9.13.0(focus-trap@7.4.0)(fuse.js@6.6.2)(idb-keyval@6.2.0)(vue@3.2.45) version: 10.1.0(focus-trap@7.4.0)(fuse.js@6.6.2)(idb-keyval@6.2.0)(vue@3.2.45)
'@vueuse/math': '@vueuse/math':
specifier: ^9.13.0 specifier: ^10.1.0
version: 9.13.0(vue@3.2.45) version: 10.1.0(vue@3.2.45)
'@vueuse/motion': '@vueuse/motion':
specifier: 2.0.0-beta.12 specifier: 2.0.0-beta.12
version: 2.0.0-beta.12(vue@3.2.45) version: 2.0.0-beta.12(vue@3.2.45)
'@vueuse/nuxt': '@vueuse/nuxt':
specifier: ^9.13.0 specifier: ^10.1.0
version: 9.13.0(nuxt@3.4.2)(rollup@2.79.1)(vue@3.2.45) version: 10.1.0(nuxt@3.4.2)(rollup@2.79.1)(vue@3.2.45)
blurhash: blurhash:
specifier: ^2.0.5 specifier: ^2.0.5
version: 2.0.5 version: 2.0.5
@ -185,7 +185,7 @@ importers:
version: 5.0.1 version: 5.0.1
tauri-plugin-log-api: tauri-plugin-log-api:
specifier: github:tauri-apps/tauri-plugin-log specifier: github:tauri-apps/tauri-plugin-log
version: github.com/tauri-apps/tauri-plugin-log/782a97aeb30cf0f54355d04e6026842fa420bd83 version: github.com/tauri-apps/tauri-plugin-log/be811332676ff73e1e891f31ce3de8d447fdf07e
tauri-plugin-store-api: tauri-plugin-store-api:
specifier: github:tauri-apps/tauri-plugin-store specifier: github:tauri-apps/tauri-plugin-store
version: github.com/tauri-apps/tauri-plugin-store/f4ef29684e4a32eddf51befaae98a5e498df8574 version: github.com/tauri-apps/tauri-plugin-store/f4ef29684e4a32eddf51befaae98a5e498df8574
@ -209,7 +209,7 @@ importers:
version: 3.0.6(rollup@2.79.1) version: 3.0.6(rollup@2.79.1)
unplugin-auto-import: unplugin-auto-import:
specifier: ^0.15.2 specifier: ^0.15.2
version: 0.15.2(@vueuse/core@9.13.0)(rollup@2.79.1) version: 0.15.2(@vueuse/core@10.1.0)(rollup@2.79.1)
vite-plugin-pwa: vite-plugin-pwa:
specifier: ^0.14.7 specifier: ^0.14.7
version: 0.14.7(vite@4.3.1)(workbox-build@6.5.4)(workbox-window@6.5.4) version: 0.14.7(vite@4.3.1)(workbox-build@6.5.4)(workbox-window@6.5.4)
@ -4327,7 +4327,7 @@ packages:
- rollup - rollup
dev: false dev: false
/@vue-macros/define-models@1.0.1(@vueuse/core@9.13.0)(rollup@2.79.1)(vue@3.2.45): /@vue-macros/define-models@1.0.1(@vueuse/core@10.1.0)(rollup@2.79.1)(vue@3.2.45):
resolution: {integrity: sha512-/Xs7IE9hMD0939sKuBxTnQDDcjcSug61cnIt+owIB9sWvXYNdagjL5fsvMmR6ErqXqfswbUuhbTtxZeJXpVn/g==} resolution: {integrity: sha512-/Xs7IE9hMD0939sKuBxTnQDDcjcSug61cnIt+owIB9sWvXYNdagjL5fsvMmR6ErqXqfswbUuhbTtxZeJXpVn/g==}
engines: {node: '>=14.19.0'} engines: {node: '>=14.19.0'}
peerDependencies: peerDependencies:
@ -4337,7 +4337,7 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@vue-macros/common': 1.2.0(rollup@2.79.1)(vue@3.2.45) '@vue-macros/common': 1.2.0(rollup@2.79.1)(vue@3.2.45)
'@vueuse/core': 9.13.0(vue@3.2.45) '@vueuse/core': 10.1.0(vue@3.2.45)
ast-walker-scope: 0.4.1 ast-walker-scope: 0.4.1
unplugin: 1.3.1 unplugin: 1.3.1
transitivePeerDependencies: transitivePeerDependencies:
@ -4449,7 +4449,7 @@ packages:
- vue - vue
dev: false dev: false
/@vue-macros/nuxt@1.2.8(@vue-macros/reactivity-transform@0.3.4)(@vueuse/core@9.13.0)(nuxt@3.4.2)(rollup@2.79.1)(vite@4.3.1)(vue-tsc@1.2.0)(vue@3.2.45)(webpack@5.78.0): /@vue-macros/nuxt@1.2.8(@vue-macros/reactivity-transform@0.3.4)(@vueuse/core@10.1.0)(nuxt@3.4.2)(rollup@2.79.1)(vite@4.3.1)(vue-tsc@1.2.0)(vue@3.2.45)(webpack@5.78.0):
resolution: {integrity: sha512-dSM2mIguadR3kZSM0TbhD2fVHk4qld4vAs16rIx0BIvvvnB1060LcHJ8dOxBOY7W49LEZ98tCLDw826EDUzezA==} resolution: {integrity: sha512-dSM2mIguadR3kZSM0TbhD2fVHk4qld4vAs16rIx0BIvvvnB1060LcHJ8dOxBOY7W49LEZ98tCLDw826EDUzezA==}
engines: {node: '>=14.19.0'} engines: {node: '>=14.19.0'}
peerDependencies: peerDependencies:
@ -4460,7 +4460,7 @@ packages:
'@vue-macros/short-vmodel': 1.2.4(rollup@2.79.1)(vue@3.2.45) '@vue-macros/short-vmodel': 1.2.4(rollup@2.79.1)(vue@3.2.45)
'@vue-macros/volar': 0.9.5(@vue-macros/reactivity-transform@0.3.4)(rollup@2.79.1)(vue-tsc@1.2.0)(vue@3.2.45) '@vue-macros/volar': 0.9.5(@vue-macros/reactivity-transform@0.3.4)(rollup@2.79.1)(vue-tsc@1.2.0)(vue@3.2.45)
nuxt: 3.4.2(@types/node@18.15.3)(eslint@8.38.0)(rollup@2.79.1)(typescript@5.0.4)(vue-tsc@1.2.0) nuxt: 3.4.2(@types/node@18.15.3)(eslint@8.38.0)(rollup@2.79.1)(typescript@5.0.4)(vue-tsc@1.2.0)
unplugin-vue-macros: 2.0.0(@vueuse/core@9.13.0)(rollup@2.79.1)(vite@4.3.1)(vue@3.2.45)(webpack@5.78.0) unplugin-vue-macros: 2.0.0(@vueuse/core@10.1.0)(rollup@2.79.1)(vite@4.3.1)(vue@3.2.45)(webpack@5.78.0)
transitivePeerDependencies: transitivePeerDependencies:
- '@vue-macros/reactivity-transform' - '@vue-macros/reactivity-transform'
- '@vueuse/core' - '@vueuse/core'
@ -4789,6 +4789,18 @@ packages:
vue: 3.2.45 vue: 3.2.45
dev: false dev: false
/@vueuse/core@10.1.0(vue@3.2.45):
resolution: {integrity: sha512-3Znoa5m5RO+z4/C9w6DRaKTR3wCVJvD5rav8HTDGsr+7rOZRHtcgFJ8NcCs0ZvIpmev2kExTa311ns5j2RbzDQ==}
dependencies:
'@types/web-bluetooth': 0.0.16
'@vueuse/metadata': 10.1.0
'@vueuse/shared': 10.1.0(vue@3.2.45)
vue-demi: 0.14.0(vue@3.2.45)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
dev: false
/@vueuse/core@8.9.4(vue@3.2.45): /@vueuse/core@8.9.4(vue@3.2.45):
resolution: {integrity: sha512-B/Mdj9TK1peFyWaPof+Zf/mP9XuGAngaJZBwPaXBvU3aCTZlx3ltlrFFFyMV4iGBwsjSCeUCgZrtkEj9dS2Y3Q==} resolution: {integrity: sha512-B/Mdj9TK1peFyWaPof+Zf/mP9XuGAngaJZBwPaXBvU3aCTZlx3ltlrFFFyMV4iGBwsjSCeUCgZrtkEj9dS2Y3Q==}
peerDependencies: peerDependencies:
@ -4804,7 +4816,7 @@ packages:
'@vueuse/metadata': 8.9.4 '@vueuse/metadata': 8.9.4
'@vueuse/shared': 8.9.4(vue@3.2.45) '@vueuse/shared': 8.9.4(vue@3.2.45)
vue: 3.2.45 vue: 3.2.45
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.14.0(vue@3.2.45)
dev: false dev: false
/@vueuse/core@9.13.0(vue@3.2.45): /@vueuse/core@9.13.0(vue@3.2.45):
@ -4813,10 +4825,11 @@ packages:
'@types/web-bluetooth': 0.0.16 '@types/web-bluetooth': 0.0.16
'@vueuse/metadata': 9.13.0 '@vueuse/metadata': 9.13.0
'@vueuse/shared': 9.13.0(vue@3.2.45) '@vueuse/shared': 9.13.0(vue@3.2.45)
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.14.0(vue@3.2.45)
transitivePeerDependencies: transitivePeerDependencies:
- '@vue/composition-api' - '@vue/composition-api'
- vue - vue
dev: true
/@vueuse/gesture@2.0.0-beta.1(vue@3.2.45): /@vueuse/gesture@2.0.0-beta.1(vue@3.2.45):
resolution: {integrity: sha512-HTLibLy3bh6TjRnDAbMAvHSsEmrkRituMj2x+mHwmp1EnM8A8CDRTfNJEr8d/hIairnPPp5Va2KWYVmyP/zvkA==} resolution: {integrity: sha512-HTLibLy3bh6TjRnDAbMAvHSsEmrkRituMj2x+mHwmp1EnM8A8CDRTfNJEr8d/hIairnPPp5Va2KWYVmyP/zvkA==}
@ -4834,8 +4847,8 @@ packages:
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.13.11(vue@3.2.45)
dev: false dev: false
/@vueuse/integrations@9.13.0(focus-trap@7.4.0)(fuse.js@6.6.2)(idb-keyval@6.2.0)(vue@3.2.45): /@vueuse/integrations@10.1.0(focus-trap@7.4.0)(fuse.js@6.6.2)(idb-keyval@6.2.0)(vue@3.2.45):
resolution: {integrity: sha512-I1kX/tsfcvWWLZD7HZaP0LsSfchK13YxReLfharXhk72SFXp87doLbRaTfIF5w8m/gr/vPtcNyQPAXW7Ubpuww==} resolution: {integrity: sha512-eSGdRYSFIspSYQIC0hzivi95Jv/BEH9Z47BrpNNKZi6k/LcHDAANmiNeiPN1BxlmO2PovG8dN9Et/AZC4WZ2YQ==}
peerDependencies: peerDependencies:
async-validator: '*' async-validator: '*'
axios: '*' axios: '*'
@ -4847,6 +4860,7 @@ packages:
jwt-decode: '*' jwt-decode: '*'
nprogress: '*' nprogress: '*'
qrcode: '*' qrcode: '*'
sortablejs: '*'
universal-cookie: '*' universal-cookie: '*'
peerDependenciesMeta: peerDependenciesMeta:
async-validator: async-validator:
@ -4869,36 +4883,43 @@ packages:
optional: true optional: true
qrcode: qrcode:
optional: true optional: true
sortablejs:
optional: true
universal-cookie: universal-cookie:
optional: true optional: true
dependencies: dependencies:
'@vueuse/core': 9.13.0(vue@3.2.45) '@vueuse/core': 10.1.0(vue@3.2.45)
'@vueuse/shared': 9.13.0(vue@3.2.45) '@vueuse/shared': 10.1.0(vue@3.2.45)
focus-trap: 7.4.0 focus-trap: 7.4.0
fuse.js: 6.6.2 fuse.js: 6.6.2
idb-keyval: 6.2.0 idb-keyval: 6.2.0
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.14.0(vue@3.2.45)
transitivePeerDependencies: transitivePeerDependencies:
- '@vue/composition-api' - '@vue/composition-api'
- vue - vue
dev: false dev: false
/@vueuse/math@9.13.0(vue@3.2.45): /@vueuse/math@10.1.0(vue@3.2.45):
resolution: {integrity: sha512-FE2n8J1AfBb4dNvNyE6wS+l87XDcC/y3/037AmrwonsGD5QwJJl6rGr57idszs3PXTuEYcEkDysHLxstSxbQEg==} resolution: {integrity: sha512-CXrrJl7AJbB41+gCnQSx1fclvxf1SwKTh4LVnwiUleyYheHJh1pp2XmH22UEXanY4FCxtdKTkYyRBuYhmyw1kw==}
dependencies: dependencies:
'@vueuse/shared': 9.13.0(vue@3.2.45) '@vueuse/shared': 10.1.0(vue@3.2.45)
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.14.0(vue@3.2.45)
transitivePeerDependencies: transitivePeerDependencies:
- '@vue/composition-api' - '@vue/composition-api'
- vue - vue
dev: false dev: false
/@vueuse/metadata@10.1.0:
resolution: {integrity: sha512-cM28HjDEw5FIrPE9rgSPFZvQ0ZYnOLAOr8hl1XM6tFl80U3WAR5ROdnAqiYybniwP5gt9MKKAJAqd/ab2aHkqg==}
dev: false
/@vueuse/metadata@8.9.4: /@vueuse/metadata@8.9.4:
resolution: {integrity: sha512-IwSfzH80bnJMzqhaapqJl9JRIiyQU0zsRGEgnxN6jhq7992cPUJIRfV+JHRIZXjYqbwt07E1gTEp0R0zPJ1aqw==} resolution: {integrity: sha512-IwSfzH80bnJMzqhaapqJl9JRIiyQU0zsRGEgnxN6jhq7992cPUJIRfV+JHRIZXjYqbwt07E1gTEp0R0zPJ1aqw==}
dev: false dev: false
/@vueuse/metadata@9.13.0: /@vueuse/metadata@9.13.0:
resolution: {integrity: sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==} resolution: {integrity: sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==}
dev: true
/@vueuse/motion@2.0.0-beta.12(vue@3.2.45): /@vueuse/motion@2.0.0-beta.12(vue@3.2.45):
resolution: {integrity: sha512-cAZqXexLX6xo+H1N1Mv+wBSSqG4wB+BdjIuHQ50jwlelXCDxSi8gj0K/9nDS+aUZtWh6YMwS6UGCKg58jMVglA==} resolution: {integrity: sha512-cAZqXexLX6xo+H1N1Mv+wBSSqG4wB+BdjIuHQ50jwlelXCDxSi8gj0K/9nDS+aUZtWh6YMwS6UGCKg58jMVglA==}
@ -4918,17 +4939,17 @@ packages:
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.13.11(vue@3.2.45)
dev: false dev: false
/@vueuse/nuxt@9.13.0(nuxt@3.4.2)(rollup@2.79.1)(vue@3.2.45): /@vueuse/nuxt@10.1.0(nuxt@3.4.2)(rollup@2.79.1)(vue@3.2.45):
resolution: {integrity: sha512-JunH/w6nFIwCyaZ0s+pfrYFMfBzGfhkwmFPz7ogHFmb71Ty/5HINrYOAOZCXpN44X6QH6FiJq/wuLLdvYzqFUw==} resolution: {integrity: sha512-p2QfoKs0hMbOz/hzKn8hzQvfFMLnDceRLjtvHFtMgRp8Z0Dckji7KhFwbbrIMCyjpr57HkNB46g42h9K4Sn0lg==}
peerDependencies: peerDependencies:
nuxt: ^3.0.0 nuxt: ^3.0.0
dependencies: dependencies:
'@nuxt/kit': 3.4.2(rollup@2.79.1) '@nuxt/kit': 3.4.2(rollup@2.79.1)
'@vueuse/core': 9.13.0(vue@3.2.45) '@vueuse/core': 10.1.0(vue@3.2.45)
'@vueuse/metadata': 9.13.0 '@vueuse/metadata': 10.1.0
local-pkg: 0.4.3 local-pkg: 0.4.3
nuxt: 3.4.2(@types/node@18.15.3)(eslint@8.38.0)(rollup@2.79.1)(typescript@5.0.4)(vue-tsc@1.2.0) nuxt: 3.4.2(@types/node@18.15.3)(eslint@8.38.0)(rollup@2.79.1)(typescript@5.0.4)(vue-tsc@1.2.0)
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.14.0(vue@3.2.45)
transitivePeerDependencies: transitivePeerDependencies:
- '@vue/composition-api' - '@vue/composition-api'
- rollup - rollup
@ -4946,7 +4967,7 @@ packages:
'@vueuse/metadata': 9.13.0 '@vueuse/metadata': 9.13.0
local-pkg: 0.4.3 local-pkg: 0.4.3
nuxt: 3.4.2(@types/node@18.15.3)(eslint@8.38.0)(rollup@3.20.2)(typescript@5.0.4)(vue-tsc@1.2.0) nuxt: 3.4.2(@types/node@18.15.3)(eslint@8.38.0)(rollup@3.20.2)(typescript@5.0.4)(vue-tsc@1.2.0)
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.14.0(vue@3.2.45)
transitivePeerDependencies: transitivePeerDependencies:
- '@vue/composition-api' - '@vue/composition-api'
- rollup - rollup
@ -4954,6 +4975,15 @@ packages:
- vue - vue
dev: true dev: true
/@vueuse/shared@10.1.0(vue@3.2.45):
resolution: {integrity: sha512-2X52ogu12i9DkKOQ01yeb/BKg9UO87RNnpm5sXkQvyORlbq8ONS5l39MYkjkeVWWjdT0teJru7a2S41dmHmqjQ==}
dependencies:
vue-demi: 0.14.0(vue@3.2.45)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
dev: false
/@vueuse/shared@8.9.4(vue@3.2.45): /@vueuse/shared@8.9.4(vue@3.2.45):
resolution: {integrity: sha512-wt+T30c4K6dGRMVqPddexEVLa28YwxW5OFIPmzUHICjphfAuBFTTdDoyqREZNDOFJZ44ARH1WWQNCUK8koJ+Ag==} resolution: {integrity: sha512-wt+T30c4K6dGRMVqPddexEVLa28YwxW5OFIPmzUHICjphfAuBFTTdDoyqREZNDOFJZ44ARH1WWQNCUK8koJ+Ag==}
peerDependencies: peerDependencies:
@ -4966,16 +4996,17 @@ packages:
optional: true optional: true
dependencies: dependencies:
vue: 3.2.45 vue: 3.2.45
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.14.0(vue@3.2.45)
dev: false dev: false
/@vueuse/shared@9.13.0(vue@3.2.45): /@vueuse/shared@9.13.0(vue@3.2.45):
resolution: {integrity: sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==} resolution: {integrity: sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==}
dependencies: dependencies:
vue-demi: 0.13.11(vue@3.2.45) vue-demi: 0.14.0(vue@3.2.45)
transitivePeerDependencies: transitivePeerDependencies:
- '@vue/composition-api' - '@vue/composition-api'
- vue - vue
dev: true
/@webassemblyjs/ast@1.11.1: /@webassemblyjs/ast@1.11.1:
resolution: {integrity: sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==} resolution: {integrity: sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==}
@ -13009,7 +13040,7 @@ packages:
- vite - vite
dev: false dev: false
/unplugin-auto-import@0.15.2(@vueuse/core@9.13.0)(rollup@2.79.1): /unplugin-auto-import@0.15.2(@vueuse/core@10.1.0)(rollup@2.79.1):
resolution: {integrity: sha512-Wivfu+xccgvEZG8QtZcIvt6napfX9wyOFqM//7FHOtev8+k+dp3ykiqsEl6TODgHmqTTBeQX4Ah1JvRgUNjlkg==} resolution: {integrity: sha512-Wivfu+xccgvEZG8QtZcIvt6napfX9wyOFqM//7FHOtev8+k+dp3ykiqsEl6TODgHmqTTBeQX4Ah1JvRgUNjlkg==}
engines: {node: '>=14'} engines: {node: '>=14'}
peerDependencies: peerDependencies:
@ -13023,7 +13054,7 @@ packages:
dependencies: dependencies:
'@antfu/utils': 0.7.2 '@antfu/utils': 0.7.2
'@rollup/pluginutils': 5.0.2(rollup@2.79.1) '@rollup/pluginutils': 5.0.2(rollup@2.79.1)
'@vueuse/core': 9.13.0(vue@3.2.45) '@vueuse/core': 10.1.0(vue@3.2.45)
local-pkg: 0.4.3 local-pkg: 0.4.3
magic-string: 0.30.0 magic-string: 0.30.0
minimatch: 7.4.3 minimatch: 7.4.3
@ -13070,7 +13101,7 @@ packages:
- vue - vue
dev: false dev: false
/unplugin-vue-macros@2.0.0(@vueuse/core@9.13.0)(rollup@2.79.1)(vite@4.3.1)(vue@3.2.45)(webpack@5.78.0): /unplugin-vue-macros@2.0.0(@vueuse/core@10.1.0)(rollup@2.79.1)(vite@4.3.1)(vue@3.2.45)(webpack@5.78.0):
resolution: {integrity: sha512-9mNroRGPnZVCfvIxf7V+ixBPYvK643xZ2jKSiuDbyc1zv9x3qU9Oq+BpVg4K0Gw/51VzKc3MkWcGkemIB1nMHA==} resolution: {integrity: sha512-9mNroRGPnZVCfvIxf7V+ixBPYvK643xZ2jKSiuDbyc1zv9x3qU9Oq+BpVg4K0Gw/51VzKc3MkWcGkemIB1nMHA==}
engines: {node: '>=14.19.0'} engines: {node: '>=14.19.0'}
peerDependencies: peerDependencies:
@ -13078,7 +13109,7 @@ packages:
dependencies: dependencies:
'@vue-macros/better-define': 1.5.1(rollup@2.79.1)(vue@3.2.45) '@vue-macros/better-define': 1.5.1(rollup@2.79.1)(vue@3.2.45)
'@vue-macros/common': 1.2.0(rollup@2.79.1)(vue@3.2.45) '@vue-macros/common': 1.2.0(rollup@2.79.1)(vue@3.2.45)
'@vue-macros/define-models': 1.0.1(@vueuse/core@9.13.0)(rollup@2.79.1)(vue@3.2.45) '@vue-macros/define-models': 1.0.1(@vueuse/core@10.1.0)(rollup@2.79.1)(vue@3.2.45)
'@vue-macros/define-props': 1.0.3(@vue-macros/reactivity-transform@0.3.4)(rollup@2.79.1)(vue@3.2.45) '@vue-macros/define-props': 1.0.3(@vue-macros/reactivity-transform@0.3.4)(rollup@2.79.1)(vue@3.2.45)
'@vue-macros/define-props-refs': 1.0.0(rollup@2.79.1)(vue@3.2.45) '@vue-macros/define-props-refs': 1.0.0(rollup@2.79.1)(vue@3.2.45)
'@vue-macros/define-render': 1.3.4(rollup@2.79.1)(vue@3.2.45) '@vue-macros/define-render': 1.3.4(rollup@2.79.1)(vue@3.2.45)
@ -13596,6 +13627,21 @@ packages:
optional: true optional: true
dependencies: dependencies:
vue: 3.2.45 vue: 3.2.45
dev: false
/vue-demi@0.14.0(vue@3.2.45):
resolution: {integrity: sha512-gt58r2ogsNQeVoQ3EhoUAvUsH9xviydl0dWJj7dabBC/2L4uBId7ujtCwDRD0JhkGsV1i0CtfLAeyYKBht9oWg==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
peerDependencies:
'@vue/composition-api': ^1.0.0-rc.1
vue: ^3.0.0-0 || ^2.6.0
peerDependenciesMeta:
'@vue/composition-api':
optional: true
dependencies:
vue: 3.2.45
/vue-devtools-stub@0.1.0: /vue-devtools-stub@0.1.0:
resolution: {integrity: sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ==} resolution: {integrity: sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ==}
@ -14227,8 +14273,8 @@ packages:
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
dev: true dev: true
github.com/tauri-apps/tauri-plugin-log/782a97aeb30cf0f54355d04e6026842fa420bd83: github.com/tauri-apps/tauri-plugin-log/be811332676ff73e1e891f31ce3de8d447fdf07e:
resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-log/tar.gz/782a97aeb30cf0f54355d04e6026842fa420bd83} resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-log/tar.gz/be811332676ff73e1e891f31ce3de8d447fdf07e}
name: tauri-plugin-log-api name: tauri-plugin-log-api
version: 0.0.0 version: 0.0.0
dependencies: dependencies: