test web push
Main daploy / deploy (push) Successful in 45s

This commit is contained in:
2024-11-21 16:11:23 +02:00
parent 14e8a349e6
commit 75be87c144
14 changed files with 438 additions and 63 deletions
@@ -0,0 +1,23 @@
<template>
<div class="flex items-center gap-2">
<RadioButton
v-model="model"
:inputId="method"
name="delivery"
:value="method"
@change="$emit('change', $event)"
/>
<label :for="method">{{ label }}</label>
</div>
</template>
<script setup lang="ts">
import type { QRCodeDocument } from '@/types/DBDocumentTypes'
import type { DeliveryOption } from '@/constants/deliveryOptions'
defineProps<{ label: DeliveryOption['label']; method: DeliveryOption['method'] }>()
defineEmits<{
(e: 'change', value: Event): void
}>()
const model = defineModel<null | QRCodeDocument['messageDeliveryMethod']>()
</script>