boardplot 0.59.0 → 0.61.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 +64 -0
- package/README.md +2 -2
- package/dist/{ReaderBox-4PNFZO56.js → ReaderBox-75LYQMSA.js} +3 -3
- package/dist/{annotateEngine-DL4KRQ6B.js → annotateEngine-CL6ZSRGG.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-7UZUXPFM.js → chunk-24O6BRKD.js} +1 -1
- package/dist/{chunk-HC4UW7MB.js → chunk-2BF6HZV7.js} +4 -4
- package/dist/chunk-2KGF6AIK.js +1483 -0
- package/dist/{chunk-RF6ZHX5F.js → chunk-2T22INLD.js} +1 -1
- package/dist/{chunk-3WFJDXZO.js → chunk-2X6672YL.js} +4 -4
- package/dist/{chunk-LC4KDLUE.js → chunk-32FGSRR3.js} +4 -4
- package/dist/{chunk-MOBRWYUQ.js → chunk-352V2W5P.js} +2 -2
- package/dist/{chunk-FWPPZB4G.js → chunk-3553PK6F.js} +2 -2
- package/dist/{chunk-XUEX5WTR.js → chunk-35RSAHLK.js} +1 -1
- package/dist/{chunk-E4KHHC46.js → chunk-36KGPRMX.js} +9 -9
- package/dist/{chunk-BOUZKVIY.js → chunk-3GL23VOF.js} +31 -3
- package/dist/{chunk-SNJ3FZXC.js → chunk-4ORV4RGE.js} +5 -5
- package/dist/chunk-4ZIFMZO4.js +63 -0
- package/dist/{chunk-FMVXXKSW.js → chunk-533SNVDD.js} +4 -4
- package/dist/{chunk-UZDQFUHO.js → chunk-55BVHNZQ.js} +4 -4
- package/dist/{chunk-JRM22ULA.js → chunk-56PPEORW.js} +52 -28
- package/dist/{chunk-DUDVHQD6.js → chunk-57XHIICM.js} +5 -5
- package/dist/{chunk-EJA5EANI.js → chunk-5DH5ACTO.js} +90 -83
- package/dist/{chunk-4EEK4AMC.js → chunk-5EU5DLA3.js} +2 -2
- package/dist/{chunk-XFDNAR4S.js → chunk-5JZQXMXU.js} +6 -6
- package/dist/{chunk-MTOBNHAU.js → chunk-5ZGCGIHG.js} +2 -2
- package/dist/{chunk-PHQGGR5O.js → chunk-64577PGJ.js} +4 -4
- package/dist/{chunk-GZYMHC44.js → chunk-6JOLPUTW.js} +2 -2
- package/dist/{chunk-MYBBZNYN.js → chunk-6QUQEN75.js} +2 -2
- package/dist/{chunk-OM5MAJST.js → chunk-6R6LM337.js} +12 -12
- package/dist/{chunk-UKEI7JDA.js → chunk-6U4J3T2G.js} +3 -2
- package/dist/{chunk-NZGQLR4X.js → chunk-6U7VIQLV.js} +6 -6
- package/dist/{chunk-ZNA4JHHG.js → chunk-757IKZZU.js} +2 -2
- package/dist/{chunk-V3XYFLOZ.js → chunk-7D65YEEY.js} +4 -4
- package/dist/{chunk-XWUHUTXX.js → chunk-7JM235F7.js} +8 -8
- package/dist/{chunk-4YZQY3AA.js → chunk-7SSN5ECA.js} +1 -1
- package/dist/{chunk-DZBT7AWJ.js → chunk-7WC2N4QZ.js} +2 -2
- package/dist/{chunk-ZOQRX5V7.js → chunk-7ZHM37LQ.js} +3 -3
- package/dist/{chunk-HW67YGJC.js → chunk-7ZPHJOG6.js} +1 -1
- package/dist/{chunk-MZCJ22O4.js → chunk-A4UL5GIM.js} +1 -1
- package/dist/{chunk-XUGEYHOQ.js → chunk-ASRICUAD.js} +2 -2
- package/dist/{chunk-XZBX6LIC.js → chunk-B62SEOJC.js} +6 -6
- package/dist/{chunk-WD5NJHZG.js → chunk-B76O5YXI.js} +1 -1
- package/dist/{chunk-RF2REMRV.js → chunk-BF6KECQD.js} +6 -6
- package/dist/{chunk-5HOIOQK3.js → chunk-BJ5GI5ZB.js} +1 -1
- package/dist/{chunk-XAH4EWJT.js → chunk-BKUTKQMT.js} +38 -2
- package/dist/chunk-BOQQARLT.js +89 -0
- package/dist/{chunk-VVWTD4XP.js → chunk-BVE5LPOA.js} +4 -4
- package/dist/{chunk-BJJYNTVJ.js → chunk-CVUHCNQO.js} +1 -1
- package/dist/{chunk-WTWM4RK6.js → chunk-CWP5ZYVQ.js} +1 -1
- package/dist/{chunk-W4ZLMK6Z.js → chunk-CYMSES53.js} +1 -1
- package/dist/{chunk-B5FT4YAX.js → chunk-DOVEWKJ6.js} +1 -1
- package/dist/{chunk-4DLIXTDH.js → chunk-E6IN6QDF.js} +5 -5
- package/dist/{chunk-6TZDPQDE.js → chunk-E7FWHKCI.js} +14 -7
- package/dist/{chunk-USATDW6O.js → chunk-EAMZDY55.js} +1 -1
- package/dist/{chunk-7UUSHA7H.js → chunk-EIQTUVJT.js} +1 -1
- package/dist/{chunk-56CDMSE5.js → chunk-EKYVRXTE.js} +1 -1
- package/dist/{chunk-GDE2JINW.js → chunk-EL5E6O3K.js} +7 -7
- package/dist/{chunk-QMQZC2KW.js → chunk-EM33NXGZ.js} +2 -2
- package/dist/{chunk-3V7Y7CHI.js → chunk-EOPDGMDS.js} +1 -1
- package/dist/{chunk-PSUSHJFV.js → chunk-EQDLZGZO.js} +1 -1
- package/dist/{chunk-5YULK4DY.js → chunk-ESZIJ5Z6.js} +3 -3
- package/dist/chunk-EU45YU5W.js +96 -0
- package/dist/{chunk-O32L5FK2.js → chunk-EV3GY7Y3.js} +4 -4
- package/dist/{chunk-TLKRYDH3.js → chunk-EV7AATQM.js} +2 -2
- package/dist/{chunk-XRPZJDAK.js → chunk-EWG3PCYJ.js} +72 -1188
- package/dist/{chunk-M2FF4IPF.js → chunk-F2IHSUPI.js} +2 -2
- package/dist/{chunk-RPS7G77V.js → chunk-F2WMTUWC.js} +2 -2
- package/dist/{chunk-7TZIPGFH.js → chunk-F37PADCM.js} +2 -2
- package/dist/{chunk-SE6LBMRJ.js → chunk-FBUAKQAI.js} +25 -23
- package/dist/{chunk-77L6QGIG.js → chunk-FKRL2ZB2.js} +1 -1
- package/dist/{chunk-MF6XGFHB.js → chunk-FNDDKZ4Z.js} +6 -2
- package/dist/{chunk-IX2SLULO.js → chunk-FTIQ6TI2.js} +2 -2
- package/dist/{chunk-YM4MVABU.js → chunk-FY3VV7TF.js} +5 -4
- package/dist/{chunk-VT6PDWUA.js → chunk-G3CVCW5K.js} +81 -79
- package/dist/{chunk-TEZWFQB7.js → chunk-GCZHZVNX.js} +6 -6
- package/dist/{chunk-GNK7RTO4.js → chunk-GEQSZ5RE.js} +4 -4
- package/dist/{chunk-QKDDGDRF.js → chunk-GNB4JQTB.js} +10 -10
- package/dist/{chunk-W6NEWQZU.js → chunk-GRMAYSIG.js} +8 -8
- package/dist/{chunk-PZZAVTLQ.js → chunk-GSR6UO7H.js} +2 -2
- package/dist/{chunk-AH2L44TR.js → chunk-GZ6MPJKY.js} +3 -3
- package/dist/{chunk-POHML4N4.js → chunk-H26UA4UM.js} +6 -6
- package/dist/{chunk-VZVPN7NT.js → chunk-H5YDEIY2.js} +4 -4
- package/dist/{chunk-EADD6NNQ.js → chunk-HS4DLZ6H.js} +17 -12
- package/dist/{chunk-XLX3TUFO.js → chunk-HTLEHU5D.js} +2 -2
- package/dist/{chunk-JYSS5ZZF.js → chunk-HUCUNGHB.js} +5 -5
- package/dist/{chunk-FP3ORYCG.js → chunk-I3GRAQHO.js} +9 -9
- package/dist/{chunk-2GVW5WDD.js → chunk-I4A4MY3S.js} +4 -4
- package/dist/{chunk-XGTSZ7NC.js → chunk-IIKM6NXU.js} +4 -4
- package/dist/{chunk-AVYRC2T3.js → chunk-IKH3DWS2.js} +11 -11
- package/dist/{chunk-U4WG46QP.js → chunk-IKTAVMF2.js} +31 -15
- package/dist/{chunk-7BQK2UDV.js → chunk-IXCDKCYE.js} +1 -1
- package/dist/{chunk-IXZI4SN4.js → chunk-JE54IO26.js} +15 -15
- package/dist/{chunk-TCWJQIVQ.js → chunk-JEAUVQTV.js} +65 -29
- package/dist/{chunk-RYYB7REV.js → chunk-JG35YUYX.js} +3 -3
- package/dist/{chunk-X3AMBFGF.js → chunk-JIVNJBXI.js} +4 -4
- package/dist/{chunk-7YJSSPQX.js → chunk-JLJ4QRAE.js} +12 -12
- package/dist/{chunk-6IIYLDSQ.js → chunk-JLZFXNUE.js} +4 -4
- package/dist/{chunk-B7UWG6XJ.js → chunk-JTCXK7AG.js} +1 -1
- package/dist/{chunk-NWUEA42V.js → chunk-JUTMQGKU.js} +4 -4
- package/dist/{chunk-5OV7VOGV.js → chunk-JXHTZVSV.js} +2 -2
- package/dist/{chunk-SDAVHADX.js → chunk-JZK6ZPUM.js} +2 -2
- package/dist/{chunk-VHZ4MXJO.js → chunk-K2RZKPQ2.js} +1 -1
- package/dist/{chunk-NUASZPS7.js → chunk-KJF7SLOA.js} +1 -1
- package/dist/{chunk-KRIYGX3N.js → chunk-KTFUYWN2.js} +5 -5
- package/dist/{chunk-O623CYPA.js → chunk-KY5MSTME.js} +4 -4
- package/dist/{chunk-5ACFYNA4.js → chunk-KZKWDFIS.js} +4 -0
- package/dist/{chunk-ID5PE4KM.js → chunk-L5RZFP5B.js} +3 -3
- package/dist/{chunk-U75MMLNQ.js → chunk-L6OMA45Q.js} +4 -4
- package/dist/{chunk-LLECS747.js → chunk-LEPXK7RN.js} +2 -2
- package/dist/{chunk-4YKS2JDE.js → chunk-LFL4KMKF.js} +1 -1
- package/dist/{chunk-5UXK5BAA.js → chunk-LH5URXDJ.js} +10 -10
- package/dist/{chunk-33SPSKTP.js → chunk-LHQFDRQV.js} +4 -4
- package/dist/{chunk-TMVERETB.js → chunk-LL7ZU6BT.js} +12 -12
- package/dist/{chunk-GEEHXLFQ.js → chunk-LLHCEZV2.js} +110 -86
- package/dist/{chunk-YJXIHVNK.js → chunk-LMDU5MNF.js} +2 -2
- package/dist/{chunk-GWDKUKOJ.js → chunk-LT7IY2L3.js} +7 -7
- package/dist/{chunk-RSDGBNXP.js → chunk-LTYDEWKW.js} +3 -3
- package/dist/{chunk-NIL6TYAN.js → chunk-M2LYZUQA.js} +10 -7
- package/dist/{chunk-IQRRT32Q.js → chunk-M4IIJ24E.js} +2 -2
- package/dist/{chunk-VMLVZW4F.js → chunk-MBRVSKFJ.js} +6 -6
- package/dist/{chunk-AGR4VJ2Y.js → chunk-MM2ADIPB.js} +1 -1
- package/dist/{chunk-LM4GVVPM.js → chunk-MNPNLXSI.js} +3 -3
- package/dist/{chunk-VLMKGQ33.js → chunk-MNVMTW7K.js} +11 -11
- package/dist/{chunk-P3N74SZ5.js → chunk-MYYDNK72.js} +4 -4
- package/dist/{chunk-AFQZBCME.js → chunk-NCKINI7K.js} +2 -2
- package/dist/{chunk-4WH2YGO6.js → chunk-NHQKHMIS.js} +4 -4
- package/dist/{chunk-E62SXDRT.js → chunk-NJKUODK3.js} +1 -1
- package/dist/{chunk-HBKZC5BH.js → chunk-NJVXE2DU.js} +2 -2
- package/dist/{chunk-MOPY5REE.js → chunk-NNOKYAFB.js} +3 -3
- package/dist/{chunk-JIB74SQS.js → chunk-NSQBT4CM.js} +4 -4
- package/dist/{chunk-HFDU2E7C.js → chunk-NWJ4DXAZ.js} +11 -11
- package/dist/{chunk-JOX252XQ.js → chunk-OGD23BIK.js} +3 -1
- package/dist/{chunk-WTH3KQDM.js → chunk-OIMT2SSN.js} +2 -2
- package/dist/{chunk-6CZGFTGK.js → chunk-OIPBVU7G.js} +11 -11
- package/dist/chunk-OLAPTOUH.js +69 -0
- package/dist/{chunk-I65BCUVH.js → chunk-OLEUVUH3.js} +4 -4
- package/dist/{chunk-XMII3G47.js → chunk-OP7K5NSS.js} +4 -4
- package/dist/{chunk-GGFT6IIM.js → chunk-OQKVFWAO.js} +4 -4
- package/dist/{chunk-F2N5BUBK.js → chunk-OR7KKODW.js} +9 -9
- package/dist/{chunk-YOUYJHW3.js → chunk-OUSYBIGE.js} +4 -4
- package/dist/{chunk-DEJ27Y2P.js → chunk-OYCEFOIW.js} +54 -26
- package/dist/{chunk-DANKUHCX.js → chunk-P2QIWGFU.js} +9 -9
- package/dist/{chunk-4LCQO46F.js → chunk-P3CZFAFA.js} +79 -75
- package/dist/{chunk-2HRDOBPS.js → chunk-P3TOPI3M.js} +1 -1
- package/dist/{chunk-DXLWMK24.js → chunk-PCHV6KYJ.js} +3 -3
- package/dist/{chunk-YRCIG4IO.js → chunk-PGKGK43I.js} +112 -24
- package/dist/{chunk-FBIMTKYK.js → chunk-PH274WAF.js} +3 -3
- package/dist/{chunk-266ENWFM.js → chunk-QER2YJHC.js} +4 -4
- package/dist/{chunk-XETSLYFD.js → chunk-QJPI55S5.js} +4 -4
- package/dist/{chunk-OL6HVC6K.js → chunk-QK2OFTEB.js} +1 -1
- package/dist/{chunk-5AXWSGS7.js → chunk-QSMKLDAO.js} +2 -2
- package/dist/{chunk-UFGJNSSL.js → chunk-R3IPQHWC.js} +1 -1
- package/dist/{chunk-IXOBDDMW.js → chunk-RD24ORGR.js} +2 -0
- package/dist/{chunk-QM6IW5BL.js → chunk-RMBWY5JE.js} +4 -4
- package/dist/{chunk-UGHJHJKY.js → chunk-RT4V47U6.js} +1 -1
- package/dist/{chunk-UI2MKLON.js → chunk-RTSSUQ25.js} +1 -1
- package/dist/{chunk-PP23D6QV.js → chunk-RV6JDD6S.js} +4 -4
- package/dist/{chunk-6TH5NVKS.js → chunk-RXC3XU62.js} +33 -8
- package/dist/{chunk-CV5KCQD3.js → chunk-RZQU5DHD.js} +10 -10
- package/dist/{chunk-Y4BJ7D5F.js → chunk-S7AHPU2N.js} +1 -1
- package/dist/{chunk-67744WKZ.js → chunk-SGTSTGIP.js} +1 -1
- package/dist/{chunk-FB36HSY2.js → chunk-SJORKHHL.js} +5 -5
- package/dist/{chunk-7IONS4Z7.js → chunk-SSVOJXFR.js} +3 -3
- package/dist/{chunk-XVFUJRRC.js → chunk-T2DGSOAH.js} +1 -1
- package/dist/{chunk-EWGFOEJB.js → chunk-T6XSXJDQ.js} +76 -48
- package/dist/{chunk-ZK22I3NF.js → chunk-TB734IYI.js} +4 -4
- package/dist/{chunk-GSHRYDJM.js → chunk-TFYVBPGR.js} +1 -1
- package/dist/{chunk-DYD7W3Y6.js → chunk-THKVAXTQ.js} +43 -26
- package/dist/{chunk-7SIZGM5S.js → chunk-TI5PPS3L.js} +89 -42
- package/dist/{chunk-VTUSC24F.js → chunk-TIVUSWGT.js} +2 -2
- package/dist/{chunk-ICJUN47O.js → chunk-TL5ICZT2.js} +2 -2
- package/dist/{chunk-YPELB4Q7.js → chunk-TS472T4D.js} +4 -4
- package/dist/{chunk-ISMFUWOP.js → chunk-TWMVAPG2.js} +4 -4
- package/dist/{chunk-QDFX2KAP.js → chunk-U2YWY6FH.js} +1 -1
- package/dist/{chunk-XXYV5UEM.js → chunk-UERGJOG4.js} +12 -12
- package/dist/{chunk-X725AGYP.js → chunk-UFKLGMYZ.js} +2 -2
- package/dist/{chunk-SXCFMPNM.js → chunk-UGH3CLTZ.js} +4 -4
- package/dist/{chunk-C26Z5AEW.js → chunk-ULXSTWJF.js} +3 -3
- package/dist/{chunk-IDJVUZAA.js → chunk-USK77VAZ.js} +4 -4
- package/dist/{chunk-ICERP2YF.js → chunk-UXAON5DO.js} +2 -2
- package/dist/{chunk-7ZXIHEZS.js → chunk-V3YQQDR4.js} +4 -4
- package/dist/{chunk-RLX6VODQ.js → chunk-V4XTBNZD.js} +2 -2
- package/dist/{chunk-YJN54OZS.js → chunk-VE6P436Y.js} +12 -12
- package/dist/{chunk-BXZNLMMH.js → chunk-VFXGAEUO.js} +2 -2
- package/dist/{chunk-XWGAANY4.js → chunk-VITZVVCD.js} +2 -2
- package/dist/{chunk-ADLKZEML.js → chunk-VJAZFGBY.js} +15 -15
- package/dist/{chunk-KWMQNKGX.js → chunk-VR3HLYAT.js} +6 -5
- package/dist/{chunk-UV77Y7QK.js → chunk-W2QJDTAR.js} +2 -2
- package/dist/{chunk-A3SOYL6F.js → chunk-WBIMWGV7.js} +4 -4
- package/dist/{chunk-OTOASFG4.js → chunk-WK6LQCUT.js} +6 -6
- package/dist/{chunk-SBYKLBDV.js → chunk-WOTRCVA5.js} +4 -4
- package/dist/{chunk-EWMPUCIG.js → chunk-WQPMBAG2.js} +37 -37
- package/dist/{chunk-WZNO3LUF.js → chunk-WSHSR3B2.js} +4 -4
- package/dist/{chunk-EH23CIC5.js → chunk-WVYC6MR6.js} +2 -2
- package/dist/{chunk-EZ5KUBYF.js → chunk-WY7FHINS.js} +3 -3
- package/dist/{chunk-4NIIQFDA.js → chunk-X4NDN6PQ.js} +10 -10
- package/dist/{chunk-3ZR7ZE64.js → chunk-XC53YNZG.js} +2 -2
- package/dist/{chunk-TQFBLSZJ.js → chunk-XGJZRPHC.js} +7 -7
- package/dist/{chunk-T4CFY4YT.js → chunk-XLP6U3FG.js} +2 -2
- package/dist/{chunk-2E2MK4XM.js → chunk-XMI7SCPX.js} +2 -2
- package/dist/{chunk-7QUWM5W6.js → chunk-XTECBM5K.js} +3 -3
- package/dist/{chunk-DO7MMF4C.js → chunk-Y7O3T4DF.js} +27 -26
- package/dist/{chunk-NPDF7HEH.js → chunk-YBMYW7LD.js} +1 -1
- package/dist/{chunk-5ZE7SHRM.js → chunk-YO7LCXKN.js} +2 -2
- package/dist/{chunk-AIPOSNVG.js → chunk-YRWJBS6C.js} +1 -1
- package/dist/{chunk-LADFOYH7.js → chunk-YSKLERPF.js} +6 -6
- package/dist/{chunk-OJR5GPCN.js → chunk-YUEJZBME.js} +4 -4
- package/dist/{chunk-3WC2TA6C.js → chunk-YUJK6ZYO.js} +2 -2
- package/dist/{chunk-ZIQR2CNM.js → chunk-YXHSM7QL.js} +5 -5
- package/dist/{chunk-SFRMBCVY.js → chunk-YZW4VLSO.js} +4 -4
- package/dist/{chunk-AUSZDYGE.js → chunk-Z2WGJH2P.js} +3 -3
- package/dist/{chunk-CX7WUNMO.js → chunk-ZMZNMVPR.js} +6 -6
- package/dist/{chunk-5QMM354E.js → chunk-ZT5Q6BRT.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{core-A2MERE3C.js → core-2IWCOLCX.js} +1 -1
- package/dist/{core-BOU34T23.js → core-2SCAWP7F.js} +2 -1
- package/dist/{core-Y6DJHIYT.js → core-2ZRSLX2J.js} +2 -1
- package/dist/{core-BSEXRZD6.js → core-3H2PZVYN.js} +2 -1
- package/dist/{core-JJLIPTEW.js → core-4SX63YE4.js} +1 -1
- package/dist/{core-FXC4TB2K.js → core-76KPBWTL.js} +1 -1
- package/dist/{core-BOOD7ZUQ.js → core-7LODBY2T.js} +2 -1
- package/dist/{core-AVNB2Q3G.js → core-7PNZRGK7.js} +1 -1
- package/dist/{core-Q4IILTGO.js → core-7RSXZIVD.js} +1 -1
- package/dist/{core-W3UBWZR3.js → core-B7TS5HK6.js} +3 -1
- package/dist/{core-34YTH4KN.js → core-BEBRTX5W.js} +2 -1
- package/dist/{core-CXEEM26F.js → core-CTI37JP5.js} +1 -1
- package/dist/{core-HMS72VO6.js → core-DICZFWV4.js} +1 -1
- package/dist/{core-XYQRB5WF.js → core-DZVYQFBX.js} +2 -1
- package/dist/{core-IYEFTP6C.js → core-E6Q3H52Q.js} +1 -1
- package/dist/{core-MVIK7FAJ.js → core-EQP4ERQK.js} +1 -1
- package/dist/{core-6KO5AEUH.js → core-FZJOKAFE.js} +1 -1
- package/dist/{core-VGMMKEU4.js → core-GGKGWGHO.js} +2 -1
- package/dist/{core-2PT7IROA.js → core-J7ZHSASB.js} +1 -1
- package/dist/{core-YJXOVNIE.js → core-LCX7EK3Y.js} +2 -1
- package/dist/{core-QCPDOQEJ.js → core-LSN2YKO4.js} +1 -1
- package/dist/{core-VWISBHXE.js → core-NL6TMYOZ.js} +1 -1
- package/dist/{core-RVTF336C.js → core-NPCHUGTV.js} +1 -1
- package/dist/{core-MBNVENCZ.js → core-OO22DXBW.js} +1 -1
- package/dist/{core-J2QTOU4D.js → core-QACGDEDF.js} +7 -1
- package/dist/{core-VUVJOMUC.js → core-RZ5ZDSQL.js} +1 -1
- package/dist/{core-N4OKPNXQ.js → core-S56FGRAT.js} +1 -1
- package/dist/{core-YHWVJULU.js → core-SERUDXVA.js} +1 -1
- package/dist/{core-7WLD237S.js → core-UOATHRZG.js} +1 -1
- package/dist/{core-LCP44UYI.js → core-UPPUXBWO.js} +1 -1
- package/dist/{core-IQC6H4A7.js → core-UYTRLCZY.js} +1 -1
- package/dist/{core-I2GPMB2B.js → core-V55HGH7X.js} +1 -1
- package/dist/{core-B7KOBTRL.js → core-W5WF7FHA.js} +7 -1
- package/dist/{core-BQ2I77OF.js → core-XINQIYQ6.js} +1 -1
- package/dist/{core-EHMPBG6Q.js → core-Y3WI32MB.js} +4 -1
- package/dist/{core-4ZEVWU43.js → core-ZFXHFRWI.js} +3 -1
- package/dist/{core-64EHPUVV.js → core-ZYLCLTFQ.js} +1 -1
- package/dist/{dataTable-3ZK3ZEZP.js → dataTable-72HO6PCW.js} +2 -2
- package/dist/{engine-FSWLRWZR.js → engine-UCMXMWGA.js} +26 -13
- package/dist/fixtures.js +1 -1
- package/dist/index.js +12 -12
- package/dist/{main-NYMXWJGJ.js → main-NS5NPNQ7.js} +6 -6
- package/dist/mcp/server.js +11 -11
- package/dist/react/bar.js +3 -1
- package/dist/react/bartable.js +1 -1
- package/dist/react/box.js +1 -1
- package/dist/react/bullet.js +2 -1
- package/dist/react/butterfly.js +1 -1
- package/dist/react/choropleth.js +1 -1
- package/dist/react/cohort.js +1 -1
- package/dist/react/column.js +2 -1
- package/dist/react/combo.js +7 -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 +4 -1
- package/dist/react/export.js +15 -15
- 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 +1 -1
- package/dist/react/histogram.js +2 -1
- package/dist/react/index.js +83 -83
- package/dist/react/kpi.js +1 -1
- package/dist/react/likert.js +3 -1
- package/dist/react/line.js +1 -1
- package/dist/react/mekko.js +2 -1
- package/dist/react/pareto.js +5 -1
- package/dist/react/pie.js +1 -1
- package/dist/react/prepare.js +20 -20
- package/dist/react/pvm.js +2 -1
- package/dist/react/pyramid.js +1 -1
- package/dist/react/sankey.js +1 -1
- package/dist/react/scatter.js +1 -1
- package/dist/react/slope.js +2 -1
- package/dist/react/sparkline.js +1 -1
- package/dist/react/spec.js +8 -8
- package/dist/react/status.js +1 -1
- package/dist/react/story.js +1 -1
- package/dist/react/table.js +1 -1
- package/dist/react/theme.js +2 -2
- package/dist/react/tilemap.js +1 -1
- package/dist/react/treemap.js +1 -1
- package/dist/react/variance.js +2 -1
- package/dist/react/waffle.js +1 -1
- package/dist/react/waterfall.js +2 -1
- package/dist/{rowsModule-43LCK2Q7.js → rowsModule-QGCXTE6X.js} +1 -1
- package/dist/{schema-NNNG7CWG.js → schema-2BFNQ5GW.js} +1 -1
- package/dist/{schema-VH4AW62Z.js → schema-2XGHH7PU.js} +1 -1
- package/dist/{schema-KWCIIIGP.js → schema-3IXLM7X4.js} +1 -1
- package/dist/{schema-LDF6HORS.js → schema-4SRLAXUP.js} +1 -1
- package/dist/{schema-IYLRZNFB.js → schema-6PLNMFVY.js} +1 -1
- package/dist/{schema-FPDLOIA6.js → schema-6WNG4LCV.js} +1 -1
- package/dist/{schema-A4U4RDKJ.js → schema-7WNRP7FW.js} +1 -1
- package/dist/{schema-IYBZPCM4.js → schema-7XQMEJII.js} +1 -1
- package/dist/{schema-LGYHJPXU.js → schema-AGKSRVXN.js} +1 -1
- package/dist/{schema-FQWENOJY.js → schema-AMIFJ2JX.js} +1 -1
- package/dist/{schema-SQ2GYLMI.js → schema-BK2TU6XT.js} +1 -1
- package/dist/{schema-AM2KS6ZC.js → schema-C3PYINCY.js} +1 -1
- package/dist/{schema-D3ELHESU.js → schema-CWOPBOK4.js} +1 -1
- package/dist/{schema-FBIEOKO2.js → schema-E2WWDYU5.js} +1 -1
- package/dist/{schema-LX4EXDTI.js → schema-EAYC5DVH.js} +1 -1
- package/dist/{schema-GTLGAPCU.js → schema-ENLWEZOI.js} +1 -1
- package/dist/{schema-HAMPGUH3.js → schema-ETH6WXZU.js} +1 -1
- package/dist/{schema-CBLNGK2F.js → schema-FOBGNU5I.js} +1 -1
- package/dist/{schema-GYVYJEL3.js → schema-FSX7WR7M.js} +1 -1
- package/dist/{schema-5SVPR3EU.js → schema-G6KGEQRD.js} +1 -1
- package/dist/{schema-SUDJBIHX.js → schema-GAUZZRA4.js} +1 -1
- package/dist/{schema-2ACHQTR3.js → schema-GFRB4BJW.js} +1 -1
- package/dist/{schema-KBV2JB2A.js → schema-GQPXSWIR.js} +1 -1
- package/dist/{schema-WDKBCN3V.js → schema-JJIXQIBN.js} +1 -1
- package/dist/{schema-C25ECGJL.js → schema-JKZBRZSI.js} +1 -1
- package/dist/{schema-4YIYGGOJ.js → schema-MCA4J2BP.js} +1 -1
- package/dist/{schema-P2JYSV32.js → schema-MM7JPYI7.js} +1 -1
- package/dist/{schema-GUDG343K.js → schema-O5HGNE3W.js} +2 -2
- package/dist/{schema-YVBUY7NH.js → schema-OIY565PO.js} +1 -1
- package/dist/{schema-TRPPZCIR.js → schema-PVUWOLUB.js} +1 -1
- package/dist/{schema-PAKZIYQF.js → schema-RRZXOF5G.js} +1 -1
- package/dist/{schema-4HGZZNUL.js → schema-UEZQN4WK.js} +1 -1
- package/dist/{schema-GYTWCCNA.js → schema-WWWWEQAR.js} +1 -1
- package/dist/{schema-3LRC5TOZ.js → schema-XQSP5QAX.js} +1 -1
- package/dist/{schema-UNYDUIL5.js → schema-YUMFWHIE.js} +1 -1
- package/dist/{schema-5OLQ54J5.js → schema-ZBIIPJAI.js} +1 -1
- package/dist/{schema-YCKUQ3FF.js → schema-ZFUX3UIO.js} +1 -1
- package/dist/{specValidation-FKHSTMMR.js → specValidation-5AI56FM3.js} +1 -1
- package/dist/theme.js +3 -3
- package/dist/{themeShapeRules-G7UZX6GJ.js → themeShapeRules-GGBYWZY7.js} +1 -1
- package/dist/types/core/annotate.d.ts +12 -3
- package/dist/types/core/annotateFields.d.ts +36 -1
- package/dist/types/core/annotateTargets.d.ts +2 -0
- package/dist/types/core/types/data.d.ts +6 -0
- package/dist/types/core/types/options.d.ts +4 -0
- package/dist/types/core/types/theme.d.ts +17 -2
- package/dist/types/react/hover/engine.d.ts +5 -1
- package/dist/types/react/hover/labelCard.d.ts +33 -2
- package/dist/types/theme.d.ts +1 -1
- package/dist/validate.js +5 -5
- package/docs/manual.md +1 -1
- package/docs/reference/bar.md +2 -2
- package/docs/reference/bullet.md +6 -4
- package/docs/reference/butterfly.md +1 -1
- package/docs/reference/column.md +2 -2
- package/docs/reference/combo.md +2 -2
- package/docs/reference/dot.md +2 -2
- package/docs/reference/fixtures.md +2 -0
- package/docs/reference/grid.md +2 -2
- package/docs/reference/heatmap.md +1 -1
- package/docs/reference/line.md +2 -2
- package/docs/reference/mekko.md +2 -2
- package/docs/reference/options.md +3 -1
- package/docs/reference/pvm.md +1 -1
- package/docs/reference/react.md +7 -3
- package/docs/reference/scatter.md +1 -1
- package/docs/reference/slope.md +2 -2
- package/docs/reference/sparkline.md +1 -0
- package/docs/reference/table.md +1 -1
- package/docs/reference/theme.md +2 -0
- package/docs/reference/variance.md +1 -1
- package/docs/reference/warnings.md +3 -2
- package/docs/reference/waterfall.md +6 -4
- package/package.json +1 -1
- package/dist/chunk-CDZHNLO6.js +0 -42
- package/dist/chunk-GIJM4MP4.js +0 -272
- package/dist/chunk-J6LGZPKI.js +0 -89
- package/dist/chunk-QPWRHDLZ.js +0 -17
- package/dist/chunk-REIIGIJG.js +0 -123
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
formattedValueText,
|
|
7
7
|
ownerContains,
|
|
8
8
|
signedPercentText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OYCEFOIW.js";
|
|
10
10
|
import {
|
|
11
11
|
eventHeading,
|
|
12
12
|
eventReading
|
|
@@ -15,10 +15,11 @@ import {
|
|
|
15
15
|
composedTextRole,
|
|
16
16
|
fitText,
|
|
17
17
|
lineBox
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
19
19
|
import {
|
|
20
20
|
parseFormatExample,
|
|
21
|
-
roundedNumber
|
|
21
|
+
roundedNumber,
|
|
22
|
+
unitMagnitude
|
|
22
23
|
} from "./chunk-3JG764MI.js";
|
|
23
24
|
import {
|
|
24
25
|
chartStrings,
|
|
@@ -32,7 +33,7 @@ import {
|
|
|
32
33
|
resolveSurface,
|
|
33
34
|
resolveTheme,
|
|
34
35
|
strokeToken
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-BKUTKQMT.js";
|
|
36
37
|
import {
|
|
37
38
|
mixColors,
|
|
38
39
|
parseColor,
|
|
@@ -133,6 +134,25 @@ function fieldRow(field, locale) {
|
|
|
133
134
|
let label = `${field.label}:`, value = displayedValueText(field.value, locale);
|
|
134
135
|
return { kind: "field", label, value, text: `${label} ${value}`, values: [safeValue(field.value, locale)] };
|
|
135
136
|
}
|
|
137
|
+
var UNIT_WORD = /(?<!\p{L})\p{L}\p{Ll}{3,}(?!\p{L})/u;
|
|
138
|
+
function unitPhrase(unit) {
|
|
139
|
+
let text = unit?.trim();
|
|
140
|
+
return !!text && !/^\p{Sc}/u.test(text) && unitMagnitude(text) === void 0 && !SCALE_FIRST.test(text) && UNIT_WORD.test(text);
|
|
141
|
+
}
|
|
142
|
+
var SCALE_FIRST = /^(?:M|(?:k|mn|bn?|tn|tsd|mio|mrd|bio|thousands?|tausend|millions?|millionen|billions?|billionen|trillions?|milliard(?:en?|s)?)\.?)(?:\s|$)/iu;
|
|
143
|
+
function valueName(record, locale) {
|
|
144
|
+
let value = displayedValueText(record.value, locale);
|
|
145
|
+
if (record.valueLabel) return { heading: record.label, name: record.valueLabel, value };
|
|
146
|
+
let unit = record.value.unit?.trim();
|
|
147
|
+
if (unit && unitPhrase(unit) && value.endsWith(unit)) {
|
|
148
|
+
let number = value.slice(0, -unit.length).replace(/[\s\u00a0\u202f]+$/u, "");
|
|
149
|
+
if (number) return { heading: record.label, name: unit.replace(/^\p{L}/u, (letter) => letter.toUpperCase()), value: number };
|
|
150
|
+
}
|
|
151
|
+
return record.seriesLabel ? { heading: record.categoryLabel ?? record.label, name: record.seriesLabel, value } : { heading: record.label, value };
|
|
152
|
+
}
|
|
153
|
+
function unnamedText(row, record, locale) {
|
|
154
|
+
return row.kind !== "value" || record.event || record.cardFields ? row.text : `${record.valueLabel ? `${record.valueLabel}: ` : ""}${displayedValueText(record.value, locale)}`;
|
|
155
|
+
}
|
|
136
156
|
function cardContent(rows) {
|
|
137
157
|
return { rows, accessibleText: joinSentences(rows.map((row) => row.text)) };
|
|
138
158
|
}
|
|
@@ -140,13 +160,13 @@ function labelCardContent(record, locale, options) {
|
|
|
140
160
|
if (record.event) return eventCardContent(record.event);
|
|
141
161
|
if (record.cardFields)
|
|
142
162
|
return cardContent(record.fields.filter((field) => record.cardFields.includes(field.key)).map((field) => fieldRow(field, locale)));
|
|
143
|
-
let rows = [
|
|
144
|
-
{ kind: "title", text:
|
|
163
|
+
let named = valueName(record, locale), rows = [
|
|
164
|
+
{ kind: "title", text: named.heading },
|
|
145
165
|
{
|
|
146
166
|
kind: "value",
|
|
147
|
-
text: `${
|
|
148
|
-
label:
|
|
149
|
-
value:
|
|
167
|
+
text: `${named.name ? `${named.name}: ` : ""}${named.value}`,
|
|
168
|
+
label: named.name ? `${named.name}:` : "",
|
|
169
|
+
value: named.value,
|
|
150
170
|
pointed: !0,
|
|
151
171
|
values: [safeValue(record.value, locale)]
|
|
152
172
|
}
|
|
@@ -211,12 +231,12 @@ function sharedLabelCardContent(records, locale, options, scene = [], cache) {
|
|
|
211
231
|
{ ...record, fields: record.fields.filter((field) => field.key !== "date" || headingNamesDate(record, field.value)) },
|
|
212
232
|
locale,
|
|
213
233
|
options
|
|
214
|
-
).rows.slice(1), value = content[0];
|
|
234
|
+
).rows.slice(1), value = content[0] && unnamedText(content[0], record, locale);
|
|
215
235
|
member = value ? [{
|
|
216
|
-
...
|
|
217
|
-
label: name
|
|
218
|
-
value
|
|
219
|
-
text: `${name}
|
|
236
|
+
...content[0],
|
|
237
|
+
label: `${name}:`,
|
|
238
|
+
value,
|
|
239
|
+
text: `${name}: ${value}`,
|
|
220
240
|
series: !0,
|
|
221
241
|
swatch: seriesSwatch(record, scene)
|
|
222
242
|
}, ...content.slice(1)] : [], cache?.set(record, member);
|
|
@@ -230,7 +250,7 @@ function describedWithCard(description, reading) {
|
|
|
230
250
|
}
|
|
231
251
|
function shouldShowTableLabelCard(record, displayed, locale) {
|
|
232
252
|
let normalize = (text) => text.replace(/\s+/g, " ").trim(), rows = labelCardContent(record, locale).rows, { value } = record;
|
|
233
|
-
return rows.length > 2 || displayed === void 0 ? !0 : value.state === "value" && typeof value.raw == "number" && Number.isFinite(value.raw) && value.format && roundedNumber(value.raw, parseFormatExample(value.format)) === value.raw ? !1 : normalize(rows[1]
|
|
253
|
+
return rows.length > 2 || displayed === void 0 ? !0 : value.state === "value" && typeof value.raw == "number" && Number.isFinite(value.raw) && value.format && roundedNumber(value.raw, parseFormatExample(value.format)) === value.raw ? !1 : normalize(rows[1] ? unnamedText(rows[1], record, locale) : "") !== normalize(displayed);
|
|
234
254
|
}
|
|
235
255
|
function rowFont(row, theme) {
|
|
236
256
|
return cardFont(
|
|
@@ -239,7 +259,59 @@ function rowFont(row, theme) {
|
|
|
239
259
|
row.kind === "title" || row.pointed || row.kind === "value" && row.value === void 0 ? 600 : 400
|
|
240
260
|
);
|
|
241
261
|
}
|
|
242
|
-
var SOLVER_CLAIMS = /* @__PURE__ */ new Set(["funnel-row-lane"]), OUTSIDE_CHART_WEIGHT = 1, TEXT_GAP = 4, FRAME_INSET = 8, CLEAR_REACH = 48;
|
|
262
|
+
var SOLVER_CLAIMS = /* @__PURE__ */ new Set(["funnel-row-lane"]), OUTSIDE_CHART_WEIGHT = 1, TEXT_GAP = 4, FRAME_INSET = 8, CLEAR_REACH = 48, PATH_PAD = 8;
|
|
263
|
+
function pointsHull(points) {
|
|
264
|
+
let sorted = [...points].sort((a, b) => a.x - b.x || a.y - b.y).filter((point, index, all) => index === 0 || point.x !== all[index - 1].x || point.y !== all[index - 1].y);
|
|
265
|
+
if (sorted.length < 3) return sorted;
|
|
266
|
+
let cross = (o, a, b) => (a.x - o.x) * (b.y - o.y) - (a.y - o.y) * (b.x - o.x), half = (list) => list.reduce((hull, point) => {
|
|
267
|
+
for (; hull.length >= 2 && cross(hull[hull.length - 2], hull[hull.length - 1], point) <= 0; ) hull.pop();
|
|
268
|
+
return hull.push(point), hull;
|
|
269
|
+
}, []), lower = half(sorted), upper = half([...sorted].reverse());
|
|
270
|
+
return [...lower.slice(0, -1), ...upper.slice(0, -1)];
|
|
271
|
+
}
|
|
272
|
+
function nearPath(path, point, pad = PATH_PAD) {
|
|
273
|
+
return path.length ? path.length >= 3 && insideHull(path, point) ? !0 : path.some((a, index) => segmentDistance(a, path[(index + 1) % path.length], point) <= pad) : !1;
|
|
274
|
+
}
|
|
275
|
+
function meetsPath(path, rect, pad = PATH_PAD) {
|
|
276
|
+
if (!path.length) return !1;
|
|
277
|
+
let box = { x: rect.x - pad, y: rect.y - pad, w: rect.w + 2 * pad, h: rect.h + 2 * pad };
|
|
278
|
+
if (path.some((point) => rectContains(box, { ...point, w: 0, h: 0 }, 0))) return !0;
|
|
279
|
+
let corners = [{ x: box.x, y: box.y }, { x: box.x + box.w, y: box.y }, { x: box.x + box.w, y: box.y + box.h }, { x: box.x, y: box.y + box.h }];
|
|
280
|
+
return path.length >= 3 && corners.some((corner) => insideHull(path, corner)) ? !0 : path.some((a, index) => {
|
|
281
|
+
let b = path[(index + 1) % path.length];
|
|
282
|
+
return corners.some((c, side) => segmentsCross(a, b, c, corners[(side + 1) % 4]));
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
function insideHull(hull, point) {
|
|
286
|
+
let sides = hull.map((a, index) => {
|
|
287
|
+
let b = hull[(index + 1) % hull.length];
|
|
288
|
+
return (b.x - a.x) * (point.y - a.y) - (b.y - a.y) * (point.x - a.x);
|
|
289
|
+
});
|
|
290
|
+
return sides.every((side) => side >= 0) || sides.every((side) => side <= 0);
|
|
291
|
+
}
|
|
292
|
+
function segmentDistance(a, b, point) {
|
|
293
|
+
let dx = b.x - a.x, dy = b.y - a.y, t = dx || dy ? Math.max(0, Math.min(1, ((point.x - a.x) * dx + (point.y - a.y) * dy) / (dx * dx + dy * dy))) : 0;
|
|
294
|
+
return Math.hypot(point.x - (a.x + t * dx), point.y - (a.y + t * dy));
|
|
295
|
+
}
|
|
296
|
+
function segmentsCross(a, b, c, d) {
|
|
297
|
+
let side = (p, q, r) => Math.sign((q.x - p.x) * (r.y - p.y) - (q.y - p.y) * (r.x - p.x));
|
|
298
|
+
return side(a, b, c) !== side(a, b, d) && side(c, d, a) !== side(c, d, b);
|
|
299
|
+
}
|
|
300
|
+
function pathSlots(path, target, width, height, frame, band) {
|
|
301
|
+
let across = band === "x" ? "y" : "x", along = band, length = along === "x" ? width : height, depth = across === "y" ? height : width, start = Math.min(Math.max(rectCenter(target)[along] - length / 2, frame[along]), frame[along] + (along === "x" ? frame.w : frame.h) - length), low = start - PATH_PAD, high = start + length + PATH_PAD, min = 1 / 0, max = -1 / 0;
|
|
302
|
+
return path.forEach((a, index) => {
|
|
303
|
+
let b = path.length > 1 ? path[(index + 1) % path.length] : a, from = Math.max(Math.min(a[along], b[along]), low), to = Math.min(Math.max(a[along], b[along]), high);
|
|
304
|
+
if (!(from > to))
|
|
305
|
+
for (let at of [from, to]) {
|
|
306
|
+
let t = b[along] === a[along] ? 0 : (at - a[along]) / (b[along] - a[along]);
|
|
307
|
+
for (let value of b[along] === a[along] ? [a[across], b[across]] : [a[across] + t * (b[across] - a[across])])
|
|
308
|
+
min = Math.min(min, value), max = Math.max(max, value);
|
|
309
|
+
}
|
|
310
|
+
}), Number.isFinite(min) ? (band === "x" ? [["above", min - PATH_PAD - depth], ["below", max + PATH_PAD]] : [["left", min - PATH_PAD - depth], ["right", max + PATH_PAD]]).map(([side, value], index) => {
|
|
311
|
+
let rect = clampInto(frame, along === "x" ? { x: start, y: value, w: width, h: height } : { x: value, y: start, w: width, h: height });
|
|
312
|
+
return { slot: `card:path:${side}`, side, rect, penalty: index, phase: 2 };
|
|
313
|
+
}) : [];
|
|
314
|
+
}
|
|
243
315
|
function besideSlots(target, width, height, boundary, input, texts = []) {
|
|
244
316
|
let center = rectCenter(target), centerX = input.band === "y" && input.pointer ? input.pointer.x : center.x, centerY = input.band && input.pointer ? input.pointer.y : center.y, start = input.slots === "table" ? input.direction === "rtl" ? target.x + target.w - width : target.x : centerX - width / 2, sides = input.slots === "table" || input.band === "y" ? ["below", "above", "right", "left"] : ["right", "left", "above", "below"], seat = (side, index, gap, shift = 0, value) => {
|
|
245
317
|
let horizontal = side === "above" || side === "below", raw = {
|
|
@@ -272,7 +344,7 @@ function besideSlots(target, width, height, boundary, input, texts = []) {
|
|
|
272
344
|
function tableCardSlots(target, boundary, width, height, input) {
|
|
273
345
|
return besideSlots(target, width, height, boundary, { ...input, slots: "table" });
|
|
274
346
|
}
|
|
275
|
-
function selectCardSlot(candidates, forbidden, cost, pointer, clear, hidden) {
|
|
347
|
+
function selectCardSlot(candidates, forbidden, cost, pointer, clear, hidden, inWay) {
|
|
276
348
|
let scores = /* @__PURE__ */ new Map(), score = (slot) => {
|
|
277
349
|
let { x, y, w, h } = slot.rect, key = `${slot.side}:${x}:${y}:${w}:${h}`, cached = scores.get(key);
|
|
278
350
|
if (cached) return { ...cached, slot };
|
|
@@ -280,7 +352,7 @@ function selectCardSlot(candidates, forbidden, cost, pointer, clear, hidden) {
|
|
|
280
352
|
slot,
|
|
281
353
|
overlap,
|
|
282
354
|
cost: cost(slot),
|
|
283
|
-
safe: slot.fits !== !1 && overlap === 0 && !(pointer && rectContains(slot.rect, { ...pointer, w: 0, h: 0 }, 0)) && !(slot.phase < 2 && clear?.(slot) === !1),
|
|
355
|
+
safe: slot.fits !== !1 && overlap === 0 && !(pointer && rectContains(slot.rect, { ...pointer, w: 0, h: 0 }, 0)) && !(slot.phase < 2 && clear?.(slot) === !1) && inWay?.(slot) !== !0,
|
|
284
356
|
hidden: hidden?.(slot) ?? 0
|
|
285
357
|
};
|
|
286
358
|
return scores.set(key, result), result;
|
|
@@ -499,14 +571,23 @@ function layoutLabelCardContent(input, content) {
|
|
|
499
571
|
scene: rows.length ? cardScene(input, rows, seat.rect, measured, content.accessibleText) : []
|
|
500
572
|
};
|
|
501
573
|
}
|
|
502
|
-
function placeLabelCard(input, width, height) {
|
|
503
|
-
let texts = input.slots === "table" ? [] : input.occupied.filter((item) => item.kind !== "mark" && item.kind !== "reserved" && Math.min(item.rect.w, item.rect.h) > 2), hidden = (rect) => texts.filter((item) => overlapArea(rect, item.rect) > 0), seat =
|
|
574
|
+
function placeLabelCard(input, width, height, strict = !1) {
|
|
575
|
+
let texts = input.slots === "table" ? [] : input.occupied.filter((item) => item.kind !== "mark" && item.kind !== "reserved" && Math.min(item.rect.w, item.rect.h) > 2), hidden = (rect) => texts.filter((item) => overlapArea(rect, item.rect) > 0), path = input.slots === "table" ? void 0 : input.path, seat = searchSeat(input, width, height, texts, hidden);
|
|
576
|
+
if (!path) return seat;
|
|
577
|
+
let anchor = input.mark ?? input.target ?? input.record.anchor;
|
|
578
|
+
if (strict || !meetsPath(path, seat.rect) && hidden(seat.rect).length === 0 && (!anchor || boxGap(seat.rect, { w: 0, h: 0, ...anchor }) <= CLEAR_REACH))
|
|
579
|
+
return { ...seat, overPath: meetsPath(path, seat.rect) };
|
|
580
|
+
let beside = searchSeat({ ...input, path: void 0 }, width, height, texts, hidden);
|
|
581
|
+
return { ...beside, overPath: meetsPath(path, beside.rect) };
|
|
582
|
+
}
|
|
583
|
+
function searchSeat(input, width, height, texts, hidden) {
|
|
584
|
+
let seat = seatCard(input, width, height, texts), inWay = (rect) => input.path !== void 0 && meetsPath(input.path, rect), keepsPath = (next) => inWay(seat.slot.rect) || !inWay(next.slot.rect);
|
|
504
585
|
if (texts.length) {
|
|
505
586
|
let before = new Set(hidden(seat.slot.rect)), freed = [...before].some(chartWord) ? seatCard(input, width, height, texts, { readable: [] }) : void 0;
|
|
506
|
-
if (freed && !hidden(freed.slot.rect).some((item) => chartWord(item) || ownerContains(item.owner, input.record.target.owner)) && !(input.pointer && rectContains(freed.slot.rect, { ...input.pointer, w: 0, h: 0 }, 0))) seat = freed;
|
|
587
|
+
if (freed && !hidden(freed.slot.rect).some((item) => chartWord(item) || ownerContains(item.owner, input.record.target.owner)) && !(input.pointer && rectContains(freed.slot.rect, { ...input.pointer, w: 0, h: 0 }, 0)) && keepsPath(freed)) seat = freed;
|
|
507
588
|
else {
|
|
508
589
|
let improved = seatCard(input, width, height, texts, { readable: texts.filter((item) => !before.has(item)).map((item) => item.rect) });
|
|
509
|
-
hidden(improved.slot.rect).every((item) => before.has(item)) && (seat = improved);
|
|
590
|
+
hidden(improved.slot.rect).every((item) => before.has(item)) && keepsPath(improved) && (seat = improved);
|
|
510
591
|
}
|
|
511
592
|
}
|
|
512
593
|
let decisions = [{
|
|
@@ -522,7 +603,11 @@ function chartWord(item) {
|
|
|
522
603
|
return item.kind === "frame" || item.kind === "legend" || Object.keys(item.owner).length === 0;
|
|
523
604
|
}
|
|
524
605
|
function seatCard(input, width, height, texts, search) {
|
|
525
|
-
let occupied = search ? input.occupied.filter((item) => !SOLVER_CLAIMS.has(item.part ?? "")) : input.occupied, anchor = input.target ?? input.record.anchor, target = anchor ? { w: 0, h: 0, ...anchor } : void 0, viewport = input.boundary && (!target || !(input.boundary.w > 0 && input.boundary.h > 0) || boxGap(target, input.boundary) === 0), table = input.slots === "table", boundary = viewport ? input.boundary : insetFrame(input.chart ?? input.canvas, table ? 0 : FRAME_INSET, width, height), frame = { ...boundary, w: Math.max(0, boundary.w) || width, h: Math.max(0, boundary.h) || height }, coversPointer = (rect2) => input.pointer !== void 0 && rectContains(rect2, { ...input.pointer, w: 0, h: 0 }, 0), candidates = target ? table ? tableCardSlots(target, frame, width, height, input) : besideSlots(target, width, height, frame, input, search ? texts.map((item) => item.rect) : []) : frameSlots(frame, width, height), covered = (rect2) => cardCoverCost(rect2, occupied, table), coversFilledMark = (rect2) => occupied.some((item) => item.kind === "mark" && item.filled !== !1 && overlapArea(rect2, item.rect) > 0), chart = input.chart ?? input.canvas, outsideChart = (rect2) => table ? 0 : (rect2.w * rect2.h - overlapArea(rect2, chart)) * OUTSIDE_CHART_WEIGHT, coversText = (rect2) => texts.some((item) => overlapArea(rect2, item.rect) > 0), hiddenTexts = (rect2) => search ? texts.reduce((count, item) => count + (overlapArea(rect2, item.rect) > 0 ? 1 : 0), 0) : coversText(rect2) ? 1 : 0, own = texts.filter((item) => ownerContains(item.owner, input.record.target.owner) || search !== void 0 && chartWord(item)).map((item) => item.rect), active = [...input.forbidden ?? [], ...own, ...search?.readable ?? []], exclusion = target ? { ...target, w: target.w || 1e-3, h: target.h || 1e-3 } : void 0, forbidden = [...exclusion ? [exclusion] : [], ...table ? [] : active], pointer = table && !input.pointer && target ? target : { ...input.pointer ?? rectCenter(target ?? frame), w: 0, h: 0 }, cost = (slot) => Math.round((covered(slot.rect) + outsideChart(slot.rect) + activeCoverCost(slot.rect, table ? input.forbidden : active) + (coversPointer(slot.rect) ? slot.rect.w * slot.rect.h * 1e3 : 0) + boxGap(slot.rect, pointer) + (slot.side === input.previousSide ? 0 : 8)) * 1e3) / 1e3;
|
|
606
|
+
let occupied = search ? input.occupied.filter((item) => !SOLVER_CLAIMS.has(item.part ?? "")) : input.occupied, anchor = input.target ?? input.record.anchor, target = anchor ? { w: 0, h: 0, ...anchor } : void 0, viewport = input.boundary && (!target || !(input.boundary.w > 0 && input.boundary.h > 0) || boxGap(target, input.boundary) === 0), table = input.slots === "table", boundary = viewport ? input.boundary : insetFrame(input.chart ?? input.canvas, table ? 0 : FRAME_INSET, width, height), frame = { ...boundary, w: Math.max(0, boundary.w) || width, h: Math.max(0, boundary.h) || height }, coversPointer = (rect2) => input.pointer !== void 0 && rectContains(rect2, { ...input.pointer, w: 0, h: 0 }, 0), candidates = target ? table ? tableCardSlots(target, frame, width, height, input) : besideSlots(target, width, height, frame, input, search ? texts.map((item) => item.rect) : []) : frameSlots(frame, width, height), covered = (rect2) => cardCoverCost(rect2, occupied, table), coversFilledMark = (rect2) => occupied.some((item) => item.kind === "mark" && item.filled !== !1 && overlapArea(rect2, item.rect) > 0), chart = input.chart ?? input.canvas, outsideChart = (rect2) => table ? 0 : (rect2.w * rect2.h - overlapArea(rect2, chart)) * OUTSIDE_CHART_WEIGHT, coversText = (rect2) => texts.some((item) => overlapArea(rect2, item.rect) > 0), hiddenTexts = (rect2) => search ? texts.reduce((count, item) => count + (overlapArea(rect2, item.rect) > 0 ? 1 : 0), 0) : coversText(rect2) ? 1 : 0, own = texts.filter((item) => ownerContains(item.owner, input.record.target.owner) || search !== void 0 && chartWord(item)).map((item) => item.rect), active = [...input.forbidden ?? [], ...own, ...search?.readable ?? []], exclusion = target ? { ...target, w: target.w || 1e-3, h: target.h || 1e-3 } : void 0, forbidden = [...exclusion ? [exclusion] : [], ...table ? [] : active], pointer = table && !input.pointer && target ? target : { ...input.pointer ?? rectCenter(target ?? frame), w: 0, h: 0 }, cost = (slot) => Math.round((covered(slot.rect) + outsideChart(slot.rect) + activeCoverCost(slot.rect, table ? input.forbidden : active) + (coversPointer(slot.rect) ? slot.rect.w * slot.rect.h * 1e3 : 0) + boxGap(slot.rect, pointer) + (slot.side === input.previousSide ? 0 : 8)) * 1e3) / 1e3, path = table || !target ? void 0 : input.path;
|
|
607
|
+
if (path) {
|
|
608
|
+
let expand = candidates.expand, across = pathSlots(path, target, width, height, frame, input.band ?? "x");
|
|
609
|
+
candidates.expand = () => [...expand?.() ?? [], ...across];
|
|
610
|
+
}
|
|
526
611
|
if (target && !table) {
|
|
527
612
|
let area = intersect({ x: chart.x - width, y: chart.y - height, w: chart.w + 2 * width, h: chart.h + 2 * height }, frame);
|
|
528
613
|
candidates.clear = () => area ? clearSlots(area, width, height, texts.map((item) => item.rect), pointer, search ? target : void 0) : [], candidates.far = (slot) => boxGap(slot.rect, target) > CLEAR_REACH, candidates.clean = (slot) => covered(slot.rect) === 0 && !coversText(slot.rect), candidates.floor = (slot) => slot.penalty + outsideChart(slot.rect);
|
|
@@ -533,7 +618,8 @@ function seatCard(input, width, height, texts, search) {
|
|
|
533
618
|
cost,
|
|
534
619
|
input.pointer,
|
|
535
620
|
table ? void 0 : (slot) => !coversFilledMark(slot.rect) && !coversText(slot.rect),
|
|
536
|
-
table ? void 0 : (slot) => hiddenTexts(slot.rect)
|
|
621
|
+
table ? void 0 : (slot) => hiddenTexts(slot.rect),
|
|
622
|
+
path && ((slot) => meetsPath(path, slot.rect))
|
|
537
623
|
), rect = selected.rect, placement = covered(rect) > 0 || activeCoverCost(rect, forbidden) > 0 || activeCoverCost(rect, input.forbidden) > 0 ? "overlay" : target ? "beside" : "frame";
|
|
538
624
|
return { slot: selected, placement, tried: candidates.map((slot) => slot.slot) };
|
|
539
625
|
}
|
|
@@ -596,6 +682,8 @@ export {
|
|
|
596
682
|
sharedLabelCardContent,
|
|
597
683
|
describedWithCard,
|
|
598
684
|
shouldShowTableLabelCard,
|
|
685
|
+
pointsHull,
|
|
686
|
+
nearPath,
|
|
599
687
|
tableCardSlots,
|
|
600
688
|
selectCardSlot,
|
|
601
689
|
activeCoverCost,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
statusSquare
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P3TOPI3M.js";
|
|
4
4
|
import {
|
|
5
5
|
fieldHeadText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RT4V47U6.js";
|
|
7
7
|
import {
|
|
8
8
|
qualifierFont
|
|
9
9
|
} from "./chunk-Z2MGTKDR.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readerFloorPx,
|
|
13
13
|
tableEmphasis,
|
|
14
14
|
tableHeadFloorPx
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BKUTKQMT.js";
|
|
16
16
|
import {
|
|
17
17
|
scaleTextPx
|
|
18
18
|
} from "./chunk-RJICOOB3.js";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
sharedKeys10,
|
|
5
5
|
sharedKeys5,
|
|
6
6
|
sharedKeys9
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IXCDKCYE.js";
|
|
8
8
|
import {
|
|
9
9
|
optionKeyCheck
|
|
10
10
|
} from "./chunk-Z6H5ED2I.js";
|
|
11
11
|
import {
|
|
12
12
|
createChartComponent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-36KGPRMX.js";
|
|
14
14
|
import {
|
|
15
15
|
comboCore
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LEPXK7RN.js";
|
|
17
17
|
import {
|
|
18
18
|
registeredType
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7SSN5ECA.js";
|
|
20
20
|
|
|
21
21
|
// src/react/charts/combo.ts
|
|
22
22
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, categoryLabels: 0, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, categoryAxis: { dateTicks: 0 }, secondaryAxis: { acknowledge: 0, domain: 0, format: 0, show: 0, ruler: { of: 0, total: 0, ticks: 0 } }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, viewDomain: { x: 0 }, window: { last: 0 }, anomaly: { method: 0, k: 0, baseline: 0, label: 0, low: 0, high: 0 }, axisTitles: { primary: 0, secondary: 0 }, interpolate: 0, dualAxis: { anatomy: 0, growth: 0 }, valueLabels: 0, latestPoint: 0, averageMarker: { scope: 0, includePartial: 0 }, referenceStyle: 0, referenceTick: { width: 0, color: 0 }, events: sharedKeys1 }, labels: ["category", "segment", "point", "grandTotal", "tick", "axisTitle"] }), ComboChart = createChartComponent(registeredType(comboCore), checkOptionKeys);
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5,
|
|
4
4
|
sharedKeys9
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IXCDKCYE.js";
|
|
6
6
|
import {
|
|
7
7
|
optionKeyCheck
|
|
8
8
|
} from "./chunk-Z6H5ED2I.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-36KGPRMX.js";
|
|
12
12
|
import {
|
|
13
13
|
funnelCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-P2QIWGFU.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7SSN5ECA.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/funnel.ts
|
|
20
20
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, columnOverrides: { "*": { width: 0, headAlign: 0, label: 0 } }, variant: 0, totalCvr: 0, stageShade: 0, worstDropCallout: 0 }, labels: ["category", "segment", "point", "total", "annotation"] }), FunnelChart = createChartComponent(registeredType(funnelCore), checkOptionKeys);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-NNIZG3TH.js";
|
|
4
4
|
import {
|
|
5
5
|
disclosureNote
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B76O5YXI.js";
|
|
7
7
|
import {
|
|
8
8
|
chartStrings,
|
|
9
9
|
formatAutomaticPercent
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
cleanFloat,
|
|
13
13
|
round2
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BKUTKQMT.js";
|
|
15
15
|
|
|
16
16
|
// src/core/strings/slope.ts
|
|
17
17
|
var EN = {
|
|
@@ -105,6 +105,7 @@ var opt = (node, doc) => ({ ...node, opt: !0, ...doc ? { doc } : {} }), named =
|
|
|
105
105
|
tierGap: num(4, 64),
|
|
106
106
|
facetGap: num(4, 64),
|
|
107
107
|
labelPad: num(1, 16),
|
|
108
|
+
tierHeadingGap: optNum(4, 64),
|
|
108
109
|
canvas: opt(object(each(["base", "wide"], () => opt(object(each(["top", "right", "bottom", "left"], () => optNum(0, 96, "space.canvas.<class>.<side>"))))))),
|
|
109
110
|
gap: opt(object(each(["titleSubtitle", "subtitlePlot", "subtitlePlotWide", "axisFootnote", "axisFootnoteWide", "footnoteSource", "legend"], () => optNum(0, 32)))),
|
|
110
111
|
legendRowH: optNum(12, 28),
|
|
@@ -180,6 +181,7 @@ var opt = (node, doc) => ({ ...node, opt: !0, ...doc ? { doc } : {} }), named =
|
|
|
180
181
|
head: opt(object({ ...tableFace, case: optOneOf("upper", "asis") })),
|
|
181
182
|
section: opt(object({ ...tableFace, ink: optOneOf("ink", "inkMuted", "inkMeta"), case: optOneOf("upper", "asis"), spaceBefore: optNum(0, 48), rule: optOneOf("heavy", "hair") })),
|
|
182
183
|
fixedType: flag,
|
|
184
|
+
compactStep: optNum(0, 8),
|
|
183
185
|
noPrevious: optOneOf("na", "missing"),
|
|
184
186
|
ofWhich: optOneOf("muted", "ink"),
|
|
185
187
|
groupGround: optOneOf("expanded", "always", "none"),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IXCDKCYE.js";
|
|
5
5
|
import {
|
|
6
6
|
optionKeyCheck
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-36KGPRMX.js";
|
|
11
11
|
import {
|
|
12
12
|
sankeyCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZMZNMVPR.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7SSN5ECA.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/sankey.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, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, scaleGroup: { y: 0, id: 0 }, highlight: 0, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, linkColor: 0, order: 0, other: { share: 0, label: 0 }, nodeValue: 0, columnOverrides: { "*": { width: 0 } }, linkValue: 0 } }), SankeyChart = createChartComponent(registeredType(sankeyCore), checkOptionKeys);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
resolveSurface,
|
|
6
6
|
semanticPalettePaint,
|
|
7
7
|
strokeToken
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BKUTKQMT.js";
|
|
9
9
|
|
|
10
10
|
// src/core/charts/table/headFace.ts
|
|
11
11
|
var HEAD_KEEPS = /[([]|\p{Ll}\p{Lu}/u, INNER_CAPITAL = /\p{Ll}\p{Lu}/u, HEAD_PARTS = /[^\s,]+|[\s,]+/gu;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
figuresNeedHeat,
|
|
3
3
|
tableOptionsObject
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L6OMA45Q.js";
|
|
5
5
|
import {
|
|
6
6
|
valueBandsSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EQDLZGZO.js";
|
|
8
8
|
import {
|
|
9
9
|
columnOrderOption,
|
|
10
10
|
columnOverridesOption,
|
|
11
11
|
columnVisibilityOption,
|
|
12
12
|
rowVisibilityOption
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JTCXK7AG.js";
|
|
14
14
|
import {
|
|
15
15
|
baseOptionsSchema,
|
|
16
16
|
formatExample,
|
|
17
17
|
idRecord,
|
|
18
18
|
refusedBaseOptions,
|
|
19
19
|
retiredKey
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OGD23BIK.js";
|
|
21
21
|
|
|
22
22
|
// src/core/charts/dimswitch/schema.ts
|
|
23
23
|
import * as z from "zod";
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
checkedTightAdvice,
|
|
21
21
|
tightAdvice,
|
|
22
22
|
withTightAdvice
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EKYVRXTE.js";
|
|
24
24
|
import {
|
|
25
25
|
isRecord
|
|
26
26
|
} from "./chunk-MCYM3RNF.js";
|
|
27
27
|
import {
|
|
28
28
|
EMPTY_DATA,
|
|
29
29
|
hasNoDataRows
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NJKUODK3.js";
|
|
31
31
|
import {
|
|
32
32
|
FIXED_SIZE_PROBE,
|
|
33
33
|
FULL_LAYOUT_PROBE,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
sizeRefusal,
|
|
55
55
|
verifiedSizeRepair,
|
|
56
56
|
withPlanInputs
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-FY3VV7TF.js";
|
|
58
58
|
import {
|
|
59
59
|
chartRefusals,
|
|
60
60
|
isRefused
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
} from "./chunk-QXHFELIA.js";
|
|
67
67
|
import {
|
|
68
68
|
shownNoteKinds
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-B76O5YXI.js";
|
|
70
70
|
import {
|
|
71
71
|
withAnnotationOrigins
|
|
72
72
|
} from "./chunk-PPOUKS24.js";
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
typeWidthClass,
|
|
94
94
|
withMarginStepBelow,
|
|
95
95
|
withTypeClassCap
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-BKUTKQMT.js";
|
|
97
97
|
import {
|
|
98
98
|
retireChartSettings
|
|
99
99
|
} from "./chunk-JF743NNC.js";
|
|
@@ -273,6 +273,8 @@ var LAYOUT_STRING_KEYS = Object.keys({
|
|
|
273
273
|
belowSeries: !0,
|
|
274
274
|
average: !0,
|
|
275
275
|
valueLineRange: !0,
|
|
276
|
+
valueLineRangeKey: !0,
|
|
277
|
+
valueLineRangeKeyPlain: !0,
|
|
276
278
|
toDate: !0,
|
|
277
279
|
forecast: !0,
|
|
278
280
|
plan: !0,
|
|
@@ -345,10 +347,27 @@ function layoutStrings(...sources) {
|
|
|
345
347
|
}
|
|
346
348
|
return Object.keys(merged).length > 0 ? merged : void 0;
|
|
347
349
|
}
|
|
350
|
+
function refuseBigIntSettings(input) {
|
|
351
|
+
let open = [[input.options, ["options"]], [input.size, ["size"]], [input.annotations, ["annotations"]]], seen = /* @__PURE__ */ new Set();
|
|
352
|
+
for (; open.length; ) {
|
|
353
|
+
let [value, at] = open.pop();
|
|
354
|
+
if (typeof value == "bigint") {
|
|
355
|
+
let path = at.map((part, index) => typeof part == "number" ? `[${part}]` : index ? `.${part}` : part).join("");
|
|
356
|
+
throw new NormalizeError("invalid-argument", path, `${path} is a BigInt; settings take numbers`, `pass Number(${value}n)`, void 0, at);
|
|
357
|
+
}
|
|
358
|
+
if (value === null || typeof value != "object" || seen.has(value)) continue;
|
|
359
|
+
seen.add(value);
|
|
360
|
+
let prototype = Object.getPrototypeOf(value);
|
|
361
|
+
if (!(!Array.isArray(value) && prototype !== Object.prototype && prototype !== null))
|
|
362
|
+
for (let [key, item] of Object.entries(value)) open.push([item, [...at, Array.isArray(value) ? Number(key) : key]]);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
348
365
|
function resolveChartRequest(input, context = {}) {
|
|
349
366
|
let def = getChart(input.type);
|
|
350
367
|
if (!def) throw new NormalizeError("unknown-type", "type", `unknown chart type '${input.type}'`);
|
|
351
|
-
let source = input.options, sourceStandIns = source?.[UNIT_STAND_INS], sourceAuthored = source?.[AUTHORED_EXAMPLES]
|
|
368
|
+
let source = input.options, sourceStandIns = source?.[UNIT_STAND_INS], sourceAuthored = source?.[AUTHORED_EXAMPLES];
|
|
369
|
+
refuseBigIntSettings(input);
|
|
370
|
+
let shaped = normalizeOptionShapes(def.type, input, (name) => getChart(name)?.type);
|
|
352
371
|
input = shaped.chart;
|
|
353
372
|
let retired = retireChartSettings(def.type, input, (name) => getChart(name)?.type);
|
|
354
373
|
input = retired.chart;
|
|
@@ -475,10 +494,16 @@ function smallerClass(request, result, layout = layoutPlain) {
|
|
|
475
494
|
}
|
|
476
495
|
var classSteps = /* @__PURE__ */ new WeakMap();
|
|
477
496
|
function classStep(request, result, layout) {
|
|
478
|
-
if (!
|
|
497
|
+
if (!isRefused(result) || panelTypeClass(request.options) !== void 0 || request.options.belowMinimum === "refuse" || underClassFreeFloor(request, request.options)) return;
|
|
479
498
|
let smaller = firstSmallerClass(result, () => layout(request));
|
|
480
499
|
return smaller && drawnBy(smaller, "smallerClass");
|
|
481
500
|
}
|
|
501
|
+
function underClassFreeFloor(request, options) {
|
|
502
|
+
let def = getChart(request.type);
|
|
503
|
+
if (!def || def.type === "grid" || panelTypeClass(options) !== void 0) return !1;
|
|
504
|
+
let { sizePx, fixed } = resolveTargetSize(options.target ?? request.target, options.size);
|
|
505
|
+
return fixed.width && fixed.height && sizePx.height + SIZE_TOLERANCE < sizeGate(def, request.data, options, !0).gatePolicy.minHeight;
|
|
506
|
+
}
|
|
482
507
|
function stepsDown(result) {
|
|
483
508
|
if (!isRefused(result)) return !1;
|
|
484
509
|
if (!result.refused || result.warnings[0]?.code !== "size-below-floor") return !0;
|
|
@@ -823,7 +848,7 @@ function preparedLayout(request, verifyAdvice = !1) {
|
|
|
823
848
|
return options[MARGIN_BELOW] ? withMarginStepBelow(() => disclose(def.layout(request.data, current))) : disclose(def.layout(request.data, current));
|
|
824
849
|
}, at = ((frame) => {
|
|
825
850
|
let first = draw(frame);
|
|
826
|
-
return classStepping &&
|
|
851
|
+
return classStepping && isRefused(first) && !underClassFreeFloor(request, { ...request.options, size: frame.size }) ? firstSmallerClass(first, () => draw(frame, !0)) ?? first : first;
|
|
827
852
|
});
|
|
828
853
|
return at.probe = (options2) => at({ ...options2, [FULL_LAYOUT_PROBE]: !0 }), at.finish = () => run?.finish(), at.accepts = (data, options2) => run?.accepts(data, options2) ?? !1, at;
|
|
829
854
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-6JXBLQJ2.js";
|
|
4
4
|
import {
|
|
5
5
|
layoutHeatmap
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HS4DLZ6H.js";
|
|
7
7
|
import {
|
|
8
8
|
hostedLayout
|
|
9
9
|
} from "./chunk-ZQ5ILQ5A.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
fittedLabel,
|
|
17
17
|
gutterBudget,
|
|
18
18
|
stepDownFont
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-352V2W5P.js";
|
|
20
20
|
import {
|
|
21
21
|
chartTheme
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YRWJBS6C.js";
|
|
23
23
|
import {
|
|
24
24
|
AVERAGE_ROW_ID,
|
|
25
25
|
deriveRetention,
|
|
@@ -29,14 +29,14 @@ import {
|
|
|
29
29
|
fitsRoom,
|
|
30
30
|
widthsThatFit,
|
|
31
31
|
withoutWidths
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RTSSUQ25.js";
|
|
33
33
|
import {
|
|
34
34
|
structureCount
|
|
35
35
|
} from "./chunk-YDYZWCUQ.js";
|
|
36
36
|
import {
|
|
37
37
|
missesSize,
|
|
38
38
|
tightSpacingWarning
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EKYVRXTE.js";
|
|
40
40
|
import {
|
|
41
41
|
fieldHeadFont,
|
|
42
42
|
fieldHeadText,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
headRule,
|
|
45
45
|
totalGround,
|
|
46
46
|
totalRule
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-RT4V47U6.js";
|
|
48
48
|
import {
|
|
49
49
|
tableRuleInk
|
|
50
50
|
} from "./chunk-Z2MGTKDR.js";
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
rowSizing,
|
|
62
62
|
sideKeyGivesWay,
|
|
63
63
|
spareShare
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FY3VV7TF.js";
|
|
65
65
|
import {
|
|
66
66
|
HOST_CLAIMS,
|
|
67
67
|
PRIORITY,
|
|
@@ -80,12 +80,12 @@ import {
|
|
|
80
80
|
textCarriesCohortUnit,
|
|
81
81
|
withAuthoredFootnotes,
|
|
82
82
|
withUnprintedClaims
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
84
84
|
import {
|
|
85
85
|
disclosureNote,
|
|
86
86
|
keepShownNotes,
|
|
87
87
|
staticFrame
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-B76O5YXI.js";
|
|
89
89
|
import {
|
|
90
90
|
defaultSetSpec,
|
|
91
91
|
formatWithSpec,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
strokeToken,
|
|
113
113
|
tableEmphasis,
|
|
114
114
|
textScaleOf
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-BKUTKQMT.js";
|
|
116
116
|
import {
|
|
117
117
|
NormalizeError,
|
|
118
118
|
TARGET_SIZE,
|