streamlit-nightly 1.41.2.dev20250126__py2.py3-none-any.whl → 1.41.2.dev20250129__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- streamlit/static/index.html +1 -1
- streamlit/static/static/js/{FileDownload.esm.C1QvS8Zm.js → FileDownload.esm.BRa5vd9e.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.mT4-5rFn.js → FormClearHelper.ljFWvSck.js} +1 -1
- streamlit/static/static/js/{Hooks.CVNEuaGG.js → Hooks.De1PrUXp.js} +1 -1
- streamlit/static/static/js/{InputInstructions.BCvAGBeC.js → InputInstructions.CEsavkWx.js} +1 -1
- streamlit/static/static/js/{ProgressBar.CcQcYD9u.js → ProgressBar.BZTQQebk.js} +1 -1
- streamlit/static/static/js/{RenderInPortalIfExists.DHDG9PHn.js → RenderInPortalIfExists.CuEFo7dc.js} +1 -1
- streamlit/static/static/js/{Toolbar.yTE_O6B7.js → Toolbar.CaxqEUPP.js} +1 -1
- streamlit/static/static/js/{base-input.CQPY9_oN.js → base-input.B6AaP3td.js} +1 -1
- streamlit/static/static/js/{createSuper.DE47Tkz4.js → createSuper.D7_Fl5t1.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.5JEQwfzp.js → data-grid-overlay-editor.BX12LERY.js} +1 -1
- streamlit/static/static/js/{downloader.CX7_KkfB.js → downloader.DWYjgqPp.js} +1 -1
- streamlit/static/static/js/{es6.Be2vwxoI.js → es6.DCc0GTNa.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.CFHofqC-.js → iframeResizer.contentWindow.iwuMEJhu.js} +1 -1
- streamlit/static/static/js/{index.BBjf7kH1.js → index.--iJ4xZi.js} +1 -1
- streamlit/static/static/js/{index.D0lxtOCO.js → index.2zVwJ0eA.js} +1 -1
- streamlit/static/static/js/{index.5F9_LJ-9.js → index.7-DGlsNh.js} +1 -1
- streamlit/static/static/js/{index.BOeLQ18h.js → index.AohBUIz3.js} +1 -1
- streamlit/static/static/js/{index.mtSGfsND.js → index.BBRfYSxH.js} +1 -1
- streamlit/static/static/js/{index.C0ZNaKGF.js → index.BTjymjxh.js} +1 -1
- streamlit/static/static/js/{index.CvqaNor_.js → index.BUL6xLUk.js} +5 -5
- streamlit/static/static/js/{index.Cbi_d9ak.js → index.BcY2FDkH.js} +6 -6
- streamlit/static/static/js/{index.B-xzXPZE.js → index.Bd3-JERV.js} +1 -1
- streamlit/static/static/js/{index.BpeIAypN.js → index.Bg4pM6qu.js} +1 -1
- streamlit/static/static/js/{index.CjsaBedq.js → index.BxWiASCs.js} +1 -1
- streamlit/static/static/js/{index.AXOgS1NM.js → index.C7tf6_1u.js} +1 -1
- streamlit/static/static/js/{index.Hhv6gSq2.js → index.CDw02ioE.js} +1 -1
- streamlit/static/static/js/{index.CHuo89tL.js → index.CNanii7w.js} +1 -1
- streamlit/static/static/js/{index.0OeiPvr3.js → index.CTQGpXI9.js} +1 -1
- streamlit/static/static/js/{index.a6pesEXT.js → index.ChNzpoS7.js} +1 -1
- streamlit/static/static/js/{index.SLleoa9s.js → index.Chdikg1z.js} +1 -1
- streamlit/static/static/js/index.CrB3fibm.js +5 -0
- streamlit/static/static/js/{index.8tVXPrLX.js → index.CsSEGaWI.js} +1 -1
- streamlit/static/static/js/{index.CCmrDm8Z.js → index.CxFdXhSM.js} +1 -1
- streamlit/static/static/js/{index.er3Zfn3e.js → index.D9SEA40p.js} +1 -1
- streamlit/static/static/js/{index.XCwDes79.js → index.DAKqTTs8.js} +1 -1
- streamlit/static/static/js/{index.Dkr_c_9x.js → index.DELEWrxT.js} +1 -1
- streamlit/static/static/js/{index.Ci3iebpl.js → index.DdcWwbek.js} +1 -1
- streamlit/static/static/js/{index.AExANgn1.js → index.DtX9sEm-.js} +1 -1
- streamlit/static/static/js/{index.C3eR9AQ5.js → index.Dx9Rd9qT.js} +1 -1
- streamlit/static/static/js/{index.OM83ZHKg.js → index.DxweLaK5.js} +1 -1
- streamlit/static/static/js/{index.Cg7T4wJt.js → index.KY0dn4XU.js} +1 -1
- streamlit/static/static/js/{index.1GBg_Cdb.js → index.L_klDikn.js} +1 -1
- streamlit/static/static/js/{index.6v5ZgUAy.js → index.T8-3ekvQ.js} +1 -1
- streamlit/static/static/js/{index.DLjk_wlB.js → index.ahtq8S1b.js} +1 -1
- streamlit/static/static/js/{index.DNDhYAPI.js → index.gCbwCs-u.js} +1 -1
- streamlit/static/static/js/{index.D1AD4NsW.js → index.jIjP6QfT.js} +1 -1
- streamlit/static/static/js/{index.DY6666R7.js → index.k9lj8BwU.js} +1 -1
- streamlit/static/static/js/{index.BUgJRfqp.js → index.oJs4BkL9.js} +1 -1
- streamlit/static/static/js/{index.B0pfFJGU.js → index.yIm2Ga5C.js} +1 -1
- streamlit/static/static/js/{index.BGICDmL0.js → index.yhqp6zYN.js} +1 -1
- streamlit/static/static/js/{input.B07wSbwn.js → input.BA0Jwiql.js} +1 -1
- streamlit/static/static/js/{memory.CC_p93jh.js → memory.B_n18ChL.js} +1 -1
- streamlit/static/static/js/{mergeWith.ivc75cD1.js → mergeWith.DQ31UZmZ.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.Db2Be6nq.js → number-overlay-editor.CNZdoUeS.js} +1 -1
- streamlit/static/static/js/{possibleConstructorReturn.BNprLGNF.js → possibleConstructorReturn.BYxVZJys.js} +1 -1
- streamlit/static/static/js/{sandbox.BlG3HhHL.js → sandbox.xZY-LHHi.js} +1 -1
- streamlit/static/static/js/{textarea.Bz6Z-kmO.js → textarea.4T4nZym2.js} +1 -1
- streamlit/static/static/js/{timepicker.BMSb5NlP.js → timepicker.DbhTD5md.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.uYLXBIlD.js → toConsumableArray.Ulusdt7-.js} +1 -1
- streamlit/static/static/js/uniqueId.CO20A1NT.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.BJFGEQDL.js → useBasicWidgetState.C-8MSbfp.js} +1 -1
- streamlit/static/static/js/{useOnInputChange.BmSN_ACz.js → useOnInputChange.G-wGwNH8.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.CbOOMX5j.js → withFullScreenWrapper.CI1ebDYc.js} +1 -1
- streamlit/web/server/browser_websocket_handler.py +3 -21
- {streamlit_nightly-1.41.2.dev20250126.dist-info → streamlit_nightly-1.41.2.dev20250129.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.41.2.dev20250126.dist-info → streamlit_nightly-1.41.2.dev20250129.dist-info}/RECORD +71 -71
- streamlit/static/static/js/index.4nNgvhbk.js +0 -4
- streamlit/static/static/js/uniqueId.BdisvZXg.js +0 -1
- {streamlit_nightly-1.41.2.dev20250126.data → streamlit_nightly-1.41.2.dev20250129.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.41.2.dev20250126.dist-info → streamlit_nightly-1.41.2.dev20250129.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.41.2.dev20250126.dist-info → streamlit_nightly-1.41.2.dev20250129.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.41.2.dev20250126.dist-info → streamlit_nightly-1.41.2.dev20250129.dist-info}/top_level.txt +0 -0
@@ -355,80 +355,80 @@ streamlit/runtime/state/session_state.py,sha256=euzowISj8Wx3yolgyTfk1PYm-7UoAdiP
|
|
355
355
|
streamlit/runtime/state/session_state_proxy.py,sha256=aj52AV9_s25hzYyXLBTdW5ISt9PseNd0gJY89s62sd0,5524
|
356
356
|
streamlit/runtime/state/widgets.py,sha256=ofGjJppIwiqFN9DpBtXQakQifNpxZOVYNPCSyvCWo8Y,5319
|
357
357
|
streamlit/static/favicon.png,sha256=if5cVgw7azxKOvV5FpGixga7JLn23rfnHcy1CdWI1-E,1019
|
358
|
-
streamlit/static/index.html,sha256=
|
358
|
+
streamlit/static/index.html,sha256=sbLXX19EnjAv1Q5BGfjYzVLttYXGVSoF9Y-KJzVyQ6Y,1837
|
359
359
|
streamlit/static/static/css/index.Bmkmz40k.css,sha256=ABplygqcSw44Q8TlJ00LcbaqtTbc_NvMMYwMblGax1M,18462
|
360
360
|
streamlit/static/static/css/index.DzuxGC_t.css,sha256=1D1iN9VtJEU7H_zye_YV2guXskYkxI7PXbq1YXw5JOw,35092
|
361
361
|
streamlit/static/static/css/index.mUTQuMqR.css,sha256=YJKZIpyTA5hG8tG82DBETeXPtPzNDwTpC-Ha6QDR26w,31692
|
362
|
-
streamlit/static/static/js/FileDownload.esm.
|
363
|
-
streamlit/static/static/js/FormClearHelper.
|
364
|
-
streamlit/static/static/js/Hooks.
|
365
|
-
streamlit/static/static/js/InputInstructions.
|
366
|
-
streamlit/static/static/js/ProgressBar.
|
367
|
-
streamlit/static/static/js/RenderInPortalIfExists.
|
368
|
-
streamlit/static/static/js/Toolbar.
|
362
|
+
streamlit/static/static/js/FileDownload.esm.BRa5vd9e.js,sha256=RDdMjFbRD5SLQQfs4PHGAi50Inf_v8CIerQfHSmcMVo,918
|
363
|
+
streamlit/static/static/js/FormClearHelper.ljFWvSck.js,sha256=ijWVb1yM_DBzbSA4a5JuKNSoBpwtdZTu4UniFyDtlrc,631
|
364
|
+
streamlit/static/static/js/Hooks.De1PrUXp.js,sha256=BAB4gvjzj2D8aVIdOI_cOsIJJ5JyJ8KsHCJ8oA4XstE,140
|
365
|
+
streamlit/static/static/js/InputInstructions.CEsavkWx.js,sha256=EtdZH9BncTYwO8sfenDUXUPlstGD-M4UxltINF4VuuA,899
|
366
|
+
streamlit/static/static/js/ProgressBar.BZTQQebk.js,sha256=5FFsYa9-FNtw487-ccknxbim5_YZy0d_SUp4w4hT24A,13430
|
367
|
+
streamlit/static/static/js/RenderInPortalIfExists.CuEFo7dc.js,sha256=Cde-9gIJgMBW9MPCvpF4LdFq6uueABk9bNFb3QbN7ys,523
|
368
|
+
streamlit/static/static/js/Toolbar.CaxqEUPP.js,sha256=phY0ji_q3vrwhyGSdZNLHslc_tQfvTdox31BZMbwwnE,2817
|
369
369
|
streamlit/static/static/js/UploadFileInfo.C-jY39rj.js,sha256=Z_hcytEoaAX1saJgsfX1UoComwwlMcjCUZ8ldwuQJI8,151
|
370
|
-
streamlit/static/static/js/base-input.
|
370
|
+
streamlit/static/static/js/base-input.B6AaP3td.js,sha256=XNGHejbc91ahYFyGrfBBw3CK2TVJfBDkP87tCKavknk,21774
|
371
371
|
streamlit/static/static/js/createDownloadLinkElement.DZMwyjvU.js,sha256=uB4db2cbWB2KYpRbQKK6xi-mLBiUQXQtsL5I3N6rMcU,242
|
372
|
-
streamlit/static/static/js/createSuper.
|
373
|
-
streamlit/static/static/js/data-grid-overlay-editor.
|
374
|
-
streamlit/static/static/js/downloader.
|
375
|
-
streamlit/static/static/js/es6.
|
376
|
-
streamlit/static/static/js/iframeResizer.contentWindow.
|
377
|
-
streamlit/static/static/js/index.
|
378
|
-
streamlit/static/static/js/index.
|
379
|
-
streamlit/static/static/js/index.
|
380
|
-
streamlit/static/static/js/index.
|
381
|
-
streamlit/static/static/js/index.
|
382
|
-
streamlit/static/static/js/index.
|
383
|
-
streamlit/static/static/js/index.
|
384
|
-
streamlit/static/static/js/index.
|
385
|
-
streamlit/static/static/js/index.
|
386
|
-
streamlit/static/static/js/index.
|
387
|
-
streamlit/static/static/js/index.
|
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/input.
|
372
|
+
streamlit/static/static/js/createSuper.D7_Fl5t1.js,sha256=d8EK1z3UIvegaSJ3KXPIFIF_WukGCCfibGKFfJVBzDQ,394
|
373
|
+
streamlit/static/static/js/data-grid-overlay-editor.BX12LERY.js,sha256=KjNDO--PF3U3TW1w4pSAsS7TlcgmX8Mmh5UPWgcAnok,4069
|
374
|
+
streamlit/static/static/js/downloader.DWYjgqPp.js,sha256=Hkt3cEW4MAPtawU1yLcVXlEujhEG-IadoV6AhUNdWXQ,2535
|
375
|
+
streamlit/static/static/js/es6.DCc0GTNa.js,sha256=fCI9f6hcIYlZSFEEuzvkL5MZvv9mkeq1xLguW-BkriI,15362
|
376
|
+
streamlit/static/static/js/iframeResizer.contentWindow.iwuMEJhu.js,sha256=BGffO1YgEDVGlLoaMHXe_QsKQMxYj9_56nzn13aee-Q,14382
|
377
|
+
streamlit/static/static/js/index.--iJ4xZi.js,sha256=rQ0Sv3lfPh6ngXQo5Z0MSt9qJ9syvF3L7lV23JrBEKA,568
|
378
|
+
streamlit/static/static/js/index.2zVwJ0eA.js,sha256=R7SCH6w3ehYhRjddvgS5x6Qg8cnClmUl99lGuPdaA28,9161
|
379
|
+
streamlit/static/static/js/index.7-DGlsNh.js,sha256=woJlvqyDvHXfCYu9eNLHR2pm5rZDlmRphpdoG3LO3Rs,1746
|
380
|
+
streamlit/static/static/js/index.AohBUIz3.js,sha256=a0Cy09XfSdIUB4oWzGo-GUfHOjiDLlXPgsIGKr9TR74,4765763
|
381
|
+
streamlit/static/static/js/index.BBRfYSxH.js,sha256=yJIYOj8_WxnjPVOpShhdiZEk_HsUrYk_IoiBava9Tpw,1179
|
382
|
+
streamlit/static/static/js/index.BTjymjxh.js,sha256=HdSg8ifAsOkb7dVb-fG3Eb4XlkQJthbVFmT1EyCIg0E,734
|
383
|
+
streamlit/static/static/js/index.BUL6xLUk.js,sha256=xkSxhWCMrk1XCXrW9uKNJcoLnsIv2qMT2sqKl301ChA,6040530
|
384
|
+
streamlit/static/static/js/index.BcY2FDkH.js,sha256=sMNTLL1LVweIg7BLNsUZpkYNp5HXcFmRTsIZ38Rd7dY,421131
|
385
|
+
streamlit/static/static/js/index.Bd3-JERV.js,sha256=6ieyFizq2z0GUY5WDN_CPrPUlagj9Su3rq9Ht__bk-g,851976
|
386
|
+
streamlit/static/static/js/index.Bg4pM6qu.js,sha256=D_VhOuBEUjzpMS8hdP_q9GCjRSjy_og6DpWhOT3gMI8,624
|
387
|
+
streamlit/static/static/js/index.BxWiASCs.js,sha256=p934Glf2zj9BBIvhpWMwxflF7AWXsKPYK_bbQyjEShQ,848
|
388
|
+
streamlit/static/static/js/index.C7tf6_1u.js,sha256=Z41IdJo_8__vEL-jKkwBLFQ_5Raj8qG_bnIEmEZkOEM,2595
|
389
|
+
streamlit/static/static/js/index.CDw02ioE.js,sha256=PNS2JkFH8Vst1O-EdZmMqO-qTLCtja-82F3fzYWPffQ,105730
|
390
|
+
streamlit/static/static/js/index.CNanii7w.js,sha256=cA5F1WyRS-iHoUKwIb4g76qsRAjR3psuxe-TkCX-xuc,2875
|
391
|
+
streamlit/static/static/js/index.CTQGpXI9.js,sha256=I72Qpv5RjnWYtPU4p5l12gYQARJATcCiFc7bGjpbe1A,2312
|
392
|
+
streamlit/static/static/js/index.ChNzpoS7.js,sha256=Gmpu1k4Jp9vXpj3X6zz-IuV31MA69RfKBic3F-qXeDE,814
|
393
|
+
streamlit/static/static/js/index.Chdikg1z.js,sha256=N0hAaRgOqC6-bduImauirPHobzEvDaNL9yEbXA3DJkk,1789
|
394
|
+
streamlit/static/static/js/index.CrB3fibm.js,sha256=0Phuf50z_XZrmkP4Gq0ZtdZJBXnY6pzoEtqRcZIxw3M,73140
|
395
|
+
streamlit/static/static/js/index.CsSEGaWI.js,sha256=7KCB7KmhL3FtQX24i_q32TY9KLaM7sxZ1H0sAT6BTPM,19257
|
396
|
+
streamlit/static/static/js/index.CxFdXhSM.js,sha256=CRD9IA8Q1s7AOhkTrtakQUX0Jq4r217HfKKDx8HDJs8,34679
|
397
|
+
streamlit/static/static/js/index.D9SEA40p.js,sha256=LPk-GyiC-4iMJKuPnwX7XhIqPuGIsxLquCZc_ZdjNqY,14009
|
398
|
+
streamlit/static/static/js/index.DAKqTTs8.js,sha256=QJO6J1QK7HU2Wjz3fzXtuPDBz3-CkDIpH1xkn3OOyjA,3385517
|
399
|
+
streamlit/static/static/js/index.DELEWrxT.js,sha256=HQkyPBpiVdidtf0afMZMEViqb5iNtxH6wfEopk9ouAY,2282184
|
400
|
+
streamlit/static/static/js/index.DdcWwbek.js,sha256=fdQS68P2rEJE5Ck86U5knopzCjH8yopqkGIgOXudSa8,4566
|
401
|
+
streamlit/static/static/js/index.DtX9sEm-.js,sha256=yzHP_NRHPbvCEZYE7Oq-K5z4gfU61ziwzGr2RLA0tGk,452
|
402
|
+
streamlit/static/static/js/index.Dx9Rd9qT.js,sha256=J9IyhS3NWLNHN97dKgzWqSki8PLeITfuYXiet_wP94s,2432
|
403
|
+
streamlit/static/static/js/index.DxweLaK5.js,sha256=zhkBp8B5hsUOfWmPB93536nUEF7W3B1-OmYt3GmzxQ0,1276
|
404
|
+
streamlit/static/static/js/index.KY0dn4XU.js,sha256=YkeWlkkmcz9q9KvmJGU7T-jCE3MaKZYgH4mp5b7jQ8k,19032
|
405
|
+
streamlit/static/static/js/index.L_klDikn.js,sha256=Axwd7h1PWwh7d5KshAhiUICtPHicOC3lvYrGoT6tNOQ,2119
|
406
|
+
streamlit/static/static/js/index.T8-3ekvQ.js,sha256=EVCzr0M6uxfdga5bqO3e4SkZTzm9w0oYeTXUfIuFPrg,1337
|
407
|
+
streamlit/static/static/js/index.ahtq8S1b.js,sha256=k6M5N9NKns6Pyofdu2DU6RBc6fKJrgoGDTHF2PuI9Qk,22367
|
408
|
+
streamlit/static/static/js/index.gCbwCs-u.js,sha256=ewjdHWpuDu2xk0805_860Rmz6Ntk-hzW_0ALP6MHImY,49103
|
409
|
+
streamlit/static/static/js/index.jIjP6QfT.js,sha256=ZZ_TzTCcRKeZFKyJJhff0WmdvVWgWOmtxpv8iZ3bTTw,3602
|
410
|
+
streamlit/static/static/js/index.k9lj8BwU.js,sha256=nPzNunWzdXFGgAomuW-6M5VowL76ba3kcj7Hct1muxE,7002
|
411
|
+
streamlit/static/static/js/index.oJs4BkL9.js,sha256=3NdV0OLfEvcxNYLcJXzYkrPEiHFrxYGVR8jHQV8L-D0,24135
|
412
|
+
streamlit/static/static/js/index.yIm2Ga5C.js,sha256=XlX1tK0tfkpGlvUTULdOUAOOvt-M953PF9iH-iImBN8,3917
|
413
|
+
streamlit/static/static/js/index.yhqp6zYN.js,sha256=SWFlHY72nKEw6HTo1fjgwM73ocKiKL0KL7nDwIDRusU,815974
|
414
|
+
streamlit/static/static/js/input.BA0Jwiql.js,sha256=291K58YcWJgBP1nLIDz5BJY-B8SxMldmNpqQOKbwi6k,5244
|
415
415
|
streamlit/static/static/js/inputUtils.CQWz5UKz.js,sha256=-kt6oYYgvhFS0t0EV2qJE6f43GUao6rNeipUmv3RuV8,150
|
416
|
-
streamlit/static/static/js/memory.
|
417
|
-
streamlit/static/static/js/mergeWith.
|
418
|
-
streamlit/static/static/js/number-overlay-editor.
|
419
|
-
streamlit/static/static/js/possibleConstructorReturn.
|
420
|
-
streamlit/static/static/js/sandbox.
|
416
|
+
streamlit/static/static/js/memory.B_n18ChL.js,sha256=wTarTzzKa1yPPATpkMz41YKbSjaxR3WrmLfbBx0Zr2Y,3041
|
417
|
+
streamlit/static/static/js/mergeWith.DQ31UZmZ.js,sha256=gYUMgbqszDO1hSI5mLDl-Ca9pGFfsZH1HS3Fa1Mubzg,136
|
418
|
+
streamlit/static/static/js/number-overlay-editor.CNZdoUeS.js,sha256=-rmL1h1whGlERaXZvk4GsEgID1G2YhnW06n9o1Vlp2k,16519
|
419
|
+
streamlit/static/static/js/possibleConstructorReturn.BYxVZJys.js,sha256=idOLtOF9wwXsZsW4mJvjPDOP-Q0yorUmQczXvl21PAU,1446
|
420
|
+
streamlit/static/static/js/sandbox.xZY-LHHi.js,sha256=LYncTTiZrz-EkwHt5ZpdK_D5l_8JRuz3Hdp-8HJfy9Y,2960
|
421
421
|
streamlit/static/static/js/sprintf.C-r3gIuM.js,sha256=hdoVqBUXf6SDA9KxNCDfQEL9Z1DIVjLdP1PbxkGXitU,3443
|
422
|
-
streamlit/static/static/js/textarea.
|
422
|
+
streamlit/static/static/js/textarea.4T4nZym2.js,sha256=uqElDwjVtplZU9TNQ40IekrqSief6MSyoXlYsVlwyF8,5761
|
423
423
|
streamlit/static/static/js/threshold.B8r8f5kt.js,sha256=kv-SJXOjO5F-spW--srDq5wGqpXoOg-KAn1zq1PibkE,5693
|
424
|
-
streamlit/static/static/js/timepicker.
|
424
|
+
streamlit/static/static/js/timepicker.DbhTD5md.js,sha256=JPVXTB1v2nPLNE9OIYGSENoXsBFbpuJZLM1_NP_fDm4,89402
|
425
425
|
streamlit/static/static/js/timer.RueuYoQV.js,sha256=Ei9P5lkVFpVm4qQNO-XZkpYISRbyhLmmwIljnoxaDac,7408
|
426
|
-
streamlit/static/static/js/toConsumableArray.
|
427
|
-
streamlit/static/static/js/uniqueId.
|
428
|
-
streamlit/static/static/js/useBasicWidgetState.
|
429
|
-
streamlit/static/static/js/useOnInputChange.
|
426
|
+
streamlit/static/static/js/toConsumableArray.Ulusdt7-.js,sha256=0bR5PKI2o3ynKmQP-KdtrvuU_Y-Kn2kbBU2AJUPrJZ0,1587
|
427
|
+
streamlit/static/static/js/uniqueId.CO20A1NT.js,sha256=o8-Pn-1aADRSQ-RuNX3-CQNKn-JxeLgfzRDfZdihFQA,135
|
428
|
+
streamlit/static/static/js/useBasicWidgetState.C-8MSbfp.js,sha256=bkyfVOrBDo5eXUwuKArs9zP5ywB9c7fAmGP5QBwH-Oo,960
|
429
|
+
streamlit/static/static/js/useOnInputChange.G-wGwNH8.js,sha256=CSswfiXmUxZltCEnLVdmQp7a60uv1SyX9YccuUYjaio,587
|
430
430
|
streamlit/static/static/js/value.iufjd77T.js,sha256=v9AdJgiP9LSGRFQhmqvs4rZlCYUDX7bvZfia16kJ--o,15042
|
431
|
-
streamlit/static/static/js/withFullScreenWrapper.
|
431
|
+
streamlit/static/static/js/withFullScreenWrapper.CI1ebDYc.js,sha256=TlfmCH2-iMaiyP9UwIcQCKkOt9wY-lV4KUfZndDggYY,1647
|
432
432
|
streamlit/static/static/media/KaTeX_AMS-Regular.BQhdFMY1.woff2,sha256=DN04fJWQoan5eUVgAi27WWVKfYbxh6oMgUla1C06cwg,28076
|
433
433
|
streamlit/static/static/media/KaTeX_AMS-Regular.DMm9YOAa.woff,sha256=MNqR6EyJP4deJSaJ-uvcWQsocRReitx_mp1NvYzgslE,33516
|
434
434
|
streamlit/static/static/media/KaTeX_AMS-Regular.DRggAlZN.ttf,sha256=aFNIQLz90r_7bw6N60hoTdAefwTqKBMmdXevuQbeHRM,63632
|
@@ -541,7 +541,7 @@ streamlit/web/cli.py,sha256=1cfp2WPOBRlJfJXcF0Y1qa-Nx7oXcmHLQncg_Tj0Sdk,11268
|
|
541
541
|
streamlit/web/server/__init__.py,sha256=h60IjYD2ZDDzoiRZ1j2SsU3FGT_To6d3cInuqccMgeA,1080
|
542
542
|
streamlit/web/server/app_static_file_handler.py,sha256=L98L7PryqGpQg2cV1iA9nB_6TW0AxNz29mml0OO7Q4I,3043
|
543
543
|
streamlit/web/server/authlib_tornado_integration.py,sha256=dksVkiWLxYWhyOv11W6lRcAFno2xDyvtzMpoqqkjqrw,2200
|
544
|
-
streamlit/web/server/browser_websocket_handler.py,sha256=
|
544
|
+
streamlit/web/server/browser_websocket_handler.py,sha256=RJsKZAWOUejbuCE3jcS217dbSn6r9b37TvgTYK8ltEU,9920
|
545
545
|
streamlit/web/server/component_request_handler.py,sha256=mnq7ZycaF3s6kgt1k6xqdcXiNjHprp39--LHRTPqsdA,4158
|
546
546
|
streamlit/web/server/media_file_handler.py,sha256=o7QxUe5TrOrP76W6a9xxCJ3z2q_50Yumrr61x-4UvjM,5270
|
547
547
|
streamlit/web/server/oauth_authlib_routes.py,sha256=Sv_Edh4OpdD6qXkh_dYEiZHr1m3uHzM222jTVBDNMpY,6193
|
@@ -552,9 +552,9 @@ streamlit/web/server/server_util.py,sha256=qL-z1JI1sTWvahhfzckWiKlsJhYqLiKCGsZEz
|
|
552
552
|
streamlit/web/server/stats_request_handler.py,sha256=vMRWGfqItfI6OaqVyo3LIX3HjQ-OB6Y-LHOXPiihlGY,3641
|
553
553
|
streamlit/web/server/upload_file_request_handler.py,sha256=NvjQpUt7HWi5DE08tLig_UWevKcC7nA7PFOJ-aSkxwk,5033
|
554
554
|
streamlit/web/server/websocket_headers.py,sha256=FCzUc-829kNY5hgy2wGNZT0k4XgCw_nlLCdnb7pnNO4,2232
|
555
|
-
streamlit_nightly-1.41.2.
|
556
|
-
streamlit_nightly-1.41.2.
|
557
|
-
streamlit_nightly-1.41.2.
|
558
|
-
streamlit_nightly-1.41.2.
|
559
|
-
streamlit_nightly-1.41.2.
|
560
|
-
streamlit_nightly-1.41.2.
|
555
|
+
streamlit_nightly-1.41.2.dev20250129.data/scripts/streamlit.cmd,sha256=k9768SaQCkiYAPaTp7JtkhAHEHflNQfu6fAM4pri6zo,676
|
556
|
+
streamlit_nightly-1.41.2.dev20250129.dist-info/METADATA,sha256=4rWPlhySpwyy9Sfw7VIeLSZeSbASuUtWm-qaK58Jw2I,8966
|
557
|
+
streamlit_nightly-1.41.2.dev20250129.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
|
558
|
+
streamlit_nightly-1.41.2.dev20250129.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
|
559
|
+
streamlit_nightly-1.41.2.dev20250129.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
|
560
|
+
streamlit_nightly-1.41.2.dev20250129.dist-info/RECORD,,
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import{r as c,E as ie,_ as oe,ck as Rt,cl as R,cm as k,cn as kt,R as st,co as d,n as m,z as S,j as p,bq as T,br as Z,b9 as Q,b8 as Lt,cp as Bt,cq as Vt,b0 as Ht,F as Nt,aD as Wt,bl as $t,aZ as Xe,J as M,bn as Kt,bm as Xt,bt as Gt,bG as qt,bu as Yt,bd as Jt,bv as Zt}from"./index.CvqaNor_.js";import{F as Qt}from"./FormClearHelper.mT4-5rFn.js";import{S as er,P as tr}from"./ProgressBar.CcQcYD9u.js";import{u as rr}from"./Hooks.CVNEuaGG.js";import{U as Y}from"./UploadFileInfo.C-jY39rj.js";var ct=c.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return c.createElement(ie,oe({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),c.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),c.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}))});ct.displayName="Clear";var ut=c.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return c.createElement(ie,oe({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),c.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),c.createElement("path",{d:"M19.35 10.04A7.49 7.49 0 0012 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 000 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95A5.469 5.469 0 0112 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11A2.98 2.98 0 0122 15c0 1.65-1.35 3-3 3zM8 13h2.55v3h2.9v-3H16l-4-4z"}))});ut.displayName="CloudUpload";var pt=c.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return c.createElement(ie,oe({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),c.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"}))});pt.displayName="Error";var ft=c.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return c.createElement(ie,oe({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),c.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),c.createElement("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))});ft.displayName="InsertDriveFile";var P;(function(e){e.Gigabyte="gb",e.Megabyte="mb",e.Kilobyte="kb",e.Byte="b"})(P||(P={}));const Se=Rt()?1024:1e3,ee=["gb","mb","kb","b"],ae=(e,t,r=1)=>{if(t||(t="b"),r<0&&(r=0),e<0)throw new Error("Size must be greater than or equal to 0");const n=ee.indexOf(t),i=e/Se;return n&&e>Se/2?ae(i,ee[n-1],r):`${e.toFixed(r)}${t.toUpperCase()}`},nr=(e,t,r)=>{if(e<0)throw Error("Size must be 0 or greater");const n=ee.findIndex(s=>s===t),i=ee.findIndex(s=>s===r);if(n===-1||i===-1)throw Error("Unexpected byte unit provided");if(n===i)return e;const o=Math.abs(n-i),l=Se**o;return n>i?e/l:e*l};var ir=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function V(e,t){var r=or(e);if(typeof r.path!="string"){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:typeof t=="string"?t:typeof n=="string"&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}function or(e){var t=e.name,r=t&&t.lastIndexOf(".")!==-1;if(r&&!e.type){var n=t.split(".").pop().toLowerCase(),i=ir.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var ar=[".DS_Store","Thumbs.db"];function lr(e){return R(this,void 0,void 0,function(){return k(this,function(t){return te(e)&&sr(e)?[2,fr(e.dataTransfer,e.type)]:cr(e)?[2,ur(e)]:Array.isArray(e)&&e.every(function(r){return"getFile"in r&&typeof r.getFile=="function"})?[2,pr(e)]:[2,[]]})})}function sr(e){return te(e.dataTransfer)}function cr(e){return te(e)&&te(e.target)}function te(e){return typeof e=="object"&&e!==null}function ur(e){return Ee(e.target.files).map(function(t){return V(t)})}function pr(e){return R(this,void 0,void 0,function(){var t;return k(this,function(r){switch(r.label){case 0:return[4,Promise.all(e.map(function(n){return n.getFile()}))];case 1:return t=r.sent(),[2,t.map(function(n){return V(n)})]}})})}function fr(e,t){return R(this,void 0,void 0,function(){var r,n;return k(this,function(i){switch(i.label){case 0:return e===null?[2,[]]:e.items?(r=Ee(e.items).filter(function(o){return o.kind==="file"}),t!=="drop"?[2,r]:[4,Promise.all(r.map(dr))]):[3,2];case 1:return n=i.sent(),[2,Ge(dt(n))];case 2:return[2,Ge(Ee(e.files).map(function(o){return V(o)}))]}})})}function Ge(e){return e.filter(function(t){return ar.indexOf(t.name)===-1})}function Ee(e){if(e===null)return[];for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function dr(e){if(typeof e.webkitGetAsEntry!="function")return qe(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?gt(t):qe(e)}function dt(e){return e.reduce(function(t,r){return kt(t,Array.isArray(r)?dt(r):[r])},[])}function qe(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=V(t);return Promise.resolve(r)}function gr(e){return R(this,void 0,void 0,function(){return k(this,function(t){return[2,e.isDirectory?gt(e):mr(e)]})})}function gt(e){var t=e.createReader();return new Promise(function(r,n){var i=[];function o(){var l=this;t.readEntries(function(s){return R(l,void 0,void 0,function(){var f,w,v;return k(this,function(y){switch(y.label){case 0:if(s.length)return[3,5];y.label=1;case 1:return y.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return f=y.sent(),r(f),[3,4];case 3:return w=y.sent(),n(w),[3,4];case 4:return[3,6];case 5:v=Promise.all(s.map(gr)),i.push(v),o(),y.label=6;case 6:return[2]}})})},function(s){n(s)})}o()})}function mr(e){return R(this,void 0,void 0,function(){return k(this,function(t){return[2,new Promise(function(r,n){e.file(function(i){var o=V(i,e.fullPath);r(o)},function(i){n(i)})})]})})}var hr=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return r.some(function(l){var s=l.trim().toLowerCase();return s.charAt(0)==="."?n.toLowerCase().endsWith(s):s.endsWith("/*")?o===s.replace(/\/.*$/,""):i===s})}return!0};function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ye(Object(r),!0).forEach(function(n){mt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ze(e,t){return Fr(e)||br(e,t)||yr(e,t)||vr()}function vr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yr(e,t){if(e){if(typeof e=="string")return Qe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qe(e,t)}}function Qe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function br(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,s;try{for(r=r.call(e);!(i=(l=r.next()).done)&&(n.push(l.value),!(t&&n.length===t));i=!0);}catch(f){o=!0,s=f}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function Fr(e){if(Array.isArray(e))return e}var wr="file-invalid-type",Dr="file-too-large",xr="file-too-small",Sr="too-many-files",Er=function(t){t=Array.isArray(t)&&t.length===1?t[0]:t;var r=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:wr,message:"File type must be ".concat(r)}},et=function(t){return{code:Dr,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},tt=function(t){return{code:xr,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},Ar={code:Sr,message:"Too many files"};function ht(e,t){var r=e.type==="application/x-moz-file"||hr(e,t);return[r,r?null:Er(t)]}function vt(e,t,r){if(B(e.size))if(B(t)&&B(r)){if(e.size>r)return[!1,et(r)];if(e.size<t)return[!1,tt(t)]}else{if(B(t)&&e.size<t)return[!1,tt(t)];if(B(r)&&e.size>r)return[!1,et(r)]}return[!0,null]}function B(e){return e!=null}function Or(e){var t=e.files,r=e.accept,n=e.minSize,i=e.maxSize,o=e.multiple,l=e.maxFiles;return!o&&t.length>1||o&&l>=1&&t.length>l?!1:t.every(function(s){var f=ht(s,r),w=Ze(f,1),v=w[0],y=vt(s,n,i),O=Ze(y,1),I=O[0];return v&&I})}function re(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function J(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function rt(e){e.preventDefault()}function Ir(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function Cr(e){return e.indexOf("Edge/")!==-1}function Pr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Ir(e)||Cr(e)}function A(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),l=1;l<i;l++)o[l-1]=arguments[l];return t.some(function(s){return!re(n)&&s&&s.apply(void 0,[n].concat(o)),re(n)})}}function zr(){return"showOpenFilePicker"in window}function Ur(e){return e=typeof e=="string"?e.split(","):e,[{description:"everything",accept:Array.isArray(e)?e.filter(function(t){return t==="audio/*"||t==="video/*"||t==="image/*"||t==="text/*"||/\w+\/[-+.\w]+/g.test(t)}).reduce(function(t,r){return Je(Je({},t),{},mt({},r,[]))},{}):{}}]}function _r(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function jr(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}var Mr=["children"],Tr=["open"],Rr=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],kr=["refKey","onChange","onClick"];function Lr(e){return Hr(e)||Vr(e)||yt(e)||Br()}function Br(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vr(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Hr(e){if(Array.isArray(e))return Ae(e)}function xe(e,t){return $r(e)||Wr(e,t)||yt(e,t)||Nr()}function Nr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yt(e,t){if(e){if(typeof e=="string")return Ae(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ae(e,t)}}function Ae(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Wr(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,s;try{for(r=r.call(e);!(i=(l=r.next()).done)&&(n.push(l.value),!(t&&n.length===t));i=!0);}catch(f){o=!0,s=f}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function $r(e){if(Array.isArray(e))return e}function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?nt(Object(r),!0).forEach(function(n){Oe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ne(e,t){if(e==null)return{};var r=Kr(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Kr(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var le=c.forwardRef(function(e,t){var r=e.children,n=ne(e,Mr),i=Xr(n),o=i.open,l=ne(i,Tr);return c.useImperativeHandle(t,function(){return{open:o}},[o]),st.createElement(c.Fragment,null,r(g(g({},l),{},{open:o})))});le.displayName="Dropzone";var bt={disabled:!1,getFilesFromEvent:lr,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0};le.defaultProps=bt;le.propTypes={children:d.func,accept:d.oneOfType([d.string,d.arrayOf(d.string)]),multiple:d.bool,preventDropOnDocument:d.bool,noClick:d.bool,noKeyboard:d.bool,noDrag:d.bool,noDragEventsBubbling:d.bool,minSize:d.number,maxSize:d.number,maxFiles:d.number,disabled:d.bool,getFilesFromEvent:d.func,onFileDialogCancel:d.func,onFileDialogOpen:d.func,useFsAccessApi:d.bool,onDragEnter:d.func,onDragLeave:d.func,onDragOver:d.func,onDrop:d.func,onDropAccepted:d.func,onDropRejected:d.func,validator:d.func};var Ie={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function Xr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=g(g({},bt),e),r=t.accept,n=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,l=t.minSize,s=t.multiple,f=t.maxFiles,w=t.onDragEnter,v=t.onDragLeave,y=t.onDragOver,O=t.onDrop,I=t.onDropAccepted,se=t.onDropRejected,ce=t.onFileDialogCancel,ue=t.onFileDialogOpen,Pe=t.useFsAccessApi,pe=t.preventDropOnDocument,ze=t.noClick,fe=t.noKeyboard,Ue=t.noDrag,C=t.noDragEventsBubbling,de=t.validator,ge=c.useMemo(function(){return typeof ue=="function"?ue:it},[ue]),H=c.useMemo(function(){return typeof ce=="function"?ce:it},[ce]),D=c.useRef(null),x=c.useRef(null),Pt=c.useReducer(Gr,Ie),_e=xe(Pt,2),N=_e[0],F=_e[1],zt=N.isFocused,je=N.isFileDialogActive,Me=N.draggedFiles,W=c.useRef(typeof window<"u"&&window.isSecureContext&&Pe&&zr()),Te=function(){!W.current&&je&&setTimeout(function(){if(x.current){var u=x.current.files;u.length||(F({type:"closeDialog"}),H())}},300)};c.useEffect(function(){return window.addEventListener("focus",Te,!1),function(){window.removeEventListener("focus",Te,!1)}},[x,je,H,W]);var z=c.useRef([]),Re=function(u){D.current&&D.current.contains(u.target)||(u.preventDefault(),z.current=[])};c.useEffect(function(){return pe&&(document.addEventListener("dragover",rt,!1),document.addEventListener("drop",Re,!1)),function(){pe&&(document.removeEventListener("dragover",rt),document.removeEventListener("drop",Re))}},[D,pe]);var ke=c.useCallback(function(a){a.preventDefault(),a.persist(),G(a),z.current=[].concat(Lr(z.current),[a.target]),J(a)&&Promise.resolve(i(a)).then(function(u){re(a)&&!C||(F({draggedFiles:u,isDragActive:!0,type:"setDraggedFiles"}),w&&w(a))})},[i,w,C]),Le=c.useCallback(function(a){a.preventDefault(),a.persist(),G(a);var u=J(a);if(u&&a.dataTransfer)try{a.dataTransfer.dropEffect="copy"}catch{}return u&&y&&y(a),!1},[y,C]),Be=c.useCallback(function(a){a.preventDefault(),a.persist(),G(a);var u=z.current.filter(function(b){return D.current&&D.current.contains(b)}),h=u.indexOf(a.target);h!==-1&&u.splice(h,1),z.current=u,!(u.length>0)&&(F({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),J(a)&&v&&v(a))},[D,v,C]),$=c.useCallback(function(a,u){var h=[],b=[];a.forEach(function(E){var L=ht(E,r),j=xe(L,2),he=j[0],ve=j[1],ye=vt(E,l,o),q=xe(ye,2),be=q[0],Fe=q[1],we=de?de(E):null;if(he&&be&&!we)h.push(E);else{var De=[ve,Fe];we&&(De=De.concat(we)),b.push({file:E,errors:De.filter(function(Tt){return Tt})})}}),(!s&&h.length>1||s&&f>=1&&h.length>f)&&(h.forEach(function(E){b.push({file:E,errors:[Ar]})}),h.splice(0)),F({acceptedFiles:h,fileRejections:b,type:"setFiles"}),O&&O(h,b,u),b.length>0&&se&&se(b,u),h.length>0&&I&&I(h,u)},[F,s,r,l,o,f,O,I,se,de]),K=c.useCallback(function(a){a.preventDefault(),a.persist(),G(a),z.current=[],J(a)&&Promise.resolve(i(a)).then(function(u){re(a)&&!C||$(u,a)}),F({type:"reset"})},[i,$,C]),U=c.useCallback(function(){if(W.current){F({type:"openDialog"}),ge();var a={multiple:s,types:Ur(r)};window.showOpenFilePicker(a).then(function(u){return i(u)}).then(function(u){$(u,null),F({type:"closeDialog"})}).catch(function(u){_r(u)?(H(u),F({type:"closeDialog"})):jr(u)&&(W.current=!1,x.current&&(x.current.value=null,x.current.click()))});return}x.current&&(F({type:"openDialog"}),ge(),x.current.value=null,x.current.click())},[F,ge,H,Pe,$,r,s]),Ve=c.useCallback(function(a){!D.current||!D.current.isEqualNode(a.target)||(a.key===" "||a.key==="Enter"||a.keyCode===32||a.keyCode===13)&&(a.preventDefault(),U())},[D,U]),He=c.useCallback(function(){F({type:"focus"})},[]),Ne=c.useCallback(function(){F({type:"blur"})},[]),We=c.useCallback(function(){ze||(Pr()?setTimeout(U,0):U())},[ze,U]),_=function(u){return n?null:u},me=function(u){return fe?null:_(u)},X=function(u){return Ue?null:_(u)},G=function(u){C&&u.stopPropagation()},Ut=c.useMemo(function(){return function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.refKey,h=u===void 0?"ref":u,b=a.role,E=a.onKeyDown,L=a.onFocus,j=a.onBlur,he=a.onClick,ve=a.onDragEnter,ye=a.onDragOver,q=a.onDragLeave,be=a.onDrop,Fe=ne(a,Rr);return g(g(Oe({onKeyDown:me(A(E,Ve)),onFocus:me(A(L,He)),onBlur:me(A(j,Ne)),onClick:_(A(he,We)),onDragEnter:X(A(ve,ke)),onDragOver:X(A(ye,Le)),onDragLeave:X(A(q,Be)),onDrop:X(A(be,K)),role:typeof b=="string"&&b!==""?b:"button"},h,D),!n&&!fe?{tabIndex:0}:{}),Fe)}},[D,Ve,He,Ne,We,ke,Le,Be,K,fe,Ue,n]),_t=c.useCallback(function(a){a.stopPropagation()},[]),jt=c.useMemo(function(){return function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.refKey,h=u===void 0?"ref":u,b=a.onChange,E=a.onClick,L=ne(a,kr),j=Oe({accept:r,multiple:s,type:"file",style:{display:"none"},onChange:_(A(b,K)),onClick:_(A(E,_t)),tabIndex:-1},h,x);return g(g({},j),L)}},[x,r,s,K,n]),$e=Me.length,Ke=$e>0&&Or({files:Me,accept:r,minSize:l,maxSize:o,multiple:s,maxFiles:f}),Mt=$e>0&&!Ke;return g(g({},N),{},{isDragAccept:Ke,isDragReject:Mt,isFocused:zt&&!n,getRootProps:Ut,getInputProps:jt,rootRef:D,inputRef:x,open:_(U)})}function Gr(e,t){switch(t.type){case"focus":return g(g({},e),{},{isFocused:!0});case"blur":return g(g({},e),{},{isFocused:!1});case"openDialog":return g(g({},Ie),{},{isFileDialogActive:!0});case"closeDialog":return g(g({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive,n=t.draggedFiles;return g(g({},e),{},{draggedFiles:n,isDragActive:r});case"setFiles":return g(g({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return g({},Ie);default:return e}}function it(){}const Ft=m("section",{target:"e1blfcsg0"})(({isDisabled:e,theme:t})=>({display:"flex",alignItems:"center",padding:t.spacing.lg,backgroundColor:t.colors.secondaryBg,borderRadius:t.radii.default,border:t.colors.widgetBorderColor?`${t.sizes.borderWidth} solid ${t.colors.widgetBorderColor}`:void 0,":focus":{outline:"none"},":focus-visible":{boxShadow:`0 0 0 1px ${t.colors.primary}`},color:e?t.colors.gray:t.colors.bodyText})),wt=m("div",{target:"e1blfcsg1"})({marginRight:"auto",alignItems:"center",display:"flex"}),Dt=m("span",{target:"e1blfcsg2"})(({theme:e})=>({color:e.colors.darkenedBgMix100,marginRight:e.spacing.lg})),qr=m("span",{target:"e1blfcsg3"})(({theme:e})=>({marginBottom:e.spacing.twoXS})),Yr=m("div",{target:"e1blfcsg4"})({display:"flex",flexDirection:"column"}),xt=m("div",{target:"e1blfcsg5"})(({theme:e})=>({left:0,right:0,lineHeight:e.lineHeights.tight,paddingTop:e.spacing.md,paddingLeft:e.spacing.lg,paddingRight:e.spacing.lg})),Jr=m("ul",{target:"e1blfcsg6"})(({theme:e})=>({listStyleType:"none",margin:e.spacing.none,padding:e.spacing.none})),St=m("li",{target:"e1blfcsg7"})(({theme:e})=>({margin:e.spacing.none,padding:e.spacing.none})),Et=m("div",{target:"e1blfcsg8"})(({theme:e})=>({display:"flex",alignItems:"baseline",flex:1,paddingLeft:e.spacing.lg,overflow:"hidden"})),At=m("div",{target:"e1blfcsg9"})(({theme:e})=>({marginRight:e.spacing.sm,marginBottom:e.spacing.twoXS,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})),Ot=m("div",{target:"e1blfcsg10"})(({theme:e})=>({display:"flex",alignItems:"center",marginBottom:e.spacing.twoXS})),Zr=m("span",{target:"e1blfcsg11"})(({theme:e})=>({marginRight:e.spacing.twoXS})),Qr=m("div",{target:"e1blfcsg12"})(({theme:e})=>({display:"flex",padding:e.spacing.twoXS,color:e.colors.darkenedBgMix100})),It=m("small",{target:"e1blfcsg13"})(({theme:e})=>({color:e.colors.danger,fontSize:e.fontSizes.sm,height:e.fontSizes.sm,lineHeight:e.fontSizes.sm,display:"flex",alignItems:"center",whiteSpace:"nowrap"})),Ct=m("span",{target:"e1blfcsg14"})({}),ot=e=>({[Ft]:{display:"flex",flexDirection:"column",alignItems:"flex-start"},[wt]:{marginBottom:e.spacing.lg},[Dt]:{display:"none"},[xt]:{paddingRight:e.spacing.lg},[Ot]:{maxWidth:"inherit",flex:1,alignItems:"flex-start",marginBottom:e.spacing.sm},[At]:{width:e.sizes.full},[Et]:{flexDirection:"column"},[It]:{height:"auto",whiteSpace:"initial"},[Ct]:{display:"none"},[St]:{margin:e.spacing.none,padding:e.spacing.none}}),en=m("div",{target:"e1blfcsg15"})(({theme:e})=>e.inSidebar?ot(e):{[`@media (max-width: ${e.breakpoints.sm})`]:ot(e)});var at;(function(e){e.DANGER="danger"})(at||(at={}));const Ce=m("small",{target:"ejh2rmr0"})(({kind:e,theme:t})=>{const{danger:r,fadedText60:n}=t.colors;return{color:e==="danger"?r:n,fontSize:t.fontSizes.sm,lineHeight:t.lineHeights.tight}}),tn=({multiple:e,acceptedExtensions:t,maxSizeBytes:r})=>S(wt,{"data-testid":"stFileUploaderDropzoneInstructions",children:[p(Dt,{children:p(T,{content:ut,size:"threeXL"})}),S(Yr,{children:[S(qr,{children:["Drag and drop file",e?"s":""," here"]}),S(Ce,{children:[`Limit ${ae(r,P.Byte,0)} per file`,t.length?` • ${t.map(n=>n.replace(/^\./,"").toUpperCase()).join(", ")}`:null]})]})]}),rn=({onDrop:e,multiple:t,acceptedExtensions:r,maxSizeBytes:n,disabled:i,label:o})=>p(le,{onDrop:e,multiple:t,accept:r.length?r:void 0,maxSize:n,disabled:i,useFsAccessApi:!1,children:({getRootProps:l,getInputProps:s})=>S(Ft,{...l(),"data-testid":"stFileUploaderDropzone",isDisabled:i,"aria-label":o,children:[p("input",{"data-testid":"stFileUploaderDropzoneInput",...s()}),p(tn,{multiple:t,acceptedExtensions:r,maxSizeBytes:n}),p(Z,{kind:Q.SECONDARY,disabled:i,size:Lt.SMALL,children:"Browse files"})]})}),nn=m("div",{target:"egc9vxm0"})(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:e.spacing.twoXS,marginBottom:e.spacing.twoXS})),on=m("div",{target:"egc9vxm1"})(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"center",color:e.colors.fadedText40})),an=({currentPage:e,totalPages:t,onNext:r,onPrevious:n})=>S(nn,{"data-testid":"stFileUploaderPagination",children:[p(Ce,{children:`Showing page ${e} of ${t}`}),S(on,{children:[p(Z,{onClick:n,kind:Q.MINIMAL,children:p(T,{content:Bt,size:"xl"})}),p(Z,{onClick:r,kind:Q.MINIMAL,children:p(T,{content:Vt,size:"xl"})})]})]}),lt=(e,t)=>Math.ceil(e.length/t),ln=e=>Ht(({pageSize:r,items:n,resetOnAdd:i,...o})=>{const[l,s]=c.useState(0),[f,w]=c.useState(lt(n,r)),v=rr(n);c.useEffect(()=>{v&&v.length!==n.length&&w(lt(n,r)),v&&v.length<n.length?i&&s(0):l+1>=f&&s(f-1)},[n,l,r,v,i,f]);const y=()=>{s(Math.min(l+1,f-1))},O=()=>{s(Math.max(0,l-1))},I=n.slice(l*r,l*r+r);return S(Nt,{children:[p(e,{items:I,...o}),n.length>r?p(an,{pageSize:r,totalPages:f,currentPage:l+1,onNext:y,onPrevious:O}):null]})},e),sn=({fileInfo:e})=>e.status.type==="uploading"?p(tr,{value:e.status.progress,size:er.SMALL}):e.status.type==="error"?S(It,{children:[p(Zr,{"data-testid":"stFileUploaderFileErrorMessage",children:e.status.errorMessage}),p(Ct,{children:p(T,{content:pt,size:"lg"})})]}):e.status.type==="uploaded"?p(Ce,{children:ae(e.size,P.Byte)}):null,cn=({fileInfo:e,onDelete:t})=>S(Ot,{className:"stFileUploaderFile","data-testid":"stFileUploaderFile",children:[p(Qr,{children:p(T,{content:ft,size:"twoXL"})}),S(Et,{className:"stFileUploaderFileData",children:[p(At,{className:"stFileUploaderFileName","data-testid":"stFileUploaderFileName",title:e.name,children:e.name}),p(sn,{fileInfo:e})]}),p("div",{"data-testid":"stFileUploaderDeleteBtn",children:p(Z,{onClick:()=>t(e.id),kind:Q.MINIMAL,children:p(T,{content:ct,size:"lg"})})})]}),un=({items:e,onDelete:t})=>p(Jr,{children:e.map(r=>p(St,{children:p(cn,{fileInfo:r,onDelete:t})},r.id))}),pn=ln(un),fn=e=>p(xt,{children:p(pn,{...e})});class yn extends st.PureComponent{constructor(t){super(t),this.formClearHelper=new Qt,this.localFileIdCounter=1,this.forceUpdatingStatus=!1,this.componentDidUpdate=()=>{if(this.status!=="ready")return;const r=this.createWidgetValue(),{element:n,widgetMgr:i,fragmentId:o}=this.props,l=i.getFileUploaderStateValue(n);Wt(r,l)||i.setFileUploaderStateValue(n,r,{fromUi:!0},o)},this.reset=()=>{this.setState({files:[]})},this.dropHandler=(r,n)=>{const{element:i}=this.props,{multipleFiles:o}=i;if(!o&&r.length===0&&n.length>1){const l=n.findIndex(s=>s.errors.length===1&&s.errors[0].code==="too-many-files");l>=0&&(r.push(n[l].file),n.splice(l,1))}if(this.props.uploadClient.fetchFileURLs(r).then(l=>{if(!o&&r.length>0){const s=this.state.files.find(f=>f.status.type!=="error");s&&(this.forceUpdatingStatus=!0,this.deleteFile(s.id),this.forceUpdatingStatus=!1)}$t(l,r).forEach(([s,f])=>{this.uploadFile(s,f)})}).catch(l=>{this.addFiles(r.map(s=>new Y(s.name,s.size,this.nextLocalFileId(),{type:"error",errorMessage:l})))}),n.length>0){const l=n.map(s=>{const{file:f}=s;return new Y(f.name,f.size,this.nextLocalFileId(),{type:"error",errorMessage:this.getErrorMessage(s.errors[0].code,s.file)})});this.addFiles(l)}},this.uploadFile=(r,n)=>{const i=Xe.CancelToken.source(),o=new Y(n.name,n.size,this.nextLocalFileId(),{type:"uploading",cancelToken:i,progress:1});this.addFile(o),this.props.uploadClient.uploadFile(this.props.element,r.uploadUrl,n,l=>this.onUploadProgress(l,o.id),i.token).then(()=>this.onUploadComplete(o.id,r)).catch(l=>{Xe.isCancel(l)||this.updateFile(o.id,o.setStatus({type:"error",errorMessage:l?l.toString():"Unknown error"}))})},this.onUploadComplete=(r,n)=>{const i=this.getFile(r);M(i)||i.status.type!=="uploading"||this.updateFile(i.id,i.setStatus({type:"uploaded",fileId:n.fileId,fileUrls:n}))},this.getErrorMessage=(r,n)=>{switch(r){case"file-too-large":return`File must be ${ae(this.maxUploadSizeInBytes,P.Byte)} or smaller.`;case"file-invalid-type":return`${n.type} files are not allowed.`;case"file-too-small":return"File size is too small.";case"too-many-files":return"Only one file is allowed.";default:return"Unexpected error. Please try again."}},this.deleteFile=r=>{const n=this.getFile(r);M(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(r))},this.addFile=r=>{this.setState(n=>({files:[...n.files,r]}))},this.addFiles=r=>{this.setState(n=>({files:[...n.files,...r]}))},this.removeFile=r=>{this.setState(n=>({files:n.files.filter(i=>i.id!==r)}))},this.getFile=r=>this.state.files.find(n=>n.id===r),this.updateFile=(r,n)=>{this.setState(i=>({files:i.files.map(o=>o.id===r?n:o)}))},this.onUploadProgress=(r,n)=>{const i=this.getFile(n);if(M(i)||i.status.type!=="uploading")return;const o=Math.round(r.loaded*100/r.total);i.status.progress!==o&&this.updateFile(n,i.setStatus({type:"uploading",cancelToken:i.status.cancelToken,progress:o}))},this.onFormCleared=()=>{this.setState({files:[]},()=>{const r=this.createWidgetValue();if(M(r))return;const{widgetMgr:n,element:i,fragmentId:o}=this.props;n.setFileUploaderStateValue(i,r,{fromUi:!0},o)})},this.state=this.initialValue}get initialValue(){const t={files:[],newestServerFileId:0},{widgetMgr:r,element:n}=this.props,i=r.getFileUploaderStateValue(n);if(M(i))return t;const{uploadedFileInfo:o}=i;return M(o)||o.length===0?t:{files:o.map(l=>{const s=l.name,f=l.size,w=l.fileId,v=l.fileUrls;return new Y(s,f,this.nextLocalFileId(),{type:"uploaded",fileId:w,fileUrls:v})})}}componentWillUnmount(){this.formClearHelper.disconnect()}get maxUploadSizeInBytes(){const t=this.props.element.maxUploadSizeMb;return nr(t,P.Megabyte,P.Byte)}get status(){const t=r=>r.status.type==="uploading";return this.state.files.some(t)||this.forceUpdatingStatus?"updating":"ready"}componentDidMount(){const t=this.createWidgetValue(),{element:r,widgetMgr:n,fragmentId:i}=this.props;n.getFileUploaderStateValue(r)===void 0&&n.setFileUploaderStateValue(r,t,{fromUi:!1},i)}createWidgetValue(){const t=this.state.files.filter(r=>r.status.type==="uploaded").map(r=>{const{name:n,size:i,status:o}=r,{fileId:l,fileUrls:s}=o;return new Kt({fileId:l,fileUrls:s,name:n,size:i})});return new Xt({uploadedFileInfo:t})}render(){var s;const{files:t}=this.state,{element:r,disabled:n,widgetMgr:i}=this.props,o=r.type;this.formClearHelper.manageFormClearListener(i,r.formId,this.onFormCleared);const l=t.slice().reverse();return S(en,{className:"stFileUploader","data-testid":"stFileUploader",children:[p(Zt,{label:r.label,disabled:n,labelVisibility:Gt((s=r.labelVisibility)==null?void 0:s.value),children:r.help&&p(qt,{children:p(Yt,{content:r.help,placement:Jt.TOP_RIGHT})})}),p(rn,{onDrop:this.dropHandler,multiple:r.multipleFiles,acceptedExtensions:o,maxSizeBytes:this.maxUploadSizeInBytes,label:r.label,disabled:n}),l.length>0&&p(fn,{items:l,pageSize:3,onDelete:this.deleteFile,resetOnAdd:!0})]})}nextLocalFileId(){return this.localFileIdCounter++}}export{yn as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{g as u,cs as n}from"./index.CvqaNor_.js";var o=n,i=0;function a(r){var t=++i;return o(r)+t}var e=a;const d=u(e);export{d as u};
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|