boardplot 0.56.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 +110 -0
- package/README.md +3 -3
- package/dist/{ReaderBox-GLCKYXBU.js → ReaderBox-GCIITQCX.js} +4 -4
- package/dist/{annotateEngine-QVNAE3EH.js → annotateEngine-JMZI6QEG.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-CKGSGRP7.js → chunk-26WNBTWB.js} +20 -4
- package/dist/{chunk-UBCVBBJJ.js → chunk-2AJWRVZ2.js} +4 -3
- package/dist/{chunk-XMP2DNLI.js → chunk-2BHLRHF2.js} +2 -2
- package/dist/{chunk-2NRHD2G7.js → chunk-2HD5RY2U.js} +11 -3
- package/dist/{chunk-6QDMRPXI.js → chunk-2I76VFMZ.js} +184 -239
- package/dist/{chunk-XC5IRUEL.js → chunk-2KCK63DD.js} +2 -2
- package/dist/{chunk-ZEYBI47P.js → chunk-2WTD3GCR.js} +11 -3
- package/dist/{chunk-BTDGWHGJ.js → chunk-2X6XY4K4.js} +4 -4
- package/dist/{chunk-5S3JQ5AT.js → chunk-3DUGZ7ML.js} +149 -118
- package/dist/{chunk-JTFKRDDA.js → chunk-3LNVEE5Z.js} +1 -1
- package/dist/{chunk-JCAGVAB3.js → chunk-43PCSBVQ.js} +563 -10
- package/dist/{chunk-F2EVCJ4U.js → chunk-4JNHF6JW.js} +10 -10
- package/dist/{chunk-ECBUFKCP.js → chunk-4RN4OM6I.js} +3 -3
- package/dist/{chunk-A2GAWGVJ.js → chunk-4U2WSW6F.js} +20 -20
- package/dist/{chunk-CCDXK5NA.js → chunk-53OEKS4L.js} +5 -3
- package/dist/{chunk-YPYD6OJ3.js → chunk-54HEIM2A.js} +2 -2
- package/dist/{chunk-IGJ2G5C6.js → chunk-5H4HFRDO.js} +6 -6
- package/dist/{chunk-EMFUZKYK.js → chunk-5HTGSB6Y.js} +3 -3
- package/dist/{chunk-WXJ5MHLH.js → chunk-5JTRCSBN.js} +1 -1
- package/dist/{chunk-67QSW5RW.js → chunk-5P4MXWKP.js} +3 -3
- package/dist/{chunk-EBB4PYBN.js → chunk-5RHP7YTL.js} +5 -5
- package/dist/{chunk-VVXKFU72.js → chunk-5TUDYKNL.js} +35 -27
- package/dist/{chunk-HZUAEMN5.js → chunk-5WSIH4SR.js} +1 -1
- package/dist/{chunk-KF7HD3EH.js → chunk-62JZL6FW.js} +43 -35
- package/dist/{chunk-S7NRL66K.js → chunk-6EE6XEMA.js} +4 -4
- package/dist/chunk-6JXBLQJ2.js +32 -0
- package/dist/{chunk-KBJMLXNW.js → chunk-6KHRMK3I.js} +14 -14
- package/dist/{chunk-2DOEZ5QY.js → chunk-6LQKU6YN.js} +4 -4
- package/dist/chunk-6VU2XI3W.js +89 -0
- package/dist/{chunk-DQ7YMQVX.js → chunk-6WJOHZPW.js} +5 -5
- package/dist/{chunk-ZMPH2OC4.js → chunk-6XU5XGYV.js} +7 -8
- package/dist/{chunk-MAFPVR4G.js → chunk-6ZN2XJFI.js} +10 -5
- package/dist/{chunk-PQLAZEQV.js → chunk-72OJBDRB.js} +204 -59
- package/dist/{chunk-T2YDWT54.js → chunk-73O6AOAA.js} +43 -30
- package/dist/{chunk-4JHMCXOB.js → chunk-76UL4CT4.js} +60 -24
- package/dist/chunk-7BQK2UDV.js +13 -0
- package/dist/{chunk-7PPMT5EJ.js → chunk-7EQU2TUN.js} +300 -64
- package/dist/{chunk-2HTYGMMG.js → chunk-7FAO4ICF.js} +2 -2
- package/dist/{chunk-6WHWXCHJ.js → chunk-7MYJUJZV.js} +6 -2
- package/dist/{chunk-CB4CERXZ.js → chunk-7P7D6WXR.js} +11 -2
- package/dist/{chunk-RT66UTLJ.js → chunk-A33MFWHW.js} +2 -2
- package/dist/{chunk-4JC3SE4G.js → chunk-A6XCVOC5.js} +1 -1
- package/dist/{chunk-QWCLWFKC.js → chunk-AFA32LHN.js} +132 -36
- package/dist/{chunk-T2CYNDYU.js → chunk-AFGQXMKT.js} +235 -80
- package/dist/{chunk-HOU2MZHC.js → chunk-AKJO6N4K.js} +2 -2
- package/dist/{chunk-MRAP2UVV.js → chunk-ANNQJWDX.js} +10 -10
- package/dist/{chunk-LGNJCPFP.js → chunk-AOIZJ7GR.js} +7 -7
- package/dist/chunk-B5A7X2BA.js +44 -0
- package/dist/{chunk-SS4YGK3E.js → chunk-BDCKHLUB.js} +15 -15
- package/dist/{chunk-XHRUXZD7.js → chunk-BFDPY7JM.js} +10 -3
- package/dist/{chunk-BK6P6KMW.js → chunk-BM2A3IGQ.js} +1 -1
- package/dist/{chunk-GQT2SY2S.js → chunk-BO5EJBLH.js} +247 -127
- package/dist/chunk-BQIADGJB.js +23 -0
- package/dist/{chunk-PJBEJR2U.js → chunk-BY5JGQFZ.js} +24 -7
- package/dist/{chunk-SXD3OYAR.js → chunk-C5SQEYTQ.js} +76 -55
- package/dist/{chunk-3465633G.js → chunk-CEMXGMQN.js} +2 -2
- package/dist/{chunk-AMR4SUAN.js → chunk-CIDOL4FO.js} +5 -5
- package/dist/{chunk-E7V3OHQQ.js → chunk-CT4RFZO4.js} +6 -6
- package/dist/{chunk-7Q37C6GZ.js → chunk-CV3NC75L.js} +1 -1
- package/dist/{chunk-FFJGC2DX.js → chunk-D3PQAVFW.js} +22 -12
- package/dist/{chunk-52WNCUIN.js → chunk-D5G67OER.js} +1 -1
- package/dist/{chunk-MOS6WFWM.js → chunk-D5RAVZ5C.js} +6 -7
- package/dist/{chunk-FNRPQIQE.js → chunk-DJBMA4FW.js} +4 -4
- package/dist/{chunk-4DZFR52I.js → chunk-DPUCT567.js} +2 -2
- package/dist/{chunk-TE4M52AA.js → chunk-DYSEZVIJ.js} +18 -2
- package/dist/{chunk-SA46CNMS.js → chunk-ED7GLWTF.js} +4 -1
- package/dist/{chunk-R5MEBBAA.js → chunk-EDBUVDRI.js} +117 -67
- package/dist/{chunk-TUW5IYGA.js → chunk-EEBMK6T6.js} +6 -6
- package/dist/{chunk-RLMC5CUP.js → chunk-EEL2N4Y6.js} +7 -8
- package/dist/{chunk-CF4NMRN7.js → chunk-EFKFZNQC.js} +24 -18
- package/dist/{chunk-UPTXFTKH.js → chunk-EHNGPUTO.js} +6 -6
- package/dist/{chunk-BISJK67O.js → chunk-EHQLLZCQ.js} +48 -21
- package/dist/{chunk-U3A6FMSI.js → chunk-EWR6WVOV.js} +6 -6
- package/dist/{chunk-RMC4OONA.js → chunk-EY4OA4OF.js} +985 -663
- package/dist/{chunk-YYJORENB.js → chunk-F4JAGDPD.js} +5 -5
- package/dist/{chunk-ZY72LSQK.js → chunk-FAFUMSPR.js} +33 -24
- package/dist/{chunk-CYKXROFG.js → chunk-FERP4WS3.js} +19 -9
- package/dist/{chunk-N5HN5QGH.js → chunk-FF7MV4D4.js} +1 -1
- package/dist/{chunk-O7REHICC.js → chunk-FJKFYQ5I.js} +10 -10
- package/dist/chunk-FL3FQ2YA.js +27 -0
- package/dist/{chunk-YOOHNQ3L.js → chunk-FX5VZK5F.js} +4 -0
- package/dist/{chunk-7M2GK7XQ.js → chunk-G5BUGYIL.js} +68 -16
- package/dist/{chunk-QZIHKQRH.js → chunk-G5CELEUR.js} +6 -6
- package/dist/{chunk-ZJFJ2IKQ.js → chunk-GADI2DU7.js} +11 -10
- package/dist/{chunk-F6OLHND5.js → chunk-GAFEN3H7.js} +2 -2
- package/dist/{chunk-GM3EGUYW.js → chunk-GHFTKVJN.js} +1 -1
- package/dist/chunk-GKDUIDU6.js +138 -0
- package/dist/{chunk-OJ5CQV7H.js → chunk-GKQLKUMF.js} +186 -82
- package/dist/{chunk-EGGDPDYJ.js → chunk-GS5UG6QD.js} +1 -1
- package/dist/{chunk-5TWY3ZIC.js → chunk-H2POQ4LB.js} +5 -5
- package/dist/{chunk-KD5GOR2K.js → chunk-H3EWFSWI.js} +93 -52
- package/dist/{chunk-CHAS5A5B.js → chunk-H6EJ63QN.js} +18 -16
- package/dist/{chunk-GIHH6VC2.js → chunk-HB3TH7GY.js} +3 -3
- package/dist/{chunk-FMDNJ6PC.js → chunk-HC6WHTBX.js} +2 -2
- package/dist/{chunk-63Y3ROZ7.js → chunk-HDSHS2QZ.js} +45 -30
- package/dist/{chunk-KTHFHD6C.js → chunk-HFFKN7PA.js} +11 -6
- package/dist/{chunk-QSMGZOT5.js → chunk-HGPFEG2L.js} +7 -8
- package/dist/{chunk-2YO4WRJN.js → chunk-HVX2E26J.js} +35 -25
- package/dist/{chunk-KLB2QC24.js → chunk-I3DLERI7.js} +1 -1
- package/dist/{chunk-SPSGUFTI.js → chunk-I4NUYVP5.js} +1 -1
- package/dist/{chunk-LKMFMNQX.js → chunk-I5ZADE2U.js} +1 -1
- package/dist/{chunk-CPGASWNN.js → chunk-I65OLJ2X.js} +1 -1
- package/dist/{chunk-SRAV6FPB.js → chunk-I6QGYRY4.js} +3 -3
- package/dist/{chunk-NCLRZQR6.js → chunk-I7KDPCC7.js} +3 -3
- package/dist/{chunk-6EYTD777.js → chunk-IFURKTOL.js} +2 -2
- package/dist/{chunk-Y54LU4CU.js → chunk-IPWUBZ4P.js} +1 -1
- package/dist/{chunk-BIGQKCU7.js → chunk-IRXTNSZL.js} +9 -9
- package/dist/{chunk-2FKEF2AC.js → chunk-IUVJVMKS.js} +11 -11
- package/dist/{chunk-ZKJ5L35C.js → chunk-IVQT2E3Y.js} +28 -17
- package/dist/{chunk-7DAH2E4T.js → chunk-IW3YUMPI.js} +2 -2
- package/dist/chunk-IXM6BAM4.js +53 -0
- package/dist/{chunk-YMTXTQCN.js → chunk-IZRTNCJQ.js} +5 -5
- package/dist/{chunk-QGFKSDQO.js → chunk-J22ETKDJ.js} +2 -2
- package/dist/{chunk-HJRNBKIT.js → chunk-JARJP576.js} +3 -3
- package/dist/{chunk-DD6RVD3S.js → chunk-JHWDTV4K.js} +5 -1
- package/dist/{chunk-P4SMC4BY.js → chunk-JIH52I36.js} +79 -79
- package/dist/{chunk-KQCKK3LD.js → chunk-JKXJWCJ5.js} +69 -34
- package/dist/{chunk-WI5VOSQX.js → chunk-JMOBA5ES.js} +2 -2
- package/dist/{chunk-AGDDH6XY.js → chunk-JMXNXLAC.js} +5 -1
- package/dist/{chunk-R2IKOLBK.js → chunk-JRRSKCGG.js} +3 -3
- package/dist/{chunk-IVRYF7QA.js → chunk-JSA3ESEJ.js} +1 -1
- package/dist/{chunk-WBETBGSC.js → chunk-K6Y4HBK7.js} +31 -31
- package/dist/{chunk-Z55DXFWS.js → chunk-KAAB2DIV.js} +23 -13
- package/dist/{chunk-UZLR25BW.js → chunk-KF3ZHLHQ.js} +7 -8
- package/dist/{chunk-GELSK76Y.js → chunk-KGS5Z7SL.js} +3 -3
- package/dist/{chunk-E2ZUBP4Q.js → chunk-KIXNHDXS.js} +7 -8
- package/dist/{chunk-7VMEM3LN.js → chunk-KJLH5EHD.js} +26 -26
- package/dist/{chunk-KLIZXSBK.js → chunk-KLQKHA3T.js} +6 -6
- package/dist/chunk-KQ2WZ6BY.js +11 -0
- package/dist/{chunk-DF3XEFQ7.js → chunk-KUMJI5B6.js} +10 -10
- package/dist/{chunk-SE7MJ2LQ.js → chunk-L2XRUG4P.js} +7 -8
- package/dist/{chunk-JYBT2JNY.js → chunk-LE3LSEUL.js} +27 -2
- package/dist/{chunk-75WIUG2W.js → chunk-LFX5BERN.js} +140 -60
- package/dist/{chunk-MJPXHCBW.js → chunk-LGMV7ZV4.js} +4 -4
- package/dist/{chunk-3V62N3Z7.js → chunk-LO3AGGE3.js} +7 -8
- package/dist/{chunk-7KSUMFBK.js → chunk-LSKCKGCF.js} +5 -1
- package/dist/{chunk-NHC2ADGI.js → chunk-LSR3SBJ4.js} +45 -34
- package/dist/{chunk-V634AXDM.js → chunk-LUZ7HXBT.js} +1 -1
- package/dist/{chunk-5PPQIF4D.js → chunk-LW4ZQGVL.js} +2 -2
- package/dist/{chunk-H3IBJQ5A.js → chunk-M2OQK2FO.js} +1 -1
- package/dist/{chunk-4LTN7SND.js → chunk-M74H7QYD.js} +1 -1
- package/dist/{chunk-TXBO2LWM.js → chunk-MOQFYJ3F.js} +6 -6
- package/dist/{chunk-VPL3JYC6.js → chunk-MQ5EKWIG.js} +51 -9
- package/dist/{chunk-X3KCQEYZ.js → chunk-MTCDGSYW.js} +9 -1
- package/dist/{chunk-FCECYJVA.js → chunk-NCCDEUHD.js} +1 -1
- package/dist/{chunk-IGVAWAOK.js → chunk-NIDH22DI.js} +31 -7
- package/dist/{chunk-5DTCOOLU.js → chunk-NINK4G7U.js} +2 -2
- package/dist/{chunk-HHXIVFAU.js → chunk-NO7GRVUU.js} +10 -8
- package/dist/{chunk-X23SZHV5.js → chunk-NRYERHEI.js} +6 -6
- package/dist/{chunk-V5JQQMFQ.js → chunk-O4D27FKH.js} +1 -1
- package/dist/{chunk-I7H5DU34.js → chunk-O7Y6RJ4D.js} +21 -9
- package/dist/{chunk-2NN676RI.js → chunk-OAT6FWKL.js} +7 -8
- package/dist/{chunk-JHWYG7V5.js → chunk-OF7FMGH5.js} +6 -6
- package/dist/{chunk-GLQ3KCTY.js → chunk-OKM5LYYP.js} +7 -8
- package/dist/{chunk-JCIXYOND.js → chunk-OTGNVAI4.js} +2 -2
- package/dist/{chunk-EIL3KHAL.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-K3VZ5QJK.js → chunk-Q7VPTN5X.js} +4 -4
- package/dist/{chunk-ZVM5TFGR.js → chunk-QFIRPOXR.js} +6 -2
- package/dist/{chunk-YHD2FZFP.js → chunk-QHPJ5ZKS.js} +6 -6
- package/dist/{chunk-QLANK3VN.js → chunk-QLWUFEKR.js} +6 -6
- package/dist/{chunk-64LJDGJH.js → chunk-QNLESRH6.js} +3 -1
- package/dist/{chunk-RJGCYGC3.js → chunk-QRZESG66.js} +38 -27
- package/dist/{chunk-76Q7E3TM.js → chunk-QYOZ46ZQ.js} +70 -23
- package/dist/{chunk-E555EDOQ.js → chunk-QZMLSK43.js} +221 -62
- package/dist/{chunk-NGA7ICG4.js → chunk-RDJ3ZU6O.js} +16 -13
- package/dist/{chunk-6MJUW5R5.js → chunk-RHBQ2Q5H.js} +95 -44
- package/dist/{chunk-ZYQYX66L.js → chunk-RHVP62HI.js} +6 -6
- package/dist/{chunk-F5BYLT3M.js → chunk-RMVCKO6N.js} +13 -11
- package/dist/chunk-RRPTQGRU.js +47 -0
- package/dist/{chunk-IRXVV65V.js → chunk-S2TSXUYP.js} +6 -6
- package/dist/{chunk-OG2YUVBW.js → chunk-SD6ENKTO.js} +7 -2
- package/dist/{chunk-6AMN7IKJ.js → chunk-SHAAMKN7.js} +43 -22
- package/dist/{chunk-DLUNQHFO.js → chunk-SHCW2TCA.js} +9 -9
- package/dist/{chunk-54ROMBU7.js → chunk-SSZB3VXG.js} +17 -17
- package/dist/chunk-SXAZDIGM.js +84 -0
- package/dist/{chunk-QHRE2M6V.js → chunk-T2L5H2WW.js} +4 -3
- package/dist/{chunk-RPIKNMZA.js → chunk-T3WCDDIL.js} +7 -2
- package/dist/{chunk-JIEVDGAF.js → chunk-T5MBORBK.js} +1 -1
- package/dist/{chunk-32LLDRPI.js → chunk-TDDSWNGD.js} +23 -15
- package/dist/{chunk-7VVHTOE7.js → chunk-TGR6PRKG.js} +2 -2
- package/dist/{chunk-QJWLNP64.js → chunk-TKERVBJ3.js} +7 -8
- package/dist/{chunk-43GGVT7W.js → chunk-TMXRTYGT.js} +10 -4
- package/dist/{chunk-BIVL764T.js → chunk-TQ5HHNM3.js} +2 -2
- package/dist/{chunk-WN3HEU3P.js → chunk-TWRFVW3J.js} +4 -2
- package/dist/{chunk-7FKY6YWU.js → chunk-TXMS7QUJ.js} +3 -3
- package/dist/{chunk-O6ZTIDWB.js → chunk-UBXIGE2P.js} +3 -2
- package/dist/{chunk-JTC5SEAQ.js → chunk-UCIAHSJK.js} +2 -2
- package/dist/{chunk-BVYIKLQ5.js → chunk-UD6U4EF5.js} +1 -1
- package/dist/{chunk-DMAMWUYY.js → chunk-UFZXZJJG.js} +5 -5
- package/dist/{chunk-SNQ7D5R7.js → chunk-UIHGGWES.js} +51 -11
- package/dist/{chunk-27OIGDRK.js → chunk-UP4JSNDR.js} +1 -1
- package/dist/{chunk-JEUL777U.js → chunk-USFIDSTO.js} +7 -5
- 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-WWGPTEQB.js → chunk-VFLMBA2M.js} +66 -16
- package/dist/{chunk-5P2TTHBZ.js → chunk-VM5CQ7CG.js} +2 -2
- package/dist/{chunk-UREXN6WG.js → chunk-VMGTNB6H.js} +6 -6
- package/dist/{chunk-2NSQIPAA.js → chunk-VT7PBGL2.js} +6 -6
- package/dist/{chunk-CXETOLPX.js → chunk-VY2NPB2Q.js} +1 -1
- package/dist/{chunk-F77TMAUY.js → chunk-VY67Q6CJ.js} +18 -18
- package/dist/{chunk-7STMIK2X.js → chunk-W5SVS4B6.js} +2 -2
- package/dist/{chunk-MD6DCQMA.js → chunk-W7Q6PLT4.js} +37 -37
- package/dist/{chunk-JVZTKQFS.js → chunk-WDAZ2MT4.js} +8 -4
- package/dist/{chunk-MZACASZY.js → chunk-WE5WVQE4.js} +13 -1
- package/dist/chunk-WJQX7HBH.js +54 -0
- package/dist/{chunk-MS7O3KDJ.js → chunk-WKWCNS6K.js} +6 -6
- package/dist/{chunk-4KQHKPB3.js → chunk-WSKZZ2ZB.js} +11 -12
- package/dist/{chunk-SMHZXHHD.js → chunk-WZB6R2ZX.js} +6 -4
- package/dist/{chunk-37PKNVLS.js → chunk-X5OVVMZX.js} +1 -1
- package/dist/{chunk-MPO5TVGF.js → chunk-XFCBH3TI.js} +3 -3
- package/dist/{chunk-CAJ54IEP.js → chunk-XJUZC53Y.js} +1 -1
- package/dist/chunk-XN7JDII2.js +2047 -0
- package/dist/{chunk-4KMZAK6J.js → chunk-XNV7VOIT.js} +4 -4
- package/dist/{chunk-YK2KWNTU.js → chunk-XR7VOF2V.js} +9 -7
- package/dist/{chunk-WTQAG2OT.js → chunk-XYUXB5VK.js} +8 -3
- package/dist/{chunk-QB5HV4IY.js → chunk-Y5IKCXQR.js} +7 -8
- package/dist/{chunk-FNMH5WEY.js → chunk-Y5WHM2Q5.js} +1 -1
- package/dist/{chunk-IGNBQT23.js → chunk-Y7Q3VEYC.js} +96 -5
- package/dist/{chunk-L6YVK6VC.js → chunk-YB6QGOCO.js} +1 -1
- package/dist/{chunk-BYCJ6TKI.js → chunk-YBYV56FS.js} +3 -3
- package/dist/{chunk-DLDDRXAI.js → chunk-YCUNFAEE.js} +77 -37
- package/dist/{chunk-V7F4F6JA.js → chunk-YFI5PN5O.js} +5 -7
- package/dist/{chunk-ZL6IHMOW.js → chunk-YGPLUENN.js} +88 -58
- package/dist/chunk-YGZEG3JV.js +123 -0
- package/dist/{chunk-JGFHNAHS.js → chunk-YJGFT63R.js} +8 -3
- package/dist/{chunk-XQMYQ4TN.js → chunk-YNHPPZ7S.js} +1 -1
- package/dist/{chunk-EZZ533MH.js → chunk-YO5UKKCQ.js} +1 -1
- package/dist/{chunk-YZZLIYPA.js → chunk-YTEJYLU7.js} +5 -1
- package/dist/{chunk-CCJP6QZO.js → chunk-Z257SH5U.js} +1 -1
- package/dist/{chunk-ETMHDCEH.js → chunk-Z2BDTZDT.js} +13 -11
- package/dist/{chunk-MOK3ZS6P.js → chunk-ZDD3MJ2H.js} +1 -1
- package/dist/{chunk-6364WO5D.js → chunk-ZNX5J7D7.js} +2 -2
- package/dist/{chunk-UZTQUPTB.js → chunk-ZSYU6LIH.js} +4 -4
- package/dist/{chunk-JFFREZGT.js → chunk-ZTSJ7NY6.js} +6 -2
- package/dist/chunk-ZV3SNRJI.js +122 -0
- package/dist/cli/index.js +1 -1
- package/dist/{core-MU4ALRR7.js → core-4M4RY7MX.js} +4 -1
- package/dist/{core-XW7UJFJZ.js → core-4PW4MXWR.js} +4 -1
- package/dist/{core-LB5M7XL4.js → core-5S5CJHBG.js} +5 -1
- package/dist/{core-LGJZUP6H.js → core-7TTM4KRP.js} +6 -1
- package/dist/{core-GSILPKUR.js → core-7XKNJM7Y.js} +4 -1
- package/dist/{core-JDFUZFRH.js → core-A7HXVSKB.js} +5 -1
- package/dist/{core-K3JX5WPM.js → core-AMWCZTOT.js} +2 -1
- package/dist/{core-BLHEJ5OK.js → core-AVA4XLQ2.js} +4 -1
- package/dist/{core-ILPXXC2Z.js → core-BJZEJ63L.js} +5 -1
- package/dist/{core-3KLQSYWB.js → core-CCB3IXGD.js} +4 -1
- package/dist/{core-BBNY2BX4.js → core-D2OIGYC7.js} +2 -1
- package/dist/{core-4RR6VSXM.js → core-DMDAXVMY.js} +3 -1
- package/dist/{core-HDNWVLJW.js → core-EMSJRGSE.js} +4 -1
- package/dist/{core-A5AKUB7H.js → core-FCSA74RT.js} +2 -1
- package/dist/{core-WZ4CHVYL.js → core-FTQBESDS.js} +3 -1
- package/dist/{core-G3LXHW73.js → core-GS4DXDDG.js} +4 -1
- package/dist/{core-H5HO2CED.js → core-JDZDBTID.js} +2 -1
- package/dist/{core-VKZSQFRG.js → core-L3UR75IJ.js} +2 -1
- package/dist/{core-AR2T32Y3.js → core-MAW4S3KA.js} +4 -1
- package/dist/{core-4HFVG4CP.js → core-N2JEWJ7D.js} +3 -1
- package/dist/{core-BOG33BFD.js → core-OBPTBKX6.js} +4 -1
- package/dist/{core-HTD5RHE7.js → core-OFPPRHYY.js} +5 -1
- package/dist/{core-ZLSQHZ3I.js → core-QFAVWFI3.js} +4 -1
- package/dist/{core-TCSW24N6.js → core-QM34237W.js} +4 -1
- package/dist/{core-WJNK7F2J.js → core-SKMHEA4Y.js} +5 -1
- package/dist/{core-7S3XMW5O.js → core-T3OSZOVV.js} +2 -1
- package/dist/{core-7Y5BZZON.js → core-UNX4ZV4M.js} +4 -1
- package/dist/{core-DFZMOO7E.js → core-VRVL6LIM.js} +5 -1
- package/dist/{core-J2JD5ODO.js → core-VT35VDVS.js} +4 -1
- package/dist/{core-TKZZZ6UW.js → core-VWYXK2R3.js} +4 -1
- package/dist/{core-E2XOSHPR.js → core-WNT6ZMRO.js} +5 -1
- package/dist/{core-RR2CAZC5.js → core-WP73P4CW.js} +4 -1
- package/dist/{core-DD62MWEW.js → core-WPEYRK6Y.js} +2 -1
- package/dist/{core-YMXYUGF5.js → core-WXZJ7V7S.js} +2 -1
- package/dist/{core-5UF44NDI.js → core-XKXDXALI.js} +3 -1
- package/dist/{core-GLOZY6Z7.js → core-ZACFV6XR.js} +2 -1
- package/dist/{core-QPSAYRFT.js → core-ZSERZGK6.js} +5 -1
- package/dist/{dataTable-CNDRVGA5.js → dataTable-7IO546LM.js} +10 -2
- package/dist/{engine-FVEIM3WV.js → engine-US3N6UCH.js} +17 -9
- 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 +31 -19
- package/dist/{main-THU6VIVU.js → main-2UWKGUHR.js} +27 -13
- package/dist/mcp/server.js +23 -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 +25 -18
- package/dist/react/funnel.js +6 -1
- package/dist/react/gantt.js +7 -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 +93 -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 +35 -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 +7 -1
- package/dist/react/story.js +4 -2
- 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-LI6KOS46.js → rowsModule-DYDVHBAX.js} +2 -1
- package/dist/{schema-ZQSIR5UC.js → schema-3KMU5737.js} +1 -1
- package/dist/{schema-YLE4XXQQ.js → schema-4JRNXEZF.js} +3 -1
- package/dist/{schema-KPEPBGAX.js → schema-626QXX4G.js} +3 -1
- package/dist/{schema-72EEMYS3.js → schema-6PL46VXZ.js} +3 -1
- package/dist/{schema-JH57NFXJ.js → schema-6V5K3J2V.js} +4 -1
- package/dist/{schema-H2EC4GAQ.js → schema-A2XUZUCV.js} +3 -1
- package/dist/{schema-QPOBZUAR.js → schema-CNJ4Y6CT.js} +3 -1
- package/dist/{schema-5KDEQBBT.js → schema-DHMMGDTI.js} +3 -1
- package/dist/{schema-BKUFZLLI.js → schema-F2Q6MH7W.js} +3 -1
- package/dist/{schema-PL3EU6EQ.js → schema-FC6J6KZC.js} +5 -1
- package/dist/{schema-AXRDF6ND.js → schema-FGE5YK3S.js} +3 -1
- package/dist/{schema-5DUTAVO7.js → schema-FSYDLMGD.js} +1 -1
- package/dist/{schema-PQZWO3BP.js → schema-G5KSSI5W.js} +1 -1
- package/dist/{schema-25INXAMY.js → schema-GXOG4MXL.js} +1 -1
- package/dist/{schema-AMT7P7KB.js → schema-HEB6ZDI5.js} +3 -1
- package/dist/{schema-HH5HOORE.js → schema-I44IDRGD.js} +1 -1
- package/dist/{schema-VYECMPON.js → schema-IFTIMTS3.js} +1 -1
- package/dist/{schema-QCIE6M2P.js → schema-IUY7VYHJ.js} +3 -1
- package/dist/{schema-M5JBHQIV.js → schema-J4HCSD5C.js} +5 -2
- package/dist/{schema-B2GCEYXD.js → schema-JCU6LTYD.js} +1 -1
- package/dist/{schema-FDFQKIO5.js → schema-JJWORI7D.js} +3 -1
- package/dist/{schema-GNTKL5DN.js → schema-K4V4PYBO.js} +3 -1
- package/dist/{schema-L5U4OROI.js → schema-LGLQBRC4.js} +3 -1
- package/dist/{schema-THXXFY6I.js → schema-MD22QYZU.js} +1 -1
- package/dist/{schema-7NSV542V.js → schema-MGETMQYC.js} +3 -1
- package/dist/{schema-ZG6ZKFRZ.js → schema-MQB6CE5V.js} +3 -1
- package/dist/{schema-OU35XA3Z.js → schema-NMIYKGHE.js} +3 -1
- package/dist/{schema-5ZTGVQAJ.js → schema-NOBNFD2F.js} +3 -1
- package/dist/{schema-MMVPMJEF.js → schema-OXO2XY4Y.js} +1 -1
- package/dist/{schema-LOQ3AFC7.js → schema-PHIHMDVB.js} +1 -1
- package/dist/{schema-ZEVJMFLV.js → schema-UXWKA3PI.js} +3 -1
- package/dist/{schema-GN6GAIU5.js → schema-WBOPCTPC.js} +1 -1
- package/dist/{schema-BBTXTWYI.js → schema-WFGDVBJK.js} +1 -1
- package/dist/{schema-J7TNCZIP.js → schema-WX2RS4OU.js} +3 -1
- package/dist/{schema-QORUB6EK.js → schema-XIHAKX3B.js} +18 -1
- package/dist/{schema-R5Y6NVBH.js → schema-XRSORYBI.js} +3 -1
- package/dist/{schema-CGQID64D.js → schema-YDZCGL56.js} +3 -1
- package/dist/{specValidation-VHLGDEME.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 +3 -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/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/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 +21 -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 +11 -2
- package/dist/types/react/prepare.d.ts +7 -1
- package/dist/types/theme.d.ts +2 -0
- package/dist/validate.js +15 -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 +14 -1
- 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/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 +1 -1
- 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-FG5L2LUK.js +0 -89
- package/dist/chunk-IFQN4GKK.js +0 -1852
- package/dist/chunk-O36WX56O.js +0 -13
- package/dist/chunk-WIVFIVFZ.js +0 -27
- package/dist/chunk-ZWNRLIFT.js +0 -24
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chartRefusals,
|
|
3
3
|
isRefused
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V3UE3TB7.js";
|
|
5
5
|
import {
|
|
6
6
|
prepareFractionAnnotations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I65OLJ2X.js";
|
|
8
8
|
import {
|
|
9
9
|
ASPECT_CAPS,
|
|
10
10
|
COMPACT_SOURCE_LINES,
|
|
@@ -55,22 +55,27 @@ import {
|
|
|
55
55
|
withDensityNotes,
|
|
56
56
|
withHiddenLabelNote,
|
|
57
57
|
withNoteInA11y
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
59
59
|
import {
|
|
60
60
|
COMPACT_OMITTED_NOTES,
|
|
61
61
|
copyFrame,
|
|
62
62
|
disclosureNote,
|
|
63
|
+
footerPlans,
|
|
63
64
|
freedChromeOf,
|
|
64
65
|
liveFooterExtra,
|
|
65
66
|
partNeedOf,
|
|
66
67
|
rankKeyShown,
|
|
68
|
+
slotDemandHeight,
|
|
67
69
|
staticFrame,
|
|
68
70
|
withEngineNotes
|
|
69
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-WZB6R2ZX.js";
|
|
70
72
|
import {
|
|
71
73
|
DATE_NAME_LANGUAGES,
|
|
72
74
|
dateNames
|
|
73
75
|
} from "./chunk-QBR6IKIX.js";
|
|
76
|
+
import {
|
|
77
|
+
emptyIdRecord
|
|
78
|
+
} from "./chunk-LINZPU5D.js";
|
|
74
79
|
import {
|
|
75
80
|
MAGNITUDE_DIVISOR,
|
|
76
81
|
decimalCap,
|
|
@@ -78,10 +83,11 @@ import {
|
|
|
78
83
|
neededDecimals,
|
|
79
84
|
parseISODate,
|
|
80
85
|
utcDate
|
|
81
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-D3PQAVFW.js";
|
|
82
87
|
import {
|
|
83
88
|
AUTO_MAX_DECIMALS,
|
|
84
89
|
chartString,
|
|
90
|
+
currentSmallValues,
|
|
85
91
|
singleStops,
|
|
86
92
|
withChartDefaultStrings,
|
|
87
93
|
withLocaleStrings,
|
|
@@ -89,6 +95,9 @@ import {
|
|
|
89
95
|
withSmallValues,
|
|
90
96
|
wordLanguage
|
|
91
97
|
} from "./chunk-MSYTF3DZ.js";
|
|
98
|
+
import {
|
|
99
|
+
presentationInfo
|
|
100
|
+
} from "./chunk-WJQX7HBH.js";
|
|
92
101
|
import {
|
|
93
102
|
DEFAULT_PRESET,
|
|
94
103
|
GRAMMAR_STROKE,
|
|
@@ -114,9 +123,8 @@ import {
|
|
|
114
123
|
tableHeadFloorPx,
|
|
115
124
|
textScaleOf,
|
|
116
125
|
textSizeOf,
|
|
117
|
-
typeWidthClass,
|
|
118
126
|
withoutOrphanAnnotationMarks
|
|
119
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-JARJP576.js";
|
|
120
128
|
import {
|
|
121
129
|
loadedDeferred
|
|
122
130
|
} from "./chunk-DRHQG44U.js";
|
|
@@ -131,14 +139,13 @@ import {
|
|
|
131
139
|
DEFAULT_TARGET,
|
|
132
140
|
NormalizeError,
|
|
133
141
|
TARGET_SIZE,
|
|
134
|
-
naturalOutputSize,
|
|
135
142
|
resolveCanvasOptions,
|
|
136
143
|
resolveSize,
|
|
137
144
|
resolveSubtitle,
|
|
138
145
|
resolveTargetSize,
|
|
139
146
|
targetFloorsPx,
|
|
140
147
|
withDefaultTarget
|
|
141
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-FX5VZK5F.js";
|
|
142
149
|
import {
|
|
143
150
|
maxOf,
|
|
144
151
|
minOf,
|
|
@@ -147,9 +154,148 @@ import {
|
|
|
147
154
|
import {
|
|
148
155
|
compareText,
|
|
149
156
|
defaultMeasurer,
|
|
157
|
+
isCachedTextMeasurer,
|
|
150
158
|
measureText,
|
|
151
159
|
wrapText
|
|
152
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-UIHGGWES.js";
|
|
161
|
+
|
|
162
|
+
// src/core/layoutPlan.ts
|
|
163
|
+
var functionIds = /* @__PURE__ */ new WeakMap(), nextFunctionId = 0, keyFunction = (_key, value) => typeof value != "function" ? value : (functionIds.has(value) || functionIds.set(value, nextFunctionId++), `function ${functionIds.get(value)}`), inputs;
|
|
164
|
+
function withPlanInputs(run) {
|
|
165
|
+
if (inputs) return run();
|
|
166
|
+
inputs = { json: /* @__PURE__ */ new WeakMap(), themes: /* @__PURE__ */ new WeakMap(), texts: /* @__PURE__ */ new WeakMap() };
|
|
167
|
+
try {
|
|
168
|
+
return run();
|
|
169
|
+
} finally {
|
|
170
|
+
inputs = void 0;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
function memoExactInputKey(value, read) {
|
|
174
|
+
if (!inputs) return read(value);
|
|
175
|
+
let readers = inputs.exactKeys ??= /* @__PURE__ */ new Map(), keys = readers.get(read);
|
|
176
|
+
if (keys || readers.set(read, keys = /* @__PURE__ */ new WeakMap()), keys.has(value)) return keys.get(value);
|
|
177
|
+
let key = read(value);
|
|
178
|
+
return keys.set(value, key), key;
|
|
179
|
+
}
|
|
180
|
+
function inputJson(value) {
|
|
181
|
+
let key = inputs?.json.get(value);
|
|
182
|
+
return key === void 0 && (key = JSON.stringify(value, keyFunction), inputs?.json.set(value, key)), key;
|
|
183
|
+
}
|
|
184
|
+
var inputVersions = /* @__PURE__ */ new WeakMap(), ownedInputVersions = /* @__PURE__ */ new WeakMap(), nextInputVersion = 0;
|
|
185
|
+
function ownPlanInput(value) {
|
|
186
|
+
ownedInputVersions.has(value) || ownedInputVersions.set(value, nextInputVersion++);
|
|
187
|
+
}
|
|
188
|
+
function inputVersion(value) {
|
|
189
|
+
let owned = ownedInputVersions.get(value);
|
|
190
|
+
if (owned !== void 0) return owned;
|
|
191
|
+
let json = inputJson(value), known = inputVersions.get(value);
|
|
192
|
+
return (!known || known.json !== json) && inputVersions.set(value, known = { json, version: nextInputVersion++ }), known.version;
|
|
193
|
+
}
|
|
194
|
+
var themeVersions = /* @__PURE__ */ new Map(), nextThemeVersion = 0;
|
|
195
|
+
function themeVersion(theme) {
|
|
196
|
+
let version = inputs?.themes.get(theme);
|
|
197
|
+
if (version !== void 0) return version;
|
|
198
|
+
let json = inputJson(theme);
|
|
199
|
+
return version = themeVersions.get(json), version === void 0 && (themeVersions.size >= 256 && themeVersions.delete(themeVersions.keys().next().value), themeVersions.set(json, version = nextThemeVersion++)), inputs?.themes.set(theme, version), version;
|
|
200
|
+
}
|
|
201
|
+
function optionKey(options) {
|
|
202
|
+
let valueKey = (value) => value !== null && typeof value == "object" ? inputJson(value) : JSON.stringify(value, keyFunction), fields = [];
|
|
203
|
+
for (let key of Object.keys(options)) {
|
|
204
|
+
if (key === "theme") continue;
|
|
205
|
+
let value = valueKey(options[key]);
|
|
206
|
+
value !== void 0 && fields.push(JSON.stringify(key) + ":" + value);
|
|
207
|
+
}
|
|
208
|
+
let theme = options.theme, symbols = Object.getOwnPropertySymbols(options).map((symbol) => "[" + (JSON.stringify(symbol.description) ?? "null") + "," + (valueKey(options[symbol]) ?? "null") + "]");
|
|
209
|
+
return "[{" + fields.join(",") + "}," + (valueKey(theme && typeof theme == "object" ? themeVersion(theme) : theme) ?? "null") + ",[" + symbols.join(",") + "]," + JSON.stringify(currentSmallValues()) + "]";
|
|
210
|
+
}
|
|
211
|
+
function layoutKey(data, options) {
|
|
212
|
+
return inputVersion(data) + ":" + optionKey(options);
|
|
213
|
+
}
|
|
214
|
+
var measurers = /* @__PURE__ */ new WeakMap(), wrappedMeasurers = /* @__PURE__ */ new WeakSet(), sameFont = (a, b) => a.family === b.family && a.size === b.size && a.weight === b.weight && a.style === b.style && a.letterSpacing === b.letterSpacing && a.tabular === b.tabular && a.lineHeight === b.lineHeight;
|
|
215
|
+
function tableTextMeasure(raw) {
|
|
216
|
+
if (isCachedTextMeasurer(raw) || wrappedMeasurers.has(raw)) return raw;
|
|
217
|
+
let wrapped = measurers.get(raw);
|
|
218
|
+
return wrapped || (wrapped = (text, font) => {
|
|
219
|
+
if (!inputs) return raw(text, font);
|
|
220
|
+
let fonts = inputs.texts.get(raw);
|
|
221
|
+
fonts || inputs.texts.set(raw, fonts = { families: /* @__PURE__ */ new Map() });
|
|
222
|
+
let plan = fonts.last;
|
|
223
|
+
if (!plan || !sameFont(plan.font, font)) {
|
|
224
|
+
let family = fonts.families.get(font.family);
|
|
225
|
+
family || fonts.families.set(font.family, family = /* @__PURE__ */ new Map());
|
|
226
|
+
let key = font.size * 4096 + font.weight, variants = family.get(key);
|
|
227
|
+
variants || family.set(key, variants = []), plan = variants.find((candidate) => sameFont(candidate.font, font)), plan || (plan = { font: { ...font }, texts: /* @__PURE__ */ new Map() }, variants.push(plan)), fonts.last = plan;
|
|
228
|
+
}
|
|
229
|
+
let result = plan.texts.get(text);
|
|
230
|
+
return result || plan.texts.set(text, result = { ...raw(text, font) }), result;
|
|
231
|
+
}, Object.defineProperty(wrapped, "capHeight", { get: () => raw.capHeight }), measurers.set(raw, wrapped), wrappedMeasurers.add(wrapped)), wrapped;
|
|
232
|
+
}
|
|
233
|
+
var PLAN_ONLY = /* @__PURE__ */ Symbol("tablePlanOnly"), PLAN = /* @__PURE__ */ Symbol("tableLayoutPlan");
|
|
234
|
+
function deferLayout(geometry, draw, cuts) {
|
|
235
|
+
return geometry[PLAN] = { draw, cuts, warnings: geometry.warnings.length }, geometry;
|
|
236
|
+
}
|
|
237
|
+
function isPlanned(value) {
|
|
238
|
+
return value[PLAN] !== void 0;
|
|
239
|
+
}
|
|
240
|
+
function plannedCutCount(value) {
|
|
241
|
+
let plan = value[PLAN];
|
|
242
|
+
return typeof plan?.cuts == "function" && (plan.cuts = plan.cuts()), plan?.cuts;
|
|
243
|
+
}
|
|
244
|
+
function materializeLayout(geometry) {
|
|
245
|
+
let plan = geometry[PLAN];
|
|
246
|
+
if (!plan) return geometry;
|
|
247
|
+
let drawn2 = plan.rendered ??= plan.draw(), result = {
|
|
248
|
+
...geometry,
|
|
249
|
+
scene: drawn2.scene,
|
|
250
|
+
marks: drawn2.marks,
|
|
251
|
+
debug: drawn2.debug,
|
|
252
|
+
labels: drawn2.labels,
|
|
253
|
+
axes: drawn2.axes,
|
|
254
|
+
annotations: drawn2.annotations,
|
|
255
|
+
warnings: [...geometry.warnings.slice(0, plan.warnings), ...drawn2.warnings.slice(plan.warnings), ...geometry.warnings.slice(plan.warnings)],
|
|
256
|
+
...drawn2.paintWarningRules === void 0 ? {} : { paintWarningRules: drawn2.paintWarningRules }
|
|
257
|
+
};
|
|
258
|
+
return delete result[PLAN], copyPlannedValue(result);
|
|
259
|
+
}
|
|
260
|
+
function copyPlannedValue(value, copies = /* @__PURE__ */ new Map()) {
|
|
261
|
+
if (value === null || typeof value != "object") return value;
|
|
262
|
+
let known = copies.get(value);
|
|
263
|
+
if (known !== void 0) return known;
|
|
264
|
+
if (Array.isArray(value)) {
|
|
265
|
+
let copy2 = [];
|
|
266
|
+
copies.set(value, copy2);
|
|
267
|
+
for (let entry of value) copy2.push(entry !== null && typeof entry == "object" ? copyPlannedValue(entry, copies) : entry);
|
|
268
|
+
return copy2;
|
|
269
|
+
}
|
|
270
|
+
if (value instanceof Map) {
|
|
271
|
+
let copy2 = /* @__PURE__ */ new Map();
|
|
272
|
+
copies.set(value, copy2);
|
|
273
|
+
for (let [key, entry] of value) copy2.set(key, entry !== null && typeof entry == "object" ? copyPlannedValue(entry, copies) : entry);
|
|
274
|
+
return copy2;
|
|
275
|
+
}
|
|
276
|
+
if (value instanceof Set) {
|
|
277
|
+
let copy2 = /* @__PURE__ */ new Set();
|
|
278
|
+
copies.set(value, copy2);
|
|
279
|
+
for (let entry of value) copy2.add(entry !== null && typeof entry == "object" ? copyPlannedValue(entry, copies) : entry);
|
|
280
|
+
return copy2;
|
|
281
|
+
}
|
|
282
|
+
let prototype = Object.getPrototypeOf(value);
|
|
283
|
+
if (prototype !== Object.prototype && prototype !== null) return value;
|
|
284
|
+
let copy = footerPlans.has(value) ? copyFrame(value) : prototype === null ? emptyIdRecord() : {};
|
|
285
|
+
copies.set(value, copy);
|
|
286
|
+
for (let key of Reflect.ownKeys(value)) {
|
|
287
|
+
let source = value[key], entry = source !== null && typeof source == "object" ? copyPlannedValue(source, copies) : source;
|
|
288
|
+
typeof key == "symbol" && !Object.prototype.propertyIsEnumerable.call(value, key) ? Object.defineProperty(copy, key, { value: entry, configurable: !0 }) : key === "__proto__" ? Object.defineProperty(copy, key, { value: entry, enumerable: !0, writable: !0, configurable: !0 }) : copy[key] = entry;
|
|
289
|
+
}
|
|
290
|
+
return copy;
|
|
291
|
+
}
|
|
292
|
+
var requestResults = /* @__PURE__ */ new WeakMap();
|
|
293
|
+
function repeatedResult(data, options, resolved, layout) {
|
|
294
|
+
return withPlanInputs(() => {
|
|
295
|
+
let key = `${layoutKey(data, options)}:${inputJson(resolved)}`, byKey = requestResults.get(data);
|
|
296
|
+
return byKey || requestResults.set(data, byKey = /* @__PURE__ */ new Map()), byKey.size >= 32 && !byKey.has(key) && byKey.delete(byKey.keys().next().value), byKey.has(key) || byKey.set(key, layout()), copyPlannedValue(byKey.get(key));
|
|
297
|
+
});
|
|
298
|
+
}
|
|
153
299
|
|
|
154
300
|
// src/core/inputConversion.ts
|
|
155
301
|
function caseInsensitiveValue(value, allowed) {
|
|
@@ -510,7 +656,12 @@ function prepareLegendLayout(definition, data, origins = /* @__PURE__ */ new Wea
|
|
|
510
656
|
let column = options;
|
|
511
657
|
if (definition.type === "column" && options?.legend === "none" && column?.seriesLabels !== void 0 && !column.valueAxis?.percent && (column.variant ?? "grouped") === "grouped") {
|
|
512
658
|
let keyed = draw(Object.assign({}, options, { legend: void 0 }));
|
|
513
|
-
if (!keyed.refused)
|
|
659
|
+
if (!keyed.refused)
|
|
660
|
+
return keyed.warnings = keyed.warnings.map((warning) => {
|
|
661
|
+
if (warning.code !== "series-labels-ignored") return warning;
|
|
662
|
+
let { fix: _fix, ...kept } = warning;
|
|
663
|
+
return kept;
|
|
664
|
+
}), keyed;
|
|
514
665
|
}
|
|
515
666
|
return draw(options);
|
|
516
667
|
});
|
|
@@ -1875,7 +2026,7 @@ function fitLayout(definition, data, options) {
|
|
|
1875
2026
|
}
|
|
1876
2027
|
var mekkoHeightFloors = /* @__PURE__ */ new WeakMap();
|
|
1877
2028
|
function prepareFitLayout(definition, data, origins = /* @__PURE__ */ new WeakMap()) {
|
|
1878
|
-
let probes = /* @__PURE__ */ new Map(), heightFloors = definition.type === "mekko" ? mekkoHeightFloors.get(origins) ?? /* @__PURE__ */ new Map() : void 0;
|
|
2029
|
+
let probes = /* @__PURE__ */ new Map(), memoKeys = definition.type === "table" || definition.type === "dimswitch" ? {} : void 0, heightFloors = definition.type === "mekko" ? mekkoHeightFloors.get(origins) ?? /* @__PURE__ */ new Map() : void 0;
|
|
1879
2030
|
heightFloors && mekkoHeightFloors.set(origins, heightFloors);
|
|
1880
2031
|
let at = (runOptions, compact) => {
|
|
1881
2032
|
let size = runOptions?.size, targetSize = runOptions?.[TARGET_SIZE], fixed = targetSize?.fixed, key = `${typeof size == "object" ? `${size?.width}x${size?.height}:${size?.unit}` : String(size)}:${compact}:${forcedCompact(runOptions)}:${String(runOptions?.mode)}:${runOptions?.belowMinimum}:${fixed?.width}:${fixed?.height}:${targetSize?.sizePx.width}:${targetSize?.sizePx.height}:${isWidthProbe(definition.type, runOptions)}:${runOptions?.[ACCEPTANCE_PROBE]}`, result = probes.get(key);
|
|
@@ -1891,7 +2042,7 @@ function prepareFitLayout(definition, data, origins = /* @__PURE__ */ new WeakMa
|
|
|
1891
2042
|
]) : "", floor2 = fixedMekko ? heightFloors?.get(floorKey) : void 0;
|
|
1892
2043
|
if (floor2 && runOptions?.[FIXED_SIZE_PROBE] && requested.height + SIZE_TOLERANCE < floor2.minHeight)
|
|
1893
2044
|
return sizeRefusal(definition.type, definition.title, requested, { ...floor2 });
|
|
1894
|
-
result = fitSizeMemo(definition, data, runOptions, compact), fixedMekko && result.sizing && (result.refused ? plotChromeFloor.has(result) : plotChromeFloor.has(result.frame)) && heightFloors.set(floorKey, result.sizing), probes.set(key, result);
|
|
2045
|
+
result = fitSizeMemo(definition, data, runOptions, compact, memoKeys), fixedMekko && result.sizing && (result.refused ? plotChromeFloor.has(result) : plotChromeFloor.has(result.frame)) && heightFloors.set(floorKey, result.sizing), probes.set(key, result);
|
|
1895
2046
|
}
|
|
1896
2047
|
let copy = { ...result, ...result.sizing ? { sizing: { ...result.sizing } } : {} }, floor = plotChromeFloor.get(result);
|
|
1897
2048
|
return floor !== void 0 && plotChromeFloor.set(copy, floor), origins.set(copy, result), copy;
|
|
@@ -1903,14 +2054,14 @@ function prepareFitLayout(definition, data, origins = /* @__PURE__ */ new WeakMa
|
|
|
1903
2054
|
let width = resolveSize(options.size, options.target).width;
|
|
1904
2055
|
width < CARD_CLASS_WIDTH && cardClassHeight(definition, data, options, width);
|
|
1905
2056
|
}
|
|
1906
|
-
let fitted = fitOrRepair(definition, data, options, at), copy = copyLayout(
|
|
1907
|
-
return origins.set(copy, origins.get(fitted) ?? fitted), copy.refused
|
|
2057
|
+
let fitted = fitOrRepair(definition, data, options, at), owned = !fitted.refused && !options?.[PLAN_ONLY] && isPlanned(fitted), selected = !fitted.refused && !options?.[PLAN_ONLY] ? materializeLayout(fitted) : fitted, copy = owned ? selected : copyLayout(selected);
|
|
2058
|
+
return owned && !copy.refused && (copy.a11y.desc = singleStops(copy.a11y.desc)), origins.set(copy, origins.get(fitted) ?? fitted), !copy.refused && !options?.[PLAN_ONLY] && sourceFollowsContent(copy, options), withPlotFloorWarning(copy, options, definition.title);
|
|
1908
2059
|
} finally {
|
|
1909
2060
|
borrowed || (memo.active = !1, memo.heights.clear(), memo.references = void 0);
|
|
1910
2061
|
}
|
|
1911
2062
|
}));
|
|
1912
2063
|
return run.finish = () => {
|
|
1913
|
-
probes.clear(), heightFloors?.clear();
|
|
2064
|
+
probes.clear(), heightFloors?.clear(), memoKeys && (memoKeys.scope = void 0, memoKeys.parts = void 0);
|
|
1914
2065
|
}, run;
|
|
1915
2066
|
}
|
|
1916
2067
|
function copyLayout(result) {
|
|
@@ -2167,10 +2318,23 @@ function fitOnce(definition, data, options, compactFallback, atSize) {
|
|
|
2167
2318
|
let declared = declaredSizing(definition, options);
|
|
2168
2319
|
if (widthOnly(options?.size)) {
|
|
2169
2320
|
let contentHeight2 = function() {
|
|
2170
|
-
|
|
2321
|
+
let refusedProbe = !1;
|
|
2322
|
+
for (let pass = 0; pass < (definition.type === "grid" ? 6 : 4); pass++) {
|
|
2171
2323
|
let probe = at(width, height), natural = probe.sizing?.naturalHeight;
|
|
2172
2324
|
if (natural === height || (definition.type === "table" || definition.type === "dimswitch") && !probe.refused && probe.size.height === natural || definition.type === "pie" && !probe.refused && settledAutoHeight.has(probe.frame) && probe.size.height === natural) return probe;
|
|
2173
|
-
if (natural === void 0
|
|
2325
|
+
if (natural === void 0) break;
|
|
2326
|
+
if (definition.type === "grid" && probe.sizing?.fit !== "content") {
|
|
2327
|
+
if (probe.refused && pass === 0) {
|
|
2328
|
+
refusedProbe = !0, height = natural;
|
|
2329
|
+
continue;
|
|
2330
|
+
}
|
|
2331
|
+
if (probe.refused) break;
|
|
2332
|
+
if (refusedProbe && !slotDemandHeight.has(probe.frame)) return probe;
|
|
2333
|
+
}
|
|
2334
|
+
let slotGrid = !probe.refused && slotDemandHeight.has(probe.frame) && probe.sizing?.fit !== "content";
|
|
2335
|
+
if (slotGrid && natural < height) return probe;
|
|
2336
|
+
let grew = natural > height;
|
|
2337
|
+
if (height = natural, !(slotGrid && grew) && probe.sizing?.fit !== "content") break;
|
|
2174
2338
|
}
|
|
2175
2339
|
return at(width, height);
|
|
2176
2340
|
};
|
|
@@ -2280,7 +2444,7 @@ function withLayoutMemo(run) {
|
|
|
2280
2444
|
if (layoutMemo) return run();
|
|
2281
2445
|
layoutMemo = /* @__PURE__ */ new Map();
|
|
2282
2446
|
try {
|
|
2283
|
-
return withEngineNotes(() => withCategoryRowPlans(run));
|
|
2447
|
+
return withPlanInputs(() => withEngineNotes(() => withCategoryRowPlans(run)));
|
|
2284
2448
|
} finally {
|
|
2285
2449
|
layoutMemo = void 0, memoSymbolIds = /* @__PURE__ */ new Map();
|
|
2286
2450
|
}
|
|
@@ -2293,7 +2457,7 @@ function memoId(value) {
|
|
|
2293
2457
|
let id = memoObjectIds.get(value);
|
|
2294
2458
|
return id === void 0 && memoObjectIds.set(value, id = ++memoNextId), id;
|
|
2295
2459
|
}
|
|
2296
|
-
function memoKey(value, depth = 0) {
|
|
2460
|
+
function memoKey(value, depth = 0, parts) {
|
|
2297
2461
|
if (--memoKeyBudget < 0) throw MEMO_KEY_TOO_LONG;
|
|
2298
2462
|
switch (typeof value) {
|
|
2299
2463
|
case "string":
|
|
@@ -2341,7 +2505,21 @@ function memoKey(value, depth = 0) {
|
|
|
2341
2505
|
let out = "{";
|
|
2342
2506
|
if (depth === 0) {
|
|
2343
2507
|
let ordered = Reflect.ownKeys(object).filter((key) => object[key] !== void 0).map((key) => [memoName(key), key]).sort((a, b) => a[0] < b[0] ? -1 : a[0] > b[0] ? 1 : 0);
|
|
2344
|
-
|
|
2508
|
+
if (!parts) {
|
|
2509
|
+
for (let [name, key] of ordered) out += `${name}:${memoKey(object[key], 1)},`;
|
|
2510
|
+
return `${out}}`;
|
|
2511
|
+
}
|
|
2512
|
+
for (let [name, key] of ordered) {
|
|
2513
|
+
let value2 = object[key], held = parts.get(key), text;
|
|
2514
|
+
if (held && Object.is(held.value, value2)) {
|
|
2515
|
+
if ((memoKeyBudget -= held.cost) < 0) throw MEMO_KEY_TOO_LONG;
|
|
2516
|
+
text = held.text;
|
|
2517
|
+
} else {
|
|
2518
|
+
let before = memoKeyBudget;
|
|
2519
|
+
text = memoKey(value2, 1), parts.set(key, { value: value2, text, cost: before - memoKeyBudget });
|
|
2520
|
+
}
|
|
2521
|
+
out += `${name}:${text},`;
|
|
2522
|
+
}
|
|
2345
2523
|
return `${out}}`;
|
|
2346
2524
|
}
|
|
2347
2525
|
for (let key of Reflect.ownKeys(object)) {
|
|
@@ -2360,7 +2538,7 @@ function memoCopy(result) {
|
|
|
2360
2538
|
let copy = { ...result, warnings: [...result.warnings], ...result.sizing ? { sizing: { ...result.sizing } } : {} }, floor = plotChromeFloor.get(result);
|
|
2361
2539
|
return floor !== void 0 && plotChromeFloor.set(copy, floor), copy;
|
|
2362
2540
|
}
|
|
2363
|
-
function fitSizeMemo(definition, data, options, compactFallback) {
|
|
2541
|
+
function fitSizeMemo(definition, data, options, compactFallback, keys) {
|
|
2364
2542
|
let memo = layoutMemo;
|
|
2365
2543
|
if (!memo || data === null || typeof data != "object" || panelTypeClass(options) !== void 0 || definition.type === "gantt" && options?.[ACCEPTANCE_PROBE])
|
|
2366
2544
|
return fitSize(definition, data, options, compactFallback);
|
|
@@ -2369,10 +2547,10 @@ function fitSizeMemo(definition, data, options, compactFallback) {
|
|
|
2369
2547
|
let { [PLOT_SHARE]: _share, ...rest } = keyed;
|
|
2370
2548
|
keyed = rest;
|
|
2371
2549
|
}
|
|
2372
|
-
memoKeyBudget = MEMO_KEY_LIMIT, memoKeyData = data;
|
|
2550
|
+
keys && keys.scope !== memo && (keys.scope = memo, keys.parts = /* @__PURE__ */ new Map()), memoKeyBudget = MEMO_KEY_LIMIT, memoKeyData = data;
|
|
2373
2551
|
let optionsKey;
|
|
2374
2552
|
try {
|
|
2375
|
-
optionsKey = memoKey(keyed);
|
|
2553
|
+
optionsKey = memoKey(keyed, 0, keys?.parts);
|
|
2376
2554
|
} catch (error) {
|
|
2377
2555
|
if (error !== MEMO_KEY_TOO_LONG) throw error;
|
|
2378
2556
|
return fitSize(definition, data, options, compactFallback);
|
|
@@ -2411,7 +2589,7 @@ function fitSize(definition, data, options, compactFallback) {
|
|
|
2411
2589
|
return sizeRefusal(definition.type, definition.title, requested, resolveSizing(gatePolicy, requested));
|
|
2412
2590
|
let mode = tight || definition.type !== "mekko" && options?.mode === "compact" ? "compact" : "full", layoutOptions = mode === "compact" ? compactOptions(definition.type, options ?? {}, tight ? floor : void 0, requested.width) : options, rawOptions = definition.type === "kpi" ? { ...layoutOptions, typeClass: "M" } : layoutOptions, layout = (runOptions) => {
|
|
2413
2591
|
let clean = withoutCallState(runOptions), memo = runOptions?.[CARD_HEIGHT_MEMO];
|
|
2414
|
-
return definition.layout(data, definition.type === "gantt" ? {
|
|
2592
|
+
return definition.layout(data, definition.type === "table" || definition.type === "dimswitch" ? { ...clean, [PLAN_ONLY]: !0 } : definition.type === "gantt" ? {
|
|
2415
2593
|
...clean,
|
|
2416
2594
|
...memo ? { [CARD_HEIGHT_MEMO]: memo } : {},
|
|
2417
2595
|
...runOptions?.[ACCEPTANCE_PROBE] ? { [ACCEPTANCE_PROBE]: !0 } : {}
|
|
@@ -3045,46 +3223,6 @@ function measureValueAxisWidth(domain, format, theme, measure, tickCount = 5, fo
|
|
|
3045
3223
|
return maxOf(values.map((value) => measure(fmt(value), font).width)) + 8;
|
|
3046
3224
|
}
|
|
3047
3225
|
|
|
3048
|
-
// src/core/themeGeometry.ts
|
|
3049
|
-
function themeGeometryTokens(theme, target) {
|
|
3050
|
-
return {
|
|
3051
|
-
...target === void 0 ? {} : { target },
|
|
3052
|
-
scenario: theme.scenario,
|
|
3053
|
-
pattern: { ...theme.pattern, hatchColor: theme.pattern.hatchColor ?? "segment" },
|
|
3054
|
-
stroke: theme.stroke,
|
|
3055
|
-
dash: theme.dash,
|
|
3056
|
-
type: theme.type,
|
|
3057
|
-
space: theme.space,
|
|
3058
|
-
surface: theme.surface,
|
|
3059
|
-
// Label ink and the grid dash are baked into the scene, so a switch relayouts as their siblings do.
|
|
3060
|
-
labels: theme.labels,
|
|
3061
|
-
valueAxis: theme.valueAxis,
|
|
3062
|
-
// The outline and edge switches are recomputed by a repaint (repaintSeparation, decideFillEdges);
|
|
3063
|
-
// every other mark key (marker, radius, tint, caret, bar label side) is baked into the layout.
|
|
3064
|
-
marks: theme.marks && (({ restOutline: _r, sliceOutline: _s, othersOutline: _o, contrastEdge: _c, ...rest }) => rest)(theme.marks),
|
|
3065
|
-
// Table sizes, pads, weights, rules and glyphs are geometry; its inks, rule ink and bar grounds are colour.
|
|
3066
|
-
table: theme.table && (({ inks: _inks, ruleInk: _ruleInk, bar: _bar, ...rest }) => rest)(theme.table),
|
|
3067
|
-
legend: theme.legend?.auto ?? !1,
|
|
3068
|
-
seriesOverflow: theme.color.seriesOverflow ?? "repeatLast",
|
|
3069
|
-
seriesCount: theme.color.series.length
|
|
3070
|
-
};
|
|
3071
|
-
}
|
|
3072
|
-
function presentationInfo(geometry, target, inheritedClass, textScale = 1) {
|
|
3073
|
-
let floors = targetFloorsPx(target), minimumScale = 0.9;
|
|
3074
|
-
for (let node of geometry.scene) {
|
|
3075
|
-
if (node.t !== "text" || node.lines.every((line) => line.length === 0) || node.opacity === 0) continue;
|
|
3076
|
-
let tableHead = TABLE_HEAD_PARTS.has(node.part ?? "");
|
|
3077
|
-
minimumScale = Math.max(minimumScale, (tableHead ? tableHeadFloorPx(target) : floors[node.typeRole ?? "label"]) / node.font.size);
|
|
3078
|
-
}
|
|
3079
|
-
return {
|
|
3080
|
-
target,
|
|
3081
|
-
typeClass: geometry.type === "kpi" || geometry.type === "bullet" ? "M" : inheritedClass ?? typeWidthClass(geometry.size.width),
|
|
3082
|
-
naturalSize: naturalOutputSize(target, geometry.size),
|
|
3083
|
-
minDisplayWidth: geometry.size.width * minimumScale,
|
|
3084
|
-
...textScale === 1 ? {} : { textScale }
|
|
3085
|
-
};
|
|
3086
|
-
}
|
|
3087
|
-
|
|
3088
3226
|
// src/core/calendarData.ts
|
|
3089
3227
|
function withCalendarLabels(data, language, label) {
|
|
3090
3228
|
let categories = data?.categories;
|
|
@@ -3151,9 +3289,9 @@ function registerChart(def) {
|
|
|
3151
3289
|
theme: { preset: typeof ref == "string" ? ref : ref?.preset ?? DEFAULT_PRESET, overrides: theme }
|
|
3152
3290
|
})))), prepared = def.defaultStrings ? withChartDefaultStrings(localized, def.defaultStrings(localized)) : localized;
|
|
3153
3291
|
def.type === "grid" && (data = inheritGridTarget(data, target, textScale, textSize)), def.categoryLabels && (data = withCalendarLabels(data, authored?.locale?.language, def.categoryLabels));
|
|
3154
|
-
let origins = /* @__PURE__ */ new WeakMap(), legendLayout = prepareLegendLayout(
|
|
3292
|
+
let origins = /* @__PURE__ */ new WeakMap(), layoutDefinition = def.prepareLayout ? { ...def, layout: def.prepareLayout(data, prepared) } : def, legendLayout = prepareLegendLayout(layoutDefinition, data, origins), noteLayouts = /* @__PURE__ */ new WeakMap(), noteRuns = [], layoutBody = ((options) => {
|
|
3155
3293
|
let sizeTarget = options?.size === void 0 && ["kpi", "bullet", "sparkline"].includes(def.type) && (target === "slide" || target === "print") ? "report" : target, resolved = panelTypeClass(prepared) !== void 0 && options?.size !== void 0 ? { sizePx: resolveSize(options.size, target), fixed: { width: !0, height: !0 } } : resolveTargetSize(sizeTarget, options?.size), frame = options, current = { ...prepared };
|
|
3156
|
-
for (let key of ["size", "mode", "belowMinimum", FORCE_COMPACT, WIDTH_PROBE, FIXED_SIZE_PROBE])
|
|
3294
|
+
for (let key of ["size", "mode", "belowMinimum", FORCE_COMPACT, WIDTH_PROBE, FIXED_SIZE_PROBE, PLAN_ONLY])
|
|
3157
3295
|
frame && Object.hasOwn(frame, key) ? current[key] = frame[key] : delete current[key];
|
|
3158
3296
|
options = {
|
|
3159
3297
|
...current,
|
|
@@ -3196,7 +3334,7 @@ function registerChart(def) {
|
|
|
3196
3334
|
let origin = origins.get(geo2) ?? geo2, variants = noteLayouts.get(origin);
|
|
3197
3335
|
variants || noteLayouts.set(origin, variants = /* @__PURE__ */ new Map());
|
|
3198
3336
|
let noteKey = JSON.stringify([...noted]), noteRun = variants.get(noteKey);
|
|
3199
|
-
noteRun || (noteRun = prepareLegendLayout(
|
|
3337
|
+
noteRun || (noteRun = prepareLegendLayout(layoutDefinition, data, origins), variants.set(noteKey, noteRun), noteRuns.push(noteRun)), next = noteRun(noteOptions);
|
|
3200
3338
|
}
|
|
3201
3339
|
let moved2 = !staticFrame.pinned && (geo2.mode === "compact" || !resolved.fixed.height) && next.refused && next.warnings[0]?.code === "size-below-floor" ? withNoteInA11y(noteOptions) : void 0, movedLine = moved2 ? hiddenNoteLine(noteOptions) : void 0, inA11y = moved2 && movedLine ? { ...moved2, footnotes: authoredNotes(moved2).filter((note) => note !== movedLine) } : moved2;
|
|
3202
3340
|
if (inA11y) {
|
|
@@ -3221,6 +3359,7 @@ function registerChart(def) {
|
|
|
3221
3359
|
probe = legendLayout(withoutForcedCompact({
|
|
3222
3360
|
...layoutOptions,
|
|
3223
3361
|
[FIXED_SIZE_PROBE]: !0,
|
|
3362
|
+
...def.type === "table" || def.type === "dimswitch" ? { [PLAN_ONLY]: !0 } : {},
|
|
3224
3363
|
...def.type === "gantt" && !resolved.fixed.height ? { [ACCEPTANCE_PROBE]: !0 } : {},
|
|
3225
3364
|
size: resolved.fixed.height ? { width: at, height: Math.max(size.height, minimum.minHeight) } : { width: at }
|
|
3226
3365
|
}));
|
|
@@ -3240,7 +3379,7 @@ function registerChart(def) {
|
|
|
3240
3379
|
if (!isRefused(compact)) return compact;
|
|
3241
3380
|
let full = named(withoutForcedCompact(runOptions), probeHeight).geo;
|
|
3242
3381
|
return isRefused(full) && compact.warnings[0]?.code === "size-below-floor" ? compact : full;
|
|
3243
|
-
}, probeAt = (width, height) => hostView({ ...layoutOptions, size: { width, height } });
|
|
3382
|
+
}, probeAt = (width, height) => hostView({ ...layoutOptions, size: { width, height }, ...def.type === "table" || def.type === "dimswitch" ? { [PLAN_ONLY]: !0 } : {} });
|
|
3244
3383
|
for (let pass = 0; pass < 6; pass++) {
|
|
3245
3384
|
let width = Math.max(geo.size.width, floor.minWidth), probe = probeAt(width, Math.max(geo.size.height, floor.minHeight));
|
|
3246
3385
|
if (!isRefused(probe) && floor.minHeight <= geo.size.height) return sizeRefusal(def.type, def.title, geo.size, sClassMinimum(floor, geo.size));
|
|
@@ -3249,7 +3388,8 @@ function registerChart(def) {
|
|
|
3249
3388
|
...layoutOptions,
|
|
3250
3389
|
size: { width, height },
|
|
3251
3390
|
[FIXED_SIZE_PROBE]: def.type !== "gantt",
|
|
3252
|
-
[ACCEPTANCE_PROBE]: !0
|
|
3391
|
+
[ACCEPTANCE_PROBE]: !0,
|
|
3392
|
+
...def.type === "table" || def.type === "dimswitch" ? { [PLAN_ONLY]: !0 } : {}
|
|
3253
3393
|
}, def.type === "gantt"));
|
|
3254
3394
|
for (!resolved.fixed.height && accepts(low + 1) && (high = low + 1); high - low > 1; ) {
|
|
3255
3395
|
let mid = Math.floor((low + high) / 2);
|
|
@@ -3286,9 +3426,12 @@ function registerChart(def) {
|
|
|
3286
3426
|
let probe = named(withoutForcedCompact({ ...layoutOptions, size: { width: geo.size.width, height: natural } })), need = probe.geo.refused ? probe.geo.sizing : void 0;
|
|
3287
3427
|
probe.noteRefused && probe.geo.warnings[0]?.code === "size-below-floor" && need && need.minWidth <= geo.size.width && need.minHeight > natural && (geo.sizing = { ...geo.sizing, naturalHeight: need.minHeight });
|
|
3288
3428
|
}
|
|
3289
|
-
geo.sizing && (geo.sizing = sClassMinimum(geo.sizing, geo.size)),
|
|
3290
|
-
|
|
3291
|
-
|
|
3429
|
+
if (geo.sizing && (geo.sizing = sClassMinimum(geo.sizing, geo.size)), !options[PLAN_ONLY]) {
|
|
3430
|
+
fillEdges(geo, theme), geo.scene = groundEdges(geo.scene, () => theme, !1), labelsOnFills(geo), referenceLineClearance(geo), withoutOrphanAnnotationMarks(geo), withoutRepeatedAxisBreaks(geo), geo.scene = casingUnderFills(geo.scene), geo.scene = stampHatchLook(geo.scene, options?.hatchStrength);
|
|
3431
|
+
let bandPairs = marksOnBands(geo.scene);
|
|
3432
|
+
bandPairs.length > 0 && (geo.paintWarningRules = [...geo.paintWarningRules ?? [], { kind: "mark-lost-on-band", pairs: bandPairs, before: geo.warnings.length }], pushAll(geo.warnings, markLostOnBandWarnings(theme, bandPairs)));
|
|
3433
|
+
}
|
|
3434
|
+
options?.a11y?.title !== void 0 && (geo.a11y.includeTitle = options.a11y.title);
|
|
3292
3435
|
let frameWarnings = geo.frame.warnings ?? [];
|
|
3293
3436
|
for (let warning of frameWarnings)
|
|
3294
3437
|
geo.warnings.includes(warning) || geo.warnings.push(warning);
|
|
@@ -3308,7 +3451,7 @@ function registerChart(def) {
|
|
|
3308
3451
|
severity: "warn",
|
|
3309
3452
|
message: `${truncated.length} placed label(s) omit text; the reading lists their full text in labelsTruncated`,
|
|
3310
3453
|
suggest: "give the labels more room or shorten their text"
|
|
3311
|
-
}), pushAll(geo.warnings, unmatchedIdWarnings(geo, data, def.type === "sankey" ? void 0 : options?.highlight, pins, nested)), geo.presentation = presentationInfo(geo, target, panelTypeClass(options), textScale), pushAll(geo.warnings, removedNames), geo;
|
|
3454
|
+
}), pushAll(geo.warnings, unmatchedIdWarnings(geo, data, def.type === "sankey" ? void 0 : options?.highlight, pins, nested)), options[PLAN_ONLY] || (geo.presentation = presentationInfo(geo, target, panelTypeClass(options), textScale)), pushAll(geo.warnings, removedNames), geo;
|
|
3312
3455
|
}), layout2 = ((options) => withSmallValues(prepared.smallValues, () => layoutBody(options)));
|
|
3313
3456
|
return layout2.finish = () => {
|
|
3314
3457
|
legendLayout.finish();
|
|
@@ -3382,7 +3525,7 @@ function registerChart(def) {
|
|
|
3382
3525
|
run2.finish();
|
|
3383
3526
|
}
|
|
3384
3527
|
}, probes = /* @__PURE__ */ new Map(), run = ((runOptions) => withLayoutMemo(() => {
|
|
3385
|
-
let size = runOptions?.size, key = `${typeof size == "object" ? `${size?.width}x${size?.height}:${size?.unit}` : String(size)}:${String(runOptions?.mode)}:${runOptions?.belowMinimum}:${runOptions?.[FULL_LAYOUT_PROBE]}:${runOptions?.[FORCE_COMPACT]}:${runOptions?.[WIDTH_PROBE]}:${runOptions?.[FIXED_SIZE_PROBE]}`, cached = memo.active ? probes.get(key) : void 0;
|
|
3528
|
+
let size = runOptions?.size, key = `${typeof size == "object" ? `${size?.width}x${size?.height}:${size?.unit}` : String(size)}:${String(runOptions?.mode)}:${runOptions?.belowMinimum}:${runOptions?.[FULL_LAYOUT_PROBE]}:${runOptions?.[FORCE_COMPACT]}:${runOptions?.[WIDTH_PROBE]}:${runOptions?.[FIXED_SIZE_PROBE]}:${runOptions?.[PLAN_ONLY]}`, cached = memo.active ? probes.get(key) : void 0;
|
|
3386
3529
|
if (cached !== void 0) return cached;
|
|
3387
3530
|
let fullProbe2 = runOptions?.[FULL_LAYOUT_PROBE] === !0, callOptions = { ...runOptions, [CARD_HEIGHT_MEMO]: memo }, geo = layoutPlain(labelled, callOptions, layoutOnce, fullProbe2), lost = !fullProbe2 && narrowShareApplies(def, runOptions) ? hiddenForSpace(geo) : 0;
|
|
3388
3531
|
if (lost > 0) {
|
|
@@ -3401,8 +3544,8 @@ function registerChart(def) {
|
|
|
3401
3544
|
run.probe = (at) => run({ ...at, [FULL_LAYOUT_PROBE]: !0 }), run.finish = () => {
|
|
3402
3545
|
probes.clear(), layoutOnce.finish(), borrowed || (memo.active = !1, memo.heights.clear(), memo.references = void 0);
|
|
3403
3546
|
};
|
|
3404
|
-
let variable = /* @__PURE__ */ new Set(["size", "mode", "belowMinimum", LAYOUT_CALL, FULL_LAYOUT_PROBE, FORCE_COMPACT, WIDTH_PROBE, ACCEPTANCE_PROBE]);
|
|
3405
|
-
return run.accepts = (d, at) => d === data && [.../* @__PURE__ */ new Set([...Reflect.ownKeys(options ?? {}), ...Reflect.ownKeys(at ?? {})])].every((key) => variable.has(key) || options?.[key] === at?.[key]), run;
|
|
3547
|
+
let variable = /* @__PURE__ */ new Set(["size", "mode", "belowMinimum", LAYOUT_CALL, FULL_LAYOUT_PROBE, FORCE_COMPACT, WIDTH_PROBE, ACCEPTANCE_PROBE, PLAN_ONLY]);
|
|
3548
|
+
return (def.type === "table" || def.type === "dimswitch") && variable.add(FIXED_SIZE_PROBE), run.accepts = (d, at) => d === data && [.../* @__PURE__ */ new Set([...Reflect.ownKeys(options ?? {}), ...Reflect.ownKeys(at ?? {})])].every((key) => variable.has(key) || options?.[key] === at?.[key]), run;
|
|
3406
3549
|
}, layout = (data, options) => {
|
|
3407
3550
|
let prepared = options?.[LAYOUT_CALL];
|
|
3408
3551
|
if (prepared?.accepts(data, options)) return prepared(options);
|
|
@@ -3421,7 +3564,7 @@ function registerChart(def) {
|
|
|
3421
3564
|
return description !== void 0 && !geo.refused && (geo.a11y.desc = description, geo.story && (geo.story.desc = description)), geo;
|
|
3422
3565
|
});
|
|
3423
3566
|
};
|
|
3424
|
-
registry.set(def.type, { ...def, sizing, layout: layoutWithFooter, [LAYOUT_CALL]: createLayout });
|
|
3567
|
+
registry.set(def.type, { ...def, sizing, layout: def.finishLayout?.(layoutWithFooter) ?? layoutWithFooter, [LAYOUT_CALL]: createLayout });
|
|
3425
3568
|
for (let alias of aliases)
|
|
3426
3569
|
aliasIndex.set(alias, def.type);
|
|
3427
3570
|
registryRevision += 1;
|
|
@@ -3600,12 +3743,24 @@ var unsupported = [
|
|
|
3600
3743
|
];
|
|
3601
3744
|
|
|
3602
3745
|
export {
|
|
3603
|
-
|
|
3604
|
-
|
|
3746
|
+
withPlanInputs,
|
|
3747
|
+
memoExactInputKey,
|
|
3748
|
+
ownPlanInput,
|
|
3749
|
+
optionKey,
|
|
3750
|
+
layoutKey,
|
|
3751
|
+
tableTextMeasure,
|
|
3752
|
+
PLAN_ONLY,
|
|
3753
|
+
deferLayout,
|
|
3754
|
+
isPlanned,
|
|
3755
|
+
plannedCutCount,
|
|
3756
|
+
materializeLayout,
|
|
3757
|
+
copyPlannedValue,
|
|
3758
|
+
repeatedResult,
|
|
3605
3759
|
caseInsensitiveValue,
|
|
3606
3760
|
inputConversion,
|
|
3607
3761
|
replaceInputValue,
|
|
3608
3762
|
crowdedTailCut,
|
|
3763
|
+
ITEM_BUDGET,
|
|
3609
3764
|
COMBO_LIMIT,
|
|
3610
3765
|
checkPointBudget,
|
|
3611
3766
|
typeDocLints,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRIORITY,
|
|
3
3
|
cleanDiff
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
5
5
|
import {
|
|
6
6
|
differenceExample,
|
|
7
7
|
exampleSpec,
|
|
8
8
|
formatWithSpec,
|
|
9
9
|
roundedNumber
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D3PQAVFW.js";
|
|
11
11
|
import {
|
|
12
12
|
PERCENTAGE_POINTS,
|
|
13
13
|
formatAutomaticNumber,
|
|
@@ -8,30 +8,30 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BoardplotThemeContext,
|
|
10
10
|
placeholderStyle
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M74H7QYD.js";
|
|
12
12
|
import {
|
|
13
13
|
loadFailure,
|
|
14
14
|
loadRowsModule,
|
|
15
15
|
loadedModule,
|
|
16
16
|
rowsKey,
|
|
17
17
|
subscribe
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-54HEIM2A.js";
|
|
19
19
|
import {
|
|
20
20
|
assertPreparedRequest,
|
|
21
21
|
requestRenderKey
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-I6QGYRY4.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveChartRequest
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EDBUVDRI.js";
|
|
26
26
|
import {
|
|
27
27
|
EMPTY_DATA
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YB6QGOCO.js";
|
|
29
29
|
import {
|
|
30
30
|
chartString
|
|
31
31
|
} from "./chunk-SGDWLXUC.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveTheme
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JARJP576.js";
|
|
35
35
|
import {
|
|
36
36
|
DeferredCoreError,
|
|
37
37
|
asFirstFrame,
|
|
@@ -48,15 +48,15 @@ import {
|
|
|
48
48
|
NormalizeError,
|
|
49
49
|
resolveSize,
|
|
50
50
|
resolveTargetSize
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-FX5VZK5F.js";
|
|
52
52
|
import {
|
|
53
53
|
AUTHORED_TYPE_SIZE
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UIHGGWES.js";
|
|
55
55
|
|
|
56
56
|
// src/react/SizePlaceholder.tsx
|
|
57
57
|
import { lazy, Suspense, useContext, useRef, useEffect } from "react";
|
|
58
58
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
59
|
-
var Reader = lazy(() => import("./ReaderBox-
|
|
59
|
+
var Reader = lazy(() => import("./ReaderBox-GCIITQCX.js").catch(() => ({
|
|
60
60
|
// A missing card chunk must not take down the dashboard or lose the reserved frame.
|
|
61
61
|
default: (props) => /* @__PURE__ */ jsx(LoadingPlaceholder, { ...props, failed: !0 })
|
|
62
62
|
})));
|
|
@@ -223,7 +223,7 @@ function hoverFlags(hover) {
|
|
|
223
223
|
}
|
|
224
224
|
var enginePromise;
|
|
225
225
|
function loadHoverEngine() {
|
|
226
|
-
return enginePromise ??= import("./engine-
|
|
226
|
+
return enginePromise ??= import("./engine-US3N6UCH.js").catch((error) => {
|
|
227
227
|
throw enginePromise = void 0, error;
|
|
228
228
|
}), enginePromise;
|
|
229
229
|
}
|