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
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys4,
|
|
4
4
|
sharedKeys5
|
|
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
|
histogramCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MBRVSKFJ.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7SSN5ECA.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/histogram.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, labels: 0, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, valueAxis: sharedKeys4, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, axisTitles: { y: 0 }, bins: { width: 0, anchor: 0, openAbove: 0 }, binSnap: 0, methodNote: 0 }, labels: ["category", "point", "axisTitle"] }), HistogramChart = createChartComponent(registeredType(histogramCore), 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
|
ganttCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EL5E6O3K.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7SSN5ECA.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/gantt.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, 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 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, today: 0, elapsed: 0, weekends: 0, rowTint: 0, calendar: { weeks: 0, span: 0 }, colHeaders: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0 }, labels: ["valueLine", "annotation", "activity", "item"] }), GanttChart = createChartComponent(registeredType(ganttCore), checkOptionKeys);
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
rowOrderOption,
|
|
7
7
|
rowOverridesOption,
|
|
8
8
|
rowVisibilityOption
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JTCXK7AG.js";
|
|
10
10
|
import {
|
|
11
11
|
addCanvasBoundsIssues,
|
|
12
12
|
baseOptionsSchema,
|
|
13
13
|
idSchema,
|
|
14
14
|
refusedBaseOptions
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OGD23BIK.js";
|
|
16
16
|
|
|
17
17
|
// src/core/charts/creative/schema.ts
|
|
18
18
|
import * as z from "zod";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
useRefusalSettle,
|
|
26
26
|
useResolvedChartRequest,
|
|
27
27
|
useRowsInput
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MNVMTW7K.js";
|
|
29
29
|
import {
|
|
30
30
|
useIsomorphicLayoutEffect
|
|
31
31
|
} from "./chunk-A4QZXLXF.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-D4SOADBD.js";
|
|
38
38
|
import {
|
|
39
39
|
SceneRenderer
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-M2LYZUQA.js";
|
|
41
41
|
import {
|
|
42
42
|
useStableValue
|
|
43
43
|
} from "./chunk-UTWLJ6AZ.js";
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
containerFit,
|
|
53
53
|
containerHostlessHeight,
|
|
54
54
|
layoutContainerRequest
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-LHQFDRQV.js";
|
|
56
56
|
import {
|
|
57
57
|
isFullGeometry,
|
|
58
58
|
preparedResult,
|
|
59
59
|
withoutSvgFooter
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-YBMYW7LD.js";
|
|
61
61
|
import {
|
|
62
62
|
drawnRequest
|
|
63
63
|
} from "./chunk-INHDHZNP.js";
|
|
@@ -68,11 +68,11 @@ import {
|
|
|
68
68
|
} from "./chunk-25JXYOSX.js";
|
|
69
69
|
import {
|
|
70
70
|
layoutRefusal
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-NJKUODK3.js";
|
|
72
72
|
import {
|
|
73
73
|
SIZE_TOLERANCE,
|
|
74
74
|
getChart
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-FY3VV7TF.js";
|
|
76
76
|
import {
|
|
77
77
|
chartRefusals,
|
|
78
78
|
isSizeDependentRefusal,
|
|
@@ -81,11 +81,11 @@ import {
|
|
|
81
81
|
} from "./chunk-YKYK6C7F.js";
|
|
82
82
|
import {
|
|
83
83
|
formatDate
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
85
85
|
import {
|
|
86
86
|
chartNotes,
|
|
87
87
|
shownNoteKinds
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-B76O5YXI.js";
|
|
89
89
|
import {
|
|
90
90
|
withAnnotationOrigins
|
|
91
91
|
} from "./chunk-PPOUKS24.js";
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
// src/react/hover/HoverSurface.tsx
|
|
109
109
|
import { createContext, useContext, useId, useMemo } from "react";
|
|
110
110
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
111
|
-
var DataTableContext = createContext(void 0), loadDataTable = () => import("./dataTable-
|
|
111
|
+
var DataTableContext = createContext(void 0), loadDataTable = () => import("./dataTable-72HO6PCW.js");
|
|
112
112
|
function HoverSurface({ geometry, request, prepared, hover, table, responsive, background, styleNonce, extraCss = "", onSeriesClick, onRecordClick, renderHoverContent }) {
|
|
113
113
|
let { engine, view, origin, handlers, focusStops, keys, cursor, cardRef } = useHover({
|
|
114
114
|
request,
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-UMDEWWXT.js";
|
|
4
4
|
import {
|
|
5
5
|
dimswitchRowId
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WK6LQCUT.js";
|
|
7
7
|
import {
|
|
8
8
|
getTilePack
|
|
9
9
|
} from "./chunk-T2L5H2WW.js";
|
|
10
10
|
import {
|
|
11
11
|
formatDate
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
13
13
|
|
|
14
14
|
// src/fixtures/registry.ts
|
|
15
15
|
var fixtureRegistry = /* @__PURE__ */ new Map(), refusalRegistry = /* @__PURE__ */ new Map();
|
|
@@ -3515,6 +3515,18 @@ fixtures5.push({
|
|
|
3515
3515
|
data: regionRows,
|
|
3516
3516
|
options: { title: "South is the only region above plan", unit: "$k", source: "Illustrative data", size: { width: 720 }, labels: { direction: !1, position: !1 } }
|
|
3517
3517
|
});
|
|
3518
|
+
var tolerance = (from, to) => [{ from, to, label: "Tolerance", tone: "neutral" }];
|
|
3519
|
+
fixtures5.push({
|
|
3520
|
+
id: "tolerance-range",
|
|
3521
|
+
title: "from shades only the tolerance range around each target and leaves the space below it blank",
|
|
3522
|
+
kind: "example",
|
|
3523
|
+
data: { rows: [
|
|
3524
|
+
{ id: "north", label: "North", value: 120, target: 99, bands: tolerance(94, 104) },
|
|
3525
|
+
{ id: "south", label: "South", value: 101, target: 100, bands: tolerance(95, 105) },
|
|
3526
|
+
{ id: "east", label: "East", value: 84, target: 90, bands: tolerance(85.5, 94.5) }
|
|
3527
|
+
] },
|
|
3528
|
+
options: { title: "Only South lands inside its tolerance range", unit: "units", subtitle: { measure: "**Orders**" }, source: "Illustrative data", sharedScale: !0, size: { width: 720 } }
|
|
3529
|
+
});
|
|
3518
3530
|
registerFixtures("bullet", fixtures5);
|
|
3519
3531
|
|
|
3520
3532
|
// src/core/charts/butterfly/fixtures.ts
|
|
@@ -21814,7 +21826,9 @@ var fixtures28 = [
|
|
|
21814
21826
|
hostTitle: "Weekly orders climb from 96 to 110 in eight weeks",
|
|
21815
21827
|
data: {
|
|
21816
21828
|
values: [96, 98, 101, null, 104, 103, 107, 110],
|
|
21817
|
-
labels: ["W1", "W2", "W3", "W4", "W5", "W6", "W7", "W8"]
|
|
21829
|
+
labels: ["W1", "W2", "W3", "W4", "W5", "W6", "W7", "W8"],
|
|
21830
|
+
// Nothing prints the name; the hover card reads "W5" over "Orders: 104".
|
|
21831
|
+
label: "Orders"
|
|
21818
21832
|
},
|
|
21819
21833
|
options: { ring: "none", endLabels: "none", valueLabel: "none", title: !1 }
|
|
21820
21834
|
}
|
|
@@ -27837,6 +27851,20 @@ fixtures36.push(
|
|
|
27837
27851
|
labelPosition: "center",
|
|
27838
27852
|
theme: { preset: "standard", overrides: { marks: { bridge: "sign" } } }
|
|
27839
27853
|
}
|
|
27854
|
+
},
|
|
27855
|
+
{
|
|
27856
|
+
id: "grey-steps",
|
|
27857
|
+
title: "Grey steps with their values inside",
|
|
27858
|
+
kind: "example",
|
|
27859
|
+
data: { items: [
|
|
27860
|
+
{ id: "plan", label: "Planned scope", type: "total", value: 100 },
|
|
27861
|
+
{ id: "budget", label: "Out of budget", value: -10, colorRole: "neutralLight" },
|
|
27862
|
+
{ id: "priority", label: "Low priority", value: -8, colorRole: "neutralLight" },
|
|
27863
|
+
{ id: "added", label: "New requests", value: 6 },
|
|
27864
|
+
{ id: "limits", label: "Tool limits", value: -12, colorRole: "neutralLight" },
|
|
27865
|
+
{ id: "agreed", label: "Agreed scope", type: "total" }
|
|
27866
|
+
] },
|
|
27867
|
+
options: { title: "Three exclusions cut the planned scope to 76", unit: "FTE", variant: "vertical", labelPosition: "center" }
|
|
27840
27868
|
}
|
|
27841
27869
|
);
|
|
27842
27870
|
registerFixtures("waterfall", fixtures36);
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
} from "./chunk-M4YLED7M.js";
|
|
4
4
|
import {
|
|
5
5
|
layoutButterfly
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JLJ4QRAE.js";
|
|
7
7
|
import {
|
|
8
8
|
structureCount
|
|
9
9
|
} from "./chunk-YDYZWCUQ.js";
|
|
10
10
|
import {
|
|
11
11
|
chartSizing
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FY3VV7TF.js";
|
|
13
13
|
import {
|
|
14
14
|
HOST_CLAIMS,
|
|
15
15
|
authoredNotes,
|
|
16
16
|
claimId,
|
|
17
17
|
withAuthoredFootnotes,
|
|
18
18
|
withUnprintedClaims
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
20
20
|
import {
|
|
21
21
|
disclosureNote,
|
|
22
22
|
keepShownNotes
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-B76O5YXI.js";
|
|
24
24
|
import {
|
|
25
25
|
emptyIdRecord
|
|
26
26
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
resolveTheme,
|
|
41
41
|
strokeToken,
|
|
42
42
|
themeForWidth
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-BKUTKQMT.js";
|
|
44
44
|
import {
|
|
45
45
|
NormalizeError,
|
|
46
46
|
TARGET_SIZE,
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
chartString
|
|
3
|
+
} from "./chunk-FNDDKZ4Z.js";
|
|
4
|
+
import {
|
|
5
|
+
TOLERANCE_FILL,
|
|
6
|
+
bandBoundText,
|
|
7
|
+
toleranceBounds,
|
|
8
|
+
valueLineHasTargetExtras
|
|
9
|
+
} from "./chunk-OLAPTOUH.js";
|
|
10
|
+
import {
|
|
11
|
+
defaultAnnotationId
|
|
12
|
+
} from "./chunk-PPOUKS24.js";
|
|
13
|
+
import {
|
|
14
|
+
localeStrings
|
|
15
|
+
} from "./chunk-FYFXOLWI.js";
|
|
16
|
+
import {
|
|
17
|
+
maxOf,
|
|
18
|
+
minOf
|
|
19
|
+
} from "./chunk-WYJEOMNY.js";
|
|
20
|
+
|
|
21
|
+
// src/core/valueLineDomain.ts
|
|
22
|
+
function valueLineExtent(annotations, axis = "primary") {
|
|
23
|
+
let values = (annotations ?? []).flatMap((a) => a.kind === "valueLine" && Number.isFinite(a.value) && (a.axis ?? "primary") === axis && a.seriesId === void 0 && (a.from === void 0 && a.to === void 0 || valueLineHasTargetExtras(a)) ? [a.value] : []);
|
|
24
|
+
return values.length ? { lo: minOf(values), hi: maxOf(values) } : null;
|
|
25
|
+
}
|
|
26
|
+
function drawnToleranceBands(annotations, meanValue, categoryIds) {
|
|
27
|
+
return toleranceBands(annotations, meanValue, categoryIds).map(({ lo, hi }) => ({ lo, hi }));
|
|
28
|
+
}
|
|
29
|
+
function toleranceBands(annotations, meanValue, categoryIds) {
|
|
30
|
+
return (annotations ?? []).flatMap((a, index) => {
|
|
31
|
+
if (a.kind !== "valueLine" || a.tolerance === void 0 || (a.axis ?? "primary") !== "primary" || a.seriesId !== void 0) return [];
|
|
32
|
+
let spanned = a.from !== void 0 || a.to !== void 0, value = typeof a.value == "number" ? a.value : spanned ? void 0 : meanValue;
|
|
33
|
+
if (value === void 0 || !Number.isFinite(value)) return [];
|
|
34
|
+
if (spanned && !(a.from !== void 0 && a.to !== void 0 && categoryIds.includes(a.from) && categoryIds.includes(a.to))) return [];
|
|
35
|
+
let band = toleranceBounds(value, a.tolerance);
|
|
36
|
+
return typeof band == "string" ? [] : [{ lo: Math.min(band.low, band.high), hi: Math.max(band.low, band.high), line: a, index }];
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
var toleranceKeyId = (annotationId) => `__tolerance:${annotationId}`;
|
|
40
|
+
function toleranceLegendKeys(annotations, meanValue, categoryIds, text) {
|
|
41
|
+
let words = { locale: text.locale, strings: text.strings };
|
|
42
|
+
return toleranceBands(annotations, meanValue, categoryIds).map(({ lo, hi, line, index }) => {
|
|
43
|
+
let mean = line.value === void 0 || line.value === "mean", name = typeof line.label == "string" ? line.label.split("${value}").map((part) => part.replace(/\s+/g, " ").replace(/^[\s:=()–-]+|[\s:=()–-]+$/g, "")).find(Boolean) ?? "" : line.label === void 0 && mean ? text.strings?.average ?? localeStrings(text.locale).average : "", range = chartString(words, "valueLineRange", { v1: bandBoundText(text, lo), v2: bandBoundText(text, hi) });
|
|
44
|
+
return {
|
|
45
|
+
id: toleranceKeyId(defaultAnnotationId(line, index)),
|
|
46
|
+
label: name ? chartString(words, "valueLineRangeKey", { name, range }) : chartString(words, "valueLineRangeKeyPlain", { range }),
|
|
47
|
+
paint: TOLERANCE_FILL,
|
|
48
|
+
stroke: { token: "axis" },
|
|
49
|
+
width: 0.75
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function toleranceKeyed(annotations, drawn) {
|
|
54
|
+
let ids = new Set((drawn ?? []).map((item) => item.id));
|
|
55
|
+
return new Set((annotations ?? []).flatMap((a, index) => ids.has(toleranceKeyId(defaultAnnotationId(a, index))) ? [defaultAnnotationId(a, index)] : []));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
valueLineExtent,
|
|
60
|
+
drawnToleranceBands,
|
|
61
|
+
toleranceLegendKeys,
|
|
62
|
+
toleranceKeyed
|
|
63
|
+
};
|
|
@@ -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
|
scatterCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LT7IY2L3.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7SSN5ECA.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/scatter.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, labels: { value: 0, "*": 0 }, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, tickStep: 0, includeZero: 0, percent: 0, log: 0, reverse: 0, gridlines: 0, clamp: { min: 0, max: 0, x: { min: 0, max: 0 }, y: { min: 0, max: 0 } } }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, viewDomain: { x: 0, y: 0 }, axisTitles: { x: 0, y: 0 }, axisFormat: { x: 0, y: 0 }, minCount: 0, sizeBy: 0, maxPointLabels: 0, quadrants: { x: { stat: 0 }, y: { stat: 0 }, labels: { tl: 0, tr: 0, bl: 0, br: 0 }, tint: 0, captionPlacement: 0, axisNames: { x: 0, y: 0 } }, zones: { grid: { x: 0, y: 0, cells: { "[]": { id: 0, column: 0, row: 0, label: 0, tone: 0, labelAt: 0, a11y: 0 } }, xLabels: 0, yLabels: 0 }, regions: { "[]": { id: 0, points: { "[]": { x: 0, y: 0 } }, smooth: 0, label: 0, tone: 0, labelAt: 0, a11y: 0 } } }, trend: { groups: 0, label: 0 }, frontier: { x: 0, y: 0, label: 0, extend: 0, groups: 0 }, sizeLegend: { values: 0, label: 0 }, qualitativeAxes: 0, methodNote: 0 }, labels: ["point", "value"] }), ScatterChart = createChartComponent(registeredType(scatterCore), checkOptionKeys);
|
|
@@ -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
|
treemapCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-B62SEOJC.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7SSN5ECA.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/treemap.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, variant: 0, order: 0, cellValue: 0, total: 0 } }), TreemapChart = createChartComponent(registeredType(treemapCore), checkOptionKeys);
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
columnHeadText,
|
|
6
6
|
columnWidth,
|
|
7
7
|
differenceFormatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W2QJDTAR.js";
|
|
9
9
|
import {
|
|
10
10
|
seatsPastBlockers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ASRICUAD.js";
|
|
12
12
|
import {
|
|
13
13
|
prepareRangeData,
|
|
14
14
|
resolveCellRange
|
|
@@ -16,50 +16,62 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
averageMarkerLine,
|
|
18
18
|
averageMarkerScope
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XTECBM5K.js";
|
|
20
20
|
import {
|
|
21
21
|
overValueLines
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-V4XTBNZD.js";
|
|
23
|
+
import {
|
|
24
|
+
drawnToleranceBands,
|
|
25
|
+
toleranceKeyed,
|
|
26
|
+
toleranceLegendKeys,
|
|
27
|
+
valueLineExtent
|
|
28
|
+
} from "./chunk-4ZIFMZO4.js";
|
|
23
29
|
import {
|
|
24
30
|
warnMissingValue
|
|
25
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZT5Q6BRT.js";
|
|
26
32
|
import {
|
|
27
33
|
HEAD_PREFIX,
|
|
28
34
|
asColumnHeads,
|
|
29
35
|
columnHeadFont,
|
|
30
36
|
fitHead,
|
|
31
37
|
headRequest
|
|
32
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TL5ICZT2.js";
|
|
33
39
|
import {
|
|
34
40
|
percentCellsOnly,
|
|
35
41
|
percentLevels,
|
|
36
42
|
runAnnotatePass
|
|
37
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-U2YWY6FH.js";
|
|
38
44
|
import {
|
|
39
45
|
rowLabelBand
|
|
40
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5ZGCGIHG.js";
|
|
41
47
|
import {
|
|
42
48
|
fittedLabel,
|
|
43
49
|
gutterBudget,
|
|
44
50
|
pinnedRowFont,
|
|
45
51
|
stepDownFont
|
|
46
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-352V2W5P.js";
|
|
47
53
|
import {
|
|
48
54
|
breakUnsupported,
|
|
49
55
|
chartPalette,
|
|
50
56
|
chartTheme
|
|
51
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-YRWJBS6C.js";
|
|
52
58
|
import {
|
|
53
59
|
topNCut,
|
|
54
60
|
topNOmitted,
|
|
55
61
|
topNRestUnsupported
|
|
56
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-EAMZDY55.js";
|
|
57
63
|
import {
|
|
58
64
|
namedLineText
|
|
59
65
|
} from "./chunk-R4MVXUAG.js";
|
|
66
|
+
import {
|
|
67
|
+
categoryTargetFields,
|
|
68
|
+
spliceAnnotationNodes,
|
|
69
|
+
valueLineHasTargetExtras,
|
|
70
|
+
valueLineNeedsSharedPass
|
|
71
|
+
} from "./chunk-OLAPTOUH.js";
|
|
60
72
|
import {
|
|
61
73
|
labelOn
|
|
62
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-FKRL2ZB2.js";
|
|
63
75
|
import {
|
|
64
76
|
structureCount
|
|
65
77
|
} from "./chunk-YDYZWCUQ.js";
|
|
@@ -84,7 +96,7 @@ import {
|
|
|
84
96
|
planValueAxisTitle,
|
|
85
97
|
shownTickStep,
|
|
86
98
|
valueAxisTitleRequest
|
|
87
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-FY3VV7TF.js";
|
|
88
100
|
import {
|
|
89
101
|
prepareFractionData
|
|
90
102
|
} from "./chunk-QXHFELIA.js";
|
|
@@ -104,10 +116,10 @@ import {
|
|
|
104
116
|
solveFrame,
|
|
105
117
|
solveLabels,
|
|
106
118
|
unitPrinted
|
|
107
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
108
120
|
import {
|
|
109
121
|
disclosureNote
|
|
110
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-B76O5YXI.js";
|
|
111
123
|
import {
|
|
112
124
|
emptyIdRecord
|
|
113
125
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -147,7 +159,7 @@ import {
|
|
|
147
159
|
strokeToken,
|
|
148
160
|
textScaleOf,
|
|
149
161
|
unionRect
|
|
150
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-BKUTKQMT.js";
|
|
151
163
|
import {
|
|
152
164
|
MARK_CONTRAST_FLOOR,
|
|
153
165
|
hueSaturation,
|
|
@@ -285,7 +297,7 @@ function layoutDot(data, options = {}) {
|
|
|
285
297
|
throw new NormalizeError("no-data-series", "series", "dot requires at least one data-role series", void 0, void 0, ["data", "series"]);
|
|
286
298
|
let valueSpec = seriesRasterFormatter(options.format, normSeries.flatMap(
|
|
287
299
|
(s) => s.cells.flatMap((cell) => [cell.v, cell.range?.low, cell.range?.high, cell.range?.mid])
|
|
288
|
-
), options.locale?.language, options.unit), fmt = valueSpec.fmt, percent = options.unit === "%" || percentLevels(dataSeries.map((series) => ({ vals: series.cells }))), percentAxis = percentCellsOnly(dataSeries.map((series) => ({ vals: series.cells.map((cell) => ({ ...cell, format: cell.meta?.format })), format: series.format }))), percentSpec = { ...valueSpec.percentSpec, suffix: "%" }, referenceFmt = percent && !options.format ? (v) => formatWithSpec(v, percentSpec) : fmt, meanFmt = percent && !options.format ? (v) => formatStatWithSpec(v, percentSpec) : (v) => formatStatWithSpec(v, valueSpec.spec);
|
|
300
|
+
), options.locale?.language, options.unit), fmt = valueSpec.fmt, percent = options.unit === "%" || percentLevels(dataSeries.map((series) => ({ vals: series.cells }))), percentAxis = percentCellsOnly(dataSeries.map((series) => ({ vals: series.cells.map((cell) => ({ ...cell, format: cell.meta?.format })), format: series.format }))), percentSpec = { ...valueSpec.percentSpec, suffix: "%" }, passText = { format: options.format, locale: options.locale?.language, levelSpec: percent ? percentSpec : valueSpec.spec, strings: options.strings }, referenceFmt = percent && !options.format ? (v) => formatWithSpec(v, percentSpec) : fmt, meanFmt = percent && !options.format ? (v) => formatStatWithSpec(v, percentSpec) : (v) => formatStatWithSpec(v, valueSpec.spec);
|
|
289
301
|
if (variant === "dumbbell" && dataSeries.length !== 2)
|
|
290
302
|
throw new NormalizeError(
|
|
291
303
|
"dumbbell-two-series",
|
|
@@ -349,11 +361,11 @@ function layoutDot(data, options = {}) {
|
|
|
349
361
|
averageIds.add(marker.id), annotationsAll.push(marker);
|
|
350
362
|
}
|
|
351
363
|
}
|
|
352
|
-
let localAnns = annotationsAll.filter((a) => a.kind === "valueLine"), passAnns = annotationsAll.filter((a) => a.
|
|
364
|
+
let localAnns = annotationsAll.filter((a) => a.kind === "valueLine" && !valueLineNeedsSharedPass(a)), passAnns = annotationsAll.filter((a) => !localAnns.includes(a)).map((a) => attainmentSeries(a, dataSeries, highlights, variant)), allDotValues = [];
|
|
353
365
|
for (let s of dataSeries) for (let c of s.cells) c.v !== null && allDotValues.push(c.v);
|
|
354
366
|
let allRangeValues = dataSeries.flatMap(
|
|
355
367
|
(series) => series.cells.flatMap((cell) => cell.range ? [cell.range.low, cell.range.high] : [])
|
|
356
|
-
), meanValue = allDotValues.length > 0 ? allDotValues.reduce((a, b) => a + b, 0) / allDotValues.length : void 0, valueLineValue = (a) => a.value === void 0 || a.value === "mean" ? meanValue : a.value, lo = Number.POSITIVE_INFINITY, hi = Number.NEGATIVE_INFINITY;
|
|
368
|
+
), meanValue = allDotValues.length > 0 ? allDotValues.reduce((a, b) => a + b, 0) / allDotValues.length : void 0, valueLineValue = (a) => a.value === void 0 || a.value === "mean" ? meanValue : a.value, passLines = [valueLineExtent(passAnns), ...drawnToleranceBands(passAnns, meanValue, cats.map((c) => c.id))].reduce((all, e) => e ? all ? { lo: Math.min(all.lo, e.lo), hi: Math.max(all.hi, e.hi) } : e : all, null), lo = Number.POSITIVE_INFINITY, hi = Number.NEGATIVE_INFINITY;
|
|
357
369
|
for (let v of [...allDotValues, ...allRangeValues])
|
|
358
370
|
lo = Math.min(lo, v), hi = Math.max(hi, v);
|
|
359
371
|
Number.isFinite(lo) || (lo = 0, hi = 1), (variant === "lollipop" || options.valueAxis?.includeZero) && (lo = Math.min(lo, 0), hi = Math.max(hi, 0));
|
|
@@ -362,7 +374,7 @@ function layoutDot(data, options = {}) {
|
|
|
362
374
|
let v = valueLineValue(a);
|
|
363
375
|
v !== void 0 && (lo = Math.min(lo, v), hi = Math.max(hi, v));
|
|
364
376
|
}
|
|
365
|
-
[lo, hi] = applyAxisBounds([lo, hi], [lo, hi], options.valueAxis, warnings);
|
|
377
|
+
passLines && (lo = Math.min(lo, passLines.lo), hi = Math.max(hi, passLines.hi)), [lo, hi] = applyAxisBounds([lo, hi], [lo, hi], options.valueAxis, warnings);
|
|
366
378
|
let tickFont = { family: theme.type.family, ...theme.type.axis }, labelFont = { family: theme.type.family, ...theme.type.label }, strongFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, textFrom = (cell, base) => {
|
|
367
379
|
let { meta } = cell;
|
|
368
380
|
return meta?.label === !1 ? null : typeof meta?.label == "string" ? meta.label.replace(/\$\{value\}/g, base) : base;
|
|
@@ -420,7 +432,7 @@ function layoutDot(data, options = {}) {
|
|
|
420
432
|
measure
|
|
421
433
|
},
|
|
422
434
|
occupied
|
|
423
|
-
), plot0 = frameResult.plot, autoAxis = variant === "lollipop" && options.valueAxis?.show === void 0 && labelOn2("point") && dataSeries.every((s) => s.cells.every((cell) => cell.v === null || textFor(cell.v, cell, s) !== null)), axisShown = autoAxis ? !1 : options.valueAxis?.show !== !1, axisTitle = axisShown && labelOn2("axisTitle") ? planValueAxisTitle(options.axisTitles?.primary, theme, measure, plot0.w) : void 0, annPad = localAnns.length > 0 ? 26 : 8, axisH = axisShown ? measure("0", tickFont).height + 8 + (axisTitle ? axisTitle.height + 2 : 0) : 0;
|
|
435
|
+
), plot0 = frameResult.plot, autoAxis = variant === "lollipop" && options.valueAxis?.show === void 0 && labelOn2("point") && dataSeries.every((s) => s.cells.every((cell) => cell.v === null || textFor(cell.v, cell, s) !== null)), axisShown = autoAxis ? !1 : options.valueAxis?.show !== !1, axisTitle = axisShown && labelOn2("axisTitle") ? planValueAxisTitle(options.axisTitles?.primary, theme, measure, plot0.w) : void 0, annPad = localAnns.length > 0 || passAnns.some(valueLineHasTargetExtras) ? 26 : 8, axisH = axisShown ? measure("0", tickFont).height + 8 + (axisTitle ? axisTitle.height + 2 : 0) : 0;
|
|
424
436
|
fixedPlotChrome(frameResult, annPad + axisH);
|
|
425
437
|
let availH = plotHeightAfter(frameResult, size.height, plot0.h - annPad - axisH), lineH = tickFont.size * 1.2, stepEst = availH / cats.length, openHeight = options[TARGET_SIZE]?.fixed.height === !1, labelOverride = options.columnOverrides?.label, rowHeaders = variant === "dumbbell" && labelOn2("category") && options.rowLabels === void 0 && labelOverride === void 0 && size.width <= HEADER_ROWS_MAX_WIDTH && (openHeight || stepEst >= 2 * lineH + 8), headerH = rowHeaders ? lineH + 3 : 0, air = options[HARD_MINIMUM] === !0 ? 1 : 4, catMaxLines = rowHeaders ? 1 : openHeight ? 1 / 0 : stepEst >= 2 * lineH + 4 ? 2 : 1, gapW = gapHead === void 0 ? 0 : gapOverride?.width === void 0 ? gapNaturalW : authoredTrackWidth("gap", gapOverride.width, gapNaturalW, plot0.w - (labelOn2("category") ? 24 + CAT_BAND_GAP : 0) - COLUMN_GAP - trackPlotFloor(plot0.w), warnings), gapReserve = gapW > 0 ? gapW + COLUMN_GAP : 0, nameTrack = labelOverride?.width === void 0 || !labelOn2("category") ? void 0 : authoredTrackWidth("label", labelOverride.width, 24, plot0.w - CAT_BAND_GAP - gapReserve - trackPlotFloor(plot0.w), warnings);
|
|
426
438
|
columnOverrideWarnings("dot", options.columnOverrides, [...labelOn2("category") && !rowHeaders ? ["label"] : [], ...gapHead === void 0 ? [] : ["gap"]], ["gap"], warnings);
|
|
@@ -472,6 +484,7 @@ function layoutDot(data, options = {}) {
|
|
|
472
484
|
let v = valueLineValue(ann);
|
|
473
485
|
return v === void 0 ? [] : [v];
|
|
474
486
|
}),
|
|
487
|
+
...passLines ? [passLines.lo, passLines.hi] : [],
|
|
475
488
|
...options.valueAxis?.min !== void 0 ? [options.valueAxis.min] : [],
|
|
476
489
|
...options.valueAxis?.max !== void 0 ? [options.valueAxis.max] : []
|
|
477
490
|
];
|
|
@@ -957,23 +970,25 @@ function layoutDot(data, options = {}) {
|
|
|
957
970
|
resolve: (ref) => withPrinted(resolve(ref)),
|
|
958
971
|
deltaAcrossRows: !0,
|
|
959
972
|
valueAxis: "horizontal",
|
|
960
|
-
// For the drawing annotations' value points
|
|
973
|
+
// For the drawing annotations' value points and the target lines this pass draws.
|
|
961
974
|
xScale: x,
|
|
975
|
+
// Only a target's tolerance and attainment read the rows; the other annotations keep their anchors.
|
|
976
|
+
valueLineCategories: categoryTargetFields(cats.map((c) => c.id), plot, (i) => band.position(i) + band.bandwidth / 2, "y"),
|
|
977
|
+
// A target prints in the unit of the dots, as the local lines do (referenceFmt).
|
|
978
|
+
valueLinePercentLevels: percent,
|
|
962
979
|
defaultSpan: cats.length >= 2 ? { from: cats[0].id, to: cats[cats.length - 1].id } : void 0,
|
|
963
980
|
occupied,
|
|
964
981
|
plot,
|
|
965
982
|
theme,
|
|
966
983
|
measure,
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
levelSpec: percent ? percentSpec : valueSpec.spec,
|
|
970
|
-
strings: options.strings,
|
|
984
|
+
...passText,
|
|
985
|
+
toleranceKeyed: toleranceKeyed(passAnns, frameResult.legend?.items),
|
|
971
986
|
solveCtx,
|
|
972
987
|
meanValue
|
|
973
988
|
});
|
|
974
989
|
pushAll(warnings, annResult.warnings);
|
|
975
990
|
let allLabels = [...solved.placed, ...annResult.labels];
|
|
976
|
-
|
|
991
|
+
spliceAnnotationNodes(nodes, annResult.nodes, new Set(passAnns.flatMap((a) => a.kind === "valueLine" ? [a.id] : []))), pushAll(
|
|
977
992
|
nodes,
|
|
978
993
|
labelsToNodes(
|
|
979
994
|
theme,
|
|
@@ -1129,7 +1144,9 @@ function layoutDot(data, options = {}) {
|
|
|
1129
1144
|
label: d === "rose" ? chartString(options, "rose") : chartString(options, "fell"),
|
|
1130
1145
|
key: "line",
|
|
1131
1146
|
paint: { token: d === "rose" == (dataSeries[1]?.direction === "higherIsBetter") ? "good" : "bad" }
|
|
1132
|
-
}))
|
|
1147
|
+
})),
|
|
1148
|
+
// A tolerance band says nothing about itself: the key names it and prints its bounds.
|
|
1149
|
+
...toleranceLegendKeys(passAnns, meanValue, cats.map((c) => c.id), passText)
|
|
1133
1150
|
];
|
|
1134
1151
|
if (l === "none" || l === "auto" || !l && extras.length === 0) return;
|
|
1135
1152
|
let legendOptions = normalizeLegendOption(l ?? "top"), keyUnit = options.mode === "compact" && !unitPrinted({ ...options, subtitle: resolveSubtitle(options.subtitle) }) ? options.unit : void 0, items = [...l || rangesDrawn ? dataSeries.map((s) => {
|
|
@@ -1145,6 +1162,13 @@ function layoutDot(data, options = {}) {
|
|
|
1145
1162
|
return { options: legendOptions, items };
|
|
1146
1163
|
}
|
|
1147
1164
|
}
|
|
1165
|
+
function attainmentSeries(ann, dataSeries, highlights, variant) {
|
|
1166
|
+
if (ann.kind !== "valueLine" || !ann.attainment || dataSeries.length < 2) return ann;
|
|
1167
|
+
let spec = ann.attainment === !0 ? {} : ann.attainment;
|
|
1168
|
+
if (spec.seriesId !== void 0) return ann;
|
|
1169
|
+
let seriesId = variant === "dumbbell" ? dataSeries[dataSeries.length - 1].id : (dataSeries.find((s) => highlights.has(s.id)) ?? dataSeries[0]).id;
|
|
1170
|
+
return { ...ann, attainment: { ...spec, seriesId } };
|
|
1171
|
+
}
|
|
1148
1172
|
|
|
1149
1173
|
// src/core/charts/dot/core.ts
|
|
1150
1174
|
var dotCore = {
|