reflex 0.6.0__py3-none-any.whl → 0.6.0a1__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/custom_components/pyproject.toml.jinja2 +2 -2
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +2 -2
- reflex/.templates/web/components/reflex/chakra_color_mode_provider.js +36 -0
- reflex/.templates/web/utils/state.js +1 -3
- reflex/__init__.py +2 -8
- reflex/__init__.pyi +1 -2
- reflex/app.py +2 -4
- reflex/app_module_for_backend.py +1 -1
- reflex/base.py +1 -1
- reflex/compiler/compiler.py +2 -2
- reflex/compiler/utils.py +3 -3
- reflex/components/base/app_wrap.py +2 -2
- reflex/components/base/app_wrap.pyi +27 -17
- reflex/components/base/bare.py +5 -4
- reflex/components/base/body.pyi +27 -17
- reflex/components/base/document.pyi +131 -81
- reflex/components/base/error_boundary.py +7 -6
- reflex/components/base/error_boundary.pyi +33 -20
- reflex/components/base/fragment.pyi +27 -17
- reflex/components/base/head.pyi +53 -33
- reflex/components/base/link.py +1 -1
- reflex/components/base/link.pyi +54 -33
- reflex/components/base/meta.pyi +105 -65
- reflex/components/base/script.py +2 -1
- reflex/components/base/script.pyi +38 -21
- reflex/components/component.py +47 -53
- reflex/components/core/banner.py +27 -23
- reflex/components/core/banner.pyi +171 -134
- reflex/components/core/client_side_routing.py +3 -2
- reflex/components/core/client_side_routing.pyi +54 -33
- reflex/components/core/clipboard.py +1 -2
- reflex/components/core/clipboard.pyi +33 -20
- reflex/components/core/cond.py +5 -5
- reflex/components/core/debounce.py +5 -5
- reflex/components/core/debounce.pyi +33 -20
- reflex/components/core/foreach.py +4 -3
- reflex/components/core/html.py +1 -1
- reflex/components/core/html.pyi +46 -35
- reflex/components/core/match.py +17 -17
- reflex/components/core/upload.py +23 -17
- reflex/components/core/upload.pyi +124 -78
- reflex/components/datadisplay/code.py +10 -9
- reflex/components/datadisplay/code.pyi +409 -299
- reflex/components/datadisplay/dataeditor.py +10 -8
- reflex/components/datadisplay/dataeditor.pyi +53 -40
- reflex/components/el/element.pyi +27 -17
- reflex/components/el/elements/base.py +1 -1
- reflex/components/el/elements/base.pyi +45 -34
- reflex/components/el/elements/forms.py +16 -16
- reflex/components/el/elements/forms.pyi +707 -554
- reflex/components/el/elements/inline.py +1 -1
- reflex/components/el/elements/inline.pyi +1218 -937
- reflex/components/el/elements/media.py +1 -1
- reflex/components/el/elements/media.pyi +997 -786
- reflex/components/el/elements/metadata.py +6 -3
- reflex/components/el/elements/metadata.pyi +242 -181
- reflex/components/el/elements/other.py +1 -1
- reflex/components/el/elements/other.pyi +306 -235
- reflex/components/el/elements/scripts.py +1 -1
- reflex/components/el/elements/scripts.pyi +140 -109
- reflex/components/el/elements/sectioning.py +2 -0
- reflex/components/el/elements/sectioning.pyi +647 -496
- reflex/components/el/elements/tables.py +1 -1
- reflex/components/el/elements/tables.pyi +452 -351
- reflex/components/el/elements/typography.py +1 -1
- reflex/components/el/elements/typography.pyi +657 -506
- reflex/components/gridjs/datatable.py +9 -6
- reflex/components/gridjs/datatable.pyi +56 -35
- reflex/components/lucide/icon.py +1 -1
- reflex/components/lucide/icon.pyi +54 -33
- reflex/components/markdown/markdown.py +31 -26
- reflex/components/markdown/markdown.pyi +37 -27
- reflex/components/moment/moment.py +12 -13
- reflex/components/moment/moment.pyi +35 -23
- reflex/components/next/base.pyi +27 -17
- reflex/components/next/image.py +1 -1
- reflex/components/next/image.pyi +37 -22
- reflex/components/next/link.py +1 -1
- reflex/components/next/link.pyi +28 -17
- reflex/components/next/video.py +1 -1
- reflex/components/next/video.pyi +28 -17
- reflex/components/plotly/plotly.py +13 -12
- reflex/components/plotly/plotly.pyi +54 -39
- reflex/components/props.py +1 -1
- reflex/components/radix/__init__.pyi +0 -1
- reflex/components/radix/primitives/__init__.pyi +0 -1
- reflex/components/radix/primitives/accordion.py +4 -4
- reflex/components/radix/primitives/accordion.pyi +495 -424
- reflex/components/radix/primitives/base.py +1 -1
- reflex/components/radix/primitives/base.pyi +54 -33
- reflex/components/radix/primitives/drawer.py +1 -1
- reflex/components/radix/primitives/drawer.pyi +273 -172
- reflex/components/radix/primitives/form.py +1 -1
- reflex/components/radix/primitives/form.pyi +364 -257
- reflex/components/radix/primitives/progress.py +1 -1
- reflex/components/radix/primitives/progress.pyi +282 -231
- reflex/components/radix/primitives/slider.py +1 -1
- reflex/components/radix/primitives/slider.pyi +138 -87
- reflex/components/radix/themes/base.py +24 -3
- reflex/components/radix/themes/base.pyi +250 -178
- reflex/components/radix/themes/color_mode.py +5 -5
- reflex/components/radix/themes/color_mode.pyi +220 -187
- reflex/components/radix/themes/components/alert_dialog.py +1 -1
- reflex/components/radix/themes/components/alert_dialog.pyi +207 -136
- reflex/components/radix/themes/components/aspect_ratio.py +1 -1
- reflex/components/radix/themes/components/aspect_ratio.pyi +28 -17
- reflex/components/radix/themes/components/avatar.py +1 -1
- reflex/components/radix/themes/components/avatar.pyi +81 -70
- reflex/components/radix/themes/components/badge.py +1 -1
- reflex/components/radix/themes/components/badge.pyi +99 -88
- reflex/components/radix/themes/components/button.py +1 -1
- reflex/components/radix/themes/components/button.pyi +109 -98
- reflex/components/radix/themes/components/callout.py +1 -1
- reflex/components/radix/themes/components/callout.pyi +373 -322
- reflex/components/radix/themes/components/card.py +1 -1
- reflex/components/radix/themes/components/card.pyi +49 -38
- reflex/components/radix/themes/components/checkbox.py +2 -1
- reflex/components/radix/themes/components/checkbox.pyi +245 -208
- reflex/components/radix/themes/components/checkbox_cards.py +1 -1
- reflex/components/radix/themes/components/checkbox_cards.pyi +115 -94
- reflex/components/radix/themes/components/checkbox_group.py +1 -1
- reflex/components/radix/themes/components/checkbox_group.pyi +107 -86
- reflex/components/radix/themes/components/context_menu.py +1 -1
- reflex/components/radix/themes/components/context_menu.pyi +319 -238
- reflex/components/radix/themes/components/data_list.py +1 -1
- reflex/components/radix/themes/components/data_list.pyi +171 -130
- reflex/components/radix/themes/components/dialog.py +1 -1
- reflex/components/radix/themes/components/dialog.pyi +210 -139
- reflex/components/radix/themes/components/dropdown_menu.py +1 -1
- reflex/components/radix/themes/components/dropdown_menu.pyi +332 -249
- reflex/components/radix/themes/components/hover_card.py +1 -1
- reflex/components/radix/themes/components/hover_card.pyi +131 -90
- reflex/components/radix/themes/components/icon_button.py +3 -2
- reflex/components/radix/themes/components/icon_button.pyi +109 -98
- reflex/components/radix/themes/components/inset.py +1 -1
- reflex/components/radix/themes/components/inset.pyi +58 -47
- reflex/components/radix/themes/components/popover.py +1 -1
- reflex/components/radix/themes/components/popover.pyi +136 -95
- reflex/components/radix/themes/components/progress.py +1 -1
- reflex/components/radix/themes/components/progress.pyi +82 -71
- reflex/components/radix/themes/components/radio.py +1 -1
- reflex/components/radix/themes/components/radio.pyi +80 -69
- reflex/components/radix/themes/components/radio_cards.py +1 -1
- reflex/components/radix/themes/components/radio_cards.pyi +119 -98
- reflex/components/radix/themes/components/radio_group.py +11 -8
- reflex/components/radix/themes/components/radio_group.pyi +271 -228
- reflex/components/radix/themes/components/scroll_area.py +1 -1
- reflex/components/radix/themes/components/scroll_area.pyi +32 -21
- reflex/components/radix/themes/components/segmented_control.py +1 -1
- reflex/components/radix/themes/components/segmented_control.pyi +113 -90
- reflex/components/radix/themes/components/select.py +3 -2
- reflex/components/radix/themes/components/select.pyi +471 -374
- reflex/components/radix/themes/components/separator.py +2 -1
- reflex/components/radix/themes/components/separator.pyi +80 -69
- reflex/components/radix/themes/components/skeleton.py +1 -1
- reflex/components/radix/themes/components/skeleton.pyi +34 -23
- reflex/components/radix/themes/components/slider.py +3 -2
- reflex/components/radix/themes/components/slider.pyi +88 -75
- reflex/components/radix/themes/components/spinner.py +1 -1
- reflex/components/radix/themes/components/spinner.pyi +30 -19
- reflex/components/radix/themes/components/switch.py +1 -1
- reflex/components/radix/themes/components/switch.pyi +84 -71
- reflex/components/radix/themes/components/table.py +1 -1
- reflex/components/radix/themes/components/table.pyi +332 -261
- reflex/components/radix/themes/components/tabs.py +1 -1
- reflex/components/radix/themes/components/tabs.pyi +194 -139
- reflex/components/radix/themes/components/text_area.py +1 -1
- reflex/components/radix/themes/components/text_area.pyi +111 -96
- reflex/components/radix/themes/components/text_field.py +1 -1
- reflex/components/radix/themes/components/text_field.pyi +286 -247
- reflex/components/radix/themes/components/tooltip.py +1 -1
- reflex/components/radix/themes/components/tooltip.pyi +37 -26
- reflex/components/radix/themes/layout/__init__.pyi +0 -1
- reflex/components/radix/themes/layout/base.py +1 -1
- reflex/components/radix/themes/layout/base.pyi +67 -56
- reflex/components/radix/themes/layout/box.pyi +45 -34
- reflex/components/radix/themes/layout/center.pyi +67 -56
- reflex/components/radix/themes/layout/container.py +2 -1
- reflex/components/radix/themes/layout/container.pyi +47 -36
- reflex/components/radix/themes/layout/flex.py +1 -1
- reflex/components/radix/themes/layout/flex.pyi +67 -56
- reflex/components/radix/themes/layout/grid.py +1 -1
- reflex/components/radix/themes/layout/grid.pyi +75 -64
- reflex/components/radix/themes/layout/list.py +6 -5
- reflex/components/radix/themes/layout/list.pyi +244 -193
- reflex/components/radix/themes/layout/section.py +2 -1
- reflex/components/radix/themes/layout/section.pyi +47 -36
- reflex/components/radix/themes/layout/spacer.pyi +67 -56
- reflex/components/radix/themes/layout/stack.py +1 -1
- reflex/components/radix/themes/layout/stack.pyi +159 -128
- reflex/components/radix/themes/typography/blockquote.py +1 -1
- reflex/components/radix/themes/typography/blockquote.pyi +100 -89
- reflex/components/radix/themes/typography/code.py +1 -1
- reflex/components/radix/themes/typography/code.pyi +101 -90
- reflex/components/radix/themes/typography/heading.py +1 -1
- reflex/components/radix/themes/typography/heading.pyi +107 -96
- reflex/components/radix/themes/typography/link.py +1 -1
- reflex/components/radix/themes/typography/link.pyi +113 -102
- reflex/components/radix/themes/typography/text.py +1 -1
- reflex/components/radix/themes/typography/text.pyi +572 -501
- reflex/components/react_player/audio.pyi +60 -33
- reflex/components/react_player/react_player.py +1 -1
- reflex/components/react_player/react_player.pyi +60 -33
- reflex/components/react_player/video.pyi +60 -33
- reflex/components/recharts/cartesian.py +3 -2
- reflex/components/recharts/cartesian.pyi +861 -678
- reflex/components/recharts/charts.py +5 -4
- reflex/components/recharts/charts.pyi +357 -252
- reflex/components/recharts/general.py +2 -1
- reflex/components/recharts/general.pyi +231 -180
- reflex/components/recharts/polar.py +5 -4
- reflex/components/recharts/polar.pyi +181 -144
- reflex/components/recharts/recharts.pyi +53 -33
- reflex/components/sonner/toast.py +17 -16
- reflex/components/sonner/toast.pyi +47 -36
- reflex/components/suneditor/editor.py +3 -2
- reflex/components/suneditor/editor.pyi +78 -55
- reflex/components/tags/cond_tag.py +4 -6
- reflex/components/tags/iter_tag.py +16 -28
- reflex/components/tags/match_tag.py +4 -6
- reflex/components/tags/tag.py +23 -40
- reflex/custom_components/custom_components.py +1 -3
- reflex/event.py +65 -113
- reflex/experimental/client_state.py +24 -25
- reflex/experimental/hooks.py +16 -16
- reflex/experimental/layout.py +5 -5
- reflex/experimental/layout.pyi +187 -136
- reflex/{vars → ivars}/__init__.py +2 -6
- reflex/{vars → ivars}/base.py +216 -599
- reflex/{vars → ivars}/function.py +19 -15
- reflex/{vars → ivars}/number.py +20 -41
- reflex/{vars → ivars}/object.py +30 -28
- reflex/{vars → ivars}/sequence.py +50 -53
- reflex/middleware/hydrate_middleware.py +0 -2
- reflex/middleware/middleware.py +3 -3
- reflex/state.py +82 -148
- reflex/style.py +22 -21
- reflex/utils/exceptions.py +0 -20
- reflex/utils/format.py +34 -54
- reflex/utils/imports.py +73 -16
- reflex/utils/prerequisites.py +15 -35
- reflex/utils/pyi_generator.py +8 -13
- reflex/utils/serializers.py +22 -12
- reflex/utils/telemetry.py +2 -3
- reflex/utils/types.py +5 -10
- reflex/vars.py +501 -0
- {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/METADATA +5 -4
- reflex-0.6.0a1.dist-info/RECORD +384 -0
- reflex-0.6.0.dist-info/RECORD +0 -382
- {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/LICENSE +0 -0
- {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/WHEEL +0 -0
- {reflex-0.6.0.dist-info → reflex-0.6.0a1.dist-info}/entry_points.txt +0 -0
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
from typing import Any, Callable, Dict, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.event import EventHandler, EventSpec
|
|
9
|
+
from reflex.ivars.base import ImmutableVar
|
|
9
10
|
from reflex.style import Style
|
|
10
|
-
from reflex.vars
|
|
11
|
+
from reflex.vars import Var
|
|
11
12
|
|
|
12
13
|
from .base import BaseHTML
|
|
13
14
|
|
|
@@ -17,71 +18,81 @@ class Details(BaseHTML):
|
|
|
17
18
|
def create( # type: ignore
|
|
18
19
|
cls,
|
|
19
20
|
*children,
|
|
20
|
-
open: Optional[Union[Var[Union[bool, int, str]],
|
|
21
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
21
|
+
open: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
22
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
22
23
|
auto_capitalize: Optional[
|
|
23
|
-
Union[Var[Union[bool, int, str]],
|
|
24
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
24
25
|
] = None,
|
|
25
26
|
content_editable: Optional[
|
|
26
|
-
Union[Var[Union[bool, int, str]],
|
|
27
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
27
28
|
] = None,
|
|
28
29
|
context_menu: Optional[
|
|
29
|
-
Union[Var[Union[bool, int, str]],
|
|
30
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
30
31
|
] = None,
|
|
31
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
32
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
32
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
33
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
33
34
|
enter_key_hint: Optional[
|
|
34
|
-
Union[Var[Union[bool, int, str]],
|
|
35
|
-
] = None,
|
|
36
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
37
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
38
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
39
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
40
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
41
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
42
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
43
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
44
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
35
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
36
|
+
] = None,
|
|
37
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
38
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
39
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
40
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
41
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
42
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
43
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
44
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
45
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
45
46
|
style: Optional[Style] = None,
|
|
46
47
|
key: Optional[Any] = None,
|
|
47
48
|
id: Optional[Any] = None,
|
|
48
49
|
class_name: Optional[Any] = None,
|
|
49
50
|
autofocus: Optional[bool] = None,
|
|
50
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
51
|
-
on_blur: Optional[
|
|
52
|
-
|
|
51
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
52
|
+
on_blur: Optional[
|
|
53
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
54
|
+
] = None,
|
|
55
|
+
on_click: Optional[
|
|
56
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
57
|
+
] = None,
|
|
53
58
|
on_context_menu: Optional[
|
|
54
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
59
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
55
60
|
] = None,
|
|
56
61
|
on_double_click: Optional[
|
|
57
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
62
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
63
|
+
] = None,
|
|
64
|
+
on_focus: Optional[
|
|
65
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
66
|
+
] = None,
|
|
67
|
+
on_mount: Optional[
|
|
68
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
58
69
|
] = None,
|
|
59
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
60
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
61
70
|
on_mouse_down: Optional[
|
|
62
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
71
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
63
72
|
] = None,
|
|
64
73
|
on_mouse_enter: Optional[
|
|
65
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
74
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
66
75
|
] = None,
|
|
67
76
|
on_mouse_leave: Optional[
|
|
68
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
77
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
69
78
|
] = None,
|
|
70
79
|
on_mouse_move: Optional[
|
|
71
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
80
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
72
81
|
] = None,
|
|
73
82
|
on_mouse_out: Optional[
|
|
74
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
83
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
75
84
|
] = None,
|
|
76
85
|
on_mouse_over: Optional[
|
|
77
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
86
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
78
87
|
] = None,
|
|
79
88
|
on_mouse_up: Optional[
|
|
80
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
89
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
90
|
+
] = None,
|
|
91
|
+
on_scroll: Optional[
|
|
92
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
81
93
|
] = None,
|
|
82
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
83
94
|
on_unmount: Optional[
|
|
84
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
95
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
85
96
|
] = None,
|
|
86
97
|
**props,
|
|
87
98
|
) -> "Details":
|
|
@@ -125,71 +136,81 @@ class Dialog(BaseHTML):
|
|
|
125
136
|
def create( # type: ignore
|
|
126
137
|
cls,
|
|
127
138
|
*children,
|
|
128
|
-
open: Optional[Union[Var[Union[bool, int, str]],
|
|
129
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
139
|
+
open: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
140
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
130
141
|
auto_capitalize: Optional[
|
|
131
|
-
Union[Var[Union[bool, int, str]],
|
|
142
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
132
143
|
] = None,
|
|
133
144
|
content_editable: Optional[
|
|
134
|
-
Union[Var[Union[bool, int, str]],
|
|
145
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
135
146
|
] = None,
|
|
136
147
|
context_menu: Optional[
|
|
137
|
-
Union[Var[Union[bool, int, str]],
|
|
148
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
138
149
|
] = None,
|
|
139
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
140
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
150
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
151
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
141
152
|
enter_key_hint: Optional[
|
|
142
|
-
Union[Var[Union[bool, int, str]],
|
|
143
|
-
] = None,
|
|
144
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
145
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
146
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
147
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
148
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
149
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
150
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
151
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
152
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
153
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
154
|
+
] = None,
|
|
155
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
156
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
157
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
158
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
159
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
160
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
161
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
162
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
163
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
153
164
|
style: Optional[Style] = None,
|
|
154
165
|
key: Optional[Any] = None,
|
|
155
166
|
id: Optional[Any] = None,
|
|
156
167
|
class_name: Optional[Any] = None,
|
|
157
168
|
autofocus: Optional[bool] = None,
|
|
158
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
159
|
-
on_blur: Optional[
|
|
160
|
-
|
|
169
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
170
|
+
on_blur: Optional[
|
|
171
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
172
|
+
] = None,
|
|
173
|
+
on_click: Optional[
|
|
174
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
175
|
+
] = None,
|
|
161
176
|
on_context_menu: Optional[
|
|
162
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
177
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
163
178
|
] = None,
|
|
164
179
|
on_double_click: Optional[
|
|
165
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
180
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
181
|
+
] = None,
|
|
182
|
+
on_focus: Optional[
|
|
183
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
184
|
+
] = None,
|
|
185
|
+
on_mount: Optional[
|
|
186
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
166
187
|
] = None,
|
|
167
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
168
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
169
188
|
on_mouse_down: Optional[
|
|
170
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
189
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
171
190
|
] = None,
|
|
172
191
|
on_mouse_enter: Optional[
|
|
173
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
192
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
174
193
|
] = None,
|
|
175
194
|
on_mouse_leave: Optional[
|
|
176
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
195
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
177
196
|
] = None,
|
|
178
197
|
on_mouse_move: Optional[
|
|
179
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
198
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
180
199
|
] = None,
|
|
181
200
|
on_mouse_out: Optional[
|
|
182
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
201
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
183
202
|
] = None,
|
|
184
203
|
on_mouse_over: Optional[
|
|
185
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
204
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
186
205
|
] = None,
|
|
187
206
|
on_mouse_up: Optional[
|
|
188
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
207
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
208
|
+
] = None,
|
|
209
|
+
on_scroll: Optional[
|
|
210
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
189
211
|
] = None,
|
|
190
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
191
212
|
on_unmount: Optional[
|
|
192
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
213
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
193
214
|
] = None,
|
|
194
215
|
**props,
|
|
195
216
|
) -> "Dialog":
|
|
@@ -233,70 +254,80 @@ class Summary(BaseHTML):
|
|
|
233
254
|
def create( # type: ignore
|
|
234
255
|
cls,
|
|
235
256
|
*children,
|
|
236
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
257
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
237
258
|
auto_capitalize: Optional[
|
|
238
|
-
Union[Var[Union[bool, int, str]],
|
|
259
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
239
260
|
] = None,
|
|
240
261
|
content_editable: Optional[
|
|
241
|
-
Union[Var[Union[bool, int, str]],
|
|
262
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
242
263
|
] = None,
|
|
243
264
|
context_menu: Optional[
|
|
244
|
-
Union[Var[Union[bool, int, str]],
|
|
265
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
245
266
|
] = None,
|
|
246
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
247
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
267
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
268
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
248
269
|
enter_key_hint: Optional[
|
|
249
|
-
Union[Var[Union[bool, int, str]],
|
|
250
|
-
] = None,
|
|
251
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
252
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
253
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
254
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
255
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
256
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
257
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
258
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
259
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
270
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
271
|
+
] = None,
|
|
272
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
273
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
274
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
275
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
276
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
277
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
278
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
279
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
280
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
260
281
|
style: Optional[Style] = None,
|
|
261
282
|
key: Optional[Any] = None,
|
|
262
283
|
id: Optional[Any] = None,
|
|
263
284
|
class_name: Optional[Any] = None,
|
|
264
285
|
autofocus: Optional[bool] = None,
|
|
265
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
266
|
-
on_blur: Optional[
|
|
267
|
-
|
|
286
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
287
|
+
on_blur: Optional[
|
|
288
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
289
|
+
] = None,
|
|
290
|
+
on_click: Optional[
|
|
291
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
292
|
+
] = None,
|
|
268
293
|
on_context_menu: Optional[
|
|
269
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
294
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
270
295
|
] = None,
|
|
271
296
|
on_double_click: Optional[
|
|
272
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
297
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
298
|
+
] = None,
|
|
299
|
+
on_focus: Optional[
|
|
300
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
301
|
+
] = None,
|
|
302
|
+
on_mount: Optional[
|
|
303
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
273
304
|
] = None,
|
|
274
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
275
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
276
305
|
on_mouse_down: Optional[
|
|
277
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
306
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
278
307
|
] = None,
|
|
279
308
|
on_mouse_enter: Optional[
|
|
280
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
309
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
281
310
|
] = None,
|
|
282
311
|
on_mouse_leave: Optional[
|
|
283
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
312
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
284
313
|
] = None,
|
|
285
314
|
on_mouse_move: Optional[
|
|
286
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
315
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
287
316
|
] = None,
|
|
288
317
|
on_mouse_out: Optional[
|
|
289
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
318
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
290
319
|
] = None,
|
|
291
320
|
on_mouse_over: Optional[
|
|
292
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
321
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
293
322
|
] = None,
|
|
294
323
|
on_mouse_up: Optional[
|
|
295
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
324
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
325
|
+
] = None,
|
|
326
|
+
on_scroll: Optional[
|
|
327
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
296
328
|
] = None,
|
|
297
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
298
329
|
on_unmount: Optional[
|
|
299
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
330
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
300
331
|
] = None,
|
|
301
332
|
**props,
|
|
302
333
|
) -> "Summary":
|
|
@@ -339,70 +370,80 @@ class Slot(BaseHTML):
|
|
|
339
370
|
def create( # type: ignore
|
|
340
371
|
cls,
|
|
341
372
|
*children,
|
|
342
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
373
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
343
374
|
auto_capitalize: Optional[
|
|
344
|
-
Union[Var[Union[bool, int, str]],
|
|
375
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
345
376
|
] = None,
|
|
346
377
|
content_editable: Optional[
|
|
347
|
-
Union[Var[Union[bool, int, str]],
|
|
378
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
348
379
|
] = None,
|
|
349
380
|
context_menu: Optional[
|
|
350
|
-
Union[Var[Union[bool, int, str]],
|
|
381
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
351
382
|
] = None,
|
|
352
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
353
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
383
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
384
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
354
385
|
enter_key_hint: Optional[
|
|
355
|
-
Union[Var[Union[bool, int, str]],
|
|
356
|
-
] = None,
|
|
357
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
358
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
359
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
360
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
361
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
362
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
363
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
364
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
365
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
386
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
387
|
+
] = None,
|
|
388
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
389
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
390
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
391
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
392
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
393
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
394
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
395
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
396
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
366
397
|
style: Optional[Style] = None,
|
|
367
398
|
key: Optional[Any] = None,
|
|
368
399
|
id: Optional[Any] = None,
|
|
369
400
|
class_name: Optional[Any] = None,
|
|
370
401
|
autofocus: Optional[bool] = None,
|
|
371
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
372
|
-
on_blur: Optional[
|
|
373
|
-
|
|
402
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
403
|
+
on_blur: Optional[
|
|
404
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
405
|
+
] = None,
|
|
406
|
+
on_click: Optional[
|
|
407
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
408
|
+
] = None,
|
|
374
409
|
on_context_menu: Optional[
|
|
375
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
410
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
376
411
|
] = None,
|
|
377
412
|
on_double_click: Optional[
|
|
378
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
413
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
414
|
+
] = None,
|
|
415
|
+
on_focus: Optional[
|
|
416
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
417
|
+
] = None,
|
|
418
|
+
on_mount: Optional[
|
|
419
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
379
420
|
] = None,
|
|
380
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
381
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
382
421
|
on_mouse_down: Optional[
|
|
383
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
422
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
384
423
|
] = None,
|
|
385
424
|
on_mouse_enter: Optional[
|
|
386
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
425
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
387
426
|
] = None,
|
|
388
427
|
on_mouse_leave: Optional[
|
|
389
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
428
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
390
429
|
] = None,
|
|
391
430
|
on_mouse_move: Optional[
|
|
392
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
431
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
393
432
|
] = None,
|
|
394
433
|
on_mouse_out: Optional[
|
|
395
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
434
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
396
435
|
] = None,
|
|
397
436
|
on_mouse_over: Optional[
|
|
398
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
437
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
399
438
|
] = None,
|
|
400
439
|
on_mouse_up: Optional[
|
|
401
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
440
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
441
|
+
] = None,
|
|
442
|
+
on_scroll: Optional[
|
|
443
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
402
444
|
] = None,
|
|
403
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
404
445
|
on_unmount: Optional[
|
|
405
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
446
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
406
447
|
] = None,
|
|
407
448
|
**props,
|
|
408
449
|
) -> "Slot":
|
|
@@ -445,70 +486,80 @@ class Template(BaseHTML):
|
|
|
445
486
|
def create( # type: ignore
|
|
446
487
|
cls,
|
|
447
488
|
*children,
|
|
448
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
489
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
449
490
|
auto_capitalize: Optional[
|
|
450
|
-
Union[Var[Union[bool, int, str]],
|
|
491
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
451
492
|
] = None,
|
|
452
493
|
content_editable: Optional[
|
|
453
|
-
Union[Var[Union[bool, int, str]],
|
|
494
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
454
495
|
] = None,
|
|
455
496
|
context_menu: Optional[
|
|
456
|
-
Union[Var[Union[bool, int, str]],
|
|
497
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
457
498
|
] = None,
|
|
458
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
459
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
499
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
500
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
460
501
|
enter_key_hint: Optional[
|
|
461
|
-
Union[Var[Union[bool, int, str]],
|
|
462
|
-
] = None,
|
|
463
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
464
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
465
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
466
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
467
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
468
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
469
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
470
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
471
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
502
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
503
|
+
] = None,
|
|
504
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
505
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
506
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
507
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
508
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
509
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
510
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
511
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
512
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
472
513
|
style: Optional[Style] = None,
|
|
473
514
|
key: Optional[Any] = None,
|
|
474
515
|
id: Optional[Any] = None,
|
|
475
516
|
class_name: Optional[Any] = None,
|
|
476
517
|
autofocus: Optional[bool] = None,
|
|
477
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
478
|
-
on_blur: Optional[
|
|
479
|
-
|
|
518
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
519
|
+
on_blur: Optional[
|
|
520
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
521
|
+
] = None,
|
|
522
|
+
on_click: Optional[
|
|
523
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
524
|
+
] = None,
|
|
480
525
|
on_context_menu: Optional[
|
|
481
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
526
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
482
527
|
] = None,
|
|
483
528
|
on_double_click: Optional[
|
|
484
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
529
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
530
|
+
] = None,
|
|
531
|
+
on_focus: Optional[
|
|
532
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
533
|
+
] = None,
|
|
534
|
+
on_mount: Optional[
|
|
535
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
485
536
|
] = None,
|
|
486
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
487
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
488
537
|
on_mouse_down: Optional[
|
|
489
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
538
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
490
539
|
] = None,
|
|
491
540
|
on_mouse_enter: Optional[
|
|
492
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
541
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
493
542
|
] = None,
|
|
494
543
|
on_mouse_leave: Optional[
|
|
495
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
544
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
496
545
|
] = None,
|
|
497
546
|
on_mouse_move: Optional[
|
|
498
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
547
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
499
548
|
] = None,
|
|
500
549
|
on_mouse_out: Optional[
|
|
501
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
550
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
502
551
|
] = None,
|
|
503
552
|
on_mouse_over: Optional[
|
|
504
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
553
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
505
554
|
] = None,
|
|
506
555
|
on_mouse_up: Optional[
|
|
507
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
556
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
557
|
+
] = None,
|
|
558
|
+
on_scroll: Optional[
|
|
559
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
508
560
|
] = None,
|
|
509
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
510
561
|
on_unmount: Optional[
|
|
511
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
562
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
512
563
|
] = None,
|
|
513
564
|
**props,
|
|
514
565
|
) -> "Template":
|
|
@@ -551,70 +602,80 @@ class Math(BaseHTML):
|
|
|
551
602
|
def create( # type: ignore
|
|
552
603
|
cls,
|
|
553
604
|
*children,
|
|
554
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
605
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
555
606
|
auto_capitalize: Optional[
|
|
556
|
-
Union[Var[Union[bool, int, str]],
|
|
607
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
557
608
|
] = None,
|
|
558
609
|
content_editable: Optional[
|
|
559
|
-
Union[Var[Union[bool, int, str]],
|
|
610
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
560
611
|
] = None,
|
|
561
612
|
context_menu: Optional[
|
|
562
|
-
Union[Var[Union[bool, int, str]],
|
|
613
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
563
614
|
] = None,
|
|
564
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
565
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
615
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
616
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
566
617
|
enter_key_hint: Optional[
|
|
567
|
-
Union[Var[Union[bool, int, str]],
|
|
568
|
-
] = None,
|
|
569
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
570
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
571
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
572
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
573
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
574
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
575
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
576
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
577
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
618
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
619
|
+
] = None,
|
|
620
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
621
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
622
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
623
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
624
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
625
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
626
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
627
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
628
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
578
629
|
style: Optional[Style] = None,
|
|
579
630
|
key: Optional[Any] = None,
|
|
580
631
|
id: Optional[Any] = None,
|
|
581
632
|
class_name: Optional[Any] = None,
|
|
582
633
|
autofocus: Optional[bool] = None,
|
|
583
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
584
|
-
on_blur: Optional[
|
|
585
|
-
|
|
634
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
635
|
+
on_blur: Optional[
|
|
636
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
637
|
+
] = None,
|
|
638
|
+
on_click: Optional[
|
|
639
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
640
|
+
] = None,
|
|
586
641
|
on_context_menu: Optional[
|
|
587
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
642
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
588
643
|
] = None,
|
|
589
644
|
on_double_click: Optional[
|
|
590
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
645
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
646
|
+
] = None,
|
|
647
|
+
on_focus: Optional[
|
|
648
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
649
|
+
] = None,
|
|
650
|
+
on_mount: Optional[
|
|
651
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
591
652
|
] = None,
|
|
592
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
593
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
594
653
|
on_mouse_down: Optional[
|
|
595
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
654
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
596
655
|
] = None,
|
|
597
656
|
on_mouse_enter: Optional[
|
|
598
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
657
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
599
658
|
] = None,
|
|
600
659
|
on_mouse_leave: Optional[
|
|
601
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
660
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
602
661
|
] = None,
|
|
603
662
|
on_mouse_move: Optional[
|
|
604
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
663
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
605
664
|
] = None,
|
|
606
665
|
on_mouse_out: Optional[
|
|
607
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
666
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
608
667
|
] = None,
|
|
609
668
|
on_mouse_over: Optional[
|
|
610
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
669
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
611
670
|
] = None,
|
|
612
671
|
on_mouse_up: Optional[
|
|
613
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
672
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
673
|
+
] = None,
|
|
674
|
+
on_scroll: Optional[
|
|
675
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
614
676
|
] = None,
|
|
615
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
616
677
|
on_unmount: Optional[
|
|
617
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
678
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
618
679
|
] = None,
|
|
619
680
|
**props,
|
|
620
681
|
) -> "Math":
|
|
@@ -657,71 +718,81 @@ class Html(BaseHTML):
|
|
|
657
718
|
def create( # type: ignore
|
|
658
719
|
cls,
|
|
659
720
|
*children,
|
|
660
|
-
manifest: Optional[Union[Var[Union[bool, int, str]],
|
|
661
|
-
access_key: Optional[Union[Var[Union[bool, int, str]],
|
|
721
|
+
manifest: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
722
|
+
access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
662
723
|
auto_capitalize: Optional[
|
|
663
|
-
Union[Var[Union[bool, int, str]],
|
|
724
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
664
725
|
] = None,
|
|
665
726
|
content_editable: Optional[
|
|
666
|
-
Union[Var[Union[bool, int, str]],
|
|
727
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
667
728
|
] = None,
|
|
668
729
|
context_menu: Optional[
|
|
669
|
-
Union[Var[Union[bool, int, str]],
|
|
730
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
670
731
|
] = None,
|
|
671
|
-
dir: Optional[Union[Var[Union[bool, int, str]],
|
|
672
|
-
draggable: Optional[Union[Var[Union[bool, int, str]],
|
|
732
|
+
dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
733
|
+
draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
673
734
|
enter_key_hint: Optional[
|
|
674
|
-
Union[Var[Union[bool, int, str]],
|
|
675
|
-
] = None,
|
|
676
|
-
hidden: Optional[Union[Var[Union[bool, int, str]],
|
|
677
|
-
input_mode: Optional[Union[Var[Union[bool, int, str]],
|
|
678
|
-
item_prop: Optional[Union[Var[Union[bool, int, str]],
|
|
679
|
-
lang: Optional[Union[Var[Union[bool, int, str]],
|
|
680
|
-
role: Optional[Union[Var[Union[bool, int, str]],
|
|
681
|
-
slot: Optional[Union[Var[Union[bool, int, str]],
|
|
682
|
-
spell_check: Optional[Union[Var[Union[bool, int, str]],
|
|
683
|
-
tab_index: Optional[Union[Var[Union[bool, int, str]],
|
|
684
|
-
title: Optional[Union[Var[Union[bool, int, str]],
|
|
735
|
+
Union[Var[Union[bool, int, str]], str, int, bool]
|
|
736
|
+
] = None,
|
|
737
|
+
hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
738
|
+
input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
739
|
+
item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
740
|
+
lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
741
|
+
role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
742
|
+
slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
743
|
+
spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
744
|
+
tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
745
|
+
title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
|
|
685
746
|
style: Optional[Style] = None,
|
|
686
747
|
key: Optional[Any] = None,
|
|
687
748
|
id: Optional[Any] = None,
|
|
688
749
|
class_name: Optional[Any] = None,
|
|
689
750
|
autofocus: Optional[bool] = None,
|
|
690
|
-
custom_attrs: Optional[Dict[str, Union[
|
|
691
|
-
on_blur: Optional[
|
|
692
|
-
|
|
751
|
+
custom_attrs: Optional[Dict[str, Union[ImmutableVar, str]]] = None,
|
|
752
|
+
on_blur: Optional[
|
|
753
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
754
|
+
] = None,
|
|
755
|
+
on_click: Optional[
|
|
756
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
757
|
+
] = None,
|
|
693
758
|
on_context_menu: Optional[
|
|
694
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
759
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
695
760
|
] = None,
|
|
696
761
|
on_double_click: Optional[
|
|
697
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
762
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
763
|
+
] = None,
|
|
764
|
+
on_focus: Optional[
|
|
765
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
766
|
+
] = None,
|
|
767
|
+
on_mount: Optional[
|
|
768
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
698
769
|
] = None,
|
|
699
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
700
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
701
770
|
on_mouse_down: Optional[
|
|
702
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
771
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
703
772
|
] = None,
|
|
704
773
|
on_mouse_enter: Optional[
|
|
705
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
774
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
706
775
|
] = None,
|
|
707
776
|
on_mouse_leave: Optional[
|
|
708
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
777
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
709
778
|
] = None,
|
|
710
779
|
on_mouse_move: Optional[
|
|
711
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
780
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
712
781
|
] = None,
|
|
713
782
|
on_mouse_out: Optional[
|
|
714
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
783
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
715
784
|
] = None,
|
|
716
785
|
on_mouse_over: Optional[
|
|
717
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
786
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
718
787
|
] = None,
|
|
719
788
|
on_mouse_up: Optional[
|
|
720
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
789
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
790
|
+
] = None,
|
|
791
|
+
on_scroll: Optional[
|
|
792
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
721
793
|
] = None,
|
|
722
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
723
794
|
on_unmount: Optional[
|
|
724
|
-
Union[EventHandler, EventSpec, list, Callable,
|
|
795
|
+
Union[EventHandler, EventSpec, list, Callable, ImmutableVar]
|
|
725
796
|
] = None,
|
|
726
797
|
**props,
|
|
727
798
|
) -> "Html":
|