boardplot 0.58.1 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +67 -0
- package/dist/{ReaderBox-WVOT7VVJ.js → ReaderBox-4PNFZO56.js} +4 -4
- package/dist/{annotateEngine-57L26X77.js → annotateEngine-DL4KRQ6B.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-54YO56IK.js → chunk-25JXYOSX.js} +1 -1
- package/dist/{chunk-HF4BCPIV.js → chunk-266ENWFM.js} +3 -3
- package/dist/{chunk-FRR7BJ3B.js → chunk-2E2MK4XM.js} +2 -2
- package/dist/{chunk-2DS4MT7T.js → chunk-2GVW5WDD.js} +3 -3
- package/dist/{chunk-4ROZ4TFL.js → chunk-2HRDOBPS.js} +1 -1
- package/dist/chunk-2Q7IAWON.js +18 -0
- package/dist/{chunk-PVGJM2HP.js → chunk-33SPSKTP.js} +4 -4
- package/dist/{chunk-Z6DUNKFU.js → chunk-3JG764MI.js} +688 -140
- package/dist/{chunk-OZLKEBCD.js → chunk-3V7Y7CHI.js} +1 -1
- package/dist/{chunk-3BMPYY26.js → chunk-3WC2TA6C.js} +4 -4
- package/dist/{chunk-T7PRG6AO.js → chunk-3WFJDXZO.js} +3 -3
- package/dist/{chunk-5KAYLRRP.js → chunk-3ZR7ZE64.js} +2 -2
- package/dist/{chunk-WW4KLAVO.js → chunk-4DLIXTDH.js} +5 -5
- package/dist/{chunk-OQUH7I5T.js → chunk-4EEK4AMC.js} +2 -2
- package/dist/{chunk-RLH2CQCD.js → chunk-4LCQO46F.js} +144 -55
- package/dist/{chunk-SHYS52VO.js → chunk-4NIIQFDA.js} +147 -104
- package/dist/{chunk-ED7GLWTF.js → chunk-4PKUS5MG.js} +2 -1
- package/dist/{chunk-645BGVPP.js → chunk-4WH2YGO6.js} +3 -3
- package/dist/{chunk-MXUPMGRY.js → chunk-4YKS2JDE.js} +3 -3
- package/dist/{chunk-LYAT62UT.js → chunk-4YZQY3AA.js} +1 -1
- package/dist/{chunk-VJULLJLN.js → chunk-56CDMSE5.js} +2 -2
- package/dist/{chunk-SBKM6XFS.js → chunk-5AXWSGS7.js} +3 -3
- package/dist/{chunk-XZXZNI7A.js → chunk-5HOIOQK3.js} +1 -1
- package/dist/{chunk-ERDKMZ7O.js → chunk-5OV7VOGV.js} +2 -2
- package/dist/{chunk-AICO24HJ.js → chunk-5QMM354E.js} +6 -5
- package/dist/{chunk-USMKNNOU.js → chunk-5UXK5BAA.js} +37 -38
- package/dist/{chunk-ZB3JIL3L.js → chunk-5YULK4DY.js} +6 -10
- package/dist/{chunk-63JUV7NR.js → chunk-5ZE7SHRM.js} +3 -3
- package/dist/{chunk-SCAYWQZK.js → chunk-67744WKZ.js} +1 -1
- package/dist/{chunk-IFUAPFL5.js → chunk-6CZGFTGK.js} +51 -47
- package/dist/{chunk-7YZZCQT3.js → chunk-6IIYLDSQ.js} +3 -3
- package/dist/{chunk-JBAVMO56.js → chunk-6TH5NVKS.js} +19 -14
- package/dist/{chunk-I5VNHDPR.js → chunk-6TZDPQDE.js} +2 -2
- package/dist/{chunk-TMEUK2WS.js → chunk-77L6QGIG.js} +1 -1
- package/dist/{chunk-OS7C2KMQ.js → chunk-7IONS4Z7.js} +3 -3
- package/dist/{chunk-ETUKDEGL.js → chunk-7QUWM5W6.js} +6 -6
- package/dist/{chunk-KI7VCHNZ.js → chunk-7SIZGM5S.js} +78 -53
- package/dist/{chunk-G7BCLYL4.js → chunk-7TZIPGFH.js} +8 -6
- package/dist/{chunk-76GPN6AT.js → chunk-7UUSHA7H.js} +1 -1
- package/dist/{chunk-OZA7HA6L.js → chunk-7UZUXPFM.js} +1 -1
- package/dist/{chunk-4DK67I3B.js → chunk-7YJSSPQX.js} +31 -28
- package/dist/{chunk-TBZT5WUT.js → chunk-7ZXIHEZS.js} +4 -4
- package/dist/{chunk-IMUMPKXF.js → chunk-A3SOYL6F.js} +3 -3
- package/dist/{chunk-P3NMDPDP.js → chunk-ADLKZEML.js} +31 -64
- package/dist/{chunk-SKPOXLG5.js → chunk-AFQZBCME.js} +4 -4
- package/dist/{chunk-TVOMGNFQ.js → chunk-AGR4VJ2Y.js} +1 -1
- package/dist/{chunk-2HII2B6S.js → chunk-AH2L44TR.js} +3 -3
- package/dist/{chunk-WFBN2HXR.js → chunk-AIPOSNVG.js} +1 -1
- package/dist/{chunk-4OJF6DXL.js → chunk-AUSZDYGE.js} +9 -7
- package/dist/{chunk-2SWSUNA4.js → chunk-AVYRC2T3.js} +50 -28
- package/dist/{chunk-NSMYIUBZ.js → chunk-B5FT4YAX.js} +1 -1
- package/dist/{chunk-H3VICNTN.js → chunk-B7UWG6XJ.js} +1 -1
- package/dist/{chunk-X3QUASBR.js → chunk-BJJYNTVJ.js} +1 -1
- package/dist/{chunk-WKXLJNHW.js → chunk-BOUZKVIY.js} +17 -19
- package/dist/{chunk-WUP6C4ZD.js → chunk-BXZNLMMH.js} +1 -1
- package/dist/{chunk-OMNB27GM.js → chunk-C26Z5AEW.js} +3 -3
- package/dist/{chunk-VC62V7CX.js → chunk-CV5KCQD3.js} +72 -79
- package/dist/{chunk-RPGEB3Z5.js → chunk-CX7WUNMO.js} +22 -18
- package/dist/{chunk-YJUBX3QF.js → chunk-DANKUHCX.js} +41 -40
- package/dist/{chunk-IDXYHDQY.js → chunk-DBKMJWPO.js} +1 -1
- package/dist/{chunk-6ALORYH7.js → chunk-DEJ27Y2P.js} +138 -91
- package/dist/{chunk-HTQGJQZN.js → chunk-DITI57ZB.js} +1 -1
- package/dist/{chunk-IXU5C3YY.js → chunk-DO7MMF4C.js} +86 -43
- package/dist/{chunk-I52OMC5B.js → chunk-DUDVHQD6.js} +7 -7
- package/dist/{chunk-4TUU3UGY.js → chunk-DXLWMK24.js} +3 -3
- package/dist/{chunk-MALSSEXO.js → chunk-DYD7W3Y6.js} +20 -21
- package/dist/{chunk-P5RCP4NK.js → chunk-DZBT7AWJ.js} +2 -2
- package/dist/{chunk-YLRAAJYV.js → chunk-E4KHHC46.js} +16 -16
- package/dist/{chunk-KUWIRCYJ.js → chunk-E62SXDRT.js} +2 -2
- package/dist/{chunk-WOICFLOJ.js → chunk-EADD6NNQ.js} +73 -79
- package/dist/{chunk-CMPHT2LS.js → chunk-EH23CIC5.js} +4 -4
- package/dist/{chunk-HM4AJ5U4.js → chunk-EJA5EANI.js} +47 -26
- package/dist/{chunk-NFGV5OAR.js → chunk-EWGFOEJB.js} +126 -65
- package/dist/{chunk-Y6E4JU3U.js → chunk-EWMPUCIG.js} +37 -37
- package/dist/{chunk-GB3RZYTK.js → chunk-EZ5KUBYF.js} +38 -27
- package/dist/{chunk-M5LPP2GQ.js → chunk-F2N5BUBK.js} +12 -13
- package/dist/{chunk-VJ7VBB6S.js → chunk-F7QCIJAY.js} +1 -1
- package/dist/{chunk-C4SQU2PB.js → chunk-FB36HSY2.js} +4 -4
- package/dist/{chunk-F3XOBFS4.js → chunk-FBIMTKYK.js} +3 -10
- package/dist/{chunk-XSC4IXXC.js → chunk-FMVXXKSW.js} +3 -3
- package/dist/{chunk-3ESWPMDW.js → chunk-FP3ORYCG.js} +22 -21
- package/dist/{chunk-P6DEFCMQ.js → chunk-FWPPZB4G.js} +2 -2
- package/dist/{chunk-MSYTF3DZ.js → chunk-FYFXOLWI.js} +116 -89
- package/dist/{chunk-SH4UGK5U.js → chunk-GDE2JINW.js} +11 -11
- package/dist/{chunk-WDJSDJLV.js → chunk-GEEHXLFQ.js} +7 -6
- package/dist/{chunk-EDW5HQND.js → chunk-GGFT6IIM.js} +3 -3
- package/dist/{chunk-UBYDY4B7.js → chunk-GIJM4MP4.js} +5 -5
- package/dist/{chunk-UY34DDUM.js → chunk-GNK7RTO4.js} +3 -3
- package/dist/{chunk-CFESVCZR.js → chunk-GSHRYDJM.js} +1 -1
- package/dist/{chunk-3M2F7KSS.js → chunk-GWDKUKOJ.js} +96 -321
- package/dist/{chunk-XMX4PCFL.js → chunk-GZYMHC44.js} +2 -2
- package/dist/{chunk-OUR5ZHCB.js → chunk-HBKZC5BH.js} +2 -2
- package/dist/{chunk-23FT7RLN.js → chunk-HC4UW7MB.js} +4 -4
- package/dist/{chunk-AMBQ6SWU.js → chunk-HFDU2E7C.js} +27 -21
- package/dist/{chunk-ZG4BMJRL.js → chunk-HW67YGJC.js} +1 -1
- package/dist/{chunk-FJNZ7NWD.js → chunk-I65BCUVH.js} +3 -3
- package/dist/{chunk-VTY6YHQZ.js → chunk-ICERP2YF.js} +3 -3
- package/dist/{chunk-G7CXJPEN.js → chunk-ICJUN47O.js} +2 -2
- package/dist/{chunk-H4EDDGGX.js → chunk-ID5PE4KM.js} +3 -3
- package/dist/{chunk-BQ7SN7AW.js → chunk-IDJVUZAA.js} +3 -3
- package/dist/{chunk-O3LT4TAI.js → chunk-IQRRT32Q.js} +2 -2
- package/dist/{chunk-WGJIYFVQ.js → chunk-ISMFUWOP.js} +3 -3
- package/dist/{chunk-6AVUTZ6W.js → chunk-IX2SLULO.js} +3 -3
- package/dist/{chunk-Q2I3QLE3.js → chunk-IXZI4SN4.js} +116 -46
- package/dist/chunk-J6LGZPKI.js +89 -0
- package/dist/{chunk-CCAAI56H.js → chunk-JF743NNC.js} +7 -0
- package/dist/{chunk-YGWPOYDE.js → chunk-JIB74SQS.js} +6 -6
- package/dist/{chunk-ZIVCPXXL.js → chunk-JOX252XQ.js} +5 -5
- package/dist/{chunk-V7JFT7NQ.js → chunk-JRM22ULA.js} +54 -45
- package/dist/{chunk-XSEETONJ.js → chunk-JYSS5ZZF.js} +5 -5
- package/dist/{chunk-WLH5IBFY.js → chunk-KRIYGX3N.js} +3 -3
- package/dist/{chunk-XRRG4MBM.js → chunk-KWMQNKGX.js} +2 -2
- package/dist/{chunk-6YBNVI5I.js → chunk-LADFOYH7.js} +40 -27
- package/dist/{chunk-VKNQOSGW.js → chunk-LC4KDLUE.js} +3 -3
- package/dist/{chunk-ITEJQHXE.js → chunk-LLECS747.js} +4 -4
- package/dist/{chunk-JYSFAH7C.js → chunk-LM4GVVPM.js} +16 -10
- package/dist/{chunk-EHRRHSPV.js → chunk-LPLRXEOT.js} +55 -19
- package/dist/{chunk-ZBCCJPGW.js → chunk-M2FF4IPF.js} +16 -7
- package/dist/{chunk-4JGBCBDZ.js → chunk-MF6XGFHB.js} +1 -1
- package/dist/{chunk-BHLNSJG7.js → chunk-MOBRWYUQ.js} +2 -2
- package/dist/{chunk-CDUR3KWV.js → chunk-MOPY5REE.js} +2 -2
- package/dist/{chunk-MGXHFRQK.js → chunk-MTOBNHAU.js} +2 -2
- package/dist/{chunk-DORE2RHL.js → chunk-MYBBZNYN.js} +2 -2
- package/dist/{chunk-V7NUJEJE.js → chunk-MZCJ22O4.js} +1 -1
- package/dist/{chunk-W2QILXAL.js → chunk-NIL6TYAN.js} +4 -4
- package/dist/{chunk-YW35KSXR.js → chunk-NPDF7HEH.js} +2 -2
- package/dist/{chunk-SH4FLUAD.js → chunk-NUASZPS7.js} +1 -1
- package/dist/{chunk-Z62TJQO5.js → chunk-NWUEA42V.js} +3 -3
- package/dist/{chunk-UOOXWGBU.js → chunk-NZGQLR4X.js} +8 -8
- package/dist/{chunk-RQKDEJFQ.js → chunk-O32L5FK2.js} +3 -3
- package/dist/{chunk-OUNYHYJL.js → chunk-O623CYPA.js} +3 -3
- package/dist/{chunk-OELB7MTE.js → chunk-OJR5GPCN.js} +3 -3
- package/dist/{chunk-C47POAC5.js → chunk-OL6HVC6K.js} +1 -1
- package/dist/{chunk-6NGKQNTB.js → chunk-OM5MAJST.js} +68 -57
- package/dist/{chunk-AAQWFTDM.js → chunk-OTOASFG4.js} +92 -35
- package/dist/{chunk-6JTCFPAD.js → chunk-P3N74SZ5.js} +3 -3
- package/dist/{chunk-CKEFAD4R.js → chunk-PHQGGR5O.js} +3 -3
- package/dist/{chunk-DUOGEFLG.js → chunk-POHML4N4.js} +107 -50
- package/dist/{chunk-KVBLTAO7.js → chunk-PP23D6QV.js} +4 -5
- package/dist/{chunk-F2ET5ZTT.js → chunk-PPOUKS24.js} +0 -1
- package/dist/{chunk-V7FV66KL.js → chunk-PRVX4PAO.js} +1 -1
- package/dist/{chunk-JY4LTPOV.js → chunk-PSUSHJFV.js} +1 -1
- package/dist/{chunk-AJGSCVVW.js → chunk-PZZAVTLQ.js} +2 -2
- package/dist/{chunk-R5SGE2NS.js → chunk-QDFX2KAP.js} +2 -2
- package/dist/{chunk-XC32OSCD.js → chunk-QKDDGDRF.js} +10 -10
- package/dist/{chunk-U6QZOMYC.js → chunk-QM6IW5BL.js} +3 -3
- package/dist/chunk-QMQZC2KW.js +408 -0
- package/dist/{chunk-42QKUSHJ.js → chunk-QXHFELIA.js} +1 -1
- package/dist/{chunk-JNDWRV34.js → chunk-R2RLERPT.js} +1 -1
- package/dist/{chunk-E5YF236N.js → chunk-R4MVXUAG.js} +1 -1
- package/dist/{chunk-XZOFKLTD.js → chunk-REIIGIJG.js} +3 -3
- package/dist/{chunk-4M3UADCM.js → chunk-RF2REMRV.js} +6 -6
- package/dist/{chunk-3MFVJMP6.js → chunk-RF6ZHX5F.js} +1 -1
- package/dist/{chunk-TKH655ON.js → chunk-RLX6VODQ.js} +9 -2
- package/dist/{chunk-KWIP5YRA.js → chunk-RPS7G77V.js} +3 -3
- package/dist/{chunk-MVR7YKBF.js → chunk-RSDGBNXP.js} +5 -5
- package/dist/{chunk-QFNWGSCT.js → chunk-RYYB7REV.js} +3 -3
- package/dist/{chunk-LPMSGO7L.js → chunk-SBYKLBDV.js} +3 -3
- package/dist/{chunk-JT3UTEWZ.js → chunk-SDAVHADX.js} +2 -2
- package/dist/{chunk-AQ2PQ7FK.js → chunk-SE6LBMRJ.js} +137 -62
- package/dist/{chunk-3OSQ32GN.js → chunk-SFRMBCVY.js} +3 -3
- package/dist/{chunk-AGJ2QL4A.js → chunk-SNJ3FZXC.js} +14 -12
- package/dist/{chunk-USSG6TJV.js → chunk-SXCFMPNM.js} +3 -3
- package/dist/{chunk-SGDWLXUC.js → chunk-SY7JC3PH.js} +1 -1
- package/dist/{chunk-QATOOZMH.js → chunk-T4CFY4YT.js} +4 -4
- package/dist/{chunk-5SVGTQTW.js → chunk-TASEX7VA.js} +1 -1
- package/dist/{chunk-BVIJCUWW.js → chunk-TCWJQIVQ.js} +123 -71
- package/dist/{chunk-VACZGW5R.js → chunk-TEZWFQB7.js} +7 -7
- package/dist/{chunk-GHCU6OSE.js → chunk-TLKRYDH3.js} +2 -2
- package/dist/{chunk-MB5EX2YG.js → chunk-TMVERETB.js} +23 -332
- package/dist/{chunk-LOXZSTIM.js → chunk-TQFBLSZJ.js} +44 -27
- package/dist/{chunk-NT3HCXQC.js → chunk-U4WG46QP.js} +117 -43
- package/dist/{chunk-LJDATBPB.js → chunk-U75MMLNQ.js} +3 -6
- package/dist/{chunk-R3VSWOTI.js → chunk-UFGJNSSL.js} +1 -1
- package/dist/{chunk-FB6X7QHA.js → chunk-UGHJHJKY.js} +1 -1
- package/dist/{chunk-LXH4RPY4.js → chunk-UI2MKLON.js} +1 -1
- package/dist/{chunk-3E6NLODZ.js → chunk-UKEI7JDA.js} +1 -1
- package/dist/{chunk-6JFQCVNN.js → chunk-USATDW6O.js} +1 -1
- package/dist/{chunk-CQBPNE7Z.js → chunk-UTWLJ6AZ.js} +6 -5
- package/dist/{chunk-NQPJWQTW.js → chunk-UV77Y7QK.js} +11 -5
- package/dist/{chunk-PMT75APP.js → chunk-UXJXA4NP.js} +1 -1
- package/dist/{chunk-3RXUA6VY.js → chunk-UZDQFUHO.js} +3 -3
- package/dist/{chunk-AKZOQGF3.js → chunk-V3XYFLOZ.js} +3 -3
- package/dist/{chunk-OQQMDSCC.js → chunk-VGOZOBNB.js} +1 -1
- package/dist/{chunk-K7XPTQBJ.js → chunk-VHZ4MXJO.js} +1 -1
- package/dist/{chunk-EBWMTQ4U.js → chunk-VLMKGQ33.js} +13 -13
- package/dist/{chunk-34PKJZRY.js → chunk-VMLVZW4F.js} +39 -36
- package/dist/{chunk-65U6ZBZZ.js → chunk-VT6PDWUA.js} +78 -78
- package/dist/{chunk-GQYT7G4F.js → chunk-VTUSC24F.js} +2 -2
- package/dist/{chunk-33EBLJVZ.js → chunk-VVWTD4XP.js} +9 -9
- package/dist/{chunk-5CYLT6FJ.js → chunk-VZVPN7NT.js} +3 -3
- package/dist/{chunk-Z3WQXVFV.js → chunk-W4ZLMK6Z.js} +1 -1
- package/dist/{chunk-35ZJUZUO.js → chunk-W6NEWQZU.js} +20 -18
- package/dist/{chunk-DZYTXZNS.js → chunk-WD5NJHZG.js} +2 -2
- package/dist/{chunk-P7UOOMXE.js → chunk-WTH3KQDM.js} +2 -2
- package/dist/{chunk-CSMVKG2C.js → chunk-WTWM4RK6.js} +1 -1
- package/dist/{chunk-W6XSIBLR.js → chunk-WZNO3LUF.js} +3 -3
- package/dist/{chunk-QQMESIDA.js → chunk-X3AMBFGF.js} +3 -3
- package/dist/{chunk-DHGE46UK.js → chunk-X725AGYP.js} +1 -1
- package/dist/{chunk-TX5FSNAU.js → chunk-XAH4EWJT.js} +1 -1
- package/dist/{chunk-4DMRIL5K.js → chunk-XETSLYFD.js} +3 -3
- package/dist/{chunk-6V3A3MTG.js → chunk-XFDNAR4S.js} +16 -27
- package/dist/{chunk-WMQ57FOP.js → chunk-XGTSZ7NC.js} +3 -3
- package/dist/{chunk-HAG3K6PQ.js → chunk-XHEG2BG6.js} +1 -1
- package/dist/{chunk-D2TQX7UJ.js → chunk-XLX3TUFO.js} +2 -2
- package/dist/{chunk-XLLWIHN2.js → chunk-XMII3G47.js} +3 -3
- package/dist/{chunk-BSZOQJXB.js → chunk-XRPZJDAK.js} +101 -72
- package/dist/{chunk-IPBOREIY.js → chunk-XUEX5WTR.js} +1 -1
- package/dist/{chunk-HO4ILCW7.js → chunk-XUGEYHOQ.js} +2 -2
- package/dist/{chunk-OO63YP35.js → chunk-XVFUJRRC.js} +1 -1
- package/dist/{chunk-IVDTP6SV.js → chunk-XWGAANY4.js} +3 -3
- package/dist/{chunk-IPZJCBWD.js → chunk-XWUHUTXX.js} +24 -18
- package/dist/{chunk-WNTUBGBB.js → chunk-XXYV5UEM.js} +50 -49
- package/dist/{chunk-7GRR72MY.js → chunk-XZBX6LIC.js} +20 -12
- package/dist/{chunk-ZDJ7C64T.js → chunk-Y4BJ7D5F.js} +1 -1
- package/dist/{chunk-KW4JXWHO.js → chunk-YDYZWCUQ.js} +1 -1
- package/dist/{chunk-ZCHKIR7C.js → chunk-YJN54OZS.js} +52 -41
- package/dist/{chunk-X46PSAJ7.js → chunk-YJXIHVNK.js} +2 -2
- package/dist/{chunk-UCKUAKYQ.js → chunk-YKYK6C7F.js} +1 -1
- package/dist/{chunk-GNMB72V7.js → chunk-YM4MVABU.js} +56 -24
- package/dist/{chunk-GOFS336W.js → chunk-YM7MO7WI.js} +1 -1
- package/dist/{chunk-PNYWBY4K.js → chunk-YOUYJHW3.js} +3 -3
- package/dist/{chunk-OTWIW2L3.js → chunk-YPELB4Q7.js} +3 -3
- package/dist/{chunk-5I4RPBNE.js → chunk-YRCIG4IO.js} +8 -7
- package/dist/{chunk-FPFRLRQO.js → chunk-ZIQR2CNM.js} +7 -7
- package/dist/{chunk-H7BCNS5J.js → chunk-ZK22I3NF.js} +3 -3
- package/dist/{chunk-A6N24NGW.js → chunk-ZNA4JHHG.js} +2 -2
- package/dist/{chunk-VESSIKBG.js → chunk-ZOQRX5V7.js} +4 -4
- package/dist/{chunk-FVWHEM2N.js → chunk-ZPQ3VOAE.js} +1 -1
- package/dist/{chunk-NZ7FX3AE.js → chunk-ZQ5ILQ5A.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{core-LSYX4UQQ.js → core-2PT7IROA.js} +2 -1
- package/dist/{core-YN2VVGUL.js → core-34YTH4KN.js} +1 -1
- package/dist/{core-7YDNMUU3.js → core-4ZEVWU43.js} +1 -1
- package/dist/{core-743ZXTWK.js → core-64EHPUVV.js} +1 -1
- package/dist/{core-ZETBHLSV.js → core-6KO5AEUH.js} +1 -1
- package/dist/{core-2GWH3ED7.js → core-7WLD237S.js} +1 -1
- package/dist/{core-AC5AKSCM.js → core-A2MERE3C.js} +1 -1
- package/dist/{core-O5S2NETE.js → core-AVNB2Q3G.js} +2 -1
- package/dist/{core-XUNZB6BM.js → core-B7KOBTRL.js} +1 -1
- package/dist/{core-HIONDJGC.js → core-BOOD7ZUQ.js} +1 -1
- package/dist/{core-3LCSHMKN.js → core-BOU34T23.js} +1 -1
- package/dist/{core-VYHQ5JY6.js → core-BQ2I77OF.js} +2 -1
- package/dist/{core-HMBMMF5Z.js → core-BSEXRZD6.js} +1 -1
- package/dist/{core-Q2Y3JEWL.js → core-CXEEM26F.js} +1 -1
- package/dist/{core-7OAGK7ZJ.js → core-EHMPBG6Q.js} +1 -1
- package/dist/{core-BEK6EPVF.js → core-FXC4TB2K.js} +1 -1
- package/dist/{core-MIERUUUT.js → core-HMS72VO6.js} +1 -1
- package/dist/{core-EGTJOQK7.js → core-I2GPMB2B.js} +1 -1
- package/dist/{core-XJZWD43V.js → core-IQC6H4A7.js} +1 -1
- package/dist/{core-RTBPKALG.js → core-IYEFTP6C.js} +1 -1
- package/dist/{core-3XGQBHJI.js → core-J2QTOU4D.js} +1 -1
- package/dist/{core-AEALAFRA.js → core-JJLIPTEW.js} +1 -1
- package/dist/{core-5CRTPVYA.js → core-LCP44UYI.js} +1 -2
- package/dist/{core-BRBJ3LPF.js → core-MBNVENCZ.js} +1 -1
- package/dist/{core-VBMWBPKM.js → core-MVIK7FAJ.js} +2 -1
- package/dist/{core-TIIPSEK3.js → core-N4OKPNXQ.js} +1 -1
- package/dist/{core-FE4THVV3.js → core-Q4IILTGO.js} +1 -1
- package/dist/{core-4N6WH3IF.js → core-QCPDOQEJ.js} +2 -1
- package/dist/{core-AAPPZSSZ.js → core-RVTF336C.js} +1 -1
- package/dist/{core-5K4HRIHX.js → core-VGMMKEU4.js} +1 -1
- package/dist/{core-3NQ5TXOJ.js → core-VUVJOMUC.js} +1 -1
- package/dist/{core-T7CKLMT2.js → core-VWISBHXE.js} +1 -1
- package/dist/{core-YKDDPMWW.js → core-W3UBWZR3.js} +1 -1
- package/dist/{core-FEBNVNVE.js → core-XYQRB5WF.js} +1 -1
- package/dist/{core-YP4MNIMV.js → core-Y6DJHIYT.js} +1 -1
- package/dist/{core-NTOOJZRA.js → core-YHWVJULU.js} +1 -1
- package/dist/{core-VLXOQ5CK.js → core-YJXOVNIE.js} +1 -1
- package/dist/{dataTable-FEQZSDUZ.js → dataTable-3ZK3ZEZP.js} +3 -2
- package/dist/{engine-SCQVNSAM.js → engine-FSWLRWZR.js} +19 -17
- package/dist/fixtures.js +1 -1
- package/dist/index.js +14 -13
- package/dist/{main-7UKLXCIL.js → main-NYMXWJGJ.js} +6 -5
- package/dist/mcp/server.js +11 -10
- package/dist/react/bar.js +1 -1
- package/dist/react/bartable.js +1 -1
- package/dist/react/box.js +1 -1
- package/dist/react/bullet.js +1 -1
- package/dist/react/butterfly.js +1 -1
- package/dist/react/choropleth.js +1 -1
- package/dist/react/cohort.js +2 -1
- package/dist/react/column.js +1 -1
- package/dist/react/combo.js +1 -1
- package/dist/react/creative.js +1 -1
- package/dist/react/diagram.js +1 -1
- package/dist/react/dimswitch.js +1 -1
- package/dist/react/dot.js +1 -1
- package/dist/react/export.js +24 -19
- package/dist/react/funnel.js +1 -1
- package/dist/react/gantt.js +1 -1
- package/dist/react/grid.js +1 -1
- package/dist/react/heatmap.js +2 -1
- package/dist/react/histogram.js +1 -1
- package/dist/react/index.js +84 -83
- package/dist/react/kpi.js +1 -1
- package/dist/react/likert.js +1 -1
- package/dist/react/line.js +2 -1
- package/dist/react/mekko.js +1 -1
- package/dist/react/pareto.js +1 -1
- package/dist/react/pie.js +1 -1
- package/dist/react/prepare.js +22 -20
- package/dist/react/pvm.js +1 -1
- package/dist/react/pyramid.js +1 -1
- package/dist/react/sankey.js +1 -1
- package/dist/react/scatter.js +2 -1
- package/dist/react/slope.js +1 -1
- package/dist/react/sparkline.js +1 -1
- package/dist/react/spec.js +10 -10
- package/dist/react/status.js +2 -1
- package/dist/react/story.js +3 -3
- package/dist/react/table.js +1 -1
- package/dist/react/theme.js +3 -3
- package/dist/react/tilemap.js +1 -1
- package/dist/react/treemap.js +1 -1
- package/dist/react/variance.js +1 -1
- package/dist/react/waffle.js +1 -1
- package/dist/react/waterfall.js +1 -1
- package/dist/{rowsModule-WJH4QNXZ.js → rowsModule-43LCK2Q7.js} +1 -1
- package/dist/{schema-MQT6BMNK.js → schema-2ACHQTR3.js} +1 -1
- package/dist/{schema-WZOSDDDJ.js → schema-3LRC5TOZ.js} +1 -1
- package/dist/{schema-F7TWGLRZ.js → schema-4HGZZNUL.js} +1 -1
- package/dist/{schema-PWPQF5RC.js → schema-4YIYGGOJ.js} +1 -1
- package/dist/{schema-ECJERHKF.js → schema-5OLQ54J5.js} +1 -1
- package/dist/{schema-CWKGLDSR.js → schema-5SVPR3EU.js} +1 -1
- package/dist/{schema-BA6WP5YZ.js → schema-A4U4RDKJ.js} +1 -1
- package/dist/{schema-JYZ4RF6S.js → schema-AM2KS6ZC.js} +1 -1
- package/dist/{schema-PYQEUC5P.js → schema-C25ECGJL.js} +1 -1
- package/dist/{schema-56MOEOVR.js → schema-CBLNGK2F.js} +1 -1
- package/dist/{schema-ESR6ZIK4.js → schema-D3ELHESU.js} +1 -1
- package/dist/{schema-5MSR4LNN.js → schema-FBIEOKO2.js} +1 -1
- package/dist/{schema-DUVJMFKQ.js → schema-FPDLOIA6.js} +1 -1
- package/dist/{schema-ALBF6V7Y.js → schema-FQWENOJY.js} +1 -1
- package/dist/{schema-DBIQFL56.js → schema-GTLGAPCU.js} +1 -1
- package/dist/{schema-Q5DACE4I.js → schema-GUDG343K.js} +2 -2
- package/dist/{schema-47BG2TZA.js → schema-GYTWCCNA.js} +1 -1
- package/dist/{schema-DL7V6NN2.js → schema-GYVYJEL3.js} +1 -1
- package/dist/{schema-ZU2EU2VP.js → schema-HAMPGUH3.js} +1 -1
- package/dist/{schema-TVUJNEX7.js → schema-IYBZPCM4.js} +1 -1
- package/dist/{schema-2TPGJGVR.js → schema-IYLRZNFB.js} +1 -1
- package/dist/{schema-KAK6DZX4.js → schema-KBV2JB2A.js} +1 -1
- package/dist/{schema-PV7JGX5H.js → schema-KWCIIIGP.js} +1 -1
- package/dist/{schema-Y4TI2T3T.js → schema-LDF6HORS.js} +1 -1
- package/dist/{schema-FKGGTM4Z.js → schema-LGYHJPXU.js} +1 -1
- package/dist/{schema-CBL2SMVR.js → schema-LX4EXDTI.js} +1 -1
- package/dist/{schema-2R32F6AW.js → schema-NNNG7CWG.js} +1 -1
- package/dist/{schema-OPXZYIW7.js → schema-P2JYSV32.js} +1 -1
- package/dist/{schema-FGB6IGZM.js → schema-PAKZIYQF.js} +1 -1
- package/dist/{schema-R42VXFIS.js → schema-SQ2GYLMI.js} +1 -1
- package/dist/{schema-KCJ6WTGV.js → schema-SUDJBIHX.js} +1 -1
- package/dist/{schema-MR3BPPQR.js → schema-TRPPZCIR.js} +1 -1
- package/dist/{schema-JIAQE7WO.js → schema-UNYDUIL5.js} +1 -1
- package/dist/{schema-5RIYEWE6.js → schema-VH4AW62Z.js} +1 -1
- package/dist/{schema-EDSEKZDJ.js → schema-WDKBCN3V.js} +1 -1
- package/dist/{schema-MOKWIGF7.js → schema-YCKUQ3FF.js} +1 -1
- package/dist/{schema-K7F6TEDK.js → schema-YVBUY7NH.js} +1 -1
- package/dist/{specValidation-DC4TVHWD.js → specValidation-FKHSTMMR.js} +1 -1
- package/dist/theme.js +2 -2
- package/dist/types/core/a11y/recordsShared.d.ts +15 -4
- package/dist/types/core/a11y/types.d.ts +0 -3
- package/dist/types/core/annotate.d.ts +17 -1
- package/dist/types/core/annotateTargets.d.ts +8 -0
- package/dist/types/core/charts/band/stacks.d.ts +4 -3
- package/dist/types/core/charts/bar/layout.d.ts +3 -1
- package/dist/types/core/charts/bartable/types.d.ts +3 -0
- package/dist/types/core/charts/box/types.d.ts +5 -0
- package/dist/types/core/charts/column/anomaly.d.ts +12 -5
- package/dist/types/core/charts/column/model.d.ts +4 -0
- package/dist/types/core/charts/combo/endpoints.d.ts +11 -1
- package/dist/types/core/charts/combo/layout.d.ts +7 -1
- package/dist/types/core/charts/dimswitch/compile.d.ts +20 -3
- package/dist/types/core/charts/grid/metricStack.d.ts +2 -4
- package/dist/types/core/charts/histogram/types.d.ts +3 -0
- package/dist/types/core/charts/likert/layout.d.ts +5 -2
- package/dist/types/core/charts/logAxis.d.ts +0 -5
- package/dist/types/core/charts/scatter/logAxis.d.ts +1 -1
- package/dist/types/core/charts/scatter/model.d.ts +10 -1
- package/dist/types/core/charts/scatter/trend.d.ts +19 -0
- package/dist/types/core/charts/table/view.d.ts +7 -0
- package/dist/types/core/charts/waffle/types.d.ts +8 -0
- package/dist/types/core/formatPrecision.d.ts +24 -0
- package/dist/types/core/formatSpec.d.ts +213 -61
- package/dist/types/core/label/solver.d.ts +3 -1
- package/dist/types/core/numberRule.d.ts +109 -0
- package/dist/types/core/numberSets.d.ts +43 -0
- package/dist/types/core/shownMarks.d.ts +16 -0
- package/dist/types/core/types/options.d.ts +8 -8
- package/dist/types/core/types/scene.d.ts +24 -0
- package/dist/types/core/types/table.d.ts +0 -13
- package/dist/types/react/TableChart.d.ts +9 -7
- package/dist/types/react/hover/engine.d.ts +6 -4
- package/dist/types/react/hover/labelCard.d.ts +4 -3
- package/dist/validate.js +5 -4
- package/docs/manual.md +15 -7
- package/docs/reference/bartable.md +2 -2
- package/docs/reference/cohort.md +1 -1
- package/docs/reference/column.md +1 -1
- package/docs/reference/dimswitch.md +2 -3
- package/docs/reference/fixtures.md +1 -1
- package/docs/reference/grid.md +13 -7
- package/docs/reference/heatmap.md +1 -1
- package/docs/reference/line.md +2 -2
- package/docs/reference/options.md +3 -3
- package/docs/reference/react.md +1 -1
- package/docs/reference/table.md +5 -8
- package/docs/reference/warnings.md +0 -1
- package/package.json +1 -1
- package/dist/chunk-2IRMGCYE.js +0 -125
- package/dist/chunk-WVCDISZP.js +0 -89
- package/dist/types/core/charts/table/fitFormats.d.ts +0 -67
- package/dist/types/core/charts/table/resolve.d.ts +0 -84
- package/dist/types/core/format.d.ts +0 -156
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
sankeyShareFormat,
|
|
8
8
|
segmentBands,
|
|
9
9
|
weightedCrossings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TASEX7VA.js";
|
|
11
11
|
import {
|
|
12
12
|
chartPalette
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AIPOSNVG.js";
|
|
14
14
|
import {
|
|
15
15
|
widthsThatFit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UI2MKLON.js";
|
|
17
17
|
import {
|
|
18
18
|
structureCount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YDYZWCUQ.js";
|
|
20
20
|
import {
|
|
21
21
|
generatedIdWarnings
|
|
22
22
|
} from "./chunk-SXAZDIGM.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
heightOmitted,
|
|
27
27
|
resolveSizing,
|
|
28
28
|
spread1DResult
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YM4MVABU.js";
|
|
30
30
|
import {
|
|
31
31
|
PRIORITY,
|
|
32
32
|
authoredNotes,
|
|
@@ -39,19 +39,18 @@ import {
|
|
|
39
39
|
markNotedLabels,
|
|
40
40
|
solveFrame,
|
|
41
41
|
solveLabels
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-AUSZDYGE.js";
|
|
43
43
|
import {
|
|
44
44
|
valueNote
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-WD5NJHZG.js";
|
|
46
46
|
import {
|
|
47
47
|
formatterFromExample,
|
|
48
|
-
seriesRasterFormatter
|
|
49
|
-
|
|
50
|
-
} from "./chunk-Z6DUNKFU.js";
|
|
48
|
+
seriesRasterFormatter
|
|
49
|
+
} from "./chunk-3JG764MI.js";
|
|
51
50
|
import {
|
|
52
51
|
chartStrings,
|
|
53
52
|
shareSetFormatter
|
|
54
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-FYFXOLWI.js";
|
|
55
54
|
import {
|
|
56
55
|
canvasMargin,
|
|
57
56
|
createOccupiedIndex,
|
|
@@ -65,7 +64,7 @@ import {
|
|
|
65
64
|
round2,
|
|
66
65
|
seriesPaint,
|
|
67
66
|
themeForWidth
|
|
68
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-XAH4EWJT.js";
|
|
69
68
|
import {
|
|
70
69
|
TARGET_SIZE,
|
|
71
70
|
accessibleTitle,
|
|
@@ -152,9 +151,12 @@ function layoutSankeyPass(data, options) {
|
|
|
152
151
|
message: `${steps} nodes colour links, and the palette has ${paletteLength} colours, so some nodes share a colour`,
|
|
153
152
|
suggest: "Set nodes[].fill or nodes[].colorRole on the nodes that matter, or fold small nodes with other.share."
|
|
154
153
|
});
|
|
155
|
-
let nodeValue = options.nodeValue ?? "value", percentExample = sankeyShareFormat(options), valueExample = percentExample ? void 0 : options.format,
|
|
154
|
+
let nodeValue = options.nodeValue ?? "value", percentExample = sankeyShareFormat(options), valueExample = percentExample ? void 0 : options.format, valueSet = [...nodes.map((node) => node.value), ...links.map((link) => link.value)], fmt = seriesRasterFormatter(valueExample, valueSet, locale, options.unit).fmt, shareOf = (node) => columnTotal[node.column] > 0 ? node.value / columnTotal[node.column] * 100 : 0, shareFmt = percentExample ? formatterFromExample(percentExample, locale) : shareSetFormatter(nodes.map(shareOf), locale).format, valueText = (node) => {
|
|
156
155
|
let share = shareFmt(shareOf(node));
|
|
157
156
|
return nodeValue === "share" ? share : nodeValue === "value-share" ? `${fmt(node.value)} (${share})` : fmt(node.value);
|
|
157
|
+
}, shownOf = (node) => {
|
|
158
|
+
let share = shareFmt(shareOf(node));
|
|
159
|
+
return nodeValue === "share" ? { "share.percent": share } : nodeValue === "value-share" ? { value: fmt(node.value), "share.percent": share } : { value: fmt(node.value) };
|
|
158
160
|
}, printsValue = nodeValue !== !1, otherNotes = nodes.filter((node) => node.other).map((node) => {
|
|
159
161
|
let stage = graph.columns[node.column]?.label, name = stage !== void 0 ? `${node.label} (${stage})` : columnCount > 2 ? `${node.label} (${node.column + 1})` : node.label, items = node.members.map((member) => `${member.label} ${fmt(member.value)}`);
|
|
160
162
|
return valueNote(chartString(options, "otherMembers", { v1: name, v2: items.join(", ") }), items);
|
|
@@ -231,7 +233,7 @@ function layoutSankeyPass(data, options) {
|
|
|
231
233
|
fill: isOthersFill(linkPaint(link)) ? linkPaint(link) : ribbonPaint(linkPaint(link)),
|
|
232
234
|
owner: { segmentId: link.key },
|
|
233
235
|
part: "sankeyLink",
|
|
234
|
-
display: { value: fmt(link.value) }
|
|
236
|
+
display: { value: fmt(link.value), shows: { value: fmt(link.value) } }
|
|
235
237
|
});
|
|
236
238
|
let mid = pieces[Math.floor((pieces.length - 1) / 2)], midY = pieces.length % 2 === 1 ? (mid.sy + mid.ty) / 2 : mid.ty;
|
|
237
239
|
marks.links.push({ key: link.key, nodeId, at: { x: round2(pieces.length % 2 === 1 ? (mid.x0 + mid.x1) / 2 : mid.x1 + barW / 2), y: round2(midY + link.value * scale / 2) } });
|
|
@@ -248,7 +250,7 @@ function layoutSankeyPass(data, options) {
|
|
|
248
250
|
...isOthersFill(fill) ? { separation: { fill, backing: { token: "background" } } } : {},
|
|
249
251
|
owner: { categoryId: own.key },
|
|
250
252
|
part: "sankeyNode",
|
|
251
|
-
display: { value: valueText(own) }
|
|
253
|
+
display: { value: valueText(own), shows: shownOf(own) }
|
|
252
254
|
}), occupied.claim(rect, "mark", { categoryId: own.key }, "sankeyNode"), marks.nodes.push({ key: own.key, nodeId, rect });
|
|
253
255
|
}
|
|
254
256
|
});
|
|
@@ -266,7 +268,7 @@ function layoutSankeyPass(data, options) {
|
|
|
266
268
|
column.forEach((node, k) => {
|
|
267
269
|
let own = nodes[node], text = texts[k], id = `node:${own.key}`, owner = { categoryId: own.key }, priority = PRIORITY.interior + round2(shareOf(own)), note = printsValue ? `${nodeName(own)} ${valueText(own)}` : nodeName(own);
|
|
268
270
|
if (!shown.has(k)) {
|
|
269
|
-
requests.push({ id, kind: "item", owner, text: note, lines: [note], font: nameFont, priority, redundant: !0, suppressedAs: "density", candidates: [], noteText: note, owed: !0 });
|
|
271
|
+
requests.push({ id, kind: "item", owner, text: note, lines: [note], ...printsValue ? { shows: shownOf(own) } : {}, font: nameFont, priority, redundant: !0, suppressedAs: "density", candidates: [], noteText: note, owed: !0 });
|
|
270
272
|
return;
|
|
271
273
|
}
|
|
272
274
|
let at = spread.positions[kept.findIndex((entry) => entry.k === k)], b = box(node), rect = { x: where === "left" ? columnX(c) - LABEL_GAP - text.w : columnX(c) + barW + LABEL_GAP, y: at - text.h / 2, w: text.w, h: text.h };
|
|
@@ -276,6 +278,7 @@ function layoutSankeyPass(data, options) {
|
|
|
276
278
|
owner,
|
|
277
279
|
text: text.lines.join(" "),
|
|
278
280
|
lines: text.lines,
|
|
281
|
+
...printsValue ? { shows: shownOf(own) } : {},
|
|
279
282
|
font: nameFont,
|
|
280
283
|
priority,
|
|
281
284
|
noteText: note,
|
|
@@ -298,6 +301,7 @@ function layoutSankeyPass(data, options) {
|
|
|
298
301
|
owner: { segmentId: link.key },
|
|
299
302
|
text,
|
|
300
303
|
lines: [text],
|
|
304
|
+
shows: { value: text },
|
|
301
305
|
font: headerFont,
|
|
302
306
|
priority: PRIORITY.interior / 2 + link.value * scale / 100,
|
|
303
307
|
align: "end",
|
|
@@ -340,9 +344,9 @@ function layoutSankeyPass(data, options) {
|
|
|
340
344
|
let left = sides.get(id) === "left", x = left ? label.rect.x + label.rect.w : label.rect.x, align = left ? "end" : "start", halo = label.slot === "inside" ? { halo: !0 } : {}, runs = oneLine.get(id);
|
|
341
345
|
if (runs) return [{ ...node, ...halo, x, align, runs, role: composedTextRole(label.text) }];
|
|
342
346
|
if (!printsValue) return [{ ...node, ...halo, x, align, role: "category" }];
|
|
343
|
-
let head = valueLines.get(id);
|
|
347
|
+
let head = valueLines.get(id), { display: _shows, ...nameNode } = node;
|
|
344
348
|
return [
|
|
345
|
-
{ ...
|
|
349
|
+
{ ...nameNode, ...halo, x, align, y: label.rect.y, lines: label.lines.slice(0, head), role: "category" },
|
|
346
350
|
{ ...node, ...halo, id: `${node.id}:value`, x, align, y: label.rect.y + head * lineH, lines: [label.lines[head]], font: valueFont, role: "value" }
|
|
347
351
|
];
|
|
348
352
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
INSIDE_MIN_H,
|
|
3
3
|
INSIDE_MIN_W
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RLX6VODQ.js";
|
|
5
5
|
import {
|
|
6
6
|
warnMissingValue
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5QMM354E.js";
|
|
8
8
|
import {
|
|
9
9
|
annotateEngine,
|
|
10
10
|
runAnnotatePass
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QDFX2KAP.js";
|
|
12
12
|
import {
|
|
13
13
|
chartPalette,
|
|
14
14
|
chartTheme
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AIPOSNVG.js";
|
|
16
16
|
import {
|
|
17
17
|
labelOn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-77L6QGIG.js";
|
|
19
19
|
import {
|
|
20
20
|
structureCount
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YDYZWCUQ.js";
|
|
22
22
|
import {
|
|
23
23
|
alignedLeft,
|
|
24
24
|
authoredTrackWidth,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
sideKeyGivesWay,
|
|
34
34
|
sideKeyOff,
|
|
35
35
|
warnSpreadOverflow
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YM4MVABU.js";
|
|
37
37
|
import {
|
|
38
38
|
prepareFractionData
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-QXHFELIA.js";
|
|
40
40
|
import {
|
|
41
41
|
PRIORITY,
|
|
42
42
|
SWATCH_RESERVE,
|
|
@@ -56,18 +56,17 @@ import {
|
|
|
56
56
|
solveFrame,
|
|
57
57
|
solveLabels,
|
|
58
58
|
withUnprintedClaims
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-AUSZDYGE.js";
|
|
60
60
|
import {
|
|
61
61
|
disclosureNote
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-WD5NJHZG.js";
|
|
63
63
|
import {
|
|
64
64
|
emptyIdRecord
|
|
65
65
|
} from "./chunk-LINZPU5D.js";
|
|
66
66
|
import {
|
|
67
67
|
formatterFromExample,
|
|
68
|
-
seriesRasterFormatter
|
|
69
|
-
|
|
70
|
-
} from "./chunk-Z6DUNKFU.js";
|
|
68
|
+
seriesRasterFormatter
|
|
69
|
+
} from "./chunk-3JG764MI.js";
|
|
71
70
|
import {
|
|
72
71
|
MINUS,
|
|
73
72
|
chartStrings,
|
|
@@ -75,7 +74,7 @@ import {
|
|
|
75
74
|
formatAutomaticPercent,
|
|
76
75
|
notApplicableGlyph,
|
|
77
76
|
smallRateDecimals
|
|
78
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-FYFXOLWI.js";
|
|
79
78
|
import {
|
|
80
79
|
cellMeta,
|
|
81
80
|
cellValue,
|
|
@@ -100,7 +99,7 @@ import {
|
|
|
100
99
|
solidMutedPlan,
|
|
101
100
|
strokeToken,
|
|
102
101
|
withSegmentSeams
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-XAH4EWJT.js";
|
|
104
103
|
import {
|
|
105
104
|
NormalizeError,
|
|
106
105
|
accessibleTitle,
|
|
@@ -172,24 +171,20 @@ var EN = {
|
|
|
172
171
|
}, { chartString } = chartStrings(EN, DE);
|
|
173
172
|
|
|
174
173
|
// src/core/charts/funnel/derive.ts
|
|
175
|
-
function
|
|
176
|
-
if (!(plotted.some((series) => series.format) || cells.some((row) => row.some((cell) => cellMeta(cell)?.format))))
|
|
177
|
-
return setMagnitude([...values.flat(), ...totals.flatMap((total) => Object.values(total))], options.format, options.unit, options.target);
|
|
178
|
-
}
|
|
179
|
-
function funnelValueFormats(plotted, cells, formats, totalRaster) {
|
|
174
|
+
function funnelValueFormats(plotted, cells, raster) {
|
|
180
175
|
let percentOnly = cells.every((row, si) => !plotted[si].format && row.every((cell) => cell === null || isPctCell(cell) && !cell.format)) && cells.some((row) => row.some((cell) => cell !== null));
|
|
181
176
|
return {
|
|
182
177
|
valueText: (si, ci, value) => {
|
|
183
178
|
let cell = cells[si][ci];
|
|
184
|
-
return (isPctCell(cell) && !cell.format && !plotted[si].format ?
|
|
179
|
+
return (isPctCell(cell) && !cell.format && !plotted[si].format ? raster.fmtPercent : raster.forSeries(plotted[si], cellMeta(cell)?.format))(value);
|
|
185
180
|
},
|
|
186
|
-
totalFmt: percentOnly ?
|
|
181
|
+
totalFmt: percentOnly ? raster.fmtPercent : raster.fmt
|
|
187
182
|
};
|
|
188
183
|
}
|
|
189
184
|
function clampedNote(clamped, options) {
|
|
190
185
|
return clamped === 0 ? [] : [disclosureNote(chartString(options, "clampedFunnelNote", { v1: clamped, v2: clamped === 1 ? "value" : "values" }))];
|
|
191
186
|
}
|
|
192
|
-
function deriveFunnel(plotted, stages,
|
|
187
|
+
function deriveFunnel(plotted, stages, options, warnings, authored) {
|
|
193
188
|
let clamped = 0, raw = plotted.map(() => []), values = plotted.map(
|
|
194
189
|
(s, si) => normalizeSeriesValues(s, stages, si, "values", authored).map((cell, ci) => {
|
|
195
190
|
let v = cellValue(cell);
|
|
@@ -210,7 +205,7 @@ function deriveFunnel(plotted, stages, fmt, warnings, authored) {
|
|
|
210
205
|
), stageTotals = emptyIdRecord(), shownTotals = emptyIdRecord(), clampedStage = stages.map((_c, ci) => raw.some((row) => (row[ci] ?? 0) < 0)), known = stages.map((c, ci) => {
|
|
211
206
|
let cells = values.map((row) => row[ci] ?? null), sum = cells.reduce((a, v) => a + (v ?? 0), 0);
|
|
212
207
|
return stageTotals[c.id] = cells.includes(null) ? null : sum, shownTotals[c.id] = cells.includes(null) ? null : raw.reduce((a, row) => a + row[ci], 0), sum;
|
|
213
|
-
}), conversions = [], undefinedSteps = [];
|
|
208
|
+
}), locale = options.locale?.language, raster = seriesRasterFormatter(options.format, [...values.flat(), ...Object.values(stageTotals), ...options.format ? [] : Object.values(shownTotals)], locale, options.unit), fmt = options.format ? formatterFromExample(options.format, locale) : raster.fmt, conversions = [], undefinedSteps = [];
|
|
214
209
|
for (let ci = 0; ci < stages.length - 1; ci++) {
|
|
215
210
|
let from = stages[ci], to = stages[ci + 1], fromTotal = stageTotals[from.id] ?? null, toTotal = stageTotals[to.id] ?? null;
|
|
216
211
|
if (!(fromTotal === null || toTotal === null || clampedStage[ci] || clampedStage[ci + 1])) {
|
|
@@ -234,7 +229,7 @@ function deriveFunnel(plotted, stages, fmt, warnings, authored) {
|
|
|
234
229
|
let worstDrop;
|
|
235
230
|
for (let c of conversions)
|
|
236
231
|
c.rate <= 1 && (!worstDrop || c.rate < worstDrop.rate) && (worstDrop = c);
|
|
237
|
-
return { values, known, stageTotals, shownTotals, clampedStages: clampedStage, conversions, undefinedSteps, clamped, ...worstDrop ? { worstDrop } : {} };
|
|
232
|
+
return { values, known, stageTotals, shownTotals, clampedStages: clampedStage, conversions, undefinedSteps, clamped, raster, ...worstDrop ? { worstDrop } : {} };
|
|
238
233
|
}
|
|
239
234
|
function missingGlyph(theme) {
|
|
240
235
|
return theme.table?.glyphs?.missing ?? "\u2013";
|
|
@@ -302,7 +297,7 @@ function layoutCenteredFunnel(data, options) {
|
|
|
302
297
|
severity: "info",
|
|
303
298
|
message: "variant:'centered' uses equal, contiguous stage heights \u2014 bandFraction is ignored"
|
|
304
299
|
}), options.worstDropCallout && warnings.push({ code: "funnel-worst-drop-callout-rows-only", severity: "warn", message: "funnel worstDropCallout requires variant:'rows' \u2014 ignored" });
|
|
305
|
-
let theme = chartTheme(options), na = notApplicableGlyph(options.strings), paletteRamp = chartPalette(theme, options.palette, warnings), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer,
|
|
300
|
+
let theme = chartTheme(options), na = notApplicableGlyph(options.strings), paletteRamp = chartPalette(theme, options.palette, warnings), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer, fmtPct = (rate) => {
|
|
306
301
|
let pct = rate * 100;
|
|
307
302
|
return formatAutomaticPercent(pct, smallRateDecimals(pct), !1, options.locale?.language);
|
|
308
303
|
}, highlights = new Set(resolveHighlight(options.highlight)), labelsOpt = options.labels, labelOn2 = (kind) => labelOn(options, kind);
|
|
@@ -315,16 +310,14 @@ function layoutCenteredFunnel(data, options) {
|
|
|
315
310
|
), plotted = data.series.filter((series) => series.role !== "reference"), rolePaints = colorRolePaints(plotted);
|
|
316
311
|
if (plotted.length === 0)
|
|
317
312
|
throw new NormalizeError("empty-data", "series", "funnel requires at least one data-role series", void 0, void 0, ["data", "series"]);
|
|
318
|
-
let numbers = deriveFunnel(plotted, stages,
|
|
313
|
+
let numbers = deriveFunnel(plotted, stages, options, warnings, data.series), { stageTotals, conversions, worstDrop, raster } = numbers, values = numbers.values.map((row) => row.map((value) => value ?? 0)), glyph = missingGlyph(theme), cells = plotted.map((series, si) => normalizeSeriesValues(series, stages, si, "values", data.series));
|
|
319
314
|
plotted.length > 1 && cells.some((row) => row.some((cell) => cellMeta(cell)?.label !== void 0)) && warnings.push({
|
|
320
315
|
code: "funnel-cell-label-ignored",
|
|
321
316
|
severity: "warn",
|
|
322
317
|
message: "values[].label has no effect on a centered funnel with several series because each stage prints its total, not segment values.",
|
|
323
318
|
suggest: "Set variant: 'rows' to show the cell labels, or remove values[].label."
|
|
324
319
|
});
|
|
325
|
-
let
|
|
326
|
-
if (!options.format) for (let format of [...formats, totalRaster]) format.spec.wholeCounts = !0;
|
|
327
|
-
let { valueText, totalFmt } = funnelValueFormats(plotted, cells, formats, totalRaster), firstTotal = stageTotals[stages[0].id] ?? null, cumulativeCvrs = stages.map((stage, ci) => {
|
|
320
|
+
let { valueText, totalFmt } = funnelValueFormats(plotted, cells, raster), firstTotal = stageTotals[stages[0].id] ?? null, cumulativeCvrs = stages.map((stage, ci) => {
|
|
328
321
|
let total = stageTotals[stage.id] ?? null, measurable = !numbers.clampedStages[0] && !numbers.clampedStages[ci];
|
|
329
322
|
return { stageId: stage.id, rate: measurable && firstTotal !== null && firstTotal > 0 && total !== null ? total / firstTotal : null };
|
|
330
323
|
}), totalText = (stage) => {
|
|
@@ -428,7 +421,9 @@ function layoutCenteredFunnel(data, options) {
|
|
|
428
421
|
width: outlined ? theme.pattern.outlineStrokeWidth : sep?.strokeWidth ?? strokeToken(theme, "hair"),
|
|
429
422
|
...pattern === void 0 && isOthersFill(paint) ? { separation: { fill: paint, backing: { token: "background" }, fallback: { stroke: { token: "background" }, strokeWidth: strokeToken(theme, "hair") } } } : {},
|
|
430
423
|
owner: { categoryId: stage.id, seriesId: series.id },
|
|
431
|
-
part: "segment"
|
|
424
|
+
part: "segment",
|
|
425
|
+
// The text the stage's value would print, where its own value is drawn (a clamped negative is not).
|
|
426
|
+
...numbers.values[seriesIndex][categoryIndex] === cellValue(cells[seriesIndex][categoryIndex]) ? { display: { shows: { value: valueText(seriesIndex, categoryIndex, numbers.values[seriesIndex][categoryIndex]) } } } : {}
|
|
432
427
|
};
|
|
433
428
|
nodes.push(pathNode), occupied.claim(rect, "mark", pathNode.owner, pathNode.part), segmentRecords.push({ id: series.id, rect, nodeId });
|
|
434
429
|
}), marks.rows.push({
|
|
@@ -645,6 +640,7 @@ function layoutCenteredFunnel(data, options) {
|
|
|
645
640
|
measure,
|
|
646
641
|
format: options.format,
|
|
647
642
|
locale: options.locale?.language,
|
|
643
|
+
levelSpec: raster.spec,
|
|
648
644
|
strings: options.strings,
|
|
649
645
|
solveCtx
|
|
650
646
|
});
|
|
@@ -910,7 +906,7 @@ function segmentLabelPriority(value, maxAbs, highlighted) {
|
|
|
910
906
|
}
|
|
911
907
|
function layoutFunnel(data, options = {}) {
|
|
912
908
|
if (options.variant === "centered") return layoutCenteredFunnel(data, options);
|
|
913
|
-
let warnings = rowOptionWarnings(options), theme = chartTheme(options), paletteRamp = chartPalette(theme, options.palette, warnings), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer,
|
|
909
|
+
let warnings = rowOptionWarnings(options), theme = chartTheme(options), paletteRamp = chartPalette(theme, options.palette, warnings), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer, fmtPct = (rate) => {
|
|
914
910
|
let pct = rate * 100;
|
|
915
911
|
return formatAutomaticPercent(pct, smallRateDecimals(pct), !1, options.locale?.language);
|
|
916
912
|
}, highlights = new Set(resolveHighlight(options.highlight)), labelsOpt = options.labels, labelOn2 = (kind) => labelOn(options, kind);
|
|
@@ -921,11 +917,12 @@ function layoutFunnel(data, options = {}) {
|
|
|
921
917
|
let stages = data.categories.map((c, i) => normalizeCategory(c, i)), plotted = data.series.filter((s) => s.role !== "reference"), rolePaints = colorRolePaints(plotted);
|
|
922
918
|
if (plotted.length === 0)
|
|
923
919
|
throw new NormalizeError("empty-data", "series", "funnel requires at least one data-role series", void 0, void 0, ["data", "series"]);
|
|
924
|
-
let { values, known, stageTotals, shownTotals, conversions, worstDrop, undefinedSteps, clamped } = deriveFunnel(plotted, stages,
|
|
925
|
-
if (!options.format) for (let format of [...formats, totalRaster]) format.spec.wholeCounts = !0;
|
|
926
|
-
let { valueText, totalFmt } = funnelValueFormats(plotted, cells, formats, totalRaster), cellText = (si, ci, value) => {
|
|
920
|
+
let { values, known, stageTotals, shownTotals, conversions, worstDrop, undefinedSteps, clamped, raster } = deriveFunnel(plotted, stages, options, warnings, data.series), glyph = missingGlyph(theme), cells = plotted.map((series, si) => normalizeSeriesValues(series, stages, si, "values", data.series)), { valueText, totalFmt } = funnelValueFormats(plotted, cells, raster), cellText = (si, ci, value, text = valueText(si, ci, value)) => {
|
|
927
921
|
let label = cellMeta(cells[si][ci])?.label;
|
|
928
|
-
return label === !1 ? null : typeof label == "string" ? label.replace(/\$\{value\}/g,
|
|
922
|
+
return label === !1 ? null : typeof label == "string" ? label.replace(/\$\{value\}/g, text) : text;
|
|
923
|
+
}, cellShows = (si, ci, value, text = valueText(si, ci, value)) => {
|
|
924
|
+
let label = cellMeta(cells[si][ci])?.label;
|
|
925
|
+
return label === !1 || typeof label == "string" && !label.includes("${value}") ? void 0 : { value: text };
|
|
929
926
|
}, occupied = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height }), margin = { ...canvasMargin(theme, size.width), ...options.margin }, legendOpts = normalizeLegendOption(options.legend, plotted.length > 1 ? { position: "top" } : void 0), legendItems = plotted.map((s, si) => ({
|
|
930
927
|
id: s.id,
|
|
931
928
|
label: s.label ?? s.id,
|
|
@@ -1055,6 +1052,7 @@ function layoutFunnel(data, options = {}) {
|
|
|
1055
1052
|
kind: "segment",
|
|
1056
1053
|
owner: { categoryId: cat.id, seriesId: l.sid },
|
|
1057
1054
|
text: l.text,
|
|
1055
|
+
...l.shows ? { shows: l.shows } : {},
|
|
1058
1056
|
lines: [l.text],
|
|
1059
1057
|
font: labelFont,
|
|
1060
1058
|
priority: l.priority,
|
|
@@ -1080,6 +1078,7 @@ function layoutFunnel(data, options = {}) {
|
|
|
1080
1078
|
kind: "segment",
|
|
1081
1079
|
owner: { categoryId: cat.id, seriesId: chip.sid },
|
|
1082
1080
|
text: chip.text,
|
|
1081
|
+
...chip.shows ? { shows: chip.shows } : {},
|
|
1083
1082
|
lines: [chip.text],
|
|
1084
1083
|
font,
|
|
1085
1084
|
priority: segmentLabelPriority(chip.value, maxAbsValue, highlights.has(chip.sid) || highlights.has(cat.id)),
|
|
@@ -1111,7 +1110,7 @@ function layoutFunnel(data, options = {}) {
|
|
|
1111
1110
|
cum += v, cumEnd[ci][si] = ex;
|
|
1112
1111
|
let w = ex - sx;
|
|
1113
1112
|
if (v === 0) return;
|
|
1114
|
-
let rect = { x: sx, y: ry, w, h: bw }, nodeId = `mark:${cat.id}:${s.id}`, segmentPaint = seriesPaint2(s, si, ci), sep = othersSeparation(segmentPaint, theme);
|
|
1113
|
+
let rect = { x: sx, y: ry, w, h: bw }, nodeId = `mark:${cat.id}:${s.id}`, vText = valueText(si, ci, v), segmentPaint = seriesPaint2(s, si, ci), sep = othersSeparation(segmentPaint, theme);
|
|
1115
1114
|
nodes.push({
|
|
1116
1115
|
t: "rect",
|
|
1117
1116
|
id: nodeId,
|
|
@@ -1122,16 +1121,17 @@ function layoutFunnel(data, options = {}) {
|
|
|
1122
1121
|
...isOthersFill(segmentPaint) ? { separation: { fill: segmentPaint, backing: { token: "background" } } } : {},
|
|
1123
1122
|
owner: { categoryId: cat.id, seriesId: s.id },
|
|
1124
1123
|
part: "segment",
|
|
1125
|
-
display: { value:
|
|
1124
|
+
display: { value: vText, shows: { value: vText } }
|
|
1126
1125
|
}), occupied.claim(rect, "mark", { categoryId: cat.id, seriesId: s.id }), segRecs.push({ id: s.id, rect, nodeId });
|
|
1127
|
-
let text = cellText(si, ci, v);
|
|
1126
|
+
let text = cellText(si, ci, v, vText), shows = cellShows(si, ci, v, vText);
|
|
1128
1127
|
if (chipMode && text)
|
|
1129
|
-
rowChips.push({ si, sid: s.id, text, paint: segmentPaint, value: v });
|
|
1128
|
+
rowChips.push({ si, sid: s.id, text, ...shows ? { shows } : {}, paint: segmentPaint, value: v });
|
|
1130
1129
|
else if (multi && labelOn2("segment") && text) {
|
|
1131
1130
|
let t = measure(text, labelFont);
|
|
1132
1131
|
segLabs.push({
|
|
1133
1132
|
sid: s.id,
|
|
1134
1133
|
text,
|
|
1134
|
+
...shows ? { shows } : {},
|
|
1135
1135
|
w: t.width,
|
|
1136
1136
|
h: t.height,
|
|
1137
1137
|
rect,
|
|
@@ -1345,6 +1345,7 @@ function layoutFunnel(data, options = {}) {
|
|
|
1345
1345
|
measure,
|
|
1346
1346
|
format: options.format,
|
|
1347
1347
|
locale: options.locale?.language,
|
|
1348
|
+
levelSpec: raster.spec,
|
|
1348
1349
|
strings: options.strings,
|
|
1349
1350
|
solveCtx
|
|
1350
1351
|
});
|