boardplot 0.58.2 → 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 +61 -0
- package/dist/{ReaderBox-WVOT7VVJ.js → ReaderBox-4PNFZO56.js} +4 -4
- package/dist/{annotateEngine-IJ7RDLUI.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-DZUF4V4F.js → chunk-266ENWFM.js} +3 -3
- package/dist/{chunk-FRR7BJ3B.js → chunk-2E2MK4XM.js} +2 -2
- package/dist/{chunk-K5LIUWJO.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-JQSDRXLX.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-LX6X33C7.js → chunk-3WFJDXZO.js} +3 -3
- package/dist/{chunk-OGWZT3PH.js → chunk-3ZR7ZE64.js} +2 -2
- package/dist/{chunk-UISHXPGJ.js → chunk-4DLIXTDH.js} +5 -5
- package/dist/{chunk-FL57NWM7.js → chunk-4EEK4AMC.js} +2 -2
- package/dist/{chunk-5OBA4IKC.js → chunk-4LCQO46F.js} +144 -55
- package/dist/{chunk-DXNVL67C.js → chunk-4NIIQFDA.js} +147 -104
- package/dist/{chunk-ED7GLWTF.js → chunk-4PKUS5MG.js} +2 -1
- package/dist/{chunk-ECL7CSPJ.js → chunk-4WH2YGO6.js} +3 -3
- package/dist/{chunk-MXUPMGRY.js → chunk-4YKS2JDE.js} +3 -3
- package/dist/{chunk-ZQHMZUFD.js → chunk-4YZQY3AA.js} +1 -1
- package/dist/{chunk-ZDITBL4Z.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-DIN62FP4.js → chunk-5UXK5BAA.js} +37 -38
- package/dist/{chunk-7Q4T5TPZ.js → chunk-5YULK4DY.js} +6 -10
- package/dist/{chunk-QRIEJAM5.js → chunk-5ZE7SHRM.js} +3 -3
- package/dist/{chunk-KNT3GSVB.js → chunk-67744WKZ.js} +1 -1
- package/dist/{chunk-HTY6XK32.js → chunk-6CZGFTGK.js} +51 -47
- package/dist/{chunk-FVQRFBOP.js → chunk-6IIYLDSQ.js} +3 -3
- package/dist/{chunk-U5CBQHTX.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-IU2PONEI.js → chunk-7IONS4Z7.js} +3 -3
- package/dist/{chunk-ETUKDEGL.js → chunk-7QUWM5W6.js} +6 -6
- package/dist/{chunk-24PMVRVW.js → chunk-7SIZGM5S.js} +78 -53
- package/dist/{chunk-QVLHI3BE.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-U5D5NUFA.js → chunk-7YJSSPQX.js} +31 -28
- package/dist/{chunk-4GKVFHJH.js → chunk-7ZXIHEZS.js} +4 -4
- package/dist/{chunk-FJA5EUE7.js → chunk-A3SOYL6F.js} +3 -3
- package/dist/{chunk-CAE6E3NW.js → chunk-ADLKZEML.js} +31 -64
- package/dist/{chunk-KNGC2STY.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-D3UPBA4R.js → chunk-AUSZDYGE.js} +9 -7
- package/dist/{chunk-ZUG7EYEM.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-COQSFON4.js → chunk-BJJYNTVJ.js} +1 -1
- package/dist/{chunk-NS4SBO47.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-JDLT4YV6.js → chunk-CV5KCQD3.js} +72 -79
- package/dist/{chunk-QRQFHNRF.js → chunk-CX7WUNMO.js} +22 -18
- package/dist/{chunk-YWPBYL6P.js → chunk-DANKUHCX.js} +41 -40
- package/dist/{chunk-IDXYHDQY.js → chunk-DBKMJWPO.js} +1 -1
- package/dist/{chunk-K672I6R6.js → chunk-DEJ27Y2P.js} +138 -91
- package/dist/{chunk-HTQGJQZN.js → chunk-DITI57ZB.js} +1 -1
- package/dist/{chunk-WRI44CHA.js → chunk-DO7MMF4C.js} +86 -43
- package/dist/{chunk-NTUTJY33.js → chunk-DUDVHQD6.js} +7 -7
- package/dist/{chunk-RKPN6KN7.js → chunk-DXLWMK24.js} +3 -3
- package/dist/{chunk-DQECTZPF.js → chunk-DYD7W3Y6.js} +15 -16
- package/dist/{chunk-AU5PXIE3.js → chunk-DZBT7AWJ.js} +2 -2
- package/dist/{chunk-I7V6LXHD.js → chunk-E4KHHC46.js} +16 -16
- package/dist/{chunk-K2AOKBGW.js → chunk-E62SXDRT.js} +2 -2
- package/dist/{chunk-BAT77TKB.js → chunk-EADD6NNQ.js} +73 -79
- package/dist/{chunk-CMPHT2LS.js → chunk-EH23CIC5.js} +4 -4
- package/dist/{chunk-DTIV2NIZ.js → chunk-EJA5EANI.js} +47 -26
- package/dist/{chunk-VZWIRNQ4.js → chunk-EWGFOEJB.js} +126 -65
- package/dist/{chunk-SVPSNDLL.js → chunk-EWMPUCIG.js} +37 -37
- package/dist/{chunk-H6WX7J5M.js → chunk-EZ5KUBYF.js} +38 -27
- package/dist/{chunk-IUEUVLT3.js → chunk-F2N5BUBK.js} +12 -13
- package/dist/{chunk-VJ7VBB6S.js → chunk-F7QCIJAY.js} +1 -1
- package/dist/{chunk-ANKBTBWD.js → chunk-FB36HSY2.js} +4 -4
- package/dist/{chunk-F3XOBFS4.js → chunk-FBIMTKYK.js} +3 -10
- package/dist/{chunk-4NEXP7IB.js → chunk-FMVXXKSW.js} +3 -3
- package/dist/{chunk-GOJI2HVL.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-L3BVYKA6.js → chunk-GDE2JINW.js} +11 -11
- package/dist/{chunk-RLB7QCTK.js → chunk-GEEHXLFQ.js} +7 -6
- package/dist/{chunk-S6XM22RZ.js → chunk-GGFT6IIM.js} +3 -3
- package/dist/{chunk-KTOWOMQP.js → chunk-GIJM4MP4.js} +5 -5
- package/dist/{chunk-UY34DDUM.js → chunk-GNK7RTO4.js} +3 -3
- package/dist/{chunk-BAOUMAH6.js → chunk-GSHRYDJM.js} +1 -1
- package/dist/{chunk-RXDCT5TD.js → chunk-GWDKUKOJ.js} +96 -321
- package/dist/{chunk-XMX4PCFL.js → chunk-GZYMHC44.js} +2 -2
- package/dist/{chunk-RK5JTZFI.js → chunk-HBKZC5BH.js} +2 -2
- package/dist/{chunk-WXMH66N5.js → chunk-HC4UW7MB.js} +4 -4
- package/dist/{chunk-ZRI6VYNF.js → chunk-HFDU2E7C.js} +27 -21
- package/dist/{chunk-M6PYA4FO.js → chunk-HW67YGJC.js} +1 -1
- package/dist/{chunk-C4DN27QI.js → chunk-I65BCUVH.js} +3 -3
- package/dist/{chunk-SHFXHUKJ.js → chunk-ICERP2YF.js} +3 -3
- package/dist/{chunk-KG7LKHD7.js → chunk-ICJUN47O.js} +2 -2
- package/dist/{chunk-QMUCI2UU.js → chunk-ID5PE4KM.js} +3 -3
- package/dist/{chunk-DOYJ2O2C.js → chunk-IDJVUZAA.js} +3 -3
- package/dist/{chunk-WDDPQUT2.js → chunk-IQRRT32Q.js} +2 -2
- package/dist/{chunk-WHIO5L6Z.js → chunk-ISMFUWOP.js} +3 -3
- package/dist/{chunk-4X7FNGGM.js → chunk-IX2SLULO.js} +3 -3
- package/dist/{chunk-4G5QQ5TH.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-UK5LXRUN.js → chunk-JIB74SQS.js} +6 -6
- package/dist/{chunk-ZIVCPXXL.js → chunk-JOX252XQ.js} +5 -5
- package/dist/{chunk-YC6W7EVG.js → chunk-JRM22ULA.js} +54 -45
- package/dist/{chunk-V5CWUATF.js → chunk-JYSS5ZZF.js} +5 -5
- package/dist/{chunk-OJ5CCTNY.js → chunk-KRIYGX3N.js} +3 -3
- package/dist/{chunk-XRRG4MBM.js → chunk-KWMQNKGX.js} +2 -2
- package/dist/{chunk-4EDPXQR7.js → chunk-LADFOYH7.js} +40 -27
- package/dist/{chunk-P6KEM5N7.js → chunk-LC4KDLUE.js} +3 -3
- package/dist/{chunk-SAMTYEWB.js → chunk-LLECS747.js} +4 -4
- package/dist/{chunk-XO4DJM33.js → chunk-LM4GVVPM.js} +16 -10
- package/dist/{chunk-EHRRHSPV.js → chunk-LPLRXEOT.js} +55 -19
- package/dist/{chunk-S4L7LXWX.js → chunk-M2FF4IPF.js} +16 -7
- package/dist/{chunk-4JGBCBDZ.js → chunk-MF6XGFHB.js} +1 -1
- package/dist/{chunk-O3U6IOIO.js → chunk-MOBRWYUQ.js} +2 -2
- package/dist/{chunk-CDUR3KWV.js → chunk-MOPY5REE.js} +2 -2
- package/dist/{chunk-LLEDONMT.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-NM6IWRTB.js → chunk-NIL6TYAN.js} +4 -4
- package/dist/{chunk-VGEHOB25.js → chunk-NPDF7HEH.js} +2 -2
- package/dist/{chunk-JMMKOICP.js → chunk-NUASZPS7.js} +1 -1
- package/dist/{chunk-QI47HSZD.js → chunk-NWUEA42V.js} +3 -3
- package/dist/{chunk-O4FCIOOY.js → chunk-NZGQLR4X.js} +8 -8
- package/dist/{chunk-TRGQLVJV.js → chunk-O32L5FK2.js} +3 -3
- package/dist/{chunk-DJRPY7AR.js → chunk-O623CYPA.js} +3 -3
- package/dist/{chunk-7OZCLJAG.js → chunk-OJR5GPCN.js} +3 -3
- package/dist/{chunk-C47POAC5.js → chunk-OL6HVC6K.js} +1 -1
- package/dist/{chunk-3MGXQARA.js → chunk-OM5MAJST.js} +68 -57
- package/dist/{chunk-CLJWE3JQ.js → chunk-OTOASFG4.js} +92 -35
- package/dist/{chunk-KF2HYUXN.js → chunk-P3N74SZ5.js} +3 -3
- package/dist/{chunk-J3GUMT27.js → chunk-PHQGGR5O.js} +3 -3
- package/dist/{chunk-YQZCMPN7.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-CRTRY3IQ.js → chunk-QDFX2KAP.js} +2 -2
- package/dist/{chunk-RAPIBQ6W.js → chunk-QKDDGDRF.js} +10 -10
- package/dist/{chunk-P2WZQQCC.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-BYPUPHRW.js → chunk-REIIGIJG.js} +3 -3
- package/dist/{chunk-K4OR5AP5.js → chunk-RF2REMRV.js} +6 -6
- package/dist/{chunk-3MFVJMP6.js → chunk-RF6ZHX5F.js} +1 -1
- package/dist/{chunk-AYIK7HVV.js → chunk-RLX6VODQ.js} +9 -2
- package/dist/{chunk-KWIP5YRA.js → chunk-RPS7G77V.js} +3 -3
- package/dist/{chunk-LBCSRQGW.js → chunk-RSDGBNXP.js} +5 -5
- package/dist/{chunk-MP5UOUGM.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-V7MFF5A4.js → chunk-SE6LBMRJ.js} +137 -62
- package/dist/{chunk-MCRRURTO.js → chunk-SFRMBCVY.js} +3 -3
- package/dist/{chunk-UUK73ZCT.js → chunk-SNJ3FZXC.js} +14 -12
- package/dist/{chunk-H7GFUA6G.js → chunk-SXCFMPNM.js} +3 -3
- package/dist/{chunk-SGDWLXUC.js → chunk-SY7JC3PH.js} +1 -1
- package/dist/{chunk-UXPR6TEZ.js → chunk-T4CFY4YT.js} +4 -4
- package/dist/{chunk-5SVGTQTW.js → chunk-TASEX7VA.js} +1 -1
- package/dist/{chunk-UB7LT72S.js → chunk-TCWJQIVQ.js} +123 -71
- package/dist/{chunk-SFBB4GVQ.js → chunk-TEZWFQB7.js} +6 -6
- package/dist/{chunk-GHCU6OSE.js → chunk-TLKRYDH3.js} +2 -2
- package/dist/{chunk-MH6MGYPS.js → chunk-TMVERETB.js} +23 -332
- package/dist/{chunk-5LPLVLLA.js → chunk-TQFBLSZJ.js} +44 -27
- package/dist/{chunk-5FOB6QGF.js → chunk-U4WG46QP.js} +117 -43
- package/dist/{chunk-LJDATBPB.js → chunk-U75MMLNQ.js} +3 -6
- package/dist/{chunk-SB7MASJU.js → chunk-UFGJNSSL.js} +1 -1
- package/dist/{chunk-FB6X7QHA.js → chunk-UGHJHJKY.js} +1 -1
- package/dist/{chunk-MIJPESMQ.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-OCPVQZCC.js → chunk-UV77Y7QK.js} +11 -5
- package/dist/{chunk-PMT75APP.js → chunk-UXJXA4NP.js} +1 -1
- package/dist/{chunk-CPPFF3OB.js → chunk-UZDQFUHO.js} +3 -3
- package/dist/{chunk-S3I6F4IO.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-YFQW73AV.js → chunk-VLMKGQ33.js} +13 -13
- package/dist/{chunk-3AWE5535.js → chunk-VMLVZW4F.js} +39 -36
- package/dist/{chunk-YT5MTKED.js → chunk-VT6PDWUA.js} +78 -78
- package/dist/{chunk-GQYT7G4F.js → chunk-VTUSC24F.js} +2 -2
- package/dist/{chunk-NMQH4S2F.js → chunk-VVWTD4XP.js} +9 -9
- package/dist/{chunk-OQA3DJH4.js → chunk-VZVPN7NT.js} +3 -3
- package/dist/{chunk-Z3WQXVFV.js → chunk-W4ZLMK6Z.js} +1 -1
- package/dist/{chunk-LOFR5HOQ.js → chunk-W6NEWQZU.js} +20 -18
- package/dist/{chunk-DZYTXZNS.js → chunk-WD5NJHZG.js} +2 -2
- package/dist/{chunk-2WQSH3HV.js → chunk-WTH3KQDM.js} +2 -2
- package/dist/{chunk-UQBNY2UU.js → chunk-WTWM4RK6.js} +1 -1
- package/dist/{chunk-XJC37XXA.js → chunk-WZNO3LUF.js} +3 -3
- package/dist/{chunk-GQ3CMAOD.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-IJU5PAIS.js → chunk-XETSLYFD.js} +3 -3
- package/dist/{chunk-Z7EAEWR3.js → chunk-XFDNAR4S.js} +16 -27
- package/dist/{chunk-IXQNKI6G.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-ESSNZ3VQ.js → chunk-XMII3G47.js} +3 -3
- package/dist/{chunk-QNEVEBIR.js → chunk-XRPZJDAK.js} +101 -72
- package/dist/{chunk-IPBOREIY.js → chunk-XUEX5WTR.js} +1 -1
- package/dist/{chunk-ZYCB2CJJ.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-36RTBB37.js → chunk-XWUHUTXX.js} +24 -18
- package/dist/{chunk-AIU3Y4L5.js → chunk-XXYV5UEM.js} +50 -49
- package/dist/{chunk-KVIWD6MV.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-46JPQLR2.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-F6IPP33V.js → chunk-YM4MVABU.js} +56 -24
- package/dist/{chunk-GOFS336W.js → chunk-YM7MO7WI.js} +1 -1
- package/dist/{chunk-A64R244B.js → chunk-YOUYJHW3.js} +3 -3
- package/dist/{chunk-Z7LBIXNV.js → chunk-YPELB4Q7.js} +3 -3
- package/dist/{chunk-HXGSNLIW.js → chunk-YRCIG4IO.js} +8 -7
- package/dist/{chunk-B6BEPKEE.js → chunk-ZIQR2CNM.js} +7 -7
- package/dist/{chunk-ZHGFJL3O.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-VA3SBRCT.js → core-2PT7IROA.js} +2 -1
- package/dist/{core-JDNTWP3D.js → core-34YTH4KN.js} +1 -1
- package/dist/{core-VVHFCKCO.js → core-4ZEVWU43.js} +1 -1
- package/dist/{core-QWG23TDT.js → core-64EHPUVV.js} +1 -1
- package/dist/{core-SQUKC752.js → core-6KO5AEUH.js} +1 -1
- package/dist/{core-Y7Q7FR65.js → core-7WLD237S.js} +1 -1
- package/dist/{core-TBPO7LER.js → core-A2MERE3C.js} +1 -1
- package/dist/{core-PARPIO5L.js → core-AVNB2Q3G.js} +2 -1
- package/dist/{core-DIVRGZGD.js → core-B7KOBTRL.js} +1 -1
- package/dist/{core-HEQ4MJA5.js → core-BOOD7ZUQ.js} +1 -1
- package/dist/{core-QRRWZUTR.js → core-BOU34T23.js} +1 -1
- package/dist/{core-G2TWJHKM.js → core-BQ2I77OF.js} +2 -1
- package/dist/{core-6YHAYDG2.js → core-BSEXRZD6.js} +1 -1
- package/dist/{core-DSI2ZK5C.js → core-CXEEM26F.js} +1 -1
- package/dist/{core-YMX3VETP.js → core-EHMPBG6Q.js} +1 -1
- package/dist/{core-B3AVFEWH.js → core-FXC4TB2K.js} +1 -1
- package/dist/{core-PJHQY3CR.js → core-HMS72VO6.js} +1 -1
- package/dist/{core-LZF7CC2E.js → core-I2GPMB2B.js} +1 -1
- package/dist/{core-PL2T5XOC.js → core-IQC6H4A7.js} +1 -1
- package/dist/{core-HKKPL444.js → core-IYEFTP6C.js} +1 -1
- package/dist/{core-HWDAFGAI.js → core-J2QTOU4D.js} +1 -1
- package/dist/{core-FS3AFDBX.js → core-JJLIPTEW.js} +1 -1
- package/dist/{core-I23MMHHJ.js → core-LCP44UYI.js} +1 -2
- package/dist/{core-Y74GS6HN.js → core-MBNVENCZ.js} +1 -1
- package/dist/{core-VZT7F5AI.js → core-MVIK7FAJ.js} +2 -1
- package/dist/{core-FKW6RSGU.js → core-N4OKPNXQ.js} +1 -1
- package/dist/{core-7K35DCB7.js → core-Q4IILTGO.js} +1 -1
- package/dist/{core-WXPK24YD.js → core-QCPDOQEJ.js} +2 -1
- package/dist/{core-7UMZLBSB.js → core-RVTF336C.js} +1 -1
- package/dist/{core-JWYT46N3.js → core-VGMMKEU4.js} +1 -1
- package/dist/{core-PVD4MX3R.js → core-VUVJOMUC.js} +1 -1
- package/dist/{core-3TLA5IU3.js → core-VWISBHXE.js} +1 -1
- package/dist/{core-LCK3P3DS.js → core-W3UBWZR3.js} +1 -1
- package/dist/{core-XYTCGP3I.js → core-XYQRB5WF.js} +1 -1
- package/dist/{core-SVIYWQVR.js → core-Y6DJHIYT.js} +1 -1
- package/dist/{core-NRNTVPSJ.js → core-YHWVJULU.js} +1 -1
- package/dist/{core-RHYZULNG.js → core-YJXOVNIE.js} +1 -1
- package/dist/{dataTable-HTQMPQB6.js → dataTable-3ZK3ZEZP.js} +3 -2
- package/dist/{engine-RHDMQS7T.js → engine-FSWLRWZR.js} +19 -17
- package/dist/fixtures.js +1 -1
- package/dist/index.js +14 -13
- package/dist/{main-7SMEJF5Q.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-YBW6OQUZ.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-YRLZRQ2F.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-FYY72W63.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-PWS6G27I.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 +12 -6
- 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-RYFRYLU6.js +0 -89
- package/dist/chunk-VAR3DPXR.js +0 -125
- 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
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
// src/react/schemaLoaders.ts
|
|
2
2
|
var schemaLoaders = {
|
|
3
|
-
bar: () => import("./schema-
|
|
4
|
-
bartable: () => import("./schema-
|
|
5
|
-
box: () => import("./schema-
|
|
6
|
-
bullet: () => import("./schema-
|
|
7
|
-
butterfly: () => import("./schema-
|
|
8
|
-
choropleth: () => import("./schema-
|
|
9
|
-
cohort: () => import("./schema-
|
|
10
|
-
column: () => import("./schema-
|
|
11
|
-
combo: () => import("./schema-
|
|
12
|
-
creative: () => import("./schema-
|
|
13
|
-
diagram: () => import("./schema-
|
|
14
|
-
dimswitch: () => import("./schema-
|
|
15
|
-
dot: () => import("./schema-
|
|
16
|
-
funnel: () => import("./schema-
|
|
17
|
-
gantt: () => import("./schema-
|
|
18
|
-
grid: () => import("./schema-
|
|
19
|
-
heatmap: () => import("./schema-
|
|
20
|
-
histogram: () => import("./schema-
|
|
21
|
-
kpi: () => import("./schema-
|
|
22
|
-
likert: () => import("./schema-
|
|
23
|
-
line: () => import("./schema-
|
|
24
|
-
mekko: () => import("./schema-
|
|
25
|
-
pareto: () => import("./schema-
|
|
26
|
-
pie: () => import("./schema-
|
|
27
|
-
pvm: () => import("./schema-
|
|
28
|
-
pyramid: () => import("./schema-
|
|
29
|
-
sankey: () => import("./schema-
|
|
30
|
-
scatter: () => import("./schema-
|
|
31
|
-
slope: () => import("./schema-
|
|
32
|
-
sparkline: () => import("./schema-
|
|
33
|
-
status: () => import("./schema-
|
|
34
|
-
table: () => import("./schema-
|
|
35
|
-
tilemap: () => import("./schema-
|
|
36
|
-
treemap: () => import("./schema-
|
|
37
|
-
variance: () => import("./schema-
|
|
38
|
-
waffle: () => import("./schema-
|
|
39
|
-
waterfall: () => import("./schema-
|
|
3
|
+
bar: () => import("./schema-5OLQ54J5.js").then((module) => ({ type: "bar", dataSchema: module.barDataSchema, optionsSchema: module.barOptionsSchema })),
|
|
4
|
+
bartable: () => import("./schema-WDKBCN3V.js").then((module) => ({ type: "bartable", dataSchema: module.bartableDataSchema, optionsSchema: module.bartableOptionsSchema })),
|
|
5
|
+
box: () => import("./schema-HAMPGUH3.js").then((module) => ({ type: "box", dataSchema: module.boxDataSchema, optionsSchema: module.boxOptionsSchema })),
|
|
6
|
+
bullet: () => import("./schema-KWCIIIGP.js").then((module) => ({ type: "bullet", dataSchema: module.bulletDataSchema, optionsSchema: module.bulletOptionsSchema })),
|
|
7
|
+
butterfly: () => import("./schema-GTLGAPCU.js").then((module) => ({ type: "butterfly", dataSchema: module.butterflyDataSchema, optionsSchema: module.butterflyOptionsSchema })),
|
|
8
|
+
choropleth: () => import("./schema-VH4AW62Z.js").then((module) => ({ type: "choropleth", dataSchema: module.choroplethDataSchema, optionsSchema: module.choroplethOptionsSchema })),
|
|
9
|
+
cohort: () => import("./schema-AM2KS6ZC.js").then((module) => ({ type: "cohort", dataSchema: module.cohortDataSchema, optionsSchema: module.cohortOptionsSchema })),
|
|
10
|
+
column: () => import("./schema-YVBUY7NH.js").then((module) => ({ type: "column", dataSchema: module.columnDataSchema, optionsSchema: module.columnOptionsSchema })),
|
|
11
|
+
combo: () => import("./schema-GYTWCCNA.js").then((module) => ({ type: "combo", dataSchema: module.comboDataSchema, optionsSchema: module.comboOptionsSchema })),
|
|
12
|
+
creative: () => import("./schema-4YIYGGOJ.js").then((module) => ({ type: "creative", dataSchema: module.creativeDataSchema, optionsSchema: module.creativeOptionsSchema })),
|
|
13
|
+
diagram: () => import("./schema-A4U4RDKJ.js").then((module) => ({ type: "diagram", dataSchema: module.diagramDataSchema, optionsSchema: module.diagramOptionsSchema })),
|
|
14
|
+
dimswitch: () => import("./schema-YCKUQ3FF.js").then((module) => ({ type: "dimswitch", dataSchema: module.dimswitchDataSchema, optionsSchema: module.dimswitchOptionsSchema })),
|
|
15
|
+
dot: () => import("./schema-LGYHJPXU.js").then((module) => ({ type: "dot", dataSchema: module.dotDataSchema, optionsSchema: module.dotOptionsSchema, aliasDefaults: { dumbbell: { variant: "dumbbell" }, lollipop: { variant: "lollipop" } } })),
|
|
16
|
+
funnel: () => import("./schema-NNNG7CWG.js").then((module) => ({ type: "funnel", dataSchema: module.funnelDataSchema, optionsSchema: module.funnelOptionsSchema })),
|
|
17
|
+
gantt: () => import("./schema-3LRC5TOZ.js").then((module) => ({ type: "gantt", dataSchema: module.ganttDataSchema, optionsSchema: module.ganttOptionsSchema })),
|
|
18
|
+
grid: () => import("./schema-GUDG343K.js").then((module) => ({ type: "grid", dataSchema: module.gridDataSchema, optionsSchema: module.gridOptionsSchema, dataSchemaByOption: { stack: module.metricStackDataSchema } })),
|
|
19
|
+
heatmap: () => import("./schema-SQ2GYLMI.js").then((module) => ({ type: "heatmap", dataSchema: module.heatmapDataSchema, optionsSchema: module.heatmapOptionsSchema })),
|
|
20
|
+
histogram: () => import("./schema-5SVPR3EU.js").then((module) => ({ type: "histogram", dataSchema: module.histogramDataSchema, optionsSchema: module.histogramOptionsSchema })),
|
|
21
|
+
kpi: () => import("./schema-IYLRZNFB.js").then((module) => ({ type: "kpi", dataSchema: module.kpiDataSchema, optionsSchema: module.kpiOptionsSchema })),
|
|
22
|
+
likert: () => import("./schema-KBV2JB2A.js").then((module) => ({ type: "likert", dataSchema: module.likertDataSchema, optionsSchema: module.likertOptionsSchema })),
|
|
23
|
+
line: () => import("./schema-SUDJBIHX.js").then((module) => ({ type: "line", dataSchema: module.lineDataSchema, optionsSchema: module.lineOptionsSchema })),
|
|
24
|
+
mekko: () => import("./schema-PAKZIYQF.js").then((module) => ({ type: "mekko", dataSchema: module.mekkoDataSchema, optionsSchema: module.mekkoOptionsSchema, aliasDefaults: { "bar-mekko": { variant: "bar" } } })),
|
|
25
|
+
pareto: () => import("./schema-FQWENOJY.js").then((module) => ({ type: "pareto", dataSchema: module.paretoDataSchema, optionsSchema: module.paretoOptionsSchema })),
|
|
26
|
+
pie: () => import("./schema-D3ELHESU.js").then((module) => ({ type: "pie", dataSchema: module.pieDataSchema, optionsSchema: module.pieOptionsSchema })),
|
|
27
|
+
pvm: () => import("./schema-GYVYJEL3.js").then((module) => ({ type: "pvm", dataSchema: module.pvmDataSchema, optionsSchema: module.pvmOptionsSchema })),
|
|
28
|
+
pyramid: () => import("./schema-IYBZPCM4.js").then((module) => ({ type: "pyramid", dataSchema: module.pyramidDataSchema, optionsSchema: module.pyramidOptionsSchema })),
|
|
29
|
+
sankey: () => import("./schema-FBIEOKO2.js").then((module) => ({ type: "sankey", dataSchema: module.sankeyDataSchema, optionsSchema: module.sankeyOptionsSchema })),
|
|
30
|
+
scatter: () => import("./schema-P2JYSV32.js").then((module) => ({ type: "scatter", dataSchema: module.scatterDataSchema, optionsSchema: module.scatterOptionsSchema })),
|
|
31
|
+
slope: () => import("./schema-UNYDUIL5.js").then((module) => ({ type: "slope", dataSchema: module.slopeDataSchema, optionsSchema: module.slopeOptionsSchema })),
|
|
32
|
+
sparkline: () => import("./schema-LX4EXDTI.js").then((module) => ({ type: "sparkline", dataSchema: module.sparklineDataSchema, optionsSchema: module.sparklineOptionsSchema })),
|
|
33
|
+
status: () => import("./schema-TRPPZCIR.js").then((module) => ({ type: "status", dataSchema: module.statusDataSchema, optionsSchema: module.statusOptionsSchema })),
|
|
34
|
+
table: () => import("./schema-FPDLOIA6.js").then((module) => ({ type: "table", dataSchema: module.tableDataSchema, optionsSchema: module.tableOptionsSchema })),
|
|
35
|
+
tilemap: () => import("./schema-CBLNGK2F.js").then((module) => ({ type: "tilemap", dataSchema: module.tilemapDataSchema, optionsSchema: module.tilemapOptionsSchema })),
|
|
36
|
+
treemap: () => import("./schema-2ACHQTR3.js").then((module) => ({ type: "treemap", dataSchema: module.treemapDataSchema, optionsSchema: module.treemapOptionsSchema, aliasDefaults: { "voronoi-treemap": { variant: "circle" } } })),
|
|
37
|
+
variance: () => import("./schema-4HGZZNUL.js").then((module) => ({ type: "variance", dataSchema: module.varianceDataSchema, optionsSchema: module.varianceOptionsSchema })),
|
|
38
|
+
waffle: () => import("./schema-C25ECGJL.js").then((module) => ({ type: "waffle", dataSchema: module.waffleDataSchema, optionsSchema: module.waffleOptionsSchema })),
|
|
39
|
+
waterfall: () => import("./schema-LDF6HORS.js").then((module) => ({ type: "waterfall", dataSchema: module.waterfallDataSchema, optionsSchema: module.waterfallOptionsSchema }))
|
|
40
40
|
}, chartTypeAliases = {
|
|
41
41
|
bartable: ["bar-table", "table-bars"],
|
|
42
42
|
box: ["box-and-whisker", "boxplot"],
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
structureCount
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YDYZWCUQ.js";
|
|
4
4
|
import {
|
|
5
5
|
spread1DResult
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YM4MVABU.js";
|
|
7
7
|
import {
|
|
8
8
|
composedTextRole
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AUSZDYGE.js";
|
|
10
10
|
import {
|
|
11
11
|
chartStrings,
|
|
12
12
|
formatAutomaticNumber,
|
|
13
13
|
stringFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FYFXOLWI.js";
|
|
15
15
|
import {
|
|
16
16
|
dashToken,
|
|
17
17
|
rectContains,
|
|
18
18
|
round2,
|
|
19
19
|
strokeToken
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XAH4EWJT.js";
|
|
21
21
|
import {
|
|
22
22
|
NormalizeError
|
|
23
23
|
} from "./chunk-RJICOOB3.js";
|
|
@@ -169,7 +169,10 @@ function boundFormatter(statFmt) {
|
|
|
169
169
|
return text;
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function corridorTexts(fmt, low, high) {
|
|
173
|
+
return { low: fmt(low), high: fmt(high) };
|
|
174
|
+
}
|
|
175
|
+
function anomalyRule(anomalySpec, present, statFmt, plainFmt, warnings, words, locale, ruleStats) {
|
|
173
176
|
let values = present.map((p) => p.value), n = values.length, flags = [], usable = !0, median = null, centre = null, mad = null, scale = null, corridor = null, k = null, baseline = "authored", rule, counts;
|
|
174
177
|
if (anomalySpec.method === "mad")
|
|
175
178
|
if (k = anomalySpec.k ?? 3.5, baseline = anomalySpec.baseline ?? "zero", n < ANOMALY_MIN_N)
|
|
@@ -201,19 +204,18 @@ function anomalyRule(anomalySpec, present, statFmt, plainFmt, warnings, words, l
|
|
|
201
204
|
factor: plainFmt(MAD_SIGMA),
|
|
202
205
|
mad: statFmt(mad),
|
|
203
206
|
centre: stringFields(baseline === "zero" ? words.anomalyCentreZero : words.anomalyCentreMedian, { median: statFmt(dataMedian) }),
|
|
204
|
-
|
|
205
|
-
high: boundFormatter(statFmt)(corridorHigh),
|
|
207
|
+
...corridorTexts(ruleStats ? ruleStats.set([corridorLow, corridorHigh]) : boundFormatter(statFmt), corridorLow, corridorHigh),
|
|
206
208
|
count: n
|
|
207
209
|
});
|
|
208
210
|
}
|
|
209
211
|
}
|
|
210
212
|
else {
|
|
211
|
-
let low = anomalySpec.low, high = anomalySpec.high;
|
|
213
|
+
let low = anomalySpec.low, high = anomalySpec.high, authoredBound = ruleStats?.level ?? statFmt;
|
|
212
214
|
corridor = { low: low ?? null, high: high ?? null };
|
|
213
215
|
for (let p of present)
|
|
214
216
|
(low !== void 0 && p.value < low || high !== void 0 && p.value > high) && flags.push({ categoryId: p.categoryId, value: p.value, score: null });
|
|
215
217
|
counts = [structureCount("observations", n, `n = ${n}`)], rule = stringFields(words.anomalyThresholdRule, {
|
|
216
|
-
bounds: low !== void 0 && high !== void 0 ? stringFields(words.outsideBounds, { low:
|
|
218
|
+
bounds: low !== void 0 && high !== void 0 ? stringFields(words.outsideBounds, { low: authoredBound(low), high: authoredBound(high) }) : stringFields(low !== void 0 ? words.belowBound : words.aboveBound, { value: authoredBound(low ?? high) }),
|
|
217
219
|
count: n
|
|
218
220
|
});
|
|
219
221
|
}
|
|
@@ -250,14 +252,14 @@ function anomalyFlagWarnings(present, usable, flags, fmt, warnings) {
|
|
|
250
252
|
});
|
|
251
253
|
}
|
|
252
254
|
}
|
|
253
|
-
function columnAnomalyModel(anomalySpec, cats, series, absOf, fmt, statFmt, locale, warnings, strings) {
|
|
255
|
+
function columnAnomalyModel(anomalySpec, cats, series, absOf, fmt, statFmt, locale, warnings, strings, rule) {
|
|
254
256
|
let present = [];
|
|
255
257
|
return cats.forEach((c, ci) => {
|
|
256
258
|
let v = absOf(series, ci);
|
|
257
259
|
v !== null && Number.isFinite(v) && present.push({ categoryId: c.id, value: v });
|
|
258
|
-
}), anomalyModel(anomalySpec, present, fmt, statFmt, locale, warnings, strings);
|
|
260
|
+
}), anomalyModel(anomalySpec, present, fmt, statFmt, locale, warnings, strings, rule);
|
|
259
261
|
}
|
|
260
|
-
function anomalyModel(anomalySpec, present, fmt, statFmt, locale, warnings, strings) {
|
|
262
|
+
function anomalyModel(anomalySpec, present, fmt, statFmt, locale, warnings, strings, rule) {
|
|
261
263
|
let plainFmt = (v) => {
|
|
262
264
|
let decimals = 4;
|
|
263
265
|
for (let d = 0; d <= 4; d++) {
|
|
@@ -268,7 +270,7 @@ function anomalyModel(anomalySpec, present, fmt, statFmt, locale, warnings, stri
|
|
|
268
270
|
}
|
|
269
271
|
}
|
|
270
272
|
return formatAutomaticNumber(v, { locale, decimals });
|
|
271
|
-
}, values = present.map((p) => p.value), ruled = anomalyRule(anomalySpec, present, statFmt, plainFmt, warnings, { ...localeStrings(locale), ...strings }, locale);
|
|
273
|
+
}, values = present.map((p) => p.value), ruled = anomalyRule(anomalySpec, present, statFmt, plainFmt, warnings, { ...localeStrings(locale), ...strings }, locale, rule);
|
|
272
274
|
anomalyFlagWarnings(present, ruled.usable, ruled.flags, fmt, warnings);
|
|
273
275
|
let anomaly = {
|
|
274
276
|
...ruled,
|
|
@@ -284,13 +286,13 @@ function anomalyModel(anomalySpec, present, fmt, statFmt, locale, warnings, stri
|
|
|
284
286
|
message: `anomaly method '${anomaly.method}', baseline '${anomaly.baseline}', k ${anomaly.k === null ? "n/a" : plainFmt(anomaly.k)}, centre ${anomaly.centre === null ? "n/a" : statFmt(anomaly.centre)}, median ${anomaly.median === null ? "n/a" : statFmt(anomaly.median)}, MAD ${anomaly.mad === null ? "n/a" : statFmt(anomaly.mad)}, scale ${anomaly.scale === null ? "n/a" : statFmt(anomaly.scale)}, n ${anomaly.n}, usable ${anomaly.usable}, flagged ${anomaly.flags.length} \u2014 ${anomaly.rule}`
|
|
285
287
|
}), { anomaly, values };
|
|
286
288
|
}
|
|
287
|
-
function anomalyCorridor(anomaly, anomalyValues, dLo, dHi, statFmt, warnings, strings) {
|
|
288
|
-
let corridorShown = { low: !1, high: !1 }, words = { ...localeStrings(), ...strings }, corridorNote = "";
|
|
289
|
+
function anomalyCorridor(anomaly, anomalyValues, dLo, dHi, statFmt, warnings, strings, rule) {
|
|
290
|
+
let corridorShown = { low: !1, high: !1 }, corridorFmt = rule && anomaly?.corridor ? anomaly.method === "threshold" ? rule.level : rule.set([anomaly.corridor.low ?? Number.NaN, anomaly.corridor.high ?? Number.NaN].filter(Number.isFinite)) : boundFormatter(statFmt), words = { ...localeStrings(), ...strings }, corridorNote = "";
|
|
289
291
|
if (anomaly?.usable && anomaly.corridor) {
|
|
290
292
|
let inDomain = (bound) => bound !== null && Number.isFinite(bound) && bound >= dLo && bound <= dHi;
|
|
291
293
|
corridorShown.low = inDomain(anomaly.corridor.low), corridorShown.high = inDomain(anomaly.corridor.high);
|
|
292
|
-
let offscale = [], missing = [];
|
|
293
|
-
if (anomaly.corridor.low !== null && !corridorShown.low && (offscale.push(anomaly.corridor.low), missing.push(stringFields(words.lowerBound, { value:
|
|
294
|
+
let offscale = [], missing = [], boundFmt = corridorFmt;
|
|
295
|
+
if (anomaly.corridor.low !== null && !corridorShown.low && (offscale.push(anomaly.corridor.low), missing.push(stringFields(words.lowerBound, { value: boundFmt(anomaly.corridor.low) }))), anomaly.corridor.high !== null && !corridorShown.high && (offscale.push(anomaly.corridor.high), missing.push(stringFields(words.upperBound, { value: boundFmt(anomaly.corridor.high) }))), offscale.length > 0) {
|
|
294
296
|
let approach = (bound) => {
|
|
295
297
|
let reach = bound < 0 ? minOf(anomalyValues) : maxOf(anomalyValues);
|
|
296
298
|
if (bound === 0 || !Number.isFinite(bound)) return `the data reaches ${statFmt(reach)}`;
|
|
@@ -306,7 +308,7 @@ function anomalyCorridor(anomaly, anomalyValues, dLo, dHi, statFmt, warnings, st
|
|
|
306
308
|
}), corridorNote = stringFields(words.undrawnBounds, { bounds: missing.join(` ${words.and} `) });
|
|
307
309
|
}
|
|
308
310
|
}
|
|
309
|
-
return { corridorShown, corridorNote };
|
|
311
|
+
return { corridorShown, corridorNote, corridorFmt };
|
|
310
312
|
}
|
|
311
313
|
function anomalyReceipt({ flagByCategory: _lookup, counts: _counts, ...receipt }) {
|
|
312
314
|
return receipt;
|
|
@@ -314,9 +316,18 @@ function anomalyReceipt({ flagByCategory: _lookup, counts: _counts, ...receipt }
|
|
|
314
316
|
function columnCorridorPaint(colorblindSafe) {
|
|
315
317
|
return colorblindSafe ? { token: "ink" } : { token: "warn" };
|
|
316
318
|
}
|
|
317
|
-
function anomalyRuleLines(theme, anomaly, corridorShown,
|
|
318
|
-
let rules = [];
|
|
319
|
-
|
|
319
|
+
function anomalyRuleLines(theme, anomaly, corridorShown, fmts, corridorPaint, strings) {
|
|
320
|
+
let rules = [], { statFmt, corridorFmt } = fmts;
|
|
321
|
+
if (!anomaly.corridor) return rules;
|
|
322
|
+
if (corridorShown.low && anomaly.corridor.low !== null) {
|
|
323
|
+
let text = corridorFmt(anomaly.corridor.low);
|
|
324
|
+
rules.push({ id: "anomaly:corridor:low", value: anomaly.corridor.low, dash: dashToken(theme, "reference"), width: strokeToken(theme, "rule"), paint: corridorPaint, label: text, text });
|
|
325
|
+
}
|
|
326
|
+
if (corridorShown.high && anomaly.corridor.high !== null) {
|
|
327
|
+
let text = corridorFmt(anomaly.corridor.high);
|
|
328
|
+
rules.push({ id: "anomaly:corridor:high", value: anomaly.corridor.high, dash: dashToken(theme, "reference"), width: strokeToken(theme, "rule"), paint: corridorPaint, label: text, text });
|
|
329
|
+
}
|
|
330
|
+
return anomaly.baseline === "median" && anomaly.centre !== null && anomaly.usable && rules.push({ id: "anomaly:baseline", value: anomaly.centre, dash: dashToken(theme, "dotted"), lineCap: "round", width: strokeToken(theme, "rule"), paint: { token: "axis" }, label: stringFields(strings?.median ?? localeStrings().median, { value: statFmt(anomaly.centre) }), text: statFmt(anomaly.centre) }), rules;
|
|
320
331
|
}
|
|
321
332
|
function anomalyLegendItems(theme, anomaly, corridorShown, statFmt, corridorPaint, strings, language) {
|
|
322
333
|
if (!anomaly?.usable) return [];
|
|
@@ -353,8 +364,8 @@ function emitAnomalyFlag(nodes, claims, at, paint, owner, display) {
|
|
|
353
364
|
), markerNodeId;
|
|
354
365
|
}
|
|
355
366
|
function drawAnomalyRules(theme, input) {
|
|
356
|
-
let { plot, y, labelX, font, measure, nodes, claims
|
|
357
|
-
for (let [i, { id, value, dash, width, paint, label, lineCap }] of input.rules.entries()) {
|
|
367
|
+
let { plot, y, labelX, font, measure, nodes, claims } = input, measured = input.rules.map((rule) => measure(rule.label, font)), spread = spread1DResult(input.rules.map((rule, i) => ({ desired: y(rule.value), size: measured[i].height })), [plot.y, plot.y + plot.h], 4).positions;
|
|
368
|
+
for (let [i, { id, value, dash, width, paint, label, lineCap, text }] of input.rules.entries()) {
|
|
358
369
|
let ry = y(value);
|
|
359
370
|
nodes.push({
|
|
360
371
|
t: "line",
|
|
@@ -369,7 +380,7 @@ function drawAnomalyRules(theme, input) {
|
|
|
369
380
|
lineCap,
|
|
370
381
|
owner: {},
|
|
371
382
|
part: "anomalyCorridor",
|
|
372
|
-
display: { value:
|
|
383
|
+
display: { value: text, state: "corridor" }
|
|
373
384
|
}), claims.claim({ x: plot.x, y: ry - 1, w: plot.w, h: 2 }, "annotation", { annotationId: id }, "referenceLine");
|
|
374
385
|
let labelTop = spread[i] - measured[i].height / 2;
|
|
375
386
|
Math.abs(spread[i] - ry) > 1 && nodes.push({
|
|
@@ -393,7 +404,7 @@ function drawAnomalyRules(theme, input) {
|
|
|
393
404
|
owner: {},
|
|
394
405
|
part: "anomalyCorridor",
|
|
395
406
|
role: composedTextRole(label),
|
|
396
|
-
display: { value:
|
|
407
|
+
display: { value: text, state: "corridor" }
|
|
397
408
|
}), claims.claim(
|
|
398
409
|
{ x: labelX, y: labelTop, w: measured[i].width, h: measured[i].height },
|
|
399
410
|
"annotation",
|
|
@@ -406,7 +417,7 @@ function anomalyRuleReserve(rules, font, measure) {
|
|
|
406
417
|
}
|
|
407
418
|
function lineAnomalyFurniture(theme, input) {
|
|
408
419
|
let { anomaly, plot } = input;
|
|
409
|
-
drawAnomalyRules(theme, { ...input, rules: anomalyRuleLines(theme, anomaly, input.corridorShown, input
|
|
420
|
+
drawAnomalyRules(theme, { ...input, rules: anomalyRuleLines(theme, anomaly, input.corridorShown, input, input.corridorPaint, input.strings) });
|
|
410
421
|
let flags = /* @__PURE__ */ new Map(), pointAt = new Map(input.points.map((point) => [point.categoryId, point])), clear = 3.5 + ANOMALY_FLAG_GAP;
|
|
411
422
|
for (let flag of anomaly.flags) {
|
|
412
423
|
let point = pointAt.get(flag.categoryId);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TableChart,
|
|
3
3
|
TableFloorRequestContext,
|
|
4
4
|
useRowsGate
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ADLKZEML.js";
|
|
6
6
|
import {
|
|
7
7
|
sharedKeys10,
|
|
8
8
|
sharedKeys5,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
frameSize,
|
|
19
19
|
linkedBinding,
|
|
20
20
|
rebindable
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VLMKGQ33.js";
|
|
22
22
|
import {
|
|
23
23
|
freezeValue,
|
|
24
24
|
useStableValue
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-UTWLJ6AZ.js";
|
|
26
26
|
import {
|
|
27
27
|
dimswitchCore
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XWUHUTXX.js";
|
|
29
29
|
import {
|
|
30
30
|
LABELS_ONLY,
|
|
31
31
|
PARTIAL_NOTE_OFF_FRAME,
|
|
@@ -34,27 +34,27 @@ import {
|
|
|
34
34
|
foreignRowId,
|
|
35
35
|
hiddenTotalFoldWarnings,
|
|
36
36
|
partialNoteWarning
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-OTOASFG4.js";
|
|
38
38
|
import {
|
|
39
39
|
ENGINE_NOTE_KINDS
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-QKDDGDRF.js";
|
|
41
41
|
import {
|
|
42
42
|
registeredType,
|
|
43
43
|
withRegistered
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-4YZQY3AA.js";
|
|
45
45
|
import {
|
|
46
46
|
ENGINE_NOTES
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-FBIMTKYK.js";
|
|
48
48
|
import {
|
|
49
49
|
optionRefusals
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-YKYK6C7F.js";
|
|
51
51
|
import {
|
|
52
52
|
engineNoteMeta,
|
|
53
53
|
withEngineNotes
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-WD5NJHZG.js";
|
|
55
55
|
import {
|
|
56
56
|
retireChartSettings
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-JF743NNC.js";
|
|
58
58
|
import {
|
|
59
59
|
normalizeOptionShapes
|
|
60
60
|
} from "./chunk-6IUK6PAH.js";
|
|
@@ -158,7 +158,6 @@ function createDimSwitchChart(checkKeys, linked) {
|
|
|
158
158
|
rowLabelLead,
|
|
159
159
|
interactions,
|
|
160
160
|
onEmpty,
|
|
161
|
-
onFormatsFit,
|
|
162
161
|
portalContainer,
|
|
163
162
|
onRowSelect,
|
|
164
163
|
isRowSelectable,
|
|
@@ -171,7 +170,7 @@ function createDimSwitchChart(checkKeys, linked) {
|
|
|
171
170
|
var DimSwitchChart = createDimSwitchChart();
|
|
172
171
|
|
|
173
172
|
// src/react/charts/dimswitch.ts
|
|
174
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, highlight: 0, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, mountCollapsed: 0, paintOffscreenRows: 0, signs: 0, driverTones: 0, judgements: 0, figures: 0, columnHeads: 0, inlineVisibility: 0, magnitude: 0, nulls: 0, foldOn: 0, groupGround: 0, anchorWash: 0, stickyLabels: { head: 0, columns: 0, top: 0, sections: 0 }, frameFill: 0, heightFill: 0, rowLabelLines: 0, lastTrackFlex: 0, rowExtent: 0, sortIndicator: 0, levelOffset: 0, cellPadX: 0,
|
|
173
|
+
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, highlight: 0, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, mountCollapsed: 0, paintOffscreenRows: 0, signs: 0, driverTones: 0, judgements: 0, figures: 0, columnHeads: 0, inlineVisibility: 0, magnitude: 0, nulls: 0, foldOn: 0, groupGround: 0, anchorWash: 0, stickyLabels: { head: 0, columns: 0, top: 0, sections: 0 }, frameFill: 0, heightFill: 0, rowLabelLines: 0, lastTrackFlex: 0, rowExtent: 0, sortIndicator: 0, levelOffset: 0, cellPadX: 0, maxGrowth: 0, labelIndent: { base: 0, step: 0 }, outlineMarks: 0, encodings: sharedKeys7, columnVisibility: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0, bars: 0, rowVisibility: 0, totalPosition: 0, density: 0, variant: 0, depth: 0, splits: 0, expansion: { expanded: 0, collapsed: 0 }, order: { by: 0, desc: 0 }, show: 0, thresholds: { volume: 0, cost: 0, rate: 0, effect: 0, period: { volume: 0, cost: 0, rate: 0, effect: 0 }, prior: { volume: 0, cost: 0, rate: 0, effect: 0 }, plan: { volume: 0, cost: 0, rate: 0, effect: 0 } }, widths: { label: 0, range: 0, change: 0, period: 0 }, minimumSample: 0 } }), DimSwitchChart2 = withRegistered(createDimSwitchChart(checkOptionKeys), registeredType(dimswitchCore));
|
|
175
174
|
|
|
176
175
|
export {
|
|
177
176
|
DimSwitchChart2 as DimSwitchChart
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
} from "./chunk-Z6H5ED2I.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-E4KHHC46.js";
|
|
12
12
|
import {
|
|
13
13
|
paretoCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XFDNAR4S.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4YZQY3AA.js";
|
|
18
18
|
import {
|
|
19
19
|
linkAnnotateEngine
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4LCQO46F.js";
|
|
21
21
|
|
|
22
22
|
// src/react/charts/pareto.ts
|
|
23
23
|
linkAnnotateEngine();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
statusSquare
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2HRDOBPS.js";
|
|
4
4
|
import {
|
|
5
5
|
fieldHeadText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UGHJHJKY.js";
|
|
7
7
|
import {
|
|
8
8
|
qualifierFont
|
|
9
9
|
} from "./chunk-Z2MGTKDR.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readerFloorPx,
|
|
13
13
|
tableEmphasis,
|
|
14
14
|
tableHeadFloorPx
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XAH4EWJT.js";
|
|
16
16
|
import {
|
|
17
17
|
scaleTextPx
|
|
18
18
|
} from "./chunk-RJICOOB3.js";
|
|
@@ -112,12 +112,6 @@ var CHANGE_LINE_MIN_PX = 11, CHANGE_LINE_SIZE_STEP_PX = 1;
|
|
|
112
112
|
function changeLineFont(theme, ladder, step) {
|
|
113
113
|
return { family: theme.type.family, size: Math.max(CHANGE_LINE_MIN_PX, ladder.size(step) - CHANGE_LINE_SIZE_STEP_PX), weight: 400, lineHeight: 1.2 };
|
|
114
114
|
}
|
|
115
|
-
function changeLineFitFont(theme, ladder, step, signed, text, measure, tabular, slack) {
|
|
116
|
-
let current = changeLineFont(theme, ladder, step), previous = inlineFont(theme, ladder, step, signed);
|
|
117
|
-
if (current.size === previous.size && current.weight === previous.weight) return current;
|
|
118
|
-
let previousWidth = measure(text, figureFont(previous, tabular)).width, currentWidth = measure(text, figureFont(current, tabular)).width;
|
|
119
|
-
return previousWidth + (slack?.(previous, previousWidth) ?? 0) >= currentWidth + (slack?.(current, currentWidth) ?? 0) ? previous : current;
|
|
120
|
-
}
|
|
121
115
|
var BOLD_BROWSER_SLACK = 0.04;
|
|
122
116
|
function browserSlack(font, width) {
|
|
123
117
|
return (font.weight ?? 400) >= 600 ? Math.ceil(width * BOLD_BROWSER_SLACK) : 0;
|
|
@@ -355,7 +349,6 @@ export {
|
|
|
355
349
|
CHANGE_LINE_MIN_PX,
|
|
356
350
|
CHANGE_LINE_SIZE_STEP_PX,
|
|
357
351
|
changeLineFont,
|
|
358
|
-
changeLineFitFont,
|
|
359
352
|
browserSlack,
|
|
360
353
|
figureFont,
|
|
361
354
|
sectionChipFloor,
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-Z6H5ED2I.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-E4KHHC46.js";
|
|
12
12
|
import {
|
|
13
13
|
scatterCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GWDKUKOJ.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4YZQY3AA.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/scatter.ts
|
|
20
20
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: { value: 0, "*": 0 }, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, tickStep: 0, includeZero: 0, percent: 0, log: 0, reverse: 0, gridlines: 0, clamp: { min: 0, max: 0, x: { min: 0, max: 0 }, y: { min: 0, max: 0 } } }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, viewDomain: { x: 0, y: 0 }, axisTitles: { x: 0, y: 0 }, axisFormat: { x: 0, y: 0 }, minCount: 0, sizeBy: 0, maxPointLabels: 0, quadrants: { x: { stat: 0 }, y: { stat: 0 }, labels: { tl: 0, tr: 0, bl: 0, br: 0 }, tint: 0, captionPlacement: 0, axisNames: { x: 0, y: 0 } }, zones: { grid: { x: 0, y: 0, cells: { "[]": { id: 0, column: 0, row: 0, label: 0, tone: 0, labelAt: 0, a11y: 0 } }, xLabels: 0, yLabels: 0 }, regions: { "[]": { id: 0, points: { "[]": { x: 0, y: 0 } }, smooth: 0, label: 0, tone: 0, labelAt: 0, a11y: 0 } } }, trend: { groups: 0, label: 0 }, frontier: { x: 0, y: 0, label: 0, extend: 0, groups: 0 }, sizeLegend: { values: 0, label: 0 }, qualitativeAxes: 0, methodNote: 0 }, labels: ["point", "value"] }), ScatterChart = createChartComponent(registeredType(scatterCore), checkOptionKeys);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bareGridPlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EADD6NNQ.js";
|
|
4
4
|
import {
|
|
5
5
|
matrixTracks,
|
|
6
6
|
nameTrackRefusals,
|
|
@@ -10,26 +10,26 @@ import {
|
|
|
10
10
|
} from "./chunk-YGZEG3JV.js";
|
|
11
11
|
import {
|
|
12
12
|
rowLabelBand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MTOBNHAU.js";
|
|
14
14
|
import {
|
|
15
15
|
fittedLabel,
|
|
16
16
|
gutterBudget,
|
|
17
17
|
pinnedRowFont,
|
|
18
18
|
stepDownFont
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MOBRWYUQ.js";
|
|
20
20
|
import {
|
|
21
21
|
chartTheme
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AIPOSNVG.js";
|
|
23
23
|
import {
|
|
24
24
|
labelOn
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-77L6QGIG.js";
|
|
26
26
|
import {
|
|
27
27
|
structureCount
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YDYZWCUQ.js";
|
|
29
29
|
import {
|
|
30
30
|
headInk,
|
|
31
31
|
plainInk
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UGHJHJKY.js";
|
|
33
33
|
import {
|
|
34
34
|
generatedIdWarnings
|
|
35
35
|
} from "./chunk-SXAZDIGM.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
rowDrivenHeight,
|
|
42
42
|
rowSizing,
|
|
43
43
|
sweepHide
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YM4MVABU.js";
|
|
45
45
|
import {
|
|
46
46
|
PRIORITY,
|
|
47
47
|
authoredFootnoteCount,
|
|
@@ -53,15 +53,16 @@ import {
|
|
|
53
53
|
solveFrame,
|
|
54
54
|
solveLabels,
|
|
55
55
|
withUnprintedClaims
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-AUSZDYGE.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
58
|
+
defaultSetSpec,
|
|
59
|
+
formatWithSpec,
|
|
59
60
|
formatterFromExample,
|
|
60
61
|
seriesRasterFormatter
|
|
61
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-3JG764MI.js";
|
|
62
63
|
import {
|
|
63
64
|
chartStrings
|
|
64
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-FYFXOLWI.js";
|
|
65
66
|
import {
|
|
66
67
|
cellMeta,
|
|
67
68
|
cellValue,
|
|
@@ -81,7 +82,7 @@ import {
|
|
|
81
82
|
separationStroke,
|
|
82
83
|
strokeToken,
|
|
83
84
|
textScaleOf
|
|
84
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-XAH4EWJT.js";
|
|
85
86
|
import {
|
|
86
87
|
NormalizeError,
|
|
87
88
|
TARGET_SIZE,
|
|
@@ -148,7 +149,7 @@ function lintStatus(data, options) {
|
|
|
148
149
|
function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
149
150
|
let { rows, columns, cells, states } = normalizeStatusInput(data, options), stateById = new Map(states.map((state) => [state.id, state])), missingState = EMPTY_STATE;
|
|
150
151
|
for (; stateById.has(missingState); ) missingState = `_${missingState}`;
|
|
151
|
-
let cellByBinding = new Map(cells.map((cell) => [`${cell.row}\0${cell.col}`, cell])),
|
|
152
|
+
let cellByBinding = new Map(cells.map((cell) => [`${cell.row}\0${cell.col}`, cell])), unformatted = cells.flatMap((cell) => cell.value === void 0 || cellMeta(cell.value)?.format ? [] : [cell.value]), raster = seriesRasterFormatter(options.format, unformatted.flatMap((value) => options.format || !isPctCell(value) ? [cellValue(value)] : []), options.locale?.language, options.unit), percentCells = options.format ? void 0 : { ...defaultSetSpec(unformatted.flatMap((value) => isPctCell(value) ? [cellValue(value)] : []), options.locale?.language, void 0, { kind: "percent" }), suffix: "%" }, usedStateIds = new Set(
|
|
152
153
|
cells.filter((cell) => stateById.has(cell.state)).map((cell) => cell.state)
|
|
153
154
|
), usedStates = states.filter((state) => usedStateIds.has(state.id)), warnings = lintStatus(data, options), overrides = options.columnOverrides ?? {}, nameTrack = overrides.label;
|
|
154
155
|
pushAll(warnings, generatedIdWarnings("status", "columnOverrides", options.columnOverrides, ["label", ...columns.map((column) => column.id)])), pushAll(warnings, nameTrackRefusals(overrides, columns.map((column) => column.id)));
|
|
@@ -260,7 +261,7 @@ function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
|
260
261
|
let columnBandH = columnLabelH + COLUMN_GAP, columnPosition = options.columnLabels ?? "top", gridY = columnPosition === "top" ? framePlot.y + columnBandH : framePlot.y, gridH = Math.max(10, framePlot.h - columnBandH), cellH = Math.max(1, (gridH - (rows.length - 1) * CELL_GAP) / rows.length), rowStep = cellH + CELL_GAP, rowCenter = (index) => gridY + index * rowStep + cellH / 2, plot = { x: gridX, y: gridY, w: gridW, h: gridH }, minimumCellH = cellFont.size * (cellFont.lineHeight ?? 1.2) * (labelOn2("point") && cells.some((cell) => cell.value !== void 0) ? 2 : 1) + 4, namedCellHeights = labelOn2("point") && !keyNamesStates ? cells.flatMap((binding) => {
|
|
261
262
|
let state = stateById.get(binding.state);
|
|
262
263
|
if (!state) return [];
|
|
263
|
-
let value = binding.value === void 0 ? void 0 : valueForStatus(binding.value, raster,
|
|
264
|
+
let value = binding.value === void 0 ? void 0 : valueForStatus(binding.value, raster, percentCells), sizes = [state.label, ...value ? [value] : []].map((line) => measure(line, cellFont));
|
|
264
265
|
return Math.max(...sizes.map((size2) => size2.width)) + 8 <= bindingWidth(binding.col) ? [sizes.reduce((height, size2) => height + size2.height, 0) + 4] : [];
|
|
265
266
|
}) : [], pitchCellH = keyNamesStates ? cellW >= 72 ? 36 : cellW >= 48 ? Math.min(33, cellW) : Math.min(29, cellW) : Math.min(36, cellW);
|
|
266
267
|
if (fixedHeight && rowMaxLines === 2 && minimumRowsH > gridH)
|
|
@@ -289,7 +290,7 @@ function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
|
289
290
|
), scene = [...frameResult.nodes], marks = { cells: [] }, labelRequests = [], hostHoldsKey = options.legend === "none" && panelTypeClass(options) !== void 0, namesFit = (font) => cells.every((binding) => {
|
|
290
291
|
let state = stateById.get(binding.state);
|
|
291
292
|
if (!state) return !0;
|
|
292
|
-
let value = binding.value === void 0 ? void 0 : valueForStatus(binding.value, raster,
|
|
293
|
+
let value = binding.value === void 0 ? void 0 : valueForStatus(binding.value, raster, percentCells), lines = [state.label, ...value ? [value] : []];
|
|
293
294
|
return Math.max(...lines.map((line) => measure(line, font).width)) + 8 <= bindingWidth(binding.col) && lines.reduce((height, line) => height + measure(line, font).height, 0) + 4 <= cellH;
|
|
294
295
|
}), namesRequested = labelOn2("point") && !keyNamesStates && (options.labelDensity ?? "smart") === "full", nameFonts = [cellFont];
|
|
295
296
|
if (namesRequested)
|
|
@@ -315,7 +316,7 @@ function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
|
315
316
|
...state ? hatchOf(state) : {},
|
|
316
317
|
owner,
|
|
317
318
|
part: "cell",
|
|
318
|
-
display: { state: state?.label ?? chartString(options, "noStatus"), ...binding?.value !== void 0 ? { value: valueForStatus(binding.value, raster,
|
|
319
|
+
display: { state: state?.label ?? chartString(options, "noStatus"), ...binding?.value !== void 0 ? { value: valueForStatus(binding.value, raster, percentCells) } : {} }
|
|
319
320
|
}), state && !patternOf.get(state.id)) {
|
|
320
321
|
let fill = paintForState(state), inset = Math.min(rect.w / 2, rect.h / 2, Math.max(strokeToken(theme, "rule"), theme.pattern.outlineStrokeWidth) / 2 + 0.01), edge = separationStroke(paintColor(theme, fill), theme.color.background, theme);
|
|
321
322
|
scene.push({
|
|
@@ -334,7 +335,7 @@ function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
|
334
335
|
});
|
|
335
336
|
}
|
|
336
337
|
occupied.claim(rect, "mark", owner, "cell");
|
|
337
|
-
let valueText = binding?.value === void 0 ? void 0 : valueForStatus(binding.value, raster,
|
|
338
|
+
let valueText = binding?.value === void 0 ? void 0 : valueForStatus(binding.value, raster, percentCells);
|
|
338
339
|
if (state && labelOn2("point")) {
|
|
339
340
|
let fit = (lines2) => {
|
|
340
341
|
let sizes = lines2.map((line) => measure(line, textFont)), size3 = { width: Math.max(...sizes.map((size4) => size4.width)), height: sizes.reduce((sum, size4) => sum + size4.height, 0) };
|
|
@@ -473,7 +474,7 @@ function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
|
473
474
|
let value = cellByBinding.get(`${label.owner.seriesId}\0${label.owner.categoryId}`)?.value;
|
|
474
475
|
if (value === void 0) continue;
|
|
475
476
|
let row = rows.find((row2) => row2.id === label.owner.seriesId), column = columns.find((column2) => column2.id === label.owner.categoryId);
|
|
476
|
-
label.noteText = `${row.label} / ${column.label}: ${valueForStatus(value, raster,
|
|
477
|
+
label.noteText = `${row.label} / ${column.label}: ${valueForStatus(value, raster, percentCells)}`;
|
|
477
478
|
}
|
|
478
479
|
pushAll(warnings, solved.warnings);
|
|
479
480
|
for (let label of solved.placed) if (label.kind === "series" && label.hidden === "collision") {
|
|
@@ -648,11 +649,11 @@ function statePaints(states, options, theme) {
|
|
|
648
649
|
let full = (state) => tones.get(state.id)?.paint ?? tonePaint(state, options, theme).paint;
|
|
649
650
|
return { plain: (state) => paints.get(state.id) ?? full(state), full };
|
|
650
651
|
}
|
|
651
|
-
function valueForStatus(value, format,
|
|
652
|
+
function valueForStatus(value, format, percentCells) {
|
|
652
653
|
let raw = cellValue(value);
|
|
653
654
|
if (raw === null) return "\u2013";
|
|
654
655
|
let meta = cellMeta(value);
|
|
655
|
-
return meta?.format ? formatterFromExample(meta.format, format.spec.locale)(raw) :
|
|
656
|
+
return meta?.format ? formatterFromExample(meta.format, format.spec.locale)(raw) : percentCells ? formatWithSpec(raw, isPctCell(value) ? percentCells : format.spec) : format.fmt(raw);
|
|
656
657
|
}
|
|
657
658
|
|
|
658
659
|
// src/core/charts/status/core.ts
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
rowOrderOption,
|
|
7
7
|
rowOverridesOption,
|
|
8
8
|
rowVisibilityOption
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B7UWG6XJ.js";
|
|
10
10
|
import {
|
|
11
11
|
addCanvasBoundsIssues,
|
|
12
12
|
baseOptionsSchema,
|
|
13
13
|
idSchema,
|
|
14
14
|
refusedBaseOptions
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JOX252XQ.js";
|
|
16
16
|
|
|
17
17
|
// src/core/charts/creative/schema.ts
|
|
18
18
|
import * as z from "zod";
|