|
|
@ -4,13 +4,14 @@ import ItemChip from './components/ItemChip.vue' |
|
|
|
import ListChildItems from './components/ListChildItems.vue' |
|
|
|
import ListChildItems from './components/ListChildItems.vue' |
|
|
|
import ListItems from './components/ListItems.vue' |
|
|
|
import ListItems from './components/ListItems.vue' |
|
|
|
import { useProvideLTARStore } from '~/composables' |
|
|
|
import { useProvideLTARStore } from '~/composables' |
|
|
|
import { ColumnInj, RowInj, ValueInj } from '~/context' |
|
|
|
import { ColumnInj, ReloadViewDataHookInj, RowInj, ValueInj } from '~/context' |
|
|
|
import MdiExpandIcon from '~icons/mdi/arrow-expand' |
|
|
|
import MdiExpandIcon from '~icons/mdi/arrow-expand' |
|
|
|
import MdiPlusIcon from '~icons/mdi/plus' |
|
|
|
import MdiPlusIcon from '~icons/mdi/plus' |
|
|
|
|
|
|
|
|
|
|
|
const column = inject(ColumnInj) |
|
|
|
const column = inject(ColumnInj) |
|
|
|
const value = inject(ValueInj) |
|
|
|
const value = inject(ValueInj) |
|
|
|
const row = inject(RowInj) |
|
|
|
const row = inject(RowInj) |
|
|
|
|
|
|
|
const reloadTrigger = inject(ReloadViewDataHookInj) |
|
|
|
|
|
|
|
|
|
|
|
const listItemsDlg = ref(false) |
|
|
|
const listItemsDlg = ref(false) |
|
|
|
const childListDlg = ref(false) |
|
|
|
const childListDlg = ref(false) |
|
|
@ -18,6 +19,7 @@ const childListDlg = ref(false) |
|
|
|
const { relatedTableMeta, loadRelatedTableMeta, relatedTablePrimaryValueProp, unlink } = useProvideLTARStore( |
|
|
|
const { relatedTableMeta, loadRelatedTableMeta, relatedTablePrimaryValueProp, unlink } = useProvideLTARStore( |
|
|
|
column as Required<ColumnType>, |
|
|
|
column as Required<ColumnType>, |
|
|
|
row, |
|
|
|
row, |
|
|
|
|
|
|
|
() => reloadTrigger?.trigger() |
|
|
|
) |
|
|
|
) |
|
|
|
await loadRelatedTableMeta() |
|
|
|
await loadRelatedTableMeta() |
|
|
|
</script> |
|
|
|
</script> |
|
|
|