|
|
|
@ -1247,7 +1247,7 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
|
|
|
|
|
<template #title> |
|
|
|
|
<div class="flex flex-row items-center py-3"> |
|
|
|
|
<MdiTableColumnPlusAfter class="flex h-[1rem] text-gray-500" /> |
|
|
|
|
<div class="text-xs pl-2">Predict Columns</div> |
|
|
|
|
<div class="text-xs pl-2">{{ $t('activity.predictColumns') }}</div> |
|
|
|
|
<MdiChevronRight class="text-gray-500 ml-2" /> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
@ -1276,14 +1276,14 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
|
|
|
|
|
<div class="flex flex-row items-center py-3" @click="predictNextColumn"> |
|
|
|
|
<MdiReload v-if="predictingNextColumn" class="animate-infinite animate-spin" /> |
|
|
|
|
<MdiTableColumnPlusAfter v-else class="flex h-[1rem] text-gray-500" /> |
|
|
|
|
<div class="text-xs pl-2">Predict Columns</div> |
|
|
|
|
<div class="text-xs pl-2">{{ $t('activity.predictColumns') }}</div> |
|
|
|
|
</div> |
|
|
|
|
</NcMenuItem> |
|
|
|
|
<a-sub-menu v-if="predictedNextFormulas" key="predict-formula"> |
|
|
|
|
<template #title> |
|
|
|
|
<div class="flex flex-row items-center py-3"> |
|
|
|
|
<MdiCalculatorVariant class="flex h-[1rem] text-gray-500" /> |
|
|
|
|
<div class="text-xs pl-2">Predict Formulas</div> |
|
|
|
|
<div class="text-xs pl-2">{{ $t('activity.predictFormulas') }}</div> |
|
|
|
|
<MdiChevronRight class="text-gray-500 ml-2" /> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
@ -1306,7 +1306,7 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
|
|
|
|
|
<div class="flex flex-row items-center py-3" @click="predictNextFormulas"> |
|
|
|
|
<MdiReload v-if="predictingNextFormulas" class="animate-infinite animate-spin" /> |
|
|
|
|
<MdiCalculatorVariant v-else class="flex h-[1rem] text-gray-500" /> |
|
|
|
|
<div class="text-xs pl-2">Predict Formulas</div> |
|
|
|
|
<div class="text-xs pl-2">{{ $t('activity.predictFormulas') }}</div> |
|
|
|
|
</div> |
|
|
|
|
</NcMenuItem> |
|
|
|
|
</NcMenu> |
|
|
|
@ -1513,8 +1513,8 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
|
|
|
|
|
@click="emits('bulkUpdateDlg')" |
|
|
|
|
> |
|
|
|
|
<component :is="iconMap.edit" /> |
|
|
|
|
<!-- TODO i18n --> |
|
|
|
|
Update Selected Rows |
|
|
|
|
|
|
|
|
|
{{ $t('title.updateSelectedRows') }} |
|
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
|
|
<NcMenuItem |
|
|
|
@ -1575,7 +1575,8 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
|
|
|
|
|
@click="clearSelectedRangeOfCells()" |
|
|
|
|
> |
|
|
|
|
<GeneralIcon icon="closeBox" class="text-gray-500" /> |
|
|
|
|
Clear |
|
|
|
|
|
|
|
|
|
{{ $t('general.clear') }} |
|
|
|
|
</NcMenuItem> |
|
|
|
|
<NcDivider v-if="!(!contextMenuClosing && !contextMenuTarget && data.some((r) => r.rowMeta.selected))" /> |
|
|
|
|
<NcMenuItem |
|
|
|
@ -1592,7 +1593,7 @@ const handleCellClick = (event: MouseEvent, row: number, col: number) => {
|
|
|
|
|
<NcMenuItem v-e="['a:row:delete']" class="nc-project-menu-item text-red-600" @click="deleteSelectedRangeOfRows"> |
|
|
|
|
<GeneralIcon icon="delete" class="text-gray-500 text-error" /> |
|
|
|
|
<!-- Delete Rows --> |
|
|
|
|
Delete rows |
|
|
|
|
{{ $t('activity.deleteRows') }} |
|
|
|
|
</NcMenuItem> |
|
|
|
|
</div> |
|
|
|
|
</NcMenu> |
|
|
|
|