streamlit-nightly 1.46.2.dev20250626__py3-none-any.whl → 1.46.2.dev20250628__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/config.py +37 -0
- streamlit/proto/NewSession_pb2.py +16 -16
- streamlit/proto/NewSession_pb2.pyi +5 -1
- streamlit/runtime/app_session.py +30 -1
- streamlit/runtime/caching/cache_data_api.py +29 -10
- streamlit/runtime/caching/cache_resource_api.py +40 -13
- streamlit/static/index.html +1 -1
- streamlit/static/manifest.json +218 -218
- streamlit/static/static/js/{ErrorOutline.esm.CJg-nD07.js → ErrorOutline.esm.DOv-m0Tq.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.Bqu9hYVK.js → FileDownload.esm.BJq4sORP.js} +1 -1
- streamlit/static/static/js/{FileHelper.BTD8--nH.js → FileHelper.BQaFP--d.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.DwQzHDKa.js → FormClearHelper.BNPZlucK.js} +1 -1
- streamlit/static/static/js/{Hooks.CkgvOw3a.js → Hooks.BbsB0tft.js} +1 -1
- streamlit/static/static/js/{InputInstructions.A_59uy0m.js → InputInstructions.Bn7SfmZQ.js} +1 -1
- streamlit/static/static/js/{ProgressBar.B8wHlmHP.js → ProgressBar.VamAi00S.js} +1 -1
- streamlit/static/static/js/RenderInPortalIfExists.BMcofnFR.js +1 -0
- streamlit/static/static/js/{Toolbar.CTXCF-zE.js → Toolbar.D07m35gs.js} +1 -1
- streamlit/static/static/js/{base-input.DLahFrJX.js → base-input.CRDju-EK.js} +4 -4
- streamlit/static/static/js/{checkbox.BqH30Pie.js → checkbox.CHb2GSpC.js} +2 -2
- streamlit/static/static/js/{createSuper.BR6dNcL_.js → createSuper.CoSOeLpp.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.DHD2lEOv.js → data-grid-overlay-editor.Dn5QYucy.js} +1 -1
- streamlit/static/static/js/{downloader.Cxz7Pmav.js → downloader.CMEM6V2v.js} +1 -1
- streamlit/static/static/js/{es6.CKIqaUkI.js → es6.KKrSqGPC.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.BUR39Ca8.js → iframeResizer.contentWindow.s9tHKC5N.js} +1 -1
- streamlit/static/static/js/{index.d0pgY8V8.js → index.-dLnClVh.js} +1 -1
- streamlit/static/static/js/{index.C8wAT-1P.js → index.31-60MG1.js} +16 -16
- streamlit/static/static/js/index.B-Fi5URX.js +1 -0
- streamlit/static/static/js/index.BF31vT9W.js +1 -0
- streamlit/static/static/js/{index.jk8Nloxj.js → index.BOpIRvhB.js} +1 -1
- streamlit/static/static/js/{index.C0sFxtmT.js → index.BRFEii3y.js} +1 -1
- streamlit/static/static/js/{index.D5Bi0_IY.js → index.Be15MzB3.js} +1 -1
- streamlit/static/static/js/{index.BydvTht8.js → index.CA6X3n1h.js} +2 -2
- streamlit/static/static/js/{index.CxswEeN7.js → index.CK0LK9uo.js} +1 -1
- streamlit/static/static/js/index.CKTcU2Jo.js +7 -0
- streamlit/static/static/js/{index.DoCkeB4S.js → index.CQoPrcao.js} +1 -1
- streamlit/static/static/js/{index.Du_GhChx.js → index.CSMFgqFx.js} +78 -78
- streamlit/static/static/js/{index.5WfC2MKX.js → index.C_KOPhLq.js} +2 -2
- streamlit/static/static/js/{index.0RieWGP-.js → index.CmssQLKG.js} +1 -1
- streamlit/static/static/js/{index.BnPGYwJD.js → index.CuJ7aHek.js} +1 -1
- streamlit/static/static/js/{index._udMrZfX.js → index.Cw62yKYR.js} +1 -1
- streamlit/static/static/js/{index.Cx9oo677.js → index.CwsRQuWC.js} +1 -1
- streamlit/static/static/js/index.D-ZjhsnF.js +1 -0
- streamlit/static/static/js/{index.DFLLK5fQ.js → index.D1qmtSYC.js} +1 -1
- streamlit/static/static/js/{index.BvMYFCGi.js → index.D4KBbzF-.js} +1 -1
- streamlit/static/static/js/{index.Ched5ljK.js → index.D5kLs5xY.js} +1 -1
- streamlit/static/static/js/index.DAfRod-A.js +1 -0
- streamlit/static/static/js/{index.YJxN7uL8.js → index.DGAM0SUk.js} +1 -1
- streamlit/static/static/js/index.DH_lrk03.js +1 -0
- streamlit/static/static/js/{index.B5TjHKHs.js → index.DKRFgERo.js} +1 -1
- streamlit/static/static/js/{index.CF_0T827.js → index.DZ9mRqRM.js} +1 -1
- streamlit/static/static/js/{index.dRZ6j1EM.js → index.DZfNCrwB.js} +2 -2
- streamlit/static/static/js/index.Ddt-yti9.js +1 -0
- streamlit/static/static/js/{index.5T0ZQUll.js → index.DjzdbuRp.js} +1 -1
- streamlit/static/static/js/{index.C46vZAVk.js → index.Dm2kLKvF.js} +2 -2
- streamlit/static/static/js/index.Dp7v49xb.js +1 -0
- streamlit/static/static/js/{index.DaVYWs29.js → index.IjtuElHJ.js} +1 -1
- streamlit/static/static/js/{index.Br9KoWfK.js → index.OVsenoDa.js} +1 -1
- streamlit/static/static/js/index.QFcvHrXB.js +1 -0
- streamlit/static/static/js/{index.NIVZIka1.js → index.dgrTv8XT.js} +2 -2
- streamlit/static/static/js/index.kE3pAFsk.js +1 -0
- streamlit/static/static/js/{index.BEVVZtmO.js → index.maQR6iGO.js} +5 -5
- streamlit/static/static/js/{input.CYwqmJUN.js → input.Da6flC-J.js} +2 -2
- streamlit/static/static/js/{memory.CwoWYYJe.js → memory.RO-tu8XB.js} +1 -1
- streamlit/static/static/js/{mergeWith.CM4ZdUxz.js → mergeWith.oFY5pwbY.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.App3Ir5h.js → number-overlay-editor.CmedPuXw.js} +1 -1
- streamlit/static/static/js/{possibleConstructorReturn.DLN_CW-A.js → possibleConstructorReturn.DqMD2GCK.js} +1 -1
- streamlit/static/static/js/{sandbox.AnJN0uBk.js → sandbox.BoYwQGpJ.js} +1 -1
- streamlit/static/static/js/{textarea.uAcwGUtc.js → textarea.BDbR_YS9.js} +2 -2
- streamlit/static/static/js/{timepicker.DDp122zI.js → timepicker.oE_U0Vq4.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.CXCskjcZ.js → toConsumableArray.Coo3T7lR.js} +1 -1
- streamlit/static/static/js/{uniqueId.DQ5uc9Dn.js → uniqueId.DdxHnhj2.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.DFIfVHMH.js → useBasicWidgetState.BiqDcmFi.js} +1 -1
- streamlit/static/static/js/useOnInputChange.DU3LGlRV.js +1 -0
- streamlit/static/static/js/{withFullScreenWrapper.6Cdl0P_3.js → withFullScreenWrapper.CvnKWoJw.js} +1 -1
- {streamlit_nightly-1.46.2.dev20250626.dist-info → streamlit_nightly-1.46.2.dev20250628.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.46.2.dev20250626.dist-info → streamlit_nightly-1.46.2.dev20250628.dist-info}/RECORD +81 -81
- streamlit/static/static/js/RenderInPortalIfExists.DLkeeRK1.js +0 -1
- streamlit/static/static/js/index.086fJkRW.js +0 -1
- streamlit/static/static/js/index.39cFhVAB.js +0 -1
- streamlit/static/static/js/index.BBk99Mab.js +0 -1
- streamlit/static/static/js/index.BJg-lqwR.js +0 -1
- streamlit/static/static/js/index.CJNu66g-.js +0 -1
- streamlit/static/static/js/index.Cp5DQ0Nk.js +0 -1
- streamlit/static/static/js/index.DbeUpiV0.js +0 -1
- streamlit/static/static/js/index.DlQzdr4z.js +0 -1
- streamlit/static/static/js/index.Dpi_eA9w.js +0 -1
- streamlit/static/static/js/index.Dt6vo5Wt.js +0 -7
- streamlit/static/static/js/useOnInputChange.qZzWT6UC.js +0 -1
- {streamlit_nightly-1.46.2.dev20250626.data → streamlit_nightly-1.46.2.dev20250628.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.46.2.dev20250626.dist-info → streamlit_nightly-1.46.2.dev20250628.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.46.2.dev20250626.dist-info → streamlit_nightly-1.46.2.dev20250628.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.46.2.dev20250626.dist-info → streamlit_nightly-1.46.2.dev20250628.dist-info}/top_level.txt +0 -0
@@ -1,9 +1,9 @@
|
|
1
|
-
streamlit/__init__.py,sha256=
|
1
|
+
streamlit/__init__.py,sha256=zw444WyZQ9gFQuoT8bJuBG0i0suY70DcNlAqY1HOPcI,9857
|
2
2
|
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=f0uQ6u5tm8uQVhjJU_F_dtvfNV-Om-MekLhWW8b1mnU,57048
|
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
|
@@ -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=1Vr71cpFu-1EL7hl7-Zka8HOo9zAWL2ck1R4eXJ0Pfg,7496
|
248
|
+
streamlit/proto/NewSession_pb2.pyi,sha256=f2Ed-rfpQpa3xIY2vtAzTDYDkmsjH3MOV2JHR3iLags,28428
|
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
|
@@ -306,7 +306,7 @@ streamlit/proto/__init__.py,sha256=WJu86eq4nAb-pIORVP6xRkKHJwAJQcekPW2dRflPl-c,6
|
|
306
306
|
streamlit/proto/openmetrics_data_model_pb2.py,sha256=dWlhXENjgvIGCMnAumDVQkLA4TQQzP77G5pncI6oP9I,6424
|
307
307
|
streamlit/proto/openmetrics_data_model_pb2.pyi,sha256=dmABrepaNR5S9kA1UPfQGXqY_ARAUuLmQBqG1Xn_HUY,20319
|
308
308
|
streamlit/runtime/__init__.py,sha256=DmWO_2apg01B7DZ2toddxjdVXnAjtn28819TpJlgkbQ,1523
|
309
|
-
streamlit/runtime/app_session.py,sha256=
|
309
|
+
streamlit/runtime/app_session.py,sha256=31ogo8Lsr7xKk9GT09Qx52vX2vjDFSTlMNn504J1YRM,41901
|
310
310
|
streamlit/runtime/connection_factory.py,sha256=VGLPo8dlfa5fJT74XXfl4G0GFz3qjZ9uxTVH_mB-gwo,15670
|
311
311
|
streamlit/runtime/context.py,sha256=avvWUDl7i20kgWJJBwyulZZFk1u4Hc1lVoe2Z7oUGwQ,14976
|
312
312
|
streamlit/runtime/context_util.py,sha256=14e8xt_0eevyd41CD6y3UVcX4kQk0BFIU5SvBsHrFD8,1702
|
@@ -330,9 +330,9 @@ streamlit/runtime/stats.py,sha256=Sbxb8cnYy3PIxTdMFwN4_4GiOmtkcEQLVLgJnXqKT1M,38
|
|
330
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
|
-
streamlit/runtime/caching/cache_data_api.py,sha256=
|
333
|
+
streamlit/runtime/caching/cache_data_api.py,sha256=YJXu3s-x2W7ESNV7smB63g9MXRDkcJbewtjqNxvT0FU,24797
|
334
334
|
streamlit/runtime/caching/cache_errors.py,sha256=IbVgqar4vsPAdrNKtU-XoiWfMzTuGYIxwHSeAt1omCY,4811
|
335
|
-
streamlit/runtime/caching/cache_resource_api.py,sha256=
|
335
|
+
streamlit/runtime/caching/cache_resource_api.py,sha256=ugibLgEJNgTUt5MqYUo7ufvh51dIDPko5iSnsqIFr6M,20371
|
336
336
|
streamlit/runtime/caching/cache_type.py,sha256=PMoB0333NeGqopd48B3mEfVeEQsyKdk5NV-hk9sAxtQ,1131
|
337
337
|
streamlit/runtime/caching/cache_utils.py,sha256=xjW0u9QhVaeenL8MAz6cGrkMsGOHCM5OgEi5bcKmIe8,20331
|
338
338
|
streamlit/runtime/caching/cached_message_replay.py,sha256=8G_4dFjD0uNOvQ-TLFMXG-rFeRvK8FNJsvuwtfk2Wtc,11319
|
@@ -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=PlzBFDFaHAkQuT5YYvftZy8YI1_qDh6EzDn-XeFDPbY,1522
|
366
|
+
streamlit/static/manifest.json,sha256=SueKGsqL0YURDDdBpTD1wc2jW5nUYR9qPj2VYKO-Y0o,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.DOv-m0Tq.js,sha256=44M8txKf-lj3azJjJYZI_wwHz4nAITqL2DTGZJlFwdM,499
|
371
|
+
streamlit/static/static/js/FileDownload.esm.BJq4sORP.js,sha256=76WjdQOFygrefq44ddgNuWGuloQ9CpHvIa-20KAygPg,918
|
372
|
+
streamlit/static/static/js/FileHelper.BQaFP--d.js,sha256=SPHUXSfrqJoqqnSiPHxYFmop35wMjrpYWMATQSUFKnE,61607
|
373
|
+
streamlit/static/static/js/FormClearHelper.BNPZlucK.js,sha256=FxSzuulOLsVy9WX1UxEaY79Yjbw4uoFUmVfr07qHg0o,631
|
374
|
+
streamlit/static/static/js/Hooks.BbsB0tft.js,sha256=05Z9L_JNWzCRb-ek5PLPVdfLkpHUz8466kzR44QvX2U,140
|
375
|
+
streamlit/static/static/js/InputInstructions.Bn7SfmZQ.js,sha256=bOMxK1qZ6aBbkCGB0YkA2qSnvZ6FJa1wbaXOO2A-ljE,899
|
376
|
+
streamlit/static/static/js/ProgressBar.VamAi00S.js,sha256=cssKkPKkYTjIcTMmJYTwp_LB5FGxLdxoxdZMS0JfCTc,13316
|
377
|
+
streamlit/static/static/js/RenderInPortalIfExists.BMcofnFR.js,sha256=2OYoUqLmYc2PZIwIIxB4WiCtqBanZ-oCifR_qdtgsJ0,523
|
378
|
+
streamlit/static/static/js/Toolbar.D07m35gs.js,sha256=UfGRvf9O4N3rlbuLgdaKPD1VQnRHVT2ac4kA-qSpfyk,2882
|
379
379
|
streamlit/static/static/js/UploadFileInfo.C-jY39rj.js,sha256=Z_hcytEoaAX1saJgsfX1UoComwwlMcjCUZ8ldwuQJI8,151
|
380
|
-
streamlit/static/static/js/base-input.
|
381
|
-
streamlit/static/static/js/checkbox.
|
380
|
+
streamlit/static/static/js/base-input.CRDju-EK.js,sha256=ap15WeCWcalxHJummBU3IY5iK-xOqCAdtsZTpuNBKy0,21774
|
381
|
+
streamlit/static/static/js/checkbox.CHb2GSpC.js,sha256=EVx7Q8kQV7DMS6zmTj-hZiAv4w34CCP6e_hf4kiuWWA,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.CoSOeLpp.js,sha256=NQSEx2lh6GXMnkkZW3I_51tJXRNf7uO6JDvFEb768TY,394
|
384
|
+
streamlit/static/static/js/data-grid-overlay-editor.Dn5QYucy.js,sha256=g3OePJmMbbdLdtuypTkMMxSTm_baEOo092jtKsRa1E4,4142
|
385
|
+
streamlit/static/static/js/downloader.CMEM6V2v.js,sha256=5n85MWZri0k-WNzrA_62yaj3tXzP9LljoUApsVqbci8,2535
|
386
|
+
streamlit/static/static/js/es6.KKrSqGPC.js,sha256=gon_N_IehpnKLD3LLlhgDIMU9IWQxUSLLxfk0ZoIAJ0,15321
|
387
|
+
streamlit/static/static/js/iframeResizer.contentWindow.s9tHKC5N.js,sha256=wGNGYAqpfE1RwLB0OFPMmaPecVKm2gFo9-uQhVR4Tho,14406
|
388
|
+
streamlit/static/static/js/index.-dLnClVh.js,sha256=vpvxQDOuTHziU4Drv7V4Q8RZEQswSdn9xpY0GAYgukw,2852
|
389
|
+
streamlit/static/static/js/index.31-60MG1.js,sha256=BmvBF6Z_GWu128wjR4a6ernjxSKt-mRgutqznVcxMjw,854140
|
390
|
+
streamlit/static/static/js/index.B-Fi5URX.js,sha256=BhRTQOG96MFTmpzPUoVrLa4Ru_HyU0WVqf6rLP1yTyg,4192
|
391
|
+
streamlit/static/static/js/index.BF31vT9W.js,sha256=MeCtEWE15q6gT6HHpChyGt8WEkvDlW2N4Uaq4SXTE1Y,12791
|
392
|
+
streamlit/static/static/js/index.BOpIRvhB.js,sha256=gTQIATIQ8P-e4iTF2mXDpHaIWFc-LmCqwEa6q1bchuo,947
|
393
|
+
streamlit/static/static/js/index.BRFEii3y.js,sha256=TTEowguy09OMhtOTf4hzvckcfmAdvGZByOInPzSoYMk,3618
|
394
|
+
streamlit/static/static/js/index.Be15MzB3.js,sha256=Plh_6UuuxH6xmyqBG3I9K879bOw-kSHZCviHRf_q6pk,19443
|
395
|
+
streamlit/static/static/js/index.CA6X3n1h.js,sha256=vvxg8IardjiO2ZpAUuW-sd_7VynMo9JhhWcm9lUIioo,34817
|
396
|
+
streamlit/static/static/js/index.CK0LK9uo.js,sha256=reK7lP1rzK0SMvTLBizyQYsS6atgtPatvgtVg1IGWmw,852045
|
397
|
+
streamlit/static/static/js/index.CKTcU2Jo.js,sha256=s22LDPb2-UCN4tqmhxgutt-1mUTGjT8rSDoJrDlFKxg,1272
|
398
|
+
streamlit/static/static/js/index.CQoPrcao.js,sha256=fkpj8z2G_FFMaMCmy58JEvRrZU4x89V4KM0e-v55RrA,7572
|
399
|
+
streamlit/static/static/js/index.CSMFgqFx.js,sha256=RhL1bxlwbGVQhMbewBbTHTgsPA44oKU3UTnvZCfzrhk,6148495
|
400
|
+
streamlit/static/static/js/index.C_KOPhLq.js,sha256=ypxwD7dQEXxM1d3l-HNcU09jizrJA6HGsaKE1ybg9l0,9243
|
401
|
+
streamlit/static/static/js/index.CmssQLKG.js,sha256=JnGft4rz726g12VlnJK__GLugwoHCIE7RiENi7iAaoc,2837
|
402
|
+
streamlit/static/static/js/index.CuJ7aHek.js,sha256=UwVcDj6E96vW8EkkCY0HwKOSvxGUjdcOY7XfyYnvOj4,3385535
|
403
|
+
streamlit/static/static/js/index.Cw62yKYR.js,sha256=hmrSDJmsaE1az56Gq8Bw0B51uD3ZV44ydI60IM22qJw,1708
|
404
|
+
streamlit/static/static/js/index.CwsRQuWC.js,sha256=T09AOFdfdgvHKxIqpOEjBgrIQrnRJcQeKK3sojqvlHY,2595306
|
405
|
+
streamlit/static/static/js/index.D-ZjhsnF.js,sha256=lzPyUGXhG0bdEnvNRtfX9_T-pPCyCUVhiu54IqBuXEo,2445
|
406
|
+
streamlit/static/static/js/index.D1qmtSYC.js,sha256=DFwKVdCNDN9mSw9hSti-iedH6I9QDy6m2GAau04mZoU,1333
|
407
|
+
streamlit/static/static/js/index.D4KBbzF-.js,sha256=CH5cZI42_7I0r3_FnfoSXVArZTiy06CZklooxVIa2oY,2522
|
408
|
+
streamlit/static/static/js/index.D5kLs5xY.js,sha256=yHDLyYNXFNA74GizUwyzM34vvEOMzQ6_Adj3nFaWW_0,22623
|
409
|
+
streamlit/static/static/js/index.DAfRod-A.js,sha256=Q9k8yhVy1oqChLO3BAgCLFum75Yxh2VQWh_9-64o9cc,718
|
410
|
+
streamlit/static/static/js/index.DGAM0SUk.js,sha256=bZAOqlT5RLMyoW6KYQMvUR3KvZ3sZYzRZMU1SZIzieY,12671
|
411
|
+
streamlit/static/static/js/index.DH_lrk03.js,sha256=ktqccw8BIqnNvvRdfyaeMss06ugC-0sDqAc6oxgZoSY,2388
|
412
|
+
streamlit/static/static/js/index.DKRFgERo.js,sha256=6g0yUNjJgpNBSUZqiGHmHs1qEL4BP4imRIceyo5pbrs,1810
|
413
|
+
streamlit/static/static/js/index.DZ9mRqRM.js,sha256=fqlbxqzvv_OWijIHRdQzjl8K-l3C6DHx5ITJZRjf_fc,128291
|
414
|
+
streamlit/static/static/js/index.DZfNCrwB.js,sha256=XnDS4tok7e2w3gQyKduhU7Avg7Zm9vrnmbfwBxtVRCc,50234
|
415
|
+
streamlit/static/static/js/index.Ddt-yti9.js,sha256=AvxfI5IlPYKcJyri_8plDZp_di49bGDk_yYqJUz8t6E,443
|
416
|
+
streamlit/static/static/js/index.DjzdbuRp.js,sha256=S2QjawOoPsNFrDmaRnM7Rs8TvXdYbpVy6fv8lNTnv-I,1571
|
417
|
+
streamlit/static/static/js/index.Dm2kLKvF.js,sha256=MBLyFUyYKd2fKiRCRo4JI50-afDV4nysrkn1r_e44p0,4692521
|
418
|
+
streamlit/static/static/js/index.Dp7v49xb.js,sha256=Dq7lbgvK2GLHH0w36fCeCEpeIJwUk_YmZF4RUeuoGMA,2889
|
419
|
+
streamlit/static/static/js/index.IjtuElHJ.js,sha256=cv1CUDh97mel4PGwl6Y8BuUj802mhUeUYxa9Q9gXTW0,24480
|
420
|
+
streamlit/static/static/js/index.OVsenoDa.js,sha256=1f0PgiGEGUbW_PjhKhotKJLAVWIZaibxV720ZRdLPnA,583
|
421
|
+
streamlit/static/static/js/index.QFcvHrXB.js,sha256=FpcQSGojzUObX6CGpkUoYtj849qkx2uK29eLChvzlVk,650
|
422
|
+
streamlit/static/static/js/index.dgrTv8XT.js,sha256=AGAlBIKWO2Yhzl8FHxPxvK1U2oM0nKBh8aErNMsJlw4,19017
|
423
|
+
streamlit/static/static/js/index.kE3pAFsk.js,sha256=Z6aY8W4W8bsq49cl8o5hpm7TkxrRgrP42XvxhN43Uao,890
|
424
|
+
streamlit/static/static/js/index.maQR6iGO.js,sha256=q768gZLCg-x3tMrrTwb4x4GgDz3npf7ZJMCRyFIBP6Y,435905
|
425
|
+
streamlit/static/static/js/input.Da6flC-J.js,sha256=M3uTcXlPfbVKAb6JHPLJcI9tPaGS3jokKMdIz5RYCG4,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.RO-tu8XB.js,sha256=N7djkJzc6dKo-HM-S-2oGQBkvIisK8DRa5wbua2bUhI,3041
|
428
|
+
streamlit/static/static/js/mergeWith.oFY5pwbY.js,sha256=GPf1JKPJgKqAYIJVISA2snV4XlnAif6qN2Ob2aSNyvk,198
|
429
|
+
streamlit/static/static/js/number-overlay-editor.CmedPuXw.js,sha256=CGnC20GBBnBbacebu6EGX4B_M-sgid-tEYvaEXh--T4,16550
|
430
|
+
streamlit/static/static/js/possibleConstructorReturn.DqMD2GCK.js,sha256=JKG1J5XHzJznOb6NW3ivMnAtxSUVYHLtTk7yQVKXteI,1451
|
431
|
+
streamlit/static/static/js/sandbox.BoYwQGpJ.js,sha256=IGcribLFiz0ALJo_3m7CV5WlNo5Qmu9DLnwVx9XTdqg,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.BDbR_YS9.js,sha256=Asyeh3Dn-zcb_vPpvnds5nHGN4rnFui8pAQil1gIK8o,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.oE_U0Vq4.js,sha256=la-VlVSesk2VANaYJjAHz2fno3HCrhKPb1peAu1vPqQ,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.Coo3T7lR.js,sha256=6q7BEFGRjHGYU9cdSFN5iQQjI6zF7QU_aBebWRW2OLI,1587
|
438
|
+
streamlit/static/static/js/uniqueId.DdxHnhj2.js,sha256=BwGuCrDgm0ynCtqrsfWEWHKAvxI0NFdEYUfWj76R84c,190
|
439
|
+
streamlit/static/static/js/useBasicWidgetState.BiqDcmFi.js,sha256=udPjLB7Egk9bDWnTdaOyyH_9a0Q97bKzpF96eDh4zsY,960
|
440
|
+
streamlit/static/static/js/useOnInputChange.DU3LGlRV.js,sha256=eDG7ybJSs0QKW4cdYZSxWwE7g6ToFF8R4GPyrtO2uY4,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.CvnKWoJw.js,sha256=MyTKa7707MWunJCMJ5KGhrT8-wuvlvdp2J2xin9FMBw,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
|
@@ -551,9 +551,9 @@ streamlit/web/server/server_util.py,sha256=NCOxLbtvLVPqDqqwq14aFIdZclBTG3q-el-TP
|
|
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.46.2.
|
555
|
-
streamlit_nightly-1.46.2.
|
556
|
-
streamlit_nightly-1.46.2.
|
557
|
-
streamlit_nightly-1.46.2.
|
558
|
-
streamlit_nightly-1.46.2.
|
559
|
-
streamlit_nightly-1.46.2.
|
554
|
+
streamlit_nightly-1.46.2.dev20250628.data/scripts/streamlit.cmd,sha256=k9768SaQCkiYAPaTp7JtkhAHEHflNQfu6fAM4pri6zo,676
|
555
|
+
streamlit_nightly-1.46.2.dev20250628.dist-info/METADATA,sha256=TzEzTLfc4zoWBUTGfiIbXmOkLo9BTuqT1lbJNmcAxXE,8973
|
556
|
+
streamlit_nightly-1.46.2.dev20250628.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
557
|
+
streamlit_nightly-1.46.2.dev20250628.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
|
558
|
+
streamlit_nightly-1.46.2.dev20250628.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
|
559
|
+
streamlit_nightly-1.46.2.dev20250628.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as i,r as s,j as r,a as d,P as m,b as p,F as P}from"./index.Du_GhChx.js";const x=i("div",{target:"e1swy67l0"})({"@media print":{display:"none"}}),y=({className:t,scriptRunId:a,numParticles:e,numParticleTypes:o,ParticleComponent:n})=>r(x,{className:t,"data-testid":t,children:d(e).map(l=>{const c=Math.floor(Math.random()*o);return r(n,{particleType:c},a+l)})}),E=s.memo(y),f=({children:t})=>{var e;const a=(e=s.useContext(m))==null?void 0:e();return a?p.createPortal(t,a):r(P,{children:t})};export{E as P,f as R};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as i,j as c,bt as g,bT as b}from"./index.Du_GhChx.js";import{a as m}from"./useBasicWidgetState.DFIfVHMH.js";import"./FormClearHelper.DwQzHDKa.js";const f=(t,e)=>t.getStringValue(e),p=t=>t.default??null,C=t=>t.value??null,d=(t,e,r,o)=>{e.setStringValue(t,r.value,{fromUi:r.fromUi},o)},S=({element:t,disabled:e,widgetMgr:r,fragmentId:o})=>{var l;const[s,a]=m({getStateFromWidgetMgr:f,getDefaultStateFromProto:p,getCurrStateFromProto:C,updateWidgetMgrState:d,element:t,widgetMgr:r,fragmentId:o}),u=i.useCallback(n=>{a({value:n,fromUi:!0})},[a]);return c(b,{label:t.label,labelVisibility:g((l=t.labelVisibility)==null?void 0:l.value),help:t.help,onChange:u,disabled:e,value:s})},k=i.memo(S);export{k as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as C,r as n,z as W,ba as I,c5 as V,c6 as O,C as $,j as a,bt as H,bJ as L,bu as F,bb as N,bv as P,c4 as k,c7 as B,c0 as E,c8 as A,bF as D}from"./index.Du_GhChx.js";import{a as U}from"./useBasicWidgetState.DFIfVHMH.js";import"./FormClearHelper.DwQzHDKa.js";const j=C("div",{target:"euzcfsp0"})(({theme:s})=>({"span[aria-disabled='true']":{background:s.colors.fadedText05}})),G=(s,t)=>s.getStringArrayValue(t),K=s=>s.default.map(t=>s.options[t])??null,Y=s=>s.rawValues??null,_=(s,t,l,u)=>{t.setStringArrayValue(s,l.value,{fromUi:l.fromUi},u)},J=s=>{var S;const{element:t,widgetMgr:l,fragmentId:u}=s,e=W(),f=n.useContext(I),[i,m]=U({getStateFromWidgetMgr:G,getDefaultStateFromProto:K,getCurrStateFromProto:Y,updateWidgetMgrState:_,element:t,widgetMgr:l,fragmentId:u}),h=t.maxSelections>0&&i.length>=t.maxSelections,y=n.useMemo(()=>{if(t.maxSelections===0)return"No results";if(i.length===t.maxSelections){const o=t.maxSelections!==1?"options":"option";return`You can only select up to ${t.maxSelections} ${o}. Remove an option first.`}return"No results"},[t.maxSelections,i.length]),x=n.useMemo(()=>i.map(o=>({value:o,label:o})),[i]),b=n.useCallback(o=>{var r,d;switch(o.type){case"remove":return V(i,(r=o.option)==null?void 0:r.value);case"clear":return[];case"select":return i.concat([(d=o.option)==null?void 0:d.value]);default:throw new Error(`State transition is unknown: ${o.type}`)}},[i]),v=n.useCallback(o=>{t.maxSelections&&o.type==="select"&&i.length>=t.maxSelections||m({value:b(o),fromUi:!0})},[t.maxSelections,b,m,i.length]),z=n.useCallback((o,r)=>{if(h)return[];const d=o.filter(T=>!i.includes(T.value));return O(d,r)},[h,i]),{options:p}=t;let c=s.disabled,g=t.placeholder;p.length===0&&(t.acceptNewOptions?g="Add options":(g="No options to select",c=!0));const w=p.map((o,r)=>({label:o,value:o,id:`${o}_${r}`})),M=p.length>10,R=n.useMemo(()=>{const o=e.fontSizes.baseFontSize*1.6+14;return`${Math.round(o*4.25)}px`},[e.fontSizes.baseFontSize]);return $("div",{className:"stMultiSelect","data-testid":"stMultiSelect",children:[a(P,{label:t.label,disabled:c,labelVisibility:H((S=t.labelVisibility)==null?void 0:S.value),children:t.help&&a(L,{children:a(F,{content:t.help,placement:N.TOP_RIGHT})})}),a(j,{children:a(k,{creatable:t.acceptNewOptions??!1,options:w,labelKey:"label",valueKey:"value","aria-label":t.label,placeholder:g,type:A.select,multi:!0,onChange:v,value:x,disabled:c,size:"compact",noResultsMsg:y,filterOptions:z,closeOnSelect:!1,ignoreCase:!1,overrides:{Popover:{props:{ignoreBoundary:f,overrides:{Body:{style:()=>({marginTop:e.spacing.px})}}}},SelectArrow:{component:E,props:{style:{cursor:"pointer"},overrides:{Svg:{style:()=>({width:e.iconSizes.xl,height:e.iconSizes.xl})}}}},IconsContainer:{style:()=>({paddingRight:e.spacing.sm})},ControlContainer:{style:{maxHeight:R,minHeight:e.sizes.minElementHeight,borderLeftWidth:e.sizes.borderWidth,borderRightWidth:e.sizes.borderWidth,borderTopWidth:e.sizes.borderWidth,borderBottomWidth:e.sizes.borderWidth}},Placeholder:{style:()=>({flex:"inherit",color:c?e.colors.fadedText40:e.colors.fadedText60})},ValueContainer:{style:()=>({overflowY:"auto",paddingLeft:e.spacing.sm,paddingTop:e.spacing.none,paddingBottom:e.spacing.none,paddingRight:e.spacing.none})},ClearIcon:{props:{overrides:{Svg:{style:{color:e.colors.darkGray,padding:e.spacing.threeXS,height:e.sizes.clearIconSize,width:e.sizes.clearIconSize,cursor:"pointer",":hover":{fill:e.colors.bodyText}}}}}},SearchIcon:{style:{color:e.colors.darkGray}},Tag:{props:{overrides:{Root:{style:{borderTopLeftRadius:e.radii.md,borderTopRightRadius:e.radii.md,borderBottomRightRadius:e.radii.md,borderBottomLeftRadius:e.radii.md,fontSize:e.fontSizes.md,paddingLeft:e.spacing.sm,marginLeft:e.spacing.none,marginRight:e.spacing.sm,height:`calc(${e.sizes.minElementHeight} - 2 * ${e.spacing.xs})`,maxWidth:`calc(100% - ${e.spacing.lg})`,cursor:"default !important"}},Action:{style:{paddingLeft:0}},ActionIcon:{props:{overrides:{Svg:{style:{width:"0.625em",height:"0.625em"}}}}}}}},MultiValue:{props:{overrides:{Root:{style:{fontSize:e.fontSizes.sm}}}}},Input:{props:{readOnly:D()&&M===!1?"readonly":null}},Dropdown:{component:B}}})})]})},Z=n.memo(J);export{Z as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as a,r as t,O as i,j as d,b2 as c,b3 as e,M as l}from"./index.Du_GhChx.js";const g=a("iframe",{target:"e3tg43n0"})(({theme:o,disableScrolling:n})=>({width:"100%",colorScheme:"normal",border:"none",padding:o.spacing.none,margin:o.spacing.none,overflow:n?"hidden":void 0}));function r(o){return l(o)||o===""?void 0:o}function I({element:o}){const n=r(o.src),s=i(n)?void 0:r(o.srcdoc);return d(g,{className:"stIFrame","data-testid":"stIFrame",allow:e,disableScrolling:!o.scrolling,src:n,srcDoc:s,height:o.height,scrolling:o.scrolling?"auto":"no",sandbox:c,title:"st.iframe",tabIndex:o.tabIndex??void 0})}const m=t.memo(I);export{m as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as i,E as J,_ as Q,n as g,B as ht,z as W,j as n,bb as Z,bw as ft,C as F,br as tt,b6 as et,bq as T,b0 as mt,bK as yt,bI as q,bl as Ct,bL as v,bu as It,F as ot,aR as bt,bM as vt,M,bn as xt,bm as wt}from"./index.Du_GhChx.js";import{g as St,C as Ft,I as Et,F as N,E as Ut,a as zt,s as Tt,u as Ht,b as Bt}from"./FileHelper.BTD8--nH.js";import{I as Rt}from"./InputInstructions.A_59uy0m.js";import{i as Dt}from"./inputUtils.CQWz5UKz.js";import{E as Lt}from"./ErrorOutline.esm.CJg-nD07.js";import{U as nt}from"./UploadFileInfo.C-jY39rj.js";import{T as Mt}from"./textarea.uAcwGUtc.js";import"./base-input.DLahFrJX.js";var at=i.forwardRef(function(t,e){var s={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return i.createElement(J,Q({iconAttrs:s,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:e}),i.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),i.createElement("path",{d:"M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 015 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5a2.5 2.5 0 005 0V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"}))});at.displayName="AttachFile";var rt=i.forwardRef(function(t,e){var s={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return i.createElement(J,Q({iconAttrs:s,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},t,{ref:e}),i.createElement("rect",{width:24,height:24,fill:"none"}),i.createElement("path",{d:"M3 5.51v3.71c0 .46.31.86.76.97L11 12l-7.24 1.81c-.45.11-.76.51-.76.97v3.71c0 .72.73 1.2 1.39.92l15.42-6.49c.82-.34.82-1.5 0-1.84L4.39 4.58C3.73 4.31 3 4.79 3 5.51z"}))});rt.displayName="Send";const $t=g("div",{target:"e1togvvn0"})("border:none;position:relative;display:flex;"),kt=g("div",{target:"e1togvvn1"})(({theme:t,extended:e})=>({border:`${t.sizes.borderWidth} solid`,borderColor:t.colors.widgetBorderColor??t.colors.transparent,borderRadius:t.radii.chatInput,backgroundColor:t.colors.secondaryBg,position:"relative",flexGrow:1,display:"flex",alignItems:"center",paddingLeft:t.spacing.lg,maxHeight:e?"none":t.sizes.minElementHeight,gap:t.spacing.sm,overflow:"hidden",":focus-within":{borderColor:t.colors.primary}})),Vt=g("button",{target:"e1togvvn2"})(({theme:t,disabled:e,extended:s})=>{const p=ht(t),[f,u]=p?[t.colors.gray60,t.colors.gray80]:[t.colors.gray80,t.colors.gray40];return{border:"none",backgroundColor:t.colors.transparent,borderTopRightRadius:s?"0":t.radii.chatInput,borderTopLeftRadius:s?t.radii.default:"0",borderBottomRightRadius:t.radii.chatInput,display:"inline-flex",alignItems:"center",justifyContent:"center",lineHeight:t.lineHeights.none,margin:t.spacing.none,padding:t.spacing.sm,color:e?f:u,pointerEvents:"auto","&:focus":{outline:"none"},":focus":{outline:"none"},"&:focus-visible":{backgroundColor:p?t.colors.gray10:t.colors.gray90},"&:hover":{color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.transparent,borderColor:t.colors.transparent,color:t.colors.gray,cursor:"not-allowed"}}}),Nt=g("div",{target:"e1togvvn3"})(({theme:t})=>({display:"flex",alignItems:"flex-end",height:"100%",position:"absolute",right:0,marginBottom:`-${t.sizes.borderWidth}`,pointerEvents:"none"})),Wt=g("div",{target:"e1togvvn4"})(({theme:t})=>({position:"absolute",bottom:"0px",right:`calc(${t.iconSizes.xl} + 2 * ${t.spacing.sm} + ${t.spacing.sm})`})),At=g("div",{target:"e15560op0"})(({theme:t,height:e})=>({backgroundColor:t.colors.transparent,position:"absolute",left:0,bottom:0,minHeight:`max(${t.sizes.emptyDropdownHeight}, ${e})`,width:"100%",zIndex:t.zIndices.priority})),Pt=g("div",{target:"e15560op1"})(({theme:t,height:e})=>({border:`${t.sizes.borderWidth} solid`,borderColor:t.colors.primary,borderRadius:t.radii.chatInput,backgroundColor:t.colors.secondaryBg,color:t.colors.primary,display:"flex",alignItems:"center",justifyContent:"center",height:e,width:"100%",fontWeight:t.fontWeights.bold})),Kt=g("div",{target:"e15560op2"})(({theme:t,disabled:e})=>({display:"flex",alignItems:"top",height:"100%",marginTop:`-${t.sizes.borderWidth}`,cursor:e?"not-allowed":"auto"})),Ot=g("div",{target:"e15560op3"})(({disabled:t})=>({pointerEvents:t?"none":"auto"})),_t=g("div",{target:"e15560op4"})(({theme:t})=>({marginTop:"0.625em",marginLeft:t.spacing.sm,height:t.spacing.xl,width:t.sizes.borderWidth,backgroundColor:t.colors.fadedText20})),Xt=g("div",{target:"e15560op5"})(({theme:t})=>({left:0,right:0,lineHeight:t.lineHeights.tight,paddingLeft:t.spacing.sm,paddingRight:t.spacing.sm,overflowX:"auto"})),Gt=g("div",{target:"e15560op6"})({display:"flex"}),jt=g("div",{target:"e15560op7"})({flex:"0 0 auto"}),Yt=g("div",{target:"e15560op8"})(({theme:t})=>({display:"flex",alignItems:"center",padding:t.spacing.sm,gap:t.spacing.twoXS})),qt=g("div",{target:"e15560op9"})(({theme:t})=>({color:t.colors.fadedText60})),Jt=g("div",{target:"e15560op10"})(({theme:t,fileStatus:e})=>({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:e.type==="uploaded"?t.colors.bodyText:t.colors.fadedText60})),Qt=g("div",{target:"e15560op11"})(({theme:t})=>({marginRight:t.spacing.md,color:t.colors.fadedText60})),Zt=g("small",{target:"e15560op12"})(({theme:t})=>({display:"flex",alignItems:"center",maxHeight:t.sizes.smallElementHeight,color:t.colors.fadedText60,"& :hover":{color:t.colors.bodyText}}));function te({children:t,content:e}){const s=W();return n(ft,{content:e,placement:Z.TOP,overrides:{Body:{style:{top:`-${s.sizes.minElementHeight}`}}},children:t})}const ee=({fileInfo:t})=>{const e=W(),{type:s}=t.status;switch(s){case"uploading":return n(yt,{usingCustomTheme:!1,"data-testid":"stChatInputFileIconSpinner",size:"lg",margin:"0",padding:"0"});case"error":return n(te,{content:t.status.errorMessage,children:n(T,{color:e.colors.red,content:Lt,size:"lg"})});case"uploaded":return n(T,{content:Et,size:"lg"});default:return mt(s),null}},oe=({fileInfo:t,onDelete:e})=>F(Yt,{className:"stChatInputFile","data-testid":"stChatInputFile",children:[n(qt,{children:n(ee,{fileInfo:t})}),n(Jt,{className:"stChatInputFileName","data-testid":"stChatInputFileName",title:t.name,fileStatus:t.status,children:t.name}),n(Qt,{children:St(t.size,N.Byte)}),n(Zt,{"data-testid":"stChatInputDeleteBtn",children:n(tt,{onClick:()=>e(t.id),kind:et.MINIMAL,children:n(T,{content:Ft,size:"lg"})})})]}),ne=i.memo(oe),ae=({items:t,onDelete:e})=>n(Xt,{"data-testid":"stChatUploadedFiles",children:n(Gt,{children:t.map(s=>n(jt,{children:n(ne,{fileInfo:s,onDelete:e})},s.id))})}),re=i.memo(ae),ie=({getNextLocalFileId:t,addFiles:e,updateFile:s,uploadClient:p,element:f,onUploadProgress:u,onUploadComplete:I})=>(y,d)=>{const m=q.CancelToken.source(),c=new nt(d.name,d.size,t(),{type:"uploading",cancelToken:m,progress:1});e([c]),p.uploadFile({formId:"",...f},y.uploadUrl,d,h=>u(h,c.id),m.token).then(()=>I(c.id,y)).catch(h=>{q.isCancel(h)||s(c.id,c.setStatus({type:"error",errorMessage:h?h.toString():"Unknown error"}))})},se=({acceptMultipleFiles:t,maxFileSize:e,uploadClient:s,uploadFile:p,addFiles:f,getNextLocalFileId:u,deleteExistingFiles:I,onUploadComplete:y})=>(d,m)=>{if(!t&&d.length===0&&m.length>1){const c=m.findIndex(h=>{var x;return((x=h.errors)==null?void 0:x[0].code)===Ut.TooManyFiles});c>=0&&(d.push(m[c].file),m.splice(c,1))}if(!t&&d.length>0&&I(),s.fetchFileURLs(d).then(c=>{Ct(c,d).forEach(([h,x])=>{p(h,x)})}).catch(c=>{f(d.map(h=>new nt(h.name,h.size,u(),{type:"error",errorMessage:c})))}),m.length>0){const c=m.map(h=>zt(h,u(),e));f(c)}y()},le=({getRootProps:t,getInputProps:e,acceptFile:s,disabled:p,theme:f})=>F(Kt,{disabled:p,children:[F(Ot,{"data-testid":"stChatInputFileUploadButton",disabled:p,...t(),children:[n("input",{...e()}),n(It,{content:`Upload or drag and drop ${s===v.Multiple?"files":"a file"}`,placement:Z.TOP,onMouseEnterDelay:500,children:n(tt,{kind:et.MINIMAL,disabled:p,children:n(T,{content:at,size:"lg",color:p?f.colors.fadedText40:f.colors.fadedText60})})})]}),n(_t,{})]}),de=i.memo(le),ce=({getRootProps:t,getInputProps:e,acceptFile:s,inputHeight:p})=>F(ot,{children:[n(At,{height:p,...t(),children:n("input",{...e()})}),n(Pt,{height:p,children:`Drag and drop ${s===v.Multiple?"files":"a file"} here`})]}),pe=i.memo(ce),ue=6.5,$=1,k=(t,e,s)=>s.map(p=>p.id===t?e:p),V=(t,e)=>e.find(s=>s.id===t);function ge({disabled:t,element:e,widgetMgr:s,fragmentId:p,uploadClient:f}){const u=W(),{placeholder:I,maxChars:y}=e,d=i.useRef(null),m=i.useRef(0),c=i.useRef({minHeight:0,maxHeight:0}),[h,x]=bt(),[E,B]=i.useState(e.default),[U,R]=i.useState(0),[H,it]=i.useState(!1),[w,S]=i.useState([]),[z,D]=i.useState(!1),L=i.useMemo(()=>w.some(o=>o.status.type==="uploading")?!1:E!==""||w.length>0,[w,E]),b=vt(e.acceptFile),A=Tt(e.maxUploadSizeMb,N.Megabyte,N.Byte),P=i.useCallback(o=>S(a=>[...a,...o]),[]),K=i.useCallback(o=>{S(a=>{const l=V(o,a);return M(l)?a:(l.status.type==="uploading"&&l.status.cancelToken.cancel(),l.status.type==="uploaded"&&l.status.fileUrls.deleteUrl&&f.deleteFile(l.status.fileUrls.deleteUrl),a.filter(r=>r.id!==o))})},[f]),st=()=>{const o=w.filter(a=>a.status.type==="uploaded").map(a=>{const{name:l,size:r,status:C}=a,{fileId:ut,fileUrls:gt}=C;return new xt({fileId:ut,fileUrls:gt,name:l,size:r})});return new wt({uploadedFileInfo:o})},O=()=>m.current++,lt=se({acceptMultipleFiles:b===v.Multiple,maxFileSize:A,uploadClient:f,uploadFile:ie({getNextLocalFileId:O,addFiles:P,updateFile:(o,a)=>{S(l=>k(o,a,l))},uploadClient:f,element:e,onUploadProgress:(o,a)=>{S(l=>{const r=V(a,l);if(M(r)||r.status.type!=="uploading")return l;const C=Math.round(o.loaded*100/o.total);return r.status.progress===C?l:k(a,r.setStatus({type:"uploading",cancelToken:r.status.cancelToken,progress:C}),l)})},onUploadComplete:(o,a)=>{S(l=>{const r=V(o,l);return M(r)||r.status.type!=="uploading"?l:k(r.id,r.setStatus({type:"uploaded",fileId:a.fileId,fileUrls:a}),l)})}}),addFiles:P,getNextLocalFileId:O,deleteExistingFiles:()=>w.forEach(o=>K(o.id)),onUploadComplete:()=>{d.current&&d.current.focus()}}),{getRootProps:_,getInputProps:X}=Ht({onDrop:lt,multiple:b===v.Multiple,accept:Bt(e.fileType),maxSize:A}),G=()=>{let o=0;const{current:a}=d;return a&&(a.style.height="auto",o=a.scrollHeight,a.style.height=""),o},j=()=>{if(d.current&&d.current.focus(),!L||t)return;const o={data:E,fileUploaderState:st()};s.setChatInputValue(e,o,{fromUi:!0},p),S([]),B(""),R(0)},dt=o=>{const{metaKey:a,ctrlKey:l,shiftKey:r}=o;Dt(o)&&!r&&!l&&!a&&(o.preventDefault(),j())},ct=o=>{const{value:a}=o.target;y!==0&&a.length>y||(B(a),R(G()))};i.useEffect(()=>{if(e.setValue){e.setValue=!1;const o=e.value||"";B(o)}},[e]),i.useLayoutEffect(()=>{if(d.current){const{offsetHeight:o}=d.current;c.current.minHeight=o,c.current.maxHeight=o*ue}},[d]),i.useEffect(()=>{const o=r=>{var C;r.preventDefault(),r.stopPropagation(),!z&&((C=r.dataTransfer)!=null&&C.types.includes("Files"))&&D(!0)},a=r=>{r.preventDefault(),r.stopPropagation(),z&&(r.clientX<=0&&r.clientY<=0||r.clientX>=window.innerWidth&&r.clientY>=window.innerHeight)&&D(!1)},l=r=>{r.preventDefault(),r.stopPropagation(),z&&D(!1)};return window.addEventListener("dragover",o),window.addEventListener("drop",l),window.addEventListener("dragleave",a),()=>{window.removeEventListener("dragover",o),window.removeEventListener("drop",l),window.removeEventListener("dragleave",a)}},[z]),i.useLayoutEffect(()=>{const{minHeight:o}=c.current;it(U>0&&d.current?Math.abs(U-o)>$:!1)},[U]),i.useLayoutEffect(()=>{R(G())},[I]);const{maxHeight:Y}=c.current,pt=b!==v.None&&z;return F(ot,{children:[b===v.None?null:n(re,{items:[...w],onDelete:K}),n($t,{className:"stChatInput","data-testid":"stChatInput",ref:x,children:pt?n(pe,{getRootProps:_,getInputProps:X,acceptFile:b,inputHeight:H?`${U+$}px`:u.sizes.minElementHeight}):F(kt,{extended:H,children:[b===v.None?null:n(de,{getRootProps:_,getInputProps:X,acceptFile:b,disabled:t,theme:u}),n(Mt,{inputRef:d,value:E,placeholder:I,onChange:ct,onKeyDown:dt,"aria-label":I,disabled:t,rows:1,overrides:{Root:{style:{minHeight:u.sizes.minElementHeight,outline:"none",borderLeftWidth:"0",borderRightWidth:"0",borderTopWidth:"0",borderBottomWidth:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomRightRadius:"0",borderBottomLeftRadius:"0"}},Input:{props:{"data-testid":"stChatInputTextArea"},style:{lineHeight:u.lineHeights.inputWidget,"::placeholder":{color:u.colors.fadedText60},height:H?`${U+$}px`:"auto",maxHeight:Y?`${Y}px`:"none",paddingLeft:u.spacing.none,paddingBottom:u.spacing.sm,paddingTop:u.spacing.sm,paddingRight:`calc(${u.iconSizes.xl} + 2 * ${u.spacing.sm} + ${u.spacing.sm})`}}}}),h>u.breakpoints.hideWidgetDetails&&n(Wt,{children:n(Rt,{dirty:L,value:E,maxLength:y,type:"chat",inForm:!1})}),n(Nt,{children:n(Vt,{onClick:j,disabled:!L||t,extended:H,"data-testid":"stChatInputSubmitButton",children:n(T,{content:rt,size:"xl",color:"inherit"})})})]})})]})}const xe=i.memo(ge);export{xe as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as o,aR as U,z as k,cu as x,C as A,j as l,bt as L,bJ as P,bu as B,bb as D,bv as j}from"./index.Du_GhChx.js";import{u as _}from"./uniqueId.DQ5uc9Dn.js";import{u as w,a as K,b as O}from"./useOnInputChange.qZzWT6UC.js";import{I as $}from"./InputInstructions.A_59uy0m.js";import{a as q}from"./useBasicWidgetState.DFIfVHMH.js";import{T as G}from"./textarea.uAcwGUtc.js";import"./inputUtils.CQWz5UKz.js";import"./FormClearHelper.DwQzHDKa.js";import"./base-input.DLahFrJX.js";const T=(a,t)=>a.getStringValue(t)??t.default??null,J=a=>a.default??null,N=a=>a.value??null,Q=(a,t,s,u)=>{t.setStringValue(a,s.value,{fromUi:s.fromUi},u)},X=({disabled:a,element:t,widgetMgr:s,fragmentId:u})=>{var g;const p=o.useRef(_("text_area_")).current,[W,S]=U(),[r,n]=o.useState(!1),[C,b]=o.useState(!1),[i,d]=o.useState(()=>T(s,t)??null),I=o.useCallback(()=>{d(t.default??null),n(!0)},[t]),[V,c]=q({getStateFromWidgetMgr:T,getDefaultStateFromProto:J,getCurrStateFromProto:N,updateWidgetMgrState:Q,element:t,widgetMgr:s,fragmentId:u,onFormCleared:I});w(V,i,d,r);const e=k(),m=o.useCallback(()=>{n(!1),c({value:i,fromUi:!0})},[i,c]),y=o.useCallback(()=>{r&&m(),b(!1)},[r,m]),F=o.useCallback(()=>{b(!0)},[]),v=K({formId:t.formId,maxChars:t.maxChars,setDirty:n,setUiValue:d,setValueWithSource:c}),E=O(t.formId,m,r,s,u,!0),{height:f,placeholder:R,formId:h}=t,z=x({formId:h})?s.allowFormEnterToSubmit(h):r,H=C&&W>e.breakpoints.hideWidgetDetails;return A("div",{className:"stTextArea","data-testid":"stTextArea",ref:S,children:[l(j,{label:t.label,disabled:a,labelVisibility:L((g=t.labelVisibility)==null?void 0:g.value),htmlFor:p,children:t.help&&l(P,{children:l(B,{content:t.help,placement:D.TOP_RIGHT})})}),l(G,{value:i??"",placeholder:R,onBlur:y,onFocus:F,onChange:v,onKeyDown:E,"aria-label":t.label,disabled:a,id:p,overrides:{Input:{style:{lineHeight:e.lineHeights.inputWidget,height:f?`${f}px`:"",minHeight:e.sizes.largestElementHeight,resize:"vertical",paddingRight:e.spacing.md,paddingLeft:e.spacing.md,paddingBottom:e.spacing.md,paddingTop:e.spacing.md,"::placeholder":{color:e.colors.fadedText60}}},Root:{props:{"data-testid":"stTextAreaRootElement"},style:{borderLeftWidth:e.sizes.borderWidth,borderRightWidth:e.sizes.borderWidth,borderTopWidth:e.sizes.borderWidth,borderBottomWidth:e.sizes.borderWidth}}}}),H&&l($,{dirty:r,value:i??"",maxLength:t.maxChars,type:"multiline",inForm:x({formId:h}),allowEnterToSubmit:z})]})},it=o.memo(X);export{it as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as e,r as a,C as t,j as r,aG as o}from"./index.Du_GhChx.js";import{P as i}from"./ProgressBar.B8wHlmHP.js";const l=e("div",{target:"e1675qd10"})(({theme:s})=>({paddingBottom:s.spacing.sm,lineHeight:"normal"}));function n({element:s}){return t("div",{className:"stProgress","data-testid":"stProgress",children:[r(l,{children:r(o,{source:s.text,allowHTML:!1,isLabel:!0})}),r(i,{value:s.value})]})}const m=a.memo(n);export{m as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as c,r as s,aI as f,ba as b,z as x,j as a,b7 as k,bb as C,C as L,D as v,aG as h}from"./index.Du_GhChx.js";const T=c("div",{target:"e1ghu24d0"})(({containerWidth:n})=>({display:"flex",flexDirection:"column",width:n?"100%":"fit-content"})),w=c("a",{target:"e1ghu24d1"})(({disabled:n,isCurrentPage:e,containerWidth:i,theme:o})=>({textDecoration:"none",width:i?"100%":"fit-content",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:o.spacing.sm,borderRadius:o.radii.button,paddingLeft:o.spacing.sm,paddingRight:o.spacing.sm,marginTop:o.spacing.threeXS,marginBottom:o.spacing.threeXS,lineHeight:o.lineHeights.menuItem,backgroundColor:e?o.colors.darkenedBgMix15:"transparent","&:hover":{backgroundColor:e?o.colors.darkenedBgMix25:o.colors.darkenedBgMix15},"&:active,&:visited,&:hover":{textDecoration:"none"},"&:focus":{outline:"none"},"&:focus-visible":{backgroundColor:o.colors.darkenedBgMix15},"@media print":{paddingLeft:o.spacing.none},...n?{borderColor:o.colors.borderColor,backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed","&:hover":{color:o.colors.fadedText40,backgroundColor:o.colors.transparent}}:{}})),S=c("span",{target:"e1ghu24d2"})(({disabled:n,theme:e})=>({color:e.colors.bodyText,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"table-cell",...n?{borderColor:e.colors.borderColor,backgroundColor:e.colors.transparent,color:e.colors.fadedText40,cursor:"not-allowed"}:{}}));function y(n,e){return n===null&&e?!0:n===null&&!e?!1:n===!0}function P(n){const{onPageChange:e,currentPageScriptHash:i}=s.useContext(f),o=s.useContext(b),{colors:d}=x(),{disabled:t,element:r}=n,l=y(r.useContainerWidth,o),g=i===r.pageScriptHash,p=u=>{r.external?t&&u.preventDefault():(u.preventDefault(),t||e(r.pageScriptHash))};return a("div",{className:"stPageLink","data-testid":"stPageLink",children:a(k,{help:r.help,placement:C.TOP_RIGHT,containerWidth:l,children:a(T,{containerWidth:l,children:L(w,{"data-testid":"stPageLink-NavLink",disabled:t,isCurrentPage:g,containerWidth:l,href:r.page,target:r.external?"_blank":"",rel:"noreferrer",onClick:p,children:[r.icon&&a(v,{size:"lg",color:t?d.fadedText40:d.bodyText,iconValue:r.icon}),a(S,{disabled:t,children:a(h,{source:r.label,allowHTML:!1,isLabel:!0,boldLabel:g,largerLabel:!0,disableLinks:!0})})]})})})})}const B=s.memo(P);export{B as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{n as k,r as o,aR as H,z as B,cu as W,C as j,j as r,bt as O,bJ as _,bu as w,bb as K,bv as $,D as q,cv as A}from"./index.Du_GhChx.js";import{u as G}from"./uniqueId.DQ5uc9Dn.js";import{u as J,a as N,b as M}from"./useOnInputChange.qZzWT6UC.js";import{a as Q}from"./useBasicWidgetState.DFIfVHMH.js";import{I as X}from"./InputInstructions.A_59uy0m.js";import{I as Y}from"./input.CYwqmJUN.js";import"./inputUtils.CQWz5UKz.js";import"./FormClearHelper.DwQzHDKa.js";import"./base-input.DLahFrJX.js";const Z=k("div",{target:"e1o1zy6o0"})("position:relative;");function tt({disabled:a,element:t,widgetMgr:s,fragmentId:d}){var I;const[l,c]=o.useState(()=>T(s,t)??null),[y,x]=H(),[i,p]=o.useState(!1),V=o.useCallback(()=>{c(t.default??null),p(!0)},[t.default]),[C,m]=Q({getStateFromWidgetMgr:T,getDefaultStateFromProto:et,getCurrStateFromProto:at,updateWidgetMgrState:ot,element:t,widgetMgr:s,fragmentId:d,onFormCleared:V});J(C,l,c,i);const[v,g]=o.useState(!1),e=B(),[b]=o.useState(()=>G("text_input_")),{placeholder:F,formId:u,icon:n,maxChars:f}=t,h=o.useCallback(()=>{p(!1),m({value:l,fromUi:!0})},[l,m]),z=W({formId:u})?s.allowFormEnterToSubmit(u):i,E=v&&y>e.breakpoints.hideWidgetDetails,R=o.useCallback(()=>{i&&h(),g(!1)},[i,h]),L=o.useCallback(()=>{g(!0)},[]),P=N({formId:u,maxChars:f,setDirty:p,setUiValue:c,setValueWithSource:m}),D=M(u,h,i,s,d),S=n==null?void 0:n.startsWith(":material"),U=S?"lg":"base";return j(Z,{className:"stTextInput","data-testid":"stTextInput",ref:x,children:[r($,{label:t.label,disabled:a,labelVisibility:O((I=t.labelVisibility)==null?void 0:I.value),htmlFor:b,children:t.help&&r(_,{children:r(w,{content:t.help,placement:K.TOP_RIGHT})})}),r(Y,{value:l??"",placeholder:F,onBlur:R,onFocus:L,onChange:P,onKeyPress:D,"aria-label":t.label,disabled:a,id:b,type:st(t),autoComplete:t.autocomplete,startEnhancer:n&&r(q,{"data-testid":"stTextInputIcon",iconValue:n,size:U}),overrides:{Input:{style:{minWidth:0,lineHeight:e.lineHeights.inputWidget,paddingRight:e.spacing.sm,paddingLeft:e.spacing.md,paddingBottom:e.spacing.sm,paddingTop:e.spacing.sm,"::placeholder":{color:e.colors.fadedText60}}},Root:{props:{"data-testid":"stTextInputRootElement"},style:{height:e.sizes.minElementHeight,borderLeftWidth:e.sizes.borderWidth,borderRightWidth:e.sizes.borderWidth,borderTopWidth:e.sizes.borderWidth,borderBottomWidth:e.sizes.borderWidth,paddingLeft:n?e.spacing.sm:0}},StartEnhancer:{style:{paddingLeft:0,paddingRight:0,minWidth:e.iconSizes.lg,color:S?e.colors.fadedText60:"inherit"}}}}),E&&r(X,{dirty:i,value:l??"",maxLength:f,inForm:W({formId:u}),allowEnterToSubmit:z})]})}function T(a,t){return a.getStringValue(t)??null}function et(a){return a.default??null}function at(a){return a.value??null}function ot(a,t,s,d){t.setStringValue(a,s.value,{fromUi:s.fromUi},d)}function st(a){return a.type===A.Type.PASSWORD?"password":"text"}const ht=o.memo(tt);export{ht as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as s,M as u,j as m,bt as x,cb as V}from"./index.Du_GhChx.js";import{a as U}from"./useBasicWidgetState.DFIfVHMH.js";import"./FormClearHelper.DwQzHDKa.js";const h=(t,o)=>t.getStringValue(o),v=t=>t.options.length===0||u(t.default)?null:t.options[t.default],C=t=>t.rawValue??null,F=(t,o,e,r)=>{o.setStringValue(t,e.value,{fromUi:e.fromUi},r)},M=({disabled:t,element:o,widgetMgr:e,fragmentId:r})=>{const{options:n,help:i,label:c,labelVisibility:a,placeholder:g,acceptNewOptions:p}=o,[f,l]=U({getStateFromWidgetMgr:h,getDefaultStateFromProto:v,getCurrStateFromProto:C,updateWidgetMgrState:F,element:o,widgetMgr:e,fragmentId:r}),S=s.useCallback(d=>{l({value:d,fromUi:!0})},[l]),b=u(o.default)&&!t;return m(V,{label:c,labelVisibility:x(a==null?void 0:a.value),options:n,disabled:t,onChange:S,value:f,help:i,placeholder:g,clearable:b,acceptNewOptions:p})},w=s.memo(M);export{w as default};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import{n as s,k as i,r as m,j as e}from"./index.Du_GhChx.js";import{P as c,R as l}from"./RenderInPortalIfExists.DLkeeRK1.js";const p=""+new URL("../media/flake-0.DgWaVvm5.png",import.meta.url).href,d=""+new URL("../media/flake-1.B2r5AHMK.png",import.meta.url).href,f=""+new URL("../media/flake-2.BnWSExPC.png",import.meta.url).href,o=150,S=150,g=10,E=90,u=4e3,n=(t,a=0)=>Math.random()*(t-a)+a,w=()=>i(`from{transform:translateY(0)
|
2
|
-
rotateX(`,n(360),`deg)
|
3
|
-
rotateY(`,n(360),`deg)
|
4
|
-
rotateZ(`,n(360),"deg);}to{transform:translateY(calc(100vh + ",o,`px))
|
5
|
-
rotateX(0)
|
6
|
-
rotateY(0)
|
7
|
-
rotateZ(0);}`),x=s("img",{target:"es7rdur0"})(({theme:t})=>({position:"fixed",top:"-150px",marginLeft:`${-150/2}px`,zIndex:t.zIndices.balloons,left:`${n(E,g)}vw`,animationDelay:`${n(u)}ms`,height:`${o}px`,width:`${S}px`,pointerEvents:"none",animationDuration:"3000ms",animationName:w(),animationTimingFunction:"ease-in",animationDirection:"normal",animationIterationCount:1,opacity:1})),_=100,r=[p,d,f],I=r.length,M=({particleType:t})=>e(x,{src:r[t]}),h=function({scriptRunId:a}){return e(l,{children:e(c,{className:"stSnow","data-testid":"stSnow",scriptRunId:a,numParticleTypes:I,numParticles:_,ParticleComponent:M})})},P=m.memo(h);export{_ as NUM_FLAKES,P as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as o,cu as i}from"./index.Du_GhChx.js";import{i as c}from"./inputUtils.CQWz5UKz.js";function E(r,n,s,t){o.useEffect(()=>{t||r!==n&&s(r)},[r,n,t,s])}function l(r,n,s,t,u,f=!1){return o.useCallback(e=>{const a=f?e.metaKey||e.ctrlKey:!0;!c(e)||!a||(e.preventDefault(),s&&n(),t.allowFormEnterToSubmit(r)&&t.submitForm(r,u))},[r,u,s,n,t,f])}function F({formId:r,maxChars:n,setDirty:s,setUiValue:t,setValueWithSource:u}){return o.useCallback(f=>{const{value:e}=f.target;n!==0&&e.length>n||(s(!0),t(e),i({formId:r})&&u({value:e,fromUi:!0}))},[r,n,s,t,u])}export{F as a,l as b,E as u};
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|