|
|
@ -63,7 +63,7 @@ useSelectedCellKeyupListener(active, (e) => { |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div |
|
|
|
<div |
|
|
|
class="flex cursor-pointer" |
|
|
|
class="flex cursor-pointer w-full h-full" |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
|
'justify-center': !isForm, |
|
|
|
'justify-center': !isForm, |
|
|
|
'w-full': isForm, |
|
|
|
'w-full': isForm, |
|
|
@ -72,7 +72,7 @@ useSelectedCellKeyupListener(active, (e) => { |
|
|
|
}" |
|
|
|
}" |
|
|
|
@click="onClick(false, $event)" |
|
|
|
@click="onClick(false, $event)" |
|
|
|
> |
|
|
|
> |
|
|
|
<div class="px-1 pt-1 rounded-full items-center" :class="{ 'bg-gray-100': !vModel, '!ml-[-8px]': readOnly }"> |
|
|
|
<div class="p-1 rounded-full items-center" :class="{ 'bg-gray-100': !vModel, '!ml-[-8px]': readOnly }"> |
|
|
|
<Transition name="layout" mode="out-in" :duration="100"> |
|
|
|
<Transition name="layout" mode="out-in" :duration="100"> |
|
|
|
<component |
|
|
|
<component |
|
|
|
:is="getMdiIcon(vModel ? checkboxMeta.icon.checked : checkboxMeta.icon.unchecked)" |
|
|
|
:is="getMdiIcon(vModel ? checkboxMeta.icon.checked : checkboxMeta.icon.unchecked)" |
|
|
|