boardplot 0.0.0-stage → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/LICENSE +201 -0
- package/NOTICE.md +180 -0
- package/README.md +208 -2
- package/THIRD_PARTY_NOTICES.md +1110 -0
- package/dist/DiagnosticDetails-UNYNYCAH.js +69 -0
- package/dist/ReaderBox-VOJSJ66R.js +137 -0
- package/dist/annotateEngine-DLMFJZ67.js +30 -0
- package/dist/build-identity.json +6 -0
- package/dist/chunk-24BHMKDD.js +83 -0
- package/dist/chunk-263SZKIL.js +8 -0
- package/dist/chunk-27QADBDV.js +211 -0
- package/dist/chunk-2CVH5E57.js +128 -0
- package/dist/chunk-2DOR5SS6.js +446 -0
- package/dist/chunk-2EQE4E3I.js +22 -0
- package/dist/chunk-2FNNAPCI.js +24 -0
- package/dist/chunk-2L2Q53EP.js +251 -0
- package/dist/chunk-2LMCD3ZR.js +6 -0
- package/dist/chunk-2ND7ZITT.js +3069 -0
- package/dist/chunk-2QT5ZUHO.js +2937 -0
- package/dist/chunk-2RSG7JYI.js +24 -0
- package/dist/chunk-2V6CLH33.js +1392 -0
- package/dist/chunk-2VWJ5BGO.js +566 -0
- package/dist/chunk-2WNYRWHG.js +51 -0
- package/dist/chunk-323YZWYJ.js +548 -0
- package/dist/chunk-33PB4V6K.js +382 -0
- package/dist/chunk-33PLBIMA.js +176 -0
- package/dist/chunk-3A2IEBCN.js +195 -0
- package/dist/chunk-3D3D3D23.js +25 -0
- package/dist/chunk-3EZRM4YM.js +92 -0
- package/dist/chunk-3H2W76TB.js +2353 -0
- package/dist/chunk-3JEQGGVD.js +19 -0
- package/dist/chunk-3QWZAEW5.js +26 -0
- package/dist/chunk-3SIRPKMP.js +12 -0
- package/dist/chunk-3SQCCESO.js +1592 -0
- package/dist/chunk-3XHJHQWU.js +42 -0
- package/dist/chunk-4G2O2ZPJ.js +83 -0
- package/dist/chunk-4JLBVIGW.js +24 -0
- package/dist/chunk-4RRNJLCM.js +746 -0
- package/dist/chunk-4UVW5WU6.js +76 -0
- package/dist/chunk-4X66BTP5.js +344 -0
- package/dist/chunk-53OYF4ZT.js +687 -0
- package/dist/chunk-57ZGVAU3.js +179 -0
- package/dist/chunk-5HECRVXJ.js +62 -0
- package/dist/chunk-5LGSRWFC.js +63 -0
- package/dist/chunk-5LYXD6ME.js +1112 -0
- package/dist/chunk-66RFKRGO.js +28 -0
- package/dist/chunk-6KWIQ5KF.js +18 -0
- package/dist/chunk-6OCR6ITN.js +72 -0
- package/dist/chunk-6RBTTCQD.js +802 -0
- package/dist/chunk-6Y7EXYLR.js +563 -0
- package/dist/chunk-7CTKTIPF.js +613 -0
- package/dist/chunk-7EVIIADO.js +185 -0
- package/dist/chunk-7X2ZYVAX.js +89 -0
- package/dist/chunk-7X65ZQN4.js +38 -0
- package/dist/chunk-A4QZXLXF.js +7 -0
- package/dist/chunk-A6CQPJWR.js +49 -0
- package/dist/chunk-A7IEVBYI.js +35 -0
- package/dist/chunk-ACXX2JNL.js +6 -0
- package/dist/chunk-ADKCLH3Z.js +98 -0
- package/dist/chunk-ADWSGPH5.js +23 -0
- package/dist/chunk-AG2CJ4JY.js +203 -0
- package/dist/chunk-AHQ4L3BE.js +30 -0
- package/dist/chunk-AOQ6VF5H.js +6 -0
- package/dist/chunk-AQROQDLR.js +3303 -0
- package/dist/chunk-AWTG3RFF.js +85 -0
- package/dist/chunk-B54RN2FD.js +692 -0
- package/dist/chunk-B67K6OWJ.js +48 -0
- package/dist/chunk-B6GFKYBZ.js +40 -0
- package/dist/chunk-BBL3R5YZ.js +186 -0
- package/dist/chunk-BBRBCMNR.js +28 -0
- package/dist/chunk-BIDIGDGH.js +6 -0
- package/dist/chunk-BLFWUMTD.js +12 -0
- package/dist/chunk-BM6SFFWF.js +6 -0
- package/dist/chunk-BMRD6MAH.js +24 -0
- package/dist/chunk-BPKXEMRE.js +197 -0
- package/dist/chunk-BUPLB3EX.js +129 -0
- package/dist/chunk-BW5VLBSZ.js +15 -0
- package/dist/chunk-BWGRWGVA.js +295 -0
- package/dist/chunk-BWLOXQDV.js +131 -0
- package/dist/chunk-BWTX7LUG.js +203 -0
- package/dist/chunk-C54QLNE4.js +69 -0
- package/dist/chunk-CAQ5P4VN.js +296 -0
- package/dist/chunk-CCCEBIUZ.js +296 -0
- package/dist/chunk-CDZHNLO6.js +42 -0
- package/dist/chunk-CJGSJKPO.js +25 -0
- package/dist/chunk-CN7JRHST.js +25 -0
- package/dist/chunk-CNX7EGSU.js +266 -0
- package/dist/chunk-COYOTQC2.js +75 -0
- package/dist/chunk-CRNMNZJD.js +1161 -0
- package/dist/chunk-CUVUDK4O.js +68 -0
- package/dist/chunk-CWDHCSL2.js +2919 -0
- package/dist/chunk-CYOJZ3GQ.js +631 -0
- package/dist/chunk-D4SOADBD.js +19 -0
- package/dist/chunk-D7SHZDA3.js +1808 -0
- package/dist/chunk-DAVHGK27.js +657 -0
- package/dist/chunk-DCCJRLAJ.js +422 -0
- package/dist/chunk-DCTCUZ5L.js +51 -0
- package/dist/chunk-DDCB7ZA5.js +2511 -0
- package/dist/chunk-DDI2W4TR.js +149 -0
- package/dist/chunk-DIHUGBZO.js +61 -0
- package/dist/chunk-DJHIQWSG.js +25 -0
- package/dist/chunk-DO5OZJAO.js +302 -0
- package/dist/chunk-DOFYKPTC.js +18 -0
- package/dist/chunk-DRTA6JG5.js +160 -0
- package/dist/chunk-DRW6KGBK.js +1062 -0
- package/dist/chunk-DU4A5AOY.js +1156 -0
- package/dist/chunk-DYS7EIXY.js +294 -0
- package/dist/chunk-E4IQ6M4S.js +24 -0
- package/dist/chunk-EFUWFB64.js +24 -0
- package/dist/chunk-EHBB2Z4D.js +290 -0
- package/dist/chunk-EHVESNLV.js +30 -0
- package/dist/chunk-EJPVVGD7.js +67 -0
- package/dist/chunk-EKQK5D6G.js +14 -0
- package/dist/chunk-EUADDXAV.js +30 -0
- package/dist/chunk-F6CNPC4L.js +47 -0
- package/dist/chunk-FBAYZSFC.js +2806 -0
- package/dist/chunk-FBB4BWKN.js +30 -0
- package/dist/chunk-FF23FYQD.js +1269 -0
- package/dist/chunk-FG6EDGMI.js +53 -0
- package/dist/chunk-FHA3KMFC.js +43 -0
- package/dist/chunk-FIANWJXX.js +19 -0
- package/dist/chunk-FIWNDOMO.js +6 -0
- package/dist/chunk-FV3VF36K.js +2721 -0
- package/dist/chunk-G5FMTRG5.js +37 -0
- package/dist/chunk-GCBOHVDZ.js +229 -0
- package/dist/chunk-GDOW2KNP.js +19 -0
- package/dist/chunk-GTG3IGLF.js +2674 -0
- package/dist/chunk-GZTNTHSW.js +21 -0
- package/dist/chunk-H4H4O62O.js +46 -0
- package/dist/chunk-H5G7T35P.js +24 -0
- package/dist/chunk-H63XQ3OO.js +942 -0
- package/dist/chunk-H67RTX46.js +43 -0
- package/dist/chunk-HA4IPWMM.js +841 -0
- package/dist/chunk-HKYTOJLV.js +33 -0
- package/dist/chunk-HOAH5XBR.js +542 -0
- package/dist/chunk-HTYFQHRC.js +24 -0
- package/dist/chunk-HYY5V2KL.js +19 -0
- package/dist/chunk-HZI56ASJ.js +79 -0
- package/dist/chunk-I6VAWNNU.js +24 -0
- package/dist/chunk-IBXXZVG7.js +80 -0
- package/dist/chunk-IDDA5INB.js +60 -0
- package/dist/chunk-IK4BHOPZ.js +33 -0
- package/dist/chunk-IL5T7I2A.js +27 -0
- package/dist/chunk-ILSXT6KT.js +24 -0
- package/dist/chunk-IV2UXZXX.js +16 -0
- package/dist/chunk-IYEFEBRN.js +41 -0
- package/dist/chunk-IYMI7YI4.js +829 -0
- package/dist/chunk-J6I2YFJH.js +58 -0
- package/dist/chunk-JFBEAUJ6.js +24 -0
- package/dist/chunk-JR7Y5ONB.js +27 -0
- package/dist/chunk-JSEYUJUQ.js +836 -0
- package/dist/chunk-JYBT2JNY.js +61 -0
- package/dist/chunk-K3HSQPSM.js +24 -0
- package/dist/chunk-KAXJFL7N.js +43 -0
- package/dist/chunk-KDMKHR5A.js +32 -0
- package/dist/chunk-KKWZWP67.js +24 -0
- package/dist/chunk-KOJ5QETJ.js +8 -0
- package/dist/chunk-KPKXJYQH.js +19 -0
- package/dist/chunk-KSJVENRU.js +113 -0
- package/dist/chunk-KZJOV4QW.js +33 -0
- package/dist/chunk-KZS46KDY.js +58 -0
- package/dist/chunk-L3JWM7FR.js +50 -0
- package/dist/chunk-L4S6UFTL.js +26 -0
- package/dist/chunk-L6DJ4ZY5.js +2008 -0
- package/dist/chunk-L7RHB734.js +23 -0
- package/dist/chunk-LCWJS34U.js +38 -0
- package/dist/chunk-LFTAMH7I.js +24 -0
- package/dist/chunk-LFX7W4B7.js +113 -0
- package/dist/chunk-LINZPU5D.js +8 -0
- package/dist/chunk-LIWLBLCT.js +83 -0
- package/dist/chunk-LNKY5Z2X.js +23 -0
- package/dist/chunk-LS7HVBI7.js +24 -0
- package/dist/chunk-M4EUXOLU.js +170 -0
- package/dist/chunk-M4SPKUZE.js +7 -0
- package/dist/chunk-M4YLED7M.js +17 -0
- package/dist/chunk-MBKZYJRC.js +1424 -0
- package/dist/chunk-MCYM3RNF.js +227 -0
- package/dist/chunk-MF6IVSBJ.js +48 -0
- package/dist/chunk-MIAPBQCA.js +24 -0
- package/dist/chunk-MJZHFH5R.js +1075 -0
- package/dist/chunk-MQFCG4KS.js +1467 -0
- package/dist/chunk-MVV6RQMG.js +128 -0
- package/dist/chunk-MYMT5KJL.js +1182 -0
- package/dist/chunk-MZL6LGKO.js +587 -0
- package/dist/chunk-N23YFPPI.js +47 -0
- package/dist/chunk-N3G2FYDL.js +300 -0
- package/dist/chunk-N3TPMXS3.js +161 -0
- package/dist/chunk-N73IBH55.js +58 -0
- package/dist/chunk-N7J7CZS6.js +43 -0
- package/dist/chunk-NCB3YLHF.js +28 -0
- package/dist/chunk-NHQGRKEA.js +63 -0
- package/dist/chunk-NKIYLFXZ.js +2774 -0
- package/dist/chunk-NOSDEJ3K.js +25934 -0
- package/dist/chunk-NQDVMUHX.js +433 -0
- package/dist/chunk-NSSNYY6Y.js +58 -0
- package/dist/chunk-NY5NUFDZ.js +117 -0
- package/dist/chunk-O3S2KNIW.js +25 -0
- package/dist/chunk-O3VN6BTL.js +24 -0
- package/dist/chunk-ONZLC47B.js +88 -0
- package/dist/chunk-OQEBOVUO.js +30 -0
- package/dist/chunk-OUEGGWH7.js +24 -0
- package/dist/chunk-OURX73UJ.js +728 -0
- package/dist/chunk-P25VEGGX.js +24 -0
- package/dist/chunk-P26Z62UV.js +24 -0
- package/dist/chunk-P5RNWMZC.js +2984 -0
- package/dist/chunk-P6KZIZDV.js +987 -0
- package/dist/chunk-PEUSKIFV.js +168 -0
- package/dist/chunk-PFVTYFSL.js +24 -0
- package/dist/chunk-PWROWDZS.js +137 -0
- package/dist/chunk-Q3CV2JJ2.js +3650 -0
- package/dist/chunk-QBR6IKIX.js +50 -0
- package/dist/chunk-QGCEHR6S.js +13 -0
- package/dist/chunk-QHRE2M6V.js +26 -0
- package/dist/chunk-QKL7IY42.js +38 -0
- package/dist/chunk-QO6HEXIZ.js +272 -0
- package/dist/chunk-QOIVXZUF.js +24 -0
- package/dist/chunk-QPWRHDLZ.js +17 -0
- package/dist/chunk-QSXK6PJL.js +19 -0
- package/dist/chunk-QTZVVZ2A.js +54 -0
- package/dist/chunk-QWXWVPNE.js +18 -0
- package/dist/chunk-QY5ZKUWY.js +383 -0
- package/dist/chunk-QZAT46PP.js +95 -0
- package/dist/chunk-RA66JA3D.js +24 -0
- package/dist/chunk-REOPXBUR.js +600 -0
- package/dist/chunk-RGZGLKFB.js +648 -0
- package/dist/chunk-RL3NUWMY.js +3378 -0
- package/dist/chunk-RNOJSEES.js +16 -0
- package/dist/chunk-ROXO4R3J.js +16 -0
- package/dist/chunk-RPIW5T55.js +40 -0
- package/dist/chunk-RQ5DNYLG.js +10 -0
- package/dist/chunk-RZNYW7UP.js +133 -0
- package/dist/chunk-S32YYDIB.js +420 -0
- package/dist/chunk-S4QSJAGY.js +44 -0
- package/dist/chunk-S6UX7KB6.js +335 -0
- package/dist/chunk-SDSONLMZ.js +2546 -0
- package/dist/chunk-SGD3ZHID.js +250 -0
- package/dist/chunk-SKRSCTT5.js +28 -0
- package/dist/chunk-SMCDXUIO.js +24 -0
- package/dist/chunk-SPTPFY4S.js +528 -0
- package/dist/chunk-SREWFAAJ.js +90 -0
- package/dist/chunk-SS42FJVN.js +3875 -0
- package/dist/chunk-SVZDXFPX.js +891 -0
- package/dist/chunk-SZPTTNW7.js +16 -0
- package/dist/chunk-T3IGJARD.js +22 -0
- package/dist/chunk-TA3TFKYZ.js +86 -0
- package/dist/chunk-TBGUEF3M.js +939 -0
- package/dist/chunk-TGK6KUGN.js +331 -0
- package/dist/chunk-TJSND556.js +1783 -0
- package/dist/chunk-TKOJZQAJ.js +24 -0
- package/dist/chunk-TM4OC53S.js +97 -0
- package/dist/chunk-TNEHPP3H.js +18 -0
- package/dist/chunk-TWOREVKJ.js +1760 -0
- package/dist/chunk-TXS3U77A.js +60 -0
- package/dist/chunk-UB6ODJHO.js +134 -0
- package/dist/chunk-UBZXQIDR.js +24 -0
- package/dist/chunk-ULTSSIOU.js +38 -0
- package/dist/chunk-UMDEWWXT.js +33 -0
- package/dist/chunk-V6O6KVOA.js +347 -0
- package/dist/chunk-VABRPZVC.js +43 -0
- package/dist/chunk-VDAKTZQP.js +18 -0
- package/dist/chunk-VDAZPGR2.js +79 -0
- package/dist/chunk-VERLFNWR.js +25 -0
- package/dist/chunk-VH2UUU7K.js +24 -0
- package/dist/chunk-VJ3FCGQF.js +12 -0
- package/dist/chunk-VK5ZDV67.js +47 -0
- package/dist/chunk-VKQNDOAI.js +40 -0
- package/dist/chunk-VTEV3WVF.js +690 -0
- package/dist/chunk-VXZFQKBJ.js +21 -0
- package/dist/chunk-WI5ITCOH.js +22 -0
- package/dist/chunk-WLZ54FWG.js +120 -0
- package/dist/chunk-WYJEOMNY.js +31 -0
- package/dist/chunk-WZGJSQKN.js +29 -0
- package/dist/chunk-WZL4EEBS.js +11 -0
- package/dist/chunk-X4YNDLVA.js +54 -0
- package/dist/chunk-X6SUFTD7.js +17 -0
- package/dist/chunk-XB4KZ6WO.js +81 -0
- package/dist/chunk-XJI6SWFS.js +569 -0
- package/dist/chunk-XJP5DKIL.js +29 -0
- package/dist/chunk-XN4ARQ2W.js +47 -0
- package/dist/chunk-XN7MQO45.js +359 -0
- package/dist/chunk-XQCQZBGX.js +100 -0
- package/dist/chunk-XXOHXA3A.js +69 -0
- package/dist/chunk-XZOHR765.js +127 -0
- package/dist/chunk-YCNLQYTC.js +133 -0
- package/dist/chunk-YCRGWQBS.js +526 -0
- package/dist/chunk-YF2PYLC4.js +210 -0
- package/dist/chunk-YG5GUELW.js +935 -0
- package/dist/chunk-YS6KMYM4.js +91 -0
- package/dist/chunk-YWP7XFKD.js +12 -0
- package/dist/chunk-Z2MGTKDR.js +20 -0
- package/dist/chunk-Z6CL7AR6.js +24 -0
- package/dist/chunk-Z7X3RGGA.js +22 -0
- package/dist/chunk-ZF43WRG3.js +29 -0
- package/dist/chunk-ZMF7WEGG.js +60 -0
- package/dist/chunk-ZNHFLJSY.js +375 -0
- package/dist/chunk-ZQ4VFQID.js +76 -0
- package/dist/chunk-ZQF34VPS.js +72 -0
- package/dist/chunk-ZU425HNM.js +24 -0
- package/dist/chunk-ZZU5R5UU.js +24 -0
- package/dist/cli/index.js +9 -0
- package/dist/core-3VCCUFVX.js +32 -0
- package/dist/core-4BZQQSHS.js +33 -0
- package/dist/core-4VT4MHNB.js +38 -0
- package/dist/core-5535KXRD.js +40 -0
- package/dist/core-5HQBPCHL.js +35 -0
- package/dist/core-6RYHWUJO.js +35 -0
- package/dist/core-7BZJCIXN.js +35 -0
- package/dist/core-AJTVU6X7.js +37 -0
- package/dist/core-C6YUSTZI.js +57 -0
- package/dist/core-EEB7HTCL.js +33 -0
- package/dist/core-EFMVDWNH.js +38 -0
- package/dist/core-ETAGQBZO.js +34 -0
- package/dist/core-FVR3WZEC.js +36 -0
- package/dist/core-GCTFVYMH.js +29 -0
- package/dist/core-GES44OTS.js +33 -0
- package/dist/core-GGQREDSI.js +47 -0
- package/dist/core-HRYOV6QD.js +38 -0
- package/dist/core-IKD3EE3S.js +38 -0
- package/dist/core-JM4R426L.js +32 -0
- package/dist/core-KKQS3WI2.js +40 -0
- package/dist/core-LA6XDYG7.js +40 -0
- package/dist/core-MJ7JWQT5.js +37 -0
- package/dist/core-MLROKJ2M.js +53 -0
- package/dist/core-MR52YBRX.js +31 -0
- package/dist/core-NP4VHWXL.js +29 -0
- package/dist/core-NQLNZDX5.js +41 -0
- package/dist/core-NSIJEKLI.js +44 -0
- package/dist/core-OJUQLIQ5.js +35 -0
- package/dist/core-PB3VUQSS.js +32 -0
- package/dist/core-Q6VLFFYC.js +56 -0
- package/dist/core-QY7AVIKZ.js +51 -0
- package/dist/core-SBQMHWTA.js +52 -0
- package/dist/core-UHECQHJ2.js +38 -0
- package/dist/core-V5FV4NWL.js +56 -0
- package/dist/core-WGM4XUN3.js +58 -0
- package/dist/core-WUQVFARS.js +34 -0
- package/dist/core-Z2F3IGSR.js +42 -0
- package/dist/dataTable-3CPPIHB3.js +58 -0
- package/dist/engine-FXFBCWHB.js +961 -0
- package/dist/fixtures.d.ts +1 -0
- package/dist/fixtures.js +41 -0
- package/dist/fontTables-WYCZNRE7.js +18 -0
- package/dist/fonts.d.ts +1 -0
- package/dist/fonts.js +19 -0
- package/dist/geo/dach.d.ts +1 -0
- package/dist/geo/dach.js +14 -0
- package/dist/geo/de-states.d.ts +1 -0
- package/dist/geo/de-states.js +14 -0
- package/dist/geo/eu27.d.ts +1 -0
- package/dist/geo/eu27.js +14 -0
- package/dist/geo/europe.d.ts +1 -0
- package/dist/geo/europe.js +14 -0
- package/dist/geo/index.d.ts +1 -0
- package/dist/geo/index.js +41 -0
- package/dist/geo/us-states.d.ts +1 -0
- package/dist/geo/us-states.js +14 -0
- package/dist/geo/world.d.ts +1 -0
- package/dist/geo/world.js +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +364 -0
- package/dist/main-YLKBTHJP.js +569 -0
- package/dist/mcp/server.js +1025 -0
- package/dist/module-SVEW5ZUE.js +137233 -0
- package/dist/react/bar.d.ts +1 -0
- package/dist/react/bar.js +81 -0
- package/dist/react/bartable.d.ts +1 -0
- package/dist/react/bartable.js +70 -0
- package/dist/react/box.d.ts +1 -0
- package/dist/react/box.js +65 -0
- package/dist/react/bullet.d.ts +1 -0
- package/dist/react/bullet.js +72 -0
- package/dist/react/butterfly.d.ts +1 -0
- package/dist/react/butterfly.js +66 -0
- package/dist/react/choropleth.d.ts +1 -0
- package/dist/react/choropleth.js +67 -0
- package/dist/react/cohort.d.ts +1 -0
- package/dist/react/cohort.js +70 -0
- package/dist/react/column.d.ts +1 -0
- package/dist/react/column.js +86 -0
- package/dist/react/combo.d.ts +1 -0
- package/dist/react/combo.js +86 -0
- package/dist/react/creative.d.ts +1 -0
- package/dist/react/creative.js +61 -0
- package/dist/react/diagram.d.ts +1 -0
- package/dist/react/diagram.js +60 -0
- package/dist/react/dimswitch.d.ts +1 -0
- package/dist/react/dimswitch.js +72 -0
- package/dist/react/dot.d.ts +1 -0
- package/dist/react/dot.js +70 -0
- package/dist/react/export.d.ts +1 -0
- package/dist/react/export.js +658 -0
- package/dist/react/funnel.d.ts +1 -0
- package/dist/react/funnel.js +63 -0
- package/dist/react/gantt.d.ts +1 -0
- package/dist/react/gantt.js +62 -0
- package/dist/react/grid.d.ts +1 -0
- package/dist/react/grid.js +67 -0
- package/dist/react/heatmap.d.ts +1 -0
- package/dist/react/heatmap.js +68 -0
- package/dist/react/histogram.d.ts +1 -0
- package/dist/react/histogram.js +86 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +504 -0
- package/dist/react/kpi.d.ts +1 -0
- package/dist/react/kpi.js +67 -0
- package/dist/react/likert.d.ts +1 -0
- package/dist/react/likert.js +83 -0
- package/dist/react/line.d.ts +1 -0
- package/dist/react/line.js +81 -0
- package/dist/react/mekko.d.ts +1 -0
- package/dist/react/mekko.js +71 -0
- package/dist/react/pareto.d.ts +1 -0
- package/dist/react/pareto.js +90 -0
- package/dist/react/pie.d.ts +1 -0
- package/dist/react/pie.js +64 -0
- package/dist/react/prepare.d.ts +1 -0
- package/dist/react/prepare.js +278 -0
- package/dist/react/pvm.d.ts +1 -0
- package/dist/react/pvm.js +68 -0
- package/dist/react/pyramid.d.ts +1 -0
- package/dist/react/pyramid.js +67 -0
- package/dist/react/sankey.d.ts +1 -0
- package/dist/react/sankey.js +59 -0
- package/dist/react/scatter.d.ts +1 -0
- package/dist/react/scatter.js +63 -0
- package/dist/react/slope.d.ts +1 -0
- package/dist/react/slope.js +64 -0
- package/dist/react/sparkline.d.ts +1 -0
- package/dist/react/sparkline.js +59 -0
- package/dist/react/spec.d.ts +1 -0
- package/dist/react/spec.js +379 -0
- package/dist/react/status.d.ts +1 -0
- package/dist/react/status.js +64 -0
- package/dist/react/story.d.ts +1 -0
- package/dist/react/story.js +140 -0
- package/dist/react/table.d.ts +1 -0
- package/dist/react/table.js +69 -0
- package/dist/react/theme.d.ts +1 -0
- package/dist/react/theme.js +53 -0
- package/dist/react/tilemap.d.ts +1 -0
- package/dist/react/tilemap.js +66 -0
- package/dist/react/treemap.d.ts +1 -0
- package/dist/react/treemap.js +61 -0
- package/dist/react/variance.d.ts +1 -0
- package/dist/react/variance.js +65 -0
- package/dist/react/waffle.d.ts +1 -0
- package/dist/react/waffle.js +62 -0
- package/dist/react/waterfall.d.ts +1 -0
- package/dist/react/waterfall.js +68 -0
- package/dist/resvg-ZOVDIZTV.js +23 -0
- package/dist/rows.d.ts +1 -0
- package/dist/rows.js +23 -0
- package/dist/rowsModule-YVLAROIP.js +27 -0
- package/dist/schema-2K6C3U24.js +23 -0
- package/dist/schema-2KIHLTYI.js +23 -0
- package/dist/schema-4HY2MWZC.js +30 -0
- package/dist/schema-4S5CXHAO.js +24 -0
- package/dist/schema-5BKQV56C.js +27 -0
- package/dist/schema-5HA5DSYN.js +24 -0
- package/dist/schema-5NKJPSBD.js +23 -0
- package/dist/schema-65FOKNHK.js +43 -0
- package/dist/schema-6OHZWHUI.js +23 -0
- package/dist/schema-6RYJS2GM.js +24 -0
- package/dist/schema-6W4M3WJ4.js +23 -0
- package/dist/schema-7TLSFG6M.js +24 -0
- package/dist/schema-AMFRKUFS.js +27 -0
- package/dist/schema-B7CZPPB4.js +28 -0
- package/dist/schema-BNRNHGHQ.js +26 -0
- package/dist/schema-E4MRCGPZ.js +24 -0
- package/dist/schema-F3WYTR65.js +26 -0
- package/dist/schema-FA6XIHTW.js +23 -0
- package/dist/schema-GZNOW4LX.js +23 -0
- package/dist/schema-HEIDGCSL.js +23 -0
- package/dist/schema-JB2H6KPA.js +23 -0
- package/dist/schema-MPXZNWV3.js +23 -0
- package/dist/schema-NHNQK6XO.js +23 -0
- package/dist/schema-NN6UPDPW.js +23 -0
- package/dist/schema-O4YNAGIY.js +23 -0
- package/dist/schema-O7AKK232.js +29 -0
- package/dist/schema-OJCML6LV.js +24 -0
- package/dist/schema-ORTRMYI6.js +24 -0
- package/dist/schema-PJ6P52BC.js +23 -0
- package/dist/schema-RTWES6NR.js +24 -0
- package/dist/schema-S36SRYGO.js +24 -0
- package/dist/schema-S3TCLTYD.js +23 -0
- package/dist/schema-SWWMOLOR.js +54 -0
- package/dist/schema-WOSEZNKG.js +26 -0
- package/dist/schema-Y6KBWUUR.js +23 -0
- package/dist/schema-YQYTLKSW.js +23 -0
- package/dist/schema-ZUUUY3QS.js +33 -0
- package/dist/specValidation-VNWIKLHH.js +49 -0
- package/dist/theme.d.ts +1 -0
- package/dist/theme.js +24 -0
- package/dist/themeShapeRules-2D3KWSPQ.js +11 -0
- package/dist/types/core/a11y/accessibility.d.ts +43 -0
- package/dist/types/core/a11y/recordsShared.d.ts +44 -0
- package/dist/types/core/a11y/structuralRecords.d.ts +6 -0
- package/dist/types/core/a11y/types.d.ts +116 -0
- package/dist/types/core/annotate.d.ts +300 -0
- package/dist/types/core/annotateArms.d.ts +37 -0
- package/dist/types/core/annotateFields.d.ts +30 -0
- package/dist/types/core/annotateGapBracket.d.ts +66 -0
- package/dist/types/core/annotateLinks.d.ts +47 -0
- package/dist/types/core/annotateTargets.d.ts +90 -0
- package/dist/types/core/axis.d.ts +179 -0
- package/dist/types/core/bandSelect.d.ts +10 -0
- package/dist/types/core/bands.d.ts +14 -0
- package/dist/types/core/calendarLabels.d.ts +101 -0
- package/dist/types/core/charts/band/stacks.d.ts +155 -0
- package/dist/types/core/charts/bar/fixtures.d.ts +9 -0
- package/dist/types/core/charts/bar/layout.d.ts +95 -0
- package/dist/types/core/charts/bartable/fixtures.d.ts +4 -0
- package/dist/types/core/charts/bartable/types.d.ts +192 -0
- package/dist/types/core/charts/box/fixtures.d.ts +12 -0
- package/dist/types/core/charts/box/types.d.ts +110 -0
- package/dist/types/core/charts/bullet/fixtures.d.ts +11 -0
- package/dist/types/core/charts/butterfly/fixtures.d.ts +9 -0
- package/dist/types/core/charts/choropleth/fixtures.d.ts +3 -0
- package/dist/types/core/charts/choropleth/overlayTypes.d.ts +68 -0
- package/dist/types/core/charts/choropleth/types.d.ts +117 -0
- package/dist/types/core/charts/cohort/fixtures.d.ts +12 -0
- package/dist/types/core/charts/cohort/types.d.ts +165 -0
- package/dist/types/core/charts/column/anomaly.d.ts +204 -0
- package/dist/types/core/charts/column/fixtures.d.ts +12 -0
- package/dist/types/core/charts/column/layout.d.ts +116 -0
- package/dist/types/core/charts/column/model.d.ts +295 -0
- package/dist/types/core/charts/column/types.d.ts +56 -0
- package/dist/types/core/charts/combo/endpoints.d.ts +165 -0
- package/dist/types/core/charts/combo/fixtures.d.ts +12 -0
- package/dist/types/core/charts/combo/layout.d.ts +48 -0
- package/dist/types/core/charts/creative/fixtures.d.ts +4 -0
- package/dist/types/core/charts/creative/types.d.ts +73 -0
- package/dist/types/core/charts/diagram/fixtures.d.ts +3 -0
- package/dist/types/core/charts/dimswitch/compile.d.ts +20 -0
- package/dist/types/core/charts/dimswitch/fixtures.d.ts +3 -0
- package/dist/types/core/charts/dimswitch/types.d.ts +152 -0
- package/dist/types/core/charts/dot/fixtures.d.ts +11 -0
- package/dist/types/core/charts/funnel/fixtures.d.ts +11 -0
- package/dist/types/core/charts/gantt/fixtures.d.ts +9 -0
- package/dist/types/core/charts/gantt/layout.d.ts +63 -0
- package/dist/types/core/charts/grid/fixtures.d.ts +3 -0
- package/dist/types/core/charts/grid/metricStack.d.ts +108 -0
- package/dist/types/core/charts/grid/metricStackSchema.d.ts +74 -0
- package/dist/types/core/charts/grid/normalize.d.ts +99 -0
- package/dist/types/core/charts/grid/schema.d.ts +168 -0
- package/dist/types/core/charts/heatmap/fixtures.d.ts +11 -0
- package/dist/types/core/charts/histogram/fixtures.d.ts +15 -0
- package/dist/types/core/charts/histogram/types.d.ts +98 -0
- package/dist/types/core/charts/kpi/fixtures.d.ts +9 -0
- package/dist/types/core/charts/likert/fixtures.d.ts +11 -0
- package/dist/types/core/charts/likert/layout.d.ts +111 -0
- package/dist/types/core/charts/line/fixtures.d.ts +16 -0
- package/dist/types/core/charts/line/types.d.ts +6 -0
- package/dist/types/core/charts/mekko/fixtures.d.ts +13 -0
- package/dist/types/core/charts/pareto/fixtures.d.ts +5 -0
- package/dist/types/core/charts/pareto/layout.d.ts +68 -0
- package/dist/types/core/charts/pie/fixtures.d.ts +14 -0
- package/dist/types/core/charts/pvm/fixtures.d.ts +13 -0
- package/dist/types/core/charts/pvm/types.d.ts +118 -0
- package/dist/types/core/charts/pyramid/fixtures.d.ts +4 -0
- package/dist/types/core/charts/pyramid/types.d.ts +92 -0
- package/dist/types/core/charts/sankey/fixtures.d.ts +4 -0
- package/dist/types/core/charts/sankey/types.d.ts +116 -0
- package/dist/types/core/charts/scatter/fixtures.d.ts +12 -0
- package/dist/types/core/charts/scatter/types.d.ts +58 -0
- package/dist/types/core/charts/slope/fixtures.d.ts +13 -0
- package/dist/types/core/charts/sparkline/fixtures.d.ts +9 -0
- package/dist/types/core/charts/status/fixtures.d.ts +8 -0
- package/dist/types/core/charts/status/layout.d.ts +71 -0
- package/dist/types/core/charts/table/fitFormats.d.ts +67 -0
- package/dist/types/core/charts/table/fixtures.d.ts +7 -0
- package/dist/types/core/charts/table/resolve.d.ts +72 -0
- package/dist/types/core/charts/table/view.d.ts +156 -0
- package/dist/types/core/charts/tilemap/fixtures.d.ts +3 -0
- package/dist/types/core/charts/tilemap/types.d.ts +94 -0
- package/dist/types/core/charts/treemap/fixtures.d.ts +4 -0
- package/dist/types/core/charts/treemap/types.d.ts +78 -0
- package/dist/types/core/charts/variance/fixtures.d.ts +12 -0
- package/dist/types/core/charts/waffle/fixtures.d.ts +5 -0
- package/dist/types/core/charts/waffle/types.d.ts +117 -0
- package/dist/types/core/charts/waterfall/fixtures.d.ts +9 -0
- package/dist/types/core/claims/browser.d.ts +49 -0
- package/dist/types/core/claims/manifest.d.ts +22 -0
- package/dist/types/core/dateFormat.d.ts +39 -0
- package/dist/types/core/deferred.d.ts +121 -0
- package/dist/types/core/diagnostics/describe.d.ts +149 -0
- package/dist/types/core/diagnostics/jsonPatch.d.ts +36 -0
- package/dist/types/core/doc/bareChart.d.ts +2 -0
- package/dist/types/core/doc/diagnostics.d.ts +124 -0
- package/dist/types/core/doc/docExpand.d.ts +39 -0
- package/dist/types/core/doc/document.d.ts +43 -0
- package/dist/types/core/doc/ownedDocumentCopy.d.ts +5 -0
- package/dist/types/core/doc/specError.d.ts +6 -0
- package/dist/types/core/emptyData.d.ts +27 -0
- package/dist/types/core/eventLane.d.ts +208 -0
- package/dist/types/core/fontMetrics/index.d.ts +47 -0
- package/dist/types/core/fontMetrics/injected.d.ts +40 -0
- package/dist/types/core/fontMetrics/tableDocument.d.ts +73 -0
- package/dist/types/core/fontMetrics/tables.generated.d.ts +17 -0
- package/dist/types/core/footer.d.ts +59 -0
- package/dist/types/core/format.d.ts +149 -0
- package/dist/types/core/formatPrecision.d.ts +136 -0
- package/dist/types/core/formatSpec.d.ts +304 -0
- package/dist/types/core/frame.d.ts +583 -0
- package/dist/types/core/geo/packs/all.d.ts +7 -0
- package/dist/types/core/geo/packs/dach.d.ts +16 -0
- package/dist/types/core/geo/packs/de-states.d.ts +16 -0
- package/dist/types/core/geo/packs/eu27.d.ts +16 -0
- package/dist/types/core/geo/packs/europe.d.ts +16 -0
- package/dist/types/core/geo/packs/index.d.ts +22 -0
- package/dist/types/core/geo/packs/registry.d.ts +37 -0
- package/dist/types/core/geo/packs/us-states.d.ts +16 -0
- package/dist/types/core/geo/packs/world.d.ts +16 -0
- package/dist/types/core/geo/tiles/eu27.generated.d.ts +412 -0
- package/dist/types/core/geo/tiles/europe.generated.d.ts +842 -0
- package/dist/types/core/geo/tiles/index.d.ts +8 -0
- package/dist/types/core/geo/tiles/types.d.ts +36 -0
- package/dist/types/core/geo/tiles/us-states.generated.d.ts +952 -0
- package/dist/types/core/geo/tiles/world.generated.d.ts +968 -0
- package/dist/types/core/geo/types.d.ts +146 -0
- package/dist/types/core/geometry.d.ts +102 -0
- package/dist/types/core/grid/sharedScale.d.ts +82 -0
- package/dist/types/core/icons.d.ts +227 -0
- package/dist/types/core/inputError.d.ts +14 -0
- package/dist/types/core/isoDate.d.ts +2 -0
- package/dist/types/core/isoTime.d.ts +7 -0
- package/dist/types/core/label/categoryRow.d.ts +332 -0
- package/dist/types/core/label/occupied.d.ts +41 -0
- package/dist/types/core/label/ownership.d.ts +83 -0
- package/dist/types/core/label/solver.d.ts +384 -0
- package/dist/types/core/label/tickRow.d.ts +78 -0
- package/dist/types/core/live/types.d.ts +50 -0
- package/dist/types/core/normalize/shared.d.ts +56 -0
- package/dist/types/core/notes.d.ts +174 -0
- package/dist/types/core/othersShade.d.ts +9 -0
- package/dist/types/core/periodYears.d.ts +9 -0
- package/dist/types/core/polyline.d.ts +11 -0
- package/dist/types/core/rangeRules.d.ts +19 -0
- package/dist/types/core/ratioTier.d.ts +120 -0
- package/dist/types/core/readerStrings.d.ts +13 -0
- package/dist/types/core/reading.d.ts +120 -0
- package/dist/types/core/registry.d.ts +178 -0
- package/dist/types/core/repaintGeometry.d.ts +19 -0
- package/dist/types/core/request.d.ts +124 -0
- package/dist/types/core/rows.d.ts +47 -0
- package/dist/types/core/scale.d.ts +106 -0
- package/dist/types/core/schema/capability.d.ts +229 -0
- package/dist/types/core/schema/namedColumns.d.ts +45 -0
- package/dist/types/core/schema/reference.d.ts +31 -0
- package/dist/types/core/schema/refusals.d.ts +45 -0
- package/dist/types/core/schema/unknownKeys.d.ts +45 -0
- package/dist/types/core/seriesIdentity.d.ts +120 -0
- package/dist/types/core/shareRounding.d.ts +49 -0
- package/dist/types/core/sizing.d.ts +330 -0
- package/dist/types/core/staticFooter.d.ts +6 -0
- package/dist/types/core/story.d.ts +41 -0
- package/dist/types/core/structureCounts.d.ts +10 -0
- package/dist/types/core/svg/renderSvg.d.ts +51 -0
- package/dist/types/core/target.d.ts +89 -0
- package/dist/types/core/text.d.ts +113 -0
- package/dist/types/core/theme.d.ts +478 -0
- package/dist/types/core/themeFields.d.ts +11 -0
- package/dist/types/core/themeRules.d.ts +111 -0
- package/dist/types/core/themeShape.d.ts +87 -0
- package/dist/types/core/themeValidate.d.ts +15 -0
- package/dist/types/core/timeAxis.d.ts +106 -0
- package/dist/types/core/types/annotations.d.ts +227 -0
- package/dist/types/core/types/cell.d.ts +82 -0
- package/dist/types/core/types/data.d.ts +314 -0
- package/dist/types/core/types/diagram.d.ts +234 -0
- package/dist/types/core/types/index.d.ts +8 -0
- package/dist/types/core/types/options.d.ts +1583 -0
- package/dist/types/core/types/scene.d.ts +990 -0
- package/dist/types/core/types/sizing.d.ts +51 -0
- package/dist/types/core/types/table.d.ts +873 -0
- package/dist/types/core/types/theme.d.ts +806 -0
- package/dist/types/core/zoom.d.ts +106 -0
- package/dist/types/fixtures/index.d.ts +40 -0
- package/dist/types/fixtures/registry.d.ts +15 -0
- package/dist/types/fonts.d.ts +10 -0
- package/dist/types/index.d.ts +70 -0
- package/dist/types/react/BoardplotTheme.d.ts +9 -0
- package/dist/types/react/DimSwitchChart.d.ts +36 -0
- package/dist/types/react/ScaleGroup.d.ts +31 -0
- package/dist/types/react/SceneRenderer.d.ts +23 -0
- package/dist/types/react/SizePlaceholder.d.ts +51 -0
- package/dist/types/react/StoryFrame.d.ts +42 -0
- package/dist/types/react/TableChart.d.ts +220 -0
- package/dist/types/react/a11ySurface.d.ts +20 -0
- package/dist/types/react/barrelCharts.d.ts +1023 -0
- package/dist/types/react/charts/bar.d.ts +28 -0
- package/dist/types/react/charts/bartable.d.ts +27 -0
- package/dist/types/react/charts/box.d.ts +27 -0
- package/dist/types/react/charts/bullet.d.ts +28 -0
- package/dist/types/react/charts/butterfly.d.ts +28 -0
- package/dist/types/react/charts/choropleth.d.ts +27 -0
- package/dist/types/react/charts/cohort.d.ts +52 -0
- package/dist/types/react/charts/column.d.ts +27 -0
- package/dist/types/react/charts/combo.d.ts +7 -0
- package/dist/types/react/charts/creative.d.ts +27 -0
- package/dist/types/react/charts/diagram.d.ts +162 -0
- package/dist/types/react/charts/dimswitch.d.ts +6 -0
- package/dist/types/react/charts/dot.d.ts +28 -0
- package/dist/types/react/charts/funnel.d.ts +28 -0
- package/dist/types/react/charts/gantt.d.ts +28 -0
- package/dist/types/react/charts/grid.d.ts +29 -0
- package/dist/types/react/charts/heatmap.d.ts +28 -0
- package/dist/types/react/charts/histogram.d.ts +27 -0
- package/dist/types/react/charts/kpi.d.ts +28 -0
- package/dist/types/react/charts/likert.d.ts +27 -0
- package/dist/types/react/charts/line.d.ts +28 -0
- package/dist/types/react/charts/mekko.d.ts +28 -0
- package/dist/types/react/charts/pareto.d.ts +28 -0
- package/dist/types/react/charts/pie.d.ts +28 -0
- package/dist/types/react/charts/pvm.d.ts +27 -0
- package/dist/types/react/charts/pyramid.d.ts +27 -0
- package/dist/types/react/charts/sankey.d.ts +27 -0
- package/dist/types/react/charts/scatter.d.ts +28 -0
- package/dist/types/react/charts/slope.d.ts +28 -0
- package/dist/types/react/charts/sparkline.d.ts +28 -0
- package/dist/types/react/charts/status.d.ts +27 -0
- package/dist/types/react/charts/table.d.ts +6 -0
- package/dist/types/react/charts/tilemap.d.ts +27 -0
- package/dist/types/react/charts/treemap.d.ts +27 -0
- package/dist/types/react/charts/variance.d.ts +28 -0
- package/dist/types/react/charts/waffle.d.ts +28 -0
- package/dist/types/react/charts/waterfall.d.ts +28 -0
- package/dist/types/react/createChartComponent.d.ts +135 -0
- package/dist/types/react/export/clipboard.d.ts +8 -0
- package/dist/types/react/export/csv.d.ts +2 -0
- package/dist/types/react/export/frame.d.ts +35 -0
- package/dist/types/react/export/index.d.ts +7 -0
- package/dist/types/react/export/png.d.ts +14 -0
- package/dist/types/react/export/svg.d.ts +5 -0
- package/dist/types/react/export/types.d.ts +69 -0
- package/dist/types/react/export/useExport.d.ts +17 -0
- package/dist/types/react/exportLink.d.ts +49 -0
- package/dist/types/react/footerFrame.d.ts +25 -0
- package/dist/types/react/hover/dataTable.d.ts +13 -0
- package/dist/types/react/hover/engine.d.ts +210 -0
- package/dist/types/react/hover/keyboard.d.ts +44 -0
- package/dist/types/react/hover/labelCard.d.ts +170 -0
- package/dist/types/react/hover/placement.d.ts +49 -0
- package/dist/types/react/index.d.ts +16 -0
- package/dist/types/react/parseChartSpec.d.ts +16 -0
- package/dist/types/react/prepare.d.ts +32 -0
- package/dist/types/react/prepared.d.ts +53 -0
- package/dist/types/react/preparedTable.d.ts +15 -0
- package/dist/types/react/rowsInput.d.ts +55 -0
- package/dist/types/react/rowsModule.d.ts +18 -0
- package/dist/types/react/rowsStore.d.ts +50 -0
- package/dist/types/react/scale-group.d.ts +2 -0
- package/dist/types/react/scaleGroupContext.d.ts +22 -0
- package/dist/types/react/scenePaint.d.ts +10 -0
- package/dist/types/react/scrollState.d.ts +26 -0
- package/dist/types/react/spec.d.ts +82 -0
- package/dist/types/react/specValidation.d.ts +45 -0
- package/dist/types/react/story.d.ts +15 -0
- package/dist/types/react/theme.d.ts +9 -0
- package/dist/types/react/themeContext.d.ts +44 -0
- package/dist/types/react/useChartLayout.d.ts +22 -0
- package/dist/types/react/useContainerSize.d.ts +57 -0
- package/dist/types/react/useHover.d.ts +100 -0
- package/dist/types/react/useZoom.d.ts +50 -0
- package/dist/types/rows.d.ts +63 -0
- package/dist/types/tableLooks.d.ts +6 -0
- package/dist/types/theme.d.ts +3 -0
- package/dist/types/validate.d.ts +3 -0
- package/dist/validate.d.ts +1 -0
- package/dist/validate.js +223 -0
- package/docs/FONTS.md +68 -0
- package/docs/TELEMETRY.md +94 -0
- package/docs/manual.md +850 -0
- package/docs/reference/bar.md +222 -0
- package/docs/reference/bartable.md +143 -0
- package/docs/reference/box.md +93 -0
- package/docs/reference/bullet.md +118 -0
- package/docs/reference/butterfly.md +117 -0
- package/docs/reference/choropleth.md +148 -0
- package/docs/reference/cohort.md +149 -0
- package/docs/reference/column.md +275 -0
- package/docs/reference/combo.md +219 -0
- package/docs/reference/creative.md +147 -0
- package/docs/reference/diagram.md +191 -0
- package/docs/reference/dimswitch.md +1395 -0
- package/docs/reference/dot.md +117 -0
- package/docs/reference/fixtures.md +1089 -0
- package/docs/reference/funnel.md +121 -0
- package/docs/reference/gantt.md +138 -0
- package/docs/reference/grid.md +302 -0
- package/docs/reference/heatmap.md +127 -0
- package/docs/reference/histogram.md +77 -0
- package/docs/reference/kpi.md +115 -0
- package/docs/reference/likert.md +113 -0
- package/docs/reference/line.md +436 -0
- package/docs/reference/mekko.md +114 -0
- package/docs/reference/options.md +313 -0
- package/docs/reference/pareto.md +102 -0
- package/docs/reference/pie.md +114 -0
- package/docs/reference/pvm.md +114 -0
- package/docs/reference/pyramid.md +99 -0
- package/docs/reference/react.md +706 -0
- package/docs/reference/reading.md +28 -0
- package/docs/reference/sankey.md +110 -0
- package/docs/reference/scatter.md +211 -0
- package/docs/reference/slope.md +126 -0
- package/docs/reference/sparkline.md +74 -0
- package/docs/reference/status.md +107 -0
- package/docs/reference/table.md +673 -0
- package/docs/reference/theme.md +361 -0
- package/docs/reference/tilemap.md +121 -0
- package/docs/reference/treemap.md +86 -0
- package/docs/reference/variance.md +126 -0
- package/docs/reference/waffle.md +106 -0
- package/docs/reference/waterfall.md +164 -0
- package/llms.txt +57 -0
- package/package.json +437 -4
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The unknown-key walk of the per-type React entries: authored
|
|
3
|
+
* options over the key tree generated from the type's options schema
|
|
4
|
+
* (scripts/generate-chart-entries.mjs). Each generated entry links it and
|
|
5
|
+
* hands its check to the component, so nothing else, react/spec included,
|
|
6
|
+
* carries it. The nearest key and the sentences the CLI prints live in
|
|
7
|
+
* unknownKeyWords.ts.
|
|
8
|
+
*/
|
|
9
|
+
import type { RefusalFinding } from './refusals.js';
|
|
10
|
+
/**
|
|
11
|
+
* The option keys a type takes. 0 takes any value. An object takes the keys
|
|
12
|
+
* it names; '*' stands for any key (a map keyed by ids) and '[]' for the
|
|
13
|
+
* items of an array. Union branches are merged, so a key one branch declares
|
|
14
|
+
* is taken.
|
|
15
|
+
*/
|
|
16
|
+
export type OptionKeyTree = 0 | {
|
|
17
|
+
readonly [key: string]: OptionKeyTree;
|
|
18
|
+
};
|
|
19
|
+
/** What a per-type React entry checks its option props against. */
|
|
20
|
+
export interface OptionKeys {
|
|
21
|
+
tree: OptionKeyTree;
|
|
22
|
+
/** The kinds the type's `labels` map takes (LABEL_KINDS). */
|
|
23
|
+
labels?: readonly string[];
|
|
24
|
+
}
|
|
25
|
+
/** An authored key the tree does not take: its path, and the tree node of the object it sits in. */
|
|
26
|
+
export interface UnknownKey {
|
|
27
|
+
path: (string | number)[];
|
|
28
|
+
node: OptionKeyTree;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A component's key check: the refusals for the unknown keys of authored
|
|
32
|
+
* options, and of the strings a BoardplotTheme provider hands every chart.
|
|
33
|
+
*/
|
|
34
|
+
export type OptionKeyCheck = (options: Record<string, unknown>, providerStrings?: Record<string, unknown>) => RefusalFinding[];
|
|
35
|
+
/**
|
|
36
|
+
* Every authored option key `keys` does not take, at any depth. `measure` is
|
|
37
|
+
* the TS-only text measurer a host hands any chart (BaseOptions) and passes.
|
|
38
|
+
*/
|
|
39
|
+
export declare function unknownKeys(options: Record<string, unknown>, keys: OptionKeys): UnknownKey[];
|
|
40
|
+
/**
|
|
41
|
+
* The check a generated entry hands its component. A provider string is
|
|
42
|
+
* checked against the chart strings plus the provider-only keys; its finding
|
|
43
|
+
* names the provider, and a JSON patch has nothing to remove there.
|
|
44
|
+
*/
|
|
45
|
+
export declare function optionKeyCheck(keys: OptionKeys): OptionKeyCheck;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/** One encoding shared by marks, keys, panel collectors and explanation policy. */
|
|
2
|
+
import { type Id } from './types/cell.js';
|
|
3
|
+
import type { Geometry, Paint, LintWarning, SeparationRule, HatchPattern, SceneNode } from './types/scene.js';
|
|
4
|
+
import type { Theme } from './types/theme.js';
|
|
5
|
+
import type { MarkerShape } from './types/data.js';
|
|
6
|
+
/**
|
|
7
|
+
* A key entry for what the engine left out of the drawing (a series, a column, a row, points): an empty
|
|
8
|
+
* muted box and the words that say what is not drawn and why. Charts add it when the disclosure note
|
|
9
|
+
* does not print, so the reader learns of the omission on the chart itself.
|
|
10
|
+
*/
|
|
11
|
+
export declare function omittedKey(id: Id, label: string): SeriesIdentity;
|
|
12
|
+
export interface SeriesIdentity {
|
|
13
|
+
id: Id;
|
|
14
|
+
label: string;
|
|
15
|
+
paint: Paint;
|
|
16
|
+
pattern?: HatchPattern | 'outline';
|
|
17
|
+
/** The ground under a hatched box key's stripes, as its mark has one (the key shows the mark). */
|
|
18
|
+
hatchGround?: Paint;
|
|
19
|
+
/** false: a hatched box key without its edge, as a status cell draws it. */
|
|
20
|
+
hatchEdge?: false;
|
|
21
|
+
/**
|
|
22
|
+
* A line key with a background centre, or a box key for a hollow point: outlined whatever the theme's plan look,
|
|
23
|
+
* which a `pattern: 'outline'` key follows.
|
|
24
|
+
*/
|
|
25
|
+
hollow?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 'harvey' draws a Harvey ball filled `level` quarters (0–4) in `paint`.
|
|
28
|
+
* 'triangle' draws the anomaly flag marker, a triangle pointing up.
|
|
29
|
+
* 'tick' draws a reference tick as a bar crosses it, a vertical stroke the
|
|
30
|
+
* key's height; a column's tick is the horizontal 'line'. 'whisker' draws
|
|
31
|
+
* an interval, a vertical stem with a cap at each end (every
|
|
32
|
+
* reference is keyed in its real shape).
|
|
33
|
+
*/
|
|
34
|
+
key?: 'box' | 'line' | 'marker' | 'harvey' | 'triangle' | 'diamond' | 'bracket' | 'tick' | 'whisker' | 'sizes' | 'glyph' | 'heading';
|
|
35
|
+
/** 'glyph': the text a mark prints as its shape (a table's ↑ ↗ → ↘ ↓), in `paint` at the key font. */
|
|
36
|
+
glyph?: string;
|
|
37
|
+
/**
|
|
38
|
+
* A box key that also keys a line style meaning the same thing: a short
|
|
39
|
+
* stroke drawn after the box, so a hatched column and a dashed line that
|
|
40
|
+
* both mean "forecast" share one entry.
|
|
41
|
+
*/
|
|
42
|
+
withLine?: {
|
|
43
|
+
paint: Paint;
|
|
44
|
+
dash?: number[];
|
|
45
|
+
width?: number;
|
|
46
|
+
lineCap?: 'butt' | 'round' | 'square';
|
|
47
|
+
};
|
|
48
|
+
/** A 'line' key for a line that draws point markers: a small mark of that shape at the line's centre, hollow as the plot's are. */
|
|
49
|
+
marker?: {
|
|
50
|
+
shape: Exclude<MarkerShape, 'none'>;
|
|
51
|
+
hollow?: boolean;
|
|
52
|
+
};
|
|
53
|
+
/** A 'line' key that keys a range rail draws the rail's end ticks too, as the plot draws them (dot ranges). */
|
|
54
|
+
caps?: {
|
|
55
|
+
paint: Paint;
|
|
56
|
+
width?: number;
|
|
57
|
+
half: number;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* 'sizes': the radii of a size key's nested circles, drawn as rings in
|
|
61
|
+
* `paint` on one baseline, largest first. The key row grows to the
|
|
62
|
+
* largest ring (a mapped bubble size is keyed above the plot). The label names
|
|
63
|
+
* the sizes they stand for.
|
|
64
|
+
*/
|
|
65
|
+
radii?: number[];
|
|
66
|
+
/** 'sizes': the least key row height the entry reserves, so a ring that shrinks between layout passes keeps its row. */
|
|
67
|
+
ringRow?: number;
|
|
68
|
+
level?: number;
|
|
69
|
+
dash?: number[];
|
|
70
|
+
lineCap?: 'butt' | 'round' | 'square';
|
|
71
|
+
/** Stroke weight of a 'line', 'tick' or 'whisker' key, or of a marker's ring, as the mark draws it; 1.5 by default. */
|
|
72
|
+
width?: number;
|
|
73
|
+
/** A 'marker' key's radius when it draws the mark at the mark's own size; half the key box by default. */
|
|
74
|
+
radius?: number;
|
|
75
|
+
/**
|
|
76
|
+
* Optional 1px outline on a `box` key, or the ring of a `marker` key (a
|
|
77
|
+
* reference dot drawn with a ring over the bar it crosses). Added for the fan's tint ladder: its
|
|
78
|
+
* band swatches are adjacent rungs of one hue, and at the 12px key size a
|
|
79
|
+
* pair one separability step apart is two chips a reader cannot tell from one
|
|
80
|
+
* chip — on `notation-dark` the outermost key is #232323 on a #080808 page. The
|
|
81
|
+
* ladder is a legitimate encoding for a large WASH region and the same
|
|
82
|
+
* numbers are not legible at 9px, so the chip gets an edge. Undefined
|
|
83
|
+
* everywhere else, so no other legend in the repo moves by a pixel.
|
|
84
|
+
*/
|
|
85
|
+
stroke?: Paint;
|
|
86
|
+
/** Repaint the key's separating edge against the same backing as its mark. */
|
|
87
|
+
separation?: SeparationRule;
|
|
88
|
+
/** A formatted figure printed in bold after the name: a treemap group total. */
|
|
89
|
+
value?: string;
|
|
90
|
+
}
|
|
91
|
+
export declare function identityAppearance(item: SeriesIdentity, theme: Theme): string;
|
|
92
|
+
/** Distinct names must have distinct key appearances, on every chart. */
|
|
93
|
+
export declare function identityCollisionWarnings(items: readonly SeriesIdentity[], theme: Theme): LintWarning[];
|
|
94
|
+
/** Reserve authored colours first. Only unspecified series may take another palette colour. */
|
|
95
|
+
export declare function distinguishSeries(items: SeriesIdentity[], explicit: Set<Id>, alternatives: Paint[], theme: Theme): SeriesIdentity[];
|
|
96
|
+
/** Existing required-key policy: direct names must cover every encoding. */
|
|
97
|
+
export declare function keepsUnnamedSeriesKey(type: string): boolean;
|
|
98
|
+
/** These charts cannot name multiple series through their default value labels. */
|
|
99
|
+
export declare function needsSeriesKey(type: string, data: unknown, options?: object, geometry?: Geometry<object, object>): boolean;
|
|
100
|
+
interface ScatterGroupIdentity {
|
|
101
|
+
id: Id;
|
|
102
|
+
label: string;
|
|
103
|
+
pointIds: Id[];
|
|
104
|
+
}
|
|
105
|
+
/** Scatter stores series in point.group, not data.series or mark.owner.seriesId. */
|
|
106
|
+
export declare function scatterGroupIdentities(data: unknown, geometry?: Geometry<object, object>, prefix?: string): ScatterGroupIdentity[];
|
|
107
|
+
/** A group name beside one of its points maps that group's colour directly. */
|
|
108
|
+
export declare function scatterGroupNameIsDrawn(geometry: Geometry<object, object>, group: ScatterGroupIdentity, prefix?: string): boolean;
|
|
109
|
+
/** Stop after the layout resolves its key inputs, before frame or mark geometry. */
|
|
110
|
+
export declare const COLLECT_IDENTITIES: unique symbol;
|
|
111
|
+
export interface IdentityCollectionOptions {
|
|
112
|
+
[COLLECT_IDENTITIES]?: (items: SeriesIdentity[]) => never;
|
|
113
|
+
}
|
|
114
|
+
export declare function identityCollector(options: object): IdentityCollectionOptions;
|
|
115
|
+
export declare function collectSeriesIdentities(layout: (data: unknown, options: any) => unknown, data: unknown, options: object): SeriesIdentity[];
|
|
116
|
+
/** Match a complete name in visible text, never a substring of another word. */
|
|
117
|
+
export declare function textNames(node: SceneNode, name: string): boolean;
|
|
118
|
+
/** A key or direct name maps a series to its marks; prose alone does not. */
|
|
119
|
+
export declare function nameIsDrawn(geometry: Geometry<object, object>, name: string, id?: string): boolean;
|
|
120
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type NumberFormatSpec } from './formatSpec.js';
|
|
2
|
+
import type { LintWarning } from './types/scene.js';
|
|
3
|
+
/** The warning when `rounding: 'sum-consistent'` cannot hold for one whole. */
|
|
4
|
+
export declare function roundingUnavailable(whole: string, reason: string): LintWarning;
|
|
5
|
+
/** One printed share that `rounding: 'sum-consistent'` moved off its nearest rounding. */
|
|
6
|
+
export interface RoundingAdjustment {
|
|
7
|
+
whole: string;
|
|
8
|
+
part: string;
|
|
9
|
+
/** The share in percent, unrounded. */
|
|
10
|
+
share: number;
|
|
11
|
+
/** What the share prints as on its own. */
|
|
12
|
+
nearest: string;
|
|
13
|
+
/** What it prints as, so the whole's shares add up to 100%. */
|
|
14
|
+
printed: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Shares of one whole printed so they add up to 100% (the largest-remainder
|
|
18
|
+
* rule). Every share prints at the finest precision
|
|
19
|
+
* any of them needs, and the gap closes one step at a time on the shares
|
|
20
|
+
* that rounding moved furthest; no share moves a whole step from its value.
|
|
21
|
+
* Null when a share is negative or the shares do not sum to 100.
|
|
22
|
+
* `decimalsOverride` sets one precision across several wholes (a chart-wide share column).
|
|
23
|
+
* Precision above the safe integer limit keeps the shares unchanged and returns a warning.
|
|
24
|
+
*/
|
|
25
|
+
export declare function sumConsistentShares(shares: readonly number[], locale?: string, format?: NumberFormatSpec, decimalsOverride?: number): {
|
|
26
|
+
values: number[];
|
|
27
|
+
texts: string[];
|
|
28
|
+
moved: boolean[];
|
|
29
|
+
warning?: string;
|
|
30
|
+
} | null;
|
|
31
|
+
/**
|
|
32
|
+
* The printed shares of every whole under `rounding: 'sum-consistent'`, keyed
|
|
33
|
+
* by `whole\0part`, and the ones moved off their nearest rounding.
|
|
34
|
+
*/
|
|
35
|
+
export declare function roundWholes(wholes: readonly {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
parts: readonly {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
share: number;
|
|
42
|
+
format?: NumberFormatSpec;
|
|
43
|
+
}[];
|
|
44
|
+
}[], locale?: string, format?: NumberFormatSpec, preserveDistinct?: boolean): {
|
|
45
|
+
texts: Map<string, string>;
|
|
46
|
+
values: Map<string, number>;
|
|
47
|
+
adjustments: RoundingAdjustment[];
|
|
48
|
+
warnings: LintWarning[];
|
|
49
|
+
};
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { type Rect, type Size } from './geometry.js';
|
|
2
|
+
import { type ChartCore, type ChartOptions } from './registry.js';
|
|
3
|
+
import type { Geometry, LayoutResult, RefusedLayout } from './types/scene.js';
|
|
4
|
+
import type { ChartSizing, ResolvedSizing } from './types/sizing.js';
|
|
5
|
+
import type { RenderTarget } from './types/options.js';
|
|
6
|
+
/**
|
|
7
|
+
* The static width floor of the row and band families: a dashboard card. Above it the
|
|
8
|
+
* layout's measured content width gates (`resolveSizing` takes the larger), so a chart
|
|
9
|
+
* draws full where its content fits and compact below that.
|
|
10
|
+
*/
|
|
11
|
+
export declare const CARD_MIN_WIDTH = 280;
|
|
12
|
+
/** Canvases narrower than this are cards: a fill chart there is never shorter than at this width. */
|
|
13
|
+
export declare const CARD_CLASS_WIDTH = 480;
|
|
14
|
+
/**
|
|
15
|
+
* Types whose marks scale with the width take the height of their content,
|
|
16
|
+
* so a narrower card of them may be shorter. Tilemap tiles are the plot width over the columns.
|
|
17
|
+
*/
|
|
18
|
+
export declare const WIDTH_SCALED_TYPES: ReadonlySet<string>;
|
|
19
|
+
/**
|
|
20
|
+
* A received size this many px under a minimum still fits. Browsers lay a card out in
|
|
21
|
+
* fractions of a pixel (777.984375 for a 778 px minimum), and a refusal over 0.016 px
|
|
22
|
+
* leaves an empty box where the chart fits. Every type shares this one tolerance.
|
|
23
|
+
*/
|
|
24
|
+
export declare const SIZE_TOLERANCE = 0.5;
|
|
25
|
+
/**
|
|
26
|
+
* Refuse-less: the plot a pinned frame keeps at the type's hard minimum
|
|
27
|
+
* in place of MIN_COMPACT_PLOT. It holds two labelled value ticks and
|
|
28
|
+
* marks that still read apart; a chart's own measured needs (value rows, end labels) still gate.
|
|
29
|
+
*/
|
|
30
|
+
export declare const HARD_COMPACT_PLOT = 40;
|
|
31
|
+
/** Whether this layout runs at the type's hard minimum (the last fixed-slot step before a refusal). */
|
|
32
|
+
export declare function atHardMinimum(options: unknown): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Value-label rows a chart's plot keeps before a pinned frame gives up: three
|
|
35
|
+
* comfortably, two at the hard minimum, which still holds two labelled value ticks.
|
|
36
|
+
*/
|
|
37
|
+
export declare function plotFloorRows(options: unknown): number;
|
|
38
|
+
/**
|
|
39
|
+
* A diagram's content height may go below the
|
|
40
|
+
* shared 270 px minimum (the customer journey needs 204 px at 960 and 720). A diagram's
|
|
41
|
+
* floor is DIAGRAM_MIN_HEIGHT and its content sets the rest.
|
|
42
|
+
*/
|
|
43
|
+
export declare const DIAGRAM_BELOW_SHARED_MIN = true;
|
|
44
|
+
export declare const DIAGRAM_MIN_HEIGHT = 160;
|
|
45
|
+
/**
|
|
46
|
+
* Default sizing for built-in types and compatible third-party definitions.
|
|
47
|
+
*
|
|
48
|
+
* `options` is read for the one option that moves a floor: a KPI card at
|
|
49
|
+
* `density: 'compact'` keeps the 280 px card floor (CARD_MIN_WIDTH), the
|
|
50
|
+
* tile a dashboard puts nine of in a row. It keeps every part of the card, so
|
|
51
|
+
* this is a smaller card and not a poorer one. A KPI card's height floor is
|
|
52
|
+
* measured from its content like a row chart's: an unsized card takes
|
|
53
|
+
* the height of its content, so a static 144 would pad a value-only card.
|
|
54
|
+
*/
|
|
55
|
+
export declare function chartSizing(type: string, options?: {
|
|
56
|
+
density?: unknown;
|
|
57
|
+
}): ChartSizing;
|
|
58
|
+
/**
|
|
59
|
+
* The sizing contract. A chart its host did not pin (no `options.size`,
|
|
60
|
+
* not a grid panel) takes the height of its content, from title to source:
|
|
61
|
+
* row charts and the creative card through `rowDrivenHeight`, the kpi card
|
|
62
|
+
* and the diagram by laying out again at their measured natural height, a
|
|
63
|
+
* slope in `fitLayout`. A pinned chart keeps its
|
|
64
|
+
* size and grows its rows, cells or cards into the frame up to a thickness
|
|
65
|
+
* cap (`capPitch`); what the cap leaves over stays empty below the content.
|
|
66
|
+
*
|
|
67
|
+
* A height taken from the content is not a canvas proportion, so the
|
|
68
|
+
* canvas-proportion lints (the size ladder, the plot share, the furniture
|
|
69
|
+
* budget, the flat side of the aspect cap) do not judge a chart for
|
|
70
|
+
* which this returns true. `fit` is the definition's declared fit, which a
|
|
71
|
+
* laid-out chart carries as `geometry.sizing.fit` (creative declares its own);
|
|
72
|
+
* without it the built-in policy for the type answers.
|
|
73
|
+
*/
|
|
74
|
+
export declare function contentSized(type: string, options?: {
|
|
75
|
+
size?: unknown;
|
|
76
|
+
}, fit?: ChartSizing['fit']): boolean;
|
|
77
|
+
/** Layout and height warnings use the same definition of an automatic height. */
|
|
78
|
+
export declare function heightOmitted(size: unknown): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* The pitch of `count` rows, cells or cards sharing `room` px of a pinned
|
|
81
|
+
* frame, never thicker than `cap`. Below the cap the content fills the
|
|
82
|
+
* frame; at the cap the rest of the frame stays empty.
|
|
83
|
+
*/
|
|
84
|
+
export declare function capPitch(room: number, count: number, cap: number): number;
|
|
85
|
+
export declare function hostlessHeight(policy: ChartSizing, width: number, fallbackHeight: number, card?: boolean): number;
|
|
86
|
+
/**
|
|
87
|
+
* An automatic height reserves the plot first. The plot
|
|
88
|
+
* keeps at least PLOT_FLOOR_SHARE of the canvas and at least this many px per target; title
|
|
89
|
+
* lines, key, annotations and notes then grow the frame. One value per target: a dashboard
|
|
90
|
+
* card is denser than a page, so it keeps 140 px, every other target 160 px.
|
|
91
|
+
*/
|
|
92
|
+
export declare const PLOT_FLOOR_PX: Readonly<Record<RenderTarget, number>>;
|
|
93
|
+
export declare const PLOT_FLOOR_SHARE = 0.5;
|
|
94
|
+
/** Below this canvas width the automatic height keeps a smaller plot share. */
|
|
95
|
+
export declare const NARROW_SHARE_WIDTH = 600;
|
|
96
|
+
export declare const NARROW_PLOT_FLOOR_SHARE = 0.4;
|
|
97
|
+
/**
|
|
98
|
+
* The plot share an automatic height keeps at this width. A narrow card keeps about 40% plot
|
|
99
|
+
* under a wrapped title, key and notes; 0.5 would make those cards too tall.
|
|
100
|
+
*/
|
|
101
|
+
export declare function plotFloorShare(width: number, options?: object): number;
|
|
102
|
+
/**
|
|
103
|
+
* The plot share the automatic-height search keeps for this chart: plotFloorShare for a 16:9
|
|
104
|
+
* fill chart, 0.5 for a scatter (4:3 start) and a waterfall. The layout scorecard reads
|
|
105
|
+
* the same rule.
|
|
106
|
+
*/
|
|
107
|
+
export declare function autoPlotShare<D, O extends ChartOptions, M extends object, DV extends object>(definition: ChartCore<D, O, M, DV>, options: O | undefined, width: number): number;
|
|
108
|
+
/**
|
|
109
|
+
* The plot share the outermost layout call chose. A narrow card at automatic
|
|
110
|
+
* height keeps 0.4 only when no value moves into a note because of it; the registry then lays
|
|
111
|
+
* the chart out again with 0.5 here and keeps the layout that hides less.
|
|
112
|
+
*/
|
|
113
|
+
export declare const PLOT_SHARE: unique symbol;
|
|
114
|
+
/**
|
|
115
|
+
* Set on a value the layout seats only in its digit seat (a column sliver), after every other
|
|
116
|
+
* label: how the size searches saw it before that seat. `noted` is true where the note would
|
|
117
|
+
* name it; `lineH` is the height of its line box. The searches count it as hidden there, so
|
|
118
|
+
* the seat keeps a value on the chart and never changes the height they choose.
|
|
119
|
+
*/
|
|
120
|
+
export declare const DIGIT_SEAT: unique symbol;
|
|
121
|
+
export interface DigitSeated {
|
|
122
|
+
[DIGIT_SEAT]?: {
|
|
123
|
+
noted: boolean;
|
|
124
|
+
lineH: number;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Values and names a layout hid for want of room: the ones its notes name or count, and the
|
|
129
|
+
* ones a collision or the density thinning hid. An axis tick is not counted.
|
|
130
|
+
*/
|
|
131
|
+
export declare function hiddenForSpace<M extends object, D extends object>(result: LayoutResult<M, D>): number;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the narrow 0.4 share applies to this call: an automatic height below
|
|
134
|
+
* NARROW_SHARE_WIDTH, a 16:9 fill chart that is not a grid panel, and not a scatter or waterfall
|
|
135
|
+
* (both keep 0.5), with no share chosen yet.
|
|
136
|
+
*/
|
|
137
|
+
export declare function narrowShareApplies<D, O extends ChartOptions, M extends object, DV extends object>(definition: ChartCore<D, O, M, DV>, options: O | undefined): boolean;
|
|
138
|
+
/** Header rows inside a plot do not count toward its data-height floor. */
|
|
139
|
+
export declare const PLOT_FLOOR_RECT: unique symbol;
|
|
140
|
+
/**
|
|
141
|
+
* The content plot height. A fill chart whose rows set its plot (dot rows at their pitch)
|
|
142
|
+
* reports the plot height its content needs at this width. An automatic height
|
|
143
|
+
* then gives the plot that height: `exact` takes it as is (it can be above or below the plot
|
|
144
|
+
* floor); otherwise it only caps the plot floor, so a few rows give a shorter canvas. The
|
|
145
|
+
* search stops at the first canvas that holds it. A pinned height ignores it.
|
|
146
|
+
*/
|
|
147
|
+
export declare const CONTENT_PLOT_HEIGHT: unique symbol;
|
|
148
|
+
export interface ContentPlotHeight {
|
|
149
|
+
readonly px: number;
|
|
150
|
+
readonly exact: boolean;
|
|
151
|
+
}
|
|
152
|
+
/** The canvas height at which a laid-out chart's plot meets its floor, assuming the frame around it keeps its height. */
|
|
153
|
+
export declare function plotFloorHeight(geometry: Pick<Geometry, 'size' | 'plot'>, target: RenderTarget, plotPx?: number, share?: number, freed?: number): number;
|
|
154
|
+
/** Includes frame space that a taller chart restores and the chart's certified chrome floor. */
|
|
155
|
+
export declare function plotRepairHeight(geometry: Pick<Geometry, 'size' | 'plot' | 'frame'>, target: RenderTarget): number;
|
|
156
|
+
/**
|
|
157
|
+
* The plot an automatic height reserves, by canvas width: a fill chart gets about 260 px of
|
|
158
|
+
* plot at 960, 235 at 720 and 185-215 on cards, not a 16:9
|
|
159
|
+
* canvas: 150 px + 11.5% of the width, never under the target's plot floor. The
|
|
160
|
+
* chart's frame (title, key, notes) then adds its own height. A pinned height keeps
|
|
161
|
+
* the plain floor (PLOT_FLOOR_PX). The wide class (W-L, from 1080 px) keeps its 16:9 start.
|
|
162
|
+
*/
|
|
163
|
+
export declare function autoPlotPx(target: RenderTarget, width: number): number;
|
|
164
|
+
/**
|
|
165
|
+
* A stacked column reserves more plot than other fill charts. Its columns (column.stacked and
|
|
166
|
+
* column.stacked100) are 229 + 0.116 x width px
|
|
167
|
+
* tall (mean of both; 340 at 960, 266 at 320), autoPlotPx + 80 px. Both sizing paths (the
|
|
168
|
+
* floor search and the column content-fit certificate) read this one plotPx.
|
|
169
|
+
*/
|
|
170
|
+
export declare const STACKED_COLUMN_PLOT_PX = 80;
|
|
171
|
+
/**
|
|
172
|
+
* On a canvas of NARROW_SHARE_WIDTH and wider, a stacked column (not 100%) reserves
|
|
173
|
+
* 65 px. Its tallest stack is 300 px at 960 and 288 at 720, shorter than the
|
|
174
|
+
* 100% columns (340, 330) that the shared mean also fits; the mean would be 25 px too tall at 960.
|
|
175
|
+
* Its cards (276, 259, 240 px) match the mean and keep it.
|
|
176
|
+
*/
|
|
177
|
+
export declare const STACKED_COLUMN_WIDE_PLOT_PX = 65;
|
|
178
|
+
export declare function stackedColumnPlotPx(type: string, options: object | undefined, width?: number): number;
|
|
179
|
+
/**
|
|
180
|
+
* A 100% area reserves 40 px more plot. Its 0-100% band is
|
|
181
|
+
* 310/280/250/240/240 px at 960-320; autoPlotPx alone gives 268/241/213 (-11 to -15%).
|
|
182
|
+
*/
|
|
183
|
+
export declare const AREA100_PLOT_PX = 40;
|
|
184
|
+
/**
|
|
185
|
+
* An absolute variance reserves 45 px more plot from CARD_CLASS_WIDTH up. Its cards
|
|
186
|
+
* are 491/472/459 px at 960/720/480; autoPlotPx alone gives 451/424/387 (-8 to -16%), and the bars
|
|
187
|
+
* are the short part. Its narrow cards (448/408 at 400/320) already get 416 px without it.
|
|
188
|
+
*/
|
|
189
|
+
export declare const VARIANCE_ABSOLUTE_PLOT_PX = 45;
|
|
190
|
+
/**
|
|
191
|
+
* Below NARROW_SHARE_WIDTH a relative variance and a unit Mekko reserve less plot.
|
|
192
|
+
* Their cards need a shorter plot than autoPlotPx on a card: the relative variance's
|
|
193
|
+
* value span is 174/154/152 px at 480/400/320 (autoPlotPx gives 196/186/186), and the unit Mekko
|
|
194
|
+
* card is 426/424 px at 480/400 (autoPlotPx gives 467/467).
|
|
195
|
+
*/
|
|
196
|
+
export declare const VARIANCE_RELATIVE_NARROW_PLOT_PX = -25;
|
|
197
|
+
export declare const MEKKO_UNIT_NARROW_PLOT_PX = -40;
|
|
198
|
+
/** The plot an automatic height reserves on top of autoPlotPx for this type and variant (negative: less). */
|
|
199
|
+
export declare function typePlotPx(type: string, options: object | undefined, width?: number): number;
|
|
200
|
+
export declare function resolveSizing(policy: ChartSizing, size: Size, measured?: Partial<ResolvedSizing>): ResolvedSizing;
|
|
201
|
+
/** Layouts supply their measured headers, footers, rows and existing tracks. */
|
|
202
|
+
export declare function rowSizing(type: string, size: Size, input: {
|
|
203
|
+
chromeH: number;
|
|
204
|
+
minimumRowsH: number;
|
|
205
|
+
naturalRowsH: number;
|
|
206
|
+
minWidth?: number;
|
|
207
|
+
naturalWidth?: number;
|
|
208
|
+
/** What forces the width, named in the size refusal. */
|
|
209
|
+
hint?: string;
|
|
210
|
+
}): ResolvedSizing;
|
|
211
|
+
/** Natural content bounds include the frame's measured surrounding text. */
|
|
212
|
+
export declare function contentSizing(type: string, size: Size, plot: Rect, rects: readonly Rect[], square?: boolean): ResolvedSizing;
|
|
213
|
+
/**
|
|
214
|
+
* The band step a chart is comfortable at. Derived from the library's own
|
|
215
|
+
* floors, not from taste: six categories on the registered 480px column
|
|
216
|
+
* minimum get a 58px step, and `resolveSizing` already treats 1.25x a minimum
|
|
217
|
+
* as comfortable.
|
|
218
|
+
*/
|
|
219
|
+
export declare const NATURAL_BAND_STEP = 72;
|
|
220
|
+
/**
|
|
221
|
+
* Natural width for a chart whose categories sit on a band scale.
|
|
222
|
+
* Bands stretch to whatever width the frame hands them, so an over-wide frame
|
|
223
|
+
* produces over-wide columns and reserved gutters instead of clean free space.
|
|
224
|
+
* This reports the canvas width at which the step reaches NATURAL_BAND_STEP,
|
|
225
|
+
* so a host can shrink the frame. Laying out again at that width returns the
|
|
226
|
+
* same number, which is why honouring it cannot turn into a width loop.
|
|
227
|
+
*/
|
|
228
|
+
export declare function bandSizing(type: string, size: Size, plotW: number, step: number, minPlotW?: number): ResolvedSizing;
|
|
229
|
+
/**
|
|
230
|
+
* Minimum tracks preserve header thinning; natural tracks show every heading
|
|
231
|
+
* and every in-cell value (`cell`, the widest value's box).
|
|
232
|
+
*/
|
|
233
|
+
export declare function matrixWidths(chromeW: number, columns: number, gap: number, headers: readonly number[], cell?: number): {
|
|
234
|
+
minWidth: number;
|
|
235
|
+
naturalWidth: number;
|
|
236
|
+
};
|
|
237
|
+
/** Whether a received size meets a type's minimum, within SIZE_TOLERANCE px on each axis. */
|
|
238
|
+
export declare function fitsSize(size: Size, sizing: Pick<ChartSizing, 'minWidth' | 'minHeight'>): boolean;
|
|
239
|
+
export declare function sizeRefusal(type: string, title: string, size: Size, sizing: ResolvedSizing): RefusedLayout;
|
|
240
|
+
/** Measurement can spend layouts to find a working size. Render keeps its estimate. */
|
|
241
|
+
export declare function verifiedSizeRepair(initial: Size, accepts: (size: Size) => boolean): {
|
|
242
|
+
size?: Size;
|
|
243
|
+
limit: Size;
|
|
244
|
+
};
|
|
245
|
+
/** Artifact paths fail before extracting claims or serializing a placeholder. */
|
|
246
|
+
export declare function requireGeometry<M extends object, D extends object>(result: LayoutResult<M, D>): Geometry<M, D>;
|
|
247
|
+
/**
|
|
248
|
+
* The floor a request is measured against: the definition's own, unless an
|
|
249
|
+
* option moves it. `chartSizing` answers for a type and for the options it
|
|
250
|
+
* was called with, and the two differ in two cases: a KPI card at
|
|
251
|
+
* `density: 'compact'` stands 280 wide, a bullet 120. A definition that
|
|
252
|
+
* brought a floor of its own keeps it everywhere else.
|
|
253
|
+
*/
|
|
254
|
+
export declare function declaredSizing<D, O extends ChartOptions, M extends object, DV extends object>(definition: ChartCore<D, O, M, DV>, options?: O): ChartSizing;
|
|
255
|
+
export declare function fitLayout<D, O extends ChartOptions, M extends object, DV extends object>(definition: ChartCore<D, O, M, DV>, data: D, options?: O): LayoutResult<M, DV>;
|
|
256
|
+
export type FitLayout<O extends ChartOptions, M extends object, DV extends object> = ((options?: O) => LayoutResult<M, DV>) & {
|
|
257
|
+
finish(): void;
|
|
258
|
+
};
|
|
259
|
+
/** One stable frame-content variant, owned by one registry call. */
|
|
260
|
+
export declare function prepareFitLayout<D, O extends ChartOptions, M extends object, DV extends object>(definition: ChartCore<D, O, M, DV>, data: D, origins?: WeakMap<object, object>): FitLayout<O, M, DV>;
|
|
261
|
+
/**
|
|
262
|
+
* a label drawn on the chart beats a label listed in a note. When the host left the
|
|
263
|
+
* height open and the first layout names labels in its note, the chart tries the next taller
|
|
264
|
+
* height steps of the standard ladder (std, a4, tall at its width) and takes the first at which
|
|
265
|
+
* no label is left to the note. When no step does, more height does not help and the first
|
|
266
|
+
* layout stands, note and all. A pinned height always stands: the note is
|
|
267
|
+
* the way out there.
|
|
268
|
+
*/
|
|
269
|
+
/** The most an automatic card height grows past its floor so that no label goes to the note. */
|
|
270
|
+
export declare const NOTE_GROWTH_SHARE = 0.25;
|
|
271
|
+
/** The share of the canvas height outside the frame's plot band, with the axis-label row counted in. */
|
|
272
|
+
export declare function furnitureShare<M extends object, DV extends object>(geo: Geometry<M, DV>): number;
|
|
273
|
+
/**
|
|
274
|
+
* Set by the last fixed-slot step: the type draws at its hard minimum instead of
|
|
275
|
+
* its comfortable one. A bar's rows then hold their category text but not each segment label.
|
|
276
|
+
*/
|
|
277
|
+
export declare const HARD_MINIMUM: unique symbol;
|
|
278
|
+
/** Set by the registry's outermost layout call: draw compact, because full mode lacked room on a pinned canvas. */
|
|
279
|
+
/** A prepared runner belongs to one layout or measure call. */
|
|
280
|
+
export declare const LAYOUT_CALL: unique symbol;
|
|
281
|
+
export declare const FULL_LAYOUT_PROBE: unique symbol;
|
|
282
|
+
/** Only explicit measurement may spend layouts to verify repair advice. */
|
|
283
|
+
export declare const VERIFY_ADVICE: unique symbol;
|
|
284
|
+
export type LayoutCall<O extends ChartOptions = ChartOptions, M extends object = object, DV extends object = object> = ((options?: O) => LayoutResult<M, DV>) & {
|
|
285
|
+
finish(): void;
|
|
286
|
+
accepts(data: unknown, options?: O): boolean;
|
|
287
|
+
probe(options?: O): LayoutResult<M, DV>;
|
|
288
|
+
};
|
|
289
|
+
export declare const FORCE_COMPACT: unique symbol;
|
|
290
|
+
/** The owning chart's width-only search; its rejected probes do not need repair advice. */
|
|
291
|
+
export declare const WIDTH_PROBE: unique symbol;
|
|
292
|
+
export declare const FIXED_SIZE_PROBE: unique symbol;
|
|
293
|
+
/** Set by a probe that reads only whether the chart draws (`isRefused`): it skips work that only words a warning. */
|
|
294
|
+
export declare const ACCEPTANCE_PROBE: unique symbol;
|
|
295
|
+
export declare function isWidthProbe(type: string, options: ChartOptions | undefined): boolean;
|
|
296
|
+
/**
|
|
297
|
+
* Options without the FORCE_COMPACT marker. The registry's size probes ask the chart what it needs
|
|
298
|
+
* at another size and must not inherit the marker of the call that made them: a probe that drew
|
|
299
|
+
* compact would hide that the full chart lacks room there.
|
|
300
|
+
*/
|
|
301
|
+
export declare function withoutForcedCompact<T>(options: T): T;
|
|
302
|
+
/**
|
|
303
|
+
* Whether a full-mode size refusal falls back to compact: a pinned canvas, a type with a compact
|
|
304
|
+
* floor, no `belowMinimum: 'refuse'`. A pinned width alone counts too:
|
|
305
|
+
* full runs first, and with the height left to the chart its size refusal can only be on width.
|
|
306
|
+
*/
|
|
307
|
+
export declare function compactFallbackApplies<D, O extends ChartOptions, M extends object, DV extends object>(definition: ChartCore<D, O, M, DV>, options?: O, data?: D): boolean;
|
|
308
|
+
/**
|
|
309
|
+
* A full refusal of a FALLBACK_COMPACT type that the registry's layoutFitted replaces with the
|
|
310
|
+
* compact form at the same size: its drawing, or its own size refusal. A repair search for the
|
|
311
|
+
* full refusal is then lost work.
|
|
312
|
+
*/
|
|
313
|
+
export declare function compactReplacesRefusal<D, O extends ChartOptions, M extends object, DV extends object>(definition: ChartCore<D, O, M, DV>, options: O | undefined, data: D): boolean;
|
|
314
|
+
/** Shared only by the owning top-level call and its wider-card probes. */
|
|
315
|
+
export declare const CARD_HEIGHT_MEMO: unique symbol;
|
|
316
|
+
export interface CardHeightMemo {
|
|
317
|
+
type: string;
|
|
318
|
+
active: boolean;
|
|
319
|
+
heights: Map<string, number | undefined>;
|
|
320
|
+
references?: {
|
|
321
|
+
data: unknown;
|
|
322
|
+
options: ChartOptions;
|
|
323
|
+
height: number | undefined;
|
|
324
|
+
restore?: () => void;
|
|
325
|
+
}[];
|
|
326
|
+
}
|
|
327
|
+
/** A chart-owned wider-card request shares the current call's dependency results. */
|
|
328
|
+
export declare function cardReferenceHeight<D, O extends ChartOptions>(data: D, options: O, wider: O, draw: (options: O) => LayoutResult, capture?: () => () => void): number | undefined;
|
|
329
|
+
/** Run one top-level layout call with a fresh full-layout memo; nested calls share it. */
|
|
330
|
+
export declare function withLayoutMemo<T>(run: () => T): T;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Geometry, LayoutResult } from './types/scene.js';
|
|
2
|
+
/** Reserve static text in pinned frames; automatic frames can extend below their plot. */
|
|
3
|
+
export declare function layoutWithStaticFooter<D, O extends object, M extends object, DV extends object>(layout: (data: D, options?: O) => LayoutResult<M, DV>, data: D, options?: O, type?: string): LayoutResult<M, DV>;
|
|
4
|
+
/** The footer height the hidden notes that name values would take if they printed (a list note keeps two lines). */
|
|
5
|
+
export declare function hiddenValueNoteHeight(geo: Geometry<object, object>): number;
|
|
6
|
+
export declare function linkStaticFooter(): void;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The story layer (options.story): a sequence of steps over one laid-out
|
|
3
|
+
* chart. A step fades every mark it does not name and sets the names it
|
|
4
|
+
* does in bold; a panel holds the step's title and body. Positions never
|
|
5
|
+
* change between steps: the chart is laid out once, the panel is placed
|
|
6
|
+
* once, at the size the longest step needs, and a step changes paint only.
|
|
7
|
+
*
|
|
8
|
+
* The scene carries the static step (`story.step`), so SVG, PNG and a server
|
|
9
|
+
* render draw it with no further work. `storyScene` turns that scene into
|
|
10
|
+
* any other step for an interactive renderer.
|
|
11
|
+
*/
|
|
12
|
+
import { type TextMeasurer } from './text.js';
|
|
13
|
+
import type { BaseOptions, LocaleSpec, RenderTarget, StorySpec, StringsSpec } from './types/options.js';
|
|
14
|
+
import type { Geometry, LayoutResult } from './types/scene.js';
|
|
15
|
+
import type { ThemeRef } from './types/theme.js';
|
|
16
|
+
interface StoryOptions extends Pick<BaseOptions, 'margin' | 'canvas'> {
|
|
17
|
+
story?: StorySpec;
|
|
18
|
+
locale?: LocaleSpec;
|
|
19
|
+
theme?: ThemeRef;
|
|
20
|
+
target?: RenderTarget;
|
|
21
|
+
measure?: TextMeasurer;
|
|
22
|
+
strings?: StringsSpec;
|
|
23
|
+
size?: {
|
|
24
|
+
width?: number;
|
|
25
|
+
height?: number;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/** The chart's layout without the story pass, to lay it out again at another size. */
|
|
29
|
+
type Relayout = (data: unknown, options: object) => LayoutResult;
|
|
30
|
+
/**
|
|
31
|
+
* The story pass. `relayout` lays the chart out again at another canvas size,
|
|
32
|
+
* to reserve a right column or a block below the x axis.
|
|
33
|
+
*/
|
|
34
|
+
export declare function applyStory(geo: Geometry<object, object>, data: unknown, options: StoryOptions, relayout: Relayout): LayoutResult<object, object>;
|
|
35
|
+
/**
|
|
36
|
+
* The scene and description of step `index`, from a scene that shows any
|
|
37
|
+
* step. `interactive` adds the button row and the counter. Paint and text
|
|
38
|
+
* weight change; no position does.
|
|
39
|
+
*/
|
|
40
|
+
export declare function storyView(geometry: Pick<Geometry, 'scene' | 'a11y' | 'story'>, index: number, interactive: boolean): Pick<Geometry, 'scene' | 'a11y'>;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Structural counts, recorded by the layout that writes the description. */
|
|
2
|
+
export declare const STRUCTURE_COUNT_KINDS: readonly ['categories', 'series', 'reference-series', 'causes', 'columns', 'rows', 'points', 'groups', 'stages', 'slices', 'panels', 'nodes', 'relationships', 'regions', 'cohorts', 'periods', 'cells', 'cases', 'bands', 'events', 'markers', 'phases', 'observations', 'statements', 'scale-points', 'activities', 'methods', 'drivers', 'flows'];
|
|
3
|
+
export interface StructureCount {
|
|
4
|
+
what: typeof STRUCTURE_COUNT_KINDS[number];
|
|
5
|
+
n: number;
|
|
6
|
+
/** Exact phrase in the accessible description. */
|
|
7
|
+
text: string;
|
|
8
|
+
}
|
|
9
|
+
import type { BaseOptions } from './types/options.js';
|
|
10
|
+
export declare function structureCount(what: StructureCount['what'], n: number, text?: string | undefined, options?: Pick<BaseOptions, 'locale' | 'strings'>): StructureCount;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Framework-free SVG serializer. React and the CLI are both
|
|
3
|
+
* folds over the same scene; this is the canonical text fold. Deterministic:
|
|
4
|
+
* same geometry + theme ⇒ identical bytes.
|
|
5
|
+
*/
|
|
6
|
+
import type { Geometry } from '../types/scene.js';
|
|
7
|
+
import type { Theme } from '../types/theme.js';
|
|
8
|
+
export interface RenderSvgOptions {
|
|
9
|
+
/** Draw the theme canvas (default) or leave the outer canvas transparent (`false`). */
|
|
10
|
+
background?: boolean;
|
|
11
|
+
/** Emit progressive-enhancement metadata without changing chart geometry. */
|
|
12
|
+
interactive?: boolean;
|
|
13
|
+
/** Claim records for this chart; only records with matching nodeIds are marked. */
|
|
14
|
+
claims?: readonly {
|
|
15
|
+
id: string;
|
|
16
|
+
nodeId?: string;
|
|
17
|
+
}[];
|
|
18
|
+
/**
|
|
19
|
+
* Suffix that makes every `id` this SVG emits unique inside a HOST document.
|
|
20
|
+
*
|
|
21
|
+
* The ids in the output are the description (`bp-desc`), the optional title
|
|
22
|
+
* and the hatch pattern defs. The patterns are content-addressed so identical
|
|
23
|
+
* patterns dedupe *within* one chart, which is exactly what makes them
|
|
24
|
+
* collide *across* charts: two exhibits with the same forecast hatch emit the
|
|
25
|
+
* same `id="bp-hatch-…"`, and a host page that inlines both holds ONE
|
|
26
|
+
* document. Duplicate ids are invalid HTML and make `url(#…)` ambiguous; a
|
|
27
|
+
* chart hidden in a closed `<details>` then takes the visible chart's hatch
|
|
28
|
+
* with it.
|
|
29
|
+
*
|
|
30
|
+
* Every exporter passes one: the CLI and MCP render the spec's source hash,
|
|
31
|
+
* the React export the same hash of its request. A caller that inlines
|
|
32
|
+
* charts it serializes itself MUST pass a scope unique per placement.
|
|
33
|
+
*/
|
|
34
|
+
idScope?: string;
|
|
35
|
+
}
|
|
36
|
+
/** Distinguishable so callers can add the node context they own without
|
|
37
|
+
* re-wording the serializer's other fail-closed errors. */
|
|
38
|
+
export declare class XmlCharError extends Error {
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Baseline offset from the top of the line box, as a fraction of
|
|
42
|
+
* font-size. Node y-coordinates are line-box TOPS (layout convention);
|
|
43
|
+
* the renderer emits the baseline explicitly because WebKit ignores
|
|
44
|
+
* dominant-baseline="text-before-edge". 0.88 matches the visual position
|
|
45
|
+
* text-before-edge produced in spec-correct rasterizers (A/B verified)
|
|
46
|
+
* and equals the table layout's NOTE_BASELINE_LOCK.
|
|
47
|
+
*/
|
|
48
|
+
/** Baseline offset from the line-box top as a fraction of font size (Helvetica/Arial ascent). */
|
|
49
|
+
export declare const TEXT_ASCENT = 0.88;
|
|
50
|
+
/** Public rendering never rounds data-driven colors. */
|
|
51
|
+
export declare function renderSvg(geometry: Geometry, theme: Theme, opts?: RenderSvgOptions): string;
|