34 lines
No EOL
685 B
Vue
34 lines
No EOL
685 B
Vue
<script setup lang="ts">
|
|
import {WeekDaysData} from "@models/show/ShowRepetition.ts";
|
|
import type {PropType} from "vue";
|
|
import type {Show} from "@models/show/show.ts";
|
|
|
|
const selectedDays = defineModel()
|
|
|
|
const props = defineProps({
|
|
fixedDay: {
|
|
type: Number,
|
|
required: false,
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<v-card>
|
|
<v-row dense no-gutters>
|
|
<v-col v-for="day in WeekDaysData" :key="day.type"
|
|
cols="12" sm="6" md="4">
|
|
<v-checkbox
|
|
v-model="selectedDays"
|
|
:label="day.dayName"
|
|
:value="day.type"
|
|
:disabled="day.type === props.fixedDay"
|
|
/>
|
|
</v-col>
|
|
</v-row>
|
|
</v-card>
|
|
</template>
|
|
|
|
<style scoped>
|
|
|
|
</style> |