@marimo-team/islands 0.17.1 → 0.17.3
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-De9yoNY5.js → Combination-DrSsMSEB.js} +860 -816
- package/dist/{ConnectedDataExplorerComponent-DuvpJOKp.js → ConnectedDataExplorerComponent-DY9cADKc.js} +2282 -2232
- package/dist/{ImageComparisonComponent--etUl2pp.js → ImageComparisonComponent-CJvR7Qzp.js} +3 -2
- package/dist/{_baseIsEqual-BFlyFUxC.js → _baseIsEqual-DbBiwJP8.js} +1 -1
- package/dist/{_basePickBy-gCCvtjgp.js → _basePickBy-ChFDiIEt.js} +3 -3
- package/dist/{_baseProperty-BuqBC0Ie.js → _baseProperty-Bf09f9Ee.js} +5 -5
- package/dist/_baseUniq-D5kohCWB.js +59 -0
- package/dist/any-language-editor-Bs2c1bKU.js +156 -0
- package/dist/apl-Bp8pgLcx.js +4 -0
- package/dist/{arc-C_O2hc-b.js → arc-DM-UhhIs.js} +2 -2
- package/dist/architecture-O4VJ6CD3-SVEfQWDz.js +24 -0
- package/dist/{architectureDiagram-W76B3OCA-CrK99pJi.js → architectureDiagram-W76B3OCA-GKSiVAlH.js} +41 -38
- package/dist/asciiarmor-IoNSjDv9.js +4 -0
- package/dist/asn1-B1GnbkOF.js +4 -0
- package/dist/{blockDiagram-QIGZ2CNN-BJOEyO6w.js → blockDiagram-QIGZ2CNN-wX8KWoV2.js} +30 -29
- package/dist/brainfuck-TRxEs4B5.js +4 -0
- package/dist/{button-ADXOb_gX.js → button-B8zS4Mtw.js} +5 -4
- package/dist/{c4Diagram-FPNF74CW-7Pz_X9wF.js → c4Diagram-FPNF74CW-Ns4C9pNn.js} +12 -12
- package/dist/{channel-X-wRUxX6.js → channel-Dgla_oqe.js} +1 -1
- package/dist/{check-COlaG7Ss.js → check-BZnPxXnd.js} +1 -1
- package/dist/{chunk-3AY6CYHV-BQH2fFpA.js → chunk-3AY6CYHV-HfZ-8MFM.js} +10 -10
- package/dist/{chunk-4BX2VUAB-D-QtDCKM.js → chunk-4BX2VUAB-CV5cUTmw.js} +1 -1
- package/dist/{chunk-4KMFLZZN-BirZvvJS.js → chunk-4KMFLZZN-Cbgb64pE.js} +17 -18
- package/dist/{chunk-55IACEB6-DjtPYZKs.js → chunk-55IACEB6--aEkhs1O.js} +1 -1
- package/dist/{chunk-6OXUPJBA-CTnnqlzw.js → chunk-6OXUPJBA-DQZp24uZ.js} +7 -7
- package/dist/{chunk-7GE3RBXV-CT47hCrL.js → chunk-7GE3RBXV-D0K_8mbM.js} +1 -1
- package/dist/{chunk-ABZYJK2D-B6ZsU6SR.js → chunk-ABZYJK2D-BwKkjFgF.js} +3 -3
- package/dist/{chunk-BN7GFLIU-DYWEsrG4.js → chunk-BN7GFLIU-93ktvOI2.js} +1 -1
- package/dist/{chunk-CVBHYZKI-BuzDGXz0.js → chunk-CVBHYZKI-tTpx9vm_.js} +1 -1
- package/dist/{chunk-CXMOBAN2-Bas2S5w1.js → chunk-CXMOBAN2-CagHnxl1.js} +6 -6
- package/dist/{chunk-EXTU4WIE-DXwNSukz.js → chunk-EXTU4WIE-Ve2vgn5X.js} +2 -2
- package/dist/{chunk-FMBD7UC4-CYKEpuPr.js → chunk-FMBD7UC4-CCvcIQpJ.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-DcxfkcDC.js → chunk-JA3XYJ7Z-CrQC4eYr.js} +4 -4
- package/dist/{chunk-JEIROHC2-C01ZIcIG.js → chunk-JEIROHC2-tuJLHPKk.js} +1 -1
- package/dist/{chunk-K7UQS3LO-CmbT97MV.js → chunk-K7UQS3LO-BzsTVREe.js} +7 -7
- package/dist/{chunk-KMC2YHZD-D64m-1E1.js → chunk-KMC2YHZD-CdKOlVi0.js} +1 -1
- package/dist/{chunk-QN33PNHL-DjB0j8Dr.js → chunk-QN33PNHL-CbdYySGk.js} +2 -2
- package/dist/{chunk-QYVHNE3D-VA4W4oxG.js → chunk-QYVHNE3D-BDj4udRH.js} +2 -2
- package/dist/{chunk-QZHKN3VN-KT0fl3Em.js → chunk-QZHKN3VN-E6VBm6ir.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-C5zmcMvn.js → chunk-S3R3BYOJ-DuumGJ4u.js} +6 -6
- package/dist/{chunk-T44TD3VJ-BMOgu-Hk.js → chunk-T44TD3VJ-Bc-UhG4i.js} +1 -1
- package/dist/{chunk-TVAH2DTR-eKm8SKnH.js → chunk-TVAH2DTR-s8skdWqT.js} +6 -6
- package/dist/{chunk-TZMSLE5B-CQxFRiI2.js → chunk-TZMSLE5B-CUfRRoFb.js} +3 -3
- package/dist/{chunk-WFRQ32O7-Dg51o277.js → chunk-WFRQ32O7-BquRwCCj.js} +1 -1
- package/dist/{chunk-WFWHJNB7-DVLO98ge.js → chunk-WFWHJNB7-CHl0gCzu.js} +1 -1
- package/dist/{chunk-XRWGC2XP-UNFKdWQh.js → chunk-XRWGC2XP-CoSEoOcO.js} +1 -1
- package/dist/{chunk-ZPAFE4SF-DbCSwfLK.js → chunk-ZPAFE4SF-Bf1fn8cY.js} +1 -1
- package/dist/classDiagram-KNZD7YFC-ONLi1fgN.js +40 -0
- package/dist/classDiagram-v2-RKCZMP56-Ceij_i8m.js +40 -0
- package/dist/{clike-CytFO-kN.js → clike-Cbszc5XU.js} +1 -1
- package/dist/clojure-BNTL3o8Z.js +4 -0
- package/dist/{clone-CCgVUJ6x.js → clone-DE59DFkY.js} +1 -1
- package/dist/cmake-Bp6uEjiS.js +4 -0
- package/dist/cobol-CtS_R__A.js +4 -0
- package/dist/coffeescript-D5u5aYAu.js +4 -0
- package/dist/commonlisp-BvLWy9eh.js +4 -0
- package/dist/compiler-runtime-5MdCVm0X.js +13 -0
- package/dist/{constants-BaCMVd12.js → constants-BlvmN57i.js} +3 -3
- package/dist/{copy-GNcK40wy.js → copy-bxQOKABs.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-BnvuJG6Y.js → cose-bilkent-S5V4N54A-DZE8LVzQ.js} +3 -3
- package/dist/crystal-CaTWnt-Z.js +4 -0
- package/dist/css-BMUPibQH.js +5 -0
- package/dist/cypher-PopjPg_G.js +4 -0
- package/dist/d-Ds7bO8W5.js +4 -0
- package/dist/{dagre-5GWH7T2D-rn7tZYaQ.js → dagre-5GWH7T2D-g2ShbPGy.js} +39 -37
- package/dist/{dagre-Bghq6VKO.js → dagre-TBn9HZB0.js} +14 -13
- package/dist/{data-grid-overlay-editor-B4_Caieu.js → data-grid-overlay-editor-BuhjNOgs.js} +4 -4
- package/dist/{diagram-N5W7TBWH-lbF94o-g.js → diagram-N5W7TBWH-BYhyeV0B.js} +44 -41
- package/dist/{diagram-QEK2KX5R-CKBhSzsO.js → diagram-QEK2KX5R-CiuUIBpl.js} +38 -35
- package/dist/{diagram-S2PKOQOG-161_1f53.js → diagram-S2PKOQOG-D0Z2Q5P-.js} +38 -35
- package/dist/diff-C_xR-pxD.js +4 -0
- package/dist/{dist-BSyYM1Gi.js → dist-7CqcJssH.js} +6 -6
- package/dist/{dist-C9-uHBqC.js → dist-8v4BI_h_.js} +1 -1
- package/dist/{dist-71jYYbWP.js → dist-B3CNaJau.js} +2 -2
- package/dist/dist-B9JCXzyv.js +6 -0
- package/dist/{dist-DzJem5xc.js → dist-BMhv6XDi.js} +1 -1
- package/dist/{dist-CWh5ZwcC.js → dist-BYS0EtbC.js} +2 -2
- package/dist/{dist-BaPjLM6s.js → dist-BgsDu-bU.js} +1 -1
- package/dist/{dist-CNAkUyxv.js → dist-BxmsyHv5.js} +1 -1
- package/dist/{dist-CWqB4bg8.js → dist-C02gS--y.js} +3 -3
- package/dist/{dist-C76MUPD3.js → dist-C5Iu9a3-.js} +2 -2
- package/dist/{dist-DxESp2-T.js → dist-C5Ns3q-m.js} +3 -3
- package/dist/dist-C6QrJGYr.js +10 -0
- package/dist/{dist-BAqp4Vtl.js → dist-CBu8cgzz.js} +8 -4
- package/dist/dist-CFZ32udY.js +6 -0
- package/dist/{dist-DaTVdKJa.js → dist-CXimnGhI.js} +2 -2
- package/dist/{dist-CtOeHDJp.js → dist-CawOxmKh.js} +5 -5
- package/dist/dist-CmgxQNWN.js +10 -0
- package/dist/dist-Cr6Cu8sC.js +6 -0
- package/dist/{dist-BBhmkni2.js → dist-CxRajUZ6.js} +1 -1
- package/dist/{dist-CPNnKuPh.js → dist-D08oiinq.js} +12 -10
- package/dist/{dist-BNRdMfJH.js → dist-D4LUTYHc.js} +2 -2
- package/dist/{dist-C2IEc8og.js → dist-DGKjHTv9.js} +5 -5
- package/dist/{dist-4dtbqf8A.js → dist-DGnWQOnS.js} +3 -3
- package/dist/{dist-BqdQPWpQ.js → dist-DSDOMDNR.js} +2 -2
- package/dist/{dist-_4cudra1.js → dist-DTNqkRGE.js} +3 -3
- package/dist/{dist-28HYzERB.js → dist-D_GkrgWD.js} +2 -2
- package/dist/{dist-Cw0F6l-7.js → dist-DbHWFmjZ.js} +1 -1
- package/dist/{dist-B_wjJqqS.js → dist-Dh7gw0Ay.js} +2 -2
- package/dist/{dist-B8Pbw5ln.js → dist-DiO9ni9a.js} +2 -2
- package/dist/{dist-BYHiiJB-.js → dist-DlSZED-1.js} +2 -2
- package/dist/{dist-Da046MhT.js → dist-DvsjKDQ4.js} +1 -1
- package/dist/{dist-O0zVziwn.js → dist-DzKKEoge.js} +3 -3
- package/dist/{dist-CwZcC4om.js → dist-HKzG1oF6.js} +1 -1
- package/dist/{dist-CJb8EiFO.js → dist-K_AqLCfS.js} +3 -3
- package/dist/dist-NxHLuq7w.js +6 -0
- package/dist/dist-S2JcqPPB.js +12 -0
- package/dist/{dist-CNvMOZu9.js → dist-XkGsOiy0.js} +2 -2
- package/dist/{dist-Drf3cyIW.js → dist-_tHnp24J.js} +3 -3
- package/dist/{dist-xLN9qCAp.js → dist-eSnWVS11.js} +3 -3
- package/dist/dist-hcPlrsR9.js +6 -0
- package/dist/{dist-DlK420ke.js → dist-owpR56zn.js} +1 -1
- package/dist/dist-poXa8G8m.js +6 -0
- package/dist/{dist-CTIyD_KU.js → dist-qGpLTiEi.js} +3 -3
- package/dist/{dockerfile-Cmlcqk35.js → dockerfile-CWWeWT3z.js} +1 -1
- package/dist/dtd-CGRYzaHQ.js +4 -0
- package/dist/dylan-Ctfki5HL.js +4 -0
- package/dist/ecl--gmEivzz.js +4 -0
- package/dist/eiffel-o31DRAP-.js +4 -0
- package/dist/elm-Dqa6TVIh.js +4 -0
- package/dist/{erDiagram-AWTI2OKA-BU7Qig7n.js → erDiagram-AWTI2OKA-BeadFjpg.js} +25 -25
- package/dist/erlang-BtVO_vQG.js +4 -0
- package/dist/error-banner-B7LmpmGT.js +1013 -0
- package/dist/{esm-Oo8OvZ6m.js → esm-CQIOyi5v.js} +579 -564
- package/dist/{factor-BZnBK3CG.js → factor-7tQNNEWF.js} +1 -1
- package/dist/factor-CNLvRc__.js +5 -0
- package/dist/{flowDiagram-PVAE7QVJ-JKJebWeY.js → flowDiagram-PVAE7QVJ-GgklUvqn.js} +27 -27
- package/dist/{formats-DOEuF6TR.js → formats-kyFd0DPJ.js} +23 -22
- package/dist/forth-Bp2zDfH-.js +4 -0
- package/dist/fortran-B3A-KieX.js +4 -0
- package/dist/{ganttDiagram-OWAHRB6G-BvWRfg05.js → ganttDiagram-OWAHRB6G-D5wYR6WK.js} +17 -17
- package/dist/gas-_Xt_kGOG.js +4 -0
- package/dist/gherkin-DzZpg8Ls.js +4 -0
- package/dist/gitGraph-ZV4HHKMB-DFGD7PPm.js +24 -0
- package/dist/{gitGraphDiagram-NY62KEGX-VEJJBf5L.js → gitGraphDiagram-NY62KEGX-DCwA-g9b.js} +38 -35
- package/dist/{glide-data-editor-Bne10icG.js → glide-data-editor-1bUl_mRe.js} +515 -515
- package/dist/graphlib-R11f1son.js +228 -0
- package/dist/groovy-BtD10jRQ.js +4 -0
- package/dist/haskell-C-JVWnIV.js +4 -0
- package/dist/haxe-Del5TcJQ.js +5 -0
- package/dist/idl-BLlRatde.js +4 -0
- package/dist/info-63CPKGFF-eZyiEu_4.js +24 -0
- package/dist/infoDiagram-STP46IZ2-CUr2vZlE.js +48 -0
- package/dist/{isEmpty-Do_v2sls.js → isEmpty-CIFmGKJN.js} +2 -2
- package/dist/isString-BsphYkXQ.js +9 -0
- package/dist/{isSymbol-CtkA8Y0a.js → isSymbol-BnxbuvDK.js} +1 -1
- package/dist/javascript-Bm7QL4E3.js +5 -0
- package/dist/jinja2-BxbImxq2.js +4 -0
- package/dist/{journeyDiagram-BIP6EPQ6-CsgEQgxh.js → journeyDiagram-BIP6EPQ6-DtjQC_m1.js} +10 -10
- package/dist/jsx-runtime-CvL6gNI-.js +22 -0
- package/dist/julia-DV1Vz9mw.js +4 -0
- package/dist/{kanban-definition-6OIFK2YF-Bi8Ete2P.js → kanban-definition-6OIFK2YF-U3q5gvb8.js} +19 -19
- package/dist/{katex-C-g3rKKt.js → katex-BWgzyQrl.js} +1 -1
- package/dist/{label-BiVIU_wb.js → label-Wr-xTlW7.js} +463 -453
- package/dist/{line-B7-GoF1m.js → line-C7OvOvNm.js} +3 -3
- package/dist/{linear-DeGGALuc.js → linear-CgANSWNu.js} +4 -4
- package/dist/livescript-9UMSMMrl.js +4 -0
- package/dist/{loader-BBqwtZWj.js → loader-Dj9XWZTh.js} +164 -4
- package/dist/lua-Bcbc7wWe.js +4 -0
- package/dist/main.js +40719 -41544
- package/dist/mathematica-DG4QUwYU.js +4 -0
- package/dist/mbox--auqAoPc.js +4 -0
- package/dist/{memoize-D7eDkf3R.js → memoize-XkDn33QI.js} +1 -1
- package/dist/{merge-C_6cGM6o.js → merge-dMlizkC5.js} +1 -1
- package/dist/{mermaid-BmtvsZ2m.js → mermaid-DIjoC4T4.js} +67 -66
- package/dist/{mermaid-parser.core-geyG_6o0.js → mermaid-parser.core-B433qyUL.js} +8 -8
- package/dist/{mhchem-OhAaJ0fA.js → mhchem-1x4KnXMF.js} +1 -1
- package/dist/min-WjLsUjBa.js +89 -0
- package/dist/{mindmap-definition-Q6HEUPPD-B-wmX1oG.js → mindmap-definition-Q6HEUPPD-LFgV4R8y.js} +24 -24
- package/dist/mirc-9dVcMicH.js +4 -0
- package/dist/mllike-Di9N4E3Q.js +6 -0
- package/dist/modelica-S3adENkL.js +4 -0
- package/dist/mscgen-DAG0zH4w.js +6 -0
- package/dist/mumps-afzuy08D.js +4 -0
- package/dist/{now-DumxsrcX.js → now-8WTe-KKa.js} +1 -1
- package/dist/nsis-Bzwy0lPH.js +5 -0
- package/dist/{nsis-D4bLR_Y1.js → nsis-CFb2Zrib.js} +1 -1
- package/dist/ntriples-D9oM8s3v.js +4 -0
- package/dist/{number-overlay-editor-D6r-48ka.js → number-overlay-editor-DYjnpjXo.js} +2 -2
- package/dist/octave-BMLCk2qM.js +4 -0
- package/dist/{once-3OSMKEsL.js → once-rI5AYku5.js} +1 -1
- package/dist/{ordinal-DpEbSVPc.js → ordinal-pQYxWJYN.js} +1 -1
- package/dist/oz-CX5JTWTK.js +4 -0
- package/dist/packet-HUATNLJX-BvWMmF9U.js +24 -0
- package/dist/pascal-BeZmsfFX.js +4 -0
- package/dist/perl-CZ_HryPN.js +4 -0
- package/dist/pie-WTHONI2E-BCXZJKz0.js +24 -0
- package/dist/{pieDiagram-ADFJNKIX-C3GvPNUL.js → pieDiagram-ADFJNKIX-CsZmho0o.js} +43 -40
- package/dist/pig-OPEEOu6V.js +4 -0
- package/dist/powershell-DyR-5LnA.js +4 -0
- package/dist/{precisionRound-7YYJq2rW.js → precisionRound-DMLkFNYv.js} +1 -1
- package/dist/properties-Cl4tecfb.js +4 -0
- package/dist/protobuf-B8X247vV.js +4 -0
- package/dist/pug-Kmpa-Pbv.js +5 -0
- package/dist/{pug-Dv3gE36O.js → pug-ZDYeT34w.js} +1 -1
- package/dist/puppet-Pl07qkSO.js +4 -0
- package/dist/python-DQgTXBpp.js +5 -0
- package/dist/q-D7uiP00h.js +4 -0
- package/dist/{quadrantDiagram-LMRXKWRM-DPXwGNVa.js → quadrantDiagram-LMRXKWRM-CY6GTOgM.js} +8 -8
- package/dist/r-DbUoToEd.js +4 -0
- package/dist/radar-NJJJXTRR-8kjOeCwx.js +24 -0
- package/dist/{range-CIbLpsrs.js → range-CTMc_Qhu.js} +3 -3
- package/dist/{react-plotly-DYyvxcRD.js → react-plotly-Cs07wkly.js} +2 -2
- package/dist/react-vega-B9eMrRW1.js +32035 -0
- package/dist/react-vega-DM3e8kar.js +25 -0
- package/dist/reduce-C-jV7KRY.js +268 -0
- package/dist/{requirementDiagram-4UW4RH46-Cs3Hqnm0.js → requirementDiagram-4UW4RH46-CfLWneBF.js} +24 -24
- package/dist/rpm-BjQFZZ1e.js +5 -0
- package/dist/ruby-BXpop5ZX.js +4 -0
- package/dist/{sankeyDiagram-GR3RE2ED-Be1d_Xf7.js → sankeyDiagram-GR3RE2ED-Dkxfzm6f.js} +7 -7
- package/dist/sas-CzFr9Hlz.js +4 -0
- package/dist/scheme-C6QRPvcm.js +4 -0
- package/dist/{sequenceDiagram-C3RYC4MD-lbtovKTa.js → sequenceDiagram-C3RYC4MD-hSi31Kfa.js} +14 -14
- package/dist/shell-Bs7FrcsL.js +4 -0
- package/dist/sieve-D39XRya9.js +4 -0
- package/dist/{slides-component-BoeQU7-s.js → slides-component-Ct11erUn.js} +9 -8
- package/dist/smalltalk-CdAwDOFE.js +4 -0
- package/dist/sparql-DsDWhEhN.js +4 -0
- package/dist/spec-rqRnkIf4.js +1256 -0
- package/dist/{src-BTqT1mA1.js → src-CKr0QbVy.js} +1 -1
- package/dist/{stateDiagram-KXAO66HF-BmbR-Rol.js → stateDiagram-KXAO66HF-DJsLA_DN.js} +42 -40
- package/dist/stateDiagram-v2-UMBNRL4Z-D-p_ngHt.js +39 -0
- package/dist/{step-2RJrMSSG.js → step-BsM8YHun.js} +1 -1
- package/dist/stex-DvqvBdH8.js +5 -0
- package/dist/style.css +1 -1
- package/dist/stylus-DxzxWmvV.js +4 -0
- package/dist/swift-DTC4Wg4z.js +4 -0
- package/dist/tcl-DantlS-i.js +4 -0
- package/dist/textile-pOphaahD.js +4 -0
- package/dist/{time-BB30r1tK.js → time-U9NHhrDC.js} +4 -4
- package/dist/{timeline-definition-XQNQX7LJ-1mv5caPW.js → timeline-definition-XQNQX7LJ-rojWjX6M.js} +7 -7
- package/dist/{toNumber-D3Ystr3y.js → toNumber-CUG0Hyhp.js} +2 -2
- package/dist/{toString-CbuxCRDG.js → toString-CT4n1k2E.js} +2 -2
- package/dist/toml-hgYsPM5p.js +4 -0
- package/dist/treemap-75Q7IDZK-Do1WIR9v.js +24 -0
- package/dist/troff-BwevrEUZ.js +4 -0
- package/dist/{dtd-RplB6hDg.js → ttcn-C5gJcxta.js} +2 -2
- package/dist/ttcn-cfg-CPKlfqST.js +4 -0
- package/dist/turtle-EH0lMhMf.js +4 -0
- package/dist/{types-BPohCsA7.js → types-Bt7p5SYB.js} +1028 -1038
- package/dist/uniq-DgSyegN3.js +8 -0
- package/dist/{useAsyncData-DHBqeb9a.js → useAsyncData-Dp2V69OV.js} +3 -3
- package/dist/{useIframeCapabilities-BEvvwlwt.js → useIframeCapabilities-B9u0SmJ4.js} +2 -2
- package/dist/{useTheme-CnMbo-iq.js → useTheme-D7vlj42b.js} +4 -4
- package/dist/vb-DNk7gts-.js +4 -0
- package/dist/vbscript-znK_5PUS.js +4 -0
- package/dist/vega-component-C58Jk3ub.js +633 -0
- package/dist/{vega-loader.browser.module-CFMtdrNw.js → vega-loader.browser-BK7-IO9k.js} +91 -99
- package/dist/velocity-DmPhlhdp.js +4 -0
- package/dist/verilog-CePnwf4S.js +4 -0
- package/dist/vhdl-Ckdh8uiO.js +4 -0
- package/dist/webidl-8N8qbzRd.js +4 -0
- package/dist/xquery-Cocyk-z0.js +4 -0
- package/dist/{xychartDiagram-6GGTOJPD-njc-naaw.js → xychartDiagram-6GGTOJPD-CiC1eONZ.js} +23 -23
- package/dist/yacas-CPmShRg-.js +4 -0
- package/dist/z80-B500UaFh.js +4 -0
- package/package.json +12 -9
- package/src/components/ai/ai-provider-icon.tsx +2 -1
- package/src/components/app-config/constants.ts +25 -1
- package/src/components/charts/lazy.tsx +7 -0
- package/src/components/charts/tooltip.ts +5 -0
- package/src/components/charts/types.ts +8 -0
- package/src/components/chat/acp/__tests__/state.test.ts +0 -13
- package/src/components/chat/acp/agent-panel.tsx +7 -1
- package/src/components/chat/acp/agent-selector.tsx +5 -0
- package/src/components/chat/acp/blocks.tsx +51 -8
- package/src/components/chat/acp/state.ts +8 -2
- package/src/components/chat/acp/thread.tsx +10 -3
- package/src/components/chat/chat-panel.tsx +7 -1
- package/src/components/data-table/__tests__/__snapshots__/chart-spec-model.test.ts.snap +473 -184
- package/src/components/data-table/__tests__/chart-spec-model.test.ts +32 -28
- package/src/components/data-table/charts/__tests__/__snapshots__/spec-snapshot.test.ts.snap +1 -1
- package/src/components/data-table/charts/__tests__/altair-generator.test.ts +162 -0
- package/src/components/data-table/charts/__tests__/spec-snapshot.test.ts +1 -1
- package/src/components/data-table/charts/__tests__/spec.test.ts +145 -6
- package/src/components/data-table/charts/chart-spec/altair-generator.ts +6 -1
- package/src/components/data-table/charts/chart-spec/encodings.ts +11 -7
- package/src/components/data-table/charts/chart-spec/spec.ts +9 -8
- package/src/components/data-table/charts/chart-spec/tooltips.ts +4 -3
- package/src/components/data-table/charts/chart-spec/types.ts +1 -1
- package/src/components/data-table/charts/chart-spec/utils.ts +23 -0
- package/src/components/data-table/charts/components/form-fields.tsx +2 -2
- package/src/components/data-table/charts/constants.ts +7 -3
- package/src/components/data-table/charts/lazy-chart.tsx +15 -11
- package/src/components/data-table/charts/types.ts +6 -14
- package/src/components/data-table/column-summary/chart-spec-model.tsx +112 -269
- package/src/components/data-table/column-summary/column-summary.tsx +12 -12
- package/src/components/data-table/column-summary/legacy-chart-spec.ts +78 -2
- package/src/components/data-table/column-summary/utils.ts +1 -1
- package/src/components/datasources/__tests__/utils.test.ts +339 -138
- package/src/components/datasources/column-preview.tsx +9 -9
- package/src/components/datasources/datasources.tsx +4 -0
- package/src/components/datasources/utils.ts +94 -4
- package/src/components/editor/Output.tsx +9 -6
- package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
- package/src/components/editor/code/readonly-diff.tsx +4 -0
- package/src/components/editor/output/ConsoleOutput.tsx +14 -11
- package/src/components/editor/renderers/slides-layout/types.ts +1 -1
- package/src/components/tracing/tracing-spec.ts +2 -2
- package/src/components/tracing/tracing.test.tsx +1 -1
- package/src/components/tracing/tracing.tsx +57 -74
- package/src/components/tracing/utils.ts +22 -0
- package/src/components/ui/query-param-preserving-link.tsx +48 -0
- package/src/core/ai/context/providers/__tests__/cell-output.test.ts +12 -1
- package/src/core/ai/context/providers/cell-output.ts +2 -8
- package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +1 -1
- package/src/core/ai/tools/edit-notebook-tool.ts +15 -7
- package/src/core/ai/tools/run-cells-tool.ts +60 -26
- package/src/core/cells/ids.ts +1 -1
- package/src/core/codemirror/language/__tests__/extension.test.ts +6 -12
- package/src/core/codemirror/language/__tests__/markdown.test.ts +23 -36
- package/src/core/codemirror/language/languages/python.ts +40 -6
- package/src/core/codemirror/language/languages/sql/completion-store.ts +2 -2
- package/src/core/codemirror/language/languages/sql/sql.ts +14 -0
- package/src/core/codemirror/language/languages/sql/utils.ts +54 -3
- package/src/core/codemirror/lsp/notebook-lsp.ts +52 -4
- package/src/core/codemirror/lsp/transports.ts +3 -0
- package/src/core/datasets/__tests__/data-source.test.ts +6 -0
- package/src/core/datasets/data-source-connections.ts +1 -0
- package/src/core/dom/__tests__/outline.test.ts +43 -0
- package/src/core/dom/outline.ts +1 -1
- package/src/core/islands/main.ts +2 -0
- package/src/core/lsp/__tests__/transport.test.ts +57 -0
- package/src/core/lsp/transport.ts +16 -0
- package/src/plugins/core/RenderHTML.tsx +26 -0
- package/src/plugins/core/sanitize.ts +8 -1
- package/src/plugins/impl/DataTablePlugin.tsx +21 -27
- package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +26 -22
- package/src/plugins/impl/data-explorer/functions/function.ts +1 -2
- package/src/plugins/impl/data-explorer/functions/types.ts +65 -14
- package/src/plugins/impl/data-explorer/queries/queries.ts +9 -9
- package/src/plugins/impl/data-explorer/queries/types.ts +23 -5
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +2 -1
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +9 -2
- package/src/plugins/impl/vega/__tests__/__snapshots__/make-selectable.test.ts.snap +2309 -0
- package/src/plugins/impl/vega/__tests__/encodings.test.ts +93 -0
- package/src/plugins/impl/vega/__tests__/make-selectable.test.ts +621 -0
- package/src/plugins/impl/vega/__tests__/params.test.ts +121 -1
- package/src/plugins/impl/vega/encodings.ts +16 -2
- package/src/plugins/impl/vega/make-selectable.ts +339 -10
- package/src/plugins/impl/vega/params.ts +76 -14
- package/src/plugins/impl/vega/types.ts +32 -13
- package/src/plugins/impl/vega/vega-component.tsx +74 -26
- package/src/plugins/impl/vega/vega.css +1 -0
- package/src/stories/__fixtures__/vega.ts +1 -1
- package/src/utils/arrays.ts +16 -0
- package/dist/_baseUniq-CKN9mEDq.js +0 -324
- package/dist/any-language-editor-Du2Q_6IK.js +0 -156
- package/dist/apl-CUm2DGqh.js +0 -4
- package/dist/architecture-O4VJ6CD3-PFw3eFBY.js +0 -21
- package/dist/asciiarmor-lqJ78U01.js +0 -4
- package/dist/asn1-CjwpSTlW.js +0 -4
- package/dist/brainfuck-ClvDI1dq.js +0 -4
- package/dist/classDiagram-KNZD7YFC-HUFFxNdk.js +0 -40
- package/dist/classDiagram-v2-RKCZMP56-Dw7Acmuf.js +0 -40
- package/dist/clojure-8GefCgPe.js +0 -4
- package/dist/cmake-yAhT9H0F.js +0 -4
- package/dist/cobol-BmltueOY.js +0 -4
- package/dist/coffeescript-C7KEQBcH.js +0 -4
- package/dist/commonlisp-CNbiJRU-.js +0 -4
- package/dist/crystal-OdjZZ8bc.js +0 -4
- package/dist/css-DhTxMmL_.js +0 -5
- package/dist/cypher-CgN8E3YI.js +0 -4
- package/dist/d-g41sJcBC.js +0 -4
- package/dist/diff-ViRYYhhg.js +0 -4
- package/dist/dist-BfJO8Bm9.js +0 -12
- package/dist/dist-CLuF3AtO.js +0 -6
- package/dist/dist-CU04U4NL.js +0 -10
- package/dist/dist-DNUT6b47.js +0 -6
- package/dist/dist-DbAb2sY7.js +0 -6
- package/dist/dist-DiDFQ2Rk.js +0 -6
- package/dist/dist-SNAyAOJ-.js +0 -6
- package/dist/dist-cbW5xJNV.js +0 -6
- package/dist/dist-h8eGLSbK.js +0 -10
- package/dist/dylan-BX8KJufP.js +0 -4
- package/dist/ecl-CWtLaNMH.js +0 -4
- package/dist/eiffel-C-mlZPMn.js +0 -4
- package/dist/elm-CWp06vcb.js +0 -4
- package/dist/erlang-pfp22AZM.js +0 -4
- package/dist/error-banner-BAWlXn49.js +0 -1012
- package/dist/esm-B2pocBPL.js +0 -26
- package/dist/esm-YVnxJqkD.js +0 -33066
- package/dist/factor-CEn53jua.js +0 -5
- package/dist/forth-CL8vu_y8.js +0 -4
- package/dist/fortran-DsmXkYtE.js +0 -4
- package/dist/gas-mYt9Rtlx.js +0 -4
- package/dist/gherkin-DHNCKBNj.js +0 -4
- package/dist/gitGraph-ZV4HHKMB-Cpd6k0O8.js +0 -21
- package/dist/graphlib-DRS8CrjA.js +0 -227
- package/dist/groovy-DzRtOS5a.js +0 -4
- package/dist/haskell-Bl9iT_Mp.js +0 -4
- package/dist/haxe-DqA0ED6k.js +0 -5
- package/dist/idl-WU2hil4i.js +0 -4
- package/dist/info-63CPKGFF-CG-xzUJo.js +0 -21
- package/dist/infoDiagram-STP46IZ2-zoRBGoup.js +0 -45
- package/dist/javascript-QY2BGJeV.js +0 -5
- package/dist/jinja2-Czleq7Sk.js +0 -4
- package/dist/jsx-runtime-DZyWJV5b.js +0 -31
- package/dist/julia-Dru3Qi0y.js +0 -4
- package/dist/livescript-Dxqi_HLT.js +0 -4
- package/dist/lua-ByH1cUQZ.js +0 -4
- package/dist/mathematica-CWJIFuES.js +0 -4
- package/dist/mbox-qhPIGaUI.js +0 -4
- package/dist/min-Dwa_NbP6.js +0 -93
- package/dist/mirc-yYcXhXBY.js +0 -4
- package/dist/mllike-BfT_Nl9x.js +0 -6
- package/dist/modelica-lVDtz1Rm.js +0 -4
- package/dist/mscgen-DvwdD1QJ.js +0 -6
- package/dist/mumps-BiY3GwKd.js +0 -4
- package/dist/nsis-Dk18Sq_4.js +0 -5
- package/dist/ntriples-Cj-8VqKF.js +0 -4
- package/dist/octave-BgFAaYjU.js +0 -4
- package/dist/oz-IsEG1I1m.js +0 -4
- package/dist/packet-HUATNLJX-Cafuo3IG.js +0 -21
- package/dist/pascal-BVf7FtIE.js +0 -4
- package/dist/perl-BM0-y4mZ.js +0 -4
- package/dist/pie-WTHONI2E-BE0pHBwB.js +0 -21
- package/dist/pig-CLBjzQmc.js +0 -4
- package/dist/powershell-B_qvE33J.js +0 -4
- package/dist/properties-CUTpsH2y.js +0 -4
- package/dist/protobuf-DqCP8a-0.js +0 -4
- package/dist/pug-BvexKkw4.js +0 -5
- package/dist/puppet-CoIi0R3f.js +0 -4
- package/dist/python-C-11-YMh.js +0 -5
- package/dist/q-CCVgEip7.js +0 -4
- package/dist/r-CIdR0Sfs.js +0 -4
- package/dist/radar-NJJJXTRR-0adgjw0u.js +0 -21
- package/dist/rpm-Dwvm039g.js +0 -5
- package/dist/ruby-DpTnO5gb.js +0 -4
- package/dist/sas-CK9boxgv.js +0 -4
- package/dist/scheme-Y1aYL-Qq.js +0 -4
- package/dist/shell-D3eXGsHd.js +0 -4
- package/dist/sieve-BdwSFdWJ.js +0 -4
- package/dist/smalltalk-BTYJquCm.js +0 -4
- package/dist/sparql-CYF0g4Cc.js +0 -4
- package/dist/stateDiagram-v2-UMBNRL4Z-DdJ7qVWc.js +0 -39
- package/dist/stex-CyWhoWHt.js +0 -5
- package/dist/stylus-BBiKaI2h.js +0 -4
- package/dist/swift-COb15qFR.js +0 -4
- package/dist/tcl-Jik1LXu9.js +0 -4
- package/dist/textile-BFHPD3wr.js +0 -4
- package/dist/toml-Brp9fBXs.js +0 -4
- package/dist/treemap-75Q7IDZK-CyBT8_Wh.js +0 -21
- package/dist/troff-CcZRW4vg.js +0 -4
- package/dist/tslib.es6-3ZL768sZ.js +0 -49
- package/dist/ttcn-Bz_6ifRd.js +0 -4
- package/dist/ttcn-cfg-v-yi2rKc.js +0 -4
- package/dist/turtle-CDOsZYhB.js +0 -4
- package/dist/useDateFormatter-BkbjKw83.js +0 -543
- package/dist/vb-CL7fRwRw.js +0 -4
- package/dist/vbscript-CR2xfxpw.js +0 -4
- package/dist/vega-component-BfFcXZxw.js +0 -465
- package/dist/velocity-CfuZoxPt.js +0 -4
- package/dist/verilog-CySTkzw_.js +0 -4
- package/dist/vhdl-Dvcd8KHW.js +0 -4
- package/dist/webidl-tbJt7sKk.js +0 -4
- package/dist/xquery-DJQVztyc.js +0 -4
- package/dist/yacas-BbgBReEH.js +0 -4
- package/dist/z80-DPyb8VGz.js +0 -4
- /package/dist/{_arrayReduce-Cd9xQjbl.js → _arrayReduce-CmsTTAw1.js} +0 -0
- /package/dist/{_baseSlice-CE9WsQZm.js → _baseSlice-CAnpEJwx.js} +0 -0
- /package/dist/{_hasUnicode-DkEebvtD.js → _hasUnicode-CbmCTPAa.js} +0 -0
- /package/dist/{apl-aGhy11IM.js → apl-Css595_H.js} +0 -0
- /package/dist/{array-DYSXIreg.js → array-D3smvOQ_.js} +0 -0
- /package/dist/{asciiarmor-DJKJ3Gkn.js → asciiarmor-BTCuJwxh.js} +0 -0
- /package/dist/{asn1-C6f5IeNs.js → asn1-DXjhS5QI.js} +0 -0
- /package/dist/{asterisk-DB1poX9_.js → asterisk-5HlmsIaw.js} +0 -0
- /package/dist/{brainfuck-Ch9vjun0.js → brainfuck--WlEc-iG.js} +0 -0
- /package/dist/{chunk-57QY23SG-BpXU7ph4.js → chunk-57QY23SG-D7ymhFFp.js} +0 -0
- /package/dist/{click-outside-container-2BH589Bq.js → click-outside-container-DSVM9sZw.js} +0 -0
- /package/dist/{clike-Bc2PZzZQ.js → clike-DDIJB_R8.js} +0 -0
- /package/dist/{clojure-B_lpr3zt.js → clojure-Z-GPBZyY.js} +0 -0
- /package/dist/{cmake-DaocNF4I.js → cmake-DncBqspt.js} +0 -0
- /package/dist/{cobol-suTPtt7c.js → cobol-DqUe0gl7.js} +0 -0
- /package/dist/{coffeescript-CPLIvtqJ.js → coffeescript-CH5_OO0H.js} +0 -0
- /package/dist/{colors-BXlG8Lmz.js → colors-DQmMCNWX.js} +0 -0
- /package/dist/{common-keywords-Bhll7O3b.js → common-keywords-CAEsQSF5.js} +0 -0
- /package/dist/{commonlisp-BqM3qFK7.js → commonlisp-UmhR9BfE.js} +0 -0
- /package/dist/{crystal-AsSFu4ke.js → crystal-5Sqf7MXt.js} +0 -0
- /package/dist/{css-Df7Sdeyh.js → css-bDybSxwf.js} +0 -0
- /package/dist/{cypher-CaVKL6Gu.js → cypher-PIeAFhrd.js} +0 -0
- /package/dist/{cytoscape.esm-BFEMljQI.js → cytoscape.esm-DclyBJ4D.js} +0 -0
- /package/dist/{d-DCGWK7NQ.js → d-Bd8EVRQt.js} +0 -0
- /package/dist/{defaultLocale-Cto8YOmX.js → defaultLocale-BPzjWfXP.js} +0 -0
- /package/dist/{defaultLocale-CYgZlqDF.js → defaultLocale-Om7Wxg5c.js} +0 -0
- /package/dist/{diff-CsxOM4Tr.js → diff-CAQdgtD6.js} +0 -0
- /package/dist/{dtd-Dwr0Jmks.js → dtd-eKW3pZj_.js} +0 -0
- /package/dist/{duckdb-keywords-7wAWf848.js → duckdb-keywords-BC3kWZZM.js} +0 -0
- /package/dist/{dylan-A7-ZBSey.js → dylan-CIO7R9Tr.js} +0 -0
- /package/dist/{ebnf-9_SaGDUz.js → ebnf-Pr4a9I6n.js} +0 -0
- /package/dist/{ecl-BzJVIQDc.js → ecl-BqYW-aOJ.js} +0 -0
- /package/dist/{eiffel-CO9eC_Op.js → eiffel-BOKM91eM.js} +0 -0
- /package/dist/{elm-CVAWj8SB.js → elm-3sobs3PV.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-C3Yi5GQt.js → emotion-is-prop-valid.esm-Cm1uulbm.js} +0 -0
- /package/dist/{erlang-DWbZP546.js → erlang-C5EBzhP1.js} +0 -0
- /package/dist/{esm-AtKNNGYO.js → esm-CopBBL2y.js} +0 -0
- /package/dist/{fcl-CM9t2iay.js → fcl-Brh8s8q_.js} +0 -0
- /package/dist/{forth-BTYqUuu3.js → forth-DneRHr4K.js} +0 -0
- /package/dist/{fortran-DgAjHcCq.js → fortran-DsdmZbwQ.js} +0 -0
- /package/dist/{gas-BjDSWPZd.js → gas-DaoJ65Z9.js} +0 -0
- /package/dist/{gherkin-ClRqqpKv.js → gherkin-DUP_UlW-.js} +0 -0
- /package/dist/{groovy-BzNjnc8x.js → groovy-Rvyan8yX.js} +0 -0
- /package/dist/{haskell-DLdk34Jq.js → haskell-DIvpY54L.js} +0 -0
- /package/dist/{haxe-l6gaY_IS.js → haxe-Da_5bBNs.js} +0 -0
- /package/dist/{http-6Qg7z_h2.js → http-CMvcwl3E.js} +0 -0
- /package/dist/{idl-hlWT4D26.js → idl-DvL3aO0N.js} +0 -0
- /package/dist/{init-tZ42Torz.js → init-BNp5RczD.js} +0 -0
- /package/dist/{invariant-D3JoRb4I.js → invariant-Cl2wkkjN.js} +0 -0
- /package/dist/{isArrayLikeObject-DU5MCuQM.js → isArrayLikeObject-1qkWxZbL.js} +0 -0
- /package/dist/{javascript-DGukg1sB.js → javascript-DoyAP8vn.js} +0 -0
- /package/dist/{jinja2-DI5k_Er3.js → jinja2-Veqp7mFj.js} +0 -0
- /package/dist/{julia-BvDZDiIT.js → julia-Gi684CX7.js} +0 -0
- /package/dist/{katex-DgfMWJY9.js → katex-U6RPAuWM.js} +0 -0
- /package/dist/{livescript-2YMQfkfI.js → livescript-BKj_Zhvo.js} +0 -0
- /package/dist/{lua-DIUrQRfA.js → lua-CDA7hreG.js} +0 -0
- /package/dist/{main-BMTpe7M0.js → main-63eIj2Yx.js} +0 -0
- /package/dist/{marked.esm-DkVwEwtO.js → marked.esm-DE8HU3tw.js} +0 -0
- /package/dist/{math-qsHyz2Eo.js → math-C2iLT5gz.js} +0 -0
- /package/dist/{mathematica-Dqmg_BwL.js → mathematica-GWfSHReY.js} +0 -0
- /package/dist/{mbox-Cng-P-F1.js → mbox-Dwsrc4Ak.js} +0 -0
- /package/dist/{mirc-CNDqOVhQ.js → mirc-B2JE5ype.js} +0 -0
- /package/dist/{mllike-C1n2UDyX.js → mllike-BkBh4PFX.js} +0 -0
- /package/dist/{modelica-QqQC2pFj.js → modelica-C0hNlKgR.js} +0 -0
- /package/dist/{mscgen-C3fl8uhp.js → mscgen-DWWpdZnb.js} +0 -0
- /package/dist/{mumps-BeCUbMej.js → mumps-CMePAlSe.js} +0 -0
- /package/dist/{nginx-ejv7DsBz.js → nginx-GurZbX0E.js} +0 -0
- /package/dist/{node-sql-parser-CoPWN4hn.js → node-sql-parser-IKID_dZE.js} +0 -0
- /package/dist/{ntriples-CUgUpcma.js → ntriples-BnE6tX0Y.js} +0 -0
- /package/dist/{octave-BD652tGl.js → octave-Dfu3PmNP.js} +0 -0
- /package/dist/{oz-DrRsFa0K.js → oz-DqNpAjpZ.js} +0 -0
- /package/dist/{pascal-hpcx9sVn.js → pascal-GP_8jbNL.js} +0 -0
- /package/dist/{path-Bbv2tLY1.js → path-BeMi_1Je.js} +0 -0
- /package/dist/{perl-DW8XHeFc.js → perl-DUDEqQOD.js} +0 -0
- /package/dist/{pig-Cv7Nxbfo.js → pig-Csr4LnKs.js} +0 -0
- /package/dist/{powershell-Dr7WZMDU.js → powershell-Cw4tDKZx.js} +0 -0
- /package/dist/{prop-types-Bd16OEUP.js → prop-types-CzOfzj9N.js} +0 -0
- /package/dist/{properties-D-qJDXAM.js → properties-CUhUGfHR.js} +0 -0
- /package/dist/{protobuf-B48QZbd3.js → protobuf-CPZe957V.js} +0 -0
- /package/dist/{puppet-15JDyiY2.js → puppet-BP1AOwo6.js} +0 -0
- /package/dist/{purify.es-CrfFzTyi.js → purify.es-CDFkadZl.js} +0 -0
- /package/dist/{python-DWkQA94h.js → python-BMcMimC3.js} +0 -0
- /package/dist/{q-BzRpKgfd.js → q-BNfSHUci.js} +0 -0
- /package/dist/{r-dcNRe_Q8.js → r-DiJzLRZc.js} +0 -0
- /package/dist/{range-CQvYp_qE.js → range-sX2tw-Jz.js} +0 -0
- /package/dist/{react-dom-CpBooCbY.js → react-dom-BTjywDxo.js} +0 -0
- /package/dist/{rpm-Djl3Dsf1.js → rpm-CywAxCKo.js} +0 -0
- /package/dist/{ruby-Dd2CZTip.js → ruby-B0a4mSSU.js} +0 -0
- /package/dist/{sas-DYF5_Iqu.js → sas-DTh30wZQ.js} +0 -0
- /package/dist/{scheme-YtWcji1H.js → scheme-CsOlAIFf.js} +0 -0
- /package/dist/{shell-C3uC3Y0Z.js → shell-7w75P-tg.js} +0 -0
- /package/dist/{sieve-DHB17sQG.js → sieve-BphUEMa4.js} +0 -0
- /package/dist/{simple-mode-BMmwP_vI.js → simple-mode-BcThS5Pa.js} +0 -0
- /package/dist/{smalltalk-Y5v1Np3H.js → smalltalk-CHwdNey_.js} +0 -0
- /package/dist/{solr-DvRJLlRD.js → solr-CuWbYJLt.js} +0 -0
- /package/dist/{sparql-BEt3GJwM.js → sparql-BtwCqUvT.js} +0 -0
- /package/dist/{spreadsheet-Dp4B9_rc.js → spreadsheet-C1JzeuKn.js} +0 -0
- /package/dist/{sql-DBsUs8nQ.js → sql-wv_2DQzf.js} +0 -0
- /package/dist/{stex-C6-x52ei.js → stex-BmcrV7cx.js} +0 -0
- /package/dist/{stylus-DroA8via.js → stylus-SVJ7TGPh.js} +0 -0
- /package/dist/{swift-DR0x1ESK.js → swift-f7KaABxm.js} +0 -0
- /package/dist/{tcl-BeuTFc_c.js → tcl-CbTFkeHJ.js} +0 -0
- /package/dist/{textile-C0ikhHN3.js → textile-CFn6QLRy.js} +0 -0
- /package/dist/{tiddlywiki-C_2Nvsgu.js → tiddlywiki-DBhMcdVM.js} +0 -0
- /package/dist/{tiki-CKQlhmQQ.js → tiki-CqcXr_YN.js} +0 -0
- /package/dist/{timer-CcUhugb0.js → timer-ly0jlpkr.js} +0 -0
- /package/dist/{toml-BqNUJWRI.js → toml-YgDIoI1n.js} +0 -0
- /package/dist/{treemap-BYLUKIzA.js → treemap-D5sUCpbF.js} +0 -0
- /package/dist/{troff-DkK0f2ZH.js → troff-CIp_4RXg.js} +0 -0
- /package/dist/{ttcn-Bf8vrg-_.js → ttcn-Yn_uOBYK.js} +0 -0
- /package/dist/{ttcn-cfg-DjCKzd95.js → ttcn-cfg-BVum2rmM.js} +0 -0
- /package/dist/{turtle-SSc84S9m.js → turtle-BeWx-YoQ.js} +0 -0
- /package/dist/{vb-CQ6DC3cL.js → vb-DKEmSA_2.js} +0 -0
- /package/dist/{vbscript-Dw0gFssg.js → vbscript-BPsxuP0n.js} +0 -0
- /package/dist/{velocity-BvJQyBmj.js → velocity-ycm1NvlO.js} +0 -0
- /package/dist/{verilog-CKGAvQjj.js → verilog-ogjm0Ytr.js} +0 -0
- /package/dist/{vhdl-B40_x6fM.js → vhdl-BvjyOM9y.js} +0 -0
- /package/dist/{webidl-Bi9hczCv.js → webidl-QdwcTYEu.js} +0 -0
- /package/dist/{xquery-DwWUXvP3.js → xquery-BErHIIc-.js} +0 -0
- /package/dist/{yacas-ClUs0mmH.js → yacas-BBBJNs0h.js} +0 -0
- /package/dist/{z80-DPC4UGzR.js → z80-nG9RRukG.js} +0 -0
- /package/dist/{zod-mAEs2ITo.js → zod-0AbTN3Cg.js} +0 -0
|
@@ -0,0 +1,1256 @@
|
|
|
1
|
+
import { s as __toESM } from "./chunk-DgPTj83v.js";
|
|
2
|
+
import { t as require_react } from "./react-DHL_F5hS.js";
|
|
3
|
+
import { t as require_compiler_runtime } from "./compiler-runtime-5MdCVm0X.js";
|
|
4
|
+
import { A as createLucideIcon } from "./Combination-DrSsMSEB.js";
|
|
5
|
+
import { A as upperFirst_default, N as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, k as logNever } from "./label-Wr-xTlW7.js";
|
|
6
|
+
import { d as cn, r as cva } from "./button-B8zS4Mtw.js";
|
|
7
|
+
import { s as Logger } from "./hotkeys-DVxFjl2s.js";
|
|
8
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-CvL6gNI-.js";
|
|
9
|
+
import { x as atom, y as useSetAtom } from "./useTheme-D7vlj42b.js";
|
|
10
|
+
import { t as toString_default } from "./toString-CT4n1k2E.js";
|
|
11
|
+
import { t as _arrayReduce_default } from "./_arrayReduce-CmsTTAw1.js";
|
|
12
|
+
var AlignCenterVertical = createLucideIcon("align-center-vertical", [
|
|
13
|
+
["path", {
|
|
14
|
+
d: "M12 2v20",
|
|
15
|
+
key: "t6zp3m"
|
|
16
|
+
}],
|
|
17
|
+
["path", {
|
|
18
|
+
d: "M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4",
|
|
19
|
+
key: "14d6g8"
|
|
20
|
+
}],
|
|
21
|
+
["path", {
|
|
22
|
+
d: "M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4",
|
|
23
|
+
key: "1e2lrw"
|
|
24
|
+
}],
|
|
25
|
+
["path", {
|
|
26
|
+
d: "M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1",
|
|
27
|
+
key: "1fkdwx"
|
|
28
|
+
}],
|
|
29
|
+
["path", {
|
|
30
|
+
d: "M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1",
|
|
31
|
+
key: "1euafb"
|
|
32
|
+
}]
|
|
33
|
+
]), ArrowDownToLine = createLucideIcon("arrow-down-to-line", [
|
|
34
|
+
["path", {
|
|
35
|
+
d: "M12 17V3",
|
|
36
|
+
key: "1cwfxf"
|
|
37
|
+
}],
|
|
38
|
+
["path", {
|
|
39
|
+
d: "m6 11 6 6 6-6",
|
|
40
|
+
key: "12ii2o"
|
|
41
|
+
}],
|
|
42
|
+
["path", {
|
|
43
|
+
d: "M19 21H5",
|
|
44
|
+
key: "150jfl"
|
|
45
|
+
}]
|
|
46
|
+
]), ArrowUpToLine = createLucideIcon("arrow-up-to-line", [
|
|
47
|
+
["path", {
|
|
48
|
+
d: "M5 3h14",
|
|
49
|
+
key: "7usisc"
|
|
50
|
+
}],
|
|
51
|
+
["path", {
|
|
52
|
+
d: "m18 13-6-6-6 6",
|
|
53
|
+
key: "1kf1n9"
|
|
54
|
+
}],
|
|
55
|
+
["path", {
|
|
56
|
+
d: "M12 7v14",
|
|
57
|
+
key: "1akyts"
|
|
58
|
+
}]
|
|
59
|
+
]), Baseline = createLucideIcon("baseline", [
|
|
60
|
+
["path", {
|
|
61
|
+
d: "M4 20h16",
|
|
62
|
+
key: "14thso"
|
|
63
|
+
}],
|
|
64
|
+
["path", {
|
|
65
|
+
d: "m6 16 6-12 6 12",
|
|
66
|
+
key: "1b4byz"
|
|
67
|
+
}],
|
|
68
|
+
["path", {
|
|
69
|
+
d: "M8 12h8",
|
|
70
|
+
key: "1wcyev"
|
|
71
|
+
}]
|
|
72
|
+
]), Calendar = createLucideIcon("calendar", [
|
|
73
|
+
["path", {
|
|
74
|
+
d: "M8 2v4",
|
|
75
|
+
key: "1cmpym"
|
|
76
|
+
}],
|
|
77
|
+
["path", {
|
|
78
|
+
d: "M16 2v4",
|
|
79
|
+
key: "4m81vk"
|
|
80
|
+
}],
|
|
81
|
+
["rect", {
|
|
82
|
+
width: "18",
|
|
83
|
+
height: "18",
|
|
84
|
+
x: "3",
|
|
85
|
+
y: "4",
|
|
86
|
+
rx: "2",
|
|
87
|
+
key: "1hopcy"
|
|
88
|
+
}],
|
|
89
|
+
["path", {
|
|
90
|
+
d: "M3 10h18",
|
|
91
|
+
key: "8toen8"
|
|
92
|
+
}]
|
|
93
|
+
]), ChartArea = createLucideIcon("chart-area", [["path", {
|
|
94
|
+
d: "M3 3v16a2 2 0 0 0 2 2h16",
|
|
95
|
+
key: "c24i48"
|
|
96
|
+
}], ["path", {
|
|
97
|
+
d: "M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z",
|
|
98
|
+
key: "q0gr47"
|
|
99
|
+
}]]), ChartColumn = createLucideIcon("chart-column", [
|
|
100
|
+
["path", {
|
|
101
|
+
d: "M3 3v16a2 2 0 0 0 2 2h16",
|
|
102
|
+
key: "c24i48"
|
|
103
|
+
}],
|
|
104
|
+
["path", {
|
|
105
|
+
d: "M18 17V9",
|
|
106
|
+
key: "2bz60n"
|
|
107
|
+
}],
|
|
108
|
+
["path", {
|
|
109
|
+
d: "M13 17V5",
|
|
110
|
+
key: "1frdt8"
|
|
111
|
+
}],
|
|
112
|
+
["path", {
|
|
113
|
+
d: "M8 17v-3",
|
|
114
|
+
key: "17ska0"
|
|
115
|
+
}]
|
|
116
|
+
]), ChartLine = createLucideIcon("chart-line", [["path", {
|
|
117
|
+
d: "M3 3v16a2 2 0 0 0 2 2h16",
|
|
118
|
+
key: "c24i48"
|
|
119
|
+
}], ["path", {
|
|
120
|
+
d: "m19 9-5 5-4-4-3 3",
|
|
121
|
+
key: "2osh9i"
|
|
122
|
+
}]]), ChartNoAxesColumnIncreasing = createLucideIcon("chart-no-axes-column-increasing", [
|
|
123
|
+
["line", {
|
|
124
|
+
x1: "12",
|
|
125
|
+
x2: "12",
|
|
126
|
+
y1: "20",
|
|
127
|
+
y2: "10",
|
|
128
|
+
key: "1vz5eb"
|
|
129
|
+
}],
|
|
130
|
+
["line", {
|
|
131
|
+
x1: "18",
|
|
132
|
+
x2: "18",
|
|
133
|
+
y1: "20",
|
|
134
|
+
y2: "4",
|
|
135
|
+
key: "cun8e5"
|
|
136
|
+
}],
|
|
137
|
+
["line", {
|
|
138
|
+
x1: "6",
|
|
139
|
+
x2: "6",
|
|
140
|
+
y1: "20",
|
|
141
|
+
y2: "16",
|
|
142
|
+
key: "hq0ia6"
|
|
143
|
+
}]
|
|
144
|
+
]), ChartNoAxesColumn = createLucideIcon("chart-no-axes-column", [
|
|
145
|
+
["line", {
|
|
146
|
+
x1: "18",
|
|
147
|
+
x2: "18",
|
|
148
|
+
y1: "20",
|
|
149
|
+
y2: "10",
|
|
150
|
+
key: "1xfpm4"
|
|
151
|
+
}],
|
|
152
|
+
["line", {
|
|
153
|
+
x1: "12",
|
|
154
|
+
x2: "12",
|
|
155
|
+
y1: "20",
|
|
156
|
+
y2: "4",
|
|
157
|
+
key: "be30l9"
|
|
158
|
+
}],
|
|
159
|
+
["line", {
|
|
160
|
+
x1: "6",
|
|
161
|
+
x2: "6",
|
|
162
|
+
y1: "20",
|
|
163
|
+
y2: "14",
|
|
164
|
+
key: "1r4le6"
|
|
165
|
+
}]
|
|
166
|
+
]), ChartPie = createLucideIcon("chart-pie", [["path", {
|
|
167
|
+
d: "M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",
|
|
168
|
+
key: "pzmjnu"
|
|
169
|
+
}], ["path", {
|
|
170
|
+
d: "M21.21 15.89A10 10 0 1 1 8 2.83",
|
|
171
|
+
key: "k2fpak"
|
|
172
|
+
}]]), ChartScatter = createLucideIcon("chart-scatter", [
|
|
173
|
+
["circle", {
|
|
174
|
+
cx: "7.5",
|
|
175
|
+
cy: "7.5",
|
|
176
|
+
r: ".5",
|
|
177
|
+
fill: "currentColor",
|
|
178
|
+
key: "kqv944"
|
|
179
|
+
}],
|
|
180
|
+
["circle", {
|
|
181
|
+
cx: "18.5",
|
|
182
|
+
cy: "5.5",
|
|
183
|
+
r: ".5",
|
|
184
|
+
fill: "currentColor",
|
|
185
|
+
key: "lysivs"
|
|
186
|
+
}],
|
|
187
|
+
["circle", {
|
|
188
|
+
cx: "11.5",
|
|
189
|
+
cy: "11.5",
|
|
190
|
+
r: ".5",
|
|
191
|
+
fill: "currentColor",
|
|
192
|
+
key: "byv1b8"
|
|
193
|
+
}],
|
|
194
|
+
["circle", {
|
|
195
|
+
cx: "7.5",
|
|
196
|
+
cy: "16.5",
|
|
197
|
+
r: ".5",
|
|
198
|
+
fill: "currentColor",
|
|
199
|
+
key: "nkw3mc"
|
|
200
|
+
}],
|
|
201
|
+
["circle", {
|
|
202
|
+
cx: "17.5",
|
|
203
|
+
cy: "14.5",
|
|
204
|
+
r: ".5",
|
|
205
|
+
fill: "currentColor",
|
|
206
|
+
key: "1gjh6j"
|
|
207
|
+
}],
|
|
208
|
+
["path", {
|
|
209
|
+
d: "M3 3v16a2 2 0 0 0 2 2h16",
|
|
210
|
+
key: "c24i48"
|
|
211
|
+
}]
|
|
212
|
+
]), Hash = createLucideIcon("hash", [
|
|
213
|
+
["line", {
|
|
214
|
+
x1: "4",
|
|
215
|
+
x2: "20",
|
|
216
|
+
y1: "9",
|
|
217
|
+
y2: "9",
|
|
218
|
+
key: "4lhtct"
|
|
219
|
+
}],
|
|
220
|
+
["line", {
|
|
221
|
+
x1: "4",
|
|
222
|
+
x2: "20",
|
|
223
|
+
y1: "15",
|
|
224
|
+
y2: "15",
|
|
225
|
+
key: "vyu0kd"
|
|
226
|
+
}],
|
|
227
|
+
["line", {
|
|
228
|
+
x1: "10",
|
|
229
|
+
x2: "8",
|
|
230
|
+
y1: "3",
|
|
231
|
+
y2: "21",
|
|
232
|
+
key: "1ggp8o"
|
|
233
|
+
}],
|
|
234
|
+
["line", {
|
|
235
|
+
x1: "16",
|
|
236
|
+
x2: "14",
|
|
237
|
+
y1: "3",
|
|
238
|
+
y2: "21",
|
|
239
|
+
key: "weycgp"
|
|
240
|
+
}]
|
|
241
|
+
]), ListFilter = createLucideIcon("list-filter", [
|
|
242
|
+
["path", {
|
|
243
|
+
d: "M3 6h18",
|
|
244
|
+
key: "d0wm0j"
|
|
245
|
+
}],
|
|
246
|
+
["path", {
|
|
247
|
+
d: "M7 12h10",
|
|
248
|
+
key: "b7w52i"
|
|
249
|
+
}],
|
|
250
|
+
["path", {
|
|
251
|
+
d: "M10 18h4",
|
|
252
|
+
key: "1ulq68"
|
|
253
|
+
}]
|
|
254
|
+
]), RulerDimensionLine = createLucideIcon("ruler-dimension-line", [
|
|
255
|
+
["path", {
|
|
256
|
+
d: "M12 15v-3.014",
|
|
257
|
+
key: "aw6ppf"
|
|
258
|
+
}],
|
|
259
|
+
["path", {
|
|
260
|
+
d: "M16 15v-3.014",
|
|
261
|
+
key: "9e0vc7"
|
|
262
|
+
}],
|
|
263
|
+
["path", {
|
|
264
|
+
d: "M20 6H4",
|
|
265
|
+
key: "1lfz86"
|
|
266
|
+
}],
|
|
267
|
+
["path", {
|
|
268
|
+
d: "M20 8V4",
|
|
269
|
+
key: "1l2g47"
|
|
270
|
+
}],
|
|
271
|
+
["path", {
|
|
272
|
+
d: "M4 8V4",
|
|
273
|
+
key: "sppxzt"
|
|
274
|
+
}],
|
|
275
|
+
["path", {
|
|
276
|
+
d: "M8 15v-3.014",
|
|
277
|
+
key: "when08"
|
|
278
|
+
}],
|
|
279
|
+
["rect", {
|
|
280
|
+
x: "3",
|
|
281
|
+
y: "12",
|
|
282
|
+
width: "18",
|
|
283
|
+
height: "7",
|
|
284
|
+
rx: "1",
|
|
285
|
+
key: "1ucwdz"
|
|
286
|
+
}]
|
|
287
|
+
]), Sigma = createLucideIcon("sigma", [["path", {
|
|
288
|
+
d: "M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2",
|
|
289
|
+
key: "wuwx1p"
|
|
290
|
+
}]]), SquareFunction = createLucideIcon("square-function", [
|
|
291
|
+
["rect", {
|
|
292
|
+
width: "18",
|
|
293
|
+
height: "18",
|
|
294
|
+
x: "3",
|
|
295
|
+
y: "3",
|
|
296
|
+
rx: "2",
|
|
297
|
+
ry: "2",
|
|
298
|
+
key: "1m3agn"
|
|
299
|
+
}],
|
|
300
|
+
["path", {
|
|
301
|
+
d: "M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3",
|
|
302
|
+
key: "m1af9g"
|
|
303
|
+
}],
|
|
304
|
+
["path", {
|
|
305
|
+
d: "M9 11.2h5.7",
|
|
306
|
+
key: "3zgcl2"
|
|
307
|
+
}]
|
|
308
|
+
]), Table = createLucideIcon("table", [
|
|
309
|
+
["path", {
|
|
310
|
+
d: "M12 3v18",
|
|
311
|
+
key: "108xh3"
|
|
312
|
+
}],
|
|
313
|
+
["rect", {
|
|
314
|
+
width: "18",
|
|
315
|
+
height: "18",
|
|
316
|
+
x: "3",
|
|
317
|
+
y: "3",
|
|
318
|
+
rx: "2",
|
|
319
|
+
key: "afitv7"
|
|
320
|
+
}],
|
|
321
|
+
["path", {
|
|
322
|
+
d: "M3 9h18",
|
|
323
|
+
key: "1pudct"
|
|
324
|
+
}],
|
|
325
|
+
["path", {
|
|
326
|
+
d: "M3 15h18",
|
|
327
|
+
key: "5xshup"
|
|
328
|
+
}]
|
|
329
|
+
]), ToggleLeft = createLucideIcon("toggle-left", [["circle", {
|
|
330
|
+
cx: "9",
|
|
331
|
+
cy: "12",
|
|
332
|
+
r: "3",
|
|
333
|
+
key: "u3jwor"
|
|
334
|
+
}], ["rect", {
|
|
335
|
+
width: "20",
|
|
336
|
+
height: "14",
|
|
337
|
+
x: "2",
|
|
338
|
+
y: "5",
|
|
339
|
+
rx: "7",
|
|
340
|
+
key: "g7kal2"
|
|
341
|
+
}]]), Type = createLucideIcon("type", [
|
|
342
|
+
["path", {
|
|
343
|
+
d: "M12 4v16",
|
|
344
|
+
key: "1654pz"
|
|
345
|
+
}],
|
|
346
|
+
["path", {
|
|
347
|
+
d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",
|
|
348
|
+
key: "e0r10z"
|
|
349
|
+
}],
|
|
350
|
+
["path", {
|
|
351
|
+
d: "M9 20h6",
|
|
352
|
+
key: "s66wpe"
|
|
353
|
+
}]
|
|
354
|
+
]), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
355
|
+
function $5a387cc49350e6db$export$722debc0e56fea39(a, P) {
|
|
356
|
+
let F = (0, import_react.useRef)(null);
|
|
357
|
+
return a && F.current && P(a, F.current) && (a = F.current), F.current = a, a;
|
|
358
|
+
}
|
|
359
|
+
var $fb18d541ea1ad717$var$formatterCache = /* @__PURE__ */ new Map(), $fb18d541ea1ad717$export$ad991b66133851cf = class {
|
|
360
|
+
format(a) {
|
|
361
|
+
return this.formatter.format(a);
|
|
362
|
+
}
|
|
363
|
+
formatToParts(a) {
|
|
364
|
+
return this.formatter.formatToParts(a);
|
|
365
|
+
}
|
|
366
|
+
formatRange(a, P) {
|
|
367
|
+
if (typeof this.formatter.formatRange == "function") return this.formatter.formatRange(a, P);
|
|
368
|
+
if (P < a) throw RangeError("End date must be >= start date");
|
|
369
|
+
return `${this.formatter.format(a)} \u2013 ${this.formatter.format(P)}`;
|
|
370
|
+
}
|
|
371
|
+
formatRangeToParts(a, P) {
|
|
372
|
+
if (typeof this.formatter.formatRangeToParts == "function") return this.formatter.formatRangeToParts(a, P);
|
|
373
|
+
if (P < a) throw RangeError("End date must be >= start date");
|
|
374
|
+
let F = this.formatter.formatToParts(a), I = this.formatter.formatToParts(P);
|
|
375
|
+
return [
|
|
376
|
+
...F.map((a2) => ({
|
|
377
|
+
...a2,
|
|
378
|
+
source: "startRange"
|
|
379
|
+
})),
|
|
380
|
+
{
|
|
381
|
+
type: "literal",
|
|
382
|
+
value: " \u2013 ",
|
|
383
|
+
source: "shared"
|
|
384
|
+
},
|
|
385
|
+
...I.map((a2) => ({
|
|
386
|
+
...a2,
|
|
387
|
+
source: "endRange"
|
|
388
|
+
}))
|
|
389
|
+
];
|
|
390
|
+
}
|
|
391
|
+
resolvedOptions() {
|
|
392
|
+
let a = this.formatter.resolvedOptions();
|
|
393
|
+
return $fb18d541ea1ad717$var$hasBuggyResolvedHourCycle() && (this.resolvedHourCycle || (this.resolvedHourCycle = $fb18d541ea1ad717$var$getResolvedHourCycle(a.locale, this.options)), a.hourCycle = this.resolvedHourCycle, a.hour12 = this.resolvedHourCycle === "h11" || this.resolvedHourCycle === "h12"), a.calendar === "ethiopic-amete-alem" && (a.calendar = "ethioaa"), a;
|
|
394
|
+
}
|
|
395
|
+
constructor(a, P = {}) {
|
|
396
|
+
this.formatter = $fb18d541ea1ad717$var$getCachedDateFormatter(a, P), this.options = P;
|
|
397
|
+
}
|
|
398
|
+
}, $fb18d541ea1ad717$var$hour12Preferences = {
|
|
399
|
+
true: { ja: "h11" },
|
|
400
|
+
false: {}
|
|
401
|
+
};
|
|
402
|
+
function $fb18d541ea1ad717$var$getCachedDateFormatter(a, P = {}) {
|
|
403
|
+
if (typeof P.hour12 == "boolean" && $fb18d541ea1ad717$var$hasBuggyHour12Behavior()) {
|
|
404
|
+
P = { ...P };
|
|
405
|
+
let F2 = $fb18d541ea1ad717$var$hour12Preferences[String(P.hour12)][a.split("-")[0]], I2 = P.hour12 ? "h12" : "h23";
|
|
406
|
+
P.hourCycle = F2 ?? I2, delete P.hour12;
|
|
407
|
+
}
|
|
408
|
+
let F = a + (P ? Object.entries(P).sort((a2, P2) => a2[0] < P2[0] ? -1 : 1).join() : "");
|
|
409
|
+
if ($fb18d541ea1ad717$var$formatterCache.has(F)) return $fb18d541ea1ad717$var$formatterCache.get(F);
|
|
410
|
+
let I = new Intl.DateTimeFormat(a, P);
|
|
411
|
+
return $fb18d541ea1ad717$var$formatterCache.set(F, I), I;
|
|
412
|
+
}
|
|
413
|
+
var $fb18d541ea1ad717$var$_hasBuggyHour12Behavior = null;
|
|
414
|
+
function $fb18d541ea1ad717$var$hasBuggyHour12Behavior() {
|
|
415
|
+
return $fb18d541ea1ad717$var$_hasBuggyHour12Behavior ?? ($fb18d541ea1ad717$var$_hasBuggyHour12Behavior = new Intl.DateTimeFormat("en-US", {
|
|
416
|
+
hour: "numeric",
|
|
417
|
+
hour12: false
|
|
418
|
+
}).format(new Date(2020, 2, 3, 0)) === "24"), $fb18d541ea1ad717$var$_hasBuggyHour12Behavior;
|
|
419
|
+
}
|
|
420
|
+
var $fb18d541ea1ad717$var$_hasBuggyResolvedHourCycle = null;
|
|
421
|
+
function $fb18d541ea1ad717$var$hasBuggyResolvedHourCycle() {
|
|
422
|
+
return $fb18d541ea1ad717$var$_hasBuggyResolvedHourCycle ?? ($fb18d541ea1ad717$var$_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat("fr", {
|
|
423
|
+
hour: "numeric",
|
|
424
|
+
hour12: false
|
|
425
|
+
}).resolvedOptions().hourCycle === "h12"), $fb18d541ea1ad717$var$_hasBuggyResolvedHourCycle;
|
|
426
|
+
}
|
|
427
|
+
function $fb18d541ea1ad717$var$getResolvedHourCycle(a, P) {
|
|
428
|
+
if (!P.timeStyle && !P.hour) return;
|
|
429
|
+
a = a.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, ""), a += (a.includes("-u-") ? "" : "-u") + "-nu-latn";
|
|
430
|
+
let F = $fb18d541ea1ad717$var$getCachedDateFormatter(a, {
|
|
431
|
+
...P,
|
|
432
|
+
timeZone: void 0
|
|
433
|
+
}), I = parseInt(F.formatToParts(new Date(2020, 2, 3, 0)).find((a2) => a2.type === "hour").value, 10), L = parseInt(F.formatToParts(new Date(2020, 2, 3, 23)).find((a2) => a2.type === "hour").value, 10);
|
|
434
|
+
if (I === 0 && L === 23) return "h23";
|
|
435
|
+
if (I === 24 && L === 23) return "h24";
|
|
436
|
+
if (I === 0 && L === 11) return "h11";
|
|
437
|
+
if (I === 12 && L === 11) return "h12";
|
|
438
|
+
throw Error("Unexpected hour cycle result");
|
|
439
|
+
}
|
|
440
|
+
function $896ba0a80a8f4d36$export$85fd5fdf27bacc79(a) {
|
|
441
|
+
a = $5a387cc49350e6db$export$722debc0e56fea39(a ?? {}, $896ba0a80a8f4d36$var$isEqual);
|
|
442
|
+
let { locale: P } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
443
|
+
return (0, import_react.useMemo)(() => new $fb18d541ea1ad717$export$ad991b66133851cf(P, a), [P, a]);
|
|
444
|
+
}
|
|
445
|
+
function $896ba0a80a8f4d36$var$isEqual(a, P) {
|
|
446
|
+
if (a === P) return true;
|
|
447
|
+
let F = Object.keys(a), I = Object.keys(P);
|
|
448
|
+
if (F.length !== I.length) return false;
|
|
449
|
+
for (let I2 of F) if (P[I2] !== a[I2]) return false;
|
|
450
|
+
return true;
|
|
451
|
+
}
|
|
452
|
+
function basePropertyOf(a) {
|
|
453
|
+
return function(P) {
|
|
454
|
+
return a == null ? void 0 : a[P];
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
var _deburrLetter_default = basePropertyOf({
|
|
458
|
+
\u00C0: "A",
|
|
459
|
+
\u00C1: "A",
|
|
460
|
+
\u00C2: "A",
|
|
461
|
+
\u00C3: "A",
|
|
462
|
+
\u00C4: "A",
|
|
463
|
+
\u00C5: "A",
|
|
464
|
+
\u00E0: "a",
|
|
465
|
+
\u00E1: "a",
|
|
466
|
+
\u00E2: "a",
|
|
467
|
+
\u00E3: "a",
|
|
468
|
+
\u00E4: "a",
|
|
469
|
+
\u00E5: "a",
|
|
470
|
+
\u00C7: "C",
|
|
471
|
+
\u00E7: "c",
|
|
472
|
+
\u00D0: "D",
|
|
473
|
+
\u00F0: "d",
|
|
474
|
+
\u00C8: "E",
|
|
475
|
+
\u00C9: "E",
|
|
476
|
+
\u00CA: "E",
|
|
477
|
+
\u00CB: "E",
|
|
478
|
+
\u00E8: "e",
|
|
479
|
+
\u00E9: "e",
|
|
480
|
+
\u00EA: "e",
|
|
481
|
+
\u00EB: "e",
|
|
482
|
+
\u00CC: "I",
|
|
483
|
+
\u00CD: "I",
|
|
484
|
+
\u00CE: "I",
|
|
485
|
+
\u00CF: "I",
|
|
486
|
+
\u00EC: "i",
|
|
487
|
+
\u00ED: "i",
|
|
488
|
+
\u00EE: "i",
|
|
489
|
+
\u00EF: "i",
|
|
490
|
+
\u00D1: "N",
|
|
491
|
+
\u00F1: "n",
|
|
492
|
+
\u00D2: "O",
|
|
493
|
+
\u00D3: "O",
|
|
494
|
+
\u00D4: "O",
|
|
495
|
+
\u00D5: "O",
|
|
496
|
+
\u00D6: "O",
|
|
497
|
+
\u00D8: "O",
|
|
498
|
+
\u00F2: "o",
|
|
499
|
+
\u00F3: "o",
|
|
500
|
+
\u00F4: "o",
|
|
501
|
+
\u00F5: "o",
|
|
502
|
+
\u00F6: "o",
|
|
503
|
+
\u00F8: "o",
|
|
504
|
+
\u00D9: "U",
|
|
505
|
+
\u00DA: "U",
|
|
506
|
+
\u00DB: "U",
|
|
507
|
+
\u00DC: "U",
|
|
508
|
+
\u00F9: "u",
|
|
509
|
+
\u00FA: "u",
|
|
510
|
+
\u00FB: "u",
|
|
511
|
+
\u00FC: "u",
|
|
512
|
+
\u00DD: "Y",
|
|
513
|
+
\u00FD: "y",
|
|
514
|
+
\u00FF: "y",
|
|
515
|
+
\u00C6: "Ae",
|
|
516
|
+
\u00E6: "ae",
|
|
517
|
+
\u00DE: "Th",
|
|
518
|
+
\u00FE: "th",
|
|
519
|
+
\u00DF: "ss",
|
|
520
|
+
\u0100: "A",
|
|
521
|
+
\u0102: "A",
|
|
522
|
+
\u0104: "A",
|
|
523
|
+
\u0101: "a",
|
|
524
|
+
\u0103: "a",
|
|
525
|
+
\u0105: "a",
|
|
526
|
+
\u0106: "C",
|
|
527
|
+
\u0108: "C",
|
|
528
|
+
\u010A: "C",
|
|
529
|
+
\u010C: "C",
|
|
530
|
+
\u0107: "c",
|
|
531
|
+
\u0109: "c",
|
|
532
|
+
\u010B: "c",
|
|
533
|
+
\u010D: "c",
|
|
534
|
+
\u010E: "D",
|
|
535
|
+
\u0110: "D",
|
|
536
|
+
\u010F: "d",
|
|
537
|
+
\u0111: "d",
|
|
538
|
+
\u0112: "E",
|
|
539
|
+
\u0114: "E",
|
|
540
|
+
\u0116: "E",
|
|
541
|
+
\u0118: "E",
|
|
542
|
+
\u011A: "E",
|
|
543
|
+
\u0113: "e",
|
|
544
|
+
\u0115: "e",
|
|
545
|
+
\u0117: "e",
|
|
546
|
+
\u0119: "e",
|
|
547
|
+
\u011B: "e",
|
|
548
|
+
\u011C: "G",
|
|
549
|
+
\u011E: "G",
|
|
550
|
+
\u0120: "G",
|
|
551
|
+
\u0122: "G",
|
|
552
|
+
\u011D: "g",
|
|
553
|
+
\u011F: "g",
|
|
554
|
+
\u0121: "g",
|
|
555
|
+
\u0123: "g",
|
|
556
|
+
\u0124: "H",
|
|
557
|
+
\u0126: "H",
|
|
558
|
+
\u0125: "h",
|
|
559
|
+
\u0127: "h",
|
|
560
|
+
\u0128: "I",
|
|
561
|
+
\u012A: "I",
|
|
562
|
+
\u012C: "I",
|
|
563
|
+
\u012E: "I",
|
|
564
|
+
\u0130: "I",
|
|
565
|
+
\u0129: "i",
|
|
566
|
+
\u012B: "i",
|
|
567
|
+
\u012D: "i",
|
|
568
|
+
\u012F: "i",
|
|
569
|
+
\u0131: "i",
|
|
570
|
+
\u0134: "J",
|
|
571
|
+
\u0135: "j",
|
|
572
|
+
\u0136: "K",
|
|
573
|
+
\u0137: "k",
|
|
574
|
+
\u0138: "k",
|
|
575
|
+
\u0139: "L",
|
|
576
|
+
\u013B: "L",
|
|
577
|
+
\u013D: "L",
|
|
578
|
+
\u013F: "L",
|
|
579
|
+
\u0141: "L",
|
|
580
|
+
\u013A: "l",
|
|
581
|
+
\u013C: "l",
|
|
582
|
+
\u013E: "l",
|
|
583
|
+
\u0140: "l",
|
|
584
|
+
\u0142: "l",
|
|
585
|
+
\u0143: "N",
|
|
586
|
+
\u0145: "N",
|
|
587
|
+
\u0147: "N",
|
|
588
|
+
\u014A: "N",
|
|
589
|
+
\u0144: "n",
|
|
590
|
+
\u0146: "n",
|
|
591
|
+
\u0148: "n",
|
|
592
|
+
\u014B: "n",
|
|
593
|
+
\u014C: "O",
|
|
594
|
+
\u014E: "O",
|
|
595
|
+
\u0150: "O",
|
|
596
|
+
\u014D: "o",
|
|
597
|
+
\u014F: "o",
|
|
598
|
+
\u0151: "o",
|
|
599
|
+
\u0154: "R",
|
|
600
|
+
\u0156: "R",
|
|
601
|
+
\u0158: "R",
|
|
602
|
+
\u0155: "r",
|
|
603
|
+
\u0157: "r",
|
|
604
|
+
\u0159: "r",
|
|
605
|
+
\u015A: "S",
|
|
606
|
+
\u015C: "S",
|
|
607
|
+
\u015E: "S",
|
|
608
|
+
\u0160: "S",
|
|
609
|
+
\u015B: "s",
|
|
610
|
+
\u015D: "s",
|
|
611
|
+
\u015F: "s",
|
|
612
|
+
\u0161: "s",
|
|
613
|
+
\u0162: "T",
|
|
614
|
+
\u0164: "T",
|
|
615
|
+
\u0166: "T",
|
|
616
|
+
\u0163: "t",
|
|
617
|
+
\u0165: "t",
|
|
618
|
+
\u0167: "t",
|
|
619
|
+
\u0168: "U",
|
|
620
|
+
\u016A: "U",
|
|
621
|
+
\u016C: "U",
|
|
622
|
+
\u016E: "U",
|
|
623
|
+
\u0170: "U",
|
|
624
|
+
\u0172: "U",
|
|
625
|
+
\u0169: "u",
|
|
626
|
+
\u016B: "u",
|
|
627
|
+
\u016D: "u",
|
|
628
|
+
\u016F: "u",
|
|
629
|
+
\u0171: "u",
|
|
630
|
+
\u0173: "u",
|
|
631
|
+
\u0174: "W",
|
|
632
|
+
\u0175: "w",
|
|
633
|
+
\u0176: "Y",
|
|
634
|
+
\u0177: "y",
|
|
635
|
+
\u0178: "Y",
|
|
636
|
+
\u0179: "Z",
|
|
637
|
+
\u017B: "Z",
|
|
638
|
+
\u017D: "Z",
|
|
639
|
+
\u017A: "z",
|
|
640
|
+
\u017C: "z",
|
|
641
|
+
\u017E: "z",
|
|
642
|
+
\u0132: "IJ",
|
|
643
|
+
\u0133: "ij",
|
|
644
|
+
\u0152: "Oe",
|
|
645
|
+
\u0153: "oe",
|
|
646
|
+
\u0149: "'n",
|
|
647
|
+
\u017F: "s"
|
|
648
|
+
}), reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, reComboMark = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
|
|
649
|
+
function deburr(a) {
|
|
650
|
+
return a = toString_default(a), a && a.replace(reLatin, _deburrLetter_default).replace(reComboMark, "");
|
|
651
|
+
}
|
|
652
|
+
var deburr_default = deburr, reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
653
|
+
function asciiWords(a) {
|
|
654
|
+
return a.match(reAsciiWord) || [];
|
|
655
|
+
}
|
|
656
|
+
var _asciiWords_default = asciiWords, reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
657
|
+
function hasUnicodeWord(a) {
|
|
658
|
+
return reHasUnicodeWord.test(a);
|
|
659
|
+
}
|
|
660
|
+
var _hasUnicodeWord_default = hasUnicodeWord, rsAstralRange = "\\ud800-\\udfff", rsComboRange = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", rsDingbatRange = "\\u2700-\\u27bf", rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff", rsMathOpRange = "\\xac\\xb1\\xd7\\xf7", rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", rsPunctuationRange = "\\u2000-\\u206f", rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde", rsVarRange = "\\ufe0e\\ufe0f", rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange, rsApos = "['\u2019]", rsBreak = "[" + rsBreakRange + "]", rsCombo = "[" + rsComboRange + "]", rsDigits = "\\d+", rsDingbat = "[" + rsDingbatRange + "]", rsLower = "[" + rsLowerRange + "]", rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]", rsModifier = "(?:" + rsCombo + "|\\ud83c[\\udffb-\\udfff])", rsNonAstral = "[^" + rsAstralRange + "]", rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsUpper = "[" + rsUpperRange + "]", rsZWJ = "\\u200d", rsMiscLower = "(?:" + rsLower + "|" + rsMisc + ")", rsMiscUpper = "(?:" + rsUpper + "|" + rsMisc + ")", rsOptContrLower = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?", rsOptContrUpper = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?", reOptMod = rsModifier + "?", rsOptVar = "[" + rsVarRange + "]?", rsOptJoin = "(?:" + rsZWJ + "(?:" + [
|
|
661
|
+
rsNonAstral,
|
|
662
|
+
rsRegional,
|
|
663
|
+
rsSurrPair
|
|
664
|
+
].join("|") + ")" + rsOptVar + reOptMod + ")*", rsOrdLower = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", rsOrdUpper = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", rsSeq = rsOptVar + reOptMod + rsOptJoin, rsEmoji = "(?:" + [
|
|
665
|
+
rsDingbat,
|
|
666
|
+
rsRegional,
|
|
667
|
+
rsSurrPair
|
|
668
|
+
].join("|") + ")" + rsSeq, reUnicodeWord = RegExp([
|
|
669
|
+
rsUpper + "?" + rsLower + "+" + rsOptContrLower + "(?=" + [
|
|
670
|
+
rsBreak,
|
|
671
|
+
rsUpper,
|
|
672
|
+
"$"
|
|
673
|
+
].join("|") + ")",
|
|
674
|
+
rsMiscUpper + "+" + rsOptContrUpper + "(?=" + [
|
|
675
|
+
rsBreak,
|
|
676
|
+
rsUpper + rsMiscLower,
|
|
677
|
+
"$"
|
|
678
|
+
].join("|") + ")",
|
|
679
|
+
rsUpper + "?" + rsMiscLower + "+" + rsOptContrLower,
|
|
680
|
+
rsUpper + "+" + rsOptContrUpper,
|
|
681
|
+
rsOrdUpper,
|
|
682
|
+
rsOrdLower,
|
|
683
|
+
rsDigits,
|
|
684
|
+
rsEmoji
|
|
685
|
+
].join("|"), "g");
|
|
686
|
+
function unicodeWords(a) {
|
|
687
|
+
return a.match(reUnicodeWord) || [];
|
|
688
|
+
}
|
|
689
|
+
var _unicodeWords_default = unicodeWords;
|
|
690
|
+
function words(a, P, F) {
|
|
691
|
+
return a = toString_default(a), P = F ? void 0 : P, P === void 0 ? _hasUnicodeWord_default(a) ? _unicodeWords_default(a) : _asciiWords_default(a) : a.match(P) || [];
|
|
692
|
+
}
|
|
693
|
+
var words_default = words, reApos = RegExp("['\u2019]", "g");
|
|
694
|
+
function createCompounder(a) {
|
|
695
|
+
return function(P) {
|
|
696
|
+
return _arrayReduce_default(words_default(deburr_default(P).replace(reApos, "")), a, "");
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
var startCase_default = createCompounder(function(a, P, F) {
|
|
700
|
+
return a + (F ? " " : "") + upperFirst_default(P);
|
|
701
|
+
}), import_compiler_runtime$1 = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1);
|
|
702
|
+
function createReducer(a, P) {
|
|
703
|
+
return {
|
|
704
|
+
reducer: (F, I) => (F || (F = a()), I.type in P ? P[I.type](F, I.payload) : (Logger.error(`Action type ${I.type} is not defined in reducers.`), F)),
|
|
705
|
+
createActions: (a2) => {
|
|
706
|
+
let F = {};
|
|
707
|
+
for (let I in P) F[I] = (P2) => {
|
|
708
|
+
a2({
|
|
709
|
+
type: I,
|
|
710
|
+
payload: P2
|
|
711
|
+
});
|
|
712
|
+
};
|
|
713
|
+
return F;
|
|
714
|
+
}
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
function createReducerAndAtoms(a, P, F) {
|
|
718
|
+
let { reducer: I, createActions: L } = createReducer(a, P), R = (a2, P2) => {
|
|
719
|
+
try {
|
|
720
|
+
let L2 = I(a2, P2);
|
|
721
|
+
if (F) for (let I2 of F) try {
|
|
722
|
+
I2(a2, L2, P2);
|
|
723
|
+
} catch (a3) {
|
|
724
|
+
Logger.error(`Error in middleware for action ${P2.type}:`, a3);
|
|
725
|
+
}
|
|
726
|
+
return L2;
|
|
727
|
+
} catch (F2) {
|
|
728
|
+
return Logger.error(`Error in reducer for action ${P2.type}:`, F2), a2;
|
|
729
|
+
}
|
|
730
|
+
}, z = atom(a()), B = /* @__PURE__ */ new WeakMap();
|
|
731
|
+
function V() {
|
|
732
|
+
let a2 = (0, import_compiler_runtime$1.c)(2), P2 = useSetAtom(z);
|
|
733
|
+
B.has(P2) || B.set(P2, L((a3) => {
|
|
734
|
+
P2((P3) => R(P3, a3));
|
|
735
|
+
}));
|
|
736
|
+
let F2;
|
|
737
|
+
return a2[0] === P2 ? F2 = a2[1] : (F2 = B.get(P2), a2[0] = P2, a2[1] = F2), F2;
|
|
738
|
+
}
|
|
739
|
+
return {
|
|
740
|
+
reducer: R,
|
|
741
|
+
createActions: L,
|
|
742
|
+
valueAtom: z,
|
|
743
|
+
useActions: V
|
|
744
|
+
};
|
|
745
|
+
}
|
|
746
|
+
var import_compiler_runtime = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), badgeVariants = cva("inline-flex items-center border rounded-full px-2 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2", {
|
|
747
|
+
variants: { variant: {
|
|
748
|
+
default: "bg-primary hover:bg-primary/60 border-transparent text-primary-foreground",
|
|
749
|
+
defaultOutline: "bg-(--blue-2) border-(--blue-8) text-(--blue-11)",
|
|
750
|
+
secondary: "bg-secondary hover:bg-secondary/80 border-transparent text-secondary-foreground",
|
|
751
|
+
destructive: "bg-(--red-2) border-(--red-6) text-(--red-9) hover:bg-(--red-3)",
|
|
752
|
+
success: "bg-(--grass-2) border-(--grass-5) text-(--grass-9) hover:bg-(--grass-3)",
|
|
753
|
+
outline: "text-foreground"
|
|
754
|
+
} },
|
|
755
|
+
defaultVariants: { variant: "default" }
|
|
756
|
+
}), Badge = (a) => {
|
|
757
|
+
let P = (0, import_compiler_runtime.c)(10), F, I, L;
|
|
758
|
+
P[0] === a ? (F = P[1], I = P[2], L = P[3]) : ({ className: F, variant: L, ...I } = a, P[0] = a, P[1] = F, P[2] = I, P[3] = L);
|
|
759
|
+
let R;
|
|
760
|
+
P[4] !== F || P[5] !== L ? (R = cn(badgeVariants({ variant: L }), F), P[4] = F, P[5] = L, P[6] = R) : R = P[6];
|
|
761
|
+
let z;
|
|
762
|
+
return P[7] !== I || P[8] !== R ? (z = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
763
|
+
className: R,
|
|
764
|
+
...I
|
|
765
|
+
}), P[7] = I, P[8] = R, P[9] = z) : z = P[9], z;
|
|
766
|
+
};
|
|
767
|
+
function escapeFieldName(a) {
|
|
768
|
+
return a && a.replaceAll(".", "\\.").replaceAll("[", "\\[").replaceAll("]", "\\]").replaceAll(":", "\\:");
|
|
769
|
+
}
|
|
770
|
+
const COUNT_FIELD = "__count__", DEFAULT_COLOR_SCHEME = "default", DEFAULT_TIME_UNIT = "yearmonthdate", DEFAULT_MAX_BINS_FACET = 6, EMPTY_VALUE = "", CHART_TYPE_ICON = {
|
|
771
|
+
line: ChartLine,
|
|
772
|
+
bar: ChartNoAxesColumnIncreasing,
|
|
773
|
+
pie: ChartPie,
|
|
774
|
+
scatter: ChartScatter,
|
|
775
|
+
heatmap: Table,
|
|
776
|
+
area: ChartArea
|
|
777
|
+
}, DEFAULT_AGGREGATION = "mean", AGGREGATION_TYPE_ICON = {
|
|
778
|
+
none: SquareFunction,
|
|
779
|
+
count: Hash,
|
|
780
|
+
sum: Sigma,
|
|
781
|
+
mean: Baseline,
|
|
782
|
+
median: AlignCenterVertical,
|
|
783
|
+
min: ArrowDownToLine,
|
|
784
|
+
max: ArrowUpToLine,
|
|
785
|
+
distinct: Hash,
|
|
786
|
+
valid: Hash,
|
|
787
|
+
stdev: ChartNoAxesColumn,
|
|
788
|
+
stdevp: ChartNoAxesColumn,
|
|
789
|
+
variance: ChartColumn,
|
|
790
|
+
variancep: ChartColumn,
|
|
791
|
+
bin: RulerDimensionLine
|
|
792
|
+
}, AGGREGATION_TYPE_DESCRIPTIONS = {
|
|
793
|
+
none: "No aggregation",
|
|
794
|
+
count: "Count of records",
|
|
795
|
+
sum: "Sum of values",
|
|
796
|
+
mean: "Mean of values",
|
|
797
|
+
median: "Median of values",
|
|
798
|
+
min: "Minimum value",
|
|
799
|
+
max: "Maximum value",
|
|
800
|
+
distinct: "Count of distinct records",
|
|
801
|
+
valid: "Count non-null records",
|
|
802
|
+
stdev: "Standard deviation",
|
|
803
|
+
stdevp: "Standard deviation of population",
|
|
804
|
+
variance: "Variance",
|
|
805
|
+
variancep: "Variance of population",
|
|
806
|
+
bin: "Group values into bins"
|
|
807
|
+
}, COLOR_SCHEMES = [
|
|
808
|
+
DEFAULT_COLOR_SCHEME,
|
|
809
|
+
"accent",
|
|
810
|
+
"category10",
|
|
811
|
+
"category20",
|
|
812
|
+
"category20b",
|
|
813
|
+
"category20c",
|
|
814
|
+
"dark2",
|
|
815
|
+
"paired",
|
|
816
|
+
"pastel1",
|
|
817
|
+
"pastel2",
|
|
818
|
+
"set1",
|
|
819
|
+
"set2",
|
|
820
|
+
"set3",
|
|
821
|
+
"tableau10",
|
|
822
|
+
"tableau20",
|
|
823
|
+
"blues",
|
|
824
|
+
"greens",
|
|
825
|
+
"greys",
|
|
826
|
+
"oranges",
|
|
827
|
+
"purples",
|
|
828
|
+
"reds",
|
|
829
|
+
"bluegreen",
|
|
830
|
+
"bluepurple",
|
|
831
|
+
"goldgreen",
|
|
832
|
+
"goldorange",
|
|
833
|
+
"goldred",
|
|
834
|
+
"greenblue",
|
|
835
|
+
"orangered",
|
|
836
|
+
"purplebluegreen",
|
|
837
|
+
"purplered",
|
|
838
|
+
"redpurple",
|
|
839
|
+
"yellowgreenblue",
|
|
840
|
+
"yelloworangered",
|
|
841
|
+
"blueorange",
|
|
842
|
+
"brownbluegreen",
|
|
843
|
+
"purplegreen",
|
|
844
|
+
"pinkyellowgreen",
|
|
845
|
+
"purpleorange",
|
|
846
|
+
"redblue",
|
|
847
|
+
"redgrey",
|
|
848
|
+
"redyellowblue",
|
|
849
|
+
"redyellowgreen",
|
|
850
|
+
"spectral",
|
|
851
|
+
"rainbow",
|
|
852
|
+
"sinebow"
|
|
853
|
+
], SCALE_TYPE_DESCRIPTIONS = {
|
|
854
|
+
number: "Continuous numerical scale",
|
|
855
|
+
string: "Discrete categorical scale (inputs treated as strings)",
|
|
856
|
+
temporal: "Continuous temporal scale"
|
|
857
|
+
}, TIME_UNIT_DESCRIPTIONS = {
|
|
858
|
+
year: ["Year", "2025"],
|
|
859
|
+
quarter: ["Quarter", "Q1 2025"],
|
|
860
|
+
month: ["Month", "Jan 2025"],
|
|
861
|
+
week: ["Week", "Jan 01, 2025"],
|
|
862
|
+
day: ["Day", "Jan 01, 2025"],
|
|
863
|
+
hours: ["Hour", "Jan 01, 2025 12:00"],
|
|
864
|
+
minutes: ["Minute", "Jan 01, 2025 12:34"],
|
|
865
|
+
seconds: ["Second", "Jan 01, 2025 12:34:56"],
|
|
866
|
+
milliseconds: ["Millisecond", "Jan 01, 2025 12:34:56.789"],
|
|
867
|
+
date: ["Date", "Jan 01, 2025"],
|
|
868
|
+
dayofyear: ["Day of Year", "Day 1 of 2025"],
|
|
869
|
+
yearmonth: ["Year Month", "Jan 2025"],
|
|
870
|
+
yearmonthdate: ["Year Month Date", "Jan 01, 2025"],
|
|
871
|
+
monthdate: ["Month Date", "Jan 01"]
|
|
872
|
+
}, SELECTABLE_DATA_TYPES = [
|
|
873
|
+
"number",
|
|
874
|
+
"string",
|
|
875
|
+
"temporal"
|
|
876
|
+
], SINGLE_TIME_UNITS = [
|
|
877
|
+
"year",
|
|
878
|
+
"quarter",
|
|
879
|
+
"month",
|
|
880
|
+
"date",
|
|
881
|
+
"week",
|
|
882
|
+
"day",
|
|
883
|
+
"dayofyear",
|
|
884
|
+
"hours",
|
|
885
|
+
"minutes",
|
|
886
|
+
"seconds",
|
|
887
|
+
"milliseconds"
|
|
888
|
+
], COMBINED_TIME_UNITS = [
|
|
889
|
+
"yearmonth",
|
|
890
|
+
"yearmonthdate",
|
|
891
|
+
"monthdate"
|
|
892
|
+
], TIME_UNITS = [...SINGLE_TIME_UNITS, ...COMBINED_TIME_UNITS];
|
|
893
|
+
[...TIME_UNITS];
|
|
894
|
+
const SORT_TYPES = ["ascending", "descending"], NONE_VALUE = "none", BIN_AGGREGATION = "bin", AGGREGATION_FNS = [
|
|
895
|
+
NONE_VALUE,
|
|
896
|
+
"bin",
|
|
897
|
+
...[
|
|
898
|
+
"count",
|
|
899
|
+
"sum",
|
|
900
|
+
"mean",
|
|
901
|
+
"median",
|
|
902
|
+
"min",
|
|
903
|
+
"max",
|
|
904
|
+
"distinct",
|
|
905
|
+
"valid",
|
|
906
|
+
"stdev",
|
|
907
|
+
"stdevp",
|
|
908
|
+
"variance",
|
|
909
|
+
"variancep"
|
|
910
|
+
]
|
|
911
|
+
], STRING_AGGREGATION_FNS = [
|
|
912
|
+
NONE_VALUE,
|
|
913
|
+
"count",
|
|
914
|
+
"distinct",
|
|
915
|
+
"valid"
|
|
916
|
+
], ChartType = {
|
|
917
|
+
LINE: "line",
|
|
918
|
+
BAR: "bar",
|
|
919
|
+
PIE: "pie",
|
|
920
|
+
SCATTER: "scatter",
|
|
921
|
+
HEATMAP: "heatmap",
|
|
922
|
+
AREA: "area"
|
|
923
|
+
}, CHART_TYPES = Object.values(ChartType), COLOR_BY_FIELDS = [
|
|
924
|
+
"X",
|
|
925
|
+
"Y",
|
|
926
|
+
"Color",
|
|
927
|
+
NONE_VALUE
|
|
928
|
+
];
|
|
929
|
+
function convertDataTypeToVega(a) {
|
|
930
|
+
switch (a) {
|
|
931
|
+
case "number":
|
|
932
|
+
case "integer":
|
|
933
|
+
return "quantitative";
|
|
934
|
+
case "string":
|
|
935
|
+
case "boolean":
|
|
936
|
+
case "unknown":
|
|
937
|
+
return "nominal";
|
|
938
|
+
case "date":
|
|
939
|
+
case "datetime":
|
|
940
|
+
case "time":
|
|
941
|
+
case "temporal":
|
|
942
|
+
return "temporal";
|
|
943
|
+
default:
|
|
944
|
+
return logNever(a), "nominal";
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
function convertDataTypeToSelectable(a) {
|
|
948
|
+
switch (a) {
|
|
949
|
+
case "number":
|
|
950
|
+
case "integer":
|
|
951
|
+
return "number";
|
|
952
|
+
case "string":
|
|
953
|
+
case "boolean":
|
|
954
|
+
case "unknown":
|
|
955
|
+
return "string";
|
|
956
|
+
case "date":
|
|
957
|
+
case "datetime":
|
|
958
|
+
case "time":
|
|
959
|
+
return "temporal";
|
|
960
|
+
default:
|
|
961
|
+
return logNever(a), "string";
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
function convertChartTypeToMark(a) {
|
|
965
|
+
switch (a) {
|
|
966
|
+
case ChartType.PIE:
|
|
967
|
+
return "arc";
|
|
968
|
+
case ChartType.SCATTER:
|
|
969
|
+
return "point";
|
|
970
|
+
case ChartType.HEATMAP:
|
|
971
|
+
return "rect";
|
|
972
|
+
default:
|
|
973
|
+
return a;
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
function getBinEncoding(a, P, F, I) {
|
|
977
|
+
if (a === ChartType.HEATMAP) return (F == null ? void 0 : F.maxbins) ? { maxbins: F == null ? void 0 : F.maxbins } : void 0;
|
|
978
|
+
if (P !== "number") return;
|
|
979
|
+
if (!(F == null ? void 0 : F.binned)) return I;
|
|
980
|
+
let L = {};
|
|
981
|
+
return F.step !== void 0 && (L.step = F.step), F.maxbins !== void 0 && (L.maxbins = F.maxbins), Object.keys(L).length === 0 ? true : L;
|
|
982
|
+
}
|
|
983
|
+
function getColorInScale(a) {
|
|
984
|
+
var _a, _b;
|
|
985
|
+
let P = (_a = a.color) == null ? void 0 : _a.range;
|
|
986
|
+
if (P == null ? void 0 : P.length) return { range: P };
|
|
987
|
+
let F = (_b = a.color) == null ? void 0 : _b.scheme;
|
|
988
|
+
if (F && F !== "default") return { scheme: F };
|
|
989
|
+
}
|
|
990
|
+
function getColorEncoding(a, P) {
|
|
991
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
992
|
+
if (a === ChartType.PIE) return;
|
|
993
|
+
let F;
|
|
994
|
+
if (isFieldSet((_b = (_a = P.general) == null ? void 0 : _a.colorByColumn) == null ? void 0 : _b.field)) F = (_c = P.general) == null ? void 0 : _c.colorByColumn;
|
|
995
|
+
else if (isFieldSet((_d = P.color) == null ? void 0 : _d.field)) switch ((_e = P.color) == null ? void 0 : _e.field) {
|
|
996
|
+
case "X":
|
|
997
|
+
F = (_f = P.general) == null ? void 0 : _f.xColumn;
|
|
998
|
+
break;
|
|
999
|
+
case "Y":
|
|
1000
|
+
F = (_g = P.general) == null ? void 0 : _g.yColumn;
|
|
1001
|
+
break;
|
|
1002
|
+
case "Color":
|
|
1003
|
+
F = (_h = P.general) == null ? void 0 : _h.colorByColumn;
|
|
1004
|
+
break;
|
|
1005
|
+
default:
|
|
1006
|
+
return;
|
|
1007
|
+
}
|
|
1008
|
+
else return;
|
|
1009
|
+
if (!F || !isFieldSet(F.field) || F.field === "none") return;
|
|
1010
|
+
if (F.field === "__count__") return {
|
|
1011
|
+
aggregate: "count",
|
|
1012
|
+
type: "quantitative"
|
|
1013
|
+
};
|
|
1014
|
+
let I = (_i = P.color) == null ? void 0 : _i.bin, L = F.selectedDataType || "string", R = F == null ? void 0 : F.aggregate;
|
|
1015
|
+
return {
|
|
1016
|
+
field: escapeFieldName(F.field),
|
|
1017
|
+
type: convertDataTypeToVega(L),
|
|
1018
|
+
scale: getColorInScale(P),
|
|
1019
|
+
aggregate: getAggregate(R, L),
|
|
1020
|
+
bin: getBinEncoding(a, L, I)
|
|
1021
|
+
};
|
|
1022
|
+
}
|
|
1023
|
+
function getOffsetEncoding(a, P) {
|
|
1024
|
+
var _a, _b, _c, _d, _e;
|
|
1025
|
+
if (!(((_a = P.general) == null ? void 0 : _a.stacking) || !isFieldSet((_c = (_b = P.general) == null ? void 0 : _b.colorByColumn) == null ? void 0 : _c.field) || a !== ChartType.BAR)) return { field: escapeFieldName((_e = (_d = P.general) == null ? void 0 : _d.colorByColumn) == null ? void 0 : _e.field) };
|
|
1026
|
+
}
|
|
1027
|
+
function getAggregate(a, P, F) {
|
|
1028
|
+
if (P !== "temporal" && !(a === "none" || a === "bin")) return a ? P === "string" ? STRING_AGGREGATION_FNS.includes(a) ? a : void 0 : a : F || void 0;
|
|
1029
|
+
}
|
|
1030
|
+
function getTooltipFormat(a) {
|
|
1031
|
+
switch (a) {
|
|
1032
|
+
case "integer":
|
|
1033
|
+
return ",.0f";
|
|
1034
|
+
case "number":
|
|
1035
|
+
return ",.2f";
|
|
1036
|
+
default:
|
|
1037
|
+
return;
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
function getTooltips(a) {
|
|
1041
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
1042
|
+
let { formValues: P, xEncoding: F, yEncoding: I, colorByEncoding: L } = a;
|
|
1043
|
+
if (!P.tooltips) return;
|
|
1044
|
+
function R(a2, P2, F2) {
|
|
1045
|
+
if ("aggregate" in a2 && a2.aggregate === "count" && !isFieldSet(a2.field)) return { aggregate: "count" };
|
|
1046
|
+
if (a2 && "field" in a2 && isFieldSet(a2.field)) return a2.timeUnit && !F2 && (F2 = a2.field), {
|
|
1047
|
+
field: a2.field,
|
|
1048
|
+
aggregate: a2.aggregate,
|
|
1049
|
+
timeUnit: a2.timeUnit,
|
|
1050
|
+
format: getTooltipFormat(P2),
|
|
1051
|
+
title: F2,
|
|
1052
|
+
bin: a2.bin
|
|
1053
|
+
};
|
|
1054
|
+
}
|
|
1055
|
+
if (P.tooltips.auto) {
|
|
1056
|
+
let a2 = [], z2 = R(F, ((_b = (_a = P.general) == null ? void 0 : _a.xColumn) == null ? void 0 : _b.type) || "string", (_c = P.xAxis) == null ? void 0 : _c.label);
|
|
1057
|
+
z2 && a2.push(z2);
|
|
1058
|
+
let B2 = R(I, ((_e = (_d = P.general) == null ? void 0 : _d.yColumn) == null ? void 0 : _e.type) || "string", (_f = P.yAxis) == null ? void 0 : _f.label);
|
|
1059
|
+
B2 && a2.push(B2);
|
|
1060
|
+
let V = R(L || {}, ((_h = (_g = P.general) == null ? void 0 : _g.colorByColumn) == null ? void 0 : _h.type) || "string");
|
|
1061
|
+
return V && a2.push(V), a2;
|
|
1062
|
+
}
|
|
1063
|
+
let z = P.tooltips.fields ?? [], B = [];
|
|
1064
|
+
for (let a2 of z) {
|
|
1065
|
+
if ("field" in F && isFieldSet(F.field) && F.field === a2.field) {
|
|
1066
|
+
let a3 = R(F, ((_j = (_i = P.general) == null ? void 0 : _i.xColumn) == null ? void 0 : _j.type) || "string", (_k = P.xAxis) == null ? void 0 : _k.label);
|
|
1067
|
+
a3 && B.push(a3);
|
|
1068
|
+
continue;
|
|
1069
|
+
}
|
|
1070
|
+
if ("field" in I && isFieldSet(I.field) && I.field === a2.field) {
|
|
1071
|
+
let a3 = R(I, ((_m = (_l = P.general) == null ? void 0 : _l.yColumn) == null ? void 0 : _m.type) || "string", (_n = P.yAxis) == null ? void 0 : _n.label);
|
|
1072
|
+
a3 && B.push(a3);
|
|
1073
|
+
continue;
|
|
1074
|
+
}
|
|
1075
|
+
if (L && "field" in L && isFieldSet(L.field) && L.field === a2.field) {
|
|
1076
|
+
let a3 = R(L, ((_p = (_o = P.general) == null ? void 0 : _o.colorByColumn) == null ? void 0 : _p.type) || "string");
|
|
1077
|
+
a3 && B.push(a3);
|
|
1078
|
+
continue;
|
|
1079
|
+
}
|
|
1080
|
+
let z2 = { field: escapeFieldName(a2.field) };
|
|
1081
|
+
B.push(z2);
|
|
1082
|
+
}
|
|
1083
|
+
return B;
|
|
1084
|
+
}
|
|
1085
|
+
function createSpecWithoutData(a, P, F, I, L) {
|
|
1086
|
+
var _a, _b, _c, _d;
|
|
1087
|
+
let { xColumn: R, yColumn: z, colorByColumn: B, horizontal: V, stacking: H, title: U, facet: W } = P.general ?? {};
|
|
1088
|
+
if (a === ChartType.PIE) return getPieChartSpec(P, F, I, L);
|
|
1089
|
+
if (!isFieldSet(R == null ? void 0 : R.field)) return "X-axis column is required";
|
|
1090
|
+
if (!isFieldSet(z == null ? void 0 : z.field)) return "Y-axis column is required";
|
|
1091
|
+
let G = getAxisEncoding(R, (_a = P.xAxis) == null ? void 0 : _a.bin, getFieldLabel((_b = P.xAxis) == null ? void 0 : _b.label), (B == null ? void 0 : B.field) && V ? H : void 0, a), K = DEFAULT_AGGREGATION;
|
|
1092
|
+
(z == null ? void 0 : z.selectedDataType) === "string" && (K = "count");
|
|
1093
|
+
let q = getAxisEncoding(z, (_c = P.yAxis) == null ? void 0 : _c.bin, getFieldLabel((_d = P.yAxis) == null ? void 0 : _d.label), (B == null ? void 0 : B.field) && !V ? H : void 0, a, K), J = (W == null ? void 0 : W.row.field) ? getFacetEncoding(W.row, a) : void 0, Y = (W == null ? void 0 : W.column.field) ? getFacetEncoding(W.column, a) : void 0, X = getColorEncoding(a, P), Z = getBaseSpec(a, P, F, I, L, U), Q = {
|
|
1094
|
+
x: V ? q : G,
|
|
1095
|
+
y: V ? G : q,
|
|
1096
|
+
xOffset: getOffsetEncoding(a, P),
|
|
1097
|
+
color: X,
|
|
1098
|
+
tooltip: getTooltips({
|
|
1099
|
+
formValues: P,
|
|
1100
|
+
xEncoding: G,
|
|
1101
|
+
yEncoding: q,
|
|
1102
|
+
colorByEncoding: X
|
|
1103
|
+
}),
|
|
1104
|
+
...J && { row: J },
|
|
1105
|
+
...Y && { column: Y }
|
|
1106
|
+
}, $ = getResolve(W == null ? void 0 : W.column, W == null ? void 0 : W.row);
|
|
1107
|
+
return {
|
|
1108
|
+
...Z,
|
|
1109
|
+
mark: { type: convertChartTypeToMark(a) },
|
|
1110
|
+
encoding: Q,
|
|
1111
|
+
...$
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
function augmentSpecWithData(a, P) {
|
|
1115
|
+
return {
|
|
1116
|
+
...a,
|
|
1117
|
+
data: { values: P }
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
function getAxisEncoding(a, P, F, I, L, R) {
|
|
1121
|
+
let z = a.selectedDataType || "string";
|
|
1122
|
+
return a.field === "__count__" ? {
|
|
1123
|
+
aggregate: "count",
|
|
1124
|
+
type: "quantitative",
|
|
1125
|
+
bin: getBinEncoding(L, z, P),
|
|
1126
|
+
title: F === "__count__" ? void 0 : F,
|
|
1127
|
+
stack: I
|
|
1128
|
+
} : {
|
|
1129
|
+
field: escapeFieldName(a.field),
|
|
1130
|
+
type: convertDataTypeToVega(a.selectedDataType || "unknown"),
|
|
1131
|
+
bin: getBinEncoding(L, z, P),
|
|
1132
|
+
title: F,
|
|
1133
|
+
stack: I,
|
|
1134
|
+
aggregate: getAggregate(a.aggregate, z, R),
|
|
1135
|
+
sort: a.sort,
|
|
1136
|
+
timeUnit: getTimeUnit(a)
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
function getFacetEncoding(a, P) {
|
|
1140
|
+
let F = getBinEncoding(P, a.selectedDataType || "string", {
|
|
1141
|
+
maxbins: a.maxbins,
|
|
1142
|
+
binned: a.binned
|
|
1143
|
+
}, { maxbins: 6 });
|
|
1144
|
+
return {
|
|
1145
|
+
field: escapeFieldName(a.field),
|
|
1146
|
+
sort: a.sort,
|
|
1147
|
+
timeUnit: getFacetTimeUnit(a),
|
|
1148
|
+
type: convertDataTypeToVega(a.selectedDataType || "unknown"),
|
|
1149
|
+
bin: F
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
function getPieChartSpec(a, P, F, I) {
|
|
1153
|
+
var _a, _b, _c, _d;
|
|
1154
|
+
let { yColumn: L, colorByColumn: R, title: z } = a.general ?? {};
|
|
1155
|
+
if (!isFieldSet(R == null ? void 0 : R.field)) return "Color by column is required";
|
|
1156
|
+
if (!isFieldSet(L == null ? void 0 : L.field)) return "Size by column is required";
|
|
1157
|
+
let B = getAxisEncoding(L, (_a = a.xAxis) == null ? void 0 : _a.bin, getFieldLabel((_b = a.xAxis) == null ? void 0 : _b.label), void 0, ChartType.PIE), V = {
|
|
1158
|
+
field: escapeFieldName(R.field),
|
|
1159
|
+
type: convertDataTypeToVega(R.selectedDataType || "unknown"),
|
|
1160
|
+
scale: getColorInScale(a),
|
|
1161
|
+
title: getFieldLabel((_c = a.yAxis) == null ? void 0 : _c.label)
|
|
1162
|
+
};
|
|
1163
|
+
return {
|
|
1164
|
+
...getBaseSpec(ChartType.PIE, a, P, F, I, z),
|
|
1165
|
+
mark: {
|
|
1166
|
+
type: convertChartTypeToMark(ChartType.PIE),
|
|
1167
|
+
innerRadius: (_d = a.style) == null ? void 0 : _d.innerRadius
|
|
1168
|
+
},
|
|
1169
|
+
encoding: {
|
|
1170
|
+
theta: B,
|
|
1171
|
+
color: V,
|
|
1172
|
+
tooltip: getTooltips({
|
|
1173
|
+
formValues: a,
|
|
1174
|
+
xEncoding: B,
|
|
1175
|
+
yEncoding: B,
|
|
1176
|
+
colorByEncoding: V
|
|
1177
|
+
})
|
|
1178
|
+
}
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
function getBaseSpec(a, P, F, I, L, R) {
|
|
1182
|
+
var _a, _b, _c;
|
|
1183
|
+
let z = ((_a = P.style) == null ? void 0 : _a.gridLines) ?? false;
|
|
1184
|
+
return a === ChartType.SCATTER && (z = true), {
|
|
1185
|
+
$schema: "https://vega.github.io/schema/vega-lite/v6.json",
|
|
1186
|
+
background: F === "dark" ? "dark" : "white",
|
|
1187
|
+
title: R,
|
|
1188
|
+
data: { values: [] },
|
|
1189
|
+
height: ((_b = P.yAxis) == null ? void 0 : _b.height) ?? L,
|
|
1190
|
+
width: ((_c = P.xAxis) == null ? void 0 : _c.width) ?? I,
|
|
1191
|
+
config: { axis: { grid: z } }
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
function isFieldSet(a) {
|
|
1195
|
+
return a !== void 0 && a.trim() !== "";
|
|
1196
|
+
}
|
|
1197
|
+
function getFieldLabel(a) {
|
|
1198
|
+
let P = a == null ? void 0 : a.trim();
|
|
1199
|
+
return P === "" ? void 0 : P;
|
|
1200
|
+
}
|
|
1201
|
+
function getTimeUnit(a) {
|
|
1202
|
+
if (a.selectedDataType === "temporal") return a.timeUnit ?? "yearmonthdate";
|
|
1203
|
+
}
|
|
1204
|
+
function getFacetTimeUnit(a) {
|
|
1205
|
+
if (a.selectedDataType === "temporal") return a.timeUnit ?? "yearmonthdate";
|
|
1206
|
+
}
|
|
1207
|
+
function getResolve(a, P) {
|
|
1208
|
+
let F = {};
|
|
1209
|
+
return (a == null ? void 0 : a.linkXAxis) === false && (F.x = "independent"), (P == null ? void 0 : P.linkYAxis) === false && (F.y = "independent"), Object.keys(F).length > 0 ? { resolve: { axis: F } } : void 0;
|
|
1210
|
+
}
|
|
1211
|
+
export {
|
|
1212
|
+
Badge as A,
|
|
1213
|
+
ListFilter as B,
|
|
1214
|
+
DEFAULT_COLOR_SCHEME as C,
|
|
1215
|
+
SCALE_TYPE_DESCRIPTIONS as D,
|
|
1216
|
+
EMPTY_VALUE as E,
|
|
1217
|
+
$5a387cc49350e6db$export$722debc0e56fea39 as F,
|
|
1218
|
+
ChartPie as H,
|
|
1219
|
+
Type as I,
|
|
1220
|
+
ToggleLeft as L,
|
|
1221
|
+
startCase_default as M,
|
|
1222
|
+
$896ba0a80a8f4d36$export$85fd5fdf27bacc79 as N,
|
|
1223
|
+
TIME_UNIT_DESCRIPTIONS as O,
|
|
1224
|
+
$fb18d541ea1ad717$export$ad991b66133851cf as P,
|
|
1225
|
+
Table as R,
|
|
1226
|
+
DEFAULT_AGGREGATION as S,
|
|
1227
|
+
DEFAULT_TIME_UNIT as T,
|
|
1228
|
+
ChartColumn as U,
|
|
1229
|
+
Hash as V,
|
|
1230
|
+
Calendar as W,
|
|
1231
|
+
AGGREGATION_TYPE_DESCRIPTIONS as _,
|
|
1232
|
+
AGGREGATION_FNS as a,
|
|
1233
|
+
COLOR_SCHEMES as b,
|
|
1234
|
+
COLOR_BY_FIELDS as c,
|
|
1235
|
+
NONE_VALUE as d,
|
|
1236
|
+
SELECTABLE_DATA_TYPES as f,
|
|
1237
|
+
TIME_UNITS as g,
|
|
1238
|
+
STRING_AGGREGATION_FNS as h,
|
|
1239
|
+
convertDataTypeToSelectable as i,
|
|
1240
|
+
createReducerAndAtoms as j,
|
|
1241
|
+
escapeFieldName as k,
|
|
1242
|
+
COMBINED_TIME_UNITS as l,
|
|
1243
|
+
SORT_TYPES as m,
|
|
1244
|
+
createSpecWithoutData as n,
|
|
1245
|
+
BIN_AGGREGATION as o,
|
|
1246
|
+
SINGLE_TIME_UNITS as p,
|
|
1247
|
+
isFieldSet as r,
|
|
1248
|
+
CHART_TYPES as s,
|
|
1249
|
+
augmentSpecWithData as t,
|
|
1250
|
+
ChartType as u,
|
|
1251
|
+
AGGREGATION_TYPE_ICON as v,
|
|
1252
|
+
DEFAULT_MAX_BINS_FACET as w,
|
|
1253
|
+
COUNT_FIELD as x,
|
|
1254
|
+
CHART_TYPE_ICON as y,
|
|
1255
|
+
SquareFunction as z
|
|
1256
|
+
};
|