reflex 0.6.6__tar.gz → 0.6.6a2__tar.gz
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-0.6.6 → reflex-0.6.6a2}/PKG-INFO +1 -1
- {reflex-0.6.6 → reflex-0.6.6a2}/pyproject.toml +1 -1
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/utils/state.js +15 -26
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/app.py +0 -16
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/upload.py +5 -8
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/recharts.py +14 -2
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/recharts.pyi +1 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/state.py +0 -3
- {reflex-0.6.6 → reflex-0.6.6a2}/LICENSE +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/README.md +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/apps/blank/assets/favicon.ico +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/apps/blank/code/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/apps/blank/code/blank.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/app/rxconfig.py.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/custom_components/README.md.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/custom_components/__init__.py.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/custom_components/src.py.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/package.json.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/_app.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/_document.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/base_page.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/component.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/index.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/utils.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/styles/styles.css.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/tailwind.config.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/utils/context.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/utils/theme.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/.gitignore +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/components/shiki/code.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/jsconfig.json +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/next.config.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/postcss.config.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/styles/tailwind.css +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/utils/client_side_routing.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/utils/helpers/dataeditor.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/utils/helpers/debounce.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/utils/helpers/paste.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/utils/helpers/range.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/web/utils/helpers/throttle.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/__main__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/admin.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/app_mixins/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/app_mixins/lifespan.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/app_mixins/middleware.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/app_mixins/mixin.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/app_module_for_backend.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/assets.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/compiler/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/compiler/compiler.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/compiler/templates.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/compiler/utils.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/app_wrap.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/app_wrap.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/bare.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/body.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/body.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/document.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/document.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/error_boundary.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/error_boundary.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/fragment.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/fragment.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/head.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/head.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/link.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/link.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/meta.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/meta.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/script.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/base/script.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/component.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/banner.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/banner.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/breakpoints.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/client_side_routing.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/client_side_routing.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/clipboard.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/clipboard.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/colors.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/cond.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/debounce.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/debounce.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/foreach.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/html.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/html.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/layout/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/match.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/responsive.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/core/upload.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/datadisplay/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/datadisplay/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/datadisplay/code.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/datadisplay/code.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/datadisplay/dataeditor.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/datadisplay/dataeditor.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/datadisplay/logo.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/datadisplay/shiki_code_block.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/datadisplay/shiki_code_block.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/dynamic.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/constants/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/constants/html.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/constants/react.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/constants/reflex.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/element.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/element.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/forms.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/forms.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/inline.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/inline.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/media.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/media.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/metadata.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/metadata.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/other.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/other.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/scripts.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/scripts.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/sectioning.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/sectioning.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/tables.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/tables.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/typography.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/el/elements/typography.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/gridjs/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/gridjs/datatable.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/gridjs/datatable.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/literals.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/lucide/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/lucide/icon.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/lucide/icon.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/markdown/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/markdown/markdown.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/markdown/markdown.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/moment/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/moment/moment.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/moment/moment.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/next/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/next/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/next/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/next/image.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/next/image.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/next/link.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/next/link.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/next/video.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/next/video.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/plotly/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/plotly/plotly.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/plotly/plotly.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/props.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/accordion.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/accordion.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/drawer.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/drawer.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/form.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/form.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/progress.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/progress.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/slider.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/primitives/slider.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/color_mode.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/color_mode.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/alert_dialog.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/alert_dialog.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/aspect_ratio.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/aspect_ratio.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/avatar.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/avatar.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/badge.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/badge.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/button.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/button.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/callout.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/callout.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/card.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/card.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/checkbox.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/checkbox.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/checkbox_cards.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/checkbox_cards.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/checkbox_group.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/checkbox_group.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/context_menu.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/context_menu.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/data_list.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/data_list.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/dialog.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/dialog.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/dropdown_menu.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/dropdown_menu.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/hover_card.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/hover_card.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/icon_button.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/icon_button.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/inset.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/inset.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/popover.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/popover.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/progress.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/progress.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/radio.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/radio.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/radio_cards.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/radio_cards.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/radio_group.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/radio_group.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/scroll_area.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/scroll_area.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/segmented_control.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/segmented_control.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/select.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/select.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/separator.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/separator.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/skeleton.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/skeleton.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/slider.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/slider.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/spinner.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/spinner.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/switch.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/switch.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/table.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/table.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/tabs.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/tabs.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/text_area.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/text_area.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/text_field.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/text_field.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/tooltip.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/components/tooltip.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/box.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/box.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/center.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/center.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/container.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/container.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/flex.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/flex.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/grid.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/grid.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/list.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/list.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/section.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/section.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/spacer.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/spacer.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/stack.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/layout/stack.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/blockquote.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/blockquote.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/code.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/code.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/heading.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/heading.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/link.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/link.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/text.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/radix/themes/typography/text.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/react_player/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/react_player/audio.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/react_player/audio.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/react_player/react_player.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/react_player/react_player.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/react_player/video.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/react_player/video.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/cartesian.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/cartesian.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/charts.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/charts.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/general.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/general.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/polar.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/recharts/polar.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/sonner/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/sonner/toast.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/sonner/toast.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/suneditor/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/suneditor/editor.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/suneditor/editor.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/tags/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/tags/cond_tag.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/tags/iter_tag.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/tags/match_tag.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/tags/tag.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/components/tags/tagless.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/config.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/colors.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/compiler.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/config.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/custom_components.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/event.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/installer.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/route.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/state.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/style.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/constants/utils.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/custom_components/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/custom_components/custom_components.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/event.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/experimental/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/experimental/assets.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/experimental/client_state.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/experimental/hooks.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/experimental/layout.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/experimental/layout.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/experimental/misc.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/istate/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/istate/data.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/istate/dynamic.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/istate/proxy.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/istate/storage.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/istate/wrappers.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/middleware/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/middleware/hydrate_middleware.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/middleware/middleware.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/model.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/page.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/reflex.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/route.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/style.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/testing.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/build.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/codespaces.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/compat.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/console.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/exceptions.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/exec.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/export.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/format.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/imports.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/lazy_loader.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/net.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/path_ops.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/prerequisites.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/processes.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/pyi_generator.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/redir.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/registry.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/serializers.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/telemetry.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/utils/types.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/vars/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/vars/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/vars/function.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/vars/number.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/vars/object.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a2}/reflex/vars/sequence.py +0 -0
|
@@ -454,10 +454,6 @@ export const connect = async (
|
|
|
454
454
|
queueEvents(update.events, socket);
|
|
455
455
|
}
|
|
456
456
|
});
|
|
457
|
-
socket.current.on("reload", async (event) => {
|
|
458
|
-
event_processing = false;
|
|
459
|
-
queueEvents([...initialEvents(), JSON5.parse(event)], socket);
|
|
460
|
-
});
|
|
461
457
|
|
|
462
458
|
document.addEventListener("visibilitychange", checkVisibility);
|
|
463
459
|
};
|
|
@@ -490,30 +486,23 @@ export const uploadFiles = async (
|
|
|
490
486
|
return false;
|
|
491
487
|
}
|
|
492
488
|
|
|
493
|
-
// Track how many partial updates have been processed for this upload.
|
|
494
489
|
let resp_idx = 0;
|
|
495
490
|
const eventHandler = (progressEvent) => {
|
|
496
|
-
|
|
497
|
-
// Whenever called, responseText will contain the entire response so far.
|
|
491
|
+
// handle any delta / event streamed from the upload event handler
|
|
498
492
|
const chunks = progressEvent.event.target.responseText.trim().split("\n");
|
|
499
|
-
// So only process _new_ chunks beyond resp_idx.
|
|
500
493
|
chunks.slice(resp_idx).map((chunk) => {
|
|
501
|
-
|
|
502
|
-
f
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
.
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
}
|
|
514
|
-
return;
|
|
515
|
-
});
|
|
516
|
-
});
|
|
494
|
+
try {
|
|
495
|
+
socket._callbacks.$event.map((f) => {
|
|
496
|
+
f(chunk);
|
|
497
|
+
});
|
|
498
|
+
resp_idx += 1;
|
|
499
|
+
} catch (e) {
|
|
500
|
+
if (progressEvent.progress === 1) {
|
|
501
|
+
// Chunk may be incomplete, so only report errors when full response is available.
|
|
502
|
+
console.log("Error parsing chunk", chunk, e);
|
|
503
|
+
}
|
|
504
|
+
return;
|
|
505
|
+
}
|
|
517
506
|
});
|
|
518
507
|
};
|
|
519
508
|
|
|
@@ -718,7 +707,7 @@ export const useEventLoop = (
|
|
|
718
707
|
const combined_name = events.map((e) => e.name).join("+++");
|
|
719
708
|
if (event_actions?.temporal) {
|
|
720
709
|
if (!socket.current || !socket.current.connected) {
|
|
721
|
-
return;
|
|
710
|
+
return; // don't queue when the backend is not connected
|
|
722
711
|
}
|
|
723
712
|
}
|
|
724
713
|
if (event_actions?.throttle) {
|
|
@@ -859,7 +848,7 @@ export const useEventLoop = (
|
|
|
859
848
|
if (router.components[router.pathname].error) {
|
|
860
849
|
delete router.components[router.pathname].error;
|
|
861
850
|
}
|
|
862
|
-
}
|
|
851
|
+
}
|
|
863
852
|
router.events.on("routeChangeStart", change_start);
|
|
864
853
|
router.events.on("routeChangeComplete", change_complete);
|
|
865
854
|
router.events.on("routeChangeError", change_error);
|
|
@@ -73,7 +73,6 @@ from reflex.event import (
|
|
|
73
73
|
EventSpec,
|
|
74
74
|
EventType,
|
|
75
75
|
IndividualEventType,
|
|
76
|
-
get_hydrate_event,
|
|
77
76
|
window_alert,
|
|
78
77
|
)
|
|
79
78
|
from reflex.model import Model, get_db_status
|
|
@@ -1260,21 +1259,6 @@ async def process(
|
|
|
1260
1259
|
)
|
|
1261
1260
|
# Get the state for the session exclusively.
|
|
1262
1261
|
async with app.state_manager.modify_state(event.substate_token) as state:
|
|
1263
|
-
# When this is a brand new instance of the state, signal the
|
|
1264
|
-
# frontend to reload before processing it.
|
|
1265
|
-
if (
|
|
1266
|
-
not state.router_data
|
|
1267
|
-
and event.name != get_hydrate_event(state)
|
|
1268
|
-
and app.event_namespace is not None
|
|
1269
|
-
):
|
|
1270
|
-
await asyncio.create_task(
|
|
1271
|
-
app.event_namespace.emit(
|
|
1272
|
-
"reload",
|
|
1273
|
-
data=format.json_dumps(event),
|
|
1274
|
-
to=sid,
|
|
1275
|
-
)
|
|
1276
|
-
)
|
|
1277
|
-
return
|
|
1278
1262
|
# re-assign only when the value is different
|
|
1279
1263
|
if state.router_data != router_data:
|
|
1280
1264
|
# assignment will recurse into substates and force recalculation of
|
|
@@ -293,15 +293,13 @@ class Upload(MemoizationLeaf):
|
|
|
293
293
|
format.to_camel_case(key): value for key, value in upload_props.items()
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
use_dropzone_arguments =
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
}
|
|
301
|
-
)
|
|
296
|
+
use_dropzone_arguments = {
|
|
297
|
+
"onDrop": event_var,
|
|
298
|
+
**upload_props,
|
|
299
|
+
}
|
|
302
300
|
|
|
303
301
|
left_side = f"const {{getRootProps: {root_props_unique_name}, getInputProps: {input_props_unique_name}}} "
|
|
304
|
-
right_side = f"useDropzone({str(use_dropzone_arguments)})"
|
|
302
|
+
right_side = f"useDropzone({str(Var.create(use_dropzone_arguments))})"
|
|
305
303
|
|
|
306
304
|
var_data = VarData.merge(
|
|
307
305
|
VarData(
|
|
@@ -309,7 +307,6 @@ class Upload(MemoizationLeaf):
|
|
|
309
307
|
hooks={Hooks.EVENTS: None},
|
|
310
308
|
),
|
|
311
309
|
event_var._get_all_var_data(),
|
|
312
|
-
use_dropzone_arguments._get_all_var_data(),
|
|
313
310
|
VarData(
|
|
314
311
|
hooks={
|
|
315
312
|
callback_str: None,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from typing import Dict, Literal
|
|
4
4
|
|
|
5
5
|
from reflex.components.component import Component, MemoizationLeaf, NoSSRComponent
|
|
6
|
+
from reflex.utils import console
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class Recharts(Component):
|
|
@@ -10,8 +11,19 @@ class Recharts(Component):
|
|
|
10
11
|
|
|
11
12
|
library = "recharts@2.13.0"
|
|
12
13
|
|
|
13
|
-
def
|
|
14
|
-
|
|
14
|
+
def render(self) -> Dict:
|
|
15
|
+
"""Render the tag.
|
|
16
|
+
|
|
17
|
+
Returns:
|
|
18
|
+
The rendered tag.
|
|
19
|
+
"""
|
|
20
|
+
tag = super().render()
|
|
21
|
+
if any(p.startswith("css") for p in tag["props"]):
|
|
22
|
+
console.warn(
|
|
23
|
+
f"CSS props do not work for {self.__class__.__name__}. Consult docs to style it with its own prop."
|
|
24
|
+
)
|
|
25
|
+
tag["props"] = [p for p in tag["props"] if not p.startswith("css")]
|
|
26
|
+
return tag
|
|
15
27
|
|
|
16
28
|
|
|
17
29
|
class RechartsCharts(NoSSRComponent, MemoizationLeaf):
|
|
@@ -1959,9 +1959,6 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
|
|
1959
1959
|
if var in self.base_vars or var in self._backend_vars:
|
|
1960
1960
|
self._was_touched = True
|
|
1961
1961
|
break
|
|
1962
|
-
if var == constants.ROUTER_DATA and self.parent_state is None:
|
|
1963
|
-
self._was_touched = True
|
|
1964
|
-
break
|
|
1965
1962
|
|
|
1966
1963
|
def _get_was_touched(self) -> bool:
|
|
1967
1964
|
"""Check current dirty_vars and flag to determine if state instance was modified.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/custom_components/__init__.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a2}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|