streamlit-nightly 1.45.2.dev20250617__py3-none-any.whl → 1.46.1.dev20250619__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/components/types/base_custom_component.py +3 -0
- streamlit/components/v1/custom_component.py +2 -0
- streamlit/config.py +9 -0
- streamlit/proto/NewSession_pb2.py +16 -16
- streamlit/proto/NewSession_pb2.pyi +7 -2
- streamlit/runtime/uploaded_file_manager.py +3 -0
- streamlit/static/index.html +1 -1
- streamlit/static/manifest.json +218 -218
- streamlit/static/static/js/{ErrorOutline.esm.1znYgwZa.js → ErrorOutline.esm.CE5CrZXn.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.MlshysxD.js → FileDownload.esm.CKsNkh0l.js} +1 -1
- streamlit/static/static/js/{FileHelper.DJjfImdO.js → FileHelper.DOVqqUxb.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.tzcHfSQm.js → FormClearHelper.BWF61UOT.js} +1 -1
- streamlit/static/static/js/{Hooks.CUwe1mU9.js → Hooks.DfBSM43j.js} +1 -1
- streamlit/static/static/js/{InputInstructions.ibDI_m0Z.js → InputInstructions.CPSPH0D_.js} +1 -1
- streamlit/static/static/js/{ProgressBar.B4yod1d4.js → ProgressBar.B74LzQav.js} +1 -1
- streamlit/static/static/js/{RenderInPortalIfExists.sxtf_tkp.js → RenderInPortalIfExists.BtLlUPRN.js} +1 -1
- streamlit/static/static/js/{Toolbar.D2TSK_7z.js → Toolbar.CFs3otSU.js} +1 -1
- streamlit/static/static/js/{base-input.DBGTsu79.js → base-input.CfAzppKq.js} +1 -1
- streamlit/static/static/js/{checkbox.Cv3M11iz.js → checkbox.CXjMqu_k.js} +1 -1
- streamlit/static/static/js/{createSuper.CZYzqRu7.js → createSuper.rZ8o-25D.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.Dnwp2SeP.js → data-grid-overlay-editor.DY8gtsPM.js} +1 -1
- streamlit/static/static/js/{downloader.OkIJTahw.js → downloader.CUL_myC_.js} +1 -1
- streamlit/static/static/js/{es6.CWUYJnwB.js → es6.COULtzvD.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.BGMetL4r.js → iframeResizer.contentWindow.BLNtfDQq.js} +1 -1
- streamlit/static/static/js/{index.fybg-SX6.js → index.5Q1yjMTu.js} +1 -1
- streamlit/static/static/js/{index.vJGalypl.js → index.B34FKeCx.js} +1 -1
- streamlit/static/static/js/{index.Bi_xDLKC.js → index.BElvUzo7.js} +1 -1
- streamlit/static/static/js/{index.yh03tq2H.js → index.BHiL3Un8.js} +1 -1
- streamlit/static/static/js/{index.D3yL8Boz.js → index.BLuJFrQb.js} +5 -5
- streamlit/static/static/js/{index.BNQdHQ9A.js → index.BOE9MgzV.js} +1 -1
- streamlit/static/static/js/{index.DqoNxwFW.js → index.BVw3DE-Z.js} +1 -1
- streamlit/static/static/js/{index.igD8dUid.js → index.BevuuY6S.js} +1 -1
- streamlit/static/static/js/{index.eeGQgksq.js → index.BkL_z3h6.js} +1 -1
- streamlit/static/static/js/{index.DHrbHxMA.js → index.BkwGvHjD.js} +1 -1
- streamlit/static/static/js/{index.BlRNHzJT.js → index.BqnMmntK.js} +2 -2
- streamlit/static/static/js/{index.CyScXVPk.js → index.Bzqi27ul.js} +1 -1
- streamlit/static/static/js/{index.BZhFm-tC.js → index.C18XY7UR.js} +1 -1
- streamlit/static/static/js/{index.CaH9iZrA.js → index.C1i_yHxK.js} +1 -1
- streamlit/static/static/js/{index.DuQBFADi.js → index.CNG--ehl.js} +1 -1
- streamlit/static/static/js/{index.DrAi2KWE.js → index.CS_bDUfa.js} +1 -1
- streamlit/static/static/js/{index.DxX0zYtM.js → index.CZqjkdDc.js} +1 -1
- streamlit/static/static/js/{index.ClByuhfh.js → index.DFe9cVuT.js} +111 -112
- streamlit/static/static/js/{index.C8UyejlW.js → index.DFzHHQQ2.js} +1 -1
- streamlit/static/static/js/{index.CImNFEsN.js → index.DINkn0av.js} +1 -1
- streamlit/static/static/js/{index.BLLY_wCb.js → index.DNG5byMV.js} +1 -1
- streamlit/static/static/js/{index.DhZtGReO.js → index.Dd0_GiV2.js} +1 -1
- streamlit/static/static/js/{index.jzzHl6U7.js → index.Dic9tQ3o.js} +1 -1
- streamlit/static/static/js/{index.cbAks8a8.js → index.DkP2QSR6.js} +1 -1
- streamlit/static/static/js/{index.GbpCpBCj.js → index.Do4ZXOP3.js} +1 -1
- streamlit/static/static/js/{index.aKXX7Ba_.js → index.DpV5u9dH.js} +1 -1
- streamlit/static/static/js/index.DrZDuQMW.js +1 -0
- streamlit/static/static/js/{index.BvPXgYL1.js → index.DsVGGMVE.js} +1 -1
- streamlit/static/static/js/{index.CATKfyKP.js → index.JEGXoCgS.js} +1 -1
- streamlit/static/static/js/{index.BRUfGLJs.js → index.Kn93MhMK.js} +1 -1
- streamlit/static/static/js/{index.Dgicxx_R.js → index.LE5mhmys.js} +1 -1
- streamlit/static/static/js/{index.Bio4VfuK.js → index.LR3ezjJk.js} +1 -1
- streamlit/static/static/js/{index.DXby5BWo.js → index.OPM8dJsY.js} +1 -1
- streamlit/static/static/js/{index.cFdge3NU.js → index.cDdLvOH8.js} +1 -1
- streamlit/static/static/js/{index.CghNjnWG.js → index.e5UWNEFk.js} +1 -1
- streamlit/static/static/js/{index.CfU3gX6G.js → index.gGVA3ypj.js} +1 -1
- streamlit/static/static/js/{index.CP9S4-UC.js → index.r_ZT1tVm.js} +1 -1
- streamlit/static/static/js/{input.DG4M8O5Z.js → input.DmY67J2b.js} +1 -1
- streamlit/static/static/js/{memory.cZDDDDRN.js → memory.Z-pC9-3x.js} +1 -1
- streamlit/static/static/js/{mergeWith.CbuU4RN8.js → mergeWith.CERfzbOC.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.GDhzbbBH.js → number-overlay-editor.DWG8cngo.js} +1 -1
- streamlit/static/static/js/{possibleConstructorReturn.CJFaNdfh.js → possibleConstructorReturn.D5r5oVUP.js} +1 -1
- streamlit/static/static/js/{sandbox.SJvDMGmc.js → sandbox.u3nVTB99.js} +1 -1
- streamlit/static/static/js/{textarea.CA5HbAYe.js → textarea.DV7UDu1G.js} +1 -1
- streamlit/static/static/js/{timepicker.Dw_Jp_TE.js → timepicker.DVt-Vl22.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.DrYe4LQW.js → toConsumableArray.CtE4bR7I.js} +1 -1
- streamlit/static/static/js/{uniqueId.D-hUXA0O.js → uniqueId.C7eHRig8.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.ByTJlmUY.js → useBasicWidgetState.CWF6bmbb.js} +1 -1
- streamlit/static/static/js/{useOnInputChange.4waR08fC.js → useOnInputChange.DXbMYgSJ.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.BbZgX6-q.js → withFullScreenWrapper.Bm7qkwWH.js} +1 -1
- streamlit/testing/v1/element_tree.py +3 -0
- streamlit/watcher/event_based_path_watcher.py +18 -13
- streamlit/web/server/oidc_mixin.py +0 -1
- {streamlit_nightly-1.45.2.dev20250617.dist-info → streamlit_nightly-1.46.1.dev20250619.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.45.2.dev20250617.dist-info → streamlit_nightly-1.46.1.dev20250619.dist-info}/RECORD +83 -83
- streamlit/static/static/js/index.bK_LT6WV.js +0 -1
- {streamlit_nightly-1.45.2.dev20250617.data → streamlit_nightly-1.46.1.dev20250619.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.45.2.dev20250617.dist-info → streamlit_nightly-1.46.1.dev20250619.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.45.2.dev20250617.dist-info → streamlit_nightly-1.46.1.dev20250619.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.45.2.dev20250617.dist-info → streamlit_nightly-1.46.1.dev20250619.dist-info}/top_level.txt +0 -0
@@ -3,7 +3,7 @@ streamlit/__main__.py,sha256=G3Ka6wgeICpC1gI872L7jGQhY4ukAFo3lgnYIqtoBIo,868
|
|
3
3
|
streamlit/auth_util.py,sha256=7vSNghbdg6q4A8cecdOtiVF-MGTbqOuySUSKEz_PgWY,8627
|
4
4
|
streamlit/cli_util.py,sha256=SHOTfCD27ib4R09nkq9l31hOdPlhoEguX2c0SMuhczs,3430
|
5
5
|
streamlit/column_config.py,sha256=qRgJoO0k-iRWTCNDjnzNjd2krIiCJVSEEDTVRy83RRU,1449
|
6
|
-
streamlit/config.py,sha256=
|
6
|
+
streamlit/config.py,sha256=2uk2_fBF2Dy2pDaa305hjlauvI3w7mIFDa2NdT2eKmw,54461
|
7
7
|
streamlit/config_option.py,sha256=J9gY4SWlyPkeeMHT0XXNEuhPcP23Fv78EFBwpBXMi9Q,11679
|
8
8
|
streamlit/config_util.py,sha256=yXkELy2CyzBguADHw5zpY3PYmKrvxRaW94y38deuSsg,6251
|
9
9
|
streamlit/cursor.py,sha256=ej36w8lrhmHcuSDe-BKJ40TathM7xz1TGiomv9Ov-7M,6062
|
@@ -44,12 +44,12 @@ streamlit/components/lib/__init__.py,sha256=M4sIyiinWL04bSC-QUcfYDB8Gr-h0uXGjTmL
|
|
44
44
|
streamlit/components/lib/local_component_registry.py,sha256=dW0qT1vzQ895Atq3R_VdGC1-vTdBBlMnCp5w3G8II5g,3016
|
45
45
|
streamlit/components/types/__init__.py,sha256=M4sIyiinWL04bSC-QUcfYDB8Gr-h0uXGjTmL6o2v8jc,616
|
46
46
|
streamlit/components/types/base_component_registry.py,sha256=l1oyEVaHgf59A5P3CayJiuHLT-DzEYVade-en5WRYlk,3137
|
47
|
-
streamlit/components/types/base_custom_component.py,sha256=
|
47
|
+
streamlit/components/types/base_custom_component.py,sha256=UWp8A1rZblXsadfL5u8CVBukXQULxHE7K1mhnjeJZ9s,4921
|
48
48
|
streamlit/components/v1/__init__.py,sha256=E4OVZRltYa4MdJxvxoirLLgH0biKrCVfIAbuzjPSJ4I,1010
|
49
49
|
streamlit/components/v1/component_arrow.py,sha256=oF35QqbZYLN_A8e2syCxkFxlFmhDTcoMI5Lmhr-KSxg,4451
|
50
50
|
streamlit/components/v1/component_registry.py,sha256=5oTtO0hfL3kotTx3shmaW3zR-bV5DPPDL-VncFjVW48,5169
|
51
51
|
streamlit/components/v1/components.py,sha256=t1DXfj9Clf6lPOuyT76Df_m4hTp4YnkV4t3FI9GCkB4,1585
|
52
|
-
streamlit/components/v1/custom_component.py,sha256=
|
52
|
+
streamlit/components/v1/custom_component.py,sha256=Hz-EUCgR2-3khWgMQ6CP6Jrava3FxzS16gNG3vHM7bM,10272
|
53
53
|
streamlit/connections/__init__.py,sha256=r5ZPPc8vPbuHXktFVK54clcECQwFeSKEATGEaifk8Ns,1083
|
54
54
|
streamlit/connections/base_connection.py,sha256=fv3qJneWfD3IJbCxqXV_yqgM_e_G6rDpFXWy7Mo8cbA,6748
|
55
55
|
streamlit/connections/snowflake_connection.py,sha256=MtPj9VbgUMBNx3uZyyP6vb23o3c6k2DvYAwuEy6V1HQ,22816
|
@@ -244,8 +244,8 @@ streamlit/proto/NamedDataSet_pb2.py,sha256=cWRrGJRex35yZSApkPUWtfX31CHh2puULXQuR
|
|
244
244
|
streamlit/proto/NamedDataSet_pb2.pyi,sha256=X4Lisad_KlxObyuAZSIOsLfnkA5rQODGKtpPf7du_2s,2013
|
245
245
|
streamlit/proto/Navigation_pb2.py,sha256=GJXtZwkMQEzXRckm5-S_J6-66VlPEZxzulnBAtY_-GA,1752
|
246
246
|
streamlit/proto/Navigation_pb2.pyi,sha256=BEtYMRGniK0CenGZOs_7Rv1rHB0RdjvfW5ATWv3FDX8,3519
|
247
|
-
streamlit/proto/NewSession_pb2.py,sha256=
|
248
|
-
streamlit/proto/NewSession_pb2.pyi,sha256
|
247
|
+
streamlit/proto/NewSession_pb2.py,sha256=RW477LqH4Rp061YVqK5DS9Pxvt5pyL__J2TuAgt_HaI,7141
|
248
|
+
streamlit/proto/NewSession_pb2.pyi,sha256=-Leo2ksx6JEmXW_3BBx7JJTCeMxEoQggwBvCtyMX-JQ,26434
|
249
249
|
streamlit/proto/NumberInput_pb2.py,sha256=C-A4tvfVkkpV140QyyOaDFc21aJ91HYJVJR5eFI3FQk,2519
|
250
250
|
streamlit/proto/NumberInput_pb2.pyi,sha256=DL29tmWEyD5eGmngfyd5Ecw8G7-qJiE7tpFpx1QPx8k,5227
|
251
251
|
streamlit/proto/PageConfig_pb2.py,sha256=WIyNMZAj034JUg0emlhOX_QtVDfM5jyrg0-BEnKfZPc,2407
|
@@ -327,7 +327,7 @@ streamlit/runtime/script_data.py,sha256=Suw_A7tgbc-Yu0rffPSvkrY_CHutAx5s-sfldn04
|
|
327
327
|
streamlit/runtime/secrets.py,sha256=ie0D1C8C8nYJttQJrJ97Enz3cOeUZhTo_0mQA3LFIxA,20025
|
328
328
|
streamlit/runtime/session_manager.py,sha256=YPQklhNmXnXYJyJqzVWIo5kwCW6mkCx7dqCo83daWi0,13240
|
329
329
|
streamlit/runtime/stats.py,sha256=Sbxb8cnYy3PIxTdMFwN4_4GiOmtkcEQLVLgJnXqKT1M,3839
|
330
|
-
streamlit/runtime/uploaded_file_manager.py,sha256=
|
330
|
+
streamlit/runtime/uploaded_file_manager.py,sha256=aB6fVKeMz_UYEAKRuQIBBcTAc60wnCUjCcOyM5AOiJs,4935
|
331
331
|
streamlit/runtime/websocket_session_manager.py,sha256=5rfLRnKgb9nw3IiIgs6-EnhT4dRwOI84NxEotNBiZJ4,6510
|
332
332
|
streamlit/runtime/caching/__init__.py,sha256=sJopYlelFxAL0QOhuG2WZzuC3SdypVA36qaY7EErSA4,3247
|
333
333
|
streamlit/runtime/caching/cache_data_api.py,sha256=JZKMeujG51LSm8hmAuJM9Ui3Ni38c3JKPK7IxJF9QUU,23926
|
@@ -362,84 +362,84 @@ streamlit/runtime/state/session_state.py,sha256=87Ffe5As1B8dQG50qSZSTT5bTT0vu4LG
|
|
362
362
|
streamlit/runtime/state/session_state_proxy.py,sha256=Z_Hw4214J1l7SjrnrFnCwul7p32yaKK2wpFtrghKEAQ,5585
|
363
363
|
streamlit/runtime/state/widgets.py,sha256=ofGjJppIwiqFN9DpBtXQakQifNpxZOVYNPCSyvCWo8Y,5319
|
364
364
|
streamlit/static/favicon.png,sha256=if5cVgw7azxKOvV5FpGixga7JLn23rfnHcy1CdWI1-E,1019
|
365
|
-
streamlit/static/index.html,sha256=
|
366
|
-
streamlit/static/manifest.json,sha256=
|
365
|
+
streamlit/static/index.html,sha256=sucp2DGL_wbtLwVCYmP52eqcerdTHFIHOF9YJ7-E72A,1522
|
366
|
+
streamlit/static/manifest.json,sha256=Eo5AnoGOkyRnFDtgXhuTgbogCHx4QC9jXduKsVz_u3w,44180
|
367
367
|
streamlit/static/static/css/index.C5t3M85E.css,sha256=PtcvtHSL-nWJWgVsI19C3yv4M-FvjXSxlSvGCUlpVvY,18462
|
368
368
|
streamlit/static/static/css/index.CJVRHjQZ.css,sha256=X_6xy8S-iXhyEIDSnjwLki_Fz6iYAMb-QfuobyoMyLg,29951
|
369
369
|
streamlit/static/static/css/index.DzuxGC_t.css,sha256=1D1iN9VtJEU7H_zye_YV2guXskYkxI7PXbq1YXw5JOw,35092
|
370
|
-
streamlit/static/static/js/ErrorOutline.esm.
|
371
|
-
streamlit/static/static/js/FileDownload.esm.
|
372
|
-
streamlit/static/static/js/FileHelper.
|
373
|
-
streamlit/static/static/js/FormClearHelper.
|
374
|
-
streamlit/static/static/js/Hooks.
|
375
|
-
streamlit/static/static/js/InputInstructions.
|
376
|
-
streamlit/static/static/js/ProgressBar.
|
377
|
-
streamlit/static/static/js/RenderInPortalIfExists.
|
378
|
-
streamlit/static/static/js/Toolbar.
|
370
|
+
streamlit/static/static/js/ErrorOutline.esm.CE5CrZXn.js,sha256=A3HKLXSlIlQZdWo3dwY4Wpjlk6JdDoQ9WnOdXdoUqMg,499
|
371
|
+
streamlit/static/static/js/FileDownload.esm.CKsNkh0l.js,sha256=AGehZTTYwyaIvMwJpeZd8qti_fl27yWrW7J_fOYOPcw,918
|
372
|
+
streamlit/static/static/js/FileHelper.DOVqqUxb.js,sha256=pc-CE4pYewCOY9geC0Jy8xSgYtTzOyh1aYch71IcR6I,61607
|
373
|
+
streamlit/static/static/js/FormClearHelper.BWF61UOT.js,sha256=NqoQhiWFmiNfRPc3as0cI6PfMLo0gKTEbwMF3hqP1WY,631
|
374
|
+
streamlit/static/static/js/Hooks.DfBSM43j.js,sha256=140A9nk8VcepoKYm--ahkhRmv1BNfRXM1spGV-9-ZnA,140
|
375
|
+
streamlit/static/static/js/InputInstructions.CPSPH0D_.js,sha256=TqsR2CY6aGV37k2j2XzkSPaBCuR-qY6qqVJX1i9kMuc,899
|
376
|
+
streamlit/static/static/js/ProgressBar.B74LzQav.js,sha256=7Td-ZMwD8pUwQbcIBOjQnTqTMv5WHqr_uciW5mE3gyU,13316
|
377
|
+
streamlit/static/static/js/RenderInPortalIfExists.BtLlUPRN.js,sha256=OFXbBkwNSUc_4imw-0pCK6w8jMcX-_MrcgHjMFX1L4s,523
|
378
|
+
streamlit/static/static/js/Toolbar.CFs3otSU.js,sha256=qYrqM-m5pzlTh5kv2vrxQxI-S9gWtXOwDJc2AYo8STs,2887
|
379
379
|
streamlit/static/static/js/UploadFileInfo.0DCkpDDf.js,sha256=aNIGHktxSQ10Cq0fkB7AGpf-WPu8-WKnRfw7Y2JQrhs,35350
|
380
|
-
streamlit/static/static/js/base-input.
|
381
|
-
streamlit/static/static/js/checkbox.
|
380
|
+
streamlit/static/static/js/base-input.CfAzppKq.js,sha256=DUloDVGNlU3j_dBPtEPBDIrq-edvog0WQjcicpNUygA,21774
|
381
|
+
streamlit/static/static/js/checkbox.CXjMqu_k.js,sha256=LduHoJ_o4MzUP_NnuTkSeibZuiuLzA9Opr4rKVP3jSY,11243
|
382
382
|
streamlit/static/static/js/createDownloadLinkElement.DZMwyjvU.js,sha256=uB4db2cbWB2KYpRbQKK6xi-mLBiUQXQtsL5I3N6rMcU,242
|
383
|
-
streamlit/static/static/js/createSuper.
|
384
|
-
streamlit/static/static/js/data-grid-overlay-editor.
|
385
|
-
streamlit/static/static/js/downloader.
|
386
|
-
streamlit/static/static/js/es6.
|
387
|
-
streamlit/static/static/js/iframeResizer.contentWindow.
|
388
|
-
streamlit/static/static/js/index.
|
389
|
-
streamlit/static/static/js/index.
|
390
|
-
streamlit/static/static/js/index.
|
391
|
-
streamlit/static/static/js/index.
|
392
|
-
streamlit/static/static/js/index.
|
393
|
-
streamlit/static/static/js/index.
|
394
|
-
streamlit/static/static/js/index.
|
395
|
-
streamlit/static/static/js/index.
|
396
|
-
streamlit/static/static/js/index.
|
397
|
-
streamlit/static/static/js/index.
|
398
|
-
streamlit/static/static/js/index.
|
399
|
-
streamlit/static/static/js/index.
|
400
|
-
streamlit/static/static/js/index.
|
401
|
-
streamlit/static/static/js/index.
|
402
|
-
streamlit/static/static/js/index.
|
403
|
-
streamlit/static/static/js/index.
|
404
|
-
streamlit/static/static/js/index.
|
405
|
-
streamlit/static/static/js/index.
|
406
|
-
streamlit/static/static/js/index.
|
407
|
-
streamlit/static/static/js/index.
|
408
|
-
streamlit/static/static/js/index.
|
409
|
-
streamlit/static/static/js/index.
|
410
|
-
streamlit/static/static/js/index.
|
411
|
-
streamlit/static/static/js/index.
|
412
|
-
streamlit/static/static/js/index.
|
413
|
-
streamlit/static/static/js/index.
|
414
|
-
streamlit/static/static/js/index.
|
415
|
-
streamlit/static/static/js/index.
|
416
|
-
streamlit/static/static/js/index.
|
417
|
-
streamlit/static/static/js/index.
|
418
|
-
streamlit/static/static/js/index.
|
419
|
-
streamlit/static/static/js/index.
|
420
|
-
streamlit/static/static/js/index.
|
421
|
-
streamlit/static/static/js/index.
|
422
|
-
streamlit/static/static/js/index.
|
423
|
-
streamlit/static/static/js/index.
|
424
|
-
streamlit/static/static/js/index.
|
425
|
-
streamlit/static/static/js/input.
|
383
|
+
streamlit/static/static/js/createSuper.rZ8o-25D.js,sha256=q2aaNKP1hFDfB1oLiDY7OyEcFc28MB9CP2UCScOAnsQ,394
|
384
|
+
streamlit/static/static/js/data-grid-overlay-editor.DY8gtsPM.js,sha256=I8lj87XAyXL_sjGBdu2RTWYN3dACAmpNP35XbuuMF3A,4142
|
385
|
+
streamlit/static/static/js/downloader.CUL_myC_.js,sha256=6zZiLwm62cWaZ1NbZjmFYHxAJR31rTxGvIGXL9srFYM,2535
|
386
|
+
streamlit/static/static/js/es6.COULtzvD.js,sha256=At91nj5B8HL0h5_uLpfX_dHagHaC_7KlhNmLl558Qzg,15321
|
387
|
+
streamlit/static/static/js/iframeResizer.contentWindow.BLNtfDQq.js,sha256=1wFVWNFhTA5Ip497tkh9yW0vXurXlLXpRXId6gvQ930,14406
|
388
|
+
streamlit/static/static/js/index.5Q1yjMTu.js,sha256=vuEBuJqyYPtFi-aZlLghP1wZ04Ih3X7XndJ_37oISm8,718
|
389
|
+
streamlit/static/static/js/index.B34FKeCx.js,sha256=vF9RO6fMtTd4jWBCUGHJDiVwBvg0v1zTl7t4TQ1b8i0,12785
|
390
|
+
streamlit/static/static/js/index.BElvUzo7.js,sha256=jqdEDzQQnTgLCL3MEDXOs-2o0x3tjDnKwSb3jmq2GOM,2889
|
391
|
+
streamlit/static/static/js/index.BHiL3Un8.js,sha256=BoYbpdFf6-AicdJL3cfFB86pYt_oTUuNVS0FhvpxRBk,2445
|
392
|
+
streamlit/static/static/js/index.BLuJFrQb.js,sha256=wHCYYhMiB2EyyytuzDhccFRRU2yVjEacyUc48Znb6IM,435416
|
393
|
+
streamlit/static/static/js/index.BOE9MgzV.js,sha256=KIo96KUlXc2WpBbijlzJ6S_29Yf2N6qHjkAlQtvavEA,443
|
394
|
+
streamlit/static/static/js/index.BVw3DE-Z.js,sha256=nwB3CvdDKElKEOGN3_qZCjF53ViHGII8DDgF-1JvyCo,1277
|
395
|
+
streamlit/static/static/js/index.BevuuY6S.js,sha256=vLGa90mjyK-qAkVbDUkbKyf-5uV7n7OiY3dadl1g3dc,2388
|
396
|
+
streamlit/static/static/js/index.BkL_z3h6.js,sha256=IoroiZ38zE5V2ZTzVc21lut2Ohs4htHBLFIGvLpiEjI,4192
|
397
|
+
streamlit/static/static/js/index.BkwGvHjD.js,sha256=MTe0H33Phl1xseoYlS-DfNatw8VBG5Bto9LoQ4EFA5g,2837
|
398
|
+
streamlit/static/static/js/index.BqnMmntK.js,sha256=GrLBfbTFMczOXudjB1YrqKt0nPCm9AP5sxVFlHhqw-A,50234
|
399
|
+
streamlit/static/static/js/index.Bzqi27ul.js,sha256=qYGkASV6oAGk6cDvjeXePPjhDD0T5tHVgzJgvYrDtF8,22623
|
400
|
+
streamlit/static/static/js/index.C18XY7UR.js,sha256=ITJdgZWgqFwxxlQM2OXHBiVQWkzPHgjfTjiIt5ojA3k,3618
|
401
|
+
streamlit/static/static/js/index.C1i_yHxK.js,sha256=5KQBZ7SrOLiU9PZmEPQub8lUy5639fCD7j-TFXofCTs,890
|
402
|
+
streamlit/static/static/js/index.CNG--ehl.js,sha256=Ma4u0OpEmVPjD7BGlVHv0-OszGrpSdyfjUS3SkLPfbc,7572
|
403
|
+
streamlit/static/static/js/index.CS_bDUfa.js,sha256=drvnveEUcyJYAIR5SWligTcew1AokMCgazgnpbwA3m8,583
|
404
|
+
streamlit/static/static/js/index.CZqjkdDc.js,sha256=MCo88wK85WyA9SMPl7s9w94UrMqsPHNui59h_7n0PXQ,19017
|
405
|
+
streamlit/static/static/js/index.DFe9cVuT.js,sha256=pacTAu_O3Ma0tL0_6b7M_kyVxIyFEfsPAdmlurSIXnU,6762767
|
406
|
+
streamlit/static/static/js/index.DFzHHQQ2.js,sha256=5YDFChU9_U_lsa-qsB5BozjXpqJPg6VqboL3-YRWxrw,2852
|
407
|
+
streamlit/static/static/js/index.DINkn0av.js,sha256=5cetxGyIqDPPDePP550xp6PMYFxuxjCYX2A5TQV6Osg,1571
|
408
|
+
streamlit/static/static/js/index.DNG5byMV.js,sha256=ykH-T9H0nYYeoc8LCNC6S-I9YCUW1ustXQbPfy8SIfk,852045
|
409
|
+
streamlit/static/static/js/index.Dd0_GiV2.js,sha256=yrFKZgmTPYPA0FWN48wwIRP7m4xzQAv7PZG2cAh55mc,1810
|
410
|
+
streamlit/static/static/js/index.Dic9tQ3o.js,sha256=6XGAxY5jhGZnIgDDUaWnqZMVAFp9HuWO4-27GP-A3DQ,128291
|
411
|
+
streamlit/static/static/js/index.DkP2QSR6.js,sha256=HGj-uwrnBWUItXYWB08cnjwZtp8Tim0q4ZvK6a2WICM,4692504
|
412
|
+
streamlit/static/static/js/index.Do4ZXOP3.js,sha256=RWRBVQen-XZk44WYDU94t9cVM-qKGh0Lw6l1P_V2ABo,1333
|
413
|
+
streamlit/static/static/js/index.DpV5u9dH.js,sha256=cWhCJOVZ5O3E8W3TbVodITHt2ViZ6h7RZrL7DQNjw0g,9077
|
414
|
+
streamlit/static/static/js/index.DrZDuQMW.js,sha256=zWhB0zKZ6oKGIVgL3h4-PLYcoiDmCKD5y0p4yfwPLCg,19442
|
415
|
+
streamlit/static/static/js/index.DsVGGMVE.js,sha256=_OySBrHj7g3tsNiRKyOzav-HlKmxvs1v4rfXc8WE-y0,854125
|
416
|
+
streamlit/static/static/js/index.JEGXoCgS.js,sha256=mg7fe8kH_Ma0uW5AbxpOEj9zT9HjgR2Cv-iy4CMSf1E,34817
|
417
|
+
streamlit/static/static/js/index.Kn93MhMK.js,sha256=whc7xaGlRXfVjgtNzLpw-CyS9S9-TqM8VWl2KatoIvo,2595306
|
418
|
+
streamlit/static/static/js/index.LE5mhmys.js,sha256=2USKu_yEsGQH85dFTHbe_E6zWvkD2DvaK3dpA3FIDJc,12670
|
419
|
+
streamlit/static/static/js/index.LR3ezjJk.js,sha256=yz-fj1jc4O7RozYJMnHZmo9w2SxOKvwh_ZpghMCQ4kM,645
|
420
|
+
streamlit/static/static/js/index.OPM8dJsY.js,sha256=IRq7Ltlqs4OmyoxLWaXl1zL0zxAw0b9tQJ_dxrLzVKU,24480
|
421
|
+
streamlit/static/static/js/index.cDdLvOH8.js,sha256=mYU-QD1I-BYnqgTWtRjEVXE4fOQ9BfpX0Ng7m49XNtY,947
|
422
|
+
streamlit/static/static/js/index.e5UWNEFk.js,sha256=IJRkcr6yITIedXhWzIFgfr1CfFacW4W186eVTA43Eq8,1605
|
423
|
+
streamlit/static/static/js/index.gGVA3ypj.js,sha256=2ttKzHeuj7iiR8mZQm6TPQjQcXpXnOc0o9MnyXEtHes,3385535
|
424
|
+
streamlit/static/static/js/index.r_ZT1tVm.js,sha256=YQxHrs5RoMFtHwMmYkUOecM1Z2jt7wvsWIHppkCoOT0,2522
|
425
|
+
streamlit/static/static/js/input.DmY67J2b.js,sha256=a8Sc0Fp-xYFxTEoJkBUv6UvV3fbS4ah5HjOcOAdqxCI,5244
|
426
426
|
streamlit/static/static/js/inputUtils.CQWz5UKz.js,sha256=-kt6oYYgvhFS0t0EV2qJE6f43GUao6rNeipUmv3RuV8,150
|
427
|
-
streamlit/static/static/js/memory.
|
428
|
-
streamlit/static/static/js/mergeWith.
|
429
|
-
streamlit/static/static/js/number-overlay-editor.
|
430
|
-
streamlit/static/static/js/possibleConstructorReturn.
|
431
|
-
streamlit/static/static/js/sandbox.
|
427
|
+
streamlit/static/static/js/memory.Z-pC9-3x.js,sha256=LRG97ZnupNNDiy6akXh8NVk1Xh5mYj7R2dH7TTL2rhk,3041
|
428
|
+
streamlit/static/static/js/mergeWith.CERfzbOC.js,sha256=3qGr0dzV-_rt1EXzLi4gAEQvmXr_NXplw6PJlCiU2Ic,198
|
429
|
+
streamlit/static/static/js/number-overlay-editor.DWG8cngo.js,sha256=oiKhdrf0QLDMUcq9XhmDatqFY5VjrMMxUUCs2bqXU9s,16550
|
430
|
+
streamlit/static/static/js/possibleConstructorReturn.D5r5oVUP.js,sha256=7L7PyErHWdB7UGEPjo4rWIErfFzUaRE36pxrCFD6QK4,1451
|
431
|
+
streamlit/static/static/js/sandbox.u3nVTB99.js,sha256=hHw8Wi9rS_Dvlh9XJlod3dmbntwvY7F28iO1ja6sNYk,2960
|
432
432
|
streamlit/static/static/js/sprintf.D7DtBTRn.js,sha256=dLZEkTCGwWgkxMOITY-fqjbGVuUO9nFw7MwCANBdisk,3434
|
433
|
-
streamlit/static/static/js/textarea.
|
433
|
+
streamlit/static/static/js/textarea.DV7UDu1G.js,sha256=endAq2zaktbT2-cvfiG6X6OKrzeVAyl41Gg6mExKTE0,5761
|
434
434
|
streamlit/static/static/js/threshold.DjX0wlsa.js,sha256=ToJ7upF_PGcC41-Cfe0gGTVgWb0yjhBbHTQrd4GD4gg,5693
|
435
|
-
streamlit/static/static/js/timepicker.
|
435
|
+
streamlit/static/static/js/timepicker.DVt-Vl22.js,sha256=1CuXpaZNE_rM1nbhb1bFAnTIeT1PTtKNUoedKjFNw-A,89416
|
436
436
|
streamlit/static/static/js/timer.CAwTRJ_g.js,sha256=aNjItH3iW2RuvnLaZ54iUi50rhEiW93-1Rel2EyaRlQ,7408
|
437
|
-
streamlit/static/static/js/toConsumableArray.
|
438
|
-
streamlit/static/static/js/uniqueId.
|
439
|
-
streamlit/static/static/js/useBasicWidgetState.
|
440
|
-
streamlit/static/static/js/useOnInputChange.
|
437
|
+
streamlit/static/static/js/toConsumableArray.CtE4bR7I.js,sha256=yY-VHpUyaMktFD_xxz0kYQI1cZQZELnjohIgBIwYeHI,1587
|
438
|
+
streamlit/static/static/js/uniqueId.C7eHRig8.js,sha256=oRhgqZ9bAcXol4JYA8DeR_wxbwLc0TD3kOJpJqv9W0w,190
|
439
|
+
streamlit/static/static/js/useBasicWidgetState.CWF6bmbb.js,sha256=igx1-V8ft9T3uRzi4dNhMrgj42ZtxJToeN5kNjC3uxY,960
|
440
|
+
streamlit/static/static/js/useOnInputChange.DXbMYgSJ.js,sha256=gvZxigXmhnSnqh0ULtjSK9yMGxan3OX3j3zJkFFpoCg,587
|
441
441
|
streamlit/static/static/js/value.CgPGBV_l.js,sha256=7g4Owjf_hP16pkcLYPvARUlzIjBgl9APVNw2hnHYtWY,15042
|
442
|
-
streamlit/static/static/js/withFullScreenWrapper.
|
442
|
+
streamlit/static/static/js/withFullScreenWrapper.Bm7qkwWH.js,sha256=Ob-0r82TDwc_Tk5zsa_siBGem3GEs2dhvcq7x1m6JDw,1528
|
443
443
|
streamlit/static/static/media/KaTeX_AMS-Regular.BQhdFMY1.woff2,sha256=DN04fJWQoan5eUVgAi27WWVKfYbxh6oMgUla1C06cwg,28076
|
444
444
|
streamlit/static/static/media/KaTeX_AMS-Regular.DMm9YOAa.woff,sha256=MNqR6EyJP4deJSaJ-uvcWQsocRReitx_mp1NvYzgslE,33516
|
445
445
|
streamlit/static/static/media/KaTeX_AMS-Regular.DRggAlZN.ttf,sha256=aFNIQLz90r_7bw6N60hoTdAefwTqKBMmdXevuQbeHRM,63632
|
@@ -520,14 +520,14 @@ streamlit/static/static/media/snowflake.JU2jBHL8.svg,sha256=Soe8chkasaXhxMYOakMA
|
|
520
520
|
streamlit/testing/__init__.py,sha256=M4sIyiinWL04bSC-QUcfYDB8Gr-h0uXGjTmL6o2v8jc,616
|
521
521
|
streamlit/testing/v1/__init__.py,sha256=-730f0uFg7i1_5CkycZNz1PuurzO2Sx34Kew5WX7Wa0,690
|
522
522
|
streamlit/testing/v1/app_test.py,sha256=P22-wRYGE--ZGCmWi9GL0QYjGpH0Xv6M-9qRysF1dhY,37683
|
523
|
-
streamlit/testing/v1/element_tree.py,sha256=
|
523
|
+
streamlit/testing/v1/element_tree.py,sha256=x5lYJjvMqkQP3xrhOezsFHFmmgHCBbdM59TCT0JGxpI,63889
|
524
524
|
streamlit/testing/v1/local_script_runner.py,sha256=WUdIVASW_3pJYiYca83OHtX2f7BmY8AfakS4X9Yphlw,6624
|
525
525
|
streamlit/testing/v1/util.py,sha256=WNM0VWPTL6aEj7_1BigONO5DnGICoXwhpIjUqyNHyAQ,1986
|
526
526
|
streamlit/vendor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
527
527
|
streamlit/vendor/pympler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
528
528
|
streamlit/vendor/pympler/asizeof.py,sha256=w2CZbunNoG7Wj8mT0fpIfXMLpCYvAR7RQh8D4JLHwws,87966
|
529
529
|
streamlit/watcher/__init__.py,sha256=kFrqZ4dBc-qAcHJbp7DGs3mK_fFRDZNVyfF9Qys0bWs,915
|
530
|
-
streamlit/watcher/event_based_path_watcher.py,sha256=
|
530
|
+
streamlit/watcher/event_based_path_watcher.py,sha256=64ssAuaAvSAtOGhEosxI40IvwS_VK1yM0_6tyP72bwM,15851
|
531
531
|
streamlit/watcher/folder_black_list.py,sha256=m8Z3CoSEf75mJTNWmJ0CiK4Gn1tlUOX_a_Yq8DgjPD0,2392
|
532
532
|
streamlit/watcher/local_sources_watcher.py,sha256=Na5fHChGLRhO6RmVdE_mz9ElskzMweLJDJuS76wovi0,10839
|
533
533
|
streamlit/watcher/path_watcher.py,sha256=x9jbF-iUvqINch7ojPJaZ5x7GB8r_gI7YdMwuD2kPEA,5640
|
@@ -544,16 +544,16 @@ streamlit/web/server/browser_websocket_handler.py,sha256=N9Idk_ImvKuMfjYftYrxtUY
|
|
544
544
|
streamlit/web/server/component_request_handler.py,sha256=1ulLJ-_kujQs0VPaxOPsrpiMmRHxR4ILVKbJa-1MKV4,4435
|
545
545
|
streamlit/web/server/media_file_handler.py,sha256=qjtzVmb3LNCLQSZUlfL5bzO5i4Ok4BB-xWlD8LQ8dGc,5562
|
546
546
|
streamlit/web/server/oauth_authlib_routes.py,sha256=2meaJrHonsAT47f80u6SdJShJOJtdpOxmns_98O090U,7447
|
547
|
-
streamlit/web/server/oidc_mixin.py,sha256=
|
547
|
+
streamlit/web/server/oidc_mixin.py,sha256=upBJB1nqv-kdqT2Xcr2ZlnB0TFHhTa3x8vhUnkazsJk,4609
|
548
548
|
streamlit/web/server/routes.py,sha256=PDkAYLmUA0cO-__FLdai7A6PjqA24UuXBFRnxRB1gV4,9059
|
549
549
|
streamlit/web/server/server.py,sha256=aNZoA-TqpgUqJtu9z5uMTDHLbCdH5tU8TJPsCXUZmWI,16928
|
550
550
|
streamlit/web/server/server_util.py,sha256=J6n8xa0Sx66nWajMagXYe4MU8D9RIreqYRS1WagaY3k,5591
|
551
551
|
streamlit/web/server/stats_request_handler.py,sha256=M1g40mgy78f316gP7_W8I__Q4e9x0NoNjiNLQdH58ds,3848
|
552
552
|
streamlit/web/server/upload_file_request_handler.py,sha256=A-wgVOk6TCxf_KU-lQhawygSBKk5fwrD3Zkrz375Yj4,5269
|
553
553
|
streamlit/web/server/websocket_headers.py,sha256=2OHv6G9hLJ0UX8oHDG3UJ86_KK4SJJD8FXOCsZjCKek,2229
|
554
|
-
streamlit_nightly-1.
|
555
|
-
streamlit_nightly-1.
|
556
|
-
streamlit_nightly-1.
|
557
|
-
streamlit_nightly-1.
|
558
|
-
streamlit_nightly-1.
|
559
|
-
streamlit_nightly-1.
|
554
|
+
streamlit_nightly-1.46.1.dev20250619.data/scripts/streamlit.cmd,sha256=k9768SaQCkiYAPaTp7JtkhAHEHflNQfu6fAM4pri6zo,676
|
555
|
+
streamlit_nightly-1.46.1.dev20250619.dist-info/METADATA,sha256=LSA3XxrDVoBfVNtcoIkvO0SvLtclHAPDFTLhqB7acNs,8973
|
556
|
+
streamlit_nightly-1.46.1.dev20250619.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
557
|
+
streamlit_nightly-1.46.1.dev20250619.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
|
558
|
+
streamlit_nightly-1.46.1.dev20250619.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
|
559
|
+
streamlit_nightly-1.46.1.dev20250619.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as y,E as T,_ as O,n as I,J,C as F,j as f,bs as Q,b7 as L,bn as K,b2 as Y,bm as W,bz as z,d as Z,g as ee,aM as te,z as re,bA as ie,bB as oe,bC as ne,l as ae,aA as se,M as x,bj as le,bi as de,bp as ce,bD as ue,bq as he,br as pe,F as fe}from"./index.ClByuhfh.js";import{a as j,U as k}from"./UploadFileInfo.0DCkpDDf.js";import{F as ge}from"./FormClearHelper.tzcHfSQm.js";import{P as me,S as ve}from"./ProgressBar.B4yod1d4.js";var $=y.forwardRef(function(i,l){var t={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return y.createElement(T,O({iconAttrs:t,iconVerticalAlign:"middle",iconViewBox:"0 0 8 8"},i,{ref:l}),y.createElement("path",{d:"M.5 1c-.28 0-.5.23-.5.5v4c0 .28.23.5.5.5h5c.28 0 .5-.22.5-.5V4l1 1h1V2H7L6 3V1.5c0-.28-.22-.5-.5-.5h-5z"}))});$.displayName="Video";var A=y.forwardRef(function(i,l){var t={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return y.createElement(T,O({iconAttrs:t,iconVerticalAlign:"middle",iconViewBox:"0 0 8 8"},i,{ref:l}),y.createElement("path",{d:"M1.41 0L0 1.41l.72.72L2.5 3.94.72 5.72 0 6.41l1.41 1.44.72-.72 1.81-1.81 1.78 1.81.69.72 1.44-1.44-.72-.69-1.81-1.78 1.81-1.81.72-.72L6.41 0l-.69.72L3.94 2.5 2.13.72 1.41 0z"}))});A.displayName="X";var N=y.forwardRef(function(i,l){var t={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return y.createElement(T,O({iconAttrs:t,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},i,{ref:l}),y.createElement("rect",{width:24,height:24,fill:"none"}),y.createElement("path",{d:"M20 5h-3.17l-1.24-1.35A1.99 1.99 0 0014.12 3H9.88c-.56 0-1.1.24-1.48.65L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-1.35 8.35l-2.79 2.79c-.32.32-.86.1-.86-.35v-1.75H9v1.75c0 .45-.54.67-.85.35l-2.79-2.79c-.2-.2-.2-.51 0-.71l2.79-2.79a.5.5 0 01.85.36v1.83h6v-1.83c0-.45.54-.67.85-.35l2.79 2.79c.2.19.2.51.01.7z"}))});N.displayName="SwitchCamera";function Se(i,l){switch(i){case"xsmall":return{padding:`${l.spacing.twoXS} ${l.spacing.sm}`,fontSize:l.fontSizes.sm};case"small":return{padding:`${l.spacing.twoXS} ${l.spacing.md}`};case"large":return{padding:`${l.spacing.md} ${l.spacing.md}`};default:return{padding:`${l.spacing.xs} ${l.spacing.md}`}}}const H=I("div",{target:"e14dwhi20"})({position:"relative",overflow:"hidden",width:"100%",objectFit:"contain"}),V=I("div",{target:"e14dwhi21"})(({theme:i,width:l})=>({backgroundColor:i.colors.secondaryBg,borderRadius:`${i.radii.default} ${i.radii.default} 0 0`,width:"100%",height:l*9/16,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"})),ye=I("p",{target:"e14dwhi22"})(({theme:i})=>({marginTop:i.spacing.sm,textAlign:"center"})),be=I("img",{target:"e14dwhi23"})(({theme:i,opacity:l})=>({borderRadius:`${i.radii.default} ${i.radii.default} 0 0`,objectFit:"contain",opacity:l})),we=I("a",{target:"e14dwhi24"})(({theme:i})=>({color:i.colors.primary,display:"block",textDecoration:"none"})),Me=I("span",{target:"e14dwhi25"})({display:"flex",alignItems:"center"}),Ce=I("div",{target:"e14dwhi26"})(({theme:i})=>({position:"absolute",top:i.spacing.lg,right:i.spacing.lg,zIndex:i.zIndices.priority,color:i.colors.fadedText40,mixBlendMode:"difference",opacity:.6})),Ue=I("div",{target:"e14dwhi28"})({height:"fit-content",width:"100%",position:"absolute",bottom:0}),Ie=I("button",{target:"e14dwhi29"})(({theme:i})=>({position:"relative",display:"inline-flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:i.colors.lightenedBg05,border:`${i.sizes.borderWidth} solid ${i.colors.borderColor}`,borderRadius:`0 0 ${i.radii.default} ${i.radii.default}`,"&:hover":{borderColor:i.colors.primary,color:i.colors.primary},"&:active":{color:i.colors.white,borderColor:i.colors.primary,backgroundColor:i.colors.primary},"&:focus:not(:active)":{borderColor:i.colors.primary,color:i.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{color:i.colors.fadedText40,borderColor:i.colors.borderColor,backgroundColor:i.colors.lightenedBg05,cursor:"not-allowed"},fontWeight:i.fontWeights.normal,padding:`${i.spacing.xs} ${i.spacing.md}`,margin:i.spacing.none,lineHeight:i.lineHeights.base,color:"inherit",width:"100%",userSelect:"none","&:focus":{outline:"none"},"&:focus-visible":{boxShadow:`0 0 0 0.2rem ${J(i.colors.primary,.5)}`},...Se("medium",i)}));function Ee({disabled:i,onClick:l,children:t,progress:n}){return F(Ie,{disabled:i||!1,onClick:l||(()=>{}),progress:n||null,"data-testid":"stCameraInputButton",children:[t,n?f(Ue,{children:f(me,{value:n,size:ve.EXTRASMALL,overrides:{Bar:{style:{borderTopLeftRadius:0,borderTopRightRadius:0}},BarProgress:{style:{borderTopLeftRadius:0,borderTopRightRadius:0}},BarContainer:{style:{borderTopLeftRadius:0,borderTopRightRadius:0}}}})}):null]})}const D=y.memo(Ee);var R=function(i){return i.USER="user",i.ENVIRONMENT="environment",i}({});const Fe=({switchFacingMode:i})=>f(Ce,{"data-testid":"stCameraInputSwitchButton",children:f(Q,{content:"Switch camera",placement:L.TOP_RIGHT,children:f(K,{kind:Y.MINIMAL,onClick:i,children:f(W,{content:N,size:"twoXL",color:z.white})})})}),Pe=y.memo(Fe);var _={exports:{}},xe=_.exports,B;function Re(){return B||(B=1,function(i,l){(function(n,o){i.exports=o(Z())})(xe,function(t){return function(n){var o={};function a(s){if(o[s])return o[s].exports;var h=o[s]={i:s,l:!1,exports:{}};return n[s].call(h.exports,h,h.exports,a),h.l=!0,h.exports}return a.m=n,a.c=o,a.d=function(s,h,g){a.o(s,h)||Object.defineProperty(s,h,{enumerable:!0,get:g})},a.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,h){if(h&1&&(s=a(s)),h&8||h&4&&typeof s=="object"&&s&&s.__esModule)return s;var g=Object.create(null);if(a.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:s}),h&2&&typeof s!="string")for(var U in s)a.d(g,U,(function(C){return s[C]}).bind(null,U));return g},a.n=function(s){var h=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(h,"a",h),h},a.o=function(s,h){return Object.prototype.hasOwnProperty.call(s,h)},a.p="",a(a.s="./src/react-webcam.tsx")}({"./src/react-webcam.tsx":function(n,o,a){a.r(o);var s=a("react"),h=function(){var m=function(u,e){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,d){r.__proto__=d}||function(r,d){for(var c in d)d.hasOwnProperty(c)&&(r[c]=d[c])},m(u,e)};return function(u,e){m(u,e);function r(){this.constructor=u}u.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),g=function(){return g=Object.assign||function(m){for(var u,e=1,r=arguments.length;e<r;e++){u=arguments[e];for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(m[d]=u[d])}return m},g.apply(this,arguments)},U=function(m,u){var e={};for(var r in m)Object.prototype.hasOwnProperty.call(m,r)&&u.indexOf(r)<0&&(e[r]=m[r]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,r=Object.getOwnPropertySymbols(m);d<r.length;d++)u.indexOf(r[d])<0&&Object.prototype.propertyIsEnumerable.call(m,r[d])&&(e[r[d]]=m[r[d]]);return e};(function(){typeof window>"u"||(navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(u){var e=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;return e?new Promise(function(r,d){e.call(navigator,u,r,d)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}))})();function C(){return!!(navigator.mediaDevices&&navigator.mediaDevices.getUserMedia)}var E=function(m){h(u,m);function u(e){var r=m.call(this,e)||this;return r.canvas=null,r.ctx=null,r.requestUserMediaId=0,r.unmounted=!1,r.state={hasUserMedia:!1},r}return u.prototype.componentDidMount=function(){var e=this,r=e.state,d=e.props;if(this.unmounted=!1,!C()){d.onUserMediaError("getUserMedia not supported");return}r.hasUserMedia||this.requestUserMedia(),d.children&&typeof d.children!="function"&&console.warn("children must be a function")},u.prototype.componentDidUpdate=function(e){var r=this.props;if(!C()){r.onUserMediaError("getUserMedia not supported");return}var d=JSON.stringify(e.audioConstraints)!==JSON.stringify(r.audioConstraints),c=JSON.stringify(e.videoConstraints)!==JSON.stringify(r.videoConstraints),w=e.minScreenshotWidth!==r.minScreenshotWidth,S=e.minScreenshotHeight!==r.minScreenshotHeight;(c||w||S)&&(this.canvas=null,this.ctx=null),(d||c)&&(this.stopAndCleanup(),this.requestUserMedia())},u.prototype.componentWillUnmount=function(){this.unmounted=!0,this.stopAndCleanup()},u.stopMediaStream=function(e){e&&(e.getVideoTracks&&e.getAudioTracks?(e.getVideoTracks().map(function(r){e.removeTrack(r),r.stop()}),e.getAudioTracks().map(function(r){e.removeTrack(r),r.stop()})):e.stop())},u.prototype.stopAndCleanup=function(){var e=this.state;e.hasUserMedia&&(u.stopMediaStream(this.stream),e.src&&window.URL.revokeObjectURL(e.src))},u.prototype.getScreenshot=function(e){var r=this,d=r.state,c=r.props;if(!d.hasUserMedia)return null;var w=this.getCanvas(e);return w&&w.toDataURL(c.screenshotFormat,c.screenshotQuality)},u.prototype.getCanvas=function(e){var r=this,d=r.state,c=r.props;if(!this.video||!d.hasUserMedia||!this.video.videoHeight)return null;if(!this.ctx){var w=this.video.videoWidth,S=this.video.videoHeight;if(!this.props.forceScreenshotSourceSize){var v=w/S;w=c.minScreenshotWidth||this.video.clientWidth,S=w/v,c.minScreenshotHeight&&S<c.minScreenshotHeight&&(S=c.minScreenshotHeight,w=S*v)}this.canvas=document.createElement("canvas"),this.canvas.width=(e==null?void 0:e.width)||w,this.canvas.height=(e==null?void 0:e.height)||S,this.ctx=this.canvas.getContext("2d")}var M=this,b=M.ctx,p=M.canvas;return b&&p&&(p.width=(e==null?void 0:e.width)||p.width,p.height=(e==null?void 0:e.height)||p.height,c.mirrored&&(b.translate(p.width,0),b.scale(-1,1)),b.imageSmoothingEnabled=c.imageSmoothing,b.drawImage(this.video,0,0,(e==null?void 0:e.width)||p.width,(e==null?void 0:e.height)||p.height),c.mirrored&&(b.scale(-1,1),b.translate(-p.width,0))),p},u.prototype.requestUserMedia=function(){var e=this,r=this.props,d=function(S,v){var M={video:typeof v<"u"?v:!0};r.audio&&(M.audio=typeof S<"u"?S:!0),e.requestUserMediaId++;var b=e.requestUserMediaId;navigator.mediaDevices.getUserMedia(M).then(function(p){e.unmounted||b!==e.requestUserMediaId?u.stopMediaStream(p):e.handleUserMedia(null,p)}).catch(function(p){e.handleUserMedia(p)})};if("mediaDevices"in navigator)d(r.audioConstraints,r.videoConstraints);else{var c=function(S){return{optional:[{sourceId:S}]}},w=function(S){var v=S.deviceId;return typeof v=="string"?v:Array.isArray(v)&&v.length>0?v[0]:typeof v=="object"&&v.ideal?v.ideal:null};MediaStreamTrack.getSources(function(S){var v=null,M=null;S.forEach(function(P){P.kind==="audio"?v=P.id:P.kind==="video"&&(M=P.id)});var b=w(r.audioConstraints);b&&(v=b);var p=w(r.videoConstraints);p&&(M=p),d(c(v),c(M))})}},u.prototype.handleUserMedia=function(e,r){var d=this.props;if(e||!r){this.setState({hasUserMedia:!1}),d.onUserMediaError(e);return}this.stream=r;try{this.video&&(this.video.srcObject=r),this.setState({hasUserMedia:!0})}catch{this.setState({hasUserMedia:!0,src:window.URL.createObjectURL(r)})}d.onUserMedia(r)},u.prototype.render=function(){var e=this,r=this,d=r.state,c=r.props,w=c.audio;c.forceScreenshotSourceSize;var S=c.disablePictureInPicture;c.onUserMedia,c.onUserMediaError,c.screenshotFormat,c.screenshotQuality,c.minScreenshotWidth,c.minScreenshotHeight,c.audioConstraints,c.videoConstraints,c.imageSmoothing;var v=c.mirrored,M=c.style,b=M===void 0?{}:M,p=c.children,P=U(c,["audio","forceScreenshotSourceSize","disablePictureInPicture","onUserMedia","onUserMediaError","screenshotFormat","screenshotQuality","minScreenshotWidth","minScreenshotHeight","audioConstraints","videoConstraints","imageSmoothing","mirrored","style","children"]),G=v?g(g({},b),{transform:(b.transform||"")+" scaleX(-1)"}):b,q={getScreenshot:this.getScreenshot.bind(this)};return s.createElement(s.Fragment,null,s.createElement("video",g({autoPlay:!0,disablePictureInPicture:S,src:d.src,muted:!w,playsInline:!0,ref:function(X){e.video=X},style:G},P)),p&&p(q))},u.defaultProps={audio:!1,disablePictureInPicture:!1,forceScreenshotSourceSize:!1,imageSmoothing:!0,mirrored:!1,onUserMedia:function(){},onUserMediaError:function(){},screenshotFormat:"image/webp",screenshotQuality:.92},u}(s.Component);o.default=E},react:function(n,o){n.exports=t}}).default})}(_)),_.exports}var _e=Re();const Te=ee(_e),Oe=({width:i})=>F(V,{width:i,children:[f(W,{size:"threeXL",color:z.gray60,content:$}),F(ye,{children:["This app would like to use your camera.",f(we,{href:oe,rel:"noopener noreferrer",target:"_blank",children:"Learn how to allow access."})]})]}),We=({handleCapture:i,width:l,disabled:t,clearPhotoInProgress:n,setClearPhotoInProgress:o,facingMode:a,setFacingMode:s,testOverride:h})=>{const[g,U]=y.useState(h||"pending"),C=y.useRef(null),[E,m]=y.useState(l),u=y.useCallback(te(1e3,m),[]);y.useEffect(()=>{u(l)},[l,u]);function e(){if(C.current!==null){const d=C.current.getScreenshot();i(d)}}const r=re();return F(H,{"data-testid":"stCameraInputWebcamComponent",children:[g!=="success"&&!t&&!n?f(Oe,{width:E}):ie.isMobile&&f(Pe,{switchFacingMode:s}),f(V,{"data-testid":"stCameraInputWebcamStyledBox",hidden:g!=="success"&&!t&&!n,width:E,children:!t&&f(Te,{audio:!1,ref:C,screenshotFormat:"image/jpeg",screenshotQuality:1,width:E,height:E*9/16,style:{borderRadius:`${r.radii.default} ${r.radii.default} 0 0`},onUserMediaError:()=>{U("error")},onUserMedia:()=>{U("success"),o(!1)},videoConstraints:{width:{ideal:E},facingMode:a}})}),f(D,{onClick:e,disabled:g!=="success"||t||n,children:"Take Photo"})]})},Ve=y.memo(We),je=150,ke=ae.getLogger("CameraInput");class Be extends y.PureComponent{constructor(l){super(l),this.localFileIdCounter=1,this.RESTORED_FROM_WIDGET_STRING="RESTORED_FROM_WIDGET",this.formClearHelper=new ge,this.getProgress=()=>{if(this.state.files.length>0&&this.state.files[this.state.files.length-1].status.type==="uploading")return this.state.files[this.state.files.length-1].status.progress},this.setClearPhotoInProgress=t=>{this.setState({clearPhotoInProgress:t})},this.setFacingMode=()=>{this.setState(t=>({facingMode:t.facingMode===R.USER?R.ENVIRONMENT:R.USER}))},this.handleCapture=t=>{if(t===null)return Promise.resolve();this.setState({imgSrc:t,shutter:!0,minShutterEffectPassed:!1});const n=o=>new Promise(a=>setTimeout(a,o));return Le(t,`camera-input-${new Date().toISOString().replace(/:/g,"_")}.jpg`).then(o=>this.props.uploadClient.fetchFileURLs([o]).then(a=>({file:o,fileUrls:a[0]}))).then(({file:o,fileUrls:a})=>this.uploadFile(a,o)).then(()=>n(je)).then(()=>{this.setState((o,a)=>({imgSrc:t,shutter:o.shutter,minShutterEffectPassed:!0}))}).catch(o=>{ke.error(o)})},this.removeCapture=()=>{this.state.files.length!==0&&(this.state.files.forEach(t=>this.deleteFile(t.id)),this.setState({imgSrc:null,clearPhotoInProgress:!0}))},this.componentDidUpdate=()=>{if(this.status!=="ready")return;const t=this.createWidgetValue(),{element:n,widgetMgr:o,fragmentId:a}=this.props,s=o.getFileUploaderStateValue(n);se(t,s)||o.setFileUploaderStateValue(n,t,{fromUi:!0},a)},this.onFormCleared=()=>{this.setState({files:[]},()=>{const t=this.createWidgetValue();if(x(t))return;this.setState({imgSrc:null});const{widgetMgr:n,element:o,fragmentId:a}=this.props;n.setFileUploaderStateValue(o,t,{fromUi:!0},a)})},this.deleteFile=t=>{const n=this.getFile(t);x(n)||(n.status.type==="uploading"&&n.status.cancelToken.cancel(),n.status.type==="uploaded"&&n.status.fileUrls.deleteUrl&&this.props.uploadClient.deleteFile(n.status.fileUrls.deleteUrl),this.removeFile(t))},this.addFile=t=>{this.setState(n=>({files:[...n.files,t]}))},this.removeFile=t=>{this.setState(n=>({files:n.files.filter(o=>o.id!==t)}))},this.getFile=t=>this.state.files.find(n=>n.id===t),this.updateFile=(t,n)=>{this.setState(o=>({files:o.files.map(a=>a.id===t?n:a)}))},this.onUploadComplete=(t,n)=>{this.setState(()=>({shutter:!1}));const o=this.getFile(t);x(o)||o.status.type!=="uploading"||this.updateFile(o.id,o.setStatus({type:"uploaded",fileId:n.fileId,fileUrls:n}))},this.onUploadProgress=(t,n)=>{const o=this.getFile(n);if(x(o)||o.status.type!=="uploading")return;const a=Math.round(t.loaded*100/t.total);o.status.progress!==a&&this.updateFile(n,o.setStatus({type:"uploading",cancelToken:o.status.cancelToken,progress:a}))},this.reset=()=>{this.setState({files:[],imgSrc:null})},this.uploadFile=(t,n)=>{const o=j.CancelToken.source(),a=new k(n.name,n.size,this.nextLocalFileId(),{type:"uploading",cancelToken:o,progress:1});this.addFile(a),this.props.uploadClient.uploadFile(this.props.element,t.uploadUrl,n,s=>this.onUploadProgress(s,a.id),o.token).then(()=>this.onUploadComplete(a.id,t)).catch(s=>{j.isCancel(s)||this.updateFile(a.id,a.setStatus({type:"error",errorMessage:s?s.toString():"Unknown error"}))})},this.state=this.initialValue}get initialValue(){const l={files:[],imgSrc:null,shutter:!1,minShutterEffectPassed:!0,clearPhotoInProgress:!1,facingMode:R.USER},{widgetMgr:t,element:n}=this.props,o=t.getFileUploaderStateValue(n);if(x(o))return l;const{uploadedFileInfo:a}=o;return x(a)||a.length===0?l:{files:a.map(s=>{const h=s.name,g=s.size,U=s.fileId,C=s.fileUrls;return new k(h,g,this.nextLocalFileId(),{type:"uploaded",fileId:U,fileUrls:C})}),imgSrc:a.length===0?"":this.RESTORED_FROM_WIDGET_STRING,shutter:!1,minShutterEffectPassed:!1,clearPhotoInProgress:!1,facingMode:R.USER}}componentWillUnmount(){this.formClearHelper.disconnect()}get status(){const l=t=>t.status.type==="uploading";return this.state.files.some(l)?"updating":"ready"}componentDidMount(){const l=this.createWidgetValue(),{element:t,widgetMgr:n,fragmentId:o}=this.props;n.getFileUploaderStateValue(t)===void 0&&n.setFileUploaderStateValue(t,l,{fromUi:!1},o)}createWidgetValue(){const l=this.state.files.filter(t=>t.status.type==="uploaded").map(t=>{const{name:n,size:o,status:a}=t;return new le({fileId:a.fileId,fileUrls:a.fileUrls,name:n,size:o})});return new de({uploadedFileInfo:l})}render(){var a;const{element:l,widgetMgr:t,disabled:n,width:o}=this.props;return this.formClearHelper.manageFormClearListener(t,l.formId,this.onFormCleared),F(H,{className:"stCameraInput","data-testid":"stCameraInput",children:[f(pe,{label:l.label,disabled:n,labelVisibility:ce((a=l.labelVisibility)==null?void 0:a.value),children:l.help&&f(ue,{children:f(he,{content:l.help,placement:L.TOP_RIGHT})})}),this.state.imgSrc?F(fe,{children:[f(V,{width:o,children:this.state.imgSrc!==this.RESTORED_FROM_WIDGET_STRING&&f(be,{src:this.state.imgSrc,alt:"Snapshot",opacity:this.state.shutter||!this.state.minShutterEffectPassed?"50%":"100%",width:o,height:o*9/16})}),f(D,{onClick:this.removeCapture,progress:this.getProgress(),disabled:!!this.getProgress()||n,children:this.getProgress()?"Uploading...":F(Me,{children:[f(W,{content:A,margin:"0 xs 0 0",size:"sm"})," Clear photo"]})})]}):f(Ve,{handleCapture:this.handleCapture,width:o,disabled:n,clearPhotoInProgress:this.state.clearPhotoInProgress,setClearPhotoInProgress:this.setClearPhotoInProgress,facingMode:this.state.facingMode,setFacingMode:this.setFacingMode,testOverride:this.props.testOverride})]})}nextLocalFileId(){return this.localFileIdCounter++}}function Le(i,l){return fetch(i).then(t=>t.arrayBuffer()).then(t=>new File([t],l,{type:"image/jpeg"}))}const He=ne(Be);export{He as default};
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|