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<{
|
defineEmits<{
|
||||||
deleted: void
|
deleted: []
|
||||||
movedUp: void
|
movedUp: []
|
||||||
movedDown: void
|
movedDown: []
|
||||||
}>()
|
}>()
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
import AppBadge from './common/AppBadge.vue'
|
import AppBadge from './common/AppBadge.vue'
|
||||||
|
|
||||||
defineProps<{ tag: string; deletable?: boolean }>()
|
defineProps<{ tag: string; deletable?: boolean }>()
|
||||||
defineEmits<{ deleted: void }>()
|
defineEmits<{ deleted: [] }>()
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<AppBadge>
|
<AppBadge>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import type { TransactionVendor } from '@/api/transaction'
|
||||||
import AppButton from './common/AppButton.vue'
|
import AppButton from './common/AppButton.vue'
|
||||||
|
|
||||||
defineProps<{ vendor: TransactionVendor }>()
|
defineProps<{ vendor: TransactionVendor }>()
|
||||||
defineEmits<{ edit: void; delete: void }>()
|
defineEmits<{ edit: []; delete: [] }>()
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="vendor-card">
|
<div class="vendor-card">
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ const route = useRoute()
|
||||||
const api = new AttachmentApiClient(route)
|
const api = new AttachmentApiClient(route)
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
const props = defineProps<{ attachment: AttachmentInfo; disabled?: boolean }>()
|
const props = defineProps<{ attachment: AttachmentInfo; disabled?: boolean }>()
|
||||||
defineEmits<{ deleted: void }>()
|
defineEmits<{ deleted: [] }>()
|
||||||
const srcUrl: Ref<string | null> = computed(() => {
|
const srcUrl: Ref<string | null> = computed(() => {
|
||||||
if (props.attachment.file !== undefined) {
|
if (props.attachment.file !== undefined) {
|
||||||
return URL.createObjectURL(props.attachment.file)
|
return URL.createObjectURL(props.attachment.file)
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
defineEmits<{ submit: void }>()
|
defineEmits<{ submit: [] }>()
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<form @submit.prevent="(e) => $emit('submit')">
|
<form @submit.prevent="$emit('submit')">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</form>
|
</form>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import AppButton from '../AppButton.vue'
|
import AppButton from '../AppButton.vue'
|
||||||
|
|
||||||
defineEmits<{ cancel: void }>()
|
defineEmits<{ cancel: [] }>()
|
||||||
defineProps<{ submitText?: string; cancelText?: string; disabled?: boolean }>()
|
defineProps<{ submitText?: string; cancelText?: string; disabled?: boolean }>()
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue