|
|
@ -1804,7 +1804,7 @@ onKeyStroke('ArrowDown', onDown) |
|
|
|
<template #overlay> |
|
|
|
<template #overlay> |
|
|
|
<div class="relative overflow-visible min-h-17 w-10"> |
|
|
|
<div class="relative overflow-visible min-h-17 w-10"> |
|
|
|
<div |
|
|
|
<div |
|
|
|
class="absolute -top-19 flex flex-col h-34.5 w-70 bg-white rounded-lg border-1 border-gray-200 justify-start overflow-hidden" |
|
|
|
class="absolute -top-19 flex flex-col min-h-34.5 w-70 p-1.5 bg-white rounded-lg border-1 border-gray-200 justify-start overflow-hidden" |
|
|
|
style="box-shadow: 0px 4px 6px -2px rgba(0, 0, 0, 0.06), 0px -12px 16px -4px rgba(0, 0, 0, 0.1)" |
|
|
|
style="box-shadow: 0px 4px 6px -2px rgba(0, 0, 0, 0.06), 0px -12px 16px -4px rgba(0, 0, 0, 0.1)" |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
|
'-left-44': !isAddNewRecordGridMode, |
|
|
|
'-left-44': !isAddNewRecordGridMode, |
|
|
@ -1813,7 +1813,7 @@ onKeyStroke('ArrowDown', onDown) |
|
|
|
> |
|
|
|
> |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-e="['c:row:add:grid']" |
|
|
|
v-e="['c:row:add:grid']" |
|
|
|
class="px-4 py-3 flex flex-col select-none gap-y-2 cursor-pointer hover:bg-gray-100 text-gray-600 nc-new-record-with-grid group" |
|
|
|
class="px-4 py-3 flex flex-col select-none gap-y-2 cursor-pointer rounded-md hover:bg-gray-100 text-gray-600 nc-new-record-with-grid group" |
|
|
|
@click="onNewRecordToGridClick" |
|
|
|
@click="onNewRecordToGridClick" |
|
|
|
> |
|
|
|
> |
|
|
|
<div class="flex flex-row items-center justify-between w-full"> |
|
|
|
<div class="flex flex-row items-center justify-between w-full"> |
|
|
@ -1822,14 +1822,14 @@ onKeyStroke('ArrowDown', onDown) |
|
|
|
{{ $t('activity.newRecord') }} - {{ $t('objects.viewType.grid') }} |
|
|
|
{{ $t('activity.newRecord') }} - {{ $t('objects.viewType.grid') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="h-4 w-4 flex flex-row items-center justify-center"> |
|
|
|
<div class="h-4 w-4 flex flex-row items-center justify-center"> |
|
|
|
<GeneralIcon v-if="isAddNewRecordGridMode" icon="check" /> |
|
|
|
<GeneralIcon v-if="isAddNewRecordGridMode" icon="check" class="w-4 h-4 text-primary" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex flex-row text-xs text-gray-400 ml-7.25">{{ $t('labels.addRowGrid') }}</div> |
|
|
|
<div class="flex flex-row text-xs text-gray-400 ml-7.25">{{ $t('labels.addRowGrid') }}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-e="['c:row:add:form']" |
|
|
|
v-e="['c:row:add:form']" |
|
|
|
class="px-4 py-3 flex flex-col select-none gap-y-2 cursor-pointer hover:bg-gray-100 text-gray-600 nc-new-record-with-form group" |
|
|
|
class="px-4 py-3 flex flex-col select-none gap-y-2 cursor-pointer rounded-md hover:bg-gray-100 text-gray-600 nc-new-record-with-form group" |
|
|
|
@click="onNewRecordToFormClick" |
|
|
|
@click="onNewRecordToFormClick" |
|
|
|
> |
|
|
|
> |
|
|
|
<div class="flex flex-row items-center justify-between w-full"> |
|
|
|
<div class="flex flex-row items-center justify-between w-full"> |
|
|
@ -1838,7 +1838,7 @@ onKeyStroke('ArrowDown', onDown) |
|
|
|
{{ $t('activity.newRecord') }} - {{ $t('objects.viewType.form') }} |
|
|
|
{{ $t('activity.newRecord') }} - {{ $t('objects.viewType.form') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="h-4 w-4 flex flex-row items-center justify-center"> |
|
|
|
<div class="h-4 w-4 flex flex-row items-center justify-center"> |
|
|
|
<GeneralIcon v-if="!isAddNewRecordGridMode" icon="check" /> |
|
|
|
<GeneralIcon v-if="!isAddNewRecordGridMode" icon="check" class="w-4 h-4 text-primary" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex flex-row text-xs text-gray-400 ml-7.05">{{ $t('labels.addRowForm') }}</div> |
|
|
|
<div class="flex flex-row text-xs text-gray-400 ml-7.05">{{ $t('labels.addRowForm') }}</div> |
|
|
|