boardplot 0.58.2 → 0.59.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 (415) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/dist/{ReaderBox-WVOT7VVJ.js → ReaderBox-4PNFZO56.js} +4 -4
  3. package/dist/{annotateEngine-IJ7RDLUI.js → annotateEngine-DL4KRQ6B.js} +1 -1
  4. package/dist/build-identity.json +3 -3
  5. package/dist/{chunk-54YO56IK.js → chunk-25JXYOSX.js} +1 -1
  6. package/dist/{chunk-DZUF4V4F.js → chunk-266ENWFM.js} +3 -3
  7. package/dist/{chunk-FRR7BJ3B.js → chunk-2E2MK4XM.js} +2 -2
  8. package/dist/{chunk-K5LIUWJO.js → chunk-2GVW5WDD.js} +3 -3
  9. package/dist/{chunk-4ROZ4TFL.js → chunk-2HRDOBPS.js} +1 -1
  10. package/dist/chunk-2Q7IAWON.js +18 -0
  11. package/dist/{chunk-JQSDRXLX.js → chunk-33SPSKTP.js} +4 -4
  12. package/dist/{chunk-Z6DUNKFU.js → chunk-3JG764MI.js} +688 -140
  13. package/dist/{chunk-OZLKEBCD.js → chunk-3V7Y7CHI.js} +1 -1
  14. package/dist/{chunk-3BMPYY26.js → chunk-3WC2TA6C.js} +4 -4
  15. package/dist/{chunk-LX6X33C7.js → chunk-3WFJDXZO.js} +3 -3
  16. package/dist/{chunk-OGWZT3PH.js → chunk-3ZR7ZE64.js} +2 -2
  17. package/dist/{chunk-UISHXPGJ.js → chunk-4DLIXTDH.js} +5 -5
  18. package/dist/{chunk-FL57NWM7.js → chunk-4EEK4AMC.js} +2 -2
  19. package/dist/{chunk-5OBA4IKC.js → chunk-4LCQO46F.js} +144 -55
  20. package/dist/{chunk-DXNVL67C.js → chunk-4NIIQFDA.js} +147 -104
  21. package/dist/{chunk-ED7GLWTF.js → chunk-4PKUS5MG.js} +2 -1
  22. package/dist/{chunk-ECL7CSPJ.js → chunk-4WH2YGO6.js} +3 -3
  23. package/dist/{chunk-MXUPMGRY.js → chunk-4YKS2JDE.js} +3 -3
  24. package/dist/{chunk-ZQHMZUFD.js → chunk-4YZQY3AA.js} +1 -1
  25. package/dist/{chunk-ZDITBL4Z.js → chunk-56CDMSE5.js} +2 -2
  26. package/dist/{chunk-SBKM6XFS.js → chunk-5AXWSGS7.js} +3 -3
  27. package/dist/{chunk-XZXZNI7A.js → chunk-5HOIOQK3.js} +1 -1
  28. package/dist/{chunk-ERDKMZ7O.js → chunk-5OV7VOGV.js} +2 -2
  29. package/dist/{chunk-AICO24HJ.js → chunk-5QMM354E.js} +6 -5
  30. package/dist/{chunk-DIN62FP4.js → chunk-5UXK5BAA.js} +37 -38
  31. package/dist/{chunk-7Q4T5TPZ.js → chunk-5YULK4DY.js} +6 -10
  32. package/dist/{chunk-QRIEJAM5.js → chunk-5ZE7SHRM.js} +3 -3
  33. package/dist/{chunk-KNT3GSVB.js → chunk-67744WKZ.js} +1 -1
  34. package/dist/{chunk-HTY6XK32.js → chunk-6CZGFTGK.js} +51 -47
  35. package/dist/{chunk-FVQRFBOP.js → chunk-6IIYLDSQ.js} +3 -3
  36. package/dist/{chunk-U5CBQHTX.js → chunk-6TH5NVKS.js} +19 -14
  37. package/dist/{chunk-I5VNHDPR.js → chunk-6TZDPQDE.js} +2 -2
  38. package/dist/{chunk-TMEUK2WS.js → chunk-77L6QGIG.js} +1 -1
  39. package/dist/{chunk-IU2PONEI.js → chunk-7IONS4Z7.js} +3 -3
  40. package/dist/{chunk-ETUKDEGL.js → chunk-7QUWM5W6.js} +6 -6
  41. package/dist/{chunk-24PMVRVW.js → chunk-7SIZGM5S.js} +78 -53
  42. package/dist/{chunk-QVLHI3BE.js → chunk-7TZIPGFH.js} +8 -6
  43. package/dist/{chunk-76GPN6AT.js → chunk-7UUSHA7H.js} +1 -1
  44. package/dist/{chunk-OZA7HA6L.js → chunk-7UZUXPFM.js} +1 -1
  45. package/dist/{chunk-U5D5NUFA.js → chunk-7YJSSPQX.js} +31 -28
  46. package/dist/{chunk-4GKVFHJH.js → chunk-7ZXIHEZS.js} +4 -4
  47. package/dist/{chunk-FJA5EUE7.js → chunk-A3SOYL6F.js} +3 -3
  48. package/dist/{chunk-CAE6E3NW.js → chunk-ADLKZEML.js} +31 -64
  49. package/dist/{chunk-KNGC2STY.js → chunk-AFQZBCME.js} +4 -4
  50. package/dist/{chunk-TVOMGNFQ.js → chunk-AGR4VJ2Y.js} +1 -1
  51. package/dist/{chunk-2HII2B6S.js → chunk-AH2L44TR.js} +3 -3
  52. package/dist/{chunk-WFBN2HXR.js → chunk-AIPOSNVG.js} +1 -1
  53. package/dist/{chunk-D3UPBA4R.js → chunk-AUSZDYGE.js} +9 -7
  54. package/dist/{chunk-ZUG7EYEM.js → chunk-AVYRC2T3.js} +50 -28
  55. package/dist/{chunk-NSMYIUBZ.js → chunk-B5FT4YAX.js} +1 -1
  56. package/dist/{chunk-H3VICNTN.js → chunk-B7UWG6XJ.js} +1 -1
  57. package/dist/{chunk-COQSFON4.js → chunk-BJJYNTVJ.js} +1 -1
  58. package/dist/{chunk-NS4SBO47.js → chunk-BOUZKVIY.js} +17 -19
  59. package/dist/{chunk-WUP6C4ZD.js → chunk-BXZNLMMH.js} +1 -1
  60. package/dist/{chunk-OMNB27GM.js → chunk-C26Z5AEW.js} +3 -3
  61. package/dist/{chunk-JDLT4YV6.js → chunk-CV5KCQD3.js} +72 -79
  62. package/dist/{chunk-QRQFHNRF.js → chunk-CX7WUNMO.js} +22 -18
  63. package/dist/{chunk-YWPBYL6P.js → chunk-DANKUHCX.js} +41 -40
  64. package/dist/{chunk-IDXYHDQY.js → chunk-DBKMJWPO.js} +1 -1
  65. package/dist/{chunk-K672I6R6.js → chunk-DEJ27Y2P.js} +138 -91
  66. package/dist/{chunk-HTQGJQZN.js → chunk-DITI57ZB.js} +1 -1
  67. package/dist/{chunk-WRI44CHA.js → chunk-DO7MMF4C.js} +86 -43
  68. package/dist/{chunk-NTUTJY33.js → chunk-DUDVHQD6.js} +7 -7
  69. package/dist/{chunk-RKPN6KN7.js → chunk-DXLWMK24.js} +3 -3
  70. package/dist/{chunk-DQECTZPF.js → chunk-DYD7W3Y6.js} +15 -16
  71. package/dist/{chunk-AU5PXIE3.js → chunk-DZBT7AWJ.js} +2 -2
  72. package/dist/{chunk-I7V6LXHD.js → chunk-E4KHHC46.js} +16 -16
  73. package/dist/{chunk-K2AOKBGW.js → chunk-E62SXDRT.js} +2 -2
  74. package/dist/{chunk-BAT77TKB.js → chunk-EADD6NNQ.js} +73 -79
  75. package/dist/{chunk-CMPHT2LS.js → chunk-EH23CIC5.js} +4 -4
  76. package/dist/{chunk-DTIV2NIZ.js → chunk-EJA5EANI.js} +47 -26
  77. package/dist/{chunk-VZWIRNQ4.js → chunk-EWGFOEJB.js} +126 -65
  78. package/dist/{chunk-SVPSNDLL.js → chunk-EWMPUCIG.js} +37 -37
  79. package/dist/{chunk-H6WX7J5M.js → chunk-EZ5KUBYF.js} +38 -27
  80. package/dist/{chunk-IUEUVLT3.js → chunk-F2N5BUBK.js} +12 -13
  81. package/dist/{chunk-VJ7VBB6S.js → chunk-F7QCIJAY.js} +1 -1
  82. package/dist/{chunk-ANKBTBWD.js → chunk-FB36HSY2.js} +4 -4
  83. package/dist/{chunk-F3XOBFS4.js → chunk-FBIMTKYK.js} +3 -10
  84. package/dist/{chunk-4NEXP7IB.js → chunk-FMVXXKSW.js} +3 -3
  85. package/dist/{chunk-GOJI2HVL.js → chunk-FP3ORYCG.js} +22 -21
  86. package/dist/{chunk-P6DEFCMQ.js → chunk-FWPPZB4G.js} +2 -2
  87. package/dist/{chunk-MSYTF3DZ.js → chunk-FYFXOLWI.js} +116 -89
  88. package/dist/{chunk-L3BVYKA6.js → chunk-GDE2JINW.js} +11 -11
  89. package/dist/{chunk-RLB7QCTK.js → chunk-GEEHXLFQ.js} +7 -6
  90. package/dist/{chunk-S6XM22RZ.js → chunk-GGFT6IIM.js} +3 -3
  91. package/dist/{chunk-KTOWOMQP.js → chunk-GIJM4MP4.js} +5 -5
  92. package/dist/{chunk-UY34DDUM.js → chunk-GNK7RTO4.js} +3 -3
  93. package/dist/{chunk-BAOUMAH6.js → chunk-GSHRYDJM.js} +1 -1
  94. package/dist/{chunk-RXDCT5TD.js → chunk-GWDKUKOJ.js} +96 -321
  95. package/dist/{chunk-XMX4PCFL.js → chunk-GZYMHC44.js} +2 -2
  96. package/dist/{chunk-RK5JTZFI.js → chunk-HBKZC5BH.js} +2 -2
  97. package/dist/{chunk-WXMH66N5.js → chunk-HC4UW7MB.js} +4 -4
  98. package/dist/{chunk-ZRI6VYNF.js → chunk-HFDU2E7C.js} +27 -21
  99. package/dist/{chunk-M6PYA4FO.js → chunk-HW67YGJC.js} +1 -1
  100. package/dist/{chunk-C4DN27QI.js → chunk-I65BCUVH.js} +3 -3
  101. package/dist/{chunk-SHFXHUKJ.js → chunk-ICERP2YF.js} +3 -3
  102. package/dist/{chunk-KG7LKHD7.js → chunk-ICJUN47O.js} +2 -2
  103. package/dist/{chunk-QMUCI2UU.js → chunk-ID5PE4KM.js} +3 -3
  104. package/dist/{chunk-DOYJ2O2C.js → chunk-IDJVUZAA.js} +3 -3
  105. package/dist/{chunk-WDDPQUT2.js → chunk-IQRRT32Q.js} +2 -2
  106. package/dist/{chunk-WHIO5L6Z.js → chunk-ISMFUWOP.js} +3 -3
  107. package/dist/{chunk-4X7FNGGM.js → chunk-IX2SLULO.js} +3 -3
  108. package/dist/{chunk-4G5QQ5TH.js → chunk-IXZI4SN4.js} +116 -46
  109. package/dist/chunk-J6LGZPKI.js +89 -0
  110. package/dist/{chunk-CCAAI56H.js → chunk-JF743NNC.js} +7 -0
  111. package/dist/{chunk-UK5LXRUN.js → chunk-JIB74SQS.js} +6 -6
  112. package/dist/{chunk-ZIVCPXXL.js → chunk-JOX252XQ.js} +5 -5
  113. package/dist/{chunk-YC6W7EVG.js → chunk-JRM22ULA.js} +54 -45
  114. package/dist/{chunk-V5CWUATF.js → chunk-JYSS5ZZF.js} +5 -5
  115. package/dist/{chunk-OJ5CCTNY.js → chunk-KRIYGX3N.js} +3 -3
  116. package/dist/{chunk-XRRG4MBM.js → chunk-KWMQNKGX.js} +2 -2
  117. package/dist/{chunk-4EDPXQR7.js → chunk-LADFOYH7.js} +40 -27
  118. package/dist/{chunk-P6KEM5N7.js → chunk-LC4KDLUE.js} +3 -3
  119. package/dist/{chunk-SAMTYEWB.js → chunk-LLECS747.js} +4 -4
  120. package/dist/{chunk-XO4DJM33.js → chunk-LM4GVVPM.js} +16 -10
  121. package/dist/{chunk-EHRRHSPV.js → chunk-LPLRXEOT.js} +55 -19
  122. package/dist/{chunk-S4L7LXWX.js → chunk-M2FF4IPF.js} +16 -7
  123. package/dist/{chunk-4JGBCBDZ.js → chunk-MF6XGFHB.js} +1 -1
  124. package/dist/{chunk-O3U6IOIO.js → chunk-MOBRWYUQ.js} +2 -2
  125. package/dist/{chunk-CDUR3KWV.js → chunk-MOPY5REE.js} +2 -2
  126. package/dist/{chunk-LLEDONMT.js → chunk-MTOBNHAU.js} +2 -2
  127. package/dist/{chunk-DORE2RHL.js → chunk-MYBBZNYN.js} +2 -2
  128. package/dist/{chunk-V7NUJEJE.js → chunk-MZCJ22O4.js} +1 -1
  129. package/dist/{chunk-NM6IWRTB.js → chunk-NIL6TYAN.js} +4 -4
  130. package/dist/{chunk-VGEHOB25.js → chunk-NPDF7HEH.js} +2 -2
  131. package/dist/{chunk-JMMKOICP.js → chunk-NUASZPS7.js} +1 -1
  132. package/dist/{chunk-QI47HSZD.js → chunk-NWUEA42V.js} +3 -3
  133. package/dist/{chunk-O4FCIOOY.js → chunk-NZGQLR4X.js} +8 -8
  134. package/dist/{chunk-TRGQLVJV.js → chunk-O32L5FK2.js} +3 -3
  135. package/dist/{chunk-DJRPY7AR.js → chunk-O623CYPA.js} +3 -3
  136. package/dist/{chunk-7OZCLJAG.js → chunk-OJR5GPCN.js} +3 -3
  137. package/dist/{chunk-C47POAC5.js → chunk-OL6HVC6K.js} +1 -1
  138. package/dist/{chunk-3MGXQARA.js → chunk-OM5MAJST.js} +68 -57
  139. package/dist/{chunk-CLJWE3JQ.js → chunk-OTOASFG4.js} +92 -35
  140. package/dist/{chunk-KF2HYUXN.js → chunk-P3N74SZ5.js} +3 -3
  141. package/dist/{chunk-J3GUMT27.js → chunk-PHQGGR5O.js} +3 -3
  142. package/dist/{chunk-YQZCMPN7.js → chunk-POHML4N4.js} +107 -50
  143. package/dist/{chunk-KVBLTAO7.js → chunk-PP23D6QV.js} +4 -5
  144. package/dist/{chunk-F2ET5ZTT.js → chunk-PPOUKS24.js} +0 -1
  145. package/dist/{chunk-V7FV66KL.js → chunk-PRVX4PAO.js} +1 -1
  146. package/dist/{chunk-JY4LTPOV.js → chunk-PSUSHJFV.js} +1 -1
  147. package/dist/{chunk-AJGSCVVW.js → chunk-PZZAVTLQ.js} +2 -2
  148. package/dist/{chunk-CRTRY3IQ.js → chunk-QDFX2KAP.js} +2 -2
  149. package/dist/{chunk-RAPIBQ6W.js → chunk-QKDDGDRF.js} +10 -10
  150. package/dist/{chunk-P2WZQQCC.js → chunk-QM6IW5BL.js} +3 -3
  151. package/dist/chunk-QMQZC2KW.js +408 -0
  152. package/dist/{chunk-42QKUSHJ.js → chunk-QXHFELIA.js} +1 -1
  153. package/dist/{chunk-JNDWRV34.js → chunk-R2RLERPT.js} +1 -1
  154. package/dist/{chunk-E5YF236N.js → chunk-R4MVXUAG.js} +1 -1
  155. package/dist/{chunk-BYPUPHRW.js → chunk-REIIGIJG.js} +3 -3
  156. package/dist/{chunk-K4OR5AP5.js → chunk-RF2REMRV.js} +6 -6
  157. package/dist/{chunk-3MFVJMP6.js → chunk-RF6ZHX5F.js} +1 -1
  158. package/dist/{chunk-AYIK7HVV.js → chunk-RLX6VODQ.js} +9 -2
  159. package/dist/{chunk-KWIP5YRA.js → chunk-RPS7G77V.js} +3 -3
  160. package/dist/{chunk-LBCSRQGW.js → chunk-RSDGBNXP.js} +5 -5
  161. package/dist/{chunk-MP5UOUGM.js → chunk-RYYB7REV.js} +3 -3
  162. package/dist/{chunk-LPMSGO7L.js → chunk-SBYKLBDV.js} +3 -3
  163. package/dist/{chunk-JT3UTEWZ.js → chunk-SDAVHADX.js} +2 -2
  164. package/dist/{chunk-V7MFF5A4.js → chunk-SE6LBMRJ.js} +137 -62
  165. package/dist/{chunk-MCRRURTO.js → chunk-SFRMBCVY.js} +3 -3
  166. package/dist/{chunk-UUK73ZCT.js → chunk-SNJ3FZXC.js} +14 -12
  167. package/dist/{chunk-H7GFUA6G.js → chunk-SXCFMPNM.js} +3 -3
  168. package/dist/{chunk-SGDWLXUC.js → chunk-SY7JC3PH.js} +1 -1
  169. package/dist/{chunk-UXPR6TEZ.js → chunk-T4CFY4YT.js} +4 -4
  170. package/dist/{chunk-5SVGTQTW.js → chunk-TASEX7VA.js} +1 -1
  171. package/dist/{chunk-UB7LT72S.js → chunk-TCWJQIVQ.js} +123 -71
  172. package/dist/{chunk-SFBB4GVQ.js → chunk-TEZWFQB7.js} +6 -6
  173. package/dist/{chunk-GHCU6OSE.js → chunk-TLKRYDH3.js} +2 -2
  174. package/dist/{chunk-MH6MGYPS.js → chunk-TMVERETB.js} +23 -332
  175. package/dist/{chunk-5LPLVLLA.js → chunk-TQFBLSZJ.js} +44 -27
  176. package/dist/{chunk-5FOB6QGF.js → chunk-U4WG46QP.js} +117 -43
  177. package/dist/{chunk-LJDATBPB.js → chunk-U75MMLNQ.js} +3 -6
  178. package/dist/{chunk-SB7MASJU.js → chunk-UFGJNSSL.js} +1 -1
  179. package/dist/{chunk-FB6X7QHA.js → chunk-UGHJHJKY.js} +1 -1
  180. package/dist/{chunk-MIJPESMQ.js → chunk-UI2MKLON.js} +1 -1
  181. package/dist/{chunk-3E6NLODZ.js → chunk-UKEI7JDA.js} +1 -1
  182. package/dist/{chunk-6JFQCVNN.js → chunk-USATDW6O.js} +1 -1
  183. package/dist/{chunk-CQBPNE7Z.js → chunk-UTWLJ6AZ.js} +6 -5
  184. package/dist/{chunk-OCPVQZCC.js → chunk-UV77Y7QK.js} +11 -5
  185. package/dist/{chunk-PMT75APP.js → chunk-UXJXA4NP.js} +1 -1
  186. package/dist/{chunk-CPPFF3OB.js → chunk-UZDQFUHO.js} +3 -3
  187. package/dist/{chunk-S3I6F4IO.js → chunk-V3XYFLOZ.js} +3 -3
  188. package/dist/{chunk-OQQMDSCC.js → chunk-VGOZOBNB.js} +1 -1
  189. package/dist/{chunk-K7XPTQBJ.js → chunk-VHZ4MXJO.js} +1 -1
  190. package/dist/{chunk-YFQW73AV.js → chunk-VLMKGQ33.js} +13 -13
  191. package/dist/{chunk-3AWE5535.js → chunk-VMLVZW4F.js} +39 -36
  192. package/dist/{chunk-YT5MTKED.js → chunk-VT6PDWUA.js} +78 -78
  193. package/dist/{chunk-GQYT7G4F.js → chunk-VTUSC24F.js} +2 -2
  194. package/dist/{chunk-NMQH4S2F.js → chunk-VVWTD4XP.js} +9 -9
  195. package/dist/{chunk-OQA3DJH4.js → chunk-VZVPN7NT.js} +3 -3
  196. package/dist/{chunk-Z3WQXVFV.js → chunk-W4ZLMK6Z.js} +1 -1
  197. package/dist/{chunk-LOFR5HOQ.js → chunk-W6NEWQZU.js} +20 -18
  198. package/dist/{chunk-DZYTXZNS.js → chunk-WD5NJHZG.js} +2 -2
  199. package/dist/{chunk-2WQSH3HV.js → chunk-WTH3KQDM.js} +2 -2
  200. package/dist/{chunk-UQBNY2UU.js → chunk-WTWM4RK6.js} +1 -1
  201. package/dist/{chunk-XJC37XXA.js → chunk-WZNO3LUF.js} +3 -3
  202. package/dist/{chunk-GQ3CMAOD.js → chunk-X3AMBFGF.js} +3 -3
  203. package/dist/{chunk-DHGE46UK.js → chunk-X725AGYP.js} +1 -1
  204. package/dist/{chunk-TX5FSNAU.js → chunk-XAH4EWJT.js} +1 -1
  205. package/dist/{chunk-IJU5PAIS.js → chunk-XETSLYFD.js} +3 -3
  206. package/dist/{chunk-Z7EAEWR3.js → chunk-XFDNAR4S.js} +16 -27
  207. package/dist/{chunk-IXQNKI6G.js → chunk-XGTSZ7NC.js} +3 -3
  208. package/dist/{chunk-HAG3K6PQ.js → chunk-XHEG2BG6.js} +1 -1
  209. package/dist/{chunk-D2TQX7UJ.js → chunk-XLX3TUFO.js} +2 -2
  210. package/dist/{chunk-ESSNZ3VQ.js → chunk-XMII3G47.js} +3 -3
  211. package/dist/{chunk-QNEVEBIR.js → chunk-XRPZJDAK.js} +101 -72
  212. package/dist/{chunk-IPBOREIY.js → chunk-XUEX5WTR.js} +1 -1
  213. package/dist/{chunk-ZYCB2CJJ.js → chunk-XUGEYHOQ.js} +2 -2
  214. package/dist/{chunk-OO63YP35.js → chunk-XVFUJRRC.js} +1 -1
  215. package/dist/{chunk-IVDTP6SV.js → chunk-XWGAANY4.js} +3 -3
  216. package/dist/{chunk-36RTBB37.js → chunk-XWUHUTXX.js} +24 -18
  217. package/dist/{chunk-AIU3Y4L5.js → chunk-XXYV5UEM.js} +50 -49
  218. package/dist/{chunk-KVIWD6MV.js → chunk-XZBX6LIC.js} +20 -12
  219. package/dist/{chunk-ZDJ7C64T.js → chunk-Y4BJ7D5F.js} +1 -1
  220. package/dist/{chunk-KW4JXWHO.js → chunk-YDYZWCUQ.js} +1 -1
  221. package/dist/{chunk-46JPQLR2.js → chunk-YJN54OZS.js} +52 -41
  222. package/dist/{chunk-X46PSAJ7.js → chunk-YJXIHVNK.js} +2 -2
  223. package/dist/{chunk-UCKUAKYQ.js → chunk-YKYK6C7F.js} +1 -1
  224. package/dist/{chunk-F6IPP33V.js → chunk-YM4MVABU.js} +56 -24
  225. package/dist/{chunk-GOFS336W.js → chunk-YM7MO7WI.js} +1 -1
  226. package/dist/{chunk-A64R244B.js → chunk-YOUYJHW3.js} +3 -3
  227. package/dist/{chunk-Z7LBIXNV.js → chunk-YPELB4Q7.js} +3 -3
  228. package/dist/{chunk-HXGSNLIW.js → chunk-YRCIG4IO.js} +8 -7
  229. package/dist/{chunk-B6BEPKEE.js → chunk-ZIQR2CNM.js} +7 -7
  230. package/dist/{chunk-ZHGFJL3O.js → chunk-ZK22I3NF.js} +3 -3
  231. package/dist/{chunk-A6N24NGW.js → chunk-ZNA4JHHG.js} +2 -2
  232. package/dist/{chunk-VESSIKBG.js → chunk-ZOQRX5V7.js} +4 -4
  233. package/dist/{chunk-FVWHEM2N.js → chunk-ZPQ3VOAE.js} +1 -1
  234. package/dist/{chunk-NZ7FX3AE.js → chunk-ZQ5ILQ5A.js} +1 -1
  235. package/dist/cli/index.js +1 -1
  236. package/dist/{core-VA3SBRCT.js → core-2PT7IROA.js} +2 -1
  237. package/dist/{core-JDNTWP3D.js → core-34YTH4KN.js} +1 -1
  238. package/dist/{core-VVHFCKCO.js → core-4ZEVWU43.js} +1 -1
  239. package/dist/{core-QWG23TDT.js → core-64EHPUVV.js} +1 -1
  240. package/dist/{core-SQUKC752.js → core-6KO5AEUH.js} +1 -1
  241. package/dist/{core-Y7Q7FR65.js → core-7WLD237S.js} +1 -1
  242. package/dist/{core-TBPO7LER.js → core-A2MERE3C.js} +1 -1
  243. package/dist/{core-PARPIO5L.js → core-AVNB2Q3G.js} +2 -1
  244. package/dist/{core-DIVRGZGD.js → core-B7KOBTRL.js} +1 -1
  245. package/dist/{core-HEQ4MJA5.js → core-BOOD7ZUQ.js} +1 -1
  246. package/dist/{core-QRRWZUTR.js → core-BOU34T23.js} +1 -1
  247. package/dist/{core-G2TWJHKM.js → core-BQ2I77OF.js} +2 -1
  248. package/dist/{core-6YHAYDG2.js → core-BSEXRZD6.js} +1 -1
  249. package/dist/{core-DSI2ZK5C.js → core-CXEEM26F.js} +1 -1
  250. package/dist/{core-YMX3VETP.js → core-EHMPBG6Q.js} +1 -1
  251. package/dist/{core-B3AVFEWH.js → core-FXC4TB2K.js} +1 -1
  252. package/dist/{core-PJHQY3CR.js → core-HMS72VO6.js} +1 -1
  253. package/dist/{core-LZF7CC2E.js → core-I2GPMB2B.js} +1 -1
  254. package/dist/{core-PL2T5XOC.js → core-IQC6H4A7.js} +1 -1
  255. package/dist/{core-HKKPL444.js → core-IYEFTP6C.js} +1 -1
  256. package/dist/{core-HWDAFGAI.js → core-J2QTOU4D.js} +1 -1
  257. package/dist/{core-FS3AFDBX.js → core-JJLIPTEW.js} +1 -1
  258. package/dist/{core-I23MMHHJ.js → core-LCP44UYI.js} +1 -2
  259. package/dist/{core-Y74GS6HN.js → core-MBNVENCZ.js} +1 -1
  260. package/dist/{core-VZT7F5AI.js → core-MVIK7FAJ.js} +2 -1
  261. package/dist/{core-FKW6RSGU.js → core-N4OKPNXQ.js} +1 -1
  262. package/dist/{core-7K35DCB7.js → core-Q4IILTGO.js} +1 -1
  263. package/dist/{core-WXPK24YD.js → core-QCPDOQEJ.js} +2 -1
  264. package/dist/{core-7UMZLBSB.js → core-RVTF336C.js} +1 -1
  265. package/dist/{core-JWYT46N3.js → core-VGMMKEU4.js} +1 -1
  266. package/dist/{core-PVD4MX3R.js → core-VUVJOMUC.js} +1 -1
  267. package/dist/{core-3TLA5IU3.js → core-VWISBHXE.js} +1 -1
  268. package/dist/{core-LCK3P3DS.js → core-W3UBWZR3.js} +1 -1
  269. package/dist/{core-XYTCGP3I.js → core-XYQRB5WF.js} +1 -1
  270. package/dist/{core-SVIYWQVR.js → core-Y6DJHIYT.js} +1 -1
  271. package/dist/{core-NRNTVPSJ.js → core-YHWVJULU.js} +1 -1
  272. package/dist/{core-RHYZULNG.js → core-YJXOVNIE.js} +1 -1
  273. package/dist/{dataTable-HTQMPQB6.js → dataTable-3ZK3ZEZP.js} +3 -2
  274. package/dist/{engine-RHDMQS7T.js → engine-FSWLRWZR.js} +19 -17
  275. package/dist/fixtures.js +1 -1
  276. package/dist/index.js +14 -13
  277. package/dist/{main-7SMEJF5Q.js → main-NYMXWJGJ.js} +6 -5
  278. package/dist/mcp/server.js +11 -10
  279. package/dist/react/bar.js +1 -1
  280. package/dist/react/bartable.js +1 -1
  281. package/dist/react/box.js +1 -1
  282. package/dist/react/bullet.js +1 -1
  283. package/dist/react/butterfly.js +1 -1
  284. package/dist/react/choropleth.js +1 -1
  285. package/dist/react/cohort.js +2 -1
  286. package/dist/react/column.js +1 -1
  287. package/dist/react/combo.js +1 -1
  288. package/dist/react/creative.js +1 -1
  289. package/dist/react/diagram.js +1 -1
  290. package/dist/react/dimswitch.js +1 -1
  291. package/dist/react/dot.js +1 -1
  292. package/dist/react/export.js +24 -19
  293. package/dist/react/funnel.js +1 -1
  294. package/dist/react/gantt.js +1 -1
  295. package/dist/react/grid.js +1 -1
  296. package/dist/react/heatmap.js +2 -1
  297. package/dist/react/histogram.js +1 -1
  298. package/dist/react/index.js +84 -83
  299. package/dist/react/kpi.js +1 -1
  300. package/dist/react/likert.js +1 -1
  301. package/dist/react/line.js +2 -1
  302. package/dist/react/mekko.js +1 -1
  303. package/dist/react/pareto.js +1 -1
  304. package/dist/react/pie.js +1 -1
  305. package/dist/react/prepare.js +22 -20
  306. package/dist/react/pvm.js +1 -1
  307. package/dist/react/pyramid.js +1 -1
  308. package/dist/react/sankey.js +1 -1
  309. package/dist/react/scatter.js +2 -1
  310. package/dist/react/slope.js +1 -1
  311. package/dist/react/sparkline.js +1 -1
  312. package/dist/react/spec.js +10 -10
  313. package/dist/react/status.js +2 -1
  314. package/dist/react/story.js +3 -3
  315. package/dist/react/table.js +1 -1
  316. package/dist/react/theme.js +3 -3
  317. package/dist/react/tilemap.js +1 -1
  318. package/dist/react/treemap.js +1 -1
  319. package/dist/react/variance.js +1 -1
  320. package/dist/react/waffle.js +1 -1
  321. package/dist/react/waterfall.js +1 -1
  322. package/dist/{rowsModule-YBW6OQUZ.js → rowsModule-43LCK2Q7.js} +1 -1
  323. package/dist/{schema-MQT6BMNK.js → schema-2ACHQTR3.js} +1 -1
  324. package/dist/{schema-WZOSDDDJ.js → schema-3LRC5TOZ.js} +1 -1
  325. package/dist/{schema-F7TWGLRZ.js → schema-4HGZZNUL.js} +1 -1
  326. package/dist/{schema-PWPQF5RC.js → schema-4YIYGGOJ.js} +1 -1
  327. package/dist/{schema-ECJERHKF.js → schema-5OLQ54J5.js} +1 -1
  328. package/dist/{schema-CWKGLDSR.js → schema-5SVPR3EU.js} +1 -1
  329. package/dist/{schema-BA6WP5YZ.js → schema-A4U4RDKJ.js} +1 -1
  330. package/dist/{schema-JYZ4RF6S.js → schema-AM2KS6ZC.js} +1 -1
  331. package/dist/{schema-PYQEUC5P.js → schema-C25ECGJL.js} +1 -1
  332. package/dist/{schema-56MOEOVR.js → schema-CBLNGK2F.js} +1 -1
  333. package/dist/{schema-ESR6ZIK4.js → schema-D3ELHESU.js} +1 -1
  334. package/dist/{schema-5MSR4LNN.js → schema-FBIEOKO2.js} +1 -1
  335. package/dist/{schema-DUVJMFKQ.js → schema-FPDLOIA6.js} +1 -1
  336. package/dist/{schema-ALBF6V7Y.js → schema-FQWENOJY.js} +1 -1
  337. package/dist/{schema-DBIQFL56.js → schema-GTLGAPCU.js} +1 -1
  338. package/dist/{schema-YRLZRQ2F.js → schema-GUDG343K.js} +2 -2
  339. package/dist/{schema-47BG2TZA.js → schema-GYTWCCNA.js} +1 -1
  340. package/dist/{schema-DL7V6NN2.js → schema-GYVYJEL3.js} +1 -1
  341. package/dist/{schema-ZU2EU2VP.js → schema-HAMPGUH3.js} +1 -1
  342. package/dist/{schema-TVUJNEX7.js → schema-IYBZPCM4.js} +1 -1
  343. package/dist/{schema-2TPGJGVR.js → schema-IYLRZNFB.js} +1 -1
  344. package/dist/{schema-KAK6DZX4.js → schema-KBV2JB2A.js} +1 -1
  345. package/dist/{schema-PV7JGX5H.js → schema-KWCIIIGP.js} +1 -1
  346. package/dist/{schema-Y4TI2T3T.js → schema-LDF6HORS.js} +1 -1
  347. package/dist/{schema-FKGGTM4Z.js → schema-LGYHJPXU.js} +1 -1
  348. package/dist/{schema-CBL2SMVR.js → schema-LX4EXDTI.js} +1 -1
  349. package/dist/{schema-2R32F6AW.js → schema-NNNG7CWG.js} +1 -1
  350. package/dist/{schema-OPXZYIW7.js → schema-P2JYSV32.js} +1 -1
  351. package/dist/{schema-FGB6IGZM.js → schema-PAKZIYQF.js} +1 -1
  352. package/dist/{schema-R42VXFIS.js → schema-SQ2GYLMI.js} +1 -1
  353. package/dist/{schema-KCJ6WTGV.js → schema-SUDJBIHX.js} +1 -1
  354. package/dist/{schema-MR3BPPQR.js → schema-TRPPZCIR.js} +1 -1
  355. package/dist/{schema-FYY72W63.js → schema-UNYDUIL5.js} +1 -1
  356. package/dist/{schema-5RIYEWE6.js → schema-VH4AW62Z.js} +1 -1
  357. package/dist/{schema-EDSEKZDJ.js → schema-WDKBCN3V.js} +1 -1
  358. package/dist/{schema-MOKWIGF7.js → schema-YCKUQ3FF.js} +1 -1
  359. package/dist/{schema-K7F6TEDK.js → schema-YVBUY7NH.js} +1 -1
  360. package/dist/{specValidation-PWS6G27I.js → specValidation-FKHSTMMR.js} +1 -1
  361. package/dist/theme.js +2 -2
  362. package/dist/types/core/a11y/recordsShared.d.ts +15 -4
  363. package/dist/types/core/a11y/types.d.ts +0 -3
  364. package/dist/types/core/annotate.d.ts +17 -1
  365. package/dist/types/core/annotateTargets.d.ts +8 -0
  366. package/dist/types/core/charts/band/stacks.d.ts +4 -3
  367. package/dist/types/core/charts/bar/layout.d.ts +3 -1
  368. package/dist/types/core/charts/bartable/types.d.ts +3 -0
  369. package/dist/types/core/charts/box/types.d.ts +5 -0
  370. package/dist/types/core/charts/column/anomaly.d.ts +12 -5
  371. package/dist/types/core/charts/column/model.d.ts +4 -0
  372. package/dist/types/core/charts/combo/endpoints.d.ts +11 -1
  373. package/dist/types/core/charts/combo/layout.d.ts +7 -1
  374. package/dist/types/core/charts/dimswitch/compile.d.ts +20 -3
  375. package/dist/types/core/charts/grid/metricStack.d.ts +2 -4
  376. package/dist/types/core/charts/histogram/types.d.ts +3 -0
  377. package/dist/types/core/charts/likert/layout.d.ts +5 -2
  378. package/dist/types/core/charts/logAxis.d.ts +0 -5
  379. package/dist/types/core/charts/scatter/logAxis.d.ts +1 -1
  380. package/dist/types/core/charts/scatter/model.d.ts +10 -1
  381. package/dist/types/core/charts/scatter/trend.d.ts +19 -0
  382. package/dist/types/core/charts/table/view.d.ts +7 -0
  383. package/dist/types/core/charts/waffle/types.d.ts +8 -0
  384. package/dist/types/core/formatPrecision.d.ts +24 -0
  385. package/dist/types/core/formatSpec.d.ts +213 -61
  386. package/dist/types/core/label/solver.d.ts +3 -1
  387. package/dist/types/core/numberRule.d.ts +109 -0
  388. package/dist/types/core/numberSets.d.ts +43 -0
  389. package/dist/types/core/shownMarks.d.ts +16 -0
  390. package/dist/types/core/types/options.d.ts +8 -8
  391. package/dist/types/core/types/scene.d.ts +24 -0
  392. package/dist/types/core/types/table.d.ts +0 -13
  393. package/dist/types/react/TableChart.d.ts +9 -7
  394. package/dist/types/react/hover/engine.d.ts +6 -4
  395. package/dist/types/react/hover/labelCard.d.ts +4 -3
  396. package/dist/validate.js +5 -4
  397. package/docs/manual.md +15 -7
  398. package/docs/reference/bartable.md +2 -2
  399. package/docs/reference/cohort.md +1 -1
  400. package/docs/reference/column.md +1 -1
  401. package/docs/reference/dimswitch.md +2 -3
  402. package/docs/reference/fixtures.md +1 -1
  403. package/docs/reference/grid.md +12 -6
  404. package/docs/reference/heatmap.md +1 -1
  405. package/docs/reference/line.md +2 -2
  406. package/docs/reference/options.md +3 -3
  407. package/docs/reference/react.md +1 -1
  408. package/docs/reference/table.md +5 -8
  409. package/docs/reference/warnings.md +0 -1
  410. package/package.json +1 -1
  411. package/dist/chunk-RYFRYLU6.js +0 -89
  412. package/dist/chunk-VAR3DPXR.js +0 -125
  413. package/dist/types/core/charts/table/fitFormats.d.ts +0 -67
  414. package/dist/types/core/charts/table/resolve.d.ts +0 -84
  415. package/dist/types/core/format.d.ts +0 -156
@@ -5,64 +5,64 @@ import {
5
5
  columnHeadText,
6
6
  columnWidth,
7
7
  differenceFormatter
8
- } from "./chunk-OCPVQZCC.js";
8
+ } from "./chunk-UV77Y7QK.js";
9
9
  import {
10
10
  seatsPastBlockers
11
- } from "./chunk-ZYCB2CJJ.js";
11
+ } from "./chunk-XUGEYHOQ.js";
12
12
  import {
13
13
  prepareRangeData,
14
14
  resolveCellRange
15
- } from "./chunk-FVWHEM2N.js";
15
+ } from "./chunk-ZPQ3VOAE.js";
16
16
  import {
17
17
  averageMarkerLine,
18
18
  averageMarkerScope
19
- } from "./chunk-ETUKDEGL.js";
19
+ } from "./chunk-7QUWM5W6.js";
20
20
  import {
21
21
  overValueLines
22
- } from "./chunk-AYIK7HVV.js";
22
+ } from "./chunk-RLX6VODQ.js";
23
23
  import {
24
24
  warnMissingValue
25
- } from "./chunk-AICO24HJ.js";
25
+ } from "./chunk-5QMM354E.js";
26
26
  import {
27
27
  HEAD_PREFIX,
28
28
  asColumnHeads,
29
29
  columnHeadFont,
30
30
  fitHead,
31
31
  headRequest
32
- } from "./chunk-KG7LKHD7.js";
32
+ } from "./chunk-ICJUN47O.js";
33
33
  import {
34
34
  percentCellsOnly,
35
35
  percentLevels,
36
36
  runAnnotatePass
37
- } from "./chunk-CRTRY3IQ.js";
37
+ } from "./chunk-QDFX2KAP.js";
38
38
  import {
39
39
  rowLabelBand
40
- } from "./chunk-LLEDONMT.js";
40
+ } from "./chunk-MTOBNHAU.js";
41
41
  import {
42
42
  fittedLabel,
43
43
  gutterBudget,
44
44
  pinnedRowFont,
45
45
  stepDownFont
46
- } from "./chunk-O3U6IOIO.js";
46
+ } from "./chunk-MOBRWYUQ.js";
47
47
  import {
48
48
  breakUnsupported,
49
49
  chartPalette,
50
50
  chartTheme
51
- } from "./chunk-WFBN2HXR.js";
51
+ } from "./chunk-AIPOSNVG.js";
52
52
  import {
53
53
  topNCut,
54
54
  topNOmitted,
55
55
  topNRestUnsupported
56
- } from "./chunk-6JFQCVNN.js";
56
+ } from "./chunk-USATDW6O.js";
57
57
  import {
58
58
  namedLineText
59
- } from "./chunk-E5YF236N.js";
59
+ } from "./chunk-R4MVXUAG.js";
60
60
  import {
61
61
  labelOn
62
- } from "./chunk-TMEUK2WS.js";
62
+ } from "./chunk-77L6QGIG.js";
63
63
  import {
64
64
  structureCount
65
- } from "./chunk-KW4JXWHO.js";
65
+ } from "./chunk-YDYZWCUQ.js";
66
66
  import {
67
67
  alignedRight,
68
68
  authoredTrackWidth,
@@ -84,10 +84,10 @@ import {
84
84
  planValueAxisTitle,
85
85
  shownTickStep,
86
86
  valueAxisTitleRequest
87
- } from "./chunk-F6IPP33V.js";
87
+ } from "./chunk-YM4MVABU.js";
88
88
  import {
89
89
  prepareFractionData
90
- } from "./chunk-42QKUSHJ.js";
90
+ } from "./chunk-QXHFELIA.js";
91
91
  import {
92
92
  PRIORITY,
93
93
  authoredFootnoteCount,
@@ -104,24 +104,22 @@ import {
104
104
  solveFrame,
105
105
  solveLabels,
106
106
  unitPrinted
107
- } from "./chunk-D3UPBA4R.js";
107
+ } from "./chunk-AUSZDYGE.js";
108
108
  import {
109
109
  disclosureNote
110
- } from "./chunk-DZYTXZNS.js";
110
+ } from "./chunk-WD5NJHZG.js";
111
111
  import {
112
112
  emptyIdRecord
113
113
  } from "./chunk-LINZPU5D.js";
114
114
  import {
115
115
  formatStatWithSpec,
116
+ formatWithSpec,
116
117
  formatterFromExample,
117
- neededDecimals,
118
118
  seriesRasterFormatter
119
- } from "./chunk-Z6DUNKFU.js";
119
+ } from "./chunk-3JG764MI.js";
120
120
  import {
121
- autoDecimals,
122
- chartStrings,
123
- formatAutomaticNumber
124
- } from "./chunk-MSYTF3DZ.js";
121
+ chartStrings
122
+ } from "./chunk-FYFXOLWI.js";
125
123
  import {
126
124
  cellMeta,
127
125
  cellValue,
@@ -149,7 +147,7 @@ import {
149
147
  strokeToken,
150
148
  textScaleOf,
151
149
  unionRect
152
- } from "./chunk-TX5FSNAU.js";
150
+ } from "./chunk-XAH4EWJT.js";
153
151
  import {
154
152
  MARK_CONTRAST_FLOOR,
155
153
  hueSaturation,
@@ -287,7 +285,7 @@ function layoutDot(data, options = {}) {
287
285
  throw new NormalizeError("no-data-series", "series", "dot requires at least one data-role series", void 0, void 0, ["data", "series"]);
288
286
  let valueSpec = seriesRasterFormatter(options.format, normSeries.flatMap(
289
287
  (s) => s.cells.flatMap((cell) => [cell.v, cell.range?.low, cell.range?.high, cell.range?.mid])
290
- ), options.locale?.language, options.unit, options.target), fmt = valueSpec.fmt, percent = options.unit === "%" || percentLevels(dataSeries.map((series) => ({ vals: series.cells }))), percentAxis = percentCellsOnly(dataSeries.map((series) => ({ vals: series.cells.map((cell) => ({ ...cell, format: cell.meta?.format })), format: series.format }))), referenceFmt = percent && !options.format ? (v) => formatAutomaticNumber(v, { locale: options.locale?.language, decimals: Math.max(autoDecimals(v), neededDecimals(v)), suffix: "%" }) : fmt, meanFmt = percent && !options.format ? referenceFmt : (v) => formatStatWithSpec(v, valueSpec.spec);
288
+ ), options.locale?.language, options.unit), fmt = valueSpec.fmt, percent = options.unit === "%" || percentLevels(dataSeries.map((series) => ({ vals: series.cells }))), percentAxis = percentCellsOnly(dataSeries.map((series) => ({ vals: series.cells.map((cell) => ({ ...cell, format: cell.meta?.format })), format: series.format }))), percentSpec = { ...valueSpec.percentSpec, suffix: "%" }, referenceFmt = percent && !options.format ? (v) => formatWithSpec(v, percentSpec) : fmt, meanFmt = percent && !options.format ? (v) => formatStatWithSpec(v, percentSpec) : (v) => formatStatWithSpec(v, valueSpec.spec);
291
289
  if (variant === "dumbbell" && dataSeries.length !== 2)
292
290
  throw new NormalizeError(
293
291
  "dumbbell-two-series",
@@ -365,12 +363,10 @@ function layoutDot(data, options = {}) {
365
363
  v !== void 0 && (lo = Math.min(lo, v), hi = Math.max(hi, v));
366
364
  }
367
365
  [lo, hi] = applyAxisBounds([lo, hi], [lo, hi], options.valueAxis, warnings);
368
- let tickFont = { family: theme.type.family, ...theme.type.axis }, labelFont = { family: theme.type.family, ...theme.type.label }, strongFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, textFor = (v, cell, s) => {
366
+ let tickFont = { family: theme.type.family, ...theme.type.axis }, labelFont = { family: theme.type.family, ...theme.type.label }, strongFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, textFrom = (cell, base) => {
369
367
  let { meta } = cell;
370
- if (meta?.label === !1) return null;
371
- let base = displayFor(v, cell, s);
372
- return typeof meta?.label == "string" ? meta.label.replace(/\$\{value\}/g, base) : base;
373
- }, seriesKeys = /* @__PURE__ */ new Map(), seriesKey = (s) => seriesKeys.get(s) ?? seriesKeys.set(s, { format: s.format, unit: s.unit }).get(s), displayFor = (v, cell, s) => cell.meta?.format ? formatterFromExample(cell.meta.format, options.locale?.language)(v) : (cell.isPct && !s?.format ? valueSpec.fmtPercent : s ? valueSpec.forSeries(seriesKey(s)) : fmt)(v), primarySide = (si, ci, v) => {
368
+ return meta?.label === !1 ? null : typeof meta?.label == "string" ? meta.label.replace(/\$\{value\}/g, base) : base;
369
+ }, textFor = (v, cell, s) => cell.meta?.label === !1 ? null : textFrom(cell, displayFor(v, cell, s)), seriesKeys = /* @__PURE__ */ new Map(), seriesKey = (s) => seriesKeys.get(s) ?? seriesKeys.set(s, { format: s.format, unit: s.unit }).get(s), displayFor = (v, cell, s) => cell.meta?.format ? formatterFromExample(cell.meta.format, options.locale?.language)(v) : (cell.isPct && !s?.format ? valueSpec.fmtPercent : s ? valueSpec.forSeries(seriesKey(s)) : fmt)(v), shownFrom = (cell, base) => cell.meta?.label === !1 || typeof cell.meta?.label == "string" && !cell.meta.label.includes("${value}") ? void 0 : { value: base }, primarySide = (si, ci, v) => {
374
370
  if (variant === "dumbbell" || dataSeries.length === 2) {
375
371
  let other = dataSeries[1 - si].cells[ci].v;
376
372
  return other === null ? "right" : v < other ? "left" : v > other ? "right" : si === 0 ? "left" : "right";
@@ -397,7 +393,10 @@ function layoutDot(data, options = {}) {
397
393
  theme
398
394
  ).map((item) => [item.id, item])), gapText = /* @__PURE__ */ new Map();
399
395
  if (options.gapColumn === !0 && gaps !== void 0 && size.width >= COLUMN_MIN_WIDTH) {
400
- let signedGap = differenceFormatter({ format: options.format, locale: options.locale?.language, decimals: valueSpec.spec.decimals, values: dataSeries.flatMap((s) => s.cells.map((cell) => cell.v)).filter((v) => v !== null), scale: valueSpec.specForSeries(seriesKey(dataSeries[0])) });
396
+ let differences = cats.flatMap((_, ci) => {
397
+ let a = dataSeries[0].cells[ci].v, b = dataSeries[1].cells[ci].v;
398
+ return a !== null && b !== null ? [b - a] : [];
399
+ }), signedGap = differenceFormatter({ format: options.format, locale: options.locale?.language, decimals: valueSpec.spec.decimals, values: dataSeries.flatMap((s) => s.cells.map((cell) => cell.v)).filter((v) => v !== null), scale: valueSpec.specForSeries(seriesKey(dataSeries[0])), differences });
401
400
  cats.forEach((c, ci) => {
402
401
  let a = dataSeries[0].cells[ci].v, b = dataSeries[1].cells[ci].v;
403
402
  a !== null && b !== null && gapText.set(c.id, signedGap(b, a));
@@ -483,7 +482,7 @@ function layoutDot(data, options = {}) {
483
482
  severity: "info",
484
483
  message: `value scale starts at ${dLo}, not zero \u2014 legitimate for position encoding (dot chart)`
485
484
  });
486
- let x = linearScale([dLo, dHi], [plot.x, plot.x + plot.w]), nodes = [...frameResult.nodes], marks = { rows: [] }, rangeMarks = [], labelRequests = axisTitle ? [valueAxisTitleRequest(axisTitle, { x: Math.max(plot.x + plot.w, plot0.x + axisTitle.width), y: plot.y + plot.h + 6 + measure("0", tickFont).height + 2 }, "end", "axis:x:title")] : [], pointSeats = [], ownSideSeats = /* @__PURE__ */ new Map(), placedAnnotations = [];
485
+ let x = linearScale([dLo, dHi], [plot.x, plot.x + plot.w]), nodes = [...frameResult.nodes], marks = { rows: [] }, otherOwnerTexts = /* @__PURE__ */ new Map(), rangeMarks = [], labelRequests = axisTitle ? [valueAxisTitleRequest(axisTitle, { x: Math.max(plot.x + plot.w, plot0.x + axisTitle.width), y: plot.y + plot.h + 6 + measure("0", tickFont).height + 2 }, "end", "axis:x:title")] : [], pointSeats = [], ownSideSeats = /* @__PURE__ */ new Map(), placedAnnotations = [];
487
486
  cats.forEach((cat, ci) => {
488
487
  if (!highlights.has(cat.id) || restRecedes) return;
489
488
  let gapHalf = (band.step - band.bandwidth) / 2;
@@ -574,10 +573,15 @@ function layoutDot(data, options = {}) {
574
573
  if (variant === "dumbbell" && labelOn2("point")) {
575
574
  let sa = dataSeries[0], sb = dataSeries[1], ca = sa.cells[ci], cb = sb.cells[ci];
576
575
  if (ca.v !== null && cb.v !== null && Math.abs(x(ca.v) - x(cb.v)) < 2 * r + 2) {
577
- let ta = textFor(ca.v, ca, sa), tb = textFor(cb.v, cb, sb);
576
+ let baseA = displayFor(ca.v, ca, sa), baseB = displayFor(cb.v, cb, sb), ta = textFrom(ca, baseA), tb = textFrom(cb, baseB);
578
577
  if (ta && tb && ta === tb) {
579
578
  mergedLabel = !0;
580
- let text = pairText(ta, tb, options), tsize = measure(text, labelFont), leftX = Math.min(x(ca.v), x(cb.v)), rightX = Math.max(x(ca.v), x(cb.v)), midX = (leftX + rightX) / 2, ty = cy - tsize.height / 2;
579
+ let text = pairText(ta, tb, options);
580
+ otherOwnerTexts.set(`point:${cat.id}`, [[sa, ca, baseA], [sb, cb, baseB]].flatMap(([s, c, base]) => {
581
+ let shows = shownFrom(c, base);
582
+ return shows ? [{ owner: { seriesId: s.id, categoryId: cat.id }, shows }] : [];
583
+ }));
584
+ let tsize = measure(text, labelFont), leftX = Math.min(x(ca.v), x(cb.v)), rightX = Math.max(x(ca.v), x(cb.v)), midX = (leftX + rightX) / 2, ty = cy - tsize.height / 2;
581
585
  labelRequests.push({
582
586
  id: `point:${cat.id}`,
583
587
  kind: "point",
@@ -691,7 +695,9 @@ function layoutDot(data, options = {}) {
691
695
  "range"
692
696
  ), options.range?.values === !0 && cell.range.low !== cell.range.high)
693
697
  for (let [end, capX, value] of [["low", Math.min(lowX, highX), cell.range.low], ["high", Math.max(lowX, highX), cell.range.high]]) {
694
- let text = fmt(value), size2 = measure(text, labelFont), side = (dx) => ({ x: dx, y: cy - size2.height / 2, w: size2.width, h: size2.height });
698
+ let text = fmt(value);
699
+ otherOwnerTexts.set(`rangeValue:${s.id}:${cat.id}:${end}`, [{ owner, shows: { [`field:${end}`]: text } }]);
700
+ let size2 = measure(text, labelFont), side = (dx) => ({ x: dx, y: cy - size2.height / 2, w: size2.width, h: size2.height });
695
701
  labelRequests.push({
696
702
  id: `rangeValue:${s.id}:${cat.id}:${end}`,
697
703
  kind: "point",
@@ -742,7 +748,7 @@ function layoutDot(data, options = {}) {
742
748
  { pointId: stemId }
743
749
  ), row.stemNodeId = stemId;
744
750
  }
745
- let { paint, hollow } = dotPaint(s, cat.id, cell.meta), nodeId = `dot:${s.id}:${cat.id}`;
751
+ let { paint, hollow } = dotPaint(s, cat.id, cell.meta), nodeId = `dot:${s.id}:${cat.id}`, valueText = displayFor(v, cell, s);
746
752
  if (nodes.push({
747
753
  t: "circle",
748
754
  id: nodeId,
@@ -756,26 +762,28 @@ function layoutDot(data, options = {}) {
756
762
  strokeWidth: hollow ? strokeToken(theme, "mark") : strokeToken(theme, "rule"),
757
763
  owner,
758
764
  part: "dot",
759
- display: { value: displayFor(v, cell, s) }
765
+ // The text its value label would print where none is drawn.
766
+ display: { value: valueText, shows: { value: valueText } }
760
767
  }), occupied.claim({ x: cx - r, y: cy - r, w: 2 * r, h: 2 * r }, "mark", owner), row.dots.push({ seriesId: s.id, cx, cy, nodeId }), anchorByDot.set(`${cat.id}:${s.id}`, {
761
768
  x: cx,
762
769
  y: cy,
763
770
  value: v,
764
- markValueText: displayFor(v, cell, s),
771
+ markValueText: valueText,
765
772
  format: s.format,
766
773
  label: cat.label ?? cat.id,
767
774
  ...cat.date === void 0 ? {} : { date: cat.date },
768
775
  owner
769
776
  }), labelOn2("point") && !mergedLabel) {
770
- let text = textFor(v, cell, s);
777
+ let text = textFrom(cell, valueText);
771
778
  if (text) {
772
779
  let font = pointFont(cell, si);
773
780
  font === strongFont ? boldLabelIds.add(`point:${s.id}:${cat.id}`) : variant === "dumbbell" && mutedLabelIds.add(`point:${s.id}:${cat.id}`);
774
- let tsize = measure(text, font), primary = primarySide(si, ci, v), request = {
781
+ let tsize = measure(text, font), primary = primarySide(si, ci, v), shows = shownFrom(cell, valueText), request = {
775
782
  id: `point:${s.id}:${cat.id}`,
776
783
  kind: "point",
777
784
  owner,
778
785
  text,
786
+ ...shows ? { shows } : {},
779
787
  lines: [text],
780
788
  typeRole: "label",
781
789
  font,
@@ -888,8 +896,8 @@ function layoutDot(data, options = {}) {
888
896
  measure,
889
897
  plot,
890
898
  labelPad: 2
891
- }), solved = solveLabels(labelRequests, occupied, solveCtx);
892
- if (applyValueAxisTitleInk(solved.placed), autoAxis && solved.placed.some((label) => label.kind === "point" && label.hidden !== void 0 && label.hidden !== "redundant"))
899
+ }), solved = solveLabels(labelRequests, occupied, solveCtx), shown = solved.placed.flatMap((label) => label.hidden === void 0 ? (otherOwnerTexts.get(label.id) ?? []).map((stated) => ({ ...stated, drawn: !0 })) : []);
900
+ if (shown.length > 0 && (marks.shown = shown), applyValueAxisTitleInk(solved.placed), autoAxis && solved.placed.some((label) => label.kind === "point" && label.hidden !== void 0 && label.hidden !== "redundant"))
893
901
  return layoutDot(data, { ...options, valueAxis: { ...options.valueAxis, show: !0 } });
894
902
  if (pushAll(warnings, solved.warnings), valueAxis && !gridOn && options.valueAxis?.gridlines === void 0 && solved.placed.some((label) => label.kind === "point" && label.hidden !== void 0 && label.hidden !== "redundant")) {
895
903
  let grid = valueAxis.ticks.flatMap((tick, seq) => tick.at === 0 ? [] : (tick.gridNodeId = `axis:x:grid:${seq}`, [{
@@ -942,7 +950,7 @@ function layoutDot(data, options = {}) {
942
950
  let label = solved.placed.find((placed) => placed.id === `point:${anchor.owner.seriesId}:${anchor.owner.categoryId}` && !placed.hidden);
943
951
  if (!label) return anchor;
944
952
  let dot = { x: anchor.x - r, y: anchor.y - r, w: 2 * r, h: 2 * r };
945
- return { ...anchor, printed: { text: label.text, box: unionRect(dot, label.rect) } };
953
+ return { ...anchor, printed: { text: label.text, box: unionRect(dot, label.rect), ...label.shows ? { shows: label.shows } : {} } };
946
954
  }, annResult = runAnnotatePass({
947
955
  target: options.target,
948
956
  annotations: passAnns,
@@ -958,6 +966,7 @@ function layoutDot(data, options = {}) {
958
966
  measure,
959
967
  format: options.format,
960
968
  locale: options.locale?.language,
969
+ levelSpec: percent ? percentSpec : valueSpec.spec,
961
970
  strings: options.strings,
962
971
  solveCtx,
963
972
  meanValue
@@ -5,18 +5,18 @@ import {
5
5
  isThemeObject,
6
6
  parseDocumentInput,
7
7
  rootContextErrors
8
- } from "./chunk-UISHXPGJ.js";
8
+ } from "./chunk-4DLIXTDH.js";
9
9
  import {
10
10
  completeDiagnostic,
11
11
  flattenIssues,
12
12
  referencedChartTypes,
13
13
  validateChartInput
14
- } from "./chunk-LBCSRQGW.js";
14
+ } from "./chunk-RSDGBNXP.js";
15
15
  import {
16
16
  baseOptionsSchema,
17
17
  readerStringsSchema,
18
18
  sizeSchema
19
- } from "./chunk-ZIVCPXXL.js";
19
+ } from "./chunk-JOX252XQ.js";
20
20
  import {
21
21
  isBareChart
22
22
  } from "./chunk-YWP7XFKD.js";
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  chartTypeAliases,
28
28
  schemaLoaders
29
- } from "./chunk-SVPSNDLL.js";
29
+ } from "./chunk-EWMPUCIG.js";
30
30
  import {
31
31
  ownedDocumentCopy
32
32
  } from "./chunk-U52PNFPX.js";
@@ -36,7 +36,7 @@ import {
36
36
  } from "./chunk-NNIZG3TH.js";
37
37
  import {
38
38
  caseInsensitiveValue
39
- } from "./chunk-F6IPP33V.js";
39
+ } from "./chunk-YM4MVABU.js";
40
40
  import {
41
41
  toJsonPointer
42
42
  } from "./chunk-ZQ4VFQID.js";
@@ -8,13 +8,13 @@ import {
8
8
  } from "./chunk-Z6H5ED2I.js";
9
9
  import {
10
10
  createChartComponent
11
- } from "./chunk-I7V6LXHD.js";
11
+ } from "./chunk-E4KHHC46.js";
12
12
  import {
13
13
  likertCore
14
- } from "./chunk-ZUG7EYEM.js";
14
+ } from "./chunk-AVYRC2T3.js";
15
15
  import {
16
16
  registeredType
17
- } from "./chunk-ZQHMZUFD.js";
17
+ } from "./chunk-4YZQY3AA.js";
18
18
  import {
19
19
  linkThemeShapeRules
20
20
  } from "./chunk-IXOBDDMW.js";
@@ -2,7 +2,7 @@ import {
2
2
  columnOrderOption,
3
3
  columnOverridesOption,
4
4
  columnVisibilityOption
5
- } from "./chunk-H3VICNTN.js";
5
+ } from "./chunk-B7UWG6XJ.js";
6
6
  import {
7
7
  compactBulletRefusals
8
8
  } from "./chunk-LE3LSEUL.js";
@@ -15,7 +15,7 @@ import {
15
15
  idSchema,
16
16
  primaryAxisTitleSchema,
17
17
  refusedBaseOptions
18
- } from "./chunk-ZIVCPXXL.js";
18
+ } from "./chunk-JOX252XQ.js";
19
19
 
20
20
  // src/core/charts/bullet/schema.ts
21
21
  import * as z from "zod";
@@ -4,23 +4,23 @@ import {
4
4
  import {
5
5
  eyebrowFont,
6
6
  figureRole
7
- } from "./chunk-Z3WQXVFV.js";
7
+ } from "./chunk-W4ZLMK6Z.js";
8
8
  import {
9
9
  chartPalette
10
- } from "./chunk-WFBN2HXR.js";
10
+ } from "./chunk-AIPOSNVG.js";
11
11
  import {
12
12
  structureCount
13
- } from "./chunk-KW4JXWHO.js";
13
+ } from "./chunk-YDYZWCUQ.js";
14
14
  import {
15
15
  NARROW_FORM,
16
16
  SIZE_TOLERANCE,
17
17
  heightOmitted,
18
18
  resolveSizing,
19
19
  rowDrivenHeight
20
- } from "./chunk-F6IPP33V.js";
20
+ } from "./chunk-YM4MVABU.js";
21
21
  import {
22
22
  prepareFractionData
23
- } from "./chunk-42QKUSHJ.js";
23
+ } from "./chunk-QXHFELIA.js";
24
24
  import {
25
25
  COMPACT_SOURCE_LINES,
26
26
  PRIORITY,
@@ -36,16 +36,19 @@ import {
36
36
  solveLabels,
37
37
  textRole,
38
38
  withUnprintedClaims
39
- } from "./chunk-D3UPBA4R.js";
39
+ } from "./chunk-AUSZDYGE.js";
40
40
  import {
41
41
  disclosureNote,
42
42
  engineNote
43
- } from "./chunk-DZYTXZNS.js";
43
+ } from "./chunk-WD5NJHZG.js";
44
44
  import {
45
+ defaultSetSpec,
46
+ engineNumberSpec,
45
47
  exampleSpec,
46
48
  formatWithSpec,
47
- roundedNumber
48
- } from "./chunk-Z6DUNKFU.js";
49
+ roundedNumber,
50
+ zeroText
51
+ } from "./chunk-3JG764MI.js";
49
52
  import {
50
53
  authoredDecimals,
51
54
  autoDecimals,
@@ -53,7 +56,7 @@ import {
53
56
  formatAutomaticPercent,
54
57
  localeStrings,
55
58
  shareText
56
- } from "./chunk-MSYTF3DZ.js";
59
+ } from "./chunk-FYFXOLWI.js";
57
60
  import {
58
61
  cellMeta,
59
62
  cellValue
@@ -79,7 +82,7 @@ import {
79
82
  surfaceFloorPaint,
80
83
  textScaleOf,
81
84
  themeForWidth
82
- } from "./chunk-TX5FSNAU.js";
85
+ } from "./chunk-XAH4EWJT.js";
83
86
  import {
84
87
  DEFAULT_TARGET,
85
88
  NormalizeError,
@@ -219,13 +222,12 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
219
222
  groupOf[index] !== void 0 && refuse("waffle-group-overlap", "panelGroups", `panel '${cats[index].id}' is in two panel groups`, "Put each panel in one group at most."), groupOf[index] = gi;
220
223
  group.colorRole && series.length > 1 && refuse("waffle-group-color-one-series", "panelGroups", `group '${group.id}' sets colorRole on a chart with ${series.length} series`, "Send one series, or colour the series instead.");
221
224
  });
222
- let defaultFormat = (value) => {
223
- let text = shareText(value, autoDecimals(value), options.locale?.language);
224
- return /^[<>]/.test(text) ? text : shareText(value, Math.max(autoDecimals(value), authoredDecimals(value)), options.locale?.language);
225
- }, cellNumbers = series.flatMap((row) => row.cells.map(cellValue)), formatFor = (seriesIndex, panelIndex, exact = !0) => {
225
+ let cellNumbers = series.flatMap((row) => row.cells.map(cellValue)), ruleSpec = { ...defaultSetSpec(cellNumbers, options.locale?.language, void 0, { kind: "percent" }), suffix: "%" }, defaultFormat = (value) => formatWithSpec(value, ruleSpec), formatFor = (seriesIndex, panelIndex, exact = !0, offZero = !1) => {
226
226
  let example = cellMeta(series[seriesIndex].cells[panelIndex])?.format ?? series[seriesIndex].ser.format ?? options.format;
227
- if (!example) return exact ? defaultFormat : (value) => shareText(value, autoDecimals(value), options.locale?.language);
228
- let spec = exampleSpec(example, options.locale?.language, void 0, example === options.format ? cellNumbers : void 0);
227
+ if (!example) return defaultFormat;
228
+ let authored = exampleSpec(example, options.locale?.language, void 0, example === options.format ? cellNumbers : void 0);
229
+ if (authored.exact && !offZero) return (value) => formatWithSpec(value, authored);
230
+ let spec = engineNumberSpec(authored);
229
231
  return (value) => {
230
232
  let rounded2 = roundedNumber(value, spec);
231
233
  return value > 0 && rounded2 === 0 || value < 100 && rounded2 === 100 ? shareText(value, exact ? 1 : spec.decimals, options.locale?.language) : formatWithSpec(value, { ...spec, decimals: !exact || rounded2 === value ? spec.decimals : Math.max(spec.decimals, authoredDecimals(value)) });
@@ -257,7 +259,7 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
257
259
  missingPanel.push(noValue), noValue && warnings.push({ code: "waffle-missing-value", severity: "info", message: `'${cat.id}' has no value, so its ${square ? "square" : "grid"} is empty and its headline prints n/a`, owner: { categoryId: cat.id } });
258
260
  let { exact, whole } = square ? { exact: values.map(() => 0), whole: values.map(() => 0) } : allocateCells(values.map((value) => value ?? 0), cellCount), segments = series.map((s, si) => {
259
261
  let value = values[si] ?? 0;
260
- return !square && value > 0 && whole[si] === 0 && warnings.push({
262
+ !square && value > 0 && whole[si] === 0 && warnings.push({
261
263
  code: "waffle-segment-no-cells",
262
264
  severity: "warn",
263
265
  message: `'${s.label}' in '${cat.id}' is ${formatFor(si, ci)(value)}, under half a cell, so it draws no cells`,
@@ -269,12 +271,15 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
269
271
  share: value,
270
272
  nearest: `${Math.round(exact[si] + 1e-9)} of ${cellCount} cells`,
271
273
  printed: `${whole[si]} of ${cellCount} cells`
272
- }), {
274
+ });
275
+ let shown2 = formatFor(si, ci)(value), cellsReading = (text) => chartString(options, "waffleCellsReading", { v1: text, v2: whole[si], v3: cellCount }), offZero = values[si] !== null && !square && value !== 0 && zeroText(shown2);
276
+ return {
273
277
  seriesId: s.ser.id,
274
278
  value,
275
279
  exactCells: exact[si],
276
280
  cells: whole[si],
277
- reading: values[si] === null ? chartString(options, "noValue") : square ? chartString(options, "waffleWholeReading", { v1: formatFor(si, ci)(value) }) : chartString(options, "waffleCellsReading", { v1: formatFor(si, ci)(value), v2: whole[si], v3: cellCount })
281
+ reading: values[si] === null ? chartString(options, "noValue") : square ? chartString(options, "waffleWholeReading", { v1: shown2 }) : cellsReading(shown2),
282
+ ...offZero ? { cardReading: cellsReading(formatFor(si, ci, !0, !0)(value)) } : {}
278
283
  };
279
284
  });
280
285
  return {
@@ -300,8 +305,9 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
300
305
  let roles = colorRolePaints(series.map(({ ser }) => ser)), paints = series.map(({ ser }, si) => ser.fill ? { css: ser.fill } : ser.colorRole ? roles.get(ser.id) : seriesPaint(si, palette ? options.palette : void 0)), restPaint = surfaceFloorPaint({ token: "othersMark" }, []), panelPaint = (pi, si) => {
301
306
  let role = groupOf[pi] === void 0 ? void 0 : groups[groupOf[pi]].colorRole;
302
307
  return role ? markRolePaint(role, !0) : paints[si];
303
- }, referenceGround = (pi) => panels[pi].segments[0].value > reference.value ? panelPaint(pi, 0) : mixedPaint(panelPaint(pi, 0), { token: "background" }, PALE_SQUARE), referencePanel = Math.max(0, panels.findIndex((panel) => panel.categoryId !== reference?.categoryId)), valueText = (si, pi) => cellValue(series[si].cells[pi]) === null ? theme.table?.glyphs?.missing ?? "\u2013" : formatFor(si, pi)(panels[pi].segments[si].value), restSpec = options.format ? exampleSpec(options.format, options.locale?.language, void 0, cellNumbers) : void 0, restFormat = (value) => {
308
+ }, referenceGround = (pi) => panels[pi].segments[0].value > reference.value ? panelPaint(pi, 0) : mixedPaint(panelPaint(pi, 0), { token: "background" }, PALE_SQUARE), referencePanel = Math.max(0, panels.findIndex((panel) => panel.categoryId !== reference?.categoryId)), valueText = (si, pi) => cellValue(series[si].cells[pi]) === null ? theme.table?.glyphs?.missing ?? "\u2013" : formatFor(si, pi)(panels[pi].segments[si].value), shownValue = (si, pi) => cellValue(series[si].cells[pi]) === null ? void 0 : { value: valueText(si, pi) }, shown = [], restSpec = options.format ? exampleSpec(options.format, options.locale?.language, void 0, cellNumbers) : void 0, restFormat = (value) => {
304
309
  if (!restSpec) return defaultFormat(value);
310
+ if (restSpec.exact) return formatWithSpec(value, restSpec);
305
311
  let rounded2 = roundedNumber(value, restSpec);
306
312
  return value > 0 && rounded2 === 0 || value < 100 && rounded2 === 100 ? defaultFormat(value) : formatWithSpec(value, { ...restSpec, decimals: rounded2 === value ? restSpec.decimals : Math.max(restSpec.decimals, authoredDecimals(value)) });
307
313
  }, restText = (pi) => series.some((series2) => cellValue(series2.cells[pi]) === null) ? theme.table?.glyphs?.missing ?? "\u2013" : restFormat(Math.round((100 - panels[pi].total) * 1e9) / 1e9), subtotalCount = subtotal?.series.length ?? 0, subtotalText = subtotal ? series.slice(0, subtotalCount).some((s) => cellValue(s.cells[0]) === null) ? theme.table?.glyphs?.missing ?? "\u2013" : formatFor(0, 0)(Math.round(panels[0].segments.slice(0, subtotalCount).reduce((sum, segment) => sum + segment.value, 0) * 1e9) / 1e9) : "", occupied = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height }), margin = { ...canvasMargin(theme, size.width), ...options.margin }, items = (series.length > 1 ? series : []).map(({ ser, label }, si) => ({
@@ -404,7 +410,11 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
404
410
  occupied.claim(rect, "mark", { categoryId: panel.categoryId });
405
411
  let next = 0;
406
412
  panel.segments.forEach((segment, si) => {
407
- if (segment.cells === 0) return;
413
+ if (segment.cells === 0) {
414
+ let shows = segment.value > 0 ? shownValue(si, pi) : void 0;
415
+ shows && shown.push({ owner: { categoryId: panel.categoryId, seriesId: segment.seriesId }, shows });
416
+ return;
417
+ }
408
418
  let d = "";
409
419
  for (let k = next; k < next + segment.cells; k++) {
410
420
  let { col, row } = cellAt(k, grid.columns, grid.rows, fillFrom);
@@ -419,7 +429,7 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
419
429
  fill: panelPaint(pi, si),
420
430
  owner: { seriesId: segment.seriesId, categoryId: panel.categoryId },
421
431
  part: "waffleSegment",
422
- display: { value: formatFor(si, pi)(segment.value) }
432
+ display: { value: formatFor(si, pi)(segment.value), shows: { value: formatFor(si, pi)(segment.value) } }
423
433
  }), segmentMarks.push({ seriesId: segment.seriesId, nodeId, cells: segment.cells });
424
434
  });
425
435
  let restNodeId;
@@ -475,7 +485,7 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
475
485
  fill,
476
486
  owner: { seriesId: segment.seriesId, categoryId: panel.categoryId },
477
487
  part: "waffleSegment",
478
- display: { value: formatFor(0, pi)(segment.value) }
488
+ display: { value: formatFor(0, pi)(segment.value), shows: { value: formatFor(0, pi)(segment.value) } }
479
489
  }), segmentMarks.push({ seriesId: segment.seriesId, nodeId, cells: 0 });
480
490
  }
481
491
  let referenceNodeId;
@@ -520,8 +530,8 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
520
530
  }
521
531
  !square && valuesH > 0 && panels.forEach((panel, pi) => {
522
532
  panelValueLines[pi].forEach((text, i) => {
523
- let value = series[i] ? valueText(i, pi) : restText(pi), name = series[i]?.label ?? options.strings?.others ?? strings.others, fitted = wrapText(name, keyFont, Math.max(1, panelW - measure(` ${value}`, keyFont).width), 1, measure), line = `${fitted.lines[0]} ${value}`;
524
- requests.push({ id: `value:${panel.categoryId}:${i}`, kind: "total", owner: { categoryId: panel.categoryId, ...series[i] ? { seriesId: series[i].ser.id } : {} }, text, lines: [line], ...fitted.truncated ? { title: text } : {}, font: keyFont, typeRole: "label", priority: PRIORITY.total, candidates: [{ slot: "main", rect: { x: positions[pi].x, y: marks.panels[pi].rect.y + gridH + space.gapSubtitlePlot + i * valueStep, w: Math.min(panelW, measure(line, keyFont).width), h: measure(text, keyFont).height }, penalty: 0 }] });
533
+ let value = series[i] ? valueText(i, pi) : restText(pi), name = series[i]?.label ?? options.strings?.others ?? strings.others, fitted = wrapText(name, keyFont, Math.max(1, panelW - measure(` ${value}`, keyFont).width), 1, measure), line = `${fitted.lines[0]} ${value}`, shows = series[i] ? shownValue(i, pi) : void 0;
534
+ requests.push({ id: `value:${panel.categoryId}:${i}`, kind: "total", owner: { categoryId: panel.categoryId, ...series[i] ? { seriesId: series[i].ser.id } : {} }, text, lines: [line], ...shows ? { shows } : {}, ...fitted.truncated ? { title: text } : {}, font: keyFont, typeRole: "label", priority: PRIORITY.total, candidates: [{ slot: "main", rect: { x: positions[pi].x, y: marks.panels[pi].rect.y + gridH + space.gapSubtitlePlot + i * valueStep, w: Math.min(panelW, measure(line, keyFont).width), h: measure(text, keyFont).height }, penalty: 0 }] });
525
535
  });
526
536
  });
527
537
  let readoutLegend = readout ? { rect: { x: 0, y: 0, w: 0, h: 0 }, items: [] } : void 0;
@@ -608,7 +618,10 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
608
618
  for (let label of solved.placed)
609
619
  !label.hidden && label.id.startsWith("category:") && (label.ink = { token: theme.type.eyebrow?.ink ?? "inkMuted" }), !label.hidden && label.id === "subtotal:label" && (label.ink = { token: "inkMuted" }), !label.hidden && label.id.startsWith("total:") && panels.some((panel) => missing(panel) && label.id === `total:${panel.categoryId}`) && (label.ink = { token: "inkMuted" });
610
620
  let allLabels = solved.placed;
611
- pushAll(nodes, labelsToNodes(theme, allLabels, (label) => fontOf.get(label.id) ?? labelFont).map((node) => node.t === "text" && node.owner.seriesId !== void 0 && (node.id.startsWith("label:key:") || node.id.startsWith("label:value:")) ? { ...node, part: "legendLabel", role: textRole(node) } : node.t === "text" && (node.id.startsWith("label:keyValue:") || node.id === "label:subtotal:value") ? { ...node, role: "value" } : (node.id.startsWith("label:total:") ? panels.find((panel) => `label:total:${panel.categoryId}` === node.id) : void 0) && node.t === "text" ? { ...node, display: { value: node.lines.join(" ") } } : node)), marks.panels.forEach((mark) => {
621
+ readout && series.forEach((s, si) => {
622
+ let shows = shownValue(si, 0);
623
+ shows && allLabels.some((label) => label.id === `keyValue:${s.ser.id}` && !label.hidden) && shown.push({ owner: { categoryId: panels[0].categoryId, seriesId: s.ser.id }, shows, drawn: !0 });
624
+ }), shown.length > 0 && (marks.shown = shown), pushAll(nodes, labelsToNodes(theme, allLabels, (label) => fontOf.get(label.id) ?? labelFont).map((node) => node.t === "text" && node.owner.seriesId !== void 0 && (node.id.startsWith("label:key:") || node.id.startsWith("label:value:")) ? { ...node, part: "legendLabel", role: textRole(node) } : node.t === "text" && (node.id.startsWith("label:keyValue:") || node.id === "label:subtotal:value") ? { ...node, role: "value" } : (node.id.startsWith("label:total:") ? panels.find((panel) => `label:total:${panel.categoryId}` === node.id) : void 0) && node.t === "text" ? { ...node, display: { value: node.lines.join(" ") } } : node)), marks.panels.forEach((mark) => {
612
625
  mark.labelNodeId = allLabels.find((label) => label.id === `category:${mark.categoryId}`)?.nodeId, mark.headlineNodeId = allLabels.find((label) => label.id === `total:${mark.categoryId}`)?.nodeId;
613
626
  });
614
627
  let headlineMin = showHeadline ? Math.max(0, maxOf(headlineValues.map((text) => text === void 0 ? 0 : measure(text, { ...headlineFont, size: hero.minimum }).width))) : 0, minPanelW = square ? Math.max(SQUARE_MIN_SIDE, Math.ceil(headlineMin), Math.ceil(Math.max(0, maxOf(longestWord)))) : Math.max(grid.columns * MIN_PITCH, Math.ceil(headlineMin)), floorColumns = square ? minColumns : Math.min(n, columns), floorGutter = square && !arrows && floorColumns > 1 ? COMPACT_GUTTER : gutter, minWidth = size.width - plot.w + Math.max(
@@ -8,13 +8,13 @@ import {
8
8
  } from "./chunk-Z6H5ED2I.js";
9
9
  import {
10
10
  createChartComponent
11
- } from "./chunk-I7V6LXHD.js";
11
+ } from "./chunk-E4KHHC46.js";
12
12
  import {
13
13
  ganttCore
14
- } from "./chunk-L3BVYKA6.js";
14
+ } from "./chunk-GDE2JINW.js";
15
15
  import {
16
16
  registeredType
17
- } from "./chunk-ZQHMZUFD.js";
17
+ } from "./chunk-4YZQY3AA.js";
18
18
 
19
19
  // src/react/charts/gantt.ts
20
20
  var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, today: 0, elapsed: 0, weekends: 0, rowTint: 0, calendar: { weeks: 0, span: 0 }, colHeaders: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0 }, labels: ["valueLine", "annotation", "activity", "item"] }), GanttChart = createChartComponent(registeredType(ganttCore), checkOptionKeys);
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  layoutCombo
3
- } from "./chunk-UB7LT72S.js";
3
+ } from "./chunk-TCWJQIVQ.js";
4
4
  import {
5
5
  withEventsDescribed
6
- } from "./chunk-OQQMDSCC.js";
6
+ } from "./chunk-VGOZOBNB.js";
7
7
  import {
8
8
  calendarCategories,
9
9
  chartSizing
10
- } from "./chunk-F6IPP33V.js";
10
+ } from "./chunk-YM4MVABU.js";
11
11
  import {
12
12
  prepareFractionData
13
- } from "./chunk-42QKUSHJ.js";
13
+ } from "./chunk-QXHFELIA.js";
14
14
 
15
15
  // src/core/charts/combo/core.ts
16
16
  var comboCore = {