streamlit 1.50.0__py3-none-any.whl → 1.52.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- streamlit/__init__.py +5 -1
- streamlit/commands/execution_control.py +89 -14
- streamlit/commands/navigation.py +4 -6
- streamlit/commands/page_config.py +4 -6
- streamlit/components/v1/component_arrow.py +7 -7
- streamlit/components/v2/__init__.py +514 -0
- streamlit/components/v2/bidi_component/__init__.py +20 -0
- streamlit/components/v2/bidi_component/constants.py +29 -0
- streamlit/components/v2/bidi_component/main.py +534 -0
- streamlit/components/v2/bidi_component/serialization.py +272 -0
- streamlit/components/v2/bidi_component/state.py +92 -0
- streamlit/components/v2/component_definition_resolver.py +143 -0
- streamlit/components/v2/component_file_watcher.py +403 -0
- streamlit/components/v2/component_manager.py +439 -0
- streamlit/components/v2/component_manifest_handler.py +122 -0
- streamlit/components/v2/component_path_utils.py +245 -0
- streamlit/components/v2/component_registry.py +426 -0
- streamlit/components/v2/get_bidi_component_manager.py +51 -0
- streamlit/components/v2/manifest_scanner.py +615 -0
- streamlit/components/v2/presentation.py +198 -0
- streamlit/components/v2/types.py +324 -0
- streamlit/config.py +456 -53
- streamlit/config_option.py +4 -1
- streamlit/config_util.py +650 -1
- streamlit/connections/snowflake_connection.py +1 -1
- streamlit/connections/snowpark_connection.py +1 -1
- streamlit/dataframe_util.py +33 -26
- streamlit/delta_generator.py +13 -4
- streamlit/delta_generator_singletons.py +11 -15
- streamlit/deprecation_util.py +17 -6
- streamlit/elements/alert.py +16 -0
- streamlit/elements/arrow.py +68 -10
- streamlit/elements/bokeh_chart.py +10 -78
- streamlit/elements/code.py +2 -2
- streamlit/elements/deck_gl_json_chart.py +98 -40
- streamlit/elements/dialog_decorator.py +2 -1
- streamlit/elements/exception.py +4 -2
- streamlit/elements/form.py +27 -0
- streamlit/elements/graphviz_chart.py +1 -3
- streamlit/elements/heading.py +63 -10
- streamlit/elements/html.py +13 -2
- streamlit/elements/image.py +3 -5
- streamlit/elements/layouts.py +59 -33
- streamlit/elements/lib/built_in_chart_utils.py +50 -19
- streamlit/elements/lib/color_util.py +9 -19
- streamlit/elements/lib/column_config_utils.py +9 -12
- streamlit/elements/lib/column_types.py +40 -12
- streamlit/elements/lib/dialog.py +2 -2
- streamlit/elements/lib/image_utils.py +3 -5
- streamlit/elements/lib/layout_utils.py +100 -13
- streamlit/elements/lib/mutable_status_container.py +2 -2
- streamlit/elements/lib/options_selector_utils.py +2 -2
- streamlit/elements/lib/pandas_styler_utils.py +17 -9
- streamlit/elements/lib/shortcut_utils.py +152 -0
- streamlit/elements/lib/utils.py +4 -4
- streamlit/elements/map.py +80 -37
- streamlit/elements/markdown.py +50 -3
- streamlit/elements/media.py +5 -7
- streamlit/elements/metric.py +34 -6
- streamlit/elements/pdf.py +2 -4
- streamlit/elements/plotly_chart.py +197 -20
- streamlit/elements/progress.py +2 -4
- streamlit/elements/space.py +113 -0
- streamlit/elements/spinner.py +1 -1
- streamlit/elements/text.py +20 -3
- streamlit/elements/toast.py +2 -0
- streamlit/elements/vega_charts.py +356 -149
- streamlit/elements/widgets/audio_input.py +12 -11
- streamlit/elements/widgets/button.py +280 -43
- streamlit/elements/widgets/button_group.py +60 -9
- streamlit/elements/widgets/camera_input.py +3 -5
- streamlit/elements/widgets/chat.py +307 -43
- streamlit/elements/widgets/color_picker.py +8 -1
- streamlit/elements/widgets/data_editor.py +88 -44
- streamlit/elements/widgets/file_uploader.py +9 -11
- streamlit/elements/widgets/multiselect.py +4 -3
- streamlit/elements/widgets/number_input.py +4 -4
- streamlit/elements/widgets/radio.py +10 -3
- streamlit/elements/widgets/select_slider.py +8 -5
- streamlit/elements/widgets/selectbox.py +6 -3
- streamlit/elements/widgets/slider.py +38 -42
- streamlit/elements/widgets/text_widgets.py +2 -0
- streamlit/elements/widgets/time_widgets.py +587 -21
- streamlit/elements/write.py +27 -6
- streamlit/emojis.py +1 -1
- streamlit/errors.py +137 -0
- streamlit/git_util.py +1 -1
- streamlit/hello/hello.py +8 -0
- streamlit/hello/utils.py +2 -1
- streamlit/material_icon_names.py +1 -1
- streamlit/navigation/page.py +11 -1
- streamlit/net_util.py +2 -2
- streamlit/proto/Alert_pb2.pyi +3 -3
- streamlit/proto/AppPage_pb2.pyi +7 -1
- streamlit/proto/ArrowData_pb2.py +27 -0
- streamlit/proto/ArrowData_pb2.pyi +52 -0
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +7 -1
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +7 -1
- streamlit/proto/Arrow_pb2.py +10 -10
- streamlit/proto/Arrow_pb2.pyi +19 -12
- streamlit/proto/AudioInput_pb2.pyi +7 -1
- streamlit/proto/Audio_pb2.pyi +7 -1
- streamlit/proto/AuthRedirect_pb2.pyi +7 -1
- streamlit/proto/AutoRerun_pb2.pyi +7 -1
- streamlit/proto/BackMsg_pb2.py +4 -2
- streamlit/proto/BackMsg_pb2.pyi +34 -4
- streamlit/proto/Balloons_pb2.pyi +7 -1
- streamlit/proto/BidiComponent_pb2.py +34 -0
- streamlit/proto/BidiComponent_pb2.pyi +159 -0
- streamlit/proto/Block_pb2.py +7 -7
- streamlit/proto/Block_pb2.pyi +39 -36
- streamlit/proto/BokehChart_pb2.pyi +7 -1
- streamlit/proto/ButtonGroup_pb2.pyi +9 -9
- streamlit/proto/Button_pb2.py +2 -2
- streamlit/proto/Button_pb2.pyi +11 -2
- streamlit/proto/CameraInput_pb2.pyi +7 -1
- streamlit/proto/ChatInput_pb2.py +6 -6
- streamlit/proto/ChatInput_pb2.pyi +18 -6
- streamlit/proto/Checkbox_pb2.pyi +3 -3
- streamlit/proto/ClientState_pb2.pyi +10 -4
- streamlit/proto/Code_pb2.pyi +7 -1
- streamlit/proto/ColorPicker_pb2.pyi +7 -1
- streamlit/proto/Common_pb2.py +3 -3
- streamlit/proto/Common_pb2.pyi +35 -23
- streamlit/proto/Components_pb2.pyi +19 -13
- streamlit/proto/DataFrame_pb2.pyi +55 -49
- streamlit/proto/DateInput_pb2.pyi +7 -1
- streamlit/proto/DateTimeInput_pb2.py +28 -0
- streamlit/proto/DateTimeInput_pb2.pyi +92 -0
- streamlit/proto/DeckGlJsonChart_pb2.py +10 -4
- streamlit/proto/DeckGlJsonChart_pb2.pyi +12 -6
- streamlit/proto/Delta_pb2.pyi +7 -1
- streamlit/proto/DocString_pb2.pyi +10 -4
- streamlit/proto/DownloadButton_pb2.py +2 -2
- streamlit/proto/DownloadButton_pb2.pyi +16 -2
- streamlit/proto/Element_pb2.py +7 -3
- streamlit/proto/Element_pb2.pyi +33 -5
- streamlit/proto/Empty_pb2.pyi +7 -1
- streamlit/proto/Exception_pb2.pyi +7 -1
- streamlit/proto/Favicon_pb2.pyi +7 -1
- streamlit/proto/FileUploader_pb2.pyi +7 -1
- streamlit/proto/ForwardMsg_pb2.py +12 -10
- streamlit/proto/ForwardMsg_pb2.pyi +42 -15
- streamlit/proto/GapSize_pb2.pyi +4 -4
- streamlit/proto/GitInfo_pb2.pyi +3 -3
- streamlit/proto/GraphVizChart_pb2.pyi +7 -1
- streamlit/proto/Heading_pb2.pyi +7 -1
- streamlit/proto/HeightConfig_pb2.py +2 -2
- streamlit/proto/HeightConfig_pb2.pyi +13 -4
- streamlit/proto/Html_pb2.py +2 -2
- streamlit/proto/Html_pb2.pyi +11 -2
- streamlit/proto/IFrame_pb2.pyi +7 -1
- streamlit/proto/Image_pb2.pyi +10 -4
- streamlit/proto/Json_pb2.pyi +7 -1
- streamlit/proto/LabelVisibilityMessage_pb2.pyi +3 -3
- streamlit/proto/LinkButton_pb2.py +2 -2
- streamlit/proto/LinkButton_pb2.pyi +15 -2
- streamlit/proto/Logo_pb2.pyi +7 -1
- streamlit/proto/Markdown_pb2.pyi +3 -3
- streamlit/proto/Metric_pb2.pyi +7 -7
- streamlit/proto/MetricsEvent_pb2.pyi +10 -4
- streamlit/proto/MultiSelect_pb2.pyi +7 -1
- streamlit/proto/NamedDataSet_pb2.pyi +7 -1
- streamlit/proto/Navigation_pb2.pyi +3 -3
- streamlit/proto/NewSession_pb2.py +18 -18
- streamlit/proto/NewSession_pb2.pyi +59 -40
- streamlit/proto/NumberInput_pb2.pyi +3 -3
- streamlit/proto/PageConfig_pb2.pyi +7 -7
- streamlit/proto/PageInfo_pb2.pyi +7 -1
- streamlit/proto/PageLink_pb2.py +2 -2
- streamlit/proto/PageLink_pb2.pyi +11 -2
- streamlit/proto/PageNotFound_pb2.pyi +7 -1
- streamlit/proto/PageProfile_pb2.pyi +13 -7
- streamlit/proto/PagesChanged_pb2.pyi +7 -1
- streamlit/proto/ParentMessage_pb2.pyi +7 -1
- streamlit/proto/PlotlyChart_pb2.py +8 -6
- streamlit/proto/PlotlyChart_pb2.pyi +9 -7
- streamlit/proto/Progress_pb2.pyi +7 -1
- streamlit/proto/Radio_pb2.pyi +7 -1
- streamlit/proto/RootContainer_pb2.pyi +1 -1
- streamlit/proto/Selectbox_pb2.pyi +7 -1
- streamlit/proto/SessionEvent_pb2.pyi +7 -1
- streamlit/proto/SessionStatus_pb2.pyi +7 -1
- streamlit/proto/Skeleton_pb2.pyi +3 -3
- streamlit/proto/Slider_pb2.pyi +5 -5
- streamlit/proto/Snow_pb2.pyi +7 -1
- streamlit/proto/Space_pb2.py +27 -0
- streamlit/proto/Space_pb2.pyi +48 -0
- streamlit/proto/Spinner_pb2.pyi +7 -1
- streamlit/proto/TextAlignmentConfig_pb2.py +29 -0
- streamlit/proto/TextAlignmentConfig_pb2.pyi +68 -0
- streamlit/proto/TextArea_pb2.pyi +7 -1
- streamlit/proto/TextInput_pb2.pyi +3 -3
- streamlit/proto/Text_pb2.pyi +7 -1
- streamlit/proto/TimeInput_pb2.pyi +7 -1
- streamlit/proto/Toast_pb2.pyi +7 -1
- streamlit/proto/VegaLiteChart_pb2.pyi +7 -1
- streamlit/proto/Video_pb2.pyi +6 -6
- streamlit/proto/WidgetStates_pb2.py +2 -2
- streamlit/proto/WidgetStates_pb2.pyi +23 -7
- streamlit/proto/WidthConfig_pb2.py +2 -2
- streamlit/proto/WidthConfig_pb2.pyi +13 -4
- streamlit/proto/openmetrics_data_model_pb2.pyi +52 -52
- streamlit/runtime/app_session.py +65 -2
- streamlit/runtime/caching/cache_data_api.py +5 -5
- streamlit/runtime/caching/cache_errors.py +4 -1
- streamlit/runtime/caching/cache_resource_api.py +5 -4
- streamlit/runtime/caching/cache_utils.py +3 -2
- streamlit/runtime/caching/cached_message_replay.py +3 -3
- streamlit/runtime/caching/hashing.py +4 -5
- streamlit/runtime/caching/legacy_cache_api.py +2 -1
- streamlit/runtime/connection_factory.py +1 -3
- streamlit/runtime/download_data_util.py +53 -0
- streamlit/runtime/forward_msg_queue.py +5 -1
- streamlit/runtime/fragment.py +2 -1
- streamlit/runtime/media_file_manager.py +178 -2
- streamlit/runtime/memory_media_file_storage.py +1 -1
- streamlit/runtime/metrics_util.py +91 -3
- streamlit/runtime/runtime.py +14 -0
- streamlit/runtime/scriptrunner/exec_code.py +2 -1
- streamlit/runtime/scriptrunner/script_runner.py +5 -3
- streamlit/runtime/scriptrunner_utils/script_run_context.py +3 -6
- streamlit/runtime/secrets.py +2 -4
- streamlit/runtime/session_manager.py +3 -1
- streamlit/runtime/state/common.py +30 -5
- streamlit/runtime/state/presentation.py +85 -0
- streamlit/runtime/state/query_params.py +80 -29
- streamlit/runtime/state/safe_session_state.py +2 -2
- streamlit/runtime/state/session_state.py +221 -17
- streamlit/runtime/state/widgets.py +19 -3
- streamlit/runtime/websocket_session_manager.py +3 -1
- streamlit/source_util.py +2 -2
- streamlit/static/index.html +2 -2
- streamlit/static/manifest.json +557 -239
- streamlit/static/static/css/{index.CIiu7Ygf.css → index.BpABIXK9.css} +1 -1
- streamlit/static/static/css/index.DgR7E2CV.css +1 -0
- streamlit/static/static/js/{ErrorOutline.esm.DUpR0_Ka.js → ErrorOutline.esm.ZJDbmVTx.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.CN4j9-1w.js → FileDownload.esm.Dx0vI3vH.js} +1 -1
- streamlit/static/static/js/{FileHelper.CaIUKG91.js → FileHelper.B7Ero7qQ.js} +3 -3
- streamlit/static/static/js/{FormClearHelper.DTcdrasw.js → FormClearHelper.CG2XN1_g.js} +1 -1
- streamlit/static/static/js/IFrameUtil.DefezniK.js +1 -0
- streamlit/static/static/js/InputInstructions.Cj5-1zf6.js +1 -0
- streamlit/static/static/js/Particles.BfWfv0Aw.js +1 -0
- streamlit/static/static/js/{ProgressBar.DetlP5aY.js → ProgressBar.CGQ8OgfO.js} +2 -2
- streamlit/static/static/js/StreamlitSyntaxHighlighter.DTKLpwhl.js +20 -0
- streamlit/static/static/js/{Toolbar.C77ar7rq.js → Toolbar.B2qFUmd9.js} +1 -1
- streamlit/static/static/js/_arrayIncludes.B19Iyn2B.js +1 -0
- streamlit/static/static/js/_baseIndexOf.BTknn6Gb.js +1 -0
- streamlit/static/static/js/{base-input.BQft14La.js → base-input.o9tL8MDP.js} +4 -4
- streamlit/static/static/js/{checkbox.yZOfXCeX.js → checkbox.0BeV1IBL.js} +1 -1
- streamlit/static/static/js/{createSuper.Dh9w1cs8.js → createSuper.RBO59fEm.js} +1 -1
- streamlit/static/static/js/data-grid-overlay-editor.CiTkUy0t.js +1 -0
- streamlit/static/static/js/{downloader.MeHtkq8r.js → downloader.DwNZg3Mw.js} +1 -1
- streamlit/static/static/js/embed.XT9xNd3F.js +195 -0
- streamlit/static/static/js/{es6.VpBPGCnM.js → es6.x9KsYQg-.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.yMw_ARIL.js → iframeResizer.contentWindow.ZVXpMPi0.js} +1 -1
- streamlit/static/static/js/index.5VPOamri.js +1 -0
- streamlit/static/static/js/index.8HslT92O.js +14 -0
- streamlit/static/static/js/index.AnXMIBz3.js +7 -0
- streamlit/static/static/js/index.B0yp3bM1.js +6 -0
- streamlit/static/static/js/index.B1fRb5wF.js +1 -0
- streamlit/static/static/js/index.B527JZdO.js +3 -0
- streamlit/static/static/js/index.BHgV-yW4.js +1 -0
- streamlit/static/static/js/index.BQr-XwGV.js +1 -0
- streamlit/static/static/js/index.BTtmaLDB.js +1 -0
- streamlit/static/static/js/index.BWB_91TA.js +1 -0
- streamlit/static/static/js/index.BfEKaEmw.js +1 -0
- streamlit/static/static/js/index.BfXjTO8b.js +1 -0
- streamlit/static/static/js/index.Bjy4NRu9.js +3 -0
- streamlit/static/static/js/index.Bu5JWpT_.js +1 -0
- streamlit/static/static/js/index.BuCx76ZV.js +1 -0
- streamlit/static/static/js/index.BxjzhVUb.js +2 -0
- streamlit/static/static/js/index.By55VdPY.js +1 -0
- streamlit/static/static/js/index.CF5MxTbK.js +1 -0
- streamlit/static/static/js/index.CLmq_z9K.js +1 -0
- streamlit/static/static/js/index.CNH4rdSz.js +1 -0
- streamlit/static/static/js/{index.B0H9IXUJ.js → index.CTgm_-jO.js} +10 -41
- streamlit/static/static/js/index.C_rK-Swb.js +188 -0
- streamlit/static/static/js/index.CjozwSzS.js +1 -0
- streamlit/static/static/js/{index.CH1tqnSs.js → index.CkGVt6-G.js} +1 -1
- streamlit/static/static/js/index.CuvXOyER.js +2 -0
- streamlit/static/static/js/{index.FFOzOWzC.js → index.CyUHWoCC.js} +2 -2
- streamlit/static/static/js/index.CyroQtI4.js +2 -0
- streamlit/static/static/js/index.D6HmkoDm.js +263 -0
- streamlit/static/static/js/index.DAqCNvsO.js +1 -0
- streamlit/static/static/js/index.DB_w_CZQ.js +1 -0
- streamlit/static/static/js/index.DBalctjj.js +2 -0
- streamlit/static/static/js/index.DK0RFJUG.js +11 -0
- streamlit/static/static/js/index.DMxc2XFp.js +151 -0
- streamlit/static/static/js/index.DO5utP74.js +2 -0
- streamlit/static/static/js/index.DS7lf09n.js +1 -0
- streamlit/static/static/js/index.DWexTVLY.js +1 -0
- streamlit/static/static/js/index.DXxnU5ej.js +1 -0
- streamlit/static/static/js/index.DcU3uDvB.js +2 -0
- streamlit/static/static/js/index.DlltaH7J.js +1 -0
- streamlit/static/static/js/index.DpNTZz82.js +27 -0
- streamlit/static/static/js/index.Dr9HIhQw.js +1 -0
- streamlit/static/static/js/index.DsgAU5lc.js +1 -0
- streamlit/static/static/js/{index.64ejlaaT.js → index.KfXqjDYy.js} +1 -1
- streamlit/static/static/js/index.PaidgjCs.js +1 -0
- streamlit/static/static/js/index.RJZuWCGA.js +1 -0
- streamlit/static/static/js/{index.Ctn27_AE.js → index.hbeqcRTn.js} +53 -122
- streamlit/static/static/js/index.q5hIQwAY.js +1 -0
- streamlit/static/static/js/index.rORSX6IW.js +1 -0
- streamlit/static/static/js/index.uSX757_v.js +1 -0
- streamlit/static/static/js/index.x_QRaLMd.js +1 -0
- streamlit/static/static/js/{input.s6pjQ49A.js → input.D5oh9-aB.js} +2 -2
- streamlit/static/static/js/main.q9oGOg0H.js +13 -0
- streamlit/static/static/js/{memory.Cuvsdfrl.js → memory.5kCSFUJS.js} +1 -1
- streamlit/static/static/js/moment.C3j7ZXd7.js +4 -0
- streamlit/static/static/js/number-overlay-editor.Cn_LsK8N.js +9 -0
- streamlit/static/static/js/pandasStylerUtils.BqhXt51_.js +1 -0
- streamlit/static/static/js/{possibleConstructorReturn.CqidKeei.js → possibleConstructorReturn.DD9NK1Z8.js} +1 -1
- streamlit/static/static/js/record.B-tDciZb.js +1 -0
- streamlit/static/static/js/{sandbox.CCQREcJx.js → sandbox.DACSyz29.js} +1 -1
- streamlit/static/static/js/styled-components.C3R090At.js +1 -0
- streamlit/static/static/js/threshold.Q1mXg5rX.js +1 -0
- streamlit/static/static/js/throttle.B0GR3Iyz.js +1 -0
- streamlit/static/static/js/{timepicker.mkJF97Bb.js → timepicker.BdhzPxrv.js} +1 -1
- streamlit/static/static/js/timer.C2hYhUse.js +1 -0
- streamlit/static/static/js/{toConsumableArray.De7I7KVR.js → toConsumableArray.Db2pdqM2.js} +1 -1
- streamlit/static/static/js/uniqueId.CtqIr-Yh.js +1 -0
- streamlit/static/static/js/urls.BwSlolu9.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.CedkNjUW.js → useBasicWidgetState.Bfp6TnSw.js} +1 -1
- streamlit/static/static/js/useIntlLocale.hRV75Xgj.js +12 -0
- streamlit/static/static/js/{useTextInputAutoExpand.Ca7w8dVs.js → useTextInputAutoExpand.QepX7n8Y.js} +1 -1
- streamlit/static/static/js/useUpdateUiValue.DHx8TzX6.js +1 -0
- streamlit/static/static/js/useWaveformController.WxVzpzEX.js +1 -0
- streamlit/static/static/js/value.B4vHRSi7.js +1 -0
- streamlit/static/static/js/wavesurfer.esm.vI8Eid4k.js +73 -0
- streamlit/static/static/js/withCalculatedWidth.DcKeRSWJ.js +1 -0
- streamlit/static/static/js/withFullScreenWrapper.CrHddARq.js +1 -0
- streamlit/static/static/media/MaterialSymbols-Rounded.C7IFxh57.woff2 +0 -0
- streamlit/string_util.py +9 -4
- streamlit/testing/v1/app_test.py +17 -2
- streamlit/testing/v1/element_tree.py +85 -9
- streamlit/testing/v1/util.py +2 -2
- streamlit/type_util.py +3 -4
- streamlit/url_util.py +1 -3
- streamlit/user_info.py +1 -2
- streamlit/util.py +3 -1
- streamlit/watcher/event_based_path_watcher.py +23 -12
- streamlit/watcher/local_sources_watcher.py +11 -1
- streamlit/watcher/path_watcher.py +9 -6
- streamlit/watcher/polling_path_watcher.py +4 -1
- streamlit/watcher/util.py +2 -2
- streamlit/web/bootstrap.py +24 -0
- streamlit/web/cli.py +51 -22
- streamlit/web/server/bidi_component_request_handler.py +193 -0
- streamlit/web/server/component_file_utils.py +97 -0
- streamlit/web/server/component_request_handler.py +8 -21
- streamlit/web/server/oauth_authlib_routes.py +5 -2
- streamlit/web/server/oidc_mixin.py +3 -1
- streamlit/web/server/routes.py +2 -2
- streamlit/web/server/server.py +9 -0
- streamlit/web/server/server_util.py +3 -1
- streamlit/web/server/upload_file_request_handler.py +19 -1
- {streamlit-1.50.0.dist-info → streamlit-1.52.0.dist-info}/METADATA +10 -7
- streamlit-1.52.0.dist-info/RECORD +620 -0
- streamlit/static/static/css/index.CHEnSPGk.css +0 -1
- streamlit/static/static/js/Hooks.BRba_Own.js +0 -1
- streamlit/static/static/js/InputInstructions.xnSDuYeQ.js +0 -1
- streamlit/static/static/js/Particles.CElH0XX2.js +0 -1
- streamlit/static/static/js/data-grid-overlay-editor.DcuHuCyW.js +0 -1
- streamlit/static/static/js/index.6xX1278W.js +0 -975
- streamlit/static/static/js/index.B-hiXRzw.js +0 -1
- streamlit/static/static/js/index.B4cAbHP6.js +0 -1
- streamlit/static/static/js/index.B4dUQfni.js +0 -1
- streamlit/static/static/js/index.BPQo7BKk.js +0 -1
- streamlit/static/static/js/index.Baqa90pe.js +0 -2
- streamlit/static/static/js/index.Bj9JgOEC.js +0 -1
- streamlit/static/static/js/index.BjCwMzj4.js +0 -3
- streamlit/static/static/js/index.Bm3VbPB5.js +0 -1
- streamlit/static/static/js/index.Bxz2yX3P.js +0 -1
- streamlit/static/static/js/index.BycLveZ4.js +0 -1
- streamlit/static/static/js/index.C9BdUqTi.js +0 -1
- streamlit/static/static/js/index.CFMf5_ez.js +0 -197
- streamlit/static/static/js/index.CGYqqs6j.js +0 -1
- streamlit/static/static/js/index.CMItVsFA.js +0 -1
- streamlit/static/static/js/index.CTBk8Vk2.js +0 -1
- streamlit/static/static/js/index.CiAQIz1H.js +0 -7
- streamlit/static/static/js/index.Cj7DSzVR.js +0 -73
- streamlit/static/static/js/index.Ck8rQ9OL.js +0 -1
- streamlit/static/static/js/index.ClELlchS.js +0 -1617
- streamlit/static/static/js/index.Cnpi3o3E.js +0 -1
- streamlit/static/static/js/index.D2QEXQq_.js +0 -1
- streamlit/static/static/js/index.DH71Ezyj.js +0 -1
- streamlit/static/static/js/index.DHh-U0dK.js +0 -3
- streamlit/static/static/js/index.DK7hD7_w.js +0 -1
- streamlit/static/static/js/index.DKv_lNO7.js +0 -2
- streamlit/static/static/js/index.DNLrMXgm.js +0 -12
- streamlit/static/static/js/index.DW0Grddz.js +0 -1
- streamlit/static/static/js/index.Dbe-Q3C-.js +0 -2
- streamlit/static/static/js/index.DcPNYEUo.js +0 -1
- streamlit/static/static/js/index.DuxqVQpd.js +0 -1
- streamlit/static/static/js/index.GRUzrudl.js +0 -1
- streamlit/static/static/js/number-overlay-editor.DdgVR5m3.js +0 -9
- streamlit/static/static/js/uniqueId.RI1LJdtz.js +0 -1
- streamlit/static/static/js/useUpdateUiValue.DeXelfRH.js +0 -1
- streamlit/static/static/js/withFullScreenWrapper.C3561XxJ.js +0 -1
- streamlit/static/static/media/MaterialSymbols-Rounded.DeCZgS-4.woff2 +0 -0
- streamlit-1.50.0.dist-info/RECORD +0 -557
- {streamlit-1.50.0.data → streamlit-1.52.0.data}/scripts/streamlit.cmd +0 -0
- {streamlit-1.50.0.dist-info → streamlit-1.52.0.dist-info}/WHEEL +0 -0
- {streamlit-1.50.0.dist-info → streamlit-1.52.0.dist-info}/entry_points.txt +0 -0
- {streamlit-1.50.0.dist-info → streamlit-1.52.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
*!
|
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import builtins
|
|
21
|
+
import collections.abc
|
|
22
|
+
import google.protobuf.descriptor
|
|
23
|
+
import google.protobuf.internal.containers
|
|
24
|
+
import google.protobuf.message
|
|
25
|
+
import streamlit.proto.LabelVisibilityMessage_pb2
|
|
26
|
+
import sys
|
|
27
|
+
import typing
|
|
28
|
+
|
|
29
|
+
if sys.version_info >= (3, 10):
|
|
30
|
+
import typing as typing_extensions
|
|
31
|
+
else:
|
|
32
|
+
import typing_extensions
|
|
33
|
+
|
|
34
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
35
|
+
|
|
36
|
+
@typing.final
|
|
37
|
+
class DateTimeInput(google.protobuf.message.Message):
|
|
38
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
39
|
+
|
|
40
|
+
ID_FIELD_NUMBER: builtins.int
|
|
41
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
42
|
+
DEFAULT_FIELD_NUMBER: builtins.int
|
|
43
|
+
MIN_FIELD_NUMBER: builtins.int
|
|
44
|
+
MAX_FIELD_NUMBER: builtins.int
|
|
45
|
+
HELP_FIELD_NUMBER: builtins.int
|
|
46
|
+
FORM_ID_FIELD_NUMBER: builtins.int
|
|
47
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
48
|
+
SET_VALUE_FIELD_NUMBER: builtins.int
|
|
49
|
+
DISABLED_FIELD_NUMBER: builtins.int
|
|
50
|
+
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
|
51
|
+
FORMAT_FIELD_NUMBER: builtins.int
|
|
52
|
+
STEP_FIELD_NUMBER: builtins.int
|
|
53
|
+
IS_RANGE_FIELD_NUMBER: builtins.int
|
|
54
|
+
id: builtins.str
|
|
55
|
+
label: builtins.str
|
|
56
|
+
min: builtins.str
|
|
57
|
+
max: builtins.str
|
|
58
|
+
help: builtins.str
|
|
59
|
+
form_id: builtins.str
|
|
60
|
+
set_value: builtins.bool
|
|
61
|
+
disabled: builtins.bool
|
|
62
|
+
format: builtins.str
|
|
63
|
+
step: builtins.int
|
|
64
|
+
is_range: builtins.bool
|
|
65
|
+
@property
|
|
66
|
+
def default(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
67
|
+
@property
|
|
68
|
+
def value(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
69
|
+
@property
|
|
70
|
+
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
|
71
|
+
def __init__(
|
|
72
|
+
self,
|
|
73
|
+
*,
|
|
74
|
+
id: builtins.str = ...,
|
|
75
|
+
label: builtins.str = ...,
|
|
76
|
+
default: collections.abc.Iterable[builtins.str] | None = ...,
|
|
77
|
+
min: builtins.str = ...,
|
|
78
|
+
max: builtins.str = ...,
|
|
79
|
+
help: builtins.str = ...,
|
|
80
|
+
form_id: builtins.str = ...,
|
|
81
|
+
value: collections.abc.Iterable[builtins.str] | None = ...,
|
|
82
|
+
set_value: builtins.bool = ...,
|
|
83
|
+
disabled: builtins.bool = ...,
|
|
84
|
+
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
85
|
+
format: builtins.str = ...,
|
|
86
|
+
step: builtins.int = ...,
|
|
87
|
+
is_range: builtins.bool = ...,
|
|
88
|
+
) -> None: ...
|
|
89
|
+
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
|
90
|
+
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "is_range", b"is_range", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "set_value", b"set_value", "step", b"step", "value", b"value"]) -> None: ...
|
|
91
|
+
|
|
92
|
+
Global___DateTimeInput: typing_extensions.TypeAlias = DateTimeInput
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%streamlit/proto/DeckGlJsonChart.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%streamlit/proto/DeckGlJsonChart.proto\"\x99\x02\n\x0f\x44\x65\x63kGlJsonChart\x12\x0c\n\x04json\x18\x01 \x01(\t\x12\x0f\n\x07tooltip\x18\x02 \x01(\t\x12\x1f\n\x13use_container_width\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\n\n\x02id\x18\x05 \x01(\t\x12\x14\n\x0cmapbox_token\x18\x06 \x01(\t\x12\x11\n\x05width\x18\x07 \x01(\rB\x02\x18\x01\x12\x12\n\x06height\x18\x08 \x01(\rB\x02\x18\x01\x12\x36\n\x0eselection_mode\x18\t \x03(\x0e\x32\x1e.DeckGlJsonChart.SelectionMode\x12\x0f\n\x07\x66orm_id\x18\n \x01(\t\"4\n\rSelectionMode\x12\x11\n\rSINGLE_OBJECT\x10\x00\x12\x10\n\x0cMULTI_OBJECT\x10\x01\x42\x34\n\x1c\x63om.snowflake.apps.streamlitB\x14\x44\x65\x63kGlJsonChartProtob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -22,8 +22,14 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.DeckGlJsonC
|
|
|
22
22
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
23
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
24
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\024DeckGlJsonChartProto'
|
|
25
|
+
_globals['_DECKGLJSONCHART'].fields_by_name['use_container_width']._loaded_options = None
|
|
26
|
+
_globals['_DECKGLJSONCHART'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
|
|
27
|
+
_globals['_DECKGLJSONCHART'].fields_by_name['width']._loaded_options = None
|
|
28
|
+
_globals['_DECKGLJSONCHART'].fields_by_name['width']._serialized_options = b'\030\001'
|
|
29
|
+
_globals['_DECKGLJSONCHART'].fields_by_name['height']._loaded_options = None
|
|
30
|
+
_globals['_DECKGLJSONCHART'].fields_by_name['height']._serialized_options = b'\030\001'
|
|
25
31
|
_globals['_DECKGLJSONCHART']._serialized_start=42
|
|
26
|
-
_globals['_DECKGLJSONCHART']._serialized_end=
|
|
27
|
-
_globals['_DECKGLJSONCHART_SELECTIONMODE']._serialized_start=
|
|
28
|
-
_globals['_DECKGLJSONCHART_SELECTIONMODE']._serialized_end=
|
|
32
|
+
_globals['_DECKGLJSONCHART']._serialized_end=323
|
|
33
|
+
_globals['_DECKGLJSONCHART_SELECTIONMODE']._serialized_start=271
|
|
34
|
+
_globals['_DECKGLJSONCHART_SELECTIONMODE']._serialized_end=323
|
|
29
35
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -69,19 +69,25 @@ class DeckGlJsonChart(google.protobuf.message.Message):
|
|
|
69
69
|
"""The json of the pydeck object (https://deckgl.readthedocs.io/en/latest/deck.html)"""
|
|
70
70
|
tooltip: builtins.str
|
|
71
71
|
use_container_width: builtins.bool
|
|
72
|
-
"""If True, will overwrite the chart width spec to fit to container.
|
|
72
|
+
"""DEPRECATED: If True, will overwrite the chart width spec to fit to container.
|
|
73
|
+
Use widthConfig in layout configuration instead.
|
|
74
|
+
"""
|
|
73
75
|
id: builtins.str
|
|
74
76
|
"""ID, required for selection events."""
|
|
75
77
|
mapbox_token: builtins.str
|
|
76
78
|
"""The Mapbox token, if any."""
|
|
77
79
|
width: builtins.int
|
|
78
|
-
"""Width in pixels
|
|
80
|
+
"""DEPRECATED: Width in pixels
|
|
81
|
+
Use widthConfig in layout configuration instead.
|
|
82
|
+
"""
|
|
79
83
|
height: builtins.int
|
|
80
|
-
"""Height in pixels
|
|
84
|
+
"""DEPRECATED: Height in pixels
|
|
85
|
+
Use heightConfig in layout configuration instead.
|
|
86
|
+
"""
|
|
81
87
|
form_id: builtins.str
|
|
82
88
|
"""The form ID of the widget, this is required if the chart has selection events"""
|
|
83
89
|
@property
|
|
84
|
-
def selection_mode(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[
|
|
90
|
+
def selection_mode(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[Global___DeckGlJsonChart.SelectionMode.ValueType]:
|
|
85
91
|
"""If non-empty, treat this instance as a Widget"""
|
|
86
92
|
|
|
87
93
|
def __init__(
|
|
@@ -94,9 +100,9 @@ class DeckGlJsonChart(google.protobuf.message.Message):
|
|
|
94
100
|
mapbox_token: builtins.str = ...,
|
|
95
101
|
width: builtins.int = ...,
|
|
96
102
|
height: builtins.int = ...,
|
|
97
|
-
selection_mode: collections.abc.Iterable[
|
|
103
|
+
selection_mode: collections.abc.Iterable[Global___DeckGlJsonChart.SelectionMode.ValueType] | None = ...,
|
|
98
104
|
form_id: builtins.str = ...,
|
|
99
105
|
) -> None: ...
|
|
100
106
|
def ClearField(self, field_name: typing.Literal["form_id", b"form_id", "height", b"height", "id", b"id", "json", b"json", "mapbox_token", b"mapbox_token", "selection_mode", b"selection_mode", "tooltip", b"tooltip", "use_container_width", b"use_container_width", "width", b"width"]) -> None: ...
|
|
101
107
|
|
|
102
|
-
|
|
108
|
+
Global___DeckGlJsonChart: typing_extensions.TypeAlias = DeckGlJsonChart
|
streamlit/proto/Delta_pb2.pyi
CHANGED
|
@@ -24,8 +24,14 @@ import streamlit.proto.ArrowNamedDataSet_pb2
|
|
|
24
24
|
import streamlit.proto.Block_pb2
|
|
25
25
|
import streamlit.proto.Element_pb2
|
|
26
26
|
import streamlit.proto.NamedDataSet_pb2
|
|
27
|
+
import sys
|
|
27
28
|
import typing
|
|
28
29
|
|
|
30
|
+
if sys.version_info >= (3, 10):
|
|
31
|
+
import typing as typing_extensions
|
|
32
|
+
else:
|
|
33
|
+
import typing_extensions
|
|
34
|
+
|
|
29
35
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
30
36
|
|
|
31
37
|
@typing.final
|
|
@@ -71,4 +77,4 @@ class Delta(google.protobuf.message.Message):
|
|
|
71
77
|
def ClearField(self, field_name: typing.Literal["add_block", b"add_block", "add_rows", b"add_rows", "arrow_add_rows", b"arrow_add_rows", "fragment_id", b"fragment_id", "new_element", b"new_element", "type", b"type"]) -> None: ...
|
|
72
78
|
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["new_element", "add_block", "add_rows", "arrow_add_rows"] | None: ...
|
|
73
79
|
|
|
74
|
-
|
|
80
|
+
Global___Delta: typing_extensions.TypeAlias = Delta
|
|
@@ -22,8 +22,14 @@ import collections.abc
|
|
|
22
22
|
import google.protobuf.descriptor
|
|
23
23
|
import google.protobuf.internal.containers
|
|
24
24
|
import google.protobuf.message
|
|
25
|
+
import sys
|
|
25
26
|
import typing
|
|
26
27
|
|
|
28
|
+
if sys.version_info >= (3, 10):
|
|
29
|
+
import typing as typing_extensions
|
|
30
|
+
else:
|
|
31
|
+
import typing_extensions
|
|
32
|
+
|
|
27
33
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
28
34
|
|
|
29
35
|
@typing.final
|
|
@@ -46,7 +52,7 @@ class DocString(google.protobuf.message.Message):
|
|
|
46
52
|
value: builtins.str
|
|
47
53
|
"""A string representation of this object's value."""
|
|
48
54
|
@property
|
|
49
|
-
def members(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
55
|
+
def members(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Member]:
|
|
50
56
|
"""List of this object's methods and member variables."""
|
|
51
57
|
|
|
52
58
|
def __init__(
|
|
@@ -56,11 +62,11 @@ class DocString(google.protobuf.message.Message):
|
|
|
56
62
|
type: builtins.str = ...,
|
|
57
63
|
name: builtins.str = ...,
|
|
58
64
|
value: builtins.str = ...,
|
|
59
|
-
members: collections.abc.Iterable[
|
|
65
|
+
members: collections.abc.Iterable[Global___Member] | None = ...,
|
|
60
66
|
) -> None: ...
|
|
61
67
|
def ClearField(self, field_name: typing.Literal["doc_string", b"doc_string", "members", b"members", "name", b"name", "type", b"type", "value", b"value"]) -> None: ...
|
|
62
68
|
|
|
63
|
-
|
|
69
|
+
Global___DocString: typing_extensions.TypeAlias = DocString
|
|
64
70
|
|
|
65
71
|
@typing.final
|
|
66
72
|
class Member(google.protobuf.message.Message):
|
|
@@ -90,4 +96,4 @@ class Member(google.protobuf.message.Message):
|
|
|
90
96
|
def ClearField(self, field_name: typing.Literal["contents", b"contents", "doc_string", b"doc_string", "name", b"name", "type", b"type", "value", b"value"]) -> None: ...
|
|
91
97
|
def WhichOneof(self, oneof_group: typing.Literal["contents", b"contents"]) -> typing.Literal["value", "doc_string"] | None: ...
|
|
92
98
|
|
|
93
|
-
|
|
99
|
+
Global___Member: typing_extensions.TypeAlias = Member
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$streamlit/proto/DownloadButton.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$streamlit/proto/DownloadButton.proto\"\x8f\x02\n\x0e\x44ownloadButton\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\x0b\n\x03url\x18\x06 \x01(\t\x12\x10\n\x08\x64isabled\x18\x07 \x01(\x08\x12\x1b\n\x13use_container_width\x18\x08 \x01(\x08\x12\x0c\n\x04type\x18\t \x01(\t\x12\x0c\n\x04icon\x18\n \x01(\t\x12\x14\n\x0cignore_rerun\x18\x0b \x01(\x08\x12\x1d\n\x10\x64\x65\x66\x65rred_file_id\x18\x0c \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08shortcut\x18\r \x01(\tB\x13\n\x11_deferred_file_idB3\n\x1c\x63om.snowflake.apps.streamlitB\x13\x44ownloadButtonProtob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,5 +23,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
23
23
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
24
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\023DownloadButtonProto'
|
|
25
25
|
_globals['_DOWNLOADBUTTON']._serialized_start=41
|
|
26
|
-
_globals['_DOWNLOADBUTTON']._serialized_end=
|
|
26
|
+
_globals['_DOWNLOADBUTTON']._serialized_end=312
|
|
27
27
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -20,8 +20,14 @@ limitations under the License.
|
|
|
20
20
|
import builtins
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
|
+
import sys
|
|
23
24
|
import typing
|
|
24
25
|
|
|
26
|
+
if sys.version_info >= (3, 10):
|
|
27
|
+
import typing as typing_extensions
|
|
28
|
+
else:
|
|
29
|
+
import typing_extensions
|
|
30
|
+
|
|
25
31
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
26
32
|
|
|
27
33
|
@typing.final
|
|
@@ -39,6 +45,8 @@ class DownloadButton(google.protobuf.message.Message):
|
|
|
39
45
|
TYPE_FIELD_NUMBER: builtins.int
|
|
40
46
|
ICON_FIELD_NUMBER: builtins.int
|
|
41
47
|
IGNORE_RERUN_FIELD_NUMBER: builtins.int
|
|
48
|
+
DEFERRED_FILE_ID_FIELD_NUMBER: builtins.int
|
|
49
|
+
SHORTCUT_FIELD_NUMBER: builtins.int
|
|
42
50
|
id: builtins.str
|
|
43
51
|
label: builtins.str
|
|
44
52
|
default: builtins.bool
|
|
@@ -50,6 +58,8 @@ class DownloadButton(google.protobuf.message.Message):
|
|
|
50
58
|
type: builtins.str
|
|
51
59
|
icon: builtins.str
|
|
52
60
|
ignore_rerun: builtins.bool
|
|
61
|
+
deferred_file_id: builtins.str
|
|
62
|
+
shortcut: builtins.str
|
|
53
63
|
def __init__(
|
|
54
64
|
self,
|
|
55
65
|
*,
|
|
@@ -64,7 +74,11 @@ class DownloadButton(google.protobuf.message.Message):
|
|
|
64
74
|
type: builtins.str = ...,
|
|
65
75
|
icon: builtins.str = ...,
|
|
66
76
|
ignore_rerun: builtins.bool = ...,
|
|
77
|
+
deferred_file_id: builtins.str | None = ...,
|
|
78
|
+
shortcut: builtins.str = ...,
|
|
67
79
|
) -> None: ...
|
|
68
|
-
def
|
|
80
|
+
def HasField(self, field_name: typing.Literal["_deferred_file_id", b"_deferred_file_id", "deferred_file_id", b"deferred_file_id"]) -> builtins.bool: ...
|
|
81
|
+
def ClearField(self, field_name: typing.Literal["_deferred_file_id", b"_deferred_file_id", "default", b"default", "deferred_file_id", b"deferred_file_id", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "id", b"id", "ignore_rerun", b"ignore_rerun", "label", b"label", "shortcut", b"shortcut", "type", b"type", "url", b"url", "use_container_width", b"use_container_width"]) -> None: ...
|
|
82
|
+
def WhichOneof(self, oneof_group: typing.Literal["_deferred_file_id", b"_deferred_file_id"]) -> typing.Literal["deferred_file_id"] | None: ...
|
|
69
83
|
|
|
70
|
-
|
|
84
|
+
Global___DownloadButton: typing_extensions.TypeAlias = DownloadButton
|
streamlit/proto/Element_pb2.py
CHANGED
|
@@ -29,6 +29,7 @@ from streamlit.proto import Code_pb2 as streamlit_dot_proto_dot_Code__pb2
|
|
|
29
29
|
from streamlit.proto import ColorPicker_pb2 as streamlit_dot_proto_dot_ColorPicker__pb2
|
|
30
30
|
from streamlit.proto import DataFrame_pb2 as streamlit_dot_proto_dot_DataFrame__pb2
|
|
31
31
|
from streamlit.proto import DateInput_pb2 as streamlit_dot_proto_dot_DateInput__pb2
|
|
32
|
+
from streamlit.proto import DateTimeInput_pb2 as streamlit_dot_proto_dot_DateTimeInput__pb2
|
|
32
33
|
from streamlit.proto import DeckGlJsonChart_pb2 as streamlit_dot_proto_dot_DeckGlJsonChart__pb2
|
|
33
34
|
from streamlit.proto import DocString_pb2 as streamlit_dot_proto_dot_DocString__pb2
|
|
34
35
|
from streamlit.proto import Empty_pb2 as streamlit_dot_proto_dot_Empty__pb2
|
|
@@ -55,6 +56,7 @@ from streamlit.proto import Radio_pb2 as streamlit_dot_proto_dot_Radio__pb2
|
|
|
55
56
|
from streamlit.proto import Selectbox_pb2 as streamlit_dot_proto_dot_Selectbox__pb2
|
|
56
57
|
from streamlit.proto import Skeleton_pb2 as streamlit_dot_proto_dot_Skeleton__pb2
|
|
57
58
|
from streamlit.proto import Slider_pb2 as streamlit_dot_proto_dot_Slider__pb2
|
|
59
|
+
from streamlit.proto import Space_pb2 as streamlit_dot_proto_dot_Space__pb2
|
|
58
60
|
from streamlit.proto import Text_pb2 as streamlit_dot_proto_dot_Text__pb2
|
|
59
61
|
from streamlit.proto import TextArea_pb2 as streamlit_dot_proto_dot_TextArea__pb2
|
|
60
62
|
from streamlit.proto import TextInput_pb2 as streamlit_dot_proto_dot_TextInput__pb2
|
|
@@ -63,11 +65,13 @@ from streamlit.proto import Toast_pb2 as streamlit_dot_proto_dot_Toast__pb2
|
|
|
63
65
|
from streamlit.proto import VegaLiteChart_pb2 as streamlit_dot_proto_dot_VegaLiteChart__pb2
|
|
64
66
|
from streamlit.proto import Video_pb2 as streamlit_dot_proto_dot_Video__pb2
|
|
65
67
|
from streamlit.proto import Heading_pb2 as streamlit_dot_proto_dot_Heading__pb2
|
|
68
|
+
from streamlit.proto import BidiComponent_pb2 as streamlit_dot_proto_dot_BidiComponent__pb2
|
|
66
69
|
from streamlit.proto import HeightConfig_pb2 as streamlit_dot_proto_dot_HeightConfig__pb2
|
|
67
70
|
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
|
71
|
+
from streamlit.proto import TextAlignmentConfig_pb2 as streamlit_dot_proto_dot_TextAlignmentConfig__pb2
|
|
68
72
|
|
|
69
73
|
|
|
70
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/Element.proto\x1a\x1bstreamlit/proto/Alert.proto\x1a\x1bstreamlit/proto/Arrow.proto\x1a\x1bstreamlit/proto/Audio.proto\x1a streamlit/proto/AudioInput.proto\x1a\x1estreamlit/proto/Balloons.proto\x1a(streamlit/proto/ArrowVegaLiteChart.proto\x1a streamlit/proto/BokehChart.proto\x1a\x1cstreamlit/proto/Button.proto\x1a!streamlit/proto/ButtonGroup.proto\x1a$streamlit/proto/DownloadButton.proto\x1a!streamlit/proto/CameraInput.proto\x1a\x1fstreamlit/proto/ChatInput.proto\x1a\x1estreamlit/proto/Checkbox.proto\x1a\x1astreamlit/proto/Code.proto\x1a!streamlit/proto/ColorPicker.proto\x1a\x1fstreamlit/proto/DataFrame.proto\x1a\x1fstreamlit/proto/DateInput.proto\x1a%streamlit/proto/DeckGlJsonChart.proto\x1a\x1fstreamlit/proto/DocString.proto\x1a\x1bstreamlit/proto/Empty.proto\x1a\x1fstreamlit/proto/Exception.proto\x1a\x1dstreamlit/proto/Favicon.proto\x1a\"streamlit/proto/FileUploader.proto\x1a#streamlit/proto/GraphVizChart.proto\x1a\x1astreamlit/proto/Html.proto\x1a\x1cstreamlit/proto/IFrame.proto\x1a\x1bstreamlit/proto/Image.proto\x1a\x1astreamlit/proto/Json.proto\x1a streamlit/proto/LinkButton.proto\x1a!streamlit/proto/NumberInput.proto\x1a\x1estreamlit/proto/Markdown.proto\x1a\x1cstreamlit/proto/Metric.proto\x1a!streamlit/proto/MultiSelect.proto\x1a\x1estreamlit/proto/PageLink.proto\x1a!streamlit/proto/PlotlyChart.proto\x1a streamlit/proto/Components.proto\x1a\x1estreamlit/proto/Progress.proto\x1a\x1astreamlit/proto/Snow.proto\x1a\x1dstreamlit/proto/Spinner.proto\x1a\x1bstreamlit/proto/Radio.proto\x1a\x1fstreamlit/proto/Selectbox.proto\x1a\x1estreamlit/proto/Skeleton.proto\x1a\x1cstreamlit/proto/Slider.proto\x1a\x1astreamlit/proto/Text.proto\x1a\x1estreamlit/proto/TextArea.proto\x1a\x1fstreamlit/proto/TextInput.proto\x1a\x1fstreamlit/proto/TimeInput.proto\x1a\x1bstreamlit/proto/Toast.proto\x1a#streamlit/proto/VegaLiteChart.proto\x1a\x1bstreamlit/proto/Video.proto\x1a\x1dstreamlit/proto/Heading.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a!streamlit/proto/WidthConfig.proto\"\
|
|
74
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/Element.proto\x1a\x1bstreamlit/proto/Alert.proto\x1a\x1bstreamlit/proto/Arrow.proto\x1a\x1bstreamlit/proto/Audio.proto\x1a streamlit/proto/AudioInput.proto\x1a\x1estreamlit/proto/Balloons.proto\x1a(streamlit/proto/ArrowVegaLiteChart.proto\x1a streamlit/proto/BokehChart.proto\x1a\x1cstreamlit/proto/Button.proto\x1a!streamlit/proto/ButtonGroup.proto\x1a$streamlit/proto/DownloadButton.proto\x1a!streamlit/proto/CameraInput.proto\x1a\x1fstreamlit/proto/ChatInput.proto\x1a\x1estreamlit/proto/Checkbox.proto\x1a\x1astreamlit/proto/Code.proto\x1a!streamlit/proto/ColorPicker.proto\x1a\x1fstreamlit/proto/DataFrame.proto\x1a\x1fstreamlit/proto/DateInput.proto\x1a#streamlit/proto/DateTimeInput.proto\x1a%streamlit/proto/DeckGlJsonChart.proto\x1a\x1fstreamlit/proto/DocString.proto\x1a\x1bstreamlit/proto/Empty.proto\x1a\x1fstreamlit/proto/Exception.proto\x1a\x1dstreamlit/proto/Favicon.proto\x1a\"streamlit/proto/FileUploader.proto\x1a#streamlit/proto/GraphVizChart.proto\x1a\x1astreamlit/proto/Html.proto\x1a\x1cstreamlit/proto/IFrame.proto\x1a\x1bstreamlit/proto/Image.proto\x1a\x1astreamlit/proto/Json.proto\x1a streamlit/proto/LinkButton.proto\x1a!streamlit/proto/NumberInput.proto\x1a\x1estreamlit/proto/Markdown.proto\x1a\x1cstreamlit/proto/Metric.proto\x1a!streamlit/proto/MultiSelect.proto\x1a\x1estreamlit/proto/PageLink.proto\x1a!streamlit/proto/PlotlyChart.proto\x1a streamlit/proto/Components.proto\x1a\x1estreamlit/proto/Progress.proto\x1a\x1astreamlit/proto/Snow.proto\x1a\x1dstreamlit/proto/Spinner.proto\x1a\x1bstreamlit/proto/Radio.proto\x1a\x1fstreamlit/proto/Selectbox.proto\x1a\x1estreamlit/proto/Skeleton.proto\x1a\x1cstreamlit/proto/Slider.proto\x1a\x1bstreamlit/proto/Space.proto\x1a\x1astreamlit/proto/Text.proto\x1a\x1estreamlit/proto/TextArea.proto\x1a\x1fstreamlit/proto/TextInput.proto\x1a\x1fstreamlit/proto/TimeInput.proto\x1a\x1bstreamlit/proto/Toast.proto\x1a#streamlit/proto/VegaLiteChart.proto\x1a\x1bstreamlit/proto/Video.proto\x1a\x1dstreamlit/proto/Heading.proto\x1a#streamlit/proto/BidiComponent.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a!streamlit/proto/WidthConfig.proto\x1a)streamlit/proto/TextAlignmentConfig.proto\"\xaf\x10\n\x07\x45lement\x12\x33\n\rheight_config\x18\x39 \x01(\x0b\x32\x17.streamlit.HeightConfigH\x01\x88\x01\x01\x12\x31\n\x0cwidth_config\x18: \x01(\x0b\x32\x16.streamlit.WidthConfigH\x02\x88\x01\x01\x12\x42\n\x15text_alignment_config\x18= \x01(\x0b\x32\x1e.streamlit.TextAlignmentConfigH\x03\x88\x01\x01\x12\x17\n\x05\x61lert\x18\x1e \x01(\x0b\x32\x06.AlertH\x00\x12\"\n\x10\x61rrow_data_frame\x18( \x01(\x0b\x32\x06.ArrowH\x00\x12\x1d\n\x0b\x61rrow_table\x18\' \x01(\x0b\x32\x06.ArrowH\x00\x12\x34\n\x15\x61rrow_vega_lite_chart\x18) \x01(\x0b\x32\x13.ArrowVegaLiteChartH\x00\x12\x17\n\x05\x61udio\x18\r \x01(\x0b\x32\x06.AudioH\x00\x12\"\n\x0b\x61udio_input\x18\x38 \x01(\x0b\x32\x0b.AudioInputH\x00\x12\x1d\n\x08\x62\x61lloons\x18\x0c \x01(\x0b\x32\t.BalloonsH\x00\x12(\n\x0e\x62idi_component\x18; \x01(\x0b\x32\x0e.BidiComponentH\x00\x12\"\n\x0b\x62okeh_chart\x18\x11 \x01(\x0b\x32\x0b.BokehChartH\x00\x12\x19\n\x06\x62utton\x18\x13 \x01(\x0b\x32\x07.ButtonH\x00\x12$\n\x0c\x62utton_group\x18\x37 \x01(\x0b\x32\x0c.ButtonGroupH\x00\x12*\n\x0f\x64ownload_button\x18+ \x01(\x0b\x32\x0f.DownloadButtonH\x00\x12$\n\x0c\x63\x61mera_input\x18- \x01(\x0b\x32\x0c.CameraInputH\x00\x12 \n\nchat_input\x18\x31 \x01(\x0b\x32\n.ChatInputH\x00\x12\x1d\n\x08\x63heckbox\x18\x14 \x01(\x0b\x32\t.CheckboxH\x00\x12$\n\x0c\x63olor_picker\x18# \x01(\x0b\x32\x0c.ColorPickerH\x00\x12\x30\n\x12\x63omponent_instance\x18% \x01(\x0b\x32\x12.ComponentInstanceH\x00\x12 \n\ndata_frame\x18\x03 \x01(\x0b\x32\n.DataFrameH\x00\x12\x1b\n\x05table\x18\x0b \x01(\x0b\x32\n.DataFrameH\x00\x12 \n\ndate_input\x18\x1b \x01(\x0b\x32\n.DateInputH\x00\x12.\n\x12\x64\x65\x63k_gl_json_chart\x18\" \x01(\x0b\x32\x10.DeckGlJsonChartH\x00\x12 \n\ndoc_string\x18\x07 \x01(\x0b\x32\n.DocStringH\x00\x12\x17\n\x05\x65mpty\x18\x02 \x01(\x0b\x32\x06.EmptyH\x00\x12\x1f\n\texception\x18\x08 \x01(\x0b\x32\n.ExceptionH\x00\x12\x1b\n\x07\x66\x61vicon\x18$ \x01(\x0b\x32\x08.FaviconH\x00\x12&\n\rfile_uploader\x18! \x01(\x0b\x32\r.FileUploaderH\x00\x12(\n\x0egraphviz_chart\x18\x12 \x01(\x0b\x32\x0e.GraphVizChartH\x00\x12\x15\n\x04html\x18\x36 \x01(\x0b\x32\x05.HtmlH\x00\x12\x19\n\x06iframe\x18& \x01(\x0b\x32\x07.IFrameH\x00\x12\x1a\n\x04imgs\x18\x06 \x01(\x0b\x32\n.ImageListH\x00\x12\x15\n\x04json\x18\x1f \x01(\x0b\x32\x05.JsonH\x00\x12\"\n\x0blink_button\x18\x33 \x01(\x0b\x32\x0b.LinkButtonH\x00\x12\x1d\n\x08markdown\x18\x1d \x01(\x0b\x32\t.MarkdownH\x00\x12\x19\n\x06metric\x18* \x01(\x0b\x32\x07.MetricH\x00\x12#\n\x0bmultiselect\x18\x1c \x01(\x0b\x32\x0c.MultiSelectH\x00\x12$\n\x0cnumber_input\x18 \x01(\x0b\x32\x0c.NumberInputH\x00\x12\x1e\n\tpage_link\x18\x35 \x01(\x0b\x32\t.PageLinkH\x00\x12$\n\x0cplotly_chart\x18\x10 \x01(\x0b\x32\x0c.PlotlyChartH\x00\x12\x1d\n\x08progress\x18\x05 \x01(\x0b\x32\t.ProgressH\x00\x12\x17\n\x05radio\x18\x17 \x01(\x0b\x32\x06.RadioH\x00\x12\x1f\n\tselectbox\x18\x19 \x01(\x0b\x32\n.SelectboxH\x00\x12\x1d\n\x08skeleton\x18\x34 \x01(\x0b\x32\t.SkeletonH\x00\x12\x19\n\x06slider\x18\x15 \x01(\x0b\x32\x07.SliderH\x00\x12\x15\n\x04snow\x18. \x01(\x0b\x32\x05.SnowH\x00\x12\x17\n\x05space\x18< \x01(\x0b\x32\x06.SpaceH\x00\x12\x1b\n\x07spinner\x18, \x01(\x0b\x32\x08.SpinnerH\x00\x12\x15\n\x04text\x18\x01 \x01(\x0b\x32\x05.TextH\x00\x12\x1e\n\ttext_area\x18\x16 \x01(\x0b\x32\t.TextAreaH\x00\x12 \n\ntext_input\x18\x18 \x01(\x0b\x32\n.TextInputH\x00\x12 \n\ntime_input\x18\x1a \x01(\x0b\x32\n.TimeInputH\x00\x12)\n\x0f\x64\x61te_time_input\x18> \x01(\x0b\x32\x0e.DateTimeInputH\x00\x12\x17\n\x05toast\x18\x32 \x01(\x0b\x32\x06.ToastH\x00\x12)\n\x0fvega_lite_chart\x18\n \x01(\x0b\x32\x0e.VegaLiteChartH\x00\x12\x17\n\x05video\x18\x0e \x01(\x0b\x32\x06.VideoH\x00\x12\x1b\n\x07heading\x18/ \x01(\x0b\x32\x08.HeadingH\x00\x12\x15\n\x04\x63ode\x18\x30 \x01(\x0b\x32\x05.CodeH\x00\x42\x06\n\x04typeB\x10\n\x0e_height_configB\x0f\n\r_width_configB\x18\n\x16_text_alignment_configJ\x04\x08\t\x10\nB,\n\x1c\x63om.snowflake.apps.streamlitB\x0c\x45lementProtob\x06proto3')
|
|
71
75
|
|
|
72
76
|
_globals = globals()
|
|
73
77
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -75,6 +79,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Element_pb2
|
|
|
75
79
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
76
80
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
77
81
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\014ElementProto'
|
|
78
|
-
_globals['_ELEMENT']._serialized_start=
|
|
79
|
-
_globals['_ELEMENT']._serialized_end=
|
|
82
|
+
_globals['_ELEMENT']._serialized_start=1899
|
|
83
|
+
_globals['_ELEMENT']._serialized_end=3994
|
|
80
84
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Element_pb2.pyi
CHANGED
|
@@ -26,6 +26,7 @@ import streamlit.proto.Arrow_pb2
|
|
|
26
26
|
import streamlit.proto.AudioInput_pb2
|
|
27
27
|
import streamlit.proto.Audio_pb2
|
|
28
28
|
import streamlit.proto.Balloons_pb2
|
|
29
|
+
import streamlit.proto.BidiComponent_pb2
|
|
29
30
|
import streamlit.proto.BokehChart_pb2
|
|
30
31
|
import streamlit.proto.ButtonGroup_pb2
|
|
31
32
|
import streamlit.proto.Button_pb2
|
|
@@ -37,6 +38,7 @@ import streamlit.proto.ColorPicker_pb2
|
|
|
37
38
|
import streamlit.proto.Components_pb2
|
|
38
39
|
import streamlit.proto.DataFrame_pb2
|
|
39
40
|
import streamlit.proto.DateInput_pb2
|
|
41
|
+
import streamlit.proto.DateTimeInput_pb2
|
|
40
42
|
import streamlit.proto.DeckGlJsonChart_pb2
|
|
41
43
|
import streamlit.proto.DocString_pb2
|
|
42
44
|
import streamlit.proto.DownloadButton_pb2
|
|
@@ -64,7 +66,9 @@ import streamlit.proto.Selectbox_pb2
|
|
|
64
66
|
import streamlit.proto.Skeleton_pb2
|
|
65
67
|
import streamlit.proto.Slider_pb2
|
|
66
68
|
import streamlit.proto.Snow_pb2
|
|
69
|
+
import streamlit.proto.Space_pb2
|
|
67
70
|
import streamlit.proto.Spinner_pb2
|
|
71
|
+
import streamlit.proto.TextAlignmentConfig_pb2
|
|
68
72
|
import streamlit.proto.TextArea_pb2
|
|
69
73
|
import streamlit.proto.TextInput_pb2
|
|
70
74
|
import streamlit.proto.Text_pb2
|
|
@@ -73,8 +77,14 @@ import streamlit.proto.Toast_pb2
|
|
|
73
77
|
import streamlit.proto.VegaLiteChart_pb2
|
|
74
78
|
import streamlit.proto.Video_pb2
|
|
75
79
|
import streamlit.proto.WidthConfig_pb2
|
|
80
|
+
import sys
|
|
76
81
|
import typing
|
|
77
82
|
|
|
83
|
+
if sys.version_info >= (3, 10):
|
|
84
|
+
import typing as typing_extensions
|
|
85
|
+
else:
|
|
86
|
+
import typing_extensions
|
|
87
|
+
|
|
78
88
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
79
89
|
|
|
80
90
|
@typing.final
|
|
@@ -85,6 +95,7 @@ class Element(google.protobuf.message.Message):
|
|
|
85
95
|
|
|
86
96
|
HEIGHT_CONFIG_FIELD_NUMBER: builtins.int
|
|
87
97
|
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
|
98
|
+
TEXT_ALIGNMENT_CONFIG_FIELD_NUMBER: builtins.int
|
|
88
99
|
ALERT_FIELD_NUMBER: builtins.int
|
|
89
100
|
ARROW_DATA_FRAME_FIELD_NUMBER: builtins.int
|
|
90
101
|
ARROW_TABLE_FIELD_NUMBER: builtins.int
|
|
@@ -92,6 +103,7 @@ class Element(google.protobuf.message.Message):
|
|
|
92
103
|
AUDIO_FIELD_NUMBER: builtins.int
|
|
93
104
|
AUDIO_INPUT_FIELD_NUMBER: builtins.int
|
|
94
105
|
BALLOONS_FIELD_NUMBER: builtins.int
|
|
106
|
+
BIDI_COMPONENT_FIELD_NUMBER: builtins.int
|
|
95
107
|
BOKEH_CHART_FIELD_NUMBER: builtins.int
|
|
96
108
|
BUTTON_FIELD_NUMBER: builtins.int
|
|
97
109
|
BUTTON_GROUP_FIELD_NUMBER: builtins.int
|
|
@@ -128,11 +140,13 @@ class Element(google.protobuf.message.Message):
|
|
|
128
140
|
SKELETON_FIELD_NUMBER: builtins.int
|
|
129
141
|
SLIDER_FIELD_NUMBER: builtins.int
|
|
130
142
|
SNOW_FIELD_NUMBER: builtins.int
|
|
143
|
+
SPACE_FIELD_NUMBER: builtins.int
|
|
131
144
|
SPINNER_FIELD_NUMBER: builtins.int
|
|
132
145
|
TEXT_FIELD_NUMBER: builtins.int
|
|
133
146
|
TEXT_AREA_FIELD_NUMBER: builtins.int
|
|
134
147
|
TEXT_INPUT_FIELD_NUMBER: builtins.int
|
|
135
148
|
TIME_INPUT_FIELD_NUMBER: builtins.int
|
|
149
|
+
DATE_TIME_INPUT_FIELD_NUMBER: builtins.int
|
|
136
150
|
TOAST_FIELD_NUMBER: builtins.int
|
|
137
151
|
VEGA_LITE_CHART_FIELD_NUMBER: builtins.int
|
|
138
152
|
VIDEO_FIELD_NUMBER: builtins.int
|
|
@@ -145,6 +159,8 @@ class Element(google.protobuf.message.Message):
|
|
|
145
159
|
@property
|
|
146
160
|
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
|
|
147
161
|
@property
|
|
162
|
+
def text_alignment_config(self) -> streamlit.proto.TextAlignmentConfig_pb2.TextAlignmentConfig: ...
|
|
163
|
+
@property
|
|
148
164
|
def alert(self) -> streamlit.proto.Alert_pb2.Alert: ...
|
|
149
165
|
@property
|
|
150
166
|
def arrow_data_frame(self) -> streamlit.proto.Arrow_pb2.Arrow: ...
|
|
@@ -159,6 +175,8 @@ class Element(google.protobuf.message.Message):
|
|
|
159
175
|
@property
|
|
160
176
|
def balloons(self) -> streamlit.proto.Balloons_pb2.Balloons: ...
|
|
161
177
|
@property
|
|
178
|
+
def bidi_component(self) -> streamlit.proto.BidiComponent_pb2.BidiComponent: ...
|
|
179
|
+
@property
|
|
162
180
|
def bokeh_chart(self) -> streamlit.proto.BokehChart_pb2.BokehChart: ...
|
|
163
181
|
@property
|
|
164
182
|
def button(self) -> streamlit.proto.Button_pb2.Button: ...
|
|
@@ -235,6 +253,8 @@ class Element(google.protobuf.message.Message):
|
|
|
235
253
|
@property
|
|
236
254
|
def snow(self) -> streamlit.proto.Snow_pb2.Snow: ...
|
|
237
255
|
@property
|
|
256
|
+
def space(self) -> streamlit.proto.Space_pb2.Space: ...
|
|
257
|
+
@property
|
|
238
258
|
def spinner(self) -> streamlit.proto.Spinner_pb2.Spinner: ...
|
|
239
259
|
@property
|
|
240
260
|
def text(self) -> streamlit.proto.Text_pb2.Text: ...
|
|
@@ -245,6 +265,8 @@ class Element(google.protobuf.message.Message):
|
|
|
245
265
|
@property
|
|
246
266
|
def time_input(self) -> streamlit.proto.TimeInput_pb2.TimeInput: ...
|
|
247
267
|
@property
|
|
268
|
+
def date_time_input(self) -> streamlit.proto.DateTimeInput_pb2.DateTimeInput: ...
|
|
269
|
+
@property
|
|
248
270
|
def toast(self) -> streamlit.proto.Toast_pb2.Toast: ...
|
|
249
271
|
@property
|
|
250
272
|
def vega_lite_chart(self) -> streamlit.proto.VegaLiteChart_pb2.VegaLiteChart:
|
|
@@ -256,13 +278,14 @@ class Element(google.protobuf.message.Message):
|
|
|
256
278
|
def heading(self) -> streamlit.proto.Heading_pb2.Heading: ...
|
|
257
279
|
@property
|
|
258
280
|
def code(self) -> streamlit.proto.Code_pb2.Code:
|
|
259
|
-
"""Next ID:
|
|
281
|
+
"""Next ID: 63"""
|
|
260
282
|
|
|
261
283
|
def __init__(
|
|
262
284
|
self,
|
|
263
285
|
*,
|
|
264
286
|
height_config: streamlit.proto.HeightConfig_pb2.HeightConfig | None = ...,
|
|
265
287
|
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
|
288
|
+
text_alignment_config: streamlit.proto.TextAlignmentConfig_pb2.TextAlignmentConfig | None = ...,
|
|
266
289
|
alert: streamlit.proto.Alert_pb2.Alert | None = ...,
|
|
267
290
|
arrow_data_frame: streamlit.proto.Arrow_pb2.Arrow | None = ...,
|
|
268
291
|
arrow_table: streamlit.proto.Arrow_pb2.Arrow | None = ...,
|
|
@@ -270,6 +293,7 @@ class Element(google.protobuf.message.Message):
|
|
|
270
293
|
audio: streamlit.proto.Audio_pb2.Audio | None = ...,
|
|
271
294
|
audio_input: streamlit.proto.AudioInput_pb2.AudioInput | None = ...,
|
|
272
295
|
balloons: streamlit.proto.Balloons_pb2.Balloons | None = ...,
|
|
296
|
+
bidi_component: streamlit.proto.BidiComponent_pb2.BidiComponent | None = ...,
|
|
273
297
|
bokeh_chart: streamlit.proto.BokehChart_pb2.BokehChart | None = ...,
|
|
274
298
|
button: streamlit.proto.Button_pb2.Button | None = ...,
|
|
275
299
|
button_group: streamlit.proto.ButtonGroup_pb2.ButtonGroup | None = ...,
|
|
@@ -306,24 +330,28 @@ class Element(google.protobuf.message.Message):
|
|
|
306
330
|
skeleton: streamlit.proto.Skeleton_pb2.Skeleton | None = ...,
|
|
307
331
|
slider: streamlit.proto.Slider_pb2.Slider | None = ...,
|
|
308
332
|
snow: streamlit.proto.Snow_pb2.Snow | None = ...,
|
|
333
|
+
space: streamlit.proto.Space_pb2.Space | None = ...,
|
|
309
334
|
spinner: streamlit.proto.Spinner_pb2.Spinner | None = ...,
|
|
310
335
|
text: streamlit.proto.Text_pb2.Text | None = ...,
|
|
311
336
|
text_area: streamlit.proto.TextArea_pb2.TextArea | None = ...,
|
|
312
337
|
text_input: streamlit.proto.TextInput_pb2.TextInput | None = ...,
|
|
313
338
|
time_input: streamlit.proto.TimeInput_pb2.TimeInput | None = ...,
|
|
339
|
+
date_time_input: streamlit.proto.DateTimeInput_pb2.DateTimeInput | None = ...,
|
|
314
340
|
toast: streamlit.proto.Toast_pb2.Toast | None = ...,
|
|
315
341
|
vega_lite_chart: streamlit.proto.VegaLiteChart_pb2.VegaLiteChart | None = ...,
|
|
316
342
|
video: streamlit.proto.Video_pb2.Video | None = ...,
|
|
317
343
|
heading: streamlit.proto.Heading_pb2.Heading | None = ...,
|
|
318
344
|
code: streamlit.proto.Code_pb2.Code | None = ...,
|
|
319
345
|
) -> None: ...
|
|
320
|
-
def HasField(self, field_name: typing.Literal["_height_config", b"_height_config", "_width_config", b"_width_config", "alert", b"alert", "arrow_data_frame", b"arrow_data_frame", "arrow_table", b"arrow_table", "arrow_vega_lite_chart", b"arrow_vega_lite_chart", "audio", b"audio", "audio_input", b"audio_input", "balloons", b"balloons", "bokeh_chart", b"bokeh_chart", "button", b"button", "button_group", b"button_group", "camera_input", b"camera_input", "chat_input", b"chat_input", "checkbox", b"checkbox", "code", b"code", "color_picker", b"color_picker", "component_instance", b"component_instance", "data_frame", b"data_frame", "date_input", b"date_input", "deck_gl_json_chart", b"deck_gl_json_chart", "doc_string", b"doc_string", "download_button", b"download_button", "empty", b"empty", "exception", b"exception", "favicon", b"favicon", "file_uploader", b"file_uploader", "graphviz_chart", b"graphviz_chart", "heading", b"heading", "height_config", b"height_config", "html", b"html", "iframe", b"iframe", "imgs", b"imgs", "json", b"json", "link_button", b"link_button", "markdown", b"markdown", "metric", b"metric", "multiselect", b"multiselect", "number_input", b"number_input", "page_link", b"page_link", "plotly_chart", b"plotly_chart", "progress", b"progress", "radio", b"radio", "selectbox", b"selectbox", "skeleton", b"skeleton", "slider", b"slider", "snow", b"snow", "spinner", b"spinner", "table", b"table", "text", b"text", "text_area", b"text_area", "text_input", b"text_input", "time_input", b"time_input", "toast", b"toast", "type", b"type", "vega_lite_chart", b"vega_lite_chart", "video", b"video", "width_config", b"width_config"]) -> builtins.bool: ...
|
|
321
|
-
def ClearField(self, field_name: typing.Literal["_height_config", b"_height_config", "_width_config", b"_width_config", "alert", b"alert", "arrow_data_frame", b"arrow_data_frame", "arrow_table", b"arrow_table", "arrow_vega_lite_chart", b"arrow_vega_lite_chart", "audio", b"audio", "audio_input", b"audio_input", "balloons", b"balloons", "bokeh_chart", b"bokeh_chart", "button", b"button", "button_group", b"button_group", "camera_input", b"camera_input", "chat_input", b"chat_input", "checkbox", b"checkbox", "code", b"code", "color_picker", b"color_picker", "component_instance", b"component_instance", "data_frame", b"data_frame", "date_input", b"date_input", "deck_gl_json_chart", b"deck_gl_json_chart", "doc_string", b"doc_string", "download_button", b"download_button", "empty", b"empty", "exception", b"exception", "favicon", b"favicon", "file_uploader", b"file_uploader", "graphviz_chart", b"graphviz_chart", "heading", b"heading", "height_config", b"height_config", "html", b"html", "iframe", b"iframe", "imgs", b"imgs", "json", b"json", "link_button", b"link_button", "markdown", b"markdown", "metric", b"metric", "multiselect", b"multiselect", "number_input", b"number_input", "page_link", b"page_link", "plotly_chart", b"plotly_chart", "progress", b"progress", "radio", b"radio", "selectbox", b"selectbox", "skeleton", b"skeleton", "slider", b"slider", "snow", b"snow", "spinner", b"spinner", "table", b"table", "text", b"text", "text_area", b"text_area", "text_input", b"text_input", "time_input", b"time_input", "toast", b"toast", "type", b"type", "vega_lite_chart", b"vega_lite_chart", "video", b"video", "width_config", b"width_config"]) -> None: ...
|
|
346
|
+
def HasField(self, field_name: typing.Literal["_height_config", b"_height_config", "_text_alignment_config", b"_text_alignment_config", "_width_config", b"_width_config", "alert", b"alert", "arrow_data_frame", b"arrow_data_frame", "arrow_table", b"arrow_table", "arrow_vega_lite_chart", b"arrow_vega_lite_chart", "audio", b"audio", "audio_input", b"audio_input", "balloons", b"balloons", "bidi_component", b"bidi_component", "bokeh_chart", b"bokeh_chart", "button", b"button", "button_group", b"button_group", "camera_input", b"camera_input", "chat_input", b"chat_input", "checkbox", b"checkbox", "code", b"code", "color_picker", b"color_picker", "component_instance", b"component_instance", "data_frame", b"data_frame", "date_input", b"date_input", "date_time_input", b"date_time_input", "deck_gl_json_chart", b"deck_gl_json_chart", "doc_string", b"doc_string", "download_button", b"download_button", "empty", b"empty", "exception", b"exception", "favicon", b"favicon", "file_uploader", b"file_uploader", "graphviz_chart", b"graphviz_chart", "heading", b"heading", "height_config", b"height_config", "html", b"html", "iframe", b"iframe", "imgs", b"imgs", "json", b"json", "link_button", b"link_button", "markdown", b"markdown", "metric", b"metric", "multiselect", b"multiselect", "number_input", b"number_input", "page_link", b"page_link", "plotly_chart", b"plotly_chart", "progress", b"progress", "radio", b"radio", "selectbox", b"selectbox", "skeleton", b"skeleton", "slider", b"slider", "snow", b"snow", "space", b"space", "spinner", b"spinner", "table", b"table", "text", b"text", "text_alignment_config", b"text_alignment_config", "text_area", b"text_area", "text_input", b"text_input", "time_input", b"time_input", "toast", b"toast", "type", b"type", "vega_lite_chart", b"vega_lite_chart", "video", b"video", "width_config", b"width_config"]) -> builtins.bool: ...
|
|
347
|
+
def ClearField(self, field_name: typing.Literal["_height_config", b"_height_config", "_text_alignment_config", b"_text_alignment_config", "_width_config", b"_width_config", "alert", b"alert", "arrow_data_frame", b"arrow_data_frame", "arrow_table", b"arrow_table", "arrow_vega_lite_chart", b"arrow_vega_lite_chart", "audio", b"audio", "audio_input", b"audio_input", "balloons", b"balloons", "bidi_component", b"bidi_component", "bokeh_chart", b"bokeh_chart", "button", b"button", "button_group", b"button_group", "camera_input", b"camera_input", "chat_input", b"chat_input", "checkbox", b"checkbox", "code", b"code", "color_picker", b"color_picker", "component_instance", b"component_instance", "data_frame", b"data_frame", "date_input", b"date_input", "date_time_input", b"date_time_input", "deck_gl_json_chart", b"deck_gl_json_chart", "doc_string", b"doc_string", "download_button", b"download_button", "empty", b"empty", "exception", b"exception", "favicon", b"favicon", "file_uploader", b"file_uploader", "graphviz_chart", b"graphviz_chart", "heading", b"heading", "height_config", b"height_config", "html", b"html", "iframe", b"iframe", "imgs", b"imgs", "json", b"json", "link_button", b"link_button", "markdown", b"markdown", "metric", b"metric", "multiselect", b"multiselect", "number_input", b"number_input", "page_link", b"page_link", "plotly_chart", b"plotly_chart", "progress", b"progress", "radio", b"radio", "selectbox", b"selectbox", "skeleton", b"skeleton", "slider", b"slider", "snow", b"snow", "space", b"space", "spinner", b"spinner", "table", b"table", "text", b"text", "text_alignment_config", b"text_alignment_config", "text_area", b"text_area", "text_input", b"text_input", "time_input", b"time_input", "toast", b"toast", "type", b"type", "vega_lite_chart", b"vega_lite_chart", "video", b"video", "width_config", b"width_config"]) -> None: ...
|
|
322
348
|
@typing.overload
|
|
323
349
|
def WhichOneof(self, oneof_group: typing.Literal["_height_config", b"_height_config"]) -> typing.Literal["height_config"] | None: ...
|
|
324
350
|
@typing.overload
|
|
351
|
+
def WhichOneof(self, oneof_group: typing.Literal["_text_alignment_config", b"_text_alignment_config"]) -> typing.Literal["text_alignment_config"] | None: ...
|
|
352
|
+
@typing.overload
|
|
325
353
|
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
|
326
354
|
@typing.overload
|
|
327
|
-
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["alert", "arrow_data_frame", "arrow_table", "arrow_vega_lite_chart", "audio", "audio_input", "balloons", "bokeh_chart", "button", "button_group", "download_button", "camera_input", "chat_input", "checkbox", "color_picker", "component_instance", "data_frame", "table", "date_input", "deck_gl_json_chart", "doc_string", "empty", "exception", "favicon", "file_uploader", "graphviz_chart", "html", "iframe", "imgs", "json", "link_button", "markdown", "metric", "multiselect", "number_input", "page_link", "plotly_chart", "progress", "radio", "selectbox", "skeleton", "slider", "snow", "spinner", "text", "text_area", "text_input", "time_input", "toast", "vega_lite_chart", "video", "heading", "code"] | None: ...
|
|
355
|
+
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["alert", "arrow_data_frame", "arrow_table", "arrow_vega_lite_chart", "audio", "audio_input", "balloons", "bidi_component", "bokeh_chart", "button", "button_group", "download_button", "camera_input", "chat_input", "checkbox", "color_picker", "component_instance", "data_frame", "table", "date_input", "deck_gl_json_chart", "doc_string", "empty", "exception", "favicon", "file_uploader", "graphviz_chart", "html", "iframe", "imgs", "json", "link_button", "markdown", "metric", "multiselect", "number_input", "page_link", "plotly_chart", "progress", "radio", "selectbox", "skeleton", "slider", "snow", "space", "spinner", "text", "text_area", "text_input", "time_input", "date_time_input", "toast", "vega_lite_chart", "video", "heading", "code"] | None: ...
|
|
328
356
|
|
|
329
|
-
|
|
357
|
+
Global___Element: typing_extensions.TypeAlias = Element
|
streamlit/proto/Empty_pb2.pyi
CHANGED
|
@@ -19,8 +19,14 @@ limitations under the License.
|
|
|
19
19
|
|
|
20
20
|
import google.protobuf.descriptor
|
|
21
21
|
import google.protobuf.message
|
|
22
|
+
import sys
|
|
22
23
|
import typing
|
|
23
24
|
|
|
25
|
+
if sys.version_info >= (3, 10):
|
|
26
|
+
import typing as typing_extensions
|
|
27
|
+
else:
|
|
28
|
+
import typing_extensions
|
|
29
|
+
|
|
24
30
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
25
31
|
|
|
26
32
|
@typing.final
|
|
@@ -33,4 +39,4 @@ class Empty(google.protobuf.message.Message):
|
|
|
33
39
|
self,
|
|
34
40
|
) -> None: ...
|
|
35
41
|
|
|
36
|
-
|
|
42
|
+
Global___Empty: typing_extensions.TypeAlias = Empty
|
|
@@ -23,8 +23,14 @@ import google.protobuf.descriptor
|
|
|
23
23
|
import google.protobuf.internal.containers
|
|
24
24
|
import google.protobuf.message
|
|
25
25
|
import streamlit.proto.WidthConfig_pb2
|
|
26
|
+
import sys
|
|
26
27
|
import typing
|
|
27
28
|
|
|
29
|
+
if sys.version_info >= (3, 10):
|
|
30
|
+
import typing as typing_extensions
|
|
31
|
+
else:
|
|
32
|
+
import typing_extensions
|
|
33
|
+
|
|
28
34
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
29
35
|
|
|
30
36
|
@typing.final
|
|
@@ -77,4 +83,4 @@ class Exception(google.protobuf.message.Message):
|
|
|
77
83
|
def HasField(self, field_name: typing.Literal["width_config", b"width_config"]) -> builtins.bool: ...
|
|
78
84
|
def ClearField(self, field_name: typing.Literal["is_warning", b"is_warning", "message", b"message", "message_is_markdown", b"message_is_markdown", "stack_trace", b"stack_trace", "type", b"type", "width_config", b"width_config"]) -> None: ...
|
|
79
85
|
|
|
80
|
-
|
|
86
|
+
Global___Exception: typing_extensions.TypeAlias = Exception
|
streamlit/proto/Favicon_pb2.pyi
CHANGED
|
@@ -20,8 +20,14 @@ limitations under the License.
|
|
|
20
20
|
import builtins
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
|
+
import sys
|
|
23
24
|
import typing
|
|
24
25
|
|
|
26
|
+
if sys.version_info >= (3, 10):
|
|
27
|
+
import typing as typing_extensions
|
|
28
|
+
else:
|
|
29
|
+
import typing_extensions
|
|
30
|
+
|
|
25
31
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
26
32
|
|
|
27
33
|
@typing.final
|
|
@@ -37,4 +43,4 @@ class Favicon(google.protobuf.message.Message):
|
|
|
37
43
|
) -> None: ...
|
|
38
44
|
def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ...
|
|
39
45
|
|
|
40
|
-
|
|
46
|
+
Global___Favicon: typing_extensions.TypeAlias = Favicon
|
|
@@ -23,8 +23,14 @@ import google.protobuf.descriptor
|
|
|
23
23
|
import google.protobuf.internal.containers
|
|
24
24
|
import google.protobuf.message
|
|
25
25
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
|
26
|
+
import sys
|
|
26
27
|
import typing
|
|
27
28
|
|
|
29
|
+
if sys.version_info >= (3, 10):
|
|
30
|
+
import typing as typing_extensions
|
|
31
|
+
else:
|
|
32
|
+
import typing_extensions
|
|
33
|
+
|
|
28
34
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
29
35
|
|
|
30
36
|
@typing.final
|
|
@@ -79,4 +85,4 @@ class FileUploader(google.protobuf.message.Message):
|
|
|
79
85
|
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
|
80
86
|
def ClearField(self, field_name: typing.Literal["accept_directory", b"accept_directory", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_upload_size_mb", b"max_upload_size_mb", "multiple_files", b"multiple_files", "type", b"type"]) -> None: ...
|
|
81
87
|
|
|
82
|
-
|
|
88
|
+
Global___FileUploader: typing_extensions.TypeAlias = FileUploader
|