feat(visualizer): implement image selection and display from grid

This commit is contained in:
2026-02-07 11:08:13 +08:00
parent aa6baa87fe
commit d6bb233651
3 changed files with 147 additions and 34 deletions

View File

@@ -1,9 +1,7 @@
from dataclasses import dataclass
from typing import Optional, Union
from typing import Optional, TypedDict, Union
@dataclass
class CellClickedEvent:
class CellClickedEvent(TypedDict):
"""
- value (boolean I number | string I dict | list; optional): value of the clicked cell.
- colId (boolean I number I string I dict | list; optional): column where the cell was clicked.