|
|
|
@ -2,13 +2,13 @@
|
|
|
|
|
import MdiCloseThickIcon from '~icons/mdi/close-thick' |
|
|
|
|
|
|
|
|
|
interface Props { |
|
|
|
|
modelValue: string | number | boolean |
|
|
|
|
value: string | number | boolean |
|
|
|
|
active: boolean |
|
|
|
|
item: any |
|
|
|
|
readonly: boolean |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const { modelValue, active, item, readonly } = defineProps<Props>() |
|
|
|
|
const { value, active, item, readonly } = defineProps<Props>() |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
@ -16,7 +16,7 @@ const { modelValue, active, item, readonly } = defineProps<Props>()
|
|
|
|
|
<!-- |
|
|
|
|
:color="isDark ? '' : 'primary lighten-5'" |
|
|
|
|
@click="!readonly && active && $emit('edit', item)" --> |
|
|
|
|
<span class="name" :title="modelValue">{{ modelValue }}</span> |
|
|
|
|
<span class="name" :title="value">{{ value }}</span> |
|
|
|
|
|
|
|
|
|
<!-- && _isUIAllowed('xcDatatableEditable') --> |
|
|
|
|
<div v-show="active" v-if="!readonly" class="mr-n1 ml-2"> |
|
|
|
|