|
|
@ -16,6 +16,7 @@ import { |
|
|
|
useSelectedCellKeyupListener, |
|
|
|
useSelectedCellKeyupListener, |
|
|
|
useSmartsheetRowStoreOrThrow, |
|
|
|
useSmartsheetRowStoreOrThrow, |
|
|
|
useUIPermission, |
|
|
|
useUIPermission, |
|
|
|
|
|
|
|
IsUnderLookupInj |
|
|
|
} from '#imports' |
|
|
|
} from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
const column = inject(ColumnInj)! |
|
|
|
const column = inject(ColumnInj)! |
|
|
@ -32,6 +33,8 @@ const readOnly = inject(ReadonlyInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
const isLocked = inject(IsLockedInj) |
|
|
|
const isLocked = inject(IsLockedInj) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const isUnderLookup = inject(IsUnderLookupInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
const listItemsDlg = ref(false) |
|
|
|
const listItemsDlg = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
const childListDlg = ref(false) |
|
|
|
const childListDlg = ref(false) |
|
|
@ -112,7 +115,7 @@ useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEven |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</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 |
|
|
|
<GeneralIcon |
|
|
|
icon="expand" |
|
|
|
icon="expand" |
|
|
|
class="select-none transform text-sm nc-action-icon text-gray-500/50 hover:text-gray-500 nc-arrow-expand" |
|
|
|
class="select-none transform text-sm nc-action-icon text-gray-500/50 hover:text-gray-500 nc-arrow-expand" |
|
|
|