@marimo-team/islands 0.23.15-dev7 → 0.23.15-dev72
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-CU4fZJzG.js → ConnectedDataExplorerComponent-CJaUI-S-.js} +85 -84
- package/dist/{ErrorBoundary-DE6tzZf-.js → ErrorBoundary-DXlxsrTF.js} +3 -3
- package/dist/{ImageComparisonComponent-CHrI72em.js → ImageComparisonComponent-C3y7L3eJ.js} +173 -129
- package/dist/{any-language-editor-DN1R-1KZ.js → any-language-editor-P9tjkj4n.js} +21 -21
- package/dist/apl-e1B5LPEL.js +4 -0
- package/dist/{arc-DfkSnvZm.js → arc-CTIpFoOn.js} +2 -2
- package/dist/architecture-7HQA4BMR-DHUrQjL4.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-CT2SuxNw.js → architectureDiagram-VXUJARFQ-DXwkyAaM.js} +19 -19
- package/dist/asciiarmor-B-gwgesP.js +4 -0
- package/dist/asn1-DF2ckRB4.js +4 -0
- package/dist/assets/__vite-browser-external-DltVXDv7.js +1 -0
- package/dist/assets/worker-CDEKsBgX.js +98 -0
- package/dist/{blockDiagram-VD42YOAC-Dy7hlFla.js → blockDiagram-VD42YOAC-CIOjvxeD.js} +12 -12
- package/dist/brainfuck-4G-7_gq_.js +4 -0
- package/dist/{button-BacYv-bE.js → button-BcSml68y.js} +12 -65
- package/dist/{c4Diagram-YG6GDRKO-BXlAmZ8Z.js → c4Diagram-YG6GDRKO-B6dZC_oU.js} +6 -6
- package/dist/{capabilities-D_4LYhSU.js → capabilities-BYLFYTYv.js} +2 -2
- package/dist/{channel-D_PHgcig.js → channel-BN070S0F.js} +1 -1
- package/dist/{chat-ui-DinOvbWu.js → chat-ui-BdSDiVjk.js} +3122 -3116
- package/dist/{check-C9OoNtR4.js → check-Cs-KV5XY.js} +1 -1
- package/dist/{chunk-4BX2VUAB-CzXltWHN.js → chunk-4BX2VUAB-iU5lQTDI.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-D9nGEHV8.js → chunk-4F5CHEZ2-VlodlEGo.js} +1 -1
- package/dist/{chunk-55IACEB6-B-1mjMMC.js → chunk-55IACEB6-7h71GwyW.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-BbqSm5gU.js → chunk-5FQGJX7Z-B9WoXK1R.js} +3 -3
- package/dist/{chunk-ABZYJK2D-Dz0-H2B5.js → chunk-ABZYJK2D-BxBDji1u.js} +3 -3
- package/dist/{chunk-ATLVNIR6-o0Z5MZLd.js → chunk-ATLVNIR6-qFiszptQ.js} +2 -2
- package/dist/{chunk-B2363JML-KEJpLGGP.js → chunk-B2363JML-zL3VngtH.js} +1 -1
- package/dist/{chunk-B4BG7PRW-BL98U9B4.js → chunk-B4BG7PRW-B_z2FEHm.js} +7 -7
- package/dist/{chunk-CVBHYZKI-B_c5YBcW.js → chunk-CVBHYZKI-CwazXVlJ.js} +1 -1
- package/dist/{chunk-DI55MBZ5-Dwkn0LWm.js → chunk-DI55MBZ5-D4Y8yV8B.js} +6 -6
- package/dist/{chunk-EXTU4WIE-9sNjmQrB.js → chunk-EXTU4WIE-BQPBhApE.js} +2 -2
- package/dist/{chunk-FMBD7UC4-Ie8M9q0W.js → chunk-FMBD7UC4-quJmebXa.js} +1 -1
- package/dist/{chunk-FRFDVMJY-DzQqMWrl.js → chunk-FRFDVMJY-BHBqN-vD.js} +1 -1
- package/dist/{chunk-HN2XXSSU-E3n-Ys7Z.js → chunk-HN2XXSSU-Bv0QkeMr.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-C32Y7Epf.js → chunk-JA3XYJ7Z-CY4CRbV5.js} +3 -3
- package/dist/{chunk-JZLCHNYA-C6ftyVMN.js → chunk-JZLCHNYA-DWIR9m5O.js} +6 -6
- package/dist/{chunk-MI3HLSF2-CUYEasXO.js → chunk-MI3HLSF2-HGWI-8Pg.js} +1 -1
- package/dist/{chunk-N4CR4FBY-DUhGZhZs.js → chunk-N4CR4FBY-Bw2HcMNc.js} +7 -7
- package/dist/{chunk-PL6DKKU2-D7km-08O.js → chunk-PL6DKKU2-CAHKc95s.js} +1 -1
- package/dist/{chunk-QN33PNHL-0K6SDYn3.js → chunk-QN33PNHL-DPBNNzpR.js} +2 -2
- package/dist/{chunk-QXUST7PY-DMhsRpYK.js → chunk-QXUST7PY-DtC2t9Mk.js} +10 -10
- package/dist/{chunk-QZHKN3VN-DRjXVwuJ.js → chunk-QZHKN3VN-Dym5BS7y.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-oAe3dEbO.js → chunk-S3R3BYOJ-BdgLc8AM.js} +4 -4
- package/dist/{chunk-SJTYNZTY-BkJrPRFC.js → chunk-SJTYNZTY-DnXoKWpW.js} +1 -1
- package/dist/{chunk-TCCFYFTB-D58KeXnC.js → chunk-TCCFYFTB-DPWJa9zL.js} +1 -1
- package/dist/{chunk-TQ3KTPDO-D_yA_wAb.js → chunk-TQ3KTPDO-CsDx6v37.js} +1 -1
- package/dist/{chunk-TZMSLE5B-yBKS_DQU.js → chunk-TZMSLE5B-BzSHcq-K.js} +3 -3
- package/dist/{chunk-UMXZTB3W-D7uwvNjd.js → chunk-UMXZTB3W-D1uHz8MN.js} +1 -1
- package/dist/classDiagram-2ON5EDUG-BiQPjMNY.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-YHdR8fqM.js +30 -0
- package/dist/{clike-DTxNUn7l.js → clike-7lgyEYRk.js} +1 -1
- package/dist/clojure-CUybM11R.js +4 -0
- package/dist/cmake-BPjGcuDL.js +4 -0
- package/dist/cobol-BETk_nb6.js +4 -0
- package/dist/{code-block-37QAKDTI-O6IH6wAi.js → code-block-37QAKDTI-MSxEjskJ.js} +1 -1
- package/dist/{code-visibility-B8b6lh5X.js → code-visibility-i9MrZhpb.js} +1554 -1471
- package/dist/coffeescript-CManZxXL.js +4 -0
- package/dist/commonlisp-DWkn7GW8.js +4 -0
- package/dist/{copy-COam1EG7.js → copy-Cs3yt6Vt.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-kjoZoid4.js → cose-bilkent-S5V4N54A-BYj0aL7z.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-J0JKgwOt.js → dagre-6UL2VRFP-DpYjBqQs.js} +11 -11
- package/dist/{data-grid-overlay-editor-C6lxUJp-.js → data-grid-overlay-editor-BWRG2b_o.js} +2 -2
- package/dist/{constants-T20xxyNf.js → debounce-BOD3DbfP.js} +1 -24
- package/dist/{diagram-PSM6KHXK-DYgJuNk9.js → diagram-PSM6KHXK-D4ftnaua.js} +22 -22
- package/dist/{diagram-QEK2KX5R-CKdBR2sb.js → diagram-QEK2KX5R-DVlUOgs1.js} +17 -17
- package/dist/{diagram-S2PKOQOG-Dpi7mo5W.js → diagram-S2PKOQOG-CGh4OMEV.js} +17 -17
- package/dist/diff-DJIRmJ1g.js +4 -0
- package/dist/{dist-DyyjKEYf.js → dist-3NCqaWjt.js} +2 -2
- package/dist/{dist-D-W5ny5a.js → dist-4lVIWUT3.js} +1 -1
- package/dist/dist-5o9uz19x.js +5 -0
- package/dist/{dist-GZXUmt0b.js → dist-B2jmQKKx.js} +2 -2
- package/dist/{dist--2Bqjvs0.js → dist-B96tMAst.js} +2 -2
- package/dist/{dist-BaoDKvdy.js → dist-BCX980mU.js} +2 -2
- package/dist/{dist-DMjWuVs8.js → dist-BIEt-mlF.js} +1 -1
- package/dist/{dist-BR_gyG9L.js → dist-BO5HRiTf.js} +2 -2
- package/dist/{dist-Dv_Y15yk.js → dist-BOMbzyb3.js} +85 -85
- package/dist/{dist-CIYBwstr.js → dist-BP39XM8u.js} +1 -1
- package/dist/{dist-DZo4nSS0.js → dist-BPF0gTRZ.js} +6 -6
- package/dist/{dist-BSAt6RhH.js → dist-BTdrwBWP.js} +22 -22
- package/dist/{dist-BY018Paw.js → dist-BdqCKQ1O.js} +2 -2
- package/dist/dist-BpDH0DEP.js +5 -0
- package/dist/dist-BpXhbQXO.js +8 -0
- package/dist/{dist-CcWX6tmx.js → dist-BpeiYpG2.js} +2 -2
- package/dist/{dist-A2846XWO.js → dist-BwhXBwMd.js} +1 -1
- package/dist/dist-ByadAk_L.js +5 -0
- package/dist/{dist-abid3KgM.js → dist-C18MUWTj.js} +2 -2
- package/dist/{dist-DZORgqKY.js → dist-C2_4pjuS.js} +1 -1
- package/dist/{dist-BzEzfugY.js → dist-CFSb_Frm.js} +1 -1
- package/dist/dist-CK0g7JvP.js +8 -0
- package/dist/{dist-C_Y3oV3C.js → dist-CRmSjkLP.js} +2 -2
- package/dist/{dist-hT4QzYX-.js → dist-CSlJrrAw.js} +86 -81
- package/dist/{dist-Du8WkPuU.js → dist-CV79CsQ0.js} +2 -2
- package/dist/dist-CfzCtiq2.js +5 -0
- package/dist/{dist-CoXAujgg.js → dist-D3bdsa1d.js} +4 -4
- package/dist/dist-D8JtVFrW.js +8 -0
- package/dist/dist-DK2Oocpu.js +6 -0
- package/dist/{dist-LTU8Hdvn.js → dist-DZwp8lro.js} +3 -3
- package/dist/{dist-t9Kf7xqC.js → dist-DaXJPX8F.js} +2 -2
- package/dist/{dist-U4F-tbMs.js → dist-De-GlSAs.js} +246 -184
- package/dist/{dist-M9Vag9Y0.js → dist-DgjbnqTg.js} +125 -125
- package/dist/dist-DnSu977r.js +5 -0
- package/dist/{dist-CxJDU6Bh.js → dist-DviUBLUp.js} +4 -4
- package/dist/{dist-CpxNdDkw.js → dist-DwqBJ014.js} +2 -2
- package/dist/{dist-Bf7SHuNp.js → dist-JGehap7K.js} +5 -5
- package/dist/{dist-Bk75fBZA.js → dist-LpLXa9Lb.js} +2 -2
- package/dist/{dist-Bf9f8MuT.js → dist-SXNmlE8A.js} +1 -1
- package/dist/dist-UmxJm6sW.js +8 -0
- package/dist/dist-aYSBQSyM.js +5 -0
- package/dist/dist-kkZ1Ztlh.js +6 -0
- package/dist/dist-ngPczwNi.js +5 -0
- package/dist/{dist-DgGbNavJ.js → dist-pqIwD8VD.js} +2 -2
- package/dist/dist-wQRyxyTV.js +5 -0
- package/dist/{dist-Dax--nl9.js → dist-w_gWE5Wf.js} +1 -1
- package/dist/{dockerfile-twL37N91.js → dockerfile-B82Pkz_V.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-BU-m41EQ.js → erDiagram-Q2GNP2WA-BcKAHFqF.js} +15 -15
- package/dist/erlang-BnLzgk7R.js +4 -0
- package/dist/{error-banner-DFPfz_Qf.js → error-banner-DR7o3CbX.js} +68 -68
- package/dist/{esm-ga2Bf3O2.js → esm-DKOv6P2M.js} +424 -424
- package/dist/esm-k8PIvuZW.js +1180 -0
- package/dist/{extends-9MVIxxRo.js → extends-Cq2JYHKy.js} +36 -20
- package/dist/{factor-CajWS6mS.js → factor-Bq2mGIHt.js} +1 -1
- package/dist/factor-C7f9Jz5R.js +4 -0
- package/dist/{flowDiagram-NV44I4VS-CRoXKjGq.js → flowDiagram-NV44I4VS-BRhSg-ro.js} +17 -17
- package/dist/{formats-Dzx4J_z1.js → formats-BFhkZJwd.js} +3 -3
- package/dist/forth-rGM8jLao.js +4 -0
- package/dist/fortran-B3acSe0i.js +4 -0
- package/dist/{ganttDiagram-JELNMOA3-7mq5f9cO.js → ganttDiagram-JELNMOA3-CXXCN7LN.js} +10 -10
- package/dist/gas-Bb1Vmv_N.js +4 -0
- package/dist/gherkin-C9Lyidgd.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-DiniR35k.js → gitGraph-G5XIXVHT-BjTx0kww.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-Dfuokq6w.js → gitGraphDiagram-V2S2FVAM-BOlkMSqK.js} +17 -17
- package/dist/{glide-data-editor-CjTu7ukN.js → glide-data-editor--CaN-f27.js} +13 -13
- package/dist/groovy-DQk6XcGH.js +4 -0
- package/dist/haskell-mV0Vw9gv.js +4 -0
- package/dist/haxe-DqxN89zH.js +5 -0
- package/dist/{html-to-image-_wGfk8V-.js → html-to-image-DDENewl2.js} +2649 -2607
- package/dist/idl-ya8W561J.js +4 -0
- package/dist/{info-VBDWY6EO-DVZvGhkQ.js → info-VBDWY6EO-CA67FznA.js} +3 -3
- package/dist/infoDiagram-HS3SLOUP-D3TyKnL_.js +30 -0
- package/dist/{input-DtsN7xm-.js → input-DStQIuqD.js} +51 -51
- package/dist/javascript-CgqgptVu.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-8XYSU1GI.js → journeyDiagram-XKPGCS4Q-DEal0aT1.js} +7 -7
- package/dist/julia-CFQ-HusI.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7--9pT9z1R.js → kanban-definition-3W4ZIXB7-Dl90wENN.js} +12 -12
- package/dist/{katex-9-9QRhxz.js → katex-C4t-BmrK.js} +1 -1
- package/dist/{label-WfTSU8L4.js → label-DIk0QoFe.js} +2 -2
- package/dist/{line-C5s_12ee.js → line-C43FIPBd.js} +3 -3
- package/dist/{linear-B5-AFRiR.js → linear-H_vsH9ao.js} +4 -4
- package/dist/livescript-D__3TmDo.js +4 -0
- package/dist/{loader-Boph2xIS.js → loader-CTHCI-qe.js} +5 -16
- package/dist/lua-Bytcgj_W.js +4 -0
- package/dist/main.js +2439 -2199
- package/dist/mathematica-DJhvVKvl.js +4 -0
- package/dist/mbox-IGHPCjfR.js +4 -0
- package/dist/{mermaid-4DMBBIKO-Eg3D4FVz.js → mermaid-4DMBBIKO-FXbOziy9.js} +1 -1
- package/dist/{mermaid-BYqXy_NE.js → mermaid-CdSvixW2.js} +47 -47
- package/dist/{mermaid-parser.core-C3XRsazI.js → mermaid-parser.core-DoivvxPd.js} +8 -8
- package/dist/{mhchem-yiCCuiEF.js → mhchem-EGhUZR1V.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-B-4mnfFG.js → mindmap-definition-VGOIOE7T-CCDupjWW.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/nsis-BU7GeGbI.js +4 -0
- package/dist/{nsis-ClF3r5Tr.js → nsis-i9_sgigf.js} +1 -1
- package/dist/ntriples-CL-FCYXb.js +4 -0
- package/dist/{number-overlay-editor-BLJXvX9c.js → number-overlay-editor-Ck_mc_gT.js} +1 -1
- package/dist/objects-De59twF-.js +56 -0
- package/dist/octave-Dc6_3DIu.js +4 -0
- package/dist/{ordinal-ArJavP1Q.js → ordinal-Bkv2-veX.js} +1 -1
- package/dist/oz-DpUAJCXf.js +4 -0
- package/dist/{packet-DYOGHKS2-34raHOiB.js → packet-DYOGHKS2-Bkgofxf3.js} +3 -3
- package/dist/pascal-B17mncXs.js +4 -0
- package/dist/perl-BTpK97q9.js +4 -0
- package/dist/{pie-VRWISCQL-BaLlzZa3.js → pie-VRWISCQL-B1AMhN_7.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-Cr3cNpZY.js → pieDiagram-ADFJNKIX-JvXG_6hk.js} +22 -22
- package/dist/pig-CFb638Ap.js +4 -0
- package/dist/powershell-Cxo-_2A5.js +4 -0
- package/dist/{precisionRound-Tqb4mg-H.js → precisionRound-CnHPY_5v.js} +1 -1
- package/dist/{process-output-Mh4UrjwM.js → process-output-2QPcgBQg.js} +4 -4
- 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-B_rby2yb.js → pug-BhE2JRSg.js} +1 -1
- package/dist/puppet-DarIr20S.js +4 -0
- package/dist/purify.es-EnR5yhgI.js +783 -0
- package/dist/python-BqmOsBsi.js +4 -0
- package/dist/q-D3QJCTup.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-BuNL8Q93.js → quadrantDiagram-AYHSOK5B-BqDB9tUC.js} +5 -5
- package/dist/r-Cz_yBX4z.js +4 -0
- package/dist/{radar-ZZBFDIW7-Ci7bfoZa.js → radar-ZZBFDIW7-C2b7A32s.js} +3 -3
- package/dist/{react-vega-B0sAlDTL.js → react-vega-BazDALhI.js} +469 -469
- package/dist/{requirementDiagram-UZGBJVZJ-BG2lLUN1.js → requirementDiagram-UZGBJVZJ-KbVt8SPH.js} +14 -14
- package/dist/{reveal-component-D0fwa0Mk.js → reveal-component-BQQIEJqn.js} +629 -622
- package/dist/rpm-DGOtYwAI.js +5 -0
- package/dist/ruby-DBZu4rPc.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-DMal8sps.js → sankeyDiagram-TZEHDZUN-DgkF38jx.js} +5 -5
- package/dist/sas-Dd1D9qTq.js +4 -0
- package/dist/scheme-BmDjvTHX.js +4 -0
- package/dist/{sequenceDiagram-WL72ISMW-DT6Tk-Eo.js → sequenceDiagram-WL72ISMW-BDmx9n95.js} +8 -8
- package/dist/shell-BL8zFSaj.js +4 -0
- package/dist/sieve-BAx2WqUP.js +4 -0
- package/dist/smalltalk-CYRzF7VV.js +4 -0
- package/dist/sparql-YWaDRO4A.js +4 -0
- package/dist/{spec-Cz-Bj1JI.js → spec-CnaxwDqy.js} +4 -4
- package/dist/{src-Bf2iLOlr.js → src-DV3ha_nA.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-CB_lodq3.js → stateDiagram-FKZM4ZOC-ByOvQf2n.js} +17 -17
- package/dist/stateDiagram-v2-4FDKWEC3-C3xqeavR.js +29 -0
- package/dist/{step-CWipAYTY.js → step-BqHnkgWE.js} +1 -1
- package/dist/stex-B5O-env2.js +4 -0
- package/dist/{strings-Dq_j3Rxw.js → strings-BYAhZnQi.js} +354 -354
- package/dist/style.css +1 -1
- package/dist/stylus-lYsyLFc1.js +4 -0
- package/dist/swift-ClQz9z1n.js +4 -0
- package/dist/{swiper-component-5HoSsPi1.js → swiper-component-DE94711u.js} +4 -4
- package/dist/tcl-B3jhsfqY.js +4 -0
- package/dist/textile-Cb1Dw7Aq.js +4 -0
- package/dist/{time-CsmIF9YZ.js → time-Bb4A7I6a.js} +4 -4
- package/dist/{timeline-definition-IT6M3QCI-NfSKRvH0.js → timeline-definition-IT6M3QCI-CkD_trIn.js} +4 -4
- package/dist/{toDate-CWNNlFEX.js → toDate-B3IRfHhw.js} +16 -7
- package/dist/toml-nHZhetdO.js +4 -0
- package/dist/{tooltip-Czds6Qr8.js → tooltip-B-qh7UPB.js} +3 -3
- package/dist/{treemap-GDKQZRPO-Cl6OQh8D.js → treemap-GDKQZRPO-SDux0AV8.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-C2Ir191_.js → types-DQl7jVYK.js} +1 -1
- package/dist/use-vega-container-remeasure-DGNrIQSk.js +27 -0
- package/dist/{useAsyncData-KfHB8wQR.js → useAsyncData-CvO8WUy3.js} +1 -1
- package/dist/{useDateFormatter-CMnRuVmN.js → useDateFormatter-BSoGim-G.js} +2 -2
- package/dist/{useDeepCompareMemoize-nJMtxhm4.js → useDeepCompareMemoize-J3MKRdA4.js} +1 -1
- package/dist/{useIframeCapabilities-DWIYvDh7.js → useIframeCapabilities-POcFXHbw.js} +1 -1
- package/dist/{useLifecycle-DegSo0lV.js → useLifecycle-DqPxHgAN.js} +3 -3
- package/dist/{useTheme-6eZ3GOTS.js → useTheme-XMq9mNf_.js} +65 -29
- package/dist/vb-De5hElus.js +4 -0
- package/dist/vbscript-Cypcpv4F.js +4 -0
- package/dist/{vega-component-DzyyM9fc.js → vega-component-CrFoZT1S.js} +225 -223
- package/dist/vega-embed-container-DAQAMjiO.js +22 -0
- package/dist/vega-loader.browser-DmpxCJqx.js +1353 -0
- 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-BvwftqMA.js → xychartDiagram-PRI3JC2R-BSkNxYNw.js} +13 -13
- package/dist/yacas-Jt25Fuv8.js +4 -0
- package/dist/z80-CrcbYzmp.js +4 -0
- package/dist/{zod-CijjQh4u.js → zod-D0yOqoGe.js} +26 -26
- package/package.json +3 -1
- package/src/__mocks__/requests.ts +3 -0
- package/src/components/charts/lazy.tsx +3 -1
- package/src/components/charts/vega-embed-container.tsx +18 -0
- package/src/components/chat/__tests__/chat-utils.test.ts +244 -1
- package/src/components/chat/__tests__/message-queue.test.tsx +121 -0
- package/src/components/chat/chat-panel.tsx +196 -67
- package/src/components/chat/chat-utils.ts +111 -2
- package/src/components/editor/RecoveryButton.tsx +2 -2
- package/src/components/editor/SortableCell.tsx +6 -2
- package/src/components/editor/__tests__/output-persistence.test.tsx +241 -0
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +153 -0
- package/src/components/editor/actions/pair-with-agent-commands.ts +109 -0
- package/src/components/editor/actions/pair-with-agent-modal.tsx +20 -64
- package/src/components/editor/actions/useNotebookActions.tsx +8 -0
- package/src/components/editor/ai/add-cell-with-ai.tsx +14 -5
- package/src/components/editor/ai/ai-completion-editor.tsx +4 -1
- package/src/components/editor/cell/cell-context-menu.tsx +7 -0
- package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +221 -0
- package/src/components/editor/chrome/components/feedback-button.tsx +308 -77
- package/src/components/editor/chrome/panels/packages-panel.tsx +11 -1
- package/src/components/editor/chrome/panels/write-secret-modal.tsx +3 -2
- package/src/components/editor/columns/__tests__/cell-column.test.tsx +105 -0
- package/src/components/editor/columns/cell-column.tsx +34 -4
- package/src/components/editor/columns/sortable-column.tsx +24 -4
- package/src/components/editor/connections/__tests__/secret-combobox.test.ts +134 -0
- package/src/components/editor/connections/database/schemas.ts +35 -27
- package/src/components/editor/connections/form-renderers.tsx +42 -110
- package/src/components/editor/connections/secret-combobox.tsx +253 -0
- package/src/components/editor/connections/storage/schemas.ts +12 -6
- package/src/components/editor/file-tree/download.ts +46 -0
- package/src/components/editor/file-tree/file-explorer.tsx +3 -21
- package/src/components/editor/file-tree/file-viewer.tsx +4 -27
- package/src/components/editor/navigation/__tests__/navigation.test.ts +33 -0
- package/src/components/editor/navigation/navigation.ts +8 -1
- package/src/components/editor/notebook-cell.tsx +203 -106
- package/src/components/editor/renderers/__tests__/cells-renderer.test.tsx +66 -0
- package/src/components/editor/renderers/cell-array.tsx +26 -13
- package/src/components/editor/renderers/cells-renderer.tsx +8 -2
- package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +29 -0
- package/src/components/editor/renderers/slides-layout/types.ts +4 -0
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +19 -19
- package/src/components/slides/reveal-component.tsx +37 -17
- package/src/components/slides/slide-form.tsx +72 -0
- package/src/components/ui/toast.tsx +11 -3
- package/src/components/ui/toaster.tsx +65 -9
- package/src/core/ai/context/providers/error.ts +6 -158
- package/src/core/cells/__tests__/utils.test.ts +59 -0
- package/src/core/cells/utils.ts +51 -0
- package/src/core/codemirror/completion/__tests__/signature-hint.test.ts +97 -3
- package/src/core/codemirror/completion/signature-hint.ts +78 -11
- package/src/core/constants.ts +8 -0
- package/src/core/diagnostics/__tests__/issue-details.test.ts +173 -0
- package/src/core/diagnostics/issue-details.ts +139 -0
- package/src/core/errors/__tests__/error-entries.test.ts +25 -0
- package/src/core/errors/error-entries.ts +176 -0
- package/src/core/islands/__tests__/bootstrap.test.ts +61 -0
- package/src/core/islands/__tests__/bridge.test.ts +373 -47
- package/src/core/islands/__tests__/main.test.ts +176 -0
- package/src/core/islands/__tests__/parse.test.ts +105 -0
- package/src/core/islands/bootstrap.ts +28 -5
- package/src/core/islands/bridge.ts +140 -39
- package/src/core/islands/components/__tests__/web-components.test.tsx +248 -0
- package/src/core/islands/components/output-wrapper.tsx +4 -1
- package/src/core/islands/components/web-components.tsx +76 -15
- package/src/core/islands/constants.ts +1 -0
- package/src/core/islands/main.ts +69 -3
- package/src/core/islands/parse.ts +70 -23
- package/src/core/islands/state.ts +9 -0
- package/src/core/islands/worker/__tests__/controller.test.ts +173 -0
- package/src/core/islands/worker/worker.tsx +159 -63
- package/src/core/network/__tests__/requests-lazy.test.ts +18 -0
- package/src/core/network/__tests__/requests-network.test.ts +7 -0
- package/src/core/network/requests-lazy.ts +13 -1
- package/src/core/network/requests-network.ts +3 -0
- package/src/core/network/requests-static.ts +1 -0
- package/src/core/network/requests-toasting.tsx +1 -0
- package/src/core/network/types.ts +3 -0
- package/src/core/runtime/__tests__/runtime.test.ts +64 -0
- package/src/core/runtime/runtime.ts +30 -10
- package/src/core/wasm/bridge.ts +8 -0
- package/src/core/wasm/worker/bootstrap.ts +113 -20
- package/src/core/wasm/worker/types.ts +2 -0
- package/src/css/app/Cell.css +10 -0
- package/src/hooks/__tests__/useHotkey.test.tsx +88 -0
- package/src/hooks/useHotkey.ts +29 -4
- package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +7 -1
- package/src/plugins/impl/anywidget/__tests__/AnyWidgetPlugin.test.tsx +26 -1
- package/src/plugins/impl/anywidget/__tests__/host.test.ts +6 -9
- package/src/plugins/impl/anywidget/__tests__/registry.test.ts +3 -1
- package/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts +32 -61
- package/src/plugins/impl/anywidget/model-proxy.ts +0 -13
- package/src/plugins/impl/anywidget/runtime.ts +1 -0
- package/src/plugins/impl/anywidget/widget-binding.ts +8 -34
- package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +53 -2
- package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +71 -0
- package/src/plugins/impl/vega/__tests__/use-vega-container-remeasure.test.ts +102 -0
- package/src/plugins/impl/vega/use-vega-container-remeasure.ts +39 -0
- package/src/plugins/impl/vega/vega-component.tsx +5 -4
- package/src/plugins/layout/NavigationMenuPlugin.tsx +156 -25
- package/src/theme/__tests__/useTheme.test.ts +68 -0
- package/src/theme/useTheme.ts +16 -1
- package/dist/apl-Bdc61P1y.js +0 -4
- package/dist/architecture-7HQA4BMR-Kyc44TmC.js +0 -6
- package/dist/asciiarmor-DVRHDGzT.js +0 -4
- package/dist/asn1-BmuKfkfu.js +0 -4
- package/dist/assets/__vite-browser-external-BQCLNwri.js +0 -1
- package/dist/assets/worker-DAWRHcPq.js +0 -73
- package/dist/brainfuck-DPrRpyTV.js +0 -4
- package/dist/classDiagram-2ON5EDUG-QjoAcuFE.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-bUCv4gu2.js +0 -30
- package/dist/clojure-DEttQW5T.js +0 -4
- package/dist/cmake-jNlx_DaM.js +0 -4
- package/dist/cobol-BvvIm5MJ.js +0 -4
- package/dist/coffeescript-DTpBMyFU.js +0 -4
- package/dist/commonlisp-BmmUG8jb.js +0 -4
- package/dist/crystal-BxyqmEWC.js +0 -4
- package/dist/css-BGoCtuG3.js +0 -4
- package/dist/cypher-BmCbdl3u.js +0 -4
- package/dist/d-CFrlbjZt.js +0 -4
- package/dist/diff-D6XwL6P8.js +0 -4
- package/dist/dist-7QfXoMdB.js +0 -5
- package/dist/dist-BEXXyZig.js +0 -5
- package/dist/dist-BYj57OV4.js +0 -5
- package/dist/dist-BlSvQzNr.js +0 -5
- package/dist/dist-CCBlxAgS.js +0 -8
- package/dist/dist-CIDTVIUf.js +0 -5
- package/dist/dist-CqQyhAM8.js +0 -8
- package/dist/dist-CwRu2Xzh.js +0 -5
- package/dist/dist-D8CDTVgf.js +0 -6
- package/dist/dist-D8DNB0nO.js +0 -8
- package/dist/dist-DL6N_q-A.js +0 -5
- package/dist/dist-DOFbNV_b.js +0 -8
- package/dist/dist-DPrYzMY0.js +0 -6
- package/dist/dist-cdmMjgsn.js +0 -5
- package/dist/dtd-Bw0lRN0-.js +0 -4
- package/dist/dylan-B55eBHTt.js +0 -4
- package/dist/ecl-C8G4p0wn.js +0 -4
- package/dist/eiffel-BmH46VJl.js +0 -4
- package/dist/elm-DhzeFqkl.js +0 -4
- package/dist/erlang-CY-wdlsU.js +0 -4
- package/dist/esm-M837UxV5.js +0 -1171
- package/dist/factor-DWkgl0xw.js +0 -4
- package/dist/forth-Cij_ie2t.js +0 -4
- package/dist/fortran-Br3X9cfm.js +0 -4
- package/dist/gas-DYsGcMN2.js +0 -4
- package/dist/gherkin-eVgXQ0fQ.js +0 -4
- package/dist/groovy-_NFHIXG7.js +0 -4
- package/dist/haskell-D6xNG_bH.js +0 -4
- package/dist/haxe-sU_rzAwn.js +0 -5
- package/dist/idl-Ds_VbrUx.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-CEnzWruK.js +0 -30
- package/dist/javascript-CztfIl0i.js +0 -4
- package/dist/julia-DDv40QMV.js +0 -4
- package/dist/livescript-BEOngLLc.js +0 -4
- package/dist/lua-9-7BhQ4Y.js +0 -4
- package/dist/mathematica-DDa0Pfxm.js +0 -4
- package/dist/mbox-iO03mmoE.js +0 -4
- package/dist/mirc-C9z5LT4X.js +0 -4
- package/dist/mllike-jGJbdm_C.js +0 -6
- package/dist/modelica-DzF7oIEL.js +0 -4
- package/dist/mscgen-DB-u125o.js +0 -6
- package/dist/mumps-CRTFHhzh.js +0 -4
- package/dist/nsis-C4NPTuox.js +0 -4
- package/dist/ntriples-BCOoGph1.js +0 -4
- package/dist/octave-DTwNlazz.js +0 -4
- package/dist/oz-DD38AzSz.js +0 -4
- package/dist/pascal-BohSp9jV.js +0 -4
- package/dist/perl-f5OutoPM.js +0 -4
- package/dist/pig-Dv7wSmHb.js +0 -4
- package/dist/powershell-rYgjKB39.js +0 -4
- package/dist/properties-BFUNLRDN.js +0 -4
- package/dist/protobuf-B9QJQPPv.js +0 -4
- package/dist/pug-DzvWpaMC.js +0 -4
- package/dist/puppet-B_K-n_xK.js +0 -4
- package/dist/purify.es-H92eMd9-.js +0 -557
- package/dist/python-CAiFcaA2.js +0 -4
- package/dist/q-cLeFIBLK.js +0 -4
- package/dist/r-04Y-Wco3.js +0 -4
- package/dist/react-vega-B6ncY2Tp.js +0 -9
- package/dist/rpm-FUdrIia9.js +0 -5
- package/dist/ruby-DMjFXuEW.js +0 -4
- package/dist/sas-DzHZxjXK.js +0 -4
- package/dist/scheme-DxHd_Rb9.js +0 -4
- package/dist/shell-C8Kwypgf.js +0 -4
- package/dist/sieve-DdyqOKXZ.js +0 -4
- package/dist/smalltalk-pB7X1D9y.js +0 -4
- package/dist/sparql-NhBO6oOa.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-E0RGjKsm.js +0 -29
- package/dist/stex-KfRnSHzF.js +0 -4
- package/dist/stylus-SfWSnzPv.js +0 -4
- package/dist/swift-jRPdq2zR.js +0 -4
- package/dist/tcl-_hpTHGX3.js +0 -4
- package/dist/textile-C9h8slqH.js +0 -4
- package/dist/toml-DWvtinD4.js +0 -4
- package/dist/troff-Dwo_A0y7.js +0 -4
- package/dist/ttcn-V--CPFKq.js +0 -4
- package/dist/ttcn-cfg-CPSMchTG.js +0 -4
- package/dist/turtle-B4rPGBWu.js +0 -4
- package/dist/vb-DaMBBd4j.js +0 -4
- package/dist/vbscript-BMJQqcE2.js +0 -4
- package/dist/vega-loader.browser-CZ-J8Py3.js +0 -1321
- package/dist/velocity-CGq2QRq2.js +0 -4
- package/dist/verilog-CUNo8F5u.js +0 -4
- package/dist/vhdl-CCzA0msW.js +0 -4
- package/dist/webidl-CqIMDIBL.js +0 -4
- package/dist/xquery-XC5Kbr-1.js +0 -4
- package/dist/yacas-CGOv7Dzy.js +0 -4
- package/dist/z80-CXhVmi-f.js +0 -4
- /package/dist/{Plot-CAYS29h9.js → Plot-YQOuVIei.js} +0 -0
- /package/dist/{apl-BCgCq9iM.js → apl-99A7dLQe.js} +0 -0
- /package/dist/{array-tvvEqPy7.js → array-O78LT16Y.js} +0 -0
- /package/dist/{asciiarmor-BtqU-KJQ.js → asciiarmor-DLEhpFDx.js} +0 -0
- /package/dist/{asn1-Dmb-dTMx.js → asn1-CMrcTsT4.js} +0 -0
- /package/dist/{asterisk-DaVJJDnV.js → asterisk-CqykImq7.js} +0 -0
- /package/dist/{brainfuck-C1HoZKlE.js → brainfuck-ChPt5yBe.js} +0 -0
- /package/dist/{chunk-DR5Q36YT-BflwErH1.js → chunk-DR5Q36YT-5Yp2GWwR.js} +0 -0
- /package/dist/{click-outside-container-BLPjMamz.js → click-outside-container-BSIeYt4y.js} +0 -0
- /package/dist/{clike-CdT0yHjt.js → clike-CE0fXfM_.js} +0 -0
- /package/dist/{clojure-CdyrCpUv.js → clojure-QkBEMU-g.js} +0 -0
- /package/dist/{cmake-BFlPxym7.js → cmake-CU1jX7Mo.js} +0 -0
- /package/dist/{cobol-CcJXewp8.js → cobol-DMOKzzky.js} +0 -0
- /package/dist/{coffeescript-DnKuIKRo.js → coffeescript-DjnjLyfk.js} +0 -0
- /package/dist/{colors-CQAOa8cK.js → colors-DmiH1bIH.js} +0 -0
- /package/dist/{common-keywords-FBrXPTcz.js → common-keywords-D3nPJNQP.js} +0 -0
- /package/dist/{commonlisp-B-kok83Z.js → commonlisp-CYd9iOSe.js} +0 -0
- /package/dist/{crystal-FYRYjI1I.js → crystal-Dy55yoYG.js} +0 -0
- /package/dist/{css-B45lc2V3.js → css-CNU8w3HJ.js} +0 -0
- /package/dist/{cypher-DZMLyVY_.js → cypher-q47DGzK7.js} +0 -0
- /package/dist/{cytoscape.esm-ayF70frT.js → cytoscape.esm-Dr8XzXWK.js} +0 -0
- /package/dist/{d-x-VVT4o9.js → d-jEkaLvxX.js} +0 -0
- /package/dist/{defaultLocale-u-3osm0P.js → defaultLocale-BpsHxBd7.js} +0 -0
- /package/dist/{defaultLocale-BoHTsDG6.js → defaultLocale-DoeErsX2.js} +0 -0
- /package/dist/{diff-Dxe2mpXk.js → diff-vb2-unFN.js} +0 -0
- /package/dist/{dist-BGdYVvOu.js → dist-DsoKosxi.js} +0 -0
- /package/dist/{dtd-C9VM_Wfu.js → dtd-C9kR-bXa.js} +0 -0
- /package/dist/{duckdb-keywords-CvJhR_Yd.js → duckdb-keywords-B6HYCMOT.js} +0 -0
- /package/dist/{dylan-DTSnEIFO.js → dylan-BLckrK-V.js} +0 -0
- /package/dist/{ebnf-2D4Ctp3y.js → ebnf-Cnp3L9jg.js} +0 -0
- /package/dist/{ecl-N04ptnRK.js → ecl-CEsf6XVg.js} +0 -0
- /package/dist/{eiffel-Dd8rpqr_.js → eiffel-2KGZNzx6.js} +0 -0
- /package/dist/{elm-GT2E866W.js → elm-D2s3K5wF.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DzSb5hsH.js → emotion-is-prop-valid.esm-DdVSF4FD.js} +0 -0
- /package/dist/{erlang-Cf0Bp5pY.js → erlang-0PMFOndk.js} +0 -0
- /package/dist/{esm-BaaaPNGl.js → esm-CuQHjs36.js} +0 -0
- /package/dist/{fcl-Ccj8Z5Xd.js → fcl-D9nccAWI.js} +0 -0
- /package/dist/{forth-wd_XzGTg.js → forth-DG89iUsu.js} +0 -0
- /package/dist/{fortran-DcwUTZFe.js → fortran-ytKsAVvu.js} +0 -0
- /package/dist/{gas-DeALIER3.js → gas-Cg2Fm0N2.js} +0 -0
- /package/dist/{gherkin-CKTqaJNX.js → gherkin-B87FEnZ-.js} +0 -0
- /package/dist/{groovy-Bwdp_d8D.js → groovy-Dcs08AWD.js} +0 -0
- /package/dist/{haskell-DCdCcPLK.js → haskell-cwkOuhx6.js} +0 -0
- /package/dist/{haxe-DAyktQWJ.js → haxe-DWEo4q10.js} +0 -0
- /package/dist/{http-_DVAYWoR.js → http-B8jdG64J.js} +0 -0
- /package/dist/{idl-CBuZiRYu.js → idl-WWQwDcRV.js} +0 -0
- /package/dist/{init-uv0kkh4g.js → init-DNBbYZd_.js} +0 -0
- /package/dist/{javascript-DzigE11c.js → javascript-BeR74dxD.js} +0 -0
- /package/dist/{julia-PwfB-0Cm.js → julia-UlvCUYGL.js} +0 -0
- /package/dist/{katex-C_XRmjAP.js → katex-Bld7b-fk.js} +0 -0
- /package/dist/{livescript-BJLz1EbT.js → livescript-GPmFcmYV.js} +0 -0
- /package/dist/{lua-ZC-XC2jf.js → lua-DYoT_0zM.js} +0 -0
- /package/dist/{main-Tj_-QTyF.js → main-B1Jo_8pC.js} +0 -0
- /package/dist/{math-DFcdCCU8.js → math-CBNc2Ib0.js} +0 -0
- /package/dist/{mathematica-DCYMx6qB.js → mathematica-DSFIQlbG.js} +0 -0
- /package/dist/{mbox-OxMK_9XI.js → mbox-ej8lFMdL.js} +0 -0
- /package/dist/{micromark-factory-space-DF2w36zS.js → micromark-factory-space-CwHmg6iz.js} +0 -0
- /package/dist/{mirc-nJVyhA0H.js → mirc-CAdIdvHQ.js} +0 -0
- /package/dist/{mllike-DRO89bsU.js → mllike-CjTB1lHF.js} +0 -0
- /package/dist/{modelica-Don3E6ZD.js → modelica-BB68FYMa.js} +0 -0
- /package/dist/{mscgen-DJfqD3bN.js → mscgen-BkbzgGGI.js} +0 -0
- /package/dist/{mumps-SjGTvDYL.js → mumps-Cu-28E9F.js} +0 -0
- /package/dist/{nginx-DasThI7R.js → nginx-C1ofKPst.js} +0 -0
- /package/dist/{node-sql-parser-B8nBD36q.js → node-sql-parser-DLl_zNw0.js} +0 -0
- /package/dist/{ntriples-CNBKRl3I.js → ntriples-D9cQiZxZ.js} +0 -0
- /package/dist/{octave-DdeVHNlx.js → octave-BvtAnPX0.js} +0 -0
- /package/dist/{once-DPuqGUeo.js → once-B60G2fuJ.js} +0 -0
- /package/dist/{oz-CcKSoNvN.js → oz-COaVHk2E.js} +0 -0
- /package/dist/{pascal-6leftwNj.js → pascal-BFpqVD2x.js} +0 -0
- /package/dist/{path-BGaWgPKg.js → path-DwWbhZFI.js} +0 -0
- /package/dist/{perl-BhJIwWzN.js → perl-DaiORxHP.js} +0 -0
- /package/dist/{pig-r-xDHqRf.js → pig-DFzRhmsF.js} +0 -0
- /package/dist/{powershell-D-BELeNi.js → powershell-BG2LQNKN.js} +0 -0
- /package/dist/{properties-CnuDhbll.js → properties-CqJJR5QY.js} +0 -0
- /package/dist/{protobuf-CO8RBhvX.js → protobuf-WwDYV1yY.js} +0 -0
- /package/dist/{puppet-NmXHjLy8.js → puppet-QNY3w_uN.js} +0 -0
- /package/dist/{python-DAQXi720.js → python-4QrQ3Ugi.js} +0 -0
- /package/dist/{q-DlikXfV0.js → q-DhwXuxE2.js} +0 -0
- /package/dist/{r-CuohilwT.js → r-Df-nkR25.js} +0 -0
- /package/dist/{range-C-rmrM1O.js → range-BOiA8qqU.js} +0 -0
- /package/dist/{rpm-0Pjwp0Pb.js → rpm-Cokue07s.js} +0 -0
- /package/dist/{ruby-Dq8NJTDG.js → ruby-DrYcL3qF.js} +0 -0
- /package/dist/{sas-CuwonyVP.js → sas-CoiPirA5.js} +0 -0
- /package/dist/{scheme-CYU-RRIf.js → scheme-CwFLjzHv.js} +0 -0
- /package/dist/{semaphore-CNDGTzkX.js → semaphore-C8rmHdhj.js} +0 -0
- /package/dist/{shell-COPmX2qE.js → shell-BFV-R24I.js} +0 -0
- /package/dist/{sieve-B_3zyLne.js → sieve-CxwXF5T9.js} +0 -0
- /package/dist/{simple-mode-DSBniks8.js → simple-mode-DTaJtKPt.js} +0 -0
- /package/dist/{smalltalk-DRft7iPv.js → smalltalk-QivVOCtX.js} +0 -0
- /package/dist/{solr-RZ9uTl59.js → solr-BLvysN-c.js} +0 -0
- /package/dist/{sparql-CN6qj55H.js → sparql-nKsFk8j7.js} +0 -0
- /package/dist/{spreadsheet-BNNUNXA2.js → spreadsheet-BWc8C2FT.js} +0 -0
- /package/dist/{sql-B4x8IkwU.js → sql-CWfUjlV1.js} +0 -0
- /package/dist/{stex-BIsgBmK4.js → stex-DtMAhV4-.js} +0 -0
- /package/dist/{stylus-Bn_ZjOQ3.js → stylus-BLKQAycn.js} +0 -0
- /package/dist/{swift-BLUJhMbz.js → swift-CJoKqiKj.js} +0 -0
- /package/dist/{tcl-C86fxecl.js → tcl-YTeYFNUc.js} +0 -0
- /package/dist/{textile-DmHh2rsK.js → textile-C6rKQqMQ.js} +0 -0
- /package/dist/{tiddlywiki-DI0mF2WJ.js → tiddlywiki-ZXwTHGNT.js} +0 -0
- /package/dist/{tiki-2HU6XLLn.js → tiki-C628O_u4.js} +0 -0
- /package/dist/{timer-YZl28NYN.js → timer-BpI_FKSA.js} +0 -0
- /package/dist/{toml-GWANRNAD.js → toml-DxlPGbRy.js} +0 -0
- /package/dist/{treemap-D-ka1hvx.js → treemap-DY3NBr79.js} +0 -0
- /package/dist/{troff-BHTsomIy.js → troff-DFCfH7Ku.js} +0 -0
- /package/dist/{ttcn-DQuhn5Mn.js → ttcn-DAW-ERVP.js} +0 -0
- /package/dist/{ttcn-cfg-HjFYtdB-.js → ttcn-cfg-CpJ8b7EN.js} +0 -0
- /package/dist/{turtle-nCay33Nv.js → turtle-BneV2f8L.js} +0 -0
- /package/dist/{vb-BG-XlqqJ.js → vb-D973Vxxh.js} +0 -0
- /package/dist/{vbscript-B6vyW0-D.js → vbscript-Dckaq3YO.js} +0 -0
- /package/dist/{velocity-CWegueqO.js → velocity-DKty-GUC.js} +0 -0
- /package/dist/{verilog-CzSQm4cG.js → verilog-aNaK_biA.js} +0 -0
- /package/dist/{vhdl-DqnNVL7r.js → vhdl-CQuehnQy.js} +0 -0
- /package/dist/{webidl-DXEUpDWH.js → webidl-Bhg8vaMr.js} +0 -0
- /package/dist/{xquery-Ba_NB5bD.js → xquery-D2q16GaM.js} +0 -0
- /package/dist/{yacas-HKQU6hyk.js → yacas-DHGOHnNa.js} +0 -0
- /package/dist/{z80-CXkHXLdj.js → z80-BPhTmO22.js} +0 -0
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import {
|
|
2
|
+
import { g as Logger, h as cn, m as Events } from "./button-BcSml68y.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
5
|
-
import { c as asRemoteURL, v as CircleQuestionMark } from "./toDate-
|
|
5
|
+
import { c as asRemoteURL, v as CircleQuestionMark } from "./toDate-B3IRfHhw.js";
|
|
6
6
|
import "./react-dom-BTJzcVJ9.js";
|
|
7
7
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
8
|
-
import "./zod-
|
|
9
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
10
|
-
import { t as Tooltip } from "./tooltip-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
8
|
+
import "./zod-D0yOqoGe.js";
|
|
9
|
+
import { n as ErrorBanner } from "./error-banner-DR7o3CbX.js";
|
|
10
|
+
import { t as Tooltip } from "./tooltip-B-qh7UPB.js";
|
|
11
|
+
import { t as debounce_default } from "./debounce-BOD3DbfP.js";
|
|
12
|
+
import { A as useEvent_default, n as useTheme } from "./useTheme-XMq9mNf_.js";
|
|
13
13
|
import { s as uniq } from "./arrays-sEtDRoG4.js";
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import "./
|
|
19
|
-
import "./defaultLocale-
|
|
20
|
-
import
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
14
|
+
import { t as Objects } from "./objects-De59twF-.js";
|
|
15
|
+
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-BFhkZJwd.js";
|
|
16
|
+
import { V as getContainerWidth, n as formats } from "./vega-loader.browser-DmpxCJqx.js";
|
|
17
|
+
import { a as tooltipHandler, n as vegaLoadData } from "./loader-CTHCI-qe.js";
|
|
18
|
+
import { t as j } from "./react-vega-BazDALhI.js";
|
|
19
|
+
import "./defaultLocale-BpsHxBd7.js";
|
|
20
|
+
import "./defaultLocale-DoeErsX2.js";
|
|
21
|
+
import { t as useAsyncData } from "./useAsyncData-CvO8WUy3.js";
|
|
22
|
+
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-J3MKRdA4.js";
|
|
23
|
+
import { t as Semaphore } from "./semaphore-C8rmHdhj.js";
|
|
24
|
+
import { t as useVegaContainerRemeasure } from "./use-vega-container-remeasure-DGNrIQSk.js";
|
|
23
25
|
var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
24
26
|
function fixRelativeUrl(e) {
|
|
25
27
|
return e.data && "url" in e.data && (e.data.url = asRemoteURL(e.data.url).href), e;
|
|
@@ -47,23 +49,23 @@ var NON_INTERACTIVE_MARKS = /* @__PURE__ */ new Set([
|
|
|
47
49
|
]);
|
|
48
50
|
const Marks = {
|
|
49
51
|
getMarkType(e) {
|
|
50
|
-
let
|
|
51
|
-
if (NON_INTERACTIVE_MARKS.has(
|
|
52
|
-
return
|
|
52
|
+
let S = typeof e == "string" ? e : e.type;
|
|
53
|
+
if (NON_INTERACTIVE_MARKS.has(S)) throw Error("Not supported");
|
|
54
|
+
return S;
|
|
53
55
|
},
|
|
54
56
|
isInteractive(e) {
|
|
55
|
-
let
|
|
56
|
-
return !NON_INTERACTIVE_MARKS.has(
|
|
57
|
+
let S = typeof e == "string" ? e : e.type;
|
|
58
|
+
return !NON_INTERACTIVE_MARKS.has(S);
|
|
57
59
|
},
|
|
58
60
|
makeClickable(e) {
|
|
59
|
-
let
|
|
60
|
-
return
|
|
61
|
+
let S = typeof e == "string" ? e : e.type;
|
|
62
|
+
return S in Mark ? typeof e == "string" ? {
|
|
61
63
|
type: e,
|
|
62
64
|
cursor: "pointer",
|
|
63
65
|
tooltip: true
|
|
64
66
|
} : {
|
|
65
67
|
...e,
|
|
66
|
-
type:
|
|
68
|
+
type: S,
|
|
67
69
|
cursor: "pointer",
|
|
68
70
|
tooltip: true
|
|
69
71
|
} : e;
|
|
@@ -111,9 +113,9 @@ const Marks = {
|
|
|
111
113
|
}
|
|
112
114
|
};
|
|
113
115
|
},
|
|
114
|
-
interval(e,
|
|
116
|
+
interval(e, S) {
|
|
115
117
|
return {
|
|
116
|
-
name: ParamNames.interval(
|
|
118
|
+
name: ParamNames.interval(S),
|
|
117
119
|
select: {
|
|
118
120
|
type: "interval",
|
|
119
121
|
encodings: getEncodingAxisForMark(e),
|
|
@@ -128,9 +130,9 @@ const Marks = {
|
|
|
128
130
|
}
|
|
129
131
|
};
|
|
130
132
|
},
|
|
131
|
-
point(e,
|
|
133
|
+
point(e, S) {
|
|
132
134
|
return {
|
|
133
|
-
name: ParamNames.point(
|
|
135
|
+
name: ParamNames.point(S),
|
|
134
136
|
select: {
|
|
135
137
|
type: "point",
|
|
136
138
|
encodings: getEncodingAxisForMark(e),
|
|
@@ -179,8 +181,8 @@ function getEncodingAxisForMark(e) {
|
|
|
179
181
|
case Mark.arc:
|
|
180
182
|
return ["color"];
|
|
181
183
|
case Mark.bar: {
|
|
182
|
-
let
|
|
183
|
-
return
|
|
184
|
+
let S = getDirectionOfBar(e);
|
|
185
|
+
return S === "horizontal" ? ["y"] : S === "vertical" ? ["x"] : void 0;
|
|
184
186
|
}
|
|
185
187
|
case Mark.circle:
|
|
186
188
|
case Mark.geoshape:
|
|
@@ -200,23 +202,23 @@ function getSelectionParamNames(e) {
|
|
|
200
202
|
function getDirectionOfBar(e) {
|
|
201
203
|
var _a, _b;
|
|
202
204
|
if (!e || !("mark" in e)) return;
|
|
203
|
-
let
|
|
204
|
-
if (
|
|
205
|
-
if (
|
|
206
|
-
if (
|
|
205
|
+
let S = (_a = e.encoding) == null ? void 0 : _a.x, C = (_b = e.encoding) == null ? void 0 : _b.y;
|
|
206
|
+
if (S && "type" in S && S.type === "nominal") return "vertical";
|
|
207
|
+
if (C && "type" in C && C.type === "nominal" || S && "aggregate" in S) return "horizontal";
|
|
208
|
+
if (C && "aggregate" in C) return "vertical";
|
|
207
209
|
}
|
|
208
210
|
function getBinnedFields(e) {
|
|
209
211
|
if (!e.encoding) return [];
|
|
210
|
-
let
|
|
211
|
-
for (let
|
|
212
|
-
return
|
|
212
|
+
let S = [];
|
|
213
|
+
for (let C of Object.values(e.encoding)) C && typeof C == "object" && "bin" in C && C.bin && "field" in C && typeof C.field == "string" && S.push(C.field);
|
|
214
|
+
return S;
|
|
213
215
|
}
|
|
214
216
|
function findEncodedFields(e) {
|
|
215
217
|
if (!e || !("encoding" in e)) return [];
|
|
216
|
-
let { encoding:
|
|
217
|
-
return
|
|
218
|
-
let [
|
|
219
|
-
return !
|
|
218
|
+
let { encoding: S } = e;
|
|
219
|
+
return S ? Object.entries(S).flatMap((e2) => {
|
|
220
|
+
let [S2, C] = e2;
|
|
221
|
+
return !C || !ALLOWED_ENCODING_TYPES.has(S2) ? [] : "field" in C && typeof C.field == "string" ? [C.field] : "condition" in C && C.condition && typeof C.condition == "object" && "field" in C.condition && C.condition.field && typeof C.condition.field == "string" ? [C.condition.field] : [];
|
|
220
222
|
}) : [];
|
|
221
223
|
}
|
|
222
224
|
var ALLOWED_ENCODING_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -227,16 +229,16 @@ var ALLOWED_ENCODING_TYPES = /* @__PURE__ */ new Set([
|
|
|
227
229
|
"shape",
|
|
228
230
|
"size"
|
|
229
231
|
]);
|
|
230
|
-
function makeEncodingInteractive(e, C, w
|
|
231
|
-
let
|
|
232
|
+
function makeEncodingInteractive(e, S, C, w) {
|
|
233
|
+
let T = C.filter((e2) => ParamNames.isBinColoring(e2)), E = { and: (T.length > 0 ? T : C).map((e2) => ({ param: e2 })) };
|
|
232
234
|
switch (e) {
|
|
233
235
|
case "opacity": {
|
|
234
|
-
let e2 = Marks.getOpacity(
|
|
236
|
+
let e2 = Marks.getOpacity(w) || 1;
|
|
235
237
|
return {
|
|
236
|
-
...
|
|
238
|
+
...S,
|
|
237
239
|
opacity: {
|
|
238
240
|
condition: {
|
|
239
|
-
test:
|
|
241
|
+
test: E,
|
|
240
242
|
value: e2
|
|
241
243
|
},
|
|
242
244
|
value: e2 / 5
|
|
@@ -244,202 +246,202 @@ function makeEncodingInteractive(e, C, w, T) {
|
|
|
244
246
|
};
|
|
245
247
|
}
|
|
246
248
|
default:
|
|
247
|
-
return
|
|
249
|
+
return S;
|
|
248
250
|
}
|
|
249
251
|
}
|
|
250
252
|
function getParamSignature(e) {
|
|
251
253
|
if (!("select" in e) || !e.select) return JSON.stringify(e);
|
|
252
|
-
let
|
|
253
|
-
if (typeof
|
|
254
|
-
type:
|
|
254
|
+
let S = e.select;
|
|
255
|
+
if (typeof S == "string") return JSON.stringify({
|
|
256
|
+
type: S,
|
|
255
257
|
bind: e.bind
|
|
256
258
|
});
|
|
257
|
-
let
|
|
258
|
-
type:
|
|
259
|
-
encodings: "encodings" in
|
|
260
|
-
fields: "fields" in
|
|
259
|
+
let C = {
|
|
260
|
+
type: S.type,
|
|
261
|
+
encodings: "encodings" in S && S.encodings ? [...S.encodings].toSorted() : void 0,
|
|
262
|
+
fields: "fields" in S && S.fields ? [...S.fields].toSorted() : void 0,
|
|
261
263
|
bind: e.bind
|
|
262
264
|
};
|
|
263
|
-
return JSON.stringify(
|
|
265
|
+
return JSON.stringify(C);
|
|
264
266
|
}
|
|
265
267
|
function hoistParamsAndApplyOpacity(e) {
|
|
266
|
-
let
|
|
267
|
-
if (
|
|
268
|
-
let
|
|
269
|
-
return
|
|
270
|
-
...applyOpacityToNestedSpecs(removeSpecificParamsFromNestedSpecs(e, new Set(
|
|
271
|
-
params: [...e.params || [], ...
|
|
268
|
+
let S = collectAllUnitSpecParams(e);
|
|
269
|
+
if (S.length === 0) return e;
|
|
270
|
+
let C = findCommonParams(S);
|
|
271
|
+
return C.length === 0 ? e : {
|
|
272
|
+
...applyOpacityToNestedSpecs(removeSpecificParamsFromNestedSpecs(e, new Set(C.map((e2) => e2.name))), C.map((e2) => e2.name)),
|
|
273
|
+
params: [...e.params || [], ...C]
|
|
272
274
|
};
|
|
273
275
|
}
|
|
274
276
|
function collectAllUnitSpecParams(e) {
|
|
275
|
-
let
|
|
276
|
-
if ("vconcat" in e && Array.isArray(e.vconcat)) for (let
|
|
277
|
-
else if ("hconcat" in e && Array.isArray(e.hconcat)) for (let
|
|
277
|
+
let S = [];
|
|
278
|
+
if ("vconcat" in e && Array.isArray(e.vconcat)) for (let C of e.vconcat) S.push(...collectAllUnitSpecParams(C));
|
|
279
|
+
else if ("hconcat" in e && Array.isArray(e.hconcat)) for (let C of e.hconcat) S.push(...collectAllUnitSpecParams(C));
|
|
278
280
|
else if ("layer" in e) return [];
|
|
279
|
-
else "mark" in e && "params" in e && e.params && e.params.length > 0 &&
|
|
280
|
-
return
|
|
281
|
+
else "mark" in e && "params" in e && e.params && e.params.length > 0 && S.push({ params: e.params });
|
|
282
|
+
return S;
|
|
281
283
|
}
|
|
282
284
|
function findCommonParams(e) {
|
|
283
285
|
if (e.length === 0) return [];
|
|
284
|
-
let
|
|
285
|
-
for (let { params:
|
|
286
|
+
let S = /* @__PURE__ */ new Map(), C = e.length;
|
|
287
|
+
for (let { params: C2 } of e) {
|
|
286
288
|
let e2 = /* @__PURE__ */ new Set();
|
|
287
|
-
for (let
|
|
288
|
-
let
|
|
289
|
-
e2.has(
|
|
289
|
+
for (let w2 of C2) {
|
|
290
|
+
let C3 = getParamSignature(w2);
|
|
291
|
+
e2.has(C3) || (e2.add(C3), S.has(C3) || S.set(C3, {
|
|
290
292
|
count: 0,
|
|
291
|
-
param:
|
|
292
|
-
}),
|
|
293
|
+
param: w2
|
|
294
|
+
}), S.get(C3).count++);
|
|
293
295
|
}
|
|
294
296
|
}
|
|
295
|
-
let
|
|
296
|
-
for (let [, { count: e2, param:
|
|
297
|
-
return
|
|
297
|
+
let w = [];
|
|
298
|
+
for (let [, { count: e2, param: T }] of S) e2 === C && w.push(T);
|
|
299
|
+
return w;
|
|
298
300
|
}
|
|
299
|
-
function removeSpecificParamsFromNestedSpecs(e,
|
|
301
|
+
function removeSpecificParamsFromNestedSpecs(e, S) {
|
|
300
302
|
if ("vconcat" in e && Array.isArray(e.vconcat)) return {
|
|
301
303
|
...e,
|
|
302
|
-
vconcat: e.vconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2,
|
|
304
|
+
vconcat: e.vconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, S))
|
|
303
305
|
};
|
|
304
306
|
if ("hconcat" in e && Array.isArray(e.hconcat)) return {
|
|
305
307
|
...e,
|
|
306
|
-
hconcat: e.hconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2,
|
|
308
|
+
hconcat: e.hconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, S))
|
|
307
309
|
};
|
|
308
310
|
if ("mark" in e && "params" in e && e.params) {
|
|
309
|
-
let
|
|
310
|
-
for (let e2 of
|
|
311
|
+
let C = e.params, w = [];
|
|
312
|
+
for (let e2 of C) {
|
|
311
313
|
if (!e2 || typeof e2 != "object" || !("name" in e2)) {
|
|
312
|
-
|
|
314
|
+
w.push(e2);
|
|
313
315
|
continue;
|
|
314
316
|
}
|
|
315
|
-
|
|
317
|
+
S.has(e2.name) || w.push(e2);
|
|
316
318
|
}
|
|
317
|
-
if (
|
|
318
|
-
let { params:
|
|
319
|
-
return
|
|
319
|
+
if (w.length === 0) {
|
|
320
|
+
let { params: S2, ...C2 } = e;
|
|
321
|
+
return C2;
|
|
320
322
|
}
|
|
321
323
|
return {
|
|
322
324
|
...e,
|
|
323
|
-
params:
|
|
325
|
+
params: w
|
|
324
326
|
};
|
|
325
327
|
}
|
|
326
328
|
return e;
|
|
327
329
|
}
|
|
328
|
-
function applyOpacityToNestedSpecs(e,
|
|
330
|
+
function applyOpacityToNestedSpecs(e, S) {
|
|
329
331
|
return "vconcat" in e && Array.isArray(e.vconcat) ? {
|
|
330
332
|
...e,
|
|
331
|
-
vconcat: e.vconcat.map((e2) => applyOpacityToNestedSpecs(e2,
|
|
333
|
+
vconcat: e.vconcat.map((e2) => applyOpacityToNestedSpecs(e2, S))
|
|
332
334
|
} : "hconcat" in e && Array.isArray(e.hconcat) ? {
|
|
333
335
|
...e,
|
|
334
|
-
hconcat: e.hconcat.map((e2) => applyOpacityToNestedSpecs(e2,
|
|
336
|
+
hconcat: e.hconcat.map((e2) => applyOpacityToNestedSpecs(e2, S))
|
|
335
337
|
} : "layer" in e ? e : "mark" in e && Marks.isInteractive(e.mark) ? {
|
|
336
338
|
...e,
|
|
337
339
|
mark: Marks.makeClickable(e.mark),
|
|
338
|
-
encoding: makeEncodingInteractive("opacity", e.encoding || {},
|
|
340
|
+
encoding: makeEncodingInteractive("opacity", e.encoding || {}, S, e.mark)
|
|
339
341
|
} : e;
|
|
340
342
|
}
|
|
341
|
-
function makeSelectable(e,
|
|
343
|
+
function makeSelectable(e, S) {
|
|
342
344
|
var _a, _b;
|
|
343
|
-
let { chartSelection:
|
|
344
|
-
if (!
|
|
345
|
-
((_a = e.params) == null ? void 0 : _a.some((e2) => e2.bind === "legend")) && (
|
|
346
|
-
let
|
|
347
|
-
|
|
348
|
-
let
|
|
349
|
-
if (
|
|
345
|
+
let { chartSelection: C = true, fieldSelection: w = true } = S;
|
|
346
|
+
if (!C && !w) return e;
|
|
347
|
+
((_a = e.params) == null ? void 0 : _a.some((e2) => e2.bind === "legend")) && (w = false);
|
|
348
|
+
let T = (_b = e.params) == null ? void 0 : _b.some((e2) => !e2.bind);
|
|
349
|
+
T && (C = false);
|
|
350
|
+
let E = "vconcat" in e || "hconcat" in e;
|
|
351
|
+
if (T && E) return e;
|
|
350
352
|
if ("vconcat" in e) {
|
|
351
|
-
let
|
|
352
|
-
chartSelection:
|
|
353
|
-
fieldSelection:
|
|
353
|
+
let S2 = e.vconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
|
|
354
|
+
chartSelection: C,
|
|
355
|
+
fieldSelection: w
|
|
354
356
|
}) : e2);
|
|
355
357
|
return hoistParamsAndApplyOpacity({
|
|
356
358
|
...e,
|
|
357
|
-
vconcat:
|
|
359
|
+
vconcat: S2
|
|
358
360
|
});
|
|
359
361
|
}
|
|
360
362
|
if ("hconcat" in e) {
|
|
361
|
-
let
|
|
362
|
-
chartSelection:
|
|
363
|
-
fieldSelection:
|
|
363
|
+
let S2 = e.hconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
|
|
364
|
+
chartSelection: C,
|
|
365
|
+
fieldSelection: w
|
|
364
366
|
}) : e2);
|
|
365
367
|
return hoistParamsAndApplyOpacity({
|
|
366
368
|
...e,
|
|
367
|
-
hconcat:
|
|
369
|
+
hconcat: S2
|
|
368
370
|
});
|
|
369
371
|
}
|
|
370
372
|
if ("layer" in e) {
|
|
371
|
-
let
|
|
372
|
-
if (
|
|
373
|
-
let
|
|
374
|
-
|
|
373
|
+
let S2 = e.params && e.params.length > 0, T2 = w !== false && !S2, E2 = [];
|
|
374
|
+
if (T2) {
|
|
375
|
+
let S3 = e.layer.flatMap((e2) => "mark" in e2 ? findEncodedFields(e2) : []);
|
|
376
|
+
E2 = [...new Set(S3)], Array.isArray(w) && (E2 = E2.filter((e2) => w.includes(e2)));
|
|
375
377
|
}
|
|
376
|
-
let
|
|
378
|
+
let D2 = e.layer.map((e2, S3) => {
|
|
377
379
|
if (!("mark" in e2)) return e2;
|
|
378
|
-
let
|
|
379
|
-
if (
|
|
380
|
-
let e3 =
|
|
381
|
-
|
|
382
|
-
...
|
|
383
|
-
params: [...
|
|
380
|
+
let w2 = e2;
|
|
381
|
+
if (S3 === 0 && E2.length > 0) {
|
|
382
|
+
let e3 = E2.map((e4) => Params.legend(e4));
|
|
383
|
+
w2 = {
|
|
384
|
+
...w2,
|
|
385
|
+
params: [...w2.params || [], ...e3]
|
|
384
386
|
};
|
|
385
387
|
}
|
|
386
|
-
return
|
|
388
|
+
return w2 = makeChartSelectable(w2, C, S3), w2 = makeChartInteractive(w2), S3 === 0 && (w2 = makeChartPanZoom(w2)), w2;
|
|
387
389
|
});
|
|
388
390
|
return {
|
|
389
391
|
...e,
|
|
390
|
-
layer:
|
|
392
|
+
layer: D2
|
|
391
393
|
};
|
|
392
394
|
}
|
|
393
395
|
if (!("mark" in e) || !Marks.isInteractive(e.mark)) return e;
|
|
394
|
-
let
|
|
395
|
-
return
|
|
396
|
+
let D = e;
|
|
397
|
+
return D = makeLegendSelectable(D, w), D = makeChartSelectable(D, C, void 0), D = makeChartInteractive(D), D = makeChartPanZoom(D), D;
|
|
396
398
|
}
|
|
397
|
-
function makeLegendSelectable(e,
|
|
398
|
-
if (
|
|
399
|
-
let
|
|
400
|
-
Array.isArray(
|
|
401
|
-
let
|
|
399
|
+
function makeLegendSelectable(e, S) {
|
|
400
|
+
if (S === false) return e;
|
|
401
|
+
let C = findEncodedFields(e);
|
|
402
|
+
Array.isArray(S) && (C = C.filter((e2) => S.includes(e2)));
|
|
403
|
+
let w = C.map((e2) => Params.legend(e2)), T = [...e.params || [], ...w];
|
|
402
404
|
return {
|
|
403
405
|
...e,
|
|
404
|
-
params:
|
|
406
|
+
params: T
|
|
405
407
|
};
|
|
406
408
|
}
|
|
407
|
-
function makeChartSelectable(e,
|
|
408
|
-
if (
|
|
409
|
-
let
|
|
409
|
+
function makeChartSelectable(e, S, C) {
|
|
410
|
+
if (S === false) return e;
|
|
411
|
+
let w;
|
|
410
412
|
try {
|
|
411
|
-
|
|
413
|
+
w = Marks.getMarkType(e.mark);
|
|
412
414
|
} catch {
|
|
413
415
|
return e;
|
|
414
416
|
}
|
|
415
|
-
if (
|
|
416
|
-
let
|
|
417
|
-
if (!
|
|
418
|
-
let
|
|
419
|
-
return
|
|
417
|
+
if (w === "geoshape") return e;
|
|
418
|
+
let T = getBinnedFields(e), E = S === true ? T.length > 0 ? ["point"] : getBestSelectionForMark(w) : [S];
|
|
419
|
+
if (!E || E.length === 0) return e;
|
|
420
|
+
let D = E.map((S2) => S2 === "interval" ? Params.interval(e, C) : Params.point(e, C)), O = [...e.params || [], ...D];
|
|
421
|
+
return T.length > 0 && E.includes("point") && O.push(Params.binColoring(C)), {
|
|
420
422
|
...e,
|
|
421
|
-
params:
|
|
423
|
+
params: O
|
|
422
424
|
};
|
|
423
425
|
}
|
|
424
426
|
function makeChartPanZoom(e) {
|
|
425
|
-
let
|
|
427
|
+
let S;
|
|
426
428
|
try {
|
|
427
|
-
|
|
429
|
+
S = Marks.getMarkType(e.mark);
|
|
428
430
|
} catch {
|
|
429
431
|
}
|
|
430
|
-
if (
|
|
431
|
-
let
|
|
432
|
-
return
|
|
432
|
+
if (S === "geoshape") return e;
|
|
433
|
+
let C = e.params || [];
|
|
434
|
+
return C.some((e2) => e2.bind === "scales") ? e : {
|
|
433
435
|
...e,
|
|
434
|
-
params: [...
|
|
436
|
+
params: [...C, Params.panZoom()]
|
|
435
437
|
};
|
|
436
438
|
}
|
|
437
439
|
function makeChartInteractive(e) {
|
|
438
|
-
let
|
|
439
|
-
return
|
|
440
|
+
let S = "encoding" in e ? e.encoding : void 0, C = e.params || [], w = C.map((e2) => e2.name);
|
|
441
|
+
return C.length === 0 || !Marks.isInteractive(e.mark) ? e : {
|
|
440
442
|
...e,
|
|
441
443
|
mark: Marks.makeClickable(e.mark),
|
|
442
|
-
encoding: makeEncodingInteractive("opacity",
|
|
444
|
+
encoding: makeEncodingInteractive("opacity", S || {}, w, e.mark)
|
|
443
445
|
};
|
|
444
446
|
}
|
|
445
447
|
function getBestSelectionForMark(e) {
|
|
@@ -459,155 +461,155 @@ function getBestSelectionForMark(e) {
|
|
|
459
461
|
var VEGA_DATA_FETCH_CONCURRENCY = 5;
|
|
460
462
|
async function resolveVegaSpecData(e) {
|
|
461
463
|
if (!e) return e;
|
|
462
|
-
let
|
|
464
|
+
let S = "datasets" in e ? { ...e.datasets } : {}, C = new Semaphore(VEGA_DATA_FETCH_CONCURRENCY), w = async (e2) => {
|
|
463
465
|
if (!e2) return e2;
|
|
464
466
|
if ("layer" in e2) {
|
|
465
|
-
let
|
|
467
|
+
let S2 = await Promise.all(e2.layer.map(w));
|
|
466
468
|
e2 = {
|
|
467
469
|
...e2,
|
|
468
|
-
layer:
|
|
470
|
+
layer: S2
|
|
469
471
|
};
|
|
470
472
|
}
|
|
471
473
|
if ("hconcat" in e2) {
|
|
472
|
-
let
|
|
474
|
+
let S2 = await Promise.all(e2.hconcat.map(w));
|
|
473
475
|
e2 = {
|
|
474
476
|
...e2,
|
|
475
|
-
hconcat:
|
|
477
|
+
hconcat: S2
|
|
476
478
|
};
|
|
477
479
|
}
|
|
478
480
|
if ("vconcat" in e2) {
|
|
479
|
-
let
|
|
481
|
+
let S2 = await Promise.all(e2.vconcat.map(w));
|
|
480
482
|
e2 = {
|
|
481
483
|
...e2,
|
|
482
|
-
vconcat:
|
|
484
|
+
vconcat: S2
|
|
483
485
|
};
|
|
484
486
|
}
|
|
485
487
|
if ("spec" in e2 && (e2 = {
|
|
486
488
|
...e2,
|
|
487
|
-
spec: await
|
|
489
|
+
spec: await w(e2.spec)
|
|
488
490
|
}), !e2.data || !("url" in e2.data)) return e2;
|
|
489
|
-
let
|
|
491
|
+
let T2;
|
|
490
492
|
try {
|
|
491
|
-
|
|
493
|
+
T2 = asRemoteURL(e2.data.url);
|
|
492
494
|
} catch {
|
|
493
495
|
return e2;
|
|
494
496
|
}
|
|
495
|
-
let
|
|
496
|
-
return
|
|
497
|
+
let E = e2.data.format, O = await C.run(() => vegaLoadData(T2.href, E));
|
|
498
|
+
return S[T2.pathname] = O, {
|
|
497
499
|
...e2,
|
|
498
|
-
data: { name:
|
|
500
|
+
data: { name: T2.pathname }
|
|
499
501
|
};
|
|
500
|
-
},
|
|
501
|
-
return Object.keys(
|
|
502
|
-
...
|
|
503
|
-
datasets:
|
|
502
|
+
}, T = await w(e);
|
|
503
|
+
return Object.keys(S).length === 0 ? T : {
|
|
504
|
+
...T,
|
|
505
|
+
datasets: S
|
|
504
506
|
};
|
|
505
507
|
}
|
|
506
508
|
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
507
509
|
formats("arrow", arrow);
|
|
508
510
|
var VegaComponent = (e) => {
|
|
509
|
-
let
|
|
510
|
-
|
|
511
|
-
let { data:
|
|
512
|
-
if (
|
|
511
|
+
let S = (0, import_compiler_runtime.c)(12), { value: C, setValue: w, chartSelection: T, fieldSelection: E, spec: D, embedOptions: O } = e, k, M;
|
|
512
|
+
S[0] === D ? (k = S[1], M = S[2]) : (k = async () => resolveVegaSpecData(D), M = [D], S[0] = D, S[1] = k, S[2] = M);
|
|
513
|
+
let { data: N, error: P } = useAsyncData(k, M);
|
|
514
|
+
if (P) {
|
|
513
515
|
let e2;
|
|
514
|
-
return
|
|
516
|
+
return S[3] === P ? e2 = S[4] : (e2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ErrorBanner, { error: P }), S[3] = P, S[4] = e2), e2;
|
|
515
517
|
}
|
|
516
|
-
if (!
|
|
517
|
-
let
|
|
518
|
-
return
|
|
519
|
-
value:
|
|
520
|
-
setValue:
|
|
521
|
-
chartSelection:
|
|
522
|
-
fieldSelection:
|
|
523
|
-
spec:
|
|
524
|
-
embedOptions:
|
|
525
|
-
}),
|
|
526
|
-
}, LoadedVegaComponent = ({ value: e, setValue:
|
|
527
|
-
let { theme:
|
|
518
|
+
if (!N) return null;
|
|
519
|
+
let F;
|
|
520
|
+
return S[5] !== T || S[6] !== O || S[7] !== E || S[8] !== N || S[9] !== w || S[10] !== C ? (F = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoadedVegaComponent, {
|
|
521
|
+
value: C,
|
|
522
|
+
setValue: w,
|
|
523
|
+
chartSelection: T,
|
|
524
|
+
fieldSelection: E,
|
|
525
|
+
spec: N,
|
|
526
|
+
embedOptions: O
|
|
527
|
+
}), S[5] = T, S[6] = O, S[7] = E, S[8] = N, S[9] = w, S[10] = C, S[11] = F) : F = S[11], F;
|
|
528
|
+
}, LoadedVegaComponent = ({ value: e, setValue: T, chartSelection: E, fieldSelection: D, spec: k, embedOptions: A }) => {
|
|
529
|
+
let { theme: I } = useTheme(), L = (0, import_react.useRef)(null), R = (0, import_react.useRef)(void 0), [z, B] = (0, import_react.useState)(), V = (0, import_react.useMemo)(() => A && "actions" in A ? A.actions : {
|
|
528
530
|
source: false,
|
|
529
531
|
compiled: false
|
|
530
|
-
}, [
|
|
531
|
-
chartSelection:
|
|
532
|
-
fieldSelection:
|
|
532
|
+
}, [A]), H = useDeepCompareMemoize(k), U = (0, import_react.useMemo)(() => makeSelectable(fixRelativeUrl(H), {
|
|
533
|
+
chartSelection: E,
|
|
534
|
+
fieldSelection: D
|
|
533
535
|
}), [
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
]),
|
|
538
|
-
|
|
536
|
+
H,
|
|
537
|
+
E,
|
|
538
|
+
D
|
|
539
|
+
]), W = (0, import_react.useMemo)(() => getSelectionParamNames(U), [U]), G = useEvent_default((S) => {
|
|
540
|
+
T({
|
|
539
541
|
...e,
|
|
540
|
-
...
|
|
542
|
+
...S
|
|
541
543
|
});
|
|
542
|
-
}),
|
|
543
|
-
Logger.debug("[Vega signal]", e2,
|
|
544
|
-
let
|
|
545
|
-
|
|
546
|
-
}, 100), [
|
|
547
|
-
signalName:
|
|
548
|
-
handler: (e3,
|
|
549
|
-
}), e2), []), [
|
|
550
|
-
Logger.error(e2), Logger.debug(
|
|
551
|
-
}),
|
|
552
|
-
Logger.debug("[Vega view] created", e2),
|
|
553
|
-
}),
|
|
544
|
+
}), K = (0, import_react.useMemo)(() => debounce_default((e2, C) => {
|
|
545
|
+
Logger.debug("[Vega signal]", e2, C);
|
|
546
|
+
let w = Objects.mapValues(C, convertDatetimeToEpochMilliseconds);
|
|
547
|
+
w = Objects.mapValues(w, convertSetToList), G({ [e2]: w });
|
|
548
|
+
}, 100), [G]), q = useDeepCompareMemoize(W), J = (0, import_react.useMemo)(() => q.reduce((e2, S) => (ParamNames.PAN_ZOOM === S || ParamNames.isBinColoring(S) || e2.push({
|
|
549
|
+
signalName: S,
|
|
550
|
+
handler: (e3, S2) => K(e3, S2)
|
|
551
|
+
}), e2), []), [q, K]), Y = useEvent_default((e2) => {
|
|
552
|
+
Logger.error(e2), Logger.debug(U), B(e2);
|
|
553
|
+
}), X = useEvent_default((e2) => {
|
|
554
|
+
Logger.debug("[Vega view] created", e2), R.current = e2, B(void 0);
|
|
555
|
+
}), Z = () => {
|
|
554
556
|
let e2 = [];
|
|
555
|
-
return ParamNames.hasPoint(
|
|
557
|
+
return ParamNames.hasPoint(W) && e2.push(["Point selection", "click to select a point; hold shift for multi-select"]), ParamNames.hasInterval(W) && e2.push(["Interval selection", "click and drag to select an interval"]), ParamNames.hasLegend(W) && e2.push(["Legend selection", "click to select a legend item; hold shift for multi-select"]), ParamNames.hasPanZoom(W) && e2.push(["Pan", "hold the meta key and drag"], ["Zoom", "hold the meta key and scroll"]), e2.length === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
556
558
|
delayDuration: 300,
|
|
557
559
|
side: "left",
|
|
558
560
|
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
559
561
|
className: "text-xs flex flex-col",
|
|
560
|
-
children: e2.map((e3,
|
|
562
|
+
children: e2.map((e3, S) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
|
|
561
563
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
562
564
|
className: "font-bold tracking-wide",
|
|
563
565
|
children: [e3[0], ":"]
|
|
564
566
|
}),
|
|
565
567
|
" ",
|
|
566
568
|
e3[1]
|
|
567
|
-
] },
|
|
569
|
+
] }, S))
|
|
568
570
|
}),
|
|
569
571
|
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" })
|
|
570
572
|
});
|
|
571
|
-
},
|
|
572
|
-
ref:
|
|
573
|
-
spec:
|
|
573
|
+
}, Q = j({
|
|
574
|
+
ref: L,
|
|
575
|
+
spec: U,
|
|
574
576
|
options: {
|
|
575
|
-
theme:
|
|
576
|
-
actions:
|
|
577
|
+
theme: I === "dark" ? "dark" : void 0,
|
|
578
|
+
actions: V,
|
|
577
579
|
mode: "vega-lite",
|
|
578
580
|
tooltip: tooltipHandler.call,
|
|
579
581
|
renderer: "canvas"
|
|
580
582
|
},
|
|
581
|
-
onError:
|
|
582
|
-
onEmbed:
|
|
583
|
-
});
|
|
584
|
-
return (0, import_react.useEffect)(() => (
|
|
583
|
+
onError: Y,
|
|
584
|
+
onEmbed: X
|
|
585
|
+
}), $ = getContainerWidth(U);
|
|
586
|
+
return useVegaContainerRemeasure(L, $ === "container"), (0, import_react.useEffect)(() => (J.forEach(({ signalName: e2, handler: C }) => {
|
|
585
587
|
try {
|
|
586
|
-
|
|
588
|
+
Q == null ? void 0 : Q.view.addSignalListener(e2, C);
|
|
587
589
|
} catch (e3) {
|
|
588
590
|
Logger.error(e3);
|
|
589
591
|
}
|
|
590
592
|
}), () => {
|
|
591
|
-
|
|
593
|
+
J.forEach(({ signalName: e2, handler: C }) => {
|
|
592
594
|
try {
|
|
593
|
-
|
|
595
|
+
Q == null ? void 0 : Q.view.removeSignalListener(e2, C);
|
|
594
596
|
} catch (e3) {
|
|
595
597
|
Logger.error(e3);
|
|
596
598
|
}
|
|
597
599
|
});
|
|
598
|
-
}), [
|
|
600
|
+
}), [Q, J]), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [z && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Alert, {
|
|
599
601
|
variant: "destructive",
|
|
600
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertTitle, { children:
|
|
602
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertTitle, { children: z.message }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
601
603
|
className: "text-md",
|
|
602
|
-
children:
|
|
604
|
+
children: z.stack
|
|
603
605
|
})]
|
|
604
606
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
605
607
|
className: cn("relative"),
|
|
606
608
|
onPointerDown: Events.stopPropagation(),
|
|
607
609
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
608
|
-
ref:
|
|
609
|
-
"data-container-width":
|
|
610
|
-
}),
|
|
610
|
+
ref: L,
|
|
611
|
+
"data-container-width": $
|
|
612
|
+
}), Z()]
|
|
611
613
|
})] });
|
|
612
614
|
};
|
|
613
615
|
function convertSetToList(e) {
|