|
|
|
@ -16,6 +16,7 @@ import {
|
|
|
|
|
useSelectedCellKeyupListener, |
|
|
|
|
useSmartsheetRowStoreOrThrow, |
|
|
|
|
useUIPermission, |
|
|
|
|
IsUnderLookupInj |
|
|
|
|
} from '#imports' |
|
|
|
|
|
|
|
|
|
const column = inject(ColumnInj)! |
|
|
|
@ -32,6 +33,8 @@ const readOnly = inject(ReadonlyInj, ref(false))
|
|
|
|
|
|
|
|
|
|
const isLocked = inject(IsLockedInj) |
|
|
|
|
|
|
|
|
|
const isUnderLookup = inject(IsUnderLookupInj, ref(false)) |
|
|
|
|
|
|
|
|
|
const listItemsDlg = ref(false) |
|
|
|
|
|
|
|
|
|
const childListDlg = ref(false) |
|
|
|
@ -112,7 +115,7 @@ useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEven
|
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div v-if="!isLocked" class="flex justify-end gap-1 min-h-[30px] items-center"> |
|
|
|
|
<div v-if="!isLocked && !isUnderLookup" class="flex justify-end gap-1 min-h-[30px] items-center"> |
|
|
|
|
<GeneralIcon |
|
|
|
|
icon="expand" |
|
|
|
|
class="select-none transform text-sm nc-action-icon text-gray-500/50 hover:text-gray-500 nc-arrow-expand" |
|
|
|
|