Updated npm, fixed deprecated emit syntax.
Build and Deploy Web App / build-and-deploy (push) Successful in 32s
Details
Build and Deploy Web App / build-and-deploy (push) Successful in 32s
Details
This commit is contained in:
parent
bbc35db2bc
commit
7150b0b259
File diff suppressed because it is too large
Load Diff
|
|
@ -11,9 +11,9 @@ defineProps<{
|
|||
}>()
|
||||
|
||||
defineEmits<{
|
||||
deleted: void
|
||||
movedUp: void
|
||||
movedDown: void
|
||||
deleted: []
|
||||
movedUp: []
|
||||
movedDown: []
|
||||
}>()
|
||||
</script>
|
||||
<template>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
import AppBadge from './common/AppBadge.vue'
|
||||
|
||||
defineProps<{ tag: string; deletable?: boolean }>()
|
||||
defineEmits<{ deleted: void }>()
|
||||
defineEmits<{ deleted: [] }>()
|
||||
</script>
|
||||
<template>
|
||||
<AppBadge>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import type { TransactionVendor } from '@/api/transaction'
|
|||
import AppButton from './common/AppButton.vue'
|
||||
|
||||
defineProps<{ vendor: TransactionVendor }>()
|
||||
defineEmits<{ edit: void; delete: void }>()
|
||||
defineEmits<{ edit: []; delete: [] }>()
|
||||
</script>
|
||||
<template>
|
||||
<div class="vendor-card">
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ const route = useRoute()
|
|||
const api = new AttachmentApiClient(route)
|
||||
const authStore = useAuthStore()
|
||||
const props = defineProps<{ attachment: AttachmentInfo; disabled?: boolean }>()
|
||||
defineEmits<{ deleted: void }>()
|
||||
defineEmits<{ deleted: [] }>()
|
||||
const srcUrl: Ref<string | null> = computed(() => {
|
||||
if (props.attachment.file !== undefined) {
|
||||
return URL.createObjectURL(props.attachment.file)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<script setup lang="ts">
|
||||
defineEmits<{ submit: void }>()
|
||||
defineEmits<{ submit: [] }>()
|
||||
</script>
|
||||
<template>
|
||||
<form @submit.prevent="(e) => $emit('submit')">
|
||||
<form @submit.prevent="$emit('submit')">
|
||||
<slot></slot>
|
||||
</form>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
import AppButton from '../AppButton.vue'
|
||||
|
||||
defineEmits<{ cancel: void }>()
|
||||
defineEmits<{ cancel: [] }>()
|
||||
defineProps<{ submitText?: string; cancelText?: string; disabled?: boolean }>()
|
||||
</script>
|
||||
<template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue