|
|
|
@ -63,7 +63,7 @@ useSelectedCellKeyupListener(active, (e) => {
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<div |
|
|
|
|
class="flex cursor-pointer" |
|
|
|
|
class="flex cursor-pointer w-full h-full" |
|
|
|
|
:class="{ |
|
|
|
|
'justify-center': !isForm, |
|
|
|
|
'w-full': isForm, |
|
|
|
@ -72,7 +72,7 @@ useSelectedCellKeyupListener(active, (e) => {
|
|
|
|
|
}" |
|
|
|
|
@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"> |
|
|
|
|
<component |
|
|
|
|
:is="getMdiIcon(vModel ? checkboxMeta.icon.checked : checkboxMeta.icon.unchecked)" |
|
|
|
|