boardplot 0.61.0 → 0.62.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.
Files changed (397) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -2
  3. package/dist/{ReaderBox-75LYQMSA.js → ReaderBox-5QFALZHR.js} +5 -5
  4. package/dist/{annotateEngine-CL6ZSRGG.js → annotateEngine-ONWZYNEM.js} +1 -1
  5. package/dist/build-identity.json +3 -3
  6. package/dist/{chunk-CWP5ZYVQ.js → chunk-23YYVMWH.js} +1 -1
  7. package/dist/{chunk-MNPNLXSI.js → chunk-2MK5437T.js} +7 -7
  8. package/dist/{chunk-V3YQQDR4.js → chunk-2P5KBQLT.js} +4 -4
  9. package/dist/{chunk-WVYC6MR6.js → chunk-2VUEIEUO.js} +2 -2
  10. package/dist/{chunk-TASEX7VA.js → chunk-2YXO645A.js} +1 -1
  11. package/dist/{chunk-36KGPRMX.js → chunk-35JGEMCK.js} +35 -28
  12. package/dist/{chunk-VITZVVCD.js → chunk-3DXOZRRW.js} +3 -3
  13. package/dist/{chunk-RV6JDD6S.js → chunk-3H72EFNC.js} +4 -4
  14. package/dist/{chunk-RDJ3ZU6O.js → chunk-3KYSWAEH.js} +13 -8
  15. package/dist/{chunk-WQPMBAG2.js → chunk-3QJVBKRX.js} +37 -37
  16. package/dist/{chunk-T2DGSOAH.js → chunk-3YSLEJPV.js} +1 -1
  17. package/dist/{chunk-DBKMJWPO.js → chunk-3Z4I6LNK.js} +1 -1
  18. package/dist/{chunk-OYCEFOIW.js → chunk-476R7YF4.js} +16 -16
  19. package/dist/{chunk-P3CZFAFA.js → chunk-47IEMR6C.js} +22 -18
  20. package/dist/{chunk-757IKZZU.js → chunk-4HZKH4HS.js} +2 -2
  21. package/dist/{chunk-BKUTKQMT.js → chunk-4NGKSJBX.js} +72 -22
  22. package/dist/{chunk-ZT5Q6BRT.js → chunk-4SK4IGMK.js} +3 -3
  23. package/dist/{chunk-QK2OFTEB.js → chunk-4TTNLFTJ.js} +1 -1
  24. package/dist/{chunk-RD24ORGR.js → chunk-4XDWZJUX.js} +2 -1
  25. package/dist/{chunk-TS472T4D.js → chunk-5FG24HFB.js} +4 -4
  26. package/dist/{chunk-2X6672YL.js → chunk-5J2PQ5EZ.js} +4 -4
  27. package/dist/{chunk-IXCDKCYE.js → chunk-5LUHGXXE.js} +1 -1
  28. package/dist/{chunk-FYFXOLWI.js → chunk-5OUURZ2T.js} +70 -58
  29. package/dist/{chunk-OLEUVUH3.js → chunk-64D7CHCE.js} +4 -4
  30. package/dist/{chunk-WOTRCVA5.js → chunk-6LYMOF2S.js} +3 -3
  31. package/dist/{chunk-6R6LM337.js → chunk-6MXRNA4Z.js} +17 -17
  32. package/dist/{chunk-3GL23VOF.js → chunk-6OM5IYNK.js} +65 -10
  33. package/dist/{chunk-JTCXK7AG.js → chunk-6PR23T2O.js} +1 -1
  34. package/dist/{chunk-VGOZOBNB.js → chunk-6QQPQ2TX.js} +1 -1
  35. package/dist/{chunk-BQBD6Q5J.js → chunk-6RRK3VFP.js} +1 -1
  36. package/dist/{chunk-YM7MO7WI.js → chunk-6WEJGZVQ.js} +1 -1
  37. package/dist/{chunk-SJORKHHL.js → chunk-6XDX3MIU.js} +5 -5
  38. package/dist/{chunk-Y7O3T4DF.js → chunk-75OLP5KB.js} +32 -32
  39. package/dist/{chunk-UIHGGWES.js → chunk-77LQEREO.js} +1 -1
  40. package/dist/{chunk-PRVX4PAO.js → chunk-7JSGG67J.js} +1 -1
  41. package/dist/{chunk-57XHIICM.js → chunk-7NUNEVOU.js} +14 -9
  42. package/dist/{chunk-7ZPHJOG6.js → chunk-7OT6CVQT.js} +1 -1
  43. package/dist/{chunk-EU45YU5W.js → chunk-7R43Y35G.js} +1 -1
  44. package/dist/{chunk-HTLEHU5D.js → chunk-7RAF2HJA.js} +2 -2
  45. package/dist/{chunk-5JZQXMXU.js → chunk-7S57SH2K.js} +9 -9
  46. package/dist/{chunk-HS4DLZ6H.js → chunk-7ZYGEPY2.js} +52 -28
  47. package/dist/{chunk-2KGF6AIK.js → chunk-ABUJPENV.js} +53 -42
  48. package/dist/{chunk-EV3GY7Y3.js → chunk-ADVFTNDL.js} +4 -4
  49. package/dist/{chunk-NNOKYAFB.js → chunk-AFONROHX.js} +2 -2
  50. package/dist/{chunk-MYYDNK72.js → chunk-AO73FLJT.js} +4 -4
  51. package/dist/{chunk-L6OMA45Q.js → chunk-AU2TQN6F.js} +3 -3
  52. package/dist/{chunk-NJKUODK3.js → chunk-BFHAYXUU.js} +2 -2
  53. package/dist/{chunk-6U4J3T2G.js → chunk-BFJKH4AX.js} +1 -1
  54. package/dist/{chunk-3JG764MI.js → chunk-BHO5H4AF.js} +43 -15
  55. package/dist/{chunk-E7FWHKCI.js → chunk-BKZF27CE.js} +2 -2
  56. package/dist/{chunk-VFXGAEUO.js → chunk-BR2ADMLU.js} +1 -1
  57. package/dist/{chunk-OP7K5NSS.js → chunk-BZUHBKMK.js} +4 -4
  58. package/dist/{chunk-RTSSUQ25.js → chunk-C2X6NYMY.js} +1 -1
  59. package/dist/{chunk-R3IPQHWC.js → chunk-C3ULVZI7.js} +2 -2
  60. package/dist/{chunk-ESZIJ5Z6.js → chunk-CFT6W2QY.js} +3 -3
  61. package/dist/{chunk-2BF6HZV7.js → chunk-CPBJII5T.js} +5 -5
  62. package/dist/{chunk-B62SEOJC.js → chunk-CTRPRU4Y.js} +16 -13
  63. package/dist/{chunk-7D65YEEY.js → chunk-CWBM7MXM.js} +3 -3
  64. package/dist/{chunk-OIMT2SSN.js → chunk-CZZXZFYL.js} +2 -2
  65. package/dist/{chunk-7SSN5ECA.js → chunk-D2I2BUR6.js} +1 -1
  66. package/dist/{chunk-ASRICUAD.js → chunk-DCFK2BUL.js} +2 -2
  67. package/dist/{chunk-JXHTZVSV.js → chunk-DVQR5SFL.js} +2 -2
  68. package/dist/{chunk-6JOLPUTW.js → chunk-DWEVPNNE.js} +2 -2
  69. package/dist/{chunk-NCKINI7K.js → chunk-DYG4XMCC.js} +5 -5
  70. package/dist/{chunk-ZMZNMVPR.js → chunk-E46KFVP5.js} +11 -11
  71. package/dist/{chunk-DITI57ZB.js → chunk-EKKRDPVW.js} +1 -1
  72. package/dist/{chunk-PH274WAF.js → chunk-ELFF5YO7.js} +8 -8
  73. package/dist/{chunk-YO7LCXKN.js → chunk-EPRJX5BI.js} +2 -2
  74. package/dist/{chunk-OGD23BIK.js → chunk-EPS7N5ZS.js} +5 -2
  75. package/dist/{chunk-MM2ADIPB.js → chunk-ERIMFXE3.js} +1 -1
  76. package/dist/{chunk-IKTAVMF2.js → chunk-ESS7GAO5.js} +15 -15
  77. package/dist/{chunk-TIVUSWGT.js → chunk-EW77WN7V.js} +2 -2
  78. package/dist/{chunk-56PPEORW.js → chunk-F2IGRFYM.js} +23 -23
  79. package/dist/{chunk-XGJZRPHC.js → chunk-F7LDXGWD.js} +11 -11
  80. package/dist/{chunk-JZK6ZPUM.js → chunk-FC6H5ATA.js} +2 -2
  81. package/dist/{chunk-FTIQ6TI2.js → chunk-FI5VGWUQ.js} +2 -2
  82. package/dist/{chunk-YSKLERPF.js → chunk-FPF73SCJ.js} +18 -15
  83. package/dist/{chunk-JEAUVQTV.js → chunk-FSRAPSO7.js} +25 -25
  84. package/dist/{chunk-JLJ4QRAE.js → chunk-FXKGNJYB.js} +17 -17
  85. package/dist/{chunk-25JXYOSX.js → chunk-FXQH2QJN.js} +1 -1
  86. package/dist/{chunk-EL5E6O3K.js → chunk-GA7CIH6N.js} +23 -18
  87. package/dist/{chunk-KTFUYWN2.js → chunk-GCOFMXFJ.js} +5 -5
  88. package/dist/{chunk-OQKVFWAO.js → chunk-GGWYJNHH.js} +4 -4
  89. package/dist/{chunk-352V2W5P.js → chunk-GNSAYVND.js} +2 -2
  90. package/dist/{chunk-UFKLGMYZ.js → chunk-H7K3RXBQ.js} +1 -1
  91. package/dist/{chunk-EAMZDY55.js → chunk-HCAPGTEA.js} +1 -1
  92. package/dist/{chunk-2T22INLD.js → chunk-HUU76QHF.js} +1 -1
  93. package/dist/{chunk-CVUHCNQO.js → chunk-HV6OKHM6.js} +1 -1
  94. package/dist/{chunk-SSVOJXFR.js → chunk-HYBGISXA.js} +3 -3
  95. package/dist/{chunk-EWG3PCYJ.js → chunk-I37SEVQ4.js} +104 -68
  96. package/dist/{chunk-B76O5YXI.js → chunk-I3UJHKCS.js} +3 -3
  97. package/dist/{chunk-IIKM6NXU.js → chunk-I56NIVFF.js} +4 -4
  98. package/dist/{chunk-5DH5ACTO.js → chunk-IDMGFWB7.js} +132 -114
  99. package/dist/{chunk-YDYZWCUQ.js → chunk-IHZNRJEV.js} +1 -1
  100. package/dist/{chunk-RT4V47U6.js → chunk-IMKHDTEQ.js} +1 -1
  101. package/dist/{chunk-LEPXK7RN.js → chunk-ISNWAYX2.js} +3 -3
  102. package/dist/{chunk-G3CVCW5K.js → chunk-ITPXKZXT.js} +82 -79
  103. package/dist/{chunk-L5RZFP5B.js → chunk-J233F6JA.js} +3 -3
  104. package/dist/{chunk-EQDLZGZO.js → chunk-J6WWK4VC.js} +1 -1
  105. package/dist/{chunk-NJVXE2DU.js → chunk-J77EYTIA.js} +2 -2
  106. package/dist/{chunk-YZW4VLSO.js → chunk-JCZ64D4G.js} +4 -4
  107. package/dist/{chunk-VE6P436Y.js → chunk-JEC6YG2C.js} +34 -20
  108. package/dist/{chunk-GRMAYSIG.js → chunk-JV3S3OCN.js} +19 -18
  109. package/dist/{chunk-F2IHSUPI.js → chunk-K2ZDFPYP.js} +5 -5
  110. package/dist/{chunk-RXC3XU62.js → chunk-K3METEEY.js} +131 -30
  111. package/dist/{chunk-JLZFXNUE.js → chunk-K464WFSQ.js} +4 -4
  112. package/dist/{chunk-CYMSES53.js → chunk-KDRI3KHH.js} +7 -2
  113. package/dist/{chunk-QSMKLDAO.js → chunk-KK7UXU2E.js} +3 -3
  114. package/dist/{chunk-LLHCEZV2.js → chunk-KNTNUQNS.js} +8 -8
  115. package/dist/{chunk-QZAT46PP.js → chunk-KRSI6U6L.js} +1 -0
  116. package/dist/{chunk-T6XSXJDQ.js → chunk-KU5WGRQJ.js} +26 -26
  117. package/dist/{chunk-KY5MSTME.js → chunk-KWBG3P7W.js} +4 -4
  118. package/dist/{chunk-U2YWY6FH.js → chunk-KWKJYMXJ.js} +3 -3
  119. package/dist/{chunk-THKVAXTQ.js → chunk-KWTVCTWS.js} +246 -83
  120. package/dist/{chunk-7ZHM37LQ.js → chunk-KZ7ECRPL.js} +3 -3
  121. package/dist/{chunk-HUCUNGHB.js → chunk-L46NAICE.js} +5 -5
  122. package/dist/{chunk-64577PGJ.js → chunk-L4VGGSB3.js} +4 -4
  123. package/dist/{chunk-YXHSM7QL.js → chunk-L6T7FXEM.js} +6 -6
  124. package/dist/{chunk-XMI7SCPX.js → chunk-LE6QYQRU.js} +2 -2
  125. package/dist/{chunk-WDLWWEHZ.js → chunk-LIMLKOX7.js} +1 -1
  126. package/dist/{chunk-H5YDEIY2.js → chunk-LK5V7U6C.js} +5 -5
  127. package/dist/{chunk-533SNVDD.js → chunk-LNBYRD5Q.js} +4 -4
  128. package/dist/{chunk-USK77VAZ.js → chunk-LTEGXWSU.js} +4 -4
  129. package/dist/{chunk-TB734IYI.js → chunk-LUIHCUMB.js} +4 -4
  130. package/dist/{chunk-TL5ICZT2.js → chunk-MAA5IGGT.js} +2 -2
  131. package/dist/{chunk-MNVMTW7K.js → chunk-MDGVRYXX.js} +18 -18
  132. package/dist/{chunk-M2LYZUQA.js → chunk-MEIDC7ZF.js} +4 -4
  133. package/dist/{chunk-XTECBM5K.js → chunk-MTJZT6F2.js} +5 -5
  134. package/dist/{chunk-P3TOPI3M.js → chunk-MUYU6KTM.js} +1 -1
  135. package/dist/{chunk-F2WMTUWC.js → chunk-MVA2JWM4.js} +2 -2
  136. package/dist/{chunk-EIQTUVJT.js → chunk-MYDVNJAA.js} +1 -1
  137. package/dist/{chunk-I3GRAQHO.js → chunk-NFEVGJJ6.js} +13 -13
  138. package/dist/{chunk-JUTMQGKU.js → chunk-NFSG2WBI.js} +4 -4
  139. package/dist/{chunk-UERGJOG4.js → chunk-NFYF7P6H.js} +36 -28
  140. package/dist/{chunk-E6IN6QDF.js → chunk-NL2K3CZM.js} +5 -5
  141. package/dist/{chunk-VJAZFGBY.js → chunk-NTONEZH5.js} +20 -20
  142. package/dist/{chunk-QER2YJHC.js → chunk-NTSJ2RXB.js} +4 -4
  143. package/dist/{chunk-OIPBVU7G.js → chunk-NVPORMKX.js} +15 -15
  144. package/dist/{chunk-PGKGK43I.js → chunk-NXA2CNVU.js} +16 -10
  145. package/dist/{chunk-R2RLERPT.js → chunk-NYROTVGH.js} +1 -1
  146. package/dist/{chunk-IKH3DWS2.js → chunk-NZHIXLKM.js} +19 -17
  147. package/dist/{chunk-5ZGCGIHG.js → chunk-OCANU74G.js} +3 -3
  148. package/dist/{chunk-EM33NXGZ.js → chunk-OF4VHET3.js} +4 -4
  149. package/dist/{chunk-UXJXA4NP.js → chunk-OJLXBFI3.js} +1 -1
  150. package/dist/{chunk-BJ5GI5ZB.js → chunk-OLXZXEKQ.js} +1 -1
  151. package/dist/{chunk-FKRL2ZB2.js → chunk-OQGSYQLE.js} +1 -1
  152. package/dist/{chunk-A4UL5GIM.js → chunk-OQQGM2TM.js} +1 -1
  153. package/dist/{chunk-EOPDGMDS.js → chunk-OQRTTGYP.js} +22 -1
  154. package/dist/{chunk-35RSAHLK.js → chunk-OQTD4GN4.js} +1 -1
  155. package/dist/{chunk-UXAON5DO.js → chunk-OXWIBDJP.js} +2 -2
  156. package/dist/{chunk-F7QCIJAY.js → chunk-OYDZO5BR.js} +1 -1
  157. package/dist/{chunk-OR7KKODW.js → chunk-PDUF6EII.js} +9 -9
  158. package/dist/{chunk-XLP6U3FG.js → chunk-PHRQAWK4.js} +2 -2
  159. package/dist/{chunk-FY3VV7TF.js → chunk-PM5D5KYQ.js} +67 -30
  160. package/dist/{chunk-TI5PPS3L.js → chunk-Q5BD6PMX.js} +19 -19
  161. package/dist/{chunk-LMDU5MNF.js → chunk-QEEE2WH5.js} +4 -4
  162. package/dist/{chunk-OUSYBIGE.js → chunk-QMGCL5FR.js} +4 -4
  163. package/dist/{chunk-M4IIJ24E.js → chunk-QMZPQU65.js} +2 -2
  164. package/dist/{chunk-7VWXXBTC.js → chunk-QSNEZ4UR.js} +1 -1
  165. package/dist/{chunk-LT7IY2L3.js → chunk-QSWLPQCW.js} +27 -23
  166. package/dist/{chunk-FBUAKQAI.js → chunk-R55LS2W2.js} +24 -24
  167. package/dist/{chunk-TWMVAPG2.js → chunk-RDXJAEZ4.js} +4 -4
  168. package/dist/{chunk-VR3HLYAT.js → chunk-RDZNRSAB.js} +2 -2
  169. package/dist/{chunk-K2RZKPQ2.js → chunk-RFUSBITY.js} +1 -1
  170. package/dist/{chunk-NSQBT4CM.js → chunk-RIGQU57Y.js} +7 -7
  171. package/dist/{chunk-YBMYW7LD.js → chunk-RNA5GO3B.js} +2 -2
  172. package/dist/{chunk-LH5URXDJ.js → chunk-RODV3OHP.js} +294 -180
  173. package/dist/{chunk-EKYVRXTE.js → chunk-RPK657TE.js} +16 -2
  174. package/dist/{chunk-KJF7SLOA.js → chunk-SAVO62PW.js} +1 -1
  175. package/dist/{chunk-JE54IO26.js → chunk-SB2DHY53.js} +18 -18
  176. package/dist/{chunk-NHQKHMIS.js → chunk-SBHPRHKB.js} +4 -4
  177. package/dist/{chunk-JIVNJBXI.js → chunk-SBPFCQNK.js} +4 -4
  178. package/dist/{chunk-GSR6UO7H.js → chunk-SFPHP3CC.js} +2 -2
  179. package/dist/{chunk-GCZHZVNX.js → chunk-SIZW5V4G.js} +16 -12
  180. package/dist/{chunk-S7AHPU2N.js → chunk-SJ5KVLTG.js} +1 -1
  181. package/dist/{chunk-4ORV4RGE.js → chunk-SJZLWRRY.js} +8 -8
  182. package/dist/{chunk-RMBWY5JE.js → chunk-SOAB4G33.js} +4 -4
  183. package/dist/{chunk-LPLRXEOT.js → chunk-ST2IQX7U.js} +57 -17
  184. package/dist/{chunk-6U7VIQLV.js → chunk-T33R2CM3.js} +7 -7
  185. package/dist/{chunk-3553PK6F.js → chunk-T4ZE7AIX.js} +2 -2
  186. package/dist/{chunk-NWJ4DXAZ.js → chunk-TCQ733WC.js} +15 -15
  187. package/dist/{chunk-X4NDN6PQ.js → chunk-TGTKAIDU.js} +15 -10
  188. package/dist/{chunk-W2QJDTAR.js → chunk-U4PDXI67.js} +4 -4
  189. package/dist/{chunk-5EU5DLA3.js → chunk-UGTYYTPP.js} +2 -2
  190. package/dist/{chunk-PCHV6KYJ.js → chunk-UL3RNOYB.js} +3 -3
  191. package/dist/{chunk-6QUQEN75.js → chunk-UOTZH4TG.js} +2 -2
  192. package/dist/{chunk-LHQFDRQV.js → chunk-UQSH52UJ.js} +4 -4
  193. package/dist/{chunk-SGTSTGIP.js → chunk-UWT66OAR.js} +1 -1
  194. package/dist/{chunk-GNB4JQTB.js → chunk-V4NJTLJP.js} +12 -12
  195. package/dist/{chunk-SY7JC3PH.js → chunk-V4YJRZHE.js} +1 -1
  196. package/dist/{chunk-YUEJZBME.js → chunk-V5Y3CXSU.js} +4 -4
  197. package/dist/{chunk-H26UA4UM.js → chunk-VZFPQMYN.js} +9 -9
  198. package/dist/{chunk-ULXSTWJF.js → chunk-W35C2SL3.js} +2 -2
  199. package/dist/{chunk-TFYVBPGR.js → chunk-W6ZCXWOK.js} +1 -1
  200. package/dist/{chunk-P2QIWGFU.js → chunk-WDP7IDGF.js} +13 -13
  201. package/dist/{chunk-RZQU5DHD.js → chunk-WDQJ2DRZ.js} +14 -14
  202. package/dist/{chunk-DOVEWKJ6.js → chunk-WKBW4JFU.js} +1 -1
  203. package/dist/{chunk-OLAPTOUH.js → chunk-WM65Q3AL.js} +1 -1
  204. package/dist/{chunk-55BVHNZQ.js → chunk-WO6ZJCAO.js} +4 -4
  205. package/dist/chunk-WSRGEK5T.js +89 -0
  206. package/dist/{chunk-MBRVSKFJ.js → chunk-WXGBSBHQ.js} +13 -12
  207. package/dist/{chunk-7JM235F7.js → chunk-WXOSGKMS.js} +8 -8
  208. package/dist/{chunk-V4XTBNZD.js → chunk-XBASXPUJ.js} +2 -2
  209. package/dist/{chunk-BVE5LPOA.js → chunk-XDDFM3BH.js} +6 -6
  210. package/dist/{chunk-7WC2N4QZ.js → chunk-XJOCPL6R.js} +2 -2
  211. package/dist/{chunk-24O6BRKD.js → chunk-XJSI7ZO2.js} +1 -1
  212. package/dist/{chunk-4ZIFMZO4.js → chunk-XKGZWQF7.js} +3 -3
  213. package/dist/{chunk-WY7FHINS.js → chunk-XLHURGH3.js} +5 -5
  214. package/dist/{chunk-UGH3CLTZ.js → chunk-XWQDNJ36.js} +4 -4
  215. package/dist/{chunk-QJPI55S5.js → chunk-YBQ4F27M.js} +4 -4
  216. package/dist/{chunk-WK6LQCUT.js → chunk-YDT6QZZK.js} +9 -9
  217. package/dist/{chunk-YRWJBS6C.js → chunk-YE6B7P6Q.js} +1 -1
  218. package/dist/{chunk-WSHSR3B2.js → chunk-YERTQ576.js} +4 -4
  219. package/dist/{chunk-GEQSZ5RE.js → chunk-YF4DIQJR.js} +3 -3
  220. package/dist/{chunk-LFL4KMKF.js → chunk-YHLKL4R5.js} +3 -3
  221. package/dist/{chunk-I4A4MY3S.js → chunk-YHSY6CVM.js} +4 -4
  222. package/dist/{chunk-XC53YNZG.js → chunk-YJGZ3AOW.js} +2 -2
  223. package/dist/{chunk-F37PADCM.js → chunk-YKK25QM4.js} +4 -4
  224. package/dist/{chunk-YUJK6ZYO.js → chunk-YMBJHKTY.js} +2 -2
  225. package/dist/{chunk-EV7AATQM.js → chunk-YTFU2B5K.js} +2 -2
  226. package/dist/{chunk-GZ6MPJKY.js → chunk-YUIITZCO.js} +3 -3
  227. package/dist/{chunk-XHEG2BG6.js → chunk-Z3VCVPYX.js} +1 -1
  228. package/dist/{chunk-FNDDKZ4Z.js → chunk-ZB4WVG7Q.js} +1 -1
  229. package/dist/{chunk-JG35YUYX.js → chunk-ZCB5MLPW.js} +3 -3
  230. package/dist/{chunk-BF6KECQD.js → chunk-ZDQ2EWWH.js} +32 -28
  231. package/dist/{chunk-LL7ZU6BT.js → chunk-ZG46HLGN.js} +108 -81
  232. package/dist/chunk-ZGL2P56Z.js +11 -0
  233. package/dist/{chunk-WBIMWGV7.js → chunk-ZIAPNZ6R.js} +4 -4
  234. package/dist/{chunk-Z2WGJH2P.js → chunk-ZLIVUVIV.js} +28 -16
  235. package/dist/{chunk-32FGSRR3.js → chunk-ZMCTTTR2.js} +4 -4
  236. package/dist/{chunk-LTYDEWKW.js → chunk-ZYJZ624V.js} +5 -5
  237. package/dist/cli/index.js +2 -2
  238. package/dist/{core-NL6TMYOZ.js → core-2DRDBSL7.js} +2 -1
  239. package/dist/{core-CTI37JP5.js → core-2VAPYQDA.js} +2 -1
  240. package/dist/{core-XINQIYQ6.js → core-3JGHUUZZ.js} +2 -1
  241. package/dist/{core-LCX7EK3Y.js → core-3KMBTZ32.js} +2 -1
  242. package/dist/{core-EQP4ERQK.js → core-4HEB3CRT.js} +2 -1
  243. package/dist/{core-3H2PZVYN.js → core-4WT74WGL.js} +2 -1
  244. package/dist/{core-UPPUXBWO.js → core-4ZUNKYYC.js} +2 -1
  245. package/dist/{core-4SX63YE4.js → core-5VCTJDQM.js} +2 -1
  246. package/dist/{core-NPCHUGTV.js → core-AJANHLTB.js} +2 -1
  247. package/dist/{core-OO22DXBW.js → core-AL3TDBHQ.js} +5 -1
  248. package/dist/{core-76KPBWTL.js → core-ATBNPTR5.js} +2 -1
  249. package/dist/{core-QACGDEDF.js → core-BIEUVBZK.js} +2 -1
  250. package/dist/{core-RZ5ZDSQL.js → core-C2CCLPE5.js} +2 -1
  251. package/dist/{core-BEBRTX5W.js → core-C3VC6YEV.js} +2 -1
  252. package/dist/{core-LSN2YKO4.js → core-DCWAUTD4.js} +2 -1
  253. package/dist/{core-7LODBY2T.js → core-GYDBZC7Q.js} +2 -1
  254. package/dist/{core-SERUDXVA.js → core-H3RRJPQK.js} +2 -1
  255. package/dist/{core-GGKGWGHO.js → core-HAMHEP3M.js} +2 -1
  256. package/dist/{core-FZJOKAFE.js → core-HRBOWCHO.js} +2 -1
  257. package/dist/{core-ZYLCLTFQ.js → core-IHG5XK6Q.js} +2 -1
  258. package/dist/{core-2SCAWP7F.js → core-JNA7L23P.js} +2 -1
  259. package/dist/{core-UOATHRZG.js → core-JTHVZEC4.js} +2 -1
  260. package/dist/{core-2ZRSLX2J.js → core-JXCXTDYK.js} +2 -1
  261. package/dist/{core-DZVYQFBX.js → core-LL2O5PBD.js} +2 -1
  262. package/dist/{core-S56FGRAT.js → core-NNHCWP3B.js} +2 -1
  263. package/dist/{core-E6Q3H52Q.js → core-OM3DGO6B.js} +2 -1
  264. package/dist/{core-7PNZRGK7.js → core-QH3H6ZPI.js} +2 -1
  265. package/dist/{core-V55HGH7X.js → core-QKDNA6KJ.js} +2 -1
  266. package/dist/{core-2IWCOLCX.js → core-R6OE3ORL.js} +2 -1
  267. package/dist/{core-Y3WI32MB.js → core-RZI7LRK3.js} +2 -1
  268. package/dist/{core-J7ZHSASB.js → core-SXBMOZ3W.js} +2 -1
  269. package/dist/{core-W5WF7FHA.js → core-TXADFQ3I.js} +2 -1
  270. package/dist/{core-UYTRLCZY.js → core-UOB4JKCT.js} +2 -1
  271. package/dist/{core-7RSXZIVD.js → core-WIV43MFA.js} +2 -1
  272. package/dist/{core-B7TS5HK6.js → core-XDPELH2B.js} +2 -1
  273. package/dist/{core-DICZFWV4.js → core-YKHQUOAW.js} +2 -1
  274. package/dist/{core-ZFXHFRWI.js → core-ZXGKAECT.js} +2 -1
  275. package/dist/{dataTable-72HO6PCW.js → dataTable-JBVSQNJX.js} +3 -2
  276. package/dist/{engine-UCMXMWGA.js → engine-QUEIPS7M.js} +26 -13
  277. package/dist/fixtures.js +2 -1
  278. package/dist/fonts.js +4 -4
  279. package/dist/index.js +21 -20
  280. package/dist/{main-NS5NPNQ7.js → main-V264O3WR.js} +8 -7
  281. package/dist/mcp/server.js +14 -13
  282. package/dist/react/bar.js +3 -1
  283. package/dist/react/bartable.js +3 -1
  284. package/dist/react/box.js +3 -1
  285. package/dist/react/bullet.js +3 -1
  286. package/dist/react/butterfly.js +3 -1
  287. package/dist/react/choropleth.js +3 -1
  288. package/dist/react/cohort.js +3 -1
  289. package/dist/react/column.js +3 -1
  290. package/dist/react/combo.js +3 -1
  291. package/dist/react/creative.js +3 -1
  292. package/dist/react/diagram.js +3 -1
  293. package/dist/react/dimswitch.js +2 -1
  294. package/dist/react/dot.js +3 -1
  295. package/dist/react/export.js +19 -18
  296. package/dist/react/funnel.js +3 -1
  297. package/dist/react/gantt.js +3 -1
  298. package/dist/react/grid.js +5 -1
  299. package/dist/react/heatmap.js +3 -1
  300. package/dist/react/histogram.js +3 -1
  301. package/dist/react/index.js +86 -84
  302. package/dist/react/kpi.js +3 -1
  303. package/dist/react/likert.js +3 -1
  304. package/dist/react/line.js +3 -1
  305. package/dist/react/mekko.js +3 -1
  306. package/dist/react/pareto.js +3 -1
  307. package/dist/react/pie.js +3 -1
  308. package/dist/react/prepare.js +23 -21
  309. package/dist/react/pvm.js +3 -1
  310. package/dist/react/pyramid.js +3 -1
  311. package/dist/react/sankey.js +3 -1
  312. package/dist/react/scatter.js +3 -1
  313. package/dist/react/slope.js +3 -1
  314. package/dist/react/sparkline.js +3 -1
  315. package/dist/react/spec.js +12 -10
  316. package/dist/react/status.js +3 -1
  317. package/dist/react/story.js +4 -3
  318. package/dist/react/table.js +2 -1
  319. package/dist/react/theme.js +4 -3
  320. package/dist/react/tilemap.js +3 -1
  321. package/dist/react/treemap.js +3 -1
  322. package/dist/react/variance.js +3 -1
  323. package/dist/react/waffle.js +3 -1
  324. package/dist/react/waterfall.js +3 -1
  325. package/dist/{resvg-ZYEZTSUO.js → resvg-M5HJ3ME3.js} +1 -1
  326. package/dist/{rowsModule-QGCXTE6X.js → rowsModule-6UL4SSUC.js} +1 -1
  327. package/dist/{schema-CWOPBOK4.js → schema-3FSG2YXY.js} +1 -1
  328. package/dist/{schema-4SRLAXUP.js → schema-5PQPGEZQ.js} +1 -1
  329. package/dist/{schema-GAUZZRA4.js → schema-6LUORZNN.js} +1 -1
  330. package/dist/{schema-AGKSRVXN.js → schema-6MDHX2E7.js} +1 -1
  331. package/dist/{schema-UEZQN4WK.js → schema-7HXHGBUN.js} +1 -1
  332. package/dist/{schema-G6KGEQRD.js → schema-ACOD4XKI.js} +1 -1
  333. package/dist/{schema-C3PYINCY.js → schema-B3I7XBP3.js} +1 -1
  334. package/dist/{schema-MCA4J2BP.js → schema-CCOTGURZ.js} +1 -1
  335. package/dist/{schema-FSX7WR7M.js → schema-E5O7M5KM.js} +1 -1
  336. package/dist/{schema-RRZXOF5G.js → schema-EWATAK6Z.js} +1 -1
  337. package/dist/{schema-2BFNQ5GW.js → schema-FEBMLOZG.js} +1 -1
  338. package/dist/{schema-WWWWEQAR.js → schema-FL57LIU2.js} +1 -1
  339. package/dist/{schema-YUMFWHIE.js → schema-FTRAVEX3.js} +2 -1
  340. package/dist/{schema-E2WWDYU5.js → schema-GSKCG2WP.js} +1 -1
  341. package/dist/{schema-6WNG4LCV.js → schema-HVDY6QXK.js} +1 -1
  342. package/dist/{schema-3IXLM7X4.js → schema-I267TVQ4.js} +1 -1
  343. package/dist/{schema-6PLNMFVY.js → schema-IG2WGTQO.js} +1 -1
  344. package/dist/{schema-ZFUX3UIO.js → schema-ITZQDKSE.js} +1 -1
  345. package/dist/{schema-JKZBRZSI.js → schema-LCOGZNQF.js} +1 -1
  346. package/dist/{schema-7WNRP7FW.js → schema-MC3CQNPR.js} +1 -1
  347. package/dist/{schema-AMIFJ2JX.js → schema-MP2QNFCN.js} +1 -1
  348. package/dist/{schema-FOBGNU5I.js → schema-NYCMLGOW.js} +1 -1
  349. package/dist/{schema-ENLWEZOI.js → schema-OML7XS7J.js} +1 -1
  350. package/dist/{schema-7XQMEJII.js → schema-QAAVXXYR.js} +1 -1
  351. package/dist/{schema-XQSP5QAX.js → schema-QPYFXSEQ.js} +1 -1
  352. package/dist/{schema-JJIXQIBN.js → schema-RJBIXN5U.js} +1 -1
  353. package/dist/{schema-MM7JPYI7.js → schema-RW47HWVO.js} +1 -1
  354. package/dist/{schema-PVUWOLUB.js → schema-S7Q4YR7R.js} +1 -1
  355. package/dist/{schema-OIY565PO.js → schema-SWVWMZY3.js} +1 -1
  356. package/dist/{schema-EAYC5DVH.js → schema-T3RSFE2V.js} +1 -1
  357. package/dist/{schema-O5HGNE3W.js → schema-T4CGWZLB.js} +4 -2
  358. package/dist/{schema-2XGHH7PU.js → schema-TXYKZ5NT.js} +1 -1
  359. package/dist/{schema-ZBIIPJAI.js → schema-U6CZI6XG.js} +1 -1
  360. package/dist/{schema-BK2TU6XT.js → schema-XE4WY64H.js} +1 -1
  361. package/dist/{schema-ETH6WXZU.js → schema-YDWVXQPK.js} +1 -1
  362. package/dist/{schema-GQPXSWIR.js → schema-YPGXVI22.js} +1 -1
  363. package/dist/{schema-GFRB4BJW.js → schema-ZMOIP2BK.js} +1 -1
  364. package/dist/{specValidation-5AI56FM3.js → specValidation-6LVTTHZI.js} +2 -1
  365. package/dist/theme.js +3 -3
  366. package/dist/{themeShapeRules-GGBYWZY7.js → themeShapeRules-NDEXKFC7.js} +1 -1
  367. package/dist/types/core/charts/bar/layout.d.ts +1 -1
  368. package/dist/types/core/charts/column/model.d.ts +3 -1
  369. package/dist/types/core/charts/grid/metricStack.d.ts +35 -3
  370. package/dist/types/core/charts/grid/metricStackSchema.d.ts +8 -0
  371. package/dist/types/core/charts/grid/schema.d.ts +5 -0
  372. package/dist/types/core/charts/scatter/layout.d.ts +18 -1
  373. package/dist/types/core/charts/scatter/marks.d.ts +94 -0
  374. package/dist/types/core/charts/scatter/zones.d.ts +52 -0
  375. package/dist/types/core/fontMetrics/index.d.ts +3 -1
  376. package/dist/types/core/fontMetrics/injected.d.ts +1 -0
  377. package/dist/types/core/frame.d.ts +7 -2
  378. package/dist/types/core/label/occupied.d.ts +1 -1
  379. package/dist/types/core/registry.d.ts +2 -0
  380. package/dist/types/core/request.d.ts +7 -0
  381. package/dist/types/core/sizing.d.ts +9 -0
  382. package/dist/types/core/themeGeometry.d.ts +184 -0
  383. package/dist/types/core/types/options.d.ts +6 -0
  384. package/dist/types/core/types/scene.d.ts +11 -0
  385. package/dist/types/core/types/theme.d.ts +11 -0
  386. package/dist/types/react/hover/placement.d.ts +11 -0
  387. package/dist/types/react/prepare.d.ts +2 -1
  388. package/dist/types/react/useHover.d.ts +1 -0
  389. package/dist/validate.js +8 -6
  390. package/docs/manual.md +4 -2
  391. package/docs/reference/fixtures.md +3 -0
  392. package/docs/reference/grid.md +23 -10
  393. package/docs/reference/options.md +3 -0
  394. package/docs/reference/react.md +2 -0
  395. package/docs/reference/theme.md +4 -1
  396. package/package.json +1 -1
  397. package/dist/chunk-BOQQARLT.js +0 -89
@@ -16,23 +16,23 @@ import {
16
16
  quietLandPaint,
17
17
  renderGeoOverlays,
18
18
  reserveGeoOverlayGlyphs
19
- } from "./chunk-F2IHSUPI.js";
19
+ } from "./chunk-K2ZDFPYP.js";
20
20
  import {
21
21
  geoOptionRefusals
22
22
  } from "./chunk-V5IFI3FV.js";
23
23
  import {
24
24
  PLOT_W_FLOOR_DEMOTED
25
- } from "./chunk-PCHV6KYJ.js";
25
+ } from "./chunk-UL3RNOYB.js";
26
26
  import {
27
27
  chartTheme
28
- } from "./chunk-YRWJBS6C.js";
28
+ } from "./chunk-YE6B7P6Q.js";
29
29
  import {
30
30
  WORLD_TILE_PACK,
31
31
  getTilePack
32
32
  } from "./chunk-T2L5H2WW.js";
33
33
  import {
34
34
  structureCount
35
- } from "./chunk-YDYZWCUQ.js";
35
+ } from "./chunk-IHZNRJEV.js";
36
36
  import {
37
37
  geoRegionIdIndex,
38
38
  nearestRegionId,
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-CR5FP5SF.js";
44
44
  import {
45
45
  EMPTY_DATA
46
- } from "./chunk-NJKUODK3.js";
46
+ } from "./chunk-BFHAYXUU.js";
47
47
  import {
48
48
  SIZE_TOLERANCE,
49
49
  chartSizing,
@@ -52,7 +52,7 @@ import {
52
52
  rowDrivenHeight,
53
53
  sizeRefusal,
54
54
  tallestContentHeight
55
- } from "./chunk-FY3VV7TF.js";
55
+ } from "./chunk-PM5D5KYQ.js";
56
56
  import {
57
57
  DEFAULT_NOTE_LIMIT,
58
58
  PRIORITY,
@@ -68,21 +68,21 @@ import {
68
68
  solveFrame,
69
69
  solveLabels,
70
70
  valueNoteLine
71
- } from "./chunk-Z2WGJH2P.js";
71
+ } from "./chunk-ZLIVUVIV.js";
72
72
  import {
73
73
  copyNote,
74
74
  disclosureNote,
75
75
  engineNoteMeta,
76
76
  keepNoteMeta,
77
77
  staticFrame
78
- } from "./chunk-B76O5YXI.js";
78
+ } from "./chunk-I3UJHKCS.js";
79
79
  import {
80
80
  formatterFromExample,
81
81
  ruleFormatter
82
- } from "./chunk-3JG764MI.js";
82
+ } from "./chunk-BHO5H4AF.js";
83
83
  import {
84
84
  chartStrings
85
- } from "./chunk-FYFXOLWI.js";
85
+ } from "./chunk-5OUURZ2T.js";
86
86
  import {
87
87
  canvasMargin,
88
88
  createOccupiedIndex,
@@ -94,7 +94,7 @@ import {
94
94
  spaceTokens,
95
95
  strokeToken,
96
96
  textScaleOf
97
- } from "./chunk-BKUTKQMT.js";
97
+ } from "./chunk-4NGKSJBX.js";
98
98
  import {
99
99
  DEFAULT_TARGET,
100
100
  NormalizeError,
@@ -104,8 +104,9 @@ import {
104
104
  } from "./chunk-RJICOOB3.js";
105
105
  import {
106
106
  compareText,
107
- defaultMeasurer
108
- } from "./chunk-UIHGGWES.js";
107
+ defaultMeasurer,
108
+ isCachedTextMeasurer
109
+ } from "./chunk-77LQEREO.js";
109
110
  import {
110
111
  maxOf,
111
112
  minOf,
@@ -180,9 +181,9 @@ function layoutTilemap(data, options = {}, listed, run = 0, omitted = /* @__PURE
180
181
  [options.legend, typeof options.legend == "object" ? options.legend.position : void 0].some((side) => side === "right" || side === "left") && data.overlays?.length && constraints && !constraints.fixed.height && size.width === constraints.sizePx.width && (constraints[AUTOMATIC_FRAME] ??= size);
181
182
  let automaticFrame = constraints?.[AUTOMATIC_FRAME], fixedHeight = constraints?.fixed.height || constraints !== void 0 && (size.width !== constraints.sizePx.width || automaticFrame !== void 0 && size.height !== automaticFrame.height) || constraints === void 0 && options.size !== void 0;
182
183
  fixedHeight && constraints && (constraints.fixed.height = !0);
183
- let pass = { options, listed, run, omitted, fixedHeight };
184
+ let pass = { options, listed, run, omitted, fixedHeight }, sideKey = isCachedTextMeasurer(options.measure ?? defaultMeasurer) ? {} : void 0;
184
185
  for (let attempt = 0; ; attempt++) {
185
- let result = layoutTilemapPass(data, pass, attempt === MAX_LAYOUT_PASSES);
186
+ let result = layoutTilemapPass(data, pass, attempt === MAX_LAYOUT_PASSES, sideKey);
186
187
  if ("type" in result) return result;
187
188
  pass = result;
188
189
  }
@@ -198,7 +199,7 @@ function unknownRegionSuggest(id, pack, idIndex, options) {
198
199
  let nearest = nearestRegionId(id, [...idIndex.canonical.keys()], idIndex.canonical);
199
200
  return nearest === void 0 ? void 0 : chartString(options, "regionIdSuggestion", { v1: nearest });
200
201
  }
201
- function layoutTilemapPass(data, { options, listed, run = 0, omitted = /* @__PURE__ */ new Set(), heights = /* @__PURE__ */ new Map(), fixedHeight = !1, stopped = !1, valuesNoted = !1, steppedTile, keepStepped }, exhausted) {
202
+ function layoutTilemapPass(data, { options, listed, run = 0, omitted = /* @__PURE__ */ new Set(), heights = /* @__PURE__ */ new Map(), fixedHeight = !1, stopped = !1, valuesNoted = !1, steppedTile, keepStepped }, exhausted, sideKey) {
202
203
  let warnings = geoOptionRefusals(options, "tilemap");
203
204
  if (!data.regions.length) throw new NormalizeError(EMPTY_DATA, "regions", "tilemap requires at least one region", "add regions[].id and value", void 0, ["data", "regions"]);
204
205
  let pack = getTilePack(data.pack), idIndex = geoRegionIdIndex(pack.regions), { valuesById, statesById, leftOut } = ingestGeoRegions(data.regions, idIndex, { where: `tile pack '${pack.id}'`, regionWord: "tile-pack region" }, warnings, (id, index) => {
@@ -303,8 +304,8 @@ function layoutTilemapPass(data, { options, listed, run = 0, omitted = /* @__PUR
303
304
  }
304
305
  if (keyUnnamed && fixedHeight && !stopped) {
305
306
  legendOptions = { position: "right" }, key = void 0, rightKey = !0, keyChosen = !0;
306
- let beside = layoutFrame();
307
- beside.tileSize > frame.tileSize * KEY_BESIDE_GAIN && beside.frameResult.plot.w / size.width >= PLOT_W_FLOOR_DEMOTED ? frame = beside : (legendOptions = { position: "top" }, key = steppedKey(), rightKey = !1, keyChosen = !1);
307
+ let missed = sideKey?.tooNarrowAt, beside = missed?.width === size.width && missed.height === size.height ? void 0 : layoutFrame();
308
+ sideKey && beside && beside.frameResult.plot.w / size.width < PLOT_W_FLOOR_DEMOTED && (sideKey.tooNarrowAt = size), beside && beside.tileSize > frame.tileSize * KEY_BESIDE_GAIN && beside.frameResult.plot.w / size.width >= PLOT_W_FLOOR_DEMOTED ? frame = beside : (legendOptions = { position: "top" }, key = steppedKey(), rightKey = !1, keyChosen = !1);
308
309
  }
309
310
  let constraints = options[TARGET_SIZE], automaticHeight = !fixedHeight && panelTypeClass(options) === void 0 && (constraints?.fixed.height === !1 || options.size === void 0), fullGridHeight = () => rows * Math.max(1, (frame.available.w - (cols - 1) * TILE_GAP) / cols) + (rows - 1) * TILE_GAP, naturalHeight = () => Math.ceil(Math.round(Math.max(
310
311
  TILEMAP_SIZING.minHeight,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-XD5XB22R.js";
6
6
  import {
7
7
  structureCount
8
- } from "./chunk-YDYZWCUQ.js";
8
+ } from "./chunk-IHZNRJEV.js";
9
9
  import {
10
10
  claimedRegionIds,
11
11
  resolveGeoRegionId
@@ -18,7 +18,7 @@ import {
18
18
  PRIORITY,
19
19
  leaderTerminus,
20
20
  solveLabels
21
- } from "./chunk-Z2WGJH2P.js";
21
+ } from "./chunk-ZLIVUVIV.js";
22
22
  import {
23
23
  MAGNITUDE_DIVISOR,
24
24
  exampleSpec,
@@ -26,12 +26,12 @@ import {
26
26
  parseFormatExample,
27
27
  roundedNumber,
28
28
  ruleFormatter
29
- } from "./chunk-3JG764MI.js";
29
+ } from "./chunk-BHO5H4AF.js";
30
30
  import {
31
31
  autoDecimals,
32
32
  chartStrings,
33
33
  intervalText
34
- } from "./chunk-FYFXOLWI.js";
34
+ } from "./chunk-5OUURZ2T.js";
35
35
  import {
36
36
  boxGap,
37
37
  colorblindPaint,
@@ -40,7 +40,7 @@ import {
40
40
  rectsOverlap,
41
41
  semanticPalettePaint,
42
42
  strokeToken
43
- } from "./chunk-BKUTKQMT.js";
43
+ } from "./chunk-4NGKSJBX.js";
44
44
  import {
45
45
  fmtPathNumber
46
46
  } from "./chunk-6IUK6PAH.js";
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-INHDHZNP.js";
4
4
  import {
5
5
  colorVariableWarnings
6
- } from "./chunk-WDLWWEHZ.js";
6
+ } from "./chunk-LIMLKOX7.js";
7
7
  import {
8
8
  clippedTextWarnings
9
9
  } from "./chunk-B5A7X2BA.js";
10
10
  import {
11
11
  timeAnnotationAnchors
12
- } from "./chunk-25JXYOSX.js";
12
+ } from "./chunk-FXQH2QJN.js";
13
13
  import {
14
14
  TRACK_WIDTH_TYPES,
15
15
  movedGridWarnings,
@@ -19,23 +19,27 @@ import {
19
19
  import {
20
20
  checkedTightAdvice,
21
21
  tightAdvice,
22
+ withTableWidthHint,
22
23
  withTightAdvice
23
- } from "./chunk-EKYVRXTE.js";
24
+ } from "./chunk-RPK657TE.js";
24
25
  import {
25
26
  isRecord
26
27
  } from "./chunk-MCYM3RNF.js";
27
28
  import {
28
29
  EMPTY_DATA,
29
30
  hasNoDataRows
30
- } from "./chunk-NJKUODK3.js";
31
+ } from "./chunk-BFHAYXUU.js";
31
32
  import {
33
+ ACCEPTANCE_PROBE,
32
34
  FIXED_SIZE_PROBE,
33
35
  FULL_LAYOUT_PROBE,
34
36
  LAYOUT_CALL,
35
37
  NARROW_FORM,
36
38
  NARROW_FORM_TYPES,
37
39
  PLAN_ONLY,
40
+ RETAIN_TABLE_RESULT,
38
41
  SIZE_TOLERANCE,
42
+ TABLE_WIDTH_TEST,
39
43
  VERIFY_ADVICE,
40
44
  WIDTH_PROBE,
41
45
  canonicalChartType,
@@ -49,12 +53,13 @@ import {
49
53
  plotFloorHeight,
50
54
  plotRepairHeight,
51
55
  repeatedResult,
56
+ requestMemo,
52
57
  resolveSizing,
53
58
  sizeGate,
54
59
  sizeRefusal,
55
60
  verifiedSizeRepair,
56
61
  withPlanInputs
57
- } from "./chunk-FY3VV7TF.js";
62
+ } from "./chunk-PM5D5KYQ.js";
58
63
  import {
59
64
  chartRefusals,
60
65
  isRefused
@@ -66,24 +71,29 @@ import {
66
71
  } from "./chunk-QXHFELIA.js";
67
72
  import {
68
73
  shownNoteKinds
69
- } from "./chunk-B76O5YXI.js";
74
+ } from "./chunk-I3UJHKCS.js";
70
75
  import {
71
76
  withAnnotationOrigins
72
77
  } from "./chunk-PPOUKS24.js";
73
78
  import {
74
79
  UNIT_FORMATS,
75
80
  readFormatExamples
76
- } from "./chunk-3JG764MI.js";
81
+ } from "./chunk-BHO5H4AF.js";
77
82
  import {
78
83
  AUTHORED_EXAMPLES,
79
84
  UNIT_STAND_INS,
80
85
  withNumberMarks
81
- } from "./chunk-FYFXOLWI.js";
86
+ } from "./chunk-5OUURZ2T.js";
87
+ import {
88
+ tableFitThemeTokens,
89
+ themeGeometryTokens
90
+ } from "./chunk-OQRTTGYP.js";
82
91
  import {
83
92
  DEFAULT_PRESET,
84
93
  REMOVED_NAMES,
85
94
  WIDE_CANVAS_MIN_WIDTH,
86
95
  inMarginStepBand,
96
+ layoutStepKey,
87
97
  panelTypeClass,
88
98
  removedNameWarnings,
89
99
  resolveTargetTheme,
@@ -93,13 +103,13 @@ import {
93
103
  typeWidthClass,
94
104
  withMarginStepBelow,
95
105
  withTypeClassCap
96
- } from "./chunk-BKUTKQMT.js";
106
+ } from "./chunk-4NGKSJBX.js";
97
107
  import {
98
108
  retireChartSettings
99
109
  } from "./chunk-JF743NNC.js";
100
110
  import {
101
111
  loadedDeferred
102
- } from "./chunk-BQBD6Q5J.js";
112
+ } from "./chunk-6RRK3VFP.js";
103
113
  import {
104
114
  normalizeOptionShapes
105
115
  } from "./chunk-6IUK6PAH.js";
@@ -115,8 +125,9 @@ import {
115
125
  substitute
116
126
  } from "./chunk-RJICOOB3.js";
117
127
  import {
128
+ AUTHORED_TYPE_SIZE,
118
129
  defaultMeasurer
119
- } from "./chunk-UIHGGWES.js";
130
+ } from "./chunk-77LQEREO.js";
120
131
 
121
132
  // src/core/drawnHeight.ts
122
133
  var TOLERANCE = 1.05, MIN_EMPTY_BAND = 4;
@@ -335,7 +346,10 @@ var LAYOUT_STRING_KEYS = Object.keys({
335
346
  incompleteStacks: !0,
336
347
  knownPartsShares: !0,
337
348
  rebaseZero: !0,
338
- rebaseMissing: !0
349
+ rebaseMissing: !0,
350
+ stackFrom: !0,
351
+ stackAgainst: !0,
352
+ stackAverages: !0
339
353
  });
340
354
  function layoutStrings(...sources) {
341
355
  let merged = {};
@@ -443,7 +457,10 @@ function prepared(def, data, options) {
443
457
  function layoutResolvedRequest(request) {
444
458
  if (request.type !== "table" && request.type !== "dimswitch" || request.data === null || typeof request.data != "object") return layoutRequest(request);
445
459
  let { type, theme, target, size, fixed, inputWarnings } = request;
446
- return repeatedResult(request.data, request.options, { type, theme, target, size, fixed, inputWarnings }, () => layoutRequest(request));
460
+ return repeatedResult(request.data, request.options, { type, theme, target, size, fixed, inputWarnings }, () => {
461
+ let retained = { ...request, [RETAIN_TABLE_RESULT]: !0 };
462
+ return type === "table" ? fullTableRequest(retained) : layoutRequest(retained);
463
+ });
447
464
  }
448
465
  function planResolvedRequest(request) {
449
466
  let result = request.type === "table" || request.type === "dimswitch" ? withPlanInputs(() => layoutRequest({ ...request, options: { ...request.options, [PLAN_ONLY]: !0 } })) : layoutResolvedRequest(request);
@@ -456,10 +473,24 @@ function planResolvedRequest(request) {
456
473
  scene: []
457
474
  });
458
475
  }
476
+ function tableViewportFrame(request) {
477
+ if (!(request.type !== "table" || !request.fixed.width || request.fixed.height || panelTypeClass(request.options) !== void 0 || floorTextScale(request.target) !== void 0 || hasAuthoredWidth(request.options?.columnOverrides)))
478
+ return withPlanInputs(() => {
479
+ let first = layoutWidthProbe(request), frame = (geometry) => geometry.refused || geometry.warnings.some((w) => w.severity === "error") ? void 0 : { width: geometry.size.width, height: Math.max(geometry.size.height, geometry.sizing?.naturalHeight ?? 0), gridTop: geometry.plot.y };
480
+ if (!first.refused) return frame(first);
481
+ if (first.warnings.length !== 1 || first.warnings[0]?.code !== "size-below-floor" || first.sizing.fit !== "content") return;
482
+ let need = first.warnings[0].expected?.minimum, width = Math.ceil(first.sizing.minWidth);
483
+ if (!need || !Number.isFinite(width) || need.width !== width || width < WIDE_CANVAS_MIN_WIDTH || width <= request.size.width) return;
484
+ let fallback = afterFirstLayout(request, first, layoutWidthProbe, layoutWidthProbe, layoutWidthProbe);
485
+ if (fallback !== first) return frame(fallback);
486
+ let wider = { ...request, size: { ...request.size, width }, options: { ...request.options, size: { width } } }, dimensions = frame(layoutWidthProbe(wider));
487
+ return dimensions && { ...dimensions, scrollWidth: width };
488
+ });
489
+ }
459
490
  function layoutRequest(request) {
460
491
  let finish = (result2) => request.options[PLAN_ONLY] ? result2 : withClipWarnings(result2, request.fontMetrics), table = request.type === "table" || request.type === "dimswitch", result = afterFirstLayout(request, layoutOnce(request), layoutOnce, table ? layoutWidthProbe : layoutOnce, layoutPlain);
461
492
  return request.type !== "table" || isRefused(result) ? finish(result) : finish(checkedTightAdvice(result, (size) => {
462
- let next = layoutPlain({ ...request, options: { ...request.options, size } });
493
+ let next = layoutWidthProbe({ ...request, options: { ...request.options, size } });
463
494
  return isRefused(next) ? void 0 : next;
464
495
  }));
465
496
  }
@@ -636,8 +667,8 @@ function askedNotesOff(plain, refused) {
636
667
  suggest: `Leave the height out${height === void 0 ? "" : `, or give the chart ${height} px of height`}.`
637
668
  }] };
638
669
  }
639
- function widthProbers(request, layoutAt, known, verify = !1) {
640
- let own = request.options, def = getChart(request.type), table = request.type === "table" || request.type === "dimswitch", sizeNeed = (probe) => probe.refused && probe.warnings[0]?.code === "size-below-floor" ? probe.warnings[0].expected?.minimum?.width ?? probe.sizing?.minWidth : void 0, read = (probe, draws) => ({ draws, floor: draws ? probe.sizing?.minWidth : sizeNeed(probe), result: probe }), probeOptions = (options) => table ? { ...options, [PLAN_ONLY]: !0 } : options, stepLayout = (asked) => {
670
+ function widthProbers(request, layoutAt, known, verify = !1, tableRuns) {
671
+ let own = request.options, def = getChart(request.type), table = request.type === "table" || request.type === "dimswitch", sizeNeed = (probe) => probe.refused && probe.warnings[0]?.code === "size-below-floor" ? probe.warnings[0].expected?.minimum?.width ?? probe.sizing?.minWidth : void 0, read = (probe, draws) => ({ draws, floor: draws ? probe.sizing?.minWidth : sizeNeed(probe), result: probe }), probeOptions = (options) => request.type === "table" ? { ...options, [PLAN_ONLY]: !0, [ACCEPTANCE_PROBE]: !0 } : table ? { ...options, [PLAN_ONLY]: !0 } : options, stepLayout = (asked) => {
641
672
  let run = preparedLayout(asked);
642
673
  try {
643
674
  return run(probeOptions(asked.options));
@@ -672,24 +703,28 @@ function widthProbers(request, layoutAt, known, verify = !1) {
672
703
  if (!(error instanceof NormalizeError) || width === request.size.width) throw error;
673
704
  return { draws: !1, result: void 0 };
674
705
  }
675
- }, any = cached(refusedAt((width) => {
706
+ }, atWidth = (width, acceptance = !1) => {
676
707
  let gate = gated(width);
677
708
  if (gate) return gate;
678
- let asked = width === request.size.width ? request : { ...request, size: { ...request.size, width }, options: { ...request.options, size: { width } } }, first = asked === request ? layoutAt(request.options) : known ? alone(asked) : layoutAt(probeOptions(asked.options));
709
+ let asked = width === request.size.width ? request : { ...request, size: { ...request.size, width }, options: { ...request.options, size: { width } } }, base = probeOptions(asked.options), options = acceptance ? { ...base, [WIDTH_PROBE]: TABLE_WIDTH_TEST } : base, first = asked === request ? layoutAt(request.options) : known && !tableRuns ? alone(asked) : layoutAt(options);
679
710
  if (!isRefused(first)) return read(first, !0);
680
- let drawn = afterFirstLayout(asked, first, stepLayout, stepLayout, stepLayout);
711
+ let drawn = afterFirstLayout(asked, first, stepLayout, stepLayout, (next) => {
712
+ if (!tableRuns || next !== asked) return stepLayout(next);
713
+ let run = tableClassRun(next, tableRuns), options2 = { ...probeOptions(next.options), [WIDTH_PROBE]: TABLE_WIDTH_TEST };
714
+ return run(options2);
715
+ });
681
716
  if (isRefused(drawn)) return read(first, !1);
682
717
  let need = sizeNeed(first);
683
718
  return { ...read(drawn, !0), ...need !== void 0 && need > width ? { upper: need } : {} };
684
- }), known);
719
+ }, any = cached(refusedAt(atWidth), known), test = cached(refusedAt((width) => atWidth(width, !0))), accepts = (width) => !tableRuns || steps || inMarginStepBand(width) || panelTypeClass(own) !== void 0 ? any(width).draws : known?.get(width)?.draws ?? test(width).draws;
685
720
  return { full: cached(refusedAt((width) => {
686
721
  let drawn = any(width);
687
722
  if (!drawn.draws || drawn.result.mode !== "compact" || own.mode === "compact") return drawn;
688
723
  let probe = layoutAt({ ...request.options, belowMinimum: "refuse", size: { width }, [WIDTH_PROBE]: request.type });
689
724
  return { draws: !1, floor: sizeNeed(probe), result: drawn.result };
690
- })), any };
725
+ })), any, accepts };
691
726
  }
692
- function drawsFrom(at, top, bottom, verifiedFrom = 1 / 0, topNamed = !1) {
727
+ function drawsFrom(at, top, bottom, verifiedFrom = 1 / 0, topNamed = !1, tableFloor, accepts = (width) => at(width).draws) {
693
728
  let hi = Math.max(Math.ceil(top), bottom + 1), low = bottom, probe = at(hi), named = topNamed;
694
729
  for (let round = 0; round < 4; round++) {
695
730
  for (let pass = 0; !probe.draws && pass < 8; pass++) {
@@ -708,6 +743,14 @@ function drawsFrom(at, top, bottom, verifiedFrom = 1 / 0, topNamed = !1) {
708
743
  [low, hi, probe, named] = [upper - 1, upper, at(upper), !0];
709
744
  }
710
745
  if (!probe.draws) return;
746
+ if (tableFloor !== void 0 && tableFloor > low && tableFloor <= hi) {
747
+ let edge = at(tableFloor);
748
+ if (edge.draws && (tableFloor - 1 === low || !accepts(tableFloor - 1))) {
749
+ let between = TYPE_CLASS_STEPS.filter((width) => tableFloor < width && width < hi).map((width) => at(width));
750
+ if (between.every((step) => step.draws) && [edge, ...between].every((step) => step.upper === void 0 || at(step.upper).draws))
751
+ return { width: tableFloor, probe: edge.result };
752
+ }
753
+ }
711
754
  let bisect = (from) => {
712
755
  let lo = from;
713
756
  for (; hi - lo > 1; ) {
@@ -739,21 +782,61 @@ function drawsFrom(at, top, bottom, verifiedFrom = 1 / 0, topNamed = !1) {
739
782
  var TYPE_CLASS_STEPS = [720, WIDE_CANVAS_MIN_WIDTH];
740
783
  function drawnAdvice(request, result, layoutAt) {
741
784
  if (!result.refused) return result;
742
- let advised = advisedRefusal(result, advisedWidth(request, result, () => widthProbers(request, layoutAt, refusalProbes(request, result)).any)), step = classSteps.get(result);
785
+ let tableRuns = request.type === "table" ? /* @__PURE__ */ new Map() : void 0, found;
786
+ try {
787
+ found = advisedWidth(request, result, () => widthProbers(request, layoutAt, refusalProbes(request, result), !1, tableRuns), tableRuns);
788
+ } finally {
789
+ for (let run of tableRuns?.values() ?? []) run.finish();
790
+ }
791
+ let advised = advisedRefusal(result, found), step = classSteps.get(result);
743
792
  return step && advised !== result && classSteps.set(advised, step), advised;
744
793
  }
745
794
  function refusalProbes(request, result, verify = !1) {
746
795
  return result.refused && result.warnings[0]?.code === "size-below-floor" ? openWidthProbes(request, verify) : void 0;
747
796
  }
748
797
  function openWidthProbes(request, verify) {
749
- return !request.fixed.height && !request.options.story ? storedProbes(request, verify) : void 0;
798
+ return !request.fixed.height && !request.options.story ? requestMemo(request, "open-widths:" + verify, () => storedProbes(request, verify)) : void 0;
799
+ }
800
+ var tableRefusals = /* @__PURE__ */ new WeakMap();
801
+ function fullTableRequest(request) {
802
+ let size = request.options.size;
803
+ if (!size || typeof size != "object" || size.width !== request.size.width || Reflect.ownKeys(size).length !== 1 || request.annotations.length || panelTypeClass(request.options) !== void 0) return layoutRequest(request);
804
+ let store = openWidthProbes(request, !1);
805
+ if (!store) return layoutRequest(request);
806
+ let refused = tableRefusals.get(store), known = refused?.get(size.width);
807
+ if (known) return known;
808
+ let result = layoutRequest(request);
809
+ return result.refused && result.warnings.length === 1 && result.warnings[0].code === "size-below-floor" && (refused || tableRefusals.set(store, refused = /* @__PURE__ */ new Map()), refused.size >= STORED_WIDTHS && refused.delete(refused.keys().next().value), refused.set(size.width, result)), result;
810
+ }
811
+ function tableFitOptions(options) {
812
+ if (options.figures === !1 || !options.encodings) return options;
813
+ let entries = Object.values(options.encodings);
814
+ if (entries.length > 1) return options;
815
+ let lane = entries[0];
816
+ if (lane !== void 0 && lane !== "heat" && !(typeof lane == "object" && lane.type === "heat" && (lane.scale ?? "column") === "column" && !lane.columns && lane.steps === void 0 && lane.bins === void 0)) return options;
817
+ let { encodings: _wash, ...sizing } = options;
818
+ return sizing;
750
819
  }
751
820
  var storedSearches = /* @__PURE__ */ new Map(), STORED_WIDTHS = 64, STORED_REQUESTS = 32, STORED_KEY_LENGTH = 2e5;
752
821
  function storedProbes(request, verify) {
753
822
  if (request.data === null || typeof request.data != "object" || !jsonShowsAll(request.data)) return;
754
823
  let { size: _size, ...options } = request.options, { type, theme, target, fixed, inputWarnings } = request, footer = loadedDeferred("footer") !== void 0, key;
755
824
  try {
756
- key = withPlanInputs(() => contentKey(request.data, options, { type, theme, target, fixed, inputWarnings, footer, verify }));
825
+ if (type === "table") {
826
+ let { theme: _theme, ...tableOptions } = options, palette = options.palette === void 0 ? void 0 : theme.color.palettes?.[options.palette]?.length, authoredSizes = Object.entries(theme.type).flatMap(([role, font]) => font !== null && typeof font == "object" && AUTHORED_TYPE_SIZE in font ? [role] : []), unannotated = !request.annotations.length && !options.annotations?.length, fitOptions = unannotated ? tableFitOptions(tableOptions) : tableOptions;
827
+ key = withPlanInputs(() => contentKey(request.data, fitOptions, {
828
+ type,
829
+ theme: unannotated ? tableFitThemeTokens(theme, target) : themeGeometryTokens(theme, target),
830
+ authoredSizes,
831
+ target,
832
+ palette,
833
+ fixed,
834
+ inputWarnings,
835
+ footer,
836
+ verify
837
+ }));
838
+ } else
839
+ key = withPlanInputs(() => contentKey(request.data, options, { type, theme, target, fixed, inputWarnings, footer, verify }));
757
840
  } catch {
758
841
  return;
759
842
  }
@@ -774,6 +857,11 @@ function jsonShowsAll(data) {
774
857
  }
775
858
  return !0;
776
859
  }
860
+ function tableClassRun(asked, tableRuns) {
861
+ if (!tableRuns) return preparedLayout(asked);
862
+ let key = layoutStepKey(), run = tableRuns.get(key);
863
+ return run || tableRuns.set(key, run = preparedLayout(asked)), run;
864
+ }
777
865
  function advisedRefusal(result, found) {
778
866
  if (!found || !result.refused) return result;
779
867
  let { width, probe: drawn } = found, height = Math.max(Math.ceil(drawn.size.height), Math.ceil(result.sizing.minHeight)), warning = {
@@ -784,10 +872,21 @@ function advisedRefusal(result, found) {
784
872
  };
785
873
  return { ...result, warnings: [warning, ...result.warnings.slice(1)] };
786
874
  }
787
- function advisedWidth(request, result, any) {
875
+ function advisedWidth(request, result, probers, tableRuns) {
788
876
  let finding = result.refused ? result.warnings[0] : void 0, need = finding?.code === "size-below-floor" ? finding.expected?.minimum : void 0;
789
- if (!(!result.refused || !need || request.fixed.height || need.width <= result.size.width) && !smallerClass(request, result))
790
- return drawsFrom(any(), need.width, Math.floor(result.size.width), 1 / 0, !0);
877
+ if (!result.refused || !need || request.fixed.height || need.width <= result.size.width) return;
878
+ let table = request.type === "table", tryClass = (asked) => {
879
+ let run = tableClassRun(asked, tableRuns);
880
+ try {
881
+ let probe = run({ ...asked.options, [WIDTH_PROBE]: TABLE_WIDTH_TEST, [PLAN_ONLY]: !0 });
882
+ return isRefused(probe) ? probe : run(asked.options);
883
+ } finally {
884
+ tableRuns || run.finish();
885
+ }
886
+ }, step = table ? withTableWidthHint(() => smallerClass(request, result, tryClass)) : { value: smallerClass(request, result) };
887
+ if (step.value) return;
888
+ let { any, accepts } = probers();
889
+ return drawsFrom(any, need.width, Math.floor(result.size.width), 1 / 0, !0, step.width, accepts);
791
890
  }
792
891
  function inputPanels(data) {
793
892
  let input = data, normalized = Array.isArray(input?.panels) ? input : prepared(getChart("grid") ?? {}, data);
@@ -832,6 +931,7 @@ function preparedLayout(request, verifyAdvice = !1) {
832
931
  ...request.options,
833
932
  theme: { preset: typeof ref == "string" ? ref : ref?.preset ?? DEFAULT_PRESET, overrides: request.theme },
834
933
  [REMOVED_NAMES]: removedNameWarnings(request.options),
934
+ ...request[RETAIN_TABLE_RESULT] ? { [RETAIN_TABLE_RESULT]: !0 } : {},
835
935
  ...verifyAdvice ? { [VERIFY_ADVICE]: !0 } : {}
836
936
  }, warnings = request.inputWarnings ?? [], run = def[LAYOUT_CALL]?.(request.data, options), disclose = (result) => {
837
937
  if (result.refused) return result;
@@ -843,7 +943,7 @@ function preparedLayout(request, verifyAdvice = !1) {
843
943
  return options[MARGIN_BELOW] ? withMarginStepBelow(plain) : plain();
844
944
  }
845
945
  let current = fresh ? { ...options } : { ...options, [LAYOUT_CALL]: run };
846
- for (let key of ["size", "mode", "belowMinimum", FULL_LAYOUT_PROBE, WIDTH_PROBE, FIXED_SIZE_PROBE, PLAN_ONLY])
946
+ for (let key of ["size", "mode", "belowMinimum", FULL_LAYOUT_PROBE, WIDTH_PROBE, FIXED_SIZE_PROBE, PLAN_ONLY, ACCEPTANCE_PROBE])
847
947
  Object.hasOwn(frame, key) ? current[key] = frame[key] : delete current[key];
848
948
  return options[MARGIN_BELOW] ? withMarginStepBelow(() => disclose(def.layout(request.data, current))) : disclose(def.layout(request.data, current));
849
949
  }, at = ((frame) => {
@@ -997,7 +1097,7 @@ function measureWithLayout(request, result, layoutAt, verify = !1, asked = { req
997
1097
  );
998
1098
  }
999
1099
  }
1000
- let atWidth = Math.max(request.size.width, sizing.minWidth), advised = openWidth ? advisedWidth(request, result, () => probers.any) : void 0, atHeight;
1100
+ let atWidth = Math.max(request.size.width, sizing.minWidth), advised = openWidth ? advisedWidth(request, result, () => probers) : void 0, atHeight;
1001
1101
  if (sizing.compactFloor && def !== void 0 && !compactFallbackApplies(def, { ...request.options, size: sizing.compactFloor }, request.data)) {
1002
1102
  let { compactFloor: _off, ...rest } = sizing;
1003
1103
  sizing = rest;
@@ -1177,6 +1277,7 @@ export {
1177
1277
  resolveChartRequest,
1178
1278
  layoutResolvedRequest,
1179
1279
  planResolvedRequest,
1280
+ tableViewportFrame,
1180
1281
  measureLayout,
1181
1282
  measureResolvedRequest,
1182
1283
  measure,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  sharedKeys10,
3
3
  sharedKeys5
4
- } from "./chunk-IXCDKCYE.js";
4
+ } from "./chunk-5LUHGXXE.js";
5
5
  import {
6
6
  optionKeyCheck
7
7
  } from "./chunk-Z6H5ED2I.js";
8
8
  import {
9
9
  createChartComponent
10
- } from "./chunk-36KGPRMX.js";
10
+ } from "./chunk-35JGEMCK.js";
11
11
  import {
12
12
  sparklineCore
13
- } from "./chunk-YO7LCXKN.js";
13
+ } from "./chunk-EPRJX5BI.js";
14
14
  import {
15
15
  registeredType
16
- } from "./chunk-7SSN5ECA.js";
16
+ } from "./chunk-D2I2BUR6.js";
17
17
 
18
18
  // src/react/charts/sparkline.ts
19
19
  var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, scaleGroup: { y: 0, id: 0 }, highlight: 0, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, ring: 0, endLabels: 0, valueLabel: 0, stroke: 0, reference: 0, ringTone: 0 } }), SparklineChart = createChartComponent(registeredType(sparklineCore), checkOptionKeys);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  emphasisWeight
3
- } from "./chunk-BKUTKQMT.js";
3
+ } from "./chunk-4NGKSJBX.js";
4
4
  import {
5
5
  scaleTextPx
6
6
  } from "./chunk-RJICOOB3.js";
@@ -21,8 +21,13 @@ function eyebrowFont(theme, textScale = 1) {
21
21
  function figureRole(theme) {
22
22
  return { family: theme.type.figure?.family ?? theme.type.family, weight: theme.type.figure?.weight ?? emphasisWeight(theme) };
23
23
  }
24
+ function displayFont(theme) {
25
+ let role = theme.type.display;
26
+ return { ...figureRole(theme), size: role?.size ?? 36, lineHeight: role?.lineHeight ?? 1.11 };
27
+ }
24
28
 
25
29
  export {
26
30
  eyebrowFont,
27
- figureRole
31
+ figureRole,
32
+ displayFont
28
33
  };
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-NNIZG3TH.js";
4
4
  import {
5
5
  disclosureNote
6
- } from "./chunk-B76O5YXI.js";
6
+ } from "./chunk-I3UJHKCS.js";
7
7
  import {
8
8
  chartStrings,
9
9
  formatAutomaticPercent
10
- } from "./chunk-FYFXOLWI.js";
10
+ } from "./chunk-5OUURZ2T.js";
11
11
  import {
12
12
  cleanFloat,
13
13
  round2
14
- } from "./chunk-BKUTKQMT.js";
14
+ } from "./chunk-4NGKSJBX.js";
15
15
 
16
16
  // src/core/strings/slope.ts
17
17
  var EN = {
@@ -8,14 +8,14 @@ import {
8
8
  linearScale,
9
9
  noteName,
10
10
  straightBreakGlyph
11
- } from "./chunk-FY3VV7TF.js";
11
+ } from "./chunk-PM5D5KYQ.js";
12
12
  import {
13
13
  NOTED_LABELS,
14
14
  PRIORITY,
15
15
  dataOrder,
16
16
  markNotedLabels,
17
17
  withHiddenLabelNote
18
- } from "./chunk-Z2WGJH2P.js";
18
+ } from "./chunk-ZLIVUVIV.js";
19
19
  import {
20
20
  dashToken,
21
21
  hatchGroundPaint,
@@ -24,7 +24,7 @@ import {
24
24
  separationStroke,
25
25
  strokeBoxPad,
26
26
  strokeToken
27
- } from "./chunk-BKUTKQMT.js";
27
+ } from "./chunk-4NGKSJBX.js";
28
28
  import {
29
29
  valueLabelsIgnoredWarning
30
30
  } from "./chunk-JF743NNC.js";
@@ -187,20 +187,20 @@ function emitBarMark(ctx, nodes, claims, input) {
187
187
  value: input.displayValue,
188
188
  ...input.displayState ? { state: input.displayState } : {},
189
189
  ...input.shows ? { shows: input.shows } : {}
190
- })), claims.claim(input.rect, "mark", claimOwner, input.part);
190
+ })), claims?.claim(input.rect, "mark", claimOwner, input.part);
191
191
  return;
192
192
  }
193
193
  if (input.pattern !== "outline") {
194
- nodes.push(rectNode(input.nodeId, input.rect, "bar", { value: input.displayValue, ...input.shows ? { shows: input.shows } : {} })), claims.claim(input.rect, "mark", claimOwner, "bar");
194
+ nodes.push(rectNode(input.nodeId, input.rect, "bar", { value: input.displayValue, ...input.shows ? { shows: input.shows } : {} })), claims?.claim(input.rect, "mark", claimOwner, "bar");
195
195
  let cut = barBreakCut(input.rect, axis, breakMeta.position, `${input.nodeId}:break`, input.owner);
196
- nodes.push(...cut.nodes), claims.claim(cut.rect, "axis", input.owner, "barBreak");
196
+ nodes.push(...cut.nodes), claims?.claim(cut.rect, "axis", input.owner, "barBreak");
197
197
  return;
198
198
  }
199
199
  let startPx = scale(input.start), endPx = scale(input.end), direction = endPx >= startPx ? 1 : -1, primaryEnd = breakMeta.position - direction * 2, beyondStart = breakMeta.position + direction * 2, part = (from, to) => axis === "x" ? { x: Math.min(from, to), y: input.rect.y, w: Math.max(Math.abs(to - from), 0.5), h: input.rect.h } : { x: input.rect.x, y: Math.min(from, to), w: input.rect.w, h: Math.max(Math.abs(to - from), 0.5) }, primaryRect = part(startPx, primaryEnd), beyondRect = part(beyondStart, endPx);
200
200
  nodes.push(
201
201
  rectNode(input.nodeId, primaryRect, "bar", { value: input.displayValue, ...input.shows ? { shows: input.shows } : {} }),
202
202
  rectNode(`${input.nodeId}:beyondBreak`, beyondRect, "barBeyondBreak")
203
- ), claims.claim(primaryRect, "mark", claimOwner, "bar"), claims.claim(beyondRect, "mark", claimOwner, "barBeyondBreak");
203
+ ), claims?.claim(primaryRect, "mark", claimOwner, "bar"), claims?.claim(beyondRect, "mark", claimOwner, "barBeyondBreak");
204
204
  let glyph = straightBreakGlyph(
205
205
  theme,
206
206
  axis === "x" ? { x: breakMeta.position, y: input.rect.y + input.rect.h / 2 } : { x: input.rect.x + input.rect.w / 2, y: breakMeta.position },
@@ -209,7 +209,7 @@ function emitBarMark(ctx, nodes, claims, input) {
209
209
  { token: "axis" },
210
210
  "barBreak"
211
211
  );
212
- nodes.push(...glyph.nodes), claims.claim(glyph.rect, "axis", input.owner, "barBreak");
212
+ nodes.push(...glyph.nodes), claims?.claim(glyph.rect, "axis", input.owner, "barBreak");
213
213
  }
214
214
 
215
215
  // src/core/charts/band/connectors.ts