|
|
@ -108,7 +108,7 @@ const onConfirmDeleteRowClick = async () => { |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
<div class="text-center w-full">{{ $t('general.reload') }}</div> |
|
|
|
<div class="text-center w-full">{{ $t('general.reload') }}</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<mdi-reload v-if="!isNew" class="cursor-pointer select-none text-gray-500 mx-1 min-w-4" @click="loadRow" /> |
|
|
|
<mdi-reload v-if="!isNew" class="nc-icon-transition cursor-pointer select-none text-gray-500 mx-1 min-w-4" @click="loadRow" /> |
|
|
|
</a-tooltip> |
|
|
|
</a-tooltip> |
|
|
|
<a-tooltip placement="bottom"> |
|
|
|
<a-tooltip placement="bottom"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
@ -117,7 +117,7 @@ const onConfirmDeleteRowClick = async () => { |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<mdi-link |
|
|
|
<mdi-link |
|
|
|
v-if="!isNew" |
|
|
|
v-if="!isNew" |
|
|
|
class="cursor-pointer select-none text-gray-500 mx-1 nc-copy-row-url min-w-4" |
|
|
|
class="nc-icon-transition cursor-pointer select-none text-gray-500 mx-1 nc-copy-row-url min-w-4" |
|
|
|
@click="copyRecordUrl" |
|
|
|
@click="copyRecordUrl" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-tooltip> |
|
|
|
</a-tooltip> |
|
|
@ -130,7 +130,7 @@ const onConfirmDeleteRowClick = async () => { |
|
|
|
<MdiCommentTextOutline |
|
|
|
<MdiCommentTextOutline |
|
|
|
v-if="isUIAllowed('rowComments') && !isNew" |
|
|
|
v-if="isUIAllowed('rowComments') && !isNew" |
|
|
|
v-e="['c:row-expand:comment-toggle']" |
|
|
|
v-e="['c:row-expand:comment-toggle']" |
|
|
|
class="cursor-pointer select-none nc-toggle-comments text-gray-500 mx-1 min-w-4" |
|
|
|
class="nc-icon-transition cursor-pointer select-none nc-toggle-comments text-gray-500 mx-1 min-w-4" |
|
|
|
@click="commentsDrawer = !commentsDrawer" |
|
|
|
@click="commentsDrawer = !commentsDrawer" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-tooltip> |
|
|
|
</a-tooltip> |
|
|
@ -143,7 +143,7 @@ const onConfirmDeleteRowClick = async () => { |
|
|
|
<MdiContentCopy |
|
|
|
<MdiContentCopy |
|
|
|
v-if="isUIAllowed('xcDatatableEditable') && !isNew" |
|
|
|
v-if="isUIAllowed('xcDatatableEditable') && !isNew" |
|
|
|
v-e="['c:row-expand:duplicate']" |
|
|
|
v-e="['c:row-expand:duplicate']" |
|
|
|
class="cursor-pointer select-none nc-duplicate-row text-gray-500 mx-1 min-w-4" |
|
|
|
class="nc-icon-transition cursor-pointer select-none nc-duplicate-row text-gray-500 mx-1 min-w-4" |
|
|
|
@click="!isNew && emit('duplicateRow')" |
|
|
|
@click="!isNew && emit('duplicateRow')" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-tooltip> |
|
|
|
</a-tooltip> |
|
|
@ -156,7 +156,7 @@ const onConfirmDeleteRowClick = async () => { |
|
|
|
<MdiDeleteOutline |
|
|
|
<MdiDeleteOutline |
|
|
|
v-if="isUIAllowed('xcDatatableEditable') && !isNew" |
|
|
|
v-if="isUIAllowed('xcDatatableEditable') && !isNew" |
|
|
|
v-e="['c:row-expand:delete']" |
|
|
|
v-e="['c:row-expand:delete']" |
|
|
|
class="cursor-pointer select-none nc-delete-row text-gray-500 mx-1 min-w-4" |
|
|
|
class="nc-icon-transition cursor-pointer select-none nc-delete-row text-gray-500 mx-1 min-w-4" |
|
|
|
@click="!isNew && onDeleteRowClick()" |
|
|
|
@click="!isNew && onDeleteRowClick()" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-tooltip> |
|
|
|
</a-tooltip> |
|
|
@ -196,7 +196,7 @@ const onConfirmDeleteRowClick = async () => { |
|
|
|
<div class="text-center w-full">{{ $t('general.close') }}</div> |
|
|
|
<div class="text-center w-full">{{ $t('general.close') }}</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<MdiCloseCircleOutline |
|
|
|
<MdiCloseCircleOutline |
|
|
|
class="cursor-pointer select-none nc-toggle-comments text-gray-500 mx-1 min-w-4" |
|
|
|
class="nc-icon-transition cursor-pointer select-none nc-toggle-comments text-gray-500 mx-1 min-w-4" |
|
|
|
@click="emit('cancel')" |
|
|
|
@click="emit('cancel')" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-tooltip> |
|
|
|
</a-tooltip> |
|
|
@ -206,3 +206,9 @@ const onConfirmDeleteRowClick = async () => { |
|
|
|
</a-modal> |
|
|
|
</a-modal> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped> |
|
|
|
|
|
|
|
:deep(svg) { |
|
|
|
|
|
|
|
@apply outline-none; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|