feat(visualizer): add image selection and binary data storage

This commit is contained in:
2026-02-06 16:59:22 +08:00
parent e859fef2b3
commit 0b10ab6cfa
5 changed files with 134 additions and 68 deletions

View File

@@ -0,0 +1,33 @@
from dataclasses import dataclass
from typing import Optional, Union
@dataclass
class CellClickedEvent:
"""
- 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.
- rowIndex (number; optional): rowIndex, typically a row number.
- rowId (boolean I number I string I dict | list; optional): Row Id from the grid, this could be a number automatically, orset via getRowId.
- timestamp (boolean I number I string I dict I list; optional): timestamp of last action.
"""
value: Optional[Union[bool, int, float, str, dict, list]]
"""
- value (boolean I number | string I dict | list; optional): value of the clicked cell.
"""
colId: Optional[Union[bool, int, float, str, dict, list]]
"""
- colId (boolean I number I string I dict | list; optional): column where the cell was clicked.
"""
rowIndex: Optional[Union[int, float]]
"""
- rowIndex (number; optional): rowIndex, typically a row number.
"""
timestamp: Optional[Union[bool, int, float, str, dict, list]]
"""
- timestamp (boolean I number I string I dict I list; optional): timestamp of last action.
"""