boardplot 0.58.1 → 0.59.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 +67 -0
- package/dist/{ReaderBox-WVOT7VVJ.js → ReaderBox-4PNFZO56.js} +4 -4
- package/dist/{annotateEngine-57L26X77.js → annotateEngine-DL4KRQ6B.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-54YO56IK.js → chunk-25JXYOSX.js} +1 -1
- package/dist/{chunk-HF4BCPIV.js → chunk-266ENWFM.js} +3 -3
- package/dist/{chunk-FRR7BJ3B.js → chunk-2E2MK4XM.js} +2 -2
- package/dist/{chunk-2DS4MT7T.js → chunk-2GVW5WDD.js} +3 -3
- package/dist/{chunk-4ROZ4TFL.js → chunk-2HRDOBPS.js} +1 -1
- package/dist/chunk-2Q7IAWON.js +18 -0
- package/dist/{chunk-PVGJM2HP.js → chunk-33SPSKTP.js} +4 -4
- package/dist/{chunk-Z6DUNKFU.js → chunk-3JG764MI.js} +688 -140
- package/dist/{chunk-OZLKEBCD.js → chunk-3V7Y7CHI.js} +1 -1
- package/dist/{chunk-3BMPYY26.js → chunk-3WC2TA6C.js} +4 -4
- package/dist/{chunk-T7PRG6AO.js → chunk-3WFJDXZO.js} +3 -3
- package/dist/{chunk-5KAYLRRP.js → chunk-3ZR7ZE64.js} +2 -2
- package/dist/{chunk-WW4KLAVO.js → chunk-4DLIXTDH.js} +5 -5
- package/dist/{chunk-OQUH7I5T.js → chunk-4EEK4AMC.js} +2 -2
- package/dist/{chunk-RLH2CQCD.js → chunk-4LCQO46F.js} +144 -55
- package/dist/{chunk-SHYS52VO.js → chunk-4NIIQFDA.js} +147 -104
- package/dist/{chunk-ED7GLWTF.js → chunk-4PKUS5MG.js} +2 -1
- package/dist/{chunk-645BGVPP.js → chunk-4WH2YGO6.js} +3 -3
- package/dist/{chunk-MXUPMGRY.js → chunk-4YKS2JDE.js} +3 -3
- package/dist/{chunk-LYAT62UT.js → chunk-4YZQY3AA.js} +1 -1
- package/dist/{chunk-VJULLJLN.js → chunk-56CDMSE5.js} +2 -2
- package/dist/{chunk-SBKM6XFS.js → chunk-5AXWSGS7.js} +3 -3
- package/dist/{chunk-XZXZNI7A.js → chunk-5HOIOQK3.js} +1 -1
- package/dist/{chunk-ERDKMZ7O.js → chunk-5OV7VOGV.js} +2 -2
- package/dist/{chunk-AICO24HJ.js → chunk-5QMM354E.js} +6 -5
- package/dist/{chunk-USMKNNOU.js → chunk-5UXK5BAA.js} +37 -38
- package/dist/{chunk-ZB3JIL3L.js → chunk-5YULK4DY.js} +6 -10
- package/dist/{chunk-63JUV7NR.js → chunk-5ZE7SHRM.js} +3 -3
- package/dist/{chunk-SCAYWQZK.js → chunk-67744WKZ.js} +1 -1
- package/dist/{chunk-IFUAPFL5.js → chunk-6CZGFTGK.js} +51 -47
- package/dist/{chunk-7YZZCQT3.js → chunk-6IIYLDSQ.js} +3 -3
- package/dist/{chunk-JBAVMO56.js → chunk-6TH5NVKS.js} +19 -14
- package/dist/{chunk-I5VNHDPR.js → chunk-6TZDPQDE.js} +2 -2
- package/dist/{chunk-TMEUK2WS.js → chunk-77L6QGIG.js} +1 -1
- package/dist/{chunk-OS7C2KMQ.js → chunk-7IONS4Z7.js} +3 -3
- package/dist/{chunk-ETUKDEGL.js → chunk-7QUWM5W6.js} +6 -6
- package/dist/{chunk-KI7VCHNZ.js → chunk-7SIZGM5S.js} +78 -53
- package/dist/{chunk-G7BCLYL4.js → chunk-7TZIPGFH.js} +8 -6
- package/dist/{chunk-76GPN6AT.js → chunk-7UUSHA7H.js} +1 -1
- package/dist/{chunk-OZA7HA6L.js → chunk-7UZUXPFM.js} +1 -1
- package/dist/{chunk-4DK67I3B.js → chunk-7YJSSPQX.js} +31 -28
- package/dist/{chunk-TBZT5WUT.js → chunk-7ZXIHEZS.js} +4 -4
- package/dist/{chunk-IMUMPKXF.js → chunk-A3SOYL6F.js} +3 -3
- package/dist/{chunk-P3NMDPDP.js → chunk-ADLKZEML.js} +31 -64
- package/dist/{chunk-SKPOXLG5.js → chunk-AFQZBCME.js} +4 -4
- package/dist/{chunk-TVOMGNFQ.js → chunk-AGR4VJ2Y.js} +1 -1
- package/dist/{chunk-2HII2B6S.js → chunk-AH2L44TR.js} +3 -3
- package/dist/{chunk-WFBN2HXR.js → chunk-AIPOSNVG.js} +1 -1
- package/dist/{chunk-4OJF6DXL.js → chunk-AUSZDYGE.js} +9 -7
- package/dist/{chunk-2SWSUNA4.js → chunk-AVYRC2T3.js} +50 -28
- package/dist/{chunk-NSMYIUBZ.js → chunk-B5FT4YAX.js} +1 -1
- package/dist/{chunk-H3VICNTN.js → chunk-B7UWG6XJ.js} +1 -1
- package/dist/{chunk-X3QUASBR.js → chunk-BJJYNTVJ.js} +1 -1
- package/dist/{chunk-WKXLJNHW.js → chunk-BOUZKVIY.js} +17 -19
- package/dist/{chunk-WUP6C4ZD.js → chunk-BXZNLMMH.js} +1 -1
- package/dist/{chunk-OMNB27GM.js → chunk-C26Z5AEW.js} +3 -3
- package/dist/{chunk-VC62V7CX.js → chunk-CV5KCQD3.js} +72 -79
- package/dist/{chunk-RPGEB3Z5.js → chunk-CX7WUNMO.js} +22 -18
- package/dist/{chunk-YJUBX3QF.js → chunk-DANKUHCX.js} +41 -40
- package/dist/{chunk-IDXYHDQY.js → chunk-DBKMJWPO.js} +1 -1
- package/dist/{chunk-6ALORYH7.js → chunk-DEJ27Y2P.js} +138 -91
- package/dist/{chunk-HTQGJQZN.js → chunk-DITI57ZB.js} +1 -1
- package/dist/{chunk-IXU5C3YY.js → chunk-DO7MMF4C.js} +86 -43
- package/dist/{chunk-I52OMC5B.js → chunk-DUDVHQD6.js} +7 -7
- package/dist/{chunk-4TUU3UGY.js → chunk-DXLWMK24.js} +3 -3
- package/dist/{chunk-MALSSEXO.js → chunk-DYD7W3Y6.js} +20 -21
- package/dist/{chunk-P5RCP4NK.js → chunk-DZBT7AWJ.js} +2 -2
- package/dist/{chunk-YLRAAJYV.js → chunk-E4KHHC46.js} +16 -16
- package/dist/{chunk-KUWIRCYJ.js → chunk-E62SXDRT.js} +2 -2
- package/dist/{chunk-WOICFLOJ.js → chunk-EADD6NNQ.js} +73 -79
- package/dist/{chunk-CMPHT2LS.js → chunk-EH23CIC5.js} +4 -4
- package/dist/{chunk-HM4AJ5U4.js → chunk-EJA5EANI.js} +47 -26
- package/dist/{chunk-NFGV5OAR.js → chunk-EWGFOEJB.js} +126 -65
- package/dist/{chunk-Y6E4JU3U.js → chunk-EWMPUCIG.js} +37 -37
- package/dist/{chunk-GB3RZYTK.js → chunk-EZ5KUBYF.js} +38 -27
- package/dist/{chunk-M5LPP2GQ.js → chunk-F2N5BUBK.js} +12 -13
- package/dist/{chunk-VJ7VBB6S.js → chunk-F7QCIJAY.js} +1 -1
- package/dist/{chunk-C4SQU2PB.js → chunk-FB36HSY2.js} +4 -4
- package/dist/{chunk-F3XOBFS4.js → chunk-FBIMTKYK.js} +3 -10
- package/dist/{chunk-XSC4IXXC.js → chunk-FMVXXKSW.js} +3 -3
- package/dist/{chunk-3ESWPMDW.js → chunk-FP3ORYCG.js} +22 -21
- package/dist/{chunk-P6DEFCMQ.js → chunk-FWPPZB4G.js} +2 -2
- package/dist/{chunk-MSYTF3DZ.js → chunk-FYFXOLWI.js} +116 -89
- package/dist/{chunk-SH4UGK5U.js → chunk-GDE2JINW.js} +11 -11
- package/dist/{chunk-WDJSDJLV.js → chunk-GEEHXLFQ.js} +7 -6
- package/dist/{chunk-EDW5HQND.js → chunk-GGFT6IIM.js} +3 -3
- package/dist/{chunk-UBYDY4B7.js → chunk-GIJM4MP4.js} +5 -5
- package/dist/{chunk-UY34DDUM.js → chunk-GNK7RTO4.js} +3 -3
- package/dist/{chunk-CFESVCZR.js → chunk-GSHRYDJM.js} +1 -1
- package/dist/{chunk-3M2F7KSS.js → chunk-GWDKUKOJ.js} +96 -321
- package/dist/{chunk-XMX4PCFL.js → chunk-GZYMHC44.js} +2 -2
- package/dist/{chunk-OUR5ZHCB.js → chunk-HBKZC5BH.js} +2 -2
- package/dist/{chunk-23FT7RLN.js → chunk-HC4UW7MB.js} +4 -4
- package/dist/{chunk-AMBQ6SWU.js → chunk-HFDU2E7C.js} +27 -21
- package/dist/{chunk-ZG4BMJRL.js → chunk-HW67YGJC.js} +1 -1
- package/dist/{chunk-FJNZ7NWD.js → chunk-I65BCUVH.js} +3 -3
- package/dist/{chunk-VTY6YHQZ.js → chunk-ICERP2YF.js} +3 -3
- package/dist/{chunk-G7CXJPEN.js → chunk-ICJUN47O.js} +2 -2
- package/dist/{chunk-H4EDDGGX.js → chunk-ID5PE4KM.js} +3 -3
- package/dist/{chunk-BQ7SN7AW.js → chunk-IDJVUZAA.js} +3 -3
- package/dist/{chunk-O3LT4TAI.js → chunk-IQRRT32Q.js} +2 -2
- package/dist/{chunk-WGJIYFVQ.js → chunk-ISMFUWOP.js} +3 -3
- package/dist/{chunk-6AVUTZ6W.js → chunk-IX2SLULO.js} +3 -3
- package/dist/{chunk-Q2I3QLE3.js → chunk-IXZI4SN4.js} +116 -46
- package/dist/chunk-J6LGZPKI.js +89 -0
- package/dist/{chunk-CCAAI56H.js → chunk-JF743NNC.js} +7 -0
- package/dist/{chunk-YGWPOYDE.js → chunk-JIB74SQS.js} +6 -6
- package/dist/{chunk-ZIVCPXXL.js → chunk-JOX252XQ.js} +5 -5
- package/dist/{chunk-V7JFT7NQ.js → chunk-JRM22ULA.js} +54 -45
- package/dist/{chunk-XSEETONJ.js → chunk-JYSS5ZZF.js} +5 -5
- package/dist/{chunk-WLH5IBFY.js → chunk-KRIYGX3N.js} +3 -3
- package/dist/{chunk-XRRG4MBM.js → chunk-KWMQNKGX.js} +2 -2
- package/dist/{chunk-6YBNVI5I.js → chunk-LADFOYH7.js} +40 -27
- package/dist/{chunk-VKNQOSGW.js → chunk-LC4KDLUE.js} +3 -3
- package/dist/{chunk-ITEJQHXE.js → chunk-LLECS747.js} +4 -4
- package/dist/{chunk-JYSFAH7C.js → chunk-LM4GVVPM.js} +16 -10
- package/dist/{chunk-EHRRHSPV.js → chunk-LPLRXEOT.js} +55 -19
- package/dist/{chunk-ZBCCJPGW.js → chunk-M2FF4IPF.js} +16 -7
- package/dist/{chunk-4JGBCBDZ.js → chunk-MF6XGFHB.js} +1 -1
- package/dist/{chunk-BHLNSJG7.js → chunk-MOBRWYUQ.js} +2 -2
- package/dist/{chunk-CDUR3KWV.js → chunk-MOPY5REE.js} +2 -2
- package/dist/{chunk-MGXHFRQK.js → chunk-MTOBNHAU.js} +2 -2
- package/dist/{chunk-DORE2RHL.js → chunk-MYBBZNYN.js} +2 -2
- package/dist/{chunk-V7NUJEJE.js → chunk-MZCJ22O4.js} +1 -1
- package/dist/{chunk-W2QILXAL.js → chunk-NIL6TYAN.js} +4 -4
- package/dist/{chunk-YW35KSXR.js → chunk-NPDF7HEH.js} +2 -2
- package/dist/{chunk-SH4FLUAD.js → chunk-NUASZPS7.js} +1 -1
- package/dist/{chunk-Z62TJQO5.js → chunk-NWUEA42V.js} +3 -3
- package/dist/{chunk-UOOXWGBU.js → chunk-NZGQLR4X.js} +8 -8
- package/dist/{chunk-RQKDEJFQ.js → chunk-O32L5FK2.js} +3 -3
- package/dist/{chunk-OUNYHYJL.js → chunk-O623CYPA.js} +3 -3
- package/dist/{chunk-OELB7MTE.js → chunk-OJR5GPCN.js} +3 -3
- package/dist/{chunk-C47POAC5.js → chunk-OL6HVC6K.js} +1 -1
- package/dist/{chunk-6NGKQNTB.js → chunk-OM5MAJST.js} +68 -57
- package/dist/{chunk-AAQWFTDM.js → chunk-OTOASFG4.js} +92 -35
- package/dist/{chunk-6JTCFPAD.js → chunk-P3N74SZ5.js} +3 -3
- package/dist/{chunk-CKEFAD4R.js → chunk-PHQGGR5O.js} +3 -3
- package/dist/{chunk-DUOGEFLG.js → chunk-POHML4N4.js} +107 -50
- package/dist/{chunk-KVBLTAO7.js → chunk-PP23D6QV.js} +4 -5
- package/dist/{chunk-F2ET5ZTT.js → chunk-PPOUKS24.js} +0 -1
- package/dist/{chunk-V7FV66KL.js → chunk-PRVX4PAO.js} +1 -1
- package/dist/{chunk-JY4LTPOV.js → chunk-PSUSHJFV.js} +1 -1
- package/dist/{chunk-AJGSCVVW.js → chunk-PZZAVTLQ.js} +2 -2
- package/dist/{chunk-R5SGE2NS.js → chunk-QDFX2KAP.js} +2 -2
- package/dist/{chunk-XC32OSCD.js → chunk-QKDDGDRF.js} +10 -10
- package/dist/{chunk-U6QZOMYC.js → chunk-QM6IW5BL.js} +3 -3
- package/dist/chunk-QMQZC2KW.js +408 -0
- package/dist/{chunk-42QKUSHJ.js → chunk-QXHFELIA.js} +1 -1
- package/dist/{chunk-JNDWRV34.js → chunk-R2RLERPT.js} +1 -1
- package/dist/{chunk-E5YF236N.js → chunk-R4MVXUAG.js} +1 -1
- package/dist/{chunk-XZOFKLTD.js → chunk-REIIGIJG.js} +3 -3
- package/dist/{chunk-4M3UADCM.js → chunk-RF2REMRV.js} +6 -6
- package/dist/{chunk-3MFVJMP6.js → chunk-RF6ZHX5F.js} +1 -1
- package/dist/{chunk-TKH655ON.js → chunk-RLX6VODQ.js} +9 -2
- package/dist/{chunk-KWIP5YRA.js → chunk-RPS7G77V.js} +3 -3
- package/dist/{chunk-MVR7YKBF.js → chunk-RSDGBNXP.js} +5 -5
- package/dist/{chunk-QFNWGSCT.js → chunk-RYYB7REV.js} +3 -3
- package/dist/{chunk-LPMSGO7L.js → chunk-SBYKLBDV.js} +3 -3
- package/dist/{chunk-JT3UTEWZ.js → chunk-SDAVHADX.js} +2 -2
- package/dist/{chunk-AQ2PQ7FK.js → chunk-SE6LBMRJ.js} +137 -62
- package/dist/{chunk-3OSQ32GN.js → chunk-SFRMBCVY.js} +3 -3
- package/dist/{chunk-AGJ2QL4A.js → chunk-SNJ3FZXC.js} +14 -12
- package/dist/{chunk-USSG6TJV.js → chunk-SXCFMPNM.js} +3 -3
- package/dist/{chunk-SGDWLXUC.js → chunk-SY7JC3PH.js} +1 -1
- package/dist/{chunk-QATOOZMH.js → chunk-T4CFY4YT.js} +4 -4
- package/dist/{chunk-5SVGTQTW.js → chunk-TASEX7VA.js} +1 -1
- package/dist/{chunk-BVIJCUWW.js → chunk-TCWJQIVQ.js} +123 -71
- package/dist/{chunk-VACZGW5R.js → chunk-TEZWFQB7.js} +7 -7
- package/dist/{chunk-GHCU6OSE.js → chunk-TLKRYDH3.js} +2 -2
- package/dist/{chunk-MB5EX2YG.js → chunk-TMVERETB.js} +23 -332
- package/dist/{chunk-LOXZSTIM.js → chunk-TQFBLSZJ.js} +44 -27
- package/dist/{chunk-NT3HCXQC.js → chunk-U4WG46QP.js} +117 -43
- package/dist/{chunk-LJDATBPB.js → chunk-U75MMLNQ.js} +3 -6
- package/dist/{chunk-R3VSWOTI.js → chunk-UFGJNSSL.js} +1 -1
- package/dist/{chunk-FB6X7QHA.js → chunk-UGHJHJKY.js} +1 -1
- package/dist/{chunk-LXH4RPY4.js → chunk-UI2MKLON.js} +1 -1
- package/dist/{chunk-3E6NLODZ.js → chunk-UKEI7JDA.js} +1 -1
- package/dist/{chunk-6JFQCVNN.js → chunk-USATDW6O.js} +1 -1
- package/dist/{chunk-CQBPNE7Z.js → chunk-UTWLJ6AZ.js} +6 -5
- package/dist/{chunk-NQPJWQTW.js → chunk-UV77Y7QK.js} +11 -5
- package/dist/{chunk-PMT75APP.js → chunk-UXJXA4NP.js} +1 -1
- package/dist/{chunk-3RXUA6VY.js → chunk-UZDQFUHO.js} +3 -3
- package/dist/{chunk-AKZOQGF3.js → chunk-V3XYFLOZ.js} +3 -3
- package/dist/{chunk-OQQMDSCC.js → chunk-VGOZOBNB.js} +1 -1
- package/dist/{chunk-K7XPTQBJ.js → chunk-VHZ4MXJO.js} +1 -1
- package/dist/{chunk-EBWMTQ4U.js → chunk-VLMKGQ33.js} +13 -13
- package/dist/{chunk-34PKJZRY.js → chunk-VMLVZW4F.js} +39 -36
- package/dist/{chunk-65U6ZBZZ.js → chunk-VT6PDWUA.js} +78 -78
- package/dist/{chunk-GQYT7G4F.js → chunk-VTUSC24F.js} +2 -2
- package/dist/{chunk-33EBLJVZ.js → chunk-VVWTD4XP.js} +9 -9
- package/dist/{chunk-5CYLT6FJ.js → chunk-VZVPN7NT.js} +3 -3
- package/dist/{chunk-Z3WQXVFV.js → chunk-W4ZLMK6Z.js} +1 -1
- package/dist/{chunk-35ZJUZUO.js → chunk-W6NEWQZU.js} +20 -18
- package/dist/{chunk-DZYTXZNS.js → chunk-WD5NJHZG.js} +2 -2
- package/dist/{chunk-P7UOOMXE.js → chunk-WTH3KQDM.js} +2 -2
- package/dist/{chunk-CSMVKG2C.js → chunk-WTWM4RK6.js} +1 -1
- package/dist/{chunk-W6XSIBLR.js → chunk-WZNO3LUF.js} +3 -3
- package/dist/{chunk-QQMESIDA.js → chunk-X3AMBFGF.js} +3 -3
- package/dist/{chunk-DHGE46UK.js → chunk-X725AGYP.js} +1 -1
- package/dist/{chunk-TX5FSNAU.js → chunk-XAH4EWJT.js} +1 -1
- package/dist/{chunk-4DMRIL5K.js → chunk-XETSLYFD.js} +3 -3
- package/dist/{chunk-6V3A3MTG.js → chunk-XFDNAR4S.js} +16 -27
- package/dist/{chunk-WMQ57FOP.js → chunk-XGTSZ7NC.js} +3 -3
- package/dist/{chunk-HAG3K6PQ.js → chunk-XHEG2BG6.js} +1 -1
- package/dist/{chunk-D2TQX7UJ.js → chunk-XLX3TUFO.js} +2 -2
- package/dist/{chunk-XLLWIHN2.js → chunk-XMII3G47.js} +3 -3
- package/dist/{chunk-BSZOQJXB.js → chunk-XRPZJDAK.js} +101 -72
- package/dist/{chunk-IPBOREIY.js → chunk-XUEX5WTR.js} +1 -1
- package/dist/{chunk-HO4ILCW7.js → chunk-XUGEYHOQ.js} +2 -2
- package/dist/{chunk-OO63YP35.js → chunk-XVFUJRRC.js} +1 -1
- package/dist/{chunk-IVDTP6SV.js → chunk-XWGAANY4.js} +3 -3
- package/dist/{chunk-IPZJCBWD.js → chunk-XWUHUTXX.js} +24 -18
- package/dist/{chunk-WNTUBGBB.js → chunk-XXYV5UEM.js} +50 -49
- package/dist/{chunk-7GRR72MY.js → chunk-XZBX6LIC.js} +20 -12
- package/dist/{chunk-ZDJ7C64T.js → chunk-Y4BJ7D5F.js} +1 -1
- package/dist/{chunk-KW4JXWHO.js → chunk-YDYZWCUQ.js} +1 -1
- package/dist/{chunk-ZCHKIR7C.js → chunk-YJN54OZS.js} +52 -41
- package/dist/{chunk-X46PSAJ7.js → chunk-YJXIHVNK.js} +2 -2
- package/dist/{chunk-UCKUAKYQ.js → chunk-YKYK6C7F.js} +1 -1
- package/dist/{chunk-GNMB72V7.js → chunk-YM4MVABU.js} +56 -24
- package/dist/{chunk-GOFS336W.js → chunk-YM7MO7WI.js} +1 -1
- package/dist/{chunk-PNYWBY4K.js → chunk-YOUYJHW3.js} +3 -3
- package/dist/{chunk-OTWIW2L3.js → chunk-YPELB4Q7.js} +3 -3
- package/dist/{chunk-5I4RPBNE.js → chunk-YRCIG4IO.js} +8 -7
- package/dist/{chunk-FPFRLRQO.js → chunk-ZIQR2CNM.js} +7 -7
- package/dist/{chunk-H7BCNS5J.js → chunk-ZK22I3NF.js} +3 -3
- package/dist/{chunk-A6N24NGW.js → chunk-ZNA4JHHG.js} +2 -2
- package/dist/{chunk-VESSIKBG.js → chunk-ZOQRX5V7.js} +4 -4
- package/dist/{chunk-FVWHEM2N.js → chunk-ZPQ3VOAE.js} +1 -1
- package/dist/{chunk-NZ7FX3AE.js → chunk-ZQ5ILQ5A.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{core-LSYX4UQQ.js → core-2PT7IROA.js} +2 -1
- package/dist/{core-YN2VVGUL.js → core-34YTH4KN.js} +1 -1
- package/dist/{core-7YDNMUU3.js → core-4ZEVWU43.js} +1 -1
- package/dist/{core-743ZXTWK.js → core-64EHPUVV.js} +1 -1
- package/dist/{core-ZETBHLSV.js → core-6KO5AEUH.js} +1 -1
- package/dist/{core-2GWH3ED7.js → core-7WLD237S.js} +1 -1
- package/dist/{core-AC5AKSCM.js → core-A2MERE3C.js} +1 -1
- package/dist/{core-O5S2NETE.js → core-AVNB2Q3G.js} +2 -1
- package/dist/{core-XUNZB6BM.js → core-B7KOBTRL.js} +1 -1
- package/dist/{core-HIONDJGC.js → core-BOOD7ZUQ.js} +1 -1
- package/dist/{core-3LCSHMKN.js → core-BOU34T23.js} +1 -1
- package/dist/{core-VYHQ5JY6.js → core-BQ2I77OF.js} +2 -1
- package/dist/{core-HMBMMF5Z.js → core-BSEXRZD6.js} +1 -1
- package/dist/{core-Q2Y3JEWL.js → core-CXEEM26F.js} +1 -1
- package/dist/{core-7OAGK7ZJ.js → core-EHMPBG6Q.js} +1 -1
- package/dist/{core-BEK6EPVF.js → core-FXC4TB2K.js} +1 -1
- package/dist/{core-MIERUUUT.js → core-HMS72VO6.js} +1 -1
- package/dist/{core-EGTJOQK7.js → core-I2GPMB2B.js} +1 -1
- package/dist/{core-XJZWD43V.js → core-IQC6H4A7.js} +1 -1
- package/dist/{core-RTBPKALG.js → core-IYEFTP6C.js} +1 -1
- package/dist/{core-3XGQBHJI.js → core-J2QTOU4D.js} +1 -1
- package/dist/{core-AEALAFRA.js → core-JJLIPTEW.js} +1 -1
- package/dist/{core-5CRTPVYA.js → core-LCP44UYI.js} +1 -2
- package/dist/{core-BRBJ3LPF.js → core-MBNVENCZ.js} +1 -1
- package/dist/{core-VBMWBPKM.js → core-MVIK7FAJ.js} +2 -1
- package/dist/{core-TIIPSEK3.js → core-N4OKPNXQ.js} +1 -1
- package/dist/{core-FE4THVV3.js → core-Q4IILTGO.js} +1 -1
- package/dist/{core-4N6WH3IF.js → core-QCPDOQEJ.js} +2 -1
- package/dist/{core-AAPPZSSZ.js → core-RVTF336C.js} +1 -1
- package/dist/{core-5K4HRIHX.js → core-VGMMKEU4.js} +1 -1
- package/dist/{core-3NQ5TXOJ.js → core-VUVJOMUC.js} +1 -1
- package/dist/{core-T7CKLMT2.js → core-VWISBHXE.js} +1 -1
- package/dist/{core-YKDDPMWW.js → core-W3UBWZR3.js} +1 -1
- package/dist/{core-FEBNVNVE.js → core-XYQRB5WF.js} +1 -1
- package/dist/{core-YP4MNIMV.js → core-Y6DJHIYT.js} +1 -1
- package/dist/{core-NTOOJZRA.js → core-YHWVJULU.js} +1 -1
- package/dist/{core-VLXOQ5CK.js → core-YJXOVNIE.js} +1 -1
- package/dist/{dataTable-FEQZSDUZ.js → dataTable-3ZK3ZEZP.js} +3 -2
- package/dist/{engine-SCQVNSAM.js → engine-FSWLRWZR.js} +19 -17
- package/dist/fixtures.js +1 -1
- package/dist/index.js +14 -13
- package/dist/{main-7UKLXCIL.js → main-NYMXWJGJ.js} +6 -5
- package/dist/mcp/server.js +11 -10
- package/dist/react/bar.js +1 -1
- package/dist/react/bartable.js +1 -1
- package/dist/react/box.js +1 -1
- package/dist/react/bullet.js +1 -1
- package/dist/react/butterfly.js +1 -1
- package/dist/react/choropleth.js +1 -1
- package/dist/react/cohort.js +2 -1
- package/dist/react/column.js +1 -1
- package/dist/react/combo.js +1 -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 +1 -1
- package/dist/react/export.js +24 -19
- 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 +2 -1
- package/dist/react/histogram.js +1 -1
- package/dist/react/index.js +84 -83
- package/dist/react/kpi.js +1 -1
- package/dist/react/likert.js +1 -1
- package/dist/react/line.js +2 -1
- package/dist/react/mekko.js +1 -1
- package/dist/react/pareto.js +1 -1
- package/dist/react/pie.js +1 -1
- package/dist/react/prepare.js +22 -20
- package/dist/react/pvm.js +1 -1
- package/dist/react/pyramid.js +1 -1
- package/dist/react/sankey.js +1 -1
- package/dist/react/scatter.js +2 -1
- package/dist/react/slope.js +1 -1
- package/dist/react/sparkline.js +1 -1
- package/dist/react/spec.js +10 -10
- package/dist/react/status.js +2 -1
- package/dist/react/story.js +3 -3
- package/dist/react/table.js +1 -1
- package/dist/react/theme.js +3 -3
- package/dist/react/tilemap.js +1 -1
- package/dist/react/treemap.js +1 -1
- package/dist/react/variance.js +1 -1
- package/dist/react/waffle.js +1 -1
- package/dist/react/waterfall.js +1 -1
- package/dist/{rowsModule-WJH4QNXZ.js → rowsModule-43LCK2Q7.js} +1 -1
- package/dist/{schema-MQT6BMNK.js → schema-2ACHQTR3.js} +1 -1
- package/dist/{schema-WZOSDDDJ.js → schema-3LRC5TOZ.js} +1 -1
- package/dist/{schema-F7TWGLRZ.js → schema-4HGZZNUL.js} +1 -1
- package/dist/{schema-PWPQF5RC.js → schema-4YIYGGOJ.js} +1 -1
- package/dist/{schema-ECJERHKF.js → schema-5OLQ54J5.js} +1 -1
- package/dist/{schema-CWKGLDSR.js → schema-5SVPR3EU.js} +1 -1
- package/dist/{schema-BA6WP5YZ.js → schema-A4U4RDKJ.js} +1 -1
- package/dist/{schema-JYZ4RF6S.js → schema-AM2KS6ZC.js} +1 -1
- package/dist/{schema-PYQEUC5P.js → schema-C25ECGJL.js} +1 -1
- package/dist/{schema-56MOEOVR.js → schema-CBLNGK2F.js} +1 -1
- package/dist/{schema-ESR6ZIK4.js → schema-D3ELHESU.js} +1 -1
- package/dist/{schema-5MSR4LNN.js → schema-FBIEOKO2.js} +1 -1
- package/dist/{schema-DUVJMFKQ.js → schema-FPDLOIA6.js} +1 -1
- package/dist/{schema-ALBF6V7Y.js → schema-FQWENOJY.js} +1 -1
- package/dist/{schema-DBIQFL56.js → schema-GTLGAPCU.js} +1 -1
- package/dist/{schema-Q5DACE4I.js → schema-GUDG343K.js} +2 -2
- package/dist/{schema-47BG2TZA.js → schema-GYTWCCNA.js} +1 -1
- package/dist/{schema-DL7V6NN2.js → schema-GYVYJEL3.js} +1 -1
- package/dist/{schema-ZU2EU2VP.js → schema-HAMPGUH3.js} +1 -1
- package/dist/{schema-TVUJNEX7.js → schema-IYBZPCM4.js} +1 -1
- package/dist/{schema-2TPGJGVR.js → schema-IYLRZNFB.js} +1 -1
- package/dist/{schema-KAK6DZX4.js → schema-KBV2JB2A.js} +1 -1
- package/dist/{schema-PV7JGX5H.js → schema-KWCIIIGP.js} +1 -1
- package/dist/{schema-Y4TI2T3T.js → schema-LDF6HORS.js} +1 -1
- package/dist/{schema-FKGGTM4Z.js → schema-LGYHJPXU.js} +1 -1
- package/dist/{schema-CBL2SMVR.js → schema-LX4EXDTI.js} +1 -1
- package/dist/{schema-2R32F6AW.js → schema-NNNG7CWG.js} +1 -1
- package/dist/{schema-OPXZYIW7.js → schema-P2JYSV32.js} +1 -1
- package/dist/{schema-FGB6IGZM.js → schema-PAKZIYQF.js} +1 -1
- package/dist/{schema-R42VXFIS.js → schema-SQ2GYLMI.js} +1 -1
- package/dist/{schema-KCJ6WTGV.js → schema-SUDJBIHX.js} +1 -1
- package/dist/{schema-MR3BPPQR.js → schema-TRPPZCIR.js} +1 -1
- package/dist/{schema-JIAQE7WO.js → schema-UNYDUIL5.js} +1 -1
- package/dist/{schema-5RIYEWE6.js → schema-VH4AW62Z.js} +1 -1
- package/dist/{schema-EDSEKZDJ.js → schema-WDKBCN3V.js} +1 -1
- package/dist/{schema-MOKWIGF7.js → schema-YCKUQ3FF.js} +1 -1
- package/dist/{schema-K7F6TEDK.js → schema-YVBUY7NH.js} +1 -1
- package/dist/{specValidation-DC4TVHWD.js → specValidation-FKHSTMMR.js} +1 -1
- package/dist/theme.js +2 -2
- package/dist/types/core/a11y/recordsShared.d.ts +15 -4
- package/dist/types/core/a11y/types.d.ts +0 -3
- package/dist/types/core/annotate.d.ts +17 -1
- package/dist/types/core/annotateTargets.d.ts +8 -0
- package/dist/types/core/charts/band/stacks.d.ts +4 -3
- package/dist/types/core/charts/bar/layout.d.ts +3 -1
- package/dist/types/core/charts/bartable/types.d.ts +3 -0
- package/dist/types/core/charts/box/types.d.ts +5 -0
- package/dist/types/core/charts/column/anomaly.d.ts +12 -5
- package/dist/types/core/charts/column/model.d.ts +4 -0
- package/dist/types/core/charts/combo/endpoints.d.ts +11 -1
- package/dist/types/core/charts/combo/layout.d.ts +7 -1
- package/dist/types/core/charts/dimswitch/compile.d.ts +20 -3
- package/dist/types/core/charts/grid/metricStack.d.ts +2 -4
- package/dist/types/core/charts/histogram/types.d.ts +3 -0
- package/dist/types/core/charts/likert/layout.d.ts +5 -2
- package/dist/types/core/charts/logAxis.d.ts +0 -5
- package/dist/types/core/charts/scatter/logAxis.d.ts +1 -1
- package/dist/types/core/charts/scatter/model.d.ts +10 -1
- package/dist/types/core/charts/scatter/trend.d.ts +19 -0
- package/dist/types/core/charts/table/view.d.ts +7 -0
- package/dist/types/core/charts/waffle/types.d.ts +8 -0
- package/dist/types/core/formatPrecision.d.ts +24 -0
- package/dist/types/core/formatSpec.d.ts +213 -61
- package/dist/types/core/label/solver.d.ts +3 -1
- package/dist/types/core/numberRule.d.ts +109 -0
- package/dist/types/core/numberSets.d.ts +43 -0
- package/dist/types/core/shownMarks.d.ts +16 -0
- package/dist/types/core/types/options.d.ts +8 -8
- package/dist/types/core/types/scene.d.ts +24 -0
- package/dist/types/core/types/table.d.ts +0 -13
- package/dist/types/react/TableChart.d.ts +9 -7
- package/dist/types/react/hover/engine.d.ts +6 -4
- package/dist/types/react/hover/labelCard.d.ts +4 -3
- package/dist/validate.js +5 -4
- package/docs/manual.md +15 -7
- package/docs/reference/bartable.md +2 -2
- package/docs/reference/cohort.md +1 -1
- package/docs/reference/column.md +1 -1
- package/docs/reference/dimswitch.md +2 -3
- package/docs/reference/fixtures.md +1 -1
- package/docs/reference/grid.md +13 -7
- package/docs/reference/heatmap.md +1 -1
- package/docs/reference/line.md +2 -2
- package/docs/reference/options.md +3 -3
- package/docs/reference/react.md +1 -1
- package/docs/reference/table.md +5 -8
- package/docs/reference/warnings.md +0 -1
- package/package.json +1 -1
- package/dist/chunk-2IRMGCYE.js +0 -125
- package/dist/chunk-WVCDISZP.js +0 -89
- package/dist/types/core/charts/table/fitFormats.d.ts +0 -67
- package/dist/types/core/charts/table/resolve.d.ts +0 -84
- package/dist/types/core/format.d.ts +0 -156
|
@@ -5,38 +5,38 @@ import {
|
|
|
5
5
|
} from "./chunk-VXZFQKBJ.js";
|
|
6
6
|
import {
|
|
7
7
|
marginBracketLayout
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3ZR7ZE64.js";
|
|
9
9
|
import {
|
|
10
10
|
axisBreakInvalid,
|
|
11
11
|
breakStyleRefusal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NUASZPS7.js";
|
|
13
13
|
import {
|
|
14
14
|
HEAD_PREFIX,
|
|
15
15
|
asColumnHeads,
|
|
16
16
|
columnHeadFont,
|
|
17
17
|
fitHead,
|
|
18
18
|
headRequest
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ICJUN47O.js";
|
|
20
20
|
import {
|
|
21
21
|
runAnnotatePass
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QDFX2KAP.js";
|
|
23
23
|
import {
|
|
24
24
|
rowLabelBand
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MTOBNHAU.js";
|
|
26
26
|
import {
|
|
27
27
|
fittedLabel,
|
|
28
28
|
gutterBudget,
|
|
29
29
|
stepDownFont
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MOBRWYUQ.js";
|
|
31
31
|
import {
|
|
32
32
|
chartTheme
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-AIPOSNVG.js";
|
|
34
34
|
import {
|
|
35
35
|
labelOn
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-77L6QGIG.js";
|
|
37
37
|
import {
|
|
38
38
|
structureCount
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YDYZWCUQ.js";
|
|
40
40
|
import {
|
|
41
41
|
alignedRight,
|
|
42
42
|
authoredTrackWidth,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
planValueAxisTitle,
|
|
60
60
|
straightBreakGlyph,
|
|
61
61
|
valueAxisTitleRequest
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-YM4MVABU.js";
|
|
63
63
|
import {
|
|
64
64
|
PRIORITY,
|
|
65
65
|
authoredFootnoteCount,
|
|
@@ -73,27 +73,27 @@ import {
|
|
|
73
73
|
solveFrame,
|
|
74
74
|
solveLabels,
|
|
75
75
|
withUnprintedClaims
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-AUSZDYGE.js";
|
|
77
77
|
import {
|
|
78
78
|
disclosureNote
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-WD5NJHZG.js";
|
|
80
80
|
import {
|
|
81
81
|
emptyIdRecord
|
|
82
82
|
} from "./chunk-LINZPU5D.js";
|
|
83
83
|
import {
|
|
84
|
+
defaultSetSpec,
|
|
85
|
+
engineFormatterFromExample,
|
|
86
|
+
formatWithSpec,
|
|
84
87
|
formatterFromExample,
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
ruleFormatter,
|
|
89
|
+
statisticFormatter
|
|
90
|
+
} from "./chunk-3JG764MI.js";
|
|
87
91
|
import {
|
|
88
|
-
autoDecimals,
|
|
89
92
|
chartStrings,
|
|
90
|
-
formatAutomaticNumber,
|
|
91
93
|
numberRange,
|
|
92
|
-
seriesFormatterAt,
|
|
93
94
|
seriesValueDecimals,
|
|
94
|
-
seriesValueFormatter,
|
|
95
95
|
splitNumberMarks
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-FYFXOLWI.js";
|
|
97
97
|
import {
|
|
98
98
|
canvasMargin,
|
|
99
99
|
createOccupiedIndex,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
semanticPalettePaint,
|
|
106
106
|
strokeToken,
|
|
107
107
|
textScaleOf
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-XAH4EWJT.js";
|
|
109
109
|
import {
|
|
110
110
|
pickInk
|
|
111
111
|
} from "./chunk-BQBD6Q5J.js";
|
|
@@ -348,7 +348,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
348
348
|
chartTheme(options),
|
|
349
349
|
options.palette,
|
|
350
350
|
warnings
|
|
351
|
-
), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer, authoredFmt = options.format ? formatterFromExample(options.format, options.locale?.language) : void 0, labelsOff = options.labels === !1, labelOn2 = (kind) => labelOn(options, kind), highlights = new Set(resolveHighlight(options.highlight));
|
|
351
|
+
), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer, authoredFmt = options.format ? formatterFromExample(options.format, options.locale?.language) : void 0, engineFmt = options.format ? engineFormatterFromExample(options.format, options.locale?.language) : void 0, labelsOff = options.labels === !1, labelOn2 = (kind) => labelOn(options, kind), highlights = new Set(resolveHighlight(options.highlight));
|
|
352
352
|
if (!data || !Array.isArray(data.groups) || data.groups.length === 0)
|
|
353
353
|
throw new NormalizeError("empty-data", "groups", "box requires at least one group", "add groups[].observations", void 0, ["data", "groups"]);
|
|
354
354
|
if (data.groups.every((group) => (group.observations?.length ?? 0) === 0))
|
|
@@ -376,20 +376,10 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
376
376
|
return am === null && bm === null ? a - b : am === null ? 1 : bm === null ? -1 : (am - bm) * direction || a - b;
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
|
-
let rows = order.map((index) => summaries[index]), printed = [
|
|
379
|
+
let rows = order.map((index) => summaries[index]), observationSpec = engineFmt ? void 0 : defaultSetSpec(data.groups.flatMap((group) => group.observations ?? []), options.locale?.language, options.unit), percentileWhiskers = whiskerRule === "p10p90", ruleStat = observationSpec ? statisticFormatter(rows.flatMap((row) => [row.q1, row.median, row.q3, ...percentileWhiskers ? [row.whiskerLow, row.whiskerHigh] : []]), observationSpec) : void 0, ruleObservation = observationSpec ? (value) => formatWithSpec(value, observationSpec) : void 0, printed = [
|
|
380
380
|
...data.groups.flatMap((group) => group.observations ?? []),
|
|
381
381
|
...rows.flatMap((row) => [row.min, row.q1, row.median, row.q3, row.max, row.whiskerLow, row.whiskerHigh])
|
|
382
|
-
],
|
|
383
|
-
row.min,
|
|
384
|
-
row.q1,
|
|
385
|
-
row.median,
|
|
386
|
-
row.q3,
|
|
387
|
-
row.max,
|
|
388
|
-
row.whiskerLow,
|
|
389
|
-
row.whiskerHigh,
|
|
390
|
-
...showOutliers ? row.beyondWhiskers : [],
|
|
391
|
-
...row.state === "points" && showObservations === "small-n" ? data.groups[order[index]].observations ?? [] : []
|
|
392
|
-
]), engine = authoredFmt || options.target === void 0 || !labelled.some((value) => value != null && Math.abs(value) >= 1e6) ? void 0 : seriesRasterFormatter(void 0, labelled, options.locale?.language, options.unit, options.target), scaled = engine?.spec.autoMagnitude ? engine : void 0, axisFmt = authoredFmt ?? scaled?.fmt ?? ((value) => formatAutomaticNumber(value, { locale: options.locale?.language, decimals: autoDecimals(value) })), labelDecimals = seriesValueDecimals(printed), fmt = authoredFmt ?? scaled?.fmt ?? seriesFormatterAt(labelDecimals, options.locale?.language), fmtMedian = authoredFmt || scaled ? fmt : seriesValueFormatter(rows.map((row) => row.median), options.locale?.language, options.unit, options.target);
|
|
382
|
+
], axisFmt = engineFmt ?? ruleObservation, labelDecimals = seriesValueDecimals(printed), fmt = engineFmt ?? ruleStat, whiskerFmt = engineFmt ?? (percentileWhiskers ? ruleStat : ruleObservation), observationFmt = authoredFmt ?? ruleObservation, fmtMedian = fmt, statText = (row, stat) => (stat === "min" || stat === "max" ? engineFmt ?? ruleObservation : stat === "whiskerLow" || stat === "whiskerHigh" ? whiskerFmt : fmt)(row[stat]);
|
|
393
383
|
whiskerRule === "minmax" && options.showOutliers !== void 0 && warnings.push({
|
|
394
384
|
code: "box-outliers-ignored",
|
|
395
385
|
severity: "info",
|
|
@@ -513,8 +503,8 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
513
503
|
occupied
|
|
514
504
|
), plot0 = frameResult.plot, axisShown = options.valueAxis?.show !== !1, axisTitle = axisShown && labelOn2("axisTitle") ? planValueAxisTitle(options.axisTitles?.primary, theme, measure, plot0.w) : void 0, axisH = axisShown ? measure("0", tickFont).height + 8 + (axisTitle ? axisTitle.height + 2 : 0) : 0, valueLabelH = measure("0", labelFont).height, topPad = labelOn2("point") ? valueLabelH + 4 : 0;
|
|
515
505
|
fixedPlotChrome(frameResult, topPad + axisH);
|
|
516
|
-
let availH = plotHeightAfter(frameResult, size.height, plot0.h - topPad - axisH), lineH = tickFont.size * 1.2, nText = (row) => {
|
|
517
|
-
let n = `n = ${
|
|
506
|
+
let availH = plotHeightAfter(frameResult, size.height, plot0.h - topPad - axisH), lineH = tickFont.size * 1.2, baseFmt = ruleFormatter(rows.map((row) => row.n), options.locale?.language), nText = (row) => {
|
|
507
|
+
let n = `n = ${baseFmt(row.n)}`, withheld = withheldBeyond[row.id], hidden = withheld ? chartString2(options, "boxHiddenCount", { v1: withheld }) : "";
|
|
518
508
|
return row.state === "empty" ? chartString2(options, "boxEmptyN", { v1: n }) : row.state === "points" ? showObservations === "small-n" ? chartString2(options, "boxPointsN", { v1: n }) : chartString2(options, "boxSmallN", { v1: n }) : row.state === "median-only" ? `${n} \xB7 IQR = 0${hidden}` : `${n}${hidden}`;
|
|
519
509
|
}, nTexts = rows.map(nText), nSplit = nTexts.map((text) => {
|
|
520
510
|
let at = text.indexOf(" \xB7 ");
|
|
@@ -539,7 +529,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
539
529
|
let rawH = plot0.h - topPad - axisH;
|
|
540
530
|
frameResult.frame.plotMinHeight = Math.max(frameResult.frame.plotMinHeight ?? 0, size.height + (frameResult.deficit ?? 0) - rawH + rows.length * (2 * lineH + 4));
|
|
541
531
|
}
|
|
542
|
-
let parkLabel = parked === void 0 ? "" : axisFmt(parked), parkRoom = parked === void 0 ? 0 : PARK_GAP + Math.max(POINT_R, measure(parkLabel, tickFont).width / 2);
|
|
532
|
+
let parkLabel = parked === void 0 ? "" : (ruleObservation ?? axisFmt)(parked), parkRoom = parked === void 0 ? 0 : PARK_GAP + Math.max(POINT_R, measure(parkLabel, tickFont).width / 2);
|
|
543
533
|
overrides?.n?.width !== void 0 && !nUnder && !labelsOff && (nBandTotal = authoredTrackWidth("n", overrides.n.width, nBandTotal - N_BAND_GAP, plot0.w - catBandTotal - bracketRoom - parkRoom - N_BAND_GAP - plotKeeps, warnings) + N_BAND_GAP, nFloorTotal = nBandTotal);
|
|
544
534
|
let denseRows = availH / rows.length < valueLabelH + MEDIAN_OFFSET + MEDIAN_CLEAR + 8, medianRows = rows.filter((row) => row.median !== null && row.state !== "points"), medianWanted = denseRows && labelOn2("point") && options.boxValues !== "all" && medianRows.length > 0, headFont = columnHeadFont(theme, options.target ?? DEFAULT_TARGET, textScaleOf(options)), medianBodyW = medianWanted ? maxOf(medianRows.map((row) => measure(fmtMedian(row.median), labelFont).width)) : 0, medianHeadFit = medianWanted ? fitHead(overrides?.median?.label ?? "Median", headFont, medianBodyW, measure, { target: options.target ?? DEFAULT_TARGET, textScale: textScaleOf(options) }) : void 0, medianNaturalW = medianHeadFit ? Math.max(medianHeadFit.w, medianBodyW) : 0, medianColW = medianHeadFit ? N_BAND_GAP + (overrides?.median?.width === void 0 ? medianNaturalW : authoredTrackWidth("median", overrides.median.width, medianNaturalW, plot0.w - catBandTotal - nBandTotal - N_BAND_GAP - bracketRoom - parkRoom - plotKeeps, warnings)) : 0, medianCol = medianWanted && plot0.w - catBandTotal - nBandTotal - medianColW - bracketRoom - parkRoom >= MIN_VALUE_RUN, medianHead = medianCol ? medianHeadFit : void 0, medianColRight = plot0.x + plot0.w - nBandTotal, medianColTotal = medianCol ? medianColW : 0;
|
|
545
535
|
columnOverrideWarnings("box", overrides, [...labelOn2("category") ? ["label"] : [], ...!nUnder && !labelsOff ? ["n"] : [], ...medianCol ? ["median"] : []], medianCol ? ["median"] : [], warnings), nBandTotal += medianColTotal;
|
|
@@ -569,7 +559,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
569
559
|
...scaleEnd - plot.x < 320 ? { tickCount: 3 } : {},
|
|
570
560
|
gridlines: options.valueAxis?.gridlines ?? !1,
|
|
571
561
|
format: axisFmt,
|
|
572
|
-
...
|
|
562
|
+
...observationSpec ? { formatSpec: observationSpec } : {},
|
|
573
563
|
theme,
|
|
574
564
|
measure,
|
|
575
565
|
canvasWidth: size.width
|
|
@@ -627,7 +617,12 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
627
617
|
if (value === null || row.median === null) return !0;
|
|
628
618
|
let width = measure(fmt(value), labelFont).width;
|
|
629
619
|
return stat === "q1" ? x(value) + 3 + width < x(row.median) - 3 : x(value) - 3 - width > x(row.median) + 3;
|
|
630
|
-
}, quartilesInside = rows.every((row) => row.state !== "box" || quartileFits(row, "q1") && quartileFits(row, "q3")),
|
|
620
|
+
}, quartilesInside = rows.every((row) => row.state !== "box" || quartileFits(row, "q1") && quartileFits(row, "q3")), observationShows = (index, value, text) => {
|
|
621
|
+
let shows = {}, occurrence = 0;
|
|
622
|
+
for (let observation of data.groups[order[index]].observations)
|
|
623
|
+
observation === value && (shows[`field:${JSON.stringify(["observation", value, occurrence++])}`] = text);
|
|
624
|
+
return shows;
|
|
625
|
+
}, unresolvedCollisions = 0;
|
|
631
626
|
if (rows.forEach((row, index) => {
|
|
632
627
|
let rowCenter = band.center(index), rowY = rowCenter - boxH / 2, owner = { categoryId: row.id }, rowRect = { x: plot.x, y: band.position(index), w: plot.w, h: band.bandwidth }, mark = {
|
|
633
628
|
id: row.id,
|
|
@@ -635,8 +630,19 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
635
630
|
rect: rowRect,
|
|
636
631
|
whiskerNodeIds: [],
|
|
637
632
|
beyondNodeIds: [],
|
|
638
|
-
observationNodeIds: []
|
|
639
|
-
|
|
633
|
+
observationNodeIds: [],
|
|
634
|
+
...observationSpec ? { texts: Object.fromEntries(["q1", "q3", "whiskerLow", "whiskerHigh"].flatMap((stat) => row[stat] === null ? [] : [[stat, statText(row, stat)]])) } : {}
|
|
635
|
+
};
|
|
636
|
+
if (ruleObservation) {
|
|
637
|
+
let shows = {}, seen = /* @__PURE__ */ new Map();
|
|
638
|
+
for (let observation of data.groups[order[index]].observations ?? []) {
|
|
639
|
+
if (!Number.isFinite(observation)) continue;
|
|
640
|
+
let occurrence = seen.get(observation) ?? 0;
|
|
641
|
+
seen.set(observation, occurrence + 1), shows[`field:["observation",${observation},${occurrence}]`] = ruleObservation(observation);
|
|
642
|
+
}
|
|
643
|
+
(marks.shown ??= []).push({ owner, shows });
|
|
644
|
+
}
|
|
645
|
+
let isHighlighted = highlights.has(row.id), boxFill = semanticPalettePaint(
|
|
640
646
|
theme,
|
|
641
647
|
options.palette,
|
|
642
648
|
isHighlighted ? "focus" : "neutralLight"
|
|
@@ -648,7 +654,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
648
654
|
if (row.state === "box" || row.state === "median-only") {
|
|
649
655
|
let xLow = x(row.whiskerLow), xHigh = x(row.whiskerHigh), xQ1 = x(row.q1), xQ3 = x(row.q3);
|
|
650
656
|
if (xLow < xQ1) {
|
|
651
|
-
let id = `box:whiskerLow:${row.id}`;
|
|
657
|
+
let lowText = whiskerFmt(row.whiskerLow), id = `box:whiskerLow:${row.id}`;
|
|
652
658
|
nodes.push({
|
|
653
659
|
t: "line",
|
|
654
660
|
id,
|
|
@@ -660,7 +666,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
660
666
|
width: strokeToken(theme, "rule"),
|
|
661
667
|
owner,
|
|
662
668
|
part: "boxWhisker",
|
|
663
|
-
display: { ...display, value:
|
|
669
|
+
display: { ...display, value: lowText, shows: observationSpec && percentileWhiskers ? {} : observationShows(index, row.whiskerLow, lowText) }
|
|
664
670
|
}), occupied.claim({ x: xLow, y: rowCenter - 0.5, w: xQ1 - xLow, h: 1 }, "mark", owner, "boxWhisker");
|
|
665
671
|
let capId = `box:capLow:${row.id}`;
|
|
666
672
|
nodes.push({
|
|
@@ -674,7 +680,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
674
680
|
width: strokeToken(theme, "rule"),
|
|
675
681
|
owner,
|
|
676
682
|
part: "boxWhiskerCap",
|
|
677
|
-
display: { ...display, value:
|
|
683
|
+
display: { ...display, value: lowText }
|
|
678
684
|
}), occupied.claim(
|
|
679
685
|
{ x: xLow - 0.5, y: rowCenter - capH / 2, w: 1, h: capH },
|
|
680
686
|
"mark",
|
|
@@ -683,7 +689,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
683
689
|
), mark.whiskerNodeIds.push(id, capId);
|
|
684
690
|
}
|
|
685
691
|
if (xHigh > xQ3) {
|
|
686
|
-
let id = `box:whiskerHigh:${row.id}`;
|
|
692
|
+
let highText = whiskerFmt(row.whiskerHigh), id = `box:whiskerHigh:${row.id}`;
|
|
687
693
|
nodes.push({
|
|
688
694
|
t: "line",
|
|
689
695
|
id,
|
|
@@ -695,7 +701,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
695
701
|
width: strokeToken(theme, "rule"),
|
|
696
702
|
owner,
|
|
697
703
|
part: "boxWhisker",
|
|
698
|
-
display: { ...display, value:
|
|
704
|
+
display: { ...display, value: highText, shows: observationSpec && percentileWhiskers ? {} : observationShows(index, row.whiskerHigh, highText) }
|
|
699
705
|
}), occupied.claim({ x: xQ3, y: rowCenter - 0.5, w: xHigh - xQ3, h: 1 }, "mark", owner, "boxWhisker");
|
|
700
706
|
let capId = `box:capHigh:${row.id}`;
|
|
701
707
|
nodes.push({
|
|
@@ -709,7 +715,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
709
715
|
width: strokeToken(theme, "rule"),
|
|
710
716
|
owner,
|
|
711
717
|
part: "boxWhiskerCap",
|
|
712
|
-
display: { ...display, value:
|
|
718
|
+
display: { ...display, value: highText }
|
|
713
719
|
}), occupied.claim(
|
|
714
720
|
{ x: xHigh - 0.5, y: rowCenter - capH / 2, w: 1, h: capH },
|
|
715
721
|
"mark",
|
|
@@ -744,7 +750,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
744
750
|
width: strokeToken(theme, "mark"),
|
|
745
751
|
owner,
|
|
746
752
|
part: "boxMedian",
|
|
747
|
-
display: { ...display, value: fmtMedian(row.median) }
|
|
753
|
+
display: { ...display, value: fmtMedian(row.median), shows: { value: statText(row, "median") } }
|
|
748
754
|
}), occupied.claim(
|
|
749
755
|
{ x: medianX - 0.75, y: rowY, w: 1.5, h: boxH },
|
|
750
756
|
"mark",
|
|
@@ -776,7 +782,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
776
782
|
strokeWidth: strokeToken(theme, "mark"),
|
|
777
783
|
owner,
|
|
778
784
|
part: "boxBeyondGroup",
|
|
779
|
-
display: { ...display, value: chartString2(options, "boxValuesSpan", { v1: count, v2:
|
|
785
|
+
display: { ...display, value: chartString2(options, "boxValuesSpan", { v1: count, v2: observationFmt(members[0].point.value), v3: observationFmt(members.at(-1).point.value) }) }
|
|
780
786
|
}), occupied.claim(rect, "mark", owner, "boxBeyond"), mark.beyondNodeIds.push(id);
|
|
781
787
|
let text = chartString2(options, "boxValuesCount", { v1: count }), size2 = measure(text, labelFont), cx = (left + right) / 2, low = members[0].point.value < (row.median ?? 0), sideXs = sortedPoints.filter((entry) => entry.point.value < (row.median ?? 0) === low).map((entry) => xp(entry.point.value)), outer = low ? Math.min(left, minOf(sideXs.map((dx) => dx - POINT_R))) - 4 - size2.width : Math.max(right, maxOf(sideXs.map((dx) => dx + POINT_R))) + 4;
|
|
782
788
|
labelRequests.push({
|
|
@@ -803,7 +809,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
803
809
|
if (rowPoints.forEach((entry, i) => {
|
|
804
810
|
let { point, k, kind } = entry, cx = xp(point.value), cy = rowCenter + laneOffset(lanes[i]);
|
|
805
811
|
totalPoints += 1, lanes[i] > 0 && (dodgedPoints += 1), painted.minX = Math.min(painted.minX, cx - POINT_R), painted.maxX = Math.max(painted.maxX, cx + POINT_R), painted.minY = Math.min(painted.minY, cy - POINT_R), painted.maxY = Math.max(painted.maxY, cy + POINT_R);
|
|
806
|
-
let id = kind === "obs" ? `box:obs:${row.id}:${k}` : `box:beyond:${row.id}:${k}`, value = point.count > 1 ? `${
|
|
812
|
+
let id = kind === "obs" ? `box:obs:${row.id}:${k}` : `box:beyond:${row.id}:${k}`, pointText = observationFmt(point.value), value = point.count > 1 ? `${pointText} (\xD7${point.count})` : pointText;
|
|
807
813
|
if (nodes.push(
|
|
808
814
|
kind === "obs" ? {
|
|
809
815
|
t: "circle",
|
|
@@ -814,7 +820,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
814
820
|
fill: pointFill,
|
|
815
821
|
owner,
|
|
816
822
|
part: "boxObservation",
|
|
817
|
-
display: { ...display, value }
|
|
823
|
+
display: { ...display, value, shows: observationShows(index, point.value, pointText) }
|
|
818
824
|
} : {
|
|
819
825
|
t: "circle",
|
|
820
826
|
id,
|
|
@@ -842,6 +848,8 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
842
848
|
owner,
|
|
843
849
|
text: value,
|
|
844
850
|
lines: [value],
|
|
851
|
+
// '4.0 (×2)' prints the value of both observations.
|
|
852
|
+
shows: observationShows(index, point.value, pointText),
|
|
845
853
|
font: labelFont,
|
|
846
854
|
priority: PRIORITY.interior,
|
|
847
855
|
candidates: [
|
|
@@ -854,7 +862,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
854
862
|
let medianX = x(row.median), stats = [["q1", row.q1, -1], ["q3", row.q3, 1], ["whiskerLow", row.whiskerLow, -1], ["whiskerHigh", row.whiskerHigh, 1]];
|
|
855
863
|
for (let [stat, value, outward] of stats) {
|
|
856
864
|
if (value === null || stat.startsWith("whisker") && value === (stat === "whiskerLow" ? row.q1 : row.q3)) continue;
|
|
857
|
-
let text =
|
|
865
|
+
let text = statText(row, stat), size2 = measure(text, labelFont), statX = x(value), under = rowY + boxH + 4, onRow = rowCenter - size2.height / 2, inside = stat === "q1" ? statX + 3 : statX - 3 - size2.width, insideFits = quartilesInside && (stat === "q1" ? inside + size2.width < medianX - 3 : inside > medianX + 3), candidates = [
|
|
858
866
|
...stat.startsWith("q") && insideFits ? [{ slot: "insideBox", rect: { x: inside, y: onRow, w: size2.width, h: size2.height }, penalty: 0, insideFill: paintColor(theme, boxFill), insidePaint: boxFill }] : [],
|
|
859
867
|
// Beyond the cap only where no dot of the row lies, since the
|
|
860
868
|
// solver lets a label sit on its own row's small marks.
|
|
@@ -867,7 +875,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
867
875
|
})(),
|
|
868
876
|
{ slot: "under", rect: { x: statX - size2.width / 2, y: under, w: size2.width, h: size2.height }, penalty: 1 },
|
|
869
877
|
{ slot: "underOutward", rect: { x: outward < 0 ? statX - size2.width : statX, y: under, w: size2.width, h: size2.height }, penalty: 2 }
|
|
870
|
-
];
|
|
878
|
+
], shows = observationSpec && (stat === "q1" || stat === "q3" || percentileWhiskers) ? {} : observationShows(index, value, text);
|
|
871
879
|
labelRequests.push({
|
|
872
880
|
id: `stat:${row.id}:${stat}`,
|
|
873
881
|
kind: "point",
|
|
@@ -876,6 +884,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
876
884
|
text,
|
|
877
885
|
lines: [text],
|
|
878
886
|
font: labelFont,
|
|
887
|
+
...Object.keys(shows).length > 0 ? { shows } : {},
|
|
879
888
|
...stat === "q1" || stat === "q3" ? { claimIds: [`box:${stat}:${row.id}`] } : {},
|
|
880
889
|
priority: PRIORITY.interior,
|
|
881
890
|
candidates
|
|
@@ -969,7 +978,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
969
978
|
});
|
|
970
979
|
}
|
|
971
980
|
if (labelOn2("point") && row.median !== null && row.state !== "points") {
|
|
972
|
-
let text = `${index === firstMedianRow && !medianCol ? "Median " : ""}${
|
|
981
|
+
let text = `${index === firstMedianRow && !medianCol ? "Median " : ""}${statText(row, "median")}`, textSize = measure(text, labelFont), medianX = x(row.median), hasPoints = painted.maxX > -1 / 0, clearHigh = Math.max(row.whiskerHigh === null ? medianX : x(row.whiskerHigh), hasPoints ? painted.maxX : -1 / 0), clearLow = Math.min(row.whiskerLow === null ? medianX : x(row.whiskerLow), hasPoints ? painted.minX : 1 / 0), clearTop = Math.min(rowY, hasPoints ? painted.minY : 1 / 0), clearBottom = Math.max(rowY + boxH, hasPoints ? painted.maxY : -1 / 0);
|
|
973
982
|
labelRequests.push({
|
|
974
983
|
id: `median:${row.id}`,
|
|
975
984
|
claimIds: [`box:median:${row.id}`],
|
|
@@ -977,6 +986,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
977
986
|
role: composedTextRole(text),
|
|
978
987
|
owner,
|
|
979
988
|
text,
|
|
989
|
+
shows: { value: statText(row, "median") },
|
|
980
990
|
lines: [text],
|
|
981
991
|
font: labelFont,
|
|
982
992
|
priority: PRIORITY.endpoint,
|
|
@@ -1097,7 +1107,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
1097
1107
|
]),
|
|
1098
1108
|
...withheldTotal > 0 ? [structureCount("observations", withheldTotal, chartString2(options, "boxWithheldCount", { v1: withheldTotal }))] : []
|
|
1099
1109
|
],
|
|
1100
|
-
desc: chartString2(options, "boxDescStart", { v1: METHOD_BY_RULE[whiskerRule] }) + rows.map((row) => describeRow(row,
|
|
1110
|
+
desc: chartString2(options, "boxDescStart", { v1: METHOD_BY_RULE[whiskerRule] }) + rows.map((row) => describeRow(row, statText, whiskerRule, options)).join(" ") + chartString2(options, "boxRuleDesc", { v1: whiskerRule, v2: chartString2(options, { tukey: "boxBeyondMeaningtukey", minmax: "boxBeyondMeaningminmax", p10p90: "boxBeyondMeaningp10p90" }[whiskerRule]) }) + (withheldTotal > 0 ? chartString2(options, "boxWithheldDesc", { v1: withheldTotal }) : "")
|
|
1101
1111
|
},
|
|
1102
1112
|
warnings,
|
|
1103
1113
|
debug: {
|
|
@@ -1110,6 +1120,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
1110
1120
|
measure,
|
|
1111
1121
|
solveCtx,
|
|
1112
1122
|
xScale: x,
|
|
1123
|
+
levelSpec: observationSpec,
|
|
1113
1124
|
bracketRight: plot.x + plot.w + BRACKET_CLEAR,
|
|
1114
1125
|
wrapLead,
|
|
1115
1126
|
// The floor holds the brackets at their narrowest: wrapped where they can wrap.
|
|
@@ -1122,12 +1133,12 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
|
|
|
1122
1133
|
}
|
|
1123
1134
|
});
|
|
1124
1135
|
}
|
|
1125
|
-
function describeRow(row,
|
|
1136
|
+
function describeRow(row, text, rule, options) {
|
|
1126
1137
|
if (row.state === "empty") return chartString2(options, "emptyBoxRow", { v1: row.label });
|
|
1127
1138
|
if (row.state === "points")
|
|
1128
|
-
return chartString2(options, "pointsBoxRow", { v1: row.label, v2: row.n, v3:
|
|
1139
|
+
return chartString2(options, "pointsBoxRow", { v1: row.label, v2: row.n, v3: text(row, "min"), v4: text(row, "max"), v5: text(row, "median") });
|
|
1129
1140
|
let beyond = row.beyondWhiskers.length === 0 ? "" : `, ${row.beyondWhiskers.length} ${chartString2(options, { tukey: "boxBeyondNountukey", minmax: "boxBeyondNounminmax", p10p90: "boxBeyondNounp10p90" }[rule])}`;
|
|
1130
|
-
return row.state === "median-only" ? chartString2(options, "medianBoxRow", { v1: row.label, v2: row.n, v3:
|
|
1141
|
+
return row.state === "median-only" ? chartString2(options, "medianBoxRow", { v1: row.label, v2: row.n, v3: text(row, "median"), v4: beyond }) : chartString2(options, "fullBoxRow", { v1: row.label, v2: row.n, v3: text(row, "q1"), v4: text(row, "median"), v5: text(row, "q3"), v6: text(row, "whiskerLow"), v7: text(row, "whiskerHigh"), v8: beyond });
|
|
1131
1142
|
}
|
|
1132
1143
|
|
|
1133
1144
|
// src/core/charts/box/core.ts
|