@marimo-team/islands 0.21.2-dev8 → 0.21.2-dev80
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/{Combination-BBPQRrDo.js → Combination-B_FmEi05.js} +3 -3
- package/dist/{ConnectedDataExplorerComponent-D0GoOd_c.js → ConnectedDataExplorerComponent-CLLlotD4.js} +30 -29
- package/dist/{ImageComparisonComponent-BYQfAfSR.js → ImageComparisonComponent-BC00mJmw.js} +1 -1
- package/dist/{Plot-DfUav0o0.js → Plot-B1ahrLui.js} +1 -1
- package/dist/{_baseIsEqual-CvgsjYoW.js → _baseIsEqual-QWfxbVqg.js} +1 -1
- package/dist/_basePickBy-Do49cXgl.js +34 -0
- package/dist/{_baseUniq-BUFhl85h.js → _baseUniq-vFmWNipH.js} +1 -1
- package/dist/{any-language-editor-DlsjUw_l.js → any-language-editor-BBegsg-m.js} +22 -21
- package/dist/apl-e1B5LPEL.js +4 -0
- package/dist/{arc-DXxE-tFl.js → arc-CHF8PiiF.js} +2 -2
- package/dist/architecture-7HQA4BMR-KeUc82D1.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-Df0FNeBR.js → architectureDiagram-VXUJARFQ-CIl7H_7A.js} +19 -19
- package/dist/asciiarmor-B-gwgesP.js +4 -0
- package/dist/asn1-DF2ckRB4.js +4 -0
- package/dist/{blockDiagram-VD42YOAC-DszWqlLz.js → blockDiagram-VD42YOAC-Bxg4bo7H.js} +14 -14
- package/dist/brainfuck-4G-7_gq_.js +4 -0
- package/dist/{button-BKkuUpZh.js → button-B1ZgJ7Cc.js} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-Dyj8LoUX.js → c4Diagram-YG6GDRKO-k4TEDUb8.js} +6 -6
- package/dist/capabilities-DAGZLwa6.js +36 -0
- package/dist/{channel-CUFaIkTh.js → channel-CCR8wXOx.js} +1 -1
- package/dist/chat-ui-Dbn0M4Oo.js +7295 -0
- package/dist/{check-Diwc5emq.js → check-B2OoWw2h.js} +1 -1
- package/dist/{chunk-4BX2VUAB-CwMMQLZ_.js → chunk-4BX2VUAB-BwfrWBqN.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-CRwwZ2ED.js → chunk-4F5CHEZ2-BigWQaTs.js} +1 -1
- package/dist/{chunk-55IACEB6-Dj8CzJvE.js → chunk-55IACEB6-D8THf2mi.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-BkzUmppO.js → chunk-5FQGJX7Z-Cz2QbNIw.js} +1504 -2846
- package/dist/{chunk-ABZYJK2D-7QYXAAhe.js → chunk-ABZYJK2D-NPoevJcI.js} +3 -3
- package/dist/{chunk-ATLVNIR6-pmHPAPSd.js → chunk-ATLVNIR6-DAhC1FCG.js} +2 -2
- package/dist/{chunk-B2363JML-BuBMltZc.js → chunk-B2363JML-DOYwB798.js} +1 -1
- package/dist/{chunk-B4BG7PRW-Dbta9cTX.js → chunk-B4BG7PRW-BDmytgmO.js} +7 -7
- package/dist/{chunk-CVBHYZKI-D8iwHsLF.js → chunk-CVBHYZKI-B6xhgaBd.js} +1 -1
- package/dist/{chunk-DI55MBZ5-DyKB35wC.js → chunk-DI55MBZ5-C6iNEV8U.js} +6 -6
- package/dist/{chunk-EXTU4WIE-BRFl4iNd.js → chunk-EXTU4WIE-BtA6WdD4.js} +2 -2
- package/dist/{chunk-FMBD7UC4-XTL4xAvH.js → chunk-FMBD7UC4-CHdus51S.js} +1 -1
- package/dist/{chunk-FRFDVMJY-Bk2LD5Te.js → chunk-FRFDVMJY-Bo7Hv3UF.js} +1 -1
- package/dist/{chunk-HN2XXSSU-CzO5Phf0.js → chunk-HN2XXSSU-2Vfbq-kU.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-BkrY9SdL.js → chunk-JA3XYJ7Z-BeXqAsc9.js} +3 -3
- package/dist/{chunk-JZLCHNYA-Bk_Lil-q.js → chunk-JZLCHNYA-ibE7xTEx.js} +6 -6
- package/dist/{chunk-MI3HLSF2-DvCKDmpi.js → chunk-MI3HLSF2-Do0-KRc0.js} +1 -1
- package/dist/{chunk-N4CR4FBY-f5n6meOd.js → chunk-N4CR4FBY-CHAcubAf.js} +7 -7
- package/dist/{chunk-PL6DKKU2-DiFkzMfM.js → chunk-PL6DKKU2-D3wYz-iW.js} +1 -1
- package/dist/{chunk-QN33PNHL-CXfJywHv.js → chunk-QN33PNHL-CDWJY_kT.js} +2 -2
- package/dist/{chunk-QXUST7PY-D7-26sj3.js → chunk-QXUST7PY-CV37xRZd.js} +10 -10
- package/dist/{chunk-QZHKN3VN-CYbwZKgJ.js → chunk-QZHKN3VN-B_Mdb8GC.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-BRT9vd1R.js → chunk-S3R3BYOJ-CGlk8NH-.js} +6 -6
- package/dist/{chunk-SJTYNZTY-BvVkbShU.js → chunk-SJTYNZTY-Bauwp2-p.js} +1 -1
- package/dist/{chunk-TCCFYFTB-DqxhgXG0.js → chunk-TCCFYFTB-C5_FjmXA.js} +15 -14
- package/dist/{chunk-TQ3KTPDO-CPkEruAA.js → chunk-TQ3KTPDO-TjHW8xfv.js} +1 -1
- package/dist/{chunk-TZMSLE5B-DSfBOnzx.js → chunk-TZMSLE5B-DfY6C3FB.js} +3 -3
- package/dist/{chunk-UMXZTB3W-C4ypIY3V.js → chunk-UMXZTB3W-DdRiIIOF.js} +1 -1
- package/dist/classDiagram-2ON5EDUG-DbWOiPgs.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-COnXBrRA.js +30 -0
- package/dist/{clike-CLJYUAWw.js → clike-7lgyEYRk.js} +1 -1
- package/dist/clojure-CUybM11R.js +4 -0
- package/dist/{clone-CEQ-pda1.js → clone-BM9_Wkaf.js} +1 -1
- package/dist/cmake-BPjGcuDL.js +4 -0
- package/dist/cobol-BETk_nb6.js +4 -0
- package/dist/{code-block-37QAKDTI-DV_ZyoUh.js → code-block-37QAKDTI-DW3JC11U.js} +2 -2
- package/dist/coffeescript-CManZxXL.js +4 -0
- package/dist/commonlisp-DWkn7GW8.js +4 -0
- package/dist/{constants-CytQ_3LM.js → constants-LmeAawHa.js} +3 -3
- package/dist/{copy-DIK6DiIA.js → copy-B7XqFjF_.js} +14 -4
- package/dist/{cose-bilkent-S5V4N54A-BCDTZDay.js → cose-bilkent-S5V4N54A-DXHZkJKX.js} +2 -2
- package/dist/crystal-CCbg5EUH.js +4 -0
- package/dist/css-By8eo-XS.js +4 -0
- package/dist/cypher-DwfHg3nP.js +4 -0
- package/dist/d-Brs1wNbw.js +4 -0
- package/dist/{dagre-6UL2VRFP-DGEbtmgU.js → dagre-6UL2VRFP-B8UW0fXE.js} +16 -16
- package/dist/{dagre-BVnNvbvD.js → dagre-B3-rUlCT.js} +14 -14
- package/dist/{data-grid-overlay-editor-BD0BFHzy.js → data-grid-overlay-editor-CpL5Zajy.js} +3 -3
- package/dist/{diagram-PSM6KHXK-CG_usglE.js → diagram-PSM6KHXK-DGD-j1bM.js} +22 -22
- package/dist/{diagram-QEK2KX5R-CtGFEwzJ.js → diagram-QEK2KX5R-DgsT6ZW4.js} +17 -17
- package/dist/{diagram-S2PKOQOG-ClKAGmbv.js → diagram-S2PKOQOG-CDh5Ij8z.js} +17 -17
- package/dist/diff-DJIRmJ1g.js +4 -0
- package/dist/{dist-DEj2X26M.js → dist-1-E4bC9V.js} +2 -2
- package/dist/{dist-RNGn_-uD.js → dist-APyhcmvq.js} +1 -1
- package/dist/{dist-i-ud9aCA.js → dist-B5thW2rT.js} +1 -1
- package/dist/{dist-BpMlUdNO.js → dist-BFe8Nc_2.js} +3 -3
- package/dist/dist-BHGf2Zey.js +5 -0
- package/dist/dist-BImOGJZM.js +5 -0
- package/dist/{dist-lNe4i1Nm.js → dist-BJvk9DSp.js} +1 -1
- package/dist/{dist-DUretbKK.js → dist-BLrc9iNb.js} +2 -2
- package/dist/{dist-CSEWGuDq.js → dist-BYr4a-wE.js} +1 -1
- package/dist/dist-BbJfmCHJ.js +5 -0
- package/dist/{dist-C0Rnbr-_.js → dist-BiNtCiQ9.js} +4 -4
- package/dist/{dist-D4gcY469.js → dist-BrJQDkv_.js} +2 -2
- package/dist/dist-C0v-nFs_.js +8 -0
- package/dist/{dist-C4K7pumm.js → dist-C16JG-Ok.js} +2 -2
- package/dist/dist-C8N7114Z.js +5 -0
- package/dist/dist-C9TDg2aq.js +8 -0
- package/dist/{dist-gc9KgJuA.js → dist-CGH6Jw-c.js} +1 -1
- package/dist/{dist-BSfYc7vq.js → dist-CKVkWFcB.js} +2 -2
- package/dist/dist-CN4RKgNR.js +5 -0
- package/dist/{dist-DodLQWPg.js → dist-CQ3XmGIH.js} +1 -1
- package/dist/{dist-BGZ7TWS9.js → dist-CSiTW5NO.js} +3 -3
- package/dist/dist-CVOkf_3P.js +6 -0
- package/dist/{dist-CAKwXCWI.js → dist-CYuoqvce.js} +2 -2
- package/dist/dist-Cbkga3s5.js +5 -0
- package/dist/{dist-Ux6dL_VB.js → dist-Cm4SOB1A.js} +1 -1
- package/dist/dist-CwEBZkrQ.js +550 -0
- package/dist/{dist-D_-CGmlh.js → dist-CxczluAk.js} +2 -2
- package/dist/dist-D6YTv0Kj.js +5 -0
- package/dist/{dist-Bq5eYK43.js → dist-D75XqRaT.js} +2 -2
- package/dist/dist-D9vawryf.js +8 -0
- package/dist/{dist-CseYuPtL.js → dist-DFBjYgbq.js} +2 -2
- package/dist/{dist-Bq9zYwJs.js → dist-DUg5n_x5.js} +5 -5
- package/dist/dist-DasJgTvL.js +6 -0
- package/dist/{dist-D5NMgbbv.js → dist-DbyoYfBn.js} +2 -2
- package/dist/{dist-CPlGUbk-.js → dist-Dd9vDQtp.js} +2 -2
- package/dist/{dist-Cl5iM8xL.js → dist-Dk13KZ54.js} +3 -3
- package/dist/{dist-COpDrwi-.js → dist-Dl9_0tkc.js} +1 -1
- package/dist/dist-Ui51qXMz.js +8 -0
- package/dist/{dist-BFxYppVR.js → dist-XYBhoeSX.js} +4 -4
- package/dist/{dist-DERtJN02.js → dist-Y9GfSR6_.js} +2 -2
- package/dist/{dist-B9EjSb9T.js → dist-aW74oyUt.js} +1 -1
- package/dist/dist-d2msfN-B.js +5 -0
- package/dist/{dist-BUrWeMEP.js → dist-iM9VwH8Z.js} +1 -1
- package/dist/{dist-HoZO6brh.js → dist-uR-o9IVx.js} +2 -2
- package/dist/{dist-CDHl2i1x.js → dist-zGOEySUQ.js} +4 -4
- package/dist/{dockerfile-BxhYdLHL.js → dockerfile-DG6A2DdH.js} +1 -1
- package/dist/dtd-Dyiazv4N.js +4 -0
- package/dist/dylan-D8Fcw7NA.js +4 -0
- package/dist/ecl-CjKp8Vii.js +4 -0
- package/dist/eiffel-K9ViOX5r.js +4 -0
- package/dist/elm-B5NVtRco.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-DPMseVVp.js → erDiagram-Q2GNP2WA-CGK0SUdu.js} +15 -15
- package/dist/erlang-BnLzgk7R.js +4 -0
- package/dist/{error-banner-Dmi5ujan.js → error-banner-D-KBGvBj.js} +3 -3
- package/dist/esm-CCD9xN05.js +1587 -0
- package/dist/esm-CxoKu9RN.js +2805 -0
- package/dist/{factor-Png_OsVt.js → factor-Bq2mGIHt.js} +1 -1
- package/dist/factor-C7f9Jz5R.js +4 -0
- package/dist/{flowDiagram-NV44I4VS-BpAIFwW7.js → flowDiagram-NV44I4VS-PjhviPI_.js} +17 -17
- package/dist/forth-rGM8jLao.js +4 -0
- package/dist/fortran-B3acSe0i.js +4 -0
- package/dist/{ganttDiagram-JELNMOA3-DXYghZ9C.js → ganttDiagram-JELNMOA3-CUVtQqgT.js} +10 -10
- package/dist/gas-Bb1Vmv_N.js +4 -0
- package/dist/gherkin-C9Lyidgd.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-ChHUSAop.js → gitGraph-G5XIXVHT-B6b-Z3mr.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-CBL-7g3_.js → gitGraphDiagram-V2S2FVAM-CNdrlK1I.js} +17 -17
- package/dist/{glide-data-editor-pZyd9UJ_.js → glide-data-editor-DQEuWuu_.js} +94 -93
- package/dist/{graphlib-D18eZCT4.js → graphlib-CIQjMxKw.js} +6 -6
- package/dist/groovy-DQk6XcGH.js +4 -0
- package/dist/{hasIn-B9AbGLj3.js → hasIn-eLCPDloT.js} +5 -5
- package/dist/haskell-mV0Vw9gv.js +4 -0
- package/dist/haxe-DqxN89zH.js +5 -0
- package/dist/idl-ya8W561J.js +4 -0
- package/dist/{info-VBDWY6EO-CwyXEo8E.js → info-VBDWY6EO-DfFl0Z8H.js} +3 -3
- package/dist/infoDiagram-HS3SLOUP-DGimKb9k.js +30 -0
- package/dist/{types-CGc7peZV.js → input-B8CM-AuM.js} +208 -405
- package/dist/{isEmpty-C-xMag79.js → isEmpty-CI9akcsL.js} +2 -2
- package/dist/{isString-D-vNYDBA.js → isString-xiQUcgm4.js} +1 -1
- package/dist/{isSymbol-Dyt2NSnN.js → isSymbol-DFp8040B.js} +1 -1
- package/dist/javascript-CgqgptVu.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-D5BIjS4N.js → journeyDiagram-XKPGCS4Q-CyoESVVb.js} +7 -7
- package/dist/julia-CFQ-HusI.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-DhDkqxFB.js → kanban-definition-3W4ZIXB7-Doc2YV80.js} +12 -12
- package/dist/{katex-pyO_klYC.js → katex-qPqrBHZ8.js} +1 -1
- package/dist/{label-BbpGrh4j.js → label-e5-84vsp.js} +10 -10
- package/dist/{line-C1k1rG3Z.js → line-BWRi3U3S.js} +3 -3
- package/dist/{linear-DIp6l9sg.js → linear-DZ8_CGCd.js} +4 -4
- package/dist/livescript-D__3TmDo.js +4 -0
- package/dist/{loader-CABJs6GU.js → loader-C51Irhxm.js} +3 -3
- package/dist/lua-Bytcgj_W.js +4 -0
- package/dist/main.js +35383 -70488
- package/dist/mathematica-DJhvVKvl.js +4 -0
- package/dist/mbox-IGHPCjfR.js +4 -0
- package/dist/{memoize-Cs8aS5RW.js → memoize-zYM53m8l.js} +1 -1
- package/dist/{merge-NuyC7LN7.js → merge-CqBPpP0q.js} +1 -1
- package/dist/mermaid-4DMBBIKO-DQdI9xDR.js +6 -0
- package/dist/{mermaid-CrKqsE2j.js → mermaid-CzWpf81s.js} +50 -50
- package/dist/{mermaid-parser.core-OkWZ8nr-.js → mermaid-parser.core-CrrqF1ZZ.js} +8 -8
- package/dist/{mhchem-DckvwtV8.js → mhchem-BwoRNwg_.js} +1 -1
- package/dist/micromark-factory-space-DQCQsiYz.js +1341 -0
- package/dist/{min-ECVRnCdn.js → min-IJGSWMpU.js} +8 -8
- package/dist/{mindmap-definition-VGOIOE7T-BxQi78Vl.js → mindmap-definition-VGOIOE7T-L2ybicpO.js} +14 -14
- package/dist/mirc-tcwvVugm.js +4 -0
- package/dist/mllike-Dx91i62r.js +6 -0
- package/dist/modelica-_SRt-yU5.js +4 -0
- package/dist/mscgen-GZrGS9gt.js +6 -0
- package/dist/mumps-Cv3ygyod.js +4 -0
- package/dist/{now-BC2mX0ZT.js → now-CnuN5fN5.js} +1 -1
- package/dist/nsis-BU7GeGbI.js +4 -0
- package/dist/{nsis-BrAITej_.js → nsis-i9_sgigf.js} +1 -1
- package/dist/ntriples-CL-FCYXb.js +4 -0
- package/dist/{number-overlay-editor-CQrncFlP.js → number-overlay-editor-D2Y0RpcH.js} +1 -1
- package/dist/octave-Dc6_3DIu.js +4 -0
- package/dist/{once-BqS42WgZ.js → once-DjP4Kbhy.js} +1 -1
- package/dist/{ordinal-Dcvf4J1m.js → ordinal-B4zYMadD.js} +1 -1
- package/dist/oz-DpUAJCXf.js +4 -0
- package/dist/{packet-DYOGHKS2-C62XQjZh.js → packet-DYOGHKS2-DIf3Dotq.js} +3 -3
- package/dist/pascal-B17mncXs.js +4 -0
- package/dist/perl-BTpK97q9.js +4 -0
- package/dist/{pie-VRWISCQL-nfAKQJw3.js → pie-VRWISCQL-Dj_gvPcD.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-DfSJXUHa.js → pieDiagram-ADFJNKIX-x5w7q6Yp.js} +22 -22
- package/dist/pig-CFb638Ap.js +4 -0
- package/dist/powershell-Cxo-_2A5.js +4 -0
- package/dist/{precisionRound-BAc-kQ3q.js → precisionRound-C-DW449D.js} +1 -1
- package/dist/process-output-BD2HO0W_.js +28024 -0
- package/dist/properties-BPgT1xTB.js +4 -0
- package/dist/protobuf-BgHBaIIK.js +4 -0
- package/dist/pug-25-oS0SG.js +4 -0
- package/dist/{pug-CH-17az-.js → pug-BhE2JRSg.js} +1 -1
- package/dist/puppet-DarIr20S.js +4 -0
- package/dist/python-BqmOsBsi.js +4 -0
- package/dist/q-D3QJCTup.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-CAcVWXc-.js → quadrantDiagram-AYHSOK5B-D5j_5qG_.js} +5 -5
- package/dist/r-Cz_yBX4z.js +4 -0
- package/dist/{radar-ZZBFDIW7-lopS8_4j.js → radar-ZZBFDIW7-DXDVq3gi.js} +3 -3
- package/dist/{range-BKaWvVUE.js → range-DffmqG6L.js} +4 -3
- package/dist/{react-vega-C6kwcd86.js → react-vega-BBUxfZoV.js} +19 -19
- package/dist/react-vega-Cs3lfDw8.js +9 -0
- package/dist/{reduce-CqQo8ppc.js → reduce-CGwzfrDo.js} +5 -5
- package/dist/{requirementDiagram-UZGBJVZJ-BU7dwzFM.js → requirementDiagram-UZGBJVZJ-3SoJH6yP.js} +14 -14
- package/dist/rpm-DGOtYwAI.js +5 -0
- package/dist/ruby-DBZu4rPc.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-BVJnR4_b.js → sankeyDiagram-TZEHDZUN-fGkFNe5q.js} +5 -5
- package/dist/sas-Dd1D9qTq.js +4 -0
- package/dist/scheme-BmDjvTHX.js +4 -0
- package/dist/{sequenceDiagram-WL72ISMW-CQcFQTwX.js → sequenceDiagram-WL72ISMW-BE2uTn_d.js} +8 -8
- package/dist/shell-BL8zFSaj.js +4 -0
- package/dist/sieve-BAx2WqUP.js +4 -0
- package/dist/{slides-component-GkilRW21.js → slides-component-Cjo6LzW9.js} +3 -3
- package/dist/smalltalk-CYRzF7VV.js +4 -0
- package/dist/sparql-YWaDRO4A.js +4 -0
- package/dist/{spec-Bfvf9Hre.js → spec-UGFYIDJb.js} +12 -422
- package/dist/{src-CHUphWwL.js → src-BY0BGg6V.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-Dx9AIGDe.js → stateDiagram-FKZM4ZOC-Dmk9IAOx.js} +19 -19
- package/dist/stateDiagram-v2-4FDKWEC3-BGF0BvU6.js +29 -0
- package/dist/{step-BbmiiQdf.js → step-DGAGWg3y.js} +1 -1
- package/dist/stex-BvZqVamL.js +4 -0
- package/dist/style.css +1 -1
- package/dist/stylus-lYsyLFc1.js +4 -0
- package/dist/swift-ClQz9z1n.js +4 -0
- package/dist/tcl-B3jhsfqY.js +4 -0
- package/dist/textile-Cb1Dw7Aq.js +4 -0
- package/dist/{time-DFFVNc1Q.js → time-C_pvjzP0.js} +4 -4
- package/dist/{timeline-definition-IT6M3QCI-D8B3p7ID.js → timeline-definition-IT6M3QCI-CvB4yGrN.js} +4 -4
- package/dist/toDate-COI3hP-5.js +637 -0
- package/dist/toInteger-BUeg_O0F.js +15 -0
- package/dist/{toNumber-CbZ70FdN.js → toNumber-xFPoy1OI.js} +2 -2
- package/dist/{toString-DbIAWQpF.js → toString-CtXX84W6.js} +2 -2
- package/dist/toml-nHZhetdO.js +4 -0
- package/dist/{tooltip-CKG75XQa.js → tooltip-DnI4CwIS.js} +4 -4
- package/dist/{treemap-GDKQZRPO-CkR-5ai2.js → treemap-GDKQZRPO-CIG6WH-x.js} +3 -3
- package/dist/troff-DuJAGWKH.js +4 -0
- package/dist/ttcn-BxrcwP21.js +4 -0
- package/dist/ttcn-cfg-BAg_9dcc.js +4 -0
- package/dist/turtle-zCq949as.js +4 -0
- package/dist/types-BqLAaq-i.js +209 -0
- package/dist/{uniq-H2E5nMLq.js → uniq-CCKqEs7T.js} +1 -1
- package/dist/{useAsyncData-CEjJxwFB.js → useAsyncData-BtHYXgXF.js} +2 -2
- package/dist/useDeepCompareMemoize-9dXEtK7u.js +124 -0
- package/dist/useIframeCapabilities-CzVvBDe8.js +13 -0
- package/dist/useLifecycle-Be1LUuEg.js +427 -0
- package/dist/{useTheme-CPybHVFN.js → useTheme-5GTtjXjy.js} +4 -4
- package/dist/vb-De5hElus.js +4 -0
- package/dist/vbscript-Cypcpv4F.js +4 -0
- package/dist/{vega-component-CuPTCRp5.js → vega-component-BQNW4qnB.js} +198 -197
- package/dist/{vega-loader.browser-CQ-lnUkI.js → vega-loader.browser-DnqN5nbz.js} +3 -3
- package/dist/velocity-Di7l-yhe.js +4 -0
- package/dist/verilog-Bzi-S3g2.js +4 -0
- package/dist/vhdl-B0ZZITaW.js +4 -0
- package/dist/webidl-0sviiRcN.js +4 -0
- package/dist/xquery-B4qMVWaB.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-XO8FiQjU.js → xychartDiagram-PRI3JC2R-BbEInSqY.js} +13 -13
- package/dist/yacas-Jt25Fuv8.js +4 -0
- package/dist/z80-CrcbYzmp.js +4 -0
- package/package.json +2 -1
- package/src/__mocks__/notebook.ts +9 -9
- package/src/__mocks__/requests.ts +2 -1
- package/src/__tests__/branded.ts +20 -0
- package/src/__tests__/setup.ts +15 -0
- package/src/components/app-config/__tests__/get-dirty-values.test.ts +1 -1
- package/src/components/app-config/get-dirty-values.ts +100 -0
- package/src/components/app-config/user-config-form.tsx +6 -101
- package/src/components/data-table/TableActions.tsx +8 -2
- package/src/components/data-table/__tests__/columns.test.tsx +138 -0
- package/src/components/data-table/__tests__/data-table.test.tsx +63 -0
- package/src/components/data-table/__tests__/utils.test.ts +138 -1
- package/src/components/data-table/charts/__tests__/storage.test.ts +7 -7
- package/src/components/data-table/columns.tsx +44 -4
- package/src/components/data-table/context-menu.tsx +9 -5
- package/src/components/data-table/data-table.tsx +13 -31
- package/src/components/data-table/filters.ts +1 -0
- package/src/components/data-table/hooks/use-scroll-container-height.ts +97 -0
- package/src/components/data-table/range-focus/__tests__/atoms.test.ts +8 -2
- package/src/components/data-table/range-focus/__tests__/test-utils.ts +2 -0
- package/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts +119 -0
- package/src/components/data-table/range-focus/__tests__/utils.test.ts +82 -8
- package/src/components/data-table/range-focus/atoms.ts +2 -2
- package/src/components/data-table/range-focus/use-cell-range-selection.ts +19 -0
- package/src/components/data-table/range-focus/utils.ts +50 -12
- package/src/components/data-table/renderers.tsx +103 -46
- package/src/components/data-table/types.ts +21 -0
- package/src/components/data-table/utils.ts +87 -0
- package/src/components/datasources/datasources.tsx +45 -0
- package/src/components/editor/__tests__/data-attributes.test.tsx +8 -8
- package/src/components/editor/ai/__tests__/completion-utils.test.ts +15 -15
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +2 -2
- package/src/components/editor/connections/storage/as-code.ts +2 -2
- package/src/components/editor/file-tree/file-explorer.tsx +16 -2
- package/src/components/editor/file-tree/file-viewer.tsx +17 -3
- package/src/components/editor/navigation/__tests__/clipboard.test.ts +2 -2
- package/src/components/editor/navigation/__tests__/selection.test.ts +7 -6
- package/src/components/editor/navigation/__tests__/state.test.ts +8 -7
- package/src/components/editor/output/MarimoErrorOutput.tsx +7 -7
- package/src/components/editor/output/__tests__/traceback.test.tsx +4 -4
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +4 -4
- package/src/components/editor/package-alert.tsx +1 -1
- package/src/components/editor/renderers/vertical-layout/useFocusFirstEditor.ts +8 -1
- package/src/components/markdown/markdown-renderer.tsx +18 -2
- package/src/components/storage/storage-file-viewer.tsx +35 -1
- package/src/components/storage/storage-inspector.tsx +9 -4
- package/src/components/storage/storage-snippets.ts +3 -3
- package/src/components/tracing/tracing.tsx +3 -1
- package/src/components/ui/range-slider.tsx +108 -1
- package/src/core/ai/__tests__/staged-cells.test.ts +9 -8
- package/src/core/ai/context/providers/__tests__/cell-output.test.ts +31 -31
- package/src/core/ai/context/providers/__tests__/datasource.test.ts +3 -3
- package/src/core/ai/context/providers/__tests__/tables.test.ts +3 -2
- package/src/core/ai/context/providers/__tests__/variable.test.ts +84 -63
- package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +10 -9
- package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +6 -6
- package/src/core/ai/tools/edit-notebook-tool.ts +3 -3
- package/src/core/cells/__tests__/add-missing-import.test.ts +3 -3
- package/src/core/cells/__tests__/apply-transaction.test.ts +279 -0
- package/src/core/cells/__tests__/cells.test.ts +198 -135
- package/src/core/cells/__tests__/document-changes.test.ts +572 -0
- package/src/core/cells/__tests__/document-roundtrip.test.ts +376 -0
- package/src/core/cells/__tests__/focus.test.ts +5 -4
- package/src/core/cells/__tests__/logs.test.ts +13 -12
- package/src/core/cells/__tests__/pending-delete-service.test.tsx +3 -3
- package/src/core/cells/__tests__/runs.test.ts +29 -24
- package/src/core/cells/__tests__/scrollCellIntoView.test.ts +8 -7
- package/src/core/cells/__tests__/session.test.ts +23 -22
- package/src/core/cells/cells.ts +31 -5
- package/src/core/cells/document-changes.ts +644 -0
- package/src/core/cells/ids.ts +5 -5
- package/src/core/cells/logs.ts +2 -2
- package/src/core/cells/runs.ts +6 -8
- package/src/core/codemirror/__tests__/format.test.ts +34 -36
- package/src/core/codemirror/__tests__/setup.test.ts +2 -2
- package/src/core/codemirror/cells/__tests__/extensions.test.ts +114 -0
- package/src/core/codemirror/cells/__tests__/traceback-decorations.test.ts +33 -32
- package/src/core/codemirror/cells/extensions.ts +66 -23
- package/src/core/codemirror/completion/__tests__/keymap.test.ts +15 -35
- package/src/core/codemirror/completion/keymap.ts +14 -4
- package/src/core/codemirror/copilot/__tests__/getCodes.test.ts +12 -13
- package/src/core/codemirror/language/__tests__/utils.test.ts +3 -3
- package/src/core/codemirror/language/embedded/__tests__/embedded-python.test.ts +7 -8
- package/src/core/codemirror/language/languages/python.ts +4 -0
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +4 -3
- package/src/core/codemirror/lsp/notebook-lsp.ts +28 -2
- package/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts +7 -6
- package/src/core/codemirror/reactive-references/analyzer.ts +2 -2
- package/src/core/codemirror/rtc/loro/__tests__/sync.test.ts +52 -0
- package/src/core/codemirror/rtc/loro/sync.ts +1 -0
- package/src/core/datasets/__tests__/data-source.test.ts +93 -7
- package/src/core/datasets/data-source-connections.ts +44 -0
- package/src/core/datasets/request-registry.ts +13 -0
- package/src/core/datasets/state.ts +1 -1
- package/src/core/edit-app.tsx +0 -5
- package/src/core/errors/__tests__/errors.test.ts +2 -1
- package/src/core/export/__tests__/hooks.test.ts +37 -36
- package/src/core/islands/bridge.ts +2 -1
- package/src/core/islands/main.ts +5 -9
- package/src/core/kernel/__tests__/handlers.test.ts +5 -4
- package/src/core/kernel/handlers.ts +7 -4
- package/src/core/kernel/messages.ts +2 -0
- package/src/core/network/DeferredRequestRegistry.ts +2 -2
- package/src/core/network/__tests__/CachingRequestRegistry.test.ts +9 -10
- package/src/core/network/__tests__/DeferredRequestRegistry.test.ts +4 -6
- package/src/core/network/requests-lazy.ts +2 -1
- package/src/core/network/requests-network.ts +10 -2
- package/src/core/network/requests-static.ts +2 -1
- package/src/core/network/requests-toasting.tsx +2 -1
- package/src/core/network/types.ts +7 -2
- package/src/core/static/__tests__/virtual-file-tracker.test.ts +8 -8
- package/src/core/static/virtual-file-tracker.ts +1 -1
- package/src/core/storage/__tests__/state.test.ts +31 -21
- package/src/core/storage/state.ts +1 -1
- package/src/core/variables/__tests__/state.test.ts +6 -6
- package/src/core/variables/types.ts +2 -2
- package/src/core/wasm/__tests__/state.test.ts +8 -8
- package/src/core/wasm/bridge.ts +11 -1
- package/src/core/websocket/useMarimoKernelConnection.tsx +33 -26
- package/src/css/app/fonts.css +6 -6
- package/src/css/md-tooltip.css +4 -39
- package/src/css/md.css +10 -0
- package/src/fonts/Fira_Mono/FiraMono-Bold.woff2 +0 -0
- package/src/fonts/Fira_Mono/FiraMono-Medium.woff2 +0 -0
- package/src/fonts/Fira_Mono/FiraMono-Regular.woff2 +0 -0
- package/src/fonts/Lora/Lora-VariableFont_wght.woff2 +0 -0
- package/src/fonts/PT_Sans/PTSans-Bold.woff2 +0 -0
- package/src/fonts/PT_Sans/PTSans-Regular.woff2 +0 -0
- package/src/plugins/core/RenderHTML.tsx +17 -0
- package/src/plugins/core/__test__/RenderHTML.test.ts +45 -0
- package/src/plugins/core/sanitize-html.ts +25 -18
- package/src/plugins/impl/DataTablePlugin.tsx +50 -2
- package/src/plugins/impl/SliderPlugin.tsx +1 -3
- package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +120 -0
- package/src/plugins/impl/anywidget/model.ts +1 -2
- package/src/plugins/impl/chat/ChatPlugin.tsx +6 -3
- package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +5 -2
- package/src/stories/cell.stories.tsx +8 -8
- package/src/stories/layout/vertical/one-column.stories.tsx +9 -8
- package/src/stories/log-viewer.stories.tsx +8 -8
- package/src/stories/variables.stories.tsx +2 -2
- package/src/utils/__tests__/createReducer.test.ts +2 -1
- package/src/utils/__tests__/download.test.tsx +21 -20
- package/src/utils/copy.ts +18 -5
- package/src/utils/createReducer.ts +46 -26
- package/src/utils/download.ts +4 -3
- package/src/utils/html-to-image.ts +6 -0
- package/src/utils/json/base64.ts +3 -3
- package/src/utils/traceback.ts +5 -3
- package/dist/_basePickBy-pTDW2_2A.js +0 -47
- package/dist/apl-lHFVoxx7.js +0 -4
- package/dist/architecture-7HQA4BMR-BmtmhGMc.js +0 -6
- package/dist/asciiarmor-DqCdZUHI.js +0 -4
- package/dist/asn1-DEcwtw-q.js +0 -4
- package/dist/brainfuck-Bro9Oz5x.js +0 -4
- package/dist/classDiagram-2ON5EDUG-DphiMW3Y.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-BH1x5h4a.js +0 -30
- package/dist/clojure-B2uhdQPa.js +0 -4
- package/dist/cmake-B9WXyQcc.js +0 -4
- package/dist/cobol-CPD3EJfO.js +0 -4
- package/dist/coffeescript-KD9TnEnS.js +0 -4
- package/dist/commonlisp-DNEULz_Q.js +0 -4
- package/dist/crystal-DVPNgAPQ.js +0 -4
- package/dist/css-fq3a1AH1.js +0 -4
- package/dist/cypher-Dtzq0BP7.js +0 -4
- package/dist/d-DcZudIhJ.js +0 -4
- package/dist/diff-D9BPDC3o.js +0 -4
- package/dist/dist-B4MxkKHf.js +0 -8
- package/dist/dist-BYghZv6b.js +0 -5
- package/dist/dist-Be-uQhz5.js +0 -6
- package/dist/dist-CB_xf0ju.js +0 -5
- package/dist/dist-CK0qFAbF.js +0 -8
- package/dist/dist-CYEk-qrr.js +0 -8
- package/dist/dist-CmKoWpMk.js +0 -5
- package/dist/dist-D1nf4IQl.js +0 -5
- package/dist/dist-Df3AcKpt.js +0 -6
- package/dist/dist-DgaFHt_I.js +0 -5
- package/dist/dist-Dk10C3ui.js +0 -5
- package/dist/dist-DtyPVMHR.js +0 -5
- package/dist/dist-ko7WnHAO.js +0 -5
- package/dist/dist-of7gLRFK.js +0 -8
- package/dist/dtd-FhG-tVom.js +0 -4
- package/dist/dylan-HWpZOBPw.js +0 -4
- package/dist/ecl-B_rcje1I.js +0 -4
- package/dist/eiffel-oqHyHs6f.js +0 -4
- package/dist/elm-B62RQEds.js +0 -4
- package/dist/erlang-CjRjjA-B.js +0 -4
- package/dist/esm-BLobyqMs.js +0 -4387
- package/dist/factor-CGH_TnIV.js +0 -4
- package/dist/forth-5N06oHNp.js +0 -4
- package/dist/fortran-wZ-sNg3h.js +0 -4
- package/dist/gas-3H4_FaS8.js +0 -4
- package/dist/gherkin-PEA2uy50.js +0 -4
- package/dist/groovy-DZzbvCP1.js +0 -4
- package/dist/haskell-CExLTzho.js +0 -4
- package/dist/haxe-f3pVb8qU.js +0 -5
- package/dist/idl-BbWlJ0gk.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-BXGbfBss.js +0 -30
- package/dist/javascript-eMOhp6Aq.js +0 -4
- package/dist/julia-C6w3Rvqb.js +0 -4
- package/dist/livescript-ChQl9lD-.js +0 -4
- package/dist/lua-CiDvI96j.js +0 -4
- package/dist/mathematica-ClVO4k7N.js +0 -4
- package/dist/mbox-BEI7DeUg.js +0 -4
- package/dist/mermaid-4DMBBIKO-PVrJfEpX.js +0 -6
- package/dist/mirc-DwidJ3iH.js +0 -4
- package/dist/mllike-Dspdy0xJ.js +0 -6
- package/dist/modelica-CIUejP-L.js +0 -4
- package/dist/mscgen-BWXU4Omp.js +0 -6
- package/dist/mumps-PHFFoPk5.js +0 -4
- package/dist/nsis-B7xooKLf.js +0 -4
- package/dist/ntriples-DnOgtCzG.js +0 -4
- package/dist/octave-Cn5kH_QT.js +0 -4
- package/dist/oz-DR-sROpu.js +0 -4
- package/dist/pascal-CPKK1zcS.js +0 -4
- package/dist/perl-D7FuFdyd.js +0 -4
- package/dist/pig-CEXnOAnI.js +0 -4
- package/dist/powershell-BKvWab7q.js +0 -4
- package/dist/properties-7jnK_vYx.js +0 -4
- package/dist/protobuf-4rslMjEN.js +0 -4
- package/dist/pug-BVwdEv4r.js +0 -4
- package/dist/puppet-iSHg_1Z2.js +0 -4
- package/dist/python-tK3wUCn0.js +0 -4
- package/dist/q-DP_Dcoox.js +0 -4
- package/dist/r-C32wHLYu.js +0 -4
- package/dist/react-vega-CFUuchds.js +0 -9
- package/dist/rpm-BbDBUfs9.js +0 -5
- package/dist/ruby-COfWUiIr.js +0 -4
- package/dist/sas-y_Hue2-X.js +0 -4
- package/dist/scheme-7jTCqHw8.js +0 -4
- package/dist/shell-DAqJWXDk.js +0 -4
- package/dist/sieve-EaqnbCO3.js +0 -4
- package/dist/smalltalk-DL03YKLJ.js +0 -4
- package/dist/sparql-DTA-tQ_q.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-BIeUs-Ed.js +0 -29
- package/dist/stex-KfRnSHzF.js +0 -4
- package/dist/stylus-CfjeFry_.js +0 -4
- package/dist/swift-Dl0RRDbH.js +0 -4
- package/dist/tcl-wv9O7fLZ.js +0 -4
- package/dist/textile-DzMRCBcV.js +0 -4
- package/dist/toml-CyIWqgbe.js +0 -4
- package/dist/troff-_huin_CY.js +0 -4
- package/dist/ttcn-BEiJuYYc.js +0 -4
- package/dist/ttcn-cfg-DB6Ksh67.js +0 -4
- package/dist/turtle-DzhzGEum.js +0 -4
- package/dist/useDeepCompareMemoize-BWUwfh37.js +0 -755
- package/dist/useIframeCapabilities-OQaMKgZl.js +0 -46
- package/dist/vb-CngKZQHu.js +0 -4
- package/dist/vbscript-BV_8nbeM.js +0 -4
- package/dist/velocity-IqE7qYKE.js +0 -4
- package/dist/verilog-xtyaWTnc.js +0 -4
- package/dist/vhdl-BaqXCtf3.js +0 -4
- package/dist/webidl-BDB8PTTO.js +0 -4
- package/dist/xquery-BIC-qj9Z.js +0 -4
- package/dist/yacas-ifv5tftd.js +0 -4
- package/dist/z80-B8zOMVNt.js +0 -4
- package/src/core/cells/effects.ts +0 -42
- package/src/fonts/Fira_Mono/FiraMono-Bold.ttf +0 -0
- package/src/fonts/Fira_Mono/FiraMono-Medium.ttf +0 -0
- package/src/fonts/Fira_Mono/FiraMono-Regular.ttf +0 -0
- package/src/fonts/Lora/Lora-Italic-VariableFont_wght.ttf +0 -0
- package/src/fonts/Lora/Lora-VariableFont_wght.ttf +0 -0
- package/src/fonts/Lora/static/Lora-Bold.ttf +0 -0
- package/src/fonts/Lora/static/Lora-BoldItalic.ttf +0 -0
- package/src/fonts/Lora/static/Lora-Italic.ttf +0 -0
- package/src/fonts/Lora/static/Lora-Medium.ttf +0 -0
- package/src/fonts/Lora/static/Lora-MediumItalic.ttf +0 -0
- package/src/fonts/Lora/static/Lora-Regular.ttf +0 -0
- package/src/fonts/Lora/static/Lora-SemiBold.ttf +0 -0
- package/src/fonts/Lora/static/Lora-SemiBoldItalic.ttf +0 -0
- package/src/fonts/PT_Sans/PTSans-Bold.ttf +0 -0
- package/src/fonts/PT_Sans/PTSans-BoldItalic.ttf +0 -0
- package/src/fonts/PT_Sans/PTSans-Italic.ttf +0 -0
- package/src/fonts/PT_Sans/PTSans-Regular.ttf +0 -0
- /package/dist/{_arrayReduce-BfFy684W.js → _arrayReduce-6BJAuN54.js} +0 -0
- /package/dist/{_baseSlice-BrVixxuc.js → _baseSlice-bwIVgwNq.js} +0 -0
- /package/dist/{_hasUnicode-C32WqUu7.js → _hasUnicode-DOFcQHhs.js} +0 -0
- /package/dist/{apl-DRxKiEot.js → apl-99A7dLQe.js} +0 -0
- /package/dist/{array-D-nrDupM.js → array-B-MVxRIF.js} +0 -0
- /package/dist/{asciiarmor-C8HoXFIm.js → asciiarmor-DLEhpFDx.js} +0 -0
- /package/dist/{asn1-9Bo0DYT-.js → asn1-CMrcTsT4.js} +0 -0
- /package/dist/{asterisk-BsiuGzWq.js → asterisk-BUZwqih-.js} +0 -0
- /package/dist/{brainfuck-Db8njC-p.js → brainfuck-ChPt5yBe.js} +0 -0
- /package/dist/{chunk-DR5Q36YT-D4q96vNV.js → chunk-DR5Q36YT-CP69aZS_.js} +0 -0
- /package/dist/{click-outside-container-CKfwEZqH.js → click-outside-container-DB_bTXRG.js} +0 -0
- /package/dist/{clike-CFhUNtI5.js → clike-CE0fXfM_.js} +0 -0
- /package/dist/{clojure-CX7oovsp.js → clojure-QkBEMU-g.js} +0 -0
- /package/dist/{clsx-D2KVTYnW.js → clsx-yW_RAw0K.js} +0 -0
- /package/dist/{cmake-C29AR2kk.js → cmake-CU1jX7Mo.js} +0 -0
- /package/dist/{cobol-CNkuRW9i.js → cobol-DMOKzzky.js} +0 -0
- /package/dist/{coffeescript-BJAbfGam.js → coffeescript-DjnjLyfk.js} +0 -0
- /package/dist/{colors-6nB_pSln.js → colors-Cn2p_FA3.js} +0 -0
- /package/dist/{common-keywords-BAkLFdud.js → common-keywords-hbLeU7VU.js} +0 -0
- /package/dist/{commonlisp-BTNhj2l9.js → commonlisp-CYd9iOSe.js} +0 -0
- /package/dist/{crystal-CZc0nIm9.js → crystal-Dy55yoYG.js} +0 -0
- /package/dist/{css-L2-0OTXc.js → css-CNU8w3HJ.js} +0 -0
- /package/dist/{cypher-Dnc6MXl0.js → cypher-q47DGzK7.js} +0 -0
- /package/dist/{cytoscape.esm-BXzSsA6N.js → cytoscape.esm-WbbDoCfu.js} +0 -0
- /package/dist/{d-C6X9iIga.js → d-jEkaLvxX.js} +0 -0
- /package/dist/{defaultLocale-CfQ4kBaV.js → defaultLocale-Dr6Bz4JK.js} +0 -0
- /package/dist/{defaultLocale-Bklbu-Tp.js → defaultLocale-I3_GfJ4U.js} +0 -0
- /package/dist/{diff-ZzKinYqY.js → diff-vb2-unFN.js} +0 -0
- /package/dist/{dist-DOoqn-VL.js → dist-C4EV3aDt.js} +0 -0
- /package/dist/{dist-Bymy0kEH.js → dist-C89sHDXk.js} +0 -0
- /package/dist/{dtd-CytEpkAo.js → dtd-C9kR-bXa.js} +0 -0
- /package/dist/{duckdb-keywords-C1WxmSfG.js → duckdb-keywords-CZ_ZTscu.js} +0 -0
- /package/dist/{dylan-CZByFBEQ.js → dylan-BLckrK-V.js} +0 -0
- /package/dist/{ebnf-BF2FOt-m.js → ebnf-WEXPLEWb.js} +0 -0
- /package/dist/{ecl-Cp7L1F5B.js → ecl-CEsf6XVg.js} +0 -0
- /package/dist/{eiffel-C66yjnFL.js → eiffel-2KGZNzx6.js} +0 -0
- /package/dist/{elm-DtHo-73e.js → elm-D2s3K5wF.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DtW2o230.js → emotion-is-prop-valid.esm-CflmeIys.js} +0 -0
- /package/dist/{erlang-C_sj44mF.js → erlang-0PMFOndk.js} +0 -0
- /package/dist/{esm-BWftfC-A.js → esm-Bb_hbWan.js} +0 -0
- /package/dist/{fcl-BhLcvRo_.js → fcl-B_Gv5Jfx.js} +0 -0
- /package/dist/{forth-CIDHh56T.js → forth-DG89iUsu.js} +0 -0
- /package/dist/{fortran-BQrDVXRU.js → fortran-ytKsAVvu.js} +0 -0
- /package/dist/{gas-D4HQPB0Q.js → gas-Cg2Fm0N2.js} +0 -0
- /package/dist/{gherkin-UB2gJHdT.js → gherkin-B87FEnZ-.js} +0 -0
- /package/dist/{groovy-DVz6jkOx.js → groovy-Dcs08AWD.js} +0 -0
- /package/dist/{haskell-CpUdAPCz.js → haskell-cwkOuhx6.js} +0 -0
- /package/dist/{haxe-DCV5_cqD.js → haxe-DWEo4q10.js} +0 -0
- /package/dist/{http-C_TDb8VX.js → http-Dc2fv19V.js} +0 -0
- /package/dist/{idl-D7WCIgHw.js → idl-WWQwDcRV.js} +0 -0
- /package/dist/{init-Ci8VD8ZH.js → init-D-g0ONX1.js} +0 -0
- /package/dist/{invariant-D9QLJ4SZ.js → invariant-Ctm_8TNZ.js} +0 -0
- /package/dist/{isArrayLikeObject-BrYl-ETg.js → isArrayLikeObject-C-hFPChh.js} +0 -0
- /package/dist/{javascript-B2Rn0Lmd.js → javascript-BeR74dxD.js} +0 -0
- /package/dist/{jsx-runtime-CTBg5pdT.js → jsx-runtime-9hcJiI23.js} +0 -0
- /package/dist/{julia-ApprtEaw.js → julia-UlvCUYGL.js} +0 -0
- /package/dist/{katex-Bk_FvVSR.js → katex-B7pMJpE0.js} +0 -0
- /package/dist/{livescript-BMLIlM7C.js → livescript-GPmFcmYV.js} +0 -0
- /package/dist/{lua-DdDaW3tC.js → lua-DYoT_0zM.js} +0 -0
- /package/dist/{main-Tj_-QTyF.js → main-sxFlUO_N.js} +0 -0
- /package/dist/{math-HUZifhTs.js → math-BYK36kWZ.js} +0 -0
- /package/dist/{mathematica-PnNN7c2Z.js → mathematica-DSFIQlbG.js} +0 -0
- /package/dist/{mbox-B84OtHBK.js → mbox-ej8lFMdL.js} +0 -0
- /package/dist/{mirc-BVWXJxIq.js → mirc-CAdIdvHQ.js} +0 -0
- /package/dist/{mllike-BawXWupH.js → mllike-CjTB1lHF.js} +0 -0
- /package/dist/{modelica-C8-X4Hf_.js → modelica-BB68FYMa.js} +0 -0
- /package/dist/{mscgen-BOM6dDj8.js → mscgen-BkbzgGGI.js} +0 -0
- /package/dist/{mumps-DQOY8n05.js → mumps-Cu-28E9F.js} +0 -0
- /package/dist/{nginx-DkMgA__9.js → nginx-ComVAAGN.js} +0 -0
- /package/dist/{node-sql-parser-D53LM_7b.js → node-sql-parser-DNGGJ-Rw.js} +0 -0
- /package/dist/{ntriples-DU8VrXdW.js → ntriples-D9cQiZxZ.js} +0 -0
- /package/dist/{octave-BzTIBsQ8.js → octave-BvtAnPX0.js} +0 -0
- /package/dist/{oz-DKFcZsoi.js → oz-COaVHk2E.js} +0 -0
- /package/dist/{pascal-DHBZ15pT.js → pascal-BFpqVD2x.js} +0 -0
- /package/dist/{path-BVI7RNUv.js → path-Du6n3sOU.js} +0 -0
- /package/dist/{perl-75NMI3w0.js → perl-DaiORxHP.js} +0 -0
- /package/dist/{pig-B-HY1fo_.js → pig-DFzRhmsF.js} +0 -0
- /package/dist/{powershell-DEH22U53.js → powershell-BG2LQNKN.js} +0 -0
- /package/dist/{properties-B1MzBoJC.js → properties-CqJJR5QY.js} +0 -0
- /package/dist/{protobuf-Dr14KV0p.js → protobuf-WwDYV1yY.js} +0 -0
- /package/dist/{puppet-C4z38l7v.js → puppet-QNY3w_uN.js} +0 -0
- /package/dist/{purify.es-DGenX2XH.js → purify.es-Co_dANLh.js} +0 -0
- /package/dist/{python-D2L7Nknt.js → python-4QrQ3Ugi.js} +0 -0
- /package/dist/{q-PxipHfgS.js → q-DhwXuxE2.js} +0 -0
- /package/dist/{r-CEMMu_Tf.js → r-Df-nkR25.js} +0 -0
- /package/dist/{range-BToS7LsA.js → range-Bn3no95s.js} +0 -0
- /package/dist/{react-dom-CqtLRVZP.js → react-dom-BKwCWYPW.js} +0 -0
- /package/dist/{rpm-D3xyahkR.js → rpm-Cokue07s.js} +0 -0
- /package/dist/{ruby-DwEkwdiu.js → ruby-DrYcL3qF.js} +0 -0
- /package/dist/{sas-L1W0BRft.js → sas-CoiPirA5.js} +0 -0
- /package/dist/{scheme-CTybTrX0.js → scheme-CwFLjzHv.js} +0 -0
- /package/dist/{shell-BSx3LZnu.js → shell-BFV-R24I.js} +0 -0
- /package/dist/{sieve-BjUfbv-6.js → sieve-CxwXF5T9.js} +0 -0
- /package/dist/{simple-mode-IPZGFbI6.js → simple-mode-DTaJtKPt.js} +0 -0
- /package/dist/{smalltalk-BlzuYrMv.js → smalltalk-QivVOCtX.js} +0 -0
- /package/dist/{solr-Cj_9RM4d.js → solr-DTkyqJ-Z.js} +0 -0
- /package/dist/{sparql-BXKjQ0cK.js → sparql-nKsFk8j7.js} +0 -0
- /package/dist/{spreadsheet-CifI10GO.js → spreadsheet-CER0raqY.js} +0 -0
- /package/dist/{sql-B0bFyY1c.js → sql-ByOoEONQ.js} +0 -0
- /package/dist/{stex-BIsgBmK4.js → stex-7yEw16Ww.js} +0 -0
- /package/dist/{stylus-CqrLLVnG.js → stylus-BLKQAycn.js} +0 -0
- /package/dist/{swift-DIqvj3_G.js → swift-CJoKqiKj.js} +0 -0
- /package/dist/{tcl-B8bOIGVK.js → tcl-YTeYFNUc.js} +0 -0
- /package/dist/{textile-DZsjavD_.js → textile-C6rKQqMQ.js} +0 -0
- /package/dist/{tiddlywiki-BbGdvEjx.js → tiddlywiki-Cr9xyOY1.js} +0 -0
- /package/dist/{tiki-BYesmRDo.js → tiki-D5JONyfZ.js} +0 -0
- /package/dist/{timer-CPsmIOdm.js → timer-D7JVdX9U.js} +0 -0
- /package/dist/{toml-Uc7m08nl.js → toml-DxlPGbRy.js} +0 -0
- /package/dist/{treemap-DMn4tIJ7.js → treemap-qFGzn7xk.js} +0 -0
- /package/dist/{troff-GEl5wcXR.js → troff-DFCfH7Ku.js} +0 -0
- /package/dist/{ttcn-pr4FDOLT.js → ttcn-DAW-ERVP.js} +0 -0
- /package/dist/{ttcn-cfg-dZQ_fWTH.js → ttcn-cfg-CpJ8b7EN.js} +0 -0
- /package/dist/{turtle-TPRDOknA.js → turtle-BneV2f8L.js} +0 -0
- /package/dist/{vb-BJUAeTYr.js → vb-D973Vxxh.js} +0 -0
- /package/dist/{vbscript-CcJ6Z3ic.js → vbscript-Dckaq3YO.js} +0 -0
- /package/dist/{velocity-pq4ZMzU3.js → velocity-DKty-GUC.js} +0 -0
- /package/dist/{verilog-timMNjHt.js → verilog-aNaK_biA.js} +0 -0
- /package/dist/{vhdl-DYFbVKNm.js → vhdl-CQuehnQy.js} +0 -0
- /package/dist/{webidl-pue9oqnb.js → webidl-Bhg8vaMr.js} +0 -0
- /package/dist/{xquery-DeItGynK.js → xquery-D2q16GaM.js} +0 -0
- /package/dist/{yacas-By2Qrjba.js → yacas-DHGOHnNa.js} +0 -0
- /package/dist/{z80-C7iLsyPC.js → z80-BPhTmO22.js} +0 -0
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import {
|
|
5
|
-
import { d as Objects, g as Logger, h as Events, y as cn } from "./button-
|
|
6
|
-
import "./Combination-
|
|
7
|
-
import { t as require_jsx_runtime } from "./jsx-runtime-
|
|
8
|
-
import "./react-dom-
|
|
9
|
-
import { t as Tooltip } from "./tooltip-
|
|
10
|
-
import { i as debounce_default } from "./constants-
|
|
11
|
-
import { C as useEvent_default, n as useTheme } from "./useTheme-
|
|
12
|
-
import { a as getContainerWidth, n as vegaLoadData, s as tooltipHandler } from "./loader-
|
|
13
|
-
import { t as uniq_default } from "./uniq-
|
|
14
|
-
import { n as
|
|
15
|
-
import { n as
|
|
16
|
-
import {
|
|
17
|
-
import { t as
|
|
18
|
-
import "./
|
|
19
|
-
import "./defaultLocale-
|
|
4
|
+
import { c as asRemoteURL, g as CircleQuestionMark } from "./toDate-COI3hP-5.js";
|
|
5
|
+
import { d as Objects, g as Logger, h as Events, y as cn } from "./button-B1ZgJ7Cc.js";
|
|
6
|
+
import "./Combination-B_FmEi05.js";
|
|
7
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
8
|
+
import "./react-dom-BKwCWYPW.js";
|
|
9
|
+
import { t as Tooltip } from "./tooltip-DnI4CwIS.js";
|
|
10
|
+
import { i as debounce_default } from "./constants-LmeAawHa.js";
|
|
11
|
+
import { C as useEvent_default, n as useTheme } from "./useTheme-5GTtjXjy.js";
|
|
12
|
+
import { a as getContainerWidth, n as vegaLoadData, s as tooltipHandler } from "./loader-C51Irhxm.js";
|
|
13
|
+
import { t as uniq_default } from "./uniq-CCKqEs7T.js";
|
|
14
|
+
import { a as AlertTitle, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-9dXEtK7u.js";
|
|
15
|
+
import { n as ErrorBanner } from "./error-banner-D-KBGvBj.js";
|
|
16
|
+
import { n as formats } from "./vega-loader.browser-DnqN5nbz.js";
|
|
17
|
+
import { t as useAsyncData } from "./useAsyncData-BtHYXgXF.js";
|
|
18
|
+
import { t as j } from "./react-vega-BBUxfZoV.js";
|
|
19
|
+
import "./defaultLocale-I3_GfJ4U.js";
|
|
20
|
+
import "./defaultLocale-Dr6Bz4JK.js";
|
|
20
21
|
var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
21
22
|
function fixRelativeUrl(e) {
|
|
22
23
|
return e.data && "url" in e.data && (e.data.url = asRemoteURL(e.data.url).href), e;
|
|
@@ -44,23 +45,23 @@ var NON_INTERACTIVE_MARKS = /* @__PURE__ */ new Set([
|
|
|
44
45
|
]);
|
|
45
46
|
const Marks = {
|
|
46
47
|
getMarkType(e) {
|
|
47
|
-
let
|
|
48
|
-
if (NON_INTERACTIVE_MARKS.has(
|
|
49
|
-
return
|
|
48
|
+
let C = typeof e == "string" ? e : e.type;
|
|
49
|
+
if (NON_INTERACTIVE_MARKS.has(C)) throw Error("Not supported");
|
|
50
|
+
return C;
|
|
50
51
|
},
|
|
51
52
|
isInteractive(e) {
|
|
52
|
-
let
|
|
53
|
-
return !NON_INTERACTIVE_MARKS.has(
|
|
53
|
+
let C = typeof e == "string" ? e : e.type;
|
|
54
|
+
return !NON_INTERACTIVE_MARKS.has(C);
|
|
54
55
|
},
|
|
55
56
|
makeClickable(e) {
|
|
56
|
-
let
|
|
57
|
-
return
|
|
57
|
+
let C = typeof e == "string" ? e : e.type;
|
|
58
|
+
return C in Mark ? typeof e == "string" ? {
|
|
58
59
|
type: e,
|
|
59
60
|
cursor: "pointer",
|
|
60
61
|
tooltip: true
|
|
61
62
|
} : {
|
|
62
63
|
...e,
|
|
63
|
-
type:
|
|
64
|
+
type: C,
|
|
64
65
|
cursor: "pointer",
|
|
65
66
|
tooltip: true
|
|
66
67
|
} : e;
|
|
@@ -108,9 +109,9 @@ const Marks = {
|
|
|
108
109
|
}
|
|
109
110
|
};
|
|
110
111
|
},
|
|
111
|
-
interval(e,
|
|
112
|
+
interval(e, C) {
|
|
112
113
|
return {
|
|
113
|
-
name: ParamNames.interval(
|
|
114
|
+
name: ParamNames.interval(C),
|
|
114
115
|
select: {
|
|
115
116
|
type: "interval",
|
|
116
117
|
encodings: getEncodingAxisForMark(e),
|
|
@@ -125,9 +126,9 @@ const Marks = {
|
|
|
125
126
|
}
|
|
126
127
|
};
|
|
127
128
|
},
|
|
128
|
-
point(e,
|
|
129
|
+
point(e, C) {
|
|
129
130
|
return {
|
|
130
|
-
name: ParamNames.point(
|
|
131
|
+
name: ParamNames.point(C),
|
|
131
132
|
select: {
|
|
132
133
|
type: "point",
|
|
133
134
|
encodings: getEncodingAxisForMark(e),
|
|
@@ -176,8 +177,8 @@ function getEncodingAxisForMark(e) {
|
|
|
176
177
|
case Mark.arc:
|
|
177
178
|
return ["color"];
|
|
178
179
|
case Mark.bar: {
|
|
179
|
-
let
|
|
180
|
-
return
|
|
180
|
+
let C = getDirectionOfBar(e);
|
|
181
|
+
return C === "horizontal" ? ["y"] : C === "vertical" ? ["x"] : void 0;
|
|
181
182
|
}
|
|
182
183
|
case Mark.circle:
|
|
183
184
|
case Mark.geoshape:
|
|
@@ -197,23 +198,23 @@ function getSelectionParamNames(e) {
|
|
|
197
198
|
function getDirectionOfBar(e) {
|
|
198
199
|
var _a, _b;
|
|
199
200
|
if (!e || !("mark" in e)) return;
|
|
200
|
-
let
|
|
201
|
-
if (
|
|
202
|
-
if (
|
|
203
|
-
if (
|
|
201
|
+
let C = (_a = e.encoding) == null ? void 0 : _a.x, w = (_b = e.encoding) == null ? void 0 : _b.y;
|
|
202
|
+
if (C && "type" in C && C.type === "nominal") return "vertical";
|
|
203
|
+
if (w && "type" in w && w.type === "nominal" || C && "aggregate" in C) return "horizontal";
|
|
204
|
+
if (w && "aggregate" in w) return "vertical";
|
|
204
205
|
}
|
|
205
206
|
function getBinnedFields(e) {
|
|
206
207
|
if (!e.encoding) return [];
|
|
207
|
-
let
|
|
208
|
-
for (let
|
|
209
|
-
return
|
|
208
|
+
let C = [];
|
|
209
|
+
for (let w of Object.values(e.encoding)) w && typeof w == "object" && "bin" in w && w.bin && "field" in w && typeof w.field == "string" && C.push(w.field);
|
|
210
|
+
return C;
|
|
210
211
|
}
|
|
211
212
|
function findEncodedFields(e) {
|
|
212
213
|
if (!e || !("encoding" in e)) return [];
|
|
213
|
-
let { encoding:
|
|
214
|
-
return
|
|
215
|
-
let [
|
|
216
|
-
return !
|
|
214
|
+
let { encoding: C } = e;
|
|
215
|
+
return C ? Object.entries(C).flatMap((e2) => {
|
|
216
|
+
let [C2, w] = e2;
|
|
217
|
+
return !w || !ALLOWED_ENCODING_TYPES.has(C2) ? [] : "field" in w && typeof w.field == "string" ? [w.field] : "condition" in w && w.condition && typeof w.condition == "object" && "field" in w.condition && w.condition.field && typeof w.condition.field == "string" ? [w.condition.field] : [];
|
|
217
218
|
}) : [];
|
|
218
219
|
}
|
|
219
220
|
var ALLOWED_ENCODING_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -224,16 +225,16 @@ var ALLOWED_ENCODING_TYPES = /* @__PURE__ */ new Set([
|
|
|
224
225
|
"shape",
|
|
225
226
|
"size"
|
|
226
227
|
]);
|
|
227
|
-
function makeEncodingInteractive(e, w, T
|
|
228
|
-
let
|
|
228
|
+
function makeEncodingInteractive(e, C, w, T) {
|
|
229
|
+
let E = w.filter((e2) => ParamNames.isBinColoring(e2)), D = { and: (E.length > 0 ? E : w).map((e2) => ({ param: e2 })) };
|
|
229
230
|
switch (e) {
|
|
230
231
|
case "opacity": {
|
|
231
|
-
let e2 = Marks.getOpacity(
|
|
232
|
+
let e2 = Marks.getOpacity(T) || 1;
|
|
232
233
|
return {
|
|
233
|
-
...
|
|
234
|
+
...C,
|
|
234
235
|
opacity: {
|
|
235
236
|
condition: {
|
|
236
|
-
test:
|
|
237
|
+
test: D,
|
|
237
238
|
value: e2
|
|
238
239
|
},
|
|
239
240
|
value: e2 / 5
|
|
@@ -241,202 +242,202 @@ function makeEncodingInteractive(e, w, T, E) {
|
|
|
241
242
|
};
|
|
242
243
|
}
|
|
243
244
|
default:
|
|
244
|
-
return
|
|
245
|
+
return C;
|
|
245
246
|
}
|
|
246
247
|
}
|
|
247
248
|
function getParamSignature(e) {
|
|
248
249
|
if (!("select" in e) || !e.select) return JSON.stringify(e);
|
|
249
|
-
let
|
|
250
|
-
if (typeof
|
|
251
|
-
type:
|
|
250
|
+
let C = e.select;
|
|
251
|
+
if (typeof C == "string") return JSON.stringify({
|
|
252
|
+
type: C,
|
|
252
253
|
bind: e.bind
|
|
253
254
|
});
|
|
254
|
-
let
|
|
255
|
-
type:
|
|
256
|
-
encodings: "encodings" in
|
|
257
|
-
fields: "fields" in
|
|
255
|
+
let w = {
|
|
256
|
+
type: C.type,
|
|
257
|
+
encodings: "encodings" in C && C.encodings ? [...C.encodings].sort() : void 0,
|
|
258
|
+
fields: "fields" in C && C.fields ? [...C.fields].sort() : void 0,
|
|
258
259
|
bind: e.bind
|
|
259
260
|
};
|
|
260
|
-
return JSON.stringify(
|
|
261
|
+
return JSON.stringify(w);
|
|
261
262
|
}
|
|
262
263
|
function hoistParamsAndApplyOpacity(e) {
|
|
263
|
-
let
|
|
264
|
-
if (
|
|
265
|
-
let
|
|
266
|
-
return
|
|
267
|
-
...applyOpacityToNestedSpecs(removeSpecificParamsFromNestedSpecs(e, new Set(
|
|
268
|
-
params: [...e.params || [], ...
|
|
264
|
+
let C = collectAllUnitSpecParams(e);
|
|
265
|
+
if (C.length === 0) return e;
|
|
266
|
+
let w = findCommonParams(C);
|
|
267
|
+
return w.length === 0 ? e : {
|
|
268
|
+
...applyOpacityToNestedSpecs(removeSpecificParamsFromNestedSpecs(e, new Set(w.map((e2) => e2.name))), w.map((e2) => e2.name)),
|
|
269
|
+
params: [...e.params || [], ...w]
|
|
269
270
|
};
|
|
270
271
|
}
|
|
271
272
|
function collectAllUnitSpecParams(e) {
|
|
272
|
-
let
|
|
273
|
-
if ("vconcat" in e && Array.isArray(e.vconcat)) for (let
|
|
274
|
-
else if ("hconcat" in e && Array.isArray(e.hconcat)) for (let
|
|
273
|
+
let C = [];
|
|
274
|
+
if ("vconcat" in e && Array.isArray(e.vconcat)) for (let w of e.vconcat) C.push(...collectAllUnitSpecParams(w));
|
|
275
|
+
else if ("hconcat" in e && Array.isArray(e.hconcat)) for (let w of e.hconcat) C.push(...collectAllUnitSpecParams(w));
|
|
275
276
|
else if ("layer" in e) return [];
|
|
276
|
-
else "mark" in e && "params" in e && e.params && e.params.length > 0 &&
|
|
277
|
-
return
|
|
277
|
+
else "mark" in e && "params" in e && e.params && e.params.length > 0 && C.push({ params: e.params });
|
|
278
|
+
return C;
|
|
278
279
|
}
|
|
279
280
|
function findCommonParams(e) {
|
|
280
281
|
if (e.length === 0) return [];
|
|
281
|
-
let
|
|
282
|
-
for (let { params:
|
|
282
|
+
let C = /* @__PURE__ */ new Map(), w = e.length;
|
|
283
|
+
for (let { params: w2 } of e) {
|
|
283
284
|
let e2 = /* @__PURE__ */ new Set();
|
|
284
|
-
for (let
|
|
285
|
-
let
|
|
286
|
-
e2.has(
|
|
285
|
+
for (let T2 of w2) {
|
|
286
|
+
let w3 = getParamSignature(T2);
|
|
287
|
+
e2.has(w3) || (e2.add(w3), C.has(w3) || C.set(w3, {
|
|
287
288
|
count: 0,
|
|
288
|
-
param:
|
|
289
|
-
}),
|
|
289
|
+
param: T2
|
|
290
|
+
}), C.get(w3).count++);
|
|
290
291
|
}
|
|
291
292
|
}
|
|
292
|
-
let
|
|
293
|
-
for (let [, { count: e2, param:
|
|
294
|
-
return
|
|
293
|
+
let T = [];
|
|
294
|
+
for (let [, { count: e2, param: E }] of C) e2 === w && T.push(E);
|
|
295
|
+
return T;
|
|
295
296
|
}
|
|
296
|
-
function removeSpecificParamsFromNestedSpecs(e,
|
|
297
|
+
function removeSpecificParamsFromNestedSpecs(e, C) {
|
|
297
298
|
if ("vconcat" in e && Array.isArray(e.vconcat)) return {
|
|
298
299
|
...e,
|
|
299
|
-
vconcat: e.vconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2,
|
|
300
|
+
vconcat: e.vconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, C))
|
|
300
301
|
};
|
|
301
302
|
if ("hconcat" in e && Array.isArray(e.hconcat)) return {
|
|
302
303
|
...e,
|
|
303
|
-
hconcat: e.hconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2,
|
|
304
|
+
hconcat: e.hconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, C))
|
|
304
305
|
};
|
|
305
306
|
if ("mark" in e && "params" in e && e.params) {
|
|
306
|
-
let
|
|
307
|
-
for (let e2 of
|
|
307
|
+
let w = e.params, T = [];
|
|
308
|
+
for (let e2 of w) {
|
|
308
309
|
if (!e2 || typeof e2 != "object" || !("name" in e2)) {
|
|
309
|
-
|
|
310
|
+
T.push(e2);
|
|
310
311
|
continue;
|
|
311
312
|
}
|
|
312
|
-
|
|
313
|
+
C.has(e2.name) || T.push(e2);
|
|
313
314
|
}
|
|
314
|
-
if (
|
|
315
|
-
let { params:
|
|
316
|
-
return
|
|
315
|
+
if (T.length === 0) {
|
|
316
|
+
let { params: C2, ...w2 } = e;
|
|
317
|
+
return w2;
|
|
317
318
|
}
|
|
318
319
|
return {
|
|
319
320
|
...e,
|
|
320
|
-
params:
|
|
321
|
+
params: T
|
|
321
322
|
};
|
|
322
323
|
}
|
|
323
324
|
return e;
|
|
324
325
|
}
|
|
325
|
-
function applyOpacityToNestedSpecs(e,
|
|
326
|
+
function applyOpacityToNestedSpecs(e, C) {
|
|
326
327
|
return "vconcat" in e && Array.isArray(e.vconcat) ? {
|
|
327
328
|
...e,
|
|
328
|
-
vconcat: e.vconcat.map((e2) => applyOpacityToNestedSpecs(e2,
|
|
329
|
+
vconcat: e.vconcat.map((e2) => applyOpacityToNestedSpecs(e2, C))
|
|
329
330
|
} : "hconcat" in e && Array.isArray(e.hconcat) ? {
|
|
330
331
|
...e,
|
|
331
|
-
hconcat: e.hconcat.map((e2) => applyOpacityToNestedSpecs(e2,
|
|
332
|
+
hconcat: e.hconcat.map((e2) => applyOpacityToNestedSpecs(e2, C))
|
|
332
333
|
} : "layer" in e ? e : "mark" in e && Marks.isInteractive(e.mark) ? {
|
|
333
334
|
...e,
|
|
334
335
|
mark: Marks.makeClickable(e.mark),
|
|
335
|
-
encoding: makeEncodingInteractive("opacity", e.encoding || {},
|
|
336
|
+
encoding: makeEncodingInteractive("opacity", e.encoding || {}, C, e.mark)
|
|
336
337
|
} : e;
|
|
337
338
|
}
|
|
338
|
-
function makeSelectable(e,
|
|
339
|
+
function makeSelectable(e, C) {
|
|
339
340
|
var _a, _b;
|
|
340
|
-
let { chartSelection:
|
|
341
|
-
if (!
|
|
342
|
-
((_a = e.params) == null ? void 0 : _a.some((e2) => e2.bind === "legend")) && (
|
|
343
|
-
let
|
|
344
|
-
|
|
345
|
-
let
|
|
346
|
-
if (
|
|
341
|
+
let { chartSelection: w = true, fieldSelection: T = true } = C;
|
|
342
|
+
if (!w && !T) return e;
|
|
343
|
+
((_a = e.params) == null ? void 0 : _a.some((e2) => e2.bind === "legend")) && (T = false);
|
|
344
|
+
let E = (_b = e.params) == null ? void 0 : _b.some((e2) => !e2.bind);
|
|
345
|
+
E && (w = false);
|
|
346
|
+
let D = "vconcat" in e || "hconcat" in e;
|
|
347
|
+
if (E && D) return e;
|
|
347
348
|
if ("vconcat" in e) {
|
|
348
|
-
let
|
|
349
|
-
chartSelection:
|
|
350
|
-
fieldSelection:
|
|
349
|
+
let C2 = e.vconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
|
|
350
|
+
chartSelection: w,
|
|
351
|
+
fieldSelection: T
|
|
351
352
|
}) : e2);
|
|
352
353
|
return hoistParamsAndApplyOpacity({
|
|
353
354
|
...e,
|
|
354
|
-
vconcat:
|
|
355
|
+
vconcat: C2
|
|
355
356
|
});
|
|
356
357
|
}
|
|
357
358
|
if ("hconcat" in e) {
|
|
358
|
-
let
|
|
359
|
-
chartSelection:
|
|
360
|
-
fieldSelection:
|
|
359
|
+
let C2 = e.hconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
|
|
360
|
+
chartSelection: w,
|
|
361
|
+
fieldSelection: T
|
|
361
362
|
}) : e2);
|
|
362
363
|
return hoistParamsAndApplyOpacity({
|
|
363
364
|
...e,
|
|
364
|
-
hconcat:
|
|
365
|
+
hconcat: C2
|
|
365
366
|
});
|
|
366
367
|
}
|
|
367
368
|
if ("layer" in e) {
|
|
368
|
-
let
|
|
369
|
-
if (
|
|
370
|
-
let
|
|
371
|
-
|
|
369
|
+
let C2 = e.params && e.params.length > 0, E2 = T !== false && !C2, D2 = [];
|
|
370
|
+
if (E2) {
|
|
371
|
+
let C3 = e.layer.flatMap((e2) => "mark" in e2 ? findEncodedFields(e2) : []);
|
|
372
|
+
D2 = [...new Set(C3)], Array.isArray(T) && (D2 = D2.filter((e2) => T.includes(e2)));
|
|
372
373
|
}
|
|
373
|
-
let
|
|
374
|
+
let O2 = e.layer.map((e2, C3) => {
|
|
374
375
|
if (!("mark" in e2)) return e2;
|
|
375
|
-
let
|
|
376
|
-
if (
|
|
377
|
-
let e3 =
|
|
378
|
-
|
|
379
|
-
...
|
|
380
|
-
params: [...
|
|
376
|
+
let T2 = e2;
|
|
377
|
+
if (C3 === 0 && D2.length > 0) {
|
|
378
|
+
let e3 = D2.map((e4) => Params.legend(e4));
|
|
379
|
+
T2 = {
|
|
380
|
+
...T2,
|
|
381
|
+
params: [...T2.params || [], ...e3]
|
|
381
382
|
};
|
|
382
383
|
}
|
|
383
|
-
return
|
|
384
|
+
return T2 = makeChartSelectable(T2, w, C3), T2 = makeChartInteractive(T2), C3 === 0 && (T2 = makeChartPanZoom(T2)), T2;
|
|
384
385
|
});
|
|
385
386
|
return {
|
|
386
387
|
...e,
|
|
387
|
-
layer:
|
|
388
|
+
layer: O2
|
|
388
389
|
};
|
|
389
390
|
}
|
|
390
391
|
if (!("mark" in e) || !Marks.isInteractive(e.mark)) return e;
|
|
391
|
-
let
|
|
392
|
-
return
|
|
392
|
+
let O = e;
|
|
393
|
+
return O = makeLegendSelectable(O, T), O = makeChartSelectable(O, w, void 0), O = makeChartInteractive(O), O = makeChartPanZoom(O), O;
|
|
393
394
|
}
|
|
394
|
-
function makeLegendSelectable(e,
|
|
395
|
-
if (
|
|
396
|
-
let
|
|
397
|
-
Array.isArray(
|
|
398
|
-
let
|
|
395
|
+
function makeLegendSelectable(e, C) {
|
|
396
|
+
if (C === false) return e;
|
|
397
|
+
let w = findEncodedFields(e);
|
|
398
|
+
Array.isArray(C) && (w = w.filter((e2) => C.includes(e2)));
|
|
399
|
+
let T = w.map((e2) => Params.legend(e2)), E = [...e.params || [], ...T];
|
|
399
400
|
return {
|
|
400
401
|
...e,
|
|
401
|
-
params:
|
|
402
|
+
params: E
|
|
402
403
|
};
|
|
403
404
|
}
|
|
404
|
-
function makeChartSelectable(e,
|
|
405
|
-
if (
|
|
406
|
-
let
|
|
405
|
+
function makeChartSelectable(e, C, w) {
|
|
406
|
+
if (C === false) return e;
|
|
407
|
+
let T;
|
|
407
408
|
try {
|
|
408
|
-
|
|
409
|
+
T = Marks.getMarkType(e.mark);
|
|
409
410
|
} catch {
|
|
410
411
|
return e;
|
|
411
412
|
}
|
|
412
|
-
if (
|
|
413
|
-
let
|
|
414
|
-
if (!
|
|
415
|
-
let
|
|
416
|
-
return
|
|
413
|
+
if (T === "geoshape") return e;
|
|
414
|
+
let E = getBinnedFields(e), D = C === true ? E.length > 0 ? ["point"] : getBestSelectionForMark(T) : [C];
|
|
415
|
+
if (!D || D.length === 0) return e;
|
|
416
|
+
let O = D.map((C2) => C2 === "interval" ? Params.interval(e, w) : Params.point(e, w)), k = [...e.params || [], ...O];
|
|
417
|
+
return E.length > 0 && D.includes("point") && k.push(Params.binColoring(w)), {
|
|
417
418
|
...e,
|
|
418
|
-
params:
|
|
419
|
+
params: k
|
|
419
420
|
};
|
|
420
421
|
}
|
|
421
422
|
function makeChartPanZoom(e) {
|
|
422
|
-
let
|
|
423
|
+
let C;
|
|
423
424
|
try {
|
|
424
|
-
|
|
425
|
+
C = Marks.getMarkType(e.mark);
|
|
425
426
|
} catch {
|
|
426
427
|
}
|
|
427
|
-
if (
|
|
428
|
-
let
|
|
429
|
-
return
|
|
428
|
+
if (C === "geoshape") return e;
|
|
429
|
+
let w = e.params || [];
|
|
430
|
+
return w.some((e2) => e2.bind === "scales") ? e : {
|
|
430
431
|
...e,
|
|
431
|
-
params: [...
|
|
432
|
+
params: [...w, Params.panZoom()]
|
|
432
433
|
};
|
|
433
434
|
}
|
|
434
435
|
function makeChartInteractive(e) {
|
|
435
|
-
let
|
|
436
|
-
return
|
|
436
|
+
let C = "encoding" in e ? e.encoding : void 0, w = e.params || [], T = w.map((e2) => e2.name);
|
|
437
|
+
return w.length === 0 || !Marks.isInteractive(e.mark) ? e : {
|
|
437
438
|
...e,
|
|
438
439
|
mark: Marks.makeClickable(e.mark),
|
|
439
|
-
encoding: makeEncodingInteractive("opacity",
|
|
440
|
+
encoding: makeEncodingInteractive("opacity", C || {}, T, e.mark)
|
|
440
441
|
};
|
|
441
442
|
}
|
|
442
443
|
function getBestSelectionForMark(e) {
|
|
@@ -455,32 +456,32 @@ function getBestSelectionForMark(e) {
|
|
|
455
456
|
}
|
|
456
457
|
async function resolveVegaSpecData(e) {
|
|
457
458
|
if (!e) return e;
|
|
458
|
-
let
|
|
459
|
+
let C = "datasets" in e ? { ...e.datasets } : {}, w = async (e2) => {
|
|
459
460
|
if (!e2) return e2;
|
|
460
461
|
if ("layer" in e2) {
|
|
461
|
-
let
|
|
462
|
+
let C2 = await Promise.all(e2.layer.map(w));
|
|
462
463
|
e2 = {
|
|
463
464
|
...e2,
|
|
464
|
-
layer:
|
|
465
|
+
layer: C2
|
|
465
466
|
};
|
|
466
467
|
}
|
|
467
468
|
if ("hconcat" in e2) {
|
|
468
|
-
let
|
|
469
|
+
let C2 = await Promise.all(e2.hconcat.map(w));
|
|
469
470
|
e2 = {
|
|
470
471
|
...e2,
|
|
471
|
-
hconcat:
|
|
472
|
+
hconcat: C2
|
|
472
473
|
};
|
|
473
474
|
}
|
|
474
475
|
if ("vconcat" in e2) {
|
|
475
|
-
let
|
|
476
|
+
let C2 = await Promise.all(e2.vconcat.map(w));
|
|
476
477
|
e2 = {
|
|
477
478
|
...e2,
|
|
478
|
-
vconcat:
|
|
479
|
+
vconcat: C2
|
|
479
480
|
};
|
|
480
481
|
}
|
|
481
482
|
if ("spec" in e2 && (e2 = {
|
|
482
483
|
...e2,
|
|
483
|
-
spec: await
|
|
484
|
+
spec: await w(e2.spec)
|
|
484
485
|
}), !e2.data || !("url" in e2.data)) return e2;
|
|
485
486
|
let E2;
|
|
486
487
|
try {
|
|
@@ -489,59 +490,59 @@ async function resolveVegaSpecData(e) {
|
|
|
489
490
|
return e2;
|
|
490
491
|
}
|
|
491
492
|
let D = await vegaLoadData(E2.href, e2.data.format);
|
|
492
|
-
return
|
|
493
|
+
return C[E2.pathname] = D, {
|
|
493
494
|
...e2,
|
|
494
495
|
data: { name: E2.pathname }
|
|
495
496
|
};
|
|
496
|
-
}, E = await
|
|
497
|
-
return Object.keys(
|
|
497
|
+
}, E = await w(e);
|
|
498
|
+
return Object.keys(C).length === 0 ? E : {
|
|
498
499
|
...E,
|
|
499
|
-
datasets:
|
|
500
|
+
datasets: C
|
|
500
501
|
};
|
|
501
502
|
}
|
|
502
503
|
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
503
504
|
formats("arrow", arrow);
|
|
504
505
|
var VegaComponent = (e) => {
|
|
505
|
-
let
|
|
506
|
-
|
|
507
|
-
let { data:
|
|
508
|
-
if (
|
|
506
|
+
let C = (0, import_compiler_runtime.c)(12), { value: w, setValue: T, chartSelection: E, fieldSelection: D, spec: O, embedOptions: k } = e, A, M;
|
|
507
|
+
C[0] === O ? (A = C[1], M = C[2]) : (A = async () => resolveVegaSpecData(O), M = [O], C[0] = O, C[1] = A, C[2] = M);
|
|
508
|
+
let { data: N, error: P } = useAsyncData(A, M);
|
|
509
|
+
if (P) {
|
|
509
510
|
let e2;
|
|
510
|
-
return
|
|
511
|
+
return C[3] === P ? e2 = C[4] : (e2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ErrorBanner, { error: P }), C[3] = P, C[4] = e2), e2;
|
|
511
512
|
}
|
|
512
|
-
if (!
|
|
513
|
-
let
|
|
514
|
-
return
|
|
515
|
-
value:
|
|
516
|
-
setValue:
|
|
517
|
-
chartSelection:
|
|
518
|
-
fieldSelection:
|
|
519
|
-
spec:
|
|
520
|
-
embedOptions:
|
|
521
|
-
}),
|
|
522
|
-
}, LoadedVegaComponent = ({ value: e, setValue:
|
|
523
|
-
let { theme: L } = useTheme(), R = (0, import_react.useRef)(null), z = (0, import_react.useRef)(void 0), [B, V] = (0, import_react.useState)(), H = (0, import_react.useMemo)(() =>
|
|
513
|
+
if (!N) return null;
|
|
514
|
+
let F;
|
|
515
|
+
return C[5] !== E || C[6] !== k || C[7] !== D || C[8] !== N || C[9] !== T || C[10] !== w ? (F = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoadedVegaComponent, {
|
|
516
|
+
value: w,
|
|
517
|
+
setValue: T,
|
|
518
|
+
chartSelection: E,
|
|
519
|
+
fieldSelection: D,
|
|
520
|
+
spec: N,
|
|
521
|
+
embedOptions: k
|
|
522
|
+
}), C[5] = E, C[6] = k, C[7] = D, C[8] = N, C[9] = T, C[10] = w, C[11] = F) : F = C[11], F;
|
|
523
|
+
}, LoadedVegaComponent = ({ value: e, setValue: C, chartSelection: w, fieldSelection: T, spec: M, embedOptions: I }) => {
|
|
524
|
+
let { theme: L } = useTheme(), R = (0, import_react.useRef)(null), z = (0, import_react.useRef)(void 0), [B, V] = (0, import_react.useState)(), H = (0, import_react.useMemo)(() => I && "actions" in I ? I.actions : {
|
|
524
525
|
source: false,
|
|
525
526
|
compiled: false
|
|
526
|
-
}, [
|
|
527
|
-
chartSelection:
|
|
528
|
-
fieldSelection:
|
|
527
|
+
}, [I]), U = useDeepCompareMemoize(M), W = (0, import_react.useMemo)(() => makeSelectable(fixRelativeUrl(U), {
|
|
528
|
+
chartSelection: w,
|
|
529
|
+
fieldSelection: T
|
|
529
530
|
}), [
|
|
530
531
|
U,
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
]), G = (0, import_react.useMemo)(() => getSelectionParamNames(W), [W]), K = useEvent_default((
|
|
534
|
-
|
|
532
|
+
w,
|
|
533
|
+
T
|
|
534
|
+
]), G = (0, import_react.useMemo)(() => getSelectionParamNames(W), [W]), K = useEvent_default((w2) => {
|
|
535
|
+
C({
|
|
535
536
|
...e,
|
|
536
|
-
...
|
|
537
|
+
...w2
|
|
537
538
|
});
|
|
538
|
-
}), q = (0, import_react.useMemo)(() => debounce_default((e2,
|
|
539
|
-
Logger.debug("[Vega signal]", e2,
|
|
540
|
-
let
|
|
541
|
-
|
|
542
|
-
}, 100), [K]), J = useDeepCompareMemoize(G), Y = (0, import_react.useMemo)(() => J.reduce((e2,
|
|
543
|
-
signalName:
|
|
544
|
-
handler: (e3,
|
|
539
|
+
}), q = (0, import_react.useMemo)(() => debounce_default((e2, C2) => {
|
|
540
|
+
Logger.debug("[Vega signal]", e2, C2);
|
|
541
|
+
let w2 = Objects.mapValues(C2, convertDatetimeToEpochMilliseconds);
|
|
542
|
+
w2 = Objects.mapValues(w2, convertSetToList), K({ [e2]: w2 });
|
|
543
|
+
}, 100), [K]), J = useDeepCompareMemoize(G), Y = (0, import_react.useMemo)(() => J.reduce((e2, C2) => (ParamNames.PAN_ZOOM === C2 || ParamNames.isBinColoring(C2) || e2.push({
|
|
544
|
+
signalName: C2,
|
|
545
|
+
handler: (e3, C3) => q(e3, C3)
|
|
545
546
|
}), e2), []), [J, q]), X = useEvent_default((e2) => {
|
|
546
547
|
Logger.error(e2), Logger.debug(W), V(e2);
|
|
547
548
|
}), Z = useEvent_default((e2) => {
|
|
@@ -553,14 +554,14 @@ var VegaComponent = (e) => {
|
|
|
553
554
|
side: "left",
|
|
554
555
|
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
555
556
|
className: "text-xs flex flex-col",
|
|
556
|
-
children: e2.map((e3,
|
|
557
|
+
children: e2.map((e3, C2) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
|
|
557
558
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
558
559
|
className: "font-bold tracking-wide",
|
|
559
560
|
children: [e3[0], ":"]
|
|
560
561
|
}),
|
|
561
562
|
" ",
|
|
562
563
|
e3[1]
|
|
563
|
-
] },
|
|
564
|
+
] }, C2))
|
|
564
565
|
}),
|
|
565
566
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CircleQuestionMark, { className: "absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground" })
|
|
566
567
|
});
|
|
@@ -577,16 +578,16 @@ var VegaComponent = (e) => {
|
|
|
577
578
|
onError: X,
|
|
578
579
|
onEmbed: Z
|
|
579
580
|
});
|
|
580
|
-
return (0, import_react.useEffect)(() => (Y.forEach(({ signalName: e2, handler:
|
|
581
|
+
return (0, import_react.useEffect)(() => (Y.forEach(({ signalName: e2, handler: C2 }) => {
|
|
581
582
|
try {
|
|
582
|
-
$ == null ? void 0 : $.view.addSignalListener(e2,
|
|
583
|
+
$ == null ? void 0 : $.view.addSignalListener(e2, C2);
|
|
583
584
|
} catch (e3) {
|
|
584
585
|
Logger.error(e3);
|
|
585
586
|
}
|
|
586
587
|
}), () => {
|
|
587
|
-
Y.forEach(({ signalName: e2, handler:
|
|
588
|
+
Y.forEach(({ signalName: e2, handler: C2 }) => {
|
|
588
589
|
try {
|
|
589
|
-
$ == null ? void 0 : $.view.removeSignalListener(e2,
|
|
590
|
+
$ == null ? void 0 : $.view.removeSignalListener(e2, C2);
|
|
590
591
|
} catch (e3) {
|
|
591
592
|
Logger.error(e3);
|
|
592
593
|
}
|