boardplot 0.55.0 → 0.57.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 +153 -0
- package/README.md +3 -3
- package/dist/{ReaderBox-3FFPHWSI.js → ReaderBox-GCIITQCX.js} +5 -5
- package/dist/{annotateEngine-ET4DM2OK.js → annotateEngine-JMZI6QEG.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-RO2PSSAI.js → chunk-26WNBTWB.js} +21 -5
- package/dist/{chunk-3AJY353W.js → chunk-2AJWRVZ2.js} +4 -3
- package/dist/{chunk-NVGAEQ6M.js → chunk-2BHLRHF2.js} +2 -2
- package/dist/{chunk-CZ3WCG55.js → chunk-2HD5RY2U.js} +11 -3
- package/dist/{chunk-HR2BKLS3.js → chunk-2I76VFMZ.js} +186 -241
- package/dist/{chunk-3B3CFJ2H.js → chunk-2KCK63DD.js} +2 -2
- package/dist/{chunk-GDZI5ZJ7.js → chunk-2WTD3GCR.js} +11 -3
- package/dist/{chunk-EBC5TMI2.js → chunk-2X6XY4K4.js} +27 -10
- package/dist/{chunk-MJMOKPTF.js → chunk-3DUGZ7ML.js} +196 -138
- package/dist/{chunk-N5TZL74Y.js → chunk-3LNVEE5Z.js} +1 -1
- package/dist/{chunk-DB2JKPOX.js → chunk-43PCSBVQ.js} +567 -14
- package/dist/{chunk-WEMUCDPK.js → chunk-4JGBCBDZ.js} +1 -1
- package/dist/{chunk-7UPZPFHQ.js → chunk-4JNHF6JW.js} +12 -12
- package/dist/{chunk-4X3HNETE.js → chunk-4RN4OM6I.js} +3 -3
- package/dist/{chunk-Z7NHFNH3.js → chunk-4U2WSW6F.js} +107 -26
- package/dist/{chunk-6D4EO3S7.js → chunk-53OEKS4L.js} +5 -3
- package/dist/{chunk-E44W4EEG.js → chunk-54HEIM2A.js} +2 -2
- package/dist/{chunk-CLGUFVHM.js → chunk-5H4HFRDO.js} +6 -6
- package/dist/{chunk-SFG7NG23.js → chunk-5HTGSB6Y.js} +3 -3
- package/dist/{chunk-WXJ5MHLH.js → chunk-5JTRCSBN.js} +1 -1
- package/dist/{chunk-4Y7BA2NW.js → chunk-5P4MXWKP.js} +4 -4
- package/dist/{chunk-MLW72KWN.js → chunk-5RHP7YTL.js} +5 -5
- package/dist/{chunk-AB35GVPG.js → chunk-5TUDYKNL.js} +41 -31
- package/dist/{chunk-HZUAEMN5.js → chunk-5WSIH4SR.js} +1 -1
- package/dist/{chunk-YTCIGJUU.js → chunk-62JZL6FW.js} +45 -37
- package/dist/{chunk-S7NRL66K.js → chunk-6EE6XEMA.js} +4 -4
- package/dist/chunk-6JXBLQJ2.js +32 -0
- package/dist/{chunk-BGJRCG7N.js → chunk-6KHRMK3I.js} +46 -26
- package/dist/{chunk-3OZRODC4.js → chunk-6LQKU6YN.js} +4 -4
- package/dist/chunk-6VU2XI3W.js +89 -0
- package/dist/{chunk-E6HDUEGK.js → chunk-6WJOHZPW.js} +5 -5
- package/dist/{chunk-XJQXFVXY.js → chunk-6XU5XGYV.js} +7 -8
- package/dist/{chunk-QOWE55RR.js → chunk-6ZN2XJFI.js} +11 -6
- package/dist/{chunk-4WT3T5SH.js → chunk-72OJBDRB.js} +205 -60
- package/dist/{chunk-GFIT3FRE.js → chunk-73O6AOAA.js} +63 -47
- package/dist/{chunk-DEYAI662.js → chunk-76UL4CT4.js} +60 -24
- package/dist/chunk-7BQK2UDV.js +13 -0
- package/dist/{chunk-NHYKSPL4.js → chunk-7EQU2TUN.js} +304 -119
- package/dist/{chunk-FS6ZE5TG.js → chunk-7FAO4ICF.js} +2 -2
- package/dist/{chunk-LSF76AS3.js → chunk-7MYJUJZV.js} +6 -2
- package/dist/{chunk-D2QMNHCC.js → chunk-7P7D6WXR.js} +11 -2
- package/dist/{chunk-GCSCHK5Y.js → chunk-A33MFWHW.js} +3 -3
- package/dist/{chunk-3C24WWUQ.js → chunk-A6XCVOC5.js} +1 -1
- package/dist/{chunk-O7DVW3IE.js → chunk-AFA32LHN.js} +134 -37
- package/dist/{chunk-WALYNKBN.js → chunk-AFGQXMKT.js} +264 -88
- package/dist/{chunk-ZTMZOKVC.js → chunk-AKJO6N4K.js} +3 -3
- package/dist/{chunk-P6TA7M3G.js → chunk-ANNQJWDX.js} +11 -11
- package/dist/{chunk-KFGZMHIB.js → chunk-AOIZJ7GR.js} +7 -7
- package/dist/chunk-B5A7X2BA.js +44 -0
- package/dist/{chunk-HGT3UKDW.js → chunk-BDCKHLUB.js} +16 -16
- package/dist/{chunk-NUCYUKVH.js → chunk-BFDPY7JM.js} +10 -3
- package/dist/{chunk-BK6P6KMW.js → chunk-BM2A3IGQ.js} +1 -1
- package/dist/{chunk-H3AEYPRP.js → chunk-BO5EJBLH.js} +249 -129
- package/dist/chunk-BQIADGJB.js +23 -0
- package/dist/{chunk-F6CVYNDY.js → chunk-BY5JGQFZ.js} +24 -7
- package/dist/{chunk-WDIVAU5U.js → chunk-C5SQEYTQ.js} +78 -57
- package/dist/{chunk-NCZWLV7T.js → chunk-CEMXGMQN.js} +2 -2
- package/dist/{chunk-6H3OSHEY.js → chunk-CIDOL4FO.js} +5 -5
- package/dist/{chunk-WAPCCJUB.js → chunk-CT4RFZO4.js} +6 -6
- package/dist/{chunk-7Q37C6GZ.js → chunk-CV3NC75L.js} +1 -1
- package/dist/{chunk-GDVR3XHT.js → chunk-D3PQAVFW.js} +23 -13
- package/dist/{chunk-GMJFCBR6.js → chunk-D5G67OER.js} +1 -1
- package/dist/{chunk-BFFPYT3Y.js → chunk-D5RAVZ5C.js} +6 -7
- package/dist/{chunk-FQF7GSJK.js → chunk-DJBMA4FW.js} +4 -4
- package/dist/{chunk-4DZFR52I.js → chunk-DPUCT567.js} +2 -2
- package/dist/{chunk-ZHFUMVW7.js → chunk-DYSEZVIJ.js} +18 -2
- package/dist/{chunk-SA46CNMS.js → chunk-ED7GLWTF.js} +4 -1
- package/dist/{chunk-YXM4W3TN.js → chunk-EDBUVDRI.js} +118 -68
- package/dist/{chunk-JBMWRXDS.js → chunk-EEBMK6T6.js} +6 -6
- package/dist/{chunk-CYKIX3IQ.js → chunk-EEL2N4Y6.js} +7 -8
- package/dist/{chunk-PYV6ZIR6.js → chunk-EFKFZNQC.js} +24 -18
- package/dist/{chunk-IOKWBUQP.js → chunk-EHNGPUTO.js} +6 -6
- package/dist/{chunk-ZBSNF5F7.js → chunk-EHQLLZCQ.js} +49 -22
- package/dist/{chunk-ONKSGT2M.js → chunk-EWR6WVOV.js} +6 -6
- package/dist/{chunk-MTRV3BJL.js → chunk-EY4OA4OF.js} +1005 -666
- package/dist/{chunk-Y3L655X6.js → chunk-F4JAGDPD.js} +6 -6
- package/dist/{chunk-LRCO4G7C.js → chunk-FAFUMSPR.js} +35 -26
- package/dist/{chunk-63L35UCI.js → chunk-FERP4WS3.js} +19 -9
- package/dist/{chunk-N5HN5QGH.js → chunk-FF7MV4D4.js} +1 -1
- package/dist/{chunk-G63WXSQP.js → chunk-FJKFYQ5I.js} +23 -18
- package/dist/chunk-FL3FQ2YA.js +27 -0
- package/dist/{chunk-YOOHNQ3L.js → chunk-FX5VZK5F.js} +4 -0
- package/dist/{chunk-37A6CLR5.js → chunk-G5BUGYIL.js} +70 -18
- package/dist/{chunk-JU7S52HI.js → chunk-G5CELEUR.js} +6 -6
- package/dist/{chunk-EW47LNWH.js → chunk-GADI2DU7.js} +11 -10
- package/dist/{chunk-F6OLHND5.js → chunk-GAFEN3H7.js} +2 -2
- package/dist/{chunk-EXDMYV5W.js → chunk-GC4WOLV3.js} +1 -1
- package/dist/{chunk-WFSOKGGA.js → chunk-GHFTKVJN.js} +1 -1
- package/dist/chunk-GKDUIDU6.js +138 -0
- package/dist/{chunk-LA5OYJ5P.js → chunk-GKQLKUMF.js} +188 -84
- package/dist/{chunk-LLDKKEUD.js → chunk-GS5UG6QD.js} +1 -1
- package/dist/{chunk-BWVNCLUS.js → chunk-H2POQ4LB.js} +5 -5
- package/dist/{chunk-WSJDLZSZ.js → chunk-H3EWFSWI.js} +97 -53
- package/dist/{chunk-XPOMQWXY.js → chunk-H6EJ63QN.js} +20 -18
- package/dist/{chunk-Q3E74U2W.js → chunk-HB3TH7GY.js} +3 -3
- package/dist/{chunk-MLGEBFEX.js → chunk-HC6WHTBX.js} +2 -2
- package/dist/{chunk-X7XTIM6U.js → chunk-HDSHS2QZ.js} +47 -32
- package/dist/{chunk-QBJDHFJJ.js → chunk-HFFKN7PA.js} +11 -6
- package/dist/{chunk-K5S3K6QK.js → chunk-HGPFEG2L.js} +7 -8
- package/dist/{chunk-7Z73MM35.js → chunk-HVX2E26J.js} +46 -26
- package/dist/{chunk-KAYBRD4F.js → chunk-I3DLERI7.js} +2 -2
- package/dist/{chunk-SPSGUFTI.js → chunk-I4NUYVP5.js} +1 -1
- package/dist/{chunk-OHGEDG46.js → chunk-I5ZADE2U.js} +1 -1
- package/dist/{chunk-CPGASWNN.js → chunk-I65OLJ2X.js} +1 -1
- package/dist/{chunk-LAVVML3X.js → chunk-I6QGYRY4.js} +3 -3
- package/dist/{chunk-N7N5NIAU.js → chunk-I7KDPCC7.js} +3 -3
- package/dist/{chunk-UF3HSFAE.js → chunk-IFURKTOL.js} +3 -3
- package/dist/{chunk-Y54LU4CU.js → chunk-IPWUBZ4P.js} +1 -1
- package/dist/{chunk-IQDMZ33D.js → chunk-IRXTNSZL.js} +10 -10
- package/dist/{chunk-GD5TYS5R.js → chunk-IUVJVMKS.js} +13 -13
- package/dist/{chunk-E5OEWMNX.js → chunk-IVQT2E3Y.js} +66 -36
- package/dist/{chunk-7DAH2E4T.js → chunk-IW3YUMPI.js} +2 -2
- package/dist/chunk-IXM6BAM4.js +53 -0
- package/dist/{chunk-XVUQMZWV.js → chunk-IZRTNCJQ.js} +5 -5
- package/dist/{chunk-KZH2QI6S.js → chunk-J22ETKDJ.js} +2 -2
- package/dist/{chunk-HJRNBKIT.js → chunk-JARJP576.js} +3 -3
- package/dist/{chunk-4YHZSPAJ.js → chunk-JHWDTV4K.js} +5 -1
- package/dist/{chunk-PQYJZMCR.js → chunk-JIH52I36.js} +79 -79
- package/dist/{chunk-LFUJTEJO.js → chunk-JKXJWCJ5.js} +71 -36
- package/dist/{chunk-2BP6X5GX.js → chunk-JMOBA5ES.js} +2 -2
- package/dist/{chunk-2TAK2ELB.js → chunk-JMXNXLAC.js} +5 -1
- package/dist/{chunk-Z5V6ZM76.js → chunk-JRRSKCGG.js} +3 -3
- package/dist/{chunk-IVRYF7QA.js → chunk-JSA3ESEJ.js} +1 -1
- package/dist/{chunk-NOCIN2EM.js → chunk-K6Y4HBK7.js} +32 -32
- package/dist/{chunk-WQT6HIIY.js → chunk-KAAB2DIV.js} +23 -13
- package/dist/{chunk-GM2HIU6C.js → chunk-KF3ZHLHQ.js} +7 -8
- package/dist/{chunk-3XOWXLLQ.js → chunk-KGS5Z7SL.js} +3 -3
- package/dist/{chunk-AIU4GZV5.js → chunk-KIXNHDXS.js} +7 -8
- package/dist/{chunk-ILFQ75N4.js → chunk-KJLH5EHD.js} +29 -29
- package/dist/{chunk-UIYXMPDW.js → chunk-KLQKHA3T.js} +6 -6
- package/dist/chunk-KQ2WZ6BY.js +11 -0
- package/dist/{chunk-5SLJGRUO.js → chunk-KUMJI5B6.js} +32 -18
- package/dist/{chunk-XYYRHGQI.js → chunk-L2XRUG4P.js} +7 -8
- package/dist/{chunk-JYBT2JNY.js → chunk-LE3LSEUL.js} +27 -2
- package/dist/{chunk-RTXRIZYU.js → chunk-LFX5BERN.js} +167 -70
- package/dist/{chunk-D7G27EYZ.js → chunk-LGMV7ZV4.js} +4 -4
- package/dist/{chunk-H4VDQ7OE.js → chunk-LO3AGGE3.js} +7 -8
- package/dist/{chunk-UNMIUILK.js → chunk-LSKCKGCF.js} +5 -1
- package/dist/{chunk-CVIW2MV4.js → chunk-LSR3SBJ4.js} +78 -37
- package/dist/{chunk-V634AXDM.js → chunk-LUZ7HXBT.js} +1 -1
- package/dist/{chunk-B3AXM3MT.js → chunk-LW4ZQGVL.js} +2 -2
- package/dist/{chunk-H3IBJQ5A.js → chunk-M2OQK2FO.js} +1 -1
- package/dist/{chunk-AZM4YNRE.js → chunk-M74H7QYD.js} +2 -2
- package/dist/{chunk-M427S3G7.js → chunk-MOQFYJ3F.js} +6 -6
- package/dist/{chunk-QRVIS2QB.js → chunk-MQ5EKWIG.js} +51 -9
- package/dist/{chunk-LHKDZAWN.js → chunk-MSYTF3DZ.js} +10 -3
- package/dist/{chunk-LD4LML5P.js → chunk-MTCDGSYW.js} +9 -1
- package/dist/{chunk-KHRAJDBM.js → chunk-NCCDEUHD.js} +1 -1
- package/dist/{chunk-IGVAWAOK.js → chunk-NIDH22DI.js} +31 -7
- package/dist/{chunk-IF2ZABAM.js → chunk-NINK4G7U.js} +2 -2
- package/dist/{chunk-F5V7YFKS.js → chunk-NO7GRVUU.js} +10 -8
- package/dist/{chunk-EBVJCVXL.js → chunk-NRYERHEI.js} +6 -6
- package/dist/{chunk-OJ2BPQGQ.js → chunk-O4D27FKH.js} +1 -1
- package/dist/{chunk-RYPJB3RO.js → chunk-O7Y6RJ4D.js} +23 -11
- package/dist/{chunk-2C4SYWZ3.js → chunk-OAT6FWKL.js} +7 -8
- package/dist/{chunk-VL7WLE4H.js → chunk-OF7FMGH5.js} +6 -6
- package/dist/{chunk-V3MSLNSD.js → chunk-OKM5LYYP.js} +7 -8
- package/dist/{chunk-YV5KYGE5.js → chunk-OQQMDSCC.js} +1 -1
- package/dist/{chunk-QKWBDH2L.js → chunk-OTGNVAI4.js} +2 -2
- package/dist/{chunk-HFRQLMKK.js → chunk-PSYPB22T.js} +3 -3
- package/dist/{chunk-JXBZIJCG.js → chunk-PYGEIPPH.js} +1 -1
- package/dist/{chunk-KZJ5VM6E.js → chunk-PZ3TQFSY.js} +15 -1
- package/dist/{chunk-MQYIBGZE.js → chunk-Q7VPTN5X.js} +4 -4
- package/dist/{chunk-XZLU3G23.js → chunk-QFIRPOXR.js} +6 -2
- package/dist/{chunk-QBRRJ5OR.js → chunk-QHPJ5ZKS.js} +6 -6
- package/dist/{chunk-R27IDIJI.js → chunk-QLWUFEKR.js} +6 -6
- package/dist/{chunk-COQEHO7B.js → chunk-QNLESRH6.js} +3 -1
- package/dist/{chunk-5UVJKB7L.js → chunk-QRZESG66.js} +40 -29
- package/dist/{chunk-KND4OM4B.js → chunk-QYOZ46ZQ.js} +70 -23
- package/dist/{chunk-HLOXWM2O.js → chunk-QZMLSK43.js} +244 -74
- package/dist/{chunk-NGA7ICG4.js → chunk-RDJ3ZU6O.js} +16 -13
- package/dist/{chunk-AF7EB6N6.js → chunk-RHBQ2Q5H.js} +104 -47
- package/dist/{chunk-Y2CAIAUI.js → chunk-RHVP62HI.js} +6 -6
- package/dist/{chunk-EAR43REB.js → chunk-RMVCKO6N.js} +16 -14
- package/dist/chunk-RRPTQGRU.js +47 -0
- package/dist/{chunk-IF76JRXT.js → chunk-S2TSXUYP.js} +6 -6
- package/dist/{chunk-O2KKQNGW.js → chunk-SD6ENKTO.js} +7 -2
- package/dist/{chunk-J5PL6JLL.js → chunk-SGDWLXUC.js} +1 -1
- package/dist/{chunk-75TWO5B2.js → chunk-SHAAMKN7.js} +45 -24
- package/dist/{chunk-NB7M4KX4.js → chunk-SHCW2TCA.js} +11 -11
- package/dist/{chunk-3ZAH24P6.js → chunk-SSZB3VXG.js} +19 -19
- package/dist/chunk-SXAZDIGM.js +84 -0
- package/dist/{chunk-QHRE2M6V.js → chunk-T2L5H2WW.js} +4 -3
- package/dist/{chunk-ODZJ4LW7.js → chunk-T3WCDDIL.js} +7 -2
- package/dist/{chunk-OOFSQ5AS.js → chunk-T5MBORBK.js} +1 -1
- package/dist/{chunk-OY2UJ4XK.js → chunk-TDDSWNGD.js} +25 -17
- package/dist/{chunk-5DMHMQFP.js → chunk-TGR6PRKG.js} +3 -3
- package/dist/{chunk-EGPXEY2K.js → chunk-TKERVBJ3.js} +7 -8
- package/dist/{chunk-6C64IBOG.js → chunk-TMXRTYGT.js} +10 -4
- package/dist/{chunk-RNIYG6PI.js → chunk-TQ5HHNM3.js} +2 -2
- package/dist/{chunk-LF6RTFNK.js → chunk-TWRFVW3J.js} +5 -3
- package/dist/{chunk-7FKY6YWU.js → chunk-TXMS7QUJ.js} +3 -3
- package/dist/{chunk-H5L2P2GO.js → chunk-UBXIGE2P.js} +3 -2
- package/dist/{chunk-7Q2WV6D2.js → chunk-UCIAHSJK.js} +2 -2
- package/dist/{chunk-BVYIKLQ5.js → chunk-UD6U4EF5.js} +1 -1
- package/dist/{chunk-4CJ6UCX4.js → chunk-UFZXZJJG.js} +5 -5
- package/dist/{chunk-SNQ7D5R7.js → chunk-UIHGGWES.js} +51 -11
- package/dist/{chunk-CKNOLGRR.js → chunk-UP4JSNDR.js} +1 -1
- package/dist/{chunk-3B3K7TD5.js → chunk-USFIDSTO.js} +8 -6
- package/dist/{chunk-PZ46S2SY.js → chunk-V3UE3TB7.js} +2 -2
- package/dist/{chunk-KDSYZLF6.js → chunk-V5IFI3FV.js} +8 -1
- package/dist/{chunk-BSATR6ZO.js → chunk-V62B23VC.js} +13 -1
- package/dist/{chunk-NA6WLZ66.js → chunk-VFLMBA2M.js} +68 -18
- package/dist/chunk-VJ7VBB6S.js +58 -0
- package/dist/{chunk-32IKJMUF.js → chunk-VM5CQ7CG.js} +3 -3
- package/dist/{chunk-6WZZADRL.js → chunk-VMGTNB6H.js} +6 -6
- package/dist/{chunk-WWIY6BBY.js → chunk-VT7PBGL2.js} +8 -8
- package/dist/{chunk-3L2VXXM4.js → chunk-VY2NPB2Q.js} +2 -2
- package/dist/{chunk-QEP3X3OV.js → chunk-VY67Q6CJ.js} +20 -20
- package/dist/{chunk-W45AR6EW.js → chunk-W5SVS4B6.js} +2 -2
- package/dist/{chunk-U7W7GYXP.js → chunk-W7Q6PLT4.js} +37 -37
- package/dist/{chunk-7GVYMGLK.js → chunk-WDAZ2MT4.js} +8 -4
- package/dist/{chunk-T5Y4HXYO.js → chunk-WE5WVQE4.js} +13 -1
- package/dist/chunk-WJQX7HBH.js +54 -0
- package/dist/{chunk-EC2PGJ64.js → chunk-WKWCNS6K.js} +6 -6
- package/dist/{chunk-2ALFFOKB.js → chunk-WSKZZ2ZB.js} +14 -14
- package/dist/{chunk-5SHI57XD.js → chunk-WZB6R2ZX.js} +7 -5
- package/dist/{chunk-MEMPP7VZ.js → chunk-X5OVVMZX.js} +1 -1
- package/dist/{chunk-UDKYY27B.js → chunk-XCROSJ2Z.js} +1 -1
- package/dist/{chunk-ROLR7HRB.js → chunk-XFCBH3TI.js} +3 -3
- package/dist/{chunk-XMN3Z43K.js → chunk-XJUZC53Y.js} +1 -1
- package/dist/chunk-XN7JDII2.js +2047 -0
- package/dist/{chunk-RUWNG2JC.js → chunk-XNV7VOIT.js} +4 -4
- package/dist/{chunk-KC52E5G4.js → chunk-XR7VOF2V.js} +10 -8
- package/dist/{chunk-Z2X4JQNY.js → chunk-XYUXB5VK.js} +8 -3
- package/dist/{chunk-SC42DPNV.js → chunk-Y5IKCXQR.js} +7 -8
- package/dist/{chunk-YLC42C3M.js → chunk-Y5WHM2Q5.js} +1 -1
- package/dist/{chunk-IGNBQT23.js → chunk-Y7Q3VEYC.js} +96 -5
- package/dist/{chunk-O6NJDRXE.js → chunk-YB6QGOCO.js} +2 -2
- package/dist/{chunk-AM2CG7VX.js → chunk-YBYV56FS.js} +3 -3
- package/dist/{chunk-O4WJWHCH.js → chunk-YCUNFAEE.js} +90 -42
- package/dist/{chunk-V7F4F6JA.js → chunk-YFI5PN5O.js} +5 -7
- package/dist/{chunk-SBR2RLEQ.js → chunk-YGPLUENN.js} +89 -59
- package/dist/chunk-YGZEG3JV.js +123 -0
- package/dist/{chunk-WG5CJGLU.js → chunk-YJGFT63R.js} +8 -3
- package/dist/{chunk-KEDNHCGB.js → chunk-YNHPPZ7S.js} +1 -1
- package/dist/{chunk-EZZ533MH.js → chunk-YO5UKKCQ.js} +1 -1
- package/dist/{chunk-SZXKV3BX.js → chunk-YTEJYLU7.js} +5 -1
- package/dist/{chunk-33FCWTGT.js → chunk-Z257SH5U.js} +1 -1
- package/dist/{chunk-O7W35PT3.js → chunk-Z2BDTZDT.js} +14 -12
- package/dist/{chunk-EQRFSVDD.js → chunk-ZDD3MJ2H.js} +1 -1
- package/dist/{chunk-APQPYM2Z.js → chunk-ZNX5J7D7.js} +3 -3
- package/dist/{chunk-VBVG6NEL.js → chunk-ZSYU6LIH.js} +5 -5
- package/dist/{chunk-2YNF6AHH.js → chunk-ZTSJ7NY6.js} +6 -2
- package/dist/chunk-ZV3SNRJI.js +122 -0
- package/dist/cli/index.js +1 -1
- package/dist/{core-6HMJHFRR.js → core-4M4RY7MX.js} +4 -1
- package/dist/{core-RPQBIOU4.js → core-4PW4MXWR.js} +4 -1
- package/dist/{core-MV6KGAUV.js → core-5S5CJHBG.js} +5 -1
- package/dist/{core-XMTKUXLO.js → core-7TTM4KRP.js} +6 -1
- package/dist/{core-EYJ3WJK4.js → core-7XKNJM7Y.js} +4 -1
- package/dist/{core-3IJPBNGC.js → core-A7HXVSKB.js} +5 -1
- package/dist/{core-CLLIG7ZU.js → core-AMWCZTOT.js} +2 -1
- package/dist/{core-2YTKFBNZ.js → core-AVA4XLQ2.js} +4 -1
- package/dist/{core-UAY2G7LN.js → core-BJZEJ63L.js} +5 -1
- package/dist/{core-PTRQPQTO.js → core-CCB3IXGD.js} +4 -1
- package/dist/{core-HJUGHAX7.js → core-D2OIGYC7.js} +2 -1
- package/dist/{core-NTWHFDM4.js → core-DMDAXVMY.js} +3 -1
- package/dist/{core-2SICIP63.js → core-EMSJRGSE.js} +3 -4
- package/dist/{core-MEC6A5DD.js → core-FCSA74RT.js} +2 -1
- package/dist/{core-CBEGB2NO.js → core-FTQBESDS.js} +3 -1
- package/dist/{core-GRWI22NS.js → core-GS4DXDDG.js} +4 -1
- package/dist/{core-CAL7YNFC.js → core-JDZDBTID.js} +2 -1
- package/dist/{core-H7KMWYP5.js → core-L3UR75IJ.js} +2 -1
- package/dist/{core-JMYMIH6Z.js → core-MAW4S3KA.js} +4 -1
- package/dist/{core-T4ZH3FAU.js → core-N2JEWJ7D.js} +3 -1
- package/dist/{core-T2KHX5LG.js → core-OBPTBKX6.js} +4 -1
- package/dist/{core-CTZLHGXE.js → core-OFPPRHYY.js} +5 -1
- package/dist/{core-QABTVASG.js → core-QFAVWFI3.js} +5 -1
- package/dist/{core-FX7HRKTF.js → core-QM34237W.js} +9 -1
- package/dist/{core-GQC6VDW5.js → core-SKMHEA4Y.js} +5 -1
- package/dist/{core-VBR253SM.js → core-T3OSZOVV.js} +2 -1
- package/dist/{core-7JKE7H32.js → core-UNX4ZV4M.js} +4 -1
- package/dist/core-VRVL6LIM.js +49 -0
- package/dist/{core-OIC5KJSD.js → core-VT35VDVS.js} +4 -1
- package/dist/{core-3647Z25D.js → core-VWYXK2R3.js} +4 -1
- package/dist/{core-YEFGEW3Z.js → core-WNT6ZMRO.js} +5 -1
- package/dist/{core-VMIBBHXI.js → core-WP73P4CW.js} +4 -1
- package/dist/{core-ULZ7XUQP.js → core-WPEYRK6Y.js} +2 -1
- package/dist/{core-PMYCLXT7.js → core-WXZJ7V7S.js} +2 -1
- package/dist/{core-KEB5PBCO.js → core-XKXDXALI.js} +3 -1
- package/dist/{core-OWCTIPHD.js → core-ZACFV6XR.js} +2 -1
- package/dist/{core-BMY7OL76.js → core-ZSERZGK6.js} +5 -1
- package/dist/{dataTable-2ZXK54TP.js → dataTable-7IO546LM.js} +11 -2
- package/dist/{engine-HGXSWGOI.js → engine-US3N6UCH.js} +51 -15
- package/dist/fixtures.js +3 -1
- package/dist/fonts.js +1 -1
- package/dist/geo/dach.js +1 -1
- package/dist/geo/de-states.js +1 -1
- package/dist/geo/eu27.js +1 -1
- package/dist/geo/europe.js +1 -1
- package/dist/geo/index.js +2 -2
- package/dist/geo/us-states.js +1 -1
- package/dist/geo/world.js +1 -1
- package/dist/index.js +32 -19
- package/dist/{main-PVT6FMGC.js → main-2UWKGUHR.js} +28 -13
- package/dist/mcp/server.js +24 -13
- package/dist/react/bar.js +6 -1
- package/dist/react/bartable.js +8 -1
- package/dist/react/box.js +6 -1
- package/dist/react/bullet.js +7 -1
- package/dist/react/butterfly.js +6 -1
- package/dist/react/choropleth.js +8 -1
- package/dist/react/cohort.js +9 -1
- package/dist/react/column.js +6 -1
- package/dist/react/combo.js +6 -1
- package/dist/react/creative.js +8 -1
- package/dist/react/diagram.js +8 -1
- package/dist/react/dimswitch.js +6 -1
- package/dist/react/dot.js +6 -1
- package/dist/react/export.js +27 -19
- package/dist/react/funnel.js +6 -1
- package/dist/react/gantt.js +8 -1
- package/dist/react/grid.js +5 -1
- package/dist/react/heatmap.js +7 -1
- package/dist/react/histogram.js +6 -1
- package/dist/react/index.js +94 -84
- package/dist/react/kpi.js +7 -1
- package/dist/react/likert.js +6 -1
- package/dist/react/line.js +6 -1
- package/dist/react/mekko.js +6 -1
- package/dist/react/pareto.js +6 -1
- package/dist/react/pie.js +6 -1
- package/dist/react/prepare.js +36 -20
- package/dist/react/pvm.js +7 -1
- package/dist/react/pyramid.js +6 -1
- package/dist/react/sankey.js +8 -1
- package/dist/react/scatter.js +6 -1
- package/dist/react/slope.js +7 -1
- package/dist/react/sparkline.js +7 -1
- package/dist/react/spec.js +17 -11
- package/dist/react/status.js +12 -1
- package/dist/react/story.js +5 -3
- package/dist/react/table.js +6 -1
- package/dist/react/theme.js +8 -3
- package/dist/react/tilemap.js +7 -1
- package/dist/react/treemap.js +7 -1
- package/dist/react/variance.js +6 -1
- package/dist/react/waffle.js +7 -1
- package/dist/react/waterfall.js +7 -1
- package/dist/rows.js +3 -2
- package/dist/{rowsModule-JTDPTWXG.js → rowsModule-DYDVHBAX.js} +2 -1
- package/dist/{schema-GLN7IHSH.js → schema-3KMU5737.js} +1 -1
- package/dist/{schema-NVMEOHAW.js → schema-4JRNXEZF.js} +3 -1
- package/dist/{schema-7CPGNCOL.js → schema-626QXX4G.js} +3 -1
- package/dist/{schema-BMD5JR3Y.js → schema-6PL46VXZ.js} +3 -1
- package/dist/{schema-2Q7IJ22V.js → schema-6V5K3J2V.js} +4 -1
- package/dist/{schema-3XLO43SX.js → schema-A2XUZUCV.js} +3 -1
- package/dist/{schema-XKY2EQFH.js → schema-CNJ4Y6CT.js} +3 -1
- package/dist/{schema-BKHQ3ZUH.js → schema-DHMMGDTI.js} +3 -1
- package/dist/{schema-XHKSGMUH.js → schema-F2Q6MH7W.js} +3 -1
- package/dist/{schema-GGG2VOY7.js → schema-FC6J6KZC.js} +5 -1
- package/dist/{schema-ZE7WUNFS.js → schema-FGE5YK3S.js} +3 -1
- package/dist/{schema-WZLWHOMY.js → schema-FSYDLMGD.js} +1 -1
- package/dist/{schema-FYULDJFB.js → schema-G5KSSI5W.js} +1 -1
- package/dist/{schema-V3BPW4LA.js → schema-GXOG4MXL.js} +1 -1
- package/dist/{schema-76XRTBCJ.js → schema-HEB6ZDI5.js} +3 -1
- package/dist/{schema-HIDW4BA4.js → schema-I44IDRGD.js} +1 -1
- package/dist/{schema-BOGTPL7F.js → schema-IFTIMTS3.js} +1 -1
- package/dist/{schema-KIJA53MB.js → schema-IUY7VYHJ.js} +3 -1
- package/dist/{schema-C7NVOQNV.js → schema-J4HCSD5C.js} +5 -2
- package/dist/{schema-WIZ2TZAT.js → schema-JCU6LTYD.js} +1 -1
- package/dist/{schema-5KHDHTIX.js → schema-JJWORI7D.js} +3 -1
- package/dist/{schema-BUTNGYTT.js → schema-K4V4PYBO.js} +3 -1
- package/dist/{schema-LHMEXFLY.js → schema-LGLQBRC4.js} +3 -1
- package/dist/{schema-5753NOAL.js → schema-MD22QYZU.js} +1 -1
- package/dist/{schema-2M3LXR35.js → schema-MGETMQYC.js} +3 -1
- package/dist/{schema-FZKNIAIH.js → schema-MQB6CE5V.js} +3 -1
- package/dist/{schema-U26KG42U.js → schema-NMIYKGHE.js} +3 -1
- package/dist/{schema-MT6NA5AL.js → schema-NOBNFD2F.js} +3 -1
- package/dist/{schema-3OLBUVMZ.js → schema-OXO2XY4Y.js} +1 -1
- package/dist/{schema-G2PLJCYL.js → schema-PHIHMDVB.js} +1 -1
- package/dist/{schema-UHHFTVGS.js → schema-UXWKA3PI.js} +3 -1
- package/dist/{schema-J53LCIY3.js → schema-WBOPCTPC.js} +1 -1
- package/dist/{schema-TA3MSAPQ.js → schema-WFGDVBJK.js} +1 -1
- package/dist/{schema-MUTAVQMI.js → schema-WX2RS4OU.js} +3 -1
- package/dist/{schema-XATDKZPW.js → schema-XIHAKX3B.js} +18 -1
- package/dist/{schema-LEQNLBNG.js → schema-XRSORYBI.js} +3 -1
- package/dist/{schema-FNTAAXQ3.js → schema-YDZCGL56.js} +3 -1
- package/dist/{specValidation-X5XJBPTP.js → specValidation-XGELWQUU.js} +2 -1
- package/dist/theme.js +5 -1
- package/dist/types/core/charts/bartable/types.d.ts +14 -1
- package/dist/types/core/charts/box/types.d.ts +5 -1
- package/dist/types/core/charts/choropleth/layout.d.ts +1 -5
- package/dist/types/core/charts/choropleth/types.d.ts +19 -0
- package/dist/types/core/charts/cohort/types.d.ts +16 -3
- package/dist/types/core/charts/creative/types.d.ts +21 -0
- package/dist/types/core/charts/dimswitch/compile.d.ts +15 -2
- package/dist/types/core/charts/dimswitch/types.d.ts +24 -1
- package/dist/types/core/charts/gantt/calendar.d.ts +20 -0
- package/dist/types/core/charts/gantt/columns.d.ts +56 -0
- package/dist/types/core/charts/gantt/layout.d.ts +8 -2
- package/dist/types/core/charts/gantt/model.d.ts +296 -0
- package/dist/types/core/charts/grid/metricStack.d.ts +9 -0
- package/dist/types/core/charts/grid/metricStackSchema.d.ts +13 -0
- package/dist/types/core/charts/histogram/types.d.ts +8 -0
- package/dist/types/core/charts/likert/layout.d.ts +10 -8
- package/dist/types/core/charts/pvm/types.d.ts +9 -1
- package/dist/types/core/charts/pyramid/types.d.ts +3 -1
- package/dist/types/core/charts/sankey/types.d.ts +5 -1
- package/dist/types/core/charts/status/layout.d.ts +3 -0
- package/dist/types/core/charts/table/resolve.d.ts +14 -0
- package/dist/types/core/footer.d.ts +2 -0
- package/dist/types/core/format.d.ts +4 -0
- package/dist/types/core/formatSpec.d.ts +10 -0
- package/dist/types/core/frame.d.ts +1 -1
- package/dist/types/core/geo/types.d.ts +2 -0
- package/dist/types/core/geometry.d.ts +1 -1
- package/dist/types/core/label/categoryRow.d.ts +1 -1
- package/dist/types/core/normalize/shared.d.ts +2 -0
- package/dist/types/core/registry.d.ts +4 -5
- package/dist/types/core/request.d.ts +6 -0
- package/dist/types/core/schema/capability.d.ts +20 -7
- package/dist/types/core/schema/generatedColumns.d.ts +168 -0
- package/dist/types/core/text.d.ts +16 -0
- package/dist/types/core/themeGeometry.d.ts +9 -0
- package/dist/types/core/timeAxis.d.ts +6 -1
- package/dist/types/core/types/diagram.d.ts +7 -0
- package/dist/types/core/types/options.d.ts +83 -12
- package/dist/types/core/types/table.d.ts +23 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/types/react/barrelCharts.d.ts +16 -5
- package/dist/types/react/charts/butterfly.d.ts +2 -2
- package/dist/types/react/charts/dot.d.ts +7 -1
- package/dist/types/react/charts/pareto.d.ts +4 -1
- package/dist/types/react/charts/variance.d.ts +3 -1
- package/dist/types/react/hover/labelCard.d.ts +18 -3
- package/dist/types/react/prepare.d.ts +7 -1
- package/dist/types/theme.d.ts +2 -0
- package/dist/validate.js +16 -5
- package/docs/manual.md +31 -3
- package/docs/reference/bar.md +3 -0
- package/docs/reference/bartable.md +16 -1
- package/docs/reference/box.md +8 -1
- package/docs/reference/bullet.md +12 -1
- package/docs/reference/butterfly.md +7 -1
- package/docs/reference/choropleth.md +15 -2
- package/docs/reference/cohort.md +25 -5
- package/docs/reference/column.md +1 -0
- package/docs/reference/combo.md +1 -0
- package/docs/reference/creative.md +13 -0
- package/docs/reference/diagram.md +5 -0
- package/docs/reference/dimswitch.md +50 -32
- package/docs/reference/dot.md +7 -2
- package/docs/reference/fixtures.md +57 -0
- package/docs/reference/funnel.md +5 -0
- package/docs/reference/gantt.md +10 -2
- package/docs/reference/grid.md +9 -2
- package/docs/reference/heatmap.md +6 -0
- package/docs/reference/histogram.md +2 -2
- package/docs/reference/kpi.md +5 -1
- package/docs/reference/likert.md +8 -0
- package/docs/reference/line.md +1 -1
- package/docs/reference/options.md +4 -3
- package/docs/reference/pareto.md +1 -1
- package/docs/reference/pvm.md +7 -1
- package/docs/reference/pyramid.md +6 -0
- package/docs/reference/react.md +1 -2
- package/docs/reference/sankey.md +6 -2
- package/docs/reference/slope.md +6 -0
- package/docs/reference/sparkline.md +1 -1
- package/docs/reference/status.md +7 -1
- package/docs/reference/table.md +16 -4
- package/docs/reference/tilemap.md +2 -2
- package/docs/reference/treemap.md +1 -1
- package/docs/reference/waffle.md +1 -1
- package/docs/reference/waterfall.md +4 -1
- package/package.json +1 -1
- package/dist/chunk-FI5EXISD.js +0 -27
- package/dist/chunk-O36WX56O.js +0 -13
- package/dist/chunk-YGTNVZJE.js +0 -89
- package/dist/chunk-ZGHBDMYF.js +0 -24
- package/dist/chunk-ZLYQWUNR.js +0 -1794
- package/dist/core-SKRADU7T.js +0 -41
|
@@ -9,24 +9,21 @@ import {
|
|
|
9
9
|
logTickTiers,
|
|
10
10
|
olsFit,
|
|
11
11
|
olsMoments
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JMOBA5ES.js";
|
|
13
13
|
import {
|
|
14
14
|
numericViewportRange
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VY2NPB2Q.js";
|
|
16
16
|
import {
|
|
17
17
|
runAnnotatePass
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UCIAHSJK.js";
|
|
19
19
|
import {
|
|
20
20
|
breakUnsupported,
|
|
21
21
|
chartPalette,
|
|
22
22
|
chartTheme
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IW3YUMPI.js";
|
|
24
24
|
import {
|
|
25
25
|
structureCount
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import {
|
|
28
|
-
emptyIdRecord
|
|
29
|
-
} from "./chunk-LINZPU5D.js";
|
|
26
|
+
} from "./chunk-XCROSJ2Z.js";
|
|
30
27
|
import {
|
|
31
28
|
HARD_COMPACT_PLOT,
|
|
32
29
|
applyAxisBounds,
|
|
@@ -38,7 +35,7 @@ import {
|
|
|
38
35
|
measureValueAxisWidth,
|
|
39
36
|
niceDomain,
|
|
40
37
|
plotFloorRows
|
|
41
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AFGQXMKT.js";
|
|
42
39
|
import {
|
|
43
40
|
PRIORITY,
|
|
44
41
|
authoredNotes,
|
|
@@ -63,14 +60,17 @@ import {
|
|
|
63
60
|
seatLeader,
|
|
64
61
|
solveFrame,
|
|
65
62
|
solveLabels
|
|
66
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
67
64
|
import {
|
|
68
65
|
disclosureNote,
|
|
69
66
|
disclosuresShown,
|
|
70
67
|
staticFrame,
|
|
71
68
|
storyFrameFit,
|
|
72
69
|
withEngineNotes
|
|
73
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-WZB6R2ZX.js";
|
|
71
|
+
import {
|
|
72
|
+
emptyIdRecord
|
|
73
|
+
} from "./chunk-LINZPU5D.js";
|
|
74
74
|
import {
|
|
75
75
|
MAGNITUDE_DIVISOR,
|
|
76
76
|
exampleSpec,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
roundedNumber,
|
|
81
81
|
seriesRasterFormatter,
|
|
82
82
|
trendRateFormatter
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-D3PQAVFW.js";
|
|
84
84
|
import {
|
|
85
85
|
autoDecimals,
|
|
86
86
|
chartStrings,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
roundHalfUp,
|
|
90
90
|
seriesValueFormatter,
|
|
91
91
|
withSmallValues
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-MSYTF3DZ.js";
|
|
93
93
|
import {
|
|
94
94
|
cellMeta,
|
|
95
95
|
cellValue,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
seriesPaint,
|
|
109
109
|
spaceTokens,
|
|
110
110
|
strokeToken
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-JARJP576.js";
|
|
112
112
|
import {
|
|
113
113
|
PALETTE_NORMAL_FLOOR
|
|
114
114
|
} from "./chunk-DRHQG44U.js";
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
normalizeScenario,
|
|
126
126
|
resolveHighlight,
|
|
127
127
|
resolveSize
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-FX5VZK5F.js";
|
|
129
129
|
import {
|
|
130
130
|
maxOf,
|
|
131
131
|
minOf,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
import {
|
|
135
135
|
defaultMeasurer,
|
|
136
136
|
wrapText
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-UIHGGWES.js";
|
|
138
138
|
|
|
139
139
|
// src/core/strings/scatter.ts
|
|
140
140
|
var EN = {
|
|
@@ -1566,9 +1566,29 @@ function inView(options, dx, dy, p) {
|
|
|
1566
1566
|
}
|
|
1567
1567
|
|
|
1568
1568
|
// src/core/charts/scatter/nameReading.ts
|
|
1569
|
-
function nameReadsAsOwn(rect, leader, own, marks, texts = [], fontSize) {
|
|
1570
|
-
|
|
1571
|
-
|
|
1569
|
+
function nameReadsAsOwn(rect, leader, own, marks, texts = [], fontSize, nearer = !0) {
|
|
1570
|
+
let clump = clumpFor(own, marks);
|
|
1571
|
+
if (leader !== void 0) return !leaderCrosses(leader, own, clump.apart, texts);
|
|
1572
|
+
let margin = fontSize === void 0 || !nearer ? 0 : NEARER_SHARE * fontSize, ink = inkBox(rect, fontSize);
|
|
1573
|
+
return nearestIsOwn(ink, own, widened(clump, own, margin));
|
|
1574
|
+
}
|
|
1575
|
+
function middleNearerOther(rect, own, marks, fontSize) {
|
|
1576
|
+
let ink = inkBox(rect, fontSize);
|
|
1577
|
+
return !nearestIsOwn({ x: ink.x + ink.w / 2, y: ink.y + ink.h / 2, w: 0, h: 0 }, own, clumpFor(own, marks).apart);
|
|
1578
|
+
}
|
|
1579
|
+
var clumpMemo = /* @__PURE__ */ new WeakMap();
|
|
1580
|
+
function clumpFor(own, marks) {
|
|
1581
|
+
let byOwn = clumpMemo.get(marks);
|
|
1582
|
+
byOwn || clumpMemo.set(marks, byOwn = /* @__PURE__ */ new WeakMap());
|
|
1583
|
+
let clump = byOwn.get(own);
|
|
1584
|
+
return clump || (clump = { apart: marks.filter((m) => m.id === own.id || Math.hypot(m.cx - own.cx, m.cy - own.cy) >= Math.min(own.r, m.r)), widened: /* @__PURE__ */ new Map() }, byOwn.set(own, clump)), clump;
|
|
1585
|
+
}
|
|
1586
|
+
function widened(clump, own, margin) {
|
|
1587
|
+
if (margin === 0) return clump.apart;
|
|
1588
|
+
let list = clump.widened.get(margin);
|
|
1589
|
+
return list || clump.widened.set(margin, list = clump.apart.map((m) => m.id === own.id ? m : { ...m, r: m.r + margin })), list;
|
|
1590
|
+
}
|
|
1591
|
+
var NEARER_SHARE = 0.25;
|
|
1572
1592
|
|
|
1573
1593
|
// src/core/charts/scatter/plot.ts
|
|
1574
1594
|
var DOT_R = 3.5, DOT_R_SPARSE = 4.5, DOT_R_WIDE = 5.5, WIDE_CARD = 720, DOT_DENSE_COUNT = 20, KEY_DOT_R = 5, MIN_R = 2, MAX_R_FRACTION = 0.065, MAX_R_FRACTION_NARROW = 0.055, SPARSE_BUBBLES = 8, SPARSE_R_FLOOR = 17, SPARSE_R_CAP = 0.08, SPARSE_R_CAP_NARROW_GRID = 0.06, NARROW_PLOT = 420, GRID_ROW_PAD = 10, Y_BAND_SHARE = 0.2;
|
|
@@ -2055,7 +2075,7 @@ function layoutScatterMarks(env, domain, area, paints, warnings) {
|
|
|
2055
2075
|
}
|
|
2056
2076
|
|
|
2057
2077
|
// src/core/charts/scatter/labels.ts
|
|
2058
|
-
var RING1_GAP = 4, NAME_GAP = 6, RULE_GAP = 4, RING2_GAP = 16, RING3_GAP = 30, RING4_GAP = 46, CAPTION_PAD = 6, DIVIDER_TAG_GAP = 4, PRIORITY_DIVIDER_TAG = PRIORITY.grandTotal + 60, PRIORITY_QUADRANT_CAPTION = PRIORITY.grandTotal;
|
|
2078
|
+
var RING1_GAP = 4, NAME_GAP = 6, RULE_GAP = 4, BETWEEN_TIER = 7, RING2_GAP = 16, RING3_GAP = 30, RING4_GAP = 46, CAPTION_PAD = 6, DIVIDER_TAG_GAP = 4, PRIORITY_DIVIDER_TAG = PRIORITY.grandTotal + 60, PRIORITY_QUADRANT_CAPTION = PRIORITY.grandTotal;
|
|
2059
2079
|
function dividerTagCandidates(tsize, rectAt, leaderTo) {
|
|
2060
2080
|
let stations = [
|
|
2061
2081
|
["End", 0],
|
|
@@ -2287,7 +2307,7 @@ function pointLabelRequests(env, domain, area, placed, rules, paints, requests,
|
|
|
2287
2307
|
y: domain.dy[0] < 0 && domain.dy[1] > 0 && !(q.drawY && q.derived?.y === 0) ? [area.y(0)] : []
|
|
2288
2308
|
}, dividerY = q.drawY && q.derived ? area.y(q.derived.y) : void 0, valueLineYs = rules.y.filter((ry) => !zeroRules.y.includes(ry) && ry !== dividerY), marks = placed.map(({ p, cx, cy, r }) => ({ id: p.id, cx, cy, r }));
|
|
2289
2309
|
for (let { p, cx, cy, r } of placed) {
|
|
2290
|
-
let extreme = p.x === domain.xMin || p.x === domain.xMax || p.y === domain.yMin || p.y === domain.yMax, sizeBonus = bubbleMode && sizeMax && sizeMax > 0 && p.size !== null ? Math.min(99, Math.round(99 * p.size / sizeMax)) : 0, hl = highlights.has(p.id) || p.group !== void 0 && highlights.has(p.group), priority = (extreme ? PRIORITY.extreme : PRIORITY.interior) + sizeBonus + (hl ? PRIORITY.highlightBonus : 0), value = field ? pointValueText(env, domain, p, field) : void 0,
|
|
2310
|
+
let extreme = p.x === domain.xMin || p.x === domain.xMax || p.y === domain.yMin || p.y === domain.yMax, sizeBonus = bubbleMode && sizeMax && sizeMax > 0 && p.size !== null ? Math.min(99, Math.round(99 * p.size / sizeMax)) : 0, hl = highlights.has(p.id) || p.group !== void 0 && highlights.has(p.group), priority = (extreme ? PRIORITY.extreme : PRIORITY.interior) + sizeBonus + (hl ? PRIORITY.highlightBonus : 0), value = field ? pointValueText(env, domain, p, field) : void 0, ringReach = hl && !bubbleMode ? r + HIGHLIGHT_RING_GAP + strokeToken(env.theme, "mark") : r, ownMark = { id: p.id, cx, cy, r: ringReach }, reach = placed.reduce((most, o) => o.p.id === p.id || o.r <= 0 || Math.hypot(o.cx - cx, o.cy - cy) >= Math.min(ringReach, o.r) ? most : Math.max(most, Math.hypot(o.cx - cx, o.cy - cy) + o.r), ringReach), pointPaint = paintMemo.get(p.id);
|
|
2291
2311
|
pointPaint || paintMemo.set(p.id, pointPaint = {});
|
|
2292
2312
|
let memo = pointPaint, insidePaint = () => memo.inside ??= paints.hollow(p) ? { token: "background" } : paints.point(p), insideFill = () => (memo.fillKnown || (memo.fill = paints.insideFill(p), memo.fillKnown = !0), memo.fill), nameFont = hl && (!bubbleMode || gridZones(options)) ? { ...area.fonts.label, weight: emphasisWeight(env.theme) } : area.fonts.label, boxSideWidth = (box) => {
|
|
2293
2313
|
let qx = q.drawX && q.derived ? area.x(q.derived.x) : void 0;
|
|
@@ -2304,10 +2324,10 @@ function pointLabelRequests(env, domain, area, placed, rules, paints, requests,
|
|
|
2304
2324
|
}, seats = (text, insideFill2, fine = !1, font = area.fonts.label, block, name = !1) => {
|
|
2305
2325
|
let key = `${String(p.id)}\0${text}\0${insideFill2}\0${fine}\0${font.size}/${font.weight}\0${block ? `${block.width}x${block.height}` : ""}\0${name}`, known = seatMemo.get(key);
|
|
2306
2326
|
if (known) return [...known];
|
|
2307
|
-
let built = buildSeats(text, insideFill2, fine, font, block).filter((c) => !name || nameReadsAsOwn(c.rect, c.leaderFrom ? seatLeader(c.rect, c.leaderFrom)?.d : void 0, ownMark, marks, [], font.size));
|
|
2308
|
-
return seatMemo.set(key,
|
|
2327
|
+
let built = buildSeats(text, insideFill2, fine, font, block).filter((c) => !name || nameReadsAsOwn(c.rect, c.leaderFrom ? seatLeader(c.rect, c.leaderFrom)?.d : void 0, ownMark, marks, [], font.size, bubbleMode)), between = (c) => name && bubbleMode && !c.leaderFrom && !/^(left|right)/.test(c.slot) && middleNearerOther(c.rect, ownMark, marks, font.size), ordered = name && bubbleMode ? [...built.filter((c) => !between(c)), ...built.filter(between).map((c) => ({ ...c, penalty: BETWEEN_TIER }))] : built;
|
|
2328
|
+
return seatMemo.set(key, ordered), [...ordered];
|
|
2309
2329
|
}, buildSeats = (text, insideFill2, fine, font, block) => {
|
|
2310
|
-
let plotSlid = (c) => c.slot.includes("Slide") ? { ...c, rect: { ...c.rect, x: Math.min(Math.max(c.rect.x, area.plot.x + RULE_GAP), area.plot.x + area.plot.w - RULE_GAP - c.rect.w) } } : c,
|
|
2330
|
+
let plotSlid = (c) => c.slot.includes("Slide") ? { ...c, rect: { ...c.rect, x: Math.min(Math.max(c.rect.x, area.plot.x + RULE_GAP), area.plot.x + area.plot.w - RULE_GAP - c.rect.w) } } : c, size = block ?? env.measure(text, font), onPoint = p.marker === "none" ? [{ slot: "onPoint", rect: { x: cx - size.width / 2, y: cy - size.height / 2, w: size.width, h: size.height }, penalty: 0 }] : [], spiral = spiralCandidates(cx, cy, reach, size, insideFill2, fine, bubbleMode), stacked = reach > ringReach ? spiral.flatMap((c) => c.slot === "above" || c.slot === "below" ? [{ ...c, slot: `${c.slot}Stacked`, rect: { ...c.rect, y: c.rect.y + (c.slot === "above" ? -1 : 1) * (size.height + NAME_GAP) } }] : []) : [], ring = spiral.findIndex((c) => c.leaderFrom !== void 0), seatsAround = stacked.length === 0 ? spiral : ring < 0 ? [...spiral, ...stacked] : [...spiral.slice(0, ring), ...stacked, ...spiral.slice(ring)], candidates = boxedSeats([...onPoint, ...seatsAround].map(plotSlid)).filter((candidate) => rectContains(area.inner, candidate.rect) && candidate.rect.y + candidate.rect.h <= area.plot.y + area.plot.h && candidate.rect.x >= area.plot.x).map((candidate) => ({ ...candidate, insidePaint: insidePaint() })), across = (rect) => rules.x.some((rx) => Math.abs(cx - rx) > r && (cx < rx ? rect.x + rect.w > rx : rect.x < rx)) || rules.y.some((ry) => Math.abs(cy - ry) > r && (cy < ry ? rect.y + rect.h > ry : rect.y < ry)), slid = (c) => {
|
|
2311
2331
|
let { rect } = c;
|
|
2312
2332
|
for (let rx of rules.x) {
|
|
2313
2333
|
if (Math.abs(cx - rx) <= r || rect.x >= rx + RULE_GAP || rect.x + rect.w <= rx - RULE_GAP) continue;
|
|
@@ -2325,8 +2345,8 @@ function pointLabelRequests(env, domain, area, placed, rules, paints, requests,
|
|
|
2325
2345
|
let box = q.derived.assignment[p.id], onRight = box === "tr" || box === "br", onTop = box === "tl" || box === "tr", qx = area.x(q.derived.x), qy = area.y(q.derived.y);
|
|
2326
2346
|
kept = kept.filter((c) => !(q.drawX && (onRight ? c.rect.x < qx : c.rect.x + c.rect.w > qx) || q.drawY && (onTop ? c.rect.y + c.rect.h > qy : c.rect.y < qy)));
|
|
2327
2347
|
}
|
|
2328
|
-
let ownLines = valueLineYs.filter((ry) => Math.abs(cy - ry) <= r), onZero = (rect) => zeroRules.x.some((rx) => rx > rect.x && rx < rect.x + rect.w) || [...zeroRules.y, ...ownLines].some((ry) => ry > rect.y && ry < rect.y + rect.h), over = kept.filter((c) => c.insideFill === void 0 && onZero(c.rect)).map((c) => ({ ...c, slot: `${c.slot}Over`, overRules: !0 })), all = [...kept, ...over], tier = (c) => c.overRules ? c.leaderFrom ? 5 : 2 : (c.leaderFrom ? 3 : 0) + (across(c.rect) ? 1 : 0);
|
|
2329
|
-
return [0, 1, 2, 3, 4, 5].flatMap((t) => all.filter((c) => tier(c) === t)).map((candidate) => ({ ...candidate, penalty: tier(candidate) }));
|
|
2348
|
+
let ownLines = valueLineYs.filter((ry) => Math.abs(cy - ry) <= r), onZero = (rect) => zeroRules.x.some((rx) => rx > rect.x && rx < rect.x + rect.w) || [...zeroRules.y, ...ownLines].some((ry) => ry > rect.y && ry < rect.y + rect.h), over = kept.filter((c) => c.insideFill === void 0 && onZero(c.rect)).map((c) => ({ ...c, slot: `${c.slot}Over`, overRules: !0 })), all = [...kept, ...over], shift = onPoint.length, tier = (c) => c.slot === "onPoint" ? 0 : shift + (c.overRules ? c.leaderFrom ? 5 : 2 : (c.leaderFrom ? 3 : 0) + (across(c.rect) ? 1 : 0));
|
|
2349
|
+
return [0, 1, 2, 3, 4, 5, 6].flatMap((t) => all.filter((c) => tier(c) === t)).map((candidate) => ({ ...candidate, penalty: tier(candidate) }));
|
|
2330
2350
|
}, named = pointLabelsOn && !!p.label, valueSize = value !== void 0 && bubbleMode && insideFill() !== void 0 ? env.measure(value, area.fonts.label) : void 0, inside = valueSize && valueSize.width <= 2 * r * 0.85 && valueSize.height <= 1.4 * r ? { x: cx - valueSize.width / 2, y: cy - valueSize.height / 2, w: valueSize.width, h: valueSize.height } : void 0, covered = (rect) => placed.some((o) => o.p.id !== p.id && o.r > 0 && Math.hypot(Math.max(rect.x - o.cx, 0, o.cx - rect.x - rect.w), Math.max(rect.y - o.cy, 0, o.cy - rect.y - rect.h)) < o.r), hiddenBehind = (offset, along, from, to) => {
|
|
2331
2351
|
let half = Math.sqrt(Math.max(0, r * r - offset * offset));
|
|
2332
2352
|
return bubbleMode && half > 0 && from >= along - half && to <= along + half;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CARD_CLASS_WIDTH,
|
|
3
3
|
heightOmitted
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AFGQXMKT.js";
|
|
5
5
|
import {
|
|
6
6
|
TEXT_ASCENT,
|
|
7
7
|
chartString,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
footnoteMark,
|
|
10
10
|
localeStrings,
|
|
11
11
|
round2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
13
13
|
import {
|
|
14
14
|
INTERACTIVE_LAYOUT,
|
|
15
15
|
allQuiet,
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
staticFrame,
|
|
27
27
|
unprintedNotes,
|
|
28
28
|
wrapFootnote
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WZB6R2ZX.js";
|
|
30
30
|
import {
|
|
31
31
|
emphasisWeight,
|
|
32
32
|
panelTypeClass,
|
|
33
33
|
spaceTokens
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JARJP576.js";
|
|
35
35
|
import {
|
|
36
36
|
publishDeferred
|
|
37
37
|
} from "./chunk-DRHQG44U.js";
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import {
|
|
2
|
+
chartTypeAliases,
|
|
3
|
+
schemaLoaders
|
|
4
|
+
} from "./chunk-W7Q6PLT4.js";
|
|
5
|
+
import {
|
|
6
|
+
registeredType
|
|
7
|
+
} from "./chunk-D5G67OER.js";
|
|
8
|
+
import {
|
|
9
|
+
caseInsensitiveValue,
|
|
10
|
+
getChart,
|
|
11
|
+
getChartSchemas,
|
|
12
|
+
registerChartSchemas
|
|
13
|
+
} from "./chunk-AFGQXMKT.js";
|
|
14
|
+
import {
|
|
15
|
+
registerChartCoreLoader
|
|
16
|
+
} from "./chunk-DRHQG44U.js";
|
|
17
|
+
|
|
18
|
+
// src/react/coreLoaders.ts
|
|
19
|
+
var coreLoaders = {
|
|
20
|
+
bar: () => import("./core-UNX4ZV4M.js").then((module) => module.barCore),
|
|
21
|
+
bartable: () => import("./core-VRVL6LIM.js").then((module) => module.bartableCore),
|
|
22
|
+
box: () => import("./core-AVA4XLQ2.js").then((module) => module.boxCore),
|
|
23
|
+
bullet: () => import("./core-SKMHEA4Y.js").then((module) => module.bulletCore),
|
|
24
|
+
butterfly: () => import("./core-VWYXK2R3.js").then((module) => module.butterflyCore),
|
|
25
|
+
choropleth: () => import("./core-WNT6ZMRO.js").then((module) => module.choroplethCore),
|
|
26
|
+
cohort: () => import("./core-7TTM4KRP.js").then((module) => module.cohortCore),
|
|
27
|
+
column: () => import("./core-MAW4S3KA.js").then((module) => module.columnCore),
|
|
28
|
+
combo: () => import("./core-D2OIGYC7.js").then((module) => module.comboCore),
|
|
29
|
+
creative: () => import("./core-BJZEJ63L.js").then((module) => module.creativeCore),
|
|
30
|
+
diagram: () => import("./core-A7HXVSKB.js").then((module) => module.diagramCore),
|
|
31
|
+
dimswitch: () => import("./core-XKXDXALI.js").then((module) => module.dimswitchCore),
|
|
32
|
+
dot: () => import("./core-4M4RY7MX.js").then((module) => module.dotCore),
|
|
33
|
+
funnel: () => import("./core-CCB3IXGD.js").then((module) => module.funnelCore),
|
|
34
|
+
gantt: () => import("./core-QFAVWFI3.js").then((module) => module.ganttCore),
|
|
35
|
+
grid: () => import("./core-WP73P4CW.js").then((module) => module.gridCore),
|
|
36
|
+
heatmap: () => import("./core-EMSJRGSE.js").then((module) => module.heatmapCore),
|
|
37
|
+
histogram: () => import("./core-ZACFV6XR.js").then((module) => module.histogramCore),
|
|
38
|
+
kpi: () => import("./core-OFPPRHYY.js").then((module) => module.kpiCore),
|
|
39
|
+
likert: () => import("./core-VT35VDVS.js").then((module) => module.likertCore),
|
|
40
|
+
line: () => import("./core-T3OSZOVV.js").then((module) => module.lineCore),
|
|
41
|
+
mekko: () => import("./core-WPEYRK6Y.js").then((module) => module.mekkoCore),
|
|
42
|
+
pareto: () => import("./core-AMWCZTOT.js").then((module) => module.paretoCore),
|
|
43
|
+
pie: () => import("./core-FCSA74RT.js").then((module) => module.pieCore),
|
|
44
|
+
pvm: () => import("./core-7XKNJM7Y.js").then((module) => module.pvmCore),
|
|
45
|
+
pyramid: () => import("./core-4PW4MXWR.js").then((module) => module.pyramidCore),
|
|
46
|
+
sankey: () => import("./core-5S5CJHBG.js").then((module) => module.sankeyCore),
|
|
47
|
+
scatter: () => import("./core-JDZDBTID.js").then((module) => module.scatterCore),
|
|
48
|
+
slope: () => import("./core-ZSERZGK6.js").then((module) => module.slopeCore),
|
|
49
|
+
sparkline: () => import("./core-FTQBESDS.js").then((module) => module.sparklineCore),
|
|
50
|
+
status: () => import("./core-QM34237W.js").then((module) => module.statusCore),
|
|
51
|
+
table: () => import("./core-WXZJ7V7S.js").then((module) => module.tableCore),
|
|
52
|
+
tilemap: () => import("./core-OBPTBKX6.js").then((module) => module.tilemapCore),
|
|
53
|
+
treemap: () => import("./core-DMDAXVMY.js").then((module) => module.treemapCore),
|
|
54
|
+
variance: () => import("./core-L3UR75IJ.js").then((module) => module.varianceCore),
|
|
55
|
+
waffle: () => import("./core-N2JEWJ7D.js").then((module) => module.waffleCore),
|
|
56
|
+
waterfall: () => import("./core-GS4DXDDG.js").then((module) => module.waterfallCore)
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
// src/react/loadChartTypes.ts
|
|
60
|
+
var aliasOwners = /* @__PURE__ */ new Map();
|
|
61
|
+
for (let [type, aliases] of Object.entries(chartTypeAliases))
|
|
62
|
+
for (let alias of aliases) aliasOwners.set(alias, type);
|
|
63
|
+
function knownChartType(name) {
|
|
64
|
+
return name = caseInsensitiveValue(name, [...Object.keys(coreLoaders), ...aliasOwners.keys()]) ?? name, Object.hasOwn(coreLoaders, name) ? name : aliasOwners.get(name);
|
|
65
|
+
}
|
|
66
|
+
async function loadChartTypes(names, parts) {
|
|
67
|
+
let types = [...new Set(names.map(knownChartType).filter((type) => type !== void 0))];
|
|
68
|
+
await Promise.all(types.flatMap((type) => [
|
|
69
|
+
parts.schemas && getChartSchemas(type) === void 0 ? schemaLoaders[type]().then((schemas) => {
|
|
70
|
+
registerChartSchemas(schemas, chartTypeAliases[type]);
|
|
71
|
+
}) : void 0,
|
|
72
|
+
parts.cores && getChart(type) === void 0 ? coreLoaders[type]().then((core) => {
|
|
73
|
+
registeredType(core);
|
|
74
|
+
}) : void 0
|
|
75
|
+
]));
|
|
76
|
+
}
|
|
77
|
+
registerChartCoreLoader({
|
|
78
|
+
knows: (type) => knownChartType(type) !== void 0,
|
|
79
|
+
load: (type) => loadChartTypes([type], { schemas: !1, cores: !0 })
|
|
80
|
+
});
|
|
81
|
+
function registeredTypeWithPanelCores(core) {
|
|
82
|
+
return registeredType(core);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export {
|
|
86
|
+
knownChartType,
|
|
87
|
+
loadChartTypes,
|
|
88
|
+
registeredTypeWithPanelCores
|
|
89
|
+
};
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
sharedKeys2,
|
|
5
5
|
sharedKeys5,
|
|
6
6
|
sharedKeys9
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7BQK2UDV.js";
|
|
8
8
|
import {
|
|
9
9
|
optionKeyCheck
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FF7MV4D4.js";
|
|
11
11
|
import {
|
|
12
12
|
createChartComponent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BDCKHLUB.js";
|
|
14
14
|
import {
|
|
15
15
|
lineCore
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-73O6AOAA.js";
|
|
17
17
|
import {
|
|
18
18
|
registeredType
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D5G67OER.js";
|
|
20
20
|
|
|
21
21
|
// src/react/charts/line.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, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, tickStep: 0, includeZero: 0, percent: 0, log: 0, reverse: 0, gridlines: 0 }, categoryAxis: { crossesBetween: 0, dateTicks: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, trend: { label: 0 }, window: { last: 0, decimate: 0, maxPoints: 0 }, viewDomain: { x: 0 }, xAxis: { type: 0, zone: 0, min: 0, max: 0, tickStep: { unit: 0, step: 0 }, ticks: { "[]": { value: 0, label: 0 } }, format: 0, title: 0, unit: 0, maxTicks: 0 }, anomaly: { method: 0, k: 0, baseline: 0, label: 0, low: 0, high: 0 }, events: sharedKeys1, axisTitles: { primary: 0 }, endLabelPlacement: 0, variant: 0, bump: { direction: 0, focus: 0 }, seriesLabels: { only: 0 }, valueLabels: 0, latestPoint: { series: 0, marker: 0 }, emphasis: 0, othersShade: 0, highlightMode: 0, scenarioStyle: { "*": { width: 0, ink: 0 } }, rebase100: { at: 0 }, ratioTier: sharedKeys2, interpolate: 0, phases: { "[]": { id: 0, label: 0, from: 0, to: 0, tone: 0, rank: 0 } }, gapFill: { between: 0, positiveTone: 0, negativeTone: 0 }, fan: { of: 0, bands: { "[]": { low: 0, high: 0, label: 0 } }, showBounds: 0 }, targets: { "[]": { at: 0, value: 0, label: 0, seriesId: 0 } }, methodNote: 0, referenceBands: { "[]": { id: 0, value: 0, low: 0, high: 0, label: 0, description: 0 } } }, labels: ["category", "series", "point", "restSeries", "percentIndicator", "axisTitle"] }), LineChart = createChartComponent(registeredType(lineCore), checkOptionKeys);
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sharedKeys10,
|
|
3
|
-
sharedKeys5
|
|
4
|
-
|
|
5
|
-
} from "./chunk-O36WX56O.js";
|
|
3
|
+
sharedKeys5
|
|
4
|
+
} from "./chunk-7BQK2UDV.js";
|
|
6
5
|
import {
|
|
7
6
|
optionKeyCheck
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FF7MV4D4.js";
|
|
9
8
|
import {
|
|
10
9
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BDCKHLUB.js";
|
|
12
11
|
import {
|
|
13
12
|
waffleCore
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FJKFYQ5I.js";
|
|
15
14
|
import {
|
|
16
15
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-D5G67OER.js";
|
|
18
17
|
|
|
19
18
|
// src/react/charts/waffle.ts
|
|
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, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, includeZero: 0, percent: 0, gridlines: 0 }, scaleGroup: { y: 0, id: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0,
|
|
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, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, includeZero: 0, percent: 0, gridlines: 0 }, scaleGroup: { y: 0, id: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, grid: { rows: 0, columns: 0 }, fillFrom: 0, headline: 0, heightFill: 0, cellNote: 0, variant: 0, reference: { categoryId: 0, value: 0, label: 0 }, arrows: 0, panelGroups: { "[]": { id: 0, panels: 0, label: 0, colorRole: 0 } }, subtotal: { series: 0, label: 0 } } }), WaffleChart = createChartComponent(registeredType(waffleCore), checkOptionKeys);
|
|
21
20
|
|
|
22
21
|
export {
|
|
23
22
|
WaffleChart
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
MINUS,
|
|
9
9
|
wordLanguage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MSYTF3DZ.js";
|
|
11
11
|
import {
|
|
12
12
|
NormalizeError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FX5VZK5F.js";
|
|
14
14
|
|
|
15
15
|
// src/core/timeAxis.ts
|
|
16
16
|
function timeAnnotationAnchors(raw) {
|
|
@@ -222,8 +222,12 @@ var UNIT_MS = { millisecond: 1, second: 1e3, minute: MINUTE, hour: HOUR };
|
|
|
222
222
|
function stepLength(step) {
|
|
223
223
|
return { millisecond: 1, second: 1e3, minute: MINUTE, hour: HOUR, day: DAY, week: 7 * DAY, month: 30.44 * DAY, year: 365.25 * DAY }[step.unit] * step.n;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
|
|
225
|
+
function timeStepOutrunsPlot(lo, hi, step, pixels) {
|
|
226
|
+
let subDay = UNIT_MS[step.unit];
|
|
227
|
+
return subDay !== void 0 && subDay * step.n > DAY && (hi - lo) / DAY > pixels;
|
|
228
|
+
}
|
|
229
|
+
function timeTicks(lo, hi, step, clock, weekStartsOn = 1, limit = 400, pixels = 1 / 0) {
|
|
230
|
+
if (!(hi >= lo) || (hi - lo) / stepLength(step) > limit || timeStepOutrunsPlot(lo, hi, step, pixels)) return;
|
|
227
231
|
let walls = [], wallLo = lo + clock.offsetAt(lo) - DAY, wallHi = hi + clock.offsetAt(hi) + DAY, subDay = UNIT_MS[step.unit];
|
|
228
232
|
if (subDay !== void 0) {
|
|
229
233
|
let size = subDay * step.n;
|
|
@@ -232,7 +236,7 @@ function timeTicks(lo, hi, step, clock, weekStartsOn = 1, limit = 400) {
|
|
|
232
236
|
for (let at = Math.ceil(lo / size) * size; at <= hi; at += size) ticks2.push(at);
|
|
233
237
|
return ticks2;
|
|
234
238
|
}
|
|
235
|
-
let offLo = clock.offsetAt(lo), offHi = clock.offsetAt(hi), from = lo + Math.min(offLo, offHi) -
|
|
239
|
+
let offLo = clock.offsetAt(lo), offHi = clock.offsetAt(hi), margin = Math.min(size, DAY), from = lo + Math.min(offLo, offHi) - margin, to = hi + Math.max(offLo, offHi) + margin;
|
|
236
240
|
for (let day = Math.floor(from / DAY) * DAY; day <= to; day += DAY) {
|
|
237
241
|
let end = Math.min(day + DAY, to + size);
|
|
238
242
|
for (let at = day + Math.max(0, Math.floor((from - day) / size) * size); at < end; at += size) walls.push(at);
|
|
@@ -246,7 +250,7 @@ function timeTicks(lo, hi, step, clock, weekStartsOn = 1, limit = 400) {
|
|
|
246
250
|
let months = step.unit === "year" ? 12 * step.n : step.n, start = new Date(wallLo), index = start.getUTCFullYear() * 12 + start.getUTCMonth();
|
|
247
251
|
for (index = Math.floor(index / months) * months; ; index += months) {
|
|
248
252
|
let date = /* @__PURE__ */ new Date(0);
|
|
249
|
-
if (date.setUTCFullYear(Math.floor(index / 12), index % 12, 1), date.getTime()
|
|
253
|
+
if (date.setUTCFullYear(Math.floor(index / 12), index % 12, 1), !(date.getTime() <= wallHi)) break;
|
|
250
254
|
walls.push(date.getTime());
|
|
251
255
|
}
|
|
252
256
|
}
|
|
@@ -379,6 +383,7 @@ export {
|
|
|
379
383
|
instantName,
|
|
380
384
|
timeReadingUnit,
|
|
381
385
|
authoredTimeStep,
|
|
386
|
+
timeStepOutrunsPlot,
|
|
382
387
|
timeTicks,
|
|
383
388
|
timeTickText,
|
|
384
389
|
timeContextRow,
|