|
@@ -3,12 +3,12 @@
|
|
|
# This file was generated by `scripts/pyi_generator.py`!
|
|
|
# ------------------------------------------------------
|
|
|
|
|
|
-from typing import Any, Dict, Optional, overload, Literal, Union, List
|
|
|
+from typing import Dict, Union, Literal, overload, List, Any, Optional
|
|
|
from reflex.vars import Var, BaseVar, ComputedVar
|
|
|
from reflex.event import EventChain, EventHandler, EventSpec
|
|
|
from reflex.style import Style
|
|
|
from enum import Enum
|
|
|
-from typing import Any, Callable, Dict, List, Optional
|
|
|
+from typing import Any, Callable, Dict, List, Optional, Union
|
|
|
from reflex.base import Base
|
|
|
from reflex.components.component import Component, NoSSRComponent
|
|
|
from reflex.components.literals import LiteralRowMarker
|
|
@@ -19,38 +19,38 @@ from reflex.vars import ImportVar, Var, get_unique_variable_name
|
|
|
class GridColumnIcons(Enum): ...
|
|
|
|
|
|
class DataEditorTheme(Base):
|
|
|
- accentColor: Optional[str]
|
|
|
- accentFg: Optional[str]
|
|
|
- accentLight: Optional[str]
|
|
|
- baseFontStyle: Optional[str]
|
|
|
- bgBubble: Optional[str]
|
|
|
- bgBubbleSelected: Optional[str]
|
|
|
- bgCell: Optional[str]
|
|
|
- bgCellMedium: Optional[str]
|
|
|
- bgHeader: Optional[str]
|
|
|
- bgHeaderHasFocus: Optional[str]
|
|
|
- bgHeaderHovered: Optional[str]
|
|
|
- bgIconHeader: Optional[str]
|
|
|
- bgSearchResult: Optional[str]
|
|
|
- borderColor: Optional[str]
|
|
|
- cellHorizontalPadding: Optional[int]
|
|
|
- cellVerticalPadding: Optional[int]
|
|
|
- drilldownBorder: Optional[str]
|
|
|
- editorFontSize: Optional[str]
|
|
|
- fgIconHeader: Optional[str]
|
|
|
- fontFamily: Optional[str]
|
|
|
- headerBottomBorderColor: Optional[str]
|
|
|
- headerFontStyle: Optional[str]
|
|
|
- horizontalBorderColor: Optional[str]
|
|
|
- lineHeight: Optional[int]
|
|
|
- linkColor: Optional[str]
|
|
|
- textBubble: Optional[str]
|
|
|
- textDark: Optional[str]
|
|
|
- textGroupHeader: Optional[str]
|
|
|
- textHeader: Optional[str]
|
|
|
- textHeaderSelected: Optional[str]
|
|
|
- textLight: Optional[str]
|
|
|
- textMedium: Optional[str]
|
|
|
+ accent_color: Optional[str]
|
|
|
+ accent_fg: Optional[str]
|
|
|
+ accent_light: Optional[str]
|
|
|
+ base_font_style: Optional[str]
|
|
|
+ bg_bubble: Optional[str]
|
|
|
+ bg_bubble_selected: Optional[str]
|
|
|
+ bg_cell: Optional[str]
|
|
|
+ bg_cell_medium: Optional[str]
|
|
|
+ bg_header: Optional[str]
|
|
|
+ bg_header_has_focus: Optional[str]
|
|
|
+ bg_header_hovered: Optional[str]
|
|
|
+ bg_icon_header: Optional[str]
|
|
|
+ bg_search_result: Optional[str]
|
|
|
+ border_color: Optional[str]
|
|
|
+ cell_horizontal_padding: Optional[int]
|
|
|
+ cell_vertical_padding: Optional[int]
|
|
|
+ drilldown_border: Optional[str]
|
|
|
+ editor_font_size: Optional[str]
|
|
|
+ fg_icon_header: Optional[str]
|
|
|
+ font_family: Optional[str]
|
|
|
+ header_bottom_border_color: Optional[str]
|
|
|
+ header_font_style: Optional[str]
|
|
|
+ horizontal_border_color: Optional[str]
|
|
|
+ line_height: Optional[int]
|
|
|
+ link_color: Optional[str]
|
|
|
+ text_bubble: Optional[str]
|
|
|
+ text_dark: Optional[str]
|
|
|
+ text_group_header: Optional[str]
|
|
|
+ text_header: Optional[str]
|
|
|
+ text_header_selected: Optional[str]
|
|
|
+ text_light: Optional[str]
|
|
|
+ text_medium: Optional[str]
|
|
|
|
|
|
class DataEditor(NoSSRComponent):
|
|
|
def get_event_triggers(self) -> Dict[str, Callable]: ...
|
|
@@ -94,7 +94,9 @@ class DataEditor(NoSSRComponent):
|
|
|
overscroll_y: Optional[Union[Var[int], int]] = None,
|
|
|
scroll_offset_x: Optional[Union[Var[int], int]] = None,
|
|
|
scroll_offset_y: Optional[Union[Var[int], int]] = None,
|
|
|
- theme: Optional[Union[Var[DataEditorTheme], DataEditorTheme]] = None,
|
|
|
+ theme: Optional[
|
|
|
+ Union[Var[Union[DataEditorTheme, Dict]], Union[DataEditorTheme, Dict]]
|
|
|
+ ] = None,
|
|
|
style: Optional[Style] = None,
|
|
|
key: Optional[Any] = None,
|
|
|
id: Optional[Any] = None,
|