|
|
@ -16,6 +16,8 @@ import { |
|
|
|
useProvideLTARStore, |
|
|
|
useProvideLTARStore, |
|
|
|
useSmartsheetRowStoreOrThrow, |
|
|
|
useSmartsheetRowStoreOrThrow, |
|
|
|
useUIPermission, |
|
|
|
useUIPermission, |
|
|
|
|
|
|
|
useSelectedCellKeyupListener, |
|
|
|
|
|
|
|
ActiveCellInj, |
|
|
|
} from '#imports' |
|
|
|
} from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
const column = inject(ColumnInj)! |
|
|
|
const column = inject(ColumnInj)! |
|
|
@ -82,6 +84,15 @@ const onAttachRecord = () => { |
|
|
|
childListDlg.value = false |
|
|
|
childListDlg.value = false |
|
|
|
listItemsDlg.value = true |
|
|
|
listItemsDlg.value = true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEvent) => { |
|
|
|
|
|
|
|
switch (e.key) { |
|
|
|
|
|
|
|
case 'Enter': |
|
|
|
|
|
|
|
listItemsDlg.value = true |
|
|
|
|
|
|
|
e.preventDefault() |
|
|
|
|
|
|
|
break |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|