reflex 0.6.6__tar.gz → 0.6.6a1__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.6a1}/PKG-INFO +1 -1
- {reflex-0.6.6 → reflex-0.6.6a1}/pyproject.toml +1 -1
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/utils/state.js +15 -26
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/app.py +2 -20
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/upload.py +5 -8
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/plotly/plotly.py +1 -1
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/recharts.py +14 -2
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/recharts.pyi +1 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/reflex.py +1 -1
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/state.py +2 -9
- {reflex-0.6.6 → reflex-0.6.6a1}/LICENSE +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/README.md +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/apps/blank/assets/favicon.ico +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/apps/blank/code/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/apps/blank/code/blank.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/app/rxconfig.py.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/custom_components/README.md.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/custom_components/__init__.py.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/custom_components/pyproject.toml.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/custom_components/src.py.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/package.json.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/_app.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/_document.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/base_page.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/component.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/index.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/stateful_components.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/utils.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/styles/styles.css.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/tailwind.config.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/utils/context.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/utils/theme.js.jinja2 +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/.gitignore +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/components/shiki/code.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/jsconfig.json +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/next.config.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/postcss.config.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/styles/tailwind.css +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/utils/client_side_routing.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/utils/helpers/dataeditor.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/utils/helpers/debounce.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/utils/helpers/paste.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/utils/helpers/range.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/web/utils/helpers/throttle.js +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/__main__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/admin.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/app_mixins/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/app_mixins/lifespan.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/app_mixins/middleware.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/app_mixins/mixin.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/app_module_for_backend.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/assets.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/compiler/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/compiler/compiler.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/compiler/templates.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/compiler/utils.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/app_wrap.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/app_wrap.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/bare.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/body.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/body.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/document.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/document.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/error_boundary.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/error_boundary.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/fragment.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/fragment.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/head.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/head.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/link.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/link.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/meta.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/meta.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/script.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/base/script.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/component.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/banner.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/banner.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/breakpoints.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/client_side_routing.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/client_side_routing.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/clipboard.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/clipboard.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/colors.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/cond.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/debounce.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/debounce.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/foreach.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/html.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/html.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/layout/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/match.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/responsive.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/core/upload.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/datadisplay/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/datadisplay/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/datadisplay/code.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/datadisplay/code.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/datadisplay/dataeditor.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/datadisplay/dataeditor.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/datadisplay/logo.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/datadisplay/shiki_code_block.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/datadisplay/shiki_code_block.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/dynamic.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/constants/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/constants/html.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/constants/react.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/constants/reflex.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/element.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/element.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/forms.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/forms.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/inline.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/inline.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/media.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/media.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/metadata.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/metadata.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/other.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/other.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/scripts.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/scripts.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/sectioning.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/sectioning.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/tables.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/tables.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/typography.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/el/elements/typography.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/gridjs/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/gridjs/datatable.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/gridjs/datatable.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/literals.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/lucide/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/lucide/icon.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/lucide/icon.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/markdown/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/markdown/markdown.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/markdown/markdown.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/moment/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/moment/moment.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/moment/moment.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/next/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/next/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/next/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/next/image.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/next/image.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/next/link.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/next/link.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/next/video.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/next/video.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/plotly/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/plotly/plotly.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/props.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/accordion.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/accordion.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/drawer.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/drawer.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/form.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/form.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/progress.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/progress.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/slider.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/primitives/slider.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/color_mode.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/color_mode.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/alert_dialog.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/alert_dialog.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/aspect_ratio.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/aspect_ratio.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/avatar.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/avatar.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/badge.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/badge.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/button.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/button.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/callout.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/callout.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/card.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/card.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/checkbox.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/checkbox.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/checkbox_cards.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/checkbox_cards.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/checkbox_group.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/checkbox_group.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/context_menu.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/context_menu.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/data_list.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/data_list.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/dialog.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/dialog.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/dropdown_menu.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/dropdown_menu.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/hover_card.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/hover_card.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/icon_button.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/icon_button.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/inset.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/inset.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/popover.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/popover.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/progress.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/progress.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/radio.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/radio.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/radio_cards.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/radio_cards.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/radio_group.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/radio_group.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/scroll_area.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/scroll_area.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/segmented_control.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/segmented_control.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/select.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/select.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/separator.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/separator.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/skeleton.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/skeleton.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/slider.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/slider.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/spinner.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/spinner.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/switch.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/switch.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/table.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/table.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/tabs.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/tabs.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/text_area.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/text_area.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/text_field.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/text_field.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/tooltip.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/components/tooltip.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/base.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/box.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/box.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/center.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/center.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/container.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/container.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/flex.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/flex.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/grid.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/grid.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/list.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/list.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/section.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/section.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/spacer.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/spacer.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/stack.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/layout/stack.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/blockquote.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/blockquote.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/code.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/code.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/heading.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/heading.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/link.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/link.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/text.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/radix/themes/typography/text.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/react_player/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/react_player/audio.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/react_player/audio.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/react_player/react_player.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/react_player/react_player.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/react_player/video.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/react_player/video.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/__init__.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/cartesian.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/cartesian.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/charts.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/charts.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/general.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/general.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/polar.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/recharts/polar.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/sonner/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/sonner/toast.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/sonner/toast.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/suneditor/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/suneditor/editor.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/suneditor/editor.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/tags/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/tags/cond_tag.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/tags/iter_tag.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/tags/match_tag.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/tags/tag.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/components/tags/tagless.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/config.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/colors.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/compiler.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/config.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/custom_components.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/event.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/installer.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/route.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/state.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/style.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/constants/utils.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/custom_components/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/custom_components/custom_components.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/event.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/experimental/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/experimental/assets.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/experimental/client_state.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/experimental/hooks.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/experimental/layout.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/experimental/layout.pyi +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/experimental/misc.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/istate/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/istate/data.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/istate/dynamic.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/istate/proxy.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/istate/storage.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/istate/wrappers.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/middleware/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/middleware/hydrate_middleware.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/middleware/middleware.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/model.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/page.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/route.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/style.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/testing.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/build.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/codespaces.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/compat.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/console.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/exceptions.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/exec.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/export.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/format.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/imports.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/lazy_loader.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/net.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/path_ops.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/prerequisites.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/processes.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/pyi_generator.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/redir.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/registry.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/serializers.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/telemetry.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/utils/types.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/vars/__init__.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/vars/base.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/vars/function.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/vars/number.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/reflex/vars/object.py +0 -0
- {reflex-0.6.6 → reflex-0.6.6a1}/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
|
|
@@ -1478,10 +1462,10 @@ class EventNamespace(AsyncNamespace):
|
|
|
1478
1462
|
app: App
|
|
1479
1463
|
|
|
1480
1464
|
# Keep a mapping between socket ID and client token.
|
|
1481
|
-
token_to_sid: dict[str, str]
|
|
1465
|
+
token_to_sid: dict[str, str] = {}
|
|
1482
1466
|
|
|
1483
1467
|
# Keep a mapping between client token and socket ID.
|
|
1484
|
-
sid_to_token: dict[str, str]
|
|
1468
|
+
sid_to_token: dict[str, str] = {}
|
|
1485
1469
|
|
|
1486
1470
|
def __init__(self, namespace: str, app: App):
|
|
1487
1471
|
"""Initialize the event namespace.
|
|
@@ -1491,8 +1475,6 @@ class EventNamespace(AsyncNamespace):
|
|
|
1491
1475
|
app: The application object.
|
|
1492
1476
|
"""
|
|
1493
1477
|
super().__init__(namespace)
|
|
1494
|
-
self.token_to_sid = {}
|
|
1495
|
-
self.sid_to_token = {}
|
|
1496
1478
|
self.app = app
|
|
1497
1479
|
|
|
1498
1480
|
def on_connect(self, sid, environ):
|
|
@@ -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,
|
|
@@ -255,7 +255,7 @@ const extractPoints = (points) => {
|
|
|
255
255
|
|
|
256
256
|
def _render(self):
|
|
257
257
|
tag = super()._render()
|
|
258
|
-
figure = self.data.to(dict)
|
|
258
|
+
figure = self.data.to(dict)
|
|
259
259
|
merge_dicts = [] # Data will be merged and spread from these dict Vars
|
|
260
260
|
if self.layout is not None:
|
|
261
261
|
# Why is this not a literal dict? Great question... it didn't work
|
|
@@ -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):
|
|
@@ -404,7 +404,7 @@ def logoutv2(
|
|
|
404
404
|
|
|
405
405
|
hosting.log_out_on_browser()
|
|
406
406
|
console.debug("Deleting access token from config locally")
|
|
407
|
-
hosting.delete_token_from_config()
|
|
407
|
+
hosting.delete_token_from_config(include_invitation_code=True)
|
|
408
408
|
|
|
409
409
|
|
|
410
410
|
db_cli = typer.Typer()
|
|
@@ -1748,11 +1748,7 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
|
|
1748
1748
|
if value is None:
|
|
1749
1749
|
continue
|
|
1750
1750
|
hinted_args = value_inside_optional(hinted_args)
|
|
1751
|
-
if (
|
|
1752
|
-
isinstance(value, dict)
|
|
1753
|
-
and inspect.isclass(hinted_args)
|
|
1754
|
-
and not types.is_generic_alias(hinted_args) # py3.9-py3.10
|
|
1755
|
-
):
|
|
1751
|
+
if isinstance(value, dict) and inspect.isclass(hinted_args):
|
|
1756
1752
|
if issubclass(hinted_args, Model):
|
|
1757
1753
|
# Remove non-fields from the payload
|
|
1758
1754
|
payload[arg] = hinted_args(
|
|
@@ -1763,7 +1759,7 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
|
|
1763
1759
|
}
|
|
1764
1760
|
)
|
|
1765
1761
|
elif dataclasses.is_dataclass(hinted_args) or issubclass(
|
|
1766
|
-
hinted_args,
|
|
1762
|
+
hinted_args, Base
|
|
1767
1763
|
):
|
|
1768
1764
|
payload[arg] = hinted_args(**value)
|
|
1769
1765
|
if isinstance(value, list) and (hinted_args is set or hinted_args is Set):
|
|
@@ -1959,9 +1955,6 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
|
|
1959
1955
|
if var in self.base_vars or var in self._backend_vars:
|
|
1960
1956
|
self._was_touched = True
|
|
1961
1957
|
break
|
|
1962
|
-
if var == constants.ROUTER_DATA and self.parent_state is None:
|
|
1963
|
-
self._was_touched = True
|
|
1964
|
-
break
|
|
1965
1958
|
|
|
1966
1959
|
def _get_was_touched(self) -> bool:
|
|
1967
1960
|
"""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.6a1}/reflex/.templates/jinja/custom_components/__init__.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/custom_components/demo_app.py.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a1}/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.6a1}/reflex/.templates/jinja/web/pages/custom_component.js.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a1}/reflex/.templates/jinja/web/pages/stateful_component.js.jinja2
RENAMED
|
File without changes
|
{reflex-0.6.6 → reflex-0.6.6a1}/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
|