streamlit-nightly 1.45.1.dev20250502__py3-none-any.whl → 1.45.1.dev20250504__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/elements/widgets/camera_input.py +20 -0
- streamlit/elements/widgets/file_uploader.py +23 -0
- streamlit/elements/widgets/number_input.py +23 -5
- streamlit/elements/widgets/selectbox.py +25 -0
- streamlit/elements/widgets/text_widgets.py +38 -0
- streamlit/proto/CameraInput_pb2.py +4 -3
- streamlit/proto/CameraInput_pb2.pyi +8 -2
- streamlit/proto/FileUploader_pb2.py +4 -3
- streamlit/proto/FileUploader_pb2.pyi +8 -2
- streamlit/proto/NumberInput_pb2.py +6 -5
- streamlit/proto/NumberInput_pb2.pyi +9 -2
- streamlit/proto/Selectbox_pb2.py +4 -3
- streamlit/proto/Selectbox_pb2.pyi +9 -2
- streamlit/proto/TextArea_pb2.py +4 -3
- streamlit/proto/TextArea_pb2.pyi +9 -2
- streamlit/proto/TextInput_pb2.py +6 -5
- streamlit/proto/TextInput_pb2.pyi +9 -2
- streamlit/static/index.html +1 -1
- streamlit/static/static/js/{ErrorOutline.esm.Cyo2PQmw.js → ErrorOutline.esm.Bp4VdNOc.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.BzWzjfn-.js → FileDownload.esm.hVzDDDNS.js} +1 -1
- streamlit/static/static/js/{FileHelper.Bq0bHIQU.js → FileHelper.BGcyDQ_S.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.ChH2zw9r.js → FormClearHelper.a0IiSXcn.js} +1 -1
- streamlit/static/static/js/{Hooks.BX4S_9SH.js → Hooks.C2dZkryw.js} +1 -1
- streamlit/static/static/js/{InputInstructions.gIgCn0KU.js → InputInstructions.Cn0WICoN.js} +1 -1
- streamlit/static/static/js/{ProgressBar.CfPAxQrK.js → ProgressBar.VRmRPHtW.js} +1 -1
- streamlit/static/static/js/{RenderInPortalIfExists.2PFuDBNw.js → RenderInPortalIfExists.CZa97lrw.js} +1 -1
- streamlit/static/static/js/{Toolbar.Buf9GIBa.js → Toolbar.DJZBBDvl.js} +1 -1
- streamlit/static/static/js/{base-input.Bm9shgk4.js → base-input.CzerGAEH.js} +1 -1
- streamlit/static/static/js/{checkbox.a7k2DcAP.js → checkbox.C6Sj4eVw.js} +1 -1
- streamlit/static/static/js/{createSuper.DCriRkdS.js → createSuper.C7yhRETi.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.DILbTvay.js → data-grid-overlay-editor.DAgcbVks.js} +1 -1
- streamlit/static/static/js/{downloader.HVIUsQvS.js → downloader.B8HL-u_1.js} +1 -1
- streamlit/static/static/js/{es6.20UTkPH7.js → es6.BxAW_jrO.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.DysIhKUL.js → iframeResizer.contentWindow.CS8fz-W7.js} +1 -1
- streamlit/static/static/js/{index.D_JOW5L_.js → index.6jptdEp6.js} +1 -1
- streamlit/static/static/js/{index.hPo8pssx.js → index.A_t8lw--.js} +1 -1
- streamlit/static/static/js/{index.B3bE5uB1.js → index.B2tTSlE1.js} +1 -1
- streamlit/static/static/js/{index.DYEXGytC.js → index.B7UKH_JX.js} +1 -1
- streamlit/static/static/js/{index.CSU4ypQb.js → index.BBClg-gm.js} +1 -1
- streamlit/static/static/js/{index.C-XV9rWR.js → index.BDzCUpOG.js} +1 -1
- streamlit/static/static/js/{index.MS-4hkiz.js → index.BRtyx04t.js} +1 -1
- streamlit/static/static/js/{index.Cx1FqRGB.js → index.BwlA1Cf_.js} +1 -1
- streamlit/static/static/js/{index.B60sXnAm.js → index.BwnckS8e.js} +1 -1
- streamlit/static/static/js/{index.DZYKdc2u.js → index.C4KrRG3c.js} +1 -1
- streamlit/static/static/js/{index.D0zXTb0m.js → index.C7t1-CQQ.js} +1 -1
- streamlit/static/static/js/{index.CcMkhkWk.js → index.CG2pASlR.js} +1 -1
- streamlit/static/static/js/{index.Cbix_1J1.js → index.CGzwdjEF.js} +1 -1
- streamlit/static/static/js/{index.DyoIc8Zs.js → index.CHL4u91M.js} +1 -1
- streamlit/static/static/js/{index.aNlXA-L0.js → index.CLFopaXS.js} +1 -1
- streamlit/static/static/js/{index._MzojgSv.js → index.CSAdYIt3.js} +1 -1
- streamlit/static/static/js/{index.Co9rIAmf.js → index.CSPC2m_c.js} +1 -1
- streamlit/static/static/js/{index.wrZNg1iJ.js → index.CgzjjllY.js} +1 -1
- streamlit/static/static/js/{index.Cufx1YWe.js → index.ChOkUAuD.js} +1 -1
- streamlit/static/static/js/{index.CQxpOqNH.js → index.Cr1JUXmf.js} +1 -1
- streamlit/static/static/js/{index.Dh2hRWUh.js → index.Cxp7siQJ.js} +5 -5
- streamlit/static/static/js/{index.nfYF_n-U.js → index.D6KElXAI.js} +1 -1
- streamlit/static/static/js/{index.BcjACxDW.js → index.DDCep3pE.js} +1 -1
- streamlit/static/static/js/{index.BGeguImE.js → index.DG9Swsby.js} +1 -1
- streamlit/static/static/js/{index.FrboqWsl.js → index.DIZcktIN.js} +1 -1
- streamlit/static/static/js/{index.BoUSwThS.js → index.DR2lTx8N.js} +34 -34
- streamlit/static/static/js/{index.CWQZ6fj2.js → index.DWb5kgxt.js} +1 -1
- streamlit/static/static/js/{index.DuuM3erk.js → index.D_0HKLRm.js} +1 -1
- streamlit/static/static/js/{index.PpH65WhH.js → index.DgOrPDFa.js} +1 -1
- streamlit/static/static/js/{index.C8opbOI3.js → index.Dt0FtS-M.js} +1 -1
- streamlit/static/static/js/{index.DTDSrcrv.js → index.DtY8dAVN.js} +1 -1
- streamlit/static/static/js/{index.DtUymdq4.js → index.QdRaJV_a.js} +1 -1
- streamlit/static/static/js/{index.Casjy0w3.js → index.aBgCjIEX.js} +1 -1
- streamlit/static/static/js/{index.BFBmymos.js → index.o12m2E2P.js} +1 -1
- streamlit/static/static/js/{index.C9zP89H9.js → index.qMnAjj-G.js} +1 -1
- streamlit/static/static/js/{index.MnEfEagX.js → index.uOOdkOMl.js} +1 -1
- streamlit/static/static/js/{index.D4a4MQfL.js → index.vdE-PayY.js} +1 -1
- streamlit/static/static/js/{input.Cb_tvJ_5.js → input.qNZgmgfK.js} +1 -1
- streamlit/static/static/js/{memory.gWLPmyVz.js → memory.DifcSUze.js} +1 -1
- streamlit/static/static/js/{mergeWith.DyYsO7xJ.js → mergeWith.Bykfc0n-.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.atsI6tTt.js → number-overlay-editor.D_L9PQiU.js} +1 -1
- streamlit/static/static/js/{possibleConstructorReturn.k2Tjz93L.js → possibleConstructorReturn.Cyeph4pU.js} +1 -1
- streamlit/static/static/js/{sandbox.DZ5kjuSJ.js → sandbox.DT6zcSKI.js} +1 -1
- streamlit/static/static/js/{textarea.Bd_m3MJ1.js → textarea.C46FrViu.js} +1 -1
- streamlit/static/static/js/{timepicker.CrYAvpIP.js → timepicker.N6lFakQJ.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.DTRRsITN.js → toConsumableArray.DwaNiLbv.js} +1 -1
- streamlit/static/static/js/{uniqueId.Cp20OGew.js → uniqueId.bNZuA9Mz.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.CkEGHpKC.js → useBasicWidgetState.qUuCVRZV.js} +1 -1
- streamlit/static/static/js/{useOnInputChange.Dnb1JE6q.js → useOnInputChange.CylEhpc7.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.C60s7JiX.js → withFullScreenWrapper.BQay_j7X.js} +1 -1
- {streamlit_nightly-1.45.1.dev20250502.dist-info → streamlit_nightly-1.45.1.dev20250504.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.45.1.dev20250502.dist-info → streamlit_nightly-1.45.1.dev20250504.dist-info}/RECORD +90 -90
- {streamlit_nightly-1.45.1.dev20250502.dist-info → streamlit_nightly-1.45.1.dev20250504.dist-info}/WHEEL +1 -1
- {streamlit_nightly-1.45.1.dev20250502.data → streamlit_nightly-1.45.1.dev20250504.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.45.1.dev20250502.dist-info → streamlit_nightly-1.45.1.dev20250504.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.45.1.dev20250502.dist-info → streamlit_nightly-1.45.1.dev20250504.dist-info}/top_level.txt +0 -0
@@ -23,6 +23,7 @@ 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 streamlit.proto.WidthConfig_pb2
|
26
27
|
import typing
|
27
28
|
|
28
29
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
@@ -42,6 +43,7 @@ class FileUploader(google.protobuf.message.Message):
|
|
42
43
|
FORM_ID_FIELD_NUMBER: builtins.int
|
43
44
|
DISABLED_FIELD_NUMBER: builtins.int
|
44
45
|
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
46
|
+
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
45
47
|
id: builtins.str
|
46
48
|
"""The widget id"""
|
47
49
|
label: builtins.str
|
@@ -59,6 +61,8 @@ class FileUploader(google.protobuf.message.Message):
|
|
59
61
|
|
60
62
|
@property
|
61
63
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
64
|
+
@property
|
65
|
+
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
|
62
66
|
def __init__(
|
63
67
|
self,
|
64
68
|
*,
|
@@ -71,8 +75,10 @@ class FileUploader(google.protobuf.message.Message):
|
|
71
75
|
form_id: builtins.str = ...,
|
72
76
|
disabled: builtins.bool = ...,
|
73
77
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
78
|
+
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
74
79
|
) -> None: ...
|
75
|
-
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
76
|
-
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", "max_upload_size_mb", b"max_upload_size_mb", "multiple_files", b"multiple_files", "type", b"type"]) -> None: ...
|
80
|
+
def HasField(self, field_name: typing.Literal["_width_config", b"_width_config", "label_visibility", b"label_visibility", "width_config", b"width_config"]) -> builtins.bool: ...
|
81
|
+
def ClearField(self, field_name: typing.Literal["_width_config", b"_width_config", "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", "width_config", b"width_config"]) -> None: ...
|
82
|
+
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
77
83
|
|
78
84
|
global___FileUploader = FileUploader
|
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
|
|
13
13
|
|
14
14
|
|
15
15
|
from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
|
16
|
+
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
16
17
|
|
17
18
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/NumberInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/NumberInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\x8e\x04\n\x0bNumberInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x03 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x08 \x01(\t\x12\x0f\n\x07has_min\x18\x0b \x01(\x08\x12\x0f\n\x07has_max\x18\x0c \x01(\x08\x12(\n\tdata_type\x18\r \x01(\x0e\x32\x15.NumberInput.DataType\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x0e \x01(\x01H\x00\x88\x01\x01\x12\x0c\n\x04step\x18\x0f \x01(\x01\x12\x0b\n\x03min\x18\x10 \x01(\x01\x12\x0b\n\x03max\x18\x11 \x01(\x01\x12\x0c\n\x04help\x18\x12 \x01(\t\x12\x12\n\x05value\x18\x13 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\tset_value\x18\x14 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x15 \x01(\x08\x12\x31\n\x10label_visibility\x18\x16 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x13\n\x0bplaceholder\x18\x17 \x01(\t\x12\x0c\n\x04icon\x18\x18 \x01(\t\x12\x31\n\x0cwidth_config\x18\x19 \x01(\x0b\x32\x16.streamlit.WidthConfigH\x02\x88\x01\x01\"\x1e\n\x08\x44\x61taType\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0f\n\r_width_configJ\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\x42\x30\n\x1c\x63om.snowflake.apps.streamlitB\x10NumberInputProtob\x06proto3')
|
19
20
|
|
20
21
|
_globals = globals()
|
21
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -23,8 +24,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.NumberInput
|
|
23
24
|
if not _descriptor._USE_C_DESCRIPTORS:
|
24
25
|
_globals['DESCRIPTOR']._loaded_options = None
|
25
26
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020NumberInputProto'
|
26
|
-
_globals['_NUMBERINPUT']._serialized_start=
|
27
|
-
_globals['_NUMBERINPUT']._serialized_end=
|
28
|
-
_globals['_NUMBERINPUT_DATATYPE']._serialized_start=
|
29
|
-
_globals['_NUMBERINPUT_DATATYPE']._serialized_end=
|
27
|
+
_globals['_NUMBERINPUT']._serialized_start=119
|
28
|
+
_globals['_NUMBERINPUT']._serialized_end=645
|
29
|
+
_globals['_NUMBERINPUT_DATATYPE']._serialized_start=540
|
30
|
+
_globals['_NUMBERINPUT_DATATYPE']._serialized_end=570
|
30
31
|
# @@protoc_insertion_point(module_scope)
|
@@ -22,6 +22,7 @@ import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.internal.enum_type_wrapper
|
23
23
|
import google.protobuf.message
|
24
24
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
25
|
+
import streamlit.proto.WidthConfig_pb2
|
25
26
|
import sys
|
26
27
|
import typing
|
27
28
|
|
@@ -73,6 +74,7 @@ class NumberInput(google.protobuf.message.Message):
|
|
73
74
|
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
74
75
|
PLACEHOLDER_FIELD_NUMBER: builtins.int
|
75
76
|
ICON_FIELD_NUMBER: builtins.int
|
77
|
+
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
76
78
|
id: builtins.str
|
77
79
|
label: builtins.str
|
78
80
|
form_id: builtins.str
|
@@ -92,6 +94,8 @@ class NumberInput(google.protobuf.message.Message):
|
|
92
94
|
icon: builtins.str
|
93
95
|
@property
|
94
96
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
97
|
+
@property
|
98
|
+
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
|
95
99
|
def __init__(
|
96
100
|
self,
|
97
101
|
*,
|
@@ -113,12 +117,15 @@ class NumberInput(google.protobuf.message.Message):
|
|
113
117
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
114
118
|
placeholder: builtins.str = ...,
|
115
119
|
icon: builtins.str = ...,
|
120
|
+
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
116
121
|
) -> None: ...
|
117
|
-
def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]) -> builtins.bool: ...
|
118
|
-
def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "data_type", b"data_type", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "has_max", b"has_max", "has_min", b"has_min", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "placeholder", b"placeholder", "set_value", b"set_value", "step", b"step", "value", b"value"]) -> None: ...
|
122
|
+
def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "default", b"default", "label_visibility", b"label_visibility", "value", b"value", "width_config", b"width_config"]) -> builtins.bool: ...
|
123
|
+
def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "data_type", b"data_type", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "has_max", b"has_max", "has_min", b"has_min", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "placeholder", b"placeholder", "set_value", b"set_value", "step", b"step", "value", b"value", "width_config", b"width_config"]) -> None: ...
|
119
124
|
@typing.overload
|
120
125
|
def WhichOneof(self, oneof_group: typing.Literal["_default", b"_default"]) -> typing.Literal["default"] | None: ...
|
121
126
|
@typing.overload
|
122
127
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
128
|
+
@typing.overload
|
129
|
+
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
123
130
|
|
124
131
|
global___NumberInput = NumberInput
|
streamlit/proto/Selectbox_pb2.py
CHANGED
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
|
|
13
13
|
|
14
14
|
|
15
15
|
from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
|
16
|
+
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
16
17
|
|
17
18
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/Selectbox.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/Selectbox.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\xa9\x03\n\tSelectbox\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x0f\n\x07options\x18\x04 \x03(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\x16\n\x05value\x18\x07 \x01(\x05\x42\x02\x18\x01H\x01\x88\x01\x01\x12\x16\n\traw_value\x18\r \x01(\tH\x02\x88\x01\x01\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x31\n\x10label_visibility\x18\n \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x13\n\x0bplaceholder\x18\x0b \x01(\t\x12\x1f\n\x12\x61\x63\x63\x65pt_new_options\x18\x0c \x01(\x08H\x03\x88\x01\x01\x12\x31\n\x0cwidth_config\x18\x0e \x01(\x0b\x32\x16.streamlit.WidthConfigH\x04\x88\x01\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0c\n\n_raw_valueB\x15\n\x13_accept_new_optionsB\x0f\n\r_width_configB.\n\x1c\x63om.snowflake.apps.streamlitB\x0eSelectboxProtob\x06proto3')
|
19
20
|
|
20
21
|
_globals = globals()
|
21
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -25,6 +26,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
25
26
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016SelectboxProto'
|
26
27
|
_globals['_SELECTBOX'].fields_by_name['value']._loaded_options = None
|
27
28
|
_globals['_SELECTBOX'].fields_by_name['value']._serialized_options = b'\030\001'
|
28
|
-
_globals['_SELECTBOX']._serialized_start=
|
29
|
-
_globals['_SELECTBOX']._serialized_end=
|
29
|
+
_globals['_SELECTBOX']._serialized_start=117
|
30
|
+
_globals['_SELECTBOX']._serialized_end=542
|
30
31
|
# @@protoc_insertion_point(module_scope)
|
@@ -23,6 +23,7 @@ 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 streamlit.proto.WidthConfig_pb2
|
26
27
|
import typing
|
27
28
|
|
28
29
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
@@ -44,6 +45,7 @@ class Selectbox(google.protobuf.message.Message):
|
|
44
45
|
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
45
46
|
PLACEHOLDER_FIELD_NUMBER: builtins.int
|
46
47
|
ACCEPT_NEW_OPTIONS_FIELD_NUMBER: builtins.int
|
48
|
+
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
47
49
|
id: builtins.str
|
48
50
|
label: builtins.str
|
49
51
|
default: builtins.int
|
@@ -62,6 +64,8 @@ class Selectbox(google.protobuf.message.Message):
|
|
62
64
|
def options(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
63
65
|
@property
|
64
66
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
67
|
+
@property
|
68
|
+
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
|
65
69
|
def __init__(
|
66
70
|
self,
|
67
71
|
*,
|
@@ -78,9 +82,10 @@ class Selectbox(google.protobuf.message.Message):
|
|
78
82
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
79
83
|
placeholder: builtins.str = ...,
|
80
84
|
accept_new_options: builtins.bool | None = ...,
|
85
|
+
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
81
86
|
) -> None: ...
|
82
|
-
def HasField(self, field_name: typing.Literal["_accept_new_options", b"_accept_new_options", "_default", b"_default", "_raw_value", b"_raw_value", "_value", b"_value", "accept_new_options", b"accept_new_options", "default", b"default", "label_visibility", b"label_visibility", "raw_value", b"raw_value", "value", b"value"]) -> builtins.bool: ...
|
83
|
-
def ClearField(self, field_name: typing.Literal["_accept_new_options", b"_accept_new_options", "_default", b"_default", "_raw_value", b"_raw_value", "_value", b"_value", "accept_new_options", b"accept_new_options", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "placeholder", b"placeholder", "raw_value", b"raw_value", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
87
|
+
def HasField(self, field_name: typing.Literal["_accept_new_options", b"_accept_new_options", "_default", b"_default", "_raw_value", b"_raw_value", "_value", b"_value", "_width_config", b"_width_config", "accept_new_options", b"accept_new_options", "default", b"default", "label_visibility", b"label_visibility", "raw_value", b"raw_value", "value", b"value", "width_config", b"width_config"]) -> builtins.bool: ...
|
88
|
+
def ClearField(self, field_name: typing.Literal["_accept_new_options", b"_accept_new_options", "_default", b"_default", "_raw_value", b"_raw_value", "_value", b"_value", "_width_config", b"_width_config", "accept_new_options", b"accept_new_options", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "placeholder", b"placeholder", "raw_value", b"raw_value", "set_value", b"set_value", "value", b"value", "width_config", b"width_config"]) -> None: ...
|
84
89
|
@typing.overload
|
85
90
|
def WhichOneof(self, oneof_group: typing.Literal["_accept_new_options", b"_accept_new_options"]) -> typing.Literal["accept_new_options"] | None: ...
|
86
91
|
@typing.overload
|
@@ -89,5 +94,7 @@ class Selectbox(google.protobuf.message.Message):
|
|
89
94
|
def WhichOneof(self, oneof_group: typing.Literal["_raw_value", b"_raw_value"]) -> typing.Literal["raw_value"] | None: ...
|
90
95
|
@typing.overload
|
91
96
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
97
|
+
@typing.overload
|
98
|
+
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
92
99
|
|
93
100
|
global___Selectbox = Selectbox
|
streamlit/proto/TextArea_pb2.py
CHANGED
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
|
|
13
13
|
|
14
14
|
|
15
15
|
from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
|
16
|
+
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
16
17
|
|
17
18
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/TextArea.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/TextArea.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\xd8\x02\n\x08TextArea\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06height\x18\x04 \x01(\r\x12\x11\n\tmax_chars\x18\x05 \x01(\r\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x07 \x01(\t\x12\x12\n\x05value\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\t \x01(\x08\x12\x13\n\x0bplaceholder\x18\n \x01(\t\x12\x10\n\x08\x64isabled\x18\x0b \x01(\x08\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x31\n\x0cwidth_config\x18\r \x01(\x0b\x32\x16.streamlit.WidthConfigH\x02\x88\x01\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0f\n\r_width_configB-\n\x1c\x63om.snowflake.apps.streamlitB\rTextAreaProtob\x06proto3')
|
19
20
|
|
20
21
|
_globals = globals()
|
21
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -23,6 +24,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.TextArea_pb
|
|
23
24
|
if not _descriptor._USE_C_DESCRIPTORS:
|
24
25
|
_globals['DESCRIPTOR']._loaded_options = None
|
25
26
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rTextAreaProto'
|
26
|
-
_globals['_TEXTAREA']._serialized_start=
|
27
|
-
_globals['_TEXTAREA']._serialized_end=
|
27
|
+
_globals['_TEXTAREA']._serialized_start=116
|
28
|
+
_globals['_TEXTAREA']._serialized_end=460
|
28
29
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/TextArea_pb2.pyi
CHANGED
@@ -21,6 +21,7 @@ import builtins
|
|
21
21
|
import google.protobuf.descriptor
|
22
22
|
import google.protobuf.message
|
23
23
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
24
|
+
import streamlit.proto.WidthConfig_pb2
|
24
25
|
import typing
|
25
26
|
|
26
27
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
@@ -41,6 +42,7 @@ class TextArea(google.protobuf.message.Message):
|
|
41
42
|
PLACEHOLDER_FIELD_NUMBER: builtins.int
|
42
43
|
DISABLED_FIELD_NUMBER: builtins.int
|
43
44
|
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
45
|
+
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
44
46
|
id: builtins.str
|
45
47
|
label: builtins.str
|
46
48
|
default: builtins.str
|
@@ -54,6 +56,8 @@ class TextArea(google.protobuf.message.Message):
|
|
54
56
|
disabled: builtins.bool
|
55
57
|
@property
|
56
58
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
59
|
+
@property
|
60
|
+
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
|
57
61
|
def __init__(
|
58
62
|
self,
|
59
63
|
*,
|
@@ -69,12 +73,15 @@ class TextArea(google.protobuf.message.Message):
|
|
69
73
|
placeholder: builtins.str = ...,
|
70
74
|
disabled: builtins.bool = ...,
|
71
75
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
76
|
+
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
72
77
|
) -> None: ...
|
73
|
-
def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]) -> builtins.bool: ...
|
74
|
-
def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "height", b"height", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
78
|
+
def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "default", b"default", "label_visibility", b"label_visibility", "value", b"value", "width_config", b"width_config"]) -> builtins.bool: ...
|
79
|
+
def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "height", b"height", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "value", b"value", "width_config", b"width_config"]) -> None: ...
|
75
80
|
@typing.overload
|
76
81
|
def WhichOneof(self, oneof_group: typing.Literal["_default", b"_default"]) -> typing.Literal["default"] | None: ...
|
77
82
|
@typing.overload
|
78
83
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
84
|
+
@typing.overload
|
85
|
+
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
79
86
|
|
80
87
|
global___TextArea = TextArea
|
streamlit/proto/TextInput_pb2.py
CHANGED
@@ -13,9 +13,10 @@ _sym_db = _symbol_database.Default()
|
|
13
13
|
|
14
14
|
|
15
15
|
from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
|
16
|
+
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
16
17
|
|
17
18
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/TextInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/TextInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\x1a!streamlit/proto/WidthConfig.proto\"\xaf\x03\n\tTextInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x04type\x18\x04 \x01(\x0e\x32\x0f.TextInput.Type\x12\x11\n\tmax_chars\x18\x05 \x01(\r\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x07 \x01(\t\x12\x12\n\x05value\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x11\n\tset_value\x18\t \x01(\x08\x12\x14\n\x0c\x61utocomplete\x18\n \x01(\t\x12\x13\n\x0bplaceholder\x18\x0b \x01(\t\x12\x10\n\x08\x64isabled\x18\x0c \x01(\x08\x12\x31\n\x10label_visibility\x18\r \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x0c\n\x04icon\x18\x0e \x01(\t\x12\x31\n\x0cwidth_config\x18\x0f \x01(\x0b\x32\x16.streamlit.WidthConfigH\x02\x88\x01\x01\"!\n\x04Type\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0c\n\x08PASSWORD\x10\x01\x42\n\n\x08_defaultB\x08\n\x06_valueB\x0f\n\r_width_configB.\n\x1c\x63om.snowflake.apps.streamlitB\x0eTextInputProtob\x06proto3')
|
19
20
|
|
20
21
|
_globals = globals()
|
21
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -23,8 +24,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.TextInput_p
|
|
23
24
|
if not _descriptor._USE_C_DESCRIPTORS:
|
24
25
|
_globals['DESCRIPTOR']._loaded_options = None
|
25
26
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016TextInputProto'
|
26
|
-
_globals['_TEXTINPUT']._serialized_start=
|
27
|
-
_globals['_TEXTINPUT']._serialized_end=
|
28
|
-
_globals['_TEXTINPUT_TYPE']._serialized_start=
|
29
|
-
_globals['_TEXTINPUT_TYPE']._serialized_end=
|
27
|
+
_globals['_TEXTINPUT']._serialized_start=117
|
28
|
+
_globals['_TEXTINPUT']._serialized_end=548
|
29
|
+
_globals['_TEXTINPUT_TYPE']._serialized_start=476
|
30
|
+
_globals['_TEXTINPUT_TYPE']._serialized_end=509
|
30
31
|
# @@protoc_insertion_point(module_scope)
|
@@ -22,6 +22,7 @@ import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.internal.enum_type_wrapper
|
23
23
|
import google.protobuf.message
|
24
24
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
25
|
+
import streamlit.proto.WidthConfig_pb2
|
25
26
|
import sys
|
26
27
|
import typing
|
27
28
|
|
@@ -67,6 +68,7 @@ class TextInput(google.protobuf.message.Message):
|
|
67
68
|
DISABLED_FIELD_NUMBER: builtins.int
|
68
69
|
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
69
70
|
ICON_FIELD_NUMBER: builtins.int
|
71
|
+
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
70
72
|
id: builtins.str
|
71
73
|
label: builtins.str
|
72
74
|
default: builtins.str
|
@@ -82,6 +84,8 @@ class TextInput(google.protobuf.message.Message):
|
|
82
84
|
icon: builtins.str
|
83
85
|
@property
|
84
86
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
87
|
+
@property
|
88
|
+
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
|
85
89
|
def __init__(
|
86
90
|
self,
|
87
91
|
*,
|
@@ -99,12 +103,15 @@ class TextInput(google.protobuf.message.Message):
|
|
99
103
|
disabled: builtins.bool = ...,
|
100
104
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
101
105
|
icon: builtins.str = ...,
|
106
|
+
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
102
107
|
) -> None: ...
|
103
|
-
def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]) -> builtins.bool: ...
|
104
|
-
def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "autocomplete", b"autocomplete", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "type", b"type", "value", b"value"]) -> None: ...
|
108
|
+
def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "default", b"default", "label_visibility", b"label_visibility", "value", b"value", "width_config", b"width_config"]) -> builtins.bool: ...
|
109
|
+
def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "_width_config", b"_width_config", "autocomplete", b"autocomplete", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "type", b"type", "value", b"value", "width_config", b"width_config"]) -> None: ...
|
105
110
|
@typing.overload
|
106
111
|
def WhichOneof(self, oneof_group: typing.Literal["_default", b"_default"]) -> typing.Literal["default"] | None: ...
|
107
112
|
@typing.overload
|
108
113
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
114
|
+
@typing.overload
|
115
|
+
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
109
116
|
|
110
117
|
global___TextInput = TextInput
|
streamlit/static/index.html
CHANGED
@@ -51,7 +51,7 @@
|
|
51
51
|
<script>
|
52
52
|
window.prerenderReady = false
|
53
53
|
</script>
|
54
|
-
<script type="module" crossorigin src="./static/js/index.
|
54
|
+
<script type="module" crossorigin src="./static/js/index.DR2lTx8N.js"></script>
|
55
55
|
<link rel="stylesheet" crossorigin href="./static/css/index.C6rq3aMZ.css">
|
56
56
|
</head>
|
57
57
|
<body>
|
@@ -1 +1 @@
|
|
1
|
-
import{r,E as a,_ as n}from"./index.
|
1
|
+
import{r,E as a,_ as n}from"./index.DR2lTx8N.js";var i=r.forwardRef(function(e,t){var o={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return r.createElement(a,n({iconAttrs:o,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),r.createElement("path",{d:"M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))});i.displayName="ErrorOutline";export{i as E};
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,E as n,_ as a}from"./index.
|
1
|
+
import{r as e,E as n,_ as a}from"./index.DR2lTx8N.js";var o=e.forwardRef(function(t,r){var l={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return e.createElement(n,a({iconAttrs:l,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:r}),e.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),e.createElement("path",{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"}))});o.displayName="Delete";var i=e.forwardRef(function(t,r){var l={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return e.createElement(n,a({iconAttrs:l,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:r}),e.createElement("rect",{width:24,height:24,fill:"none"}),e.createElement("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5 5-5z"}))});i.displayName="FileDownload";export{o as D,i as F};
|