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
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ENGINE_NOTES,
|
|
3
3
|
LABEL_WRAP_FLOOR,
|
|
4
4
|
SOFT_LABEL_CAP
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FBIMTKYK.js";
|
|
6
6
|
import {
|
|
7
7
|
chartString
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UXJXA4NP.js";
|
|
9
9
|
import {
|
|
10
10
|
bandFor
|
|
11
11
|
} from "./chunk-263SZKIL.js";
|
|
@@ -14,21 +14,24 @@ import {
|
|
|
14
14
|
} from "./chunk-ZNRSYS76.js";
|
|
15
15
|
import {
|
|
16
16
|
EMPTY_DATA
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-E62SXDRT.js";
|
|
18
18
|
import {
|
|
19
19
|
generatedIdWarnings
|
|
20
20
|
} from "./chunk-SXAZDIGM.js";
|
|
21
|
+
import {
|
|
22
|
+
fixedNumbers
|
|
23
|
+
} from "./chunk-YM4MVABU.js";
|
|
21
24
|
import {
|
|
22
25
|
cappedItems,
|
|
23
26
|
saysToDate
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AUSZDYGE.js";
|
|
25
28
|
import {
|
|
26
29
|
defaultNotePlacement,
|
|
27
30
|
disclosureNote,
|
|
28
31
|
disclosuresShown,
|
|
29
32
|
engineNote,
|
|
30
33
|
shownNoteKinds
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WD5NJHZG.js";
|
|
32
35
|
import {
|
|
33
36
|
emptyIdRecord
|
|
34
37
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -37,20 +40,28 @@ import {
|
|
|
37
40
|
LABEL_ONLY_ROW,
|
|
38
41
|
MAGNITUDE_FIGURES,
|
|
39
42
|
MAGNITUDE_GROUP,
|
|
43
|
+
PERIOD_FIGURES,
|
|
44
|
+
RULE_SET,
|
|
40
45
|
parseFormatExample,
|
|
46
|
+
percentChangeSpec,
|
|
47
|
+
readFormatExamples,
|
|
41
48
|
specUnitKind,
|
|
42
49
|
unitMagnitude
|
|
43
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-3JG764MI.js";
|
|
44
51
|
import {
|
|
52
|
+
AUTHORED_EXAMPLES,
|
|
53
|
+
UNIT_STAND_INS,
|
|
45
54
|
formatAutomaticPercent,
|
|
46
55
|
formatPercentagePoints,
|
|
56
|
+
hasFormatRecord,
|
|
47
57
|
localeStrings,
|
|
48
|
-
stringFields
|
|
49
|
-
|
|
58
|
+
stringFields,
|
|
59
|
+
withUnitStandIns
|
|
60
|
+
} from "./chunk-FYFXOLWI.js";
|
|
50
61
|
import {
|
|
51
62
|
cleanDiff,
|
|
52
63
|
cleanSum
|
|
53
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-XAH4EWJT.js";
|
|
54
65
|
import {
|
|
55
66
|
toJsonPointer
|
|
56
67
|
} from "./chunk-ZQ4VFQID.js";
|
|
@@ -62,7 +73,7 @@ import {
|
|
|
62
73
|
} from "./chunk-WYJEOMNY.js";
|
|
63
74
|
|
|
64
75
|
// src/core/charts/dimswitch/compile.ts
|
|
65
|
-
var key = (...parts) => JSON.stringify(parts)
|
|
76
|
+
var key = (...parts) => JSON.stringify(parts);
|
|
66
77
|
function dimSwitchTableWarnings(warnings, overrides) {
|
|
67
78
|
return warnings.map((warning) => {
|
|
68
79
|
if (warning.code !== "table-column-clipped" && warning.code !== "table-column-widened" || warning.owner?.colId === void 0) return warning;
|
|
@@ -107,7 +118,6 @@ var tableDefaults = (form, pinned) => ({
|
|
|
107
118
|
variant: "steering",
|
|
108
119
|
stickyLabels: pinned,
|
|
109
120
|
mountCollapsed: !1,
|
|
110
|
-
fitFormats: !0,
|
|
111
121
|
labelIndent: form.card ? { base: 12, step: 12 } : { base: 25, step: 17 },
|
|
112
122
|
...form.card ? { cellPadX: 3 } : {}
|
|
113
123
|
});
|
|
@@ -196,8 +206,12 @@ function judgeBand(m, value, windows, partial, options) {
|
|
|
196
206
|
function cell(value, judgement = NEUTRAL, format) {
|
|
197
207
|
return value.raw === null ? value.state === "missing" ? null : { state: value.state === "na" ? "na" : "nm" } : { v: value.raw, tone: judgement.tone, ...judgement.strong ? { strong: !0 } : {}, ...format ? { format } : {} };
|
|
198
208
|
}
|
|
199
|
-
var withBar = (value, share) => value !== null && typeof value == "object" && typeof value.v == "number" && value.v > 0 && share > 0 ? { ...value, bar: Math.min(1, share) } : value, GLYPH = { add: "+", sub: "\u2212", mul: "\xD7", div: "\xF7" }, signedFormat = (format) => format.startsWith("+") ? format : `+${format}`, CARD_LABEL_WIDTH = 140;
|
|
209
|
+
var withBar = (value, share) => value !== null && typeof value == "object" && typeof value.v == "number" && value.v > 0 && share > 0 ? { ...value, bar: Math.min(1, share) } : value, GLYPH = { add: "+", sub: "\u2212", mul: "\xD7", div: "\xF7" }, signedFormat = (format) => format.startsWith("+") ? format : `+${format}`, cardFigures = () => ({ lines: /* @__PURE__ */ new Map(), relative: /* @__PURE__ */ new Map(), point: /* @__PURE__ */ new Map() }), CARD_LABEL_WIDTH = 140;
|
|
200
210
|
function compileDimSwitch(data, options = {}, form = {}) {
|
|
211
|
+
if (!hasFormatRecord(options)) {
|
|
212
|
+
let read = readFormatExamples(data, options), own = { ...read.options, ...read.standIns.size ? { [UNIT_STAND_INS]: read.standIns } : {}, [AUTHORED_EXAMPLES]: read.authored };
|
|
213
|
+
return withUnitStandIns(own, () => compileDimSwitch(read.data, own, form));
|
|
214
|
+
}
|
|
201
215
|
let formatDecimals = /* @__PURE__ */ new Map(), decimalsOf = (format) => {
|
|
202
216
|
let decimals = formatDecimals.get(format);
|
|
203
217
|
return decimals === void 0 && (decimals = parseFormatExample(format).decimals, formatDecimals.set(format, decimals)), decimals;
|
|
@@ -205,7 +219,7 @@ function compileDimSwitch(data, options = {}, form = {}) {
|
|
|
205
219
|
if (!data.periods.length || !data.facts.length) throw new NormalizeError(EMPTY_DATA, data.periods.length ? "facts" : "periods", `dimswitch requires at least one ${data.periods.length ? "fact" : "period"}`, void 0, void 0, ["data", data.periods.length ? "facts" : "periods"]);
|
|
206
220
|
let range = data.periods.find((p) => p.kind === "range"), prior = data.periods.find((p) => p.kind === "prior");
|
|
207
221
|
if (!range || !prior) throw new NormalizeError("invalid-data", "periods", "dimswitch requires one range and one prior period", "Give periods one period of kind range and one of kind prior. To hide their columns, keep both and set options.columnVisibility to { range: false, pp: false }.", void 0, ["data", "periods"]);
|
|
208
|
-
let authoredPeriods = hostPeriods(data, options), plan = data.periods.find((p) => p.kind === "plan"), hidden = authoredPeriods.slice(0, form.hide ?? 0), periods = authoredPeriods.slice(hidden.length), blockColumns = ["range", "pp", ...plan ? ["pl"] : []].filter((id) => options.columnVisibility?.[id] !== !1), drawnBlock = new Set(blockColumns), rangeDrawn = drawnBlock.has("range"), blockCells = () => {
|
|
222
|
+
let authoredPeriods = hostPeriods(data, options), plan = data.periods.find((p) => p.kind === "plan"), hidden = authoredPeriods.slice(0, form.hide ?? 0), periods = authoredPeriods.slice(hidden.length), shared = hidden.length > 0 ? form.figures ?? cardFigures() : void 0, blockColumns = ["range", "pp", ...plan ? ["pl"] : []].filter((id) => options.columnVisibility?.[id] !== !1), drawnBlock = new Set(blockColumns), rangeDrawn = drawnBlock.has("range"), blockCells = () => {
|
|
209
223
|
let cells = emptyIdRecord();
|
|
210
224
|
for (let id of blockColumns) cells[id] = null;
|
|
211
225
|
return cells;
|
|
@@ -466,7 +480,11 @@ function compileDimSwitch(data, options = {}, form = {}) {
|
|
|
466
480
|
}
|
|
467
481
|
let shares = cur.every((v) => v !== null) && ref.every((v) => v !== null) ? shapley(owner.drivers, ids, cur, ref) : ids.map(() => null);
|
|
468
482
|
return new Map(ids.map((id, i) => [id, shares[i]]));
|
|
469
|
-
}, rows = [], levels = {}, labelOnly = (row) => Object.assign(row, { [LABEL_ONLY_ROW]: !0 }), totalRows = /* @__PURE__ */ new Set(), bars = [], relativeChanges = [],
|
|
483
|
+
}, rows = [], levels = {}, labelOnly = (row) => Object.assign(row, { [LABEL_ONLY_ROW]: !0 }), totalRows = /* @__PURE__ */ new Set(), bars = [], relativeChanges = [], pointChanges = /* @__PURE__ */ new Map(), pointChange = (m, cell2) => {
|
|
484
|
+
if (m.change !== "pp" || m.format !== void 0 || m.unit !== void 0 || cell2 === null || typeof cell2 != "object" || typeof cell2.v != "number") return;
|
|
485
|
+
let list = pointChanges.get(m.id) ?? [];
|
|
486
|
+
list.push({ cell: cell2, v: cell2.v }), pointChanges.set(m.id, list);
|
|
487
|
+
}, nearZeroSeen = !1, totalId = data.dimension.total.id, driverOps = /* @__PURE__ */ new Map();
|
|
470
488
|
for (let m of data.measures) if (m.drivers !== void 0) {
|
|
471
489
|
let assign = (e, glyph) => {
|
|
472
490
|
if (!(typeof e == "number" || "field" in e || "total" in e)) {
|
|
@@ -479,7 +497,21 @@ function compileDimSwitch(data, options = {}, form = {}) {
|
|
|
479
497
|
};
|
|
480
498
|
assign(m.drivers);
|
|
481
499
|
}
|
|
482
|
-
let withRef = new Set(data.facts.filter((f) => f.ref).map((f) => f.periodId)), noChangeLine = hostHidEveryPeriod || periods.length > 0 && periods.every((p) => !withRef.has(p.id)),
|
|
500
|
+
let withRef = new Set(data.facts.filter((f) => f.ref).map((f) => f.periodId)), noChangeLine = hostHidEveryPeriod || periods.length > 0 && periods.every((p) => !withRef.has(p.id)), measureLines = /* @__PURE__ */ new Map(), periodFacts = /* @__PURE__ */ new Map(), factsInOrder = (member) => {
|
|
501
|
+
let list = periodFacts.get(member);
|
|
502
|
+
return list || periodFacts.set(member, list = authoredPeriods.map((p) => factOf(member, p.id))), list;
|
|
503
|
+
}, lineFigures = (id, m, member) => {
|
|
504
|
+
let line = shared.lines.get(id);
|
|
505
|
+
if (line) return line;
|
|
506
|
+
let levels2 = [], relative = [], point = [], ownFormat = m.format === void 0 && m.unit === void 0, expr = exprOf(m), own = factsInOrder(member), totals = factsInOrder(totalId);
|
|
507
|
+
for (let i = 0; i < authoredPeriods.length; i++) {
|
|
508
|
+
let fact = own[i], total = totals[i], current = evaluate(expr, fact?.sums, total?.sums);
|
|
509
|
+
current.raw !== null && levels2.push(current.raw);
|
|
510
|
+
let delta = withRef.has(authoredPeriods[i].id) ? change(current, evaluate(expr, fact?.ref, total?.ref), m.change, m.format, decimalsOf).raw : null;
|
|
511
|
+
delta !== null && m.change === "absolute" && ownFormat && levels2.push(delta), relative.push(delta !== null && m.change !== "pp" && m.change !== "absolute" ? Number(delta.toPrecision(12)) : null), point.push(delta !== null && m.change === "pp" && ownFormat ? delta : null);
|
|
512
|
+
}
|
|
513
|
+
return line = { levels: fixedNumbers(levels2), relative, point }, shared.lines.set(id, line), line;
|
|
514
|
+
}, addMeasure = (m, member, parentId, rung, label = m.label, kind = "measure") => {
|
|
483
515
|
let id = dimswitchRowId(variant, member, m.id), cells = emptyIdRecord(), changes = blockCells(), effects = blockCells(), values = /* @__PURE__ */ new Map(), owner = isDriver(m) ? measures.get(driverOwner.get(m.id)) : void 0, ownFormat = formatOf(m), effectFormat = signedFormat(formatOf(owner ?? m));
|
|
484
516
|
for (let { p, reference, comparisonKind } of [
|
|
485
517
|
{ p: range, reference: prior, comparisonKind: "prior" },
|
|
@@ -495,12 +527,17 @@ function compileDimSwitch(data, options = {}, form = {}) {
|
|
|
495
527
|
let levelJudgement = m.bands ? judgeBand(m, current, [currentSums, ...usesTotal(exprOf(m)) ? [total] : []], p.partial === !0, options) : NEUTRAL;
|
|
496
528
|
cells[col] = cell(current, levelJudgement), record(id, col, m, member, p.id, current);
|
|
497
529
|
}
|
|
498
|
-
let
|
|
499
|
-
if (m.format === void 0 && m.unit === void 0 && changeCell && typeof changeCell == "object" && Object.assign(changeCell, { [AUTOMATIC_FORMAT]: !0 }), (owner ?? m).format === void 0 && (owner ?? m).unit === void 0 && effectCell && Object.assign(effectCell, { [AUTOMATIC_FORMAT]: !0 }), p.kind) {
|
|
530
|
+
let relative = m.change !== "pp" && m.change !== "absolute", changeFormat = m.change === "pp" ? formatPercentagePoints(1.2, 1, !0) : m.change === "absolute" ? signedFormat(ownFormat) : formatAutomaticPercent(1.2, 1, !0), changeCell = !p.kind && !withRef.has(p.id) ? { missing: "blank" } : delta.state === "missing" ? { missing: delta.blank ? "blank" : "dash" } : cell(delta, judgement, changeFormat), effectCell = effect === null ? null : { v: effect, format: effectFormat };
|
|
531
|
+
if (m.format === void 0 && m.unit === void 0 && changeCell && typeof changeCell == "object" && Object.assign(changeCell, { [AUTOMATIC_FORMAT]: !0, ...m.change === "absolute" && changeCell.missing === void 0 ? { [MAGNITUDE_GROUP]: m.id } : {} }), (owner ?? m).format === void 0 && (owner ?? m).unit === void 0 && effectCell && Object.assign(effectCell, { [AUTOMATIC_FORMAT]: !0 }), p.kind) {
|
|
500
532
|
if (!comparisonDrawn) continue;
|
|
501
|
-
cells[comparison] = !m.judge && changeCell !== null && typeof changeCell == "object" && changeCell.missing === void 0 ? { ...changeCell, muted: !0 } : changeCell, relative && relativeChanges.push({ cell: cells[comparison],
|
|
533
|
+
cells[comparison] = !m.judge && changeCell !== null && typeof changeCell == "object" && changeCell.missing === void 0 ? { ...changeCell, muted: !0 } : changeCell, relative && relativeChanges.push({ cell: cells[comparison], measure: m.id }), pointChange(m, cells[comparison]), record(id, comparison, m, member, p.id, delta, ref, !0, refTotal, reference?.id), effects[comparison] = effectCell;
|
|
502
534
|
} else
|
|
503
|
-
changes[p.id] = changeCell, effects[p.id] = effectCell, withRef.has(p.id) && (record(`${id}:change`, p.id, m, member, p.id, delta, ref, !0, refTotal), relative && relativeChanges.push({ cell: changeCell,
|
|
535
|
+
changes[p.id] = changeCell, effects[p.id] = effectCell, withRef.has(p.id) && (record(`${id}:change`, p.id, m, member, p.id, delta, ref, !0, refTotal), relative && relativeChanges.push({ cell: changeCell, measure: m.id }), pointChange(m, changeCell));
|
|
536
|
+
}
|
|
537
|
+
let line = shared ? lineFigures(id, m, member) : void 0;
|
|
538
|
+
if (line) {
|
|
539
|
+
let lines = measureLines.get(m.id);
|
|
540
|
+
lines || measureLines.set(m.id, lines = []), lines.push(line);
|
|
504
541
|
}
|
|
505
542
|
let sized = !m.judge && (m.scale === "money" || m.scale === "count") && !inStatement(m);
|
|
506
543
|
if (isSubtotal(m) && m.value !== void 0) for (let p of [range, ...plan ? [plan] : [], ...periods]) {
|
|
@@ -508,7 +545,7 @@ function compileDimSwitch(data, options = {}, form = {}) {
|
|
|
508
545
|
authored !== null && parts !== null && Math.abs(authored - parts) > tolerance(m) && warn("dimswitch-subtotal-footing", m.id, `Measure '${m.id}': its value ${authored} differs from the sum of its parts ${parts} (member '${member}', ${p.id}). Boardplot keeps the authored value.`);
|
|
509
546
|
}
|
|
510
547
|
let row = { id, label, parentId, rung, kind, format: m.scale && m.scale !== "percent" && m.format === void 0 ? void 0 : ownFormat, scale: m.scale, unitAffix: kind === "detail" || kind === "split" ? void 0 : affix(m), relation: kind === "split" ? "ofWhich" : "displayOnly", totalPolicy: "source", cells };
|
|
511
|
-
if (m.format === void 0 && m.unit === void 0 && Object.assign(row, { [AUTOMATIC_FORMAT]: !0 }), (m.scale === "money" || m.scale === "count") && Object.assign(row, { [MAGNITUDE_GROUP]: m.id }), sized && member !== totalId) for (let col of [...rangeDrawn ? ["range"] : [], ...periods.map((p) => p.id)]) {
|
|
548
|
+
if (m.format === void 0 && m.unit === void 0 && Object.assign(row, { [AUTOMATIC_FORMAT]: !0 }), (m.scale === "money" || m.scale === "count" || m.format === void 0 && m.unit === void 0) && Object.assign(row, { [MAGNITUDE_GROUP]: m.id }), line && line.levels.length > 0 && Object.assign(row, { [PERIOD_FIGURES]: [line.levels] }), sized && member !== totalId) for (let col of [...rangeDrawn ? ["range"] : [], ...periods.map((p) => p.id)]) {
|
|
512
549
|
let value = values.get(col)?.raw;
|
|
513
550
|
typeof value == "number" && bars.push({ row, measure: m.id, col, value });
|
|
514
551
|
}
|
|
@@ -648,19 +685,35 @@ function compileDimSwitch(data, options = {}, form = {}) {
|
|
|
648
685
|
}
|
|
649
686
|
for (let id of options.expansion?.expanded ?? []) collapsed.delete(id);
|
|
650
687
|
for (let id of options.expansion?.collapsed ?? []) collapsed.add(id);
|
|
651
|
-
let
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
let
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
688
|
+
let changeSet = (measure2, drawn, kind) => {
|
|
689
|
+
if (!shared) return percentChangeSpec(drawn)[RULE_SET];
|
|
690
|
+
let rule = shared[kind].get(measure2);
|
|
691
|
+
if (!rule) {
|
|
692
|
+
let leftOut = (measureLines.get(measure2) ?? []).flatMap((line) => line[kind].slice(0, hidden.length).filter((v) => v !== null));
|
|
693
|
+
rule = percentChangeSpec([...drawn, ...leftOut])[RULE_SET], shared[kind].set(measure2, rule);
|
|
694
|
+
}
|
|
695
|
+
return rule;
|
|
696
|
+
};
|
|
697
|
+
for (let [measure2, list] of pointChanges) {
|
|
698
|
+
let rule = changeSet(measure2, list.map((entry) => entry.v), "point");
|
|
699
|
+
for (let { cell: cell2, v } of list) {
|
|
700
|
+
let decimals = rule.groupOf(v).decimals;
|
|
701
|
+
cell2.format = formatPercentagePoints(decimals === 3 ? 0.2 : 1.2, decimals, !0);
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
let relativeByMeasure = /* @__PURE__ */ new Map();
|
|
705
|
+
for (let entry of relativeChanges) relativeByMeasure.set(entry.measure, [...relativeByMeasure.get(entry.measure) ?? [], entry]);
|
|
706
|
+
for (let [measure2, inMeasure] of relativeByMeasure) {
|
|
707
|
+
let entries = inMeasure.filter((entry) => entry.cell !== null && typeof entry.cell == "object" && typeof entry.cell.v == "number");
|
|
708
|
+
for (let entry of entries) {
|
|
709
|
+
let change2 = entry.cell;
|
|
710
|
+
change2.v = Number(change2.v.toPrecision(12));
|
|
711
|
+
}
|
|
712
|
+
let valueOf2 = (entry) => entry.cell.v, rule = changeSet(measure2, entries.map(valueOf2), "relative");
|
|
713
|
+
for (let entry of entries) {
|
|
714
|
+
let decimals = rule.groupOf(valueOf2(entry)).decimals;
|
|
715
|
+
entry.cell.format = formatAutomaticPercent(decimals === 3 ? 0.2 : 1.2, decimals, !0);
|
|
716
|
+
}
|
|
664
717
|
}
|
|
665
718
|
let computedCells = totalHidden ? hideTotal() : records;
|
|
666
719
|
function hideTotal() {
|
|
@@ -672,7 +725,7 @@ function compileDimSwitch(data, options = {}, form = {}) {
|
|
|
672
725
|
hiddenIds.add(row.id), hiddenIds.add(`${row.id}:change`), hiddenIds.add(`${row.id}:effect`);
|
|
673
726
|
variant === "by-member" && hiddenIds.add(dimswitchRowId(variant, totalId));
|
|
674
727
|
for (let row of rows) row.inline && row.parentId !== void 0 && hiddenIds.has(row.parentId) && dropped.add(row);
|
|
675
|
-
let figures = /* @__PURE__ */ new Map();
|
|
728
|
+
let figures = /* @__PURE__ */ new Map(), periodFigures = /* @__PURE__ */ new Map();
|
|
676
729
|
for (let row of lines) {
|
|
677
730
|
let group = row[MAGNITUDE_GROUP];
|
|
678
731
|
if (group === void 0) continue;
|
|
@@ -682,6 +735,8 @@ function compileDimSwitch(data, options = {}, form = {}) {
|
|
|
682
735
|
let value = row.cells?.[col];
|
|
683
736
|
value !== null && typeof value == "object" && typeof value.v == "number" && list.push([col, value.v]);
|
|
684
737
|
}
|
|
738
|
+
let own = row[PERIOD_FIGURES];
|
|
739
|
+
own && (periodFigures.set(group, [...periodFigures.get(group) ?? [], ...own]), delete row[PERIOD_FIGURES]);
|
|
685
740
|
}
|
|
686
741
|
let kept = rows.filter((row) => !dropped.has(row));
|
|
687
742
|
rows.length = 0, rows.push(...kept);
|
|
@@ -689,6 +744,8 @@ function compileDimSwitch(data, options = {}, form = {}) {
|
|
|
689
744
|
for (let row of rows) {
|
|
690
745
|
let group = row[MAGNITUDE_GROUP], list = group === void 0 ? void 0 : figures.get(group);
|
|
691
746
|
list && (Object.assign(row, { [MAGNITUDE_FIGURES]: list }), figures.delete(group));
|
|
747
|
+
let own = group === void 0 ? void 0 : periodFigures.get(group);
|
|
748
|
+
own && (Object.assign(row, { [PERIOD_FIGURES]: [...row[PERIOD_FIGURES] ?? [], ...own] }), periodFigures.delete(group));
|
|
692
749
|
}
|
|
693
750
|
for (let row of dropped)
|
|
694
751
|
delete levels[row.id], collapsed.delete(row.id);
|
|
@@ -759,7 +816,6 @@ function foreignRowId(ids) {
|
|
|
759
816
|
}
|
|
760
817
|
|
|
761
818
|
export {
|
|
762
|
-
FOLDED,
|
|
763
819
|
dimSwitchTableWarnings,
|
|
764
820
|
hostPeriods,
|
|
765
821
|
PARTIAL_NOTE_OFF,
|
|
@@ -769,6 +825,7 @@ export {
|
|
|
769
825
|
hiddenTotalFoldWarnings,
|
|
770
826
|
dimswitchRowId,
|
|
771
827
|
currentDimSwitchOptions,
|
|
828
|
+
cardFigures,
|
|
772
829
|
compileDimSwitch,
|
|
773
830
|
foreignRowId
|
|
774
831
|
};
|
|
@@ -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
|
pieCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HFDU2E7C.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4YZQY3AA.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/pie.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, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, showRestCount: 0, threshold: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, doughnut: 0, rotate: 0, explode: 0, colors: 0, othersShade: 0 }, labels: ["category", "total", "insidePie", "outsidePie"] }), PieChart = createChartComponent(registeredType(pieCore), checkOptionKeys);
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E4KHHC46.js";
|
|
11
11
|
import {
|
|
12
12
|
statusCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FP3ORYCG.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4YZQY3AA.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/status.ts
|
|
19
19
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, states: { "[]": { id: 0, label: 0, tone: { role: 0 }, pattern: 0 } }, columnLabels: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } } }, labels: ["category", "series"] }), StatusChart = createChartComponent(registeredType(statusCore), checkOptionKeys);
|