reflex 0.7.1a3__py3-none-any.whl → 0.7.2a1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/utils/context.js.jinja2 +8 -8
- reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +3 -3
- reflex/admin.py +1 -2
- reflex/app.py +53 -50
- reflex/app_mixins/lifespan.py +2 -2
- reflex/app_mixins/middleware.py +1 -2
- reflex/assets.py +1 -2
- reflex/base.py +2 -2
- reflex/compiler/compiler.py +51 -16
- reflex/compiler/utils.py +4 -13
- reflex/components/base/app_wrap.pyi +7 -7
- reflex/components/base/bare.py +3 -3
- reflex/components/base/body.pyi +7 -7
- reflex/components/base/document.py +1 -3
- reflex/components/base/document.pyi +32 -32
- reflex/components/base/error_boundary.py +2 -4
- reflex/components/base/error_boundary.pyi +11 -13
- reflex/components/base/fragment.pyi +7 -7
- reflex/components/base/head.pyi +13 -13
- reflex/components/base/link.pyi +22 -22
- reflex/components/base/meta.py +5 -7
- reflex/components/base/meta.pyi +40 -40
- reflex/components/base/script.pyi +11 -14
- reflex/components/base/strict_mode.pyi +7 -7
- reflex/components/component.py +188 -113
- reflex/components/core/auto_scroll.py +8 -1
- reflex/components/core/auto_scroll.pyi +183 -210
- reflex/components/core/banner.py +2 -4
- reflex/components/core/banner.pyi +390 -444
- reflex/components/core/breakpoints.py +5 -5
- reflex/components/core/client_side_routing.pyi +14 -14
- reflex/components/core/clipboard.py +4 -4
- reflex/components/core/clipboard.pyi +12 -14
- reflex/components/core/cond.py +17 -25
- reflex/components/core/debounce.py +3 -3
- reflex/components/core/debounce.pyi +14 -14
- reflex/components/core/foreach.py +7 -2
- reflex/components/core/html.py +1 -3
- reflex/components/core/html.pyi +184 -213
- reflex/components/core/match.py +15 -19
- reflex/components/core/sticky.pyi +930 -1078
- reflex/components/core/upload.py +4 -4
- reflex/components/core/upload.pyi +62 -62
- reflex/components/datadisplay/code.py +6 -6
- reflex/components/datadisplay/code.pyi +1159 -1165
- reflex/components/datadisplay/dataeditor.py +49 -49
- reflex/components/datadisplay/dataeditor.pyi +95 -123
- reflex/components/datadisplay/logo.py +1 -3
- reflex/components/datadisplay/shiki_code_block.py +8 -10
- reflex/components/datadisplay/shiki_code_block.pyi +1678 -1720
- reflex/components/el/element.pyi +7 -7
- reflex/components/el/elements/base.pyi +183 -210
- reflex/components/el/elements/forms.py +23 -23
- reflex/components/el/elements/forms.pyi +2571 -2933
- reflex/components/el/elements/inline.py +4 -4
- reflex/components/el/elements/inline.pyi +5191 -5953
- reflex/components/el/elements/media.py +47 -47
- reflex/components/el/elements/media.pyi +4802 -5500
- reflex/components/el/elements/metadata.py +1 -3
- reflex/components/el/elements/metadata.pyi +782 -896
- reflex/components/el/elements/other.pyi +1278 -1467
- reflex/components/el/elements/scripts.pyi +580 -667
- reflex/components/el/elements/sectioning.pyi +2761 -3166
- reflex/components/el/elements/tables.pyi +1840 -2119
- reflex/components/el/elements/typography.pyi +2772 -3179
- reflex/components/gridjs/datatable.py +7 -7
- reflex/components/gridjs/datatable.pyi +19 -19
- reflex/components/lucide/icon.pyi +21 -21
- reflex/components/markdown/markdown.py +2 -2
- reflex/components/markdown/markdown.pyi +9 -9
- reflex/components/moment/moment.py +11 -12
- reflex/components/moment/moment.pyi +44 -47
- reflex/components/next/base.pyi +7 -7
- reflex/components/next/image.py +3 -3
- reflex/components/next/image.pyi +19 -21
- reflex/components/next/link.pyi +9 -9
- reflex/components/next/video.py +1 -3
- reflex/components/next/video.pyi +9 -9
- reflex/components/plotly/plotly.py +22 -45
- reflex/components/plotly/plotly.pyi +164 -164
- reflex/components/radix/primitives/accordion.py +14 -14
- reflex/components/radix/primitives/accordion.pyi +439 -487
- reflex/components/radix/primitives/base.py +1 -3
- reflex/components/radix/primitives/base.pyi +15 -15
- reflex/components/radix/primitives/drawer.py +3 -3
- reflex/components/radix/primitives/drawer.pyi +110 -116
- reflex/components/radix/primitives/form.py +1 -1
- reflex/components/radix/primitives/form.pyi +668 -752
- reflex/components/radix/primitives/progress.py +6 -6
- reflex/components/radix/primitives/progress.pyi +225 -243
- reflex/components/radix/primitives/slider.py +6 -6
- reflex/components/radix/primitives/slider.pyi +52 -55
- reflex/components/radix/themes/base.py +3 -6
- reflex/components/radix/themes/base.pyi +197 -303
- reflex/components/radix/themes/color_mode.py +5 -5
- reflex/components/radix/themes/color_mode.pyi +366 -436
- reflex/components/radix/themes/components/alert_dialog.pyi +229 -262
- reflex/components/radix/themes/components/aspect_ratio.py +1 -3
- reflex/components/radix/themes/components/aspect_ratio.pyi +8 -8
- reflex/components/radix/themes/components/avatar.pyi +79 -94
- reflex/components/radix/themes/components/badge.pyi +252 -295
- reflex/components/radix/themes/components/button.pyi +269 -314
- reflex/components/radix/themes/components/callout.py +2 -2
- reflex/components/radix/themes/components/callout.pyi +1116 -1290
- reflex/components/radix/themes/components/card.pyi +194 -229
- reflex/components/radix/themes/components/checkbox.pyi +243 -278
- reflex/components/radix/themes/components/checkbox_cards.py +3 -7
- reflex/components/radix/themes/components/checkbox_cards.pyi +101 -135
- reflex/components/radix/themes/components/checkbox_group.py +2 -2
- reflex/components/radix/themes/components/checkbox_group.pyi +83 -96
- reflex/components/radix/themes/components/context_menu.py +18 -15
- reflex/components/radix/themes/components/context_menu.pyi +408 -458
- reflex/components/radix/themes/components/data_list.pyi +122 -147
- reflex/components/radix/themes/components/dialog.pyi +231 -264
- reflex/components/radix/themes/components/dropdown_menu.py +16 -13
- reflex/components/radix/themes/components/dropdown_menu.pyi +223 -246
- reflex/components/radix/themes/components/hover_card.py +2 -2
- reflex/components/radix/themes/components/hover_card.pyi +237 -282
- reflex/components/radix/themes/components/icon_button.pyi +269 -314
- reflex/components/radix/themes/components/inset.py +8 -8
- reflex/components/radix/themes/components/inset.pyi +232 -292
- reflex/components/radix/themes/components/popover.py +2 -2
- reflex/components/radix/themes/components/popover.pyi +229 -271
- reflex/components/radix/themes/components/progress.pyi +80 -96
- reflex/components/radix/themes/components/radio.pyi +73 -86
- reflex/components/radix/themes/components/radio_cards.py +4 -8
- reflex/components/radix/themes/components/radio_cards.pyi +117 -154
- reflex/components/radix/themes/components/radio_group.py +3 -3
- reflex/components/radix/themes/components/radio_group.pyi +250 -291
- reflex/components/radix/themes/components/scroll_area.pyi +14 -20
- reflex/components/radix/themes/components/segmented_control.py +6 -6
- reflex/components/radix/themes/components/segmented_control.pyi +89 -108
- reflex/components/radix/themes/components/select.py +7 -7
- reflex/components/radix/themes/components/select.pyi +376 -444
- reflex/components/radix/themes/components/separator.pyi +79 -93
- reflex/components/radix/themes/components/skeleton.pyi +32 -26
- reflex/components/radix/themes/components/slider.py +8 -8
- reflex/components/radix/themes/components/slider.pyi +99 -122
- reflex/components/radix/themes/components/spinner.pyi +12 -19
- reflex/components/radix/themes/components/switch.pyi +84 -99
- reflex/components/radix/themes/components/table.py +9 -9
- reflex/components/radix/themes/components/table.pyi +1440 -1794
- reflex/components/radix/themes/components/tabs.py +4 -4
- reflex/components/radix/themes/components/tabs.pyi +120 -132
- reflex/components/radix/themes/components/text_area.pyi +281 -331
- reflex/components/radix/themes/components/text_field.py +2 -2
- reflex/components/radix/themes/components/text_field.pyi +639 -734
- reflex/components/radix/themes/components/tooltip.py +6 -6
- reflex/components/radix/themes/components/tooltip.pyi +34 -43
- reflex/components/radix/themes/layout/base.pyi +85 -182
- reflex/components/radix/themes/layout/box.pyi +183 -210
- reflex/components/radix/themes/layout/center.pyi +225 -286
- reflex/components/radix/themes/layout/container.pyi +191 -224
- reflex/components/radix/themes/layout/flex.py +2 -2
- reflex/components/radix/themes/layout/flex.pyi +225 -286
- reflex/components/radix/themes/layout/grid.py +2 -2
- reflex/components/radix/themes/layout/grid.pyi +245 -315
- reflex/components/radix/themes/layout/list.py +2 -2
- reflex/components/radix/themes/layout/list.pyi +712 -815
- reflex/components/radix/themes/layout/section.pyi +187 -221
- reflex/components/radix/themes/layout/spacer.pyi +225 -286
- reflex/components/radix/themes/layout/stack.pyi +625 -768
- reflex/components/radix/themes/typography/blockquote.pyi +257 -299
- reflex/components/radix/themes/typography/code.pyi +259 -304
- reflex/components/radix/themes/typography/heading.pyi +272 -324
- reflex/components/radix/themes/typography/link.pyi +302 -358
- reflex/components/radix/themes/typography/text.pyi +1669 -1945
- reflex/components/react_player/audio.pyi +20 -22
- reflex/components/react_player/react_player.pyi +19 -19
- reflex/components/react_player/video.pyi +20 -22
- reflex/components/recharts/cartesian.py +100 -97
- reflex/components/recharts/cartesian.pyi +891 -1007
- reflex/components/recharts/charts.py +42 -42
- reflex/components/recharts/charts.pyi +212 -249
- reflex/components/recharts/general.py +22 -21
- reflex/components/recharts/general.pyi +198 -223
- reflex/components/recharts/polar.py +42 -45
- reflex/components/recharts/polar.pyi +254 -288
- reflex/components/recharts/recharts.pyi +13 -13
- reflex/components/sonner/toast.py +20 -20
- reflex/components/sonner/toast.pyi +58 -61
- reflex/components/suneditor/editor.py +9 -9
- reflex/components/suneditor/editor.pyi +78 -83
- reflex/components/tags/cond_tag.py +2 -2
- reflex/components/tags/iter_tag.py +10 -14
- reflex/components/tags/match_tag.py +2 -2
- reflex/components/tags/tag.py +10 -10
- reflex/config.py +36 -35
- reflex/constants/__init__.py +56 -53
- reflex/custom_components/custom_components.py +6 -7
- reflex/event.py +38 -42
- reflex/experimental/client_state.py +2 -4
- reflex/experimental/layout.py +2 -2
- reflex/experimental/layout.pyi +579 -663
- reflex/istate/data.py +4 -5
- reflex/middleware/hydrate_middleware.py +2 -2
- reflex/middleware/middleware.py +2 -2
- reflex/model.py +3 -5
- reflex/page.py +2 -2
- reflex/reflex.py +9 -10
- reflex/state.py +77 -49
- reflex/style.py +9 -3
- reflex/testing.py +21 -24
- reflex/utils/console.py +1 -1
- reflex/utils/decorator.py +26 -1
- reflex/utils/exec.py +6 -11
- reflex/utils/export.py +2 -3
- reflex/utils/format.py +4 -4
- reflex/utils/imports.py +12 -12
- reflex/utils/prerequisites.py +35 -84
- reflex/utils/processes.py +5 -5
- reflex/utils/pyi_generator.py +33 -22
- reflex/utils/serializers.py +60 -15
- reflex/utils/types.py +237 -56
- reflex/vars/base.py +122 -72
- reflex/vars/datetime.py +2 -2
- reflex/vars/function.py +52 -55
- reflex/vars/number.py +59 -5
- reflex/vars/object.py +57 -26
- reflex/vars/sequence.py +983 -958
- {reflex-0.7.1a3.dist-info → reflex-0.7.2a1.dist-info}/METADATA +3 -6
- reflex-0.7.2a1.dist-info/RECORD +405 -0
- {reflex-0.7.1a3.dist-info → reflex-0.7.2a1.dist-info}/WHEEL +1 -1
- reflex-0.7.1a3.dist-info/RECORD +0 -405
- {reflex-0.7.1a3.dist-info → reflex-0.7.2a1.dist-info}/LICENSE +0 -0
- {reflex-0.7.1a3.dist-info → reflex-0.7.2a1.dist-info}/entry_points.txt +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any,
|
|
6
|
+
from typing import Any, Literal, Optional, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.base.fragment import Fragment
|
|
9
9
|
from reflex.components.component import Component
|
|
@@ -48,12 +48,12 @@ class ConnectionToaster(Fragment):
|
|
|
48
48
|
def create( # type: ignore
|
|
49
49
|
cls,
|
|
50
50
|
*children,
|
|
51
|
-
style:
|
|
52
|
-
key:
|
|
53
|
-
id:
|
|
54
|
-
class_name:
|
|
55
|
-
autofocus:
|
|
56
|
-
custom_attrs:
|
|
51
|
+
style: Style | None = None,
|
|
52
|
+
key: Any | None = None,
|
|
53
|
+
id: Any | None = None,
|
|
54
|
+
class_name: Any | None = None,
|
|
55
|
+
autofocus: bool | None = None,
|
|
56
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
57
57
|
on_blur: Optional[EventType[()]] = None,
|
|
58
58
|
on_click: Optional[EventType[()]] = None,
|
|
59
59
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -94,12 +94,12 @@ class ConnectionBanner(Component):
|
|
|
94
94
|
def create( # type: ignore
|
|
95
95
|
cls,
|
|
96
96
|
*children,
|
|
97
|
-
style:
|
|
98
|
-
key:
|
|
99
|
-
id:
|
|
100
|
-
class_name:
|
|
101
|
-
autofocus:
|
|
102
|
-
custom_attrs:
|
|
97
|
+
style: Style | None = None,
|
|
98
|
+
key: Any | None = None,
|
|
99
|
+
id: Any | None = None,
|
|
100
|
+
class_name: Any | None = None,
|
|
101
|
+
autofocus: bool | None = None,
|
|
102
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
103
103
|
on_blur: Optional[EventType[()]] = None,
|
|
104
104
|
on_click: Optional[EventType[()]] = None,
|
|
105
105
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -133,12 +133,12 @@ class ConnectionModal(Component):
|
|
|
133
133
|
def create( # type: ignore
|
|
134
134
|
cls,
|
|
135
135
|
*children,
|
|
136
|
-
style:
|
|
137
|
-
key:
|
|
138
|
-
id:
|
|
139
|
-
class_name:
|
|
140
|
-
autofocus:
|
|
141
|
-
custom_attrs:
|
|
136
|
+
style: Style | None = None,
|
|
137
|
+
key: Any | None = None,
|
|
138
|
+
id: Any | None = None,
|
|
139
|
+
class_name: Any | None = None,
|
|
140
|
+
autofocus: bool | None = None,
|
|
141
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
142
142
|
on_blur: Optional[EventType[()]] = None,
|
|
143
143
|
on_click: Optional[EventType[()]] = None,
|
|
144
144
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -172,13 +172,13 @@ class WifiOffPulse(Icon):
|
|
|
172
172
|
def create( # type: ignore
|
|
173
173
|
cls,
|
|
174
174
|
*children,
|
|
175
|
-
size:
|
|
176
|
-
style:
|
|
177
|
-
key:
|
|
178
|
-
id:
|
|
179
|
-
class_name:
|
|
180
|
-
autofocus:
|
|
181
|
-
custom_attrs:
|
|
175
|
+
size: Var[int] | int | None = None,
|
|
176
|
+
style: Style | None = None,
|
|
177
|
+
key: Any | None = None,
|
|
178
|
+
id: Any | None = None,
|
|
179
|
+
class_name: Any | None = None,
|
|
180
|
+
autofocus: bool | None = None,
|
|
181
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
182
182
|
on_blur: Optional[EventType[()]] = None,
|
|
183
183
|
on_click: Optional[EventType[()]] = None,
|
|
184
184
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -222,217 +222,190 @@ class ConnectionPulser(Div):
|
|
|
222
222
|
def create( # type: ignore
|
|
223
223
|
cls,
|
|
224
224
|
*children,
|
|
225
|
-
access_key:
|
|
226
|
-
auto_capitalize:
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
225
|
+
access_key: Var[str] | str | None = None,
|
|
226
|
+
auto_capitalize: Literal[
|
|
227
|
+
"characters", "none", "off", "on", "sentences", "words"
|
|
228
|
+
]
|
|
229
|
+
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
230
|
+
| None = None,
|
|
231
|
+
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
232
|
+
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
233
|
+
| None = None,
|
|
234
|
+
context_menu: Var[str] | str | None = None,
|
|
235
|
+
dir: Var[str] | str | None = None,
|
|
236
|
+
draggable: Var[bool] | bool | None = None,
|
|
237
|
+
enter_key_hint: Literal[
|
|
238
|
+
"done", "enter", "go", "next", "previous", "search", "send"
|
|
239
|
+
]
|
|
240
|
+
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
241
|
+
| None = None,
|
|
242
|
+
hidden: Var[bool] | bool | None = None,
|
|
243
|
+
input_mode: Literal[
|
|
244
|
+
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
245
|
+
]
|
|
246
|
+
| Var[
|
|
247
|
+
Literal[
|
|
248
|
+
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
230
249
|
]
|
|
231
|
-
]
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
250
|
+
]
|
|
251
|
+
| None = None,
|
|
252
|
+
item_prop: Var[str] | str | None = None,
|
|
253
|
+
lang: Var[str] | str | None = None,
|
|
254
|
+
role: Literal[
|
|
255
|
+
"alert",
|
|
256
|
+
"alertdialog",
|
|
257
|
+
"application",
|
|
258
|
+
"article",
|
|
259
|
+
"banner",
|
|
260
|
+
"button",
|
|
261
|
+
"cell",
|
|
262
|
+
"checkbox",
|
|
263
|
+
"columnheader",
|
|
264
|
+
"combobox",
|
|
265
|
+
"complementary",
|
|
266
|
+
"contentinfo",
|
|
267
|
+
"definition",
|
|
268
|
+
"dialog",
|
|
269
|
+
"directory",
|
|
270
|
+
"document",
|
|
271
|
+
"feed",
|
|
272
|
+
"figure",
|
|
273
|
+
"form",
|
|
274
|
+
"grid",
|
|
275
|
+
"gridcell",
|
|
276
|
+
"group",
|
|
277
|
+
"heading",
|
|
278
|
+
"img",
|
|
279
|
+
"link",
|
|
280
|
+
"list",
|
|
281
|
+
"listbox",
|
|
282
|
+
"listitem",
|
|
283
|
+
"log",
|
|
284
|
+
"main",
|
|
285
|
+
"marquee",
|
|
286
|
+
"math",
|
|
287
|
+
"menu",
|
|
288
|
+
"menubar",
|
|
289
|
+
"menuitem",
|
|
290
|
+
"menuitemcheckbox",
|
|
291
|
+
"menuitemradio",
|
|
292
|
+
"navigation",
|
|
293
|
+
"none",
|
|
294
|
+
"note",
|
|
295
|
+
"option",
|
|
296
|
+
"presentation",
|
|
297
|
+
"progressbar",
|
|
298
|
+
"radio",
|
|
299
|
+
"radiogroup",
|
|
300
|
+
"region",
|
|
301
|
+
"row",
|
|
302
|
+
"rowgroup",
|
|
303
|
+
"rowheader",
|
|
304
|
+
"scrollbar",
|
|
305
|
+
"search",
|
|
306
|
+
"searchbox",
|
|
307
|
+
"separator",
|
|
308
|
+
"slider",
|
|
309
|
+
"spinbutton",
|
|
310
|
+
"status",
|
|
311
|
+
"switch",
|
|
312
|
+
"tab",
|
|
313
|
+
"table",
|
|
314
|
+
"tablist",
|
|
315
|
+
"tabpanel",
|
|
316
|
+
"term",
|
|
317
|
+
"textbox",
|
|
318
|
+
"timer",
|
|
319
|
+
"toolbar",
|
|
320
|
+
"tooltip",
|
|
321
|
+
"tree",
|
|
322
|
+
"treegrid",
|
|
323
|
+
"treeitem",
|
|
324
|
+
]
|
|
325
|
+
| Var[
|
|
326
|
+
Literal[
|
|
327
|
+
"alert",
|
|
328
|
+
"alertdialog",
|
|
329
|
+
"application",
|
|
330
|
+
"article",
|
|
331
|
+
"banner",
|
|
332
|
+
"button",
|
|
333
|
+
"cell",
|
|
334
|
+
"checkbox",
|
|
335
|
+
"columnheader",
|
|
336
|
+
"combobox",
|
|
337
|
+
"complementary",
|
|
338
|
+
"contentinfo",
|
|
339
|
+
"definition",
|
|
340
|
+
"dialog",
|
|
341
|
+
"directory",
|
|
342
|
+
"document",
|
|
343
|
+
"feed",
|
|
344
|
+
"figure",
|
|
345
|
+
"form",
|
|
346
|
+
"grid",
|
|
347
|
+
"gridcell",
|
|
348
|
+
"group",
|
|
349
|
+
"heading",
|
|
350
|
+
"img",
|
|
351
|
+
"link",
|
|
352
|
+
"list",
|
|
353
|
+
"listbox",
|
|
354
|
+
"listitem",
|
|
355
|
+
"log",
|
|
356
|
+
"main",
|
|
357
|
+
"marquee",
|
|
358
|
+
"math",
|
|
359
|
+
"menu",
|
|
360
|
+
"menubar",
|
|
361
|
+
"menuitem",
|
|
362
|
+
"menuitemcheckbox",
|
|
363
|
+
"menuitemradio",
|
|
364
|
+
"navigation",
|
|
365
|
+
"none",
|
|
366
|
+
"note",
|
|
367
|
+
"option",
|
|
368
|
+
"presentation",
|
|
369
|
+
"progressbar",
|
|
370
|
+
"radio",
|
|
371
|
+
"radiogroup",
|
|
372
|
+
"region",
|
|
373
|
+
"row",
|
|
374
|
+
"rowgroup",
|
|
375
|
+
"rowheader",
|
|
376
|
+
"scrollbar",
|
|
377
|
+
"search",
|
|
378
|
+
"searchbox",
|
|
379
|
+
"separator",
|
|
380
|
+
"slider",
|
|
381
|
+
"spinbutton",
|
|
382
|
+
"status",
|
|
383
|
+
"switch",
|
|
384
|
+
"tab",
|
|
385
|
+
"table",
|
|
386
|
+
"tablist",
|
|
387
|
+
"tabpanel",
|
|
388
|
+
"term",
|
|
389
|
+
"textbox",
|
|
390
|
+
"timer",
|
|
391
|
+
"toolbar",
|
|
392
|
+
"tooltip",
|
|
393
|
+
"tree",
|
|
394
|
+
"treegrid",
|
|
395
|
+
"treeitem",
|
|
236
396
|
]
|
|
237
|
-
]
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
] = None,
|
|
249
|
-
hidden: Optional[Union[Var[bool], bool]] = None,
|
|
250
|
-
input_mode: Optional[
|
|
251
|
-
Union[
|
|
252
|
-
Literal[
|
|
253
|
-
"decimal",
|
|
254
|
-
"email",
|
|
255
|
-
"none",
|
|
256
|
-
"numeric",
|
|
257
|
-
"search",
|
|
258
|
-
"tel",
|
|
259
|
-
"text",
|
|
260
|
-
"url",
|
|
261
|
-
],
|
|
262
|
-
Var[
|
|
263
|
-
Literal[
|
|
264
|
-
"decimal",
|
|
265
|
-
"email",
|
|
266
|
-
"none",
|
|
267
|
-
"numeric",
|
|
268
|
-
"search",
|
|
269
|
-
"tel",
|
|
270
|
-
"text",
|
|
271
|
-
"url",
|
|
272
|
-
]
|
|
273
|
-
],
|
|
274
|
-
]
|
|
275
|
-
] = None,
|
|
276
|
-
item_prop: Optional[Union[Var[str], str]] = None,
|
|
277
|
-
lang: Optional[Union[Var[str], str]] = None,
|
|
278
|
-
role: Optional[
|
|
279
|
-
Union[
|
|
280
|
-
Literal[
|
|
281
|
-
"alert",
|
|
282
|
-
"alertdialog",
|
|
283
|
-
"application",
|
|
284
|
-
"article",
|
|
285
|
-
"banner",
|
|
286
|
-
"button",
|
|
287
|
-
"cell",
|
|
288
|
-
"checkbox",
|
|
289
|
-
"columnheader",
|
|
290
|
-
"combobox",
|
|
291
|
-
"complementary",
|
|
292
|
-
"contentinfo",
|
|
293
|
-
"definition",
|
|
294
|
-
"dialog",
|
|
295
|
-
"directory",
|
|
296
|
-
"document",
|
|
297
|
-
"feed",
|
|
298
|
-
"figure",
|
|
299
|
-
"form",
|
|
300
|
-
"grid",
|
|
301
|
-
"gridcell",
|
|
302
|
-
"group",
|
|
303
|
-
"heading",
|
|
304
|
-
"img",
|
|
305
|
-
"link",
|
|
306
|
-
"list",
|
|
307
|
-
"listbox",
|
|
308
|
-
"listitem",
|
|
309
|
-
"log",
|
|
310
|
-
"main",
|
|
311
|
-
"marquee",
|
|
312
|
-
"math",
|
|
313
|
-
"menu",
|
|
314
|
-
"menubar",
|
|
315
|
-
"menuitem",
|
|
316
|
-
"menuitemcheckbox",
|
|
317
|
-
"menuitemradio",
|
|
318
|
-
"navigation",
|
|
319
|
-
"none",
|
|
320
|
-
"note",
|
|
321
|
-
"option",
|
|
322
|
-
"presentation",
|
|
323
|
-
"progressbar",
|
|
324
|
-
"radio",
|
|
325
|
-
"radiogroup",
|
|
326
|
-
"region",
|
|
327
|
-
"row",
|
|
328
|
-
"rowgroup",
|
|
329
|
-
"rowheader",
|
|
330
|
-
"scrollbar",
|
|
331
|
-
"search",
|
|
332
|
-
"searchbox",
|
|
333
|
-
"separator",
|
|
334
|
-
"slider",
|
|
335
|
-
"spinbutton",
|
|
336
|
-
"status",
|
|
337
|
-
"switch",
|
|
338
|
-
"tab",
|
|
339
|
-
"table",
|
|
340
|
-
"tablist",
|
|
341
|
-
"tabpanel",
|
|
342
|
-
"term",
|
|
343
|
-
"textbox",
|
|
344
|
-
"timer",
|
|
345
|
-
"toolbar",
|
|
346
|
-
"tooltip",
|
|
347
|
-
"tree",
|
|
348
|
-
"treegrid",
|
|
349
|
-
"treeitem",
|
|
350
|
-
],
|
|
351
|
-
Var[
|
|
352
|
-
Literal[
|
|
353
|
-
"alert",
|
|
354
|
-
"alertdialog",
|
|
355
|
-
"application",
|
|
356
|
-
"article",
|
|
357
|
-
"banner",
|
|
358
|
-
"button",
|
|
359
|
-
"cell",
|
|
360
|
-
"checkbox",
|
|
361
|
-
"columnheader",
|
|
362
|
-
"combobox",
|
|
363
|
-
"complementary",
|
|
364
|
-
"contentinfo",
|
|
365
|
-
"definition",
|
|
366
|
-
"dialog",
|
|
367
|
-
"directory",
|
|
368
|
-
"document",
|
|
369
|
-
"feed",
|
|
370
|
-
"figure",
|
|
371
|
-
"form",
|
|
372
|
-
"grid",
|
|
373
|
-
"gridcell",
|
|
374
|
-
"group",
|
|
375
|
-
"heading",
|
|
376
|
-
"img",
|
|
377
|
-
"link",
|
|
378
|
-
"list",
|
|
379
|
-
"listbox",
|
|
380
|
-
"listitem",
|
|
381
|
-
"log",
|
|
382
|
-
"main",
|
|
383
|
-
"marquee",
|
|
384
|
-
"math",
|
|
385
|
-
"menu",
|
|
386
|
-
"menubar",
|
|
387
|
-
"menuitem",
|
|
388
|
-
"menuitemcheckbox",
|
|
389
|
-
"menuitemradio",
|
|
390
|
-
"navigation",
|
|
391
|
-
"none",
|
|
392
|
-
"note",
|
|
393
|
-
"option",
|
|
394
|
-
"presentation",
|
|
395
|
-
"progressbar",
|
|
396
|
-
"radio",
|
|
397
|
-
"radiogroup",
|
|
398
|
-
"region",
|
|
399
|
-
"row",
|
|
400
|
-
"rowgroup",
|
|
401
|
-
"rowheader",
|
|
402
|
-
"scrollbar",
|
|
403
|
-
"search",
|
|
404
|
-
"searchbox",
|
|
405
|
-
"separator",
|
|
406
|
-
"slider",
|
|
407
|
-
"spinbutton",
|
|
408
|
-
"status",
|
|
409
|
-
"switch",
|
|
410
|
-
"tab",
|
|
411
|
-
"table",
|
|
412
|
-
"tablist",
|
|
413
|
-
"tabpanel",
|
|
414
|
-
"term",
|
|
415
|
-
"textbox",
|
|
416
|
-
"timer",
|
|
417
|
-
"toolbar",
|
|
418
|
-
"tooltip",
|
|
419
|
-
"tree",
|
|
420
|
-
"treegrid",
|
|
421
|
-
"treeitem",
|
|
422
|
-
]
|
|
423
|
-
],
|
|
424
|
-
]
|
|
425
|
-
] = None,
|
|
426
|
-
slot: Optional[Union[Var[str], str]] = None,
|
|
427
|
-
spell_check: Optional[Union[Var[bool], bool]] = None,
|
|
428
|
-
tab_index: Optional[Union[Var[int], int]] = None,
|
|
429
|
-
title: Optional[Union[Var[str], str]] = None,
|
|
430
|
-
style: Optional[Style] = None,
|
|
431
|
-
key: Optional[Any] = None,
|
|
432
|
-
id: Optional[Any] = None,
|
|
433
|
-
class_name: Optional[Any] = None,
|
|
434
|
-
autofocus: Optional[bool] = None,
|
|
435
|
-
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
397
|
+
]
|
|
398
|
+
| None = None,
|
|
399
|
+
slot: Var[str] | str | None = None,
|
|
400
|
+
spell_check: Var[bool] | bool | None = None,
|
|
401
|
+
tab_index: Var[int] | int | None = None,
|
|
402
|
+
title: Var[str] | str | None = None,
|
|
403
|
+
style: Style | None = None,
|
|
404
|
+
key: Any | None = None,
|
|
405
|
+
id: Any | None = None,
|
|
406
|
+
class_name: Any | None = None,
|
|
407
|
+
autofocus: bool | None = None,
|
|
408
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
436
409
|
on_blur: Optional[EventType[()]] = None,
|
|
437
410
|
on_click: Optional[EventType[()]] = None,
|
|
438
411
|
on_context_menu: Optional[EventType[()]] = None,
|
|
@@ -488,217 +461,190 @@ class BackendDisabled(Div):
|
|
|
488
461
|
def create( # type: ignore
|
|
489
462
|
cls,
|
|
490
463
|
*children,
|
|
491
|
-
access_key:
|
|
492
|
-
auto_capitalize:
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
hidden: Optional[Union[Var[bool], bool]] = None,
|
|
516
|
-
input_mode: Optional[
|
|
517
|
-
Union[
|
|
518
|
-
Literal[
|
|
519
|
-
"decimal",
|
|
520
|
-
"email",
|
|
521
|
-
"none",
|
|
522
|
-
"numeric",
|
|
523
|
-
"search",
|
|
524
|
-
"tel",
|
|
525
|
-
"text",
|
|
526
|
-
"url",
|
|
527
|
-
],
|
|
528
|
-
Var[
|
|
529
|
-
Literal[
|
|
530
|
-
"decimal",
|
|
531
|
-
"email",
|
|
532
|
-
"none",
|
|
533
|
-
"numeric",
|
|
534
|
-
"search",
|
|
535
|
-
"tel",
|
|
536
|
-
"text",
|
|
537
|
-
"url",
|
|
538
|
-
]
|
|
539
|
-
],
|
|
464
|
+
access_key: Var[str] | str | None = None,
|
|
465
|
+
auto_capitalize: Literal[
|
|
466
|
+
"characters", "none", "off", "on", "sentences", "words"
|
|
467
|
+
]
|
|
468
|
+
| Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
|
|
469
|
+
| None = None,
|
|
470
|
+
content_editable: Literal["inherit", "plaintext-only", False, True]
|
|
471
|
+
| Var[Literal["inherit", "plaintext-only", False, True]]
|
|
472
|
+
| None = None,
|
|
473
|
+
context_menu: Var[str] | str | None = None,
|
|
474
|
+
dir: Var[str] | str | None = None,
|
|
475
|
+
draggable: Var[bool] | bool | None = None,
|
|
476
|
+
enter_key_hint: Literal[
|
|
477
|
+
"done", "enter", "go", "next", "previous", "search", "send"
|
|
478
|
+
]
|
|
479
|
+
| Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
|
|
480
|
+
| None = None,
|
|
481
|
+
hidden: Var[bool] | bool | None = None,
|
|
482
|
+
input_mode: Literal[
|
|
483
|
+
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
484
|
+
]
|
|
485
|
+
| Var[
|
|
486
|
+
Literal[
|
|
487
|
+
"decimal", "email", "none", "numeric", "search", "tel", "text", "url"
|
|
540
488
|
]
|
|
541
|
-
]
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
"treeitem",
|
|
688
|
-
]
|
|
689
|
-
],
|
|
489
|
+
]
|
|
490
|
+
| None = None,
|
|
491
|
+
item_prop: Var[str] | str | None = None,
|
|
492
|
+
lang: Var[str] | str | None = None,
|
|
493
|
+
role: Literal[
|
|
494
|
+
"alert",
|
|
495
|
+
"alertdialog",
|
|
496
|
+
"application",
|
|
497
|
+
"article",
|
|
498
|
+
"banner",
|
|
499
|
+
"button",
|
|
500
|
+
"cell",
|
|
501
|
+
"checkbox",
|
|
502
|
+
"columnheader",
|
|
503
|
+
"combobox",
|
|
504
|
+
"complementary",
|
|
505
|
+
"contentinfo",
|
|
506
|
+
"definition",
|
|
507
|
+
"dialog",
|
|
508
|
+
"directory",
|
|
509
|
+
"document",
|
|
510
|
+
"feed",
|
|
511
|
+
"figure",
|
|
512
|
+
"form",
|
|
513
|
+
"grid",
|
|
514
|
+
"gridcell",
|
|
515
|
+
"group",
|
|
516
|
+
"heading",
|
|
517
|
+
"img",
|
|
518
|
+
"link",
|
|
519
|
+
"list",
|
|
520
|
+
"listbox",
|
|
521
|
+
"listitem",
|
|
522
|
+
"log",
|
|
523
|
+
"main",
|
|
524
|
+
"marquee",
|
|
525
|
+
"math",
|
|
526
|
+
"menu",
|
|
527
|
+
"menubar",
|
|
528
|
+
"menuitem",
|
|
529
|
+
"menuitemcheckbox",
|
|
530
|
+
"menuitemradio",
|
|
531
|
+
"navigation",
|
|
532
|
+
"none",
|
|
533
|
+
"note",
|
|
534
|
+
"option",
|
|
535
|
+
"presentation",
|
|
536
|
+
"progressbar",
|
|
537
|
+
"radio",
|
|
538
|
+
"radiogroup",
|
|
539
|
+
"region",
|
|
540
|
+
"row",
|
|
541
|
+
"rowgroup",
|
|
542
|
+
"rowheader",
|
|
543
|
+
"scrollbar",
|
|
544
|
+
"search",
|
|
545
|
+
"searchbox",
|
|
546
|
+
"separator",
|
|
547
|
+
"slider",
|
|
548
|
+
"spinbutton",
|
|
549
|
+
"status",
|
|
550
|
+
"switch",
|
|
551
|
+
"tab",
|
|
552
|
+
"table",
|
|
553
|
+
"tablist",
|
|
554
|
+
"tabpanel",
|
|
555
|
+
"term",
|
|
556
|
+
"textbox",
|
|
557
|
+
"timer",
|
|
558
|
+
"toolbar",
|
|
559
|
+
"tooltip",
|
|
560
|
+
"tree",
|
|
561
|
+
"treegrid",
|
|
562
|
+
"treeitem",
|
|
563
|
+
]
|
|
564
|
+
| Var[
|
|
565
|
+
Literal[
|
|
566
|
+
"alert",
|
|
567
|
+
"alertdialog",
|
|
568
|
+
"application",
|
|
569
|
+
"article",
|
|
570
|
+
"banner",
|
|
571
|
+
"button",
|
|
572
|
+
"cell",
|
|
573
|
+
"checkbox",
|
|
574
|
+
"columnheader",
|
|
575
|
+
"combobox",
|
|
576
|
+
"complementary",
|
|
577
|
+
"contentinfo",
|
|
578
|
+
"definition",
|
|
579
|
+
"dialog",
|
|
580
|
+
"directory",
|
|
581
|
+
"document",
|
|
582
|
+
"feed",
|
|
583
|
+
"figure",
|
|
584
|
+
"form",
|
|
585
|
+
"grid",
|
|
586
|
+
"gridcell",
|
|
587
|
+
"group",
|
|
588
|
+
"heading",
|
|
589
|
+
"img",
|
|
590
|
+
"link",
|
|
591
|
+
"list",
|
|
592
|
+
"listbox",
|
|
593
|
+
"listitem",
|
|
594
|
+
"log",
|
|
595
|
+
"main",
|
|
596
|
+
"marquee",
|
|
597
|
+
"math",
|
|
598
|
+
"menu",
|
|
599
|
+
"menubar",
|
|
600
|
+
"menuitem",
|
|
601
|
+
"menuitemcheckbox",
|
|
602
|
+
"menuitemradio",
|
|
603
|
+
"navigation",
|
|
604
|
+
"none",
|
|
605
|
+
"note",
|
|
606
|
+
"option",
|
|
607
|
+
"presentation",
|
|
608
|
+
"progressbar",
|
|
609
|
+
"radio",
|
|
610
|
+
"radiogroup",
|
|
611
|
+
"region",
|
|
612
|
+
"row",
|
|
613
|
+
"rowgroup",
|
|
614
|
+
"rowheader",
|
|
615
|
+
"scrollbar",
|
|
616
|
+
"search",
|
|
617
|
+
"searchbox",
|
|
618
|
+
"separator",
|
|
619
|
+
"slider",
|
|
620
|
+
"spinbutton",
|
|
621
|
+
"status",
|
|
622
|
+
"switch",
|
|
623
|
+
"tab",
|
|
624
|
+
"table",
|
|
625
|
+
"tablist",
|
|
626
|
+
"tabpanel",
|
|
627
|
+
"term",
|
|
628
|
+
"textbox",
|
|
629
|
+
"timer",
|
|
630
|
+
"toolbar",
|
|
631
|
+
"tooltip",
|
|
632
|
+
"tree",
|
|
633
|
+
"treegrid",
|
|
634
|
+
"treeitem",
|
|
690
635
|
]
|
|
691
|
-
]
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
636
|
+
]
|
|
637
|
+
| None = None,
|
|
638
|
+
slot: Var[str] | str | None = None,
|
|
639
|
+
spell_check: Var[bool] | bool | None = None,
|
|
640
|
+
tab_index: Var[int] | int | None = None,
|
|
641
|
+
title: Var[str] | str | None = None,
|
|
642
|
+
style: Style | None = None,
|
|
643
|
+
key: Any | None = None,
|
|
644
|
+
id: Any | None = None,
|
|
645
|
+
class_name: Any | None = None,
|
|
646
|
+
autofocus: bool | None = None,
|
|
647
|
+
custom_attrs: dict[str, Var | Any] | None = None,
|
|
702
648
|
on_blur: Optional[EventType[()]] = None,
|
|
703
649
|
on_click: Optional[EventType[()]] = None,
|
|
704
650
|
on_context_menu: Optional[EventType[()]] = None,
|