|
|
|
@ -80,7 +80,7 @@ useSelectedCellKeyupListener(active, (e) => {
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<div |
|
|
|
|
class="flex cursor-pointer w-full h-full" |
|
|
|
|
class="flex cursor-pointer w-full h-full items-center" |
|
|
|
|
:class="{ |
|
|
|
|
'justify-center': !isForm || !isGallery, |
|
|
|
|
'w-full flex-start': isForm || isGallery, |
|
|
|
@ -90,7 +90,6 @@ useSelectedCellKeyupListener(active, (e) => {
|
|
|
|
|
@click="onClick(false, $event)" |
|
|
|
|
> |
|
|
|
|
<div class="items-center" :class="{ 'w-full justify-start': isEditColumnMenu || isGallery || isForm }" @click="onClick(true)"> |
|
|
|
|
<div :class="{ 'bg-gray-100 rounded-full ': !vModel }"> |
|
|
|
|
<Transition name="layout" mode="out-in" :duration="100"> |
|
|
|
|
<component |
|
|
|
|
:is="getMdiIcon(vModel ? checkboxMeta.icon.checked : checkboxMeta.icon.unchecked)" |
|
|
|
@ -102,7 +101,6 @@ useSelectedCellKeyupListener(active, (e) => {
|
|
|
|
|
</Transition> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
|