@marimo-team/islands 0.23.17-dev8 → 0.24.0
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.
- package/dist/{ConnectedDataExplorerComponent-f9vLjQiF.js → ConnectedDataExplorerComponent-BUC1MrsF.js} +24 -24
- package/dist/{ErrorBoundary-DhLqwSWA.js → ErrorBoundary-BniTEhHn.js} +7 -7
- package/dist/{ImageComparisonComponent-C3y7L3eJ.js → ImageComparisonComponent-B7b8DcJI.js} +42 -31
- package/dist/{Plot-YQOuVIei.js → Plot-eTseCFf_.js} +4 -4
- package/dist/_initCloneObject-DNUst5Cg.js +91 -0
- package/dist/abnfDiagram-N423BO3Z-DA4j92-C.js +112 -0
- package/dist/{any-language-editor-DifE-fl7.js → any-language-editor-LHl8ZmVN.js} +26 -26
- package/dist/apl-Cwo7GIH7.js +4 -0
- package/dist/{arc-CTIpFoOn.js → arc-9nABupDE.js} +2 -2
- package/dist/architecture-TIHT7OUA-DxLlkuAK.js +5 -0
- package/dist/{architectureDiagram-VXUJARFQ-DXwkyAaM.js → architectureDiagram-T3A2C74G-BBlBK1Oh.js} +327 -214
- package/dist/{arrays-sEtDRoG4.js → arrays-C56grfjL.js} +1 -1
- package/dist/asciiarmor-jrfEZ3j_.js +4 -0
- package/dist/asn1-BNEiJ4nQ.js +4 -0
- package/dist/assets/__vite-browser-external-DUz7vvG0.js +1 -0
- package/dist/assets/{worker-CDEKsBgX.js → worker-Cl1KJG2_.js} +2 -2
- package/dist/blockDiagram-VBNYF7ZC-Datz1WNn.js +3284 -0
- package/dist/brainfuck-BCunvTbd.js +4 -0
- package/dist/{button-BSm8IXRU.js → button-Dr2uAwhT.js} +9 -7
- package/dist/{c4Diagram-YG6GDRKO-B6dZC_oU.js → c4Diagram-5PPSVZJV-DTIsibpE.js} +165 -162
- package/dist/{capabilities-C6OQ5YBO.js → capabilities-BilXeZ7p.js} +2 -2
- package/dist/{channel-BN070S0F.js → channel-CuV_jmG4.js} +1 -1
- package/dist/chat-ui-o-tATfmW.js +8619 -0
- package/dist/{check-DP7U0H0G.js → check-58HHfHKy.js} +1 -1
- package/dist/chunk-2GRJ4B5K-DRayWnnu.js +68 -0
- package/dist/{chunk-QZHKN3VN-Dym5BS7y.js → chunk-2Q5K7J3B-BSLyFOHa.js} +1 -1
- package/dist/chunk-3NCLNEKW-BPlp8K7N.js +11 -0
- package/dist/chunk-4I5QYGJK-CYJC3pkC.js +260 -0
- package/dist/chunk-5FCAYU7R-C3cMIeyz.js +24 -0
- package/dist/{chunk-5FQGJX7Z-B9WoXK1R.js → chunk-5FQGJX7Z-BRZ_XYUw.js} +6 -6
- package/dist/chunk-5HE753X5-D2jFCVXb.js +34 -0
- package/dist/chunk-5JV3BV7I-B7tzprBU.js +50 -0
- package/dist/{chunk-DI55MBZ5-D4Y8yV8B.js → chunk-5RXB4S5H-DcCPfb0q.js} +373 -327
- package/dist/chunk-5TONJI2A-LRqbgPte.js +59 -0
- package/dist/{chunk-FMBD7UC4-quJmebXa.js → chunk-5VM5RSS4-ChXEBudA.js} +1 -1
- package/dist/chunk-6Q2QTUOP-zcnb3OaV.js +503 -0
- package/dist/{chunk-HN2XXSSU-Bv0QkeMr.js → chunk-7BUUIJ7U-CkIbJNZo.js} +32 -25
- package/dist/chunk-7Z6QIM7H-1j-x7ddW.js +606 -0
- package/dist/{chunk-FRFDVMJY-BHBqN-vD.js → chunk-BIQX33UG-B-BYk6sM.js} +3 -3
- package/dist/chunk-Bfp04NdC.js +25 -0
- package/dist/chunk-CQNSW5MT-DBXDKSOU.js +34 -0
- package/dist/{chunk-4F5CHEZ2-VlodlEGo.js → chunk-CYSBUYHQ-Cv-vKQV-.js} +1 -1
- package/dist/{chunk-SJTYNZTY-DnXoKWpW.js → chunk-EMLP6XTP-DCtMkXLF.js} +1 -1
- package/dist/{chunk-B4BG7PRW-B_z2FEHm.js → chunk-GF5L2VYU-esTxzELH.js} +878 -636
- package/dist/chunk-I66GZJ75-9xAsFrdW.js +3744 -0
- package/dist/chunk-J7OUQ5F2-CbNBTlFM.js +81 -0
- package/dist/chunk-JG7HCLWE-CZIm6axg.js +59 -0
- package/dist/{flowDiagram-NV44I4VS-BRhSg-ro.js → chunk-JQJVKLGR-ZALkKVji.js} +1019 -1001
- package/dist/{chunk-4BX2VUAB-iU5lQTDI.js → chunk-JWPE2WC7-C_Daz-Oc.js} +1 -1
- package/dist/{chunk-QN33PNHL-DPBNNzpR.js → chunk-KBJHAD2P-B7m9DztL.js} +3 -2
- package/dist/chunk-KEIR6QF5-aP6TmWQ-.js +21095 -0
- package/dist/{chunk-UMXZTB3W-D1uHz8MN.js → chunk-MOZMSUNE-BQi-ggQx.js} +7 -4
- package/dist/{chunk-S3R3BYOJ-BdgLc8AM.js → chunk-NSK5VX7P-BmmoJBbx.js} +320 -29
- package/dist/chunk-OSBZ3O6U-BcrmpSY_.js +22 -0
- package/dist/{chunk-TQ3KTPDO-CsDx6v37.js → chunk-QBLGF6JB-BACuPUWb.js} +3 -3
- package/dist/chunk-QR6OTTB3-C4L1dLRd.js +3762 -0
- package/dist/{chunk-B2363JML-zL3VngtH.js → chunk-R7FJI6CG-BYAXJpIb.js} +3 -3
- package/dist/chunk-RYQCIY6F-poA0Ugpr.js +243 -0
- package/dist/chunk-U6XO7XAA-I8tCjTeT.js +60 -0
- package/dist/chunk-UBXNYLIW-C8LueN5Q.js +34 -0
- package/dist/{chunk-ATLVNIR6-qFiszptQ.js → chunk-W5SLKNZC-DK-_KuKT.js} +2 -2
- package/dist/{chunk-JA3XYJ7Z-CY4CRbV5.js → chunk-WRU74C26-DLgw-V0j.js} +262 -451
- package/dist/chunk-XXDRQBXY-Dzcp3rUR.js +9 -0
- package/dist/chunk-Y2CYZVJY-DX3DSigL.js +13 -0
- package/dist/{chunk-PL6DKKU2-CAHKc95s.js → chunk-YOTPTUD7-C8qfgaz5.js} +5 -5
- package/dist/{chunk-MI3HLSF2-HGWI-8Pg.js → chunk-ZIRB5QZD-_JX1DzEJ.js} +12 -8
- package/dist/classDiagram-JCYQIIEL-D8A6ZyXv.js +32 -0
- package/dist/classDiagram-v2-OCEON4UE-DIdYl-t3.js +32 -0
- package/dist/{click-outside-container-BSIeYt4y.js → click-outside-container-BZNsAj09.js} +2 -2
- package/dist/{clike-7lgyEYRk.js → clike-CWndBX_M.js} +1 -1
- package/dist/clojure-2X0Rfij9.js +4 -0
- package/dist/cmake-DEwzCy9U.js +4 -0
- package/dist/cobol-Ck4eCoAB.js +4 -0
- package/dist/{code-block-37QAKDTI-MSxEjskJ.js → code-block-37QAKDTI-B4pWe5MI.js} +4 -4
- package/dist/coffeescript-bB1IDwhg.js +4 -0
- package/dist/{common-BLoQG6ym.js → common-DV4qU2ew.js} +797 -804
- package/dist/commonlisp-BDYrVBNC.js +4 -0
- package/dist/{compiler-runtime-CEbnTgxf.js → compiler-runtime-DsR6imPN.js} +2 -2
- package/dist/{copy-DNq8q3zw.js → copy-C7ZKMKox.js} +5 -5
- package/dist/{cose-bilkent-S5V4N54A-BYj0aL7z.js → cose-bilkent-JH36ORCC-D6iQzSi6.js} +6 -5
- package/dist/crystal-BSoiVUiH.js +4 -0
- package/dist/css-w1h9i21f.js +4 -0
- package/dist/cynefin-VYW2F7L2-DnZOHyNF.js +5 -0
- package/dist/cynefinDiagram-MW4NZA55-B1GNPS2u.js +367 -0
- package/dist/cypher-B4xzuKGP.js +4 -0
- package/dist/{cytoscape.esm-Dr8XzXWK.js → cytoscape.esm-BPa26Dup.js} +393 -334
- package/dist/d-D50Bz34p.js +4 -0
- package/dist/{dagre-By_QsQgc.js → dagre-ThTNj8pe.js} +60 -45
- package/dist/dagre-VZM6K2ZE-DEs5dfXA.js +343 -0
- package/dist/{data-grid-overlay-editor-BWRG2b_o.js → data-grid-overlay-editor-Ci7TXVf5.js} +5 -5
- package/dist/{debounce-BOD3DbfP.js → debounce-D784bpms.js} +2 -2
- package/dist/{defaultLocale-BpsHxBd7.js → defaultLocale-CMezyvMc.js} +26 -26
- package/dist/diagram-7IWD3JNH-Bdk1_wJO.js +321 -0
- package/dist/diagram-B4RE2ZJO-Be9eYLJ0.js +464 -0
- package/dist/{diagram-S2PKOQOG-CGh4OMEV.js → diagram-LBJQPF4R-BNSnzxFw.js} +26 -18
- package/dist/{diagram-PSM6KHXK-D4ftnaua.js → diagram-Q27KOJAE-NPRzyGtd.js} +68 -63
- package/dist/diagram-UB23O5K3-Dogz4itg.js +236 -0
- package/dist/diff-BMdzfXq-.js +4 -0
- package/dist/{dist-BTdrwBWP.js → dist-72nb8Uag.js} +3 -3
- package/dist/{dist-CV79CsQ0.js → dist-9PC5KxMl.js} +2 -2
- package/dist/{dist-BOMbzyb3.js → dist-Awj73yUw.js} +3 -3
- package/dist/{dist-w_gWE5Wf.js → dist-B0Ctcrt9.js} +1 -1
- package/dist/{dist-BO5HRiTf.js → dist-B1Donbpk.js} +2 -2
- package/dist/dist-BC6wzWNb.js +5 -0
- package/dist/{dist-De-GlSAs.js → dist-BJ2IUa0l.js} +15 -9
- package/dist/dist-BMd_RcOy.js +5 -0
- package/dist/dist-BZEWjN6r.js +5 -0
- package/dist/{dist-BP39XM8u.js → dist-B_K4AAkc.js} +1 -1
- package/dist/dist-BeuGjR3n.js +6 -0
- package/dist/dist-BfDQCUe6.js +5 -0
- package/dist/dist-BhNblTOV.js +8 -0
- package/dist/{dist-BPF0gTRZ.js → dist-C0ifRfXi.js} +1 -1
- package/dist/{dist-pqIwD8VD.js → dist-C3mEki35.js} +2 -2
- package/dist/{dist-LpLXa9Lb.js → dist-CNfV2vDI.js} +2 -2
- package/dist/{dist-DviUBLUp.js → dist-COcQ5Vyc.js} +4 -4
- package/dist/dist-CRCm4Fuo.js +5 -0
- package/dist/{dist-4lVIWUT3.js → dist-CSZpLb9d.js} +1 -1
- package/dist/{dist-BIEt-mlF.js → dist-CWswQBvu.js} +1 -1
- package/dist/{dist-D3bdsa1d.js → dist-CXYro_Nw.js} +4 -4
- package/dist/{dist-CRmSjkLP.js → dist-Ckfsc8C3.js} +2 -2
- package/dist/{dist-CSlJrrAw.js → dist-Cyq6Pxtv.js} +1 -1
- package/dist/{dist-JGehap7K.js → dist-D-BWPyoX.js} +5 -5
- package/dist/{dist-BCX980mU.js → dist-D-YB6j-O.js} +2 -2
- package/dist/{dist-DgjbnqTg.js → dist-D1vYHETp.js} +2 -2
- package/dist/{dist-BpeiYpG2.js → dist-D9-ePb6D.js} +2 -2
- package/dist/dist-DBPEbGkd.js +8 -0
- package/dist/{dist-C2_4pjuS.js → dist-DC409ROm.js} +1 -1
- package/dist/{dist-BdqCKQ1O.js → dist-DJRUd9aM.js} +2 -2
- package/dist/{dist-DaXJPX8F.js → dist-DLvxZEAK.js} +2 -2
- package/dist/dist-DSsl8IAI.js +5 -0
- package/dist/{dist-3NCqaWjt.js → dist-D_ulymry.js} +2 -2
- package/dist/{dist-DZwp8lro.js → dist-DgY27bJ4.js} +3 -3
- package/dist/{dist-BwhXBwMd.js → dist-DiwVZiK7.js} +1 -1
- package/dist/{dist-DwqBJ014.js → dist-DnYHhW6c.js} +2 -2
- package/dist/dist-Dx0kkrek.js +5 -0
- package/dist/{dist-DsoKosxi.js → dist-HaLHv0k5.js} +2 -3
- package/dist/dist-NKA1TU8a.js +6 -0
- package/dist/dist-ZFcsIdHj.js +8 -0
- package/dist/{dist-C18MUWTj.js → dist-iZ8-rtUy.js} +2 -2
- package/dist/{dist-DIlxLFXG.js → dist-j30bBjjN.js} +15 -15
- package/dist/{dist-SXNmlE8A.js → dist-kOCFEa1U.js} +3 -3
- package/dist/{dist-CFSb_Frm.js → dist-sxRUVPmt.js} +1 -1
- package/dist/dist-uA2RbGmY.js +5 -0
- package/dist/{dist-B2jmQKKx.js → dist-xVU82Nq7.js} +2 -2
- package/dist/dist-zSCo-xCB.js +8 -0
- package/dist/{dockerfile-B82Pkz_V.js → dockerfile-DImRFUlA.js} +1 -1
- package/dist/dtd-B9dCT0pu.js +4 -0
- package/dist/dylan-DLghDyuR.js +4 -0
- package/dist/ebnfDiagram-BXEA7PRR-CqRWkG7L.js +129 -0
- package/dist/ecl-w0qdPHDB.js +4 -0
- package/dist/eiffel-C5AWRCNP.js +4 -0
- package/dist/elm-CT8FZrOm.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-BcKAHFqF.js → erDiagram-JOGREHBK-BZMJX-Au.js} +568 -436
- package/dist/erlang-DPD-9M5g.js +4 -0
- package/dist/{error-banner-B_GQfxxD.js → error-banner-BwCLtmkH.js} +6 -6
- package/dist/{esm-CuQHjs36.js → esm-BJ4n0NUT.js} +1 -1
- package/dist/{esm-DKOv6P2M.js → esm-Dusmf6uu.js} +105 -105
- package/dist/{esm-DzZVaNH4.js → esm-QLUgkqzZ.js} +6 -6
- package/dist/eventmodeling-45OFAUF4-D8Kbnsr6.js +5 -0
- package/dist/{extends-w2_S44bV.js → extends-iFBneQO_.js} +9 -9
- package/dist/{factor-Bq2mGIHt.js → factor-BonZgUGg.js} +1 -1
- package/dist/factor-rFfeJu3r.js +4 -0
- package/dist/flowDiagram-UKHOOZJN-DqIE8_b3.js +21 -0
- package/dist/{formats-Dwq1THhr.js → formats-HSfYlcA8.js} +7 -7
- package/dist/forth-C-3AyQx4.js +4 -0
- package/dist/fortran-BSN9TeT7.js +4 -0
- package/dist/ganttDiagram-PKOTCBZU-Bc9puoXb.js +2207 -0
- package/dist/gas-DwmuvQpB.js +4 -0
- package/dist/gherkin-gmCjL-Sn.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-BjTx0kww.js → gitGraph-TEB2WS4Q-DVzLmQHc.js} +2 -3
- package/dist/gitGraphDiagram-DS77QQ5N-CqKr-Dfg.js +766 -0
- package/dist/{glide-data-editor-B9K6-MJe.js → glide-data-editor-BI2i_IEE.js} +18 -18
- package/dist/graphlib-DMVIRZap.js +614 -0
- package/dist/groovy-DCjvesOy.js +4 -0
- package/dist/hasIn-synBnXn4.js +119 -0
- package/dist/haskell-C1p0D9L8.js +4 -0
- package/dist/haxe-q-fgv0zr.js +5 -0
- package/dist/{html-to-image-CZ1kLKkq.js → html-to-image-BOiFHx3u.js} +7535 -3056
- package/dist/idl-Bmg4bsnK.js +4 -0
- package/dist/{info-VBDWY6EO-CA67FznA.js → info-DKCQHKI2-BxOTqQHM.js} +2 -3
- package/dist/infoDiagram-6WML65LV-B869X2KY.js +37 -0
- package/dist/{input-C5K4VBvB.js → input-BRE2a7Ay.js} +13 -13
- package/dist/{_baseFor-4jw-lnCC.js → isArrayLikeObject-CBUaLibE.js} +96 -29
- package/dist/{isEmpty-CJJMn-QP.js → isEmpty-CgME6WRV.js} +15 -15
- package/dist/{isSymbol-CoUCgMCM.js → isSymbol-Ch3GYg4S.js} +1 -1
- package/dist/ishikawaDiagram-WSZJBQD7-BrOMFBYy.js +731 -0
- package/dist/javascript-BY5QZ-eN.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-DEal0aT1.js → journeyDiagram-NVQOT4AX-CTwHlsTm.js} +124 -123
- package/dist/{jsx-runtime-DebpN0FN.js → jsx-runtime-Dp_oQwaf.js} +1 -1
- package/dist/julia-DbR1YalK.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-Dl90wENN.js → kanban-definition-27J2QSJJ-CKowzO9_.js} +51 -45
- package/dist/{katex-C4t-BmrK.js → katex-Ci33kJVq.js} +1 -1
- package/dist/{katex-Bld7b-fk.js → katex-Dp22h6yO.js} +2871 -3002
- package/dist/{label-DjoYwqmj.js → label-CMh2d8pJ.js} +6 -6
- package/dist/{line-C43FIPBd.js → line-Bc27KE1D.js} +3 -3
- package/dist/{linear-H_vsH9ao.js → linear-6pDlrp1I.js} +4 -4
- package/dist/livescript-BDUooIeL.js +4 -0
- package/dist/{loader-DX-IDS7n.js → loader-DTnbNSVZ.js} +11 -11
- package/dist/lua-CswAWSkH.js +4 -0
- package/dist/main.js +747 -752
- package/dist/map-BQ_Xp80D.js +137 -0
- package/dist/mathematica-Bw7v11B5.js +4 -0
- package/dist/mbox-j35IMz1j.js +4 -0
- package/dist/merge-CDbSrd9f.js +69 -0
- package/dist/mermaid-4DMBBIKO-BZSpTmcx.js +6 -0
- package/dist/mermaid-DpAz2sTy.js +1265 -0
- package/dist/mermaid-parser.core-BQzz3_BI.js +87 -0
- package/dist/{mhchem-EGhUZR1V.js → mhchem-BDHjke3h.js} +1 -1
- package/dist/{micromark-factory-space-CwHmg6iz.js → micromark-factory-space-Cr4NxAt3.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-CCDupjWW.js → mindmap-definition-FAOFIHXS-CTsi-HFj.js} +126 -80
- package/dist/mirc-Ba_RHVXO.js +4 -0
- package/dist/mllike-DbTP2dPp.js +6 -0
- package/dist/modelica-lpT3V1X6.js +4 -0
- package/dist/mscgen-BN4ZSJMx.js +6 -0
- package/dist/mumps-uI5g1A0g.js +4 -0
- package/dist/{node-sql-parser-v1Vi-Fft.js → node-sql-parser-BaLGWQe1.js} +1 -1
- package/dist/{now-Ch98bJO_.js → now-sFWt-GLC.js} +2 -2
- package/dist/{nsis-i9_sgigf.js → nsis-C68fFq_o.js} +1 -1
- package/dist/nsis-Df56GiRg.js +4 -0
- package/dist/ntriples-B3LWuG7W.js +4 -0
- package/dist/{number-overlay-editor-Ck_mc_gT.js → number-overlay-editor-CeBHRJvI.js} +3 -3
- package/dist/octave-CovfQgOx.js +4 -0
- package/dist/{once-B60G2fuJ.js → once-Boutk_9X.js} +1 -1
- package/dist/{ordinal-Bkv2-veX.js → ordinal-Bdajf2BE.js} +1 -1
- package/dist/oz-DQQAvVFb.js +4 -0
- package/dist/{packet-DYOGHKS2-Bkgofxf3.js → packet-7NZHBO7P-BG8whXXH.js} +2 -3
- package/dist/pascal-xz94P9sf.js +4 -0
- package/dist/pegDiagram-VL7TDLO6-CNpT8Sqz.js +124 -0
- package/dist/perl-aEWKE-1n.js +4 -0
- package/dist/pick-CaEWivSF.js +47 -0
- package/dist/{pie-VRWISCQL-B1AMhN_7.js → pie-RZYD4A2V-Cc_QhFbT.js} +2 -3
- package/dist/pieDiagram-7S7Q4E2Y-Ct8jRpe_.js +219 -0
- package/dist/pig-DB6DOZl7.js +4 -0
- package/dist/powershell-DM5saUx1.js +4 -0
- package/dist/{precisionRound-CnHPY_5v.js → precisionRound-BOoJTbDj.js} +1 -1
- package/dist/{process-output-bVfbcx5_.js → process-output-HrsM52f8.js} +7 -7
- package/dist/properties-BGjYQuGo.js +4 -0
- package/dist/protobuf-BPpEyPud.js +4 -0
- package/dist/{pug-BhE2JRSg.js → pug-DFPPZ3LA.js} +1 -1
- package/dist/pug-uJzB88ft.js +4 -0
- package/dist/puppet-oIm2d_Lg.js +4 -0
- package/dist/{purify.es-EnR5yhgI.js → purify.es-DR5PNXwx.js} +160 -155
- package/dist/python-WE57eUzD.js +4 -0
- package/dist/q-CR8xPodo.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-BqDB9tUC.js → quadrantDiagram-CIZ2JOQS-B5n_xFcF.js} +429 -401
- package/dist/r-CJdmQZNj.js +4 -0
- package/dist/{radar-ZZBFDIW7-C2b7A32s.js → radar-I7S5WNFK-OhUkecXA.js} +2 -3
- package/dist/railroad-3IZDKUUU-1CmOpo1B.js +5 -0
- package/dist/railroad-abnf-AHOZXSZD-DmH4lsDS.js +5 -0
- package/dist/railroad-ebnf-EBAXGLYW-CzK0md4e.js +5 -0
- package/dist/railroad-peg-LSFZ7HO6-DOklooKz.js +5 -0
- package/dist/railroadDiagram-AXF67PYL-BbUWbtf8.js +100 -0
- package/dist/{react-DA-nE2FX.js → react-DhGsCS90.js} +1 -1
- package/dist/{react-dom-BTJzcVJ9.js → react-dom-CmENFV8Q.js} +2 -2
- package/dist/{react-vega-BazDALhI.js → react-vega-zyfTF9SY.js} +8036 -4796
- package/dist/{requirementDiagram-UZGBJVZJ-KbVt8SPH.js → requirementDiagram-LRYGKXZP-CpoDmKSf.js} +137 -105
- package/dist/{reveal-component-BejXPHja.js → reveal-component-CYZAzXrV.js} +27 -28
- package/dist/rough.esm-lGyFQ0B-.js +1363 -0
- package/dist/rpm-Cm5K4RH9.js +5 -0
- package/dist/ruby-ArsuTozQ.js +4 -0
- package/dist/sankeyDiagram-W5VNT64P-D82rYiAG.js +942 -0
- package/dist/sas-DShligrE.js +4 -0
- package/dist/scheme-kDLirQL7.js +4 -0
- package/dist/sequenceDiagram-SI44F4Z6-DgVKU1s5.js +4281 -0
- package/dist/shell-CVQuWP_N.js +4 -0
- package/dist/sieve-BW-ePwnq.js +4 -0
- package/dist/sizeCapture-X5ZJPWSS-BQgxHTji.js +48 -0
- package/dist/smalltalk-DI4aAXxY.js +4 -0
- package/dist/sparql-B2sp0oiz.js +4 -0
- package/dist/{spec-CQKL_D3i.js → spec-BL1GSUUF.js} +4 -4
- package/dist/{src-DV3ha_nA.js → src-BwVZVGyf.js} +13 -22
- package/dist/{stateDiagram-FKZM4ZOC-ByOvQf2n.js → stateDiagram-OKZ733FA-Cc9BchXz.js} +61 -58
- package/dist/stateDiagram-v2-UEYNNEHI-Dd4Tuw6F.js +32 -0
- package/dist/{step-BqHnkgWE.js → step-BqVgkWtk.js} +1 -1
- package/dist/stex-D2rme5UG.js +4 -0
- package/dist/{strings-DIy9NAmg.js → strings-DMLVGXRo.js} +305 -305
- package/dist/style.css +1 -1
- package/dist/stylus-xxO-85eO.js +4 -0
- package/dist/swift-Ctg533nZ.js +4 -0
- package/dist/swimlanes-SLNWSIFB-BHvhO5uv.js +5564 -0
- package/dist/swimlanesDiagram-ULZ7WXOC-aI_zgQ8O.js +33 -0
- package/dist/{swiper-component-CEdAYjb7.js → swiper-component-Cx0cRWLk.js} +6 -6
- package/dist/tcl-phm9c5Nd.js +4 -0
- package/dist/textile-CphjAg90.js +4 -0
- package/dist/{time-Bb4A7I6a.js → time-DAJu9fnj.js} +4 -4
- package/dist/timeline-definition-Z64GVDOM-BAHuDYyA.js +1107 -0
- package/dist/{timer-BpI_FKSA.js → timer-aIIabkbI.js} +1 -1
- package/dist/{toDate-CqhBWjvO.js → toDate-BGM7kFtQ.js} +6 -6
- package/dist/toml-BUuMK772.js +4 -0
- package/dist/{tooltip-f-qR0iUx.js → tooltip-BtUxZT5h.js} +7 -7
- package/dist/treeView-QDETBFTQ-DsLN_c8p.js +5 -0
- package/dist/{treemap-GDKQZRPO-SDux0AV8.js → treemap-6X3UGDF4-K1bi3LJm.js} +2 -3
- package/dist/troff-lCtc05A3.js +4 -0
- package/dist/ttcn-CcykzBcW.js +4 -0
- package/dist/ttcn-cfg-C-XYdqpE.js +4 -0
- package/dist/turtle-CpfVZs8G.js +4 -0
- package/dist/{types-DicH9Oi0.js → types-DT8UHI5w.js} +1 -1
- package/dist/{use-vega-container-remeasure-DGNrIQSk.js → use-vega-container-remeasure-B7OD7yUY.js} +3 -3
- package/dist/{useAsyncData-CYOQb1EW.js → useAsyncData-CDcbh-Qv.js} +5 -5
- package/dist/{useDateFormatter-Bt2qr_XS.js → useDateFormatter-B_vTzxpm.js} +4 -4
- package/dist/{useDeepCompareMemoize-CSHQeQEI.js → useDeepCompareMemoize-Bj6QvwiG.js} +3 -3
- package/dist/{useIframeCapabilities-kA09ykNq.js → useIframeCapabilities-CxuXXwjj.js} +4 -4
- package/dist/{useLifecycle-CMJGqBaY.js → useLifecycle-Bw4wRj_O.js} +7 -7
- package/dist/{useTheme-DYfby65G.js → useTheme-BzEXeAR5.js} +8 -7
- package/dist/vb-VOIzXwm9.js +4 -0
- package/dist/vbscript-D0WfcnVk.js +4 -0
- package/dist/{vega-component-C7nO5zcf.js → vega-component-CJug-VdR.js} +24 -24
- package/dist/{vega-embed-container-DAQAMjiO.js → vega-embed-container-BRjjqRGz.js} +9 -9
- package/dist/{vega-loader.browser-DmpxCJqx.js → vega-loader.browser-CGb-2Kwi.js} +106 -113
- package/dist/velocity-CCrc5n-0.js +4 -0
- package/dist/vennDiagram-T6HMQDX7-CTyzMewS.js +1913 -0
- package/dist/verilog-BLFhaDBH.js +4 -0
- package/dist/vhdl-DjuqPE9b.js +4 -0
- package/dist/wardley-OPB4EBWU-CP99MvU1.js +5 -0
- package/dist/wardleyDiagram-T6FBY63Y-vcno_rbk.js +669 -0
- package/dist/webidl-Cc7RrfeK.js +4 -0
- package/dist/xquery-BiCRLnNG.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-BSkNxYNw.js → xychartDiagram-ELKLHX3M-DyFDERhM.js} +417 -353
- package/dist/yacas-CWcjav-O.js +4 -0
- package/dist/z80-DpYS2lE7.js +4 -0
- package/dist/{zod-BUcyXSdR.js → zod-BFY2SnzC.js} +42 -43
- package/package.json +7 -7
- package/src/__mocks__/requests.ts +5 -0
- package/src/components/ai/ai-model-dropdown.tsx +2 -2
- package/src/components/app-config/user-config-form.tsx +26 -0
- package/src/components/chat/__tests__/capabilities-popover.test.tsx +38 -0
- package/src/components/chat/__tests__/chat-abort.test.ts +51 -0
- package/src/components/chat/__tests__/use-chat-controller-id.test.tsx +39 -0
- package/src/components/chat/capabilities-popover.tsx +68 -0
- package/src/components/chat/chat-abort.ts +44 -0
- package/src/components/chat/chat-display.tsx +17 -0
- package/src/components/chat/chat-panel.tsx +107 -50
- package/src/components/chat/chat-utils.ts +1 -1
- package/src/components/chat/use-chat-controller-id.ts +24 -0
- package/src/components/data-table/charts/__tests__/schemas.test.ts +35 -0
- package/src/components/data-table/charts/schemas.ts +5 -2
- package/src/components/databases/icons/huggingface.svg +8 -0
- package/src/components/datasets/__tests__/icons.test.ts +21 -0
- package/src/components/datasets/icons.tsx +10 -0
- package/src/components/datasources/__tests__/components.test.tsx +29 -0
- package/src/components/datasources/components.tsx +8 -3
- package/src/components/editor/actions/export-dialog/__tests__/export-dialog.test.tsx +35 -0
- package/src/components/editor/actions/export-dialog/__tests__/state.test.ts +61 -0
- package/src/components/editor/actions/export-dialog/export-command.ts +4 -9
- package/src/components/editor/actions/export-dialog/format-notice.tsx +28 -0
- package/src/components/editor/actions/export-dialog/state.ts +23 -5
- package/src/components/editor/actions/export-dialog/use-export-dialog.ts +3 -13
- package/src/components/editor/actions/useConfigActions.tsx +24 -0
- package/src/components/editor/ai/add-cell-with-ai.tsx +2 -2
- package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
- package/src/components/editor/chrome/panels/outline/__tests__/useActiveOutline.test.ts +26 -0
- package/src/components/editor/chrome/wrapper/useOpenAiAssistant.ts +2 -2
- package/src/components/editor/code/__tests__/readonly-python-code.test.tsx +114 -2
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +14 -0
- package/src/components/editor/connections/storage/__tests__/as-code.test.ts +20 -0
- package/src/components/editor/connections/storage/add-storage-form.tsx +10 -0
- package/src/components/editor/connections/storage/as-code.ts +19 -1
- package/src/components/editor/connections/storage/schemas.ts +19 -0
- package/src/components/storage/__tests__/storage-snippets.test.ts +88 -0
- package/src/components/storage/components.tsx +2 -0
- package/src/components/storage/storage-snippets.ts +58 -0
- package/src/core/__tests__/mode.test.ts +85 -0
- package/src/core/ai/__tests__/config.test.tsx +96 -0
- package/src/core/ai/config.ts +16 -22
- package/src/core/ai/constants.ts +7 -0
- package/src/core/ai/staged-cells.ts +3 -0
- package/src/core/ai/state.ts +10 -0
- package/src/core/codemirror/__tests__/setup.test.ts +1 -1
- package/src/core/codemirror/cm.ts +2 -2
- package/src/core/codemirror/code-lens/__tests__/extension.test.ts +85 -6
- package/src/core/codemirror/code-lens/extension.ts +144 -47
- package/src/core/codemirror/find-replace/search-highlight.ts +8 -3
- package/src/core/codemirror/language/languages/sql/__tests__/renderers.test.tsx +44 -0
- package/src/core/codemirror/language/languages/sql/renderers.tsx +3 -3
- package/src/core/codemirror/theme/__tests__/light.test.ts +59 -123
- package/src/core/codemirror/theme/dark.ts +6 -5
- package/src/core/codemirror/theme/light.ts +6 -4
- package/src/core/config/__tests__/config-schema.test.ts +2 -0
- package/src/core/config/config-schema.ts +1 -0
- package/src/core/config/feature-flag.tsx +0 -2
- package/src/core/dom/outline.ts +25 -2
- package/src/core/hotkeys/hotkeys.ts +2 -0
- package/src/core/mode.ts +11 -9
- package/src/core/network/__tests__/api.test.ts +132 -17
- package/src/core/network/__tests__/export-filename.test.ts +43 -0
- package/src/core/network/__tests__/requests-lazy.test.ts +1 -0
- package/src/core/network/api.ts +47 -12
- package/src/core/network/export-filename.ts +37 -0
- package/src/core/network/markdown-export.ts +19 -0
- package/src/core/network/requests-network.ts +29 -5
- package/src/core/network/types.ts +4 -0
- package/src/core/storage/types.ts +1 -0
- package/src/css/app/codemirror.css +11 -7
- package/src/css/globals.css +8 -0
- package/src/plugins/impl/DataEditorPlugin.tsx +2 -9
- package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +18 -0
- package/src/plugins/impl/chat/chat-ui.tsx +51 -3
- package/src/plugins/impl/data-frames/__tests__/schema.test.ts +30 -0
- package/src/plugins/impl/data-frames/schema.ts +4 -1
- package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +20 -1
- package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +58 -0
- package/src/stories/theme.stories.tsx +71 -1
- package/dist/_baseUniq-B_2Hw7zG.js +0 -380
- package/dist/apl-e1B5LPEL.js +0 -4
- package/dist/architecture-7HQA4BMR-DHUrQjL4.js +0 -6
- package/dist/asciiarmor-B-gwgesP.js +0 -4
- package/dist/asn1-DF2ckRB4.js +0 -4
- package/dist/assets/__vite-browser-external-DltVXDv7.js +0 -1
- package/dist/blockDiagram-VD42YOAC-CIOjvxeD.js +0 -3131
- package/dist/brainfuck-4G-7_gq_.js +0 -4
- package/dist/chat-ui-DsZJj75A.js +0 -8369
- package/dist/chunk-55IACEB6-7h71GwyW.js +0 -8
- package/dist/chunk-ABZYJK2D-BxBDji1u.js +0 -2438
- package/dist/chunk-BNovOVIE.js +0 -28
- package/dist/chunk-CVBHYZKI-CwazXVlJ.js +0 -13
- package/dist/chunk-DR5Q36YT-5Yp2GWwR.js +0 -137
- package/dist/chunk-EXTU4WIE-BQPBhApE.js +0 -10
- package/dist/chunk-JZLCHNYA-DWIR9m5O.js +0 -4901
- package/dist/chunk-N4CR4FBY-Bw2HcMNc.js +0 -65
- package/dist/chunk-QXUST7PY-DtC2t9Mk.js +0 -498
- package/dist/chunk-TCCFYFTB-DPWJa9zL.js +0 -13948
- package/dist/chunk-TZMSLE5B-BzSHcq-K.js +0 -63
- package/dist/classDiagram-2ON5EDUG-BiQPjMNY.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-YHdR8fqM.js +0 -30
- package/dist/clojure-CUybM11R.js +0 -4
- package/dist/clone-Q4Fqwn6q.js +0 -9
- package/dist/cmake-BPjGcuDL.js +0 -4
- package/dist/cobol-BETk_nb6.js +0 -4
- package/dist/coffeescript-CManZxXL.js +0 -4
- package/dist/commonlisp-DWkn7GW8.js +0 -4
- package/dist/crystal-CCbg5EUH.js +0 -4
- package/dist/css-By8eo-XS.js +0 -4
- package/dist/cypher-DwfHg3nP.js +0 -4
- package/dist/d-Brs1wNbw.js +0 -4
- package/dist/dagre-6UL2VRFP-DpYjBqQs.js +0 -296
- package/dist/diagram-QEK2KX5R-DVlUOgs1.js +0 -228
- package/dist/diff-DJIRmJ1g.js +0 -4
- package/dist/dist-5o9uz19x.js +0 -5
- package/dist/dist-BpDH0DEP.js +0 -5
- package/dist/dist-BpXhbQXO.js +0 -8
- package/dist/dist-ByadAk_L.js +0 -5
- package/dist/dist-CK0g7JvP.js +0 -8
- package/dist/dist-CfzCtiq2.js +0 -5
- package/dist/dist-D8JtVFrW.js +0 -8
- package/dist/dist-DK2Oocpu.js +0 -6
- package/dist/dist-DnSu977r.js +0 -5
- package/dist/dist-UmxJm6sW.js +0 -8
- package/dist/dist-aYSBQSyM.js +0 -5
- package/dist/dist-kkZ1Ztlh.js +0 -6
- package/dist/dist-ngPczwNi.js +0 -5
- package/dist/dist-wQRyxyTV.js +0 -5
- package/dist/dtd-Dyiazv4N.js +0 -4
- package/dist/dylan-D8Fcw7NA.js +0 -4
- package/dist/ecl-CjKp8Vii.js +0 -4
- package/dist/eiffel-K9ViOX5r.js +0 -4
- package/dist/elm-B5NVtRco.js +0 -4
- package/dist/erlang-BnLzgk7R.js +0 -4
- package/dist/factor-C7f9Jz5R.js +0 -4
- package/dist/flatten-Bbw7g6-K.js +0 -8
- package/dist/forth-rGM8jLao.js +0 -4
- package/dist/fortran-B3acSe0i.js +0 -4
- package/dist/ganttDiagram-JELNMOA3-CXXCN7LN.js +0 -2170
- package/dist/gas-Bb1Vmv_N.js +0 -4
- package/dist/gherkin-C9Lyidgd.js +0 -4
- package/dist/gitGraphDiagram-V2S2FVAM-BOlkMSqK.js +0 -652
- package/dist/graphlib-Ns7y5crs.js +0 -359
- package/dist/groovy-DQk6XcGH.js +0 -4
- package/dist/hasIn-Deg7jl_j.js +0 -108
- package/dist/haskell-mV0Vw9gv.js +0 -4
- package/dist/haxe-DqxN89zH.js +0 -5
- package/dist/idl-ya8W561J.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-D3TyKnL_.js +0 -30
- package/dist/javascript-CgqgptVu.js +0 -4
- package/dist/julia-CFQ-HusI.js +0 -4
- package/dist/livescript-D__3TmDo.js +0 -4
- package/dist/lua-Bytcgj_W.js +0 -4
- package/dist/main-B1Jo_8pC.js +0 -4321
- package/dist/mathematica-DJhvVKvl.js +0 -4
- package/dist/mbox-IGHPCjfR.js +0 -4
- package/dist/memoize-BOtf2yFf.js +0 -17
- package/dist/merge-Be1CqGnU.js +0 -222
- package/dist/mermaid-4DMBBIKO-FXbOziy9.js +0 -6
- package/dist/mermaid-hv6IckVw.js +0 -1100
- package/dist/mermaid-parser.core-DoivvxPd.js +0 -54
- package/dist/min-Dtgc8txR.js +0 -38
- package/dist/mirc-tcwvVugm.js +0 -4
- package/dist/mllike-Dx91i62r.js +0 -6
- package/dist/modelica-_SRt-yU5.js +0 -4
- package/dist/mscgen-GZrGS9gt.js +0 -6
- package/dist/mumps-Cv3ygyod.js +0 -4
- package/dist/nsis-BU7GeGbI.js +0 -4
- package/dist/ntriples-CL-FCYXb.js +0 -4
- package/dist/octave-Dc6_3DIu.js +0 -4
- package/dist/oz-DpUAJCXf.js +0 -4
- package/dist/pascal-B17mncXs.js +0 -4
- package/dist/perl-BTpK97q9.js +0 -4
- package/dist/pick-D1Qo8s2C.js +0 -43
- package/dist/pieDiagram-ADFJNKIX-JvXG_6hk.js +0 -170
- package/dist/pig-CFb638Ap.js +0 -4
- package/dist/powershell-Cxo-_2A5.js +0 -4
- package/dist/properties-BPgT1xTB.js +0 -4
- package/dist/protobuf-BgHBaIIK.js +0 -4
- package/dist/pug-25-oS0SG.js +0 -4
- package/dist/puppet-DarIr20S.js +0 -4
- package/dist/python-BqmOsBsi.js +0 -4
- package/dist/q-D3QJCTup.js +0 -4
- package/dist/r-Cz_yBX4z.js +0 -4
- package/dist/rpm-DGOtYwAI.js +0 -5
- package/dist/ruby-DBZu4rPc.js +0 -4
- package/dist/sankeyDiagram-TZEHDZUN-DgkF38jx.js +0 -892
- package/dist/sas-Dd1D9qTq.js +0 -4
- package/dist/scheme-BmDjvTHX.js +0 -4
- package/dist/sequenceDiagram-WL72ISMW-BDmx9n95.js +0 -3652
- package/dist/shell-BL8zFSaj.js +0 -4
- package/dist/sieve-BAx2WqUP.js +0 -4
- package/dist/smalltalk-CYRzF7VV.js +0 -4
- package/dist/sparql-YWaDRO4A.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-C3xqeavR.js +0 -29
- package/dist/stex-B5O-env2.js +0 -4
- package/dist/stylus-lYsyLFc1.js +0 -4
- package/dist/swift-ClQz9z1n.js +0 -4
- package/dist/tcl-B3jhsfqY.js +0 -4
- package/dist/textile-Cb1Dw7Aq.js +0 -4
- package/dist/timeline-definition-IT6M3QCI-CkD_trIn.js +0 -856
- package/dist/toml-nHZhetdO.js +0 -4
- package/dist/troff-DuJAGWKH.js +0 -4
- package/dist/ttcn-BxrcwP21.js +0 -4
- package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
- package/dist/turtle-zCq949as.js +0 -4
- package/dist/vb-De5hElus.js +0 -4
- package/dist/vbscript-Cypcpv4F.js +0 -4
- package/dist/velocity-Di7l-yhe.js +0 -4
- package/dist/verilog-Bzi-S3g2.js +0 -4
- package/dist/vhdl-B0ZZITaW.js +0 -4
- package/dist/webidl-0sviiRcN.js +0 -4
- package/dist/xquery-B4qMVWaB.js +0 -4
- package/dist/yacas-Jt25Fuv8.js +0 -4
- package/dist/z80-CrcbYzmp.js +0 -4
- /package/dist/{apl-99A7dLQe.js → apl-CMUKiT2b.js} +0 -0
- /package/dist/{array-O78LT16Y.js → array-CEIRxyh3.js} +0 -0
- /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-C_r6K6db.js} +0 -0
- /package/dist/{asn1-CMrcTsT4.js → asn1-DnlnCQTu.js} +0 -0
- /package/dist/{asterisk-CqykImq7.js → asterisk-DaVJJDnV.js} +0 -0
- /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-CtQoQVkV.js} +0 -0
- /package/dist/{clike-CE0fXfM_.js → clike-CIAs0ABt.js} +0 -0
- /package/dist/{clojure-QkBEMU-g.js → clojure-C6tKQYjD.js} +0 -0
- /package/dist/{cmake-CU1jX7Mo.js → cmake-D-nfcg14.js} +0 -0
- /package/dist/{cobol-DMOKzzky.js → cobol-DYTC58p9.js} +0 -0
- /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-DctDWA58.js} +0 -0
- /package/dist/{colors-DmiH1bIH.js → colors-DR_aHfmQ.js} +0 -0
- /package/dist/{common-keywords-D3nPJNQP.js → common-keywords-FBrXPTcz.js} +0 -0
- /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-BmvTqU5y.js} +0 -0
- /package/dist/{crystal-Dy55yoYG.js → crystal-BPIK2UMa.js} +0 -0
- /package/dist/{css-CNU8w3HJ.js → css-CDo_Lwzn.js} +0 -0
- /package/dist/{cypher-q47DGzK7.js → cypher-KztbD63v.js} +0 -0
- /package/dist/{d-jEkaLvxX.js → d-HXBWOoe9.js} +0 -0
- /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-DMZFeDB8.js} +0 -0
- /package/dist/{diff-vb2-unFN.js → diff-B9rWZH0m.js} +0 -0
- /package/dist/{dtd-C9kR-bXa.js → dtd-LtAMP5y8.js} +0 -0
- /package/dist/{duckdb-keywords-B6HYCMOT.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
- /package/dist/{dylan-BLckrK-V.js → dylan-DXMK92pf.js} +0 -0
- /package/dist/{ebnf-Cnp3L9jg.js → ebnf-2D4Ctp3y.js} +0 -0
- /package/dist/{ecl-CEsf6XVg.js → ecl-Dqq8ser2.js} +0 -0
- /package/dist/{eiffel-2KGZNzx6.js → eiffel-ChExWBDx.js} +0 -0
- /package/dist/{elm-D2s3K5wF.js → elm-BMBz2xbZ.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DdVSF4FD.js → emotion-is-prop-valid.esm-_z-EwK5u.js} +0 -0
- /package/dist/{erlang-0PMFOndk.js → erlang-CGSDzg9P.js} +0 -0
- /package/dist/{fcl-D9nccAWI.js → fcl-Ccj8Z5Xd.js} +0 -0
- /package/dist/{forth-DG89iUsu.js → forth-vTkfR0aY.js} +0 -0
- /package/dist/{fortran-ytKsAVvu.js → fortran-CF4LAVFn.js} +0 -0
- /package/dist/{gas-Cg2Fm0N2.js → gas-mMFbQ2x4.js} +0 -0
- /package/dist/{gherkin-B87FEnZ-.js → gherkin-DLS1q0XM.js} +0 -0
- /package/dist/{groovy-Dcs08AWD.js → groovy-Zt6CNPxV.js} +0 -0
- /package/dist/{haskell-cwkOuhx6.js → haskell-kVOgzpVy.js} +0 -0
- /package/dist/{haxe-DWEo4q10.js → haxe-Bo21F6gc.js} +0 -0
- /package/dist/{http-B8jdG64J.js → http-_DVAYWoR.js} +0 -0
- /package/dist/{idl-WWQwDcRV.js → idl-B865GSM-.js} +0 -0
- /package/dist/{init-DNBbYZd_.js → init-TaqZJsBY.js} +0 -0
- /package/dist/{invariant-wRzNXIsJ.js → invariant-hOqqBz8A.js} +0 -0
- /package/dist/{javascript-BeR74dxD.js → javascript-CSLuHpxZ.js} +0 -0
- /package/dist/{julia-UlvCUYGL.js → julia-BCOLeQif.js} +0 -0
- /package/dist/{livescript-GPmFcmYV.js → livescript-DqUzLZFs.js} +0 -0
- /package/dist/{lua-DYoT_0zM.js → lua-D0ciLwkO.js} +0 -0
- /package/dist/{math-CBNc2Ib0.js → math-CTnb-N1W.js} +0 -0
- /package/dist/{mathematica-DSFIQlbG.js → mathematica-DujD1RDf.js} +0 -0
- /package/dist/{mbox-ej8lFMdL.js → mbox-8OkSQMDn.js} +0 -0
- /package/dist/{mirc-CAdIdvHQ.js → mirc-D47x8yRQ.js} +0 -0
- /package/dist/{mllike-CjTB1lHF.js → mllike-Dcfw-g6D.js} +0 -0
- /package/dist/{modelica-BB68FYMa.js → modelica-BHtr9gKR.js} +0 -0
- /package/dist/{mscgen-BkbzgGGI.js → mscgen-uZedQc_A.js} +0 -0
- /package/dist/{mumps-Cu-28E9F.js → mumps-Bc9QS1-K.js} +0 -0
- /package/dist/{nginx-C1ofKPst.js → nginx-DasThI7R.js} +0 -0
- /package/dist/{ntriples-D9cQiZxZ.js → ntriples-Clpn9Mrg.js} +0 -0
- /package/dist/{objects-De59twF-.js → objects-UzwQd5gx.js} +0 -0
- /package/dist/{octave-BvtAnPX0.js → octave-DA2esRWi.js} +0 -0
- /package/dist/{oz-COaVHk2E.js → oz-D8i-brWx.js} +0 -0
- /package/dist/{pascal-BFpqVD2x.js → pascal-Dt1a0CeN.js} +0 -0
- /package/dist/{path-DwWbhZFI.js → path-7gr7eZmp.js} +0 -0
- /package/dist/{perl-DaiORxHP.js → perl-CXy9EfRp.js} +0 -0
- /package/dist/{pig-DFzRhmsF.js → pig-DnXnrjQg.js} +0 -0
- /package/dist/{powershell-BG2LQNKN.js → powershell-BYE6u-Qk.js} +0 -0
- /package/dist/{properties-CqJJR5QY.js → properties-DlhyusaK.js} +0 -0
- /package/dist/{protobuf-WwDYV1yY.js → protobuf-DoMSrsPi.js} +0 -0
- /package/dist/{puppet-QNY3w_uN.js → puppet-DGi4idFA.js} +0 -0
- /package/dist/{python-4QrQ3Ugi.js → python-CYhALYh0.js} +0 -0
- /package/dist/{q-DhwXuxE2.js → q-Cs_qWJkU.js} +0 -0
- /package/dist/{r-Df-nkR25.js → r-DWJSQl1c.js} +0 -0
- /package/dist/{range-BOiA8qqU.js → range-Bieq5MNc.js} +0 -0
- /package/dist/{rpm-Cokue07s.js → rpm-DIip1m0n.js} +0 -0
- /package/dist/{ruby-DrYcL3qF.js → ruby-NgZGoa7Q.js} +0 -0
- /package/dist/{sas-CoiPirA5.js → sas-DEKzCzM2.js} +0 -0
- /package/dist/{scheme-CwFLjzHv.js → scheme-CBrGar2n.js} +0 -0
- /package/dist/{semaphore-C8rmHdhj.js → semaphore-P832H4YT.js} +0 -0
- /package/dist/{shell-BFV-R24I.js → shell-D7XFPOM_.js} +0 -0
- /package/dist/{sieve-CxwXF5T9.js → sieve-BOxOVQ18.js} +0 -0
- /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-D-FXBgPn.js} +0 -0
- /package/dist/{smalltalk-QivVOCtX.js → smalltalk-DYK-HkUK.js} +0 -0
- /package/dist/{solr-BLvysN-c.js → solr-RZ9uTl59.js} +0 -0
- /package/dist/{sparql-nKsFk8j7.js → sparql-CU1uk9Py.js} +0 -0
- /package/dist/{spreadsheet-BWc8C2FT.js → spreadsheet-BNNUNXA2.js} +0 -0
- /package/dist/{sql-CWfUjlV1.js → sql-B4x8IkwU.js} +0 -0
- /package/dist/{stex-DtMAhV4-.js → stex-DIvyJfNO.js} +0 -0
- /package/dist/{stylus-BLKQAycn.js → stylus-BokZhKWB.js} +0 -0
- /package/dist/{swift-CJoKqiKj.js → swift-TlA42tbT.js} +0 -0
- /package/dist/{tcl-YTeYFNUc.js → tcl-C-m7N_9k.js} +0 -0
- /package/dist/{textile-C6rKQqMQ.js → textile-BWOWG894.js} +0 -0
- /package/dist/{tiddlywiki-ZXwTHGNT.js → tiddlywiki-DI0mF2WJ.js} +0 -0
- /package/dist/{tiki-C628O_u4.js → tiki-2HU6XLLn.js} +0 -0
- /package/dist/{toml-DxlPGbRy.js → toml-GapOS-6U.js} +0 -0
- /package/dist/{treemap-DY3NBr79.js → treemap-CQJ0bIDy.js} +0 -0
- /package/dist/{troff-DFCfH7Ku.js → troff-ChPXSGgg.js} +0 -0
- /package/dist/{ttcn-DAW-ERVP.js → ttcn-CGf_ktUb.js} +0 -0
- /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-E0kw_vEm.js} +0 -0
- /package/dist/{turtle-BneV2f8L.js → turtle-DDIYttZr.js} +0 -0
- /package/dist/{vb-D973Vxxh.js → vb-DsGz8YA-.js} +0 -0
- /package/dist/{vbscript-Dckaq3YO.js → vbscript-BfQcpKZn.js} +0 -0
- /package/dist/{velocity-DKty-GUC.js → velocity-BMi53hPb.js} +0 -0
- /package/dist/{verilog-aNaK_biA.js → verilog-B_WDxmCB.js} +0 -0
- /package/dist/{vhdl-CQuehnQy.js → vhdl-C52-TT0z.js} +0 -0
- /package/dist/{webidl-Bhg8vaMr.js → webidl-Cnphjlul.js} +0 -0
- /package/dist/{xquery-D2q16GaM.js → xquery-X_kWyOft.js} +0 -0
- /package/dist/{yacas-DHGOHnNa.js → yacas-Dpp9zAZ5.js} +0 -0
- /package/dist/{z80-BPhTmO22.js → z80-BZLZAthF.js} +0 -0
package/dist/main.js
CHANGED
|
@@ -17,66 +17,65 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
17
17
|
return __privateGet(obj, member, getter);
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
import {
|
|
21
|
-
import { _ as Functions, c as useEventListener, f as composeRefs, g as Logger, h as cn, i as NOT_SET, l as Slot, m as Events, n as buttonVariants, o as isPlatformMac, p as useComposedRefs, r as cva, t as Button, v as throwNotImplemented } from "./button-
|
|
22
|
-
import { t as require_react } from "./react-
|
|
23
|
-
import { t as require_compiler_runtime } from "./compiler-runtime-
|
|
24
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
25
|
-
import { $ as notebookOutline, $t as
|
|
26
|
-
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-
|
|
27
|
-
import { o as useSize, s as Root$1, u as createLucideIcon } from "./dist-
|
|
28
|
-
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS
|
|
29
|
-
import { $ as CommandSeparator, $t as Kbd, A as ErrorState, At as getPageIndexForRow, B as ContextMenuTrigger, Bt as dateToLocalISODate, C as downloadHTMLAsImage, Ct as inferFieldTypes, D as ColumnName, Dt as DelayMount, E as downloadSizeLimitAtom, Et as ColumnChartSpecModel, F as getUserColumnVisibilityCounts, Ft as TOO_MANY_ROWS, G as DateRangePicker, Gt as TabsList, H as useSelectList, Ht as dateToLocalISOTime, I as ContextMenu, It as toFieldTypes, J as Command, Jt as ChartInfoState, K as Combobox, Kt as TabsTrigger, L as ContextMenuContent, Lt as getMimeValues, M as prettifyRowColumnCount, Mt as loadTableData, N as prettifyRowCount, Nt as INDEX_COLUMN_NAME, O as ColumnPreviewContainer, Ot as useIntersectionObserver, P as getColumnCountForDisplay, Pt as SELECT_COLUMN_ID, Q as CommandList, Qt as RenderTextWithLinks, R as ContextMenuItem, Rt as isNullishFilter, S as downloadExportedFile, St as generateColumns, T as Filenames, Tt as ColumnChartContext, U as CompactChipRow, Ut as Tabs, V as useInternalStateWithSync, Vt as dateToLocalISODateTime, W as DatePicker, Wt as TabsContent, X as CommandInput, Xt as LazyVegaEmbed, Y as CommandEmpty, Yt as ChartLoadingState, Z as CommandItem, Zt as useOverflowDetection, _ as DataTable, _n as ChevronLeft, _t as TableCell, an as TextWrap, at as contextAwarePanelType, b as downloadBlob, bt as TableRow, c as SLIDE_TYPE_OPTIONS_BY_VALUE, cn as EyeOff, ct as slotsController, d as Switch, dn as Download, en as HtmlOutput, et as smartMatch, f as RadioGroup, fn as Code, g as OutputRenderer, gn as ChevronsDownUp, gt as TableBody, h as OutputArea, hn as ChevronsLeft, ht as Table, i as showCodeInRunModeAtom, in as $fae977aafc393c5c$export$6b862160d295c8e, it as contextAwarePanelOwner, j as LoadingState, jt as loadTableAndRawData, k as EmptyState, kt as usePrevious$1, lt as Toggle, m as JsonOutput, mn as ChevronsRight, mt as Provider$1, n as useNotebookCodeAvailable, nn as safeLocale, nt as PANEL_TYPES, on as GripHorizontal, ot as isCellAwareAtom, p as RadioGroupItem, pn as ChevronsUpDown, pt as Fill, q as ComboboxItem, qt as ChartErrorState, r as marimoVersionAtom, rn as $fae977aafc393c5c$export$588937bcd60ade55, rt as contextAwarePanelOpen, sn as Funnel, st as SlotNames, t as cellDomProps, tn as EmotionCacheProvider, tt as ContextAwarePanelItem, u as Slide, un as Ellipsis, v as InstallPackageButton, vn as ArrowDownWideNarrow, vt as TableHead, w as Progress, wt as renderCellValue, x as downloadByURL, xt as NAMELESS_COLUMN_PREFIX, y as ADD_PRINTING_CLASS, yt as TableHeader, z as ContextMenuSeparator, zt as Maps, __tla as __tla_2 } from "./common-
|
|
30
|
-
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-
|
|
31
|
-
import { t as Check } from "./check-
|
|
32
|
-
import { A as Icon, C as logNever, D as $18f2051aff69b9bf$export$a54013f0d02a8f82, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, M as clamp$2, N as usePrevious$2, P as useDirection, R as ChevronDown, S as assertNever, a as SelectGroup, c as SelectSeparator, d as NativeSelect, i as SelectContent, j as Trigger$1, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-
|
|
33
|
-
import { B as $64fa3d84918910a7$export$4d86445c2cf5e3, C as DropdownMenuTrigger, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, It as $3ef42575df84b30b$export$9d1611c77c2fe928, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, X as useDebouncedCallback, Y as useDebounceControlledState, a as NumberField, d as roundToFractionDigits, f as DropdownMenu, g as DropdownMenuLabel, gn as ChevronRight, h as DropdownMenuItem, hn as Circle, i as OnBlurredInput, l as prettyNumber, m as DropdownMenuGroup, n as DebouncedNumberInput, o as maxFractionDigitsForSteps, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pt as $6179b936705e76d3$export$ae780daf29e6d456, r as Input, st as $701a24aa0da5b062$export$ea18c227d4417cc3, t as DebouncedInput, u as prettyScientificNumber, v as DropdownMenuSeparator, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, y as DropdownMenuShortcut, z as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./input-
|
|
34
|
-
import { S as isWasm, _ as initialModeAtom, b as viewStateAtom, c as asRemoteURL, d as isStaticNotebook, f as appendQueryParams, g as getInitialAppMode, m as require_cuid2, u as getStaticVirtualFiles, v as kioskModeAtom, w as CircleQuestionMark, x as Deferred } from "./toDate-
|
|
35
|
-
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent, f as Square, i as PythonIcon, l as createInputEvent, n as blobToString, o as MarimoValueInputEvent, p as File, r as filesToBase64, s as MarimoValueReadyEvent, t as processOutput, u as deserializeBlob } from "./process-output-
|
|
36
|
-
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-
|
|
37
|
-
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-
|
|
38
|
-
import { t as require_react_dom } from "./react-dom-
|
|
39
|
-
import { t as require_jsx_runtime } from "./jsx-runtime-
|
|
40
|
-
import { $ as
|
|
41
|
-
import { i as FunctionNotFoundError, n as ErrorBanner, r as CellNotInitializedError, t as Banner } from "./error-banner-
|
|
42
|
-
import { t as Label } from "./label-
|
|
43
|
-
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-
|
|
44
|
-
import { f as CopyClipboardIcon } from "./extends-
|
|
45
|
-
import { a as get_default } from "./hasIn-
|
|
46
|
-
import { n as _baseSet_default, t as pick_default } from "./pick-
|
|
47
|
-
import { t as debounce_default } from "./debounce-
|
|
48
|
-
import { A as useEvent_default, S as useAtomValue, T as atom, a as KnownQueryParams, b as Provider, c as autoInstantiateAtom, f as useResolvedMarimoConfig, g as store, k as dequal, m as AppConfigSchema, n as useTheme, r as CSSClasses, u as localeAtom, x as useAtom, y as isIslands } from "./useTheme-
|
|
49
|
-
import { $ as EditorView, F as syntaxHighlighting, H as tags, a as HighlightStyle, g as defaultHighlightStyle } from "./dist-
|
|
50
|
-
import { t as invariant } from "./invariant-
|
|
51
|
-
import { c as uniqueBy, l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-
|
|
52
|
-
import { t as Objects } from "./objects-
|
|
53
|
-
import { n as once } from "./once-
|
|
54
|
-
import "./
|
|
55
|
-
import {
|
|
56
|
-
import
|
|
57
|
-
import "./dist-
|
|
58
|
-
import "./dist-
|
|
59
|
-
import "./dist-
|
|
60
|
-
import {
|
|
61
|
-
import
|
|
62
|
-
import "./
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import
|
|
66
|
-
import "./defaultLocale-
|
|
67
|
-
import "./
|
|
68
|
-
import { t as
|
|
69
|
-
import
|
|
70
|
-
import "./dist-
|
|
71
|
-
import "./dist-
|
|
72
|
-
import "./dist-
|
|
73
|
-
import "./dist-
|
|
74
|
-
import "./dist-
|
|
75
|
-
import "./dist-
|
|
76
|
-
import "./dist-
|
|
77
|
-
import "./dist-
|
|
78
|
-
import "./
|
|
79
|
-
import { t as langs } from "./esm-DKOv6P2M.js";
|
|
20
|
+
import { i as __toCommonJS, n as __esmMin, o as __toESM, r as __export, t as __commonJSMin } from "./chunk-Bfp04NdC.js";
|
|
21
|
+
import { _ as Functions, c as useEventListener, f as composeRefs, g as Logger, h as cn, i as NOT_SET, l as Slot, m as Events, n as buttonVariants, o as isPlatformMac, p as useComposedRefs, r as cva, t as Button, v as throwNotImplemented } from "./button-Dr2uAwhT.js";
|
|
22
|
+
import { t as require_react } from "./react-DhGsCS90.js";
|
|
23
|
+
import { t as require_compiler_runtime } from "./compiler-runtime-DsR6imPN.js";
|
|
24
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-C7ZKMKox.js";
|
|
25
|
+
import { $ as notebookOutline, $t as isUninstantiated, A as ChevronDownIcon, An as Item$1, At as DeferredRequestRegistry, Bn as Layers, C as Accordion, Ct as MarkdownLanguageAdapter, D as BorderAllIcon, E as AccordionTrigger, En as selectAtom, Et as Paths, Fn as Table2, G as hasRunAnyCellAtom, Gn as Database, Gt as require_client, H as renderHTML, Hn as FileText, Ht as DATA_TYPE_ICON, I as base64ToDataView, In as PaintRoller, Jn as CircleAlert, K as cellIdsAtom, Kn as Columns2, Lt as repl, Mn as Trigger2, Pn as Trash2, Pt as jotaiJsonStorage, Q as notebookAtom, Qt as useRequestClient, R as dataViewToBase64, Rt as SQLParser, Sn as jsonParseWithSpecialChar, St as isRecord, T as AccordionItem, Tn as atomWithStorage, Tt as PathBuilder, U as getMarimoExportContext, Un as Eye, V as safeExtractSetUIElementMessageBuffers, Vn as Info, Vt as PluralWords, W as hasTrustedExportContext, X as hasOnlyOneCellAtom, Xt as getRequestClient, Y as getCellNames, Yn as Braces, Yt as convertStatsName, Z as initialNotebookState, Zt as requestClientAtom, _t as isInternalCellName, a as useCellFocusActions, at as createCell, bn as OBJECT_ID_ATTR, bt as customPythonLanguageSupport, dt as headingToIdentifier, en as publishedCellClasses, et as numColumnsAtom, f as isOutputEmpty, fn as parseAttrValue, gn as HTMLCellId, gt as getValidName, i as LazyAnyLanguageCodeMirror, jn as Root2$1, jt as generateUUID, kn as Content2, ln as NotebookScopedLocalStorage, lt as outputIsLoading, mn as parseInitialValue, n as Spinner, nt as useCellActions, o as useLastFocusedCellId, p as useExpandedConsoleOutput, pn as parseDataset, q as createActions, rt as useCellIds, s as maybeAddAltairImport, tn as shouldHidePublishedCell, tt as reducer, ut as outputIsStale, vn as UIElementId, vt as normalizeName, w as AccordionContent, wn as atomWithReducer, xn as RANDOM_ID_ATTR, xt as hasFunctionProperty, yn as findCellId, yt as Checkbox, zn as LoaderCircle, zt as MarkdownParser, __tla as __tla_0 } from "./html-to-image-BOiFHx3u.js";
|
|
26
|
+
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-BRZ_XYUw.js";
|
|
27
|
+
import { o as useSize, s as Root$1, u as createLucideIcon } from "./dist-j30bBjjN.js";
|
|
28
|
+
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as ChartColumn, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-BL1GSUUF.js";
|
|
29
|
+
import { $ as CommandSeparator, $t as Kbd, A as ErrorState, At as getPageIndexForRow, B as ContextMenuTrigger, Bt as dateToLocalISODate, C as downloadHTMLAsImage, Ct as inferFieldTypes, D as ColumnName, Dt as DelayMount, E as downloadSizeLimitAtom, Et as ColumnChartSpecModel, F as getUserColumnVisibilityCounts, Ft as TOO_MANY_ROWS, G as DateRangePicker, Gt as TabsList, H as useSelectList, Ht as dateToLocalISOTime, I as ContextMenu, It as toFieldTypes, J as Command, Jt as ChartInfoState, K as Combobox, Kt as TabsTrigger, L as ContextMenuContent, Lt as getMimeValues, M as prettifyRowColumnCount, Mt as loadTableData, N as prettifyRowCount, Nt as INDEX_COLUMN_NAME, O as ColumnPreviewContainer, Ot as useIntersectionObserver, P as getColumnCountForDisplay, Pt as SELECT_COLUMN_ID, Q as CommandList, Qt as RenderTextWithLinks, R as ContextMenuItem, Rt as isNullishFilter, S as downloadExportedFile, St as generateColumns, T as Filenames, Tt as ColumnChartContext, U as CompactChipRow, Ut as Tabs, V as useInternalStateWithSync, Vt as dateToLocalISODateTime, W as DatePicker, Wt as TabsContent, X as CommandInput, Xt as LazyVegaEmbed, Y as CommandEmpty, Yt as ChartLoadingState, Z as CommandItem, Zt as useOverflowDetection, _ as DataTable, _n as ChevronLeft, _t as TableCell, an as TextWrap, at as contextAwarePanelType, b as downloadBlob, bt as TableRow, c as SLIDE_TYPE_OPTIONS_BY_VALUE, cn as EyeOff, ct as slotsController, d as Switch, dn as Download, en as HtmlOutput, et as smartMatch, f as RadioGroup, fn as Code, g as OutputRenderer, gn as ChevronsDownUp, gt as TableBody, h as OutputArea, hn as ChevronsLeft, ht as Table, i as showCodeInRunModeAtom, in as $fae977aafc393c5c$export$6b862160d295c8e, it as contextAwarePanelOwner, j as LoadingState, jt as loadTableAndRawData, k as EmptyState, kt as usePrevious$1, lt as Toggle, m as JsonOutput, mn as ChevronsRight, mt as Provider$1, n as useNotebookCodeAvailable, nn as safeLocale, nt as PANEL_TYPES, on as GripHorizontal, ot as isCellAwareAtom, p as RadioGroupItem, pn as ChevronsUpDown, pt as Fill, q as ComboboxItem, qt as ChartErrorState, r as marimoVersionAtom, rn as $fae977aafc393c5c$export$588937bcd60ade55, rt as contextAwarePanelOpen, sn as Funnel, st as SlotNames, t as cellDomProps, tn as EmotionCacheProvider, tt as ContextAwarePanelItem, u as Slide, un as Ellipsis, v as InstallPackageButton, vn as ArrowDownWideNarrow, vt as TableHead, w as Progress, wt as renderCellValue, x as downloadByURL, xt as NAMELESS_COLUMN_PREFIX, y as ADD_PRINTING_CLASS, yt as TableHeader, z as ContextMenuSeparator, zt as Maps, __tla as __tla_2 } from "./common-DV4qU2ew.js";
|
|
30
|
+
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-Bw4wRj_O.js";
|
|
31
|
+
import { t as Check } from "./check-58HHfHKy.js";
|
|
32
|
+
import { A as Icon, C as logNever, D as $18f2051aff69b9bf$export$a54013f0d02a8f82, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, M as clamp$2, N as usePrevious$2, P as useDirection, R as ChevronDown, S as assertNever, a as SelectGroup, c as SelectSeparator, d as NativeSelect, i as SelectContent, j as Trigger$1, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-DMLVGXRo.js";
|
|
33
|
+
import { B as $64fa3d84918910a7$export$4d86445c2cf5e3, C as DropdownMenuTrigger, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, It as $3ef42575df84b30b$export$9d1611c77c2fe928, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, X as useDebouncedCallback, Y as useDebounceControlledState, a as NumberField, d as roundToFractionDigits, f as DropdownMenu, g as DropdownMenuLabel, gn as ChevronRight, h as DropdownMenuItem, hn as Circle, i as OnBlurredInput, l as prettyNumber, m as DropdownMenuGroup, n as DebouncedNumberInput, o as maxFractionDigitsForSteps, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pt as $6179b936705e76d3$export$ae780daf29e6d456, r as Input, st as $701a24aa0da5b062$export$ea18c227d4417cc3, t as DebouncedInput, u as prettyScientificNumber, v as DropdownMenuSeparator, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, y as DropdownMenuShortcut, z as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./input-BRE2a7Ay.js";
|
|
34
|
+
import { S as isWasm, _ as initialModeAtom, b as viewStateAtom, c as asRemoteURL, d as isStaticNotebook, f as appendQueryParams, g as getInitialAppMode, m as require_cuid2, u as getStaticVirtualFiles, v as kioskModeAtom, w as CircleQuestionMark, x as Deferred } from "./toDate-BGM7kFtQ.js";
|
|
35
|
+
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent, f as Square, i as PythonIcon, l as createInputEvent, n as blobToString, o as MarimoValueInputEvent, p as File, r as filesToBase64, s as MarimoValueReadyEvent, t as processOutput, u as deserializeBlob } from "./process-output-HrsM52f8.js";
|
|
36
|
+
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-DT8UHI5w.js";
|
|
37
|
+
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-BniTEhHn.js";
|
|
38
|
+
import { t as require_react_dom } from "./react-dom-CmENFV8Q.js";
|
|
39
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dp_oQwaf.js";
|
|
40
|
+
import { $ as StyleNamespace, A as looseObject, B as unknown, C as any, E as custom, F as optional, G as parseAsync, H as ZodError, I as record, K as $ZodError, L as string, N as number, O as lazy$2, P as object, Q as isInVscodeExtension, R as tuple, S as _null, T as boolean, W as parse$1, X as withFullScreenAsRoot, _ as ZodString, _t as Primitive, a as ZodIssueCode, b as _enum, c as ZodBoolean, d as ZodDiscriminatedUnion, dt as Presence, f as ZodEnum, ft as useControllableState, g as ZodOptional, gt as createContextScope, h as ZodObject, i as string$1, j as nan, k as literal, l as ZodDate, lt as useCallbackRef, m as ZodNumber, mt as composeEventHandlers$1, n as date, nt as __awaiter, o as ZodAny, p as ZodLiteral, pt as useLayoutEffect2, q as prettifyError, r as number$1, s as ZodArray, st as DismissableLayer, t as zod_default, u as ZodDefault, ut as useId$11, v as ZodType, vt as dispatchDiscreteCustomEvent, w as array, x as _instanceof, y as ZodUnion, z as union } from "./zod-BFY2SnzC.js";
|
|
41
|
+
import { i as FunctionNotFoundError, n as ErrorBanner, r as CellNotInitializedError, t as Banner } from "./error-banner-BwCLtmkH.js";
|
|
42
|
+
import { t as Label } from "./label-CMh2d8pJ.js";
|
|
43
|
+
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-BtUxZT5h.js";
|
|
44
|
+
import { f as CopyClipboardIcon } from "./extends-iFBneQO_.js";
|
|
45
|
+
import { a as get_default } from "./hasIn-synBnXn4.js";
|
|
46
|
+
import { n as _baseSet_default, t as pick_default } from "./pick-CaEWivSF.js";
|
|
47
|
+
import { t as debounce_default } from "./debounce-D784bpms.js";
|
|
48
|
+
import { A as useEvent_default, S as useAtomValue, T as atom, a as KnownQueryParams, b as Provider, c as autoInstantiateAtom, f as useResolvedMarimoConfig, g as store, k as dequal, m as AppConfigSchema, n as useTheme, r as CSSClasses, u as localeAtom, x as useAtom, y as isIslands } from "./useTheme-BzEXeAR5.js";
|
|
49
|
+
import { $ as EditorView, F as syntaxHighlighting, H as tags, a as HighlightStyle, g as defaultHighlightStyle } from "./dist-BJ2IUa0l.js";
|
|
50
|
+
import { t as invariant } from "./invariant-hOqqBz8A.js";
|
|
51
|
+
import { c as uniqueBy, l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-C56grfjL.js";
|
|
52
|
+
import { t as Objects } from "./objects-UzwQd5gx.js";
|
|
53
|
+
import { n as once } from "./once-Boutk_9X.js";
|
|
54
|
+
import { f as sql } from "./dist-D9-ePb6D.js";
|
|
55
|
+
import { a as markdown } from "./dist-Awj73yUw.js";
|
|
56
|
+
import "./dist-72nb8Uag.js";
|
|
57
|
+
import "./dist-CSZpLb9d.js";
|
|
58
|
+
import "./dist-D1vYHETp.js";
|
|
59
|
+
import { r as python } from "./dist-Ckfsc8C3.js";
|
|
60
|
+
import { n as minimalSetup, t as esm_default } from "./esm-QLUgkqzZ.js";
|
|
61
|
+
import "./purify.es-DR5PNXwx.js";
|
|
62
|
+
import { i as AlertTitle, n as Alert, r as AlertDescription } from "./formats-HSfYlcA8.js";
|
|
63
|
+
import { A as getContainerWidth, j as getVegaFieldTypes } from "./vega-loader.browser-CGb-2Kwi.js";
|
|
64
|
+
import { a as tooltipHandler, n as vegaLoadData } from "./loader-DTnbNSVZ.js";
|
|
65
|
+
import "./defaultLocale-CMezyvMc.js";
|
|
66
|
+
import "./defaultLocale-DMZFeDB8.js";
|
|
67
|
+
import { t as useAsyncData } from "./useAsyncData-CDcbh-Qv.js";
|
|
68
|
+
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-Bj6QvwiG.js";
|
|
69
|
+
import "./dist-B_K4AAkc.js";
|
|
70
|
+
import "./dist-iZ8-rtUy.js";
|
|
71
|
+
import "./dist-DiwVZiK7.js";
|
|
72
|
+
import "./dist-DC409ROm.js";
|
|
73
|
+
import "./dist-DJRUd9aM.js";
|
|
74
|
+
import "./dist-B0Ctcrt9.js";
|
|
75
|
+
import "./dist-D_ulymry.js";
|
|
76
|
+
import "./dist-C0ifRfXi.js";
|
|
77
|
+
import "./dist-sxRUVPmt.js";
|
|
78
|
+
import { t as langs } from "./esm-Dusmf6uu.js";
|
|
80
79
|
let canReplaceApp, initialize, stopApp;
|
|
81
80
|
let __tla = Promise.all([
|
|
82
81
|
(() => {
|
|
@@ -7520,10 +7519,10 @@ let __tla = Promise.all([
|
|
|
7520
7519
|
}), B = C({
|
|
7521
7520
|
height: 0,
|
|
7522
7521
|
width: 0
|
|
7523
|
-
}), H = U(), W = U(), G = C(0), q = C(null),
|
|
7522
|
+
}), H = U(), W = U(), G = C(0), q = C(null), ZW = C({
|
|
7524
7523
|
column: 0,
|
|
7525
7524
|
row: 0
|
|
7526
|
-
}),
|
|
7525
|
+
}), Z = U(), QW = U(), $W = C(false), eG = C(0), tG = C(true), nG = C(false), rG = C(false);
|
|
7527
7526
|
Y(x(b, $(eG), P(([e2, r2]) => !!r2)), () => {
|
|
7528
7527
|
D(tG, false);
|
|
7529
7528
|
}), Y(x(ut(b, tG, B, z, eG, nG), P(([e2, r2, c2, l2, , u2]) => e2 && !r2 && c2.height !== 0 && l2.height !== 0 && !u2)), ([, , , , e2]) => {
|
|
@@ -7536,17 +7535,17 @@ let __tla = Promise.all([
|
|
|
7536
7535
|
]), D(tG, true);
|
|
7537
7536
|
});
|
|
7538
7537
|
}), F(x(QW, P((e2) => e2 != null && e2.scrollTop > 0), Ft(0)), L), Y(x(b, $(QW), P(([, e2]) => e2 != null)), ([, e2]) => {
|
|
7539
|
-
e2 && (D(z, e2.viewport), D(B, e2.item), D(
|
|
7538
|
+
e2 && (D(z, e2.viewport), D(B, e2.item), D(ZW, e2.gap), e2.scrollTop > 0 && (D($W, true), Et(x(h, Kt(1)), (e3) => {
|
|
7540
7539
|
D($W, false);
|
|
7541
7540
|
}), D(m, {
|
|
7542
7541
|
top: e2.scrollTop
|
|
7543
7542
|
})));
|
|
7544
|
-
}), F(x(z, k(({ height: e2 }) => e2)), _), F(x(ut(V(z, xe), V(B, xe), V(
|
|
7543
|
+
}), F(x(z, k(({ height: e2 }) => e2)), _), F(x(ut(V(z, xe), V(B, xe), V(ZW, (e2, r2) => e2 && e2.column === r2.column && e2.row === r2.row), V(h)), k(([e2, r2, c2, l2]) => ({
|
|
7545
7544
|
gap: c2,
|
|
7546
7545
|
item: r2,
|
|
7547
7546
|
scrollTop: l2,
|
|
7548
7547
|
viewport: e2
|
|
7549
|
-
}))),
|
|
7548
|
+
}))), Z), F(x(ut(V(I), l, V(ZW, Or), V(B, xe), V(z, xe), V(q), V(L), V($W), V(tG), V(eG)), P(([, , , , , , , e2]) => !e2), k(([e2, [r2, c2], l2, u2, d2, f2, p2, , m2, h2]) => {
|
|
7550
7549
|
let { column: g2, row: _2 } = l2, { height: v2, width: y2 } = u2, { width: b2 } = d2;
|
|
7551
7550
|
if (p2 === 0 && (e2 === 0 || b2 === 0)) return bn;
|
|
7552
7551
|
if (y2 === 0) {
|
|
@@ -7565,7 +7564,7 @@ let __tla = Promise.all([
|
|
|
7565
7564
|
offsetTop: j2,
|
|
7566
7565
|
top: j2
|
|
7567
7566
|
};
|
|
7568
|
-
})), R), F(x(q, P((e2) => e2 !== null), k((e2) => e2.length)), I), F(x(ut(z, B, R,
|
|
7567
|
+
})), R), F(x(q, P((e2) => e2 !== null), k((e2) => e2.length)), I), F(x(ut(z, B, R, ZW), P(([e2, r2, { items: c2 }]) => c2.length > 0 && r2.height !== 0 && e2.height !== 0), k(([e2, r2, { items: c2 }, l2]) => {
|
|
7569
7568
|
let { bottom: u2, top: d2 } = Bn(e2, l2, r2, c2);
|
|
7570
7569
|
return [
|
|
7571
7570
|
d2,
|
|
@@ -7581,7 +7580,7 @@ let __tla = Promise.all([
|
|
|
7581
7580
|
endIndex: e2[e2.length - 1].index,
|
|
7582
7581
|
startIndex: e2[0].index
|
|
7583
7582
|
})), J(An), Gt(0)));
|
|
7584
|
-
F(sG, y.scrollSeekRangeChanged), F(x(H, $(z, B, I,
|
|
7583
|
+
F(sG, y.scrollSeekRangeChanged), F(x(H, $(z, B, I, ZW), k(([e2, r2, c2, l2, u2]) => {
|
|
7585
7584
|
let d2 = $n(e2), { align: f2, behavior: p2, offset: m2 } = d2, h2 = d2.index;
|
|
7586
7585
|
h2 === "LAST" && (h2 = l2 - 1), h2 = re(0, h2, Oe(l2 - 1, h2));
|
|
7587
7586
|
let g2 = Me(r2, u2, c2, h2);
|
|
@@ -7599,7 +7598,7 @@ let __tla = Promise.all([
|
|
|
7599
7598
|
data: q,
|
|
7600
7599
|
deviation: G,
|
|
7601
7600
|
footerHeight: u,
|
|
7602
|
-
gap:
|
|
7601
|
+
gap: ZW,
|
|
7603
7602
|
headerHeight: d,
|
|
7604
7603
|
increaseViewportBy: e,
|
|
7605
7604
|
initialItemCount: L,
|
|
@@ -7629,7 +7628,7 @@ let __tla = Promise.all([
|
|
|
7629
7628
|
propsReady: S,
|
|
7630
7629
|
rangeChanged: sG,
|
|
7631
7630
|
startReached: oG,
|
|
7632
|
-
stateChanged:
|
|
7631
|
+
stateChanged: Z,
|
|
7633
7632
|
stateRestoreInProgress: $W,
|
|
7634
7633
|
...M
|
|
7635
7634
|
};
|
|
@@ -7908,22 +7907,22 @@ let __tla = Promise.all([
|
|
|
7908
7907
|
let r2 = Array.isArray(e2) ? e2 : [];
|
|
7909
7908
|
f != null && r2.length > f && (r2 = r2.slice(-f)), u(r2);
|
|
7910
7909
|
}, r[8] = p, r[9] = f, r[10] = d, r[11] = u, r[12] = q) : q = r[12];
|
|
7911
|
-
let
|
|
7910
|
+
let ZW = q, Z;
|
|
7912
7911
|
if (r[13] !== G.bulkActions) {
|
|
7913
|
-
if (
|
|
7912
|
+
if (Z = G.bulkActions.map(_temp$27), Z.length > 0) {
|
|
7914
7913
|
let e2;
|
|
7915
7914
|
r[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e2 = (0, import_jsx_runtime.jsx)(CommandSeparator, {
|
|
7916
7915
|
"data-slot": "select-separator"
|
|
7917
|
-
}, "_bulk_separator"), r[15] = e2) : e2 = r[15],
|
|
7916
|
+
}, "_bulk_separator"), r[15] = e2) : e2 = r[15], Z.push(e2);
|
|
7918
7917
|
}
|
|
7919
|
-
r[13] = G.bulkActions, r[14] =
|
|
7920
|
-
} else
|
|
7918
|
+
r[13] = G.bulkActions, r[14] = Z;
|
|
7919
|
+
} else Z = r[14];
|
|
7921
7920
|
let QW;
|
|
7922
7921
|
r[16] !== G.pinnedCount || r[17] !== G.visibleOptions.length ? (QW = (e2) => G.pinnedCount > 0 && e2 === G.pinnedCount && G.pinnedCount < G.visibleOptions.length ? (0, import_jsx_runtime.jsx)(CommandSeparator, {
|
|
7923
7922
|
"data-slot": "select-separator"
|
|
7924
7923
|
}, "_pinned_separator") : null, r[16] = G.pinnedCount, r[17] = G.visibleOptions.length, r[18] = QW) : QW = r[18];
|
|
7925
7924
|
let $W = QW, eG;
|
|
7926
|
-
r[19] !==
|
|
7925
|
+
r[19] !== Z || r[20] !== G || r[21] !== $W || r[22] !== w || r[23] !== B || r[24] !== H ? (eG = () => {
|
|
7927
7926
|
if (G.visibleOptions.length > B) return (0, import_jsx_runtime.jsx)(Yr, {
|
|
7928
7927
|
"data-slot": "select-list",
|
|
7929
7928
|
style: {
|
|
@@ -7935,7 +7934,7 @@ let __tla = Promise.all([
|
|
|
7935
7934
|
let r2 = G.visibleOptions[e3];
|
|
7936
7935
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
7937
7936
|
children: [
|
|
7938
|
-
e3 === 0 &&
|
|
7937
|
+
e3 === 0 && Z,
|
|
7939
7938
|
$W(e3),
|
|
7940
7939
|
(0, import_jsx_runtime.jsx)(OptionRow, {
|
|
7941
7940
|
option: r2,
|
|
@@ -7961,11 +7960,11 @@ let __tla = Promise.all([
|
|
|
7961
7960
|
});
|
|
7962
7961
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
7963
7962
|
children: [
|
|
7964
|
-
|
|
7963
|
+
Z,
|
|
7965
7964
|
e2
|
|
7966
7965
|
]
|
|
7967
7966
|
});
|
|
7968
|
-
}, r[19] =
|
|
7967
|
+
}, r[19] = Z, r[20] = G, r[21] = $W, r[22] = w, r[23] = B, r[24] = H, r[25] = eG) : eG = r[25];
|
|
7969
7968
|
let tG = eG, nG;
|
|
7970
7969
|
r[26] !== G.labelOf || r[27] !== I ? (nG = (e2) => {
|
|
7971
7970
|
let r2 = Array.isArray(e2) ? e2 : e2 == null ? [] : [
|
|
@@ -8005,19 +8004,19 @@ let __tla = Promise.all([
|
|
|
8005
8004
|
id: S
|
|
8006
8005
|
}, r[36] = L, r[37] = S, r[38] = G.open, r[39] = G.searchQuery, r[40] = G.setOpen, r[41] = G.setSearchQuery, r[42] = I, r[43] = iG, r[44] = aG, r[45] = oG, r[46] = sG, r[47] = fG, r[48] = pG) : pG = r[48];
|
|
8007
8006
|
let mG = pG, hG;
|
|
8008
|
-
return r[49] !== mG || r[50] !==
|
|
8007
|
+
return r[49] !== mG || r[50] !== ZW || r[51] !== d || r[52] !== tG || r[53] !== l ? (hG = d ? (0, import_jsx_runtime.jsx)(Combobox, {
|
|
8009
8008
|
...mG,
|
|
8010
8009
|
multiple: true,
|
|
8011
8010
|
value: l,
|
|
8012
|
-
onValueChange:
|
|
8011
|
+
onValueChange: ZW,
|
|
8013
8012
|
children: tG()
|
|
8014
8013
|
}) : (0, import_jsx_runtime.jsx)(Combobox, {
|
|
8015
8014
|
...mG,
|
|
8016
8015
|
multiple: false,
|
|
8017
8016
|
value: l,
|
|
8018
|
-
onValueChange:
|
|
8017
|
+
onValueChange: ZW,
|
|
8019
8018
|
children: tG()
|
|
8020
|
-
}), r[49] = mG, r[50] =
|
|
8019
|
+
}), r[49] = mG, r[50] = ZW, r[51] = d, r[52] = tG, r[53] = l, r[54] = hG) : hG = r[54], hG;
|
|
8021
8020
|
}
|
|
8022
8021
|
function _temp$27(e) {
|
|
8023
8022
|
let r = "enabled" in e ? !e.enabled : e.items.length === 0;
|
|
@@ -9017,7 +9016,7 @@ let __tla = Promise.all([
|
|
|
9017
9016
|
};
|
|
9018
9017
|
}
|
|
9019
9018
|
};
|
|
9020
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
9019
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-o-tATfmW.js").then((e) => ({
|
|
9021
9020
|
default: e.Chatbot
|
|
9022
9021
|
}))), messageSchema = array(object({
|
|
9023
9022
|
id: string(),
|
|
@@ -9156,6 +9155,24 @@ let __tla = Promise.all([
|
|
|
9156
9155
|
}).map(_temp3$11)
|
|
9157
9156
|
}, r);
|
|
9158
9157
|
}
|
|
9158
|
+
const FieldOptions = {
|
|
9159
|
+
of(e) {
|
|
9160
|
+
return JSON.stringify(e);
|
|
9161
|
+
},
|
|
9162
|
+
parse(e) {
|
|
9163
|
+
if (!e) return {};
|
|
9164
|
+
try {
|
|
9165
|
+
return JSON.parse(e);
|
|
9166
|
+
} catch {
|
|
9167
|
+
return {
|
|
9168
|
+
label: e
|
|
9169
|
+
};
|
|
9170
|
+
}
|
|
9171
|
+
}
|
|
9172
|
+
};
|
|
9173
|
+
function randomNumber() {
|
|
9174
|
+
return Math.floor(Math.random() * 1e5);
|
|
9175
|
+
}
|
|
9159
9176
|
const DATA_TYPES = [
|
|
9160
9177
|
"string",
|
|
9161
9178
|
"boolean",
|
|
@@ -9165,8 +9182,392 @@ let __tla = Promise.all([
|
|
|
9165
9182
|
"datetime",
|
|
9166
9183
|
"time",
|
|
9167
9184
|
"unknown"
|
|
9185
|
+
], NUMPY_DTYPES = [
|
|
9186
|
+
"int8",
|
|
9187
|
+
"int16",
|
|
9188
|
+
"int32",
|
|
9189
|
+
"int64",
|
|
9190
|
+
"uint8",
|
|
9191
|
+
"uint16",
|
|
9192
|
+
"uint32",
|
|
9193
|
+
"uint64",
|
|
9194
|
+
"float16",
|
|
9195
|
+
"float32",
|
|
9196
|
+
"float64",
|
|
9197
|
+
"complex64",
|
|
9198
|
+
"complex128",
|
|
9199
|
+
"bool",
|
|
9200
|
+
"object",
|
|
9201
|
+
"str",
|
|
9202
|
+
"unicode",
|
|
9203
|
+
"datetime64",
|
|
9204
|
+
"timedelta64"
|
|
9205
|
+
], AGGREGATION_FNS$1 = [
|
|
9206
|
+
"count",
|
|
9207
|
+
"sum",
|
|
9208
|
+
"mean",
|
|
9209
|
+
"median",
|
|
9210
|
+
"min",
|
|
9211
|
+
"max"
|
|
9168
9212
|
];
|
|
9169
|
-
var
|
|
9213
|
+
var Schema = {
|
|
9214
|
+
number: number$1().describe(FieldOptions.of({
|
|
9215
|
+
label: "Value"
|
|
9216
|
+
})),
|
|
9217
|
+
string: string().min(1).describe(FieldOptions.of({
|
|
9218
|
+
label: "Value"
|
|
9219
|
+
})),
|
|
9220
|
+
stringColumnValues: string().min(1).describe(FieldOptions.of({
|
|
9221
|
+
label: "Value",
|
|
9222
|
+
special: "column_values"
|
|
9223
|
+
})),
|
|
9224
|
+
stringMultiColumnValues: array(string()).min(1).describe(FieldOptions.of({
|
|
9225
|
+
label: "Value",
|
|
9226
|
+
special: "column_values"
|
|
9227
|
+
})),
|
|
9228
|
+
date: date().describe(FieldOptions.of({
|
|
9229
|
+
label: "Value",
|
|
9230
|
+
special: "date"
|
|
9231
|
+
})),
|
|
9232
|
+
datetime: date().describe(FieldOptions.of({
|
|
9233
|
+
label: "Value",
|
|
9234
|
+
special: "datetime"
|
|
9235
|
+
})),
|
|
9236
|
+
time: string().regex(/^\d{2}:\d{2}(:\d{2})?$/).describe(FieldOptions.of({
|
|
9237
|
+
label: "Value",
|
|
9238
|
+
special: "time"
|
|
9239
|
+
}))
|
|
9240
|
+
};
|
|
9241
|
+
const BOOLEAN_OPERATORS = {
|
|
9242
|
+
is_true: [],
|
|
9243
|
+
is_false: []
|
|
9244
|
+
};
|
|
9245
|
+
var createComparisonOperators = (e) => ({
|
|
9246
|
+
"==": [
|
|
9247
|
+
e
|
|
9248
|
+
],
|
|
9249
|
+
"!=": [
|
|
9250
|
+
e
|
|
9251
|
+
],
|
|
9252
|
+
">": [
|
|
9253
|
+
e
|
|
9254
|
+
],
|
|
9255
|
+
">=": [
|
|
9256
|
+
e
|
|
9257
|
+
],
|
|
9258
|
+
"<": [
|
|
9259
|
+
e
|
|
9260
|
+
],
|
|
9261
|
+
"<=": [
|
|
9262
|
+
e
|
|
9263
|
+
],
|
|
9264
|
+
between: [
|
|
9265
|
+
object({
|
|
9266
|
+
min: e,
|
|
9267
|
+
max: e
|
|
9268
|
+
})
|
|
9269
|
+
],
|
|
9270
|
+
is_null: [],
|
|
9271
|
+
is_not_null: []
|
|
9272
|
+
});
|
|
9273
|
+
const NUMERIC_OPERATORS = createComparisonOperators(Schema.number), DATE_OPERATORS = createComparisonOperators(Schema.date), TIME_OPERATORS = createComparisonOperators(Schema.time), DATETIME_OPERATORS = createComparisonOperators(Schema.datetime), STRING_OPERATORS = {
|
|
9274
|
+
equals: [
|
|
9275
|
+
Schema.stringColumnValues
|
|
9276
|
+
],
|
|
9277
|
+
does_not_equal: [
|
|
9278
|
+
Schema.stringColumnValues
|
|
9279
|
+
],
|
|
9280
|
+
contains: [
|
|
9281
|
+
Schema.string
|
|
9282
|
+
],
|
|
9283
|
+
regex: [
|
|
9284
|
+
Schema.string
|
|
9285
|
+
],
|
|
9286
|
+
starts_with: [
|
|
9287
|
+
Schema.string
|
|
9288
|
+
],
|
|
9289
|
+
ends_with: [
|
|
9290
|
+
Schema.string
|
|
9291
|
+
],
|
|
9292
|
+
in: [
|
|
9293
|
+
Schema.stringMultiColumnValues
|
|
9294
|
+
],
|
|
9295
|
+
not_in: [
|
|
9296
|
+
Schema.stringMultiColumnValues
|
|
9297
|
+
],
|
|
9298
|
+
is_empty: [],
|
|
9299
|
+
is_null: [],
|
|
9300
|
+
is_not_null: []
|
|
9301
|
+
}, ALL_OPERATORS = {
|
|
9302
|
+
...BOOLEAN_OPERATORS,
|
|
9303
|
+
...NUMERIC_OPERATORS,
|
|
9304
|
+
...DATE_OPERATORS,
|
|
9305
|
+
...TIME_OPERATORS,
|
|
9306
|
+
...DATETIME_OPERATORS,
|
|
9307
|
+
...STRING_OPERATORS
|
|
9308
|
+
};
|
|
9309
|
+
function numpyTypeToDataType(e) {
|
|
9310
|
+
return e ? e.startsWith("int") ? "integer" : e.startsWith("float") || e.startsWith("uint") || e.startsWith("number") || e.startsWith("complex") ? "number" : e.startsWith("string") || e.startsWith("object") || e.startsWith("utf8") ? "string" : e.startsWith("datetime") ? "datetime" : e.startsWith("time") ? "time" : e.startsWith("date") ? "date" : e.startsWith("bool") ? "boolean" : "unknown" : "unknown";
|
|
9311
|
+
}
|
|
9312
|
+
function getOperatorForDtype(e) {
|
|
9313
|
+
if (!e) return [];
|
|
9314
|
+
switch (numpyTypeToDataType(e)) {
|
|
9315
|
+
case "integer":
|
|
9316
|
+
return Object.keys(NUMERIC_OPERATORS);
|
|
9317
|
+
case "number":
|
|
9318
|
+
return Object.keys(NUMERIC_OPERATORS);
|
|
9319
|
+
case "string":
|
|
9320
|
+
return Object.keys(STRING_OPERATORS);
|
|
9321
|
+
case "date":
|
|
9322
|
+
return Object.keys(DATE_OPERATORS);
|
|
9323
|
+
case "datetime":
|
|
9324
|
+
return Object.keys(DATETIME_OPERATORS);
|
|
9325
|
+
case "time":
|
|
9326
|
+
return Object.keys(TIME_OPERATORS);
|
|
9327
|
+
case "boolean":
|
|
9328
|
+
return Object.keys(BOOLEAN_OPERATORS);
|
|
9329
|
+
case "unknown":
|
|
9330
|
+
return [];
|
|
9331
|
+
}
|
|
9332
|
+
}
|
|
9333
|
+
function getSchemaForOperator(e, r) {
|
|
9334
|
+
if (!e || !r) return [];
|
|
9335
|
+
switch (numpyTypeToDataType(e)) {
|
|
9336
|
+
case "integer":
|
|
9337
|
+
return safeGet(NUMERIC_OPERATORS, r);
|
|
9338
|
+
case "number":
|
|
9339
|
+
return safeGet(NUMERIC_OPERATORS, r);
|
|
9340
|
+
case "string":
|
|
9341
|
+
return safeGet(STRING_OPERATORS, r);
|
|
9342
|
+
case "date":
|
|
9343
|
+
return safeGet(DATE_OPERATORS, r);
|
|
9344
|
+
case "datetime":
|
|
9345
|
+
return safeGet(DATETIME_OPERATORS, r);
|
|
9346
|
+
case "time":
|
|
9347
|
+
return safeGet(TIME_OPERATORS, r);
|
|
9348
|
+
case "boolean":
|
|
9349
|
+
return safeGet(BOOLEAN_OPERATORS, r);
|
|
9350
|
+
case "unknown":
|
|
9351
|
+
return [];
|
|
9352
|
+
}
|
|
9353
|
+
}
|
|
9354
|
+
function isConditionValueValid(e, r) {
|
|
9355
|
+
let c = [
|
|
9356
|
+
safeGet(BOOLEAN_OPERATORS, e),
|
|
9357
|
+
safeGet(DATE_OPERATORS, e),
|
|
9358
|
+
safeGet(TIME_OPERATORS, e),
|
|
9359
|
+
safeGet(DATETIME_OPERATORS, e),
|
|
9360
|
+
safeGet(NUMERIC_OPERATORS, e),
|
|
9361
|
+
safeGet(STRING_OPERATORS, e)
|
|
9362
|
+
].flat();
|
|
9363
|
+
return c.length === 0 ? true : c.some((e2) => e2.safeParse(r).success);
|
|
9364
|
+
}
|
|
9365
|
+
var safeGet = (e, r) => e[r] ? e[r] : [];
|
|
9366
|
+
const columnToFieldTypesSchema = array(tuple([
|
|
9367
|
+
string$1(),
|
|
9368
|
+
tuple([
|
|
9369
|
+
_enum(DATA_TYPES).catch("unknown"),
|
|
9370
|
+
string()
|
|
9371
|
+
])
|
|
9372
|
+
])), column_id = string().min(1, "Required").or(number()).transform((e) => e).describe(FieldOptions.of({
|
|
9373
|
+
label: "Column",
|
|
9374
|
+
special: "column_id"
|
|
9375
|
+
})), column_id_array = array(column_id.describe(FieldOptions.of({
|
|
9376
|
+
special: "column_id"
|
|
9377
|
+
}))).min(1, "At least one column is required").default([]).describe(FieldOptions.of({
|
|
9378
|
+
label: "Columns",
|
|
9379
|
+
minLength: 1
|
|
9380
|
+
}));
|
|
9381
|
+
var ColumnConversionTransformSchema = object({
|
|
9382
|
+
type: literal("column_conversion"),
|
|
9383
|
+
column_id,
|
|
9384
|
+
data_type: _enum(NUMPY_DTYPES).describe(FieldOptions.of({
|
|
9385
|
+
label: "Data type (numpy)"
|
|
9386
|
+
})).default("bool"),
|
|
9387
|
+
errors: _enum([
|
|
9388
|
+
"ignore",
|
|
9389
|
+
"raise"
|
|
9390
|
+
]).default("ignore").describe(FieldOptions.of({
|
|
9391
|
+
label: "Handle errors",
|
|
9392
|
+
special: "radio_group"
|
|
9393
|
+
}))
|
|
9394
|
+
}).describe(FieldOptions.of({})), RenameColumnTransformSchema = object({
|
|
9395
|
+
type: literal("rename_column"),
|
|
9396
|
+
column_id,
|
|
9397
|
+
new_column_id: string().min(1, "Required").transform((e) => e).describe(FieldOptions.of({
|
|
9398
|
+
label: "New column name",
|
|
9399
|
+
minLength: 1
|
|
9400
|
+
}))
|
|
9401
|
+
}), SortColumnTransformSchema = object({
|
|
9402
|
+
type: literal("sort_column"),
|
|
9403
|
+
column_id,
|
|
9404
|
+
ascending: boolean().describe(FieldOptions.of({
|
|
9405
|
+
label: "Ascending"
|
|
9406
|
+
})).default(true),
|
|
9407
|
+
na_position: _enum([
|
|
9408
|
+
"first",
|
|
9409
|
+
"last"
|
|
9410
|
+
]).describe(FieldOptions.of({
|
|
9411
|
+
label: "N/A position",
|
|
9412
|
+
special: "radio_group"
|
|
9413
|
+
})).default("last")
|
|
9414
|
+
});
|
|
9415
|
+
const FilterConditionSchema = object({
|
|
9416
|
+
column_id,
|
|
9417
|
+
operator: _enum(Object.keys(ALL_OPERATORS)).describe(FieldOptions.of({
|
|
9418
|
+
label: " "
|
|
9419
|
+
})),
|
|
9420
|
+
type: literal("condition").default("condition"),
|
|
9421
|
+
value: any().optional().describe(FieldOptions.of({
|
|
9422
|
+
label: "Value"
|
|
9423
|
+
})),
|
|
9424
|
+
negate: boolean().default(false)
|
|
9425
|
+
}).describe(FieldOptions.of({
|
|
9426
|
+
direction: "row",
|
|
9427
|
+
special: "column_filter"
|
|
9428
|
+
})), FilterGroupSchema = lazy$2(() => object({
|
|
9429
|
+
type: literal("group").default("group"),
|
|
9430
|
+
operator: _enum([
|
|
9431
|
+
"and",
|
|
9432
|
+
"or"
|
|
9433
|
+
]).default("and"),
|
|
9434
|
+
children: array(union([
|
|
9435
|
+
FilterConditionSchema,
|
|
9436
|
+
FilterGroupSchema
|
|
9437
|
+
])).default([]),
|
|
9438
|
+
negate: boolean().default(false)
|
|
9439
|
+
}));
|
|
9440
|
+
var FilterRowsTransformSchema = object({
|
|
9441
|
+
type: literal("filter_rows"),
|
|
9442
|
+
operation: _enum([
|
|
9443
|
+
"keep_rows",
|
|
9444
|
+
"remove_rows"
|
|
9445
|
+
]).default("keep_rows").describe(FieldOptions.of({
|
|
9446
|
+
special: "radio_group"
|
|
9447
|
+
})),
|
|
9448
|
+
where: array(FilterConditionSchema).min(1).describe(FieldOptions.of({
|
|
9449
|
+
label: "Value",
|
|
9450
|
+
minLength: 1
|
|
9451
|
+
})).default(() => [
|
|
9452
|
+
{
|
|
9453
|
+
column_id: "",
|
|
9454
|
+
operator: "==",
|
|
9455
|
+
value: "",
|
|
9456
|
+
type: "condition",
|
|
9457
|
+
negate: false
|
|
9458
|
+
}
|
|
9459
|
+
]).transform((e) => ({
|
|
9460
|
+
type: "group",
|
|
9461
|
+
operator: "and",
|
|
9462
|
+
children: e.filter((e2) => isConditionValueValid(e2.operator, e2.value)),
|
|
9463
|
+
negate: false
|
|
9464
|
+
}))
|
|
9465
|
+
}), GroupByTransformSchema = object({
|
|
9466
|
+
type: literal("group_by"),
|
|
9467
|
+
column_ids: array(column_id.describe(FieldOptions.of({
|
|
9468
|
+
special: "column_id"
|
|
9469
|
+
}))).default([]).describe(FieldOptions.of({
|
|
9470
|
+
label: "Group by columns",
|
|
9471
|
+
minLength: 1
|
|
9472
|
+
})),
|
|
9473
|
+
aggregation_column_ids: array(column_id.describe(FieldOptions.of({
|
|
9474
|
+
special: "column_id"
|
|
9475
|
+
}))).default([]).describe(FieldOptions.of({
|
|
9476
|
+
label: "Aggregate on columns"
|
|
9477
|
+
})),
|
|
9478
|
+
aggregation: _enum(AGGREGATION_FNS$1).default("count").describe(FieldOptions.of({
|
|
9479
|
+
label: "Aggregation"
|
|
9480
|
+
})),
|
|
9481
|
+
drop_na: boolean().default(false).describe(FieldOptions.of({
|
|
9482
|
+
label: "Drop N/A"
|
|
9483
|
+
}))
|
|
9484
|
+
}).describe(FieldOptions.of({})), AggregateTransformSchema = object({
|
|
9485
|
+
type: literal("aggregate"),
|
|
9486
|
+
column_ids: column_id_array,
|
|
9487
|
+
aggregations: array(_enum(AGGREGATION_FNS$1)).min(1, "At least one aggregation is required").default([
|
|
9488
|
+
"count"
|
|
9489
|
+
]).describe(FieldOptions.of({
|
|
9490
|
+
label: "Aggregations",
|
|
9491
|
+
minLength: 1
|
|
9492
|
+
}))
|
|
9493
|
+
}).describe(FieldOptions.of({
|
|
9494
|
+
direction: "row"
|
|
9495
|
+
}));
|
|
9496
|
+
const TransformTypeSchema = union([
|
|
9497
|
+
FilterRowsTransformSchema,
|
|
9498
|
+
object({
|
|
9499
|
+
type: literal("select_columns"),
|
|
9500
|
+
column_ids: column_id_array
|
|
9501
|
+
}),
|
|
9502
|
+
RenameColumnTransformSchema,
|
|
9503
|
+
ColumnConversionTransformSchema,
|
|
9504
|
+
SortColumnTransformSchema,
|
|
9505
|
+
GroupByTransformSchema,
|
|
9506
|
+
AggregateTransformSchema,
|
|
9507
|
+
object({
|
|
9508
|
+
type: literal("sample_rows"),
|
|
9509
|
+
n: number().positive().describe(FieldOptions.of({
|
|
9510
|
+
label: "Number of rows"
|
|
9511
|
+
})),
|
|
9512
|
+
seed: number().default(() => randomNumber()).describe(FieldOptions.of({
|
|
9513
|
+
label: "Re-sample",
|
|
9514
|
+
special: "random_number_button"
|
|
9515
|
+
})),
|
|
9516
|
+
replace: boolean().default(false).describe(FieldOptions.of({
|
|
9517
|
+
label: "Sample with replacement"
|
|
9518
|
+
}))
|
|
9519
|
+
}),
|
|
9520
|
+
object({
|
|
9521
|
+
type: literal("shuffle_rows"),
|
|
9522
|
+
seed: number().default(() => randomNumber()).describe(FieldOptions.of({
|
|
9523
|
+
label: "Re-shuffle",
|
|
9524
|
+
special: "random_number_button"
|
|
9525
|
+
}))
|
|
9526
|
+
}),
|
|
9527
|
+
object({
|
|
9528
|
+
type: literal("explode_columns"),
|
|
9529
|
+
column_ids: column_id_array
|
|
9530
|
+
}),
|
|
9531
|
+
object({
|
|
9532
|
+
type: literal("expand_dict"),
|
|
9533
|
+
column_id
|
|
9534
|
+
}),
|
|
9535
|
+
object({
|
|
9536
|
+
type: literal("unique"),
|
|
9537
|
+
column_ids: column_id_array,
|
|
9538
|
+
keep: _enum([
|
|
9539
|
+
"first",
|
|
9540
|
+
"last",
|
|
9541
|
+
"none",
|
|
9542
|
+
"any"
|
|
9543
|
+
]).default("first").describe(FieldOptions.of({
|
|
9544
|
+
label: "Keep"
|
|
9545
|
+
}))
|
|
9546
|
+
}).describe(FieldOptions.of({
|
|
9547
|
+
direction: "row"
|
|
9548
|
+
})),
|
|
9549
|
+
object({
|
|
9550
|
+
type: literal("pivot"),
|
|
9551
|
+
column_ids: column_id_array,
|
|
9552
|
+
index_column_ids: array(column_id.describe(FieldOptions.of({
|
|
9553
|
+
special: "column_id"
|
|
9554
|
+
}))).default([]).describe(FieldOptions.of({
|
|
9555
|
+
label: "Rows"
|
|
9556
|
+
})),
|
|
9557
|
+
value_column_ids: array(column_id.describe(FieldOptions.of({
|
|
9558
|
+
special: "column_id"
|
|
9559
|
+
}))).default([]).describe(FieldOptions.of({
|
|
9560
|
+
label: "Values",
|
|
9561
|
+
minLength: 1
|
|
9562
|
+
})),
|
|
9563
|
+
aggregation: _enum(AGGREGATION_FNS$1).default("sum").describe(FieldOptions.of({
|
|
9564
|
+
label: "Aggregation"
|
|
9565
|
+
}))
|
|
9566
|
+
}).describe(FieldOptions.of({}))
|
|
9567
|
+
]), TransformationsSchema = object({
|
|
9568
|
+
transforms: array(TransformTypeSchema)
|
|
9569
|
+
});
|
|
9570
|
+
var import_compiler_runtime$76 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-BI2i_IEE.js").then(async (m) => {
|
|
9170
9571
|
await m.__tla;
|
|
9171
9572
|
return m;
|
|
9172
9573
|
}));
|
|
@@ -9187,13 +9588,7 @@ let __tla = Promise.all([
|
|
|
9187
9588
|
string(),
|
|
9188
9589
|
array(object({}).passthrough())
|
|
9189
9590
|
]),
|
|
9190
|
-
fieldTypes:
|
|
9191
|
-
string$1(),
|
|
9192
|
-
tuple([
|
|
9193
|
-
_enum(DATA_TYPES),
|
|
9194
|
-
string()
|
|
9195
|
-
])
|
|
9196
|
-
])).nullish(),
|
|
9591
|
+
fieldTypes: columnToFieldTypesSchema.nullish(),
|
|
9197
9592
|
editableColumns: union([
|
|
9198
9593
|
array(string()),
|
|
9199
9594
|
literal("all")
|
|
@@ -10132,7 +10527,7 @@ let __tla = Promise.all([
|
|
|
10132
10527
|
let m2 = get(l, e2);
|
|
10133
10528
|
if (m2) {
|
|
10134
10529
|
let l2 = get(d, e2, isUndefined(c2) ? get(u, e2) : c2);
|
|
10135
|
-
isUndefined(l2) || p2 && p2.defaultChecked || r2 ? set(d, e2, r2 ? l2 : getFieldValue(m2._f)) :
|
|
10530
|
+
isUndefined(l2) || p2 && p2.defaultChecked || r2 ? set(d, e2, r2 ? l2 : getFieldValue(m2._f)) : ZW(e2, l2), f.mount && w();
|
|
10136
10531
|
}
|
|
10137
10532
|
}, I = (e2, d2, f2, p2, m2) => {
|
|
10138
10533
|
let h2 = false, v2 = false, y2 = {
|
|
@@ -10212,7 +10607,7 @@ let __tla = Promise.all([
|
|
|
10212
10607
|
...f.mount ? d : isUndefined(r2) ? u : isString(e2) ? {
|
|
10213
10608
|
[e2]: r2
|
|
10214
10609
|
} : r2
|
|
10215
|
-
}, c2, r2), q = (e2) => compact$1(get(f.mount ? d : u, e2, r.shouldUnregister ? get(u, e2, []) : [])),
|
|
10610
|
+
}, c2, r2), q = (e2) => compact$1(get(f.mount ? d : u, e2, r.shouldUnregister ? get(u, e2, []) : [])), ZW = (e2, r2, c2 = {}) => {
|
|
10216
10611
|
let u2 = get(l, e2), f2 = r2;
|
|
10217
10612
|
if (u2) {
|
|
10218
10613
|
let c3 = u2._f;
|
|
@@ -10226,10 +10621,10 @@ let __tla = Promise.all([
|
|
|
10226
10621
|
})));
|
|
10227
10622
|
}
|
|
10228
10623
|
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate && tG(e2);
|
|
10229
|
-
},
|
|
10624
|
+
}, Z = (e2, r2, c2) => {
|
|
10230
10625
|
for (let u2 in r2) {
|
|
10231
10626
|
let d2 = r2[u2], f2 = `${e2}.${u2}`, m2 = get(l, f2);
|
|
10232
|
-
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ?
|
|
10627
|
+
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ? Z(f2, d2, c2) : ZW(f2, d2, c2);
|
|
10233
10628
|
}
|
|
10234
10629
|
}, QW = (e2, r2, m2 = {}) => {
|
|
10235
10630
|
let h2 = get(l, e2), v2 = p.array.has(e2), y2 = cloneObject(r2);
|
|
@@ -10242,7 +10637,7 @@ let __tla = Promise.all([
|
|
|
10242
10637
|
name: e2,
|
|
10243
10638
|
dirtyFields: getDirtyFields(u, d),
|
|
10244
10639
|
isDirty: W(e2, y2)
|
|
10245
|
-
})) : h2 && !h2._f && !isNullOrUndefined(y2) ?
|
|
10640
|
+
})) : h2 && !h2._f && !isNullOrUndefined(y2) ? Z(e2, y2, m2) : ZW(e2, y2, m2), isWatched(e2, p) && _.state.next({
|
|
10246
10641
|
...c
|
|
10247
10642
|
}), _.values.next({
|
|
10248
10643
|
name: f.mount ? e2 : void 0,
|
|
@@ -12547,7 +12942,7 @@ ${c}
|
|
|
12547
12942
|
background: "var(--cm-background)",
|
|
12548
12943
|
foreground: "#abb2bf",
|
|
12549
12944
|
caret: "#528bff",
|
|
12550
|
-
selection: "
|
|
12945
|
+
selection: "var(--cm-selection-background)",
|
|
12551
12946
|
lineHighlight: "#2c313c",
|
|
12552
12947
|
gutterBackground: "var(--color-background)",
|
|
12553
12948
|
gutterForeground: "var(--gray-10)"
|
|
@@ -12629,15 +13024,16 @@ ${c}
|
|
|
12629
13024
|
]
|
|
12630
13025
|
}),
|
|
12631
13026
|
EditorView.theme({
|
|
13027
|
+
"&": {
|
|
13028
|
+
"--cm-selection-background": "var(--cm-selection-background-dark)"
|
|
13029
|
+
},
|
|
12632
13030
|
".mo-cm-reactive-reference": {
|
|
12633
13031
|
fontWeight: "400",
|
|
12634
|
-
color: "
|
|
12635
|
-
borderBottom: "2px solid
|
|
13032
|
+
color: "var(--cm-reactive-reference-color-dark)",
|
|
13033
|
+
borderBottom: "2px solid var(--cm-reactive-reference-border-color)"
|
|
12636
13034
|
},
|
|
12637
13035
|
".mo-cm-reactive-reference-hover": {
|
|
12638
|
-
cursor: "pointer"
|
|
12639
|
-
borderBottomWidth: "3px",
|
|
12640
|
-
borderBottomColor: "#4a90a5"
|
|
13036
|
+
cursor: "pointer"
|
|
12641
13037
|
}
|
|
12642
13038
|
})
|
|
12643
13039
|
], lightTheme = [
|
|
@@ -12647,7 +13043,7 @@ ${c}
|
|
|
12647
13043
|
background: "#ffffff",
|
|
12648
13044
|
foreground: "#000000",
|
|
12649
13045
|
caret: "#000000",
|
|
12650
|
-
selection: "
|
|
13046
|
+
selection: "var(--cm-selection-background)",
|
|
12651
13047
|
lineHighlight: "#cceeff44",
|
|
12652
13048
|
gutterBackground: "var(--color-background)",
|
|
12653
13049
|
gutterForeground: "var(--gray-10)"
|
|
@@ -12729,14 +13125,16 @@ ${c}
|
|
|
12729
13125
|
]
|
|
12730
13126
|
}),
|
|
12731
13127
|
EditorView.theme({
|
|
13128
|
+
"&": {
|
|
13129
|
+
"--cm-selection-background": "var(--cm-selection-background-light)"
|
|
13130
|
+
},
|
|
12732
13131
|
".mo-cm-reactive-reference": {
|
|
12733
13132
|
fontWeight: "400",
|
|
12734
|
-
color: "
|
|
12735
|
-
borderBottom: "2px solid
|
|
13133
|
+
color: "var(--cm-reactive-reference-color-light)",
|
|
13134
|
+
borderBottom: "2px solid var(--cm-reactive-reference-border-color)"
|
|
12736
13135
|
},
|
|
12737
13136
|
".mo-cm-reactive-reference-hover": {
|
|
12738
|
-
cursor: "pointer"
|
|
12739
|
-
borderBottomWidth: "3px"
|
|
13137
|
+
cursor: "pointer"
|
|
12740
13138
|
}
|
|
12741
13139
|
})
|
|
12742
13140
|
];
|
|
@@ -13447,7 +13845,7 @@ ${c}
|
|
|
13447
13845
|
render: h
|
|
13448
13846
|
}), r[5] = c, r[6] = m.control, r[7] = h, r[8] = g) : g = r[8], g;
|
|
13449
13847
|
}, AggregationSelect = (e) => {
|
|
13450
|
-
let r = (0, import_compiler_runtime$68.c)(12), { fieldName: c, selectedDataType: l, binFieldName: u, defaultAggregation: d } = e, f = useFormContext(), p = l === "string" ? STRING_AGGREGATION_FNS : AGGREGATION_FNS
|
|
13848
|
+
let r = (0, import_compiler_runtime$68.c)(12), { fieldName: c, selectedDataType: l, binFieldName: u, defaultAggregation: d } = e, f = useFormContext(), p = l === "string" ? STRING_AGGREGATION_FNS : AGGREGATION_FNS, { chartType: m } = useChartFormContext(), h = m !== ChartType.HEATMAP, g = _temp6$1, _ = _temp7, v;
|
|
13451
13849
|
r[0] !== u || r[1] !== f ? (v = (e2) => {
|
|
13452
13850
|
let { value: r2, previousValue: c2, onChange: l2 } = e2;
|
|
13453
13851
|
r2 === "bin" ? f.setValue(u, true) : c2 === "bin" && f.setValue(u, false), l2(r2);
|
|
@@ -14430,7 +14828,7 @@ ${c}
|
|
|
14430
14828
|
type: _enum([
|
|
14431
14829
|
...DATA_TYPES,
|
|
14432
14830
|
""
|
|
14433
|
-
]).optional(),
|
|
14831
|
+
]).catch("unknown").optional(),
|
|
14434
14832
|
selectedDataType: _enum([
|
|
14435
14833
|
...SELECTABLE_DATA_TYPES,
|
|
14436
14834
|
""
|
|
@@ -14439,7 +14837,7 @@ ${c}
|
|
|
14439
14837
|
timeUnit: _enum(TIME_UNITS).optional()
|
|
14440
14838
|
});
|
|
14441
14839
|
const AxisSchema = BaseColumnSchema.extend({
|
|
14442
|
-
aggregate: _enum(AGGREGATION_FNS
|
|
14840
|
+
aggregate: _enum(AGGREGATION_FNS).default(NONE_VALUE).optional()
|
|
14443
14841
|
}), RowFacet = BaseColumnSchema.extend({
|
|
14444
14842
|
linkYAxis: boolean().default(true),
|
|
14445
14843
|
binned: boolean().default(true),
|
|
@@ -14489,7 +14887,7 @@ ${c}
|
|
|
14489
14887
|
auto: boolean(),
|
|
14490
14888
|
fields: array(object({
|
|
14491
14889
|
field: string(),
|
|
14492
|
-
type: _enum(DATA_TYPES)
|
|
14890
|
+
type: _enum(DATA_TYPES).catch("unknown")
|
|
14493
14891
|
}))
|
|
14494
14892
|
}).default({
|
|
14495
14893
|
auto: true,
|
|
@@ -15604,409 +16002,6 @@ ${c}
|
|
|
15604
16002
|
e();
|
|
15605
16003
|
}, c[0] = e, c[1] = u), (0, import_react.useEffect)(u, r);
|
|
15606
16004
|
}
|
|
15607
|
-
const FieldOptions = {
|
|
15608
|
-
of(e) {
|
|
15609
|
-
return JSON.stringify(e);
|
|
15610
|
-
},
|
|
15611
|
-
parse(e) {
|
|
15612
|
-
if (!e) return {};
|
|
15613
|
-
try {
|
|
15614
|
-
return JSON.parse(e);
|
|
15615
|
-
} catch {
|
|
15616
|
-
return {
|
|
15617
|
-
label: e
|
|
15618
|
-
};
|
|
15619
|
-
}
|
|
15620
|
-
}
|
|
15621
|
-
};
|
|
15622
|
-
function randomNumber() {
|
|
15623
|
-
return Math.floor(Math.random() * 1e5);
|
|
15624
|
-
}
|
|
15625
|
-
const NUMPY_DTYPES = [
|
|
15626
|
-
"int8",
|
|
15627
|
-
"int16",
|
|
15628
|
-
"int32",
|
|
15629
|
-
"int64",
|
|
15630
|
-
"uint8",
|
|
15631
|
-
"uint16",
|
|
15632
|
-
"uint32",
|
|
15633
|
-
"uint64",
|
|
15634
|
-
"float16",
|
|
15635
|
-
"float32",
|
|
15636
|
-
"float64",
|
|
15637
|
-
"complex64",
|
|
15638
|
-
"complex128",
|
|
15639
|
-
"bool",
|
|
15640
|
-
"object",
|
|
15641
|
-
"str",
|
|
15642
|
-
"unicode",
|
|
15643
|
-
"datetime64",
|
|
15644
|
-
"timedelta64"
|
|
15645
|
-
], AGGREGATION_FNS = [
|
|
15646
|
-
"count",
|
|
15647
|
-
"sum",
|
|
15648
|
-
"mean",
|
|
15649
|
-
"median",
|
|
15650
|
-
"min",
|
|
15651
|
-
"max"
|
|
15652
|
-
];
|
|
15653
|
-
var Schema = {
|
|
15654
|
-
number: number$1().describe(FieldOptions.of({
|
|
15655
|
-
label: "Value"
|
|
15656
|
-
})),
|
|
15657
|
-
string: string().min(1).describe(FieldOptions.of({
|
|
15658
|
-
label: "Value"
|
|
15659
|
-
})),
|
|
15660
|
-
stringColumnValues: string().min(1).describe(FieldOptions.of({
|
|
15661
|
-
label: "Value",
|
|
15662
|
-
special: "column_values"
|
|
15663
|
-
})),
|
|
15664
|
-
stringMultiColumnValues: array(string()).min(1).describe(FieldOptions.of({
|
|
15665
|
-
label: "Value",
|
|
15666
|
-
special: "column_values"
|
|
15667
|
-
})),
|
|
15668
|
-
date: date().describe(FieldOptions.of({
|
|
15669
|
-
label: "Value",
|
|
15670
|
-
special: "date"
|
|
15671
|
-
})),
|
|
15672
|
-
datetime: date().describe(FieldOptions.of({
|
|
15673
|
-
label: "Value",
|
|
15674
|
-
special: "datetime"
|
|
15675
|
-
})),
|
|
15676
|
-
time: string().regex(/^\d{2}:\d{2}(:\d{2})?$/).describe(FieldOptions.of({
|
|
15677
|
-
label: "Value",
|
|
15678
|
-
special: "time"
|
|
15679
|
-
}))
|
|
15680
|
-
};
|
|
15681
|
-
const BOOLEAN_OPERATORS = {
|
|
15682
|
-
is_true: [],
|
|
15683
|
-
is_false: []
|
|
15684
|
-
};
|
|
15685
|
-
var createComparisonOperators = (e) => ({
|
|
15686
|
-
"==": [
|
|
15687
|
-
e
|
|
15688
|
-
],
|
|
15689
|
-
"!=": [
|
|
15690
|
-
e
|
|
15691
|
-
],
|
|
15692
|
-
">": [
|
|
15693
|
-
e
|
|
15694
|
-
],
|
|
15695
|
-
">=": [
|
|
15696
|
-
e
|
|
15697
|
-
],
|
|
15698
|
-
"<": [
|
|
15699
|
-
e
|
|
15700
|
-
],
|
|
15701
|
-
"<=": [
|
|
15702
|
-
e
|
|
15703
|
-
],
|
|
15704
|
-
between: [
|
|
15705
|
-
object({
|
|
15706
|
-
min: e,
|
|
15707
|
-
max: e
|
|
15708
|
-
})
|
|
15709
|
-
],
|
|
15710
|
-
is_null: [],
|
|
15711
|
-
is_not_null: []
|
|
15712
|
-
});
|
|
15713
|
-
const NUMERIC_OPERATORS = createComparisonOperators(Schema.number), DATE_OPERATORS = createComparisonOperators(Schema.date), TIME_OPERATORS = createComparisonOperators(Schema.time), DATETIME_OPERATORS = createComparisonOperators(Schema.datetime), STRING_OPERATORS = {
|
|
15714
|
-
equals: [
|
|
15715
|
-
Schema.stringColumnValues
|
|
15716
|
-
],
|
|
15717
|
-
does_not_equal: [
|
|
15718
|
-
Schema.stringColumnValues
|
|
15719
|
-
],
|
|
15720
|
-
contains: [
|
|
15721
|
-
Schema.string
|
|
15722
|
-
],
|
|
15723
|
-
regex: [
|
|
15724
|
-
Schema.string
|
|
15725
|
-
],
|
|
15726
|
-
starts_with: [
|
|
15727
|
-
Schema.string
|
|
15728
|
-
],
|
|
15729
|
-
ends_with: [
|
|
15730
|
-
Schema.string
|
|
15731
|
-
],
|
|
15732
|
-
in: [
|
|
15733
|
-
Schema.stringMultiColumnValues
|
|
15734
|
-
],
|
|
15735
|
-
not_in: [
|
|
15736
|
-
Schema.stringMultiColumnValues
|
|
15737
|
-
],
|
|
15738
|
-
is_empty: [],
|
|
15739
|
-
is_null: [],
|
|
15740
|
-
is_not_null: []
|
|
15741
|
-
}, ALL_OPERATORS = {
|
|
15742
|
-
...BOOLEAN_OPERATORS,
|
|
15743
|
-
...NUMERIC_OPERATORS,
|
|
15744
|
-
...DATE_OPERATORS,
|
|
15745
|
-
...TIME_OPERATORS,
|
|
15746
|
-
...DATETIME_OPERATORS,
|
|
15747
|
-
...STRING_OPERATORS
|
|
15748
|
-
};
|
|
15749
|
-
function numpyTypeToDataType(e) {
|
|
15750
|
-
return e ? e.startsWith("int") ? "integer" : e.startsWith("float") || e.startsWith("uint") || e.startsWith("number") || e.startsWith("complex") ? "number" : e.startsWith("string") || e.startsWith("object") || e.startsWith("utf8") ? "string" : e.startsWith("datetime") ? "datetime" : e.startsWith("time") ? "time" : e.startsWith("date") ? "date" : e.startsWith("bool") ? "boolean" : "unknown" : "unknown";
|
|
15751
|
-
}
|
|
15752
|
-
function getOperatorForDtype(e) {
|
|
15753
|
-
if (!e) return [];
|
|
15754
|
-
switch (numpyTypeToDataType(e)) {
|
|
15755
|
-
case "integer":
|
|
15756
|
-
return Object.keys(NUMERIC_OPERATORS);
|
|
15757
|
-
case "number":
|
|
15758
|
-
return Object.keys(NUMERIC_OPERATORS);
|
|
15759
|
-
case "string":
|
|
15760
|
-
return Object.keys(STRING_OPERATORS);
|
|
15761
|
-
case "date":
|
|
15762
|
-
return Object.keys(DATE_OPERATORS);
|
|
15763
|
-
case "datetime":
|
|
15764
|
-
return Object.keys(DATETIME_OPERATORS);
|
|
15765
|
-
case "time":
|
|
15766
|
-
return Object.keys(TIME_OPERATORS);
|
|
15767
|
-
case "boolean":
|
|
15768
|
-
return Object.keys(BOOLEAN_OPERATORS);
|
|
15769
|
-
case "unknown":
|
|
15770
|
-
return [];
|
|
15771
|
-
}
|
|
15772
|
-
}
|
|
15773
|
-
function getSchemaForOperator(e, r) {
|
|
15774
|
-
if (!e || !r) return [];
|
|
15775
|
-
switch (numpyTypeToDataType(e)) {
|
|
15776
|
-
case "integer":
|
|
15777
|
-
return safeGet(NUMERIC_OPERATORS, r);
|
|
15778
|
-
case "number":
|
|
15779
|
-
return safeGet(NUMERIC_OPERATORS, r);
|
|
15780
|
-
case "string":
|
|
15781
|
-
return safeGet(STRING_OPERATORS, r);
|
|
15782
|
-
case "date":
|
|
15783
|
-
return safeGet(DATE_OPERATORS, r);
|
|
15784
|
-
case "datetime":
|
|
15785
|
-
return safeGet(DATETIME_OPERATORS, r);
|
|
15786
|
-
case "time":
|
|
15787
|
-
return safeGet(TIME_OPERATORS, r);
|
|
15788
|
-
case "boolean":
|
|
15789
|
-
return safeGet(BOOLEAN_OPERATORS, r);
|
|
15790
|
-
case "unknown":
|
|
15791
|
-
return [];
|
|
15792
|
-
}
|
|
15793
|
-
}
|
|
15794
|
-
function isConditionValueValid(e, r) {
|
|
15795
|
-
let c = [
|
|
15796
|
-
safeGet(BOOLEAN_OPERATORS, e),
|
|
15797
|
-
safeGet(DATE_OPERATORS, e),
|
|
15798
|
-
safeGet(TIME_OPERATORS, e),
|
|
15799
|
-
safeGet(DATETIME_OPERATORS, e),
|
|
15800
|
-
safeGet(NUMERIC_OPERATORS, e),
|
|
15801
|
-
safeGet(STRING_OPERATORS, e)
|
|
15802
|
-
].flat();
|
|
15803
|
-
return c.length === 0 ? true : c.some((e2) => e2.safeParse(r).success);
|
|
15804
|
-
}
|
|
15805
|
-
var safeGet = (e, r) => e[r] ? e[r] : [];
|
|
15806
|
-
const columnToFieldTypesSchema = array(tuple([
|
|
15807
|
-
string$1(),
|
|
15808
|
-
tuple([
|
|
15809
|
-
_enum(DATA_TYPES),
|
|
15810
|
-
string()
|
|
15811
|
-
])
|
|
15812
|
-
])), column_id = string().min(1, "Required").or(number()).transform((e) => e).describe(FieldOptions.of({
|
|
15813
|
-
label: "Column",
|
|
15814
|
-
special: "column_id"
|
|
15815
|
-
})), column_id_array = array(column_id.describe(FieldOptions.of({
|
|
15816
|
-
special: "column_id"
|
|
15817
|
-
}))).min(1, "At least one column is required").default([]).describe(FieldOptions.of({
|
|
15818
|
-
label: "Columns",
|
|
15819
|
-
minLength: 1
|
|
15820
|
-
}));
|
|
15821
|
-
var ColumnConversionTransformSchema = object({
|
|
15822
|
-
type: literal("column_conversion"),
|
|
15823
|
-
column_id,
|
|
15824
|
-
data_type: _enum(NUMPY_DTYPES).describe(FieldOptions.of({
|
|
15825
|
-
label: "Data type (numpy)"
|
|
15826
|
-
})).default("bool"),
|
|
15827
|
-
errors: _enum([
|
|
15828
|
-
"ignore",
|
|
15829
|
-
"raise"
|
|
15830
|
-
]).default("ignore").describe(FieldOptions.of({
|
|
15831
|
-
label: "Handle errors",
|
|
15832
|
-
special: "radio_group"
|
|
15833
|
-
}))
|
|
15834
|
-
}).describe(FieldOptions.of({})), RenameColumnTransformSchema = object({
|
|
15835
|
-
type: literal("rename_column"),
|
|
15836
|
-
column_id,
|
|
15837
|
-
new_column_id: string().min(1, "Required").transform((e) => e).describe(FieldOptions.of({
|
|
15838
|
-
label: "New column name",
|
|
15839
|
-
minLength: 1
|
|
15840
|
-
}))
|
|
15841
|
-
}), SortColumnTransformSchema = object({
|
|
15842
|
-
type: literal("sort_column"),
|
|
15843
|
-
column_id,
|
|
15844
|
-
ascending: boolean().describe(FieldOptions.of({
|
|
15845
|
-
label: "Ascending"
|
|
15846
|
-
})).default(true),
|
|
15847
|
-
na_position: _enum([
|
|
15848
|
-
"first",
|
|
15849
|
-
"last"
|
|
15850
|
-
]).describe(FieldOptions.of({
|
|
15851
|
-
label: "N/A position",
|
|
15852
|
-
special: "radio_group"
|
|
15853
|
-
})).default("last")
|
|
15854
|
-
});
|
|
15855
|
-
const FilterConditionSchema = object({
|
|
15856
|
-
column_id,
|
|
15857
|
-
operator: _enum(Object.keys(ALL_OPERATORS)).describe(FieldOptions.of({
|
|
15858
|
-
label: " "
|
|
15859
|
-
})),
|
|
15860
|
-
type: literal("condition").default("condition"),
|
|
15861
|
-
value: any().optional().describe(FieldOptions.of({
|
|
15862
|
-
label: "Value"
|
|
15863
|
-
})),
|
|
15864
|
-
negate: boolean().default(false)
|
|
15865
|
-
}).describe(FieldOptions.of({
|
|
15866
|
-
direction: "row",
|
|
15867
|
-
special: "column_filter"
|
|
15868
|
-
})), FilterGroupSchema = lazy$2(() => object({
|
|
15869
|
-
type: literal("group").default("group"),
|
|
15870
|
-
operator: _enum([
|
|
15871
|
-
"and",
|
|
15872
|
-
"or"
|
|
15873
|
-
]).default("and"),
|
|
15874
|
-
children: array(union([
|
|
15875
|
-
FilterConditionSchema,
|
|
15876
|
-
FilterGroupSchema
|
|
15877
|
-
])).default([]),
|
|
15878
|
-
negate: boolean().default(false)
|
|
15879
|
-
}));
|
|
15880
|
-
var FilterRowsTransformSchema = object({
|
|
15881
|
-
type: literal("filter_rows"),
|
|
15882
|
-
operation: _enum([
|
|
15883
|
-
"keep_rows",
|
|
15884
|
-
"remove_rows"
|
|
15885
|
-
]).default("keep_rows").describe(FieldOptions.of({
|
|
15886
|
-
special: "radio_group"
|
|
15887
|
-
})),
|
|
15888
|
-
where: array(FilterConditionSchema).min(1).describe(FieldOptions.of({
|
|
15889
|
-
label: "Value",
|
|
15890
|
-
minLength: 1
|
|
15891
|
-
})).default(() => [
|
|
15892
|
-
{
|
|
15893
|
-
column_id: "",
|
|
15894
|
-
operator: "==",
|
|
15895
|
-
value: "",
|
|
15896
|
-
type: "condition",
|
|
15897
|
-
negate: false
|
|
15898
|
-
}
|
|
15899
|
-
]).transform((e) => ({
|
|
15900
|
-
type: "group",
|
|
15901
|
-
operator: "and",
|
|
15902
|
-
children: e.filter((e2) => isConditionValueValid(e2.operator, e2.value)),
|
|
15903
|
-
negate: false
|
|
15904
|
-
}))
|
|
15905
|
-
}), GroupByTransformSchema = object({
|
|
15906
|
-
type: literal("group_by"),
|
|
15907
|
-
column_ids: array(column_id.describe(FieldOptions.of({
|
|
15908
|
-
special: "column_id"
|
|
15909
|
-
}))).default([]).describe(FieldOptions.of({
|
|
15910
|
-
label: "Group by columns",
|
|
15911
|
-
minLength: 1
|
|
15912
|
-
})),
|
|
15913
|
-
aggregation_column_ids: array(column_id.describe(FieldOptions.of({
|
|
15914
|
-
special: "column_id"
|
|
15915
|
-
}))).default([]).describe(FieldOptions.of({
|
|
15916
|
-
label: "Aggregate on columns"
|
|
15917
|
-
})),
|
|
15918
|
-
aggregation: _enum(AGGREGATION_FNS).default("count").describe(FieldOptions.of({
|
|
15919
|
-
label: "Aggregation"
|
|
15920
|
-
})),
|
|
15921
|
-
drop_na: boolean().default(false).describe(FieldOptions.of({
|
|
15922
|
-
label: "Drop N/A"
|
|
15923
|
-
}))
|
|
15924
|
-
}).describe(FieldOptions.of({})), AggregateTransformSchema = object({
|
|
15925
|
-
type: literal("aggregate"),
|
|
15926
|
-
column_ids: column_id_array,
|
|
15927
|
-
aggregations: array(_enum(AGGREGATION_FNS)).min(1, "At least one aggregation is required").default([
|
|
15928
|
-
"count"
|
|
15929
|
-
]).describe(FieldOptions.of({
|
|
15930
|
-
label: "Aggregations",
|
|
15931
|
-
minLength: 1
|
|
15932
|
-
}))
|
|
15933
|
-
}).describe(FieldOptions.of({
|
|
15934
|
-
direction: "row"
|
|
15935
|
-
}));
|
|
15936
|
-
const TransformTypeSchema = union([
|
|
15937
|
-
FilterRowsTransformSchema,
|
|
15938
|
-
object({
|
|
15939
|
-
type: literal("select_columns"),
|
|
15940
|
-
column_ids: column_id_array
|
|
15941
|
-
}),
|
|
15942
|
-
RenameColumnTransformSchema,
|
|
15943
|
-
ColumnConversionTransformSchema,
|
|
15944
|
-
SortColumnTransformSchema,
|
|
15945
|
-
GroupByTransformSchema,
|
|
15946
|
-
AggregateTransformSchema,
|
|
15947
|
-
object({
|
|
15948
|
-
type: literal("sample_rows"),
|
|
15949
|
-
n: number().positive().describe(FieldOptions.of({
|
|
15950
|
-
label: "Number of rows"
|
|
15951
|
-
})),
|
|
15952
|
-
seed: number().default(() => randomNumber()).describe(FieldOptions.of({
|
|
15953
|
-
label: "Re-sample",
|
|
15954
|
-
special: "random_number_button"
|
|
15955
|
-
})),
|
|
15956
|
-
replace: boolean().default(false).describe(FieldOptions.of({
|
|
15957
|
-
label: "Sample with replacement"
|
|
15958
|
-
}))
|
|
15959
|
-
}),
|
|
15960
|
-
object({
|
|
15961
|
-
type: literal("shuffle_rows"),
|
|
15962
|
-
seed: number().default(() => randomNumber()).describe(FieldOptions.of({
|
|
15963
|
-
label: "Re-shuffle",
|
|
15964
|
-
special: "random_number_button"
|
|
15965
|
-
}))
|
|
15966
|
-
}),
|
|
15967
|
-
object({
|
|
15968
|
-
type: literal("explode_columns"),
|
|
15969
|
-
column_ids: column_id_array
|
|
15970
|
-
}),
|
|
15971
|
-
object({
|
|
15972
|
-
type: literal("expand_dict"),
|
|
15973
|
-
column_id
|
|
15974
|
-
}),
|
|
15975
|
-
object({
|
|
15976
|
-
type: literal("unique"),
|
|
15977
|
-
column_ids: column_id_array,
|
|
15978
|
-
keep: _enum([
|
|
15979
|
-
"first",
|
|
15980
|
-
"last",
|
|
15981
|
-
"none",
|
|
15982
|
-
"any"
|
|
15983
|
-
]).default("first").describe(FieldOptions.of({
|
|
15984
|
-
label: "Keep"
|
|
15985
|
-
}))
|
|
15986
|
-
}).describe(FieldOptions.of({
|
|
15987
|
-
direction: "row"
|
|
15988
|
-
})),
|
|
15989
|
-
object({
|
|
15990
|
-
type: literal("pivot"),
|
|
15991
|
-
column_ids: column_id_array,
|
|
15992
|
-
index_column_ids: array(column_id.describe(FieldOptions.of({
|
|
15993
|
-
special: "column_id"
|
|
15994
|
-
}))).default([]).describe(FieldOptions.of({
|
|
15995
|
-
label: "Rows"
|
|
15996
|
-
})),
|
|
15997
|
-
value_column_ids: array(column_id.describe(FieldOptions.of({
|
|
15998
|
-
special: "column_id"
|
|
15999
|
-
}))).default([]).describe(FieldOptions.of({
|
|
16000
|
-
label: "Values",
|
|
16001
|
-
minLength: 1
|
|
16002
|
-
})),
|
|
16003
|
-
aggregation: _enum(AGGREGATION_FNS).default("sum").describe(FieldOptions.of({
|
|
16004
|
-
label: "Aggregation"
|
|
16005
|
-
}))
|
|
16006
|
-
}).describe(FieldOptions.of({}))
|
|
16007
|
-
]), TransformationsSchema = object({
|
|
16008
|
-
transforms: array(TransformTypeSchema)
|
|
16009
|
-
});
|
|
16010
16005
|
var import_compiler_runtime$57 = require_compiler_runtime(), maybeNumber = union([
|
|
16011
16006
|
number(),
|
|
16012
16007
|
nan(),
|
|
@@ -16321,11 +16316,11 @@ ${c}
|
|
|
16321
16316
|
_.pageSize,
|
|
16322
16317
|
_.pageIndex
|
|
16323
16318
|
], r[35] = w, r[36] = _.pageIndex, r[37] = _.pageSize, r[38] = e.cellHoverTexts, r[39] = e.cellStyles, r[40] = e.data, r[41] = e.lazy, r[42] = e.totalRows, r[43] = u, r[44] = y, r[45] = p, r[46] = B, r[47] = H) : H = r[47];
|
|
16324
|
-
let { data: W, error: G, isPending: q, isFetching:
|
|
16325
|
-
r[48] !==
|
|
16319
|
+
let { data: W, error: G, isPending: q, isFetching: ZW } = useAsyncData(z, H), Z = useAtomValue(downloadSizeLimitAtom), QW;
|
|
16320
|
+
r[48] !== Z || r[49] !== e ? (QW = async () => !Z || !e.showDownload || e.lazy || e.totalRows === 0 ? null : (await e.get_size_bytes({})).size_bytes ?? null, r[48] = Z, r[49] = e, r[50] = QW) : QW = r[50];
|
|
16326
16321
|
let $W = e.showDownload, eG = e.get_size_bytes, tG = e.lazy, nG = e.totalRows, rG = useDeepCompareMemoize(w), iG = useDeepCompareMemoize(p), aG;
|
|
16327
|
-
r[51] !==
|
|
16328
|
-
|
|
16322
|
+
r[51] !== Z || r[52] !== e.get_size_bytes || r[53] !== e.lazy || r[54] !== e.showDownload || r[55] !== e.totalRows || r[56] !== y || r[57] !== rG || r[58] !== iG ? (aG = [
|
|
16323
|
+
Z,
|
|
16329
16324
|
$W,
|
|
16330
16325
|
eG,
|
|
16331
16326
|
tG,
|
|
@@ -16333,8 +16328,8 @@ ${c}
|
|
|
16333
16328
|
y,
|
|
16334
16329
|
rG,
|
|
16335
16330
|
iG
|
|
16336
|
-
], r[51] =
|
|
16337
|
-
let { data: oG, isPending: sG } = useAsyncData(QW, aG), cG = oG ?? null, lG = !!
|
|
16331
|
+
], r[51] = Z, r[52] = e.get_size_bytes, r[53] = e.lazy, r[54] = e.showDownload, r[55] = e.totalRows, r[56] = y, r[57] = rG, r[58] = iG, r[59] = aG) : aG = r[59];
|
|
16332
|
+
let { data: oG, isPending: sG } = useAsyncData(QW, aG), cG = oG ?? null, lG = !!Z && e.showDownload && sG, uG;
|
|
16338
16333
|
r[60] !== w || r[61] !== u || r[62] !== y || r[63] !== p ? (uG = async (e2) => ({
|
|
16339
16334
|
rows: await loadTableData((await u({
|
|
16340
16335
|
page_number: e2,
|
|
@@ -16409,7 +16404,7 @@ ${c}
|
|
|
16409
16404
|
r[84] === O ? SG = r[85] : (SG = () => {
|
|
16410
16405
|
j(!O);
|
|
16411
16406
|
}, r[84] = O, r[85] = SG);
|
|
16412
|
-
let CG = SG, wG = (W == null ? void 0 : W.rows) ?? Arrays.EMPTY, TG = W == null ? void 0 : W.rawRows, EG =
|
|
16407
|
+
let CG = SG, wG = (W == null ? void 0 : W.rows) ?? Arrays.EMPTY, TG = W == null ? void 0 : W.rawRows, EG = ZW && !q, DG = (W == null ? void 0 : W.totalRows) ?? e.totalRows, OG = (W == null ? void 0 : W.cellStyles) ?? e.cellStyles, kG = (W == null ? void 0 : W.cellHoverTexts) ?? e.cellHoverTexts, AG;
|
|
16413
16408
|
r[86] !== l || r[87] !== _G || r[88] !== O || r[89] !== w || r[90] !== dG || r[91] !== _ || r[92] !== e || r[93] !== y || r[94] !== cG || r[95] !== lG || r[96] !== p || r[97] !== wG || r[98] !== TG || r[99] !== EG || r[100] !== DG || r[101] !== OG || r[102] !== kG || r[103] !== CG ? (AG = (0, import_jsx_runtime.jsx)(DataTableComponent, {
|
|
16414
16409
|
...e,
|
|
16415
16410
|
data: wG,
|
|
@@ -16457,7 +16452,7 @@ ${c}
|
|
|
16457
16452
|
}), r[116] = xG, r[117] = MG, r[118] = NG) : NG = r[118], NG;
|
|
16458
16453
|
});
|
|
16459
16454
|
LoadingDataTableComponent.displayName = "LoadingDataTableComponent";
|
|
16460
|
-
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l, sizeBytes: u, sizeBytesIsLoading: f, maxColumns: p, pagination: m, selection: h, value: g, showFilters: _, showDownload: v, showPageSizeSelector: y, showColumnExplorer: b, showRowExplorer: S, showChartBuilder: w, showDataTypes: T, rowHeaders: E, fieldTypes: O, paginationState: j, setPaginationState: M, download_as: I, columnSummaries: L, className: R, setValue: z, sorting: B, setSorting: H, showSearch: W, searchQuery: G, setSearchQuery: q, filters:
|
|
16455
|
+
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l, sizeBytes: u, sizeBytesIsLoading: f, maxColumns: p, pagination: m, selection: h, value: g, showFilters: _, showDownload: v, showPageSizeSelector: y, showColumnExplorer: b, showRowExplorer: S, showChartBuilder: w, showDataTypes: T, rowHeaders: E, fieldTypes: O, paginationState: j, setPaginationState: M, download_as: I, columnSummaries: L, className: R, setValue: z, sorting: B, setSorting: H, showSearch: W, searchQuery: G, setSearchQuery: q, filters: ZW, setFilters: Z, reloading: QW, freezeColumnsLeft: $W, freezeColumnsRight: eG, hiddenColumns: tG, textJustifyColumns: nG, wrappedColumns: rG, columnWidths: iG, headerTooltip: aG, totalColumns: oG, get_row_ids: sG, cellStyles: cG, hoverTemplate: lG, cellHoverTexts: uG, toggleDisplayHeader: dG, isChartBuilderOpen: fG, calculate_top_k_rows: pG, preview_column: mG, getRow: hG, cellId: gG, maxHeight: _G }) => {
|
|
16461
16456
|
let vG = (0, import_react.useId)(), { locale: yG } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), [bG, xG] = (0, import_react.useState)(0), { isPanelOpen: SG, isAnyPanelOpen: CG, togglePanel: wG, panelType: TG, setPanelType: EG } = usePanelOwnership(vG, gG), DG = isStaticNotebook(), OG = (0, import_react.useMemo)(() => {
|
|
16462
16457
|
if (!L || !O || !L.stats) return ColumnChartSpecModel.EMPTY;
|
|
16463
16458
|
let e2 = toFieldTypes(O);
|
|
@@ -16655,8 +16650,8 @@ ${c}
|
|
|
16655
16650
|
searchQuery: G,
|
|
16656
16651
|
onSearchQueryChange: q,
|
|
16657
16652
|
showFilters: _,
|
|
16658
|
-
filters:
|
|
16659
|
-
onFiltersChange:
|
|
16653
|
+
filters: ZW,
|
|
16654
|
+
onFiltersChange: Z,
|
|
16660
16655
|
calculateTopKRows: pG,
|
|
16661
16656
|
reloading: QW,
|
|
16662
16657
|
onRowSelectionChange: HG,
|
|
@@ -17034,7 +17029,7 @@ ${c}
|
|
|
17034
17029
|
fullWidth: p,
|
|
17035
17030
|
children: T
|
|
17036
17031
|
}), r[20] = p, r[21] = g, r[22] = c, r[23] = T, r[24] = E) : E = r[24], E;
|
|
17037
|
-
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
17032
|
+
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-BUC1MrsF.js"));
|
|
17038
17033
|
const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
|
|
17039
17034
|
label: string().nullish(),
|
|
17040
17035
|
data: string()
|
|
@@ -18790,10 +18785,10 @@ ${c}
|
|
|
18790
18785
|
], r[2] = w, r[3] = T);
|
|
18791
18786
|
let { data: E, error: O, isPending: j } = useAsyncData(S, T), M;
|
|
18792
18787
|
r[4] === E ? M = r[5] : (M = E || {}, r[4] = E, r[5] = M);
|
|
18793
|
-
let { url: I, total_rows: L, row_headers: R, field_types: z, column_types_per_step: B, python_code: H, sql_code: W } = M, G = z == null ? void 0 : z.length, [q,
|
|
18788
|
+
let { url: I, total_rows: L, row_headers: R, field_types: z, column_types_per_step: B, python_code: H, sql_code: W } = M, G = z == null ? void 0 : z.length, [q, ZW] = (0, import_react.useState)(p || EMPTY), Z = (0, import_react.useRef)(null), QW;
|
|
18794
18789
|
r[6] === f ? QW = r[7] : (QW = (e2) => {
|
|
18795
18790
|
var _a5;
|
|
18796
|
-
f && e2 !== "transform" && ((_a5 =
|
|
18791
|
+
f && e2 !== "transform" && ((_a5 = Z.current) == null ? void 0 : _a5.submit());
|
|
18797
18792
|
}, r[6] = f, r[7] = QW);
|
|
18798
18793
|
let $W = QW, eG = (0, import_react.useRef)(q), tG;
|
|
18799
18794
|
r[8] === q ? tG = r[9] : (tG = () => {
|
|
@@ -18804,15 +18799,15 @@ ${c}
|
|
|
18804
18799
|
let e2 = eG.current;
|
|
18805
18800
|
(p == null ? void 0 : p.transforms.length) !== e2.transforms.length && m(e2);
|
|
18806
18801
|
}, r[10] = m, r[11] = p == null ? void 0 : p.transforms.length, r[12] = nG) : nG = r[12];
|
|
18807
|
-
let
|
|
18808
|
-
r[13] !== E || r[14] !== m || r[15] !==
|
|
18802
|
+
let iG = p == null ? void 0 : p.transforms.length, aG;
|
|
18803
|
+
r[13] !== E || r[14] !== m || r[15] !== iG ? (aG = [
|
|
18809
18804
|
E,
|
|
18810
|
-
|
|
18805
|
+
iG,
|
|
18811
18806
|
eG,
|
|
18812
18807
|
m
|
|
18813
|
-
], r[13] = E, r[14] = m, r[15] =
|
|
18814
|
-
let
|
|
18815
|
-
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
18808
|
+
], r[13] = E, r[14] = m, r[15] = iG, r[16] = aG) : aG = r[16], (0, import_react.useEffect)(nG, aG);
|
|
18809
|
+
let oG;
|
|
18810
|
+
r[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oG = (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
18816
18811
|
value: "transform",
|
|
18817
18812
|
className: "text-xs py-1",
|
|
18818
18813
|
children: [
|
|
@@ -18821,9 +18816,9 @@ ${c}
|
|
|
18821
18816
|
}),
|
|
18822
18817
|
"Transform"
|
|
18823
18818
|
]
|
|
18824
|
-
}), r[17] =
|
|
18825
|
-
let
|
|
18826
|
-
r[18] === H ?
|
|
18819
|
+
}), r[17] = oG) : oG = r[17];
|
|
18820
|
+
let sG;
|
|
18821
|
+
r[18] === H ? sG = r[19] : (sG = H && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
18827
18822
|
value: "python-code",
|
|
18828
18823
|
className: "text-xs py-1",
|
|
18829
18824
|
children: [
|
|
@@ -18832,9 +18827,9 @@ ${c}
|
|
|
18832
18827
|
}),
|
|
18833
18828
|
"Python Code"
|
|
18834
18829
|
]
|
|
18835
|
-
}), r[18] = H, r[19] =
|
|
18836
|
-
let
|
|
18837
|
-
r[20] === W ?
|
|
18830
|
+
}), r[18] = H, r[19] = sG);
|
|
18831
|
+
let cG;
|
|
18832
|
+
r[20] === W ? cG = r[21] : (cG = W && (0, import_jsx_runtime.jsxs)(TabsTrigger, {
|
|
18838
18833
|
value: "sql-code",
|
|
18839
18834
|
className: "text-xs py-1",
|
|
18840
18835
|
children: [
|
|
@@ -18843,54 +18838,54 @@ ${c}
|
|
|
18843
18838
|
}),
|
|
18844
18839
|
"SQL Code"
|
|
18845
18840
|
]
|
|
18846
|
-
}), r[20] = W, r[21] =
|
|
18847
|
-
let cG;
|
|
18848
|
-
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (cG = (0, import_jsx_runtime.jsx)("div", {
|
|
18849
|
-
className: "grow"
|
|
18850
|
-
}), r[22] = cG) : cG = r[22];
|
|
18841
|
+
}), r[20] = W, r[21] = cG);
|
|
18851
18842
|
let lG;
|
|
18852
|
-
r[
|
|
18843
|
+
r[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (lG = (0, import_jsx_runtime.jsx)("div", {
|
|
18844
|
+
className: "grow"
|
|
18845
|
+
}), r[22] = lG) : lG = r[22];
|
|
18846
|
+
let uG;
|
|
18847
|
+
r[23] !== sG || r[24] !== cG ? (uG = (0, import_jsx_runtime.jsxs)(TabsList, {
|
|
18853
18848
|
className: "h-8",
|
|
18854
18849
|
children: [
|
|
18855
|
-
aG,
|
|
18856
18850
|
oG,
|
|
18857
18851
|
sG,
|
|
18858
|
-
cG
|
|
18852
|
+
cG,
|
|
18853
|
+
lG
|
|
18859
18854
|
]
|
|
18860
|
-
}), r[23] =
|
|
18861
|
-
let uG;
|
|
18862
|
-
r[26] === j ? uG = r[27] : (uG = j && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
18863
|
-
size: "small"
|
|
18864
|
-
}), r[26] = j, r[27] = uG);
|
|
18855
|
+
}), r[23] = sG, r[24] = cG, r[25] = uG) : uG = r[25];
|
|
18865
18856
|
let dG;
|
|
18866
|
-
r[
|
|
18857
|
+
r[26] === j ? dG = r[27] : (dG = j && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
18858
|
+
size: "small"
|
|
18859
|
+
}), r[26] = j, r[27] = dG);
|
|
18860
|
+
let fG;
|
|
18861
|
+
r[28] !== uG || r[29] !== dG ? (fG = (0, import_jsx_runtime.jsxs)("div", {
|
|
18867
18862
|
className: "flex items-center gap-2",
|
|
18868
18863
|
children: [
|
|
18869
|
-
|
|
18870
|
-
|
|
18864
|
+
uG,
|
|
18865
|
+
dG
|
|
18871
18866
|
]
|
|
18872
|
-
}), r[28] =
|
|
18873
|
-
let fG;
|
|
18874
|
-
r[31] !== m || r[32] !== p ? (fG = (e2) => {
|
|
18875
|
-
dequal(e2, p) || (m(e2), Z(e2));
|
|
18876
|
-
}, r[31] = m, r[32] = p, r[33] = fG) : fG = r[33];
|
|
18867
|
+
}), r[28] = uG, r[29] = dG, r[30] = fG) : fG = r[30];
|
|
18877
18868
|
let pG;
|
|
18878
|
-
r[
|
|
18869
|
+
r[31] !== m || r[32] !== p ? (pG = (e2) => {
|
|
18870
|
+
dequal(e2, p) || (m(e2), ZW(e2));
|
|
18871
|
+
}, r[31] = m, r[32] = p, r[33] = pG) : pG = r[33];
|
|
18872
|
+
let mG;
|
|
18873
|
+
r[34] !== B || r[35] !== c || r[36] !== g || r[37] !== q || r[38] !== f || r[39] !== pG ? (mG = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
18879
18874
|
value: "transform",
|
|
18880
18875
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
18881
18876
|
children: (0, import_jsx_runtime.jsx)(TransformPanel, {
|
|
18882
|
-
ref:
|
|
18877
|
+
ref: Z,
|
|
18883
18878
|
initialValue: q,
|
|
18884
18879
|
columns: c,
|
|
18885
|
-
onChange:
|
|
18886
|
-
onInvalidChange:
|
|
18880
|
+
onChange: pG,
|
|
18881
|
+
onInvalidChange: ZW,
|
|
18887
18882
|
getColumnValues: g,
|
|
18888
18883
|
columnTypesPerStep: B,
|
|
18889
18884
|
lazy: f
|
|
18890
18885
|
})
|
|
18891
|
-
}), r[34] = B, r[35] = c, r[36] = g, r[37] = q, r[38] = f, r[39] =
|
|
18892
|
-
let
|
|
18893
|
-
r[41] === H ?
|
|
18886
|
+
}), r[34] = B, r[35] = c, r[36] = g, r[37] = q, r[38] = f, r[39] = pG, r[40] = mG) : mG = r[40];
|
|
18887
|
+
let hG;
|
|
18888
|
+
r[41] === H ? hG = r[42] : (hG = H && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
18894
18889
|
value: "python-code",
|
|
18895
18890
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
18896
18891
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -18899,9 +18894,9 @@ ${c}
|
|
|
18899
18894
|
code: H,
|
|
18900
18895
|
language: "python"
|
|
18901
18896
|
})
|
|
18902
|
-
}), r[41] = H, r[42] =
|
|
18903
|
-
let
|
|
18904
|
-
r[43] === W ?
|
|
18897
|
+
}), r[41] = H, r[42] = hG);
|
|
18898
|
+
let gG;
|
|
18899
|
+
r[43] === W ? gG = r[44] : (gG = W && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
18905
18900
|
value: "sql-code",
|
|
18906
18901
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
18907
18902
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -18910,35 +18905,35 @@ ${c}
|
|
|
18910
18905
|
code: W,
|
|
18911
18906
|
language: "sql"
|
|
18912
18907
|
})
|
|
18913
|
-
}), r[43] = W, r[44] =
|
|
18914
|
-
let
|
|
18915
|
-
r[45] !== $W || r[46] !==
|
|
18908
|
+
}), r[43] = W, r[44] = gG);
|
|
18909
|
+
let _G;
|
|
18910
|
+
r[45] !== $W || r[46] !== fG || r[47] !== mG || r[48] !== hG || r[49] !== gG ? (_G = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
18916
18911
|
defaultValue: "transform",
|
|
18917
18912
|
onValueChange: $W,
|
|
18918
18913
|
children: [
|
|
18919
|
-
|
|
18920
|
-
pG,
|
|
18914
|
+
fG,
|
|
18921
18915
|
mG,
|
|
18922
|
-
hG
|
|
18916
|
+
hG,
|
|
18917
|
+
gG
|
|
18923
18918
|
]
|
|
18924
|
-
}), r[45] = $W, r[46] =
|
|
18925
|
-
let
|
|
18926
|
-
r[51] === O ?
|
|
18919
|
+
}), r[45] = $W, r[46] = fG, r[47] = mG, r[48] = hG, r[49] = gG, r[50] = _G) : _G = r[50];
|
|
18920
|
+
let vG;
|
|
18921
|
+
r[51] === O ? vG = r[52] : (vG = O && (0, import_jsx_runtime.jsx)(ErrorBanner, {
|
|
18927
18922
|
error: O
|
|
18928
|
-
}), r[51] = O, r[52] =
|
|
18929
|
-
let
|
|
18930
|
-
r[53] !== v || r[54] !== z || r[55] !== y || r[56] !== b || r[57] !== l || r[58] !== _ || r[59] !== u || r[60] !==
|
|
18923
|
+
}), r[51] = O, r[52] = vG);
|
|
18924
|
+
let yG = I || "", bG = L ?? 0, xG = G ?? 0, SG = R || Arrays.EMPTY, CG = L && L > 5 || false, wG;
|
|
18925
|
+
r[53] !== v || r[54] !== z || r[55] !== y || r[56] !== b || r[57] !== l || r[58] !== _ || r[59] !== u || r[60] !== yG || r[61] !== bG || r[62] !== xG || r[63] !== SG || r[64] !== CG ? (wG = (0, import_jsx_runtime.jsx)(LoadingDataTableComponent, {
|
|
18931
18926
|
label: null,
|
|
18932
18927
|
className: "rounded-b border-x border-b",
|
|
18933
|
-
data:
|
|
18928
|
+
data: yG,
|
|
18934
18929
|
hasStableRowId: false,
|
|
18935
|
-
totalRows:
|
|
18936
|
-
totalColumns:
|
|
18930
|
+
totalRows: bG,
|
|
18931
|
+
totalColumns: xG,
|
|
18937
18932
|
maxColumns: "all",
|
|
18938
18933
|
pageSize: l,
|
|
18939
18934
|
pagination: true,
|
|
18940
18935
|
fieldTypes: z,
|
|
18941
|
-
rowHeaders:
|
|
18936
|
+
rowHeaders: SG,
|
|
18942
18937
|
showDownload: u,
|
|
18943
18938
|
download_as: v,
|
|
18944
18939
|
get_size_bytes: y,
|
|
@@ -18948,7 +18943,7 @@ ${c}
|
|
|
18948
18943
|
showColumnSummaries: false,
|
|
18949
18944
|
showDataTypes: true,
|
|
18950
18945
|
get_column_summaries: getColumnSummaries,
|
|
18951
|
-
showPageSizeSelector:
|
|
18946
|
+
showPageSizeSelector: CG,
|
|
18952
18947
|
showColumnExplorer: false,
|
|
18953
18948
|
showRowExplorer: true,
|
|
18954
18949
|
showChartBuilder: false,
|
|
@@ -18957,15 +18952,15 @@ ${c}
|
|
|
18957
18952
|
selection: null,
|
|
18958
18953
|
lazy: false,
|
|
18959
18954
|
host: b
|
|
18960
|
-
}), r[53] = v, r[54] = z, r[55] = y, r[56] = b, r[57] = l, r[58] = _, r[59] = u, r[60] =
|
|
18961
|
-
let
|
|
18962
|
-
return r[66] !==
|
|
18955
|
+
}), r[53] = v, r[54] = z, r[55] = y, r[56] = b, r[57] = l, r[58] = _, r[59] = u, r[60] = yG, r[61] = bG, r[62] = xG, r[63] = SG, r[64] = CG, r[65] = wG) : wG = r[65];
|
|
18956
|
+
let TG;
|
|
18957
|
+
return r[66] !== _G || r[67] !== vG || r[68] !== wG ? (TG = (0, import_jsx_runtime.jsxs)("div", {
|
|
18963
18958
|
children: [
|
|
18964
|
-
gG,
|
|
18965
18959
|
_G,
|
|
18966
|
-
|
|
18960
|
+
vG,
|
|
18961
|
+
wG
|
|
18967
18962
|
]
|
|
18968
|
-
}), r[66] =
|
|
18963
|
+
}), r[66] = _G, r[67] = vG, r[68] = wG, r[69] = TG) : TG = r[69], TG;
|
|
18969
18964
|
});
|
|
18970
18965
|
DataFrameComponent.displayName = "DataFrameComponent";
|
|
18971
18966
|
function getColumnSummaries() {
|
|
@@ -19156,7 +19151,7 @@ ${c}
|
|
|
19156
19151
|
}, [
|
|
19157
19152
|
H
|
|
19158
19153
|
]);
|
|
19159
|
-
let q = (R == null ? void 0 : R.files) ?? [],
|
|
19154
|
+
let q = (R == null ? void 0 : R.files) ?? [], ZW = new Set(e.map((e2) => e2.path)), Z = l === "directory" || l === "all", QW = l === "file" || l === "all", $W = q.filter((e2) => Z && e2.is_directory || QW && !e2.is_directory), tG = $W.length > 0 && $W.every((e2) => ZW.has(e2.path));
|
|
19160
19155
|
if (!R && z) return (0, import_jsx_runtime.jsx)(Banner, {
|
|
19161
19156
|
kind: "danger",
|
|
19162
19157
|
children: z.message
|
|
@@ -19164,7 +19159,7 @@ ${c}
|
|
|
19164
19159
|
let nG = PathBuilder.guessDeliminator(c).deliminator, rG = e.map((e2) => (0, import_jsx_runtime.jsx)("li", {
|
|
19165
19160
|
children: e2.path
|
|
19166
19161
|
}, e2.id));
|
|
19167
|
-
function
|
|
19162
|
+
function iG(e2) {
|
|
19168
19163
|
var _a6;
|
|
19169
19164
|
if (v) return;
|
|
19170
19165
|
if (y(true), e2 === PARENT_DIRECTORY) {
|
|
@@ -19199,7 +19194,7 @@ ${c}
|
|
|
19199
19194
|
name: l2,
|
|
19200
19195
|
isDirectory: d2
|
|
19201
19196
|
});
|
|
19202
|
-
|
|
19197
|
+
ZW.has(c2) ? r(e.filter((e2) => e2.path !== c2)) : r(u ? [
|
|
19203
19198
|
...e,
|
|
19204
19199
|
f2
|
|
19205
19200
|
] : [
|
|
@@ -19212,7 +19207,7 @@ ${c}
|
|
|
19212
19207
|
function lG() {
|
|
19213
19208
|
let c2 = [];
|
|
19214
19209
|
for (let e2 of q) {
|
|
19215
|
-
if (!
|
|
19210
|
+
if (!Z && e2.is_directory || ZW.has(e2.path)) continue;
|
|
19216
19211
|
let r2 = oG({
|
|
19217
19212
|
path: e2.path,
|
|
19218
19213
|
name: e2.name,
|
|
@@ -19232,13 +19227,13 @@ ${c}
|
|
|
19232
19227
|
Icon: CornerLeftUp,
|
|
19233
19228
|
isSelected: false,
|
|
19234
19229
|
canSelect: false,
|
|
19235
|
-
onPrimary: () =>
|
|
19230
|
+
onPrimary: () => iG(PARENT_DIRECTORY),
|
|
19236
19231
|
onToggleSelect: null
|
|
19237
19232
|
},
|
|
19238
19233
|
...q.map((e2) => {
|
|
19239
19234
|
let r2 = e2.path;
|
|
19240
19235
|
r2.startsWith("//") && (r2 = r2.slice(1));
|
|
19241
|
-
let c2 =
|
|
19236
|
+
let c2 = Z && e2.is_directory || QW && !e2.is_directory, l2 = ZW.has(r2), u2 = e2.is_directory ? "directory" : guessFileIconType(e2.name), d2 = () => sG({
|
|
19242
19237
|
path: r2,
|
|
19243
19238
|
name: e2.name,
|
|
19244
19239
|
isDirectory: e2.is_directory
|
|
@@ -19249,7 +19244,7 @@ ${c}
|
|
|
19249
19244
|
Icon: FILE_ICON[u2],
|
|
19250
19245
|
isSelected: l2,
|
|
19251
19246
|
canSelect: c2,
|
|
19252
|
-
onPrimary: e2.is_directory ? () =>
|
|
19247
|
+
onPrimary: e2.is_directory ? () => iG(r2) : c2 ? d2 : () => {
|
|
19253
19248
|
},
|
|
19254
19249
|
onToggleSelect: c2 ? d2 : null
|
|
19255
19250
|
};
|
|
@@ -19323,7 +19318,7 @@ ${c}
|
|
|
19323
19318
|
className: "mt-2 w-full",
|
|
19324
19319
|
placeholder: g,
|
|
19325
19320
|
value: g,
|
|
19326
|
-
onChange: (e2) =>
|
|
19321
|
+
onChange: (e2) => iG(e2.target.value),
|
|
19327
19322
|
children: pG.map((e2) => (0, import_jsx_runtime.jsx)("option", {
|
|
19328
19323
|
value: e2,
|
|
19329
19324
|
children: e2
|
|
@@ -24812,9 +24807,9 @@ ${c}
|
|
|
24812
24807
|
return typeof S == "function" ? S : noop$2;
|
|
24813
24808
|
}, [
|
|
24814
24809
|
S
|
|
24815
|
-
]), q = (0, import_react.useRef)(null),
|
|
24810
|
+
]), q = (0, import_react.useRef)(null), ZW = (0, import_react.useRef)(null), Z = _slicedToArray((0, import_react.useReducer)(reducer$2, initialState), 2), QW = Z[0], $W = Z[1], eG = QW.isFocused, tG = QW.isFileDialogActive, nG = (0, import_react.useRef)(typeof window < "u" && window.isSecureContext && T && canUseFileSystemAccessAPI()), rG = function() {
|
|
24816
24811
|
!nG.current && tG && setTimeout(function() {
|
|
24817
|
-
|
|
24812
|
+
ZW.current && (ZW.current.files.length || ($W({
|
|
24818
24813
|
type: "closeDialog"
|
|
24819
24814
|
}), G()));
|
|
24820
24815
|
}, 300);
|
|
@@ -24824,7 +24819,7 @@ ${c}
|
|
|
24824
24819
|
window.removeEventListener("focus", rG, false);
|
|
24825
24820
|
};
|
|
24826
24821
|
}, [
|
|
24827
|
-
|
|
24822
|
+
ZW,
|
|
24828
24823
|
tG,
|
|
24829
24824
|
G,
|
|
24830
24825
|
nG
|
|
@@ -25015,13 +25010,13 @@ ${c}
|
|
|
25015
25010
|
}).catch(function(e3) {
|
|
25016
25011
|
isAbort(e3) ? (G(e3), $W({
|
|
25017
25012
|
type: "closeDialog"
|
|
25018
|
-
})) : isSecurityError(e3) ? (nG.current = false,
|
|
25013
|
+
})) : isSecurityError(e3) ? (nG.current = false, ZW.current ? (ZW.current.value = null, ZW.current.click()) : sG(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : sG(e3);
|
|
25019
25014
|
});
|
|
25020
25015
|
return;
|
|
25021
25016
|
}
|
|
25022
|
-
|
|
25017
|
+
ZW.current && ($W({
|
|
25023
25018
|
type: "openDialog"
|
|
25024
|
-
}), W(),
|
|
25019
|
+
}), W(), ZW.current.value = null, ZW.current.click());
|
|
25025
25020
|
}, [
|
|
25026
25021
|
$W,
|
|
25027
25022
|
W,
|
|
@@ -25111,10 +25106,10 @@ ${c}
|
|
|
25111
25106
|
onChange: vG(composeEventHandlers(l2, fG)),
|
|
25112
25107
|
onClick: vG(composeEventHandlers(u2, CG)),
|
|
25113
25108
|
tabIndex: -1
|
|
25114
|
-
}, c2,
|
|
25109
|
+
}, c2, ZW)), d2);
|
|
25115
25110
|
};
|
|
25116
25111
|
}, [
|
|
25117
|
-
|
|
25112
|
+
ZW,
|
|
25118
25113
|
c,
|
|
25119
25114
|
p,
|
|
25120
25115
|
fG,
|
|
@@ -25125,7 +25120,7 @@ ${c}
|
|
|
25125
25120
|
getRootProps: SG,
|
|
25126
25121
|
getInputProps: wG,
|
|
25127
25122
|
rootRef: q,
|
|
25128
|
-
inputRef:
|
|
25123
|
+
inputRef: ZW,
|
|
25129
25124
|
open: vG(pG)
|
|
25130
25125
|
});
|
|
25131
25126
|
}
|
|
@@ -25358,13 +25353,13 @@ ${c}
|
|
|
25358
25353
|
html: I
|
|
25359
25354
|
})
|
|
25360
25355
|
}), r[45] = I, r[46] = M, r[47] = G) : G = r[47];
|
|
25361
|
-
let q = w && "text-primary",
|
|
25362
|
-
r[48] !== q || r[49] !==
|
|
25356
|
+
let q = w && "text-primary", ZW = T && "text-destructive", Z;
|
|
25357
|
+
r[48] !== q || r[49] !== ZW ? (Z = cn(q, ZW), r[48] = q, r[49] = ZW, r[50] = Z) : Z = r[50];
|
|
25363
25358
|
let QW;
|
|
25364
|
-
r[51] ===
|
|
25359
|
+
r[51] === Z ? QW = r[52] : (QW = (0, import_jsx_runtime.jsx)(Upload, {
|
|
25365
25360
|
strokeWidth: 1.4,
|
|
25366
|
-
className:
|
|
25367
|
-
}), r[51] =
|
|
25361
|
+
className: Z
|
|
25362
|
+
}), r[51] = Z, r[52] = QW);
|
|
25368
25363
|
let $W = w && "text-primary", eG = T && "text-destructive", tG;
|
|
25369
25364
|
r[53] !== $W || r[54] !== eG ? (tG = cn($W, eG), r[53] = $W, r[54] = eG, r[55] = tG) : tG = r[55];
|
|
25370
25365
|
let nG;
|
|
@@ -25380,23 +25375,23 @@ ${c}
|
|
|
25380
25375
|
nG
|
|
25381
25376
|
]
|
|
25382
25377
|
}), r[58] = QW, r[59] = nG, r[60] = rG) : rG = r[60];
|
|
25383
|
-
let
|
|
25384
|
-
r[61] !== G || r[62] !== rG ? (
|
|
25378
|
+
let iG;
|
|
25379
|
+
r[61] !== G || r[62] !== rG ? (iG = (0, import_jsx_runtime.jsxs)("div", {
|
|
25385
25380
|
className: "flex flex-col items-center justify-center grow gap-3",
|
|
25386
25381
|
children: [
|
|
25387
25382
|
G,
|
|
25388
25383
|
rG
|
|
25389
25384
|
]
|
|
25390
|
-
}), r[61] = G, r[62] = rG, r[63] =
|
|
25385
|
+
}), r[61] = G, r[62] = rG, r[63] = iG) : iG = r[63];
|
|
25391
25386
|
let oG;
|
|
25392
|
-
r[64] !== W || r[65] !==
|
|
25387
|
+
r[64] !== W || r[65] !== iG || r[66] !== z || r[67] !== B ? (oG = (0, import_jsx_runtime.jsxs)("div", {
|
|
25393
25388
|
className: z,
|
|
25394
25389
|
...B,
|
|
25395
25390
|
children: [
|
|
25396
25391
|
W,
|
|
25397
|
-
|
|
25392
|
+
iG
|
|
25398
25393
|
]
|
|
25399
|
-
}), r[64] = W, r[65] =
|
|
25394
|
+
}), r[64] = W, r[65] = iG, r[66] = z, r[67] = B, r[68] = oG) : oG = r[68];
|
|
25400
25395
|
let sG;
|
|
25401
25396
|
r[69] !== f || r[70] !== u || r[71] !== M || r[72] !== j || r[73] !== p.length ? (sG = M ? (0, import_jsx_runtime.jsxs)("div", {
|
|
25402
25397
|
className: "flex flex-row gap-1",
|
|
@@ -25541,19 +25536,19 @@ ${c}
|
|
|
25541
25536
|
var _a5;
|
|
25542
25537
|
e2.key === "Enter" && (e2.ctrlKey || e2.metaKey) && (e2.preventDefault(), e2.stopPropagation(), (_a5 = j.current) == null ? void 0 : _a5.requestSubmit());
|
|
25543
25538
|
}, r[10] = q) : q = r[10];
|
|
25544
|
-
let
|
|
25545
|
-
r[11] === f ?
|
|
25539
|
+
let ZW;
|
|
25540
|
+
r[11] === f ? ZW = r[12] : (ZW = f === null ? null : (0, import_jsx_runtime.jsx)("div", {
|
|
25546
25541
|
className: "text-center",
|
|
25547
25542
|
children: renderHTML({
|
|
25548
25543
|
html: f
|
|
25549
25544
|
})
|
|
25550
|
-
}), r[11] = f, r[12] =
|
|
25551
|
-
let
|
|
25552
|
-
r[13] === L ?
|
|
25545
|
+
}), r[11] = f, r[12] = ZW);
|
|
25546
|
+
let Z;
|
|
25547
|
+
r[13] === L ? Z = r[14] : (Z = L != null && (0, import_jsx_runtime.jsx)(Banner, {
|
|
25553
25548
|
kind: "danger",
|
|
25554
25549
|
className: "rounded",
|
|
25555
25550
|
children: L ?? "Invalid input"
|
|
25556
|
-
}), r[13] = L, r[14] =
|
|
25551
|
+
}), r[13] = L, r[14] = Z);
|
|
25557
25552
|
let QW;
|
|
25558
25553
|
r[15] === c ? QW = r[16] : (QW = (0, import_jsx_runtime.jsx)("div", {
|
|
25559
25554
|
children: c
|
|
@@ -25584,25 +25579,25 @@ ${c}
|
|
|
25584
25579
|
}), r[23] = g, r[24] = eG, r[25] = tG, r[26] = I, r[27] = nG) : nG = r[27];
|
|
25585
25580
|
let rG;
|
|
25586
25581
|
r[28] !== _ || r[29] !== nG ? (rG = withTooltip(nG, _), r[28] = _, r[29] = nG, r[30] = rG) : rG = r[30];
|
|
25587
|
-
let
|
|
25588
|
-
r[31] !== rG || r[32] !== $W ? (
|
|
25582
|
+
let iG;
|
|
25583
|
+
r[31] !== rG || r[32] !== $W ? (iG = (0, import_jsx_runtime.jsxs)("div", {
|
|
25589
25584
|
className: "flex justify-end gap-2 font-code",
|
|
25590
25585
|
children: [
|
|
25591
25586
|
$W,
|
|
25592
25587
|
rG
|
|
25593
25588
|
]
|
|
25594
|
-
}), r[31] = rG, r[32] = $W, r[33] =
|
|
25589
|
+
}), r[31] = rG, r[32] = $W, r[33] = iG) : iG = r[33];
|
|
25595
25590
|
let oG;
|
|
25596
|
-
r[34] !==
|
|
25591
|
+
r[34] !== iG || r[35] !== G || r[36] !== ZW || r[37] !== Z || r[38] !== QW ? (oG = (0, import_jsx_runtime.jsxs)("div", {
|
|
25597
25592
|
className: G,
|
|
25598
25593
|
onKeyDown: q,
|
|
25599
25594
|
children: [
|
|
25600
|
-
Z,
|
|
25601
25595
|
ZW,
|
|
25596
|
+
Z,
|
|
25602
25597
|
QW,
|
|
25603
|
-
|
|
25598
|
+
iG
|
|
25604
25599
|
]
|
|
25605
|
-
}), r[34] =
|
|
25600
|
+
}), r[34] = iG, r[35] = G, r[36] = ZW, r[37] = Z, r[38] = QW, r[39] = oG) : oG = r[39];
|
|
25606
25601
|
let sG;
|
|
25607
25602
|
return r[40] !== oG || r[41] !== H ? (sG = (0, import_jsx_runtime.jsx)("form", {
|
|
25608
25603
|
className: "contents",
|
|
@@ -27302,7 +27297,7 @@ ${c}
|
|
|
27302
27297
|
setValue: e.setValue
|
|
27303
27298
|
});
|
|
27304
27299
|
}
|
|
27305
|
-
}, LazyPlot = (0, import_react.lazy)(() => import("./Plot-
|
|
27300
|
+
}, LazyPlot = (0, import_react.lazy)(() => import("./Plot-eTseCFf_.js").then((e) => ({
|
|
27306
27301
|
default: e.Plot
|
|
27307
27302
|
})));
|
|
27308
27303
|
const PlotlyComponent = (0, import_react.memo)((e) => {
|
|
@@ -27382,8 +27377,8 @@ ${c}
|
|
|
27382
27377
|
points: extractSunburstPoints(e2.points)
|
|
27383
27378
|
}));
|
|
27384
27379
|
}, r[29] = u, r[30] = G);
|
|
27385
|
-
let q = useEvent_default(G),
|
|
27386
|
-
r[31] === u ?
|
|
27380
|
+
let q = useEvent_default(G), ZW;
|
|
27381
|
+
r[31] === u ? ZW = r[32] : (ZW = (e2) => {
|
|
27387
27382
|
if (!e2 || !shouldHandleClickSelection(e2.points)) return;
|
|
27388
27383
|
let r2 = extractPoints(e2.points), c2 = extractIndices(e2.points);
|
|
27389
27384
|
u((e3) => ({
|
|
@@ -27394,8 +27389,8 @@ ${c}
|
|
|
27394
27389
|
points: r2,
|
|
27395
27390
|
indices: c2
|
|
27396
27391
|
}));
|
|
27397
|
-
}, r[31] = u, r[32] =
|
|
27398
|
-
let
|
|
27392
|
+
}, r[31] = u, r[32] = ZW);
|
|
27393
|
+
let Z = useEvent_default(ZW), QW;
|
|
27399
27394
|
r[33] === u ? QW = r[34] : (QW = (e2) => {
|
|
27400
27395
|
e2 && u((r2) => ({
|
|
27401
27396
|
...r2,
|
|
@@ -27407,7 +27402,7 @@ ${c}
|
|
|
27407
27402
|
}));
|
|
27408
27403
|
}, r[33] = u, r[34] = QW);
|
|
27409
27404
|
let $W = useEvent_default(QW), eG = m.frames ?? void 0, tG = useEvent_default(_temp3$3), nG;
|
|
27410
|
-
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !==
|
|
27405
|
+
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !== Z || r[42] !== $W || r[43] !== eG || r[44] !== tG || r[45] !== R ? (nG = (0, import_jsx_runtime.jsx)(LazyPlot, {
|
|
27411
27406
|
...m,
|
|
27412
27407
|
layout: h,
|
|
27413
27408
|
onRelayout: R,
|
|
@@ -27415,13 +27410,13 @@ ${c}
|
|
|
27415
27410
|
onTreemapClick: W,
|
|
27416
27411
|
onSunburstClick: q,
|
|
27417
27412
|
config: L,
|
|
27418
|
-
onClick:
|
|
27413
|
+
onClick: Z,
|
|
27419
27414
|
onSelected: $W,
|
|
27420
27415
|
className: "w-full",
|
|
27421
27416
|
useResizeHandler: true,
|
|
27422
27417
|
frames: eG,
|
|
27423
27418
|
onError: tG
|
|
27424
|
-
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] =
|
|
27419
|
+
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] = Z, r[42] = $W, r[43] = eG, r[44] = tG, r[45] = R, r[46] = nG) : nG = r[46], nG;
|
|
27425
27420
|
});
|
|
27426
27421
|
PlotlyComponent.displayName = "PlotlyComponent";
|
|
27427
27422
|
function _temp$8(e) {
|
|
@@ -27553,8 +27548,8 @@ ${c}
|
|
|
27553
27548
|
c[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = cn("relative grow overflow-hidden rounded-full bg-slate-200 dark:bg-accent/60", "data-[orientation=horizontal]:h-2 data-[orientation=horizontal]:w-full", "data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2"), c[17] = G) : G = c[17];
|
|
27554
27549
|
let q;
|
|
27555
27550
|
c[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = cn("absolute bg-blue-500 dark:bg-primary", "data-[orientation=horizontal]:h-full", "data-[orientation=vertical]:w-full", "data-disabled:opacity-50", "hover:cursor-grab active:cursor-grabbing"), c[18] = q) : q = c[18];
|
|
27556
|
-
let
|
|
27557
|
-
c[19] !== L || c[20] !== z || c[21] !== H ? (
|
|
27551
|
+
let ZW;
|
|
27552
|
+
c[19] !== L || c[20] !== z || c[21] !== H ? (ZW = (0, import_jsx_runtime.jsx)(Track, {
|
|
27558
27553
|
ref: E,
|
|
27559
27554
|
"data-testid": "track",
|
|
27560
27555
|
className: G,
|
|
@@ -27565,9 +27560,9 @@ ${c}
|
|
|
27565
27560
|
onPointerMove: z,
|
|
27566
27561
|
onPointerUp: H
|
|
27567
27562
|
})
|
|
27568
|
-
}), c[19] = L, c[20] = z, c[21] = H, c[22] =
|
|
27569
|
-
let
|
|
27570
|
-
c[23] !== p.setFalse || c[24] !== p.setTrue ? (
|
|
27563
|
+
}), c[19] = L, c[20] = z, c[21] = H, c[22] = ZW) : ZW = c[22];
|
|
27564
|
+
let Z;
|
|
27565
|
+
c[23] !== p.setFalse || c[24] !== p.setTrue ? (Z = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
27571
27566
|
asChild: true,
|
|
27572
27567
|
children: (0, import_jsx_runtime.jsx)(Thumb, {
|
|
27573
27568
|
"data-testid": "thumb",
|
|
@@ -27577,7 +27572,7 @@ ${c}
|
|
|
27577
27572
|
onMouseEnter: p.setTrue,
|
|
27578
27573
|
onMouseLeave: p.setFalse
|
|
27579
27574
|
})
|
|
27580
|
-
}), c[23] = p.setFalse, c[24] = p.setTrue, c[25] =
|
|
27575
|
+
}), c[23] = p.setFalse, c[24] = p.setTrue, c[25] = Z) : Z = c[25];
|
|
27581
27576
|
let QW;
|
|
27582
27577
|
c[26] !== m || c[27] !== u.value || c[28] !== d ? (QW = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
27583
27578
|
children: prettyScientificNumber(d(u.value[0]), {
|
|
@@ -27589,16 +27584,16 @@ ${c}
|
|
|
27589
27584
|
children: QW
|
|
27590
27585
|
}), c[30] = QW, c[31] = $W);
|
|
27591
27586
|
let eG;
|
|
27592
|
-
c[32] !== f || c[33] !==
|
|
27587
|
+
c[32] !== f || c[33] !== Z || c[34] !== $W ? (eG = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
27593
27588
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
27594
27589
|
delayDuration: 0,
|
|
27595
27590
|
open: f,
|
|
27596
27591
|
children: [
|
|
27597
|
-
|
|
27592
|
+
Z,
|
|
27598
27593
|
$W
|
|
27599
27594
|
]
|
|
27600
27595
|
})
|
|
27601
|
-
}), c[32] = f, c[33] =
|
|
27596
|
+
}), c[32] = f, c[33] = Z, c[34] = $W, c[35] = eG) : eG = c[35];
|
|
27602
27597
|
let tG;
|
|
27603
27598
|
c[36] !== p.setFalse || c[37] !== p.setTrue ? (tG = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
27604
27599
|
asChild: true,
|
|
@@ -27633,16 +27628,16 @@ ${c}
|
|
|
27633
27628
|
})
|
|
27634
27629
|
}), c[45] = f, c[46] = tG, c[47] = rG, c[48] = iG) : iG = c[48];
|
|
27635
27630
|
let aG;
|
|
27636
|
-
return c[49] !== M || c[50] !== u || c[51] !==
|
|
27631
|
+
return c[49] !== M || c[50] !== u || c[51] !== ZW || c[52] !== eG || c[53] !== iG || c[54] !== W ? (aG = (0, import_jsx_runtime.jsxs)(Root, {
|
|
27637
27632
|
ref: M,
|
|
27638
27633
|
className: W,
|
|
27639
27634
|
...u,
|
|
27640
27635
|
children: [
|
|
27641
|
-
|
|
27636
|
+
ZW,
|
|
27642
27637
|
eG,
|
|
27643
27638
|
iG
|
|
27644
27639
|
]
|
|
27645
|
-
}), c[49] = M, c[50] = u, c[51] =
|
|
27640
|
+
}), c[49] = M, c[50] = u, c[51] = ZW, c[52] = eG, c[53] = iG, c[54] = W, c[55] = aG) : aG = c[55], aG;
|
|
27646
27641
|
});
|
|
27647
27642
|
RangeSlider.displayName = Root.displayName;
|
|
27648
27643
|
var import_compiler_runtime$30 = require_compiler_runtime(), RangeSliderPlugin = class {
|
|
@@ -27693,14 +27688,14 @@ ${c}
|
|
|
27693
27688
|
}, q = (e2) => {
|
|
27694
27689
|
m && l(e2);
|
|
27695
27690
|
}, r[10] = m, r[11] = l, r[12] = G, r[13] = q) : (G = r[12], q = r[13]);
|
|
27696
|
-
let
|
|
27697
|
-
r[14] !== m || r[15] !== T || r[16] !== l || r[17] !== u ? (
|
|
27691
|
+
let ZW, Z;
|
|
27692
|
+
r[14] !== m || r[15] !== T || r[16] !== l || r[17] !== u ? (ZW = () => {
|
|
27698
27693
|
m && !dequal(T, u) && l(T);
|
|
27699
|
-
},
|
|
27694
|
+
}, Z = () => {
|
|
27700
27695
|
m && !dequal(T, u) && l(T);
|
|
27701
|
-
}, r[14] = m, r[15] = T, r[16] = l, r[17] = u, r[18] =
|
|
27696
|
+
}, r[14] = m, r[15] = T, r[16] = l, r[17] = u, r[18] = ZW, r[19] = Z) : (ZW = r[18], Z = r[19]);
|
|
27702
27697
|
let QW;
|
|
27703
|
-
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== p || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !==
|
|
27698
|
+
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== p || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !== ZW || r[31] !== Z || r[32] !== b ? (QW = (0, import_jsx_runtime.jsx)(RangeSlider, {
|
|
27704
27699
|
id: S,
|
|
27705
27700
|
className: W,
|
|
27706
27701
|
value: T,
|
|
@@ -27711,10 +27706,10 @@ ${c}
|
|
|
27711
27706
|
disabled: y,
|
|
27712
27707
|
onValueChange: G,
|
|
27713
27708
|
onValueCommit: q,
|
|
27714
|
-
onPointerUp:
|
|
27715
|
-
onMouseUp:
|
|
27709
|
+
onPointerUp: ZW,
|
|
27710
|
+
onMouseUp: Z,
|
|
27716
27711
|
valueMap: b
|
|
27717
|
-
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = p, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] =
|
|
27712
|
+
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = p, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] = ZW, r[31] = Z, r[32] = b, r[33] = QW) : QW = r[33];
|
|
27718
27713
|
let $W;
|
|
27719
27714
|
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? ($W = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
27720
27715
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
@@ -28446,7 +28441,7 @@ ${c}
|
|
|
28446
28441
|
return true;
|
|
28447
28442
|
}
|
|
28448
28443
|
}
|
|
28449
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
28444
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-CJug-VdR.js")), VegaPlugin = class {
|
|
28450
28445
|
constructor() {
|
|
28451
28446
|
__publicField(this, "tagName", "marimo-vega");
|
|
28452
28447
|
__publicField(this, "validator", object({
|
|
@@ -28585,7 +28580,7 @@ ${c}
|
|
|
28585
28580
|
children: e.children
|
|
28586
28581
|
});
|
|
28587
28582
|
}
|
|
28588
|
-
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-
|
|
28583
|
+
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-Cx0cRWLk.js"));
|
|
28589
28584
|
const DownloadPlugin = createPlugin("marimo-download").withData(object({
|
|
28590
28585
|
data: string(),
|
|
28591
28586
|
disabled: boolean().default(false),
|
|
@@ -28641,7 +28636,7 @@ ${c}
|
|
|
28641
28636
|
f
|
|
28642
28637
|
]
|
|
28643
28638
|
});
|
|
28644
|
-
}, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-
|
|
28639
|
+
}, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-B7b8DcJI.js")), ImageComparisonPlugin = class {
|
|
28645
28640
|
constructor() {
|
|
28646
28641
|
__publicField(this, "tagName", "marimo-image-comparison");
|
|
28647
28642
|
__publicField(this, "validator", object({
|
|
@@ -28775,7 +28770,7 @@ ${c}
|
|
|
28775
28770
|
themeVariables: e.data.theme_variables
|
|
28776
28771
|
});
|
|
28777
28772
|
}
|
|
28778
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
28773
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-DpAz2sTy.js").then(async (m) => {
|
|
28779
28774
|
await m.__tla;
|
|
28780
28775
|
return m;
|
|
28781
28776
|
})), import_compiler_runtime$22 = require_compiler_runtime();
|
|
@@ -30805,8 +30800,8 @@ ${c}
|
|
|
30805
30800
|
tex: e.host.textContent || e.host.innerHTML
|
|
30806
30801
|
});
|
|
30807
30802
|
}
|
|
30808
|
-
}, importKatex = once(async () => (await import("./katex-
|
|
30809
|
-
await import("./mhchem-
|
|
30803
|
+
}, importKatex = once(async () => (await import("./katex-Ci33kJVq.js")).default), importMhChem = once(async () => {
|
|
30804
|
+
await import("./mhchem-BDHjke3h.js");
|
|
30810
30805
|
}), macros = {
|
|
30811
30806
|
"\\mbox": "\\text{#1}"
|
|
30812
30807
|
};
|
|
@@ -31030,7 +31025,7 @@ ${c}
|
|
|
31030
31025
|
areRegExpsEqual: H,
|
|
31031
31026
|
areSetsEqual: W,
|
|
31032
31027
|
createIsNestedEqual: r2
|
|
31033
|
-
}),
|
|
31028
|
+
}), ZW = Object.freeze({
|
|
31034
31029
|
areArraysEqual: O,
|
|
31035
31030
|
areDatesEqual: j,
|
|
31036
31031
|
areMapsEqual: I,
|
|
@@ -31038,9 +31033,9 @@ ${c}
|
|
|
31038
31033
|
areRegExpsEqual: H,
|
|
31039
31034
|
areSetsEqual: G,
|
|
31040
31035
|
createIsNestedEqual: r2
|
|
31041
|
-
}),
|
|
31036
|
+
}), Z = T(q);
|
|
31042
31037
|
function QW(e3, r3) {
|
|
31043
|
-
return
|
|
31038
|
+
return Z(e3, r3, void 0);
|
|
31044
31039
|
}
|
|
31045
31040
|
var $W = T(l(q, {
|
|
31046
31041
|
createIsNestedEqual: function() {
|
|
@@ -31050,11 +31045,11 @@ ${c}
|
|
|
31050
31045
|
function eG(e3, r3) {
|
|
31051
31046
|
return $W(e3, r3, void 0);
|
|
31052
31047
|
}
|
|
31053
|
-
var tG = T(
|
|
31048
|
+
var tG = T(ZW);
|
|
31054
31049
|
function nG(e3, r3) {
|
|
31055
31050
|
return tG(e3, r3, /* @__PURE__ */ new WeakMap());
|
|
31056
31051
|
}
|
|
31057
|
-
var rG = T(l(
|
|
31052
|
+
var rG = T(l(ZW, {
|
|
31058
31053
|
createIsNestedEqual: function() {
|
|
31059
31054
|
return f;
|
|
31060
31055
|
}
|
|
@@ -31066,7 +31061,7 @@ ${c}
|
|
|
31066
31061
|
return T(l(q, e3(q)));
|
|
31067
31062
|
}
|
|
31068
31063
|
function oG(e3) {
|
|
31069
|
-
var r3 = T(l(
|
|
31064
|
+
var r3 = T(l(ZW, e3(ZW)));
|
|
31070
31065
|
return (function(e4, c2, l2) {
|
|
31071
31066
|
return l2 === void 0 && (l2 = /* @__PURE__ */ new WeakMap()), r3(e4, c2, l2);
|
|
31072
31067
|
});
|
|
@@ -31294,12 +31289,12 @@ ${c}
|
|
|
31294
31289
|
function G(e2) {
|
|
31295
31290
|
return e2 * 100 + "%";
|
|
31296
31291
|
}
|
|
31297
|
-
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2,
|
|
31292
|
+
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, ZW = (e2, r2, c2) => e2 < 0 ? r2 : c2, Z = (e2) => Math.max(0, e2), QW = (e2) => Math.max(0, e2), $W = (e2, r2, c2) => {
|
|
31298
31293
|
let { left: l2, height: u2, width: d2 } = r2, f2 = e2.top - (u2 - e2.height);
|
|
31299
31294
|
return {
|
|
31300
31295
|
left: l2,
|
|
31301
31296
|
width: d2,
|
|
31302
|
-
height:
|
|
31297
|
+
height: ZW(f2, e2.height, u2),
|
|
31303
31298
|
top: QW(f2)
|
|
31304
31299
|
};
|
|
31305
31300
|
}, eG = (e2, r2, c2) => {
|
|
@@ -31308,7 +31303,7 @@ ${c}
|
|
|
31308
31303
|
top: l2,
|
|
31309
31304
|
height: d2,
|
|
31310
31305
|
width: q(e2.left, e2.width, f2, c2),
|
|
31311
|
-
left:
|
|
31306
|
+
left: Z(u2)
|
|
31312
31307
|
};
|
|
31313
31308
|
}, tG = (e2, r2, c2) => {
|
|
31314
31309
|
let { top: l2, height: u2, width: d2 } = r2, f2 = e2.left - (d2 - e2.width);
|
|
@@ -31316,14 +31311,14 @@ ${c}
|
|
|
31316
31311
|
height: u2,
|
|
31317
31312
|
width: f2 < 0 ? e2.width : q(e2.left, e2.width, d2, c2),
|
|
31318
31313
|
top: QW(l2),
|
|
31319
|
-
left:
|
|
31314
|
+
left: Z(f2)
|
|
31320
31315
|
};
|
|
31321
31316
|
}, nG = (e2, r2, c2) => {
|
|
31322
31317
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
31323
31318
|
return {
|
|
31324
31319
|
width: f2,
|
|
31325
31320
|
left: u2,
|
|
31326
|
-
height:
|
|
31321
|
+
height: ZW(l2, e2.height, d2),
|
|
31327
31322
|
top: QW(l2)
|
|
31328
31323
|
};
|
|
31329
31324
|
}, rG = {
|
|
@@ -34227,7 +34222,7 @@ ${c}
|
|
|
34227
34222
|
], r[4] = c.bordered, r[5] = w, r[6] = T), (0, import_react.useEffect)(w, T);
|
|
34228
34223
|
let E = useIsDragging(), O, j;
|
|
34229
34224
|
r[7] === E ? (O = r[8], j = r[9]) : ({ isDragging: j, ...O } = E, r[7] = E, r[8] = O, r[9] = j);
|
|
34230
|
-
let M = !f && !v, I, L, R, z, B, H, W, G, q,
|
|
34225
|
+
let M = !f && !v, I, L, R, z, B, H, W, G, q, ZW, Z, QW, $W, eG, tG, nG, rG, iG, aG, oG, sG, cG, lG, uG, dG, fG;
|
|
34231
34226
|
if (r[10] !== u || r[11] !== S || r[12] !== O || r[13] !== g || r[14] !== M || r[15] !== m || r[16] !== j || r[17] !== f || r[18] !== c || r[19] !== d || r[20] !== l) {
|
|
34232
34227
|
let e2 = Maps.keyBy(c.cells, _temp2$3), p2;
|
|
34233
34228
|
r[47] !== c || r[48] !== l ? (p2 = (e3) => (r2) => {
|
|
@@ -34253,12 +34248,12 @@ ${c}
|
|
|
34253
34248
|
r[60] !== b2 || r[61] !== w2 || r[62] !== T2 ? (z = cn("w-full mx-auto bg-background flex-1 min-h-full", b2, w2, T2), r[60] = b2, r[61] = w2, r[62] = T2, r[63] = z) : z = r[63], r[64] === f ? B = r[65] : (B = f ? [
|
|
34254
34249
|
20,
|
|
34255
34250
|
20
|
|
34256
|
-
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true,
|
|
34251
|
+
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true, ZW = c.rowHeight, r[66] !== f || r[67] !== c || r[68] !== l ? (Z = (e3) => {
|
|
34257
34252
|
f || l({
|
|
34258
34253
|
...c,
|
|
34259
34254
|
cells: e3
|
|
34260
34255
|
});
|
|
34261
|
-
}, r[66] = f, r[67] = c, r[68] = l, r[69] =
|
|
34256
|
+
}, r[66] = f, r[67] = c, r[68] = l, r[69] = Z) : Z = r[69], r[70] === g ? QW = r[71] : (QW = g ? {
|
|
34262
34257
|
i: g.i,
|
|
34263
34258
|
w: g.w || 2,
|
|
34264
34259
|
h: g.h || 2
|
|
@@ -34308,10 +34303,10 @@ ${c}
|
|
|
34308
34303
|
}, r2.id) : (0, import_jsx_runtime.jsx)("div", {
|
|
34309
34304
|
children: m2
|
|
34310
34305
|
}, r2.id);
|
|
34311
|
-
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = m, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] =
|
|
34312
|
-
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29],
|
|
34306
|
+
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = m, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] = ZW, r[31] = Z, r[32] = QW, r[33] = $W, r[34] = eG, r[35] = tG, r[36] = nG, r[37] = rG, r[38] = iG, r[39] = aG, r[40] = oG, r[41] = sG, r[42] = cG, r[43] = lG, r[44] = uG, r[45] = dG, r[46] = fG;
|
|
34307
|
+
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29], ZW = r[30], Z = r[31], QW = r[32], $W = r[33], eG = r[34], tG = r[35], nG = r[36], rG = r[37], iG = r[38], aG = r[39], oG = r[40], sG = r[41], cG = r[42], lG = r[43], uG = r[44], dG = r[45], fG = r[46];
|
|
34313
34308
|
let pG;
|
|
34314
|
-
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !==
|
|
34309
|
+
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !== ZW || r[91] !== Z || r[92] !== QW || r[93] !== $W || r[94] !== eG || r[95] !== tG || r[96] !== nG || r[97] !== rG || r[98] !== iG || r[99] !== aG || r[100] !== oG || r[101] !== sG || r[102] !== cG || r[103] !== lG || r[104] !== uG || r[105] !== dG || r[106] !== fG ? (pG = (0, import_jsx_runtime.jsx)(I, {
|
|
34315
34310
|
breakpoint: lG,
|
|
34316
34311
|
layouts: uG,
|
|
34317
34312
|
style: dG,
|
|
@@ -34323,8 +34318,8 @@ ${c}
|
|
|
34323
34318
|
isBounded: W,
|
|
34324
34319
|
compactType: G,
|
|
34325
34320
|
preventCollision: q,
|
|
34326
|
-
rowHeight:
|
|
34327
|
-
onLayoutChange:
|
|
34321
|
+
rowHeight: ZW,
|
|
34322
|
+
onLayoutChange: Z,
|
|
34328
34323
|
droppingItem: QW,
|
|
34329
34324
|
onDrop: $W,
|
|
34330
34325
|
onDragStart: eG,
|
|
@@ -34336,7 +34331,7 @@ ${c}
|
|
|
34336
34331
|
isResizable: oG,
|
|
34337
34332
|
draggableHandle: sG,
|
|
34338
34333
|
children: cG
|
|
34339
|
-
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] =
|
|
34334
|
+
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] = ZW, r[91] = Z, r[92] = QW, r[93] = $W, r[94] = eG, r[95] = tG, r[96] = nG, r[97] = rG, r[98] = iG, r[99] = aG, r[100] = oG, r[101] = sG, r[102] = cG, r[103] = lG, r[104] = uG, r[105] = dG, r[106] = fG, r[107] = pG) : pG = r[107];
|
|
34340
34335
|
let mG = pG, hG, gG, _G, vG, yG, bG, xG;
|
|
34341
34336
|
if (r[108] !== u || r[109] !== mG || r[110] !== m || r[111] !== v || r[112] !== f || r[113] !== c || r[114] !== d || r[115] !== l || r[116] !== L) {
|
|
34342
34337
|
xG = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
@@ -34761,21 +34756,21 @@ ${c}
|
|
|
34761
34756
|
r[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = (0, import_jsx_runtime.jsx)(GripHorizontal, {
|
|
34762
34757
|
className: cn(DRAG_HANDLE, "cursor-move", "h-4 w-4 opacity-60 hover:opacity-100")
|
|
34763
34758
|
}), r[35] = q) : q = r[35];
|
|
34764
|
-
let
|
|
34765
|
-
r[36] === l ?
|
|
34759
|
+
let ZW;
|
|
34760
|
+
r[36] === l ? ZW = r[37] : (ZW = (0, import_jsx_runtime.jsx)(X, {
|
|
34766
34761
|
className: "h-4 w-4 opacity-60 hover:opacity-100",
|
|
34767
34762
|
onClick: () => l()
|
|
34768
|
-
}), r[36] = l, r[37] =
|
|
34769
|
-
let
|
|
34770
|
-
return r[38] !== M || r[39] !== G || r[40] !==
|
|
34763
|
+
}), r[36] = l, r[37] = ZW);
|
|
34764
|
+
let Z;
|
|
34765
|
+
return r[38] !== M || r[39] !== G || r[40] !== ZW || r[41] !== S ? (Z = (0, import_jsx_runtime.jsxs)("div", {
|
|
34771
34766
|
className: S,
|
|
34772
34767
|
children: [
|
|
34773
34768
|
M,
|
|
34774
34769
|
G,
|
|
34775
34770
|
q,
|
|
34776
|
-
|
|
34771
|
+
ZW
|
|
34777
34772
|
]
|
|
34778
|
-
}), r[38] = M, r[39] = G, r[40] =
|
|
34773
|
+
}), r[38] = M, r[39] = G, r[40] = ZW, r[41] = S, r[42] = Z) : Z = r[42], Z;
|
|
34779
34774
|
};
|
|
34780
34775
|
function isSidebarCell(e) {
|
|
34781
34776
|
var _a5;
|
|
@@ -36779,25 +36774,25 @@ ${c}
|
|
|
36779
36774
|
}, [
|
|
36780
36775
|
T,
|
|
36781
36776
|
M
|
|
36782
|
-
]), R = (0, import_react.useRef)(null), [z, B] = (0, import_react.useState)(null), [H, W] = (0, import_react.useState)(null), G = useLatestValue(h, Object.values(h)), q = useUniqueId("DndDescribedBy", r),
|
|
36777
|
+
]), R = (0, import_react.useRef)(null), [z, B] = (0, import_react.useState)(null), [H, W] = (0, import_react.useState)(null), G = useLatestValue(h, Object.values(h)), q = useUniqueId("DndDescribedBy", r), ZW = (0, import_react.useMemo)(() => j.getEnabled(), [
|
|
36783
36778
|
j
|
|
36784
|
-
]),
|
|
36779
|
+
]), Z = useMeasuringConfiguration(p), { droppableRects: QW, measureDroppableContainers: $W, measuringScheduled: eG } = useDroppableMeasuring(ZW, {
|
|
36785
36780
|
dragging: w,
|
|
36786
36781
|
dependencies: [
|
|
36787
36782
|
O.x,
|
|
36788
36783
|
O.y
|
|
36789
36784
|
],
|
|
36790
|
-
config:
|
|
36785
|
+
config: Z.droppable
|
|
36791
36786
|
}), tG = useCachedNode(E, T), nG = (0, import_react.useMemo)(() => H ? getEventCoordinates(H) : null, [
|
|
36792
36787
|
H
|
|
36793
|
-
]), rG = PG(), iG = useInitialRect(tG,
|
|
36788
|
+
]), rG = PG(), iG = useInitialRect(tG, Z.draggable.measure);
|
|
36794
36789
|
useLayoutShiftScrollCompensation({
|
|
36795
36790
|
activeNode: T == null ? null : E.get(T),
|
|
36796
36791
|
config: rG.layoutShiftCompensation,
|
|
36797
36792
|
initialRect: iG,
|
|
36798
|
-
measure:
|
|
36793
|
+
measure: Z.draggable.measure
|
|
36799
36794
|
});
|
|
36800
|
-
let aG = useRect(tG,
|
|
36795
|
+
let aG = useRect(tG, Z.draggable.measure, iG), oG = useRect(tG ? tG.parentElement : null), sG = (0, import_react.useRef)({
|
|
36801
36796
|
activatorEvent: null,
|
|
36802
36797
|
active: null,
|
|
36803
36798
|
activeNode: tG,
|
|
@@ -36812,7 +36807,7 @@ ${c}
|
|
|
36812
36807
|
scrollableAncestors: [],
|
|
36813
36808
|
scrollAdjustedTranslate: null
|
|
36814
36809
|
}), cG = j.getNodeFor((_a5 = sG.current.over) == null ? void 0 : _a5.id), lG = useDragOverlayMeasuring({
|
|
36815
|
-
measure:
|
|
36810
|
+
measure: Z.dragOverlay.measure
|
|
36816
36811
|
}), uG = lG.nodeRef.current ?? tG, dG = w ? lG.rect ?? aG : null, fG = !!(lG.nodeRef.current && lG.rect), pG = useRectDelta(fG ? null : aG), mG = useWindowRect(uG ? getWindow(uG) : null), hG = useScrollableAncestors(w ? cG ?? tG : null), gG = useRects(hG), _G = applyModifiers(m, {
|
|
36817
36812
|
transform: {
|
|
36818
36813
|
x: O.x - pG.x,
|
|
@@ -36836,7 +36831,7 @@ ${c}
|
|
|
36836
36831
|
active: L,
|
|
36837
36832
|
collisionRect: CG,
|
|
36838
36833
|
droppableRects: QW,
|
|
36839
|
-
droppableContainers:
|
|
36834
|
+
droppableContainers: ZW,
|
|
36840
36835
|
pointerCoordinates: vG
|
|
36841
36836
|
}) : null, TG = getFirstCollision(wG, "id"), [EG, DG] = (0, import_react.useState)(null), OG = adjustScale(fG ? _G : add(_G, xG), (EG == null ? void 0 : EG.rect) ?? null, aG), kG = (0, import_react.useRef)(null), AG = (0, import_react.useCallback)((e2, r2) => {
|
|
36842
36837
|
let { sensor: c2, options: l2 } = r2;
|
|
@@ -37057,7 +37052,7 @@ ${c}
|
|
|
37057
37052
|
measureDroppableContainers: $W,
|
|
37058
37053
|
scrollableAncestors: hG,
|
|
37059
37054
|
scrollableAncestorRects: gG,
|
|
37060
|
-
measuringConfiguration:
|
|
37055
|
+
measuringConfiguration: Z,
|
|
37061
37056
|
measuringScheduled: eG,
|
|
37062
37057
|
windowRect: mG
|
|
37063
37058
|
}), [
|
|
@@ -37075,7 +37070,7 @@ ${c}
|
|
|
37075
37070
|
$W,
|
|
37076
37071
|
hG,
|
|
37077
37072
|
gG,
|
|
37078
|
-
|
|
37073
|
+
Z,
|
|
37079
37074
|
eG,
|
|
37080
37075
|
mG
|
|
37081
37076
|
]), NG = (0, import_react.useMemo)(() => ({
|
|
@@ -37643,7 +37638,7 @@ ${c}
|
|
|
37643
37638
|
updateMeasurementsFor: I,
|
|
37644
37639
|
...m
|
|
37645
37640
|
}
|
|
37646
|
-
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef:
|
|
37641
|
+
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: ZW, listeners: Z, isDragging: QW, over: $W, setActivatorNodeRef: eG, transform: tG } = useDraggable({
|
|
37647
37642
|
id: f,
|
|
37648
37643
|
data: M,
|
|
37649
37644
|
attributes: {
|
|
@@ -37651,7 +37646,7 @@ ${c}
|
|
|
37651
37646
|
...c
|
|
37652
37647
|
},
|
|
37653
37648
|
disabled: O.draggable
|
|
37654
|
-
}), nG = useCombinedRefs(B,
|
|
37649
|
+
}), nG = useCombinedRefs(B, ZW), rG = !!H, iG = rG && !b && isValidIndex(v) && isValidIndex(w), aG = !T && QW, oG = iG ? (aG && iG ? tG : null) ?? (p ?? E)({
|
|
37655
37650
|
rects: S,
|
|
37656
37651
|
activeNodeRect: G,
|
|
37657
37652
|
activeIndex: v,
|
|
@@ -37717,14 +37712,14 @@ ${c}
|
|
|
37717
37712
|
isOver: z,
|
|
37718
37713
|
isSorting: rG,
|
|
37719
37714
|
isDragging: QW,
|
|
37720
|
-
listeners:
|
|
37715
|
+
listeners: Z,
|
|
37721
37716
|
node: R,
|
|
37722
37717
|
overIndex: w,
|
|
37723
37718
|
over: $W,
|
|
37724
37719
|
setNodeRef: nG,
|
|
37725
37720
|
setActivatorNodeRef: eG,
|
|
37726
37721
|
setDroppableNodeRef: B,
|
|
37727
|
-
setDraggableNodeRef:
|
|
37722
|
+
setDraggableNodeRef: ZW,
|
|
37728
37723
|
transform: fG ?? oG,
|
|
37729
37724
|
transition: pG()
|
|
37730
37725
|
};
|
|
@@ -38030,13 +38025,13 @@ ${c}
|
|
|
38030
38025
|
G
|
|
38031
38026
|
]
|
|
38032
38027
|
}), r[35] = c.id, r[36] = m, r[37] = y, r[38] = b, r[39] = I, r[40] = z, r[41] = B, r[42] = H, r[43] = W, r[44] = G, r[45] = q) : q = r[45];
|
|
38033
|
-
let
|
|
38034
|
-
if (!v && !g) return
|
|
38035
|
-
let
|
|
38036
|
-
r[46] ===
|
|
38028
|
+
let ZW = q;
|
|
38029
|
+
if (!v && !g) return ZW;
|
|
38030
|
+
let Z;
|
|
38031
|
+
r[46] === ZW ? Z = r[47] : (Z = (0, import_jsx_runtime.jsx)(ContextMenuTrigger, {
|
|
38037
38032
|
asChild: true,
|
|
38038
|
-
children:
|
|
38039
|
-
}), r[46] =
|
|
38033
|
+
children: ZW
|
|
38034
|
+
}), r[46] = ZW, r[47] = Z);
|
|
38040
38035
|
let QW;
|
|
38041
38036
|
r[48] === v ? QW = r[49] : (QW = v && (0, import_jsx_runtime.jsxs)(ContextMenuItem, {
|
|
38042
38037
|
onSelect: v,
|
|
@@ -38069,12 +38064,12 @@ ${c}
|
|
|
38069
38064
|
]
|
|
38070
38065
|
}), r[53] = QW, r[54] = eG, r[55] = tG) : tG = r[55];
|
|
38071
38066
|
let nG;
|
|
38072
|
-
return r[56] !==
|
|
38067
|
+
return r[56] !== Z || r[57] !== tG ? (nG = (0, import_jsx_runtime.jsxs)(ContextMenu, {
|
|
38073
38068
|
children: [
|
|
38074
|
-
|
|
38069
|
+
Z,
|
|
38075
38070
|
tG
|
|
38076
38071
|
]
|
|
38077
|
-
}), r[56] =
|
|
38072
|
+
}), r[56] = Z, r[57] = tG, r[58] = nG) : nG = r[58], nG;
|
|
38078
38073
|
}, InsertCellLine = (e) => {
|
|
38079
38074
|
let r = (0, import_compiler_runtime$10.c)(10), { position: c, onInsert: l } = e, u = c === "below" ? "bottom-0 translate-y-1/2" : "top-0 -translate-y-1/2", d;
|
|
38080
38075
|
r[0] === u ? d = r[1] : (d = cn("absolute left-0 right-0 z-30 flex h-3 items-center justify-center", "opacity-0 transition-opacity hover:opacity-80 focus-visible:opacity-100 focus:outline-hidden", u), r[0] = u, r[1] = d);
|
|
@@ -38128,8 +38123,8 @@ ${c}
|
|
|
38128
38123
|
...B,
|
|
38129
38124
|
...m
|
|
38130
38125
|
}, r[20] = M, r[21] = m, r[22] = B, r[23] = j, r[24] = H) : H = r[24];
|
|
38131
|
-
let W = H, G = E || T, q = S || w || T ? "border-blue-500" : "border-border hover:border-blue-500/50",
|
|
38132
|
-
r[25] !== l || r[26] !==
|
|
38126
|
+
let W = H, G = E || T, q = S || w || T ? "border-blue-500" : "border-border hover:border-blue-500/50", ZW = w && !T && "opacity-35", Z = T && "opacity-95 shadow-lg", QW;
|
|
38127
|
+
r[25] !== l || r[26] !== ZW || r[27] !== Z || r[28] !== q ? (QW = cn("border-2 shrink-0 rounded-md relative select-none bg-background cursor-pointer active:cursor-grabbing overflow-hidden transition-colors", q, ZW, Z, l), r[25] = l, r[26] = ZW, r[27] = Z, r[28] = q, r[29] = QW) : QW = r[29];
|
|
38133
38128
|
let $W;
|
|
38134
38129
|
r[30] !== c || r[31] !== M || r[32] !== O || r[33] !== I || r[34] !== G || r[35] !== j ? ($W = G && (0, import_jsx_runtime.jsx)("div", {
|
|
38135
38130
|
className: "flex p-6 box-border pointer-events-none mo-slide-content overflow-hidden",
|
|
@@ -38218,7 +38213,7 @@ ${c}
|
|
|
38218
38213
|
function _temp2$2(e) {
|
|
38219
38214
|
e.target === e.currentTarget && e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), e.currentTarget.click());
|
|
38220
38215
|
}
|
|
38221
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
38216
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-CYZAzXrV.js"));
|
|
38222
38217
|
const SlidesLayoutRenderer = ({ layout: e, setLayout: r, cells: c, mode: l }) => {
|
|
38223
38218
|
var _a5;
|
|
38224
38219
|
let u = useAtomValue(kioskModeAtom), d = l === "read" || u, f = useAtomValue(numColumnsAtom) > 1, [p, m] = (0, import_react.useState)(null), { slideCells: h, skippedIds: g, noOutputIds: _, slideTypes: v, startCellIndex: y } = (0, import_react.useMemo)(() => computeSlideCellsInfo(c, e), [
|
|
@@ -38603,7 +38598,7 @@ ${c}
|
|
|
38603
38598
|
let r2 = e2.scrollHeight - e2.clientHeight;
|
|
38604
38599
|
r2 - e2.scrollTop < 120 && (e2.scrollTop = r2);
|
|
38605
38600
|
}, r[2] = B) : B = r[2], (0, import_react.useLayoutEffect)(B), !L && isInternalCellName(S)) return null;
|
|
38606
|
-
let H, W, G, q,
|
|
38601
|
+
let H, W, G, q, ZW, Z, QW, $W, eG, tG;
|
|
38607
38602
|
if (r[3] !== w || r[4] !== M || r[5] !== I || r[6] !== L || r[7] !== _ || r[8] !== b || r[9] !== d || r[10] !== z || r[11] !== O || r[12] !== j || r[13] !== E || r[14] !== R || r[15] !== f || r[16] !== u || r[17] !== y || r[18] !== p || r[19] !== l) {
|
|
38608
38603
|
let e2 = I.toReversed(), g2 = e2.some(_temp$2), v2 = e2.findIndex(_temp2$1), S2;
|
|
38609
38604
|
r[30] === I ? S2 = r[31] : (S2 = () => I.filter(_temp3$1).map(_temp4$1).join("\n"), r[30] = I, r[31] = S2);
|
|
@@ -38649,7 +38644,7 @@ ${c}
|
|
|
38649
38644
|
})
|
|
38650
38645
|
})
|
|
38651
38646
|
]
|
|
38652
|
-
}), r[32] = B2, r[33] = L, r[34] = d, r[35] = z, r[36] = f, r[37] = u, r[38] = l, r[39] = W) : W = r[39], G = y ? "This console output is stale" : void 0, q = "console-output-area",
|
|
38647
|
+
}), r[32] = B2, r[33] = L, r[34] = d, r[35] = z, r[36] = f, r[37] = u, r[38] = l, r[39] = W) : W = r[39], G = y ? "This console output is stale" : void 0, q = "console-output-area", ZW = c, Z = R, QW = 0;
|
|
38653
38648
|
let nG2 = y && "marimo-output-stale", rG2 = L ? "p-5" : "p-3";
|
|
38654
38649
|
r[40] !== M || r[41] !== nG2 || r[42] !== rG2 ? ($W = cn("console-output-area overflow-hidden rounded-b-lg flex flex-col-reverse w-full gap-1 focus:outline-hidden", nG2, rG2, M), r[40] = M, r[41] = nG2, r[42] = rG2, r[43] = $W) : $W = r[43], r[44] === d ? eG = r[45] : (eG = d ? {
|
|
38655
38650
|
maxHeight: "none"
|
|
@@ -38682,8 +38677,8 @@ ${c}
|
|
|
38682
38677
|
wrapText: l
|
|
38683
38678
|
})
|
|
38684
38679
|
}, r2);
|
|
38685
|
-
}), r[3] = w, r[4] = M, r[5] = I, r[6] = L, r[7] = _, r[8] = b, r[9] = d, r[10] = z, r[11] = O, r[12] = j, r[13] = E, r[14] = R, r[15] = f, r[16] = u, r[17] = y, r[18] = p, r[19] = l, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] =
|
|
38686
|
-
} else H = r[20], W = r[21], G = r[22], q = r[23],
|
|
38680
|
+
}), r[3] = w, r[4] = M, r[5] = I, r[6] = L, r[7] = _, r[8] = b, r[9] = d, r[10] = z, r[11] = O, r[12] = j, r[13] = E, r[14] = R, r[15] = f, r[16] = u, r[17] = y, r[18] = p, r[19] = l, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] = ZW, r[25] = Z, r[26] = QW, r[27] = $W, r[28] = eG, r[29] = tG;
|
|
38681
|
+
} else H = r[20], W = r[21], G = r[22], q = r[23], ZW = r[24], Z = r[25], QW = r[26], $W = r[27], eG = r[28], tG = r[29];
|
|
38687
38682
|
let nG;
|
|
38688
38683
|
r[46] !== w || r[47] !== S ? (nG = (0, import_jsx_runtime.jsx)(NameCellContentEditable, {
|
|
38689
38684
|
value: S,
|
|
@@ -38691,11 +38686,11 @@ ${c}
|
|
|
38691
38686
|
className: "bg-(--slate-4) border-(--slate-4) hover:bg-(--slate-5) dark:border-(--sky-5) dark:bg-(--sky-6) dark:text-(--sky-12) text-(--slate-12) rounded-l rounded-br-lg absolute right-0 bottom-0 text-xs px-1.5 py-0.5 font-mono max-w-[75%] whitespace-nowrap overflow-hidden"
|
|
38692
38687
|
}), r[46] = w, r[47] = S, r[48] = nG) : nG = r[48];
|
|
38693
38688
|
let rG;
|
|
38694
|
-
r[49] !== nG || r[50] !== G || r[51] !== q || r[52] !==
|
|
38689
|
+
r[49] !== nG || r[50] !== G || r[51] !== q || r[52] !== ZW || r[53] !== Z || r[54] !== QW || r[55] !== $W || r[56] !== eG || r[57] !== tG ? (rG = (0, import_jsx_runtime.jsxs)("div", {
|
|
38695
38690
|
title: G,
|
|
38696
38691
|
"data-testid": q,
|
|
38697
|
-
ref:
|
|
38698
|
-
...
|
|
38692
|
+
ref: ZW,
|
|
38693
|
+
...Z,
|
|
38699
38694
|
tabIndex: QW,
|
|
38700
38695
|
className: $W,
|
|
38701
38696
|
style: eG,
|
|
@@ -38703,7 +38698,7 @@ ${c}
|
|
|
38703
38698
|
tG,
|
|
38704
38699
|
nG
|
|
38705
38700
|
]
|
|
38706
|
-
}), r[49] = nG, r[50] = G, r[51] = q, r[52] =
|
|
38701
|
+
}), r[49] = nG, r[50] = G, r[51] = q, r[52] = ZW, r[53] = Z, r[54] = QW, r[55] = $W, r[56] = eG, r[57] = tG, r[58] = rG) : rG = r[58];
|
|
38707
38702
|
let iG;
|
|
38708
38703
|
return r[59] !== H || r[60] !== W || r[61] !== rG ? (iG = (0, import_jsx_runtime.jsxs)("div", {
|
|
38709
38704
|
className: H,
|
|
@@ -39120,20 +39115,20 @@ ${c}
|
|
|
39120
39115
|
}, false), r[0] = _, r[1] = c, r[2] = y, r[3] = v, r[4] = f, r[5] = M) : M = r[5];
|
|
39121
39116
|
let I = M, L;
|
|
39122
39117
|
r[6] === f ? L = r[7] : (L = outputIsLoading(f), r[6] = f, r[7] = L);
|
|
39123
|
-
let R = L,
|
|
39124
|
-
if (r[8] !== b || r[9] !== m || r[10] !==
|
|
39118
|
+
let R = L, z = E && w !== "present", B;
|
|
39119
|
+
if (r[8] !== b || r[9] !== m || r[10] !== z || r[11] !== S || r[12] !== p) {
|
|
39125
39120
|
let e2 = new MarkdownLanguageAdapter().isSupported(b);
|
|
39126
|
-
|
|
39121
|
+
B = cn("marimo-cell", "hover-actions-parent empty:invisible", !S && !z ? publishedCellClasses({
|
|
39127
39122
|
errored: m,
|
|
39128
39123
|
stopped: p
|
|
39129
39124
|
}) : {
|
|
39130
39125
|
"has-error": m,
|
|
39131
39126
|
stopped: p,
|
|
39132
39127
|
borderless: e2
|
|
39133
|
-
}), r[8] = b, r[9] = m, r[10] =
|
|
39134
|
-
} else
|
|
39135
|
-
let
|
|
39136
|
-
if (w === "read" && S ||
|
|
39128
|
+
}), r[8] = b, r[9] = m, r[10] = z, r[11] = S, r[12] = p, r[13] = B;
|
|
39129
|
+
} else B = r[13];
|
|
39130
|
+
let H = B;
|
|
39131
|
+
if (w === "read" && S || z) {
|
|
39137
39132
|
let e2;
|
|
39138
39133
|
r[14] !== d || r[15] !== R || r[16] !== c || r[17] !== I ? (e2 = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
39139
39134
|
allowExpand: true,
|
|
@@ -39169,10 +39164,10 @@ ${c}
|
|
|
39169
39164
|
debuggerActive: false
|
|
39170
39165
|
}), r[31] = d, r[32] = l, r[33] = _, r[34] = T, r[35] = I, r[36] = O2) : O2 = r[36];
|
|
39171
39166
|
let M2;
|
|
39172
|
-
return r[37] !==
|
|
39167
|
+
return r[37] !== H || r[38] !== E2 || r[39] !== O2 || r[40] !== y2 || r[41] !== S2 || r[42] !== w2 ? (M2 = (0, import_jsx_runtime.jsxs)("div", {
|
|
39173
39168
|
tabIndex: -1,
|
|
39174
39169
|
ref: j,
|
|
39175
|
-
className:
|
|
39170
|
+
className: H,
|
|
39176
39171
|
...y2,
|
|
39177
39172
|
children: [
|
|
39178
39173
|
S2,
|
|
@@ -39180,7 +39175,7 @@ ${c}
|
|
|
39180
39175
|
E2,
|
|
39181
39176
|
O2
|
|
39182
39177
|
]
|
|
39183
|
-
}), r[37] =
|
|
39178
|
+
}), r[37] = H, r[38] = E2, r[39] = O2, r[40] = y2, r[41] = S2, r[42] = w2, r[43] = M2) : M2 = r[43], M2;
|
|
39184
39179
|
}
|
|
39185
39180
|
if (shouldHidePublishedCell({
|
|
39186
39181
|
errored: m,
|
|
@@ -39189,25 +39184,25 @@ ${c}
|
|
|
39189
39184
|
output: c,
|
|
39190
39185
|
showErrorTracebacks: O
|
|
39191
39186
|
})) return null;
|
|
39192
|
-
let
|
|
39193
|
-
r[44] !== d || r[45] !== T ? (
|
|
39194
|
-
let
|
|
39195
|
-
r[47] !== d || r[48] !== R || r[49] !== c || r[50] !== I || r[51] !==
|
|
39196
|
-
allowExpand:
|
|
39187
|
+
let W;
|
|
39188
|
+
r[44] !== d || r[45] !== T ? (W = cellDomProps(d, T), r[44] = d, r[45] = T, r[46] = W) : W = r[46];
|
|
39189
|
+
let G = w === "edit", q;
|
|
39190
|
+
r[47] !== d || r[48] !== R || r[49] !== c || r[50] !== I || r[51] !== G ? (q = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
39191
|
+
allowExpand: G,
|
|
39197
39192
|
output: c,
|
|
39198
39193
|
className: CSSClasses.outputArea,
|
|
39199
39194
|
cellId: d,
|
|
39200
39195
|
stale: I,
|
|
39201
39196
|
loading: R
|
|
39202
|
-
}), r[47] = d, r[48] = R, r[49] = c, r[50] = I, r[51] =
|
|
39203
|
-
let
|
|
39204
|
-
return r[53] !==
|
|
39197
|
+
}), r[47] = d, r[48] = R, r[49] = c, r[50] = I, r[51] = G, r[52] = q) : q = r[52];
|
|
39198
|
+
let Z;
|
|
39199
|
+
return r[53] !== H || r[54] !== W || r[55] !== q ? (Z = (0, import_jsx_runtime.jsx)("div", {
|
|
39205
39200
|
tabIndex: -1,
|
|
39206
39201
|
ref: j,
|
|
39207
|
-
className:
|
|
39208
|
-
...
|
|
39209
|
-
children:
|
|
39210
|
-
}), r[53] =
|
|
39202
|
+
className: H,
|
|
39203
|
+
...W,
|
|
39204
|
+
children: q
|
|
39205
|
+
}), r[53] = H, r[54] = W, r[55] = q, r[56] = Z) : Z = r[56], Z;
|
|
39211
39206
|
});
|
|
39212
39207
|
VerticalCell.displayName = "VerticalCell";
|
|
39213
39208
|
const VerticalLayoutPlugin = {
|
|
@@ -40264,7 +40259,7 @@ ${c}
|
|
|
40264
40259
|
});
|
|
40265
40260
|
}
|
|
40266
40261
|
const getMarimoVersion = () => store.get(marimoVersionAtom);
|
|
40267
|
-
var worker_default = "/assets/worker-
|
|
40262
|
+
var worker_default = "/assets/worker-Cl1KJG2_.js", DefaultWorkerFactory = class {
|
|
40268
40263
|
constructor(e = {}) {
|
|
40269
40264
|
this.url = e.workerUrl || this.getDefaultWorkerUrl(), this.name = e.workerName || getMarimoVersion();
|
|
40270
40265
|
}
|