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,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E4KHHC46.js";
|
|
11
11
|
import {
|
|
12
12
|
bartableCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XXYV5UEM.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4YZQY3AA.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/bartable.ts
|
|
19
19
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: { point: 0 }, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, rounding: 0, interactive: 0, total: 0, totalPosition: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0, columnHeads: 0, combinedShare: { rows: 0, label: 0 }, segmentValues: 0, variant: 0, cascade: { totalApart: 0, share: 0, growth: { measure: 0, years: 0, label: 0 } }, sharedScale: 0, heightFill: 0 }, labels: ["point"] }), BarTableChart = createChartComponent(registeredType(bartableCore), checkOptionKeys);
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
useResolvedChartRequest,
|
|
31
31
|
useRowsInput,
|
|
32
32
|
watchPrint
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VLMKGQ33.js";
|
|
34
34
|
import {
|
|
35
35
|
useIsomorphicLayoutEffect
|
|
36
36
|
} from "./chunk-A4QZXLXF.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-KKWZWP67.js";
|
|
40
40
|
import {
|
|
41
41
|
useStableValue
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-UTWLJ6AZ.js";
|
|
43
43
|
import {
|
|
44
44
|
sceneAttributes
|
|
45
45
|
} from "./chunk-IV2UXZXX.js";
|
|
@@ -50,18 +50,16 @@ import {
|
|
|
50
50
|
} from "./chunk-VDAKTZQP.js";
|
|
51
51
|
import {
|
|
52
52
|
useBoardplotTheme
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-DBKMJWPO.js";
|
|
54
54
|
import {
|
|
55
55
|
tableCore
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-7ZXIHEZS.js";
|
|
57
57
|
import {
|
|
58
58
|
emitSparkline,
|
|
59
|
-
fitTableFormats,
|
|
60
|
-
formatsFittedWarning,
|
|
61
59
|
sparklineDomains,
|
|
62
60
|
sparklineSourceValues,
|
|
63
61
|
tableScrollRung
|
|
64
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-TMVERETB.js";
|
|
65
63
|
import {
|
|
66
64
|
heatEncodingRefusals
|
|
67
65
|
} from "./chunk-ZF43WRG3.js";
|
|
@@ -73,27 +71,26 @@ import {
|
|
|
73
71
|
tablePresentation,
|
|
74
72
|
tableRenderTheme,
|
|
75
73
|
tableStylesheet
|
|
76
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-QKDDGDRF.js";
|
|
77
75
|
import {
|
|
78
76
|
publishTableChart
|
|
79
77
|
} from "./chunk-OQEBOVUO.js";
|
|
80
78
|
import {
|
|
81
79
|
registeredType,
|
|
82
80
|
withRegistered
|
|
83
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-4YZQY3AA.js";
|
|
84
82
|
import {
|
|
85
83
|
measureResolvedRequest,
|
|
86
84
|
resolveChartRequest
|
|
87
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-6TH5NVKS.js";
|
|
88
86
|
import {
|
|
89
87
|
belowTableViewportFloor,
|
|
90
88
|
columnHeadText
|
|
91
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-RF2REMRV.js";
|
|
92
90
|
import {
|
|
93
91
|
arrowGlyph,
|
|
94
92
|
arrowKey,
|
|
95
93
|
badSide,
|
|
96
|
-
cellDrawsTabular,
|
|
97
94
|
collapsedByDefault,
|
|
98
95
|
emptyMessageRow,
|
|
99
96
|
expansionForFolds,
|
|
@@ -105,7 +102,6 @@ import {
|
|
|
105
102
|
heatPaint,
|
|
106
103
|
heatRanges,
|
|
107
104
|
inCellBarMaxima,
|
|
108
|
-
levelLadder,
|
|
109
105
|
numericCell,
|
|
110
106
|
presetLanguage,
|
|
111
107
|
printedNumber,
|
|
@@ -119,50 +115,49 @@ import {
|
|
|
119
115
|
visibleColumns,
|
|
120
116
|
visibleInlineRows,
|
|
121
117
|
visibleRows
|
|
122
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-4NIIQFDA.js";
|
|
123
119
|
import {
|
|
124
120
|
lastObservedIndex
|
|
125
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-LM4GVVPM.js";
|
|
126
122
|
import {
|
|
127
123
|
ENGINE_NOTES,
|
|
128
124
|
LABEL_WRAP_FLOOR,
|
|
129
125
|
SOFT_LABEL_CAP,
|
|
130
126
|
SORT_CHEVRON_RESERVE,
|
|
131
127
|
browserSlack,
|
|
132
|
-
cellPadX,
|
|
133
|
-
changeLineFitFont,
|
|
134
128
|
groupHeadingLabel,
|
|
135
|
-
kindFont,
|
|
136
129
|
pinnedColumns,
|
|
137
|
-
rowFont,
|
|
138
|
-
tableFonts,
|
|
139
130
|
trackTemplate,
|
|
140
131
|
trackTotal
|
|
141
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-FBIMTKYK.js";
|
|
142
133
|
import {
|
|
143
134
|
chartString
|
|
144
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-UXJXA4NP.js";
|
|
145
136
|
import {
|
|
146
137
|
hasPolarityBadge,
|
|
147
138
|
isFigureCell,
|
|
148
139
|
polarityBadgeInk
|
|
149
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-2HRDOBPS.js";
|
|
150
141
|
import {
|
|
151
142
|
DEFAULT_EMPTY_MESSAGE,
|
|
152
143
|
hasNoDataRows
|
|
153
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-E62SXDRT.js";
|
|
154
145
|
import {
|
|
155
146
|
chartRefusals,
|
|
156
147
|
isSizeDependentRefusal,
|
|
157
148
|
optionRefusals
|
|
158
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-YKYK6C7F.js";
|
|
159
150
|
import {
|
|
160
151
|
resolvePaint
|
|
161
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-AUSZDYGE.js";
|
|
153
|
+
import {
|
|
154
|
+
AUTHORED_EXAMPLES,
|
|
155
|
+
UNIT_STAND_INS
|
|
156
|
+
} from "./chunk-FYFXOLWI.js";
|
|
162
157
|
import {
|
|
163
158
|
canvasMargin,
|
|
164
159
|
textScaleOf
|
|
165
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-XAH4EWJT.js";
|
|
166
161
|
import {
|
|
167
162
|
DeferredCoreError,
|
|
168
163
|
asFirstFrame
|
|
@@ -433,7 +428,7 @@ function TableHoverFrame({ table, rows, columns, request, theme, initialPrepared
|
|
|
433
428
|
table,
|
|
434
429
|
columns,
|
|
435
430
|
inlineVisibility,
|
|
436
|
-
|
|
431
|
+
formats: request.options,
|
|
437
432
|
container: target ?? frameRef.current ?? void 0,
|
|
438
433
|
offset: activeCell.offset
|
|
439
434
|
}
|
|
@@ -748,7 +743,7 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
748
743
|
...controlledInlineVisibility === void 0 ? {} : { inlineVisibility: controlledInlineVisibility }
|
|
749
744
|
}, stableOptions = useStableValue(
|
|
750
745
|
authoredTableOptions
|
|
751
|
-
), { request, layoutRequest: fullLayoutRequest, provider, deferred } = useResolvedChartRequest({ type: "table", data, target, options:
|
|
746
|
+
), source = compiledRequest?.options, requestOptions = useMemo2(() => source?.[AUTHORED_EXAMPLES] === void 0 ? stableOptions : { ...stableOptions, [UNIT_STAND_INS]: source[UNIT_STAND_INS], [AUTHORED_EXAMPLES]: source[AUTHORED_EXAMPLES] }, [stableOptions, source]), { request, layoutRequest: fullLayoutRequest, provider, deferred } = useResolvedChartRequest({ type: "table", data, target, options: requestOptions, scope, fontMetrics }, {}, prepared, linked), { inlineVisibility: _inlineVisibility, ...valueOptions } = fullLayoutRequest?.options ?? {}, valueContext = useStableValue(fullLayoutRequest === void 0 ? void 0 : { ...fullLayoutRequest, data: void 0, options: valueOptions }), layoutRequest = useMemo2(() => valueContext === void 0 ? void 0 : { ...valueContext, data: fullLayoutRequest.data }, [valueContext, fullLayoutRequest?.data]), refusedProps = optionRefusals(stableOptions, "table", checkKeys, provider?.strings), failure = useDeferredModule(deferred), tableOptions = layoutRequest?.options, initialPrepared = usePrepared(prepared, fullLayoutRequest, "table", size === "container" ? fit : void 0, size === "container" ? container.fallback : void 0), { size: _resolveSize, ...sizeFreeOptions } = tableOptions ?? {}, resolveKey = useStableValue(tableOptions === void 0 ? void 0 : sizeFreeOptions), resolved = useMemo2(() => !layoutRequest || !tableOptions ? void 0 : initialPrepared ? { table: { ...initialPrepared.table, provenance: {} }, warnings: initialPrepared.warnings ?? [] } : resolveTable(layoutRequest.data, tableOptions), [layoutRequest?.data, resolveKey, initialPrepared]), rootsHidden = controlledRootsHidden ?? (resolved === void 0 ? !1 : expansionRootsHidden(resolved.table, tableOptions?.expansion)), [freshMount] = useState3(useSyncExternalStore(noSubscription, () => !0, () => !1)), waitsForWidth = container.waiting, theme = useStableValue(useMemo2(
|
|
752
747
|
() => request && !waitsForWidth ? tableRenderTheme(request) : void 0,
|
|
753
748
|
[request?.theme, request?.target, request?.size.width, tableOptions, waitsForWidth]
|
|
754
749
|
)), metricMeasure = request?.fontMetrics ?? defaultMeasurer, width = useWidthMeasure(metricMeasure, measureWidths === "browser"), statement = resolved?.table.rows.some((row) => row.sign === -1 || row.operator !== void 0 || row.kind === "subtotal" || row.kind === "result" || row.kind === "driver") ?? !1, cohort = tableOptions?.density?.startsWith("cohort") ?? !1, manyLabelLines = (tableOptions?.rowLabelLines ?? 2) > 2, stylesheet = useMemo2(() => theme && tableStylesheet(theme, request?.target, statement, cohort, typeof stickyLabels == "object", textScaleOf(request?.options), tableOptions?.palette, manyLabelLines), [theme, request?.target, request?.options.textScale, request?.options.textSize, statement, cohort, typeof stickyLabels == "object", tableOptions?.palette, manyLabelLines]), themeScope = useMemo2(() => stylesheet === void 0 ? "" : stylesheetHash(stylesheet), [stylesheet]), floorRevision = useDeferredRevision(), sizeProp = useStableValue(size), floorAttempt = useMemo2(() => !fullLayoutRequest || !belowTableViewportFloor(fullLayoutRequest.options.size) ? {} : floorRevision === 0 ? asFirstFrame(linked ?? [], attemptFloor) : attemptFloor(), [fullLayoutRequest, originalFloorRequest, provider, scope, fontMetrics, floorRevision, sizeProp, container.pinnedHeight, data, target, stableOptions, linked]);
|
|
@@ -790,38 +785,11 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
790
785
|
])
|
|
791
786
|
),
|
|
792
787
|
[currentColumnVisibility, resolved?.table.columnToggles]
|
|
793
|
-
),
|
|
794
|
-
if (resolved === void 0
|
|
795
|
-
let
|
|
796
|
-
return
|
|
797
|
-
|
|
798
|
-
padX: tableOptions.cellPadX ?? cellPadX(drawnColumns(resolved.table).length),
|
|
799
|
-
cellFont: (cell) => {
|
|
800
|
-
let row = rowById.get(cell.rowId);
|
|
801
|
-
return kindFont(rowFont(theme, ladder, fonts, cell.role, row?.step ?? cell.level, row?.hasChildren === !0, fitChanges.has(cell.rowId)), row?.kind, cell.kind === "rowLabel", theme);
|
|
802
|
-
},
|
|
803
|
-
...width.browser ? {} : { slack: browserSlack },
|
|
804
|
-
figures: (column, text) => cellDrawsTabular(theme, column.kind, text),
|
|
805
|
-
lineFont: (parent, line, text, tabular) => changeLineFitFont(theme, ladder, parent.step, line.polarity !== void 0, text, width.measure, tabular, width.browser ? void 0 : browserSlack),
|
|
806
|
-
...tableOptions.locale?.decimal === void 0 ? {} : { decimal: tableOptions.locale.decimal }
|
|
807
|
-
});
|
|
808
|
-
}, [resolved, layoutRequest?.data, theme, resolveKey, columnVisibility, inlineVisibility, width]), fitted = useMemo2(
|
|
809
|
-
() => fitResult === void 0 || resolved === void 0 ? resolved : { table: { ...fitResult.resolved.table, provenance: resolved.table.provenance } },
|
|
810
|
-
[fitResult, resolved]
|
|
811
|
-
), formatChanges = fitResult?.changes, formatsListener = useRef3(onFormatsFit);
|
|
812
|
-
formatsListener.current = onFormatsFit;
|
|
813
|
-
let formatsKey = useRef3(void 0);
|
|
814
|
-
useEffect2(() => {
|
|
815
|
-
let key = JSON.stringify(formatChanges ?? []);
|
|
816
|
-
if (formatsKey.current === key) return;
|
|
817
|
-
let first = formatsKey.current === void 0;
|
|
818
|
-
formatsKey.current = key, !(first && (formatChanges?.length ?? 0) === 0) && formatsListener.current?.(formatChanges ?? []);
|
|
819
|
-
}, [formatChanges]);
|
|
820
|
-
let fittedNote = useMemo2(() => formatsFittedWarning(formatChanges ?? []), [formatChanges]), sort = isSortControlled ? isColumnSort(controlledSort) ? controlledSort : null : uncontrolledSort, sortedTable = useMemo2(() => {
|
|
821
|
-
if (fitted === void 0) return;
|
|
822
|
-
let sorted = sortRows(fitted.table, sort, request?.locale?.language);
|
|
823
|
-
return sorted === fitted.table.rows ? fitted.table : { ...fitted.table, rows: sorted };
|
|
824
|
-
}, [fitted?.table, sort, request?.locale?.language]), isEmpty = sortedTable !== void 0 && hasNoDataRows(sortedTable), emptyText = provider?.strings?.emptyMessage ?? DEFAULT_EMPTY_MESSAGE, table = useMemo2(
|
|
788
|
+
), sort = isSortControlled ? isColumnSort(controlledSort) ? controlledSort : null : uncontrolledSort, sortedTable = useMemo2(() => {
|
|
789
|
+
if (resolved === void 0) return;
|
|
790
|
+
let sorted = sortRows(resolved.table, sort, request?.locale?.language);
|
|
791
|
+
return sorted === resolved.table.rows ? resolved.table : { ...resolved.table, rows: sorted };
|
|
792
|
+
}, [resolved?.table, sort, request?.locale?.language]), isEmpty = sortedTable !== void 0 && hasNoDataRows(sortedTable), emptyText = provider?.strings?.emptyMessage ?? DEFAULT_EMPTY_MESSAGE, table = useMemo2(
|
|
825
793
|
() => sortedTable !== void 0 && isEmpty ? { ...sortedTable, rows: [...sortedTable.rows, emptyMessageRow(sortedTable, emptyText)] } : sortedTable,
|
|
826
794
|
[sortedTable, isEmpty, emptyText]
|
|
827
795
|
), emptyListener = useRef3(onEmpty);
|
|
@@ -993,7 +961,6 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
993
961
|
warnings: [
|
|
994
962
|
...resolved.warnings,
|
|
995
963
|
...layoutRequest.inputWarnings ?? [],
|
|
996
|
-
...fittedNote === void 0 ? [] : [fittedNote],
|
|
997
964
|
...need?.warnings ?? [],
|
|
998
965
|
...sized?.warnings ?? [],
|
|
999
966
|
...frameMemo?.warnings ?? [],
|
|
@@ -1001,7 +968,7 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
1001
968
|
],
|
|
1002
969
|
presentation: initialPrepared?.presentation ?? tablePresentation(layoutRequest, resolved.table),
|
|
1003
970
|
refused: sized?.refused
|
|
1004
|
-
} : void 0, [layoutRequest, resolved, initialPrepared, sized,
|
|
971
|
+
} : void 0, [layoutRequest, resolved, initialPrepared, sized, need?.warnings, frameMemo?.warnings, tableOptions?.columnHeads, sortable]), displayRef = useDisplayWarnings(
|
|
1005
972
|
settling ? void 0 : diagnostics,
|
|
1006
973
|
onWarnings,
|
|
1007
974
|
null,
|
|
@@ -2457,7 +2424,7 @@ registeredType(tableCore);
|
|
|
2457
2424
|
publishTableChart(TableChart);
|
|
2458
2425
|
|
|
2459
2426
|
// src/react/charts/table.ts
|
|
2460
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, showRestCount: 0, threshold: 0 }, highlight: 0, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, mountCollapsed: 0, paintOffscreenRows: 0, signs: 0, driverTones: 0, judgements: 0, variant: 0, encodings: sharedKeys7, totalPosition: 0, density: 0, nulls: 0, figures: 0, expansion: { depth: 0, collapsed: 0, expanded: 0, rootsHidden: 0 }, columnVisibility: 0, columnHeads: 0, inlineVisibility: 0, magnitude: 0, foldOn: 0, groupGround: 0, anchorWash: 0, stickyLabels: { head: 0, columns: 0, top: 0, sections: 0 }, frameFill: 0, heightFill: 0, rowLabelLines: 0, lastTrackFlex: 0, rowExtent: 0, sortIndicator: 0, levelOffset: 0, cellPadX: 0, groupRule: 0, groupAlign: 0,
|
|
2427
|
+
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, showRestCount: 0, threshold: 0 }, highlight: 0, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, mountCollapsed: 0, paintOffscreenRows: 0, signs: 0, driverTones: 0, judgements: 0, variant: 0, encodings: sharedKeys7, totalPosition: 0, density: 0, nulls: 0, figures: 0, expansion: { depth: 0, collapsed: 0, expanded: 0, rootsHidden: 0 }, columnVisibility: 0, columnHeads: 0, inlineVisibility: 0, magnitude: 0, foldOn: 0, groupGround: 0, anchorWash: 0, stickyLabels: { head: 0, columns: 0, top: 0, sections: 0 }, frameFill: 0, heightFill: 0, rowLabelLines: 0, lastTrackFlex: 0, rowExtent: 0, sortIndicator: 0, levelOffset: 0, cellPadX: 0, groupRule: 0, groupAlign: 0, maxGrowth: 0, labelIndent: { base: 0, step: 0 }, outlineMarks: 0 } }), TableChart2 = withRegistered(createTableChart(checkOptionKeys), registeredType(tableCore));
|
|
2461
2428
|
|
|
2462
2429
|
export {
|
|
2463
2430
|
useRowsGate,
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
PRIORITY,
|
|
3
3
|
composedTextRole,
|
|
4
4
|
fitText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AUSZDYGE.js";
|
|
6
6
|
import {
|
|
7
7
|
formatterFromExample,
|
|
8
8
|
parseFormatExample,
|
|
9
9
|
specUnitKind
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3JG764MI.js";
|
|
11
11
|
import {
|
|
12
12
|
NOT_AVAILABLE,
|
|
13
13
|
NOT_MEANINGFUL
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FYFXOLWI.js";
|
|
15
15
|
import {
|
|
16
16
|
arrowHeadPath,
|
|
17
17
|
resolveSurface
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XAH4EWJT.js";
|
|
19
19
|
import {
|
|
20
20
|
tint
|
|
21
21
|
} from "./chunk-BQBD6Q5J.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
valueBandsSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PSUSHJFV.js";
|
|
4
4
|
import {
|
|
5
5
|
columnOverridesOption
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B7UWG6XJ.js";
|
|
7
7
|
import {
|
|
8
8
|
sparkLabelsProblem
|
|
9
9
|
} from "./chunk-HTYFQHRC.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
formatExample,
|
|
15
15
|
refusedBaseOptions,
|
|
16
16
|
scenarioField
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JOX252XQ.js";
|
|
18
18
|
|
|
19
19
|
// src/core/charts/kpi/schema.ts
|
|
20
20
|
import * as z from "zod";
|
|
@@ -25,29 +25,29 @@ import {
|
|
|
25
25
|
staticFrame,
|
|
26
26
|
valueNote,
|
|
27
27
|
wrapFootnote
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WD5NJHZG.js";
|
|
29
29
|
import {
|
|
30
30
|
ENGINE_REV
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WTH3KQDM.js";
|
|
32
32
|
import {
|
|
33
33
|
dateNames
|
|
34
34
|
} from "./chunk-QBR6IKIX.js";
|
|
35
35
|
import {
|
|
36
36
|
defaultAnnotationId
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PPOUKS24.js";
|
|
38
38
|
import {
|
|
39
39
|
parseFormatExample,
|
|
40
40
|
parseISODate,
|
|
41
41
|
unitOfSpec,
|
|
42
42
|
utcDate
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-3JG764MI.js";
|
|
44
44
|
import {
|
|
45
45
|
chartString,
|
|
46
46
|
chartStrings,
|
|
47
47
|
currencySign,
|
|
48
48
|
localeStrings,
|
|
49
49
|
withLocaleStrings
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-FYFXOLWI.js";
|
|
51
51
|
import {
|
|
52
52
|
cellValue
|
|
53
53
|
} from "./chunk-O3VN6BTL.js";
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
textSizeOf,
|
|
106
106
|
unionRect,
|
|
107
107
|
visibleTintAmount
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-XAH4EWJT.js";
|
|
109
109
|
import {
|
|
110
110
|
COLOR_FIX,
|
|
111
111
|
FILL_SEPARATION_FLOOR,
|
|
@@ -714,6 +714,7 @@ function solveLabelPass(requests, occupied, ctx) {
|
|
|
714
714
|
...claimIds?.length ? { claimIds, claimText: req.claimText } : {},
|
|
715
715
|
...req.noteText ? { noteText: req.noteText } : {},
|
|
716
716
|
...req.printsFor ? { printsFor: req.printsFor } : {},
|
|
717
|
+
...req.shows ? { shows: req.shows } : {},
|
|
717
718
|
...req.owed ? { owed: !0 } : {},
|
|
718
719
|
...req.swatch ? { swatch: req.swatch } : {},
|
|
719
720
|
...req.title ? { title: req.title } : {},
|
|
@@ -1402,7 +1403,8 @@ function labelsToNodes(theme, labels, fontOf, marks) {
|
|
|
1402
1403
|
part: label.kind,
|
|
1403
1404
|
typeRole: labelTypeRole(label),
|
|
1404
1405
|
// A headline such as "153" is a value over the words, whatever the label's role.
|
|
1405
|
-
...head > 0 ? { role: composedTextRole(label.lines.slice(0, head).join(" "), "note") } : label.role ? { role: label.role } : {}
|
|
1406
|
+
...head > 0 ? { role: composedTextRole(label.lines.slice(0, head).join(" "), "note") } : label.role ? { role: label.role } : {},
|
|
1407
|
+
...label.shows ? { display: { shows: label.shows } } : {}
|
|
1406
1408
|
}), head > 0 && nodes.push({
|
|
1407
1409
|
t: "text",
|
|
1408
1410
|
id: `${nodeId}:body`,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hostedLayout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZQ5ILQ5A.js";
|
|
4
4
|
import {
|
|
5
5
|
COLUMN_GAP,
|
|
6
6
|
COLUMN_MIN_WIDTH,
|
|
7
7
|
columnWidth
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UV77Y7QK.js";
|
|
9
9
|
import {
|
|
10
10
|
layoutBar
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EWGFOEJB.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFER_ADJACENT,
|
|
14
14
|
EXACT_DOMAIN,
|
|
@@ -18,25 +18,25 @@ import {
|
|
|
18
18
|
RIGHT_ROOM,
|
|
19
19
|
TOTAL_COLUMN,
|
|
20
20
|
TOTAL_TRACK
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4PKUS5MG.js";
|
|
22
22
|
import {
|
|
23
23
|
INSIDE_MIN_H
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RLX6VODQ.js";
|
|
25
25
|
import {
|
|
26
26
|
marginBracketLayout
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3ZR7ZE64.js";
|
|
28
28
|
import {
|
|
29
29
|
shareDrift
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-5QMM354E.js";
|
|
31
31
|
import {
|
|
32
32
|
BAND_PAD
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-R4MVXUAG.js";
|
|
34
34
|
import {
|
|
35
35
|
labelOn
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-77L6QGIG.js";
|
|
37
37
|
import {
|
|
38
38
|
structureCount
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YDYZWCUQ.js";
|
|
40
40
|
import {
|
|
41
41
|
alignedRight,
|
|
42
42
|
authoredTrackWidth,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
chartSizing,
|
|
52
52
|
heightOmitted,
|
|
53
53
|
rowSizing
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YM4MVABU.js";
|
|
55
55
|
import {
|
|
56
56
|
HOST_CLAIMS,
|
|
57
57
|
PRIORITY,
|
|
@@ -63,12 +63,12 @@ import {
|
|
|
63
63
|
resolvePaintWarnings,
|
|
64
64
|
withAuthoredFootnotes,
|
|
65
65
|
withUnprintedClaims
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-AUSZDYGE.js";
|
|
67
67
|
import {
|
|
68
68
|
disclosureNote,
|
|
69
69
|
keepShownNotes,
|
|
70
70
|
methodNote
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-WD5NJHZG.js";
|
|
72
72
|
import {
|
|
73
73
|
emptyIdRecord
|
|
74
74
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -79,12 +79,12 @@ import {
|
|
|
79
79
|
formatterFromExample,
|
|
80
80
|
parseFormatExample,
|
|
81
81
|
roundedNumber,
|
|
82
|
+
ruleFormatter,
|
|
82
83
|
withChartMarks
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-3JG764MI.js";
|
|
84
85
|
import {
|
|
85
|
-
chartStrings
|
|
86
|
-
|
|
87
|
-
} from "./chunk-MSYTF3DZ.js";
|
|
86
|
+
chartStrings
|
|
87
|
+
} from "./chunk-FYFXOLWI.js";
|
|
88
88
|
import {
|
|
89
89
|
canvasMargin,
|
|
90
90
|
colorblindPaint,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
signedFillPaint,
|
|
99
99
|
themeForWidth,
|
|
100
100
|
unionRect
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-XAH4EWJT.js";
|
|
102
102
|
import {
|
|
103
103
|
PALETTE_NORMAL_FLOOR
|
|
104
104
|
} from "./chunk-BQBD6Q5J.js";
|
|
@@ -252,7 +252,7 @@ function likertAnnotationPass(data, shares, net, format = "0%", holder) {
|
|
|
252
252
|
// src/core/charts/likert/layout.ts
|
|
253
253
|
var DEFAULT_SHARE_FORMAT = "0%", SHARE_EPS = 1e-9, PERCENT_TOLERANCE = 0.5, SMALL_BASE = 30, BASE_SPREAD = 1.2, STACKED_MAX_WIDTH = 480, BAND_FRACTION = 0.53, BAND_FRACTION_MAX = 0.8, SHARE_PAD = 2, STATEMENT_GAP = 3, ROW_GAP_MIN = 10, TICK_OVERHANG = 3.5;
|
|
254
254
|
function layoutLikert(data, options) {
|
|
255
|
-
let trimNumber = (value) =>
|
|
255
|
+
let trimNumber = (value) => ruleFormatter([value], options?.locale?.language)(value), opts = options ?? {}, warnings = [];
|
|
256
256
|
if (!data || !Array.isArray(data.scale) || !Array.isArray(data.items) || data.items.length === 0)
|
|
257
257
|
throw new NormalizeError(
|
|
258
258
|
"empty-data",
|
|
@@ -477,7 +477,7 @@ function layoutLikert(data, options) {
|
|
|
477
477
|
message: "the shares were authored, not counted, so no per-option share claim is emitted: a receipt whose numerator is recomputed from the share it audits can never fail. The net score is still on the receipt and each base is on the exhibit",
|
|
478
478
|
suggest: "supply counts (values: 'counts') and let the shares be derived \u2014 then every printed share carries the count and the base it came from"
|
|
479
479
|
});
|
|
480
|
-
let knownBases = items.map((item) => item.base).filter((b) => b !== void 0);
|
|
480
|
+
let knownBases = items.map((item) => item.base).filter((b) => b !== void 0), baseFmt = ruleFormatter(knownBases, opts.locale?.language, {});
|
|
481
481
|
if (knownBases.length > 1) {
|
|
482
482
|
let hi = maxOf(knownBases), lo = minOf(knownBases);
|
|
483
483
|
lo > 0 && hi / lo > BASE_SPREAD && warnings.push({
|
|
@@ -599,7 +599,7 @@ function layoutLikert(data, options) {
|
|
|
599
599
|
...positiveIndices.map((i) => seriesIdOf(i))
|
|
600
600
|
], legend = resolveLegend(opts.legend, legendOrder, warnings), netExample = `+${formatExampleText(opts.format ?? DEFAULT_SHARE_FORMAT).replace(/%/g, "")}`, netLabelExample = netExample, halves = oddScale && neutralMode === "split" ? { neg: seriesIdOf(neutralIndex, "neg"), pos: seriesIdOf(neutralIndex, "pos") } : void 0, optionOf = new Map(halves ? [[halves.neg, scale[neutralIndex].id], [halves.pos, scale[neutralIndex].id]] : []);
|
|
601
601
|
scale.forEach((option, i) => optionOf.set(seriesIdOf(i), option.id));
|
|
602
|
-
let likertClaims = ({ kind, owner: { seriesId, categoryId } }) => kind === "grandTotal" && summary === "net" ? [`likert:net:${categoryId}`] : kind === "segment" && optionOf.has(seriesId ?? "") ? [claimId("likert:share", categoryId, optionOf.get(seriesId))] : void 0, comparing = (opts.annotations ?? []).some((annotation) => annotation.kind === "cagr" || annotation.kind === "diff"), rightRoom = comparing ? 0 : void 0, brackets = {}, canvas = resolveSize(opts.size), fixedRows = theme.space.barRow !== void 0, stacked = canvas.width <= STACKED_MAX_WIDTH && !fixedRows && opts.bandFraction === void 0 && panelTypeClass(opts) === void 0, defaultFraction = fixedRows ? void 0 : BAND_FRACTION, statementFont = { family: theme.type.family, ...theme.type.label }, statementLineH = statementFont.size * (statementFont.lineHeight ?? 1.2), margin = { ...canvasMargin(theme, canvas.width), ...opts.margin }, statementW = Math.max(40, canvas.width - margin.left - margin.right), statements = stacked ? ordered.map((item) => wrapText(item.label, statementFont, statementW, 8, measure).lines) : [], statementH = statements.length ? maxOf(statements.map((lines) => lines.length)) * statementLineH : 0, rowBases = ordered.flatMap((item) => item.base === void 0 ? [] : [item.base]), baseWanted = (opts.base ?? "column") === "column" && rowBases.length > 0 && canvas.width >= COLUMN_MIN_WIDTH && !comparing, sharedBase = baseWanted && rowBases.length === ordered.length && maxOf(rowBases) === minOf(rowBases) ? rowBases[0] : void 0, baseTexts = baseWanted && sharedBase === void 0 ? ordered.flatMap((item) => item.base === void 0 ? [] : [{ id: item.id, text:
|
|
602
|
+
let likertClaims = ({ kind, owner: { seriesId, categoryId } }) => kind === "grandTotal" && summary === "net" ? [`likert:net:${categoryId}`] : kind === "segment" && optionOf.has(seriesId ?? "") ? [claimId("likert:share", categoryId, optionOf.get(seriesId))] : void 0, comparing = (opts.annotations ?? []).some((annotation) => annotation.kind === "cagr" || annotation.kind === "diff"), rightRoom = comparing ? 0 : void 0, brackets = {}, canvas = resolveSize(opts.size), fixedRows = theme.space.barRow !== void 0, stacked = canvas.width <= STACKED_MAX_WIDTH && !fixedRows && opts.bandFraction === void 0 && panelTypeClass(opts) === void 0, defaultFraction = fixedRows ? void 0 : BAND_FRACTION, statementFont = { family: theme.type.family, ...theme.type.label }, statementLineH = statementFont.size * (statementFont.lineHeight ?? 1.2), margin = { ...canvasMargin(theme, canvas.width), ...opts.margin }, statementW = Math.max(40, canvas.width - margin.left - margin.right), statements = stacked ? ordered.map((item) => wrapText(item.label, statementFont, statementW, 8, measure).lines) : [], statementH = statements.length ? maxOf(statements.map((lines) => lines.length)) * statementLineH : 0, rowBases = ordered.flatMap((item) => item.base === void 0 ? [] : [item.base]), baseWanted = (opts.base ?? "column") === "column" && rowBases.length > 0 && canvas.width >= COLUMN_MIN_WIDTH && !comparing, sharedBase = baseWanted && rowBases.length === ordered.length && maxOf(rowBases) === minOf(rowBases) ? rowBases[0] : void 0, baseTexts = baseWanted && sharedBase === void 0 ? ordered.flatMap((item) => item.base === void 0 ? [] : [{ id: item.id, text: baseFmt(item.base) }]) : [], { label: labelOverride, net: netOverride, base: baseOverride } = opts.columnOverrides ?? {}, baseHeadText = baseOverride?.label ?? chartString(opts, "baseHead"), baseNaturalW = baseTexts.length === 0 ? 0 : columnWidth(measure, baseTexts.map((cell) => ({ text: cell.text, font: statementFont })), { text: baseHeadText, font: statementFont }), netDrawn = summary === "net" && !comparing, nameDrawn = !stacked && labelOn(opts, "category"), plotFloor = trackPlotFloor(statementW), netRoom = netDrawn ? measure(netOverride?.label ?? chartString(opts, "netPp"), statementFont).width + COLUMN_GAP : 0, baseNaturalRoom = baseNaturalW > 0 ? baseNaturalW + COLUMN_GAP : 0, nameTrack = !nameDrawn || labelOverride?.width === void 0 ? void 0 : authoredTrackWidth("label", labelOverride.width, 24, statementW - plotFloor - netRoom - baseNaturalRoom, warnings), baseW = baseNaturalW === 0 || baseOverride?.width === void 0 ? baseNaturalW : authoredTrackWidth("base", baseOverride.width, baseNaturalW, statementW - plotFloor - COLUMN_GAP - netRoom - (nameTrack ?? 0), warnings), baseReserve = baseW > 0 ? baseW + COLUMN_GAP : 0;
|
|
603
603
|
columnOverrideWarnings("likert", opts.columnOverrides, [...nameDrawn ? ["label"] : [], ...netDrawn ? ["net"] : [], ...baseW > 0 ? ["base"] : []], ["net", "base"], warnings);
|
|
604
604
|
let blockIds = ["plot", ...netDrawn ? ["net"] : [], ...baseW > 0 ? ["base"] : []];
|
|
605
605
|
warnings.push(...generatedIdWarnings("likert", "columnOrder", opts.columnOrder, blockIds));
|
|
@@ -677,6 +677,28 @@ function layoutLikert(data, options) {
|
|
|
677
677
|
}
|
|
678
678
|
for (let label of geo.labels)
|
|
679
679
|
label.kind !== "segment" || label.printsFor?.length !== 0 || (label.printsFor = halves && label.owner.seriesId === halves.pos ? [label.owner, { seriesId: halves.neg, categoryId: label.owner.categoryId }] : [label.owner]);
|
|
680
|
+
let optionIndex = new Map([...optionOf].map(([seriesId, optionId]) => [seriesId, scale.findIndex((option) => option.id === optionId)])), itemById = new Map(ordered.map((item) => [item.id, item])), shownAt = (owner, would) => {
|
|
681
|
+
let i = optionIndex.get(owner.seriesId ?? ""), item = itemById.get(owner.categoryId ?? "");
|
|
682
|
+
if (i === void 0 || i < 0 || item === void 0) return;
|
|
683
|
+
let text = would ? shareFmt(shareOf(item, i)) : printed(i)(item);
|
|
684
|
+
return text === !1 ? void 0 : { "field:share": text, ...percentInput ? { value: text } : {} };
|
|
685
|
+
}, labelShows = /* @__PURE__ */ new Map(), shownHalves = [];
|
|
686
|
+
for (let label of geo.labels) {
|
|
687
|
+
if (label.kind !== "segment") continue;
|
|
688
|
+
let shows = shownAt(label.owner, !1);
|
|
689
|
+
shows ? label.shows = shows : delete label.shows, !(!shows || label.hidden) && (label.nodeId && labelShows.set(label.nodeId, shows), halves && label.owner.seriesId === halves.pos && shownHalves.push({ owner: { categoryId: label.owner.categoryId, seriesId: halves.neg }, shows, drawn: !0 }));
|
|
690
|
+
}
|
|
691
|
+
geo.scene = geo.scene.map((node) => {
|
|
692
|
+
if (node.t === "text") {
|
|
693
|
+
let shows2 = labelShows.get(node.id);
|
|
694
|
+
return shows2 ? { ...node, display: { ...node.display, shows: shows2 } } : node;
|
|
695
|
+
}
|
|
696
|
+
if (node.t !== "rect" || node.display === void 0 || !optionIndex.has(node.owner.seriesId ?? "")) return node;
|
|
697
|
+
let shows = shownAt(node.owner, !0), { shows: _barShows, ...display } = node.display;
|
|
698
|
+
return { ...node, display: shows ? { ...display, shows } : display };
|
|
699
|
+
});
|
|
700
|
+
let keptShown = (geo.marks.shown ?? []).filter((mark) => !optionIndex.has(mark.owner.seriesId ?? ""));
|
|
701
|
+
keptShown.length + shownHalves.length > 0 && (geo.marks.shown = [...keptShown, ...shownHalves]);
|
|
680
702
|
let reboundPaintWarningRules = restoreLikertPaints(geo, ramp, scale, seriesIdOf, paintWarningRules, theme), statementTop = stacked ? stackStatements(geo, theme, statements, statementFont, statementLineH, margin.left, measure) : void 0;
|
|
681
703
|
summary === "net" && netColumn(
|
|
682
704
|
geo,
|
|
@@ -685,9 +707,9 @@ function layoutLikert(data, options) {
|
|
|
685
707
|
opts,
|
|
686
708
|
comparing ? -1 / 0 : tracks?.rights.net ?? canvas.width - margin.right - baseReserve,
|
|
687
709
|
statementTop,
|
|
688
|
-
sharedBase === void 0 ? void 0 : chartString(opts, "baseShared", { v1:
|
|
710
|
+
sharedBase === void 0 ? void 0 : chartString(opts, "baseShared", { v1: baseFmt(sharedBase) }),
|
|
689
711
|
tracks?.widths.net
|
|
690
|
-
), sharedBase !== void 0 && summary !== "net" && baseColumn(geo, theme, measure, canvas.width - margin.right, statementTop, [], chartString(opts, "baseShared", { v1:
|
|
712
|
+
), sharedBase !== void 0 && summary !== "net" && baseColumn(geo, theme, measure, canvas.width - margin.right, statementTop, [], chartString(opts, "baseShared", { v1: baseFmt(sharedBase) })), baseReserve > 0 && baseColumn(geo, theme, measure, tracks?.rights.base ?? canvas.width - margin.right, statementTop, baseTexts, baseHeadText, { width: baseW, ...baseOverride?.align ? { align: baseOverride.align } : {}, ...baseOverride?.headAlign ?? baseOverride?.align ? { headAlign: baseOverride?.headAlign ?? baseOverride?.align } : {} });
|
|
691
713
|
let chromeH = geo.size.height - geo.plot.h - (rows.bandPad ?? 0), rowsOf = (bar, air) => ordered.length * (statementH + STATEMENT_GAP + bar + air) + headH, stackedMin = stacked ? chromeH + rowsOf(Math.ceil(statementLineH + 4), ROW_GAP_MIN) : 0, stackedNatural = stacked ? Math.max(stackedMin, chromeH + rowsOf(Math.ceil(statementLineH + 8), 2 * ROW_GAP_MIN + 4)) : 0, drawnOptions = /* @__PURE__ */ new Set([...negativeIndices, ...positiveIndices, ...oddScale && neutralMode !== "exclude" ? [neutralIndex] : []]), sharesOn = labelOn(opts, "segment"), unprinted = [
|
|
692
714
|
...summary === "net" && labelOn(opts, "grandTotal") ? [] : ordered.map((item) => `likert:net:${item.id}`),
|
|
693
715
|
...ordered.flatMap((item) => scale.flatMap((option, i) => sharesOn && drawnOptions.has(i) && printed(i)(item) !== !1 ? [] : [claimId("likert:share", item.id, option.id)]))
|
|
@@ -747,11 +769,11 @@ function layoutLikert(data, options) {
|
|
|
747
769
|
));
|
|
748
770
|
return baseNote && notes.push(
|
|
749
771
|
knownBases.length === 0 ? methodNote(chartString(opts, "authoredSharesFull"), chartString(opts, "authoredSharesBrief")) : knownBases.length === items.length && maxOf(knownBases) === minOf(knownBases) ? methodNote(
|
|
750
|
-
chartString(opts, "likertBaseFull", { v1:
|
|
751
|
-
chartString(opts, "likertBaseBrief", { v1:
|
|
772
|
+
chartString(opts, "likertBaseFull", { v1: baseFmt(knownBases[0]) }),
|
|
773
|
+
chartString(opts, "likertBaseBrief", { v1: baseFmt(knownBases[0]) })
|
|
752
774
|
) : methodNote(
|
|
753
|
-
chartString(opts, "likertBasesFull", { v1:
|
|
754
|
-
chartString(opts, "likertBasesBrief", { v1:
|
|
775
|
+
chartString(opts, "likertBasesFull", { v1: baseFmt(minOf(knownBases)), v2: baseFmt(maxOf(knownBases)) }),
|
|
776
|
+
chartString(opts, "likertBasesBrief", { v1: baseFmt(minOf(knownBases)), v2: baseFmt(maxOf(knownBases)) })
|
|
755
777
|
)
|
|
756
778
|
), summary === "net" && notes.push(methodNote(
|
|
757
779
|
isAgreementScale ? chartString(opts, "likertNetShort") : chartString(opts, "likertNetFull", { v1: sideWords.positiveSide, v2: sideWords.negativeSide }),
|
|
@@ -760,7 +782,7 @@ function layoutLikert(data, options) {
|
|
|
760
782
|
}
|
|
761
783
|
function describe() {
|
|
762
784
|
let lead = chartString(opts, "likertDescStart", { v1: items.length, v2: items.length === 1 ? "" : "s", v3: scale.length, v4: labelOf(0), v5: labelOf(scale.length - 1) }), convention = neutralMode === "split" ? chartString(opts, "likertSplitDesc", { v1: labelOf(neutralIndex), v2: sideWords.boundary }) : neutralMode === "exclude" ? chartString(opts, "likertExcludeDesc", { v1: labelOf(neutralIndex) }) : neutralMode === "none" ? chartString(opts, "likertForcedDesc") : chartString(opts, "likertSideDesc", { v1: labelOf(neutralIndex), v2: neutralMode === "positive" ? sideWords.positiveSide : sideWords.negativeSide }), rows2 = ordered.map((item) => {
|
|
763
|
-
let baseText = item.base === void 0 ? chartString(opts, "baseNotStated") : `n ${
|
|
785
|
+
let baseText = item.base === void 0 ? chartString(opts, "baseNotStated") : `n ${baseFmt(item.base)}`;
|
|
764
786
|
return chartString(opts, "likertResponseDesc", { v1: item.label, v2: shareFmt(pctNegative[item.id]), v3: sideWords.negative, v4: shareFmt(pctNeutral[item.id]), v5: shareFmt(pctPositive[item.id]), v6: sideWords.positive, v7: signedText(net[item.id]), v8: baseText });
|
|
765
787
|
}).join(". "), hidden = new Set(geo.labels.filter((label) => label.kind === "segment" && label.hidden === "density").map((label) => `${label.owner.categoryId}\0${String(label.owner.seriesId).replace(/^likert:/, "").replace(/:(neg|pos)$/, "")}`)), unprinted2 = ordered.flatMap((item) => scale.flatMap((option, i) => hidden.has(`${item.id}\0${option.id}`) ? [`${labelOf(i)}, ${item.label} ${shareFmt(shares[item.id][option.id])}`] : [])), tail = unprinted2.length > 0 ? ` ${chartString(opts, "sharesNotPrinted")}: ${unprinted2.join("; ")}.` : "";
|
|
766
788
|
return `${lead}${convention} ${rows2}.${tail}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bandSizing
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YM4MVABU.js";
|
|
4
4
|
|
|
5
5
|
// src/core/charts/waterfall/bandFloor.ts
|
|
6
6
|
var LABEL_AIR = 8, COMPACT_ROW_AIR = 4, BAR_AIR = 2, STAGGER_AIR = BAR_AIR, centre = (rect) => rect.x + rect.w / 2, sameHeight = (a, b) => a.y < b.y + b.h && b.y < a.y + a.h, oneRow = (a, b) => Math.min(a.y + a.h, b.y + b.h) - Math.max(a.y, b.y) >= Math.min(a.h, b.h) / 2;
|