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,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5,
|
|
4
|
-
sharedKeys7
|
|
5
|
-
|
|
6
|
-
} from "./chunk-O36WX56O.js";
|
|
4
|
+
sharedKeys7
|
|
5
|
+
} from "./chunk-7BQK2UDV.js";
|
|
7
6
|
import {
|
|
8
7
|
optionKeyCheck
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FF7MV4D4.js";
|
|
10
9
|
import {
|
|
11
10
|
LayoutRefusal,
|
|
12
11
|
LoadingPlaceholder,
|
|
@@ -30,7 +29,7 @@ import {
|
|
|
30
29
|
useResolvedChartRequest,
|
|
31
30
|
useRowsInput,
|
|
32
31
|
watchPrint
|
|
33
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ANNQJWDX.js";
|
|
34
33
|
import {
|
|
35
34
|
useIsomorphicLayoutEffect
|
|
36
35
|
} from "./chunk-A4QZXLXF.js";
|
|
@@ -50,17 +49,17 @@ import {
|
|
|
50
49
|
} from "./chunk-VDAKTZQP.js";
|
|
51
50
|
import {
|
|
52
51
|
useBoardplotTheme
|
|
53
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-M74H7QYD.js";
|
|
54
53
|
import {
|
|
55
54
|
tableCore
|
|
56
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-YJGFT63R.js";
|
|
57
56
|
import {
|
|
58
57
|
emitSparkline,
|
|
59
58
|
fitTableFormats,
|
|
60
59
|
formatsFittedWarning,
|
|
61
60
|
sparklineDomains,
|
|
62
61
|
sparklineSourceValues
|
|
63
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-XN7JDII2.js";
|
|
64
63
|
import {
|
|
65
64
|
heatEncodingRefusals
|
|
66
65
|
} from "./chunk-ZF43WRG3.js";
|
|
@@ -71,18 +70,18 @@ import {
|
|
|
71
70
|
tablePresentation,
|
|
72
71
|
tableRenderTheme,
|
|
73
72
|
tableStylesheet
|
|
74
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-Z2BDTZDT.js";
|
|
75
74
|
import {
|
|
76
75
|
publishTableChart
|
|
77
76
|
} from "./chunk-OQEBOVUO.js";
|
|
78
77
|
import {
|
|
79
78
|
registeredType,
|
|
80
79
|
withRegistered
|
|
81
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-D5G67OER.js";
|
|
82
81
|
import {
|
|
83
82
|
measureResolvedRequest,
|
|
84
83
|
resolveChartRequest
|
|
85
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-EDBUVDRI.js";
|
|
86
85
|
import {
|
|
87
86
|
arrowGlyph,
|
|
88
87
|
arrowKey,
|
|
@@ -115,13 +114,13 @@ import {
|
|
|
115
114
|
visibleColumns,
|
|
116
115
|
visibleInlineRows,
|
|
117
116
|
visibleRows
|
|
118
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-EY4OA4OF.js";
|
|
119
118
|
import {
|
|
120
119
|
tableCellNodeId
|
|
121
120
|
} from "./chunk-M4SPKUZE.js";
|
|
122
121
|
import {
|
|
123
122
|
lastObservedIndex
|
|
124
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-VT7PBGL2.js";
|
|
125
124
|
import {
|
|
126
125
|
ENGINE_NOTES,
|
|
127
126
|
LABEL_WRAP_FLOOR,
|
|
@@ -136,31 +135,31 @@ import {
|
|
|
136
135
|
tableFonts,
|
|
137
136
|
trackTemplate,
|
|
138
137
|
trackTotal
|
|
139
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-HVX2E26J.js";
|
|
140
139
|
import {
|
|
141
140
|
hasPolarityBadge,
|
|
142
141
|
isFigureCell,
|
|
143
142
|
polarityBadgeInk
|
|
144
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-UD6U4EF5.js";
|
|
145
144
|
import {
|
|
146
145
|
fieldHeadText
|
|
147
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-I4NUYVP5.js";
|
|
148
147
|
import {
|
|
149
148
|
DEFAULT_EMPTY_MESSAGE,
|
|
150
149
|
hasNoDataRows
|
|
151
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-YB6QGOCO.js";
|
|
152
151
|
import {
|
|
153
152
|
chartRefusals,
|
|
154
153
|
isSizeDependentRefusal,
|
|
155
154
|
optionRefusals
|
|
156
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-V3UE3TB7.js";
|
|
157
156
|
import {
|
|
158
157
|
resolvePaint
|
|
159
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
160
159
|
import {
|
|
161
160
|
canvasMargin,
|
|
162
161
|
textScaleOf
|
|
163
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-JARJP576.js";
|
|
164
163
|
import {
|
|
165
164
|
DeferredCoreError,
|
|
166
165
|
asFirstFrame
|
|
@@ -168,11 +167,12 @@ import {
|
|
|
168
167
|
import {
|
|
169
168
|
resolveCanvasOptions,
|
|
170
169
|
resolveSize
|
|
171
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-FX5VZK5F.js";
|
|
172
171
|
import {
|
|
173
172
|
defaultMeasurer,
|
|
174
|
-
splitNameBreaks
|
|
175
|
-
|
|
173
|
+
splitNameBreaks,
|
|
174
|
+
wrapText
|
|
175
|
+
} from "./chunk-UIHGGWES.js";
|
|
176
176
|
|
|
177
177
|
// src/react/TableChart.tsx
|
|
178
178
|
import {
|
|
@@ -722,7 +722,7 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
722
722
|
handleRef,
|
|
723
723
|
onContentWidth,
|
|
724
724
|
fillHeight = !1,
|
|
725
|
-
rowLabelLead,
|
|
725
|
+
rowLabelLead: authoredRowLabelLead,
|
|
726
726
|
portalContainer,
|
|
727
727
|
onRowSelect: authoredRowSelect,
|
|
728
728
|
interactions = !0,
|
|
@@ -732,7 +732,7 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
732
732
|
isRowSelectable,
|
|
733
733
|
exporter,
|
|
734
734
|
...options
|
|
735
|
-
} = props, widthOptions = compiledRequest?.options ?? options, softLabelCap = widthOptions[SOFT_LABEL_CAP] === !0, labelWrapFloor = widthOptions[LABEL_WRAP_FLOOR] === !0, onRowSelect = interactions ? authoredRowSelect : void 0, sortable = interactions ? authoredSortable : !1, flags = hoverFlags(hover), container = useContainerSize({ size, target, fit, fallbackSize, needsHeight: fillHeight }), [scrollWidth, setScrollWidth] = useState3(), resolvedSize = size === "container" ? container.size : size, stableSize = useStableValue(typeof resolvedSize == "object" ? resolvedSize : {}), authoredTableOptions = {
|
|
735
|
+
} = props, widthOptions = compiledRequest?.options ?? options, softLabelCap = widthOptions[SOFT_LABEL_CAP] === !0, labelWrapFloor = widthOptions[LABEL_WRAP_FLOOR] === !0, onRowSelect = interactions ? authoredRowSelect : void 0, sortable = interactions ? authoredSortable : !1, flags = hoverFlags(hover), rowLabelLead = useStableValue(authoredRowLabelLead), container = useContainerSize({ size, target, fit, fallbackSize, needsHeight: fillHeight }), [scrollWidth, setScrollWidth] = useState3(), resolvedSize = size === "container" ? container.size : size, stableSize = useStableValue(typeof resolvedSize == "object" ? resolvedSize : {}), authoredTableOptions = {
|
|
736
736
|
...options,
|
|
737
737
|
// An authored sibling order goes back into the options the core resolves;
|
|
738
738
|
// a column sort is reader state and never reaches resolveTable.
|
|
@@ -745,7 +745,7 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
745
745
|
), { request, layoutRequest: fullLayoutRequest, provider, deferred } = useResolvedChartRequest({ type: "table", data, target, options: stableOptions, scope, fontMetrics }, {}, prepared, linked), { inlineVisibility: _inlineVisibility, ...valueOptions } = fullLayoutRequest?.options ?? {}, valueContext = useStableValue(fullLayoutRequest === void 0 ? void 0 : { ...fullLayoutRequest, data: void 0, options: valueOptions }), layoutRequest = useMemo2(() => valueContext === void 0 ? void 0 : { ...valueContext, data: fullLayoutRequest.data }, [valueContext, fullLayoutRequest?.data]), refusedProps = optionRefusals(stableOptions, "table", checkKeys, provider?.strings), failure = useDeferredModule(deferred), tableOptions = layoutRequest?.options, initialPrepared = usePrepared(prepared, fullLayoutRequest, "table", size === "container" ? fit : void 0, size === "container" ? container.fallback : void 0), { size: _resolveSize, ...sizeFreeOptions } = tableOptions ?? {}, resolveKey = useStableValue(tableOptions === void 0 ? void 0 : sizeFreeOptions), resolved = useMemo2(() => !layoutRequest || !tableOptions ? void 0 : initialPrepared ? { table: { ...initialPrepared.table, provenance: {} }, warnings: initialPrepared.warnings ?? [] } : resolveTable(layoutRequest.data, tableOptions), [layoutRequest?.data, resolveKey, initialPrepared]), rootsHidden = controlledRootsHidden ?? (resolved === void 0 ? !1 : expansionRootsHidden(resolved.table, tableOptions?.expansion)), [freshMount] = useState3(useSyncExternalStore(noSubscription, () => !0, () => !1)), waitsForWidth = container.waiting, theme = useStableValue(useMemo2(
|
|
746
746
|
() => request && !waitsForWidth ? tableRenderTheme(request) : void 0,
|
|
747
747
|
[request?.theme, request?.target, request?.size.width, tableOptions, waitsForWidth]
|
|
748
|
-
)), metricMeasure = request?.fontMetrics ?? defaultMeasurer, width = useWidthMeasure(metricMeasure, measureWidths === "browser"), statement = resolved?.table.rows.some((row) => row.sign === -1 || row.operator !== void 0 || row.kind === "subtotal" || row.kind === "result" || row.kind === "driver") ?? !1, cohort = tableOptions?.density?.startsWith("cohort") ?? !1, stylesheet = useMemo2(() => theme && tableStylesheet(theme, request?.target, statement, cohort, typeof stickyLabels == "object", textScaleOf(request?.options), tableOptions?.palette), [theme, request?.target, request?.options.textScale, request?.options.textSize, statement, cohort, typeof stickyLabels == "object", tableOptions?.palette]), themeScope = stylesheet === void 0 ? "" : stylesheetHash(stylesheet), floorRevision = useDeferredRevision(), sizeProp = useStableValue(size), floorAttempt = useMemo2(() => !fullLayoutRequest || !belowTableViewportFloor(fullLayoutRequest.options.size) ? {} : floorRevision === 0 ? asFirstFrame(linked ?? [], attemptFloor) : attemptFloor(), [fullLayoutRequest, originalFloorRequest, provider, scope, fontMetrics, floorRevision, sizeProp, container.pinnedHeight, data, target, stableOptions, linked]);
|
|
748
|
+
)), metricMeasure = request?.fontMetrics ?? defaultMeasurer, width = useWidthMeasure(metricMeasure, measureWidths === "browser"), statement = resolved?.table.rows.some((row) => row.sign === -1 || row.operator !== void 0 || row.kind === "subtotal" || row.kind === "result" || row.kind === "driver") ?? !1, cohort = tableOptions?.density?.startsWith("cohort") ?? !1, manyLabelLines = (tableOptions?.rowLabelLines ?? 2) > 2, stylesheet = useMemo2(() => theme && tableStylesheet(theme, request?.target, statement, cohort, typeof stickyLabels == "object", textScaleOf(request?.options), tableOptions?.palette, manyLabelLines), [theme, request?.target, request?.options.textScale, request?.options.textSize, statement, cohort, typeof stickyLabels == "object", tableOptions?.palette, manyLabelLines]), themeScope = useMemo2(() => stylesheet === void 0 ? "" : stylesheetHash(stylesheet), [stylesheet]), floorRevision = useDeferredRevision(), sizeProp = useStableValue(size), floorAttempt = useMemo2(() => !fullLayoutRequest || !belowTableViewportFloor(fullLayoutRequest.options.size) ? {} : floorRevision === 0 ? asFirstFrame(linked ?? [], attemptFloor) : attemptFloor(), [fullLayoutRequest, originalFloorRequest, provider, scope, fontMetrics, floorRevision, sizeProp, container.pinnedHeight, data, target, stableOptions, linked]);
|
|
749
749
|
function attemptFloor() {
|
|
750
750
|
if (!fullLayoutRequest) return {};
|
|
751
751
|
try {
|
|
@@ -769,7 +769,7 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
769
769
|
), floorFailure = useDeferredModule(floorAttempt.deferred), initialCollapsed = () => defaultCollapsed ?? (resolved ? [...collapsedByDefault(resolved.table)] : []), initialColumnVisibility = () => resolved ? columnVisibilityDefaults(resolved.table, defaultColumnVisibility) : {}, initialInlineVisibility = () => ({
|
|
770
770
|
...options.inlineVisibility,
|
|
771
771
|
...defaultInlineVisibility
|
|
772
|
-
}), isSortControlled = controlledSort === null || isColumnSort(controlledSort), [uncontrolledCollapsed, setUncontrolledCollapsed] = useState3(initialCollapsed), [uncontrolledColumnVisibility, setUncontrolledColumnVisibility] = useState3(initialColumnVisibility), [uncontrolledInlineVisibility, setUncontrolledInlineVisibility] = useState3(initialInlineVisibility), inlineVisibility = controlledInlineVisibility !== void 0 ? controlledInlineVisibility : uncontrolledInlineVisibility, [uncontrolledSort, setUncontrolledSort] = useState3(defaultSort ?? null), structureKey = useMemo2(
|
|
772
|
+
}), isSortControlled = controlledSort === null || isColumnSort(controlledSort), [uncontrolledCollapsed, setUncontrolledCollapsed] = useState3(initialCollapsed), [uncontrolledColumnVisibility, setUncontrolledColumnVisibility] = useState3(initialColumnVisibility), [uncontrolledInlineVisibility, setUncontrolledInlineVisibility] = useState3(initialInlineVisibility), inlineVisibility = useStableValue(controlledInlineVisibility !== void 0 ? controlledInlineVisibility : uncontrolledInlineVisibility), [uncontrolledSort, setUncontrolledSort] = useState3(defaultSort ?? null), structureKey = useMemo2(
|
|
773
773
|
() => resolved === void 0 ? "" : encodeStructuralIds(resolved.table.rows.map((row) => row.id)) + encodeStructuralIds(resolved.table.columns.map((column) => column.id)) + encodeStructuralIds(resolved.table.columnToggles.map((toggle) => toggle.id)),
|
|
774
774
|
[resolved?.table]
|
|
775
775
|
), expansionKey = resolved === void 0 ? void 0 : JSON.stringify(tableOptions?.expansion ?? null), [seenExpansionKey, setSeenExpansionKey] = useState3(expansionKey);
|
|
@@ -829,8 +829,9 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
829
829
|
emptyNotified.current || (emptyNotified.current = !0, emptyListener.current?.());
|
|
830
830
|
}, [isEmpty]);
|
|
831
831
|
let sortableIds = useMemo2(
|
|
832
|
-
|
|
833
|
-
|
|
832
|
+
// The sort controls live in the head, so no head means no sort control.
|
|
833
|
+
() => table && tableOptions?.columnHeads !== !1 ? sortableColumnIds(table, sortable) : /* @__PURE__ */ new Set(),
|
|
834
|
+
[table, sortable, tableOptions?.columnHeads]
|
|
834
835
|
), isCollapsedControlled = controlledCollapsed !== void 0, readOnlyTree = isCollapsedControlled && onCollapsedChange === void 0 || !interactions, collapsed = isCollapsedControlled ? controlledCollapsed : uncontrolledCollapsed, collapsedSet = useMemo2(() => {
|
|
835
836
|
let fixed = new Set((table?.rows ?? []).filter((row) => row.foldable === !1).map((row) => row.id));
|
|
836
837
|
return new Set(collapsed.filter((id) => !fixed.has(id)));
|
|
@@ -878,8 +879,8 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
878
879
|
}
|
|
879
880
|
return { banded, groupStart, groupEnd, groupRowStart, groundsOnly, divided };
|
|
880
881
|
}, [table, columns, tableOptions?.figures, tableOptions?.rowExtent]), density = tableOptions?.density ?? "regular", sticky = stickySettings(stickyLabels), stickyCount = sticky.columns, pageHead = sticky.head === "page", figures = printsFigures(tableOptions?.figures, columns), grid = useTableGridNavigation(rows, columns, table?.rows), summaryId = `bp-table-summary-${useScopedId(checkedIdPrefix(idPrefix))}`, allColumns = table?.columns ?? [], windowed = allColumns.length > WINDOW_COLUMNS, rowWindowed = useMemo2(
|
|
881
|
-
() => freshMount && typeof IntersectionObserver < "u" && !windowed && !sticky.sections && rowLabelLead === void 0 && rows.length > 500 && allColumns.every((column) => (column.kind === "rowLabel" || column.kind === "value" || column.kind === "computed") && !column.wrap && !(column.kind === "rowLabel" && tableOptions?.rowLabelLines !== 1 && (column.width !== void 0 || column.maxWidth !== void 0 || column.maxTextWidth !== void 0)) && (column.cellEncoding === void 0 || column.cellEncoding.type === "inCellBar")) && rows.every((row) => !row.hasChildren && !row.inlineRows?.length && row.role === "data" && row.unitAffix === void 0 && row.operator === void 0 && Object.values(row.cells).every((cell) => cell.note === void 0 && cell.href === void 0)),
|
|
882
|
-
[freshMount, windowed, sticky.sections, rowLabelLead, rows, allColumns, tableOptions?.rowLabelLines]
|
|
882
|
+
() => freshMount && tableOptions?.paintOffscreenRows !== !0 && typeof IntersectionObserver < "u" && !windowed && !sticky.sections && rowLabelLead === void 0 && rows.length > 500 && allColumns.every((column) => (column.kind === "rowLabel" || column.kind === "value" || column.kind === "computed") && !column.wrap && !(column.kind === "rowLabel" && tableOptions?.rowLabelLines !== 1 && (column.width !== void 0 || column.maxWidth !== void 0 || column.maxTextWidth !== void 0)) && (column.cellEncoding === void 0 || column.cellEncoding.type === "inCellBar")) && rows.every((row) => !row.hasChildren && !row.inlineRows?.length && row.role === "data" && row.unitAffix === void 0 && row.operator === void 0 && Object.values(row.cells).every((cell) => cell.note === void 0 && cell.href === void 0)),
|
|
883
|
+
[freshMount, tableOptions?.paintOffscreenRows, windowed, sticky.sections, rowLabelLead, rows, allColumns, tableOptions?.rowLabelLines]
|
|
883
884
|
), containRowPages = useMemo2(
|
|
884
885
|
() => rowWindowed && figures && rows.every((row) => row.step === 0 && row.kind === void 0 && row.spacer === void 0 && !row.divider && allColumns.some((column) => column.kind === "rowLabel" && row.cells[column.id]?.displayed !== "")),
|
|
885
886
|
[rowWindowed, figures, rows, allColumns]
|
|
@@ -957,10 +958,17 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
957
958
|
size,
|
|
958
959
|
fit
|
|
959
960
|
]), padX = measured?.cellPadX ?? 12, indents = measured?.indents ?? { base: 0, step: 16 }, operatorSlot = measured?.operatorSlot ?? 0, tracks = measured?.tracks ?? [], spacerWidths = measured?.spacerBefore ?? /* @__PURE__ */ new Map(), labelsWrap = measured?.labelsWrap ?? !1, diagnostics = useMemo2(() => layoutRequest && resolved ? {
|
|
960
|
-
warnings: [
|
|
961
|
+
warnings: [
|
|
962
|
+
...resolved.warnings,
|
|
963
|
+
...layoutRequest.inputWarnings ?? [],
|
|
964
|
+
...fittedNote === void 0 ? [] : [fittedNote],
|
|
965
|
+
...measured?.warnings ?? [],
|
|
966
|
+
...sized?.warnings ?? [],
|
|
967
|
+
...tableOptions?.columnHeads === !1 && sortable !== !1 && (sortable === !0 || sortable.length > 0) ? [SORT_WITHOUT_HEADS] : []
|
|
968
|
+
],
|
|
961
969
|
presentation: initialPrepared?.presentation ?? tablePresentation(layoutRequest, resolved.table),
|
|
962
970
|
refused: sized?.refused
|
|
963
|
-
} : void 0, [layoutRequest, resolved, initialPrepared, sized, fittedNote, measured?.warnings]), displayRef = useDisplayWarnings(settling ? void 0 : diagnostics, onWarnings, null), headFonts = measured?.fonts, frameRoom = !rowToFrame || tableOptions?.frameFill === "none" || available === void 0 ? void 0 : available - (measured?.spacerTotal ?? 0), reachFrame = rowToFrame && !(tableOptions?.rowExtent === void 0 && frameRoom !== void 0 && Math.floor(frameRoom - trackTotal(tracks)) >= 1), gridTracks = measured?.gridTracks ?? [], trackColumn = useMemo2(() => {
|
|
971
|
+
} : void 0, [layoutRequest, resolved, initialPrepared, sized, fittedNote, measured?.warnings, tableOptions?.columnHeads, sortable]), displayRef = useDisplayWarnings(settling ? void 0 : diagnostics, onWarnings, null), headFonts = measured?.fonts, frameRoom = !rowToFrame || tableOptions?.frameFill === "none" || available === void 0 ? void 0 : available - (measured?.spacerTotal ?? 0), reachFrame = rowToFrame && !(tableOptions?.rowExtent === void 0 && frameRoom !== void 0 && Math.floor(frameRoom - trackTotal(tracks)) >= 1), gridTracks = measured?.gridTracks ?? [], trackColumn = useMemo2(() => {
|
|
964
972
|
if (spacerWidths.size === 0 && !windowed) return;
|
|
965
973
|
let index = /* @__PURE__ */ new Map();
|
|
966
974
|
return gridTracks.forEach((track, position) => {
|
|
@@ -992,6 +1000,7 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
992
1000
|
hiddenColumns.has(column.id) || (x += width2.get(`bp-spacer:${column.id}`) ?? 0, left.set(column.id, x), x += width2.get(column.id) ?? 0);
|
|
993
1001
|
return { left, end: x, groupStart: [...groupMarks.groupStart].filter((id) => left.has(id) && !((width2.get(`bp-spacer:${id}`) ?? 0) > 0)) };
|
|
994
1002
|
}, [gridTracks, allColumns, hiddenColumns, groupMarks]), gridStyle = useMemo2(() => ({
|
|
1003
|
+
...manyLabelLines ? { "--bp-label-lines": tableOptions?.rowLabelLines } : {},
|
|
995
1004
|
// Under 'frame' the empty track is at least the right margin wide.
|
|
996
1005
|
// The scroll box reaches through the margin, so a grid whose
|
|
997
1006
|
// natural width left the margin out gave a card that sizes itself to
|
|
@@ -1010,7 +1019,7 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
1010
1019
|
"--bp-indent-base": `${indents.base}px`,
|
|
1011
1020
|
"--bp-indent-step": `${indents.step}px`,
|
|
1012
1021
|
...headFonts === void 0 ? {} : headVars(headFonts)
|
|
1013
|
-
}), [gridTracks, padX, headFonts, reachFrame, frameReach, frameStart, indents]), reachEnd = reachFrame && marginRight > 0 ? marginRight : 0, scrollStyle = frameStart + reachEnd > 0 ? {
|
|
1022
|
+
}), [manyLabelLines, tableOptions?.rowLabelLines, gridTracks, padX, headFonts, reachFrame, frameReach, frameStart, indents]), reachEnd = reachFrame && marginRight > 0 ? marginRight : 0, scrollStyle = frameStart + reachEnd > 0 ? {
|
|
1014
1023
|
...frameStart > 0 ? { marginInlineStart: -frameStart } : {},
|
|
1015
1024
|
...reachEnd > 0 ? { marginInlineEnd: -reachEnd } : {},
|
|
1016
1025
|
maxWidth: `calc(100% + ${frameStart + reachEnd}px)`
|
|
@@ -1109,15 +1118,15 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
1109
1118
|
}
|
|
1110
1119
|
plan.push(run = { from: index, to: index });
|
|
1111
1120
|
}), plan;
|
|
1112
|
-
}, [windowIds, allColumns, hiddenColumns]), stickySections = sticky.sections, stickyHeadMode = sticky.head, tableReady = table !== void 0;
|
|
1121
|
+
}, [windowIds, allColumns, hiddenColumns]), stickySections = sticky.sections, stickyHeadMode = sticky.head, headsShown = tableOptions?.columnHeads !== !1, tableReady = table !== void 0;
|
|
1113
1122
|
useEffect2(() => {
|
|
1114
1123
|
let element = grid.tableRef.current, head = element?.querySelector('[data-bp-rowgroup="head"]');
|
|
1115
1124
|
if (!stickySections || !element || !head) return;
|
|
1116
|
-
let apply = () => element.style.setProperty("--bp-head-h", `${stickyHeadMode === !1 ? 0 : head.offsetHeight}px`);
|
|
1125
|
+
let apply = () => element.style.setProperty("--bp-head-h", `${stickyHeadMode === !1 || !headsShown ? 0 : head.offsetHeight}px`);
|
|
1117
1126
|
apply();
|
|
1118
1127
|
let watch = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(apply);
|
|
1119
1128
|
return watch?.observe(head), () => watch?.disconnect();
|
|
1120
|
-
}, [stickySections, stickyHeadMode, tableReady, gridWidth]), useEffect2(() => {
|
|
1129
|
+
}, [stickySections, stickyHeadMode, headsShown, tableReady, gridWidth]), useEffect2(() => {
|
|
1121
1130
|
let element = grid.tableRef.current;
|
|
1122
1131
|
if (!pageHead || !stickySections || !element || headBox === null || scroller === null || floatClip === null || floatInner === null) return;
|
|
1123
1132
|
let frame2 = 0, update = () => {
|
|
@@ -1250,7 +1259,8 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
1250
1259
|
options: Object.fromEntries(Object.entries({
|
|
1251
1260
|
...originalFloorRequest.options,
|
|
1252
1261
|
expansion: { expanded: openParents(table, collapsedSet), collapsed: [...collapsedSet] },
|
|
1253
|
-
|
|
1262
|
+
// A DimSwitch's own columns left the compiled table, so the table's toggle state does not name them.
|
|
1263
|
+
columnVisibility: { ...originalFloorRequest.options.columnVisibility, ...columnVisibility },
|
|
1254
1264
|
inlineVisibility
|
|
1255
1265
|
}).filter(([, value]) => value !== void 0))
|
|
1256
1266
|
} }
|
|
@@ -1313,8 +1323,8 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
1313
1323
|
"data-bp-mark-style": theme?.table?.mark ?? (tableOptions.variant === "steering" ? "boxed" : "bare"),
|
|
1314
1324
|
"data-bp-end": void 0,
|
|
1315
1325
|
"data-bp-density": density,
|
|
1316
|
-
// A row label takes
|
|
1317
|
-
"data-bp-label-lines": tableOptions.rowLabelLines === 1 ?
|
|
1326
|
+
// A row label takes its `rowLabelLines` before its cut, two by default, as on the SVG.
|
|
1327
|
+
"data-bp-label-lines": tableOptions.rowLabelLines === 1 || manyLabelLines ? String(tableOptions.rowLabelLines) : void 0,
|
|
1318
1328
|
// 'sorted' keeps the chevron on the sorted header alone; the other
|
|
1319
1329
|
// sortable headers keep its reserve, so no track moves.
|
|
1320
1330
|
"data-bp-sort-indicator": tableOptions.sortIndicator === "sorted" ? "sorted" : void 0,
|
|
@@ -1339,9 +1349,15 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
1339
1349
|
trackColumn,
|
|
1340
1350
|
theme,
|
|
1341
1351
|
windowIds,
|
|
1342
|
-
wideGroups
|
|
1352
|
+
wideGroups,
|
|
1353
|
+
hidden: !headsShown
|
|
1343
1354
|
}
|
|
1344
|
-
),
|
|
1355
|
+
), deferLabelLines = manyLabelLines && measured !== void 0 ? (row) => {
|
|
1356
|
+
let column = allColumns.find((candidate) => candidate.kind === "rowLabel"), cell = column === void 0 ? void 0 : row.cells[column.id];
|
|
1357
|
+
if (column === void 0 || cell === void 0) return 0;
|
|
1358
|
+
let room = (measured.widths.get(column.id) ?? 0) - 2 * padX - measured.rowIndent(measured.indentStep(cell));
|
|
1359
|
+
return wrapText(cell.displayed, measured.cellFont(cell), Math.max(1, room), tableOptions.rowLabelLines, width.measure, !0).lines.length - 1;
|
|
1360
|
+
} : void 0, rowShared = {
|
|
1345
1361
|
palette: tableOptions.palette,
|
|
1346
1362
|
rowIndices,
|
|
1347
1363
|
columnIndices,
|
|
@@ -1351,6 +1367,9 @@ function DrawnTable({ table: props, checkKeys, linked }) {
|
|
|
1351
1367
|
collapsedSet,
|
|
1352
1368
|
closers,
|
|
1353
1369
|
mountCollapsed: tableOptions.mountCollapsed !== !1,
|
|
1370
|
+
paintOffscreenRows: tableOptions.paintOffscreenRows === !0,
|
|
1371
|
+
oneLineLabel: tableOptions.rowLabelLines === 1,
|
|
1372
|
+
deferLabelLines,
|
|
1354
1373
|
anchorWash: tableOptions.anchorWash === !0,
|
|
1355
1374
|
barMaxima,
|
|
1356
1375
|
grounds,
|
|
@@ -1522,7 +1541,7 @@ function groupColIndex(ids, indices) {
|
|
|
1522
1541
|
}
|
|
1523
1542
|
return first;
|
|
1524
1543
|
}
|
|
1525
|
-
|
|
1544
|
+
var TableHead = memo(function({
|
|
1526
1545
|
columnIndices,
|
|
1527
1546
|
table,
|
|
1528
1547
|
columns,
|
|
@@ -1536,7 +1555,8 @@ function TableHead({
|
|
|
1536
1555
|
trackColumn,
|
|
1537
1556
|
theme,
|
|
1538
1557
|
windowIds,
|
|
1539
|
-
wideGroups
|
|
1558
|
+
wideGroups,
|
|
1559
|
+
hidden
|
|
1540
1560
|
}) {
|
|
1541
1561
|
let hasSubLabels = columns.some((column) => column.subLabel !== void 0), groupById = new Map(table.columnGroups.map((group) => [group.id, group])), spanById = new Map(spans.map((span) => [span.id, span])), collapsedVisibility = Object.fromEntries(
|
|
1542
1562
|
table.columnToggles.map((toggle) => [toggle.id, !1])
|
|
@@ -1626,7 +1646,7 @@ function TableHead({
|
|
|
1626
1646
|
)
|
|
1627
1647
|
);
|
|
1628
1648
|
}
|
|
1629
|
-
return /* @__PURE__ */ jsxs2("div", { ref: headRef, role: "rowgroup", "data-bp-rowgroup": "head", children: [
|
|
1649
|
+
return /* @__PURE__ */ jsxs2("div", { ref: headRef, role: "rowgroup", "data-bp-rowgroup": "head", style: hidden ? HIDDEN_HEAD : void 0, children: [
|
|
1630
1650
|
table.columnGroups.some((group) => group.heading !== !1) ? /* @__PURE__ */ jsx3("div", { className: "bp-groups", role: "row", "aria-rowindex": 1, children: groupCells }) : null,
|
|
1631
1651
|
/* @__PURE__ */ jsx3("div", { className: "bp-columns", role: "row", "aria-rowindex": table.columnGroups.some((group) => group.heading !== !1) ? 2 : 1, children: columns.map((column) => {
|
|
1632
1652
|
if (windowIds !== void 0 && !windowIds.has(column.id))
|
|
@@ -1651,7 +1671,7 @@ function TableHead({
|
|
|
1651
1671
|
"data-bp-pin": pinned.has(column.id) ? "" : void 0,
|
|
1652
1672
|
"data-bp-pin-last": pinned.get(column.id)?.last === !0 ? "" : void 0,
|
|
1653
1673
|
style: headCellStyle(pinned.get(column.id), trackColumn?.get(column.id)),
|
|
1654
|
-
className: alignmentClass(column),
|
|
1674
|
+
className: alignmentClass({ align: column.headAlign ?? column.align }),
|
|
1655
1675
|
children: [
|
|
1656
1676
|
sortable ? /* @__PURE__ */ jsxs2(
|
|
1657
1677
|
"button",
|
|
@@ -1674,7 +1694,7 @@ function TableHead({
|
|
|
1674
1694
|
);
|
|
1675
1695
|
}) })
|
|
1676
1696
|
] });
|
|
1677
|
-
}
|
|
1697
|
+
});
|
|
1678
1698
|
function headText(column, theme) {
|
|
1679
1699
|
return `${fieldHeadText(column.label, theme ?? {})}${columnHeaderAffix(column)}`;
|
|
1680
1700
|
}
|
|
@@ -1685,25 +1705,24 @@ function headCellStyle(pin, gridColumn) {
|
|
|
1685
1705
|
...gridColumn === void 0 ? {} : { gridColumn }
|
|
1686
1706
|
};
|
|
1687
1707
|
}
|
|
1688
|
-
|
|
1708
|
+
var TableRowGroup = memo(function TableRowGroup2({ node, hidden, ...shared }) {
|
|
1689
1709
|
let collapsed = shared.collapsedSet.has(node.row.id), [closing, setClosing] = useState3(!1), [seenCollapsed, setSeenCollapsed] = useState3(collapsed);
|
|
1690
1710
|
seenCollapsed !== collapsed && (setSeenCollapsed(collapsed), setClosing(collapsed && !shared.mountCollapsed));
|
|
1691
|
-
let closed = useCallback2(() => setClosing(!1), []);
|
|
1711
|
+
let closed = useCallback2(() => setClosing(!1), []), deferred = !shared.mountCollapsed && !shared.paintOffscreenRows && node.children.length === 0;
|
|
1692
1712
|
return /* @__PURE__ */ jsxs2(
|
|
1693
1713
|
"div",
|
|
1694
1714
|
{
|
|
1695
1715
|
className: "bp-rowwrap",
|
|
1696
1716
|
"data-bp-row-wrap": node.row.id,
|
|
1697
|
-
"data-bp-defer-row":
|
|
1698
|
-
style:
|
|
1717
|
+
"data-bp-defer-row": deferred ? "" : void 0,
|
|
1718
|
+
style: deferred ? { "--bp-defer-lines": visibleInlineRows(node.row, shared.inlineVisibility).length, ...shared.deferLabelLines === void 0 ? {} : { "--bp-defer-label-lines": shared.deferLabelLines(node.row) } } : void 0,
|
|
1699
1719
|
children: [
|
|
1700
1720
|
/* @__PURE__ */ jsx3(TableGridRow, { row: node.row, collapsed, hidden, ...shared }),
|
|
1701
|
-
node.children.length > 0 && (shared.mountCollapsed || !collapsed || closing) ? /* @__PURE__ */ jsx3(TableChildren, { rowId: node.row.id, collapsed, onClosed: closing ? closed : void 0, children: node.children.map((child) => /* @__PURE__ */ jsx3(
|
|
1721
|
+
node.children.length > 0 && (shared.mountCollapsed || !collapsed || closing) ? /* @__PURE__ */ jsx3(TableChildren, { rowId: node.row.id, collapsed, onClosed: closing ? closed : void 0, children: node.children.map((child) => /* @__PURE__ */ jsx3(TableRowGroup2, { node: child, hidden: hidden || collapsed, ...shared }, child.row.id)) }) : null
|
|
1702
1722
|
]
|
|
1703
1723
|
}
|
|
1704
1724
|
);
|
|
1705
|
-
}
|
|
1706
|
-
var TableRowPage = memo(function({ nodes, index, contain, ...shared }) {
|
|
1725
|
+
}), TableRowPage = memo(function({ nodes, index, contain, ...shared }) {
|
|
1707
1726
|
return /* @__PURE__ */ jsx3(
|
|
1708
1727
|
"div",
|
|
1709
1728
|
{
|
|
@@ -1740,6 +1759,7 @@ function TableChildren({ rowId, collapsed, onClosed, children }) {
|
|
|
1740
1759
|
}
|
|
1741
1760
|
function TableGridRow({
|
|
1742
1761
|
palette,
|
|
1762
|
+
oneLineLabel,
|
|
1743
1763
|
row,
|
|
1744
1764
|
rowIndices,
|
|
1745
1765
|
columnIndices,
|
|
@@ -1850,6 +1870,7 @@ function TableGridRow({
|
|
|
1850
1870
|
column: rowLabel,
|
|
1851
1871
|
row,
|
|
1852
1872
|
mark,
|
|
1873
|
+
oneLineLabel,
|
|
1853
1874
|
after: /* @__PURE__ */ jsx3(CollapsedHint, { row, collapsed, count: childCount, levelNouns })
|
|
1854
1875
|
}
|
|
1855
1876
|
) : (
|
|
@@ -1858,7 +1879,7 @@ function TableGridRow({
|
|
|
1858
1879
|
// The line carries the mark too, so mark, heading and chip share one centre.
|
|
1859
1880
|
/* @__PURE__ */ jsxs2("span", { className: "bp-section-line", children: [
|
|
1860
1881
|
mark,
|
|
1861
|
-
/* @__PURE__ */ jsx3(CellContent, { cell: row.cells[rowLabel.id], column: rowLabel, row }),
|
|
1882
|
+
/* @__PURE__ */ jsx3(CellContent, { cell: row.cells[rowLabel.id], column: rowLabel, row, oneLineLabel }),
|
|
1862
1883
|
/* @__PURE__ */ jsx3("span", { className: "bp-section-badge", "data-tone": row.badge.tone === "neutral" ? void 0 : row.badge.tone, children: /* @__PURE__ */ jsx3("span", { className: "bp-chip", children: row.badge.text }) }),
|
|
1863
1884
|
/* @__PURE__ */ jsx3(CollapsedHint, { row, collapsed, count: childCount, levelNouns })
|
|
1864
1885
|
] })
|
|
@@ -1916,6 +1937,7 @@ function TableGridRow({
|
|
|
1916
1937
|
column,
|
|
1917
1938
|
row,
|
|
1918
1939
|
mark,
|
|
1940
|
+
oneLineLabel,
|
|
1919
1941
|
before: labelLead === void 0 ? void 0 : leadBox(labelLead, row),
|
|
1920
1942
|
barMaximum: barMaxima.get(column.id),
|
|
1921
1943
|
spark: {
|
|
@@ -2123,6 +2145,13 @@ function headVars(fonts) {
|
|
|
2123
2145
|
"--bp-group-head-tracking": `${face.letterSpacing}px`
|
|
2124
2146
|
};
|
|
2125
2147
|
}
|
|
2148
|
+
var SORT_WITHOUT_HEADS = {
|
|
2149
|
+
code: "column-heads-sortable",
|
|
2150
|
+
severity: "warn",
|
|
2151
|
+
field: ["options", "columnHeads"],
|
|
2152
|
+
message: "sortable has no effect under columnHeads: false, because the sort controls live in the head",
|
|
2153
|
+
suggest: "Remove sortable, or remove columnHeads."
|
|
2154
|
+
}, HIDDEN_HEAD = { position: "absolute", width: 1, height: 1, overflow: "hidden", clipPath: "inset(50%)", whiteSpace: "nowrap", border: 0 };
|
|
2126
2155
|
function alignmentClass(column) {
|
|
2127
2156
|
return column.align === "right" ? "bp-num" : column.align === "center" ? "bp-center" : void 0;
|
|
2128
2157
|
}
|
|
@@ -2281,7 +2310,8 @@ function CellContent({
|
|
|
2281
2310
|
spark,
|
|
2282
2311
|
after,
|
|
2283
2312
|
before,
|
|
2284
|
-
mark
|
|
2313
|
+
mark,
|
|
2314
|
+
oneLineLabel = !1
|
|
2285
2315
|
}) {
|
|
2286
2316
|
let main;
|
|
2287
2317
|
if (column.kind === "encoding" && row !== void 0 && spark !== void 0)
|
|
@@ -2311,7 +2341,7 @@ function CellContent({
|
|
|
2311
2341
|
} else column.cellEncoding?.type === "arrow" && column.kind === "computed" && column.polarity !== void 0 && cell.state === "value" && typeof cell.raw == "number" ? main = /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
2312
2342
|
/* @__PURE__ */ jsx3("span", { className: "bp-arrow", "aria-hidden": "true", children: arrowGlyph(printedNumber(cell), barMaximum, column.cellEncoding.scale) }),
|
|
2313
2343
|
cell.displayed
|
|
2314
|
-
] }) : column.kind === "rowLabel" ? main = splitNameBreaks(cell.displayed).flatMap((piece, index) => index === 0 ? [piece] : [/* @__PURE__ */ jsx3("wbr", {}, index), piece]) : main = cell.displayed;
|
|
2344
|
+
] }) : column.kind === "rowLabel" ? main = oneLineLabel ? cell.displayed : splitNameBreaks(cell.displayed).flatMap((piece, index) => index === 0 ? [piece] : [/* @__PURE__ */ jsx3("wbr", {}, index), piece]) : main = cell.displayed;
|
|
2315
2345
|
let underLabel = column.kind === "rowLabel" && cell.note !== void 0, onItsOwnLine = underLabel || column.noteLine === !0, unit = column.kind === "rowLabel" ? row?.unitAffix : void 0, content = /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
2316
2346
|
before,
|
|
2317
2347
|
column.kind === "rowLabel" && row?.operator !== void 0 ? /* @__PURE__ */ jsx3("span", { className: "bp-operator", "aria-hidden": "true", children: row.operator }) : null,
|
|
@@ -2378,7 +2408,7 @@ registeredType(tableCore);
|
|
|
2378
2408
|
publishTableChart(TableChart);
|
|
2379
2409
|
|
|
2380
2410
|
// src/react/charts/table.ts
|
|
2381
|
-
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 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, showRestCount: 0, threshold: 0 }, highlight: 0, focus: sharedKeys5, colorblindSafe: 0, interactive: 0,
|
|
2411
|
+
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 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, showRestCount: 0, threshold: 0 }, highlight: 0, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, mountCollapsed: 0, paintOffscreenRows: 0, signs: 0, driverTones: 0, judgements: 0, variant: 0, encodings: sharedKeys7, totalPosition: 0, density: 0, nulls: 0, figures: 0, expansion: { depth: 0, collapsed: 0, expanded: 0, rootsHidden: 0 }, columnVisibility: 0, columnHeads: 0, inlineVisibility: 0, magnitude: 0, foldOn: 0, groupGround: 0, anchorWash: 0, stickyLabels: { head: 0, columns: 0, top: 0, sections: 0 }, frameFill: 0, heightFill: 0, rowLabelLines: 0, lastTrackFlex: 0, rowExtent: 0, sortIndicator: 0, levelOffset: 0, cellPadX: 0, groupRule: 0, groupAlign: 0, fitFormats: 0, maxGrowth: 0, labelIndent: { base: 0, step: 0 }, outlineMarks: 0 } }), TableChart2 = withRegistered(createTableChart(checkOptionKeys), registeredType(tableCore));
|
|
2382
2412
|
|
|
2383
2413
|
export {
|
|
2384
2414
|
useRowsGate,
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// src/core/charts/heatmap/columnTracks.ts
|
|
2
|
+
function matrixTracks(ids, room, gap, widthOf, keepOf) {
|
|
3
|
+
let asked = ids.map(widthOf);
|
|
4
|
+
if (asked.every((width) => width === void 0)) return;
|
|
5
|
+
let cells = Math.max(1, room - (ids.length - 1) * gap), keeps = ids.map(keepOf), wanted = asked.map((width, i) => width === void 0 ? void 0 : Math.max(keeps[i], width)), keepSum = keeps.reduce((sum, value) => sum + value, 0), keepScale = keepSum > cells ? cells / keepSum : 1, floors = keeps.map((keep) => keep * keepScale), surplus = wanted.map((width, i) => width === void 0 ? 0 : Math.max(0, width - floors[i])), surplusSum = surplus.reduce((sum, value) => sum + value, 0), spare = Math.max(0, cells - floors.reduce((sum, value) => sum + value, 0)), scale = surplusSum > spare ? spare / surplusSum : 1, set = wanted.map((width, i) => width === void 0 ? void 0 : floors[i] + surplus[i] * scale), setSum = set.reduce((sum, width) => sum + (width ?? 0), 0), free = set.filter((width) => width === void 0).length, share = free > 0 ? (cells - setSum) / free : 0, widths = set.map((width) => width ?? share), at = 0, lefts = widths.map((width) => {
|
|
6
|
+
let left = at;
|
|
7
|
+
return at += width + gap, left;
|
|
8
|
+
});
|
|
9
|
+
return {
|
|
10
|
+
widths,
|
|
11
|
+
lefts,
|
|
12
|
+
authored: asked.map((width) => width !== void 0),
|
|
13
|
+
gridW: free > 0 ? Math.max(room, at - gap) : at - gap,
|
|
14
|
+
capped: scale < 1 ? ids.filter((_, i) => surplus[i] > 0) : [],
|
|
15
|
+
floored: ids.filter((_, i) => asked[i] !== void 0 && asked[i] < keeps[i])
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function widthCapped(type, id) {
|
|
19
|
+
return {
|
|
20
|
+
code: "generated-column-width-capped",
|
|
21
|
+
severity: "warn",
|
|
22
|
+
field: ["options", "columnOverrides", id, "width"],
|
|
23
|
+
message: `columnOverrides.${id}.width is wider than this ${type} has room for, so the column stops where the other columns keep their minimum`,
|
|
24
|
+
suggest: "Set a smaller width, or draw the chart wider."
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function widthFloored(type, id) {
|
|
28
|
+
return {
|
|
29
|
+
code: "generated-column-width-floored",
|
|
30
|
+
severity: "warn",
|
|
31
|
+
field: ["options", "columnOverrides", id, "width"],
|
|
32
|
+
message: `columnOverrides.${id}.width is narrower than this ${type} column can draw, so the column stops at its minimum`,
|
|
33
|
+
suggest: "Set a larger width, or remove it."
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function overrideIgnored(id, key, reason) {
|
|
37
|
+
return {
|
|
38
|
+
code: "option-ignored",
|
|
39
|
+
severity: "warn",
|
|
40
|
+
field: ["options", "columnOverrides", id, key],
|
|
41
|
+
message: `columnOverrides.${id}.${key} has no effect: ${reason}`,
|
|
42
|
+
suggest: `Remove columnOverrides.${id}.${key}.`,
|
|
43
|
+
fix: [{ op: "remove", path: `/options/columnOverrides/${id}/${key}` }]
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
var bodyText = (geometry) => new Map(geometry.scene.flatMap((node) => node.t === "text" && (node.id.startsWith("label:") || node.id.startsWith("frame:legendLabel")) ? [[node.id, node.lines.join("").replace(/\s+/g, "")]] : [])), cutIds = (geometry) => geometry.labels.filter((label) => !label.hidden && label.title !== void 0).map((label) => label.id), refuses = (drawn) => drawn.refused === !0 || drawn.warnings.some((warning) => warning.severity === "error");
|
|
47
|
+
function losesText(drawn, natural) {
|
|
48
|
+
if (refuses(natural)) return !1;
|
|
49
|
+
if (refuses(drawn)) return !0;
|
|
50
|
+
let printed = bodyText(drawn);
|
|
51
|
+
for (let [id, words] of bodyText(natural)) {
|
|
52
|
+
let now = printed.get(id);
|
|
53
|
+
if (now !== words && !(now !== void 0 && words.endsWith("\u2026") && now.startsWith(words.slice(0, -1)))) return !0;
|
|
54
|
+
}
|
|
55
|
+
let cut = new Set(cutIds(natural));
|
|
56
|
+
return cutIds(drawn).some((id) => !cut.has(id));
|
|
57
|
+
}
|
|
58
|
+
var hidesLabel = (drawn) => drawn.labels.some((label) => label.hidden) || drawn.warnings.some((warning) => warning.code === "label-hidden");
|
|
59
|
+
function yieldingWidths(type, layout, trackIds, readers) {
|
|
60
|
+
return (data, options) => {
|
|
61
|
+
let drawn = layout(data, options), read = options ?? {}, overrides = read.columnOverrides;
|
|
62
|
+
if (overrides === void 0 || drawn.warnings.some((warning) => warning.code === "invalid-options")) return drawn;
|
|
63
|
+
let tracks = new Set(trackIds(data)), without = (widths, heads) => ({
|
|
64
|
+
...read,
|
|
65
|
+
columnOverrides: Object.fromEntries(Object.entries(overrides).map(([id, override]) => {
|
|
66
|
+
let { width, align, headAlign, ...rest } = override ?? {};
|
|
67
|
+
return [id, {
|
|
68
|
+
...rest,
|
|
69
|
+
...width === void 0 || widths.includes(id) ? {} : { width },
|
|
70
|
+
...align === void 0 || heads.includes(id) ? {} : { align },
|
|
71
|
+
...headAlign === void 0 || heads.includes(id) ? {} : { headAlign }
|
|
72
|
+
}];
|
|
73
|
+
}))
|
|
74
|
+
}), result = drawn, warnings = [], widthIds = Object.keys(overrides).filter((id) => overrides[id]?.width !== void 0 && (id === "label" || tracks.has(id))), gone = [], natural = widthIds.length > 0 ? layout(data, without(widthIds, [])) : drawn;
|
|
75
|
+
if (losesText(drawn, natural)) {
|
|
76
|
+
for (let id of widthIds)
|
|
77
|
+
if (gone.push(id), result = layout(data, without(gone, [])), !losesText(result, natural)) break;
|
|
78
|
+
let share = (read.size?.width ?? 720) / (tracks.size + 1);
|
|
79
|
+
for (let id of gone) warnings.push(overrides[id].width < share ? widthFloored(type, id) : widthCapped(type, id));
|
|
80
|
+
}
|
|
81
|
+
let headIds = Object.keys(overrides).filter((id) => tracks.has(id) && (overrides[id]?.headAlign !== void 0 || overrides[id]?.align !== void 0));
|
|
82
|
+
if (headIds.length > 0 && !refuses(result) && hidesLabel(result)) {
|
|
83
|
+
let plainHeads = layout(data, without(gone, headIds));
|
|
84
|
+
if (losesText(result, plainHeads)) {
|
|
85
|
+
let stripped = [];
|
|
86
|
+
for (let id of headIds) {
|
|
87
|
+
stripped.push(id), result = layout(data, without(gone, stripped));
|
|
88
|
+
for (let key of ["headAlign", "align"]) overrides[id]?.[key] !== void 0 && warnings.push(overrideIgnored(id, key, "at this size it would hide a head"));
|
|
89
|
+
if (!losesText(result, plainHeads)) break;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
if (headIds.length > 0 && !refuses(result)) {
|
|
94
|
+
let placed = result.labels.filter((label) => !label.hidden).map((label) => label.id), known = new Set([...result.warnings, ...warnings].map((warning) => `${warning.code}:${(warning.field ?? []).join(".")}`)), silent = (id, key) => {
|
|
95
|
+
known.has(`option-ignored:options.columnOverrides.${id}.${key}`) || warnings.push(overrideIgnored(id, key, "this column prints no text that reads it at this size"));
|
|
96
|
+
};
|
|
97
|
+
for (let id of headIds) {
|
|
98
|
+
let override = overrides[id], head = placed.includes(readers.head(id)), cell = placed.some((label) => readers.cell(label, id, data));
|
|
99
|
+
override.headAlign !== void 0 && !head && silent(id, "headAlign"), override.align !== void 0 && !cell && (!head || override.headAlign !== void 0) && silent(id, "align");
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return warnings.length === 0 ? result : { ...result, warnings: [...result.warnings, ...warnings] };
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function nameTrackRefusals(overrides, columnIds) {
|
|
106
|
+
return overrides?.label === void 0 || columnIds.includes("label") ? [] : ["label", "headAlign"].flatMap((key) => overrides.label[key] === void 0 ? [] : [{
|
|
107
|
+
code: "invalid-options",
|
|
108
|
+
severity: "error",
|
|
109
|
+
field: ["options", "columnOverrides", "label", key],
|
|
110
|
+
message: `columnOverrides.label.${key} has no head to set: the row names print no head`,
|
|
111
|
+
suggest: `Remove columnOverrides.label.${key}.`,
|
|
112
|
+
fix: [{ op: "remove", path: `/options/columnOverrides/label/${key}` }]
|
|
113
|
+
}]);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export {
|
|
117
|
+
matrixTracks,
|
|
118
|
+
widthCapped,
|
|
119
|
+
widthFloored,
|
|
120
|
+
overrideIgnored,
|
|
121
|
+
yieldingWidths,
|
|
122
|
+
nameTrackRefusals
|
|
123
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
layoutTableCard
|
|
3
|
-
|
|
2
|
+
layoutTableCard,
|
|
3
|
+
prepareTableCardExecutor
|
|
4
|
+
} from "./chunk-XN7JDII2.js";
|
|
4
5
|
import {
|
|
5
6
|
chartSizing
|
|
6
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AFGQXMKT.js";
|
|
7
8
|
|
|
8
9
|
// src/core/charts/table/core.ts
|
|
9
10
|
var tableCore = {
|
|
@@ -13,6 +14,10 @@ var tableCore = {
|
|
|
13
14
|
summary: "Consulting-grade table: hierarchy with honest totals (derive/validate/source), typed calc columns, status chips, composite cells \u2014 self-verifying via computed-cell records",
|
|
14
15
|
aliases: ["tbl"],
|
|
15
16
|
layout: layoutTableCard,
|
|
17
|
+
prepareLayout(data) {
|
|
18
|
+
let run = prepareTableCardExecutor(data);
|
|
19
|
+
return (_data, options) => run(options);
|
|
20
|
+
},
|
|
16
21
|
defaults: { variant: "hierarchy", density: "regular" },
|
|
17
22
|
annotationKinds: []
|
|
18
23
|
};
|