reflex 0.7.0a1__py3-none-any.whl → 0.7.0a2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +1 -1
- reflex/app.py +6 -8
- reflex/components/base/app_wrap.pyi +16 -16
- reflex/components/base/body.pyi +16 -16
- reflex/components/base/document.pyi +76 -76
- reflex/components/base/error_boundary.pyi +17 -21
- reflex/components/base/fragment.pyi +16 -16
- reflex/components/base/head.pyi +31 -31
- reflex/components/base/link.pyi +31 -31
- reflex/components/base/meta.pyi +61 -61
- reflex/components/base/script.pyi +19 -19
- reflex/components/base/strict_mode.pyi +16 -16
- reflex/components/core/banner.py +95 -19
- reflex/components/core/banner.pyi +91 -91
- reflex/components/core/client_side_routing.pyi +31 -31
- reflex/components/core/clipboard.pyi +17 -20
- reflex/components/core/debounce.pyi +17 -17
- reflex/components/core/foreach.py +5 -0
- reflex/components/core/html.pyi +16 -16
- reflex/components/core/sticky.pyi +61 -61
- reflex/components/core/upload.pyi +80 -88
- reflex/components/datadisplay/code.pyi +31 -31
- reflex/components/datadisplay/dataeditor.pyi +40 -54
- reflex/components/datadisplay/shiki_code_block.pyi +46 -46
- reflex/components/el/element.pyi +16 -16
- reflex/components/el/elements/base.pyi +16 -16
- reflex/components/el/elements/forms.pyi +222 -256
- reflex/components/el/elements/inline.pyi +421 -421
- reflex/components/el/elements/media.pyi +376 -376
- reflex/components/el/elements/metadata.pyi +91 -91
- reflex/components/el/elements/other.pyi +106 -106
- reflex/components/el/elements/scripts.pyi +46 -46
- reflex/components/el/elements/sectioning.pyi +226 -226
- reflex/components/el/elements/tables.pyi +151 -151
- reflex/components/el/elements/typography.pyi +226 -226
- reflex/components/gridjs/datatable.pyi +31 -31
- reflex/components/lucide/icon.pyi +46 -46
- reflex/components/markdown/markdown.pyi +16 -16
- reflex/components/moment/moment.pyi +17 -19
- reflex/components/next/base.pyi +16 -16
- reflex/components/next/image.pyi +18 -18
- reflex/components/next/link.pyi +16 -16
- reflex/components/next/video.pyi +16 -16
- reflex/components/plotly/plotly.pyi +34 -44
- reflex/components/radix/primitives/accordion.pyi +107 -107
- reflex/components/radix/primitives/base.pyi +31 -31
- reflex/components/radix/primitives/drawer.pyi +175 -183
- reflex/components/radix/primitives/form.pyi +160 -172
- reflex/components/radix/primitives/progress.pyi +76 -76
- reflex/components/radix/primitives/slider.pyi +78 -82
- reflex/components/radix/themes/base.pyi +121 -121
- reflex/components/radix/themes/color_mode.pyi +47 -49
- reflex/components/radix/themes/components/alert_dialog.pyi +110 -112
- reflex/components/radix/themes/components/aspect_ratio.pyi +16 -16
- reflex/components/radix/themes/components/avatar.pyi +16 -16
- reflex/components/radix/themes/components/badge.pyi +16 -16
- reflex/components/radix/themes/components/button.pyi +16 -16
- reflex/components/radix/themes/components/callout.pyi +76 -76
- reflex/components/radix/themes/components/card.pyi +16 -16
- reflex/components/radix/themes/components/checkbox.pyi +49 -55
- reflex/components/radix/themes/components/checkbox_cards.pyi +31 -31
- reflex/components/radix/themes/components/checkbox_group.pyi +31 -31
- reflex/components/radix/themes/components/context_menu.pyi +149 -155
- reflex/components/radix/themes/components/data_list.pyi +61 -61
- reflex/components/radix/themes/components/dialog.pyi +113 -117
- reflex/components/radix/themes/components/dropdown_menu.pyi +133 -137
- reflex/components/radix/themes/components/hover_card.pyi +63 -67
- reflex/components/radix/themes/components/icon_button.pyi +16 -16
- reflex/components/radix/themes/components/inset.pyi +16 -16
- reflex/components/radix/themes/components/popover.pyi +68 -70
- reflex/components/radix/themes/components/progress.pyi +16 -16
- reflex/components/radix/themes/components/radio.pyi +16 -16
- reflex/components/radix/themes/components/radio_cards.pyi +32 -34
- reflex/components/radix/themes/components/radio_group.pyi +62 -64
- reflex/components/radix/themes/components/scroll_area.pyi +16 -16
- reflex/components/radix/themes/components/segmented_control.pyi +32 -35
- reflex/components/radix/themes/components/select.py +1 -0
- reflex/components/radix/themes/components/select.pyi +145 -157
- reflex/components/radix/themes/components/separator.pyi +16 -16
- reflex/components/radix/themes/components/skeleton.py +3 -0
- reflex/components/radix/themes/components/skeleton.pyi +16 -16
- reflex/components/radix/themes/components/slider.pyi +22 -28
- reflex/components/radix/themes/components/spinner.pyi +16 -16
- reflex/components/radix/themes/components/switch.pyi +17 -19
- reflex/components/radix/themes/components/table.pyi +106 -106
- reflex/components/radix/themes/components/tabs.pyi +78 -82
- reflex/components/radix/themes/components/text_area.pyi +19 -33
- reflex/components/radix/themes/components/text_field.pyi +52 -80
- reflex/components/radix/themes/components/tooltip.py +3 -0
- reflex/components/radix/themes/components/tooltip.pyi +19 -21
- reflex/components/radix/themes/layout/base.pyi +16 -16
- reflex/components/radix/themes/layout/box.pyi +16 -16
- reflex/components/radix/themes/layout/center.pyi +16 -16
- reflex/components/radix/themes/layout/container.pyi +16 -16
- reflex/components/radix/themes/layout/flex.pyi +16 -16
- reflex/components/radix/themes/layout/grid.pyi +16 -16
- reflex/components/radix/themes/layout/list.pyi +76 -76
- reflex/components/radix/themes/layout/section.pyi +16 -16
- reflex/components/radix/themes/layout/spacer.pyi +16 -16
- reflex/components/radix/themes/layout/stack.pyi +46 -46
- reflex/components/radix/themes/typography/blockquote.pyi +16 -16
- reflex/components/radix/themes/typography/code.pyi +16 -16
- reflex/components/radix/themes/typography/heading.pyi +16 -16
- reflex/components/radix/themes/typography/link.pyi +16 -16
- reflex/components/radix/themes/typography/text.pyi +106 -106
- reflex/components/react_player/audio.pyi +33 -39
- reflex/components/react_player/react_player.pyi +32 -38
- reflex/components/react_player/video.pyi +33 -39
- reflex/components/recharts/cartesian.pyi +282 -282
- reflex/components/recharts/charts.pyi +164 -164
- reflex/components/recharts/general.pyi +92 -92
- reflex/components/recharts/polar.pyi +55 -55
- reflex/components/recharts/recharts.pyi +31 -31
- reflex/components/sonner/toast.pyi +16 -16
- reflex/components/suneditor/editor.pyi +24 -38
- reflex/event.py +89 -51
- reflex/experimental/layout.pyi +78 -82
- reflex/page.py +2 -2
- reflex/utils/exceptions.py +13 -0
- reflex/utils/format.py +1 -1
- reflex/utils/prerequisites.py +3 -3
- reflex/utils/pyi_generator.py +9 -8
- reflex/vars/base.py +6 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/METADATA +1 -1
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/RECORD +128 -128
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/LICENSE +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/WHEEL +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a2.dist-info}/entry_points.txt +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from typing import Any, Dict, Optional, Union, overload
|
|
7
7
|
|
|
8
|
-
from reflex.event import
|
|
8
|
+
from reflex.event import EventType
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from reflex.vars.base import Var
|
|
11
11
|
|
|
@@ -48,21 +48,21 @@ class Caption(BaseHTML):
|
|
|
48
48
|
class_name: Optional[Any] = None,
|
|
49
49
|
autofocus: Optional[bool] = None,
|
|
50
50
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
51
|
-
on_blur: Optional[EventType[
|
|
52
|
-
on_click: Optional[EventType[
|
|
53
|
-
on_context_menu: Optional[EventType[
|
|
54
|
-
on_double_click: Optional[EventType[
|
|
55
|
-
on_focus: Optional[EventType[
|
|
56
|
-
on_mount: Optional[EventType[
|
|
57
|
-
on_mouse_down: Optional[EventType[
|
|
58
|
-
on_mouse_enter: Optional[EventType[
|
|
59
|
-
on_mouse_leave: Optional[EventType[
|
|
60
|
-
on_mouse_move: Optional[EventType[
|
|
61
|
-
on_mouse_out: Optional[EventType[
|
|
62
|
-
on_mouse_over: Optional[EventType[
|
|
63
|
-
on_mouse_up: Optional[EventType[
|
|
64
|
-
on_scroll: Optional[EventType[
|
|
65
|
-
on_unmount: Optional[EventType[
|
|
51
|
+
on_blur: Optional[EventType[()]] = None,
|
|
52
|
+
on_click: Optional[EventType[()]] = None,
|
|
53
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
54
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
55
|
+
on_focus: Optional[EventType[()]] = None,
|
|
56
|
+
on_mount: Optional[EventType[()]] = None,
|
|
57
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
58
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
59
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
60
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
61
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
62
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
63
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
64
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
65
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
66
66
|
**props,
|
|
67
67
|
) -> "Caption":
|
|
68
68
|
"""Create the component.
|
|
@@ -137,21 +137,21 @@ class Col(BaseHTML):
|
|
|
137
137
|
class_name: Optional[Any] = None,
|
|
138
138
|
autofocus: Optional[bool] = None,
|
|
139
139
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
140
|
-
on_blur: Optional[EventType[
|
|
141
|
-
on_click: Optional[EventType[
|
|
142
|
-
on_context_menu: Optional[EventType[
|
|
143
|
-
on_double_click: Optional[EventType[
|
|
144
|
-
on_focus: Optional[EventType[
|
|
145
|
-
on_mount: Optional[EventType[
|
|
146
|
-
on_mouse_down: Optional[EventType[
|
|
147
|
-
on_mouse_enter: Optional[EventType[
|
|
148
|
-
on_mouse_leave: Optional[EventType[
|
|
149
|
-
on_mouse_move: Optional[EventType[
|
|
150
|
-
on_mouse_out: Optional[EventType[
|
|
151
|
-
on_mouse_over: Optional[EventType[
|
|
152
|
-
on_mouse_up: Optional[EventType[
|
|
153
|
-
on_scroll: Optional[EventType[
|
|
154
|
-
on_unmount: Optional[EventType[
|
|
140
|
+
on_blur: Optional[EventType[()]] = None,
|
|
141
|
+
on_click: Optional[EventType[()]] = None,
|
|
142
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
143
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
144
|
+
on_focus: Optional[EventType[()]] = None,
|
|
145
|
+
on_mount: Optional[EventType[()]] = None,
|
|
146
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
147
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
148
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
149
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
150
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
151
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
152
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
153
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
154
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
155
155
|
**props,
|
|
156
156
|
) -> "Col":
|
|
157
157
|
"""Create the component.
|
|
@@ -227,21 +227,21 @@ class Colgroup(BaseHTML):
|
|
|
227
227
|
class_name: Optional[Any] = None,
|
|
228
228
|
autofocus: Optional[bool] = None,
|
|
229
229
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
230
|
-
on_blur: Optional[EventType[
|
|
231
|
-
on_click: Optional[EventType[
|
|
232
|
-
on_context_menu: Optional[EventType[
|
|
233
|
-
on_double_click: Optional[EventType[
|
|
234
|
-
on_focus: Optional[EventType[
|
|
235
|
-
on_mount: Optional[EventType[
|
|
236
|
-
on_mouse_down: Optional[EventType[
|
|
237
|
-
on_mouse_enter: Optional[EventType[
|
|
238
|
-
on_mouse_leave: Optional[EventType[
|
|
239
|
-
on_mouse_move: Optional[EventType[
|
|
240
|
-
on_mouse_out: Optional[EventType[
|
|
241
|
-
on_mouse_over: Optional[EventType[
|
|
242
|
-
on_mouse_up: Optional[EventType[
|
|
243
|
-
on_scroll: Optional[EventType[
|
|
244
|
-
on_unmount: Optional[EventType[
|
|
230
|
+
on_blur: Optional[EventType[()]] = None,
|
|
231
|
+
on_click: Optional[EventType[()]] = None,
|
|
232
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
233
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
234
|
+
on_focus: Optional[EventType[()]] = None,
|
|
235
|
+
on_mount: Optional[EventType[()]] = None,
|
|
236
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
237
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
238
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
239
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
240
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
241
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
242
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
243
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
244
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
245
245
|
**props,
|
|
246
246
|
) -> "Colgroup":
|
|
247
247
|
"""Create the component.
|
|
@@ -317,21 +317,21 @@ class Table(BaseHTML):
|
|
|
317
317
|
class_name: Optional[Any] = None,
|
|
318
318
|
autofocus: Optional[bool] = None,
|
|
319
319
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
320
|
-
on_blur: Optional[EventType[
|
|
321
|
-
on_click: Optional[EventType[
|
|
322
|
-
on_context_menu: Optional[EventType[
|
|
323
|
-
on_double_click: Optional[EventType[
|
|
324
|
-
on_focus: Optional[EventType[
|
|
325
|
-
on_mount: Optional[EventType[
|
|
326
|
-
on_mouse_down: Optional[EventType[
|
|
327
|
-
on_mouse_enter: Optional[EventType[
|
|
328
|
-
on_mouse_leave: Optional[EventType[
|
|
329
|
-
on_mouse_move: Optional[EventType[
|
|
330
|
-
on_mouse_out: Optional[EventType[
|
|
331
|
-
on_mouse_over: Optional[EventType[
|
|
332
|
-
on_mouse_up: Optional[EventType[
|
|
333
|
-
on_scroll: Optional[EventType[
|
|
334
|
-
on_unmount: Optional[EventType[
|
|
320
|
+
on_blur: Optional[EventType[()]] = None,
|
|
321
|
+
on_click: Optional[EventType[()]] = None,
|
|
322
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
323
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
324
|
+
on_focus: Optional[EventType[()]] = None,
|
|
325
|
+
on_mount: Optional[EventType[()]] = None,
|
|
326
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
327
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
328
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
329
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
330
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
331
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
332
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
333
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
334
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
335
335
|
**props,
|
|
336
336
|
) -> "Table":
|
|
337
337
|
"""Create the component.
|
|
@@ -406,21 +406,21 @@ class Tbody(BaseHTML):
|
|
|
406
406
|
class_name: Optional[Any] = None,
|
|
407
407
|
autofocus: Optional[bool] = None,
|
|
408
408
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
409
|
-
on_blur: Optional[EventType[
|
|
410
|
-
on_click: Optional[EventType[
|
|
411
|
-
on_context_menu: Optional[EventType[
|
|
412
|
-
on_double_click: Optional[EventType[
|
|
413
|
-
on_focus: Optional[EventType[
|
|
414
|
-
on_mount: Optional[EventType[
|
|
415
|
-
on_mouse_down: Optional[EventType[
|
|
416
|
-
on_mouse_enter: Optional[EventType[
|
|
417
|
-
on_mouse_leave: Optional[EventType[
|
|
418
|
-
on_mouse_move: Optional[EventType[
|
|
419
|
-
on_mouse_out: Optional[EventType[
|
|
420
|
-
on_mouse_over: Optional[EventType[
|
|
421
|
-
on_mouse_up: Optional[EventType[
|
|
422
|
-
on_scroll: Optional[EventType[
|
|
423
|
-
on_unmount: Optional[EventType[
|
|
409
|
+
on_blur: Optional[EventType[()]] = None,
|
|
410
|
+
on_click: Optional[EventType[()]] = None,
|
|
411
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
412
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
413
|
+
on_focus: Optional[EventType[()]] = None,
|
|
414
|
+
on_mount: Optional[EventType[()]] = None,
|
|
415
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
416
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
417
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
418
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
419
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
420
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
421
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
422
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
423
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
424
424
|
**props,
|
|
425
425
|
) -> "Tbody":
|
|
426
426
|
"""Create the component.
|
|
@@ -497,21 +497,21 @@ class Td(BaseHTML):
|
|
|
497
497
|
class_name: Optional[Any] = None,
|
|
498
498
|
autofocus: Optional[bool] = None,
|
|
499
499
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
500
|
-
on_blur: Optional[EventType[
|
|
501
|
-
on_click: Optional[EventType[
|
|
502
|
-
on_context_menu: Optional[EventType[
|
|
503
|
-
on_double_click: Optional[EventType[
|
|
504
|
-
on_focus: Optional[EventType[
|
|
505
|
-
on_mount: Optional[EventType[
|
|
506
|
-
on_mouse_down: Optional[EventType[
|
|
507
|
-
on_mouse_enter: Optional[EventType[
|
|
508
|
-
on_mouse_leave: Optional[EventType[
|
|
509
|
-
on_mouse_move: Optional[EventType[
|
|
510
|
-
on_mouse_out: Optional[EventType[
|
|
511
|
-
on_mouse_over: Optional[EventType[
|
|
512
|
-
on_mouse_up: Optional[EventType[
|
|
513
|
-
on_scroll: Optional[EventType[
|
|
514
|
-
on_unmount: Optional[EventType[
|
|
500
|
+
on_blur: Optional[EventType[()]] = None,
|
|
501
|
+
on_click: Optional[EventType[()]] = None,
|
|
502
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
503
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
504
|
+
on_focus: Optional[EventType[()]] = None,
|
|
505
|
+
on_mount: Optional[EventType[()]] = None,
|
|
506
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
507
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
508
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
509
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
510
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
511
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
512
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
513
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
514
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
515
515
|
**props,
|
|
516
516
|
) -> "Td":
|
|
517
517
|
"""Create the component.
|
|
@@ -588,21 +588,21 @@ class Tfoot(BaseHTML):
|
|
|
588
588
|
class_name: Optional[Any] = None,
|
|
589
589
|
autofocus: Optional[bool] = None,
|
|
590
590
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
591
|
-
on_blur: Optional[EventType[
|
|
592
|
-
on_click: Optional[EventType[
|
|
593
|
-
on_context_menu: Optional[EventType[
|
|
594
|
-
on_double_click: Optional[EventType[
|
|
595
|
-
on_focus: Optional[EventType[
|
|
596
|
-
on_mount: Optional[EventType[
|
|
597
|
-
on_mouse_down: Optional[EventType[
|
|
598
|
-
on_mouse_enter: Optional[EventType[
|
|
599
|
-
on_mouse_leave: Optional[EventType[
|
|
600
|
-
on_mouse_move: Optional[EventType[
|
|
601
|
-
on_mouse_out: Optional[EventType[
|
|
602
|
-
on_mouse_over: Optional[EventType[
|
|
603
|
-
on_mouse_up: Optional[EventType[
|
|
604
|
-
on_scroll: Optional[EventType[
|
|
605
|
-
on_unmount: Optional[EventType[
|
|
591
|
+
on_blur: Optional[EventType[()]] = None,
|
|
592
|
+
on_click: Optional[EventType[()]] = None,
|
|
593
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
594
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
595
|
+
on_focus: Optional[EventType[()]] = None,
|
|
596
|
+
on_mount: Optional[EventType[()]] = None,
|
|
597
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
598
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
599
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
600
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
601
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
602
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
603
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
604
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
605
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
606
606
|
**props,
|
|
607
607
|
) -> "Tfoot":
|
|
608
608
|
"""Create the component.
|
|
@@ -680,21 +680,21 @@ class Th(BaseHTML):
|
|
|
680
680
|
class_name: Optional[Any] = None,
|
|
681
681
|
autofocus: Optional[bool] = None,
|
|
682
682
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
683
|
-
on_blur: Optional[EventType[
|
|
684
|
-
on_click: Optional[EventType[
|
|
685
|
-
on_context_menu: Optional[EventType[
|
|
686
|
-
on_double_click: Optional[EventType[
|
|
687
|
-
on_focus: Optional[EventType[
|
|
688
|
-
on_mount: Optional[EventType[
|
|
689
|
-
on_mouse_down: Optional[EventType[
|
|
690
|
-
on_mouse_enter: Optional[EventType[
|
|
691
|
-
on_mouse_leave: Optional[EventType[
|
|
692
|
-
on_mouse_move: Optional[EventType[
|
|
693
|
-
on_mouse_out: Optional[EventType[
|
|
694
|
-
on_mouse_over: Optional[EventType[
|
|
695
|
-
on_mouse_up: Optional[EventType[
|
|
696
|
-
on_scroll: Optional[EventType[
|
|
697
|
-
on_unmount: Optional[EventType[
|
|
683
|
+
on_blur: Optional[EventType[()]] = None,
|
|
684
|
+
on_click: Optional[EventType[()]] = None,
|
|
685
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
686
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
687
|
+
on_focus: Optional[EventType[()]] = None,
|
|
688
|
+
on_mount: Optional[EventType[()]] = None,
|
|
689
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
690
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
691
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
692
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
693
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
694
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
695
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
696
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
697
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
698
698
|
**props,
|
|
699
699
|
) -> "Th":
|
|
700
700
|
"""Create the component.
|
|
@@ -772,21 +772,21 @@ class Thead(BaseHTML):
|
|
|
772
772
|
class_name: Optional[Any] = None,
|
|
773
773
|
autofocus: Optional[bool] = None,
|
|
774
774
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
775
|
-
on_blur: Optional[EventType[
|
|
776
|
-
on_click: Optional[EventType[
|
|
777
|
-
on_context_menu: Optional[EventType[
|
|
778
|
-
on_double_click: Optional[EventType[
|
|
779
|
-
on_focus: Optional[EventType[
|
|
780
|
-
on_mount: Optional[EventType[
|
|
781
|
-
on_mouse_down: Optional[EventType[
|
|
782
|
-
on_mouse_enter: Optional[EventType[
|
|
783
|
-
on_mouse_leave: Optional[EventType[
|
|
784
|
-
on_mouse_move: Optional[EventType[
|
|
785
|
-
on_mouse_out: Optional[EventType[
|
|
786
|
-
on_mouse_over: Optional[EventType[
|
|
787
|
-
on_mouse_up: Optional[EventType[
|
|
788
|
-
on_scroll: Optional[EventType[
|
|
789
|
-
on_unmount: Optional[EventType[
|
|
775
|
+
on_blur: Optional[EventType[()]] = None,
|
|
776
|
+
on_click: Optional[EventType[()]] = None,
|
|
777
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
778
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
779
|
+
on_focus: Optional[EventType[()]] = None,
|
|
780
|
+
on_mount: Optional[EventType[()]] = None,
|
|
781
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
782
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
783
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
784
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
785
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
786
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
787
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
788
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
789
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
790
790
|
**props,
|
|
791
791
|
) -> "Thead":
|
|
792
792
|
"""Create the component.
|
|
@@ -860,21 +860,21 @@ class Tr(BaseHTML):
|
|
|
860
860
|
class_name: Optional[Any] = None,
|
|
861
861
|
autofocus: Optional[bool] = None,
|
|
862
862
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
863
|
-
on_blur: Optional[EventType[
|
|
864
|
-
on_click: Optional[EventType[
|
|
865
|
-
on_context_menu: Optional[EventType[
|
|
866
|
-
on_double_click: Optional[EventType[
|
|
867
|
-
on_focus: Optional[EventType[
|
|
868
|
-
on_mount: Optional[EventType[
|
|
869
|
-
on_mouse_down: Optional[EventType[
|
|
870
|
-
on_mouse_enter: Optional[EventType[
|
|
871
|
-
on_mouse_leave: Optional[EventType[
|
|
872
|
-
on_mouse_move: Optional[EventType[
|
|
873
|
-
on_mouse_out: Optional[EventType[
|
|
874
|
-
on_mouse_over: Optional[EventType[
|
|
875
|
-
on_mouse_up: Optional[EventType[
|
|
876
|
-
on_scroll: Optional[EventType[
|
|
877
|
-
on_unmount: Optional[EventType[
|
|
863
|
+
on_blur: Optional[EventType[()]] = None,
|
|
864
|
+
on_click: Optional[EventType[()]] = None,
|
|
865
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
866
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
867
|
+
on_focus: Optional[EventType[()]] = None,
|
|
868
|
+
on_mount: Optional[EventType[()]] = None,
|
|
869
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
870
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
871
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
872
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
873
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
874
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
875
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
876
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
877
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
878
878
|
**props,
|
|
879
879
|
) -> "Tr":
|
|
880
880
|
"""Create the component.
|