|
|
@ -1,13 +1,13 @@ |
|
|
|
import { |
|
|
|
import { |
|
|
|
UITypes, |
|
|
|
|
|
|
|
type ColumnType, |
|
|
|
type ColumnType, |
|
|
|
type LinkToAnotherRecordType, |
|
|
|
type LinkToAnotherRecordType, |
|
|
|
type PaginatedType, |
|
|
|
type PaginatedType, |
|
|
|
type RequestParams, |
|
|
|
type RequestParams, |
|
|
|
type TableType, |
|
|
|
type TableType, |
|
|
|
|
|
|
|
UITypes, |
|
|
|
dateFormats, |
|
|
|
dateFormats, |
|
|
|
timeFormats, |
|
|
|
|
|
|
|
parseStringDateTime, |
|
|
|
parseStringDateTime, |
|
|
|
|
|
|
|
timeFormats, |
|
|
|
} from 'nocodb-sdk' |
|
|
|
} from 'nocodb-sdk' |
|
|
|
import type { ComputedRef, Ref } from 'vue' |
|
|
|
import type { ComputedRef, Ref } from 'vue' |
|
|
|
import { |
|
|
|
import { |
|
|
@ -19,6 +19,7 @@ import { |
|
|
|
extractSdkResponseErrorMsg, |
|
|
|
extractSdkResponseErrorMsg, |
|
|
|
inject, |
|
|
|
inject, |
|
|
|
message, |
|
|
|
message, |
|
|
|
|
|
|
|
parseProp, |
|
|
|
reactive, |
|
|
|
reactive, |
|
|
|
ref, |
|
|
|
ref, |
|
|
|
storeToRefs, |
|
|
|
storeToRefs, |
|
|
@ -30,7 +31,6 @@ import { |
|
|
|
useRouter, |
|
|
|
useRouter, |
|
|
|
useSharedView, |
|
|
|
useSharedView, |
|
|
|
watch, |
|
|
|
watch, |
|
|
|
parseProp, |
|
|
|
|
|
|
|
} from '#imports' |
|
|
|
} from '#imports' |
|
|
|
import type { Row } from '#imports' |
|
|
|
import type { Row } from '#imports' |
|
|
|
|
|
|
|
|
|
|
@ -145,7 +145,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState( |
|
|
|
type: '', |
|
|
|
type: '', |
|
|
|
format: '', |
|
|
|
format: '', |
|
|
|
} |
|
|
|
} |
|
|
|
let currentColumn = relatedTableMeta.value?.columns?.find((c) => c.pv) || relatedTableMeta?.value?.columns?.[0] |
|
|
|
const currentColumn = relatedTableMeta.value?.columns?.find((c) => c.pv) || relatedTableMeta?.value?.columns?.[0] |
|
|
|
|
|
|
|
|
|
|
|
if (currentColumn) { |
|
|
|
if (currentColumn) { |
|
|
|
if (currentColumn?.uidt === UITypes.DateTime) { |
|
|
|
if (currentColumn?.uidt === UITypes.DateTime) { |
|
|
@ -545,7 +545,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState( |
|
|
|
isChildrenExcludedLoading, |
|
|
|
isChildrenExcludedLoading, |
|
|
|
deleteRelatedRow, |
|
|
|
deleteRelatedRow, |
|
|
|
getRelatedTableRowId, |
|
|
|
getRelatedTableRowId, |
|
|
|
headerDisplayValue |
|
|
|
headerDisplayValue, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
'ltar-store', |
|
|
|
'ltar-store', |
|
|
|