streamlit 1.49.1__py3-none-any.whl → 1.51.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 +4 -1
- streamlit/column_config.py +2 -0
- streamlit/commands/navigation.py +7 -7
- streamlit/commands/page_config.py +4 -6
- streamlit/components/v1/custom_component.py +17 -42
- streamlit/components/v2/__init__.py +458 -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 +386 -0
- streamlit/components/v2/bidi_component/serialization.py +265 -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 +431 -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 +409 -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 +741 -32
- streamlit/config_option.py +4 -1
- streamlit/config_util.py +650 -1
- streamlit/connections/base_connection.py +4 -2
- streamlit/dataframe_util.py +18 -10
- streamlit/delta_generator.py +8 -7
- streamlit/delta_generator_singletons.py +3 -1
- streamlit/deprecation_util.py +17 -6
- streamlit/elements/arrow.py +90 -42
- streamlit/elements/deck_gl_json_chart.py +98 -39
- streamlit/elements/dialog_decorator.py +2 -1
- streamlit/elements/exception.py +3 -1
- streamlit/elements/form.py +6 -6
- streamlit/elements/graphviz_chart.py +24 -9
- streamlit/elements/heading.py +3 -5
- streamlit/elements/iframe.py +0 -2
- streamlit/elements/image.py +12 -13
- streamlit/elements/layouts.py +89 -22
- streamlit/elements/lib/built_in_chart_utils.py +95 -31
- streamlit/elements/lib/color_util.py +8 -18
- streamlit/elements/lib/column_config_utils.py +9 -8
- streamlit/elements/lib/column_types.py +595 -148
- streamlit/elements/lib/dialog.py +3 -2
- streamlit/elements/lib/image_utils.py +3 -5
- streamlit/elements/lib/layout_utils.py +50 -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 +30 -14
- streamlit/elements/lib/utils.py +21 -9
- streamlit/elements/map.py +81 -40
- streamlit/elements/media.py +7 -7
- streamlit/elements/metric.py +11 -35
- streamlit/elements/pdf.py +2 -4
- streamlit/elements/plotly_chart.py +142 -26
- streamlit/elements/progress.py +2 -4
- streamlit/elements/pyplot.py +6 -6
- streamlit/elements/space.py +113 -0
- streamlit/elements/vega_charts.py +400 -143
- streamlit/elements/widgets/audio_input.py +52 -4
- streamlit/elements/widgets/button.py +29 -29
- streamlit/elements/widgets/button_group.py +33 -6
- streamlit/elements/widgets/camera_input.py +3 -4
- streamlit/elements/widgets/chat.py +7 -0
- streamlit/elements/widgets/checkbox.py +1 -0
- streamlit/elements/widgets/color_picker.py +1 -0
- streamlit/elements/widgets/data_editor.py +34 -29
- streamlit/elements/widgets/file_uploader.py +6 -10
- streamlit/elements/widgets/multiselect.py +14 -3
- streamlit/elements/widgets/number_input.py +5 -4
- streamlit/elements/widgets/radio.py +10 -2
- streamlit/elements/widgets/select_slider.py +8 -4
- streamlit/elements/widgets/selectbox.py +9 -2
- streamlit/elements/widgets/slider.py +38 -41
- streamlit/elements/widgets/text_widgets.py +6 -0
- streamlit/elements/widgets/time_widgets.py +15 -12
- streamlit/elements/write.py +28 -23
- streamlit/emojis.py +1 -1
- streamlit/errors.py +115 -0
- streamlit/git_util.py +65 -43
- streamlit/hello/hello.py +8 -0
- streamlit/hello/utils.py +2 -1
- streamlit/material_icon_names.py +1 -1
- streamlit/navigation/page.py +4 -1
- streamlit/proto/ArrowData_pb2.py +27 -0
- streamlit/proto/ArrowData_pb2.pyi +46 -0
- streamlit/proto/Arrow_pb2.py +10 -8
- streamlit/proto/Arrow_pb2.pyi +31 -2
- streamlit/proto/AudioInput_pb2.py +2 -2
- streamlit/proto/AudioInput_pb2.pyi +6 -2
- streamlit/proto/BidiComponent_pb2.py +34 -0
- streamlit/proto/BidiComponent_pb2.pyi +153 -0
- streamlit/proto/Block_pb2.py +11 -11
- streamlit/proto/Block_pb2.pyi +9 -1
- streamlit/proto/DeckGlJsonChart_pb2.py +10 -4
- streamlit/proto/DeckGlJsonChart_pb2.pyi +9 -3
- streamlit/proto/Element_pb2.py +5 -3
- streamlit/proto/Element_pb2.pyi +14 -4
- streamlit/proto/HeightConfig_pb2.py +2 -2
- streamlit/proto/HeightConfig_pb2.pyi +6 -3
- streamlit/proto/NewSession_pb2.py +18 -16
- streamlit/proto/NewSession_pb2.pyi +158 -6
- streamlit/proto/PlotlyChart_pb2.py +8 -6
- streamlit/proto/PlotlyChart_pb2.pyi +3 -1
- streamlit/proto/Space_pb2.py +27 -0
- streamlit/proto/Space_pb2.pyi +42 -0
- streamlit/proto/WidgetStates_pb2.py +2 -2
- streamlit/proto/WidgetStates_pb2.pyi +13 -3
- streamlit/proto/WidthConfig_pb2.py +2 -2
- streamlit/proto/WidthConfig_pb2.pyi +6 -3
- streamlit/runtime/app_session.py +45 -6
- streamlit/runtime/caching/cache_data_api.py +4 -4
- streamlit/runtime/caching/cache_errors.py +4 -1
- streamlit/runtime/caching/cache_resource_api.py +3 -2
- streamlit/runtime/caching/cache_utils.py +2 -1
- streamlit/runtime/caching/cached_message_replay.py +3 -3
- streamlit/runtime/caching/hashing.py +3 -4
- streamlit/runtime/caching/legacy_cache_api.py +2 -1
- streamlit/runtime/connection_factory.py +1 -3
- streamlit/runtime/forward_msg_queue.py +4 -1
- streamlit/runtime/fragment.py +2 -1
- streamlit/runtime/memory_media_file_storage.py +1 -1
- streamlit/runtime/metrics_util.py +6 -2
- streamlit/runtime/runtime.py +14 -0
- streamlit/runtime/scriptrunner/exec_code.py +2 -1
- streamlit/runtime/scriptrunner/script_runner.py +2 -2
- 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/safe_session_state.py +2 -2
- streamlit/runtime/state/session_state.py +220 -16
- streamlit/runtime/state/widgets.py +19 -3
- streamlit/runtime/theme_util.py +148 -0
- streamlit/runtime/websocket_session_manager.py +3 -1
- streamlit/source_util.py +2 -2
- streamlit/static/index.html +2 -2
- streamlit/static/manifest.json +244 -227
- streamlit/static/static/css/{index.C8X8rNzw.css → index.BpABIXK9.css} +1 -1
- streamlit/static/static/css/index.DgR7E2CV.css +1 -0
- streamlit/static/static/js/{ErrorOutline.esm.DcGrhbBP.js → ErrorOutline.esm.YoJdlW1p.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.DgBvV6Pq.js → FileDownload.esm.Ddx8VEYy.js} +1 -1
- streamlit/static/static/js/{FileHelper.M6AAaeuA.js → FileHelper.90EtOmj9.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.DHh1GFzm.js → FormClearHelper.BB1Km6eP.js} +1 -1
- streamlit/static/static/js/InputInstructions.jhH15PqV.js +1 -0
- streamlit/static/static/js/{Particles.DDVT-6Qc.js → Particles.DUsputn1.js} +1 -1
- streamlit/static/static/js/{ProgressBar.BEY0cXXV.js → ProgressBar.DLY8H6nE.js} +2 -2
- streamlit/static/static/js/Toolbar.D8nHCkuz.js +1 -0
- streamlit/static/static/js/{base-input.CK3UVGp1.js → base-input.CJGiNqed.js} +3 -3
- streamlit/static/static/js/{checkbox.D8W881TL.js → checkbox.Cpdd482O.js} +1 -1
- streamlit/static/static/js/{createSuper.B6W-Dh9S.js → createSuper.CuQIogbW.js} +1 -1
- streamlit/static/static/js/data-grid-overlay-editor.2Ufgxc6y.js +1 -0
- streamlit/static/static/js/{downloader.DiKpuU_S.js → downloader.CN0K7xlu.js} +1 -1
- streamlit/static/static/js/{es6.B8zRNPZ-.js → es6.BJcsVXQ0.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.DIewJmmh.js → iframeResizer.contentWindow.XzUvQqcZ.js} +1 -1
- streamlit/static/static/js/index.B1ZQh4P1.js +1 -0
- streamlit/static/static/js/index.BKstZk0M.js +27 -0
- streamlit/static/static/js/{index.Bte_9Lyq.js → index.BMcFsUee.js} +1 -1
- streamlit/static/static/js/{index.qhs54UAB.js → index.BR-IdcTb.js} +1 -1
- streamlit/static/static/js/{index.CejBxbg1.js → index.B_dWA3vd.js} +1 -1
- streamlit/static/static/js/{index.D5naqx-J.js → index.BgnZEMVh.js} +1 -1
- streamlit/static/static/js/{index.C7fRKRs4.js → index.BohqXifI.js} +1 -1
- streamlit/static/static/js/{index.cnnXF7xQ.js → index.Br5nxKNj.js} +1 -1
- streamlit/static/static/js/index.BrIKVbNc.js +3 -0
- streamlit/static/static/js/index.BtWUPzle.js +1 -0
- streamlit/static/static/js/index.C0RLraek.js +1 -0
- streamlit/static/static/js/{index.CP5TD2z1.js → index.CAIjskgG.js} +1 -1
- streamlit/static/static/js/{index.CD8HuT3N.js → index.CAj-7vWz.js} +135 -162
- streamlit/static/static/js/{index.DtYN2x4k.js → index.CMtEit2O.js} +1 -1
- streamlit/static/static/js/index.CkRlykEE.js +12 -0
- streamlit/static/static/js/{index.Ts_0SdB9.js → index.CmN3FXfI.js} +2 -2
- streamlit/static/static/js/{index.BnEpvLEz.js → index.CwbFI1_-.js} +1 -1
- streamlit/static/static/js/{index.CcJf6BCU.js → index.CxIUUfab.js} +27 -27
- streamlit/static/static/js/index.D2KPNy7e.js +1 -0
- streamlit/static/static/js/{index.Ch7MBCx0.js → index.D3GPA5k4.js} +47 -47
- streamlit/static/static/js/{index.ho6NIXGl.js → index.DGAh7DMq.js} +1 -1
- streamlit/static/static/js/index.DKb_NvmG.js +197 -0
- streamlit/static/static/js/{index.CvYYtxD_.js → index.DMqgUYKq.js} +1 -1
- streamlit/static/static/js/{index.zecpGxtj.js → index.DOFlg3dS.js} +1 -1
- streamlit/static/static/js/{index.B9mjBcgE.js → index.DPUXkcQL.js} +1 -1
- streamlit/static/static/js/index.DX1xY89g.js +1 -0
- streamlit/static/static/js/index.DYATBCsq.js +2 -0
- streamlit/static/static/js/{index.D2-atlaQ.js → index.DaSmGJ76.js} +3 -3
- streamlit/static/static/js/index.Dd7bMeLP.js +1 -0
- streamlit/static/static/js/{index.4eF4NxG2.js → index.DjmmgI5U.js} +1 -1
- streamlit/static/static/js/index.Dq56CyM2.js +1 -0
- streamlit/static/static/js/index.DuiXaS5_.js +7 -0
- streamlit/static/static/js/index.DvFidMLe.js +2 -0
- streamlit/static/static/js/{index.452cqrrL.js → index.DwkhC5Pc.js} +1 -1
- streamlit/static/static/js/{index.Dk4C7X3i.js → index.Q-3sFn1v.js} +1 -1
- streamlit/static/static/js/{index.CjXWwH-y.js → index.QJ5QO9sJ.js} +1 -1
- streamlit/static/static/js/{index.B6U8LQo3.js → index.VwTaeety.js} +1 -1
- streamlit/static/static/js/index.YOqQbeX8.js +1 -0
- streamlit/static/static/js/{input.nzVJphXi.js → input.D4MN_FzN.js} +1 -1
- streamlit/static/static/js/{memory.CjCgTQz3.js → memory.DrZjtdGT.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.DaRFzZEO.js → number-overlay-editor.DRwAw1In.js} +1 -1
- streamlit/static/static/js/{possibleConstructorReturn.DgiPnZ9N.js → possibleConstructorReturn.exeeJQEP.js} +1 -1
- streamlit/static/static/js/record.B-tDciZb.js +1 -0
- streamlit/static/static/js/{sandbox.mithfq7Z.js → sandbox.ClO3IuUr.js} +1 -1
- streamlit/static/static/js/{timepicker.Dbl5KFh6.js → timepicker.DAhu-vcF.js} +4 -4
- streamlit/static/static/js/{toConsumableArray.D-Dx88BQ.js → toConsumableArray.DNbljYEC.js} +1 -1
- streamlit/static/static/js/{uniqueId.Bh26R_3S.js → uniqueId.oG4Gvj1v.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.DeK-QJpD.js → useBasicWidgetState.D6sOH6oI.js} +1 -1
- streamlit/static/static/js/{useTextInputAutoExpand.4iAdLWD-.js → useTextInputAutoExpand.4u3_GcuN.js} +2 -2
- streamlit/static/static/js/{useUpdateUiValue.CmT7_nJN.js → useUpdateUiValue.F2R3eTeR.js} +1 -1
- streamlit/static/static/js/wavesurfer.esm.vI8Eid4k.js +73 -0
- streamlit/static/static/js/withFullScreenWrapper.zothJIsI.js +1 -0
- streamlit/static/static/media/MaterialSymbols-Rounded.C7IFxh57.woff2 +0 -0
- streamlit/string_util.py +56 -1
- streamlit/testing/v1/app_test.py +2 -2
- streamlit/testing/v1/element_tree.py +23 -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 +0 -31
- 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/oidc_mixin.py +3 -1
- streamlit/web/server/routes.py +18 -5
- streamlit/web/server/server.py +10 -0
- streamlit/web/server/server_util.py +3 -1
- streamlit/web/server/upload_file_request_handler.py +3 -1
- {streamlit-1.49.1.dist-info → streamlit-1.51.0.dist-info}/METADATA +4 -5
- {streamlit-1.49.1.dist-info → streamlit-1.51.0.dist-info}/RECORD +238 -209
- streamlit/static/static/css/index.COe1010n.css +0 -1
- streamlit/static/static/js/Hooks.DGu1od_L.js +0 -1
- streamlit/static/static/js/InputInstructions.z6sVgyYt.js +0 -1
- streamlit/static/static/js/Toolbar.DSnK1fUh.js +0 -1
- streamlit/static/static/js/data-grid-overlay-editor.DRTHOydk.js +0 -1
- streamlit/static/static/js/index.BXYmrqnf.js +0 -1
- streamlit/static/static/js/index.B_8AnktO.js +0 -1
- streamlit/static/static/js/index.Bl7zGQSh.js +0 -7
- streamlit/static/static/js/index.BnJIOYn9.js +0 -73
- streamlit/static/static/js/index.C1HcTl5K.js +0 -1
- streamlit/static/static/js/index.C7lSmSOP.js +0 -1
- streamlit/static/static/js/index.C_tmcx4B.js +0 -1
- streamlit/static/static/js/index.D3K5nOu9.js +0 -197
- streamlit/static/static/js/index.DkKT3LUI.js +0 -1
- streamlit/static/static/js/index.MTPPBDHk.js +0 -2
- streamlit/static/static/js/index.pqW9AMJD.js +0 -3
- streamlit/static/static/js/index.urHgTgMQ.js +0 -12
- streamlit/static/static/js/index.wzkv_11M.js +0 -1
- streamlit/static/static/js/index.yF5AncHY.js +0 -1
- streamlit/static/static/js/withFullScreenWrapper.DLp1ENGm.js +0 -1
- streamlit/static/static/media/MaterialSymbols-Rounded.CBxVaFdk.woff2 +0 -0
- {streamlit-1.49.1.data → streamlit-1.51.0.data}/scripts/streamlit.cmd +0 -0
- {streamlit-1.49.1.dist-info → streamlit-1.51.0.dist-info}/WHEEL +0 -0
- {streamlit-1.49.1.dist-info → streamlit-1.51.0.dist-info}/entry_points.txt +0 -0
- {streamlit-1.49.1.dist-info → streamlit-1.51.0.dist-info}/top_level.txt +0 -0
streamlit/proto/Arrow_pb2.py
CHANGED
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Arrow.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Arrow.proto\"\xd1\x04\n\x05\x41rrow\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x17\n\x06styler\x18\x02 \x01(\x0b\x32\x07.Styler\x12\x11\n\x05width\x18\x03 \x01(\rB\x02\x18\x01\x12\x12\n\x06height\x18\x04 \x01(\rB\x02\x18\x01\x12\x1f\n\x13use_container_width\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\n\n\x02id\x18\x06 \x01(\t\x12\x0f\n\x07\x63olumns\x18\x07 \x01(\t\x12(\n\x0c\x65\x64iting_mode\x18\x08 \x01(\x0e\x32\x12.Arrow.EditingMode\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x0f\n\x07\x66orm_id\x18\n \x01(\t\x12\x14\n\x0c\x63olumn_order\x18\x0b \x03(\t\x12,\n\x0eselection_mode\x18\x0c \x03(\x0e\x32\x14.Arrow.SelectionMode\x12\x17\n\nrow_height\x18\r \x01(\rH\x00\x88\x01\x01\x12&\n\x0b\x62order_mode\x18\x0e \x01(\x0e\x32\x11.Arrow.BorderMode\"4\n\x0b\x45\x64itingMode\x12\r\n\tREAD_ONLY\x10\x00\x12\t\n\x05\x46IXED\x10\x01\x12\x0b\n\x07\x44YNAMIC\x10\x02\"t\n\rSelectionMode\x12\x0e\n\nSINGLE_ROW\x10\x00\x12\r\n\tMULTI_ROW\x10\x01\x12\x11\n\rSINGLE_COLUMN\x10\x02\x12\x10\n\x0cMULTI_COLUMN\x10\x03\x12\x0f\n\x0bSINGLE_CELL\x10\x04\x12\x0e\n\nMULTI_CELL\x10\x05\"/\n\nBorderMode\x12\x07\n\x03\x41LL\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\x42\r\n\x0b_row_height\"O\n\x06Styler\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x0f\n\x07\x63\x61ption\x18\x02 \x01(\t\x12\x0e\n\x06styles\x18\x03 \x01(\t\x12\x16\n\x0e\x64isplay_values\x18\x04 \x01(\x0c\x42*\n\x1c\x63om.snowflake.apps.streamlitB\nArrowProtob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -29,11 +29,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
29
29
|
_globals['_ARROW'].fields_by_name['use_container_width']._loaded_options = None
|
|
30
30
|
_globals['_ARROW'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
|
|
31
31
|
_globals['_ARROW']._serialized_start=32
|
|
32
|
-
_globals['_ARROW']._serialized_end=
|
|
33
|
-
_globals['_ARROW_EDITINGMODE']._serialized_start=
|
|
34
|
-
_globals['_ARROW_EDITINGMODE']._serialized_end=
|
|
35
|
-
_globals['_ARROW_SELECTIONMODE']._serialized_start=
|
|
36
|
-
_globals['_ARROW_SELECTIONMODE']._serialized_end=
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
32
|
+
_globals['_ARROW']._serialized_end=625
|
|
33
|
+
_globals['_ARROW_EDITINGMODE']._serialized_start=391
|
|
34
|
+
_globals['_ARROW_EDITINGMODE']._serialized_end=443
|
|
35
|
+
_globals['_ARROW_SELECTIONMODE']._serialized_start=445
|
|
36
|
+
_globals['_ARROW_SELECTIONMODE']._serialized_end=561
|
|
37
|
+
_globals['_ARROW_BORDERMODE']._serialized_start=563
|
|
38
|
+
_globals['_ARROW_BORDERMODE']._serialized_end=610
|
|
39
|
+
_globals['_STYLER']._serialized_start=627
|
|
40
|
+
_globals['_STYLER']._serialized_end=706
|
|
39
41
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Arrow_pb2.pyi
CHANGED
|
@@ -80,7 +80,7 @@ class Arrow(google.protobuf.message.Message):
|
|
|
80
80
|
"""Multiple cells (continuous range) can be selected."""
|
|
81
81
|
|
|
82
82
|
class SelectionMode(_SelectionMode, metaclass=_SelectionModeEnumTypeWrapper):
|
|
83
|
-
"""Available
|
|
83
|
+
"""Available selection modes:"""
|
|
84
84
|
|
|
85
85
|
SINGLE_ROW: Arrow.SelectionMode.ValueType # 0
|
|
86
86
|
"""Only one row can be selected at a time."""
|
|
@@ -95,6 +95,29 @@ class Arrow(google.protobuf.message.Message):
|
|
|
95
95
|
MULTI_CELL: Arrow.SelectionMode.ValueType # 5
|
|
96
96
|
"""Multiple cells (continuous range) can be selected."""
|
|
97
97
|
|
|
98
|
+
class _BorderMode:
|
|
99
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
100
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
101
|
+
|
|
102
|
+
class _BorderModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Arrow._BorderMode.ValueType], builtins.type):
|
|
103
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
104
|
+
ALL: Arrow._BorderMode.ValueType # 0
|
|
105
|
+
"""Show borders around the table and between cells."""
|
|
106
|
+
NONE: Arrow._BorderMode.ValueType # 1
|
|
107
|
+
"""Show no borders."""
|
|
108
|
+
HORIZONTAL: Arrow._BorderMode.ValueType # 2
|
|
109
|
+
"""Show only horizontal borders between rows."""
|
|
110
|
+
|
|
111
|
+
class BorderMode(_BorderMode, metaclass=_BorderModeEnumTypeWrapper):
|
|
112
|
+
"""Available border modes:"""
|
|
113
|
+
|
|
114
|
+
ALL: Arrow.BorderMode.ValueType # 0
|
|
115
|
+
"""Show borders around the table and between cells."""
|
|
116
|
+
NONE: Arrow.BorderMode.ValueType # 1
|
|
117
|
+
"""Show no borders."""
|
|
118
|
+
HORIZONTAL: Arrow.BorderMode.ValueType # 2
|
|
119
|
+
"""Show only horizontal borders between rows."""
|
|
120
|
+
|
|
98
121
|
DATA_FIELD_NUMBER: builtins.int
|
|
99
122
|
STYLER_FIELD_NUMBER: builtins.int
|
|
100
123
|
WIDTH_FIELD_NUMBER: builtins.int
|
|
@@ -108,6 +131,7 @@ class Arrow(google.protobuf.message.Message):
|
|
|
108
131
|
COLUMN_ORDER_FIELD_NUMBER: builtins.int
|
|
109
132
|
SELECTION_MODE_FIELD_NUMBER: builtins.int
|
|
110
133
|
ROW_HEIGHT_FIELD_NUMBER: builtins.int
|
|
134
|
+
BORDER_MODE_FIELD_NUMBER: builtins.int
|
|
111
135
|
data: builtins.bytes
|
|
112
136
|
"""The serialized arrow dataframe"""
|
|
113
137
|
width: builtins.int
|
|
@@ -128,6 +152,10 @@ class Arrow(google.protobuf.message.Message):
|
|
|
128
152
|
"""The form ID of the widget, this is required if the dataframe is editable"""
|
|
129
153
|
row_height: builtins.int
|
|
130
154
|
"""Row height in pixels"""
|
|
155
|
+
border_mode: global___Arrow.BorderMode.ValueType
|
|
156
|
+
"""How to show borders around the table and between cells. Note that this property
|
|
157
|
+
is only used for `st.table` at the moment.
|
|
158
|
+
"""
|
|
131
159
|
@property
|
|
132
160
|
def styler(self) -> global___Styler:
|
|
133
161
|
"""Pandas styler information"""
|
|
@@ -156,9 +184,10 @@ class Arrow(google.protobuf.message.Message):
|
|
|
156
184
|
column_order: collections.abc.Iterable[builtins.str] | None = ...,
|
|
157
185
|
selection_mode: collections.abc.Iterable[global___Arrow.SelectionMode.ValueType] | None = ...,
|
|
158
186
|
row_height: builtins.int | None = ...,
|
|
187
|
+
border_mode: global___Arrow.BorderMode.ValueType = ...,
|
|
159
188
|
) -> None: ...
|
|
160
189
|
def HasField(self, field_name: typing.Literal["_row_height", b"_row_height", "row_height", b"row_height", "styler", b"styler"]) -> builtins.bool: ...
|
|
161
|
-
def ClearField(self, field_name: typing.Literal["_row_height", b"_row_height", "column_order", b"column_order", "columns", b"columns", "data", b"data", "disabled", b"disabled", "editing_mode", b"editing_mode", "form_id", b"form_id", "height", b"height", "id", b"id", "row_height", b"row_height", "selection_mode", b"selection_mode", "styler", b"styler", "use_container_width", b"use_container_width", "width", b"width"]) -> None: ...
|
|
190
|
+
def ClearField(self, field_name: typing.Literal["_row_height", b"_row_height", "border_mode", b"border_mode", "column_order", b"column_order", "columns", b"columns", "data", b"data", "disabled", b"disabled", "editing_mode", b"editing_mode", "form_id", b"form_id", "height", b"height", "id", b"id", "row_height", b"row_height", "selection_mode", b"selection_mode", "styler", b"styler", "use_container_width", b"use_container_width", "width", b"width"]) -> None: ...
|
|
162
191
|
def WhichOneof(self, oneof_group: typing.Literal["_row_height", b"_row_height"]) -> typing.Literal["row_height"] | None: ...
|
|
163
192
|
|
|
164
193
|
global___Arrow = Arrow
|
|
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/AudioInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/AudioInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xb5\x01\n\nAudioInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x04 \x01(\t\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12\x31\n\x10label_visibility\x18\x06 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x18\n\x0bsample_rate\x18\x07 \x01(\x05H\x00\x88\x01\x01\x42\x0e\n\x0c_sample_rateB/\n\x1c\x63om.snowflake.apps.streamlitB\x0f\x41udioInputProtob\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -24,5 +24,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
24
24
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
25
25
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\017AudioInputProto'
|
|
26
26
|
_globals['_AUDIOINPUT']._serialized_start=83
|
|
27
|
-
_globals['_AUDIOINPUT']._serialized_end=
|
|
27
|
+
_globals['_AUDIOINPUT']._serialized_end=264
|
|
28
28
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -35,11 +35,13 @@ class AudioInput(google.protobuf.message.Message):
|
|
|
35
35
|
FORM_ID_FIELD_NUMBER: builtins.int
|
|
36
36
|
DISABLED_FIELD_NUMBER: builtins.int
|
|
37
37
|
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
|
38
|
+
SAMPLE_RATE_FIELD_NUMBER: builtins.int
|
|
38
39
|
id: builtins.str
|
|
39
40
|
label: builtins.str
|
|
40
41
|
help: builtins.str
|
|
41
42
|
form_id: builtins.str
|
|
42
43
|
disabled: builtins.bool
|
|
44
|
+
sample_rate: builtins.int
|
|
43
45
|
@property
|
|
44
46
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
|
45
47
|
def __init__(
|
|
@@ -51,8 +53,10 @@ class AudioInput(google.protobuf.message.Message):
|
|
|
51
53
|
form_id: builtins.str = ...,
|
|
52
54
|
disabled: builtins.bool = ...,
|
|
53
55
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
56
|
+
sample_rate: builtins.int | None = ...,
|
|
54
57
|
) -> None: ...
|
|
55
|
-
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
|
56
|
-
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility"]) -> None: ...
|
|
58
|
+
def HasField(self, field_name: typing.Literal["_sample_rate", b"_sample_rate", "label_visibility", b"label_visibility", "sample_rate", b"sample_rate"]) -> builtins.bool: ...
|
|
59
|
+
def ClearField(self, field_name: typing.Literal["_sample_rate", b"_sample_rate", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "sample_rate", b"sample_rate"]) -> None: ...
|
|
60
|
+
def WhichOneof(self, oneof_group: typing.Literal["_sample_rate", b"_sample_rate"]) -> typing.Literal["sample_rate"] | None: ...
|
|
57
61
|
|
|
58
62
|
global___AudioInput = AudioInput
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/BidiComponent.proto
|
|
4
|
+
# Protobuf Python Version: 5.26.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from streamlit.proto import ArrowData_pb2 as streamlit_dot_proto_dot_ArrowData__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#streamlit/proto/BidiComponent.proto\x1a\x1fstreamlit/proto/ArrowData.proto\"\x89\x01\n\tMixedData\x12\x0c\n\x04json\x18\x01 \x01(\t\x12/\n\x0b\x61rrow_blobs\x18\x02 \x03(\x0b\x32\x1a.MixedData.ArrowBlobsEntry\x1a=\n\x0f\x41rrowBlobsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x19\n\x05value\x18\x02 \x01(\x0b\x32\n.ArrowData:\x02\x38\x01\"\xa4\x03\n\rBidiComponent\x12\n\n\x02id\x18\x01 \x01(\t\x12\x16\n\x0e\x63omponent_name\x18\x02 \x01(\t\x12\x17\n\njs_content\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x1b\n\x0ejs_source_path\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\x19\n\x0chtml_content\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x63ss_content\x18\x07 \x01(\tH\x04\x88\x01\x01\x12\x1c\n\x0f\x63ss_source_path\x18\x08 \x01(\tH\x05\x88\x01\x01\x12\x16\n\x0eisolate_styles\x18\t \x01(\x08\x12\x0e\n\x04json\x18\n \x01(\tH\x00\x12 \n\narrow_data\x18\x0b \x01(\x0b\x32\n.ArrowDataH\x00\x12\x0f\n\x05\x62ytes\x18\x0c \x01(\x0cH\x00\x12\x1b\n\x05mixed\x18\r \x01(\x0b\x32\n.MixedDataH\x00\x42\x06\n\x04\x64\x61taB\r\n\x0b_js_contentB\x11\n\x0f_js_source_pathB\x0f\n\r_html_contentB\x0e\n\x0c_css_contentB\x12\n\x10_css_source_pathB2\n\x1c\x63om.snowflake.apps.streamlitB\x12\x42idiComponentProtob\x06proto3')
|
|
19
|
+
|
|
20
|
+
_globals = globals()
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.BidiComponent_pb2', _globals)
|
|
23
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
25
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\022BidiComponentProto'
|
|
26
|
+
_globals['_MIXEDDATA_ARROWBLOBSENTRY']._loaded_options = None
|
|
27
|
+
_globals['_MIXEDDATA_ARROWBLOBSENTRY']._serialized_options = b'8\001'
|
|
28
|
+
_globals['_MIXEDDATA']._serialized_start=73
|
|
29
|
+
_globals['_MIXEDDATA']._serialized_end=210
|
|
30
|
+
_globals['_MIXEDDATA_ARROWBLOBSENTRY']._serialized_start=149
|
|
31
|
+
_globals['_MIXEDDATA_ARROWBLOBSENTRY']._serialized_end=210
|
|
32
|
+
_globals['_BIDICOMPONENT']._serialized_start=213
|
|
33
|
+
_globals['_BIDICOMPONENT']._serialized_end=633
|
|
34
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,153 @@
|
|
|
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.ArrowData_pb2
|
|
26
|
+
import typing
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
29
|
+
|
|
30
|
+
@typing.final
|
|
31
|
+
class MixedData(google.protobuf.message.Message):
|
|
32
|
+
"""Mixed data structure that allows JSON with embedded Arrow references"""
|
|
33
|
+
|
|
34
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
35
|
+
|
|
36
|
+
@typing.final
|
|
37
|
+
class ArrowBlobsEntry(google.protobuf.message.Message):
|
|
38
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
39
|
+
|
|
40
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
41
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
42
|
+
key: builtins.str
|
|
43
|
+
@property
|
|
44
|
+
def value(self) -> streamlit.proto.ArrowData_pb2.ArrowData: ...
|
|
45
|
+
def __init__(
|
|
46
|
+
self,
|
|
47
|
+
*,
|
|
48
|
+
key: builtins.str = ...,
|
|
49
|
+
value: streamlit.proto.ArrowData_pb2.ArrowData | None = ...,
|
|
50
|
+
) -> None: ...
|
|
51
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
|
52
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
53
|
+
|
|
54
|
+
JSON_FIELD_NUMBER: builtins.int
|
|
55
|
+
ARROW_BLOBS_FIELD_NUMBER: builtins.int
|
|
56
|
+
json: builtins.str
|
|
57
|
+
"""The main JSON structure with arrow references replaced by placeholders"""
|
|
58
|
+
@property
|
|
59
|
+
def arrow_blobs(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, streamlit.proto.ArrowData_pb2.ArrowData]:
|
|
60
|
+
"""Map of arrow data blobs keyed by reference ID"""
|
|
61
|
+
|
|
62
|
+
def __init__(
|
|
63
|
+
self,
|
|
64
|
+
*,
|
|
65
|
+
json: builtins.str = ...,
|
|
66
|
+
arrow_blobs: collections.abc.Mapping[builtins.str, streamlit.proto.ArrowData_pb2.ArrowData] | None = ...,
|
|
67
|
+
) -> None: ...
|
|
68
|
+
def ClearField(self, field_name: typing.Literal["arrow_blobs", b"arrow_blobs", "json", b"json"]) -> None: ...
|
|
69
|
+
|
|
70
|
+
global___MixedData = MixedData
|
|
71
|
+
|
|
72
|
+
@typing.final
|
|
73
|
+
class BidiComponent(google.protobuf.message.Message):
|
|
74
|
+
"""Represents an instance of a bidirectional component."""
|
|
75
|
+
|
|
76
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
77
|
+
|
|
78
|
+
ID_FIELD_NUMBER: builtins.int
|
|
79
|
+
COMPONENT_NAME_FIELD_NUMBER: builtins.int
|
|
80
|
+
JS_CONTENT_FIELD_NUMBER: builtins.int
|
|
81
|
+
JS_SOURCE_PATH_FIELD_NUMBER: builtins.int
|
|
82
|
+
FORM_ID_FIELD_NUMBER: builtins.int
|
|
83
|
+
HTML_CONTENT_FIELD_NUMBER: builtins.int
|
|
84
|
+
CSS_CONTENT_FIELD_NUMBER: builtins.int
|
|
85
|
+
CSS_SOURCE_PATH_FIELD_NUMBER: builtins.int
|
|
86
|
+
ISOLATE_STYLES_FIELD_NUMBER: builtins.int
|
|
87
|
+
JSON_FIELD_NUMBER: builtins.int
|
|
88
|
+
ARROW_DATA_FIELD_NUMBER: builtins.int
|
|
89
|
+
BYTES_FIELD_NUMBER: builtins.int
|
|
90
|
+
MIXED_FIELD_NUMBER: builtins.int
|
|
91
|
+
id: builtins.str
|
|
92
|
+
"""The ID of the widget instance."""
|
|
93
|
+
component_name: builtins.str
|
|
94
|
+
"""The registered name of the component."""
|
|
95
|
+
js_content: builtins.str
|
|
96
|
+
"""The JavaScript content provided by the developer."""
|
|
97
|
+
js_source_path: builtins.str
|
|
98
|
+
"""The source path for the JavaScript content."""
|
|
99
|
+
form_id: builtins.str
|
|
100
|
+
"""The ID of the form this component belongs to, if any."""
|
|
101
|
+
html_content: builtins.str
|
|
102
|
+
"""The HTML content provided by the developer."""
|
|
103
|
+
css_content: builtins.str
|
|
104
|
+
"""The CSS content provided by the developer."""
|
|
105
|
+
css_source_path: builtins.str
|
|
106
|
+
"""The source path for the CSS content."""
|
|
107
|
+
isolate_styles: builtins.bool
|
|
108
|
+
"""Whether to isolate styles from the parent."""
|
|
109
|
+
json: builtins.str
|
|
110
|
+
"""JSON-serialized value for generic data payloads."""
|
|
111
|
+
bytes: builtins.bytes
|
|
112
|
+
"""Arbitrary bytes payload."""
|
|
113
|
+
@property
|
|
114
|
+
def arrow_data(self) -> streamlit.proto.ArrowData_pb2.ArrowData:
|
|
115
|
+
"""Data-only Apache Arrow buffer for dataframe-like payloads."""
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def mixed(self) -> global___MixedData:
|
|
119
|
+
"""Mixed data with JSON structure + embedded Arrow references"""
|
|
120
|
+
|
|
121
|
+
def __init__(
|
|
122
|
+
self,
|
|
123
|
+
*,
|
|
124
|
+
id: builtins.str = ...,
|
|
125
|
+
component_name: builtins.str = ...,
|
|
126
|
+
js_content: builtins.str | None = ...,
|
|
127
|
+
js_source_path: builtins.str | None = ...,
|
|
128
|
+
form_id: builtins.str = ...,
|
|
129
|
+
html_content: builtins.str | None = ...,
|
|
130
|
+
css_content: builtins.str | None = ...,
|
|
131
|
+
css_source_path: builtins.str | None = ...,
|
|
132
|
+
isolate_styles: builtins.bool = ...,
|
|
133
|
+
json: builtins.str = ...,
|
|
134
|
+
arrow_data: streamlit.proto.ArrowData_pb2.ArrowData | None = ...,
|
|
135
|
+
bytes: builtins.bytes = ...,
|
|
136
|
+
mixed: global___MixedData | None = ...,
|
|
137
|
+
) -> None: ...
|
|
138
|
+
def HasField(self, field_name: typing.Literal["_css_content", b"_css_content", "_css_source_path", b"_css_source_path", "_html_content", b"_html_content", "_js_content", b"_js_content", "_js_source_path", b"_js_source_path", "arrow_data", b"arrow_data", "bytes", b"bytes", "css_content", b"css_content", "css_source_path", b"css_source_path", "data", b"data", "html_content", b"html_content", "js_content", b"js_content", "js_source_path", b"js_source_path", "json", b"json", "mixed", b"mixed"]) -> builtins.bool: ...
|
|
139
|
+
def ClearField(self, field_name: typing.Literal["_css_content", b"_css_content", "_css_source_path", b"_css_source_path", "_html_content", b"_html_content", "_js_content", b"_js_content", "_js_source_path", b"_js_source_path", "arrow_data", b"arrow_data", "bytes", b"bytes", "component_name", b"component_name", "css_content", b"css_content", "css_source_path", b"css_source_path", "data", b"data", "form_id", b"form_id", "html_content", b"html_content", "id", b"id", "isolate_styles", b"isolate_styles", "js_content", b"js_content", "js_source_path", b"js_source_path", "json", b"json", "mixed", b"mixed"]) -> None: ...
|
|
140
|
+
@typing.overload
|
|
141
|
+
def WhichOneof(self, oneof_group: typing.Literal["_css_content", b"_css_content"]) -> typing.Literal["css_content"] | None: ...
|
|
142
|
+
@typing.overload
|
|
143
|
+
def WhichOneof(self, oneof_group: typing.Literal["_css_source_path", b"_css_source_path"]) -> typing.Literal["css_source_path"] | None: ...
|
|
144
|
+
@typing.overload
|
|
145
|
+
def WhichOneof(self, oneof_group: typing.Literal["_html_content", b"_html_content"]) -> typing.Literal["html_content"] | None: ...
|
|
146
|
+
@typing.overload
|
|
147
|
+
def WhichOneof(self, oneof_group: typing.Literal["_js_content", b"_js_content"]) -> typing.Literal["js_content"] | None: ...
|
|
148
|
+
@typing.overload
|
|
149
|
+
def WhichOneof(self, oneof_group: typing.Literal["_js_source_path", b"_js_source_path"]) -> typing.Literal["js_source_path"] | None: ...
|
|
150
|
+
@typing.overload
|
|
151
|
+
def WhichOneof(self, oneof_group: typing.Literal["data", b"data"]) -> typing.Literal["json", "arrow_data", "bytes", "mixed"] | None: ...
|
|
152
|
+
|
|
153
|
+
global___BidiComponent = BidiComponent
|
streamlit/proto/Block_pb2.py
CHANGED
|
@@ -17,7 +17,7 @@ from streamlit.proto import HeightConfig_pb2 as streamlit_dot_proto_dot_HeightCo
|
|
|
17
17
|
from streamlit.proto import GapSize_pb2 as streamlit_dot_proto_dot_GapSize__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Block.proto\x1a!streamlit/proto/WidthConfig.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a\x1dstreamlit/proto/GapSize.proto\"\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Block.proto\x1a!streamlit/proto/WidthConfig.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a\x1dstreamlit/proto/GapSize.proto\"\xd0\x10\n\x05\x42lock\x12#\n\x08vertical\x18\x01 \x01(\x0b\x32\x0f.Block.VerticalH\x00\x12\'\n\nhorizontal\x18\x02 \x01(\x0b\x32\x11.Block.HorizontalH\x00\x12\x1f\n\x06\x63olumn\x18\x03 \x01(\x0b\x32\r.Block.ColumnH\x00\x12\'\n\nexpandable\x18\x04 \x01(\x0b\x32\x11.Block.ExpandableH\x00\x12\x1b\n\x04\x66orm\x18\x05 \x01(\x0b\x32\x0b.Block.FormH\x00\x12,\n\rtab_container\x18\x06 \x01(\x0b\x32\x13.Block.TabContainerH\x00\x12\x19\n\x03tab\x18\x07 \x01(\x0b\x32\n.Block.TabH\x00\x12*\n\x0c\x63hat_message\x18\t \x01(\x0b\x32\x12.Block.ChatMessageH\x00\x12!\n\x07popover\x18\n \x01(\x0b\x32\x0e.Block.PopoverH\x00\x12\x1f\n\x06\x64ialog\x18\x0b \x01(\x0b\x32\r.Block.DialogH\x00\x12.\n\x0e\x66lex_container\x18\r \x01(\x0b\x32\x14.Block.FlexContainerH\x00\x12\x13\n\x0b\x61llow_empty\x18\x08 \x01(\x08\x12\x0f\n\x02id\x18\x0c \x01(\tH\x01\x88\x01\x01\x12\x33\n\rheight_config\x18\x0e \x01(\x0b\x32\x17.streamlit.HeightConfigH\x02\x88\x01\x01\x12\x31\n\x0cwidth_config\x18\x0f \x01(\x0b\x32\x16.streamlit.WidthConfigH\x03\x88\x01\x01\x1a.\n\x08Vertical\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08\x12\x12\n\x06height\x18\x02 \x01(\rB\x02\x18\x01\x1a\x19\n\nHorizontal\x12\x0b\n\x03gap\x18\x01 \x01(\t\x1a\x81\x04\n\rFlexContainer\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08\x12(\n\ngap_config\x18\x02 \x01(\x0b\x32\x14.streamlit.GapConfig\x12\r\n\x05scale\x18\x03 \x01(\x02\x12\x31\n\tdirection\x18\x04 \x01(\x0e\x32\x1e.Block.FlexContainer.Direction\x12\x0c\n\x04wrap\x18\x05 \x01(\x08\x12-\n\x07justify\x18\x07 \x01(\x0e\x32\x1c.Block.FlexContainer.Justify\x12)\n\x05\x61lign\x18\x08 \x01(\x0e\x32\x1a.Block.FlexContainer.Align\"B\n\tDirection\x12\x17\n\x13\x44IRECTION_UNDEFINED\x10\x00\x12\x0c\n\x08VERTICAL\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\"k\n\x07Justify\x12\x15\n\x11JUSTIFY_UNDEFINED\x10\x00\x12\x11\n\rJUSTIFY_START\x10\x01\x12\x0f\n\x0bJUSTIFY_END\x10\x02\x12\x12\n\x0eJUSTIFY_CENTER\x10\x03\x12\x11\n\rSPACE_BETWEEN\x10\x04\"[\n\x05\x41lign\x12\x13\n\x0f\x41LIGN_UNDEFINED\x10\x00\x12\x0f\n\x0b\x41LIGN_START\x10\x01\x12\r\n\tALIGN_END\x10\x02\x12\x10\n\x0c\x41LIGN_CENTER\x10\x03\x12\x0b\n\x07STRETCH\x10\x04\x1a\xef\x01\n\x06\x43olumn\x12\x0e\n\x06weight\x18\x01 \x01(\x01\x12\x0f\n\x03gap\x18\x02 \x01(\tB\x02\x18\x01\x12;\n\x12vertical_alignment\x18\x03 \x01(\x0e\x32\x1f.Block.Column.VerticalAlignment\x12\x13\n\x0bshow_border\x18\x04 \x01(\x08\x12-\n\ngap_config\x18\x05 \x01(\x0b\x32\x14.streamlit.GapConfigH\x00\x88\x01\x01\"4\n\x11VerticalAlignment\x12\x07\n\x03TOP\x10\x00\x12\n\n\x06\x43\x45NTER\x10\x01\x12\n\n\x06\x42OTTOM\x10\x02\x42\r\n\x0b_gap_config\x1aM\n\nExpandable\x12\r\n\x05label\x18\x01 \x01(\t\x12\x15\n\x08\x65xpanded\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x0c\n\x04icon\x18\x03 \x01(\tB\x0b\n\t_expanded\x1a\xb5\x01\n\x06\x44ialog\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64ismissible\x18\x02 \x01(\x08\x12(\n\x05width\x18\x03 \x01(\x0e\x32\x19.Block.Dialog.DialogWidth\x12\x14\n\x07is_open\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12\n\n\x02id\x18\x05 \x01(\t\"/\n\x0b\x44ialogWidth\x12\t\n\x05SMALL\x10\x00\x12\t\n\x05LARGE\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x42\n\n\x08_is_open\x1aY\n\x04\x46orm\x12\x0f\n\x07\x66orm_id\x18\x01 \x01(\t\x12\x17\n\x0f\x63lear_on_submit\x18\x02 \x01(\x08\x12\x0e\n\x06\x62order\x18\x03 \x01(\x08\x12\x17\n\x0f\x65nter_to_submit\x18\x04 \x01(\x08\x1a)\n\x0cTabContainer\x12\x19\n\x11\x64\x65\x66\x61ult_tab_index\x18\x01 \x01(\x05\x1a\x14\n\x03Tab\x12\r\n\x05label\x18\x01 \x01(\t\x1au\n\x07Popover\x12\r\n\x05label\x18\x01 \x01(\t\x12\x1f\n\x13use_container_width\x18\x02 \x01(\x08\x42\x02\x18\x01\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\x0c\n\x04icon\x18\x05 \x01(\t\x12\x0c\n\x04type\x18\x06 \x01(\t\x1a\x8d\x01\n\x0b\x43hatMessage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x02 \x01(\t\x12\x32\n\x0b\x61vatar_type\x18\x03 \x01(\x0e\x32\x1d.Block.ChatMessage.AvatarType\",\n\nAvatarType\x12\t\n\x05IMAGE\x10\x00\x12\t\n\x05\x45MOJI\x10\x01\x12\x08\n\x04ICON\x10\x02\x42\x06\n\x04typeB\x05\n\x03_idB\x10\n\x0e_height_configB\x0f\n\r_width_configB*\n\x1c\x63om.snowflake.apps.streamlitB\nBlockProtob\x06proto3')
|
|
21
21
|
|
|
22
22
|
_globals = globals()
|
|
23
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -32,7 +32,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
32
32
|
_globals['_BLOCK_POPOVER'].fields_by_name['use_container_width']._loaded_options = None
|
|
33
33
|
_globals['_BLOCK_POPOVER'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
|
|
34
34
|
_globals['_BLOCK']._serialized_start=134
|
|
35
|
-
_globals['_BLOCK']._serialized_end=
|
|
35
|
+
_globals['_BLOCK']._serialized_end=2262
|
|
36
36
|
_globals['_BLOCK_VERTICAL']._serialized_start=699
|
|
37
37
|
_globals['_BLOCK_VERTICAL']._serialized_end=745
|
|
38
38
|
_globals['_BLOCK_HORIZONTAL']._serialized_start=747
|
|
@@ -58,13 +58,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
58
58
|
_globals['_BLOCK_FORM']._serialized_start=1795
|
|
59
59
|
_globals['_BLOCK_FORM']._serialized_end=1884
|
|
60
60
|
_globals['_BLOCK_TABCONTAINER']._serialized_start=1886
|
|
61
|
-
_globals['_BLOCK_TABCONTAINER']._serialized_end=
|
|
62
|
-
_globals['_BLOCK_TAB']._serialized_start=
|
|
63
|
-
_globals['_BLOCK_TAB']._serialized_end=
|
|
64
|
-
_globals['_BLOCK_POPOVER']._serialized_start=
|
|
65
|
-
_globals['_BLOCK_POPOVER']._serialized_end=
|
|
66
|
-
_globals['_BLOCK_CHATMESSAGE']._serialized_start=
|
|
67
|
-
_globals['_BLOCK_CHATMESSAGE']._serialized_end=
|
|
68
|
-
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_start=
|
|
69
|
-
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_end=
|
|
61
|
+
_globals['_BLOCK_TABCONTAINER']._serialized_end=1927
|
|
62
|
+
_globals['_BLOCK_TAB']._serialized_start=1929
|
|
63
|
+
_globals['_BLOCK_TAB']._serialized_end=1949
|
|
64
|
+
_globals['_BLOCK_POPOVER']._serialized_start=1951
|
|
65
|
+
_globals['_BLOCK_POPOVER']._serialized_end=2068
|
|
66
|
+
_globals['_BLOCK_CHATMESSAGE']._serialized_start=2071
|
|
67
|
+
_globals['_BLOCK_CHATMESSAGE']._serialized_end=2212
|
|
68
|
+
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_start=2168
|
|
69
|
+
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_end=2212
|
|
70
70
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Block_pb2.pyi
CHANGED
|
@@ -290,9 +290,14 @@ class Block(google.protobuf.message.Message):
|
|
|
290
290
|
class TabContainer(google.protobuf.message.Message):
|
|
291
291
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
292
292
|
|
|
293
|
+
DEFAULT_TAB_INDEX_FIELD_NUMBER: builtins.int
|
|
294
|
+
default_tab_index: builtins.int
|
|
293
295
|
def __init__(
|
|
294
296
|
self,
|
|
297
|
+
*,
|
|
298
|
+
default_tab_index: builtins.int = ...,
|
|
295
299
|
) -> None: ...
|
|
300
|
+
def ClearField(self, field_name: typing.Literal["default_tab_index", b"default_tab_index"]) -> None: ...
|
|
296
301
|
|
|
297
302
|
@typing.final
|
|
298
303
|
class Tab(google.protobuf.message.Message):
|
|
@@ -316,12 +321,14 @@ class Block(google.protobuf.message.Message):
|
|
|
316
321
|
HELP_FIELD_NUMBER: builtins.int
|
|
317
322
|
DISABLED_FIELD_NUMBER: builtins.int
|
|
318
323
|
ICON_FIELD_NUMBER: builtins.int
|
|
324
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
319
325
|
label: builtins.str
|
|
320
326
|
use_container_width: builtins.bool
|
|
321
327
|
"""DEPRECATED: We use widthConfig on the top-level which is shared."""
|
|
322
328
|
help: builtins.str
|
|
323
329
|
disabled: builtins.bool
|
|
324
330
|
icon: builtins.str
|
|
331
|
+
type: builtins.str
|
|
325
332
|
def __init__(
|
|
326
333
|
self,
|
|
327
334
|
*,
|
|
@@ -330,8 +337,9 @@ class Block(google.protobuf.message.Message):
|
|
|
330
337
|
help: builtins.str = ...,
|
|
331
338
|
disabled: builtins.bool = ...,
|
|
332
339
|
icon: builtins.str = ...,
|
|
340
|
+
type: builtins.str = ...,
|
|
333
341
|
) -> None: ...
|
|
334
|
-
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "label", b"label", "use_container_width", b"use_container_width"]) -> None: ...
|
|
342
|
+
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "label", b"label", "type", b"type", "use_container_width", b"use_container_width"]) -> None: ...
|
|
335
343
|
|
|
336
344
|
@typing.final
|
|
337
345
|
class ChatMessage(google.protobuf.message.Message):
|
|
@@ -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,15 +69,21 @@ 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
|
streamlit/proto/Element_pb2.py
CHANGED
|
@@ -55,6 +55,7 @@ from streamlit.proto import Radio_pb2 as streamlit_dot_proto_dot_Radio__pb2
|
|
|
55
55
|
from streamlit.proto import Selectbox_pb2 as streamlit_dot_proto_dot_Selectbox__pb2
|
|
56
56
|
from streamlit.proto import Skeleton_pb2 as streamlit_dot_proto_dot_Skeleton__pb2
|
|
57
57
|
from streamlit.proto import Slider_pb2 as streamlit_dot_proto_dot_Slider__pb2
|
|
58
|
+
from streamlit.proto import Space_pb2 as streamlit_dot_proto_dot_Space__pb2
|
|
58
59
|
from streamlit.proto import Text_pb2 as streamlit_dot_proto_dot_Text__pb2
|
|
59
60
|
from streamlit.proto import TextArea_pb2 as streamlit_dot_proto_dot_TextArea__pb2
|
|
60
61
|
from streamlit.proto import TextInput_pb2 as streamlit_dot_proto_dot_TextInput__pb2
|
|
@@ -63,11 +64,12 @@ from streamlit.proto import Toast_pb2 as streamlit_dot_proto_dot_Toast__pb2
|
|
|
63
64
|
from streamlit.proto import VegaLiteChart_pb2 as streamlit_dot_proto_dot_VegaLiteChart__pb2
|
|
64
65
|
from streamlit.proto import Video_pb2 as streamlit_dot_proto_dot_Video__pb2
|
|
65
66
|
from streamlit.proto import Heading_pb2 as streamlit_dot_proto_dot_Heading__pb2
|
|
67
|
+
from streamlit.proto import BidiComponent_pb2 as streamlit_dot_proto_dot_BidiComponent__pb2
|
|
66
68
|
from streamlit.proto import HeightConfig_pb2 as streamlit_dot_proto_dot_HeightConfig__pb2
|
|
67
69
|
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
|
68
70
|
|
|
69
71
|
|
|
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\"\
|
|
72
|
+
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\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\"\xa6\x0f\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\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\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_configJ\x04\x08\t\x10\nB,\n\x1c\x63om.snowflake.apps.streamlitB\x0c\x45lementProtob\x06proto3')
|
|
71
73
|
|
|
72
74
|
_globals = globals()
|
|
73
75
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -75,6 +77,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Element_pb2
|
|
|
75
77
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
76
78
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
77
79
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\014ElementProto'
|
|
78
|
-
_globals['_ELEMENT']._serialized_start=
|
|
79
|
-
_globals['_ELEMENT']._serialized_end=
|
|
80
|
+
_globals['_ELEMENT']._serialized_start=1819
|
|
81
|
+
_globals['_ELEMENT']._serialized_end=3777
|
|
80
82
|
# @@protoc_insertion_point(module_scope)
|