streamlit-nightly 1.35.1.dev20240613__py2.py3-none-any.whl → 1.35.1.dev20240615__py2.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 +1 -1
- streamlit/commands/navigation.py +84 -18
- streamlit/components/v1/component_registry.py +24 -9
- streamlit/elements/arrow.py +17 -6
- streamlit/elements/deck_gl_json_chart.py +1 -1
- streamlit/elements/dialog_decorator.py +5 -3
- streamlit/elements/html.py +1 -9
- streamlit/elements/iframe.py +53 -10
- streamlit/elements/layouts.py +40 -4
- streamlit/elements/lib/column_types.py +1 -1
- streamlit/elements/map.py +1 -1
- streamlit/elements/markdown.py +18 -14
- streamlit/elements/plotly_chart.py +5 -2
- streamlit/elements/toast.py +1 -1
- streamlit/elements/vega_charts.py +93 -41
- streamlit/elements/widgets/button.py +6 -3
- streamlit/elements/widgets/data_editor.py +1 -1
- streamlit/elements/widgets/file_uploader.py +1 -1
- streamlit/elements/write.py +11 -10
- streamlit/hello/Mapping_Demo.py +1 -1
- streamlit/navigation/page.py +107 -19
- streamlit/runtime/caching/cache_data_api.py +5 -4
- streamlit/runtime/caching/cache_errors.py +1 -1
- streamlit/runtime/caching/cache_resource_api.py +5 -4
- streamlit/runtime/caching/legacy_cache_api.py +13 -12
- streamlit/runtime/fragment.py +57 -27
- streamlit/runtime/runtime_util.py +1 -1
- streamlit/runtime/scriptrunner/script_run_context.py +1 -1
- streamlit/runtime/secrets.py +2 -2
- streamlit/runtime/state/session_state.py +1 -1
- streamlit/runtime/state/session_state_proxy.py +1 -1
- streamlit/static/asset-manifest.json +4 -4
- streamlit/static/index.html +1 -1
- streamlit/static/static/js/{8427.59805a7f.chunk.js → 8427.5192ee0c.chunk.js} +1 -1
- streamlit/static/static/js/8536.f7b26b02.chunk.js +1 -0
- streamlit/static/static/js/{main.d4bbfd37.js → main.7994a814.js} +2 -2
- streamlit/testing/v1/app_test.py +4 -3
- streamlit/user_info.py +2 -4
- {streamlit_nightly-1.35.1.dev20240613.dist-info → streamlit_nightly-1.35.1.dev20240615.dist-info}/METADATA +9 -9
- {streamlit_nightly-1.35.1.dev20240613.dist-info → streamlit_nightly-1.35.1.dev20240615.dist-info}/RECORD +45 -45
- streamlit/static/static/js/8536.f8de3d9a.chunk.js +0 -1
- /streamlit/static/static/js/{main.d4bbfd37.js.LICENSE.txt → main.7994a814.js.LICENSE.txt} +0 -0
- {streamlit_nightly-1.35.1.dev20240613.data → streamlit_nightly-1.35.1.dev20240615.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.35.1.dev20240613.dist-info → streamlit_nightly-1.35.1.dev20240615.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.35.1.dev20240613.dist-info → streamlit_nightly-1.35.1.dev20240615.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.35.1.dev20240613.dist-info → streamlit_nightly-1.35.1.dev20240615.dist-info}/top_level.txt +0 -0
streamlit/testing/v1/app_test.py
CHANGED
@@ -374,9 +374,10 @@ class AppTest:
|
|
374
374
|
|
375
375
|
Parameters
|
376
376
|
----------
|
377
|
-
timeout
|
378
|
-
The maximum number of seconds to run the script.
|
379
|
-
|
377
|
+
timeout : float or None
|
378
|
+
The maximum number of seconds to run the script. If ``timeout`` is
|
379
|
+
``None`` (default), Streamlit uses the default timeout set for the
|
380
|
+
instance of ``AppTest``.
|
380
381
|
|
381
382
|
Returns
|
382
383
|
-------
|
streamlit/user_info.py
CHANGED
@@ -31,8 +31,6 @@ def _get_user_info() -> UserInfo:
|
|
31
31
|
return ctx.user_info
|
32
32
|
|
33
33
|
|
34
|
-
# Class attributes are listed as "Parameters" in the docstring as a workaround
|
35
|
-
# for the docstring parser for docs.strreamlit.io
|
36
34
|
class UserInfoProxy(Mapping[str, Union[str, None]]):
|
37
35
|
"""
|
38
36
|
A read-only, dict-like object for accessing information about current user.
|
@@ -44,9 +42,9 @@ class UserInfoProxy(Mapping[str, Union[str, None]]):
|
|
44
42
|
Properties can by accessed via key or attribute notation. For example,
|
45
43
|
``st.experimental_user["email"]`` or ``st.experimental_user.email``.
|
46
44
|
|
47
|
-
|
45
|
+
Attributes
|
48
46
|
----------
|
49
|
-
email:str
|
47
|
+
email : str
|
50
48
|
If running locally, this property returns the string literal
|
51
49
|
``"test@example.com"``.
|
52
50
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: streamlit-nightly
|
3
|
-
Version: 1.35.1.
|
3
|
+
Version: 1.35.1.dev20240615
|
4
4
|
Summary: A faster way to build and share data apps
|
5
5
|
Home-page: https://streamlit.io
|
6
6
|
Author: Snowflake Inc
|
@@ -8,7 +8,7 @@ Author-email: hello@streamlit.io
|
|
8
8
|
License: Apache License 2.0
|
9
9
|
Project-URL: Source Code, https://github.com/streamlit/streamlit
|
10
10
|
Project-URL: Bug Tracker, https://github.com/streamlit/streamlit/issues
|
11
|
-
Project-URL: Release notes, https://docs.streamlit.io/
|
11
|
+
Project-URL: Release notes, https://docs.streamlit.io/develop/quick-reference/changelog
|
12
12
|
Project-URL: Documentation, https://docs.streamlit.io/
|
13
13
|
Project-URL: Community, https://discuss.streamlit.io/
|
14
14
|
Project-URL: Twitter, https://twitter.com/streamlit
|
@@ -82,7 +82,7 @@ $ pip install streamlit
|
|
82
82
|
$ streamlit hello
|
83
83
|
```
|
84
84
|
|
85
|
-
If this opens our sweet _Streamlit Hello_ app in your browser, you're all set! If not, head over to [our docs](https://docs.streamlit.io/
|
85
|
+
If this opens our sweet _Streamlit Hello_ app in your browser, you're all set! If not, head over to [our docs](https://docs.streamlit.io/get-started) for specific installs.
|
86
86
|
|
87
87
|
The app features a bunch of examples of what you can do with Streamlit. Jump to the [quickstart](#quickstart) section to understand how that all works.
|
88
88
|
|
@@ -108,32 +108,32 @@ $ streamlit run streamlit_app.py
|
|
108
108
|
|
109
109
|
### Give me more!
|
110
110
|
|
111
|
-
Streamlit comes in with [a ton of additional powerful elements](https://docs.streamlit.io/
|
111
|
+
Streamlit comes in with [a ton of additional powerful elements](https://docs.streamlit.io/develop/api-reference) to spice up your data apps and delight your viewers. Some examples:
|
112
112
|
|
113
113
|
<table border="0">
|
114
114
|
<tr>
|
115
115
|
<td>
|
116
|
-
<a target="_blank" href="https://docs.streamlit.io/
|
116
|
+
<a target="_blank" href="https://docs.streamlit.io/develop/api-reference/widgets">
|
117
117
|
<img src="https://user-images.githubusercontent.com/7164864/217936099-12c16f8c-7fe4-44b1-889a-1ac9ee6a1b44.png" style="max-height:150px; width:auto; display:block;">
|
118
118
|
</a>
|
119
119
|
</td>
|
120
120
|
<td>
|
121
|
-
<a target="_blank" href="https://docs.streamlit.io/
|
121
|
+
<a target="_blank" href="https://docs.streamlit.io/develop/api-reference/data/st.dataframe">
|
122
122
|
<img src="https://user-images.githubusercontent.com/7164864/215110064-5eb4e294-8f30-4933-9563-0275230e52b5.gif" style="max-height:150px; width:auto; display:block;">
|
123
123
|
</a>
|
124
124
|
</td>
|
125
125
|
<td>
|
126
|
-
<a target="_blank" href="https://docs.streamlit.io/
|
126
|
+
<a target="_blank" href="https://docs.streamlit.io/develop/api-reference/charts">
|
127
127
|
<img src="https://user-images.githubusercontent.com/7164864/215174472-bca8a0d7-cf4b-4268-9c3b-8c03dad50bcd.gif" style="max-height:150px; width:auto; display:block;">
|
128
128
|
</a>
|
129
129
|
</td>
|
130
130
|
<td>
|
131
|
-
<a target="_blank" href="https://docs.streamlit.io/
|
131
|
+
<a target="_blank" href="https://docs.streamlit.io/develop/api-reference/layout">
|
132
132
|
<img src="https://user-images.githubusercontent.com/7164864/217936149-a35c35be-0d96-4c63-8c6a-1c4b52aa8f60.png" style="max-height:150px; width:auto; display:block;">
|
133
133
|
</a>
|
134
134
|
</td>
|
135
135
|
<td>
|
136
|
-
<a target="_blank" href="https://docs.streamlit.io/
|
136
|
+
<a target="_blank" href="https://docs.streamlit.io/develop/concepts/multipage-apps">
|
137
137
|
<img src="https://user-images.githubusercontent.com/7164864/215173883-eae0de69-7c1d-4d78-97d0-3bc1ab865e5b.gif" style="max-height:150px; width:auto; display:block;">
|
138
138
|
</a>
|
139
139
|
</td>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
streamlit/__init__.py,sha256=
|
1
|
+
streamlit/__init__.py,sha256=Xcjgbf8ntwMNep9VcSlDyRQDbMnHOkmEy7ILgzy9nG8,8796
|
2
2
|
streamlit/__main__.py,sha256=8vHowjccJfFMwrA22IEe3ynE9F670mkspbo9rYdM0ks,868
|
3
3
|
streamlit/case_converters.py,sha256=SprbXtdNr0syzbUPeClp7KE5dSKOiAo-5FWENCW08Do,2468
|
4
4
|
streamlit/cli_util.py,sha256=P7A6R9D8whD9mytXHAfIax18hrxweUk5Ma8Klb99SeY,1420
|
@@ -33,14 +33,14 @@ streamlit/temporary_directory.py,sha256=eBv5q0CR9GApa-itZBaGtqQKMl248H0HojEVKzkS
|
|
33
33
|
streamlit/time_util.py,sha256=zPDirzZDAOPzGogHy-4wOalfBb7zCNCvFEfkZf03otc,2836
|
34
34
|
streamlit/type_util.py,sha256=0sRlyamlv31HzIt0aaOccpd1U9dtB4ghaFoVgV4gKZc,48505
|
35
35
|
streamlit/url_util.py,sha256=iU1lpZhzW4ZjhjBhSdw39OzixnThIsxhXpDP-ZIgUT8,3019
|
36
|
-
streamlit/user_info.py,sha256=
|
36
|
+
streamlit/user_info.py,sha256=tvv__45d7cA6tNrGw1vHtWwc6QLtmXTM5xZoYeTs1cw,3383
|
37
37
|
streamlit/util.py,sha256=0Phev7Lytvcy_eqIjpoGl2-7mOODwAwArY2zJpavEh8,6375
|
38
38
|
streamlit/version.py,sha256=dAqFbNh-ln7p47GRRDVHuqag-JZUYpMe47uqFxVb7Tw,763
|
39
39
|
streamlit/commands/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
40
40
|
streamlit/commands/execution_control.py,sha256=H2Xb9ou_9nXmusEcK0ZuE0ct8StuE50Hse9Tm0T1r-I,5711
|
41
41
|
streamlit/commands/experimental_query_params.py,sha256=axNJrNpOICoUCVXORo8rvq0l7EBoCGKd10s-wAopxMY,4980
|
42
42
|
streamlit/commands/logo.py,sha256=H3Rlk45D38mfAsk7t_E4wQOq76wn9FKdUKeeNH73Rf8,5682
|
43
|
-
streamlit/commands/navigation.py,sha256=
|
43
|
+
streamlit/commands/navigation.py,sha256=fgQiBkkj83d_ju2Zyy-JnA21EtcAAHKW_CZFHQn0WtM,9518
|
44
44
|
streamlit/commands/page_config.py,sha256=FJXZ4MvNlgeVC3QUmE9vagHSfTvHaXoBxuXTuJrVSog,12997
|
45
45
|
streamlit/components/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
46
46
|
streamlit/components/lib/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
@@ -50,7 +50,7 @@ streamlit/components/types/base_component_registry.py,sha256=Zw8uO9qTKcpYJokkML_
|
|
50
50
|
streamlit/components/types/base_custom_component.py,sha256=a8fvmmf8DN18fhezsdgkr9Bzi4ue7G_TUG66sBSbsp0,4262
|
51
51
|
streamlit/components/v1/__init__.py,sha256=I7xa1wfGQY84U_nWWsq1i_HO5kCQ7f0BE5_dEQUiWRw,1027
|
52
52
|
streamlit/components/v1/component_arrow.py,sha256=5v0pSPO97cmfQ7pvdEqo43UFLepI6KhefHq7zta5wjc,4130
|
53
|
-
streamlit/components/v1/component_registry.py,sha256=
|
53
|
+
streamlit/components/v1/component_registry.py,sha256=OfrYqNhRYy0gVD22k5QhEne8mYcq1kWGmb71TjW5ZeQ,4791
|
54
54
|
streamlit/components/v1/components.py,sha256=c4JAnZZ_lEhbjavDVpuy_6unWKxn47-Ke27kiGx00xI,1318
|
55
55
|
streamlit/components/v1/custom_component.py,sha256=VacostE60W9KnryQqvTF3KxOAXJCkQxzNVwkcON5iZw,9361
|
56
56
|
streamlit/connections/__init__.py,sha256=WSOEtrwhiNYti89iCk3O7I83rurZl8gXoM8tA2d_E-U,1083
|
@@ -61,40 +61,40 @@ streamlit/connections/sql_connection.py,sha256=ceUwbCZGdCMwypnnTpAJpVtLGZV_CxzmC
|
|
61
61
|
streamlit/connections/util.py,sha256=3Ryc93a5KstsVwQl6ug5cmb8F-WQoD4c0mBWNPLoFsY,3022
|
62
62
|
streamlit/elements/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
63
63
|
streamlit/elements/alert.py,sha256=nf_Pyr6s7ms8DNDp21__qSsZUddul_mHuXUR7e6rCZk,7432
|
64
|
-
streamlit/elements/arrow.py,sha256=
|
64
|
+
streamlit/elements/arrow.py,sha256=7AB3bt_5_iKKL-pCLqSiSI2dtF-ifa4ZDJs-355ZzcE,28152
|
65
65
|
streamlit/elements/balloons.py,sha256=QnORgG96Opga1SVg8tUBOm-l3nMpKWmjvy1crcS2XaU,1482
|
66
66
|
streamlit/elements/bokeh_chart.py,sha256=UffqDmO_yyMG-a8t2QzWEsxxpJteFaNRGXWrci0fFPc,4257
|
67
67
|
streamlit/elements/code.py,sha256=z63aR1xrYPyUBaFNyLbn5m1cY-KYIC7eJPg6qHGy4Ek,2480
|
68
|
-
streamlit/elements/deck_gl_json_chart.py,sha256=
|
69
|
-
streamlit/elements/dialog_decorator.py,sha256=
|
68
|
+
streamlit/elements/deck_gl_json_chart.py,sha256=SW4siwXYvNssyzyiDWpTWPU1D8oAKNyTJ06w1fetmOE,6905
|
69
|
+
streamlit/elements/dialog_decorator.py,sha256=lKZpsbEklFYaYO7Fx7OxDwRqsK6fEgyYHTT3EsgIQ1A,8227
|
70
70
|
streamlit/elements/doc_string.py,sha256=Bc-3His1071cFfrpidgE5HUgolAd3mzEZJIQ3dyyFe4,16172
|
71
71
|
streamlit/elements/empty.py,sha256=VyYZAeipAt73mYYYTobMlIQa6GWq6xfVHtEaK4VOpUA,3853
|
72
72
|
streamlit/elements/exception.py,sha256=O2i45dgHlQfugToe5J2TS0ioun5EmAnu41p_lOWNVKQ,9139
|
73
73
|
streamlit/elements/form.py,sha256=jbkeyO_sU0a8ZuutlnYENakLApKI0pKTMzuf4AXy-98,12422
|
74
74
|
streamlit/elements/graphviz_chart.py,sha256=iNi_M94FZIGiiIfhzmjHWaBq4gAHGjcgokH-Ri1qHyI,4887
|
75
75
|
streamlit/elements/heading.py,sha256=P138T1fMR0AKESewo8lOxn_PIFGACroj_VrOP1QZ2fA,11272
|
76
|
-
streamlit/elements/html.py,sha256=
|
77
|
-
streamlit/elements/iframe.py,sha256=
|
76
|
+
streamlit/elements/html.py,sha256=On0eJKdpveVNnPDU4ApYCQQwM7wqj0GNJh9s8rUranE,2687
|
77
|
+
streamlit/elements/iframe.py,sha256=HwfwNQmlN9kmylqLbXEkUb_44ei36UxyZB7hWiSLNDY,5780
|
78
78
|
streamlit/elements/image.py,sha256=QqYMR36L29LL9f6Dcmw73Mn2V1oqh6aI38Efs9rI_Ew,20416
|
79
79
|
streamlit/elements/json.py,sha256=d1PHLaHDsrgQEv__KspWvwIvcufru_v5L871qEPStWM,3365
|
80
|
-
streamlit/elements/layouts.py,sha256=
|
81
|
-
streamlit/elements/map.py,sha256=
|
82
|
-
streamlit/elements/markdown.py,sha256=
|
80
|
+
streamlit/elements/layouts.py,sha256=cGKgXMv3IwdsinqqC6B3d8X1-F3jhx7o04e5O_-4AGU,31963
|
81
|
+
streamlit/elements/map.py,sha256=hdKzOsWhXPrfU98HJ-12xgnvMyvBd3dPnTUjwUPZKvc,16648
|
82
|
+
streamlit/elements/markdown.py,sha256=ESaOIk31BldHGfAYjohIopncP5IHPefUXN7EdZPPZCQ,10513
|
83
83
|
streamlit/elements/media.py,sha256=svqoP1loCHK7UOXVk8XfwHYjQ8HMCsSO2VTkCvPVRhY,29682
|
84
84
|
streamlit/elements/metric.py,sha256=2kTFp8T-_s2z49uBTiD6zc9y_YMET1KQG08dm0XfjQo,10118
|
85
|
-
streamlit/elements/plotly_chart.py,sha256=
|
85
|
+
streamlit/elements/plotly_chart.py,sha256=hSMPCZ65Q_BNGL7544cYDfGEuFcHoU32zNHDE4X5z-M,19455
|
86
86
|
streamlit/elements/progress.py,sha256=7PbyifyZ4vqYijBonXWLsujST3mVaKVyMaYvP3yinEk,5844
|
87
87
|
streamlit/elements/pyplot.py,sha256=sS84CJuO1ENnF0DyYSnlWoeDKb4w22Q_fMAqMCylniQ,6821
|
88
88
|
streamlit/elements/snow.py,sha256=WHqk8zmfOr5iD0R-wLlAdlIkDDbiaayguTVmA4e7V_Q,1439
|
89
89
|
streamlit/elements/spinner.py,sha256=ZMJlO-J77lpQZbRPvqJ80ur9u11dBUwJr6JgDct8TLY,2934
|
90
90
|
streamlit/elements/text.py,sha256=-g2LYiJpP2OAdllpd7Df9rhTehIOEuiZN7-u1jwKEio,1856
|
91
|
-
streamlit/elements/toast.py,sha256=
|
92
|
-
streamlit/elements/vega_charts.py,sha256=
|
93
|
-
streamlit/elements/write.py,sha256=
|
91
|
+
streamlit/elements/toast.py,sha256=aT_cIaQZOpG34pBGGyV7YaW0XBj1ircE5cXs2O7KzUU,4343
|
92
|
+
streamlit/elements/vega_charts.py,sha256=MPRb2D8z1r0k61vLH-1GqNGIwTY2wqtkGwg5aNgQwA8,74285
|
93
|
+
streamlit/elements/write.py,sha256=9kpeYFx8huqQOPR_3me2vXjXbyWwipBNpMcwp1icnHI,21021
|
94
94
|
streamlit/elements/lib/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
95
95
|
streamlit/elements/lib/built_in_chart_utils.py,sha256=VStm5ps5G1OqllEXkCQxzSTUUC7IY199O9zHxVvITqc,32285
|
96
96
|
streamlit/elements/lib/column_config_utils.py,sha256=-33zN3dALfvBdV0KAaLMpXNv7xwNrekCoG2r-pmr3B8,17379
|
97
|
-
streamlit/elements/lib/column_types.py,sha256=
|
97
|
+
streamlit/elements/lib/column_types.py,sha256=anShsRYM3brr30bB7B-j3PBm3pJwD7dBpFz-7zwSfwY,51180
|
98
98
|
streamlit/elements/lib/dialog.py,sha256=qaQjJNeaXanqCBtJ-rDv1vY2oCLRSiigdi7qKtYaldw,5732
|
99
99
|
streamlit/elements/lib/dicttools.py,sha256=9zXu6Z5Ky4ul74RBGB8Roi5LDoB_GTo_0vd2GNSnohQ,3827
|
100
100
|
streamlit/elements/lib/event_utils.py,sha256=wJaZxBH-x9icnWmDuO9ukIQhHek9T2rcxlrD7UVzmvk,1496
|
@@ -105,13 +105,13 @@ streamlit/elements/lib/streamlit_plotly_theme.py,sha256=DgMP_PWTfFO5J__q8bGxoT3e
|
|
105
105
|
streamlit/elements/lib/subtitle_utils.py,sha256=ciPgQ6Yi3NS7OdFgDH6lGFwDZpv022flEyQKY5lHNiE,6245
|
106
106
|
streamlit/elements/lib/utils.py,sha256=-qSsOqspqHU-UbkU0W3wYzPZznczRoP1qwJF1u8MnC4,4956
|
107
107
|
streamlit/elements/widgets/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
108
|
-
streamlit/elements/widgets/button.py,sha256=
|
108
|
+
streamlit/elements/widgets/button.py,sha256=M5uqRHDzOjoSGZkAdZIjOTzaxVJyFgAA7HVcRB6m32A,34281
|
109
109
|
streamlit/elements/widgets/camera_input.py,sha256=sb3QIklg9ZSFf57paxbdBXK_nPmuz1tOiypPtJzCyH0,9262
|
110
110
|
streamlit/elements/widgets/chat.py,sha256=xnSFN8scw5rAiGYCfdg4jEo06m2Oga3G6xaZGeDaph4,14364
|
111
111
|
streamlit/elements/widgets/checkbox.py,sha256=-RxCOfGzVajFgGfuAiligKxRc-ClMEUDHpzGEw10W0w,12694
|
112
112
|
streamlit/elements/widgets/color_picker.py,sha256=oPItMUwdm4CZTb-nQ5Wxj6LOSaAr--LPLivMQFKreEQ,9285
|
113
|
-
streamlit/elements/widgets/data_editor.py,sha256=
|
114
|
-
streamlit/elements/widgets/file_uploader.py,sha256=
|
113
|
+
streamlit/elements/widgets/data_editor.py,sha256=3iNKef9Z4dyVDXLAGxmSH5qTYFKqH0ac7cubIrKGXEc,36489
|
114
|
+
streamlit/elements/widgets/file_uploader.py,sha256=xBbiXu6fVqBQBt1fcA5XpLwUE8AWv5CdiTMF7tR2nj8,17727
|
115
115
|
streamlit/elements/widgets/multiselect.py,sha256=ywfPh4nU6M_xzRzn1cZr5hGTHnCnVuus8d_ZcIPPPKY,13874
|
116
116
|
streamlit/elements/widgets/number_input.py,sha256=lYEHr62tOlwG1j031ar5kSHr5u3BGW5PpWXEVAcS884,18021
|
117
117
|
streamlit/elements/widgets/radio.py,sha256=fElZDC-TmFvBqIWCgzSlPeak3jVu4bEGMDab970xgdU,12954
|
@@ -126,13 +126,13 @@ streamlit/external/langchain/streamlit_callback_handler.py,sha256=Q4RRYmYOj4zJjv
|
|
126
126
|
streamlit/hello/Animation_Demo.py,sha256=36WQKLmFqNLtG5GYM-cU0DVCRJoiAm4Q1k7Qe2f6owE,2955
|
127
127
|
streamlit/hello/Dataframe_Demo.py,sha256=G0c3h04Kk8sHcY63AIKHcCWLSqoZiHTFgjGGRAOGCN8,2527
|
128
128
|
streamlit/hello/Hello.py,sha256=dNr74BkA5j_nTDd0ikgPmKHuWGuTN2eB-4Q2_TiaO6k,1528
|
129
|
-
streamlit/hello/Mapping_Demo.py,sha256=
|
129
|
+
streamlit/hello/Mapping_Demo.py,sha256=xcPBTZ070FDlRxqpK23cIyY7R8Ly0RUDTekzaeX7B_k,3826
|
130
130
|
streamlit/hello/Plotting_Demo.py,sha256=hRHcgAxi-bx0L_HySvrWBpEfA9SMdGCCeZD78mlzIDY,1743
|
131
131
|
streamlit/hello/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
132
132
|
streamlit/hello/streamlit_app.py,sha256=KTc8e_60aQL8v9WscsVHws5JPLIxqJ94Ldt-GKnuGsU,1073
|
133
133
|
streamlit/hello/utils.py,sha256=IZMM6MZ4tcrLuSN9RWmMEYlzTbbzA3trpq6Pa82NeRw,992
|
134
134
|
streamlit/navigation/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
135
|
-
streamlit/navigation/page.py,sha256=
|
135
|
+
streamlit/navigation/page.py,sha256=XRzLt0Og3uD1kHYy1MtwHCmP0Iz0ONsg2A6U6NoToAM,10917
|
136
136
|
streamlit/proto/Alert_pb2.py,sha256=rGlkoiE7c-gmZbYpuhRdFmRkYLcR3AmdHH3lHw8q1-E,1565
|
137
137
|
streamlit/proto/Alert_pb2.pyi,sha256=sf1JHN92JSQs2_15clCjEfBGPByTTG-FSSZ-qGjWLXk,3106
|
138
138
|
streamlit/proto/AppPage_pb2.py,sha256=zc06HvAElRirQavLwn0TzwJFhB3kvYRxSRdCS1P9ozE,1443
|
@@ -292,7 +292,7 @@ streamlit/runtime/connection_factory.py,sha256=hrDAlltHMgW8uYFdiER-wBFg_9KrTBrXV
|
|
292
292
|
streamlit/runtime/credentials.py,sha256=oMUw4SWHMbk-b4Z7tGWWLQIZBsFF-4xDBjbxzNNJ8x8,11333
|
293
293
|
streamlit/runtime/forward_msg_cache.py,sha256=Oj-c3BhTRLrXhGBzX21ioq8gTsN4nqjyRL0jr4TqlZk,9750
|
294
294
|
streamlit/runtime/forward_msg_queue.py,sha256=xiH-ZRVOswiABLEyChJbfkIGBACy2l8nQKueL6bkrJc,6420
|
295
|
-
streamlit/runtime/fragment.py,sha256=
|
295
|
+
streamlit/runtime/fragment.py,sha256=rjHsFmE_K9kFIQAZd2bp9MPlHHT2v05kWDN8PLuYvWk,14116
|
296
296
|
streamlit/runtime/media_file_manager.py,sha256=3oHbB6Hs9wMa6z6tuF1NkyQkUaBOm8V6ogWxj56IcS8,8508
|
297
297
|
streamlit/runtime/media_file_storage.py,sha256=hQkMC__XRjshEUD73QCSrX3vrfOOO0U7Vf1Uc6qiP90,4375
|
298
298
|
streamlit/runtime/memory_media_file_storage.py,sha256=9jzWImu9qCUGbJ61c4UhkxRSAPvHLFxNdaPiICPKQtU,6277
|
@@ -301,22 +301,22 @@ streamlit/runtime/memory_uploaded_file_manager.py,sha256=rCLvdZv2nPlWeCiHnwV8phc
|
|
301
301
|
streamlit/runtime/metrics_util.py,sha256=BmPUOXMf33GhohI9wGrYf4ZLstTxWD2fNQQmyhsO7ic,15179
|
302
302
|
streamlit/runtime/pages_manager.py,sha256=86GpkkRCNxRsgH-Kq10GLmjsTPgKX-ua42YfL8CsLq8,14123
|
303
303
|
streamlit/runtime/runtime.py,sha256=gUDK50PLzY3xdX1KpHeXM1nVTmtSmNtDPNYsccU7g-0,29334
|
304
|
-
streamlit/runtime/runtime_util.py,sha256=
|
304
|
+
streamlit/runtime/runtime_util.py,sha256=pPgc524cnmjVffZp_QuH3Yql8TFxuSs23gjnv7gIhqk,4021
|
305
305
|
streamlit/runtime/script_data.py,sha256=-sBITUF0U7DIDL5LE_nFpXAvjnEfiJ9J3HAnnqML9ds,1749
|
306
|
-
streamlit/runtime/secrets.py,sha256=
|
306
|
+
streamlit/runtime/secrets.py,sha256=fXKjUj3r24NKOg4PJl8Ae_U7pWVwxwVAezevZPEfaMw,12811
|
307
307
|
streamlit/runtime/session_manager.py,sha256=YjF_HN4V7XoVO2FczZVBTFau-uv03v6AP-rHy_4fYw4,13070
|
308
308
|
streamlit/runtime/stats.py,sha256=cwTXk1qSv2U5mBbf43iTsyFUVr9OQ0Q5xKCZu545Nwg,3800
|
309
309
|
streamlit/runtime/uploaded_file_manager.py,sha256=RqHZr61sNJv4Z6e5uTCOI5o-vcLGGfKW9Dh6LQkeORM,4822
|
310
310
|
streamlit/runtime/websocket_session_manager.py,sha256=fijI2KolKVbWMsxYlmIoxxy8x-u_7i1sYYfrvnjhdU4,6354
|
311
311
|
streamlit/runtime/caching/__init__.py,sha256=In1l0d9Bkn52m1Fe6nFWDkzAXlwVpEWh1hZVBZpKCZ8,4447
|
312
|
-
streamlit/runtime/caching/cache_data_api.py,sha256=
|
313
|
-
streamlit/runtime/caching/cache_errors.py,sha256=
|
314
|
-
streamlit/runtime/caching/cache_resource_api.py,sha256=
|
312
|
+
streamlit/runtime/caching/cache_data_api.py,sha256=C96qEpJpHZJOv8FxiXBxUsu24HcYrdKag1a52fbzPjM,26654
|
313
|
+
streamlit/runtime/caching/cache_errors.py,sha256=0yMPp7XhePilU91rIYu_XEuKnv6qeixW5a_YirpHWS8,4760
|
314
|
+
streamlit/runtime/caching/cache_resource_api.py,sha256=cLC2xGfPn0h55q2dH4u4DSHKDxCubCVphgY_X2MW4Wc,21814
|
315
315
|
streamlit/runtime/caching/cache_type.py,sha256=P21JWouFWU0qXQyHbM3y3A1pLZud90ALGeO4bQ5Pvew,1131
|
316
316
|
streamlit/runtime/caching/cache_utils.py,sha256=kuEPuuCChek9rsIWV05AH9gpUxreH2JspxBdNOoB_Ow,18366
|
317
317
|
streamlit/runtime/caching/cached_message_replay.py,sha256=20lsH6isxIr6Mpixywj-_I6ltFDD_NX4MnmWia4LRVA,17973
|
318
318
|
streamlit/runtime/caching/hashing.py,sha256=05cvu9x_KV2pQp8pisH_mTIL0pqbBhobf3HZWVpNT6w,18988
|
319
|
-
streamlit/runtime/caching/legacy_cache_api.py,sha256=
|
319
|
+
streamlit/runtime/caching/legacy_cache_api.py,sha256=yhhJkDAZo_apGVC96IydBxV87NeVHiANJHzlGu7GTDQ,6033
|
320
320
|
streamlit/runtime/caching/storage/__init__.py,sha256=b3JyzTI6Nyc3htcNZAq_f-XP3jMqnW2UNEbK3bm8bVs,965
|
321
321
|
streamlit/runtime/caching/storage/cache_storage_protocol.py,sha256=5wf3gRqa1Msjt-qPbcsuV741rKq3lcT1J6Nj4g0aPFI,8921
|
322
322
|
streamlit/runtime/caching/storage/dummy_cache_storage.py,sha256=IVQJs1KH3kkn0dc8YsLs3F7FX9wn2ZzTmyRgCTg7MYo,1945
|
@@ -327,19 +327,19 @@ streamlit/runtime/scriptrunner/magic.py,sha256=p1H8UiSoTSryirl8jf1-jpba8a1NvmlKn
|
|
327
327
|
streamlit/runtime/scriptrunner/magic_funcs.py,sha256=_npS_w-0riPNr1-dPyOSjqrwTXoeSR-gXWFkChQ5Yjc,1056
|
328
328
|
streamlit/runtime/scriptrunner/script_cache.py,sha256=ZpaB4T50_GYfhMc2dajSMXWCmS3kaUJ_tPHNVt_flBg,2856
|
329
329
|
streamlit/runtime/scriptrunner/script_requests.py,sha256=2QSboPtHbwm5erUiU-cjJ4DJGlTTkE0mpFLBr6cMjFQ,8065
|
330
|
-
streamlit/runtime/scriptrunner/script_run_context.py,sha256=
|
330
|
+
streamlit/runtime/scriptrunner/script_run_context.py,sha256=joIcYJilC5MSV6GKy_2mpQMk-3VG0amtxOYf5af54Dc,9313
|
331
331
|
streamlit/runtime/scriptrunner/script_runner.py,sha256=mP8S8o7OXYqx-2jxFB0iTzVsTyMzRPQmkC9X9E92bZU,29500
|
332
332
|
streamlit/runtime/state/__init__.py,sha256=UpfNfPrWJ6rVdD-qc0IP_bwZ4MrcNUjyU9wEKDK-eWM,1528
|
333
333
|
streamlit/runtime/state/common.py,sha256=2Afh-o79jx2y_GeWIKO_O8MlUcu1lvLqCtYrc-ePX-I,8175
|
334
334
|
streamlit/runtime/state/query_params.py,sha256=cESFE1Jq4oN6YpgocUsX0f1sSHMyGRoupbxm9X6v3NM,7477
|
335
335
|
streamlit/runtime/state/query_params_proxy.py,sha256=gxaCF6-jmoM8HWXwQOdC6XgVjVdIYtqiicG3I2hQsLk,7152
|
336
336
|
streamlit/runtime/state/safe_session_state.py,sha256=WLFFyMtP4F19TWWBarKtSP942IepI2eeSBhifwbuFgY,5222
|
337
|
-
streamlit/runtime/state/session_state.py,sha256=
|
338
|
-
streamlit/runtime/state/session_state_proxy.py,sha256=
|
337
|
+
streamlit/runtime/state/session_state.py,sha256=__3NVXfqjZLGYBDk2AkYpFdJ6hMvIfRp4jPYDLHl75s,27403
|
338
|
+
streamlit/runtime/state/session_state_proxy.py,sha256=9xGk-_h3l2vwIvbt20MPhVDm20noblfMd45NY9Qv-zE,5473
|
339
339
|
streamlit/runtime/state/widgets.py,sha256=SUK9ALNrK6b8LtYy0Tl_giALxnokod9PhxctgJhhS2E,11445
|
340
|
-
streamlit/static/asset-manifest.json,sha256=
|
340
|
+
streamlit/static/asset-manifest.json,sha256=uStVeIJKEfqYyI1vqfAm53LYhECYjUYbiQ8nRkciwGA,14353
|
341
341
|
streamlit/static/favicon.png,sha256=if5cVgw7azxKOvV5FpGixga7JLn23rfnHcy1CdWI1-E,1019
|
342
|
-
streamlit/static/index.html,sha256=
|
342
|
+
streamlit/static/index.html,sha256=bXRUfrkT3hFVfxp1BzGeow3JPPeh-Bj4MPzdid8ghyA,891
|
343
343
|
streamlit/static/static/css/3466.8b8f33d6.chunk.css,sha256=4m2lbj1eVFXSaGCRBHZNhqyRz-4Ce9KogjJPxIq6On8,33275
|
344
344
|
streamlit/static/static/css/5441.e3b876c5.chunk.css,sha256=XExLUUHInaWJp_m8TtBWhQ88SUuxZl6Jnnw5NA6rwI4,2633
|
345
345
|
streamlit/static/static/css/8148.49dfd2ce.chunk.css,sha256=LjBHDWjz8Hi0dr3DH9ujdlw4E2llc0xdDQHR64H4NQ8,12090
|
@@ -393,9 +393,9 @@ streamlit/static/static/js/7602.a20a999b.chunk.js,sha256=5HHbh_mfxBhp8ZPI_u03JKC
|
|
393
393
|
streamlit/static/static/js/7805.acc6316a.chunk.js,sha256=YyXY3PAy2jMjjboKbm_8FKBYEyXVoAOaYOXzNVBQmLk,4610
|
394
394
|
streamlit/static/static/js/8005.43974a35.chunk.js,sha256=0WJomUw6UcQmH5JyhRJbaTUPk52drggGHoau5qKzxoQ,3358
|
395
395
|
streamlit/static/static/js/8148.1b2c085e.chunk.js,sha256=g0iGB20YLtfWV4L1OoIKpzCNqy-xN40bT9a57R1sv00,51222
|
396
|
-
streamlit/static/static/js/8427.
|
396
|
+
streamlit/static/static/js/8427.5192ee0c.chunk.js,sha256=GMQqO4n88dExLu7j4jFoQ5bSoa0itmCWpPlT5IYabKQ,3134
|
397
397
|
streamlit/static/static/js/8477.de889fe5.chunk.js,sha256=zSHIjuqcBrVcEFGrUI_xbwRRRFfrU7iZntdezrPzMOw,1889
|
398
|
-
streamlit/static/static/js/8536.
|
398
|
+
streamlit/static/static/js/8536.f7b26b02.chunk.js,sha256=C8DkbkXA977sGZLTYIcEH2sqBFVcJC2YKwj5QFnXINk,10217
|
399
399
|
streamlit/static/static/js/8570.6de19120.chunk.js,sha256=Dxg1jh1yRSXs21gOKvtU19QLvk7BSJRbaj7HC5D8odM,12214
|
400
400
|
streamlit/static/static/js/8571.cfc22b99.chunk.js,sha256=vME3kfn7jSk1wnzcLqrlkclolf3IBK5mppEFQrfdL1c,21241
|
401
401
|
streamlit/static/static/js/8691.cb9c04cf.chunk.js,sha256=UbIlxNH3Snlw9lUA8W-cDOQnmFnUlt7WyovvYfKCjs8,10652
|
@@ -407,8 +407,8 @@ streamlit/static/static/js/9656.8c935274.chunk.js,sha256=3VB6NT0EQErJUX2SYLQpmNA
|
|
407
407
|
streamlit/static/static/js/9865.fd93213d.chunk.js,sha256=Ul2N951ZrAXpJOWo4SV4AKlymjMMNPJxpea3uRt8B_Y,4011
|
408
408
|
streamlit/static/static/js/9945.47d54f35.chunk.js,sha256=hhr3CT-A7_nboARJ6yPmoB69w1mljn8GzMnsyu-moZg,398776
|
409
409
|
streamlit/static/static/js/9945.47d54f35.chunk.js.LICENSE.txt,sha256=6s4mSSf8NHGJqUCFAj3VgMXZuNYyAzshKRhvxYZTQoU,281
|
410
|
-
streamlit/static/static/js/main.
|
411
|
-
streamlit/static/static/js/main.
|
410
|
+
streamlit/static/static/js/main.7994a814.js,sha256=PuK96YVo8G7_aKpwlVGR7dGVJRVwnXCrwSBrII_sEC0,4424694
|
411
|
+
streamlit/static/static/js/main.7994a814.js.LICENSE.txt,sha256=YTeqT7R6idssTgnyi3gf0tRiq18-LiPeDOpsWcnbi34,3184
|
412
412
|
streamlit/static/static/media/KaTeX_AMS-Regular.73ea273a72f4aca30ca5.woff2,sha256=DN04fJWQoan5eUVgAi27WWVKfYbxh6oMgUla1C06cwg,28076
|
413
413
|
streamlit/static/static/media/KaTeX_AMS-Regular.853be92419a6c3766b9a.ttf,sha256=aFNIQLz90r_7bw6N60hoTdAefwTqKBMmdXevuQbeHRM,63632
|
414
414
|
streamlit/static/static/media/KaTeX_AMS-Regular.d562e886c52f12660a41.woff,sha256=MNqR6EyJP4deJSaJ-uvcWQsocRReitx_mp1NvYzgslE,33516
|
@@ -497,7 +497,7 @@ streamlit/static/static/media/logo.83ae4f2fb87e38be7cbb8a5d2beb64d2.svg,sha256=_
|
|
497
497
|
streamlit/static/static/media/rocket.b75b17d2b0a063c6cea230d1a9d77f1e.svg,sha256=6ZIRbOQuBNsdJnpfrNMq-6mYpYDN8qJGVsxkZIn8bP8,39315
|
498
498
|
streamlit/testing/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
499
499
|
streamlit/testing/v1/__init__.py,sha256=XGxNOq4VfmwlVj9K6vXB8dAH1YbI_8AIsvw_vbzQoNA,690
|
500
|
-
streamlit/testing/v1/app_test.py,sha256=
|
500
|
+
streamlit/testing/v1/app_test.py,sha256=cRRGOX53EZKCZgl22OOzrCmEbgGsLDJ4tnIzhNXNL3A,36879
|
501
501
|
streamlit/testing/v1/element_tree.py,sha256=uFRC3vCg0Ov3p4ZiIDzY1-cSSsp7BpX2LVw9I6tWCT0,59961
|
502
502
|
streamlit/testing/v1/local_script_runner.py,sha256=OSbOJJooiy70lkjYMqAytWm7X_12Ry7G1JZHaLl3-cI,6595
|
503
503
|
streamlit/testing/v1/util.py,sha256=IwxXIlGsVNtC1RmtmgdeBHmJYPjK0wiqNL4HMW6IJZI,1791
|
@@ -527,9 +527,9 @@ streamlit/web/server/server_util.py,sha256=C3M971XFoEXTMufQLwHbZdtZOE30nWx-2WiXm
|
|
527
527
|
streamlit/web/server/stats_request_handler.py,sha256=47nQHe4ETsO9QS9FAEUF8rZigU_k5eACJZw4-jc8U6c,3684
|
528
528
|
streamlit/web/server/upload_file_request_handler.py,sha256=ftyKpARrUjOpRcFETIXuoTyOG_mo-ToOw5NI0y_W4lE,5003
|
529
529
|
streamlit/web/server/websocket_headers.py,sha256=07SkWLcOxbyldl7UcBzrMKY9ZojypCQACiKoh5FcH7Y,1870
|
530
|
-
streamlit_nightly-1.35.1.
|
531
|
-
streamlit_nightly-1.35.1.
|
532
|
-
streamlit_nightly-1.35.1.
|
533
|
-
streamlit_nightly-1.35.1.
|
534
|
-
streamlit_nightly-1.35.1.
|
535
|
-
streamlit_nightly-1.35.1.
|
530
|
+
streamlit_nightly-1.35.1.dev20240615.data/scripts/streamlit.cmd,sha256=ZEYM3vBJSp-k7vwSJ3ba5NzEk9-qHdSeLvGYAAe1mMw,676
|
531
|
+
streamlit_nightly-1.35.1.dev20240615.dist-info/METADATA,sha256=e8WB7H0YhYn8WDYXB5ZWhdcWvmBWnBreRug4Y6uFa60,8532
|
532
|
+
streamlit_nightly-1.35.1.dev20240615.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
533
|
+
streamlit_nightly-1.35.1.dev20240615.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
|
534
|
+
streamlit_nightly-1.35.1.dev20240615.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
|
535
|
+
streamlit_nightly-1.35.1.dev20240615.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[8536],{72394:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>K});var o=i(66845),n=i(70145),s=i(97365),r=i(62813),a=i.n(r),l=i(3717),c=i(25621),d=i(27466),h=i(88766),p=i(699),m=i(96260),u=i(24002),g=i(29378),x=i(80248),w=i(87072),b=i(12879),y=i(47203),S=i(61355),v=i(56264),f=i(19754),k=i(23593),j=i(63765),T=i(13005),C=i.n(T),z=i(82309),V=i(40864);const E=e=>{let{error:t,width:i,deltaType:o}=e;return t instanceof D?(0,V.jsx)(z.Z,{width:i,name:"No Mapbox token provided",message:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)("p",{children:["To use ",(0,V.jsxs)("code",{children:["st.",o]})," or ",(0,V.jsx)("code",{children:"st.map"})," you need to set up a Mapbox access token."]}),(0,V.jsxs)("p",{children:["To get a token, create an account at"," ",(0,V.jsx)("a",{href:"https://mapbox.com",children:"https://mapbox.com"}),". It's free for moderate usage levels!"]}),(0,V.jsxs)("p",{children:["Once you have a token, just set it using the Streamlit config option ",(0,V.jsx)("code",{children:"mapbox.token"})," and don't forget to restart your Streamlit server at this point if it's still running, then reload this tab."]}),(0,V.jsxs)("p",{children:["See"," ",(0,V.jsx)("a",{href:"https://docs.streamlit.io/library/advanced-features/configuration#view-all-configuration-options",children:"our documentation"})," ","for more info on how to set config options."]})]})}):t instanceof M?(0,V.jsx)(z.Z,{width:i,name:"Error fetching Streamlit Mapbox token",message:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("p",{children:"This app requires an internet connection."}),(0,V.jsx)("p",{children:"Please check your connection and try again."}),(0,V.jsxs)("p",{children:["If you think this is a bug, please file bug report"," ",(0,V.jsx)("a",{href:"https://github.com/streamlit/streamlit/issues/new/choose",children:"here"}),"."]})]})}):(0,V.jsx)(z.Z,{width:i,name:"Error fetching Streamlit Mapbox token",message:t.message})};var F=i(18080),Z=i(16295),I=i(72012),O=i(66694);class D extends Error{}class M extends Error{}const P="https://data.streamlit.io/tokens.json",W="mapbox",J=e=>t=>{class i extends o.PureComponent{constructor(i){super(i),this.context=void 0,this.initMapboxToken=async()=>{try{const e=await F.Z.get(P),{[W]:t}=e.data;if(!t)throw new Error("Missing token ".concat(W));this.setState({mapboxToken:t,isFetching:!1})}catch(e){const t=(0,j.b)(e);throw this.setState({mapboxTokenError:t,isFetching:!1}),new M("".concat(t.message," (").concat(P,")"))}},this.render=()=>{const{mapboxToken:i,mapboxTokenError:o,isFetching:n}=this.state,{width:s}=this.props;return o?(0,V.jsx)(E,{width:s,error:o,deltaType:e}):n?(0,V.jsx)(I.O,{element:Z.Od.create({style:Z.Od.SkeletonStyle.ELEMENT})}):(0,V.jsx)(t,{...this.props,mapboxToken:i,width:s})},this.state={isFetching:!0,mapboxToken:void 0,mapboxTokenError:void 0}}componentDidMount(){const e=this.props.element.mapboxToken||this.context.libConfig.mapboxToken;e?this.setState({mapboxToken:e,isFetching:!1}):this.initMapboxToken()}}return i.displayName="withMapboxToken(".concat(t.displayName||t.name,")"),i.contextType=O.E,C()(i,t)};var L=i(1515);const N=(0,L.Z)("div",{target:"e1az0zs51"})((e=>{let{width:t,height:i,theme:o}=e;return{marginTop:o.spacing.sm,position:"relative",height:i,width:t}}),""),B=(0,L.Z)("div",{target:"e1az0zs50"})((e=>{let{theme:t}=e;return{position:"absolute",right:"2.625rem",top:t.spacing.md,zIndex:1,"button:not(:disabled)":{background:t.colors.bgColor,"& + button":{borderTopColor:t.colors.secondaryBg},"& span":{filter:(0,d.Iy)(t)?"":"invert(100%)"}}}}),"");i(79259);const _={classes:{...g,...b,...w,...y,CartoLayer:h.Z},functions:{colorBins:p.Z,colorCategories:m.Z,colorContinuous:u.Z}};(0,f.fh)([S.w,v.E]);const R=new x.Z({configuration:_});class H extends o.PureComponent{constructor(){super(...arguments),this.state={viewState:{bearing:0,pitch:0,zoom:11},initialized:!1,initialViewState:{},id:void 0,pydeckJson:void 0,isFullScreen:!1,isLightTheme:(0,d.Iy)(this.props.theme)},this.componentDidMount=()=>{this.setState({initialized:!0})},this.createTooltip=e=>{const{element:t}=this.props;if(!e||!e.object||!t.tooltip)return!1;const i=s.Z.parse(t.tooltip);return i.html?i.html=this.interpolate(e,i.html):i.text=this.interpolate(e,i.text),i},this.interpolate=(e,t)=>{const i=t.match(/{(.*?)}/g);return i&&i.forEach((i=>{const o=i.substring(1,i.length-1);e.object.hasOwnProperty(o)?t=t.replace(i,e.object[o]):e.object.hasOwnProperty("properties")&&e.object.properties.hasOwnProperty(o)&&(t=t.replace(i,e.object.properties[o]))})),t},this.onViewStateChange=e=>{let{viewState:t}=e;this.setState({viewState:t})}}static getDerivedStateFromProps(e,t){const i=H.getDeckObject(e,t);if(!a()(i.initialViewState,t.initialViewState)){const e=Object.keys(i.initialViewState).reduce(((e,o)=>i.initialViewState[o]===t.initialViewState[o]?e:{...e,[o]:i.initialViewState[o]}),{});return{viewState:{...t.viewState,...e},initialViewState:i.initialViewState}}return null}render(){const e=H.getDeckObject(this.props,this.state),{viewState:t}=this.state;return(0,V.jsx)(N,{className:"stDeckGlJsonChart",width:e.initialViewState.width,height:e.initialViewState.height,"data-testid":"stDeckGlJsonChart",children:(0,V.jsxs)(n.Z,{viewState:t,onViewStateChange:this.onViewStateChange,height:e.initialViewState.height,width:e.initialViewState.width,layers:this.state.initialized?e.layers:[],getTooltip:this.createTooltip,ContextProvider:l.X$.Provider,controller:!0,children:[(0,V.jsx)(l.Z3,{height:e.initialViewState.height,width:e.initialViewState.width,mapStyle:e.mapStyle&&("string"===typeof e.mapStyle?e.mapStyle:e.mapStyle[0]),mapboxApiAccessToken:this.props.element.mapboxToken||this.props.mapboxToken}),(0,V.jsx)(B,{children:(0,V.jsx)(l.Pv,{className:"zoomButton",showCompass:!1})})]})})}}H.getDeckObject=(e,t)=>{var i,o;const{element:n,width:r,height:a,theme:l,isFullScreen:c}=e,h=null!==c&&void 0!==c&&c;var p,m,u;(n.id===t.id&&t.isFullScreen===h&&t.isLightTheme===(0,d.Iy)(l)||(t.pydeckJson=s.Z.parse(n.json),t.id=n.id),null!==(i=t.pydeckJson)&&void 0!==i&&i.mapStyle||(t.pydeckJson.mapStyle="mapbox://styles/mapbox/".concat((0,d.Iy)(l)?"light":"dark","-v9")),c)?Object.assign(null===(p=t.pydeckJson)||void 0===p?void 0:p.initialViewState,{width:r,height:a}):(null!==(m=t.pydeckJson)&&void 0!==m&&null!==(u=m.initialViewState)&&void 0!==u&&u.height||(t.pydeckJson.initialViewState.height=500),n.useContainerWidth&&(t.pydeckJson.initialViewState.width=r));return t.isFullScreen=c,t.isLightTheme=(0,d.Iy)(l),null===(o=t.pydeckJson)||void 0===o||delete o.views,R.convert(t.pydeckJson)};const K=(0,c.b)(J("st.pydeck_chart")((0,k.Z)(H)))},23593:(e,t,i)=>{"use strict";i.d(t,{Z:()=>w});var o=i(66845),n=i(13005),s=i.n(n),r=i(25621),a=i(82218),l=i(97781),c=i(46927),d=i(66694),h=i(1515);const p=(0,h.Z)("button",{target:"e1vs0wn31"})((e=>{let{isExpanded:t,theme:i}=e;const o=t?{right:"0.4rem",top:"0.5rem",backgroundColor:"transparent"}:{right:"-3.0rem",top:"-0.375rem",opacity:0,transform:"scale(0)",backgroundColor:i.colors.lightenedBg05};return{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",zIndex:i.zIndices.sidebar+1,height:"2.5rem",width:"2.5rem",transition:"opacity 300ms 150ms, transform 300ms 150ms",border:"none",color:i.colors.fadedText60,borderRadius:"50%",...o,"&:focus":{outline:"none"},"&:active, &:focus-visible, &:hover":{opacity:1,outline:"none",transform:"scale(1)",color:i.colors.bodyText,transition:"none"}}}),""),m=(0,h.Z)("div",{target:"e1vs0wn30"})((e=>{let{theme:t,isExpanded:i}=e;return{"&:hover":{[p]:{opacity:1,transform:"scale(1)",transition:"none"}},...i?{position:"fixed",top:0,left:0,bottom:0,right:0,background:t.colors.bgColor,zIndex:t.zIndices.fullscreenWrapper,padding:t.spacing.md,paddingTop:"2.875rem",overflow:["auto","overlay"],display:"flex",alignItems:"center",justifyContent:"center"}:{}}}),"");var u=i(40864);class g extends o.PureComponent{constructor(e){super(e),this.context=void 0,this.controlKeys=e=>{const{expanded:t}=this.state;27===e.keyCode&&t&&this.zoomOut()},this.zoomIn=()=>{document.body.style.overflow="hidden",this.context.setFullScreen(!0),this.setState({expanded:!0})},this.zoomOut=()=>{document.body.style.overflow="unset",this.context.setFullScreen(!1),this.setState({expanded:!1})},this.convertScssRemValueToPixels=e=>parseFloat(e)*parseFloat(getComputedStyle(document.documentElement).fontSize),this.getWindowDimensions=()=>{const e=this.convertScssRemValueToPixels(this.props.theme.spacing.md),t=this.convertScssRemValueToPixels("2.875rem");return{fullWidth:window.innerWidth-2*e,fullHeight:window.innerHeight-(e+t)}},this.updateWindowDimensions=()=>{this.setState(this.getWindowDimensions())},this.state={expanded:!1,...this.getWindowDimensions()}}componentDidMount(){window.addEventListener("resize",this.updateWindowDimensions),document.addEventListener("keydown",this.controlKeys,!1)}componentWillUnmount(){window.removeEventListener("resize",this.updateWindowDimensions),document.removeEventListener("keydown",this.controlKeys,!1)}render(){const{expanded:e,fullWidth:t,fullHeight:i}=this.state,{children:o,width:n,height:s,disableFullscreenMode:r}=this.props;let d=a.d,h=this.zoomIn,g="View fullscreen";return e&&(d=l.m,h=this.zoomOut,g="Exit fullscreen"),(0,u.jsxs)(m,{isExpanded:e,"data-testid":"stFullScreenFrame",children:[!r&&(0,u.jsx)(p,{"data-testid":"StyledFullScreenButton",onClick:h,title:g,isExpanded:e,children:(0,u.jsx)(c.Z,{content:d})}),o(e?{width:t,height:i,expanded:e,expand:this.zoomIn,collapse:this.zoomOut}:{width:n,height:s,expanded:e,expand:this.zoomIn,collapse:this.zoomOut})]})}}g.contextType=d.E;const x=(0,r.b)(g);const w=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];class i extends o.PureComponent{constructor(){super(...arguments),this.render=()=>{const{width:i,height:o,disableFullscreenMode:n}=this.props;return(0,u.jsx)(x,{width:i,height:o,disableFullscreenMode:t||n,children:t=>{let{width:i,height:o,expanded:n,expand:s,collapse:r}=t;return(0,u.jsx)(e,{...this.props,width:i,height:o,isFullScreen:n,expand:s,collapse:r})}})}}}return i.displayName="withFullScreenWrapper(".concat(e.displayName||e.name,")"),s()(i,e)}},72709:()=>{},72672:()=>{}}]);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|