chore: add some types (#1790)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1790 Reviewed-by: konrad <k@knt.li> Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
656c020125
commit
53c669b108
4 changed files with 5 additions and 1 deletions
|
@ -43,6 +43,7 @@ const props = defineProps({
|
||||||
default: 'primary',
|
default: 'primary',
|
||||||
},
|
},
|
||||||
icon: {
|
icon: {
|
||||||
|
type: String,
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
loading: {
|
loading: {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="color-picker-container">
|
<div class="color-picker-container">
|
||||||
<datalist :id="colorListID">
|
<datalist :id="colorListID">
|
||||||
<option v-for="color in defaultColors" :key="color" :value="color" />
|
<option v-for="defaultColor in defaultColors" :key="defaultColor" :value="defaultColor" />
|
||||||
</datalist>
|
</datalist>
|
||||||
|
|
||||||
<div class="picker">
|
<div class="picker">
|
||||||
|
@ -60,6 +60,7 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
modelValue: {
|
modelValue: {
|
||||||
|
type: String,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
menuPosition: {
|
menuPosition: {
|
||||||
|
|
|
@ -60,6 +60,7 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
disabled: {
|
disabled: {
|
||||||
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -72,6 +72,7 @@ export default defineComponent({
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
disabled: {
|
disabled: {
|
||||||
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue