feat(diagram): open table data from graph cards

This commit is contained in:
t8y2 committed 2026-07-07 14:26:52 +08:00
1 parent c60b23ffe7
commit 586faf28c8
4 files changed
+45 -4

No files matched your search

@@ -66,6 +66,15 @@ const emit = defineEmits<{
whereInput?: string;
},
];
openDiagramTarget: [
target: {
connectionId: string;
database: string;
schema?: string;
tableName: string;
tableType?: string;
},
];
}>();
const { t } = useI18n();
@@ -143,6 +152,7 @@ watch(
:prefill-database="dialogs.diagramPrefillDatabase.value"
:prefill-schema="dialogs.diagramPrefillSchema.value"
:focus-table-name="dialogs.diagramFocusTableName.value"
@open-target="emit('openDiagramTarget', $event)"
/>
<TableImportDialog
v-if="dialogs.showTableImportDialog.value"