boardplot 0.56.0 → 0.57.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 +110 -0
- package/README.md +3 -3
- package/dist/{ReaderBox-GLCKYXBU.js → ReaderBox-GCIITQCX.js} +4 -4
- package/dist/{annotateEngine-QVNAE3EH.js → annotateEngine-JMZI6QEG.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-CKGSGRP7.js → chunk-26WNBTWB.js} +20 -4
- package/dist/{chunk-UBCVBBJJ.js → chunk-2AJWRVZ2.js} +4 -3
- package/dist/{chunk-XMP2DNLI.js → chunk-2BHLRHF2.js} +2 -2
- package/dist/{chunk-2NRHD2G7.js → chunk-2HD5RY2U.js} +11 -3
- package/dist/{chunk-6QDMRPXI.js → chunk-2I76VFMZ.js} +184 -239
- package/dist/{chunk-XC5IRUEL.js → chunk-2KCK63DD.js} +2 -2
- package/dist/{chunk-ZEYBI47P.js → chunk-2WTD3GCR.js} +11 -3
- package/dist/{chunk-BTDGWHGJ.js → chunk-2X6XY4K4.js} +4 -4
- package/dist/{chunk-5S3JQ5AT.js → chunk-3DUGZ7ML.js} +149 -118
- package/dist/{chunk-JTFKRDDA.js → chunk-3LNVEE5Z.js} +1 -1
- package/dist/{chunk-JCAGVAB3.js → chunk-43PCSBVQ.js} +563 -10
- package/dist/{chunk-F2EVCJ4U.js → chunk-4JNHF6JW.js} +10 -10
- package/dist/{chunk-ECBUFKCP.js → chunk-4RN4OM6I.js} +3 -3
- package/dist/{chunk-A2GAWGVJ.js → chunk-4U2WSW6F.js} +20 -20
- package/dist/{chunk-CCDXK5NA.js → chunk-53OEKS4L.js} +5 -3
- package/dist/{chunk-YPYD6OJ3.js → chunk-54HEIM2A.js} +2 -2
- package/dist/{chunk-IGJ2G5C6.js → chunk-5H4HFRDO.js} +6 -6
- package/dist/{chunk-EMFUZKYK.js → chunk-5HTGSB6Y.js} +3 -3
- package/dist/{chunk-WXJ5MHLH.js → chunk-5JTRCSBN.js} +1 -1
- package/dist/{chunk-67QSW5RW.js → chunk-5P4MXWKP.js} +3 -3
- package/dist/{chunk-EBB4PYBN.js → chunk-5RHP7YTL.js} +5 -5
- package/dist/{chunk-VVXKFU72.js → chunk-5TUDYKNL.js} +35 -27
- package/dist/{chunk-HZUAEMN5.js → chunk-5WSIH4SR.js} +1 -1
- package/dist/{chunk-KF7HD3EH.js → chunk-62JZL6FW.js} +43 -35
- package/dist/{chunk-S7NRL66K.js → chunk-6EE6XEMA.js} +4 -4
- package/dist/chunk-6JXBLQJ2.js +32 -0
- package/dist/{chunk-KBJMLXNW.js → chunk-6KHRMK3I.js} +14 -14
- package/dist/{chunk-2DOEZ5QY.js → chunk-6LQKU6YN.js} +4 -4
- package/dist/chunk-6VU2XI3W.js +89 -0
- package/dist/{chunk-DQ7YMQVX.js → chunk-6WJOHZPW.js} +5 -5
- package/dist/{chunk-ZMPH2OC4.js → chunk-6XU5XGYV.js} +7 -8
- package/dist/{chunk-MAFPVR4G.js → chunk-6ZN2XJFI.js} +10 -5
- package/dist/{chunk-PQLAZEQV.js → chunk-72OJBDRB.js} +204 -59
- package/dist/{chunk-T2YDWT54.js → chunk-73O6AOAA.js} +43 -30
- package/dist/{chunk-4JHMCXOB.js → chunk-76UL4CT4.js} +60 -24
- package/dist/chunk-7BQK2UDV.js +13 -0
- package/dist/{chunk-7PPMT5EJ.js → chunk-7EQU2TUN.js} +300 -64
- package/dist/{chunk-2HTYGMMG.js → chunk-7FAO4ICF.js} +2 -2
- package/dist/{chunk-6WHWXCHJ.js → chunk-7MYJUJZV.js} +6 -2
- package/dist/{chunk-CB4CERXZ.js → chunk-7P7D6WXR.js} +11 -2
- package/dist/{chunk-RT66UTLJ.js → chunk-A33MFWHW.js} +2 -2
- package/dist/{chunk-4JC3SE4G.js → chunk-A6XCVOC5.js} +1 -1
- package/dist/{chunk-QWCLWFKC.js → chunk-AFA32LHN.js} +132 -36
- package/dist/{chunk-T2CYNDYU.js → chunk-AFGQXMKT.js} +235 -80
- package/dist/{chunk-HOU2MZHC.js → chunk-AKJO6N4K.js} +2 -2
- package/dist/{chunk-MRAP2UVV.js → chunk-ANNQJWDX.js} +10 -10
- package/dist/{chunk-LGNJCPFP.js → chunk-AOIZJ7GR.js} +7 -7
- package/dist/chunk-B5A7X2BA.js +44 -0
- package/dist/{chunk-SS4YGK3E.js → chunk-BDCKHLUB.js} +15 -15
- package/dist/{chunk-XHRUXZD7.js → chunk-BFDPY7JM.js} +10 -3
- package/dist/{chunk-BK6P6KMW.js → chunk-BM2A3IGQ.js} +1 -1
- package/dist/{chunk-GQT2SY2S.js → chunk-BO5EJBLH.js} +247 -127
- package/dist/chunk-BQIADGJB.js +23 -0
- package/dist/{chunk-PJBEJR2U.js → chunk-BY5JGQFZ.js} +24 -7
- package/dist/{chunk-SXD3OYAR.js → chunk-C5SQEYTQ.js} +76 -55
- package/dist/{chunk-3465633G.js → chunk-CEMXGMQN.js} +2 -2
- package/dist/{chunk-AMR4SUAN.js → chunk-CIDOL4FO.js} +5 -5
- package/dist/{chunk-E7V3OHQQ.js → chunk-CT4RFZO4.js} +6 -6
- package/dist/{chunk-7Q37C6GZ.js → chunk-CV3NC75L.js} +1 -1
- package/dist/{chunk-FFJGC2DX.js → chunk-D3PQAVFW.js} +22 -12
- package/dist/{chunk-52WNCUIN.js → chunk-D5G67OER.js} +1 -1
- package/dist/{chunk-MOS6WFWM.js → chunk-D5RAVZ5C.js} +6 -7
- package/dist/{chunk-FNRPQIQE.js → chunk-DJBMA4FW.js} +4 -4
- package/dist/{chunk-4DZFR52I.js → chunk-DPUCT567.js} +2 -2
- package/dist/{chunk-TE4M52AA.js → chunk-DYSEZVIJ.js} +18 -2
- package/dist/{chunk-SA46CNMS.js → chunk-ED7GLWTF.js} +4 -1
- package/dist/{chunk-R5MEBBAA.js → chunk-EDBUVDRI.js} +117 -67
- package/dist/{chunk-TUW5IYGA.js → chunk-EEBMK6T6.js} +6 -6
- package/dist/{chunk-RLMC5CUP.js → chunk-EEL2N4Y6.js} +7 -8
- package/dist/{chunk-CF4NMRN7.js → chunk-EFKFZNQC.js} +24 -18
- package/dist/{chunk-UPTXFTKH.js → chunk-EHNGPUTO.js} +6 -6
- package/dist/{chunk-BISJK67O.js → chunk-EHQLLZCQ.js} +48 -21
- package/dist/{chunk-U3A6FMSI.js → chunk-EWR6WVOV.js} +6 -6
- package/dist/{chunk-RMC4OONA.js → chunk-EY4OA4OF.js} +985 -663
- package/dist/{chunk-YYJORENB.js → chunk-F4JAGDPD.js} +5 -5
- package/dist/{chunk-ZY72LSQK.js → chunk-FAFUMSPR.js} +33 -24
- package/dist/{chunk-CYKXROFG.js → chunk-FERP4WS3.js} +19 -9
- package/dist/{chunk-N5HN5QGH.js → chunk-FF7MV4D4.js} +1 -1
- package/dist/{chunk-O7REHICC.js → chunk-FJKFYQ5I.js} +10 -10
- package/dist/chunk-FL3FQ2YA.js +27 -0
- package/dist/{chunk-YOOHNQ3L.js → chunk-FX5VZK5F.js} +4 -0
- package/dist/{chunk-7M2GK7XQ.js → chunk-G5BUGYIL.js} +68 -16
- package/dist/{chunk-QZIHKQRH.js → chunk-G5CELEUR.js} +6 -6
- package/dist/{chunk-ZJFJ2IKQ.js → chunk-GADI2DU7.js} +11 -10
- package/dist/{chunk-F6OLHND5.js → chunk-GAFEN3H7.js} +2 -2
- package/dist/{chunk-GM3EGUYW.js → chunk-GHFTKVJN.js} +1 -1
- package/dist/chunk-GKDUIDU6.js +138 -0
- package/dist/{chunk-OJ5CQV7H.js → chunk-GKQLKUMF.js} +186 -82
- package/dist/{chunk-EGGDPDYJ.js → chunk-GS5UG6QD.js} +1 -1
- package/dist/{chunk-5TWY3ZIC.js → chunk-H2POQ4LB.js} +5 -5
- package/dist/{chunk-KD5GOR2K.js → chunk-H3EWFSWI.js} +93 -52
- package/dist/{chunk-CHAS5A5B.js → chunk-H6EJ63QN.js} +18 -16
- package/dist/{chunk-GIHH6VC2.js → chunk-HB3TH7GY.js} +3 -3
- package/dist/{chunk-FMDNJ6PC.js → chunk-HC6WHTBX.js} +2 -2
- package/dist/{chunk-63Y3ROZ7.js → chunk-HDSHS2QZ.js} +45 -30
- package/dist/{chunk-KTHFHD6C.js → chunk-HFFKN7PA.js} +11 -6
- package/dist/{chunk-QSMGZOT5.js → chunk-HGPFEG2L.js} +7 -8
- package/dist/{chunk-2YO4WRJN.js → chunk-HVX2E26J.js} +35 -25
- package/dist/{chunk-KLB2QC24.js → chunk-I3DLERI7.js} +1 -1
- package/dist/{chunk-SPSGUFTI.js → chunk-I4NUYVP5.js} +1 -1
- package/dist/{chunk-LKMFMNQX.js → chunk-I5ZADE2U.js} +1 -1
- package/dist/{chunk-CPGASWNN.js → chunk-I65OLJ2X.js} +1 -1
- package/dist/{chunk-SRAV6FPB.js → chunk-I6QGYRY4.js} +3 -3
- package/dist/{chunk-NCLRZQR6.js → chunk-I7KDPCC7.js} +3 -3
- package/dist/{chunk-6EYTD777.js → chunk-IFURKTOL.js} +2 -2
- package/dist/{chunk-Y54LU4CU.js → chunk-IPWUBZ4P.js} +1 -1
- package/dist/{chunk-BIGQKCU7.js → chunk-IRXTNSZL.js} +9 -9
- package/dist/{chunk-2FKEF2AC.js → chunk-IUVJVMKS.js} +11 -11
- package/dist/{chunk-ZKJ5L35C.js → chunk-IVQT2E3Y.js} +28 -17
- package/dist/{chunk-7DAH2E4T.js → chunk-IW3YUMPI.js} +2 -2
- package/dist/chunk-IXM6BAM4.js +53 -0
- package/dist/{chunk-YMTXTQCN.js → chunk-IZRTNCJQ.js} +5 -5
- package/dist/{chunk-QGFKSDQO.js → chunk-J22ETKDJ.js} +2 -2
- package/dist/{chunk-HJRNBKIT.js → chunk-JARJP576.js} +3 -3
- package/dist/{chunk-DD6RVD3S.js → chunk-JHWDTV4K.js} +5 -1
- package/dist/{chunk-P4SMC4BY.js → chunk-JIH52I36.js} +79 -79
- package/dist/{chunk-KQCKK3LD.js → chunk-JKXJWCJ5.js} +69 -34
- package/dist/{chunk-WI5VOSQX.js → chunk-JMOBA5ES.js} +2 -2
- package/dist/{chunk-AGDDH6XY.js → chunk-JMXNXLAC.js} +5 -1
- package/dist/{chunk-R2IKOLBK.js → chunk-JRRSKCGG.js} +3 -3
- package/dist/{chunk-IVRYF7QA.js → chunk-JSA3ESEJ.js} +1 -1
- package/dist/{chunk-WBETBGSC.js → chunk-K6Y4HBK7.js} +31 -31
- package/dist/{chunk-Z55DXFWS.js → chunk-KAAB2DIV.js} +23 -13
- package/dist/{chunk-UZLR25BW.js → chunk-KF3ZHLHQ.js} +7 -8
- package/dist/{chunk-GELSK76Y.js → chunk-KGS5Z7SL.js} +3 -3
- package/dist/{chunk-E2ZUBP4Q.js → chunk-KIXNHDXS.js} +7 -8
- package/dist/{chunk-7VMEM3LN.js → chunk-KJLH5EHD.js} +26 -26
- package/dist/{chunk-KLIZXSBK.js → chunk-KLQKHA3T.js} +6 -6
- package/dist/chunk-KQ2WZ6BY.js +11 -0
- package/dist/{chunk-DF3XEFQ7.js → chunk-KUMJI5B6.js} +10 -10
- package/dist/{chunk-SE7MJ2LQ.js → chunk-L2XRUG4P.js} +7 -8
- package/dist/{chunk-JYBT2JNY.js → chunk-LE3LSEUL.js} +27 -2
- package/dist/{chunk-75WIUG2W.js → chunk-LFX5BERN.js} +140 -60
- package/dist/{chunk-MJPXHCBW.js → chunk-LGMV7ZV4.js} +4 -4
- package/dist/{chunk-3V62N3Z7.js → chunk-LO3AGGE3.js} +7 -8
- package/dist/{chunk-7KSUMFBK.js → chunk-LSKCKGCF.js} +5 -1
- package/dist/{chunk-NHC2ADGI.js → chunk-LSR3SBJ4.js} +45 -34
- package/dist/{chunk-V634AXDM.js → chunk-LUZ7HXBT.js} +1 -1
- package/dist/{chunk-5PPQIF4D.js → chunk-LW4ZQGVL.js} +2 -2
- package/dist/{chunk-H3IBJQ5A.js → chunk-M2OQK2FO.js} +1 -1
- package/dist/{chunk-4LTN7SND.js → chunk-M74H7QYD.js} +1 -1
- package/dist/{chunk-TXBO2LWM.js → chunk-MOQFYJ3F.js} +6 -6
- package/dist/{chunk-VPL3JYC6.js → chunk-MQ5EKWIG.js} +51 -9
- package/dist/{chunk-X3KCQEYZ.js → chunk-MTCDGSYW.js} +9 -1
- package/dist/{chunk-FCECYJVA.js → chunk-NCCDEUHD.js} +1 -1
- package/dist/{chunk-IGVAWAOK.js → chunk-NIDH22DI.js} +31 -7
- package/dist/{chunk-5DTCOOLU.js → chunk-NINK4G7U.js} +2 -2
- package/dist/{chunk-HHXIVFAU.js → chunk-NO7GRVUU.js} +10 -8
- package/dist/{chunk-X23SZHV5.js → chunk-NRYERHEI.js} +6 -6
- package/dist/{chunk-V5JQQMFQ.js → chunk-O4D27FKH.js} +1 -1
- package/dist/{chunk-I7H5DU34.js → chunk-O7Y6RJ4D.js} +21 -9
- package/dist/{chunk-2NN676RI.js → chunk-OAT6FWKL.js} +7 -8
- package/dist/{chunk-JHWYG7V5.js → chunk-OF7FMGH5.js} +6 -6
- package/dist/{chunk-GLQ3KCTY.js → chunk-OKM5LYYP.js} +7 -8
- package/dist/{chunk-JCIXYOND.js → chunk-OTGNVAI4.js} +2 -2
- package/dist/{chunk-EIL3KHAL.js → chunk-PSYPB22T.js} +3 -3
- package/dist/{chunk-JXBZIJCG.js → chunk-PYGEIPPH.js} +1 -1
- package/dist/{chunk-KZJ5VM6E.js → chunk-PZ3TQFSY.js} +15 -1
- package/dist/{chunk-K3VZ5QJK.js → chunk-Q7VPTN5X.js} +4 -4
- package/dist/{chunk-ZVM5TFGR.js → chunk-QFIRPOXR.js} +6 -2
- package/dist/{chunk-YHD2FZFP.js → chunk-QHPJ5ZKS.js} +6 -6
- package/dist/{chunk-QLANK3VN.js → chunk-QLWUFEKR.js} +6 -6
- package/dist/{chunk-64LJDGJH.js → chunk-QNLESRH6.js} +3 -1
- package/dist/{chunk-RJGCYGC3.js → chunk-QRZESG66.js} +38 -27
- package/dist/{chunk-76Q7E3TM.js → chunk-QYOZ46ZQ.js} +70 -23
- package/dist/{chunk-E555EDOQ.js → chunk-QZMLSK43.js} +221 -62
- package/dist/{chunk-NGA7ICG4.js → chunk-RDJ3ZU6O.js} +16 -13
- package/dist/{chunk-6MJUW5R5.js → chunk-RHBQ2Q5H.js} +95 -44
- package/dist/{chunk-ZYQYX66L.js → chunk-RHVP62HI.js} +6 -6
- package/dist/{chunk-F5BYLT3M.js → chunk-RMVCKO6N.js} +13 -11
- package/dist/chunk-RRPTQGRU.js +47 -0
- package/dist/{chunk-IRXVV65V.js → chunk-S2TSXUYP.js} +6 -6
- package/dist/{chunk-OG2YUVBW.js → chunk-SD6ENKTO.js} +7 -2
- package/dist/{chunk-6AMN7IKJ.js → chunk-SHAAMKN7.js} +43 -22
- package/dist/{chunk-DLUNQHFO.js → chunk-SHCW2TCA.js} +9 -9
- package/dist/{chunk-54ROMBU7.js → chunk-SSZB3VXG.js} +17 -17
- package/dist/chunk-SXAZDIGM.js +84 -0
- package/dist/{chunk-QHRE2M6V.js → chunk-T2L5H2WW.js} +4 -3
- package/dist/{chunk-RPIKNMZA.js → chunk-T3WCDDIL.js} +7 -2
- package/dist/{chunk-JIEVDGAF.js → chunk-T5MBORBK.js} +1 -1
- package/dist/{chunk-32LLDRPI.js → chunk-TDDSWNGD.js} +23 -15
- package/dist/{chunk-7VVHTOE7.js → chunk-TGR6PRKG.js} +2 -2
- package/dist/{chunk-QJWLNP64.js → chunk-TKERVBJ3.js} +7 -8
- package/dist/{chunk-43GGVT7W.js → chunk-TMXRTYGT.js} +10 -4
- package/dist/{chunk-BIVL764T.js → chunk-TQ5HHNM3.js} +2 -2
- package/dist/{chunk-WN3HEU3P.js → chunk-TWRFVW3J.js} +4 -2
- package/dist/{chunk-7FKY6YWU.js → chunk-TXMS7QUJ.js} +3 -3
- package/dist/{chunk-O6ZTIDWB.js → chunk-UBXIGE2P.js} +3 -2
- package/dist/{chunk-JTC5SEAQ.js → chunk-UCIAHSJK.js} +2 -2
- package/dist/{chunk-BVYIKLQ5.js → chunk-UD6U4EF5.js} +1 -1
- package/dist/{chunk-DMAMWUYY.js → chunk-UFZXZJJG.js} +5 -5
- package/dist/{chunk-SNQ7D5R7.js → chunk-UIHGGWES.js} +51 -11
- package/dist/{chunk-27OIGDRK.js → chunk-UP4JSNDR.js} +1 -1
- package/dist/{chunk-JEUL777U.js → chunk-USFIDSTO.js} +7 -5
- package/dist/{chunk-PZ46S2SY.js → chunk-V3UE3TB7.js} +2 -2
- package/dist/{chunk-KDSYZLF6.js → chunk-V5IFI3FV.js} +8 -1
- package/dist/{chunk-BSATR6ZO.js → chunk-V62B23VC.js} +13 -1
- package/dist/{chunk-WWGPTEQB.js → chunk-VFLMBA2M.js} +66 -16
- package/dist/{chunk-5P2TTHBZ.js → chunk-VM5CQ7CG.js} +2 -2
- package/dist/{chunk-UREXN6WG.js → chunk-VMGTNB6H.js} +6 -6
- package/dist/{chunk-2NSQIPAA.js → chunk-VT7PBGL2.js} +6 -6
- package/dist/{chunk-CXETOLPX.js → chunk-VY2NPB2Q.js} +1 -1
- package/dist/{chunk-F77TMAUY.js → chunk-VY67Q6CJ.js} +18 -18
- package/dist/{chunk-7STMIK2X.js → chunk-W5SVS4B6.js} +2 -2
- package/dist/{chunk-MD6DCQMA.js → chunk-W7Q6PLT4.js} +37 -37
- package/dist/{chunk-JVZTKQFS.js → chunk-WDAZ2MT4.js} +8 -4
- package/dist/{chunk-MZACASZY.js → chunk-WE5WVQE4.js} +13 -1
- package/dist/chunk-WJQX7HBH.js +54 -0
- package/dist/{chunk-MS7O3KDJ.js → chunk-WKWCNS6K.js} +6 -6
- package/dist/{chunk-4KQHKPB3.js → chunk-WSKZZ2ZB.js} +11 -12
- package/dist/{chunk-SMHZXHHD.js → chunk-WZB6R2ZX.js} +6 -4
- package/dist/{chunk-37PKNVLS.js → chunk-X5OVVMZX.js} +1 -1
- package/dist/{chunk-MPO5TVGF.js → chunk-XFCBH3TI.js} +3 -3
- package/dist/{chunk-CAJ54IEP.js → chunk-XJUZC53Y.js} +1 -1
- package/dist/chunk-XN7JDII2.js +2047 -0
- package/dist/{chunk-4KMZAK6J.js → chunk-XNV7VOIT.js} +4 -4
- package/dist/{chunk-YK2KWNTU.js → chunk-XR7VOF2V.js} +9 -7
- package/dist/{chunk-WTQAG2OT.js → chunk-XYUXB5VK.js} +8 -3
- package/dist/{chunk-QB5HV4IY.js → chunk-Y5IKCXQR.js} +7 -8
- package/dist/{chunk-FNMH5WEY.js → chunk-Y5WHM2Q5.js} +1 -1
- package/dist/{chunk-IGNBQT23.js → chunk-Y7Q3VEYC.js} +96 -5
- package/dist/{chunk-L6YVK6VC.js → chunk-YB6QGOCO.js} +1 -1
- package/dist/{chunk-BYCJ6TKI.js → chunk-YBYV56FS.js} +3 -3
- package/dist/{chunk-DLDDRXAI.js → chunk-YCUNFAEE.js} +77 -37
- package/dist/{chunk-V7F4F6JA.js → chunk-YFI5PN5O.js} +5 -7
- package/dist/{chunk-ZL6IHMOW.js → chunk-YGPLUENN.js} +88 -58
- package/dist/chunk-YGZEG3JV.js +123 -0
- package/dist/{chunk-JGFHNAHS.js → chunk-YJGFT63R.js} +8 -3
- package/dist/{chunk-XQMYQ4TN.js → chunk-YNHPPZ7S.js} +1 -1
- package/dist/{chunk-EZZ533MH.js → chunk-YO5UKKCQ.js} +1 -1
- package/dist/{chunk-YZZLIYPA.js → chunk-YTEJYLU7.js} +5 -1
- package/dist/{chunk-CCJP6QZO.js → chunk-Z257SH5U.js} +1 -1
- package/dist/{chunk-ETMHDCEH.js → chunk-Z2BDTZDT.js} +13 -11
- package/dist/{chunk-MOK3ZS6P.js → chunk-ZDD3MJ2H.js} +1 -1
- package/dist/{chunk-6364WO5D.js → chunk-ZNX5J7D7.js} +2 -2
- package/dist/{chunk-UZTQUPTB.js → chunk-ZSYU6LIH.js} +4 -4
- package/dist/{chunk-JFFREZGT.js → chunk-ZTSJ7NY6.js} +6 -2
- package/dist/chunk-ZV3SNRJI.js +122 -0
- package/dist/cli/index.js +1 -1
- package/dist/{core-MU4ALRR7.js → core-4M4RY7MX.js} +4 -1
- package/dist/{core-XW7UJFJZ.js → core-4PW4MXWR.js} +4 -1
- package/dist/{core-LB5M7XL4.js → core-5S5CJHBG.js} +5 -1
- package/dist/{core-LGJZUP6H.js → core-7TTM4KRP.js} +6 -1
- package/dist/{core-GSILPKUR.js → core-7XKNJM7Y.js} +4 -1
- package/dist/{core-JDFUZFRH.js → core-A7HXVSKB.js} +5 -1
- package/dist/{core-K3JX5WPM.js → core-AMWCZTOT.js} +2 -1
- package/dist/{core-BLHEJ5OK.js → core-AVA4XLQ2.js} +4 -1
- package/dist/{core-ILPXXC2Z.js → core-BJZEJ63L.js} +5 -1
- package/dist/{core-3KLQSYWB.js → core-CCB3IXGD.js} +4 -1
- package/dist/{core-BBNY2BX4.js → core-D2OIGYC7.js} +2 -1
- package/dist/{core-4RR6VSXM.js → core-DMDAXVMY.js} +3 -1
- package/dist/{core-HDNWVLJW.js → core-EMSJRGSE.js} +4 -1
- package/dist/{core-A5AKUB7H.js → core-FCSA74RT.js} +2 -1
- package/dist/{core-WZ4CHVYL.js → core-FTQBESDS.js} +3 -1
- package/dist/{core-G3LXHW73.js → core-GS4DXDDG.js} +4 -1
- package/dist/{core-H5HO2CED.js → core-JDZDBTID.js} +2 -1
- package/dist/{core-VKZSQFRG.js → core-L3UR75IJ.js} +2 -1
- package/dist/{core-AR2T32Y3.js → core-MAW4S3KA.js} +4 -1
- package/dist/{core-4HFVG4CP.js → core-N2JEWJ7D.js} +3 -1
- package/dist/{core-BOG33BFD.js → core-OBPTBKX6.js} +4 -1
- package/dist/{core-HTD5RHE7.js → core-OFPPRHYY.js} +5 -1
- package/dist/{core-ZLSQHZ3I.js → core-QFAVWFI3.js} +4 -1
- package/dist/{core-TCSW24N6.js → core-QM34237W.js} +4 -1
- package/dist/{core-WJNK7F2J.js → core-SKMHEA4Y.js} +5 -1
- package/dist/{core-7S3XMW5O.js → core-T3OSZOVV.js} +2 -1
- package/dist/{core-7Y5BZZON.js → core-UNX4ZV4M.js} +4 -1
- package/dist/{core-DFZMOO7E.js → core-VRVL6LIM.js} +5 -1
- package/dist/{core-J2JD5ODO.js → core-VT35VDVS.js} +4 -1
- package/dist/{core-TKZZZ6UW.js → core-VWYXK2R3.js} +4 -1
- package/dist/{core-E2XOSHPR.js → core-WNT6ZMRO.js} +5 -1
- package/dist/{core-RR2CAZC5.js → core-WP73P4CW.js} +4 -1
- package/dist/{core-DD62MWEW.js → core-WPEYRK6Y.js} +2 -1
- package/dist/{core-YMXYUGF5.js → core-WXZJ7V7S.js} +2 -1
- package/dist/{core-5UF44NDI.js → core-XKXDXALI.js} +3 -1
- package/dist/{core-GLOZY6Z7.js → core-ZACFV6XR.js} +2 -1
- package/dist/{core-QPSAYRFT.js → core-ZSERZGK6.js} +5 -1
- package/dist/{dataTable-CNDRVGA5.js → dataTable-7IO546LM.js} +10 -2
- package/dist/{engine-FVEIM3WV.js → engine-US3N6UCH.js} +17 -9
- package/dist/fixtures.js +3 -1
- package/dist/fonts.js +1 -1
- package/dist/geo/dach.js +1 -1
- package/dist/geo/de-states.js +1 -1
- package/dist/geo/eu27.js +1 -1
- package/dist/geo/europe.js +1 -1
- package/dist/geo/index.js +2 -2
- package/dist/geo/us-states.js +1 -1
- package/dist/geo/world.js +1 -1
- package/dist/index.js +31 -19
- package/dist/{main-THU6VIVU.js → main-2UWKGUHR.js} +27 -13
- package/dist/mcp/server.js +23 -13
- package/dist/react/bar.js +6 -1
- package/dist/react/bartable.js +8 -1
- package/dist/react/box.js +6 -1
- package/dist/react/bullet.js +7 -1
- package/dist/react/butterfly.js +6 -1
- package/dist/react/choropleth.js +8 -1
- package/dist/react/cohort.js +9 -1
- package/dist/react/column.js +6 -1
- package/dist/react/combo.js +6 -1
- package/dist/react/creative.js +8 -1
- package/dist/react/diagram.js +8 -1
- package/dist/react/dimswitch.js +6 -1
- package/dist/react/dot.js +6 -1
- package/dist/react/export.js +25 -18
- package/dist/react/funnel.js +6 -1
- package/dist/react/gantt.js +7 -1
- package/dist/react/grid.js +5 -1
- package/dist/react/heatmap.js +7 -1
- package/dist/react/histogram.js +6 -1
- package/dist/react/index.js +93 -84
- package/dist/react/kpi.js +7 -1
- package/dist/react/likert.js +6 -1
- package/dist/react/line.js +6 -1
- package/dist/react/mekko.js +6 -1
- package/dist/react/pareto.js +6 -1
- package/dist/react/pie.js +6 -1
- package/dist/react/prepare.js +35 -20
- package/dist/react/pvm.js +7 -1
- package/dist/react/pyramid.js +6 -1
- package/dist/react/sankey.js +8 -1
- package/dist/react/scatter.js +6 -1
- package/dist/react/slope.js +7 -1
- package/dist/react/sparkline.js +7 -1
- package/dist/react/spec.js +17 -11
- package/dist/react/status.js +7 -1
- package/dist/react/story.js +4 -2
- package/dist/react/table.js +6 -1
- package/dist/react/theme.js +8 -3
- package/dist/react/tilemap.js +7 -1
- package/dist/react/treemap.js +7 -1
- package/dist/react/variance.js +6 -1
- package/dist/react/waffle.js +7 -1
- package/dist/react/waterfall.js +7 -1
- package/dist/rows.js +3 -2
- package/dist/{rowsModule-LI6KOS46.js → rowsModule-DYDVHBAX.js} +2 -1
- package/dist/{schema-ZQSIR5UC.js → schema-3KMU5737.js} +1 -1
- package/dist/{schema-YLE4XXQQ.js → schema-4JRNXEZF.js} +3 -1
- package/dist/{schema-KPEPBGAX.js → schema-626QXX4G.js} +3 -1
- package/dist/{schema-72EEMYS3.js → schema-6PL46VXZ.js} +3 -1
- package/dist/{schema-JH57NFXJ.js → schema-6V5K3J2V.js} +4 -1
- package/dist/{schema-H2EC4GAQ.js → schema-A2XUZUCV.js} +3 -1
- package/dist/{schema-QPOBZUAR.js → schema-CNJ4Y6CT.js} +3 -1
- package/dist/{schema-5KDEQBBT.js → schema-DHMMGDTI.js} +3 -1
- package/dist/{schema-BKUFZLLI.js → schema-F2Q6MH7W.js} +3 -1
- package/dist/{schema-PL3EU6EQ.js → schema-FC6J6KZC.js} +5 -1
- package/dist/{schema-AXRDF6ND.js → schema-FGE5YK3S.js} +3 -1
- package/dist/{schema-5DUTAVO7.js → schema-FSYDLMGD.js} +1 -1
- package/dist/{schema-PQZWO3BP.js → schema-G5KSSI5W.js} +1 -1
- package/dist/{schema-25INXAMY.js → schema-GXOG4MXL.js} +1 -1
- package/dist/{schema-AMT7P7KB.js → schema-HEB6ZDI5.js} +3 -1
- package/dist/{schema-HH5HOORE.js → schema-I44IDRGD.js} +1 -1
- package/dist/{schema-VYECMPON.js → schema-IFTIMTS3.js} +1 -1
- package/dist/{schema-QCIE6M2P.js → schema-IUY7VYHJ.js} +3 -1
- package/dist/{schema-M5JBHQIV.js → schema-J4HCSD5C.js} +5 -2
- package/dist/{schema-B2GCEYXD.js → schema-JCU6LTYD.js} +1 -1
- package/dist/{schema-FDFQKIO5.js → schema-JJWORI7D.js} +3 -1
- package/dist/{schema-GNTKL5DN.js → schema-K4V4PYBO.js} +3 -1
- package/dist/{schema-L5U4OROI.js → schema-LGLQBRC4.js} +3 -1
- package/dist/{schema-THXXFY6I.js → schema-MD22QYZU.js} +1 -1
- package/dist/{schema-7NSV542V.js → schema-MGETMQYC.js} +3 -1
- package/dist/{schema-ZG6ZKFRZ.js → schema-MQB6CE5V.js} +3 -1
- package/dist/{schema-OU35XA3Z.js → schema-NMIYKGHE.js} +3 -1
- package/dist/{schema-5ZTGVQAJ.js → schema-NOBNFD2F.js} +3 -1
- package/dist/{schema-MMVPMJEF.js → schema-OXO2XY4Y.js} +1 -1
- package/dist/{schema-LOQ3AFC7.js → schema-PHIHMDVB.js} +1 -1
- package/dist/{schema-ZEVJMFLV.js → schema-UXWKA3PI.js} +3 -1
- package/dist/{schema-GN6GAIU5.js → schema-WBOPCTPC.js} +1 -1
- package/dist/{schema-BBTXTWYI.js → schema-WFGDVBJK.js} +1 -1
- package/dist/{schema-J7TNCZIP.js → schema-WX2RS4OU.js} +3 -1
- package/dist/{schema-QORUB6EK.js → schema-XIHAKX3B.js} +18 -1
- package/dist/{schema-R5Y6NVBH.js → schema-XRSORYBI.js} +3 -1
- package/dist/{schema-CGQID64D.js → schema-YDZCGL56.js} +3 -1
- package/dist/{specValidation-VHLGDEME.js → specValidation-XGELWQUU.js} +2 -1
- package/dist/theme.js +5 -1
- package/dist/types/core/charts/bartable/types.d.ts +14 -1
- package/dist/types/core/charts/box/types.d.ts +3 -1
- package/dist/types/core/charts/choropleth/layout.d.ts +1 -5
- package/dist/types/core/charts/choropleth/types.d.ts +19 -0
- package/dist/types/core/charts/cohort/types.d.ts +16 -3
- package/dist/types/core/charts/creative/types.d.ts +21 -0
- package/dist/types/core/charts/dimswitch/compile.d.ts +15 -2
- package/dist/types/core/charts/dimswitch/types.d.ts +24 -1
- package/dist/types/core/charts/gantt/calendar.d.ts +20 -0
- package/dist/types/core/charts/gantt/columns.d.ts +56 -0
- package/dist/types/core/charts/gantt/layout.d.ts +8 -2
- package/dist/types/core/charts/gantt/model.d.ts +296 -0
- package/dist/types/core/charts/grid/metricStack.d.ts +9 -0
- package/dist/types/core/charts/grid/metricStackSchema.d.ts +13 -0
- package/dist/types/core/charts/histogram/types.d.ts +8 -0
- package/dist/types/core/charts/likert/layout.d.ts +10 -8
- package/dist/types/core/charts/pvm/types.d.ts +9 -1
- package/dist/types/core/charts/pyramid/types.d.ts +3 -1
- package/dist/types/core/charts/sankey/types.d.ts +5 -1
- package/dist/types/core/charts/status/layout.d.ts +3 -0
- package/dist/types/core/charts/table/resolve.d.ts +14 -0
- package/dist/types/core/footer.d.ts +2 -0
- package/dist/types/core/formatSpec.d.ts +10 -0
- package/dist/types/core/frame.d.ts +1 -1
- package/dist/types/core/geo/types.d.ts +2 -0
- package/dist/types/core/geometry.d.ts +1 -1
- package/dist/types/core/normalize/shared.d.ts +2 -0
- package/dist/types/core/registry.d.ts +4 -5
- package/dist/types/core/request.d.ts +6 -0
- package/dist/types/core/schema/capability.d.ts +20 -7
- package/dist/types/core/schema/generatedColumns.d.ts +168 -0
- package/dist/types/core/text.d.ts +16 -0
- package/dist/types/core/themeGeometry.d.ts +9 -0
- package/dist/types/core/timeAxis.d.ts +6 -1
- package/dist/types/core/types/diagram.d.ts +7 -0
- package/dist/types/core/types/options.d.ts +83 -12
- package/dist/types/core/types/table.d.ts +21 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/types/react/barrelCharts.d.ts +16 -5
- package/dist/types/react/charts/butterfly.d.ts +2 -2
- package/dist/types/react/charts/dot.d.ts +7 -1
- package/dist/types/react/charts/pareto.d.ts +4 -1
- package/dist/types/react/charts/variance.d.ts +3 -1
- package/dist/types/react/hover/labelCard.d.ts +11 -2
- package/dist/types/react/prepare.d.ts +7 -1
- package/dist/types/theme.d.ts +2 -0
- package/dist/validate.js +15 -5
- package/docs/manual.md +31 -3
- package/docs/reference/bar.md +3 -0
- package/docs/reference/bartable.md +16 -1
- package/docs/reference/box.md +8 -1
- package/docs/reference/bullet.md +12 -1
- package/docs/reference/butterfly.md +7 -1
- package/docs/reference/choropleth.md +14 -1
- package/docs/reference/cohort.md +25 -5
- package/docs/reference/column.md +1 -0
- package/docs/reference/combo.md +1 -0
- package/docs/reference/creative.md +13 -0
- package/docs/reference/diagram.md +5 -0
- package/docs/reference/dimswitch.md +50 -32
- package/docs/reference/dot.md +7 -2
- package/docs/reference/fixtures.md +57 -0
- package/docs/reference/funnel.md +5 -0
- package/docs/reference/gantt.md +10 -2
- package/docs/reference/grid.md +9 -2
- package/docs/reference/heatmap.md +6 -0
- package/docs/reference/histogram.md +2 -2
- package/docs/reference/kpi.md +5 -1
- package/docs/reference/likert.md +8 -0
- package/docs/reference/options.md +4 -3
- package/docs/reference/pareto.md +1 -1
- package/docs/reference/pvm.md +7 -1
- package/docs/reference/pyramid.md +6 -0
- package/docs/reference/react.md +1 -2
- package/docs/reference/sankey.md +6 -2
- package/docs/reference/slope.md +6 -0
- package/docs/reference/sparkline.md +1 -1
- package/docs/reference/status.md +7 -1
- package/docs/reference/table.md +16 -4
- package/docs/reference/tilemap.md +1 -1
- package/docs/reference/treemap.md +1 -1
- package/docs/reference/waffle.md +1 -1
- package/docs/reference/waterfall.md +4 -1
- package/package.json +1 -1
- package/dist/chunk-FG5L2LUK.js +0 -89
- package/dist/chunk-IFQN4GKK.js +0 -1852
- package/dist/chunk-O36WX56O.js +0 -13
- package/dist/chunk-WIVFIVFZ.js +0 -27
- package/dist/chunk-ZWNRLIFT.js +0 -24
|
@@ -13,7 +13,17 @@
|
|
|
13
13
|
* Types whose layout draws nothing for any legend value: the
|
|
14
14
|
* key is ignored with a warning there.
|
|
15
15
|
*/
|
|
16
|
+
declare const LEGEND_REFUSED_TYPES: readonly ['box', 'dimswitch', 'histogram', 'kpi', 'pvm', 'sankey', 'sparkline'];
|
|
16
17
|
export declare const LEGEND_REFUSED: readonly string[];
|
|
18
|
+
export type LegendRefusedType = (typeof LEGEND_REFUSED_TYPES)[number];
|
|
19
|
+
/**
|
|
20
|
+
* Types that draw no annotation of any kind. The key is retired there: an old
|
|
21
|
+
* spec still draws and warns option-deprecated (retired.ts), and the schemas
|
|
22
|
+
* publish it as never.
|
|
23
|
+
*/
|
|
24
|
+
declare const ANNOTATIONS_RETIRED_TYPES: readonly ['bartable', 'choropleth', 'cohort', 'dimswitch', 'grid', 'histogram', 'kpi', 'sankey', 'sparkline', 'status', 'table', 'tilemap', 'treemap', 'waffle'];
|
|
25
|
+
export declare const ANNOTATIONS_RETIRED: readonly string[];
|
|
26
|
+
export type AnnotationsRetiredType = (typeof ANNOTATIONS_RETIRED_TYPES)[number];
|
|
17
27
|
/**
|
|
18
28
|
* Types on which some legend values draw exactly what the default draws:
|
|
19
29
|
* 'none' and 'auto' are ignored with a warning, and the values that draw a
|
|
@@ -63,10 +73,10 @@ export declare const OPTION_CAPABILITY: {
|
|
|
63
73
|
readonly implementedBy: readonly ['column', 'combo', 'pareto'];
|
|
64
74
|
};
|
|
65
75
|
readonly secondaryAxis: {
|
|
66
|
-
readonly implementedBy: readonly ['
|
|
76
|
+
readonly implementedBy: readonly ['combo'];
|
|
67
77
|
};
|
|
68
78
|
readonly labels: {
|
|
69
|
-
readonly implementedBy: readonly ['bar', 'box', 'bullet', 'butterfly', 'choropleth', 'cohort', 'column', 'combo', 'dot', 'funnel', 'gantt', 'heatmap', 'histogram', 'kpi', 'likert', 'line', 'mekko', 'pareto', 'pie', 'pyramid', 'scatter', 'slope', 'status', 'tilemap', 'variance'];
|
|
79
|
+
readonly implementedBy: readonly ['bar', 'bartable', 'box', 'bullet', 'butterfly', 'choropleth', 'cohort', 'column', 'combo', 'dot', 'funnel', 'gantt', 'heatmap', 'histogram', 'kpi', 'likert', 'line', 'mekko', 'pareto', 'pie', 'pvm', 'pyramid', 'scatter', 'slope', 'status', 'tilemap', 'variance'];
|
|
70
80
|
};
|
|
71
81
|
readonly hatchStrength: {
|
|
72
82
|
readonly implementedBy: readonly ['bar', 'butterfly', 'choropleth', 'cohort', 'column', 'combo', 'funnel', 'grid', 'heatmap', 'line', 'mekko', 'slope', 'status', 'tilemap', 'waterfall'];
|
|
@@ -84,7 +94,7 @@ export declare const OPTION_CAPABILITY: {
|
|
|
84
94
|
readonly implementedBy: readonly ['bar', 'bullet', 'butterfly', 'column', 'combo', 'dot', 'funnel', 'gantt', 'histogram', 'likert', 'pareto', 'pvm', 'pyramid', 'variance', 'waterfall'];
|
|
85
95
|
};
|
|
86
96
|
readonly highlight: {
|
|
87
|
-
readonly implementedBy: readonly ['bar', 'bartable', 'box', 'bullet', 'butterfly', 'cohort', 'column', 'combo', 'diagram', 'dot', 'funnel', 'gantt', 'grid', 'heatmap', 'histogram', 'kpi', 'likert', 'line', 'mekko', '
|
|
97
|
+
readonly implementedBy: readonly ['bar', 'bartable', 'box', 'bullet', 'butterfly', 'cohort', 'column', 'combo', 'diagram', 'dot', 'funnel', 'gantt', 'grid', 'heatmap', 'histogram', 'kpi', 'likert', 'line', 'mekko', 'pie', 'pvm', 'pyramid', 'sankey', 'scatter', 'slope', 'sparkline', 'status', 'table', 'dimswitch', 'variance', 'waterfall'];
|
|
88
98
|
};
|
|
89
99
|
readonly detailFields: {
|
|
90
100
|
readonly implementedBy: readonly ['bar', 'butterfly', 'column', 'combo', 'dot', 'funnel', 'heatmap', 'line', 'mekko', 'pie', 'slope'];
|
|
@@ -101,8 +111,7 @@ export declare const OPTION_CAPABILITY: {
|
|
|
101
111
|
* Two shapes, both enforced by `narrowValueAxis`:
|
|
102
112
|
*
|
|
103
113
|
* - `VALUE_AXIS_CAPABILITY`: a sub-key only some types read, fail-closed like
|
|
104
|
-
* the table above.
|
|
105
|
-
* ignores them. break is refused wherever no glyph is drawn.
|
|
114
|
+
* the table above. break is refused wherever no glyph is drawn.
|
|
106
115
|
* - `VALUE_AXIS_ONLY`: a type whose layout reads just the listed sub-keys;
|
|
107
116
|
* every other sub-key is refused there, and with no sub-key listed the
|
|
108
117
|
* whole object is.
|
|
@@ -112,10 +121,10 @@ export declare const OPTION_CAPABILITY: {
|
|
|
112
121
|
*/
|
|
113
122
|
export declare const VALUE_AXIS_CAPABILITY: {
|
|
114
123
|
readonly tickStep: {
|
|
115
|
-
readonly implementedBy: readonly ['bar', '
|
|
124
|
+
readonly implementedBy: readonly ['bar', 'bullet', 'column', 'combo', 'dot', 'histogram', 'line', 'mekko', 'scatter', 'variance'];
|
|
116
125
|
};
|
|
117
126
|
readonly reverse: {
|
|
118
|
-
readonly implementedBy: readonly ['
|
|
127
|
+
readonly implementedBy: readonly ['line', 'scatter'];
|
|
119
128
|
};
|
|
120
129
|
readonly break: {
|
|
121
130
|
readonly implementedBy: readonly ['bar', 'box', 'column', 'histogram', 'pvm', 'waterfall'];
|
|
@@ -125,6 +134,9 @@ export declare const VALUE_AXIS_CAPABILITY: {
|
|
|
125
134
|
};
|
|
126
135
|
};
|
|
127
136
|
export declare const VALUE_AXIS_ONLY: {
|
|
137
|
+
readonly box: {
|
|
138
|
+
readonly keys: readonly ["show", "min", "max", "gridlines", "break"];
|
|
139
|
+
};
|
|
128
140
|
readonly waterfall: {
|
|
129
141
|
readonly keys: readonly ["break"];
|
|
130
142
|
};
|
|
@@ -224,3 +236,4 @@ export declare function schemaRefusedKeys(type: string): {
|
|
|
224
236
|
* (OPTION_CAPABILITY.labels).
|
|
225
237
|
*/
|
|
226
238
|
export declare const LABEL_KINDS: Readonly<Record<string, readonly string[]>>;
|
|
239
|
+
export {};
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ids of the columns, blocks and rows a chart type generates itself: the
|
|
3
|
+
* ones an author cannot name in `data`. The option builders beside this file
|
|
4
|
+
* print these lists in the reference, and `generatedIdWarnings` prints them
|
|
5
|
+
* when an id is wrong. This module stays free of zod, because layouts import it.
|
|
6
|
+
*
|
|
7
|
+
* Naming rule: the name column is `label`, the marks are `plot`, every other
|
|
8
|
+
* column is its head word in lowerCamel. A type with no generated columns has
|
|
9
|
+
* no entry. The generic `table` has none: `data.columns[]` authors its columns.
|
|
10
|
+
*/
|
|
11
|
+
import type { LintWarning } from '../types/scene.js';
|
|
12
|
+
export interface GeneratedIds {
|
|
13
|
+
/** The ids `columnVisibility` takes. */
|
|
14
|
+
columns: readonly string[];
|
|
15
|
+
/** The ids `columnOverrides` takes, where they differ from `columns`. */
|
|
16
|
+
tracks?: readonly string[];
|
|
17
|
+
/** The ids `columnOrder` takes: whole blocks, never single columns. */
|
|
18
|
+
blocks: readonly string[];
|
|
19
|
+
/** The ids `rowVisibility`, `rowOrder` and `rowOverrides` take. */
|
|
20
|
+
rows: readonly string[];
|
|
21
|
+
/** The column ids that come from the data, in words. */
|
|
22
|
+
columnsFromData?: string;
|
|
23
|
+
/** The row ids that come from the data, in words. */
|
|
24
|
+
rowsFromData?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const GENERATED_COLUMNS: {
|
|
27
|
+
readonly bar: {
|
|
28
|
+
readonly columns: readonly ["label"];
|
|
29
|
+
readonly blocks: readonly [];
|
|
30
|
+
readonly rows: readonly [];
|
|
31
|
+
};
|
|
32
|
+
readonly bartable: {
|
|
33
|
+
readonly columns: readonly ["label"];
|
|
34
|
+
readonly columnsFromData: 'each data.columns id and each data.panels id';
|
|
35
|
+
readonly blocks: readonly ["numbers", "panels"];
|
|
36
|
+
readonly rows: readonly [];
|
|
37
|
+
};
|
|
38
|
+
readonly box: {
|
|
39
|
+
readonly columns: readonly ["label", "n", "median"];
|
|
40
|
+
readonly blocks: readonly [];
|
|
41
|
+
readonly rows: readonly [];
|
|
42
|
+
};
|
|
43
|
+
readonly bullet: {
|
|
44
|
+
readonly columns: readonly ["label", "actual", "share", "delta", "target", "gap"];
|
|
45
|
+
readonly blocks: readonly ["actual", "share", "delta", "target", "gap", "plot"];
|
|
46
|
+
readonly rows: readonly [];
|
|
47
|
+
};
|
|
48
|
+
readonly butterfly: {
|
|
49
|
+
readonly columns: readonly ["label", "diff"];
|
|
50
|
+
readonly blocks: readonly [];
|
|
51
|
+
readonly rows: readonly [];
|
|
52
|
+
};
|
|
53
|
+
readonly choropleth: {
|
|
54
|
+
readonly columns: readonly ["swatch", "code", "value"];
|
|
55
|
+
readonly blocks: readonly [];
|
|
56
|
+
readonly rows: readonly [];
|
|
57
|
+
readonly rowsFromData: 'each region id, through the aliases of the map pack';
|
|
58
|
+
};
|
|
59
|
+
readonly cohort: {
|
|
60
|
+
readonly columns: readonly ["size"];
|
|
61
|
+
readonly tracks: readonly ["label", "size", "periods"];
|
|
62
|
+
readonly blocks: readonly ["size", "periods"];
|
|
63
|
+
readonly rows: readonly [];
|
|
64
|
+
};
|
|
65
|
+
readonly creative: {
|
|
66
|
+
readonly columns: readonly ["label", "value", "median", "delta"];
|
|
67
|
+
readonly blocks: readonly ["label", "value", "median", "delta"];
|
|
68
|
+
readonly rows: readonly ["ctr", "cpa", "roas", "hookRate", "holdRate", "frequency"];
|
|
69
|
+
};
|
|
70
|
+
readonly diagram: {
|
|
71
|
+
readonly columns: readonly ["label", "value"];
|
|
72
|
+
readonly blocks: readonly [];
|
|
73
|
+
readonly rows: readonly [];
|
|
74
|
+
};
|
|
75
|
+
readonly dimswitch: {
|
|
76
|
+
readonly columns: readonly ["label", "range", "pp", "pl"];
|
|
77
|
+
readonly columnsFromData: 'each displayed period id';
|
|
78
|
+
readonly blocks: readonly ["block", "periods"];
|
|
79
|
+
readonly rows: readonly [];
|
|
80
|
+
readonly rowsFromData: 'dimension.total.id, group:<measures[].group as authored>, and group: for the ungrouped section';
|
|
81
|
+
};
|
|
82
|
+
readonly dot: {
|
|
83
|
+
readonly columns: readonly ["label", "gap"];
|
|
84
|
+
readonly blocks: readonly [];
|
|
85
|
+
readonly rows: readonly [];
|
|
86
|
+
};
|
|
87
|
+
readonly funnel: {
|
|
88
|
+
readonly columns: readonly ["label", "value", "totalCvr"];
|
|
89
|
+
readonly blocks: readonly [];
|
|
90
|
+
readonly rows: readonly [];
|
|
91
|
+
};
|
|
92
|
+
readonly gantt: {
|
|
93
|
+
readonly columns: readonly ["name", "meta0", "meta1", "meta2"];
|
|
94
|
+
readonly blocks: readonly ["meta", "plot"];
|
|
95
|
+
readonly rows: readonly [];
|
|
96
|
+
};
|
|
97
|
+
readonly grid: {
|
|
98
|
+
readonly columns: readonly ["unit", "headline", "span"];
|
|
99
|
+
readonly tracks: readonly ["gutter"];
|
|
100
|
+
readonly blocks: readonly ["gutter", "plot"];
|
|
101
|
+
readonly rows: readonly [];
|
|
102
|
+
};
|
|
103
|
+
readonly heatmap: {
|
|
104
|
+
readonly columns: readonly ["label"];
|
|
105
|
+
readonly columnsFromData: 'each data.categories id';
|
|
106
|
+
readonly blocks: readonly [];
|
|
107
|
+
readonly rows: readonly [];
|
|
108
|
+
};
|
|
109
|
+
readonly kpi: {
|
|
110
|
+
readonly columns: readonly ["label", "value"];
|
|
111
|
+
readonly blocks: readonly [];
|
|
112
|
+
readonly rows: readonly [];
|
|
113
|
+
};
|
|
114
|
+
readonly likert: {
|
|
115
|
+
readonly columns: readonly ["label", "net", "base"];
|
|
116
|
+
readonly blocks: readonly ["plot", "net", "base"];
|
|
117
|
+
readonly rows: readonly [];
|
|
118
|
+
};
|
|
119
|
+
readonly pvm: {
|
|
120
|
+
readonly columns: readonly ["label", "value"];
|
|
121
|
+
readonly blocks: readonly [];
|
|
122
|
+
readonly rows: readonly [];
|
|
123
|
+
};
|
|
124
|
+
readonly pyramid: {
|
|
125
|
+
readonly columns: readonly ["label"];
|
|
126
|
+
readonly blocks: readonly [];
|
|
127
|
+
readonly rows: readonly [];
|
|
128
|
+
};
|
|
129
|
+
readonly sankey: {
|
|
130
|
+
readonly columns: readonly ["first", "last"];
|
|
131
|
+
readonly blocks: readonly [];
|
|
132
|
+
readonly rows: readonly [];
|
|
133
|
+
};
|
|
134
|
+
readonly slope: {
|
|
135
|
+
readonly columns: readonly ["change"];
|
|
136
|
+
readonly blocks: readonly [];
|
|
137
|
+
readonly rows: readonly [];
|
|
138
|
+
};
|
|
139
|
+
readonly status: {
|
|
140
|
+
readonly columns: readonly ["label"];
|
|
141
|
+
readonly columnsFromData: 'each data.columns id';
|
|
142
|
+
readonly blocks: readonly [];
|
|
143
|
+
readonly rows: readonly [];
|
|
144
|
+
};
|
|
145
|
+
readonly waterfall: {
|
|
146
|
+
readonly columns: readonly ["label", "value"];
|
|
147
|
+
readonly blocks: readonly [];
|
|
148
|
+
readonly rows: readonly [];
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
/** One entry of `columnOverrides`: the fields a type reads are in its schema. */
|
|
152
|
+
export interface ColumnOverride {
|
|
153
|
+
width?: number;
|
|
154
|
+
align?: 'left' | 'right' | 'center';
|
|
155
|
+
headAlign?: 'left' | 'right' | 'center';
|
|
156
|
+
label?: string;
|
|
157
|
+
}
|
|
158
|
+
export type GeneratedColumnType = keyof typeof GENERATED_COLUMNS;
|
|
159
|
+
export type GeneratedIdKey = 'columnVisibility' | 'columnOverrides' | 'columnOrder' | 'rowVisibility' | 'rowOrder' | 'rowOverrides';
|
|
160
|
+
/** The ids one key takes on one type, with the ids from the data in words: 'label, range, or each displayed period id'. */
|
|
161
|
+
export declare function generatedIdList(type: GeneratedColumnType, key: GeneratedIdKey): string;
|
|
162
|
+
/**
|
|
163
|
+
* What a generated-id key warns on one draw. `authored` is the key's value: a
|
|
164
|
+
* record, or a list for an order. `drawn` holds the ids the current form draws.
|
|
165
|
+
* A wrong id warns with the type's list and never refuses, and a hidden name
|
|
166
|
+
* column warns and stays. The caller ignores every id this returns a warning for.
|
|
167
|
+
*/
|
|
168
|
+
export declare function generatedIdWarnings(type: GeneratedColumnType, key: GeneratedIdKey, authored: readonly string[] | Readonly<Record<string, unknown>> | undefined, drawn: readonly string[]): LintWarning[];
|
|
@@ -87,6 +87,16 @@ export declare function estimateTextWidthForFace(text: string, font: FontSpec, f
|
|
|
87
87
|
* fixed by the spec now so adding tables later is non-breaking.
|
|
88
88
|
*/
|
|
89
89
|
export declare function createMeasurer(): TextMeasurer;
|
|
90
|
+
export declare function markCachedTextMeasurer<T extends TextMeasurer>(measure: T): T;
|
|
91
|
+
export declare const isCachedTextMeasurer: (measure: TextMeasurer) => boolean;
|
|
92
|
+
/**
|
|
93
|
+
* An exact measurer over `rawWidth`, which must be a pure function of the text
|
|
94
|
+
* and the font's fields. The cache is keyed by field values, because callers
|
|
95
|
+
* build new font objects and may change one in place, and belongs to this
|
|
96
|
+
* measurer, so a caller's wrapper still sees its own calls. Every call returns
|
|
97
|
+
* a new object, which the caller may change.
|
|
98
|
+
*/
|
|
99
|
+
export declare function cachedMeasurer(rawWidth: (text: string, font: FontSpec) => number): TextMeasurer;
|
|
90
100
|
/** Cap height in px of a resolved face (tables hold it in 1/1000 em). */
|
|
91
101
|
export declare function capHeightOfFace(font: FontSpec, face: Face | undefined): number | undefined;
|
|
92
102
|
export declare const defaultMeasurer: TextMeasurer;
|
|
@@ -99,6 +109,12 @@ export declare function measureText(text: string, font: FontSpec): TextSize;
|
|
|
99
109
|
* takes its one-line width.
|
|
100
110
|
*/
|
|
101
111
|
export declare function twoLineWidth(text: string, font: FontSpec, measure: TextMeasurer, breakAfter?: boolean): number;
|
|
112
|
+
/**
|
|
113
|
+
* `twoLineWidth` for any line count: the narrowest width at which `wrapText`
|
|
114
|
+
* holds a text on `lines` lines without a cut. More paragraphs than lines join,
|
|
115
|
+
* as `fitText` joins them.
|
|
116
|
+
*/
|
|
117
|
+
export declare function lineBlockWidth(text: string, lines: number, font: FontSpec, measure: TextMeasurer, breakAfter?: boolean): number;
|
|
102
118
|
/** A name split where a line may break after `_ - / .` (NAME_BREAK); joined, the pieces are the name. */
|
|
103
119
|
export declare function splitNameBreaks(text: string): string[];
|
|
104
120
|
export declare function wrapText(text: string, font: FontSpec, maxWidth: number, maxLines?: number, measure?: TextMeasurer,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Geometry } from './types/scene.js';
|
|
2
|
+
import type { RenderTarget } from './types/options.js';
|
|
3
|
+
import type { PresentationInfo } from './types/sizing.js';
|
|
4
|
+
import { type TypeWidthClass } from './theme.js';
|
|
5
|
+
import type { Theme } from './types/theme.js';
|
|
6
|
+
/** Paint values are excluded; anything that can change layout remains. */
|
|
7
|
+
export declare function themeGeometryTokens(theme: Theme, target?: RenderTarget): unknown;
|
|
8
|
+
/** Output metadata from the final layout. Text roles are supplied by the text lanes. */
|
|
9
|
+
export declare function presentationInfo(geometry: Geometry<object, object>, target: RenderTarget, inheritedClass?: TypeWidthClass, textScale?: number): PresentationInfo;
|
|
@@ -63,13 +63,18 @@ export declare function authoredTimeStep(step: {
|
|
|
63
63
|
unit: TimeUnit | 'quarter';
|
|
64
64
|
step?: number;
|
|
65
65
|
}): TimeStep;
|
|
66
|
+
/**
|
|
67
|
+
* A sub-day step longer than a day ticks at each local midnight, so its ticks follow the days of the
|
|
68
|
+
* range and not the step. Over more days than the plot has pixels those ticks only make a solid bar.
|
|
69
|
+
*/
|
|
70
|
+
export declare function timeStepOutrunsPlot(lo: number, hi: number, step: TimeStep, pixels: number): boolean;
|
|
66
71
|
/**
|
|
67
72
|
* The ticks of one step inside [lo, hi], on the zone's wall clock: 6-hour
|
|
68
73
|
* ticks at 00, 06, 12 and 18 local time, days at local midnight, weeks on the
|
|
69
74
|
* week start, months on the 1st, years on 1 January. A wall time the zone
|
|
70
75
|
* repeats ticks at both instants; one it skips has no tick.
|
|
71
76
|
*/
|
|
72
|
-
export declare function timeTicks(lo: number, hi: number, step: TimeStep, clock: ZoneClock, weekStartsOn?: 0 | 1, limit?: number): number[] | undefined;
|
|
77
|
+
export declare function timeTicks(lo: number, hi: number, step: TimeStep, clock: ZoneClock, weekStartsOn?: 0 | 1, limit?: number, pixels?: number): number[] | undefined;
|
|
73
78
|
/** The text of one tick at its step: '06:00', '24 Oct', 'Oct', '2026'. */
|
|
74
79
|
export declare function timeTickText(ms: number, step: TimeStep, clock: ZoneClock, language?: string): string;
|
|
75
80
|
/**
|
|
@@ -163,6 +163,13 @@ export interface DiagramInset {
|
|
|
163
163
|
label: string;
|
|
164
164
|
value: string;
|
|
165
165
|
}>;
|
|
166
|
+
/** false draws no panel title; the title stays the accessible name. */
|
|
167
|
+
heading?: false;
|
|
168
|
+
/** The rows' two columns: label, value. */
|
|
169
|
+
columnOverrides?: Record<string, {
|
|
170
|
+
width?: number;
|
|
171
|
+
align?: 'left' | 'right' | 'center';
|
|
172
|
+
}>;
|
|
166
173
|
}
|
|
167
174
|
/** One key entry: what the fill of the nodes in `role` (and `paletteKey`) means. */
|
|
168
175
|
/**
|
|
@@ -8,7 +8,7 @@ import type { LineSeriesTarget, VarianceSpec } from './data.js';
|
|
|
8
8
|
import type { Annotation, EventOptions } from './annotations.js';
|
|
9
9
|
import type { OthersShade } from '../othersShade.js';
|
|
10
10
|
import type { ThemeRef } from './theme.js';
|
|
11
|
-
import type { OPTION_CAPABILITY, VALUE_AXIS_CAPABILITY, VALUE_AXIS_ONLY } from '../schema/capability.js';
|
|
11
|
+
import type { AnnotationsRetiredType, LegendRefusedType, OPTION_CAPABILITY, VALUE_AXIS_CAPABILITY, VALUE_AXIS_ONLY } from '../schema/capability.js';
|
|
12
12
|
export type RenderTarget = 'report' | 'dashboard' | 'slide' | 'print';
|
|
13
13
|
export type LengthUnit = 'px' | 'pt' | 'mm';
|
|
14
14
|
export type SizePreset = 'slide-16x9' | 'slide-4x3' | 'a4' | 'dashboard' | 'a4-landscape-content' | 'a4-portrait-content';
|
|
@@ -20,7 +20,19 @@ export type CanvasSizeInput = SizePreset | {
|
|
|
20
20
|
export { SIZE_PRESETS } from '../target.js';
|
|
21
21
|
export type LabelDensity = 'full' | 'smart' | 'minimal';
|
|
22
22
|
export type SortOrder = 'sheet' | 'asc' | 'desc' | 'reverse';
|
|
23
|
-
export type LabelKind = 'category' | 'series' | 'segment' | 'point' | 'total' | 'grandTotal' | 'insidePie' | 'outsidePie' | 'percentIndicator' | 'restSeries' | 'tick' | 'axisTitle' | 'valueLine' | 'annotation' | 'growth' | 'activity' | 'item' | 'scale';
|
|
23
|
+
export type LabelKind = 'category' | 'series' | 'segment' | 'point' | 'total' | 'grandTotal' | 'insidePie' | 'outsidePie' | 'percentIndicator' | 'restSeries' | 'tick' | 'axisTitle' | 'valueLine' | 'annotation' | 'growth' | 'activity' | 'item' | 'scale' | 'position' | 'direction';
|
|
24
|
+
export type ColumnAlign = 'left' | 'right' | 'center';
|
|
25
|
+
/** The settings of one generated column. Each type reads the fields its schema lists. */
|
|
26
|
+
export interface ColumnOverride {
|
|
27
|
+
/** Track width in px. */
|
|
28
|
+
width?: number;
|
|
29
|
+
/** Cell alignment. */
|
|
30
|
+
align?: ColumnAlign;
|
|
31
|
+
/** Head alignment; defaults to align. */
|
|
32
|
+
headAlign?: ColumnAlign;
|
|
33
|
+
/** Head text. */
|
|
34
|
+
label?: string;
|
|
35
|
+
}
|
|
24
36
|
export type LabelContent = ('absolute' | 'percent' | 'category' | 'series')[];
|
|
25
37
|
export interface Subtitle {
|
|
26
38
|
company?: string;
|
|
@@ -68,7 +80,6 @@ export interface StringsSpec {
|
|
|
68
80
|
/** Not applicable value; default 'n/a' (German 'k. A.'). */
|
|
69
81
|
notApplicable?: string;
|
|
70
82
|
/** Series or category legend disclosure; '{count}' becomes '2 of 4'. Default '<count> series shown'. */
|
|
71
|
-
legendCount?: string;
|
|
72
83
|
/** Partial hatch key label without a category name; default 'Partial'. A category-naming key uses toDate. */
|
|
73
84
|
partial?: string;
|
|
74
85
|
/** Meaning of a better sign-coloured value. */
|
|
@@ -630,7 +641,7 @@ export type RefusedOptionKeys<T extends string> = {
|
|
|
630
641
|
[K in GatedOptionKey]: (typeof OPTION_CAPABILITY)[K] extends {
|
|
631
642
|
unsupportedSeverity: 'warn';
|
|
632
643
|
} ? never : T extends (typeof OPTION_CAPABILITY)[K]['implementedBy'][number] ? never : K;
|
|
633
|
-
}[GatedOptionKey];
|
|
644
|
+
}[GatedOptionKey] | (T extends LegendRefusedType ? 'legend' : never) | (T extends AnnotationsRetiredType ? 'annotations' : never);
|
|
634
645
|
/**
|
|
635
646
|
* `BaseOptions` as chart type `T` really accepts it.
|
|
636
647
|
*
|
|
@@ -698,7 +709,12 @@ export interface AnomalyThresholdSpec {
|
|
|
698
709
|
label?: string;
|
|
699
710
|
}
|
|
700
711
|
export type AnomalySpec = AnomalyMadSpec | AnomalyThresholdSpec;
|
|
701
|
-
export interface ColumnOptions extends BaseOptionsFor<'column'> {
|
|
712
|
+
export interface ColumnOptions extends Omit<BaseOptionsFor<'column'>, 'categoryAxis'> {
|
|
713
|
+
/** dateTicks only: columns always sit in the middle of their bands. */
|
|
714
|
+
categoryAxis?: {
|
|
715
|
+
crossesBetween?: never;
|
|
716
|
+
dateTicks?: CategoryAxisOptions['dateTicks'];
|
|
717
|
+
};
|
|
702
718
|
/** Title of the drawn value axis. */
|
|
703
719
|
axisTitles?: {
|
|
704
720
|
primary?: string;
|
|
@@ -810,6 +826,8 @@ export interface TornadoCases {
|
|
|
810
826
|
high: Id;
|
|
811
827
|
}
|
|
812
828
|
export interface BarOptions extends Omit<ColumnOptions, 'ratioTier' | 'variant' | 'anomaly' | 'rowLabels' | 'events' | 'seriesRamp' | 'othersShade' | 'seriesLabels' | 'shareLabels' | 'window' | 'viewDomain' | 'categoryLabels' | 'categoryAxis' | 'ribbons'> {
|
|
829
|
+
/** Settings per generated column, by column id. A width beats the width the type would pick. */
|
|
830
|
+
columnOverrides?: Record<string, ColumnOverride>;
|
|
813
831
|
/** Refused: a bar has no date ticks or band crossing; column, combo and line read categoryAxis. */
|
|
814
832
|
categoryAxis?: {
|
|
815
833
|
crossesBetween?: never;
|
|
@@ -847,7 +865,14 @@ export interface BarOptions extends Omit<ColumnOptions, 'ratioTier' | 'variant'
|
|
|
847
865
|
*/
|
|
848
866
|
methodNote?: boolean;
|
|
849
867
|
}
|
|
850
|
-
export interface ButterflyOptions extends BaseOptionsFor<'butterfly'> {
|
|
868
|
+
export interface ButterflyOptions extends Omit<BaseOptionsFor<'butterfly'>, 'sort'> {
|
|
869
|
+
/** A butterfly has no stacked segments. */
|
|
870
|
+
sort?: {
|
|
871
|
+
categories?: SortOrder;
|
|
872
|
+
segments?: never;
|
|
873
|
+
};
|
|
874
|
+
/** Settings per generated column, by column id. A width beats the width the type would pick. */
|
|
875
|
+
columnOverrides?: Record<string, ColumnOverride>;
|
|
851
876
|
a: Id;
|
|
852
877
|
b: Id;
|
|
853
878
|
centerColumnWidth?: number;
|
|
@@ -871,6 +896,10 @@ export interface WaterfallOptions extends BaseOptionsFor<'waterfall'> {
|
|
|
871
896
|
build?: 'up' | 'down';
|
|
872
897
|
/** Paint each plain step good or bad by its sign times the item's direction; false paints the neutral. */
|
|
873
898
|
signColor?: boolean;
|
|
899
|
+
/** Horizontal bridge: the name band (label) and the value band (value), in px. */
|
|
900
|
+
columnOverrides?: Record<string, {
|
|
901
|
+
width?: number;
|
|
902
|
+
}>;
|
|
874
903
|
}
|
|
875
904
|
export type LineInterpolation = 'linear' | 'step-after' | 'step-before' | 'monotone';
|
|
876
905
|
export type GapFillTone = 'good' | 'bad' | 'neutral';
|
|
@@ -1108,7 +1137,12 @@ export interface LinePhase {
|
|
|
1108
1137
|
rank?: number;
|
|
1109
1138
|
}
|
|
1110
1139
|
/** First line point defaults to its value; last defaults to series name and value. */
|
|
1111
|
-
export interface ComboOptions extends Omit<BaseOptionsFor<'combo'>, 'secondaryAxis'> {
|
|
1140
|
+
export interface ComboOptions extends Omit<BaseOptionsFor<'combo'>, 'secondaryAxis' | 'categoryAxis'> {
|
|
1141
|
+
/** dateTicks only: columns always sit in the middle of their bands. */
|
|
1142
|
+
categoryAxis?: {
|
|
1143
|
+
crossesBetween?: never;
|
|
1144
|
+
dateTicks?: CategoryAxisOptions['dateTicks'];
|
|
1145
|
+
};
|
|
1112
1146
|
/** The event lane and key: placement, lane rows, event groups. */
|
|
1113
1147
|
events?: EventOptions;
|
|
1114
1148
|
/** Visible category endpoints; source means retain all observations. */
|
|
@@ -1153,7 +1187,12 @@ export interface ComboOptions extends Omit<BaseOptionsFor<'combo'>, 'secondaryAx
|
|
|
1153
1187
|
* Pareto. `sort` is deliberately absent: descending IS the analysis, and an
|
|
1154
1188
|
* option to un-sort it would be an option to stop being a Pareto.
|
|
1155
1189
|
*/
|
|
1156
|
-
export interface ParetoOptions extends Omit<BaseOptionsFor<'pareto'>, 'sort'> {
|
|
1190
|
+
export interface ParetoOptions extends Omit<BaseOptionsFor<'pareto'>, 'sort' | 'topN'> {
|
|
1191
|
+
/** A Pareto always prints the count, and the rank cut is n. */
|
|
1192
|
+
topN?: Omit<TopNOptions, 'showRestCount' | 'threshold'> & {
|
|
1193
|
+
showRestCount?: never;
|
|
1194
|
+
threshold?: never;
|
|
1195
|
+
};
|
|
1157
1196
|
/**
|
|
1158
1197
|
* `never`, not absent. Omitting the key makes `sort` a plain unknown property,
|
|
1159
1198
|
* which a non-strict zod object STRIPS: the option would parse away silently, leave
|
|
@@ -1349,7 +1388,10 @@ export interface ScatterOptions extends BaseOptionsFor<'scatter'> {
|
|
|
1349
1388
|
*/
|
|
1350
1389
|
methodNote?: boolean;
|
|
1351
1390
|
}
|
|
1352
|
-
export interface VarianceOptions extends BaseOptionsFor<'variance'> {
|
|
1391
|
+
export interface VarianceOptions extends Omit<BaseOptionsFor<'variance'>, 'topN'> {
|
|
1392
|
+
topN?: Omit<TopNOptions, 'showRestCount'> & {
|
|
1393
|
+
showRestCount?: never;
|
|
1394
|
+
};
|
|
1353
1395
|
/** Title of the value axis valueAxis.show draws, drawn only when authored. */
|
|
1354
1396
|
axisTitles?: {
|
|
1355
1397
|
primary?: string;
|
|
@@ -1365,6 +1407,12 @@ export interface VarianceOptions extends BaseOptionsFor<'variance'> {
|
|
|
1365
1407
|
}
|
|
1366
1408
|
/** Rows stop at their measured natural pitch, normally 44px; deltas use the label token. */
|
|
1367
1409
|
export interface BulletOptions extends BaseOptionsFor<'bullet'> {
|
|
1410
|
+
/** Settings per generated column, by column id. A width beats the width the type would pick. */
|
|
1411
|
+
columnOverrides?: Record<string, ColumnOverride>;
|
|
1412
|
+
/** False leaves a generated column out: actual, share, delta, target, gap. */
|
|
1413
|
+
columnVisibility?: Record<string, boolean>;
|
|
1414
|
+
/** Order of whole blocks; blocks left out follow in default order. */
|
|
1415
|
+
columnOrder?: string[];
|
|
1368
1416
|
/** Title of the shared-scale value axis valueAxis.show draws, drawn only when authored. */
|
|
1369
1417
|
axisTitles?: {
|
|
1370
1418
|
primary?: string;
|
|
@@ -1418,14 +1466,27 @@ export interface BulletOptions extends BaseOptionsFor<'bullet'> {
|
|
|
1418
1466
|
*/
|
|
1419
1467
|
density?: 'compact' | 'regular';
|
|
1420
1468
|
}
|
|
1421
|
-
export interface DotOptions extends BaseOptionsFor<'dot'> {
|
|
1469
|
+
export interface DotOptions extends Omit<BaseOptionsFor<'dot'>, 'topN'> {
|
|
1470
|
+
/** Only the rank cut: a dot chart draws no rest bucket. */
|
|
1471
|
+
topN?: {
|
|
1472
|
+
n: number;
|
|
1473
|
+
rest?: never;
|
|
1474
|
+
restLabel?: never;
|
|
1475
|
+
showRestCount?: never;
|
|
1476
|
+
threshold?: never;
|
|
1477
|
+
};
|
|
1478
|
+
/** Settings per generated column, by column id. A width beats the width the type would pick. */
|
|
1479
|
+
columnOverrides?: Record<string, ColumnOverride>;
|
|
1422
1480
|
/** Authored value-axis title, under the tick row when the axis is drawn. */
|
|
1423
1481
|
axisTitles?: {
|
|
1424
1482
|
primary?: string;
|
|
1425
1483
|
};
|
|
1426
1484
|
variant?: 'dot' | 'dumbbell' | 'lollipop';
|
|
1427
1485
|
/** The mean of every dot of the series in scope as a dashed Ø rule, as on bar and column. */
|
|
1428
|
-
averageMarker?:
|
|
1486
|
+
averageMarker?: boolean | {
|
|
1487
|
+
scope?: 'all' | Id[];
|
|
1488
|
+
includePartial?: never;
|
|
1489
|
+
};
|
|
1429
1490
|
/**
|
|
1430
1491
|
* Dumbbell only: the connector becomes an arrow into the second series' dot.
|
|
1431
1492
|
* Painted good or bad by the sign of the change when the second series
|
|
@@ -1451,6 +1512,8 @@ export interface DotOptions extends BaseOptionsFor<'dot'> {
|
|
|
1451
1512
|
};
|
|
1452
1513
|
}
|
|
1453
1514
|
export interface SlopeOptions extends BaseOptionsFor<'slope'> {
|
|
1515
|
+
/** Settings per generated column, by column id. A width beats the width the type would pick. */
|
|
1516
|
+
columnOverrides?: Record<string, ColumnOverride>;
|
|
1454
1517
|
/**
|
|
1455
1518
|
* Fold every series that stays under this share of the endpoint total at BOTH
|
|
1456
1519
|
* ends into one 'Other' line whose values the engine sums. A SHARE, not a
|
|
@@ -1489,6 +1552,8 @@ export interface SlopeOptions extends BaseOptionsFor<'slope'> {
|
|
|
1489
1552
|
};
|
|
1490
1553
|
}
|
|
1491
1554
|
export interface HeatmapOptions extends BaseOptionsFor<'heatmap'> {
|
|
1555
|
+
/** Width, alignment and head text per column: `label` or a `data.categories` id. */
|
|
1556
|
+
columnOverrides?: Record<string, import('../schema/generatedColumns.js').ColumnOverride>;
|
|
1492
1557
|
scale?: 'continuous' | 'discrete';
|
|
1493
1558
|
/** Automatic values share one fit decision per row; authored labels and valid pins retain precedence. */
|
|
1494
1559
|
variant?: 'value' | 'harvey' | 'bubble';
|
|
@@ -1523,6 +1588,8 @@ export interface HeatmapOptions extends BaseOptionsFor<'heatmap'> {
|
|
|
1523
1588
|
}
|
|
1524
1589
|
/** Standalone width defaults to 360px and stops at 420px; comparison rows follow the value. */
|
|
1525
1590
|
export interface KpiOptions extends BaseOptionsFor<'kpi'> {
|
|
1591
|
+
/** Settings per generated column, by column id. A width beats the width the type would pick. */
|
|
1592
|
+
columnOverrides?: Record<string, ColumnOverride>;
|
|
1526
1593
|
/**
|
|
1527
1594
|
* 'compact' uses a 280 px default card width instead of 360, for a
|
|
1528
1595
|
* dashboard that puts nine of them in a row. An
|
|
@@ -1569,6 +1636,8 @@ export interface SparklineOptions extends BaseOptionsFor<'sparkline'> {
|
|
|
1569
1636
|
ringTone?: 'good' | 'warn' | 'bad';
|
|
1570
1637
|
}
|
|
1571
1638
|
export interface FunnelOptions extends BaseOptionsFor<'funnel'> {
|
|
1639
|
+
/** Settings per generated column, by column id. A width beats the width the type would pick. */
|
|
1640
|
+
columnOverrides?: Record<string, ColumnOverride>;
|
|
1572
1641
|
/** Rows bound automatic callout leaders to three text widths; centered stage text uses three centered lines. */
|
|
1573
1642
|
variant?: 'rows' | 'centered';
|
|
1574
1643
|
totalCvr?: 'none' | 'column';
|
|
@@ -1580,7 +1649,9 @@ export interface FunnelOptions extends BaseOptionsFor<'funnel'> {
|
|
|
1580
1649
|
*/
|
|
1581
1650
|
worstDropCallout?: boolean;
|
|
1582
1651
|
}
|
|
1583
|
-
export interface GridOptions extends BaseOptionsFor<'grid'> {
|
|
1652
|
+
export interface GridOptions extends Omit<BaseOptionsFor<'grid'>, 'format'> {
|
|
1653
|
+
/** Each panel sets its own format. */
|
|
1654
|
+
format?: never;
|
|
1584
1655
|
/** Top-down metric stack with shared categories and computed readouts. */
|
|
1585
1656
|
stack?: import('../charts/grid/metricStack.js').MetricStackOptions;
|
|
1586
1657
|
columns?: number;
|
|
@@ -120,6 +120,8 @@ interface TableColumnBase {
|
|
|
120
120
|
*/
|
|
121
121
|
width?: number;
|
|
122
122
|
align?: 'left' | 'right' | 'center';
|
|
123
|
+
/** Head alignment; defaults to `align`. */
|
|
124
|
+
headAlign?: 'left' | 'right' | 'center';
|
|
123
125
|
/**
|
|
124
126
|
* Print this column's cell notes as a SECOND LINE under the figure, at the
|
|
125
127
|
* ladder's inline step in the muted ink. A note stays inline after the
|
|
@@ -455,6 +457,13 @@ export interface TableOptions extends BaseOptionsFor<'table'> {
|
|
|
455
457
|
judgements?: 'all' | 'exceptions';
|
|
456
458
|
/** Mount closed descendants. false removes them from the DOM. */
|
|
457
459
|
mountCollapsed?: boolean;
|
|
460
|
+
/**
|
|
461
|
+
* React only. Paint every mounted row at once: no `content-visibility`
|
|
462
|
+
* deferral and no row paging over 500 rows, so a capture of a long table has
|
|
463
|
+
* no blank rows. A long table paints slower. Closed rows still follow
|
|
464
|
+
* `mountCollapsed`. Default false.
|
|
465
|
+
*/
|
|
466
|
+
paintOffscreenRows?: boolean;
|
|
458
467
|
variant?: TableVariant;
|
|
459
468
|
encodings?: Record<Id, TableCellEncoding>;
|
|
460
469
|
totalPosition?: 'top' | 'bottom';
|
|
@@ -503,6 +512,12 @@ export interface TableOptions extends BaseOptionsFor<'table'> {
|
|
|
503
512
|
rootsHidden?: boolean;
|
|
504
513
|
};
|
|
505
514
|
columnVisibility?: Record<Id, boolean>;
|
|
515
|
+
/**
|
|
516
|
+
* false: no visible head row and no group heads, with their height, rule and
|
|
517
|
+
* sticky reservation gone. The React grid keeps a visually hidden head for
|
|
518
|
+
* assistive technology, and warns when `sortable` is set.
|
|
519
|
+
*/
|
|
520
|
+
columnHeads?: false;
|
|
506
521
|
/** Inline-line visibility keyed by `inlineGroup`; an absent group is visible. */
|
|
507
522
|
inlineVisibility?: Record<Id, boolean>;
|
|
508
523
|
/**
|
|
@@ -563,10 +578,11 @@ export interface TableOptions extends BaseOptionsFor<'table'> {
|
|
|
563
578
|
* Lines a row label may take before it is cut with an ellipsis (default 2).
|
|
564
579
|
* A label breaks at a space or after `_`, `-`, `/` or `.`, so a long
|
|
565
580
|
* campaign name such as `Brand_Paid-Social_FB_Q4` wraps instead of ending
|
|
566
|
-
* in "…". 1 keeps every label on one line.
|
|
567
|
-
*
|
|
581
|
+
* in "…". 1 keeps every label on one line. A higher count lets a row grow
|
|
582
|
+
* to its lines. Any positive whole number. A cut label keeps its full name in
|
|
583
|
+
* its title.
|
|
568
584
|
*/
|
|
569
|
-
rowLabelLines?:
|
|
585
|
+
rowLabelLines?: number;
|
|
570
586
|
/**
|
|
571
587
|
* Let the last drawn track take the remaining frame width when it has no
|
|
572
588
|
* authored width. Both renderers use the same final pixel width. Default false.
|
|
@@ -728,6 +744,8 @@ export interface ResolvedColumn {
|
|
|
728
744
|
/** Authored `noteLine`: this column's cell notes print as a second line. */
|
|
729
745
|
noteLine?: boolean;
|
|
730
746
|
align: 'left' | 'right' | 'center';
|
|
747
|
+
/** Authored head alignment; absent, the head follows `align`. */
|
|
748
|
+
headAlign?: 'left' | 'right' | 'center';
|
|
731
749
|
/** Money unit hoisted out of cells when table units are MIXED. */
|
|
732
750
|
unitLabel?: string;
|
|
733
751
|
/** The hoisted unit names a magnitude the cells print without ("$k"), so a raw value drops it. */
|
package/dist/types/index.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export declare function measure<D, O extends object>(request: ChartRequest<D, O
|
|
|
15
15
|
export declare function canDraw<D, O extends object>(request: ChartRequest<D, O & RequestInputOptions>, context?: RequestContext): import("./index.js").CanDraw;
|
|
16
16
|
export type { CanDraw } from './core/request.js';
|
|
17
17
|
export { layoutResolvedRequest, measureResolvedRequest } from './core/request.js';
|
|
18
|
+
/** @internal A host sizes a table with it, with no scene and no hidden render. */
|
|
19
|
+
export { planResolvedRequest } from './core/request.js';
|
|
18
20
|
export { isRefused } from './core/schema/refusals.js';
|
|
19
21
|
export { InputError, specFromRows, type RowsColumns, type RowsReading, type SpecFromRowsInput } from './rows.js';
|
|
20
22
|
export type { ChartRequest, ResolvedChartRequest, RequestInputOptions as RequestOptions, RequestInputOptions, RequestContext, ChartMeasurement } from './core/request.js';
|