reflex 0.3.2a1__py3-none-any.whl → 0.3.3a1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +20 -3
- reflex/.templates/web/next.config.js +1 -0
- reflex/.templates/web/utils/helpers/range.js +43 -0
- reflex/.templates/web/utils/state.js +10 -6
- reflex/__init__.py +312 -40
- reflex/__init__.pyi +477 -0
- reflex/compiler/compiler.py +3 -0
- reflex/components/__init__.py +138 -138
- reflex/components/component.py +29 -22
- reflex/components/datadisplay/__init__.py +3 -1
- reflex/components/datadisplay/code.py +388 -14
- reflex/components/datadisplay/code.pyi +1146 -10
- reflex/components/forms/button.py +3 -0
- reflex/components/forms/checkbox.py +3 -0
- reflex/components/forms/form.py +90 -27
- reflex/components/forms/input.py +3 -0
- reflex/components/forms/numberinput.py +3 -0
- reflex/components/forms/pininput.py +77 -21
- reflex/components/forms/radio.py +3 -0
- reflex/components/forms/rangeslider.py +3 -0
- reflex/components/forms/select.py +3 -0
- reflex/components/forms/slider.py +3 -0
- reflex/components/forms/switch.py +3 -0
- reflex/components/forms/textarea.py +3 -0
- reflex/components/layout/foreach.py +12 -6
- reflex/components/libs/chakra.py +2 -0
- reflex/components/libs/chakra.pyi +323 -24
- reflex/components/tags/iter_tag.py +18 -18
- reflex/components/tags/tag.py +3 -2
- reflex/components/typography/markdown.py +10 -0
- reflex/config.py +12 -0
- reflex/constants/installer.py +4 -4
- reflex/event.py +4 -0
- reflex/page.py +3 -4
- reflex/page.pyi +17 -0
- reflex/reflex.py +3 -0
- reflex/state.py +31 -12
- reflex/testing.py +1 -1
- reflex/utils/build.py +24 -19
- reflex/utils/console.py +5 -1
- reflex/utils/format.py +26 -9
- reflex/utils/prerequisites.py +27 -28
- reflex/utils/processes.py +5 -4
- reflex/vars.py +80 -12
- reflex/vars.pyi +7 -0
- {reflex-0.3.2a1.dist-info → reflex-0.3.3a1.dist-info}/METADATA +3 -2
- {reflex-0.3.2a1.dist-info → reflex-0.3.3a1.dist-info}/RECORD +50 -53
- reflex/.templates/web/.pytest_cache/.gitignore +0 -2
- reflex/.templates/web/.pytest_cache/CACHEDIR.TAG +0 -4
- reflex/.templates/web/.pytest_cache/README.md +0 -8
- reflex/.templates/web/.pytest_cache/v/cache/nodeids +0 -1
- reflex/.templates/web/.pytest_cache/v/cache/stepwise +0 -1
- reflex/.templates/web/styles/code/prism.js +0 -1015
- {reflex-0.3.2a1.dist-info → reflex-0.3.3a1.dist-info}/LICENSE +0 -0
- {reflex-0.3.2a1.dist-info → reflex-0.3.3a1.dist-info}/WHEEL +0 -0
- {reflex-0.3.2a1.dist-info → reflex-0.3.3a1.dist-info}/entry_points.txt +0 -0
reflex/__init__.pyi
ADDED
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
from reflex import admin as admin
|
|
2
|
+
from reflex.admin import AdminDash as AdminDash
|
|
3
|
+
from reflex import app as app
|
|
4
|
+
from reflex.app import App as App
|
|
5
|
+
from reflex.app import UploadFile as UploadFile
|
|
6
|
+
from reflex import base as base
|
|
7
|
+
from reflex.base import Base as Base
|
|
8
|
+
from reflex import compiler as compiler
|
|
9
|
+
from reflex.compiler.utils import get_asset_path as get_asset_path
|
|
10
|
+
from reflex.components import Accordion as Accordion
|
|
11
|
+
from reflex.components import AccordionButton as AccordionButton
|
|
12
|
+
from reflex.components import AccordionIcon as AccordionIcon
|
|
13
|
+
from reflex.components import AccordionItem as AccordionItem
|
|
14
|
+
from reflex.components import AccordionPanel as AccordionPanel
|
|
15
|
+
from reflex.components import Alert as Alert
|
|
16
|
+
from reflex.components import AlertDescription as AlertDescription
|
|
17
|
+
from reflex.components import AlertDialog as AlertDialog
|
|
18
|
+
from reflex.components import AlertDialogBody as AlertDialogBody
|
|
19
|
+
from reflex.components import AlertDialogContent as AlertDialogContent
|
|
20
|
+
from reflex.components import AlertDialogFooter as AlertDialogFooter
|
|
21
|
+
from reflex.components import AlertDialogHeader as AlertDialogHeader
|
|
22
|
+
from reflex.components import AlertDialogOverlay as AlertDialogOverlay
|
|
23
|
+
from reflex.components import AlertIcon as AlertIcon
|
|
24
|
+
from reflex.components import AlertTitle as AlertTitle
|
|
25
|
+
from reflex.components import AspectRatio as AspectRatio
|
|
26
|
+
from reflex.components import Audio as Audio
|
|
27
|
+
from reflex.components import Avatar as Avatar
|
|
28
|
+
from reflex.components import AvatarBadge as AvatarBadge
|
|
29
|
+
from reflex.components import AvatarGroup as AvatarGroup
|
|
30
|
+
from reflex.components import Badge as Badge
|
|
31
|
+
from reflex.components import Box as Box
|
|
32
|
+
from reflex.components import Breadcrumb as Breadcrumb
|
|
33
|
+
from reflex.components import BreadcrumbItem as BreadcrumbItem
|
|
34
|
+
from reflex.components import BreadcrumbLink as BreadcrumbLink
|
|
35
|
+
from reflex.components import BreadcrumbSeparator as BreadcrumbSeparator
|
|
36
|
+
from reflex.components import Button as Button
|
|
37
|
+
from reflex.components import ButtonGroup as ButtonGroup
|
|
38
|
+
from reflex.components import Card as Card
|
|
39
|
+
from reflex.components import CardBody as CardBody
|
|
40
|
+
from reflex.components import CardFooter as CardFooter
|
|
41
|
+
from reflex.components import CardHeader as CardHeader
|
|
42
|
+
from reflex.components import Center as Center
|
|
43
|
+
from reflex.components import Checkbox as Checkbox
|
|
44
|
+
from reflex.components import CheckboxGroup as CheckboxGroup
|
|
45
|
+
from reflex.components import CircularProgress as CircularProgress
|
|
46
|
+
from reflex.components import CircularProgressLabel as CircularProgressLabel
|
|
47
|
+
from reflex.components import Circle as Circle
|
|
48
|
+
from reflex.components import Code as Code
|
|
49
|
+
from reflex.components import CodeBlock as CodeBlock
|
|
50
|
+
from reflex.components import Collapse as Collapse
|
|
51
|
+
from reflex.components import ColorModeButton as ColorModeButton
|
|
52
|
+
from reflex.components import ColorModeIcon as ColorModeIcon
|
|
53
|
+
from reflex.components import ColorModeSwitch as ColorModeSwitch
|
|
54
|
+
from reflex.components import Component as Component
|
|
55
|
+
from reflex.components import Cond as Cond
|
|
56
|
+
from reflex.components import ConnectionBanner as ConnectionBanner
|
|
57
|
+
from reflex.components import ConnectionModal as ConnectionModal
|
|
58
|
+
from reflex.components import Container as Container
|
|
59
|
+
from reflex.components import DataTable as DataTable
|
|
60
|
+
from reflex.components import DataEditor as DataEditor
|
|
61
|
+
from reflex.components import DebounceInput as DebounceInput
|
|
62
|
+
from reflex.components import Divider as Divider
|
|
63
|
+
from reflex.components import Drawer as Drawer
|
|
64
|
+
from reflex.components import DrawerBody as DrawerBody
|
|
65
|
+
from reflex.components import DrawerCloseButton as DrawerCloseButton
|
|
66
|
+
from reflex.components import DrawerContent as DrawerContent
|
|
67
|
+
from reflex.components import DrawerFooter as DrawerFooter
|
|
68
|
+
from reflex.components import DrawerHeader as DrawerHeader
|
|
69
|
+
from reflex.components import DrawerOverlay as DrawerOverlay
|
|
70
|
+
from reflex.components import Editable as Editable
|
|
71
|
+
from reflex.components import EditableInput as EditableInput
|
|
72
|
+
from reflex.components import EditablePreview as EditablePreview
|
|
73
|
+
from reflex.components import EditableTextarea as EditableTextarea
|
|
74
|
+
from reflex.components import Editor as Editor
|
|
75
|
+
from reflex.components import Email as Email
|
|
76
|
+
from reflex.components import Fade as Fade
|
|
77
|
+
from reflex.components import Flex as Flex
|
|
78
|
+
from reflex.components import Foreach as Foreach
|
|
79
|
+
from reflex.components import Form as Form
|
|
80
|
+
from reflex.components import FormControl as FormControl
|
|
81
|
+
from reflex.components import FormErrorMessage as FormErrorMessage
|
|
82
|
+
from reflex.components import FormHelperText as FormHelperText
|
|
83
|
+
from reflex.components import FormLabel as FormLabel
|
|
84
|
+
from reflex.components import Fragment as Fragment
|
|
85
|
+
from reflex.components import Grid as Grid
|
|
86
|
+
from reflex.components import GridItem as GridItem
|
|
87
|
+
from reflex.components import Heading as Heading
|
|
88
|
+
from reflex.components import Highlight as Highlight
|
|
89
|
+
from reflex.components import Hstack as Hstack
|
|
90
|
+
from reflex.components import Html as Html
|
|
91
|
+
from reflex.components import Icon as Icon
|
|
92
|
+
from reflex.components import IconButton as IconButton
|
|
93
|
+
from reflex.components import Image as Image
|
|
94
|
+
from reflex.components import Input as Input
|
|
95
|
+
from reflex.components import InputGroup as InputGroup
|
|
96
|
+
from reflex.components import InputLeftAddon as InputLeftAddon
|
|
97
|
+
from reflex.components import InputLeftElement as InputLeftElement
|
|
98
|
+
from reflex.components import InputRightAddon as InputRightAddon
|
|
99
|
+
from reflex.components import InputRightElement as InputRightElement
|
|
100
|
+
from reflex.components import Kbd as Kbd
|
|
101
|
+
from reflex.components import Link as Link
|
|
102
|
+
from reflex.components import LinkBox as LinkBox
|
|
103
|
+
from reflex.components import LinkOverlay as LinkOverlay
|
|
104
|
+
from reflex.components import List as List
|
|
105
|
+
from reflex.components import ListItem as ListItem
|
|
106
|
+
from reflex.components import Markdown as Markdown
|
|
107
|
+
from reflex.components import Menu as Menu
|
|
108
|
+
from reflex.components import MenuButton as MenuButton
|
|
109
|
+
from reflex.components import MenuDivider as MenuDivider
|
|
110
|
+
from reflex.components import MenuGroup as MenuGroup
|
|
111
|
+
from reflex.components import MenuItem as MenuItem
|
|
112
|
+
from reflex.components import MenuItemOption as MenuItemOption
|
|
113
|
+
from reflex.components import MenuList as MenuList
|
|
114
|
+
from reflex.components import MenuOptionGroup as MenuOptionGroup
|
|
115
|
+
from reflex.components import Modal as Modal
|
|
116
|
+
from reflex.components import ModalBody as ModalBody
|
|
117
|
+
from reflex.components import ModalCloseButton as ModalCloseButton
|
|
118
|
+
from reflex.components import ModalContent as ModalContent
|
|
119
|
+
from reflex.components import ModalFooter as ModalFooter
|
|
120
|
+
from reflex.components import ModalHeader as ModalHeader
|
|
121
|
+
from reflex.components import ModalOverlay as ModalOverlay
|
|
122
|
+
from reflex.components import Moment as Moment
|
|
123
|
+
from reflex.components import MultiSelect as MultiSelect
|
|
124
|
+
from reflex.components import MultiSelectOption as MultiSelectOption
|
|
125
|
+
from reflex.components import NextLink as NextLink
|
|
126
|
+
from reflex.components import NumberDecrementStepper as NumberDecrementStepper
|
|
127
|
+
from reflex.components import NumberIncrementStepper as NumberIncrementStepper
|
|
128
|
+
from reflex.components import NumberInput as NumberInput
|
|
129
|
+
from reflex.components import NumberInputField as NumberInputField
|
|
130
|
+
from reflex.components import NumberInputStepper as NumberInputStepper
|
|
131
|
+
from reflex.components import Option as Option
|
|
132
|
+
from reflex.components import OrderedList as OrderedList
|
|
133
|
+
from reflex.components import Password as Password
|
|
134
|
+
from reflex.components import PinInput as PinInput
|
|
135
|
+
from reflex.components import PinInputField as PinInputField
|
|
136
|
+
from reflex.components import Plotly as Plotly
|
|
137
|
+
from reflex.components import Popover as Popover
|
|
138
|
+
from reflex.components import PopoverAnchor as PopoverAnchor
|
|
139
|
+
from reflex.components import PopoverArrow as PopoverArrow
|
|
140
|
+
from reflex.components import PopoverBody as PopoverBody
|
|
141
|
+
from reflex.components import PopoverCloseButton as PopoverCloseButton
|
|
142
|
+
from reflex.components import PopoverContent as PopoverContent
|
|
143
|
+
from reflex.components import PopoverFooter as PopoverFooter
|
|
144
|
+
from reflex.components import PopoverHeader as PopoverHeader
|
|
145
|
+
from reflex.components import PopoverTrigger as PopoverTrigger
|
|
146
|
+
from reflex.components import Progress as Progress
|
|
147
|
+
from reflex.components import Radio as Radio
|
|
148
|
+
from reflex.components import RadioGroup as RadioGroup
|
|
149
|
+
from reflex.components import RangeSlider as RangeSlider
|
|
150
|
+
from reflex.components import RangeSliderFilledTrack as RangeSliderFilledTrack
|
|
151
|
+
from reflex.components import RangeSliderThumb as RangeSliderThumb
|
|
152
|
+
from reflex.components import RangeSliderTrack as RangeSliderTrack
|
|
153
|
+
from reflex.components import ResponsiveGrid as ResponsiveGrid
|
|
154
|
+
from reflex.components import ScaleFade as ScaleFade
|
|
155
|
+
from reflex.components import Script as Script
|
|
156
|
+
from reflex.components import Select as Select
|
|
157
|
+
from reflex.components import Skeleton as Skeleton
|
|
158
|
+
from reflex.components import SkeletonCircle as SkeletonCircle
|
|
159
|
+
from reflex.components import SkeletonText as SkeletonText
|
|
160
|
+
from reflex.components import Slide as Slide
|
|
161
|
+
from reflex.components import SlideFade as SlideFade
|
|
162
|
+
from reflex.components import Slider as Slider
|
|
163
|
+
from reflex.components import SliderFilledTrack as SliderFilledTrack
|
|
164
|
+
from reflex.components import SliderMark as SliderMark
|
|
165
|
+
from reflex.components import SliderThumb as SliderThumb
|
|
166
|
+
from reflex.components import SliderTrack as SliderTrack
|
|
167
|
+
from reflex.components import Spacer as Spacer
|
|
168
|
+
from reflex.components import Span as Span
|
|
169
|
+
from reflex.components import Spinner as Spinner
|
|
170
|
+
from reflex.components import Square as Square
|
|
171
|
+
from reflex.components import Stack as Stack
|
|
172
|
+
from reflex.components import Stat as Stat
|
|
173
|
+
from reflex.components import StatArrow as StatArrow
|
|
174
|
+
from reflex.components import StatGroup as StatGroup
|
|
175
|
+
from reflex.components import StatHelpText as StatHelpText
|
|
176
|
+
from reflex.components import StatLabel as StatLabel
|
|
177
|
+
from reflex.components import StatNumber as StatNumber
|
|
178
|
+
from reflex.components import Step as Step
|
|
179
|
+
from reflex.components import StepDescription as StepDescription
|
|
180
|
+
from reflex.components import StepIcon as StepIcon
|
|
181
|
+
from reflex.components import StepIndicator as StepIndicator
|
|
182
|
+
from reflex.components import StepNumber as StepNumber
|
|
183
|
+
from reflex.components import StepSeparator as StepSeparator
|
|
184
|
+
from reflex.components import StepStatus as StepStatus
|
|
185
|
+
from reflex.components import StepTitle as StepTitle
|
|
186
|
+
from reflex.components import Stepper as Stepper
|
|
187
|
+
from reflex.components import Switch as Switch
|
|
188
|
+
from reflex.components import Tab as Tab
|
|
189
|
+
from reflex.components import TabList as TabList
|
|
190
|
+
from reflex.components import TabPanel as TabPanel
|
|
191
|
+
from reflex.components import TabPanels as TabPanels
|
|
192
|
+
from reflex.components import Table as Table
|
|
193
|
+
from reflex.components import TableCaption as TableCaption
|
|
194
|
+
from reflex.components import TableContainer as TableContainer
|
|
195
|
+
from reflex.components import Tabs as Tabs
|
|
196
|
+
from reflex.components import Tag as Tag
|
|
197
|
+
from reflex.components import TagCloseButton as TagCloseButton
|
|
198
|
+
from reflex.components import TagLabel as TagLabel
|
|
199
|
+
from reflex.components import TagLeftIcon as TagLeftIcon
|
|
200
|
+
from reflex.components import TagRightIcon as TagRightIcon
|
|
201
|
+
from reflex.components import Tbody as Tbody
|
|
202
|
+
from reflex.components import Td as Td
|
|
203
|
+
from reflex.components import Text as Text
|
|
204
|
+
from reflex.components import TextArea as TextArea
|
|
205
|
+
from reflex.components import Tfoot as Tfoot
|
|
206
|
+
from reflex.components import Th as Th
|
|
207
|
+
from reflex.components import Thead as Thead
|
|
208
|
+
from reflex.components import Tooltip as Tooltip
|
|
209
|
+
from reflex.components import Tr as Tr
|
|
210
|
+
from reflex.components import UnorderedList as UnorderedList
|
|
211
|
+
from reflex.components import Upload as Upload
|
|
212
|
+
from reflex.components import Video as Video
|
|
213
|
+
from reflex.components import VisuallyHidden as VisuallyHidden
|
|
214
|
+
from reflex.components import Vstack as Vstack
|
|
215
|
+
from reflex.components import Wrap as Wrap
|
|
216
|
+
from reflex.components import WrapItem as WrapItem
|
|
217
|
+
from reflex.components import accordion as accordion
|
|
218
|
+
from reflex.components import accordion_button as accordion_button
|
|
219
|
+
from reflex.components import accordion_icon as accordion_icon
|
|
220
|
+
from reflex.components import accordion_item as accordion_item
|
|
221
|
+
from reflex.components import accordion_panel as accordion_panel
|
|
222
|
+
from reflex.components import alert as alert
|
|
223
|
+
from reflex.components import alert_description as alert_description
|
|
224
|
+
from reflex.components import alert_dialog as alert_dialog
|
|
225
|
+
from reflex.components import alert_dialog_body as alert_dialog_body
|
|
226
|
+
from reflex.components import alert_dialog_content as alert_dialog_content
|
|
227
|
+
from reflex.components import alert_dialog_footer as alert_dialog_footer
|
|
228
|
+
from reflex.components import alert_dialog_header as alert_dialog_header
|
|
229
|
+
from reflex.components import alert_dialog_overlay as alert_dialog_overlay
|
|
230
|
+
from reflex.components import alert_icon as alert_icon
|
|
231
|
+
from reflex.components import alert_title as alert_title
|
|
232
|
+
from reflex.components import aspect_ratio as aspect_ratio
|
|
233
|
+
from reflex.components import audio as audio
|
|
234
|
+
from reflex.components import avatar as avatar
|
|
235
|
+
from reflex.components import avatar_badge as avatar_badge
|
|
236
|
+
from reflex.components import avatar_group as avatar_group
|
|
237
|
+
from reflex.components import badge as badge
|
|
238
|
+
from reflex.components import box as box
|
|
239
|
+
from reflex.components import breadcrumb as breadcrumb
|
|
240
|
+
from reflex.components import breadcrumb_item as breadcrumb_item
|
|
241
|
+
from reflex.components import breadcrumb_link as breadcrumb_link
|
|
242
|
+
from reflex.components import breadcrumb_separator as breadcrumb_separator
|
|
243
|
+
from reflex.components import button as button
|
|
244
|
+
from reflex.components import button_group as button_group
|
|
245
|
+
from reflex.components import card as card
|
|
246
|
+
from reflex.components import card_body as card_body
|
|
247
|
+
from reflex.components import card_footer as card_footer
|
|
248
|
+
from reflex.components import card_header as card_header
|
|
249
|
+
from reflex.components import center as center
|
|
250
|
+
from reflex.components import checkbox as checkbox
|
|
251
|
+
from reflex.components import checkbox_group as checkbox_group
|
|
252
|
+
from reflex.components import circular_progress as circular_progress
|
|
253
|
+
from reflex.components import circular_progress_label as circular_progress_label
|
|
254
|
+
from reflex.components import circle as circle
|
|
255
|
+
from reflex.components import code as code
|
|
256
|
+
from reflex.components import code_block as code_block
|
|
257
|
+
from reflex.components import collapse as collapse
|
|
258
|
+
from reflex.components import color_mode_button as color_mode_button
|
|
259
|
+
from reflex.components import color_mode_icon as color_mode_icon
|
|
260
|
+
from reflex.components import color_mode_switch as color_mode_switch
|
|
261
|
+
from reflex.components import component as component
|
|
262
|
+
from reflex.components import cond as cond
|
|
263
|
+
from reflex.components import connection_banner as connection_banner
|
|
264
|
+
from reflex.components import connection_modal as connection_modal
|
|
265
|
+
from reflex.components import container as container
|
|
266
|
+
from reflex.components import data_table as data_table
|
|
267
|
+
from reflex.components import data_editor as data_editor
|
|
268
|
+
from reflex.components import debounce_input as debounce_input
|
|
269
|
+
from reflex.components import divider as divider
|
|
270
|
+
from reflex.components import drawer as drawer
|
|
271
|
+
from reflex.components import drawer_body as drawer_body
|
|
272
|
+
from reflex.components import drawer_close_button as drawer_close_button
|
|
273
|
+
from reflex.components import drawer_content as drawer_content
|
|
274
|
+
from reflex.components import drawer_footer as drawer_footer
|
|
275
|
+
from reflex.components import drawer_header as drawer_header
|
|
276
|
+
from reflex.components import drawer_overlay as drawer_overlay
|
|
277
|
+
from reflex.components import editable as editable
|
|
278
|
+
from reflex.components import editable_input as editable_input
|
|
279
|
+
from reflex.components import editable_preview as editable_preview
|
|
280
|
+
from reflex.components import editable_textarea as editable_textarea
|
|
281
|
+
from reflex.components import editor as editor
|
|
282
|
+
from reflex.components import email as email
|
|
283
|
+
from reflex.components import fade as fade
|
|
284
|
+
from reflex.components import flex as flex
|
|
285
|
+
from reflex.components import foreach as foreach
|
|
286
|
+
from reflex.components import form as form
|
|
287
|
+
from reflex.components import form_control as form_control
|
|
288
|
+
from reflex.components import form_error_message as form_error_message
|
|
289
|
+
from reflex.components import form_helper_text as form_helper_text
|
|
290
|
+
from reflex.components import form_label as form_label
|
|
291
|
+
from reflex.components import fragment as fragment
|
|
292
|
+
from reflex.components import grid as grid
|
|
293
|
+
from reflex.components import grid_item as grid_item
|
|
294
|
+
from reflex.components import heading as heading
|
|
295
|
+
from reflex.components import highlight as highlight
|
|
296
|
+
from reflex.components import hstack as hstack
|
|
297
|
+
from reflex.components import html as html
|
|
298
|
+
from reflex.components import icon as icon
|
|
299
|
+
from reflex.components import icon_button as icon_button
|
|
300
|
+
from reflex.components import image as image
|
|
301
|
+
from reflex.components import input as input
|
|
302
|
+
from reflex.components import input_group as input_group
|
|
303
|
+
from reflex.components import input_left_addon as input_left_addon
|
|
304
|
+
from reflex.components import input_left_element as input_left_element
|
|
305
|
+
from reflex.components import input_right_addon as input_right_addon
|
|
306
|
+
from reflex.components import input_right_element as input_right_element
|
|
307
|
+
from reflex.components import kbd as kbd
|
|
308
|
+
from reflex.components import link as link
|
|
309
|
+
from reflex.components import link_box as link_box
|
|
310
|
+
from reflex.components import link_overlay as link_overlay
|
|
311
|
+
from reflex.components import list as list
|
|
312
|
+
from reflex.components import list_item as list_item
|
|
313
|
+
from reflex.components import markdown as markdown
|
|
314
|
+
from reflex.components import menu as menu
|
|
315
|
+
from reflex.components import menu_button as menu_button
|
|
316
|
+
from reflex.components import menu_divider as menu_divider
|
|
317
|
+
from reflex.components import menu_group as menu_group
|
|
318
|
+
from reflex.components import menu_item as menu_item
|
|
319
|
+
from reflex.components import menu_item_option as menu_item_option
|
|
320
|
+
from reflex.components import menu_list as menu_list
|
|
321
|
+
from reflex.components import menu_option_group as menu_option_group
|
|
322
|
+
from reflex.components import modal as modal
|
|
323
|
+
from reflex.components import modal_body as modal_body
|
|
324
|
+
from reflex.components import modal_close_button as modal_close_button
|
|
325
|
+
from reflex.components import modal_content as modal_content
|
|
326
|
+
from reflex.components import modal_footer as modal_footer
|
|
327
|
+
from reflex.components import modal_header as modal_header
|
|
328
|
+
from reflex.components import modal_overlay as modal_overlay
|
|
329
|
+
from reflex.components import moment as moment
|
|
330
|
+
from reflex.components import multi_select as multi_select
|
|
331
|
+
from reflex.components import multi_select_option as multi_select_option
|
|
332
|
+
from reflex.components import next_link as next_link
|
|
333
|
+
from reflex.components import number_decrement_stepper as number_decrement_stepper
|
|
334
|
+
from reflex.components import number_increment_stepper as number_increment_stepper
|
|
335
|
+
from reflex.components import number_input as number_input
|
|
336
|
+
from reflex.components import number_input_field as number_input_field
|
|
337
|
+
from reflex.components import number_input_stepper as number_input_stepper
|
|
338
|
+
from reflex.components import option as option
|
|
339
|
+
from reflex.components import ordered_list as ordered_list
|
|
340
|
+
from reflex.components import password as password
|
|
341
|
+
from reflex.components import pin_input as pin_input
|
|
342
|
+
from reflex.components import pin_input_field as pin_input_field
|
|
343
|
+
from reflex.components import plotly as plotly
|
|
344
|
+
from reflex.components import popover as popover
|
|
345
|
+
from reflex.components import popover_anchor as popover_anchor
|
|
346
|
+
from reflex.components import popover_arrow as popover_arrow
|
|
347
|
+
from reflex.components import popover_body as popover_body
|
|
348
|
+
from reflex.components import popover_close_button as popover_close_button
|
|
349
|
+
from reflex.components import popover_content as popover_content
|
|
350
|
+
from reflex.components import popover_footer as popover_footer
|
|
351
|
+
from reflex.components import popover_header as popover_header
|
|
352
|
+
from reflex.components import popover_trigger as popover_trigger
|
|
353
|
+
from reflex.components import progress as progress
|
|
354
|
+
from reflex.components import radio as radio
|
|
355
|
+
from reflex.components import radio_group as radio_group
|
|
356
|
+
from reflex.components import range_slider as range_slider
|
|
357
|
+
from reflex.components import range_slider_filled_track as range_slider_filled_track
|
|
358
|
+
from reflex.components import range_slider_thumb as range_slider_thumb
|
|
359
|
+
from reflex.components import range_slider_track as range_slider_track
|
|
360
|
+
from reflex.components import responsive_grid as responsive_grid
|
|
361
|
+
from reflex.components import scale_fade as scale_fade
|
|
362
|
+
from reflex.components import script as script
|
|
363
|
+
from reflex.components import select as select
|
|
364
|
+
from reflex.components import skeleton as skeleton
|
|
365
|
+
from reflex.components import skeleton_circle as skeleton_circle
|
|
366
|
+
from reflex.components import skeleton_text as skeleton_text
|
|
367
|
+
from reflex.components import slide as slide
|
|
368
|
+
from reflex.components import slide_fade as slide_fade
|
|
369
|
+
from reflex.components import slider as slider
|
|
370
|
+
from reflex.components import slider_filled_track as slider_filled_track
|
|
371
|
+
from reflex.components import slider_mark as slider_mark
|
|
372
|
+
from reflex.components import slider_thumb as slider_thumb
|
|
373
|
+
from reflex.components import slider_track as slider_track
|
|
374
|
+
from reflex.components import spacer as spacer
|
|
375
|
+
from reflex.components import span as span
|
|
376
|
+
from reflex.components import spinner as spinner
|
|
377
|
+
from reflex.components import square as square
|
|
378
|
+
from reflex.components import stack as stack
|
|
379
|
+
from reflex.components import stat as stat
|
|
380
|
+
from reflex.components import stat_arrow as stat_arrow
|
|
381
|
+
from reflex.components import stat_group as stat_group
|
|
382
|
+
from reflex.components import stat_help_text as stat_help_text
|
|
383
|
+
from reflex.components import stat_label as stat_label
|
|
384
|
+
from reflex.components import stat_number as stat_number
|
|
385
|
+
from reflex.components import step as step
|
|
386
|
+
from reflex.components import step_description as step_description
|
|
387
|
+
from reflex.components import step_icon as step_icon
|
|
388
|
+
from reflex.components import step_indicator as step_indicator
|
|
389
|
+
from reflex.components import step_number as step_number
|
|
390
|
+
from reflex.components import step_separator as step_separator
|
|
391
|
+
from reflex.components import step_status as step_status
|
|
392
|
+
from reflex.components import step_title as step_title
|
|
393
|
+
from reflex.components import stepper as stepper
|
|
394
|
+
from reflex.components import switch as switch
|
|
395
|
+
from reflex.components import tab as tab
|
|
396
|
+
from reflex.components import tab_list as tab_list
|
|
397
|
+
from reflex.components import tab_panel as tab_panel
|
|
398
|
+
from reflex.components import tab_panels as tab_panels
|
|
399
|
+
from reflex.components import table as table
|
|
400
|
+
from reflex.components import table_caption as table_caption
|
|
401
|
+
from reflex.components import table_container as table_container
|
|
402
|
+
from reflex.components import tabs as tabs
|
|
403
|
+
from reflex.components import tag as tag
|
|
404
|
+
from reflex.components import tag_close_button as tag_close_button
|
|
405
|
+
from reflex.components import tag_label as tag_label
|
|
406
|
+
from reflex.components import tag_left_icon as tag_left_icon
|
|
407
|
+
from reflex.components import tag_right_icon as tag_right_icon
|
|
408
|
+
from reflex.components import tbody as tbody
|
|
409
|
+
from reflex.components import td as td
|
|
410
|
+
from reflex.components import text as text
|
|
411
|
+
from reflex.components import text_area as text_area
|
|
412
|
+
from reflex.components import tfoot as tfoot
|
|
413
|
+
from reflex.components import th as th
|
|
414
|
+
from reflex.components import thead as thead
|
|
415
|
+
from reflex.components import tooltip as tooltip
|
|
416
|
+
from reflex.components import tr as tr
|
|
417
|
+
from reflex.components import unordered_list as unordered_list
|
|
418
|
+
from reflex.components import upload as upload
|
|
419
|
+
from reflex.components import video as video
|
|
420
|
+
from reflex.components import visually_hidden as visually_hidden
|
|
421
|
+
from reflex.components import vstack as vstack
|
|
422
|
+
from reflex.components import wrap as wrap
|
|
423
|
+
from reflex.components import wrap_item as wrap_item
|
|
424
|
+
from reflex import components as components
|
|
425
|
+
from reflex.components import desktop_only as desktop_only
|
|
426
|
+
from reflex.components import mobile_only as mobile_only
|
|
427
|
+
from reflex.components import tablet_only as tablet_only
|
|
428
|
+
from reflex.components import mobile_and_tablet as mobile_and_tablet
|
|
429
|
+
from reflex.components import tablet_and_desktop as tablet_and_desktop
|
|
430
|
+
from reflex.components import selected_files as selected_files
|
|
431
|
+
from reflex.components import clear_selected_files as clear_selected_files
|
|
432
|
+
from reflex.components import EditorOptions as EditorOptions
|
|
433
|
+
from reflex.components.component import memo as memo
|
|
434
|
+
from reflex.components.graphing import recharts as recharts
|
|
435
|
+
from reflex import config as config
|
|
436
|
+
from reflex.config import Config as Config
|
|
437
|
+
from reflex.config import DBConfig as DBConfig
|
|
438
|
+
from reflex import constants as constants
|
|
439
|
+
from reflex.constants import Env as Env
|
|
440
|
+
from reflex import el as el
|
|
441
|
+
from reflex import event as event
|
|
442
|
+
from reflex.event import EventChain as EventChain
|
|
443
|
+
from reflex.event import background as background
|
|
444
|
+
from reflex.event import call_script as call_script
|
|
445
|
+
from reflex.event import clear_local_storage as clear_local_storage
|
|
446
|
+
from reflex.event import console_log as console_log
|
|
447
|
+
from reflex.event import download as download
|
|
448
|
+
from reflex.event import prevent_default as prevent_default
|
|
449
|
+
from reflex.event import redirect as redirect
|
|
450
|
+
from reflex.event import remove_cookie as remove_cookie
|
|
451
|
+
from reflex.event import remove_local_storage as remove_local_storage
|
|
452
|
+
from reflex.event import set_clipboard as set_clipboard
|
|
453
|
+
from reflex.event import set_focus as set_focus
|
|
454
|
+
from reflex.event import set_value as set_value
|
|
455
|
+
from reflex.event import stop_propagation as stop_propagation
|
|
456
|
+
from reflex.event import upload_files as upload_files
|
|
457
|
+
from reflex.event import window_alert as window_alert
|
|
458
|
+
from reflex import middleware as middleware
|
|
459
|
+
from reflex.middleware import Middleware as Middleware
|
|
460
|
+
from reflex import model as model
|
|
461
|
+
from reflex.model import session as session
|
|
462
|
+
from reflex.model import Model as Model
|
|
463
|
+
from reflex.page import page as page
|
|
464
|
+
from reflex import route as route
|
|
465
|
+
from reflex import state as state
|
|
466
|
+
from reflex.state import var as var
|
|
467
|
+
from reflex.state import Cookie as Cookie
|
|
468
|
+
from reflex.state import LocalStorage as LocalStorage
|
|
469
|
+
from reflex.state import State as State
|
|
470
|
+
from reflex import style as style
|
|
471
|
+
from reflex.style import color_mode as color_mode
|
|
472
|
+
from reflex.style import toggle_color_mode as toggle_color_mode
|
|
473
|
+
from reflex import testing as testing
|
|
474
|
+
from reflex import utils as utils
|
|
475
|
+
from reflex import vars as vars
|
|
476
|
+
from reflex.vars import cached_var as cached_var
|
|
477
|
+
from reflex.vars import Var as Var
|
reflex/compiler/compiler.py
CHANGED
|
@@ -41,6 +41,9 @@ DEFAULT_IMPORTS: imports.ImportDict = {
|
|
|
41
41
|
ImportVar(tag="StateContext"),
|
|
42
42
|
ImportVar(tag="ColorModeContext"),
|
|
43
43
|
},
|
|
44
|
+
"/utils/helpers/range.js": {
|
|
45
|
+
ImportVar(tag="range", is_default=True),
|
|
46
|
+
},
|
|
44
47
|
"": {ImportVar(tag="focus-visible/dist/focus-visible", install=False)},
|
|
45
48
|
}
|
|
46
49
|
|