reflex 0.7.14a6__py3-none-any.whl → 0.8.0__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/app/rxconfig.py.jinja2 +4 -1
- reflex/.templates/jinja/web/package.json.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +21 -11
- reflex/.templates/jinja/web/pages/_document.js.jinja2 +1 -1
- reflex/.templates/jinja/web/pages/base_page.js.jinja2 +0 -1
- reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +4 -0
- reflex/.templates/jinja/web/styles/styles.css.jinja2 +1 -0
- reflex/.templates/jinja/web/utils/context.js.jinja2 +25 -8
- reflex/.templates/web/app/entry.client.js +8 -0
- reflex/.templates/web/app/routes.js +10 -0
- reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +12 -37
- reflex/.templates/web/postcss.config.js +1 -1
- reflex/.templates/web/react-router.config.js +6 -0
- reflex/.templates/web/styles/__reflex_style_reset.css +399 -0
- reflex/.templates/web/utils/client_side_routing.js +21 -19
- reflex/.templates/web/utils/react-theme.js +92 -0
- reflex/.templates/web/utils/state.js +251 -100
- reflex/.templates/web/vite-plugin-safari-cachebust.js +160 -0
- reflex/.templates/web/vite.config.js +39 -0
- reflex/__init__.py +1 -6
- reflex/__init__.pyi +327 -192
- reflex/app.py +86 -135
- reflex/base.py +1 -87
- reflex/compiler/compiler.py +70 -19
- reflex/compiler/templates.py +3 -3
- reflex/compiler/utils.py +91 -33
- reflex/components/__init__.py +0 -2
- reflex/components/__init__.pyi +34 -18
- reflex/components/base/__init__.py +1 -5
- reflex/components/base/__init__.pyi +30 -21
- reflex/components/base/app_wrap.pyi +7 -7
- reflex/components/base/body.pyi +7 -7
- reflex/components/base/document.py +18 -14
- reflex/components/base/document.pyi +88 -38
- reflex/components/base/error_boundary.pyi +7 -7
- reflex/components/base/fragment.pyi +7 -7
- reflex/components/base/link.pyi +12 -12
- reflex/components/base/meta.py +4 -15
- reflex/components/base/meta.pyi +31 -31
- reflex/components/base/script.py +60 -58
- reflex/components/base/script.pyi +248 -34
- reflex/components/base/strict_mode.pyi +7 -7
- reflex/components/component.py +146 -217
- reflex/components/core/__init__.py +1 -0
- reflex/components/core/__init__.pyi +77 -37
- reflex/components/core/auto_scroll.pyi +7 -7
- reflex/components/core/banner.pyi +33 -33
- reflex/components/core/client_side_routing.py +7 -6
- reflex/components/core/client_side_routing.pyi +8 -59
- reflex/components/core/clipboard.pyi +7 -7
- reflex/components/core/debounce.py +1 -0
- reflex/components/core/debounce.pyi +7 -7
- reflex/components/core/foreach.py +5 -4
- reflex/components/core/helmet.py +14 -0
- reflex/components/{next/base.pyi → core/helmet.pyi} +12 -10
- reflex/components/core/html.pyi +7 -7
- reflex/components/core/match.py +3 -3
- reflex/components/core/sticky.pyi +21 -20
- reflex/components/core/upload.py +4 -2
- reflex/components/core/upload.pyi +26 -25
- reflex/components/datadisplay/__init__.pyi +13 -7
- reflex/components/datadisplay/code.py +14 -79
- reflex/components/datadisplay/code.pyi +11 -13
- reflex/components/datadisplay/dataeditor.pyi +38 -15
- reflex/components/datadisplay/shiki_code_block.py +5 -3
- reflex/components/datadisplay/shiki_code_block.pyi +16 -15
- reflex/components/dynamic.py +5 -5
- reflex/components/el/__init__.pyi +506 -246
- reflex/components/el/element.pyi +7 -7
- reflex/components/el/elements/__init__.pyi +504 -245
- reflex/components/el/elements/base.pyi +7 -7
- reflex/components/el/elements/forms.pyi +146 -101
- reflex/components/el/elements/inline.pyi +142 -142
- reflex/components/el/elements/media.pyi +131 -130
- reflex/components/el/elements/metadata.pyi +32 -32
- reflex/components/el/elements/other.pyi +37 -37
- reflex/components/el/elements/scripts.pyi +17 -17
- reflex/components/el/elements/sectioning.pyi +77 -77
- reflex/components/el/elements/tables.pyi +52 -52
- reflex/components/el/elements/typography.pyi +77 -77
- reflex/components/field.py +175 -0
- reflex/components/gridjs/datatable.py +2 -2
- reflex/components/gridjs/datatable.pyi +14 -14
- reflex/components/lucide/icon.py +6 -2
- reflex/components/lucide/icon.pyi +19 -17
- reflex/components/markdown/markdown.py +5 -3
- reflex/components/markdown/markdown.pyi +7 -7
- reflex/components/moment/moment.py +1 -1
- reflex/components/moment/moment.pyi +7 -7
- reflex/components/plotly/plotly.py +12 -6
- reflex/components/plotly/plotly.pyi +50 -49
- reflex/components/props.py +376 -27
- reflex/components/radix/__init__.pyi +123 -65
- reflex/components/radix/primitives/__init__.pyi +6 -4
- reflex/components/radix/primitives/accordion.py +8 -1
- reflex/components/radix/primitives/accordion.pyi +37 -37
- reflex/components/radix/primitives/base.pyi +12 -12
- reflex/components/radix/primitives/drawer.pyi +56 -55
- reflex/components/radix/primitives/form.pyi +63 -53
- reflex/components/radix/primitives/progress.pyi +26 -25
- reflex/components/radix/primitives/slider.pyi +27 -27
- reflex/components/radix/themes/__init__.pyi +5 -6
- reflex/components/radix/themes/base.py +3 -3
- reflex/components/radix/themes/base.pyi +42 -42
- reflex/components/radix/themes/color_mode.py +5 -6
- reflex/components/radix/themes/color_mode.pyi +17 -17
- reflex/components/radix/themes/components/__init__.pyi +75 -38
- reflex/components/radix/themes/components/alert_dialog.pyi +37 -37
- reflex/components/radix/themes/components/aspect_ratio.pyi +7 -7
- reflex/components/radix/themes/components/avatar.pyi +7 -7
- reflex/components/radix/themes/components/badge.pyi +7 -7
- reflex/components/radix/themes/components/button.pyi +7 -7
- reflex/components/radix/themes/components/callout.pyi +26 -25
- reflex/components/radix/themes/components/card.pyi +7 -7
- reflex/components/radix/themes/components/checkbox.pyi +16 -15
- reflex/components/radix/themes/components/checkbox_cards.pyi +12 -12
- reflex/components/radix/themes/components/checkbox_group.pyi +12 -12
- reflex/components/radix/themes/components/context_menu.pyi +67 -67
- reflex/components/radix/themes/components/data_list.pyi +22 -22
- reflex/components/radix/themes/components/dialog.pyi +36 -35
- reflex/components/radix/themes/components/dropdown_menu.pyi +42 -42
- reflex/components/radix/themes/components/hover_card.pyi +21 -20
- reflex/components/radix/themes/components/icon_button.pyi +7 -7
- reflex/components/radix/themes/components/inset.pyi +7 -7
- reflex/components/radix/themes/components/popover.pyi +22 -22
- reflex/components/radix/themes/components/progress.pyi +7 -7
- reflex/components/radix/themes/components/radio.pyi +7 -7
- reflex/components/radix/themes/components/radio_cards.pyi +12 -12
- reflex/components/radix/themes/components/radio_group.pyi +21 -20
- reflex/components/radix/themes/components/scroll_area.pyi +7 -7
- reflex/components/radix/themes/components/segmented_control.pyi +12 -12
- reflex/components/radix/themes/components/select.pyi +46 -45
- reflex/components/radix/themes/components/separator.pyi +7 -7
- reflex/components/radix/themes/components/skeleton.pyi +7 -7
- reflex/components/radix/themes/components/slider.pyi +17 -9
- reflex/components/radix/themes/components/spinner.pyi +7 -7
- reflex/components/radix/themes/components/switch.pyi +7 -7
- reflex/components/radix/themes/components/table.pyi +37 -37
- reflex/components/radix/themes/components/tabs.pyi +26 -25
- reflex/components/radix/themes/components/text_area.pyi +15 -9
- reflex/components/radix/themes/components/text_field.pyi +32 -19
- reflex/components/radix/themes/components/tooltip.pyi +7 -7
- reflex/components/radix/themes/layout/__init__.pyi +27 -14
- reflex/components/radix/themes/layout/base.pyi +7 -7
- reflex/components/radix/themes/layout/box.pyi +7 -7
- reflex/components/radix/themes/layout/center.pyi +7 -7
- reflex/components/radix/themes/layout/container.pyi +7 -7
- reflex/components/radix/themes/layout/flex.pyi +7 -7
- reflex/components/radix/themes/layout/grid.pyi +7 -7
- reflex/components/radix/themes/layout/list.pyi +26 -25
- reflex/components/radix/themes/layout/section.pyi +7 -7
- reflex/components/radix/themes/layout/spacer.pyi +7 -7
- reflex/components/radix/themes/layout/stack.pyi +17 -17
- reflex/components/radix/themes/typography/__init__.pyi +7 -5
- reflex/components/radix/themes/typography/blockquote.pyi +7 -7
- reflex/components/radix/themes/typography/code.pyi +7 -7
- reflex/components/radix/themes/typography/heading.pyi +7 -7
- reflex/components/radix/themes/typography/link.py +46 -11
- reflex/components/radix/themes/typography/link.pyi +312 -9
- reflex/components/radix/themes/typography/text.pyi +36 -35
- reflex/components/react_player/audio.pyi +10 -8
- reflex/components/react_player/react_player.pyi +7 -7
- reflex/components/react_player/video.pyi +10 -8
- reflex/components/recharts/__init__.pyi +208 -100
- reflex/components/recharts/cartesian.py +10 -8
- reflex/components/recharts/cartesian.pyi +90 -94
- reflex/components/recharts/charts.py +4 -2
- reflex/components/recharts/charts.pyi +49 -49
- reflex/components/recharts/general.pyi +31 -31
- reflex/components/recharts/polar.py +8 -4
- reflex/components/recharts/polar.pyi +23 -23
- reflex/components/recharts/recharts.py +2 -2
- reflex/components/recharts/recharts.pyi +12 -12
- reflex/components/sonner/toast.py +3 -3
- reflex/components/sonner/toast.pyi +9 -9
- reflex/config.py +10 -113
- reflex/constants/__init__.py +2 -2
- reflex/constants/base.py +28 -11
- reflex/constants/compiler.py +12 -3
- reflex/constants/event.py +1 -0
- reflex/constants/installer.py +26 -20
- reflex/constants/route.py +27 -8
- reflex/constants/state.py +2 -0
- reflex/custom_components/custom_components.py +0 -14
- reflex/environment.py +77 -5
- reflex/event.py +178 -81
- reflex/experimental/__init__.py +0 -30
- reflex/istate/__init__.py +69 -0
- reflex/istate/manager.py +1 -0
- reflex/istate/proxy.py +5 -3
- reflex/page.py +0 -27
- reflex/plugins/__init__.py +3 -2
- reflex/plugins/base.py +5 -1
- reflex/plugins/shared_tailwind.py +215 -0
- reflex/plugins/sitemap.py +206 -0
- reflex/plugins/tailwind_v3.py +15 -108
- reflex/plugins/tailwind_v4.py +18 -110
- reflex/reflex.py +1 -0
- reflex/route.py +157 -75
- reflex/state.py +171 -155
- reflex/testing.py +86 -16
- reflex/utils/build.py +38 -82
- reflex/utils/exec.py +83 -175
- reflex/utils/export.py +2 -2
- reflex/utils/format.py +1 -5
- reflex/utils/imports.py +5 -16
- reflex/utils/misc.py +67 -0
- reflex/utils/prerequisites.py +66 -68
- reflex/utils/processes.py +24 -47
- reflex/utils/pyi_generator.py +44 -49
- reflex/utils/serializers.py +14 -1
- reflex/utils/telemetry.py +0 -15
- reflex/utils/types.py +197 -62
- reflex/vars/__init__.py +2 -0
- reflex/vars/base.py +367 -134
- {reflex-0.7.14a6.dist-info → reflex-0.8.0.dist-info}/METADATA +15 -8
- reflex-0.8.0.dist-info/RECORD +403 -0
- reflex/.templates/web/next.config.js +0 -7
- reflex/components/base/head.py +0 -20
- reflex/components/base/head.pyi +0 -116
- reflex/components/next/__init__.py +0 -10
- reflex/components/next/base.py +0 -7
- reflex/components/next/image.py +0 -117
- reflex/components/next/image.pyi +0 -94
- reflex/components/next/link.py +0 -20
- reflex/components/next/link.pyi +0 -67
- reflex/components/next/video.py +0 -38
- reflex/components/next/video.pyi +0 -68
- reflex/components/suneditor/__init__.py +0 -5
- reflex/components/suneditor/editor.py +0 -269
- reflex/components/suneditor/editor.pyi +0 -199
- reflex/experimental/layout.py +0 -254
- reflex/experimental/layout.pyi +0 -814
- reflex-0.7.14a6.dist-info/RECORD +0 -408
- {reflex-0.7.14a6.dist-info → reflex-0.8.0.dist-info}/WHEEL +0 -0
- {reflex-0.7.14a6.dist-info → reflex-0.8.0.dist-info}/entry_points.txt +0 -0
- {reflex-0.7.14a6.dist-info → reflex-0.8.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,249 +3,509 @@
|
|
|
3
3
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
4
4
|
# ------------------------------------------------------
|
|
5
5
|
|
|
6
|
-
from . import elements
|
|
7
|
-
from .elements.forms import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
from .elements.inline import
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
from .elements.media import
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
from .elements.metadata import
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
from .elements.other import
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
from .elements.
|
|
179
|
-
from .elements.sectioning import
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
from .elements.tables import
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
from .elements.typography import
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
6
|
+
from . import elements
|
|
7
|
+
from .elements.forms import (
|
|
8
|
+
Button,
|
|
9
|
+
Datalist,
|
|
10
|
+
Fieldset,
|
|
11
|
+
Form,
|
|
12
|
+
Input,
|
|
13
|
+
Label,
|
|
14
|
+
Legend,
|
|
15
|
+
Meter,
|
|
16
|
+
Optgroup,
|
|
17
|
+
Option,
|
|
18
|
+
Output,
|
|
19
|
+
Progress,
|
|
20
|
+
Select,
|
|
21
|
+
Textarea,
|
|
22
|
+
button,
|
|
23
|
+
datalist,
|
|
24
|
+
fieldset,
|
|
25
|
+
form,
|
|
26
|
+
input,
|
|
27
|
+
label,
|
|
28
|
+
legend,
|
|
29
|
+
meter,
|
|
30
|
+
optgroup,
|
|
31
|
+
option,
|
|
32
|
+
output,
|
|
33
|
+
progress,
|
|
34
|
+
select,
|
|
35
|
+
textarea,
|
|
36
|
+
)
|
|
37
|
+
from .elements.inline import (
|
|
38
|
+
A,
|
|
39
|
+
Abbr,
|
|
40
|
+
B,
|
|
41
|
+
Bdi,
|
|
42
|
+
Bdo,
|
|
43
|
+
Br,
|
|
44
|
+
Cite,
|
|
45
|
+
Code,
|
|
46
|
+
Data,
|
|
47
|
+
Dfn,
|
|
48
|
+
Em,
|
|
49
|
+
I,
|
|
50
|
+
Kbd,
|
|
51
|
+
Mark,
|
|
52
|
+
Q,
|
|
53
|
+
Rp,
|
|
54
|
+
Rt,
|
|
55
|
+
Ruby,
|
|
56
|
+
S,
|
|
57
|
+
Samp,
|
|
58
|
+
Small,
|
|
59
|
+
Span,
|
|
60
|
+
Strong,
|
|
61
|
+
Sub,
|
|
62
|
+
Sup,
|
|
63
|
+
Time,
|
|
64
|
+
U,
|
|
65
|
+
Wbr,
|
|
66
|
+
a,
|
|
67
|
+
abbr,
|
|
68
|
+
b,
|
|
69
|
+
bdi,
|
|
70
|
+
bdo,
|
|
71
|
+
br,
|
|
72
|
+
cite,
|
|
73
|
+
code,
|
|
74
|
+
data,
|
|
75
|
+
dfn,
|
|
76
|
+
em,
|
|
77
|
+
i,
|
|
78
|
+
kbd,
|
|
79
|
+
mark,
|
|
80
|
+
q,
|
|
81
|
+
rp,
|
|
82
|
+
rt,
|
|
83
|
+
ruby,
|
|
84
|
+
s,
|
|
85
|
+
samp,
|
|
86
|
+
small,
|
|
87
|
+
span,
|
|
88
|
+
strong,
|
|
89
|
+
sub,
|
|
90
|
+
sup,
|
|
91
|
+
time,
|
|
92
|
+
u,
|
|
93
|
+
wbr,
|
|
94
|
+
)
|
|
95
|
+
from .elements.media import (
|
|
96
|
+
Area,
|
|
97
|
+
Audio,
|
|
98
|
+
Circle,
|
|
99
|
+
Defs,
|
|
100
|
+
Ellipse,
|
|
101
|
+
Embed,
|
|
102
|
+
G,
|
|
103
|
+
Iframe,
|
|
104
|
+
Img,
|
|
105
|
+
Line,
|
|
106
|
+
LinearGradient,
|
|
107
|
+
Map,
|
|
108
|
+
Object,
|
|
109
|
+
Path,
|
|
110
|
+
Picture,
|
|
111
|
+
Polygon,
|
|
112
|
+
Portal,
|
|
113
|
+
RadialGradient,
|
|
114
|
+
Rect,
|
|
115
|
+
Source,
|
|
116
|
+
Stop,
|
|
117
|
+
Svg,
|
|
118
|
+
Text,
|
|
119
|
+
Track,
|
|
120
|
+
Video,
|
|
121
|
+
area,
|
|
122
|
+
audio,
|
|
123
|
+
circle,
|
|
124
|
+
defs,
|
|
125
|
+
ellipse,
|
|
126
|
+
embed,
|
|
127
|
+
g,
|
|
128
|
+
iframe,
|
|
129
|
+
image,
|
|
130
|
+
img,
|
|
131
|
+
line,
|
|
132
|
+
linear_gradient,
|
|
133
|
+
map,
|
|
134
|
+
object,
|
|
135
|
+
path,
|
|
136
|
+
picture,
|
|
137
|
+
polygon,
|
|
138
|
+
portal,
|
|
139
|
+
radial_gradient,
|
|
140
|
+
rect,
|
|
141
|
+
source,
|
|
142
|
+
stop,
|
|
143
|
+
svg,
|
|
144
|
+
text,
|
|
145
|
+
track,
|
|
146
|
+
video,
|
|
147
|
+
)
|
|
148
|
+
from .elements.metadata import (
|
|
149
|
+
Base,
|
|
150
|
+
Head,
|
|
151
|
+
Link,
|
|
152
|
+
Meta,
|
|
153
|
+
StyleEl,
|
|
154
|
+
Title,
|
|
155
|
+
base,
|
|
156
|
+
head,
|
|
157
|
+
link,
|
|
158
|
+
meta,
|
|
159
|
+
style,
|
|
160
|
+
title,
|
|
161
|
+
)
|
|
162
|
+
from .elements.other import (
|
|
163
|
+
Details,
|
|
164
|
+
Dialog,
|
|
165
|
+
Html,
|
|
166
|
+
Math,
|
|
167
|
+
Slot,
|
|
168
|
+
Summary,
|
|
169
|
+
Template,
|
|
170
|
+
details,
|
|
171
|
+
dialog,
|
|
172
|
+
html,
|
|
173
|
+
math,
|
|
174
|
+
slot,
|
|
175
|
+
summary,
|
|
176
|
+
template,
|
|
177
|
+
)
|
|
178
|
+
from .elements.scripts import Canvas, Noscript, Script, canvas, noscript, script
|
|
179
|
+
from .elements.sectioning import (
|
|
180
|
+
H1,
|
|
181
|
+
H2,
|
|
182
|
+
H3,
|
|
183
|
+
H4,
|
|
184
|
+
H5,
|
|
185
|
+
H6,
|
|
186
|
+
Address,
|
|
187
|
+
Article,
|
|
188
|
+
Aside,
|
|
189
|
+
Body,
|
|
190
|
+
Footer,
|
|
191
|
+
Header,
|
|
192
|
+
Main,
|
|
193
|
+
Nav,
|
|
194
|
+
Section,
|
|
195
|
+
address,
|
|
196
|
+
article,
|
|
197
|
+
aside,
|
|
198
|
+
body,
|
|
199
|
+
footer,
|
|
200
|
+
h1,
|
|
201
|
+
h2,
|
|
202
|
+
h3,
|
|
203
|
+
h4,
|
|
204
|
+
h5,
|
|
205
|
+
h6,
|
|
206
|
+
header,
|
|
207
|
+
main,
|
|
208
|
+
nav,
|
|
209
|
+
section,
|
|
210
|
+
)
|
|
211
|
+
from .elements.tables import (
|
|
212
|
+
Caption,
|
|
213
|
+
Col,
|
|
214
|
+
Colgroup,
|
|
215
|
+
Table,
|
|
216
|
+
Tbody,
|
|
217
|
+
Td,
|
|
218
|
+
Tfoot,
|
|
219
|
+
Th,
|
|
220
|
+
Thead,
|
|
221
|
+
Tr,
|
|
222
|
+
caption,
|
|
223
|
+
col,
|
|
224
|
+
colgroup,
|
|
225
|
+
table,
|
|
226
|
+
tbody,
|
|
227
|
+
td,
|
|
228
|
+
tfoot,
|
|
229
|
+
th,
|
|
230
|
+
thead,
|
|
231
|
+
tr,
|
|
232
|
+
)
|
|
233
|
+
from .elements.typography import (
|
|
234
|
+
Blockquote,
|
|
235
|
+
Dd,
|
|
236
|
+
Del,
|
|
237
|
+
Div,
|
|
238
|
+
Dl,
|
|
239
|
+
Dt,
|
|
240
|
+
Figcaption,
|
|
241
|
+
Hr,
|
|
242
|
+
Ins,
|
|
243
|
+
Li,
|
|
244
|
+
Ol,
|
|
245
|
+
P,
|
|
246
|
+
Pre,
|
|
247
|
+
Ul,
|
|
248
|
+
blockquote,
|
|
249
|
+
dd,
|
|
250
|
+
del_,
|
|
251
|
+
div,
|
|
252
|
+
dl,
|
|
253
|
+
dt,
|
|
254
|
+
figcaption,
|
|
255
|
+
hr,
|
|
256
|
+
ins,
|
|
257
|
+
li,
|
|
258
|
+
ol,
|
|
259
|
+
p,
|
|
260
|
+
pre,
|
|
261
|
+
ul,
|
|
262
|
+
)
|
|
263
|
+
|
|
264
|
+
__all__ = [
|
|
265
|
+
"H1",
|
|
266
|
+
"H2",
|
|
267
|
+
"H3",
|
|
268
|
+
"H4",
|
|
269
|
+
"H5",
|
|
270
|
+
"H6",
|
|
271
|
+
"A",
|
|
272
|
+
"Abbr",
|
|
273
|
+
"Address",
|
|
274
|
+
"Area",
|
|
275
|
+
"Article",
|
|
276
|
+
"Aside",
|
|
277
|
+
"Audio",
|
|
278
|
+
"B",
|
|
279
|
+
"Base",
|
|
280
|
+
"Bdi",
|
|
281
|
+
"Bdo",
|
|
282
|
+
"Blockquote",
|
|
283
|
+
"Body",
|
|
284
|
+
"Br",
|
|
285
|
+
"Button",
|
|
286
|
+
"Canvas",
|
|
287
|
+
"Caption",
|
|
288
|
+
"Circle",
|
|
289
|
+
"Cite",
|
|
290
|
+
"Code",
|
|
291
|
+
"Col",
|
|
292
|
+
"Colgroup",
|
|
293
|
+
"Data",
|
|
294
|
+
"Datalist",
|
|
295
|
+
"Dd",
|
|
296
|
+
"Defs",
|
|
297
|
+
"Del",
|
|
298
|
+
"Details",
|
|
299
|
+
"Dfn",
|
|
300
|
+
"Dialog",
|
|
301
|
+
"Div",
|
|
302
|
+
"Dl",
|
|
303
|
+
"Dt",
|
|
304
|
+
"Ellipse",
|
|
305
|
+
"Em",
|
|
306
|
+
"Embed",
|
|
307
|
+
"Fieldset",
|
|
308
|
+
"Figcaption",
|
|
309
|
+
"Footer",
|
|
310
|
+
"Form",
|
|
311
|
+
"G",
|
|
312
|
+
"Head",
|
|
313
|
+
"Header",
|
|
314
|
+
"Hr",
|
|
315
|
+
"Html",
|
|
316
|
+
"I",
|
|
317
|
+
"Iframe",
|
|
318
|
+
"Img",
|
|
319
|
+
"Input",
|
|
320
|
+
"Ins",
|
|
321
|
+
"Kbd",
|
|
322
|
+
"Label",
|
|
323
|
+
"Legend",
|
|
324
|
+
"Li",
|
|
325
|
+
"Line",
|
|
326
|
+
"LinearGradient",
|
|
327
|
+
"Link",
|
|
328
|
+
"Main",
|
|
329
|
+
"Map",
|
|
330
|
+
"Mark",
|
|
331
|
+
"Math",
|
|
332
|
+
"Meta",
|
|
333
|
+
"Meter",
|
|
334
|
+
"Nav",
|
|
335
|
+
"Noscript",
|
|
336
|
+
"Object",
|
|
337
|
+
"Ol",
|
|
338
|
+
"Optgroup",
|
|
339
|
+
"Option",
|
|
340
|
+
"Output",
|
|
341
|
+
"P",
|
|
342
|
+
"Path",
|
|
343
|
+
"Picture",
|
|
344
|
+
"Polygon",
|
|
345
|
+
"Portal",
|
|
346
|
+
"Pre",
|
|
347
|
+
"Progress",
|
|
348
|
+
"Q",
|
|
349
|
+
"RadialGradient",
|
|
350
|
+
"Rect",
|
|
351
|
+
"Rp",
|
|
352
|
+
"Rt",
|
|
353
|
+
"Ruby",
|
|
354
|
+
"S",
|
|
355
|
+
"Samp",
|
|
356
|
+
"Script",
|
|
357
|
+
"Section",
|
|
358
|
+
"Select",
|
|
359
|
+
"Slot",
|
|
360
|
+
"Small",
|
|
361
|
+
"Source",
|
|
362
|
+
"Span",
|
|
363
|
+
"Stop",
|
|
364
|
+
"Strong",
|
|
365
|
+
"StyleEl",
|
|
366
|
+
"Sub",
|
|
367
|
+
"Summary",
|
|
368
|
+
"Sup",
|
|
369
|
+
"Svg",
|
|
370
|
+
"Table",
|
|
371
|
+
"Tbody",
|
|
372
|
+
"Td",
|
|
373
|
+
"Template",
|
|
374
|
+
"Text",
|
|
375
|
+
"Textarea",
|
|
376
|
+
"Tfoot",
|
|
377
|
+
"Th",
|
|
378
|
+
"Thead",
|
|
379
|
+
"Time",
|
|
380
|
+
"Title",
|
|
381
|
+
"Tr",
|
|
382
|
+
"Track",
|
|
383
|
+
"U",
|
|
384
|
+
"Ul",
|
|
385
|
+
"Video",
|
|
386
|
+
"Wbr",
|
|
387
|
+
"a",
|
|
388
|
+
"abbr",
|
|
389
|
+
"address",
|
|
390
|
+
"area",
|
|
391
|
+
"article",
|
|
392
|
+
"aside",
|
|
393
|
+
"audio",
|
|
394
|
+
"b",
|
|
395
|
+
"base",
|
|
396
|
+
"bdi",
|
|
397
|
+
"bdo",
|
|
398
|
+
"blockquote",
|
|
399
|
+
"body",
|
|
400
|
+
"br",
|
|
401
|
+
"button",
|
|
402
|
+
"canvas",
|
|
403
|
+
"caption",
|
|
404
|
+
"circle",
|
|
405
|
+
"cite",
|
|
406
|
+
"code",
|
|
407
|
+
"col",
|
|
408
|
+
"colgroup",
|
|
409
|
+
"data",
|
|
410
|
+
"datalist",
|
|
411
|
+
"dd",
|
|
412
|
+
"defs",
|
|
413
|
+
"del_",
|
|
414
|
+
"details",
|
|
415
|
+
"dfn",
|
|
416
|
+
"dialog",
|
|
417
|
+
"div",
|
|
418
|
+
"dl",
|
|
419
|
+
"dt",
|
|
420
|
+
"elements",
|
|
421
|
+
"ellipse",
|
|
422
|
+
"em",
|
|
423
|
+
"embed",
|
|
424
|
+
"fieldset",
|
|
425
|
+
"figcaption",
|
|
426
|
+
"footer",
|
|
427
|
+
"form",
|
|
428
|
+
"g",
|
|
429
|
+
"h1",
|
|
430
|
+
"h2",
|
|
431
|
+
"h3",
|
|
432
|
+
"h4",
|
|
433
|
+
"h5",
|
|
434
|
+
"h6",
|
|
435
|
+
"head",
|
|
436
|
+
"header",
|
|
437
|
+
"hr",
|
|
438
|
+
"html",
|
|
439
|
+
"i",
|
|
440
|
+
"iframe",
|
|
441
|
+
"image",
|
|
442
|
+
"img",
|
|
443
|
+
"input",
|
|
444
|
+
"ins",
|
|
445
|
+
"kbd",
|
|
446
|
+
"label",
|
|
447
|
+
"legend",
|
|
448
|
+
"li",
|
|
449
|
+
"line",
|
|
450
|
+
"linear_gradient",
|
|
451
|
+
"link",
|
|
452
|
+
"main",
|
|
453
|
+
"map",
|
|
454
|
+
"mark",
|
|
455
|
+
"math",
|
|
456
|
+
"meta",
|
|
457
|
+
"meter",
|
|
458
|
+
"nav",
|
|
459
|
+
"noscript",
|
|
460
|
+
"object",
|
|
461
|
+
"ol",
|
|
462
|
+
"optgroup",
|
|
463
|
+
"option",
|
|
464
|
+
"output",
|
|
465
|
+
"p",
|
|
466
|
+
"path",
|
|
467
|
+
"picture",
|
|
468
|
+
"polygon",
|
|
469
|
+
"portal",
|
|
470
|
+
"pre",
|
|
471
|
+
"progress",
|
|
472
|
+
"q",
|
|
473
|
+
"radial_gradient",
|
|
474
|
+
"rect",
|
|
475
|
+
"rp",
|
|
476
|
+
"rt",
|
|
477
|
+
"ruby",
|
|
478
|
+
"s",
|
|
479
|
+
"samp",
|
|
480
|
+
"script",
|
|
481
|
+
"section",
|
|
482
|
+
"select",
|
|
483
|
+
"slot",
|
|
484
|
+
"small",
|
|
485
|
+
"source",
|
|
486
|
+
"span",
|
|
487
|
+
"stop",
|
|
488
|
+
"strong",
|
|
489
|
+
"style",
|
|
490
|
+
"sub",
|
|
491
|
+
"summary",
|
|
492
|
+
"sup",
|
|
493
|
+
"svg",
|
|
494
|
+
"table",
|
|
495
|
+
"tbody",
|
|
496
|
+
"td",
|
|
497
|
+
"template",
|
|
498
|
+
"text",
|
|
499
|
+
"textarea",
|
|
500
|
+
"tfoot",
|
|
501
|
+
"th",
|
|
502
|
+
"thead",
|
|
503
|
+
"time",
|
|
504
|
+
"title",
|
|
505
|
+
"tr",
|
|
506
|
+
"track",
|
|
507
|
+
"u",
|
|
508
|
+
"ul",
|
|
509
|
+
"video",
|
|
510
|
+
"wbr",
|
|
511
|
+
]
|