instaui 0.1.13__tar.gz → 0.1.15__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.
- {instaui-0.1.13 → instaui-0.1.15}/PKG-INFO +1 -2
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/slider.py +1 -1
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/element.py +17 -4
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/match.py +2 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/vfor.py +2 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/vif.py +5 -1
- {instaui-0.1.13 → instaui-0.1.15}/instaui/event/web_event.py +5 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/runtime/scope.py +7 -2
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/insta-ui.esm-browser.prod.js +74 -74
- instaui-0.1.15/instaui/static/insta-ui.js.map +1 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/mixin_types/element_binding.py +6 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/web_computed.py +15 -4
- {instaui-0.1.13 → instaui-0.1.15}/instaui/watch/web_watch.py +6 -0
- {instaui-0.1.13 → instaui-0.1.15}/pyproject.toml +1 -11
- instaui-0.1.13/instaui/static/insta-ui.js.map +0 -1
- {instaui-0.1.13 → instaui-0.1.15}/.gitignore +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/LICENSE +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/README.md +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/_helper/observable_helper.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/_settings.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/_use_tools/locale.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/component_types.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/_utils.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/affix.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/alert.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/anchor.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/auto_complete.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/avatar.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/back_top.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/badge.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/breadcrumb.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/button.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/calendar.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/card.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/carousel.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/cascader.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/checkbox.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/collapse.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/color_picker.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/comment.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/config_provider.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/date_picker.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/descriptions.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/divider.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/drawer.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/dropdown.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/empty.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/form.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/icon.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/image.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/input.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/input_number.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/input_password.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/input_search.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/input_tag.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/layout.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/layout_content.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/layout_footer.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/layout_header.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/layout_sider.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/link.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/list.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/mention.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/menu.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/modal.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/overflow_list.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/page_header.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/pagination.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/pop_confirm.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/popover.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/progress.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/radio.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/radio_group.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/rate.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/resize_box.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/result.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/select.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/skeleton.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/space.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/spin.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/split.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/statistic.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/steps.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/switch.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/tab_pane.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/table.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/tabs.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/tag.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/textarea.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/time_picker.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/timeline.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/tooltip.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/transfer.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/tree.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/tree_select.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/trigger.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/typography.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/upload.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/verification_code.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/components/watermark.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/locales/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/locales/_index.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/locales/en_us.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/locales/zh_cn.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/setup.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/static/instaui-arco.css +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/static/instaui-arco.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/arco/types.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/boot_info.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/common/jsonable.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/column.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/component.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/content.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/directive.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/grid.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/_mixins.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/_preset.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/button.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/checkbox.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/date.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/div.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/form.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/heading.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/input.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/label.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/li.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/link.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/number.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/paragraph.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/range.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/select.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/span.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/table.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/textarea.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/html/ul.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/label.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/markdown/markdown.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/markdown/markdown.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/markdown/static/github-markdown.css +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/markdown/static/marked.esm.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/row.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/shiki_code.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/shiki_code.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/langs/css.mjs +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/langs/markdown.mjs +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/langs/python.mjs +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/langs/shell.mjs +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/langs/shellscript.mjs +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/shiki-core.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/shiki-style.css +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/shiki-transformers.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/themes/vitesse-dark.mjs +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/shiki_code/static/themes/vitesse-light.mjs +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/slot.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/transition_group.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/components/value_element.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/consts.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/dependencies/component_dependency.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/dependencies/plugin_dependency.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/event/event_mixin.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/event/js_event.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/event/vue_event.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/experimental/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/experimental/debug.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/extra_libs/_echarts.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/extra_libs/_import_error.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/extra_libs/_mermaid.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/extra_libs/_shiki_code.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/_utils.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/_uvicorn.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/debug_mode_router.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/dependency_router.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/event_router.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/middlewares.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/request_context.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/resource.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/server.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/fastapi_server/watch_router.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/handlers/_utils.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/handlers/event_handler.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/handlers/watch_handler.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/html_tools.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/inject.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/js/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/js/js_output.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/js/lambda_func.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/launch_collector.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/page_info.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/runtime/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/runtime/_app.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/runtime/_inner_helper.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/runtime/_link_manager.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/runtime/context.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/runtime/dataclass.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/runtime/resource.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/runtime/ui_state_scope.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/settings/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/settings/__settings.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/shadcn_classless/_index.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/shadcn_classless/static/shadcn-classless.css +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/skip.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/_components.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/_file_base_utils.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/_functions.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/_install.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/_route_model.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/_router_box.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/_router_output.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/_router_param_var.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/_types.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/spa_router/templates/page_routes +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/insta-ui.css +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/insta-ui.ico +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/instaui-tools-browser.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/templates/debug/sse.html +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/templates/web.html +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/templates/webview.html +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/templates/zero.html +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/vue.esm-browser.prod.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/vue.global.prod.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/static/vue.runtime.esm-browser.prod.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/systems/file_system.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/systems/func_system.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/systems/js_system.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/systems/module_system.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/systems/pydantic_system.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/systems/string_system.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/tailwind/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/tailwind/_index.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/tailwind/static/tailwindcss-v3.min.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/tailwind/static/tailwindcss-v4.min.js +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/template/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/template/_utils.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/template/env.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/template/web_template.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/template/webview_template.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/template/zero_template.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/ui/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/ui/__init__.pyi +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/ui/events.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/ui_functions/input_slient_data.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/ui_functions/server.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/ui_functions/str_format.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/ui_functions/ui_page.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/ui_functions/ui_types.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/ui_functions/url_location.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/_types.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/data.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/element_ref.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/event_context.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/event_extend.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/js_computed.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/mixin_types/common_type.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/mixin_types/observable.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/mixin_types/pathable.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/mixin_types/py_binding.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/mixin_types/str_format_binding.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/mixin_types/var_type.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/path_var.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/ref.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/slot_prop.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/state.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/types.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/vfor_item.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/vue_computed.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/vars/web_view_computed.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/version.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/watch/_types.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/watch/_utils.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/watch/js_watch.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/watch/vue_watch.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/webview/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/webview/_utils.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/webview/api.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/webview/func.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/webview/index.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/webview/resource.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/zero/__init__.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/zero/func.py +0 -0
- {instaui-0.1.13 → instaui-0.1.15}/instaui/zero/scope.py +0 -0
@@ -1,12 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: instaui
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.15
|
4
4
|
Summary: insta-ui is a Python-based UI library for rapidly building user interfaces.
|
5
5
|
Author-email: CrystalWindSnake <568166495@qq.com>
|
6
6
|
License-Expression: MIT
|
7
7
|
License-File: LICENSE
|
8
8
|
Keywords: gui,ui,web
|
9
|
-
Requires-Python: <3.13,>=3.8
|
10
9
|
Requires-Dist: jinja2>=3.1.6
|
11
10
|
Requires-Dist: orjson>=3.10.15
|
12
11
|
Requires-Dist: pydantic>=2.10.6
|
@@ -6,7 +6,7 @@ from instaui.arco import component_types
|
|
6
6
|
from instaui.event.event_mixin import EventMixin
|
7
7
|
from ._utils import handle_props, try_setup_vmodel
|
8
8
|
|
9
|
-
_TSliderValue = typing.Union[int, float]
|
9
|
+
_TSliderValue = typing.Union[int, float, typing.List[int], typing.List[float]]
|
10
10
|
|
11
11
|
|
12
12
|
class Slider(Element):
|
@@ -97,10 +97,6 @@ class Element(Component):
|
|
97
97
|
self._proxy_props: List[ElementBindingMixin] = []
|
98
98
|
|
99
99
|
self._events: defaultdict[str, List[EventMixin]] = defaultdict(list)
|
100
|
-
|
101
|
-
# self._js_events: defaultdict[str, List[EventMixin]] = defaultdict(list)
|
102
|
-
# self._web_events: defaultdict[str, List[EventMixin]] = defaultdict(list)
|
103
|
-
# self._vue_events: defaultdict[str, List[EventMixin]] = defaultdict(list)
|
104
100
|
self._directives: Dict[Directive, None] = {}
|
105
101
|
|
106
102
|
self._slot_manager = SlotManager()
|
@@ -275,18 +271,28 @@ class Element(Component):
|
|
275
271
|
|
276
272
|
if isinstance(add, dict):
|
277
273
|
self._dict_classes.update(**add) # type: ignore
|
274
|
+
for value in (
|
275
|
+
v for v in add.values() if isinstance(v, ElementBindingMixin)
|
276
|
+
):
|
277
|
+
value._mark_used()
|
278
278
|
|
279
279
|
if isinstance(add, ElementBindingMixin):
|
280
280
|
self._bind_str_classes.append(add) # type: ignore
|
281
|
+
add._mark_used()
|
281
282
|
|
282
283
|
return self
|
283
284
|
|
284
285
|
def style(self, add: Union[str, Dict[str, Any], TMaybeRef[str]]) -> Self:
|
285
286
|
if isinstance(add, dict):
|
286
287
|
add = {key: value for key, value in add.items()}
|
288
|
+
for value in (
|
289
|
+
v for v in add.values() if isinstance(v, ElementBindingMixin)
|
290
|
+
):
|
291
|
+
value._mark_used()
|
287
292
|
|
288
293
|
if isinstance(add, ElementBindingMixin):
|
289
294
|
self._style_str_binds.append(add)
|
295
|
+
add._mark_used()
|
290
296
|
return self
|
291
297
|
|
292
298
|
new_style = self._parse_style(add)
|
@@ -296,10 +302,17 @@ class Element(Component):
|
|
296
302
|
def props(self, add: Union[str, Dict[str, Any], TMaybeRef]) -> Self:
|
297
303
|
if isinstance(add, ElementBindingMixin):
|
298
304
|
self._proxy_props.append(add)
|
305
|
+
add._mark_used()
|
299
306
|
return self
|
300
307
|
|
301
308
|
if isinstance(add, dict):
|
302
309
|
add = {key: value for key, value in add.items() if value is not None}
|
310
|
+
|
311
|
+
for value in (
|
312
|
+
v for v in add.values() if isinstance(v, ElementBindingMixin)
|
313
|
+
):
|
314
|
+
value._mark_used()
|
315
|
+
|
303
316
|
new_props = self._parse_props(add)
|
304
317
|
self._props.update(new_props)
|
305
318
|
return self
|
@@ -50,6 +50,8 @@ class VFor(Component, Generic[_T]):
|
|
50
50
|
|
51
51
|
super().__init__("vfor")
|
52
52
|
self._data = data
|
53
|
+
if isinstance(self._data, ElementBindingMixin):
|
54
|
+
self._data._mark_used()
|
53
55
|
self._key = key
|
54
56
|
self._fid = get_app_slot().generate_vfor_id()
|
55
57
|
self.__scope_manager = new_scope(append_to_app=False)
|
@@ -10,6 +10,8 @@ class VIf(Component):
|
|
10
10
|
def __init__(self, on: TMaybeRef[bool]):
|
11
11
|
super().__init__("vif")
|
12
12
|
self._on = cast(ElementBindingMixin, on)
|
13
|
+
if isinstance(on, ElementBindingMixin):
|
14
|
+
on._mark_used()
|
13
15
|
self.__scope_manager = new_scope(append_to_app=False)
|
14
16
|
self.__scope = None
|
15
17
|
|
@@ -24,7 +26,9 @@ class VIf(Component):
|
|
24
26
|
def _to_json_dict(self):
|
25
27
|
data = super()._to_json_dict()
|
26
28
|
data["props"] = {
|
27
|
-
"on": self._on
|
29
|
+
"on": self._on
|
30
|
+
if isinstance(self._on, bool)
|
31
|
+
else self._on._to_element_binding_config(),
|
28
32
|
}
|
29
33
|
props: Dict = data["props"]
|
30
34
|
|
@@ -4,6 +4,7 @@ from typing_extensions import ParamSpec
|
|
4
4
|
from instaui.common.jsonable import Jsonable
|
5
5
|
from instaui.runtime._app import get_current_scope, get_app_slot
|
6
6
|
from instaui.vars.mixin_types.py_binding import CanInputMixin, CanOutputMixin
|
7
|
+
from instaui.vars.mixin_types.element_binding import ElementBindingMixin
|
7
8
|
from instaui.handlers import event_handler
|
8
9
|
from .event_mixin import EventMixin
|
9
10
|
|
@@ -46,6 +47,10 @@ class WebEvent(Jsonable, EventMixin, typing.Generic[P, R]):
|
|
46
47
|
def _to_json_dict(self):
|
47
48
|
app = get_app_slot()
|
48
49
|
|
50
|
+
for _input in self._inputs:
|
51
|
+
if isinstance(_input, ElementBindingMixin):
|
52
|
+
_input._mark_used()
|
53
|
+
|
49
54
|
hkey = event_handler.create_handler_key(
|
50
55
|
page_path=app.page_path, handler=self._fn
|
51
56
|
)
|
@@ -96,8 +96,13 @@ class Scope(Jsonable):
|
|
96
96
|
data["vue_watch"] = self._vue_watchs
|
97
97
|
if self._element_refs:
|
98
98
|
data["eRefs"] = self._element_refs
|
99
|
-
|
100
|
-
|
99
|
+
|
100
|
+
_web_computeds = [
|
101
|
+
computed for computed in self._web_computeds if computed._is_used()
|
102
|
+
]
|
103
|
+
|
104
|
+
if _web_computeds:
|
105
|
+
data["web_computed"] = _web_computeds
|
101
106
|
if self._js_computeds:
|
102
107
|
data["js_computed"] = self._js_computeds
|
103
108
|
if self._vue_computeds:
|
@@ -2,7 +2,7 @@ var Wn = Object.defineProperty;
|
|
2
2
|
var Un = (e, t, n) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
3
3
|
var B = (e, t, n) => Un(e, typeof t != "symbol" ? t + "" : t, n);
|
4
4
|
import * as Kn from "vue";
|
5
|
-
import { customRef as Ce, toValue as q, unref as W, watch as G, nextTick as
|
5
|
+
import { toRaw as Gn, customRef as Ce, toValue as q, unref as W, watch as G, nextTick as Te, isRef as qt, ref as Z, shallowRef as J, watchEffect as Ht, computed as U, readonly as qn, provide as Ie, inject as ee, shallowReactive as Hn, defineComponent as F, reactive as zn, h as A, getCurrentInstance as zt, normalizeStyle as Jn, normalizeClass as Ye, toDisplayString as Jt, onUnmounted as xe, Fragment as De, vModelDynamic as Qn, vShow as Yn, resolveDynamicComponent as ft, normalizeProps as Xn, withDirectives as Zn, onErrorCaptured as er, openBlock as he, createElementBlock as Ve, createElementVNode as tr, createVNode as nr, withCtx as rr, renderList as or, createBlock as sr, TransitionGroup as Qt, KeepAlive as ir } from "vue";
|
6
6
|
let Yt;
|
7
7
|
function ar(e) {
|
8
8
|
Yt = e;
|
@@ -30,13 +30,13 @@ class cr extends Map {
|
|
30
30
|
return super.get(t);
|
31
31
|
}
|
32
32
|
}
|
33
|
-
function
|
33
|
+
function _e(e) {
|
34
34
|
return new cr(e);
|
35
35
|
}
|
36
36
|
function Ot(e, t) {
|
37
37
|
Object.entries(e).forEach(([n, r]) => t(r, n));
|
38
38
|
}
|
39
|
-
function
|
39
|
+
function Oe(e, t) {
|
40
40
|
return Xt(e, {
|
41
41
|
valueFn: t
|
42
42
|
});
|
@@ -80,7 +80,7 @@ function en(e, t) {
|
|
80
80
|
throw new Error(`Invalid flag ${n} in array at ${e}`);
|
81
81
|
}
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function be(e, t, n) {
|
84
84
|
return t.reduce(
|
85
85
|
(r, o) => Zt(r, o, n),
|
86
86
|
e
|
@@ -97,12 +97,21 @@ function Ze(e, t, n, r) {
|
|
97
97
|
function tn(e) {
|
98
98
|
return JSON.parse(JSON.stringify(e));
|
99
99
|
}
|
100
|
+
class ur {
|
101
|
+
toString() {
|
102
|
+
return "";
|
103
|
+
}
|
104
|
+
}
|
105
|
+
const we = new ur();
|
106
|
+
function Ee(e) {
|
107
|
+
return Gn(e) === we;
|
108
|
+
}
|
100
109
|
function bt(e, t, n) {
|
101
110
|
const { paths: r, getBindableValueFn: o } = t, { paths: s, getBindableValueFn: i } = t;
|
102
111
|
return r === void 0 || r.length === 0 ? e : Ce(() => ({
|
103
112
|
get() {
|
104
113
|
try {
|
105
|
-
return
|
114
|
+
return be(
|
106
115
|
q(e),
|
107
116
|
r,
|
108
117
|
o
|
@@ -127,7 +136,7 @@ function nn(e) {
|
|
127
136
|
return t(), e;
|
128
137
|
},
|
129
138
|
set(r) {
|
130
|
-
JSON.stringify(r)
|
139
|
+
!Ee(e) && JSON.stringify(r) === JSON.stringify(e) || (e = r, n());
|
131
140
|
}
|
132
141
|
}));
|
133
142
|
}
|
@@ -149,7 +158,7 @@ function nt(e, t = !1) {
|
|
149
158
|
g = G(
|
150
159
|
e,
|
151
160
|
(R) => {
|
152
|
-
u(R) !== t && (g ? g() :
|
161
|
+
u(R) !== t && (g ? g() : Te(() => g == null ? void 0 : g()), O(R));
|
153
162
|
},
|
154
163
|
{
|
155
164
|
flush: f,
|
@@ -171,7 +180,7 @@ function nt(e, t = !1) {
|
|
171
180
|
y = G(
|
172
181
|
[e, u],
|
173
182
|
([D, C]) => {
|
174
|
-
t !== (D === C) && (y ? y() :
|
183
|
+
t !== (D === C) && (y ? y() : Te(() => y == null ? void 0 : y()), R(D));
|
175
184
|
},
|
176
185
|
{
|
177
186
|
flush: d,
|
@@ -231,10 +240,10 @@ function nt(e, t = !1) {
|
|
231
240
|
}
|
232
241
|
};
|
233
242
|
}
|
234
|
-
function
|
243
|
+
function lr(e) {
|
235
244
|
return nt(e);
|
236
245
|
}
|
237
|
-
function
|
246
|
+
function fr(e, t, n) {
|
238
247
|
let r;
|
239
248
|
qt(n) ? r = {
|
240
249
|
evaluating: n
|
@@ -269,7 +278,7 @@ function lr(e, t, n) {
|
|
269
278
|
}
|
270
279
|
}), o ? U(() => (l.value = !0, h.value)) : h;
|
271
280
|
}
|
272
|
-
function
|
281
|
+
function hr(e, t, n) {
|
273
282
|
const {
|
274
283
|
immediate: r = !0,
|
275
284
|
delay: o = 0,
|
@@ -303,7 +312,7 @@ function fr(e, t, n) {
|
|
303
312
|
};
|
304
313
|
function g() {
|
305
314
|
return new Promise((y, _) => {
|
306
|
-
|
315
|
+
lr(f).toBe(!1).then(() => y(p)).catch(_);
|
307
316
|
});
|
308
317
|
}
|
309
318
|
return {
|
@@ -322,7 +331,7 @@ function L(e, t) {
|
|
322
331
|
throw new Error(o + " in function code: " + e);
|
323
332
|
}
|
324
333
|
}
|
325
|
-
function
|
334
|
+
function dr(e) {
|
326
335
|
if (e.startsWith(":")) {
|
327
336
|
e = e.slice(1);
|
328
337
|
try {
|
@@ -335,22 +344,13 @@ function hr(e) {
|
|
335
344
|
function rn(e) {
|
336
345
|
return e.constructor.name === "AsyncFunction";
|
337
346
|
}
|
338
|
-
class dr {
|
339
|
-
toString() {
|
340
|
-
return "";
|
341
|
-
}
|
342
|
-
}
|
343
|
-
const we = new dr();
|
344
|
-
function Te(e) {
|
345
|
-
return Gn(e) === we;
|
346
|
-
}
|
347
347
|
function pr(e, t) {
|
348
348
|
return Z(e.value);
|
349
349
|
}
|
350
350
|
function mr(e, t, n) {
|
351
351
|
const { bind: r = {}, code: o, const: s = [] } = e, i = Object.values(r).map((a, u) => s[u] === 1 ? a : t.getVueRefObjectOrValue(a));
|
352
352
|
if (rn(new Function(o)))
|
353
|
-
return
|
353
|
+
return fr(
|
354
354
|
async () => {
|
355
355
|
const a = Object.fromEntries(
|
356
356
|
Object.keys(r).map((u, f) => [u, i[f]])
|
@@ -383,14 +383,14 @@ function gr(e, t, n) {
|
|
383
383
|
return rn(d) ? (v.value = c, G(
|
384
384
|
u,
|
385
385
|
async () => {
|
386
|
-
f().some(
|
386
|
+
f().some(Ee) || (v.value = await d(...f()));
|
387
387
|
},
|
388
388
|
p
|
389
389
|
)) : G(
|
390
390
|
u,
|
391
391
|
() => {
|
392
392
|
const g = f();
|
393
|
-
g.some(
|
393
|
+
g.some(Ee) || (v.value = d(...g));
|
394
394
|
},
|
395
395
|
p
|
396
396
|
), qn(v);
|
@@ -398,10 +398,10 @@ function gr(e, t, n) {
|
|
398
398
|
function vr() {
|
399
399
|
return [];
|
400
400
|
}
|
401
|
-
const
|
401
|
+
const Se = _e(vr);
|
402
402
|
function on(e, t) {
|
403
403
|
var s, i, c, l, h;
|
404
|
-
const n =
|
404
|
+
const n = Se.getOrDefault(e.id), r = /* @__PURE__ */ new Map();
|
405
405
|
n.push(r), t.replaceSnapshot({
|
406
406
|
scopeSnapshot: sn()
|
407
407
|
});
|
@@ -429,7 +429,7 @@ function on(e, t) {
|
|
429
429
|
}
|
430
430
|
function sn() {
|
431
431
|
const e = /* @__PURE__ */ new Map();
|
432
|
-
for (const [n, r] of
|
432
|
+
for (const [n, r] of Se) {
|
433
433
|
const o = r[r.length - 1];
|
434
434
|
e.set(n, [o]);
|
435
435
|
}
|
@@ -441,7 +441,7 @@ function sn() {
|
|
441
441
|
};
|
442
442
|
}
|
443
443
|
function yr(e) {
|
444
|
-
return an(e,
|
444
|
+
return an(e, Se);
|
445
445
|
}
|
446
446
|
function an(e, t) {
|
447
447
|
const n = t.get(e.sid);
|
@@ -453,13 +453,13 @@ function an(e, t) {
|
|
453
453
|
return o;
|
454
454
|
}
|
455
455
|
function wr(e) {
|
456
|
-
|
456
|
+
Se.delete(e);
|
457
457
|
}
|
458
458
|
function cn(e, t) {
|
459
|
-
const n =
|
459
|
+
const n = Se.get(e);
|
460
460
|
n && n.splice(t, 1);
|
461
461
|
}
|
462
|
-
const ht =
|
462
|
+
const ht = _e(() => []);
|
463
463
|
function Er(e) {
|
464
464
|
var r;
|
465
465
|
const t = /* @__PURE__ */ new Map(), n = ht.getOrDefault(e.id).push(t);
|
@@ -533,7 +533,7 @@ var N;
|
|
533
533
|
}
|
534
534
|
e.IsBinding = u;
|
535
535
|
})(N || (N = {}));
|
536
|
-
const Me =
|
536
|
+
const Me = _e(() => []);
|
537
537
|
function Or(e) {
|
538
538
|
const t = Me.getOrDefault(e);
|
539
539
|
return t.push(J({})), t.length - 1;
|
@@ -557,10 +557,10 @@ function Rr() {
|
|
557
557
|
getPropsValue: t
|
558
558
|
};
|
559
559
|
}
|
560
|
-
const ln = /* @__PURE__ */ new Map(), dt =
|
560
|
+
const ln = /* @__PURE__ */ new Map(), dt = _e(() => /* @__PURE__ */ new Map()), fn = /* @__PURE__ */ new Set(), hn = Symbol("vfor");
|
561
561
|
function Pr(e) {
|
562
562
|
const t = dn() ?? {};
|
563
|
-
|
563
|
+
Ie(hn, { ...t, [e.fid]: e.key });
|
564
564
|
}
|
565
565
|
function dn() {
|
566
566
|
return ee(hn, void 0);
|
@@ -628,7 +628,7 @@ class jr {
|
|
628
628
|
createRefObjectWithPaths(t) {
|
629
629
|
const { binding: n } = t, { snapshot: r } = t, { path: o = [] } = n, s = [...o], i = r.getVForIndex(n.fid);
|
630
630
|
return s.unshift(i), Ce(() => ({
|
631
|
-
get: () =>
|
631
|
+
get: () => be(
|
632
632
|
this.array,
|
633
633
|
s,
|
634
634
|
r.getObjectToValue
|
@@ -661,7 +661,7 @@ class Cr {
|
|
661
661
|
v
|
662
662
|
]) : a;
|
663
663
|
try {
|
664
|
-
return
|
664
|
+
return be(
|
665
665
|
q(u),
|
666
666
|
o,
|
667
667
|
s.getObjectToValue
|
@@ -1946,7 +1946,7 @@ const Lt = (e, t, n) => e ?? t ?? n, Qo = /* @__PURE__ */ F({
|
|
1946
1946
|
h++;
|
1947
1947
|
return h;
|
1948
1948
|
}), c = U(() => o.value.matched[i.value]);
|
1949
|
-
|
1949
|
+
Ie(Mt, U(() => i.value + 1)), Ie(Uo, c), Ie(ct, o);
|
1950
1950
|
const l = Z();
|
1951
1951
|
return G(() => [l.value, c.value, e.name], ([h, a, u], [f, d, v]) => {
|
1952
1952
|
a && (a.instances[u] = h, d && d !== a && h && h === f && (a.leaveGuards.size || (a.leaveGuards = d.leaveGuards), a.updateGuards.size || (a.updateGuards = d.updateGuards))), h && a && // if there is no instance but to and from are the same this might be
|
@@ -2017,7 +2017,7 @@ function me(e, t) {
|
|
2017
2017
|
}
|
2018
2018
|
};
|
2019
2019
|
}
|
2020
|
-
function
|
2020
|
+
function Ne(e) {
|
2021
2021
|
return {
|
2022
2022
|
_custom: {
|
2023
2023
|
display: e
|
@@ -2089,7 +2089,7 @@ function es(e, t, n) {
|
|
2089
2089
|
let i = 0;
|
2090
2090
|
t.beforeEach((a, u) => {
|
2091
2091
|
const f = {
|
2092
|
-
guard:
|
2092
|
+
guard: Ne("beforeEach"),
|
2093
2093
|
from: me(u, "Current Location during this navigation"),
|
2094
2094
|
to: me(a, "Target location")
|
2095
2095
|
};
|
@@ -2107,7 +2107,7 @@ function es(e, t, n) {
|
|
2107
2107
|
});
|
2108
2108
|
}), t.afterEach((a, u, f) => {
|
2109
2109
|
const d = {
|
2110
|
-
guard:
|
2110
|
+
guard: Ne("afterEach")
|
2111
2111
|
};
|
2112
2112
|
f ? (d.failure = {
|
2113
2113
|
_custom: {
|
@@ -2117,7 +2117,7 @@ function es(e, t, n) {
|
|
2117
2117
|
tooltip: "Navigation Failure",
|
2118
2118
|
value: f
|
2119
2119
|
}
|
2120
|
-
}, d.status =
|
2120
|
+
}, d.status = Ne("❌")) : d.status = Ne("✅"), d.from = me(u, "Current Location during this navigation"), d.to = me(a, "Target location"), o.addTimelineEvent({
|
2121
2121
|
layerId: s,
|
2122
2122
|
event: {
|
2123
2123
|
title: "End of navigation",
|
@@ -2452,7 +2452,7 @@ ${JSON.stringify(b, null, 2)}
|
|
2452
2452
|
return w ? Promise.reject(w) : Promise.resolve();
|
2453
2453
|
}
|
2454
2454
|
function le(m) {
|
2455
|
-
const E =
|
2455
|
+
const E = ke.values().next().value;
|
2456
2456
|
return E && typeof E.runWithContext == "function" ? E.runWithContext(m) : m();
|
2457
2457
|
}
|
2458
2458
|
function gt(m, E) {
|
@@ -2561,30 +2561,30 @@ ${JSON.stringify(b, null, 2)}
|
|
2561
2561
|
}).catch(ve);
|
2562
2562
|
}));
|
2563
2563
|
}
|
2564
|
-
let We = pe(), wt = pe(),
|
2564
|
+
let We = pe(), wt = pe(), Pe;
|
2565
2565
|
function Ue(m, E, w) {
|
2566
2566
|
Ke(m);
|
2567
2567
|
const b = wt.list();
|
2568
2568
|
return b.length ? b.forEach((T) => T(m, E, w)) : (S.NODE_ENV !== "production" && P("uncaught error during route navigation:"), console.error(m)), Promise.reject(m);
|
2569
2569
|
}
|
2570
2570
|
function Ln() {
|
2571
|
-
return
|
2571
|
+
return Pe && l.value !== Y ? Promise.resolve() : new Promise((m, E) => {
|
2572
2572
|
We.add([m, E]);
|
2573
2573
|
});
|
2574
2574
|
}
|
2575
2575
|
function Ke(m) {
|
2576
|
-
return
|
2576
|
+
return Pe || (Pe = !m, Bn(), We.list().forEach(([E, w]) => m ? w(m) : E()), We.reset()), m;
|
2577
2577
|
}
|
2578
2578
|
function Et(m, E, w, b) {
|
2579
2579
|
const { scrollBehavior: T } = e;
|
2580
2580
|
if (!z || !T)
|
2581
2581
|
return Promise.resolve();
|
2582
2582
|
const j = !w && mo(Vt(m.fullPath, 0)) || (b || !w) && history.state && history.state.scroll || null;
|
2583
|
-
return
|
2583
|
+
return Te().then(() => T(m, E, j)).then((V) => V && ho(V)).catch((V) => Ue(V, m, E));
|
2584
2584
|
}
|
2585
2585
|
const Ge = (m) => o.go(m);
|
2586
2586
|
let qe;
|
2587
|
-
const
|
2587
|
+
const ke = /* @__PURE__ */ new Set(), _t = {
|
2588
2588
|
currentRoute: l,
|
2589
2589
|
listening: !0,
|
2590
2590
|
addRoute: d,
|
@@ -2622,8 +2622,8 @@ ${JSON.stringify(b, null, 2)}
|
|
2622
2622
|
});
|
2623
2623
|
m.provide(Be, E), m.provide(mt, Hn(w)), m.provide(ct, l);
|
2624
2624
|
const b = m.unmount;
|
2625
|
-
|
2626
|
-
|
2625
|
+
ke.add(m), m.unmount = function() {
|
2626
|
+
ke.delete(m), ke.size < 1 && (h = Y, fe && fe(), fe = null, l.value = Y, qe = !1, Pe = !1), b();
|
2627
2627
|
}, S.NODE_ENV !== "production" && z && es(m, E, t);
|
2628
2628
|
}
|
2629
2629
|
};
|
@@ -2661,7 +2661,7 @@ function ne(e) {
|
|
2661
2661
|
if (N.isVForIndex(p))
|
2662
2662
|
return r.getVForIndex(p.fid);
|
2663
2663
|
if (N.isJs(p)) {
|
2664
|
-
const { code: g, bind: y } = p, _ =
|
2664
|
+
const { code: g, bind: y } = p, _ = Oe(y, (O) => a(O));
|
2665
2665
|
return xr(g, _)();
|
2666
2666
|
}
|
2667
2667
|
if (N.isSlotProp(p))
|
@@ -2873,7 +2873,7 @@ class ws {
|
|
2873
2873
|
constructor(t, n, r) {
|
2874
2874
|
B(this, "taskQueue", []);
|
2875
2875
|
B(this, "id2TaskMap", /* @__PURE__ */ new Map());
|
2876
|
-
B(this, "input2TaskIdMap",
|
2876
|
+
B(this, "input2TaskIdMap", _e(() => []));
|
2877
2877
|
this.snapshots = r;
|
2878
2878
|
const o = [], s = (i) => {
|
2879
2879
|
var l;
|
@@ -2909,7 +2909,7 @@ class ws {
|
|
2909
2909
|
G(
|
2910
2910
|
f,
|
2911
2911
|
(d) => {
|
2912
|
-
d.some(
|
2912
|
+
d.some(Ee) || (i.modify = !0, this.taskQueue.push(new _s(i)), this._scheduleNextTick());
|
2913
2913
|
},
|
2914
2914
|
u
|
2915
2915
|
);
|
@@ -2924,7 +2924,7 @@ class ws {
|
|
2924
2924
|
).map((s) => this.snapshots.getVueRefObjectOrValue(s));
|
2925
2925
|
}
|
2926
2926
|
_scheduleNextTick() {
|
2927
|
-
|
2927
|
+
Te(() => this._runAllTasks());
|
2928
2928
|
}
|
2929
2929
|
_runAllTasks() {
|
2930
2930
|
const t = this.taskQueue.slice();
|
@@ -3082,7 +3082,7 @@ function bs(e, t) {
|
|
3082
3082
|
bind: l = {},
|
3083
3083
|
onData: h,
|
3084
3084
|
bindData: a
|
3085
|
-
} = e, u = h || new Array(n.length).fill(0), f = a || new Array(Object.keys(l).length).fill(0), d =
|
3085
|
+
} = e, u = h || new Array(n.length).fill(0), f = a || new Array(Object.keys(l).length).fill(0), d = Oe(
|
3086
3086
|
l,
|
3087
3087
|
(g, y, _) => f[_] === 0 ? t.getVueRefObject(g) : g
|
3088
3088
|
), v = L(r, d), p = n.length === 1 ? Ut(u[0] === 1, n[0], t) : n.map(
|
@@ -3157,7 +3157,7 @@ function Ps(e, t) {
|
|
3157
3157
|
const o = r.path.slice(1);
|
3158
3158
|
return L(o)(...n);
|
3159
3159
|
}
|
3160
|
-
return
|
3160
|
+
return be(n[0], r.path.split("."));
|
3161
3161
|
}
|
3162
3162
|
return N.IsBinding(r) ? t.getObjectToValue(r) : r;
|
3163
3163
|
});
|
@@ -3178,7 +3178,7 @@ function Vs(e, t) {
|
|
3178
3178
|
const u = a.path.slice(1);
|
3179
3179
|
return L(u)(...c);
|
3180
3180
|
}
|
3181
|
-
return
|
3181
|
+
return be(c[0], a.path.split("."));
|
3182
3182
|
}
|
3183
3183
|
return N.IsBinding(a) ? tn(t.getObjectToValue(a)) : a;
|
3184
3184
|
}), h = s(...l);
|
@@ -3190,7 +3190,7 @@ function Vs(e, t) {
|
|
3190
3190
|
return i;
|
3191
3191
|
}
|
3192
3192
|
function Ns(e, t) {
|
3193
|
-
const { code: n, bind: r = {}, bindData: o } = e, s = o || new Array(Object.keys(r).length).fill(0), i =
|
3193
|
+
const { code: n, bind: r = {}, bindData: o } = e, s = o || new Array(Object.keys(r).length).fill(0), i = Oe(
|
3194
3194
|
r,
|
3195
3195
|
(h, a, u) => s[u] === 0 ? t.getVueRefObject(h) : h
|
3196
3196
|
), c = L(n, i);
|
@@ -3205,7 +3205,7 @@ function Is(e, t) {
|
|
3205
3205
|
Array.isArray(s) ? n.push(
|
3206
3206
|
...s.map((i) => t.getObjectToValue(i))
|
3207
3207
|
) : n.push(
|
3208
|
-
|
3208
|
+
Oe(
|
3209
3209
|
s,
|
3210
3210
|
(i) => t.getObjectToValue(i)
|
3211
3211
|
)
|
@@ -3225,7 +3225,7 @@ function Ts(e, t) {
|
|
3225
3225
|
return Ye(n);
|
3226
3226
|
const { str: r, map: o, bind: s } = n, i = [];
|
3227
3227
|
return r && i.push(r), o && i.push(
|
3228
|
-
|
3228
|
+
Oe(
|
3229
3229
|
o,
|
3230
3230
|
(c) => t.getObjectToValue(c)
|
3231
3231
|
)
|
@@ -3260,7 +3260,7 @@ function $s(e, t, n) {
|
|
3260
3260
|
const r = {};
|
3261
3261
|
return Ot(e.bProps || {}, (s, i) => {
|
3262
3262
|
const c = n.getObjectToValue(s);
|
3263
|
-
|
3263
|
+
Ee(c) || ($e(c), r[i] = js(c, i));
|
3264
3264
|
}), (o = e.proxyProps) == null || o.forEach((s) => {
|
3265
3265
|
const i = n.getObjectToValue(s);
|
3266
3266
|
typeof i == "object" && Ot(i, (c, l) => {
|
@@ -3299,7 +3299,7 @@ function Ds(e, t) {
|
|
3299
3299
|
return (l) => {
|
3300
3300
|
if (i.scope) {
|
3301
3301
|
const h = () => i.props ? Kt(i.props, l, c) : ge(c);
|
3302
|
-
return A(
|
3302
|
+
return A(Re, { scope: i.scope }, h);
|
3303
3303
|
}
|
3304
3304
|
return i.props ? Kt(i.props, l, c) : ge(c);
|
3305
3305
|
};
|
@@ -3385,7 +3385,7 @@ function Ls(e, { slots: t }) {
|
|
3385
3385
|
const { scope: n } = e;
|
3386
3386
|
return Dn(n), () => A(De, null, t.default());
|
3387
3387
|
}
|
3388
|
-
const
|
3388
|
+
const Re = F(Ls, {
|
3389
3389
|
props: ["scope"]
|
3390
3390
|
}), Ws = F(
|
3391
3391
|
(e) => {
|
@@ -3403,7 +3403,7 @@ const Se = F(Ls, {
|
|
3403
3403
|
}
|
3404
3404
|
);
|
3405
3405
|
function Us(e, t) {
|
3406
|
-
const { state: n, isReady: r, isLoading: o } =
|
3406
|
+
const { state: n, isReady: r, isLoading: o } = hr(async () => {
|
3407
3407
|
let s = e;
|
3408
3408
|
const i = t;
|
3409
3409
|
if (!s && !i)
|
@@ -3441,18 +3441,18 @@ const Gs = { class: "app-box" }, qs = {
|
|
3441
3441
|
pathParams: s.url.params,
|
3442
3442
|
webServerInfo: s.webInfo
|
3443
3443
|
}), gs(s));
|
3444
|
-
}), er(Ks), (s, i) => (he(),
|
3445
|
-
W(r) ? (he(),
|
3444
|
+
}), er(Ks), (s, i) => (he(), Ve("div", Gs, [
|
3445
|
+
W(r) ? (he(), Ve("div", qs, i[0] || (i[0] = [
|
3446
3446
|
tr("p", { style: { margin: "auto" } }, "Loading ...", -1)
|
3447
|
-
]))) : (he(),
|
3447
|
+
]))) : (he(), Ve("div", {
|
3448
3448
|
key: 1,
|
3449
3449
|
class: Ye(["insta-main", W(n).class])
|
3450
3450
|
}, [
|
3451
|
-
nr(W(
|
3451
|
+
nr(W(Re), {
|
3452
3452
|
scope: W(o).scope
|
3453
3453
|
}, {
|
3454
3454
|
default: rr(() => [
|
3455
|
-
(he(!0),
|
3455
|
+
(he(!0), Ve(De, null, or(W(o).items, (c) => (he(), sr(W(Q), { component: c }, null, 8, ["component"]))), 256))
|
3456
3456
|
]),
|
3457
3457
|
_: 1
|
3458
3458
|
}, 8, ["scope"])
|
@@ -3463,8 +3463,8 @@ const Gs = { class: "app-box" }, qs = {
|
|
3463
3463
|
function zs(e) {
|
3464
3464
|
const { on: t, scope: n, items: r } = e, o = ne();
|
3465
3465
|
return () => {
|
3466
|
-
const s = o.getObjectToValue(t);
|
3467
|
-
return A(
|
3466
|
+
const s = typeof t == "boolean" ? t : o.getObjectToValue(t);
|
3467
|
+
return A(Re, { scope: n }, () => s ? r.map(
|
3468
3468
|
(c) => A(Q, { component: c })
|
3469
3469
|
) : void 0);
|
3470
3470
|
};
|
@@ -3528,7 +3528,7 @@ function Zs(e, t, n, r, o) {
|
|
3528
3528
|
}
|
3529
3529
|
const ei = (e) => e, ti = (e, t) => t;
|
3530
3530
|
function ni(e) {
|
3531
|
-
const t =
|
3531
|
+
const t = dr(e);
|
3532
3532
|
return typeof t == "function" ? t : e === "item" ? ei : ti;
|
3533
3533
|
}
|
3534
3534
|
function ri(e) {
|
@@ -3619,7 +3619,7 @@ function ii(e) {
|
|
3619
3619
|
const { scope: t, items: n } = e;
|
3620
3620
|
return () => {
|
3621
3621
|
const r = n.map((o) => A(Q, { component: o }));
|
3622
|
-
return A(
|
3622
|
+
return A(Re, { scope: t }, () => r);
|
3623
3623
|
};
|
3624
3624
|
}
|
3625
3625
|
const Gt = F(ii, {
|
@@ -3692,7 +3692,7 @@ function Fn(e, t) {
|
|
3692
3692
|
}
|
3693
3693
|
function pi(e, t, n) {
|
3694
3694
|
const { path: r, component: o } = e, s = A(
|
3695
|
-
|
3695
|
+
Re,
|
3696
3696
|
{ scope: t, key: r },
|
3697
3697
|
() => o.map((c) => A(Q, { component: c }))
|
3698
3698
|
);
|