boardplot 0.60.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 (422) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +2 -2
  3. package/dist/{ReaderBox-JJX4J7GC.js → ReaderBox-5QFALZHR.js} +5 -5
  4. package/dist/{annotateEngine-KNRKDLY3.js → annotateEngine-ONWZYNEM.js} +1 -1
  5. package/dist/build-identity.json +3 -3
  6. package/dist/{chunk-D4SXBDA4.js → chunk-23YYVMWH.js} +1 -1
  7. package/dist/{chunk-OMUW75ZR.js → chunk-2MK5437T.js} +7 -7
  8. package/dist/{chunk-CDFZV6LR.js → chunk-2P5KBQLT.js} +4 -4
  9. package/dist/{chunk-EH23CIC5.js → chunk-2VUEIEUO.js} +2 -2
  10. package/dist/{chunk-TASEX7VA.js → chunk-2YXO645A.js} +1 -1
  11. package/dist/{chunk-YHIBABKS.js → chunk-35JGEMCK.js} +35 -28
  12. package/dist/{chunk-XWGAANY4.js → chunk-3DXOZRRW.js} +3 -3
  13. package/dist/{chunk-PP23D6QV.js → chunk-3H72EFNC.js} +4 -4
  14. package/dist/{chunk-RDJ3ZU6O.js → chunk-3KYSWAEH.js} +13 -8
  15. package/dist/{chunk-XMRLQDOR.js → chunk-3QJVBKRX.js} +37 -37
  16. package/dist/{chunk-XVFUJRRC.js → chunk-3YSLEJPV.js} +1 -1
  17. package/dist/{chunk-DBKMJWPO.js → chunk-3Z4I6LNK.js} +1 -1
  18. package/dist/{chunk-J5QVU7GS.js → chunk-476R7YF4.js} +24 -20
  19. package/dist/{chunk-MA57XWZA.js → chunk-47IEMR6C.js} +85 -79
  20. package/dist/{chunk-ZNA4JHHG.js → chunk-4HZKH4HS.js} +2 -2
  21. package/dist/{chunk-CQ6WHTRL.js → chunk-4NGKSJBX.js} +109 -23
  22. package/dist/{chunk-DEJKDFS3.js → chunk-4SK4IGMK.js} +3 -3
  23. package/dist/{chunk-OL6HVC6K.js → chunk-4TTNLFTJ.js} +1 -1
  24. package/dist/{chunk-L2VWHKTJ.js → chunk-4XDWZJUX.js} +3 -1
  25. package/dist/{chunk-66FOKRUF.js → chunk-5FG24HFB.js} +4 -4
  26. package/dist/{chunk-HLQ74GAX.js → chunk-5J2PQ5EZ.js} +4 -4
  27. package/dist/{chunk-7BQK2UDV.js → chunk-5LUHGXXE.js} +1 -1
  28. package/dist/{chunk-FYFXOLWI.js → chunk-5OUURZ2T.js} +70 -58
  29. package/dist/{chunk-UNO3WZR2.js → chunk-64D7CHCE.js} +4 -4
  30. package/dist/{chunk-SBYKLBDV.js → chunk-6LYMOF2S.js} +4 -4
  31. package/dist/{chunk-52YYGKXG.js → chunk-6MXRNA4Z.js} +17 -17
  32. package/dist/{chunk-IDVHLD2L.js → chunk-6OM5IYNK.js} +68 -11
  33. package/dist/{chunk-B7UWG6XJ.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-OYLZRQTX.js → chunk-6XDX3MIU.js} +5 -5
  38. package/dist/{chunk-5XAU6JH5.js → chunk-75OLP5KB.js} +35 -35
  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-RTN422GQ.js → chunk-7NUNEVOU.js} +14 -9
  42. package/dist/{chunk-2ZDFX75P.js → chunk-7OT6CVQT.js} +1 -1
  43. package/dist/{chunk-QCDJGYFU.js → chunk-7R43Y35G.js} +1 -1
  44. package/dist/{chunk-XLX3TUFO.js → chunk-7RAF2HJA.js} +2 -2
  45. package/dist/{chunk-CROGQZFW.js → chunk-7S57SH2K.js} +9 -9
  46. package/dist/{chunk-LWRLVDFU.js → chunk-7ZYGEPY2.js} +52 -28
  47. package/dist/{chunk-N5DPRWQ6.js → chunk-ABUJPENV.js} +53 -42
  48. package/dist/{chunk-C63YFMCB.js → chunk-ADVFTNDL.js} +4 -4
  49. package/dist/{chunk-MOPY5REE.js → chunk-AFONROHX.js} +3 -3
  50. package/dist/{chunk-EGCELTRX.js → chunk-AO73FLJT.js} +4 -4
  51. package/dist/{chunk-U75MMLNQ.js → chunk-AU2TQN6F.js} +4 -4
  52. package/dist/{chunk-34XJCEPN.js → chunk-BFHAYXUU.js} +2 -2
  53. package/dist/{chunk-UKEI7JDA.js → chunk-BFJKH4AX.js} +3 -2
  54. package/dist/{chunk-3JG764MI.js → chunk-BHO5H4AF.js} +43 -15
  55. package/dist/{chunk-T73SF424.js → chunk-BKZF27CE.js} +2 -2
  56. package/dist/{chunk-BXZNLMMH.js → chunk-BR2ADMLU.js} +2 -2
  57. package/dist/{chunk-BIRB4FIZ.js → chunk-BZUHBKMK.js} +4 -4
  58. package/dist/{chunk-N7BPP6ZZ.js → chunk-C2X6NYMY.js} +1 -1
  59. package/dist/{chunk-NOC5PYN3.js → chunk-C3ULVZI7.js} +2 -2
  60. package/dist/{chunk-JUVSZGY7.js → chunk-CFT6W2QY.js} +3 -3
  61. package/dist/{chunk-7KIULDTU.js → chunk-CPBJII5T.js} +5 -5
  62. package/dist/{chunk-LUYV7PHY.js → chunk-CTRPRU4Y.js} +16 -13
  63. package/dist/{chunk-3HKY4LAR.js → chunk-CWBM7MXM.js} +4 -4
  64. package/dist/{chunk-ZQ6AEWKM.js → chunk-CZZXZFYL.js} +2 -2
  65. package/dist/{chunk-TDVNIVU4.js → chunk-D2I2BUR6.js} +1 -1
  66. package/dist/{chunk-VRG7GG7T.js → chunk-DCFK2BUL.js} +2 -2
  67. package/dist/{chunk-5OV7VOGV.js → chunk-DVQR5SFL.js} +2 -2
  68. package/dist/{chunk-GZYMHC44.js → chunk-DWEVPNNE.js} +2 -2
  69. package/dist/{chunk-RQT52BP4.js → chunk-DYG4XMCC.js} +5 -5
  70. package/dist/{chunk-PCITI5ED.js → chunk-E46KFVP5.js} +11 -11
  71. package/dist/{chunk-DITI57ZB.js → chunk-EKKRDPVW.js} +1 -1
  72. package/dist/{chunk-UGAZT73S.js → chunk-ELFF5YO7.js} +8 -8
  73. package/dist/{chunk-2KICOGFN.js → chunk-EPRJX5BI.js} +2 -2
  74. package/dist/{chunk-JOX252XQ.js → chunk-EPS7N5ZS.js} +8 -3
  75. package/dist/{chunk-AGR4VJ2Y.js → chunk-ERIMFXE3.js} +1 -1
  76. package/dist/{chunk-TSGSZAAN.js → chunk-ESS7GAO5.js} +15 -15
  77. package/dist/{chunk-VTUSC24F.js → chunk-EW77WN7V.js} +2 -2
  78. package/dist/{chunk-CLZPPLDA.js → chunk-F2IGRFYM.js} +57 -33
  79. package/dist/{chunk-WQ2TZNGR.js → chunk-F7LDXGWD.js} +11 -11
  80. package/dist/{chunk-SDAVHADX.js → chunk-FC6H5ATA.js} +2 -2
  81. package/dist/{chunk-ISNHKFCU.js → chunk-FI5VGWUQ.js} +2 -2
  82. package/dist/{chunk-Q53IWBTJ.js → chunk-FPF73SCJ.js} +18 -15
  83. package/dist/{chunk-4S3DTNEQ.js → chunk-FSRAPSO7.js} +28 -28
  84. package/dist/{chunk-ID65JMYY.js → chunk-FXKGNJYB.js} +17 -17
  85. package/dist/{chunk-25JXYOSX.js → chunk-FXQH2QJN.js} +1 -1
  86. package/dist/{chunk-GDS7LEGY.js → chunk-GA7CIH6N.js} +23 -18
  87. package/dist/{chunk-GYEBEF4S.js → chunk-GCOFMXFJ.js} +5 -5
  88. package/dist/{chunk-Q4SQGAEI.js → chunk-GGWYJNHH.js} +4 -4
  89. package/dist/{chunk-64M7YDMJ.js → chunk-GNSAYVND.js} +2 -2
  90. package/dist/{chunk-X725AGYP.js → chunk-H7K3RXBQ.js} +2 -2
  91. package/dist/{chunk-I5LFCHNQ.js → chunk-HCAPGTEA.js} +1 -1
  92. package/dist/{chunk-RF6ZHX5F.js → chunk-HUU76QHF.js} +1 -1
  93. package/dist/{chunk-TZOHCW4R.js → chunk-HV6OKHM6.js} +1 -1
  94. package/dist/{chunk-7OLE7R46.js → chunk-HYBGISXA.js} +3 -3
  95. package/dist/{chunk-E7GO4KFZ.js → chunk-I37SEVQ4.js} +127 -79
  96. package/dist/{chunk-ZCOGCNT7.js → chunk-I3UJHKCS.js} +3 -3
  97. package/dist/{chunk-VSAX2PYB.js → chunk-I56NIVFF.js} +4 -4
  98. package/dist/{chunk-2KDELDD4.js → chunk-IDMGFWB7.js} +134 -116
  99. package/dist/{chunk-YDYZWCUQ.js → chunk-IHZNRJEV.js} +1 -1
  100. package/dist/{chunk-EFU2RCCR.js → chunk-IMKHDTEQ.js} +1 -1
  101. package/dist/{chunk-PYJZ7CCP.js → chunk-ISNWAYX2.js} +3 -3
  102. package/dist/{chunk-6IRPZUWJ.js → chunk-ITPXKZXT.js} +83 -79
  103. package/dist/{chunk-PS45RNDC.js → chunk-J233F6JA.js} +3 -3
  104. package/dist/{chunk-PSUSHJFV.js → chunk-J6WWK4VC.js} +1 -1
  105. package/dist/{chunk-DXKMCMIH.js → chunk-J77EYTIA.js} +2 -2
  106. package/dist/{chunk-D7FFMBHF.js → chunk-JCZ64D4G.js} +4 -4
  107. package/dist/{chunk-LUIHWUZB.js → chunk-JEC6YG2C.js} +34 -20
  108. package/dist/{chunk-BNBCHZ6D.js → chunk-JV3S3OCN.js} +19 -18
  109. package/dist/{chunk-7KZN3TXQ.js → chunk-K2ZDFPYP.js} +5 -5
  110. package/dist/{chunk-WPHEUEO3.js → chunk-K3METEEY.js} +133 -30
  111. package/dist/{chunk-WWFUZXCW.js → chunk-K464WFSQ.js} +4 -4
  112. package/dist/{chunk-T52ZPSGL.js → chunk-KDRI3KHH.js} +7 -2
  113. package/dist/{chunk-K7CONTAT.js → chunk-KK7UXU2E.js} +3 -3
  114. package/dist/{chunk-5SPL5QEB.js → chunk-KNTNUQNS.js} +8 -8
  115. package/dist/{chunk-QZAT46PP.js → chunk-KRSI6U6L.js} +1 -0
  116. package/dist/{chunk-SC2363Q7.js → chunk-KU5WGRQJ.js} +72 -44
  117. package/dist/{chunk-C7SY7RYQ.js → chunk-KWBG3P7W.js} +4 -4
  118. package/dist/{chunk-ZXT3OS6U.js → chunk-KWKJYMXJ.js} +3 -3
  119. package/dist/{chunk-XKKII2K5.js → chunk-KWTVCTWS.js} +246 -83
  120. package/dist/{chunk-ZOQRX5V7.js → chunk-KZ7ECRPL.js} +4 -4
  121. package/dist/{chunk-VCENIUYM.js → chunk-L46NAICE.js} +5 -5
  122. package/dist/{chunk-2OKDNNCY.js → chunk-L4VGGSB3.js} +4 -4
  123. package/dist/{chunk-76IZNTNL.js → chunk-L6T7FXEM.js} +6 -6
  124. package/dist/{chunk-2E2MK4XM.js → chunk-LE6QYQRU.js} +2 -2
  125. package/dist/{chunk-WDLWWEHZ.js → chunk-LIMLKOX7.js} +1 -1
  126. package/dist/{chunk-2FSJFKUH.js → chunk-LK5V7U6C.js} +5 -5
  127. package/dist/{chunk-6RQCZA7X.js → chunk-LNBYRD5Q.js} +4 -4
  128. package/dist/{chunk-CVLTU3T4.js → chunk-LTEGXWSU.js} +4 -4
  129. package/dist/{chunk-MXC5QMPC.js → chunk-LUIHCUMB.js} +4 -4
  130. package/dist/{chunk-GOVRBONO.js → chunk-MAA5IGGT.js} +2 -2
  131. package/dist/{chunk-RLRVSX4I.js → chunk-MDGVRYXX.js} +20 -20
  132. package/dist/{chunk-7TGG57QF.js → chunk-MEIDC7ZF.js} +4 -4
  133. package/dist/{chunk-RWVM4EVE.js → chunk-MTJZT6F2.js} +5 -5
  134. package/dist/{chunk-AXKZLSON.js → chunk-MUYU6KTM.js} +1 -1
  135. package/dist/{chunk-RPS7G77V.js → chunk-MVA2JWM4.js} +2 -2
  136. package/dist/{chunk-LCTLW4ZW.js → chunk-MYDVNJAA.js} +1 -1
  137. package/dist/{chunk-3PFNYRBD.js → chunk-NFEVGJJ6.js} +13 -13
  138. package/dist/{chunk-HXAWJC32.js → chunk-NFSG2WBI.js} +4 -4
  139. package/dist/{chunk-K7NCVUIB.js → chunk-NFYF7P6H.js} +36 -28
  140. package/dist/{chunk-ZT7QX7UQ.js → chunk-NL2K3CZM.js} +5 -5
  141. package/dist/{chunk-A2RKEC66.js → chunk-NTONEZH5.js} +20 -20
  142. package/dist/{chunk-GGXAAOKT.js → chunk-NTSJ2RXB.js} +4 -4
  143. package/dist/{chunk-OJWJMG6B.js → chunk-NVPORMKX.js} +15 -15
  144. package/dist/{chunk-NJNMKQHG.js → chunk-NXA2CNVU.js} +125 -31
  145. package/dist/{chunk-R2RLERPT.js → chunk-NYROTVGH.js} +1 -1
  146. package/dist/{chunk-W74Y5AUG.js → chunk-NZHIXLKM.js} +19 -17
  147. package/dist/{chunk-UIOZDIUB.js → chunk-OCANU74G.js} +3 -3
  148. package/dist/{chunk-IF4PERIE.js → chunk-OF4VHET3.js} +4 -4
  149. package/dist/{chunk-UXJXA4NP.js → chunk-OJLXBFI3.js} +1 -1
  150. package/dist/{chunk-5HOIOQK3.js → chunk-OLXZXEKQ.js} +1 -1
  151. package/dist/{chunk-UNBUFCQT.js → chunk-OQGSYQLE.js} +1 -1
  152. package/dist/{chunk-MZCJ22O4.js → chunk-OQQGM2TM.js} +1 -1
  153. package/dist/{chunk-FPWADEL6.js → chunk-OQRTTGYP.js} +22 -1
  154. package/dist/{chunk-XUEX5WTR.js → chunk-OQTD4GN4.js} +1 -1
  155. package/dist/{chunk-HOQJIUTX.js → chunk-OXWIBDJP.js} +2 -2
  156. package/dist/{chunk-F7QCIJAY.js → chunk-OYDZO5BR.js} +1 -1
  157. package/dist/{chunk-5PC6VOEW.js → chunk-PDUF6EII.js} +9 -9
  158. package/dist/{chunk-GEFUIQUO.js → chunk-PHRQAWK4.js} +2 -2
  159. package/dist/{chunk-NF74JTTK.js → chunk-PM5D5KYQ.js} +67 -30
  160. package/dist/{chunk-QF6NFIBD.js → chunk-Q5BD6PMX.js} +22 -22
  161. package/dist/{chunk-UHFSDVW2.js → chunk-QEEE2WH5.js} +4 -4
  162. package/dist/{chunk-BG2RBCJP.js → chunk-QMGCL5FR.js} +4 -4
  163. package/dist/{chunk-DXSYY6XR.js → chunk-QMZPQU65.js} +2 -2
  164. package/dist/{chunk-7VWXXBTC.js → chunk-QSNEZ4UR.js} +1 -1
  165. package/dist/{chunk-BHYY6VMQ.js → chunk-QSWLPQCW.js} +27 -23
  166. package/dist/{chunk-LVC2YJGV.js → chunk-R55LS2W2.js} +28 -28
  167. package/dist/{chunk-BLTQ2L6U.js → chunk-RDXJAEZ4.js} +4 -4
  168. package/dist/{chunk-OVYQJDRW.js → chunk-RDZNRSAB.js} +2 -2
  169. package/dist/{chunk-VHZ4MXJO.js → chunk-RFUSBITY.js} +1 -1
  170. package/dist/{chunk-4VKYFELK.js → chunk-RIGQU57Y.js} +7 -7
  171. package/dist/{chunk-DEUOC3IL.js → chunk-RNA5GO3B.js} +2 -2
  172. package/dist/{chunk-IFRDI7EF.js → chunk-RODV3OHP.js} +294 -180
  173. package/dist/{chunk-CPKPQQV6.js → chunk-RPK657TE.js} +16 -2
  174. package/dist/{chunk-HMWN6FTW.js → chunk-SAVO62PW.js} +1 -1
  175. package/dist/{chunk-3ADWX4BM.js → chunk-SB2DHY53.js} +18 -18
  176. package/dist/{chunk-BIQ5LJEC.js → chunk-SBHPRHKB.js} +4 -4
  177. package/dist/{chunk-TMY4PWDQ.js → chunk-SBPFCQNK.js} +4 -4
  178. package/dist/{chunk-PZZAVTLQ.js → chunk-SFPHP3CC.js} +2 -2
  179. package/dist/{chunk-PLVYTK2H.js → chunk-SIZW5V4G.js} +18 -14
  180. package/dist/{chunk-Y4BJ7D5F.js → chunk-SJ5KVLTG.js} +1 -1
  181. package/dist/{chunk-PGZGBVTS.js → chunk-SJZLWRRY.js} +8 -8
  182. package/dist/{chunk-A3AKNPLZ.js → chunk-SOAB4G33.js} +4 -4
  183. package/dist/{chunk-LPLRXEOT.js → chunk-ST2IQX7U.js} +57 -17
  184. package/dist/{chunk-E4XQSRH6.js → chunk-T33R2CM3.js} +7 -7
  185. package/dist/{chunk-FWPPZB4G.js → chunk-T4ZE7AIX.js} +2 -2
  186. package/dist/{chunk-HTXICOSJ.js → chunk-TCQ733WC.js} +15 -15
  187. package/dist/{chunk-J3GYX5BJ.js → chunk-TGTKAIDU.js} +20 -15
  188. package/dist/{chunk-AE6X6RRH.js → chunk-U4PDXI67.js} +4 -4
  189. package/dist/{chunk-JXMOPQXC.js → chunk-UGTYYTPP.js} +2 -2
  190. package/dist/{chunk-Y5ROVCMQ.js → chunk-UL3RNOYB.js} +3 -3
  191. package/dist/{chunk-MYBBZNYN.js → chunk-UOTZH4TG.js} +2 -2
  192. package/dist/{chunk-ZH4DRVFN.js → chunk-UQSH52UJ.js} +4 -4
  193. package/dist/{chunk-PL43U5GM.js → chunk-UWT66OAR.js} +1 -1
  194. package/dist/{chunk-QTT4AJY5.js → chunk-V4NJTLJP.js} +14 -14
  195. package/dist/{chunk-SY7JC3PH.js → chunk-V4YJRZHE.js} +1 -1
  196. package/dist/{chunk-FP4INYSU.js → chunk-V5Y3CXSU.js} +4 -4
  197. package/dist/{chunk-TTY4CA7M.js → chunk-VZFPQMYN.js} +9 -9
  198. package/dist/{chunk-C26Z5AEW.js → chunk-W35C2SL3.js} +3 -3
  199. package/dist/{chunk-X5I3LGHD.js → chunk-W6ZCXWOK.js} +1 -1
  200. package/dist/{chunk-TUYKMVYV.js → chunk-WDP7IDGF.js} +13 -13
  201. package/dist/{chunk-L3B46VGP.js → chunk-WDQJ2DRZ.js} +14 -14
  202. package/dist/{chunk-3HKL6KJ6.js → chunk-WKBW4JFU.js} +1 -1
  203. package/dist/chunk-WM65Q3AL.js +69 -0
  204. package/dist/{chunk-HPNQ3GKK.js → chunk-WO6ZJCAO.js} +4 -4
  205. package/dist/chunk-WSRGEK5T.js +89 -0
  206. package/dist/{chunk-NGKZRGQL.js → chunk-WXGBSBHQ.js} +13 -12
  207. package/dist/{chunk-XDGAJVCG.js → chunk-WXOSGKMS.js} +8 -8
  208. package/dist/{chunk-6BAUUBP2.js → chunk-XBASXPUJ.js} +2 -2
  209. package/dist/{chunk-O6E2LWGK.js → chunk-XDDFM3BH.js} +6 -6
  210. package/dist/{chunk-ENVV7LI4.js → chunk-XJOCPL6R.js} +2 -2
  211. package/dist/{chunk-ETSWVJB6.js → chunk-XJSI7ZO2.js} +1 -1
  212. package/dist/chunk-XKGZWQF7.js +63 -0
  213. package/dist/{chunk-ZLH7XSHV.js → chunk-XLHURGH3.js} +5 -5
  214. package/dist/{chunk-LGNAFFIL.js → chunk-XWQDNJ36.js} +4 -4
  215. package/dist/{chunk-ZS24JHBP.js → chunk-YBQ4F27M.js} +4 -4
  216. package/dist/{chunk-ZIC22PSH.js → chunk-YDT6QZZK.js} +9 -9
  217. package/dist/{chunk-BJS6TLLE.js → chunk-YE6B7P6Q.js} +1 -1
  218. package/dist/{chunk-UF7OWARN.js → chunk-YERTQ576.js} +4 -4
  219. package/dist/{chunk-GNK7RTO4.js → chunk-YF4DIQJR.js} +4 -4
  220. package/dist/{chunk-7XO74NDR.js → chunk-YHLKL4R5.js} +3 -3
  221. package/dist/{chunk-E6KUWZ5W.js → chunk-YHSY6CVM.js} +4 -4
  222. package/dist/{chunk-RYH3JFCL.js → chunk-YJGZ3AOW.js} +2 -2
  223. package/dist/{chunk-5DTMIKDX.js → chunk-YKK25QM4.js} +4 -4
  224. package/dist/{chunk-3WC2TA6C.js → chunk-YMBJHKTY.js} +3 -3
  225. package/dist/{chunk-TLKRYDH3.js → chunk-YTFU2B5K.js} +2 -2
  226. package/dist/{chunk-AH2L44TR.js → chunk-YUIITZCO.js} +3 -3
  227. package/dist/{chunk-XHEG2BG6.js → chunk-Z3VCVPYX.js} +1 -1
  228. package/dist/{chunk-MF6XGFHB.js → chunk-ZB4WVG7Q.js} +7 -3
  229. package/dist/{chunk-YCTBPRV4.js → chunk-ZCB5MLPW.js} +3 -3
  230. package/dist/{chunk-DP5CXMZW.js → chunk-ZDQ2EWWH.js} +32 -28
  231. package/dist/{chunk-FG2VET62.js → chunk-ZG46HLGN.js} +108 -81
  232. package/dist/chunk-ZGL2P56Z.js +11 -0
  233. package/dist/{chunk-6USMWXB3.js → chunk-ZIAPNZ6R.js} +4 -4
  234. package/dist/{chunk-Q7GDGSTK.js → chunk-ZLIVUVIV.js} +28 -16
  235. package/dist/{chunk-IRCLNPLJ.js → chunk-ZMCTTTR2.js} +4 -4
  236. package/dist/{chunk-STRN4XOX.js → chunk-ZYJZ624V.js} +5 -5
  237. package/dist/cli/index.js +2 -2
  238. package/dist/{core-32KM4AJG.js → core-2DRDBSL7.js} +2 -1
  239. package/dist/{core-OZLK2EJW.js → core-2VAPYQDA.js} +2 -1
  240. package/dist/{core-STATMGC7.js → core-3JGHUUZZ.js} +2 -1
  241. package/dist/{core-6N5ONDKG.js → core-3KMBTZ32.js} +3 -1
  242. package/dist/{core-J5DSGZZR.js → core-4HEB3CRT.js} +2 -1
  243. package/dist/{core-2JHH5LLH.js → core-4WT74WGL.js} +3 -1
  244. package/dist/{core-JFORSZQS.js → core-4ZUNKYYC.js} +2 -1
  245. package/dist/{core-RYEENVFZ.js → core-5VCTJDQM.js} +2 -1
  246. package/dist/{core-FRVHGKYW.js → core-AJANHLTB.js} +2 -1
  247. package/dist/{core-7II27MGX.js → core-AL3TDBHQ.js} +5 -1
  248. package/dist/{core-AAC2ESXF.js → core-ATBNPTR5.js} +2 -1
  249. package/dist/{core-REYW2XB3.js → core-BIEUVBZK.js} +3 -1
  250. package/dist/{core-COGECGZY.js → core-C2CCLPE5.js} +2 -1
  251. package/dist/{core-XHSGRJDP.js → core-C3VC6YEV.js} +3 -1
  252. package/dist/{core-V2RMMBMO.js → core-DCWAUTD4.js} +2 -1
  253. package/dist/{core-X4SPCV6G.js → core-GYDBZC7Q.js} +3 -1
  254. package/dist/{core-255NAAUA.js → core-H3RRJPQK.js} +2 -1
  255. package/dist/{core-BTKBKGCU.js → core-HAMHEP3M.js} +3 -1
  256. package/dist/{core-CELQJZJB.js → core-HRBOWCHO.js} +2 -1
  257. package/dist/{core-WU6DBIAM.js → core-IHG5XK6Q.js} +2 -1
  258. package/dist/{core-L4EGZ73S.js → core-JNA7L23P.js} +3 -1
  259. package/dist/{core-QYAXEGWD.js → core-JTHVZEC4.js} +2 -1
  260. package/dist/{core-YTTTVHUH.js → core-JXCXTDYK.js} +3 -1
  261. package/dist/{core-TBQAFBDU.js → core-LL2O5PBD.js} +3 -1
  262. package/dist/{core-HRHUGQNB.js → core-NNHCWP3B.js} +2 -1
  263. package/dist/{core-FLCLKSGA.js → core-OM3DGO6B.js} +2 -1
  264. package/dist/{core-GCYDQRFM.js → core-QH3H6ZPI.js} +2 -1
  265. package/dist/{core-YVWLKGAN.js → core-QKDNA6KJ.js} +2 -1
  266. package/dist/{core-W4NG6WON.js → core-R6OE3ORL.js} +2 -1
  267. package/dist/{core-NARJSEGI.js → core-RZI7LRK3.js} +5 -1
  268. package/dist/{core-6GE3EMCB.js → core-SXBMOZ3W.js} +2 -1
  269. package/dist/{core-GETUMW6I.js → core-TXADFQ3I.js} +3 -1
  270. package/dist/{core-SUFLQLWC.js → core-UOB4JKCT.js} +2 -1
  271. package/dist/{core-56KTQ7DK.js → core-WIV43MFA.js} +2 -1
  272. package/dist/{core-W3XIUTU7.js → core-XDPELH2B.js} +4 -1
  273. package/dist/{core-F7ASDBXB.js → core-YKHQUOAW.js} +2 -1
  274. package/dist/{core-QLJQOZGJ.js → core-ZXGKAECT.js} +4 -1
  275. package/dist/{dataTable-OI4CVMFJ.js → dataTable-JBVSQNJX.js} +3 -2
  276. package/dist/{engine-3SQQ2S5U.js → engine-QUEIPS7M.js} +44 -18
  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-TWTT3Q2R.js → main-V264O3WR.js} +8 -7
  281. package/dist/mcp/server.js +14 -13
  282. package/dist/react/bar.js +5 -1
  283. package/dist/react/bartable.js +3 -1
  284. package/dist/react/box.js +3 -1
  285. package/dist/react/bullet.js +4 -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 +4 -1
  290. package/dist/react/combo.js +4 -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 +6 -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 +4 -1
  301. package/dist/react/index.js +86 -84
  302. package/dist/react/kpi.js +3 -1
  303. package/dist/react/likert.js +5 -1
  304. package/dist/react/line.js +3 -1
  305. package/dist/react/mekko.js +4 -1
  306. package/dist/react/pareto.js +3 -1
  307. package/dist/react/pie.js +3 -1
  308. package/dist/react/prepare.js +24 -22
  309. package/dist/react/pvm.js +4 -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 +4 -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 +4 -1
  323. package/dist/react/waffle.js +3 -1
  324. package/dist/react/waterfall.js +4 -1
  325. package/dist/{resvg-ZYEZTSUO.js → resvg-M5HJ3ME3.js} +1 -1
  326. package/dist/{rowsModule-BULW5KS2.js → rowsModule-6UL4SSUC.js} +1 -1
  327. package/dist/{schema-D3ELHESU.js → schema-3FSG2YXY.js} +1 -1
  328. package/dist/{schema-PBMYZKBK.js → schema-5PQPGEZQ.js} +1 -1
  329. package/dist/{schema-SUDJBIHX.js → schema-6LUORZNN.js} +1 -1
  330. package/dist/{schema-LGYHJPXU.js → schema-6MDHX2E7.js} +1 -1
  331. package/dist/{schema-4HGZZNUL.js → schema-7HXHGBUN.js} +1 -1
  332. package/dist/{schema-5SVPR3EU.js → schema-ACOD4XKI.js} +1 -1
  333. package/dist/{schema-AM2KS6ZC.js → schema-B3I7XBP3.js} +1 -1
  334. package/dist/{schema-4YIYGGOJ.js → schema-CCOTGURZ.js} +1 -1
  335. package/dist/{schema-GYVYJEL3.js → schema-E5O7M5KM.js} +1 -1
  336. package/dist/{schema-PAKZIYQF.js → schema-EWATAK6Z.js} +1 -1
  337. package/dist/{schema-NNNG7CWG.js → schema-FEBMLOZG.js} +1 -1
  338. package/dist/{schema-GYTWCCNA.js → schema-FL57LIU2.js} +1 -1
  339. package/dist/{schema-NI5B642U.js → schema-FTRAVEX3.js} +2 -1
  340. package/dist/{schema-FBIEOKO2.js → schema-GSKCG2WP.js} +1 -1
  341. package/dist/{schema-FPDLOIA6.js → schema-HVDY6QXK.js} +1 -1
  342. package/dist/{schema-XKPUXAVB.js → schema-I267TVQ4.js} +1 -1
  343. package/dist/{schema-IYLRZNFB.js → schema-IG2WGTQO.js} +1 -1
  344. package/dist/{schema-YCKUQ3FF.js → schema-ITZQDKSE.js} +1 -1
  345. package/dist/{schema-C25ECGJL.js → schema-LCOGZNQF.js} +1 -1
  346. package/dist/{schema-A4U4RDKJ.js → schema-MC3CQNPR.js} +1 -1
  347. package/dist/{schema-FQWENOJY.js → schema-MP2QNFCN.js} +1 -1
  348. package/dist/{schema-CBLNGK2F.js → schema-NYCMLGOW.js} +1 -1
  349. package/dist/{schema-GTLGAPCU.js → schema-OML7XS7J.js} +1 -1
  350. package/dist/{schema-IYBZPCM4.js → schema-QAAVXXYR.js} +1 -1
  351. package/dist/{schema-3LRC5TOZ.js → schema-QPYFXSEQ.js} +1 -1
  352. package/dist/{schema-WDKBCN3V.js → schema-RJBIXN5U.js} +1 -1
  353. package/dist/{schema-P2JYSV32.js → schema-RW47HWVO.js} +1 -1
  354. package/dist/{schema-TRPPZCIR.js → schema-S7Q4YR7R.js} +1 -1
  355. package/dist/{schema-YVBUY7NH.js → schema-SWVWMZY3.js} +1 -1
  356. package/dist/{schema-LX4EXDTI.js → schema-T3RSFE2V.js} +1 -1
  357. package/dist/{schema-KPZVLE6A.js → schema-T4CGWZLB.js} +4 -2
  358. package/dist/{schema-VH4AW62Z.js → schema-TXYKZ5NT.js} +1 -1
  359. package/dist/{schema-5OLQ54J5.js → schema-U6CZI6XG.js} +1 -1
  360. package/dist/{schema-SQ2GYLMI.js → schema-XE4WY64H.js} +1 -1
  361. package/dist/{schema-HAMPGUH3.js → schema-YDWVXQPK.js} +1 -1
  362. package/dist/{schema-KBV2JB2A.js → schema-YPGXVI22.js} +1 -1
  363. package/dist/{schema-2ACHQTR3.js → schema-ZMOIP2BK.js} +1 -1
  364. package/dist/{specValidation-5J6DDCHF.js → specValidation-6LVTTHZI.js} +2 -1
  365. package/dist/theme.js +3 -3
  366. package/dist/{themeShapeRules-MOUDTDUB.js → themeShapeRules-NDEXKFC7.js} +1 -1
  367. package/dist/types/core/annotate.d.ts +9 -0
  368. package/dist/types/core/annotateFields.d.ts +36 -1
  369. package/dist/types/core/annotateTargets.d.ts +2 -0
  370. package/dist/types/core/charts/bar/layout.d.ts +1 -1
  371. package/dist/types/core/charts/column/model.d.ts +3 -1
  372. package/dist/types/core/charts/grid/metricStack.d.ts +35 -3
  373. package/dist/types/core/charts/grid/metricStackSchema.d.ts +8 -0
  374. package/dist/types/core/charts/grid/schema.d.ts +5 -0
  375. package/dist/types/core/charts/scatter/layout.d.ts +18 -1
  376. package/dist/types/core/charts/scatter/marks.d.ts +94 -0
  377. package/dist/types/core/charts/scatter/zones.d.ts +52 -0
  378. package/dist/types/core/fontMetrics/index.d.ts +3 -1
  379. package/dist/types/core/fontMetrics/injected.d.ts +1 -0
  380. package/dist/types/core/frame.d.ts +7 -2
  381. package/dist/types/core/label/occupied.d.ts +1 -1
  382. package/dist/types/core/registry.d.ts +2 -0
  383. package/dist/types/core/request.d.ts +7 -0
  384. package/dist/types/core/sizing.d.ts +9 -0
  385. package/dist/types/core/themeGeometry.d.ts +184 -0
  386. package/dist/types/core/types/data.d.ts +2 -0
  387. package/dist/types/core/types/options.d.ts +10 -0
  388. package/dist/types/core/types/scene.d.ts +11 -0
  389. package/dist/types/core/types/theme.d.ts +26 -2
  390. package/dist/types/react/hover/engine.d.ts +5 -1
  391. package/dist/types/react/hover/labelCard.d.ts +33 -2
  392. package/dist/types/react/hover/placement.d.ts +11 -0
  393. package/dist/types/react/prepare.d.ts +2 -1
  394. package/dist/types/react/useHover.d.ts +1 -0
  395. package/dist/types/theme.d.ts +1 -1
  396. package/dist/validate.js +8 -6
  397. package/docs/manual.md +4 -2
  398. package/docs/reference/bar.md +2 -2
  399. package/docs/reference/bullet.md +1 -1
  400. package/docs/reference/butterfly.md +1 -1
  401. package/docs/reference/column.md +2 -2
  402. package/docs/reference/combo.md +2 -2
  403. package/docs/reference/dot.md +2 -2
  404. package/docs/reference/fixtures.md +3 -0
  405. package/docs/reference/grid.md +25 -12
  406. package/docs/reference/heatmap.md +1 -1
  407. package/docs/reference/line.md +2 -2
  408. package/docs/reference/mekko.md +2 -2
  409. package/docs/reference/options.md +6 -1
  410. package/docs/reference/pvm.md +1 -1
  411. package/docs/reference/react.md +4 -2
  412. package/docs/reference/scatter.md +1 -1
  413. package/docs/reference/slope.md +2 -2
  414. package/docs/reference/sparkline.md +1 -0
  415. package/docs/reference/table.md +1 -1
  416. package/docs/reference/theme.md +5 -1
  417. package/docs/reference/variance.md +1 -1
  418. package/docs/reference/waterfall.md +1 -1
  419. package/package.json +1 -1
  420. package/dist/chunk-6AIHN5S6.js +0 -89
  421. package/dist/chunk-CDZHNLO6.js +0 -42
  422. package/dist/chunk-QPWRHDLZ.js +0 -17
@@ -16,23 +16,23 @@ import {
16
16
  quietLandPaint,
17
17
  renderGeoOverlays,
18
18
  reserveGeoOverlayGlyphs
19
- } from "./chunk-7KZN3TXQ.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-Y5ROVCMQ.js";
25
+ } from "./chunk-UL3RNOYB.js";
26
26
  import {
27
27
  chartTheme
28
- } from "./chunk-BJS6TLLE.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-34XJCEPN.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-NF74JTTK.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-Q7GDGSTK.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-ZCOGCNT7.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-CQ6WHTRL.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-Q7GDGSTK.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-CQ6WHTRL.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-CPKPQQV6.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-34XJCEPN.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-NF74JTTK.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-ZCOGCNT7.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-CQ6WHTRL.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;
@@ -273,6 +284,8 @@ var LAYOUT_STRING_KEYS = Object.keys({
273
284
  belowSeries: !0,
274
285
  average: !0,
275
286
  valueLineRange: !0,
287
+ valueLineRangeKey: !0,
288
+ valueLineRangeKeyPlain: !0,
276
289
  toDate: !0,
277
290
  forecast: !0,
278
291
  plan: !0,
@@ -333,7 +346,10 @@ var LAYOUT_STRING_KEYS = Object.keys({
333
346
  incompleteStacks: !0,
334
347
  knownPartsShares: !0,
335
348
  rebaseZero: !0,
336
- rebaseMissing: !0
349
+ rebaseMissing: !0,
350
+ stackFrom: !0,
351
+ stackAgainst: !0,
352
+ stackAverages: !0
337
353
  });
338
354
  function layoutStrings(...sources) {
339
355
  let merged = {};
@@ -441,7 +457,10 @@ function prepared(def, data, options) {
441
457
  function layoutResolvedRequest(request) {
442
458
  if (request.type !== "table" && request.type !== "dimswitch" || request.data === null || typeof request.data != "object") return layoutRequest(request);
443
459
  let { type, theme, target, size, fixed, inputWarnings } = request;
444
- 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
+ });
445
464
  }
446
465
  function planResolvedRequest(request) {
447
466
  let result = request.type === "table" || request.type === "dimswitch" ? withPlanInputs(() => layoutRequest({ ...request, options: { ...request.options, [PLAN_ONLY]: !0 } })) : layoutResolvedRequest(request);
@@ -454,10 +473,24 @@ function planResolvedRequest(request) {
454
473
  scene: []
455
474
  });
456
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
+ }
457
490
  function layoutRequest(request) {
458
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);
459
492
  return request.type !== "table" || isRefused(result) ? finish(result) : finish(checkedTightAdvice(result, (size) => {
460
- let next = layoutPlain({ ...request, options: { ...request.options, size } });
493
+ let next = layoutWidthProbe({ ...request, options: { ...request.options, size } });
461
494
  return isRefused(next) ? void 0 : next;
462
495
  }));
463
496
  }
@@ -634,8 +667,8 @@ function askedNotesOff(plain, refused) {
634
667
  suggest: `Leave the height out${height === void 0 ? "" : `, or give the chart ${height} px of height`}.`
635
668
  }] };
636
669
  }
637
- function widthProbers(request, layoutAt, known, verify = !1) {
638
- 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) => {
639
672
  let run = preparedLayout(asked);
640
673
  try {
641
674
  return run(probeOptions(asked.options));
@@ -670,24 +703,28 @@ function widthProbers(request, layoutAt, known, verify = !1) {
670
703
  if (!(error instanceof NormalizeError) || width === request.size.width) throw error;
671
704
  return { draws: !1, result: void 0 };
672
705
  }
673
- }, any = cached(refusedAt((width) => {
706
+ }, atWidth = (width, acceptance = !1) => {
674
707
  let gate = gated(width);
675
708
  if (gate) return gate;
676
- 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);
677
710
  if (!isRefused(first)) return read(first, !0);
678
- 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
+ });
679
716
  if (isRefused(drawn)) return read(first, !1);
680
717
  let need = sizeNeed(first);
681
718
  return { ...read(drawn, !0), ...need !== void 0 && need > width ? { upper: need } : {} };
682
- }), 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;
683
720
  return { full: cached(refusedAt((width) => {
684
721
  let drawn = any(width);
685
722
  if (!drawn.draws || drawn.result.mode !== "compact" || own.mode === "compact") return drawn;
686
723
  let probe = layoutAt({ ...request.options, belowMinimum: "refuse", size: { width }, [WIDTH_PROBE]: request.type });
687
724
  return { draws: !1, floor: sizeNeed(probe), result: drawn.result };
688
- })), any };
725
+ })), any, accepts };
689
726
  }
690
- 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) {
691
728
  let hi = Math.max(Math.ceil(top), bottom + 1), low = bottom, probe = at(hi), named = topNamed;
692
729
  for (let round = 0; round < 4; round++) {
693
730
  for (let pass = 0; !probe.draws && pass < 8; pass++) {
@@ -706,6 +743,14 @@ function drawsFrom(at, top, bottom, verifiedFrom = 1 / 0, topNamed = !1) {
706
743
  [low, hi, probe, named] = [upper - 1, upper, at(upper), !0];
707
744
  }
708
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
+ }
709
754
  let bisect = (from) => {
710
755
  let lo = from;
711
756
  for (; hi - lo > 1; ) {
@@ -737,21 +782,61 @@ function drawsFrom(at, top, bottom, verifiedFrom = 1 / 0, topNamed = !1) {
737
782
  var TYPE_CLASS_STEPS = [720, WIDE_CANVAS_MIN_WIDTH];
738
783
  function drawnAdvice(request, result, layoutAt) {
739
784
  if (!result.refused) return result;
740
- 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);
741
792
  return step && advised !== result && classSteps.set(advised, step), advised;
742
793
  }
743
794
  function refusalProbes(request, result, verify = !1) {
744
795
  return result.refused && result.warnings[0]?.code === "size-below-floor" ? openWidthProbes(request, verify) : void 0;
745
796
  }
746
797
  function openWidthProbes(request, verify) {
747
- 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;
748
819
  }
749
820
  var storedSearches = /* @__PURE__ */ new Map(), STORED_WIDTHS = 64, STORED_REQUESTS = 32, STORED_KEY_LENGTH = 2e5;
750
821
  function storedProbes(request, verify) {
751
822
  if (request.data === null || typeof request.data != "object" || !jsonShowsAll(request.data)) return;
752
823
  let { size: _size, ...options } = request.options, { type, theme, target, fixed, inputWarnings } = request, footer = loadedDeferred("footer") !== void 0, key;
753
824
  try {
754
- 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 }));
755
840
  } catch {
756
841
  return;
757
842
  }
@@ -772,6 +857,11 @@ function jsonShowsAll(data) {
772
857
  }
773
858
  return !0;
774
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
+ }
775
865
  function advisedRefusal(result, found) {
776
866
  if (!found || !result.refused) return result;
777
867
  let { width, probe: drawn } = found, height = Math.max(Math.ceil(drawn.size.height), Math.ceil(result.sizing.minHeight)), warning = {
@@ -782,10 +872,21 @@ function advisedRefusal(result, found) {
782
872
  };
783
873
  return { ...result, warnings: [warning, ...result.warnings.slice(1)] };
784
874
  }
785
- function advisedWidth(request, result, any) {
875
+ function advisedWidth(request, result, probers, tableRuns) {
786
876
  let finding = result.refused ? result.warnings[0] : void 0, need = finding?.code === "size-below-floor" ? finding.expected?.minimum : void 0;
787
- if (!(!result.refused || !need || request.fixed.height || need.width <= result.size.width) && !smallerClass(request, result))
788
- 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);
789
890
  }
790
891
  function inputPanels(data) {
791
892
  let input = data, normalized = Array.isArray(input?.panels) ? input : prepared(getChart("grid") ?? {}, data);
@@ -830,6 +931,7 @@ function preparedLayout(request, verifyAdvice = !1) {
830
931
  ...request.options,
831
932
  theme: { preset: typeof ref == "string" ? ref : ref?.preset ?? DEFAULT_PRESET, overrides: request.theme },
832
933
  [REMOVED_NAMES]: removedNameWarnings(request.options),
934
+ ...request[RETAIN_TABLE_RESULT] ? { [RETAIN_TABLE_RESULT]: !0 } : {},
833
935
  ...verifyAdvice ? { [VERIFY_ADVICE]: !0 } : {}
834
936
  }, warnings = request.inputWarnings ?? [], run = def[LAYOUT_CALL]?.(request.data, options), disclose = (result) => {
835
937
  if (result.refused) return result;
@@ -841,7 +943,7 @@ function preparedLayout(request, verifyAdvice = !1) {
841
943
  return options[MARGIN_BELOW] ? withMarginStepBelow(plain) : plain();
842
944
  }
843
945
  let current = fresh ? { ...options } : { ...options, [LAYOUT_CALL]: run };
844
- 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])
845
947
  Object.hasOwn(frame, key) ? current[key] = frame[key] : delete current[key];
846
948
  return options[MARGIN_BELOW] ? withMarginStepBelow(() => disclose(def.layout(request.data, current))) : disclose(def.layout(request.data, current));
847
949
  }, at = ((frame) => {
@@ -995,7 +1097,7 @@ function measureWithLayout(request, result, layoutAt, verify = !1, asked = { req
995
1097
  );
996
1098
  }
997
1099
  }
998
- 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;
999
1101
  if (sizing.compactFloor && def !== void 0 && !compactFallbackApplies(def, { ...request.options, size: sizing.compactFloor }, request.data)) {
1000
1102
  let { compactFloor: _off, ...rest } = sizing;
1001
1103
  sizing = rest;
@@ -1175,6 +1277,7 @@ export {
1175
1277
  resolveChartRequest,
1176
1278
  layoutResolvedRequest,
1177
1279
  planResolvedRequest,
1280
+ tableViewportFrame,
1178
1281
  measureLayout,
1179
1282
  measureResolvedRequest,
1180
1283
  measure,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  sharedKeys10,
3
3
  sharedKeys5
4
- } from "./chunk-7BQK2UDV.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-YHIBABKS.js";
10
+ } from "./chunk-35JGEMCK.js";
11
11
  import {
12
12
  sparklineCore
13
- } from "./chunk-2KICOGFN.js";
13
+ } from "./chunk-EPRJX5BI.js";
14
14
  import {
15
15
  registeredType
16
- } from "./chunk-TDVNIVU4.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-CQ6WHTRL.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-ZCOGCNT7.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-CQ6WHTRL.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-NF74JTTK.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-Q7GDGSTK.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-CQ6WHTRL.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