|
|
@ -3,25 +3,12 @@ import { computed } from '@vue/reactivity' |
|
|
|
import type { ColumnType } from 'nocodb-sdk' |
|
|
|
import type { ColumnType } from 'nocodb-sdk' |
|
|
|
import { ref } from 'vue' |
|
|
|
import { ref } from 'vue' |
|
|
|
import type { Ref } from 'vue' |
|
|
|
import type { Ref } from 'vue' |
|
|
|
import { |
|
|
|
import { ActiveCellInj, CellValueInj, ColumnInj, IsUnderLookupInj, inject, useSelectedCellKeyupListener } from '#imports' |
|
|
|
ActiveCellInj, |
|
|
|
|
|
|
|
CellValueInj, |
|
|
|
|
|
|
|
ColumnInj, |
|
|
|
|
|
|
|
EditModeInj, |
|
|
|
|
|
|
|
IsUnderLookupInj, |
|
|
|
|
|
|
|
MetaInj, |
|
|
|
|
|
|
|
inject, |
|
|
|
|
|
|
|
useSelectedCellKeyupListener, |
|
|
|
|
|
|
|
} from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const value = inject(CellValueInj, ref(0)) |
|
|
|
const value = inject(CellValueInj, ref(0)) |
|
|
|
|
|
|
|
|
|
|
|
const column = inject(ColumnInj)! |
|
|
|
const column = inject(ColumnInj)! |
|
|
|
|
|
|
|
|
|
|
|
const meta = inject(MetaInj, ref()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const cellValue = inject(CellValueInj)! |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const row = inject(RowInj)! |
|
|
|
const row = inject(RowInj)! |
|
|
|
|
|
|
|
|
|
|
|
const reloadRowTrigger = inject(ReloadRowDataHookInj, createEventHook()) |
|
|
|
const reloadRowTrigger = inject(ReloadRowDataHookInj, createEventHook()) |
|
|
@ -34,10 +21,6 @@ const isLocked = inject(IsLockedInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
const isUnderLookup = inject(IsUnderLookupInj, ref(false)) |
|
|
|
const isUnderLookup = inject(IsUnderLookupInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
const active = inject(ActiveCellInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const editable = inject(EditModeInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const listItemsDlg = ref(false) |
|
|
|
const listItemsDlg = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
const childListDlg = ref(false) |
|
|
|
const childListDlg = ref(false) |
|
|
|