reflex 0.7.7a2__py3-none-any.whl → 0.7.8a1__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/web/utils/state.js +26 -16
- reflex/admin.py +1 -1
- reflex/app.py +6 -17
- reflex/app_mixins/lifespan.py +1 -1
- reflex/base.py +2 -2
- reflex/compiler/compiler.py +8 -7
- reflex/compiler/utils.py +6 -5
- reflex/components/base/app_wrap.pyi +18 -17
- reflex/components/base/bare.py +2 -1
- reflex/components/base/body.pyi +214 -19
- reflex/components/base/document.pyi +82 -81
- reflex/components/base/error_boundary.pyi +19 -18
- reflex/components/base/fragment.pyi +18 -17
- reflex/components/base/head.pyi +34 -33
- reflex/components/base/link.pyi +425 -36
- reflex/components/base/meta.pyi +673 -92
- reflex/components/base/script.pyi +21 -20
- reflex/components/base/strict_mode.pyi +18 -17
- reflex/components/component.py +20 -36
- reflex/components/core/auto_scroll.pyi +18 -17
- reflex/components/core/banner.pyi +98 -97
- reflex/components/core/breakpoints.py +1 -1
- reflex/components/core/client_side_routing.pyi +34 -33
- reflex/components/core/clipboard.py +1 -1
- reflex/components/core/clipboard.pyi +19 -18
- reflex/components/core/cond.py +2 -2
- reflex/components/core/debounce.py +3 -3
- reflex/components/core/debounce.pyi +20 -19
- reflex/components/core/foreach.py +2 -1
- reflex/components/core/html.pyi +18 -17
- reflex/components/core/match.py +2 -2
- reflex/components/core/sticky.pyi +66 -65
- reflex/components/core/upload.py +7 -10
- reflex/components/core/upload.pyi +86 -85
- reflex/components/datadisplay/code.pyi +34 -33
- reflex/components/datadisplay/dataeditor.py +3 -2
- reflex/components/datadisplay/dataeditor.pyi +35 -68
- reflex/components/datadisplay/shiki_code_block.pyi +50 -49
- reflex/components/el/element.pyi +18 -17
- reflex/components/el/elements/base.pyi +18 -17
- reflex/components/el/elements/forms.py +2 -1
- reflex/components/el/elements/forms.pyi +290 -332
- reflex/components/el/elements/inline.pyi +450 -449
- reflex/components/el/elements/media.pyi +402 -401
- reflex/components/el/elements/metadata.pyi +99 -97
- reflex/components/el/elements/other.pyi +114 -113
- reflex/components/el/elements/scripts.pyi +50 -49
- reflex/components/el/elements/sectioning.pyi +242 -241
- reflex/components/el/elements/tables.pyi +162 -161
- reflex/components/el/elements/typography.pyi +242 -241
- reflex/components/gridjs/datatable.py +3 -2
- reflex/components/gridjs/datatable.pyi +35 -34
- reflex/components/lucide/icon.pyi +50 -49
- reflex/components/markdown/markdown.py +2 -1
- reflex/components/markdown/markdown.pyi +20 -19
- reflex/components/moment/moment.pyi +19 -18
- reflex/components/next/base.pyi +18 -17
- reflex/components/next/image.pyi +20 -19
- reflex/components/next/link.pyi +18 -17
- reflex/components/next/video.pyi +18 -17
- reflex/components/plotly/plotly.py +3 -3
- reflex/components/plotly/plotly.pyi +326 -325
- reflex/components/radix/primitives/accordion.py +2 -1
- reflex/components/radix/primitives/accordion.pyi +115 -114
- reflex/components/radix/primitives/base.pyi +34 -33
- reflex/components/radix/primitives/drawer.py +2 -1
- reflex/components/radix/primitives/drawer.pyi +187 -186
- reflex/components/radix/primitives/form.pyi +168 -182
- reflex/components/radix/primitives/progress.pyi +82 -81
- reflex/components/radix/primitives/slider.py +2 -1
- reflex/components/radix/primitives/slider.pyi +84 -83
- reflex/components/radix/themes/base.pyi +130 -129
- reflex/components/radix/themes/color_mode.pyi +51 -50
- reflex/components/radix/themes/components/alert_dialog.pyi +118 -117
- reflex/components/radix/themes/components/aspect_ratio.pyi +18 -17
- reflex/components/radix/themes/components/avatar.pyi +18 -17
- reflex/components/radix/themes/components/badge.pyi +18 -17
- reflex/components/radix/themes/components/button.pyi +18 -17
- reflex/components/radix/themes/components/callout.pyi +82 -81
- reflex/components/radix/themes/components/card.pyi +18 -17
- reflex/components/radix/themes/components/checkbox.pyi +53 -52
- reflex/components/radix/themes/components/checkbox_cards.pyi +34 -33
- reflex/components/radix/themes/components/checkbox_group.py +2 -1
- reflex/components/radix/themes/components/checkbox_group.pyi +34 -33
- reflex/components/radix/themes/components/context_menu.pyi +225 -224
- reflex/components/radix/themes/components/data_list.pyi +66 -65
- reflex/components/radix/themes/components/dialog.pyi +121 -120
- reflex/components/radix/themes/components/dropdown_menu.pyi +142 -141
- reflex/components/radix/themes/components/hover_card.pyi +68 -67
- reflex/components/radix/themes/components/icon_button.pyi +18 -17
- reflex/components/radix/themes/components/inset.pyi +18 -17
- reflex/components/radix/themes/components/popover.pyi +73 -72
- reflex/components/radix/themes/components/progress.pyi +18 -17
- reflex/components/radix/themes/components/radio.pyi +18 -17
- reflex/components/radix/themes/components/radio_cards.pyi +35 -34
- reflex/components/radix/themes/components/radio_group.py +2 -1
- reflex/components/radix/themes/components/radio_group.pyi +67 -66
- reflex/components/radix/themes/components/scroll_area.pyi +18 -17
- reflex/components/radix/themes/components/segmented_control.py +2 -1
- reflex/components/radix/themes/components/segmented_control.pyi +35 -34
- reflex/components/radix/themes/components/select.py +2 -1
- reflex/components/radix/themes/components/select.pyi +155 -154
- reflex/components/radix/themes/components/separator.pyi +18 -17
- reflex/components/radix/themes/components/skeleton.pyi +18 -17
- reflex/components/radix/themes/components/slider.py +2 -1
- reflex/components/radix/themes/components/slider.pyi +20 -31
- reflex/components/radix/themes/components/spinner.pyi +18 -17
- reflex/components/radix/themes/components/switch.pyi +19 -18
- reflex/components/radix/themes/components/table.pyi +114 -113
- reflex/components/radix/themes/components/tabs.pyi +84 -83
- reflex/components/radix/themes/components/text_area.pyi +21 -24
- reflex/components/radix/themes/components/text_field.pyi +56 -63
- reflex/components/radix/themes/components/tooltip.py +2 -2
- reflex/components/radix/themes/components/tooltip.pyi +21 -20
- reflex/components/radix/themes/layout/base.pyi +18 -17
- reflex/components/radix/themes/layout/box.pyi +18 -17
- reflex/components/radix/themes/layout/center.pyi +18 -17
- reflex/components/radix/themes/layout/container.pyi +18 -17
- reflex/components/radix/themes/layout/flex.pyi +18 -17
- reflex/components/radix/themes/layout/grid.pyi +18 -17
- reflex/components/radix/themes/layout/list.py +2 -1
- reflex/components/radix/themes/layout/list.pyi +473 -83
- reflex/components/radix/themes/layout/section.pyi +18 -17
- reflex/components/radix/themes/layout/spacer.pyi +18 -17
- reflex/components/radix/themes/layout/stack.pyi +50 -49
- reflex/components/radix/themes/typography/blockquote.pyi +18 -17
- reflex/components/radix/themes/typography/code.pyi +18 -17
- reflex/components/radix/themes/typography/heading.pyi +18 -17
- reflex/components/radix/themes/typography/link.pyi +18 -17
- reflex/components/radix/themes/typography/text.pyi +114 -113
- reflex/components/react_player/audio.pyi +34 -36
- reflex/components/react_player/react_player.pyi +34 -33
- reflex/components/react_player/video.pyi +34 -36
- reflex/components/recharts/cartesian.py +7 -6
- reflex/components/recharts/cartesian.pyi +302 -301
- reflex/components/recharts/charts.py +2 -1
- reflex/components/recharts/charts.pyi +177 -176
- reflex/components/recharts/general.py +3 -2
- reflex/components/recharts/general.pyi +99 -98
- reflex/components/recharts/polar.py +9 -8
- reflex/components/recharts/polar.pyi +62 -61
- reflex/components/recharts/recharts.pyi +34 -33
- reflex/components/sonner/toast.pyi +19 -18
- reflex/components/suneditor/editor.py +22 -24
- reflex/components/suneditor/editor.pyi +27 -28
- reflex/components/tags/cond_tag.py +3 -3
- reflex/components/tags/iter_tag.py +2 -1
- reflex/components/tags/tag.py +3 -2
- reflex/config.py +27 -17
- reflex/constants/installer.py +4 -4
- reflex/constants/route.py +2 -3
- reflex/constants/utils.py +4 -3
- reflex/event.py +56 -28
- reflex/experimental/client_state.py +3 -2
- reflex/experimental/layout.pyi +84 -83
- reflex/istate/data.py +1 -1
- reflex/istate/storage.py +2 -2
- reflex/model.py +3 -3
- reflex/page.py +3 -2
- reflex/state.py +56 -57
- reflex/style.py +3 -2
- reflex/testing.py +12 -21
- reflex/utils/codespaces.py +14 -15
- reflex/utils/decorator.py +2 -1
- reflex/utils/exec.py +1 -1
- reflex/utils/format.py +2 -2
- reflex/utils/imports.py +6 -8
- reflex/utils/misc.py +2 -1
- reflex/utils/net.py +2 -1
- reflex/utils/prerequisites.py +12 -5
- reflex/utils/processes.py +6 -5
- reflex/utils/pyi_generator.py +6 -5
- reflex/utils/serializers.py +13 -25
- reflex/utils/types.py +34 -46
- reflex/vars/base.py +60 -56
- reflex/vars/dep_tracking.py +4 -4
- reflex/vars/function.py +13 -36
- reflex/vars/number.py +5 -17
- reflex/vars/object.py +9 -16
- reflex/vars/sequence.py +11 -23
- {reflex-0.7.7a2.dist-info → reflex-0.7.8a1.dist-info}/METADATA +1 -1
- {reflex-0.7.7a2.dist-info → reflex-0.7.8a1.dist-info}/RECORD +185 -185
- {reflex-0.7.7a2.dist-info → reflex-0.7.8a1.dist-info}/WHEEL +0 -0
- {reflex-0.7.7a2.dist-info → reflex-0.7.8a1.dist-info}/entry_points.txt +0 -0
- {reflex-0.7.7a2.dist-info → reflex-0.7.8a1.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from
|
|
6
|
+
from collections.abc import Mapping, Sequence
|
|
7
|
+
from typing import Any, Literal, overload
|
|
7
8
|
|
|
8
9
|
from jinja2 import Environment
|
|
9
10
|
|
|
@@ -228,23 +229,23 @@ class Button(BaseHTML):
|
|
|
228
229
|
class_name: Any | None = None,
|
|
229
230
|
autofocus: bool | None = None,
|
|
230
231
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
231
|
-
on_blur:
|
|
232
|
-
on_click:
|
|
233
|
-
on_context_menu:
|
|
234
|
-
on_double_click:
|
|
235
|
-
on_focus:
|
|
236
|
-
on_mount:
|
|
237
|
-
on_mouse_down:
|
|
238
|
-
on_mouse_enter:
|
|
239
|
-
on_mouse_leave:
|
|
240
|
-
on_mouse_move:
|
|
241
|
-
on_mouse_out:
|
|
242
|
-
on_mouse_over:
|
|
243
|
-
on_mouse_up:
|
|
244
|
-
on_scroll:
|
|
245
|
-
on_unmount:
|
|
232
|
+
on_blur: EventType[()] | None = None,
|
|
233
|
+
on_click: EventType[()] | None = None,
|
|
234
|
+
on_context_menu: EventType[()] | None = None,
|
|
235
|
+
on_double_click: EventType[()] | None = None,
|
|
236
|
+
on_focus: EventType[()] | None = None,
|
|
237
|
+
on_mount: EventType[()] | None = None,
|
|
238
|
+
on_mouse_down: EventType[()] | None = None,
|
|
239
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
240
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
241
|
+
on_mouse_move: EventType[()] | None = None,
|
|
242
|
+
on_mouse_out: EventType[()] | None = None,
|
|
243
|
+
on_mouse_over: EventType[()] | None = None,
|
|
244
|
+
on_mouse_up: EventType[()] | None = None,
|
|
245
|
+
on_scroll: EventType[()] | None = None,
|
|
246
|
+
on_unmount: EventType[()] | None = None,
|
|
246
247
|
**props,
|
|
247
|
-
) ->
|
|
248
|
+
) -> Button:
|
|
248
249
|
"""Create the component.
|
|
249
250
|
|
|
250
251
|
Args:
|
|
@@ -483,23 +484,23 @@ class Datalist(BaseHTML):
|
|
|
483
484
|
class_name: Any | None = None,
|
|
484
485
|
autofocus: bool | None = None,
|
|
485
486
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
486
|
-
on_blur:
|
|
487
|
-
on_click:
|
|
488
|
-
on_context_menu:
|
|
489
|
-
on_double_click:
|
|
490
|
-
on_focus:
|
|
491
|
-
on_mount:
|
|
492
|
-
on_mouse_down:
|
|
493
|
-
on_mouse_enter:
|
|
494
|
-
on_mouse_leave:
|
|
495
|
-
on_mouse_move:
|
|
496
|
-
on_mouse_out:
|
|
497
|
-
on_mouse_over:
|
|
498
|
-
on_mouse_up:
|
|
499
|
-
on_scroll:
|
|
500
|
-
on_unmount:
|
|
487
|
+
on_blur: EventType[()] | None = None,
|
|
488
|
+
on_click: EventType[()] | None = None,
|
|
489
|
+
on_context_menu: EventType[()] | None = None,
|
|
490
|
+
on_double_click: EventType[()] | None = None,
|
|
491
|
+
on_focus: EventType[()] | None = None,
|
|
492
|
+
on_mount: EventType[()] | None = None,
|
|
493
|
+
on_mouse_down: EventType[()] | None = None,
|
|
494
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
495
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
496
|
+
on_mouse_move: EventType[()] | None = None,
|
|
497
|
+
on_mouse_out: EventType[()] | None = None,
|
|
498
|
+
on_mouse_over: EventType[()] | None = None,
|
|
499
|
+
on_mouse_up: EventType[()] | None = None,
|
|
500
|
+
on_scroll: EventType[()] | None = None,
|
|
501
|
+
on_unmount: EventType[()] | None = None,
|
|
501
502
|
**props,
|
|
502
|
-
) ->
|
|
503
|
+
) -> Datalist:
|
|
503
504
|
"""Create the component.
|
|
504
505
|
|
|
505
506
|
Args:
|
|
@@ -552,23 +553,23 @@ class Fieldset(Element):
|
|
|
552
553
|
class_name: Any | None = None,
|
|
553
554
|
autofocus: bool | None = None,
|
|
554
555
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
555
|
-
on_blur:
|
|
556
|
-
on_click:
|
|
557
|
-
on_context_menu:
|
|
558
|
-
on_double_click:
|
|
559
|
-
on_focus:
|
|
560
|
-
on_mount:
|
|
561
|
-
on_mouse_down:
|
|
562
|
-
on_mouse_enter:
|
|
563
|
-
on_mouse_leave:
|
|
564
|
-
on_mouse_move:
|
|
565
|
-
on_mouse_out:
|
|
566
|
-
on_mouse_over:
|
|
567
|
-
on_mouse_up:
|
|
568
|
-
on_scroll:
|
|
569
|
-
on_unmount:
|
|
556
|
+
on_blur: EventType[()] | None = None,
|
|
557
|
+
on_click: EventType[()] | None = None,
|
|
558
|
+
on_context_menu: EventType[()] | None = None,
|
|
559
|
+
on_double_click: EventType[()] | None = None,
|
|
560
|
+
on_focus: EventType[()] | None = None,
|
|
561
|
+
on_mount: EventType[()] | None = None,
|
|
562
|
+
on_mouse_down: EventType[()] | None = None,
|
|
563
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
564
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
565
|
+
on_mouse_move: EventType[()] | None = None,
|
|
566
|
+
on_mouse_out: EventType[()] | None = None,
|
|
567
|
+
on_mouse_over: EventType[()] | None = None,
|
|
568
|
+
on_mouse_up: EventType[()] | None = None,
|
|
569
|
+
on_scroll: EventType[()] | None = None,
|
|
570
|
+
on_unmount: EventType[()] | None = None,
|
|
570
571
|
**props,
|
|
571
|
-
) ->
|
|
572
|
+
) -> Fieldset:
|
|
572
573
|
"""Create the component.
|
|
573
574
|
|
|
574
575
|
Args:
|
|
@@ -797,29 +798,24 @@ class Form(BaseHTML):
|
|
|
797
798
|
class_name: Any | None = None,
|
|
798
799
|
autofocus: bool | None = None,
|
|
799
800
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
800
|
-
on_blur:
|
|
801
|
-
on_click:
|
|
802
|
-
on_context_menu:
|
|
803
|
-
on_double_click:
|
|
804
|
-
on_focus:
|
|
805
|
-
on_mount:
|
|
806
|
-
on_mouse_down:
|
|
807
|
-
on_mouse_enter:
|
|
808
|
-
on_mouse_leave:
|
|
809
|
-
on_mouse_move:
|
|
810
|
-
on_mouse_out:
|
|
811
|
-
on_mouse_over:
|
|
812
|
-
on_mouse_up:
|
|
813
|
-
on_scroll:
|
|
814
|
-
on_submit:
|
|
815
|
-
|
|
816
|
-
EventType[()] | EventType[dict[str, Any]],
|
|
817
|
-
EventType[()] | EventType[dict[str, str]],
|
|
818
|
-
]
|
|
819
|
-
] = None,
|
|
820
|
-
on_unmount: Optional[EventType[()]] = None,
|
|
801
|
+
on_blur: EventType[()] | None = None,
|
|
802
|
+
on_click: EventType[()] | None = None,
|
|
803
|
+
on_context_menu: EventType[()] | None = None,
|
|
804
|
+
on_double_click: EventType[()] | None = None,
|
|
805
|
+
on_focus: EventType[()] | None = None,
|
|
806
|
+
on_mount: EventType[()] | None = None,
|
|
807
|
+
on_mouse_down: EventType[()] | None = None,
|
|
808
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
809
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
810
|
+
on_mouse_move: EventType[()] | None = None,
|
|
811
|
+
on_mouse_out: EventType[()] | None = None,
|
|
812
|
+
on_mouse_over: EventType[()] | None = None,
|
|
813
|
+
on_mouse_up: EventType[()] | None = None,
|
|
814
|
+
on_scroll: EventType[()] | None = None,
|
|
815
|
+
on_submit: EventType[()] | EventType[dict[str, Any]] | (EventType[()] | EventType[dict[str, str]]) | None = None,
|
|
816
|
+
on_unmount: EventType[()] | None = None,
|
|
821
817
|
**props,
|
|
822
|
-
) ->
|
|
818
|
+
) -> Form:
|
|
823
819
|
"""Create a form component.
|
|
824
820
|
|
|
825
821
|
Args:
|
|
@@ -1170,29 +1166,25 @@ class BaseInput(BaseHTML):
|
|
|
1170
1166
|
class_name: Any | None = None,
|
|
1171
1167
|
autofocus: bool | None = None,
|
|
1172
1168
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
1173
|
-
on_blur:
|
|
1174
|
-
on_click:
|
|
1175
|
-
on_context_menu:
|
|
1176
|
-
on_double_click:
|
|
1177
|
-
on_focus:
|
|
1178
|
-
on_key_down:
|
|
1179
|
-
|
|
1180
|
-
] = None,
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
] = None,
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
on_mouse_over: Optional[EventType[()]] = None,
|
|
1191
|
-
on_mouse_up: Optional[EventType[()]] = None,
|
|
1192
|
-
on_scroll: Optional[EventType[()]] = None,
|
|
1193
|
-
on_unmount: Optional[EventType[()]] = None,
|
|
1169
|
+
on_blur: EventType[()] | None = None,
|
|
1170
|
+
on_click: EventType[()] | None = None,
|
|
1171
|
+
on_context_menu: EventType[()] | None = None,
|
|
1172
|
+
on_double_click: EventType[()] | None = None,
|
|
1173
|
+
on_focus: EventType[()] | None = None,
|
|
1174
|
+
on_key_down: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
1175
|
+
on_key_up: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
1176
|
+
on_mount: EventType[()] | None = None,
|
|
1177
|
+
on_mouse_down: EventType[()] | None = None,
|
|
1178
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
1179
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
1180
|
+
on_mouse_move: EventType[()] | None = None,
|
|
1181
|
+
on_mouse_out: EventType[()] | None = None,
|
|
1182
|
+
on_mouse_over: EventType[()] | None = None,
|
|
1183
|
+
on_mouse_up: EventType[()] | None = None,
|
|
1184
|
+
on_scroll: EventType[()] | None = None,
|
|
1185
|
+
on_unmount: EventType[()] | None = None,
|
|
1194
1186
|
**props,
|
|
1195
|
-
) ->
|
|
1187
|
+
) -> BaseInput:
|
|
1196
1188
|
"""Create the component.
|
|
1197
1189
|
|
|
1198
1190
|
Args:
|
|
@@ -1536,30 +1528,26 @@ class CheckboxInput(BaseInput):
|
|
|
1536
1528
|
class_name: Any | None = None,
|
|
1537
1529
|
autofocus: bool | None = None,
|
|
1538
1530
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
1539
|
-
on_blur:
|
|
1540
|
-
on_change:
|
|
1541
|
-
on_click:
|
|
1542
|
-
on_context_menu:
|
|
1543
|
-
on_double_click:
|
|
1544
|
-
on_focus:
|
|
1545
|
-
on_key_down:
|
|
1546
|
-
|
|
1547
|
-
] = None,
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
] = None,
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
on_mouse_over: Optional[EventType[()]] = None,
|
|
1558
|
-
on_mouse_up: Optional[EventType[()]] = None,
|
|
1559
|
-
on_scroll: Optional[EventType[()]] = None,
|
|
1560
|
-
on_unmount: Optional[EventType[()]] = None,
|
|
1531
|
+
on_blur: EventType[()] | EventType[bool] | None = None,
|
|
1532
|
+
on_change: EventType[()] | EventType[bool] | None = None,
|
|
1533
|
+
on_click: EventType[()] | None = None,
|
|
1534
|
+
on_context_menu: EventType[()] | None = None,
|
|
1535
|
+
on_double_click: EventType[()] | None = None,
|
|
1536
|
+
on_focus: EventType[()] | EventType[bool] | None = None,
|
|
1537
|
+
on_key_down: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
1538
|
+
on_key_up: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
1539
|
+
on_mount: EventType[()] | None = None,
|
|
1540
|
+
on_mouse_down: EventType[()] | None = None,
|
|
1541
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
1542
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
1543
|
+
on_mouse_move: EventType[()] | None = None,
|
|
1544
|
+
on_mouse_out: EventType[()] | None = None,
|
|
1545
|
+
on_mouse_over: EventType[()] | None = None,
|
|
1546
|
+
on_mouse_up: EventType[()] | None = None,
|
|
1547
|
+
on_scroll: EventType[()] | None = None,
|
|
1548
|
+
on_unmount: EventType[()] | None = None,
|
|
1561
1549
|
**props,
|
|
1562
|
-
) ->
|
|
1550
|
+
) -> CheckboxInput:
|
|
1563
1551
|
"""Create the component.
|
|
1564
1552
|
|
|
1565
1553
|
Args:
|
|
@@ -1906,48 +1894,26 @@ class ValueNumberInput(BaseInput):
|
|
|
1906
1894
|
class_name: Any | None = None,
|
|
1907
1895
|
autofocus: bool | None = None,
|
|
1908
1896
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
1909
|
-
on_blur:
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
] = None,
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
] = None,
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
Union[
|
|
1928
|
-
EventType[()] | EventType[float],
|
|
1929
|
-
EventType[()] | EventType[int],
|
|
1930
|
-
EventType[()] | EventType[str],
|
|
1931
|
-
]
|
|
1932
|
-
] = None,
|
|
1933
|
-
on_key_down: Optional[
|
|
1934
|
-
EventType[()] | EventType[str] | EventType[str, KeyInputInfo]
|
|
1935
|
-
] = None,
|
|
1936
|
-
on_key_up: Optional[
|
|
1937
|
-
EventType[()] | EventType[str] | EventType[str, KeyInputInfo]
|
|
1938
|
-
] = None,
|
|
1939
|
-
on_mount: Optional[EventType[()]] = None,
|
|
1940
|
-
on_mouse_down: Optional[EventType[()]] = None,
|
|
1941
|
-
on_mouse_enter: Optional[EventType[()]] = None,
|
|
1942
|
-
on_mouse_leave: Optional[EventType[()]] = None,
|
|
1943
|
-
on_mouse_move: Optional[EventType[()]] = None,
|
|
1944
|
-
on_mouse_out: Optional[EventType[()]] = None,
|
|
1945
|
-
on_mouse_over: Optional[EventType[()]] = None,
|
|
1946
|
-
on_mouse_up: Optional[EventType[()]] = None,
|
|
1947
|
-
on_scroll: Optional[EventType[()]] = None,
|
|
1948
|
-
on_unmount: Optional[EventType[()]] = None,
|
|
1897
|
+
on_blur: EventType[()] | EventType[float] | (EventType[()] | EventType[int]) | (EventType[()] | EventType[str]) | None = None,
|
|
1898
|
+
on_change: EventType[()] | EventType[float] | (EventType[()] | EventType[int]) | (EventType[()] | EventType[str]) | None = None,
|
|
1899
|
+
on_click: EventType[()] | None = None,
|
|
1900
|
+
on_context_menu: EventType[()] | None = None,
|
|
1901
|
+
on_double_click: EventType[()] | None = None,
|
|
1902
|
+
on_focus: EventType[()] | EventType[float] | (EventType[()] | EventType[int]) | (EventType[()] | EventType[str]) | None = None,
|
|
1903
|
+
on_key_down: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
1904
|
+
on_key_up: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
1905
|
+
on_mount: EventType[()] | None = None,
|
|
1906
|
+
on_mouse_down: EventType[()] | None = None,
|
|
1907
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
1908
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
1909
|
+
on_mouse_move: EventType[()] | None = None,
|
|
1910
|
+
on_mouse_out: EventType[()] | None = None,
|
|
1911
|
+
on_mouse_over: EventType[()] | None = None,
|
|
1912
|
+
on_mouse_up: EventType[()] | None = None,
|
|
1913
|
+
on_scroll: EventType[()] | None = None,
|
|
1914
|
+
on_unmount: EventType[()] | None = None,
|
|
1949
1915
|
**props,
|
|
1950
|
-
) ->
|
|
1916
|
+
) -> ValueNumberInput:
|
|
1951
1917
|
"""Create the component.
|
|
1952
1918
|
|
|
1953
1919
|
Args:
|
|
@@ -2294,30 +2260,26 @@ class Input(BaseInput):
|
|
|
2294
2260
|
class_name: Any | None = None,
|
|
2295
2261
|
autofocus: bool | None = None,
|
|
2296
2262
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
2297
|
-
on_blur:
|
|
2298
|
-
on_change:
|
|
2299
|
-
on_click:
|
|
2300
|
-
on_context_menu:
|
|
2301
|
-
on_double_click:
|
|
2302
|
-
on_focus:
|
|
2303
|
-
on_key_down:
|
|
2304
|
-
|
|
2305
|
-
] = None,
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
] = None,
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
on_mouse_over: Optional[EventType[()]] = None,
|
|
2316
|
-
on_mouse_up: Optional[EventType[()]] = None,
|
|
2317
|
-
on_scroll: Optional[EventType[()]] = None,
|
|
2318
|
-
on_unmount: Optional[EventType[()]] = None,
|
|
2263
|
+
on_blur: EventType[()] | EventType[str] | None = None,
|
|
2264
|
+
on_change: EventType[()] | EventType[str] | None = None,
|
|
2265
|
+
on_click: EventType[()] | None = None,
|
|
2266
|
+
on_context_menu: EventType[()] | None = None,
|
|
2267
|
+
on_double_click: EventType[()] | None = None,
|
|
2268
|
+
on_focus: EventType[()] | EventType[str] | None = None,
|
|
2269
|
+
on_key_down: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
2270
|
+
on_key_up: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
2271
|
+
on_mount: EventType[()] | None = None,
|
|
2272
|
+
on_mouse_down: EventType[()] | None = None,
|
|
2273
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
2274
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
2275
|
+
on_mouse_move: EventType[()] | None = None,
|
|
2276
|
+
on_mouse_out: EventType[()] | None = None,
|
|
2277
|
+
on_mouse_over: EventType[()] | None = None,
|
|
2278
|
+
on_mouse_up: EventType[()] | None = None,
|
|
2279
|
+
on_scroll: EventType[()] | None = None,
|
|
2280
|
+
on_unmount: EventType[()] | None = None,
|
|
2319
2281
|
**props,
|
|
2320
|
-
) ->
|
|
2282
|
+
) -> Input:
|
|
2321
2283
|
"""Create an Input component.
|
|
2322
2284
|
|
|
2323
2285
|
Args:
|
|
@@ -2583,23 +2545,23 @@ class Label(BaseHTML):
|
|
|
2583
2545
|
class_name: Any | None = None,
|
|
2584
2546
|
autofocus: bool | None = None,
|
|
2585
2547
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
2586
|
-
on_blur:
|
|
2587
|
-
on_click:
|
|
2588
|
-
on_context_menu:
|
|
2589
|
-
on_double_click:
|
|
2590
|
-
on_focus:
|
|
2591
|
-
on_mount:
|
|
2592
|
-
on_mouse_down:
|
|
2593
|
-
on_mouse_enter:
|
|
2594
|
-
on_mouse_leave:
|
|
2595
|
-
on_mouse_move:
|
|
2596
|
-
on_mouse_out:
|
|
2597
|
-
on_mouse_over:
|
|
2598
|
-
on_mouse_up:
|
|
2599
|
-
on_scroll:
|
|
2600
|
-
on_unmount:
|
|
2548
|
+
on_blur: EventType[()] | None = None,
|
|
2549
|
+
on_click: EventType[()] | None = None,
|
|
2550
|
+
on_context_menu: EventType[()] | None = None,
|
|
2551
|
+
on_double_click: EventType[()] | None = None,
|
|
2552
|
+
on_focus: EventType[()] | None = None,
|
|
2553
|
+
on_mount: EventType[()] | None = None,
|
|
2554
|
+
on_mouse_down: EventType[()] | None = None,
|
|
2555
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
2556
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
2557
|
+
on_mouse_move: EventType[()] | None = None,
|
|
2558
|
+
on_mouse_out: EventType[()] | None = None,
|
|
2559
|
+
on_mouse_over: EventType[()] | None = None,
|
|
2560
|
+
on_mouse_up: EventType[()] | None = None,
|
|
2561
|
+
on_scroll: EventType[()] | None = None,
|
|
2562
|
+
on_unmount: EventType[()] | None = None,
|
|
2601
2563
|
**props,
|
|
2602
|
-
) ->
|
|
2564
|
+
) -> Label:
|
|
2603
2565
|
"""Create the component.
|
|
2604
2566
|
|
|
2605
2567
|
Args:
|
|
@@ -2829,23 +2791,23 @@ class Legend(BaseHTML):
|
|
|
2829
2791
|
class_name: Any | None = None,
|
|
2830
2792
|
autofocus: bool | None = None,
|
|
2831
2793
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
2832
|
-
on_blur:
|
|
2833
|
-
on_click:
|
|
2834
|
-
on_context_menu:
|
|
2835
|
-
on_double_click:
|
|
2836
|
-
on_focus:
|
|
2837
|
-
on_mount:
|
|
2838
|
-
on_mouse_down:
|
|
2839
|
-
on_mouse_enter:
|
|
2840
|
-
on_mouse_leave:
|
|
2841
|
-
on_mouse_move:
|
|
2842
|
-
on_mouse_out:
|
|
2843
|
-
on_mouse_over:
|
|
2844
|
-
on_mouse_up:
|
|
2845
|
-
on_scroll:
|
|
2846
|
-
on_unmount:
|
|
2794
|
+
on_blur: EventType[()] | None = None,
|
|
2795
|
+
on_click: EventType[()] | None = None,
|
|
2796
|
+
on_context_menu: EventType[()] | None = None,
|
|
2797
|
+
on_double_click: EventType[()] | None = None,
|
|
2798
|
+
on_focus: EventType[()] | None = None,
|
|
2799
|
+
on_mount: EventType[()] | None = None,
|
|
2800
|
+
on_mouse_down: EventType[()] | None = None,
|
|
2801
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
2802
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
2803
|
+
on_mouse_move: EventType[()] | None = None,
|
|
2804
|
+
on_mouse_out: EventType[()] | None = None,
|
|
2805
|
+
on_mouse_over: EventType[()] | None = None,
|
|
2806
|
+
on_mouse_up: EventType[()] | None = None,
|
|
2807
|
+
on_scroll: EventType[()] | None = None,
|
|
2808
|
+
on_unmount: EventType[()] | None = None,
|
|
2847
2809
|
**props,
|
|
2848
|
-
) ->
|
|
2810
|
+
) -> Legend:
|
|
2849
2811
|
"""Create the component.
|
|
2850
2812
|
|
|
2851
2813
|
Args:
|
|
@@ -3080,23 +3042,23 @@ class Meter(BaseHTML):
|
|
|
3080
3042
|
class_name: Any | None = None,
|
|
3081
3043
|
autofocus: bool | None = None,
|
|
3082
3044
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
3083
|
-
on_blur:
|
|
3084
|
-
on_click:
|
|
3085
|
-
on_context_menu:
|
|
3086
|
-
on_double_click:
|
|
3087
|
-
on_focus:
|
|
3088
|
-
on_mount:
|
|
3089
|
-
on_mouse_down:
|
|
3090
|
-
on_mouse_enter:
|
|
3091
|
-
on_mouse_leave:
|
|
3092
|
-
on_mouse_move:
|
|
3093
|
-
on_mouse_out:
|
|
3094
|
-
on_mouse_over:
|
|
3095
|
-
on_mouse_up:
|
|
3096
|
-
on_scroll:
|
|
3097
|
-
on_unmount:
|
|
3045
|
+
on_blur: EventType[()] | None = None,
|
|
3046
|
+
on_click: EventType[()] | None = None,
|
|
3047
|
+
on_context_menu: EventType[()] | None = None,
|
|
3048
|
+
on_double_click: EventType[()] | None = None,
|
|
3049
|
+
on_focus: EventType[()] | None = None,
|
|
3050
|
+
on_mount: EventType[()] | None = None,
|
|
3051
|
+
on_mouse_down: EventType[()] | None = None,
|
|
3052
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
3053
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
3054
|
+
on_mouse_move: EventType[()] | None = None,
|
|
3055
|
+
on_mouse_out: EventType[()] | None = None,
|
|
3056
|
+
on_mouse_over: EventType[()] | None = None,
|
|
3057
|
+
on_mouse_up: EventType[()] | None = None,
|
|
3058
|
+
on_scroll: EventType[()] | None = None,
|
|
3059
|
+
on_unmount: EventType[()] | None = None,
|
|
3098
3060
|
**props,
|
|
3099
|
-
) ->
|
|
3061
|
+
) -> Meter:
|
|
3100
3062
|
"""Create the component.
|
|
3101
3063
|
|
|
3102
3064
|
Args:
|
|
@@ -3333,23 +3295,23 @@ class Optgroup(BaseHTML):
|
|
|
3333
3295
|
class_name: Any | None = None,
|
|
3334
3296
|
autofocus: bool | None = None,
|
|
3335
3297
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
3336
|
-
on_blur:
|
|
3337
|
-
on_click:
|
|
3338
|
-
on_context_menu:
|
|
3339
|
-
on_double_click:
|
|
3340
|
-
on_focus:
|
|
3341
|
-
on_mount:
|
|
3342
|
-
on_mouse_down:
|
|
3343
|
-
on_mouse_enter:
|
|
3344
|
-
on_mouse_leave:
|
|
3345
|
-
on_mouse_move:
|
|
3346
|
-
on_mouse_out:
|
|
3347
|
-
on_mouse_over:
|
|
3348
|
-
on_mouse_up:
|
|
3349
|
-
on_scroll:
|
|
3350
|
-
on_unmount:
|
|
3298
|
+
on_blur: EventType[()] | None = None,
|
|
3299
|
+
on_click: EventType[()] | None = None,
|
|
3300
|
+
on_context_menu: EventType[()] | None = None,
|
|
3301
|
+
on_double_click: EventType[()] | None = None,
|
|
3302
|
+
on_focus: EventType[()] | None = None,
|
|
3303
|
+
on_mount: EventType[()] | None = None,
|
|
3304
|
+
on_mouse_down: EventType[()] | None = None,
|
|
3305
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
3306
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
3307
|
+
on_mouse_move: EventType[()] | None = None,
|
|
3308
|
+
on_mouse_out: EventType[()] | None = None,
|
|
3309
|
+
on_mouse_over: EventType[()] | None = None,
|
|
3310
|
+
on_mouse_up: EventType[()] | None = None,
|
|
3311
|
+
on_scroll: EventType[()] | None = None,
|
|
3312
|
+
on_unmount: EventType[()] | None = None,
|
|
3351
3313
|
**props,
|
|
3352
|
-
) ->
|
|
3314
|
+
) -> Optgroup:
|
|
3353
3315
|
"""Create the component.
|
|
3354
3316
|
|
|
3355
3317
|
Args:
|
|
@@ -3583,23 +3545,23 @@ class Option(BaseHTML):
|
|
|
3583
3545
|
class_name: Any | None = None,
|
|
3584
3546
|
autofocus: bool | None = None,
|
|
3585
3547
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
3586
|
-
on_blur:
|
|
3587
|
-
on_click:
|
|
3588
|
-
on_context_menu:
|
|
3589
|
-
on_double_click:
|
|
3590
|
-
on_focus:
|
|
3591
|
-
on_mount:
|
|
3592
|
-
on_mouse_down:
|
|
3593
|
-
on_mouse_enter:
|
|
3594
|
-
on_mouse_leave:
|
|
3595
|
-
on_mouse_move:
|
|
3596
|
-
on_mouse_out:
|
|
3597
|
-
on_mouse_over:
|
|
3598
|
-
on_mouse_up:
|
|
3599
|
-
on_scroll:
|
|
3600
|
-
on_unmount:
|
|
3548
|
+
on_blur: EventType[()] | None = None,
|
|
3549
|
+
on_click: EventType[()] | None = None,
|
|
3550
|
+
on_context_menu: EventType[()] | None = None,
|
|
3551
|
+
on_double_click: EventType[()] | None = None,
|
|
3552
|
+
on_focus: EventType[()] | None = None,
|
|
3553
|
+
on_mount: EventType[()] | None = None,
|
|
3554
|
+
on_mouse_down: EventType[()] | None = None,
|
|
3555
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
3556
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
3557
|
+
on_mouse_move: EventType[()] | None = None,
|
|
3558
|
+
on_mouse_out: EventType[()] | None = None,
|
|
3559
|
+
on_mouse_over: EventType[()] | None = None,
|
|
3560
|
+
on_mouse_up: EventType[()] | None = None,
|
|
3561
|
+
on_scroll: EventType[()] | None = None,
|
|
3562
|
+
on_unmount: EventType[()] | None = None,
|
|
3601
3563
|
**props,
|
|
3602
|
-
) ->
|
|
3564
|
+
) -> Option:
|
|
3603
3565
|
"""Create the component.
|
|
3604
3566
|
|
|
3605
3567
|
Args:
|
|
@@ -3834,23 +3796,23 @@ class Output(BaseHTML):
|
|
|
3834
3796
|
class_name: Any | None = None,
|
|
3835
3797
|
autofocus: bool | None = None,
|
|
3836
3798
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
3837
|
-
on_blur:
|
|
3838
|
-
on_click:
|
|
3839
|
-
on_context_menu:
|
|
3840
|
-
on_double_click:
|
|
3841
|
-
on_focus:
|
|
3842
|
-
on_mount:
|
|
3843
|
-
on_mouse_down:
|
|
3844
|
-
on_mouse_enter:
|
|
3845
|
-
on_mouse_leave:
|
|
3846
|
-
on_mouse_move:
|
|
3847
|
-
on_mouse_out:
|
|
3848
|
-
on_mouse_over:
|
|
3849
|
-
on_mouse_up:
|
|
3850
|
-
on_scroll:
|
|
3851
|
-
on_unmount:
|
|
3799
|
+
on_blur: EventType[()] | None = None,
|
|
3800
|
+
on_click: EventType[()] | None = None,
|
|
3801
|
+
on_context_menu: EventType[()] | None = None,
|
|
3802
|
+
on_double_click: EventType[()] | None = None,
|
|
3803
|
+
on_focus: EventType[()] | None = None,
|
|
3804
|
+
on_mount: EventType[()] | None = None,
|
|
3805
|
+
on_mouse_down: EventType[()] | None = None,
|
|
3806
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
3807
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
3808
|
+
on_mouse_move: EventType[()] | None = None,
|
|
3809
|
+
on_mouse_out: EventType[()] | None = None,
|
|
3810
|
+
on_mouse_over: EventType[()] | None = None,
|
|
3811
|
+
on_mouse_up: EventType[()] | None = None,
|
|
3812
|
+
on_scroll: EventType[()] | None = None,
|
|
3813
|
+
on_unmount: EventType[()] | None = None,
|
|
3852
3814
|
**props,
|
|
3853
|
-
) ->
|
|
3815
|
+
) -> Output:
|
|
3854
3816
|
"""Create the component.
|
|
3855
3817
|
|
|
3856
3818
|
Args:
|
|
@@ -4084,23 +4046,23 @@ class Progress(BaseHTML):
|
|
|
4084
4046
|
class_name: Any | None = None,
|
|
4085
4047
|
autofocus: bool | None = None,
|
|
4086
4048
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
4087
|
-
on_blur:
|
|
4088
|
-
on_click:
|
|
4089
|
-
on_context_menu:
|
|
4090
|
-
on_double_click:
|
|
4091
|
-
on_focus:
|
|
4092
|
-
on_mount:
|
|
4093
|
-
on_mouse_down:
|
|
4094
|
-
on_mouse_enter:
|
|
4095
|
-
on_mouse_leave:
|
|
4096
|
-
on_mouse_move:
|
|
4097
|
-
on_mouse_out:
|
|
4098
|
-
on_mouse_over:
|
|
4099
|
-
on_mouse_up:
|
|
4100
|
-
on_scroll:
|
|
4101
|
-
on_unmount:
|
|
4049
|
+
on_blur: EventType[()] | None = None,
|
|
4050
|
+
on_click: EventType[()] | None = None,
|
|
4051
|
+
on_context_menu: EventType[()] | None = None,
|
|
4052
|
+
on_double_click: EventType[()] | None = None,
|
|
4053
|
+
on_focus: EventType[()] | None = None,
|
|
4054
|
+
on_mount: EventType[()] | None = None,
|
|
4055
|
+
on_mouse_down: EventType[()] | None = None,
|
|
4056
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
4057
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
4058
|
+
on_mouse_move: EventType[()] | None = None,
|
|
4059
|
+
on_mouse_out: EventType[()] | None = None,
|
|
4060
|
+
on_mouse_over: EventType[()] | None = None,
|
|
4061
|
+
on_mouse_up: EventType[()] | None = None,
|
|
4062
|
+
on_scroll: EventType[()] | None = None,
|
|
4063
|
+
on_unmount: EventType[()] | None = None,
|
|
4102
4064
|
**props,
|
|
4103
|
-
) ->
|
|
4065
|
+
) -> Progress:
|
|
4104
4066
|
"""Create the component.
|
|
4105
4067
|
|
|
4106
4068
|
Args:
|
|
@@ -4341,24 +4303,24 @@ class Select(BaseHTML):
|
|
|
4341
4303
|
class_name: Any | None = None,
|
|
4342
4304
|
autofocus: bool | None = None,
|
|
4343
4305
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
4344
|
-
on_blur:
|
|
4345
|
-
on_change:
|
|
4346
|
-
on_click:
|
|
4347
|
-
on_context_menu:
|
|
4348
|
-
on_double_click:
|
|
4349
|
-
on_focus:
|
|
4350
|
-
on_mount:
|
|
4351
|
-
on_mouse_down:
|
|
4352
|
-
on_mouse_enter:
|
|
4353
|
-
on_mouse_leave:
|
|
4354
|
-
on_mouse_move:
|
|
4355
|
-
on_mouse_out:
|
|
4356
|
-
on_mouse_over:
|
|
4357
|
-
on_mouse_up:
|
|
4358
|
-
on_scroll:
|
|
4359
|
-
on_unmount:
|
|
4306
|
+
on_blur: EventType[()] | None = None,
|
|
4307
|
+
on_change: EventType[()] | EventType[str] | None = None,
|
|
4308
|
+
on_click: EventType[()] | None = None,
|
|
4309
|
+
on_context_menu: EventType[()] | None = None,
|
|
4310
|
+
on_double_click: EventType[()] | None = None,
|
|
4311
|
+
on_focus: EventType[()] | None = None,
|
|
4312
|
+
on_mount: EventType[()] | None = None,
|
|
4313
|
+
on_mouse_down: EventType[()] | None = None,
|
|
4314
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
4315
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
4316
|
+
on_mouse_move: EventType[()] | None = None,
|
|
4317
|
+
on_mouse_out: EventType[()] | None = None,
|
|
4318
|
+
on_mouse_over: EventType[()] | None = None,
|
|
4319
|
+
on_mouse_up: EventType[()] | None = None,
|
|
4320
|
+
on_scroll: EventType[()] | None = None,
|
|
4321
|
+
on_unmount: EventType[()] | None = None,
|
|
4360
4322
|
**props,
|
|
4361
|
-
) ->
|
|
4323
|
+
) -> Select:
|
|
4362
4324
|
"""Create the component.
|
|
4363
4325
|
|
|
4364
4326
|
Args:
|
|
@@ -4618,30 +4580,26 @@ class Textarea(BaseHTML):
|
|
|
4618
4580
|
class_name: Any | None = None,
|
|
4619
4581
|
autofocus: bool | None = None,
|
|
4620
4582
|
custom_attrs: dict[str, Var | Any] | None = None,
|
|
4621
|
-
on_blur:
|
|
4622
|
-
on_change:
|
|
4623
|
-
on_click:
|
|
4624
|
-
on_context_menu:
|
|
4625
|
-
on_double_click:
|
|
4626
|
-
on_focus:
|
|
4627
|
-
on_key_down:
|
|
4628
|
-
|
|
4629
|
-
] = None,
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
] = None,
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
on_mouse_over: Optional[EventType[()]] = None,
|
|
4640
|
-
on_mouse_up: Optional[EventType[()]] = None,
|
|
4641
|
-
on_scroll: Optional[EventType[()]] = None,
|
|
4642
|
-
on_unmount: Optional[EventType[()]] = None,
|
|
4583
|
+
on_blur: EventType[()] | EventType[str] | None = None,
|
|
4584
|
+
on_change: EventType[()] | EventType[str] | None = None,
|
|
4585
|
+
on_click: EventType[()] | None = None,
|
|
4586
|
+
on_context_menu: EventType[()] | None = None,
|
|
4587
|
+
on_double_click: EventType[()] | None = None,
|
|
4588
|
+
on_focus: EventType[()] | EventType[str] | None = None,
|
|
4589
|
+
on_key_down: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
4590
|
+
on_key_up: EventType[()] | EventType[str] | EventType[str, KeyInputInfo] | None = None,
|
|
4591
|
+
on_mount: EventType[()] | None = None,
|
|
4592
|
+
on_mouse_down: EventType[()] | None = None,
|
|
4593
|
+
on_mouse_enter: EventType[()] | None = None,
|
|
4594
|
+
on_mouse_leave: EventType[()] | None = None,
|
|
4595
|
+
on_mouse_move: EventType[()] | None = None,
|
|
4596
|
+
on_mouse_out: EventType[()] | None = None,
|
|
4597
|
+
on_mouse_over: EventType[()] | None = None,
|
|
4598
|
+
on_mouse_up: EventType[()] | None = None,
|
|
4599
|
+
on_scroll: EventType[()] | None = None,
|
|
4600
|
+
on_unmount: EventType[()] | None = None,
|
|
4643
4601
|
**props,
|
|
4644
|
-
) ->
|
|
4602
|
+
) -> Textarea:
|
|
4645
4603
|
"""Create a textarea component.
|
|
4646
4604
|
|
|
4647
4605
|
Args:
|