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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveChartRequest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RXC3XU62.js";
|
|
4
4
|
import {
|
|
5
5
|
drawnRequest
|
|
6
6
|
} from "./chunk-INHDHZNP.js";
|
|
@@ -8,19 +8,16 @@ import {
|
|
|
8
8
|
calcPreservesScale,
|
|
9
9
|
columnOwnsFormat
|
|
10
10
|
} from "./chunk-X3YP4DUV.js";
|
|
11
|
-
import {
|
|
12
|
-
chartString
|
|
13
|
-
} from "./chunk-MF6XGFHB.js";
|
|
14
11
|
import {
|
|
15
12
|
chartString as chartString4
|
|
16
13
|
} from "./chunk-F7QCIJAY.js";
|
|
17
14
|
import {
|
|
18
15
|
normalizeGridData
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DOVEWKJ6.js";
|
|
20
17
|
import {
|
|
21
18
|
chartString as chartString3,
|
|
22
19
|
tablePlan
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-H26UA4UM.js";
|
|
24
21
|
import {
|
|
25
22
|
DeferredShownMarks
|
|
26
23
|
} from "./chunk-2Q7IAWON.js";
|
|
@@ -33,11 +30,13 @@ import {
|
|
|
33
30
|
import {
|
|
34
31
|
mekkoStackingMode,
|
|
35
32
|
poolMekkoCell
|
|
36
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-EAMZDY55.js";
|
|
37
34
|
import {
|
|
35
|
+
addsTo100,
|
|
38
36
|
drawnVariant,
|
|
39
|
-
stackAdds
|
|
40
|
-
|
|
37
|
+
stackAdds,
|
|
38
|
+
statedInPercent
|
|
39
|
+
} from "./chunk-KZKWDFIS.js";
|
|
41
40
|
import {
|
|
42
41
|
chartString as chartString2
|
|
43
42
|
} from "./chunk-DITI57ZB.js";
|
|
@@ -46,18 +45,21 @@ import {
|
|
|
46
45
|
kpiSparkSeries,
|
|
47
46
|
lastObservedIndex,
|
|
48
47
|
sparklinePointId
|
|
49
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-MNPNLXSI.js";
|
|
49
|
+
import {
|
|
50
|
+
chartString
|
|
51
|
+
} from "./chunk-FNDDKZ4Z.js";
|
|
50
52
|
import {
|
|
51
53
|
labelOn
|
|
52
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-FKRL2ZB2.js";
|
|
53
55
|
import {
|
|
54
56
|
calendarNames
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-FY3VV7TF.js";
|
|
56
58
|
import {
|
|
57
59
|
datePatternFromExample,
|
|
58
60
|
formatDate,
|
|
59
61
|
textRole
|
|
60
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
61
63
|
import {
|
|
62
64
|
LABEL_ONLY_ROW,
|
|
63
65
|
RULE_SET,
|
|
@@ -99,7 +101,7 @@ import {
|
|
|
99
101
|
} from "./chunk-O3VN6BTL.js";
|
|
100
102
|
import {
|
|
101
103
|
rectCenter
|
|
102
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-BKUTKQMT.js";
|
|
103
105
|
import {
|
|
104
106
|
normalizeCategory,
|
|
105
107
|
normalizeCell,
|
|
@@ -735,7 +737,8 @@ function gridRecords(ctx, childRecords) {
|
|
|
735
737
|
categoryLabel: category.label,
|
|
736
738
|
// Every stack figure is an expression over the measures: computed, so it reads without float residue.
|
|
737
739
|
value: { ...hidden ? numericValue(null, source.unit) : derivedValue(raw, source.unit), displayed: panel.displayed[i], ...hidden ? { state: "unavailable", reason: chartString8(ctx.request.options, "maturingHidden") } : {} },
|
|
738
|
-
|
|
740
|
+
// A category in the default state prints no state row: only a maturing or running period has something to say.
|
|
741
|
+
fields: panel.states[i] === "mature" ? [] : [{ key: "state", label: chartString8(ctx.request.options, "categoryState"), value: { kind: "text", state: "value", raw: panel.states[i] } }],
|
|
739
742
|
comparisons: [],
|
|
740
743
|
annotations: [],
|
|
741
744
|
claimIds: [],
|
|
@@ -961,7 +964,7 @@ function waterfallMembership(data, derived2) {
|
|
|
961
964
|
origin && (running = origin.anchors.get(connector.anchor ?? "sum") ?? origin.end, block = []);
|
|
962
965
|
let anchors = /* @__PURE__ */ new Map(), basis = derived2.totalBasis[item.id];
|
|
963
966
|
if (basis)
|
|
964
|
-
derived2.levels[item.id]?.balance !== void 0 ? (totals.set(item.id, block), block = []) : (running = basis.authored ? [{ categoryId: item.id }] : running, totals.set(item.id, running), item.type === "total" && (block = [])), anchors.set("__total", []);
|
|
967
|
+
derived2.levels[item.id]?.balance !== void 0 ? (totals.set(item.id, block), block = []) : (running = basis.authored ? [{ categoryId: item.id }] : running.length === 0 && item.segments?.length ? item.segments.map((segment) => ({ categoryId: item.id, segmentId: segment.id })) : running, totals.set(item.id, running), item.type === "total" && (block = [])), anchors.set("__total", []);
|
|
965
968
|
else if (item.toBaseline && (running = [], block = []), item.segments?.length)
|
|
966
969
|
for (let segment of item.segments)
|
|
967
970
|
running = [...running, { categoryId: item.id, segmentId: segment.id }], block = [...block, { categoryId: item.id, segmentId: segment.id }], anchors.set(segment.id, running);
|
|
@@ -974,6 +977,9 @@ function waterfallMembership(data, derived2) {
|
|
|
974
977
|
function segmentOrder(data) {
|
|
975
978
|
return [...new Set(data.items.flatMap((item) => item.segments?.map((segment) => segment.id) ?? []))];
|
|
976
979
|
}
|
|
980
|
+
function isLevel(type) {
|
|
981
|
+
return type === "total" || type === "subtotal";
|
|
982
|
+
}
|
|
977
983
|
function waterfall(ctx) {
|
|
978
984
|
let data = ctx.request.data, geo = geometry(ctx);
|
|
979
985
|
if (data.cases?.length) return waterfallCases(ctx, data, geo);
|
|
@@ -981,13 +987,14 @@ function waterfall(ctx) {
|
|
|
981
987
|
return geo.marks.bars.flatMap((bar) => {
|
|
982
988
|
let item = data.items.find((item2) => item2.id === bar.id), basis = geo.derived.totalBasis[bar.id];
|
|
983
989
|
return bar.segments.map((segment) => {
|
|
984
|
-
let source = item.segments?.find((source2) => source2.id === segment.id), total = geo.derived.totals[bar.id], members = membership.get(bar.id) ?? [], segmentedTotal = total !== void 0 && segment.id !== "__value" && segment.id !== "__total", operands = members.filter((member) => member.segmentId === segment.id), segmentTotal = operands.reduce((sum, member) => sum + segmentValue(member), 0), value = segmentedTotal ? operands.length ? derived(ctx, segmentTotal) : unavailable("Segment operands not retained") : total === void 0 ? cellRecordValue(normalizeCell(source?.value ?? item.value, "value"), ctx.request.options.unit, ctx.request.options.format) : derived(ctx, total);
|
|
990
|
+
let source = item.segments?.find((source2) => source2.id === segment.id), total = geo.derived.totals[bar.id], members = membership.get(bar.id) ?? [], segmentedTotal = total !== void 0 && !source && segment.id !== "__value" && segment.id !== "__total", operands = members.filter((member) => member.segmentId === segment.id), segmentTotal = operands.reduce((sum, member) => sum + segmentValue(member), 0), value = segmentedTotal ? operands.length ? derived(ctx, segmentTotal) : unavailable("Segment operands not retained") : total === void 0 || source ? cellRecordValue(normalizeCell(source?.value ?? item.value, "value"), ctx.request.options.unit, ctx.request.options.format) : derived(ctx, total);
|
|
985
991
|
return makeRecord(ctx, { categoryId: bar.id, ...source || segmentedTotal ? { segmentId: segment.id } : {} }, value, {
|
|
986
992
|
label: source?.label ?? item.label ?? item.id,
|
|
987
993
|
anchor: segment.rect,
|
|
988
994
|
scenario: source?.scenario ?? item.scenario,
|
|
989
|
-
...basis && !basis.authored ? { members: segmentedTotal ? operands : members } : {},
|
|
990
|
-
|
|
995
|
+
...basis && !basis.authored && !source ? { members: segmentedTotal ? operands : members } : {},
|
|
996
|
+
// A whole total or subtotal bar rises from zero to its value: a Start and End would repeat the value.
|
|
997
|
+
fields: isLevel(item.type) && !source && !segmentedTotal ? [] : segmentSpan(
|
|
991
998
|
ctx,
|
|
992
999
|
geo.derived.levels[bar.id]?.start,
|
|
993
1000
|
source ? item.segments.map((part) => ({ id: part.id, value: cellValue(normalizeCell(part.value, "value")) ?? 0 })) : segmentedTotal ? order.filter((id) => bar.segments.some((part) => part.id === id)).map((id) => ({ id, value: members.filter((member) => member.segmentId === id).reduce((sum, member) => sum + segmentValue(member), 0) })) : void 0,
|
|
@@ -1016,7 +1023,7 @@ function waterfallCases(ctx, data, geo) {
|
|
|
1016
1023
|
label: `${item.label ?? item.id}, ${c.label ?? c.id}`,
|
|
1017
1024
|
anchor: bar.rect,
|
|
1018
1025
|
scenario,
|
|
1019
|
-
fields: [
|
|
1026
|
+
fields: isLevel(item.type) ? [] : [
|
|
1020
1027
|
field("start", chartString10(ctx.request.options, "start"), derived(ctx, geo.derived.levels[key]?.start)),
|
|
1021
1028
|
field("end", chartString10(ctx.request.options, "end"), derived(ctx, geo.derived.levels[key]?.end))
|
|
1022
1029
|
]
|
|
@@ -1065,8 +1072,11 @@ function sparkline(ctx) {
|
|
|
1065
1072
|
return makeRecord(ctx, { categoryId: point.id }, value, {
|
|
1066
1073
|
label: point.label ?? point.id,
|
|
1067
1074
|
...point.label === void 0 ? {} : { categoryLabel: point.label },
|
|
1075
|
+
// The metric's name names each value on the hover card ("Orders: 18"). An
|
|
1076
|
+
// unlabelled point keeps its id as its row name in the data table.
|
|
1077
|
+
...data.label === void 0 ? {} : { seriesLabel: data.label, categoryLabel: point.label ?? point.id },
|
|
1068
1078
|
anchor: { x: point.x - SPARKLINE_RING_RADIUS, y: point.y - SPARKLINE_RING_RADIUS, w: 2 * SPARKLINE_RING_RADIUS, h: 2 * SPARKLINE_RING_RADIUS },
|
|
1069
|
-
fields: [field("position", chartString10(ctx.request.options, "position"), numericValue(point.index + 1))]
|
|
1079
|
+
fields: point.label === void 0 ? [field("position", chartString10(ctx.request.options, "position"), numericValue(point.index + 1))] : []
|
|
1070
1080
|
});
|
|
1071
1081
|
});
|
|
1072
1082
|
}
|
|
@@ -1457,12 +1467,30 @@ function categoryMarks(ctx) {
|
|
|
1457
1467
|
}
|
|
1458
1468
|
|
|
1459
1469
|
// src/core/a11y/categoryRecords.ts
|
|
1470
|
+
function stackParts(ctx, matrix) {
|
|
1471
|
+
return matrix.series.filter((series) => series.role !== "reference" && (ctx.request.type !== "combo" || !series.kind || series.kind === "column"));
|
|
1472
|
+
}
|
|
1473
|
+
function hundredStackOfCounts(ctx, matrix, categoryId) {
|
|
1474
|
+
let variant = drawnVariant(ctx.request.type, ctx.request.options);
|
|
1475
|
+
if (variant !== "stacked100" && variant !== "stacked100-area") return !1;
|
|
1476
|
+
let index = matrix.categoryIndex.get(categoryId);
|
|
1477
|
+
if (index === void 0) return !0;
|
|
1478
|
+
let parts = stackParts(ctx, matrix), sum = parts.reduce((total, series) => {
|
|
1479
|
+
let value = cellValue(series.cells[index]);
|
|
1480
|
+
return total === null || value === null ? null : total + value;
|
|
1481
|
+
}, 0);
|
|
1482
|
+
return !addsTo100([sum], parts.length);
|
|
1483
|
+
}
|
|
1484
|
+
function seriesUnit(ctx, matrix, series, categoryId) {
|
|
1485
|
+
let unit = series.unit ?? ctx.request.options.unit;
|
|
1486
|
+
return series.unit === void 0 && unit !== void 0 && statedInPercent("", unit) && hundredStackOfCounts(ctx, matrix, categoryId) ? void 0 : unit;
|
|
1487
|
+
}
|
|
1460
1488
|
function valueFor(ctx, matrix, series, categoryId) {
|
|
1461
|
-
let index = matrix.categoryIndex.get(categoryId) ?? -1;
|
|
1462
|
-
if (index >= 0) return cellRecordValue(series.cells[index],
|
|
1489
|
+
let index = matrix.categoryIndex.get(categoryId) ?? -1, unit = seriesUnit(ctx, matrix, series, categoryId);
|
|
1490
|
+
if (index >= 0) return cellRecordValue(series.cells[index], unit, series.format ?? ctx.request.options.format);
|
|
1463
1491
|
if (!(categoryId === "__others" || categoryId === "__rest" || ctx.request.type === "column" && !!ctx.request.options.topN && /^_*others$/.test(categoryId))) return unavailableValue("No source category for this mark");
|
|
1464
1492
|
let sum = matrix.restValues.get(series.id) ?? 0;
|
|
1465
|
-
return derivedValue(sum,
|
|
1493
|
+
return derivedValue(sum, unit, series.format ?? ctx.request.options.format);
|
|
1466
1494
|
}
|
|
1467
1495
|
function comparisons(ctx, matrix, source, sourceScenario, categoryId, value) {
|
|
1468
1496
|
if (sourceScenario && sourceScenario !== "AC") return [];
|
|
@@ -1490,8 +1518,8 @@ function shareFor(ctx, matrix, mark, value) {
|
|
|
1490
1518
|
if (!["stacked", "stacked100", "stacked100-area", "stacked-area"].includes(options.variant ?? "") && !options.valueAxis?.percent && ctx.request.type !== "combo" || value.state === "missing") return;
|
|
1491
1519
|
let source = matrix.seriesIndex.get(mark.seriesId);
|
|
1492
1520
|
if (source.role === "reference" || ctx.request.type === "combo" && source.kind !== void 0 && source.kind !== "column") return;
|
|
1493
|
-
let ci = matrix.categoryIndex.get(mark.categoryId) ?? -1, parts =
|
|
1494
|
-
if (["column", "bar", "combo"].includes(ctx.request.type) && !stackAdds(
|
|
1521
|
+
let ci = matrix.categoryIndex.get(mark.categoryId) ?? -1, parts = stackParts(ctx, matrix);
|
|
1522
|
+
if (["column", "bar", "combo"].includes(ctx.request.type) && !hundredStackOfCounts(ctx, matrix, mark.categoryId) && !stackAdds(
|
|
1495
1523
|
parts.map((series) => ({ label: series.label ?? series.id, unit: series.unit, pctCells: series.cells.some((cell) => cell !== null && isPctCell(cell)) })),
|
|
1496
1524
|
ctx.request.options.unit,
|
|
1497
1525
|
ctx.request.options.sharesOfOneWhole
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
INSIDE_MIN_H,
|
|
3
3
|
INSIDE_MIN_W
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V4XTBNZD.js";
|
|
5
5
|
import {
|
|
6
6
|
warnMissingValue
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZT5Q6BRT.js";
|
|
8
8
|
import {
|
|
9
9
|
annotateEngine,
|
|
10
10
|
runAnnotatePass
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-U2YWY6FH.js";
|
|
12
12
|
import {
|
|
13
13
|
chartPalette,
|
|
14
14
|
chartTheme
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YRWJBS6C.js";
|
|
16
16
|
import {
|
|
17
17
|
labelOn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FKRL2ZB2.js";
|
|
19
19
|
import {
|
|
20
20
|
structureCount
|
|
21
21
|
} from "./chunk-YDYZWCUQ.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
sideKeyGivesWay,
|
|
34
34
|
sideKeyOff,
|
|
35
35
|
warnSpreadOverflow
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FY3VV7TF.js";
|
|
37
37
|
import {
|
|
38
38
|
prepareFractionData
|
|
39
39
|
} from "./chunk-QXHFELIA.js";
|
|
@@ -56,10 +56,10 @@ import {
|
|
|
56
56
|
solveFrame,
|
|
57
57
|
solveLabels,
|
|
58
58
|
withUnprintedClaims
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
60
60
|
import {
|
|
61
61
|
disclosureNote
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-B76O5YXI.js";
|
|
63
63
|
import {
|
|
64
64
|
emptyIdRecord
|
|
65
65
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
solidMutedPlan,
|
|
100
100
|
strokeToken,
|
|
101
101
|
withSegmentSeams
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-BKUTKQMT.js";
|
|
103
103
|
import {
|
|
104
104
|
NormalizeError,
|
|
105
105
|
accessibleTitle,
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
chartString
|
|
3
|
-
} from "./chunk-MF6XGFHB.js";
|
|
4
1
|
import {
|
|
5
2
|
eventReading
|
|
6
3
|
} from "./chunk-VGOZOBNB.js";
|
|
@@ -14,11 +11,10 @@ import {
|
|
|
14
11
|
import {
|
|
15
12
|
SHARES_OF_ONE_WHOLE_FIX,
|
|
16
13
|
valuelessFix
|
|
17
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KZKWDFIS.js";
|
|
18
15
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./chunk-CDZHNLO6.js";
|
|
16
|
+
chartString
|
|
17
|
+
} from "./chunk-FNDDKZ4Z.js";
|
|
22
18
|
import {
|
|
23
19
|
BRACKET_TICK,
|
|
24
20
|
indicator100LabelRect,
|
|
@@ -26,6 +22,14 @@ import {
|
|
|
26
22
|
namedLineText,
|
|
27
23
|
pruneOrphanAnnotationArms
|
|
28
24
|
} from "./chunk-R4MVXUAG.js";
|
|
25
|
+
import {
|
|
26
|
+
TOLERANCE_FILL,
|
|
27
|
+
bandBoundText,
|
|
28
|
+
finitePair,
|
|
29
|
+
isCategoryAlongY,
|
|
30
|
+
toleranceBounds,
|
|
31
|
+
valueLineHasTargetExtras
|
|
32
|
+
} from "./chunk-OLAPTOUH.js";
|
|
29
33
|
import {
|
|
30
34
|
parseTimeText
|
|
31
35
|
} from "./chunk-GDOW2KNP.js";
|
|
@@ -47,11 +51,11 @@ import {
|
|
|
47
51
|
leadersOffAnchorValues,
|
|
48
52
|
solveLabels,
|
|
49
53
|
valueEdgeToward
|
|
50
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
51
55
|
import {
|
|
52
56
|
recordPartNeed,
|
|
53
57
|
wrapFootnote
|
|
54
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-B76O5YXI.js";
|
|
55
59
|
import {
|
|
56
60
|
annotationRef,
|
|
57
61
|
defaultAnnotationId
|
|
@@ -96,7 +100,7 @@ import {
|
|
|
96
100
|
strokeToken,
|
|
97
101
|
typeWidthClass,
|
|
98
102
|
unionRect
|
|
99
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-BKUTKQMT.js";
|
|
100
104
|
import {
|
|
101
105
|
publishDeferred
|
|
102
106
|
} from "./chunk-BQBD6Q5J.js";
|
|
@@ -689,9 +693,6 @@ function valueBandRect(span, low, high, mapper, plot) {
|
|
|
689
693
|
function valueLineStroke(plot, valuePx, axis) {
|
|
690
694
|
return axis === "x" ? { x1: valuePx, y1: plot.y, x2: valuePx, y2: plot.y + plot.h } : { x1: plot.x, y1: valuePx, x2: plot.x + plot.w, y2: valuePx };
|
|
691
695
|
}
|
|
692
|
-
function finitePair(low, high) {
|
|
693
|
-
return typeof low != "number" || typeof high != "number" || !Number.isFinite(low) || !Number.isFinite(high) || low === high ? null : { low, high };
|
|
694
|
-
}
|
|
695
696
|
function pushWarn(warnings, id, code, message) {
|
|
696
697
|
warnings.push({ code, severity: "warn", message, owner: { annotationId: id } });
|
|
697
698
|
}
|
|
@@ -781,7 +782,7 @@ function corridorLabel(ctx, ann, rect, nodeIds) {
|
|
|
781
782
|
ctx.placed.push({ id: ctx.id, kind: "band", computedText: text, nodeIds, labelId });
|
|
782
783
|
}
|
|
783
784
|
function boundText(ctx, v) {
|
|
784
|
-
return
|
|
785
|
+
return bandBoundText(ctx.input, v);
|
|
785
786
|
}
|
|
786
787
|
function boundLabels(ctx, rect, bounds, mapper, priority) {
|
|
787
788
|
let font = { family: ctx.input.theme.type.family, ...ctx.input.theme.type.axis };
|
|
@@ -1061,61 +1062,59 @@ function placeTargetBand(ctx, ann) {
|
|
|
1061
1062
|
let style = ann.style;
|
|
1062
1063
|
return style !== "corridor" && style !== "tolerance" && style !== "attainment" ? !1 : (refuseUnsupportedBand(ctx, ann, style) || (style === "attainment" ? placeAttainmentBand(ctx, ann) : placeCorridorOrTolerance(ctx, ann, style)), !0);
|
|
1063
1064
|
}
|
|
1064
|
-
function toleranceBounds(value, tolerance) {
|
|
1065
|
-
if (typeof tolerance == "number")
|
|
1066
|
-
return !Number.isFinite(tolerance) || tolerance <= 0 ? "tolerance must be a positive finite number" : { low: value - tolerance, high: value + tolerance };
|
|
1067
|
-
let pair = finitePair(tolerance.low, tolerance.high);
|
|
1068
|
-
return pair || "tolerance bounds need finite, unequal 'low' and 'high'";
|
|
1069
|
-
}
|
|
1070
1065
|
function placeValueLineTargets(ctx, ann, value) {
|
|
1071
1066
|
let mapper = valueMapper(ctx.input);
|
|
1072
|
-
if (
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1067
|
+
if (mapper) {
|
|
1068
|
+
if (ann.tolerance !== void 0) {
|
|
1069
|
+
let bounds = toleranceBounds(value, ann.tolerance);
|
|
1070
|
+
if (typeof bounds == "string")
|
|
1071
|
+
pushWarn(ctx.warnings, ctx.id, "valueline-tolerance-invalid", `valueLine '${ctx.id}': ${bounds}`);
|
|
1072
|
+
else {
|
|
1073
|
+
let plot = ctx.input.bandPlot ?? ctx.input.plot, span = resolveSpan(ctx, ann.from, ann.to), rect = span ? valueBandRect(span, bounds.low, bounds.high, mapper, plot) : null;
|
|
1074
|
+
if (rect) {
|
|
1075
|
+
let bandId = ctx.nid("tolerance");
|
|
1076
|
+
ctx.nodes.push({
|
|
1077
|
+
t: "rect",
|
|
1078
|
+
id: bandId,
|
|
1079
|
+
rect,
|
|
1080
|
+
fill: TOLERANCE_FILL,
|
|
1081
|
+
owner: { annotationId: ctx.id },
|
|
1082
|
+
part: "band"
|
|
1083
|
+
});
|
|
1084
|
+
let placed = ctx.placed.find((item) => item.id === ctx.id), low = boundText(ctx, bounds.low), high = boundText(ctx, bounds.high);
|
|
1085
|
+
if (placed && (placed.nodeIds = [bandId, ...placed.nodeIds], placed.toleranceText = { low, high }), ctx.input.toleranceKeyed?.has(ctx.id)) return placeValueLineAttainment(ctx, ann, value);
|
|
1086
|
+
let text = chartString({ locale: ctx.input.locale, strings: ctx.input.strings }, "valueLineRange", { v1: low, v2: high }), font = { family: ctx.input.theme.type.family, ...ctx.input.theme.type.axis }, size = ctx.input.measure(text, font), at = (x, y) => ({ x, y, w: size.width, h: size.height }), right = rect.x + rect.w - 4 - size.width;
|
|
1087
|
+
ctx.labelRequests.push({
|
|
1088
|
+
id: `annotation:${ctx.id}:tolerance`,
|
|
1089
|
+
kind: "annotation",
|
|
1090
|
+
owner: { annotationId: ctx.id },
|
|
1091
|
+
text,
|
|
1092
|
+
lines: [text],
|
|
1093
|
+
typeRole: "footnote",
|
|
1094
|
+
font,
|
|
1095
|
+
priority: ann.priority ?? PRIORITY.valueLine,
|
|
1096
|
+
role: "note",
|
|
1097
|
+
candidates: mapper.axis === "y" ? [
|
|
1098
|
+
{ slot: "insideTopRight", rect: at(right, rect.y + 3), penalty: 0 },
|
|
1099
|
+
{ slot: "insideBottomRight", rect: at(right, rect.y + rect.h - 3 - size.height), penalty: 1 },
|
|
1100
|
+
{ slot: "insideTopLeft", rect: at(rect.x + 4, rect.y + 3), penalty: 2 }
|
|
1101
|
+
] : [
|
|
1102
|
+
{ slot: "above", rect: at(rect.x + (rect.w - size.width) / 2, rect.y - size.height - 4), penalty: 0 },
|
|
1103
|
+
{ slot: "insideTop", rect: at(rect.x + (rect.w - size.width) / 2, rect.y + 4), penalty: 1 }
|
|
1104
|
+
]
|
|
1105
|
+
});
|
|
1106
|
+
} else span && pushWarn(
|
|
1107
|
+
ctx.warnings,
|
|
1108
|
+
ctx.id,
|
|
1109
|
+
"band-bounds-offscale",
|
|
1110
|
+
`valueLine '${ctx.id}': tolerance band ${bounds.low} to ${bounds.high} lies outside the value axis`
|
|
1111
|
+
);
|
|
1112
|
+
}
|
|
1117
1113
|
}
|
|
1114
|
+
placeValueLineAttainment(ctx, ann, value);
|
|
1118
1115
|
}
|
|
1116
|
+
}
|
|
1117
|
+
function placeValueLineAttainment(ctx, ann, value) {
|
|
1119
1118
|
if (ann.attainment === void 0 || ann.attainment === !1) return;
|
|
1120
1119
|
let spec = ann.attainment === !0 ? {} : ann.attainment, fakeBand = {
|
|
1121
1120
|
kind: "band",
|
|
@@ -2053,7 +2052,8 @@ function valueLineMean(s, ann) {
|
|
|
2053
2052
|
warn(
|
|
2054
2053
|
s,
|
|
2055
2054
|
"valueline-scope-authored-value",
|
|
2056
|
-
`valueLine '${id}': from/to
|
|
2055
|
+
`valueLine '${id}': from/to cannot limit a line at an authored value (${String(ann.value)}) to some categories, so the line is not drawn`,
|
|
2056
|
+
`remove from/to to draw the line for every category, or mark a target for single categories with a reference series (role 'reference', where the chart type takes one)${input.meanValueFor ? "; remove the value to draw the mean of the span" : ""}; from/to stay valid as the clip of a tolerance or attainment`
|
|
2057
2057
|
);
|
|
2058
2058
|
return;
|
|
2059
2059
|
}
|
|
@@ -2248,7 +2248,9 @@ function placeValueLine(s, ann) {
|
|
|
2248
2248
|
] : [{ ref: `${id}.value`, value: v, state: "authored" }],
|
|
2249
2249
|
raw: v
|
|
2250
2250
|
}
|
|
2251
|
-
})
|
|
2251
|
+
});
|
|
2252
|
+
let targets = input.valueLineCategories && !input.resolveCategoryBand ? { ...s, input: { ...input, ...input.valueLineCategories } } : s;
|
|
2253
|
+
placeValueLineTargets(targets, ann, v);
|
|
2252
2254
|
}
|
|
2253
2255
|
function placeIndicator100(s, ann) {
|
|
2254
2256
|
let { input, id } = s;
|
|
@@ -2521,11 +2523,7 @@ function calloutLabel(s, ann, anchor, text, kind, tone, computed = text, derivat
|
|
|
2521
2523
|
}
|
|
2522
2524
|
all.push(...wrappedSeats.sort((a, b) => a.penalty - b.penalty));
|
|
2523
2525
|
}
|
|
2524
|
-
if (reach !== void 0) {
|
|
2525
|
-
let limit = Math.max(reach, gap * 3);
|
|
2526
|
-
all = all.filter(({ rect }) => Math.max(rect.y - at.y, at.y - rect.y - rect.h, 0) <= limit);
|
|
2527
|
-
}
|
|
2528
|
-
if (at.markBox) {
|
|
2526
|
+
if (reach !== void 0 && (all = all.filter(({ rect }) => Math.abs(rect.y + rect.h / 2 - at.y) <= reach / 2)), at.markBox) {
|
|
2529
2527
|
let { y: plotTop, h: plotH } = input.plot;
|
|
2530
2528
|
all = all.filter(({ rect }) => rect.y >= plotTop && rect.y + rect.h <= plotTop + plotH);
|
|
2531
2529
|
}
|
|
@@ -2819,9 +2817,15 @@ function findFreeSpot(occupied, plot, at, w, h) {
|
|
|
2819
2817
|
candidates.push({ x: gx, y: gy, d2: (cx - at.x) ** 2 + (cy - at.y) ** 2 });
|
|
2820
2818
|
}
|
|
2821
2819
|
candidates.sort((a, b) => a.d2 - b.d2 || a.x - b.x || a.y - b.y);
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2820
|
+
let nearest = null;
|
|
2821
|
+
for (let c of candidates.slice(0, 400)) {
|
|
2822
|
+
let rect = { x: c.x, y: c.y, w, h };
|
|
2823
|
+
if (!occupied.hits(rect, 3)) {
|
|
2824
|
+
if (!occupied.hitsWhich(rect, LINE_LABEL_AIR).some((claim) => claim.kind === "label")) return { x: c.x, y: c.y };
|
|
2825
|
+
nearest ??= { x: c.x, y: c.y };
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2828
|
+
return nearest;
|
|
2825
2829
|
}
|
|
2826
2830
|
function formatYears(years) {
|
|
2827
2831
|
return Number.isInteger(years) ? `${years} year${years === 1 ? "" : "s"}` : `${years >= 0.01 ? years.toFixed(2) : years.toPrecision(2)} years`;
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
contentSized,
|
|
3
3
|
furnitureShare,
|
|
4
4
|
plotFloorShare
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FY3VV7TF.js";
|
|
6
6
|
import {
|
|
7
7
|
HEIGHT_FLOOR_CLASSES,
|
|
8
8
|
aspectClassFor,
|
|
9
9
|
furnitureBudget,
|
|
10
10
|
furnitureScoped,
|
|
11
11
|
onLadderStep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
13
13
|
import {
|
|
14
14
|
classStepWidth,
|
|
15
15
|
resolveTheme,
|
|
16
16
|
spaceTokens
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BKUTKQMT.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveCanvasOptions
|
|
20
20
|
} from "./chunk-RJICOOB3.js";
|