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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveChartRequest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6TH5NVKS.js";
|
|
4
4
|
import {
|
|
5
5
|
drawnRequest
|
|
6
6
|
} from "./chunk-INHDHZNP.js";
|
|
@@ -10,81 +10,87 @@ import {
|
|
|
10
10
|
} from "./chunk-X3YP4DUV.js";
|
|
11
11
|
import {
|
|
12
12
|
chartString
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MF6XGFHB.js";
|
|
14
14
|
import {
|
|
15
15
|
chartString as chartString4
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F7QCIJAY.js";
|
|
17
17
|
import {
|
|
18
18
|
normalizeGridData
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-B5FT4YAX.js";
|
|
20
20
|
import {
|
|
21
21
|
chartString as chartString3,
|
|
22
22
|
tablePlan
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-POHML4N4.js";
|
|
24
|
+
import {
|
|
25
|
+
DeferredShownMarks
|
|
26
|
+
} from "./chunk-2Q7IAWON.js";
|
|
24
27
|
import {
|
|
25
28
|
sharedEndLabelId
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XHEG2BG6.js";
|
|
27
30
|
import {
|
|
28
31
|
eventHeading
|
|
29
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VGOZOBNB.js";
|
|
30
33
|
import {
|
|
31
34
|
mekkoStackingMode,
|
|
32
35
|
poolMekkoCell
|
|
33
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-USATDW6O.js";
|
|
34
37
|
import {
|
|
35
38
|
drawnVariant,
|
|
36
39
|
stackAdds
|
|
37
40
|
} from "./chunk-5ACFYNA4.js";
|
|
38
41
|
import {
|
|
39
42
|
chartString as chartString2
|
|
40
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DITI57ZB.js";
|
|
41
44
|
import {
|
|
42
45
|
SPARKLINE_RING_RADIUS,
|
|
43
46
|
kpiSparkSeries,
|
|
44
47
|
lastObservedIndex,
|
|
45
48
|
sparklinePointId
|
|
46
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-LM4GVVPM.js";
|
|
47
50
|
import {
|
|
48
51
|
labelOn
|
|
49
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-77L6QGIG.js";
|
|
50
53
|
import {
|
|
51
54
|
calendarNames
|
|
52
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-YM4MVABU.js";
|
|
53
56
|
import {
|
|
54
57
|
datePatternFromExample,
|
|
55
58
|
formatDate,
|
|
56
59
|
textRole
|
|
57
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-AUSZDYGE.js";
|
|
58
61
|
import {
|
|
59
62
|
LABEL_ONLY_ROW,
|
|
63
|
+
RULE_SET,
|
|
64
|
+
defaultSetSpec,
|
|
60
65
|
differenceExample,
|
|
61
66
|
exampleSpec,
|
|
62
67
|
formatNonzeroWithSpec,
|
|
63
68
|
formatWithSpec,
|
|
69
|
+
isPercentUnit,
|
|
70
|
+
isUnitText,
|
|
64
71
|
parseFormatExample,
|
|
65
72
|
parseISODate,
|
|
73
|
+
percentChangeSpec,
|
|
74
|
+
printsBound,
|
|
66
75
|
specUnitKind,
|
|
67
|
-
|
|
76
|
+
withChartFormats,
|
|
68
77
|
withUnit
|
|
69
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-3JG764MI.js";
|
|
70
79
|
import {
|
|
80
|
+
AUTHORED_EXAMPLES,
|
|
71
81
|
NOT_AVAILABLE,
|
|
72
82
|
NOT_MEANINGFUL,
|
|
83
|
+
UNIT_STAND_INS,
|
|
73
84
|
changePercentText,
|
|
74
|
-
chartNumberMarks,
|
|
75
85
|
chartStrings,
|
|
76
86
|
chartWording,
|
|
77
|
-
currencyWholeNumbers,
|
|
78
|
-
defaultNumberDecimals,
|
|
79
87
|
formatExactNumber,
|
|
80
88
|
formatNumber,
|
|
81
89
|
intervalText,
|
|
82
90
|
isPercentagePointUnit,
|
|
83
91
|
nonzeroDecimals,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
withSmallValues
|
|
87
|
-
} from "./chunk-MSYTF3DZ.js";
|
|
92
|
+
withLocaleStrings
|
|
93
|
+
} from "./chunk-FYFXOLWI.js";
|
|
88
94
|
import {
|
|
89
95
|
cellMeta,
|
|
90
96
|
cellValue,
|
|
@@ -93,7 +99,7 @@ import {
|
|
|
93
99
|
} from "./chunk-O3VN6BTL.js";
|
|
94
100
|
import {
|
|
95
101
|
rectCenter
|
|
96
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-XAH4EWJT.js";
|
|
97
103
|
import {
|
|
98
104
|
normalizeCategory,
|
|
99
105
|
normalizeCell,
|
|
@@ -180,7 +186,7 @@ function derivedPercentText(value, locale) {
|
|
|
180
186
|
return derivedValueText({ ...value, raw: percent, unit: "%" }, percentDecimals(value, percent), !1, locale, !0);
|
|
181
187
|
}
|
|
182
188
|
function percentExample(decimals) {
|
|
183
|
-
return decimals > 0 ?
|
|
189
|
+
return decimals > 0 ? `${decimals === 3 ? 0 : 12}.${"3".padEnd(decimals, "4")}%` : "12%";
|
|
184
190
|
}
|
|
185
191
|
function unscaledUnit(unit) {
|
|
186
192
|
let magnitude = /(?<![\p{L}\p{N}/])(?:k|K|M|mm|mn|B|bn|T|tn|Bn|Md|Mio\.?|Mrd\.?|Bio\.?|Tsd\.?)(?![\p{L}\p{N}/²³])|(?<=(?:\p{Sc}|\b[A-Z]{3})\s?)(?:k|K|M|m|mm|mn|B|bn|T|tn)(?![\p{L}\p{N}/²³])|(?<![\p{L}\p{N}/])(?:k|K|M|m|mm|mn|B|bn|T|tn)(?=\s?(?:\p{Sc}|[A-Z]{3}\b))/u;
|
|
@@ -195,20 +201,20 @@ function valueUnit(value) {
|
|
|
195
201
|
}
|
|
196
202
|
function derivedValueText(value, decimals, signed, locale, percent = !1) {
|
|
197
203
|
if (value.state !== "value" || typeof value.raw != "number") return interactionValueText(value, locale);
|
|
198
|
-
let text = decimals > 20 && !percent ? `${signed && value.raw > 0 ? "+" : ""}${formatExactNumber(value.raw, locale)}` : formatNumber(value.raw, { decimals:
|
|
204
|
+
let text = decimals > 20 && !percent ? `${signed && value.raw > 0 ? "+" : ""}${formatExactNumber(value.raw, locale)}` : formatNumber(value.raw, { decimals: Math.min(20, decimals), signed, magnitude: "none", locale, automatic: value.format === void 0 });
|
|
199
205
|
return percent ? `${text}${isPercentagePointUnit(value.unit) ? "pp" : "%"}` : withUnit(text, valueUnit(value));
|
|
200
206
|
}
|
|
201
207
|
function deltaValueText(delta, decimals, locale) {
|
|
208
|
+
let shown = shownValueText(delta);
|
|
209
|
+
if (shown !== void 0) return shown;
|
|
202
210
|
if (delta.state !== "value" || typeof delta.raw != "number" || !delta.format) return derivedValueText(delta, decimals, !0, locale);
|
|
203
|
-
let spec = {
|
|
204
|
-
...exampleSpec(isPercentagePointUnit(delta.unit) ? differenceExample(delta.format) : delta.format, locale, delta.unit),
|
|
205
|
-
signed: !0,
|
|
206
|
-
currencyWhole: currencyWholeNumbers(delta.unit, delta.renderTarget)
|
|
207
|
-
}, text = formatNonzeroWithSpec(delta.raw, spec);
|
|
211
|
+
let points = isPercentagePointUnit(delta.unit) || delta.displayed !== void 0 && specUnitKind(parseFormatExample(delta.displayed)) === "pp", spec = { ...exampleSpec(points ? differenceExample(delta.format) : delta.format, locale, delta.unit), signed: !0 }, text = offZeroText(delta.raw, spec);
|
|
208
212
|
return spec.prefix || spec.suffix || spec.magnitude !== "none" ? text : withUnit(text, delta.unit);
|
|
209
213
|
}
|
|
210
214
|
function signedPercentText(percent, locale) {
|
|
211
|
-
let
|
|
215
|
+
let shown = shownValueText(percent);
|
|
216
|
+
if (shown !== void 0) return shown;
|
|
217
|
+
let decimals = typeof percent.raw != "number" ? 2 : percent.format ? percentDecimals(percent, percent.raw) : percentChangeSpec([percent.raw], locale, "%")[RULE_SET].groupOf(percent.raw).decimals;
|
|
212
218
|
return percent.state === "value" && typeof percent.raw == "number" && !isPercentagePointUnit(percent.unit) ? changePercentText(percent.raw, Math.min(20, decimals), locale) : derivedValueText(percent, decimals, !0, locale, !0);
|
|
213
219
|
}
|
|
214
220
|
var BARE_NUMBER = /^[\s\u00a0\u202f\u2009()+\-\u2212\p{Nd}.,'\u066b\u066c]+$/u, ONE_NUMBER_LABEL = /^[^\p{Nd}]*(\p{Nd}[\p{Nd}.,'\s\u00a0\u202f\u066b\u066c]*)[^\p{Nd}]*$/u;
|
|
@@ -221,26 +227,56 @@ function printsZero(label) {
|
|
|
221
227
|
let number2 = ONE_NUMBER_LABEL.exec(label)?.[1];
|
|
222
228
|
return number2 !== void 0 && [...number2].every((char) => !/\p{Nd}/u.test(char) || digitValue(char) === 0);
|
|
223
229
|
}
|
|
224
|
-
function
|
|
225
|
-
|
|
230
|
+
function significantDigits(raw) {
|
|
231
|
+
return Math.abs(raw).toExponential().split("e")[0].replace(".", "").length;
|
|
232
|
+
}
|
|
233
|
+
function withoutFloatResidue(raw) {
|
|
234
|
+
if (Number.isInteger(raw) || !Number.isFinite(raw)) return raw;
|
|
235
|
+
let clean = Number(raw.toPrecision(15));
|
|
236
|
+
return significantDigits(clean) <= 12 ? clean : raw;
|
|
237
|
+
}
|
|
238
|
+
function sourceNumberText(raw, locale, derived2 = !1) {
|
|
239
|
+
raw = derived2 && !Number.isInteger(raw) ? Number(raw.toPrecision(15)) : withoutFloatResidue(raw);
|
|
226
240
|
let decimals = derived2 ? nonzeroDecimals(raw, Math.min(decimalPrecision(raw), DERIVED_NUMBER_DECIMALS)) : decimalPrecision(raw);
|
|
227
|
-
return decimals > 20 ? formatExactNumber(raw, locale) : formatNumber(raw, { decimals
|
|
241
|
+
return decimals > 20 ? formatExactNumber(raw, locale) : formatNumber(raw, { decimals, magnitude: "none", locale, automatic: derived2 });
|
|
242
|
+
}
|
|
243
|
+
function joinShownUnit(shown, value) {
|
|
244
|
+
let unit = value.unit === "fraction" ? "%" : value.unit;
|
|
245
|
+
if (BARE_NUMBER.test(shown)) return withUnit(shown, unit);
|
|
246
|
+
let word = SCALE_WORD_AFTER_DIGIT.exec(shown);
|
|
247
|
+
return word && word[2] !== unit?.trim() && BARE_NUMBER.test(shown.replace(SCALE_WORD_AFTER_DIGIT, "$1$3")) ? withUnit(shown, unit) : shown;
|
|
248
|
+
}
|
|
249
|
+
var SCALE_WORD_AFTER_DIGIT = /(\p{Nd})[\s\u00a0\u202f]?(k|M|B|T|Tsd\.|Mio\.|Mrd\.|Bio\.|Md|Bn)(\)?)$/u;
|
|
250
|
+
function zeroRuleApplies(value, shown) {
|
|
251
|
+
return value.raw !== 0 && printsZero(shown);
|
|
252
|
+
}
|
|
253
|
+
function shownValueText(value) {
|
|
254
|
+
if (value.state !== "value" || value.kind !== "number" || typeof value.raw != "number") return;
|
|
255
|
+
let shown = value.displayed?.trim();
|
|
256
|
+
if (!(!shown || zeroRuleApplies(value, shown)))
|
|
257
|
+
return joinShownUnit(shown, value);
|
|
228
258
|
}
|
|
229
259
|
function displayedValueText(value, locale) {
|
|
260
|
+
return shownValueText(value) ?? formattedValueText(value, locale);
|
|
261
|
+
}
|
|
262
|
+
function formattedValueText(value, locale) {
|
|
230
263
|
if (value.state !== "value" || value.kind !== "number" || typeof value.raw != "number") return interactionValueText(value, locale);
|
|
231
|
-
let drawn = value.displayed?.trim();
|
|
232
|
-
if (drawn && !(value.raw !== 0 && printsZero(drawn)))
|
|
233
|
-
return BARE_NUMBER.test(drawn) ? withUnit(drawn, value.unit) : drawn;
|
|
234
|
-
let derived2 = derivedPercentText(value, locale);
|
|
264
|
+
let drawn = value.displayed?.trim(), derived2 = derivedPercentText(value, locale);
|
|
235
265
|
if (derived2 !== void 0) return derived2;
|
|
236
266
|
if (value.format) {
|
|
237
|
-
let spec =
|
|
238
|
-
if (styled ||
|
|
239
|
-
let text =
|
|
267
|
+
let spec = exampleSpec(value.format, locale, value.unit), styled = spec.prefix || spec.suffix || spec.magnitude !== "none";
|
|
268
|
+
if (styled || !drawn) {
|
|
269
|
+
let text = offZeroText(value.raw, spec);
|
|
240
270
|
return styled ? text : withUnit(text, rawUnit(value));
|
|
241
271
|
}
|
|
242
272
|
}
|
|
243
|
-
return withUnit(sourceNumberText(value.raw, locale, value.derived === "number"
|
|
273
|
+
return withUnit(sourceNumberText(value.raw, locale, value.derived === "number"), rawUnit(value));
|
|
274
|
+
}
|
|
275
|
+
function offZeroText(raw, spec) {
|
|
276
|
+
let text = formatNonzeroWithSpec(raw, spec);
|
|
277
|
+
if (raw === 0 || spec.exact !== !0 || !printsZero(text)) return text;
|
|
278
|
+
let affix = (spec.prefix + spec.suffix).trim(), own = defaultSetSpec([raw], spec.locale, isUnitText(affix) ? affix : void 0, isPercentUnit(affix) ? { kind: "percent" } : {});
|
|
279
|
+
return formatWithSpec(raw, { ...own, prefix: spec.prefix, suffix: spec.suffix, signed: spec.signed, glyphs: spec.glyphs, negative: spec.negative });
|
|
244
280
|
}
|
|
245
281
|
function interactionValueText(value, locale) {
|
|
246
282
|
if (value.state === "suppressed") return chartString6({ locale: { language: locale } }, "valueWithheld");
|
|
@@ -254,10 +290,9 @@ function interactionValueText(value, locale) {
|
|
|
254
290
|
return !parsed || !value.format ? value.raw : formatDate(parsed, datePatternFromExample(value.format, locale), locale);
|
|
255
291
|
}
|
|
256
292
|
if (typeof value.raw != "number") return String(value.raw);
|
|
257
|
-
if (value.format && wholeCurrencyValue(value.raw, value.unit, value.renderTarget)) return displayedValueText(value, locale);
|
|
258
293
|
let derived2 = derivedPercentText(value, locale);
|
|
259
294
|
if (derived2 !== void 0) return derived2;
|
|
260
|
-
let text = sourceNumberText(value.raw, locale, value.derived === "number"
|
|
295
|
+
let text = sourceNumberText(value.raw, locale, value.derived === "number");
|
|
261
296
|
return isPercentagePointUnit(value.unit) ? `${text}pp` : withUnit(text, valueUnit(value));
|
|
262
297
|
}
|
|
263
298
|
|
|
@@ -371,31 +406,41 @@ function indexNodes(ctx) {
|
|
|
371
406
|
}
|
|
372
407
|
return ctx.nodeIdsByOwner = index, index;
|
|
373
408
|
}
|
|
374
|
-
function
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
409
|
+
function withShownTexts(records, geometry2) {
|
|
410
|
+
let drawn = /* @__PURE__ */ new Map(), undrawn = /* @__PURE__ */ new Map(), add = (index, owner, shows) => {
|
|
411
|
+
let key = ownerKey(owner), into = index.get(key) ?? {};
|
|
412
|
+
for (let [slot, text] of Object.entries(shows)) printsBound(text) || (into[slot] ??= text);
|
|
413
|
+
index.set(key, into);
|
|
414
|
+
}, marks = geometry2.marks;
|
|
415
|
+
for (let label of geometry2.labels) label.hidden !== void 0 && label.shows && add(undrawn, label.owner, label.shows);
|
|
416
|
+
for (let mark of marks?.shown ?? []) add(mark.drawn ? drawn : undrawn, mark.owner, mark.shows);
|
|
417
|
+
for (let node of geometry2.scene) {
|
|
418
|
+
let shows = node.display?.shows;
|
|
419
|
+
shows && (node.t === "text" ? node.opacity !== 0 && add(drawn, node.owner, shows) : add(undrawn, node.owner, shows));
|
|
381
420
|
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
421
|
+
let deferred = marks?.wouldShow instanceof DeferredShownMarks ? marks.wouldShow : void 0, wouldFor = (key) => {
|
|
422
|
+
if (deferred) {
|
|
423
|
+
for (let mark of deferred.marks()) add(undrawn, mark.owner, mark.shows);
|
|
424
|
+
deferred = void 0;
|
|
425
|
+
}
|
|
426
|
+
return undrawn.get(key);
|
|
427
|
+
};
|
|
428
|
+
if (drawn.size === 0 && undrawn.size === 0 && !deferred) return records;
|
|
429
|
+
for (let record of records) {
|
|
430
|
+
let key = ownerKey(record.target.owner), own = drawn.get(key);
|
|
431
|
+
if (!own && !undrawn.has(key) && !deferred) continue;
|
|
432
|
+
let shown = (slot, value) => {
|
|
433
|
+
if (value.kind !== "number" || value.state !== "value" || value.displayed !== void 0) return value;
|
|
434
|
+
let text = own?.[slot] ?? wouldFor(key)?.[slot];
|
|
435
|
+
return text === void 0 ? value : { ...value, displayed: text };
|
|
436
|
+
};
|
|
437
|
+
record.value = shown("value", record.value), record.fields = record.fields.map((field3) => ({ ...field3, value: shown(`field:${field3.key}`, field3.value) })), record.share && (record.share = { ...record.share, percent: shown("share.percent", record.share.percent) }), record.comparisons = record.comparisons.map((comparison, index) => ({
|
|
438
|
+
...comparison,
|
|
439
|
+
delta: shown(`cmp${index}.delta`, comparison.delta),
|
|
440
|
+
percent: shown(`cmp${index}.percent`, comparison.percent)
|
|
441
|
+
}));
|
|
391
442
|
}
|
|
392
|
-
|
|
393
|
-
let normalized = marks.thousands === "." || marks.thousands === "," ? text.split(marks.thousands).join("") : text;
|
|
394
|
-
marks.decimal === "," && (normalized = normalized.replace(",", "."));
|
|
395
|
-
let decimals = normalized.includes(".") ? normalized.split(".")[1].length : 0, value = Number(normalized);
|
|
396
|
-
if (!Number.isFinite(value)) return !1;
|
|
397
|
-
let tolerance2 = 0.5 * Math.pow(10, -decimals) * scale + 1e-9 * Math.max(1, Math.abs(raw));
|
|
398
|
-
return Math.abs(sign * value * scale - raw) <= tolerance2;
|
|
443
|
+
return records;
|
|
399
444
|
}
|
|
400
445
|
function claimIdsFor(ctx, nodeIds) {
|
|
401
446
|
if (!ctx.claimsByNode) {
|
|
@@ -416,11 +461,11 @@ function makeRecord(ctx, owner, value, details = {}) {
|
|
|
416
461
|
if (!annotationMatches(owner, annotation)) return [];
|
|
417
462
|
let id = annotation.id ?? `${annotation.kind}-${index + 1}`, placed = ctx.geometry.annotations.find((item) => item.id === id), text = placed?.computedText ?? annotation.text ?? ("label" in annotation && annotation.label || "");
|
|
418
463
|
return printsInFull(ctx, placed, text) ? [] : [{ id, text }];
|
|
419
|
-
})
|
|
464
|
+
});
|
|
420
465
|
return {
|
|
421
466
|
id: targetId(target),
|
|
422
467
|
target,
|
|
423
|
-
value
|
|
468
|
+
value,
|
|
424
469
|
label: Object.values(owner).join(" / "),
|
|
425
470
|
fields: [],
|
|
426
471
|
comparisons: [],
|
|
@@ -440,9 +485,13 @@ function exhibitPercentDecimals(scene) {
|
|
|
440
485
|
return decimals ?? 1;
|
|
441
486
|
}
|
|
442
487
|
function withExhibitPercentFormat(records, scene) {
|
|
443
|
-
let format = percentExample(exhibitPercentDecimals(scene)), derived2 = (value) => value.derived === "percent" && value.format === DERIVED_PERCENT_FORMAT ? { ...value, format } : value,
|
|
488
|
+
let format = percentExample(exhibitPercentDecimals(scene)), derived2 = (value) => value.derived === "percent" && value.format === DERIVED_PERCENT_FORMAT ? { ...value, format } : value, change = (value) => {
|
|
489
|
+
if (value.derived !== "percent" || value.format !== DERIVED_PERCENT_FORMAT) return value;
|
|
490
|
+
let { format: _flat, ...unformatted } = value;
|
|
491
|
+
return unformatted;
|
|
492
|
+
}, share2 = (value) => value.unit === "%" && value.derived === void 0 && value.format === void 0 && value.state === "value" ? { ...value, format } : derived2(value);
|
|
444
493
|
for (let record of records)
|
|
445
|
-
record.value = derived2(record.value), record.fields = record.fields.map((entry) => ({ ...entry, value: derived2(entry.value) })), record.comparisons = record.comparisons.map((comparison) => ({ ...comparison, percent:
|
|
494
|
+
record.value = derived2(record.value), record.fields = record.fields.map((entry) => ({ ...entry, value: derived2(entry.value) })), record.comparisons = record.comparisons.map((comparison) => ({ ...comparison, percent: change(comparison.percent) })), record.share && (record.share = { ...record.share, percent: share2(record.share.percent) });
|
|
446
495
|
return records;
|
|
447
496
|
}
|
|
448
497
|
|
|
@@ -522,16 +571,12 @@ function authoredRowSpecs(data) {
|
|
|
522
571
|
return data.rows.forEach(visit), specs;
|
|
523
572
|
}
|
|
524
573
|
function tableRecordCells(table, data, options = {}) {
|
|
525
|
-
let withheld = suppressedTableCells(data), rowSpecs = authoredRowSpecs(data), authoredFormat = new Set(data.columns.filter(columnOwnsFormat).map((column) => column.id));
|
|
574
|
+
let withheld = suppressedTableCells(data), rowSpecs = authoredRowSpecs(data), authoredFormat = new Set(data.columns.filter(columnOwnsFormat).map((column) => column.id)), currency = options.unit !== void 0 && options.format === void 0 && !isUnitText(options.unit) && !isPercentUnit(options.unit);
|
|
526
575
|
return table.rows.flatMap((row) => rowSpecs.get(row.id)?.labelOnly ? [] : table.columns.flatMap((column) => {
|
|
527
576
|
let resolved = row.cells[column.id], cell = resolved && withheld.has(JSON.stringify([row.id, column.id])) ? { ...resolved, raw: null, state: "suppressed", displayed: resolved.state === "suppressed" ? resolved.displayed : "\u2014*", note: void 0, href: void 0 } : resolved;
|
|
528
577
|
if (!cell || column.kind === "rowLabel") return [];
|
|
529
578
|
let spec = rowSpecs.get(row.id), rollUp = row.hasChildren && spec?.cells?.[column.id] === void 0, value = tableValue(options, cell, column, { ...spec, rollUp }, authoredFormat.has(column.id)), sourceColumn = data.columns.find((item) => item.id === column.id);
|
|
530
|
-
|
|
531
|
-
let scaleUnit = value.format && !column.magnitudeInCells ? unitOfSpec(parseFormatExample(value.format)) : void 0;
|
|
532
|
-
value.unit = [options.unit, scaleUnit].filter(Boolean).join(" "), value.renderTarget = options.target;
|
|
533
|
-
}
|
|
534
|
-
return [{ row, column, cell, value }];
|
|
579
|
+
return currency && !cell.format && !spec?.format && !authoredFormat.has(column.id) && typeof value.raw == "number" && value.derived !== "percent" && (sourceColumn?.kind === "value" || sourceColumn?.kind === "computed" && calcPreservesScale(sourceColumn.calc)) && (value.unit = [options.unit, value.scaledUnit ? value.unit : void 0].filter(Boolean).join(" ")), [{ row, column, cell, value }];
|
|
535
580
|
}));
|
|
536
581
|
}
|
|
537
582
|
function bandFields(options, cell) {
|
|
@@ -702,8 +747,8 @@ function gridRecords(ctx, childRecords) {
|
|
|
702
747
|
return marks.panels.flatMap((panel) => {
|
|
703
748
|
let prepared = panel.chart, input = inputs.find((candidate) => candidate.id === panel.id);
|
|
704
749
|
if (!prepared || !input || !childRecords) return [];
|
|
705
|
-
let prefix = `${panel.id}/`, scope = { chart: ctx.scope.chart, panel: ctx.scope.panel ? `${ctx.scope.panel}/${panel.id}` : panel.id };
|
|
706
|
-
return childRecords({ request: resolveChartRequest({ type: panel.type, data: input.data, options
|
|
750
|
+
let prefix = `${panel.id}/`, scope = { chart: ctx.scope.chart, panel: ctx.scope.panel ? `${ctx.scope.panel}/${panel.id}` : panel.id }, formats = ctx.request.options, options = { ...prepared.options, [UNIT_STAND_INS]: formats[UNIT_STAND_INS], [AUTHORED_EXAMPLES]: formats[AUTHORED_EXAMPLES] };
|
|
751
|
+
return childRecords({ request: resolveChartRequest({ type: panel.type, data: input.data, options, fontMetrics: ctx.request.fontMetrics }), geometry: prepared.geometry, scope, claims: [] }).map((record) => {
|
|
707
752
|
let nodeIds = record.nodeIds.map((id) => prefix + id);
|
|
708
753
|
return {
|
|
709
754
|
...record,
|
|
@@ -1190,7 +1235,7 @@ function waffle(ctx) {
|
|
|
1190
1235
|
label: many ? `${panel.label} / ${series?.label ?? segment.seriesId}` : panel.label,
|
|
1191
1236
|
anchor: mark.rect,
|
|
1192
1237
|
...node ? { nodeIds: [node] } : {},
|
|
1193
|
-
fields: square ? [] : [field("cells", chartString10(ctx.request.options, "cells"), textValue(segment.reading))]
|
|
1238
|
+
fields: square ? [] : [field("cells", chartString10(ctx.request.options, "cells"), textValue(segment.cardReading ?? segment.reading))]
|
|
1194
1239
|
});
|
|
1195
1240
|
}));
|
|
1196
1241
|
}
|
|
@@ -1737,22 +1782,22 @@ function observations(values, owner = {}) {
|
|
|
1737
1782
|
function computedValue(value, observed) {
|
|
1738
1783
|
return value === null || observed.has(value) || !Number.isFinite(value) ? value : Number(value.toPrecision(12));
|
|
1739
1784
|
}
|
|
1740
|
-
function spanValue(low, high, decimals, unit, format, locale) {
|
|
1785
|
+
function spanValue(low, high, decimals, unit, format, locale, texts) {
|
|
1741
1786
|
if (low === null || high === null) return numericValue(null);
|
|
1742
|
-
let end = (raw) => format ?
|
|
1743
|
-
return textValue(chartString7({ locale: { language: locale } }, "spanText", { v1: end(low), v2: end(high) }));
|
|
1787
|
+
let end = (raw, text) => text !== void 0 ? unit ? withUnit(text, unit, !1, locale) : text : format ? formattedValueText(numericValue(raw, unit, format), locale) : derivedValueText(numericValue(raw, unit), decimals, !1, locale);
|
|
1788
|
+
return textValue(chartString7({ locale: { language: locale } }, "spanText", { v1: end(low, texts?.[0]), v2: end(high, texts?.[1]) }));
|
|
1744
1789
|
}
|
|
1745
1790
|
function boxRecords(ctx) {
|
|
1746
1791
|
let data = ctx.request.data, marks = ctx.geometry.marks, derived2 = ctx.geometry.derived, { unit, format } = ctx.request.options, locale = ctx.request.locale?.language, decimals = marks.labelDecimals;
|
|
1747
1792
|
return derived2.groups.map((group) => {
|
|
1748
|
-
let mark = marks.rows.find((row) => row.id === group.id), input = data.groups.find((row) => row.id === group.id), members = observations(input?.observations ?? [], { categoryId: group.id }), observed = new Set(input?.observations ?? []), stat = (key) => computedValue(group[key], observed), span = (low, high) => spanValue(low, high, decimals, unit, format, locale);
|
|
1793
|
+
let mark = marks.rows.find((row) => row.id === group.id), input = data.groups.find((row) => row.id === group.id), members = observations(input?.observations ?? [], { categoryId: group.id }), observed = new Set(input?.observations ?? []), stat = (key) => computedValue(group[key], observed), span = (low, high, texts) => spanValue(low, high, decimals, unit, format, locale, texts);
|
|
1749
1794
|
return makeRecord(ctx, { categoryId: group.id }, numericValue(stat("median"), unit, format), {
|
|
1750
1795
|
label: group.label,
|
|
1751
1796
|
valueLabel: chartString7(ctx.request.options, "medianName"),
|
|
1752
1797
|
...mark ? { anchor: mark.rect } : {},
|
|
1753
1798
|
fields: [
|
|
1754
|
-
field2("quartiles", chartString7(ctx.request.options, "quartiles"), span(stat("q1"), stat("q3"))),
|
|
1755
|
-
field2("whiskers", chartString7(ctx.request.options, "whiskers"), span(stat("whiskerLow"), stat("whiskerHigh"))),
|
|
1799
|
+
field2("quartiles", chartString7(ctx.request.options, "quartiles"), span(stat("q1"), stat("q3"), mark?.texts && [mark.texts.q1, mark.texts.q3])),
|
|
1800
|
+
field2("whiskers", chartString7(ctx.request.options, "whiskers"), span(stat("whiskerLow"), stat("whiskerHigh"), mark?.texts && [mark.texts.whiskerLow, mark.texts.whiskerHigh])),
|
|
1756
1801
|
field2("n", "n", numericValue(group.n)),
|
|
1757
1802
|
...members.map((item) => numberField(item.owner.pointId, item.value, unit, format))
|
|
1758
1803
|
],
|
|
@@ -1768,7 +1813,7 @@ function histogramRecords(ctx) {
|
|
|
1768
1813
|
}
|
|
1769
1814
|
let dash = derived2.binLabels.some((label) => label.includes(" \u2013 ")) ? " \u2013 " : "\u2013";
|
|
1770
1815
|
return marks.bins.map((bin) => {
|
|
1771
|
-
let members = observationsByBin.get(bin.index) ?? [], last = bin.index === derived2.counts.length - 1, [low, high] = derived2.binLabels[bin.index]?.split(dash) ?? [], edge = (text, raw, withUnit2) => text ? withUnit2 && /^[\d\s.,'\u2212+-]+$/.test(text) && unit ? withUnit(text, unit, !1, ctx.request.locale?.language) : text :
|
|
1816
|
+
let members = observationsByBin.get(bin.index) ?? [], last = bin.index === derived2.counts.length - 1, [low, high] = derived2.binLabels[bin.index]?.split(dash) ?? [], edge = (text, raw, withUnit2) => text ? withUnit2 && /^[\d\s.,'\u2212+-]+$/.test(text) && unit ? withUnit(text, unit, !1, ctx.request.locale?.language) : text : formattedValueText(numericValue(raw, withUnit2 ? unit : void 0, format), ctx.request.locale?.language), counted = bin.count === 1 && noun.endsWith("s") ? noun.slice(0, -1) : noun;
|
|
1772
1817
|
return makeRecord(ctx, { categoryId: JSON.stringify(["bin", bin.lo, bin.hi]) }, numericValue(bin.count, counted), {
|
|
1773
1818
|
// One bin per whole value names that value, "3 days", not "2.5 to under 3.5".
|
|
1774
1819
|
// The open last bin reads "1,600 or more", its upper edge is only the largest observation.
|
|
@@ -1807,7 +1852,7 @@ function denominator(row, period, derived2) {
|
|
|
1807
1852
|
}
|
|
1808
1853
|
function cohortCell(ctx, mark, derived2, displayed) {
|
|
1809
1854
|
let row = derived2.cohorts.find((item) => item.id === mark.rowId), period = mark.periodIndex, aggregate = mark.kind !== "cohort", missing = aggregate ? derived2.cohorts.some((item) => missingCohortRate(item, period, derived2.basis)) : !!row && missingCohortRate(row, period, derived2.basis), contributors = aggregate ? derived2.cohorts.filter((item) => period < item.observedPeriods && item.retention[period] != null && (denominator(item, period, derived2) ?? 0) > 0) : [], numerator = aggregate ? contributors.reduce((sum, item) => sum + item.active[period], 0) : row?.active[period], den = aggregate ? contributors.reduce((sum, item) => sum + denominator(item, period, derived2), 0) : row && period < row.observedPeriods ? denominator(row, period, derived2) : void 0, observed = aggregate ? contributors.length > 0 : !!row && period < row.observedPeriods, value = retentionValue(mark.retention, observed && !missing, ctx.request.options);
|
|
1810
|
-
displayed?.includes("%") && (value.displayed = displayed);
|
|
1855
|
+
(displayed?.includes("%") || displayed && /\d/.test(displayed) && ctx.request.options.format === void 0) && (value.displayed = displayed);
|
|
1811
1856
|
let owner = { seriesId: mark.rowId, categoryId: mark.periodId };
|
|
1812
1857
|
return makeRecord(ctx, owner, value, {
|
|
1813
1858
|
label: `${mark.rowLabel} / ${mark.periodLabel}`,
|
|
@@ -1864,13 +1909,13 @@ function mapRecords(ctx) {
|
|
|
1864
1909
|
|
|
1865
1910
|
// src/core/a11y/records.ts
|
|
1866
1911
|
function interactionRecords(context) {
|
|
1867
|
-
return
|
|
1912
|
+
return withChartFormats(context.request.options, () => recordsOf(context));
|
|
1868
1913
|
}
|
|
1869
1914
|
function recordsOf(context) {
|
|
1870
1915
|
let ctx = { ...context, request: { ...drawnRequest(context.request, context.geometry), options: withLocaleStrings(context.request.options) } }, records = categoryVariantRecords(ctx) ?? categoryRecords(ctx) ?? businessRecords(ctx) ?? creativeRecords(ctx) ?? statisticsRecords(ctx) ?? structuralRecords(ctx, interactionRecords);
|
|
1871
1916
|
if (!records) throw new Error(`No interaction record adapter for chart type '${ctx.request.type}'`);
|
|
1872
|
-
ctx.request.type !== "grid" && (pushAll(records, eventRecords(ctx)), pushAll(records, valueLineRecords(ctx)));
|
|
1873
|
-
let
|
|
1917
|
+
ctx.request.type !== "grid" && withShownTexts(records, ctx.geometry), ctx.request.type !== "grid" && (pushAll(records, eventRecords(ctx)), pushAll(records, valueLineRecords(ctx)));
|
|
1918
|
+
let currency = (value) => value.reason ? { ...value, reason: localizedRecordReason(value.reason, ctx.request.locale?.language) } : value;
|
|
1874
1919
|
for (let record of records)
|
|
1875
1920
|
record.value = currency(record.value), record.fields = record.fields.map((field3) => ({ ...field3, value: currency(field3.value) })), record.comparisons = record.comparisons.map((comparison) => ({
|
|
1876
1921
|
...comparison,
|
|
@@ -1891,7 +1936,9 @@ export {
|
|
|
1891
1936
|
derivedValueText,
|
|
1892
1937
|
deltaValueText,
|
|
1893
1938
|
signedPercentText,
|
|
1939
|
+
shownValueText,
|
|
1894
1940
|
displayedValueText,
|
|
1941
|
+
formattedValueText,
|
|
1895
1942
|
interactionValueText,
|
|
1896
1943
|
targetId,
|
|
1897
1944
|
ownerContains,
|