boardplot 0.59.0 → 0.61.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 +64 -0
- package/README.md +2 -2
- package/dist/{ReaderBox-4PNFZO56.js → ReaderBox-75LYQMSA.js} +3 -3
- package/dist/{annotateEngine-DL4KRQ6B.js → annotateEngine-CL6ZSRGG.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-7UZUXPFM.js → chunk-24O6BRKD.js} +1 -1
- package/dist/{chunk-HC4UW7MB.js → chunk-2BF6HZV7.js} +4 -4
- package/dist/chunk-2KGF6AIK.js +1483 -0
- package/dist/{chunk-RF6ZHX5F.js → chunk-2T22INLD.js} +1 -1
- package/dist/{chunk-3WFJDXZO.js → chunk-2X6672YL.js} +4 -4
- package/dist/{chunk-LC4KDLUE.js → chunk-32FGSRR3.js} +4 -4
- package/dist/{chunk-MOBRWYUQ.js → chunk-352V2W5P.js} +2 -2
- package/dist/{chunk-FWPPZB4G.js → chunk-3553PK6F.js} +2 -2
- package/dist/{chunk-XUEX5WTR.js → chunk-35RSAHLK.js} +1 -1
- package/dist/{chunk-E4KHHC46.js → chunk-36KGPRMX.js} +9 -9
- package/dist/{chunk-BOUZKVIY.js → chunk-3GL23VOF.js} +31 -3
- package/dist/{chunk-SNJ3FZXC.js → chunk-4ORV4RGE.js} +5 -5
- package/dist/chunk-4ZIFMZO4.js +63 -0
- package/dist/{chunk-FMVXXKSW.js → chunk-533SNVDD.js} +4 -4
- package/dist/{chunk-UZDQFUHO.js → chunk-55BVHNZQ.js} +4 -4
- package/dist/{chunk-JRM22ULA.js → chunk-56PPEORW.js} +52 -28
- package/dist/{chunk-DUDVHQD6.js → chunk-57XHIICM.js} +5 -5
- package/dist/{chunk-EJA5EANI.js → chunk-5DH5ACTO.js} +90 -83
- package/dist/{chunk-4EEK4AMC.js → chunk-5EU5DLA3.js} +2 -2
- package/dist/{chunk-XFDNAR4S.js → chunk-5JZQXMXU.js} +6 -6
- package/dist/{chunk-MTOBNHAU.js → chunk-5ZGCGIHG.js} +2 -2
- package/dist/{chunk-PHQGGR5O.js → chunk-64577PGJ.js} +4 -4
- package/dist/{chunk-GZYMHC44.js → chunk-6JOLPUTW.js} +2 -2
- package/dist/{chunk-MYBBZNYN.js → chunk-6QUQEN75.js} +2 -2
- package/dist/{chunk-OM5MAJST.js → chunk-6R6LM337.js} +12 -12
- package/dist/{chunk-UKEI7JDA.js → chunk-6U4J3T2G.js} +3 -2
- package/dist/{chunk-NZGQLR4X.js → chunk-6U7VIQLV.js} +6 -6
- package/dist/{chunk-ZNA4JHHG.js → chunk-757IKZZU.js} +2 -2
- package/dist/{chunk-V3XYFLOZ.js → chunk-7D65YEEY.js} +4 -4
- package/dist/{chunk-XWUHUTXX.js → chunk-7JM235F7.js} +8 -8
- package/dist/{chunk-4YZQY3AA.js → chunk-7SSN5ECA.js} +1 -1
- package/dist/{chunk-DZBT7AWJ.js → chunk-7WC2N4QZ.js} +2 -2
- package/dist/{chunk-ZOQRX5V7.js → chunk-7ZHM37LQ.js} +3 -3
- package/dist/{chunk-HW67YGJC.js → chunk-7ZPHJOG6.js} +1 -1
- package/dist/{chunk-MZCJ22O4.js → chunk-A4UL5GIM.js} +1 -1
- package/dist/{chunk-XUGEYHOQ.js → chunk-ASRICUAD.js} +2 -2
- package/dist/{chunk-XZBX6LIC.js → chunk-B62SEOJC.js} +6 -6
- package/dist/{chunk-WD5NJHZG.js → chunk-B76O5YXI.js} +1 -1
- package/dist/{chunk-RF2REMRV.js → chunk-BF6KECQD.js} +6 -6
- package/dist/{chunk-5HOIOQK3.js → chunk-BJ5GI5ZB.js} +1 -1
- package/dist/{chunk-XAH4EWJT.js → chunk-BKUTKQMT.js} +38 -2
- package/dist/chunk-BOQQARLT.js +89 -0
- package/dist/{chunk-VVWTD4XP.js → chunk-BVE5LPOA.js} +4 -4
- package/dist/{chunk-BJJYNTVJ.js → chunk-CVUHCNQO.js} +1 -1
- package/dist/{chunk-WTWM4RK6.js → chunk-CWP5ZYVQ.js} +1 -1
- package/dist/{chunk-W4ZLMK6Z.js → chunk-CYMSES53.js} +1 -1
- package/dist/{chunk-B5FT4YAX.js → chunk-DOVEWKJ6.js} +1 -1
- package/dist/{chunk-4DLIXTDH.js → chunk-E6IN6QDF.js} +5 -5
- package/dist/{chunk-6TZDPQDE.js → chunk-E7FWHKCI.js} +14 -7
- package/dist/{chunk-USATDW6O.js → chunk-EAMZDY55.js} +1 -1
- package/dist/{chunk-7UUSHA7H.js → chunk-EIQTUVJT.js} +1 -1
- package/dist/{chunk-56CDMSE5.js → chunk-EKYVRXTE.js} +1 -1
- package/dist/{chunk-GDE2JINW.js → chunk-EL5E6O3K.js} +7 -7
- package/dist/{chunk-QMQZC2KW.js → chunk-EM33NXGZ.js} +2 -2
- package/dist/{chunk-3V7Y7CHI.js → chunk-EOPDGMDS.js} +1 -1
- package/dist/{chunk-PSUSHJFV.js → chunk-EQDLZGZO.js} +1 -1
- package/dist/{chunk-5YULK4DY.js → chunk-ESZIJ5Z6.js} +3 -3
- package/dist/chunk-EU45YU5W.js +96 -0
- package/dist/{chunk-O32L5FK2.js → chunk-EV3GY7Y3.js} +4 -4
- package/dist/{chunk-TLKRYDH3.js → chunk-EV7AATQM.js} +2 -2
- package/dist/{chunk-XRPZJDAK.js → chunk-EWG3PCYJ.js} +72 -1188
- package/dist/{chunk-M2FF4IPF.js → chunk-F2IHSUPI.js} +2 -2
- package/dist/{chunk-RPS7G77V.js → chunk-F2WMTUWC.js} +2 -2
- package/dist/{chunk-7TZIPGFH.js → chunk-F37PADCM.js} +2 -2
- package/dist/{chunk-SE6LBMRJ.js → chunk-FBUAKQAI.js} +25 -23
- package/dist/{chunk-77L6QGIG.js → chunk-FKRL2ZB2.js} +1 -1
- package/dist/{chunk-MF6XGFHB.js → chunk-FNDDKZ4Z.js} +6 -2
- package/dist/{chunk-IX2SLULO.js → chunk-FTIQ6TI2.js} +2 -2
- package/dist/{chunk-YM4MVABU.js → chunk-FY3VV7TF.js} +5 -4
- package/dist/{chunk-VT6PDWUA.js → chunk-G3CVCW5K.js} +81 -79
- package/dist/{chunk-TEZWFQB7.js → chunk-GCZHZVNX.js} +6 -6
- package/dist/{chunk-GNK7RTO4.js → chunk-GEQSZ5RE.js} +4 -4
- package/dist/{chunk-QKDDGDRF.js → chunk-GNB4JQTB.js} +10 -10
- package/dist/{chunk-W6NEWQZU.js → chunk-GRMAYSIG.js} +8 -8
- package/dist/{chunk-PZZAVTLQ.js → chunk-GSR6UO7H.js} +2 -2
- package/dist/{chunk-AH2L44TR.js → chunk-GZ6MPJKY.js} +3 -3
- package/dist/{chunk-POHML4N4.js → chunk-H26UA4UM.js} +6 -6
- package/dist/{chunk-VZVPN7NT.js → chunk-H5YDEIY2.js} +4 -4
- package/dist/{chunk-EADD6NNQ.js → chunk-HS4DLZ6H.js} +17 -12
- package/dist/{chunk-XLX3TUFO.js → chunk-HTLEHU5D.js} +2 -2
- package/dist/{chunk-JYSS5ZZF.js → chunk-HUCUNGHB.js} +5 -5
- package/dist/{chunk-FP3ORYCG.js → chunk-I3GRAQHO.js} +9 -9
- package/dist/{chunk-2GVW5WDD.js → chunk-I4A4MY3S.js} +4 -4
- package/dist/{chunk-XGTSZ7NC.js → chunk-IIKM6NXU.js} +4 -4
- package/dist/{chunk-AVYRC2T3.js → chunk-IKH3DWS2.js} +11 -11
- package/dist/{chunk-U4WG46QP.js → chunk-IKTAVMF2.js} +31 -15
- package/dist/{chunk-7BQK2UDV.js → chunk-IXCDKCYE.js} +1 -1
- package/dist/{chunk-IXZI4SN4.js → chunk-JE54IO26.js} +15 -15
- package/dist/{chunk-TCWJQIVQ.js → chunk-JEAUVQTV.js} +65 -29
- package/dist/{chunk-RYYB7REV.js → chunk-JG35YUYX.js} +3 -3
- package/dist/{chunk-X3AMBFGF.js → chunk-JIVNJBXI.js} +4 -4
- package/dist/{chunk-7YJSSPQX.js → chunk-JLJ4QRAE.js} +12 -12
- package/dist/{chunk-6IIYLDSQ.js → chunk-JLZFXNUE.js} +4 -4
- package/dist/{chunk-B7UWG6XJ.js → chunk-JTCXK7AG.js} +1 -1
- package/dist/{chunk-NWUEA42V.js → chunk-JUTMQGKU.js} +4 -4
- package/dist/{chunk-5OV7VOGV.js → chunk-JXHTZVSV.js} +2 -2
- package/dist/{chunk-SDAVHADX.js → chunk-JZK6ZPUM.js} +2 -2
- package/dist/{chunk-VHZ4MXJO.js → chunk-K2RZKPQ2.js} +1 -1
- package/dist/{chunk-NUASZPS7.js → chunk-KJF7SLOA.js} +1 -1
- package/dist/{chunk-KRIYGX3N.js → chunk-KTFUYWN2.js} +5 -5
- package/dist/{chunk-O623CYPA.js → chunk-KY5MSTME.js} +4 -4
- package/dist/{chunk-5ACFYNA4.js → chunk-KZKWDFIS.js} +4 -0
- package/dist/{chunk-ID5PE4KM.js → chunk-L5RZFP5B.js} +3 -3
- package/dist/{chunk-U75MMLNQ.js → chunk-L6OMA45Q.js} +4 -4
- package/dist/{chunk-LLECS747.js → chunk-LEPXK7RN.js} +2 -2
- package/dist/{chunk-4YKS2JDE.js → chunk-LFL4KMKF.js} +1 -1
- package/dist/{chunk-5UXK5BAA.js → chunk-LH5URXDJ.js} +10 -10
- package/dist/{chunk-33SPSKTP.js → chunk-LHQFDRQV.js} +4 -4
- package/dist/{chunk-TMVERETB.js → chunk-LL7ZU6BT.js} +12 -12
- package/dist/{chunk-GEEHXLFQ.js → chunk-LLHCEZV2.js} +110 -86
- package/dist/{chunk-YJXIHVNK.js → chunk-LMDU5MNF.js} +2 -2
- package/dist/{chunk-GWDKUKOJ.js → chunk-LT7IY2L3.js} +7 -7
- package/dist/{chunk-RSDGBNXP.js → chunk-LTYDEWKW.js} +3 -3
- package/dist/{chunk-NIL6TYAN.js → chunk-M2LYZUQA.js} +10 -7
- package/dist/{chunk-IQRRT32Q.js → chunk-M4IIJ24E.js} +2 -2
- package/dist/{chunk-VMLVZW4F.js → chunk-MBRVSKFJ.js} +6 -6
- package/dist/{chunk-AGR4VJ2Y.js → chunk-MM2ADIPB.js} +1 -1
- package/dist/{chunk-LM4GVVPM.js → chunk-MNPNLXSI.js} +3 -3
- package/dist/{chunk-VLMKGQ33.js → chunk-MNVMTW7K.js} +11 -11
- package/dist/{chunk-P3N74SZ5.js → chunk-MYYDNK72.js} +4 -4
- package/dist/{chunk-AFQZBCME.js → chunk-NCKINI7K.js} +2 -2
- package/dist/{chunk-4WH2YGO6.js → chunk-NHQKHMIS.js} +4 -4
- package/dist/{chunk-E62SXDRT.js → chunk-NJKUODK3.js} +1 -1
- package/dist/{chunk-HBKZC5BH.js → chunk-NJVXE2DU.js} +2 -2
- package/dist/{chunk-MOPY5REE.js → chunk-NNOKYAFB.js} +3 -3
- package/dist/{chunk-JIB74SQS.js → chunk-NSQBT4CM.js} +4 -4
- package/dist/{chunk-HFDU2E7C.js → chunk-NWJ4DXAZ.js} +11 -11
- package/dist/{chunk-JOX252XQ.js → chunk-OGD23BIK.js} +3 -1
- package/dist/{chunk-WTH3KQDM.js → chunk-OIMT2SSN.js} +2 -2
- package/dist/{chunk-6CZGFTGK.js → chunk-OIPBVU7G.js} +11 -11
- package/dist/chunk-OLAPTOUH.js +69 -0
- package/dist/{chunk-I65BCUVH.js → chunk-OLEUVUH3.js} +4 -4
- package/dist/{chunk-XMII3G47.js → chunk-OP7K5NSS.js} +4 -4
- package/dist/{chunk-GGFT6IIM.js → chunk-OQKVFWAO.js} +4 -4
- package/dist/{chunk-F2N5BUBK.js → chunk-OR7KKODW.js} +9 -9
- package/dist/{chunk-YOUYJHW3.js → chunk-OUSYBIGE.js} +4 -4
- package/dist/{chunk-DEJ27Y2P.js → chunk-OYCEFOIW.js} +54 -26
- package/dist/{chunk-DANKUHCX.js → chunk-P2QIWGFU.js} +9 -9
- package/dist/{chunk-4LCQO46F.js → chunk-P3CZFAFA.js} +79 -75
- package/dist/{chunk-2HRDOBPS.js → chunk-P3TOPI3M.js} +1 -1
- package/dist/{chunk-DXLWMK24.js → chunk-PCHV6KYJ.js} +3 -3
- package/dist/{chunk-YRCIG4IO.js → chunk-PGKGK43I.js} +112 -24
- package/dist/{chunk-FBIMTKYK.js → chunk-PH274WAF.js} +3 -3
- package/dist/{chunk-266ENWFM.js → chunk-QER2YJHC.js} +4 -4
- package/dist/{chunk-XETSLYFD.js → chunk-QJPI55S5.js} +4 -4
- package/dist/{chunk-OL6HVC6K.js → chunk-QK2OFTEB.js} +1 -1
- package/dist/{chunk-5AXWSGS7.js → chunk-QSMKLDAO.js} +2 -2
- package/dist/{chunk-UFGJNSSL.js → chunk-R3IPQHWC.js} +1 -1
- package/dist/{chunk-IXOBDDMW.js → chunk-RD24ORGR.js} +2 -0
- package/dist/{chunk-QM6IW5BL.js → chunk-RMBWY5JE.js} +4 -4
- package/dist/{chunk-UGHJHJKY.js → chunk-RT4V47U6.js} +1 -1
- package/dist/{chunk-UI2MKLON.js → chunk-RTSSUQ25.js} +1 -1
- package/dist/{chunk-PP23D6QV.js → chunk-RV6JDD6S.js} +4 -4
- package/dist/{chunk-6TH5NVKS.js → chunk-RXC3XU62.js} +33 -8
- package/dist/{chunk-CV5KCQD3.js → chunk-RZQU5DHD.js} +10 -10
- package/dist/{chunk-Y4BJ7D5F.js → chunk-S7AHPU2N.js} +1 -1
- package/dist/{chunk-67744WKZ.js → chunk-SGTSTGIP.js} +1 -1
- package/dist/{chunk-FB36HSY2.js → chunk-SJORKHHL.js} +5 -5
- package/dist/{chunk-7IONS4Z7.js → chunk-SSVOJXFR.js} +3 -3
- package/dist/{chunk-XVFUJRRC.js → chunk-T2DGSOAH.js} +1 -1
- package/dist/{chunk-EWGFOEJB.js → chunk-T6XSXJDQ.js} +76 -48
- package/dist/{chunk-ZK22I3NF.js → chunk-TB734IYI.js} +4 -4
- package/dist/{chunk-GSHRYDJM.js → chunk-TFYVBPGR.js} +1 -1
- package/dist/{chunk-DYD7W3Y6.js → chunk-THKVAXTQ.js} +43 -26
- package/dist/{chunk-7SIZGM5S.js → chunk-TI5PPS3L.js} +89 -42
- package/dist/{chunk-VTUSC24F.js → chunk-TIVUSWGT.js} +2 -2
- package/dist/{chunk-ICJUN47O.js → chunk-TL5ICZT2.js} +2 -2
- package/dist/{chunk-YPELB4Q7.js → chunk-TS472T4D.js} +4 -4
- package/dist/{chunk-ISMFUWOP.js → chunk-TWMVAPG2.js} +4 -4
- package/dist/{chunk-QDFX2KAP.js → chunk-U2YWY6FH.js} +1 -1
- package/dist/{chunk-XXYV5UEM.js → chunk-UERGJOG4.js} +12 -12
- package/dist/{chunk-X725AGYP.js → chunk-UFKLGMYZ.js} +2 -2
- package/dist/{chunk-SXCFMPNM.js → chunk-UGH3CLTZ.js} +4 -4
- package/dist/{chunk-C26Z5AEW.js → chunk-ULXSTWJF.js} +3 -3
- package/dist/{chunk-IDJVUZAA.js → chunk-USK77VAZ.js} +4 -4
- package/dist/{chunk-ICERP2YF.js → chunk-UXAON5DO.js} +2 -2
- package/dist/{chunk-7ZXIHEZS.js → chunk-V3YQQDR4.js} +4 -4
- package/dist/{chunk-RLX6VODQ.js → chunk-V4XTBNZD.js} +2 -2
- package/dist/{chunk-YJN54OZS.js → chunk-VE6P436Y.js} +12 -12
- package/dist/{chunk-BXZNLMMH.js → chunk-VFXGAEUO.js} +2 -2
- package/dist/{chunk-XWGAANY4.js → chunk-VITZVVCD.js} +2 -2
- package/dist/{chunk-ADLKZEML.js → chunk-VJAZFGBY.js} +15 -15
- package/dist/{chunk-KWMQNKGX.js → chunk-VR3HLYAT.js} +6 -5
- package/dist/{chunk-UV77Y7QK.js → chunk-W2QJDTAR.js} +2 -2
- package/dist/{chunk-A3SOYL6F.js → chunk-WBIMWGV7.js} +4 -4
- package/dist/{chunk-OTOASFG4.js → chunk-WK6LQCUT.js} +6 -6
- package/dist/{chunk-SBYKLBDV.js → chunk-WOTRCVA5.js} +4 -4
- package/dist/{chunk-EWMPUCIG.js → chunk-WQPMBAG2.js} +37 -37
- package/dist/{chunk-WZNO3LUF.js → chunk-WSHSR3B2.js} +4 -4
- package/dist/{chunk-EH23CIC5.js → chunk-WVYC6MR6.js} +2 -2
- package/dist/{chunk-EZ5KUBYF.js → chunk-WY7FHINS.js} +3 -3
- package/dist/{chunk-4NIIQFDA.js → chunk-X4NDN6PQ.js} +10 -10
- package/dist/{chunk-3ZR7ZE64.js → chunk-XC53YNZG.js} +2 -2
- package/dist/{chunk-TQFBLSZJ.js → chunk-XGJZRPHC.js} +7 -7
- package/dist/{chunk-T4CFY4YT.js → chunk-XLP6U3FG.js} +2 -2
- package/dist/{chunk-2E2MK4XM.js → chunk-XMI7SCPX.js} +2 -2
- package/dist/{chunk-7QUWM5W6.js → chunk-XTECBM5K.js} +3 -3
- package/dist/{chunk-DO7MMF4C.js → chunk-Y7O3T4DF.js} +27 -26
- package/dist/{chunk-NPDF7HEH.js → chunk-YBMYW7LD.js} +1 -1
- package/dist/{chunk-5ZE7SHRM.js → chunk-YO7LCXKN.js} +2 -2
- package/dist/{chunk-AIPOSNVG.js → chunk-YRWJBS6C.js} +1 -1
- package/dist/{chunk-LADFOYH7.js → chunk-YSKLERPF.js} +6 -6
- package/dist/{chunk-OJR5GPCN.js → chunk-YUEJZBME.js} +4 -4
- package/dist/{chunk-3WC2TA6C.js → chunk-YUJK6ZYO.js} +2 -2
- package/dist/{chunk-ZIQR2CNM.js → chunk-YXHSM7QL.js} +5 -5
- package/dist/{chunk-SFRMBCVY.js → chunk-YZW4VLSO.js} +4 -4
- package/dist/{chunk-AUSZDYGE.js → chunk-Z2WGJH2P.js} +3 -3
- package/dist/{chunk-CX7WUNMO.js → chunk-ZMZNMVPR.js} +6 -6
- package/dist/{chunk-5QMM354E.js → chunk-ZT5Q6BRT.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{core-A2MERE3C.js → core-2IWCOLCX.js} +1 -1
- package/dist/{core-BOU34T23.js → core-2SCAWP7F.js} +2 -1
- package/dist/{core-Y6DJHIYT.js → core-2ZRSLX2J.js} +2 -1
- package/dist/{core-BSEXRZD6.js → core-3H2PZVYN.js} +2 -1
- package/dist/{core-JJLIPTEW.js → core-4SX63YE4.js} +1 -1
- package/dist/{core-FXC4TB2K.js → core-76KPBWTL.js} +1 -1
- package/dist/{core-BOOD7ZUQ.js → core-7LODBY2T.js} +2 -1
- package/dist/{core-AVNB2Q3G.js → core-7PNZRGK7.js} +1 -1
- package/dist/{core-Q4IILTGO.js → core-7RSXZIVD.js} +1 -1
- package/dist/{core-W3UBWZR3.js → core-B7TS5HK6.js} +3 -1
- package/dist/{core-34YTH4KN.js → core-BEBRTX5W.js} +2 -1
- package/dist/{core-CXEEM26F.js → core-CTI37JP5.js} +1 -1
- package/dist/{core-HMS72VO6.js → core-DICZFWV4.js} +1 -1
- package/dist/{core-XYQRB5WF.js → core-DZVYQFBX.js} +2 -1
- package/dist/{core-IYEFTP6C.js → core-E6Q3H52Q.js} +1 -1
- package/dist/{core-MVIK7FAJ.js → core-EQP4ERQK.js} +1 -1
- package/dist/{core-6KO5AEUH.js → core-FZJOKAFE.js} +1 -1
- package/dist/{core-VGMMKEU4.js → core-GGKGWGHO.js} +2 -1
- package/dist/{core-2PT7IROA.js → core-J7ZHSASB.js} +1 -1
- package/dist/{core-YJXOVNIE.js → core-LCX7EK3Y.js} +2 -1
- package/dist/{core-QCPDOQEJ.js → core-LSN2YKO4.js} +1 -1
- package/dist/{core-VWISBHXE.js → core-NL6TMYOZ.js} +1 -1
- package/dist/{core-RVTF336C.js → core-NPCHUGTV.js} +1 -1
- package/dist/{core-MBNVENCZ.js → core-OO22DXBW.js} +1 -1
- package/dist/{core-J2QTOU4D.js → core-QACGDEDF.js} +7 -1
- package/dist/{core-VUVJOMUC.js → core-RZ5ZDSQL.js} +1 -1
- package/dist/{core-N4OKPNXQ.js → core-S56FGRAT.js} +1 -1
- package/dist/{core-YHWVJULU.js → core-SERUDXVA.js} +1 -1
- package/dist/{core-7WLD237S.js → core-UOATHRZG.js} +1 -1
- package/dist/{core-LCP44UYI.js → core-UPPUXBWO.js} +1 -1
- package/dist/{core-IQC6H4A7.js → core-UYTRLCZY.js} +1 -1
- package/dist/{core-I2GPMB2B.js → core-V55HGH7X.js} +1 -1
- package/dist/{core-B7KOBTRL.js → core-W5WF7FHA.js} +7 -1
- package/dist/{core-BQ2I77OF.js → core-XINQIYQ6.js} +1 -1
- package/dist/{core-EHMPBG6Q.js → core-Y3WI32MB.js} +4 -1
- package/dist/{core-4ZEVWU43.js → core-ZFXHFRWI.js} +3 -1
- package/dist/{core-64EHPUVV.js → core-ZYLCLTFQ.js} +1 -1
- package/dist/{dataTable-3ZK3ZEZP.js → dataTable-72HO6PCW.js} +2 -2
- package/dist/{engine-FSWLRWZR.js → engine-UCMXMWGA.js} +26 -13
- package/dist/fixtures.js +1 -1
- package/dist/index.js +12 -12
- package/dist/{main-NYMXWJGJ.js → main-NS5NPNQ7.js} +6 -6
- package/dist/mcp/server.js +11 -11
- package/dist/react/bar.js +3 -1
- package/dist/react/bartable.js +1 -1
- package/dist/react/box.js +1 -1
- package/dist/react/bullet.js +2 -1
- package/dist/react/butterfly.js +1 -1
- package/dist/react/choropleth.js +1 -1
- package/dist/react/cohort.js +1 -1
- package/dist/react/column.js +2 -1
- package/dist/react/combo.js +7 -1
- package/dist/react/creative.js +1 -1
- package/dist/react/diagram.js +1 -1
- package/dist/react/dimswitch.js +1 -1
- package/dist/react/dot.js +4 -1
- package/dist/react/export.js +15 -15
- package/dist/react/funnel.js +1 -1
- package/dist/react/gantt.js +1 -1
- package/dist/react/grid.js +1 -1
- package/dist/react/heatmap.js +1 -1
- package/dist/react/histogram.js +2 -1
- package/dist/react/index.js +83 -83
- package/dist/react/kpi.js +1 -1
- package/dist/react/likert.js +3 -1
- package/dist/react/line.js +1 -1
- package/dist/react/mekko.js +2 -1
- package/dist/react/pareto.js +5 -1
- package/dist/react/pie.js +1 -1
- package/dist/react/prepare.js +20 -20
- package/dist/react/pvm.js +2 -1
- package/dist/react/pyramid.js +1 -1
- package/dist/react/sankey.js +1 -1
- package/dist/react/scatter.js +1 -1
- package/dist/react/slope.js +2 -1
- package/dist/react/sparkline.js +1 -1
- package/dist/react/spec.js +8 -8
- package/dist/react/status.js +1 -1
- package/dist/react/story.js +1 -1
- package/dist/react/table.js +1 -1
- package/dist/react/theme.js +2 -2
- package/dist/react/tilemap.js +1 -1
- package/dist/react/treemap.js +1 -1
- package/dist/react/variance.js +2 -1
- package/dist/react/waffle.js +1 -1
- package/dist/react/waterfall.js +2 -1
- package/dist/{rowsModule-43LCK2Q7.js → rowsModule-QGCXTE6X.js} +1 -1
- package/dist/{schema-NNNG7CWG.js → schema-2BFNQ5GW.js} +1 -1
- package/dist/{schema-VH4AW62Z.js → schema-2XGHH7PU.js} +1 -1
- package/dist/{schema-KWCIIIGP.js → schema-3IXLM7X4.js} +1 -1
- package/dist/{schema-LDF6HORS.js → schema-4SRLAXUP.js} +1 -1
- package/dist/{schema-IYLRZNFB.js → schema-6PLNMFVY.js} +1 -1
- package/dist/{schema-FPDLOIA6.js → schema-6WNG4LCV.js} +1 -1
- package/dist/{schema-A4U4RDKJ.js → schema-7WNRP7FW.js} +1 -1
- package/dist/{schema-IYBZPCM4.js → schema-7XQMEJII.js} +1 -1
- package/dist/{schema-LGYHJPXU.js → schema-AGKSRVXN.js} +1 -1
- package/dist/{schema-FQWENOJY.js → schema-AMIFJ2JX.js} +1 -1
- package/dist/{schema-SQ2GYLMI.js → schema-BK2TU6XT.js} +1 -1
- package/dist/{schema-AM2KS6ZC.js → schema-C3PYINCY.js} +1 -1
- package/dist/{schema-D3ELHESU.js → schema-CWOPBOK4.js} +1 -1
- package/dist/{schema-FBIEOKO2.js → schema-E2WWDYU5.js} +1 -1
- package/dist/{schema-LX4EXDTI.js → schema-EAYC5DVH.js} +1 -1
- package/dist/{schema-GTLGAPCU.js → schema-ENLWEZOI.js} +1 -1
- package/dist/{schema-HAMPGUH3.js → schema-ETH6WXZU.js} +1 -1
- package/dist/{schema-CBLNGK2F.js → schema-FOBGNU5I.js} +1 -1
- package/dist/{schema-GYVYJEL3.js → schema-FSX7WR7M.js} +1 -1
- package/dist/{schema-5SVPR3EU.js → schema-G6KGEQRD.js} +1 -1
- package/dist/{schema-SUDJBIHX.js → schema-GAUZZRA4.js} +1 -1
- package/dist/{schema-2ACHQTR3.js → schema-GFRB4BJW.js} +1 -1
- package/dist/{schema-KBV2JB2A.js → schema-GQPXSWIR.js} +1 -1
- package/dist/{schema-WDKBCN3V.js → schema-JJIXQIBN.js} +1 -1
- package/dist/{schema-C25ECGJL.js → schema-JKZBRZSI.js} +1 -1
- package/dist/{schema-4YIYGGOJ.js → schema-MCA4J2BP.js} +1 -1
- package/dist/{schema-P2JYSV32.js → schema-MM7JPYI7.js} +1 -1
- package/dist/{schema-GUDG343K.js → schema-O5HGNE3W.js} +2 -2
- package/dist/{schema-YVBUY7NH.js → schema-OIY565PO.js} +1 -1
- package/dist/{schema-TRPPZCIR.js → schema-PVUWOLUB.js} +1 -1
- package/dist/{schema-PAKZIYQF.js → schema-RRZXOF5G.js} +1 -1
- package/dist/{schema-4HGZZNUL.js → schema-UEZQN4WK.js} +1 -1
- package/dist/{schema-GYTWCCNA.js → schema-WWWWEQAR.js} +1 -1
- package/dist/{schema-3LRC5TOZ.js → schema-XQSP5QAX.js} +1 -1
- package/dist/{schema-UNYDUIL5.js → schema-YUMFWHIE.js} +1 -1
- package/dist/{schema-5OLQ54J5.js → schema-ZBIIPJAI.js} +1 -1
- package/dist/{schema-YCKUQ3FF.js → schema-ZFUX3UIO.js} +1 -1
- package/dist/{specValidation-FKHSTMMR.js → specValidation-5AI56FM3.js} +1 -1
- package/dist/theme.js +3 -3
- package/dist/{themeShapeRules-G7UZX6GJ.js → themeShapeRules-GGBYWZY7.js} +1 -1
- package/dist/types/core/annotate.d.ts +12 -3
- package/dist/types/core/annotateFields.d.ts +36 -1
- package/dist/types/core/annotateTargets.d.ts +2 -0
- package/dist/types/core/types/data.d.ts +6 -0
- package/dist/types/core/types/options.d.ts +4 -0
- package/dist/types/core/types/theme.d.ts +17 -2
- package/dist/types/react/hover/engine.d.ts +5 -1
- package/dist/types/react/hover/labelCard.d.ts +33 -2
- package/dist/types/theme.d.ts +1 -1
- package/dist/validate.js +5 -5
- package/docs/manual.md +1 -1
- package/docs/reference/bar.md +2 -2
- package/docs/reference/bullet.md +6 -4
- package/docs/reference/butterfly.md +1 -1
- package/docs/reference/column.md +2 -2
- package/docs/reference/combo.md +2 -2
- package/docs/reference/dot.md +2 -2
- package/docs/reference/fixtures.md +2 -0
- package/docs/reference/grid.md +2 -2
- package/docs/reference/heatmap.md +1 -1
- package/docs/reference/line.md +2 -2
- package/docs/reference/mekko.md +2 -2
- package/docs/reference/options.md +3 -1
- package/docs/reference/pvm.md +1 -1
- package/docs/reference/react.md +7 -3
- package/docs/reference/scatter.md +1 -1
- package/docs/reference/slope.md +2 -2
- package/docs/reference/sparkline.md +1 -0
- package/docs/reference/table.md +1 -1
- package/docs/reference/theme.md +2 -0
- package/docs/reference/variance.md +1 -1
- package/docs/reference/warnings.md +3 -2
- package/docs/reference/waterfall.md +6 -4
- package/package.json +1 -1
- package/dist/chunk-CDZHNLO6.js +0 -42
- package/dist/chunk-GIJM4MP4.js +0 -272
- package/dist/chunk-J6LGZPKI.js +0 -89
- package/dist/chunk-QPWRHDLZ.js +0 -17
- package/dist/chunk-REIIGIJG.js +0 -123
|
@@ -3,47 +3,47 @@ import {
|
|
|
3
3
|
} from "./chunk-LE3LSEUL.js";
|
|
4
4
|
import {
|
|
5
5
|
valueLineExtent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4ZIFMZO4.js";
|
|
7
7
|
import {
|
|
8
8
|
warnMissingValue
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZT5Q6BRT.js";
|
|
10
10
|
import {
|
|
11
11
|
asColumnHeads,
|
|
12
12
|
columnHeadFont,
|
|
13
13
|
fitHead,
|
|
14
14
|
headRequest
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TL5ICZT2.js";
|
|
16
16
|
import {
|
|
17
17
|
runAnnotatePass
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-U2YWY6FH.js";
|
|
19
19
|
import {
|
|
20
20
|
rowLabelBand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5ZGCGIHG.js";
|
|
22
22
|
import {
|
|
23
23
|
fittedLabel,
|
|
24
24
|
gutterBudget,
|
|
25
25
|
stepDownFont
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-352V2W5P.js";
|
|
27
27
|
import {
|
|
28
28
|
breakUnsupported
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YRWJBS6C.js";
|
|
30
30
|
import {
|
|
31
31
|
chartString
|
|
32
32
|
} from "./chunk-DITI57ZB.js";
|
|
33
33
|
import {
|
|
34
34
|
cardFrameTheme,
|
|
35
35
|
cardSize
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import {
|
|
38
|
-
categoryTargetFields,
|
|
39
|
-
spliceAnnotationNodes
|
|
40
|
-
} from "./chunk-CDZHNLO6.js";
|
|
36
|
+
} from "./chunk-MNPNLXSI.js";
|
|
41
37
|
import {
|
|
42
38
|
BAND_PAD
|
|
43
39
|
} from "./chunk-R4MVXUAG.js";
|
|
40
|
+
import {
|
|
41
|
+
categoryTargetFields,
|
|
42
|
+
spliceAnnotationNodes
|
|
43
|
+
} from "./chunk-OLAPTOUH.js";
|
|
44
44
|
import {
|
|
45
45
|
labelOn
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FKRL2ZB2.js";
|
|
47
47
|
import {
|
|
48
48
|
structureCount
|
|
49
49
|
} from "./chunk-YDYZWCUQ.js";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
straightBreakGlyph,
|
|
80
80
|
tickFormatter,
|
|
81
81
|
valueAxisTitleRequest
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-FY3VV7TF.js";
|
|
83
83
|
import {
|
|
84
84
|
PRIORITY,
|
|
85
85
|
authoredFootnoteCount,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
plotHeightAfter,
|
|
93
93
|
solveFrame,
|
|
94
94
|
solveLabels
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
96
96
|
import {
|
|
97
97
|
emptyIdRecord
|
|
98
98
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
strokeToken,
|
|
134
134
|
tableHeadFloorPx,
|
|
135
135
|
textScaleOf
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-BKUTKQMT.js";
|
|
137
137
|
import {
|
|
138
138
|
contrastRatio
|
|
139
139
|
} from "./chunk-BQBD6Q5J.js";
|
|
@@ -549,7 +549,17 @@ function bulletColumnShows(options, anyValue, anyTarget) {
|
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
// src/core/charts/bullet/layout.ts
|
|
552
|
-
var LABEL_GAP = 5, VALUE_COL_GAP = 6, CAT_BAND_GAP = 10, CAPSULE_GAP = 8, COLUMNS_GAP = 18, COLUMN_GAP2 = 16, LINE_GAP2 = 1, ROW_BAND = 30, ROW_BAND_MAX = 56, ROW_AIR = 16, ROW_PITCH_MAX = 240, EDGE_TICK = 3, BAR_FRACTION = 1 / 3, NAME_WEIGHT = 600, BANDS_UNEXPLAINED = "qualitative bands carry meaning the reader cannot decode \u2014 label the bands or explain them in a footnote";
|
|
552
|
+
var LABEL_GAP = 5, VALUE_COL_GAP = 6, ACTUAL_COL_GAP = 12, CAT_BAND_GAP = 10, CAPSULE_GAP = 8, COLUMNS_GAP = 18, COLUMN_GAP2 = 16, LINE_GAP2 = 1, ROW_BAND = 30, ROW_BAND_MAX = 56, ROW_AIR = 16, ROW_PITCH_MAX = 240, EDGE_TICK = 3, BAR_FRACTION = 1 / 3, NAME_WEIGHT = 600, BANDS_UNEXPLAINED = "qualitative bands carry meaning the reader cannot decode \u2014 label the bands or explain them in a footnote";
|
|
553
|
+
function bandStart(row, index) {
|
|
554
|
+
return row.bands[index].from ?? (index === 0 ? 0 : row.bands[index - 1].to);
|
|
555
|
+
}
|
|
556
|
+
function bandEdges(row) {
|
|
557
|
+
return row.bands.flatMap((band) => band.from === void 0 ? [band.to] : [band.from, band.to]);
|
|
558
|
+
}
|
|
559
|
+
function bandAt(value, bands) {
|
|
560
|
+
let band = bandFor(value, bands);
|
|
561
|
+
return band.from !== void 0 && value < band.from ? void 0 : band;
|
|
562
|
+
}
|
|
553
563
|
function bandAmount(row, index, count) {
|
|
554
564
|
let semanticIndex = row.direction === "lowerIsBetter" ? count - 1 - index : index;
|
|
555
565
|
return count === 1 ? 0.5 : semanticIndex / (count - 1);
|
|
@@ -689,7 +699,7 @@ function layoutBullet(data, options = {}) {
|
|
|
689
699
|
breakUnsupported("bullet", options, warnings);
|
|
690
700
|
let theme = resolveSemanticPaletteTheme(resolveTheme(options.theme), options.palette, warnings), compact = options.density === "compact";
|
|
691
701
|
warnings.push(...compactBulletRefusals(options));
|
|
692
|
-
let compactFloor = chartSizing("bullet", options), size = resolveSize(compact ? cardSize(options, { width: compactFloor.minWidth, height: compactFloor.minHeight }) : options.size ?? "dashboard"), target = options.target ?? DEFAULT_TARGET, stepTo = (font, size2, role) => ({ ...font, size: Math.min(font.size, Math.max(size2, readerFloorPx(target, role, textScaleOf(options)))) }), measure = options.measure ?? defaultMeasurer, highlights = new Set(resolveHighlight(options.highlight)), labelOn2 = (kind) => !compact && labelOn(options, kind),
|
|
702
|
+
let compactFloor = chartSizing("bullet", options), size = resolveSize(compact ? cardSize(options, { width: compactFloor.minWidth, height: compactFloor.minHeight }) : options.size ?? "dashboard"), target = options.target ?? DEFAULT_TARGET, stepTo = (font, size2, role) => ({ ...font, size: Math.min(font.size, Math.max(size2, readerFloorPx(target, role, textScaleOf(options)))) }), measure = options.measure ?? defaultMeasurer, highlights = new Set(resolveHighlight(options.highlight)), labelOn2 = (kind) => !compact && labelOn(options, kind), lineAsked = (kind) => typeof options.labels == "object" && options.labels[kind] === !0;
|
|
693
703
|
if (!data || !Array.isArray(data.rows) || data.rows.length === 0)
|
|
694
704
|
throw new NormalizeError("empty-data", "rows", "bullet requires at least one row", void 0, void 0, ["data", "rows"]);
|
|
695
705
|
let seen = /* @__PURE__ */ new Set(), rows = data.rows.map((r, i) => {
|
|
@@ -706,7 +716,7 @@ function layoutBullet(data, options = {}) {
|
|
|
706
716
|
suggest: "Set the shared format on the row value or options.format, then remove target.format."
|
|
707
717
|
});
|
|
708
718
|
let rawBands = (r.bands ?? []).map(
|
|
709
|
-
(band2) => typeof band2 == "number" ? { to: band2 } : { to: band2.to, ...band2.tone ? { tone: band2.tone } : {}, ...band2.label?.trim() ? { label: band2.label.trim() } : {} }
|
|
719
|
+
(band2) => typeof band2 == "number" ? { to: band2 } : { to: band2.to, ...band2.from !== void 0 ? { from: band2.from } : {}, ...band2.tone ? { tone: band2.tone } : {}, ...band2.label?.trim() ? { label: band2.label.trim() } : {} }
|
|
710
720
|
).filter((band2) => Number.isFinite(band2.to)), bounded = rawBands.filter((band2) => Math.abs(band2.to) <= MAGNITUDE_CEILING);
|
|
711
721
|
bounded.length < rawBands.length && warnings.push({
|
|
712
722
|
code: "band-magnitude",
|
|
@@ -721,12 +731,24 @@ function layoutBullet(data, options = {}) {
|
|
|
721
731
|
message: `row '${r.id}': non-positive band thresholds dropped (bands measure from 0)`,
|
|
722
732
|
owner: { categoryId: r.id }
|
|
723
733
|
});
|
|
724
|
-
let
|
|
725
|
-
|
|
734
|
+
let sorted = [...positive].sort((a, b) => a.to - b.to);
|
|
735
|
+
sorted.map((band2) => band2.to).join(",") !== positive.map((band2) => band2.to).join(",") && warnings.push({
|
|
726
736
|
code: "bands-unsorted",
|
|
727
737
|
severity: "info",
|
|
728
738
|
message: `row '${r.id}': bands re-sorted ascending`,
|
|
729
739
|
owner: { categoryId: r.id }
|
|
740
|
+
});
|
|
741
|
+
let unusableFrom = !1, bands = sorted.map((band2, bi) => {
|
|
742
|
+
if (band2.from === void 0) return band2;
|
|
743
|
+
let { from, ...rest } = band2, start = bi === 0 ? 0 : sorted[bi - 1].to;
|
|
744
|
+
return !Number.isFinite(from) || from < 0 || from >= band2.to || from < start ? (unusableFrom = !0, rest) : from > start ? band2 : rest;
|
|
745
|
+
});
|
|
746
|
+
return unusableFrom && warnings.push({
|
|
747
|
+
code: "band-from-ignored",
|
|
748
|
+
severity: "warn",
|
|
749
|
+
message: `row '${r.id}': band from ignored where it lies below 0, not below the band's own to, or below the previous band's to; such a band starts at the previous band's to`,
|
|
750
|
+
owner: { categoryId: r.id },
|
|
751
|
+
suggest: "Give from a value from the previous band's to (or 0) up to below the band's own to, or remove it."
|
|
730
752
|
}), cellValue(r.value) === null && warnMissingValue(warnings, `row '${r.id}'`, { categoryId: r.id }, "no bar; the bands and target still draw"), {
|
|
731
753
|
id: r.id,
|
|
732
754
|
label: r.label ?? r.id,
|
|
@@ -738,7 +760,7 @@ function layoutBullet(data, options = {}) {
|
|
|
738
760
|
bands,
|
|
739
761
|
direction: r.direction ?? "higherIsBetter"
|
|
740
762
|
};
|
|
741
|
-
}), targetScale = options.sharedScale === "percentOfTarget", allBanded = rows.every((row) => row.bands.length > 0), unitOf = (row) => `${row.isPct}|${row.meta?.format ?? ""}`, bandsOf = (row) => row
|
|
763
|
+
}), targetScale = options.sharedScale === "percentOfTarget", allBanded = rows.every((row) => row.bands.length > 0), unitOf = (row) => `${row.isPct}|${row.meta?.format ?? ""}`, bandsOf = (row) => bandEdges(row).join("|"), alike = rows.every((row) => unitOf(row) === unitOf(rows[0]) && bandsOf(row) === bandsOf(rows[0])), sharedScale = targetScale || (typeof options.sharedScale == "boolean" ? options.sharedScale : !allBanded || alike), categorySort = options.sort?.categories ?? "sheet";
|
|
742
764
|
if (categorySort !== "sheet") {
|
|
743
765
|
let refCategory = (ref) => typeof ref == "object" && "categoryId" in ref ? ref.categoryId : ref;
|
|
744
766
|
if ((options.annotations ?? []).some((ann) => ann.kind === "cagr" || ann.kind === "diff" && refCategory(ann.from) !== refCategory(ann.to)) && rows.every((row) => row.date !== void 0)) warnings.push({
|
|
@@ -784,7 +806,7 @@ function layoutBullet(data, options = {}) {
|
|
|
784
806
|
}, columnShows = bulletColumnShows(options, rows.some((row) => row.value !== null), rows.some((row) => row.target !== null)), valueShows = (row) => row.value === null || row.meta?.label === !1 || typeof row.meta?.label == "string" && !row.meta.label.includes("${value}") ? void 0 : columnShows("actual", rowFmt(row)(row.value)), deltaBody = (row, d) => {
|
|
785
807
|
let spec = rowSpecs.get(row), shown2 = shownDelta(row, d), gapSpec = { ...spec, signed: !0, ...row.isPct ? { prefix: "", suffix: "pp" } : {} }, fixedSpec = { ...gapSpec, automatic: !1, nonzero: void 0 };
|
|
786
808
|
return formatWithSpec(shown2, shown2 !== 0 && roundedNumber(shown2, fixedSpec) === 0 ? gapSpec : fixedSpec);
|
|
787
|
-
}, deltaText = (row, d) => `${deltaBody(row, d)} ${shownDelta(row, d) === 0 ? chartString(options, "gapOn", { v1: targetWord(options) }) : `vs ${targetWord(options)}`}`, deltaTone = (row, d) => row.direction === "neutral" ? "neutral" : row.bands.some((band2) => band2.tone) ? (row.value === null ? row.bands.at(-1) :
|
|
809
|
+
}, deltaText = (row, d) => `${deltaBody(row, d)} ${shownDelta(row, d) === 0 ? chartString(options, "gapOn", { v1: targetWord(options) }) : `vs ${targetWord(options)}`}`, deltaTone = (row, d) => row.direction === "neutral" ? "neutral" : row.bands.some((band2) => band2.tone) ? (row.value === null ? row.bands.at(-1) : bandAt(row.value, row.bands))?.tone ?? "neutral" : (d = shownDelta(row, d), d === 0 || d > 0 == (row.direction === "higherIsBetter") ? "good" : "bad"), deltaVsTarget = emptyIdRecord();
|
|
788
810
|
for (let row of rows)
|
|
789
811
|
row.value !== null && row.target !== null && (deltaVsTarget[row.id] = cleanDiff(row.value, row.target));
|
|
790
812
|
let tickFont = { family: theme.type.family, ...theme.type.axis }, labelFont = { family: theme.type.family, ...theme.type.label }, capsuleFont = labelFont, valueBaseFont = { ...labelFont, weight: emphasisWeight(theme) }, targetFont = { ...tickFont, size: Math.max(readerFloorPx(target, "label", textScaleOf(options)), tickFont.size) }, minimumRowH = Math.max(28, measure("0", labelFont).height + 6, measure("0", tickFont).height + 4), bandFraction = options.bandFraction ?? 0.7, targetValues = new Set(rows.flatMap((row) => row.target === null ? [] : [row.target])), firstTargetRow = rows.find((row) => row.target !== null)?.id, cols = !1, targetPrints = (row) => !cols && labelOn2("annotation") && options.columnVisibility?.target !== !1 && row.target !== null && (!(sharedScale && targetValues.size === 1) || row.id === firstTargetRow), targetAir = rows.some((row, ri) => ri > 0 && targetPrints(row)) ? measure("0", targetFont).height + 2 : 0, airRowH = targetAir === 0 ? 0 : bandFraction < 1 ? Math.ceil(targetAir / (1 - bandFraction)) : Math.ceil(2 * targetAir), naturalRowH = compact ? minimumRowH : Math.max(44, minimumRowH, airRowH), minimumPitch = targetAir === 0 ? minimumRowH : Math.max(minimumRowH, Math.ceil(2 * (measure("0", targetFont).height + 1))), occupied = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height }), framed = options.title !== void 0 && options.title !== !1 || options.subtitle !== void 0 || options.source !== void 0 || authoredNotes(options).length > 0, margin = compact && !framed ? { top: 0, right: 1, bottom: 0, left: 1, ...options.margin } : { top: 16, right: 20, bottom: 12, left: 20, ...options.margin };
|
|
@@ -889,12 +911,12 @@ function layoutBullet(data, options = {}) {
|
|
|
889
911
|
if (!regularNames && (catLines.some((label) => label.title !== void 0) || tallest(catLines) > 1 && tallest(catLines) > tallest((stacked ? cardBand : sideNames)({ ...catFont, weight: tickFont.weight }).labels)))
|
|
890
912
|
return layoutBullet(data, { ...options, [REGULAR_NAMES]: !0 });
|
|
891
913
|
nameTrack !== void 0 && (catBandW = nameTrack);
|
|
892
|
-
let sidePlotW = Math.max(10, plot0.w - (catBandW ? catBandW + CAT_BAND_GAP : 0) - (capsuleColW ? capsuleColW + CAPSULE_GAP : 0) - cagrColW), noteFont = { family: theme.type.family, ...theme.type.axis, size: Math.min(secondaryType(theme).size, Math.max(theme.type.footnote.size, readerFloorPx(target, "secondary", textScaleOf(options)))) }, colPlan = options.targetColumns !== !1 && !compact && !stacked && cardNames === void 0 && labelOn2("annotation") && annotations.every((ann) => ann.kind !== "cagr") && rows.some((row) => row.target !== null) && catLines.every((label) => label.title === void 0) ? (() => {
|
|
893
|
-
let headerFont = columnHeadFont(theme, target, textScaleOf(options)), colTargets = rows.map((row) => row.target === null || !shown("target") ? null : rowFmt(row)(row.target)), colGaps = rows.map((row) => deltaVsTarget[row.id] === void 0 || !shown("gap") ? null : deltaBody(row, deltaVsTarget[row.id])), colPositions = rows.map((row) => {
|
|
894
|
-
if (!
|
|
914
|
+
let sidePlotW = Math.max(10, plot0.w - (catBandW ? catBandW + CAT_BAND_GAP : 0) - (capsuleColW ? capsuleColW + CAPSULE_GAP : 0) - cagrColW), noteFont = { family: theme.type.family, ...theme.type.axis, size: Math.min(secondaryType(theme).size, Math.max(theme.type.footnote.size, readerFloorPx(target, "secondary", textScaleOf(options)))) }, naGlyph = chartString(options, "notApplicable"), colPlan = options.targetColumns !== !1 && !compact && !stacked && cardNames === void 0 && labelOn2("annotation") && annotations.every((ann) => ann.kind !== "cagr") && rows.some((row) => row.target !== null) && catLines.every((label) => label.title === void 0) ? (() => {
|
|
915
|
+
let headerFont = columnHeadFont(theme, target, textScaleOf(options)), colTargets = rows.map((row) => row.target === null || !shown("target") ? null : rowFmt(row)(row.target)), colGaps = rows.map((row) => deltaVsTarget[row.id] === void 0 || !shown("gap") ? null : deltaBody(row, deltaVsTarget[row.id])), colTargetNa = rows.map((row) => naGlyph !== "" && row.target === null && shown("target")), colGapNa = rows.map((row) => naGlyph !== "" && row.target === null && shown("gap")), colPositions = rows.map((row) => {
|
|
916
|
+
if (!lineAsked("position") || !shown("gap")) return null;
|
|
895
917
|
let raw = deltaVsTarget[row.id], d = raw === void 0 ? void 0 : shownDelta(row, raw);
|
|
896
918
|
return d === void 0 ? null : chartString(options, d < 0 ? "gapBelow" : d > 0 ? "gapAbove" : "gapOn", { v1: targetWord(options) });
|
|
897
|
-
}), colDirections = rows.map((row) => !labelOn2("category") || !
|
|
919
|
+
}), colDirections = rows.map((row) => !labelOn2("category") || !lineAsked("direction") || row.target === null || row.direction === "neutral" || row.bands.some((band2) => band2.tone) ? null : chartString(options, row.direction === "lowerIsBetter" ? "lowerBetter" : "higherBetter") || null), widest = (texts, font) => Math.max(0, maxOf(texts.map((text) => text ? measure(text, font).width : 0))), headEnv = { target, textScale: textScaleOf(options) }, naW = measure(naGlyph, labelFont).width, targetBodyW = Math.max(widest(colTargets, labelFont), colTargetNa.some(Boolean) ? naW : 0), gapBodyW = Math.max(widest(colGaps, valueBaseFont), widest(colPositions, noteFont), colGapNa.some(Boolean) ? naW : 0), colHeads = [
|
|
898
920
|
fitHead(overrides?.target?.label ?? targetHead, headerFont, targetBodyW, measure, headEnv),
|
|
899
921
|
fitHead(overrides?.gap?.label ?? chartString(options, "gapColumn", { v1: targetWord(options) }), headerFont, gapBodyW, measure, headEnv)
|
|
900
922
|
], colLeftW = catBandW ? Math.max(catBandW, widest(colDirections, noteFont)) : 0, hasTarget = shown("target"), hasGap = shown("gap"), actualFit = valueW > 0 ? fitHead(overrides?.actual?.label ?? chartString(options, "actualColumn"), headerFont, valueW, measure, headEnv) : void 0, blocks = orderedBlocks(["plot", ...actualFit ? ["actual"] : [], ...hasTarget ? ["target"] : [], ...hasGap ? ["gap"] : []], options.columnOrder), actualOwnTrack2 = actualFit !== void 0 && blocks.indexOf("actual") !== blocks.indexOf("plot") + 1, naturalW = { target: Math.max(colHeads[0].w, targetBodyW), gap: Math.max(colHeads[1].w, gapBodyW), actual: actualFit ? Math.max(actualFit.w, valueW) : 0 }, trackIds2 = blocks.filter((id) => id !== "plot" && (id !== "actual" || actualOwnTrack2)), sumOf = (ids, widths2) => ids.reduce((sum, id) => sum + widths2[id], 0) + COLUMN_GAP2 * Math.max(0, ids.length - 1), plotAt = blocks.indexOf("plot"), before = trackIds2.filter((id) => blocks.indexOf(id) < plotAt), after = trackIds2.filter((id) => blocks.indexOf(id) > plotAt), edges = (widths2) => (before.length ? sumOf(before, widths2) + COLUMNS_GAP : 0) + (after.length ? sumOf(after, widths2) + COLUMNS_GAP : 0), planWarnings = [], widths = { ...naturalW }, room = plot0.w - (colLeftW ? colLeftW + CAT_BAND_GAP : 0) - edges(naturalW) - plotKeeps;
|
|
@@ -908,15 +930,19 @@ function layoutBullet(data, options = {}) {
|
|
|
908
930
|
let afterAt = plot0.x + plot0.w;
|
|
909
931
|
for (let id of [...after].reverse())
|
|
910
932
|
rights[id] = afterAt, afterAt -= widths[id] + COLUMN_GAP2;
|
|
911
|
-
let headerH = measure("0", headerFont).height, noteH2 = measure("0", noteFont).height,
|
|
912
|
-
|
|
933
|
+
let headerH = measure("0", headerFont).height, noteH2 = measure("0", noteFont).height, nameH = (ri) => labelOn2("category") ? catLines[ri].h : 0, gapH = (ri) => colGaps[ri] ? measure("0", valueBaseFont).height : colGapNa[ri] ? measure("0", labelFont).height : 0, targetH = (ri) => colTargets[ri] || colTargetNa[ri] ? measure("0", labelFont).height : 0, colReach = (ri) => Math.max(
|
|
934
|
+
nameH(ri) / 2 + (colDirections[ri] ? LINE_GAP2 + noteH2 : 0),
|
|
935
|
+
gapH(ri) / 2 + (colGaps[ri] && colPositions[ri] ? LINE_GAP2 + noteH2 : 0),
|
|
936
|
+
targetH(ri) / 2
|
|
937
|
+
), colBlockH = (ri) => 2 * colReach(ri), colCoreH = (ri) => Math.max(nameH(ri), gapH(ri), targetH(ri)), legendLabels = frameResult.nodes.filter((node) => node.t === "text" && node.part === "legendLabel"), legendLast = legendLabels.at(-1), legendRight = Math.max(-1 / 0, maxOf(legendLabels.map((node) => node.t === "text" ? node.x + Math.max(...node.lines.map((line) => measure(line, node.font).width)) : -1 / 0))), headsOnKey = options[HEADS_OFF_KEY] !== !0 && before.length === 0 && legendLast?.t === "text" && legendLast.y < plot0.y && legendRight + 2 * COLUMN_GAP2 <= plot0.x + plot0.w - colsW, colTopAir = headsOnKey || trackIds2.length === 0 && actualFit === void 0 ? 0 : headerH + 4, colAvailH = plotHeightAfter(frameResult, size.height, plot0.h - axisH - 2 * inset - colTopAir), colPitch = Math.max(44, minimumRowH, Math.ceil(maxOf(rows.map((_, ri) => colBlockH(ri))) + 12)), colBasePitch = Math.max(44, minimumRowH, Math.ceil(maxOf(rows.map((_, ri) => colCoreH(ri))) + 12));
|
|
938
|
+
return { planWarnings, hasTarget, hasGap, actualOwnTrack: actualOwnTrack2, actualW: widths.actual, rights, beforeW, headerFont, noteFont, colTargets, colGaps, colTargetNa, colGapNa, colPositions, colDirections, colHeads, targetColW, gapColW, colsW, colLeftW, colPlotW, headerH, noteH: noteH2, colBlockH, colCoreH, legendLast, legendRight, headsOnKey, colTopAir, colAvailH, colPitch, colBasePitch };
|
|
913
939
|
})() : void 0, colBlockMax = colPlan ? maxOf(rows.map((_, ri) => colPlan.colBlockH(ri))) : 0;
|
|
914
940
|
if (colPlan && nameTrack !== void 0 && colPlan.colPlotW < plotKeeps) {
|
|
915
941
|
let less = nameTrack - (plotKeeps - colPlan.colPlotW);
|
|
916
942
|
if (less >= Math.max(24, widestWord(rows, catFont, measure))) return layoutBullet(data, { ...options, [NAME_ROOM]: less });
|
|
917
943
|
}
|
|
918
944
|
colPlan && colPlan.colPlotW >= Math.max(80, 0.45 * size.width) && (!fixedHeight || colPlan.colAvailH / rows.length >= colBlockMax + 4) && (cols = !0, targetAir = 0, topAir = colPlan.colTopAir, availH = colPlan.colAvailH, naturalRowH = colPlan.colPitch, pushAll(warnings, colPlan.planWarnings));
|
|
919
|
-
let cp = colPlan, rowMode = rowWanted && !stacked && cardNames === void 0 && (cols || rows.every((row) => !targetPrints(row))), noteH = measure("0", noteFont).height, nameAir = rowMode ? Math.max(noteH, cols ? cp.headerH : 0) + 3 : 0, edgeTicks = rowMode && !sharedScale, tickAir = edgeTicks ? EDGE_TICK + 1 + noteH : 0,
|
|
945
|
+
let cp = colPlan, rowMode = rowWanted && !stacked && cardNames === void 0 && (cols || rows.every((row) => !targetPrints(row))), noteH = measure("0", noteFont).height, nameAir = rowMode ? Math.max(noteH, cols ? cp.headerH : 0) + 3 : 0, edgeTicks = rowMode && !sharedScale, bandBase = Math.max(ROW_BAND, cols ? Math.ceil(maxOf(rows.map((_, ri) => cp.colCoreH(ri)))) : 0), tickAir = Math.max(edgeTicks ? EDGE_TICK + 1 + noteH : 0, rowMode && cols ? Math.ceil(colBlockMax / 2 - bandBase / 2) : 0), rowBandH = bandBase, rowAir = ROW_AIR;
|
|
920
946
|
if (rowWanted && !rowMode) return layoutBullet(data, { ...options, [ROW_KEY_OFF]: !0 });
|
|
921
947
|
if (rowMode) {
|
|
922
948
|
topAir = 0, availH = plotHeightAfter(frameResult, size.height, plot0.h - axisH - 2 * inset);
|
|
@@ -937,7 +963,7 @@ function layoutBullet(data, options = {}) {
|
|
|
937
963
|
let grow = rowDrivenHeight({ options, width: size.width, height: size.height, chromeH: size.height - availH, rowsH: rows.length * naturalRowH });
|
|
938
964
|
if (grow !== void 0) return layoutBullet(data, { ...options, size: { width: size.width, height: grow } });
|
|
939
965
|
}
|
|
940
|
-
let capsuleX = stacked ? plot.x + plot.w - capsuleColW : plot.x + plot.w + CAPSULE_GAP, gapShare = Math.max(1 -
|
|
966
|
+
let capsuleX = stacked ? plot.x + plot.w - capsuleColW : plot.x + plot.w + CAPSULE_GAP, bandShare = cols && !rowMode ? Math.min(bandFraction, bandFraction * cp.colBasePitch / (plot.h / rows.length)) : bandFraction, gapShare = Math.max(1 - bandShare, Math.min(0.5, targetAir / (plot.h / rows.length))), band = rowMode ? {
|
|
941
967
|
step: naturalRowH,
|
|
942
968
|
bandwidth: rowBandH,
|
|
943
969
|
count: rows.length,
|
|
@@ -981,11 +1007,11 @@ function layoutBullet(data, options = {}) {
|
|
|
981
1007
|
});
|
|
982
1008
|
scaleAt = (ri) => rowScales[ri];
|
|
983
1009
|
}
|
|
984
|
-
let zeroX = rows.map((_, ri) => scaleAt(ri)(0)),
|
|
1010
|
+
let zeroX = rows.map((_, ri) => scaleAt(ri)(0)), marksRight = maxOf(extents.map((extent, ri) => scaleAt(ri)(extent.hi))), valueGap = cols ? Math.max(VALUE_COL_GAP, Math.min(ACTUAL_COL_GAP, plot.x + plot.w - valueColW - marksRight)) : VALUE_COL_GAP, valueColLeft = actualOwnTrack ? cp.rights.actual - valueColW : marksRight + valueGap, valueColRight = actualOwnTrack ? cp.rights.actual : Math.min(plot.x + plot.w, valueColLeft + valueColW), valueAlign = overrides?.actual?.align, valueX = (width) => valueAlign === void 0 ? Math.max(valueColLeft, valueColRight - width) : alignedLeft(valueColLeft, valueColRight - valueColLeft, width, valueAlign);
|
|
985
1011
|
if (actualHead && cp.headsOnKey && cp.legendRight + 2 * COLUMN_GAP2 > valueColRight - actualHead.w)
|
|
986
1012
|
return layoutBullet(data, { ...options, [HEADS_OFF_KEY]: !0 });
|
|
987
1013
|
let uniformZeroX = zeroX.every((value) => value === zeroX[0]);
|
|
988
|
-
if (rowMode && !rows.every((row, ri) => row.bands.every((bandSpec, bi) => measure(bandSpec.label, noteFont).width + 4 <= scaleAt(ri)(bandSpec.to) - scaleAt(ri)(
|
|
1014
|
+
if (rowMode && !rows.every((row, ri) => row.bands.every((bandSpec, bi) => measure(bandSpec.label, noteFont).width + 4 <= scaleAt(ri)(bandSpec.to) - scaleAt(ri)(bandStart(row, bi)))))
|
|
989
1015
|
return layoutBullet(data, { ...options, [ROW_KEY_OFF]: !0 });
|
|
990
1016
|
let nodes = [...frameResult.nodes], marks = { rows: [] }, labelRequests = [], placedAnnotations = [], axes = [];
|
|
991
1017
|
if (options.valueAxis?.show && axisScale) {
|
|
@@ -1056,9 +1082,9 @@ function layoutBullet(data, options = {}) {
|
|
|
1056
1082
|
return [{ x: a, y: band.position(ri) + band.bandwidth / 2 - band.step / 2, w: b - a, h: band.step }];
|
|
1057
1083
|
});
|
|
1058
1084
|
rows.forEach((row, ri) => {
|
|
1059
|
-
let x = scaleAt(ri), x0 = zeroX[ri], cardTop = plot.y + ri * band.step, rowY = stacked ? cardTop + cardHeaderH + 3 : band.position(ri), bw = stacked ? cardBandH : band.bandwidth, rowCenter = rowY + bw / 2, owner = { categoryId: row.id }, rowRect = { x: plot.x, y: rowY, w: plot.w, h: bw }, bandNodeIds = []
|
|
1085
|
+
let x = scaleAt(ri), x0 = zeroX[ri], cardTop = plot.y + ri * band.step, rowY = stacked ? cardTop + cardHeaderH + 3 : band.position(ri), bw = stacked ? cardBandH : band.bandwidth, rowCenter = rowY + bw / 2, owner = { categoryId: row.id }, rowRect = { x: plot.x, y: rowY, w: plot.w, h: bw }, bandNodeIds = [];
|
|
1060
1086
|
if (row.bands.forEach((bandSpec, bi) => {
|
|
1061
|
-
let bx0 = x(
|
|
1087
|
+
let bx0 = x(bandStart(row, bi)), bx1 = x(bandSpec.to), rect = { x: bx0, y: rowY, w: Math.max(bx1 - bx0, 0.5), h: bw }, nodeId = `band:${row.id}:${bi}`;
|
|
1062
1088
|
if (nodes.push({
|
|
1063
1089
|
t: "rect",
|
|
1064
1090
|
id: nodeId,
|
|
@@ -1081,9 +1107,8 @@ function layoutBullet(data, options = {}) {
|
|
|
1081
1107
|
candidates: [{ slot: "bandName", rect: { x: (bx0 + bx1) / 2 - nsize.width / 2, y: rowY - nsize.height - 2, w: nsize.width, h: nsize.height }, penalty: 0 }]
|
|
1082
1108
|
});
|
|
1083
1109
|
}
|
|
1084
|
-
prev = bandSpec.to;
|
|
1085
1110
|
}), edgeTicks && row.bands.length > 0) {
|
|
1086
|
-
let edgeValues = [0, ...row
|
|
1111
|
+
let edgeValues = [0, ...bandEdges(row)], edgeFmt = !row.meta?.format && (row.isPct || !chartSpec) ? tickFormatter(rowSpecs.get(row), edgeValues) : rowFmt(row), edges = edgeValues.map((value) => {
|
|
1087
1112
|
let text = edgeFmt(value);
|
|
1088
1113
|
return { value, text, x: x(value), w: measure(text, noteFont).width };
|
|
1089
1114
|
}), clear = (a, b) => b.x - b.w / 2 >= a.x + a.w / 2 + 4, last = edges.at(-1), kept = [edges[0]];
|
|
@@ -1128,7 +1153,10 @@ function layoutBullet(data, options = {}) {
|
|
|
1128
1153
|
t: "rect",
|
|
1129
1154
|
id: barNodeId,
|
|
1130
1155
|
rect,
|
|
1131
|
-
...measureStyle(theme, barPaint(row), row.bands.flatMap((bandSpec, bandIndex) =>
|
|
1156
|
+
...measureStyle(theme, barPaint(row), row.bands.flatMap((bandSpec, bandIndex) => {
|
|
1157
|
+
let from = bandStart(row, bandIndex);
|
|
1158
|
+
return from < Math.max(0, row.value) && bandSpec.to > Math.min(0, row.value) || row.value === 0 && from === 0 ? [bandPaint(row, bandIndex)] : [];
|
|
1159
|
+
})),
|
|
1132
1160
|
owner,
|
|
1133
1161
|
part: "bar",
|
|
1134
1162
|
// The value, and the gap where the row has one: the texts their labels print or would print.
|
|
@@ -1183,7 +1211,7 @@ function layoutBullet(data, options = {}) {
|
|
|
1183
1211
|
role: "value",
|
|
1184
1212
|
priority: PRIORITY.interior,
|
|
1185
1213
|
pad: 0,
|
|
1186
|
-
candidates: [{ slot: "targetColumn", rect: { x: alignedLeft(cp.rights.target - cp.targetColW, cp.targetColW, tsize.width, overrides?.target?.align ?? "right"), y: rowCenter -
|
|
1214
|
+
candidates: [{ slot: "targetColumn", rect: { x: alignedLeft(cp.rights.target - cp.targetColW, cp.targetColW, tsize.width, overrides?.target?.align ?? "right"), y: rowCenter - tsize.height / 2, w: tsize.width, h: tsize.height }, penalty: 0 }]
|
|
1187
1215
|
});
|
|
1188
1216
|
} else if (targetPrints(row)) {
|
|
1189
1217
|
let text = `${stacked ? `${targetWord(options)} ` : ""}${rowFmt(row)(row.target)}`, tsize = measure(text, targetFont), seat = (slot, rx, ry, penalty) => ({ slot, rect: { x: rx, y: ry, w: tsize.width, h: tsize.height }, penalty }), above = rowY - tsize.height - 1;
|
|
@@ -1208,9 +1236,28 @@ function layoutBullet(data, options = {}) {
|
|
|
1208
1236
|
}
|
|
1209
1237
|
}
|
|
1210
1238
|
}
|
|
1239
|
+
if (cols && row.target === null) {
|
|
1240
|
+
let nsize = measure(naGlyph, labelFont);
|
|
1241
|
+
[["target", cp.colTargetNa[ri], cp.rights.target, cp.targetColW], ["gap", cp.colGapNa[ri], cp.rights.gap, cp.gapColW]].forEach(([key, on, right, trackW]) => {
|
|
1242
|
+
if (!on || right === void 0) return;
|
|
1243
|
+
let id = `${key}-na:${row.id}`;
|
|
1244
|
+
columnFonts.set(id, labelFont), columnInks.set(id, { token: "inkMuted" }), labelRequests.push({
|
|
1245
|
+
id,
|
|
1246
|
+
kind: "annotation",
|
|
1247
|
+
owner,
|
|
1248
|
+
text: naGlyph,
|
|
1249
|
+
lines: [naGlyph],
|
|
1250
|
+
font: labelFont,
|
|
1251
|
+
role: "value",
|
|
1252
|
+
priority: PRIORITY.interior,
|
|
1253
|
+
pad: 0,
|
|
1254
|
+
candidates: [{ slot: `${key}Column`, rect: { x: alignedLeft(right - trackW, trackW, nsize.width, overrides?.[key]?.align ?? "right"), y: rowCenter - nsize.height / 2, w: nsize.width, h: nsize.height }, penalty: 0 }]
|
|
1255
|
+
});
|
|
1256
|
+
});
|
|
1257
|
+
}
|
|
1211
1258
|
let capsuleText = cols ? cp.colGaps[ri] ?? void 0 : capsuleTexts.get(row.id);
|
|
1212
1259
|
if (capsuleText !== void 0 && cols) {
|
|
1213
|
-
let tsize = measure(capsuleText, valueBaseFont), top = rowCenter -
|
|
1260
|
+
let tsize = measure(capsuleText, valueBaseFont), top = rowCenter - tsize.height / 2, gapRight = cp.rights.gap, gapAlign = overrides?.gap?.align ?? "right";
|
|
1214
1261
|
columnFonts.set(`delta:${row.id}`, valueBaseFont), labelRequests.push({
|
|
1215
1262
|
id: `delta:${row.id}`,
|
|
1216
1263
|
kind: "annotation",
|
|
@@ -1301,7 +1348,7 @@ function layoutBullet(data, options = {}) {
|
|
|
1301
1348
|
slot: "left",
|
|
1302
1349
|
rect: {
|
|
1303
1350
|
x: stacked ? plot.x : rowLabelX(plot0.x, cols ? cp.colLeftW : catBandW, cl.w, overrides?.label?.align ?? options.rowLabels?.align ?? "left"),
|
|
1304
|
-
y: stacked ? cardTop :
|
|
1351
|
+
y: stacked ? cardTop : rowCenter - cl.h / 2,
|
|
1305
1352
|
w: cl.w,
|
|
1306
1353
|
h: cl.h
|
|
1307
1354
|
},
|
|
@@ -1322,7 +1369,7 @@ function layoutBullet(data, options = {}) {
|
|
|
1322
1369
|
font: cp.noteFont,
|
|
1323
1370
|
priority: PRIORITY.interior,
|
|
1324
1371
|
pad: 0,
|
|
1325
|
-
candidates: [{ slot: "left", rect: { x: rowLabelX(plot0.x, cp.colLeftW, dsize.width, overrides?.label?.align ?? options.rowLabels?.align ?? "left"), y: rowCenter
|
|
1372
|
+
candidates: [{ slot: "left", rect: { x: rowLabelX(plot0.x, cp.colLeftW, dsize.width, overrides?.label?.align ?? options.rowLabels?.align ?? "left"), y: rowCenter + cl.h / 2 + LINE_GAP2, w: dsize.width, h: dsize.height }, penalty: 0 }]
|
|
1326
1373
|
});
|
|
1327
1374
|
}
|
|
1328
1375
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
columnOverridesOption
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JTCXK7AG.js";
|
|
4
4
|
import {
|
|
5
5
|
REFUSED_OPTIONS
|
|
6
6
|
} from "./chunk-M4YLED7M.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
colorRoleField,
|
|
11
11
|
idSchema,
|
|
12
12
|
refusedBaseOptions
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OGD23BIK.js";
|
|
14
14
|
|
|
15
15
|
// src/core/charts/pyramid/schema.ts
|
|
16
16
|
import * as z from "zod";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRIORITY,
|
|
3
3
|
fitText
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
5
5
|
import {
|
|
6
6
|
readerFloorPx,
|
|
7
7
|
tableHeadFloorPx
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BKUTKQMT.js";
|
|
9
9
|
|
|
10
10
|
// src/core/charts/bullet/columnHead.ts
|
|
11
11
|
var HEAD_EM = 12, HEAD_PREFIX = "header:";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
sharedKeys10,
|
|
4
4
|
sharedKeys5,
|
|
5
5
|
sharedKeys9
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IXCDKCYE.js";
|
|
7
7
|
import {
|
|
8
8
|
optionKeyCheck
|
|
9
9
|
} from "./chunk-Z6H5ED2I.js";
|
|
10
10
|
import {
|
|
11
11
|
createChartComponent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-36KGPRMX.js";
|
|
13
13
|
import {
|
|
14
14
|
dotCore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-56PPEORW.js";
|
|
16
16
|
import {
|
|
17
17
|
registeredType
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7SSN5ECA.js";
|
|
19
19
|
|
|
20
20
|
// src/react/charts/dot.ts
|
|
21
21
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, scaleGroup: { y: 0, id: 0 }, rowLabels: { align: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, axisTitles: { primary: 0 }, variant: 0, averageMarker: { scope: 0 }, arrow: 0, gapColumn: 0, methodNote: 0, range: { label: 0, values: 0, midLabel: 0 } }, labels: ["category", "point"] }), DotChart = createChartComponent(registeredType(dotCore), checkOptionKeys);
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5,
|
|
4
4
|
sharedKeys9
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IXCDKCYE.js";
|
|
6
6
|
import {
|
|
7
7
|
optionKeyCheck
|
|
8
8
|
} from "./chunk-Z6H5ED2I.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-36KGPRMX.js";
|
|
12
12
|
import {
|
|
13
13
|
waterfallCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5EU5DLA3.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7SSN5ECA.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/waterfall.ts
|
|
20
20
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: { break: { from: 0, to: 0, style: 0 } }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, axisTitles: { primary: 0 }, variant: 0, build: 0, signColor: 0, bracketRow: 0, columnOverrides: { "*": { width: 0 } } } }), WaterfallChart = createChartComponent(registeredType(waterfallCore), checkOptionKeys);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-BQBD6Q5J.js";
|
|
11
11
|
|
|
12
12
|
// src/core/annotatePass.ts
|
|
13
|
-
registerDeferredLoader("annotate", () => import("./annotateEngine-
|
|
13
|
+
registerDeferredLoader("annotate", () => import("./annotateEngine-CL6ZSRGG.js").then((module) => module.linkAnnotateEngine()));
|
|
14
14
|
function runAnnotatePass(input) {
|
|
15
15
|
let engine = loadedDeferred("annotate");
|
|
16
16
|
if (engine) return engine.runAnnotatePass(input);
|
|
@@ -12,26 +12,26 @@ import {
|
|
|
12
12
|
roundingUnavailable,
|
|
13
13
|
shareRoundingNotes,
|
|
14
14
|
sumConsistentShares
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LFL4KMKF.js";
|
|
16
16
|
import {
|
|
17
17
|
accumulateStack
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XTECBM5K.js";
|
|
19
19
|
import {
|
|
20
20
|
digitSeat,
|
|
21
21
|
digitSeatEdge
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-V4XTBNZD.js";
|
|
23
23
|
import {
|
|
24
24
|
warnIncompleteComposition
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZT5Q6BRT.js";
|
|
26
26
|
import {
|
|
27
27
|
rowLabelBand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5ZGCGIHG.js";
|
|
29
29
|
import {
|
|
30
30
|
fittedLabel
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-352V2W5P.js";
|
|
32
32
|
import {
|
|
33
33
|
chartPalette
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-YRWJBS6C.js";
|
|
35
35
|
import {
|
|
36
36
|
yearSpanFromLabels
|
|
37
37
|
} from "./chunk-PRVX4PAO.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
headRule,
|
|
46
46
|
totalGround,
|
|
47
47
|
totalRule
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-RT4V47U6.js";
|
|
49
49
|
import {
|
|
50
50
|
tableRuleInk
|
|
51
51
|
} from "./chunk-Z2MGTKDR.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
heightOmitted,
|
|
61
61
|
rowDrivenHeight,
|
|
62
62
|
rowSizing
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-FY3VV7TF.js";
|
|
64
64
|
import {
|
|
65
65
|
PRIORITY,
|
|
66
66
|
authoredNotes,
|
|
@@ -75,12 +75,12 @@ import {
|
|
|
75
75
|
normalizeLegendOption,
|
|
76
76
|
solveFrame,
|
|
77
77
|
solveLabels
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
79
79
|
import {
|
|
80
80
|
disclosureNote,
|
|
81
81
|
footerType,
|
|
82
82
|
quietMethodNote
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-B76O5YXI.js";
|
|
84
84
|
import {
|
|
85
85
|
RULE_SET,
|
|
86
86
|
formatWithSpec,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
textScaleOf,
|
|
118
118
|
themeForWidth,
|
|
119
119
|
withSegmentSeams
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-BKUTKQMT.js";
|
|
121
121
|
import {
|
|
122
122
|
NormalizeError,
|
|
123
123
|
TARGET_SIZE,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
refusedBaseOptions,
|
|
14
14
|
scenarioField,
|
|
15
15
|
valueKindSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OGD23BIK.js";
|
|
17
17
|
|
|
18
18
|
// src/core/charts/mekko/schema.ts
|
|
19
19
|
import * as z from "zod";
|
|
@@ -26,7 +26,7 @@ var categorySchema = categorySchemaOf({
|
|
|
26
26
|
}), seriesSchema = z.strictObject({
|
|
27
27
|
valueKind: valueKindSchema,
|
|
28
28
|
id: idSchema.describe("Series identity used by keyed options, annotations and legend entries."),
|
|
29
|
-
label: z.string().optional().describe(
|
|
29
|
+
label: z.string().optional().describe('Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8").'),
|
|
30
30
|
values: z.array(z.union([detailCellSchema, z.strictObject({ categoryId: idSchema.describe("Category id identifying this value independently of array position."), value: detailCellSchema.describe("Cell assigned to the named category in this series.") })])).describe("Values in category order, or keyed entries pairing a categoryId with its value."),
|
|
31
31
|
scenario: scenarioField(""),
|
|
32
32
|
direction: z.enum(["higherIsBetter", "lowerIsBetter"]).optional().describe("Declared preference for higher or lower values in directional comparisons."),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IXCDKCYE.js";
|
|
5
5
|
import {
|
|
6
6
|
optionKeyCheck
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-36KGPRMX.js";
|
|
11
11
|
import {
|
|
12
12
|
cohortCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RZQU5DHD.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7SSN5ECA.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/cohort.ts
|
|
19
19
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, basis: 0, averages: 0, methodNote: 0, variant: 0, formatScope: 0, steps: 0, visiblePeriods: 0, cohortSizeLabel: 0, showPercentSign: 0, threshold: 0, designatedPeriod: 0, total: 0, totalPosition: 0, columnVisibility: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0, columnHeads: 0, figures: 0, excludeCurrentPeriod: 0, exhibitLabel: 0, heightFill: 0 }, labels: ["category", "series", "point"] }), CohortChart = createChartComponent(registeredType(cohortCore), checkOptionKeys);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
columnOverridesOption
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JTCXK7AG.js";
|
|
4
4
|
import {
|
|
5
5
|
addCategorySeriesIdIssues,
|
|
6
6
|
baseOptionsSchema,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
refusedBaseOptions,
|
|
14
14
|
scenarioField,
|
|
15
15
|
valueKindSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OGD23BIK.js";
|
|
17
17
|
import {
|
|
18
18
|
NAMED_COLUMN_STATES
|
|
19
19
|
} from "./chunk-62BDQTO6.js";
|
|
@@ -25,7 +25,7 @@ var categorySchema = categorySchemaOf({
|
|
|
25
25
|
}), seriesSchema = z.strictObject({
|
|
26
26
|
valueKind: valueKindSchema,
|
|
27
27
|
id: idSchema.describe("Series identity used by keyed options, annotations and legend entries."),
|
|
28
|
-
label: z.string().optional().describe(
|
|
28
|
+
label: z.string().optional().describe('Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8").'),
|
|
29
29
|
values: z.array(
|
|
30
30
|
z.union([detailCellSchema, z.strictObject({ categoryId: idSchema.describe("Category id identifying this value independently of array position."), value: detailCellSchema.describe("Cell assigned to the named category in this series.") })])
|
|
31
31
|
).describe("Values in category order, or keyed entries pairing a categoryId with its value."),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IXCDKCYE.js";
|
|
5
5
|
import {
|
|
6
6
|
optionKeyCheck
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-36KGPRMX.js";
|
|
11
11
|
import {
|
|
12
12
|
waffleCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YSKLERPF.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7SSN5ECA.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/waffle.ts
|
|
19
19
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, includeZero: 0, percent: 0, gridlines: 0 }, scaleGroup: { y: 0, id: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, grid: { rows: 0, columns: 0 }, fillFrom: 0, headline: 0, heightFill: 0, cellNote: 0, variant: 0, reference: { categoryId: 0, value: 0, label: 0 }, arrows: 0, panelGroups: { "[]": { id: 0, panels: 0, label: 0, colorRole: 0 } }, subtotal: { series: 0, label: 0 } } }), WaffleChart = createChartComponent(registeredType(waffleCore), checkOptionKeys);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutHeatmap
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HS4DLZ6H.js";
|
|
4
4
|
import {
|
|
5
5
|
yieldingWidths
|
|
6
6
|
} from "./chunk-YGZEG3JV.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
calendarCategories,
|
|
10
10
|
chartSizing,
|
|
11
11
|
sideKeyGivesWay
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FY3VV7TF.js";
|
|
13
13
|
import {
|
|
14
14
|
prepareFractionData
|
|
15
15
|
} from "./chunk-QXHFELIA.js";
|