|
@@ -1,737 +0,0 @@
|
|
|
-"""Stub file for reflex/components/chakra/datadisplay/table.py"""
|
|
|
-
|
|
|
-# ------------------- DO NOT EDIT ----------------------
|
|
|
-# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
|
-# ------------------------------------------------------
|
|
|
-from typing import Any, Callable, Dict, Optional, Union, overload
|
|
|
-
|
|
|
-from reflex.components.chakra import ChakraComponent
|
|
|
-from reflex.event import EventHandler, EventSpec
|
|
|
-from reflex.style import Style
|
|
|
-from reflex.vars import BaseVar, Var
|
|
|
-
|
|
|
-class Table(ChakraComponent):
|
|
|
- @overload
|
|
|
- @classmethod
|
|
|
- def create( # type: ignore
|
|
|
- cls,
|
|
|
- *children,
|
|
|
- caption=None,
|
|
|
- headers=None,
|
|
|
- rows=None,
|
|
|
- footers=None,
|
|
|
- color_scheme: Optional[Union[Var[str], str]] = None,
|
|
|
- variant: Optional[Union[Var[str], str]] = None,
|
|
|
- size: Optional[Union[Var[str], str]] = None,
|
|
|
- placement: Optional[Union[Var[str], str]] = None,
|
|
|
- style: Optional[Style] = None,
|
|
|
- key: Optional[Any] = None,
|
|
|
- id: Optional[Any] = None,
|
|
|
- class_name: Optional[Any] = None,
|
|
|
- autofocus: Optional[bool] = None,
|
|
|
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
|
- on_blur: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_context_menu: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_double_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_focus: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_down: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_enter: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_leave: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_move: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_out: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_over: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_up: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_scroll: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_unmount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- **props,
|
|
|
- ) -> "Table":
|
|
|
- """Create a table component.
|
|
|
-
|
|
|
- Args:
|
|
|
- *children: The children of the component.
|
|
|
- caption: The caption of the table component.
|
|
|
- headers: The headers of the table component.
|
|
|
- rows: The rows of the table component.
|
|
|
- footers: The footers of the table component.
|
|
|
- color_scheme: The color scheme of the table
|
|
|
- variant: The variant of the table style to use
|
|
|
- size: The size of the table
|
|
|
- placement: The placement of the table caption.
|
|
|
- style: The style of the component.
|
|
|
- key: A unique key for the component.
|
|
|
- id: The id for the component.
|
|
|
- class_name: The class name for the component.
|
|
|
- autofocus: Whether the component should take the focus once the page is loaded
|
|
|
- custom_attrs: custom attribute
|
|
|
- **props: The properties of the component.
|
|
|
-
|
|
|
- Returns:
|
|
|
- The table component.
|
|
|
- """
|
|
|
- ...
|
|
|
-
|
|
|
-class Thead(ChakraComponent):
|
|
|
- @overload
|
|
|
- @classmethod
|
|
|
- def create( # type: ignore
|
|
|
- cls,
|
|
|
- *children,
|
|
|
- headers=None,
|
|
|
- style: Optional[Style] = None,
|
|
|
- key: Optional[Any] = None,
|
|
|
- id: Optional[Any] = None,
|
|
|
- class_name: Optional[Any] = None,
|
|
|
- autofocus: Optional[bool] = None,
|
|
|
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
|
- on_blur: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_context_menu: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_double_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_focus: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_down: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_enter: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_leave: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_move: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_out: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_over: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_up: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_scroll: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_unmount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- **props,
|
|
|
- ) -> "Thead":
|
|
|
- """Create a table header component.
|
|
|
-
|
|
|
- Args:
|
|
|
- *children: The children of the component.
|
|
|
- headers (list, optional): List of headers. Defaults to None.
|
|
|
- style: The style of the component.
|
|
|
- key: A unique key for the component.
|
|
|
- id: The id for the component.
|
|
|
- class_name: The class name for the component.
|
|
|
- autofocus: Whether the component should take the focus once the page is loaded
|
|
|
- custom_attrs: custom attribute
|
|
|
- **props: The properties of the component.
|
|
|
-
|
|
|
- Returns:
|
|
|
- The table header component.
|
|
|
-
|
|
|
- """
|
|
|
- ...
|
|
|
-
|
|
|
- @staticmethod
|
|
|
- def validate_headers(headers): ...
|
|
|
-
|
|
|
-class Tbody(ChakraComponent):
|
|
|
- @overload
|
|
|
- @classmethod
|
|
|
- def create( # type: ignore
|
|
|
- cls,
|
|
|
- *children,
|
|
|
- rows=None,
|
|
|
- style: Optional[Style] = None,
|
|
|
- key: Optional[Any] = None,
|
|
|
- id: Optional[Any] = None,
|
|
|
- class_name: Optional[Any] = None,
|
|
|
- autofocus: Optional[bool] = None,
|
|
|
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
|
- on_blur: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_context_menu: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_double_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_focus: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_down: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_enter: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_leave: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_move: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_out: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_over: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_up: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_scroll: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_unmount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- **props,
|
|
|
- ) -> "Tbody":
|
|
|
- """Create a table body component.
|
|
|
-
|
|
|
- Args:
|
|
|
- *children: The children of the component.
|
|
|
- rows (list[list], optional): The rows of the table body. Defaults to None.
|
|
|
- style: The style of the component.
|
|
|
- key: A unique key for the component.
|
|
|
- id: The id for the component.
|
|
|
- class_name: The class name for the component.
|
|
|
- autofocus: Whether the component should take the focus once the page is loaded
|
|
|
- custom_attrs: custom attribute
|
|
|
- **props: The properties of the component.
|
|
|
-
|
|
|
- Returns:
|
|
|
- Component: The table body component
|
|
|
- """
|
|
|
- ...
|
|
|
-
|
|
|
- @staticmethod
|
|
|
- def validate_rows(rows): ...
|
|
|
-
|
|
|
-class Tfoot(ChakraComponent):
|
|
|
- @overload
|
|
|
- @classmethod
|
|
|
- def create( # type: ignore
|
|
|
- cls,
|
|
|
- *children,
|
|
|
- footers=None,
|
|
|
- style: Optional[Style] = None,
|
|
|
- key: Optional[Any] = None,
|
|
|
- id: Optional[Any] = None,
|
|
|
- class_name: Optional[Any] = None,
|
|
|
- autofocus: Optional[bool] = None,
|
|
|
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
|
- on_blur: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_context_menu: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_double_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_focus: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_down: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_enter: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_leave: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_move: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_out: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_over: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_up: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_scroll: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_unmount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- **props,
|
|
|
- ) -> "Tfoot":
|
|
|
- """Create a table footer component.
|
|
|
-
|
|
|
- Args:
|
|
|
- *children: The children of the component.
|
|
|
- footers (list, optional): List of footers. Defaults to None.
|
|
|
- style: The style of the component.
|
|
|
- key: A unique key for the component.
|
|
|
- id: The id for the component.
|
|
|
- class_name: The class name for the component.
|
|
|
- autofocus: Whether the component should take the focus once the page is loaded
|
|
|
- custom_attrs: custom attribute
|
|
|
- **props: The properties of the component.
|
|
|
-
|
|
|
- Returns:
|
|
|
- The table footer component.
|
|
|
- """
|
|
|
- ...
|
|
|
-
|
|
|
- @staticmethod
|
|
|
- def validate_footers(footers): ...
|
|
|
-
|
|
|
-class Tr(ChakraComponent):
|
|
|
- @overload
|
|
|
- @classmethod
|
|
|
- def create( # type: ignore
|
|
|
- cls,
|
|
|
- *children,
|
|
|
- cell_type: Optional[str] = "",
|
|
|
- cells=None,
|
|
|
- style: Optional[Style] = None,
|
|
|
- key: Optional[Any] = None,
|
|
|
- id: Optional[Any] = None,
|
|
|
- class_name: Optional[Any] = None,
|
|
|
- autofocus: Optional[bool] = None,
|
|
|
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
|
- on_blur: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_context_menu: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_double_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_focus: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_down: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_enter: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_leave: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_move: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_out: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_over: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_up: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_scroll: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_unmount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- **props,
|
|
|
- ) -> "Tr":
|
|
|
- """Create a table row component.
|
|
|
-
|
|
|
- Args:
|
|
|
- *children: The children of the component.
|
|
|
- cell_type: the type of cells in this table row. "header" or "data". Defaults to None.
|
|
|
- cells: The cells value to add in the table row. Defaults to None.
|
|
|
- style: The style of the component.
|
|
|
- key: A unique key for the component.
|
|
|
- id: The id for the component.
|
|
|
- class_name: The class name for the component.
|
|
|
- autofocus: Whether the component should take the focus once the page is loaded
|
|
|
- custom_attrs: custom attribute
|
|
|
- **props: The properties of the component.
|
|
|
-
|
|
|
- Returns:
|
|
|
- The table row component
|
|
|
- """
|
|
|
- ...
|
|
|
-
|
|
|
-class Th(ChakraComponent):
|
|
|
- @overload
|
|
|
- @classmethod
|
|
|
- def create( # type: ignore
|
|
|
- cls,
|
|
|
- *children,
|
|
|
- is_numeric: Optional[Union[Var[bool], bool]] = None,
|
|
|
- style: Optional[Style] = None,
|
|
|
- key: Optional[Any] = None,
|
|
|
- id: Optional[Any] = None,
|
|
|
- class_name: Optional[Any] = None,
|
|
|
- autofocus: Optional[bool] = None,
|
|
|
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
|
- on_blur: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_context_menu: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_double_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_focus: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_down: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_enter: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_leave: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_move: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_out: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_over: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_up: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_scroll: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_unmount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- **props,
|
|
|
- ) -> "Th":
|
|
|
- """Create the component.
|
|
|
-
|
|
|
- Args:
|
|
|
- *children: The children of the component.
|
|
|
- is_numeric: Aligns the cell content to the right.
|
|
|
- style: The style of the component.
|
|
|
- key: A unique key for the component.
|
|
|
- id: The id for the component.
|
|
|
- class_name: The class name for the component.
|
|
|
- autofocus: Whether the component should take the focus once the page is loaded
|
|
|
- custom_attrs: custom attribute
|
|
|
- **props: The props of the component.
|
|
|
-
|
|
|
- Returns:
|
|
|
- The component.
|
|
|
- """
|
|
|
- ...
|
|
|
-
|
|
|
-class Td(ChakraComponent):
|
|
|
- @overload
|
|
|
- @classmethod
|
|
|
- def create( # type: ignore
|
|
|
- cls,
|
|
|
- *children,
|
|
|
- is_numeric: Optional[Union[Var[bool], bool]] = None,
|
|
|
- style: Optional[Style] = None,
|
|
|
- key: Optional[Any] = None,
|
|
|
- id: Optional[Any] = None,
|
|
|
- class_name: Optional[Any] = None,
|
|
|
- autofocus: Optional[bool] = None,
|
|
|
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
|
- on_blur: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_context_menu: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_double_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_focus: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_down: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_enter: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_leave: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_move: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_out: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_over: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_up: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_scroll: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_unmount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- **props,
|
|
|
- ) -> "Td":
|
|
|
- """Create the component.
|
|
|
-
|
|
|
- Args:
|
|
|
- *children: The children of the component.
|
|
|
- is_numeric: Aligns the cell content to the right.
|
|
|
- style: The style of the component.
|
|
|
- key: A unique key for the component.
|
|
|
- id: The id for the component.
|
|
|
- class_name: The class name for the component.
|
|
|
- autofocus: Whether the component should take the focus once the page is loaded
|
|
|
- custom_attrs: custom attribute
|
|
|
- **props: The props of the component.
|
|
|
-
|
|
|
- Returns:
|
|
|
- The component.
|
|
|
- """
|
|
|
- ...
|
|
|
-
|
|
|
-class TableCaption(ChakraComponent):
|
|
|
- @overload
|
|
|
- @classmethod
|
|
|
- def create( # type: ignore
|
|
|
- cls,
|
|
|
- *children,
|
|
|
- placement: Optional[Union[Var[str], str]] = None,
|
|
|
- style: Optional[Style] = None,
|
|
|
- key: Optional[Any] = None,
|
|
|
- id: Optional[Any] = None,
|
|
|
- class_name: Optional[Any] = None,
|
|
|
- autofocus: Optional[bool] = None,
|
|
|
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
|
- on_blur: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_context_menu: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_double_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_focus: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_down: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_enter: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_leave: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_move: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_out: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_over: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_up: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_scroll: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_unmount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- **props,
|
|
|
- ) -> "TableCaption":
|
|
|
- """Create the component.
|
|
|
-
|
|
|
- Args:
|
|
|
- *children: The children of the component.
|
|
|
- placement: The placement of the table caption. This sets the `caption-side` CSS attribute.
|
|
|
- style: The style of the component.
|
|
|
- key: A unique key for the component.
|
|
|
- id: The id for the component.
|
|
|
- class_name: The class name for the component.
|
|
|
- autofocus: Whether the component should take the focus once the page is loaded
|
|
|
- custom_attrs: custom attribute
|
|
|
- **props: The props of the component.
|
|
|
-
|
|
|
- Returns:
|
|
|
- The component.
|
|
|
- """
|
|
|
- ...
|
|
|
-
|
|
|
-class TableContainer(ChakraComponent):
|
|
|
- @overload
|
|
|
- @classmethod
|
|
|
- def create( # type: ignore
|
|
|
- cls,
|
|
|
- *children,
|
|
|
- style: Optional[Style] = None,
|
|
|
- key: Optional[Any] = None,
|
|
|
- id: Optional[Any] = None,
|
|
|
- class_name: Optional[Any] = None,
|
|
|
- autofocus: Optional[bool] = None,
|
|
|
- custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
|
- on_blur: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_context_menu: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_double_click: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_focus: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_down: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_enter: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_leave: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_move: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_out: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_over: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_mouse_up: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_scroll: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- on_unmount: Optional[
|
|
|
- Union[EventHandler, EventSpec, list, Callable, BaseVar]
|
|
|
- ] = None,
|
|
|
- **props,
|
|
|
- ) -> "TableContainer":
|
|
|
- """Create the component.
|
|
|
-
|
|
|
- Args:
|
|
|
- *children: The children of the component.
|
|
|
- style: The style of the component.
|
|
|
- key: A unique key for the component.
|
|
|
- id: The id for the component.
|
|
|
- class_name: The class name for the component.
|
|
|
- autofocus: Whether the component should take the focus once the page is loaded
|
|
|
- custom_attrs: custom attribute
|
|
|
- **props: The props of the component.
|
|
|
-
|
|
|
- Returns:
|
|
|
- The component.
|
|
|
- """
|
|
|
- ...
|