feat: add Table component (#237)

This commit is contained in:
Benjamin Canac
2023-05-30 12:13:57 +02:00
committed by GitHub
parent 4a99d6a7bb
commit cce000ab2b
24 changed files with 1087 additions and 6 deletions

View File

@@ -8,6 +8,8 @@
:required="required"
:value="value"
:disabled="disabled"
:checked="checked"
:indeterminate="indeterminate"
type="checkbox"
:class="[ui.base, ui.custom]"
@focus="$emit('focus', $event)"
@@ -40,7 +42,7 @@ import appConfig from '#build/app.config'
export default defineComponent({
props: {
value: {
type: [String, Number, Boolean],
type: [String, Number, Boolean, Object],
default: null
},
modelValue: {
@@ -55,6 +57,14 @@ export default defineComponent({
type: Boolean,
default: false
},
checked: {
type: Boolean,
default: false
},
indeterminate: {
type: Boolean,
default: false
},
help: {
type: String,
default: null